swagger.yaml 730 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365
  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.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. common.QueryTableDefineRsp:
  174. properties:
  175. columns:
  176. description: 列头信息数组
  177. items:
  178. $ref: '#/definitions/models.Tablecolumnconfig'
  179. type: array
  180. remark:
  181. description: Remark
  182. type: string
  183. tabelmenu:
  184. description: 列表菜单
  185. type: string
  186. tablekey:
  187. description: 列表Key
  188. type: string
  189. tablename:
  190. description: 列表名称
  191. type: string
  192. tabletype:
  193. description: 列表类型 - 1:管理端 2:终端
  194. type: integer
  195. required:
  196. - tablekey
  197. type: object
  198. common.QueryTraderMenuRsp:
  199. properties:
  200. OperationMenu:
  201. description: 功能菜单
  202. items:
  203. $ref: '#/definitions/models.OperationPrimaryMenu'
  204. type: array
  205. QuoteMenu:
  206. description: 报价牌分类菜单
  207. items:
  208. $ref: '#/definitions/models.QuotePrimaryMenu'
  209. type: array
  210. type: object
  211. cptrade.Cptradepositioncancel:
  212. properties:
  213. accountid:
  214. description: 申请人账户ID
  215. type: integer
  216. applystatus:
  217. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  218. type: integer
  219. applytime:
  220. description: 申请时间
  221. type: string
  222. cancelid:
  223. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  224. type: integer
  225. cancelqty:
  226. description: 注销数量
  227. type: integer
  228. createtime:
  229. description: 创建时间
  230. type: string
  231. creatorid:
  232. description: 创建人ID
  233. type: integer
  234. creatorname:
  235. description: 创建人
  236. type: string
  237. goodscode:
  238. description: 订单商品代码
  239. type: string
  240. goodsid:
  241. description: 商品ID
  242. type: integer
  243. goodsname:
  244. description: 订单商品名称
  245. type: string
  246. goodunit:
  247. description: 报价单位
  248. type: string
  249. handlestatus:
  250. description: 处理状态
  251. type: integer
  252. marketid:
  253. description: 市场ID
  254. type: integer
  255. marketname:
  256. description: 市场名称
  257. type: string
  258. tradedate:
  259. description: 交易日(yyyyMMdd)
  260. type: string
  261. userid:
  262. description: 申请人ID
  263. type: integer
  264. required:
  265. - cancelid
  266. type: object
  267. cptrade.Cptradepresaleapply:
  268. properties:
  269. accountid:
  270. description: 申请人账户ID
  271. type: integer
  272. applyid:
  273. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  274. type: integer
  275. applyremark:
  276. description: 申请备注
  277. type: string
  278. applystatus:
  279. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  280. type: integer
  281. applytime:
  282. description: 申请时间
  283. type: string
  284. attachmenturl:
  285. description: 附件地址
  286. type: string
  287. endtime:
  288. description: 预售结束时间
  289. type: string
  290. goodscode:
  291. description: 商品代码
  292. type: string
  293. goodsid:
  294. description: 商品ID
  295. type: integer
  296. goodsname:
  297. description: 商品名称
  298. type: string
  299. goodunit:
  300. description: 报价单位
  301. type: string
  302. handlestatus:
  303. description: 处理状态
  304. type: integer
  305. marketid:
  306. description: 预售市场ID
  307. type: integer
  308. marketname:
  309. description: 预售市场名称
  310. type: string
  311. presaleqty:
  312. description: 预售数量
  313. type: integer
  314. relatedgoodscode:
  315. description: 关联交易合约代码
  316. type: string
  317. relatedgoodsid:
  318. description: 关联交易合约ID
  319. type: integer
  320. relatedgoodsname:
  321. description: 关联交易合约名称
  322. type: string
  323. starttime:
  324. description: 预售开始时间
  325. type: string
  326. tradedate:
  327. description: 交易日(yyyyMMdd)
  328. type: string
  329. trademode:
  330. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  331. type: integer
  332. userid:
  333. description: 申请人ID
  334. type: integer
  335. required:
  336. - applyid
  337. type: object
  338. cptrade.Cptradeusergoodsdata:
  339. properties:
  340. EnabledQty:
  341. description: 可用量
  342. type: integer
  343. GoodsCode:
  344. description: 订单商品代码
  345. type: string
  346. GoodsName:
  347. description: 订单商品名称
  348. type: string
  349. WRStandardCode:
  350. description: 仓单标准代码
  351. type: string
  352. WRStandardName:
  353. description: 仓单标准名称
  354. type: string
  355. accountid:
  356. description: 账户ID
  357. type: integer
  358. cancelqty:
  359. description: 注销量
  360. type: integer
  361. curpresaleqty:
  362. description: 当前预售量
  363. type: integer
  364. deliveryqty:
  365. description: 交割量
  366. type: integer
  367. freezeamount:
  368. description: 冻结金额
  369. type: number
  370. goodsid:
  371. description: 商品ID
  372. type: integer
  373. goodunit:
  374. description: 报价单位
  375. type: string
  376. hasspotfreeze:
  377. description: 是否有现货冻结 - 0:否 1:有
  378. type: integer
  379. inqty:
  380. description: 转入量(总数量)
  381. type: integer
  382. marketid:
  383. description: 市场ID
  384. type: integer
  385. presaledamount:
  386. description: 已预售总金额
  387. type: integer
  388. presaledqty:
  389. description: 已预售量
  390. type: integer
  391. userid:
  392. description: 用户ID
  393. type: integer
  394. wrstandardid:
  395. description: 仓单标准ID
  396. type: integer
  397. required:
  398. - accountid
  399. - goodsid
  400. type: object
  401. cptrade.QueryCPTradeMyBidRsp:
  402. properties:
  403. accountid:
  404. description: 账户ID[报价币种]
  405. type: integer
  406. goodsid:
  407. description: 商品ID
  408. type: integer
  409. goodunit:
  410. description: 报价单位
  411. type: string
  412. marketid:
  413. description: 市场ID
  414. type: integer
  415. orderid:
  416. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  417. type: integer
  418. orderprice:
  419. description: 委托价格
  420. type: number
  421. orderqty:
  422. description: 委托数量
  423. type: integer
  424. ordertime:
  425. description: 委托时间
  426. type: string
  427. ordertotalprice:
  428. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  429. type: number
  430. ordertotalweight:
  431. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  432. type: integer
  433. totaltotalprice:
  434. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  435. type: number
  436. tradeprice:
  437. description: 成交价格
  438. type: number
  439. tradeqty:
  440. description: 成交数量
  441. type: integer
  442. required:
  443. - accountid
  444. - goodsid
  445. - marketid
  446. - orderid
  447. - orderqty
  448. - ordertime
  449. - tradeprice
  450. - tradeqty
  451. type: object
  452. cptrade.QueryCPTradeOrderDetailRsq:
  453. properties:
  454. accountid:
  455. description: 账户ID[报价币种]
  456. type: integer
  457. buildtype:
  458. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  459. type: integer
  460. buyorsell:
  461. description: 买卖 - 0:买 1:卖
  462. type: integer
  463. cancelorderid:
  464. description: 撤单单号(撤单时填写)
  465. type: integer
  466. cancelqty:
  467. description: 撤单数量
  468. type: integer
  469. clientordertime:
  470. description: 客户端委托时间
  471. type: string
  472. clientticket:
  473. description: 客户端流水号
  474. type: string
  475. clienttype:
  476. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  477. type: integer
  478. closeexchagechargevalue:
  479. description: 平仓交易所手续费设置值
  480. type: number
  481. closefeealgorithm:
  482. description: 平仓手续费收取方式 1:比率 2:固定
  483. type: integer
  484. closefreezecharge:
  485. description: 平仓冻结手续费(先建后平操作,需要记录)
  486. type: number
  487. closememberchargevalue:
  488. description: 平仓会员手续费设置值
  489. type: number
  490. closeqty:
  491. description: 平仓数量(先建后平操作 需要记录)
  492. type: integer
  493. closetradeqty:
  494. description: 平仓成交数量(先建后平操作,需要记录)
  495. type: integer
  496. closeunfreezecharge:
  497. description: 平仓解冻手续费(先建后平操作,需要记录)
  498. type: number
  499. delistingtype:
  500. description: 摘牌类型 - 1:价格最优 2:点选成交
  501. type: integer
  502. freezecharge:
  503. description: 冻结手续费
  504. type: number
  505. freezemargin:
  506. description: 冻结保证金(冻结交易金额)
  507. type: number
  508. gcaccountid:
  509. description: 账户ID[合约币种]
  510. type: integer
  511. goodsid:
  512. description: 商品ID
  513. type: integer
  514. isconfirmexercise:
  515. description: 是否确认行权- 0:否 1:是
  516. type: integer
  517. ispreexercise:
  518. description: 是否预申报- 0:否 1:是
  519. type: integer
  520. listingselecttype:
  521. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  522. type: integer
  523. marginalgorithm:
  524. description: 保证金收取方式 1:比率 2:固定
  525. type: integer
  526. marginvalue:
  527. description: 即市保证金设置值
  528. type: number
  529. marketid:
  530. description: 市场ID
  531. type: integer
  532. marketmaxsub:
  533. description: 市价最大偏移范围
  534. type: number
  535. memberuserid:
  536. description: 所属会员UserID
  537. type: integer
  538. openexchagechargevalue:
  539. description: 建仓交易所手续费设置值
  540. type: number
  541. openfeealgorithm:
  542. description: 建仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. openfreezecharge:
  545. description: 开仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. openmemberchargevalue:
  548. description: 建仓会员手续费设置值
  549. type: number
  550. openqty:
  551. description: 开仓数量(先建后平操作,需要记录)
  552. type: integer
  553. opentradeqty:
  554. description: 开仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. openunfreezecharge:
  557. description: 开仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. operatetype:
  560. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  561. type: integer
  562. operatorid:
  563. description: 登录账号(LoginID)
  564. type: integer
  565. optiontype:
  566. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  567. type: integer
  568. orderprice:
  569. description: 委托价格
  570. type: number
  571. orderqty:
  572. description: 委托数量
  573. type: integer
  574. ordersrc:
  575. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  576. type: integer
  577. orderstatus:
  578. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. enumdicname:
  856. description: 品类单位名称
  857. type: string
  858. goodscode:
  859. description: 商品代码
  860. type: string
  861. goodsid:
  862. description: 交易合约ID
  863. type: integer
  864. goodsname:
  865. description: 商品名称
  866. type: string
  867. marketid:
  868. description: 市场ID
  869. type: integer
  870. mindeliveryqty:
  871. description: 最小交割系数(K)
  872. type: integer
  873. p2deliveryprice:
  874. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  875. type: number
  876. p2deliveryratio:
  877. description: P2合约系数(p)
  878. type: integer
  879. p2goodsid:
  880. description: P2合约ID
  881. type: integer
  882. p2pricemode:
  883. description: P2合约价格方式 - 1:商品价 2:固定值
  884. type: integer
  885. pdeliveryprice:
  886. description: P合约价格(商品价时填写0,固定值时填写固定值)
  887. type: number
  888. pdeliveryratio:
  889. description: P合约系数(n)
  890. type: integer
  891. pgoodscode:
  892. description: p合约代码
  893. type: string
  894. pgoodsid:
  895. description: P合约ID
  896. type: integer
  897. ppricemode:
  898. description: P合约价格方式 - 1:商品价 2:固定值
  899. type: integer
  900. rratio:
  901. description: 兑换系数(R)
  902. type: integer
  903. rratio1:
  904. description: 兑换系数(交易合约)(R1)
  905. type: integer
  906. rratio2:
  907. description: 兑换系数(仓单标准)(R2)
  908. type: integer
  909. selltemplateid:
  910. description: 卖履约计划模板ID
  911. type: integer
  912. wrstandardid:
  913. description: 仓单标准ID
  914. type: integer
  915. xdeliveryratio:
  916. description: 交易合约系数(m)
  917. type: integer
  918. required:
  919. - begindate
  920. - enddate
  921. - goodsid
  922. - mindeliveryqty
  923. - xdeliveryratio
  924. type: object
  925. ermcp.ExposureDetailRsp:
  926. properties:
  927. areauserid:
  928. description: 机构ID
  929. type: integer
  930. changeQty:
  931. description: 套保变动量
  932. type: number
  933. contracttype:
  934. description: 现货合同类型 - 1:采购 -1:销售
  935. type: integer
  936. convertfactor:
  937. description: 标仓系数
  938. type: number
  939. convertratio:
  940. description: 套保系数
  941. type: number
  942. createtime:
  943. description: 时间
  944. type: string
  945. enumdicname:
  946. description: 现货商品单位名称
  947. type: string
  948. logtype:
  949. description: 类型 - 1:套保计划 2:现货合同
  950. type: integer
  951. middlegoodsId:
  952. description: 套保商品id
  953. type: integer
  954. middlegoodscode:
  955. description: 套保商品代码
  956. type: string
  957. middlegoodsname:
  958. description: 套保商品名称
  959. type: string
  960. qty:
  961. description: 数量
  962. type: number
  963. relateNo:
  964. description: 现货合同/套保计划编号
  965. type: string
  966. wrstandardcode:
  967. description: 现货商品代码
  968. type: string
  969. wrstandardid:
  970. description: 现货商品ID
  971. type: integer
  972. wrstandardname:
  973. description: 现货商品名称
  974. type: string
  975. type: object
  976. ermcp.ExposureHedgePosDetailRsp:
  977. properties:
  978. buyorsell:
  979. description: 买卖方向 0-买 1-卖
  980. type: integer
  981. channelbuildtype:
  982. description: 开平方向 1-建仓 2-平仓
  983. type: integer
  984. goodscode:
  985. description: 商品代码
  986. type: string
  987. goodsname:
  988. description: 商品名称
  989. type: string
  990. hedgegoodsid:
  991. description: 商品id
  992. type: integer
  993. tradeqty:
  994. description: 数量(成交数量)
  995. type: integer
  996. tradetime:
  997. description: 时间(成交时间)
  998. type: string
  999. type: object
  1000. ermcp.ExposureHedgePositionRsp:
  1001. properties:
  1002. accountid:
  1003. description: 资金账号[外部母账户]
  1004. type: integer
  1005. curbuyposition:
  1006. description: 期末买头寸
  1007. type: integer
  1008. cursellposition:
  1009. description: 期末卖头寸
  1010. type: integer
  1011. curtdbuyposition:
  1012. description: 期末今日买头寸
  1013. type: integer
  1014. curtdsellposition:
  1015. description: 期末今日卖头寸
  1016. type: integer
  1017. curydbuyposition:
  1018. description: 期末上日买头寸
  1019. type: integer
  1020. curydsellposition:
  1021. description: 期末上日卖头寸
  1022. type: integer
  1023. decreaseqty:
  1024. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1025. type: integer
  1026. fretdbuyposition:
  1027. description: 冻结今日买头寸
  1028. type: integer
  1029. fretdsellposition:
  1030. description: 冻结今日卖头寸
  1031. type: integer
  1032. freydbuyposition:
  1033. description: 冻结上日买头寸
  1034. type: integer
  1035. freydsellposition:
  1036. description: 冻结上日卖头寸
  1037. type: integer
  1038. goodscode:
  1039. description: 商品代码
  1040. type: string
  1041. goodsid:
  1042. description: 商品id
  1043. type: integer
  1044. goodsname:
  1045. description: 商品名称
  1046. type: string
  1047. hedgeaccountcode:
  1048. description: 对冲账号
  1049. type: string
  1050. hedgegoodsid:
  1051. description: 对冲合约ID
  1052. type: integer
  1053. increaseqty:
  1054. description: 增加数量 = 期末买头寸 - 期初买头寸
  1055. type: integer
  1056. marketid:
  1057. description: 市场ID
  1058. type: integer
  1059. relateduserid:
  1060. description: 关联用户id
  1061. type: integer
  1062. totalcurqty:
  1063. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1064. type: integer
  1065. totalydqty:
  1066. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1067. type: integer
  1068. tradedate:
  1069. description: 交易日(yyyyMMdd)
  1070. type: string
  1071. ydbuyposition:
  1072. description: 期初买头寸
  1073. type: integer
  1074. ydsellposition:
  1075. description: 期初卖头寸
  1076. type: integer
  1077. type: object
  1078. ermcp.ExposureSpotDetailRsp:
  1079. properties:
  1080. contracttype:
  1081. description: 合同类型 1-采购 -1-销售
  1082. type: integer
  1083. createtime:
  1084. description: 创建时间
  1085. type: string
  1086. enumdicname:
  1087. description: 现货商品单位名称
  1088. type: string
  1089. logtype:
  1090. description: 记录类型 1-套保 2-现货合同
  1091. type: integer
  1092. qty:
  1093. description: 数量
  1094. type: number
  1095. recordname:
  1096. description: 类型名称
  1097. type: string
  1098. relatedid:
  1099. description: 套保计划ID/现货合同ID
  1100. type: string
  1101. relatedno:
  1102. description: 编号
  1103. type: string
  1104. strtime:
  1105. description: 时间
  1106. type: string
  1107. wrstandardcode:
  1108. description: 现货商品代码
  1109. type: string
  1110. wrstandardname:
  1111. description: 现货商品名称
  1112. type: string
  1113. type: object
  1114. ermcp.ExposureSpotRsp:
  1115. properties:
  1116. areauserid:
  1117. description: 所属机构
  1118. type: integer
  1119. decreaseqty:
  1120. description: 减少数量=-(销售已定价数量+采购计划数量)
  1121. type: number
  1122. increaseqty:
  1123. description: 增加数量=销售计划数量+采购已定价数量
  1124. type: number
  1125. oritoalspotqty:
  1126. description: 昨日数量
  1127. type: number
  1128. totalspotqty:
  1129. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1130. type: number
  1131. updatetime:
  1132. description: 更新时间
  1133. type: string
  1134. wrstandardcode:
  1135. description: 现货品种代码
  1136. type: string
  1137. wrstandardid:
  1138. description: 现货商品ID
  1139. type: integer
  1140. wrstandardname:
  1141. description: 现货品种
  1142. type: string
  1143. type: object
  1144. ermcp.HisExposureRsp:
  1145. properties:
  1146. data:
  1147. description: 历史敞口
  1148. items:
  1149. $ref: '#/definitions/models.ErmcpHisExposure'
  1150. type: array
  1151. enumdicname:
  1152. description: 单位名称
  1153. type: string
  1154. middlegoodscode:
  1155. description: 套保品种代码
  1156. type: string
  1157. middlegoodsid:
  1158. description: 套保品种ID
  1159. type: integer
  1160. middlegoodsname:
  1161. description: 套保品种名称
  1162. type: string
  1163. type: object
  1164. ermcp.PendingAuditCntRsp:
  1165. properties:
  1166. areastockqty:
  1167. description: '待审核数量: 库存申请'
  1168. type: integer
  1169. businessdjqty:
  1170. description: '待审核数量: 点价'
  1171. type: integer
  1172. businessfpqty:
  1173. description: '待审核数量: 发票'
  1174. type: integer
  1175. businessjsqty:
  1176. description: '待审核数量: 结算'
  1177. type: integer
  1178. businesskxqty:
  1179. description: '待审核数量: 款项'
  1180. type: integer
  1181. hedgeplanqty:
  1182. description: '待审核数量: 套保计划'
  1183. type: integer
  1184. spotcontractqty:
  1185. description: '待审核数量: 现货合同'
  1186. type: integer
  1187. userqty:
  1188. description: '待审核数量: 用户'
  1189. type: integer
  1190. type: object
  1191. ermcp.QryAvalidGPRsp:
  1192. properties:
  1193. goodsgroupid:
  1194. description: 期货品种id
  1195. type: integer
  1196. goodsgroupname:
  1197. description: 期货品种名称
  1198. type: string
  1199. goodunitid:
  1200. description: 品种单位id
  1201. type: integer
  1202. goodunitname:
  1203. description: 品种单位名称
  1204. type: string
  1205. outergroupcode:
  1206. description: 期货品种代码
  1207. type: string
  1208. type: object
  1209. ermcp.QryBusinessDjRsp:
  1210. properties:
  1211. amount:
  1212. description: 点价金额=(点价价格+升贴水)*点价数量
  1213. type: number
  1214. applyid:
  1215. description: 申请人
  1216. type: string
  1217. applyname:
  1218. description: 申请人名称
  1219. type: string
  1220. applystatus:
  1221. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1222. type: integer
  1223. applytime:
  1224. description: 申请时间
  1225. type: string
  1226. attachurl:
  1227. description: 附件
  1228. type: string
  1229. auditid:
  1230. description: 审核人ID
  1231. type: string
  1232. auditname:
  1233. description: 审核人名称
  1234. type: string
  1235. audittime:
  1236. description: 审核时间
  1237. type: string
  1238. buyusername:
  1239. description: 采购方名称
  1240. type: string
  1241. contractno:
  1242. description: 合同编号
  1243. type: string
  1244. contractstatus:
  1245. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1246. type: integer
  1247. contracttype:
  1248. description: 现货合同类型 - 1:采购 -1:销售
  1249. type: integer
  1250. deliverygoodscode:
  1251. description: 现货品种代码
  1252. type: string
  1253. deliverygoodsid:
  1254. description: 现货商品ID
  1255. type: integer
  1256. deliverygoodsname:
  1257. description: 现货品种名称
  1258. type: string
  1259. enumdicname:
  1260. description: 单位名称
  1261. type: string
  1262. goodscode:
  1263. description: 点价合约
  1264. type: string
  1265. goodsname:
  1266. description: 商品名称
  1267. type: string
  1268. operateapplyid:
  1269. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1270. type: string
  1271. operateapplytype:
  1272. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1273. type: integer
  1274. pricedPrice:
  1275. description: 点价价格(非必填)
  1276. type: number
  1277. pricedQty:
  1278. description: 点价数量(非必填)
  1279. type: number
  1280. pricemove:
  1281. description: 升贴水
  1282. type: number
  1283. pricetype:
  1284. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1285. type: integer
  1286. relatedid:
  1287. description: 现货合同ID
  1288. type: string
  1289. sellusername:
  1290. description: 销售方名字
  1291. type: string
  1292. userid:
  1293. description: 用户ID
  1294. type: integer
  1295. wrstandardcode:
  1296. description: 品类代码
  1297. type: string
  1298. wrstandardid:
  1299. description: 品类id
  1300. type: integer
  1301. wrstandardname:
  1302. description: 品类名称
  1303. type: string
  1304. type: object
  1305. ermcp.QryBussinessFpRsp:
  1306. properties:
  1307. applyid:
  1308. description: 申请人
  1309. type: string
  1310. applyname:
  1311. description: 申请人名称
  1312. type: string
  1313. applystatus:
  1314. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1315. type: integer
  1316. applytime:
  1317. description: 申请时间
  1318. type: string
  1319. attachurl:
  1320. description: 附件
  1321. type: string
  1322. auditid:
  1323. description: 审核人ID
  1324. type: string
  1325. auditname:
  1326. description: 审核人名称
  1327. type: string
  1328. audittime:
  1329. description: 审核时间
  1330. type: string
  1331. buyusername:
  1332. description: 采购方名称
  1333. type: string
  1334. contractno:
  1335. description: 合同编号
  1336. type: string
  1337. contractstatus:
  1338. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1339. type: integer
  1340. contracttype:
  1341. description: 现货合同类型 - 1:采购 -1:销售
  1342. type: integer
  1343. deliverygoodscode:
  1344. description: 现货品种代码
  1345. type: string
  1346. deliverygoodsid:
  1347. description: 现货商品ID
  1348. type: integer
  1349. deliverygoodsname:
  1350. description: 现货品种名称
  1351. type: string
  1352. enumdicname:
  1353. description: 单位名称
  1354. type: string
  1355. goodscode:
  1356. description: 点价合约
  1357. type: string
  1358. goodsname:
  1359. description: 商品名称
  1360. type: string
  1361. invoiceAmount:
  1362. description: 已开收票金额(销售为开票,采购为收票)
  1363. type: number
  1364. operateapplyid:
  1365. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1366. type: string
  1367. operateapplytype:
  1368. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1369. type: integer
  1370. pricemove:
  1371. description: 升贴水
  1372. type: number
  1373. pricetype:
  1374. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1375. type: integer
  1376. relatedid:
  1377. description: 现货合同ID
  1378. type: string
  1379. sellusername:
  1380. description: 销售方名字
  1381. type: string
  1382. userid:
  1383. description: 用户ID
  1384. type: integer
  1385. wrstandardcode:
  1386. description: 品类代码
  1387. type: string
  1388. wrstandardid:
  1389. description: 品类id
  1390. type: integer
  1391. wrstandardname:
  1392. description: 品类名称
  1393. type: string
  1394. type: object
  1395. ermcp.QryBussinessJsExRsp:
  1396. properties:
  1397. applyid:
  1398. description: 申请人
  1399. type: string
  1400. applyname:
  1401. description: 申请人名称
  1402. type: string
  1403. applystatus:
  1404. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1405. type: integer
  1406. applytime:
  1407. description: 申请时间
  1408. type: string
  1409. attachurl:
  1410. description: 附件
  1411. type: string
  1412. auditid:
  1413. description: 审核人ID
  1414. type: string
  1415. auditname:
  1416. description: 审核人名称
  1417. type: string
  1418. audittime:
  1419. description: 审核时间
  1420. type: string
  1421. buyusername:
  1422. description: 采购方名称
  1423. type: string
  1424. contractno:
  1425. description: 合同编号
  1426. type: string
  1427. contractstatus:
  1428. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1429. type: integer
  1430. contracttype:
  1431. description: 现货合同类型 - 1:采购 -1:销售
  1432. type: integer
  1433. deliverygoodscode:
  1434. description: 现货品种代码
  1435. type: string
  1436. deliverygoodsid:
  1437. description: 现货商品ID
  1438. type: integer
  1439. deliverygoodsname:
  1440. description: 现货品种名称
  1441. type: string
  1442. enumdicname:
  1443. description: 单位名称
  1444. type: string
  1445. goodscode:
  1446. description: 点价合约
  1447. type: string
  1448. goodsname:
  1449. description: 商品名称
  1450. type: string
  1451. operateapplyid:
  1452. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1453. type: string
  1454. operateapplytype:
  1455. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1456. type: integer
  1457. pricemove:
  1458. description: 升贴水
  1459. type: number
  1460. pricetype:
  1461. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1462. type: integer
  1463. reckontype:
  1464. description: 结算类型
  1465. type: string
  1466. reckonvalue:
  1467. description: 值
  1468. type: number
  1469. relatedid:
  1470. description: 现货合同ID
  1471. type: string
  1472. sellusername:
  1473. description: 销售方名字
  1474. type: string
  1475. userid:
  1476. description: 用户ID
  1477. type: integer
  1478. wrstandardcode:
  1479. description: 品类代码
  1480. type: string
  1481. wrstandardid:
  1482. description: 品类id
  1483. type: integer
  1484. wrstandardname:
  1485. description: 品类名称
  1486. type: string
  1487. type: object
  1488. ermcp.QryBussinessJsRsp:
  1489. properties:
  1490. addmargin:
  1491. description: 追加保证金(非必填)
  1492. type: number
  1493. applyid:
  1494. description: 申请人
  1495. type: string
  1496. applyname:
  1497. description: 申请人名称
  1498. type: string
  1499. applystatus:
  1500. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1501. type: integer
  1502. applytime:
  1503. description: 申请时间
  1504. type: string
  1505. attachurl:
  1506. description: 附件
  1507. type: string
  1508. auditid:
  1509. description: 审核人ID
  1510. type: string
  1511. auditname:
  1512. description: 审核人名称
  1513. type: string
  1514. audittime:
  1515. description: 审核时间
  1516. type: string
  1517. buyusername:
  1518. description: 采购方名称
  1519. type: string
  1520. contractno:
  1521. description: 合同编号
  1522. type: string
  1523. contractstatus:
  1524. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1525. type: integer
  1526. contracttype:
  1527. description: 现货合同类型 - 1:采购 -1:销售
  1528. type: integer
  1529. decmargin:
  1530. description: 减少保证金(非必填)
  1531. type: number
  1532. deliverygoodscode:
  1533. description: 现货品种代码
  1534. type: string
  1535. deliverygoodsid:
  1536. description: 现货商品ID
  1537. type: integer
  1538. deliverygoodsname:
  1539. description: 现货品种名称
  1540. type: string
  1541. enumdicname:
  1542. description: 单位名称
  1543. type: string
  1544. goodscode:
  1545. description: 点价合约
  1546. type: string
  1547. goodsname:
  1548. description: 商品名称
  1549. type: string
  1550. operateapplyid:
  1551. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1552. type: string
  1553. operateapplytype:
  1554. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1555. type: integer
  1556. pricemove:
  1557. description: 升贴水
  1558. type: number
  1559. pricetype:
  1560. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1561. type: integer
  1562. reckonadjustamount:
  1563. description: 结算调整金额(非必填)
  1564. type: number
  1565. reckonosamount:
  1566. description: 结算溢短金额(非必填)
  1567. type: number
  1568. reckonotheramount:
  1569. description: 结算其他费用(非必填)
  1570. type: number
  1571. reckonrealqty:
  1572. description: 结算实际数量(非必填)
  1573. type: number
  1574. relatedid:
  1575. description: 现货合同ID
  1576. type: string
  1577. sellusername:
  1578. description: 销售方名字
  1579. type: string
  1580. userid:
  1581. description: 用户ID
  1582. type: integer
  1583. wrstandardcode:
  1584. description: 品类代码
  1585. type: string
  1586. wrstandardid:
  1587. description: 品类id
  1588. type: integer
  1589. wrstandardname:
  1590. description: 品类名称
  1591. type: string
  1592. type: object
  1593. ermcp.QryBussinessKxRsp:
  1594. properties:
  1595. applyid:
  1596. description: 申请人
  1597. type: string
  1598. applyname:
  1599. description: 申请人名称
  1600. type: string
  1601. applystatus:
  1602. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1603. type: integer
  1604. applytime:
  1605. description: 申请时间
  1606. type: string
  1607. attachurl:
  1608. description: 附件
  1609. type: string
  1610. auditid:
  1611. description: 审核人ID
  1612. type: string
  1613. auditname:
  1614. description: 审核人名称
  1615. type: string
  1616. audittime:
  1617. description: 审核时间
  1618. type: string
  1619. buyusername:
  1620. description: 采购方名称
  1621. type: string
  1622. contractno:
  1623. description: 合同编号
  1624. type: string
  1625. contractstatus:
  1626. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1627. type: integer
  1628. contracttype:
  1629. description: 现货合同类型 - 1:采购 -1:销售
  1630. type: integer
  1631. deductamount:
  1632. description: 退款(非必填)
  1633. type: number
  1634. deliverygoodscode:
  1635. description: 现货品种代码
  1636. type: string
  1637. deliverygoodsid:
  1638. description: 现货商品ID
  1639. type: integer
  1640. deliverygoodsname:
  1641. description: 现货品种名称
  1642. type: string
  1643. enumdicname:
  1644. description: 单位名称
  1645. type: string
  1646. goodscode:
  1647. description: 点价合约
  1648. type: string
  1649. goodsname:
  1650. description: 商品名称
  1651. type: string
  1652. kxtype:
  1653. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1654. type: integer
  1655. operateapplyid:
  1656. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1657. type: string
  1658. operateapplytype:
  1659. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1660. type: integer
  1661. payamount:
  1662. description: 收付款(非必填)
  1663. type: number
  1664. pricemove:
  1665. description: 升贴水
  1666. type: number
  1667. pricetype:
  1668. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1669. type: integer
  1670. relatedid:
  1671. description: 现货合同ID
  1672. type: string
  1673. sellusername:
  1674. description: 销售方名字
  1675. type: string
  1676. userid:
  1677. description: 用户ID
  1678. type: integer
  1679. wrstandardcode:
  1680. description: 品类代码
  1681. type: string
  1682. wrstandardid:
  1683. description: 品类id
  1684. type: integer
  1685. wrstandardname:
  1686. description: 品类名称
  1687. type: string
  1688. type: object
  1689. ermcp.QryGGCovertCfgRsp:
  1690. properties:
  1691. convertratio:
  1692. description: 折算系数
  1693. type: number
  1694. destgoodsgroupid:
  1695. description: 目标品种ID
  1696. type: integer
  1697. dstcode:
  1698. description: 目录品种代码
  1699. type: string
  1700. dstexchangecode:
  1701. description: 目标期货交易所
  1702. type: string
  1703. dstname:
  1704. description: 目标品种名称
  1705. type: string
  1706. dstunitid:
  1707. description: 目标品种单位ID
  1708. type: integer
  1709. dstunitidname:
  1710. description: 目标品种单位名称
  1711. type: string
  1712. modifytime:
  1713. description: 修改时间
  1714. type: string
  1715. srccode:
  1716. description: 源品种代码
  1717. type: string
  1718. srcexchangecode:
  1719. description: 源期货交易所
  1720. type: string
  1721. srcgoodsgroupid:
  1722. description: 源品种ID
  1723. type: integer
  1724. srcname:
  1725. description: 源品种名称
  1726. type: string
  1727. srcunitid:
  1728. description: 源品种单位ID
  1729. type: integer
  1730. srcunitidname:
  1731. description: 源品种单位名称
  1732. type: string
  1733. type: object
  1734. ermcp.QryMGChangeLogRsp:
  1735. properties:
  1736. aftervalue:
  1737. description: 变更后
  1738. type: number
  1739. applyid:
  1740. description: 操作人
  1741. type: integer
  1742. applyname:
  1743. description: 操作人名称
  1744. type: string
  1745. applysrc:
  1746. description: 操作来源 - 1:管理端 2:终端
  1747. type: integer
  1748. beforevalue:
  1749. description: 变更前
  1750. type: number
  1751. changelogtype:
  1752. description: 变更流水类型 - 1:套保比率变更
  1753. type: integer
  1754. handlestatus:
  1755. description: 处理状态
  1756. type: integer
  1757. logdatetime:
  1758. description: 流水日期
  1759. type: string
  1760. logid:
  1761. description: 流水ID
  1762. type: integer
  1763. logremark:
  1764. description: 流水备注
  1765. type: string
  1766. middlegoodsid:
  1767. description: 套保品种ID
  1768. type: integer
  1769. tradedate:
  1770. description: 交易日(yyyyMMdd)
  1771. type: string
  1772. updatetime:
  1773. description: 更新时间
  1774. type: string
  1775. type: object
  1776. ermcp.QryMiddleGoodsDetailRsp:
  1777. properties:
  1778. cvList:
  1779. description: 期货品种折算列表
  1780. items:
  1781. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1782. type: array
  1783. mg:
  1784. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1785. description: 套保品种基本信息
  1786. wrcList:
  1787. description: 现货品种列表(现货商品折算配置)
  1788. items:
  1789. $ref: '#/definitions/models.WRSConverTDetail'
  1790. type: array
  1791. type: object
  1792. ermcp.QryMiddleGoodsRsp:
  1793. properties:
  1794. areauserid:
  1795. description: 机构用户ID
  1796. type: integer
  1797. createtime:
  1798. description: 修改时间
  1799. type: string
  1800. enumdicname:
  1801. description: 单位名称
  1802. type: string
  1803. evaluateratio:
  1804. description: 估价系数
  1805. type: number
  1806. goodsgroupid:
  1807. description: 关联期货品种ID
  1808. type: integer
  1809. goodsunitid:
  1810. description: 单位ID
  1811. type: integer
  1812. isvalid:
  1813. description: 状态 0-无效(停用) 1-有效(正常)
  1814. type: integer
  1815. middlegoodscode:
  1816. description: 套保品种代码
  1817. type: string
  1818. middlegoodsid:
  1819. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1820. type: integer
  1821. middlegoodsname:
  1822. description: 套保品种名称
  1823. type: string
  1824. modifytime:
  1825. description: 修改时间
  1826. type: string
  1827. needarbitrageratio:
  1828. description: 套利比例
  1829. type: number
  1830. needhedgeratio:
  1831. description: 套保比率
  1832. type: number
  1833. qtydecimalplace:
  1834. description: 数量小数位
  1835. type: integer
  1836. relatedgoodsid:
  1837. description: 关联交易商品ID
  1838. type: integer
  1839. relatedgoodstype:
  1840. description: 关联商品类型 - 1:期货合约 2:现货品种
  1841. type: integer
  1842. remark:
  1843. description: 备注
  1844. type: string
  1845. type: object
  1846. ermcp.QryOPLogRsp:
  1847. properties:
  1848. aftervalue:
  1849. description: 变更后
  1850. type: number
  1851. applyid:
  1852. description: 操作人ID
  1853. type: string
  1854. applyname:
  1855. description: 操作人名称
  1856. type: string
  1857. beforevalue:
  1858. description: 变更前
  1859. type: number
  1860. biztype:
  1861. description: 业务类型 - 1:套保计划 2:现货合同
  1862. type: integer
  1863. contracttype:
  1864. description: 现货合同类型 - 1:采购 -1:销售
  1865. type: integer
  1866. logvalue:
  1867. description: 数值
  1868. type: number
  1869. operatelogtype:
  1870. description: 操作流水类型
  1871. type: integer
  1872. operatelogtypedesc:
  1873. description: 操作流水类型名称
  1874. type: string
  1875. relatedid:
  1876. description: 现货合同ID\套保计划
  1877. type: string
  1878. updatetime:
  1879. description: 更新时间
  1880. type: string
  1881. type: object
  1882. ermcp.QryUserInfoRsp:
  1883. properties:
  1884. address:
  1885. description: 通讯地址
  1886. type: string
  1887. attachment1:
  1888. description: 附件1
  1889. type: string
  1890. audittime:
  1891. description: 审核时间
  1892. type: string
  1893. cardbackphotourl:
  1894. description: 证件反面图片地址
  1895. type: string
  1896. cardfrontphotourl:
  1897. description: 证件正面图片地址
  1898. type: string
  1899. cardnum:
  1900. description: 证件号码
  1901. type: string
  1902. cardtype:
  1903. description: 证件类型
  1904. type: integer
  1905. cardtypename:
  1906. description: 证件类型名称
  1907. type: string
  1908. cityid:
  1909. description: 市
  1910. type: integer
  1911. contactname:
  1912. description: 联系人
  1913. type: string
  1914. countryid:
  1915. description: 国家
  1916. type: integer
  1917. createtime:
  1918. description: 创建时间
  1919. type: string
  1920. customername:
  1921. description: 企业名称
  1922. type: string
  1923. districtid:
  1924. description: 区域
  1925. type: integer
  1926. email:
  1927. description: 邮件
  1928. type: string
  1929. legalpersonname:
  1930. description: 法人姓名(企业)
  1931. type: string
  1932. memberuserid:
  1933. description: 所属机构ID
  1934. type: integer
  1935. mobile:
  1936. description: 手机号码
  1937. type: string
  1938. modifytime:
  1939. description: 修改时间
  1940. type: string
  1941. nickname:
  1942. description: 昵称
  1943. type: string
  1944. provinceid:
  1945. description: 省
  1946. type: integer
  1947. remark:
  1948. description: 备注
  1949. type: string
  1950. status:
  1951. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  1952. type: integer
  1953. statusdesc:
  1954. description: 账户状态中文描述
  1955. type: string
  1956. taxpayernum:
  1957. description: 纳税人识别号
  1958. type: string
  1959. telphone:
  1960. description: 联系电话
  1961. type: string
  1962. userid:
  1963. description: 用户ID
  1964. type: integer
  1965. userinfotype:
  1966. description: 客户类型
  1967. type: string
  1968. type: object
  1969. ermcp.QryWarehouseRsp:
  1970. properties:
  1971. address:
  1972. description: 详细地址
  1973. type: string
  1974. areauserid:
  1975. description: 所属机构
  1976. type: integer
  1977. autoid:
  1978. description: 自增ID(仓库ID)
  1979. type: integer
  1980. cityid:
  1981. description: 市
  1982. type: integer
  1983. contactname:
  1984. description: 联系人
  1985. type: string
  1986. contactnum:
  1987. description: 联系电话
  1988. type: string
  1989. countryid:
  1990. description: 国家
  1991. type: integer
  1992. createtime:
  1993. description: 创建时间
  1994. type: string
  1995. districtid:
  1996. description: 区
  1997. type: integer
  1998. hasvideo:
  1999. description: 是否有视频 - 0:无 1:有
  2000. type: integer
  2001. provinceid:
  2002. description: 省
  2003. type: integer
  2004. remark:
  2005. description: 审核备注
  2006. type: string
  2007. videourl:
  2008. description: 视频地址
  2009. type: string
  2010. warehousecode:
  2011. description: 仓库代码
  2012. type: string
  2013. warehousename:
  2014. description: 仓库名称
  2015. type: string
  2016. warehousestatus:
  2017. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2018. type: integer
  2019. warehousetype:
  2020. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2021. type: integer
  2022. type: object
  2023. ermcp.QueryErmcpTradePositionRsp:
  2024. properties:
  2025. agreeunit:
  2026. description: 合约单位
  2027. type: number
  2028. buyorsell:
  2029. description: 方向 - 0:买 1:卖
  2030. type: integer
  2031. curpositionqty:
  2032. description: 持仓(总仓数量, 期末头寸)
  2033. type: integer
  2034. curtdposition:
  2035. description: 今仓数量(期末今日头寸)
  2036. type: integer
  2037. curtdpositionenabled:
  2038. description: 今仓可用
  2039. type: integer
  2040. decimalplace:
  2041. description: 报价小数位
  2042. type: integer
  2043. enableqty:
  2044. description: 可用(总仓可用)
  2045. type: integer
  2046. exexchangename:
  2047. description: 外部交易所名称
  2048. type: string
  2049. goodscode:
  2050. description: 商品代码(内部)
  2051. type: string
  2052. goodsid:
  2053. description: 商品ID(自增ID SEQ_GOODS)
  2054. type: integer
  2055. goodsname:
  2056. description: 商品名称
  2057. type: string
  2058. last:
  2059. description: 现价
  2060. type: number
  2061. marketid:
  2062. description: 所属市场ID
  2063. type: integer
  2064. openaverageprice:
  2065. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2066. type: number
  2067. opencost:
  2068. description: 开仓成本
  2069. type: number
  2070. openpl:
  2071. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2072. type: number
  2073. outgoodscode:
  2074. description: 商品代码(外部)
  2075. type: string
  2076. positionaverageprice:
  2077. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2078. type: number
  2079. positioncost:
  2080. description: 持仓成本
  2081. type: number
  2082. positionpl:
  2083. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2084. type: number
  2085. positionplrate:
  2086. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2087. type: number
  2088. usedmargin:
  2089. description: 占用保证金
  2090. type: number
  2091. type: object
  2092. ermcp.RealtimeExposurePositionRsp:
  2093. properties:
  2094. agreeunit:
  2095. description: 合约单位
  2096. type: string
  2097. areauserid:
  2098. description: 所属机构id
  2099. type: integer
  2100. convertratio:
  2101. description: 期货品种系数(折算系数)
  2102. type: number
  2103. curqty:
  2104. description: 当前持仓
  2105. type: integer
  2106. diffhedgeqty:
  2107. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2108. type: number
  2109. diffqty:
  2110. description: 持仓变动量=当前持仓-昨日持仓
  2111. type: integer
  2112. goodscode:
  2113. description: 商品代码
  2114. type: string
  2115. goodsid:
  2116. description: 商品id
  2117. type: integer
  2118. goodsname:
  2119. description: 商品名称
  2120. type: string
  2121. middlegoodsid:
  2122. description: 套保商品id
  2123. type: integer
  2124. ydqty:
  2125. description: 昨日持仓
  2126. type: integer
  2127. type: object
  2128. ermcp.RealtimeExposureRsp:
  2129. properties:
  2130. AreaUserID:
  2131. description: 所属机构
  2132. type: integer
  2133. BuyFutureQty:
  2134. description: 买入期货数量
  2135. type: number
  2136. BuyPlanQty:
  2137. description: 采购计划数量
  2138. type: number
  2139. BuyPricedQty:
  2140. description: 采购合同已定价数量
  2141. type: number
  2142. MiddleGoodsCode:
  2143. description: 套保品种代码
  2144. type: string
  2145. MiddleGoodsHedgeRatio:
  2146. description: 套保比例
  2147. type: number
  2148. MiddleGoodsID:
  2149. description: 套保品种
  2150. type: integer
  2151. MiddleGoodsName:
  2152. description: 套保品种名称
  2153. type: string
  2154. NeedHedgeExposoure:
  2155. description: 应套保敞口(套保敞口)
  2156. type: number
  2157. NeedHedgeRatio:
  2158. description: 应套保敞口比例
  2159. type: number
  2160. OriBuyFutureQty:
  2161. description: 期初买入期货数量
  2162. type: number
  2163. OriBuyPlanQty:
  2164. description: 期初采购计划数量
  2165. type: number
  2166. OriBuyPricedQty:
  2167. description: 期初采购合同已定价数量
  2168. type: number
  2169. OriSellFutureQty:
  2170. description: 期初卖出期货数量
  2171. type: number
  2172. OriSellPlanQty:
  2173. description: 期初销售计划数量
  2174. type: number
  2175. OriSellPricedQty:
  2176. description: 期初销售合同已定价数量
  2177. type: number
  2178. SellFutureQty:
  2179. description: 卖出期货数量
  2180. type: number
  2181. SellPlanQty:
  2182. description: 销售计划数量
  2183. type: number
  2184. SellPricedQty:
  2185. description: 销售合同已定价数量
  2186. type: number
  2187. TotalExposure:
  2188. description: 总敞口 平安:净敞口
  2189. type: number
  2190. TotalFutureQty:
  2191. description: 期货总量 平安:保值净持仓量
  2192. type: number
  2193. TotalHedgeRatio:
  2194. description: 敞口比例
  2195. type: number
  2196. TotalNeedHedgeQty:
  2197. description: 应套保总量(现货应套保总量)
  2198. type: number
  2199. TotalSpotQty:
  2200. description: 现货总量 平安:采销定价净值
  2201. type: number
  2202. arbitrageqty:
  2203. description: 套利量
  2204. type: number
  2205. diffArbitrageQty:
  2206. description: 套利变动量
  2207. type: number
  2208. diffExposoureQty:
  2209. description: 变动量(套保敞口)
  2210. type: number
  2211. diffFutuQty:
  2212. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2213. type: number
  2214. diffHedgeQty:
  2215. description: 套保变动量
  2216. type: number
  2217. diffQty:
  2218. description: 变动量(总敞口) 平安:净敞口今日变动
  2219. type: number
  2220. diffSpotHedgeQty:
  2221. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2222. type: number
  2223. diffSpotQty:
  2224. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2225. type: number
  2226. enumdicname:
  2227. description: 单位名称
  2228. type: string
  2229. hedgeqty:
  2230. description: 套保量
  2231. type: number
  2232. needarbitrageqty:
  2233. description: 应套利量
  2234. type: number
  2235. needarbitrageratio:
  2236. description: 套利比例
  2237. type: number
  2238. needhedgeqty:
  2239. description: 应套保量
  2240. type: number
  2241. oriTotalFutuQty:
  2242. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2243. type: number
  2244. oriTotalSpotQty:
  2245. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2246. type: number
  2247. oriarbitrageqty:
  2248. description: 期初套利量
  2249. type: number
  2250. orihedgeqty:
  2251. description: 期初套保量
  2252. type: number
  2253. orineedhedgeexposoure:
  2254. description: 期初套保敞口
  2255. type: number
  2256. oritotalexposure:
  2257. description: 期初总敞口
  2258. type: number
  2259. oritotalfutureqty:
  2260. description: 期初期货总量
  2261. type: number
  2262. oritotalneedhedgeqty:
  2263. description: 期初现货应套保量
  2264. type: number
  2265. type: object
  2266. erms2.QueryArbitrageStrategyRsp:
  2267. properties:
  2268. applybasis:
  2269. description: 申请基差
  2270. type: number
  2271. asapplyid:
  2272. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2273. type: string
  2274. asname:
  2275. description: 策略名称
  2276. type: string
  2277. asno:
  2278. description: 策略编号
  2279. type: string
  2280. basischangepl:
  2281. description: 基差变动损益[结算更新]
  2282. type: number
  2283. biztype:
  2284. description: 业务类型 - 1:正向套利 -1:反向套利
  2285. type: integer
  2286. closetradedate:
  2287. description: 完结交易日(yyyyMMdd)
  2288. type: string
  2289. curbasis:
  2290. description: 当前基差[结算更新]
  2291. type: number
  2292. deliverygoodsid:
  2293. description: 现货品种ID
  2294. type: integer
  2295. futureavgprice:
  2296. description: 期货建仓均价
  2297. type: number
  2298. futurecloseamount:
  2299. description: 期货平仓金额
  2300. type: number
  2301. futurecloseqty:
  2302. description: 期货平仓数量
  2303. type: number
  2304. futureopenamount:
  2305. description: 期货开仓金额
  2306. type: number
  2307. futureopenqty:
  2308. description: 期货开仓数量
  2309. type: number
  2310. futurepl:
  2311. description: 期货总盈亏[结算更新]
  2312. type: number
  2313. futureqty:
  2314. description: 期货持仓数量
  2315. type: number
  2316. futurequote:
  2317. description: 期货额度
  2318. type: number
  2319. goodsgroupid:
  2320. description: 期货品种ID
  2321. type: integer
  2322. marketid:
  2323. description: 市场ID
  2324. type: integer
  2325. netexposure:
  2326. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2327. type: number
  2328. netexposurepl:
  2329. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2330. type: number
  2331. netexposurerate:
  2332. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2333. type: number
  2334. openbasis:
  2335. description: 建仓基差
  2336. type: number
  2337. pricedspotqty:
  2338. description: 已定价现货数量
  2339. type: number
  2340. pricedspotqtynotax:
  2341. description: 已定价现货不含税数量
  2342. type: number
  2343. remark:
  2344. description: 备注
  2345. type: string
  2346. spotavgprice:
  2347. description: 现货均价
  2348. type: number
  2349. spotbuyamount:
  2350. description: 现货采购金额
  2351. type: number
  2352. spotbuyqty:
  2353. description: 现货采购数量
  2354. type: number
  2355. spotpl:
  2356. description: 现货总盈亏[结算更新]
  2357. type: number
  2358. spotquota:
  2359. description: 现货额度
  2360. type: number
  2361. spotsellamount:
  2362. description: 现货销售金额
  2363. type: number
  2364. spotsellqty:
  2365. description: 现货销售数量
  2366. type: number
  2367. spotusedquota:
  2368. description: 现货占用资金
  2369. type: number
  2370. strategystatus:
  2371. description: 策略状态 - 0:未结束 1:已结束
  2372. type: integer
  2373. totalpl:
  2374. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2375. type: number
  2376. tradedate:
  2377. description: 交易日(yyyyMMdd)
  2378. type: string
  2379. updatetime:
  2380. description: 更新时间
  2381. type: string
  2382. usedquota:
  2383. description: 已占用资金
  2384. type: number
  2385. userid:
  2386. description: 所属机构
  2387. type: integer
  2388. required:
  2389. - asapplyid
  2390. type: object
  2391. erms2.QueryInnerTradeDetailRsp:
  2392. properties:
  2393. accountid:
  2394. description: 账号ID
  2395. type: integer
  2396. agreeunit:
  2397. description: 合约单位
  2398. type: number
  2399. asapplyid:
  2400. description: 策略申请ID
  2401. type: integer
  2402. asname:
  2403. description: 策略名称
  2404. type: string
  2405. asno:
  2406. description: 策略编号
  2407. type: string
  2408. buyorsell:
  2409. description: 方向 - 0:买 1:卖
  2410. type: integer
  2411. channelbuildtype:
  2412. description: 委托单据类型 0:无 1:建仓 2:平仓
  2413. type: integer
  2414. closetype:
  2415. description: 平仓方式 - 0:无 1:平今 2:平昨
  2416. type: integer
  2417. decimalplace:
  2418. description: 报价小数位
  2419. type: integer
  2420. detailtype:
  2421. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2422. type: integer
  2423. exexchangecode:
  2424. description: 外部交易所代码
  2425. type: string
  2426. exexchangename:
  2427. description: 外部交易所名称
  2428. type: string
  2429. goodscode:
  2430. description: 商品代码(合约)
  2431. type: string
  2432. goodsgroupid:
  2433. description: 商品组ID(品种ID)
  2434. type: integer
  2435. goodsgroupname:
  2436. description: 商品组名称(品种)
  2437. type: string
  2438. goodsid:
  2439. description: 商品ID
  2440. type: integer
  2441. goodsname:
  2442. description: 商品名称(合约)
  2443. type: string
  2444. goodunit:
  2445. description: 报价单位
  2446. type: string
  2447. marketid:
  2448. description: 市场ID
  2449. type: integer
  2450. orderid:
  2451. description: 委托单号
  2452. type: string
  2453. outgoodscode:
  2454. description: 商品代码(外部)
  2455. type: string
  2456. relatedouttradeid:
  2457. description: 关联外部成交单ID
  2458. type: string
  2459. remark:
  2460. description: 备注
  2461. type: string
  2462. spotcontractid:
  2463. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2464. type: integer
  2465. spotcontractno:
  2466. description: 现货合同编号
  2467. type: string
  2468. tradeid:
  2469. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2470. type: string
  2471. tradeprice:
  2472. description: 成交价格
  2473. type: number
  2474. tradeqty:
  2475. description: 成交数量
  2476. type: integer
  2477. tradetime:
  2478. description: 成交时间
  2479. type: string
  2480. updatetime:
  2481. description: 更新时间
  2482. type: string
  2483. required:
  2484. - asapplyid
  2485. - buyorsell
  2486. - goodscode
  2487. - goodsgroupid
  2488. - goodsgroupname
  2489. - goodsname
  2490. - tradeid
  2491. type: object
  2492. erms2.QuerySpotContractRsp:
  2493. properties:
  2494. accountid:
  2495. description: 资金账户ID
  2496. type: integer
  2497. areauserid:
  2498. description: 所属机构
  2499. type: integer
  2500. closedate:
  2501. description: 终止日期
  2502. type: string
  2503. closeremark:
  2504. description: 结束备注
  2505. type: string
  2506. closetradedate:
  2507. description: 完结交易日(yyyyMMdd)
  2508. type: string
  2509. closetype:
  2510. description: 终止类型 - 1:违约 2:提前终止
  2511. type: integer
  2512. contractamount:
  2513. description: 合同金额
  2514. type: number
  2515. contractattachment:
  2516. description: 合同附件
  2517. type: string
  2518. contractno:
  2519. description: 现货合同编号
  2520. type: string
  2521. contractqty:
  2522. description: 合同数量(数值) (用于计算)
  2523. type: number
  2524. contractqtychar:
  2525. description: 合同数量\已订价数量 (用于显示)
  2526. type: string
  2527. contractstatus:
  2528. description: 合同状态 - 0:未结束 1:已结束
  2529. type: integer
  2530. contracttype:
  2531. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2532. type: integer
  2533. customeraccountid:
  2534. description: 客户资金账户ID
  2535. type: integer
  2536. customeruserid:
  2537. description: 客户ID
  2538. type: integer
  2539. deliverygoodsdesc:
  2540. description: 品种说明
  2541. type: string
  2542. deliverygoodsid:
  2543. description: 现货品种ID
  2544. type: integer
  2545. handlestatus:
  2546. description: 处理状态
  2547. type: integer
  2548. invoiceatt:
  2549. description: 发票附件
  2550. type: string
  2551. invoicedatetime:
  2552. description: 开收票更新时间
  2553. type: string
  2554. invoiceopentime:
  2555. description: 开票时间
  2556. type: string
  2557. invoiceremark:
  2558. description: 发票备注
  2559. type: string
  2560. invoicestatus:
  2561. description: 开收票状态 - 0:未开票 1:已开票
  2562. type: integer
  2563. lastdate:
  2564. description: 交货时间
  2565. type: string
  2566. marketid:
  2567. description: 市场ID
  2568. type: integer
  2569. paydatetime:
  2570. description: 收付款更新时间
  2571. type: string
  2572. payremark:
  2573. description: 收付款备注
  2574. type: string
  2575. paystatus:
  2576. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2577. type: integer
  2578. positionqty:
  2579. description: 头寸数量 - 合同数量去小数部分
  2580. type: integer
  2581. producttype:
  2582. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2583. type: integer
  2584. relatedqty:
  2585. description: 已关联数量
  2586. type: number
  2587. relatedstatus:
  2588. description: 关联完结状态 - 0:未结束 1:已结束
  2589. type: integer
  2590. remark:
  2591. description: 备注
  2592. type: string
  2593. signdate:
  2594. description: 签订日期
  2595. type: string
  2596. spotcontractid:
  2597. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2598. type: string
  2599. spotdatetime:
  2600. description: 收发货更新时间
  2601. type: string
  2602. spotprice:
  2603. description: 价格
  2604. type: number
  2605. spotremark:
  2606. description: 收发货备注
  2607. type: string
  2608. spotstatus:
  2609. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2610. type: integer
  2611. tradedate:
  2612. description: 交易日(yyyyMMdd)
  2613. type: string
  2614. userid:
  2615. description: 业务员用户ID
  2616. type: integer
  2617. warehouseid:
  2618. description: 仓库ID
  2619. type: integer
  2620. wrfactortypeid:
  2621. description: 仓单要素类型ID
  2622. type: integer
  2623. wrstandardid:
  2624. description: 仓单标准ID(SEQ_WRSTANDARD)
  2625. type: integer
  2626. required:
  2627. - spotcontractid
  2628. type: object
  2629. erms3.AddErms2ASApplyReq:
  2630. properties:
  2631. applybasis:
  2632. description: 申请基差
  2633. type: number
  2634. applystatus:
  2635. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2636. type: integer
  2637. asapplyid:
  2638. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2639. type: integer
  2640. asname:
  2641. description: 策略名称
  2642. type: string
  2643. asno:
  2644. description: 策略编号
  2645. type: string
  2646. auditid:
  2647. description: 审核人
  2648. type: integer
  2649. auditremark:
  2650. description: 审核备注
  2651. type: string
  2652. audittime:
  2653. description: 审核时间
  2654. type: string
  2655. biztype:
  2656. description: 业务类型 - 1:正向套利 2:反向套利
  2657. type: integer
  2658. createtime:
  2659. description: 创建时间
  2660. type: string
  2661. creatorid:
  2662. description: 创建人
  2663. type: integer
  2664. deliverygoodsid:
  2665. description: 现货品种ID
  2666. type: integer
  2667. futurequote:
  2668. description: 期货额度
  2669. type: number
  2670. goodsgroupid:
  2671. description: 期货品种ID
  2672. type: integer
  2673. marketid:
  2674. description: 市场ID
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. spotquota:
  2680. description: 现货额度
  2681. type: number
  2682. tradedate:
  2683. description: 交易日(yyyyMMdd)
  2684. type: string
  2685. userid:
  2686. description: 所属机构
  2687. type: integer
  2688. required:
  2689. - asapplyid
  2690. type: object
  2691. erms3.AddErms2SpotTradeApplyReq:
  2692. properties:
  2693. applyjsondetail:
  2694. description: 申请明细(JSON)
  2695. type: string
  2696. applystatus:
  2697. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2698. type: integer
  2699. areauserid:
  2700. description: 所属机构
  2701. type: integer
  2702. auditid:
  2703. description: 审核人
  2704. type: integer
  2705. auditremark:
  2706. description: 审核备注
  2707. type: string
  2708. audittime:
  2709. description: 审核时间
  2710. type: string
  2711. createtime:
  2712. description: 创建时间
  2713. type: string
  2714. creatorid:
  2715. description: 创建人
  2716. type: integer
  2717. deliverygoodsid:
  2718. description: 现货品种ID
  2719. type: integer
  2720. futureaccountid:
  2721. description: 期货资金账户
  2722. type: integer
  2723. goodsgroupid:
  2724. description: 期货品种
  2725. type: integer
  2726. marketid:
  2727. description: 市场ID
  2728. type: integer
  2729. remark:
  2730. description: 备注
  2731. type: string
  2732. spotaccountid:
  2733. description: 现货资金账户
  2734. type: integer
  2735. spottradeid:
  2736. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2737. type: integer
  2738. spottradename:
  2739. description: 业务名称
  2740. type: string
  2741. spottradeno:
  2742. description: 业务编号
  2743. type: string
  2744. tradedate:
  2745. description: 交易日(yyyyMMdd)
  2746. type: string
  2747. wrstandardid:
  2748. description: 仓单标准ID
  2749. type: integer
  2750. required:
  2751. - spottradeid
  2752. type: object
  2753. erms3.AddSpotContractApplyReq:
  2754. properties:
  2755. accountid:
  2756. description: 资金账户ID
  2757. type: integer
  2758. areauserid:
  2759. description: 所属机构
  2760. type: integer
  2761. contractattachment:
  2762. description: 合同附件
  2763. type: string
  2764. contractno:
  2765. description: 现货合同编号
  2766. type: string
  2767. contracttype:
  2768. description: 现货合同类型 - 1:采购 -1:销售
  2769. type: integer
  2770. creatorid:
  2771. description: 申请人
  2772. type: integer
  2773. customeraccountid:
  2774. description: 客户资金账户ID
  2775. type: integer
  2776. customeruserid:
  2777. description: 客户ID
  2778. type: integer
  2779. details:
  2780. description: 明细
  2781. items:
  2782. $ref: '#/definitions/erms3.SoptContractDetail'
  2783. type: array
  2784. orimargin:
  2785. description: 初始保证金
  2786. type: number
  2787. remark:
  2788. description: 备注
  2789. type: string
  2790. signdate:
  2791. description: 签订日期
  2792. type: string
  2793. required:
  2794. - accountid
  2795. - areauserid
  2796. - contractno
  2797. - contracttype
  2798. - customeraccountid
  2799. - customeruserid
  2800. - details
  2801. - orimargin
  2802. - signdate
  2803. type: object
  2804. erms3.AddSpotContractApplyRsp:
  2805. properties:
  2806. contractno:
  2807. description: 现货合同编号
  2808. type: string
  2809. spotcontractid:
  2810. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2811. type: integer
  2812. required:
  2813. - contractno
  2814. type: object
  2815. erms3.AddUserInfoApplyReq:
  2816. properties:
  2817. accountid:
  2818. description: 交易系统帐号Id (加密存储)
  2819. type: integer
  2820. areacode:
  2821. description: 机构代码
  2822. type: string
  2823. areaid:
  2824. description: 机构Id
  2825. type: integer
  2826. attachment1:
  2827. description: 附件1
  2828. type: string
  2829. attachment2:
  2830. description: 附件2
  2831. type: string
  2832. attachment3:
  2833. description: 附件3
  2834. type: string
  2835. attachment4:
  2836. description: 附件4
  2837. type: string
  2838. attachment5:
  2839. description: 附件5
  2840. type: string
  2841. auditedby:
  2842. description: 审核人
  2843. type: string
  2844. auditime:
  2845. description: 审核时间
  2846. type: string
  2847. auditsrc:
  2848. description: 审核来源 - 1:管理端 2:终端
  2849. type: integer
  2850. bankaccount:
  2851. description: 银行帐号 (加密存储)
  2852. type: string
  2853. bankaccountname:
  2854. description: 收款人名称
  2855. type: string
  2856. bankcardbackphotourl:
  2857. description: 银行卡背面照地址
  2858. type: string
  2859. bankcardfrontphotourl:
  2860. description: 银行卡正面照地址
  2861. type: string
  2862. bankid:
  2863. description: 银行编码
  2864. type: string
  2865. bankname:
  2866. description: 银行名称
  2867. type: string
  2868. bankpictureurl:
  2869. description: 银行卡正面地址
  2870. type: string
  2871. biznature:
  2872. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2873. type: integer
  2874. bizscope:
  2875. description: 企业经营范围(企业)
  2876. type: string
  2877. biztype:
  2878. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2879. type: integer
  2880. brokerid:
  2881. description: 经纪人ID(加密存储)
  2882. type: string
  2883. cardaddress:
  2884. description: 证件地址 (加密存储)
  2885. type: string
  2886. cardbackphotourl:
  2887. description: 背面证件照地址
  2888. type: string
  2889. cardfrontphotourl:
  2890. description: 正面证件照地址
  2891. type: string
  2892. cardnum:
  2893. description: 证件号码 (加密存储)
  2894. type: string
  2895. cardtype:
  2896. description: 证件类型
  2897. type: integer
  2898. cityid:
  2899. description: 市
  2900. type: integer
  2901. company:
  2902. description: 公司(个人)
  2903. type: string
  2904. contactcardbackphotourl:
  2905. description: 联系人证件背面图片地址
  2906. type: string
  2907. contactcardfrontphotourl:
  2908. description: 联系人证件正面图片地址
  2909. type: string
  2910. contactname:
  2911. description: 联系人
  2912. type: string
  2913. countryid:
  2914. description: 国家
  2915. type: integer
  2916. createtime:
  2917. description: 开户申请时间
  2918. type: string
  2919. cusbankid:
  2920. description: 签约类型
  2921. type: string
  2922. cusbankname:
  2923. description: 签约类型名称
  2924. type: string
  2925. customername:
  2926. description: 客户名称(企业名称)
  2927. type: string
  2928. districtid:
  2929. description: 地区
  2930. type: integer
  2931. email:
  2932. description: Email地址(加密存储)
  2933. type: string
  2934. halfbodyphotourl:
  2935. description: 半身照地址
  2936. type: string
  2937. headurl:
  2938. description: 头像地址
  2939. type: string
  2940. ipaddress:
  2941. description: IP地址
  2942. type: string
  2943. isvalidate:
  2944. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2945. type: string
  2946. legalcardbackphotourl:
  2947. description: 法人身份证背面照地址
  2948. type: string
  2949. legalcardfrontphotourl:
  2950. description: 法人身份证正面照地址
  2951. type: string
  2952. legalpersonname:
  2953. description: 法人姓名(企业)
  2954. type: string
  2955. logincode:
  2956. description: 登录帐号 (加密存储)
  2957. type: string
  2958. memberareaid:
  2959. description: 所属会员ID
  2960. type: integer
  2961. mobile2:
  2962. description: 手机号码[明文-尚志]
  2963. type: string
  2964. mobilephone:
  2965. description: 手机号码 (加密存储)
  2966. type: string
  2967. modifiedby:
  2968. description: 修改人帐号
  2969. type: integer
  2970. modifiedtime:
  2971. description: 修改时间
  2972. type: string
  2973. nickname:
  2974. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2975. type: string
  2976. openmode:
  2977. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2978. type: integer
  2979. otherurl:
  2980. description: 其它图片地址[使用分号分隔]
  2981. type: string
  2982. postalcode:
  2983. description: 邮政编码
  2984. type: string
  2985. provinceid:
  2986. description: 省
  2987. type: integer
  2988. proxystatementurl:
  2989. description: 授权委托书
  2990. type: string
  2991. qq:
  2992. description: QQ(加密存储
  2993. type: string
  2994. referral:
  2995. description: 推荐人编码
  2996. type: string
  2997. remark:
  2998. description: 备注
  2999. type: string
  3000. removebeforestatus:
  3001. description: REMOVEBEFORESTATUS
  3002. type: integer
  3003. sex:
  3004. description: 性别 - 0:女 1:男
  3005. type: integer
  3006. signedstatus:
  3007. description: 账户一号签签约状态
  3008. type: integer
  3009. signpdfurl:
  3010. description: 签约pdf文件
  3011. type: string
  3012. subbranch:
  3013. description: 开户支行
  3014. type: string
  3015. taxpayernum:
  3016. description: 纳税人识别号
  3017. type: string
  3018. telphone:
  3019. description: 联系电话(加密存储)
  3020. type: string
  3021. userid:
  3022. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3023. type: integer
  3024. userinfotype:
  3025. description: 用户信息类型 - 1:个人 2:企业
  3026. type: integer
  3027. username:
  3028. description: 用户姓名
  3029. type: string
  3030. userstate:
  3031. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3032. type: integer
  3033. usertype:
  3034. description: 用户类型 - 1:投资者 2:机构
  3035. type: integer
  3036. videourl:
  3037. description: 视频地址
  3038. type: string
  3039. wechat:
  3040. description: 微信号 (加密存储)
  3041. type: string
  3042. required:
  3043. - userid
  3044. type: object
  3045. erms3.CustomerInfo:
  3046. properties:
  3047. accountids:
  3048. description: 资金账户ID列表
  3049. items:
  3050. type: integer
  3051. type: array
  3052. customername:
  3053. description: 名称(企业名称)
  3054. type: string
  3055. mobile:
  3056. description: 手机号码
  3057. type: string
  3058. userid:
  3059. description: 用户ID
  3060. type: integer
  3061. required:
  3062. - userid
  3063. type: object
  3064. erms3.ModifyUserInfoApplyReq:
  3065. properties:
  3066. accountid:
  3067. description: 交易系统帐号Id (加密存储)
  3068. type: integer
  3069. areacode:
  3070. description: 机构代码
  3071. type: string
  3072. areaid:
  3073. description: 机构Id
  3074. type: integer
  3075. attachment1:
  3076. description: 附件1
  3077. type: string
  3078. attachment2:
  3079. description: 附件2
  3080. type: string
  3081. attachment3:
  3082. description: 附件3
  3083. type: string
  3084. attachment4:
  3085. description: 附件4
  3086. type: string
  3087. attachment5:
  3088. description: 附件5
  3089. type: string
  3090. auditedby:
  3091. description: 审核人
  3092. type: string
  3093. auditime:
  3094. description: 审核时间
  3095. type: string
  3096. auditsrc:
  3097. description: 审核来源 - 1:管理端 2:终端
  3098. type: integer
  3099. bankaccount:
  3100. description: 银行帐号 (加密存储)
  3101. type: string
  3102. bankaccountname:
  3103. description: 收款人名称
  3104. type: string
  3105. bankcardbackphotourl:
  3106. description: 银行卡背面照地址
  3107. type: string
  3108. bankcardfrontphotourl:
  3109. description: 银行卡正面照地址
  3110. type: string
  3111. bankid:
  3112. description: 银行编码
  3113. type: string
  3114. bankname:
  3115. description: 银行名称
  3116. type: string
  3117. bankpictureurl:
  3118. description: 银行卡正面地址
  3119. type: string
  3120. biznature:
  3121. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3122. type: integer
  3123. bizscope:
  3124. description: 企业经营范围(企业)
  3125. type: string
  3126. biztype:
  3127. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3128. type: integer
  3129. brokerid:
  3130. description: 经纪人ID(加密存储)
  3131. type: string
  3132. cardaddress:
  3133. description: 证件地址 (加密存储)
  3134. type: string
  3135. cardbackphotourl:
  3136. description: 背面证件照地址
  3137. type: string
  3138. cardfrontphotourl:
  3139. description: 正面证件照地址
  3140. type: string
  3141. cardnum:
  3142. description: 证件号码 (加密存储)
  3143. type: string
  3144. cardtype:
  3145. description: 证件类型
  3146. type: integer
  3147. cityid:
  3148. description: 市
  3149. type: integer
  3150. company:
  3151. description: 公司(个人)
  3152. type: string
  3153. contactcardbackphotourl:
  3154. description: 联系人证件背面图片地址
  3155. type: string
  3156. contactcardfrontphotourl:
  3157. description: 联系人证件正面图片地址
  3158. type: string
  3159. contactname:
  3160. description: 联系人
  3161. type: string
  3162. countryid:
  3163. description: 国家
  3164. type: integer
  3165. createtime:
  3166. description: 开户申请时间
  3167. type: string
  3168. cusbankid:
  3169. description: 签约类型
  3170. type: string
  3171. cusbankname:
  3172. description: 签约类型名称
  3173. type: string
  3174. customername:
  3175. description: 客户名称(企业名称)
  3176. type: string
  3177. districtid:
  3178. description: 地区
  3179. type: integer
  3180. email:
  3181. description: Email地址(加密存储)
  3182. type: string
  3183. halfbodyphotourl:
  3184. description: 半身照地址
  3185. type: string
  3186. headurl:
  3187. description: 头像地址
  3188. type: string
  3189. ipaddress:
  3190. description: IP地址
  3191. type: string
  3192. isvalidate:
  3193. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3194. type: string
  3195. legalcardbackphotourl:
  3196. description: 法人身份证背面照地址
  3197. type: string
  3198. legalcardfrontphotourl:
  3199. description: 法人身份证正面照地址
  3200. type: string
  3201. legalpersonname:
  3202. description: 法人姓名(企业)
  3203. type: string
  3204. logincode:
  3205. description: 登录帐号 (加密存储)
  3206. type: string
  3207. memberareaid:
  3208. description: 所属会员ID
  3209. type: integer
  3210. mobile2:
  3211. description: 手机号码[明文-尚志]
  3212. type: string
  3213. mobilephone:
  3214. description: 手机号码 (加密存储)
  3215. type: string
  3216. modifiedby:
  3217. description: 修改人帐号
  3218. type: integer
  3219. modifiedtime:
  3220. description: 修改时间
  3221. type: string
  3222. nickname:
  3223. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3224. type: string
  3225. openmode:
  3226. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3227. type: integer
  3228. otherurl:
  3229. description: 其它图片地址[使用分号分隔]
  3230. type: string
  3231. postalcode:
  3232. description: 邮政编码
  3233. type: string
  3234. provinceid:
  3235. description: 省
  3236. type: integer
  3237. proxystatementurl:
  3238. description: 授权委托书
  3239. type: string
  3240. qq:
  3241. description: QQ(加密存储
  3242. type: string
  3243. referral:
  3244. description: 推荐人编码
  3245. type: string
  3246. remark:
  3247. description: 备注
  3248. type: string
  3249. removebeforestatus:
  3250. description: REMOVEBEFORESTATUS
  3251. type: integer
  3252. sex:
  3253. description: 性别 - 0:女 1:男
  3254. type: integer
  3255. signedstatus:
  3256. description: 账户一号签签约状态
  3257. type: integer
  3258. signpdfurl:
  3259. description: 签约pdf文件
  3260. type: string
  3261. subbranch:
  3262. description: 开户支行
  3263. type: string
  3264. taxpayernum:
  3265. description: 纳税人识别号
  3266. type: string
  3267. telphone:
  3268. description: 联系电话(加密存储)
  3269. type: string
  3270. userid:
  3271. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3272. type: integer
  3273. userinfotype:
  3274. description: 用户信息类型 - 1:个人 2:企业
  3275. type: integer
  3276. username:
  3277. description: 用户姓名
  3278. type: string
  3279. userstate:
  3280. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3281. type: integer
  3282. usertype:
  3283. description: 用户类型 - 1:投资者 2:机构
  3284. type: integer
  3285. videourl:
  3286. description: 视频地址
  3287. type: string
  3288. wechat:
  3289. description: 微信号 (加密存储)
  3290. type: string
  3291. required:
  3292. - userid
  3293. type: object
  3294. erms3.QryAuditContractRsp:
  3295. properties:
  3296. accountid:
  3297. description: 交易员ID
  3298. type: string
  3299. applystatus:
  3300. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3301. type: integer
  3302. curdeliveryqty:
  3303. description: 未交收量
  3304. type: integer
  3305. customername:
  3306. description: 采购方ID
  3307. type: string
  3308. deliverygoodsid:
  3309. description: 品种ID
  3310. type: string
  3311. deliveryqty:
  3312. description: 交收量
  3313. type: integer
  3314. enumdicname:
  3315. description: 单位名称
  3316. type: string
  3317. matchaccountid:
  3318. description: 业务员ID
  3319. type: string
  3320. matchcustomername:
  3321. description: 销售方ID
  3322. type: string
  3323. pricedqty:
  3324. description: 定价量
  3325. type: number
  3326. signdate:
  3327. description: 签订日期
  3328. type: string
  3329. spotcontractid:
  3330. description: 合同ID
  3331. type: string
  3332. totaldqty:
  3333. description: 合同量
  3334. type: number
  3335. unpricedqty:
  3336. description: 未定价量
  3337. type: number
  3338. wrstandardname:
  3339. description: 商品名称
  3340. type: string
  3341. required:
  3342. - matchcustomername
  3343. - spotcontractid
  3344. type: object
  3345. erms3.QryPendingBizRsp:
  3346. properties:
  3347. accountid:
  3348. description: 现货账户
  3349. type: string
  3350. areaname:
  3351. description: 所属部门
  3352. type: string
  3353. bizid:
  3354. description: 业务ID
  3355. type: string
  3356. bizname:
  3357. description: 业务名称
  3358. type: string
  3359. status:
  3360. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3361. type: integer
  3362. type:
  3363. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3364. type: integer
  3365. type: object
  3366. erms3.QueryBusinessInfoRsp:
  3367. properties:
  3368. businessid:
  3369. description: 业务ID.
  3370. type: integer
  3371. buyamount:
  3372. description: 采购额.
  3373. type: number
  3374. buyqty:
  3375. description: 采购量.
  3376. type: string
  3377. futurepl:
  3378. description: 期货盈亏.
  3379. type: number
  3380. futureqty:
  3381. description: 期货敞口.
  3382. type: string
  3383. goodsid:
  3384. description: 商品名称/商品代码.
  3385. type: string
  3386. hedgingqty:
  3387. description: 套保量.
  3388. type: string
  3389. sellamount:
  3390. description: 销售额.
  3391. type: number
  3392. sellqty:
  3393. description: 销售量.
  3394. type: string
  3395. spotmarketvalue:
  3396. description: 现货市值.
  3397. type: number
  3398. spotpl:
  3399. description: 浮动权益.
  3400. type: number
  3401. spotqty:
  3402. description: 现货量.
  3403. type: string
  3404. statu:
  3405. description: 状态,0-未结束 1-已结束.
  3406. type: integer
  3407. totalpl:
  3408. description: 总盈亏.
  3409. type: number
  3410. totalqty:
  3411. description: 总敞口.
  3412. type: string
  3413. type:
  3414. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3415. type: integer
  3416. type: object
  3417. erms3.QuerySpotContractAppleFormRsp:
  3418. properties:
  3419. goodses:
  3420. description: 合约列表
  3421. items:
  3422. $ref: '#/definitions/models.GoodsIDAndName'
  3423. type: array
  3424. oppositeusers:
  3425. description: 对方账号列表
  3426. items:
  3427. $ref: '#/definitions/erms3.CustomerInfo'
  3428. type: array
  3429. ouruser:
  3430. $ref: '#/definitions/erms3.CustomerInfo'
  3431. description: 我方账号
  3432. warehouseinfos:
  3433. description: 仓库信息列表
  3434. items:
  3435. $ref: '#/definitions/models.Warehouseinfo'
  3436. type: array
  3437. wrstandards:
  3438. description: 仓单标准列表
  3439. items:
  3440. $ref: '#/definitions/models.WRStandardInfo'
  3441. type: array
  3442. type: object
  3443. erms3.QuerySpotContractInfoRsp:
  3444. properties:
  3445. accountid:
  3446. description: 表示交易员ID.
  3447. type: integer
  3448. curdeliveryqty:
  3449. description: 表示未交收量.
  3450. type: number
  3451. customername:
  3452. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3453. type: string
  3454. deliverygoodsid:
  3455. description: 表示品种ID.
  3456. type: string
  3457. deliveryqty:
  3458. description: 表示交收量.
  3459. type: number
  3460. matchaccountid:
  3461. description: 表示业务员ID.
  3462. type: integer
  3463. matchcustomername:
  3464. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3465. type: string
  3466. priceqty:
  3467. description: 表示定价量.
  3468. type: number
  3469. relatedbizid:
  3470. description: 表示业务ID.
  3471. type: string
  3472. signdate:
  3473. description: 表示签订日期.
  3474. type: string
  3475. spotcontractid:
  3476. description: 合同ID
  3477. type: string
  3478. status:
  3479. description: 表示状态,0-履约中 1-已完成.
  3480. type: integer
  3481. totalqty:
  3482. description: 表示合同量.
  3483. type: number
  3484. unpricedqty:
  3485. description: 表示未定价量.
  3486. type: number
  3487. wrstandardname:
  3488. description: 表示商品ID.
  3489. type: string
  3490. type: object
  3491. erms3.QueryUserInfoAppliesRsp:
  3492. properties:
  3493. biznature:
  3494. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3495. type: integer
  3496. contactname:
  3497. description: 联系人
  3498. type: string
  3499. createtime:
  3500. description: 开户申请时间
  3501. type: string
  3502. userid:
  3503. description: 用户ID(自增ID)
  3504. type: integer
  3505. userinfotype:
  3506. description: 用户信息类型 - 1:个人 2:企业
  3507. type: integer
  3508. username:
  3509. description: 用户姓名
  3510. type: string
  3511. userstate:
  3512. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3513. type: integer
  3514. required:
  3515. - userid
  3516. type: object
  3517. erms3.QueryUserInfosRsp:
  3518. properties:
  3519. biznature:
  3520. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3521. type: integer
  3522. contactname:
  3523. description: 联系人
  3524. type: string
  3525. customername:
  3526. description: 客户名称(企业名称)
  3527. type: string
  3528. userid:
  3529. description: 用户ID
  3530. type: integer
  3531. userinfotype:
  3532. description: 用户信息类型 - 1:个人 2:企业
  3533. type: integer
  3534. userstatus:
  3535. description: 用户状态 - 1:正常 2:注销
  3536. type: integer
  3537. required:
  3538. - userid
  3539. type: object
  3540. erms3.SoptContractDetail:
  3541. properties:
  3542. deliverygoodsdesc:
  3543. description: 现货品种说明
  3544. type: string
  3545. deliverygoodsid:
  3546. description: 现货品种ID
  3547. type: integer
  3548. deliverygoodsname:
  3549. description: 现货品种名称
  3550. type: string
  3551. pointdesc:
  3552. description: 点价描述
  3553. type: string
  3554. producttype:
  3555. description: 产品类型 1:标准仓单 2:等标 3:非标
  3556. type: integer
  3557. producttypename:
  3558. description: 产品类型名称
  3559. type: string
  3560. spotPointOrderVoList:
  3561. description: 点价列表
  3562. items:
  3563. $ref: '#/definitions/erms3.SpotPointOrder'
  3564. type: array
  3565. spotPriceOrderList:
  3566. description: 定价列表
  3567. items:
  3568. $ref: '#/definitions/erms3.SpotPriceOrder'
  3569. type: array
  3570. unitname:
  3571. description: 单位名称
  3572. type: string
  3573. warehouseid:
  3574. description: 仓库ID
  3575. type: integer
  3576. warehousename:
  3577. description: 仓库名称
  3578. type: string
  3579. wrstandardid:
  3580. description: 交易标的ID
  3581. type: integer
  3582. wrstandardname:
  3583. description: 交易标的名称
  3584. type: string
  3585. required:
  3586. - deliverygoodsid
  3587. - producttype
  3588. - unitname
  3589. - warehouseid
  3590. - wrstandardid
  3591. - wrstandardname
  3592. type: object
  3593. erms3.SpotPointOrder:
  3594. properties:
  3595. basic:
  3596. description: 基差
  3597. type: number
  3598. deliveryenddate:
  3599. description: 交收结束日期
  3600. type: string
  3601. deliverystartdate:
  3602. description: 交收开始日期
  3603. type: string
  3604. enddate:
  3605. description: 点价结束日期
  3606. type: string
  3607. goodsid:
  3608. description: 商品ID
  3609. type: integer
  3610. goodsname:
  3611. description: 商品名称
  3612. type: string
  3613. qty:
  3614. description: 数量
  3615. type: number
  3616. startdate:
  3617. description: 点价开始日期
  3618. type: string
  3619. required:
  3620. - basic
  3621. - goodsid
  3622. - qty
  3623. type: object
  3624. erms3.SpotPriceOrder:
  3625. properties:
  3626. amount:
  3627. description: 金额
  3628. type: number
  3629. deliveryenddate:
  3630. description: 交收结束日期
  3631. type: string
  3632. deliverystartdate:
  3633. description: 交收开始日期
  3634. type: string
  3635. price:
  3636. description: 价格
  3637. type: number
  3638. qty:
  3639. description: 数量
  3640. type: number
  3641. required:
  3642. - amount
  3643. - price
  3644. - qty
  3645. type: object
  3646. hsby.GetHsbyMyCountRsp:
  3647. properties:
  3648. myCouponCount:
  3649. description: 我的优惠卷数量
  3650. type: integer
  3651. myOrderDetailListingCount:
  3652. description: 我的订单求购中数量
  3653. type: integer
  3654. myOrderDetailPreCount:
  3655. description: 我的订单抢购中数量
  3656. type: integer
  3657. myPackageUnReceiveCount:
  3658. description: 我的包裹待收货数量
  3659. type: integer
  3660. myPackageUnSendCount:
  3661. description: 我的包裹待发货数量
  3662. type: integer
  3663. myPayOrderCount:
  3664. description: 我的订单待付款数量
  3665. type: integer
  3666. type: object
  3667. hsby.QueryProvincesAndCitiesRsp:
  3668. properties:
  3669. cities:
  3670. description: 市
  3671. items:
  3672. $ref: '#/definitions/models.Division'
  3673. type: array
  3674. province:
  3675. $ref: '#/definitions/models.Division'
  3676. description: 省
  3677. type: object
  3678. models.Arearole:
  3679. properties:
  3680. createtime:
  3681. description: 创建时间
  3682. type: string
  3683. creatorid:
  3684. description: 创建人ID
  3685. type: integer
  3686. fromuserid:
  3687. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3688. type: integer
  3689. isreturnscore:
  3690. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3691. type: integer
  3692. modifierid:
  3693. description: 修改人ID
  3694. type: integer
  3695. modifytime:
  3696. description: 修改时间
  3697. type: string
  3698. orgtype:
  3699. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3700. type: integer
  3701. outuserid:
  3702. description: 外部账户[场外期权做市商]
  3703. type: string
  3704. parentuserid:
  3705. description: 上级组织机构(组织机构)
  3706. type: integer
  3707. roletype:
  3708. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3709. type: integer
  3710. rootuserid:
  3711. description: 顶级组织机构用户ID(组织机构)
  3712. type: integer
  3713. shoppassword:
  3714. description: 商城店铺登陆密码(商城店铺角色使用)
  3715. type: string
  3716. sublevelpath:
  3717. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3718. type: string
  3719. suborgtype:
  3720. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3721. type: integer
  3722. tradeaccountid:
  3723. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3724. type: integer
  3725. transurl:
  3726. description: 物流地址(物流机构)
  3727. type: string
  3728. userid:
  3729. description: 机构用户ID其他做市关系,都设置为 1
  3730. type: integer
  3731. required:
  3732. - roletype
  3733. - userid
  3734. type: object
  3735. models.Clientfixedadconfig:
  3736. properties:
  3737. adsort:
  3738. description: 排序
  3739. type: integer
  3740. adtype:
  3741. description: 广告位类型 - 1:新品抢购(HSBY)
  3742. type: integer
  3743. areauserid:
  3744. description: 所属机构ID
  3745. type: integer
  3746. createdate:
  3747. description: 创建时间
  3748. type: string
  3749. creatorid:
  3750. description: 创建人
  3751. type: integer
  3752. imagepath:
  3753. description: 图片
  3754. type: string
  3755. isshow:
  3756. description: 是否展示 - 0:不展示 1:展示
  3757. type: integer
  3758. modifierid:
  3759. description: 操作人
  3760. type: integer
  3761. recsize:
  3762. description: 推荐尺寸
  3763. type: string
  3764. title:
  3765. description: 标题
  3766. type: string
  3767. updatedate:
  3768. description: 更新时间
  3769. type: string
  3770. urlcontent:
  3771. description: 链接(地址或商品ID)
  3772. type: string
  3773. urltype:
  3774. description: 链接类型 - 1:直接地址 2:商品ID
  3775. type: integer
  3776. required:
  3777. - adsort
  3778. - adtype
  3779. type: object
  3780. models.Division:
  3781. properties:
  3782. autoid:
  3783. description: 自增ID
  3784. type: integer
  3785. divisioncode:
  3786. description: 行政代码
  3787. type: string
  3788. divisionlevel:
  3789. description: 行政级别
  3790. type: string
  3791. divisionname:
  3792. description: 行政名称
  3793. type: string
  3794. modifierid:
  3795. description: 修改人
  3796. type: integer
  3797. modifytime:
  3798. description: 修改时间
  3799. type: string
  3800. parentcode:
  3801. description: 上级行政代码
  3802. type: string
  3803. pathname:
  3804. description: 路径名称
  3805. type: string
  3806. postcode:
  3807. description: 邮政编码
  3808. type: string
  3809. separablename:
  3810. description: 可拆分的全称
  3811. type: string
  3812. shortcode:
  3813. description: 地区简码
  3814. type: string
  3815. required:
  3816. - autoid
  3817. - divisioncode
  3818. type: object
  3819. models.Enumdicitem:
  3820. properties:
  3821. autoid:
  3822. description: 自增ID
  3823. type: integer
  3824. bankmappedvalue:
  3825. description: 银行服务对应值
  3826. type: string
  3827. enumdiccode:
  3828. description: 所属枚举代码
  3829. type: string
  3830. enumdicid:
  3831. description: 所属枚举ID
  3832. type: integer
  3833. enumdicname:
  3834. description: 枚举项名称
  3835. type: string
  3836. enumitemname:
  3837. description: 枚举项值
  3838. type: integer
  3839. enumitemstatus:
  3840. description: 枚举项状态 - 1.启用 2.不启用
  3841. type: integer
  3842. enumitemvalue:
  3843. description: 通用值 - [币种通用简写]
  3844. type: string
  3845. param1:
  3846. description: 参数1[币种:币种小数位]
  3847. type: string
  3848. param2:
  3849. description: 参数1[币种:币种显示单位]
  3850. type: string
  3851. remark:
  3852. description: 备注
  3853. type: string
  3854. required:
  3855. - autoid
  3856. - enumdiccode
  3857. - enumdicid
  3858. - enumitemname
  3859. type: object
  3860. models.Ermcp3AreaSpot:
  3861. properties:
  3862. areauserid:
  3863. description: 所属机构
  3864. type: integer
  3865. convertratio:
  3866. description: 套保系数
  3867. type: number
  3868. decreaseqty:
  3869. description: 减少数量=-(销售已定价数量+采购计划数量)
  3870. type: number
  3871. enumdicname:
  3872. description: 单位名称
  3873. type: string
  3874. increaseqty:
  3875. description: 增加数量=销售计划数量+采购已定价数量
  3876. type: number
  3877. oritoalspotqty:
  3878. description: 昨日数量
  3879. type: number
  3880. totalspotqty:
  3881. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3882. type: number
  3883. unitid:
  3884. description: 现货商品单位id
  3885. type: integer
  3886. updatetime:
  3887. description: 更新时间
  3888. type: string
  3889. wrstandardcode:
  3890. description: 现货商品代码
  3891. type: string
  3892. wrstandardid:
  3893. description: 现货商品ID(SEQ_WRSTANDARD)
  3894. type: integer
  3895. wrstandardname:
  3896. description: 现货商品名称
  3897. type: string
  3898. type: object
  3899. models.Ermcp3AreaSpotDetail:
  3900. properties:
  3901. contracttype:
  3902. description: 合同类型 1-采购 -1-销售
  3903. type: integer
  3904. createtime:
  3905. description: 创建时间
  3906. type: string
  3907. enumdicname:
  3908. description: 现货商品单位名称
  3909. type: string
  3910. logtype:
  3911. description: 记录类型 1-套保 2-现货合同
  3912. type: integer
  3913. qty:
  3914. description: 数量
  3915. type: number
  3916. recordname:
  3917. description: 类型名称
  3918. type: string
  3919. relatedid:
  3920. description: 套保计划ID/现货合同ID
  3921. type: string
  3922. relatedno:
  3923. description: 编号
  3924. type: string
  3925. strtime:
  3926. description: 时间
  3927. type: string
  3928. wrstandardcode:
  3929. description: 现货商品代码
  3930. type: string
  3931. wrstandardid:
  3932. description: 现货商品ID(SEQ_WRSTANDARD)
  3933. type: integer
  3934. wrstandardname:
  3935. description: 现货商品名称
  3936. type: string
  3937. type: object
  3938. models.Ermcp3AreaSpotPLReport:
  3939. properties:
  3940. accountid:
  3941. description: 期货账户ID (作废, 默认为0)
  3942. type: integer
  3943. accountname:
  3944. description: 机构名称
  3945. type: string
  3946. actualpl:
  3947. description: 现货损益
  3948. type: number
  3949. areauserid:
  3950. description: 所属机构\交易用户ID
  3951. type: integer
  3952. begindate:
  3953. description: 开始交易日
  3954. type: string
  3955. biztype:
  3956. description: 业务类型 - 1:套保 2:套利
  3957. type: integer
  3958. brandname:
  3959. description: 品牌名称
  3960. type: string
  3961. curamount:
  3962. description: 期末额
  3963. type: number
  3964. curaverageprice:
  3965. description: 期末均价
  3966. type: number
  3967. curbuyamount:
  3968. description: 期末采购总额
  3969. type: number
  3970. curbuyqty:
  3971. description: 期末采购总量
  3972. type: number
  3973. curmarketvalue:
  3974. description: 参考市值(期末市值)
  3975. type: number
  3976. curqty:
  3977. description: 期末量
  3978. type: number
  3979. currencyid:
  3980. description: 结算币种ID【原值】
  3981. type: integer
  3982. currencyname:
  3983. description: 币种名称
  3984. type: string
  3985. cursellamount:
  3986. description: 期末销售总额
  3987. type: number
  3988. cursellqty:
  3989. description: 期末销售总量
  3990. type: number
  3991. curspotprice:
  3992. description: 参考市价(最新价)
  3993. type: number
  3994. cycletime:
  3995. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3996. type: string
  3997. cycletype:
  3998. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3999. type: integer
  4000. deliverygoodscode:
  4001. description: 现货商品代码
  4002. type: string
  4003. deliverygoodsid:
  4004. description: 现货品种ID
  4005. type: integer
  4006. deliverygoodsname:
  4007. description: 现货商品名称
  4008. type: string
  4009. enddate:
  4010. description: 结束交易日
  4011. type: string
  4012. enumdicname:
  4013. description: 现货商品单位名称
  4014. type: string
  4015. floatpl:
  4016. description: 浮动损益
  4017. type: number
  4018. goodsunitid:
  4019. description: 现货商品单位id
  4020. type: integer
  4021. oriamount:
  4022. description: 期初额
  4023. type: number
  4024. oriaverageprice:
  4025. description: 期初均价
  4026. type: number
  4027. oribuyamount:
  4028. description: 期初采购总额
  4029. type: number
  4030. oribuyqty:
  4031. description: 期初采购总量
  4032. type: number
  4033. oriqty:
  4034. description: 期初量
  4035. type: number
  4036. orisellamount:
  4037. description: 期初销售总额
  4038. type: number
  4039. orisellqty:
  4040. description: 期初销售总量
  4041. type: number
  4042. reckondate:
  4043. description: 日照时期(yyyyMMdd)
  4044. type: string
  4045. spotgoodsbrandid:
  4046. description: 现货品牌ID
  4047. type: integer
  4048. todaybuyamount:
  4049. description: 今日采购额(今采购额)
  4050. type: number
  4051. todaybuyaverageprice:
  4052. description: 今日采购均价
  4053. type: number
  4054. todaybuyqty:
  4055. description: 今日采购量(今采购量)
  4056. type: number
  4057. todayinqty:
  4058. description: 今日入库量(今入库量)
  4059. type: number
  4060. todayoutqty:
  4061. description: 今日出库量(今出库量)
  4062. type: number
  4063. todaysellamount:
  4064. description: 今日销售额(今销售额)
  4065. type: number
  4066. todaysellaverageprice:
  4067. description: 今日销售均价
  4068. type: number
  4069. todaysellqty:
  4070. description: 今日销售量(今销售量)
  4071. type: number
  4072. unitid:
  4073. description: 品类单位id
  4074. type: integer
  4075. unitidname:
  4076. description: 品类单位名称
  4077. type: string
  4078. updatetime:
  4079. description: 更新时间
  4080. type: string
  4081. wrfactortypeid:
  4082. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4083. type: integer
  4084. wrstandardcode:
  4085. description: 品类代码
  4086. type: string
  4087. wrstandardid:
  4088. description: 现货品类ID
  4089. type: integer
  4090. wrstandardname:
  4091. description: 品类名称
  4092. type: string
  4093. type: object
  4094. models.Ermcp3AreaStock:
  4095. properties:
  4096. brandname:
  4097. description: 品牌名称
  4098. type: string
  4099. curstock:
  4100. description: 期末库存量(今日量)
  4101. type: number
  4102. deliverygoodscode:
  4103. description: 现货品种代码
  4104. type: string
  4105. deliverygoodsid:
  4106. description: 现货品种id
  4107. type: integer
  4108. deliverygoodsname:
  4109. description: 现货品种名称
  4110. type: string
  4111. enumdicname:
  4112. description: 单位名称
  4113. type: string
  4114. goodsunitid:
  4115. description: 现货商品单位id
  4116. type: integer
  4117. oristock:
  4118. description: 期初库存量(昨日量)
  4119. type: number
  4120. spotgoodsbrandid:
  4121. description: 现货品牌ID
  4122. type: integer
  4123. todaybuyinqty:
  4124. description: 今日采购入库量
  4125. type: number
  4126. todayproduceinqty:
  4127. description: 今日生产入库量
  4128. type: number
  4129. todayproduceoutqty:
  4130. description: 今日生产出库量
  4131. type: number
  4132. todayselloutqty:
  4133. description: 今日销售出库量
  4134. type: number
  4135. unitid:
  4136. description: 单位id
  4137. type: integer
  4138. updatetime:
  4139. description: 更新时间
  4140. type: string
  4141. userid:
  4142. description: 机构ID
  4143. type: integer
  4144. username:
  4145. description: 机构名称
  4146. type: string
  4147. warehousecode:
  4148. description: 仓库代码
  4149. type: string
  4150. warehouseinfoid:
  4151. description: 仓库ID
  4152. type: string
  4153. warehousename:
  4154. description: 仓库名称
  4155. type: string
  4156. warehousetype:
  4157. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4158. type: integer
  4159. wrstandardcode:
  4160. description: 品类代码
  4161. type: string
  4162. wrstandardid:
  4163. description: 品类ID
  4164. type: string
  4165. wrstandardname:
  4166. description: 品类名称
  4167. type: string
  4168. required:
  4169. - userid
  4170. type: object
  4171. models.Ermcp3AreaStockApply:
  4172. properties:
  4173. applyid:
  4174. description: 申请人
  4175. type: integer
  4176. applyname:
  4177. description: 申请人名称
  4178. type: string
  4179. applyremark:
  4180. description: 申请备注
  4181. type: string
  4182. applysrc:
  4183. description: 申请来源 - 1:管理端 2:终端
  4184. type: integer
  4185. applystatus:
  4186. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4187. type: integer
  4188. applytime:
  4189. description: 申请时间
  4190. type: string
  4191. auditid:
  4192. description: 审核人
  4193. type: integer
  4194. auditname:
  4195. description: 审核人名称
  4196. type: string
  4197. auditremark:
  4198. description: 审核备注
  4199. type: string
  4200. auditsrc:
  4201. description: 审核来源 - 1:管理端 2:终端
  4202. type: integer
  4203. audittime:
  4204. description: 审核时间
  4205. type: string
  4206. audittradedate:
  4207. description: 审核交易日(yyyyMMdd)
  4208. type: string
  4209. brandname:
  4210. description: 品牌名称
  4211. type: string
  4212. buynickname:
  4213. description: 采购方昵称
  4214. type: string
  4215. buyuserid:
  4216. description: 采购方userid
  4217. type: integer
  4218. buyusername:
  4219. description: 采购方名称
  4220. type: string
  4221. contractno:
  4222. description: 合同编号
  4223. type: string
  4224. contractqty:
  4225. description: 合同量
  4226. type: number
  4227. contracttype:
  4228. description: 现货合同类型 - 1:采购 -1:销售
  4229. type: integer
  4230. deliverygoodscode:
  4231. description: 现货品种代码
  4232. type: string
  4233. deliverygoodsid:
  4234. description: 现货品种id
  4235. type: integer
  4236. deliverygoodsname:
  4237. description: 现货品种名称
  4238. type: string
  4239. detailjson:
  4240. description: 明细数据
  4241. type: string
  4242. enumdicname:
  4243. description: 现货商品单位名称
  4244. type: string
  4245. inoutapplyid:
  4246. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4247. type: string
  4248. inouttype:
  4249. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4250. type: integer
  4251. pricetype:
  4252. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4253. type: integer
  4254. qty:
  4255. description: 数量
  4256. type: number
  4257. sellnickname:
  4258. description: 销售方昵称
  4259. type: string
  4260. selluserid:
  4261. description: 销售方userid
  4262. type: integer
  4263. sellusername:
  4264. description: 销售方名称
  4265. type: string
  4266. spotcontractid:
  4267. description: 关联现货合同ID
  4268. type: string
  4269. spotgoodsbrandid:
  4270. description: 现货品牌ID
  4271. type: integer
  4272. unitid:
  4273. description: 单位id
  4274. type: integer
  4275. userid:
  4276. description: 机构ID
  4277. type: integer
  4278. warehousecode:
  4279. description: 仓库代码
  4280. type: string
  4281. warehouseinfoid:
  4282. description: 现货仓库ID
  4283. type: string
  4284. warehousename:
  4285. description: 仓库名称
  4286. type: string
  4287. warehousetype:
  4288. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4289. type: integer
  4290. wrstandardcode:
  4291. description: 品类代码
  4292. type: string
  4293. wrstandardid:
  4294. description: 品类ID
  4295. type: integer
  4296. wrstandardname:
  4297. description: 品类名称
  4298. type: string
  4299. type: object
  4300. models.Ermcp3AreaStockApplySum:
  4301. properties:
  4302. brandname:
  4303. description: 品牌名称
  4304. type: string
  4305. inouttype:
  4306. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4307. type: integer
  4308. spotcontractid:
  4309. description: 关联现货合同ID
  4310. type: string
  4311. spotgoodsbrandid:
  4312. description: 品牌id
  4313. type: integer
  4314. totalqty:
  4315. description: 总数量
  4316. type: number
  4317. wrstandardid:
  4318. description: 品类id
  4319. type: integer
  4320. wrstandardname:
  4321. description: 品类名称
  4322. type: string
  4323. type: object
  4324. models.Ermcp3AreaStockReportEx:
  4325. properties:
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. brandname:
  4330. description: 品牌名称
  4331. type: string
  4332. curstock:
  4333. description: 期末库存量
  4334. type: number
  4335. cycletime:
  4336. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4337. type: string
  4338. cycletype:
  4339. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4340. type: integer
  4341. deliverygoodscode:
  4342. description: 现货品种代码
  4343. type: string
  4344. deliverygoodsid:
  4345. description: 现货品种id
  4346. type: integer
  4347. deliverygoodsname:
  4348. description: 现货品种名称
  4349. type: string
  4350. diffqty:
  4351. description: 库存变化量 = 期末 - 期初
  4352. type: number
  4353. enddate:
  4354. description: 结束交易日
  4355. type: string
  4356. enumdicname:
  4357. description: 单位名称
  4358. type: string
  4359. goodsunitid:
  4360. description: 现货单位id
  4361. type: integer
  4362. oristock:
  4363. description: 期初库存量
  4364. type: number
  4365. reckondate:
  4366. description: 日照时期(yyyyMMdd)
  4367. type: string
  4368. spotgoodsbrandid:
  4369. description: 现货品牌ID
  4370. type: integer
  4371. todaybuyinqty:
  4372. description: 今采购入库量
  4373. type: number
  4374. todayproduceinqty:
  4375. description: 今内部入库量
  4376. type: number
  4377. todayproduceoutqty:
  4378. description: 今内部出库量
  4379. type: number
  4380. todayselloutqty:
  4381. description: 今销售出库量
  4382. type: number
  4383. unbuyinqty:
  4384. description: 采购未入库量(数据库未找到相关字段?)
  4385. type: number
  4386. unitid:
  4387. description: 品类单位id
  4388. type: integer
  4389. unselloutqty:
  4390. description: 销售未出库量(数据库未找到相关字段?)
  4391. type: number
  4392. updatetime:
  4393. description: 更新时间
  4394. type: string
  4395. userid:
  4396. description: 机构ID
  4397. type: integer
  4398. username:
  4399. description: 机构名称
  4400. type: string
  4401. warehousecode:
  4402. description: 仓库代码
  4403. type: string
  4404. warehouseinfoid:
  4405. description: 仓库ID
  4406. type: string
  4407. warehousename:
  4408. description: 仓库名称
  4409. type: string
  4410. warehousetype:
  4411. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4412. type: integer
  4413. wrstandardcode:
  4414. description: 品类代码
  4415. type: string
  4416. wrstandardid:
  4417. description: 品类ID
  4418. type: integer
  4419. wrstandardname:
  4420. description: 品类名称
  4421. type: string
  4422. type: object
  4423. models.Ermcp3ArealSumPL:
  4424. properties:
  4425. accountname:
  4426. description: 机构名称
  4427. type: string
  4428. areauserid:
  4429. description: 所属机构\交易用户ID
  4430. type: integer
  4431. begindate:
  4432. description: 开始交易日
  4433. type: string
  4434. currencyid:
  4435. description: 结算币种ID
  4436. type: integer
  4437. currencyname:
  4438. description: 币种名称
  4439. type: string
  4440. cycletime:
  4441. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4442. type: string
  4443. cycletype:
  4444. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4445. type: integer
  4446. enddate:
  4447. description: 结束交易日
  4448. type: string
  4449. enumdicname:
  4450. description: 单位名称(套保品种)
  4451. type: string
  4452. futureactualpl:
  4453. description: 期货损益
  4454. type: number
  4455. futurefloatpl:
  4456. description: 期货浮动损益
  4457. type: number
  4458. goodsunitid:
  4459. description: 套保品种单位id
  4460. type: integer
  4461. middlegoodscode:
  4462. description: 套保品种代码
  4463. type: string
  4464. middlegoodsid:
  4465. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4466. type: integer
  4467. middlegoodsname:
  4468. description: 套保品种名称
  4469. type: string
  4470. reckondate:
  4471. description: 日照时期(yyyyMMdd)
  4472. type: string
  4473. spotactualpl:
  4474. description: 现货损益
  4475. type: number
  4476. spotfloatpl:
  4477. description: 现货浮动损益
  4478. type: number
  4479. sumactualpl:
  4480. description: 实际损益 = (ActualPL + FutureActualPL)
  4481. type: number
  4482. sumpl:
  4483. description: 汇总损益
  4484. type: number
  4485. updatetime:
  4486. description: 更新时间
  4487. type: string
  4488. type: object
  4489. models.Ermcp3Brand:
  4490. properties:
  4491. areauserid:
  4492. description: 用户id
  4493. type: integer
  4494. brandid:
  4495. description: 品牌id
  4496. type: integer
  4497. brandname:
  4498. description: 品牌名称
  4499. type: string
  4500. deliverygoodsid:
  4501. description: 品种ID
  4502. type: integer
  4503. type: object
  4504. models.Ermcp3Contract:
  4505. properties:
  4506. accountid:
  4507. description: 期货账户id
  4508. type: string
  4509. amount:
  4510. description: 金额 [1:一口价、3:暂定价]
  4511. type: number
  4512. attachment:
  4513. description: 附件
  4514. type: string
  4515. auditremark:
  4516. description: 审核意见
  4517. type: string
  4518. audittime:
  4519. description: 审核时间
  4520. type: string
  4521. biztype:
  4522. description: 业务类型 1-套保 2-套利
  4523. type: integer
  4524. brandname:
  4525. description: 品牌名称
  4526. type: string
  4527. buynickname:
  4528. description: 销售方昵称
  4529. type: string
  4530. buyuserid:
  4531. description: 采购方ID
  4532. type: integer
  4533. buyusername:
  4534. description: 采购方名称
  4535. type: string
  4536. contracctstatus:
  4537. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4538. type: integer
  4539. contractmargin:
  4540. description: 合同保证金
  4541. type: number
  4542. contractno:
  4543. description: 现货合同编号
  4544. type: string
  4545. contracttype:
  4546. description: 现货合同类型 - 1:采购 -1:销售
  4547. type: integer
  4548. convertfactor:
  4549. description: 标仓系数(品类)
  4550. type: number
  4551. createtime:
  4552. description: 创建时间
  4553. type: string
  4554. currencyid:
  4555. description: 币种id
  4556. type: integer
  4557. currencyname:
  4558. description: 币种名称
  4559. type: string
  4560. deliveryenddate:
  4561. description: 交收期(结束)
  4562. type: string
  4563. deliverygoodscode:
  4564. description: 现货品种代码
  4565. type: string
  4566. deliverygoodsid:
  4567. description: 现货品种ID
  4568. type: integer
  4569. deliverygoodsname:
  4570. description: 现货品种名称
  4571. type: string
  4572. deliverystartdate:
  4573. description: 交收期(开始)
  4574. type: string
  4575. enddate:
  4576. description: 点价结束日期 [2:点价 3:暂定价]
  4577. type: string
  4578. enumdicname:
  4579. description: 单位名称
  4580. type: string
  4581. goodscode:
  4582. description: 点价合约代码
  4583. type: string
  4584. goodsid:
  4585. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4586. type: integer
  4587. goodsname:
  4588. description: 点价商品名称
  4589. type: string
  4590. margin:
  4591. description: 当前保证金
  4592. type: number
  4593. meruserid:
  4594. description: 跟单员id
  4595. type: integer
  4596. meruserlogincode:
  4597. description: 跟单员登录代码
  4598. type: string
  4599. merusername:
  4600. description: 跟单员名称
  4601. type: string
  4602. price:
  4603. description: 价格\暂定价 [1:一口价、3:暂定价]
  4604. type: number
  4605. pricemove:
  4606. description: 升贴水 [2:点价 3:暂定价]
  4607. type: number
  4608. pricetype:
  4609. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4610. type: integer
  4611. producttype:
  4612. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4613. type: integer
  4614. qty:
  4615. description: 数量
  4616. type: number
  4617. remark:
  4618. description: 备注
  4619. type: string
  4620. saleuserid:
  4621. description: 业务员id
  4622. type: integer
  4623. saleuserlogincode:
  4624. description: 业务员登录代码
  4625. type: string
  4626. saleusername:
  4627. description: 业务员名称
  4628. type: string
  4629. sellnickname:
  4630. description: 采购方昵称
  4631. type: string
  4632. selluserid:
  4633. description: 销售方ID
  4634. type: integer
  4635. sellusername:
  4636. description: 销售方名称
  4637. type: string
  4638. spotcontractid:
  4639. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4640. type: string
  4641. spotgoodsbrandid:
  4642. description: 现货品牌ID(DGFactoryItem表的ID)
  4643. type: integer
  4644. spotgoodsdesc:
  4645. description: 商品型号
  4646. type: string
  4647. startdate:
  4648. description: 点价开始日期 [2:点价 3:暂定价]
  4649. type: string
  4650. subjectid:
  4651. description: 交易主体ID
  4652. type: string
  4653. subjectname:
  4654. description: 交易主体名称
  4655. type: string
  4656. tradeuserid:
  4657. description: 交易员id
  4658. type: integer
  4659. tradeuserlogincode:
  4660. description: 交易员登录代码
  4661. type: string
  4662. tradeusername:
  4663. description: 交易员名称
  4664. type: string
  4665. unitid:
  4666. description: 单位id(取品类上的单位id)
  4667. type: integer
  4668. updatetime:
  4669. description: 更新时间
  4670. type: string
  4671. userid:
  4672. description: 所属机构ID
  4673. type: integer
  4674. vatrate:
  4675. description: 增值税率
  4676. type: number
  4677. wrstandardcode:
  4678. description: 品类代码
  4679. type: string
  4680. wrstandardid:
  4681. description: 品类ID
  4682. type: integer
  4683. wrstandardname:
  4684. description: 品类名称
  4685. type: string
  4686. type: object
  4687. models.Ermcp3ExposureContractDetail:
  4688. properties:
  4689. biztype:
  4690. description: 业务类型 1-套保 2-套利
  4691. type: integer
  4692. brandname:
  4693. description: 品牌名称
  4694. type: string
  4695. buyuserid:
  4696. description: 采购方id
  4697. type: integer
  4698. buyusername:
  4699. description: 采购方名称
  4700. type: string
  4701. contractno:
  4702. description: 合同编号
  4703. type: string
  4704. contracttype:
  4705. description: 现货合同类型 - 1:采购 -1:销售
  4706. type: integer
  4707. convertfactor:
  4708. description: 标仓系数
  4709. type: number
  4710. convertratio:
  4711. description: 折算系数(套保品种)
  4712. type: number
  4713. curqty:
  4714. description: 今定价量
  4715. type: number
  4716. deliverygoodscode:
  4717. description: 现货商品代码
  4718. type: string
  4719. deliverygoodsid:
  4720. description: 现货商品id
  4721. type: integer
  4722. deliverygoodsname:
  4723. description: 现货商品名称
  4724. type: string
  4725. diffhedgeqty:
  4726. description: 套保变动量
  4727. type: number
  4728. diffneedhedgeqty:
  4729. description: 应套保变动量
  4730. type: number
  4731. diffqty:
  4732. description: 套保品种今变动量
  4733. type: number
  4734. enumdicname:
  4735. description: 单位名称
  4736. type: string
  4737. mgunitname:
  4738. description: 套保品种单位名称
  4739. type: string
  4740. middlegoodscode:
  4741. description: 套保品种代码
  4742. type: string
  4743. middlegoodsid:
  4744. description: 套保品种id
  4745. type: integer
  4746. middlegoodsname:
  4747. description: 套保品种名称
  4748. type: string
  4749. needarbitrageratio:
  4750. description: 应套利比例
  4751. type: number
  4752. needhedgeratio:
  4753. description: 应套保比例
  4754. type: number
  4755. pricedqty:
  4756. description: 已定价量
  4757. type: number
  4758. qty:
  4759. description: 合同量
  4760. type: number
  4761. selluserid:
  4762. description: 销售方id
  4763. type: integer
  4764. sellusername:
  4765. description: 销售方名称
  4766. type: string
  4767. spotcontractid:
  4768. description: 合同id
  4769. type: string
  4770. todaypricedqty:
  4771. description: 今定价量
  4772. type: number
  4773. tradedate:
  4774. description: 交易日
  4775. type: string
  4776. unitid:
  4777. description: 品类单位id
  4778. type: integer
  4779. userid:
  4780. description: 机构id
  4781. type: integer
  4782. username:
  4783. description: 交易用户
  4784. type: string
  4785. wrstandardcode:
  4786. description: 品类代码
  4787. type: string
  4788. wrstandardid:
  4789. description: 品类id
  4790. type: integer
  4791. wrstandardname:
  4792. description: 品类名称
  4793. type: string
  4794. type: object
  4795. models.Ermcp3ExposureDetail:
  4796. properties:
  4797. areauserid:
  4798. description: 机构ID
  4799. type: integer
  4800. changeQty:
  4801. description: 套保变动量
  4802. type: number
  4803. contracttype:
  4804. description: 现货合同类型 - 1:采购 -1:销售
  4805. type: integer
  4806. convertfactor:
  4807. description: 标仓系数
  4808. type: number
  4809. convertratio:
  4810. description: 套保系数
  4811. type: number
  4812. createtime:
  4813. description: 时间
  4814. type: string
  4815. enumdicname:
  4816. description: 现货商品单位名称
  4817. type: string
  4818. logtype:
  4819. description: 类型 - 1:套保计划 2:现货合同
  4820. type: integer
  4821. mgunitid:
  4822. description: 套保品种单位id
  4823. type: integer
  4824. mgunitidname:
  4825. description: 套保品种单位名称
  4826. type: string
  4827. middlegoodsId:
  4828. description: 套保商品id
  4829. type: integer
  4830. middlegoodscode:
  4831. description: 套保商品代码
  4832. type: string
  4833. middlegoodsname:
  4834. description: 套保商品名称
  4835. type: string
  4836. qty:
  4837. description: 数量
  4838. type: number
  4839. relateNo:
  4840. description: 现货合同/套保计划编号
  4841. type: string
  4842. unitid:
  4843. description: 现货商品单位id
  4844. type: integer
  4845. wrstandardcode:
  4846. description: 现货商品代码
  4847. type: string
  4848. wrstandardid:
  4849. description: 现货商品ID(SEQ_WRSTANDARD)
  4850. type: integer
  4851. wrstandardname:
  4852. description: 现货商品名称
  4853. type: string
  4854. type: object
  4855. models.Ermcp3ExposureFutuDetail:
  4856. properties:
  4857. accountid:
  4858. description: 交易账户id
  4859. type: integer
  4860. accountname:
  4861. description: 交易账户
  4862. type: string
  4863. begindate:
  4864. description: 开始交易日
  4865. type: string
  4866. buyorsell:
  4867. description: 方向 0-买 1-卖
  4868. type: integer
  4869. diffmgqty:
  4870. description: 套保品种今变化量
  4871. type: number
  4872. diffneedqty:
  4873. description: 应套保总量变化量
  4874. type: number
  4875. difftradeqty:
  4876. description: 交易品种今变化量
  4877. type: number
  4878. enddate:
  4879. description: 结束交易日
  4880. type: string
  4881. enumdicname:
  4882. description: 单位名称
  4883. type: string
  4884. goodscode:
  4885. description: 商品代码
  4886. type: string
  4887. goodsid:
  4888. description: 商品id
  4889. type: integer
  4890. goodsname:
  4891. description: 商品名称
  4892. type: string
  4893. holdqty:
  4894. description: 期末持仓量
  4895. type: number
  4896. middlegoodscode:
  4897. description: 套保商品代码
  4898. type: string
  4899. middlegoodsid:
  4900. description: 套保商品id
  4901. type: integer
  4902. middlegoodsname:
  4903. description: 套保商品名称
  4904. type: string
  4905. oriholdqty:
  4906. description: 期初持仓量
  4907. type: number
  4908. todaycloseqty:
  4909. description: 今平仓量
  4910. type: number
  4911. todayopenqty:
  4912. description: 今开仓量
  4913. type: number
  4914. tradedate:
  4915. description: 交易日
  4916. type: string
  4917. type: object
  4918. models.Ermcp3ExposureHedgeplanDetail:
  4919. properties:
  4920. biztype:
  4921. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4922. type: integer
  4923. changqty:
  4924. description: 应套保总量变化量
  4925. type: number
  4926. contracttype:
  4927. description: 计划类型 - 1:采购 -1:销售
  4928. type: integer
  4929. convertratio:
  4930. description: 折算系数(套保品种)
  4931. type: number
  4932. deliverygoodscode:
  4933. description: 现货商品代码
  4934. type: string
  4935. deliverygoodsid:
  4936. description: 现货商品id
  4937. type: integer
  4938. deliverygoodsname:
  4939. description: 现货商吕名称
  4940. type: string
  4941. dgunitid:
  4942. description: 现货商品单位id
  4943. type: integer
  4944. dgunitidname:
  4945. description: 单位名称(现货商品)
  4946. type: string
  4947. diffqty:
  4948. description: 套保品种今变动量
  4949. type: number
  4950. enumdicname:
  4951. description: 单位名称(品类)
  4952. type: string
  4953. hedgeplanid:
  4954. description: 套保计划id
  4955. type: string
  4956. hedgeplanno:
  4957. description: 套保计划名称
  4958. type: string
  4959. hedgeplanstatus:
  4960. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4961. type: integer
  4962. mgunitidname:
  4963. description: 单位名称(套保商品)
  4964. type: string
  4965. middlegoodscode:
  4966. description: 套保品种代码
  4967. type: string
  4968. middlegoodsid:
  4969. description: 套保品种id
  4970. type: integer
  4971. middlegoodsname:
  4972. description: 套保品种名称
  4973. type: string
  4974. needarbitrageratio:
  4975. description: 应套利比例
  4976. type: number
  4977. needhedgeratio:
  4978. description: 应套保比例
  4979. type: number
  4980. pricedqty:
  4981. description: 已定价量
  4982. type: number
  4983. qty:
  4984. description: 合同量
  4985. type: number
  4986. tradedate:
  4987. description: 交易日(登记日)
  4988. type: string
  4989. unitid:
  4990. description: 品类单位id
  4991. type: integer
  4992. userid:
  4993. description: 机构id
  4994. type: integer
  4995. wrstandardcode:
  4996. description: 品类代码
  4997. type: string
  4998. wrstandardid:
  4999. description: 品类id
  5000. type: integer
  5001. wrstandardname:
  5002. description: 品类名称
  5003. type: string
  5004. type: object
  5005. models.Ermcp3ExposureParamChLog:
  5006. properties:
  5007. accountid:
  5008. description: 期货账户ID (作废, 默认为0)
  5009. type: integer
  5010. aftervalue:
  5011. description: 应套保\套利量变更后(调整后应套保总量)
  5012. type: number
  5013. areauserid:
  5014. description: 所属机构\交易用户ID
  5015. type: integer
  5016. beforevalue:
  5017. description: 应套保\套利量变更前(调整前应套保总量)
  5018. type: number
  5019. begindate:
  5020. description: 开始交易日
  5021. type: string
  5022. changelogtype:
  5023. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5024. type: integer
  5025. curvalue:
  5026. description: 当前套保\套利量(套保总量|套利总量)
  5027. type: number
  5028. diffvalue:
  5029. description: 应套保总量变化量
  5030. type: number
  5031. enddate:
  5032. description: 结束交易日
  5033. type: string
  5034. logdatetime:
  5035. description: 流水日期
  5036. type: string
  5037. logid:
  5038. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5039. type: string
  5040. middlegoodscode:
  5041. description: 套保品种代码
  5042. type: string
  5043. middlegoodsid:
  5044. description: 套保品种
  5045. type: integer
  5046. middlegoodsname:
  5047. description: 套保品种名称
  5048. type: string
  5049. paramaftervalue:
  5050. description: 参数变更后(调整后参数值)
  5051. type: number
  5052. parambeforevalue:
  5053. description: 参数变更前(调整前参数值)
  5054. type: number
  5055. tradedate:
  5056. description: 交易日(yyyyMMdd)
  5057. type: string
  5058. type: object
  5059. models.Ermcp3ExpourseReport:
  5060. properties:
  5061. accountid:
  5062. description: 期货账户ID (作废, 默认为0)
  5063. type: integer
  5064. accountname:
  5065. description: 机构名称
  5066. type: string
  5067. arbitrageqty:
  5068. description: 套利量
  5069. type: number
  5070. areauserid:
  5071. description: 所属机构\交易用户ID
  5072. type: integer
  5073. begindate:
  5074. description: 开始交易日
  5075. type: string
  5076. buyfutureqty:
  5077. description: 买入期货数量
  5078. type: number
  5079. buyplanqty:
  5080. description: 采购计划数量
  5081. type: number
  5082. buypricedqty:
  5083. description: 采购合同已定价数量
  5084. type: number
  5085. cycletime:
  5086. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5087. type: string
  5088. cycletype:
  5089. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5090. type: integer
  5091. diffexposure:
  5092. description: 变动量(套保敞口)
  5093. type: number
  5094. difffutuqty:
  5095. description: 变动量(期货)
  5096. type: number
  5097. diffhedgeqty:
  5098. description: 变动量(现货应套保总量)
  5099. type: number
  5100. diffmgqtya:
  5101. description: 套保变动量
  5102. type: number
  5103. diffmgqtyb:
  5104. description: 套利变动量
  5105. type: number
  5106. diffqty:
  5107. description: 变动量(总敞口)
  5108. type: number
  5109. diffspotqty:
  5110. description: 变动量(现货)
  5111. type: number
  5112. enddate:
  5113. description: 结束交易日
  5114. type: string
  5115. enumdicname:
  5116. description: 单位名称
  5117. type: string
  5118. hedgeqty:
  5119. description: 套保量
  5120. type: number
  5121. mgneedhedgeratio:
  5122. description: 套保比例(套保品的)
  5123. type: number
  5124. middlegoodsid:
  5125. description: 套保品种ID
  5126. type: integer
  5127. middlegoodsname:
  5128. description: 套保商品名称
  5129. type: string
  5130. middlgoodscode:
  5131. description: 套保商品代码
  5132. type: string
  5133. needarbitrageqty:
  5134. description: 应套利量
  5135. type: number
  5136. needarbitrageratio:
  5137. description: 套利比例(套保品的)
  5138. type: number
  5139. needhedgeexposoure:
  5140. description: 应套保敞口(套保敞口)
  5141. type: number
  5142. needhedgeqty:
  5143. description: 应套保量
  5144. type: number
  5145. needhedgeratio:
  5146. description: 应套保敞口比例
  5147. type: number
  5148. oriarbitrageqty:
  5149. description: 期初套利量
  5150. type: number
  5151. oribuyfutureqty:
  5152. description: 期初买入期货数量
  5153. type: number
  5154. oribuyplanqty:
  5155. description: 期初采购计划数量
  5156. type: number
  5157. oribuypricedqty:
  5158. description: 期初采购合同已定价数量
  5159. type: number
  5160. orihedgeqty:
  5161. description: 期初套保量
  5162. type: number
  5163. orineedarbitrageqty:
  5164. description: 期初应套利量
  5165. type: number
  5166. orineedhedgeexposoure:
  5167. description: 期初应套保敞口
  5168. type: number
  5169. orineedhedgeqty:
  5170. description: 期初应套保量
  5171. type: number
  5172. orisellfutureqty:
  5173. description: 期初卖出期货数量
  5174. type: number
  5175. orisellplanqty:
  5176. description: 期初销售计划数量
  5177. type: number
  5178. orisellpricedqty:
  5179. description: 期初销售合同已定价数量
  5180. type: number
  5181. oritotalexposure:
  5182. description: 期初实时总敞口
  5183. type: number
  5184. oritotalfutureqty:
  5185. description: 期初期货头寸总量
  5186. type: number
  5187. oritotalneedhedgeqty:
  5188. description: 期初应套保总量
  5189. type: number
  5190. oritotalspotqty:
  5191. description: 期初现货头寸总量
  5192. type: number
  5193. reckondate:
  5194. description: 日照时期(yyyyMMdd)
  5195. type: string
  5196. sellfutureqty:
  5197. description: 卖出期货数量
  5198. type: number
  5199. sellplanqty:
  5200. description: 销售计划数量
  5201. type: number
  5202. sellpricedqty:
  5203. description: 销售合同已定价数量
  5204. type: number
  5205. totalexposure:
  5206. description: 实时总敞口(总敞口)
  5207. type: number
  5208. totalfutureqty:
  5209. description: 期货头寸总量(期货总量)
  5210. type: number
  5211. totalhedgeratio:
  5212. description: 敞口比例
  5213. type: number
  5214. totalneedhedgeqty:
  5215. description: 应套保总量(现货应套保总量)
  5216. type: number
  5217. totalspotqty:
  5218. description: 现货头寸总量
  5219. type: number
  5220. unitid:
  5221. description: 单位id
  5222. type: integer
  5223. updatetime:
  5224. description: 更新时间
  5225. type: string
  5226. type: object
  5227. models.Ermcp3FinanceReport:
  5228. properties:
  5229. accountname:
  5230. description: 机构名称
  5231. type: string
  5232. areauserid:
  5233. description: 所属机构\交易用户ID
  5234. type: integer
  5235. begindate:
  5236. description: 开始交易日
  5237. type: string
  5238. biztype:
  5239. description: 业务类型 - 1:套保 2:套利
  5240. type: integer
  5241. brandname:
  5242. description: 品牌名称
  5243. type: string
  5244. buypreinvoicedamount:
  5245. description: 采购预收票额(预收票额)
  5246. type: number
  5247. buyprepaidamount:
  5248. description: 采购预付款额(预付货款额)
  5249. type: number
  5250. buytodayinvoiceamount:
  5251. description: 采购今收票额(今收票额)
  5252. type: number
  5253. buytodayrefundamount:
  5254. description: 采购今收退款额(今收退款额)
  5255. type: number
  5256. buytodaysettleamount:
  5257. description: 采购今付款额(今付货款额)
  5258. type: number
  5259. buyuninvoicedamount:
  5260. description: 采购应收票额(应收票额)
  5261. type: number
  5262. buyunpaidamount:
  5263. description: 采购应付款额(应付货款额)
  5264. type: number
  5265. currencyid:
  5266. description: 结算币种ID
  5267. type: integer
  5268. currencyname:
  5269. description: 币种名称
  5270. type: string
  5271. cycletime:
  5272. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5273. type: string
  5274. cycletype:
  5275. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5276. type: integer
  5277. deliverygoodscode:
  5278. description: 现货品种代码
  5279. type: string
  5280. deliverygoodsid:
  5281. description: 现货品种ID
  5282. type: integer
  5283. deliverygoodsname:
  5284. description: 现货品种名称
  5285. type: string
  5286. enddate:
  5287. description: 结束交易日
  5288. type: string
  5289. reckondate:
  5290. description: 日照时期(yyyyMMdd)
  5291. type: string
  5292. sellpreinvoicedamount:
  5293. description: 销售预开票额(预开票额)
  5294. type: number
  5295. sellprepaidamount:
  5296. description: 销售预收款额(预收货款额)
  5297. type: number
  5298. selltodayinvoiceamount:
  5299. description: 销售今开票额(今开票额)
  5300. type: number
  5301. selltodayrefundamount:
  5302. description: 销售今付退款额(今付退款额)
  5303. type: number
  5304. selltodaysettleamount:
  5305. description: 销售今收款额(今收货款额)
  5306. type: number
  5307. selluninvoicedamount:
  5308. description: 销售应开票额(应开票额)
  5309. type: number
  5310. sellunpaidamount:
  5311. description: 销售应收款额(应收货款额)
  5312. type: number
  5313. spotgoodsbrandid:
  5314. description: 现货品牌ID
  5315. type: integer
  5316. todaypaysum:
  5317. description: 今付款合计
  5318. type: number
  5319. todayreceivesum:
  5320. description: 今收款合计
  5321. type: number
  5322. updatetime:
  5323. description: 更新时间
  5324. type: string
  5325. wrfactortypeid:
  5326. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5327. type: integer
  5328. wrstandardcode:
  5329. description: 品类代码
  5330. type: string
  5331. wrstandardid:
  5332. description: 现货商品ID
  5333. type: integer
  5334. wrstandardname:
  5335. description: 品类名称
  5336. type: string
  5337. type: object
  5338. models.Ermcp3GoodsGroup:
  5339. properties:
  5340. agreeunit:
  5341. description: 合约单位
  5342. type: number
  5343. areauserid:
  5344. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5345. type: integer
  5346. canshort:
  5347. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5348. type: integer
  5349. closepricemode:
  5350. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5351. type: integer
  5352. createtime:
  5353. description: 创建时间
  5354. type: string
  5355. creatorid:
  5356. description: 创建人
  5357. type: integer
  5358. currencyid:
  5359. description: 报价货币ID
  5360. type: integer
  5361. decimalplace:
  5362. description: 报价小数位
  5363. type: integer
  5364. enumdicname:
  5365. description: 单位名称
  5366. type: string
  5367. exchangefullname:
  5368. description: 交易所全称
  5369. type: string
  5370. excludecfg:
  5371. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5372. type: integer
  5373. exexchangecode:
  5374. description: 交易所代码
  5375. type: string
  5376. exexchangeid:
  5377. description: 外部交易所ID[通道交易]
  5378. type: integer
  5379. exexchangename:
  5380. description: 交易所名称
  5381. type: string
  5382. goodsgroupid:
  5383. description: 商品组ID(自增ID)
  5384. type: integer
  5385. goodsgroupname:
  5386. description: 商品组名称
  5387. type: string
  5388. goodsgroupstatus:
  5389. description: 商品组状态 - 1:正常 2:注销
  5390. type: integer
  5391. goodunitid:
  5392. description: 报价单位ID
  5393. type: integer
  5394. groupcategroyid:
  5395. description: 品种分类ID
  5396. type: integer
  5397. innerdealmode:
  5398. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5399. type: integer
  5400. marketid:
  5401. description: 所属市场ID
  5402. type: integer
  5403. modifierid:
  5404. description: 修改人
  5405. type: integer
  5406. modifytime:
  5407. description: 修改时间
  5408. type: string
  5409. outerdealmode:
  5410. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5411. type: integer
  5412. outergroupcode:
  5413. description: 外部商品组代码[通道交易]
  5414. type: string
  5415. quoteminunit:
  5416. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5417. type: integer
  5418. quotesourcegroupid:
  5419. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5420. type: integer
  5421. syncgoodsqty:
  5422. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5423. type: integer
  5424. required:
  5425. - areauserid
  5426. type: object
  5427. models.Ermcp3HedgePlan:
  5428. properties:
  5429. accountid:
  5430. description: 资金账号
  5431. type: integer
  5432. areauserid:
  5433. description: 用户ID
  5434. type: integer
  5435. auditid:
  5436. description: 审核id
  5437. type: integer
  5438. auditname:
  5439. description: 审核人名称
  5440. type: string
  5441. auditremark:
  5442. description: 审核备注
  5443. type: string
  5444. auditsrc:
  5445. description: 审核来源 1-管理端 2-终端
  5446. type: integer
  5447. audittime:
  5448. description: 审核时间
  5449. type: string
  5450. contracttype:
  5451. description: 计划类型 - 1:采购 -1:销售
  5452. type: integer
  5453. convertfactor:
  5454. description: 标仓系数
  5455. type: number
  5456. createtime:
  5457. description: 创建时间
  5458. type: string
  5459. currencyid:
  5460. description: 币种id
  5461. type: integer
  5462. currencyname:
  5463. description: 币种名称
  5464. type: string
  5465. deliverygoodscode:
  5466. description: 现货品种代码
  5467. type: string
  5468. deliverygoodsid:
  5469. description: 现货品种ID
  5470. type: integer
  5471. deliverygoodsname:
  5472. description: 现货品种名称
  5473. type: string
  5474. enumdicname:
  5475. description: 单位名称(现货商品)
  5476. type: string
  5477. hedgeplanid:
  5478. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5479. type: string
  5480. hedgeplanno:
  5481. description: 套保计划编号(名称)
  5482. type: string
  5483. hedgeplanstatus:
  5484. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5485. type: integer
  5486. planqty:
  5487. description: 计划数量
  5488. type: number
  5489. plantime:
  5490. description: 计划时间
  5491. type: string
  5492. producttype:
  5493. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5494. type: integer
  5495. remark:
  5496. description: 备注
  5497. type: string
  5498. spotgoodsdesc:
  5499. description: 商品型号
  5500. type: string
  5501. taaccountname:
  5502. description: 资金账号名称
  5503. type: string
  5504. tradeuserid:
  5505. description: 交易用户id
  5506. type: integer
  5507. tradeusername:
  5508. description: 交易用户名称
  5509. type: string
  5510. unitid:
  5511. description: 单位id(现货商品)
  5512. type: integer
  5513. updatetime:
  5514. description: 更新时间
  5515. type: string
  5516. vatrate:
  5517. description: 增值税率
  5518. type: number
  5519. wrstandardcode:
  5520. description: 品类代码
  5521. type: string
  5522. wrstandardid:
  5523. description: 品类id
  5524. type: integer
  5525. wrstandardname:
  5526. description: 品类名称
  5527. type: string
  5528. wrunitid:
  5529. description: 品类单位id
  5530. type: integer
  5531. wrunitidame:
  5532. description: 品类单位名称
  5533. type: string
  5534. type: object
  5535. models.Ermcp3PaAreaAuditCfg:
  5536. properties:
  5537. areauserid:
  5538. description: 用户ID
  5539. type: integer
  5540. buyinauditflag:
  5541. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5542. type: integer
  5543. customerauditflag:
  5544. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5545. type: integer
  5546. deliveryauditflag:
  5547. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5548. type: integer
  5549. invoiceauditflag:
  5550. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5551. type: integer
  5552. moneyauditflag:
  5553. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5554. type: integer
  5555. operatorid:
  5556. description: 操作人
  5557. type: integer
  5558. operatorsrc:
  5559. description: 操作来源 - 1:管理端 2:终端
  5560. type: integer
  5561. pointpriceauditflag:
  5562. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5563. type: integer
  5564. produceinauditflag:
  5565. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5566. type: integer
  5567. produceoutauditflag:
  5568. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5569. type: integer
  5570. selloutauditflag:
  5571. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5572. type: integer
  5573. spotcontractauditflag:
  5574. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5575. type: integer
  5576. updatetime:
  5577. description: 更新时间
  5578. type: string
  5579. type: object
  5580. models.Ermcp3PaAreaSubject:
  5581. properties:
  5582. areauserid:
  5583. description: 所属机构
  5584. type: integer
  5585. canmodify:
  5586. description: 是否可修改 - 0:否 1:是
  5587. type: integer
  5588. createtime:
  5589. description: 创建时间
  5590. type: string
  5591. creatorid:
  5592. description: 创建人ID
  5593. type: string
  5594. creatorsrc:
  5595. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5596. type: integer
  5597. modifierid:
  5598. description: 修改人
  5599. type: string
  5600. modifiersrc:
  5601. description: 修改人来源 - 1:管理端 2:终端
  5602. type: integer
  5603. modifytime:
  5604. description: 修改时间
  5605. type: string
  5606. parentsubjectid:
  5607. description: 上级主体ID
  5608. type: string
  5609. remark:
  5610. description: 备注
  5611. type: string
  5612. subjectid:
  5613. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5614. type: integer
  5615. subjectname:
  5616. description: 主体名称
  5617. type: string
  5618. subjectstatus:
  5619. description: '主体状态 - 1:正常 2: 停用'
  5620. type: integer
  5621. subjecttype:
  5622. description: 主体类型 - 1:交易主体 2:业务部门
  5623. type: integer
  5624. type: object
  5625. models.Ermcp3RootUserAccount:
  5626. properties:
  5627. accountname:
  5628. description: 账户名称(机构名称)
  5629. type: string
  5630. accountstatus:
  5631. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5632. type: integer
  5633. applysrc:
  5634. description: 申请来源 - 1:管理端 2:终端
  5635. type: integer
  5636. auditremark:
  5637. description: 审核备注
  5638. type: string
  5639. auditsrc:
  5640. description: 审核来源 - 1:管理端 2:终端
  5641. type: integer
  5642. audittime:
  5643. description: 审核时间
  5644. type: string
  5645. audituserid:
  5646. description: 审核人
  5647. type: integer
  5648. broker:
  5649. description: 所属经纪人ID
  5650. type: integer
  5651. canceltime:
  5652. description: 销户时间
  5653. type: string
  5654. canceluserid:
  5655. description: 销户人
  5656. type: integer
  5657. canrecommend:
  5658. description: 是否可推荐 - 0:不可 1;可
  5659. type: integer
  5660. createtime:
  5661. description: 创建时间
  5662. type: string
  5663. creatorid:
  5664. description: 创建人
  5665. type: integer
  5666. hasauth:
  5667. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  5668. type: integer
  5669. isanonymous:
  5670. description: 是否匿名下单 - 0:否 1:是
  5671. type: integer
  5672. maxinvestornum:
  5673. description: 最大用户数(经纪会员下投资者个数)
  5674. type: integer
  5675. memberuserid:
  5676. description: 所属会员ID
  5677. type: integer
  5678. modifierid:
  5679. description: 修改人
  5680. type: integer
  5681. modifyremark:
  5682. description: 变更备注
  5683. type: string
  5684. modifystatus:
  5685. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  5686. type: integer
  5687. modifytime:
  5688. description: 修改时间
  5689. type: string
  5690. parenttopuser:
  5691. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  5692. type: string
  5693. parentuserid:
  5694. description: 所属机构ID
  5695. type: integer
  5696. reckonaccountid:
  5697. description: 默认结算资金账号ID(机构分润使用) 作废
  5698. type: integer
  5699. refercount:
  5700. description: 推荐总人数
  5701. type: integer
  5702. refereeuserid:
  5703. description: 推荐人ID
  5704. type: integer
  5705. refernum:
  5706. description: 推荐码
  5707. type: string
  5708. rootuserid:
  5709. description: 根用户ID
  5710. type: integer
  5711. subaccountlevel:
  5712. description: 子账户层数
  5713. type: integer
  5714. subarealevelpath:
  5715. description: 子机构层级路径(逗号分隔,首尾加逗号)
  5716. type: string
  5717. userid:
  5718. description: 用户ID
  5719. type: integer
  5720. usertype:
  5721. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5722. type: integer
  5723. type: object
  5724. models.Ermcp3SellBuyContract:
  5725. properties:
  5726. accountid:
  5727. description: 期货账户id
  5728. type: string
  5729. accountname:
  5730. description: 账户名称
  5731. type: string
  5732. attachment:
  5733. description: 附件
  5734. type: string
  5735. audittime:
  5736. description: 审核时间
  5737. type: string
  5738. biztype:
  5739. description: 业务类型 1-套保 2-套利
  5740. type: integer
  5741. brandname:
  5742. description: 品牌名称
  5743. type: string
  5744. contracctstatus:
  5745. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5746. type: integer
  5747. contractmargin:
  5748. description: 合同保证金
  5749. type: number
  5750. contractno:
  5751. description: 合同编号
  5752. type: string
  5753. contracttype:
  5754. description: 合同类型 1-采购, -1-销售
  5755. type: integer
  5756. convertfactor:
  5757. description: 标仓系数(品类)
  5758. type: number
  5759. createtime:
  5760. description: 创建时间
  5761. type: string
  5762. currencyid:
  5763. description: 币种id
  5764. type: integer
  5765. currencyname:
  5766. description: 币种名称
  5767. type: string
  5768. daikaiamount:
  5769. description: 应收(开)票额
  5770. type: number
  5771. deliveryenddate:
  5772. description: 交割结束日
  5773. type: string
  5774. deliverygoodscode:
  5775. description: 现货品种代码
  5776. type: string
  5777. deliverygoodsid:
  5778. description: 现货商品ID
  5779. type: integer
  5780. deliverygoodsname:
  5781. description: 现货品种名称
  5782. type: string
  5783. deliverystartdate:
  5784. description: 交割开始日
  5785. type: string
  5786. enddate:
  5787. description: 点价结束日
  5788. type: string
  5789. enumdicname:
  5790. description: 单位名称
  5791. type: string
  5792. goodscode:
  5793. description: 点价商品代码
  5794. type: string
  5795. goodsid:
  5796. description: 点价商品ID
  5797. type: integer
  5798. goodsname:
  5799. description: 点价商品名称
  5800. type: string
  5801. invoiceamount:
  5802. description: 已开票额
  5803. type: number
  5804. loanamount:
  5805. description: 贷款总额=已定价额+调整金额
  5806. type: number
  5807. margin:
  5808. description: 保证金
  5809. type: number
  5810. meruserid:
  5811. description: 跟单员id
  5812. type: integer
  5813. meruserlogincode:
  5814. description: 跟单员登录代码
  5815. type: string
  5816. merusername:
  5817. description: 跟单员名称
  5818. type: string
  5819. nickname:
  5820. description: 账户昵称
  5821. type: string
  5822. payamount:
  5823. description: 已收付额(收款或付款)
  5824. type: number
  5825. preinvoiceamount:
  5826. description: 预收(开)票额
  5827. type: number
  5828. prepayamount:
  5829. description: 预收付额
  5830. type: number
  5831. price:
  5832. description: 价格
  5833. type: number
  5834. pricedamount:
  5835. description: 已定价额
  5836. type: number
  5837. pricedavg:
  5838. description: 已点均价
  5839. type: number
  5840. pricedqty:
  5841. description: 已定价量
  5842. type: number
  5843. pricemove:
  5844. description: 升贴水
  5845. type: number
  5846. pricetype:
  5847. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5848. type: integer
  5849. producttype:
  5850. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5851. type: integer
  5852. qty:
  5853. description: 合同量
  5854. type: number
  5855. reckonadjustamount:
  5856. description: 调整金额
  5857. type: number
  5858. reckonedamount:
  5859. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5860. type: number
  5861. reckonotheramount:
  5862. description: 其它费用
  5863. type: number
  5864. reckonrealqty:
  5865. description: 已确定量
  5866. type: number
  5867. remark:
  5868. description: 备注
  5869. type: string
  5870. saleuserid:
  5871. description: 业务员id
  5872. type: integer
  5873. saleuserlogincode:
  5874. description: 业务员登录代码
  5875. type: string
  5876. saleusername:
  5877. description: 业务员名称
  5878. type: string
  5879. spotcontractid:
  5880. description: 合同ID
  5881. type: string
  5882. spotgoodsbrandid:
  5883. description: 现货品牌ID(DGFactoryItem表的ID)
  5884. type: integer
  5885. spotgoodsdesc:
  5886. description: 商品型号(商品规格)
  5887. type: string
  5888. startdate:
  5889. description: 点价开始日
  5890. type: string
  5891. subjectid:
  5892. description: 交易主体ID
  5893. type: string
  5894. subjectname:
  5895. description: 交易主体名称
  5896. type: string
  5897. totalamount:
  5898. description: 合计总额
  5899. type: number
  5900. tradeuserid:
  5901. description: 交易员id
  5902. type: integer
  5903. tradeuserlogincode:
  5904. description: 交易员登录代码
  5905. type: string
  5906. tradeusername:
  5907. description: 交易员名称
  5908. type: string
  5909. unpayamount:
  5910. description: 应收付款额(应支付或应收款)
  5911. type: number
  5912. unpricedqty:
  5913. description: 未定价量
  5914. type: number
  5915. unsureqty:
  5916. description: 未确定量
  5917. type: number
  5918. userid:
  5919. description: 机构ID
  5920. type: integer
  5921. vatrate:
  5922. description: 增值税率
  5923. type: number
  5924. wrstandardcode:
  5925. description: 品类代码
  5926. type: string
  5927. wrstandardid:
  5928. description: 品类ID
  5929. type: integer
  5930. wrstandardname:
  5931. description: 品类名称
  5932. type: string
  5933. type: object
  5934. models.Ermcp3SpotGoodsPrice:
  5935. properties:
  5936. areauserid:
  5937. description: 所属机构id
  5938. type: integer
  5939. brandname:
  5940. description: 品牌名称
  5941. type: string
  5942. currencyid:
  5943. description: 报价货币ID
  5944. type: integer
  5945. currencyname:
  5946. description: 币种名称
  5947. type: string
  5948. deliverygoodscode:
  5949. description: 现货商品代码
  5950. type: string
  5951. deliverygoodsid:
  5952. description: 现货商品id
  5953. type: integer
  5954. deliverygoodsname:
  5955. description: 现货商品名称
  5956. type: string
  5957. enumdicname:
  5958. description: 现货商品单位名称
  5959. type: string
  5960. gbenumdicname:
  5961. description: 品类单位名称
  5962. type: string
  5963. gmunitid:
  5964. description: 品类单位id
  5965. type: integer
  5966. isvalid:
  5967. description: 是否有效 - 0:无效 1:有效
  5968. type: integer
  5969. operateid:
  5970. description: 最后操作人
  5971. type: integer
  5972. operatesrc:
  5973. description: 最后操作来源 - 1:管理端 2:终端
  5974. type: integer
  5975. operatetime:
  5976. description: 最后操作时间
  5977. type: string
  5978. operatorname:
  5979. description: 操作人名称
  5980. type: string
  5981. spotgoodsbrandid:
  5982. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5983. type: integer
  5984. spotgoodsprice:
  5985. description: 现货价格
  5986. type: number
  5987. tradedate:
  5988. description: 交易日(yyyyMMdd)
  5989. type: string
  5990. unitid:
  5991. description: 现货商品单位id
  5992. type: integer
  5993. wrstandardcode:
  5994. description: 品类代码
  5995. type: string
  5996. wrstandardid:
  5997. description: 现货品类ID(通用则为0)
  5998. type: integer
  5999. wrstandardname:
  6000. description: 品类名称
  6001. type: string
  6002. type: object
  6003. models.Ermcp3SpotGoodsPriceLog:
  6004. properties:
  6005. areauserid:
  6006. description: 所属机构id
  6007. type: integer
  6008. brandname:
  6009. description: 品牌名称
  6010. type: string
  6011. currencyid:
  6012. description: 报价货币ID
  6013. type: integer
  6014. deliverygoodscode:
  6015. description: 现货商品代码
  6016. type: string
  6017. deliverygoodsid:
  6018. description: 现货商品id
  6019. type: integer
  6020. deliverygoodsname:
  6021. description: 现货商品名称
  6022. type: string
  6023. enumdicname:
  6024. description: 现货商品单位名称
  6025. type: string
  6026. gbenumdicname:
  6027. description: 品类单位名称
  6028. type: string
  6029. gmunitid:
  6030. description: 品类单位id
  6031. type: integer
  6032. logid:
  6033. description: 日志id
  6034. type: integer
  6035. operateid:
  6036. description: 最后操作人
  6037. type: integer
  6038. operatesrc:
  6039. description: 最后操作来源 - 1:管理端 2:终端
  6040. type: integer
  6041. operatetime:
  6042. description: 最后操作时间
  6043. type: string
  6044. operatorname:
  6045. description: 操作人名称
  6046. type: string
  6047. spotgoodsbrandid:
  6048. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6049. type: integer
  6050. spotgoodsprice:
  6051. description: 现货价格
  6052. type: number
  6053. tradedate:
  6054. description: 交易日(yyyyMMdd)
  6055. type: string
  6056. unitid:
  6057. description: 现货商品单位id
  6058. type: integer
  6059. wrstandardcode:
  6060. description: 品类代码
  6061. type: string
  6062. wrstandardid:
  6063. description: 现货品类ID(通用则为0)
  6064. type: integer
  6065. wrstandardname:
  6066. description: 品类名称
  6067. type: string
  6068. type: object
  6069. models.Ermcp3TaFutuReDataReport:
  6070. properties:
  6071. accountid:
  6072. description: 交易账户
  6073. type: integer
  6074. accountname:
  6075. description: 交易账号名称
  6076. type: string
  6077. agreeunit:
  6078. description: 商品合约单位
  6079. type: number
  6080. begindate:
  6081. description: 开始交易日
  6082. type: string
  6083. buyorsell:
  6084. description: 持仓方向
  6085. type: integer
  6086. charge:
  6087. description: 手续费
  6088. type: number
  6089. closeavgprice:
  6090. description: 平仓均价
  6091. type: number
  6092. closepl:
  6093. description: 平仓损益
  6094. type: number
  6095. currencyid:
  6096. description: 结算币种ID
  6097. type: integer
  6098. currencyname:
  6099. description: 币种名称
  6100. type: string
  6101. cycletime:
  6102. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6103. type: string
  6104. cycletype:
  6105. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6106. type: integer
  6107. enddate:
  6108. description: 结束交易日
  6109. type: string
  6110. enumdicname:
  6111. description: 单位名称
  6112. type: string
  6113. floatpl:
  6114. description: 浮动损益
  6115. type: number
  6116. goodscode:
  6117. description: 交易合约代码
  6118. type: string
  6119. goodsgroupid:
  6120. description: 交易品种
  6121. type: integer
  6122. goodsgroupname:
  6123. description: 交易品种名称
  6124. type: string
  6125. goodsgroupspotqty:
  6126. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6127. type: number
  6128. goodsid:
  6129. description: 交易合约
  6130. type: integer
  6131. goodsname:
  6132. description: 交易合约名称
  6133. type: string
  6134. goodunitid:
  6135. description: 交易合约单位id
  6136. type: integer
  6137. holdamount:
  6138. description: 期末持仓额
  6139. type: number
  6140. holdqty:
  6141. description: 期末持仓量
  6142. type: number
  6143. lastholdamount:
  6144. description: 当前持仓额
  6145. type: number
  6146. lastprice:
  6147. description: 最新价
  6148. type: number
  6149. middlegoodsid:
  6150. description: 套保品种id
  6151. type: integer
  6152. middlegoodsname:
  6153. description: 套保商品名称
  6154. type: string
  6155. middlegoodsqty:
  6156. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6157. type: number
  6158. middlgoodscode:
  6159. description: 套保商品代码
  6160. type: string
  6161. openamount:
  6162. description: 期末开仓额
  6163. type: number
  6164. openavgprice:
  6165. description: 开仓均价
  6166. type: number
  6167. oriholdamount:
  6168. description: 期初持仓额
  6169. type: number
  6170. oriholdqty:
  6171. description: 期初持仓量
  6172. type: number
  6173. oriopenamount:
  6174. description: 期初开仓额
  6175. type: number
  6176. outergroupcode:
  6177. description: 交易品种代码
  6178. type: string
  6179. qtydecimalplace:
  6180. description: 成交量小数位
  6181. type: integer
  6182. reckondate:
  6183. description: 日照时期(yyyyMMdd)
  6184. type: string
  6185. reckonholdamount:
  6186. description: 结算持仓额
  6187. type: number
  6188. reckonpl:
  6189. description: 结算损益
  6190. type: number
  6191. reckonpl2:
  6192. description: 结算逐笔盈亏
  6193. type: number
  6194. reckonprice:
  6195. description: 结算价
  6196. type: number
  6197. relateduserid:
  6198. description: 账户关联用户ID
  6199. type: integer
  6200. todaycloseamount:
  6201. description: 今平仓额
  6202. type: number
  6203. todaycloseqty:
  6204. description: 今平仓量
  6205. type: number
  6206. todaygoodsgroupspotqty:
  6207. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6208. type: number
  6209. todaymiddlegoodsqty:
  6210. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6211. type: number
  6212. todayopenamount:
  6213. description: 今开仓额
  6214. type: number
  6215. todayopenqty:
  6216. description: 今开仓量
  6217. type: number
  6218. userid:
  6219. description: 账户所属用户ID
  6220. type: integer
  6221. type: object
  6222. models.Ermcp3Wrstandard:
  6223. properties:
  6224. areauserid:
  6225. description: 所属机构
  6226. type: integer
  6227. cantrade:
  6228. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6229. type: integer
  6230. convertfactor:
  6231. description: 标仓系数
  6232. type: number
  6233. createtime:
  6234. description: 创建时间
  6235. type: string
  6236. creatorid:
  6237. description: 创建人
  6238. type: integer
  6239. deliverygoodsid:
  6240. description: 现货品种ID
  6241. type: integer
  6242. enumdicname:
  6243. description: 品类单位名称
  6244. type: string
  6245. isvalid:
  6246. description: 是否有效 0-无效(停用) 1-有效(正常)
  6247. type: integer
  6248. minivalue:
  6249. description: 最小变动值
  6250. type: integer
  6251. minivaluedp:
  6252. description: 最小变动值小数位
  6253. type: integer
  6254. realminivalue:
  6255. description: 实际最小变动值
  6256. type: integer
  6257. realminivaluedp:
  6258. description: 实际最小变动值小数位
  6259. type: integer
  6260. remark:
  6261. description: 备注
  6262. type: string
  6263. unitid:
  6264. description: 品类单位ID
  6265. type: integer
  6266. updatetime:
  6267. description: 更新时间
  6268. type: string
  6269. wrstandardcode:
  6270. description: 品类代码
  6271. type: string
  6272. wrstandardid:
  6273. description: 品类ID(SEQ_WRSTANDARD)
  6274. type: integer
  6275. wrstandardname:
  6276. description: 品类名称
  6277. type: string
  6278. type: object
  6279. models.ErmcpBizGroupEx:
  6280. properties:
  6281. acclist:
  6282. description: 账号列表
  6283. items:
  6284. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6285. type: array
  6286. bizgroupid:
  6287. description: 业务分组id
  6288. type: integer
  6289. biztype:
  6290. description: 业务类型 1-套保 2-套利
  6291. type: integer
  6292. wrlist:
  6293. description: 现货商品表
  6294. items:
  6295. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  6296. type: array
  6297. type: object
  6298. models.ErmcpBizGroupSpotGoods:
  6299. properties:
  6300. areauserid:
  6301. description: 所属机构id
  6302. type: integer
  6303. bizgroupid:
  6304. description: 分组id
  6305. type: integer
  6306. biztype:
  6307. description: 业务类型 1-套保 2-套利
  6308. type: integer
  6309. deliverygoodscode:
  6310. description: 现货商品代码
  6311. type: string
  6312. deliverygoodsid:
  6313. description: 现货商品id
  6314. type: integer
  6315. deliverygoodsname:
  6316. description: 现货商品名称
  6317. type: string
  6318. unitid:
  6319. description: 现货商品单位id
  6320. type: integer
  6321. type: object
  6322. models.ErmcpBizGroupTaAccount:
  6323. properties:
  6324. accountid:
  6325. description: 账号id
  6326. type: integer
  6327. accountname:
  6328. description: 账号名称
  6329. type: string
  6330. areauserid:
  6331. description: 所属机构id
  6332. type: integer
  6333. bizgroupid:
  6334. description: 业务分组id
  6335. type: integer
  6336. ismain:
  6337. description: 是否主账号 1-是 0-否
  6338. type: integer
  6339. type: object
  6340. models.ErmcpDGFactoryItem:
  6341. properties:
  6342. areauserid:
  6343. description: 用户id
  6344. type: integer
  6345. deliverygoodsid:
  6346. description: 现货品种ID
  6347. type: integer
  6348. dgfactoryitemid:
  6349. description: 选择项ID(SEQ_DGFACTORYITEM)
  6350. type: integer
  6351. dgfactoryitemtypeid:
  6352. description: 要素项类型
  6353. type: integer
  6354. dgfactoryitemvalue:
  6355. description: 要素项值(类型为仓库时填写仓库名称)
  6356. type: string
  6357. isvalid:
  6358. description: 是否有效 - 0:无效 1:有效
  6359. type: integer
  6360. orderindex:
  6361. description: 顺序
  6362. type: integer
  6363. warehouseid:
  6364. description: 仓库ID(类型为仓库时填写)
  6365. type: integer
  6366. type: object
  6367. models.ErmcpDeliveryGoods:
  6368. properties:
  6369. agreeunit:
  6370. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  6371. type: integer
  6372. areauserid:
  6373. description: 所属机构
  6374. type: integer
  6375. auditflag:
  6376. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  6377. type: integer
  6378. categoryid:
  6379. description: 类别ID(SEQ_WRCATEGORY)
  6380. type: integer
  6381. deliverygoodscode:
  6382. description: 现货品种代码
  6383. type: string
  6384. deliverygoodsid:
  6385. description: 现货品种ID(SEQ_DELIVERYGOODS)
  6386. type: integer
  6387. deliverygoodsname:
  6388. description: 现货品种名称
  6389. type: string
  6390. deliverygoodstype:
  6391. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  6392. type: integer
  6393. dgstatus:
  6394. description: 品种状态 - 作废 - 0:未激活 1:正常
  6395. type: integer
  6396. enumdicname:
  6397. description: 现货品种单位名称
  6398. type: string
  6399. goodsunitid:
  6400. description: 现货品种单位ID
  6401. type: integer
  6402. isvalid:
  6403. description: 是否有效 - 0:无效 1:有效
  6404. type: integer
  6405. qtydecimalplace:
  6406. description: 成交量小数位
  6407. type: integer
  6408. remark:
  6409. description: 备注
  6410. type: string
  6411. standardqty:
  6412. description: 标准数量(库位数量) [标准品特有]
  6413. type: integer
  6414. standardqtyrange:
  6415. description: 标准数量偏差范围 [标准品特有]
  6416. type: integer
  6417. type: object
  6418. models.ErmcpFuturesCompany:
  6419. properties:
  6420. brokerid:
  6421. description: 经纪公司代码
  6422. type: string
  6423. channeladdress:
  6424. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  6425. type: string
  6426. channelid:
  6427. description: 对冲渠道ID
  6428. type: string
  6429. createtime:
  6430. description: 创建时间
  6431. type: string
  6432. creatorid:
  6433. description: 创建人
  6434. type: string
  6435. fcid:
  6436. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  6437. type: integer
  6438. fcname:
  6439. description: 期货公司名称
  6440. type: string
  6441. isvalid:
  6442. description: 是否有效 - 0:无效 1:有效
  6443. type: integer
  6444. mhpaddress:
  6445. description: MHP服务地址(IP:Port)
  6446. type: string
  6447. riskrulegroupid:
  6448. description: 风控规则组ID
  6449. type: string
  6450. tradefeetmpid:
  6451. description: 手续费模板ID[TradeConfigTmpType为2]
  6452. type: string
  6453. trademargintmpid:
  6454. description: 保证金模板ID [TradeConfigTmpType为1]
  6455. type: string
  6456. traderatetmpid:
  6457. description: 汇率模板ID[TradeConfigTmpType为3]
  6458. type: string
  6459. updatetime:
  6460. description: 更新时间
  6461. type: string
  6462. updatorid:
  6463. description: 更新人
  6464. type: string
  6465. type: object
  6466. models.ErmcpGGConvertCfg:
  6467. properties:
  6468. convertratio:
  6469. description: 折算系数
  6470. type: number
  6471. destgoodsgroupid:
  6472. description: 目标品种ID
  6473. type: integer
  6474. dstcode:
  6475. description: 目录品种代码
  6476. type: string
  6477. dstexchangecode:
  6478. description: 目标期货交易所
  6479. type: string
  6480. dstname:
  6481. description: 目标品种名称
  6482. type: string
  6483. dstunitid:
  6484. description: 目标品种单位ID
  6485. type: integer
  6486. dstunitidname:
  6487. description: 目标品种单位名称
  6488. type: string
  6489. modifytime:
  6490. description: 修改时间
  6491. type: string
  6492. srccode:
  6493. description: 源品种代码
  6494. type: string
  6495. srcexchangecode:
  6496. description: 源期货交易所
  6497. type: string
  6498. srcgoodsgroupid:
  6499. description: 源品种ID
  6500. type: integer
  6501. srcname:
  6502. description: 源品种名称
  6503. type: string
  6504. srcunitid:
  6505. description: 源品种单位ID
  6506. type: integer
  6507. srcunitidname:
  6508. description: 源品种单位名称
  6509. type: string
  6510. type: object
  6511. models.ErmcpGoods:
  6512. properties:
  6513. agreeunit:
  6514. description: 合约单位
  6515. type: number
  6516. areauserid:
  6517. description: 所属机构
  6518. type: integer
  6519. auditaccountid:
  6520. description: 审核操作员账号
  6521. type: integer
  6522. audittime:
  6523. description: 审核时间
  6524. type: string
  6525. cancelaccountid:
  6526. description: 注销操作员账号
  6527. type: integer
  6528. canceltime:
  6529. description: 注销时间
  6530. type: string
  6531. closepricemode:
  6532. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6533. type: integer
  6534. closepriceparam:
  6535. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6536. type: number
  6537. createtime:
  6538. description: 创建时间
  6539. type: string
  6540. creatorid:
  6541. description: 创建人
  6542. type: integer
  6543. currencyid:
  6544. description: 报价货币ID
  6545. type: integer
  6546. cutmode:
  6547. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6548. type: integer
  6549. decimalplace:
  6550. description: 报价小数位
  6551. type: integer
  6552. delistingdate:
  6553. description: 商品退市时间(状态:退市) -- 已作废
  6554. type: string
  6555. delistingmode:
  6556. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6557. type: integer
  6558. deliveryflag:
  6559. description: 交割标志 - 0:不可交割 1:可交割
  6560. type: integer
  6561. enumdicname:
  6562. description: 单位名称
  6563. type: string
  6564. forceclosemode:
  6565. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6566. type: integer
  6567. forceclosevalue:
  6568. description: 定期强平参数 [收益权]
  6569. type: integer
  6570. goodscode:
  6571. description: 商品代码(内部)
  6572. type: string
  6573. goodscurrencyid:
  6574. description: 合约货币ID
  6575. type: integer
  6576. goodsgroupid:
  6577. description: 所属商品组ID
  6578. type: integer
  6579. goodsid:
  6580. description: 商品ID(自增ID SEQ_GOODS)
  6581. type: integer
  6582. goodsname:
  6583. description: 商品名称
  6584. type: string
  6585. goodsquotetype:
  6586. description: '合约报价类型: 1-直接报价 2-间接报价'
  6587. type: integer
  6588. goodsstatus:
  6589. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6590. type: integer
  6591. goodstradetype:
  6592. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6593. type: integer
  6594. goodunitid:
  6595. description: 报价单位ID
  6596. type: integer
  6597. hasquoter:
  6598. description: 是否有报价商 - 0:无报价商 1:有报价商
  6599. type: integer
  6600. hqprotecttime:
  6601. description: 行情保护时间(秒)
  6602. type: integer
  6603. innerdealmode:
  6604. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6605. type: integer
  6606. isbuylimited:
  6607. description: 是否限制建仓量 - 0:不限制 1:限制
  6608. type: integer
  6609. isvisible:
  6610. description: 游客是否可见 - 0:不可见 1:可见
  6611. type: integer
  6612. lasttradedate:
  6613. description: 最后交易日期(状态:待退市)
  6614. type: string
  6615. listingdate:
  6616. description: 交易开始日期
  6617. type: string
  6618. marketid:
  6619. description: 所属市场ID
  6620. type: integer
  6621. modifierid:
  6622. description: 修改人
  6623. type: integer
  6624. modifystatus:
  6625. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6626. type: integer
  6627. modifytime:
  6628. description: 修改时间
  6629. type: string
  6630. outerdealmode:
  6631. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6632. type: integer
  6633. outgoodscode:
  6634. description: 商品代码(外部)
  6635. type: string
  6636. pictureurl:
  6637. description: 商品图片
  6638. type: string
  6639. qtydecimalplace:
  6640. description: 成交量小数位
  6641. type: integer
  6642. quotegear:
  6643. description: 行情档位(1-10)
  6644. type: integer
  6645. quoteminunit:
  6646. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6647. type: integer
  6648. quoteshowtype:
  6649. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6650. type: integer
  6651. quoteshowtypeinterval:
  6652. description: 行情报价间隔时间(秒)(成交价时为0)
  6653. type: integer
  6654. relatedgoodsid:
  6655. description: 关联参考商品ID
  6656. type: integer
  6657. remark:
  6658. description: 备注
  6659. type: string
  6660. trademode:
  6661. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  6662. type: integer
  6663. required:
  6664. - goodscode
  6665. - goodsid
  6666. - goodsname
  6667. - marketid
  6668. type: object
  6669. models.ErmcpGoodsBrand:
  6670. properties:
  6671. areauserid:
  6672. description: 所属机构
  6673. type: integer
  6674. brandid:
  6675. description: BrandID(SEQ_SPOTGOODSBRAND)
  6676. type: integer
  6677. brandname:
  6678. description: 品牌名称
  6679. type: string
  6680. createtime:
  6681. description: 创建时间
  6682. type: string
  6683. creatorid:
  6684. description: 创建人
  6685. type: integer
  6686. creatorsrc:
  6687. description: 创建人来源 - 1:管理端 2:终端
  6688. type: integer
  6689. deliverygoodsid:
  6690. description: 现货品种ID
  6691. type: integer
  6692. isvalid:
  6693. description: 是否有效 - 0:无效 1:有效
  6694. type: integer
  6695. updatetime:
  6696. description: 更新时间
  6697. type: string
  6698. updatorid:
  6699. description: 更新人
  6700. type: integer
  6701. updatorsrc:
  6702. description: 更新人来源 - 1:管理端 2:终端
  6703. type: integer
  6704. wrstandardid:
  6705. description: 现货商品ID
  6706. type: integer
  6707. type: object
  6708. models.ErmcpGoodsModel:
  6709. properties:
  6710. areauserid:
  6711. description: 所属机构
  6712. type: integer
  6713. convertfactor:
  6714. description: 标仓系数
  6715. type: number
  6716. createtime:
  6717. description: 创建时间
  6718. type: string
  6719. creatorid:
  6720. description: 创建人
  6721. type: integer
  6722. creatorsrc:
  6723. description: 创建人来源 - 1:管理端 2:终端
  6724. type: integer
  6725. deliverygoodsid:
  6726. description: 现货品种ID
  6727. type: integer
  6728. isvalid:
  6729. description: 是否有效 - 0:无效 1:有效
  6730. type: integer
  6731. modelid:
  6732. description: ModelID(SEQ_SPOTGOODSMODEL)
  6733. type: integer
  6734. modelname:
  6735. description: 型号名称
  6736. type: string
  6737. updatetime:
  6738. description: 更新时间
  6739. type: string
  6740. updatorid:
  6741. description: 更新人
  6742. type: integer
  6743. updatorsrc:
  6744. description: 更新人来源 - 1:管理端 2:终端
  6745. type: integer
  6746. wrstandardid:
  6747. description: 现货商品ID
  6748. type: integer
  6749. type: object
  6750. models.ErmcpHisExposure:
  6751. properties:
  6752. needhedgeexposoure:
  6753. description: 应套保敞口
  6754. type: number
  6755. reckondate:
  6756. description: 日照时期(yyyyMMdd)
  6757. type: string
  6758. totalexposure:
  6759. description: 总敞口
  6760. type: number
  6761. type: object
  6762. models.ErmcpLoginTaAccount:
  6763. properties:
  6764. accountid:
  6765. description: 账号id
  6766. type: integer
  6767. accountname:
  6768. description: 账号名称
  6769. type: string
  6770. type: object
  6771. models.ErmcpLoginUser:
  6772. properties:
  6773. acclist:
  6774. description: 关联资金账号
  6775. items:
  6776. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6777. type: array
  6778. accountname:
  6779. description: 用户名称
  6780. type: string
  6781. clientroleid:
  6782. description: 角色id(usertype=2)
  6783. type: integer
  6784. createtime:
  6785. description: 创建时间
  6786. type: string
  6787. logincode:
  6788. description: 登录代码
  6789. type: string
  6790. loginid:
  6791. description: 登录id(LOGINID)
  6792. type: integer
  6793. loginname:
  6794. description: 登录名称(loginaccount表中的accountname字段)
  6795. type: string
  6796. loginstatus:
  6797. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6798. type: integer
  6799. memberuserid:
  6800. description: 所属会员id
  6801. type: integer
  6802. mobile:
  6803. description: 手机号
  6804. type: string
  6805. modifytime:
  6806. description: 修改时间
  6807. type: string
  6808. password:
  6809. description: 密码(不可解密)
  6810. type: string
  6811. rolename:
  6812. description: 角色名称
  6813. type: string
  6814. rolestatus:
  6815. description: 角色状态 1-启用 2-停用
  6816. type: integer
  6817. roletype:
  6818. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6819. type: string
  6820. userid:
  6821. description: 用户id
  6822. type: integer
  6823. usertype:
  6824. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6825. type: integer
  6826. type: object
  6827. models.ErmcpLoginUserEx:
  6828. properties:
  6829. accountstatus:
  6830. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6831. type: integer
  6832. mobile:
  6833. description: 手机号
  6834. type: string
  6835. querytype:
  6836. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6837. type: integer
  6838. roleid:
  6839. description: 角色id(交易账户->用户id)
  6840. type: integer
  6841. rolename:
  6842. description: 角色名称(交易账户->用户名称)
  6843. type: string
  6844. userlist:
  6845. description: 用户列表
  6846. items:
  6847. $ref: '#/definitions/models.ErmcpLoginUser'
  6848. type: array
  6849. usertype:
  6850. description: 用户类型 2-机构 7-企业成员(云平台)
  6851. type: integer
  6852. type: object
  6853. models.ErmcpMiddleGoodsModel:
  6854. properties:
  6855. areauserid:
  6856. description: 机构用户ID
  6857. type: integer
  6858. createtime:
  6859. description: 修改时间
  6860. type: string
  6861. enumdicname:
  6862. description: 单位名称
  6863. type: string
  6864. evaluateratio:
  6865. description: 估价系数
  6866. type: number
  6867. goodsgroupid:
  6868. description: 关联期货品种ID
  6869. type: integer
  6870. goodsunitid:
  6871. description: 单位ID
  6872. type: integer
  6873. isvalid:
  6874. description: 状态 0-无效(停用) 1-有效(正常)
  6875. type: integer
  6876. middlegoodscode:
  6877. description: 套保品种代码
  6878. type: string
  6879. middlegoodsid:
  6880. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6881. type: integer
  6882. middlegoodsname:
  6883. description: 套保品种名称
  6884. type: string
  6885. modifytime:
  6886. description: 修改时间
  6887. type: string
  6888. needarbitrageratio:
  6889. description: 套利比例
  6890. type: number
  6891. needhedgeratio:
  6892. description: 套保比率
  6893. type: number
  6894. qtydecimalplace:
  6895. description: 数量小数位
  6896. type: integer
  6897. relatedgoodsid:
  6898. description: 关联交易商品ID
  6899. type: integer
  6900. relatedgoodstype:
  6901. description: 关联商品类型 - 1:期货合约 2:现货品种
  6902. type: integer
  6903. remark:
  6904. description: 备注
  6905. type: string
  6906. type: object
  6907. models.ErmcpMiddlegoodsRelateGoods:
  6908. properties:
  6909. agreeunit:
  6910. description: 合约乘数
  6911. type: number
  6912. convertratio:
  6913. description: 折算系数
  6914. type: number
  6915. enumdicname:
  6916. description: 单位名称(交易商品)
  6917. type: string
  6918. goodscode:
  6919. description: 交易商品代码
  6920. type: string
  6921. goodsgroupid:
  6922. description: 交易品种id
  6923. type: integer
  6924. goodsid:
  6925. description: 商品Id
  6926. type: integer
  6927. goodsname:
  6928. description: 交易商品名称
  6929. type: string
  6930. goodunitid:
  6931. description: 交易商品单位id
  6932. type: integer
  6933. middlegoodsid:
  6934. description: 套保商品id
  6935. type: integer
  6936. middlegoodsname:
  6937. description: 套保商品名称
  6938. type: string
  6939. middlegoodsswcode:
  6940. description: 套保商品代码
  6941. type: string
  6942. needarbitrageratio:
  6943. description: 应套利比例
  6944. type: number
  6945. needhedgeratio:
  6946. description: 应套保比例
  6947. type: number
  6948. type: object
  6949. models.ErmcpRole:
  6950. properties:
  6951. areauserid:
  6952. description: 所属机构
  6953. type: integer
  6954. autoid:
  6955. description: 角色ID(自增ID)
  6956. type: integer
  6957. modifierid:
  6958. description: 修改人(创建人)
  6959. type: integer
  6960. modifiername:
  6961. description: 修改人名称
  6962. type: string
  6963. modifytime:
  6964. description: 修改时间(创建时间)
  6965. type: string
  6966. rolename:
  6967. description: 角色名称
  6968. type: string
  6969. rolestatus:
  6970. description: 角色状态 - 1:启用 2:停用
  6971. type: integer
  6972. roletype:
  6973. description: 角色类型 - 1- 管理端 2- 交易端
  6974. type: integer
  6975. type: object
  6976. models.ErmcpRoleMenu:
  6977. properties:
  6978. iconame:
  6979. description: 菜单图标
  6980. type: string
  6981. ishadrole:
  6982. description: 是否有权限
  6983. type: boolean
  6984. menutype:
  6985. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6986. type: integer
  6987. parentcode:
  6988. description: 上级资源代码
  6989. type: string
  6990. remark:
  6991. description: 菜单备注
  6992. type: string
  6993. resourcecode:
  6994. description: 菜单代码
  6995. type: string
  6996. resourcelevel:
  6997. description: 级别
  6998. type: integer
  6999. resourcename:
  7000. description: 菜单名称
  7001. type: string
  7002. roleid:
  7003. description: 角色id
  7004. type: integer
  7005. sort:
  7006. description: 排序
  7007. type: integer
  7008. url:
  7009. description: URL
  7010. type: string
  7011. userid:
  7012. description: 用户id
  7013. type: integer
  7014. type: object
  7015. models.ErmcpRoleMenuEx:
  7016. properties:
  7017. menu:
  7018. $ref: '#/definitions/models.ErmcpRoleMenu'
  7019. description: 父级菜单
  7020. subMenu:
  7021. description: 子级菜单
  7022. items:
  7023. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7024. type: array
  7025. type: object
  7026. models.ErmcpTaAccount:
  7027. properties:
  7028. accountid:
  7029. description: 账户id
  7030. type: integer
  7031. accountname:
  7032. description: 账户名称
  7033. type: string
  7034. currencyid:
  7035. description: 币种id
  7036. type: integer
  7037. hedgeaccountcode:
  7038. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7039. type: string
  7040. ismain:
  7041. description: 是否主账户 0-否 1-是
  7042. type: integer
  7043. parentaccountid:
  7044. description: 父账户id
  7045. type: integer
  7046. relateduserid:
  7047. description: 关联userid
  7048. type: integer
  7049. tradefeetmpid:
  7050. description: 手续费模板id
  7051. type: integer
  7052. tradefeetmpname:
  7053. description: 手续费模板名称
  7054. type: string
  7055. trademargintmpid:
  7056. description: 保证金模板id
  7057. type: integer
  7058. trademargintmpname:
  7059. description: 保证金模板名称
  7060. type: string
  7061. traderatetmpid:
  7062. description: 汇率模板id
  7063. type: integer
  7064. traderatetmpname:
  7065. description: 汇率模板名称
  7066. type: string
  7067. tradestatus:
  7068. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7069. type: integer
  7070. userid:
  7071. description: 用户id
  7072. type: integer
  7073. type: object
  7074. models.ErmcpTaAccountEx:
  7075. properties:
  7076. mainAcc:
  7077. $ref: '#/definitions/models.ErmcpTaAccountM'
  7078. description: 主账号
  7079. subacclist:
  7080. description: 子账号列表
  7081. items:
  7082. $ref: '#/definitions/models.ErmcpTaAccount'
  7083. type: array
  7084. type: object
  7085. models.ErmcpTaAccountInfo:
  7086. properties:
  7087. accountid:
  7088. description: 资金账户ID
  7089. type: integer
  7090. accountname:
  7091. description: 账户名称
  7092. type: string
  7093. balance:
  7094. description: 期初余额
  7095. type: number
  7096. capitalbalance:
  7097. description: 本金余额[外部子账户实际出入金余额]
  7098. type: number
  7099. closepl:
  7100. description: 今日平仓盈亏
  7101. type: number
  7102. creditdecrease:
  7103. description: 今日授信减少
  7104. type: number
  7105. creditincrease:
  7106. description: 今日授信增加
  7107. type: number
  7108. curdebt:
  7109. description: 期末欠款
  7110. type: number
  7111. currencyid:
  7112. description: 货币ID
  7113. type: integer
  7114. currentbalance:
  7115. description: 期末余额
  7116. type: number
  7117. freezecharge:
  7118. description: 手续费冻结
  7119. type: number
  7120. freezemargin:
  7121. description: 冻结保证金
  7122. type: number
  7123. fromaccountid:
  7124. description: 所属上级账户
  7125. type: integer
  7126. inamount:
  7127. description: 今日入金金额(包括三方入金)
  7128. type: number
  7129. ismain:
  7130. description: 是否母账号 0:不是母账户 1:是母账户
  7131. type: integer
  7132. mortgagecredit:
  7133. description: 授信金额
  7134. type: number
  7135. oridebt:
  7136. description: 期初欠款
  7137. type: number
  7138. orifreezecharge:
  7139. description: 期初手续费冻结
  7140. type: number
  7141. orifreezemargin:
  7142. description: 期初冻结保证金
  7143. type: number
  7144. orimortgagecredit:
  7145. description: 期初授信金额
  7146. type: number
  7147. oriothercredit:
  7148. description: 期初其它授信金额
  7149. type: number
  7150. oriotherfreezemargin:
  7151. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7152. type: number
  7153. orioutamountfreeze:
  7154. description: 期初出金冻结
  7155. type: number
  7156. oriusedmargin:
  7157. description: 期初占用保证金
  7158. type: number
  7159. othercredit:
  7160. description: 其它授信金额
  7161. type: number
  7162. othercreditdecrease:
  7163. description: 今日其它授信减少
  7164. type: number
  7165. othercreditincrease:
  7166. description: 今日其它授信增加
  7167. type: number
  7168. otherfreezemargin:
  7169. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7170. type: number
  7171. outamount:
  7172. description: 今日出金金额(包括三方出金)
  7173. type: number
  7174. outamountfreeze:
  7175. description: 出金冻结
  7176. type: number
  7177. outthreshold:
  7178. description: 出金阈值
  7179. type: number
  7180. parentaccountid:
  7181. description: 所属根账号
  7182. type: integer
  7183. paycharge:
  7184. description: 今日手续费支出
  7185. type: number
  7186. relateduserid:
  7187. description: 关联用户
  7188. type: integer
  7189. signstatus:
  7190. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7191. type: integer
  7192. sublevelpath:
  7193. description: 账号层级路径(逗号分隔,首尾加逗号)
  7194. type: string
  7195. taaccounttype:
  7196. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7197. type: integer
  7198. thirdinamount:
  7199. description: 今日三方入金
  7200. type: number
  7201. thirdoutamount:
  7202. description: 今日三方出金
  7203. type: number
  7204. tradestatus:
  7205. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7206. type: integer
  7207. transferamount:
  7208. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7209. type: number
  7210. usedmargin:
  7211. description: 占用保证金
  7212. type: number
  7213. userid:
  7214. description: 用户ID
  7215. type: integer
  7216. type: object
  7217. models.ErmcpTaAccountM:
  7218. properties:
  7219. accountid:
  7220. description: 账户id
  7221. type: integer
  7222. accountname:
  7223. description: 账户名称
  7224. type: string
  7225. currencyid:
  7226. description: 币种id
  7227. type: integer
  7228. fcid:
  7229. description: 期货公司id
  7230. type: integer
  7231. fcname:
  7232. description: 期货公司代码
  7233. type: string
  7234. hedgeaccountcode:
  7235. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7236. type: string
  7237. ismain:
  7238. description: 是否主账户 0-否 1-是
  7239. type: integer
  7240. parentaccountid:
  7241. description: 父账户id
  7242. type: integer
  7243. relateduserid:
  7244. description: 关联userid
  7245. type: integer
  7246. tradefeetmpid:
  7247. description: 手续费模板id
  7248. type: integer
  7249. tradefeetmpname:
  7250. description: 手续费模板名称
  7251. type: string
  7252. trademargintmpid:
  7253. description: 保证金模板id
  7254. type: integer
  7255. trademargintmpname:
  7256. description: 保证金模板名称
  7257. type: string
  7258. traderatetmpid:
  7259. description: 汇率模板id
  7260. type: integer
  7261. traderatetmpname:
  7262. description: 汇率模板名称
  7263. type: string
  7264. tradestatus:
  7265. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7266. type: integer
  7267. userid:
  7268. description: 用户id
  7269. type: integer
  7270. type: object
  7271. models.ErmcpTradeConfigTMP:
  7272. properties:
  7273. areauserid:
  7274. description: 所属机构
  7275. type: integer
  7276. basiccurrencyid:
  7277. description: 基本币种ID[汇率] - 目标币种
  7278. type: integer
  7279. mainaccountid:
  7280. description: 主账户ID
  7281. type: integer
  7282. modifierid:
  7283. description: 修改人
  7284. type: integer
  7285. remark:
  7286. description: 备注
  7287. type: string
  7288. tradeconfigtmpid:
  7289. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7290. type: integer
  7291. tradeconfigtmpname:
  7292. description: 交易配置模板名称
  7293. type: string
  7294. tradeconfigtmptype:
  7295. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7296. type: integer
  7297. updatetime:
  7298. description: 更新时间
  7299. type: string
  7300. type: object
  7301. models.Externalexchange:
  7302. properties:
  7303. autoid:
  7304. description: AutoID - SEQ_EXTERNALEXCHANGE
  7305. type: integer
  7306. exchangefullname:
  7307. description: 外部交易所全称
  7308. type: string
  7309. exexchangecode:
  7310. description: 外部交易所代码
  7311. type: string
  7312. exexchangename:
  7313. description: 外部交易所名称(简称)
  7314. type: string
  7315. ismarketprice:
  7316. description: 是否支持市价 - 0:不支持 1:支持
  7317. type: integer
  7318. quotegear:
  7319. description: 行情档位(1-10)
  7320. type: integer
  7321. showbrokerflag:
  7322. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7323. type: integer
  7324. updatetime:
  7325. description: 更新时间
  7326. type: string
  7327. required:
  7328. - autoid
  7329. type: object
  7330. models.Funcmenulist:
  7331. properties:
  7332. iconame:
  7333. description: 菜单图标
  7334. type: string
  7335. menutype:
  7336. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7337. type: integer
  7338. parentcode:
  7339. description: 上级资源代码
  7340. type: string
  7341. remark:
  7342. description: 备注
  7343. type: string
  7344. resourcecode:
  7345. description: 资源代码
  7346. type: string
  7347. resourcelevel:
  7348. description: 级别 1-一级 2-二级 3-三级 4-四级
  7349. type: integer
  7350. resourcename:
  7351. description: 资源名
  7352. type: string
  7353. sort:
  7354. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7355. type: integer
  7356. url:
  7357. description: URL
  7358. type: string
  7359. required:
  7360. - resourcecode
  7361. type: object
  7362. models.Goods:
  7363. properties:
  7364. agreeunit:
  7365. description: 合约单位
  7366. type: number
  7367. areauserid:
  7368. description: 所属机构
  7369. type: integer
  7370. auditaccountid:
  7371. description: 审核操作员账号
  7372. type: integer
  7373. audittime:
  7374. description: 审核时间
  7375. type: string
  7376. cancelaccountid:
  7377. description: 注销操作员账号
  7378. type: integer
  7379. canceltime:
  7380. description: 注销时间
  7381. type: string
  7382. closepricemode:
  7383. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7384. type: integer
  7385. closepriceparam:
  7386. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7387. type: number
  7388. createtime:
  7389. description: 创建时间
  7390. type: string
  7391. creatorid:
  7392. description: 创建人
  7393. type: integer
  7394. currencyid:
  7395. description: 报价货币ID
  7396. type: integer
  7397. cutmode:
  7398. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7399. type: integer
  7400. decimalplace:
  7401. description: 报价小数位
  7402. type: integer
  7403. delistingdate:
  7404. description: 商品退市时间(状态:退市) -- 已作废
  7405. type: string
  7406. delistingmode:
  7407. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7408. type: integer
  7409. deliveryflag:
  7410. description: 交割标志 - 0:不可交割 1:可交割
  7411. type: integer
  7412. forceclosemode:
  7413. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7414. type: integer
  7415. forceclosevalue:
  7416. description: 定期强平参数 [收益权]
  7417. type: integer
  7418. goodscode:
  7419. description: 商品代码(内部)
  7420. type: string
  7421. goodscurrencyid:
  7422. description: 合约货币ID
  7423. type: integer
  7424. goodsgroupid:
  7425. description: 所属商品组ID
  7426. type: integer
  7427. goodsid:
  7428. description: 商品ID(自增ID SEQ_GOODS)
  7429. type: integer
  7430. goodsname:
  7431. description: 商品名称
  7432. type: string
  7433. goodsquotetype:
  7434. description: '合约报价类型: 1-直接报价 2-间接报价'
  7435. type: integer
  7436. goodsstatus:
  7437. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7438. type: integer
  7439. goodstradetype:
  7440. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7441. type: integer
  7442. goodunitid:
  7443. description: 报价单位ID
  7444. type: integer
  7445. hasquoter:
  7446. description: 是否有报价商 - 0:无报价商 1:有报价商
  7447. type: integer
  7448. hqprotecttime:
  7449. description: 行情保护时间(秒)
  7450. type: integer
  7451. innerdealmode:
  7452. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7453. type: integer
  7454. isbuylimited:
  7455. description: 是否限制建仓量 - 0:不限制 1:限制
  7456. type: integer
  7457. isvisible:
  7458. description: 游客是否可见 - 0:不可见 1:可见
  7459. type: integer
  7460. lasttradedate:
  7461. description: 最后交易日期(状态:待退市)
  7462. type: string
  7463. listingdate:
  7464. description: 交易开始日期
  7465. type: string
  7466. marketid:
  7467. description: 所属市场ID
  7468. type: integer
  7469. modifierid:
  7470. description: 修改人
  7471. type: integer
  7472. modifystatus:
  7473. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7474. type: integer
  7475. modifytime:
  7476. description: 修改时间
  7477. type: string
  7478. outerdealmode:
  7479. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7480. type: integer
  7481. outgoodscode:
  7482. description: 商品代码(外部)
  7483. type: string
  7484. pictureurl:
  7485. description: 商品图片
  7486. type: string
  7487. qtydecimalplace:
  7488. description: 成交量小数位
  7489. type: integer
  7490. quotegear:
  7491. description: 行情档位(1-10)
  7492. type: integer
  7493. quoteminunit:
  7494. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7495. type: integer
  7496. quoteshowtype:
  7497. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7498. type: integer
  7499. quoteshowtypeinterval:
  7500. description: 行情报价间隔时间(秒)(成交价时为0)
  7501. type: integer
  7502. remark:
  7503. description: 备注
  7504. type: string
  7505. required:
  7506. - goodscode
  7507. - goodsid
  7508. - goodsname
  7509. - marketid
  7510. type: object
  7511. models.GoodsIDAndName:
  7512. properties:
  7513. goodscode:
  7514. description: 商品代码(内部)
  7515. type: string
  7516. goodsid:
  7517. description: 商品ID(自增ID SEQ_GOODS)
  7518. type: integer
  7519. goodsname:
  7520. description: 商品名称
  7521. type: string
  7522. marketid:
  7523. description: 所属市场ID
  7524. type: integer
  7525. required:
  7526. - goodscode
  7527. - goodsid
  7528. - goodsname
  7529. - marketid
  7530. type: object
  7531. models.Goodsgroup:
  7532. properties:
  7533. agreeunit:
  7534. description: 合约单位
  7535. type: number
  7536. canshort:
  7537. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7538. type: integer
  7539. closepricemode:
  7540. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7541. type: integer
  7542. closepriceparam:
  7543. description: 强平最新价浮动比例 - 方式为2时使用
  7544. type: number
  7545. createtime:
  7546. description: 创建时间
  7547. type: string
  7548. creatorid:
  7549. description: 创建人
  7550. type: integer
  7551. currencyid:
  7552. description: 报价货币ID
  7553. type: integer
  7554. decimalplace:
  7555. description: 报价小数位
  7556. type: integer
  7557. exercisetype:
  7558. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7559. type: integer
  7560. exexchangeid:
  7561. description: 外部交易所ID[通道交易]
  7562. type: integer
  7563. goodsgroupid:
  7564. description: 商品组ID(自增ID)
  7565. type: integer
  7566. goodsgroupname:
  7567. description: 商品组名称
  7568. type: string
  7569. goodsgroupstatus:
  7570. description: 商品组状态 - 1:正常 2:注销
  7571. type: integer
  7572. goodunitid:
  7573. description: 报价单位ID
  7574. type: integer
  7575. innerdealmode:
  7576. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7577. type: integer
  7578. isbuylimited:
  7579. description: 是否限制建仓量 - 0:不限制 1:限制
  7580. type: integer
  7581. marketid:
  7582. description: 所属市场ID
  7583. type: integer
  7584. modifierid:
  7585. description: 修改人
  7586. type: integer
  7587. modifytime:
  7588. description: 修改时间
  7589. type: string
  7590. outerdealmode:
  7591. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7592. type: integer
  7593. outergroupcode:
  7594. description: 外部商品组代码[通道交易]
  7595. type: string
  7596. premiumdecimalplace:
  7597. description: 权利金小数位[场外期权]
  7598. type: integer
  7599. premiumspreadalgorithm:
  7600. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7601. type: integer
  7602. premiumspreadvalue:
  7603. description: 权利金点差值[场外期权]
  7604. type: number
  7605. qtydecimalplace:
  7606. description: 成交量小数位
  7607. type: integer
  7608. quotegear:
  7609. description: 行情档位(1-10)
  7610. type: integer
  7611. quoteminunit:
  7612. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7613. type: integer
  7614. quoterid:
  7615. description: 报价商ID[场外期权]
  7616. type: integer
  7617. quotesourcegroupid:
  7618. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7619. type: integer
  7620. syncgoodsqty:
  7621. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7622. type: integer
  7623. required:
  7624. - goodsgroupid
  7625. - goodsgroupname
  7626. - goodsgroupstatus
  7627. - marketid
  7628. type: object
  7629. models.Goodssortbypreposition:
  7630. properties:
  7631. goodscode:
  7632. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7633. type: string
  7634. goodsgroupcode:
  7635. description: 品种代码
  7636. type: string
  7637. prepositionqty:
  7638. description: 昨持仓量
  7639. type: integer
  7640. sortindex:
  7641. description: 排序
  7642. type: integer
  7643. tradedate:
  7644. description: 交易日
  7645. type: string
  7646. updatetime:
  7647. description: 更新时间
  7648. type: string
  7649. required:
  7650. - goodscode
  7651. - tradedate
  7652. type: object
  7653. models.Hedgeinnerholderdetail:
  7654. properties:
  7655. accountid:
  7656. description: 账号ID
  7657. type: integer
  7658. buyorsell:
  7659. description: 方向 - 0:买 1:卖
  7660. type: integer
  7661. freezeqty:
  7662. description: 冻结数量 - 按单平使用
  7663. type: integer
  7664. goodsid:
  7665. description: 商品ID
  7666. type: integer
  7667. holderamount:
  7668. description: 持仓金额 [商品币种]
  7669. type: number
  7670. holderdays:
  7671. description: 剩余冻结天数
  7672. type: integer
  7673. holderprice:
  7674. description: 持仓价格
  7675. type: number
  7676. holderqty:
  7677. description: 持仓数量
  7678. type: integer
  7679. marketid:
  7680. description: 市场ID
  7681. type: integer
  7682. openprice:
  7683. description: 建仓价格
  7684. type: number
  7685. openqty:
  7686. description: 建仓数量
  7687. type: integer
  7688. parentaccountid:
  7689. description: 所属母账户
  7690. type: integer
  7691. releaseamount:
  7692. description: 释放持仓金额[商品币种]
  7693. type: number
  7694. tradeamount:
  7695. description: 成交金额[账户]
  7696. type: number
  7697. tradedate:
  7698. description: 交易日(yyyyMMdd)
  7699. type: string
  7700. tradeid:
  7701. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7702. type: string
  7703. tradetime:
  7704. description: 交易时间
  7705. type: string
  7706. required:
  7707. - buyorsell
  7708. - tradeid
  7709. type: object
  7710. models.Hedgemarketopenlog:
  7711. properties:
  7712. accountid:
  7713. description: 资金账号[外部母账户]
  7714. type: integer
  7715. fcname:
  7716. description: 期货公司名称
  7717. type: string
  7718. handlestatus:
  7719. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7720. type: integer
  7721. marketid:
  7722. description: 市场ID
  7723. type: integer
  7724. status:
  7725. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7726. type: integer
  7727. tradedate:
  7728. description: 交易日(yyyyMMdd)
  7729. type: string
  7730. updatetime:
  7731. description: 更新时间
  7732. type: string
  7733. required:
  7734. - accountid
  7735. type: object
  7736. models.HsbyBuyMyPayOrder:
  7737. properties:
  7738. agreeunit:
  7739. description: 合约单位
  7740. type: number
  7741. buyaccountid:
  7742. description: 买方账号ID[报价币种]
  7743. type: integer
  7744. buyorderid:
  7745. description: 买方委托单号
  7746. type: string
  7747. createtime:
  7748. description: 创建时间
  7749. type: string
  7750. currencysign:
  7751. description: 货币符号
  7752. type: string
  7753. decimalplace:
  7754. description: 报价小数位
  7755. type: integer
  7756. goodscode:
  7757. description: 商品代码(内部)
  7758. type: string
  7759. goodsid:
  7760. description: 商品ID
  7761. type: integer
  7762. goodsname:
  7763. description: 商品名称
  7764. type: string
  7765. marketid:
  7766. description: 市场ID
  7767. type: integer
  7768. offamount:
  7769. description: 优惠金额
  7770. type: number
  7771. originalamount:
  7772. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7773. type: number
  7774. payamount:
  7775. description: 支付金额 = TradeAmount + TradeCharge
  7776. type: number
  7777. payflag:
  7778. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7779. type: integer
  7780. paylimitedtime:
  7781. description: 支付期限
  7782. type: string
  7783. paytime:
  7784. description: 付款时间
  7785. type: string
  7786. picurls1:
  7787. description: 预售商品介绍图片[多张用逗号分隔]
  7788. type: string
  7789. picurls2:
  7790. description: 挂牌商品介绍图片[多张用逗号分隔]
  7791. type: string
  7792. sellaccountid:
  7793. description: 卖方账号ID[报价币种]
  7794. type: integer
  7795. sellorderid:
  7796. description: 卖方委托单号
  7797. type: string
  7798. tradeamount:
  7799. description: 成交金额
  7800. type: number
  7801. tradecharge:
  7802. description: 成交手续费(买方)
  7803. type: number
  7804. tradedate:
  7805. description: 交易日(yyyyMMdd)
  7806. type: string
  7807. tradeid:
  7808. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7809. type: string
  7810. trademode:
  7811. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7812. type: integer
  7813. tradeprice:
  7814. description: 成交价格
  7815. type: number
  7816. tradeqty:
  7817. description: 成交数量
  7818. type: integer
  7819. vendorname1:
  7820. description: 预售商品供应商名称
  7821. type: string
  7822. vendorname2:
  7823. description: 挂牌商品供应商名称
  7824. type: string
  7825. required:
  7826. - goodscode
  7827. - goodsname
  7828. - tradeid
  7829. - trademode
  7830. type: object
  7831. models.HsbyBuyMyTradeDetail:
  7832. properties:
  7833. accountid:
  7834. description: 账户ID[报价币种]
  7835. type: integer
  7836. agreeunit:
  7837. description: 合约单位
  7838. type: number
  7839. amount:
  7840. description: 金额 = 价格 * 数量 * 合约单位
  7841. type: number
  7842. buyorsell:
  7843. description: 买卖 - 0:买 1:卖
  7844. type: integer
  7845. currencysign:
  7846. description: 货币符号
  7847. type: string
  7848. decimalplace:
  7849. description: 报价小数位
  7850. type: integer
  7851. goodscode:
  7852. description: 商品代码(内部)
  7853. type: string
  7854. goodsid:
  7855. description: 商品ID
  7856. type: integer
  7857. goodsname:
  7858. description: 商品名称
  7859. type: string
  7860. marketid:
  7861. description: 市场ID
  7862. type: integer
  7863. orderamount:
  7864. description: 委托金额
  7865. type: number
  7866. orderid:
  7867. description: 单号(成交单号)
  7868. type: string
  7869. picurls1:
  7870. description: 预售商品介绍图片[多张用逗号分隔]
  7871. type: string
  7872. picurls2:
  7873. description: 挂牌商品介绍图片[多张用逗号分隔]
  7874. type: string
  7875. price:
  7876. description: 价格
  7877. type: number
  7878. qty:
  7879. description: 数量
  7880. type: integer
  7881. time:
  7882. description: 时间
  7883. type: string
  7884. trademode:
  7885. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7886. type: integer
  7887. vendorname1:
  7888. description: 预售商品供应商名称
  7889. type: string
  7890. vendorname2:
  7891. description: 挂牌商品供应商名称
  7892. type: string
  7893. required:
  7894. - accountid
  7895. - buyorsell
  7896. - goodscode
  7897. - goodsid
  7898. - goodsname
  7899. - marketid
  7900. - orderid
  7901. - qty
  7902. - time
  7903. - trademode
  7904. type: object
  7905. models.HsbyGoodsOrderDetail:
  7906. properties:
  7907. buyorsell:
  7908. description: 买卖 - 0:买 1:卖
  7909. type: integer
  7910. currencysign:
  7911. description: 货币符号
  7912. type: string
  7913. customername:
  7914. description: 客户名称(企业名称),已脱敏
  7915. type: string
  7916. enableqty:
  7917. description: 可用数量
  7918. type: integer
  7919. goodunit:
  7920. description: 报价单位
  7921. type: string
  7922. orderid:
  7923. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7924. type: string
  7925. orderprice:
  7926. description: 委托价格
  7927. type: number
  7928. ordertime:
  7929. description: 委托时间
  7930. type: string
  7931. required:
  7932. - buyorsell
  7933. - orderid
  7934. - ordertime
  7935. type: object
  7936. models.HsbyListingGoodsDetail:
  7937. properties:
  7938. agreeunit:
  7939. description: 合约单位
  7940. type: number
  7941. buymaxqty:
  7942. description: 购买上限 [71] - 0为不限
  7943. type: integer
  7944. currency:
  7945. description: 货币
  7946. type: string
  7947. currencysign:
  7948. description: 货币符号
  7949. type: string
  7950. decimalplace:
  7951. description: 报价小数位
  7952. type: integer
  7953. desccityid:
  7954. description: 目的地(市)ID
  7955. type: integer
  7956. descprovinceid:
  7957. description: 目的地(省)ID
  7958. type: integer
  7959. goodscode:
  7960. description: 商品代码(内部)
  7961. type: string
  7962. goodsdesc:
  7963. description: 商品详情
  7964. type: string
  7965. goodsid:
  7966. description: 商品ID(自增ID SEQ_GOODS)
  7967. type: integer
  7968. goodsname:
  7969. description: 商品名称
  7970. type: string
  7971. goodsprice:
  7972. description: 商品价格
  7973. type: number
  7974. hotindex:
  7975. description: 景点热度
  7976. type: integer
  7977. last:
  7978. description: 现价
  7979. type: number
  7980. limitdown:
  7981. description: 跌停价
  7982. type: number
  7983. limitup:
  7984. description: 涨停价
  7985. type: number
  7986. lotsize:
  7987. description: 手数最小变动单位
  7988. type: integer
  7989. marketid:
  7990. description: 所属市场ID
  7991. type: integer
  7992. picurls:
  7993. description: 介绍图片[多张用逗号分隔]
  7994. type: string
  7995. quoteminunit:
  7996. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7997. type: integer
  7998. stepvalue:
  7999. description: 价格最小变动单位
  8000. type: number
  8001. trademode:
  8002. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8003. type: integer
  8004. vendorattr:
  8005. description: 供应商附件(多张,逗号分隔)
  8006. type: string
  8007. vendorname:
  8008. description: 供应商名称
  8009. type: string
  8010. vendorphone:
  8011. description: 供应商客服电话
  8012. type: string
  8013. videourls:
  8014. description: 介绍视频[多张用逗号分隔]
  8015. type: string
  8016. required:
  8017. - goodscode
  8018. - goodsid
  8019. - goodsname
  8020. - marketid
  8021. - trademode
  8022. type: object
  8023. models.HsbyMarketGoods:
  8024. properties:
  8025. accountid:
  8026. description: 账户ID[报价币种]
  8027. type: integer
  8028. agreeunit:
  8029. description: 合约单位
  8030. type: number
  8031. buyorsell:
  8032. description: 买卖 - 0:买 1:卖
  8033. type: integer
  8034. categoryid:
  8035. description: 类别ID(WRCATEGORY)
  8036. type: integer
  8037. currency:
  8038. description: 货币
  8039. type: string
  8040. currencysign:
  8041. description: 货币符号
  8042. type: string
  8043. customername:
  8044. description: 卖家名称
  8045. type: string
  8046. decimalplace:
  8047. description: 报价小数位
  8048. type: integer
  8049. goodscode:
  8050. description: 商品代码(内部)
  8051. type: string
  8052. goodsid:
  8053. description: 商品ID
  8054. type: integer
  8055. goodsname:
  8056. description: 商品名称
  8057. type: string
  8058. goodsprice:
  8059. description: 商品价格
  8060. type: number
  8061. hascoupon:
  8062. description: 是否可用优惠卷
  8063. type: boolean
  8064. hotindex:
  8065. description: 景点热度
  8066. type: integer
  8067. marketid:
  8068. description: 市场ID
  8069. type: integer
  8070. orderid:
  8071. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8072. type: string
  8073. orderprice:
  8074. description: 委托价格
  8075. type: number
  8076. orderstatus:
  8077. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8078. type: integer
  8079. picurls:
  8080. description: 介绍图片[多张用逗号分隔]
  8081. type: string
  8082. quoteminunit:
  8083. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8084. type: integer
  8085. sellUserID:
  8086. description: 卖方UserID
  8087. type: integer
  8088. trademode:
  8089. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8090. type: integer
  8091. videourls:
  8092. description: 介绍视频[多张用逗号分隔]
  8093. type: string
  8094. required:
  8095. - accountid
  8096. - buyorsell
  8097. - goodscode
  8098. - goodsid
  8099. - goodsname
  8100. - marketid
  8101. - orderid
  8102. - trademode
  8103. type: object
  8104. models.HsbyMarketGoodsDetail:
  8105. properties:
  8106. accountid:
  8107. description: 账户ID[报价币种]
  8108. type: integer
  8109. agreeunit:
  8110. description: 合约单位
  8111. type: number
  8112. buymaxqty:
  8113. description: 购买上限 [71] - 0为不限
  8114. type: integer
  8115. buyorsell:
  8116. description: 买卖 - 0:买 1:卖
  8117. type: integer
  8118. cancelqty:
  8119. description: 撤单数量
  8120. type: integer
  8121. categoryid:
  8122. description: 类别ID(WRCATEGORY)
  8123. type: integer
  8124. currency:
  8125. description: 货币
  8126. type: string
  8127. currencysign:
  8128. description: 货币符号
  8129. type: string
  8130. customername:
  8131. description: 卖家名称
  8132. type: string
  8133. decimalplace:
  8134. description: 报价小数位
  8135. type: integer
  8136. goodscode:
  8137. description: 商品代码(内部)
  8138. type: string
  8139. goodsdesc:
  8140. description: 商品详情
  8141. type: string
  8142. goodsid:
  8143. description: 商品ID
  8144. type: integer
  8145. goodsname:
  8146. description: 商品名称
  8147. type: string
  8148. goodsprice:
  8149. description: 商品价格
  8150. type: number
  8151. hotindex:
  8152. description: 景点热度
  8153. type: integer
  8154. lotsize:
  8155. description: 手数最小变动单位
  8156. type: integer
  8157. marketid:
  8158. description: 市场ID
  8159. type: integer
  8160. orderid:
  8161. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8162. type: string
  8163. orderprice:
  8164. description: 委托价格
  8165. type: number
  8166. orderqty:
  8167. description: 委托数量
  8168. type: integer
  8169. orderstatus:
  8170. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8171. type: integer
  8172. picurls:
  8173. description: 介绍图片[多张用逗号分隔]
  8174. type: string
  8175. quoteminunit:
  8176. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8177. type: integer
  8178. sellUserID:
  8179. description: 卖方UserID
  8180. type: integer
  8181. trademode:
  8182. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8183. type: integer
  8184. tradeqty:
  8185. description: 成交数量
  8186. type: integer
  8187. vendorattr:
  8188. description: 供应商附件(多张,逗号分隔)
  8189. type: string
  8190. vendorname:
  8191. description: 供应商名称
  8192. type: string
  8193. vendorphone:
  8194. description: 供应商客服电话
  8195. type: string
  8196. videourls:
  8197. description: 介绍视频[多张用逗号分隔]
  8198. type: string
  8199. required:
  8200. - accountid
  8201. - buyorsell
  8202. - goodscode
  8203. - goodsid
  8204. - goodsname
  8205. - marketid
  8206. - orderid
  8207. - orderqty
  8208. - trademode
  8209. type: object
  8210. models.HsbyMarketInfo:
  8211. properties:
  8212. marketid:
  8213. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8214. type: integer
  8215. marketname:
  8216. description: 市场名称
  8217. type: string
  8218. marketstatus:
  8219. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8220. type: integer
  8221. trademode:
  8222. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8223. type: integer
  8224. required:
  8225. - marketid
  8226. - marketstatus
  8227. - trademode
  8228. type: object
  8229. models.HsbyMyGoods:
  8230. properties:
  8231. accountid:
  8232. description: 账号Id
  8233. type: integer
  8234. agreeunit:
  8235. description: 合约单位
  8236. type: number
  8237. buyaverageprice:
  8238. description: 持仓均价
  8239. type: number
  8240. buycurholderamount:
  8241. description: 买当前持仓总金额[商品币种]
  8242. type: number
  8243. buycurpositionqty:
  8244. description: 买当前持仓总数量
  8245. type: integer
  8246. buymaxqty:
  8247. description: 购买上限 [71] - 0为不限
  8248. type: integer
  8249. currencysign:
  8250. description: 货币符号
  8251. type: string
  8252. decimalplace:
  8253. description: 报价小数位
  8254. type: integer
  8255. enableqty:
  8256. description: 可用数量
  8257. type: integer
  8258. goodscode:
  8259. description: 商品代码(内部)
  8260. type: string
  8261. goodsid:
  8262. description: 商品Id
  8263. type: integer
  8264. goodsname:
  8265. description: 商品名称
  8266. type: string
  8267. goodsprice:
  8268. description: 商品价格
  8269. type: number
  8270. goodsstatus:
  8271. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8272. type: integer
  8273. last:
  8274. description: 现价(仅使用于挂牌点选)
  8275. type: number
  8276. limitdown:
  8277. description: 跌停价(仅使用于挂牌点选)
  8278. type: number
  8279. limitup:
  8280. description: 涨停价(仅使用于挂牌点选)
  8281. type: number
  8282. lotsize:
  8283. description: 手数最小变动单位
  8284. type: integer
  8285. marketid:
  8286. description: 所属市场ID
  8287. type: integer
  8288. picurls:
  8289. description: 介绍图片[多张用逗号分隔]
  8290. type: string
  8291. quoteminunit:
  8292. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8293. type: integer
  8294. stepvalue:
  8295. description: 价格最小变动单位
  8296. type: number
  8297. trademode:
  8298. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8299. type: integer
  8300. required:
  8301. - accountid
  8302. - goodscode
  8303. - goodsid
  8304. - goodsname
  8305. - marketid
  8306. - trademode
  8307. type: object
  8308. models.HsbyMyPackage:
  8309. properties:
  8310. accountid:
  8311. description: 账户ID
  8312. type: integer
  8313. address:
  8314. description: 提货人详细地址
  8315. type: string
  8316. agreeunit:
  8317. description: 合约单位
  8318. type: number
  8319. amount:
  8320. description: 提货金额
  8321. type: number
  8322. auditer:
  8323. description: 审核人
  8324. type: integer
  8325. audittime:
  8326. description: 审核时间
  8327. type: string
  8328. averageprice:
  8329. description: 均价
  8330. type: number
  8331. cardnum:
  8332. description: 提货人证件号码
  8333. type: string
  8334. cardtypeid:
  8335. description: 提货人证件类型
  8336. type: integer
  8337. checkremark:
  8338. description: 审核备注
  8339. type: string
  8340. currencysign:
  8341. description: 货币符号
  8342. type: string
  8343. decimalplace:
  8344. description: 报价小数位
  8345. type: integer
  8346. goodscode:
  8347. description: 商品代码(内部)
  8348. type: string
  8349. goodsid:
  8350. description: 商品ID
  8351. type: integer
  8352. goodsname:
  8353. description: 商品名称
  8354. type: string
  8355. handlestatus:
  8356. description: 处理状态
  8357. type: integer
  8358. marketid:
  8359. description: 市场ID
  8360. type: integer
  8361. phonenum:
  8362. description: 提货人联系方式
  8363. type: string
  8364. picurls:
  8365. description: 介绍图片[多张用逗号分隔]
  8366. type: string
  8367. qty:
  8368. description: 提货数量
  8369. type: number
  8370. recivername:
  8371. description: 提货人姓名
  8372. type: string
  8373. reqtime:
  8374. description: 更新时间
  8375. type: string
  8376. takemode:
  8377. description: 提货方式 - 2:自提 3:配送
  8378. type: integer
  8379. takeorderid:
  8380. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8381. type: string
  8382. takeorderstatus:
  8383. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8384. type: integer
  8385. takeremark:
  8386. description: 提货备注
  8387. type: string
  8388. tradedate:
  8389. description: 交易日(yyyyMMdd)
  8390. type: string
  8391. trademode:
  8392. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8393. type: integer
  8394. userid:
  8395. description: 用户ID
  8396. type: integer
  8397. vendorname:
  8398. description: 供应商名称
  8399. type: string
  8400. required:
  8401. - goodscode
  8402. - goodsname
  8403. - takeorderid
  8404. - trademode
  8405. type: object
  8406. models.HsbyPreGoods:
  8407. properties:
  8408. agreeunit:
  8409. description: 合约单位
  8410. type: number
  8411. currency:
  8412. description: 货币
  8413. type: string
  8414. currencysign:
  8415. description: 货币符号
  8416. type: string
  8417. decimalplace:
  8418. description: 报价小数位
  8419. type: integer
  8420. desccityid:
  8421. description: 目的地(市)
  8422. type: integer
  8423. descprovinceid:
  8424. description: 目的地(省)
  8425. type: integer
  8426. enableqty:
  8427. description: 剩余数量
  8428. type: integer
  8429. goodscode:
  8430. description: 商品代码(内部)
  8431. type: string
  8432. goodsid:
  8433. description: 商品ID(自增ID SEQ_GOODS)
  8434. type: integer
  8435. goodsname:
  8436. description: 商品名称
  8437. type: string
  8438. goodsstatus:
  8439. description: 商品状态- 2:未上市 3:上市
  8440. type: integer
  8441. lasttradedate:
  8442. description: 最后交易日期(状态:待退市)
  8443. type: string
  8444. listingdate:
  8445. description: 交易开始日期
  8446. type: string
  8447. marketid:
  8448. description: 所属市场ID
  8449. type: integer
  8450. picurls:
  8451. description: 介绍图片[多张用逗号分隔]
  8452. type: string
  8453. presaledqty:
  8454. description: 已预售量(预售结束时更新)
  8455. type: integer
  8456. presaleqty:
  8457. description: 预售数量
  8458. type: integer
  8459. quoteminunit:
  8460. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8461. type: integer
  8462. refprice:
  8463. description: 参考价格[一口价]
  8464. type: number
  8465. relatedgoodsid:
  8466. description: 关联交易合约ID
  8467. type: integer
  8468. trademode:
  8469. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8470. type: integer
  8471. videourls:
  8472. description: 介绍视频[多张用逗号分隔]
  8473. type: string
  8474. required:
  8475. - goodscode
  8476. - goodsid
  8477. - goodsname
  8478. - marketid
  8479. - trademode
  8480. type: object
  8481. models.HsbyPreGoodsDetail:
  8482. properties:
  8483. agreeunit:
  8484. description: 合约单位
  8485. type: number
  8486. buymaxqty:
  8487. description: 购买上限 [71] - 0为不限
  8488. type: integer
  8489. currency:
  8490. description: 货币
  8491. type: string
  8492. currencysign:
  8493. description: 货币符号
  8494. type: string
  8495. customername:
  8496. description: 发行单位
  8497. type: string
  8498. decimalplace:
  8499. description: 报价小数位
  8500. type: integer
  8501. desccityid:
  8502. description: 目的地(市)ID
  8503. type: integer
  8504. descprovinceid:
  8505. description: 目的地(省)ID
  8506. type: integer
  8507. enableqty:
  8508. description: 剩余数量
  8509. type: integer
  8510. goodscode:
  8511. description: 商品代码(内部)
  8512. type: string
  8513. goodsdesc:
  8514. description: 商品详情
  8515. type: string
  8516. goodsid:
  8517. description: 商品ID(自增ID SEQ_GOODS)
  8518. type: integer
  8519. goodsname:
  8520. description: 商品名称
  8521. type: string
  8522. goodsstatus:
  8523. description: 商品状态- 2:未上市 3:上市
  8524. type: integer
  8525. goodunit:
  8526. description: 报价单位
  8527. type: string
  8528. lasttradedate:
  8529. description: 最后交易日期(状态:待退市)
  8530. type: string
  8531. listingdate:
  8532. description: 交易开始日期
  8533. type: string
  8534. lotsize:
  8535. description: 手数最小变动单位
  8536. type: integer
  8537. marketid:
  8538. description: 所属市场ID
  8539. type: integer
  8540. picurls:
  8541. description: 介绍图片[多张用逗号分隔]
  8542. type: string
  8543. presaledqty:
  8544. description: 已预售量(预售结束时更新)
  8545. type: integer
  8546. presaleqty:
  8547. description: 预售数量
  8548. type: integer
  8549. quoteminunit:
  8550. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8551. type: integer
  8552. refprice:
  8553. description: 参考价格[一口价]
  8554. type: number
  8555. relatedgoodsid:
  8556. description: 关联交易合约ID
  8557. type: integer
  8558. stepvalue:
  8559. description: 价格最小变动单位
  8560. type: number
  8561. trademode:
  8562. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8563. type: integer
  8564. vendorattr:
  8565. description: 供应商附件(多张,逗号分隔)
  8566. type: string
  8567. vendorname:
  8568. description: 供应商名称
  8569. type: string
  8570. vendorphone:
  8571. description: 供应商客服电话
  8572. type: string
  8573. videourls:
  8574. description: 介绍视频[多张用逗号分隔]
  8575. type: string
  8576. required:
  8577. - goodscode
  8578. - goodsid
  8579. - goodsname
  8580. - marketid
  8581. - trademode
  8582. type: object
  8583. models.HsbySellCollectionOrder:
  8584. properties:
  8585. agreeunit:
  8586. description: 合约单位
  8587. type: number
  8588. buyaccountid:
  8589. description: 买方账号ID[报价币种]
  8590. type: integer
  8591. buyorderid:
  8592. description: 买方委托单号
  8593. type: string
  8594. createtime:
  8595. description: 创建时间
  8596. type: string
  8597. currencysign:
  8598. description: 货币符号
  8599. type: string
  8600. decimalplace:
  8601. description: 报价小数位
  8602. type: integer
  8603. goodscode:
  8604. description: 商品代码(内部)
  8605. type: string
  8606. goodsid:
  8607. description: 商品ID
  8608. type: integer
  8609. goodsname:
  8610. description: 商品名称
  8611. type: string
  8612. marketid:
  8613. description: 市场ID
  8614. type: integer
  8615. offamount:
  8616. description: 优惠金额
  8617. type: number
  8618. payamount:
  8619. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8620. type: number
  8621. payflag:
  8622. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8623. type: integer
  8624. paylimitedtime:
  8625. description: 支付期限
  8626. type: string
  8627. paytime:
  8628. description: 付款时间
  8629. type: string
  8630. picurls:
  8631. description: 商品介绍图片[多张用逗号分隔]
  8632. type: string
  8633. sellaccountid:
  8634. description: 卖方账号ID[报价币种]
  8635. type: integer
  8636. sellorderid:
  8637. description: 卖方委托单号
  8638. type: string
  8639. tradeamount:
  8640. description: 成交金额
  8641. type: number
  8642. tradecharge:
  8643. description: 成交手续费(买方)
  8644. type: number
  8645. tradedate:
  8646. description: 交易日(yyyyMMdd)
  8647. type: string
  8648. tradeid:
  8649. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8650. type: string
  8651. trademode:
  8652. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8653. type: integer
  8654. tradeprice:
  8655. description: 成交价格
  8656. type: number
  8657. tradeqty:
  8658. description: 成交数量
  8659. type: integer
  8660. required:
  8661. - goodscode
  8662. - goodsname
  8663. - tradeid
  8664. - trademode
  8665. type: object
  8666. models.HsbySellMyDetail:
  8667. properties:
  8668. accountid:
  8669. description: 账户ID[报价币种]
  8670. type: integer
  8671. agreeunit:
  8672. description: 合约单位
  8673. type: number
  8674. buyorsell:
  8675. description: 买卖 - 0:买 1:卖
  8676. type: integer
  8677. currencysign:
  8678. description: 货币符号
  8679. type: string
  8680. decimalplace:
  8681. description: 报价小数位
  8682. type: integer
  8683. goodscode:
  8684. description: 商品代码(内部)
  8685. type: string
  8686. goodsid:
  8687. description: 商品ID
  8688. type: integer
  8689. goodsname:
  8690. description: 商品名称
  8691. type: string
  8692. marketid:
  8693. description: 市场ID
  8694. type: integer
  8695. orderid:
  8696. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8697. type: string
  8698. ordertype:
  8699. description: 单据类型:0 - 发布中, 1 - 已完成
  8700. type: integer
  8701. picurls:
  8702. description: 介绍图片[多张用逗号分隔]
  8703. type: string
  8704. price:
  8705. description: 价格
  8706. type: number
  8707. qty:
  8708. description: 数量
  8709. type: integer
  8710. time:
  8711. description: 时间
  8712. type: string
  8713. trademode:
  8714. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8715. type: integer
  8716. vendorname:
  8717. description: 供应商名称
  8718. type: string
  8719. required:
  8720. - accountid
  8721. - buyorsell
  8722. - goodscode
  8723. - goodsid
  8724. - goodsname
  8725. - marketid
  8726. - orderid
  8727. - time
  8728. - trademode
  8729. type: object
  8730. models.HsbyTopGoods:
  8731. properties:
  8732. agreeunit:
  8733. description: 合约单位
  8734. type: number
  8735. currency:
  8736. description: 货币
  8737. type: string
  8738. currencysign:
  8739. description: 货币符号
  8740. type: string
  8741. decimalplace:
  8742. description: 报价小数位
  8743. type: integer
  8744. desccityid:
  8745. description: 目的地(市)
  8746. type: integer
  8747. descprovinceid:
  8748. description: 目的地(省)
  8749. type: integer
  8750. goodscode:
  8751. description: 商品代码(内部)
  8752. type: string
  8753. goodsid:
  8754. description: 商品ID(自增ID SEQ_GOODS)
  8755. type: integer
  8756. goodsname:
  8757. description: 商品名称
  8758. type: string
  8759. hotindex:
  8760. description: 景点热度
  8761. type: integer
  8762. last:
  8763. description: 现价
  8764. type: number
  8765. marketid:
  8766. description: 所属市场ID
  8767. type: integer
  8768. picurls:
  8769. description: 介绍图片[多张用逗号分隔]
  8770. type: string
  8771. quoteminunit:
  8772. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8773. type: integer
  8774. trademode:
  8775. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8776. type: integer
  8777. videourls:
  8778. description: 介绍视频[多张用逗号分隔]
  8779. type: string
  8780. required:
  8781. - goodscode
  8782. - goodsid
  8783. - goodsname
  8784. - marketid
  8785. - trademode
  8786. type: object
  8787. models.HybsMyBuyOrderDetail:
  8788. properties:
  8789. accountid:
  8790. description: 账户ID[报价币种]
  8791. type: integer
  8792. agreeunit:
  8793. description: 合约单位
  8794. type: number
  8795. buyorsell:
  8796. description: 买卖 - 0:买 1:卖
  8797. type: integer
  8798. cancelqty:
  8799. description: 撤单数量
  8800. type: integer
  8801. currencysign:
  8802. description: 货币符号
  8803. type: string
  8804. decimalplace:
  8805. description: 报价小数位
  8806. type: integer
  8807. goodscode:
  8808. description: 商品代码(内部)
  8809. type: string
  8810. goodsid:
  8811. description: 商品ID
  8812. type: integer
  8813. goodsname:
  8814. description: 商品名称
  8815. type: string
  8816. listingselecttype:
  8817. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8818. type: integer
  8819. marketid:
  8820. description: 市场ID
  8821. type: integer
  8822. mybuystatus:
  8823. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8824. type: integer
  8825. orderamount:
  8826. description: 委托金额
  8827. type: number
  8828. orderid:
  8829. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8830. type: string
  8831. orderprice:
  8832. description: 委托价格
  8833. type: number
  8834. orderqty:
  8835. description: 委托数量
  8836. type: integer
  8837. orderstatus:
  8838. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8839. type: integer
  8840. ordertime:
  8841. description: 委托时间
  8842. type: string
  8843. picurls1:
  8844. description: 预售商品介绍图片[多张用逗号分隔]
  8845. type: string
  8846. picurls2:
  8847. description: 挂牌商品介绍图片[多张用逗号分隔]
  8848. type: string
  8849. trademode:
  8850. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8851. type: integer
  8852. tradeqty:
  8853. description: 成交数量
  8854. type: integer
  8855. vendorname1:
  8856. description: 预售商品供应商名称
  8857. type: string
  8858. vendorname2:
  8859. description: 挂牌商品供应商名称
  8860. type: string
  8861. required:
  8862. - accountid
  8863. - buyorsell
  8864. - goodscode
  8865. - goodsid
  8866. - goodsname
  8867. - marketid
  8868. - orderid
  8869. - orderqty
  8870. - ordertime
  8871. - trademode
  8872. type: object
  8873. models.Loginaccount:
  8874. properties:
  8875. accountname:
  8876. description: 账户名称
  8877. type: string
  8878. canoutin:
  8879. description: 是否可出入金 - 0:不可 1:可
  8880. type: integer
  8881. clientroleid:
  8882. description: 终端角色ID
  8883. type: integer
  8884. haslogined:
  8885. description: 是否已登录 - 0:未登录 1:已登录
  8886. type: integer
  8887. hasupdatedpwd:
  8888. description: 是否已更改密码 - 0:未修改 1:已修改
  8889. type: integer
  8890. lastloginip:
  8891. description: 最新登录地址
  8892. type: string
  8893. lastloginmode:
  8894. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8895. type: integer
  8896. lastloginremark:
  8897. description: 最新登录描述
  8898. type: string
  8899. lastlogintime:
  8900. description: 最新登录时间
  8901. type: string
  8902. logincode:
  8903. description: 登录代码
  8904. type: string
  8905. loginfailnum:
  8906. description: 连续登录失败次数(登录成功时清零)
  8907. type: integer
  8908. loginid:
  8909. description: 登陆账号
  8910. type: integer
  8911. loginport:
  8912. description: 最新登录端口
  8913. type: integer
  8914. loginstatus:
  8915. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8916. type: integer
  8917. loginusertype:
  8918. description: 登录账号类型 - 1:投资者 2:机构交易员
  8919. type: integer
  8920. mobile:
  8921. description: 手机号码(加密存储)
  8922. type: string
  8923. modifierid:
  8924. description: 修改人
  8925. type: integer
  8926. modifysrc:
  8927. description: 审核来源 - 1:管理端 2:终端
  8928. type: integer
  8929. modifytime:
  8930. description: 修改时间
  8931. type: string
  8932. password:
  8933. description: 登陆密码
  8934. type: string
  8935. pwdwrongcount:
  8936. description: 密码错误次数
  8937. type: integer
  8938. relateduserid:
  8939. description: 关联用户ID(机构)
  8940. type: integer
  8941. taaccountrighttype:
  8942. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8943. type: integer
  8944. unfreezetime:
  8945. description: 账户解冻时间
  8946. type: string
  8947. userid:
  8948. description: 用户ID
  8949. type: integer
  8950. required:
  8951. - loginid
  8952. type: object
  8953. models.MainAccountInfo:
  8954. properties:
  8955. accountid:
  8956. description: 账号id
  8957. type: integer
  8958. accountname:
  8959. description: 账号名称(taaccount表中的名称)
  8960. type: string
  8961. appid:
  8962. description: AppID
  8963. type: string
  8964. authcode:
  8965. description: 授权码
  8966. type: string
  8967. brokerid:
  8968. description: 经纪商id
  8969. type: string
  8970. fcid:
  8971. description: 期货公司id
  8972. type: integer
  8973. fcname:
  8974. description: 期货公司代码
  8975. type: string
  8976. hedgeaccountcode:
  8977. description: 外部账号代码(主账号登录代码)
  8978. type: string
  8979. hedgeaccountpwd:
  8980. description: 密码
  8981. type: string
  8982. ismain:
  8983. description: 是否主账号
  8984. type: integer
  8985. relateduserid:
  8986. description: 关联用户id
  8987. type: integer
  8988. userid:
  8989. description: 关联用户id
  8990. type: integer
  8991. type: object
  8992. models.Market:
  8993. properties:
  8994. auctionwrtype:
  8995. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8996. type: integer
  8997. canacceptquote:
  8998. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8999. type: integer
  9000. cangoodsexercise:
  9001. description: '[期权]是否可现货行权- 0:否 1:是'
  9002. type: integer
  9003. cangoodsexercisetype:
  9004. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9005. type: integer
  9006. canmanualquotestrike:
  9007. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9008. type: integer
  9009. canmutistage:
  9010. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9011. type: integer
  9012. canpreexercise:
  9013. description: '[期权]是否可预申报- 0:否 1:是'
  9014. type: integer
  9015. clearinterval:
  9016. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9017. type: integer
  9018. contracttmp:
  9019. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9020. type: string
  9021. exchareaid:
  9022. description: 所属交易所,可以没有
  9023. type: integer
  9024. goodstype:
  9025. description: 商品类型 - 1:交易商品 2:仓单商品
  9026. type: integer
  9027. hasrebate:
  9028. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9029. type: integer
  9030. hastradecredit:
  9031. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9032. type: integer
  9033. haswr:
  9034. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9035. type: integer
  9036. isdeductmargin:
  9037. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9038. type: integer
  9039. isrecordsource:
  9040. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9041. type: integer
  9042. isreleasemargin:
  9043. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9044. type: integer
  9045. marginformula:
  9046. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9047. type: integer
  9048. marginformula2:
  9049. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9050. type: integer
  9051. marketid:
  9052. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9053. type: integer
  9054. marketname:
  9055. description: 市场名称
  9056. type: string
  9057. marketserviceid:
  9058. description: 市场服务ID
  9059. type: integer
  9060. marketstatus:
  9061. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9062. type: integer
  9063. markettype:
  9064. description: 市场类型- 1:非交易服务 2:交易服务
  9065. type: integer
  9066. matchermode:
  9067. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9068. type: integer
  9069. openmethod:
  9070. description: 开盘模式 - 0 自动 1手动
  9071. type: integer
  9072. otcuserid:
  9073. description: 场外期权做市商[场外期权]
  9074. type: integer
  9075. outersynctime:
  9076. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9077. type: string
  9078. pendingflag:
  9079. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9080. type: integer
  9081. pendingtime:
  9082. description: 待开市时间[通道交易-对冲](HH:mm)
  9083. type: string
  9084. performancetempid:
  9085. description: 履约计划模板ID - 作废
  9086. type: integer
  9087. premiumquotemode:
  9088. description: 权利金报价方式 - 1:自动 2:手动
  9089. type: integer
  9090. rebateratio:
  9091. description: 返利比率[竞价式]
  9092. type: number
  9093. reckonorder:
  9094. description: 结算顺序
  9095. type: integer
  9096. reckonpricealgorithm:
  9097. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9098. type: integer
  9099. reckonpriceparam:
  9100. description: 结算价参数
  9101. type: integer
  9102. reckontime:
  9103. description: 结算时间[通道交易-对冲](HH:mm)
  9104. type: string
  9105. roleprioritytype:
  9106. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9107. type: integer
  9108. selllistingauditflag:
  9109. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9110. type: integer
  9111. trademarkettype:
  9112. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9113. type: integer
  9114. trademode:
  9115. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9116. type: integer
  9117. tradeproperty:
  9118. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9119. type: integer
  9120. tradetype:
  9121. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9122. type: integer
  9123. required:
  9124. - marketid
  9125. - marketstatus
  9126. - openmethod
  9127. - reckonpricealgorithm
  9128. - trademode
  9129. - tradeproperty
  9130. type: object
  9131. models.Marketrun:
  9132. properties:
  9133. afternexttradedate:
  9134. description: 下下交易日
  9135. type: string
  9136. clearquoteflag:
  9137. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9138. type: integer
  9139. lastreckondate:
  9140. description: 最新交易日(结算成功)
  9141. type: string
  9142. machinedate:
  9143. description: 机器时间
  9144. type: string
  9145. manualflag:
  9146. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9147. type: integer
  9148. marketid:
  9149. description: 市场ID
  9150. type: integer
  9151. nexttradedate:
  9152. description: 下一交易日
  9153. type: string
  9154. pretradedate:
  9155. description: 上一交易日
  9156. type: string
  9157. reckonflag:
  9158. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9159. type: integer
  9160. runstatus:
  9161. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  9162. type: integer
  9163. sectionid:
  9164. description: 时间段号[多时段时用]
  9165. type: integer
  9166. tradedate:
  9167. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9168. type: string
  9169. tradedate2:
  9170. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9171. type: string
  9172. updatetime:
  9173. description: 更新时间
  9174. type: string
  9175. required:
  9176. - marketid
  9177. - nexttradedate
  9178. - reckonflag
  9179. - runstatus
  9180. - tradedate
  9181. - tradedate2
  9182. type: object
  9183. models.Messageboard:
  9184. properties:
  9185. contactnum:
  9186. description: 联系电话
  9187. type: string
  9188. createtime:
  9189. description: 创建时间
  9190. type: string
  9191. message:
  9192. description: 留言信息
  9193. type: string
  9194. messageboardid:
  9195. description: 留言簿ID(SEQ_MessageBoard)
  9196. type: integer
  9197. userid:
  9198. description: 用户ID
  9199. type: integer
  9200. required:
  9201. - messageboardid
  9202. type: object
  9203. models.MyCoupon:
  9204. properties:
  9205. accountid:
  9206. description: 资金账户ID
  9207. type: integer
  9208. areauserid:
  9209. description: 所属机构
  9210. type: integer
  9211. conditionvalue:
  9212. description: 条件阈值(可为0)
  9213. type: number
  9214. couponcategroy:
  9215. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9216. type: integer
  9217. couponname:
  9218. description: 优惠券名称
  9219. type: string
  9220. coupontypeid:
  9221. description: 优惠券类型ID
  9222. type: string
  9223. couponvalue:
  9224. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9225. type: number
  9226. curfreezeqty:
  9227. description: 期末冻结数量
  9228. type: integer
  9229. curqty:
  9230. description: 期末数量
  9231. type: integer
  9232. isgeneral:
  9233. description: 是否通用券 - 0:否 1:是
  9234. type: integer
  9235. isunusable:
  9236. description: 是否不可用
  9237. type: boolean
  9238. limitedflag:
  9239. description: 是否指定商品 - 0:不限 1:限制
  9240. type: integer
  9241. limitedgoodsids:
  9242. description: 指定商品IDs[逗号分隔,前后加逗号]
  9243. type: string
  9244. orifreezeqty:
  9245. description: 期初冻结数量
  9246. type: integer
  9247. oriqty:
  9248. description: 期初数量
  9249. type: integer
  9250. reasontype:
  9251. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9252. type: integer
  9253. todaydecrease:
  9254. description: 今日减少
  9255. type: integer
  9256. todayincrease:
  9257. description: 今日增加
  9258. type: integer
  9259. userid:
  9260. description: 用户ID
  9261. type: integer
  9262. userscope:
  9263. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9264. type: string
  9265. required:
  9266. - accountid
  9267. - coupontypeid
  9268. type: object
  9269. models.MyCouponHold:
  9270. properties:
  9271. accountid:
  9272. description: 资金账户ID
  9273. type: integer
  9274. conditionvalue:
  9275. description: 条件阈值(可为0)
  9276. type: number
  9277. couponcategroy:
  9278. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9279. type: integer
  9280. couponholdid:
  9281. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9282. type: string
  9283. couponname:
  9284. description: 优惠券名称
  9285. type: string
  9286. coupontypeid:
  9287. description: 优惠券类型ID - SEQ_COUPONTYPE
  9288. type: string
  9289. couponvalue:
  9290. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9291. type: number
  9292. createtime:
  9293. description: 创建时间
  9294. type: string
  9295. enddate:
  9296. description: 结束日期
  9297. type: string
  9298. giveapplyid:
  9299. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9300. type: integer
  9301. holdstatus:
  9302. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9303. type: integer
  9304. isgeneral:
  9305. description: 是否通用券 - 0:否 1:是
  9306. type: integer
  9307. limitedflag:
  9308. description: 是否指定商品 - 0:不限 1:限制
  9309. type: integer
  9310. limitedgoodsids:
  9311. description: 指定商品IDs[逗号分隔]
  9312. type: string
  9313. qty:
  9314. description: 数量(按1平铺)
  9315. type: integer
  9316. startdate:
  9317. description: 开始日期
  9318. type: string
  9319. userid:
  9320. description: 用户ID
  9321. type: integer
  9322. userscope:
  9323. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9324. type: string
  9325. required:
  9326. - couponholdid
  9327. type: object
  9328. models.MyUsedCoupon:
  9329. properties:
  9330. accountid:
  9331. description: 资金账户ID(买方)
  9332. type: integer
  9333. conditionvalue:
  9334. description: 条件阈值(可为0)
  9335. type: number
  9336. couponcategroy:
  9337. description: 种类 - 1:现金券 2:折扣券
  9338. type: integer
  9339. couponname:
  9340. description: 优惠券名称
  9341. type: string
  9342. coupontypeid:
  9343. description: 优惠券类型ID(买方)
  9344. type: string
  9345. couponvalue:
  9346. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9347. type: number
  9348. createtime:
  9349. description: 创建时间
  9350. type: string
  9351. goodsid:
  9352. description: 商品ID
  9353. type: integer
  9354. handlestatus:
  9355. description: 处理状态
  9356. type: integer
  9357. marketid:
  9358. description: 市场ID
  9359. type: integer
  9360. offamount:
  9361. description: 优惠金额
  9362. type: number
  9363. orderid:
  9364. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9365. type: string
  9366. sellaccountid:
  9367. description: 资金账户ID(卖方)
  9368. type: integer
  9369. tradeamount:
  9370. description: 成交金额
  9371. type: number
  9372. tradeid:
  9373. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9374. type: string
  9375. usedqty:
  9376. description: 使用数量
  9377. type: integer
  9378. required:
  9379. - coupontypeid
  9380. - orderid
  9381. type: object
  9382. models.OperationPrimaryMenu:
  9383. properties:
  9384. Children:
  9385. description: 二级功能菜单
  9386. items:
  9387. $ref: '#/definitions/models.OperationSecondaryMenu'
  9388. type: array
  9389. Key:
  9390. description: 菜单KEY
  9391. type: string
  9392. Label:
  9393. description: 菜单标题
  9394. type: string
  9395. type: object
  9396. models.OperationSecondaryMenu:
  9397. properties:
  9398. Key:
  9399. description: 菜单KEY
  9400. type: string
  9401. Label:
  9402. description: 菜单标题
  9403. type: string
  9404. TabList:
  9405. description: 三级功能菜单
  9406. items:
  9407. $ref: '#/definitions/models.OperationTabMenu'
  9408. type: array
  9409. type: object
  9410. models.OperationTabMenu:
  9411. properties:
  9412. Key:
  9413. description: 菜单KEY
  9414. type: string
  9415. Label:
  9416. description: 菜单标题
  9417. type: string
  9418. type: object
  9419. models.QhjAccountOutInApply:
  9420. properties:
  9421. accountcode:
  9422. description: 资金账号
  9423. type: string
  9424. accountname:
  9425. description: 用户名称(名称)
  9426. type: string
  9427. accountpwd:
  9428. description: 资金密码
  9429. type: string
  9430. accountticket:
  9431. description: 最新账户服务流水号
  9432. type: string
  9433. amount:
  9434. description: 金额
  9435. type: number
  9436. applyremark:
  9437. description: 申请备注
  9438. type: string
  9439. applystatus:
  9440. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9441. type: integer
  9442. auditid:
  9443. description: 审核人
  9444. type: integer
  9445. audittime:
  9446. description: 审核时间
  9447. type: string
  9448. bank_apply_ticket:
  9449. description: 银行申请流水
  9450. type: string
  9451. bankaccountname:
  9452. description: 银行账户名
  9453. type: string
  9454. bankaccountno:
  9455. description: 银行卡号
  9456. type: string
  9457. bankid:
  9458. description: 银行编号
  9459. type: string
  9460. bankticket:
  9461. description: 银行流水
  9462. type: string
  9463. branchbankid:
  9464. description: 银行支行号
  9465. type: string
  9466. branchbankname:
  9467. description: 银行支行名称
  9468. type: string
  9469. capamountout:
  9470. description: 出金(劣后本金) - 外部子账户
  9471. type: number
  9472. certificatephotourl:
  9473. description: 凭证地址
  9474. type: string
  9475. charge:
  9476. description: 手续费
  9477. type: number
  9478. checkerrorflag:
  9479. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9480. type: integer
  9481. currency:
  9482. description: 币种
  9483. type: string
  9484. cusbankid:
  9485. description: 托管银行编号
  9486. type: string
  9487. exchticket:
  9488. description: 银行服务流水号
  9489. type: string
  9490. executetype:
  9491. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  9492. type: integer
  9493. extendinfo:
  9494. description: 扩展信息
  9495. type: string
  9496. extoperateid:
  9497. description: 交易服务流水号
  9498. type: integer
  9499. infamount:
  9500. description: 劣后金额(自有)
  9501. type: number
  9502. logincode:
  9503. description: 登录账号(账号)
  9504. type: string
  9505. netaddr:
  9506. description: 调转网址
  9507. type: string
  9508. priamount:
  9509. description: 优先金额(授信)
  9510. type: number
  9511. reauditid:
  9512. description: 复审人
  9513. type: integer
  9514. reauditremark:
  9515. description: 复审备注
  9516. type: string
  9517. reaudittime:
  9518. description: 复审时间
  9519. type: string
  9520. relatedorderid:
  9521. description: 三方关联ID
  9522. type: string
  9523. remark:
  9524. description: 备注
  9525. type: string
  9526. remark2:
  9527. description: 备注(失败原因)
  9528. type: string
  9529. soucreamount:
  9530. description: 原始出入金金额
  9531. type: number
  9532. soucrecurrencyid:
  9533. description: 原始出入金币种
  9534. type: integer
  9535. tradedate:
  9536. description: 交易日(yyyyMMdd)
  9537. type: string
  9538. updatetime:
  9539. description: 更新时间(申请时间)
  9540. type: string
  9541. userid:
  9542. description: 用户id
  9543. type: integer
  9544. userinfotype:
  9545. description: 账户类型 1-个人 2-企业
  9546. type: integer
  9547. type: object
  9548. models.QhjAgreementChangeLog:
  9549. properties:
  9550. agreementcontent:
  9551. description: 协议内容
  9552. type: string
  9553. agreementfrequency:
  9554. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9555. type: integer
  9556. agreementid:
  9557. description: 协议ID
  9558. type: integer
  9559. agreementname:
  9560. description: 协议名称
  9561. type: string
  9562. agreementno:
  9563. description: 协议编号
  9564. type: string
  9565. agreementtype:
  9566. description: 协议类型 - 1:注册 2:登录 3:交易
  9567. type: integer
  9568. agreementversion:
  9569. description: 协议版本号
  9570. type: integer
  9571. logid:
  9572. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9573. type: integer
  9574. reviserid:
  9575. description: 修改人
  9576. type: integer
  9577. revisersrc:
  9578. description: 修改来源 - 1:管理端 2:终端
  9579. type: integer
  9580. updatetime:
  9581. description: 更新时间
  9582. type: string
  9583. type: object
  9584. models.QhjAgreementConfig:
  9585. properties:
  9586. agreementcontent:
  9587. description: 协议内容
  9588. type: string
  9589. agreementfrequency:
  9590. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9591. type: integer
  9592. agreementid:
  9593. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9594. type: integer
  9595. agreementname:
  9596. description: 协议名称
  9597. type: string
  9598. agreementno:
  9599. description: 协议编号
  9600. type: string
  9601. agreementtype:
  9602. description: 协议类型 - 1:注册 2:登录 3:交易
  9603. type: integer
  9604. agreementversion:
  9605. description: 协议版本号(从1开始每次修改加1)
  9606. type: integer
  9607. createtime:
  9608. description: 创建时间
  9609. type: string
  9610. creatorid:
  9611. description: 创建人
  9612. type: integer
  9613. creatorsrc:
  9614. description: 创建来源 - 1:管理端 2:终端
  9615. type: integer
  9616. isvalid:
  9617. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9618. type: integer
  9619. reviserid:
  9620. description: 修改人
  9621. type: integer
  9622. revisersrc:
  9623. description: 修改来源 - 1:管理端 2:终端
  9624. type: integer
  9625. updatetime:
  9626. description: 更新时间
  9627. type: string
  9628. type: object
  9629. models.QhjAreaFinanceConfig:
  9630. properties:
  9631. additionalratio:
  9632. description: 追加款比例
  9633. type: number
  9634. advanceratio:
  9635. description: 预付款比例
  9636. type: number
  9637. alarmratio:
  9638. description: 告警比例
  9639. type: number
  9640. consumptiondirectreward:
  9641. description: 消费直推奖励值
  9642. type: number
  9643. consumptionenabled:
  9644. description: 是否启用消费奖励 - 0:不启用 1:启用
  9645. type: integer
  9646. consumptionindirectreward:
  9647. description: 消费间推奖励值
  9648. type: number
  9649. consumptionmodel:
  9650. description: 消费奖励方式 - 1:比率 2:固定
  9651. type: integer
  9652. customerservicenum:
  9653. description: 客服电话
  9654. type: string
  9655. dayinterestrate:
  9656. description: 日利率
  9657. type: number
  9658. disableconsumptiontips:
  9659. description: 关闭消费奖励提示
  9660. type: string
  9661. modifierid:
  9662. description: 修改人ID
  9663. type: integer
  9664. modifysrc:
  9665. description: 审核来源 - 1:管理端 2:终端
  9666. type: integer
  9667. modifytime:
  9668. description: 修改时间
  9669. type: string
  9670. promotionvalue:
  9671. description: 推广奖励值(固定)
  9672. type: number
  9673. scoreconfigvalue1:
  9674. description: 提货积分配置1
  9675. type: integer
  9676. scoreconfigvalue2:
  9677. description: 提货积分配置2
  9678. type: integer
  9679. userid:
  9680. description: 机构用户ID其他做市关系,都设置为 1
  9681. type: integer
  9682. username:
  9683. description: 用户名称
  9684. type: string
  9685. type: object
  9686. models.QhjBankAccountSign:
  9687. properties:
  9688. accountcode:
  9689. description: 资金账号
  9690. type: string
  9691. accountname:
  9692. description: 资金账号对应的账号名(UserName)
  9693. type: string
  9694. accountname2:
  9695. description: 资金账号对应的账号名(UserName) - 密文
  9696. type: string
  9697. accounttype:
  9698. description: 账户类型(UserType)
  9699. type: integer
  9700. applicationtime:
  9701. description: 最后一次更新的时间
  9702. type: string
  9703. applyexchticket:
  9704. description: 申请流水
  9705. type: string
  9706. auditid:
  9707. description: 审核人
  9708. type: integer
  9709. audittime:
  9710. description: 审核时间
  9711. type: string
  9712. bankaccountname:
  9713. description: 签约银行卡账号名
  9714. type: string
  9715. bankaccountname2:
  9716. description: 签约银行卡账号名 - 密文
  9717. type: string
  9718. bankaccountno:
  9719. description: 银行卡号
  9720. type: string
  9721. bankaccountno2:
  9722. description: 银行卡号 - 密文
  9723. type: string
  9724. bankaccounttype:
  9725. description: 银行账户类型 - 1-对私; 2-对公
  9726. type: integer
  9727. bankcardtype:
  9728. description: 银行卡类型
  9729. type: integer
  9730. bankchildaccount:
  9731. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9732. type: string
  9733. bankcity:
  9734. description: 开户行城市
  9735. type: string
  9736. bankid:
  9737. description: 签约银行ID
  9738. type: string
  9739. bankname:
  9740. description: 签约银行名称
  9741. type: string
  9742. bankprovince:
  9743. description: 开户行省份
  9744. type: string
  9745. branchbankid:
  9746. description: 签约银行支行号
  9747. type: string
  9748. branchbankname:
  9749. description: 签约银行支行名称
  9750. type: string
  9751. cardno:
  9752. description: 证件号码
  9753. type: string
  9754. cardno2:
  9755. description: 证件号码 - 密文
  9756. type: string
  9757. cardtype:
  9758. description: 证件类型
  9759. type: string
  9760. currency:
  9761. description: 币种
  9762. type: string
  9763. cusbankid:
  9764. description: 托管银行编号
  9765. type: string
  9766. direct:
  9767. description: 方向(可以判断那方先发起的签约)
  9768. type: integer
  9769. exchticket:
  9770. description: 最后一次签约成功的流水号
  9771. type: string
  9772. extendinfo:
  9773. description: 扩展信息(JSON字符串)
  9774. type: string
  9775. mobilephone:
  9776. description: 手机号
  9777. type: string
  9778. mobilephone2:
  9779. description: 手机号 - 密文
  9780. type: string
  9781. netaddr:
  9782. description: 调转网址
  9783. type: string
  9784. relateduserid:
  9785. description: 关联使用者userid
  9786. type: integer
  9787. signstatus:
  9788. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  9789. type: integer
  9790. updatetime:
  9791. description: 更新时间(签解约更新时间)
  9792. type: string
  9793. type: object
  9794. models.QhjBankInfo:
  9795. properties:
  9796. bankid:
  9797. description: 银行ID
  9798. type: string
  9799. bankname:
  9800. description: 银行名称
  9801. type: string
  9802. clearbankno:
  9803. description: 清算系统银行编号
  9804. type: string
  9805. orderindex:
  9806. description: 排序顺序
  9807. type: integer
  9808. status:
  9809. description: 状态 - 0:正常 1:注销
  9810. type: integer
  9811. type: object
  9812. models.QhjBrokerApply:
  9813. properties:
  9814. applicantid:
  9815. description: 申请人
  9816. type: integer
  9817. applysrc:
  9818. description: 申请来源 - 1:管理端 2:终端
  9819. type: integer
  9820. applystatus:
  9821. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9822. type: integer
  9823. applytime:
  9824. description: 申请时间
  9825. type: string
  9826. auditorid:
  9827. description: 审核人
  9828. type: integer
  9829. auditremark:
  9830. description: 审核备注
  9831. type: string
  9832. auditsrc:
  9833. description: 审核来源 - 1:管理端 2:终端
  9834. type: integer
  9835. audittime:
  9836. description: 审核时间
  9837. type: string
  9838. audittradedate:
  9839. description: 审核交易日(yyyyMMdd)
  9840. type: string
  9841. brokerapplyid:
  9842. description: 申请ID(SEQ_BROKERAPPLY)
  9843. type: integer
  9844. cardbackphotourl:
  9845. description: 证件背面图片地址
  9846. type: string
  9847. cardfrontphotourl:
  9848. description: 证件正面图片地址
  9849. type: string
  9850. cardnum:
  9851. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9852. type: string
  9853. customername:
  9854. description: 姓名
  9855. type: string
  9856. logincode:
  9857. description: 登录代码
  9858. type: string
  9859. mobile:
  9860. description: 手机号码
  9861. type: string
  9862. parentuserid:
  9863. description: 所属机构id
  9864. type: integer
  9865. parentusername:
  9866. description: 所属机构名称
  9867. type: string
  9868. refereeuserid:
  9869. description: 推荐人id(经纪人)
  9870. type: integer
  9871. refernum:
  9872. description: 推荐码
  9873. type: string
  9874. remark:
  9875. description: 备注
  9876. type: string
  9877. subarealevelpath:
  9878. description: 层级路径
  9879. type: string
  9880. tradedate:
  9881. description: 交易日(yyyyMMdd)
  9882. type: string
  9883. userid:
  9884. description: 申请人用户ID
  9885. type: integer
  9886. userinfotype:
  9887. description: 用户类型 1-个人 2-企业
  9888. type: integer
  9889. username:
  9890. description: 用户名称
  9891. type: string
  9892. type: object
  9893. models.QhjBrokerApplyEx:
  9894. properties:
  9895. applylist:
  9896. description: 经纪人申请记录(只返回最新一条)
  9897. items:
  9898. $ref: '#/definitions/models.QhjBrokerApply'
  9899. type: array
  9900. canrecommend:
  9901. description: 是否经纪人 0-不是 1-是
  9902. type: integer
  9903. refernum:
  9904. description: 推荐码
  9905. type: string
  9906. userid:
  9907. description: 用户id
  9908. type: integer
  9909. userinfotype:
  9910. description: 用户类型 1-个人 2-企业
  9911. type: integer
  9912. type: object
  9913. models.QhjBrokerRewardLog:
  9914. properties:
  9915. accountid:
  9916. description: 资金账号ID
  9917. type: integer
  9918. createtime:
  9919. description: 创建时间(时间)
  9920. type: string
  9921. handlestatus:
  9922. description: 处理状态
  9923. type: integer
  9924. logid:
  9925. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9926. type: string
  9927. marketid:
  9928. description: 市场ID
  9929. type: integer
  9930. mmaccountid:
  9931. description: 做市商资金账号ID
  9932. type: string
  9933. mmuserid:
  9934. description: 做市商用户ID
  9935. type: string
  9936. rewardamount:
  9937. description: 奖励金额
  9938. type: number
  9939. rewardmodel:
  9940. description: 消费奖励方式 - 1:比率 2:固定
  9941. type: integer
  9942. rewardtype:
  9943. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9944. type: integer
  9945. rewardvalue:
  9946. description: 配置奖励值
  9947. type: number
  9948. srcamount:
  9949. description: 成交金额 [消费奖励] (金额)
  9950. type: number
  9951. srcgoodsid:
  9952. description: 来源商品ID [消费奖励]
  9953. type: string
  9954. srctime:
  9955. description: 来源时间 (成交时间) [消费奖励]
  9956. type: string
  9957. srctradeid:
  9958. description: 来源成交单ID [消费奖励] - 排除提货成交
  9959. type: string
  9960. srcuserid:
  9961. description: 来源用户ID(推广账户)
  9962. type: string
  9963. srcusername:
  9964. description: 推广账户名称
  9965. type: string
  9966. tradedate:
  9967. description: 交易日(yyyyMMdd)
  9968. type: string
  9969. userid:
  9970. description: 经纪人用户ID
  9971. type: integer
  9972. type: object
  9973. models.QhjContract:
  9974. properties:
  9975. contractconfirmtime:
  9976. description: 合同确认时间(时间)
  9977. type: string
  9978. currisklevel:
  9979. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9980. type: integer
  9981. decimalplace:
  9982. description: 商品报价小数位
  9983. type: integer
  9984. enumdicname:
  9985. description: 单位名称
  9986. type: string
  9987. goodscode:
  9988. description: 商品代码
  9989. type: string
  9990. goodsid:
  9991. description: 商品ID [5:融资单]
  9992. type: integer
  9993. goodsname:
  9994. description: 商品名称
  9995. type: string
  9996. goodunitid:
  9997. description: 商品单位id
  9998. type: integer
  9999. initmargin:
  10000. description: 初始保证金(首付款)
  10001. type: number
  10002. lenderamount:
  10003. description: 贷款金额(总额|订单总额)
  10004. type: number
  10005. marginratio:
  10006. description: 保证金比率(首付比例)
  10007. type: number
  10008. payamount:
  10009. description: 已付(已付货款)
  10010. type: number
  10011. reckonrecovermargin:
  10012. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10013. type: number
  10014. recoveredmargin:
  10015. description: 已追缴保证金
  10016. type: number
  10017. remainamount:
  10018. description: 合同剩余金额(融资额)
  10019. type: number
  10020. scfcontractid:
  10021. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10022. type: string
  10023. scfcontractstatus:
  10024. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10025. type: integer
  10026. scfcontracttype:
  10027. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10028. type: integer
  10029. totalinterest:
  10030. description: 已计总利息(利息)
  10031. type: number
  10032. tradeprice:
  10033. description: 成交价格(成本价格)
  10034. type: number
  10035. userid:
  10036. description: 用户ID
  10037. type: integer
  10038. username:
  10039. description: 用户名称
  10040. type: string
  10041. wrqty:
  10042. description: 仓单数量(数量)
  10043. type: number
  10044. type: object
  10045. models.QhjContractLog:
  10046. properties:
  10047. amount:
  10048. description: 支付金额
  10049. type: number
  10050. amounttype:
  10051. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10052. type: integer
  10053. logid:
  10054. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10055. type: string
  10056. remainamount:
  10057. description: 剩余货款
  10058. type: number
  10059. scfcontractid:
  10060. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10061. type: integer
  10062. updatetime:
  10063. description: 更新时间
  10064. type: string
  10065. type: object
  10066. models.QhjCusBankSignBankEx:
  10067. properties:
  10068. banklst:
  10069. description: 银行列表
  10070. items:
  10071. $ref: '#/definitions/models.QhjBankInfo'
  10072. type: array
  10073. canallot:
  10074. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10075. type: integer
  10076. canallotquery:
  10077. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10078. type: integer
  10079. canbindcard:
  10080. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10081. type: integer
  10082. caninamount:
  10083. description: 是否可入金 - 0:不可 1:可以
  10084. type: integer
  10085. caninamount2:
  10086. description: 是否可入金(网银端) - 0:不可 1:可以
  10087. type: integer
  10088. canmodifybankcard:
  10089. description: 是否可修改银行卡号 - 0:不可 1:可以
  10090. type: integer
  10091. canmodifyphone:
  10092. description: 是否可修改手机号 - 0:不可 1:可以
  10093. type: integer
  10094. canmodifysigninfo:
  10095. description: 是否可修改签约信息 - 0:不可 1:可以
  10096. type: integer
  10097. canoutamount:
  10098. description: 是否可出金 - 0:不可 1:可以
  10099. type: integer
  10100. canoutamount2:
  10101. description: 是否可出金(网银端) - 0:不可 1:可以
  10102. type: integer
  10103. canrelease:
  10104. description: 是否可解约 - 0:不可 1:可以
  10105. type: integer
  10106. canrelease2:
  10107. description: 是否可解约(网银端) - 0:不可 1:可以
  10108. type: integer
  10109. cansign:
  10110. description: 是否可签约 - 0:不可 1:可以
  10111. type: integer
  10112. cansign2:
  10113. description: 是否可签约(网银端) - 0:不可 1:可以
  10114. type: integer
  10115. currency:
  10116. description: 币种
  10117. type: string
  10118. cusbankid:
  10119. description: 托管银行编号(对应清算中心TRAN_NO)
  10120. type: string
  10121. cusbankname:
  10122. description: 银行业务名称
  10123. type: string
  10124. cusbankshortname:
  10125. description: 银行业务简称
  10126. type: string
  10127. exchbankid:
  10128. description: 交易所开户银行ID
  10129. type: string
  10130. exchpaybankaccname:
  10131. description: 交易所支出结算账户户名
  10132. type: string
  10133. exchpaybankaccno:
  10134. description: 交易所支出结算账户
  10135. type: string
  10136. isneedcheck:
  10137. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10138. type: integer
  10139. isneedclear:
  10140. description: 是否需要清算 - 0:不需要 1:需要
  10141. type: integer
  10142. lastcheckstatus:
  10143. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10144. type: integer
  10145. lastchecktime:
  10146. description: 最后对账时间
  10147. type: string
  10148. lastclearstatus:
  10149. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10150. type: integer
  10151. lastcleartime:
  10152. description: 最后清算时间
  10153. type: string
  10154. lastsignintime:
  10155. description: 最后签到时间
  10156. type: string
  10157. lastsignouttime:
  10158. description: 最后签退时间
  10159. type: string
  10160. riskinfo:
  10161. description: 签约风险提示书
  10162. type: string
  10163. signstatus:
  10164. description: 当前签到/签退状态 - 1:签到 2:签退
  10165. type: integer
  10166. tradedate:
  10167. description: 交易日(yyyyMMdd)
  10168. type: string
  10169. updatetime:
  10170. description: 当前签到/签退更新时间
  10171. type: string
  10172. type: object
  10173. models.QhjCustomer:
  10174. properties:
  10175. address:
  10176. description: 通讯地址
  10177. type: string
  10178. attachment1:
  10179. description: 附件1
  10180. type: string
  10181. audittime:
  10182. description: 审核时间
  10183. type: string
  10184. cardbackphotourl:
  10185. description: 证件反面图片地址
  10186. type: string
  10187. cardfrontphotourl:
  10188. description: 证件正面图片地址
  10189. type: string
  10190. cardnum:
  10191. description: 证件号码
  10192. type: string
  10193. cardtype:
  10194. description: 证件类型
  10195. type: integer
  10196. cardtypename:
  10197. description: 证件类型名称
  10198. type: string
  10199. cityid:
  10200. description: 市
  10201. type: integer
  10202. cityname:
  10203. description: 城市名称
  10204. type: string
  10205. contactname:
  10206. description: 联系人
  10207. type: string
  10208. countryid:
  10209. description: 国家
  10210. type: integer
  10211. countryname:
  10212. description: 国家名称
  10213. type: string
  10214. createtime:
  10215. description: 创建时间
  10216. type: string
  10217. customername:
  10218. description: 客户名称
  10219. type: string
  10220. districtid:
  10221. description: 区域
  10222. type: integer
  10223. districtname:
  10224. description: 地区名称
  10225. type: string
  10226. email:
  10227. description: 邮件
  10228. type: string
  10229. legalpersonname:
  10230. description: 法人姓名(企业)
  10231. type: string
  10232. logincode:
  10233. description: 登录账号(代码)
  10234. type: string
  10235. memberuserid:
  10236. description: 所属机构ID(所属会员)
  10237. type: integer
  10238. memberusername:
  10239. description: 所属会员名称
  10240. type: string
  10241. mobile:
  10242. description: 手机号码
  10243. type: string
  10244. modifytime:
  10245. description: 修改时间
  10246. type: string
  10247. nickname:
  10248. description: 昵称
  10249. type: string
  10250. parentuserid:
  10251. description: 上级机构(所属机构)
  10252. type: integer
  10253. parentusername:
  10254. description: 所属机构名称
  10255. type: string
  10256. provinceid:
  10257. description: 省
  10258. type: integer
  10259. provincename:
  10260. description: 省名称
  10261. type: string
  10262. proxystatementurl:
  10263. description: 授权委托书
  10264. type: string
  10265. remark:
  10266. description: 备注
  10267. type: string
  10268. status:
  10269. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10270. type: integer
  10271. statusdesc:
  10272. description: 账户状态中文描述
  10273. type: string
  10274. taxpayernum:
  10275. description: 纳税人识别号
  10276. type: string
  10277. telphone:
  10278. description: 联系电话
  10279. type: string
  10280. userid:
  10281. description: 用户ID
  10282. type: integer
  10283. userinfotype:
  10284. description: 客户类型 1-个人 2-企业
  10285. type: integer
  10286. username:
  10287. description: 用户名称
  10288. type: string
  10289. type: object
  10290. models.QhjCustomerSignLog:
  10291. properties:
  10292. agreementcontent:
  10293. description: 协议内容
  10294. type: string
  10295. agreementid:
  10296. description: 协议ID
  10297. type: integer
  10298. agreementname:
  10299. description: 协议名称
  10300. type: string
  10301. agreementno:
  10302. description: 协议编号
  10303. type: string
  10304. agreementtype:
  10305. description: 协议类型 - 1:注册 2:登录 3:交易
  10306. type: integer
  10307. agreementversion:
  10308. description: 协议版本号
  10309. type: integer
  10310. createtime:
  10311. description: 创建时间
  10312. type: string
  10313. goodscode:
  10314. description: 商品代码
  10315. type: string
  10316. goodsid:
  10317. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10318. type: integer
  10319. goodsname:
  10320. description: 商品名称
  10321. type: string
  10322. logid:
  10323. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10324. type: integer
  10325. nodetype:
  10326. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10327. type: integer
  10328. signadressurl:
  10329. description: 签约文件地址
  10330. type: string
  10331. signtimestamp:
  10332. description: 签约状态时间戳
  10333. type: string
  10334. userid:
  10335. description: 客户ID
  10336. type: integer
  10337. username:
  10338. description: 客户名称
  10339. type: string
  10340. type: object
  10341. models.QhjCustomerSignStatus:
  10342. properties:
  10343. createtime:
  10344. description: 创建时间
  10345. type: string
  10346. goodscode:
  10347. description: 商品代码
  10348. type: string
  10349. goodsid:
  10350. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10351. type: integer
  10352. goodsname:
  10353. description: 商品名称
  10354. type: string
  10355. nodetype:
  10356. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10357. type: integer
  10358. signtimestamp:
  10359. description: 签约状态时间戳
  10360. type: string
  10361. tradedate:
  10362. description: 创建交易日(yyyyMMdd)
  10363. type: string
  10364. updatetime:
  10365. description: 更新时间
  10366. type: string
  10367. userid:
  10368. description: 客户ID
  10369. type: integer
  10370. username:
  10371. description: 客户名称
  10372. type: string
  10373. type: object
  10374. models.QhjMgrAccountOutInApply:
  10375. properties:
  10376. accountcode:
  10377. description: 资金账号
  10378. type: string
  10379. accountname:
  10380. description: 用户名称(名称)
  10381. type: string
  10382. accountpwd:
  10383. description: 资金密码
  10384. type: string
  10385. accountticket:
  10386. description: 最新账户服务流水号
  10387. type: string
  10388. amount:
  10389. description: 金额
  10390. type: number
  10391. applyremark:
  10392. description: 申请备注
  10393. type: string
  10394. applystatus:
  10395. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10396. type: integer
  10397. auditid:
  10398. description: 审核人
  10399. type: integer
  10400. audittime:
  10401. description: 审核时间
  10402. type: string
  10403. bank_apply_ticket:
  10404. description: 银行申请流水
  10405. type: string
  10406. bankaccountname:
  10407. description: 银行账户名
  10408. type: string
  10409. bankaccountno:
  10410. description: 银行卡号
  10411. type: string
  10412. bankid:
  10413. description: 银行编号
  10414. type: string
  10415. bankname:
  10416. description: 银行名称
  10417. type: string
  10418. bankticket:
  10419. description: 银行流水
  10420. type: string
  10421. branchbankid:
  10422. description: 银行支行号
  10423. type: string
  10424. branchbankname:
  10425. description: 银行支行名称
  10426. type: string
  10427. capamountout:
  10428. description: 出金(劣后本金) - 外部子账户
  10429. type: number
  10430. certificatephotourl:
  10431. description: 凭证地址
  10432. type: string
  10433. charge:
  10434. description: 手续费
  10435. type: number
  10436. checkerrorflag:
  10437. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10438. type: integer
  10439. currency:
  10440. description: 币种
  10441. type: string
  10442. cusbankid:
  10443. description: 托管银行编号
  10444. type: string
  10445. exchticket:
  10446. description: 银行服务流水号
  10447. type: string
  10448. executetype:
  10449. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10450. type: integer
  10451. extendinfo:
  10452. description: 扩展信息
  10453. type: string
  10454. extoperateid:
  10455. description: 交易服务流水号
  10456. type: integer
  10457. infamount:
  10458. description: 劣后金额(自有)
  10459. type: number
  10460. logincode:
  10461. description: 登录账号(账号)
  10462. type: string
  10463. netaddr:
  10464. description: 调转网址
  10465. type: string
  10466. priamount:
  10467. description: 优先金额(授信)
  10468. type: number
  10469. reauditid:
  10470. description: 复审人
  10471. type: integer
  10472. reauditremark:
  10473. description: 复审备注
  10474. type: string
  10475. reaudittime:
  10476. description: 复审时间
  10477. type: string
  10478. relatedorderid:
  10479. description: 三方关联ID
  10480. type: string
  10481. remark:
  10482. description: 备注
  10483. type: string
  10484. remark2:
  10485. description: 备注(失败原因)
  10486. type: string
  10487. soucreamount:
  10488. description: 原始出入金金额
  10489. type: number
  10490. soucrecurrencyid:
  10491. description: 原始出入金币种
  10492. type: integer
  10493. tradedate:
  10494. description: 交易日(yyyyMMdd)
  10495. type: string
  10496. updatetime:
  10497. description: 更新时间(申请时间)
  10498. type: string
  10499. userid:
  10500. description: 用户id
  10501. type: integer
  10502. userinfotype:
  10503. description: 账户类型 1-个人 2-企业
  10504. type: integer
  10505. type: object
  10506. models.QhjMgrBrokerApply:
  10507. properties:
  10508. applicantid:
  10509. description: 申请人
  10510. type: integer
  10511. applysrc:
  10512. description: 申请来源 - 1:管理端 2:终端
  10513. type: integer
  10514. applystatus:
  10515. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10516. type: integer
  10517. applytime:
  10518. description: 申请时间
  10519. type: string
  10520. auditorid:
  10521. description: 审核人
  10522. type: integer
  10523. auditremark:
  10524. description: 审核备注
  10525. type: string
  10526. auditsrc:
  10527. description: 审核来源 - 1:管理端 2:终端
  10528. type: integer
  10529. audittime:
  10530. description: 审核时间
  10531. type: string
  10532. audittradedate:
  10533. description: 审核交易日(yyyyMMdd)
  10534. type: string
  10535. brokerapplyid:
  10536. description: 申请ID(SEQ_BROKERAPPLY)
  10537. type: integer
  10538. cardbackphotourl:
  10539. description: 证件背面图片地址
  10540. type: string
  10541. cardfrontphotourl:
  10542. description: 证件正面图片地址
  10543. type: string
  10544. cardnum:
  10545. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10546. type: string
  10547. customername:
  10548. description: 姓名
  10549. type: string
  10550. filterstatus:
  10551. description: 筛选条件
  10552. type: string
  10553. logincode:
  10554. description: 登录代码
  10555. type: string
  10556. mobile:
  10557. description: 手机号码
  10558. type: string
  10559. parentuserid:
  10560. description: 所属机构id
  10561. type: integer
  10562. parentusername:
  10563. description: 所属机构名称
  10564. type: string
  10565. refereeuserid:
  10566. description: 推荐人id(经纪人)
  10567. type: integer
  10568. refernum:
  10569. description: 推荐码
  10570. type: string
  10571. remark:
  10572. description: 备注
  10573. type: string
  10574. subarealevelpath:
  10575. description: 层级路径
  10576. type: string
  10577. tradedate:
  10578. description: 交易日(yyyyMMdd)
  10579. type: string
  10580. userid:
  10581. description: 申请人用户ID
  10582. type: integer
  10583. userinfotype:
  10584. description: 用户类型 1-个人 2-企业
  10585. type: integer
  10586. username:
  10587. description: 用户名称
  10588. type: string
  10589. type: object
  10590. models.QhjMgrBrokerRewardReport:
  10591. properties:
  10592. createtime:
  10593. description: 创建时间(注册时间)
  10594. type: string
  10595. cycletime:
  10596. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10597. type: string
  10598. cycletype:
  10599. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10600. type: integer
  10601. directtotalnum:
  10602. description: 直推总人数【期末】
  10603. type: integer
  10604. indirecttotalnum:
  10605. description: 间推总人数【期末】
  10606. type: integer
  10607. mobile:
  10608. description: 电话号码
  10609. type: string
  10610. refereeuserid:
  10611. description: 推荐人id(经纪人id)
  10612. type: integer
  10613. refereeusername:
  10614. description: 推荐人名称(经纪人) 上级经纪人名称
  10615. type: string
  10616. refernum:
  10617. description: 推荐码
  10618. type: string
  10619. subarealevelpath:
  10620. description: 用户层级路径
  10621. type: string
  10622. todayrewardamount:
  10623. description: 奖励总金额【汇总】
  10624. type: number
  10625. updatetime:
  10626. description: 更新时间
  10627. type: string
  10628. userid:
  10629. description: 经纪人用户ID
  10630. type: integer
  10631. userinfotype:
  10632. description: 用户类型 1-个人 2-企业
  10633. type: integer
  10634. username:
  10635. description: 用户名称
  10636. type: string
  10637. type: object
  10638. models.QhjMgrContract:
  10639. properties:
  10640. contractconfirmtime:
  10641. description: 合同确认时间(时间)
  10642. type: string
  10643. currisklevel:
  10644. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10645. type: integer
  10646. decimalplace:
  10647. description: 商品报价小数位
  10648. type: integer
  10649. enumdicname:
  10650. description: 单位名称
  10651. type: string
  10652. goodscode:
  10653. description: 商品代码
  10654. type: string
  10655. goodsid:
  10656. description: 商品ID [5:融资单]
  10657. type: integer
  10658. goodsname:
  10659. description: 商品名称
  10660. type: string
  10661. goodunitid:
  10662. description: 商品单位id
  10663. type: integer
  10664. initmargin:
  10665. description: 初始保证金(首付款)
  10666. type: number
  10667. lenderamount:
  10668. description: 贷款金额(总额|订单总额)
  10669. type: number
  10670. logincode:
  10671. description: 账号(登录代码)
  10672. type: string
  10673. marginratio:
  10674. description: 保证金比率(首付比例)
  10675. type: number
  10676. mobile:
  10677. description: 电话号码(用户资料里的电话)
  10678. type: string
  10679. payamount:
  10680. description: 已付(已付货款)
  10681. type: number
  10682. reckonrecovermargin:
  10683. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10684. type: number
  10685. recoveredmargin:
  10686. description: 已追缴保证金
  10687. type: number
  10688. remainamount:
  10689. description: 合同剩余金额(融资额)
  10690. type: number
  10691. scfcontractid:
  10692. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10693. type: string
  10694. scfcontractstatus:
  10695. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10696. type: integer
  10697. scfcontracttype:
  10698. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10699. type: integer
  10700. totalinterest:
  10701. description: 已计总利息(利息)
  10702. type: number
  10703. tradedate:
  10704. description: 交易日
  10705. type: string
  10706. tradeprice:
  10707. description: 成交价格(成本价格)
  10708. type: number
  10709. userid:
  10710. description: 用户ID
  10711. type: integer
  10712. userinfotype:
  10713. description: 用户类型 1-个人 2-企业
  10714. type: integer
  10715. username:
  10716. description: 用户名称
  10717. type: string
  10718. wrqty:
  10719. description: 仓单数量(数量)
  10720. type: number
  10721. type: object
  10722. models.QhjMgrCustomer:
  10723. properties:
  10724. address:
  10725. description: 通讯地址
  10726. type: string
  10727. attachment1:
  10728. description: 附件1
  10729. type: string
  10730. audittime:
  10731. description: 审核时间
  10732. type: string
  10733. birthday:
  10734. description: 生日
  10735. type: string
  10736. brokerid:
  10737. description: 所属客户经理id
  10738. type: integer
  10739. brokername:
  10740. description: 所属客户经理名称
  10741. type: string
  10742. cardbackphotourl:
  10743. description: 证件反面图片地址
  10744. type: string
  10745. cardfrontphotourl:
  10746. description: 证件正面图片地址
  10747. type: string
  10748. cardnum:
  10749. description: 证件号码
  10750. type: string
  10751. cardtype:
  10752. description: 证件类型
  10753. type: integer
  10754. cardtypename:
  10755. description: 证件类型名称
  10756. type: string
  10757. cityid:
  10758. description: 市
  10759. type: integer
  10760. cityname:
  10761. description: 城市名称
  10762. type: string
  10763. contactname:
  10764. description: 联系人
  10765. type: string
  10766. countryid:
  10767. description: 国家
  10768. type: integer
  10769. countryname:
  10770. description: 国家名称
  10771. type: string
  10772. createtime:
  10773. description: 创建时间
  10774. type: string
  10775. customername:
  10776. description: 客户名称
  10777. type: string
  10778. districtid:
  10779. description: 区域
  10780. type: integer
  10781. districtname:
  10782. description: 地区名称
  10783. type: string
  10784. email:
  10785. description: 邮件
  10786. type: string
  10787. legalpersonname:
  10788. description: 法人姓名(企业)
  10789. type: string
  10790. logincode:
  10791. description: 登录账号(代码)
  10792. type: string
  10793. memberuserid:
  10794. description: 所属机构ID(所属会员)
  10795. type: integer
  10796. memberusername:
  10797. description: 所属会员名称
  10798. type: string
  10799. mobile:
  10800. description: 手机号码
  10801. type: string
  10802. modifytime:
  10803. description: 修改时间
  10804. type: string
  10805. nickname:
  10806. description: 昵称
  10807. type: string
  10808. parentuserid:
  10809. description: 上级机构(所属机构)
  10810. type: integer
  10811. parentusername:
  10812. description: 所属机构名称
  10813. type: string
  10814. provinceid:
  10815. description: 省
  10816. type: integer
  10817. provincename:
  10818. description: 省名称
  10819. type: string
  10820. proxystatementurl:
  10821. description: 授权委托书
  10822. type: string
  10823. querytype:
  10824. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10825. type: integer
  10826. remark:
  10827. description: 备注
  10828. type: string
  10829. sex:
  10830. description: 性别 0-女 1-男
  10831. type: integer
  10832. status:
  10833. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10834. type: integer
  10835. statusdesc:
  10836. description: 账户状态中文描述
  10837. type: string
  10838. taxpayernum:
  10839. description: 纳税人识别号
  10840. type: string
  10841. telphone:
  10842. description: 联系电话
  10843. type: string
  10844. userid:
  10845. description: 用户ID
  10846. type: integer
  10847. userinfotype:
  10848. description: 客户类型 1-个人 2-企业
  10849. type: integer
  10850. username:
  10851. description: 用户名称
  10852. type: string
  10853. type: object
  10854. models.QhjMgrPickGoods:
  10855. properties:
  10856. enumdicname:
  10857. description: 单位名称(提货商品)
  10858. type: string
  10859. goodsid:
  10860. description: 商品id
  10861. type: integer
  10862. imageaddress:
  10863. description: 图片
  10864. type: string
  10865. modifierid:
  10866. description: 修改人
  10867. type: integer
  10868. modifiername:
  10869. description: 修改人名称
  10870. type: string
  10871. modifysrc:
  10872. description: 修改来源 - 1:管理端 2:终端
  10873. type: integer
  10874. pickupgoodsagreeunit:
  10875. description: 合约乘数
  10876. type: number
  10877. pickupgoodsdesc:
  10878. description: 描述
  10879. type: string
  10880. pickupgoodsid:
  10881. description: 提货商品ID
  10882. type: string
  10883. pickupgoodsname:
  10884. description: 提货商品名称
  10885. type: string
  10886. pickupgoodsstatus:
  10887. description: 状态 - 1:正常 2:停用 3:注销
  10888. type: integer
  10889. pickupgoodsunitid:
  10890. description: 单位ID
  10891. type: integer
  10892. pickupratio:
  10893. description: 提货系数
  10894. type: number
  10895. preparedays:
  10896. description: 备货期(天)
  10897. type: integer
  10898. remark:
  10899. description: 备注
  10900. type: string
  10901. updatetime:
  10902. description: 更新时间
  10903. type: string
  10904. type: object
  10905. models.QhjMgrPositionRsp:
  10906. properties:
  10907. accountid:
  10908. description: 账号Id
  10909. type: integer
  10910. accountname:
  10911. description: 用户名称
  10912. type: string
  10913. agreeunit:
  10914. description: 合约乘数
  10915. type: number
  10916. averageprice:
  10917. description: 均价
  10918. type: number
  10919. avialqty:
  10920. description: 可用数量
  10921. type: number
  10922. decimalplace:
  10923. description: 报价小数位
  10924. type: integer
  10925. enumdicname:
  10926. description: 单位名称(商品)
  10927. type: string
  10928. frozenqty:
  10929. description: 冻结数量
  10930. type: number
  10931. goodscode:
  10932. description: 商品代码(内部)
  10933. type: string
  10934. goodsid:
  10935. description: 商品Id
  10936. type: integer
  10937. goodsname:
  10938. description: 商品名称
  10939. type: string
  10940. goodunitid:
  10941. description: 报价单位ID
  10942. type: integer
  10943. holderamount:
  10944. description: 金额
  10945. type: number
  10946. holderqty:
  10947. description: 持有数量
  10948. type: number
  10949. holdertype:
  10950. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10951. type: integer
  10952. logincode:
  10953. description: 登录代码(账户)
  10954. type: string
  10955. marketid:
  10956. description: 市场id
  10957. type: integer
  10958. qtydecimalplace:
  10959. description: 成交量小数位
  10960. type: integer
  10961. trademode:
  10962. description: 交易模式
  10963. type: integer
  10964. userid:
  10965. description: 用户id
  10966. type: integer
  10967. userinfotype:
  10968. description: 账户类型 1-个人 2-企业
  10969. type: integer
  10970. type: object
  10971. models.QhjMgrSubArea:
  10972. properties:
  10973. accountname:
  10974. description: 账户名称(机构名称)
  10975. type: string
  10976. memberuserid:
  10977. description: 所属会员ID
  10978. type: integer
  10979. parenttopuser:
  10980. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10981. type: string
  10982. parentuserid:
  10983. description: 所属机构ID
  10984. type: integer
  10985. rootuserid:
  10986. description: 根用户ID
  10987. type: string
  10988. subaccountlevel:
  10989. description: 子账户层数
  10990. type: integer
  10991. subarealevelpath:
  10992. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10993. type: string
  10994. userid:
  10995. description: 用户ID
  10996. type: integer
  10997. usertype:
  10998. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10999. type: integer
  11000. type: object
  11001. models.QhjMgrTradeDetailRsp:
  11002. properties:
  11003. accountid:
  11004. description: 资金账号
  11005. type: integer
  11006. accountname:
  11007. description: 用户名称
  11008. type: string
  11009. agreeunit:
  11010. description: 合约乘数
  11011. type: number
  11012. buyorsell:
  11013. description: 成交类型(方向) 0:买 1:卖
  11014. type: integer
  11015. decimalplace:
  11016. description: 报价小数位
  11017. type: integer
  11018. enumdicname:
  11019. description: 单位名称(商品)
  11020. type: string
  11021. goodscode:
  11022. description: 商品代码(内部)
  11023. type: string
  11024. goodsid:
  11025. description: 商品id
  11026. type: integer
  11027. goodsname:
  11028. description: 商品名称
  11029. type: string
  11030. goodunitid:
  11031. description: 报价单位ID
  11032. type: integer
  11033. logincode:
  11034. description: 登录代码(账户)
  11035. type: string
  11036. marketid:
  11037. description: 市场id
  11038. type: integer
  11039. orderid:
  11040. description: 关联委托单号
  11041. type: string
  11042. qtydecimalplace:
  11043. description: 成交量小数位
  11044. type: integer
  11045. tradeamount:
  11046. description: 金额
  11047. type: number
  11048. tradedate:
  11049. description: 交易日
  11050. type: string
  11051. tradeid:
  11052. description: 成交单号
  11053. type: string
  11054. trademode:
  11055. description: 交易模式
  11056. type: integer
  11057. tradeprice:
  11058. description: 价格
  11059. type: number
  11060. tradeqty:
  11061. description: 数量
  11062. type: number
  11063. tradetime:
  11064. description: 成交时间
  11065. type: string
  11066. userid:
  11067. description: 用户id
  11068. type: integer
  11069. userinfotype:
  11070. description: 账户类型 1-个人 2-企业
  11071. type: integer
  11072. type: object
  11073. models.QhjMgrTradeOrderDetailRsp:
  11074. properties:
  11075. accountid:
  11076. description: 资金账号
  11077. type: integer
  11078. accountname:
  11079. description: 用户名称
  11080. type: string
  11081. agreeunit:
  11082. description: 合约乘数
  11083. type: number
  11084. amount:
  11085. description: 金额
  11086. type: number
  11087. decimalplace:
  11088. description: 报价小数位
  11089. type: integer
  11090. enumdicname:
  11091. description: 单位名称(商品)
  11092. type: string
  11093. goodscode:
  11094. description: 商品代码(内部)
  11095. type: string
  11096. goodsid:
  11097. description: 商品id
  11098. type: integer
  11099. goodsname:
  11100. description: 商品名称
  11101. type: string
  11102. goodunitid:
  11103. description: 报价单位ID
  11104. type: integer
  11105. logincode:
  11106. description: 登录代码(账户)
  11107. type: string
  11108. marketid:
  11109. description: 市场id
  11110. type: integer
  11111. orderid:
  11112. description: 关联委托单号
  11113. type: string
  11114. orderprice:
  11115. description: 价格
  11116. type: number
  11117. orderqty:
  11118. description: 数量
  11119. type: number
  11120. orderstatus:
  11121. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11122. type: integer
  11123. ordertime:
  11124. description: 委托时间
  11125. type: string
  11126. qtydecimalplace:
  11127. description: 成交量小数位
  11128. type: integer
  11129. tradedate:
  11130. description: 交易日
  11131. type: string
  11132. trademode:
  11133. description: 交易模式
  11134. type: integer
  11135. userid:
  11136. description: 用户id
  11137. type: integer
  11138. userinfotype:
  11139. description: 账户类型 1-个人 2-企业
  11140. type: integer
  11141. type: object
  11142. models.QhjMgrTradePayOrder:
  11143. properties:
  11144. accountname:
  11145. description: 用户名称
  11146. type: string
  11147. advanceratio:
  11148. description: 首付比率
  11149. type: number
  11150. agreeunit:
  11151. description: 合约乘数
  11152. type: number
  11153. buyaccountid:
  11154. description: 买方账号ID[报价币种]
  11155. type: integer
  11156. buyorderid:
  11157. description: 买方委托单号(关联单号)
  11158. type: string
  11159. createtime:
  11160. description: 创建时间
  11161. type: string
  11162. decimalplace:
  11163. description: 报价小数位
  11164. type: integer
  11165. enumdicname:
  11166. description: 单位名称(商品)
  11167. type: string
  11168. goodscode:
  11169. description: 商品代码(内部)
  11170. type: string
  11171. goodsid:
  11172. description: 商品ID
  11173. type: integer
  11174. goodsname:
  11175. description: 商品名称
  11176. type: string
  11177. goodunitid:
  11178. description: 报价单位ID
  11179. type: integer
  11180. logincode:
  11181. description: 登录代码(账户)
  11182. type: string
  11183. marketid:
  11184. description: 市场id
  11185. type: integer
  11186. offamount:
  11187. description: 优惠金额
  11188. type: number
  11189. operatetype:
  11190. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11191. type: integer
  11192. payamount:
  11193. description: 支付金额(金额)
  11194. type: number
  11195. payflag:
  11196. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11197. type: integer
  11198. paylimitedtime:
  11199. description: 支付期限
  11200. type: string
  11201. paytime:
  11202. description: 付款时间
  11203. type: string
  11204. qtydecimalplace:
  11205. description: 成交量小数位
  11206. type: integer
  11207. sellaccountid:
  11208. description: 卖方账号ID[报价币种]
  11209. type: integer
  11210. sellorderid:
  11211. description: 卖方委托单号
  11212. type: string
  11213. tradeamount:
  11214. description: 成交金额(优惠后金额)
  11215. type: number
  11216. tradecharge:
  11217. description: 成交手续费(买方)
  11218. type: number
  11219. tradedate:
  11220. description: 交易日(yyyyMMdd)
  11221. type: string
  11222. tradeid:
  11223. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11224. type: string
  11225. trademode:
  11226. description: 交易模式
  11227. type: integer
  11228. tradeprice:
  11229. description: 成交价格(价格)
  11230. type: number
  11231. tradeqty:
  11232. description: 成交数量(数量)
  11233. type: number
  11234. tradetime:
  11235. description: 成交时间
  11236. type: string
  11237. userid:
  11238. description: 用户id
  11239. type: integer
  11240. userinfotype:
  11241. description: 账户类型 1-个人 2-企业
  11242. type: integer
  11243. type: object
  11244. models.QhjMyTeamEx:
  11245. properties:
  11246. accountname:
  11247. description: 用户名称
  11248. type: string
  11249. accountstatus:
  11250. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11251. type: integer
  11252. createtime:
  11253. description: 创建时间
  11254. type: string
  11255. mobile:
  11256. description: 手机号码
  11257. type: string
  11258. refereeuserid:
  11259. description: 推荐人id
  11260. type: integer
  11261. refernum:
  11262. description: 推荐码
  11263. type: string
  11264. subList:
  11265. items:
  11266. $ref: '#/definitions/models.QhjMyTeamEx'
  11267. type: array
  11268. userid:
  11269. description: 用户id
  11270. type: integer
  11271. userinfotype:
  11272. description: 用户类型 1-个人 2-企业
  11273. type: integer
  11274. type: object
  11275. models.QhjNodeAgreementConfig:
  11276. properties:
  11277. agreementcontent:
  11278. description: 协议内容
  11279. type: string
  11280. agreementid:
  11281. description: 协议ID
  11282. type: integer
  11283. agreementname:
  11284. description: 协议名称
  11285. type: string
  11286. agreementno:
  11287. description: 协议编号
  11288. type: string
  11289. agreementtype:
  11290. description: 协议类型 - 1:注册 2:登录 3:交易
  11291. type: integer
  11292. agreementversion:
  11293. description: 协议版本号
  11294. type: integer
  11295. configid:
  11296. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11297. type: integer
  11298. createtime:
  11299. description: 创建时间
  11300. type: string
  11301. goodsid:
  11302. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11303. type: integer
  11304. nodetype:
  11305. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11306. type: integer
  11307. type: object
  11308. models.QhjParentAreaList:
  11309. properties:
  11310. accountname:
  11311. description: 账户名称(机构名称)
  11312. type: string
  11313. userid:
  11314. description: 用户ID
  11315. type: integer
  11316. usertype:
  11317. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11318. type: integer
  11319. type: object
  11320. models.QhjPayOrder:
  11321. properties:
  11322. advanceratio:
  11323. description: 首付比率
  11324. type: number
  11325. buyaccountid:
  11326. description: 买方账号ID[报价币种]
  11327. type: integer
  11328. buyorderid:
  11329. description: 买方委托单号
  11330. type: string
  11331. createtime:
  11332. description: 创建时间
  11333. type: string
  11334. decimalplace:
  11335. description: 商品报价小数位
  11336. type: integer
  11337. enumdicname:
  11338. description: 单位名称
  11339. type: string
  11340. goodscode:
  11341. description: 商品代码
  11342. type: string
  11343. goodsid:
  11344. description: 商品ID
  11345. type: integer
  11346. goodsname:
  11347. description: 商品名称
  11348. type: string
  11349. goodunitid:
  11350. description: 商品单位id
  11351. type: integer
  11352. marketid:
  11353. description: 市场ID
  11354. type: integer
  11355. offamount:
  11356. description: 优惠金额
  11357. type: number
  11358. operatetype:
  11359. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11360. type: integer
  11361. payamount:
  11362. description: 支付金额
  11363. type: number
  11364. payflag:
  11365. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11366. type: integer
  11367. paylimitedtime:
  11368. description: 支付期限
  11369. type: string
  11370. paytime:
  11371. description: 付款时间
  11372. type: string
  11373. qtydecimalplace:
  11374. description: 成交量小数位
  11375. type: integer
  11376. sellaccountid:
  11377. description: 卖方账号ID[报价币种]
  11378. type: integer
  11379. sellorderid:
  11380. description: 卖方委托单号
  11381. type: string
  11382. tradeamount:
  11383. description: 成交金额(优惠后金额)
  11384. type: number
  11385. tradecharge:
  11386. description: 成交手续费(买方)
  11387. type: number
  11388. tradedate:
  11389. description: 交易日(yyyyMMdd)
  11390. type: string
  11391. tradeid:
  11392. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11393. type: string
  11394. tradeprice:
  11395. description: 成交价格
  11396. type: number
  11397. tradeqty:
  11398. description: 成交数量
  11399. type: number
  11400. type: object
  11401. models.QhjPickArea:
  11402. properties:
  11403. address:
  11404. description: 详细地址
  11405. type: string
  11406. cityid:
  11407. description: 市
  11408. type: integer
  11409. cityname:
  11410. description: 城市名称
  11411. type: string
  11412. countryid:
  11413. description: 国家
  11414. type: integer
  11415. countryname:
  11416. description: 国家名称
  11417. type: string
  11418. districtid:
  11419. description: 地区
  11420. type: integer
  11421. districtname:
  11422. description: 地区名称
  11423. type: string
  11424. fromuserid:
  11425. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11426. type: integer
  11427. fromusername:
  11428. description: 所属机构名称
  11429. type: string
  11430. provinceid:
  11431. description: 省
  11432. type: integer
  11433. provincename:
  11434. description: 省名称
  11435. type: string
  11436. suborgtype:
  11437. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11438. type: integer
  11439. userid:
  11440. description: 机构用户ID 其他做市关系,都设置为 1
  11441. type: integer
  11442. username:
  11443. description: 机构用户名称(门店门称)
  11444. type: string
  11445. type: object
  11446. models.QhjPickGoods:
  11447. properties:
  11448. enumdicname:
  11449. description: 单位名称(提货商品)
  11450. type: string
  11451. goodsid:
  11452. description: 商品id
  11453. type: integer
  11454. imageaddress:
  11455. description: 图片
  11456. type: string
  11457. modifierid:
  11458. description: 修改人
  11459. type: integer
  11460. modifiername:
  11461. description: 修改人名称
  11462. type: string
  11463. modifysrc:
  11464. description: 修改来源 - 1:管理端 2:终端
  11465. type: integer
  11466. pickupgoodsagreeunit:
  11467. description: 合约乘数
  11468. type: number
  11469. pickupgoodsdesc:
  11470. description: 描述
  11471. type: string
  11472. pickupgoodsid:
  11473. description: 提货商品ID
  11474. type: string
  11475. pickupgoodsname:
  11476. description: 提货商品名称
  11477. type: string
  11478. pickupgoodsstatus:
  11479. description: 状态 - 1:正常 2:停用 3:注销
  11480. type: integer
  11481. pickupgoodsunitid:
  11482. description: 单位ID
  11483. type: integer
  11484. pickupratio:
  11485. description: 提货系数
  11486. type: number
  11487. preparedays:
  11488. description: 备货期(天)
  11489. type: integer
  11490. remark:
  11491. description: 备注
  11492. type: string
  11493. updatetime:
  11494. description: 更新时间
  11495. type: string
  11496. type: object
  11497. models.QhjRSTriggerLog:
  11498. properties:
  11499. accountid:
  11500. description: 用户资金账户
  11501. type: integer
  11502. accountname:
  11503. description: 账号名称(ACCOUNTID对应的名称)
  11504. type: string
  11505. currencyid:
  11506. description: 币种id
  11507. type: integer
  11508. currencyname:
  11509. description: 币种名称
  11510. type: string
  11511. decimalplace:
  11512. description: 商品报价小数位
  11513. type: integer
  11514. enumdicname:
  11515. description: 单位名称
  11516. type: string
  11517. goodscode:
  11518. description: 定投商品代码
  11519. type: string
  11520. goodsid:
  11521. description: 定投商品ID
  11522. type: integer
  11523. goodsname:
  11524. description: 定投商品名称
  11525. type: string
  11526. goodunitid:
  11527. description: 定投商品单位id
  11528. type: integer
  11529. logid:
  11530. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11531. type: string
  11532. logincode:
  11533. description: 账号(登录代码)
  11534. type: string
  11535. qtydecimalplace:
  11536. description: 成交量小数位
  11537. type: integer
  11538. regularlycycle:
  11539. description: 定投频率 - 1:每周 2:每月
  11540. type: integer
  11541. regularlycyclevalue:
  11542. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11543. type: string
  11544. regularlymode:
  11545. description: 定投方式 - 1:按数量 2:按金额
  11546. type: integer
  11547. regularlymodevalue:
  11548. description: 定投方式值 - 数量或金额
  11549. type: number
  11550. regularlystrategyid:
  11551. description: 定投策略ID
  11552. type: integer
  11553. retcode:
  11554. description: 错误码
  11555. type: string
  11556. tradeid:
  11557. description: 成交单ID
  11558. type: string
  11559. triggeramount:
  11560. description: 触发金额
  11561. type: number
  11562. triggerqty:
  11563. description: 触发数量
  11564. type: number
  11565. triggerstatus:
  11566. description: 触发状态 - 1:成功 2:失败
  11567. type: integer
  11568. triggertime:
  11569. description: 触发时间
  11570. type: string
  11571. triggertradedate:
  11572. description: 触发交易日
  11573. type: string
  11574. userid:
  11575. description: 所属用户ID
  11576. type: integer
  11577. userinfotype:
  11578. description: 用户类型 1-个人 2-企业
  11579. type: integer
  11580. username:
  11581. description: 用户名称(userid对应的名称)
  11582. type: string
  11583. type: object
  11584. models.QhjRStrategy:
  11585. properties:
  11586. accountid:
  11587. description: 用户资金账户
  11588. type: integer
  11589. accountname:
  11590. description: 账号名称(ACCOUNTID对应的名称)
  11591. type: string
  11592. currencyid:
  11593. description: 币种id
  11594. type: integer
  11595. currencyname:
  11596. description: 币种名称
  11597. type: string
  11598. decimalplace:
  11599. description: 商品报价小数位
  11600. type: integer
  11601. enumdicname:
  11602. description: 单位名称
  11603. type: string
  11604. goodscode:
  11605. description: 定投商品代码
  11606. type: string
  11607. goodsid:
  11608. description: 定投商品ID
  11609. type: integer
  11610. goodsname:
  11611. description: 定投商品名称
  11612. type: string
  11613. goodunitid:
  11614. description: 定投商品单位id
  11615. type: integer
  11616. lasteffecttradedate:
  11617. description: 最新生效交易日
  11618. type: string
  11619. laststoptradedate:
  11620. description: 最新暂停交易日
  11621. type: string
  11622. lasttriggertradedate:
  11623. description: 最新触发交易日
  11624. type: string
  11625. logincode:
  11626. description: 账号(登录代码)
  11627. type: string
  11628. nexttriggeramount:
  11629. description: 下次触发金额
  11630. type: number
  11631. nexttriggerdate:
  11632. description: 下次触发日期
  11633. type: string
  11634. nexttriggerqty:
  11635. description: 下次触发数量 [按小数位放大值]
  11636. type: number
  11637. qtydecimalplace:
  11638. description: 成交量小数位
  11639. type: integer
  11640. regularlycycle:
  11641. description: 定投频率 - 1:每周 2:每月
  11642. type: integer
  11643. regularlycyclevalue:
  11644. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11645. type: string
  11646. regularlymode:
  11647. description: 定投方式 - 1:按数量 2:按金额
  11648. type: integer
  11649. regularlymodevalue:
  11650. description: 定投方式值 - 数量或金额
  11651. type: number
  11652. regularlystrategyid:
  11653. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11654. type: integer
  11655. regularlystrategystatus:
  11656. description: 策略状态 - 1:正常 2:暂停 3:终止
  11657. type: integer
  11658. remark:
  11659. description: 备注
  11660. type: string
  11661. triggersuccesstimes:
  11662. description: 累计定投成功次数
  11663. type: string
  11664. triggertotalamount:
  11665. description: 累计定投金额(成功)
  11666. type: number
  11667. triggertotalqty:
  11668. description: 累计定投数量(成功) [按小数位放大值]
  11669. type: number
  11670. triggertotaltimes:
  11671. description: 累计定投总次数
  11672. type: string
  11673. updatesrc:
  11674. description: 更新来源 - 1:管理端 2:终端
  11675. type: integer
  11676. updatetime:
  11677. description: 更新时间
  11678. type: string
  11679. updatorid:
  11680. description: 更新人
  11681. type: string
  11682. userid:
  11683. description: 所属用户ID
  11684. type: integer
  11685. userinfotype:
  11686. description: 用户类型 1-个人 2-企业
  11687. type: integer
  11688. username:
  11689. description: 用户名称(userid对应的名称)
  11690. type: string
  11691. type: object
  11692. models.QhjReckonPriceLog:
  11693. properties:
  11694. decimalplace:
  11695. description: 商品报价小数位
  11696. type: integer
  11697. goodscode:
  11698. description: 商品代码
  11699. type: string
  11700. goodsid:
  11701. description: 商品ID
  11702. type: integer
  11703. goodsname:
  11704. description: 商品名称
  11705. type: string
  11706. lastreckonprice:
  11707. description: 上日结算价
  11708. type: number
  11709. nextdnlimitprice:
  11710. description: 下个交易日跌停价
  11711. type: number
  11712. nexttrade:
  11713. description: 下个交易日
  11714. type: string
  11715. nextuplimitprice:
  11716. description: 下个交易日涨停价
  11717. type: number
  11718. reckonprice:
  11719. description: 今日结算价(定投价)
  11720. type: number
  11721. reckontime:
  11722. description: 结算时间
  11723. type: string
  11724. totalholderqty:
  11725. description: 总持仓数
  11726. type: integer
  11727. totalstock:
  11728. description: 总库存
  11729. type: integer
  11730. tradedate:
  11731. description: 交易日
  11732. type: string
  11733. updowncount:
  11734. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11735. type: integer
  11736. updownflag:
  11737. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11738. type: integer
  11739. updownrate:
  11740. description: 今日涨跌幅
  11741. type: number
  11742. updownrate_2d:
  11743. description: 连续两日涨跌幅
  11744. type: number
  11745. updownrate_3d:
  11746. description: 连续三日涨跌幅
  11747. type: number
  11748. type: object
  11749. models.QhjScoreLog:
  11750. properties:
  11751. accountid:
  11752. description: 账户ID
  11753. type: integer
  11754. createtime:
  11755. description: 创建时间(时间)
  11756. type: string
  11757. goodsid:
  11758. description: 商品ID
  11759. type: integer
  11760. hasuploaded:
  11761. description: 是否已同步(千海金) 0:未同步 1;已同步
  11762. type: integer
  11763. logid:
  11764. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11765. type: string
  11766. marketid:
  11767. description: 市场ID
  11768. type: integer
  11769. relatedamount:
  11770. description: 关联金额
  11771. type: number
  11772. relatedorderid:
  11773. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11774. type: string
  11775. scoreconfigvalue1:
  11776. description: 积分配置1
  11777. type: integer
  11778. scoreconfigvalue2:
  11779. description: 积分配置1
  11780. type: integer
  11781. scoretype:
  11782. description: 积分类型 - 1:提货积分
  11783. type: integer
  11784. scorevalue:
  11785. description: 积分
  11786. type: number
  11787. tradedate:
  11788. description: 交易日(yyyyMMdd)
  11789. type: string
  11790. uploadedtime:
  11791. description: 同步时间
  11792. type: string
  11793. userid:
  11794. description: 用户ID
  11795. type: integer
  11796. type: object
  11797. models.QhjSiteColumnDetail:
  11798. properties:
  11799. author:
  11800. description: 作者
  11801. type: string
  11802. brief:
  11803. description: 简介
  11804. type: string
  11805. columnid:
  11806. description: 所属栏目
  11807. type: integer
  11808. context:
  11809. description: 内容
  11810. type: string
  11811. coverimage:
  11812. description: 封面图片
  11813. type: string
  11814. creaedate:
  11815. description: 创建时间
  11816. type: string
  11817. creatorid:
  11818. description: 创建人
  11819. type: integer
  11820. hits:
  11821. description: 点击数
  11822. type: integer
  11823. id:
  11824. description: ID(SEQ_SITE_COLUMNDETAIL)
  11825. type: integer
  11826. isshow:
  11827. description: 是否展示 - 0:不展示 1:展示
  11828. type: integer
  11829. istop:
  11830. description: 是否置顶 - 0:不置 1:置顶
  11831. type: integer
  11832. modifierid:
  11833. description: 操作人
  11834. type: integer
  11835. publishdate:
  11836. description: 发布日期
  11837. type: string
  11838. status:
  11839. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11840. type: integer
  11841. title:
  11842. description: 标题
  11843. type: string
  11844. updatedate:
  11845. description: 修改时间
  11846. type: string
  11847. userid:
  11848. description: 用户ID(默认为0, 核心为为机构用户ID)
  11849. type: integer
  11850. username:
  11851. description: 用户名称
  11852. type: string
  11853. type: object
  11854. models.QhjTeamOrder:
  11855. properties:
  11856. accountid:
  11857. description: 账户ID[报价币种]
  11858. type: integer
  11859. accountname:
  11860. description: 账户名称
  11861. type: string
  11862. agreeunit:
  11863. description: 合约乘数
  11864. type: number
  11865. buyorsell:
  11866. description: 方向 - 0:买 1:卖
  11867. type: integer
  11868. decimalplace:
  11869. description: 报价小数位
  11870. type: integer
  11871. enumdicname:
  11872. description: 单位名称
  11873. type: string
  11874. goodscode:
  11875. description: 商品代码(内部)
  11876. type: string
  11877. goodsid:
  11878. description: 商品ID
  11879. type: integer
  11880. goodsname:
  11881. description: 商品名称
  11882. type: string
  11883. goodunitid:
  11884. description: 报价单位ID
  11885. type: integer
  11886. marketid:
  11887. description: 市场ID
  11888. type: integer
  11889. marketname:
  11890. description: 市场名称
  11891. type: string
  11892. qtydecimalplace:
  11893. description: 成交量小数位
  11894. type: integer
  11895. refereeuserid:
  11896. description: 推荐人ID
  11897. type: integer
  11898. tradeamount:
  11899. description: 成交金额[账户币种,用于所有权]
  11900. type: number
  11901. tradedate:
  11902. description: 交易日(yyyyMMdd)
  11903. type: string
  11904. trademode:
  11905. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  11906. type: integer
  11907. tradeprice:
  11908. description: 成交价格
  11909. type: number
  11910. tradeqty:
  11911. description: 成交数量
  11912. type: number
  11913. tradetime:
  11914. description: 成交时间
  11915. type: string
  11916. userid:
  11917. description: 用户ID
  11918. type: integer
  11919. type: object
  11920. models.QhjTradeGoodsPickup:
  11921. properties:
  11922. accountid:
  11923. description: 账户ID
  11924. type: integer
  11925. address:
  11926. description: 提货人详细地址
  11927. type: string
  11928. amount:
  11929. description: 提货金额
  11930. type: number
  11931. artradedate:
  11932. description: 自动收货交易日(yyyyMMdd)
  11933. type: string
  11934. auditer:
  11935. description: 审核人
  11936. type: integer
  11937. auditsrc:
  11938. description: 更新来源 - 1:管理端 2:终端
  11939. type: integer
  11940. audittime:
  11941. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11942. type: string
  11943. audittradedate:
  11944. description: 审核交易日(yyyyMMdd)
  11945. type: string
  11946. cardnum:
  11947. description: 提货人证件号码
  11948. type: string
  11949. cardtypeid:
  11950. description: 提货人证件类型
  11951. type: integer
  11952. checkremark:
  11953. description: 审核备注
  11954. type: string
  11955. cityid:
  11956. description: 市
  11957. type: integer
  11958. cityname:
  11959. description: 城市名称
  11960. type: string
  11961. confirmtime:
  11962. description: 取货时间 或 收货时间
  11963. type: string
  11964. countryid:
  11965. description: 国家
  11966. type: integer
  11967. countryname:
  11968. description: 国家名称
  11969. type: string
  11970. decimalplace:
  11971. description: 商品报价小数位
  11972. type: integer
  11973. districtid:
  11974. description: 地区
  11975. type: integer
  11976. districtname:
  11977. description: 地区名称
  11978. type: string
  11979. enumdicname:
  11980. description: 单位名称(提货商品)
  11981. type: string
  11982. expresscompany:
  11983. description: 物流公司
  11984. type: string
  11985. expressnum:
  11986. description: 物流单号
  11987. type: string
  11988. goodsagreeunit:
  11989. description: 交易商品乘数
  11990. type: number
  11991. goodscode:
  11992. description: 商品代码
  11993. type: string
  11994. goodsid:
  11995. description: 商品ID
  11996. type: integer
  11997. goodsname:
  11998. description: 商品名称
  11999. type: string
  12000. goodsqty:
  12001. description: 交易商品手数(69模式按成交量小数位放大取整)
  12002. type: number
  12003. handlestatus:
  12004. description: 处理状态
  12005. type: integer
  12006. logincode:
  12007. description: 账号(登录代码, 有可能为空)
  12008. type: string
  12009. marketid:
  12010. description: 市场ID
  12011. type: integer
  12012. phonenum:
  12013. description: 提货人联系方式
  12014. type: string
  12015. pickupgoodsagreeunit:
  12016. description: 提货商品合约乘数
  12017. type: number
  12018. pickupgoodsid:
  12019. description: 提货商品ID
  12020. type: string
  12021. pickupgoodsname:
  12022. description: 提货商品名称
  12023. type: string
  12024. pickupgoodsqty:
  12025. description: 提货商品手数(数量)
  12026. type: number
  12027. pickupgoodsunitid:
  12028. description: 单位ID(提货商品)
  12029. type: integer
  12030. pickupratio:
  12031. description: 提货系数
  12032. type: number
  12033. preparedays:
  12034. description: 备货期(天)-提货单明细表
  12035. type: integer
  12036. provinceid:
  12037. description: 省
  12038. type: integer
  12039. provincename:
  12040. description: 省名称
  12041. type: string
  12042. qty:
  12043. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12044. type: number
  12045. qtydecimalplace:
  12046. description: 商品数量小数位
  12047. type: integer
  12048. recivername:
  12049. description: 提货人姓名
  12050. type: string
  12051. reqtime:
  12052. description: 提货申请时间
  12053. type: string
  12054. storeuserid:
  12055. description: 门店用户ID (千海金)
  12056. type: integer
  12057. storeusername:
  12058. description: 门店用户名称
  12059. type: string
  12060. takemode:
  12061. description: 提货方式 - 2:自提 3:配送(邮寄)
  12062. type: integer
  12063. takeorderid:
  12064. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12065. type: string
  12066. takeorderstatus:
  12067. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12068. type: integer
  12069. takeremark:
  12070. description: 提货备注
  12071. type: string
  12072. tradedate:
  12073. description: 交易日(yyyyMMdd)
  12074. type: string
  12075. updatetime:
  12076. description: 更新时间
  12077. type: string
  12078. userid:
  12079. description: 用户ID
  12080. type: integer
  12081. userinfotype:
  12082. description: 客户类型 1-个人 2-企业
  12083. type: integer
  12084. username:
  12085. description: 用户名称
  12086. type: string
  12087. type: object
  12088. models.QhjUserNodeCfgAndStatus:
  12089. properties:
  12090. agreementcontent:
  12091. description: 协议内容
  12092. type: string
  12093. agreementid:
  12094. description: 协议ID
  12095. type: integer
  12096. agreementname:
  12097. description: 协议名称
  12098. type: string
  12099. agreementno:
  12100. description: 协议编号
  12101. type: string
  12102. agreementtype:
  12103. description: 协议类型 - 1:注册 2:登录 3:交易
  12104. type: integer
  12105. agreementversion:
  12106. description: 协议版本号
  12107. type: integer
  12108. configid:
  12109. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12110. type: integer
  12111. createtime:
  12112. description: 创建时间
  12113. type: string
  12114. goodsid:
  12115. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12116. type: integer
  12117. nodetype:
  12118. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12119. type: integer
  12120. signtimestamp:
  12121. description: 签约状态时间戳(最近一次)
  12122. type: string
  12123. tradedate:
  12124. description: 签约交易日(yyyyMMdd)
  12125. type: string
  12126. userid:
  12127. description: 客户ID
  12128. type: integer
  12129. type: object
  12130. models.Qhjgoodsex:
  12131. properties:
  12132. canfinance:
  12133. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12134. type: integer
  12135. canregularlybuy:
  12136. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12137. type: integer
  12138. defaulttradeuserid:
  12139. description: 默认交易用户ID
  12140. type: integer
  12141. deliverygoodsid:
  12142. description: 现货品种ID
  12143. type: integer
  12144. goodsid:
  12145. description: 商品ID(自增ID SEQ_GOODS)
  12146. type: integer
  12147. minamount:
  12148. description: 最小购买金额
  12149. type: number
  12150. regularlybuyminamount:
  12151. description: 定投最小金额
  12152. type: number
  12153. regularlybuyminqty:
  12154. description: 定投最小数量
  12155. type: number
  12156. spotgoodsbrandid:
  12157. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12158. type: integer
  12159. visibilityforenterprise:
  12160. description: 企业客户是否可见 - 0:不可见 1:可见
  12161. type: integer
  12162. visibilityforpersonal:
  12163. description: 个人客户是否可见 - 0:不可见 1:可见
  12164. type: integer
  12165. wrstandardid:
  12166. description: 现货商品ID
  12167. type: integer
  12168. type: object
  12169. models.QueryErrorInfosRsp:
  12170. properties:
  12171. description:
  12172. description: 异常描述
  12173. type: string
  12174. errorcode:
  12175. description: 异常代码
  12176. type: string
  12177. errorid:
  12178. description: 异常ID
  12179. type: integer
  12180. modulecode:
  12181. description: 所属模块
  12182. type: string
  12183. operatecode:
  12184. description: 所属操作
  12185. type: string
  12186. rownumber:
  12187. description: 行号
  12188. type: string
  12189. required:
  12190. - errorid
  12191. type: object
  12192. models.QueryHedgeOrderDetailRsp:
  12193. properties:
  12194. accountid:
  12195. description: 账户ID
  12196. type: integer
  12197. buyorsell:
  12198. description: 买卖 - 0:买 1:卖
  12199. type: integer
  12200. cancellogincode:
  12201. description: 撤单人
  12202. type: string
  12203. channelbuildtype:
  12204. description: 开平标志 - 0:无 1:建仓 2:平仓
  12205. type: integer
  12206. channelinnerorderstatus:
  12207. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12208. type: integer
  12209. channeloperatetype:
  12210. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12211. type: integer
  12212. closetype:
  12213. description: 平仓方式 - 0:无 1:平今 2:平昨
  12214. type: integer
  12215. curexchangerate:
  12216. description: 当前汇率
  12217. type: number
  12218. exchangefullname:
  12219. description: 外部交易所全称
  12220. type: string
  12221. goodscode:
  12222. description: 商品代码(内部)
  12223. type: string
  12224. goodsid:
  12225. description: 商品ID
  12226. type: integer
  12227. goodsname:
  12228. description: 商品名称
  12229. type: string
  12230. marketid:
  12231. description: 市场ID
  12232. type: integer
  12233. openfreezemargin:
  12234. description: 冻结保证金(冻结交易金额)
  12235. type: number
  12236. orderid:
  12237. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12238. type: string
  12239. orderlogincode:
  12240. description: 委托人
  12241. type: string
  12242. orderprice:
  12243. description: 委托价格(账户)
  12244. type: number
  12245. orderqty:
  12246. description: 委托数量
  12247. type: integer
  12248. ordertime:
  12249. description: 委托时间
  12250. type: string
  12251. pricemode:
  12252. description: '取价方式 - 1:市价 2: 限价'
  12253. type: integer
  12254. tradedate:
  12255. description: 交易日(yyyyMMdd)
  12256. type: string
  12257. tradeqty:
  12258. description: 成交数量
  12259. type: integer
  12260. type: object
  12261. models.QueryHedgeTradeDetailRsp:
  12262. properties:
  12263. accountid:
  12264. description: 账号ID
  12265. type: integer
  12266. buyorsell:
  12267. description: 方向 - 0:买 1:卖
  12268. type: integer
  12269. channelbuildtype:
  12270. description: 委托单据类型 0:无 1:建仓 2:平仓
  12271. type: integer
  12272. closecharge:
  12273. description: 平仓手续费(账户)
  12274. type: number
  12275. closecharge2:
  12276. description: 平仓手续费(商品)
  12277. type: number
  12278. closepl:
  12279. description: 平仓盈亏(账户)
  12280. type: number
  12281. closepl2:
  12282. description: 平仓盈亏(商品)
  12283. type: number
  12284. closepl3:
  12285. description: 平仓盈亏(账户)(逐笔)
  12286. type: number
  12287. closepl4:
  12288. description: 平仓盈亏(商品)(逐笔)
  12289. type: number
  12290. closetype:
  12291. description: 平仓方式 - 0:无 1:平今 2:平昨
  12292. type: integer
  12293. curexchangerate:
  12294. description: 当前汇率
  12295. type: number
  12296. exchangefullname:
  12297. description: 外部交易所全称
  12298. type: string
  12299. goodscode:
  12300. description: 商品代码(内部)
  12301. type: string
  12302. goodsid:
  12303. description: 商品ID
  12304. type: integer
  12305. goodsname:
  12306. description: 商品名称
  12307. type: string
  12308. marketid:
  12309. description: 市场ID
  12310. type: integer
  12311. opencharge:
  12312. description: 建仓手续费(账户)
  12313. type: number
  12314. opencharge2:
  12315. description: 建仓手续费(商品)
  12316. type: number
  12317. orderid:
  12318. description: 委托单号
  12319. type: string
  12320. orderlogincode:
  12321. description: 委托人
  12322. type: string
  12323. tradeamount:
  12324. description: 成交金额(账户)
  12325. type: number
  12326. tradedate:
  12327. description: 交易日(yyyyMMdd)
  12328. type: string
  12329. tradeid:
  12330. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12331. type: string
  12332. tradeprice:
  12333. description: 成交价格
  12334. type: number
  12335. tradeqty:
  12336. description: 成交数量
  12337. type: integer
  12338. tradetime:
  12339. description: 成交时间
  12340. type: string
  12341. tradetype:
  12342. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12343. type: integer
  12344. type: object
  12345. models.QuotePrimaryMenu:
  12346. properties:
  12347. Index:
  12348. description: 序号
  12349. type: integer
  12350. Key:
  12351. description: 键名
  12352. type: string
  12353. Name:
  12354. description: 菜单名称
  12355. type: string
  12356. SubMenus:
  12357. description: 子菜单
  12358. items:
  12359. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12360. type: array
  12361. SubTitleType:
  12362. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12363. type: integer
  12364. TradeModes:
  12365. description: 包含市场交易类型
  12366. type: string
  12367. type: object
  12368. models.QuoteSecondaryMenu:
  12369. properties:
  12370. ExExchangeCode:
  12371. description: 外部交易所代码
  12372. type: string
  12373. ExExchangeID:
  12374. description: 外部交易所ID
  12375. type: integer
  12376. GoodsGroupIDs:
  12377. description: 商品组ID列表
  12378. items:
  12379. type: integer
  12380. type: array
  12381. Index:
  12382. description: 序号
  12383. type: integer
  12384. MarketID:
  12385. description: 市场ID
  12386. type: integer
  12387. MenuTitle:
  12388. description: 菜单标题(市场名称或外部交易所名称)
  12389. type: string
  12390. TradeMode:
  12391. description: 交易模式
  12392. type: integer
  12393. type: object
  12394. models.RoleMenu:
  12395. properties:
  12396. hasright:
  12397. description: 是否有权限 0-没有权限 1-有权限
  12398. type: integer
  12399. iconame:
  12400. description: 菜单图标
  12401. type: string
  12402. menutype:
  12403. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12404. type: integer
  12405. parentcode:
  12406. description: 上级资源代码
  12407. type: string
  12408. remark:
  12409. description: 菜单备注
  12410. type: string
  12411. resourcecode:
  12412. description: 菜单代码
  12413. type: string
  12414. resourcelevel:
  12415. description: 级别
  12416. type: integer
  12417. resourcename:
  12418. description: 菜单名称
  12419. type: string
  12420. roleid:
  12421. description: 角色id
  12422. type: integer
  12423. sort:
  12424. description: 排序
  12425. type: integer
  12426. subMenu:
  12427. description: 子级菜单(结构同上层一样, swag解析不出来)
  12428. items:
  12429. $ref: '#/definitions/models.RoleMenu'
  12430. type: array
  12431. url:
  12432. description: URL
  12433. type: string
  12434. userid:
  12435. description: 用户id
  12436. type: integer
  12437. type: object
  12438. models.SearchGoods:
  12439. properties:
  12440. goodscode:
  12441. description: 商品代码(内部)
  12442. type: string
  12443. goodsid:
  12444. description: 商品ID(自增ID SEQ_GOODS)
  12445. type: integer
  12446. goodsname:
  12447. description: 商品名称
  12448. type: string
  12449. marketid:
  12450. description: 所属市场ID
  12451. type: integer
  12452. marketname:
  12453. description: 市场名称
  12454. type: string
  12455. trademode:
  12456. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12457. type: integer
  12458. required:
  12459. - goodscode
  12460. - goodsid
  12461. - goodsname
  12462. - marketid
  12463. - trademode
  12464. type: object
  12465. models.Systemparam:
  12466. properties:
  12467. loginid:
  12468. description: 更新用户账号,登录账号
  12469. type: string
  12470. modifyflag:
  12471. description: 修改标志0 不允许修改 1 允许修改
  12472. type: integer
  12473. paramcode:
  12474. description: 参数代码
  12475. type: string
  12476. paramname:
  12477. description: 参数名
  12478. type: string
  12479. paramtype:
  12480. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12481. type: integer
  12482. paramvalue:
  12483. description: 参数值
  12484. type: string
  12485. paramvalue2:
  12486. description: 参数值(CLOB)
  12487. type: string
  12488. regexpress:
  12489. description: 正则表达式
  12490. type: string
  12491. remark:
  12492. description: 备注
  12493. type: string
  12494. serverip:
  12495. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12496. type: string
  12497. showflag:
  12498. description: 是否显示0 不显示 1 显示
  12499. type: integer
  12500. updatetime:
  12501. description: 更新时间
  12502. type: string
  12503. userid:
  12504. description: 更新用户ID
  12505. type: integer
  12506. required:
  12507. - paramcode
  12508. type: object
  12509. models.Szdz3convertconfig:
  12510. properties:
  12511. canin:
  12512. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12513. type: integer
  12514. canout:
  12515. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12516. type: integer
  12517. converttype:
  12518. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  12519. type: integer
  12520. createtime:
  12521. description: 创建时间
  12522. type: string
  12523. creatorid:
  12524. description: 创建人
  12525. type: integer
  12526. daymaxvalue:
  12527. description: 当日最大转入限制
  12528. type: number
  12529. freezedays:
  12530. description: 冻结天数 [5:花生米转交易]
  12531. type: integer
  12532. innergoodsid:
  12533. description: 内部商品ID[交易]
  12534. type: integer
  12535. inratio:
  12536. description: 目标值
  12537. type: integer
  12538. modifierid:
  12539. description: 修改人
  12540. type: integer
  12541. modifytime:
  12542. description: 修改时间
  12543. type: string
  12544. outergoodscode:
  12545. description: 外部商品代码[JD\PD]
  12546. type: string
  12547. outratio:
  12548. description: 源值
  12549. type: integer
  12550. pddecimalplace:
  12551. description: PD小数位
  12552. type: integer
  12553. timemaxvalue:
  12554. description: 单次最大转入限制
  12555. type: number
  12556. timeminvalue:
  12557. description: 单次最小转入限制
  12558. type: number
  12559. required:
  12560. - converttype
  12561. - innergoodsid
  12562. - outergoodscode
  12563. type: object
  12564. models.Szdz3searchwhitelist:
  12565. properties:
  12566. createtime:
  12567. description: 创建时间
  12568. type: string
  12569. creatorid:
  12570. description: 创建人
  12571. type: integer
  12572. modifierid:
  12573. description: 修改人
  12574. type: integer
  12575. modifytime:
  12576. description: 修改时间
  12577. type: string
  12578. userid:
  12579. description: 用户ID
  12580. type: integer
  12581. required:
  12582. - userid
  12583. type: object
  12584. models.TBGoods:
  12585. properties:
  12586. agreeunit:
  12587. description: 合约乘数
  12588. type: number
  12589. enumdicname:
  12590. description: 单位名称
  12591. type: string
  12592. goodscode:
  12593. description: 商品代码(内部)
  12594. type: string
  12595. goodsid:
  12596. description: 商品ID(自增ID SEQ_GOODS)
  12597. type: integer
  12598. goodsname:
  12599. description: 商品名称
  12600. type: string
  12601. type: object
  12602. models.TBGoodsGroup:
  12603. properties:
  12604. convertratio:
  12605. description: 折算系数
  12606. type: number
  12607. enumdicname:
  12608. description: 单位名称
  12609. type: string
  12610. exexchangecode:
  12611. description: 交易所代码
  12612. type: string
  12613. exexchangename:
  12614. description: 交易所名称
  12615. type: string
  12616. gdlst:
  12617. description: 商品列表
  12618. items:
  12619. $ref: '#/definitions/models.TBGoods'
  12620. type: array
  12621. goodsgroupid:
  12622. description: 商品组ID(自增ID)
  12623. type: integer
  12624. goodsgroupname:
  12625. description: 商品组名称
  12626. type: string
  12627. goodunitid:
  12628. description: 报价单位ID
  12629. type: integer
  12630. type: object
  12631. models.TBMiddleGoods:
  12632. properties:
  12633. areauserid:
  12634. description: 机构用户ID
  12635. type: integer
  12636. enumdicname:
  12637. description: 单位名称
  12638. type: string
  12639. gplst:
  12640. description: 期货品种列表
  12641. items:
  12642. $ref: '#/definitions/models.TBGoodsGroup'
  12643. type: array
  12644. middlegoodscode:
  12645. description: 套保品种代码
  12646. type: string
  12647. middlegoodsid:
  12648. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12649. type: integer
  12650. middlegoodsname:
  12651. description: 套保品种名称
  12652. type: string
  12653. needarbitrageratio:
  12654. description: 套利比率
  12655. type: number
  12656. needhedgeratio:
  12657. description: 套保比率
  12658. type: number
  12659. wdlst:
  12660. description: 商品信息列表(现货品类)
  12661. items:
  12662. $ref: '#/definitions/models.TBWrstandard'
  12663. type: array
  12664. type: object
  12665. models.TBWrstandard:
  12666. properties:
  12667. convertratio:
  12668. description: 折算系数
  12669. type: number
  12670. deliverygoodsname:
  12671. description: 品种名称
  12672. type: string
  12673. enumdicname:
  12674. description: 单位名称
  12675. type: string
  12676. vatrate:
  12677. description: 增值税率
  12678. type: number
  12679. wrstandardcode:
  12680. description: 现货商品代码
  12681. type: string
  12682. wrstandardid:
  12683. description: 现货商品ID(SEQ_WRSTANDARD)
  12684. type: integer
  12685. wrstandardname:
  12686. description: 现货商品名称
  12687. type: string
  12688. type: object
  12689. models.Taaccount:
  12690. properties:
  12691. accountflag:
  12692. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12693. type: integer
  12694. accountid:
  12695. description: 资金账户ID
  12696. type: integer
  12697. accountname:
  12698. description: 账户名称
  12699. type: string
  12700. balance:
  12701. description: 期初余额
  12702. type: number
  12703. capitalbalance:
  12704. description: 本金余额[外部子账户实际出入金余额]
  12705. type: number
  12706. changeflag:
  12707. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12708. type: integer
  12709. changetime:
  12710. description: 账户状态变更时间
  12711. type: string
  12712. closepl:
  12713. description: 今日平仓盈亏
  12714. type: number
  12715. creditdecrease:
  12716. description: 今日授信减少
  12717. type: number
  12718. creditincrease:
  12719. description: 今日授信增加
  12720. type: number
  12721. curamount:
  12722. description: 总市值(从持仓中统计)
  12723. type: number
  12724. currencyid:
  12725. description: 货币ID
  12726. type: integer
  12727. currentbalance:
  12728. description: 期末余额
  12729. type: number
  12730. freezecharge:
  12731. description: 手续费冻结
  12732. type: number
  12733. freezemargin:
  12734. description: 冻结保证金
  12735. type: number
  12736. fromaccountid:
  12737. description: 所属上级账户
  12738. type: integer
  12739. inamount:
  12740. description: 今日入金金额(包括三方入金)
  12741. type: number
  12742. ismain:
  12743. description: 是否母账号 0:不是母账户 1:是母账户
  12744. type: integer
  12745. ismarketaccount:
  12746. description: 是否机构接单账号 0:不是 1:是
  12747. type: integer
  12748. isreckonaccount:
  12749. description: 是否机构分润账号 0:不是 1:是
  12750. type: integer
  12751. mortgagecredit:
  12752. description: 授信金额
  12753. type: number
  12754. orifreezecharge:
  12755. description: 期初手续费冻结
  12756. type: number
  12757. orifreezemargin:
  12758. description: 期初冻结保证金
  12759. type: number
  12760. orimortgagecredit:
  12761. description: 期初授信金额
  12762. type: number
  12763. oriothercredit:
  12764. description: 期初其它授信金额
  12765. type: number
  12766. oriotherfreezemargin:
  12767. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12768. type: number
  12769. orioutamountfreeze:
  12770. description: 期初出金冻结
  12771. type: number
  12772. oriusedmargin:
  12773. description: 期初占用保证金
  12774. type: number
  12775. othercredit:
  12776. description: 其它授信金额
  12777. type: number
  12778. othercreditdecrease:
  12779. description: 今日其它授信减少
  12780. type: number
  12781. othercreditincrease:
  12782. description: 今日其它授信增加
  12783. type: number
  12784. otherfreezemargin:
  12785. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12786. type: number
  12787. otherincome:
  12788. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12789. type: number
  12790. otherpay:
  12791. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12792. type: number
  12793. outamount:
  12794. description: 今日出金金额(包括三方出金)
  12795. type: number
  12796. outamountfreeze:
  12797. description: 出金冻结
  12798. type: number
  12799. outthreshold:
  12800. description: 出金阈值
  12801. type: number
  12802. parentaccountid:
  12803. description: 所属根账号
  12804. type: integer
  12805. paycharge:
  12806. description: 今日手续费支出
  12807. type: number
  12808. relatedaccountstatus:
  12809. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12810. type: integer
  12811. relateduserid:
  12812. description: 关联用户
  12813. type: integer
  12814. remainamount:
  12815. description: 融资额(从融资合同中统计)
  12816. type: number
  12817. serivcegroup:
  12818. description: 服务分组
  12819. type: integer
  12820. signstatus:
  12821. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12822. type: integer
  12823. sublevelpath:
  12824. description: 账号层级路径(逗号分隔,首尾加逗号)
  12825. type: string
  12826. taaccounttype:
  12827. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12828. type: integer
  12829. thirdinamount:
  12830. description: 今日三方入金
  12831. type: number
  12832. thirdoutamount:
  12833. description: 今日三方出金
  12834. type: number
  12835. tradestatus:
  12836. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12837. type: integer
  12838. tradestatuschangetime:
  12839. description: 激活时间
  12840. type: string
  12841. transferamount:
  12842. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12843. type: number
  12844. usedmargin:
  12845. description: 占用保证金
  12846. type: number
  12847. userid:
  12848. description: 用户ID
  12849. type: integer
  12850. required:
  12851. - accountid
  12852. - userid
  12853. type: object
  12854. models.Tablecolumnconfig:
  12855. properties:
  12856. aligntype:
  12857. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12858. type: integer
  12859. autoid:
  12860. description: AutoID
  12861. type: integer
  12862. columnfield:
  12863. description: 列字段
  12864. type: string
  12865. columntitle:
  12866. description: 列Title
  12867. type: string
  12868. columnwidth:
  12869. description: 列宽
  12870. type: string
  12871. formatterstring:
  12872. description: 格式化字符
  12873. type: string
  12874. formattertype:
  12875. description: 格式化类型
  12876. type: string
  12877. groupname:
  12878. description: 表头分组名称
  12879. type: string
  12880. isshow:
  12881. description: 是否显示 - 0:不显示 1:显示
  12882. type: integer
  12883. needsummary:
  12884. description: 是否需要汇总 - 0:不需要 1:需要
  12885. type: integer
  12886. orderindex:
  12887. description: 顺序
  12888. type: integer
  12889. remark:
  12890. description: 备注
  12891. type: string
  12892. summarytype:
  12893. description: 汇总类型 - 1:加总 2:最后一个
  12894. type: integer
  12895. tablekey:
  12896. description: 列表Key
  12897. type: string
  12898. required:
  12899. - autoid
  12900. type: object
  12901. models.TjmdQuoteGoods:
  12902. properties:
  12903. buyqty:
  12904. description: 买量(暂不做, 无值, 保留字段)
  12905. type: number
  12906. goodscode:
  12907. description: 合约代码
  12908. type: string
  12909. goodsgroupid:
  12910. description: 商品组ID(自增ID)
  12911. type: integer
  12912. goodsgroupname:
  12913. description: 商品组名称
  12914. type: string
  12915. goodsid:
  12916. description: 合约id
  12917. type: integer
  12918. goodsname:
  12919. description: 合约名称
  12920. type: string
  12921. refgoodscode:
  12922. description: 标的合约代码
  12923. type: string
  12924. refgoodsid:
  12925. description: 标的合约id
  12926. type: integer
  12927. refgoodsname:
  12928. description: 标的合约名称
  12929. type: string
  12930. sellqty:
  12931. description: 卖量(暂不做, 无值, 保留字段)
  12932. type: number
  12933. type: object
  12934. models.TjmdTodayAccountMargin:
  12935. properties:
  12936. accountid:
  12937. description: 账号ID
  12938. type: integer
  12939. goodsid:
  12940. description: 商品ID
  12941. type: integer
  12942. infoc:
  12943. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  12944. description: 配置参数
  12945. marketid:
  12946. description: 市场ID
  12947. type: integer
  12948. type: object
  12949. models.TjmdTradeOrderDetail:
  12950. properties:
  12951. buyorsell:
  12952. description: 买卖方向 0-买 1-卖
  12953. type: integer
  12954. goodsid:
  12955. description: 商品id
  12956. type: integer
  12957. marketmaxsub:
  12958. description: 市价最大偏移范围 [浮动价 - 点差]
  12959. type: number
  12960. orderid:
  12961. description: 委托单号
  12962. type: string
  12963. orderprice:
  12964. description: 委托价格
  12965. type: number
  12966. orderqty:
  12967. description: 委托数量
  12968. type: integer
  12969. pricemode:
  12970. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  12971. type: integer
  12972. userid:
  12973. description: 用户id
  12974. type: integer
  12975. username:
  12976. description: 用户名称(已脱敏)
  12977. type: string
  12978. type: object
  12979. models.TjmdTransferApply:
  12980. properties:
  12981. applyid:
  12982. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  12983. type: integer
  12984. applystatus:
  12985. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  12986. type: integer
  12987. applytime:
  12988. description: 申请时间(时间)
  12989. type: string
  12990. auditremark:
  12991. description: 审核备注(拒绝原因?)
  12992. type: string
  12993. buyorsell:
  12994. description: 买卖 - 0:买 1:卖
  12995. type: integer
  12996. goodscode:
  12997. description: 商品代码
  12998. type: string
  12999. goodsid:
  13000. description: 商品ID
  13001. type: integer
  13002. goodsname:
  13003. description: 商品名称
  13004. type: string
  13005. marketid:
  13006. description: 市场ID
  13007. type: integer
  13008. qty:
  13009. description: 转让数量(数量)
  13010. type: number
  13011. tradeid:
  13012. description: 成交单号(关联持仓)
  13013. type: string
  13014. transferamount:
  13015. description: 转让总金额(金额)
  13016. type: number
  13017. transferprice:
  13018. description: 转让价格(协议价格)
  13019. type: number
  13020. type: object
  13021. models.TradeHolderDetail:
  13022. properties:
  13023. accountid:
  13024. description: 账号ID
  13025. type: integer
  13026. agreeunit:
  13027. description: 合约乘数
  13028. type: number
  13029. buyorsell:
  13030. description: 方向 - 0:买 1:卖
  13031. type: integer
  13032. currencyid:
  13033. description: 商品币种id
  13034. type: integer
  13035. currencyname:
  13036. description: 币种名称
  13037. type: string
  13038. decimalplace:
  13039. description: 商品价格小数位
  13040. type: integer
  13041. enumdicname:
  13042. description: 商品单位名称
  13043. type: string
  13044. expirecycle:
  13045. description: 行权周期(天) - 1:滚动行权时填写
  13046. type: integer
  13047. expiredate:
  13048. description: 行权日(yyyyMMdd) - 到期日
  13049. type: string
  13050. expiretype:
  13051. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13052. type: integer
  13053. freezeqty:
  13054. description: 冻结数量
  13055. type: number
  13056. goodscode:
  13057. description: 商品代码
  13058. type: string
  13059. goodsid:
  13060. description: 商品ID
  13061. type: integer
  13062. goodsname:
  13063. description: 商品名称
  13064. type: string
  13065. goodunitid:
  13066. description: 商品单位id
  13067. type: integer
  13068. holderamount:
  13069. description: 持仓金额
  13070. type: number
  13071. holdercredit:
  13072. description: 持仓授信金额
  13073. type: number
  13074. holderdays:
  13075. description: 剩余冻结天数
  13076. type: integer
  13077. holderprice:
  13078. description: 持仓价格
  13079. type: number
  13080. holderqty:
  13081. description: 持仓数量
  13082. type: number
  13083. isconfirmexercise:
  13084. description: 是否确认行权- 0:否 1:是
  13085. type: integer
  13086. ispreexercise:
  13087. description: 是否预申报- 0:否 1:是 2:不可行权
  13088. type: integer
  13089. marketid:
  13090. description: 市场id
  13091. type: integer
  13092. marketname:
  13093. description: 市场名称
  13094. type: string
  13095. openprice:
  13096. description: 建仓价格
  13097. type: number
  13098. openqty:
  13099. description: 建仓数量
  13100. type: number
  13101. optiontype:
  13102. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13103. type: integer
  13104. preexerciseprice:
  13105. description: 预申报价格
  13106. type: number
  13107. premium:
  13108. description: 权利金
  13109. type: number
  13110. qtydecimalplace:
  13111. description: 商品成交量小数位
  13112. type: integer
  13113. refgoodscode:
  13114. description: 标的合约代码
  13115. type: string
  13116. refgoodsid:
  13117. description: 标的合约id
  13118. type: integer
  13119. releaseamount:
  13120. description: 释放持仓金额
  13121. type: number
  13122. releaseholdercredit:
  13123. description: 释放持仓授信金额
  13124. type: number
  13125. taname:
  13126. description: 资金账号名称
  13127. type: string
  13128. tradeamount:
  13129. description: 成交金额
  13130. type: number
  13131. tradedate:
  13132. description: 交易日(yyyyMMdd)
  13133. type: string
  13134. tradeid:
  13135. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13136. type: string
  13137. trademode:
  13138. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13139. type: integer
  13140. tradeproperty:
  13141. description: 交易属性
  13142. type: integer
  13143. tradetime:
  13144. description: 交易时间
  13145. type: string
  13146. userid:
  13147. description: 用户id
  13148. type: integer
  13149. username:
  13150. description: 用户名称
  13151. type: string
  13152. type: object
  13153. models.UserCollectConfig:
  13154. properties:
  13155. accountstatus:
  13156. description: 账户状态 - 1:正常 2:停用 3:注销
  13157. type: integer
  13158. collectaccountname:
  13159. description: 收款人账户名称
  13160. type: string
  13161. collectaccountno:
  13162. description: 收款人账户
  13163. type: string
  13164. collectbankname:
  13165. description: 收款人开户行
  13166. type: string
  13167. collectbranchbankname:
  13168. description: 收款人开户支行
  13169. type: string
  13170. collectconfigid:
  13171. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13172. type: string
  13173. remark:
  13174. description: 备注
  13175. type: string
  13176. userid:
  13177. description: 收款人用户ID
  13178. type: integer
  13179. type: object
  13180. models.UserReceiveInfo:
  13181. properties:
  13182. address:
  13183. description: 提货人详细地址
  13184. type: string
  13185. autoid:
  13186. description: AutoID
  13187. type: integer
  13188. cardnum:
  13189. description: 证件号码(加密存储)
  13190. type: string
  13191. cardtypeid:
  13192. description: 证件类型
  13193. type: integer
  13194. cityid:
  13195. description: 市
  13196. type: integer
  13197. cityname:
  13198. description: 城市名称
  13199. type: string
  13200. countryid:
  13201. description: 国家
  13202. type: integer
  13203. countryname:
  13204. description: 国家名称
  13205. type: string
  13206. districtid:
  13207. description: 地区
  13208. type: integer
  13209. districtname:
  13210. description: 地区名称
  13211. type: string
  13212. hasencrypt:
  13213. description: 数据是否已加密 - 0:未加密 1:已加密
  13214. type: integer
  13215. isdefault:
  13216. description: 是否默认地址 - 0:否 1:是
  13217. type: integer
  13218. phonenum:
  13219. description: 提货人联系方式(加密存储)
  13220. type: string
  13221. provinceid:
  13222. description: 省
  13223. type: integer
  13224. provincename:
  13225. description: 省名称
  13226. type: string
  13227. receivername:
  13228. description: 提货人姓名
  13229. type: string
  13230. takeremark:
  13231. description: 提货备注
  13232. type: string
  13233. userid:
  13234. description: 用户ID
  13235. type: integer
  13236. type: object
  13237. models.Useraccount:
  13238. properties:
  13239. accountname:
  13240. description: 账户名称(机构名称)
  13241. type: string
  13242. accountstatus:
  13243. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13244. type: integer
  13245. applysrc:
  13246. description: 申请来源 - 1:管理端 2:终端
  13247. type: integer
  13248. auditremark:
  13249. description: 审核备注
  13250. type: string
  13251. auditsrc:
  13252. description: 审核来源 - 1:管理端 2:终端
  13253. type: integer
  13254. audittime:
  13255. description: 审核时间
  13256. type: string
  13257. audituserid:
  13258. description: 审核人
  13259. type: integer
  13260. broker:
  13261. description: 所属经纪人ID
  13262. type: integer
  13263. canceltime:
  13264. description: 销户时间
  13265. type: string
  13266. canceluserid:
  13267. description: 销户人
  13268. type: integer
  13269. canrecommend:
  13270. description: 是否可推荐 - 0:不可 1;可
  13271. type: integer
  13272. createtime:
  13273. description: 创建时间
  13274. type: string
  13275. creatorid:
  13276. description: 创建人
  13277. type: integer
  13278. hasauth:
  13279. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13280. type: integer
  13281. isanonymous:
  13282. description: 是否匿名下单 - 0:否 1:是
  13283. type: integer
  13284. maxinvestornum:
  13285. description: 最大用户数(经纪会员下投资者个数)
  13286. type: integer
  13287. memberuserid:
  13288. description: 所属会员ID
  13289. type: integer
  13290. modifierid:
  13291. description: 修改人
  13292. type: integer
  13293. modifyremark:
  13294. description: 变更备注
  13295. type: string
  13296. modifystatus:
  13297. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13298. type: integer
  13299. modifytime:
  13300. description: 修改时间
  13301. type: string
  13302. parenttopuser:
  13303. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13304. type: string
  13305. parentuserid:
  13306. description: 所属机构ID
  13307. type: integer
  13308. reckonaccountid:
  13309. description: 默认结算资金账号ID(机构分润使用) 作废
  13310. type: integer
  13311. refercount:
  13312. description: 推荐总人数
  13313. type: integer
  13314. refereeuserid:
  13315. description: 推荐人ID
  13316. type: integer
  13317. refernum:
  13318. description: 推荐码
  13319. type: string
  13320. rootuserid:
  13321. description: 根用户ID
  13322. type: integer
  13323. subaccountlevel:
  13324. description: 子账户层数
  13325. type: integer
  13326. subarealevelpath:
  13327. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13328. type: string
  13329. userid:
  13330. description: 用户ID
  13331. type: integer
  13332. usertype:
  13333. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13334. type: integer
  13335. required:
  13336. - userid
  13337. type: object
  13338. models.Userfavoritegoods:
  13339. properties:
  13340. goodsid:
  13341. description: 商品ID
  13342. type: integer
  13343. required:
  13344. - goodsid
  13345. type: object
  13346. models.Userinfo:
  13347. properties:
  13348. address:
  13349. description: 地址
  13350. type: string
  13351. attachment1:
  13352. description: 附件1
  13353. type: string
  13354. attachment2:
  13355. description: 附件2
  13356. type: string
  13357. bankaccount:
  13358. description: 银行帐号 (加密存储)
  13359. type: string
  13360. bankaccountname:
  13361. description: 收款人名称
  13362. type: string
  13363. bankcardfrontphotourl:
  13364. description: 银行卡正面照地址
  13365. type: string
  13366. bankid:
  13367. description: 银行编码
  13368. type: string
  13369. bankname:
  13370. description: 银行名称
  13371. type: string
  13372. biznature:
  13373. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13374. type: integer
  13375. bizscope:
  13376. description: 企业经营范围(企业)
  13377. type: string
  13378. cardbackphotourl:
  13379. description: 证件背面图片地址
  13380. type: string
  13381. cardfrontphotourl:
  13382. description: 证件正面图片地址
  13383. type: string
  13384. cardnum:
  13385. description: 证件号码(加密存储)
  13386. type: string
  13387. cardtypeid:
  13388. description: 证件类型ID
  13389. type: integer
  13390. cityid:
  13391. description: 市
  13392. type: integer
  13393. company:
  13394. description: 公司(个人)
  13395. type: string
  13396. contactname:
  13397. description: 联系人
  13398. type: string
  13399. countryid:
  13400. description: 国家
  13401. type: integer
  13402. createtime:
  13403. description: 创建时间
  13404. type: string
  13405. creatorid:
  13406. description: 创建人
  13407. type: integer
  13408. customername:
  13409. description: 客户名称(企业名称)
  13410. type: string
  13411. districtid:
  13412. description: 地区
  13413. type: integer
  13414. email:
  13415. description: 邮件(加密存储)
  13416. type: string
  13417. fax:
  13418. description: 传真(加密存储)
  13419. type: string
  13420. halfbodyphotourl:
  13421. description: 半身照地址
  13422. type: string
  13423. hasencrypt:
  13424. description: 数据是否已加密 - 0:未加密 1:已加密
  13425. type: integer
  13426. headurl:
  13427. description: 头像地址
  13428. type: string
  13429. legalcardbackphotourl:
  13430. description: 法人身份证背面照地址
  13431. type: string
  13432. legalcardfrontphotourl:
  13433. description: 法人身份证正面照地址
  13434. type: string
  13435. legalpersonname:
  13436. description: 法人姓名(企业)
  13437. type: string
  13438. mobile:
  13439. description: 手机号码(加密存储)
  13440. type: string
  13441. mobile2:
  13442. description: 手机号码[明文-尚志]
  13443. type: string
  13444. modifierid:
  13445. description: 修改人
  13446. type: integer
  13447. modifiertime:
  13448. description: 修改时间
  13449. type: string
  13450. needinvoice:
  13451. description: 是否需要发票 - 0:不需要 1:需要
  13452. type: integer
  13453. nickname:
  13454. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13455. type: string
  13456. openmode:
  13457. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13458. type: integer
  13459. otherurl:
  13460. description: 其它图片地址[使用分号分隔]
  13461. type: string
  13462. postalcode:
  13463. description: 邮政编码
  13464. type: string
  13465. provinceid:
  13466. description: 省
  13467. type: integer
  13468. qq:
  13469. description: QQ(加密存储
  13470. type: string
  13471. remark:
  13472. description: 备注
  13473. type: string
  13474. sex:
  13475. description: '用户性别 0: 女 1: 男'
  13476. type: integer
  13477. signpdfurl:
  13478. description: 签约pdf文件
  13479. type: string
  13480. telphone:
  13481. description: 联系电话(加密存储)
  13482. type: string
  13483. userid:
  13484. description: 用户ID
  13485. type: integer
  13486. userinfotype:
  13487. description: 用户信息类型 - 1:个人 2:企业
  13488. type: integer
  13489. userstatus:
  13490. description: 用户状态 - 1:正常 2:注销
  13491. type: integer
  13492. usertype:
  13493. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13494. type: integer
  13495. wechat:
  13496. description: 微信(加密存储)
  13497. type: string
  13498. wskhinfo:
  13499. description: 开户申请信息(JSON)
  13500. type: string
  13501. required:
  13502. - userid
  13503. type: object
  13504. models.WRSConverTDetail:
  13505. properties:
  13506. convertratio:
  13507. description: 套保系数
  13508. type: number
  13509. deliverygoodscode:
  13510. description: 现货商品代码
  13511. type: string
  13512. deliverygoodsid:
  13513. description: 现货品种ID
  13514. type: integer
  13515. deliverygoodsname:
  13516. description: 现货商品名称
  13517. type: string
  13518. enumdicname:
  13519. description: 单位名称
  13520. type: string
  13521. goodsunitid:
  13522. description: 套保品种单位id
  13523. type: integer
  13524. middlegoodscode:
  13525. description: 套保品种代码
  13526. type: string
  13527. middlegoodsid:
  13528. description: 套保品种ID
  13529. type: integer
  13530. middlegoodsname:
  13531. description: 套保品种名称
  13532. type: string
  13533. modifytime:
  13534. description: 修改时间
  13535. type: string
  13536. wrstandardid:
  13537. description: 品类ID
  13538. type: integer
  13539. type: object
  13540. models.WRStandardInfo:
  13541. properties:
  13542. areauserid:
  13543. description: 所属机构
  13544. type: integer
  13545. convertfactor:
  13546. description: 标仓系数
  13547. type: number
  13548. createtime:
  13549. description: 创建时间
  13550. type: string
  13551. creatorid:
  13552. description: 创建人
  13553. type: integer
  13554. deliverygoodsid:
  13555. description: 品种ID
  13556. type: integer
  13557. deliverygoodsname:
  13558. description: 交割商品名称
  13559. type: string
  13560. factoryitemjson:
  13561. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  13562. type: string
  13563. isvalid:
  13564. description: 是否有效 - 0:无效 1:有效
  13565. type: integer
  13566. minivalue:
  13567. description: 最小变动值
  13568. type: integer
  13569. minivaluedp:
  13570. description: 最小变动值小数位
  13571. type: integer
  13572. realminivalue:
  13573. description: 实际最小变动值
  13574. type: integer
  13575. realminivaluedp:
  13576. description: 实际最小变动值小数位
  13577. type: integer
  13578. remark:
  13579. description: 备注
  13580. type: string
  13581. unitid:
  13582. description: 单位ID
  13583. type: integer
  13584. unitname:
  13585. description: 单位
  13586. type: string
  13587. updatetime:
  13588. description: 更新时间
  13589. type: string
  13590. updatorid:
  13591. description: 更新人
  13592. type: integer
  13593. wrsstatus:
  13594. description: 状态 - 作废 - 0:未激活 1:正常
  13595. type: integer
  13596. wrstandardcode:
  13597. description: 现货品类代码
  13598. type: string
  13599. wrstandardid:
  13600. description: 现货品类ID(SEQ_WRSTANDARD)
  13601. type: integer
  13602. wrstandardname:
  13603. description: 现货品类名称
  13604. type: string
  13605. required:
  13606. - wrstandardid
  13607. type: object
  13608. models.WRTradeBargainApply:
  13609. properties:
  13610. accountid:
  13611. description: 摘牌资金账号
  13612. type: integer
  13613. applyprice:
  13614. description: 申请价格(议价价格)
  13615. type: string
  13616. applyqty:
  13617. description: 摘牌数量(议价数量)
  13618. type: number
  13619. applyremark:
  13620. description: 申请备注
  13621. type: string
  13622. applystatus:
  13623. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13624. type: integer
  13625. applytime:
  13626. description: 申请时间(议价时间)
  13627. type: string
  13628. buyorsell:
  13629. description: 买卖(挂牌类型) - 0:买 1:卖
  13630. type: integer
  13631. confirmremark:
  13632. description: 确认备注
  13633. type: string
  13634. confirmtime:
  13635. description: 确认时间
  13636. type: string
  13637. confirmuserid:
  13638. description: 确认人
  13639. type: integer
  13640. deliverygoodscode:
  13641. description: 品种代码
  13642. type: string
  13643. deliverygoodsid:
  13644. description: 品种ID
  13645. type: integer
  13646. deliverygoodsname:
  13647. description: 品种名称
  13648. type: string
  13649. deliverymonth:
  13650. description: 交收月
  13651. type: string
  13652. enumdicname:
  13653. description: 单位名称
  13654. type: string
  13655. fixedprice:
  13656. description: 挂牌价格
  13657. type: number
  13658. handlestatus:
  13659. description: 处理状态
  13660. type: integer
  13661. marginvalue:
  13662. description: 履约保证金比例
  13663. type: number
  13664. marketid:
  13665. description: 市场ID
  13666. type: integer
  13667. matchaccountid:
  13668. description: 挂牌方资金账号
  13669. type: integer
  13670. matchuserid:
  13671. description: 挂牌方用户id
  13672. type: integer
  13673. matchusername:
  13674. description: 挂牌方用户名称(已脱敏)
  13675. type: string
  13676. minivalue:
  13677. description: 现货商品最小变动值
  13678. type: integer
  13679. optioncompare:
  13680. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13681. type: string
  13682. orderqty:
  13683. description: 挂牌数量
  13684. type: integer
  13685. refprice:
  13686. description: 参考价格
  13687. type: string
  13688. retcode:
  13689. description: 委托返回代码
  13690. type: integer
  13691. templatename:
  13692. description: 履约方式(履约模板名称)
  13693. type: string
  13694. tradedate:
  13695. description: 交易日(yyyyMMdd)
  13696. type: string
  13697. userid:
  13698. description: 摘牌人用户ID(议价人ID)
  13699. type: integer
  13700. username:
  13701. description: 议价人名字(已脱敏)
  13702. type: string
  13703. validtime:
  13704. description: 有效期限
  13705. type: string
  13706. warehouseid:
  13707. description: 仓库ID
  13708. type: integer
  13709. warehousename:
  13710. description: 仓库名称
  13711. type: string
  13712. wrbargainid:
  13713. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13714. type: string
  13715. wrfactortypeid:
  13716. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13717. type: string
  13718. wrfactortypename:
  13719. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13720. type: string
  13721. wrstandardcode:
  13722. description: 现货商品代码
  13723. type: string
  13724. wrstandardid:
  13725. description: 现货商品ID
  13726. type: integer
  13727. wrstandardname:
  13728. description: 商品名称
  13729. type: string
  13730. wrtradeorderid:
  13731. description: 关联委托单ID
  13732. type: string
  13733. wrtypename:
  13734. description: 商品
  13735. type: string
  13736. type: object
  13737. models.Warehouseinfo:
  13738. properties:
  13739. address:
  13740. description: 详细地址
  13741. type: string
  13742. areauserid:
  13743. description: 所属机构
  13744. type: integer
  13745. autoid:
  13746. description: 自增ID
  13747. type: integer
  13748. cityid:
  13749. description: 市
  13750. type: integer
  13751. contactname:
  13752. description: 联系人
  13753. type: string
  13754. contactnum:
  13755. description: 联系电话
  13756. type: string
  13757. countryid:
  13758. description: 国家
  13759. type: integer
  13760. createtime:
  13761. description: 创建时间
  13762. type: string
  13763. districtid:
  13764. description: 区
  13765. type: integer
  13766. hasvideo:
  13767. description: 是否有视频 - 0:无 1:有
  13768. type: integer
  13769. provinceid:
  13770. description: 省
  13771. type: integer
  13772. remark:
  13773. description: 审核备注
  13774. type: string
  13775. videourl:
  13776. description: 视频地址
  13777. type: string
  13778. warehousecode:
  13779. description: 仓库代码
  13780. type: string
  13781. warehousename:
  13782. description: 仓库名称
  13783. type: string
  13784. warehousestatus:
  13785. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13786. type: integer
  13787. warehousetype:
  13788. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13789. type: integer
  13790. required:
  13791. - autoid
  13792. - warehousecode
  13793. type: object
  13794. models.WrAverageTradePrice:
  13795. properties:
  13796. averageprice:
  13797. description: 成交均价
  13798. type: number
  13799. tradedate:
  13800. description: 交易日yyyymm
  13801. type: string
  13802. type: object
  13803. models.WrBsGoodsInfo:
  13804. properties:
  13805. buyorsell:
  13806. description: 买卖方向 0-买 1-卖
  13807. type: integer
  13808. goodsid:
  13809. description: 交易合约ID
  13810. type: integer
  13811. lstitem:
  13812. description: 商品信息项
  13813. items:
  13814. $ref: '#/definitions/models.WrTypeItem'
  13815. type: array
  13816. lststep:
  13817. description: 履约规则
  13818. items:
  13819. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13820. type: array
  13821. type: object
  13822. models.WrBuybackDetail:
  13823. properties:
  13824. buybackamount:
  13825. description: 回购金额
  13826. type: number
  13827. buybackqty:
  13828. description: 回购数量
  13829. type: number
  13830. buybackreleasemargin:
  13831. description: 回购释放保证金
  13832. type: number
  13833. buybacktime:
  13834. description: 回购时间
  13835. type: string
  13836. errordesc:
  13837. description: 错误描述
  13838. type: string
  13839. handlestatus:
  13840. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13841. type: integer
  13842. relatedwrid:
  13843. description: 关联仓单ID
  13844. type: integer
  13845. scfcontractid:
  13846. description: SCF合同ID
  13847. type: string
  13848. scfwrbuybackid:
  13849. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13850. type: integer
  13851. tradedate:
  13852. description: 交易日(yyyyMMdd)
  13853. type: string
  13854. type: object
  13855. models.WrDeliveryAvalidHoldLB:
  13856. properties:
  13857. accountid:
  13858. description: 资金账号
  13859. type: integer
  13860. avalidqty:
  13861. description: 数量(可点选数量)
  13862. type: number
  13863. deliverygoodsid:
  13864. description: 品种id
  13865. type: integer
  13866. enumdicname:
  13867. description: 单位名称
  13868. type: string
  13869. goodsid:
  13870. description: x合约商品id
  13871. type: integer
  13872. ladingbillid:
  13873. description: 提单id
  13874. type: string
  13875. pgoodscode:
  13876. description: p商品代码(点价合约)
  13877. type: string
  13878. pgoodsid:
  13879. description: p商品id(点价合约)
  13880. type: integer
  13881. pgoodsname:
  13882. description: p商品名称(点价合约)
  13883. type: string
  13884. pricemove:
  13885. description: 升贴水
  13886. type: number
  13887. subnum:
  13888. description: 提单子id
  13889. type: integer
  13890. userid:
  13891. description: 用户id
  13892. type: integer
  13893. username:
  13894. description: 仓单持有人
  13895. type: string
  13896. warehousecode:
  13897. description: 仓库代码
  13898. type: string
  13899. warehouseid:
  13900. description: 仓库id
  13901. type: integer
  13902. warehousename:
  13903. description: 仓库名称
  13904. type: string
  13905. wrfactortypeid:
  13906. description: 仓单要素id
  13907. type: string
  13908. wrstandardcode:
  13909. description: 品代码
  13910. type: string
  13911. wrstandardid:
  13912. description: 品类d
  13913. type: integer
  13914. wrstandardname:
  13915. description: 品类名称
  13916. type: string
  13917. wrtypename:
  13918. description: 商品
  13919. type: string
  13920. xgoodscode:
  13921. description: x合约代码
  13922. type: string
  13923. xgoodsname:
  13924. description: x合约名称
  13925. type: string
  13926. type: object
  13927. models.WrDeliveryDetail:
  13928. properties:
  13929. accountid:
  13930. description: 账号ID
  13931. type: integer
  13932. averageprice:
  13933. description: 交割均价 = 交割金额 / 交割数量
  13934. type: number
  13935. buyorsell:
  13936. description: 方向 - 0:买 1:卖
  13937. type: integer
  13938. deliveryamount:
  13939. description: 货款金额(X总货款+P总货款)
  13940. type: number
  13941. deliveryid:
  13942. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13943. type: string
  13944. deliveryorderid:
  13945. description: 申报单号
  13946. type: string
  13947. deliverypricemove:
  13948. description: 升贴水(升贴水总额)
  13949. type: number
  13950. deliveryqty:
  13951. description: 交收数量(点选数量)
  13952. type: number
  13953. deliverystatus:
  13954. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13955. type: integer
  13956. deliverytime:
  13957. description: 交割时间
  13958. type: string
  13959. deliverytotalamount:
  13960. description: 交收金额
  13961. type: number
  13962. enumdicname:
  13963. description: 单位名称
  13964. type: string
  13965. matchaccountid:
  13966. description: 对手账号ID
  13967. type: integer
  13968. matchusername:
  13969. description: 对手方名称(仓单持有人)
  13970. type: string
  13971. p1goodsremainamount:
  13972. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13973. type: number
  13974. pdeliverycloseqty:
  13975. description: p合约平仓数量
  13976. type: number
  13977. pdeliveryprice:
  13978. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13979. type: number
  13980. pgoodscode:
  13981. description: 商品代码
  13982. type: string
  13983. pgoodsid:
  13984. description: p点选合约id
  13985. type: integer
  13986. pgoodsname:
  13987. description: 商品名称
  13988. type: string
  13989. ppricemode:
  13990. description: 点价价格方式 - 1:商品价 2:固定值
  13991. type: integer
  13992. tradedate:
  13993. description: 交易日(yyyymmdd)
  13994. type: string
  13995. userid:
  13996. description: 用户id
  13997. type: integer
  13998. username:
  13999. description: 用户名称
  14000. type: string
  14001. warehousename:
  14002. description: 仓库名称
  14003. type: string
  14004. wrfactortypeid:
  14005. description: 仓单要素类型ID
  14006. type: string
  14007. wrtypename:
  14008. description: 商品
  14009. type: string
  14010. xdeliverycloseqty:
  14011. description: 合约数量
  14012. type: number
  14013. xgoodsamount:
  14014. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14015. type: number
  14016. xgoodscode:
  14017. description: 商品代码
  14018. type: string
  14019. xgoodsid:
  14020. description: x交易合约ID
  14021. type: integer
  14022. xgoodsname:
  14023. description: 商品名称
  14024. type: string
  14025. type: object
  14026. models.WrFAProductDetail:
  14027. properties:
  14028. accountid:
  14029. description: 资金账号
  14030. type: integer
  14031. areauserid:
  14032. description: 金融机构ID
  14033. type: integer
  14034. financingdays:
  14035. description: 天数(天)
  14036. type: integer
  14037. interestminlen:
  14038. description: 最小起息天数
  14039. type: integer
  14040. interestrate:
  14041. description: 利率
  14042. type: number
  14043. interestratemode:
  14044. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14045. type: integer
  14046. interestsettlemode:
  14047. description: 结息方式 - 1:按日结息 3:按月结息
  14048. type: integer
  14049. interestsettlevalue:
  14050. description: 结息方式值
  14051. type: integer
  14052. isautoloan:
  14053. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14054. type: integer
  14055. loantag:
  14056. description: '放款标识: "放款快" 或者为空'
  14057. type: string
  14058. marginratio:
  14059. description: 保证金比率质押率 - [仓单质押]
  14060. type: number
  14061. productdetailid:
  14062. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14063. type: integer
  14064. productid:
  14065. description: 金融产品ID
  14066. type: integer
  14067. productname:
  14068. description: 产品名称
  14069. type: string
  14070. updatetime:
  14071. description: 更新时间
  14072. type: string
  14073. username:
  14074. description: 融出方
  14075. type: string
  14076. type: object
  14077. models.WrFactorTypeInfo:
  14078. properties:
  14079. deliverygoodscode:
  14080. description: 品种代码
  14081. type: string
  14082. deliverygoodsname:
  14083. description: 品种名称
  14084. type: string
  14085. dgfactoryitemid:
  14086. description: 选择项id
  14087. type: integer
  14088. dgfactoryitemtypeid:
  14089. description: 要素选择项ID (1-仓库 2-品牌)
  14090. type: integer
  14091. dgfactoryitemvalue:
  14092. description: 要素项值
  14093. type: string
  14094. itemtypename:
  14095. description: 要素项名称
  14096. type: string
  14097. optioncompare:
  14098. description: 选择比较串
  14099. type: string
  14100. warehouseid:
  14101. description: 仓库id
  14102. type: integer
  14103. wrfactortypeid:
  14104. description: 仓单要素ID
  14105. type: string
  14106. wrfactortypename:
  14107. description: 要素名称
  14108. type: string
  14109. wrfactortypename2:
  14110. description: 要素名称(不含仓库)
  14111. type: string
  14112. wrstandardcode:
  14113. description: 品类代码
  14114. type: string
  14115. wrstandardid:
  14116. description: 品类id
  14117. type: integer
  14118. wrstandardname:
  14119. description: 品类名称
  14120. type: string
  14121. type: object
  14122. models.WrFilterItem:
  14123. properties:
  14124. itemcode:
  14125. description: 代码
  14126. type: string
  14127. itemid:
  14128. description: 项id
  14129. type: integer
  14130. itemname:
  14131. description: 名称
  14132. type: string
  14133. itemtype:
  14134. description: 类型 1-品种 2-品类(商品) 3-仓库
  14135. type: integer
  14136. type: object
  14137. models.WrFinanceBuyApply:
  14138. properties:
  14139. applydate:
  14140. description: 申请时间
  14141. type: string
  14142. applystatus:
  14143. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14144. type: integer
  14145. applyuserid:
  14146. description: 申请人
  14147. type: integer
  14148. auditdate:
  14149. description: 审核时间
  14150. type: string
  14151. auditremark:
  14152. description: 审核备注
  14153. type: string
  14154. audituserid:
  14155. description: 审核人
  14156. type: integer
  14157. buyaccountid:
  14158. description: 买方资金账号
  14159. type: integer
  14160. buyorsell:
  14161. description: 买卖 - 0:买 1:卖
  14162. type: integer
  14163. buyuserid:
  14164. description: 买方用户ID
  14165. type: integer
  14166. buyusername:
  14167. description: 买方名称
  14168. type: string
  14169. buywrtradeorderid:
  14170. description: 融资方买委托单ID
  14171. type: string
  14172. deliverygoodscode:
  14173. description: 品种代码
  14174. type: string
  14175. deliverygoodsid:
  14176. description: 品种ID
  14177. type: integer
  14178. deliverygoodsname:
  14179. description: 品种名称
  14180. type: string
  14181. deliverymonth:
  14182. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14183. type: string
  14184. enumdicname:
  14185. description: 单位名称
  14186. type: string
  14187. financeaccountid:
  14188. description: 融资方资金帐户ID
  14189. type: integer
  14190. financeapplyid:
  14191. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14192. type: string
  14193. financeareauserid:
  14194. description: 融资方用户ID
  14195. type: string
  14196. financename:
  14197. description: 融出方名称
  14198. type: string
  14199. financetype:
  14200. description: 融资类型 1-融资回购
  14201. type: integer
  14202. financingdays:
  14203. description: 天数(天)
  14204. type: integer
  14205. freezebuymargin:
  14206. description: 冻结融资保证金(买方)
  14207. type: number
  14208. handleremark:
  14209. description: 处理备注
  14210. type: string
  14211. handlestatus:
  14212. description: 处理状态
  14213. type: integer
  14214. interestminlen:
  14215. description: 最小起息天数
  14216. type: integer
  14217. interestrate:
  14218. description: 利率
  14219. type: number
  14220. interestratemode:
  14221. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14222. type: integer
  14223. interestsettlemode:
  14224. description: 结息方式 - 1:按日结息 3:按月结息
  14225. type: integer
  14226. interestsettlevalue:
  14227. description: 结息方式值
  14228. type: integer
  14229. isautoloan:
  14230. description: 是否自动放款 - 0:手动 1:自动
  14231. type: integer
  14232. marginratio:
  14233. description: 保证金比率质押率 - [仓单质押]
  14234. type: number
  14235. marketid:
  14236. description: 市场ID
  14237. type: integer
  14238. minivalue:
  14239. description: 现货商品最小变动值
  14240. type: integer
  14241. optioncompare:
  14242. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14243. type: string
  14244. orderqty:
  14245. description: 委托数量(商品数量)
  14246. type: number
  14247. productdetailid:
  14248. description: 产品组合ID
  14249. type: integer
  14250. productid:
  14251. description: 金融产品ID
  14252. type: integer
  14253. productname:
  14254. description: 产品名称
  14255. type: string
  14256. remark:
  14257. description: 备注
  14258. type: string
  14259. scfcontractid:
  14260. description: 仓单回购合同ID
  14261. type: string
  14262. sellaccountid:
  14263. description: 卖方资金账号
  14264. type: integer
  14265. selluserid:
  14266. description: 卖方用户ID
  14267. type: integer
  14268. sellwrtradeorderid:
  14269. description: 卖方委托单ID
  14270. type: string
  14271. tradeamount:
  14272. description: 成交金额(借款金额)
  14273. type: number
  14274. tradedate:
  14275. description: 交易日(yyyyMMdd)
  14276. type: string
  14277. tradeprice:
  14278. description: 成交价格
  14279. type: number
  14280. warehouseid:
  14281. description: 仓库ID
  14282. type: integer
  14283. warehousename:
  14284. description: 仓库名称
  14285. type: string
  14286. wrfactortypeid:
  14287. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14288. type: string
  14289. wrfactortypename:
  14290. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14291. type: string
  14292. wrpricetype:
  14293. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14294. type: integer
  14295. wrstandardcode:
  14296. description: 现货商品代码
  14297. type: string
  14298. wrstandardid:
  14299. description: 现货商品ID
  14300. type: integer
  14301. wrstandardname:
  14302. description: 商品名称
  14303. type: string
  14304. wrtypename:
  14305. description: 商品
  14306. type: string
  14307. type: object
  14308. models.WrFriendApply:
  14309. properties:
  14310. applicantid:
  14311. description: 申请人
  14312. type: integer
  14313. applyname:
  14314. description: 申请人名称
  14315. type: string
  14316. applysrc:
  14317. description: 申请来源 - 1:管理端 2:终端
  14318. type: integer
  14319. applystatus:
  14320. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14321. type: integer
  14322. applytime:
  14323. description: 申请时间
  14324. type: string
  14325. auditname:
  14326. description: 审核人名称
  14327. type: string
  14328. auditorid:
  14329. description: 审核人
  14330. type: integer
  14331. auditremark:
  14332. description: 审核备注
  14333. type: string
  14334. auditsrc:
  14335. description: 审核来源 - 1:管理端 2:终端
  14336. type: integer
  14337. audittime:
  14338. description: 审核时间
  14339. type: string
  14340. friendapplyid:
  14341. description: 申请ID(SEQ_FRIENDAPPLY)
  14342. type: string
  14343. friendname:
  14344. description: 好友名字(已脱敏)
  14345. type: string
  14346. frienduserid:
  14347. description: 好友用户ID
  14348. type: string
  14349. remark:
  14350. description: 备注
  14351. type: string
  14352. userid:
  14353. description: 申请人用户ID
  14354. type: integer
  14355. type: object
  14356. models.WrFtDeliveryGoods:
  14357. properties:
  14358. deliverygoodscode:
  14359. description: 品种代码
  14360. type: string
  14361. deliverygoodsid:
  14362. description: 品种ID
  14363. type: integer
  14364. deliverygoodsname:
  14365. description: 品种名称
  14366. type: string
  14367. wdlst:
  14368. description: 商品列表
  14369. items:
  14370. $ref: '#/definitions/models.WrFtWrstandard'
  14371. type: array
  14372. type: object
  14373. models.WrFtWrstandard:
  14374. properties:
  14375. enumdicname:
  14376. description: 单位名称
  14377. type: string
  14378. minivalue:
  14379. description: 最小变动值
  14380. type: integer
  14381. wrstandardcode:
  14382. description: 现货商品代码
  14383. type: string
  14384. wrstandardid:
  14385. description: 现货商品ID
  14386. type: integer
  14387. wrstandardname:
  14388. description: 商品名称
  14389. type: string
  14390. type: object
  14391. models.WrGoodsInfo:
  14392. properties:
  14393. haswr:
  14394. description: 0:仓单预售 1:仓单贸易
  14395. type: integer
  14396. lstitem:
  14397. description: 商品信息项
  14398. items:
  14399. $ref: '#/definitions/models.WrTypeItem'
  14400. type: array
  14401. lststep:
  14402. description: 履约规则
  14403. items:
  14404. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14405. type: array
  14406. marketid:
  14407. description: 市场id
  14408. type: integer
  14409. type: object
  14410. models.WrGoodsPerformanceStep:
  14411. properties:
  14412. autoid:
  14413. description: AutoID
  14414. type: integer
  14415. isauto:
  14416. description: 是否自动 - 0:不自动 1:自动
  14417. type: integer
  14418. remark:
  14419. description: 备注
  14420. type: string
  14421. stepdate:
  14422. description: 天数信息(T+N)
  14423. type: string
  14424. stepdays:
  14425. description: 距离上一步天数
  14426. type: integer
  14427. stepindex:
  14428. description: 步骤序号
  14429. type: integer
  14430. stepinfo:
  14431. description: 步骤信息(步骤名称+步骤值)
  14432. type: string
  14433. steptypeid:
  14434. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14435. type: integer
  14436. steptypename:
  14437. description: 步骤名称
  14438. type: string
  14439. stepvalue:
  14440. description: 步骤值
  14441. type: number
  14442. templateid:
  14443. description: 履约计划模板ID
  14444. type: integer
  14445. type: object
  14446. models.WrHoldLB:
  14447. properties:
  14448. accountid:
  14449. description: 持有人帐户ID
  14450. type: integer
  14451. createtime:
  14452. description: 创建时间(过户时间)
  14453. type: string
  14454. deliverygoodscode:
  14455. description: 品种代码
  14456. type: string
  14457. deliverygoodsid:
  14458. description: 品种ID
  14459. type: integer
  14460. deliverygoodsname:
  14461. description: 品种名称
  14462. type: string
  14463. enableqty:
  14464. description: 可用数量
  14465. type: number
  14466. enumdicname:
  14467. description: 单位名称
  14468. type: string
  14469. freezerqty:
  14470. description: 冻结数量
  14471. type: number
  14472. ladingbillid:
  14473. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14474. type: string
  14475. minivalue:
  14476. description: 现货商品最小变动值
  14477. type: integer
  14478. optioncompare:
  14479. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14480. type: string
  14481. parentsubnum:
  14482. description: 拆分父子单号
  14483. type: integer
  14484. pledgeqty:
  14485. description: 质押数量
  14486. type: number
  14487. qty:
  14488. description: 数量
  14489. type: number
  14490. subnum:
  14491. description: 提单子单号
  14492. type: integer
  14493. tradedate:
  14494. description: 交易日(yyyyMMdd)
  14495. type: string
  14496. userid:
  14497. description: 持有人ID
  14498. type: integer
  14499. warehouseid:
  14500. description: 仓库ID
  14501. type: integer
  14502. warehousename:
  14503. description: 仓库名称
  14504. type: string
  14505. wrfactortypeid:
  14506. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14507. type: string
  14508. wrfactortypename:
  14509. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14510. type: string
  14511. wrholdeno:
  14512. description: 仓单编号
  14513. type: string
  14514. wrid:
  14515. description: 仓单变更ID
  14516. type: string
  14517. wrstandardcode:
  14518. description: 现货商品代码
  14519. type: string
  14520. wrstandardid:
  14521. description: 现货商品ID
  14522. type: integer
  14523. wrstandardname:
  14524. description: 商品名称
  14525. type: string
  14526. wrtypename:
  14527. description: 商品
  14528. type: string
  14529. type: object
  14530. models.WrMarketTradeConfig:
  14531. properties:
  14532. basisdownratio:
  14533. description: 浮动价基差下限比例(仓单贸易)
  14534. type: number
  14535. basisupratio:
  14536. description: 浮动价基差上限比例(仓单贸易)
  14537. type: number
  14538. buychargealgorithm:
  14539. description: 买方手续费收取方式 1:比率 2:固定
  14540. type: integer
  14541. buychargealgorithm2:
  14542. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14543. type: integer
  14544. buychargealgorithmvalue:
  14545. description: 买方手续费设置值(交易所部分)
  14546. type: number
  14547. buychargealgorithmvalue2:
  14548. description: 买方手续费设置值(会员部分)
  14549. type: number
  14550. buychargealgorithmvalue3:
  14551. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14552. type: number
  14553. buychargealgorithmvalue4:
  14554. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14555. type: number
  14556. buyfirstmarginalgorithm:
  14557. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14558. type: integer
  14559. buyfirstmarginvalue:
  14560. description: 买方出价保证金设置值 - [竞拍]
  14561. type: number
  14562. buymarginalgorithm:
  14563. description: 买方保证金方式 - 1:比率 2:固定
  14564. type: integer
  14565. buymarginvalue:
  14566. description: 买方保证金设置值
  14567. type: number
  14568. buyreleaseratio:
  14569. description: 买方释放比率[2:分步履约]
  14570. type: number
  14571. executemode:
  14572. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14573. type: integer
  14574. executeside:
  14575. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14576. type: integer
  14577. failedchargealgorithm:
  14578. description: 流拍手续费收取方式 1:比率 2:固定
  14579. type: integer
  14580. failedchargevalue:
  14581. description: 流拍手续费设置值
  14582. type: number
  14583. failedchargevalue2:
  14584. description: 流拍卖方手续费设置值
  14585. type: number
  14586. holddays:
  14587. description: 合同期限[2:分步履约]
  14588. type: integer
  14589. marketid:
  14590. description: 市场ID-仓单贸易、竞拍、预售
  14591. type: integer
  14592. minqty:
  14593. description: 最小执行量[2:分步履约]
  14594. type: number
  14595. modifierid:
  14596. description: 修改人
  14597. type: integer
  14598. performancetempid:
  14599. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  14600. type: integer
  14601. performancetempid2:
  14602. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  14603. type: integer
  14604. performanceway:
  14605. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14606. type: integer
  14607. sellchargealgorithm:
  14608. description: 卖方手续费收取方式 1:比率 2:固定
  14609. type: integer
  14610. sellchargealgorithm2:
  14611. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14612. type: integer
  14613. sellchargealgorithmvalue:
  14614. description: 卖方手续费设置值(交易所部分)
  14615. type: number
  14616. sellchargealgorithmvalue2:
  14617. description: 卖方手续费设置值(会员部分)
  14618. type: number
  14619. sellchargealgorithmvalue3:
  14620. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14621. type: number
  14622. sellchargealgorithmvalue4:
  14623. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14624. type: number
  14625. sellmarginalgorithm:
  14626. description: 卖方保证金方式 - 1:比率 2:固定
  14627. type: integer
  14628. sellmarginvalue:
  14629. description: 卖方保证金设置值
  14630. type: number
  14631. sellmarginvalue2:
  14632. description: 卖方保证金设置值(无仓单)
  14633. type: number
  14634. sellreleaseratio:
  14635. description: 卖方释放比率[2:分步履约]
  14636. type: number
  14637. updatetime:
  14638. description: 更新时间
  14639. type: string
  14640. type: object
  14641. models.WrOrderDetail:
  14642. properties:
  14643. accountid:
  14644. description: 交易账号(资金账号)
  14645. type: integer
  14646. allfriendsflag:
  14647. description: 是否全好友可见 - 0:否 1:是
  14648. type: integer
  14649. amount:
  14650. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  14651. type: number
  14652. buyorsell:
  14653. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14654. type: integer
  14655. canbargain:
  14656. description: 是否可议价 - 0:不可 1:可
  14657. type: integer
  14658. cancelqty:
  14659. description: 撤销数量
  14660. type: number
  14661. canpart:
  14662. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14663. type: integer
  14664. delistminqty:
  14665. description: 起摘数量
  14666. type: integer
  14667. deliverygoodscode:
  14668. description: 品种代码
  14669. type: string
  14670. deliverygoodsid:
  14671. description: 品种ID
  14672. type: integer
  14673. deliverygoodsname:
  14674. description: 品种名称
  14675. type: string
  14676. deliverymonth:
  14677. description: 交收月
  14678. type: string
  14679. enumdicname:
  14680. description: 单位名称
  14681. type: string
  14682. fixedprice:
  14683. description: 固定价格 - [挂牌]
  14684. type: number
  14685. freezemargin:
  14686. description: 冻结保证金(保证金)
  14687. type: number
  14688. futupricemove:
  14689. description: 期货升贴水
  14690. type: number
  14691. futushow:
  14692. description: 期货合约/升贴水
  14693. type: string
  14694. goodscode:
  14695. description: 期货合约
  14696. type: string
  14697. goodsid:
  14698. description: 期货商品id
  14699. type: integer
  14700. goodsname:
  14701. description: 商品名称
  14702. type: string
  14703. haswr:
  14704. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14705. type: integer
  14706. isspecified:
  14707. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14708. type: integer
  14709. ladingbillid:
  14710. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14711. type: string
  14712. marginvalue:
  14713. description: 保证金设置值(履约保证金)
  14714. type: number
  14715. marketid:
  14716. description: 市场ID
  14717. type: integer
  14718. matchusername:
  14719. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14720. type: string
  14721. minivalue:
  14722. description: 现货商品最小变动值
  14723. type: integer
  14724. optioncompare:
  14725. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14726. type: string
  14727. orderqty:
  14728. description: 委托数量
  14729. type: number
  14730. ordertime:
  14731. description: 委托时间(挂牌时间)
  14732. type: string
  14733. performancetemplateid:
  14734. description: 履约模板id
  14735. type: integer
  14736. pricemove:
  14737. description: 升贴水(浮动价时填写) - [挂牌]
  14738. type: number
  14739. taname:
  14740. description: 交易用户名称(资金账号名称)
  14741. type: string
  14742. tradedate:
  14743. description: 交易日(yyyyMMdd)
  14744. type: string
  14745. tradeprice:
  14746. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14747. type: number
  14748. tradeqty:
  14749. description: 成交数量
  14750. type: number
  14751. userid:
  14752. description: 用户ID
  14753. type: integer
  14754. validtime:
  14755. description: 挂牌有效期
  14756. type: string
  14757. warehouseid:
  14758. description: 仓库ID
  14759. type: integer
  14760. warehousename:
  14761. description: 仓库名称
  14762. type: string
  14763. wrfactortypeid:
  14764. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14765. type: string
  14766. wrfactortypename:
  14767. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14768. type: string
  14769. wrpricetype:
  14770. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14771. type: integer
  14772. wrstandardcode:
  14773. description: 现货商品代码
  14774. type: string
  14775. wrstandardid:
  14776. description: 现货商品ID
  14777. type: integer
  14778. wrstandardname:
  14779. description: 商品名称
  14780. type: string
  14781. wrtradeorderid:
  14782. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14783. type: string
  14784. wrtradeorderstatus:
  14785. 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:撤单解冻贷款失败
  14786. type: integer
  14787. wrtradetype:
  14788. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14789. type: integer
  14790. wrtypename:
  14791. description: 商品
  14792. type: string
  14793. type: object
  14794. models.WrOrderQuote:
  14795. properties:
  14796. buyprice:
  14797. description: 买价
  14798. type: number
  14799. buypricemove:
  14800. description: 买升贴水(基差)
  14801. type: number
  14802. buyqty:
  14803. description: 买量
  14804. type: number
  14805. deliverygoodscode:
  14806. description: 品种代码
  14807. type: string
  14808. deliverygoodsid:
  14809. description: 品种id
  14810. type: integer
  14811. deliverygoodsname:
  14812. description: 品种名称
  14813. type: string
  14814. deliverymonth:
  14815. description: 交收月
  14816. type: string
  14817. enumdicname:
  14818. description: 单位名称
  14819. type: string
  14820. goodscode:
  14821. description: 商品合约(浮动价列表才有)
  14822. type: string
  14823. goodsid:
  14824. description: 商品id(浮动价列表才有)
  14825. type: integer
  14826. minivalue:
  14827. description: 现货商品最小变动值
  14828. type: integer
  14829. sellprice:
  14830. description: 卖价
  14831. type: number
  14832. sellpricemove:
  14833. description: 卖升贴水(基差)
  14834. type: number
  14835. sellqty:
  14836. description: 卖量
  14837. type: number
  14838. warehousecode:
  14839. description: 仓库代码
  14840. type: string
  14841. warehouseid:
  14842. description: 仓库id
  14843. type: integer
  14844. warehousename:
  14845. description: 仓库名称
  14846. type: string
  14847. wrfactortypeid:
  14848. description: 仓单要素id
  14849. type: string
  14850. wrfactortypename:
  14851. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14852. type: string
  14853. wrgoodsname:
  14854. description: 商品(商品名称+仓库要素名称 拼接)
  14855. type: string
  14856. wrstandardcode:
  14857. description: 商品代码
  14858. type: string
  14859. wrstandardid:
  14860. description: 商品id
  14861. type: integer
  14862. wrstandardname:
  14863. description: 商品名称
  14864. type: string
  14865. type: object
  14866. models.WrOrderQuoteDetail:
  14867. properties:
  14868. buyorsell:
  14869. description: 买卖 - 0:买 1:卖
  14870. type: integer
  14871. delistminqty:
  14872. description: 起摘数量
  14873. type: number
  14874. deliverymonth:
  14875. description: 交收月
  14876. type: string
  14877. enumdicname:
  14878. description: 单位名称
  14879. type: string
  14880. fixedprice:
  14881. description: 买(卖)价
  14882. type: number
  14883. minivalue:
  14884. description: 现货商品最小变动值
  14885. type: integer
  14886. orderqty:
  14887. description: 买(卖)量(=委托量-成交量)
  14888. type: number
  14889. ordertime:
  14890. description: 委托时间
  14891. type: string
  14892. pricemove:
  14893. description: 买(卖)升贴水- 基差
  14894. type: number
  14895. userid:
  14896. description: 购买方(销售方)用户ID
  14897. type: integer
  14898. username:
  14899. description: 购买方(销售方)
  14900. type: string
  14901. wrtradeorderid:
  14902. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14903. type: string
  14904. type: object
  14905. models.WrOutInApply:
  14906. properties:
  14907. applyid:
  14908. description: 申请单id
  14909. type: string
  14910. applystatus:
  14911. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  14912. type: integer
  14913. applytime:
  14914. description: 申请时间
  14915. type: string
  14916. applytype:
  14917. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14918. type: integer
  14919. deliverygoodscode:
  14920. description: 品种代码
  14921. type: string
  14922. deliverygoodsid:
  14923. description: 品种ID
  14924. type: integer
  14925. deliverygoodsname:
  14926. description: 品种名称
  14927. type: string
  14928. enumdicname:
  14929. description: 单位名称
  14930. type: string
  14931. expresscompany:
  14932. description: 物流公司
  14933. type: string
  14934. expressnum:
  14935. description: 物流单号
  14936. type: string
  14937. minivalue:
  14938. description: 现货商品最小变动值
  14939. type: integer
  14940. optioncompare:
  14941. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14942. type: string
  14943. qty:
  14944. description: 数量
  14945. type: integer
  14946. userid:
  14947. description: 用户id
  14948. type: integer
  14949. warehouseid:
  14950. description: 仓库ID
  14951. type: integer
  14952. warehousename:
  14953. description: 仓库名称
  14954. type: string
  14955. wrfactortypeid:
  14956. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14957. type: string
  14958. wrfactortypename:
  14959. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14960. type: string
  14961. wrstandardcode:
  14962. description: 现货商品代码
  14963. type: string
  14964. wrstandardid:
  14965. description: 现货商品ID
  14966. type: integer
  14967. wrstandardname:
  14968. description: 商品名称
  14969. type: string
  14970. wrtypename:
  14971. description: 商品
  14972. type: string
  14973. type: object
  14974. models.WrPerformancePlan:
  14975. properties:
  14976. activatemonth:
  14977. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14978. type: string
  14979. amount:
  14980. description: 履约金额(总金额)
  14981. type: number
  14982. buyaccountid:
  14983. description: 买方账号
  14984. type: integer
  14985. buyerfreezeamount:
  14986. description: 履约冻结(买履约)
  14987. type: number
  14988. buyerfreezeamountremain:
  14989. description: 履约冻结剩余(买履约)
  14990. type: number
  14991. buyorsell:
  14992. description: 买卖方向 0-买 1-卖
  14993. type: integer
  14994. buypaidamount:
  14995. description: 买方已冻/已扣金额 (已付金额)
  14996. type: number
  14997. buyusername:
  14998. description: 买方名字
  14999. type: string
  15000. contractid:
  15001. description: 合同ID
  15002. type: integer
  15003. createtime:
  15004. description: 创建时间
  15005. type: string
  15006. creatorid:
  15007. description: 创建人
  15008. type: integer
  15009. curstepdeadline:
  15010. description: 当前步骤到期时间
  15011. type: string
  15012. curstepid:
  15013. description: 当前步骤ID
  15014. type: string
  15015. curstepname:
  15016. description: 当前步骤名称
  15017. type: string
  15018. deliverygoodscode:
  15019. description: 品种代码
  15020. type: string
  15021. deliverygoodsid:
  15022. description: 品种ID
  15023. type: integer
  15024. deliverygoodsname:
  15025. description: 品种名称
  15026. type: string
  15027. enumdicname:
  15028. description: 单位名称
  15029. type: string
  15030. expressfee:
  15031. description: 运费
  15032. type: number
  15033. expressfeeconfirmed:
  15034. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15035. type: integer
  15036. hasovershort:
  15037. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15038. type: integer
  15039. haswr:
  15040. description: 类型 0-仓单预售 1-仓单贸易
  15041. type: integer
  15042. marketid:
  15043. description: 市场ID
  15044. type: integer
  15045. middleaccountid:
  15046. description: 中间商资金账号ID
  15047. type: integer
  15048. middleuserid:
  15049. description: 中间商用户ID
  15050. type: integer
  15051. minivalue:
  15052. description: 现货商品最小变动值
  15053. type: integer
  15054. optioncompare:
  15055. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15056. type: string
  15057. overshortamount:
  15058. description: 溢短金额
  15059. type: number
  15060. overshortqty:
  15061. description: 溢短数量
  15062. type: number
  15063. paymenttype:
  15064. description: 付款方式 - 1:冻结 2:扣款
  15065. type: integer
  15066. performanceplanid:
  15067. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15068. type: string
  15069. performancestatus:
  15070. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15071. type: integer
  15072. performancetype:
  15073. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15074. type: integer
  15075. qty:
  15076. description: 履约数量
  15077. type: number
  15078. relatedorderid:
  15079. description: 关联单号(履约类型的关联单号)
  15080. type: string
  15081. remark:
  15082. description: 备注
  15083. type: string
  15084. sellaccountid:
  15085. description: 卖方账号
  15086. type: integer
  15087. sellerfreezeamount:
  15088. description: 履约冻结(卖履约)
  15089. type: number
  15090. sellerfreezeamountremain:
  15091. description: 履约冻结剩余(卖履约)
  15092. type: number
  15093. sellreceivedamount:
  15094. description: 卖方已收金额
  15095. type: number
  15096. sellusername:
  15097. description: 卖方名字
  15098. type: string
  15099. shipremark:
  15100. description: 发货备注[物流单号]
  15101. type: string
  15102. starttime:
  15103. description: 开始时间
  15104. type: string
  15105. steptypeid:
  15106. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15107. type: integer
  15108. typename:
  15109. description: 履约类型 名称
  15110. type: string
  15111. unpaidamount:
  15112. description: 剩余款(待支付金额)
  15113. type: number
  15114. userid:
  15115. description: 用户id
  15116. type: integer
  15117. warehouseid:
  15118. description: 仓库ID
  15119. type: integer
  15120. warehousename:
  15121. description: 仓库名称
  15122. type: string
  15123. wrfactortypeid:
  15124. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15125. type: string
  15126. wrfactortypename:
  15127. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15128. type: string
  15129. wrstandardcode:
  15130. description: 现货商品代码
  15131. type: string
  15132. wrstandardid:
  15133. description: 现货商品ID
  15134. type: integer
  15135. wrstandardname:
  15136. description: 商品名称
  15137. type: string
  15138. wrtransferuserid:
  15139. description: 仓单受让用户
  15140. type: integer
  15141. wrtypename:
  15142. description: 商品
  15143. type: string
  15144. required:
  15145. - userid
  15146. type: object
  15147. models.WrPerformancePlanStep:
  15148. properties:
  15149. delaydays:
  15150. description: 延期申请天数
  15151. type: integer
  15152. deliverygoodscode:
  15153. description: 品种代码
  15154. type: string
  15155. deliverygoodsid:
  15156. description: 品种ID
  15157. type: integer
  15158. deliverygoodsname:
  15159. description: 品种名称
  15160. type: string
  15161. endtime:
  15162. description: 结束日期
  15163. type: string
  15164. enumdicname:
  15165. description: 单位名称
  15166. type: string
  15167. executeside:
  15168. description: 步骤执行方 - 1:买方 2:卖方
  15169. type: integer
  15170. handlestatus:
  15171. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15172. type: integer
  15173. isauto:
  15174. description: 是否自动 - 0:不自动 1:自动
  15175. type: integer
  15176. islastreceivestep:
  15177. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15178. type: integer
  15179. minivalue:
  15180. description: 现货商品最小变动值
  15181. type: integer
  15182. optioncompare:
  15183. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15184. type: string
  15185. overdays:
  15186. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15187. type: integer
  15188. performancestepid:
  15189. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15190. type: string
  15191. planid:
  15192. description: 所属履约计划ID
  15193. type: string
  15194. realamount:
  15195. description: 实际完成金额
  15196. type: number
  15197. relatedorderid:
  15198. description: 关联单号
  15199. type: string
  15200. remaindays:
  15201. description: 剩余天数
  15202. type: integer
  15203. remark:
  15204. description: 错误备注
  15205. type: string
  15206. starttime:
  15207. description: 开始日期
  15208. type: string
  15209. stepamount:
  15210. description: 步骤金额
  15211. type: number
  15212. stepdays:
  15213. description: 距离上一步天数(分钟)
  15214. type: integer
  15215. stepindex:
  15216. description: 步骤序号
  15217. type: integer
  15218. steplanchtype:
  15219. description: 步骤启动类型 - 1:系统自动 2:手动
  15220. type: integer
  15221. stepremark:
  15222. description: 步骤备注
  15223. type: string
  15224. stepstatus:
  15225. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15226. type: integer
  15227. steptypeid:
  15228. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15229. type: integer
  15230. steptypename:
  15231. description: 步骤名称
  15232. type: string
  15233. stepvalue:
  15234. description: 步骤值
  15235. type: number
  15236. warehouseid:
  15237. description: 仓库ID
  15238. type: integer
  15239. warehousename:
  15240. description: 仓库名称
  15241. type: string
  15242. wrfactortypeid:
  15243. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15244. type: string
  15245. wrfactortypename:
  15246. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15247. type: string
  15248. wrstandardcode:
  15249. description: 现货商品代码
  15250. type: string
  15251. wrstandardid:
  15252. description: 现货商品ID
  15253. type: integer
  15254. wrstandardname:
  15255. description: 商品名称
  15256. type: string
  15257. wrtypename:
  15258. description: 商品
  15259. type: string
  15260. type: object
  15261. models.WrPerformanceStepType:
  15262. properties:
  15263. canauto:
  15264. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15265. type: integer
  15266. steptypeid:
  15267. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15268. type: integer
  15269. steptypename:
  15270. description: 步骤类型名称
  15271. type: string
  15272. type: object
  15273. models.WrPerformanceTemplateEx:
  15274. properties:
  15275. autoid:
  15276. description: AutoID 模板id
  15277. type: integer
  15278. createtime:
  15279. description: 创建时间
  15280. type: string
  15281. creatorid:
  15282. description: 创建人
  15283. type: integer
  15284. lstStep:
  15285. description: 步骤信息列表
  15286. items:
  15287. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15288. type: array
  15289. paymenttype:
  15290. description: 支付方式 - 1:冻结 2:扣款
  15291. type: integer
  15292. takemode:
  15293. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15294. type: integer
  15295. templatename:
  15296. description: 模板名称
  15297. type: string
  15298. templatetype:
  15299. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15300. type: integer
  15301. userid:
  15302. description: 所属用户
  15303. type: integer
  15304. type: object
  15305. models.WrPosition:
  15306. properties:
  15307. accountid:
  15308. description: 帐户ID
  15309. type: integer
  15310. buyexcuteqty:
  15311. description: 采购履约中数量
  15312. type: number
  15313. creditcurqty:
  15314. description: 授信当前数量(预售仓单:预售当前量)
  15315. type: number
  15316. creditenableqty:
  15317. description: '授信可用数量(预售仓单: 可用数量)'
  15318. type: number
  15319. creditfreezeqty:
  15320. description: '授信冻结数量(预售仓单: 当前数量)'
  15321. type: number
  15322. credittotalqty:
  15323. description: 授信总数量(预售仓单:预售总量)
  15324. type: number
  15325. credittradeqty:
  15326. description: 授信成交数量(预售仓单:成交总量)
  15327. type: number
  15328. deliverygoodscode:
  15329. description: 品种代码
  15330. type: string
  15331. deliverygoodsid:
  15332. description: 品种ID
  15333. type: integer
  15334. deliverygoodsname:
  15335. description: 品种名称
  15336. type: string
  15337. enalbeqty:
  15338. description: 可用数量
  15339. type: number
  15340. enumdicname:
  15341. description: 单位名称
  15342. type: string
  15343. freezeqty:
  15344. description: 总冻结数量
  15345. type: number
  15346. haswr:
  15347. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15348. type: integer
  15349. minivalue:
  15350. description: 现货商品最小变动值
  15351. type: integer
  15352. modifytime:
  15353. description: 修改时间(过户时间)
  15354. type: string
  15355. optioncompare:
  15356. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15357. type: string
  15358. pledgeqty:
  15359. description: 质押数量
  15360. type: number
  15361. querytype:
  15362. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15363. type: integer
  15364. sellexcuteqty:
  15365. description: 销售履约中数量
  15366. type: number
  15367. totalqty:
  15368. description: 总数量(库存数量)
  15369. type: number
  15370. warehouseid:
  15371. description: 仓库ID
  15372. type: integer
  15373. warehousename:
  15374. description: 仓库名称
  15375. type: string
  15376. wrfactortypeid:
  15377. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15378. type: string
  15379. wrfactortypename:
  15380. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15381. type: string
  15382. wrpositionid:
  15383. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15384. type: string
  15385. wrpositionno:
  15386. description: 仓单编号
  15387. type: string
  15388. wrstandardcode:
  15389. description: 现货商品代码
  15390. type: string
  15391. wrstandardid:
  15392. description: 现货商品ID
  15393. type: integer
  15394. wrstandardname:
  15395. description: 商品名称
  15396. type: string
  15397. wrtypename:
  15398. description: 商品
  15399. type: string
  15400. wruserid:
  15401. description: 持有人ID
  15402. type: integer
  15403. type: object
  15404. models.WrQuoteOrderMyq:
  15405. properties:
  15406. buyorsell:
  15407. description: 买卖 - 0:买 1:卖
  15408. type: integer
  15409. canbargain:
  15410. description: 是否可议价 - 0:不可 1:可
  15411. type: integer
  15412. canpart:
  15413. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15414. type: integer
  15415. delistminqty:
  15416. description: 起摘数量
  15417. type: number
  15418. deliverygoodscode:
  15419. description: 品种代码
  15420. type: string
  15421. deliverygoodsid:
  15422. description: 品种ID
  15423. type: integer
  15424. deliverygoodsname:
  15425. description: 品种名称
  15426. type: string
  15427. deliverymonth:
  15428. description: 交收月
  15429. type: string
  15430. enumdicname:
  15431. description: 单位名称
  15432. type: string
  15433. fixedprice:
  15434. description: 买(卖)价
  15435. type: number
  15436. goodscode:
  15437. description: 商品合约代码
  15438. type: string
  15439. marginflag:
  15440. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15441. type: integer
  15442. marginvalue:
  15443. description: 保证金设置值
  15444. type: number
  15445. minivalue:
  15446. description: 现货商品最小变动值
  15447. type: integer
  15448. orderqty:
  15449. description: 买(卖)量(=委托量-成交量)
  15450. type: number
  15451. ordertime:
  15452. description: 委托时间
  15453. type: string
  15454. performancetemplateid:
  15455. description: 履约模板id
  15456. type: integer
  15457. pricemove:
  15458. description: 买(卖)升贴水- 基差
  15459. type: number
  15460. templatename:
  15461. description: 履约模板名称
  15462. type: string
  15463. userid:
  15464. description: 购买方(销售方)用户ID
  15465. type: integer
  15466. username:
  15467. description: 购买方(销售方)
  15468. type: string
  15469. validtime:
  15470. description: 有效期限
  15471. type: string
  15472. validtype:
  15473. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15474. type: integer
  15475. warehousename:
  15476. description: 仓库名称
  15477. type: string
  15478. wrfactortypeid:
  15479. description: 仓单要素id
  15480. type: string
  15481. wrstandardcode:
  15482. description: 现货商品代码
  15483. type: string
  15484. wrstandardid:
  15485. description: 现货商品ID
  15486. type: integer
  15487. wrstandardname:
  15488. description: 商品名称
  15489. type: string
  15490. wrtradeorderid:
  15491. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15492. type: string
  15493. wrtypename:
  15494. description: 商品
  15495. type: string
  15496. type: object
  15497. models.WrScfContract:
  15498. properties:
  15499. borroweruserid:
  15500. description: 借款用户ID
  15501. type: integer
  15502. buybackwrpositionqty:
  15503. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15504. type: number
  15505. closeinterest:
  15506. description: 已结利息 -> 已结费用
  15507. type: number
  15508. currisklevel:
  15509. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15510. type: integer
  15511. deadline:
  15512. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15513. type: string
  15514. deliverygoodscode:
  15515. description: 品种代码
  15516. type: string
  15517. deliverygoodsid:
  15518. description: 品种ID
  15519. type: integer
  15520. deliverygoodsname:
  15521. description: 品种名称
  15522. type: string
  15523. enumdicname:
  15524. description: 单位名称
  15525. type: string
  15526. financingdays:
  15527. description: 天数(天)
  15528. type: integer
  15529. initmargin:
  15530. description: 保证金 - [仓单回购]
  15531. type: number
  15532. interestamount:
  15533. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15534. type: number
  15535. interestdebt:
  15536. description: 利息欠款(记录负数) -> 费用欠款
  15537. type: number
  15538. interestminlen:
  15539. description: 最小起息天数
  15540. type: integer
  15541. interestrate:
  15542. description: 利率
  15543. type: number
  15544. interestratemode:
  15545. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15546. type: integer
  15547. interestsettlemode:
  15548. description: 结息方式 - 1:按日结息 3:按月结息
  15549. type: integer
  15550. interestsettlevalue:
  15551. description: 结息方式值
  15552. type: integer
  15553. isautoloan:
  15554. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15555. type: integer
  15556. lastcloseinterestday:
  15557. description: 最近结息日(yyyyMMdd)
  15558. type: string
  15559. lenderamount:
  15560. description: 贷款金额 -> 借款金额
  15561. type: number
  15562. lenderuserid:
  15563. description: 贷款方用户ID -> 融出方用户ID
  15564. type: integer
  15565. lenderusername:
  15566. description: 融出方
  15567. type: string
  15568. marginratio:
  15569. description: 保证金比率质押率 - [仓单质押]
  15570. type: number
  15571. marketid:
  15572. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15573. type: integer
  15574. minivalue:
  15575. description: 现货商品最小变动值
  15576. type: integer
  15577. optioncompare:
  15578. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15579. type: string
  15580. pricemove:
  15581. description: 估值升贴水值
  15582. type: number
  15583. productdetailid:
  15584. description: 产品组合ID
  15585. type: integer
  15586. productid:
  15587. description: 金融产品ID
  15588. type: integer
  15589. productname:
  15590. description: 产品名称
  15591. type: string
  15592. remainamount:
  15593. description: 合同剩余金额 -> 剩余金额
  15594. type: number
  15595. remainwrpositionqty:
  15596. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15597. type: number
  15598. remark:
  15599. description: 备注
  15600. type: string
  15601. scfcontractid:
  15602. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15603. type: string
  15604. scfcontractstatus:
  15605. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  15606. type: integer
  15607. scfcontracttype:
  15608. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15609. type: integer
  15610. startinterestday:
  15611. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15612. type: string
  15613. totalinterest:
  15614. description: 已计利息 -> 已计费用
  15615. type: number
  15616. unpaidinterest:
  15617. description: 未结费用
  15618. type: number
  15619. updatetime:
  15620. description: 更新时间
  15621. type: string
  15622. warehouseid:
  15623. description: 仓库ID
  15624. type: integer
  15625. warehousename:
  15626. description: 仓库名称
  15627. type: string
  15628. wrfactortypeid:
  15629. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15630. type: string
  15631. wrfactortypename:
  15632. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15633. type: string
  15634. wrqty:
  15635. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15636. type: number
  15637. wrstandardcode:
  15638. description: 现货商品代码
  15639. type: string
  15640. wrstandardid:
  15641. description: 现货商品ID
  15642. type: integer
  15643. wrstandardname:
  15644. description: 商品名称
  15645. type: string
  15646. wrtypename:
  15647. description: 商品
  15648. type: string
  15649. type: object
  15650. models.WrScfContractInterest:
  15651. properties:
  15652. closeinterest:
  15653. description: 已结利息
  15654. type: number
  15655. closeintereststatus:
  15656. description: 结息状态 - 1:未结 2:已结
  15657. type: integer
  15658. closetime:
  15659. description: 结息时间
  15660. type: string
  15661. closetradedate:
  15662. description: 结息交易日
  15663. type: string
  15664. creatorid:
  15665. description: 操作人ID
  15666. type: integer
  15667. dayrate:
  15668. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15669. type: number
  15670. interest:
  15671. description: 利息
  15672. type: number
  15673. interestamount:
  15674. description: 计息金额
  15675. type: number
  15676. interestday:
  15677. description: 计息日(yyyyMMdd)
  15678. type: string
  15679. scfcontractid:
  15680. description: SCF合同ID
  15681. type: string
  15682. scfcontractinterestid:
  15683. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15684. type: integer
  15685. updatetime:
  15686. description: 更新时间
  15687. type: string
  15688. type: object
  15689. models.WrSpecialMatchOrder:
  15690. properties:
  15691. amount:
  15692. description: 金额 = 数量 * 价格
  15693. type: number
  15694. buyorsell:
  15695. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15696. type: integer
  15697. cancelqty:
  15698. description: 撤销数量
  15699. type: number
  15700. deliverygoodscode:
  15701. description: 品种代码
  15702. type: string
  15703. deliverygoodsid:
  15704. description: 品种ID
  15705. type: integer
  15706. deliverygoodsname:
  15707. description: 品种名称
  15708. type: string
  15709. enumdicname:
  15710. description: 单位名称
  15711. type: string
  15712. fixedprice:
  15713. description: 固定价格(价格)
  15714. type: number
  15715. haswr:
  15716. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15717. type: integer
  15718. marketid:
  15719. description: 市场ID
  15720. type: integer
  15721. matchuserid:
  15722. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15723. type: integer
  15724. matchusername:
  15725. description: 指定方
  15726. type: string
  15727. minivalue:
  15728. description: 现货商品最小变动值
  15729. type: integer
  15730. optioncompare:
  15731. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15732. type: string
  15733. orderqty:
  15734. description: 委托数量
  15735. type: number
  15736. ordertime:
  15737. description: 委托时间
  15738. type: string
  15739. pricemove:
  15740. description: 升贴水(浮动价时填写) - [挂牌]
  15741. type: number
  15742. tradedate:
  15743. description: 交易日(yyyyMMdd)
  15744. type: string
  15745. tradeprice:
  15746. description: 成交价格
  15747. type: number
  15748. tradeqty:
  15749. description: 成交数量
  15750. type: number
  15751. userid:
  15752. description: 用户ID
  15753. type: integer
  15754. username:
  15755. description: 发起方
  15756. type: string
  15757. warehouseid:
  15758. description: 仓库ID
  15759. type: integer
  15760. warehousename:
  15761. description: 仓库名称
  15762. type: string
  15763. wrfactortypeid:
  15764. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15765. type: string
  15766. wrfactortypename:
  15767. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15768. type: string
  15769. wrpricetype:
  15770. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15771. type: integer
  15772. wrstandardcode:
  15773. description: 现货商品代码
  15774. type: string
  15775. wrstandardid:
  15776. description: 现货商品ID
  15777. type: integer
  15778. wrstandardname:
  15779. description: 商品名称
  15780. type: string
  15781. wrtradeorderid:
  15782. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15783. type: string
  15784. wrtradeorderstatus:
  15785. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15786. type: integer
  15787. wrtradetype:
  15788. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15789. type: integer
  15790. wrtypename:
  15791. description: 商品
  15792. type: string
  15793. type: object
  15794. models.WrStandardFactoryItem:
  15795. properties:
  15796. dgfactoryitemid:
  15797. description: 选择项id
  15798. type: integer
  15799. dgfactoryitemvalue:
  15800. description: 要素项值
  15801. type: string
  15802. warehouseid:
  15803. description: 仓库id
  15804. type: integer
  15805. type: object
  15806. models.WrStandardFactoryItemEx:
  15807. properties:
  15808. dgfactoryitemtypeid:
  15809. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15810. type: integer
  15811. itemlst:
  15812. description: 要素项列表
  15813. items:
  15814. $ref: '#/definitions/models.WrStandardFactoryItem'
  15815. type: array
  15816. itemtypename:
  15817. description: 要素项类型名称
  15818. type: string
  15819. wrstandardid:
  15820. description: 品类
  15821. type: integer
  15822. type: object
  15823. models.WrTradeDetail:
  15824. properties:
  15825. accountid:
  15826. description: 资金账号
  15827. type: integer
  15828. buyorsell:
  15829. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15830. type: integer
  15831. chargevalue:
  15832. description: 手续费
  15833. type: number
  15834. deliverygoodscode:
  15835. description: 品种代码
  15836. type: string
  15837. deliverygoodsid:
  15838. description: 品种ID
  15839. type: integer
  15840. deliverygoodsname:
  15841. description: 品种名称
  15842. type: string
  15843. deliverymonth:
  15844. description: 交收月
  15845. type: string
  15846. enumdicname:
  15847. description: 单位名称
  15848. type: string
  15849. haswr:
  15850. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15851. type: integer
  15852. marketid:
  15853. description: 市场ID
  15854. type: integer
  15855. matchaccountid:
  15856. description: 对手账号
  15857. type: integer
  15858. matchusername:
  15859. description: 对手方
  15860. type: string
  15861. minivalue:
  15862. description: 现货商品最小变动值
  15863. type: integer
  15864. optioncompare:
  15865. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15866. type: string
  15867. tradedate:
  15868. description: 交易日(yyyyMMdd)
  15869. type: string
  15870. tradeprice:
  15871. description: 成交价格
  15872. type: number
  15873. tradeqty:
  15874. description: 成交数量
  15875. type: number
  15876. tradetime:
  15877. description: 成交时间
  15878. type: string
  15879. userid:
  15880. description: 用户ID
  15881. type: integer
  15882. warehouseid:
  15883. description: 仓库ID
  15884. type: integer
  15885. warehousename:
  15886. description: 仓库名称
  15887. type: string
  15888. wrfactortypeid:
  15889. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15890. type: string
  15891. wrfactortypename:
  15892. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15893. type: string
  15894. wrstandardcode:
  15895. description: 现货商品代码
  15896. type: string
  15897. wrstandardid:
  15898. description: 现货商品ID
  15899. type: integer
  15900. wrstandardname:
  15901. description: 商品名称
  15902. type: string
  15903. wrtradedetailid:
  15904. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15905. type: string
  15906. wrtradetype:
  15907. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15908. type: integer
  15909. wrtypename:
  15910. description: 商品
  15911. type: string
  15912. type: object
  15913. models.WrTradeOrderDetail:
  15914. properties:
  15915. buyorsell:
  15916. description: 买卖方向 0-买 1-卖
  15917. type: integer
  15918. goodsid:
  15919. description: 商品id
  15920. type: integer
  15921. orderid:
  15922. description: 委托单号
  15923. type: string
  15924. orderprice:
  15925. description: 委托价格
  15926. type: number
  15927. orderqty:
  15928. description: 委托数量
  15929. type: integer
  15930. userid:
  15931. description: 用户id
  15932. type: integer
  15933. username:
  15934. description: 用户名称(已脱敏)
  15935. type: string
  15936. type: object
  15937. models.WrTypeItem:
  15938. properties:
  15939. name:
  15940. description: 名称
  15941. type: string
  15942. value:
  15943. description: 值
  15944. type: string
  15945. type: object
  15946. models.WrUserFriend:
  15947. properties:
  15948. friendname:
  15949. description: 朋友名称(已脱敏)
  15950. type: string
  15951. frienduserid:
  15952. description: 朋友id
  15953. type: integer
  15954. isfriend:
  15955. description: 是否好友 0-不是 1-是
  15956. type: integer
  15957. userid:
  15958. description: 用户id
  15959. type: integer
  15960. type: object
  15961. models.XHBRAND:
  15962. properties:
  15963. brandid:
  15964. description: 品牌id
  15965. type: integer
  15966. brandname:
  15967. description: 品牌名称
  15968. type: string
  15969. type: object
  15970. models.XHDeliveryGoods:
  15971. properties:
  15972. areauserid:
  15973. description: 所属机构
  15974. type: integer
  15975. bdlst:
  15976. description: 品牌列表
  15977. items:
  15978. $ref: '#/definitions/models.XHBRAND'
  15979. type: array
  15980. deliverygoodscode:
  15981. description: 现货品种代码
  15982. type: string
  15983. deliverygoodsid:
  15984. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15985. type: integer
  15986. deliverygoodsname:
  15987. description: 现货品种名称
  15988. type: string
  15989. dgstatus:
  15990. description: 品种状态 - 作废 - 0:未激活 1:正常
  15991. type: integer
  15992. isvalid:
  15993. description: 是否有效 - 0:无效 1:有效
  15994. type: integer
  15995. remark:
  15996. description: 备注
  15997. type: string
  15998. unitid:
  15999. description: 单位id(目前看,数据库中是空值)
  16000. type: integer
  16001. wdlst:
  16002. description: 品类(现货商品)列表
  16003. items:
  16004. $ref: '#/definitions/models.XHWrstandard'
  16005. type: array
  16006. type: object
  16007. models.XHMiddleGoods:
  16008. properties:
  16009. convertratio:
  16010. description: 拆算系数
  16011. type: number
  16012. enumdicname:
  16013. description: 单位名称
  16014. type: string
  16015. gplst:
  16016. description: 期货品种列表
  16017. items:
  16018. $ref: '#/definitions/models.TBGoodsGroup'
  16019. type: array
  16020. middlegoodscode:
  16021. description: 套保品种代码
  16022. type: string
  16023. middlegoodsid:
  16024. description: 套保品种id
  16025. type: integer
  16026. middlegoodsname:
  16027. description: 套保品种名称
  16028. type: string
  16029. unitid:
  16030. description: 单位id
  16031. type: integer
  16032. type: object
  16033. models.XHWrstandard:
  16034. properties:
  16035. deliverygoodsid:
  16036. description: 品种ID
  16037. type: integer
  16038. enumdicname:
  16039. description: 单位名称
  16040. type: string
  16041. mglst:
  16042. description: 套保品列表
  16043. items:
  16044. $ref: '#/definitions/models.XHMiddleGoods'
  16045. type: array
  16046. unitid:
  16047. description: 单位id
  16048. type: integer
  16049. vatrate:
  16050. description: 增值税率
  16051. type: number
  16052. wrstandardcode:
  16053. description: 现货商品代码
  16054. type: string
  16055. wrstandardid:
  16056. description: 现货商品ID(SEQ_WRSTANDARD)
  16057. type: integer
  16058. wrstandardname:
  16059. description: 现货商品名称
  16060. type: string
  16061. type: object
  16062. order.QueryHisTradeDetailRsp:
  16063. properties:
  16064. accountid:
  16065. description: 账户ID[报价币种]
  16066. type: integer
  16067. advanceratio:
  16068. description: 首付比率
  16069. type: number
  16070. buildtype:
  16071. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16072. type: integer
  16073. buyorsell:
  16074. description: 方向 - 0:买 1:卖
  16075. type: integer
  16076. charge:
  16077. description: 手续费
  16078. type: number
  16079. closecharge:
  16080. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16081. type: number
  16082. closeexchagechargevalue:
  16083. description: 平仓交易所手续费设置值
  16084. type: number
  16085. closefeealgorithm:
  16086. description: 平仓手续费收取方式 1:比率 2:固定
  16087. type: integer
  16088. closememberchargevalue:
  16089. description: 平仓会员手续费设置值
  16090. type: number
  16091. closepl:
  16092. description: 平仓盈亏
  16093. type: number
  16094. closepl2:
  16095. description: 平仓盈亏[逐笔]
  16096. type: number
  16097. closeqty:
  16098. description: 平仓数量(先建后平操作 需要记录)
  16099. type: number
  16100. creditamount:
  16101. description: 授信金额
  16102. type: number
  16103. decimalplace:
  16104. description: 商品报价小数位
  16105. type: integer
  16106. enumdicname:
  16107. description: 单位名称
  16108. type: string
  16109. gcaccountid:
  16110. description: 账户ID[合约币种]
  16111. type: integer
  16112. goodscode:
  16113. description: 商品代码
  16114. type: string
  16115. goodsid:
  16116. description: 商品ID
  16117. type: integer
  16118. goodsname:
  16119. description: 商品名称
  16120. type: string
  16121. goodunitid:
  16122. description: 商品单位id
  16123. type: integer
  16124. histradedate:
  16125. description: 历史交易日
  16126. type: string
  16127. intclosepl:
  16128. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16129. type: integer
  16130. isconfirmexercise:
  16131. description: 是否确认行权- 0:否 1:是
  16132. type: integer
  16133. ismain:
  16134. description: 是否主单 - 0:不是 1:是
  16135. type: integer
  16136. ispreexercise:
  16137. description: 是否预申报- 0:否 1:是
  16138. type: integer
  16139. isreckoned:
  16140. description: 是否结算 - 0:未结算 1:已结算
  16141. type: integer
  16142. isvaliddata:
  16143. description: 是否有效 - 0:无效 1:有效
  16144. type: integer
  16145. listingselecttype:
  16146. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16147. type: integer
  16148. marketid:
  16149. description: 市场ID
  16150. type: integer
  16151. marketname:
  16152. description: 市场名称
  16153. type: string
  16154. matchaccountid:
  16155. description: 对手账号id
  16156. type: integer
  16157. memberuserid:
  16158. description: 会员id 个人投资者 需要填写
  16159. type: integer
  16160. opencharge:
  16161. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16162. type: number
  16163. openexchagechargevalue:
  16164. description: 建仓交易所手续费设置值
  16165. type: number
  16166. openfeealgorithm:
  16167. description: 建仓手续费收取方式 1:比率 2:固定
  16168. type: integer
  16169. openmemberchargevalue:
  16170. description: 建仓会员手续费设置值
  16171. type: number
  16172. openqty:
  16173. description: 开仓数量(先建后平操作 需要记录)
  16174. type: number
  16175. optiontype:
  16176. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16177. type: integer
  16178. orderid:
  16179. description: 委托单号
  16180. type: string
  16181. payamount:
  16182. description: 支付金额(付款金额)
  16183. type: number
  16184. performanceplanid:
  16185. description: 履约计划ID[期权]
  16186. type: integer
  16187. performancestatus:
  16188. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16189. type: integer
  16190. preexerciseprice:
  16191. description: 预申报价格
  16192. type: number
  16193. premium:
  16194. description: 权利金 - [持仓单的权利金]
  16195. type: number
  16196. qtydecimalplace:
  16197. description: 商品报价小数位
  16198. type: integer
  16199. recvamount:
  16200. description: 到账金额 = 成交金额 - 手续费
  16201. type: number
  16202. relatedouttradeid:
  16203. description: 关联外部成交单ID
  16204. type: integer
  16205. status:
  16206. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16207. type: integer
  16208. totalamount:
  16209. description: 订单总额 = 成交金额 + 手续费
  16210. type: number
  16211. tradeamount:
  16212. description: 成交金额[账户币种,用于所有权]
  16213. type: number
  16214. tradedate:
  16215. description: 交易日(yyyyMMdd)
  16216. type: string
  16217. tradeid:
  16218. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16219. type: string
  16220. trademode:
  16221. description: 交易模式
  16222. type: integer
  16223. tradeprice:
  16224. description: 成交价格
  16225. type: number
  16226. tradeproperty:
  16227. description: 交易属性
  16228. type: integer
  16229. tradeqty:
  16230. description: 成交数量
  16231. type: number
  16232. tradetime:
  16233. description: 成交时间
  16234. type: string
  16235. tradetype:
  16236. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16237. type: integer
  16238. required:
  16239. - accountid
  16240. - buyorsell
  16241. - goodsid
  16242. - histradedate
  16243. - marketid
  16244. - memberuserid
  16245. - orderid
  16246. - tradeamount
  16247. - tradedate
  16248. - tradeid
  16249. - tradeprice
  16250. - tradeqty
  16251. - tradetime
  16252. type: object
  16253. order.QueryHisTradeOrderDetailRsp:
  16254. properties:
  16255. accountid:
  16256. description: 账户ID[报价币种]
  16257. type: integer
  16258. buildtype:
  16259. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16260. type: integer
  16261. buyorsell:
  16262. description: 买卖 - 0:买 1:卖
  16263. type: integer
  16264. cancelorderid:
  16265. description: 撤单单号(撤单时填写)
  16266. type: string
  16267. cancelqty:
  16268. description: 撤单数量
  16269. type: number
  16270. clientordertime:
  16271. description: 客户端委托时间
  16272. type: string
  16273. clientticket:
  16274. description: 客户端流水号
  16275. type: string
  16276. clienttype:
  16277. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16278. type: integer
  16279. closeexchagechargevalue:
  16280. description: 平仓交易所手续费设置值
  16281. type: number
  16282. closefeealgorithm:
  16283. description: 平仓手续费收取方式 1:比率 2:固定
  16284. type: integer
  16285. closefreezecharge:
  16286. description: 平仓冻结手续费(先建后平操作,需要记录)
  16287. type: number
  16288. closememberchargevalue:
  16289. description: 平仓会员手续费设置值
  16290. type: number
  16291. closeqty:
  16292. description: 平仓数量(先建后平操作 需要记录)
  16293. type: number
  16294. closetradeqty:
  16295. description: 平仓成交数量(先建后平操作,需要记录)
  16296. type: number
  16297. closeunfreezecharge:
  16298. description: 平仓解冻手续费(先建后平操作,需要记录)
  16299. type: number
  16300. decimalplace:
  16301. description: 商品报价小数位
  16302. type: integer
  16303. delistingtype:
  16304. description: 摘牌类型 - 1:价格最优 2:点选成交
  16305. type: integer
  16306. enumdicname:
  16307. description: 单位名称
  16308. type: string
  16309. freezecharge:
  16310. description: 冻结手续费
  16311. type: number
  16312. freezemargin:
  16313. description: 冻结保证金(冻结交易金额)
  16314. type: number
  16315. gcaccountid:
  16316. description: 账户ID[合约币种]
  16317. type: integer
  16318. goodscode:
  16319. description: 商品代码
  16320. type: string
  16321. goodsid:
  16322. description: 商品ID
  16323. type: integer
  16324. goodsname:
  16325. description: 商品名称
  16326. type: string
  16327. goodunitid:
  16328. description: 商品单位id
  16329. type: integer
  16330. histradedate:
  16331. description: 历史交易日
  16332. type: string
  16333. isconfirmexercise:
  16334. description: 是否确认行权- 0:否 1:是
  16335. type: integer
  16336. ispreexercise:
  16337. description: 是否预申报- 0:否 1:是
  16338. type: integer
  16339. isvaliddata:
  16340. description: 是否有效 - 0:无效 1:有效
  16341. type: integer
  16342. listingselecttype:
  16343. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16344. type: integer
  16345. marginalgorithm:
  16346. description: 保证金收取方式 1:比率 2:固定
  16347. type: integer
  16348. marginvalue:
  16349. description: 即市保证金设置值
  16350. type: number
  16351. marketid:
  16352. description: 市场ID
  16353. type: integer
  16354. marketmaxsub:
  16355. description: 市价最大偏移范围
  16356. type: number
  16357. marketname:
  16358. description: 市场名称
  16359. type: string
  16360. memberuserid:
  16361. description: 所属会员UserID
  16362. type: integer
  16363. openexchagechargevalue:
  16364. description: 建仓交易所手续费设置值
  16365. type: number
  16366. openfeealgorithm:
  16367. description: 建仓手续费收取方式 1:比率 2:固定
  16368. type: integer
  16369. openfreezecharge:
  16370. description: 开仓冻结手续费(先建后平操作,需要记录)
  16371. type: number
  16372. openmemberchargevalue:
  16373. description: 建仓会员手续费设置值
  16374. type: number
  16375. openqty:
  16376. description: 开仓数量(先建后平操作,需要记录)
  16377. type: number
  16378. opentradeqty:
  16379. description: 开仓成交数量(先建后平操作,需要记录)
  16380. type: number
  16381. openunfreezecharge:
  16382. description: 开仓解冻手续费(先建后平操作,需要记录)
  16383. type: number
  16384. operatetype:
  16385. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  16386. type: integer
  16387. operatorid:
  16388. description: 登录账号(LoginID)
  16389. type: integer
  16390. optiontype:
  16391. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16392. type: integer
  16393. orderid:
  16394. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16395. type: string
  16396. orderprice:
  16397. description: 委托价格
  16398. type: number
  16399. orderqty:
  16400. description: 委托数量
  16401. type: number
  16402. ordersrc:
  16403. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16404. type: integer
  16405. orderstatus:
  16406. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  16407. type: integer
  16408. ordertime:
  16409. description: 委托时间
  16410. type: string
  16411. preexerciseprice:
  16412. description: 预申报价格
  16413. type: number
  16414. premium:
  16415. description: 权利金
  16416. type: number
  16417. preorderid:
  16418. description: 关联预埋单号(止盈止损单时填写)
  16419. type: string
  16420. pricemode:
  16421. description: '取价方式 - 1:市价 2: 限价'
  16422. type: integer
  16423. qtydecimalplace:
  16424. description: 成交量小数位
  16425. type: integer
  16426. quoteid:
  16427. description: 报价单ID
  16428. type: integer
  16429. relatedid:
  16430. description: 关联单号(交割单)
  16431. type: string
  16432. retcode:
  16433. description: 错误代码
  16434. type: integer
  16435. sessionid:
  16436. description: 会话ID
  16437. type: integer
  16438. tradedate:
  16439. description: 交易日(yyyyMMdd)
  16440. type: string
  16441. trademode:
  16442. description: 交易模式
  16443. type: integer
  16444. tradeproperty:
  16445. description: 交易属性
  16446. type: integer
  16447. tradeqty:
  16448. description: 成交数量
  16449. type: number
  16450. unfreezecharge:
  16451. description: 解冻手续费
  16452. type: number
  16453. unfreezemargin:
  16454. description: 解冻保证金
  16455. type: number
  16456. updatetime:
  16457. description: 更新时间
  16458. type: string
  16459. uuid:
  16460. description: 发起端唯一id
  16461. type: string
  16462. validtime:
  16463. description: 有效期限
  16464. type: string
  16465. validtype:
  16466. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16467. type: integer
  16468. volumetype:
  16469. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16470. type: integer
  16471. required:
  16472. - accountid
  16473. - buildtype
  16474. - buyorsell
  16475. - goodsid
  16476. - histradedate
  16477. - marketid
  16478. - memberuserid
  16479. - operatetype
  16480. - orderid
  16481. - orderqty
  16482. - ordertime
  16483. - pricemode
  16484. - tradedate
  16485. - validtype
  16486. type: object
  16487. order.QueryTradeDetailRsp:
  16488. properties:
  16489. accountid:
  16490. description: 账户ID[报价币种]
  16491. type: integer
  16492. advanceratio:
  16493. description: 首付比率
  16494. type: number
  16495. buildtype:
  16496. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16497. type: integer
  16498. buyorsell:
  16499. description: 方向 - 0:买 1:卖
  16500. type: integer
  16501. charge:
  16502. description: 手续费
  16503. type: number
  16504. closecharge:
  16505. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16506. type: number
  16507. closeexchagechargevalue:
  16508. description: 平仓交易所手续费设置值
  16509. type: number
  16510. closefeealgorithm:
  16511. description: 平仓手续费收取方式 1:比率 2:固定
  16512. type: integer
  16513. closememberchargevalue:
  16514. description: 平仓会员手续费设置值
  16515. type: number
  16516. closepl:
  16517. description: 平仓盈亏
  16518. type: number
  16519. closepl2:
  16520. description: 平仓盈亏[逐笔]
  16521. type: number
  16522. closeqty:
  16523. description: 平仓数量(先建后平操作 需要记录)
  16524. type: number
  16525. creditamount:
  16526. description: 授信金额
  16527. type: number
  16528. decimalplace:
  16529. description: 商品报价小数位
  16530. type: integer
  16531. enumdicname:
  16532. description: 单位名称
  16533. type: string
  16534. gcaccountid:
  16535. description: 账户ID[合约币种]
  16536. type: integer
  16537. goodscode:
  16538. description: 商品代码
  16539. type: string
  16540. goodsid:
  16541. description: 商品ID
  16542. type: integer
  16543. goodsname:
  16544. description: 商品名称
  16545. type: string
  16546. goodunitid:
  16547. description: 商品单位id
  16548. type: integer
  16549. intclosepl:
  16550. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16551. type: integer
  16552. isconfirmexercise:
  16553. description: 是否确认行权- 0:否 1:是
  16554. type: integer
  16555. ismain:
  16556. description: 是否主单 - 0:不是 1:是
  16557. type: integer
  16558. ispreexercise:
  16559. description: 是否预申报- 0:否 1:是
  16560. type: integer
  16561. isreckoned:
  16562. description: 是否结算 - 0:未结算 1:已结算
  16563. type: integer
  16564. listingselecttype:
  16565. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16566. type: integer
  16567. marketid:
  16568. description: 市场ID
  16569. type: integer
  16570. marketname:
  16571. description: 市场名称
  16572. type: string
  16573. matchaccountid:
  16574. description: 对手账号id
  16575. type: integer
  16576. memberuserid:
  16577. description: 会员id 个人投资者 需要填写
  16578. type: integer
  16579. opencharge:
  16580. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16581. type: number
  16582. openexchagechargevalue:
  16583. description: 建仓交易所手续费设置值
  16584. type: number
  16585. openfeealgorithm:
  16586. description: 建仓手续费收取方式 1:比率 2:固定
  16587. type: integer
  16588. openmemberchargevalue:
  16589. description: 建仓会员手续费设置值
  16590. type: number
  16591. openqty:
  16592. description: 开仓数量(先建后平操作 需要记录)
  16593. type: number
  16594. optiontype:
  16595. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16596. type: integer
  16597. orderid:
  16598. description: 委托单号
  16599. type: string
  16600. payamount:
  16601. description: 支付金额(付款金额)
  16602. type: number
  16603. performanceplanid:
  16604. description: 履约计划ID[期权]
  16605. type: integer
  16606. performancestatus:
  16607. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16608. type: integer
  16609. preexerciseprice:
  16610. description: 预申报价格
  16611. type: number
  16612. premium:
  16613. description: 权利金 - [持仓单的权利金]
  16614. type: number
  16615. qtydecimalplace:
  16616. description: 商品报价小数位
  16617. type: integer
  16618. recvamount:
  16619. description: 到账金额 = 成交金额 - 手续费
  16620. type: number
  16621. relatedouttradeid:
  16622. description: 关联外部成交单ID
  16623. type: integer
  16624. status:
  16625. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16626. type: integer
  16627. totalamount:
  16628. description: 订单总额 = 成交金额 + 手续费
  16629. type: number
  16630. tradeamount:
  16631. description: 成交金额[账户币种,用于所有权]
  16632. type: number
  16633. tradedate:
  16634. description: 交易日(yyyyMMdd)
  16635. type: string
  16636. tradeid:
  16637. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16638. type: string
  16639. trademode:
  16640. description: 交易模式
  16641. type: integer
  16642. tradeprice:
  16643. description: 成交价格
  16644. type: number
  16645. tradeproperty:
  16646. description: 交易属性
  16647. type: integer
  16648. tradeqty:
  16649. description: 成交数量
  16650. type: number
  16651. tradetime:
  16652. description: 成交时间
  16653. type: string
  16654. tradetype:
  16655. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16656. type: integer
  16657. required:
  16658. - accountid
  16659. - buyorsell
  16660. - goodsid
  16661. - marketid
  16662. - memberuserid
  16663. - orderid
  16664. - tradeamount
  16665. - tradedate
  16666. - tradeid
  16667. - tradeprice
  16668. - tradeqty
  16669. - tradetime
  16670. type: object
  16671. order.QueryTradeOrderDetailRsp:
  16672. properties:
  16673. accountid:
  16674. description: 账户ID[报价币种]
  16675. type: integer
  16676. buildtype:
  16677. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16678. type: integer
  16679. buyorsell:
  16680. description: 买卖 - 0:买 1:卖
  16681. type: integer
  16682. cancelorderid:
  16683. description: 撤单单号(撤单时填写)
  16684. type: string
  16685. cancelqty:
  16686. description: 撤单数量
  16687. type: number
  16688. clienttype:
  16689. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16690. type: integer
  16691. closefreezecharge:
  16692. description: 平仓冻结手续费(先建后平操作,需要记录)
  16693. type: number
  16694. closeqty:
  16695. description: 平仓数量(先建后平操作 需要记录)
  16696. type: number
  16697. closetradeqty:
  16698. description: 平仓成交数量(先建后平操作,需要记录)
  16699. type: number
  16700. closeunfreezecharge:
  16701. description: 平仓解冻手续费(先建后平操作,需要记录)
  16702. type: number
  16703. decimalplace:
  16704. description: 商品报价小数位
  16705. type: integer
  16706. delistingtype:
  16707. description: 摘牌类型 - 1:价格最优 2:点选成交
  16708. type: integer
  16709. enableqty:
  16710. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16711. type: number
  16712. enumdicname:
  16713. description: 单位名称
  16714. type: string
  16715. freezecharge:
  16716. description: 冻结手续费
  16717. type: number
  16718. freezemargin:
  16719. description: 冻结保证金(冻结交易金额)
  16720. type: number
  16721. goodscode:
  16722. description: 商品代码
  16723. type: string
  16724. goodsid:
  16725. description: 商品ID
  16726. type: integer
  16727. goodsname:
  16728. description: 商品名称
  16729. type: string
  16730. goodunitid:
  16731. description: 商品单位id
  16732. type: integer
  16733. listingselecttype:
  16734. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16735. type: integer
  16736. marketid:
  16737. description: 市场ID
  16738. type: integer
  16739. marketname:
  16740. description: 市场名称
  16741. type: string
  16742. openfreezecharge:
  16743. description: 开仓冻结手续费(先建后平操作,需要记录)
  16744. type: number
  16745. openqty:
  16746. description: 开仓数量(先建后平操作,需要记录)
  16747. type: number
  16748. opentradeqty:
  16749. description: 开仓成交数量(先建后平操作,需要记录)
  16750. type: number
  16751. openunfreezecharge:
  16752. description: 开仓解冻手续费(先建后平操作,需要记录)
  16753. type: number
  16754. operatetype:
  16755. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  16756. type: integer
  16757. operatorid:
  16758. description: 登录账号(LoginID)
  16759. type: integer
  16760. orderid:
  16761. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16762. type: string
  16763. orderprice:
  16764. description: 委托价格
  16765. type: number
  16766. orderqty:
  16767. description: 委托数量
  16768. type: number
  16769. ordersrc:
  16770. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16771. type: integer
  16772. orderstatus:
  16773. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  16774. type: integer
  16775. ordertime:
  16776. description: 委托时间
  16777. type: string
  16778. preorderid:
  16779. description: 关联预埋单号(止盈止损单时填写)
  16780. type: string
  16781. pricemode:
  16782. description: '取价方式 - 1:市价 2: 限价'
  16783. type: integer
  16784. qtydecimalplace:
  16785. description: 商品报价小数位
  16786. type: integer
  16787. relatedid:
  16788. description: 关联单号(交割单)
  16789. type: string
  16790. tradedate:
  16791. description: 交易日(yyyyMMdd)
  16792. type: string
  16793. trademode:
  16794. description: 交易模式
  16795. type: integer
  16796. tradeqty:
  16797. description: 成交数量
  16798. type: number
  16799. unfreezecharge:
  16800. description: 解冻手续费
  16801. type: number
  16802. unfreezemargin:
  16803. description: 解冻保证金
  16804. type: number
  16805. validtime:
  16806. description: 有效期限
  16807. type: string
  16808. validtype:
  16809. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16810. type: integer
  16811. volumetype:
  16812. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16813. type: integer
  16814. required:
  16815. - accountid
  16816. - buildtype
  16817. - buyorsell
  16818. - goodsid
  16819. - marketid
  16820. - operatetype
  16821. - orderqty
  16822. - ordertime
  16823. - pricemode
  16824. - tradedate
  16825. - validtype
  16826. type: object
  16827. order.QueryTradePositionRsp:
  16828. properties:
  16829. accountid:
  16830. description: 资金账户
  16831. type: integer
  16832. agreeunit:
  16833. description: 合约单位
  16834. type: number
  16835. averageprice:
  16836. description: 持仓均价
  16837. type: number
  16838. buyorsell:
  16839. description: 方向 - 0:买 1:卖
  16840. type: integer
  16841. closetotalqty:
  16842. description: 平仓总数量
  16843. type: number
  16844. curholderamount:
  16845. description: 当前持仓总金额[商品币种]
  16846. type: number
  16847. curpositionqty:
  16848. description: 当前持仓总数量
  16849. type: number
  16850. currencyid:
  16851. description: 报价货币ID
  16852. type: integer
  16853. curtdposition:
  16854. description: 期末今日头寸
  16855. type: number
  16856. decimalplace:
  16857. description: 报价小数位
  16858. type: integer
  16859. enableqty:
  16860. description: 可用量
  16861. type: number
  16862. fretdposition:
  16863. description: 冻结今日头寸
  16864. type: number
  16865. frozenqty:
  16866. description: 持仓冻结数量
  16867. type: number
  16868. goodscode:
  16869. description: 商品代码
  16870. type: string
  16871. goodsid:
  16872. description: 商品Id
  16873. type: integer
  16874. goodsname:
  16875. description: 商品名称
  16876. type: string
  16877. goodunit:
  16878. description: 报价单位
  16879. type: string
  16880. goodunitid:
  16881. description: 报价单位ID
  16882. type: integer
  16883. holderamount:
  16884. description: 期初持仓总金额[商品币种]
  16885. type: number
  16886. lastprice:
  16887. description: 最新价
  16888. type: number
  16889. marketamount:
  16890. description: 市值
  16891. type: number
  16892. marketid:
  16893. description: 所属市场ID
  16894. type: integer
  16895. openreqqty:
  16896. description: 开仓申请数量(用于比较最大持仓数量)
  16897. type: number
  16898. opentotalqty:
  16899. description: 开仓总数量
  16900. type: number
  16901. otherfrozenqty:
  16902. description: 持仓其他冻结数量(交割冻结)
  16903. type: number
  16904. positionpl:
  16905. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  16906. type: number
  16907. positionplrate:
  16908. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16909. type: number
  16910. positionqty:
  16911. description: 期初持仓数量
  16912. type: number
  16913. qtydecimalplace:
  16914. description: 成交量小数位
  16915. type: integer
  16916. tnqty:
  16917. description: T+N冻结总量
  16918. type: number
  16919. tnusedqty:
  16920. description: T+N使用量(可以使用T+N的冻结数量)
  16921. type: number
  16922. trademode:
  16923. description: 交易模式
  16924. type: integer
  16925. usedmargin:
  16926. description: 占用保证金[商品币种]
  16927. type: number
  16928. required:
  16929. - goodsid
  16930. type: object
  16931. pb.GoodsMarginCfgStruct:
  16932. properties:
  16933. CustomerTypeID:
  16934. description: 投资者客户类型
  16935. type: integer
  16936. GoodsID:
  16937. description: 商品ID
  16938. type: integer
  16939. IsDefault:
  16940. description: 是否默认标志位
  16941. type: integer
  16942. LockMarginValue:
  16943. description: 锁仓保证金
  16944. type: number
  16945. MarginAlgorithm:
  16946. description: 保证金计算方式
  16947. type: integer
  16948. MarketMarginValue:
  16949. description: 即市保证金值
  16950. type: number
  16951. RealMarginAlgorithm:
  16952. description: 实付保证金计算方式
  16953. type: integer
  16954. RealMarginValue:
  16955. description: 实付比例
  16956. type: number
  16957. ReckonMarginValue:
  16958. description: 结算保证金值
  16959. type: number
  16960. type: object
  16961. quote.HistoryData:
  16962. properties:
  16963. c:
  16964. description: 收盘价
  16965. type: number
  16966. f:
  16967. description: 是否补充数据
  16968. type: boolean
  16969. h:
  16970. description: 最高价
  16971. type: number
  16972. hv:
  16973. description: 持仓量
  16974. type: integer
  16975. l:
  16976. description: 最低价
  16977. type: number
  16978. o:
  16979. description: 开盘价
  16980. type: number
  16981. s:
  16982. description: 结算价,日线周期(包括)以上才有
  16983. type: number
  16984. ts:
  16985. description: 时间
  16986. type: string
  16987. tt:
  16988. description: 总金额
  16989. type: number
  16990. tv:
  16991. description: 总量
  16992. type: integer
  16993. type: object
  16994. quote.HistoryTikData:
  16995. properties:
  16996. AV:
  16997. description: 卖量
  16998. type: integer
  16999. Ask:
  17000. description: 卖价
  17001. type: number
  17002. BV:
  17003. description: 买量
  17004. type: integer
  17005. Bid:
  17006. description: 买价
  17007. type: number
  17008. HI:
  17009. description: 单笔持仓
  17010. type: integer
  17011. HV:
  17012. description: 持仓量
  17013. type: integer
  17014. PE:
  17015. description: 现价
  17016. type: number
  17017. TDR:
  17018. description: 交易方向,0:买 1:卖
  17019. type: integer
  17020. TK:
  17021. description: 交易类型
  17022. type: integer
  17023. TS:
  17024. description: 行情时间文本
  17025. type: string
  17026. TT:
  17027. description: 现金额
  17028. type: number
  17029. Vol:
  17030. description: 现量
  17031. type: integer
  17032. type: object
  17033. quote.QueryQuoteDayRsp:
  17034. properties:
  17035. ask:
  17036. description: 卖1
  17037. type: number
  17038. ask2:
  17039. description: 卖2
  17040. type: number
  17041. ask3:
  17042. description: 卖3
  17043. type: number
  17044. ask4:
  17045. description: 卖4
  17046. type: number
  17047. ask5:
  17048. description: 卖5
  17049. type: number
  17050. ask6:
  17051. description: 卖6
  17052. type: number
  17053. ask7:
  17054. description: 卖7
  17055. type: number
  17056. ask8:
  17057. description: 卖8
  17058. type: number
  17059. ask9:
  17060. description: 卖9
  17061. type: number
  17062. ask10:
  17063. description: 卖10
  17064. type: number
  17065. askorderid:
  17066. description: 卖单号1
  17067. type: integer
  17068. askorderid2:
  17069. description: 卖单号2
  17070. type: integer
  17071. askorderid3:
  17072. description: 卖单号3
  17073. type: integer
  17074. askorderid4:
  17075. description: 卖单号4
  17076. type: integer
  17077. askorderid5:
  17078. description: 卖单号5
  17079. type: integer
  17080. askordervolume:
  17081. description: 卖单量1
  17082. type: integer
  17083. askordervolume2:
  17084. description: 卖单量2
  17085. type: integer
  17086. askordervolume3:
  17087. description: 卖单量3
  17088. type: integer
  17089. askordervolume4:
  17090. description: 卖单量4
  17091. type: integer
  17092. askordervolume5:
  17093. description: 卖单量5
  17094. type: integer
  17095. askordervolume6:
  17096. description: 卖单量6
  17097. type: integer
  17098. askordervolume7:
  17099. description: 卖单量7
  17100. type: integer
  17101. askordervolume8:
  17102. description: 卖单量8
  17103. type: integer
  17104. askordervolume9:
  17105. description: 卖单量9
  17106. type: integer
  17107. askordervolume10:
  17108. description: 卖单量10
  17109. type: integer
  17110. askqueueinfo:
  17111. description: 大利市卖港股用
  17112. type: string
  17113. askvolume:
  17114. description: 卖量1
  17115. type: integer
  17116. askvolume2:
  17117. description: 卖量2
  17118. type: integer
  17119. askvolume3:
  17120. description: 卖量3
  17121. type: integer
  17122. askvolume4:
  17123. description: 卖量4
  17124. type: integer
  17125. askvolume5:
  17126. description: 卖量5
  17127. type: integer
  17128. askvolume6:
  17129. description: 卖量6
  17130. type: integer
  17131. askvolume7:
  17132. description: 卖量7
  17133. type: integer
  17134. askvolume8:
  17135. description: 卖量8
  17136. type: integer
  17137. askvolume9:
  17138. description: 卖量9
  17139. type: integer
  17140. askvolume10:
  17141. description: 卖量10
  17142. type: integer
  17143. averageprice:
  17144. description: 均价
  17145. type: number
  17146. bid:
  17147. description: 买1
  17148. type: number
  17149. bid2:
  17150. description: 买2
  17151. type: number
  17152. bid3:
  17153. description: 买3
  17154. type: number
  17155. bid4:
  17156. description: 买4
  17157. type: number
  17158. bid5:
  17159. description: 买5
  17160. type: number
  17161. bid6:
  17162. description: 买6
  17163. type: number
  17164. bid7:
  17165. description: 买7
  17166. type: number
  17167. bid8:
  17168. description: 买8
  17169. type: number
  17170. bid9:
  17171. description: 买9
  17172. type: number
  17173. bid10:
  17174. description: 买10
  17175. type: number
  17176. bidorderid:
  17177. description: 买单号1
  17178. type: integer
  17179. bidorderid2:
  17180. description: 买单号2
  17181. type: integer
  17182. bidorderid3:
  17183. description: 买单号3
  17184. type: integer
  17185. bidorderid4:
  17186. description: 买单号4
  17187. type: integer
  17188. bidorderid5:
  17189. description: 买单号5
  17190. type: integer
  17191. bidordervolume:
  17192. description: 买单量1
  17193. type: integer
  17194. bidordervolume2:
  17195. description: 买单量2
  17196. type: integer
  17197. bidordervolume3:
  17198. description: 买单量3
  17199. type: integer
  17200. bidordervolume4:
  17201. description: 买单量4
  17202. type: integer
  17203. bidordervolume5:
  17204. description: 买单量5
  17205. type: integer
  17206. bidordervolume6:
  17207. description: 买单量6
  17208. type: integer
  17209. bidordervolume7:
  17210. description: 买单量7
  17211. type: integer
  17212. bidordervolume8:
  17213. description: 买单量8
  17214. type: integer
  17215. bidordervolume9:
  17216. description: 买单量9
  17217. type: integer
  17218. bidordervolume10:
  17219. description: 买单量10
  17220. type: integer
  17221. bidqueueinfo:
  17222. description: 大利市买港股用
  17223. type: string
  17224. bidvolume:
  17225. description: 买量1
  17226. type: integer
  17227. bidvolume2:
  17228. description: 买量2
  17229. type: integer
  17230. bidvolume3:
  17231. description: 买量3
  17232. type: integer
  17233. bidvolume4:
  17234. description: 买量4
  17235. type: integer
  17236. bidvolume5:
  17237. description: 买量5
  17238. type: integer
  17239. bidvolume6:
  17240. description: 买量6
  17241. type: integer
  17242. bidvolume7:
  17243. description: 买量7
  17244. type: integer
  17245. bidvolume8:
  17246. description: 买量8
  17247. type: integer
  17248. bidvolume9:
  17249. description: 买量9
  17250. type: integer
  17251. bidvolume10:
  17252. description: 买量10
  17253. type: integer
  17254. calloptionpremiums:
  17255. description: 认购期权1
  17256. type: integer
  17257. calloptionpremiums2:
  17258. description: 认购期权2
  17259. type: integer
  17260. calloptionpremiums3:
  17261. description: 认购期权3
  17262. type: integer
  17263. calloptionpremiums4:
  17264. description: 认购期权4
  17265. type: integer
  17266. calloptionpremiums5:
  17267. description: 认购期权5
  17268. type: integer
  17269. cleartime:
  17270. description: 清盘时间
  17271. type: integer
  17272. exchangecode:
  17273. description: 交易所代码
  17274. type: integer
  17275. exchangedate:
  17276. description: 交易日
  17277. type: integer
  17278. goodscode:
  17279. description: 商品代码
  17280. type: string
  17281. grepmarketprice:
  17282. description: 暗盘价 港股专用
  17283. type: number
  17284. highest:
  17285. description: 最高价
  17286. type: number
  17287. holdincrement:
  17288. description: 单笔持仓
  17289. type: integer
  17290. holdvolume:
  17291. description: 持仓
  17292. type: integer
  17293. iep:
  17294. description: 平衡价 港股专用
  17295. type: number
  17296. iev:
  17297. description: 平衡量 港股专用
  17298. type: number
  17299. inventory:
  17300. description: 库存
  17301. type: integer
  17302. iscleared:
  17303. description: 是否清盘标志
  17304. type: integer
  17305. issettled:
  17306. description: 是否结算标志
  17307. type: integer
  17308. last:
  17309. description: 最新价
  17310. type: number
  17311. lastlot:
  17312. description: 最新成交手数
  17313. type: integer
  17314. lasttime:
  17315. description: 行情时间(只有现价变化行情时间才变化)
  17316. type: string
  17317. lastturnover:
  17318. description: 最新成交金额
  17319. type: number
  17320. lastvolume:
  17321. description: 最新成交量
  17322. type: integer
  17323. limitdown:
  17324. description: 跌停价
  17325. type: number
  17326. limitup:
  17327. description: 涨停价
  17328. type: number
  17329. lowest:
  17330. description: 最低价
  17331. type: number
  17332. nontotalholdervolume:
  17333. description: 非交易持仓量
  17334. type: integer
  17335. nontotallot:
  17336. description: 非交易总手数
  17337. type: integer
  17338. nontotalturnover:
  17339. description: 非交易总金额
  17340. type: integer
  17341. nontotalvolume:
  17342. description: 非交易总量
  17343. type: integer
  17344. opened:
  17345. description: 开盘价
  17346. type: number
  17347. opentime:
  17348. description: 开盘时间
  17349. type: string
  17350. orderid:
  17351. description: 序号
  17352. type: integer
  17353. preclose:
  17354. description: 昨收
  17355. type: number
  17356. preholdvolume:
  17357. description: 昨持仓
  17358. type: integer
  17359. presettle:
  17360. description: 昨结价
  17361. type: number
  17362. publictradetype:
  17363. description: 公共交易标志类型 港股专用
  17364. type: string
  17365. putoptionpremiums:
  17366. description: 认沽期权1
  17367. type: integer
  17368. putoptionpremiums2:
  17369. description: 认沽期权2
  17370. type: integer
  17371. putoptionpremiums3:
  17372. description: 认沽期权3
  17373. type: integer
  17374. putoptionpremiums4:
  17375. description: 认沽期权4
  17376. type: integer
  17377. putoptionpremiums5:
  17378. description: 认沽期权5
  17379. type: integer
  17380. settle:
  17381. description: 结算价
  17382. type: number
  17383. strikeprice:
  17384. description: 发行价
  17385. type: number
  17386. totalaskvolume:
  17387. description: 内盘
  17388. type: integer
  17389. totalbidvolume:
  17390. description: 外盘
  17391. type: integer
  17392. totallot:
  17393. description: 总手数
  17394. type: integer
  17395. totalturnover:
  17396. description: 总金额
  17397. type: number
  17398. totalvolume:
  17399. description: 总量
  17400. type: integer
  17401. utclasttime:
  17402. description: utc的行情时间
  17403. type: string
  17404. type: object
  17405. quote.QueryTSDataRsp:
  17406. properties:
  17407. Count:
  17408. description: 交易日应有数据个数
  17409. type: integer
  17410. decimalPlace:
  17411. description: 小数位
  17412. type: integer
  17413. endTime:
  17414. description: 结束时间
  17415. type: string
  17416. goodsCode:
  17417. description: 商品代码
  17418. type: string
  17419. historyDatas:
  17420. description: 历史数据
  17421. items:
  17422. $ref: '#/definitions/quote.HistoryData'
  17423. type: array
  17424. outGoodsCode:
  17425. description: 外部商品代码
  17426. type: string
  17427. preSettle:
  17428. description: 昨结价
  17429. type: number
  17430. runSteps:
  17431. description: 交易日开休市计划
  17432. items:
  17433. $ref: '#/definitions/quote.TSDataRunStep'
  17434. type: array
  17435. startTime:
  17436. description: 开始时间
  17437. type: string
  17438. tradeDate:
  17439. description: 交易日
  17440. type: string
  17441. type: object
  17442. quote.TSDataRunStep:
  17443. properties:
  17444. end:
  17445. description: 真实结束时间
  17446. type: string
  17447. endflag:
  17448. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  17449. type: integer
  17450. endtime:
  17451. description: 结束时间(HH:mm)
  17452. type: string
  17453. endweekday:
  17454. description: 结束周几
  17455. type: integer
  17456. groupid:
  17457. description: 分组ID
  17458. type: integer
  17459. runstep:
  17460. description: 运行阶段 - 2:连续交易
  17461. type: integer
  17462. sectionid:
  17463. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  17464. type: integer
  17465. start:
  17466. description: 真实开始时间
  17467. type: string
  17468. startflag:
  17469. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17470. type: integer
  17471. starttime:
  17472. description: 起始时间(HH:mm)
  17473. type: string
  17474. startweekday:
  17475. description: 起始周几
  17476. type: integer
  17477. tradeweekday:
  17478. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17479. type: integer
  17480. type: object
  17481. szdz.QueryConvertLogRsp:
  17482. properties:
  17483. accountid:
  17484. description: 资金账户ID
  17485. type: integer
  17486. clientticket:
  17487. description: 客户端流水号
  17488. type: string
  17489. converttype:
  17490. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17491. type: integer
  17492. createtime:
  17493. description: 记账时间
  17494. type: string
  17495. daymaxvalue:
  17496. description: 配置当日最大转入限制
  17497. type: number
  17498. daymaxvalue2:
  17499. description: 配置当日最大转入限制(转入)
  17500. type: number
  17501. goodscode:
  17502. description: 商品代码
  17503. type: string
  17504. goodsname:
  17505. description: 商品名称
  17506. type: string
  17507. handlestatus:
  17508. description: 处理状态
  17509. type: integer
  17510. innergoodsid:
  17511. description: 内部商品ID
  17512. type: integer
  17513. inratio:
  17514. description: 配置转入比值
  17515. type: integer
  17516. invalue:
  17517. description: 目标值
  17518. type: number
  17519. logid:
  17520. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17521. type: integer
  17522. mobile:
  17523. description: 手机号码(加密存储)
  17524. type: string
  17525. outergoodscode:
  17526. description: 外部商品代码[JD\PD]
  17527. type: string
  17528. outratio:
  17529. description: 配置转出比值
  17530. type: integer
  17531. outvalue:
  17532. description: 源值
  17533. type: number
  17534. pddecimalplace:
  17535. description: PD小数位
  17536. type: integer
  17537. qty:
  17538. description: 数量
  17539. type: string
  17540. remark:
  17541. description: 备注
  17542. type: string
  17543. sessionid:
  17544. description: 会话ID
  17545. type: integer
  17546. timemaxvalue:
  17547. description: 配置单次最大转入限制
  17548. type: number
  17549. timemaxvalue2:
  17550. description: 配置单次最大转入限制(转入)
  17551. type: number
  17552. timeminvalue:
  17553. description: 配置单次最小数量限制
  17554. type: number
  17555. timeminvalue2:
  17556. description: 配置单次最小数量限制(转入)
  17557. type: number
  17558. tradedate:
  17559. description: 交易日(yyyyMMdd)
  17560. type: string
  17561. userid:
  17562. description: 用户ID
  17563. type: integer
  17564. required:
  17565. - logid
  17566. type: object
  17567. szdz.QueryGoodsPickupRsp:
  17568. properties:
  17569. accountid:
  17570. description: 账户ID
  17571. type: integer
  17572. address:
  17573. description: 提货人详细地址
  17574. type: string
  17575. auditer:
  17576. description: 审核人
  17577. type: integer
  17578. audittime:
  17579. description: 审核时间
  17580. type: string
  17581. cardnum:
  17582. description: 提货人证件号码
  17583. type: string
  17584. cardtypeid:
  17585. description: 提货人证件类型
  17586. type: integer
  17587. checkremark:
  17588. description: 审核备注
  17589. type: string
  17590. goodscode:
  17591. description: 商品代码
  17592. type: string
  17593. goodsid:
  17594. description: 商品ID
  17595. type: integer
  17596. goodsname:
  17597. description: 商品名称
  17598. type: string
  17599. handlestatus:
  17600. description: 处理状态
  17601. type: integer
  17602. marketid:
  17603. description: 市场ID
  17604. type: integer
  17605. phonenum:
  17606. description: 提货人联系方式
  17607. type: string
  17608. qty:
  17609. description: 提货数量
  17610. type: number
  17611. recivername:
  17612. description: 提货人姓名
  17613. type: string
  17614. reqtime:
  17615. description: 更新时间
  17616. type: string
  17617. takemode:
  17618. description: 提货方式 - 2:自提 3:配送
  17619. type: integer
  17620. takeorderid:
  17621. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17622. type: string
  17623. takeorderstatus:
  17624. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17625. type: integer
  17626. takeremark:
  17627. description: 提货备注
  17628. type: string
  17629. tradedate:
  17630. description: 交易日(yyyyMMdd)
  17631. type: string
  17632. userid:
  17633. description: 用户ID
  17634. type: integer
  17635. required:
  17636. - takeorderid
  17637. type: object
  17638. szdz.QueryRecieptOrderRsp:
  17639. properties:
  17640. accountName:
  17641. description: 所属账号名称(已脱敏)
  17642. type: string
  17643. accountid:
  17644. description: 资金账号
  17645. type: integer
  17646. buyorsell:
  17647. description: 方向 - 0:买 1:卖
  17648. type: integer
  17649. enableqty:
  17650. description: 可摘数量
  17651. type: integer
  17652. goodscode:
  17653. description: 商品代码
  17654. type: string
  17655. goodsid:
  17656. description: 商品ID
  17657. type: integer
  17658. goodsname:
  17659. description: 商品名称
  17660. type: string
  17661. orderid:
  17662. description: 委托单号
  17663. type: string
  17664. orderprice:
  17665. description: 委托价格
  17666. type: number
  17667. ordertime:
  17668. description: 委托时间
  17669. type: string
  17670. tradedate:
  17671. description: 交易日(yyyyMMdd)
  17672. type: string
  17673. required:
  17674. - ordertime
  17675. type: object
  17676. szdz.QuerySZDZTradePositionRsp:
  17677. properties:
  17678. accountid:
  17679. description: 账号Id
  17680. type: integer
  17681. agreeunit:
  17682. description: 合约单位
  17683. type: number
  17684. averageprice:
  17685. description: 持仓均价
  17686. type: number
  17687. buyorsell:
  17688. description: 方向 - 0:买 1:卖
  17689. type: integer
  17690. closetotalqty:
  17691. description: 平仓总数量
  17692. type: integer
  17693. curholderamount:
  17694. description: 当前持仓总金额
  17695. type: number
  17696. curpositionqty:
  17697. description: 当前持仓总数量
  17698. type: integer
  17699. currencyid:
  17700. description: 报价货币ID
  17701. type: integer
  17702. curtdposition:
  17703. description: 期末今日头寸
  17704. type: integer
  17705. decimalplace:
  17706. description: 报价小数位
  17707. type: integer
  17708. enableqty:
  17709. description: 可用量
  17710. type: integer
  17711. fretdposition:
  17712. description: 冻结今日头寸
  17713. type: integer
  17714. frozenqty:
  17715. description: 持仓冻结数量
  17716. type: integer
  17717. goodscode:
  17718. description: 商品代码(内部)
  17719. type: string
  17720. goodsid:
  17721. description: 商品Id
  17722. type: integer
  17723. goodsname:
  17724. description: 商品名称
  17725. type: string
  17726. goodunit:
  17727. description: 报价单位
  17728. type: string
  17729. goodunitid:
  17730. description: 报价单位ID
  17731. type: integer
  17732. holderamount:
  17733. description: 期初持仓总金额
  17734. type: number
  17735. marketid:
  17736. description: 市场ID
  17737. type: integer
  17738. openreqqty:
  17739. description: 开仓申请数量
  17740. type: integer
  17741. opentotalqty:
  17742. description: 开仓总数量
  17743. type: integer
  17744. otherfrozenqty:
  17745. description: 持仓其他冻结数量(交割冻结)
  17746. type: integer
  17747. positionqty:
  17748. description: 期初持仓数量
  17749. type: integer
  17750. szdz3freezqty:
  17751. description: 尚志大宗转换冻结总数量
  17752. type: integer
  17753. tnqty:
  17754. description: T+N冻结总量
  17755. type: integer
  17756. tnusedqty:
  17757. description: T+N使用量
  17758. type: integer
  17759. trademode:
  17760. description: 交易模式
  17761. type: integer
  17762. usedmargin:
  17763. description: 占用保证金
  17764. type: number
  17765. type: object
  17766. taaccount.QueryAmountLogRsp:
  17767. properties:
  17768. OPERATETYPENAME:
  17769. description: 资金操作类型名称
  17770. type: string
  17771. accountid:
  17772. description: 资金账户ID
  17773. type: integer
  17774. agoodscode:
  17775. description: 竞拍商品代码
  17776. type: string
  17777. agoodsname:
  17778. description: 竞拍商品名称
  17779. type: string
  17780. amount:
  17781. description: 资金金额
  17782. type: number
  17783. amountadjusttype:
  17784. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17785. type: integer
  17786. autoid:
  17787. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17788. type: integer
  17789. balance:
  17790. description: 期初余额
  17791. type: number
  17792. businesscode:
  17793. description: 业务编号
  17794. type: integer
  17795. createtime:
  17796. description: 发生时间
  17797. type: string
  17798. currencyid:
  17799. description: 币种ID
  17800. type: integer
  17801. currentbalance:
  17802. description: 期末余额(变动后金额)
  17803. type: number
  17804. dgoodscode:
  17805. description: 交割商品代码
  17806. type: string
  17807. dgoodsname:
  17808. description: 交割商品名称
  17809. type: string
  17810. goodscode:
  17811. description: 商品代码
  17812. type: string
  17813. goodsid:
  17814. description: 商品ID
  17815. type: integer
  17816. goodsname:
  17817. description: 商品名称
  17818. type: string
  17819. marketid:
  17820. description: 市场ID
  17821. type: integer
  17822. marketname:
  17823. description: 市场名称
  17824. type: string
  17825. moneyticket:
  17826. description: 资金流水号:银行端流水号
  17827. type: integer
  17828. operatetype:
  17829. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17830. type: integer
  17831. relationorderid:
  17832. description: 关联单号
  17833. type: string
  17834. remark:
  17835. description: 备注
  17836. type: string
  17837. trademode:
  17838. description: 交易模式
  17839. type: integer
  17840. required:
  17841. - accountid
  17842. - amount
  17843. - amountadjusttype
  17844. - autoid
  17845. - balance
  17846. - createtime
  17847. - currentbalance
  17848. - operatetype
  17849. type: object
  17850. taaccount.QueryHisAmountLogRsp:
  17851. properties:
  17852. OPERATETYPENAME:
  17853. description: 资金操作类型名称
  17854. type: string
  17855. accountid:
  17856. description: 资金账户ID
  17857. type: integer
  17858. agoodscode:
  17859. description: 竞拍商品代码
  17860. type: string
  17861. agoodsname:
  17862. description: 竞拍商品名称
  17863. type: string
  17864. amount:
  17865. description: 资金金额
  17866. type: number
  17867. amountadjusttype:
  17868. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17869. type: integer
  17870. autoid:
  17871. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17872. type: integer
  17873. balance:
  17874. description: 期初余额
  17875. type: number
  17876. businesscode:
  17877. description: 业务编号
  17878. type: integer
  17879. createtime:
  17880. description: 发生时间
  17881. type: string
  17882. currencyid:
  17883. description: 币种ID
  17884. type: integer
  17885. currentbalance:
  17886. description: 期末余额(变动后金额)
  17887. type: number
  17888. dgoodscode:
  17889. description: 交割商品代码
  17890. type: string
  17891. dgoodsname:
  17892. description: 交割商品名称
  17893. type: string
  17894. goodscode:
  17895. description: 商品代码
  17896. type: string
  17897. goodsid:
  17898. description: 商品ID
  17899. type: integer
  17900. goodsname:
  17901. description: 商品名称
  17902. type: string
  17903. histradedate:
  17904. description: 历史交易日
  17905. type: string
  17906. isvaliddata:
  17907. description: 是否有效 - 0:无效 1:有效
  17908. type: integer
  17909. marketid:
  17910. description: 市场ID
  17911. type: integer
  17912. marketname:
  17913. description: 市场名称
  17914. type: string
  17915. moneyticket:
  17916. description: 资金流水号:银行端流水号
  17917. type: integer
  17918. operatetype:
  17919. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17920. type: integer
  17921. relationorderid:
  17922. description: 关联单号
  17923. type: string
  17924. remark:
  17925. description: 备注
  17926. type: string
  17927. trademode:
  17928. description: 交易模式
  17929. type: integer
  17930. required:
  17931. - accountid
  17932. - amount
  17933. - amountadjusttype
  17934. - autoid
  17935. - balance
  17936. - createtime
  17937. - currentbalance
  17938. - histradedate
  17939. - operatetype
  17940. type: object
  17941. trade.QueryRecieptOrderRsp:
  17942. properties:
  17943. accountName:
  17944. description: 所属账号名称(已脱敏)
  17945. type: string
  17946. accountid:
  17947. description: 资金账号
  17948. type: integer
  17949. buyorsell:
  17950. description: 方向 - 0:买 1:卖
  17951. type: integer
  17952. enableqty:
  17953. description: 可摘数量
  17954. type: integer
  17955. goodscode:
  17956. description: 商品代码
  17957. type: string
  17958. goodsid:
  17959. description: 商品ID
  17960. type: integer
  17961. goodsname:
  17962. description: 商品名称
  17963. type: string
  17964. orderid:
  17965. description: 委托单号
  17966. type: string
  17967. orderprice:
  17968. description: 委托价格
  17969. type: number
  17970. ordertime:
  17971. description: 委托时间
  17972. type: string
  17973. tradedate:
  17974. description: 交易日(yyyyMMdd)
  17975. type: string
  17976. required:
  17977. - ordertime
  17978. type: object
  17979. user.LoginQueryRsp:
  17980. properties:
  17981. areaRoles:
  17982. description: 所属角色信息
  17983. items:
  17984. $ref: '#/definitions/models.Arearole'
  17985. type: array
  17986. externalExchanges:
  17987. description: 外部交易所
  17988. items:
  17989. $ref: '#/definitions/models.Externalexchange'
  17990. type: array
  17991. goodsgroups:
  17992. description: 商品组
  17993. items:
  17994. $ref: '#/definitions/models.Goodsgroup'
  17995. type: array
  17996. loginAccount:
  17997. $ref: '#/definitions/models.Loginaccount'
  17998. description: 登录账号
  17999. markets:
  18000. description: 市场
  18001. items:
  18002. $ref: '#/definitions/models.Market'
  18003. type: array
  18004. systemParams:
  18005. description: 系统参数
  18006. items:
  18007. $ref: '#/definitions/models.Systemparam'
  18008. type: array
  18009. userAccount:
  18010. $ref: '#/definitions/models.Useraccount'
  18011. description: 用户账号
  18012. userInfo:
  18013. $ref: '#/definitions/models.Userinfo'
  18014. description: 用户信息
  18015. username:
  18016. description: 用户姓名
  18017. type: string
  18018. type: object
  18019. info:
  18020. contact: {}
  18021. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18022. termsOfService: http://www.muchinfo.cn
  18023. title: MTP2.0 查询服务 API
  18024. version: "1.0"
  18025. paths:
  18026. /CPTrade/QueryCPTradeMyBidInfos:
  18027. get:
  18028. parameters:
  18029. - description: 资金账户
  18030. in: query
  18031. name: accountid
  18032. required: true
  18033. type: integer
  18034. - description: 预售市场ID
  18035. in: query
  18036. name: marketid
  18037. type: integer
  18038. - description: 预售商品ID
  18039. in: query
  18040. name: goodsid
  18041. type: integer
  18042. produces:
  18043. - application/json
  18044. responses:
  18045. "200":
  18046. description: OK
  18047. schema:
  18048. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18049. "500":
  18050. description: Internal Server Error
  18051. schema:
  18052. $ref: '#/definitions/app.Response'
  18053. security:
  18054. - ApiKeyAuth: []
  18055. summary: 查询产能预售我的出价信息
  18056. tags:
  18057. - 产能预售
  18058. /CPTrade/QueryCPTradeOrderDetail:
  18059. get:
  18060. parameters:
  18061. - description: 预售商品ID
  18062. in: query
  18063. name: goodsid
  18064. type: integer
  18065. - description: 预售市场ID
  18066. in: query
  18067. name: marketid
  18068. type: integer
  18069. - description: 预售商品ID列表 - 格式:1,2,3
  18070. in: query
  18071. name: goodsids
  18072. type: string
  18073. produces:
  18074. - application/json
  18075. responses:
  18076. "200":
  18077. description: OK
  18078. schema:
  18079. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18080. "500":
  18081. description: Internal Server Error
  18082. schema:
  18083. $ref: '#/definitions/app.Response'
  18084. security:
  18085. - ApiKeyAuth: []
  18086. summary: 查询产能预售委托单信息
  18087. tags:
  18088. - 产能预售
  18089. /CPTrade/QueryMyCPTradeGoods:
  18090. get:
  18091. parameters:
  18092. - description: 资金账户
  18093. in: query
  18094. name: accountid
  18095. required: true
  18096. type: integer
  18097. produces:
  18098. - application/json
  18099. responses:
  18100. "200":
  18101. description: OK
  18102. schema:
  18103. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18104. "500":
  18105. description: Internal Server Error
  18106. schema:
  18107. $ref: '#/definitions/app.Response'
  18108. security:
  18109. - ApiKeyAuth: []
  18110. summary: 查询我的预售信息
  18111. tags:
  18112. - 产能预售
  18113. /CPTrade/QueryPositionCancel:
  18114. get:
  18115. parameters:
  18116. - description: 账户ID
  18117. in: query
  18118. name: userid
  18119. required: true
  18120. type: integer
  18121. - description: 注销ID
  18122. in: query
  18123. name: cancelid
  18124. type: integer
  18125. - description: 资金账户ID
  18126. in: query
  18127. name: accountid
  18128. type: integer
  18129. produces:
  18130. - application/json
  18131. responses:
  18132. "200":
  18133. description: OK
  18134. schema:
  18135. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18136. "500":
  18137. description: Internal Server Error
  18138. schema:
  18139. $ref: '#/definitions/app.Response'
  18140. security:
  18141. - ApiKeyAuth: []
  18142. summary: 查询远期订单注销申请信息
  18143. tags:
  18144. - 产能预售
  18145. /CPTrade/QueryPreasleApply:
  18146. get:
  18147. parameters:
  18148. - description: 账户ID
  18149. in: query
  18150. name: userid
  18151. required: true
  18152. type: integer
  18153. - description: 申请ID
  18154. in: query
  18155. name: applyid
  18156. type: integer
  18157. - description: 资金账户ID
  18158. in: query
  18159. name: accountid
  18160. type: integer
  18161. produces:
  18162. - application/json
  18163. responses:
  18164. "200":
  18165. description: OK
  18166. schema:
  18167. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18168. "500":
  18169. description: Internal Server Error
  18170. schema:
  18171. $ref: '#/definitions/app.Response'
  18172. security:
  18173. - ApiKeyAuth: []
  18174. summary: 查询产能预售申请信息
  18175. tags:
  18176. - 产能预售
  18177. /CPTrade/QueryPresaleGoodsEx:
  18178. get:
  18179. parameters:
  18180. - description: 预售商品ID
  18181. in: query
  18182. name: goodsid
  18183. type: integer
  18184. - description: 预售市场ID
  18185. in: query
  18186. name: marketid
  18187. type: integer
  18188. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18189. in: query
  18190. name: presalemode
  18191. type: integer
  18192. - description: 预售商品ID列表 - 格式:1,2,3
  18193. in: query
  18194. name: goodsids
  18195. type: string
  18196. - description: 预售商品代码
  18197. in: query
  18198. name: goodscode
  18199. type: string
  18200. produces:
  18201. - application/json
  18202. responses:
  18203. "200":
  18204. description: OK
  18205. schema:
  18206. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18207. "500":
  18208. description: Internal Server Error
  18209. schema:
  18210. $ref: '#/definitions/app.Response'
  18211. security:
  18212. - ApiKeyAuth: []
  18213. summary: 查询产能预售商品扩展信息
  18214. tags:
  18215. - 产能预售
  18216. /CPTrade/QueryUserGoodsData:
  18217. get:
  18218. parameters:
  18219. - description: 资金账户ID
  18220. in: query
  18221. name: accountid
  18222. required: true
  18223. type: integer
  18224. produces:
  18225. - application/json
  18226. responses:
  18227. "200":
  18228. description: OK
  18229. schema:
  18230. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18231. "500":
  18232. description: Internal Server Error
  18233. schema:
  18234. $ref: '#/definitions/app.Response'
  18235. security:
  18236. - ApiKeyAuth: []
  18237. summary: 查询远期订单信息
  18238. tags:
  18239. - 产能预售
  18240. /Common/GetAllEnums:
  18241. get:
  18242. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18243. parameters:
  18244. - description: 起始自增ID
  18245. in: query
  18246. name: autoid
  18247. type: integer
  18248. produces:
  18249. - application/json
  18250. responses:
  18251. "200":
  18252. description: OK
  18253. schema:
  18254. $ref: '#/definitions/models.Enumdicitem'
  18255. "500":
  18256. description: Internal Server Error
  18257. schema:
  18258. $ref: '#/definitions/app.Response'
  18259. summary: 获取所有枚举信息
  18260. tags:
  18261. - 通用服务
  18262. /Common/GetClientMenus:
  18263. get:
  18264. parameters:
  18265. - description: 登录账号
  18266. in: query
  18267. name: loginID
  18268. required: true
  18269. type: integer
  18270. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  18271. in: query
  18272. name: clientType
  18273. type: integer
  18274. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  18275. in: query
  18276. name: name
  18277. type: string
  18278. produces:
  18279. - application/json
  18280. responses:
  18281. "200":
  18282. description: OK
  18283. schema:
  18284. items:
  18285. $ref: '#/definitions/common.ClientMenu'
  18286. type: array
  18287. "500":
  18288. description: Internal Server Error
  18289. schema:
  18290. $ref: '#/definitions/app.Response'
  18291. security:
  18292. - ApiKeyAuth: []
  18293. summary: 获取交易端菜单
  18294. tags:
  18295. - 通用服务
  18296. /Common/GetDivisions:
  18297. get:
  18298. produces:
  18299. - application/json
  18300. responses:
  18301. "200":
  18302. description: OK
  18303. schema:
  18304. $ref: '#/definitions/models.Division'
  18305. "500":
  18306. description: Internal Server Error
  18307. schema:
  18308. $ref: '#/definitions/app.Response'
  18309. summary: 查询区域信息
  18310. tags:
  18311. - 通用服务
  18312. /Common/GetServerTime:
  18313. get:
  18314. produces:
  18315. - application/json
  18316. responses:
  18317. "200":
  18318. description: OK
  18319. schema:
  18320. $ref: '#/definitions/app.Response'
  18321. "500":
  18322. description: Internal Server Error
  18323. schema:
  18324. $ref: '#/definitions/app.Response'
  18325. summary: 获取服务器时间
  18326. tags:
  18327. - 通用服务
  18328. /Common/NoticeReaded:
  18329. post:
  18330. parameters:
  18331. - description: 登录账号
  18332. in: query
  18333. name: loginID
  18334. required: true
  18335. type: integer
  18336. - description: 通知公告ID
  18337. in: query
  18338. name: noticeID
  18339. required: true
  18340. type: integer
  18341. produces:
  18342. - application/json
  18343. responses:
  18344. "200":
  18345. description: OK
  18346. schema:
  18347. $ref: '#/definitions/app.Response'
  18348. "500":
  18349. description: Internal Server Error
  18350. schema:
  18351. $ref: '#/definitions/app.Response'
  18352. security:
  18353. - ApiKeyAuth: []
  18354. summary: 通知公告设置已读请求
  18355. tags:
  18356. - 通用服务
  18357. /Common/QueryErrorInfos:
  18358. get:
  18359. description: 如果传入rowNumber,则返回此rowNumber后的数据
  18360. parameters:
  18361. - description: 起始行号前索引
  18362. in: query
  18363. name: rowNumber
  18364. type: string
  18365. produces:
  18366. - application/json
  18367. responses:
  18368. "200":
  18369. description: OK
  18370. schema:
  18371. $ref: '#/definitions/models.QueryErrorInfosRsp'
  18372. "500":
  18373. description: Internal Server Error
  18374. schema:
  18375. $ref: '#/definitions/app.Response'
  18376. summary: 获取数据库错误信息
  18377. tags:
  18378. - 通用服务
  18379. /Common/QueryImageConfigs:
  18380. get:
  18381. parameters:
  18382. - description: 用户id
  18383. in: query
  18384. name: userId
  18385. type: integer
  18386. - description: 类型 - 1:App首页轮播 2:我的
  18387. in: query
  18388. name: imageType
  18389. type: integer
  18390. produces:
  18391. - application/json
  18392. responses:
  18393. "200":
  18394. description: OK
  18395. schema:
  18396. $ref: '#/definitions/common.QueryImageConfigsRsp'
  18397. "500":
  18398. description: Internal Server Error
  18399. schema:
  18400. $ref: '#/definitions/app.Response'
  18401. summary: 查询轮播图配置信息
  18402. tags:
  18403. - 通用服务
  18404. /Common/QueryNotice:
  18405. get:
  18406. parameters:
  18407. - description: 页码
  18408. in: query
  18409. name: page
  18410. type: integer
  18411. - description: 每页条数
  18412. in: query
  18413. name: pagesize
  18414. type: integer
  18415. - description: 登录账号
  18416. in: query
  18417. name: loginID
  18418. required: true
  18419. type: integer
  18420. - description: 消息类型 - 1:公告通知 2:系统消息
  18421. in: query
  18422. name: msgType
  18423. type: integer
  18424. - description: 是否只获取未读信息
  18425. in: query
  18426. name: onlyUnRead
  18427. type: boolean
  18428. - description: 自增ID,传入后会返回这个ID后面的记录
  18429. in: query
  18430. name: lastID
  18431. type: integer
  18432. produces:
  18433. - application/json
  18434. responses:
  18435. "200":
  18436. description: OK
  18437. schema:
  18438. $ref: '#/definitions/common.QueryNoticeRsp'
  18439. "500":
  18440. description: Internal Server Error
  18441. schema:
  18442. $ref: '#/definitions/app.Response'
  18443. security:
  18444. - ApiKeyAuth: []
  18445. summary: 通知公告系统消息查询
  18446. tags:
  18447. - 通用服务
  18448. /Common/QueryProvincesAndCities:
  18449. get:
  18450. parameters:
  18451. - description: 省ID
  18452. in: query
  18453. name: provinceID
  18454. type: integer
  18455. produces:
  18456. - application/json
  18457. responses:
  18458. "200":
  18459. description: OK
  18460. schema:
  18461. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18462. "500":
  18463. description: Internal Server Error
  18464. schema:
  18465. $ref: '#/definitions/app.Response'
  18466. summary: 查询省市信息(不包括区)
  18467. tags:
  18468. - 通用服务
  18469. /Common/QueryTableDefine:
  18470. get:
  18471. parameters:
  18472. - description: 表key
  18473. in: query
  18474. name: tableKey
  18475. type: string
  18476. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18477. in: query
  18478. name: tableType
  18479. type: integer
  18480. produces:
  18481. - application/json
  18482. responses:
  18483. "200":
  18484. description: OK
  18485. schema:
  18486. $ref: '#/definitions/common.QueryTableDefineRsp'
  18487. "500":
  18488. description: Internal Server Error
  18489. schema:
  18490. $ref: '#/definitions/app.Response'
  18491. summary: 查询交易端列表头信息
  18492. tags:
  18493. - 通用服务
  18494. /Common/QueryTraderMenu:
  18495. get:
  18496. parameters:
  18497. - description: 登录账号
  18498. in: query
  18499. name: loginid
  18500. required: true
  18501. type: integer
  18502. produces:
  18503. - application/json
  18504. responses:
  18505. "200":
  18506. description: OK
  18507. schema:
  18508. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18509. "500":
  18510. description: Internal Server Error
  18511. schema:
  18512. $ref: '#/definitions/app.Response'
  18513. summary: 查询交易端菜单
  18514. tags:
  18515. - 通用服务
  18516. /Delivery/QueryDeliveryRelation:
  18517. get:
  18518. parameters:
  18519. - description: 商品ID
  18520. in: query
  18521. name: goodsid
  18522. type: integer
  18523. - description: 品种ID
  18524. in: query
  18525. name: deliverygoodsid
  18526. type: integer
  18527. - description: 市场ID
  18528. in: query
  18529. name: marketid
  18530. type: integer
  18531. produces:
  18532. - application/json
  18533. responses:
  18534. "200":
  18535. description: OK
  18536. schema:
  18537. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18538. "500":
  18539. description: Internal Server Error
  18540. schema:
  18541. $ref: '#/definitions/app.Response'
  18542. security:
  18543. - ApiKeyAuth: []
  18544. summary: 查询商品交割关系表
  18545. tags:
  18546. - 交割服务
  18547. /Ermcp/GetErmcpGoods:
  18548. get:
  18549. parameters:
  18550. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18551. in: query
  18552. name: lastUpdateTime
  18553. type: string
  18554. produces:
  18555. - application/json
  18556. responses:
  18557. "200":
  18558. description: OK
  18559. schema:
  18560. $ref: '#/definitions/models.ErmcpGoods'
  18561. "500":
  18562. description: Internal Server Error
  18563. schema:
  18564. $ref: '#/definitions/app.Response'
  18565. security:
  18566. - ApiKeyAuth: []
  18567. summary: 查询企业风管期货商品信息
  18568. tags:
  18569. - 企业风险管理(app)
  18570. /Ermcp/GetErmcpGoodsSortByPosition:
  18571. get:
  18572. parameters:
  18573. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18574. in: query
  18575. name: sortIndex
  18576. type: string
  18577. produces:
  18578. - application/json
  18579. responses:
  18580. "200":
  18581. description: OK
  18582. schema:
  18583. $ref: '#/definitions/models.Goodssortbypreposition'
  18584. "500":
  18585. description: Internal Server Error
  18586. schema:
  18587. $ref: '#/definitions/app.Response'
  18588. security:
  18589. - ApiKeyAuth: []
  18590. summary: 查询企业风管期货主力、次主力商品信息
  18591. tags:
  18592. - 企业风险管理(app)
  18593. /Ermcp/GetErmcpOutAccountStatus:
  18594. get:
  18595. parameters:
  18596. - description: 登录账号
  18597. in: query
  18598. name: loginID
  18599. required: true
  18600. type: integer
  18601. produces:
  18602. - application/json
  18603. responses:
  18604. "200":
  18605. description: OK
  18606. schema:
  18607. $ref: '#/definitions/models.Hedgemarketopenlog'
  18608. "500":
  18609. description: Internal Server Error
  18610. schema:
  18611. $ref: '#/definitions/app.Response'
  18612. security:
  18613. - ApiKeyAuth: []
  18614. summary: 获取目标登录账号当前对冲账号在线状态
  18615. tags:
  18616. - 企业风险管理(app)
  18617. /Ermcp/GetErmcpRoleFuncMenuLists:
  18618. get:
  18619. parameters:
  18620. - description: 登录账号
  18621. in: query
  18622. name: loginID
  18623. required: true
  18624. type: integer
  18625. produces:
  18626. - application/json
  18627. responses:
  18628. "200":
  18629. description: OK
  18630. schema:
  18631. $ref: '#/definitions/models.Funcmenulist'
  18632. "500":
  18633. description: Internal Server Error
  18634. schema:
  18635. $ref: '#/definitions/app.Response'
  18636. security:
  18637. - ApiKeyAuth: []
  18638. summary: 获取企业风管终端权限
  18639. tags:
  18640. - 企业风险管理(app)
  18641. /Ermcp/QueryAccMgrBizGroupSet:
  18642. get:
  18643. parameters:
  18644. - description: 用户ID
  18645. in: query
  18646. name: userid
  18647. required: true
  18648. type: integer
  18649. - description: 现货商品id
  18650. in: query
  18651. name: deliverygoodsid
  18652. type: integer
  18653. produces:
  18654. - application/json
  18655. responses:
  18656. "200":
  18657. description: OK
  18658. schema:
  18659. items:
  18660. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18661. type: array
  18662. "500":
  18663. description: Internal Server Error
  18664. schema:
  18665. $ref: '#/definitions/app.Response'
  18666. security:
  18667. - ApiKeyAuth: []
  18668. summary: 查询业务类型分组(账户管理/账户设置)
  18669. tags:
  18670. - 企业风险管理(app)
  18671. /Ermcp/QueryAccMgrLoginUser:
  18672. get:
  18673. parameters:
  18674. - description: 用户ID
  18675. in: query
  18676. name: userid
  18677. required: true
  18678. type: integer
  18679. - description: 用户类型 2-机构 7-企业成员
  18680. in: query
  18681. name: usertype
  18682. type: integer
  18683. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18684. in: query
  18685. name: querytype
  18686. required: true
  18687. type: integer
  18688. produces:
  18689. - application/json
  18690. responses:
  18691. "200":
  18692. description: OK
  18693. schema:
  18694. items:
  18695. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18696. type: array
  18697. "500":
  18698. description: Internal Server Error
  18699. schema:
  18700. $ref: '#/definitions/app.Response'
  18701. security:
  18702. - ApiKeyAuth: []
  18703. summary: 查询账户管理登录账号(账户管理/登录账号)
  18704. tags:
  18705. - 企业风险管理(app)
  18706. /Ermcp/QueryAccMgrMainAccountInfo:
  18707. get:
  18708. parameters:
  18709. - description: 用户ID
  18710. in: query
  18711. name: userid
  18712. type: integer
  18713. - description: 主账号id
  18714. in: query
  18715. name: accountid
  18716. type: integer
  18717. produces:
  18718. - application/json
  18719. responses:
  18720. "200":
  18721. description: OK
  18722. schema:
  18723. items:
  18724. $ref: '#/definitions/models.MainAccountInfo'
  18725. type: array
  18726. "500":
  18727. description: Internal Server Error
  18728. schema:
  18729. $ref: '#/definitions/app.Response'
  18730. security:
  18731. - ApiKeyAuth: []
  18732. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18733. tags:
  18734. - 企业风险管理(app)
  18735. /Ermcp/QueryAccMgrRole:
  18736. get:
  18737. parameters:
  18738. - description: 用户ID
  18739. in: query
  18740. name: userid
  18741. required: true
  18742. type: integer
  18743. produces:
  18744. - application/json
  18745. responses:
  18746. "200":
  18747. description: OK
  18748. schema:
  18749. items:
  18750. $ref: '#/definitions/models.ErmcpRole'
  18751. type: array
  18752. "500":
  18753. description: Internal Server Error
  18754. schema:
  18755. $ref: '#/definitions/app.Response'
  18756. security:
  18757. - ApiKeyAuth: []
  18758. summary: 查询账户管理角色设置(账户管理/角色设置)
  18759. tags:
  18760. - 企业风险管理(app)
  18761. /Ermcp/QueryAccMgrRoleMenu:
  18762. get:
  18763. parameters:
  18764. - description: 用户ID
  18765. in: query
  18766. name: userid
  18767. required: true
  18768. type: integer
  18769. - description: 角色id(可多个,逗号隔开)
  18770. in: query
  18771. name: roleid
  18772. type: string
  18773. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18774. in: query
  18775. name: menutype
  18776. type: integer
  18777. produces:
  18778. - application/json
  18779. responses:
  18780. "200":
  18781. description: OK
  18782. schema:
  18783. items:
  18784. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18785. type: array
  18786. "500":
  18787. description: Internal Server Error
  18788. schema:
  18789. $ref: '#/definitions/app.Response'
  18790. security:
  18791. - ApiKeyAuth: []
  18792. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18793. tags:
  18794. - 企业风险管理(app)
  18795. /Ermcp/QueryAccMgrTaAccountInfo:
  18796. get:
  18797. parameters:
  18798. - description: 用户ID
  18799. in: query
  18800. name: userid
  18801. required: true
  18802. type: integer
  18803. - description: 账号id
  18804. in: query
  18805. name: accountid
  18806. type: integer
  18807. produces:
  18808. - application/json
  18809. responses:
  18810. "200":
  18811. description: OK
  18812. schema:
  18813. items:
  18814. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18815. type: array
  18816. "500":
  18817. description: Internal Server Error
  18818. schema:
  18819. $ref: '#/definitions/app.Response'
  18820. security:
  18821. - ApiKeyAuth: []
  18822. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18823. tags:
  18824. - 企业风险管理(app)
  18825. /Ermcp/QueryAccMgrTaaccount:
  18826. get:
  18827. parameters:
  18828. - description: 用户ID
  18829. in: query
  18830. name: userid
  18831. required: true
  18832. type: integer
  18833. produces:
  18834. - application/json
  18835. responses:
  18836. "200":
  18837. description: OK
  18838. schema:
  18839. items:
  18840. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18841. type: array
  18842. "500":
  18843. description: Internal Server Error
  18844. schema:
  18845. $ref: '#/definitions/app.Response'
  18846. security:
  18847. - ApiKeyAuth: []
  18848. summary: 查询账户管理期货账号(账户管理/期货账号)
  18849. tags:
  18850. - 企业风险管理(app)
  18851. /Ermcp/QueryAvaildGoodsGroup:
  18852. get:
  18853. parameters:
  18854. - description: 所属机构ID
  18855. in: query
  18856. name: userid
  18857. required: true
  18858. type: integer
  18859. produces:
  18860. - application/json
  18861. responses:
  18862. "200":
  18863. description: OK
  18864. schema:
  18865. items:
  18866. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18867. type: array
  18868. "500":
  18869. description: Internal Server Error
  18870. schema:
  18871. $ref: '#/definitions/app.Response'
  18872. security:
  18873. - ApiKeyAuth: []
  18874. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18875. tags:
  18876. - 企业风险管理(app)
  18877. /Ermcp/QueryBusinessDj:
  18878. get:
  18879. parameters:
  18880. - description: 用户ID
  18881. in: query
  18882. name: UserId
  18883. required: true
  18884. type: integer
  18885. - description: 用户类型 2-机构 7-企业成员
  18886. in: query
  18887. name: usertype
  18888. type: integer
  18889. - description: 现货合同ID, 不填则查所有
  18890. in: query
  18891. name: relatedid
  18892. type: string
  18893. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18894. in: query
  18895. name: applystatus
  18896. type: string
  18897. produces:
  18898. - application/json
  18899. responses:
  18900. "200":
  18901. description: OK
  18902. schema:
  18903. items:
  18904. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18905. type: array
  18906. "500":
  18907. description: Internal Server Error
  18908. schema:
  18909. $ref: '#/definitions/app.Response'
  18910. security:
  18911. - ApiKeyAuth: []
  18912. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18913. tags:
  18914. - 企业风险管理(app)
  18915. /Ermcp/QueryBusinessFp:
  18916. get:
  18917. parameters:
  18918. - description: 用户ID
  18919. in: query
  18920. name: UserId
  18921. required: true
  18922. type: integer
  18923. - description: 用户类型 2-机构 7-企业成员
  18924. in: query
  18925. name: usertype
  18926. type: integer
  18927. - description: 现货合同ID, 不填则查所有
  18928. in: query
  18929. name: relatedid
  18930. type: string
  18931. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18932. in: query
  18933. name: applystatus
  18934. type: string
  18935. produces:
  18936. - application/json
  18937. responses:
  18938. "200":
  18939. description: OK
  18940. schema:
  18941. items:
  18942. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18943. type: array
  18944. "500":
  18945. description: Internal Server Error
  18946. schema:
  18947. $ref: '#/definitions/app.Response'
  18948. security:
  18949. - ApiKeyAuth: []
  18950. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18951. tags:
  18952. - 企业风险管理(app)
  18953. /Ermcp/QueryBusinessJs:
  18954. get:
  18955. parameters:
  18956. - description: 用户ID
  18957. in: query
  18958. name: UserId
  18959. required: true
  18960. type: integer
  18961. - description: 用户类型 2-机构 7-企业成员
  18962. in: query
  18963. name: usertype
  18964. type: integer
  18965. - description: 现货合同ID, 不填则查所有
  18966. in: query
  18967. name: relatedid
  18968. type: string
  18969. - description: 操作申请id
  18970. in: query
  18971. name: operateapplyid
  18972. type: string
  18973. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18974. in: query
  18975. name: applystatus
  18976. type: string
  18977. produces:
  18978. - application/json
  18979. responses:
  18980. "200":
  18981. description: OK
  18982. schema:
  18983. items:
  18984. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18985. type: array
  18986. "500":
  18987. description: Internal Server Error
  18988. schema:
  18989. $ref: '#/definitions/app.Response'
  18990. security:
  18991. - ApiKeyAuth: []
  18992. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18993. tags:
  18994. - 企业风险管理(app)
  18995. /Ermcp/QueryBusinessJsEx:
  18996. get:
  18997. parameters:
  18998. - description: 用户ID
  18999. in: query
  19000. name: UserId
  19001. required: true
  19002. type: integer
  19003. - description: 用户类型 2-机构 7-企业成员
  19004. in: query
  19005. name: usertype
  19006. type: integer
  19007. - description: 现货合同ID, 不填则查所有
  19008. in: query
  19009. name: relatedid
  19010. type: string
  19011. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19012. in: query
  19013. name: applystatus
  19014. type: string
  19015. produces:
  19016. - application/json
  19017. responses:
  19018. "200":
  19019. description: OK
  19020. schema:
  19021. items:
  19022. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19023. type: array
  19024. "500":
  19025. description: Internal Server Error
  19026. schema:
  19027. $ref: '#/definitions/app.Response'
  19028. security:
  19029. - ApiKeyAuth: []
  19030. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19031. tags:
  19032. - 企业风险管理(app)
  19033. /Ermcp/QueryBusinessKx:
  19034. get:
  19035. parameters:
  19036. - description: 用户ID
  19037. in: query
  19038. name: UserId
  19039. required: true
  19040. type: integer
  19041. - description: 用户类型 2-机构 7-企业成员
  19042. in: query
  19043. name: usertype
  19044. type: integer
  19045. - description: 现货合同ID, 不填则查所有
  19046. in: query
  19047. name: relatedid
  19048. type: string
  19049. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19050. in: query
  19051. name: applystatus
  19052. type: string
  19053. produces:
  19054. - application/json
  19055. responses:
  19056. "200":
  19057. description: OK
  19058. schema:
  19059. items:
  19060. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19061. type: array
  19062. "500":
  19063. description: Internal Server Error
  19064. schema:
  19065. $ref: '#/definitions/app.Response'
  19066. security:
  19067. - ApiKeyAuth: []
  19068. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19069. tags:
  19070. - 企业风险管理(app)
  19071. /Ermcp/QueryChangeLog:
  19072. get:
  19073. parameters:
  19074. - description: 合同ID
  19075. in: query
  19076. name: RelatedId
  19077. required: true
  19078. type: string
  19079. produces:
  19080. - application/json
  19081. responses:
  19082. "200":
  19083. description: OK
  19084. schema:
  19085. items:
  19086. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19087. type: array
  19088. "500":
  19089. description: Internal Server Error
  19090. schema:
  19091. $ref: '#/definitions/app.Response'
  19092. security:
  19093. - ApiKeyAuth: []
  19094. summary: 查询变更记录
  19095. tags:
  19096. - 企业风险管理(app)
  19097. /Ermcp/QueryErmcpHisOrderDetails:
  19098. get:
  19099. parameters:
  19100. - description: 资金账户ID
  19101. in: query
  19102. name: accountID
  19103. required: true
  19104. type: integer
  19105. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19106. in: query
  19107. name: startDate
  19108. type: string
  19109. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19110. in: query
  19111. name: endDate
  19112. type: string
  19113. produces:
  19114. - application/json
  19115. responses:
  19116. "200":
  19117. description: OK
  19118. schema:
  19119. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19120. "500":
  19121. description: Internal Server Error
  19122. schema:
  19123. $ref: '#/definitions/app.Response'
  19124. security:
  19125. - ApiKeyAuth: []
  19126. summary: 获取企业风管期货历史委托单信息
  19127. tags:
  19128. - 企业风险管理(app)
  19129. /Ermcp/QueryErmcpHisTradeDetails:
  19130. get:
  19131. parameters:
  19132. - description: 资金账户ID
  19133. in: query
  19134. name: accountID
  19135. required: true
  19136. type: integer
  19137. - description: 商品ID
  19138. in: query
  19139. name: goodsID
  19140. type: integer
  19141. - description: 买卖方向,0:买 1:卖
  19142. in: query
  19143. name: buyOrSell
  19144. type: integer
  19145. - description: 关联委托单号
  19146. in: query
  19147. name: orderID
  19148. type: integer
  19149. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19150. in: query
  19151. name: startDate
  19152. type: string
  19153. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19154. in: query
  19155. name: endDate
  19156. type: string
  19157. produces:
  19158. - application/json
  19159. responses:
  19160. "200":
  19161. description: OK
  19162. schema:
  19163. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19164. "500":
  19165. description: Internal Server Error
  19166. schema:
  19167. $ref: '#/definitions/app.Response'
  19168. security:
  19169. - ApiKeyAuth: []
  19170. summary: 获取企业风管期货历史成交单信息
  19171. tags:
  19172. - 企业风险管理(app)
  19173. /Ermcp/QueryErmcpInnerHolderDetails:
  19174. get:
  19175. parameters:
  19176. - description: 资金账户ID
  19177. in: query
  19178. name: accountID
  19179. required: true
  19180. type: integer
  19181. - description: 商品ID
  19182. in: query
  19183. name: goodsID
  19184. type: integer
  19185. - description: 买卖方向,0:买 1:卖
  19186. in: query
  19187. name: buyOrSell
  19188. type: integer
  19189. produces:
  19190. - application/json
  19191. responses:
  19192. "200":
  19193. description: OK
  19194. schema:
  19195. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19196. "500":
  19197. description: Internal Server Error
  19198. schema:
  19199. $ref: '#/definitions/app.Response'
  19200. security:
  19201. - ApiKeyAuth: []
  19202. summary: 获取企业风管期货内部持仓单信息
  19203. tags:
  19204. - 企业风险管理(app)
  19205. /Ermcp/QueryErmcpOrderDetails:
  19206. get:
  19207. parameters:
  19208. - description: 资金账户ID
  19209. in: query
  19210. name: accountID
  19211. required: true
  19212. type: integer
  19213. produces:
  19214. - application/json
  19215. responses:
  19216. "200":
  19217. description: OK
  19218. schema:
  19219. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19220. "500":
  19221. description: Internal Server Error
  19222. schema:
  19223. $ref: '#/definitions/app.Response'
  19224. security:
  19225. - ApiKeyAuth: []
  19226. summary: 获取企业风管期货委托单信息
  19227. tags:
  19228. - 企业风险管理(app)
  19229. /Ermcp/QueryErmcpTradeDetails:
  19230. get:
  19231. parameters:
  19232. - description: 资金账户ID
  19233. in: query
  19234. name: accountID
  19235. required: true
  19236. type: integer
  19237. - description: 商品ID
  19238. in: query
  19239. name: goodsID
  19240. type: integer
  19241. - description: 买卖方向,0:买 1:卖
  19242. in: query
  19243. name: buyOrSell
  19244. type: integer
  19245. - description: 关联委托单号
  19246. in: query
  19247. name: orderID
  19248. type: integer
  19249. produces:
  19250. - application/json
  19251. responses:
  19252. "200":
  19253. description: OK
  19254. schema:
  19255. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19256. "500":
  19257. description: Internal Server Error
  19258. schema:
  19259. $ref: '#/definitions/app.Response'
  19260. security:
  19261. - ApiKeyAuth: []
  19262. summary: 获取企业风管期货成交单信息
  19263. tags:
  19264. - 企业风险管理(app)
  19265. /Ermcp/QueryErmcpTradePosition:
  19266. get:
  19267. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  19268. parameters:
  19269. - description: 资金账户ID
  19270. in: query
  19271. name: accountID
  19272. required: true
  19273. type: integer
  19274. - description: 所属市场ID
  19275. in: query
  19276. name: marketID
  19277. type: integer
  19278. produces:
  19279. - application/json
  19280. responses:
  19281. "200":
  19282. description: OK
  19283. schema:
  19284. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  19285. "500":
  19286. description: Internal Server Error
  19287. schema:
  19288. $ref: '#/definitions/app.Response'
  19289. security:
  19290. - ApiKeyAuth: []
  19291. summary: 获取企业风管期货持仓头寸信息
  19292. tags:
  19293. - 企业风险管理(app)
  19294. /Ermcp/QueryExposureDetail:
  19295. get:
  19296. parameters:
  19297. - description: 所属机构ID
  19298. in: query
  19299. name: areaUserId
  19300. required: true
  19301. type: integer
  19302. - description: 套保商品
  19303. in: query
  19304. name: middleGoodsId
  19305. required: true
  19306. type: integer
  19307. produces:
  19308. - application/json
  19309. responses:
  19310. "200":
  19311. description: OK
  19312. schema:
  19313. items:
  19314. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  19315. type: array
  19316. "500":
  19317. description: Internal Server Error
  19318. schema:
  19319. $ref: '#/definitions/app.Response'
  19320. security:
  19321. - ApiKeyAuth: []
  19322. summary: 查询敞口现货明细
  19323. tags:
  19324. - 企业风险管理(app)
  19325. /Ermcp/QueryExposureGoods:
  19326. get:
  19327. parameters:
  19328. - description: 套保商品id
  19329. in: query
  19330. name: middlegoodsid
  19331. required: true
  19332. type: integer
  19333. produces:
  19334. - application/json
  19335. responses:
  19336. "200":
  19337. description: OK
  19338. schema:
  19339. items:
  19340. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  19341. type: array
  19342. "500":
  19343. description: Internal Server Error
  19344. schema:
  19345. $ref: '#/definitions/app.Response'
  19346. security:
  19347. - ApiKeyAuth: []
  19348. summary: 查询敞口主力合约
  19349. tags:
  19350. - 企业风险管理(app)
  19351. /Ermcp/QueryExposureHedgePosition:
  19352. get:
  19353. parameters:
  19354. - description: 用户id
  19355. in: query
  19356. name: userid
  19357. required: true
  19358. type: integer
  19359. produces:
  19360. - application/json
  19361. responses:
  19362. "200":
  19363. description: OK
  19364. schema:
  19365. items:
  19366. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  19367. type: array
  19368. "500":
  19369. description: Internal Server Error
  19370. schema:
  19371. $ref: '#/definitions/app.Response'
  19372. security:
  19373. - ApiKeyAuth: []
  19374. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  19375. tags:
  19376. - 企业风险管理(app)
  19377. /Ermcp/QueryExposureHedgePositionDetail:
  19378. get:
  19379. parameters:
  19380. - description: 所属机构ID
  19381. in: query
  19382. name: userid
  19383. required: true
  19384. type: integer
  19385. - description: 商品id
  19386. in: query
  19387. name: goodsId
  19388. required: true
  19389. type: integer
  19390. produces:
  19391. - application/json
  19392. responses:
  19393. "200":
  19394. description: OK
  19395. schema:
  19396. items:
  19397. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  19398. type: array
  19399. "500":
  19400. description: Internal Server Error
  19401. schema:
  19402. $ref: '#/definitions/app.Response'
  19403. security:
  19404. - ApiKeyAuth: []
  19405. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  19406. tags:
  19407. - 企业风险管理(app)
  19408. /Ermcp/QueryExposureSpot:
  19409. get:
  19410. parameters:
  19411. - description: 所属机构ID
  19412. in: query
  19413. name: areaUserId
  19414. required: true
  19415. type: integer
  19416. produces:
  19417. - application/json
  19418. responses:
  19419. "200":
  19420. description: OK
  19421. schema:
  19422. items:
  19423. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  19424. type: array
  19425. "500":
  19426. description: Internal Server Error
  19427. schema:
  19428. $ref: '#/definitions/app.Response'
  19429. security:
  19430. - ApiKeyAuth: []
  19431. summary: 查询敞口现货头寸(敞口/现货头寸)
  19432. tags:
  19433. - 企业风险管理(app)
  19434. /Ermcp/QueryExposureSpotDetail:
  19435. get:
  19436. parameters:
  19437. - description: 所属机构ID
  19438. in: query
  19439. name: areaUserId
  19440. required: true
  19441. type: integer
  19442. - description: 现货品种ID
  19443. in: query
  19444. name: wrstandardId
  19445. required: true
  19446. type: integer
  19447. produces:
  19448. - application/json
  19449. responses:
  19450. "200":
  19451. description: OK
  19452. schema:
  19453. items:
  19454. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19455. type: array
  19456. "500":
  19457. description: Internal Server Error
  19458. schema:
  19459. $ref: '#/definitions/app.Response'
  19460. security:
  19461. - ApiKeyAuth: []
  19462. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19463. tags:
  19464. - 企业风险管理(app)
  19465. /Ermcp/QueryFuturesCompany:
  19466. get:
  19467. produces:
  19468. - application/json
  19469. responses:
  19470. "200":
  19471. description: OK
  19472. schema:
  19473. items:
  19474. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19475. type: array
  19476. "500":
  19477. description: Internal Server Error
  19478. schema:
  19479. $ref: '#/definitions/app.Response'
  19480. security:
  19481. - ApiKeyAuth: []
  19482. summary: 查询期货公司
  19483. tags:
  19484. - 企业风险管理(app)
  19485. /Ermcp/QueryGGConvertConfig:
  19486. get:
  19487. parameters:
  19488. - description: 品种id(不填则查所有)
  19489. in: query
  19490. name: goodsgroupid
  19491. type: integer
  19492. produces:
  19493. - application/json
  19494. responses:
  19495. "200":
  19496. description: OK
  19497. schema:
  19498. items:
  19499. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19500. type: array
  19501. "500":
  19502. description: Internal Server Error
  19503. schema:
  19504. $ref: '#/definitions/app.Response'
  19505. security:
  19506. - ApiKeyAuth: []
  19507. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19508. tags:
  19509. - 企业风险管理(app)
  19510. /Ermcp/QueryGoodsBrand:
  19511. get:
  19512. parameters:
  19513. - description: 用户ID
  19514. in: query
  19515. name: userid
  19516. required: true
  19517. type: integer
  19518. - description: 现货商品ID
  19519. in: query
  19520. name: wrstandardid
  19521. type: integer
  19522. produces:
  19523. - application/json
  19524. responses:
  19525. "200":
  19526. description: OK
  19527. schema:
  19528. items:
  19529. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19530. type: array
  19531. "500":
  19532. description: Internal Server Error
  19533. schema:
  19534. $ref: '#/definitions/app.Response'
  19535. security:
  19536. - ApiKeyAuth: []
  19537. summary: 查询商品品牌
  19538. tags:
  19539. - 企业风险管理(app)
  19540. /Ermcp/QueryGoodsModel:
  19541. get:
  19542. parameters:
  19543. - description: 用户ID
  19544. in: query
  19545. name: userid
  19546. required: true
  19547. type: integer
  19548. produces:
  19549. - application/json
  19550. responses:
  19551. "200":
  19552. description: OK
  19553. schema:
  19554. items:
  19555. $ref: '#/definitions/models.ErmcpGoodsModel'
  19556. type: array
  19557. "500":
  19558. description: Internal Server Error
  19559. schema:
  19560. $ref: '#/definitions/app.Response'
  19561. security:
  19562. - ApiKeyAuth: []
  19563. summary: 查询商品型号
  19564. tags:
  19565. - 企业风险管理(app)
  19566. /Ermcp/QueryHisExposure:
  19567. get:
  19568. parameters:
  19569. - description: 用户id
  19570. in: query
  19571. name: userid
  19572. required: true
  19573. type: integer
  19574. - description: 每个品种记录数
  19575. in: query
  19576. name: lastNum
  19577. required: true
  19578. type: integer
  19579. produces:
  19580. - application/json
  19581. responses:
  19582. "200":
  19583. description: OK
  19584. schema:
  19585. items:
  19586. $ref: '#/definitions/ermcp.HisExposureRsp'
  19587. type: array
  19588. "500":
  19589. description: Internal Server Error
  19590. schema:
  19591. $ref: '#/definitions/app.Response'
  19592. security:
  19593. - ApiKeyAuth: []
  19594. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19595. tags:
  19596. - 企业风险管理(app)
  19597. /Ermcp/QueryMiddleGoods:
  19598. get:
  19599. parameters:
  19600. - description: 所属机构ID
  19601. in: query
  19602. name: userid
  19603. required: true
  19604. type: integer
  19605. - description: 状态 0-停用 1-正常
  19606. in: query
  19607. name: status
  19608. required: true
  19609. type: integer
  19610. produces:
  19611. - application/json
  19612. responses:
  19613. "200":
  19614. description: OK
  19615. schema:
  19616. items:
  19617. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19618. type: array
  19619. "500":
  19620. description: Internal Server Error
  19621. schema:
  19622. $ref: '#/definitions/app.Response'
  19623. security:
  19624. - ApiKeyAuth: []
  19625. summary: 查询套保品种(菜单:套保品种)
  19626. tags:
  19627. - 企业风险管理(app)
  19628. /Ermcp/QueryMiddleGoodsChangeLog:
  19629. get:
  19630. parameters:
  19631. - description: 所属机构ID
  19632. in: query
  19633. name: userid
  19634. required: true
  19635. type: integer
  19636. - description: 套保品种id
  19637. in: query
  19638. name: middlegoodsid
  19639. required: true
  19640. type: integer
  19641. produces:
  19642. - application/json
  19643. responses:
  19644. "200":
  19645. description: OK
  19646. schema:
  19647. items:
  19648. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19649. type: array
  19650. "500":
  19651. description: Internal Server Error
  19652. schema:
  19653. $ref: '#/definitions/app.Response'
  19654. security:
  19655. - ApiKeyAuth: []
  19656. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19657. tags:
  19658. - 企业风险管理(app)
  19659. /Ermcp/QueryMiddleGoodsDetail:
  19660. get:
  19661. parameters:
  19662. - description: 所属机构ID
  19663. in: query
  19664. name: userid
  19665. required: true
  19666. type: integer
  19667. - description: 套保品种id
  19668. in: query
  19669. name: middlegoodsid
  19670. type: integer
  19671. produces:
  19672. - application/json
  19673. responses:
  19674. "200":
  19675. description: OK
  19676. schema:
  19677. items:
  19678. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19679. type: array
  19680. "500":
  19681. description: Internal Server Error
  19682. schema:
  19683. $ref: '#/definitions/app.Response'
  19684. security:
  19685. - ApiKeyAuth: []
  19686. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19687. tags:
  19688. - 企业风险管理(app)
  19689. /Ermcp/QueryPendingAuditInfo:
  19690. get:
  19691. parameters:
  19692. - description: 用户ID
  19693. in: query
  19694. name: UserId
  19695. required: true
  19696. type: integer
  19697. produces:
  19698. - application/json
  19699. responses:
  19700. "200":
  19701. description: OK
  19702. schema:
  19703. items:
  19704. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19705. type: array
  19706. "500":
  19707. description: Internal Server Error
  19708. schema:
  19709. $ref: '#/definitions/app.Response'
  19710. security:
  19711. - ApiKeyAuth: []
  19712. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19713. tags:
  19714. - 企业风险管理(app)
  19715. /Ermcp/QueryRealtimeExposure:
  19716. get:
  19717. parameters:
  19718. - description: 所属机构ID
  19719. in: query
  19720. name: userid
  19721. required: true
  19722. type: integer
  19723. produces:
  19724. - application/json
  19725. responses:
  19726. "200":
  19727. description: OK
  19728. schema:
  19729. items:
  19730. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19731. type: array
  19732. "500":
  19733. description: Internal Server Error
  19734. schema:
  19735. $ref: '#/definitions/app.Response'
  19736. security:
  19737. - ApiKeyAuth: []
  19738. summary: 查询实时敞口
  19739. tags:
  19740. - 企业风险管理(app)
  19741. /Ermcp/QueryRealtimeExposurePosition:
  19742. get:
  19743. parameters:
  19744. - description: 用户id
  19745. in: query
  19746. name: userid
  19747. required: true
  19748. type: integer
  19749. - description: 套保商品ID
  19750. in: query
  19751. name: middleGoodsId
  19752. required: true
  19753. type: integer
  19754. produces:
  19755. - application/json
  19756. responses:
  19757. "200":
  19758. description: OK
  19759. schema:
  19760. items:
  19761. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19762. type: array
  19763. "500":
  19764. description: Internal Server Error
  19765. schema:
  19766. $ref: '#/definitions/app.Response'
  19767. security:
  19768. - ApiKeyAuth: []
  19769. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19770. tags:
  19771. - 企业风险管理(app)
  19772. /Ermcp/QueryRoleMenu:
  19773. get:
  19774. parameters:
  19775. - description: 登录ID
  19776. in: query
  19777. name: loginid
  19778. required: true
  19779. type: integer
  19780. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19781. in: query
  19782. name: menutype
  19783. type: integer
  19784. produces:
  19785. - application/json
  19786. responses:
  19787. "200":
  19788. description: OK
  19789. schema:
  19790. items:
  19791. $ref: '#/definitions/models.RoleMenu'
  19792. type: array
  19793. "500":
  19794. description: Internal Server Error
  19795. schema:
  19796. $ref: '#/definitions/app.Response'
  19797. security:
  19798. - ApiKeyAuth: []
  19799. summary: 查询角色菜单和权限
  19800. tags:
  19801. - 企业风险管理(app)
  19802. /Ermcp/QueryTradeConfigTMP:
  19803. get:
  19804. parameters:
  19805. - description: 所属机构id
  19806. in: query
  19807. name: areauserid
  19808. type: integer
  19809. produces:
  19810. - application/json
  19811. responses:
  19812. "200":
  19813. description: OK
  19814. schema:
  19815. items:
  19816. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19817. type: array
  19818. "500":
  19819. description: Internal Server Error
  19820. schema:
  19821. $ref: '#/definitions/app.Response'
  19822. security:
  19823. - ApiKeyAuth: []
  19824. summary: 查询交易模板配置
  19825. tags:
  19826. - 企业风险管理(app)
  19827. /Ermcp/QueryUserInfo:
  19828. get:
  19829. parameters:
  19830. - description: 所属机构用户ID
  19831. in: query
  19832. name: MemberUserID
  19833. required: true
  19834. type: integer
  19835. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19836. in: query
  19837. name: queryType
  19838. required: true
  19839. type: integer
  19840. produces:
  19841. - application/json
  19842. responses:
  19843. "200":
  19844. description: OK
  19845. schema:
  19846. items:
  19847. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19848. type: array
  19849. "500":
  19850. description: Internal Server Error
  19851. schema:
  19852. $ref: '#/definitions/app.Response'
  19853. security:
  19854. - ApiKeyAuth: []
  19855. summary: 查询客户资料
  19856. tags:
  19857. - 企业风险管理(app)
  19858. /Ermcp/QueryWarehouseInfo:
  19859. get:
  19860. parameters:
  19861. - description: 用户ID
  19862. in: query
  19863. name: userid
  19864. required: true
  19865. type: integer
  19866. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19867. in: query
  19868. name: status
  19869. type: string
  19870. produces:
  19871. - application/json
  19872. responses:
  19873. "200":
  19874. description: OK
  19875. schema:
  19876. items:
  19877. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19878. type: array
  19879. "500":
  19880. description: Internal Server Error
  19881. schema:
  19882. $ref: '#/definitions/app.Response'
  19883. security:
  19884. - ApiKeyAuth: []
  19885. summary: 查询仓库信息
  19886. tags:
  19887. - 企业风险管理(app)
  19888. /Ermcp3/QryAreaExpourseContractDetail:
  19889. get:
  19890. parameters:
  19891. - description: 用户ID
  19892. in: query
  19893. name: userid
  19894. required: true
  19895. type: integer
  19896. - description: 套保商品id
  19897. in: query
  19898. name: middlegoodsid
  19899. required: true
  19900. type: integer
  19901. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19902. in: query
  19903. name: cycletype
  19904. required: true
  19905. type: integer
  19906. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  19907. in: query
  19908. name: cycletime
  19909. required: true
  19910. type: string
  19911. produces:
  19912. - application/json
  19913. responses:
  19914. "200":
  19915. description: OK
  19916. schema:
  19917. items:
  19918. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19919. type: array
  19920. "500":
  19921. description: Internal Server Error
  19922. schema:
  19923. $ref: '#/definitions/app.Response'
  19924. security:
  19925. - ApiKeyAuth: []
  19926. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19927. tags:
  19928. - 企业风险管理v3(app)
  19929. /Ermcp3/QryAreaExpourseFutuDetail:
  19930. get:
  19931. parameters:
  19932. - description: 用户ID
  19933. in: query
  19934. name: userid
  19935. required: true
  19936. type: integer
  19937. - description: 套保商品id
  19938. in: query
  19939. name: middlegoodsid
  19940. required: true
  19941. type: integer
  19942. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19943. in: query
  19944. name: cycletype
  19945. required: true
  19946. type: integer
  19947. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  19948. in: query
  19949. name: cycletime
  19950. required: true
  19951. type: string
  19952. produces:
  19953. - application/json
  19954. responses:
  19955. "200":
  19956. description: OK
  19957. schema:
  19958. items:
  19959. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19960. type: array
  19961. "500":
  19962. description: Internal Server Error
  19963. schema:
  19964. $ref: '#/definitions/app.Response'
  19965. security:
  19966. - ApiKeyAuth: []
  19967. summary: 查询敞口期货明细(敞口报表/期货明细)
  19968. tags:
  19969. - 企业风险管理v3(app)
  19970. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19971. get:
  19972. parameters:
  19973. - description: 用户ID
  19974. in: query
  19975. name: userid
  19976. required: true
  19977. type: integer
  19978. - description: 套保商品id
  19979. in: query
  19980. name: middlegoodsid
  19981. required: true
  19982. type: integer
  19983. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19984. in: query
  19985. name: cycletype
  19986. required: true
  19987. type: integer
  19988. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  19989. in: query
  19990. name: cycletime
  19991. required: true
  19992. type: string
  19993. produces:
  19994. - application/json
  19995. responses:
  19996. "200":
  19997. description: OK
  19998. schema:
  19999. items:
  20000. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20001. type: array
  20002. "500":
  20003. description: Internal Server Error
  20004. schema:
  20005. $ref: '#/definitions/app.Response'
  20006. security:
  20007. - ApiKeyAuth: []
  20008. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20009. tags:
  20010. - 企业风险管理v3(app)
  20011. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20012. get:
  20013. parameters:
  20014. - description: 用户ID
  20015. in: query
  20016. name: userid
  20017. required: true
  20018. type: integer
  20019. - description: 套保商品id
  20020. in: query
  20021. name: middlegoodsid
  20022. required: true
  20023. type: integer
  20024. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20025. in: query
  20026. name: cycletype
  20027. required: true
  20028. type: integer
  20029. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20030. in: query
  20031. name: cycletime
  20032. required: true
  20033. type: string
  20034. produces:
  20035. - application/json
  20036. responses:
  20037. "200":
  20038. description: OK
  20039. schema:
  20040. items:
  20041. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20042. type: array
  20043. "500":
  20044. description: Internal Server Error
  20045. schema:
  20046. $ref: '#/definitions/app.Response'
  20047. security:
  20048. - ApiKeyAuth: []
  20049. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20050. tags:
  20051. - 企业风险管理v3(app)
  20052. /Ermcp3/QryAreaExpourseReport:
  20053. get:
  20054. parameters:
  20055. - description: 用户ID
  20056. in: query
  20057. name: userid
  20058. required: true
  20059. type: integer
  20060. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20061. in: query
  20062. name: querytype
  20063. required: true
  20064. type: integer
  20065. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20066. in: query
  20067. name: cycletype
  20068. required: true
  20069. type: integer
  20070. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20071. in: query
  20072. name: cycletime
  20073. required: true
  20074. type: string
  20075. produces:
  20076. - application/json
  20077. responses:
  20078. "200":
  20079. description: OK
  20080. schema:
  20081. items:
  20082. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20083. type: array
  20084. "500":
  20085. description: Internal Server Error
  20086. schema:
  20087. $ref: '#/definitions/app.Response'
  20088. security:
  20089. - ApiKeyAuth: []
  20090. summary: 查询敞口报表
  20091. tags:
  20092. - 企业风险管理v3(app)
  20093. /Ermcp3/QryAreaSpotplReport:
  20094. get:
  20095. parameters:
  20096. - description: 用户ID
  20097. in: query
  20098. name: userid
  20099. required: true
  20100. type: integer
  20101. - description: 查询类型 1-报表 2-报表明细
  20102. in: query
  20103. name: querytype
  20104. required: true
  20105. type: integer
  20106. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20107. in: query
  20108. name: cycletype
  20109. required: true
  20110. type: integer
  20111. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20112. in: query
  20113. name: cycletime
  20114. required: true
  20115. type: string
  20116. - description: 现货品种id(明细必填)
  20117. in: query
  20118. name: deliverygoodsid
  20119. type: integer
  20120. - description: 币种id(明细必填)
  20121. in: query
  20122. name: currencyid
  20123. type: integer
  20124. produces:
  20125. - application/json
  20126. responses:
  20127. "200":
  20128. description: OK
  20129. schema:
  20130. items:
  20131. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20132. type: array
  20133. "500":
  20134. description: Internal Server Error
  20135. schema:
  20136. $ref: '#/definitions/app.Response'
  20137. security:
  20138. - ApiKeyAuth: []
  20139. summary: 查询现货报表
  20140. tags:
  20141. - 企业风险管理v3(app)
  20142. /Ermcp3/QryAreaStockReport:
  20143. get:
  20144. parameters:
  20145. - description: 用户ID
  20146. in: query
  20147. name: userid
  20148. required: true
  20149. type: integer
  20150. - description: 查询类型 1-报表 2-报表明细
  20151. in: query
  20152. name: querytype
  20153. required: true
  20154. type: integer
  20155. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20156. in: query
  20157. name: cycletype
  20158. required: true
  20159. type: integer
  20160. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20161. in: query
  20162. name: cycletime
  20163. required: true
  20164. type: string
  20165. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20166. in: query
  20167. name: sumfields
  20168. type: string
  20169. - description: 品种ID
  20170. in: query
  20171. name: deliverygoodsid
  20172. type: integer
  20173. - description: 品类ID
  20174. in: query
  20175. name: wrstandardid
  20176. type: integer
  20177. - description: 品牌ID
  20178. in: query
  20179. name: spotgoodsbrandid
  20180. type: integer
  20181. - description: 仓库ID
  20182. in: query
  20183. name: warehouseinfoid
  20184. type: integer
  20185. produces:
  20186. - application/json
  20187. responses:
  20188. "200":
  20189. description: OK
  20190. schema:
  20191. items:
  20192. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20193. type: array
  20194. "500":
  20195. description: Internal Server Error
  20196. schema:
  20197. $ref: '#/definitions/app.Response'
  20198. security:
  20199. - ApiKeyAuth: []
  20200. summary: 查询库存报表
  20201. tags:
  20202. - 企业风险管理v3(app)
  20203. /Ermcp3/QryAreaSumPL:
  20204. get:
  20205. parameters:
  20206. - description: 用户ID
  20207. in: query
  20208. name: userid
  20209. required: true
  20210. type: integer
  20211. - description: 查询类型 1-报表 2-报表明细
  20212. in: query
  20213. name: querytype
  20214. required: true
  20215. type: integer
  20216. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20217. in: query
  20218. name: cycletype
  20219. required: true
  20220. type: integer
  20221. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20222. in: query
  20223. name: cycletime
  20224. required: true
  20225. type: string
  20226. - description: 币种id(明细必填)
  20227. in: query
  20228. name: currencyid
  20229. type: integer
  20230. produces:
  20231. - application/json
  20232. responses:
  20233. "200":
  20234. description: OK
  20235. schema:
  20236. items:
  20237. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  20238. type: array
  20239. "500":
  20240. description: Internal Server Error
  20241. schema:
  20242. $ref: '#/definitions/app.Response'
  20243. security:
  20244. - ApiKeyAuth: []
  20245. summary: 查询汇总损益表
  20246. tags:
  20247. - 企业风险管理v3(app)
  20248. /Ermcp3/QryFinanceReport:
  20249. get:
  20250. parameters:
  20251. - description: 用户ID
  20252. in: query
  20253. name: userid
  20254. required: true
  20255. type: integer
  20256. - description: 查询类型 1-报表 2-报表明细
  20257. in: query
  20258. name: querytype
  20259. required: true
  20260. type: integer
  20261. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20262. in: query
  20263. name: cycletype
  20264. required: true
  20265. type: integer
  20266. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20267. in: query
  20268. name: cycletime
  20269. required: true
  20270. type: string
  20271. - description: 币种id(报表明细必填)
  20272. in: query
  20273. name: currencyid
  20274. type: integer
  20275. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  20276. in: query
  20277. name: sumfields
  20278. type: string
  20279. produces:
  20280. - application/json
  20281. responses:
  20282. "200":
  20283. description: OK
  20284. schema:
  20285. items:
  20286. $ref: '#/definitions/models.Ermcp3FinanceReport'
  20287. type: array
  20288. "500":
  20289. description: Internal Server Error
  20290. schema:
  20291. $ref: '#/definitions/app.Response'
  20292. security:
  20293. - ApiKeyAuth: []
  20294. summary: 查询财务报表
  20295. tags:
  20296. - 企业风险管理v3(app)
  20297. /Ermcp3/QryTaFutureDataReport:
  20298. get:
  20299. parameters:
  20300. - description: 用户ID
  20301. in: query
  20302. name: userid
  20303. required: true
  20304. type: integer
  20305. - description: 查询类型 1-报表 2-报表明细
  20306. in: query
  20307. name: querytype
  20308. required: true
  20309. type: integer
  20310. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20311. in: query
  20312. name: cycletype
  20313. required: true
  20314. type: integer
  20315. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20316. in: query
  20317. name: cycletime
  20318. required: true
  20319. type: string
  20320. - description: 币种id(查明细必填)
  20321. in: query
  20322. name: currencyid
  20323. type: integer
  20324. - description: 品种id(查明细必填)
  20325. in: query
  20326. name: goodsgroupid
  20327. type: integer
  20328. - description: 商品id(查明细必填)
  20329. in: query
  20330. name: goodsid
  20331. type: integer
  20332. - description: 买卖方向(查明细必填)
  20333. in: query
  20334. name: buyorsell
  20335. type: integer
  20336. produces:
  20337. - application/json
  20338. responses:
  20339. "200":
  20340. description: OK
  20341. schema:
  20342. items:
  20343. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  20344. type: array
  20345. "500":
  20346. description: Internal Server Error
  20347. schema:
  20348. $ref: '#/definitions/app.Response'
  20349. security:
  20350. - ApiKeyAuth: []
  20351. summary: 查询期货报表
  20352. tags:
  20353. - 企业风险管理v3(app)
  20354. /Ermcp3/QueryAreaStock:
  20355. get:
  20356. parameters:
  20357. - description: 用户ID
  20358. in: query
  20359. name: userid
  20360. required: true
  20361. type: integer
  20362. produces:
  20363. - application/json
  20364. responses:
  20365. "200":
  20366. description: OK
  20367. schema:
  20368. items:
  20369. $ref: '#/definitions/models.Ermcp3AreaStock'
  20370. type: array
  20371. "500":
  20372. description: Internal Server Error
  20373. schema:
  20374. $ref: '#/definitions/app.Response'
  20375. security:
  20376. - ApiKeyAuth: []
  20377. summary: 查询机构库存(库存管理/当前库存)
  20378. tags:
  20379. - 企业风险管理v3(app)
  20380. /Ermcp3/QueryAreaStockApply:
  20381. get:
  20382. parameters:
  20383. - description: 用户ID
  20384. in: query
  20385. name: userid
  20386. required: true
  20387. type: integer
  20388. - description: 用户类型 2-机构 7-企业成员
  20389. in: query
  20390. name: usertype
  20391. type: integer
  20392. - description: 现货商品ID
  20393. in: query
  20394. name: deliverygoodsid
  20395. type: integer
  20396. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  20397. in: query
  20398. name: inouttype
  20399. type: string
  20400. - description: 合同ID
  20401. in: query
  20402. name: spotcontractid
  20403. type: integer
  20404. - description: 品类ID
  20405. in: query
  20406. name: wrstandardid
  20407. type: integer
  20408. - description: 品牌ID
  20409. in: query
  20410. name: spotgoodsbrandid
  20411. type: integer
  20412. - description: 仓库ID
  20413. in: query
  20414. name: warehouseinfoid
  20415. type: integer
  20416. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20417. in: query
  20418. name: applystatus
  20419. type: string
  20420. produces:
  20421. - application/json
  20422. responses:
  20423. "200":
  20424. description: OK
  20425. schema:
  20426. items:
  20427. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  20428. type: array
  20429. "500":
  20430. description: Internal Server Error
  20431. schema:
  20432. $ref: '#/definitions/app.Response'
  20433. security:
  20434. - ApiKeyAuth: []
  20435. summary: 查询库存申请(出入库记录|库存审核)
  20436. tags:
  20437. - 企业风险管理v3(app)
  20438. /Ermcp3/QueryAreaStockApplySum:
  20439. get:
  20440. parameters:
  20441. - description: 合同ID
  20442. in: query
  20443. name: spotcontractid
  20444. required: true
  20445. type: integer
  20446. produces:
  20447. - application/json
  20448. responses:
  20449. "200":
  20450. description: OK
  20451. schema:
  20452. items:
  20453. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20454. type: array
  20455. "500":
  20456. description: Internal Server Error
  20457. schema:
  20458. $ref: '#/definitions/app.Response'
  20459. security:
  20460. - ApiKeyAuth: []
  20461. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20462. tags:
  20463. - 企业风险管理v3(app)
  20464. /Ermcp3/QueryDGFactoryItem:
  20465. get:
  20466. parameters:
  20467. - description: 用户id
  20468. in: query
  20469. name: userid
  20470. type: integer
  20471. - description: 用户类型 2-机构 7-企业成员
  20472. in: query
  20473. name: usertype
  20474. type: integer
  20475. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20476. in: query
  20477. name: dgfactoryitemid
  20478. type: integer
  20479. - description: 现货品种ID
  20480. in: query
  20481. name: deliverygoodsid
  20482. type: integer
  20483. - description: 要素项类型
  20484. in: query
  20485. name: dgfactoryitemtypeid
  20486. type: integer
  20487. - description: 顺序
  20488. in: query
  20489. name: orderindex
  20490. type: integer
  20491. produces:
  20492. - application/json
  20493. responses:
  20494. "200":
  20495. description: OK
  20496. schema:
  20497. items:
  20498. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20499. type: array
  20500. "500":
  20501. description: Internal Server Error
  20502. schema:
  20503. $ref: '#/definitions/app.Response'
  20504. security:
  20505. - ApiKeyAuth: []
  20506. summary: 查询品种要素定义项
  20507. tags:
  20508. - 企业风险管理v3(app)
  20509. /Ermcp3/QueryDeliveryGoods:
  20510. get:
  20511. parameters:
  20512. - description: 用户id
  20513. in: query
  20514. name: userid
  20515. required: true
  20516. type: integer
  20517. - description: 用户类型 2-机构 7-企业成员
  20518. in: query
  20519. name: usertype
  20520. type: integer
  20521. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20522. in: query
  20523. name: excludecfg
  20524. type: integer
  20525. produces:
  20526. - application/json
  20527. responses:
  20528. "200":
  20529. description: OK
  20530. schema:
  20531. items:
  20532. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20533. type: array
  20534. "500":
  20535. description: Internal Server Error
  20536. schema:
  20537. $ref: '#/definitions/app.Response'
  20538. security:
  20539. - ApiKeyAuth: []
  20540. summary: 查询现货商品
  20541. tags:
  20542. - 企业风险管理v3(app)
  20543. /Ermcp3/QueryDeliveryGoodsDetail:
  20544. get:
  20545. parameters:
  20546. - description: 用户id
  20547. in: query
  20548. name: userid
  20549. required: true
  20550. type: integer
  20551. - description: 用户类型 2-机构 7-企业成员
  20552. in: query
  20553. name: usertype
  20554. type: integer
  20555. - description: 现货商品id
  20556. in: query
  20557. name: deliverygoodsid
  20558. type: integer
  20559. produces:
  20560. - application/json
  20561. responses:
  20562. "200":
  20563. description: OK
  20564. schema:
  20565. items:
  20566. $ref: '#/definitions/models.XHDeliveryGoods'
  20567. type: array
  20568. "500":
  20569. description: Internal Server Error
  20570. schema:
  20571. $ref: '#/definitions/app.Response'
  20572. security:
  20573. - ApiKeyAuth: []
  20574. summary: 查询现货商品详情
  20575. tags:
  20576. - 企业风险管理v3(app)
  20577. /Ermcp3/QueryExposureDetail:
  20578. get:
  20579. parameters:
  20580. - description: 用户id
  20581. in: query
  20582. name: userid
  20583. required: true
  20584. type: integer
  20585. - description: 用户类型 2-机构 7-企业成员
  20586. in: query
  20587. name: usertype
  20588. type: integer
  20589. - description: 套保商品
  20590. in: query
  20591. name: middlegoodsid
  20592. required: true
  20593. type: integer
  20594. produces:
  20595. - application/json
  20596. responses:
  20597. "200":
  20598. description: OK
  20599. schema:
  20600. items:
  20601. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20602. type: array
  20603. "500":
  20604. description: Internal Server Error
  20605. schema:
  20606. $ref: '#/definitions/app.Response'
  20607. security:
  20608. - ApiKeyAuth: []
  20609. summary: 查询敞口现货明细
  20610. tags:
  20611. - 企业风险管理v3(app)
  20612. /Ermcp3/QueryExposureSpot:
  20613. get:
  20614. parameters:
  20615. - description: 用户id
  20616. in: query
  20617. name: userid
  20618. required: true
  20619. type: integer
  20620. - description: 用户类型 2-机构 7-企业成员
  20621. in: query
  20622. name: usertype
  20623. type: integer
  20624. produces:
  20625. - application/json
  20626. responses:
  20627. "200":
  20628. description: OK
  20629. schema:
  20630. items:
  20631. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20632. type: array
  20633. "500":
  20634. description: Internal Server Error
  20635. schema:
  20636. $ref: '#/definitions/app.Response'
  20637. security:
  20638. - ApiKeyAuth: []
  20639. summary: 查询敞口现货头寸(敞口/现货头寸)
  20640. tags:
  20641. - 企业风险管理v3(app)
  20642. /Ermcp3/QueryExposureSpotDetail:
  20643. get:
  20644. parameters:
  20645. - description: 用户id
  20646. in: query
  20647. name: userid
  20648. required: true
  20649. type: integer
  20650. - description: 用户类型 2-机构 7-企业成员
  20651. in: query
  20652. name: usertype
  20653. type: integer
  20654. - description: 现货商品ID
  20655. in: query
  20656. name: wrstandardid
  20657. required: true
  20658. type: integer
  20659. produces:
  20660. - application/json
  20661. responses:
  20662. "200":
  20663. description: OK
  20664. schema:
  20665. items:
  20666. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  20667. type: array
  20668. "500":
  20669. description: Internal Server Error
  20670. schema:
  20671. $ref: '#/definitions/app.Response'
  20672. security:
  20673. - ApiKeyAuth: []
  20674. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20675. tags:
  20676. - 企业风险管理v3(app)
  20677. /Ermcp3/QueryGoodsGroup:
  20678. get:
  20679. parameters:
  20680. - description: 用户id
  20681. in: query
  20682. name: userid
  20683. required: true
  20684. type: integer
  20685. - description: 用户类型 2-机构 7-企业成员
  20686. in: query
  20687. name: usertype
  20688. type: integer
  20689. - description: 排除套保品中已关联的商品组 1-排除
  20690. in: query
  20691. name: excludecfg
  20692. type: integer
  20693. produces:
  20694. - application/json
  20695. responses:
  20696. "200":
  20697. description: OK
  20698. schema:
  20699. items:
  20700. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20701. type: array
  20702. "500":
  20703. description: Internal Server Error
  20704. schema:
  20705. $ref: '#/definitions/app.Response'
  20706. security:
  20707. - ApiKeyAuth: []
  20708. summary: 查询期货商品组
  20709. tags:
  20710. - 企业风险管理v3(app)
  20711. /Ermcp3/QueryGoodsWrstandard:
  20712. get:
  20713. parameters:
  20714. - description: 用户id
  20715. in: query
  20716. name: userid
  20717. required: true
  20718. type: integer
  20719. - description: 用户类型 2-机构 7-企业成员
  20720. in: query
  20721. name: usertype
  20722. type: integer
  20723. - description: 现货商品id
  20724. in: query
  20725. name: deliverygoodsid
  20726. type: integer
  20727. produces:
  20728. - application/json
  20729. responses:
  20730. "200":
  20731. description: OK
  20732. schema:
  20733. items:
  20734. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20735. type: array
  20736. "500":
  20737. description: Internal Server Error
  20738. schema:
  20739. $ref: '#/definitions/app.Response'
  20740. security:
  20741. - ApiKeyAuth: []
  20742. summary: 查询商品品类
  20743. tags:
  20744. - 企业风险管理v3(app)
  20745. /Ermcp3/QueryGoodsbrand:
  20746. get:
  20747. parameters:
  20748. - description: 用户id
  20749. in: query
  20750. name: userid
  20751. required: true
  20752. type: integer
  20753. - description: 用户类型 2-机构 7-企业成员
  20754. in: query
  20755. name: usertype
  20756. type: integer
  20757. produces:
  20758. - application/json
  20759. responses:
  20760. "200":
  20761. description: OK
  20762. schema:
  20763. items:
  20764. $ref: '#/definitions/models.Ermcp3Brand'
  20765. type: array
  20766. "500":
  20767. description: Internal Server Error
  20768. schema:
  20769. $ref: '#/definitions/app.Response'
  20770. security:
  20771. - ApiKeyAuth: []
  20772. summary: 查询商品品牌
  20773. tags:
  20774. - 企业风险管理v3(app)
  20775. /Ermcp3/QueryHedgePlan:
  20776. get:
  20777. parameters:
  20778. - description: 用户ID
  20779. in: query
  20780. name: userid
  20781. required: true
  20782. type: integer
  20783. - description: 用户类型 2-机构 7-企业成员
  20784. in: query
  20785. name: usertype
  20786. type: integer
  20787. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20788. in: query
  20789. name: hedgeplanstatus
  20790. required: true
  20791. type: string
  20792. produces:
  20793. - application/json
  20794. responses:
  20795. "200":
  20796. description: OK
  20797. schema:
  20798. items:
  20799. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20800. type: array
  20801. "500":
  20802. description: Internal Server Error
  20803. schema:
  20804. $ref: '#/definitions/app.Response'
  20805. security:
  20806. - ApiKeyAuth: []
  20807. summary: 查询套保计划
  20808. tags:
  20809. - 企业风险管理v3(app)
  20810. /Ermcp3/QueryMiddleGoodsDetail:
  20811. get:
  20812. parameters:
  20813. - description: 用户id
  20814. in: query
  20815. name: userid
  20816. required: true
  20817. type: integer
  20818. - description: 用户类型 2-机构 7-企业成员
  20819. in: query
  20820. name: usertype
  20821. type: integer
  20822. - description: 套保品种id
  20823. in: query
  20824. name: middlegoodsid
  20825. type: integer
  20826. produces:
  20827. - application/json
  20828. responses:
  20829. "200":
  20830. description: OK
  20831. schema:
  20832. items:
  20833. $ref: '#/definitions/models.TBMiddleGoods'
  20834. type: array
  20835. "500":
  20836. description: Internal Server Error
  20837. schema:
  20838. $ref: '#/definitions/app.Response'
  20839. security:
  20840. - ApiKeyAuth: []
  20841. summary: 查询套保品种详情(套保品种/商品详情)
  20842. tags:
  20843. - 企业风险管理v3(app)
  20844. /Ermcp3/QueryPaAreaAuditCfg:
  20845. get:
  20846. parameters:
  20847. - description: 用户id
  20848. in: query
  20849. name: userid
  20850. required: true
  20851. type: integer
  20852. produces:
  20853. - application/json
  20854. responses:
  20855. "200":
  20856. description: OK
  20857. schema:
  20858. items:
  20859. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  20860. type: array
  20861. "500":
  20862. description: Internal Server Error
  20863. schema:
  20864. $ref: '#/definitions/app.Response'
  20865. security:
  20866. - ApiKeyAuth: []
  20867. summary: 查询审核设置
  20868. tags:
  20869. - 企业风险管理v3(app)
  20870. /Ermcp3/QueryPaAreaSubject:
  20871. get:
  20872. parameters:
  20873. - description: 用户id
  20874. in: query
  20875. name: userid
  20876. required: true
  20877. type: integer
  20878. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  20879. in: query
  20880. name: subjectid
  20881. type: integer
  20882. - description: 主体类型 - 1:交易主体 2:业务部门
  20883. in: query
  20884. name: subjecttype
  20885. type: integer
  20886. - description: '主体状态 - 1:正常 2: 停用'
  20887. in: query
  20888. name: subjectstatus
  20889. type: integer
  20890. produces:
  20891. - application/json
  20892. responses:
  20893. "200":
  20894. description: OK
  20895. schema:
  20896. items:
  20897. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  20898. type: array
  20899. "500":
  20900. description: Internal Server Error
  20901. schema:
  20902. $ref: '#/definitions/app.Response'
  20903. security:
  20904. - ApiKeyAuth: []
  20905. summary: 查询交易主体
  20906. tags:
  20907. - 企业风险管理v3(app)
  20908. /Ermcp3/QueryRootUserAccount:
  20909. get:
  20910. parameters:
  20911. - description: 用户ID
  20912. in: query
  20913. name: userid
  20914. required: true
  20915. type: integer
  20916. produces:
  20917. - application/json
  20918. responses:
  20919. "200":
  20920. description: OK
  20921. schema:
  20922. items:
  20923. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20924. type: array
  20925. "500":
  20926. description: Internal Server Error
  20927. schema:
  20928. $ref: '#/definitions/app.Response'
  20929. security:
  20930. - ApiKeyAuth: []
  20931. summary: 查询顶级用户信息
  20932. tags:
  20933. - 企业风险管理v3(app)
  20934. /Ermcp3/QuerySpotContract:
  20935. get:
  20936. parameters:
  20937. - description: 用户id
  20938. in: query
  20939. name: userid
  20940. required: true
  20941. type: integer
  20942. - description: 用户类型 2-机构 7-企业成员
  20943. in: query
  20944. name: usertype
  20945. type: integer
  20946. - description: 合同类型 1-采购, -1-销售
  20947. in: query
  20948. name: contracttype
  20949. type: integer
  20950. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20951. in: query
  20952. name: querytype
  20953. required: true
  20954. type: integer
  20955. - description: 合同ID(SpotContractId)
  20956. in: query
  20957. name: contractid
  20958. type: string
  20959. produces:
  20960. - application/json
  20961. responses:
  20962. "200":
  20963. description: OK
  20964. schema:
  20965. items:
  20966. $ref: '#/definitions/models.Ermcp3Contract'
  20967. type: array
  20968. "500":
  20969. description: Internal Server Error
  20970. schema:
  20971. $ref: '#/definitions/app.Response'
  20972. security:
  20973. - ApiKeyAuth: []
  20974. summary: 查询现货合同
  20975. tags:
  20976. - 企业风险管理v3(app)
  20977. /Ermcp3/QuerySpotContractBS:
  20978. get:
  20979. parameters:
  20980. - description: 用户id
  20981. in: query
  20982. name: userid
  20983. required: true
  20984. type: integer
  20985. - description: 用户类型 2-机构 7-企业成员
  20986. in: query
  20987. name: usertype
  20988. type: integer
  20989. - description: 合同类型 1-采购, -1-销售
  20990. in: query
  20991. name: contracttype
  20992. required: true
  20993. type: integer
  20994. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20995. in: query
  20996. name: querytype
  20997. required: true
  20998. type: integer
  20999. - description: 合同ID(SpotContractId)
  21000. in: query
  21001. name: contractid
  21002. type: string
  21003. produces:
  21004. - application/json
  21005. responses:
  21006. "200":
  21007. description: OK
  21008. schema:
  21009. items:
  21010. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  21011. type: array
  21012. "500":
  21013. description: Internal Server Error
  21014. schema:
  21015. $ref: '#/definitions/app.Response'
  21016. security:
  21017. - ApiKeyAuth: []
  21018. summary: 查询合同(采购/销售)
  21019. tags:
  21020. - 企业风险管理v3(app)
  21021. /Ermcp3/QuerySpotGoodsPrice:
  21022. get:
  21023. parameters:
  21024. - description: 用户ID
  21025. in: query
  21026. name: userid
  21027. required: true
  21028. type: integer
  21029. produces:
  21030. - application/json
  21031. responses:
  21032. "200":
  21033. description: OK
  21034. schema:
  21035. items:
  21036. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  21037. type: array
  21038. "500":
  21039. description: Internal Server Error
  21040. schema:
  21041. $ref: '#/definitions/app.Response'
  21042. security:
  21043. - ApiKeyAuth: []
  21044. summary: 查询现货市价(现货市价)
  21045. tags:
  21046. - 企业风险管理v3(app)
  21047. /Ermcp3/QuerySpotGoodsPriceLog:
  21048. get:
  21049. parameters:
  21050. - description: 用户ID
  21051. in: query
  21052. name: userid
  21053. required: true
  21054. type: integer
  21055. - description: 现货商品ID
  21056. in: query
  21057. name: deliverygoodsid
  21058. required: true
  21059. type: integer
  21060. - description: 品牌ID
  21061. in: query
  21062. name: brandid
  21063. type: integer
  21064. - description: 品类ID
  21065. in: query
  21066. name: wrstandardid
  21067. type: integer
  21068. produces:
  21069. - application/json
  21070. responses:
  21071. "200":
  21072. description: OK
  21073. schema:
  21074. items:
  21075. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  21076. type: array
  21077. "500":
  21078. description: Internal Server Error
  21079. schema:
  21080. $ref: '#/definitions/app.Response'
  21081. security:
  21082. - ApiKeyAuth: []
  21083. summary: 查询现货市价详情(现货市价/详情)
  21084. tags:
  21085. - 企业风险管理v3(app)
  21086. /Erms2/QueryArbitrageStrategy:
  21087. get:
  21088. parameters:
  21089. - description: 账户ID
  21090. in: query
  21091. name: userid
  21092. required: true
  21093. type: integer
  21094. - description: 商品组ID(品种ID)
  21095. in: query
  21096. name: goodsgroupid
  21097. type: string
  21098. produces:
  21099. - application/json
  21100. responses:
  21101. "200":
  21102. description: OK
  21103. schema:
  21104. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  21105. "500":
  21106. description: Internal Server Error
  21107. schema:
  21108. $ref: '#/definitions/app.Response'
  21109. security:
  21110. - ApiKeyAuth: []
  21111. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  21112. tags:
  21113. - 风险管理
  21114. /Erms2/QueryInnerTradeDetail:
  21115. get:
  21116. parameters:
  21117. - description: 资金账户
  21118. in: query
  21119. name: accountid
  21120. required: true
  21121. type: integer
  21122. produces:
  21123. - application/json
  21124. responses:
  21125. "200":
  21126. description: OK
  21127. schema:
  21128. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  21129. "500":
  21130. description: Internal Server Error
  21131. schema:
  21132. $ref: '#/definitions/app.Response'
  21133. security:
  21134. - ApiKeyAuth: []
  21135. summary: 查询内部成交单信息
  21136. tags:
  21137. - 风险管理
  21138. /Erms2/QuerySpotContract:
  21139. get:
  21140. parameters:
  21141. - description: 策略申请ID
  21142. in: query
  21143. name: asapplyid
  21144. required: true
  21145. type: integer
  21146. - description: 现货合同ID
  21147. in: query
  21148. name: spotcontractid
  21149. type: integer
  21150. produces:
  21151. - application/json
  21152. responses:
  21153. "200":
  21154. description: OK
  21155. schema:
  21156. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  21157. "500":
  21158. description: Internal Server Error
  21159. schema:
  21160. $ref: '#/definitions/app.Response'
  21161. security:
  21162. - ApiKeyAuth: []
  21163. summary: 查询现货合同表信息(指定策略ID、未结束的)
  21164. tags:
  21165. - 风险管理
  21166. /Erms3/AddErms2ASApply:
  21167. post:
  21168. parameters:
  21169. - description: 申请参数
  21170. in: body
  21171. name: jsonBody
  21172. required: true
  21173. schema:
  21174. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  21175. produces:
  21176. - application/json
  21177. responses:
  21178. "200":
  21179. description: OK
  21180. schema:
  21181. $ref: '#/definitions/app.Response'
  21182. "500":
  21183. description: Internal Server Error
  21184. schema:
  21185. $ref: '#/definitions/app.Response'
  21186. security:
  21187. - ApiKeyAuth: []
  21188. summary: 新增期现套利业务申请
  21189. tags:
  21190. - 风险管理v3
  21191. /Erms3/AddErms2SpotTradeApply:
  21192. post:
  21193. parameters:
  21194. - description: 申请参数
  21195. in: body
  21196. name: jsonBody
  21197. required: true
  21198. schema:
  21199. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  21200. produces:
  21201. - application/json
  21202. responses:
  21203. "200":
  21204. description: OK
  21205. schema:
  21206. $ref: '#/definitions/app.Response'
  21207. "500":
  21208. description: Internal Server Error
  21209. schema:
  21210. $ref: '#/definitions/app.Response'
  21211. security:
  21212. - ApiKeyAuth: []
  21213. summary: 新增现货贸易业务申请
  21214. tags:
  21215. - 风险管理v3
  21216. /Erms3/AddSpotContractApply:
  21217. post:
  21218. parameters:
  21219. - description: 申请参数
  21220. in: body
  21221. name: jsonBody
  21222. required: true
  21223. schema:
  21224. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  21225. produces:
  21226. - application/json
  21227. responses:
  21228. "200":
  21229. description: OK
  21230. schema:
  21231. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  21232. "500":
  21233. description: Internal Server Error
  21234. schema:
  21235. $ref: '#/definitions/app.Response'
  21236. security:
  21237. - ApiKeyAuth: []
  21238. summary: 新增现货合同申请
  21239. tags:
  21240. - 风险管理v3
  21241. /Erms3/AddUserInfoApply:
  21242. post:
  21243. parameters:
  21244. - description: 用户信息
  21245. in: body
  21246. name: jsonBody
  21247. required: true
  21248. schema:
  21249. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  21250. produces:
  21251. - application/json
  21252. responses:
  21253. "200":
  21254. description: OK
  21255. schema:
  21256. $ref: '#/definitions/app.Response'
  21257. "500":
  21258. description: Internal Server Error
  21259. schema:
  21260. $ref: '#/definitions/app.Response'
  21261. security:
  21262. - ApiKeyAuth: []
  21263. summary: 新增客户申请
  21264. tags:
  21265. - 风险管理v3
  21266. /Erms3/DeleteUserInfoApply:
  21267. get:
  21268. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  21269. parameters:
  21270. - description: 用户ID
  21271. in: query
  21272. name: userID
  21273. required: true
  21274. type: integer
  21275. produces:
  21276. - application/json
  21277. responses:
  21278. "200":
  21279. description: OK
  21280. schema:
  21281. $ref: '#/definitions/app.Response'
  21282. "500":
  21283. description: Internal Server Error
  21284. schema:
  21285. $ref: '#/definitions/app.Response'
  21286. security:
  21287. - ApiKeyAuth: []
  21288. summary: 删除客户申请
  21289. tags:
  21290. - 风险管理v3
  21291. /Erms3/ModifyUserInfoApply:
  21292. post:
  21293. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  21294. parameters:
  21295. - description: 用户信息
  21296. in: body
  21297. name: jsonBody
  21298. required: true
  21299. schema:
  21300. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  21301. produces:
  21302. - application/json
  21303. responses:
  21304. "200":
  21305. description: OK
  21306. schema:
  21307. $ref: '#/definitions/app.Response'
  21308. "500":
  21309. description: Internal Server Error
  21310. schema:
  21311. $ref: '#/definitions/app.Response'
  21312. security:
  21313. - ApiKeyAuth: []
  21314. summary: 修改客户申请
  21315. tags:
  21316. - 风险管理v3
  21317. /Erms3/QueryBusinessInfo:
  21318. get:
  21319. parameters:
  21320. - description: 资金账号ID列表,用逗号分隔
  21321. in: query
  21322. name: accountids
  21323. required: true
  21324. type: string
  21325. - description: 状态,0为未结束 1为已结束
  21326. in: query
  21327. name: status
  21328. required: true
  21329. type: integer
  21330. produces:
  21331. - application/json
  21332. responses:
  21333. "200":
  21334. description: OK
  21335. schema:
  21336. items:
  21337. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  21338. type: array
  21339. "500":
  21340. description: Internal Server Error
  21341. schema:
  21342. $ref: '#/definitions/app.Response'
  21343. security:
  21344. - ApiKeyAuth: []
  21345. summary: 查询业务表单数据
  21346. tags:
  21347. - 风险管理v3
  21348. /Erms3/QueryPendingAuditContract:
  21349. get:
  21350. parameters:
  21351. - description: 资金账号ID列表,逗号隔开
  21352. in: query
  21353. name: accountids
  21354. required: true
  21355. type: string
  21356. - description: 合同类型 1-采购 -1-销售
  21357. in: query
  21358. name: contracttype
  21359. required: true
  21360. type: integer
  21361. - description: 合同模式 1-普通 2-回购
  21362. in: query
  21363. name: contractmode
  21364. required: true
  21365. type: integer
  21366. produces:
  21367. - application/json
  21368. responses:
  21369. "200":
  21370. description: OK
  21371. schema:
  21372. items:
  21373. $ref: '#/definitions/erms3.QryAuditContractRsp'
  21374. type: array
  21375. "500":
  21376. description: Internal Server Error
  21377. schema:
  21378. $ref: '#/definitions/app.Response'
  21379. security:
  21380. - ApiKeyAuth: []
  21381. summary: 查询待审核合同
  21382. tags:
  21383. - 风险管理v3
  21384. /Erms3/QueryPendingBusiness:
  21385. get:
  21386. parameters:
  21387. - description: 资金账号ID列表,逗号隔开
  21388. in: query
  21389. name: accountids
  21390. required: true
  21391. type: string
  21392. produces:
  21393. - application/json
  21394. responses:
  21395. "200":
  21396. description: OK
  21397. schema:
  21398. items:
  21399. $ref: '#/definitions/erms3.QryPendingBizRsp'
  21400. type: array
  21401. "500":
  21402. description: Internal Server Error
  21403. schema:
  21404. $ref: '#/definitions/app.Response'
  21405. security:
  21406. - ApiKeyAuth: []
  21407. summary: 查询待审核基差贸易业务
  21408. tags:
  21409. - 风险管理v3
  21410. /Erms3/QuerySpotContractAppleForm:
  21411. get:
  21412. parameters:
  21413. - description: 登录账号
  21414. in: query
  21415. name: loginID
  21416. required: true
  21417. type: integer
  21418. produces:
  21419. - application/json
  21420. responses:
  21421. "200":
  21422. description: OK
  21423. schema:
  21424. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  21425. "500":
  21426. description: Internal Server Error
  21427. schema:
  21428. $ref: '#/definitions/app.Response'
  21429. security:
  21430. - ApiKeyAuth: []
  21431. summary: 查询合同申请表单数据
  21432. tags:
  21433. - 风险管理v3
  21434. /Erms3/QuerySpotContractDetail:
  21435. get:
  21436. parameters:
  21437. - description: 资金账号ID列表,用逗号分隔
  21438. in: query
  21439. name: accountids
  21440. required: true
  21441. type: string
  21442. - description: 合同类型,1为采购合同 -1为销售合同
  21443. in: query
  21444. name: contracttype
  21445. required: true
  21446. type: integer
  21447. - description: 合同模式,1为普通合同 2为回购销售合同
  21448. in: query
  21449. name: contractmode
  21450. required: true
  21451. type: integer
  21452. - description: 状态,0为履约中 1为已完成
  21453. in: query
  21454. name: status
  21455. required: true
  21456. type: integer
  21457. produces:
  21458. - application/json
  21459. responses:
  21460. "200":
  21461. description: OK
  21462. schema:
  21463. items:
  21464. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  21465. type: array
  21466. "500":
  21467. description: Internal Server Error
  21468. schema:
  21469. $ref: '#/definitions/app.Response'
  21470. security:
  21471. - ApiKeyAuth: []
  21472. summary: 查询合同详细信息
  21473. tags:
  21474. - 风险管理v3
  21475. /Erms3/QueryUserInfoApplies:
  21476. get:
  21477. parameters:
  21478. - description: 页码
  21479. in: query
  21480. name: page
  21481. type: integer
  21482. - description: 每页条数
  21483. in: query
  21484. name: pagesize
  21485. type: integer
  21486. - description: 客户名称,支持模糊查询
  21487. in: query
  21488. name: userName
  21489. type: string
  21490. produces:
  21491. - application/json
  21492. responses:
  21493. "200":
  21494. description: OK
  21495. schema:
  21496. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  21497. "500":
  21498. description: Internal Server Error
  21499. schema:
  21500. $ref: '#/definitions/app.Response'
  21501. security:
  21502. - ApiKeyAuth: []
  21503. summary: 客户申请信息查询
  21504. tags:
  21505. - 风险管理v3
  21506. /Erms3/QueryUserInfos:
  21507. get:
  21508. parameters:
  21509. - description: 页码
  21510. in: query
  21511. name: page
  21512. type: integer
  21513. - description: 每页条数
  21514. in: query
  21515. name: pagesize
  21516. type: integer
  21517. - description: 客户名称,支持模糊查询
  21518. in: query
  21519. name: userName
  21520. type: string
  21521. produces:
  21522. - application/json
  21523. responses:
  21524. "200":
  21525. description: OK
  21526. schema:
  21527. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21528. "500":
  21529. description: Internal Server Error
  21530. schema:
  21531. $ref: '#/definitions/app.Response'
  21532. security:
  21533. - ApiKeyAuth: []
  21534. summary: 客户信息查询
  21535. tags:
  21536. - 风险管理v3
  21537. /HSBY/GetHsbyMyCount:
  21538. get:
  21539. description: 说明: 不包括已完成的数量。
  21540. parameters:
  21541. - description: 资金账户列表,格式:1,2,3
  21542. in: query
  21543. name: accountIDs
  21544. required: true
  21545. type: string
  21546. produces:
  21547. - application/json
  21548. responses:
  21549. "200":
  21550. description: OK
  21551. schema:
  21552. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21553. "500":
  21554. description: Internal Server Error
  21555. schema:
  21556. $ref: '#/definitions/app.Response'
  21557. security:
  21558. - ApiKeyAuth: []
  21559. summary: 获取我的订单与包裹数量
  21560. tags:
  21561. - 定制【海商报业】
  21562. /HSBY/QueryClientFixedADConfigs:
  21563. get:
  21564. produces:
  21565. - application/json
  21566. responses:
  21567. "200":
  21568. description: OK
  21569. schema:
  21570. $ref: '#/definitions/models.Clientfixedadconfig'
  21571. "500":
  21572. description: Internal Server Error
  21573. schema:
  21574. $ref: '#/definitions/app.Response'
  21575. security:
  21576. - ApiKeyAuth: []
  21577. summary: 获取终端固定广告配置
  21578. tags:
  21579. - 定制【海商报业】
  21580. /HSBY/QueryHsbyBuyMyTradeDetail:
  21581. get:
  21582. parameters:
  21583. - description: 页码
  21584. in: query
  21585. name: page
  21586. type: integer
  21587. - description: 每页条数
  21588. in: query
  21589. name: pagesize
  21590. type: integer
  21591. - description: 资金账户列表,格式:1,2,3
  21592. in: query
  21593. name: accountIDs
  21594. required: true
  21595. type: string
  21596. produces:
  21597. - application/json
  21598. responses:
  21599. "200":
  21600. description: OK
  21601. schema:
  21602. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21603. "500":
  21604. description: Internal Server Error
  21605. schema:
  21606. $ref: '#/definitions/app.Response'
  21607. security:
  21608. - ApiKeyAuth: []
  21609. summary: 查询"我的订单 - 已完成"单据信息
  21610. tags:
  21611. - 定制【海商报业】
  21612. /HSBY/QueryHsbyGoodsOrderDetails:
  21613. get:
  21614. description: 说明:查询结果已按委托价格和委托时间排序
  21615. parameters:
  21616. - description: 商品ID
  21617. in: query
  21618. name: goodsID
  21619. required: true
  21620. type: integer
  21621. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21622. in: query
  21623. name: accountIDs
  21624. type: string
  21625. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21626. in: query
  21627. name: buyOrSell
  21628. type: integer
  21629. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21630. in: query
  21631. name: price
  21632. type: number
  21633. - description: 档位,不传则默认为3档
  21634. in: query
  21635. name: speed
  21636. type: integer
  21637. produces:
  21638. - application/json
  21639. responses:
  21640. "200":
  21641. description: OK
  21642. schema:
  21643. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21644. "500":
  21645. description: Internal Server Error
  21646. schema:
  21647. $ref: '#/definitions/app.Response'
  21648. security:
  21649. - ApiKeyAuth: []
  21650. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21651. tags:
  21652. - 定制【海商报业】
  21653. /HSBY/QueryHsbyListingGoodsDetail:
  21654. get:
  21655. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21656. parameters:
  21657. - description: 商品ID
  21658. in: query
  21659. name: goodsID
  21660. required: true
  21661. type: integer
  21662. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21663. in: query
  21664. name: accountID
  21665. type: integer
  21666. produces:
  21667. - application/json
  21668. responses:
  21669. "200":
  21670. description: OK
  21671. schema:
  21672. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21673. "500":
  21674. description: Internal Server Error
  21675. schema:
  21676. $ref: '#/definitions/app.Response'
  21677. security:
  21678. - ApiKeyAuth: []
  21679. summary: 查询二级市场(挂牌点选)商品信息详情
  21680. tags:
  21681. - 定制【海商报业】
  21682. /HSBY/QueryHsbyMarketGoodsDetail:
  21683. get:
  21684. parameters:
  21685. - description: 委托单号
  21686. in: query
  21687. name: orderID
  21688. required: true
  21689. type: integer
  21690. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21691. in: query
  21692. name: accountID
  21693. type: integer
  21694. produces:
  21695. - application/json
  21696. responses:
  21697. "200":
  21698. description: OK
  21699. schema:
  21700. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21701. "500":
  21702. description: Internal Server Error
  21703. schema:
  21704. $ref: '#/definitions/app.Response'
  21705. security:
  21706. - ApiKeyAuth: []
  21707. summary: 查询三级市场(商城)商品信息详情
  21708. tags:
  21709. - 定制【海商报业】
  21710. /HSBY/QueryHsbyMarketGoodses:
  21711. get:
  21712. parameters:
  21713. - description: 页码
  21714. in: query
  21715. name: page
  21716. type: integer
  21717. - description: 每页条数
  21718. in: query
  21719. name: pagesize
  21720. type: integer
  21721. - description: 市场ID列表,格式:1,2,3
  21722. in: query
  21723. name: marketIDs
  21724. required: true
  21725. type: string
  21726. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21727. in: query
  21728. name: accountID
  21729. required: true
  21730. type: integer
  21731. - description: 类别ID
  21732. in: query
  21733. name: categoryID
  21734. type: integer
  21735. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21736. in: query
  21737. name: goodsIDs
  21738. type: string
  21739. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21740. in: query
  21741. name: couponTypeID
  21742. type: integer
  21743. produces:
  21744. - application/json
  21745. responses:
  21746. "200":
  21747. description: OK
  21748. schema:
  21749. $ref: '#/definitions/models.HsbyMarketGoods'
  21750. "500":
  21751. description: Internal Server Error
  21752. schema:
  21753. $ref: '#/definitions/app.Response'
  21754. security:
  21755. - ApiKeyAuth: []
  21756. summary: 查询特卖商品列表(三级商城)
  21757. tags:
  21758. - 定制【海商报业】
  21759. /HSBY/QueryHsbyMarkets:
  21760. get:
  21761. produces:
  21762. - application/json
  21763. responses:
  21764. "200":
  21765. description: OK
  21766. schema:
  21767. $ref: '#/definitions/models.HsbyMarketInfo'
  21768. "500":
  21769. description: Internal Server Error
  21770. schema:
  21771. $ref: '#/definitions/app.Response'
  21772. security:
  21773. - ApiKeyAuth: []
  21774. summary: 查询海商报业相关市场信息
  21775. tags:
  21776. - 定制【海商报业】
  21777. /HSBY/QueryHsbyMyBuyOrderDetails:
  21778. get:
  21779. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21780. parameters:
  21781. - description: 资金账户列表,格式:1,2,3
  21782. in: query
  21783. name: accountIDs
  21784. required: true
  21785. type: string
  21786. produces:
  21787. - application/json
  21788. responses:
  21789. "200":
  21790. description: OK
  21791. schema:
  21792. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21793. "500":
  21794. description: Internal Server Error
  21795. schema:
  21796. $ref: '#/definitions/app.Response'
  21797. security:
  21798. - ApiKeyAuth: []
  21799. summary: 查询“我的订单”信息
  21800. tags:
  21801. - 定制【海商报业】
  21802. /HSBY/QueryHsbyMyGoods:
  21803. get:
  21804. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21805. parameters:
  21806. - description: 资金账户列表,格式:1,2,3
  21807. in: query
  21808. name: accountIDs
  21809. required: true
  21810. type: string
  21811. produces:
  21812. - application/json
  21813. responses:
  21814. "200":
  21815. description: OK
  21816. schema:
  21817. $ref: '#/definitions/models.HsbyMyGoods'
  21818. "500":
  21819. description: Internal Server Error
  21820. schema:
  21821. $ref: '#/definitions/app.Response'
  21822. security:
  21823. - ApiKeyAuth: []
  21824. summary: 查询“我的商品”信息
  21825. tags:
  21826. - 定制【海商报业】
  21827. /HSBY/QueryHsbyMyPackages:
  21828. get:
  21829. parameters:
  21830. - description: 资金账户列表,格式:1,2,3
  21831. in: query
  21832. name: accountIDs
  21833. required: true
  21834. type: string
  21835. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21836. in: query
  21837. name: takeOrderStatus
  21838. type: integer
  21839. produces:
  21840. - application/json
  21841. responses:
  21842. "200":
  21843. description: OK
  21844. schema:
  21845. $ref: '#/definitions/models.HsbyMyPackage'
  21846. "500":
  21847. description: Internal Server Error
  21848. schema:
  21849. $ref: '#/definitions/app.Response'
  21850. security:
  21851. - ApiKeyAuth: []
  21852. summary: 查询我的包裹信息
  21853. tags:
  21854. - 定制【海商报业】
  21855. /HSBY/QueryHsbyPreGoodsDetail:
  21856. get:
  21857. parameters:
  21858. - description: 商品ID
  21859. in: query
  21860. name: goodsID
  21861. required: true
  21862. type: integer
  21863. - description: 资金账户,主要用于获取预售商品购买上限
  21864. in: query
  21865. name: accountID
  21866. type: integer
  21867. produces:
  21868. - application/json
  21869. responses:
  21870. "200":
  21871. description: OK
  21872. schema:
  21873. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21874. "500":
  21875. description: Internal Server Error
  21876. schema:
  21877. $ref: '#/definitions/app.Response'
  21878. security:
  21879. - ApiKeyAuth: []
  21880. summary: 查询一级市场(预售)商品信息详情
  21881. tags:
  21882. - 定制【海商报业】
  21883. /HSBY/QueryHsbyPreGoodses:
  21884. get:
  21885. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21886. parameters:
  21887. - description: 页码
  21888. in: query
  21889. name: page
  21890. type: integer
  21891. - description: 每页条数
  21892. in: query
  21893. name: pagesize
  21894. type: integer
  21895. - description: 市场ID列表,格式:1,2,3
  21896. in: query
  21897. name: marketIDs
  21898. required: true
  21899. type: string
  21900. - description: 目的地(省)ID
  21901. in: query
  21902. name: descProvinceID
  21903. type: integer
  21904. - description: 目的地(市)ID
  21905. in: query
  21906. name: descCityID
  21907. type: integer
  21908. produces:
  21909. - application/json
  21910. responses:
  21911. "200":
  21912. description: OK
  21913. schema:
  21914. $ref: '#/definitions/models.HsbyPreGoods'
  21915. "500":
  21916. description: Internal Server Error
  21917. schema:
  21918. $ref: '#/definitions/app.Response'
  21919. security:
  21920. - ApiKeyAuth: []
  21921. summary: 查询新品上市商品列表(一级市场预售)
  21922. tags:
  21923. - 定制【海商报业】
  21924. /HSBY/QueryHsbySellMyDetails:
  21925. get:
  21926. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21927. parameters:
  21928. - description: 页码
  21929. in: query
  21930. name: page
  21931. type: integer
  21932. - description: 每页条数
  21933. in: query
  21934. name: pagesize
  21935. type: integer
  21936. - description: 资金账户列表,格式:1,2,3
  21937. in: query
  21938. name: accountIDs
  21939. required: true
  21940. type: string
  21941. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21942. in: query
  21943. name: orderType
  21944. type: integer
  21945. produces:
  21946. - application/json
  21947. responses:
  21948. "200":
  21949. description: OK
  21950. schema:
  21951. $ref: '#/definitions/models.HsbySellMyDetail'
  21952. "500":
  21953. description: Internal Server Error
  21954. schema:
  21955. $ref: '#/definitions/app.Response'
  21956. security:
  21957. - ApiKeyAuth: []
  21958. summary: 查询"我的闲置"单据信息
  21959. tags:
  21960. - 定制【海商报业】
  21961. /HSBY/QueryHsbyTopGoodses:
  21962. get:
  21963. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21964. parameters:
  21965. - description: 页码
  21966. in: query
  21967. name: page
  21968. type: integer
  21969. - description: 每页条数
  21970. in: query
  21971. name: pagesize
  21972. type: integer
  21973. - description: 市场ID列表,格式:1,2,3
  21974. in: query
  21975. name: marketIDs
  21976. required: true
  21977. type: string
  21978. - description: 目的地(省)ID
  21979. in: query
  21980. name: descProvinceID
  21981. type: integer
  21982. - description: 目的地(市)ID
  21983. in: query
  21984. name: descCityID
  21985. type: integer
  21986. produces:
  21987. - application/json
  21988. responses:
  21989. "200":
  21990. description: OK
  21991. schema:
  21992. $ref: '#/definitions/models.HsbyTopGoods'
  21993. "500":
  21994. description: Internal Server Error
  21995. schema:
  21996. $ref: '#/definitions/app.Response'
  21997. security:
  21998. - ApiKeyAuth: []
  21999. summary: 查询热卖商品列表(二级市场挂牌点选)
  22000. tags:
  22001. - 定制【海商报业】
  22002. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  22003. get:
  22004. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  22005. parameters:
  22006. - description: 商品ID
  22007. in: query
  22008. name: goodsID
  22009. required: true
  22010. type: integer
  22011. produces:
  22012. - application/json
  22013. responses:
  22014. "200":
  22015. description: OK
  22016. schema:
  22017. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22018. "500":
  22019. description: Internal Server Error
  22020. schema:
  22021. $ref: '#/definitions/app.Response'
  22022. security:
  22023. - ApiKeyAuth: []
  22024. summary: 查询游客三级市场(商城)商品信息详情
  22025. tags:
  22026. - 定制【海商报业】
  22027. /HSBY/QueryHsbyVisitorMarketGoodses:
  22028. get:
  22029. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  22030. parameters:
  22031. - description: 页码
  22032. in: query
  22033. name: page
  22034. type: integer
  22035. - description: 每页条数
  22036. in: query
  22037. name: pagesize
  22038. type: integer
  22039. - description: 市场ID列表,格式:1,2,3
  22040. in: query
  22041. name: marketIDs
  22042. required: true
  22043. type: string
  22044. - description: 类别ID
  22045. in: query
  22046. name: categoryID
  22047. type: integer
  22048. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22049. in: query
  22050. name: goodsIDs
  22051. type: string
  22052. produces:
  22053. - application/json
  22054. responses:
  22055. "200":
  22056. description: OK
  22057. schema:
  22058. $ref: '#/definitions/models.HsbyMarketGoods'
  22059. "500":
  22060. description: Internal Server Error
  22061. schema:
  22062. $ref: '#/definitions/app.Response'
  22063. security:
  22064. - ApiKeyAuth: []
  22065. summary: 查询游客特卖商品列表(三级商城)
  22066. tags:
  22067. - 定制【海商报业】
  22068. /HSBY/QueryMyCollectionOrders:
  22069. get:
  22070. parameters:
  22071. - description: 页码
  22072. in: query
  22073. name: page
  22074. type: integer
  22075. - description: 每页条数
  22076. in: query
  22077. name: pagesize
  22078. type: integer
  22079. - description: 资金账户,格式:1,2,3
  22080. in: query
  22081. name: accountIDs
  22082. required: true
  22083. type: string
  22084. produces:
  22085. - application/json
  22086. responses:
  22087. "200":
  22088. description: OK
  22089. schema:
  22090. $ref: '#/definitions/models.HsbySellCollectionOrder'
  22091. "500":
  22092. description: Internal Server Error
  22093. schema:
  22094. $ref: '#/definitions/app.Response'
  22095. security:
  22096. - ApiKeyAuth: []
  22097. summary: 我的闲置中收款信息查询
  22098. tags:
  22099. - 定制【海商报业】
  22100. /HSBY/QueryMyCouponHolds:
  22101. get:
  22102. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  22103. parameters:
  22104. - description: 资金账户列表,格式:1,2,3
  22105. in: query
  22106. name: accountIDs
  22107. required: true
  22108. type: string
  22109. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  22110. in: query
  22111. name: holdStatus
  22112. type: string
  22113. produces:
  22114. - application/json
  22115. responses:
  22116. "200":
  22117. description: OK
  22118. schema:
  22119. $ref: '#/definitions/models.MyCouponHold'
  22120. "500":
  22121. description: Internal Server Error
  22122. schema:
  22123. $ref: '#/definitions/app.Response'
  22124. security:
  22125. - ApiKeyAuth: []
  22126. summary: 我的优惠卷持仓查询
  22127. tags:
  22128. - 定制【海商报业】
  22129. /HSBY/QueryMyCoupons:
  22130. get:
  22131. parameters:
  22132. - description: 资金账户列表,格式:1,2,3
  22133. in: query
  22134. name: accountIDs
  22135. required: true
  22136. type: string
  22137. - description: 商品ID, 一般与sellUserID配套传入
  22138. in: query
  22139. name: goodsID
  22140. type: integer
  22141. - description: 卖方UserID
  22142. in: query
  22143. name: sellUserID
  22144. type: integer
  22145. produces:
  22146. - application/json
  22147. responses:
  22148. "200":
  22149. description: OK
  22150. schema:
  22151. $ref: '#/definitions/models.MyCoupon'
  22152. "500":
  22153. description: Internal Server Error
  22154. schema:
  22155. $ref: '#/definitions/app.Response'
  22156. security:
  22157. - ApiKeyAuth: []
  22158. summary: 我的优惠卷查询
  22159. tags:
  22160. - 定制【海商报业】
  22161. /HSBY/QueryMyPayOrders:
  22162. get:
  22163. parameters:
  22164. - description: 页码
  22165. in: query
  22166. name: page
  22167. type: integer
  22168. - description: 每页条数
  22169. in: query
  22170. name: pagesize
  22171. type: integer
  22172. - description: 资金账户列表,格式:1,2,3
  22173. in: query
  22174. name: accountIDs
  22175. required: true
  22176. type: string
  22177. - description: 买方委托单号
  22178. in: query
  22179. name: buyOrderID
  22180. type: integer
  22181. - description: 卖方委托单号
  22182. in: query
  22183. name: sellOrderID
  22184. type: integer
  22185. produces:
  22186. - application/json
  22187. responses:
  22188. "200":
  22189. description: OK
  22190. schema:
  22191. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  22192. "500":
  22193. description: Internal Server Error
  22194. schema:
  22195. $ref: '#/definitions/app.Response'
  22196. security:
  22197. - ApiKeyAuth: []
  22198. summary: 获取我的订单中待付款信息
  22199. tags:
  22200. - 定制【海商报业】
  22201. /HSBY/QueryMyUsedCoupon:
  22202. get:
  22203. parameters:
  22204. - description: 资金账户列表,格式:1,2,3
  22205. in: query
  22206. name: accountIDs
  22207. required: true
  22208. type: string
  22209. produces:
  22210. - application/json
  22211. responses:
  22212. "200":
  22213. description: OK
  22214. schema:
  22215. $ref: '#/definitions/models.MyUsedCoupon'
  22216. "500":
  22217. description: Internal Server Error
  22218. schema:
  22219. $ref: '#/definitions/app.Response'
  22220. security:
  22221. - ApiKeyAuth: []
  22222. summary: 已使用优惠卷查询
  22223. tags:
  22224. - 定制【海商报业】
  22225. /HSBY/QueryProvincesAndCities:
  22226. get:
  22227. description: 查询结果只包括二级市场商品已关连的省市信息。
  22228. parameters:
  22229. - description: 省ID
  22230. in: query
  22231. name: provinceID
  22232. type: integer
  22233. produces:
  22234. - application/json
  22235. responses:
  22236. "200":
  22237. description: OK
  22238. schema:
  22239. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  22240. "500":
  22241. description: Internal Server Error
  22242. schema:
  22243. $ref: '#/definitions/app.Response'
  22244. security:
  22245. - ApiKeyAuth: []
  22246. summary: 查询省市信息(不包括区)
  22247. tags:
  22248. - 定制【海商报业】
  22249. /HSBY/SetHsbyMyPackagesStatus:
  22250. post:
  22251. parameters:
  22252. - description: 提货单号
  22253. in: query
  22254. name: takeOrderID
  22255. required: true
  22256. type: string
  22257. - description: 资金账号
  22258. in: query
  22259. name: accountID
  22260. required: true
  22261. type: integer
  22262. produces:
  22263. - application/json
  22264. responses:
  22265. "200":
  22266. description: OK
  22267. schema:
  22268. $ref: '#/definitions/app.Response'
  22269. "500":
  22270. description: Internal Server Error
  22271. schema:
  22272. $ref: '#/definitions/app.Response'
  22273. security:
  22274. - ApiKeyAuth: []
  22275. summary: 设置我的包裹已收货状态
  22276. tags:
  22277. - 定制【海商报业】
  22278. /Market/GetAllExExchanges:
  22279. get:
  22280. produces:
  22281. - application/json
  22282. responses:
  22283. "200":
  22284. description: OK
  22285. schema:
  22286. $ref: '#/definitions/models.Goods'
  22287. "500":
  22288. description: Internal Server Error
  22289. schema:
  22290. $ref: '#/definitions/app.Response'
  22291. security:
  22292. - ApiKeyAuth: []
  22293. summary: 获取所有外部交易所信息
  22294. tags:
  22295. - 通用市场
  22296. /Market/QueryGoodsesByLoginID:
  22297. get:
  22298. parameters:
  22299. - description: 登录账号
  22300. in: query
  22301. name: loginID
  22302. required: true
  22303. type: integer
  22304. - description: 市场ID列表,格式:1,2,3
  22305. in: query
  22306. name: marketIDs
  22307. type: string
  22308. produces:
  22309. - application/json
  22310. responses:
  22311. "200":
  22312. description: OK
  22313. schema:
  22314. $ref: '#/definitions/models.Goods'
  22315. "500":
  22316. description: Internal Server Error
  22317. schema:
  22318. $ref: '#/definitions/app.Response'
  22319. security:
  22320. - ApiKeyAuth: []
  22321. summary: 获取登录账号有权限的商品信息
  22322. tags:
  22323. - 通用市场
  22324. /Market/QueryMarketRun:
  22325. get:
  22326. parameters:
  22327. - description: 市场ID,不传返回所有
  22328. in: query
  22329. name: marketID
  22330. type: integer
  22331. produces:
  22332. - application/json
  22333. responses:
  22334. "200":
  22335. description: OK
  22336. schema:
  22337. $ref: '#/definitions/models.Marketrun'
  22338. "500":
  22339. description: Internal Server Error
  22340. schema:
  22341. $ref: '#/definitions/app.Response'
  22342. security:
  22343. - ApiKeyAuth: []
  22344. summary: 查询市场运行信息
  22345. tags:
  22346. - 通用市场
  22347. /Market/QueryMarketsByLoginID:
  22348. get:
  22349. parameters:
  22350. - description: 登录账号
  22351. in: query
  22352. name: loginID
  22353. required: true
  22354. type: integer
  22355. produces:
  22356. - application/json
  22357. responses:
  22358. "200":
  22359. description: OK
  22360. schema:
  22361. $ref: '#/definitions/models.Market'
  22362. "500":
  22363. description: Internal Server Error
  22364. schema:
  22365. $ref: '#/definitions/app.Response'
  22366. security:
  22367. - ApiKeyAuth: []
  22368. summary: 获取登录账号有权限的市场信息
  22369. tags:
  22370. - 通用市场
  22371. /Order/QueryHisTradeDetail:
  22372. get:
  22373. parameters:
  22374. - description: 资金账户 - 格式:1,2,3
  22375. in: query
  22376. name: accountID
  22377. required: true
  22378. type: string
  22379. - description: 成交单号
  22380. in: query
  22381. name: tradeID
  22382. type: integer
  22383. - description: 委托单号
  22384. in: query
  22385. name: orderID
  22386. type: integer
  22387. - description: 商品ID
  22388. in: query
  22389. name: goodsID
  22390. type: integer
  22391. - description: 交易模式 - 格式:1,2,3
  22392. in: query
  22393. name: tradeMode
  22394. type: string
  22395. - description: 委托单据类型
  22396. in: query
  22397. name: buildType
  22398. type: integer
  22399. - description: 成交类别 - 格式:1,2,3
  22400. in: query
  22401. name: tradeType
  22402. type: string
  22403. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22404. in: query
  22405. name: startDate
  22406. type: string
  22407. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22408. in: query
  22409. name: endDate
  22410. type: string
  22411. produces:
  22412. - application/json
  22413. responses:
  22414. "200":
  22415. description: OK
  22416. schema:
  22417. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  22418. "500":
  22419. description: Internal Server Error
  22420. schema:
  22421. $ref: '#/definitions/app.Response'
  22422. security:
  22423. - ApiKeyAuth: []
  22424. summary: 历史成交单查询(合约市场)
  22425. tags:
  22426. - 通用单据
  22427. /Order/QueryHisTradeOrderDetail:
  22428. get:
  22429. parameters:
  22430. - description: 资金账户 - 格式:1,2,3
  22431. in: query
  22432. name: accountID
  22433. required: true
  22434. type: string
  22435. - description: 交易模式 - 格式:1,2,3
  22436. in: query
  22437. name: tradeMode
  22438. type: string
  22439. - description: 委托状态 - 格式:1,2,3
  22440. in: query
  22441. name: orderStatus
  22442. type: string
  22443. - description: 委托单号
  22444. in: query
  22445. name: orderID
  22446. type: integer
  22447. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22448. in: query
  22449. name: startDate
  22450. type: string
  22451. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22452. in: query
  22453. name: endDate
  22454. type: string
  22455. produces:
  22456. - application/json
  22457. responses:
  22458. "200":
  22459. description: OK
  22460. schema:
  22461. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  22462. "500":
  22463. description: Internal Server Error
  22464. schema:
  22465. $ref: '#/definitions/app.Response'
  22466. security:
  22467. - ApiKeyAuth: []
  22468. summary: 历史委托单查询请求(合约市场)
  22469. tags:
  22470. - 通用单据
  22471. /Order/QueryTradeDetail:
  22472. get:
  22473. parameters:
  22474. - description: 资金账户 - 格式:1,2,3
  22475. in: query
  22476. name: accountID
  22477. required: true
  22478. type: string
  22479. - description: 成交单号
  22480. in: query
  22481. name: tradeID
  22482. type: integer
  22483. - description: 委托单号
  22484. in: query
  22485. name: orderID
  22486. type: integer
  22487. - description: 交易模式 - 格式:1,2,3
  22488. in: query
  22489. name: tradeMode
  22490. type: string
  22491. - description: 委托单据类型
  22492. in: query
  22493. name: buildType
  22494. type: integer
  22495. - description: 成交类别 - 格式:1,2,3
  22496. in: query
  22497. name: tradeType
  22498. type: string
  22499. - description: 商品ID
  22500. in: query
  22501. name: goodsID
  22502. type: integer
  22503. produces:
  22504. - application/json
  22505. responses:
  22506. "200":
  22507. description: OK
  22508. schema:
  22509. $ref: '#/definitions/order.QueryTradeDetailRsp'
  22510. "500":
  22511. description: Internal Server Error
  22512. schema:
  22513. $ref: '#/definitions/app.Response'
  22514. security:
  22515. - ApiKeyAuth: []
  22516. summary: 成交单查询(合约市场)
  22517. tags:
  22518. - 通用单据
  22519. /Order/QueryTradeHolderDetail:
  22520. get:
  22521. parameters:
  22522. - description: 用户id
  22523. in: query
  22524. name: userid
  22525. type: integer
  22526. - description: 资金账号, 格式 1,2,3
  22527. in: query
  22528. name: accids
  22529. type: string
  22530. - description: 交易模式, 格式 1,2,3
  22531. in: query
  22532. name: trademodes
  22533. type: string
  22534. - description: 市场id, 格式 1,2,3
  22535. in: query
  22536. name: marketids
  22537. type: string
  22538. - description: 商品id
  22539. in: query
  22540. name: goodsid
  22541. type: integer
  22542. - description: 买卖方向 0-买 1-卖
  22543. in: query
  22544. name: buyorsell
  22545. type: integer
  22546. produces:
  22547. - application/json
  22548. responses:
  22549. "200":
  22550. description: OK
  22551. schema:
  22552. items:
  22553. $ref: '#/definitions/models.TradeHolderDetail'
  22554. type: array
  22555. "500":
  22556. description: Internal Server Error
  22557. schema:
  22558. $ref: '#/definitions/app.Response'
  22559. security:
  22560. - ApiKeyAuth: []
  22561. summary: 查询持仓明细
  22562. tags:
  22563. - 通用单据
  22564. /Order/QueryTradeOrderDetail:
  22565. get:
  22566. parameters:
  22567. - description: 资金账户 - 格式:1,2,3
  22568. in: query
  22569. name: accountID
  22570. required: true
  22571. type: string
  22572. - description: 交易模式 - 格式:1,2,3
  22573. in: query
  22574. name: tradeMode
  22575. type: string
  22576. - description: 委托状态 - 格式:1,2,3
  22577. in: query
  22578. name: orderStatus
  22579. type: string
  22580. - description: 委托单号
  22581. in: query
  22582. name: orderID
  22583. type: integer
  22584. produces:
  22585. - application/json
  22586. responses:
  22587. "200":
  22588. description: OK
  22589. schema:
  22590. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  22591. "500":
  22592. description: Internal Server Error
  22593. schema:
  22594. $ref: '#/definitions/app.Response'
  22595. security:
  22596. - ApiKeyAuth: []
  22597. summary: 委托单查询请求(合约市场)
  22598. tags:
  22599. - 通用单据
  22600. /Order/QueryTradePosition:
  22601. get:
  22602. parameters:
  22603. - description: 资金账户 - 格式:1,2,3
  22604. in: query
  22605. name: accountID
  22606. required: true
  22607. type: string
  22608. - description: 交易模式 - 格式:1,2,3
  22609. in: query
  22610. name: tradeMode
  22611. type: string
  22612. produces:
  22613. - application/json
  22614. responses:
  22615. "200":
  22616. description: OK
  22617. schema:
  22618. $ref: '#/definitions/order.QueryTradePositionRsp'
  22619. "500":
  22620. description: Internal Server Error
  22621. schema:
  22622. $ref: '#/definitions/app.Response'
  22623. security:
  22624. - ApiKeyAuth: []
  22625. summary: 持仓汇总查询(合约市场)
  22626. tags:
  22627. - 通用单据
  22628. /Qhj/QueryAccountInOutApply:
  22629. get:
  22630. parameters:
  22631. - description: 用户ID
  22632. in: query
  22633. name: userid
  22634. required: true
  22635. type: integer
  22636. - description: 申请起始日期(格式yyyymmdd)
  22637. in: query
  22638. name: begindate
  22639. type: string
  22640. - description: 申请截止日期(格式yyyymmdd)
  22641. in: query
  22642. name: enddate
  22643. type: string
  22644. - description: 模糊搜索名称
  22645. in: query
  22646. name: likename
  22647. type: string
  22648. produces:
  22649. - application/json
  22650. responses:
  22651. "200":
  22652. description: OK
  22653. schema:
  22654. items:
  22655. $ref: '#/definitions/models.QhjAccountOutInApply'
  22656. type: array
  22657. "500":
  22658. description: Internal Server Error
  22659. schema:
  22660. $ref: '#/definitions/app.Response'
  22661. security:
  22662. - ApiKeyAuth: []
  22663. summary: 查询充值提现
  22664. tags:
  22665. - 大连千海金
  22666. /Qhj/QueryAreaFinanceConfig:
  22667. get:
  22668. parameters:
  22669. - description: 机构用户ID 其他做市关系,都设置为 1
  22670. in: query
  22671. name: userid
  22672. type: integer
  22673. produces:
  22674. - application/json
  22675. responses:
  22676. "200":
  22677. description: OK
  22678. schema:
  22679. items:
  22680. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22681. type: array
  22682. "500":
  22683. description: Internal Server Error
  22684. schema:
  22685. $ref: '#/definitions/app.Response'
  22686. security:
  22687. - ApiKeyAuth: []
  22688. summary: 查询企业配置表
  22689. tags:
  22690. - 大连千海金
  22691. /Qhj/QueryBankAccountSign:
  22692. get:
  22693. parameters:
  22694. - description: 用户ID
  22695. in: query
  22696. name: userid
  22697. required: true
  22698. type: integer
  22699. produces:
  22700. - application/json
  22701. responses:
  22702. "200":
  22703. description: OK
  22704. schema:
  22705. items:
  22706. $ref: '#/definitions/models.QhjBankAccountSign'
  22707. type: array
  22708. "500":
  22709. description: Internal Server Error
  22710. schema:
  22711. $ref: '#/definitions/app.Response'
  22712. security:
  22713. - ApiKeyAuth: []
  22714. summary: 查询签约银行信息(提现账户管理)
  22715. tags:
  22716. - 大连千海金
  22717. /Qhj/QueryBankInfo:
  22718. get:
  22719. produces:
  22720. - application/json
  22721. responses:
  22722. "200":
  22723. description: OK
  22724. schema:
  22725. items:
  22726. $ref: '#/definitions/models.QhjBankInfo'
  22727. type: array
  22728. "500":
  22729. description: Internal Server Error
  22730. schema:
  22731. $ref: '#/definitions/app.Response'
  22732. security:
  22733. - ApiKeyAuth: []
  22734. summary: 查询开户行
  22735. tags:
  22736. - 大连千海金
  22737. /Qhj/QueryBrokerApply:
  22738. get:
  22739. parameters:
  22740. - description: 所属机构ID
  22741. in: query
  22742. name: userid
  22743. type: integer
  22744. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22745. in: query
  22746. name: filterstatus
  22747. type: string
  22748. produces:
  22749. - application/json
  22750. responses:
  22751. "200":
  22752. description: OK
  22753. schema:
  22754. items:
  22755. $ref: '#/definitions/models.QhjBrokerApply'
  22756. type: array
  22757. "500":
  22758. description: Internal Server Error
  22759. schema:
  22760. $ref: '#/definitions/app.Response'
  22761. security:
  22762. - ApiKeyAuth: []
  22763. summary: 查询经纪人申请
  22764. tags:
  22765. - 大连千海金
  22766. /Qhj/QueryBrokerApplyEx:
  22767. get:
  22768. parameters:
  22769. - description: 所属机构ID
  22770. in: query
  22771. name: userid
  22772. type: integer
  22773. produces:
  22774. - application/json
  22775. responses:
  22776. "200":
  22777. description: OK
  22778. schema:
  22779. items:
  22780. $ref: '#/definitions/models.QhjBrokerApplyEx'
  22781. type: array
  22782. "500":
  22783. description: Internal Server Error
  22784. schema:
  22785. $ref: '#/definitions/app.Response'
  22786. security:
  22787. - ApiKeyAuth: []
  22788. summary: 查询经纪人信息和申请记录
  22789. tags:
  22790. - 大连千海金
  22791. /Qhj/QueryBrokerRewardLog:
  22792. get:
  22793. parameters:
  22794. - description: 用户ID
  22795. in: query
  22796. name: userid
  22797. required: true
  22798. type: integer
  22799. - description: 开始交易日(yyyymmdd)
  22800. in: query
  22801. name: begindate
  22802. type: string
  22803. - description: 结束交易日(yyyymmdd)
  22804. in: query
  22805. name: enddate
  22806. type: string
  22807. produces:
  22808. - application/json
  22809. responses:
  22810. "200":
  22811. description: OK
  22812. schema:
  22813. items:
  22814. $ref: '#/definitions/models.QhjBrokerRewardLog'
  22815. type: array
  22816. "500":
  22817. description: Internal Server Error
  22818. schema:
  22819. $ref: '#/definitions/app.Response'
  22820. security:
  22821. - ApiKeyAuth: []
  22822. summary: 查询奖励流水(我的奖励)
  22823. tags:
  22824. - 大连千海金
  22825. /Qhj/QueryContract:
  22826. get:
  22827. parameters:
  22828. - description: 用户ID
  22829. in: query
  22830. name: userid
  22831. type: integer
  22832. - description: scf合同id
  22833. in: query
  22834. name: scfcontractid
  22835. type: integer
  22836. produces:
  22837. - application/json
  22838. responses:
  22839. "200":
  22840. description: OK
  22841. schema:
  22842. items:
  22843. $ref: '#/definitions/models.QhjContract'
  22844. type: array
  22845. "500":
  22846. description: Internal Server Error
  22847. schema:
  22848. $ref: '#/definitions/app.Response'
  22849. security:
  22850. - ApiKeyAuth: []
  22851. summary: 查询融资明细(合同)
  22852. tags:
  22853. - 大连千海金
  22854. /Qhj/QueryContractLog:
  22855. get:
  22856. parameters:
  22857. - description: scf合同id
  22858. in: query
  22859. name: scfcontractid
  22860. required: true
  22861. type: integer
  22862. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22863. in: query
  22864. name: amounttype
  22865. type: string
  22866. produces:
  22867. - application/json
  22868. responses:
  22869. "200":
  22870. description: OK
  22871. schema:
  22872. items:
  22873. $ref: '#/definitions/models.QhjContractLog'
  22874. type: array
  22875. "500":
  22876. description: Internal Server Error
  22877. schema:
  22878. $ref: '#/definitions/app.Response'
  22879. security:
  22880. - ApiKeyAuth: []
  22881. summary: 查询融资明细流水(融资明细详情页中的流水)
  22882. tags:
  22883. - 大连千海金
  22884. /Qhj/QueryCusBankSignBank:
  22885. get:
  22886. produces:
  22887. - application/json
  22888. responses:
  22889. "200":
  22890. description: OK
  22891. schema:
  22892. items:
  22893. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22894. type: array
  22895. "500":
  22896. description: Internal Server Error
  22897. schema:
  22898. $ref: '#/definitions/app.Response'
  22899. security:
  22900. - ApiKeyAuth: []
  22901. summary: 查询托管银行
  22902. tags:
  22903. - 大连千海金
  22904. /Qhj/QueryCustomerInfo:
  22905. get:
  22906. parameters:
  22907. - description: 用户ID
  22908. in: query
  22909. name: userid
  22910. required: true
  22911. type: integer
  22912. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22913. in: query
  22914. name: querytype
  22915. required: true
  22916. type: integer
  22917. - description: 客户类型 1-个人 2-企业
  22918. in: query
  22919. name: userinfotype
  22920. type: integer
  22921. - description: 客户名称(模糊匹配)
  22922. in: query
  22923. name: customername
  22924. type: string
  22925. - description: 昵称(模糊匹配)
  22926. in: query
  22927. name: nickname
  22928. type: string
  22929. - description: 是否包含子级 1-包含
  22930. in: query
  22931. name: includesub
  22932. type: integer
  22933. produces:
  22934. - application/json
  22935. responses:
  22936. "200":
  22937. description: OK
  22938. schema:
  22939. items:
  22940. $ref: '#/definitions/models.QhjCustomer'
  22941. type: array
  22942. "500":
  22943. description: Internal Server Error
  22944. schema:
  22945. $ref: '#/definitions/app.Response'
  22946. security:
  22947. - ApiKeyAuth: []
  22948. summary: 查询客户资料
  22949. tags:
  22950. - 大连千海金
  22951. /Qhj/QueryGoodsEx:
  22952. get:
  22953. parameters:
  22954. - description: 商品id
  22955. in: query
  22956. name: goodsid
  22957. type: integer
  22958. produces:
  22959. - application/json
  22960. responses:
  22961. "200":
  22962. description: OK
  22963. schema:
  22964. items:
  22965. $ref: '#/definitions/models.Qhjgoodsex'
  22966. type: array
  22967. "500":
  22968. description: Internal Server Error
  22969. schema:
  22970. $ref: '#/definitions/app.Response'
  22971. security:
  22972. - ApiKeyAuth: []
  22973. summary: 交易商品扩展表
  22974. tags:
  22975. - 大连千海金
  22976. /Qhj/QueryMyTeam:
  22977. get:
  22978. parameters:
  22979. - description: 用户ID
  22980. in: query
  22981. name: userid
  22982. required: true
  22983. type: integer
  22984. produces:
  22985. - application/json
  22986. responses:
  22987. "200":
  22988. description: OK
  22989. schema:
  22990. items:
  22991. $ref: '#/definitions/models.QhjMyTeamEx'
  22992. type: array
  22993. "500":
  22994. description: Internal Server Error
  22995. schema:
  22996. $ref: '#/definitions/app.Response'
  22997. security:
  22998. - ApiKeyAuth: []
  22999. summary: 查询我的团队
  23000. tags:
  23001. - 大连千海金
  23002. /Qhj/QueryMyTeamOrder:
  23003. get:
  23004. parameters:
  23005. - description: 页码
  23006. in: query
  23007. name: page
  23008. type: integer
  23009. - description: 每页条数
  23010. in: query
  23011. name: pagesize
  23012. type: integer
  23013. - description: 用户ID
  23014. in: query
  23015. name: userid
  23016. required: true
  23017. type: integer
  23018. - description: 交易模式
  23019. in: query
  23020. name: trademode
  23021. type: integer
  23022. - description: 名称(模糊搜索账户)
  23023. in: query
  23024. name: filtername
  23025. type: string
  23026. produces:
  23027. - application/json
  23028. responses:
  23029. "200":
  23030. description: OK
  23031. schema:
  23032. items:
  23033. $ref: '#/definitions/models.QhjTeamOrder'
  23034. type: array
  23035. "500":
  23036. description: Internal Server Error
  23037. schema:
  23038. $ref: '#/definitions/app.Response'
  23039. security:
  23040. - ApiKeyAuth: []
  23041. summary: 查询团队订单(我的团队/团队订单)
  23042. tags:
  23043. - 大连千海金
  23044. /Qhj/QueryParentAreaList:
  23045. get:
  23046. parameters:
  23047. - description: 用户ID
  23048. in: query
  23049. name: userid
  23050. required: true
  23051. type: integer
  23052. produces:
  23053. - application/json
  23054. responses:
  23055. "200":
  23056. description: OK
  23057. schema:
  23058. items:
  23059. $ref: '#/definitions/models.QhjParentAreaList'
  23060. type: array
  23061. "500":
  23062. description: Internal Server Error
  23063. schema:
  23064. $ref: '#/definitions/app.Response'
  23065. security:
  23066. - ApiKeyAuth: []
  23067. summary: 查询所属机构列表
  23068. tags:
  23069. - 大连千海金
  23070. /Qhj/QueryPayOrder:
  23071. get:
  23072. parameters:
  23073. - description: 资金账号id
  23074. in: query
  23075. name: accountid
  23076. required: true
  23077. type: integer
  23078. - description: 成交单号
  23079. in: query
  23080. name: tradeid
  23081. type: integer
  23082. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23083. in: query
  23084. name: payflag
  23085. type: string
  23086. produces:
  23087. - application/json
  23088. responses:
  23089. "200":
  23090. description: OK
  23091. schema:
  23092. items:
  23093. $ref: '#/definitions/models.QhjPayOrder'
  23094. type: array
  23095. "500":
  23096. description: Internal Server Error
  23097. schema:
  23098. $ref: '#/definitions/app.Response'
  23099. security:
  23100. - ApiKeyAuth: []
  23101. summary: 查询待付款单据
  23102. tags:
  23103. - 大连千海金
  23104. /Qhj/QueryPickArea:
  23105. get:
  23106. parameters:
  23107. - description: 用户ID
  23108. in: query
  23109. name: userid
  23110. type: integer
  23111. produces:
  23112. - application/json
  23113. responses:
  23114. "200":
  23115. description: OK
  23116. schema:
  23117. items:
  23118. $ref: '#/definitions/models.QhjPickArea'
  23119. type: array
  23120. "500":
  23121. description: Internal Server Error
  23122. schema:
  23123. $ref: '#/definitions/app.Response'
  23124. security:
  23125. - ApiKeyAuth: []
  23126. summary: 查询提货门店
  23127. tags:
  23128. - 大连千海金
  23129. /Qhj/QueryPickGoods:
  23130. get:
  23131. parameters:
  23132. - description: 交易商品id
  23133. in: query
  23134. name: goodsid
  23135. required: true
  23136. type: integer
  23137. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23138. in: query
  23139. name: status
  23140. type: string
  23141. produces:
  23142. - application/json
  23143. responses:
  23144. "200":
  23145. description: OK
  23146. schema:
  23147. items:
  23148. $ref: '#/definitions/models.QhjPickGoods'
  23149. type: array
  23150. "500":
  23151. description: Internal Server Error
  23152. schema:
  23153. $ref: '#/definitions/app.Response'
  23154. security:
  23155. - ApiKeyAuth: []
  23156. summary: 查询提货商品
  23157. tags:
  23158. - 大连千海金
  23159. /Qhj/QueryRSTriggerLog:
  23160. get:
  23161. parameters:
  23162. - description: 用户ID
  23163. in: query
  23164. name: userid
  23165. type: integer
  23166. - description: 定投策略id
  23167. in: query
  23168. name: regularlystrategyid
  23169. type: integer
  23170. - description: 商品id
  23171. in: query
  23172. name: goodsid
  23173. type: integer
  23174. - description: 开始交易日(yyyymmdd)
  23175. in: query
  23176. name: begindate
  23177. type: string
  23178. - description: 结束交易日(yyyymmdd)
  23179. in: query
  23180. name: enddate
  23181. type: string
  23182. - description: 名称(模糊搜索账户)
  23183. in: query
  23184. name: filtername
  23185. type: string
  23186. produces:
  23187. - application/json
  23188. responses:
  23189. "200":
  23190. description: OK
  23191. schema:
  23192. items:
  23193. $ref: '#/definitions/models.QhjRSTriggerLog'
  23194. type: array
  23195. "500":
  23196. description: Internal Server Error
  23197. schema:
  23198. $ref: '#/definitions/app.Response'
  23199. security:
  23200. - ApiKeyAuth: []
  23201. summary: 查询定投记录(定投管理/详情/定投记录)
  23202. tags:
  23203. - 大连千海金
  23204. /Qhj/QueryRStrategy:
  23205. get:
  23206. parameters:
  23207. - description: 用户ID
  23208. in: query
  23209. name: userid
  23210. type: integer
  23211. - description: 商品id
  23212. in: query
  23213. name: goodsid
  23214. type: integer
  23215. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  23216. in: query
  23217. name: status
  23218. type: string
  23219. - description: 名称(模糊搜索账户)
  23220. in: query
  23221. name: filtername
  23222. type: string
  23223. produces:
  23224. - application/json
  23225. responses:
  23226. "200":
  23227. description: OK
  23228. schema:
  23229. items:
  23230. $ref: '#/definitions/models.QhjRStrategy'
  23231. type: array
  23232. "500":
  23233. description: Internal Server Error
  23234. schema:
  23235. $ref: '#/definitions/app.Response'
  23236. security:
  23237. - ApiKeyAuth: []
  23238. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  23239. tags:
  23240. - 大连千海金
  23241. /Qhj/QueryReckonPriceLog:
  23242. get:
  23243. parameters:
  23244. - description: 商品ID
  23245. in: query
  23246. name: goodsid
  23247. type: integer
  23248. - description: 交易日 格式(yyyymmdd)
  23249. in: query
  23250. name: tradedate
  23251. type: string
  23252. produces:
  23253. - application/json
  23254. responses:
  23255. "200":
  23256. description: OK
  23257. schema:
  23258. items:
  23259. $ref: '#/definitions/models.QhjReckonPriceLog'
  23260. type: array
  23261. "500":
  23262. description: Internal Server Error
  23263. schema:
  23264. $ref: '#/definitions/app.Response'
  23265. security:
  23266. - ApiKeyAuth: []
  23267. summary: 查询定投价(结算价)
  23268. tags:
  23269. - 大连千海金
  23270. /Qhj/QueryScoreLog:
  23271. get:
  23272. parameters:
  23273. - description: 用户ID
  23274. in: query
  23275. name: userid
  23276. required: true
  23277. type: integer
  23278. - description: 开始交易日(yyyymmdd)
  23279. in: query
  23280. name: begindate
  23281. type: string
  23282. - description: 结束交易日(yyyymmdd)
  23283. in: query
  23284. name: enddate
  23285. type: string
  23286. - description: 最近多少条
  23287. in: query
  23288. name: lastnum
  23289. type: integer
  23290. produces:
  23291. - application/json
  23292. responses:
  23293. "200":
  23294. description: OK
  23295. schema:
  23296. items:
  23297. $ref: '#/definitions/models.QhjScoreLog'
  23298. type: array
  23299. "500":
  23300. description: Internal Server Error
  23301. schema:
  23302. $ref: '#/definitions/app.Response'
  23303. security:
  23304. - ApiKeyAuth: []
  23305. summary: 查询积分流水(我的积分)
  23306. tags:
  23307. - 大连千海金
  23308. /Qhj/QuerySiteColumnDetail:
  23309. get:
  23310. parameters:
  23311. - description: 用户ID
  23312. in: query
  23313. name: userid
  23314. required: true
  23315. type: integer
  23316. produces:
  23317. - application/json
  23318. responses:
  23319. "200":
  23320. description: OK
  23321. schema:
  23322. items:
  23323. $ref: '#/definitions/models.QhjSiteColumnDetail'
  23324. type: array
  23325. "500":
  23326. description: Internal Server Error
  23327. schema:
  23328. $ref: '#/definitions/app.Response'
  23329. security:
  23330. - ApiKeyAuth: []
  23331. summary: 查询资讯
  23332. tags:
  23333. - 大连千海金
  23334. /Qhj/QueryTradeGoodsPickup:
  23335. get:
  23336. parameters:
  23337. - description: 用户ID
  23338. in: query
  23339. name: userid
  23340. required: true
  23341. type: integer
  23342. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  23343. in: query
  23344. name: takeorderstatus
  23345. type: integer
  23346. produces:
  23347. - application/json
  23348. responses:
  23349. "200":
  23350. description: OK
  23351. schema:
  23352. items:
  23353. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  23354. type: array
  23355. "500":
  23356. description: Internal Server Error
  23357. schema:
  23358. $ref: '#/definitions/app.Response'
  23359. security:
  23360. - ApiKeyAuth: []
  23361. summary: 查询提货
  23362. tags:
  23363. - 大连千海金
  23364. /Qhj/QueryUserCollectConfig:
  23365. get:
  23366. parameters:
  23367. - description: 用户ID
  23368. in: query
  23369. name: userid
  23370. required: true
  23371. type: integer
  23372. produces:
  23373. - application/json
  23374. responses:
  23375. "200":
  23376. description: OK
  23377. schema:
  23378. items:
  23379. $ref: '#/definitions/models.UserCollectConfig'
  23380. type: array
  23381. "500":
  23382. description: Internal Server Error
  23383. schema:
  23384. $ref: '#/definitions/app.Response'
  23385. security:
  23386. - ApiKeyAuth: []
  23387. summary: 查询提现账户设置
  23388. tags:
  23389. - 大连千海金
  23390. /Qhj/QueryUserReceiveInfo:
  23391. get:
  23392. parameters:
  23393. - description: 用户ID
  23394. in: query
  23395. name: userid
  23396. required: true
  23397. type: integer
  23398. produces:
  23399. - application/json
  23400. responses:
  23401. "200":
  23402. description: OK
  23403. schema:
  23404. items:
  23405. $ref: '#/definitions/models.UserReceiveInfo'
  23406. type: array
  23407. "500":
  23408. description: Internal Server Error
  23409. schema:
  23410. $ref: '#/definitions/app.Response'
  23411. security:
  23412. - ApiKeyAuth: []
  23413. summary: 查询收货地址信息
  23414. tags:
  23415. - 大连千海金
  23416. /QhjMgr/QueryAccountInOutApply:
  23417. get:
  23418. parameters:
  23419. - description: 查询类型 1-提现(出金) 2-充值(出金)
  23420. in: query
  23421. name: querytype
  23422. required: true
  23423. type: integer
  23424. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  23425. in: query
  23426. name: applystatus
  23427. type: integer
  23428. - description: 申请起始日期(格式yyyymmdd)
  23429. in: query
  23430. name: begindate
  23431. type: string
  23432. - description: 申请截止日期(格式yyyymmdd)
  23433. in: query
  23434. name: enddate
  23435. type: string
  23436. - description: 模糊搜索名称
  23437. in: query
  23438. name: likename
  23439. type: string
  23440. produces:
  23441. - application/json
  23442. responses:
  23443. "200":
  23444. description: OK
  23445. schema:
  23446. items:
  23447. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  23448. type: array
  23449. "500":
  23450. description: Internal Server Error
  23451. schema:
  23452. $ref: '#/definitions/app.Response'
  23453. security:
  23454. - ApiKeyAuth: []
  23455. summary: 查询充值提现
  23456. tags:
  23457. - 大连千海金(PCWeb)
  23458. /QhjMgr/QueryBrokerApply:
  23459. get:
  23460. parameters:
  23461. - description: 所属机构ID
  23462. in: query
  23463. name: userid
  23464. type: integer
  23465. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23466. in: query
  23467. name: filterstatus
  23468. type: string
  23469. - description: 名称(模糊匹配)
  23470. in: query
  23471. name: filtername
  23472. type: string
  23473. - description: 是否包含子级 1-包含
  23474. in: query
  23475. name: includesub
  23476. type: integer
  23477. produces:
  23478. - application/json
  23479. responses:
  23480. "200":
  23481. description: OK
  23482. schema:
  23483. items:
  23484. $ref: '#/definitions/models.QhjMgrBrokerApply'
  23485. type: array
  23486. "500":
  23487. description: Internal Server Error
  23488. schema:
  23489. $ref: '#/definitions/app.Response'
  23490. security:
  23491. - ApiKeyAuth: []
  23492. summary: 查询经纪人申请
  23493. tags:
  23494. - 大连千海金(PCWeb)
  23495. /QhjMgr/QueryBrokerRewardReport:
  23496. get:
  23497. parameters:
  23498. - description: 所属机构ID
  23499. in: query
  23500. name: userid
  23501. required: true
  23502. type: integer
  23503. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23504. in: query
  23505. name: cycletype
  23506. required: true
  23507. type: integer
  23508. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  23509. in: query
  23510. name: cycletime
  23511. required: true
  23512. type: string
  23513. - description: 名称(模糊匹配)
  23514. in: query
  23515. name: filtername
  23516. type: string
  23517. - description: 是否包含子级 1-包含
  23518. in: query
  23519. name: includesub
  23520. type: integer
  23521. produces:
  23522. - application/json
  23523. responses:
  23524. "200":
  23525. description: OK
  23526. schema:
  23527. items:
  23528. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  23529. type: array
  23530. "500":
  23531. description: Internal Server Error
  23532. schema:
  23533. $ref: '#/definitions/app.Response'
  23534. security:
  23535. - ApiKeyAuth: []
  23536. summary: 查询经纪人奖励报表(废弃)
  23537. tags:
  23538. - 大连千海金(PCWeb)
  23539. /QhjMgr/QueryContract:
  23540. get:
  23541. parameters:
  23542. - description: 用户ID
  23543. in: query
  23544. name: userid
  23545. type: integer
  23546. - description: 商品id
  23547. in: query
  23548. name: goodsid
  23549. type: integer
  23550. - description: 名称(模糊搜索账户)
  23551. in: query
  23552. name: filtername
  23553. type: string
  23554. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  23555. in: query
  23556. name: risklevel
  23557. type: string
  23558. - description: 开始交易日(yyyymmdd)
  23559. in: query
  23560. name: begindate
  23561. type: string
  23562. - description: 结束交易日(yyyymmdd)
  23563. in: query
  23564. name: enddate
  23565. type: string
  23566. produces:
  23567. - application/json
  23568. responses:
  23569. "200":
  23570. description: OK
  23571. schema:
  23572. items:
  23573. $ref: '#/definitions/models.QhjMgrContract'
  23574. type: array
  23575. "500":
  23576. description: Internal Server Error
  23577. schema:
  23578. $ref: '#/definitions/app.Response'
  23579. security:
  23580. - ApiKeyAuth: []
  23581. summary: 查询融资信息(合同)
  23582. tags:
  23583. - 大连千海金(PCWeb)
  23584. /QhjMgr/QueryCustomerInfo:
  23585. get:
  23586. parameters:
  23587. - description: 用户ID
  23588. in: query
  23589. name: userid
  23590. required: true
  23591. type: integer
  23592. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23593. in: query
  23594. name: querytype
  23595. required: true
  23596. type: integer
  23597. - description: 客户类型 1-个人 2-企业
  23598. in: query
  23599. name: userinfotype
  23600. type: integer
  23601. - description: 客户名称(模糊匹配)
  23602. in: query
  23603. name: customername
  23604. type: string
  23605. - description: 昵称(模糊匹配)
  23606. in: query
  23607. name: nickname
  23608. type: string
  23609. - description: 所属客户经理(模糊匹配)
  23610. in: query
  23611. name: brokername
  23612. type: string
  23613. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  23614. in: query
  23615. name: birthday
  23616. type: string
  23617. - description: 是否包含子级 1-包含
  23618. in: query
  23619. name: includesub
  23620. type: integer
  23621. produces:
  23622. - application/json
  23623. responses:
  23624. "200":
  23625. description: OK
  23626. schema:
  23627. items:
  23628. $ref: '#/definitions/models.QhjMgrCustomer'
  23629. type: array
  23630. "500":
  23631. description: Internal Server Error
  23632. schema:
  23633. $ref: '#/definitions/app.Response'
  23634. security:
  23635. - ApiKeyAuth: []
  23636. summary: 查询客户资料
  23637. tags:
  23638. - 大连千海金(PCWeb)
  23639. /QhjMgr/QueryPickGoods:
  23640. get:
  23641. parameters:
  23642. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23643. in: query
  23644. name: status
  23645. type: string
  23646. produces:
  23647. - application/json
  23648. responses:
  23649. "200":
  23650. description: OK
  23651. schema:
  23652. items:
  23653. $ref: '#/definitions/models.QhjMgrPickGoods'
  23654. type: array
  23655. "500":
  23656. description: Internal Server Error
  23657. schema:
  23658. $ref: '#/definitions/app.Response'
  23659. security:
  23660. - ApiKeyAuth: []
  23661. summary: 查询提货商品
  23662. tags:
  23663. - 大连千海金(PCWeb)
  23664. /QhjMgr/QuerySubArea:
  23665. get:
  23666. parameters:
  23667. - description: 用户ID
  23668. in: query
  23669. name: userid
  23670. required: true
  23671. type: integer
  23672. produces:
  23673. - application/json
  23674. responses:
  23675. "200":
  23676. description: OK
  23677. schema:
  23678. items:
  23679. $ref: '#/definitions/models.QhjMgrSubArea'
  23680. type: array
  23681. "500":
  23682. description: Internal Server Error
  23683. schema:
  23684. $ref: '#/definitions/app.Response'
  23685. security:
  23686. - ApiKeyAuth: []
  23687. summary: 查询子机构列表
  23688. tags:
  23689. - 大连千海金(PCWeb)
  23690. /QhjMgr/QueryTradeDetail:
  23691. get:
  23692. parameters:
  23693. - description: 用户ID
  23694. in: query
  23695. name: userid
  23696. required: true
  23697. type: integer
  23698. - description: 用户类型 1-个人 2-企业
  23699. in: query
  23700. name: userinfotype
  23701. type: integer
  23702. - description: 交易模式
  23703. in: query
  23704. name: trademode
  23705. type: integer
  23706. - description: 商品id
  23707. in: query
  23708. name: goodsid
  23709. type: integer
  23710. - description: 名称(模糊搜索账户)
  23711. in: query
  23712. name: filtername
  23713. type: string
  23714. - description: 开始交易日(yyyymmdd)
  23715. in: query
  23716. name: begindate
  23717. type: string
  23718. - description: 结束交易日(yyyymmdd)
  23719. in: query
  23720. name: enddate
  23721. type: string
  23722. - description: 是否包含子级 1-包含
  23723. in: query
  23724. name: includesub
  23725. type: integer
  23726. produces:
  23727. - application/json
  23728. responses:
  23729. "200":
  23730. description: OK
  23731. schema:
  23732. items:
  23733. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  23734. type: array
  23735. "500":
  23736. description: Internal Server Error
  23737. schema:
  23738. $ref: '#/definitions/app.Response'
  23739. security:
  23740. - ApiKeyAuth: []
  23741. summary: 查询成交明细
  23742. tags:
  23743. - 大连千海金(PCWeb)
  23744. /QhjMgr/QueryTradeOrderDetail:
  23745. get:
  23746. parameters:
  23747. - description: 用户ID
  23748. in: query
  23749. name: userid
  23750. required: true
  23751. type: integer
  23752. - description: 用户类型 1-个人 2-企业
  23753. in: query
  23754. name: userinfotype
  23755. type: integer
  23756. - description: 交易模式
  23757. in: query
  23758. name: trademode
  23759. type: integer
  23760. - description: 商品id
  23761. in: query
  23762. name: goodsid
  23763. type: integer
  23764. - description: 名称(模糊搜索账户)
  23765. in: query
  23766. name: filtername
  23767. type: string
  23768. - description: 开始交易日(yyyymmdd)
  23769. in: query
  23770. name: begindate
  23771. type: string
  23772. - description: 结束交易日(yyyymmdd)
  23773. in: query
  23774. name: enddate
  23775. type: string
  23776. - description: 是否包含子级 1-包含
  23777. in: query
  23778. name: includesub
  23779. type: integer
  23780. produces:
  23781. - application/json
  23782. responses:
  23783. "200":
  23784. description: OK
  23785. schema:
  23786. items:
  23787. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23788. type: array
  23789. "500":
  23790. description: Internal Server Error
  23791. schema:
  23792. $ref: '#/definitions/app.Response'
  23793. security:
  23794. - ApiKeyAuth: []
  23795. summary: 查询委托明细
  23796. tags:
  23797. - 大连千海金(PCWeb)
  23798. /QhjMgr/QueryTradePayOrder:
  23799. get:
  23800. parameters:
  23801. - description: 用户ID
  23802. in: query
  23803. name: userid
  23804. required: true
  23805. type: integer
  23806. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23807. in: query
  23808. name: payflag
  23809. type: string
  23810. - description: 用户类型 1-个人 2-企业
  23811. in: query
  23812. name: userinfotype
  23813. type: integer
  23814. - description: 交易模式
  23815. in: query
  23816. name: trademode
  23817. type: integer
  23818. - description: 商品id
  23819. in: query
  23820. name: goodsid
  23821. type: integer
  23822. - description: 名称(模糊搜索账户)
  23823. in: query
  23824. name: filtername
  23825. type: string
  23826. - description: 开始交易日(yyyymmdd)
  23827. in: query
  23828. name: begindate
  23829. type: string
  23830. - description: 结束交易日(yyyymmdd)
  23831. in: query
  23832. name: enddate
  23833. type: string
  23834. - description: 是否包含子级 1-包含
  23835. in: query
  23836. name: includesub
  23837. type: integer
  23838. produces:
  23839. - application/json
  23840. responses:
  23841. "200":
  23842. description: OK
  23843. schema:
  23844. items:
  23845. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  23846. type: array
  23847. "500":
  23848. description: Internal Server Error
  23849. schema:
  23850. $ref: '#/definitions/app.Response'
  23851. security:
  23852. - ApiKeyAuth: []
  23853. summary: 查询待付款单
  23854. tags:
  23855. - 大连千海金(PCWeb)
  23856. /QhjMgr/QueryTradePosition:
  23857. get:
  23858. parameters:
  23859. - description: 用户ID
  23860. in: query
  23861. name: userid
  23862. required: true
  23863. type: integer
  23864. - description: 用户类型 1-个人 2-企业
  23865. in: query
  23866. name: userinfotype
  23867. type: integer
  23868. - description: 交易模式
  23869. in: query
  23870. name: trademode
  23871. type: integer
  23872. - description: 商品id
  23873. in: query
  23874. name: goodsid
  23875. type: integer
  23876. - description: 名称(模糊搜索账户)
  23877. in: query
  23878. name: filtername
  23879. type: string
  23880. - description: 是否包含子级 1-包含
  23881. in: query
  23882. name: includesub
  23883. type: integer
  23884. produces:
  23885. - application/json
  23886. responses:
  23887. "200":
  23888. description: OK
  23889. schema:
  23890. items:
  23891. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23892. type: array
  23893. "500":
  23894. description: Internal Server Error
  23895. schema:
  23896. $ref: '#/definitions/app.Response'
  23897. security:
  23898. - ApiKeyAuth: []
  23899. summary: 查询持仓汇总
  23900. tags:
  23901. - 大连千海金(PCWeb)
  23902. /QhjSys/QueryAgreementChangeLog:
  23903. get:
  23904. parameters:
  23905. - description: 协议ID
  23906. in: query
  23907. name: agreementid
  23908. type: integer
  23909. - description: 协议版本号
  23910. in: query
  23911. name: agreementversion
  23912. type: integer
  23913. - description: 协议类型 - 1:注册 2:登录 3:交易
  23914. in: query
  23915. name: agreementtype
  23916. type: integer
  23917. - description: 协议编号(模糊匹配)
  23918. in: query
  23919. name: agreementno
  23920. type: string
  23921. - description: 协议名称(模糊匹配)
  23922. in: query
  23923. name: agreementname
  23924. type: string
  23925. produces:
  23926. - application/json
  23927. responses:
  23928. "200":
  23929. description: OK
  23930. schema:
  23931. items:
  23932. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23933. type: array
  23934. "500":
  23935. description: Internal Server Error
  23936. schema:
  23937. $ref: '#/definitions/app.Response'
  23938. security:
  23939. - ApiKeyAuth: []
  23940. summary: 查询协议配置变更流水
  23941. tags:
  23942. - 大连千海金(协议和签约信息)
  23943. /QhjSys/QueryAgreementConfig:
  23944. get:
  23945. parameters:
  23946. - description: 协议ID
  23947. in: query
  23948. name: agreementid
  23949. type: integer
  23950. - description: 协议版本号
  23951. in: query
  23952. name: agreementversion
  23953. type: integer
  23954. - description: 协议类型 - 1:注册 2:登录 3:交易
  23955. in: query
  23956. name: agreementtype
  23957. type: integer
  23958. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23959. in: query
  23960. name: isvalid
  23961. type: integer
  23962. - description: 协议编号(模糊匹配)
  23963. in: query
  23964. name: agreementno
  23965. type: string
  23966. - description: 协议名称(模糊匹配)
  23967. in: query
  23968. name: agreementname
  23969. type: string
  23970. produces:
  23971. - application/json
  23972. responses:
  23973. "200":
  23974. description: OK
  23975. schema:
  23976. items:
  23977. $ref: '#/definitions/models.QhjAgreementConfig'
  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. - 大连千海金(协议和签约信息)
  23988. /QhjSys/QueryCustomerSignStatus:
  23989. get:
  23990. parameters:
  23991. - description: 客户ID
  23992. in: query
  23993. name: userid
  23994. type: integer
  23995. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23996. in: query
  23997. name: nodetype
  23998. type: integer
  23999. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24000. in: query
  24001. name: goodsid
  24002. type: integer
  24003. - description: 创建交易日(yyyyMMdd)
  24004. in: query
  24005. name: tradedate
  24006. type: string
  24007. - description: 用户名称(模糊匹配)
  24008. in: query
  24009. name: username
  24010. type: string
  24011. produces:
  24012. - application/json
  24013. responses:
  24014. "200":
  24015. description: OK
  24016. schema:
  24017. items:
  24018. $ref: '#/definitions/models.QhjCustomerSignStatus'
  24019. type: array
  24020. "500":
  24021. description: Internal Server Error
  24022. schema:
  24023. $ref: '#/definitions/app.Response'
  24024. security:
  24025. - ApiKeyAuth: []
  24026. summary: 查询客户协议签约状态
  24027. tags:
  24028. - 大连千海金(协议和签约信息)
  24029. /QhjSys/QueryNodeAgreementConfig:
  24030. get:
  24031. parameters:
  24032. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24033. in: query
  24034. name: configid
  24035. type: integer
  24036. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24037. in: query
  24038. name: nodetype
  24039. type: integer
  24040. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24041. in: query
  24042. name: goodsid
  24043. type: integer
  24044. - description: 协议ID
  24045. in: query
  24046. name: agreementid
  24047. type: integer
  24048. - description: 协议类型 - 1:注册 2:登录 3:交易
  24049. in: query
  24050. name: agreementtype
  24051. type: integer
  24052. - description: 协议版本号
  24053. in: query
  24054. name: agreementversion
  24055. type: integer
  24056. - description: 协议编号(模糊匹配)
  24057. in: query
  24058. name: agreementno
  24059. type: string
  24060. - description: 协议名称(模糊匹配)
  24061. in: query
  24062. name: agreementname
  24063. type: string
  24064. produces:
  24065. - application/json
  24066. responses:
  24067. "200":
  24068. description: OK
  24069. schema:
  24070. items:
  24071. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  24072. type: array
  24073. "500":
  24074. description: Internal Server Error
  24075. schema:
  24076. $ref: '#/definitions/app.Response'
  24077. security:
  24078. - ApiKeyAuth: []
  24079. summary: 查询协议节点配置
  24080. tags:
  24081. - 大连千海金(协议和签约信息)
  24082. /QhjSys/QueryQhjCustomerSignLog:
  24083. get:
  24084. parameters:
  24085. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  24086. in: query
  24087. name: logid
  24088. type: integer
  24089. - description: 客户ID
  24090. in: query
  24091. name: userid
  24092. type: integer
  24093. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24094. in: query
  24095. name: nodetype
  24096. type: integer
  24097. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24098. in: query
  24099. name: goodsid
  24100. type: integer
  24101. - description: 协议ID
  24102. in: query
  24103. name: agreementid
  24104. type: integer
  24105. - description: 用户名称(模糊匹配)
  24106. in: query
  24107. name: username
  24108. type: string
  24109. - description: 协议编号(模糊匹配)
  24110. in: query
  24111. name: agreementno
  24112. type: string
  24113. - description: 协议名称(模糊匹配)
  24114. in: query
  24115. name: agreementname
  24116. type: string
  24117. produces:
  24118. - application/json
  24119. responses:
  24120. "200":
  24121. description: OK
  24122. schema:
  24123. items:
  24124. $ref: '#/definitions/models.QhjCustomerSignLog'
  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. - 大连千海金(协议和签约信息)
  24135. /QhjSys/QueryUserNodeCfgAndStatus:
  24136. get:
  24137. parameters:
  24138. - description: 客户ID
  24139. in: query
  24140. name: userid
  24141. type: integer
  24142. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24143. in: query
  24144. name: configid
  24145. type: integer
  24146. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24147. in: query
  24148. name: nodetype
  24149. type: string
  24150. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24151. in: query
  24152. name: goodsid
  24153. type: integer
  24154. - description: 协议ID
  24155. in: query
  24156. name: agreementid
  24157. type: integer
  24158. - description: 协议类型 - 1:注册 2:登录 3:交易
  24159. in: query
  24160. name: agreementtype
  24161. type: integer
  24162. - description: 协议版本号
  24163. in: query
  24164. name: agreementversion
  24165. type: integer
  24166. - description: 协议编号(模糊匹配)
  24167. in: query
  24168. name: agreementno
  24169. type: string
  24170. - description: 协议名称(模糊匹配)
  24171. in: query
  24172. name: agreementname
  24173. type: string
  24174. produces:
  24175. - application/json
  24176. responses:
  24177. "200":
  24178. description: OK
  24179. schema:
  24180. items:
  24181. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  24182. type: array
  24183. "500":
  24184. description: Internal Server Error
  24185. schema:
  24186. $ref: '#/definitions/app.Response'
  24187. security:
  24188. - ApiKeyAuth: []
  24189. summary: 查询用户协议节点配置和状态
  24190. tags:
  24191. - 大连千海金(协议和签约信息)
  24192. /Quote/QueryHistoryDatas:
  24193. get:
  24194. parameters:
  24195. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  24196. in: query
  24197. name: cycleType
  24198. required: true
  24199. type: integer
  24200. - description: 商品代码
  24201. in: query
  24202. name: goodsCode
  24203. required: true
  24204. type: string
  24205. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24206. in: query
  24207. name: startTime
  24208. type: string
  24209. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24210. in: query
  24211. name: endTime
  24212. type: string
  24213. - description: 条数
  24214. in: query
  24215. name: count
  24216. type: integer
  24217. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24218. in: query
  24219. name: isAsc
  24220. type: boolean
  24221. produces:
  24222. - application/json
  24223. responses:
  24224. "200":
  24225. description: OK
  24226. schema:
  24227. $ref: '#/definitions/quote.HistoryData'
  24228. "500":
  24229. description: Internal Server Error
  24230. schema:
  24231. $ref: '#/definitions/app.Response'
  24232. security:
  24233. - ApiKeyAuth: []
  24234. summary: 查询行情历史数据
  24235. tags:
  24236. - 行情服务
  24237. /Quote/QueryHistoryTikDatas:
  24238. get:
  24239. parameters:
  24240. - description: 商品代码
  24241. in: query
  24242. name: goodsCode
  24243. required: true
  24244. type: string
  24245. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24246. in: query
  24247. name: startTime
  24248. type: string
  24249. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24250. in: query
  24251. name: endTime
  24252. type: string
  24253. - description: 条数
  24254. in: query
  24255. name: count
  24256. type: integer
  24257. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24258. in: query
  24259. name: isAsc
  24260. type: boolean
  24261. produces:
  24262. - application/json
  24263. responses:
  24264. "200":
  24265. description: OK
  24266. schema:
  24267. $ref: '#/definitions/quote.HistoryTikData'
  24268. "500":
  24269. description: Internal Server Error
  24270. schema:
  24271. $ref: '#/definitions/app.Response'
  24272. security:
  24273. - ApiKeyAuth: []
  24274. summary: 查询行情Tik数据
  24275. tags:
  24276. - 行情服务
  24277. /Quote/QueryQuoteDay:
  24278. get:
  24279. parameters:
  24280. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  24281. in: query
  24282. name: goodsCodes
  24283. required: true
  24284. type: string
  24285. produces:
  24286. - application/json
  24287. responses:
  24288. "200":
  24289. description: OK
  24290. schema:
  24291. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24292. "500":
  24293. description: Internal Server Error
  24294. schema:
  24295. $ref: '#/definitions/app.Response'
  24296. security:
  24297. - ApiKeyAuth: []
  24298. summary: 获取商品盘面信息
  24299. tags:
  24300. - 行情服务
  24301. /Quote/QueryTSData:
  24302. get:
  24303. parameters:
  24304. - description: 商品代码
  24305. in: query
  24306. name: goodsCode
  24307. required: true
  24308. type: string
  24309. produces:
  24310. - application/json
  24311. responses:
  24312. "200":
  24313. description: OK
  24314. schema:
  24315. $ref: '#/definitions/quote.QueryTSDataRsp'
  24316. "500":
  24317. description: Internal Server Error
  24318. schema:
  24319. $ref: '#/definitions/app.Response'
  24320. security:
  24321. - ApiKeyAuth: []
  24322. summary: 分时图数据查询
  24323. tags:
  24324. - 行情服务
  24325. /SZDZ/QueryConvertConfig:
  24326. get:
  24327. parameters:
  24328. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  24329. in: query
  24330. name: convertType
  24331. type: integer
  24332. - description: 外部商品代码[JD\PD]
  24333. in: query
  24334. name: outerGoodsCode
  24335. type: string
  24336. - description: 内部商品ID列表[交易],格式:1,2,3
  24337. in: query
  24338. name: innerGoodsIDs
  24339. type: string
  24340. produces:
  24341. - application/json
  24342. responses:
  24343. "200":
  24344. description: OK
  24345. schema:
  24346. $ref: '#/definitions/models.Szdz3convertconfig'
  24347. "500":
  24348. description: Internal Server Error
  24349. schema:
  24350. $ref: '#/definitions/app.Response'
  24351. security:
  24352. - ApiKeyAuth: []
  24353. summary: 查询交易系统转换设置
  24354. tags:
  24355. - 定制【尚志大宗】
  24356. /SZDZ/QueryConvertLog:
  24357. get:
  24358. parameters:
  24359. - description: 资金账户 - 格式:1,2,3
  24360. in: query
  24361. name: accountID
  24362. required: true
  24363. type: string
  24364. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24365. in: query
  24366. name: startDate
  24367. type: string
  24368. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24369. in: query
  24370. name: endDate
  24371. type: string
  24372. produces:
  24373. - application/json
  24374. responses:
  24375. "200":
  24376. description: OK
  24377. schema:
  24378. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24379. "500":
  24380. description: Internal Server Error
  24381. schema:
  24382. $ref: '#/definitions/app.Response'
  24383. security:
  24384. - ApiKeyAuth: []
  24385. summary: 交易系统转换流水查询
  24386. tags:
  24387. - 定制【尚志大宗】
  24388. /SZDZ/QueryGoodsPickup:
  24389. get:
  24390. parameters:
  24391. - description: 资金账户 - 格式:1,2,3
  24392. in: query
  24393. name: accountID
  24394. required: true
  24395. type: string
  24396. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24397. in: query
  24398. name: takeOrderStatus
  24399. type: integer
  24400. produces:
  24401. - application/json
  24402. responses:
  24403. "200":
  24404. description: OK
  24405. schema:
  24406. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24407. "500":
  24408. description: Internal Server Error
  24409. schema:
  24410. $ref: '#/definitions/app.Response'
  24411. security:
  24412. - ApiKeyAuth: []
  24413. summary: 商品提货单查询
  24414. tags:
  24415. - 定制【尚志大宗】
  24416. /SZDZ/QueryRecieptOrder:
  24417. get:
  24418. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24419. parameters:
  24420. - description: 页码
  24421. in: query
  24422. name: page
  24423. type: integer
  24424. - description: 每页条数
  24425. in: query
  24426. name: pagesize
  24427. type: integer
  24428. - description: 商品ID
  24429. in: query
  24430. name: goodsID
  24431. required: true
  24432. type: integer
  24433. - description: 所属账户名称
  24434. in: query
  24435. name: accountName
  24436. type: string
  24437. - description: 市场ID
  24438. in: query
  24439. name: marketID
  24440. type: integer
  24441. - description: 方向 - 0:买 1:卖
  24442. in: query
  24443. name: buyorsell
  24444. required: true
  24445. type: integer
  24446. produces:
  24447. - application/json
  24448. responses:
  24449. "200":
  24450. description: OK
  24451. schema:
  24452. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24453. "500":
  24454. description: Internal Server Error
  24455. schema:
  24456. $ref: '#/definitions/app.Response'
  24457. security:
  24458. - ApiKeyAuth: []
  24459. summary: 点选挂牌委托单据查询(摘牌大厅)
  24460. tags:
  24461. - 定制【尚志大宗】
  24462. /SZDZ/QuerySZDZTradePosition:
  24463. get:
  24464. parameters:
  24465. - description: 资金账户
  24466. in: query
  24467. name: accountID
  24468. required: true
  24469. type: integer
  24470. produces:
  24471. - application/json
  24472. responses:
  24473. "200":
  24474. description: OK
  24475. schema:
  24476. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24477. "500":
  24478. description: Internal Server Error
  24479. schema:
  24480. $ref: '#/definitions/app.Response'
  24481. security:
  24482. - ApiKeyAuth: []
  24483. summary: 持仓汇总查询(尚志大宗)
  24484. tags:
  24485. - 定制【尚志大宗】
  24486. /SZDZ/SearchWhite:
  24487. get:
  24488. parameters:
  24489. - description: 用户ID
  24490. in: query
  24491. name: userID
  24492. required: true
  24493. type: integer
  24494. produces:
  24495. - application/json
  24496. responses:
  24497. "200":
  24498. description: OK
  24499. schema:
  24500. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24501. "500":
  24502. description: Internal Server Error
  24503. schema:
  24504. $ref: '#/definitions/app.Response'
  24505. security:
  24506. - ApiKeyAuth: []
  24507. summary: 搜索白名单
  24508. tags:
  24509. - 定制【尚志大宗】
  24510. /Search/SearchGoodses:
  24511. get:
  24512. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24513. parameters:
  24514. - description: 检索内容
  24515. in: query
  24516. name: content
  24517. required: true
  24518. type: string
  24519. - description: 交易模式,格式:1,2,3
  24520. in: query
  24521. name: tradeModes
  24522. type: string
  24523. produces:
  24524. - application/json
  24525. responses:
  24526. "200":
  24527. description: OK
  24528. schema:
  24529. $ref: '#/definitions/models.SearchGoods'
  24530. "500":
  24531. description: Internal Server Error
  24532. schema:
  24533. $ref: '#/definitions/app.Response'
  24534. summary: 检索商品信息
  24535. tags:
  24536. - 检索服务
  24537. /TaAccount/GetTaAccounts:
  24538. get:
  24539. parameters:
  24540. - description: 登录账户
  24541. in: query
  24542. name: loginID
  24543. required: true
  24544. type: integer
  24545. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24546. in: query
  24547. name: taAccountType
  24548. type: integer
  24549. produces:
  24550. - application/json
  24551. responses:
  24552. "200":
  24553. description: OK
  24554. schema:
  24555. $ref: '#/definitions/models.Taaccount'
  24556. "500":
  24557. description: Internal Server Error
  24558. schema:
  24559. $ref: '#/definitions/app.Response'
  24560. security:
  24561. - ApiKeyAuth: []
  24562. summary: 获取资金账户信息
  24563. tags:
  24564. - 资金账户
  24565. /TaAccount/QueryAmountLog:
  24566. get:
  24567. parameters:
  24568. - description: 页码
  24569. in: query
  24570. name: page
  24571. type: integer
  24572. - description: 每页条数
  24573. in: query
  24574. name: pagesize
  24575. type: integer
  24576. - description: 资金账户 - 格式:1,2,3
  24577. in: query
  24578. name: accountID
  24579. required: true
  24580. type: string
  24581. - description: 资金操作类型 - 格式:1,2,3
  24582. in: query
  24583. name: OperateType
  24584. type: string
  24585. produces:
  24586. - application/json
  24587. responses:
  24588. "200":
  24589. description: OK
  24590. schema:
  24591. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24592. "500":
  24593. description: Internal Server Error
  24594. schema:
  24595. $ref: '#/definitions/app.Response'
  24596. security:
  24597. - ApiKeyAuth: []
  24598. summary: 资金流水查询(当前)
  24599. tags:
  24600. - 资金账户
  24601. /TaAccount/QueryHisAmountLog:
  24602. get:
  24603. parameters:
  24604. - description: 页码
  24605. in: query
  24606. name: page
  24607. type: integer
  24608. - description: 每页条数
  24609. in: query
  24610. name: pagesize
  24611. type: integer
  24612. - description: 资金账户 - 格式:1,2,3
  24613. in: query
  24614. name: accountID
  24615. required: true
  24616. type: string
  24617. - description: 资金操作类型 - 格式:1,2,3
  24618. in: query
  24619. name: OperateType
  24620. type: string
  24621. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24622. in: query
  24623. name: startDate
  24624. type: string
  24625. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24626. in: query
  24627. name: endDate
  24628. type: string
  24629. produces:
  24630. - application/json
  24631. responses:
  24632. "200":
  24633. description: OK
  24634. schema:
  24635. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24636. "500":
  24637. description: Internal Server Error
  24638. schema:
  24639. $ref: '#/definitions/app.Response'
  24640. security:
  24641. - ApiKeyAuth: []
  24642. summary: 资金流水查询(历史)
  24643. tags:
  24644. - 资金账户
  24645. /Tjmd/QueryQuoteGoodsList:
  24646. get:
  24647. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  24648. parameters:
  24649. - description: 用户类型
  24650. in: query
  24651. name: usertype
  24652. required: true
  24653. type: integer
  24654. - description: 市场id, 格式 1,2,3
  24655. in: query
  24656. name: marketids
  24657. type: string
  24658. - description: 商品组id
  24659. in: query
  24660. name: goodsgroupid
  24661. type: integer
  24662. - description: 商品id
  24663. in: query
  24664. name: goodsid
  24665. type: integer
  24666. produces:
  24667. - application/json
  24668. responses:
  24669. "200":
  24670. description: OK
  24671. schema:
  24672. items:
  24673. $ref: '#/definitions/models.TjmdQuoteGoods'
  24674. type: array
  24675. "500":
  24676. description: Internal Server Error
  24677. schema:
  24678. $ref: '#/definitions/app.Response'
  24679. security:
  24680. - ApiKeyAuth: []
  24681. summary: 查询掉期报价列表
  24682. tags:
  24683. - 天津麦顿
  24684. /Tjmd/QueryTjmdTodayAccountMargin:
  24685. get:
  24686. parameters:
  24687. - description: 市场id
  24688. in: query
  24689. name: marketid
  24690. type: string
  24691. - description: 商品id
  24692. in: query
  24693. name: goodsid
  24694. type: string
  24695. - description: 资金账号
  24696. in: query
  24697. name: accountid
  24698. type: string
  24699. produces:
  24700. - application/json
  24701. responses:
  24702. "200":
  24703. description: OK
  24704. schema:
  24705. items:
  24706. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  24707. type: array
  24708. "500":
  24709. description: Internal Server Error
  24710. schema:
  24711. $ref: '#/definitions/app.Response'
  24712. security:
  24713. - ApiKeyAuth: []
  24714. summary: 查询今日账户保证金配置
  24715. tags:
  24716. - 天津麦顿
  24717. /Tjmd/QueryTjmdTradeOrderDetail:
  24718. get:
  24719. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  24720. parameters:
  24721. - description: 页码
  24722. in: query
  24723. name: page
  24724. type: integer
  24725. - description: 每页条数
  24726. in: query
  24727. name: pagesize
  24728. type: integer
  24729. - description: 用户id
  24730. in: query
  24731. name: userid
  24732. required: true
  24733. type: integer
  24734. - description: 用户类型
  24735. in: query
  24736. name: usertype
  24737. required: true
  24738. type: integer
  24739. - description: 市场id, 格式 1,2,3
  24740. in: query
  24741. name: marketids
  24742. type: string
  24743. - description: 商品id
  24744. in: query
  24745. name: goodsid
  24746. required: true
  24747. type: integer
  24748. - description: 买卖方向 0-买 1-卖
  24749. in: query
  24750. name: buyorsell
  24751. required: true
  24752. type: integer
  24753. produces:
  24754. - application/json
  24755. responses:
  24756. "200":
  24757. description: OK
  24758. schema:
  24759. items:
  24760. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  24761. type: array
  24762. "500":
  24763. description: Internal Server Error
  24764. schema:
  24765. $ref: '#/definitions/app.Response'
  24766. security:
  24767. - ApiKeyAuth: []
  24768. summary: 查询掉期买卖大厅
  24769. tags:
  24770. - 天津麦顿
  24771. /Tjmd/QueryTjmdTransferApply:
  24772. get:
  24773. parameters:
  24774. - description: 类型 1-我的申请 2-对方申请
  24775. in: query
  24776. name: applytype
  24777. required: true
  24778. type: integer
  24779. - description: 市场id, 格式 1,2,3
  24780. in: query
  24781. name: marketids
  24782. type: string
  24783. - description: 资金账号, 格式 25000000001,25000000003
  24784. in: query
  24785. name: accountids
  24786. type: string
  24787. produces:
  24788. - application/json
  24789. responses:
  24790. "200":
  24791. description: OK
  24792. schema:
  24793. items:
  24794. $ref: '#/definitions/models.TjmdTransferApply'
  24795. type: array
  24796. "500":
  24797. description: Internal Server Error
  24798. schema:
  24799. $ref: '#/definitions/app.Response'
  24800. security:
  24801. - ApiKeyAuth: []
  24802. summary: 查询掉期协议单
  24803. tags:
  24804. - 天津麦顿
  24805. /Trade/QueryRecieptOrder:
  24806. get:
  24807. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24808. parameters:
  24809. - description: 页码
  24810. in: query
  24811. name: page
  24812. type: integer
  24813. - description: 每页条数
  24814. in: query
  24815. name: pagesize
  24816. type: integer
  24817. - description: 商品ID
  24818. in: query
  24819. name: goodsID
  24820. required: true
  24821. type: integer
  24822. - description: 所属账户名称
  24823. in: query
  24824. name: accountName
  24825. type: string
  24826. - description: 市场ID
  24827. in: query
  24828. name: marketID
  24829. type: integer
  24830. - description: 方向 - 0:买 1:卖
  24831. in: query
  24832. name: buyorsell
  24833. required: true
  24834. type: integer
  24835. produces:
  24836. - application/json
  24837. responses:
  24838. "200":
  24839. description: OK
  24840. schema:
  24841. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24842. "500":
  24843. description: Internal Server Error
  24844. schema:
  24845. $ref: '#/definitions/app.Response'
  24846. security:
  24847. - ApiKeyAuth: []
  24848. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24849. tags:
  24850. - 通用交易
  24851. /User/AddMessageBoard:
  24852. post:
  24853. parameters:
  24854. - description: 用户ID
  24855. in: query
  24856. name: userID
  24857. required: true
  24858. type: integer
  24859. - description: 留言信息
  24860. in: query
  24861. name: message
  24862. required: true
  24863. type: string
  24864. - description: 联系电话
  24865. in: query
  24866. name: contactNum
  24867. required: true
  24868. type: string
  24869. produces:
  24870. - application/json
  24871. responses:
  24872. "200":
  24873. description: OK
  24874. schema:
  24875. $ref: '#/definitions/app.Response'
  24876. "500":
  24877. description: Internal Server Error
  24878. schema:
  24879. $ref: '#/definitions/app.Response'
  24880. security:
  24881. - ApiKeyAuth: []
  24882. summary: 添加用户留言板信息
  24883. tags:
  24884. - 用户信息
  24885. /User/AddUserFavoriteGoods:
  24886. post:
  24887. parameters:
  24888. - description: 用户ID
  24889. in: query
  24890. name: userID
  24891. required: true
  24892. type: integer
  24893. - description: 商品ID
  24894. in: query
  24895. name: goodsID
  24896. required: true
  24897. type: integer
  24898. produces:
  24899. - application/json
  24900. responses:
  24901. "200":
  24902. description: OK
  24903. schema:
  24904. $ref: '#/definitions/app.Response'
  24905. "500":
  24906. description: Internal Server Error
  24907. schema:
  24908. $ref: '#/definitions/app.Response'
  24909. security:
  24910. - ApiKeyAuth: []
  24911. summary: 添加用户商品收藏信息
  24912. tags:
  24913. - 用户信息
  24914. /User/GetLoginID:
  24915. get:
  24916. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24917. parameters:
  24918. - description: 登录代码
  24919. in: query
  24920. name: username
  24921. required: true
  24922. type: string
  24923. produces:
  24924. - application/json
  24925. responses:
  24926. "200":
  24927. description: OK
  24928. schema:
  24929. $ref: '#/definitions/app.Response'
  24930. "500":
  24931. description: Internal Server Error
  24932. schema:
  24933. $ref: '#/definitions/app.Response'
  24934. summary: 获取登录ID
  24935. tags:
  24936. - 用户信息
  24937. /User/GetUserAccount:
  24938. get:
  24939. parameters:
  24940. - description: 用户ID
  24941. in: query
  24942. name: userID
  24943. required: true
  24944. type: integer
  24945. produces:
  24946. - application/json
  24947. responses:
  24948. "200":
  24949. description: OK
  24950. schema:
  24951. $ref: '#/definitions/models.Useraccount'
  24952. "500":
  24953. description: Internal Server Error
  24954. schema:
  24955. $ref: '#/definitions/app.Response'
  24956. security:
  24957. - ApiKeyAuth: []
  24958. summary: 获取用户账号信息
  24959. tags:
  24960. - 用户信息
  24961. /User/GetUserAuthStatus:
  24962. get:
  24963. parameters:
  24964. - description: 用户ID
  24965. in: query
  24966. name: userID
  24967. required: true
  24968. type: integer
  24969. produces:
  24970. - application/json
  24971. responses:
  24972. "200":
  24973. description: OK
  24974. schema:
  24975. $ref: '#/definitions/app.Response'
  24976. "500":
  24977. description: Internal Server Error
  24978. schema:
  24979. $ref: '#/definitions/app.Response'
  24980. security:
  24981. - ApiKeyAuth: []
  24982. summary: 获取用户实名认证状态
  24983. tags:
  24984. - 用户信息
  24985. /User/LoginQuery:
  24986. get:
  24987. parameters:
  24988. - description: 登录账号
  24989. in: query
  24990. name: loginID
  24991. required: true
  24992. type: integer
  24993. produces:
  24994. - application/json
  24995. responses:
  24996. "200":
  24997. description: OK
  24998. schema:
  24999. $ref: '#/definitions/user.LoginQueryRsp'
  25000. "500":
  25001. description: Internal Server Error
  25002. schema:
  25003. $ref: '#/definitions/app.Response'
  25004. security:
  25005. - ApiKeyAuth: []
  25006. summary: 账户登录后信息查询
  25007. tags:
  25008. - 用户信息
  25009. /User/QueryMessageBoard:
  25010. get:
  25011. parameters:
  25012. - description: 用户ID
  25013. in: query
  25014. name: userID
  25015. required: true
  25016. type: integer
  25017. produces:
  25018. - application/json
  25019. responses:
  25020. "200":
  25021. description: OK
  25022. schema:
  25023. $ref: '#/definitions/models.Messageboard'
  25024. "500":
  25025. description: Internal Server Error
  25026. schema:
  25027. $ref: '#/definitions/app.Response'
  25028. security:
  25029. - ApiKeyAuth: []
  25030. summary: 获取用户留言板信息
  25031. tags:
  25032. - 用户信息
  25033. /User/QueryUserFavoriteGoodses:
  25034. get:
  25035. parameters:
  25036. - description: 用户ID
  25037. in: query
  25038. name: userID
  25039. required: true
  25040. type: integer
  25041. produces:
  25042. - application/json
  25043. responses:
  25044. "200":
  25045. description: OK
  25046. schema:
  25047. $ref: '#/definitions/models.Userfavoritegoods'
  25048. "500":
  25049. description: Internal Server Error
  25050. schema:
  25051. $ref: '#/definitions/app.Response'
  25052. security:
  25053. - ApiKeyAuth: []
  25054. summary: 获取用户商品收藏信息
  25055. tags:
  25056. - 用户信息
  25057. /User/QueryUserInfo:
  25058. get:
  25059. parameters:
  25060. - description: 用户ID
  25061. in: query
  25062. name: userID
  25063. required: true
  25064. type: integer
  25065. - description: 是否解密
  25066. in: query
  25067. name: isDecrypt
  25068. type: boolean
  25069. produces:
  25070. - application/json
  25071. responses:
  25072. "200":
  25073. description: OK
  25074. schema:
  25075. $ref: '#/definitions/models.Userinfo'
  25076. "500":
  25077. description: Internal Server Error
  25078. schema:
  25079. $ref: '#/definitions/app.Response'
  25080. security:
  25081. - ApiKeyAuth: []
  25082. summary: 获取用户信息
  25083. tags:
  25084. - 用户信息
  25085. /User/QueryUserReferNum:
  25086. get:
  25087. parameters:
  25088. - description: 用户ID
  25089. in: query
  25090. name: userID
  25091. required: true
  25092. type: integer
  25093. produces:
  25094. - application/json
  25095. responses:
  25096. "200":
  25097. description: OK
  25098. schema:
  25099. $ref: '#/definitions/app.Response'
  25100. "500":
  25101. description: Internal Server Error
  25102. schema:
  25103. $ref: '#/definitions/app.Response'
  25104. summary: 获取用户邀请码
  25105. tags:
  25106. - 用户信息
  25107. /User/RemoveUserFavoriteGoods:
  25108. post:
  25109. parameters:
  25110. - description: 用户ID
  25111. in: query
  25112. name: userID
  25113. required: true
  25114. type: integer
  25115. - description: 商品ID
  25116. in: query
  25117. name: goodsID
  25118. required: true
  25119. type: integer
  25120. produces:
  25121. - application/json
  25122. responses:
  25123. "200":
  25124. description: OK
  25125. schema:
  25126. $ref: '#/definitions/app.Response'
  25127. "500":
  25128. description: Internal Server Error
  25129. schema:
  25130. $ref: '#/definitions/app.Response'
  25131. security:
  25132. - ApiKeyAuth: []
  25133. summary: 移除用户商品收藏信息
  25134. tags:
  25135. - 用户信息
  25136. /User/UpdateUserAccountStatus:
  25137. post:
  25138. parameters:
  25139. - description: 用户ID
  25140. in: query
  25141. name: userID
  25142. required: true
  25143. type: integer
  25144. - description: 账户状态 - 4:正常 6:注销(停用)
  25145. in: query
  25146. name: accountStatus
  25147. required: true
  25148. type: integer
  25149. produces:
  25150. - application/json
  25151. responses:
  25152. "200":
  25153. description: OK
  25154. schema:
  25155. $ref: '#/definitions/app.Response'
  25156. "500":
  25157. description: Internal Server Error
  25158. schema:
  25159. $ref: '#/definitions/app.Response'
  25160. security:
  25161. - ApiKeyAuth: []
  25162. summary: 更新用户状态
  25163. tags:
  25164. - 用户信息
  25165. /WRTrade/GetAllDeliveryGoods:
  25166. get:
  25167. produces:
  25168. - application/json
  25169. - application/json
  25170. responses:
  25171. "200":
  25172. description: OK
  25173. schema:
  25174. $ref: '#/definitions/app.Response'
  25175. "500":
  25176. description: Internal Server Error
  25177. schema:
  25178. $ref: '#/definitions/app.Response'
  25179. security:
  25180. - ApiKeyAuth: []
  25181. - ApiKeyAuth: []
  25182. summary: 获取带仓单分类的种类信息
  25183. tags:
  25184. - 仓单贸易
  25185. - 仓单贸易
  25186. /WrTrade2/QueryFaProductDetail:
  25187. get:
  25188. description: 页面 买卖大厅 -> 选择融资方案
  25189. parameters:
  25190. - description: 仓单要素id
  25191. in: query
  25192. name: wrfactortypeid
  25193. required: true
  25194. type: integer
  25195. produces:
  25196. - application/json
  25197. responses:
  25198. "200":
  25199. description: OK
  25200. schema:
  25201. items:
  25202. $ref: '#/definitions/models.WrFAProductDetail'
  25203. type: array
  25204. "500":
  25205. description: Internal Server Error
  25206. schema:
  25207. $ref: '#/definitions/app.Response'
  25208. security:
  25209. - ApiKeyAuth: []
  25210. summary: 查询融资产品列表
  25211. tags:
  25212. - 仓单贸易v2
  25213. /WrTrade2/QueryFilterItem:
  25214. get:
  25215. parameters:
  25216. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25217. in: query
  25218. name: itype
  25219. required: true
  25220. type: string
  25221. produces:
  25222. - application/json
  25223. responses:
  25224. "200":
  25225. description: OK
  25226. schema:
  25227. items:
  25228. $ref: '#/definitions/models.WrFilterItem'
  25229. type: array
  25230. "500":
  25231. description: Internal Server Error
  25232. schema:
  25233. $ref: '#/definitions/app.Response'
  25234. security:
  25235. - ApiKeyAuth: []
  25236. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25237. tags:
  25238. - 仓单贸易v2
  25239. /WrTrade2/QueryFtDeliveryGoods:
  25240. get:
  25241. produces:
  25242. - application/json
  25243. responses:
  25244. "200":
  25245. description: OK
  25246. schema:
  25247. items:
  25248. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25249. type: array
  25250. "500":
  25251. description: Internal Server Error
  25252. schema:
  25253. $ref: '#/definitions/app.Response'
  25254. security:
  25255. - ApiKeyAuth: []
  25256. summary: 查询品种品类筛选框列表
  25257. tags:
  25258. - 仓单贸易v2
  25259. /WrTrade2/QueryHoldLB:
  25260. get:
  25261. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25262. parameters:
  25263. - description: 资金账号
  25264. in: query
  25265. name: accountid
  25266. required: true
  25267. type: integer
  25268. - description: 仓库id
  25269. in: query
  25270. name: warehouseid
  25271. type: integer
  25272. - description: 品种id
  25273. in: query
  25274. name: deliverygoodsid
  25275. type: integer
  25276. - description: 品类id
  25277. in: query
  25278. name: wrstandardid
  25279. type: integer
  25280. - description: 仓单要素id
  25281. in: query
  25282. name: wrfactortypeid
  25283. type: integer
  25284. produces:
  25285. - application/json
  25286. responses:
  25287. "200":
  25288. description: OK
  25289. schema:
  25290. items:
  25291. $ref: '#/definitions/models.WrHoldLB'
  25292. type: array
  25293. "500":
  25294. description: Internal Server Error
  25295. schema:
  25296. $ref: '#/definitions/app.Response'
  25297. security:
  25298. - ApiKeyAuth: []
  25299. summary: 查询仓单持有记录
  25300. tags:
  25301. - 仓单贸易v2
  25302. /WrTrade2/QueryOrderQuote:
  25303. get:
  25304. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  25305. parameters:
  25306. - description: 页码
  25307. in: query
  25308. name: page
  25309. type: integer
  25310. - description: 每页条数
  25311. in: query
  25312. name: pagesize
  25313. type: integer
  25314. - description: 仓单贸易市场id
  25315. in: query
  25316. name: marketid
  25317. type: integer
  25318. - description: 价格方式 - 1:固定价 2-浮动价
  25319. in: query
  25320. name: wrpricetype
  25321. required: true
  25322. type: integer
  25323. - description: 0:仓单预售 1:仓单贸易
  25324. in: query
  25325. name: haswr
  25326. required: true
  25327. type: integer
  25328. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25329. in: query
  25330. name: dgitemname
  25331. type: string
  25332. - description: 仓库id(筛选条件)
  25333. in: query
  25334. name: warehouseid
  25335. type: integer
  25336. - description: 品种id
  25337. in: query
  25338. name: deliverygoodsid
  25339. type: integer
  25340. - description: 品类id
  25341. in: query
  25342. name: wrstandardid
  25343. type: integer
  25344. - description: 仓单要素id
  25345. in: query
  25346. name: wrfactortypeid
  25347. type: integer
  25348. - description: 交收月(yyyy-mm) 仓单预售填写
  25349. in: query
  25350. name: deliverymonth
  25351. type: string
  25352. produces:
  25353. - application/json
  25354. responses:
  25355. "200":
  25356. description: OK
  25357. schema:
  25358. items:
  25359. $ref: '#/definitions/models.WrOrderQuote'
  25360. type: array
  25361. "500":
  25362. description: Internal Server Error
  25363. schema:
  25364. $ref: '#/definitions/app.Response'
  25365. security:
  25366. - ApiKeyAuth: []
  25367. summary: 查询大厅行情列表
  25368. tags:
  25369. - 仓单贸易v2
  25370. /WrTrade2/QueryOrderQuoteDetail:
  25371. get:
  25372. parameters:
  25373. - description: 页码
  25374. in: query
  25375. name: page
  25376. type: integer
  25377. - description: 每页条数
  25378. in: query
  25379. name: pagesize
  25380. type: integer
  25381. - description: 仓单贸易市场id
  25382. in: query
  25383. name: marketid
  25384. type: integer
  25385. - description: 价格方式 - 1:固定价 2-浮动价
  25386. in: query
  25387. name: wrpricetype
  25388. required: true
  25389. type: integer
  25390. - description: 0:仓单预售 1:仓单贸易
  25391. in: query
  25392. name: haswr
  25393. required: true
  25394. type: integer
  25395. - description: 仓单要素id
  25396. in: query
  25397. name: wrfactortypeid
  25398. required: true
  25399. type: integer
  25400. - description: 期货商品id(浮动价方式时填)
  25401. in: query
  25402. name: goodsid
  25403. type: integer
  25404. - description: 买卖方向 0-买 1-卖
  25405. in: query
  25406. name: buyorsell
  25407. required: true
  25408. type: integer
  25409. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  25410. in: query
  25411. name: deliverymonth
  25412. type: string
  25413. produces:
  25414. - application/json
  25415. responses:
  25416. "200":
  25417. description: OK
  25418. schema:
  25419. items:
  25420. $ref: '#/definitions/models.WrOrderQuoteDetail'
  25421. type: array
  25422. "500":
  25423. description: Internal Server Error
  25424. schema:
  25425. $ref: '#/definitions/app.Response'
  25426. security:
  25427. - ApiKeyAuth: []
  25428. summary: 查询买卖大厅
  25429. tags:
  25430. - 仓单贸易v2
  25431. /WrTrade2/QueryOrderQuoteMyq:
  25432. get:
  25433. parameters:
  25434. - description: 页码
  25435. in: query
  25436. name: page
  25437. type: integer
  25438. - description: 每页条数
  25439. in: query
  25440. name: pagesize
  25441. type: integer
  25442. - description: 用户id
  25443. in: query
  25444. name: userid
  25445. required: true
  25446. type: integer
  25447. - description: 仓单贸易市场id
  25448. in: query
  25449. name: marketid
  25450. type: integer
  25451. - description: 0:仓单预售 1:仓单贸易
  25452. in: query
  25453. name: haswr
  25454. required: true
  25455. type: integer
  25456. - description: 买卖方向 0-买 1-卖
  25457. in: query
  25458. name: buyorsell
  25459. required: true
  25460. type: integer
  25461. - description: 品种id
  25462. in: query
  25463. name: deliverygoodsid
  25464. type: integer
  25465. - description: 品类id
  25466. in: query
  25467. name: wrstandardid
  25468. type: integer
  25469. - description: 交收月(yyyy-mm) 仓单预售填写
  25470. in: query
  25471. name: deliverymonth
  25472. type: string
  25473. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25474. in: query
  25475. name: dgitemname
  25476. type: string
  25477. produces:
  25478. - application/json
  25479. responses:
  25480. "200":
  25481. description: OK
  25482. schema:
  25483. items:
  25484. $ref: '#/definitions/models.WrQuoteOrderMyq'
  25485. type: array
  25486. "500":
  25487. description: Internal Server Error
  25488. schema:
  25489. $ref: '#/definitions/app.Response'
  25490. security:
  25491. - ApiKeyAuth: []
  25492. summary: 查询贸易圈挂牌大厅
  25493. tags:
  25494. - 仓单贸易v2
  25495. /WrTrade2/QueryPerformancePlan:
  25496. get:
  25497. parameters:
  25498. - description: 用户id
  25499. in: query
  25500. name: userid
  25501. required: true
  25502. type: integer
  25503. - description: 买卖方向 0-买 1-卖
  25504. in: query
  25505. name: buyorsell
  25506. required: true
  25507. type: integer
  25508. produces:
  25509. - application/json
  25510. responses:
  25511. "200":
  25512. description: OK
  25513. schema:
  25514. items:
  25515. $ref: '#/definitions/models.WrPerformancePlan'
  25516. type: array
  25517. "500":
  25518. description: Internal Server Error
  25519. schema:
  25520. $ref: '#/definitions/app.Response'
  25521. security:
  25522. - ApiKeyAuth: []
  25523. summary: 查询履约信息
  25524. tags:
  25525. - 仓单贸易v2
  25526. /WrTrade2/QueryPermancePlanTmp:
  25527. get:
  25528. description: 返回指定用户的模板和公共模板(用户id为空)
  25529. parameters:
  25530. - description: 用户id
  25531. in: query
  25532. name: userid
  25533. type: integer
  25534. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  25535. in: query
  25536. name: tmptype
  25537. type: string
  25538. - description: 是否包含公共模板(用户id为空的) 1-包含
  25539. in: query
  25540. name: includepub
  25541. type: integer
  25542. produces:
  25543. - application/json
  25544. responses:
  25545. "200":
  25546. description: OK
  25547. schema:
  25548. items:
  25549. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  25550. type: array
  25551. "500":
  25552. description: Internal Server Error
  25553. schema:
  25554. $ref: '#/definitions/app.Response'
  25555. security:
  25556. - ApiKeyAuth: []
  25557. summary: 查询履约模板
  25558. tags:
  25559. - 仓单贸易v2
  25560. /WrTrade2/QueryWrAverageTradePrice:
  25561. get:
  25562. parameters:
  25563. - description: 页码
  25564. in: query
  25565. name: page
  25566. type: integer
  25567. - description: 每页条数
  25568. in: query
  25569. name: pagesize
  25570. type: integer
  25571. - description: 0:仓单预售 1:仓单贸易
  25572. in: query
  25573. name: haswr
  25574. required: true
  25575. type: integer
  25576. - description: 仓单要素id
  25577. in: query
  25578. name: wrfactortypeid
  25579. required: true
  25580. type: integer
  25581. produces:
  25582. - application/json
  25583. responses:
  25584. "200":
  25585. description: OK
  25586. schema:
  25587. items:
  25588. $ref: '#/definitions/models.WrAverageTradePrice'
  25589. type: array
  25590. "500":
  25591. description: Internal Server Error
  25592. schema:
  25593. $ref: '#/definitions/app.Response'
  25594. security:
  25595. - ApiKeyAuth: []
  25596. summary: 查询成交价(历史走势)
  25597. tags:
  25598. - 仓单贸易v2
  25599. /WrTrade2/QueryWrBsGoodsInfo:
  25600. get:
  25601. description: 合约交易/买卖大厅/详情
  25602. parameters:
  25603. - description: 商品id
  25604. in: query
  25605. name: goodsid
  25606. required: true
  25607. type: integer
  25608. produces:
  25609. - application/json
  25610. responses:
  25611. "200":
  25612. description: OK
  25613. schema:
  25614. items:
  25615. $ref: '#/definitions/models.WrBsGoodsInfo'
  25616. type: array
  25617. "500":
  25618. description: Internal Server Error
  25619. schema:
  25620. $ref: '#/definitions/app.Response'
  25621. security:
  25622. - ApiKeyAuth: []
  25623. summary: 查询合约交易买卖大厅详情
  25624. tags:
  25625. - 仓单贸易v2
  25626. /WrTrade2/QueryWrBuybackDetail:
  25627. get:
  25628. parameters:
  25629. - description: 融资合同id
  25630. in: query
  25631. name: scfcontractid
  25632. type: integer
  25633. produces:
  25634. - application/json
  25635. responses:
  25636. "200":
  25637. description: OK
  25638. schema:
  25639. items:
  25640. $ref: '#/definitions/models.WrBuybackDetail'
  25641. type: array
  25642. "500":
  25643. description: Internal Server Error
  25644. schema:
  25645. $ref: '#/definitions/app.Response'
  25646. security:
  25647. - ApiKeyAuth: []
  25648. summary: 查询仓单回购明细
  25649. tags:
  25650. - 仓单贸易v2
  25651. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  25652. get:
  25653. parameters:
  25654. - description: 资金账号
  25655. in: query
  25656. name: accountid
  25657. required: true
  25658. type: integer
  25659. - description: 商品id
  25660. in: query
  25661. name: goodsid
  25662. required: true
  25663. type: integer
  25664. produces:
  25665. - application/json
  25666. responses:
  25667. "200":
  25668. description: OK
  25669. schema:
  25670. items:
  25671. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  25672. type: array
  25673. "500":
  25674. description: Internal Server Error
  25675. schema:
  25676. $ref: '#/definitions/app.Response'
  25677. security:
  25678. - ApiKeyAuth: []
  25679. summary: 查询合约交收可点选仓单
  25680. tags:
  25681. - 仓单贸易v2
  25682. /WrTrade2/QueryWrDeliveryDetail:
  25683. get:
  25684. parameters:
  25685. - description: 用户id
  25686. in: query
  25687. name: userid
  25688. required: true
  25689. type: integer
  25690. - description: 资金账号id
  25691. in: query
  25692. name: accountid
  25693. type: integer
  25694. produces:
  25695. - application/json
  25696. responses:
  25697. "200":
  25698. description: OK
  25699. schema:
  25700. items:
  25701. $ref: '#/definitions/models.WrDeliveryDetail'
  25702. type: array
  25703. "500":
  25704. description: Internal Server Error
  25705. schema:
  25706. $ref: '#/definitions/app.Response'
  25707. security:
  25708. - ApiKeyAuth: []
  25709. summary: 查询交收
  25710. tags:
  25711. - 仓单贸易v2
  25712. /WrTrade2/QueryWrFactorTypeInfo:
  25713. get:
  25714. parameters:
  25715. - description: 仓单要素id
  25716. in: query
  25717. name: wrfactortypeid
  25718. required: true
  25719. type: integer
  25720. produces:
  25721. - application/json
  25722. responses:
  25723. "200":
  25724. description: OK
  25725. schema:
  25726. items:
  25727. $ref: '#/definitions/models.WrFactorTypeInfo'
  25728. type: array
  25729. "500":
  25730. description: Internal Server Error
  25731. schema:
  25732. $ref: '#/definitions/app.Response'
  25733. security:
  25734. - ApiKeyAuth: []
  25735. summary: 查询仓单要素详细信息
  25736. tags:
  25737. - 仓单贸易v2
  25738. /WrTrade2/QueryWrFactorTypeInfoEx:
  25739. get:
  25740. parameters:
  25741. - description: 仓单要素id
  25742. in: query
  25743. name: wrfactortypeid
  25744. required: true
  25745. type: integer
  25746. produces:
  25747. - application/json
  25748. responses:
  25749. "200":
  25750. description: OK
  25751. schema:
  25752. items:
  25753. $ref: '#/definitions/models.WrTypeItem'
  25754. type: array
  25755. "500":
  25756. description: Internal Server Error
  25757. schema:
  25758. $ref: '#/definitions/app.Response'
  25759. security:
  25760. - ApiKeyAuth: []
  25761. summary: 查询仓单要素详细信息列表项
  25762. tags:
  25763. - 仓单贸易v2
  25764. /WrTrade2/QueryWrFinanceBuyApply:
  25765. get:
  25766. description: 页面 融资信息+ / 申请单
  25767. parameters:
  25768. - description: 用户id
  25769. in: query
  25770. name: userid
  25771. required: true
  25772. type: integer
  25773. produces:
  25774. - application/json
  25775. responses:
  25776. "200":
  25777. description: OK
  25778. schema:
  25779. items:
  25780. $ref: '#/definitions/models.WrFinanceBuyApply'
  25781. type: array
  25782. "500":
  25783. description: Internal Server Error
  25784. schema:
  25785. $ref: '#/definitions/app.Response'
  25786. security:
  25787. - ApiKeyAuth: []
  25788. summary: 查询融资购买申请
  25789. tags:
  25790. - 仓单贸易v2
  25791. /WrTrade2/QueryWrFriendApply:
  25792. get:
  25793. parameters:
  25794. - description: 用户id
  25795. in: query
  25796. name: userid
  25797. required: true
  25798. type: integer
  25799. produces:
  25800. - application/json
  25801. responses:
  25802. "200":
  25803. description: OK
  25804. schema:
  25805. items:
  25806. $ref: '#/definitions/models.WrFriendApply'
  25807. type: array
  25808. "500":
  25809. description: Internal Server Error
  25810. schema:
  25811. $ref: '#/definitions/app.Response'
  25812. security:
  25813. - ApiKeyAuth: []
  25814. summary: 查询好友申请记录
  25815. tags:
  25816. - 仓单贸易v2
  25817. /WrTrade2/QueryWrGoodsInfo:
  25818. get:
  25819. parameters:
  25820. - description: 仓单贸易市场id
  25821. in: query
  25822. name: marketid
  25823. type: integer
  25824. - description: 0:仓单预售 1:仓单贸易
  25825. in: query
  25826. name: haswr
  25827. required: true
  25828. type: integer
  25829. - description: 仓单要素id
  25830. in: query
  25831. name: wrfactortypeid
  25832. required: true
  25833. type: integer
  25834. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25835. in: query
  25836. name: tmplateid
  25837. type: integer
  25838. produces:
  25839. - application/json
  25840. responses:
  25841. "200":
  25842. description: OK
  25843. schema:
  25844. items:
  25845. $ref: '#/definitions/models.WrGoodsInfo'
  25846. type: array
  25847. "500":
  25848. description: Internal Server Error
  25849. schema:
  25850. $ref: '#/definitions/app.Response'
  25851. security:
  25852. - ApiKeyAuth: []
  25853. summary: 查询仓单商品信息
  25854. tags:
  25855. - 仓单贸易v2
  25856. /WrTrade2/QueryWrMarketTradeConfig:
  25857. get:
  25858. parameters:
  25859. - description: 市场id
  25860. in: query
  25861. name: marketid
  25862. type: integer
  25863. produces:
  25864. - application/json
  25865. responses:
  25866. "200":
  25867. description: OK
  25868. schema:
  25869. items:
  25870. $ref: '#/definitions/models.WrMarketTradeConfig'
  25871. type: array
  25872. "500":
  25873. description: Internal Server Error
  25874. schema:
  25875. $ref: '#/definitions/app.Response'
  25876. security:
  25877. - ApiKeyAuth: []
  25878. summary: 查询市场交易参数配置
  25879. tags:
  25880. - 仓单贸易v2
  25881. /WrTrade2/QueryWrOrderDetail:
  25882. get:
  25883. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25884. parameters:
  25885. - description: 页码
  25886. in: query
  25887. name: page
  25888. type: integer
  25889. - description: 每页条数
  25890. in: query
  25891. name: pagesize
  25892. type: integer
  25893. - description: 用户id
  25894. in: query
  25895. name: userid
  25896. required: true
  25897. type: integer
  25898. - description: 仓单贸易市场id
  25899. in: query
  25900. name: marketid
  25901. type: integer
  25902. - description: 0:仓单预售 1:仓单贸易
  25903. in: query
  25904. name: haswr
  25905. required: true
  25906. type: integer
  25907. produces:
  25908. - application/json
  25909. responses:
  25910. "200":
  25911. description: OK
  25912. schema:
  25913. items:
  25914. $ref: '#/definitions/models.WrOrderDetail'
  25915. type: array
  25916. "500":
  25917. description: Internal Server Error
  25918. schema:
  25919. $ref: '#/definitions/app.Response'
  25920. security:
  25921. - ApiKeyAuth: []
  25922. summary: 查询仓单委托单(挂单)
  25923. tags:
  25924. - 仓单贸易v2
  25925. /WrTrade2/QueryWrOutInApply:
  25926. get:
  25927. parameters:
  25928. - description: 用户id
  25929. in: query
  25930. name: userid
  25931. required: true
  25932. type: integer
  25933. produces:
  25934. - application/json
  25935. responses:
  25936. "200":
  25937. description: OK
  25938. schema:
  25939. items:
  25940. $ref: '#/definitions/models.WrOutInApply'
  25941. type: array
  25942. "500":
  25943. description: Internal Server Error
  25944. schema:
  25945. $ref: '#/definitions/app.Response'
  25946. security:
  25947. - ApiKeyAuth: []
  25948. summary: 查询提货申请
  25949. tags:
  25950. - 仓单贸易v2
  25951. /WrTrade2/QueryWrPerformancePlanStep:
  25952. get:
  25953. parameters:
  25954. - description: 履约计划id(performanceplanid)
  25955. in: query
  25956. name: planid
  25957. required: true
  25958. type: integer
  25959. - description: 当前步骤id
  25960. in: query
  25961. name: curstepid
  25962. type: integer
  25963. produces:
  25964. - application/json
  25965. responses:
  25966. "200":
  25967. description: OK
  25968. schema:
  25969. items:
  25970. $ref: '#/definitions/models.WrPerformancePlanStep'
  25971. type: array
  25972. "500":
  25973. description: Internal Server Error
  25974. schema:
  25975. $ref: '#/definitions/app.Response'
  25976. security:
  25977. - ApiKeyAuth: []
  25978. summary: 查询履约信息详情
  25979. tags:
  25980. - 仓单贸易v2
  25981. /WrTrade2/QueryWrPerformanceStepType:
  25982. get:
  25983. produces:
  25984. - application/json
  25985. responses:
  25986. "200":
  25987. description: OK
  25988. schema:
  25989. items:
  25990. $ref: '#/definitions/models.WrPerformanceStepType'
  25991. type: array
  25992. "500":
  25993. description: Internal Server Error
  25994. schema:
  25995. $ref: '#/definitions/app.Response'
  25996. security:
  25997. - ApiKeyAuth: []
  25998. summary: 查询履约步骤枚举
  25999. tags:
  26000. - 仓单贸易v2
  26001. /WrTrade2/QueryWrPosition:
  26002. get:
  26003. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26004. parameters:
  26005. - description: 用户id
  26006. in: query
  26007. name: userid
  26008. required: true
  26009. type: integer
  26010. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26011. in: query
  26012. name: querytype
  26013. required: true
  26014. type: integer
  26015. - description: 0:仓单预售 1:仓单贸易
  26016. in: query
  26017. name: haswr
  26018. required: true
  26019. type: integer
  26020. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26021. in: query
  26022. name: dgitemname
  26023. type: string
  26024. - description: 仓库id(筛选条件)
  26025. in: query
  26026. name: warehouseid
  26027. type: integer
  26028. - description: 品种id
  26029. in: query
  26030. name: deliverygoodsid
  26031. type: integer
  26032. - description: 品类id
  26033. in: query
  26034. name: wrstandardid
  26035. type: integer
  26036. produces:
  26037. - application/json
  26038. responses:
  26039. "200":
  26040. description: OK
  26041. schema:
  26042. items:
  26043. $ref: '#/definitions/models.WrPosition'
  26044. type: array
  26045. "500":
  26046. description: Internal Server Error
  26047. schema:
  26048. $ref: '#/definitions/app.Response'
  26049. security:
  26050. - ApiKeyAuth: []
  26051. summary: 查询现货(预售)仓单持仓
  26052. tags:
  26053. - 仓单贸易v2
  26054. /WrTrade2/QueryWrScfContract:
  26055. get:
  26056. parameters:
  26057. - description: 用户id
  26058. in: query
  26059. name: userid
  26060. required: true
  26061. type: integer
  26062. - description: 融资合同id
  26063. in: query
  26064. name: scfcontractid
  26065. type: integer
  26066. produces:
  26067. - application/json
  26068. responses:
  26069. "200":
  26070. description: OK
  26071. schema:
  26072. items:
  26073. $ref: '#/definitions/models.WrScfContract'
  26074. type: array
  26075. "500":
  26076. description: Internal Server Error
  26077. schema:
  26078. $ref: '#/definitions/app.Response'
  26079. security:
  26080. - ApiKeyAuth: []
  26081. summary: 查询仓单贸易融资合同
  26082. tags:
  26083. - 仓单贸易v2
  26084. /WrTrade2/QueryWrScfContractInterest:
  26085. get:
  26086. parameters:
  26087. - description: 融资合同id
  26088. in: query
  26089. name: scfcontractid
  26090. type: integer
  26091. produces:
  26092. - application/json
  26093. responses:
  26094. "200":
  26095. description: OK
  26096. schema:
  26097. items:
  26098. $ref: '#/definitions/models.WrScfContractInterest'
  26099. type: array
  26100. "500":
  26101. description: Internal Server Error
  26102. schema:
  26103. $ref: '#/definitions/app.Response'
  26104. security:
  26105. - ApiKeyAuth: []
  26106. summary: 查询融资合同费用明细
  26107. tags:
  26108. - 仓单贸易v2
  26109. /WrTrade2/QueryWrSpecialMatchOrder:
  26110. get:
  26111. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  26112. parameters:
  26113. - description: 页码
  26114. in: query
  26115. name: page
  26116. type: integer
  26117. - description: 每页条数
  26118. in: query
  26119. name: pagesize
  26120. type: integer
  26121. - description: 用户id
  26122. in: query
  26123. name: userid
  26124. required: true
  26125. type: integer
  26126. - description: 仓单贸易市场id
  26127. in: query
  26128. name: marketid
  26129. type: integer
  26130. - description: 0:仓单预售 1:仓单贸易
  26131. in: query
  26132. name: haswr
  26133. required: true
  26134. type: integer
  26135. produces:
  26136. - application/json
  26137. responses:
  26138. "200":
  26139. description: OK
  26140. schema:
  26141. items:
  26142. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26143. type: array
  26144. "500":
  26145. description: Internal Server Error
  26146. schema:
  26147. $ref: '#/definitions/app.Response'
  26148. security:
  26149. - ApiKeyAuth: []
  26150. summary: 查询指定成交
  26151. tags:
  26152. - 仓单贸易v2
  26153. /WrTrade2/QueryWrStandardFactoryItem:
  26154. get:
  26155. parameters:
  26156. - description: 品类id
  26157. in: query
  26158. name: wrstandardid
  26159. required: true
  26160. type: integer
  26161. produces:
  26162. - application/json
  26163. responses:
  26164. "200":
  26165. description: OK
  26166. schema:
  26167. items:
  26168. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  26169. type: array
  26170. "500":
  26171. description: Internal Server Error
  26172. schema:
  26173. $ref: '#/definitions/app.Response'
  26174. security:
  26175. - ApiKeyAuth: []
  26176. summary: 查询品类要素定义项
  26177. tags:
  26178. - 仓单贸易v2
  26179. /WrTrade2/QueryWrTradeBargainApply:
  26180. get:
  26181. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  26182. parameters:
  26183. - description: 议价人id(摘牌方)
  26184. in: query
  26185. name: userid
  26186. type: integer
  26187. - description: 关联委托单id
  26188. in: query
  26189. name: wrtradeorderid
  26190. type: integer
  26191. - description: 0:仓单预售 1:仓单贸易
  26192. in: query
  26193. name: haswr
  26194. required: true
  26195. type: integer
  26196. produces:
  26197. - application/json
  26198. responses:
  26199. "200":
  26200. description: OK
  26201. schema:
  26202. items:
  26203. $ref: '#/definitions/models.WRTradeBargainApply'
  26204. type: array
  26205. "500":
  26206. description: Internal Server Error
  26207. schema:
  26208. $ref: '#/definitions/app.Response'
  26209. security:
  26210. - ApiKeyAuth: []
  26211. summary: 查询议价单
  26212. tags:
  26213. - 仓单贸易v2
  26214. /WrTrade2/QueryWrTradeDetail:
  26215. get:
  26216. parameters:
  26217. - description: 页码
  26218. in: query
  26219. name: page
  26220. type: integer
  26221. - description: 每页条数
  26222. in: query
  26223. name: pagesize
  26224. type: integer
  26225. - description: 用户id
  26226. in: query
  26227. name: userid
  26228. required: true
  26229. type: integer
  26230. - description: 仓单贸易市场id
  26231. in: query
  26232. name: marketid
  26233. type: integer
  26234. - description: 0:仓单预售 1:仓单贸易
  26235. in: query
  26236. name: haswr
  26237. required: true
  26238. type: integer
  26239. produces:
  26240. - application/json
  26241. responses:
  26242. "200":
  26243. description: OK
  26244. schema:
  26245. items:
  26246. $ref: '#/definitions/models.WrTradeDetail'
  26247. type: array
  26248. "500":
  26249. description: Internal Server Error
  26250. schema:
  26251. $ref: '#/definitions/app.Response'
  26252. security:
  26253. - ApiKeyAuth: []
  26254. summary: 查询仓单成交明细
  26255. tags:
  26256. - 仓单贸易v2
  26257. /WrTrade2/QueryWrTradeOrderDetail:
  26258. get:
  26259. parameters:
  26260. - description: 页码
  26261. in: query
  26262. name: page
  26263. type: integer
  26264. - description: 每页条数
  26265. in: query
  26266. name: pagesize
  26267. type: integer
  26268. - description: 商品id
  26269. in: query
  26270. name: goodsid
  26271. required: true
  26272. type: integer
  26273. - description: 买卖方向 0-买 1-卖
  26274. in: query
  26275. name: buyorsell
  26276. required: true
  26277. type: integer
  26278. produces:
  26279. - application/json
  26280. responses:
  26281. "200":
  26282. description: OK
  26283. schema:
  26284. items:
  26285. $ref: '#/definitions/models.WrTradeOrderDetail'
  26286. type: array
  26287. "500":
  26288. description: Internal Server Error
  26289. schema:
  26290. $ref: '#/definitions/app.Response'
  26291. security:
  26292. - ApiKeyAuth: []
  26293. summary: 查询合约交易买卖大厅
  26294. tags:
  26295. - 仓单贸易v2
  26296. /WrTrade2/QueryWrUserFriend:
  26297. get:
  26298. parameters:
  26299. - description: 用户id
  26300. in: query
  26301. name: userid
  26302. required: true
  26303. type: integer
  26304. - description: 新朋友userid, 如果填写了此项则查找新朋友
  26305. in: query
  26306. name: newuserid
  26307. type: integer
  26308. produces:
  26309. - application/json
  26310. responses:
  26311. "200":
  26312. description: OK
  26313. schema:
  26314. items:
  26315. $ref: '#/definitions/models.WrUserFriend'
  26316. type: array
  26317. "500":
  26318. description: Internal Server Error
  26319. schema:
  26320. $ref: '#/definitions/app.Response'
  26321. security:
  26322. - ApiKeyAuth: []
  26323. summary: 查询我的朋友
  26324. tags:
  26325. - 仓单贸易v2
  26326. /ZJ/GetBankTip:
  26327. get:
  26328. produces:
  26329. - application/json
  26330. responses:
  26331. "200":
  26332. description: OK
  26333. schema:
  26334. type: string
  26335. "500":
  26336. description: Internal Server Error
  26337. schema:
  26338. $ref: '#/definitions/app.Response'
  26339. summary: 获取中江网银端出入金提示信息
  26340. tags:
  26341. - 中江
  26342. /ZJ/GetCusBankChannels:
  26343. get:
  26344. produces:
  26345. - application/json
  26346. responses:
  26347. "200":
  26348. description: OK
  26349. schema:
  26350. items:
  26351. type: string
  26352. type: array
  26353. "500":
  26354. description: Internal Server Error
  26355. schema:
  26356. $ref: '#/definitions/app.Response'
  26357. summary: 获取中江出入金渠道显示列表
  26358. tags:
  26359. - 中江
  26360. securityDefinitions:
  26361. ApiKeyAuth:
  26362. in: header
  26363. name: Authorization
  26364. type: apiKey
  26365. swagger: "2.0"