swagger.yaml 724 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192
  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. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. enumdicname:
  863. description: 品类单位名称
  864. type: string
  865. goodscode:
  866. description: 商品代码
  867. type: string
  868. goodsid:
  869. description: 交易合约ID
  870. type: integer
  871. goodsname:
  872. description: 商品名称
  873. type: string
  874. marketid:
  875. description: 市场ID
  876. type: integer
  877. mindeliveryqty:
  878. description: 最小交割系数(K)
  879. type: integer
  880. p2deliveryprice:
  881. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  882. type: number
  883. p2deliveryratio:
  884. description: P2合约系数(p)
  885. type: integer
  886. p2goodsid:
  887. description: P2合约ID
  888. type: integer
  889. p2pricemode:
  890. description: P2合约价格方式 - 1:商品价 2:固定值
  891. type: integer
  892. pdeliveryprice:
  893. description: P合约价格(商品价时填写0,固定值时填写固定值)
  894. type: number
  895. pdeliveryratio:
  896. description: P合约系数(n)
  897. type: integer
  898. pgoodscode:
  899. description: p合约代码
  900. type: string
  901. pgoodsid:
  902. description: P合约ID
  903. type: integer
  904. ppricemode:
  905. description: P合约价格方式 - 1:商品价 2:固定值
  906. type: integer
  907. rratio:
  908. description: 兑换系数(R)
  909. type: integer
  910. rratio1:
  911. description: 兑换系数(交易合约)(R1)
  912. type: integer
  913. rratio2:
  914. description: 兑换系数(仓单标准)(R2)
  915. type: integer
  916. selltemplateid:
  917. description: 卖履约计划模板ID
  918. type: integer
  919. wrstandardid:
  920. description: 仓单标准ID
  921. type: integer
  922. xdeliveryratio:
  923. description: 交易合约系数(m)
  924. type: integer
  925. required:
  926. - begindate
  927. - enddate
  928. - goodsid
  929. - mindeliveryqty
  930. - xdeliveryratio
  931. type: object
  932. ermcp.ExposureDetailRsp:
  933. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  934. ermcp.ExposureHedgePosDetailRsp:
  935. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  936. ermcp.ExposureHedgePositionRsp:
  937. $ref: '#/definitions/models.ErmcpHedgePosition'
  938. ermcp.ExposureSpotDetailRsp:
  939. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  940. ermcp.ExposureSpotRsp:
  941. $ref: '#/definitions/models.AreaSpotModel'
  942. ermcp.HisExposureRsp:
  943. $ref: '#/definitions/models.ErmcpHisExposureS'
  944. ermcp.PendingAuditCntRsp:
  945. $ref: '#/definitions/models.ErmcpPendingAudit'
  946. ermcp.QryAvalidGPRsp:
  947. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  948. ermcp.QryBusinessDjRsp:
  949. properties:
  950. amount:
  951. description: 点价金额=(点价价格+升贴水)*点价数量
  952. type: number
  953. applyid:
  954. description: 申请人
  955. type: string
  956. applyname:
  957. description: 申请人名称
  958. type: string
  959. applystatus:
  960. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  961. type: integer
  962. applytime:
  963. description: 申请时间
  964. type: string
  965. attachurl:
  966. description: 附件
  967. type: string
  968. auditid:
  969. description: 审核人ID
  970. type: string
  971. auditname:
  972. description: 审核人名称
  973. type: string
  974. audittime:
  975. description: 审核时间
  976. type: string
  977. buyusername:
  978. description: 采购方名称
  979. type: string
  980. contractno:
  981. description: 合同编号
  982. type: string
  983. contractstatus:
  984. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  985. type: integer
  986. contracttype:
  987. description: 现货合同类型 - 1:采购 -1:销售
  988. type: integer
  989. deliverygoodscode:
  990. description: 现货品种代码
  991. type: string
  992. deliverygoodsid:
  993. description: 现货商品ID
  994. type: integer
  995. deliverygoodsname:
  996. description: 现货品种名称
  997. type: string
  998. enumdicname:
  999. description: 单位名称
  1000. type: string
  1001. goodscode:
  1002. description: 点价合约
  1003. type: string
  1004. goodsname:
  1005. description: 商品名称
  1006. type: string
  1007. operateapplyid:
  1008. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1009. type: string
  1010. operateapplytype:
  1011. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1012. type: integer
  1013. pricedPrice:
  1014. description: 点价价格(非必填)
  1015. type: number
  1016. pricedQty:
  1017. description: 点价数量(非必填)
  1018. type: number
  1019. pricemove:
  1020. description: 升贴水
  1021. type: number
  1022. pricetype:
  1023. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1024. type: integer
  1025. relatedid:
  1026. description: 现货合同ID
  1027. type: string
  1028. sellusername:
  1029. description: 销售方名字
  1030. type: string
  1031. userid:
  1032. description: 用户ID
  1033. type: integer
  1034. wrstandardcode:
  1035. description: 品类代码
  1036. type: string
  1037. wrstandardid:
  1038. description: 品类id
  1039. type: integer
  1040. wrstandardname:
  1041. description: 品类名称
  1042. type: string
  1043. type: object
  1044. ermcp.QryBussinessFpRsp:
  1045. properties:
  1046. applyid:
  1047. description: 申请人
  1048. type: string
  1049. applyname:
  1050. description: 申请人名称
  1051. type: string
  1052. applystatus:
  1053. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1054. type: integer
  1055. applytime:
  1056. description: 申请时间
  1057. type: string
  1058. attachurl:
  1059. description: 附件
  1060. type: string
  1061. auditid:
  1062. description: 审核人ID
  1063. type: string
  1064. auditname:
  1065. description: 审核人名称
  1066. type: string
  1067. audittime:
  1068. description: 审核时间
  1069. type: string
  1070. buyusername:
  1071. description: 采购方名称
  1072. type: string
  1073. contractno:
  1074. description: 合同编号
  1075. type: string
  1076. contractstatus:
  1077. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1078. type: integer
  1079. contracttype:
  1080. description: 现货合同类型 - 1:采购 -1:销售
  1081. type: integer
  1082. deliverygoodscode:
  1083. description: 现货品种代码
  1084. type: string
  1085. deliverygoodsid:
  1086. description: 现货商品ID
  1087. type: integer
  1088. deliverygoodsname:
  1089. description: 现货品种名称
  1090. type: string
  1091. enumdicname:
  1092. description: 单位名称
  1093. type: string
  1094. goodscode:
  1095. description: 点价合约
  1096. type: string
  1097. goodsname:
  1098. description: 商品名称
  1099. type: string
  1100. invoiceAmount:
  1101. description: 已开收票金额(销售为开票,采购为收票)
  1102. type: number
  1103. operateapplyid:
  1104. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1105. type: string
  1106. operateapplytype:
  1107. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1108. type: integer
  1109. pricemove:
  1110. description: 升贴水
  1111. type: number
  1112. pricetype:
  1113. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1114. type: integer
  1115. relatedid:
  1116. description: 现货合同ID
  1117. type: string
  1118. sellusername:
  1119. description: 销售方名字
  1120. type: string
  1121. userid:
  1122. description: 用户ID
  1123. type: integer
  1124. wrstandardcode:
  1125. description: 品类代码
  1126. type: string
  1127. wrstandardid:
  1128. description: 品类id
  1129. type: integer
  1130. wrstandardname:
  1131. description: 品类名称
  1132. type: string
  1133. type: object
  1134. ermcp.QryBussinessJsExRsp:
  1135. properties:
  1136. applyid:
  1137. description: 申请人
  1138. type: string
  1139. applyname:
  1140. description: 申请人名称
  1141. type: string
  1142. applystatus:
  1143. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1144. type: integer
  1145. applytime:
  1146. description: 申请时间
  1147. type: string
  1148. attachurl:
  1149. description: 附件
  1150. type: string
  1151. auditid:
  1152. description: 审核人ID
  1153. type: string
  1154. auditname:
  1155. description: 审核人名称
  1156. type: string
  1157. audittime:
  1158. description: 审核时间
  1159. type: string
  1160. buyusername:
  1161. description: 采购方名称
  1162. type: string
  1163. contractno:
  1164. description: 合同编号
  1165. type: string
  1166. contractstatus:
  1167. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1168. type: integer
  1169. contracttype:
  1170. description: 现货合同类型 - 1:采购 -1:销售
  1171. type: integer
  1172. deliverygoodscode:
  1173. description: 现货品种代码
  1174. type: string
  1175. deliverygoodsid:
  1176. description: 现货商品ID
  1177. type: integer
  1178. deliverygoodsname:
  1179. description: 现货品种名称
  1180. type: string
  1181. enumdicname:
  1182. description: 单位名称
  1183. type: string
  1184. goodscode:
  1185. description: 点价合约
  1186. type: string
  1187. goodsname:
  1188. description: 商品名称
  1189. type: string
  1190. operateapplyid:
  1191. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1192. type: string
  1193. operateapplytype:
  1194. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1195. type: integer
  1196. pricemove:
  1197. description: 升贴水
  1198. type: number
  1199. pricetype:
  1200. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1201. type: integer
  1202. reckontype:
  1203. description: 结算类型
  1204. type: string
  1205. reckonvalue:
  1206. description: 值
  1207. type: number
  1208. relatedid:
  1209. description: 现货合同ID
  1210. type: string
  1211. sellusername:
  1212. description: 销售方名字
  1213. type: string
  1214. userid:
  1215. description: 用户ID
  1216. type: integer
  1217. wrstandardcode:
  1218. description: 品类代码
  1219. type: string
  1220. wrstandardid:
  1221. description: 品类id
  1222. type: integer
  1223. wrstandardname:
  1224. description: 品类名称
  1225. type: string
  1226. type: object
  1227. ermcp.QryBussinessJsRsp:
  1228. properties:
  1229. addmargin:
  1230. description: 追加保证金(非必填)
  1231. type: number
  1232. applyid:
  1233. description: 申请人
  1234. type: string
  1235. applyname:
  1236. description: 申请人名称
  1237. type: string
  1238. applystatus:
  1239. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1240. type: integer
  1241. applytime:
  1242. description: 申请时间
  1243. type: string
  1244. attachurl:
  1245. description: 附件
  1246. type: string
  1247. auditid:
  1248. description: 审核人ID
  1249. type: string
  1250. auditname:
  1251. description: 审核人名称
  1252. type: string
  1253. audittime:
  1254. description: 审核时间
  1255. type: string
  1256. buyusername:
  1257. description: 采购方名称
  1258. type: string
  1259. contractno:
  1260. description: 合同编号
  1261. type: string
  1262. contractstatus:
  1263. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1264. type: integer
  1265. contracttype:
  1266. description: 现货合同类型 - 1:采购 -1:销售
  1267. type: integer
  1268. decmargin:
  1269. description: 减少保证金(非必填)
  1270. type: number
  1271. deliverygoodscode:
  1272. description: 现货品种代码
  1273. type: string
  1274. deliverygoodsid:
  1275. description: 现货商品ID
  1276. type: integer
  1277. deliverygoodsname:
  1278. description: 现货品种名称
  1279. type: string
  1280. enumdicname:
  1281. description: 单位名称
  1282. type: string
  1283. goodscode:
  1284. description: 点价合约
  1285. type: string
  1286. goodsname:
  1287. description: 商品名称
  1288. type: string
  1289. operateapplyid:
  1290. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1291. type: string
  1292. operateapplytype:
  1293. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1294. type: integer
  1295. pricemove:
  1296. description: 升贴水
  1297. type: number
  1298. pricetype:
  1299. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1300. type: integer
  1301. reckonadjustamount:
  1302. description: 结算调整金额(非必填)
  1303. type: number
  1304. reckonosamount:
  1305. description: 结算溢短金额(非必填)
  1306. type: number
  1307. reckonotheramount:
  1308. description: 结算其他费用(非必填)
  1309. type: number
  1310. reckonrealqty:
  1311. description: 结算实际数量(非必填)
  1312. type: number
  1313. relatedid:
  1314. description: 现货合同ID
  1315. type: string
  1316. sellusername:
  1317. description: 销售方名字
  1318. type: string
  1319. userid:
  1320. description: 用户ID
  1321. type: integer
  1322. wrstandardcode:
  1323. description: 品类代码
  1324. type: string
  1325. wrstandardid:
  1326. description: 品类id
  1327. type: integer
  1328. wrstandardname:
  1329. description: 品类名称
  1330. type: string
  1331. type: object
  1332. ermcp.QryBussinessKxRsp:
  1333. properties:
  1334. applyid:
  1335. description: 申请人
  1336. type: string
  1337. applyname:
  1338. description: 申请人名称
  1339. type: string
  1340. applystatus:
  1341. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1342. type: integer
  1343. applytime:
  1344. description: 申请时间
  1345. type: string
  1346. attachurl:
  1347. description: 附件
  1348. type: string
  1349. auditid:
  1350. description: 审核人ID
  1351. type: string
  1352. auditname:
  1353. description: 审核人名称
  1354. type: string
  1355. audittime:
  1356. description: 审核时间
  1357. type: string
  1358. buyusername:
  1359. description: 采购方名称
  1360. type: string
  1361. contractno:
  1362. description: 合同编号
  1363. type: string
  1364. contractstatus:
  1365. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1366. type: integer
  1367. contracttype:
  1368. description: 现货合同类型 - 1:采购 -1:销售
  1369. type: integer
  1370. deductamount:
  1371. description: 退款(非必填)
  1372. type: number
  1373. deliverygoodscode:
  1374. description: 现货品种代码
  1375. type: string
  1376. deliverygoodsid:
  1377. description: 现货商品ID
  1378. type: integer
  1379. deliverygoodsname:
  1380. description: 现货品种名称
  1381. type: string
  1382. enumdicname:
  1383. description: 单位名称
  1384. type: string
  1385. goodscode:
  1386. description: 点价合约
  1387. type: string
  1388. goodsname:
  1389. description: 商品名称
  1390. type: string
  1391. kxtype:
  1392. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1393. type: integer
  1394. operateapplyid:
  1395. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1396. type: string
  1397. operateapplytype:
  1398. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1399. type: integer
  1400. payamount:
  1401. description: 收付款(非必填)
  1402. type: number
  1403. pricemove:
  1404. description: 升贴水
  1405. type: number
  1406. pricetype:
  1407. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1408. type: integer
  1409. relatedid:
  1410. description: 现货合同ID
  1411. type: string
  1412. sellusername:
  1413. description: 销售方名字
  1414. type: string
  1415. userid:
  1416. description: 用户ID
  1417. type: integer
  1418. wrstandardcode:
  1419. description: 品类代码
  1420. type: string
  1421. wrstandardid:
  1422. description: 品类id
  1423. type: integer
  1424. wrstandardname:
  1425. description: 品类名称
  1426. type: string
  1427. type: object
  1428. ermcp.QryGGCovertCfgRsp:
  1429. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1430. ermcp.QryMGChangeLogRsp:
  1431. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1432. ermcp.QryMiddleGoodsDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1434. ermcp.QryMiddleGoodsRsp:
  1435. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1436. ermcp.QryOPLogRsp:
  1437. $ref: '#/definitions/models.ErmcpOPLogModel'
  1438. ermcp.QryUserInfoRsp:
  1439. $ref: '#/definitions/models.ErmcpUserModel'
  1440. ermcp.QryWarehouseRsp:
  1441. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1442. ermcp.QueryErmcpTradePositionRsp:
  1443. properties:
  1444. agreeunit:
  1445. description: 合约单位
  1446. type: number
  1447. buyorsell:
  1448. description: 方向 - 0:买 1:卖
  1449. type: integer
  1450. curpositionqty:
  1451. description: 持仓(总仓数量, 期末头寸)
  1452. type: integer
  1453. curtdposition:
  1454. description: 今仓数量(期末今日头寸)
  1455. type: integer
  1456. curtdpositionenabled:
  1457. description: 今仓可用
  1458. type: integer
  1459. decimalplace:
  1460. description: 报价小数位
  1461. type: integer
  1462. enableqty:
  1463. description: 可用(总仓可用)
  1464. type: integer
  1465. exexchangename:
  1466. description: 外部交易所名称
  1467. type: string
  1468. goodscode:
  1469. description: 商品代码(内部)
  1470. type: string
  1471. goodsid:
  1472. description: 商品ID(自增ID SEQ_GOODS)
  1473. type: integer
  1474. goodsname:
  1475. description: 商品名称
  1476. type: string
  1477. last:
  1478. description: 现价
  1479. type: number
  1480. marketid:
  1481. description: 所属市场ID
  1482. type: integer
  1483. openaverageprice:
  1484. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1485. type: number
  1486. opencost:
  1487. description: 开仓成本
  1488. type: number
  1489. openpl:
  1490. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1491. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1492. type: number
  1493. outgoodscode:
  1494. description: 商品代码(外部)
  1495. type: string
  1496. positionaverageprice:
  1497. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1498. type: number
  1499. positioncost:
  1500. description: 持仓成本
  1501. type: number
  1502. positionpl:
  1503. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1504. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1505. type: number
  1506. positionplrate:
  1507. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1508. type: number
  1509. usedmargin:
  1510. description: 占用保证金
  1511. type: number
  1512. type: object
  1513. ermcp.RealtimeExposurePositionRsp:
  1514. $ref: '#/definitions/models.ErmcpExposurePostion'
  1515. ermcp.RealtimeExposureRsp:
  1516. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1517. erms2.QueryArbitrageStrategyRsp:
  1518. properties:
  1519. applybasis:
  1520. description: 申请基差
  1521. type: number
  1522. asapplyid:
  1523. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1524. type: string
  1525. asname:
  1526. description: 策略名称
  1527. type: string
  1528. asno:
  1529. description: 策略编号
  1530. type: string
  1531. basischangepl:
  1532. description: 基差变动损益[结算更新]
  1533. type: number
  1534. biztype:
  1535. description: 业务类型 - 1:正向套利 -1:反向套利
  1536. type: integer
  1537. closetradedate:
  1538. description: 完结交易日(yyyyMMdd)
  1539. type: string
  1540. curbasis:
  1541. description: 当前基差[结算更新]
  1542. type: number
  1543. deliverygoodsid:
  1544. description: 现货品种ID
  1545. type: integer
  1546. futureavgprice:
  1547. description: 期货建仓均价
  1548. type: number
  1549. futurecloseamount:
  1550. description: 期货平仓金额
  1551. type: number
  1552. futurecloseqty:
  1553. description: 期货平仓数量
  1554. type: number
  1555. futureopenamount:
  1556. description: 期货开仓金额
  1557. type: number
  1558. futureopenqty:
  1559. description: 期货开仓数量
  1560. type: number
  1561. futurepl:
  1562. description: 期货总盈亏[结算更新]
  1563. type: number
  1564. futureqty:
  1565. description: 期货持仓数量
  1566. type: number
  1567. futurequote:
  1568. description: 期货额度
  1569. type: number
  1570. goodsgroupid:
  1571. description: 期货品种ID
  1572. type: integer
  1573. marketid:
  1574. description: 市场ID
  1575. type: integer
  1576. netexposure:
  1577. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1578. type: number
  1579. netexposurepl:
  1580. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1581. type: number
  1582. netexposurerate:
  1583. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1584. type: number
  1585. openbasis:
  1586. description: 建仓基差
  1587. type: number
  1588. pricedspotqty:
  1589. description: 已定价现货数量
  1590. type: number
  1591. pricedspotqtynotax:
  1592. description: 已定价现货不含税数量
  1593. type: number
  1594. remark:
  1595. description: 备注
  1596. type: string
  1597. spotavgprice:
  1598. description: 现货均价
  1599. type: number
  1600. spotbuyamount:
  1601. description: 现货采购金额
  1602. type: number
  1603. spotbuyqty:
  1604. description: 现货采购数量
  1605. type: number
  1606. spotpl:
  1607. description: 现货总盈亏[结算更新]
  1608. type: number
  1609. spotquota:
  1610. description: 现货额度
  1611. type: number
  1612. spotsellamount:
  1613. description: 现货销售金额
  1614. type: number
  1615. spotsellqty:
  1616. description: 现货销售数量
  1617. type: number
  1618. spotusedquota:
  1619. description: 现货占用资金
  1620. type: number
  1621. strategystatus:
  1622. description: 策略状态 - 0:未结束 1:已结束
  1623. type: integer
  1624. totalpl:
  1625. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1626. type: number
  1627. tradedate:
  1628. description: 交易日(yyyyMMdd)
  1629. type: string
  1630. updatetime:
  1631. description: 更新时间
  1632. type: string
  1633. usedquota:
  1634. description: 已占用资金
  1635. type: number
  1636. userid:
  1637. description: 所属机构
  1638. type: integer
  1639. required:
  1640. - asapplyid
  1641. type: object
  1642. erms2.QueryInnerTradeDetailRsp:
  1643. properties:
  1644. accountid:
  1645. description: 账号ID
  1646. type: integer
  1647. agreeunit:
  1648. description: 合约单位
  1649. type: number
  1650. asapplyid:
  1651. description: 策略申请ID
  1652. type: integer
  1653. asname:
  1654. description: 策略名称
  1655. type: string
  1656. asno:
  1657. description: 策略编号
  1658. type: string
  1659. buyorsell:
  1660. description: 方向 - 0:买 1:卖
  1661. type: integer
  1662. channelbuildtype:
  1663. description: 委托单据类型 0:无 1:建仓 2:平仓
  1664. type: integer
  1665. closetype:
  1666. description: 平仓方式 - 0:无 1:平今 2:平昨
  1667. type: integer
  1668. decimalplace:
  1669. description: 报价小数位
  1670. type: integer
  1671. detailtype:
  1672. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1673. type: integer
  1674. exexchangecode:
  1675. description: 外部交易所代码
  1676. type: string
  1677. exexchangename:
  1678. description: 外部交易所名称
  1679. type: string
  1680. goodscode:
  1681. description: 商品代码(合约)
  1682. type: string
  1683. goodsgroupid:
  1684. description: 商品组ID(品种ID)
  1685. type: integer
  1686. goodsgroupname:
  1687. description: 商品组名称(品种)
  1688. type: string
  1689. goodsid:
  1690. description: 商品ID
  1691. type: integer
  1692. goodsname:
  1693. description: 商品名称(合约)
  1694. type: string
  1695. goodunit:
  1696. description: 报价单位
  1697. type: string
  1698. marketid:
  1699. description: 市场ID
  1700. type: integer
  1701. orderid:
  1702. description: 委托单号
  1703. type: string
  1704. outgoodscode:
  1705. description: 商品代码(外部)
  1706. type: string
  1707. relatedouttradeid:
  1708. description: 关联外部成交单ID
  1709. type: string
  1710. remark:
  1711. description: 备注
  1712. type: string
  1713. spotcontractid:
  1714. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1715. type: integer
  1716. spotcontractno:
  1717. description: 现货合同编号
  1718. type: string
  1719. tradeid:
  1720. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1721. type: string
  1722. tradeprice:
  1723. description: 成交价格
  1724. type: number
  1725. tradeqty:
  1726. description: 成交数量
  1727. type: integer
  1728. tradetime:
  1729. description: 成交时间
  1730. type: string
  1731. updatetime:
  1732. description: 更新时间
  1733. type: string
  1734. required:
  1735. - asapplyid
  1736. - buyorsell
  1737. - goodscode
  1738. - goodsgroupid
  1739. - goodsgroupname
  1740. - goodsname
  1741. - tradeid
  1742. type: object
  1743. erms2.QuerySpotContractRsp:
  1744. properties:
  1745. accountid:
  1746. description: 资金账户ID
  1747. type: integer
  1748. areauserid:
  1749. description: 所属机构
  1750. type: integer
  1751. closedate:
  1752. description: 终止日期
  1753. type: string
  1754. closeremark:
  1755. description: 结束备注
  1756. type: string
  1757. closetradedate:
  1758. description: 完结交易日(yyyyMMdd)
  1759. type: string
  1760. closetype:
  1761. description: 终止类型 - 1:违约 2:提前终止
  1762. type: integer
  1763. contractamount:
  1764. description: 合同金额
  1765. type: number
  1766. contractattachment:
  1767. description: 合同附件
  1768. type: string
  1769. contractno:
  1770. description: 现货合同编号
  1771. type: string
  1772. contractqty:
  1773. description: 合同数量(数值) (用于计算)
  1774. type: number
  1775. contractqtychar:
  1776. description: 合同数量\已订价数量 (用于显示)
  1777. type: string
  1778. contractstatus:
  1779. description: 合同状态 - 0:未结束 1:已结束
  1780. type: integer
  1781. contracttype:
  1782. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1783. type: integer
  1784. customeraccountid:
  1785. description: 客户资金账户ID
  1786. type: integer
  1787. customeruserid:
  1788. description: 客户ID
  1789. type: integer
  1790. deliverygoodsdesc:
  1791. description: 品种说明
  1792. type: string
  1793. deliverygoodsid:
  1794. description: 现货品种ID
  1795. type: integer
  1796. handlestatus:
  1797. description: 处理状态
  1798. type: integer
  1799. invoiceatt:
  1800. description: 发票附件
  1801. type: string
  1802. invoicedatetime:
  1803. description: 开收票更新时间
  1804. type: string
  1805. invoiceopentime:
  1806. description: 开票时间
  1807. type: string
  1808. invoiceremark:
  1809. description: 发票备注
  1810. type: string
  1811. invoicestatus:
  1812. description: 开收票状态 - 0:未开票 1:已开票
  1813. type: integer
  1814. lastdate:
  1815. description: 交货时间
  1816. type: string
  1817. marketid:
  1818. description: 市场ID
  1819. type: integer
  1820. paydatetime:
  1821. description: 收付款更新时间
  1822. type: string
  1823. payremark:
  1824. description: 收付款备注
  1825. type: string
  1826. paystatus:
  1827. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1828. type: integer
  1829. positionqty:
  1830. description: 头寸数量 - 合同数量去小数部分
  1831. type: integer
  1832. producttype:
  1833. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1834. type: integer
  1835. relatedqty:
  1836. description: 已关联数量
  1837. type: number
  1838. relatedstatus:
  1839. description: 关联完结状态 - 0:未结束 1:已结束
  1840. type: integer
  1841. remark:
  1842. description: 备注
  1843. type: string
  1844. signdate:
  1845. description: 签订日期
  1846. type: string
  1847. spotcontractid:
  1848. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1849. type: string
  1850. spotdatetime:
  1851. description: 收发货更新时间
  1852. type: string
  1853. spotprice:
  1854. description: 价格
  1855. type: number
  1856. spotremark:
  1857. description: 收发货备注
  1858. type: string
  1859. spotstatus:
  1860. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1861. type: integer
  1862. tradedate:
  1863. description: 交易日(yyyyMMdd)
  1864. type: string
  1865. userid:
  1866. description: 业务员用户ID
  1867. type: integer
  1868. warehouseid:
  1869. description: 仓库ID
  1870. type: integer
  1871. wrfactortypeid:
  1872. description: 仓单要素类型ID
  1873. type: integer
  1874. wrstandardid:
  1875. description: 仓单标准ID(SEQ_WRSTANDARD)
  1876. type: integer
  1877. required:
  1878. - spotcontractid
  1879. type: object
  1880. erms3.AddErms2ASApplyReq:
  1881. properties:
  1882. applybasis:
  1883. description: 申请基差
  1884. type: number
  1885. applystatus:
  1886. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1887. type: integer
  1888. asapplyid:
  1889. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1890. type: integer
  1891. asname:
  1892. description: 策略名称
  1893. type: string
  1894. asno:
  1895. description: 策略编号
  1896. type: string
  1897. auditid:
  1898. description: 审核人
  1899. type: integer
  1900. auditremark:
  1901. description: 审核备注
  1902. type: string
  1903. audittime:
  1904. description: 审核时间
  1905. type: string
  1906. biztype:
  1907. description: 业务类型 - 1:正向套利 2:反向套利
  1908. type: integer
  1909. createtime:
  1910. description: 创建时间
  1911. type: string
  1912. creatorid:
  1913. description: 创建人
  1914. type: integer
  1915. deliverygoodsid:
  1916. description: 现货品种ID
  1917. type: integer
  1918. futurequote:
  1919. description: 期货额度
  1920. type: number
  1921. goodsgroupid:
  1922. description: 期货品种ID
  1923. type: integer
  1924. marketid:
  1925. description: 市场ID
  1926. type: integer
  1927. remark:
  1928. description: 备注
  1929. type: string
  1930. spotquota:
  1931. description: 现货额度
  1932. type: number
  1933. tradedate:
  1934. description: 交易日(yyyyMMdd)
  1935. type: string
  1936. userid:
  1937. description: 所属机构
  1938. type: integer
  1939. required:
  1940. - asapplyid
  1941. type: object
  1942. erms3.AddErms2SpotTradeApplyReq:
  1943. properties:
  1944. applyjsondetail:
  1945. description: 申请明细(JSON)
  1946. type: string
  1947. applystatus:
  1948. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1949. type: integer
  1950. areauserid:
  1951. description: 所属机构
  1952. type: integer
  1953. auditid:
  1954. description: 审核人
  1955. type: integer
  1956. auditremark:
  1957. description: 审核备注
  1958. type: string
  1959. audittime:
  1960. description: 审核时间
  1961. type: string
  1962. createtime:
  1963. description: 创建时间
  1964. type: string
  1965. creatorid:
  1966. description: 创建人
  1967. type: integer
  1968. deliverygoodsid:
  1969. description: 现货品种ID
  1970. type: integer
  1971. futureaccountid:
  1972. description: 期货资金账户
  1973. type: integer
  1974. goodsgroupid:
  1975. description: 期货品种
  1976. type: integer
  1977. marketid:
  1978. description: 市场ID
  1979. type: integer
  1980. remark:
  1981. description: 备注
  1982. type: string
  1983. spotaccountid:
  1984. description: 现货资金账户
  1985. type: integer
  1986. spottradeid:
  1987. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1988. type: integer
  1989. spottradename:
  1990. description: 业务名称
  1991. type: string
  1992. spottradeno:
  1993. description: 业务编号
  1994. type: string
  1995. tradedate:
  1996. description: 交易日(yyyyMMdd)
  1997. type: string
  1998. wrstandardid:
  1999. description: 仓单标准ID
  2000. type: integer
  2001. required:
  2002. - spottradeid
  2003. type: object
  2004. erms3.AddSpotContractApplyReq:
  2005. properties:
  2006. accountid:
  2007. description: 资金账户ID
  2008. type: integer
  2009. areauserid:
  2010. description: 所属机构
  2011. type: integer
  2012. contractattachment:
  2013. description: 合同附件
  2014. type: string
  2015. contractno:
  2016. description: 现货合同编号
  2017. type: string
  2018. contracttype:
  2019. description: 现货合同类型 - 1:采购 -1:销售
  2020. type: integer
  2021. creatorid:
  2022. description: 申请人
  2023. type: integer
  2024. customeraccountid:
  2025. description: 客户资金账户ID
  2026. type: integer
  2027. customeruserid:
  2028. description: 客户ID
  2029. type: integer
  2030. details:
  2031. description: 明细
  2032. items:
  2033. $ref: '#/definitions/erms3.SoptContractDetail'
  2034. type: array
  2035. orimargin:
  2036. description: 初始保证金
  2037. type: number
  2038. remark:
  2039. description: 备注
  2040. type: string
  2041. signdate:
  2042. description: 签订日期
  2043. type: string
  2044. required:
  2045. - accountid
  2046. - areauserid
  2047. - contractno
  2048. - contracttype
  2049. - customeraccountid
  2050. - customeruserid
  2051. - details
  2052. - orimargin
  2053. - signdate
  2054. type: object
  2055. erms3.AddSpotContractApplyRsp:
  2056. properties:
  2057. contractno:
  2058. description: 现货合同编号
  2059. type: string
  2060. spotcontractid:
  2061. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2062. type: integer
  2063. required:
  2064. - contractno
  2065. type: object
  2066. erms3.AddUserInfoApplyReq:
  2067. properties:
  2068. accountid:
  2069. description: 交易系统帐号Id (加密存储)
  2070. type: integer
  2071. areacode:
  2072. description: 机构代码
  2073. type: string
  2074. areaid:
  2075. description: 机构Id
  2076. type: integer
  2077. attachment1:
  2078. description: 附件1
  2079. type: string
  2080. attachment2:
  2081. description: 附件2
  2082. type: string
  2083. attachment3:
  2084. description: 附件3
  2085. type: string
  2086. attachment4:
  2087. description: 附件4
  2088. type: string
  2089. attachment5:
  2090. description: 附件5
  2091. type: string
  2092. auditedby:
  2093. description: 审核人
  2094. type: string
  2095. auditime:
  2096. description: 审核时间
  2097. type: string
  2098. auditsrc:
  2099. description: 审核来源 - 1:管理端 2:终端
  2100. type: integer
  2101. bankaccount:
  2102. description: 银行帐号 (加密存储)
  2103. type: string
  2104. bankaccountname:
  2105. description: 收款人名称
  2106. type: string
  2107. bankcardbackphotourl:
  2108. description: 银行卡背面照地址
  2109. type: string
  2110. bankcardfrontphotourl:
  2111. description: 银行卡正面照地址
  2112. type: string
  2113. bankid:
  2114. description: 银行编码
  2115. type: string
  2116. bankname:
  2117. description: 银行名称
  2118. type: string
  2119. bankpictureurl:
  2120. description: 银行卡正面地址
  2121. type: string
  2122. biznature:
  2123. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2124. type: integer
  2125. bizscope:
  2126. description: 企业经营范围(企业)
  2127. type: string
  2128. biztype:
  2129. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2130. type: integer
  2131. brokerid:
  2132. description: 经纪人ID(加密存储)
  2133. type: string
  2134. cardaddress:
  2135. description: 证件地址 (加密存储)
  2136. type: string
  2137. cardbackphotourl:
  2138. description: 背面证件照地址
  2139. type: string
  2140. cardfrontphotourl:
  2141. description: 正面证件照地址
  2142. type: string
  2143. cardnum:
  2144. description: 证件号码 (加密存储)
  2145. type: string
  2146. cardtype:
  2147. description: 证件类型
  2148. type: integer
  2149. cityid:
  2150. description: 市
  2151. type: integer
  2152. company:
  2153. description: 公司(个人)
  2154. type: string
  2155. contactcardbackphotourl:
  2156. description: 联系人证件背面图片地址
  2157. type: string
  2158. contactcardfrontphotourl:
  2159. description: 联系人证件正面图片地址
  2160. type: string
  2161. contactname:
  2162. description: 联系人
  2163. type: string
  2164. countryid:
  2165. description: 国家
  2166. type: integer
  2167. createtime:
  2168. description: 开户申请时间
  2169. type: string
  2170. cusbankid:
  2171. description: 签约类型
  2172. type: string
  2173. cusbankname:
  2174. description: 签约类型名称
  2175. type: string
  2176. customername:
  2177. description: 客户名称(企业名称)
  2178. type: string
  2179. districtid:
  2180. description: 地区
  2181. type: integer
  2182. email:
  2183. description: Email地址(加密存储)
  2184. type: string
  2185. halfbodyphotourl:
  2186. description: 半身照地址
  2187. type: string
  2188. headurl:
  2189. description: 头像地址
  2190. type: string
  2191. ipaddress:
  2192. description: IP地址
  2193. type: string
  2194. isvalidate:
  2195. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2196. type: string
  2197. legalcardbackphotourl:
  2198. description: 法人身份证背面照地址
  2199. type: string
  2200. legalcardfrontphotourl:
  2201. description: 法人身份证正面照地址
  2202. type: string
  2203. legalpersonname:
  2204. description: 法人姓名(企业)
  2205. type: string
  2206. logincode:
  2207. description: 登录帐号 (加密存储)
  2208. type: string
  2209. memberareaid:
  2210. description: 所属会员ID
  2211. type: integer
  2212. mobile2:
  2213. description: 手机号码[明文-尚志]
  2214. type: string
  2215. mobilephone:
  2216. description: 手机号码 (加密存储)
  2217. type: string
  2218. modifiedby:
  2219. description: 修改人帐号
  2220. type: integer
  2221. modifiedtime:
  2222. description: 修改时间
  2223. type: string
  2224. nickname:
  2225. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2226. type: string
  2227. openmode:
  2228. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2229. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2230. type: integer
  2231. otherurl:
  2232. description: 其它图片地址[使用分号分隔]
  2233. type: string
  2234. postalcode:
  2235. description: 邮政编码
  2236. type: string
  2237. provinceid:
  2238. description: 省
  2239. type: integer
  2240. proxystatementurl:
  2241. description: 授权委托书
  2242. type: string
  2243. qq:
  2244. description: QQ(加密存储
  2245. type: string
  2246. referral:
  2247. description: 推荐人编码
  2248. type: string
  2249. remark:
  2250. description: 备注
  2251. type: string
  2252. removebeforestatus:
  2253. description: REMOVEBEFORESTATUS
  2254. type: integer
  2255. sex:
  2256. description: 性别 - 0:女 1:男
  2257. type: integer
  2258. signedstatus:
  2259. description: 账户一号签签约状态
  2260. type: integer
  2261. signpdfurl:
  2262. description: 签约pdf文件
  2263. type: string
  2264. subbranch:
  2265. description: 开户支行
  2266. type: string
  2267. taxpayernum:
  2268. description: 纳税人识别号
  2269. type: string
  2270. telphone:
  2271. description: 联系电话(加密存储)
  2272. type: string
  2273. userid:
  2274. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2275. type: integer
  2276. userinfotype:
  2277. description: 用户信息类型 - 1:个人 2:企业
  2278. type: integer
  2279. username:
  2280. description: 用户姓名
  2281. type: string
  2282. userstate:
  2283. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2284. type: integer
  2285. usertype:
  2286. description: 用户类型 - 1:投资者 2:机构
  2287. type: integer
  2288. videourl:
  2289. description: 视频地址
  2290. type: string
  2291. wechat:
  2292. description: 微信号 (加密存储)
  2293. type: string
  2294. required:
  2295. - userid
  2296. type: object
  2297. erms3.CustomerInfo:
  2298. properties:
  2299. accountids:
  2300. description: 资金账户ID列表
  2301. items:
  2302. type: integer
  2303. type: array
  2304. customername:
  2305. description: 名称(企业名称)
  2306. type: string
  2307. mobile:
  2308. description: 手机号码
  2309. type: string
  2310. userid:
  2311. description: 用户ID
  2312. type: integer
  2313. required:
  2314. - userid
  2315. type: object
  2316. erms3.ModifyUserInfoApplyReq:
  2317. properties:
  2318. accountid:
  2319. description: 交易系统帐号Id (加密存储)
  2320. type: integer
  2321. areacode:
  2322. description: 机构代码
  2323. type: string
  2324. areaid:
  2325. description: 机构Id
  2326. type: integer
  2327. attachment1:
  2328. description: 附件1
  2329. type: string
  2330. attachment2:
  2331. description: 附件2
  2332. type: string
  2333. attachment3:
  2334. description: 附件3
  2335. type: string
  2336. attachment4:
  2337. description: 附件4
  2338. type: string
  2339. attachment5:
  2340. description: 附件5
  2341. type: string
  2342. auditedby:
  2343. description: 审核人
  2344. type: string
  2345. auditime:
  2346. description: 审核时间
  2347. type: string
  2348. auditsrc:
  2349. description: 审核来源 - 1:管理端 2:终端
  2350. type: integer
  2351. bankaccount:
  2352. description: 银行帐号 (加密存储)
  2353. type: string
  2354. bankaccountname:
  2355. description: 收款人名称
  2356. type: string
  2357. bankcardbackphotourl:
  2358. description: 银行卡背面照地址
  2359. type: string
  2360. bankcardfrontphotourl:
  2361. description: 银行卡正面照地址
  2362. type: string
  2363. bankid:
  2364. description: 银行编码
  2365. type: string
  2366. bankname:
  2367. description: 银行名称
  2368. type: string
  2369. bankpictureurl:
  2370. description: 银行卡正面地址
  2371. type: string
  2372. biznature:
  2373. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2374. type: integer
  2375. bizscope:
  2376. description: 企业经营范围(企业)
  2377. type: string
  2378. biztype:
  2379. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2380. type: integer
  2381. brokerid:
  2382. description: 经纪人ID(加密存储)
  2383. type: string
  2384. cardaddress:
  2385. description: 证件地址 (加密存储)
  2386. type: string
  2387. cardbackphotourl:
  2388. description: 背面证件照地址
  2389. type: string
  2390. cardfrontphotourl:
  2391. description: 正面证件照地址
  2392. type: string
  2393. cardnum:
  2394. description: 证件号码 (加密存储)
  2395. type: string
  2396. cardtype:
  2397. description: 证件类型
  2398. type: integer
  2399. cityid:
  2400. description: 市
  2401. type: integer
  2402. company:
  2403. description: 公司(个人)
  2404. type: string
  2405. contactcardbackphotourl:
  2406. description: 联系人证件背面图片地址
  2407. type: string
  2408. contactcardfrontphotourl:
  2409. description: 联系人证件正面图片地址
  2410. type: string
  2411. contactname:
  2412. description: 联系人
  2413. type: string
  2414. countryid:
  2415. description: 国家
  2416. type: integer
  2417. createtime:
  2418. description: 开户申请时间
  2419. type: string
  2420. cusbankid:
  2421. description: 签约类型
  2422. type: string
  2423. cusbankname:
  2424. description: 签约类型名称
  2425. type: string
  2426. customername:
  2427. description: 客户名称(企业名称)
  2428. type: string
  2429. districtid:
  2430. description: 地区
  2431. type: integer
  2432. email:
  2433. description: Email地址(加密存储)
  2434. type: string
  2435. halfbodyphotourl:
  2436. description: 半身照地址
  2437. type: string
  2438. headurl:
  2439. description: 头像地址
  2440. type: string
  2441. ipaddress:
  2442. description: IP地址
  2443. type: string
  2444. isvalidate:
  2445. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2446. type: string
  2447. legalcardbackphotourl:
  2448. description: 法人身份证背面照地址
  2449. type: string
  2450. legalcardfrontphotourl:
  2451. description: 法人身份证正面照地址
  2452. type: string
  2453. legalpersonname:
  2454. description: 法人姓名(企业)
  2455. type: string
  2456. logincode:
  2457. description: 登录帐号 (加密存储)
  2458. type: string
  2459. memberareaid:
  2460. description: 所属会员ID
  2461. type: integer
  2462. mobile2:
  2463. description: 手机号码[明文-尚志]
  2464. type: string
  2465. mobilephone:
  2466. description: 手机号码 (加密存储)
  2467. type: string
  2468. modifiedby:
  2469. description: 修改人帐号
  2470. type: integer
  2471. modifiedtime:
  2472. description: 修改时间
  2473. type: string
  2474. nickname:
  2475. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2476. type: string
  2477. openmode:
  2478. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2479. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2480. type: integer
  2481. otherurl:
  2482. description: 其它图片地址[使用分号分隔]
  2483. type: string
  2484. postalcode:
  2485. description: 邮政编码
  2486. type: string
  2487. provinceid:
  2488. description: 省
  2489. type: integer
  2490. proxystatementurl:
  2491. description: 授权委托书
  2492. type: string
  2493. qq:
  2494. description: QQ(加密存储
  2495. type: string
  2496. referral:
  2497. description: 推荐人编码
  2498. type: string
  2499. remark:
  2500. description: 备注
  2501. type: string
  2502. removebeforestatus:
  2503. description: REMOVEBEFORESTATUS
  2504. type: integer
  2505. sex:
  2506. description: 性别 - 0:女 1:男
  2507. type: integer
  2508. signedstatus:
  2509. description: 账户一号签签约状态
  2510. type: integer
  2511. signpdfurl:
  2512. description: 签约pdf文件
  2513. type: string
  2514. subbranch:
  2515. description: 开户支行
  2516. type: string
  2517. taxpayernum:
  2518. description: 纳税人识别号
  2519. type: string
  2520. telphone:
  2521. description: 联系电话(加密存储)
  2522. type: string
  2523. userid:
  2524. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2525. type: integer
  2526. userinfotype:
  2527. description: 用户信息类型 - 1:个人 2:企业
  2528. type: integer
  2529. username:
  2530. description: 用户姓名
  2531. type: string
  2532. userstate:
  2533. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2534. type: integer
  2535. usertype:
  2536. description: 用户类型 - 1:投资者 2:机构
  2537. type: integer
  2538. videourl:
  2539. description: 视频地址
  2540. type: string
  2541. wechat:
  2542. description: 微信号 (加密存储)
  2543. type: string
  2544. required:
  2545. - userid
  2546. type: object
  2547. erms3.QryAuditContractRsp:
  2548. properties:
  2549. accountid:
  2550. description: 交易员ID
  2551. type: string
  2552. applystatus:
  2553. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2554. type: integer
  2555. curdeliveryqty:
  2556. description: 未交收量
  2557. type: integer
  2558. customername:
  2559. description: 采购方ID
  2560. type: string
  2561. deliverygoodsid:
  2562. description: 品种ID
  2563. type: string
  2564. deliveryqty:
  2565. description: 交收量
  2566. type: integer
  2567. enumdicname:
  2568. description: 单位名称
  2569. type: string
  2570. matchaccountid:
  2571. description: 业务员ID
  2572. type: string
  2573. matchcustomername:
  2574. description: 销售方ID
  2575. type: string
  2576. pricedqty:
  2577. description: 定价量
  2578. type: number
  2579. signdate:
  2580. description: 签订日期
  2581. type: string
  2582. spotcontractid:
  2583. description: 合同ID
  2584. type: string
  2585. totaldqty:
  2586. description: 合同量
  2587. type: number
  2588. unpricedqty:
  2589. description: 未定价量
  2590. type: number
  2591. wrstandardname:
  2592. description: 商品名称
  2593. type: string
  2594. required:
  2595. - matchcustomername
  2596. - spotcontractid
  2597. type: object
  2598. erms3.QryPendingBizRsp:
  2599. $ref: '#/definitions/models.PendingAuditBizModel'
  2600. erms3.QueryBusinessInfoRsp:
  2601. properties:
  2602. businessid:
  2603. description: 业务ID.
  2604. type: integer
  2605. buyamount:
  2606. description: 采购额.
  2607. type: number
  2608. buyqty:
  2609. description: 采购量.
  2610. type: string
  2611. futurepl:
  2612. description: 期货盈亏.
  2613. type: number
  2614. futureqty:
  2615. description: 期货敞口.
  2616. type: string
  2617. goodsid:
  2618. description: 商品名称/商品代码.
  2619. type: string
  2620. hedgingqty:
  2621. description: 套保量.
  2622. type: string
  2623. sellamount:
  2624. description: 销售额.
  2625. type: number
  2626. sellqty:
  2627. description: 销售量.
  2628. type: string
  2629. spotmarketvalue:
  2630. description: 现货市值.
  2631. type: number
  2632. spotpl:
  2633. description: 浮动权益.
  2634. type: number
  2635. spotqty:
  2636. description: 现货量.
  2637. type: string
  2638. statu:
  2639. description: 状态,0-未结束 1-已结束.
  2640. type: integer
  2641. totalpl:
  2642. description: 总盈亏.
  2643. type: number
  2644. totalqty:
  2645. description: 总敞口.
  2646. type: string
  2647. type:
  2648. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2649. type: integer
  2650. type: object
  2651. erms3.QuerySpotContractAppleFormRsp:
  2652. properties:
  2653. goodses:
  2654. description: 合约列表
  2655. items:
  2656. $ref: '#/definitions/models.GoodsIDAndName'
  2657. type: array
  2658. oppositeusers:
  2659. description: 对方账号列表
  2660. items:
  2661. $ref: '#/definitions/erms3.CustomerInfo'
  2662. type: array
  2663. ouruser:
  2664. $ref: '#/definitions/erms3.CustomerInfo'
  2665. description: 我方账号
  2666. type: object
  2667. warehouseinfos:
  2668. description: 仓库信息列表
  2669. items:
  2670. $ref: '#/definitions/models.Warehouseinfo'
  2671. type: array
  2672. wrstandards:
  2673. description: 仓单标准列表
  2674. items:
  2675. $ref: '#/definitions/models.WRStandardInfo'
  2676. type: array
  2677. type: object
  2678. erms3.QuerySpotContractInfoRsp:
  2679. properties:
  2680. accountid:
  2681. description: 表示交易员ID.
  2682. type: integer
  2683. curdeliveryqty:
  2684. description: 表示未交收量.
  2685. type: number
  2686. customername:
  2687. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2688. type: string
  2689. deliverygoodsid:
  2690. description: 表示品种ID.
  2691. type: string
  2692. deliveryqty:
  2693. description: 表示交收量.
  2694. type: number
  2695. matchaccountid:
  2696. description: 表示业务员ID.
  2697. type: integer
  2698. matchcustomername:
  2699. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2700. type: string
  2701. priceqty:
  2702. description: 表示定价量.
  2703. type: number
  2704. relatedbizid:
  2705. description: 表示业务ID.
  2706. type: string
  2707. signdate:
  2708. description: 表示签订日期.
  2709. type: string
  2710. spotcontractid:
  2711. description: 合同ID
  2712. type: string
  2713. status:
  2714. description: 表示状态,0-履约中 1-已完成.
  2715. type: integer
  2716. totalqty:
  2717. description: 表示合同量.
  2718. type: number
  2719. unpricedqty:
  2720. description: 表示未定价量.
  2721. type: number
  2722. wrstandardname:
  2723. description: 表示商品ID.
  2724. type: string
  2725. type: object
  2726. erms3.QueryUserInfoAppliesRsp:
  2727. properties:
  2728. biznature:
  2729. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2730. type: integer
  2731. contactname:
  2732. description: 联系人
  2733. type: string
  2734. createtime:
  2735. description: 开户申请时间
  2736. type: string
  2737. userid:
  2738. description: 用户ID(自增ID)
  2739. type: integer
  2740. userinfotype:
  2741. description: 用户信息类型 - 1:个人 2:企业
  2742. type: integer
  2743. username:
  2744. description: 用户姓名
  2745. type: string
  2746. userstate:
  2747. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2748. type: integer
  2749. required:
  2750. - userid
  2751. type: object
  2752. erms3.QueryUserInfosRsp:
  2753. properties:
  2754. biznature:
  2755. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2756. type: integer
  2757. contactname:
  2758. description: 联系人
  2759. type: string
  2760. customername:
  2761. description: 客户名称(企业名称)
  2762. type: string
  2763. userid:
  2764. description: 用户ID
  2765. type: integer
  2766. userinfotype:
  2767. description: 用户信息类型 - 1:个人 2:企业
  2768. type: integer
  2769. userstatus:
  2770. description: 用户状态 - 1:正常 2:注销
  2771. type: integer
  2772. required:
  2773. - userid
  2774. type: object
  2775. erms3.SoptContractDetail:
  2776. properties:
  2777. deliverygoodsdesc:
  2778. description: 现货品种说明
  2779. type: string
  2780. deliverygoodsid:
  2781. description: 现货品种ID
  2782. type: integer
  2783. deliverygoodsname:
  2784. description: 现货品种名称
  2785. type: string
  2786. pointdesc:
  2787. description: 点价描述
  2788. type: string
  2789. producttype:
  2790. description: 产品类型 1:标准仓单 2:等标 3:非标
  2791. type: integer
  2792. producttypename:
  2793. description: 产品类型名称
  2794. type: string
  2795. spotPointOrderVoList:
  2796. description: 点价列表
  2797. items:
  2798. $ref: '#/definitions/erms3.SpotPointOrder'
  2799. type: array
  2800. spotPriceOrderList:
  2801. description: 定价列表
  2802. items:
  2803. $ref: '#/definitions/erms3.SpotPriceOrder'
  2804. type: array
  2805. unitname:
  2806. description: 单位名称
  2807. type: string
  2808. warehouseid:
  2809. description: 仓库ID
  2810. type: integer
  2811. warehousename:
  2812. description: 仓库名称
  2813. type: string
  2814. wrstandardid:
  2815. description: 交易标的ID
  2816. type: integer
  2817. wrstandardname:
  2818. description: 交易标的名称
  2819. type: string
  2820. required:
  2821. - deliverygoodsid
  2822. - producttype
  2823. - unitname
  2824. - warehouseid
  2825. - wrstandardid
  2826. - wrstandardname
  2827. type: object
  2828. erms3.SpotPointOrder:
  2829. properties:
  2830. basic:
  2831. description: 基差
  2832. type: number
  2833. deliveryenddate:
  2834. description: 交收结束日期
  2835. type: string
  2836. deliverystartdate:
  2837. description: 交收开始日期
  2838. type: string
  2839. enddate:
  2840. description: 点价结束日期
  2841. type: string
  2842. goodsid:
  2843. description: 商品ID
  2844. type: integer
  2845. goodsname:
  2846. description: 商品名称
  2847. type: string
  2848. qty:
  2849. description: 数量
  2850. type: number
  2851. startdate:
  2852. description: 点价开始日期
  2853. type: string
  2854. required:
  2855. - basic
  2856. - goodsid
  2857. - qty
  2858. type: object
  2859. erms3.SpotPriceOrder:
  2860. properties:
  2861. amount:
  2862. description: 金额
  2863. type: number
  2864. deliveryenddate:
  2865. description: 交收结束日期
  2866. type: string
  2867. deliverystartdate:
  2868. description: 交收开始日期
  2869. type: string
  2870. price:
  2871. description: 价格
  2872. type: number
  2873. qty:
  2874. description: 数量
  2875. type: number
  2876. required:
  2877. - amount
  2878. - price
  2879. - qty
  2880. type: object
  2881. hsby.GetHsbyMyCountRsp:
  2882. properties:
  2883. myCouponCount:
  2884. description: 我的优惠卷数量
  2885. type: integer
  2886. myOrderDetailListingCount:
  2887. description: 我的订单求购中数量
  2888. type: integer
  2889. myOrderDetailPreCount:
  2890. description: 我的订单抢购中数量
  2891. type: integer
  2892. myPackageUnReceiveCount:
  2893. description: 我的包裹待收货数量
  2894. type: integer
  2895. myPackageUnSendCount:
  2896. description: 我的包裹待发货数量
  2897. type: integer
  2898. myPayOrderCount:
  2899. description: 我的订单待付款数量
  2900. type: integer
  2901. type: object
  2902. hsby.QueryProvincesAndCitiesRsp:
  2903. properties:
  2904. cities:
  2905. description: 市
  2906. items:
  2907. $ref: '#/definitions/models.Division'
  2908. type: array
  2909. province:
  2910. $ref: '#/definitions/models.Division'
  2911. description: 省
  2912. type: object
  2913. type: object
  2914. models.AreaSpotModel:
  2915. properties:
  2916. areauserid:
  2917. description: 所属机构
  2918. type: integer
  2919. decreaseqty:
  2920. description: 减少数量=-(销售已定价数量+采购计划数量)
  2921. type: number
  2922. increaseqty:
  2923. description: 增加数量=销售计划数量+采购已定价数量
  2924. type: number
  2925. oritoalspotqty:
  2926. description: 昨日数量
  2927. type: number
  2928. totalspotqty:
  2929. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2930. type: number
  2931. updatetime:
  2932. description: 更新时间
  2933. type: string
  2934. wrstandardcode:
  2935. description: 现货品种代码
  2936. type: string
  2937. wrstandardid:
  2938. description: 现货商品ID
  2939. type: integer
  2940. wrstandardname:
  2941. description: 现货品种
  2942. type: string
  2943. type: object
  2944. models.Arearole:
  2945. properties:
  2946. createtime:
  2947. description: 创建时间
  2948. type: string
  2949. creatorid:
  2950. description: 创建人ID
  2951. type: integer
  2952. fromuserid:
  2953. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2954. type: integer
  2955. isreturnscore:
  2956. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2957. type: integer
  2958. modifierid:
  2959. description: 修改人ID
  2960. type: integer
  2961. modifytime:
  2962. description: 修改时间
  2963. type: string
  2964. orgtype:
  2965. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2966. type: integer
  2967. outuserid:
  2968. description: 外部账户[场外期权做市商]
  2969. type: string
  2970. parentuserid:
  2971. description: 上级组织机构(组织机构)
  2972. type: integer
  2973. roletype:
  2974. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2975. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2976. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2977. type: integer
  2978. rootuserid:
  2979. description: 顶级组织机构用户ID(组织机构)
  2980. type: integer
  2981. shoppassword:
  2982. description: 商城店铺登陆密码(商城店铺角色使用)
  2983. type: string
  2984. sublevelpath:
  2985. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2986. type: string
  2987. suborgtype:
  2988. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2989. type: integer
  2990. tradeaccountid:
  2991. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2992. type: integer
  2993. transurl:
  2994. description: 物流地址(物流机构)
  2995. type: string
  2996. userid:
  2997. description: 机构用户ID其他做市关系,都设置为 1
  2998. type: integer
  2999. required:
  3000. - roletype
  3001. - userid
  3002. type: object
  3003. models.Clientfixedadconfig:
  3004. properties:
  3005. adsort:
  3006. description: 排序
  3007. type: integer
  3008. adtype:
  3009. description: 广告位类型 - 1:新品抢购(HSBY)
  3010. type: integer
  3011. areauserid:
  3012. description: 所属机构ID
  3013. type: integer
  3014. createdate:
  3015. description: 创建时间
  3016. type: string
  3017. creatorid:
  3018. description: 创建人
  3019. type: integer
  3020. imagepath:
  3021. description: 图片
  3022. type: string
  3023. isshow:
  3024. description: 是否展示 - 0:不展示 1:展示
  3025. type: integer
  3026. modifierid:
  3027. description: 操作人
  3028. type: integer
  3029. recsize:
  3030. description: 推荐尺寸
  3031. type: string
  3032. title:
  3033. description: 标题
  3034. type: string
  3035. updatedate:
  3036. description: 更新时间
  3037. type: string
  3038. urlcontent:
  3039. description: 链接(地址或商品ID)
  3040. type: string
  3041. urltype:
  3042. description: 链接类型 - 1:直接地址 2:商品ID
  3043. type: integer
  3044. required:
  3045. - adsort
  3046. - adtype
  3047. type: object
  3048. models.Division:
  3049. properties:
  3050. autoid:
  3051. description: 自增ID
  3052. type: integer
  3053. divisioncode:
  3054. description: 行政代码
  3055. type: string
  3056. divisionlevel:
  3057. description: 行政级别
  3058. type: string
  3059. divisionname:
  3060. description: 行政名称
  3061. type: string
  3062. modifierid:
  3063. description: 修改人
  3064. type: integer
  3065. modifytime:
  3066. description: 修改时间
  3067. type: string
  3068. parentcode:
  3069. description: 上级行政代码
  3070. type: string
  3071. pathname:
  3072. description: 路径名称
  3073. type: string
  3074. postcode:
  3075. description: 邮政编码
  3076. type: string
  3077. separablename:
  3078. description: 可拆分的全称
  3079. type: string
  3080. shortcode:
  3081. description: 地区简码
  3082. type: string
  3083. required:
  3084. - autoid
  3085. - divisioncode
  3086. type: object
  3087. models.Enumdicitem:
  3088. properties:
  3089. autoid:
  3090. description: 自增ID
  3091. type: integer
  3092. bankmappedvalue:
  3093. description: 银行服务对应值
  3094. type: string
  3095. enumdiccode:
  3096. description: 所属枚举代码
  3097. type: string
  3098. enumdicid:
  3099. description: 所属枚举ID
  3100. type: integer
  3101. enumdicname:
  3102. description: 枚举项名称
  3103. type: string
  3104. enumitemname:
  3105. description: 枚举项值
  3106. type: integer
  3107. enumitemstatus:
  3108. description: 枚举项状态 - 1.启用 2.不启用
  3109. type: integer
  3110. enumitemvalue:
  3111. description: 通用值 - [币种通用简写]
  3112. type: string
  3113. param1:
  3114. description: 参数1[币种:币种小数位]
  3115. type: string
  3116. param2:
  3117. description: 参数1[币种:币种显示单位]
  3118. type: string
  3119. remark:
  3120. description: 备注
  3121. type: string
  3122. required:
  3123. - autoid
  3124. - enumdiccode
  3125. - enumdicid
  3126. - enumitemname
  3127. type: object
  3128. models.Ermcp3AreaSpot:
  3129. properties:
  3130. areauserid:
  3131. description: 所属机构
  3132. type: integer
  3133. decreaseqty:
  3134. description: 减少数量=-(销售已定价数量+采购计划数量)
  3135. type: number
  3136. deliverygoodscode:
  3137. description: 现货品种代码
  3138. type: string
  3139. deliverygoodsid:
  3140. description: 现货品种id
  3141. type: integer
  3142. deliverygoodsname:
  3143. description: 现货品种名称
  3144. type: string
  3145. enumdicname:
  3146. description: 单位名称
  3147. type: string
  3148. goodsunitid:
  3149. description: 现货品种单位id
  3150. type: integer
  3151. increaseqty:
  3152. description: 增加数量=销售计划数量+采购已定价数量
  3153. type: number
  3154. oritoalspotqty:
  3155. description: 昨日数量
  3156. type: number
  3157. totalspotqty:
  3158. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3159. type: number
  3160. updatetime:
  3161. description: 更新时间
  3162. type: string
  3163. type: object
  3164. models.Ermcp3AreaSpotDetail:
  3165. properties:
  3166. contracttype:
  3167. description: 合同类型 1-采购 -1-销售
  3168. type: integer
  3169. createtime:
  3170. description: 创建时间
  3171. type: string
  3172. deliverygoodscode:
  3173. description: 现货品种代码
  3174. type: string
  3175. deliverygoodsid:
  3176. description: 现货品种id
  3177. type: integer
  3178. deliverygoodsname:
  3179. description: 现货品种名称
  3180. type: string
  3181. enumdicname:
  3182. description: 现货商品单位名称
  3183. type: string
  3184. logtype:
  3185. description: 记录类型 1-套保 2-现货合同
  3186. type: integer
  3187. qty:
  3188. description: 数量
  3189. type: number
  3190. recordname:
  3191. description: 类型名称
  3192. type: string
  3193. relatedid:
  3194. description: 套保计划ID/现货合同ID
  3195. type: string
  3196. relatedno:
  3197. description: 编号
  3198. type: string
  3199. strtime:
  3200. description: 时间
  3201. type: string
  3202. type: object
  3203. models.Ermcp3AreaSpotPLReport:
  3204. properties:
  3205. accountid:
  3206. description: 期货账户ID (作废, 默认为0)
  3207. type: integer
  3208. accountname:
  3209. description: 机构名称
  3210. type: string
  3211. actualpl:
  3212. description: 现货损益
  3213. type: number
  3214. areauserid:
  3215. description: 所属机构\交易用户ID
  3216. type: integer
  3217. begindate:
  3218. description: 开始交易日
  3219. type: string
  3220. biztype:
  3221. description: 业务类型 - 1:套保 2:套利
  3222. type: integer
  3223. brandname:
  3224. description: 品牌名称
  3225. type: string
  3226. curamount:
  3227. description: 期末额
  3228. type: number
  3229. curaverageprice:
  3230. description: 期末均价
  3231. type: number
  3232. curbuyamount:
  3233. description: 期末采购总额
  3234. type: number
  3235. curbuyqty:
  3236. description: 期末采购总量
  3237. type: number
  3238. curmarketvalue:
  3239. description: 参考市值(期末市值)
  3240. type: number
  3241. curqty:
  3242. description: 期末量
  3243. type: number
  3244. currencyid:
  3245. description: 结算币种ID【原值】
  3246. type: integer
  3247. currencyname:
  3248. description: 币种名称
  3249. type: string
  3250. cursellamount:
  3251. description: 期末销售总额
  3252. type: number
  3253. cursellqty:
  3254. description: 期末销售总量
  3255. type: number
  3256. curspotprice:
  3257. description: 参考市价(最新价)
  3258. type: number
  3259. cycletime:
  3260. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3261. type: string
  3262. cycletype:
  3263. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3264. type: integer
  3265. deliverygoodscode:
  3266. description: 现货商品代码
  3267. type: string
  3268. deliverygoodsid:
  3269. description: 现货品种ID
  3270. type: integer
  3271. deliverygoodsname:
  3272. description: 现货商品名称
  3273. type: string
  3274. enddate:
  3275. description: 结束交易日
  3276. type: string
  3277. enumdicname:
  3278. description: 现货商品单位名称
  3279. type: string
  3280. floatpl:
  3281. description: 浮动损益
  3282. type: number
  3283. goodsunitid:
  3284. description: 现货商品单位id
  3285. type: integer
  3286. oriamount:
  3287. description: 期初额
  3288. type: number
  3289. oriaverageprice:
  3290. description: 期初均价
  3291. type: number
  3292. oribuyamount:
  3293. description: 期初采购总额
  3294. type: number
  3295. oribuyqty:
  3296. description: 期初采购总量
  3297. type: number
  3298. oriqty:
  3299. description: 期初量
  3300. type: number
  3301. orisellamount:
  3302. description: 期初销售总额
  3303. type: number
  3304. orisellqty:
  3305. description: 期初销售总量
  3306. type: number
  3307. reckondate:
  3308. description: 日照时期(yyyyMMdd)
  3309. type: string
  3310. spotgoodsbrandid:
  3311. description: 现货品牌ID
  3312. type: integer
  3313. todaybuyamount:
  3314. description: 今日采购额(今采购额)
  3315. type: number
  3316. todaybuyaverageprice:
  3317. description: 今日采购均价
  3318. type: number
  3319. todaybuyqty:
  3320. description: 今日采购量(今采购量)
  3321. type: number
  3322. todayinqty:
  3323. description: 今日入库量(今入库量)
  3324. type: number
  3325. todayoutqty:
  3326. description: 今日出库量(今出库量)
  3327. type: number
  3328. todaysellamount:
  3329. description: 今日销售额(今销售额)
  3330. type: number
  3331. todaysellaverageprice:
  3332. description: 今日销售均价
  3333. type: number
  3334. todaysellqty:
  3335. description: 今日销售量(今销售量)
  3336. type: number
  3337. unitid:
  3338. description: 品类单位id
  3339. type: integer
  3340. unitidname:
  3341. description: 品类单位名称
  3342. type: string
  3343. updatetime:
  3344. description: 更新时间
  3345. type: string
  3346. wrfactortypeid:
  3347. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3348. type: integer
  3349. wrstandardcode:
  3350. description: 品类代码
  3351. type: string
  3352. wrstandardid:
  3353. description: 现货品类ID
  3354. type: integer
  3355. wrstandardname:
  3356. description: 品类名称
  3357. type: string
  3358. type: object
  3359. models.Ermcp3AreaStock:
  3360. properties:
  3361. brandname:
  3362. description: 品牌名称
  3363. type: string
  3364. curstock:
  3365. description: 期末库存量(今日量)
  3366. type: number
  3367. deliverygoodscode:
  3368. description: 现货品种代码
  3369. type: string
  3370. deliverygoodsid:
  3371. description: 现货品种id
  3372. type: integer
  3373. deliverygoodsname:
  3374. description: 现货品种名称
  3375. type: string
  3376. enumdicname:
  3377. description: 单位名称
  3378. type: string
  3379. goodsunitid:
  3380. description: 现货商品单位id
  3381. type: integer
  3382. oristock:
  3383. description: 期初库存量(昨日量)
  3384. type: number
  3385. spotgoodsbrandid:
  3386. description: 现货品牌ID
  3387. type: integer
  3388. todaybuyinqty:
  3389. description: 今日采购入库量
  3390. type: number
  3391. todayproduceinqty:
  3392. description: 今日生产入库量
  3393. type: number
  3394. todayproduceoutqty:
  3395. description: 今日生产出库量
  3396. type: number
  3397. todayselloutqty:
  3398. description: 今日销售出库量
  3399. type: number
  3400. unitid:
  3401. description: 单位id
  3402. type: integer
  3403. updatetime:
  3404. description: 更新时间
  3405. type: string
  3406. userid:
  3407. description: 机构ID
  3408. type: integer
  3409. username:
  3410. description: 机构名称
  3411. type: string
  3412. warehousecode:
  3413. description: 仓库代码
  3414. type: string
  3415. warehouseinfoid:
  3416. description: 仓库ID
  3417. type: string
  3418. warehousename:
  3419. description: 仓库名称
  3420. type: string
  3421. warehousetype:
  3422. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3423. type: integer
  3424. wrstandardcode:
  3425. description: 品类代码
  3426. type: string
  3427. wrstandardid:
  3428. description: 品类ID
  3429. type: string
  3430. wrstandardname:
  3431. description: 品类名称
  3432. type: string
  3433. required:
  3434. - userid
  3435. type: object
  3436. models.Ermcp3AreaStockApply:
  3437. properties:
  3438. applyid:
  3439. description: 申请人
  3440. type: integer
  3441. applyname:
  3442. description: 申请人名称
  3443. type: string
  3444. applyremark:
  3445. description: 申请备注
  3446. type: string
  3447. applysrc:
  3448. description: 申请来源 - 1:管理端 2:终端
  3449. type: integer
  3450. applystatus:
  3451. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3452. type: integer
  3453. applytime:
  3454. description: 申请时间
  3455. type: string
  3456. auditid:
  3457. description: 审核人
  3458. type: integer
  3459. auditname:
  3460. description: 审核人名称
  3461. type: string
  3462. auditremark:
  3463. description: 审核备注
  3464. type: string
  3465. auditsrc:
  3466. description: 审核来源 - 1:管理端 2:终端
  3467. type: integer
  3468. audittime:
  3469. description: 审核时间
  3470. type: string
  3471. audittradedate:
  3472. description: 审核交易日(yyyyMMdd)
  3473. type: string
  3474. brandname:
  3475. description: 品牌名称
  3476. type: string
  3477. buynickname:
  3478. description: 采购方昵称
  3479. type: string
  3480. buyuserid:
  3481. description: 采购方userid
  3482. type: integer
  3483. buyusername:
  3484. description: 采购方名称
  3485. type: string
  3486. contractno:
  3487. description: 合同编号
  3488. type: string
  3489. contractqty:
  3490. description: 合同量
  3491. type: number
  3492. contracttype:
  3493. description: 现货合同类型 - 1:采购 -1:销售
  3494. type: integer
  3495. deliverygoodscode:
  3496. description: 现货品种代码
  3497. type: string
  3498. deliverygoodsid:
  3499. description: 现货品种id
  3500. type: integer
  3501. deliverygoodsname:
  3502. description: 现货品种名称
  3503. type: string
  3504. detailjson:
  3505. description: 明细数据
  3506. type: string
  3507. enumdicname:
  3508. description: 现货商品单位名称
  3509. type: string
  3510. inoutapplyid:
  3511. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3512. type: string
  3513. inouttype:
  3514. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3515. type: integer
  3516. pricetype:
  3517. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3518. type: integer
  3519. qty:
  3520. description: 数量
  3521. type: number
  3522. sellnickname:
  3523. description: 销售方昵称
  3524. type: string
  3525. selluserid:
  3526. description: 销售方userid
  3527. type: integer
  3528. sellusername:
  3529. description: 销售方名称
  3530. type: string
  3531. spotcontractid:
  3532. description: 关联现货合同ID
  3533. type: string
  3534. spotgoodsbrandid:
  3535. description: 现货品牌ID
  3536. type: integer
  3537. unitid:
  3538. description: 单位id
  3539. type: integer
  3540. userid:
  3541. description: 机构ID
  3542. type: integer
  3543. warehousecode:
  3544. description: 仓库代码
  3545. type: string
  3546. warehouseinfoid:
  3547. description: 现货仓库ID
  3548. type: string
  3549. warehousename:
  3550. description: 仓库名称
  3551. type: string
  3552. warehousetype:
  3553. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3554. type: integer
  3555. wrstandardcode:
  3556. description: 品类代码
  3557. type: string
  3558. wrstandardid:
  3559. description: 品类ID
  3560. type: integer
  3561. wrstandardname:
  3562. description: 品类名称
  3563. type: string
  3564. type: object
  3565. models.Ermcp3AreaStockApplySum:
  3566. properties:
  3567. brandname:
  3568. description: 品牌名称
  3569. type: string
  3570. inouttype:
  3571. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3572. type: integer
  3573. spotcontractid:
  3574. description: 关联现货合同ID
  3575. type: string
  3576. spotgoodsbrandid:
  3577. description: 品牌id
  3578. type: integer
  3579. totalqty:
  3580. description: 总数量
  3581. type: number
  3582. wrstandardid:
  3583. description: 品类id
  3584. type: integer
  3585. wrstandardname:
  3586. description: 品类名称
  3587. type: string
  3588. type: object
  3589. models.Ermcp3AreaStockReportEx:
  3590. properties:
  3591. begindate:
  3592. description: 开始交易日
  3593. type: string
  3594. brandname:
  3595. description: 品牌名称
  3596. type: string
  3597. curstock:
  3598. description: 期末库存量
  3599. type: number
  3600. cycletime:
  3601. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3602. type: string
  3603. cycletype:
  3604. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3605. type: integer
  3606. deliverygoodscode:
  3607. description: 现货品种代码
  3608. type: string
  3609. deliverygoodsid:
  3610. description: 现货品种id
  3611. type: integer
  3612. deliverygoodsname:
  3613. description: 现货品种名称
  3614. type: string
  3615. diffqty:
  3616. description: 库存变化量 = 期末 - 期初
  3617. type: number
  3618. enddate:
  3619. description: 结束交易日
  3620. type: string
  3621. enumdicname:
  3622. description: 单位名称
  3623. type: string
  3624. goodsunitid:
  3625. description: 现货单位id
  3626. type: integer
  3627. oristock:
  3628. description: 期初库存量
  3629. type: number
  3630. reckondate:
  3631. description: 日照时期(yyyyMMdd)
  3632. type: string
  3633. spotgoodsbrandid:
  3634. description: 现货品牌ID
  3635. type: integer
  3636. todaybuyinqty:
  3637. description: 今采购入库量
  3638. type: number
  3639. todayproduceinqty:
  3640. description: 今内部入库量
  3641. type: number
  3642. todayproduceoutqty:
  3643. description: 今内部出库量
  3644. type: number
  3645. todayselloutqty:
  3646. description: 今销售出库量
  3647. type: number
  3648. unbuyinqty:
  3649. description: 采购未入库量(数据库未找到相关字段?)
  3650. type: number
  3651. unitid:
  3652. description: 品类单位id
  3653. type: integer
  3654. unselloutqty:
  3655. description: 销售未出库量(数据库未找到相关字段?)
  3656. type: number
  3657. updatetime:
  3658. description: 更新时间
  3659. type: string
  3660. userid:
  3661. description: 机构ID
  3662. type: integer
  3663. username:
  3664. description: 机构名称
  3665. type: string
  3666. warehousecode:
  3667. description: 仓库代码
  3668. type: string
  3669. warehouseinfoid:
  3670. description: 仓库ID
  3671. type: string
  3672. warehousename:
  3673. description: 仓库名称
  3674. type: string
  3675. warehousetype:
  3676. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3677. type: integer
  3678. wrstandardcode:
  3679. description: 品类代码
  3680. type: string
  3681. wrstandardid:
  3682. description: 品类ID
  3683. type: integer
  3684. wrstandardname:
  3685. description: 品类名称
  3686. type: string
  3687. type: object
  3688. models.Ermcp3ArealSumPL:
  3689. properties:
  3690. accountname:
  3691. description: 机构名称
  3692. type: string
  3693. areauserid:
  3694. description: 所属机构\交易用户ID
  3695. type: integer
  3696. begindate:
  3697. description: 开始交易日
  3698. type: string
  3699. currencyid:
  3700. description: 结算币种ID
  3701. type: integer
  3702. currencyname:
  3703. description: 币种名称
  3704. type: string
  3705. cycletime:
  3706. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3707. type: string
  3708. cycletype:
  3709. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3710. type: integer
  3711. enddate:
  3712. description: 结束交易日
  3713. type: string
  3714. enumdicname:
  3715. description: 单位名称(套保品种)
  3716. type: string
  3717. futureactualpl:
  3718. description: 期货损益
  3719. type: number
  3720. futurefloatpl:
  3721. description: 期货浮动损益
  3722. type: number
  3723. goodsunitid:
  3724. description: 套保品种单位id
  3725. type: integer
  3726. middlegoodscode:
  3727. description: 套保品种代码
  3728. type: string
  3729. middlegoodsid:
  3730. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3731. type: integer
  3732. middlegoodsname:
  3733. description: 套保品种名称
  3734. type: string
  3735. reckondate:
  3736. description: 日照时期(yyyyMMdd)
  3737. type: string
  3738. spotactualpl:
  3739. description: 现货损益
  3740. type: number
  3741. spotfloatpl:
  3742. description: 现货浮动损益
  3743. type: number
  3744. sumactualpl:
  3745. description: 实际损益 = (ActualPL + FutureActualPL)
  3746. type: number
  3747. sumpl:
  3748. description: 汇总损益
  3749. type: number
  3750. updatetime:
  3751. description: 更新时间
  3752. type: string
  3753. type: object
  3754. models.Ermcp3Brand:
  3755. properties:
  3756. areauserid:
  3757. description: 用户id
  3758. type: integer
  3759. brandid:
  3760. description: 品牌id
  3761. type: integer
  3762. brandname:
  3763. description: 品牌名称
  3764. type: string
  3765. deliverygoodsid:
  3766. description: 品种ID
  3767. type: integer
  3768. type: object
  3769. models.Ermcp3Contract:
  3770. properties:
  3771. accountid:
  3772. description: 期货账户id
  3773. type: string
  3774. amount:
  3775. description: 金额 [1:一口价、3:暂定价]
  3776. type: number
  3777. attachment:
  3778. description: 附件
  3779. type: string
  3780. auditremark:
  3781. description: 审核意见
  3782. type: string
  3783. audittime:
  3784. description: 审核时间
  3785. type: string
  3786. biztype:
  3787. description: 业务类型 1-套保 2-套利
  3788. type: integer
  3789. brandname:
  3790. description: 品牌名称
  3791. type: string
  3792. buynickname:
  3793. description: 销售方昵称
  3794. type: string
  3795. buyuserid:
  3796. description: 采购方ID
  3797. type: integer
  3798. buyusername:
  3799. description: 采购方名称
  3800. type: string
  3801. contracctstatus:
  3802. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3803. type: integer
  3804. contractmargin:
  3805. description: 合同保证金
  3806. type: number
  3807. contractno:
  3808. description: 现货合同编号
  3809. type: string
  3810. contracttype:
  3811. description: 现货合同类型 - 1:采购 -1:销售
  3812. type: integer
  3813. convertfactor:
  3814. description: 标仓系数(品类)
  3815. type: number
  3816. createtime:
  3817. description: 创建时间
  3818. type: string
  3819. currencyid:
  3820. description: 币种id
  3821. type: integer
  3822. currencyname:
  3823. description: 币种名称
  3824. type: string
  3825. deliveryenddate:
  3826. description: 交收期(结束)
  3827. type: string
  3828. deliverygoodscode:
  3829. description: 现货品种代码
  3830. type: string
  3831. deliverygoodsid:
  3832. description: 现货品种ID
  3833. type: integer
  3834. deliverygoodsname:
  3835. description: 现货品种名称
  3836. type: string
  3837. deliverystartdate:
  3838. description: 交收期(开始)
  3839. type: string
  3840. enddate:
  3841. description: 点价结束日期 [2:点价 3:暂定价]
  3842. type: string
  3843. enumdicname:
  3844. description: 单位名称
  3845. type: string
  3846. goodscode:
  3847. description: 点价合约代码
  3848. type: string
  3849. goodsid:
  3850. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3851. type: integer
  3852. goodsname:
  3853. description: 点价商品名称
  3854. type: string
  3855. margin:
  3856. description: 当前保证金
  3857. type: number
  3858. meruserid:
  3859. description: 跟单员id
  3860. type: integer
  3861. meruserlogincode:
  3862. description: 跟单员登录代码
  3863. type: string
  3864. merusername:
  3865. description: 跟单员名称
  3866. type: string
  3867. price:
  3868. description: 价格\暂定价 [1:一口价、3:暂定价]
  3869. type: number
  3870. pricemove:
  3871. description: 升贴水 [2:点价 3:暂定价]
  3872. type: number
  3873. pricetype:
  3874. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3875. type: integer
  3876. producttype:
  3877. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3878. type: integer
  3879. qty:
  3880. description: 数量
  3881. type: number
  3882. remark:
  3883. description: 备注
  3884. type: string
  3885. saleuserid:
  3886. description: 业务员id
  3887. type: integer
  3888. saleuserlogincode:
  3889. description: 业务员登录代码
  3890. type: string
  3891. saleusername:
  3892. description: 业务员名称
  3893. type: string
  3894. sellnickname:
  3895. description: 采购方昵称
  3896. type: string
  3897. selluserid:
  3898. description: 销售方ID
  3899. type: integer
  3900. sellusername:
  3901. description: 销售方名称
  3902. type: string
  3903. spotcontractid:
  3904. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3905. type: string
  3906. spotgoodsbrandid:
  3907. description: 现货品牌ID(DGFactoryItem表的ID)
  3908. type: integer
  3909. spotgoodsdesc:
  3910. description: 商品型号
  3911. type: string
  3912. startdate:
  3913. description: 点价开始日期 [2:点价 3:暂定价]
  3914. type: string
  3915. tradeuserid:
  3916. description: 交易员id
  3917. type: integer
  3918. tradeuserlogincode:
  3919. description: 交易员登录代码
  3920. type: string
  3921. tradeusername:
  3922. description: 交易员名称
  3923. type: string
  3924. unitid:
  3925. description: 单位id(取品类上的单位id)
  3926. type: integer
  3927. updatetime:
  3928. description: 更新时间
  3929. type: string
  3930. userid:
  3931. description: 所属机构ID
  3932. type: integer
  3933. wrstandardcode:
  3934. description: 品类代码
  3935. type: string
  3936. wrstandardid:
  3937. description: 品类ID
  3938. type: integer
  3939. wrstandardname:
  3940. description: 品类名称
  3941. type: string
  3942. type: object
  3943. models.Ermcp3ExposureContractDetail:
  3944. properties:
  3945. biztype:
  3946. description: 业务类型 1-套保 2-套利
  3947. type: integer
  3948. brandname:
  3949. description: 品牌名称
  3950. type: string
  3951. buyuserid:
  3952. description: 采购方id
  3953. type: integer
  3954. buyusername:
  3955. description: 采购方名称
  3956. type: string
  3957. contractno:
  3958. description: 合同编号
  3959. type: string
  3960. contracttype:
  3961. description: 现货合同类型 - 1:采购 -1:销售
  3962. type: integer
  3963. convertfactor:
  3964. description: 标仓系数
  3965. type: number
  3966. convertratio:
  3967. description: 折算系数(套保品种)
  3968. type: number
  3969. curqty:
  3970. description: 今定价量
  3971. type: number
  3972. deliverygoodscode:
  3973. description: 现货商品代码
  3974. type: string
  3975. deliverygoodsid:
  3976. description: 现货商品id
  3977. type: integer
  3978. deliverygoodsname:
  3979. description: 现货商品名称
  3980. type: string
  3981. diffhedgeqty:
  3982. description: 套保变动量
  3983. type: number
  3984. diffneedhedgeqty:
  3985. description: 应套保变动量
  3986. type: number
  3987. diffqty:
  3988. description: 套保品种今变动量
  3989. type: number
  3990. enumdicname:
  3991. description: 单位名称
  3992. type: string
  3993. mgunitname:
  3994. description: 套保品种单位名称
  3995. type: string
  3996. middlegoodscode:
  3997. description: 套保品种代码
  3998. type: string
  3999. middlegoodsid:
  4000. description: 套保品种id
  4001. type: integer
  4002. middlegoodsname:
  4003. description: 套保品种名称
  4004. type: string
  4005. needarbitrageratio:
  4006. description: 应套利比例
  4007. type: number
  4008. needhedgeratio:
  4009. description: 应套保比例
  4010. type: number
  4011. pricedqty:
  4012. description: 已定价量
  4013. type: number
  4014. qty:
  4015. description: 合同量
  4016. type: number
  4017. selluserid:
  4018. description: 销售方id
  4019. type: integer
  4020. sellusername:
  4021. description: 销售方名称
  4022. type: string
  4023. spotcontractid:
  4024. description: 合同id
  4025. type: string
  4026. todaypricedqty:
  4027. description: 今定价量
  4028. type: number
  4029. tradedate:
  4030. description: 交易日
  4031. type: string
  4032. unitid:
  4033. description: 品类单位id
  4034. type: integer
  4035. userid:
  4036. description: 机构id
  4037. type: integer
  4038. username:
  4039. description: 交易用户
  4040. type: string
  4041. wrstandardcode:
  4042. description: 品类代码
  4043. type: string
  4044. wrstandardid:
  4045. description: 品类id
  4046. type: integer
  4047. wrstandardname:
  4048. description: 品类名称
  4049. type: string
  4050. type: object
  4051. models.Ermcp3ExposureDetail:
  4052. properties:
  4053. areauserid:
  4054. description: 机构ID
  4055. type: integer
  4056. changeQty:
  4057. description: 套保变动量
  4058. type: number
  4059. contracttype:
  4060. description: 现货合同类型 - 1:采购 -1:销售
  4061. type: integer
  4062. convertfactor:
  4063. description: 标仓系数
  4064. type: number
  4065. convertratio:
  4066. description: 套保系数
  4067. type: number
  4068. createtime:
  4069. description: 时间
  4070. type: string
  4071. deliverygoodscode:
  4072. description: 现货品种代码
  4073. type: string
  4074. deliverygoodsid:
  4075. description: 现货品种id
  4076. type: integer
  4077. deliverygoodsname:
  4078. description: 现货品种名称
  4079. type: string
  4080. enumdicname:
  4081. description: 现货商品单位名称
  4082. type: string
  4083. logtype:
  4084. description: 类型 - 1:套保计划 2:现货合同
  4085. type: integer
  4086. mgunitid:
  4087. description: 套保品种单位id
  4088. type: integer
  4089. mgunitidname:
  4090. description: 套保品种单位名称
  4091. type: string
  4092. middlegoodsId:
  4093. description: 套保商品id
  4094. type: integer
  4095. middlegoodscode:
  4096. description: 套保商品代码
  4097. type: string
  4098. middlegoodsname:
  4099. description: 套保商品名称
  4100. type: string
  4101. qty:
  4102. description: 数量
  4103. type: number
  4104. relateNo:
  4105. description: 现货合同/套保计划编号
  4106. type: string
  4107. type: object
  4108. models.Ermcp3ExposureFutuDetail:
  4109. properties:
  4110. accountid:
  4111. description: 交易账户id
  4112. type: integer
  4113. accountname:
  4114. description: 交易账户
  4115. type: string
  4116. begindate:
  4117. description: 开始交易日
  4118. type: string
  4119. buyorsell:
  4120. description: 方向 0-买 1-卖
  4121. type: integer
  4122. diffmgqty:
  4123. description: 套保品种今变化量
  4124. type: number
  4125. diffneedqty:
  4126. description: 应套保总量变化量
  4127. type: number
  4128. difftradeqty:
  4129. description: 交易品种今变化量
  4130. type: number
  4131. enddate:
  4132. description: 结束交易日
  4133. type: string
  4134. enumdicname:
  4135. description: 单位名称
  4136. type: string
  4137. goodscode:
  4138. description: 商品代码
  4139. type: string
  4140. goodsid:
  4141. description: 商品id
  4142. type: integer
  4143. goodsname:
  4144. description: 商品名称
  4145. type: string
  4146. holdqty:
  4147. description: 期末持仓量
  4148. type: number
  4149. middlegoodscode:
  4150. description: 套保商品代码
  4151. type: string
  4152. middlegoodsid:
  4153. description: 套保商品id
  4154. type: integer
  4155. middlegoodsname:
  4156. description: 套保商品名称
  4157. type: string
  4158. oriholdqty:
  4159. description: 期初持仓量
  4160. type: number
  4161. todaycloseqty:
  4162. description: 今平仓量
  4163. type: number
  4164. todayopenqty:
  4165. description: 今开仓量
  4166. type: number
  4167. tradedate:
  4168. description: 交易日
  4169. type: string
  4170. type: object
  4171. models.Ermcp3ExposureHedgeplanDetail:
  4172. properties:
  4173. biztype:
  4174. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4175. type: integer
  4176. changqty:
  4177. description: 应套保总量变化量
  4178. type: number
  4179. contracttype:
  4180. description: 计划类型 - 1:采购 -1:销售
  4181. type: integer
  4182. convertratio:
  4183. description: 折算系数(套保品种)
  4184. type: number
  4185. deliverygoodscode:
  4186. description: 现货商品代码
  4187. type: string
  4188. deliverygoodsid:
  4189. description: 现货商品id
  4190. type: integer
  4191. deliverygoodsname:
  4192. description: 现货商吕名称
  4193. type: string
  4194. dgunitid:
  4195. description: 现货商品单位id
  4196. type: integer
  4197. dgunitidname:
  4198. description: 单位名称(现货商品)
  4199. type: string
  4200. diffqty:
  4201. description: 套保品种今变动量
  4202. type: number
  4203. enumdicname:
  4204. description: 单位名称(品类)
  4205. type: string
  4206. hedgeplanid:
  4207. description: 套保计划id
  4208. type: string
  4209. hedgeplanno:
  4210. description: 套保计划名称
  4211. type: string
  4212. hedgeplanstatus:
  4213. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4214. type: integer
  4215. mgunitidname:
  4216. description: 单位名称(套保商品)
  4217. type: string
  4218. middlegoodscode:
  4219. description: 套保品种代码
  4220. type: string
  4221. middlegoodsid:
  4222. description: 套保品种id
  4223. type: integer
  4224. middlegoodsname:
  4225. description: 套保品种名称
  4226. type: string
  4227. needarbitrageratio:
  4228. description: 应套利比例
  4229. type: number
  4230. needhedgeratio:
  4231. description: 应套保比例
  4232. type: number
  4233. pricedqty:
  4234. description: 已定价量
  4235. type: number
  4236. qty:
  4237. description: 合同量
  4238. type: number
  4239. tradedate:
  4240. description: 交易日(登记日)
  4241. type: string
  4242. unitid:
  4243. description: 品类单位id
  4244. type: integer
  4245. userid:
  4246. description: 机构id
  4247. type: integer
  4248. wrstandardcode:
  4249. description: 品类代码
  4250. type: string
  4251. wrstandardid:
  4252. description: 品类id
  4253. type: integer
  4254. wrstandardname:
  4255. description: 品类名称
  4256. type: string
  4257. type: object
  4258. models.Ermcp3ExposureParamChLog:
  4259. properties:
  4260. accountid:
  4261. description: 期货账户ID (作废, 默认为0)
  4262. type: integer
  4263. aftervalue:
  4264. description: 应套保\套利量变更后(调整后应套保总量)
  4265. type: number
  4266. areauserid:
  4267. description: 所属机构\交易用户ID
  4268. type: integer
  4269. beforevalue:
  4270. description: 应套保\套利量变更前(调整前应套保总量)
  4271. type: number
  4272. begindate:
  4273. description: 开始交易日
  4274. type: string
  4275. changelogtype:
  4276. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4277. type: integer
  4278. curvalue:
  4279. description: 当前套保\套利量(套保总量|套利总量)
  4280. type: number
  4281. diffvalue:
  4282. description: 应套保总量变化量
  4283. type: number
  4284. enddate:
  4285. description: 结束交易日
  4286. type: string
  4287. logdatetime:
  4288. description: 流水日期
  4289. type: string
  4290. logid:
  4291. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4292. type: string
  4293. middlegoodscode:
  4294. description: 套保品种代码
  4295. type: string
  4296. middlegoodsid:
  4297. description: 套保品种
  4298. type: integer
  4299. middlegoodsname:
  4300. description: 套保品种名称
  4301. type: string
  4302. paramaftervalue:
  4303. description: 参数变更后(调整后参数值)
  4304. type: number
  4305. parambeforevalue:
  4306. description: 参数变更前(调整前参数值)
  4307. type: number
  4308. tradedate:
  4309. description: 交易日(yyyyMMdd)
  4310. type: string
  4311. type: object
  4312. models.Ermcp3ExpourseReport:
  4313. properties:
  4314. accountid:
  4315. description: 期货账户ID (作废, 默认为0)
  4316. type: integer
  4317. accountname:
  4318. description: 机构名称
  4319. type: string
  4320. arbitrageqty:
  4321. description: 套利量
  4322. type: number
  4323. areauserid:
  4324. description: 所属机构\交易用户ID
  4325. type: integer
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. buyfutureqty:
  4330. description: 买入期货数量
  4331. type: number
  4332. buyplanqty:
  4333. description: 采购计划数量
  4334. type: number
  4335. buypricedqty:
  4336. description: 采购合同已定价数量
  4337. type: number
  4338. cycletime:
  4339. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4340. type: string
  4341. cycletype:
  4342. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4343. type: integer
  4344. diffexposure:
  4345. description: 变动量(套保敞口)
  4346. type: number
  4347. difffutuqty:
  4348. description: 变动量(期货)
  4349. type: number
  4350. diffhedgeqty:
  4351. description: 变动量(现货应套保总量)
  4352. type: number
  4353. diffmgqtya:
  4354. description: 套保变动量
  4355. type: number
  4356. diffmgqtyb:
  4357. description: 套利变动量
  4358. type: number
  4359. diffqty:
  4360. description: 变动量(总敞口)
  4361. type: number
  4362. diffspotqty:
  4363. description: 变动量(现货)
  4364. type: number
  4365. enddate:
  4366. description: 结束交易日
  4367. type: string
  4368. enumdicname:
  4369. description: 单位名称
  4370. type: string
  4371. hedgeqty:
  4372. description: 套保量
  4373. type: number
  4374. mgneedhedgeratio:
  4375. description: 套保比例(套保品的)
  4376. type: number
  4377. middlegoodsid:
  4378. description: 套保品种ID
  4379. type: integer
  4380. middlegoodsname:
  4381. description: 套保商品名称
  4382. type: string
  4383. middlgoodscode:
  4384. description: 套保商品代码
  4385. type: string
  4386. needarbitrageqty:
  4387. description: 应套利量
  4388. type: number
  4389. needarbitrageratio:
  4390. description: 套利比例(套保品的)
  4391. type: number
  4392. needhedgeexposoure:
  4393. description: 应套保敞口(套保敞口)
  4394. type: number
  4395. needhedgeqty:
  4396. description: 应套保量
  4397. type: number
  4398. needhedgeratio:
  4399. description: 应套保敞口比例
  4400. type: number
  4401. oriarbitrageqty:
  4402. description: 期初套利量
  4403. type: number
  4404. oribuyfutureqty:
  4405. description: 期初买入期货数量
  4406. type: number
  4407. oribuyplanqty:
  4408. description: 期初采购计划数量
  4409. type: number
  4410. oribuypricedqty:
  4411. description: 期初采购合同已定价数量
  4412. type: number
  4413. orihedgeqty:
  4414. description: 期初套保量
  4415. type: number
  4416. orineedarbitrageqty:
  4417. description: 期初应套利量
  4418. type: number
  4419. orineedhedgeexposoure:
  4420. description: 期初应套保敞口
  4421. type: number
  4422. orineedhedgeqty:
  4423. description: 期初应套保量
  4424. type: number
  4425. orisellfutureqty:
  4426. description: 期初卖出期货数量
  4427. type: number
  4428. orisellplanqty:
  4429. description: 期初销售计划数量
  4430. type: number
  4431. orisellpricedqty:
  4432. description: 期初销售合同已定价数量
  4433. type: number
  4434. oritotalexposure:
  4435. description: 期初实时总敞口
  4436. type: number
  4437. oritotalfutureqty:
  4438. description: 期初期货头寸总量
  4439. type: number
  4440. oritotalneedhedgeqty:
  4441. description: 期初应套保总量
  4442. type: number
  4443. oritotalspotqty:
  4444. description: 期初现货头寸总量
  4445. type: number
  4446. reckondate:
  4447. description: 日照时期(yyyyMMdd)
  4448. type: string
  4449. sellfutureqty:
  4450. description: 卖出期货数量
  4451. type: number
  4452. sellplanqty:
  4453. description: 销售计划数量
  4454. type: number
  4455. sellpricedqty:
  4456. description: 销售合同已定价数量
  4457. type: number
  4458. totalexposure:
  4459. description: 实时总敞口(总敞口)
  4460. type: number
  4461. totalfutureqty:
  4462. description: 期货头寸总量(期货总量)
  4463. type: number
  4464. totalhedgeratio:
  4465. description: 敞口比例
  4466. type: number
  4467. totalneedhedgeqty:
  4468. description: 应套保总量(现货应套保总量)
  4469. type: number
  4470. totalspotqty:
  4471. description: 现货头寸总量
  4472. type: number
  4473. unitid:
  4474. description: 单位id
  4475. type: integer
  4476. updatetime:
  4477. description: 更新时间
  4478. type: string
  4479. type: object
  4480. models.Ermcp3FinanceReport:
  4481. properties:
  4482. accountname:
  4483. description: 机构名称
  4484. type: string
  4485. areauserid:
  4486. description: 所属机构\交易用户ID
  4487. type: integer
  4488. begindate:
  4489. description: 开始交易日
  4490. type: string
  4491. biztype:
  4492. description: 业务类型 - 1:套保 2:套利
  4493. type: integer
  4494. brandname:
  4495. description: 品牌名称
  4496. type: string
  4497. buypreinvoicedamount:
  4498. description: 采购预收票额(预收票额)
  4499. type: number
  4500. buyprepaidamount:
  4501. description: 采购预付款额(预付货款额)
  4502. type: number
  4503. buytodayinvoiceamount:
  4504. description: 采购今收票额(今收票额)
  4505. type: number
  4506. buytodayrefundamount:
  4507. description: 采购今收退款额(今收退款额)
  4508. type: number
  4509. buytodaysettleamount:
  4510. description: 采购今付款额(今付货款额)
  4511. type: number
  4512. buyuninvoicedamount:
  4513. description: 采购应收票额(应收票额)
  4514. type: number
  4515. buyunpaidamount:
  4516. description: 采购应付款额(应付货款额)
  4517. type: number
  4518. currencyid:
  4519. description: 结算币种ID
  4520. type: integer
  4521. currencyname:
  4522. description: 币种名称
  4523. type: string
  4524. cycletime:
  4525. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4526. type: string
  4527. cycletype:
  4528. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4529. type: integer
  4530. deliverygoodscode:
  4531. description: 现货品种代码
  4532. type: string
  4533. deliverygoodsid:
  4534. description: 现货品种ID
  4535. type: integer
  4536. deliverygoodsname:
  4537. description: 现货品种名称
  4538. type: string
  4539. enddate:
  4540. description: 结束交易日
  4541. type: string
  4542. reckondate:
  4543. description: 日照时期(yyyyMMdd)
  4544. type: string
  4545. sellpreinvoicedamount:
  4546. description: 销售预开票额(预开票额)
  4547. type: number
  4548. sellprepaidamount:
  4549. description: 销售预收款额(预收货款额)
  4550. type: number
  4551. selltodayinvoiceamount:
  4552. description: 销售今开票额(今开票额)
  4553. type: number
  4554. selltodayrefundamount:
  4555. description: 销售今付退款额(今付退款额)
  4556. type: number
  4557. selltodaysettleamount:
  4558. description: 销售今收款额(今收货款额)
  4559. type: number
  4560. selluninvoicedamount:
  4561. description: 销售应开票额(应开票额)
  4562. type: number
  4563. sellunpaidamount:
  4564. description: 销售应收款额(应收货款额)
  4565. type: number
  4566. spotgoodsbrandid:
  4567. description: 现货品牌ID
  4568. type: integer
  4569. todaypaysum:
  4570. description: 今付款合计
  4571. type: number
  4572. todayreceivesum:
  4573. description: 今收款合计
  4574. type: number
  4575. updatetime:
  4576. description: 更新时间
  4577. type: string
  4578. wrfactortypeid:
  4579. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4580. type: integer
  4581. wrstandardcode:
  4582. description: 品类代码
  4583. type: string
  4584. wrstandardid:
  4585. description: 现货商品ID
  4586. type: integer
  4587. wrstandardname:
  4588. description: 品类名称
  4589. type: string
  4590. type: object
  4591. models.Ermcp3Goods:
  4592. properties:
  4593. agreeunit:
  4594. description: 合约单位(合约乘数)
  4595. type: number
  4596. enumdicname:
  4597. description: 单位名称
  4598. type: string
  4599. exexchangecode:
  4600. description: 交易所代码
  4601. type: string
  4602. goodscode:
  4603. description: 期货商品代码
  4604. type: string
  4605. goodsid:
  4606. description: 期货商品id
  4607. type: integer
  4608. goodsname:
  4609. description: 期货商品名称
  4610. type: string
  4611. type: object
  4612. models.Ermcp3GoodsGroup:
  4613. properties:
  4614. agreeunit:
  4615. description: 合约单位
  4616. type: number
  4617. areauserid:
  4618. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4619. type: integer
  4620. canshort:
  4621. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4622. type: integer
  4623. closepricemode:
  4624. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4625. type: integer
  4626. createtime:
  4627. description: 创建时间
  4628. type: string
  4629. creatorid:
  4630. description: 创建人
  4631. type: integer
  4632. currencyid:
  4633. description: 报价货币ID
  4634. type: integer
  4635. decimalplace:
  4636. description: 报价小数位
  4637. type: integer
  4638. enumdicname:
  4639. description: 单位名称
  4640. type: string
  4641. exchangefullname:
  4642. description: 交易所全称
  4643. type: string
  4644. excludecfg:
  4645. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4646. type: integer
  4647. exexchangecode:
  4648. description: 交易所代码
  4649. type: string
  4650. exexchangeid:
  4651. description: 外部交易所ID[通道交易]
  4652. type: integer
  4653. exexchangename:
  4654. description: 交易所名称
  4655. type: string
  4656. goodsgroupid:
  4657. description: 商品组ID(自增ID)
  4658. type: integer
  4659. goodsgroupname:
  4660. description: 商品组名称
  4661. type: string
  4662. goodsgroupstatus:
  4663. description: 商品组状态 - 1:正常 2:注销
  4664. type: integer
  4665. goodunitid:
  4666. description: 报价单位ID
  4667. type: integer
  4668. groupcategroyid:
  4669. description: 品种分类ID
  4670. type: integer
  4671. innerdealmode:
  4672. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. marketid:
  4675. description: 所属市场ID
  4676. type: integer
  4677. modifierid:
  4678. description: 修改人
  4679. type: integer
  4680. modifytime:
  4681. description: 修改时间
  4682. type: string
  4683. outerdealmode:
  4684. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4685. type: integer
  4686. outergroupcode:
  4687. description: 外部商品组代码[通道交易]
  4688. type: string
  4689. quoteminunit:
  4690. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4691. type: integer
  4692. quotesourcegroupid:
  4693. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4694. type: integer
  4695. syncgoodsqty:
  4696. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4697. type: integer
  4698. required:
  4699. - areauserid
  4700. type: object
  4701. models.Ermcp3GoodsGroupEx:
  4702. properties:
  4703. convertratio:
  4704. description: 折算系数(品种系数)
  4705. type: number
  4706. enumdicname:
  4707. description: 单位名称
  4708. type: string
  4709. exexchangecode:
  4710. description: 交易所代码
  4711. type: string
  4712. glist:
  4713. description: 合约列表
  4714. items:
  4715. $ref: '#/definitions/models.Ermcp3Goods'
  4716. type: array
  4717. goodsgroupid:
  4718. description: 商品组id
  4719. type: integer
  4720. goodsgroupname:
  4721. description: 商品组名称
  4722. type: string
  4723. goodsunitid:
  4724. description: 单位id
  4725. type: integer
  4726. middlegoodsid:
  4727. description: 套保商品id
  4728. type: integer
  4729. type: object
  4730. models.Ermcp3HedgePlan:
  4731. properties:
  4732. accountid:
  4733. description: 资金账号
  4734. type: integer
  4735. areauserid:
  4736. description: 用户ID
  4737. type: integer
  4738. auditid:
  4739. description: 审核id
  4740. type: integer
  4741. auditname:
  4742. description: 审核人名称
  4743. type: string
  4744. auditremark:
  4745. description: 审核备注
  4746. type: string
  4747. auditsrc:
  4748. description: 审核来源 1-管理端 2-终端
  4749. type: integer
  4750. audittime:
  4751. description: 审核时间
  4752. type: string
  4753. contracttype:
  4754. description: 计划类型 - 1:采购 -1:销售
  4755. type: integer
  4756. convertfactor:
  4757. description: 标仓系数
  4758. type: number
  4759. createtime:
  4760. description: 创建时间
  4761. type: string
  4762. currencyid:
  4763. description: 币种id
  4764. type: integer
  4765. currencyname:
  4766. description: 币种名称
  4767. type: string
  4768. deliverygoodscode:
  4769. description: 现货品种代码
  4770. type: string
  4771. deliverygoodsid:
  4772. description: 现货品种ID
  4773. type: integer
  4774. deliverygoodsname:
  4775. description: 现货品种名称
  4776. type: string
  4777. enumdicname:
  4778. description: 单位名称(现货商品)
  4779. type: string
  4780. hedgeplanid:
  4781. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4782. type: string
  4783. hedgeplanno:
  4784. description: 套保计划编号(名称)
  4785. type: string
  4786. hedgeplanstatus:
  4787. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4788. type: integer
  4789. planqty:
  4790. description: 计划数量
  4791. type: number
  4792. plantime:
  4793. description: 计划时间
  4794. type: string
  4795. producttype:
  4796. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4797. type: integer
  4798. remark:
  4799. description: 备注
  4800. type: string
  4801. spotgoodsdesc:
  4802. description: 商品型号
  4803. type: string
  4804. taaccountname:
  4805. description: 资金账号名称
  4806. type: string
  4807. tradeuserid:
  4808. description: 交易用户id
  4809. type: integer
  4810. tradeusername:
  4811. description: 交易用户名称
  4812. type: string
  4813. unitid:
  4814. description: 单位id(现货商品)
  4815. type: integer
  4816. updatetime:
  4817. description: 更新时间
  4818. type: string
  4819. wrstandardcode:
  4820. description: 品类代码
  4821. type: string
  4822. wrstandardid:
  4823. description: 品类id
  4824. type: integer
  4825. wrstandardname:
  4826. description: 品类名称
  4827. type: string
  4828. wrunitid:
  4829. description: 品类单位id
  4830. type: integer
  4831. wrunitidame:
  4832. description: 品类单位名称
  4833. type: string
  4834. type: object
  4835. models.Ermcp3MiddleGoodsDetail2:
  4836. properties:
  4837. convertratio:
  4838. description: 套保系数(折算系数)
  4839. type: number
  4840. gplist:
  4841. description: 关联商品组列表
  4842. items:
  4843. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4844. type: array
  4845. mg:
  4846. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4847. description: 套保商品信息
  4848. type: object
  4849. type: object
  4850. models.Ermcp3MiddleGoodsDetailEx:
  4851. properties:
  4852. dglist:
  4853. description: 关联的现货品种列表
  4854. items:
  4855. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4856. type: array
  4857. gplist:
  4858. description: 关联商品组列表
  4859. items:
  4860. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4861. type: array
  4862. mg:
  4863. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4864. description: 套保商品信息
  4865. type: object
  4866. type: object
  4867. models.Ermcp3PaAreaAuditCfg:
  4868. properties:
  4869. areauserid:
  4870. description: 用户ID
  4871. type: integer
  4872. buyinauditflag:
  4873. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  4874. type: integer
  4875. customerauditflag:
  4876. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  4877. type: integer
  4878. deliveryauditflag:
  4879. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  4880. type: integer
  4881. invoiceauditflag:
  4882. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  4883. type: integer
  4884. moneyauditflag:
  4885. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  4886. type: integer
  4887. operatorid:
  4888. description: 操作人
  4889. type: integer
  4890. operatorsrc:
  4891. description: 操作来源 - 1:管理端 2:终端
  4892. type: integer
  4893. pointpriceauditflag:
  4894. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  4895. type: integer
  4896. produceinauditflag:
  4897. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  4898. type: integer
  4899. produceoutauditflag:
  4900. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  4901. type: integer
  4902. selloutauditflag:
  4903. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  4904. type: integer
  4905. spotcontractauditflag:
  4906. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  4907. type: integer
  4908. updatetime:
  4909. description: 更新时间
  4910. type: string
  4911. type: object
  4912. models.Ermcp3PaAreaSubject:
  4913. properties:
  4914. areauserid:
  4915. description: 所属机构
  4916. type: integer
  4917. canmodify:
  4918. description: 是否可修改 - 0:否 1:是
  4919. type: integer
  4920. createtime:
  4921. description: 创建时间
  4922. type: string
  4923. creatorid:
  4924. description: 创建人ID
  4925. type: string
  4926. creatorsrc:
  4927. description: 创建人来源 - 1:管理端 2:终端 3:交易
  4928. type: integer
  4929. modifierid:
  4930. description: 修改人
  4931. type: string
  4932. modifiersrc:
  4933. description: 修改人来源 - 1:管理端 2:终端
  4934. type: integer
  4935. modifytime:
  4936. description: 修改时间
  4937. type: string
  4938. parentsubjectid:
  4939. description: 上级主体ID
  4940. type: string
  4941. remark:
  4942. description: 备注
  4943. type: string
  4944. subjectid:
  4945. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  4946. type: integer
  4947. subjectname:
  4948. description: 主体名称
  4949. type: string
  4950. subjectstatus:
  4951. description: '主体状态 - 1:正常 2: 停用'
  4952. type: integer
  4953. subjecttype:
  4954. description: 主体类型 - 1:交易主体 2:业务部门
  4955. type: integer
  4956. type: object
  4957. models.Ermcp3RootUserAccount:
  4958. properties:
  4959. accountname:
  4960. description: 账户名称(机构名称)
  4961. type: string
  4962. accountstatus:
  4963. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4964. type: integer
  4965. applysrc:
  4966. description: 申请来源 - 1:管理端 2:终端
  4967. type: integer
  4968. auditremark:
  4969. description: 审核备注
  4970. type: string
  4971. auditsrc:
  4972. description: 审核来源 - 1:管理端 2:终端
  4973. type: integer
  4974. audittime:
  4975. description: 审核时间
  4976. type: string
  4977. audituserid:
  4978. description: 审核人
  4979. type: integer
  4980. broker:
  4981. description: 所属经纪人ID
  4982. type: integer
  4983. canceltime:
  4984. description: 销户时间
  4985. type: string
  4986. canceluserid:
  4987. description: 销户人
  4988. type: integer
  4989. canrecommend:
  4990. description: 是否可推荐 - 0:不可 1;可
  4991. type: integer
  4992. createtime:
  4993. description: 创建时间
  4994. type: string
  4995. creatorid:
  4996. description: 创建人
  4997. type: integer
  4998. hasauth:
  4999. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  5000. type: integer
  5001. isanonymous:
  5002. description: 是否匿名下单 - 0:否 1:是
  5003. type: integer
  5004. maxinvestornum:
  5005. description: 最大用户数(经纪会员下投资者个数)
  5006. type: integer
  5007. memberuserid:
  5008. description: 所属会员ID
  5009. type: integer
  5010. modifierid:
  5011. description: 修改人
  5012. type: integer
  5013. modifyremark:
  5014. description: 变更备注
  5015. type: string
  5016. modifystatus:
  5017. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  5018. type: integer
  5019. modifytime:
  5020. description: 修改时间
  5021. type: string
  5022. parenttopuser:
  5023. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  5024. type: string
  5025. parentuserid:
  5026. description: 所属机构ID
  5027. type: integer
  5028. reckonaccountid:
  5029. description: 默认结算资金账号ID(机构分润使用) 作废
  5030. type: integer
  5031. refercount:
  5032. description: 推荐总人数
  5033. type: integer
  5034. refereeuserid:
  5035. description: 推荐人ID
  5036. type: integer
  5037. refernum:
  5038. description: 推荐码
  5039. type: string
  5040. rootuserid:
  5041. description: 根用户ID
  5042. type: integer
  5043. subaccountlevel:
  5044. description: 子账户层数
  5045. type: integer
  5046. subarealevelpath:
  5047. description: 子机构层级路径(逗号分隔,首尾加逗号)
  5048. type: string
  5049. userid:
  5050. description: 用户ID
  5051. type: integer
  5052. usertype:
  5053. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5054. type: integer
  5055. type: object
  5056. models.Ermcp3SellBuyContract:
  5057. properties:
  5058. accountid:
  5059. description: 期货账户id
  5060. type: string
  5061. accountname:
  5062. description: 账户名称
  5063. type: string
  5064. attachment:
  5065. description: 附件
  5066. type: string
  5067. audittime:
  5068. description: 审核时间
  5069. type: string
  5070. biztype:
  5071. description: 业务类型 1-套保 2-套利
  5072. type: integer
  5073. brandname:
  5074. description: 品牌名称
  5075. type: string
  5076. contracctstatus:
  5077. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5078. type: integer
  5079. contractmargin:
  5080. description: 合同保证金
  5081. type: number
  5082. contractno:
  5083. description: 合同编号
  5084. type: string
  5085. contracttype:
  5086. description: 合同类型 1-采购, -1-销售
  5087. type: integer
  5088. convertfactor:
  5089. description: 标仓系数(品类)
  5090. type: number
  5091. createtime:
  5092. description: 创建时间
  5093. type: string
  5094. currencyid:
  5095. description: 币种id
  5096. type: integer
  5097. currencyname:
  5098. description: 币种名称
  5099. type: string
  5100. daikaiamount:
  5101. description: 应收(开)票额
  5102. type: number
  5103. deliveryenddate:
  5104. description: 交割结束日
  5105. type: string
  5106. deliverygoodscode:
  5107. description: 现货品种代码
  5108. type: string
  5109. deliverygoodsid:
  5110. description: 现货商品ID
  5111. type: integer
  5112. deliverygoodsname:
  5113. description: 现货品种名称
  5114. type: string
  5115. deliverystartdate:
  5116. description: 交割开始日
  5117. type: string
  5118. enddate:
  5119. description: 点价结束日
  5120. type: string
  5121. enumdicname:
  5122. description: 单位名称
  5123. type: string
  5124. goodscode:
  5125. description: 点价商品代码
  5126. type: string
  5127. goodsid:
  5128. description: 点价商品ID
  5129. type: integer
  5130. goodsname:
  5131. description: 点价商品名称
  5132. type: string
  5133. invoiceamount:
  5134. description: 已开票额
  5135. type: number
  5136. loanamount:
  5137. description: 贷款总额=已定价额+调整金额
  5138. type: number
  5139. margin:
  5140. description: 保证金
  5141. type: number
  5142. meruserid:
  5143. description: 跟单员id
  5144. type: integer
  5145. meruserlogincode:
  5146. description: 跟单员登录代码
  5147. type: string
  5148. merusername:
  5149. description: 跟单员名称
  5150. type: string
  5151. nickname:
  5152. description: 账户昵称
  5153. type: string
  5154. payamount:
  5155. description: 已收付额(收款或付款)
  5156. type: number
  5157. preinvoiceamount:
  5158. description: 预收(开)票额
  5159. type: number
  5160. prepayamount:
  5161. description: 预收付额
  5162. type: number
  5163. price:
  5164. description: 价格
  5165. type: number
  5166. pricedamount:
  5167. description: 已定价额
  5168. type: number
  5169. pricedavg:
  5170. description: 已点均价
  5171. type: number
  5172. pricedqty:
  5173. description: 已定价量
  5174. type: number
  5175. pricemove:
  5176. description: 升贴水
  5177. type: number
  5178. pricetype:
  5179. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5180. type: integer
  5181. producttype:
  5182. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5183. type: integer
  5184. qty:
  5185. description: 合同量
  5186. type: number
  5187. reckonadjustamount:
  5188. description: 调整金额
  5189. type: number
  5190. reckonedamount:
  5191. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5192. type: number
  5193. reckonotheramount:
  5194. description: 其它费用
  5195. type: number
  5196. reckonrealqty:
  5197. description: 已确定量
  5198. type: number
  5199. remark:
  5200. description: 备注
  5201. type: string
  5202. saleuserid:
  5203. description: 业务员id
  5204. type: integer
  5205. saleuserlogincode:
  5206. description: 业务员登录代码
  5207. type: string
  5208. saleusername:
  5209. description: 业务员名称
  5210. type: string
  5211. spotcontractid:
  5212. description: 合同ID
  5213. type: string
  5214. spotgoodsbrandid:
  5215. description: 现货品牌ID(DGFactoryItem表的ID)
  5216. type: integer
  5217. spotgoodsdesc:
  5218. description: 商品型号(商品规格)
  5219. type: string
  5220. startdate:
  5221. description: 点价开始日
  5222. type: string
  5223. totalamount:
  5224. description: 合计总额
  5225. type: number
  5226. tradeuserid:
  5227. description: 交易员id
  5228. type: integer
  5229. tradeuserlogincode:
  5230. description: 交易员登录代码
  5231. type: string
  5232. tradeusername:
  5233. description: 交易员名称
  5234. type: string
  5235. unpayamount:
  5236. description: 应收付款额(应支付或应收款)
  5237. type: number
  5238. unpricedqty:
  5239. description: 未定价量
  5240. type: number
  5241. unsureqty:
  5242. description: 未确定量
  5243. type: number
  5244. userid:
  5245. description: 机构ID
  5246. type: integer
  5247. wrstandardcode:
  5248. description: 品类代码
  5249. type: string
  5250. wrstandardid:
  5251. description: 品类ID
  5252. type: integer
  5253. wrstandardname:
  5254. description: 品类名称
  5255. type: string
  5256. type: object
  5257. models.Ermcp3SpotGoodsPrice:
  5258. properties:
  5259. areauserid:
  5260. description: 所属机构id
  5261. type: integer
  5262. brandname:
  5263. description: 品牌名称
  5264. type: string
  5265. currencyid:
  5266. description: 报价货币ID
  5267. type: integer
  5268. currencyname:
  5269. description: 币种名称
  5270. type: string
  5271. deliverygoodscode:
  5272. description: 现货商品代码
  5273. type: string
  5274. deliverygoodsid:
  5275. description: 现货商品id
  5276. type: integer
  5277. deliverygoodsname:
  5278. description: 现货商品名称
  5279. type: string
  5280. enumdicname:
  5281. description: 现货商品单位名称
  5282. type: string
  5283. gbenumdicname:
  5284. description: 品类单位名称
  5285. type: string
  5286. gmunitid:
  5287. description: 品类单位id
  5288. type: integer
  5289. isvalid:
  5290. description: 是否有效 - 0:无效 1:有效
  5291. type: integer
  5292. operateid:
  5293. description: 最后操作人
  5294. type: integer
  5295. operatesrc:
  5296. description: 最后操作来源 - 1:管理端 2:终端
  5297. type: integer
  5298. operatetime:
  5299. description: 最后操作时间
  5300. type: string
  5301. operatorname:
  5302. description: 操作人名称
  5303. type: string
  5304. spotgoodsbrandid:
  5305. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5306. type: integer
  5307. spotgoodsprice:
  5308. description: 现货价格
  5309. type: number
  5310. tradedate:
  5311. description: 交易日(yyyyMMdd)
  5312. type: string
  5313. unitid:
  5314. description: 现货商品单位id
  5315. type: integer
  5316. wrstandardcode:
  5317. description: 品类代码
  5318. type: string
  5319. wrstandardid:
  5320. description: 现货品类ID(通用则为0)
  5321. type: integer
  5322. wrstandardname:
  5323. description: 品类名称
  5324. type: string
  5325. type: object
  5326. models.Ermcp3SpotGoodsPriceLog:
  5327. properties:
  5328. areauserid:
  5329. description: 所属机构id
  5330. type: integer
  5331. brandname:
  5332. description: 品牌名称
  5333. type: string
  5334. currencyid:
  5335. description: 报价货币ID
  5336. type: integer
  5337. deliverygoodscode:
  5338. description: 现货商品代码
  5339. type: string
  5340. deliverygoodsid:
  5341. description: 现货商品id
  5342. type: integer
  5343. deliverygoodsname:
  5344. description: 现货商品名称
  5345. type: string
  5346. enumdicname:
  5347. description: 现货商品单位名称
  5348. type: string
  5349. gbenumdicname:
  5350. description: 品类单位名称
  5351. type: string
  5352. gmunitid:
  5353. description: 品类单位id
  5354. type: integer
  5355. logid:
  5356. description: 日志id
  5357. type: integer
  5358. operateid:
  5359. description: 最后操作人
  5360. type: integer
  5361. operatesrc:
  5362. description: 最后操作来源 - 1:管理端 2:终端
  5363. type: integer
  5364. operatetime:
  5365. description: 最后操作时间
  5366. type: string
  5367. operatorname:
  5368. description: 操作人名称
  5369. type: string
  5370. spotgoodsbrandid:
  5371. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5372. type: integer
  5373. spotgoodsprice:
  5374. description: 现货价格
  5375. type: number
  5376. tradedate:
  5377. description: 交易日(yyyyMMdd)
  5378. type: string
  5379. unitid:
  5380. description: 现货商品单位id
  5381. type: integer
  5382. wrstandardcode:
  5383. description: 品类代码
  5384. type: string
  5385. wrstandardid:
  5386. description: 现货品类ID(通用则为0)
  5387. type: integer
  5388. wrstandardname:
  5389. description: 品类名称
  5390. type: string
  5391. type: object
  5392. models.Ermcp3TaFutuReDataReport:
  5393. properties:
  5394. accountid:
  5395. description: 交易账户
  5396. type: integer
  5397. accountname:
  5398. description: 交易账号名称
  5399. type: string
  5400. agreeunit:
  5401. description: 商品合约单位
  5402. type: number
  5403. begindate:
  5404. description: 开始交易日
  5405. type: string
  5406. buyorsell:
  5407. description: 持仓方向
  5408. type: integer
  5409. charge:
  5410. description: 手续费
  5411. type: number
  5412. closeavgprice:
  5413. description: 平仓均价
  5414. type: number
  5415. closepl:
  5416. description: 平仓损益
  5417. type: number
  5418. currencyid:
  5419. description: 结算币种ID
  5420. type: integer
  5421. currencyname:
  5422. description: 币种名称
  5423. type: string
  5424. cycletime:
  5425. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5426. type: string
  5427. cycletype:
  5428. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5429. type: integer
  5430. enddate:
  5431. description: 结束交易日
  5432. type: string
  5433. enumdicname:
  5434. description: 单位名称
  5435. type: string
  5436. floatpl:
  5437. description: 浮动损益
  5438. type: number
  5439. goodscode:
  5440. description: 交易合约代码
  5441. type: string
  5442. goodsgroupid:
  5443. description: 交易品种
  5444. type: integer
  5445. goodsgroupname:
  5446. description: 交易品种名称
  5447. type: string
  5448. goodsgroupspotqty:
  5449. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5450. type: number
  5451. goodsid:
  5452. description: 交易合约
  5453. type: integer
  5454. goodsname:
  5455. description: 交易合约名称
  5456. type: string
  5457. goodunitid:
  5458. description: 交易合约单位id
  5459. type: integer
  5460. holdamount:
  5461. description: 期末持仓额
  5462. type: number
  5463. holdqty:
  5464. description: 期末持仓量
  5465. type: number
  5466. lastholdamount:
  5467. description: 当前持仓额
  5468. type: number
  5469. lastprice:
  5470. description: 最新价
  5471. type: number
  5472. middlegoodsid:
  5473. description: 套保品种id
  5474. type: integer
  5475. middlegoodsname:
  5476. description: 套保商品名称
  5477. type: string
  5478. middlegoodsqty:
  5479. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5480. type: number
  5481. middlgoodscode:
  5482. description: 套保商品代码
  5483. type: string
  5484. openamount:
  5485. description: 期末开仓额
  5486. type: number
  5487. openavgprice:
  5488. description: 开仓均价
  5489. type: number
  5490. oriholdamount:
  5491. description: 期初持仓额
  5492. type: number
  5493. oriholdqty:
  5494. description: 期初持仓量
  5495. type: number
  5496. oriopenamount:
  5497. description: 期初开仓额
  5498. type: number
  5499. outergroupcode:
  5500. description: 交易品种代码
  5501. type: string
  5502. qtydecimalplace:
  5503. description: 成交量小数位
  5504. type: integer
  5505. reckondate:
  5506. description: 日照时期(yyyyMMdd)
  5507. type: string
  5508. reckonholdamount:
  5509. description: 结算持仓额
  5510. type: number
  5511. reckonpl:
  5512. description: 结算损益
  5513. type: number
  5514. reckonpl2:
  5515. description: 结算逐笔盈亏
  5516. type: number
  5517. reckonprice:
  5518. description: 结算价
  5519. type: number
  5520. relateduserid:
  5521. description: 账户关联用户ID
  5522. type: integer
  5523. todaycloseamount:
  5524. description: 今平仓额
  5525. type: number
  5526. todaycloseqty:
  5527. description: 今平仓量
  5528. type: number
  5529. todaygoodsgroupspotqty:
  5530. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5531. type: number
  5532. todaymiddlegoodsqty:
  5533. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5534. type: number
  5535. todayopenamount:
  5536. description: 今开仓额
  5537. type: number
  5538. todayopenqty:
  5539. description: 今开仓量
  5540. type: number
  5541. userid:
  5542. description: 账户所属用户ID
  5543. type: integer
  5544. type: object
  5545. models.Ermcp3Wrstandard:
  5546. properties:
  5547. areauserid:
  5548. description: 所属机构
  5549. type: integer
  5550. cantrade:
  5551. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  5552. type: integer
  5553. convertfactor:
  5554. description: 标仓系数
  5555. type: number
  5556. createtime:
  5557. description: 创建时间
  5558. type: string
  5559. creatorid:
  5560. description: 创建人
  5561. type: integer
  5562. deliverygoodsid:
  5563. description: 现货品种ID
  5564. type: integer
  5565. enumdicname:
  5566. description: 品类单位名称
  5567. type: string
  5568. isvalid:
  5569. description: 是否有效 0-无效(停用) 1-有效(正常)
  5570. type: integer
  5571. minivalue:
  5572. description: 最小变动值
  5573. type: integer
  5574. minivaluedp:
  5575. description: 最小变动值小数位
  5576. type: integer
  5577. realminivalue:
  5578. description: 实际最小变动值
  5579. type: integer
  5580. realminivaluedp:
  5581. description: 实际最小变动值小数位
  5582. type: integer
  5583. remark:
  5584. description: 备注
  5585. type: string
  5586. unitid:
  5587. description: 品类单位ID
  5588. type: integer
  5589. updatetime:
  5590. description: 更新时间
  5591. type: string
  5592. wrstandardcode:
  5593. description: 品类代码
  5594. type: string
  5595. wrstandardid:
  5596. description: 品类ID(SEQ_WRSTANDARD)
  5597. type: integer
  5598. wrstandardname:
  5599. description: 品类名称
  5600. type: string
  5601. type: object
  5602. models.ErmcpAreaSpotDetailModel:
  5603. properties:
  5604. contracttype:
  5605. description: 合同类型 1-采购 -1-销售
  5606. type: integer
  5607. createtime:
  5608. description: 创建时间
  5609. type: string
  5610. enumdicname:
  5611. description: 现货商品单位名称
  5612. type: string
  5613. logtype:
  5614. description: 记录类型 1-套保 2-现货合同
  5615. type: integer
  5616. qty:
  5617. description: 数量
  5618. type: number
  5619. recordname:
  5620. description: 类型名称
  5621. type: string
  5622. relatedid:
  5623. description: 套保计划ID/现货合同ID
  5624. type: string
  5625. relatedno:
  5626. description: 编号
  5627. type: string
  5628. strtime:
  5629. description: 时间
  5630. type: string
  5631. wrstandardcode:
  5632. description: 现货商品代码
  5633. type: string
  5634. wrstandardname:
  5635. description: 现货商品名称
  5636. type: string
  5637. type: object
  5638. models.ErmcpAvalidGoodsGroupModel:
  5639. properties:
  5640. goodsgroupid:
  5641. description: 期货品种id
  5642. type: integer
  5643. goodsgroupname:
  5644. description: 期货品种名称
  5645. type: string
  5646. goodunitid:
  5647. description: 品种单位id
  5648. type: integer
  5649. goodunitname:
  5650. description: 品种单位名称
  5651. type: string
  5652. outergroupcode:
  5653. description: 期货品种代码
  5654. type: string
  5655. type: object
  5656. models.ErmcpBizGroupEx:
  5657. properties:
  5658. acclist:
  5659. description: 账号列表
  5660. items:
  5661. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5662. type: array
  5663. bizgroupid:
  5664. description: 业务分组id
  5665. type: integer
  5666. biztype:
  5667. description: 业务类型 1-套保 2-套利
  5668. type: integer
  5669. wrlist:
  5670. description: 现货商品表
  5671. items:
  5672. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5673. type: array
  5674. type: object
  5675. models.ErmcpBizGroupSpotGoods:
  5676. properties:
  5677. areauserid:
  5678. description: 所属机构id
  5679. type: integer
  5680. bizgroupid:
  5681. description: 分组id
  5682. type: integer
  5683. biztype:
  5684. description: 业务类型 1-套保 2-套利
  5685. type: integer
  5686. deliverygoodscode:
  5687. description: 现货商品代码
  5688. type: string
  5689. deliverygoodsid:
  5690. description: 现货商品id
  5691. type: integer
  5692. deliverygoodsname:
  5693. description: 现货商品名称
  5694. type: string
  5695. unitid:
  5696. description: 现货商品单位id
  5697. type: integer
  5698. type: object
  5699. models.ErmcpBizGroupTaAccount:
  5700. properties:
  5701. accountid:
  5702. description: 账号id
  5703. type: integer
  5704. accountname:
  5705. description: 账号名称
  5706. type: string
  5707. areauserid:
  5708. description: 所属机构id
  5709. type: integer
  5710. bizgroupid:
  5711. description: 业务分组id
  5712. type: integer
  5713. ismain:
  5714. description: 是否主账号 1-是 0-否
  5715. type: integer
  5716. type: object
  5717. models.ErmcpDGFactoryItem:
  5718. properties:
  5719. areauserid:
  5720. description: 用户id
  5721. type: integer
  5722. deliverygoodsid:
  5723. description: 现货品种ID
  5724. type: integer
  5725. dgfactoryitemid:
  5726. description: 选择项ID(SEQ_DGFACTORYITEM)
  5727. type: integer
  5728. dgfactoryitemtypeid:
  5729. description: 要素项类型
  5730. type: integer
  5731. dgfactoryitemvalue:
  5732. description: 要素项值(类型为仓库时填写仓库名称)
  5733. type: string
  5734. isvalid:
  5735. description: 是否有效 - 0:无效 1:有效
  5736. type: integer
  5737. orderindex:
  5738. description: 顺序
  5739. type: integer
  5740. warehouseid:
  5741. description: 仓库ID(类型为仓库时填写)
  5742. type: integer
  5743. type: object
  5744. models.ErmcpDeliveryGoods:
  5745. properties:
  5746. agreeunit:
  5747. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5748. type: integer
  5749. areauserid:
  5750. description: 所属机构
  5751. type: integer
  5752. auditflag:
  5753. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5754. type: integer
  5755. categoryid:
  5756. description: 类别ID(SEQ_WRCATEGORY)
  5757. type: integer
  5758. deliverygoodscode:
  5759. description: 现货品种代码
  5760. type: string
  5761. deliverygoodsid:
  5762. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5763. type: integer
  5764. deliverygoodsname:
  5765. description: 现货品种名称
  5766. type: string
  5767. deliverygoodstype:
  5768. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5769. type: integer
  5770. dgstatus:
  5771. description: 品种状态 - 作废 - 0:未激活 1:正常
  5772. type: integer
  5773. enumdicname:
  5774. description: 现货品种单位名称
  5775. type: string
  5776. goodsunitid:
  5777. description: 现货品种单位ID
  5778. type: integer
  5779. isvalid:
  5780. description: 是否有效 - 0:无效 1:有效
  5781. type: integer
  5782. qtydecimalplace:
  5783. description: 成交量小数位
  5784. type: integer
  5785. remark:
  5786. description: 备注
  5787. type: string
  5788. standardqty:
  5789. description: 标准数量(库位数量) [标准品特有]
  5790. type: integer
  5791. standardqtyrange:
  5792. description: 标准数量偏差范围 [标准品特有]
  5793. type: integer
  5794. type: object
  5795. models.ErmcpDeliveryGoodsDetail2:
  5796. properties:
  5797. convertratio:
  5798. description: 套保系数(折算系数)
  5799. type: number
  5800. data:
  5801. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5802. description: 现货商品基本信息(交割品种)
  5803. type: object
  5804. gblist:
  5805. description: 品牌列表
  5806. items:
  5807. $ref: '#/definitions/models.Ermcp3Brand'
  5808. type: array
  5809. gmlist:
  5810. description: 品类列表(仓单标准)
  5811. items:
  5812. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5813. type: array
  5814. type: object
  5815. models.ErmcpDeliveryGoodsDetailEx:
  5816. properties:
  5817. data:
  5818. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5819. description: 现货商品基本信息(交割品种)
  5820. type: object
  5821. gblist:
  5822. description: 品牌列表
  5823. items:
  5824. $ref: '#/definitions/models.Ermcp3Brand'
  5825. type: array
  5826. gmlist:
  5827. description: 品类列表(仓单标准)
  5828. items:
  5829. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5830. type: array
  5831. mgList:
  5832. description: 套保列表
  5833. items:
  5834. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5835. type: array
  5836. type: object
  5837. models.ErmcpExposureDetailModel:
  5838. properties:
  5839. areauserid:
  5840. description: 机构ID
  5841. type: integer
  5842. changeQty:
  5843. description: 套保变动量
  5844. type: number
  5845. contracttype:
  5846. description: 现货合同类型 - 1:采购 -1:销售
  5847. type: integer
  5848. convertfactor:
  5849. description: 标仓系数
  5850. type: number
  5851. convertratio:
  5852. description: 套保系数
  5853. type: number
  5854. createtime:
  5855. description: 时间
  5856. type: string
  5857. enumdicname:
  5858. description: 现货商品单位名称
  5859. type: string
  5860. logtype:
  5861. description: 类型 - 1:套保计划 2:现货合同
  5862. type: integer
  5863. middlegoodsId:
  5864. description: 套保商品id
  5865. type: integer
  5866. middlegoodscode:
  5867. description: 套保商品代码
  5868. type: string
  5869. middlegoodsname:
  5870. description: 套保商品名称
  5871. type: string
  5872. qty:
  5873. description: 数量
  5874. type: number
  5875. relateNo:
  5876. description: 现货合同/套保计划编号
  5877. type: string
  5878. wrstandardcode:
  5879. description: 现货商品代码
  5880. type: string
  5881. wrstandardid:
  5882. description: 现货商品ID
  5883. type: integer
  5884. wrstandardname:
  5885. description: 现货商品名称
  5886. type: string
  5887. type: object
  5888. models.ErmcpExposurePostion:
  5889. properties:
  5890. agreeunit:
  5891. description: 合约单位
  5892. type: string
  5893. areauserid:
  5894. description: 所属机构id
  5895. type: integer
  5896. convertratio:
  5897. description: 期货品种系数(折算系数)
  5898. type: number
  5899. curqty:
  5900. description: 当前持仓
  5901. type: integer
  5902. diffhedgeqty:
  5903. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5904. type: number
  5905. diffqty:
  5906. description: 持仓变动量=当前持仓-昨日持仓
  5907. type: integer
  5908. goodscode:
  5909. description: 商品代码
  5910. type: string
  5911. goodsid:
  5912. description: 商品id
  5913. type: integer
  5914. goodsname:
  5915. description: 商品名称
  5916. type: string
  5917. middlegoodsid:
  5918. description: 套保商品id
  5919. type: integer
  5920. ydqty:
  5921. description: 昨日持仓
  5922. type: integer
  5923. type: object
  5924. models.ErmcpFuturesCompany:
  5925. properties:
  5926. brokerid:
  5927. description: 经纪公司代码
  5928. type: string
  5929. channeladdress:
  5930. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5931. type: string
  5932. channelid:
  5933. description: 对冲渠道ID
  5934. type: string
  5935. createtime:
  5936. description: 创建时间
  5937. type: string
  5938. creatorid:
  5939. description: 创建人
  5940. type: string
  5941. fcid:
  5942. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5943. type: integer
  5944. fcname:
  5945. description: 期货公司名称
  5946. type: string
  5947. isvalid:
  5948. description: 是否有效 - 0:无效 1:有效
  5949. type: integer
  5950. mhpaddress:
  5951. description: MHP服务地址(IP:Port)
  5952. type: string
  5953. riskrulegroupid:
  5954. description: 风控规则组ID
  5955. type: string
  5956. tradefeetmpid:
  5957. description: 手续费模板ID[TradeConfigTmpType为2]
  5958. type: string
  5959. trademargintmpid:
  5960. description: 保证金模板ID [TradeConfigTmpType为1]
  5961. type: string
  5962. traderatetmpid:
  5963. description: 汇率模板ID[TradeConfigTmpType为3]
  5964. type: string
  5965. updatetime:
  5966. description: 更新时间
  5967. type: string
  5968. updatorid:
  5969. description: 更新人
  5970. type: string
  5971. type: object
  5972. models.ErmcpGGConvertCfg:
  5973. properties:
  5974. convertratio:
  5975. description: 折算系数
  5976. type: number
  5977. destgoodsgroupid:
  5978. description: 目标品种ID
  5979. type: integer
  5980. dstcode:
  5981. description: 目录品种代码
  5982. type: string
  5983. dstexchangecode:
  5984. description: 目标期货交易所
  5985. type: string
  5986. dstname:
  5987. description: 目标品种名称
  5988. type: string
  5989. dstunitid:
  5990. description: 目标品种单位ID
  5991. type: integer
  5992. dstunitidname:
  5993. description: 目标品种单位名称
  5994. type: string
  5995. modifytime:
  5996. description: 修改时间
  5997. type: string
  5998. srccode:
  5999. description: 源品种代码
  6000. type: string
  6001. srcexchangecode:
  6002. description: 源期货交易所
  6003. type: string
  6004. srcgoodsgroupid:
  6005. description: 源品种ID
  6006. type: integer
  6007. srcname:
  6008. description: 源品种名称
  6009. type: string
  6010. srcunitid:
  6011. description: 源品种单位ID
  6012. type: integer
  6013. srcunitidname:
  6014. description: 源品种单位名称
  6015. type: string
  6016. type: object
  6017. models.ErmcpGoods:
  6018. properties:
  6019. agreeunit:
  6020. description: 合约单位
  6021. type: number
  6022. areauserid:
  6023. description: 所属机构
  6024. type: integer
  6025. auditaccountid:
  6026. description: 审核操作员账号
  6027. type: integer
  6028. audittime:
  6029. description: 审核时间
  6030. type: string
  6031. cancelaccountid:
  6032. description: 注销操作员账号
  6033. type: integer
  6034. canceltime:
  6035. description: 注销时间
  6036. type: string
  6037. closepricemode:
  6038. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6039. type: integer
  6040. closepriceparam:
  6041. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6042. type: number
  6043. createtime:
  6044. description: 创建时间
  6045. type: string
  6046. creatorid:
  6047. description: 创建人
  6048. type: integer
  6049. currencyid:
  6050. description: 报价货币ID
  6051. type: integer
  6052. cutmode:
  6053. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6054. type: integer
  6055. decimalplace:
  6056. description: 报价小数位
  6057. type: integer
  6058. delistingdate:
  6059. description: 商品退市时间(状态:退市) -- 已作废
  6060. type: string
  6061. delistingmode:
  6062. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6063. type: integer
  6064. deliveryflag:
  6065. description: 交割标志 - 0:不可交割 1:可交割
  6066. type: integer
  6067. enumdicname:
  6068. description: 单位名称
  6069. type: string
  6070. forceclosemode:
  6071. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6072. type: integer
  6073. forceclosevalue:
  6074. description: 定期强平参数 [收益权]
  6075. type: integer
  6076. goodscode:
  6077. description: 商品代码(内部)
  6078. type: string
  6079. goodscurrencyid:
  6080. description: 合约货币ID
  6081. type: integer
  6082. goodsgroupid:
  6083. description: 所属商品组ID
  6084. type: integer
  6085. goodsid:
  6086. description: 商品ID(自增ID SEQ_GOODS)
  6087. type: integer
  6088. goodsname:
  6089. description: 商品名称
  6090. type: string
  6091. goodsquotetype:
  6092. description: '合约报价类型: 1-直接报价 2-间接报价'
  6093. type: integer
  6094. goodsstatus:
  6095. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6096. type: integer
  6097. goodstradetype:
  6098. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6099. type: integer
  6100. goodunitid:
  6101. description: 报价单位ID
  6102. type: integer
  6103. hasquoter:
  6104. description: 是否有报价商 - 0:无报价商 1:有报价商
  6105. type: integer
  6106. hqprotecttime:
  6107. description: 行情保护时间(秒)
  6108. type: integer
  6109. innerdealmode:
  6110. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6111. type: integer
  6112. isbuylimited:
  6113. description: 是否限制建仓量 - 0:不限制 1:限制
  6114. type: integer
  6115. isvisible:
  6116. description: 游客是否可见 - 0:不可见 1:可见
  6117. type: integer
  6118. lasttradedate:
  6119. description: 最后交易日期(状态:待退市)
  6120. type: string
  6121. listingdate:
  6122. description: 交易开始日期
  6123. type: string
  6124. marketid:
  6125. description: 所属市场ID
  6126. type: integer
  6127. modifierid:
  6128. description: 修改人
  6129. type: integer
  6130. modifystatus:
  6131. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6132. type: integer
  6133. modifytime:
  6134. description: 修改时间
  6135. type: string
  6136. outerdealmode:
  6137. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6138. type: integer
  6139. outgoodscode:
  6140. description: 商品代码(外部)
  6141. type: string
  6142. pictureurl:
  6143. description: 商品图片
  6144. type: string
  6145. qtydecimalplace:
  6146. description: 成交量小数位
  6147. type: integer
  6148. quotegear:
  6149. description: 行情档位(1-10)
  6150. type: integer
  6151. quoteminunit:
  6152. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6153. type: integer
  6154. quoteshowtype:
  6155. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6156. type: integer
  6157. quoteshowtypeinterval:
  6158. description: 行情报价间隔时间(秒)(成交价时为0)
  6159. type: integer
  6160. relatedgoodsid:
  6161. description: 关联参考商品ID
  6162. type: integer
  6163. remark:
  6164. description: 备注
  6165. type: string
  6166. trademode:
  6167. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6168. 21:竞拍-大宗式 22:受托竞价
  6169. type: integer
  6170. required:
  6171. - goodscode
  6172. - goodsid
  6173. - goodsname
  6174. - marketid
  6175. type: object
  6176. models.ErmcpGoodsBrand:
  6177. properties:
  6178. areauserid:
  6179. description: 所属机构
  6180. type: integer
  6181. brandid:
  6182. description: BrandID(SEQ_SPOTGOODSBRAND)
  6183. type: integer
  6184. brandname:
  6185. description: 品牌名称
  6186. type: string
  6187. createtime:
  6188. description: 创建时间
  6189. type: string
  6190. creatorid:
  6191. description: 创建人
  6192. type: integer
  6193. creatorsrc:
  6194. description: 创建人来源 - 1:管理端 2:终端
  6195. type: integer
  6196. deliverygoodsid:
  6197. description: 现货品种ID
  6198. type: integer
  6199. isvalid:
  6200. description: 是否有效 - 0:无效 1:有效
  6201. type: integer
  6202. updatetime:
  6203. description: 更新时间
  6204. type: string
  6205. updatorid:
  6206. description: 更新人
  6207. type: integer
  6208. updatorsrc:
  6209. description: 更新人来源 - 1:管理端 2:终端
  6210. type: integer
  6211. wrstandardid:
  6212. description: 现货商品ID
  6213. type: integer
  6214. type: object
  6215. models.ErmcpGoodsModel:
  6216. properties:
  6217. areauserid:
  6218. description: 所属机构
  6219. type: integer
  6220. convertfactor:
  6221. description: 标仓系数
  6222. type: number
  6223. createtime:
  6224. description: 创建时间
  6225. type: string
  6226. creatorid:
  6227. description: 创建人
  6228. type: integer
  6229. creatorsrc:
  6230. description: 创建人来源 - 1:管理端 2:终端
  6231. type: integer
  6232. deliverygoodsid:
  6233. description: 现货品种ID
  6234. type: integer
  6235. isvalid:
  6236. description: 是否有效 - 0:无效 1:有效
  6237. type: integer
  6238. modelid:
  6239. description: ModelID(SEQ_SPOTGOODSMODEL)
  6240. type: integer
  6241. modelname:
  6242. description: 型号名称
  6243. type: string
  6244. updatetime:
  6245. description: 更新时间
  6246. type: string
  6247. updatorid:
  6248. description: 更新人
  6249. type: integer
  6250. updatorsrc:
  6251. description: 更新人来源 - 1:管理端 2:终端
  6252. type: integer
  6253. wrstandardid:
  6254. description: 现货商品ID
  6255. type: integer
  6256. type: object
  6257. models.ErmcpHedgePosition:
  6258. properties:
  6259. accountid:
  6260. description: 资金账号[外部母账户]
  6261. type: integer
  6262. curbuyposition:
  6263. description: 期末买头寸
  6264. type: integer
  6265. cursellposition:
  6266. description: 期末卖头寸
  6267. type: integer
  6268. curtdbuyposition:
  6269. description: 期末今日买头寸
  6270. type: integer
  6271. curtdsellposition:
  6272. description: 期末今日卖头寸
  6273. type: integer
  6274. curydbuyposition:
  6275. description: 期末上日买头寸
  6276. type: integer
  6277. curydsellposition:
  6278. description: 期末上日卖头寸
  6279. type: integer
  6280. decreaseqty:
  6281. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6282. type: integer
  6283. fretdbuyposition:
  6284. description: 冻结今日买头寸
  6285. type: integer
  6286. fretdsellposition:
  6287. description: 冻结今日卖头寸
  6288. type: integer
  6289. freydbuyposition:
  6290. description: 冻结上日买头寸
  6291. type: integer
  6292. freydsellposition:
  6293. description: 冻结上日卖头寸
  6294. type: integer
  6295. goodscode:
  6296. description: 商品代码
  6297. type: string
  6298. goodsid:
  6299. description: 商品id
  6300. type: integer
  6301. goodsname:
  6302. description: 商品名称
  6303. type: string
  6304. hedgeaccountcode:
  6305. description: 对冲账号
  6306. type: string
  6307. hedgegoodsid:
  6308. description: 对冲合约ID
  6309. type: integer
  6310. increaseqty:
  6311. description: 增加数量 = 期末买头寸 - 期初买头寸
  6312. type: integer
  6313. marketid:
  6314. description: 市场ID
  6315. type: integer
  6316. relateduserid:
  6317. description: 关联用户id
  6318. type: integer
  6319. totalcurqty:
  6320. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6321. type: integer
  6322. totalydqty:
  6323. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6324. type: integer
  6325. tradedate:
  6326. description: 交易日(yyyyMMdd)
  6327. type: string
  6328. ydbuyposition:
  6329. description: 期初买头寸
  6330. type: integer
  6331. ydsellposition:
  6332. description: 期初卖头寸
  6333. type: integer
  6334. type: object
  6335. models.ErmcpHedgePositionDetail:
  6336. properties:
  6337. buyorsell:
  6338. description: 买卖方向 0-买 1-卖
  6339. type: integer
  6340. channelbuildtype:
  6341. description: 开平方向 1-建仓 2-平仓
  6342. type: integer
  6343. goodscode:
  6344. description: 商品代码
  6345. type: string
  6346. goodsname:
  6347. description: 商品名称
  6348. type: string
  6349. hedgegoodsid:
  6350. description: 商品id
  6351. type: integer
  6352. tradeqty:
  6353. description: 数量(成交数量)
  6354. type: integer
  6355. tradetime:
  6356. description: 时间(成交时间)
  6357. type: string
  6358. type: object
  6359. models.ErmcpHisExposure:
  6360. properties:
  6361. needhedgeexposoure:
  6362. description: 应套保敞口
  6363. type: number
  6364. reckondate:
  6365. description: 日照时期(yyyyMMdd)
  6366. type: string
  6367. totalexposure:
  6368. description: 总敞口
  6369. type: number
  6370. type: object
  6371. models.ErmcpHisExposureS:
  6372. properties:
  6373. data:
  6374. description: 历史敞口
  6375. items:
  6376. $ref: '#/definitions/models.ErmcpHisExposure'
  6377. type: array
  6378. enumdicname:
  6379. description: 单位名称
  6380. type: string
  6381. middlegoodscode:
  6382. description: 套保品种代码
  6383. type: string
  6384. middlegoodsid:
  6385. description: 套保品种ID
  6386. type: integer
  6387. middlegoodsname:
  6388. description: 套保品种名称
  6389. type: string
  6390. type: object
  6391. models.ErmcpLoginTaAccount:
  6392. properties:
  6393. accountid:
  6394. description: 账号id
  6395. type: integer
  6396. accountname:
  6397. description: 账号名称
  6398. type: string
  6399. type: object
  6400. models.ErmcpLoginUser:
  6401. properties:
  6402. acclist:
  6403. description: 关联资金账号
  6404. items:
  6405. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6406. type: array
  6407. accountname:
  6408. description: 用户名称
  6409. type: string
  6410. clientroleid:
  6411. description: 角色id(usertype=2)
  6412. type: integer
  6413. createtime:
  6414. description: 创建时间
  6415. type: string
  6416. logincode:
  6417. description: 登录代码
  6418. type: string
  6419. loginid:
  6420. description: 登录id(LOGINID)
  6421. type: integer
  6422. loginname:
  6423. description: 登录名称(loginaccount表中的accountname字段)
  6424. type: string
  6425. loginstatus:
  6426. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6427. type: integer
  6428. memberuserid:
  6429. description: 所属会员id
  6430. type: integer
  6431. mobile:
  6432. description: 手机号
  6433. type: string
  6434. modifytime:
  6435. description: 修改时间
  6436. type: string
  6437. password:
  6438. description: 密码(不可解密)
  6439. type: string
  6440. rolename:
  6441. description: 角色名称
  6442. type: string
  6443. rolestatus:
  6444. description: 角色状态 1-启用 2-停用
  6445. type: integer
  6446. roletype:
  6447. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6448. type: string
  6449. userid:
  6450. description: 用户id
  6451. type: integer
  6452. usertype:
  6453. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6454. type: integer
  6455. type: object
  6456. models.ErmcpLoginUserEx:
  6457. properties:
  6458. accountstatus:
  6459. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6460. type: integer
  6461. mobile:
  6462. description: 手机号
  6463. type: string
  6464. querytype:
  6465. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6466. type: integer
  6467. roleid:
  6468. description: 角色id(交易账户->用户id)
  6469. type: integer
  6470. rolename:
  6471. description: 角色名称(交易账户->用户名称)
  6472. type: string
  6473. userlist:
  6474. description: 用户列表
  6475. items:
  6476. $ref: '#/definitions/models.ErmcpLoginUser'
  6477. type: array
  6478. usertype:
  6479. description: 用户类型 2-机构 7-企业成员(云平台)
  6480. type: integer
  6481. type: object
  6482. models.ErmcpMiddleGoodsChangeLog:
  6483. properties:
  6484. aftervalue:
  6485. description: 变更后
  6486. type: number
  6487. applyid:
  6488. description: 操作人
  6489. type: integer
  6490. applyname:
  6491. description: 操作人名称
  6492. type: string
  6493. applysrc:
  6494. description: 操作来源 - 1:管理端 2:终端
  6495. type: integer
  6496. beforevalue:
  6497. description: 变更前
  6498. type: number
  6499. changelogtype:
  6500. description: 变更流水类型 - 1:套保比率变更
  6501. type: integer
  6502. handlestatus:
  6503. description: 处理状态
  6504. type: integer
  6505. logdatetime:
  6506. description: 流水日期
  6507. type: string
  6508. logid:
  6509. description: 流水ID
  6510. type: integer
  6511. logremark:
  6512. description: 流水备注
  6513. type: string
  6514. middlegoodsid:
  6515. description: 套保品种ID
  6516. type: integer
  6517. tradedate:
  6518. description: 交易日(yyyyMMdd)
  6519. type: string
  6520. updatetime:
  6521. description: 更新时间
  6522. type: string
  6523. type: object
  6524. models.ErmcpMiddleGoodsDetail:
  6525. properties:
  6526. cvList:
  6527. description: 期货品种折算列表
  6528. items:
  6529. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6530. type: array
  6531. mg:
  6532. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6533. description: 套保品种基本信息
  6534. type: object
  6535. wrcList:
  6536. description: 现货品种列表(现货商品折算配置)
  6537. items:
  6538. $ref: '#/definitions/models.WRSConverTDetail'
  6539. type: array
  6540. type: object
  6541. models.ErmcpMiddleGoodsModel:
  6542. properties:
  6543. areauserid:
  6544. description: 机构用户ID
  6545. type: integer
  6546. createtime:
  6547. description: 修改时间
  6548. type: string
  6549. enumdicname:
  6550. description: 单位名称
  6551. type: string
  6552. evaluateratio:
  6553. description: 估价系数
  6554. type: number
  6555. goodsgroupid:
  6556. description: 关联期货品种ID
  6557. type: integer
  6558. goodsunitid:
  6559. description: 单位ID
  6560. type: integer
  6561. isvalid:
  6562. description: 状态 0-无效(停用) 1-有效(正常)
  6563. type: integer
  6564. middlegoodscode:
  6565. description: 套保品种代码
  6566. type: string
  6567. middlegoodsid:
  6568. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6569. type: integer
  6570. middlegoodsname:
  6571. description: 套保品种名称
  6572. type: string
  6573. modifytime:
  6574. description: 修改时间
  6575. type: string
  6576. needarbitrageratio:
  6577. description: 套利比例
  6578. type: number
  6579. needhedgeratio:
  6580. description: 套保比率
  6581. type: number
  6582. qtydecimalplace:
  6583. description: 数量小数位
  6584. type: integer
  6585. relatedgoodsid:
  6586. description: 关联交易商品ID
  6587. type: integer
  6588. relatedgoodstype:
  6589. description: 关联商品类型 - 1:期货合约 2:现货品种
  6590. type: integer
  6591. remark:
  6592. description: 备注
  6593. type: string
  6594. type: object
  6595. models.ErmcpMiddlegoodsRelateGoods:
  6596. properties:
  6597. agreeunit:
  6598. description: 合约乘数
  6599. type: number
  6600. convertratio:
  6601. description: 折算系数
  6602. type: number
  6603. enumdicname:
  6604. description: 单位名称(交易商品)
  6605. type: string
  6606. goodscode:
  6607. description: 交易商品代码
  6608. type: string
  6609. goodsgroupid:
  6610. description: 交易品种id
  6611. type: integer
  6612. goodsid:
  6613. description: 商品Id
  6614. type: integer
  6615. goodsname:
  6616. description: 交易商品名称
  6617. type: string
  6618. goodunitid:
  6619. description: 交易商品单位id
  6620. type: integer
  6621. middlegoodsid:
  6622. description: 套保商品id
  6623. type: integer
  6624. middlegoodsname:
  6625. description: 套保商品名称
  6626. type: string
  6627. middlegoodsswcode:
  6628. description: 套保商品代码
  6629. type: string
  6630. needarbitrageratio:
  6631. description: 应套利比例
  6632. type: number
  6633. needhedgeratio:
  6634. description: 应套保比例
  6635. type: number
  6636. type: object
  6637. models.ErmcpOPLogModel:
  6638. properties:
  6639. aftervalue:
  6640. description: 变更后
  6641. type: number
  6642. applyid:
  6643. description: 操作人ID
  6644. type: string
  6645. applyname:
  6646. description: 操作人名称
  6647. type: string
  6648. beforevalue:
  6649. description: 变更前
  6650. type: number
  6651. biztype:
  6652. description: 业务类型 - 1:套保计划 2:现货合同
  6653. type: integer
  6654. contracttype:
  6655. description: 现货合同类型 - 1:采购 -1:销售
  6656. type: integer
  6657. logvalue:
  6658. description: 数值
  6659. type: number
  6660. operatelogtype:
  6661. description: 操作流水类型
  6662. type: integer
  6663. operatelogtypedesc:
  6664. description: 操作流水类型名称
  6665. type: string
  6666. relatedid:
  6667. description: 现货合同ID\套保计划
  6668. type: string
  6669. updatetime:
  6670. description: 更新时间
  6671. type: string
  6672. type: object
  6673. models.ErmcpPendingAudit:
  6674. properties:
  6675. areastockqty:
  6676. description: '待审核数量: 库存申请'
  6677. type: integer
  6678. businessdjqty:
  6679. description: '待审核数量: 点价'
  6680. type: integer
  6681. businessfpqty:
  6682. description: '待审核数量: 发票'
  6683. type: integer
  6684. businessjsqty:
  6685. description: '待审核数量: 结算'
  6686. type: integer
  6687. businesskxqty:
  6688. description: '待审核数量: 款项'
  6689. type: integer
  6690. hedgeplanqty:
  6691. description: '待审核数量: 套保计划'
  6692. type: integer
  6693. spotcontractqty:
  6694. description: '待审核数量: 现货合同'
  6695. type: integer
  6696. userqty:
  6697. description: '待审核数量: 用户'
  6698. type: integer
  6699. type: object
  6700. models.ErmcpRealExposureModel:
  6701. properties:
  6702. AreaUserID:
  6703. description: 所属机构
  6704. type: integer
  6705. BuyFutureQty:
  6706. description: 买入期货数量
  6707. type: number
  6708. BuyPlanQty:
  6709. description: 采购计划数量
  6710. type: number
  6711. BuyPricedQty:
  6712. description: 采购合同已定价数量
  6713. type: number
  6714. MiddleGoodsCode:
  6715. description: 套保品种代码
  6716. type: string
  6717. MiddleGoodsHedgeRatio:
  6718. description: 套保比例
  6719. type: number
  6720. MiddleGoodsID:
  6721. description: 套保品种
  6722. type: integer
  6723. MiddleGoodsName:
  6724. description: 套保品种名称
  6725. type: string
  6726. NeedHedgeExposoure:
  6727. description: 应套保敞口(套保敞口)
  6728. type: number
  6729. NeedHedgeRatio:
  6730. description: 应套保敞口比例
  6731. type: number
  6732. OriBuyFutureQty:
  6733. description: 期初买入期货数量
  6734. type: number
  6735. OriBuyPlanQty:
  6736. description: 期初采购计划数量
  6737. type: number
  6738. OriBuyPricedQty:
  6739. description: 期初采购合同已定价数量
  6740. type: number
  6741. OriSellFutureQty:
  6742. description: 期初卖出期货数量
  6743. type: number
  6744. OriSellPlanQty:
  6745. description: 期初销售计划数量
  6746. type: number
  6747. OriSellPricedQty:
  6748. description: 期初销售合同已定价数量
  6749. type: number
  6750. SellFutureQty:
  6751. description: 卖出期货数量
  6752. type: number
  6753. SellPlanQty:
  6754. description: 销售计划数量
  6755. type: number
  6756. SellPricedQty:
  6757. description: 销售合同已定价数量
  6758. type: number
  6759. TotalExposure:
  6760. description: 总敞口
  6761. type: number
  6762. TotalFutureQty:
  6763. description: 期货总量
  6764. type: number
  6765. TotalHedgeRatio:
  6766. description: 敞口比例
  6767. type: number
  6768. TotalNeedHedgeQty:
  6769. description: 应套保总量(现货应套保总量)
  6770. type: number
  6771. TotalSpotQty:
  6772. description: 现货总量
  6773. type: number
  6774. arbitrageqty:
  6775. description: 套利量
  6776. type: number
  6777. diffArbitrageQty:
  6778. description: 套利变动量
  6779. type: number
  6780. diffExposoureQty:
  6781. description: 变动量(套保敞口)
  6782. type: number
  6783. diffFutuQty:
  6784. description: 变动量(期货总量)
  6785. type: number
  6786. diffHedgeQty:
  6787. description: 套保变动量
  6788. type: number
  6789. diffQty:
  6790. description: 变动量(总敞口)
  6791. type: number
  6792. diffSpotHedgeQty:
  6793. description: 变动量(现货应套保总量)
  6794. type: number
  6795. diffSpotQty:
  6796. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6797. type: number
  6798. enumdicname:
  6799. description: 单位名称
  6800. type: string
  6801. hedgeqty:
  6802. description: 套保量
  6803. type: number
  6804. needarbitrageqty:
  6805. description: 应套利量
  6806. type: number
  6807. needarbitrageratio:
  6808. description: 套利比例
  6809. type: number
  6810. needhedgeqty:
  6811. description: 应套保量
  6812. type: number
  6813. oriTotalFutuQty:
  6814. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6815. type: number
  6816. oriTotalSpotQty:
  6817. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6818. type: number
  6819. oriarbitrageqty:
  6820. description: 期初套利量
  6821. type: number
  6822. orihedgeqty:
  6823. description: 期初套保量
  6824. type: number
  6825. orineedhedgeexposoure:
  6826. description: 期初套保敞口
  6827. type: number
  6828. oritotalexposure:
  6829. description: 期初总敞口
  6830. type: number
  6831. oritotalfutureqty:
  6832. description: 期初期货总量
  6833. type: number
  6834. oritotalneedhedgeqty:
  6835. description: 期初现货应套保量
  6836. type: number
  6837. type: object
  6838. models.ErmcpRole:
  6839. properties:
  6840. areauserid:
  6841. description: 所属机构
  6842. type: integer
  6843. autoid:
  6844. description: 角色ID(自增ID)
  6845. type: integer
  6846. modifierid:
  6847. description: 修改人(创建人)
  6848. type: integer
  6849. modifiername:
  6850. description: 修改人名称
  6851. type: string
  6852. modifytime:
  6853. description: 修改时间(创建时间)
  6854. type: string
  6855. rolename:
  6856. description: 角色名称
  6857. type: string
  6858. rolestatus:
  6859. description: 角色状态 - 1:启用 2:停用
  6860. type: integer
  6861. roletype:
  6862. description: 角色类型 - 1- 管理端 2- 交易端
  6863. type: integer
  6864. type: object
  6865. models.ErmcpRoleMenu:
  6866. properties:
  6867. iconame:
  6868. description: 菜单图标
  6869. type: string
  6870. ishadrole:
  6871. description: 是否有权限
  6872. type: boolean
  6873. menutype:
  6874. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6875. type: integer
  6876. parentcode:
  6877. description: 上级资源代码
  6878. type: string
  6879. remark:
  6880. description: 菜单备注
  6881. type: string
  6882. resourcecode:
  6883. description: 菜单代码
  6884. type: string
  6885. resourcelevel:
  6886. description: 级别
  6887. type: integer
  6888. resourcename:
  6889. description: 菜单名称
  6890. type: string
  6891. roleid:
  6892. description: 角色id
  6893. type: integer
  6894. sort:
  6895. description: 排序
  6896. type: integer
  6897. url:
  6898. description: URL
  6899. type: string
  6900. userid:
  6901. description: 用户id
  6902. type: integer
  6903. type: object
  6904. models.ErmcpRoleMenuEx:
  6905. properties:
  6906. menu:
  6907. $ref: '#/definitions/models.ErmcpRoleMenu'
  6908. description: 父级菜单
  6909. type: object
  6910. subMenu:
  6911. description: 子级菜单
  6912. items:
  6913. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6914. type: array
  6915. type: object
  6916. models.ErmcpTaAccount:
  6917. properties:
  6918. accountid:
  6919. description: 账户id
  6920. type: integer
  6921. accountname:
  6922. description: 账户名称
  6923. type: string
  6924. currencyid:
  6925. description: 币种id
  6926. type: integer
  6927. hedgeaccountcode:
  6928. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6929. type: string
  6930. ismain:
  6931. description: 是否主账户 0-否 1-是
  6932. type: integer
  6933. parentaccountid:
  6934. description: 父账户id
  6935. type: integer
  6936. relateduserid:
  6937. description: 关联userid
  6938. type: integer
  6939. tradefeetmpid:
  6940. description: 手续费模板id
  6941. type: integer
  6942. tradefeetmpname:
  6943. description: 手续费模板名称
  6944. type: string
  6945. trademargintmpid:
  6946. description: 保证金模板id
  6947. type: integer
  6948. trademargintmpname:
  6949. description: 保证金模板名称
  6950. type: string
  6951. traderatetmpid:
  6952. description: 汇率模板id
  6953. type: integer
  6954. traderatetmpname:
  6955. description: 汇率模板名称
  6956. type: string
  6957. tradestatus:
  6958. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6959. type: integer
  6960. userid:
  6961. description: 用户id
  6962. type: integer
  6963. type: object
  6964. models.ErmcpTaAccountEx:
  6965. properties:
  6966. mainAcc:
  6967. $ref: '#/definitions/models.ErmcpTaAccountM'
  6968. description: 主账号
  6969. type: object
  6970. subacclist:
  6971. description: 子账号列表
  6972. items:
  6973. $ref: '#/definitions/models.ErmcpTaAccount'
  6974. type: array
  6975. type: object
  6976. models.ErmcpTaAccountInfo:
  6977. properties:
  6978. accountid:
  6979. description: 资金账户ID
  6980. type: integer
  6981. accountname:
  6982. description: 账户名称
  6983. type: string
  6984. balance:
  6985. description: 期初余额
  6986. type: number
  6987. capitalbalance:
  6988. description: 本金余额[外部子账户实际出入金余额]
  6989. type: number
  6990. closepl:
  6991. description: 今日平仓盈亏
  6992. type: number
  6993. creditdecrease:
  6994. description: 今日授信减少
  6995. type: number
  6996. creditincrease:
  6997. description: 今日授信增加
  6998. type: number
  6999. curdebt:
  7000. description: 期末欠款
  7001. type: number
  7002. currencyid:
  7003. description: 货币ID
  7004. type: integer
  7005. currentbalance:
  7006. description: 期末余额
  7007. type: number
  7008. freezecharge:
  7009. description: 手续费冻结
  7010. type: number
  7011. freezemargin:
  7012. description: 冻结保证金
  7013. type: number
  7014. fromaccountid:
  7015. description: 所属上级账户
  7016. type: integer
  7017. inamount:
  7018. description: 今日入金金额(包括三方入金)
  7019. type: number
  7020. ismain:
  7021. description: 是否母账号 0:不是母账户 1:是母账户
  7022. type: integer
  7023. mortgagecredit:
  7024. description: 授信金额
  7025. type: number
  7026. oridebt:
  7027. description: 期初欠款
  7028. type: number
  7029. orifreezecharge:
  7030. description: 期初手续费冻结
  7031. type: number
  7032. orifreezemargin:
  7033. description: 期初冻结保证金
  7034. type: number
  7035. orimortgagecredit:
  7036. description: 期初授信金额
  7037. type: number
  7038. oriothercredit:
  7039. description: 期初其它授信金额
  7040. type: number
  7041. oriotherfreezemargin:
  7042. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7043. type: number
  7044. orioutamountfreeze:
  7045. description: 期初出金冻结
  7046. type: number
  7047. oriusedmargin:
  7048. description: 期初占用保证金
  7049. type: number
  7050. othercredit:
  7051. description: 其它授信金额
  7052. type: number
  7053. othercreditdecrease:
  7054. description: 今日其它授信减少
  7055. type: number
  7056. othercreditincrease:
  7057. description: 今日其它授信增加
  7058. type: number
  7059. otherfreezemargin:
  7060. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7061. type: number
  7062. outamount:
  7063. description: 今日出金金额(包括三方出金)
  7064. type: number
  7065. outamountfreeze:
  7066. description: 出金冻结
  7067. type: number
  7068. outthreshold:
  7069. description: 出金阈值
  7070. type: number
  7071. parentaccountid:
  7072. description: 所属根账号
  7073. type: integer
  7074. paycharge:
  7075. description: 今日手续费支出
  7076. type: number
  7077. relateduserid:
  7078. description: 关联用户
  7079. type: integer
  7080. signstatus:
  7081. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7082. type: integer
  7083. sublevelpath:
  7084. description: 账号层级路径(逗号分隔,首尾加逗号)
  7085. type: string
  7086. taaccounttype:
  7087. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7088. type: integer
  7089. thirdinamount:
  7090. description: 今日三方入金
  7091. type: number
  7092. thirdoutamount:
  7093. description: 今日三方出金
  7094. type: number
  7095. tradestatus:
  7096. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7097. type: integer
  7098. transferamount:
  7099. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7100. type: number
  7101. usedmargin:
  7102. description: 占用保证金
  7103. type: number
  7104. userid:
  7105. description: 用户ID
  7106. type: integer
  7107. type: object
  7108. models.ErmcpTaAccountM:
  7109. properties:
  7110. accountid:
  7111. description: 账户id
  7112. type: integer
  7113. accountname:
  7114. description: 账户名称
  7115. type: string
  7116. currencyid:
  7117. description: 币种id
  7118. type: integer
  7119. fcid:
  7120. description: 期货公司id
  7121. type: integer
  7122. fcname:
  7123. description: 期货公司代码
  7124. type: string
  7125. hedgeaccountcode:
  7126. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7127. type: string
  7128. ismain:
  7129. description: 是否主账户 0-否 1-是
  7130. type: integer
  7131. parentaccountid:
  7132. description: 父账户id
  7133. type: integer
  7134. relateduserid:
  7135. description: 关联userid
  7136. type: integer
  7137. tradefeetmpid:
  7138. description: 手续费模板id
  7139. type: integer
  7140. tradefeetmpname:
  7141. description: 手续费模板名称
  7142. type: string
  7143. trademargintmpid:
  7144. description: 保证金模板id
  7145. type: integer
  7146. trademargintmpname:
  7147. description: 保证金模板名称
  7148. type: string
  7149. traderatetmpid:
  7150. description: 汇率模板id
  7151. type: integer
  7152. traderatetmpname:
  7153. description: 汇率模板名称
  7154. type: string
  7155. tradestatus:
  7156. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7157. type: integer
  7158. userid:
  7159. description: 用户id
  7160. type: integer
  7161. type: object
  7162. models.ErmcpTradeConfigTMP:
  7163. properties:
  7164. areauserid:
  7165. description: 所属机构
  7166. type: integer
  7167. basiccurrencyid:
  7168. description: 基本币种ID[汇率] - 目标币种
  7169. type: integer
  7170. mainaccountid:
  7171. description: 主账户ID
  7172. type: integer
  7173. modifierid:
  7174. description: 修改人
  7175. type: integer
  7176. remark:
  7177. description: 备注
  7178. type: string
  7179. tradeconfigtmpid:
  7180. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7181. type: integer
  7182. tradeconfigtmpname:
  7183. description: 交易配置模板名称
  7184. type: string
  7185. tradeconfigtmptype:
  7186. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7187. type: integer
  7188. updatetime:
  7189. description: 更新时间
  7190. type: string
  7191. type: object
  7192. models.ErmcpUserModel:
  7193. properties:
  7194. address:
  7195. description: 通讯地址
  7196. type: string
  7197. attachment1:
  7198. description: 附件1
  7199. type: string
  7200. audittime:
  7201. description: 审核时间
  7202. type: string
  7203. cardbackphotourl:
  7204. description: 证件反面图片地址
  7205. type: string
  7206. cardfrontphotourl:
  7207. description: 证件正面图片地址
  7208. type: string
  7209. cardnum:
  7210. description: 证件号码
  7211. type: string
  7212. cardtype:
  7213. description: 证件类型
  7214. type: integer
  7215. cardtypename:
  7216. description: 证件类型名称
  7217. type: string
  7218. cityid:
  7219. description: 市
  7220. type: integer
  7221. contactname:
  7222. description: 联系人
  7223. type: string
  7224. countryid:
  7225. description: 国家
  7226. type: integer
  7227. createtime:
  7228. description: 创建时间
  7229. type: string
  7230. customername:
  7231. description: 企业名称
  7232. type: string
  7233. districtid:
  7234. description: 区域
  7235. type: integer
  7236. email:
  7237. description: 邮件
  7238. type: string
  7239. legalpersonname:
  7240. description: 法人姓名(企业)
  7241. type: string
  7242. memberuserid:
  7243. description: 所属机构ID
  7244. type: integer
  7245. mobile:
  7246. description: 手机号码
  7247. type: string
  7248. modifytime:
  7249. description: 修改时间
  7250. type: string
  7251. nickname:
  7252. description: 昵称
  7253. type: string
  7254. provinceid:
  7255. description: 省
  7256. type: integer
  7257. remark:
  7258. description: 备注
  7259. type: string
  7260. status:
  7261. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7262. type: integer
  7263. statusdesc:
  7264. description: 账户状态中文描述
  7265. type: string
  7266. taxpayernum:
  7267. description: 纳税人识别号
  7268. type: string
  7269. telphone:
  7270. description: 联系电话
  7271. type: string
  7272. userid:
  7273. description: 用户ID
  7274. type: integer
  7275. userinfotype:
  7276. description: 客户类型
  7277. type: string
  7278. type: object
  7279. models.ErmcpWareHouseInfo:
  7280. properties:
  7281. address:
  7282. description: 详细地址
  7283. type: string
  7284. areauserid:
  7285. description: 所属机构
  7286. type: integer
  7287. autoid:
  7288. description: 自增ID(仓库ID)
  7289. type: integer
  7290. cityid:
  7291. description: 市
  7292. type: integer
  7293. contactname:
  7294. description: 联系人
  7295. type: string
  7296. contactnum:
  7297. description: 联系电话
  7298. type: string
  7299. countryid:
  7300. description: 国家
  7301. type: integer
  7302. createtime:
  7303. description: 创建时间
  7304. type: string
  7305. districtid:
  7306. description: 区
  7307. type: integer
  7308. hasvideo:
  7309. description: 是否有视频 - 0:无 1:有
  7310. type: integer
  7311. provinceid:
  7312. description: 省
  7313. type: integer
  7314. remark:
  7315. description: 审核备注
  7316. type: string
  7317. videourl:
  7318. description: 视频地址
  7319. type: string
  7320. warehousecode:
  7321. description: 仓库代码
  7322. type: string
  7323. warehousename:
  7324. description: 仓库名称
  7325. type: string
  7326. warehousestatus:
  7327. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7328. type: integer
  7329. warehousetype:
  7330. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7331. type: integer
  7332. type: object
  7333. models.Externalexchange:
  7334. properties:
  7335. autoid:
  7336. description: AutoID - SEQ_EXTERNALEXCHANGE
  7337. type: integer
  7338. exchangefullname:
  7339. description: 外部交易所全称
  7340. type: string
  7341. exexchangecode:
  7342. description: 外部交易所代码
  7343. type: string
  7344. exexchangename:
  7345. description: 外部交易所名称(简称)
  7346. type: string
  7347. ismarketprice:
  7348. description: 是否支持市价 - 0:不支持 1:支持
  7349. type: integer
  7350. quotegear:
  7351. description: 行情档位(1-10)
  7352. type: integer
  7353. showbrokerflag:
  7354. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7355. type: integer
  7356. updatetime:
  7357. description: 更新时间
  7358. type: string
  7359. required:
  7360. - autoid
  7361. type: object
  7362. models.Funcmenulist:
  7363. properties:
  7364. iconame:
  7365. description: 菜单图标
  7366. type: string
  7367. menutype:
  7368. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7369. type: integer
  7370. parentcode:
  7371. description: 上级资源代码
  7372. type: string
  7373. remark:
  7374. description: 备注
  7375. type: string
  7376. resourcecode:
  7377. description: 资源代码
  7378. type: string
  7379. resourcelevel:
  7380. description: 级别 1-一级 2-二级 3-三级 4-四级
  7381. type: integer
  7382. resourcename:
  7383. description: 资源名
  7384. type: string
  7385. sort:
  7386. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7387. type: integer
  7388. url:
  7389. description: URL
  7390. type: string
  7391. required:
  7392. - resourcecode
  7393. type: object
  7394. models.Goods:
  7395. properties:
  7396. agreeunit:
  7397. description: 合约单位
  7398. type: number
  7399. areauserid:
  7400. description: 所属机构
  7401. type: integer
  7402. auditaccountid:
  7403. description: 审核操作员账号
  7404. type: integer
  7405. audittime:
  7406. description: 审核时间
  7407. type: string
  7408. cancelaccountid:
  7409. description: 注销操作员账号
  7410. type: integer
  7411. canceltime:
  7412. description: 注销时间
  7413. type: string
  7414. closepricemode:
  7415. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7416. type: integer
  7417. closepriceparam:
  7418. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7419. type: number
  7420. createtime:
  7421. description: 创建时间
  7422. type: string
  7423. creatorid:
  7424. description: 创建人
  7425. type: integer
  7426. currencyid:
  7427. description: 报价货币ID
  7428. type: integer
  7429. cutmode:
  7430. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7431. type: integer
  7432. decimalplace:
  7433. description: 报价小数位
  7434. type: integer
  7435. delistingdate:
  7436. description: 商品退市时间(状态:退市) -- 已作废
  7437. type: string
  7438. delistingmode:
  7439. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7440. type: integer
  7441. deliveryflag:
  7442. description: 交割标志 - 0:不可交割 1:可交割
  7443. type: integer
  7444. forceclosemode:
  7445. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7446. type: integer
  7447. forceclosevalue:
  7448. description: 定期强平参数 [收益权]
  7449. type: integer
  7450. goodscode:
  7451. description: 商品代码(内部)
  7452. type: string
  7453. goodscurrencyid:
  7454. description: 合约货币ID
  7455. type: integer
  7456. goodsgroupid:
  7457. description: 所属商品组ID
  7458. type: integer
  7459. goodsid:
  7460. description: 商品ID(自增ID SEQ_GOODS)
  7461. type: integer
  7462. goodsname:
  7463. description: 商品名称
  7464. type: string
  7465. goodsquotetype:
  7466. description: '合约报价类型: 1-直接报价 2-间接报价'
  7467. type: integer
  7468. goodsstatus:
  7469. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7470. type: integer
  7471. goodstradetype:
  7472. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7473. type: integer
  7474. goodunitid:
  7475. description: 报价单位ID
  7476. type: integer
  7477. hasquoter:
  7478. description: 是否有报价商 - 0:无报价商 1:有报价商
  7479. type: integer
  7480. hqprotecttime:
  7481. description: 行情保护时间(秒)
  7482. type: integer
  7483. innerdealmode:
  7484. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7485. type: integer
  7486. isbuylimited:
  7487. description: 是否限制建仓量 - 0:不限制 1:限制
  7488. type: integer
  7489. isvisible:
  7490. description: 游客是否可见 - 0:不可见 1:可见
  7491. type: integer
  7492. lasttradedate:
  7493. description: 最后交易日期(状态:待退市)
  7494. type: string
  7495. listingdate:
  7496. description: 交易开始日期
  7497. type: string
  7498. marketid:
  7499. description: 所属市场ID
  7500. type: integer
  7501. modifierid:
  7502. description: 修改人
  7503. type: integer
  7504. modifystatus:
  7505. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7506. type: integer
  7507. modifytime:
  7508. description: 修改时间
  7509. type: string
  7510. outerdealmode:
  7511. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7512. type: integer
  7513. outgoodscode:
  7514. description: 商品代码(外部)
  7515. type: string
  7516. pictureurl:
  7517. description: 商品图片
  7518. type: string
  7519. qtydecimalplace:
  7520. description: 成交量小数位
  7521. type: integer
  7522. quotegear:
  7523. description: 行情档位(1-10)
  7524. type: integer
  7525. quoteminunit:
  7526. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7527. type: integer
  7528. quoteshowtype:
  7529. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7530. type: integer
  7531. quoteshowtypeinterval:
  7532. description: 行情报价间隔时间(秒)(成交价时为0)
  7533. type: integer
  7534. remark:
  7535. description: 备注
  7536. type: string
  7537. required:
  7538. - goodscode
  7539. - goodsid
  7540. - goodsname
  7541. - marketid
  7542. type: object
  7543. models.GoodsIDAndName:
  7544. properties:
  7545. goodscode:
  7546. description: 商品代码(内部)
  7547. type: string
  7548. goodsid:
  7549. description: 商品ID(自增ID SEQ_GOODS)
  7550. type: integer
  7551. goodsname:
  7552. description: 商品名称
  7553. type: string
  7554. marketid:
  7555. description: 所属市场ID
  7556. type: integer
  7557. required:
  7558. - goodscode
  7559. - goodsid
  7560. - goodsname
  7561. - marketid
  7562. type: object
  7563. models.Goodsgroup:
  7564. properties:
  7565. agreeunit:
  7566. description: 合约单位
  7567. type: number
  7568. canshort:
  7569. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7570. type: integer
  7571. closepricemode:
  7572. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7573. type: integer
  7574. closepriceparam:
  7575. description: 强平最新价浮动比例 - 方式为2时使用
  7576. type: number
  7577. createtime:
  7578. description: 创建时间
  7579. type: string
  7580. creatorid:
  7581. description: 创建人
  7582. type: integer
  7583. currencyid:
  7584. description: 报价货币ID
  7585. type: integer
  7586. decimalplace:
  7587. description: 报价小数位
  7588. type: integer
  7589. exercisetype:
  7590. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7591. type: integer
  7592. exexchangeid:
  7593. description: 外部交易所ID[通道交易]
  7594. type: integer
  7595. goodsgroupid:
  7596. description: 商品组ID(自增ID)
  7597. type: integer
  7598. goodsgroupname:
  7599. description: 商品组名称
  7600. type: string
  7601. goodsgroupstatus:
  7602. description: 商品组状态 - 1:正常 2:注销
  7603. type: integer
  7604. goodunitid:
  7605. description: 报价单位ID
  7606. type: integer
  7607. innerdealmode:
  7608. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7609. type: integer
  7610. isbuylimited:
  7611. description: 是否限制建仓量 - 0:不限制 1:限制
  7612. type: integer
  7613. marketid:
  7614. description: 所属市场ID
  7615. type: integer
  7616. modifierid:
  7617. description: 修改人
  7618. type: integer
  7619. modifytime:
  7620. description: 修改时间
  7621. type: string
  7622. outerdealmode:
  7623. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7624. type: integer
  7625. outergroupcode:
  7626. description: 外部商品组代码[通道交易]
  7627. type: string
  7628. premiumdecimalplace:
  7629. description: 权利金小数位[场外期权]
  7630. type: integer
  7631. premiumspreadalgorithm:
  7632. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7633. type: integer
  7634. premiumspreadvalue:
  7635. description: 权利金点差值[场外期权]
  7636. type: number
  7637. qtydecimalplace:
  7638. description: 成交量小数位
  7639. type: integer
  7640. quotegear:
  7641. description: 行情档位(1-10)
  7642. type: integer
  7643. quoteminunit:
  7644. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7645. type: integer
  7646. quoterid:
  7647. description: 报价商ID[场外期权]
  7648. type: integer
  7649. quotesourcegroupid:
  7650. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7651. type: integer
  7652. syncgoodsqty:
  7653. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7654. type: integer
  7655. required:
  7656. - goodsgroupid
  7657. - goodsgroupname
  7658. - goodsgroupstatus
  7659. - marketid
  7660. type: object
  7661. models.Goodssortbypreposition:
  7662. properties:
  7663. goodscode:
  7664. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7665. type: string
  7666. goodsgroupcode:
  7667. description: 品种代码
  7668. type: string
  7669. prepositionqty:
  7670. description: 昨持仓量
  7671. type: integer
  7672. sortindex:
  7673. description: 排序
  7674. type: integer
  7675. tradedate:
  7676. description: 交易日
  7677. type: string
  7678. updatetime:
  7679. description: 更新时间
  7680. type: string
  7681. required:
  7682. - goodscode
  7683. - tradedate
  7684. type: object
  7685. models.Hedgeinnerholderdetail:
  7686. properties:
  7687. accountid:
  7688. description: 账号ID
  7689. type: integer
  7690. buyorsell:
  7691. description: 方向 - 0:买 1:卖
  7692. type: integer
  7693. freezeqty:
  7694. description: 冻结数量 - 按单平使用
  7695. type: integer
  7696. goodsid:
  7697. description: 商品ID
  7698. type: integer
  7699. holderamount:
  7700. description: 持仓金额 [商品币种]
  7701. type: number
  7702. holderdays:
  7703. description: 剩余冻结天数
  7704. type: integer
  7705. holderprice:
  7706. description: 持仓价格
  7707. type: number
  7708. holderqty:
  7709. description: 持仓数量
  7710. type: integer
  7711. marketid:
  7712. description: 市场ID
  7713. type: integer
  7714. openprice:
  7715. description: 建仓价格
  7716. type: number
  7717. openqty:
  7718. description: 建仓数量
  7719. type: integer
  7720. parentaccountid:
  7721. description: 所属母账户
  7722. type: integer
  7723. releaseamount:
  7724. description: 释放持仓金额[商品币种]
  7725. type: number
  7726. tradeamount:
  7727. description: 成交金额[账户]
  7728. type: number
  7729. tradedate:
  7730. description: 交易日(yyyyMMdd)
  7731. type: string
  7732. tradeid:
  7733. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7734. type: string
  7735. tradetime:
  7736. description: 交易时间
  7737. type: string
  7738. required:
  7739. - buyorsell
  7740. - tradeid
  7741. type: object
  7742. models.Hedgemarketopenlog:
  7743. properties:
  7744. accountid:
  7745. description: 资金账号[外部母账户]
  7746. type: integer
  7747. fcname:
  7748. description: 期货公司名称
  7749. type: string
  7750. handlestatus:
  7751. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7752. type: integer
  7753. marketid:
  7754. description: 市场ID
  7755. type: integer
  7756. status:
  7757. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7758. type: integer
  7759. tradedate:
  7760. description: 交易日(yyyyMMdd)
  7761. type: string
  7762. updatetime:
  7763. description: 更新时间
  7764. type: string
  7765. required:
  7766. - accountid
  7767. type: object
  7768. models.HsbyBuyMyPayOrder:
  7769. properties:
  7770. agreeunit:
  7771. description: 合约单位
  7772. type: number
  7773. buyaccountid:
  7774. description: 买方账号ID[报价币种]
  7775. type: integer
  7776. buyorderid:
  7777. description: 买方委托单号
  7778. type: string
  7779. createtime:
  7780. description: 创建时间
  7781. type: string
  7782. currencysign:
  7783. description: 货币符号
  7784. type: string
  7785. decimalplace:
  7786. description: 报价小数位
  7787. type: integer
  7788. goodscode:
  7789. description: 商品代码(内部)
  7790. type: string
  7791. goodsid:
  7792. description: 商品ID
  7793. type: integer
  7794. goodsname:
  7795. description: 商品名称
  7796. type: string
  7797. marketid:
  7798. description: 市场ID
  7799. type: integer
  7800. offamount:
  7801. description: 优惠金额
  7802. type: number
  7803. originalamount:
  7804. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7805. type: number
  7806. payamount:
  7807. description: 支付金额 = TradeAmount + TradeCharge
  7808. type: number
  7809. payflag:
  7810. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7811. type: integer
  7812. paylimitedtime:
  7813. description: 支付期限
  7814. type: string
  7815. paytime:
  7816. description: 付款时间
  7817. type: string
  7818. picurls1:
  7819. description: 预售商品介绍图片[多张用逗号分隔]
  7820. type: string
  7821. picurls2:
  7822. description: 挂牌商品介绍图片[多张用逗号分隔]
  7823. type: string
  7824. sellaccountid:
  7825. description: 卖方账号ID[报价币种]
  7826. type: integer
  7827. sellorderid:
  7828. description: 卖方委托单号
  7829. type: string
  7830. tradeamount:
  7831. description: 成交金额
  7832. type: number
  7833. tradecharge:
  7834. description: 成交手续费(买方)
  7835. type: number
  7836. tradedate:
  7837. description: 交易日(yyyyMMdd)
  7838. type: string
  7839. tradeid:
  7840. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7841. type: string
  7842. trademode:
  7843. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7844. 21:竞拍-大宗式 22:受托竞价
  7845. type: integer
  7846. tradeprice:
  7847. description: 成交价格
  7848. type: number
  7849. tradeqty:
  7850. description: 成交数量
  7851. type: integer
  7852. vendorname1:
  7853. description: 预售商品供应商名称
  7854. type: string
  7855. vendorname2:
  7856. description: 挂牌商品供应商名称
  7857. type: string
  7858. required:
  7859. - goodscode
  7860. - goodsname
  7861. - tradeid
  7862. - trademode
  7863. type: object
  7864. models.HsbyBuyMyTradeDetail:
  7865. properties:
  7866. accountid:
  7867. description: 账户ID[报价币种]
  7868. type: integer
  7869. agreeunit:
  7870. description: 合约单位
  7871. type: number
  7872. amount:
  7873. description: 金额 = 价格 * 数量 * 合约单位
  7874. type: number
  7875. buyorsell:
  7876. description: 买卖 - 0:买 1:卖
  7877. type: integer
  7878. currencysign:
  7879. description: 货币符号
  7880. type: string
  7881. decimalplace:
  7882. description: 报价小数位
  7883. type: integer
  7884. goodscode:
  7885. description: 商品代码(内部)
  7886. type: string
  7887. goodsid:
  7888. description: 商品ID
  7889. type: integer
  7890. goodsname:
  7891. description: 商品名称
  7892. type: string
  7893. marketid:
  7894. description: 市场ID
  7895. type: integer
  7896. orderamount:
  7897. description: 委托金额
  7898. type: number
  7899. orderid:
  7900. description: 单号(成交单号)
  7901. type: string
  7902. picurls1:
  7903. description: 预售商品介绍图片[多张用逗号分隔]
  7904. type: string
  7905. picurls2:
  7906. description: 挂牌商品介绍图片[多张用逗号分隔]
  7907. type: string
  7908. price:
  7909. description: 价格
  7910. type: number
  7911. qty:
  7912. description: 数量
  7913. type: integer
  7914. time:
  7915. description: 时间
  7916. type: string
  7917. trademode:
  7918. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7919. 21:竞拍-大宗式 22:受托竞价
  7920. type: integer
  7921. vendorname1:
  7922. description: 预售商品供应商名称
  7923. type: string
  7924. vendorname2:
  7925. description: 挂牌商品供应商名称
  7926. type: string
  7927. required:
  7928. - accountid
  7929. - buyorsell
  7930. - goodscode
  7931. - goodsid
  7932. - goodsname
  7933. - marketid
  7934. - orderid
  7935. - qty
  7936. - time
  7937. - trademode
  7938. type: object
  7939. models.HsbyGoodsOrderDetail:
  7940. properties:
  7941. buyorsell:
  7942. description: 买卖 - 0:买 1:卖
  7943. type: integer
  7944. currencysign:
  7945. description: 货币符号
  7946. type: string
  7947. customername:
  7948. description: 客户名称(企业名称),已脱敏
  7949. type: string
  7950. enableqty:
  7951. description: 可用数量
  7952. type: integer
  7953. goodunit:
  7954. description: 报价单位
  7955. type: string
  7956. orderid:
  7957. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7958. type: string
  7959. orderprice:
  7960. description: 委托价格
  7961. type: number
  7962. ordertime:
  7963. description: 委托时间
  7964. type: string
  7965. required:
  7966. - buyorsell
  7967. - orderid
  7968. - ordertime
  7969. type: object
  7970. models.HsbyListingGoodsDetail:
  7971. properties:
  7972. agreeunit:
  7973. description: 合约单位
  7974. type: number
  7975. buymaxqty:
  7976. description: 购买上限 [71] - 0为不限
  7977. type: integer
  7978. currency:
  7979. description: 货币
  7980. type: string
  7981. currencysign:
  7982. description: 货币符号
  7983. type: string
  7984. decimalplace:
  7985. description: 报价小数位
  7986. type: integer
  7987. desccityid:
  7988. description: 目的地(市)ID
  7989. type: integer
  7990. descprovinceid:
  7991. description: 目的地(省)ID
  7992. type: integer
  7993. goodscode:
  7994. description: 商品代码(内部)
  7995. type: string
  7996. goodsdesc:
  7997. description: 商品详情
  7998. type: string
  7999. goodsid:
  8000. description: 商品ID(自增ID SEQ_GOODS)
  8001. type: integer
  8002. goodsname:
  8003. description: 商品名称
  8004. type: string
  8005. goodsprice:
  8006. description: 商品价格
  8007. type: number
  8008. hotindex:
  8009. description: 景点热度
  8010. type: integer
  8011. last:
  8012. description: 现价
  8013. type: number
  8014. limitdown:
  8015. description: 跌停价
  8016. type: number
  8017. limitup:
  8018. description: 涨停价
  8019. type: number
  8020. lotsize:
  8021. description: 手数最小变动单位
  8022. type: integer
  8023. marketid:
  8024. description: 所属市场ID
  8025. type: integer
  8026. picurls:
  8027. description: 介绍图片[多张用逗号分隔]
  8028. type: string
  8029. quoteminunit:
  8030. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8031. type: integer
  8032. stepvalue:
  8033. description: 价格最小变动单位
  8034. type: number
  8035. trademode:
  8036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8037. 21:竞拍-大宗式 22:受托竞价
  8038. type: integer
  8039. vendorattr:
  8040. description: 供应商附件(多张,逗号分隔)
  8041. type: string
  8042. vendorname:
  8043. description: 供应商名称
  8044. type: string
  8045. vendorphone:
  8046. description: 供应商客服电话
  8047. type: string
  8048. videourls:
  8049. description: 介绍视频[多张用逗号分隔]
  8050. type: string
  8051. required:
  8052. - goodscode
  8053. - goodsid
  8054. - goodsname
  8055. - marketid
  8056. - trademode
  8057. type: object
  8058. models.HsbyMarketGoods:
  8059. properties:
  8060. accountid:
  8061. description: 账户ID[报价币种]
  8062. type: integer
  8063. agreeunit:
  8064. description: 合约单位
  8065. type: number
  8066. buyorsell:
  8067. description: 买卖 - 0:买 1:卖
  8068. type: integer
  8069. categoryid:
  8070. description: 类别ID(WRCATEGORY)
  8071. type: integer
  8072. currency:
  8073. description: 货币
  8074. type: string
  8075. currencysign:
  8076. description: 货币符号
  8077. type: string
  8078. customername:
  8079. description: 卖家名称
  8080. type: string
  8081. decimalplace:
  8082. description: 报价小数位
  8083. type: integer
  8084. goodscode:
  8085. description: 商品代码(内部)
  8086. type: string
  8087. goodsid:
  8088. description: 商品ID
  8089. type: integer
  8090. goodsname:
  8091. description: 商品名称
  8092. type: string
  8093. goodsprice:
  8094. description: 商品价格
  8095. type: number
  8096. hascoupon:
  8097. description: 是否可用优惠卷
  8098. type: boolean
  8099. hotindex:
  8100. description: 景点热度
  8101. type: integer
  8102. marketid:
  8103. description: 市场ID
  8104. type: integer
  8105. orderid:
  8106. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8107. type: string
  8108. orderprice:
  8109. description: 委托价格
  8110. type: number
  8111. orderstatus:
  8112. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8113. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8114. 16:成交失败违约(荷兰式竞拍专用)
  8115. type: integer
  8116. picurls:
  8117. description: 介绍图片[多张用逗号分隔]
  8118. type: string
  8119. quoteminunit:
  8120. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8121. type: integer
  8122. sellUserID:
  8123. description: 卖方UserID
  8124. type: integer
  8125. trademode:
  8126. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8127. 21:竞拍-大宗式 22:受托竞价
  8128. type: integer
  8129. videourls:
  8130. description: 介绍视频[多张用逗号分隔]
  8131. type: string
  8132. required:
  8133. - accountid
  8134. - buyorsell
  8135. - goodscode
  8136. - goodsid
  8137. - goodsname
  8138. - marketid
  8139. - orderid
  8140. - trademode
  8141. type: object
  8142. models.HsbyMarketGoodsDetail:
  8143. properties:
  8144. accountid:
  8145. description: 账户ID[报价币种]
  8146. type: integer
  8147. agreeunit:
  8148. description: 合约单位
  8149. type: number
  8150. buymaxqty:
  8151. description: 购买上限 [71] - 0为不限
  8152. type: integer
  8153. buyorsell:
  8154. description: 买卖 - 0:买 1:卖
  8155. type: integer
  8156. cancelqty:
  8157. description: 撤单数量
  8158. type: integer
  8159. categoryid:
  8160. description: 类别ID(WRCATEGORY)
  8161. type: integer
  8162. currency:
  8163. description: 货币
  8164. type: string
  8165. currencysign:
  8166. description: 货币符号
  8167. type: string
  8168. customername:
  8169. description: 卖家名称
  8170. type: string
  8171. decimalplace:
  8172. description: 报价小数位
  8173. type: integer
  8174. goodscode:
  8175. description: 商品代码(内部)
  8176. type: string
  8177. goodsdesc:
  8178. description: 商品详情
  8179. type: string
  8180. goodsid:
  8181. description: 商品ID
  8182. type: integer
  8183. goodsname:
  8184. description: 商品名称
  8185. type: string
  8186. goodsprice:
  8187. description: 商品价格
  8188. type: number
  8189. hotindex:
  8190. description: 景点热度
  8191. type: integer
  8192. lotsize:
  8193. description: 手数最小变动单位
  8194. type: integer
  8195. marketid:
  8196. description: 市场ID
  8197. type: integer
  8198. orderid:
  8199. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8200. type: string
  8201. orderprice:
  8202. description: 委托价格
  8203. type: number
  8204. orderqty:
  8205. description: 委托数量
  8206. type: integer
  8207. orderstatus:
  8208. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8209. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8210. 16:成交失败违约(荷兰式竞拍专用)
  8211. type: integer
  8212. picurls:
  8213. description: 介绍图片[多张用逗号分隔]
  8214. type: string
  8215. quoteminunit:
  8216. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8217. type: integer
  8218. sellUserID:
  8219. description: 卖方UserID
  8220. type: integer
  8221. trademode:
  8222. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8223. 21:竞拍-大宗式 22:受托竞价
  8224. type: integer
  8225. tradeqty:
  8226. description: 成交数量
  8227. type: integer
  8228. vendorattr:
  8229. description: 供应商附件(多张,逗号分隔)
  8230. type: string
  8231. vendorname:
  8232. description: 供应商名称
  8233. type: string
  8234. vendorphone:
  8235. description: 供应商客服电话
  8236. type: string
  8237. videourls:
  8238. description: 介绍视频[多张用逗号分隔]
  8239. type: string
  8240. required:
  8241. - accountid
  8242. - buyorsell
  8243. - goodscode
  8244. - goodsid
  8245. - goodsname
  8246. - marketid
  8247. - orderid
  8248. - orderqty
  8249. - trademode
  8250. type: object
  8251. models.HsbyMarketInfo:
  8252. properties:
  8253. marketid:
  8254. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8255. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8256. type: integer
  8257. marketname:
  8258. description: 市场名称
  8259. type: string
  8260. marketstatus:
  8261. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8262. type: integer
  8263. trademode:
  8264. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8265. 21:竞拍-大宗式 22:受托竞价
  8266. type: integer
  8267. required:
  8268. - marketid
  8269. - marketstatus
  8270. - trademode
  8271. type: object
  8272. models.HsbyMyGoods:
  8273. properties:
  8274. accountid:
  8275. description: 账号Id
  8276. type: integer
  8277. agreeunit:
  8278. description: 合约单位
  8279. type: number
  8280. buyaverageprice:
  8281. description: 持仓均价
  8282. type: number
  8283. buycurholderamount:
  8284. description: 买当前持仓总金额[商品币种]
  8285. type: number
  8286. buycurpositionqty:
  8287. description: 买当前持仓总数量
  8288. type: integer
  8289. buymaxqty:
  8290. description: 购买上限 [71] - 0为不限
  8291. type: integer
  8292. currencysign:
  8293. description: 货币符号
  8294. type: string
  8295. decimalplace:
  8296. description: 报价小数位
  8297. type: integer
  8298. enableqty:
  8299. description: 可用数量
  8300. type: integer
  8301. goodscode:
  8302. description: 商品代码(内部)
  8303. type: string
  8304. goodsid:
  8305. description: 商品Id
  8306. type: integer
  8307. goodsname:
  8308. description: 商品名称
  8309. type: string
  8310. goodsprice:
  8311. description: 商品价格
  8312. type: number
  8313. goodsstatus:
  8314. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8315. type: integer
  8316. last:
  8317. description: 现价(仅使用于挂牌点选)
  8318. type: number
  8319. limitdown:
  8320. description: 跌停价(仅使用于挂牌点选)
  8321. type: number
  8322. limitup:
  8323. description: 涨停价(仅使用于挂牌点选)
  8324. type: number
  8325. lotsize:
  8326. description: 手数最小变动单位
  8327. type: integer
  8328. marketid:
  8329. description: 所属市场ID
  8330. type: integer
  8331. picurls:
  8332. description: 介绍图片[多张用逗号分隔]
  8333. type: string
  8334. quoteminunit:
  8335. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8336. type: integer
  8337. stepvalue:
  8338. description: 价格最小变动单位
  8339. type: number
  8340. trademode:
  8341. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8342. 21:竞拍-大宗式 22:受托竞价
  8343. type: integer
  8344. required:
  8345. - accountid
  8346. - goodscode
  8347. - goodsid
  8348. - goodsname
  8349. - marketid
  8350. - trademode
  8351. type: object
  8352. models.HsbyMyPackage:
  8353. properties:
  8354. accountid:
  8355. description: 账户ID
  8356. type: integer
  8357. address:
  8358. description: 提货人详细地址
  8359. type: string
  8360. agreeunit:
  8361. description: 合约单位
  8362. type: number
  8363. amount:
  8364. description: 提货金额
  8365. type: number
  8366. auditer:
  8367. description: 审核人
  8368. type: integer
  8369. audittime:
  8370. description: 审核时间
  8371. type: string
  8372. averageprice:
  8373. description: 均价
  8374. type: number
  8375. cardnum:
  8376. description: 提货人证件号码
  8377. type: string
  8378. cardtypeid:
  8379. description: 提货人证件类型
  8380. type: integer
  8381. checkremark:
  8382. description: 审核备注
  8383. type: string
  8384. currencysign:
  8385. description: 货币符号
  8386. type: string
  8387. decimalplace:
  8388. description: 报价小数位
  8389. type: integer
  8390. goodscode:
  8391. description: 商品代码(内部)
  8392. type: string
  8393. goodsid:
  8394. description: 商品ID
  8395. type: integer
  8396. goodsname:
  8397. description: 商品名称
  8398. type: string
  8399. handlestatus:
  8400. description: 处理状态
  8401. type: integer
  8402. marketid:
  8403. description: 市场ID
  8404. type: integer
  8405. phonenum:
  8406. description: 提货人联系方式
  8407. type: string
  8408. picurls:
  8409. description: 介绍图片[多张用逗号分隔]
  8410. type: string
  8411. qty:
  8412. description: 提货数量
  8413. type: number
  8414. recivername:
  8415. description: 提货人姓名
  8416. type: string
  8417. reqtime:
  8418. description: 更新时间
  8419. type: string
  8420. takemode:
  8421. description: 提货方式 - 2:自提 3:配送
  8422. type: integer
  8423. takeorderid:
  8424. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8425. type: string
  8426. takeorderstatus:
  8427. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8428. type: integer
  8429. takeremark:
  8430. description: 提货备注
  8431. type: string
  8432. tradedate:
  8433. description: 交易日(yyyyMMdd)
  8434. type: string
  8435. trademode:
  8436. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8437. 21:竞拍-大宗式 22:受托竞价
  8438. type: integer
  8439. userid:
  8440. description: 用户ID
  8441. type: integer
  8442. vendorname:
  8443. description: 供应商名称
  8444. type: string
  8445. required:
  8446. - goodscode
  8447. - goodsname
  8448. - takeorderid
  8449. - trademode
  8450. type: object
  8451. models.HsbyPreGoods:
  8452. properties:
  8453. agreeunit:
  8454. description: 合约单位
  8455. type: number
  8456. currency:
  8457. description: 货币
  8458. type: string
  8459. currencysign:
  8460. description: 货币符号
  8461. type: string
  8462. decimalplace:
  8463. description: 报价小数位
  8464. type: integer
  8465. desccityid:
  8466. description: 目的地(市)
  8467. type: integer
  8468. descprovinceid:
  8469. description: 目的地(省)
  8470. type: integer
  8471. enableqty:
  8472. description: 剩余数量
  8473. type: integer
  8474. goodscode:
  8475. description: 商品代码(内部)
  8476. type: string
  8477. goodsid:
  8478. description: 商品ID(自增ID SEQ_GOODS)
  8479. type: integer
  8480. goodsname:
  8481. description: 商品名称
  8482. type: string
  8483. goodsstatus:
  8484. description: 商品状态- 2:未上市 3:上市
  8485. type: integer
  8486. lasttradedate:
  8487. description: 最后交易日期(状态:待退市)
  8488. type: string
  8489. listingdate:
  8490. description: 交易开始日期
  8491. type: string
  8492. marketid:
  8493. description: 所属市场ID
  8494. type: integer
  8495. picurls:
  8496. description: 介绍图片[多张用逗号分隔]
  8497. type: string
  8498. presaledqty:
  8499. description: 已预售量(预售结束时更新)
  8500. type: integer
  8501. presaleqty:
  8502. description: 预售数量
  8503. type: integer
  8504. quoteminunit:
  8505. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8506. type: integer
  8507. refprice:
  8508. description: 参考价格[一口价]
  8509. type: number
  8510. relatedgoodsid:
  8511. description: 关联交易合约ID
  8512. type: integer
  8513. trademode:
  8514. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8515. 21:竞拍-大宗式 22:受托竞价
  8516. type: integer
  8517. videourls:
  8518. description: 介绍视频[多张用逗号分隔]
  8519. type: string
  8520. required:
  8521. - goodscode
  8522. - goodsid
  8523. - goodsname
  8524. - marketid
  8525. - trademode
  8526. type: object
  8527. models.HsbyPreGoodsDetail:
  8528. properties:
  8529. agreeunit:
  8530. description: 合约单位
  8531. type: number
  8532. buymaxqty:
  8533. description: 购买上限 [71] - 0为不限
  8534. type: integer
  8535. currency:
  8536. description: 货币
  8537. type: string
  8538. currencysign:
  8539. description: 货币符号
  8540. type: string
  8541. customername:
  8542. description: 发行单位
  8543. type: string
  8544. decimalplace:
  8545. description: 报价小数位
  8546. type: integer
  8547. desccityid:
  8548. description: 目的地(市)ID
  8549. type: integer
  8550. descprovinceid:
  8551. description: 目的地(省)ID
  8552. type: integer
  8553. enableqty:
  8554. description: 剩余数量
  8555. type: integer
  8556. goodscode:
  8557. description: 商品代码(内部)
  8558. type: string
  8559. goodsdesc:
  8560. description: 商品详情
  8561. type: string
  8562. goodsid:
  8563. description: 商品ID(自增ID SEQ_GOODS)
  8564. type: integer
  8565. goodsname:
  8566. description: 商品名称
  8567. type: string
  8568. goodsstatus:
  8569. description: 商品状态- 2:未上市 3:上市
  8570. type: integer
  8571. goodunit:
  8572. description: 报价单位
  8573. type: string
  8574. lasttradedate:
  8575. description: 最后交易日期(状态:待退市)
  8576. type: string
  8577. listingdate:
  8578. description: 交易开始日期
  8579. type: string
  8580. lotsize:
  8581. description: 手数最小变动单位
  8582. type: integer
  8583. marketid:
  8584. description: 所属市场ID
  8585. type: integer
  8586. picurls:
  8587. description: 介绍图片[多张用逗号分隔]
  8588. type: string
  8589. presaledqty:
  8590. description: 已预售量(预售结束时更新)
  8591. type: integer
  8592. presaleqty:
  8593. description: 预售数量
  8594. type: integer
  8595. quoteminunit:
  8596. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8597. type: integer
  8598. refprice:
  8599. description: 参考价格[一口价]
  8600. type: number
  8601. relatedgoodsid:
  8602. description: 关联交易合约ID
  8603. type: integer
  8604. stepvalue:
  8605. description: 价格最小变动单位
  8606. type: number
  8607. trademode:
  8608. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8609. 21:竞拍-大宗式 22:受托竞价
  8610. type: integer
  8611. vendorattr:
  8612. description: 供应商附件(多张,逗号分隔)
  8613. type: string
  8614. vendorname:
  8615. description: 供应商名称
  8616. type: string
  8617. vendorphone:
  8618. description: 供应商客服电话
  8619. type: string
  8620. videourls:
  8621. description: 介绍视频[多张用逗号分隔]
  8622. type: string
  8623. required:
  8624. - goodscode
  8625. - goodsid
  8626. - goodsname
  8627. - marketid
  8628. - trademode
  8629. type: object
  8630. models.HsbySellCollectionOrder:
  8631. properties:
  8632. agreeunit:
  8633. description: 合约单位
  8634. type: number
  8635. buyaccountid:
  8636. description: 买方账号ID[报价币种]
  8637. type: integer
  8638. buyorderid:
  8639. description: 买方委托单号
  8640. type: string
  8641. createtime:
  8642. description: 创建时间
  8643. type: string
  8644. currencysign:
  8645. description: 货币符号
  8646. type: string
  8647. decimalplace:
  8648. description: 报价小数位
  8649. type: integer
  8650. goodscode:
  8651. description: 商品代码(内部)
  8652. type: string
  8653. goodsid:
  8654. description: 商品ID
  8655. type: integer
  8656. goodsname:
  8657. description: 商品名称
  8658. type: string
  8659. marketid:
  8660. description: 市场ID
  8661. type: integer
  8662. offamount:
  8663. description: 优惠金额
  8664. type: number
  8665. payamount:
  8666. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8667. type: number
  8668. payflag:
  8669. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8670. type: integer
  8671. paylimitedtime:
  8672. description: 支付期限
  8673. type: string
  8674. paytime:
  8675. description: 付款时间
  8676. type: string
  8677. picurls:
  8678. description: 商品介绍图片[多张用逗号分隔]
  8679. type: string
  8680. sellaccountid:
  8681. description: 卖方账号ID[报价币种]
  8682. type: integer
  8683. sellorderid:
  8684. description: 卖方委托单号
  8685. type: string
  8686. tradeamount:
  8687. description: 成交金额
  8688. type: number
  8689. tradecharge:
  8690. description: 成交手续费(买方)
  8691. type: number
  8692. tradedate:
  8693. description: 交易日(yyyyMMdd)
  8694. type: string
  8695. tradeid:
  8696. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8697. type: string
  8698. trademode:
  8699. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8700. 21:竞拍-大宗式 22:受托竞价
  8701. type: integer
  8702. tradeprice:
  8703. description: 成交价格
  8704. type: number
  8705. tradeqty:
  8706. description: 成交数量
  8707. type: integer
  8708. required:
  8709. - goodscode
  8710. - goodsname
  8711. - tradeid
  8712. - trademode
  8713. type: object
  8714. models.HsbySellMyDetail:
  8715. properties:
  8716. accountid:
  8717. description: 账户ID[报价币种]
  8718. type: integer
  8719. agreeunit:
  8720. description: 合约单位
  8721. type: number
  8722. buyorsell:
  8723. description: 买卖 - 0:买 1:卖
  8724. type: integer
  8725. currencysign:
  8726. description: 货币符号
  8727. type: string
  8728. decimalplace:
  8729. description: 报价小数位
  8730. type: integer
  8731. goodscode:
  8732. description: 商品代码(内部)
  8733. type: string
  8734. goodsid:
  8735. description: 商品ID
  8736. type: integer
  8737. goodsname:
  8738. description: 商品名称
  8739. type: string
  8740. marketid:
  8741. description: 市场ID
  8742. type: integer
  8743. orderid:
  8744. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8745. type: string
  8746. ordertype:
  8747. description: 单据类型:0 - 发布中, 1 - 已完成
  8748. type: integer
  8749. picurls:
  8750. description: 介绍图片[多张用逗号分隔]
  8751. type: string
  8752. price:
  8753. description: 价格
  8754. type: number
  8755. qty:
  8756. description: 数量
  8757. type: integer
  8758. time:
  8759. description: 时间
  8760. type: string
  8761. trademode:
  8762. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8763. 21:竞拍-大宗式 22:受托竞价
  8764. type: integer
  8765. vendorname:
  8766. description: 供应商名称
  8767. type: string
  8768. required:
  8769. - accountid
  8770. - buyorsell
  8771. - goodscode
  8772. - goodsid
  8773. - goodsname
  8774. - marketid
  8775. - orderid
  8776. - time
  8777. - trademode
  8778. type: object
  8779. models.HsbyTopGoods:
  8780. properties:
  8781. agreeunit:
  8782. description: 合约单位
  8783. type: number
  8784. currency:
  8785. description: 货币
  8786. type: string
  8787. currencysign:
  8788. description: 货币符号
  8789. type: string
  8790. decimalplace:
  8791. description: 报价小数位
  8792. type: integer
  8793. desccityid:
  8794. description: 目的地(市)
  8795. type: integer
  8796. descprovinceid:
  8797. description: 目的地(省)
  8798. type: integer
  8799. goodscode:
  8800. description: 商品代码(内部)
  8801. type: string
  8802. goodsid:
  8803. description: 商品ID(自增ID SEQ_GOODS)
  8804. type: integer
  8805. goodsname:
  8806. description: 商品名称
  8807. type: string
  8808. hotindex:
  8809. description: 景点热度
  8810. type: integer
  8811. last:
  8812. description: 现价
  8813. type: number
  8814. marketid:
  8815. description: 所属市场ID
  8816. type: integer
  8817. picurls:
  8818. description: 介绍图片[多张用逗号分隔]
  8819. type: string
  8820. quoteminunit:
  8821. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8822. type: integer
  8823. trademode:
  8824. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8825. 21:竞拍-大宗式 22:受托竞价
  8826. type: integer
  8827. videourls:
  8828. description: 介绍视频[多张用逗号分隔]
  8829. type: string
  8830. required:
  8831. - goodscode
  8832. - goodsid
  8833. - goodsname
  8834. - marketid
  8835. - trademode
  8836. type: object
  8837. models.HybsMyBuyOrderDetail:
  8838. properties:
  8839. accountid:
  8840. description: 账户ID[报价币种]
  8841. type: integer
  8842. agreeunit:
  8843. description: 合约单位
  8844. type: number
  8845. buyorsell:
  8846. description: 买卖 - 0:买 1:卖
  8847. type: integer
  8848. cancelqty:
  8849. description: 撤单数量
  8850. type: integer
  8851. currencysign:
  8852. description: 货币符号
  8853. type: string
  8854. decimalplace:
  8855. description: 报价小数位
  8856. type: integer
  8857. goodscode:
  8858. description: 商品代码(内部)
  8859. type: string
  8860. goodsid:
  8861. description: 商品ID
  8862. type: integer
  8863. goodsname:
  8864. description: 商品名称
  8865. type: string
  8866. listingselecttype:
  8867. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8868. type: integer
  8869. marketid:
  8870. description: 市场ID
  8871. type: integer
  8872. mybuystatus:
  8873. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8874. type: integer
  8875. orderamount:
  8876. description: 委托金额
  8877. type: number
  8878. orderid:
  8879. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8880. type: string
  8881. orderprice:
  8882. description: 委托价格
  8883. type: number
  8884. orderqty:
  8885. description: 委托数量
  8886. type: integer
  8887. orderstatus:
  8888. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8889. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8890. 16:成交失败违约(荷兰式竞拍专用)
  8891. type: integer
  8892. ordertime:
  8893. description: 委托时间
  8894. type: string
  8895. picurls1:
  8896. description: 预售商品介绍图片[多张用逗号分隔]
  8897. type: string
  8898. picurls2:
  8899. description: 挂牌商品介绍图片[多张用逗号分隔]
  8900. type: string
  8901. trademode:
  8902. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8903. 21:竞拍-大宗式 22:受托竞价
  8904. type: integer
  8905. tradeqty:
  8906. description: 成交数量
  8907. type: integer
  8908. vendorname1:
  8909. description: 预售商品供应商名称
  8910. type: string
  8911. vendorname2:
  8912. description: 挂牌商品供应商名称
  8913. type: string
  8914. required:
  8915. - accountid
  8916. - buyorsell
  8917. - goodscode
  8918. - goodsid
  8919. - goodsname
  8920. - marketid
  8921. - orderid
  8922. - orderqty
  8923. - ordertime
  8924. - trademode
  8925. type: object
  8926. models.Loginaccount:
  8927. properties:
  8928. accountname:
  8929. description: 账户名称
  8930. type: string
  8931. canoutin:
  8932. description: 是否可出入金 - 0:不可 1:可
  8933. type: integer
  8934. clientroleid:
  8935. description: 终端角色ID
  8936. type: integer
  8937. haslogined:
  8938. description: 是否已登录 - 0:未登录 1:已登录
  8939. type: integer
  8940. hasupdatedpwd:
  8941. description: 是否已更改密码 - 0:未修改 1:已修改
  8942. type: integer
  8943. lastloginip:
  8944. description: 最新登录地址
  8945. type: string
  8946. lastloginmode:
  8947. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8948. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8949. type: integer
  8950. lastloginremark:
  8951. description: 最新登录描述
  8952. type: string
  8953. lastlogintime:
  8954. description: 最新登录时间
  8955. type: string
  8956. logincode:
  8957. description: 登录代码
  8958. type: string
  8959. loginfailnum:
  8960. description: 连续登录失败次数(登录成功时清零)
  8961. type: integer
  8962. loginid:
  8963. description: 登陆账号
  8964. type: integer
  8965. loginport:
  8966. description: 最新登录端口
  8967. type: integer
  8968. loginstatus:
  8969. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8970. type: integer
  8971. loginusertype:
  8972. description: 登录账号类型 - 1:投资者 2:机构交易员
  8973. type: integer
  8974. mobile:
  8975. description: 手机号码(加密存储)
  8976. type: string
  8977. modifierid:
  8978. description: 修改人
  8979. type: integer
  8980. modifysrc:
  8981. description: 审核来源 - 1:管理端 2:终端
  8982. type: integer
  8983. modifytime:
  8984. description: 修改时间
  8985. type: string
  8986. password:
  8987. description: 登陆密码
  8988. type: string
  8989. pwdwrongcount:
  8990. description: 密码错误次数
  8991. type: integer
  8992. relateduserid:
  8993. description: 关联用户ID(机构)
  8994. type: integer
  8995. taaccountrighttype:
  8996. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8997. type: integer
  8998. unfreezetime:
  8999. description: 账户解冻时间
  9000. type: string
  9001. userid:
  9002. description: 用户ID
  9003. type: integer
  9004. required:
  9005. - loginid
  9006. type: object
  9007. models.MainAccountInfo:
  9008. properties:
  9009. accountid:
  9010. description: 账号id
  9011. type: integer
  9012. accountname:
  9013. description: 账号名称(taaccount表中的名称)
  9014. type: string
  9015. appid:
  9016. description: AppID
  9017. type: string
  9018. authcode:
  9019. description: 授权码
  9020. type: string
  9021. brokerid:
  9022. description: 经纪商id
  9023. type: string
  9024. fcid:
  9025. description: 期货公司id
  9026. type: integer
  9027. fcname:
  9028. description: 期货公司代码
  9029. type: string
  9030. hedgeaccountcode:
  9031. description: 外部账号代码(主账号登录代码)
  9032. type: string
  9033. hedgeaccountpwd:
  9034. description: 密码
  9035. type: string
  9036. ismain:
  9037. description: 是否主账号
  9038. type: integer
  9039. relateduserid:
  9040. description: 关联用户id
  9041. type: integer
  9042. userid:
  9043. description: 关联用户id
  9044. type: integer
  9045. type: object
  9046. models.Market:
  9047. properties:
  9048. auctionwrtype:
  9049. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9050. type: integer
  9051. canacceptquote:
  9052. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9053. type: integer
  9054. cangoodsexercise:
  9055. description: '[期权]是否可现货行权- 0:否 1:是'
  9056. type: integer
  9057. cangoodsexercisetype:
  9058. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9059. type: integer
  9060. canmanualquotestrike:
  9061. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9062. type: integer
  9063. canmutistage:
  9064. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9065. type: integer
  9066. canpreexercise:
  9067. description: '[期权]是否可预申报- 0:否 1:是'
  9068. type: integer
  9069. clearinterval:
  9070. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9071. type: integer
  9072. contracttmp:
  9073. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9074. type: string
  9075. exchareaid:
  9076. description: 所属交易所,可以没有
  9077. type: integer
  9078. goodstype:
  9079. description: 商品类型 - 1:交易商品 2:仓单商品
  9080. type: integer
  9081. hasrebate:
  9082. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9083. type: integer
  9084. hastradecredit:
  9085. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9086. type: integer
  9087. haswr:
  9088. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9089. type: integer
  9090. isdeductmargin:
  9091. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9092. type: integer
  9093. isrecordsource:
  9094. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9095. type: integer
  9096. isreleasemargin:
  9097. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9098. type: integer
  9099. marginformula:
  9100. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9101. type: integer
  9102. marginformula2:
  9103. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9104. type: integer
  9105. marketid:
  9106. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9107. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9108. type: integer
  9109. marketname:
  9110. description: 市场名称
  9111. type: string
  9112. marketserviceid:
  9113. description: 市场服务ID
  9114. type: integer
  9115. marketstatus:
  9116. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9117. type: integer
  9118. markettype:
  9119. description: 市场类型- 1:非交易服务 2:交易服务
  9120. type: integer
  9121. matchermode:
  9122. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9123. type: integer
  9124. openmethod:
  9125. description: 开盘模式 - 0 自动 1手动
  9126. type: integer
  9127. otcuserid:
  9128. description: 场外期权做市商[场外期权]
  9129. type: integer
  9130. outersynctime:
  9131. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9132. type: string
  9133. pendingflag:
  9134. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9135. type: integer
  9136. pendingtime:
  9137. description: 待开市时间[通道交易-对冲](HH:mm)
  9138. type: string
  9139. performancetempid:
  9140. description: 履约计划模板ID - 作废
  9141. type: integer
  9142. premiumquotemode:
  9143. description: 权利金报价方式 - 1:自动 2:手动
  9144. type: integer
  9145. rebateratio:
  9146. description: 返利比率[竞价式]
  9147. type: number
  9148. reckonorder:
  9149. description: 结算顺序
  9150. type: integer
  9151. reckonpricealgorithm:
  9152. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9153. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9154. type: integer
  9155. reckonpriceparam:
  9156. description: 结算价参数
  9157. type: integer
  9158. reckontime:
  9159. description: 结算时间[通道交易-对冲](HH:mm)
  9160. type: string
  9161. roleprioritytype:
  9162. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9163. type: integer
  9164. selllistingauditflag:
  9165. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9166. type: integer
  9167. trademarkettype:
  9168. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9169. type: integer
  9170. trademode:
  9171. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9172. 21:竞拍-大宗式 22:受托竞价
  9173. type: integer
  9174. tradeproperty:
  9175. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9176. 8:场外期权
  9177. type: integer
  9178. tradetype:
  9179. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9180. type: integer
  9181. required:
  9182. - marketid
  9183. - marketstatus
  9184. - openmethod
  9185. - reckonpricealgorithm
  9186. - trademode
  9187. - tradeproperty
  9188. type: object
  9189. models.Marketrun:
  9190. properties:
  9191. afternexttradedate:
  9192. description: 下下交易日
  9193. type: string
  9194. clearquoteflag:
  9195. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9196. type: integer
  9197. lastreckondate:
  9198. description: 最新交易日(结算成功)
  9199. type: string
  9200. machinedate:
  9201. description: 机器时间
  9202. type: string
  9203. manualflag:
  9204. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9205. type: integer
  9206. marketid:
  9207. description: 市场ID
  9208. type: integer
  9209. nexttradedate:
  9210. description: 下一交易日
  9211. type: string
  9212. pretradedate:
  9213. description: 上一交易日
  9214. type: string
  9215. reckonflag:
  9216. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9217. type: integer
  9218. runstatus:
  9219. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9220. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9221. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9222. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9223. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9224. 62.今日免清算
  9225. type: integer
  9226. sectionid:
  9227. description: 时间段号[多时段时用]
  9228. type: integer
  9229. tradedate:
  9230. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9231. type: string
  9232. tradedate2:
  9233. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9234. type: string
  9235. updatetime:
  9236. description: 更新时间
  9237. type: string
  9238. required:
  9239. - marketid
  9240. - nexttradedate
  9241. - reckonflag
  9242. - runstatus
  9243. - tradedate
  9244. - tradedate2
  9245. type: object
  9246. models.Messageboard:
  9247. properties:
  9248. contactnum:
  9249. description: 联系电话
  9250. type: string
  9251. createtime:
  9252. description: 创建时间
  9253. type: string
  9254. message:
  9255. description: 留言信息
  9256. type: string
  9257. messageboardid:
  9258. description: 留言簿ID(SEQ_MessageBoard)
  9259. type: integer
  9260. userid:
  9261. description: 用户ID
  9262. type: integer
  9263. required:
  9264. - messageboardid
  9265. type: object
  9266. models.MyCoupon:
  9267. properties:
  9268. accountid:
  9269. description: 资金账户ID
  9270. type: integer
  9271. areauserid:
  9272. description: 所属机构
  9273. type: integer
  9274. conditionvalue:
  9275. description: 条件阈值(可为0)
  9276. type: number
  9277. couponcategroy:
  9278. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9279. type: integer
  9280. couponname:
  9281. description: 优惠券名称
  9282. type: string
  9283. coupontypeid:
  9284. description: 优惠券类型ID
  9285. type: string
  9286. couponvalue:
  9287. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9288. type: number
  9289. curfreezeqty:
  9290. description: 期末冻结数量
  9291. type: integer
  9292. curqty:
  9293. description: 期末数量
  9294. type: integer
  9295. isgeneral:
  9296. description: 是否通用券 - 0:否 1:是
  9297. type: integer
  9298. isunusable:
  9299. description: 是否不可用
  9300. type: boolean
  9301. limitedflag:
  9302. description: 是否指定商品 - 0:不限 1:限制
  9303. type: integer
  9304. limitedgoodsids:
  9305. description: 指定商品IDs[逗号分隔,前后加逗号]
  9306. type: string
  9307. orifreezeqty:
  9308. description: 期初冻结数量
  9309. type: integer
  9310. oriqty:
  9311. description: 期初数量
  9312. type: integer
  9313. reasontype:
  9314. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9315. type: integer
  9316. todaydecrease:
  9317. description: 今日减少
  9318. type: integer
  9319. todayincrease:
  9320. description: 今日增加
  9321. type: integer
  9322. userid:
  9323. description: 用户ID
  9324. type: integer
  9325. userscope:
  9326. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9327. type: string
  9328. required:
  9329. - accountid
  9330. - coupontypeid
  9331. type: object
  9332. models.MyCouponHold:
  9333. properties:
  9334. accountid:
  9335. description: 资金账户ID
  9336. type: integer
  9337. conditionvalue:
  9338. description: 条件阈值(可为0)
  9339. type: number
  9340. couponcategroy:
  9341. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9342. type: integer
  9343. couponholdid:
  9344. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9345. type: string
  9346. couponname:
  9347. description: 优惠券名称
  9348. type: string
  9349. coupontypeid:
  9350. description: 优惠券类型ID - SEQ_COUPONTYPE
  9351. type: string
  9352. couponvalue:
  9353. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9354. type: number
  9355. createtime:
  9356. description: 创建时间
  9357. type: string
  9358. enddate:
  9359. description: 结束日期
  9360. type: string
  9361. giveapplyid:
  9362. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9363. type: integer
  9364. holdstatus:
  9365. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9366. type: integer
  9367. isgeneral:
  9368. description: 是否通用券 - 0:否 1:是
  9369. type: integer
  9370. limitedflag:
  9371. description: 是否指定商品 - 0:不限 1:限制
  9372. type: integer
  9373. limitedgoodsids:
  9374. description: 指定商品IDs[逗号分隔]
  9375. type: string
  9376. qty:
  9377. description: 数量(按1平铺)
  9378. type: integer
  9379. startdate:
  9380. description: 开始日期
  9381. type: string
  9382. userid:
  9383. description: 用户ID
  9384. type: integer
  9385. userscope:
  9386. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9387. type: string
  9388. required:
  9389. - couponholdid
  9390. type: object
  9391. models.MyUsedCoupon:
  9392. properties:
  9393. accountid:
  9394. description: 资金账户ID(买方)
  9395. type: integer
  9396. conditionvalue:
  9397. description: 条件阈值(可为0)
  9398. type: number
  9399. couponcategroy:
  9400. description: 种类 - 1:现金券 2:折扣券
  9401. type: integer
  9402. couponname:
  9403. description: 优惠券名称
  9404. type: string
  9405. coupontypeid:
  9406. description: 优惠券类型ID(买方)
  9407. type: string
  9408. couponvalue:
  9409. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9410. type: number
  9411. createtime:
  9412. description: 创建时间
  9413. type: string
  9414. goodsid:
  9415. description: 商品ID
  9416. type: integer
  9417. handlestatus:
  9418. description: 处理状态
  9419. type: integer
  9420. marketid:
  9421. description: 市场ID
  9422. type: integer
  9423. offamount:
  9424. description: 优惠金额
  9425. type: number
  9426. orderid:
  9427. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9428. type: string
  9429. sellaccountid:
  9430. description: 资金账户ID(卖方)
  9431. type: integer
  9432. tradeamount:
  9433. description: 成交金额
  9434. type: number
  9435. tradeid:
  9436. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9437. type: string
  9438. usedqty:
  9439. description: 使用数量
  9440. type: integer
  9441. required:
  9442. - coupontypeid
  9443. - orderid
  9444. type: object
  9445. models.OperationPrimaryMenu:
  9446. properties:
  9447. Children:
  9448. description: 二级功能菜单
  9449. items:
  9450. $ref: '#/definitions/models.OperationSecondaryMenu'
  9451. type: array
  9452. Key:
  9453. description: 菜单KEY
  9454. type: string
  9455. Label:
  9456. description: 菜单标题
  9457. type: string
  9458. type: object
  9459. models.OperationSecondaryMenu:
  9460. properties:
  9461. Key:
  9462. description: 菜单KEY
  9463. type: string
  9464. Label:
  9465. description: 菜单标题
  9466. type: string
  9467. TabList:
  9468. description: 三级功能菜单
  9469. items:
  9470. $ref: '#/definitions/models.OperationTabMenu'
  9471. type: array
  9472. type: object
  9473. models.OperationTabMenu:
  9474. properties:
  9475. Key:
  9476. description: 菜单KEY
  9477. type: string
  9478. Label:
  9479. description: 菜单标题
  9480. type: string
  9481. type: object
  9482. models.PendingAuditBizModel:
  9483. properties:
  9484. accountid:
  9485. description: 现货账户
  9486. type: string
  9487. areaname:
  9488. description: 所属部门
  9489. type: string
  9490. bizid:
  9491. description: 业务ID
  9492. type: string
  9493. bizname:
  9494. description: 业务名称
  9495. type: string
  9496. status:
  9497. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9498. type: integer
  9499. type:
  9500. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9501. type: integer
  9502. type: object
  9503. models.QhjAccountOutInApply:
  9504. properties:
  9505. accountcode:
  9506. description: 资金账号
  9507. type: string
  9508. accountname:
  9509. description: 用户名称(名称)
  9510. type: string
  9511. accountpwd:
  9512. description: 资金密码
  9513. type: string
  9514. accountticket:
  9515. description: 最新账户服务流水号
  9516. type: string
  9517. amount:
  9518. description: 金额
  9519. type: number
  9520. applyremark:
  9521. description: 申请备注
  9522. type: string
  9523. applystatus:
  9524. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9525. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9526. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9527. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9528. type: integer
  9529. auditid:
  9530. description: 审核人
  9531. type: integer
  9532. audittime:
  9533. description: 审核时间
  9534. type: string
  9535. bank_apply_ticket:
  9536. description: 银行申请流水
  9537. type: string
  9538. bankaccountname:
  9539. description: 银行账户名
  9540. type: string
  9541. bankaccountno:
  9542. description: 银行卡号
  9543. type: string
  9544. bankid:
  9545. description: 银行编号
  9546. type: string
  9547. bankticket:
  9548. description: 银行流水
  9549. type: string
  9550. branchbankid:
  9551. description: 银行支行号
  9552. type: string
  9553. branchbankname:
  9554. description: 银行支行名称
  9555. type: string
  9556. capamountout:
  9557. description: 出金(劣后本金) - 外部子账户
  9558. type: number
  9559. certificatephotourl:
  9560. description: 凭证地址
  9561. type: string
  9562. charge:
  9563. description: 手续费
  9564. type: number
  9565. checkerrorflag:
  9566. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9567. type: integer
  9568. currency:
  9569. description: 币种
  9570. type: string
  9571. cusbankid:
  9572. description: 托管银行编号
  9573. type: string
  9574. exchticket:
  9575. description: 银行服务流水号
  9576. type: string
  9577. executetype:
  9578. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9579. 7:外部子账户:入金 8:外部子账户:出金'
  9580. type: integer
  9581. extendinfo:
  9582. description: 扩展信息
  9583. type: string
  9584. extoperateid:
  9585. description: 交易服务流水号
  9586. type: integer
  9587. infamount:
  9588. description: 劣后金额(自有)
  9589. type: number
  9590. logincode:
  9591. description: 登录账号(账号)
  9592. type: string
  9593. netaddr:
  9594. description: 调转网址
  9595. type: string
  9596. priamount:
  9597. description: 优先金额(授信)
  9598. type: number
  9599. reauditid:
  9600. description: 复审人
  9601. type: integer
  9602. reauditremark:
  9603. description: 复审备注
  9604. type: string
  9605. reaudittime:
  9606. description: 复审时间
  9607. type: string
  9608. relatedorderid:
  9609. description: 三方关联ID
  9610. type: string
  9611. remark:
  9612. description: 备注
  9613. type: string
  9614. remark2:
  9615. description: 备注(失败原因)
  9616. type: string
  9617. soucreamount:
  9618. description: 原始出入金金额
  9619. type: number
  9620. soucrecurrencyid:
  9621. description: 原始出入金币种
  9622. type: integer
  9623. tradedate:
  9624. description: 交易日(yyyyMMdd)
  9625. type: string
  9626. updatetime:
  9627. description: 更新时间(申请时间)
  9628. type: string
  9629. userid:
  9630. description: 用户id
  9631. type: integer
  9632. userinfotype:
  9633. description: 账户类型 1-个人 2-企业
  9634. type: integer
  9635. type: object
  9636. models.QhjAgreementChangeLog:
  9637. properties:
  9638. agreementcontent:
  9639. description: 协议内容
  9640. type: string
  9641. agreementfrequency:
  9642. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9643. type: integer
  9644. agreementid:
  9645. description: 协议ID
  9646. type: integer
  9647. agreementname:
  9648. description: 协议名称
  9649. type: string
  9650. agreementno:
  9651. description: 协议编号
  9652. type: string
  9653. agreementtype:
  9654. description: 协议类型 - 1:注册 2:登录 3:交易
  9655. type: integer
  9656. agreementversion:
  9657. description: 协议版本号
  9658. type: integer
  9659. logid:
  9660. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9661. type: integer
  9662. reviserid:
  9663. description: 修改人
  9664. type: integer
  9665. revisersrc:
  9666. description: 修改来源 - 1:管理端 2:终端
  9667. type: integer
  9668. updatetime:
  9669. description: 更新时间
  9670. type: string
  9671. type: object
  9672. models.QhjAgreementConfig:
  9673. properties:
  9674. agreementcontent:
  9675. description: 协议内容
  9676. type: string
  9677. agreementfrequency:
  9678. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9679. type: integer
  9680. agreementid:
  9681. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9682. type: integer
  9683. agreementname:
  9684. description: 协议名称
  9685. type: string
  9686. agreementno:
  9687. description: 协议编号
  9688. type: string
  9689. agreementtype:
  9690. description: 协议类型 - 1:注册 2:登录 3:交易
  9691. type: integer
  9692. agreementversion:
  9693. description: 协议版本号(从1开始每次修改加1)
  9694. type: integer
  9695. createtime:
  9696. description: 创建时间
  9697. type: string
  9698. creatorid:
  9699. description: 创建人
  9700. type: integer
  9701. creatorsrc:
  9702. description: 创建来源 - 1:管理端 2:终端
  9703. type: integer
  9704. isvalid:
  9705. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9706. type: integer
  9707. reviserid:
  9708. description: 修改人
  9709. type: integer
  9710. revisersrc:
  9711. description: 修改来源 - 1:管理端 2:终端
  9712. type: integer
  9713. updatetime:
  9714. description: 更新时间
  9715. type: string
  9716. type: object
  9717. models.QhjAreaFinanceConfig:
  9718. properties:
  9719. additionalratio:
  9720. description: 追加款比例
  9721. type: number
  9722. advanceratio:
  9723. description: 预付款比例
  9724. type: number
  9725. alarmratio:
  9726. description: 告警比例
  9727. type: number
  9728. consumptiondirectreward:
  9729. description: 消费直推奖励值
  9730. type: number
  9731. consumptionenabled:
  9732. description: 是否启用消费奖励 - 0:不启用 1:启用
  9733. type: integer
  9734. consumptionindirectreward:
  9735. description: 消费间推奖励值
  9736. type: number
  9737. consumptionmodel:
  9738. description: 消费奖励方式 - 1:比率 2:固定
  9739. type: integer
  9740. customerservicenum:
  9741. description: 客服电话
  9742. type: string
  9743. dayinterestrate:
  9744. description: 日利率
  9745. type: number
  9746. disableconsumptiontips:
  9747. description: 关闭消费奖励提示
  9748. type: string
  9749. modifierid:
  9750. description: 修改人ID
  9751. type: integer
  9752. modifysrc:
  9753. description: 审核来源 - 1:管理端 2:终端
  9754. type: integer
  9755. modifytime:
  9756. description: 修改时间
  9757. type: string
  9758. promotionvalue:
  9759. description: 推广奖励值(固定)
  9760. type: number
  9761. scoreconfigvalue1:
  9762. description: 提货积分配置1
  9763. type: integer
  9764. scoreconfigvalue2:
  9765. description: 提货积分配置2
  9766. type: integer
  9767. userid:
  9768. description: 机构用户ID其他做市关系,都设置为 1
  9769. type: integer
  9770. username:
  9771. description: 用户名称
  9772. type: string
  9773. type: object
  9774. models.QhjBankAccountSign:
  9775. properties:
  9776. accountcode:
  9777. description: 资金账号
  9778. type: string
  9779. accountname:
  9780. description: 资金账号对应的账号名(UserName)
  9781. type: string
  9782. accountname2:
  9783. description: 资金账号对应的账号名(UserName) - 密文
  9784. type: string
  9785. accounttype:
  9786. description: 账户类型(UserType)
  9787. type: integer
  9788. applicationtime:
  9789. description: 最后一次更新的时间
  9790. type: string
  9791. applyexchticket:
  9792. description: 申请流水
  9793. type: string
  9794. auditid:
  9795. description: 审核人
  9796. type: integer
  9797. audittime:
  9798. description: 审核时间
  9799. type: string
  9800. bankaccountname:
  9801. description: 签约银行卡账号名
  9802. type: string
  9803. bankaccountname2:
  9804. description: 签约银行卡账号名 - 密文
  9805. type: string
  9806. bankaccountno:
  9807. description: 银行卡号
  9808. type: string
  9809. bankaccountno2:
  9810. description: 银行卡号 - 密文
  9811. type: string
  9812. bankaccounttype:
  9813. description: 银行账户类型 - 1-对私; 2-对公
  9814. type: integer
  9815. bankcardtype:
  9816. description: 银行卡类型
  9817. type: integer
  9818. bankchildaccount:
  9819. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9820. type: string
  9821. bankcity:
  9822. description: 开户行城市
  9823. type: string
  9824. bankid:
  9825. description: 签约银行ID
  9826. type: string
  9827. bankname:
  9828. description: 签约银行名称
  9829. type: string
  9830. bankprovince:
  9831. description: 开户行省份
  9832. type: string
  9833. branchbankid:
  9834. description: 签约银行支行号
  9835. type: string
  9836. branchbankname:
  9837. description: 签约银行支行名称
  9838. type: string
  9839. cardno:
  9840. description: 证件号码
  9841. type: string
  9842. cardno2:
  9843. description: 证件号码 - 密文
  9844. type: string
  9845. cardtype:
  9846. description: 证件类型
  9847. type: string
  9848. currency:
  9849. description: 币种
  9850. type: string
  9851. cusbankid:
  9852. description: 托管银行编号
  9853. type: string
  9854. direct:
  9855. description: 方向(可以判断那方先发起的签约)
  9856. type: integer
  9857. exchticket:
  9858. description: 最后一次签约成功的流水号
  9859. type: string
  9860. extendinfo:
  9861. description: 扩展信息(JSON字符串)
  9862. type: string
  9863. mobilephone:
  9864. description: 手机号
  9865. type: string
  9866. mobilephone2:
  9867. description: 手机号 - 密文
  9868. type: string
  9869. netaddr:
  9870. description: 调转网址
  9871. type: string
  9872. relateduserid:
  9873. description: 关联使用者userid
  9874. type: integer
  9875. signstatus:
  9876. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9877. 10:审核拒绝 11:换签待审核
  9878. type: integer
  9879. updatetime:
  9880. description: 更新时间(签解约更新时间)
  9881. type: string
  9882. type: object
  9883. models.QhjBankInfo:
  9884. properties:
  9885. bankid:
  9886. description: 银行ID
  9887. type: string
  9888. bankname:
  9889. description: 银行名称
  9890. type: string
  9891. clearbankno:
  9892. description: 清算系统银行编号
  9893. type: string
  9894. orderindex:
  9895. description: 排序顺序
  9896. type: integer
  9897. status:
  9898. description: 状态 - 0:正常 1:注销
  9899. type: integer
  9900. type: object
  9901. models.QhjBrokerApply:
  9902. properties:
  9903. applicantid:
  9904. description: 申请人
  9905. type: integer
  9906. applysrc:
  9907. description: 申请来源 - 1:管理端 2:终端
  9908. type: integer
  9909. applystatus:
  9910. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9911. type: integer
  9912. applytime:
  9913. description: 申请时间
  9914. type: string
  9915. auditorid:
  9916. description: 审核人
  9917. type: integer
  9918. auditremark:
  9919. description: 审核备注
  9920. type: string
  9921. auditsrc:
  9922. description: 审核来源 - 1:管理端 2:终端
  9923. type: integer
  9924. audittime:
  9925. description: 审核时间
  9926. type: string
  9927. audittradedate:
  9928. description: 审核交易日(yyyyMMdd)
  9929. type: string
  9930. brokerapplyid:
  9931. description: 申请ID(SEQ_BROKERAPPLY)
  9932. type: integer
  9933. cardbackphotourl:
  9934. description: 证件背面图片地址
  9935. type: string
  9936. cardfrontphotourl:
  9937. description: 证件正面图片地址
  9938. type: string
  9939. cardnum:
  9940. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9941. type: string
  9942. customername:
  9943. description: 姓名
  9944. type: string
  9945. logincode:
  9946. description: 登录代码
  9947. type: string
  9948. mobile:
  9949. description: 手机号码
  9950. type: string
  9951. parentuserid:
  9952. description: 所属机构id
  9953. type: integer
  9954. parentusername:
  9955. description: 所属机构名称
  9956. type: string
  9957. refereeuserid:
  9958. description: 推荐人id(经纪人)
  9959. type: integer
  9960. refernum:
  9961. description: 推荐码
  9962. type: string
  9963. remark:
  9964. description: 备注
  9965. type: string
  9966. subarealevelpath:
  9967. description: 层级路径
  9968. type: string
  9969. tradedate:
  9970. description: 交易日(yyyyMMdd)
  9971. type: string
  9972. userid:
  9973. description: 申请人用户ID
  9974. type: integer
  9975. userinfotype:
  9976. description: 用户类型 1-个人 2-企业
  9977. type: integer
  9978. username:
  9979. description: 用户名称
  9980. type: string
  9981. type: object
  9982. models.QhjBrokerApplyEx:
  9983. properties:
  9984. applylist:
  9985. description: 经纪人申请记录(只返回最新一条)
  9986. items:
  9987. $ref: '#/definitions/models.QhjBrokerApply'
  9988. type: array
  9989. canrecommend:
  9990. description: 是否经纪人 0-不是 1-是
  9991. type: integer
  9992. refernum:
  9993. description: 推荐码
  9994. type: string
  9995. userid:
  9996. description: 用户id
  9997. type: integer
  9998. userinfotype:
  9999. description: 用户类型 1-个人 2-企业
  10000. type: integer
  10001. type: object
  10002. models.QhjBrokerRewardLog:
  10003. properties:
  10004. accountid:
  10005. description: 资金账号ID
  10006. type: integer
  10007. createtime:
  10008. description: 创建时间(时间)
  10009. type: string
  10010. handlestatus:
  10011. description: 处理状态
  10012. type: integer
  10013. logid:
  10014. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10015. type: string
  10016. marketid:
  10017. description: 市场ID
  10018. type: integer
  10019. mmaccountid:
  10020. description: 做市商资金账号ID
  10021. type: string
  10022. mmuserid:
  10023. description: 做市商用户ID
  10024. type: string
  10025. rewardamount:
  10026. description: 奖励金额
  10027. type: number
  10028. rewardmodel:
  10029. description: 消费奖励方式 - 1:比率 2:固定
  10030. type: integer
  10031. rewardtype:
  10032. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10033. type: integer
  10034. rewardvalue:
  10035. description: 配置奖励值
  10036. type: number
  10037. srcamount:
  10038. description: 成交金额 [消费奖励] (金额)
  10039. type: number
  10040. srcgoodsid:
  10041. description: 来源商品ID [消费奖励]
  10042. type: string
  10043. srctime:
  10044. description: 来源时间 (成交时间) [消费奖励]
  10045. type: string
  10046. srctradeid:
  10047. description: 来源成交单ID [消费奖励] - 排除提货成交
  10048. type: string
  10049. srcuserid:
  10050. description: 来源用户ID(推广账户)
  10051. type: string
  10052. srcusername:
  10053. description: 推广账户名称
  10054. type: string
  10055. tradedate:
  10056. description: 交易日(yyyyMMdd)
  10057. type: string
  10058. userid:
  10059. description: 经纪人用户ID
  10060. type: integer
  10061. type: object
  10062. models.QhjContract:
  10063. properties:
  10064. contractconfirmtime:
  10065. description: 合同确认时间(时间)
  10066. type: string
  10067. currisklevel:
  10068. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10069. type: integer
  10070. decimalplace:
  10071. description: 商品报价小数位
  10072. type: integer
  10073. enumdicname:
  10074. description: 单位名称
  10075. type: string
  10076. goodscode:
  10077. description: 商品代码
  10078. type: string
  10079. goodsid:
  10080. description: 商品ID [5:融资单]
  10081. type: integer
  10082. goodsname:
  10083. description: 商品名称
  10084. type: string
  10085. goodunitid:
  10086. description: 商品单位id
  10087. type: integer
  10088. initmargin:
  10089. description: 初始保证金(首付款)
  10090. type: number
  10091. lenderamount:
  10092. description: 贷款金额(总额|订单总额)
  10093. type: number
  10094. marginratio:
  10095. description: 保证金比率(首付比例)
  10096. type: number
  10097. payamount:
  10098. description: 已付(已付货款)
  10099. type: number
  10100. reckonrecovermargin:
  10101. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10102. type: number
  10103. recoveredmargin:
  10104. description: 已追缴保证金
  10105. type: number
  10106. remainamount:
  10107. description: 合同剩余金额(融资额)
  10108. type: number
  10109. scfcontractid:
  10110. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10111. type: string
  10112. scfcontractstatus:
  10113. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10114. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10115. type: integer
  10116. scfcontracttype:
  10117. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10118. type: integer
  10119. totalinterest:
  10120. description: 已计总利息(利息)
  10121. type: number
  10122. tradeprice:
  10123. description: 成交价格(成本价格)
  10124. type: number
  10125. userid:
  10126. description: 用户ID
  10127. type: integer
  10128. username:
  10129. description: 用户名称
  10130. type: string
  10131. wrqty:
  10132. description: 仓单数量(数量)
  10133. type: number
  10134. type: object
  10135. models.QhjContractLog:
  10136. properties:
  10137. amount:
  10138. description: 支付金额
  10139. type: number
  10140. amounttype:
  10141. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10142. type: integer
  10143. logid:
  10144. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10145. type: string
  10146. remainamount:
  10147. description: 剩余货款
  10148. type: number
  10149. scfcontractid:
  10150. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10151. type: integer
  10152. updatetime:
  10153. description: 更新时间
  10154. type: string
  10155. type: object
  10156. models.QhjCusBankSignBankEx:
  10157. properties:
  10158. banklst:
  10159. description: 银行列表
  10160. items:
  10161. $ref: '#/definitions/models.QhjBankInfo'
  10162. type: array
  10163. canallot:
  10164. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10165. type: integer
  10166. canallotquery:
  10167. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10168. type: integer
  10169. canbindcard:
  10170. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10171. type: integer
  10172. caninamount:
  10173. description: 是否可入金 - 0:不可 1:可以
  10174. type: integer
  10175. caninamount2:
  10176. description: 是否可入金(网银端) - 0:不可 1:可以
  10177. type: integer
  10178. canmodifybankcard:
  10179. description: 是否可修改银行卡号 - 0:不可 1:可以
  10180. type: integer
  10181. canmodifyphone:
  10182. description: 是否可修改手机号 - 0:不可 1:可以
  10183. type: integer
  10184. canmodifysigninfo:
  10185. description: 是否可修改签约信息 - 0:不可 1:可以
  10186. type: integer
  10187. canoutamount:
  10188. description: 是否可出金 - 0:不可 1:可以
  10189. type: integer
  10190. canoutamount2:
  10191. description: 是否可出金(网银端) - 0:不可 1:可以
  10192. type: integer
  10193. canrelease:
  10194. description: 是否可解约 - 0:不可 1:可以
  10195. type: integer
  10196. canrelease2:
  10197. description: 是否可解约(网银端) - 0:不可 1:可以
  10198. type: integer
  10199. cansign:
  10200. description: 是否可签约 - 0:不可 1:可以
  10201. type: integer
  10202. cansign2:
  10203. description: 是否可签约(网银端) - 0:不可 1:可以
  10204. type: integer
  10205. currency:
  10206. description: 币种
  10207. type: string
  10208. cusbankid:
  10209. description: 托管银行编号(对应清算中心TRAN_NO)
  10210. type: string
  10211. cusbankname:
  10212. description: 银行业务名称
  10213. type: string
  10214. cusbankshortname:
  10215. description: 银行业务简称
  10216. type: string
  10217. exchbankid:
  10218. description: 交易所开户银行ID
  10219. type: string
  10220. exchpaybankaccname:
  10221. description: 交易所支出结算账户户名
  10222. type: string
  10223. exchpaybankaccno:
  10224. description: 交易所支出结算账户
  10225. type: string
  10226. isneedcheck:
  10227. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10228. type: integer
  10229. isneedclear:
  10230. description: 是否需要清算 - 0:不需要 1:需要
  10231. type: integer
  10232. lastcheckstatus:
  10233. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10234. type: integer
  10235. lastchecktime:
  10236. description: 最后对账时间
  10237. type: string
  10238. lastclearstatus:
  10239. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10240. type: integer
  10241. lastcleartime:
  10242. description: 最后清算时间
  10243. type: string
  10244. lastsignintime:
  10245. description: 最后签到时间
  10246. type: string
  10247. lastsignouttime:
  10248. description: 最后签退时间
  10249. type: string
  10250. riskinfo:
  10251. description: 签约风险提示书
  10252. type: string
  10253. signstatus:
  10254. description: 当前签到/签退状态 - 1:签到 2:签退
  10255. type: integer
  10256. tradedate:
  10257. description: 交易日(yyyyMMdd)
  10258. type: string
  10259. updatetime:
  10260. description: 当前签到/签退更新时间
  10261. type: string
  10262. type: object
  10263. models.QhjCustomer:
  10264. properties:
  10265. address:
  10266. description: 通讯地址
  10267. type: string
  10268. attachment1:
  10269. description: 附件1
  10270. type: string
  10271. audittime:
  10272. description: 审核时间
  10273. type: string
  10274. cardbackphotourl:
  10275. description: 证件反面图片地址
  10276. type: string
  10277. cardfrontphotourl:
  10278. description: 证件正面图片地址
  10279. type: string
  10280. cardnum:
  10281. description: 证件号码
  10282. type: string
  10283. cardtype:
  10284. description: 证件类型
  10285. type: integer
  10286. cardtypename:
  10287. description: 证件类型名称
  10288. type: string
  10289. cityid:
  10290. description: 市
  10291. type: integer
  10292. cityname:
  10293. description: 城市名称
  10294. type: string
  10295. contactname:
  10296. description: 联系人
  10297. type: string
  10298. countryid:
  10299. description: 国家
  10300. type: integer
  10301. countryname:
  10302. description: 国家名称
  10303. type: string
  10304. createtime:
  10305. description: 创建时间
  10306. type: string
  10307. customername:
  10308. description: 客户名称
  10309. type: string
  10310. districtid:
  10311. description: 区域
  10312. type: integer
  10313. districtname:
  10314. description: 地区名称
  10315. type: string
  10316. email:
  10317. description: 邮件
  10318. type: string
  10319. legalpersonname:
  10320. description: 法人姓名(企业)
  10321. type: string
  10322. logincode:
  10323. description: 登录账号(代码)
  10324. type: string
  10325. memberuserid:
  10326. description: 所属机构ID(所属会员)
  10327. type: integer
  10328. memberusername:
  10329. description: 所属会员名称
  10330. type: string
  10331. mobile:
  10332. description: 手机号码
  10333. type: string
  10334. modifytime:
  10335. description: 修改时间
  10336. type: string
  10337. nickname:
  10338. description: 昵称
  10339. type: string
  10340. parentuserid:
  10341. description: 上级机构(所属机构)
  10342. type: integer
  10343. parentusername:
  10344. description: 所属机构名称
  10345. type: string
  10346. provinceid:
  10347. description: 省
  10348. type: integer
  10349. provincename:
  10350. description: 省名称
  10351. type: string
  10352. proxystatementurl:
  10353. description: 授权委托书
  10354. type: string
  10355. remark:
  10356. description: 备注
  10357. type: string
  10358. status:
  10359. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10360. type: integer
  10361. statusdesc:
  10362. description: 账户状态中文描述
  10363. type: string
  10364. taxpayernum:
  10365. description: 纳税人识别号
  10366. type: string
  10367. telphone:
  10368. description: 联系电话
  10369. type: string
  10370. userid:
  10371. description: 用户ID
  10372. type: integer
  10373. userinfotype:
  10374. description: 客户类型 1-个人 2-企业
  10375. type: integer
  10376. username:
  10377. description: 用户名称
  10378. type: string
  10379. type: object
  10380. models.QhjCustomerSignLog:
  10381. properties:
  10382. agreementcontent:
  10383. description: 协议内容
  10384. type: string
  10385. agreementid:
  10386. description: 协议ID
  10387. type: integer
  10388. agreementname:
  10389. description: 协议名称
  10390. type: string
  10391. agreementno:
  10392. description: 协议编号
  10393. type: string
  10394. agreementtype:
  10395. description: 协议类型 - 1:注册 2:登录 3:交易
  10396. type: integer
  10397. agreementversion:
  10398. description: 协议版本号
  10399. type: integer
  10400. createtime:
  10401. description: 创建时间
  10402. type: string
  10403. goodscode:
  10404. description: 商品代码
  10405. type: string
  10406. goodsid:
  10407. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10408. type: integer
  10409. goodsname:
  10410. description: 商品名称
  10411. type: string
  10412. logid:
  10413. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10414. type: integer
  10415. nodetype:
  10416. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10417. type: integer
  10418. signadressurl:
  10419. description: 签约文件地址
  10420. type: string
  10421. signtimestamp:
  10422. description: 签约状态时间戳
  10423. type: string
  10424. userid:
  10425. description: 客户ID
  10426. type: integer
  10427. username:
  10428. description: 客户名称
  10429. type: string
  10430. type: object
  10431. models.QhjCustomerSignStatus:
  10432. properties:
  10433. createtime:
  10434. description: 创建时间
  10435. type: string
  10436. goodscode:
  10437. description: 商品代码
  10438. type: string
  10439. goodsid:
  10440. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10441. type: integer
  10442. goodsname:
  10443. description: 商品名称
  10444. type: string
  10445. nodetype:
  10446. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10447. type: integer
  10448. signtimestamp:
  10449. description: 签约状态时间戳
  10450. type: string
  10451. tradedate:
  10452. description: 创建交易日(yyyyMMdd)
  10453. type: string
  10454. updatetime:
  10455. description: 更新时间
  10456. type: string
  10457. userid:
  10458. description: 客户ID
  10459. type: integer
  10460. username:
  10461. description: 客户名称
  10462. type: string
  10463. type: object
  10464. models.QhjMgrAccountOutInApply:
  10465. properties:
  10466. accountcode:
  10467. description: 资金账号
  10468. type: string
  10469. accountname:
  10470. description: 用户名称(名称)
  10471. type: string
  10472. accountpwd:
  10473. description: 资金密码
  10474. type: string
  10475. accountticket:
  10476. description: 最新账户服务流水号
  10477. type: string
  10478. amount:
  10479. description: 金额
  10480. type: number
  10481. applyremark:
  10482. description: 申请备注
  10483. type: string
  10484. applystatus:
  10485. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10486. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10487. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10488. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10489. type: integer
  10490. auditid:
  10491. description: 审核人
  10492. type: integer
  10493. audittime:
  10494. description: 审核时间
  10495. type: string
  10496. bank_apply_ticket:
  10497. description: 银行申请流水
  10498. type: string
  10499. bankaccountname:
  10500. description: 银行账户名
  10501. type: string
  10502. bankaccountno:
  10503. description: 银行卡号
  10504. type: string
  10505. bankid:
  10506. description: 银行编号
  10507. type: string
  10508. bankname:
  10509. description: 银行名称
  10510. type: string
  10511. bankticket:
  10512. description: 银行流水
  10513. type: string
  10514. branchbankid:
  10515. description: 银行支行号
  10516. type: string
  10517. branchbankname:
  10518. description: 银行支行名称
  10519. type: string
  10520. capamountout:
  10521. description: 出金(劣后本金) - 外部子账户
  10522. type: number
  10523. certificatephotourl:
  10524. description: 凭证地址
  10525. type: string
  10526. charge:
  10527. description: 手续费
  10528. type: number
  10529. checkerrorflag:
  10530. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10531. type: integer
  10532. currency:
  10533. description: 币种
  10534. type: string
  10535. cusbankid:
  10536. description: 托管银行编号
  10537. type: string
  10538. exchticket:
  10539. description: 银行服务流水号
  10540. type: string
  10541. executetype:
  10542. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10543. 7:外部子账户:入金 8:外部子账户:出金'
  10544. type: integer
  10545. extendinfo:
  10546. description: 扩展信息
  10547. type: string
  10548. extoperateid:
  10549. description: 交易服务流水号
  10550. type: integer
  10551. infamount:
  10552. description: 劣后金额(自有)
  10553. type: number
  10554. logincode:
  10555. description: 登录账号(账号)
  10556. type: string
  10557. netaddr:
  10558. description: 调转网址
  10559. type: string
  10560. priamount:
  10561. description: 优先金额(授信)
  10562. type: number
  10563. reauditid:
  10564. description: 复审人
  10565. type: integer
  10566. reauditremark:
  10567. description: 复审备注
  10568. type: string
  10569. reaudittime:
  10570. description: 复审时间
  10571. type: string
  10572. relatedorderid:
  10573. description: 三方关联ID
  10574. type: string
  10575. remark:
  10576. description: 备注
  10577. type: string
  10578. remark2:
  10579. description: 备注(失败原因)
  10580. type: string
  10581. soucreamount:
  10582. description: 原始出入金金额
  10583. type: number
  10584. soucrecurrencyid:
  10585. description: 原始出入金币种
  10586. type: integer
  10587. tradedate:
  10588. description: 交易日(yyyyMMdd)
  10589. type: string
  10590. updatetime:
  10591. description: 更新时间(申请时间)
  10592. type: string
  10593. userid:
  10594. description: 用户id
  10595. type: integer
  10596. userinfotype:
  10597. description: 账户类型 1-个人 2-企业
  10598. type: integer
  10599. type: object
  10600. models.QhjMgrBrokerApply:
  10601. properties:
  10602. applicantid:
  10603. description: 申请人
  10604. type: integer
  10605. applysrc:
  10606. description: 申请来源 - 1:管理端 2:终端
  10607. type: integer
  10608. applystatus:
  10609. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10610. type: integer
  10611. applytime:
  10612. description: 申请时间
  10613. type: string
  10614. auditorid:
  10615. description: 审核人
  10616. type: integer
  10617. auditremark:
  10618. description: 审核备注
  10619. type: string
  10620. auditsrc:
  10621. description: 审核来源 - 1:管理端 2:终端
  10622. type: integer
  10623. audittime:
  10624. description: 审核时间
  10625. type: string
  10626. audittradedate:
  10627. description: 审核交易日(yyyyMMdd)
  10628. type: string
  10629. brokerapplyid:
  10630. description: 申请ID(SEQ_BROKERAPPLY)
  10631. type: integer
  10632. cardbackphotourl:
  10633. description: 证件背面图片地址
  10634. type: string
  10635. cardfrontphotourl:
  10636. description: 证件正面图片地址
  10637. type: string
  10638. cardnum:
  10639. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10640. type: string
  10641. customername:
  10642. description: 姓名
  10643. type: string
  10644. filterstatus:
  10645. description: 筛选条件
  10646. type: string
  10647. logincode:
  10648. description: 登录代码
  10649. type: string
  10650. mobile:
  10651. description: 手机号码
  10652. type: string
  10653. parentuserid:
  10654. description: 所属机构id
  10655. type: integer
  10656. parentusername:
  10657. description: 所属机构名称
  10658. type: string
  10659. refereeuserid:
  10660. description: 推荐人id(经纪人)
  10661. type: integer
  10662. refernum:
  10663. description: 推荐码
  10664. type: string
  10665. remark:
  10666. description: 备注
  10667. type: string
  10668. subarealevelpath:
  10669. description: 层级路径
  10670. type: string
  10671. tradedate:
  10672. description: 交易日(yyyyMMdd)
  10673. type: string
  10674. userid:
  10675. description: 申请人用户ID
  10676. type: integer
  10677. userinfotype:
  10678. description: 用户类型 1-个人 2-企业
  10679. type: integer
  10680. username:
  10681. description: 用户名称
  10682. type: string
  10683. type: object
  10684. models.QhjMgrBrokerRewardReport:
  10685. properties:
  10686. createtime:
  10687. description: 创建时间(注册时间)
  10688. type: string
  10689. cycletime:
  10690. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10691. type: string
  10692. cycletype:
  10693. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10694. type: integer
  10695. directtotalnum:
  10696. description: 直推总人数【期末】
  10697. type: integer
  10698. indirecttotalnum:
  10699. description: 间推总人数【期末】
  10700. type: integer
  10701. mobile:
  10702. description: 电话号码
  10703. type: string
  10704. refereeuserid:
  10705. description: 推荐人id(经纪人id)
  10706. type: integer
  10707. refereeusername:
  10708. description: 推荐人名称(经纪人) 上级经纪人名称
  10709. type: string
  10710. refernum:
  10711. description: 推荐码
  10712. type: string
  10713. subarealevelpath:
  10714. description: 用户层级路径
  10715. type: string
  10716. todayrewardamount:
  10717. description: 奖励总金额【汇总】
  10718. type: number
  10719. updatetime:
  10720. description: 更新时间
  10721. type: string
  10722. userid:
  10723. description: 经纪人用户ID
  10724. type: integer
  10725. userinfotype:
  10726. description: 用户类型 1-个人 2-企业
  10727. type: integer
  10728. username:
  10729. description: 用户名称
  10730. type: string
  10731. type: object
  10732. models.QhjMgrContract:
  10733. properties:
  10734. contractconfirmtime:
  10735. description: 合同确认时间(时间)
  10736. type: string
  10737. currisklevel:
  10738. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10739. type: integer
  10740. decimalplace:
  10741. description: 商品报价小数位
  10742. type: integer
  10743. enumdicname:
  10744. description: 单位名称
  10745. type: string
  10746. goodscode:
  10747. description: 商品代码
  10748. type: string
  10749. goodsid:
  10750. description: 商品ID [5:融资单]
  10751. type: integer
  10752. goodsname:
  10753. description: 商品名称
  10754. type: string
  10755. goodunitid:
  10756. description: 商品单位id
  10757. type: integer
  10758. initmargin:
  10759. description: 初始保证金(首付款)
  10760. type: number
  10761. lenderamount:
  10762. description: 贷款金额(总额|订单总额)
  10763. type: number
  10764. logincode:
  10765. description: 账号(登录代码)
  10766. type: string
  10767. marginratio:
  10768. description: 保证金比率(首付比例)
  10769. type: number
  10770. mobile:
  10771. description: 电话号码(用户资料里的电话)
  10772. type: string
  10773. payamount:
  10774. description: 已付(已付货款)
  10775. type: number
  10776. reckonrecovermargin:
  10777. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10778. type: number
  10779. recoveredmargin:
  10780. description: 已追缴保证金
  10781. type: number
  10782. remainamount:
  10783. description: 合同剩余金额(融资额)
  10784. type: number
  10785. scfcontractid:
  10786. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10787. type: string
  10788. scfcontractstatus:
  10789. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10790. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10791. type: integer
  10792. scfcontracttype:
  10793. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10794. type: integer
  10795. totalinterest:
  10796. description: 已计总利息(利息)
  10797. type: number
  10798. tradedate:
  10799. description: 交易日
  10800. type: string
  10801. tradeprice:
  10802. description: 成交价格(成本价格)
  10803. type: number
  10804. userid:
  10805. description: 用户ID
  10806. type: integer
  10807. userinfotype:
  10808. description: 用户类型 1-个人 2-企业
  10809. type: integer
  10810. username:
  10811. description: 用户名称
  10812. type: string
  10813. wrqty:
  10814. description: 仓单数量(数量)
  10815. type: number
  10816. type: object
  10817. models.QhjMgrCustomer:
  10818. properties:
  10819. address:
  10820. description: 通讯地址
  10821. type: string
  10822. attachment1:
  10823. description: 附件1
  10824. type: string
  10825. audittime:
  10826. description: 审核时间
  10827. type: string
  10828. birthday:
  10829. description: 生日
  10830. type: string
  10831. brokerid:
  10832. description: 所属客户经理id
  10833. type: integer
  10834. brokername:
  10835. description: 所属客户经理名称
  10836. type: string
  10837. cardbackphotourl:
  10838. description: 证件反面图片地址
  10839. type: string
  10840. cardfrontphotourl:
  10841. description: 证件正面图片地址
  10842. type: string
  10843. cardnum:
  10844. description: 证件号码
  10845. type: string
  10846. cardtype:
  10847. description: 证件类型
  10848. type: integer
  10849. cardtypename:
  10850. description: 证件类型名称
  10851. type: string
  10852. cityid:
  10853. description: 市
  10854. type: integer
  10855. cityname:
  10856. description: 城市名称
  10857. type: string
  10858. contactname:
  10859. description: 联系人
  10860. type: string
  10861. countryid:
  10862. description: 国家
  10863. type: integer
  10864. countryname:
  10865. description: 国家名称
  10866. type: string
  10867. createtime:
  10868. description: 创建时间
  10869. type: string
  10870. customername:
  10871. description: 客户名称
  10872. type: string
  10873. districtid:
  10874. description: 区域
  10875. type: integer
  10876. districtname:
  10877. description: 地区名称
  10878. type: string
  10879. email:
  10880. description: 邮件
  10881. type: string
  10882. legalpersonname:
  10883. description: 法人姓名(企业)
  10884. type: string
  10885. logincode:
  10886. description: 登录账号(代码)
  10887. type: string
  10888. memberuserid:
  10889. description: 所属机构ID(所属会员)
  10890. type: integer
  10891. memberusername:
  10892. description: 所属会员名称
  10893. type: string
  10894. mobile:
  10895. description: 手机号码
  10896. type: string
  10897. modifytime:
  10898. description: 修改时间
  10899. type: string
  10900. nickname:
  10901. description: 昵称
  10902. type: string
  10903. parentuserid:
  10904. description: 上级机构(所属机构)
  10905. type: integer
  10906. parentusername:
  10907. description: 所属机构名称
  10908. type: string
  10909. provinceid:
  10910. description: 省
  10911. type: integer
  10912. provincename:
  10913. description: 省名称
  10914. type: string
  10915. proxystatementurl:
  10916. description: 授权委托书
  10917. type: string
  10918. querytype:
  10919. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10920. type: integer
  10921. remark:
  10922. description: 备注
  10923. type: string
  10924. sex:
  10925. description: 性别 0-女 1-男
  10926. type: integer
  10927. status:
  10928. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10929. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10930. type: integer
  10931. statusdesc:
  10932. description: 账户状态中文描述
  10933. type: string
  10934. taxpayernum:
  10935. description: 纳税人识别号
  10936. type: string
  10937. telphone:
  10938. description: 联系电话
  10939. type: string
  10940. userid:
  10941. description: 用户ID
  10942. type: integer
  10943. userinfotype:
  10944. description: 客户类型 1-个人 2-企业
  10945. type: integer
  10946. username:
  10947. description: 用户名称
  10948. type: string
  10949. type: object
  10950. models.QhjMgrPickGoods:
  10951. properties:
  10952. enumdicname:
  10953. description: 单位名称(提货商品)
  10954. type: string
  10955. goodsid:
  10956. description: 商品id
  10957. type: integer
  10958. imageaddress:
  10959. description: 图片
  10960. type: string
  10961. modifierid:
  10962. description: 修改人
  10963. type: integer
  10964. modifiername:
  10965. description: 修改人名称
  10966. type: string
  10967. modifysrc:
  10968. description: 修改来源 - 1:管理端 2:终端
  10969. type: integer
  10970. pickupgoodsagreeunit:
  10971. description: 合约乘数
  10972. type: number
  10973. pickupgoodsdesc:
  10974. description: 描述
  10975. type: string
  10976. pickupgoodsid:
  10977. description: 提货商品ID
  10978. type: string
  10979. pickupgoodsname:
  10980. description: 提货商品名称
  10981. type: string
  10982. pickupgoodsstatus:
  10983. description: 状态 - 1:正常 2:停用 3:注销
  10984. type: integer
  10985. pickupgoodsunitid:
  10986. description: 单位ID
  10987. type: integer
  10988. pickupratio:
  10989. description: 提货系数
  10990. type: number
  10991. preparedays:
  10992. description: 备货期(天)
  10993. type: integer
  10994. remark:
  10995. description: 备注
  10996. type: string
  10997. updatetime:
  10998. description: 更新时间
  10999. type: string
  11000. type: object
  11001. models.QhjMgrPositionRsp:
  11002. properties:
  11003. accountid:
  11004. description: 账号Id
  11005. type: integer
  11006. accountname:
  11007. description: 用户名称
  11008. type: string
  11009. agreeunit:
  11010. description: 合约乘数
  11011. type: number
  11012. averageprice:
  11013. description: 均价
  11014. type: number
  11015. avialqty:
  11016. description: 可用数量
  11017. type: number
  11018. decimalplace:
  11019. description: 报价小数位
  11020. type: integer
  11021. enumdicname:
  11022. description: 单位名称(商品)
  11023. type: string
  11024. frozenqty:
  11025. description: 冻结数量
  11026. type: number
  11027. goodscode:
  11028. description: 商品代码(内部)
  11029. type: string
  11030. goodsid:
  11031. description: 商品Id
  11032. type: integer
  11033. goodsname:
  11034. description: 商品名称
  11035. type: string
  11036. goodunitid:
  11037. description: 报价单位ID
  11038. type: integer
  11039. holderamount:
  11040. description: 金额
  11041. type: number
  11042. holderqty:
  11043. description: 持有数量
  11044. type: number
  11045. holdertype:
  11046. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11047. type: integer
  11048. logincode:
  11049. description: 登录代码(账户)
  11050. type: string
  11051. marketid:
  11052. description: 市场id
  11053. type: integer
  11054. qtydecimalplace:
  11055. description: 成交量小数位
  11056. type: integer
  11057. trademode:
  11058. description: 交易模式
  11059. type: integer
  11060. userid:
  11061. description: 用户id
  11062. type: integer
  11063. userinfotype:
  11064. description: 账户类型 1-个人 2-企业
  11065. type: integer
  11066. type: object
  11067. models.QhjMgrSubArea:
  11068. properties:
  11069. accountname:
  11070. description: 账户名称(机构名称)
  11071. type: string
  11072. memberuserid:
  11073. description: 所属会员ID
  11074. type: integer
  11075. parenttopuser:
  11076. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11077. type: string
  11078. parentuserid:
  11079. description: 所属机构ID
  11080. type: integer
  11081. rootuserid:
  11082. description: 根用户ID
  11083. type: string
  11084. subaccountlevel:
  11085. description: 子账户层数
  11086. type: integer
  11087. subarealevelpath:
  11088. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11089. type: string
  11090. userid:
  11091. description: 用户ID
  11092. type: integer
  11093. usertype:
  11094. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11095. type: integer
  11096. type: object
  11097. models.QhjMgrTradeDetailRsp:
  11098. properties:
  11099. accountid:
  11100. description: 资金账号
  11101. type: integer
  11102. accountname:
  11103. description: 用户名称
  11104. type: string
  11105. agreeunit:
  11106. description: 合约乘数
  11107. type: number
  11108. buyorsell:
  11109. description: 成交类型(方向) 0:买 1:卖
  11110. type: integer
  11111. decimalplace:
  11112. description: 报价小数位
  11113. type: integer
  11114. enumdicname:
  11115. description: 单位名称(商品)
  11116. type: string
  11117. goodscode:
  11118. description: 商品代码(内部)
  11119. type: string
  11120. goodsid:
  11121. description: 商品id
  11122. type: integer
  11123. goodsname:
  11124. description: 商品名称
  11125. type: string
  11126. goodunitid:
  11127. description: 报价单位ID
  11128. type: integer
  11129. logincode:
  11130. description: 登录代码(账户)
  11131. type: string
  11132. marketid:
  11133. description: 市场id
  11134. type: integer
  11135. orderid:
  11136. description: 关联委托单号
  11137. type: string
  11138. qtydecimalplace:
  11139. description: 成交量小数位
  11140. type: integer
  11141. tradeamount:
  11142. description: 金额
  11143. type: number
  11144. tradedate:
  11145. description: 交易日
  11146. type: string
  11147. tradeid:
  11148. description: 成交单号
  11149. type: string
  11150. trademode:
  11151. description: 交易模式
  11152. type: integer
  11153. tradeprice:
  11154. description: 价格
  11155. type: number
  11156. tradeqty:
  11157. description: 数量
  11158. type: number
  11159. tradetime:
  11160. description: 成交时间
  11161. type: string
  11162. userid:
  11163. description: 用户id
  11164. type: integer
  11165. userinfotype:
  11166. description: 账户类型 1-个人 2-企业
  11167. type: integer
  11168. type: object
  11169. models.QhjMgrTradeOrderDetailRsp:
  11170. properties:
  11171. accountid:
  11172. description: 资金账号
  11173. type: integer
  11174. accountname:
  11175. description: 用户名称
  11176. type: string
  11177. agreeunit:
  11178. description: 合约乘数
  11179. type: number
  11180. amount:
  11181. description: 金额
  11182. type: number
  11183. decimalplace:
  11184. description: 报价小数位
  11185. type: integer
  11186. enumdicname:
  11187. description: 单位名称(商品)
  11188. type: string
  11189. goodscode:
  11190. description: 商品代码(内部)
  11191. type: string
  11192. goodsid:
  11193. description: 商品id
  11194. type: integer
  11195. goodsname:
  11196. description: 商品名称
  11197. type: string
  11198. goodunitid:
  11199. description: 报价单位ID
  11200. type: integer
  11201. logincode:
  11202. description: 登录代码(账户)
  11203. type: string
  11204. marketid:
  11205. description: 市场id
  11206. type: integer
  11207. orderid:
  11208. description: 关联委托单号
  11209. type: string
  11210. orderprice:
  11211. description: 价格
  11212. type: number
  11213. orderqty:
  11214. description: 数量
  11215. type: number
  11216. orderstatus:
  11217. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11218. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11219. 16:成交失败违约(荷兰式竞拍专用)
  11220. type: integer
  11221. ordertime:
  11222. description: 委托时间
  11223. type: string
  11224. qtydecimalplace:
  11225. description: 成交量小数位
  11226. type: integer
  11227. tradedate:
  11228. description: 交易日
  11229. type: string
  11230. trademode:
  11231. description: 交易模式
  11232. type: integer
  11233. userid:
  11234. description: 用户id
  11235. type: integer
  11236. userinfotype:
  11237. description: 账户类型 1-个人 2-企业
  11238. type: integer
  11239. type: object
  11240. models.QhjMgrTradePayOrder:
  11241. properties:
  11242. accountname:
  11243. description: 用户名称
  11244. type: string
  11245. advanceratio:
  11246. description: 首付比率
  11247. type: number
  11248. agreeunit:
  11249. description: 合约乘数
  11250. type: number
  11251. buyaccountid:
  11252. description: 买方账号ID[报价币种]
  11253. type: integer
  11254. buyorderid:
  11255. description: 买方委托单号(关联单号)
  11256. type: string
  11257. createtime:
  11258. description: 创建时间
  11259. type: string
  11260. decimalplace:
  11261. description: 报价小数位
  11262. type: integer
  11263. enumdicname:
  11264. description: 单位名称(商品)
  11265. type: string
  11266. goodscode:
  11267. description: 商品代码(内部)
  11268. type: string
  11269. goodsid:
  11270. description: 商品ID
  11271. type: integer
  11272. goodsname:
  11273. description: 商品名称
  11274. type: string
  11275. goodunitid:
  11276. description: 报价单位ID
  11277. type: integer
  11278. logincode:
  11279. description: 登录代码(账户)
  11280. type: string
  11281. marketid:
  11282. description: 市场id
  11283. type: integer
  11284. offamount:
  11285. description: 优惠金额
  11286. type: number
  11287. operatetype:
  11288. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11289. type: integer
  11290. payamount:
  11291. description: 支付金额(金额)
  11292. type: number
  11293. payflag:
  11294. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11295. type: integer
  11296. paylimitedtime:
  11297. description: 支付期限
  11298. type: string
  11299. paytime:
  11300. description: 付款时间
  11301. type: string
  11302. qtydecimalplace:
  11303. description: 成交量小数位
  11304. type: integer
  11305. sellaccountid:
  11306. description: 卖方账号ID[报价币种]
  11307. type: integer
  11308. sellorderid:
  11309. description: 卖方委托单号
  11310. type: string
  11311. tradeamount:
  11312. description: 成交金额(优惠后金额)
  11313. type: number
  11314. tradecharge:
  11315. description: 成交手续费(买方)
  11316. type: number
  11317. tradedate:
  11318. description: 交易日(yyyyMMdd)
  11319. type: string
  11320. tradeid:
  11321. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11322. type: string
  11323. trademode:
  11324. description: 交易模式
  11325. type: integer
  11326. tradeprice:
  11327. description: 成交价格(价格)
  11328. type: number
  11329. tradeqty:
  11330. description: 成交数量(数量)
  11331. type: number
  11332. tradetime:
  11333. description: 成交时间
  11334. type: string
  11335. userid:
  11336. description: 用户id
  11337. type: integer
  11338. userinfotype:
  11339. description: 账户类型 1-个人 2-企业
  11340. type: integer
  11341. type: object
  11342. models.QhjMyTeamEx:
  11343. properties:
  11344. accountname:
  11345. description: 用户名称
  11346. type: string
  11347. accountstatus:
  11348. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11349. type: integer
  11350. createtime:
  11351. description: 创建时间
  11352. type: string
  11353. mobile:
  11354. description: 手机号码
  11355. type: string
  11356. refereeuserid:
  11357. description: 推荐人id
  11358. type: integer
  11359. refernum:
  11360. description: 推荐码
  11361. type: string
  11362. subList:
  11363. items:
  11364. $ref: '#/definitions/models.QhjMyTeamEx'
  11365. type: array
  11366. userid:
  11367. description: 用户id
  11368. type: integer
  11369. userinfotype:
  11370. description: 用户类型 1-个人 2-企业
  11371. type: integer
  11372. type: object
  11373. models.QhjNodeAgreementConfig:
  11374. properties:
  11375. agreementcontent:
  11376. description: 协议内容
  11377. type: string
  11378. agreementid:
  11379. description: 协议ID
  11380. type: integer
  11381. agreementname:
  11382. description: 协议名称
  11383. type: string
  11384. agreementno:
  11385. description: 协议编号
  11386. type: string
  11387. agreementtype:
  11388. description: 协议类型 - 1:注册 2:登录 3:交易
  11389. type: integer
  11390. agreementversion:
  11391. description: 协议版本号
  11392. type: integer
  11393. configid:
  11394. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11395. type: integer
  11396. createtime:
  11397. description: 创建时间
  11398. type: string
  11399. goodsid:
  11400. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11401. type: integer
  11402. nodetype:
  11403. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11404. type: integer
  11405. type: object
  11406. models.QhjParentAreaList:
  11407. properties:
  11408. accountname:
  11409. description: 账户名称(机构名称)
  11410. type: string
  11411. userid:
  11412. description: 用户ID
  11413. type: integer
  11414. usertype:
  11415. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11416. type: integer
  11417. type: object
  11418. models.QhjPayOrder:
  11419. properties:
  11420. advanceratio:
  11421. description: 首付比率
  11422. type: number
  11423. buyaccountid:
  11424. description: 买方账号ID[报价币种]
  11425. type: integer
  11426. buyorderid:
  11427. description: 买方委托单号
  11428. type: string
  11429. createtime:
  11430. description: 创建时间
  11431. type: string
  11432. decimalplace:
  11433. description: 商品报价小数位
  11434. type: integer
  11435. enumdicname:
  11436. description: 单位名称
  11437. type: string
  11438. goodscode:
  11439. description: 商品代码
  11440. type: string
  11441. goodsid:
  11442. description: 商品ID
  11443. type: integer
  11444. goodsname:
  11445. description: 商品名称
  11446. type: string
  11447. goodunitid:
  11448. description: 商品单位id
  11449. type: integer
  11450. marketid:
  11451. description: 市场ID
  11452. type: integer
  11453. offamount:
  11454. description: 优惠金额
  11455. type: number
  11456. operatetype:
  11457. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11458. type: integer
  11459. payamount:
  11460. description: 支付金额
  11461. type: number
  11462. payflag:
  11463. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11464. type: integer
  11465. paylimitedtime:
  11466. description: 支付期限
  11467. type: string
  11468. paytime:
  11469. description: 付款时间
  11470. type: string
  11471. qtydecimalplace:
  11472. description: 成交量小数位
  11473. type: integer
  11474. sellaccountid:
  11475. description: 卖方账号ID[报价币种]
  11476. type: integer
  11477. sellorderid:
  11478. description: 卖方委托单号
  11479. type: string
  11480. tradeamount:
  11481. description: 成交金额(优惠后金额)
  11482. type: number
  11483. tradecharge:
  11484. description: 成交手续费(买方)
  11485. type: number
  11486. tradedate:
  11487. description: 交易日(yyyyMMdd)
  11488. type: string
  11489. tradeid:
  11490. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11491. type: string
  11492. tradeprice:
  11493. description: 成交价格
  11494. type: number
  11495. tradeqty:
  11496. description: 成交数量
  11497. type: number
  11498. type: object
  11499. models.QhjPickArea:
  11500. properties:
  11501. address:
  11502. description: 详细地址
  11503. type: string
  11504. cityid:
  11505. description: 市
  11506. type: integer
  11507. cityname:
  11508. description: 城市名称
  11509. type: string
  11510. countryid:
  11511. description: 国家
  11512. type: integer
  11513. countryname:
  11514. description: 国家名称
  11515. type: string
  11516. districtid:
  11517. description: 地区
  11518. type: integer
  11519. districtname:
  11520. description: 地区名称
  11521. type: string
  11522. fromuserid:
  11523. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11524. type: integer
  11525. fromusername:
  11526. description: 所属机构名称
  11527. type: string
  11528. provinceid:
  11529. description: 省
  11530. type: integer
  11531. provincename:
  11532. description: 省名称
  11533. type: string
  11534. suborgtype:
  11535. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11536. type: integer
  11537. userid:
  11538. description: 机构用户ID 其他做市关系,都设置为 1
  11539. type: integer
  11540. username:
  11541. description: 机构用户名称(门店门称)
  11542. type: string
  11543. type: object
  11544. models.QhjPickGoods:
  11545. properties:
  11546. enumdicname:
  11547. description: 单位名称(提货商品)
  11548. type: string
  11549. goodsid:
  11550. description: 商品id
  11551. type: integer
  11552. imageaddress:
  11553. description: 图片
  11554. type: string
  11555. modifierid:
  11556. description: 修改人
  11557. type: integer
  11558. modifiername:
  11559. description: 修改人名称
  11560. type: string
  11561. modifysrc:
  11562. description: 修改来源 - 1:管理端 2:终端
  11563. type: integer
  11564. pickupgoodsagreeunit:
  11565. description: 合约乘数
  11566. type: number
  11567. pickupgoodsdesc:
  11568. description: 描述
  11569. type: string
  11570. pickupgoodsid:
  11571. description: 提货商品ID
  11572. type: string
  11573. pickupgoodsname:
  11574. description: 提货商品名称
  11575. type: string
  11576. pickupgoodsstatus:
  11577. description: 状态 - 1:正常 2:停用 3:注销
  11578. type: integer
  11579. pickupgoodsunitid:
  11580. description: 单位ID
  11581. type: integer
  11582. pickupratio:
  11583. description: 提货系数
  11584. type: number
  11585. preparedays:
  11586. description: 备货期(天)
  11587. type: integer
  11588. remark:
  11589. description: 备注
  11590. type: string
  11591. updatetime:
  11592. description: 更新时间
  11593. type: string
  11594. type: object
  11595. models.QhjRSTriggerLog:
  11596. properties:
  11597. accountid:
  11598. description: 用户资金账户
  11599. type: integer
  11600. accountname:
  11601. description: 账号名称(ACCOUNTID对应的名称)
  11602. type: string
  11603. currencyid:
  11604. description: 币种id
  11605. type: integer
  11606. currencyname:
  11607. description: 币种名称
  11608. type: string
  11609. decimalplace:
  11610. description: 商品报价小数位
  11611. type: integer
  11612. enumdicname:
  11613. description: 单位名称
  11614. type: string
  11615. goodscode:
  11616. description: 定投商品代码
  11617. type: string
  11618. goodsid:
  11619. description: 定投商品ID
  11620. type: integer
  11621. goodsname:
  11622. description: 定投商品名称
  11623. type: string
  11624. goodunitid:
  11625. description: 定投商品单位id
  11626. type: integer
  11627. logid:
  11628. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11629. type: string
  11630. logincode:
  11631. description: 账号(登录代码)
  11632. type: string
  11633. qtydecimalplace:
  11634. description: 成交量小数位
  11635. type: integer
  11636. regularlycycle:
  11637. description: 定投频率 - 1:每周 2:每月
  11638. type: integer
  11639. regularlycyclevalue:
  11640. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11641. type: string
  11642. regularlymode:
  11643. description: 定投方式 - 1:按数量 2:按金额
  11644. type: integer
  11645. regularlymodevalue:
  11646. description: 定投方式值 - 数量或金额
  11647. type: number
  11648. regularlystrategyid:
  11649. description: 定投策略ID
  11650. type: integer
  11651. retcode:
  11652. description: 错误码
  11653. type: string
  11654. tradeid:
  11655. description: 成交单ID
  11656. type: string
  11657. triggeramount:
  11658. description: 触发金额
  11659. type: number
  11660. triggerqty:
  11661. description: 触发数量
  11662. type: number
  11663. triggerstatus:
  11664. description: 触发状态 - 1:成功 2:失败
  11665. type: integer
  11666. triggertime:
  11667. description: 触发时间
  11668. type: string
  11669. triggertradedate:
  11670. description: 触发交易日
  11671. type: string
  11672. userid:
  11673. description: 所属用户ID
  11674. type: integer
  11675. userinfotype:
  11676. description: 用户类型 1-个人 2-企业
  11677. type: integer
  11678. username:
  11679. description: 用户名称(userid对应的名称)
  11680. type: string
  11681. type: object
  11682. models.QhjRStrategy:
  11683. properties:
  11684. accountid:
  11685. description: 用户资金账户
  11686. type: integer
  11687. accountname:
  11688. description: 账号名称(ACCOUNTID对应的名称)
  11689. type: string
  11690. currencyid:
  11691. description: 币种id
  11692. type: integer
  11693. currencyname:
  11694. description: 币种名称
  11695. type: string
  11696. decimalplace:
  11697. description: 商品报价小数位
  11698. type: integer
  11699. enumdicname:
  11700. description: 单位名称
  11701. type: string
  11702. goodscode:
  11703. description: 定投商品代码
  11704. type: string
  11705. goodsid:
  11706. description: 定投商品ID
  11707. type: integer
  11708. goodsname:
  11709. description: 定投商品名称
  11710. type: string
  11711. goodunitid:
  11712. description: 定投商品单位id
  11713. type: integer
  11714. lasteffecttradedate:
  11715. description: 最新生效交易日
  11716. type: string
  11717. laststoptradedate:
  11718. description: 最新暂停交易日
  11719. type: string
  11720. lasttriggertradedate:
  11721. description: 最新触发交易日
  11722. type: string
  11723. logincode:
  11724. description: 账号(登录代码)
  11725. type: string
  11726. nexttriggeramount:
  11727. description: 下次触发金额
  11728. type: number
  11729. nexttriggerdate:
  11730. description: 下次触发日期
  11731. type: string
  11732. nexttriggerqty:
  11733. description: 下次触发数量 [按小数位放大值]
  11734. type: number
  11735. qtydecimalplace:
  11736. description: 成交量小数位
  11737. type: integer
  11738. regularlycycle:
  11739. description: 定投频率 - 1:每周 2:每月
  11740. type: integer
  11741. regularlycyclevalue:
  11742. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11743. type: string
  11744. regularlymode:
  11745. description: 定投方式 - 1:按数量 2:按金额
  11746. type: integer
  11747. regularlymodevalue:
  11748. description: 定投方式值 - 数量或金额
  11749. type: number
  11750. regularlystrategyid:
  11751. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11752. type: integer
  11753. regularlystrategystatus:
  11754. description: 策略状态 - 1:正常 2:暂停 3:终止
  11755. type: integer
  11756. remark:
  11757. description: 备注
  11758. type: string
  11759. triggersuccesstimes:
  11760. description: 累计定投成功次数
  11761. type: string
  11762. triggertotalamount:
  11763. description: 累计定投金额(成功)
  11764. type: number
  11765. triggertotalqty:
  11766. description: 累计定投数量(成功) [按小数位放大值]
  11767. type: number
  11768. triggertotaltimes:
  11769. description: 累计定投总次数
  11770. type: string
  11771. updatesrc:
  11772. description: 更新来源 - 1:管理端 2:终端
  11773. type: integer
  11774. updatetime:
  11775. description: 更新时间
  11776. type: string
  11777. updatorid:
  11778. description: 更新人
  11779. type: string
  11780. userid:
  11781. description: 所属用户ID
  11782. type: integer
  11783. userinfotype:
  11784. description: 用户类型 1-个人 2-企业
  11785. type: integer
  11786. username:
  11787. description: 用户名称(userid对应的名称)
  11788. type: string
  11789. type: object
  11790. models.QhjReckonPriceLog:
  11791. properties:
  11792. decimalplace:
  11793. description: 商品报价小数位
  11794. type: integer
  11795. goodscode:
  11796. description: 商品代码
  11797. type: string
  11798. goodsid:
  11799. description: 商品ID
  11800. type: integer
  11801. goodsname:
  11802. description: 商品名称
  11803. type: string
  11804. lastreckonprice:
  11805. description: 上日结算价
  11806. type: number
  11807. nextdnlimitprice:
  11808. description: 下个交易日跌停价
  11809. type: number
  11810. nexttrade:
  11811. description: 下个交易日
  11812. type: string
  11813. nextuplimitprice:
  11814. description: 下个交易日涨停价
  11815. type: number
  11816. reckonprice:
  11817. description: 今日结算价(定投价)
  11818. type: number
  11819. reckontime:
  11820. description: 结算时间
  11821. type: string
  11822. totalholderqty:
  11823. description: 总持仓数
  11824. type: integer
  11825. totalstock:
  11826. description: 总库存
  11827. type: integer
  11828. tradedate:
  11829. description: 交易日
  11830. type: string
  11831. updowncount:
  11832. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11833. type: integer
  11834. updownflag:
  11835. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11836. type: integer
  11837. updownrate:
  11838. description: 今日涨跌幅
  11839. type: number
  11840. updownrate_2d:
  11841. description: 连续两日涨跌幅
  11842. type: number
  11843. updownrate_3d:
  11844. description: 连续三日涨跌幅
  11845. type: number
  11846. type: object
  11847. models.QhjScoreLog:
  11848. properties:
  11849. accountid:
  11850. description: 账户ID
  11851. type: integer
  11852. createtime:
  11853. description: 创建时间(时间)
  11854. type: string
  11855. goodsid:
  11856. description: 商品ID
  11857. type: integer
  11858. hasuploaded:
  11859. description: 是否已同步(千海金) 0:未同步 1;已同步
  11860. type: integer
  11861. logid:
  11862. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11863. type: string
  11864. marketid:
  11865. description: 市场ID
  11866. type: integer
  11867. relatedamount:
  11868. description: 关联金额
  11869. type: number
  11870. relatedorderid:
  11871. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11872. type: string
  11873. scoreconfigvalue1:
  11874. description: 积分配置1
  11875. type: integer
  11876. scoreconfigvalue2:
  11877. description: 积分配置1
  11878. type: integer
  11879. scoretype:
  11880. description: 积分类型 - 1:提货积分
  11881. type: integer
  11882. scorevalue:
  11883. description: 积分
  11884. type: number
  11885. tradedate:
  11886. description: 交易日(yyyyMMdd)
  11887. type: string
  11888. uploadedtime:
  11889. description: 同步时间
  11890. type: string
  11891. userid:
  11892. description: 用户ID
  11893. type: integer
  11894. type: object
  11895. models.QhjSiteColumnDetail:
  11896. properties:
  11897. author:
  11898. description: 作者
  11899. type: string
  11900. brief:
  11901. description: 简介
  11902. type: string
  11903. columnid:
  11904. description: 所属栏目
  11905. type: integer
  11906. context:
  11907. description: 内容
  11908. type: string
  11909. coverimage:
  11910. description: 封面图片
  11911. type: string
  11912. creaedate:
  11913. description: 创建时间
  11914. type: string
  11915. creatorid:
  11916. description: 创建人
  11917. type: integer
  11918. hits:
  11919. description: 点击数
  11920. type: integer
  11921. id:
  11922. description: ID(SEQ_SITE_COLUMNDETAIL)
  11923. type: integer
  11924. isshow:
  11925. description: 是否展示 - 0:不展示 1:展示
  11926. type: integer
  11927. istop:
  11928. description: 是否置顶 - 0:不置 1:置顶
  11929. type: integer
  11930. modifierid:
  11931. description: 操作人
  11932. type: integer
  11933. publishdate:
  11934. description: 发布日期
  11935. type: string
  11936. status:
  11937. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11938. type: integer
  11939. title:
  11940. description: 标题
  11941. type: string
  11942. updatedate:
  11943. description: 修改时间
  11944. type: string
  11945. userid:
  11946. description: 用户ID(默认为0, 核心为为机构用户ID)
  11947. type: integer
  11948. username:
  11949. description: 用户名称
  11950. type: string
  11951. type: object
  11952. models.QhjTeamOrder:
  11953. properties:
  11954. accountid:
  11955. description: 账户ID[报价币种]
  11956. type: integer
  11957. accountname:
  11958. description: 账户名称
  11959. type: string
  11960. agreeunit:
  11961. description: 合约乘数
  11962. type: number
  11963. buyorsell:
  11964. description: 方向 - 0:买 1:卖
  11965. type: integer
  11966. decimalplace:
  11967. description: 报价小数位
  11968. type: integer
  11969. enumdicname:
  11970. description: 单位名称
  11971. type: string
  11972. goodscode:
  11973. description: 商品代码(内部)
  11974. type: string
  11975. goodsid:
  11976. description: 商品ID
  11977. type: integer
  11978. goodsname:
  11979. description: 商品名称
  11980. type: string
  11981. goodunitid:
  11982. description: 报价单位ID
  11983. type: integer
  11984. marketid:
  11985. description: 市场ID
  11986. type: integer
  11987. marketname:
  11988. description: 市场名称
  11989. type: string
  11990. qtydecimalplace:
  11991. description: 成交量小数位
  11992. type: integer
  11993. refereeuserid:
  11994. description: 推荐人ID
  11995. type: integer
  11996. tradeamount:
  11997. description: 成交金额[账户币种,用于所有权]
  11998. type: number
  11999. tradedate:
  12000. description: 交易日(yyyyMMdd)
  12001. type: string
  12002. trademode:
  12003. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12004. 21:竞拍-大宗式 22:受托竞价
  12005. type: integer
  12006. tradeprice:
  12007. description: 成交价格
  12008. type: number
  12009. tradeqty:
  12010. description: 成交数量
  12011. type: number
  12012. tradetime:
  12013. description: 成交时间
  12014. type: string
  12015. userid:
  12016. description: 用户ID
  12017. type: integer
  12018. type: object
  12019. models.QhjTradeGoodsPickup:
  12020. properties:
  12021. accountid:
  12022. description: 账户ID
  12023. type: integer
  12024. address:
  12025. description: 提货人详细地址
  12026. type: string
  12027. amount:
  12028. description: 提货金额
  12029. type: number
  12030. artradedate:
  12031. description: 自动收货交易日(yyyyMMdd)
  12032. type: string
  12033. auditer:
  12034. description: 审核人
  12035. type: integer
  12036. auditsrc:
  12037. description: 更新来源 - 1:管理端 2:终端
  12038. type: integer
  12039. audittime:
  12040. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12041. type: string
  12042. audittradedate:
  12043. description: 审核交易日(yyyyMMdd)
  12044. type: string
  12045. cardnum:
  12046. description: 提货人证件号码
  12047. type: string
  12048. cardtypeid:
  12049. description: 提货人证件类型
  12050. type: integer
  12051. checkremark:
  12052. description: 审核备注
  12053. type: string
  12054. cityid:
  12055. description: 市
  12056. type: integer
  12057. cityname:
  12058. description: 城市名称
  12059. type: string
  12060. confirmtime:
  12061. description: 取货时间 或 收货时间
  12062. type: string
  12063. countryid:
  12064. description: 国家
  12065. type: integer
  12066. countryname:
  12067. description: 国家名称
  12068. type: string
  12069. decimalplace:
  12070. description: 商品报价小数位
  12071. type: integer
  12072. districtid:
  12073. description: 地区
  12074. type: integer
  12075. districtname:
  12076. description: 地区名称
  12077. type: string
  12078. enumdicname:
  12079. description: 单位名称(提货商品)
  12080. type: string
  12081. expresscompany:
  12082. description: 物流公司
  12083. type: string
  12084. expressnum:
  12085. description: 物流单号
  12086. type: string
  12087. goodsagreeunit:
  12088. description: 交易商品乘数
  12089. type: number
  12090. goodscode:
  12091. description: 商品代码
  12092. type: string
  12093. goodsid:
  12094. description: 商品ID
  12095. type: integer
  12096. goodsname:
  12097. description: 商品名称
  12098. type: string
  12099. goodsqty:
  12100. description: 交易商品手数(69模式按成交量小数位放大取整)
  12101. type: number
  12102. handlestatus:
  12103. description: 处理状态
  12104. type: integer
  12105. logincode:
  12106. description: 账号(登录代码, 有可能为空)
  12107. type: string
  12108. marketid:
  12109. description: 市场ID
  12110. type: integer
  12111. phonenum:
  12112. description: 提货人联系方式
  12113. type: string
  12114. pickupgoodsagreeunit:
  12115. description: 提货商品合约乘数
  12116. type: number
  12117. pickupgoodsid:
  12118. description: 提货商品ID
  12119. type: string
  12120. pickupgoodsname:
  12121. description: 提货商品名称
  12122. type: string
  12123. pickupgoodsqty:
  12124. description: 提货商品手数(数量)
  12125. type: number
  12126. pickupgoodsunitid:
  12127. description: 单位ID(提货商品)
  12128. type: integer
  12129. pickupratio:
  12130. description: 提货系数
  12131. type: number
  12132. preparedays:
  12133. description: 备货期(天)-提货单明细表
  12134. type: integer
  12135. provinceid:
  12136. description: 省
  12137. type: integer
  12138. provincename:
  12139. description: 省名称
  12140. type: string
  12141. qty:
  12142. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12143. type: number
  12144. qtydecimalplace:
  12145. description: 商品数量小数位
  12146. type: integer
  12147. recivername:
  12148. description: 提货人姓名
  12149. type: string
  12150. reqtime:
  12151. description: 提货申请时间
  12152. type: string
  12153. storeuserid:
  12154. description: 门店用户ID (千海金)
  12155. type: integer
  12156. storeusername:
  12157. description: 门店用户名称
  12158. type: string
  12159. takemode:
  12160. description: 提货方式 - 2:自提 3:配送(邮寄)
  12161. type: integer
  12162. takeorderid:
  12163. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12164. type: string
  12165. takeorderstatus:
  12166. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12167. 7:已拒绝 8:已撤销
  12168. type: integer
  12169. takeremark:
  12170. description: 提货备注
  12171. type: string
  12172. tradedate:
  12173. description: 交易日(yyyyMMdd)
  12174. type: string
  12175. updatetime:
  12176. description: 更新时间
  12177. type: string
  12178. userid:
  12179. description: 用户ID
  12180. type: integer
  12181. userinfotype:
  12182. description: 客户类型 1-个人 2-企业
  12183. type: integer
  12184. username:
  12185. description: 用户名称
  12186. type: string
  12187. type: object
  12188. models.QhjUserNodeCfgAndStatus:
  12189. properties:
  12190. agreementcontent:
  12191. description: 协议内容
  12192. type: string
  12193. agreementid:
  12194. description: 协议ID
  12195. type: integer
  12196. agreementname:
  12197. description: 协议名称
  12198. type: string
  12199. agreementno:
  12200. description: 协议编号
  12201. type: string
  12202. agreementtype:
  12203. description: 协议类型 - 1:注册 2:登录 3:交易
  12204. type: integer
  12205. agreementversion:
  12206. description: 协议版本号
  12207. type: integer
  12208. configid:
  12209. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12210. type: integer
  12211. createtime:
  12212. description: 创建时间
  12213. type: string
  12214. goodsid:
  12215. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12216. type: integer
  12217. nodetype:
  12218. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12219. type: integer
  12220. signtimestamp:
  12221. description: 签约状态时间戳(最近一次)
  12222. type: string
  12223. tradedate:
  12224. description: 签约交易日(yyyyMMdd)
  12225. type: string
  12226. userid:
  12227. description: 客户ID
  12228. type: integer
  12229. type: object
  12230. models.Qhjgoodsex:
  12231. properties:
  12232. canfinance:
  12233. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12234. type: integer
  12235. canregularlybuy:
  12236. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12237. type: integer
  12238. defaulttradeuserid:
  12239. description: 默认交易用户ID
  12240. type: integer
  12241. deliverygoodsid:
  12242. description: 现货品种ID
  12243. type: integer
  12244. goodsid:
  12245. description: 商品ID(自增ID SEQ_GOODS)
  12246. type: integer
  12247. minamount:
  12248. description: 最小购买金额
  12249. type: number
  12250. regularlybuyminamount:
  12251. description: 定投最小金额
  12252. type: number
  12253. regularlybuyminqty:
  12254. description: 定投最小数量
  12255. type: number
  12256. spotgoodsbrandid:
  12257. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12258. type: integer
  12259. visibilityforenterprise:
  12260. description: 企业客户是否可见 - 0:不可见 1:可见
  12261. type: integer
  12262. visibilityforpersonal:
  12263. description: 个人客户是否可见 - 0:不可见 1:可见
  12264. type: integer
  12265. wrstandardid:
  12266. description: 现货商品ID
  12267. type: integer
  12268. type: object
  12269. models.QueryErrorInfosRsp:
  12270. properties:
  12271. description:
  12272. description: 异常描述
  12273. type: string
  12274. errorcode:
  12275. description: 异常代码
  12276. type: string
  12277. errorid:
  12278. description: 异常ID
  12279. type: integer
  12280. modulecode:
  12281. description: 所属模块
  12282. type: string
  12283. operatecode:
  12284. description: 所属操作
  12285. type: string
  12286. rownumber:
  12287. description: 行号
  12288. type: string
  12289. required:
  12290. - errorid
  12291. type: object
  12292. models.QueryHedgeOrderDetailRsp:
  12293. properties:
  12294. accountid:
  12295. description: 账户ID
  12296. type: integer
  12297. buyorsell:
  12298. description: 买卖 - 0:买 1:卖
  12299. type: integer
  12300. cancellogincode:
  12301. description: 撤单人
  12302. type: string
  12303. channelbuildtype:
  12304. description: 开平标志 - 0:无 1:建仓 2:平仓
  12305. type: integer
  12306. channelinnerorderstatus:
  12307. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12308. 9:全部成交
  12309. type: integer
  12310. channeloperatetype:
  12311. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12312. type: integer
  12313. closetype:
  12314. description: 平仓方式 - 0:无 1:平今 2:平昨
  12315. type: integer
  12316. curexchangerate:
  12317. description: 当前汇率
  12318. type: number
  12319. exchangefullname:
  12320. description: 外部交易所全称
  12321. type: string
  12322. goodscode:
  12323. description: 商品代码(内部)
  12324. type: string
  12325. goodsid:
  12326. description: 商品ID
  12327. type: integer
  12328. goodsname:
  12329. description: 商品名称
  12330. type: string
  12331. marketid:
  12332. description: 市场ID
  12333. type: integer
  12334. openfreezemargin:
  12335. description: 冻结保证金(冻结交易金额)
  12336. type: number
  12337. orderid:
  12338. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12339. type: string
  12340. orderlogincode:
  12341. description: 委托人
  12342. type: string
  12343. orderprice:
  12344. description: 委托价格(账户)
  12345. type: number
  12346. orderqty:
  12347. description: 委托数量
  12348. type: integer
  12349. ordertime:
  12350. description: 委托时间
  12351. type: string
  12352. pricemode:
  12353. description: '取价方式 - 1:市价 2: 限价'
  12354. type: integer
  12355. tradedate:
  12356. description: 交易日(yyyyMMdd)
  12357. type: string
  12358. tradeqty:
  12359. description: 成交数量
  12360. type: integer
  12361. type: object
  12362. models.QueryHedgeTradeDetailRsp:
  12363. properties:
  12364. accountid:
  12365. description: 账号ID
  12366. type: integer
  12367. buyorsell:
  12368. description: 方向 - 0:买 1:卖
  12369. type: integer
  12370. channelbuildtype:
  12371. description: 委托单据类型 0:无 1:建仓 2:平仓
  12372. type: integer
  12373. closecharge:
  12374. description: 平仓手续费(账户)
  12375. type: number
  12376. closecharge2:
  12377. description: 平仓手续费(商品)
  12378. type: number
  12379. closepl:
  12380. description: 平仓盈亏(账户)
  12381. type: number
  12382. closepl2:
  12383. description: 平仓盈亏(商品)
  12384. type: number
  12385. closepl3:
  12386. description: 平仓盈亏(账户)(逐笔)
  12387. type: number
  12388. closepl4:
  12389. description: 平仓盈亏(商品)(逐笔)
  12390. type: number
  12391. closetype:
  12392. description: 平仓方式 - 0:无 1:平今 2:平昨
  12393. type: integer
  12394. curexchangerate:
  12395. description: 当前汇率
  12396. type: number
  12397. exchangefullname:
  12398. description: 外部交易所全称
  12399. type: string
  12400. goodscode:
  12401. description: 商品代码(内部)
  12402. type: string
  12403. goodsid:
  12404. description: 商品ID
  12405. type: integer
  12406. goodsname:
  12407. description: 商品名称
  12408. type: string
  12409. marketid:
  12410. description: 市场ID
  12411. type: integer
  12412. opencharge:
  12413. description: 建仓手续费(账户)
  12414. type: number
  12415. opencharge2:
  12416. description: 建仓手续费(商品)
  12417. type: number
  12418. orderid:
  12419. description: 委托单号
  12420. type: string
  12421. orderlogincode:
  12422. description: 委托人
  12423. type: string
  12424. tradeamount:
  12425. description: 成交金额(账户)
  12426. type: number
  12427. tradedate:
  12428. description: 交易日(yyyyMMdd)
  12429. type: string
  12430. tradeid:
  12431. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12432. type: string
  12433. tradeprice:
  12434. description: 成交价格
  12435. type: number
  12436. tradeqty:
  12437. description: 成交数量
  12438. type: integer
  12439. tradetime:
  12440. description: 成交时间
  12441. type: string
  12442. tradetype:
  12443. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12444. type: integer
  12445. type: object
  12446. models.QuotePrimaryMenu:
  12447. properties:
  12448. Index:
  12449. description: 序号
  12450. type: integer
  12451. Key:
  12452. description: 键名
  12453. type: string
  12454. Name:
  12455. description: 菜单名称
  12456. type: string
  12457. SubMenus:
  12458. description: 子菜单
  12459. items:
  12460. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12461. type: array
  12462. SubTitleType:
  12463. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12464. type: integer
  12465. TradeModes:
  12466. description: 包含市场交易类型
  12467. type: string
  12468. type: object
  12469. models.QuoteSecondaryMenu:
  12470. properties:
  12471. ExExchangeCode:
  12472. description: 外部交易所代码
  12473. type: string
  12474. ExExchangeID:
  12475. description: 外部交易所ID
  12476. type: integer
  12477. GoodsGroupIDs:
  12478. description: 商品组ID列表
  12479. items:
  12480. type: integer
  12481. type: array
  12482. Index:
  12483. description: 序号
  12484. type: integer
  12485. MarketID:
  12486. description: 市场ID
  12487. type: integer
  12488. MenuTitle:
  12489. description: 菜单标题(市场名称或外部交易所名称)
  12490. type: string
  12491. TradeMode:
  12492. description: 交易模式
  12493. type: integer
  12494. type: object
  12495. models.RoleMenu:
  12496. properties:
  12497. hasright:
  12498. description: 是否有权限 0-没有权限 1-有权限
  12499. type: integer
  12500. iconame:
  12501. description: 菜单图标
  12502. type: string
  12503. menutype:
  12504. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12505. type: integer
  12506. parentcode:
  12507. description: 上级资源代码
  12508. type: string
  12509. remark:
  12510. description: 菜单备注
  12511. type: string
  12512. resourcecode:
  12513. description: 菜单代码
  12514. type: string
  12515. resourcelevel:
  12516. description: 级别
  12517. type: integer
  12518. resourcename:
  12519. description: 菜单名称
  12520. type: string
  12521. roleid:
  12522. description: 角色id
  12523. type: integer
  12524. sort:
  12525. description: 排序
  12526. type: integer
  12527. subMenu:
  12528. description: 子级菜单(结构同上层一样, swag解析不出来)
  12529. items:
  12530. $ref: '#/definitions/models.RoleMenu'
  12531. type: array
  12532. url:
  12533. description: URL
  12534. type: string
  12535. userid:
  12536. description: 用户id
  12537. type: integer
  12538. type: object
  12539. models.SearchGoods:
  12540. properties:
  12541. goodscode:
  12542. description: 商品代码(内部)
  12543. type: string
  12544. goodsid:
  12545. description: 商品ID(自增ID SEQ_GOODS)
  12546. type: integer
  12547. goodsname:
  12548. description: 商品名称
  12549. type: string
  12550. marketid:
  12551. description: 所属市场ID
  12552. type: integer
  12553. marketname:
  12554. description: 市场名称
  12555. type: string
  12556. trademode:
  12557. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12558. 21:竞拍-大宗式 22:受托竞价
  12559. type: integer
  12560. required:
  12561. - goodscode
  12562. - goodsid
  12563. - goodsname
  12564. - marketid
  12565. - trademode
  12566. type: object
  12567. models.Systemparam:
  12568. properties:
  12569. loginid:
  12570. description: 更新用户账号,登录账号
  12571. type: string
  12572. modifyflag:
  12573. description: 修改标志0 不允许修改 1 允许修改
  12574. type: integer
  12575. paramcode:
  12576. description: 参数代码
  12577. type: string
  12578. paramname:
  12579. description: 参数名
  12580. type: string
  12581. paramtype:
  12582. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12583. type: integer
  12584. paramvalue:
  12585. description: 参数值
  12586. type: string
  12587. paramvalue2:
  12588. description: 参数值(CLOB)
  12589. type: string
  12590. regexpress:
  12591. description: 正则表达式
  12592. type: string
  12593. remark:
  12594. description: 备注
  12595. type: string
  12596. serverip:
  12597. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12598. type: string
  12599. showflag:
  12600. description: 是否显示0 不显示 1 显示
  12601. type: integer
  12602. updatetime:
  12603. description: 更新时间
  12604. type: string
  12605. userid:
  12606. description: 更新用户ID
  12607. type: integer
  12608. required:
  12609. - paramcode
  12610. type: object
  12611. models.Szdz3convertconfig:
  12612. properties:
  12613. canin:
  12614. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12615. type: integer
  12616. canout:
  12617. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12618. type: integer
  12619. converttype:
  12620. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12621. 6:交易转花生米(不设置)
  12622. type: integer
  12623. createtime:
  12624. description: 创建时间
  12625. type: string
  12626. creatorid:
  12627. description: 创建人
  12628. type: integer
  12629. daymaxvalue:
  12630. description: 当日最大转入限制
  12631. type: number
  12632. freezedays:
  12633. description: 冻结天数 [5:花生米转交易]
  12634. type: integer
  12635. innergoodsid:
  12636. description: 内部商品ID[交易]
  12637. type: integer
  12638. inratio:
  12639. description: 目标值
  12640. type: integer
  12641. modifierid:
  12642. description: 修改人
  12643. type: integer
  12644. modifytime:
  12645. description: 修改时间
  12646. type: string
  12647. outergoodscode:
  12648. description: 外部商品代码[JD\PD]
  12649. type: string
  12650. outratio:
  12651. description: 源值
  12652. type: integer
  12653. pddecimalplace:
  12654. description: PD小数位
  12655. type: integer
  12656. timemaxvalue:
  12657. description: 单次最大转入限制
  12658. type: number
  12659. timeminvalue:
  12660. description: 单次最小转入限制
  12661. type: number
  12662. required:
  12663. - converttype
  12664. - innergoodsid
  12665. - outergoodscode
  12666. type: object
  12667. models.Szdz3searchwhitelist:
  12668. properties:
  12669. createtime:
  12670. description: 创建时间
  12671. type: string
  12672. creatorid:
  12673. description: 创建人
  12674. type: integer
  12675. modifierid:
  12676. description: 修改人
  12677. type: integer
  12678. modifytime:
  12679. description: 修改时间
  12680. type: string
  12681. userid:
  12682. description: 用户ID
  12683. type: integer
  12684. required:
  12685. - userid
  12686. type: object
  12687. models.Taaccount:
  12688. properties:
  12689. accountflag:
  12690. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12691. type: integer
  12692. accountid:
  12693. description: 资金账户ID
  12694. type: integer
  12695. accountname:
  12696. description: 账户名称
  12697. type: string
  12698. balance:
  12699. description: 期初余额
  12700. type: number
  12701. capitalbalance:
  12702. description: 本金余额[外部子账户实际出入金余额]
  12703. type: number
  12704. changeflag:
  12705. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12706. type: integer
  12707. changetime:
  12708. description: 账户状态变更时间
  12709. type: string
  12710. closepl:
  12711. description: 今日平仓盈亏
  12712. type: number
  12713. creditdecrease:
  12714. description: 今日授信减少
  12715. type: number
  12716. creditincrease:
  12717. description: 今日授信增加
  12718. type: number
  12719. curamount:
  12720. description: 总市值(从持仓中统计)
  12721. type: number
  12722. currencyid:
  12723. description: 货币ID
  12724. type: integer
  12725. currentbalance:
  12726. description: 期末余额
  12727. type: number
  12728. freezecharge:
  12729. description: 手续费冻结
  12730. type: number
  12731. freezemargin:
  12732. description: 冻结保证金
  12733. type: number
  12734. fromaccountid:
  12735. description: 所属上级账户
  12736. type: integer
  12737. inamount:
  12738. description: 今日入金金额(包括三方入金)
  12739. type: number
  12740. ismain:
  12741. description: 是否母账号 0:不是母账户 1:是母账户
  12742. type: integer
  12743. ismarketaccount:
  12744. description: 是否机构接单账号 0:不是 1:是
  12745. type: integer
  12746. isreckonaccount:
  12747. description: 是否机构分润账号 0:不是 1:是
  12748. type: integer
  12749. mortgagecredit:
  12750. description: 授信金额
  12751. type: number
  12752. orifreezecharge:
  12753. description: 期初手续费冻结
  12754. type: number
  12755. orifreezemargin:
  12756. description: 期初冻结保证金
  12757. type: number
  12758. orimortgagecredit:
  12759. description: 期初授信金额
  12760. type: number
  12761. oriothercredit:
  12762. description: 期初其它授信金额
  12763. type: number
  12764. oriotherfreezemargin:
  12765. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12766. type: number
  12767. orioutamountfreeze:
  12768. description: 期初出金冻结
  12769. type: number
  12770. oriusedmargin:
  12771. description: 期初占用保证金
  12772. type: number
  12773. othercredit:
  12774. description: 其它授信金额
  12775. type: number
  12776. othercreditdecrease:
  12777. description: 今日其它授信减少
  12778. type: number
  12779. othercreditincrease:
  12780. description: 今日其它授信增加
  12781. type: number
  12782. otherfreezemargin:
  12783. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12784. type: number
  12785. otherincome:
  12786. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12787. type: number
  12788. otherpay:
  12789. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12790. type: number
  12791. outamount:
  12792. description: 今日出金金额(包括三方出金)
  12793. type: number
  12794. outamountfreeze:
  12795. description: 出金冻结
  12796. type: number
  12797. outthreshold:
  12798. description: 出金阈值
  12799. type: number
  12800. parentaccountid:
  12801. description: 所属根账号
  12802. type: integer
  12803. paycharge:
  12804. description: 今日手续费支出
  12805. type: number
  12806. relatedaccountstatus:
  12807. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12808. type: integer
  12809. relateduserid:
  12810. description: 关联用户
  12811. type: integer
  12812. remainamount:
  12813. description: 融资额(从融资合同中统计)
  12814. type: number
  12815. serivcegroup:
  12816. description: 服务分组
  12817. type: integer
  12818. signstatus:
  12819. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12820. type: integer
  12821. sublevelpath:
  12822. description: 账号层级路径(逗号分隔,首尾加逗号)
  12823. type: string
  12824. taaccounttype:
  12825. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12826. type: integer
  12827. thirdinamount:
  12828. description: 今日三方入金
  12829. type: number
  12830. thirdoutamount:
  12831. description: 今日三方出金
  12832. type: number
  12833. tradestatus:
  12834. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12835. type: integer
  12836. tradestatuschangetime:
  12837. description: 激活时间
  12838. type: string
  12839. transferamount:
  12840. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12841. type: number
  12842. usedmargin:
  12843. description: 占用保证金
  12844. type: number
  12845. userid:
  12846. description: 用户ID
  12847. type: integer
  12848. required:
  12849. - accountid
  12850. - userid
  12851. type: object
  12852. models.Tablecolumnconfig:
  12853. properties:
  12854. aligntype:
  12855. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12856. type: integer
  12857. autoid:
  12858. description: AutoID
  12859. type: integer
  12860. columnfield:
  12861. description: 列字段
  12862. type: string
  12863. columntitle:
  12864. description: 列Title
  12865. type: string
  12866. columnwidth:
  12867. description: 列宽
  12868. type: string
  12869. formatterstring:
  12870. description: 格式化字符
  12871. type: string
  12872. formattertype:
  12873. description: 格式化类型
  12874. type: string
  12875. groupname:
  12876. description: 表头分组名称
  12877. type: string
  12878. isshow:
  12879. description: 是否显示 - 0:不显示 1:显示
  12880. type: integer
  12881. needsummary:
  12882. description: 是否需要汇总 - 0:不需要 1:需要
  12883. type: integer
  12884. orderindex:
  12885. description: 顺序
  12886. type: integer
  12887. remark:
  12888. description: 备注
  12889. type: string
  12890. summarytype:
  12891. description: 汇总类型 - 1:加总 2:最后一个
  12892. type: integer
  12893. tablekey:
  12894. description: 列表Key
  12895. type: string
  12896. required:
  12897. - autoid
  12898. type: object
  12899. models.TjmdQuoteGoods:
  12900. properties:
  12901. buyqty:
  12902. description: 买量(暂不做, 无值, 保留字段)
  12903. type: number
  12904. goodscode:
  12905. description: 合约代码
  12906. type: string
  12907. goodsgroupid:
  12908. description: 商品组ID(自增ID)
  12909. type: integer
  12910. goodsgroupname:
  12911. description: 商品组名称
  12912. type: string
  12913. goodsid:
  12914. description: 合约id
  12915. type: integer
  12916. goodsname:
  12917. description: 合约名称
  12918. type: string
  12919. refgoodscode:
  12920. description: 标的合约代码
  12921. type: string
  12922. refgoodsid:
  12923. description: 标的合约id
  12924. type: integer
  12925. refgoodsname:
  12926. description: 标的合约名称
  12927. type: string
  12928. sellqty:
  12929. description: 卖量(暂不做, 无值, 保留字段)
  12930. type: number
  12931. type: object
  12932. models.TjmdTradeOrderDetail:
  12933. properties:
  12934. buyorsell:
  12935. description: 买卖方向 0-买 1-卖
  12936. type: integer
  12937. goodsid:
  12938. description: 商品id
  12939. type: integer
  12940. orderid:
  12941. description: 委托单号
  12942. type: string
  12943. orderprice:
  12944. description: 委托价格
  12945. type: number
  12946. orderqty:
  12947. description: 委托数量
  12948. type: integer
  12949. userid:
  12950. description: 用户id
  12951. type: integer
  12952. username:
  12953. description: 用户名称(已脱敏)
  12954. type: string
  12955. type: object
  12956. models.TjmdTransferApply:
  12957. properties:
  12958. applystatus:
  12959. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  12960. type: integer
  12961. applytime:
  12962. description: 申请时间(时间)
  12963. type: string
  12964. auditremark:
  12965. description: 审核备注(拒绝原因?)
  12966. type: string
  12967. buyorsell:
  12968. description: 买卖 - 0:买 1:卖
  12969. type: integer
  12970. goodscode:
  12971. description: 商品代码
  12972. type: string
  12973. goodsid:
  12974. description: 商品ID
  12975. type: integer
  12976. goodsname:
  12977. description: 商品名称
  12978. type: string
  12979. qty:
  12980. description: 转让数量(数量)
  12981. type: number
  12982. tradeid:
  12983. description: 成交单号(关联持仓)
  12984. type: string
  12985. transferamount:
  12986. description: 转让总金额(金额)
  12987. type: number
  12988. transferprice:
  12989. description: 转让价格(协议价格)
  12990. type: number
  12991. type: object
  12992. models.TradeHolderDetail:
  12993. properties:
  12994. accountid:
  12995. description: 账号ID
  12996. type: integer
  12997. agreeunit:
  12998. description: 合约乘数
  12999. type: number
  13000. buyorsell:
  13001. description: 方向 - 0:买 1:卖
  13002. type: integer
  13003. currencyid:
  13004. description: 商品币种id
  13005. type: integer
  13006. currencyname:
  13007. description: 币种名称
  13008. type: string
  13009. decimalplace:
  13010. description: 商品价格小数位
  13011. type: integer
  13012. enumdicname:
  13013. description: 商品单位名称
  13014. type: string
  13015. expirecycle:
  13016. description: 行权周期(天) - 1:滚动行权时填写
  13017. type: integer
  13018. expiredate:
  13019. description: 行权日(yyyyMMdd) - 到期日
  13020. type: string
  13021. expiretype:
  13022. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13023. type: integer
  13024. freezeqty:
  13025. description: 冻结数量
  13026. type: number
  13027. goodscode:
  13028. description: 商品代码
  13029. type: string
  13030. goodsid:
  13031. description: 商品ID
  13032. type: integer
  13033. goodsname:
  13034. description: 商品名称
  13035. type: string
  13036. goodunitid:
  13037. description: 商品单位id
  13038. type: integer
  13039. holderamount:
  13040. description: 持仓金额
  13041. type: number
  13042. holdercredit:
  13043. description: 持仓授信金额
  13044. type: number
  13045. holderdays:
  13046. description: 剩余冻结天数
  13047. type: integer
  13048. holderprice:
  13049. description: 持仓价格
  13050. type: number
  13051. holderqty:
  13052. description: 持仓数量
  13053. type: number
  13054. isconfirmexercise:
  13055. description: 是否确认行权- 0:否 1:是
  13056. type: integer
  13057. ispreexercise:
  13058. description: 是否预申报- 0:否 1:是 2:不可行权
  13059. type: integer
  13060. marketid:
  13061. description: 市场id
  13062. type: integer
  13063. marketname:
  13064. description: 市场名称
  13065. type: string
  13066. openprice:
  13067. description: 建仓价格
  13068. type: number
  13069. openqty:
  13070. description: 建仓数量
  13071. type: number
  13072. optiontype:
  13073. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13074. type: integer
  13075. preexerciseprice:
  13076. description: 预申报价格
  13077. type: number
  13078. premium:
  13079. description: 权利金
  13080. type: number
  13081. qtydecimalplace:
  13082. description: 商品成交量小数位
  13083. type: integer
  13084. releaseamount:
  13085. description: 释放持仓金额
  13086. type: number
  13087. releaseholdercredit:
  13088. description: 释放持仓授信金额
  13089. type: number
  13090. taname:
  13091. description: 资金账号名称
  13092. type: string
  13093. tradeamount:
  13094. description: 成交金额
  13095. type: number
  13096. tradedate:
  13097. description: 交易日(yyyyMMdd)
  13098. type: string
  13099. tradeid:
  13100. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13101. type: string
  13102. trademode:
  13103. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13104. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13105. type: integer
  13106. tradeproperty:
  13107. description: 交易属性
  13108. type: integer
  13109. tradetime:
  13110. description: 交易时间
  13111. type: string
  13112. userid:
  13113. description: 用户id
  13114. type: integer
  13115. username:
  13116. description: 用户名称
  13117. type: string
  13118. type: object
  13119. models.UserCollectConfig:
  13120. properties:
  13121. accountstatus:
  13122. description: 账户状态 - 1:正常 2:停用 3:注销
  13123. type: integer
  13124. collectaccountname:
  13125. description: 收款人账户名称
  13126. type: string
  13127. collectaccountno:
  13128. description: 收款人账户
  13129. type: string
  13130. collectbankname:
  13131. description: 收款人开户行
  13132. type: string
  13133. collectbranchbankname:
  13134. description: 收款人开户支行
  13135. type: string
  13136. collectconfigid:
  13137. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13138. type: string
  13139. remark:
  13140. description: 备注
  13141. type: string
  13142. userid:
  13143. description: 收款人用户ID
  13144. type: integer
  13145. type: object
  13146. models.UserReceiveInfo:
  13147. properties:
  13148. address:
  13149. description: 提货人详细地址
  13150. type: string
  13151. autoid:
  13152. description: AutoID
  13153. type: integer
  13154. cardnum:
  13155. description: 证件号码(加密存储)
  13156. type: string
  13157. cardtypeid:
  13158. description: 证件类型
  13159. type: integer
  13160. cityid:
  13161. description: 市
  13162. type: integer
  13163. cityname:
  13164. description: 城市名称
  13165. type: string
  13166. countryid:
  13167. description: 国家
  13168. type: integer
  13169. countryname:
  13170. description: 国家名称
  13171. type: string
  13172. districtid:
  13173. description: 地区
  13174. type: integer
  13175. districtname:
  13176. description: 地区名称
  13177. type: string
  13178. hasencrypt:
  13179. description: 数据是否已加密 - 0:未加密 1:已加密
  13180. type: integer
  13181. isdefault:
  13182. description: 是否默认地址 - 0:否 1:是
  13183. type: integer
  13184. phonenum:
  13185. description: 提货人联系方式(加密存储)
  13186. type: string
  13187. provinceid:
  13188. description: 省
  13189. type: integer
  13190. provincename:
  13191. description: 省名称
  13192. type: string
  13193. receivername:
  13194. description: 提货人姓名
  13195. type: string
  13196. takeremark:
  13197. description: 提货备注
  13198. type: string
  13199. userid:
  13200. description: 用户ID
  13201. type: integer
  13202. type: object
  13203. models.Useraccount:
  13204. properties:
  13205. accountname:
  13206. description: 账户名称(机构名称)
  13207. type: string
  13208. accountstatus:
  13209. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13210. type: integer
  13211. applysrc:
  13212. description: 申请来源 - 1:管理端 2:终端
  13213. type: integer
  13214. auditremark:
  13215. description: 审核备注
  13216. type: string
  13217. auditsrc:
  13218. description: 审核来源 - 1:管理端 2:终端
  13219. type: integer
  13220. audittime:
  13221. description: 审核时间
  13222. type: string
  13223. audituserid:
  13224. description: 审核人
  13225. type: integer
  13226. broker:
  13227. description: 所属经纪人ID
  13228. type: integer
  13229. canceltime:
  13230. description: 销户时间
  13231. type: string
  13232. canceluserid:
  13233. description: 销户人
  13234. type: integer
  13235. canrecommend:
  13236. description: 是否可推荐 - 0:不可 1;可
  13237. type: integer
  13238. createtime:
  13239. description: 创建时间
  13240. type: string
  13241. creatorid:
  13242. description: 创建人
  13243. type: integer
  13244. hasauth:
  13245. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13246. type: integer
  13247. isanonymous:
  13248. description: 是否匿名下单 - 0:否 1:是
  13249. type: integer
  13250. maxinvestornum:
  13251. description: 最大用户数(经纪会员下投资者个数)
  13252. type: integer
  13253. memberuserid:
  13254. description: 所属会员ID
  13255. type: integer
  13256. modifierid:
  13257. description: 修改人
  13258. type: integer
  13259. modifyremark:
  13260. description: 变更备注
  13261. type: string
  13262. modifystatus:
  13263. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13264. type: integer
  13265. modifytime:
  13266. description: 修改时间
  13267. type: string
  13268. parenttopuser:
  13269. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13270. type: string
  13271. parentuserid:
  13272. description: 所属机构ID
  13273. type: integer
  13274. reckonaccountid:
  13275. description: 默认结算资金账号ID(机构分润使用) 作废
  13276. type: integer
  13277. refercount:
  13278. description: 推荐总人数
  13279. type: integer
  13280. refereeuserid:
  13281. description: 推荐人ID
  13282. type: integer
  13283. refernum:
  13284. description: 推荐码
  13285. type: string
  13286. rootuserid:
  13287. description: 根用户ID
  13288. type: integer
  13289. subaccountlevel:
  13290. description: 子账户层数
  13291. type: integer
  13292. subarealevelpath:
  13293. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13294. type: string
  13295. userid:
  13296. description: 用户ID
  13297. type: integer
  13298. usertype:
  13299. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13300. type: integer
  13301. required:
  13302. - userid
  13303. type: object
  13304. models.Userfavoritegoods:
  13305. properties:
  13306. goodsid:
  13307. description: 商品ID
  13308. type: integer
  13309. required:
  13310. - goodsid
  13311. type: object
  13312. models.Userinfo:
  13313. properties:
  13314. address:
  13315. description: 地址
  13316. type: string
  13317. attachment1:
  13318. description: 附件1
  13319. type: string
  13320. attachment2:
  13321. description: 附件2
  13322. type: string
  13323. bankaccount:
  13324. description: 银行帐号 (加密存储)
  13325. type: string
  13326. bankaccountname:
  13327. description: 收款人名称
  13328. type: string
  13329. bankcardfrontphotourl:
  13330. description: 银行卡正面照地址
  13331. type: string
  13332. bankid:
  13333. description: 银行编码
  13334. type: string
  13335. bankname:
  13336. description: 银行名称
  13337. type: string
  13338. biznature:
  13339. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13340. type: integer
  13341. bizscope:
  13342. description: 企业经营范围(企业)
  13343. type: string
  13344. cardbackphotourl:
  13345. description: 证件背面图片地址
  13346. type: string
  13347. cardfrontphotourl:
  13348. description: 证件正面图片地址
  13349. type: string
  13350. cardnum:
  13351. description: 证件号码(加密存储)
  13352. type: string
  13353. cardtypeid:
  13354. description: 证件类型ID
  13355. type: integer
  13356. cityid:
  13357. description: 市
  13358. type: integer
  13359. company:
  13360. description: 公司(个人)
  13361. type: string
  13362. contactname:
  13363. description: 联系人
  13364. type: string
  13365. countryid:
  13366. description: 国家
  13367. type: integer
  13368. createtime:
  13369. description: 创建时间
  13370. type: string
  13371. creatorid:
  13372. description: 创建人
  13373. type: integer
  13374. customername:
  13375. description: 客户名称(企业名称)
  13376. type: string
  13377. districtid:
  13378. description: 地区
  13379. type: integer
  13380. email:
  13381. description: 邮件(加密存储)
  13382. type: string
  13383. fax:
  13384. description: 传真(加密存储)
  13385. type: string
  13386. halfbodyphotourl:
  13387. description: 半身照地址
  13388. type: string
  13389. hasencrypt:
  13390. description: 数据是否已加密 - 0:未加密 1:已加密
  13391. type: integer
  13392. headurl:
  13393. description: 头像地址
  13394. type: string
  13395. legalcardbackphotourl:
  13396. description: 法人身份证背面照地址
  13397. type: string
  13398. legalcardfrontphotourl:
  13399. description: 法人身份证正面照地址
  13400. type: string
  13401. legalpersonname:
  13402. description: 法人姓名(企业)
  13403. type: string
  13404. mobile:
  13405. description: 手机号码(加密存储)
  13406. type: string
  13407. mobile2:
  13408. description: 手机号码[明文-尚志]
  13409. type: string
  13410. modifierid:
  13411. description: 修改人
  13412. type: integer
  13413. modifiertime:
  13414. description: 修改时间
  13415. type: string
  13416. needinvoice:
  13417. description: 是否需要发票 - 0:不需要 1:需要
  13418. type: integer
  13419. nickname:
  13420. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13421. type: string
  13422. openmode:
  13423. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13424. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13425. type: integer
  13426. otherurl:
  13427. description: 其它图片地址[使用分号分隔]
  13428. type: string
  13429. postalcode:
  13430. description: 邮政编码
  13431. type: string
  13432. provinceid:
  13433. description: 省
  13434. type: integer
  13435. qq:
  13436. description: QQ(加密存储
  13437. type: string
  13438. remark:
  13439. description: 备注
  13440. type: string
  13441. sex:
  13442. description: '用户性别 0: 女 1: 男'
  13443. type: integer
  13444. signpdfurl:
  13445. description: 签约pdf文件
  13446. type: string
  13447. telphone:
  13448. description: 联系电话(加密存储)
  13449. type: string
  13450. userid:
  13451. description: 用户ID
  13452. type: integer
  13453. userinfotype:
  13454. description: 用户信息类型 - 1:个人 2:企业
  13455. type: integer
  13456. userstatus:
  13457. description: 用户状态 - 1:正常 2:注销
  13458. type: integer
  13459. usertype:
  13460. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13461. type: integer
  13462. wechat:
  13463. description: 微信(加密存储)
  13464. type: string
  13465. wskhinfo:
  13466. description: 开户申请信息(JSON)
  13467. type: string
  13468. required:
  13469. - userid
  13470. type: object
  13471. models.WRSConverTDetail:
  13472. properties:
  13473. convertratio:
  13474. description: 套保系数
  13475. type: number
  13476. deliverygoodscode:
  13477. description: 现货商品代码
  13478. type: string
  13479. deliverygoodsid:
  13480. description: 现货品种ID
  13481. type: integer
  13482. deliverygoodsname:
  13483. description: 现货商品名称
  13484. type: string
  13485. enumdicname:
  13486. description: 单位名称
  13487. type: string
  13488. goodsunitid:
  13489. description: 套保品种单位id
  13490. type: integer
  13491. middlegoodscode:
  13492. description: 套保品种代码
  13493. type: string
  13494. middlegoodsid:
  13495. description: 套保品种ID
  13496. type: integer
  13497. middlegoodsname:
  13498. description: 套保品种名称
  13499. type: string
  13500. modifytime:
  13501. description: 修改时间
  13502. type: string
  13503. wrstandardid:
  13504. description: 品类ID
  13505. type: integer
  13506. type: object
  13507. models.WRStandardInfo:
  13508. properties:
  13509. areauserid:
  13510. description: 所属机构
  13511. type: integer
  13512. convertfactor:
  13513. description: 标仓系数
  13514. type: number
  13515. createtime:
  13516. description: 创建时间
  13517. type: string
  13518. creatorid:
  13519. description: 创建人
  13520. type: integer
  13521. deliverygoodsid:
  13522. description: 品种ID
  13523. type: integer
  13524. deliverygoodsname:
  13525. description: 交割商品名称
  13526. type: string
  13527. factoryitemjson:
  13528. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13529. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13530. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13531. 逗号分隔'
  13532. type: string
  13533. isvalid:
  13534. description: 是否有效 - 0:无效 1:有效
  13535. type: integer
  13536. minivalue:
  13537. description: 最小变动值
  13538. type: integer
  13539. minivaluedp:
  13540. description: 最小变动值小数位
  13541. type: integer
  13542. realminivalue:
  13543. description: 实际最小变动值
  13544. type: integer
  13545. realminivaluedp:
  13546. description: 实际最小变动值小数位
  13547. type: integer
  13548. remark:
  13549. description: 备注
  13550. type: string
  13551. unitid:
  13552. description: 单位ID
  13553. type: integer
  13554. unitname:
  13555. description: 单位
  13556. type: string
  13557. updatetime:
  13558. description: 更新时间
  13559. type: string
  13560. updatorid:
  13561. description: 更新人
  13562. type: integer
  13563. wrsstatus:
  13564. description: 状态 - 作废 - 0:未激活 1:正常
  13565. type: integer
  13566. wrstandardcode:
  13567. description: 现货品类代码
  13568. type: string
  13569. wrstandardid:
  13570. description: 现货品类ID(SEQ_WRSTANDARD)
  13571. type: integer
  13572. wrstandardname:
  13573. description: 现货品类名称
  13574. type: string
  13575. required:
  13576. - wrstandardid
  13577. type: object
  13578. models.WRTradeBargainApply:
  13579. properties:
  13580. accountid:
  13581. description: 摘牌资金账号
  13582. type: integer
  13583. applyprice:
  13584. description: 申请价格(议价价格)
  13585. type: string
  13586. applyqty:
  13587. description: 摘牌数量(议价数量)
  13588. type: number
  13589. applyremark:
  13590. description: 申请备注
  13591. type: string
  13592. applystatus:
  13593. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13594. type: integer
  13595. applytime:
  13596. description: 申请时间(议价时间)
  13597. type: string
  13598. buyorsell:
  13599. description: 买卖(挂牌类型) - 0:买 1:卖
  13600. type: integer
  13601. confirmremark:
  13602. description: 确认备注
  13603. type: string
  13604. confirmtime:
  13605. description: 确认时间
  13606. type: string
  13607. confirmuserid:
  13608. description: 确认人
  13609. type: integer
  13610. deliverygoodscode:
  13611. description: 品种代码
  13612. type: string
  13613. deliverygoodsid:
  13614. description: 品种ID
  13615. type: integer
  13616. deliverygoodsname:
  13617. description: 品种名称
  13618. type: string
  13619. deliverymonth:
  13620. description: 交收月
  13621. type: string
  13622. enumdicname:
  13623. description: 单位名称
  13624. type: string
  13625. fixedprice:
  13626. description: 挂牌价格
  13627. type: number
  13628. handlestatus:
  13629. description: 处理状态
  13630. type: integer
  13631. marginvalue:
  13632. description: 履约保证金比例
  13633. type: number
  13634. marketid:
  13635. description: 市场ID
  13636. type: integer
  13637. matchaccountid:
  13638. description: 挂牌方资金账号
  13639. type: integer
  13640. matchuserid:
  13641. description: 挂牌方用户id
  13642. type: integer
  13643. matchusername:
  13644. description: 挂牌方用户名称(已脱敏)
  13645. type: string
  13646. minivalue:
  13647. description: 现货商品最小变动值
  13648. type: integer
  13649. optioncompare:
  13650. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13651. type: string
  13652. orderqty:
  13653. description: 挂牌数量
  13654. type: integer
  13655. refprice:
  13656. description: 参考价格
  13657. type: string
  13658. retcode:
  13659. description: 委托返回代码
  13660. type: integer
  13661. templatename:
  13662. description: 履约方式(履约模板名称)
  13663. type: string
  13664. tradedate:
  13665. description: 交易日(yyyyMMdd)
  13666. type: string
  13667. userid:
  13668. description: 摘牌人用户ID(议价人ID)
  13669. type: integer
  13670. username:
  13671. description: 议价人名字(已脱敏)
  13672. type: string
  13673. validtime:
  13674. description: 有效期限
  13675. type: string
  13676. warehouseid:
  13677. description: 仓库ID
  13678. type: integer
  13679. warehousename:
  13680. description: 仓库名称
  13681. type: string
  13682. wrbargainid:
  13683. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13684. type: string
  13685. wrfactortypeid:
  13686. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13687. type: string
  13688. wrfactortypename:
  13689. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13690. type: string
  13691. wrstandardcode:
  13692. description: 现货商品代码
  13693. type: string
  13694. wrstandardid:
  13695. description: 现货商品ID
  13696. type: integer
  13697. wrstandardname:
  13698. description: 商品名称
  13699. type: string
  13700. wrtradeorderid:
  13701. description: 关联委托单ID
  13702. type: string
  13703. wrtypename:
  13704. description: 商品
  13705. type: string
  13706. type: object
  13707. models.Warehouseinfo:
  13708. properties:
  13709. address:
  13710. description: 详细地址
  13711. type: string
  13712. areauserid:
  13713. description: 所属机构
  13714. type: integer
  13715. autoid:
  13716. description: 自增ID
  13717. type: integer
  13718. cityid:
  13719. description: 市
  13720. type: integer
  13721. contactname:
  13722. description: 联系人
  13723. type: string
  13724. contactnum:
  13725. description: 联系电话
  13726. type: string
  13727. countryid:
  13728. description: 国家
  13729. type: integer
  13730. createtime:
  13731. description: 创建时间
  13732. type: string
  13733. districtid:
  13734. description: 区
  13735. type: integer
  13736. hasvideo:
  13737. description: 是否有视频 - 0:无 1:有
  13738. type: integer
  13739. provinceid:
  13740. description: 省
  13741. type: integer
  13742. remark:
  13743. description: 审核备注
  13744. type: string
  13745. videourl:
  13746. description: 视频地址
  13747. type: string
  13748. warehousecode:
  13749. description: 仓库代码
  13750. type: string
  13751. warehousename:
  13752. description: 仓库名称
  13753. type: string
  13754. warehousestatus:
  13755. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13756. type: integer
  13757. warehousetype:
  13758. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13759. type: integer
  13760. required:
  13761. - autoid
  13762. - warehousecode
  13763. type: object
  13764. models.WrAverageTradePrice:
  13765. properties:
  13766. averageprice:
  13767. description: 成交均价
  13768. type: number
  13769. tradedate:
  13770. description: 交易日yyyymm
  13771. type: string
  13772. type: object
  13773. models.WrBsGoodsInfo:
  13774. properties:
  13775. buyorsell:
  13776. description: 买卖方向 0-买 1-卖
  13777. type: integer
  13778. goodsid:
  13779. description: 交易合约ID
  13780. type: integer
  13781. lstitem:
  13782. description: 商品信息项
  13783. items:
  13784. $ref: '#/definitions/models.WrTypeItem'
  13785. type: array
  13786. lststep:
  13787. description: 履约规则
  13788. items:
  13789. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13790. type: array
  13791. type: object
  13792. models.WrBuybackDetail:
  13793. properties:
  13794. buybackamount:
  13795. description: 回购金额
  13796. type: number
  13797. buybackqty:
  13798. description: 回购数量
  13799. type: number
  13800. buybackreleasemargin:
  13801. description: 回购释放保证金
  13802. type: number
  13803. buybacktime:
  13804. description: 回购时间
  13805. type: string
  13806. errordesc:
  13807. description: 错误描述
  13808. type: string
  13809. handlestatus:
  13810. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13811. type: integer
  13812. relatedwrid:
  13813. description: 关联仓单ID
  13814. type: integer
  13815. scfcontractid:
  13816. description: SCF合同ID
  13817. type: string
  13818. scfwrbuybackid:
  13819. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13820. type: integer
  13821. tradedate:
  13822. description: 交易日(yyyyMMdd)
  13823. type: string
  13824. type: object
  13825. models.WrDeliveryAvalidHoldLB:
  13826. properties:
  13827. accountid:
  13828. description: 资金账号
  13829. type: integer
  13830. avalidqty:
  13831. description: 数量(可点选数量)
  13832. type: number
  13833. deliverygoodsid:
  13834. description: 品种id
  13835. type: integer
  13836. enumdicname:
  13837. description: 单位名称
  13838. type: string
  13839. goodsid:
  13840. description: x合约商品id
  13841. type: integer
  13842. ladingbillid:
  13843. description: 提单id
  13844. type: string
  13845. pgoodscode:
  13846. description: p商品代码(点价合约)
  13847. type: string
  13848. pgoodsid:
  13849. description: p商品id(点价合约)
  13850. type: integer
  13851. pgoodsname:
  13852. description: p商品名称(点价合约)
  13853. type: string
  13854. pricemove:
  13855. description: 升贴水
  13856. type: number
  13857. subnum:
  13858. description: 提单子id
  13859. type: integer
  13860. userid:
  13861. description: 用户id
  13862. type: integer
  13863. username:
  13864. description: 仓单持有人
  13865. type: string
  13866. warehousecode:
  13867. description: 仓库代码
  13868. type: string
  13869. warehouseid:
  13870. description: 仓库id
  13871. type: integer
  13872. warehousename:
  13873. description: 仓库名称
  13874. type: string
  13875. wrfactortypeid:
  13876. description: 仓单要素id
  13877. type: string
  13878. wrstandardcode:
  13879. description: 品代码
  13880. type: string
  13881. wrstandardid:
  13882. description: 品类d
  13883. type: integer
  13884. wrstandardname:
  13885. description: 品类名称
  13886. type: string
  13887. wrtypename:
  13888. description: 商品
  13889. type: string
  13890. xgoodscode:
  13891. description: x合约代码
  13892. type: string
  13893. xgoodsname:
  13894. description: x合约名称
  13895. type: string
  13896. type: object
  13897. models.WrDeliveryDetail:
  13898. properties:
  13899. accountid:
  13900. description: 账号ID
  13901. type: integer
  13902. averageprice:
  13903. description: 交割均价 = 交割金额 / 交割数量
  13904. type: number
  13905. buyorsell:
  13906. description: 方向 - 0:买 1:卖
  13907. type: integer
  13908. deliveryamount:
  13909. description: 货款金额(X总货款+P总货款)
  13910. type: number
  13911. deliveryid:
  13912. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13913. type: string
  13914. deliveryorderid:
  13915. description: 申报单号
  13916. type: string
  13917. deliverypricemove:
  13918. description: 升贴水(升贴水总额)
  13919. type: number
  13920. deliveryqty:
  13921. description: 交收数量(点选数量)
  13922. type: number
  13923. deliverystatus:
  13924. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13925. type: integer
  13926. deliverytime:
  13927. description: 交割时间
  13928. type: string
  13929. deliverytotalamount:
  13930. description: 交收金额
  13931. type: number
  13932. enumdicname:
  13933. description: 单位名称
  13934. type: string
  13935. matchaccountid:
  13936. description: 对手账号ID
  13937. type: integer
  13938. matchusername:
  13939. description: 对手方名称(仓单持有人)
  13940. type: string
  13941. p1goodsremainamount:
  13942. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13943. type: number
  13944. pdeliverycloseqty:
  13945. description: p合约平仓数量
  13946. type: number
  13947. pdeliveryprice:
  13948. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13949. type: number
  13950. pgoodscode:
  13951. description: 商品代码
  13952. type: string
  13953. pgoodsid:
  13954. description: p点选合约id
  13955. type: integer
  13956. pgoodsname:
  13957. description: 商品名称
  13958. type: string
  13959. ppricemode:
  13960. description: 点价价格方式 - 1:商品价 2:固定值
  13961. type: integer
  13962. tradedate:
  13963. description: 交易日(yyyymmdd)
  13964. type: string
  13965. userid:
  13966. description: 用户id
  13967. type: integer
  13968. username:
  13969. description: 用户名称
  13970. type: string
  13971. warehousename:
  13972. description: 仓库名称
  13973. type: string
  13974. wrfactortypeid:
  13975. description: 仓单要素类型ID
  13976. type: string
  13977. wrtypename:
  13978. description: 商品
  13979. type: string
  13980. xdeliverycloseqty:
  13981. description: 合约数量
  13982. type: number
  13983. xgoodsamount:
  13984. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13985. type: number
  13986. xgoodscode:
  13987. description: 商品代码
  13988. type: string
  13989. xgoodsid:
  13990. description: x交易合约ID
  13991. type: integer
  13992. xgoodsname:
  13993. description: 商品名称
  13994. type: string
  13995. type: object
  13996. models.WrFAProductDetail:
  13997. properties:
  13998. accountid:
  13999. description: 资金账号
  14000. type: integer
  14001. areauserid:
  14002. description: 金融机构ID
  14003. type: integer
  14004. financingdays:
  14005. description: 天数(天)
  14006. type: integer
  14007. interestminlen:
  14008. description: 最小起息天数
  14009. type: integer
  14010. interestrate:
  14011. description: 利率
  14012. type: number
  14013. interestratemode:
  14014. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14015. type: integer
  14016. interestsettlemode:
  14017. description: 结息方式 - 1:按日结息 3:按月结息
  14018. type: integer
  14019. interestsettlevalue:
  14020. description: 结息方式值
  14021. type: integer
  14022. isautoloan:
  14023. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14024. type: integer
  14025. loantag:
  14026. description: '放款标识: "放款快" 或者为空'
  14027. type: string
  14028. marginratio:
  14029. description: 保证金比率质押率 - [仓单质押]
  14030. type: number
  14031. productdetailid:
  14032. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14033. type: integer
  14034. productid:
  14035. description: 金融产品ID
  14036. type: integer
  14037. productname:
  14038. description: 产品名称
  14039. type: string
  14040. updatetime:
  14041. description: 更新时间
  14042. type: string
  14043. username:
  14044. description: 融出方
  14045. type: string
  14046. type: object
  14047. models.WrFactorTypeInfo:
  14048. properties:
  14049. deliverygoodscode:
  14050. description: 品种代码
  14051. type: string
  14052. deliverygoodsname:
  14053. description: 品种名称
  14054. type: string
  14055. dgfactoryitemid:
  14056. description: 选择项id
  14057. type: integer
  14058. dgfactoryitemtypeid:
  14059. description: 要素选择项ID (1-仓库 2-品牌)
  14060. type: integer
  14061. dgfactoryitemvalue:
  14062. description: 要素项值
  14063. type: string
  14064. itemtypename:
  14065. description: 要素项名称
  14066. type: string
  14067. optioncompare:
  14068. description: 选择比较串
  14069. type: string
  14070. warehouseid:
  14071. description: 仓库id
  14072. type: integer
  14073. wrfactortypeid:
  14074. description: 仓单要素ID
  14075. type: string
  14076. wrfactortypename:
  14077. description: 要素名称
  14078. type: string
  14079. wrfactortypename2:
  14080. description: 要素名称(不含仓库)
  14081. type: string
  14082. wrstandardcode:
  14083. description: 品类代码
  14084. type: string
  14085. wrstandardid:
  14086. description: 品类id
  14087. type: integer
  14088. wrstandardname:
  14089. description: 品类名称
  14090. type: string
  14091. type: object
  14092. models.WrFilterItem:
  14093. properties:
  14094. itemcode:
  14095. description: 代码
  14096. type: string
  14097. itemid:
  14098. description: 项id
  14099. type: integer
  14100. itemname:
  14101. description: 名称
  14102. type: string
  14103. itemtype:
  14104. description: 类型 1-品种 2-品类(商品) 3-仓库
  14105. type: integer
  14106. type: object
  14107. models.WrFinanceBuyApply:
  14108. properties:
  14109. applydate:
  14110. description: 申请时间
  14111. type: string
  14112. applystatus:
  14113. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14114. type: integer
  14115. applyuserid:
  14116. description: 申请人
  14117. type: integer
  14118. auditdate:
  14119. description: 审核时间
  14120. type: string
  14121. auditremark:
  14122. description: 审核备注
  14123. type: string
  14124. audituserid:
  14125. description: 审核人
  14126. type: integer
  14127. buyaccountid:
  14128. description: 买方资金账号
  14129. type: integer
  14130. buyorsell:
  14131. description: 买卖 - 0:买 1:卖
  14132. type: integer
  14133. buyuserid:
  14134. description: 买方用户ID
  14135. type: integer
  14136. buyusername:
  14137. description: 买方名称
  14138. type: string
  14139. buywrtradeorderid:
  14140. description: 融资方买委托单ID
  14141. type: string
  14142. deliverygoodscode:
  14143. description: 品种代码
  14144. type: string
  14145. deliverygoodsid:
  14146. description: 品种ID
  14147. type: integer
  14148. deliverygoodsname:
  14149. description: 品种名称
  14150. type: string
  14151. deliverymonth:
  14152. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14153. type: string
  14154. enumdicname:
  14155. description: 单位名称
  14156. type: string
  14157. financeaccountid:
  14158. description: 融资方资金帐户ID
  14159. type: integer
  14160. financeapplyid:
  14161. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14162. type: string
  14163. financeareauserid:
  14164. description: 融资方用户ID
  14165. type: string
  14166. financename:
  14167. description: 融出方名称
  14168. type: string
  14169. financetype:
  14170. description: 融资类型 1-融资回购
  14171. type: integer
  14172. financingdays:
  14173. description: 天数(天)
  14174. type: integer
  14175. freezebuymargin:
  14176. description: 冻结融资保证金(买方)
  14177. type: number
  14178. handleremark:
  14179. description: 处理备注
  14180. type: string
  14181. handlestatus:
  14182. description: 处理状态
  14183. type: integer
  14184. interestminlen:
  14185. description: 最小起息天数
  14186. type: integer
  14187. interestrate:
  14188. description: 利率
  14189. type: number
  14190. interestratemode:
  14191. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14192. type: integer
  14193. interestsettlemode:
  14194. description: 结息方式 - 1:按日结息 3:按月结息
  14195. type: integer
  14196. interestsettlevalue:
  14197. description: 结息方式值
  14198. type: integer
  14199. isautoloan:
  14200. description: 是否自动放款 - 0:手动 1:自动
  14201. type: integer
  14202. marginratio:
  14203. description: 保证金比率质押率 - [仓单质押]
  14204. type: number
  14205. marketid:
  14206. description: 市场ID
  14207. type: integer
  14208. minivalue:
  14209. description: 现货商品最小变动值
  14210. type: integer
  14211. optioncompare:
  14212. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14213. type: string
  14214. orderqty:
  14215. description: 委托数量(商品数量)
  14216. type: number
  14217. productdetailid:
  14218. description: 产品组合ID
  14219. type: integer
  14220. productid:
  14221. description: 金融产品ID
  14222. type: integer
  14223. productname:
  14224. description: 产品名称
  14225. type: string
  14226. remark:
  14227. description: 备注
  14228. type: string
  14229. scfcontractid:
  14230. description: 仓单回购合同ID
  14231. type: string
  14232. sellaccountid:
  14233. description: 卖方资金账号
  14234. type: integer
  14235. selluserid:
  14236. description: 卖方用户ID
  14237. type: integer
  14238. sellwrtradeorderid:
  14239. description: 卖方委托单ID
  14240. type: string
  14241. tradeamount:
  14242. description: 成交金额(借款金额)
  14243. type: number
  14244. tradedate:
  14245. description: 交易日(yyyyMMdd)
  14246. type: string
  14247. tradeprice:
  14248. description: 成交价格
  14249. type: number
  14250. warehouseid:
  14251. description: 仓库ID
  14252. type: integer
  14253. warehousename:
  14254. description: 仓库名称
  14255. type: string
  14256. wrfactortypeid:
  14257. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14258. type: string
  14259. wrfactortypename:
  14260. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14261. type: string
  14262. wrpricetype:
  14263. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14264. type: integer
  14265. wrstandardcode:
  14266. description: 现货商品代码
  14267. type: string
  14268. wrstandardid:
  14269. description: 现货商品ID
  14270. type: integer
  14271. wrstandardname:
  14272. description: 商品名称
  14273. type: string
  14274. wrtypename:
  14275. description: 商品
  14276. type: string
  14277. type: object
  14278. models.WrFriendApply:
  14279. properties:
  14280. applicantid:
  14281. description: 申请人
  14282. type: integer
  14283. applyname:
  14284. description: 申请人名称
  14285. type: string
  14286. applysrc:
  14287. description: 申请来源 - 1:管理端 2:终端
  14288. type: integer
  14289. applystatus:
  14290. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14291. type: integer
  14292. applytime:
  14293. description: 申请时间
  14294. type: string
  14295. auditname:
  14296. description: 审核人名称
  14297. type: string
  14298. auditorid:
  14299. description: 审核人
  14300. type: integer
  14301. auditremark:
  14302. description: 审核备注
  14303. type: string
  14304. auditsrc:
  14305. description: 审核来源 - 1:管理端 2:终端
  14306. type: integer
  14307. audittime:
  14308. description: 审核时间
  14309. type: string
  14310. friendapplyid:
  14311. description: 申请ID(SEQ_FRIENDAPPLY)
  14312. type: string
  14313. friendname:
  14314. description: 好友名字(已脱敏)
  14315. type: string
  14316. frienduserid:
  14317. description: 好友用户ID
  14318. type: string
  14319. remark:
  14320. description: 备注
  14321. type: string
  14322. userid:
  14323. description: 申请人用户ID
  14324. type: integer
  14325. type: object
  14326. models.WrFtDeliveryGoods:
  14327. properties:
  14328. deliverygoodscode:
  14329. description: 品种代码
  14330. type: string
  14331. deliverygoodsid:
  14332. description: 品种ID
  14333. type: integer
  14334. deliverygoodsname:
  14335. description: 品种名称
  14336. type: string
  14337. wdlst:
  14338. description: 商品列表
  14339. items:
  14340. $ref: '#/definitions/models.WrFtWrstandard'
  14341. type: array
  14342. type: object
  14343. models.WrFtWrstandard:
  14344. properties:
  14345. enumdicname:
  14346. description: 单位名称
  14347. type: string
  14348. minivalue:
  14349. description: 最小变动值
  14350. type: integer
  14351. wrstandardcode:
  14352. description: 现货商品代码
  14353. type: string
  14354. wrstandardid:
  14355. description: 现货商品ID
  14356. type: integer
  14357. wrstandardname:
  14358. description: 商品名称
  14359. type: string
  14360. type: object
  14361. models.WrGoodsInfo:
  14362. properties:
  14363. haswr:
  14364. description: 0:仓单预售 1:仓单贸易
  14365. type: integer
  14366. lstitem:
  14367. description: 商品信息项
  14368. items:
  14369. $ref: '#/definitions/models.WrTypeItem'
  14370. type: array
  14371. lststep:
  14372. description: 履约规则
  14373. items:
  14374. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14375. type: array
  14376. marketid:
  14377. description: 市场id
  14378. type: integer
  14379. type: object
  14380. models.WrGoodsPerformanceStep:
  14381. properties:
  14382. autoid:
  14383. description: AutoID
  14384. type: integer
  14385. isauto:
  14386. description: 是否自动 - 0:不自动 1:自动
  14387. type: integer
  14388. remark:
  14389. description: 备注
  14390. type: string
  14391. stepdate:
  14392. description: 天数信息(T+N)
  14393. type: string
  14394. stepdays:
  14395. description: 距离上一步天数
  14396. type: integer
  14397. stepindex:
  14398. description: 步骤序号
  14399. type: integer
  14400. stepinfo:
  14401. description: 步骤信息(步骤名称+步骤值)
  14402. type: string
  14403. steptypeid:
  14404. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14405. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14406. type: integer
  14407. steptypename:
  14408. description: 步骤名称
  14409. type: string
  14410. stepvalue:
  14411. description: 步骤值
  14412. type: number
  14413. templateid:
  14414. description: 履约计划模板ID
  14415. type: integer
  14416. type: object
  14417. models.WrHoldLB:
  14418. properties:
  14419. accountid:
  14420. description: 持有人帐户ID
  14421. type: integer
  14422. createtime:
  14423. description: 创建时间(过户时间)
  14424. type: string
  14425. deliverygoodscode:
  14426. description: 品种代码
  14427. type: string
  14428. deliverygoodsid:
  14429. description: 品种ID
  14430. type: integer
  14431. deliverygoodsname:
  14432. description: 品种名称
  14433. type: string
  14434. enableqty:
  14435. description: 可用数量
  14436. type: number
  14437. enumdicname:
  14438. description: 单位名称
  14439. type: string
  14440. freezerqty:
  14441. description: 冻结数量
  14442. type: number
  14443. ladingbillid:
  14444. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14445. type: string
  14446. minivalue:
  14447. description: 现货商品最小变动值
  14448. type: integer
  14449. optioncompare:
  14450. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14451. type: string
  14452. parentsubnum:
  14453. description: 拆分父子单号
  14454. type: integer
  14455. pledgeqty:
  14456. description: 质押数量
  14457. type: number
  14458. qty:
  14459. description: 数量
  14460. type: number
  14461. subnum:
  14462. description: 提单子单号
  14463. type: integer
  14464. tradedate:
  14465. description: 交易日(yyyyMMdd)
  14466. type: string
  14467. userid:
  14468. description: 持有人ID
  14469. type: integer
  14470. warehouseid:
  14471. description: 仓库ID
  14472. type: integer
  14473. warehousename:
  14474. description: 仓库名称
  14475. type: string
  14476. wrfactortypeid:
  14477. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14478. type: string
  14479. wrfactortypename:
  14480. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14481. type: string
  14482. wrholdeno:
  14483. description: 仓单编号
  14484. type: string
  14485. wrid:
  14486. description: 仓单变更ID
  14487. type: string
  14488. wrstandardcode:
  14489. description: 现货商品代码
  14490. type: string
  14491. wrstandardid:
  14492. description: 现货商品ID
  14493. type: integer
  14494. wrstandardname:
  14495. description: 商品名称
  14496. type: string
  14497. wrtypename:
  14498. description: 商品
  14499. type: string
  14500. type: object
  14501. models.WrMarketTradeConfig:
  14502. properties:
  14503. basisdownratio:
  14504. description: 浮动价基差下限比例(仓单贸易)
  14505. type: number
  14506. basisupratio:
  14507. description: 浮动价基差上限比例(仓单贸易)
  14508. type: number
  14509. buychargealgorithm:
  14510. description: 买方手续费收取方式 1:比率 2:固定
  14511. type: integer
  14512. buychargealgorithm2:
  14513. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14514. type: integer
  14515. buychargealgorithmvalue:
  14516. description: 买方手续费设置值(交易所部分)
  14517. type: number
  14518. buychargealgorithmvalue2:
  14519. description: 买方手续费设置值(会员部分)
  14520. type: number
  14521. buychargealgorithmvalue3:
  14522. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14523. type: number
  14524. buychargealgorithmvalue4:
  14525. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14526. type: number
  14527. buyfirstmarginalgorithm:
  14528. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14529. type: integer
  14530. buyfirstmarginvalue:
  14531. description: 买方出价保证金设置值 - [竞拍]
  14532. type: number
  14533. buymarginalgorithm:
  14534. description: 买方保证金方式 - 1:比率 2:固定
  14535. type: integer
  14536. buymarginvalue:
  14537. description: 买方保证金设置值
  14538. type: number
  14539. buyreleaseratio:
  14540. description: 买方释放比率[2:分步履约]
  14541. type: number
  14542. executemode:
  14543. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14544. type: integer
  14545. executeside:
  14546. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14547. type: integer
  14548. failedchargealgorithm:
  14549. description: 流拍手续费收取方式 1:比率 2:固定
  14550. type: integer
  14551. failedchargevalue:
  14552. description: 流拍手续费设置值
  14553. type: number
  14554. failedchargevalue2:
  14555. description: 流拍卖方手续费设置值
  14556. type: number
  14557. holddays:
  14558. description: 合同期限[2:分步履约]
  14559. type: integer
  14560. marketid:
  14561. description: 市场ID-仓单贸易、竞拍、预售
  14562. type: integer
  14563. minqty:
  14564. description: 最小执行量[2:分步履约]
  14565. type: number
  14566. modifierid:
  14567. description: 修改人
  14568. type: integer
  14569. performancetempid:
  14570. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14571. 立即执行(-1)
  14572. type: integer
  14573. performancetempid2:
  14574. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14575. 立即执行
  14576. type: integer
  14577. performanceway:
  14578. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14579. type: integer
  14580. sellchargealgorithm:
  14581. description: 卖方手续费收取方式 1:比率 2:固定
  14582. type: integer
  14583. sellchargealgorithm2:
  14584. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14585. type: integer
  14586. sellchargealgorithmvalue:
  14587. description: 卖方手续费设置值(交易所部分)
  14588. type: number
  14589. sellchargealgorithmvalue2:
  14590. description: 卖方手续费设置值(会员部分)
  14591. type: number
  14592. sellchargealgorithmvalue3:
  14593. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14594. type: number
  14595. sellchargealgorithmvalue4:
  14596. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14597. type: number
  14598. sellmarginalgorithm:
  14599. description: 卖方保证金方式 - 1:比率 2:固定
  14600. type: integer
  14601. sellmarginvalue:
  14602. description: 卖方保证金设置值
  14603. type: number
  14604. sellmarginvalue2:
  14605. description: 卖方保证金设置值(无仓单)
  14606. type: number
  14607. sellreleaseratio:
  14608. description: 卖方释放比率[2:分步履约]
  14609. type: number
  14610. updatetime:
  14611. description: 更新时间
  14612. type: string
  14613. type: object
  14614. models.WrOrderDetail:
  14615. properties:
  14616. accountid:
  14617. description: 交易账号(资金账号)
  14618. type: integer
  14619. allfriendsflag:
  14620. description: 是否全好友可见 - 0:否 1:是
  14621. type: integer
  14622. amount:
  14623. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  14624. type: number
  14625. buyorsell:
  14626. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14627. type: integer
  14628. canbargain:
  14629. description: 是否可议价 - 0:不可 1:可
  14630. type: integer
  14631. cancelqty:
  14632. description: 撤销数量
  14633. type: number
  14634. canpart:
  14635. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14636. type: integer
  14637. delistminqty:
  14638. description: 起摘数量
  14639. type: integer
  14640. deliverygoodscode:
  14641. description: 品种代码
  14642. type: string
  14643. deliverygoodsid:
  14644. description: 品种ID
  14645. type: integer
  14646. deliverygoodsname:
  14647. description: 品种名称
  14648. type: string
  14649. deliverymonth:
  14650. description: 交收月
  14651. type: string
  14652. enumdicname:
  14653. description: 单位名称
  14654. type: string
  14655. fixedprice:
  14656. description: 固定价格 - [挂牌]
  14657. type: number
  14658. freezemargin:
  14659. description: 冻结保证金(保证金)
  14660. type: number
  14661. futupricemove:
  14662. description: 期货升贴水
  14663. type: number
  14664. futushow:
  14665. description: 期货合约/升贴水
  14666. type: string
  14667. goodscode:
  14668. description: 期货合约
  14669. type: string
  14670. goodsid:
  14671. description: 期货商品id
  14672. type: integer
  14673. goodsname:
  14674. description: 商品名称
  14675. type: string
  14676. haswr:
  14677. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14678. type: integer
  14679. isspecified:
  14680. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14681. type: integer
  14682. marginvalue:
  14683. description: 保证金设置值(履约保证金)
  14684. type: number
  14685. marketid:
  14686. description: 市场ID
  14687. type: integer
  14688. matchusername:
  14689. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14690. type: string
  14691. minivalue:
  14692. description: 现货商品最小变动值
  14693. type: integer
  14694. optioncompare:
  14695. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14696. type: string
  14697. orderqty:
  14698. description: 委托数量
  14699. type: number
  14700. ordertime:
  14701. description: 委托时间(挂牌时间)
  14702. type: string
  14703. performancetemplateid:
  14704. description: 履约模板id
  14705. type: integer
  14706. pricemove:
  14707. description: 升贴水(浮动价时填写) - [挂牌]
  14708. type: number
  14709. taname:
  14710. description: 交易用户名称(资金账号名称)
  14711. type: string
  14712. tradedate:
  14713. description: 交易日(yyyyMMdd)
  14714. type: string
  14715. tradeprice:
  14716. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14717. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14718. type: number
  14719. tradeqty:
  14720. description: 成交数量
  14721. type: number
  14722. userid:
  14723. description: 用户ID
  14724. type: integer
  14725. validtime:
  14726. description: 挂牌有效期
  14727. type: string
  14728. warehouseid:
  14729. description: 仓库ID
  14730. type: integer
  14731. warehousename:
  14732. description: 仓库名称
  14733. type: string
  14734. wrfactortypeid:
  14735. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14736. type: string
  14737. wrfactortypename:
  14738. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14739. type: string
  14740. wrpricetype:
  14741. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14742. type: integer
  14743. wrstandardcode:
  14744. description: 现货商品代码
  14745. type: string
  14746. wrstandardid:
  14747. description: 现货商品ID
  14748. type: integer
  14749. wrstandardname:
  14750. description: 商品名称
  14751. type: string
  14752. wrtradeorderid:
  14753. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14754. type: string
  14755. wrtradeorderstatus:
  14756. 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:撤单解冻贷款失败
  14757. type: integer
  14758. wrtradetype:
  14759. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14760. type: integer
  14761. wrtypename:
  14762. description: 商品
  14763. type: string
  14764. type: object
  14765. models.WrOrderQuote:
  14766. properties:
  14767. buyprice:
  14768. description: 买价
  14769. type: number
  14770. buypricemove:
  14771. description: 买升贴水(基差)
  14772. type: number
  14773. buyqty:
  14774. description: 买量
  14775. type: number
  14776. deliverygoodscode:
  14777. description: 品种代码
  14778. type: string
  14779. deliverygoodsid:
  14780. description: 品种id
  14781. type: integer
  14782. deliverygoodsname:
  14783. description: 品种名称
  14784. type: string
  14785. deliverymonth:
  14786. description: 交收月
  14787. type: string
  14788. enumdicname:
  14789. description: 单位名称
  14790. type: string
  14791. goodscode:
  14792. description: 商品合约(浮动价列表才有)
  14793. type: string
  14794. goodsid:
  14795. description: 商品id(浮动价列表才有)
  14796. type: integer
  14797. minivalue:
  14798. description: 现货商品最小变动值
  14799. type: integer
  14800. sellprice:
  14801. description: 卖价
  14802. type: number
  14803. sellpricemove:
  14804. description: 卖升贴水(基差)
  14805. type: number
  14806. sellqty:
  14807. description: 卖量
  14808. type: number
  14809. warehousecode:
  14810. description: 仓库代码
  14811. type: string
  14812. warehouseid:
  14813. description: 仓库id
  14814. type: integer
  14815. warehousename:
  14816. description: 仓库名称
  14817. type: string
  14818. wrfactortypeid:
  14819. description: 仓单要素id
  14820. type: string
  14821. wrfactortypename:
  14822. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14823. type: string
  14824. wrgoodsname:
  14825. description: 商品(商品名称+仓库要素名称 拼接)
  14826. type: string
  14827. wrstandardcode:
  14828. description: 商品代码
  14829. type: string
  14830. wrstandardid:
  14831. description: 商品id
  14832. type: integer
  14833. wrstandardname:
  14834. description: 商品名称
  14835. type: string
  14836. type: object
  14837. models.WrOrderQuoteDetail:
  14838. properties:
  14839. buyorsell:
  14840. description: 买卖 - 0:买 1:卖
  14841. type: integer
  14842. delistminqty:
  14843. description: 起摘数量
  14844. type: number
  14845. deliverymonth:
  14846. description: 交收月
  14847. type: string
  14848. enumdicname:
  14849. description: 单位名称
  14850. type: string
  14851. fixedprice:
  14852. description: 买(卖)价
  14853. type: number
  14854. minivalue:
  14855. description: 现货商品最小变动值
  14856. type: integer
  14857. orderqty:
  14858. description: 买(卖)量(=委托量-成交量)
  14859. type: number
  14860. ordertime:
  14861. description: 委托时间
  14862. type: string
  14863. pricemove:
  14864. description: 买(卖)升贴水- 基差
  14865. type: number
  14866. userid:
  14867. description: 购买方(销售方)用户ID
  14868. type: integer
  14869. username:
  14870. description: 购买方(销售方)
  14871. type: string
  14872. wrtradeorderid:
  14873. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14874. type: string
  14875. type: object
  14876. models.WrOutInApply:
  14877. properties:
  14878. applyid:
  14879. description: 申请单id
  14880. type: string
  14881. applystatus:
  14882. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14883. 8:已撤销
  14884. type: integer
  14885. applytime:
  14886. description: 申请时间
  14887. type: string
  14888. applytype:
  14889. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14890. type: integer
  14891. deliverygoodscode:
  14892. description: 品种代码
  14893. type: string
  14894. deliverygoodsid:
  14895. description: 品种ID
  14896. type: integer
  14897. deliverygoodsname:
  14898. description: 品种名称
  14899. type: string
  14900. enumdicname:
  14901. description: 单位名称
  14902. type: string
  14903. expresscompany:
  14904. description: 物流公司
  14905. type: string
  14906. expressnum:
  14907. description: 物流单号
  14908. type: string
  14909. minivalue:
  14910. description: 现货商品最小变动值
  14911. type: integer
  14912. optioncompare:
  14913. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14914. type: string
  14915. qty:
  14916. description: 数量
  14917. type: integer
  14918. userid:
  14919. description: 用户id
  14920. type: integer
  14921. warehouseid:
  14922. description: 仓库ID
  14923. type: integer
  14924. warehousename:
  14925. description: 仓库名称
  14926. type: string
  14927. wrfactortypeid:
  14928. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14929. type: string
  14930. wrfactortypename:
  14931. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14932. type: string
  14933. wrstandardcode:
  14934. description: 现货商品代码
  14935. type: string
  14936. wrstandardid:
  14937. description: 现货商品ID
  14938. type: integer
  14939. wrstandardname:
  14940. description: 商品名称
  14941. type: string
  14942. wrtypename:
  14943. description: 商品
  14944. type: string
  14945. type: object
  14946. models.WrPerformancePlan:
  14947. properties:
  14948. activatemonth:
  14949. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14950. type: string
  14951. amount:
  14952. description: 履约金额(总金额)
  14953. type: number
  14954. buyaccountid:
  14955. description: 买方账号
  14956. type: integer
  14957. buyerfreezeamount:
  14958. description: 履约冻结(买履约)
  14959. type: number
  14960. buyerfreezeamountremain:
  14961. description: 履约冻结剩余(买履约)
  14962. type: number
  14963. buyorsell:
  14964. description: 买卖方向 0-买 1-卖
  14965. type: integer
  14966. buypaidamount:
  14967. description: 买方已冻/已扣金额 (已付金额)
  14968. type: number
  14969. buyusername:
  14970. description: 买方名字
  14971. type: string
  14972. contractid:
  14973. description: 合同ID
  14974. type: integer
  14975. createtime:
  14976. description: 创建时间
  14977. type: string
  14978. creatorid:
  14979. description: 创建人
  14980. type: integer
  14981. curstepdeadline:
  14982. description: 当前步骤到期时间
  14983. type: string
  14984. curstepid:
  14985. description: 当前步骤ID
  14986. type: string
  14987. curstepname:
  14988. description: 当前步骤名称
  14989. type: string
  14990. deliverygoodscode:
  14991. description: 品种代码
  14992. type: string
  14993. deliverygoodsid:
  14994. description: 品种ID
  14995. type: integer
  14996. deliverygoodsname:
  14997. description: 品种名称
  14998. type: string
  14999. enumdicname:
  15000. description: 单位名称
  15001. type: string
  15002. expressfee:
  15003. description: 运费
  15004. type: number
  15005. expressfeeconfirmed:
  15006. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15007. type: integer
  15008. hasovershort:
  15009. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15010. type: integer
  15011. haswr:
  15012. description: 类型 0-仓单预售 1-仓单贸易
  15013. type: integer
  15014. marketid:
  15015. description: 市场ID
  15016. type: integer
  15017. middleaccountid:
  15018. description: 中间商资金账号ID
  15019. type: integer
  15020. middleuserid:
  15021. description: 中间商用户ID
  15022. type: integer
  15023. minivalue:
  15024. description: 现货商品最小变动值
  15025. type: integer
  15026. optioncompare:
  15027. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15028. type: string
  15029. overshortamount:
  15030. description: 溢短金额
  15031. type: number
  15032. overshortqty:
  15033. description: 溢短数量
  15034. type: number
  15035. paymenttype:
  15036. description: 付款方式 - 1:冻结 2:扣款
  15037. type: integer
  15038. performanceplanid:
  15039. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15040. type: string
  15041. performancestatus:
  15042. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15043. 9:超时待处理 10:超时关闭
  15044. type: integer
  15045. performancetype:
  15046. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15047. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15048. type: integer
  15049. qty:
  15050. description: 履约数量
  15051. type: number
  15052. relatedorderid:
  15053. description: 关联单号(履约类型的关联单号)
  15054. type: string
  15055. remark:
  15056. description: 备注
  15057. type: string
  15058. sellaccountid:
  15059. description: 卖方账号
  15060. type: integer
  15061. sellerfreezeamount:
  15062. description: 履约冻结(卖履约)
  15063. type: number
  15064. sellerfreezeamountremain:
  15065. description: 履约冻结剩余(卖履约)
  15066. type: number
  15067. sellreceivedamount:
  15068. description: 卖方已收金额
  15069. type: number
  15070. sellusername:
  15071. description: 卖方名字
  15072. type: string
  15073. shipremark:
  15074. description: 发货备注[物流单号]
  15075. type: string
  15076. starttime:
  15077. description: 开始时间
  15078. type: string
  15079. steptypeid:
  15080. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15081. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15082. type: integer
  15083. typename:
  15084. description: 履约类型 名称
  15085. type: string
  15086. unpaidamount:
  15087. description: 剩余款(待支付金额)
  15088. type: number
  15089. userid:
  15090. description: 用户id
  15091. type: integer
  15092. warehouseid:
  15093. description: 仓库ID
  15094. type: integer
  15095. warehousename:
  15096. description: 仓库名称
  15097. type: string
  15098. wrfactortypeid:
  15099. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15100. type: string
  15101. wrfactortypename:
  15102. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15103. type: string
  15104. wrstandardcode:
  15105. description: 现货商品代码
  15106. type: string
  15107. wrstandardid:
  15108. description: 现货商品ID
  15109. type: integer
  15110. wrstandardname:
  15111. description: 商品名称
  15112. type: string
  15113. wrtransferuserid:
  15114. description: 仓单受让用户
  15115. type: integer
  15116. wrtypename:
  15117. description: 商品
  15118. type: string
  15119. required:
  15120. - userid
  15121. type: object
  15122. models.WrPerformancePlanStep:
  15123. properties:
  15124. delaydays:
  15125. description: 延期申请天数
  15126. type: integer
  15127. deliverygoodscode:
  15128. description: 品种代码
  15129. type: string
  15130. deliverygoodsid:
  15131. description: 品种ID
  15132. type: integer
  15133. deliverygoodsname:
  15134. description: 品种名称
  15135. type: string
  15136. endtime:
  15137. description: 结束日期
  15138. type: string
  15139. enumdicname:
  15140. description: 单位名称
  15141. type: string
  15142. executeside:
  15143. description: 步骤执行方 - 1:买方 2:卖方
  15144. type: integer
  15145. handlestatus:
  15146. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15147. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15148. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15149. type: integer
  15150. isauto:
  15151. description: 是否自动 - 0:不自动 1:自动
  15152. type: integer
  15153. islastreceivestep:
  15154. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15155. type: integer
  15156. minivalue:
  15157. description: 现货商品最小变动值
  15158. type: integer
  15159. optioncompare:
  15160. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15161. type: string
  15162. overdays:
  15163. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15164. type: integer
  15165. performancestepid:
  15166. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15167. type: string
  15168. planid:
  15169. description: 所属履约计划ID
  15170. type: string
  15171. realamount:
  15172. description: 实际完成金额
  15173. type: number
  15174. relatedorderid:
  15175. description: 关联单号
  15176. type: string
  15177. remaindays:
  15178. description: 剩余天数
  15179. type: integer
  15180. remark:
  15181. description: 错误备注
  15182. type: string
  15183. starttime:
  15184. description: 开始日期
  15185. type: string
  15186. stepamount:
  15187. description: 步骤金额
  15188. type: number
  15189. stepdays:
  15190. description: 距离上一步天数(分钟)
  15191. type: integer
  15192. stepindex:
  15193. description: 步骤序号
  15194. type: integer
  15195. steplanchtype:
  15196. description: 步骤启动类型 - 1:系统自动 2:手动
  15197. type: integer
  15198. stepremark:
  15199. description: 步骤备注
  15200. type: string
  15201. stepstatus:
  15202. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15203. type: integer
  15204. steptypeid:
  15205. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15206. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15207. type: integer
  15208. steptypename:
  15209. description: 步骤名称
  15210. type: string
  15211. stepvalue:
  15212. description: 步骤值
  15213. type: number
  15214. warehouseid:
  15215. description: 仓库ID
  15216. type: integer
  15217. warehousename:
  15218. description: 仓库名称
  15219. type: string
  15220. wrfactortypeid:
  15221. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15222. type: string
  15223. wrfactortypename:
  15224. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15225. type: string
  15226. wrstandardcode:
  15227. description: 现货商品代码
  15228. type: string
  15229. wrstandardid:
  15230. description: 现货商品ID
  15231. type: integer
  15232. wrstandardname:
  15233. description: 商品名称
  15234. type: string
  15235. wrtypename:
  15236. description: 商品
  15237. type: string
  15238. type: object
  15239. models.WrPerformanceStepType:
  15240. properties:
  15241. canauto:
  15242. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15243. type: integer
  15244. steptypeid:
  15245. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15246. type: integer
  15247. steptypename:
  15248. description: 步骤类型名称
  15249. type: string
  15250. type: object
  15251. models.WrPerformanceTemplateEx:
  15252. properties:
  15253. autoid:
  15254. description: AutoID 模板id
  15255. type: integer
  15256. createtime:
  15257. description: 创建时间
  15258. type: string
  15259. creatorid:
  15260. description: 创建人
  15261. type: integer
  15262. lstStep:
  15263. description: 步骤信息列表
  15264. items:
  15265. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15266. type: array
  15267. paymenttype:
  15268. description: 支付方式 - 1:冻结 2:扣款
  15269. type: integer
  15270. takemode:
  15271. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15272. type: integer
  15273. templatename:
  15274. description: 模板名称
  15275. type: string
  15276. templatetype:
  15277. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  15278. (无仓单) 5:挂牌期权 6:竞拍-降价式
  15279. type: integer
  15280. userid:
  15281. description: 所属用户
  15282. type: integer
  15283. type: object
  15284. models.WrPosition:
  15285. properties:
  15286. accountid:
  15287. description: 帐户ID
  15288. type: integer
  15289. buyexcuteqty:
  15290. description: 采购履约中数量
  15291. type: number
  15292. creditcurqty:
  15293. description: 授信当前数量(预售仓单:预售当前量)
  15294. type: number
  15295. creditenableqty:
  15296. description: '授信可用数量(预售仓单: 可用数量)'
  15297. type: number
  15298. creditfreezeqty:
  15299. description: '授信冻结数量(预售仓单: 当前数量)'
  15300. type: number
  15301. credittotalqty:
  15302. description: 授信总数量(预售仓单:预售总量)
  15303. type: number
  15304. credittradeqty:
  15305. description: 授信成交数量(预售仓单:成交总量)
  15306. type: number
  15307. deliverygoodscode:
  15308. description: 品种代码
  15309. type: string
  15310. deliverygoodsid:
  15311. description: 品种ID
  15312. type: integer
  15313. deliverygoodsname:
  15314. description: 品种名称
  15315. type: string
  15316. enalbeqty:
  15317. description: 可用数量
  15318. type: number
  15319. enumdicname:
  15320. description: 单位名称
  15321. type: string
  15322. freezeqty:
  15323. description: 总冻结数量
  15324. type: number
  15325. haswr:
  15326. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15327. type: integer
  15328. minivalue:
  15329. description: 现货商品最小变动值
  15330. type: integer
  15331. modifytime:
  15332. description: 修改时间(过户时间)
  15333. type: string
  15334. optioncompare:
  15335. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15336. type: string
  15337. pledgeqty:
  15338. description: 质押数量
  15339. type: number
  15340. querytype:
  15341. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15342. type: integer
  15343. sellexcuteqty:
  15344. description: 销售履约中数量
  15345. type: number
  15346. totalqty:
  15347. description: 总数量(库存数量)
  15348. type: number
  15349. warehouseid:
  15350. description: 仓库ID
  15351. type: integer
  15352. warehousename:
  15353. description: 仓库名称
  15354. type: string
  15355. wrfactortypeid:
  15356. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15357. type: string
  15358. wrfactortypename:
  15359. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15360. type: string
  15361. wrpositionid:
  15362. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15363. type: string
  15364. wrpositionno:
  15365. description: 仓单编号
  15366. type: string
  15367. wrstandardcode:
  15368. description: 现货商品代码
  15369. type: string
  15370. wrstandardid:
  15371. description: 现货商品ID
  15372. type: integer
  15373. wrstandardname:
  15374. description: 商品名称
  15375. type: string
  15376. wrtypename:
  15377. description: 商品
  15378. type: string
  15379. wruserid:
  15380. description: 持有人ID
  15381. type: integer
  15382. type: object
  15383. models.WrQuoteOrderMyq:
  15384. properties:
  15385. buyorsell:
  15386. description: 买卖 - 0:买 1:卖
  15387. type: integer
  15388. canbargain:
  15389. description: 是否可议价 - 0:不可 1:可
  15390. type: integer
  15391. canpart:
  15392. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15393. type: integer
  15394. delistminqty:
  15395. description: 起摘数量
  15396. type: number
  15397. deliverygoodscode:
  15398. description: 品种代码
  15399. type: string
  15400. deliverygoodsid:
  15401. description: 品种ID
  15402. type: integer
  15403. deliverygoodsname:
  15404. description: 品种名称
  15405. type: string
  15406. deliverymonth:
  15407. description: 交收月
  15408. type: string
  15409. enumdicname:
  15410. description: 单位名称
  15411. type: string
  15412. fixedprice:
  15413. description: 买(卖)价
  15414. type: number
  15415. goodscode:
  15416. description: 商品合约代码
  15417. type: string
  15418. marginflag:
  15419. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15420. type: integer
  15421. marginvalue:
  15422. description: 保证金设置值
  15423. type: number
  15424. minivalue:
  15425. description: 现货商品最小变动值
  15426. type: integer
  15427. orderqty:
  15428. description: 买(卖)量(=委托量-成交量)
  15429. type: number
  15430. ordertime:
  15431. description: 委托时间
  15432. type: string
  15433. performancetemplateid:
  15434. description: 履约模板id
  15435. type: integer
  15436. pricemove:
  15437. description: 买(卖)升贴水- 基差
  15438. type: number
  15439. templatename:
  15440. description: 履约模板名称
  15441. type: string
  15442. userid:
  15443. description: 购买方(销售方)用户ID
  15444. type: integer
  15445. username:
  15446. description: 购买方(销售方)
  15447. type: string
  15448. validtime:
  15449. description: 有效期限
  15450. type: string
  15451. validtype:
  15452. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15453. type: integer
  15454. warehousename:
  15455. description: 仓库名称
  15456. type: string
  15457. wrfactortypeid:
  15458. description: 仓单要素id
  15459. type: string
  15460. wrstandardcode:
  15461. description: 现货商品代码
  15462. type: string
  15463. wrstandardid:
  15464. description: 现货商品ID
  15465. type: integer
  15466. wrstandardname:
  15467. description: 商品名称
  15468. type: string
  15469. wrtradeorderid:
  15470. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15471. type: string
  15472. wrtypename:
  15473. description: 商品
  15474. type: string
  15475. type: object
  15476. models.WrScfContract:
  15477. properties:
  15478. borroweruserid:
  15479. description: 借款用户ID
  15480. type: integer
  15481. buybackwrpositionqty:
  15482. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15483. type: number
  15484. closeinterest:
  15485. description: 已结利息 -> 已结费用
  15486. type: number
  15487. currisklevel:
  15488. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15489. type: integer
  15490. deadline:
  15491. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15492. type: string
  15493. deliverygoodscode:
  15494. description: 品种代码
  15495. type: string
  15496. deliverygoodsid:
  15497. description: 品种ID
  15498. type: integer
  15499. deliverygoodsname:
  15500. description: 品种名称
  15501. type: string
  15502. enumdicname:
  15503. description: 单位名称
  15504. type: string
  15505. financingdays:
  15506. description: 天数(天)
  15507. type: integer
  15508. initmargin:
  15509. description: 保证金 - [仓单回购]
  15510. type: number
  15511. interestamount:
  15512. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15513. type: number
  15514. interestdebt:
  15515. description: 利息欠款(记录负数) -> 费用欠款
  15516. type: number
  15517. interestminlen:
  15518. description: 最小起息天数
  15519. type: integer
  15520. interestrate:
  15521. description: 利率
  15522. type: number
  15523. interestratemode:
  15524. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15525. type: integer
  15526. interestsettlemode:
  15527. description: 结息方式 - 1:按日结息 3:按月结息
  15528. type: integer
  15529. interestsettlevalue:
  15530. description: 结息方式值
  15531. type: integer
  15532. isautoloan:
  15533. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15534. type: integer
  15535. lastcloseinterestday:
  15536. description: 最近结息日(yyyyMMdd)
  15537. type: string
  15538. lenderamount:
  15539. description: 贷款金额 -> 借款金额
  15540. type: number
  15541. lenderuserid:
  15542. description: 贷款方用户ID -> 融出方用户ID
  15543. type: integer
  15544. lenderusername:
  15545. description: 融出方
  15546. type: string
  15547. marginratio:
  15548. description: 保证金比率质押率 - [仓单质押]
  15549. type: number
  15550. marketid:
  15551. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15552. type: integer
  15553. minivalue:
  15554. description: 现货商品最小变动值
  15555. type: integer
  15556. optioncompare:
  15557. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15558. type: string
  15559. pricemove:
  15560. description: 估值升贴水值
  15561. type: number
  15562. productdetailid:
  15563. description: 产品组合ID
  15564. type: integer
  15565. productid:
  15566. description: 金融产品ID
  15567. type: integer
  15568. productname:
  15569. description: 产品名称
  15570. type: string
  15571. remainamount:
  15572. description: 合同剩余金额 -> 剩余金额
  15573. type: number
  15574. remainwrpositionqty:
  15575. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15576. type: number
  15577. remark:
  15578. description: 备注
  15579. type: string
  15580. scfcontractid:
  15581. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15582. type: string
  15583. scfcontractstatus:
  15584. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15585. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15586. type: integer
  15587. scfcontracttype:
  15588. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15589. type: integer
  15590. startinterestday:
  15591. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15592. type: string
  15593. totalinterest:
  15594. description: 已计利息 -> 已计费用
  15595. type: number
  15596. unpaidinterest:
  15597. description: 未结费用
  15598. type: number
  15599. updatetime:
  15600. description: 更新时间
  15601. type: string
  15602. warehouseid:
  15603. description: 仓库ID
  15604. type: integer
  15605. warehousename:
  15606. description: 仓库名称
  15607. type: string
  15608. wrfactortypeid:
  15609. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15610. type: string
  15611. wrfactortypename:
  15612. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15613. type: string
  15614. wrqty:
  15615. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15616. type: number
  15617. wrstandardcode:
  15618. description: 现货商品代码
  15619. type: string
  15620. wrstandardid:
  15621. description: 现货商品ID
  15622. type: integer
  15623. wrstandardname:
  15624. description: 商品名称
  15625. type: string
  15626. wrtypename:
  15627. description: 商品
  15628. type: string
  15629. type: object
  15630. models.WrScfContractInterest:
  15631. properties:
  15632. closeinterest:
  15633. description: 已结利息
  15634. type: number
  15635. closeintereststatus:
  15636. description: 结息状态 - 1:未结 2:已结
  15637. type: integer
  15638. closetime:
  15639. description: 结息时间
  15640. type: string
  15641. closetradedate:
  15642. description: 结息交易日
  15643. type: string
  15644. creatorid:
  15645. description: 操作人ID
  15646. type: integer
  15647. dayrate:
  15648. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15649. type: number
  15650. interest:
  15651. description: 利息
  15652. type: number
  15653. interestamount:
  15654. description: 计息金额
  15655. type: number
  15656. interestday:
  15657. description: 计息日(yyyyMMdd)
  15658. type: string
  15659. scfcontractid:
  15660. description: SCF合同ID
  15661. type: string
  15662. scfcontractinterestid:
  15663. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15664. type: integer
  15665. updatetime:
  15666. description: 更新时间
  15667. type: string
  15668. type: object
  15669. models.WrSpecialMatchOrder:
  15670. properties:
  15671. amount:
  15672. description: 金额 = 数量 * 价格
  15673. type: number
  15674. buyorsell:
  15675. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15676. type: integer
  15677. cancelqty:
  15678. description: 撤销数量
  15679. type: number
  15680. deliverygoodscode:
  15681. description: 品种代码
  15682. type: string
  15683. deliverygoodsid:
  15684. description: 品种ID
  15685. type: integer
  15686. deliverygoodsname:
  15687. description: 品种名称
  15688. type: string
  15689. enumdicname:
  15690. description: 单位名称
  15691. type: string
  15692. fixedprice:
  15693. description: 固定价格(价格)
  15694. type: number
  15695. haswr:
  15696. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15697. type: integer
  15698. marketid:
  15699. description: 市场ID
  15700. type: integer
  15701. matchuserid:
  15702. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15703. type: integer
  15704. matchusername:
  15705. description: 指定方
  15706. type: string
  15707. minivalue:
  15708. description: 现货商品最小变动值
  15709. type: integer
  15710. optioncompare:
  15711. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15712. type: string
  15713. orderqty:
  15714. description: 委托数量
  15715. type: number
  15716. ordertime:
  15717. description: 委托时间
  15718. type: string
  15719. pricemove:
  15720. description: 升贴水(浮动价时填写) - [挂牌]
  15721. type: number
  15722. tradedate:
  15723. description: 交易日(yyyyMMdd)
  15724. type: string
  15725. tradeprice:
  15726. description: 成交价格
  15727. type: number
  15728. tradeqty:
  15729. description: 成交数量
  15730. type: number
  15731. userid:
  15732. description: 用户ID
  15733. type: integer
  15734. username:
  15735. description: 发起方
  15736. type: string
  15737. warehouseid:
  15738. description: 仓库ID
  15739. type: integer
  15740. warehousename:
  15741. description: 仓库名称
  15742. type: string
  15743. wrfactortypeid:
  15744. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15745. type: string
  15746. wrfactortypename:
  15747. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15748. type: string
  15749. wrpricetype:
  15750. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15751. type: integer
  15752. wrstandardcode:
  15753. description: 现货商品代码
  15754. type: string
  15755. wrstandardid:
  15756. description: 现货商品ID
  15757. type: integer
  15758. wrstandardname:
  15759. description: 商品名称
  15760. type: string
  15761. wrtradeorderid:
  15762. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15763. type: string
  15764. wrtradeorderstatus:
  15765. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15766. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15767. type: integer
  15768. wrtradetype:
  15769. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15770. type: integer
  15771. wrtypename:
  15772. description: 商品
  15773. type: string
  15774. type: object
  15775. models.WrStandardFactoryItem:
  15776. properties:
  15777. dgfactoryitemid:
  15778. description: 选择项id
  15779. type: integer
  15780. dgfactoryitemvalue:
  15781. description: 要素项值
  15782. type: string
  15783. warehouseid:
  15784. description: 仓库id
  15785. type: integer
  15786. type: object
  15787. models.WrStandardFactoryItemEx:
  15788. properties:
  15789. dgfactoryitemtypeid:
  15790. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15791. type: integer
  15792. itemlst:
  15793. description: 要素项列表
  15794. items:
  15795. $ref: '#/definitions/models.WrStandardFactoryItem'
  15796. type: array
  15797. itemtypename:
  15798. description: 要素项类型名称
  15799. type: string
  15800. wrstandardid:
  15801. description: 品类
  15802. type: integer
  15803. type: object
  15804. models.WrTradeDetail:
  15805. properties:
  15806. accountid:
  15807. description: 资金账号
  15808. type: integer
  15809. buyorsell:
  15810. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15811. type: integer
  15812. deliverygoodscode:
  15813. description: 品种代码
  15814. type: string
  15815. deliverygoodsid:
  15816. description: 品种ID
  15817. type: integer
  15818. deliverygoodsname:
  15819. description: 品种名称
  15820. type: string
  15821. deliverymonth:
  15822. description: 交收月
  15823. type: string
  15824. enumdicname:
  15825. description: 单位名称
  15826. type: string
  15827. haswr:
  15828. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15829. type: integer
  15830. marketid:
  15831. description: 市场ID
  15832. type: integer
  15833. matchaccountid:
  15834. description: 对手账号
  15835. type: integer
  15836. matchusername:
  15837. description: 对手方
  15838. type: string
  15839. minivalue:
  15840. description: 现货商品最小变动值
  15841. type: integer
  15842. optioncompare:
  15843. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15844. type: string
  15845. tradedate:
  15846. description: 交易日(yyyyMMdd)
  15847. type: string
  15848. tradeprice:
  15849. description: 成交价格
  15850. type: number
  15851. tradeqty:
  15852. description: 成交数量
  15853. type: number
  15854. tradetime:
  15855. description: 成交时间
  15856. type: string
  15857. userid:
  15858. description: 用户ID
  15859. type: integer
  15860. warehouseid:
  15861. description: 仓库ID
  15862. type: integer
  15863. warehousename:
  15864. description: 仓库名称
  15865. type: string
  15866. wrfactortypeid:
  15867. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15868. type: string
  15869. wrfactortypename:
  15870. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15871. type: string
  15872. wrstandardcode:
  15873. description: 现货商品代码
  15874. type: string
  15875. wrstandardid:
  15876. description: 现货商品ID
  15877. type: integer
  15878. wrstandardname:
  15879. description: 商品名称
  15880. type: string
  15881. wrtradedetailid:
  15882. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15883. type: string
  15884. wrtradetype:
  15885. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15886. type: integer
  15887. wrtypename:
  15888. description: 商品
  15889. type: string
  15890. type: object
  15891. models.WrTradeOrderDetail:
  15892. properties:
  15893. buyorsell:
  15894. description: 买卖方向 0-买 1-卖
  15895. type: integer
  15896. goodsid:
  15897. description: 商品id
  15898. type: integer
  15899. orderid:
  15900. description: 委托单号
  15901. type: string
  15902. orderprice:
  15903. description: 委托价格
  15904. type: number
  15905. orderqty:
  15906. description: 委托数量
  15907. type: integer
  15908. userid:
  15909. description: 用户id
  15910. type: integer
  15911. username:
  15912. description: 用户名称(已脱敏)
  15913. type: string
  15914. type: object
  15915. models.WrTypeItem:
  15916. properties:
  15917. name:
  15918. description: 名称
  15919. type: string
  15920. value:
  15921. description: 值
  15922. type: string
  15923. type: object
  15924. models.WrUserFriend:
  15925. properties:
  15926. friendname:
  15927. description: 朋友名称(已脱敏)
  15928. type: string
  15929. frienduserid:
  15930. description: 朋友id
  15931. type: integer
  15932. isfriend:
  15933. description: 是否好友 0-不是 1-是
  15934. type: integer
  15935. userid:
  15936. description: 用户id
  15937. type: integer
  15938. type: object
  15939. order.QueryHisTradeDetailRsp:
  15940. properties:
  15941. accountid:
  15942. description: 账户ID[报价币种]
  15943. type: integer
  15944. advanceratio:
  15945. description: 首付比率
  15946. type: number
  15947. buildtype:
  15948. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15949. type: integer
  15950. buyorsell:
  15951. description: 方向 - 0:买 1:卖
  15952. type: integer
  15953. charge:
  15954. description: 手续费
  15955. type: number
  15956. closecharge:
  15957. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15958. type: number
  15959. closeexchagechargevalue:
  15960. description: 平仓交易所手续费设置值
  15961. type: number
  15962. closefeealgorithm:
  15963. description: 平仓手续费收取方式 1:比率 2:固定
  15964. type: integer
  15965. closememberchargevalue:
  15966. description: 平仓会员手续费设置值
  15967. type: number
  15968. closepl:
  15969. description: 平仓盈亏
  15970. type: number
  15971. closepl2:
  15972. description: 平仓盈亏[逐笔]
  15973. type: number
  15974. closeqty:
  15975. description: 平仓数量(先建后平操作 需要记录)
  15976. type: number
  15977. creditamount:
  15978. description: 授信金额
  15979. type: number
  15980. decimalplace:
  15981. description: 商品报价小数位
  15982. type: integer
  15983. enumdicname:
  15984. description: 单位名称
  15985. type: string
  15986. gcaccountid:
  15987. description: 账户ID[合约币种]
  15988. type: integer
  15989. goodscode:
  15990. description: 商品代码
  15991. type: string
  15992. goodsid:
  15993. description: 商品ID
  15994. type: integer
  15995. goodsname:
  15996. description: 商品名称
  15997. type: string
  15998. goodunitid:
  15999. description: 商品单位id
  16000. type: integer
  16001. histradedate:
  16002. description: 历史交易日
  16003. type: string
  16004. intclosepl:
  16005. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16006. type: integer
  16007. isconfirmexercise:
  16008. description: 是否确认行权- 0:否 1:是
  16009. type: integer
  16010. ismain:
  16011. description: 是否主单 - 0:不是 1:是
  16012. type: integer
  16013. ispreexercise:
  16014. description: 是否预申报- 0:否 1:是
  16015. type: integer
  16016. isreckoned:
  16017. description: 是否结算 - 0:未结算 1:已结算
  16018. type: integer
  16019. isvaliddata:
  16020. description: 是否有效 - 0:无效 1:有效
  16021. type: integer
  16022. listingselecttype:
  16023. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16024. type: integer
  16025. marketid:
  16026. description: 市场ID
  16027. type: integer
  16028. marketname:
  16029. description: 市场名称
  16030. type: string
  16031. matchaccountid:
  16032. description: 对手账号id
  16033. type: integer
  16034. memberuserid:
  16035. description: 会员id 个人投资者 需要填写
  16036. type: integer
  16037. opencharge:
  16038. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16039. type: number
  16040. openexchagechargevalue:
  16041. description: 建仓交易所手续费设置值
  16042. type: number
  16043. openfeealgorithm:
  16044. description: 建仓手续费收取方式 1:比率 2:固定
  16045. type: integer
  16046. openmemberchargevalue:
  16047. description: 建仓会员手续费设置值
  16048. type: number
  16049. openqty:
  16050. description: 开仓数量(先建后平操作 需要记录)
  16051. type: number
  16052. optiontype:
  16053. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16054. type: integer
  16055. orderid:
  16056. description: 委托单号
  16057. type: string
  16058. payamount:
  16059. description: 支付金额(付款金额)
  16060. type: number
  16061. performanceplanid:
  16062. description: 履约计划ID[期权]
  16063. type: integer
  16064. performancestatus:
  16065. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16066. type: integer
  16067. preexerciseprice:
  16068. description: 预申报价格
  16069. type: number
  16070. premium:
  16071. description: 权利金 - [持仓单的权利金]
  16072. type: number
  16073. qtydecimalplace:
  16074. description: 商品报价小数位
  16075. type: integer
  16076. recvamount:
  16077. description: 到账金额 = 成交金额 - 手续费
  16078. type: number
  16079. relatedouttradeid:
  16080. description: 关联外部成交单ID
  16081. type: integer
  16082. status:
  16083. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16084. type: integer
  16085. totalamount:
  16086. description: 订单总额 = 成交金额 + 手续费
  16087. type: number
  16088. tradeamount:
  16089. description: 成交金额[账户币种,用于所有权]
  16090. type: number
  16091. tradedate:
  16092. description: 交易日(yyyyMMdd)
  16093. type: string
  16094. tradeid:
  16095. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16096. type: string
  16097. trademode:
  16098. description: 交易模式
  16099. type: integer
  16100. tradeprice:
  16101. description: 成交价格
  16102. type: number
  16103. tradeproperty:
  16104. description: 交易属性
  16105. type: integer
  16106. tradeqty:
  16107. description: 成交数量
  16108. type: number
  16109. tradetime:
  16110. description: 成交时间
  16111. type: string
  16112. tradetype:
  16113. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16114. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16115. type: integer
  16116. required:
  16117. - accountid
  16118. - buyorsell
  16119. - goodsid
  16120. - histradedate
  16121. - marketid
  16122. - memberuserid
  16123. - orderid
  16124. - tradeamount
  16125. - tradedate
  16126. - tradeid
  16127. - tradeprice
  16128. - tradeqty
  16129. - tradetime
  16130. type: object
  16131. order.QueryHisTradeOrderDetailRsp:
  16132. properties:
  16133. accountid:
  16134. description: 账户ID[报价币种]
  16135. type: integer
  16136. buildtype:
  16137. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16138. type: integer
  16139. buyorsell:
  16140. description: 买卖 - 0:买 1:卖
  16141. type: integer
  16142. cancelorderid:
  16143. description: 撤单单号(撤单时填写)
  16144. type: string
  16145. cancelqty:
  16146. description: 撤单数量
  16147. type: number
  16148. clientordertime:
  16149. description: 客户端委托时间
  16150. type: string
  16151. clientticket:
  16152. description: 客户端流水号
  16153. type: string
  16154. clienttype:
  16155. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16156. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16157. type: integer
  16158. closeexchagechargevalue:
  16159. description: 平仓交易所手续费设置值
  16160. type: number
  16161. closefeealgorithm:
  16162. description: 平仓手续费收取方式 1:比率 2:固定
  16163. type: integer
  16164. closefreezecharge:
  16165. description: 平仓冻结手续费(先建后平操作,需要记录)
  16166. type: number
  16167. closememberchargevalue:
  16168. description: 平仓会员手续费设置值
  16169. type: number
  16170. closeqty:
  16171. description: 平仓数量(先建后平操作 需要记录)
  16172. type: number
  16173. closetradeqty:
  16174. description: 平仓成交数量(先建后平操作,需要记录)
  16175. type: number
  16176. closeunfreezecharge:
  16177. description: 平仓解冻手续费(先建后平操作,需要记录)
  16178. type: number
  16179. decimalplace:
  16180. description: 商品报价小数位
  16181. type: integer
  16182. delistingtype:
  16183. description: 摘牌类型 - 1:价格最优 2:点选成交
  16184. type: integer
  16185. enumdicname:
  16186. description: 单位名称
  16187. type: string
  16188. freezecharge:
  16189. description: 冻结手续费
  16190. type: number
  16191. freezemargin:
  16192. description: 冻结保证金(冻结交易金额)
  16193. type: number
  16194. gcaccountid:
  16195. description: 账户ID[合约币种]
  16196. type: integer
  16197. goodscode:
  16198. description: 商品代码
  16199. type: string
  16200. goodsid:
  16201. description: 商品ID
  16202. type: integer
  16203. goodsname:
  16204. description: 商品名称
  16205. type: string
  16206. goodunitid:
  16207. description: 商品单位id
  16208. type: integer
  16209. histradedate:
  16210. description: 历史交易日
  16211. type: string
  16212. isconfirmexercise:
  16213. description: 是否确认行权- 0:否 1:是
  16214. type: integer
  16215. ispreexercise:
  16216. description: 是否预申报- 0:否 1:是
  16217. type: integer
  16218. isvaliddata:
  16219. description: 是否有效 - 0:无效 1:有效
  16220. type: integer
  16221. listingselecttype:
  16222. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16223. type: integer
  16224. marginalgorithm:
  16225. description: 保证金收取方式 1:比率 2:固定
  16226. type: integer
  16227. marginvalue:
  16228. description: 即市保证金设置值
  16229. type: number
  16230. marketid:
  16231. description: 市场ID
  16232. type: integer
  16233. marketmaxsub:
  16234. description: 市价最大偏移范围
  16235. type: number
  16236. marketname:
  16237. description: 市场名称
  16238. type: string
  16239. memberuserid:
  16240. description: 所属会员UserID
  16241. type: integer
  16242. openexchagechargevalue:
  16243. description: 建仓交易所手续费设置值
  16244. type: number
  16245. openfeealgorithm:
  16246. description: 建仓手续费收取方式 1:比率 2:固定
  16247. type: integer
  16248. openfreezecharge:
  16249. description: 开仓冻结手续费(先建后平操作,需要记录)
  16250. type: number
  16251. openmemberchargevalue:
  16252. description: 建仓会员手续费设置值
  16253. type: number
  16254. openqty:
  16255. description: 开仓数量(先建后平操作,需要记录)
  16256. type: number
  16257. opentradeqty:
  16258. description: 开仓成交数量(先建后平操作,需要记录)
  16259. type: number
  16260. openunfreezecharge:
  16261. description: 开仓解冻手续费(先建后平操作,需要记录)
  16262. type: number
  16263. operatetype:
  16264. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16265. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16266. 15:管理端协议转让
  16267. type: integer
  16268. operatorid:
  16269. description: 登录账号(LoginID)
  16270. type: integer
  16271. optiontype:
  16272. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16273. type: integer
  16274. orderid:
  16275. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16276. type: string
  16277. orderprice:
  16278. description: 委托价格
  16279. type: number
  16280. orderqty:
  16281. description: 委托数量
  16282. type: number
  16283. ordersrc:
  16284. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16285. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16286. type: integer
  16287. orderstatus:
  16288. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16289. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16290. 16:成交失败违约(荷兰式竞拍专用)
  16291. type: integer
  16292. ordertime:
  16293. description: 委托时间
  16294. type: string
  16295. preexerciseprice:
  16296. description: 预申报价格
  16297. type: number
  16298. premium:
  16299. description: 权利金
  16300. type: number
  16301. preorderid:
  16302. description: 关联预埋单号(止盈止损单时填写)
  16303. type: string
  16304. pricemode:
  16305. description: '取价方式 - 1:市价 2: 限价'
  16306. type: integer
  16307. qtydecimalplace:
  16308. description: 成交量小数位
  16309. type: integer
  16310. quoteid:
  16311. description: 报价单ID
  16312. type: integer
  16313. relatedid:
  16314. description: 关联单号(交割单)
  16315. type: string
  16316. retcode:
  16317. description: 错误代码
  16318. type: integer
  16319. sessionid:
  16320. description: 会话ID
  16321. type: integer
  16322. tradedate:
  16323. description: 交易日(yyyyMMdd)
  16324. type: string
  16325. trademode:
  16326. description: 交易模式
  16327. type: integer
  16328. tradeproperty:
  16329. description: 交易属性
  16330. type: integer
  16331. tradeqty:
  16332. description: 成交数量
  16333. type: number
  16334. unfreezecharge:
  16335. description: 解冻手续费
  16336. type: number
  16337. unfreezemargin:
  16338. description: 解冻保证金
  16339. type: number
  16340. updatetime:
  16341. description: 更新时间
  16342. type: string
  16343. uuid:
  16344. description: 发起端唯一id
  16345. type: string
  16346. validtime:
  16347. description: 有效期限
  16348. type: string
  16349. validtype:
  16350. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16351. type: integer
  16352. volumetype:
  16353. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16354. type: integer
  16355. required:
  16356. - accountid
  16357. - buildtype
  16358. - buyorsell
  16359. - goodsid
  16360. - histradedate
  16361. - marketid
  16362. - memberuserid
  16363. - operatetype
  16364. - orderid
  16365. - orderqty
  16366. - ordertime
  16367. - pricemode
  16368. - tradedate
  16369. - validtype
  16370. type: object
  16371. order.QueryTradeDetailRsp:
  16372. properties:
  16373. accountid:
  16374. description: 账户ID[报价币种]
  16375. type: integer
  16376. advanceratio:
  16377. description: 首付比率
  16378. type: number
  16379. buildtype:
  16380. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16381. type: integer
  16382. buyorsell:
  16383. description: 方向 - 0:买 1:卖
  16384. type: integer
  16385. charge:
  16386. description: 手续费
  16387. type: number
  16388. closecharge:
  16389. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16390. type: number
  16391. closeexchagechargevalue:
  16392. description: 平仓交易所手续费设置值
  16393. type: number
  16394. closefeealgorithm:
  16395. description: 平仓手续费收取方式 1:比率 2:固定
  16396. type: integer
  16397. closememberchargevalue:
  16398. description: 平仓会员手续费设置值
  16399. type: number
  16400. closepl:
  16401. description: 平仓盈亏
  16402. type: number
  16403. closepl2:
  16404. description: 平仓盈亏[逐笔]
  16405. type: number
  16406. closeqty:
  16407. description: 平仓数量(先建后平操作 需要记录)
  16408. type: number
  16409. creditamount:
  16410. description: 授信金额
  16411. type: number
  16412. decimalplace:
  16413. description: 商品报价小数位
  16414. type: integer
  16415. enumdicname:
  16416. description: 单位名称
  16417. type: string
  16418. gcaccountid:
  16419. description: 账户ID[合约币种]
  16420. type: integer
  16421. goodscode:
  16422. description: 商品代码
  16423. type: string
  16424. goodsid:
  16425. description: 商品ID
  16426. type: integer
  16427. goodsname:
  16428. description: 商品名称
  16429. type: string
  16430. goodunitid:
  16431. description: 商品单位id
  16432. type: integer
  16433. intclosepl:
  16434. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16435. type: integer
  16436. isconfirmexercise:
  16437. description: 是否确认行权- 0:否 1:是
  16438. type: integer
  16439. ismain:
  16440. description: 是否主单 - 0:不是 1:是
  16441. type: integer
  16442. ispreexercise:
  16443. description: 是否预申报- 0:否 1:是
  16444. type: integer
  16445. isreckoned:
  16446. description: 是否结算 - 0:未结算 1:已结算
  16447. type: integer
  16448. listingselecttype:
  16449. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16450. type: integer
  16451. marketid:
  16452. description: 市场ID
  16453. type: integer
  16454. marketname:
  16455. description: 市场名称
  16456. type: string
  16457. matchaccountid:
  16458. description: 对手账号id
  16459. type: integer
  16460. memberuserid:
  16461. description: 会员id 个人投资者 需要填写
  16462. type: integer
  16463. opencharge:
  16464. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16465. type: number
  16466. openexchagechargevalue:
  16467. description: 建仓交易所手续费设置值
  16468. type: number
  16469. openfeealgorithm:
  16470. description: 建仓手续费收取方式 1:比率 2:固定
  16471. type: integer
  16472. openmemberchargevalue:
  16473. description: 建仓会员手续费设置值
  16474. type: number
  16475. openqty:
  16476. description: 开仓数量(先建后平操作 需要记录)
  16477. type: number
  16478. optiontype:
  16479. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16480. type: integer
  16481. orderid:
  16482. description: 委托单号
  16483. type: string
  16484. payamount:
  16485. description: 支付金额(付款金额)
  16486. type: number
  16487. performanceplanid:
  16488. description: 履约计划ID[期权]
  16489. type: integer
  16490. performancestatus:
  16491. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16492. type: integer
  16493. preexerciseprice:
  16494. description: 预申报价格
  16495. type: number
  16496. premium:
  16497. description: 权利金 - [持仓单的权利金]
  16498. type: number
  16499. qtydecimalplace:
  16500. description: 商品报价小数位
  16501. type: integer
  16502. recvamount:
  16503. description: 到账金额 = 成交金额 - 手续费
  16504. type: number
  16505. relatedouttradeid:
  16506. description: 关联外部成交单ID
  16507. type: integer
  16508. status:
  16509. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16510. type: integer
  16511. totalamount:
  16512. description: 订单总额 = 成交金额 + 手续费
  16513. type: number
  16514. tradeamount:
  16515. description: 成交金额[账户币种,用于所有权]
  16516. type: number
  16517. tradedate:
  16518. description: 交易日(yyyyMMdd)
  16519. type: string
  16520. tradeid:
  16521. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16522. type: string
  16523. trademode:
  16524. description: 交易模式
  16525. type: integer
  16526. tradeprice:
  16527. description: 成交价格
  16528. type: number
  16529. tradeproperty:
  16530. description: 交易属性
  16531. type: integer
  16532. tradeqty:
  16533. description: 成交数量
  16534. type: number
  16535. tradetime:
  16536. description: 成交时间
  16537. type: string
  16538. tradetype:
  16539. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16540. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16541. type: integer
  16542. required:
  16543. - accountid
  16544. - buyorsell
  16545. - goodsid
  16546. - marketid
  16547. - memberuserid
  16548. - orderid
  16549. - tradeamount
  16550. - tradedate
  16551. - tradeid
  16552. - tradeprice
  16553. - tradeqty
  16554. - tradetime
  16555. type: object
  16556. order.QueryTradeOrderDetailRsp:
  16557. properties:
  16558. accountid:
  16559. description: 账户ID[报价币种]
  16560. type: integer
  16561. buildtype:
  16562. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16563. type: integer
  16564. buyorsell:
  16565. description: 买卖 - 0:买 1:卖
  16566. type: integer
  16567. cancelorderid:
  16568. description: 撤单单号(撤单时填写)
  16569. type: string
  16570. cancelqty:
  16571. description: 撤单数量
  16572. type: number
  16573. clienttype:
  16574. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16575. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16576. type: integer
  16577. closefreezecharge:
  16578. description: 平仓冻结手续费(先建后平操作,需要记录)
  16579. type: number
  16580. closeqty:
  16581. description: 平仓数量(先建后平操作 需要记录)
  16582. type: number
  16583. closetradeqty:
  16584. description: 平仓成交数量(先建后平操作,需要记录)
  16585. type: number
  16586. closeunfreezecharge:
  16587. description: 平仓解冻手续费(先建后平操作,需要记录)
  16588. type: number
  16589. decimalplace:
  16590. description: 商品报价小数位
  16591. type: integer
  16592. delistingtype:
  16593. description: 摘牌类型 - 1:价格最优 2:点选成交
  16594. type: integer
  16595. enableqty:
  16596. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16597. type: number
  16598. enumdicname:
  16599. description: 单位名称
  16600. type: string
  16601. freezecharge:
  16602. description: 冻结手续费
  16603. type: number
  16604. freezemargin:
  16605. description: 冻结保证金(冻结交易金额)
  16606. type: number
  16607. goodscode:
  16608. description: 商品代码
  16609. type: string
  16610. goodsid:
  16611. description: 商品ID
  16612. type: integer
  16613. goodsname:
  16614. description: 商品名称
  16615. type: string
  16616. goodunitid:
  16617. description: 商品单位id
  16618. type: integer
  16619. listingselecttype:
  16620. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16621. type: integer
  16622. marketid:
  16623. description: 市场ID
  16624. type: integer
  16625. marketname:
  16626. description: 市场名称
  16627. type: string
  16628. openfreezecharge:
  16629. description: 开仓冻结手续费(先建后平操作,需要记录)
  16630. type: number
  16631. openqty:
  16632. description: 开仓数量(先建后平操作,需要记录)
  16633. type: number
  16634. opentradeqty:
  16635. description: 开仓成交数量(先建后平操作,需要记录)
  16636. type: number
  16637. openunfreezecharge:
  16638. description: 开仓解冻手续费(先建后平操作,需要记录)
  16639. type: number
  16640. operatetype:
  16641. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16642. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16643. 15:管理端协议转让
  16644. type: integer
  16645. operatorid:
  16646. description: 登录账号(LoginID)
  16647. type: integer
  16648. orderid:
  16649. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16650. type: string
  16651. orderprice:
  16652. description: 委托价格
  16653. type: number
  16654. orderqty:
  16655. description: 委托数量
  16656. type: number
  16657. ordersrc:
  16658. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16659. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16660. type: integer
  16661. orderstatus:
  16662. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16663. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16664. 16:成交失败违约(荷兰式竞拍专用)
  16665. type: integer
  16666. ordertime:
  16667. description: 委托时间
  16668. type: string
  16669. preorderid:
  16670. description: 关联预埋单号(止盈止损单时填写)
  16671. type: string
  16672. pricemode:
  16673. description: '取价方式 - 1:市价 2: 限价'
  16674. type: integer
  16675. qtydecimalplace:
  16676. description: 商品报价小数位
  16677. type: integer
  16678. relatedid:
  16679. description: 关联单号(交割单)
  16680. type: string
  16681. tradedate:
  16682. description: 交易日(yyyyMMdd)
  16683. type: string
  16684. trademode:
  16685. description: 交易模式
  16686. type: integer
  16687. tradeqty:
  16688. description: 成交数量
  16689. type: number
  16690. unfreezecharge:
  16691. description: 解冻手续费
  16692. type: number
  16693. unfreezemargin:
  16694. description: 解冻保证金
  16695. type: number
  16696. validtime:
  16697. description: 有效期限
  16698. type: string
  16699. validtype:
  16700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16701. type: integer
  16702. volumetype:
  16703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16704. type: integer
  16705. required:
  16706. - accountid
  16707. - buildtype
  16708. - buyorsell
  16709. - goodsid
  16710. - marketid
  16711. - operatetype
  16712. - orderqty
  16713. - ordertime
  16714. - pricemode
  16715. - tradedate
  16716. - validtype
  16717. type: object
  16718. order.QueryTradePositionRsp:
  16719. properties:
  16720. accountid:
  16721. description: 资金账户
  16722. type: integer
  16723. agreeunit:
  16724. description: 合约单位
  16725. type: number
  16726. averageprice:
  16727. description: 持仓均价
  16728. type: number
  16729. buyorsell:
  16730. description: 方向 - 0:买 1:卖
  16731. type: integer
  16732. closetotalqty:
  16733. description: 平仓总数量
  16734. type: number
  16735. curholderamount:
  16736. description: 当前持仓总金额[商品币种]
  16737. type: number
  16738. curpositionqty:
  16739. description: 当前持仓总数量
  16740. type: number
  16741. currencyid:
  16742. description: 报价货币ID
  16743. type: integer
  16744. curtdposition:
  16745. description: 期末今日头寸
  16746. type: number
  16747. decimalplace:
  16748. description: 报价小数位
  16749. type: integer
  16750. enableqty:
  16751. description: 可用量
  16752. type: number
  16753. fretdposition:
  16754. description: 冻结今日头寸
  16755. type: number
  16756. frozenqty:
  16757. description: 持仓冻结数量
  16758. type: number
  16759. goodscode:
  16760. description: 商品代码
  16761. type: string
  16762. goodsid:
  16763. description: 商品Id
  16764. type: integer
  16765. goodsname:
  16766. description: 商品名称
  16767. type: string
  16768. goodunit:
  16769. description: 报价单位
  16770. type: string
  16771. goodunitid:
  16772. description: 报价单位ID
  16773. type: integer
  16774. holderamount:
  16775. description: 期初持仓总金额[商品币种]
  16776. type: number
  16777. lastprice:
  16778. description: 最新价
  16779. type: number
  16780. marketamount:
  16781. description: 市值
  16782. type: number
  16783. marketid:
  16784. description: 所属市场ID
  16785. type: integer
  16786. openreqqty:
  16787. description: 开仓申请数量(用于比较最大持仓数量)
  16788. type: number
  16789. opentotalqty:
  16790. description: 开仓总数量
  16791. type: number
  16792. otherfrozenqty:
  16793. description: 持仓其他冻结数量(交割冻结)
  16794. type: number
  16795. positionpl:
  16796. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16797. * 合约单位
  16798. type: number
  16799. positionplrate:
  16800. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16801. type: number
  16802. positionqty:
  16803. description: 期初持仓数量
  16804. type: number
  16805. qtydecimalplace:
  16806. description: 成交量小数位
  16807. type: integer
  16808. tnqty:
  16809. description: T+N冻结总量
  16810. type: number
  16811. tnusedqty:
  16812. description: T+N使用量(可以使用T+N的冻结数量)
  16813. type: number
  16814. trademode:
  16815. description: 交易模式
  16816. type: integer
  16817. usedmargin:
  16818. description: 占用保证金[商品币种]
  16819. type: number
  16820. required:
  16821. - goodsid
  16822. type: object
  16823. quote.HistoryData:
  16824. properties:
  16825. c:
  16826. description: 收盘价
  16827. type: number
  16828. f:
  16829. description: 是否补充数据
  16830. type: boolean
  16831. h:
  16832. description: 最高价
  16833. type: number
  16834. hv:
  16835. description: 持仓量
  16836. type: integer
  16837. l:
  16838. description: 最低价
  16839. type: number
  16840. o:
  16841. description: 开盘价
  16842. type: number
  16843. s:
  16844. description: 结算价,日线周期(包括)以上才有
  16845. type: number
  16846. ts:
  16847. description: 时间
  16848. type: string
  16849. tt:
  16850. description: 总金额
  16851. type: number
  16852. tv:
  16853. description: 总量
  16854. type: integer
  16855. type: object
  16856. quote.HistoryTikData:
  16857. properties:
  16858. AV:
  16859. description: 卖量
  16860. type: integer
  16861. Ask:
  16862. description: 卖价
  16863. type: number
  16864. BV:
  16865. description: 买量
  16866. type: integer
  16867. Bid:
  16868. description: 买价
  16869. type: number
  16870. HI:
  16871. description: 单笔持仓
  16872. type: integer
  16873. HV:
  16874. description: 持仓量
  16875. type: integer
  16876. PE:
  16877. description: 现价
  16878. type: number
  16879. TDR:
  16880. description: 交易方向,0:买 1:卖
  16881. type: integer
  16882. TK:
  16883. description: 交易类型
  16884. type: integer
  16885. TS:
  16886. description: 行情时间文本
  16887. type: string
  16888. TT:
  16889. description: 现金额
  16890. type: number
  16891. Vol:
  16892. description: 现量
  16893. type: integer
  16894. type: object
  16895. quote.QueryQuoteDayRsp:
  16896. properties:
  16897. ask:
  16898. description: 卖1
  16899. type: number
  16900. ask2:
  16901. description: 卖2
  16902. type: number
  16903. ask3:
  16904. description: 卖3
  16905. type: number
  16906. ask4:
  16907. description: 卖4
  16908. type: number
  16909. ask5:
  16910. description: 卖5
  16911. type: number
  16912. ask6:
  16913. description: 卖6
  16914. type: number
  16915. ask7:
  16916. description: 卖7
  16917. type: number
  16918. ask8:
  16919. description: 卖8
  16920. type: number
  16921. ask9:
  16922. description: 卖9
  16923. type: number
  16924. ask10:
  16925. description: 卖10
  16926. type: number
  16927. askorderid:
  16928. description: 卖单号1
  16929. type: integer
  16930. askorderid2:
  16931. description: 卖单号2
  16932. type: integer
  16933. askorderid3:
  16934. description: 卖单号3
  16935. type: integer
  16936. askorderid4:
  16937. description: 卖单号4
  16938. type: integer
  16939. askorderid5:
  16940. description: 卖单号5
  16941. type: integer
  16942. askordervolume:
  16943. description: 卖单量1
  16944. type: integer
  16945. askordervolume2:
  16946. description: 卖单量2
  16947. type: integer
  16948. askordervolume3:
  16949. description: 卖单量3
  16950. type: integer
  16951. askordervolume4:
  16952. description: 卖单量4
  16953. type: integer
  16954. askordervolume5:
  16955. description: 卖单量5
  16956. type: integer
  16957. askordervolume6:
  16958. description: 卖单量6
  16959. type: integer
  16960. askordervolume7:
  16961. description: 卖单量7
  16962. type: integer
  16963. askordervolume8:
  16964. description: 卖单量8
  16965. type: integer
  16966. askordervolume9:
  16967. description: 卖单量9
  16968. type: integer
  16969. askordervolume10:
  16970. description: 卖单量10
  16971. type: integer
  16972. askqueueinfo:
  16973. description: 大利市卖港股用
  16974. type: string
  16975. askvolume:
  16976. description: 卖量1
  16977. type: integer
  16978. askvolume2:
  16979. description: 卖量2
  16980. type: integer
  16981. askvolume3:
  16982. description: 卖量3
  16983. type: integer
  16984. askvolume4:
  16985. description: 卖量4
  16986. type: integer
  16987. askvolume5:
  16988. description: 卖量5
  16989. type: integer
  16990. askvolume6:
  16991. description: 卖量6
  16992. type: integer
  16993. askvolume7:
  16994. description: 卖量7
  16995. type: integer
  16996. askvolume8:
  16997. description: 卖量8
  16998. type: integer
  16999. askvolume9:
  17000. description: 卖量9
  17001. type: integer
  17002. askvolume10:
  17003. description: 卖量10
  17004. type: integer
  17005. averageprice:
  17006. description: 均价
  17007. type: number
  17008. bid:
  17009. description: 买1
  17010. type: number
  17011. bid2:
  17012. description: 买2
  17013. type: number
  17014. bid3:
  17015. description: 买3
  17016. type: number
  17017. bid4:
  17018. description: 买4
  17019. type: number
  17020. bid5:
  17021. description: 买5
  17022. type: number
  17023. bid6:
  17024. description: 买6
  17025. type: number
  17026. bid7:
  17027. description: 买7
  17028. type: number
  17029. bid8:
  17030. description: 买8
  17031. type: number
  17032. bid9:
  17033. description: 买9
  17034. type: number
  17035. bid10:
  17036. description: 买10
  17037. type: number
  17038. bidorderid:
  17039. description: 买单号1
  17040. type: integer
  17041. bidorderid2:
  17042. description: 买单号2
  17043. type: integer
  17044. bidorderid3:
  17045. description: 买单号3
  17046. type: integer
  17047. bidorderid4:
  17048. description: 买单号4
  17049. type: integer
  17050. bidorderid5:
  17051. description: 买单号5
  17052. type: integer
  17053. bidordervolume:
  17054. description: 买单量1
  17055. type: integer
  17056. bidordervolume2:
  17057. description: 买单量2
  17058. type: integer
  17059. bidordervolume3:
  17060. description: 买单量3
  17061. type: integer
  17062. bidordervolume4:
  17063. description: 买单量4
  17064. type: integer
  17065. bidordervolume5:
  17066. description: 买单量5
  17067. type: integer
  17068. bidordervolume6:
  17069. description: 买单量6
  17070. type: integer
  17071. bidordervolume7:
  17072. description: 买单量7
  17073. type: integer
  17074. bidordervolume8:
  17075. description: 买单量8
  17076. type: integer
  17077. bidordervolume9:
  17078. description: 买单量9
  17079. type: integer
  17080. bidordervolume10:
  17081. description: 买单量10
  17082. type: integer
  17083. bidqueueinfo:
  17084. description: 大利市买港股用
  17085. type: string
  17086. bidvolume:
  17087. description: 买量1
  17088. type: integer
  17089. bidvolume2:
  17090. description: 买量2
  17091. type: integer
  17092. bidvolume3:
  17093. description: 买量3
  17094. type: integer
  17095. bidvolume4:
  17096. description: 买量4
  17097. type: integer
  17098. bidvolume5:
  17099. description: 买量5
  17100. type: integer
  17101. bidvolume6:
  17102. description: 买量6
  17103. type: integer
  17104. bidvolume7:
  17105. description: 买量7
  17106. type: integer
  17107. bidvolume8:
  17108. description: 买量8
  17109. type: integer
  17110. bidvolume9:
  17111. description: 买量9
  17112. type: integer
  17113. bidvolume10:
  17114. description: 买量10
  17115. type: integer
  17116. calloptionpremiums:
  17117. description: 认购期权1
  17118. type: integer
  17119. calloptionpremiums2:
  17120. description: 认购期权2
  17121. type: integer
  17122. calloptionpremiums3:
  17123. description: 认购期权3
  17124. type: integer
  17125. calloptionpremiums4:
  17126. description: 认购期权4
  17127. type: integer
  17128. calloptionpremiums5:
  17129. description: 认购期权5
  17130. type: integer
  17131. cleartime:
  17132. description: 清盘时间
  17133. type: integer
  17134. exchangecode:
  17135. description: 交易所代码
  17136. type: integer
  17137. exchangedate:
  17138. description: 交易日
  17139. type: integer
  17140. goodscode:
  17141. description: 商品代码
  17142. type: string
  17143. grepmarketprice:
  17144. description: 暗盘价 港股专用
  17145. type: number
  17146. highest:
  17147. description: 最高价
  17148. type: number
  17149. holdincrement:
  17150. description: 单笔持仓
  17151. type: integer
  17152. holdvolume:
  17153. description: 持仓
  17154. type: integer
  17155. iep:
  17156. description: 平衡价 港股专用
  17157. type: number
  17158. iev:
  17159. description: 平衡量 港股专用
  17160. type: number
  17161. inventory:
  17162. description: 库存
  17163. type: integer
  17164. iscleared:
  17165. description: 是否清盘标志
  17166. type: integer
  17167. issettled:
  17168. description: 是否结算标志
  17169. type: integer
  17170. last:
  17171. description: 最新价
  17172. type: number
  17173. lastlot:
  17174. description: 最新成交手数
  17175. type: integer
  17176. lasttime:
  17177. description: 行情时间(只有现价变化行情时间才变化)
  17178. type: string
  17179. lastturnover:
  17180. description: 最新成交金额
  17181. type: number
  17182. lastvolume:
  17183. description: 最新成交量
  17184. type: integer
  17185. limitdown:
  17186. description: 跌停价
  17187. type: number
  17188. limitup:
  17189. description: 涨停价
  17190. type: number
  17191. lowest:
  17192. description: 最低价
  17193. type: number
  17194. nontotalholdervolume:
  17195. description: 非交易持仓量
  17196. type: integer
  17197. nontotallot:
  17198. description: 非交易总手数
  17199. type: integer
  17200. nontotalturnover:
  17201. description: 非交易总金额
  17202. type: integer
  17203. nontotalvolume:
  17204. description: 非交易总量
  17205. type: integer
  17206. opened:
  17207. description: 开盘价
  17208. type: number
  17209. opentime:
  17210. description: 开盘时间
  17211. type: string
  17212. orderid:
  17213. description: 序号
  17214. type: integer
  17215. preclose:
  17216. description: 昨收
  17217. type: number
  17218. preholdvolume:
  17219. description: 昨持仓
  17220. type: integer
  17221. presettle:
  17222. description: 昨结价
  17223. type: number
  17224. publictradetype:
  17225. description: 公共交易标志类型 港股专用
  17226. type: string
  17227. putoptionpremiums:
  17228. description: 认沽期权1
  17229. type: integer
  17230. putoptionpremiums2:
  17231. description: 认沽期权2
  17232. type: integer
  17233. putoptionpremiums3:
  17234. description: 认沽期权3
  17235. type: integer
  17236. putoptionpremiums4:
  17237. description: 认沽期权4
  17238. type: integer
  17239. putoptionpremiums5:
  17240. description: 认沽期权5
  17241. type: integer
  17242. settle:
  17243. description: 结算价
  17244. type: number
  17245. strikeprice:
  17246. description: 发行价
  17247. type: number
  17248. totalaskvolume:
  17249. description: 内盘
  17250. type: integer
  17251. totalbidvolume:
  17252. description: 外盘
  17253. type: integer
  17254. totallot:
  17255. description: 总手数
  17256. type: integer
  17257. totalturnover:
  17258. description: 总金额
  17259. type: number
  17260. totalvolume:
  17261. description: 总量
  17262. type: integer
  17263. utclasttime:
  17264. description: utc的行情时间
  17265. type: string
  17266. type: object
  17267. quote.QueryTSDataRsp:
  17268. properties:
  17269. Count:
  17270. description: 交易日应有数据个数
  17271. type: integer
  17272. decimalPlace:
  17273. description: 小数位
  17274. type: integer
  17275. endTime:
  17276. description: 结束时间
  17277. type: string
  17278. goodsCode:
  17279. description: 商品代码
  17280. type: string
  17281. historyDatas:
  17282. description: 历史数据
  17283. items:
  17284. $ref: '#/definitions/quote.HistoryData'
  17285. type: array
  17286. outGoodsCode:
  17287. description: 外部商品代码
  17288. type: string
  17289. preSettle:
  17290. description: 昨结价
  17291. type: number
  17292. runSteps:
  17293. description: 交易日开休市计划
  17294. items:
  17295. $ref: '#/definitions/quote.TSDataRunStep'
  17296. type: array
  17297. startTime:
  17298. description: 开始时间
  17299. type: string
  17300. tradeDate:
  17301. description: 交易日
  17302. type: string
  17303. type: object
  17304. quote.TSDataRunStep:
  17305. properties:
  17306. end:
  17307. description: 真实结束时间
  17308. type: string
  17309. endflag:
  17310. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  17311. type: integer
  17312. endtime:
  17313. description: 结束时间(HH:mm)
  17314. type: string
  17315. endweekday:
  17316. description: 结束周几
  17317. type: integer
  17318. groupid:
  17319. description: 分组ID
  17320. type: integer
  17321. runstep:
  17322. description: 运行阶段 - 2:连续交易
  17323. type: integer
  17324. sectionid:
  17325. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  17326. 结束时间=结算时间 结束周几=结算周几
  17327. type: integer
  17328. start:
  17329. description: 真实开始时间
  17330. type: string
  17331. startflag:
  17332. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17333. type: integer
  17334. starttime:
  17335. description: 起始时间(HH:mm)
  17336. type: string
  17337. startweekday:
  17338. description: 起始周几
  17339. type: integer
  17340. tradeweekday:
  17341. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17342. type: integer
  17343. type: object
  17344. szdz.QueryConvertLogRsp:
  17345. properties:
  17346. accountid:
  17347. description: 资金账户ID
  17348. type: integer
  17349. clientticket:
  17350. description: 客户端流水号
  17351. type: string
  17352. converttype:
  17353. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17354. type: integer
  17355. createtime:
  17356. description: 记账时间
  17357. type: string
  17358. daymaxvalue:
  17359. description: 配置当日最大转入限制
  17360. type: number
  17361. daymaxvalue2:
  17362. description: 配置当日最大转入限制(转入)
  17363. type: number
  17364. goodscode:
  17365. description: 商品代码
  17366. type: string
  17367. goodsname:
  17368. description: 商品名称
  17369. type: string
  17370. handlestatus:
  17371. description: 处理状态
  17372. type: integer
  17373. innergoodsid:
  17374. description: 内部商品ID
  17375. type: integer
  17376. inratio:
  17377. description: 配置转入比值
  17378. type: integer
  17379. invalue:
  17380. description: 目标值
  17381. type: number
  17382. logid:
  17383. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17384. type: integer
  17385. mobile:
  17386. description: 手机号码(加密存储)
  17387. type: string
  17388. outergoodscode:
  17389. description: 外部商品代码[JD\PD]
  17390. type: string
  17391. outratio:
  17392. description: 配置转出比值
  17393. type: integer
  17394. outvalue:
  17395. description: 源值
  17396. type: number
  17397. pddecimalplace:
  17398. description: PD小数位
  17399. type: integer
  17400. qty:
  17401. description: 数量
  17402. type: string
  17403. remark:
  17404. description: 备注
  17405. type: string
  17406. sessionid:
  17407. description: 会话ID
  17408. type: integer
  17409. timemaxvalue:
  17410. description: 配置单次最大转入限制
  17411. type: number
  17412. timemaxvalue2:
  17413. description: 配置单次最大转入限制(转入)
  17414. type: number
  17415. timeminvalue:
  17416. description: 配置单次最小数量限制
  17417. type: number
  17418. timeminvalue2:
  17419. description: 配置单次最小数量限制(转入)
  17420. type: number
  17421. tradedate:
  17422. description: 交易日(yyyyMMdd)
  17423. type: string
  17424. userid:
  17425. description: 用户ID
  17426. type: integer
  17427. required:
  17428. - logid
  17429. type: object
  17430. szdz.QueryGoodsPickupRsp:
  17431. properties:
  17432. accountid:
  17433. description: 账户ID
  17434. type: integer
  17435. address:
  17436. description: 提货人详细地址
  17437. type: string
  17438. auditer:
  17439. description: 审核人
  17440. type: integer
  17441. audittime:
  17442. description: 审核时间
  17443. type: string
  17444. cardnum:
  17445. description: 提货人证件号码
  17446. type: string
  17447. cardtypeid:
  17448. description: 提货人证件类型
  17449. type: integer
  17450. checkremark:
  17451. description: 审核备注
  17452. type: string
  17453. goodscode:
  17454. description: 商品代码
  17455. type: string
  17456. goodsid:
  17457. description: 商品ID
  17458. type: integer
  17459. goodsname:
  17460. description: 商品名称
  17461. type: string
  17462. handlestatus:
  17463. description: 处理状态
  17464. type: integer
  17465. marketid:
  17466. description: 市场ID
  17467. type: integer
  17468. phonenum:
  17469. description: 提货人联系方式
  17470. type: string
  17471. qty:
  17472. description: 提货数量
  17473. type: number
  17474. recivername:
  17475. description: 提货人姓名
  17476. type: string
  17477. reqtime:
  17478. description: 更新时间
  17479. type: string
  17480. takemode:
  17481. description: 提货方式 - 2:自提 3:配送
  17482. type: integer
  17483. takeorderid:
  17484. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17485. type: string
  17486. takeorderstatus:
  17487. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17488. type: integer
  17489. takeremark:
  17490. description: 提货备注
  17491. type: string
  17492. tradedate:
  17493. description: 交易日(yyyyMMdd)
  17494. type: string
  17495. userid:
  17496. description: 用户ID
  17497. type: integer
  17498. required:
  17499. - takeorderid
  17500. type: object
  17501. szdz.QueryRecieptOrderRsp:
  17502. properties:
  17503. accountName:
  17504. description: 所属账号名称(已脱敏)
  17505. type: string
  17506. accountid:
  17507. description: 资金账号
  17508. type: integer
  17509. buyorsell:
  17510. description: 方向 - 0:买 1:卖
  17511. type: integer
  17512. enableqty:
  17513. description: 可摘数量
  17514. type: integer
  17515. goodscode:
  17516. description: 商品代码
  17517. type: string
  17518. goodsid:
  17519. description: 商品ID
  17520. type: integer
  17521. goodsname:
  17522. description: 商品名称
  17523. type: string
  17524. orderid:
  17525. description: 委托单号
  17526. type: string
  17527. orderprice:
  17528. description: 委托价格
  17529. type: number
  17530. ordertime:
  17531. description: 委托时间
  17532. type: string
  17533. tradedate:
  17534. description: 交易日(yyyyMMdd)
  17535. type: string
  17536. required:
  17537. - ordertime
  17538. type: object
  17539. szdz.QuerySZDZTradePositionRsp:
  17540. properties:
  17541. accountid:
  17542. description: 账号Id
  17543. type: integer
  17544. agreeunit:
  17545. description: 合约单位
  17546. type: number
  17547. averageprice:
  17548. description: 持仓均价
  17549. type: number
  17550. buyorsell:
  17551. description: 方向 - 0:买 1:卖
  17552. type: integer
  17553. closetotalqty:
  17554. description: 平仓总数量
  17555. type: integer
  17556. curholderamount:
  17557. description: 当前持仓总金额
  17558. type: number
  17559. curpositionqty:
  17560. description: 当前持仓总数量
  17561. type: integer
  17562. currencyid:
  17563. description: 报价货币ID
  17564. type: integer
  17565. curtdposition:
  17566. description: 期末今日头寸
  17567. type: integer
  17568. decimalplace:
  17569. description: 报价小数位
  17570. type: integer
  17571. enableqty:
  17572. description: 可用量
  17573. type: integer
  17574. fretdposition:
  17575. description: 冻结今日头寸
  17576. type: integer
  17577. frozenqty:
  17578. description: 持仓冻结数量
  17579. type: integer
  17580. goodscode:
  17581. description: 商品代码(内部)
  17582. type: string
  17583. goodsid:
  17584. description: 商品Id
  17585. type: integer
  17586. goodsname:
  17587. description: 商品名称
  17588. type: string
  17589. goodunit:
  17590. description: 报价单位
  17591. type: string
  17592. goodunitid:
  17593. description: 报价单位ID
  17594. type: integer
  17595. holderamount:
  17596. description: 期初持仓总金额
  17597. type: number
  17598. marketid:
  17599. description: 市场ID
  17600. type: integer
  17601. openreqqty:
  17602. description: 开仓申请数量
  17603. type: integer
  17604. opentotalqty:
  17605. description: 开仓总数量
  17606. type: integer
  17607. otherfrozenqty:
  17608. description: 持仓其他冻结数量(交割冻结)
  17609. type: integer
  17610. positionqty:
  17611. description: 期初持仓数量
  17612. type: integer
  17613. szdz3freezqty:
  17614. description: 尚志大宗转换冻结总数量
  17615. type: integer
  17616. tnqty:
  17617. description: T+N冻结总量
  17618. type: integer
  17619. tnusedqty:
  17620. description: T+N使用量
  17621. type: integer
  17622. trademode:
  17623. description: 交易模式
  17624. type: integer
  17625. usedmargin:
  17626. description: 占用保证金
  17627. type: number
  17628. type: object
  17629. taaccount.QueryAmountLogRsp:
  17630. properties:
  17631. OPERATETYPENAME:
  17632. description: 资金操作类型名称
  17633. type: string
  17634. accountid:
  17635. description: 资金账户ID
  17636. type: integer
  17637. agoodscode:
  17638. description: 竞拍商品代码
  17639. type: string
  17640. agoodsname:
  17641. description: 竞拍商品名称
  17642. type: string
  17643. amount:
  17644. description: 资金金额
  17645. type: number
  17646. amountadjusttype:
  17647. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17648. type: integer
  17649. autoid:
  17650. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17651. type: integer
  17652. balance:
  17653. description: 期初余额
  17654. type: number
  17655. businesscode:
  17656. description: 业务编号
  17657. type: integer
  17658. createtime:
  17659. description: 发生时间
  17660. type: string
  17661. currencyid:
  17662. description: 币种ID
  17663. type: integer
  17664. currentbalance:
  17665. description: 期末余额(变动后金额)
  17666. type: number
  17667. dgoodscode:
  17668. description: 交割商品代码
  17669. type: string
  17670. dgoodsname:
  17671. description: 交割商品名称
  17672. type: string
  17673. goodscode:
  17674. description: 商品代码
  17675. type: string
  17676. goodsid:
  17677. description: 商品ID
  17678. type: integer
  17679. goodsname:
  17680. description: 商品名称
  17681. type: string
  17682. marketid:
  17683. description: 市场ID
  17684. type: integer
  17685. marketname:
  17686. description: 市场名称
  17687. type: string
  17688. moneyticket:
  17689. description: 资金流水号:银行端流水号
  17690. type: integer
  17691. operatetype:
  17692. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17693. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17694. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17695. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17696. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17697. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17698. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17699. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17700. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17701. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17702. type: integer
  17703. relationorderid:
  17704. description: 关联单号
  17705. type: string
  17706. remark:
  17707. description: 备注
  17708. type: string
  17709. trademode:
  17710. description: 交易模式
  17711. type: integer
  17712. required:
  17713. - accountid
  17714. - amount
  17715. - amountadjusttype
  17716. - autoid
  17717. - balance
  17718. - createtime
  17719. - currentbalance
  17720. - operatetype
  17721. type: object
  17722. taaccount.QueryHisAmountLogRsp:
  17723. properties:
  17724. OPERATETYPENAME:
  17725. description: 资金操作类型名称
  17726. type: string
  17727. accountid:
  17728. description: 资金账户ID
  17729. type: integer
  17730. agoodscode:
  17731. description: 竞拍商品代码
  17732. type: string
  17733. agoodsname:
  17734. description: 竞拍商品名称
  17735. type: string
  17736. amount:
  17737. description: 资金金额
  17738. type: number
  17739. amountadjusttype:
  17740. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17741. type: integer
  17742. autoid:
  17743. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17744. type: integer
  17745. balance:
  17746. description: 期初余额
  17747. type: number
  17748. businesscode:
  17749. description: 业务编号
  17750. type: integer
  17751. createtime:
  17752. description: 发生时间
  17753. type: string
  17754. currencyid:
  17755. description: 币种ID
  17756. type: integer
  17757. currentbalance:
  17758. description: 期末余额(变动后金额)
  17759. type: number
  17760. dgoodscode:
  17761. description: 交割商品代码
  17762. type: string
  17763. dgoodsname:
  17764. description: 交割商品名称
  17765. type: string
  17766. goodscode:
  17767. description: 商品代码
  17768. type: string
  17769. goodsid:
  17770. description: 商品ID
  17771. type: integer
  17772. goodsname:
  17773. description: 商品名称
  17774. type: string
  17775. histradedate:
  17776. description: 历史交易日
  17777. type: string
  17778. isvaliddata:
  17779. description: 是否有效 - 0:无效 1:有效
  17780. type: integer
  17781. marketid:
  17782. description: 市场ID
  17783. type: integer
  17784. marketname:
  17785. description: 市场名称
  17786. type: string
  17787. moneyticket:
  17788. description: 资金流水号:银行端流水号
  17789. type: integer
  17790. operatetype:
  17791. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17792. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17793. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17794. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17795. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17796. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17797. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17798. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17799. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17800. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17801. type: integer
  17802. relationorderid:
  17803. description: 关联单号
  17804. type: string
  17805. remark:
  17806. description: 备注
  17807. type: string
  17808. trademode:
  17809. description: 交易模式
  17810. type: integer
  17811. required:
  17812. - accountid
  17813. - amount
  17814. - amountadjusttype
  17815. - autoid
  17816. - balance
  17817. - createtime
  17818. - currentbalance
  17819. - histradedate
  17820. - operatetype
  17821. type: object
  17822. trade.QueryRecieptOrderRsp:
  17823. properties:
  17824. accountName:
  17825. description: 所属账号名称(已脱敏)
  17826. type: string
  17827. accountid:
  17828. description: 资金账号
  17829. type: integer
  17830. buyorsell:
  17831. description: 方向 - 0:买 1:卖
  17832. type: integer
  17833. enableqty:
  17834. description: 可摘数量
  17835. type: integer
  17836. goodscode:
  17837. description: 商品代码
  17838. type: string
  17839. goodsid:
  17840. description: 商品ID
  17841. type: integer
  17842. goodsname:
  17843. description: 商品名称
  17844. type: string
  17845. orderid:
  17846. description: 委托单号
  17847. type: string
  17848. orderprice:
  17849. description: 委托价格
  17850. type: number
  17851. ordertime:
  17852. description: 委托时间
  17853. type: string
  17854. tradedate:
  17855. description: 交易日(yyyyMMdd)
  17856. type: string
  17857. required:
  17858. - ordertime
  17859. type: object
  17860. user.LoginQueryRsp:
  17861. properties:
  17862. areaRoles:
  17863. description: 所属角色信息
  17864. items:
  17865. $ref: '#/definitions/models.Arearole'
  17866. type: array
  17867. externalExchanges:
  17868. description: 外部交易所
  17869. items:
  17870. $ref: '#/definitions/models.Externalexchange'
  17871. type: array
  17872. goodsgroups:
  17873. description: 商品组
  17874. items:
  17875. $ref: '#/definitions/models.Goodsgroup'
  17876. type: array
  17877. loginAccount:
  17878. $ref: '#/definitions/models.Loginaccount'
  17879. description: 登录账号
  17880. type: object
  17881. markets:
  17882. description: 市场
  17883. items:
  17884. $ref: '#/definitions/models.Market'
  17885. type: array
  17886. systemParams:
  17887. description: 系统参数
  17888. items:
  17889. $ref: '#/definitions/models.Systemparam'
  17890. type: array
  17891. userAccount:
  17892. $ref: '#/definitions/models.Useraccount'
  17893. description: 用户账号
  17894. type: object
  17895. userInfo:
  17896. $ref: '#/definitions/models.Userinfo'
  17897. description: 用户信息
  17898. type: object
  17899. username:
  17900. description: 用户姓名
  17901. type: string
  17902. type: object
  17903. info:
  17904. contact: {}
  17905. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17906. license: {}
  17907. termsOfService: http://www.muchinfo.cn
  17908. title: MTP2.0 查询服务 API
  17909. version: "1.0"
  17910. paths:
  17911. /CPTrade/QueryCPTradeMyBidInfos:
  17912. get:
  17913. parameters:
  17914. - description: 资金账户
  17915. in: query
  17916. name: accountid
  17917. required: true
  17918. type: integer
  17919. - description: 预售市场ID
  17920. in: query
  17921. name: marketid
  17922. type: integer
  17923. - description: 预售商品ID
  17924. in: query
  17925. name: goodsid
  17926. type: integer
  17927. produces:
  17928. - application/json
  17929. responses:
  17930. "200":
  17931. description: OK
  17932. schema:
  17933. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17934. "500":
  17935. description: Internal Server Error
  17936. schema:
  17937. $ref: '#/definitions/app.Response'
  17938. security:
  17939. - ApiKeyAuth: []
  17940. summary: 查询产能预售我的出价信息
  17941. tags:
  17942. - 产能预售
  17943. /CPTrade/QueryCPTradeOrderDetail:
  17944. get:
  17945. parameters:
  17946. - description: 预售商品ID
  17947. in: query
  17948. name: goodsid
  17949. type: integer
  17950. - description: 预售市场ID
  17951. in: query
  17952. name: marketid
  17953. type: integer
  17954. - description: 预售商品ID列表 - 格式:1,2,3
  17955. in: query
  17956. name: goodsids
  17957. type: string
  17958. produces:
  17959. - application/json
  17960. responses:
  17961. "200":
  17962. description: OK
  17963. schema:
  17964. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17965. "500":
  17966. description: Internal Server Error
  17967. schema:
  17968. $ref: '#/definitions/app.Response'
  17969. security:
  17970. - ApiKeyAuth: []
  17971. summary: 查询产能预售委托单信息
  17972. tags:
  17973. - 产能预售
  17974. /CPTrade/QueryMyCPTradeGoods:
  17975. get:
  17976. parameters:
  17977. - description: 资金账户
  17978. in: query
  17979. name: accountid
  17980. required: true
  17981. type: integer
  17982. produces:
  17983. - application/json
  17984. responses:
  17985. "200":
  17986. description: OK
  17987. schema:
  17988. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17989. "500":
  17990. description: Internal Server Error
  17991. schema:
  17992. $ref: '#/definitions/app.Response'
  17993. security:
  17994. - ApiKeyAuth: []
  17995. summary: 查询我的预售信息
  17996. tags:
  17997. - 产能预售
  17998. /CPTrade/QueryPositionCancel:
  17999. get:
  18000. parameters:
  18001. - description: 账户ID
  18002. in: query
  18003. name: userid
  18004. required: true
  18005. type: integer
  18006. - description: 注销ID
  18007. in: query
  18008. name: cancelid
  18009. type: integer
  18010. - description: 资金账户ID
  18011. in: query
  18012. name: accountid
  18013. type: integer
  18014. produces:
  18015. - application/json
  18016. responses:
  18017. "200":
  18018. description: OK
  18019. schema:
  18020. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18021. "500":
  18022. description: Internal Server Error
  18023. schema:
  18024. $ref: '#/definitions/app.Response'
  18025. security:
  18026. - ApiKeyAuth: []
  18027. summary: 查询远期订单注销申请信息
  18028. tags:
  18029. - 产能预售
  18030. /CPTrade/QueryPreasleApply:
  18031. get:
  18032. parameters:
  18033. - description: 账户ID
  18034. in: query
  18035. name: userid
  18036. required: true
  18037. type: integer
  18038. - description: 申请ID
  18039. in: query
  18040. name: applyid
  18041. type: integer
  18042. - description: 资金账户ID
  18043. in: query
  18044. name: accountid
  18045. type: integer
  18046. produces:
  18047. - application/json
  18048. responses:
  18049. "200":
  18050. description: OK
  18051. schema:
  18052. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18053. "500":
  18054. description: Internal Server Error
  18055. schema:
  18056. $ref: '#/definitions/app.Response'
  18057. security:
  18058. - ApiKeyAuth: []
  18059. summary: 查询产能预售申请信息
  18060. tags:
  18061. - 产能预售
  18062. /CPTrade/QueryPresaleGoodsEx:
  18063. get:
  18064. parameters:
  18065. - description: 预售商品ID
  18066. in: query
  18067. name: goodsid
  18068. type: integer
  18069. - description: 预售市场ID
  18070. in: query
  18071. name: marketid
  18072. type: integer
  18073. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18074. in: query
  18075. name: presalemode
  18076. type: integer
  18077. - description: 预售商品ID列表 - 格式:1,2,3
  18078. in: query
  18079. name: goodsids
  18080. type: string
  18081. - description: 预售商品代码
  18082. in: query
  18083. name: goodscode
  18084. type: string
  18085. produces:
  18086. - application/json
  18087. responses:
  18088. "200":
  18089. description: OK
  18090. schema:
  18091. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18092. "500":
  18093. description: Internal Server Error
  18094. schema:
  18095. $ref: '#/definitions/app.Response'
  18096. security:
  18097. - ApiKeyAuth: []
  18098. summary: 查询产能预售商品扩展信息
  18099. tags:
  18100. - 产能预售
  18101. /CPTrade/QueryUserGoodsData:
  18102. get:
  18103. parameters:
  18104. - description: 资金账户ID
  18105. in: query
  18106. name: accountid
  18107. required: true
  18108. type: integer
  18109. produces:
  18110. - application/json
  18111. responses:
  18112. "200":
  18113. description: OK
  18114. schema:
  18115. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18116. "500":
  18117. description: Internal Server Error
  18118. schema:
  18119. $ref: '#/definitions/app.Response'
  18120. security:
  18121. - ApiKeyAuth: []
  18122. summary: 查询远期订单信息
  18123. tags:
  18124. - 产能预售
  18125. /Common/GetAllEnums:
  18126. get:
  18127. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18128. parameters:
  18129. - description: 起始自增ID
  18130. in: query
  18131. name: autoid
  18132. type: integer
  18133. produces:
  18134. - application/json
  18135. responses:
  18136. "200":
  18137. description: OK
  18138. schema:
  18139. $ref: '#/definitions/models.Enumdicitem'
  18140. "500":
  18141. description: Internal Server Error
  18142. schema:
  18143. $ref: '#/definitions/app.Response'
  18144. summary: 获取所有枚举信息
  18145. tags:
  18146. - 通用服务
  18147. /Common/GetClientMenus:
  18148. get:
  18149. parameters:
  18150. - description: 登录账号
  18151. in: query
  18152. name: loginID
  18153. required: true
  18154. type: integer
  18155. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  18156. in: query
  18157. name: clientType
  18158. type: integer
  18159. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  18160. in: query
  18161. name: name
  18162. type: string
  18163. produces:
  18164. - application/json
  18165. responses:
  18166. "200":
  18167. description: OK
  18168. schema:
  18169. items:
  18170. $ref: '#/definitions/common.ClientMenu'
  18171. type: array
  18172. "500":
  18173. description: Internal Server Error
  18174. schema:
  18175. $ref: '#/definitions/app.Response'
  18176. security:
  18177. - ApiKeyAuth: []
  18178. summary: 获取交易端菜单
  18179. tags:
  18180. - 通用服务
  18181. /Common/GetDivisions:
  18182. get:
  18183. produces:
  18184. - application/json
  18185. responses:
  18186. "200":
  18187. description: OK
  18188. schema:
  18189. $ref: '#/definitions/models.Division'
  18190. "500":
  18191. description: Internal Server Error
  18192. schema:
  18193. $ref: '#/definitions/app.Response'
  18194. summary: 查询区域信息
  18195. tags:
  18196. - 通用服务
  18197. /Common/GetServerTime:
  18198. get:
  18199. produces:
  18200. - application/json
  18201. responses:
  18202. "200":
  18203. description: OK
  18204. schema:
  18205. $ref: '#/definitions/app.Response'
  18206. "500":
  18207. description: Internal Server Error
  18208. schema:
  18209. $ref: '#/definitions/app.Response'
  18210. summary: 获取服务器时间
  18211. tags:
  18212. - 通用服务
  18213. /Common/NoticeReaded:
  18214. post:
  18215. parameters:
  18216. - description: 登录账号
  18217. in: query
  18218. name: loginID
  18219. required: true
  18220. type: integer
  18221. - description: 通知公告ID
  18222. in: query
  18223. name: noticeID
  18224. required: true
  18225. type: integer
  18226. produces:
  18227. - application/json
  18228. responses:
  18229. "200":
  18230. description: OK
  18231. schema:
  18232. $ref: '#/definitions/app.Response'
  18233. "500":
  18234. description: Internal Server Error
  18235. schema:
  18236. $ref: '#/definitions/app.Response'
  18237. security:
  18238. - ApiKeyAuth: []
  18239. summary: 通知公告设置已读请求
  18240. tags:
  18241. - 通用服务
  18242. /Common/QueryErrorInfos:
  18243. get:
  18244. description: 如果传入rowNumber,则返回此rowNumber后的数据
  18245. parameters:
  18246. - description: 起始行号前索引
  18247. in: query
  18248. name: rowNumber
  18249. type: string
  18250. produces:
  18251. - application/json
  18252. responses:
  18253. "200":
  18254. description: OK
  18255. schema:
  18256. $ref: '#/definitions/models.QueryErrorInfosRsp'
  18257. "500":
  18258. description: Internal Server Error
  18259. schema:
  18260. $ref: '#/definitions/app.Response'
  18261. summary: 获取数据库错误信息
  18262. tags:
  18263. - 通用服务
  18264. /Common/QueryImageConfigs:
  18265. get:
  18266. parameters:
  18267. - description: 用户id
  18268. in: query
  18269. name: userId
  18270. type: integer
  18271. - description: 类型 - 1:App首页轮播 2:我的
  18272. in: query
  18273. name: imageType
  18274. type: integer
  18275. produces:
  18276. - application/json
  18277. responses:
  18278. "200":
  18279. description: OK
  18280. schema:
  18281. $ref: '#/definitions/common.QueryImageConfigsRsp'
  18282. "500":
  18283. description: Internal Server Error
  18284. schema:
  18285. $ref: '#/definitions/app.Response'
  18286. summary: 查询轮播图配置信息
  18287. tags:
  18288. - 通用服务
  18289. /Common/QueryNotice:
  18290. get:
  18291. parameters:
  18292. - description: 页码
  18293. in: query
  18294. name: page
  18295. type: integer
  18296. - description: 每页条数
  18297. in: query
  18298. name: pagesize
  18299. type: integer
  18300. - description: 登录账号
  18301. in: query
  18302. name: loginID
  18303. required: true
  18304. type: integer
  18305. - description: 消息类型 - 1:公告通知 2:系统消息
  18306. in: query
  18307. name: msgType
  18308. type: integer
  18309. - description: 是否只获取未读信息
  18310. in: query
  18311. name: onlyUnRead
  18312. type: boolean
  18313. - description: 自增ID,传入后会返回这个ID后面的记录
  18314. in: query
  18315. name: lastID
  18316. type: integer
  18317. produces:
  18318. - application/json
  18319. responses:
  18320. "200":
  18321. description: OK
  18322. schema:
  18323. $ref: '#/definitions/common.QueryNoticeRsp'
  18324. "500":
  18325. description: Internal Server Error
  18326. schema:
  18327. $ref: '#/definitions/app.Response'
  18328. security:
  18329. - ApiKeyAuth: []
  18330. summary: 通知公告系统消息查询
  18331. tags:
  18332. - 通用服务
  18333. /Common/QueryProvincesAndCities:
  18334. get:
  18335. parameters:
  18336. - description: 省ID
  18337. in: query
  18338. name: provinceID
  18339. type: integer
  18340. produces:
  18341. - application/json
  18342. responses:
  18343. "200":
  18344. description: OK
  18345. schema:
  18346. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18347. "500":
  18348. description: Internal Server Error
  18349. schema:
  18350. $ref: '#/definitions/app.Response'
  18351. summary: 查询省市信息(不包括区)
  18352. tags:
  18353. - 通用服务
  18354. /Common/QueryTableDefine:
  18355. get:
  18356. parameters:
  18357. - description: 表key
  18358. in: query
  18359. name: tableKey
  18360. type: string
  18361. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18362. in: query
  18363. name: tableType
  18364. type: integer
  18365. produces:
  18366. - application/json
  18367. responses:
  18368. "200":
  18369. description: OK
  18370. schema:
  18371. $ref: '#/definitions/common.QueryTableDefineRsp'
  18372. "500":
  18373. description: Internal Server Error
  18374. schema:
  18375. $ref: '#/definitions/app.Response'
  18376. summary: 查询交易端列表头信息
  18377. tags:
  18378. - 通用服务
  18379. /Common/QueryTraderMenu:
  18380. get:
  18381. parameters:
  18382. - description: 登录账号
  18383. in: query
  18384. name: loginid
  18385. required: true
  18386. type: integer
  18387. produces:
  18388. - application/json
  18389. responses:
  18390. "200":
  18391. description: OK
  18392. schema:
  18393. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18394. "500":
  18395. description: Internal Server Error
  18396. schema:
  18397. $ref: '#/definitions/app.Response'
  18398. summary: 查询交易端菜单
  18399. tags:
  18400. - 通用服务
  18401. /Delivery/QueryDeliveryRelation:
  18402. get:
  18403. parameters:
  18404. - description: 商品ID
  18405. in: query
  18406. name: goodsid
  18407. type: integer
  18408. - description: 品种ID
  18409. in: query
  18410. name: deliverygoodsid
  18411. type: integer
  18412. - description: 市场ID
  18413. in: query
  18414. name: marketid
  18415. type: integer
  18416. produces:
  18417. - application/json
  18418. responses:
  18419. "200":
  18420. description: OK
  18421. schema:
  18422. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18423. "500":
  18424. description: Internal Server Error
  18425. schema:
  18426. $ref: '#/definitions/app.Response'
  18427. security:
  18428. - ApiKeyAuth: []
  18429. summary: 查询商品交割关系表
  18430. tags:
  18431. - 交割服务
  18432. /Ermcp/GetErmcpGoods:
  18433. get:
  18434. parameters:
  18435. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18436. in: query
  18437. name: lastUpdateTime
  18438. type: string
  18439. produces:
  18440. - application/json
  18441. responses:
  18442. "200":
  18443. description: OK
  18444. schema:
  18445. $ref: '#/definitions/models.ErmcpGoods'
  18446. "500":
  18447. description: Internal Server Error
  18448. schema:
  18449. $ref: '#/definitions/app.Response'
  18450. security:
  18451. - ApiKeyAuth: []
  18452. summary: 查询企业风管期货商品信息
  18453. tags:
  18454. - 企业风险管理(app)
  18455. /Ermcp/GetErmcpGoodsSortByPosition:
  18456. get:
  18457. parameters:
  18458. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18459. in: query
  18460. name: sortIndex
  18461. type: string
  18462. produces:
  18463. - application/json
  18464. responses:
  18465. "200":
  18466. description: OK
  18467. schema:
  18468. $ref: '#/definitions/models.Goodssortbypreposition'
  18469. "500":
  18470. description: Internal Server Error
  18471. schema:
  18472. $ref: '#/definitions/app.Response'
  18473. security:
  18474. - ApiKeyAuth: []
  18475. summary: 查询企业风管期货主力、次主力商品信息
  18476. tags:
  18477. - 企业风险管理(app)
  18478. /Ermcp/GetErmcpOutAccountStatus:
  18479. get:
  18480. parameters:
  18481. - description: 登录账号
  18482. in: query
  18483. name: loginID
  18484. required: true
  18485. type: integer
  18486. produces:
  18487. - application/json
  18488. responses:
  18489. "200":
  18490. description: OK
  18491. schema:
  18492. $ref: '#/definitions/models.Hedgemarketopenlog'
  18493. "500":
  18494. description: Internal Server Error
  18495. schema:
  18496. $ref: '#/definitions/app.Response'
  18497. security:
  18498. - ApiKeyAuth: []
  18499. summary: 获取目标登录账号当前对冲账号在线状态
  18500. tags:
  18501. - 企业风险管理(app)
  18502. /Ermcp/GetErmcpRoleFuncMenuLists:
  18503. get:
  18504. parameters:
  18505. - description: 登录账号
  18506. in: query
  18507. name: loginID
  18508. required: true
  18509. type: integer
  18510. produces:
  18511. - application/json
  18512. responses:
  18513. "200":
  18514. description: OK
  18515. schema:
  18516. $ref: '#/definitions/models.Funcmenulist'
  18517. "500":
  18518. description: Internal Server Error
  18519. schema:
  18520. $ref: '#/definitions/app.Response'
  18521. security:
  18522. - ApiKeyAuth: []
  18523. summary: 获取企业风管终端权限
  18524. tags:
  18525. - 企业风险管理(app)
  18526. /Ermcp/QueryAccMgrBizGroupSet:
  18527. get:
  18528. parameters:
  18529. - description: 用户ID
  18530. in: query
  18531. name: userid
  18532. required: true
  18533. type: integer
  18534. - description: 现货商品id
  18535. in: query
  18536. name: deliverygoodsid
  18537. type: integer
  18538. produces:
  18539. - application/json
  18540. responses:
  18541. "200":
  18542. description: OK
  18543. schema:
  18544. items:
  18545. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18546. type: array
  18547. "500":
  18548. description: Internal Server Error
  18549. schema:
  18550. $ref: '#/definitions/app.Response'
  18551. security:
  18552. - ApiKeyAuth: []
  18553. summary: 查询业务类型分组(账户管理/账户设置)
  18554. tags:
  18555. - 企业风险管理(app)
  18556. /Ermcp/QueryAccMgrLoginUser:
  18557. get:
  18558. parameters:
  18559. - description: 用户ID
  18560. in: query
  18561. name: userid
  18562. required: true
  18563. type: integer
  18564. - description: 用户类型 2-机构 7-企业成员
  18565. in: query
  18566. name: usertype
  18567. type: integer
  18568. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18569. in: query
  18570. name: querytype
  18571. required: true
  18572. type: integer
  18573. produces:
  18574. - application/json
  18575. responses:
  18576. "200":
  18577. description: OK
  18578. schema:
  18579. items:
  18580. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18581. type: array
  18582. "500":
  18583. description: Internal Server Error
  18584. schema:
  18585. $ref: '#/definitions/app.Response'
  18586. security:
  18587. - ApiKeyAuth: []
  18588. summary: 查询账户管理登录账号(账户管理/登录账号)
  18589. tags:
  18590. - 企业风险管理(app)
  18591. /Ermcp/QueryAccMgrMainAccountInfo:
  18592. get:
  18593. parameters:
  18594. - description: 用户ID
  18595. in: query
  18596. name: userid
  18597. type: integer
  18598. - description: 主账号id
  18599. in: query
  18600. name: accountid
  18601. type: integer
  18602. produces:
  18603. - application/json
  18604. responses:
  18605. "200":
  18606. description: OK
  18607. schema:
  18608. items:
  18609. $ref: '#/definitions/models.MainAccountInfo'
  18610. type: array
  18611. "500":
  18612. description: Internal Server Error
  18613. schema:
  18614. $ref: '#/definitions/app.Response'
  18615. security:
  18616. - ApiKeyAuth: []
  18617. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18618. tags:
  18619. - 企业风险管理(app)
  18620. /Ermcp/QueryAccMgrRole:
  18621. get:
  18622. parameters:
  18623. - description: 用户ID
  18624. in: query
  18625. name: userid
  18626. required: true
  18627. type: integer
  18628. produces:
  18629. - application/json
  18630. responses:
  18631. "200":
  18632. description: OK
  18633. schema:
  18634. items:
  18635. $ref: '#/definitions/models.ErmcpRole'
  18636. type: array
  18637. "500":
  18638. description: Internal Server Error
  18639. schema:
  18640. $ref: '#/definitions/app.Response'
  18641. security:
  18642. - ApiKeyAuth: []
  18643. summary: 查询账户管理角色设置(账户管理/角色设置)
  18644. tags:
  18645. - 企业风险管理(app)
  18646. /Ermcp/QueryAccMgrRoleMenu:
  18647. get:
  18648. parameters:
  18649. - description: 用户ID
  18650. in: query
  18651. name: userid
  18652. required: true
  18653. type: integer
  18654. - description: 角色id(可多个,逗号隔开)
  18655. in: query
  18656. name: roleid
  18657. type: string
  18658. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18659. in: query
  18660. name: menutype
  18661. type: integer
  18662. produces:
  18663. - application/json
  18664. responses:
  18665. "200":
  18666. description: OK
  18667. schema:
  18668. items:
  18669. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18670. type: array
  18671. "500":
  18672. description: Internal Server Error
  18673. schema:
  18674. $ref: '#/definitions/app.Response'
  18675. security:
  18676. - ApiKeyAuth: []
  18677. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18678. tags:
  18679. - 企业风险管理(app)
  18680. /Ermcp/QueryAccMgrTaAccountInfo:
  18681. get:
  18682. parameters:
  18683. - description: 用户ID
  18684. in: query
  18685. name: userid
  18686. required: true
  18687. type: integer
  18688. - description: 账号id
  18689. in: query
  18690. name: accountid
  18691. type: integer
  18692. produces:
  18693. - application/json
  18694. responses:
  18695. "200":
  18696. description: OK
  18697. schema:
  18698. items:
  18699. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18700. type: array
  18701. "500":
  18702. description: Internal Server Error
  18703. schema:
  18704. $ref: '#/definitions/app.Response'
  18705. security:
  18706. - ApiKeyAuth: []
  18707. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18708. tags:
  18709. - 企业风险管理(app)
  18710. /Ermcp/QueryAccMgrTaaccount:
  18711. get:
  18712. parameters:
  18713. - description: 用户ID
  18714. in: query
  18715. name: userid
  18716. required: true
  18717. type: integer
  18718. produces:
  18719. - application/json
  18720. responses:
  18721. "200":
  18722. description: OK
  18723. schema:
  18724. items:
  18725. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18726. type: array
  18727. "500":
  18728. description: Internal Server Error
  18729. schema:
  18730. $ref: '#/definitions/app.Response'
  18731. security:
  18732. - ApiKeyAuth: []
  18733. summary: 查询账户管理期货账号(账户管理/期货账号)
  18734. tags:
  18735. - 企业风险管理(app)
  18736. /Ermcp/QueryAvaildGoodsGroup:
  18737. get:
  18738. parameters:
  18739. - description: 所属机构ID
  18740. in: query
  18741. name: userid
  18742. required: true
  18743. type: integer
  18744. produces:
  18745. - application/json
  18746. responses:
  18747. "200":
  18748. description: OK
  18749. schema:
  18750. items:
  18751. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18752. type: array
  18753. "500":
  18754. description: Internal Server Error
  18755. schema:
  18756. $ref: '#/definitions/app.Response'
  18757. security:
  18758. - ApiKeyAuth: []
  18759. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18760. tags:
  18761. - 企业风险管理(app)
  18762. /Ermcp/QueryBusinessDj:
  18763. get:
  18764. parameters:
  18765. - description: 用户ID
  18766. in: query
  18767. name: UserId
  18768. required: true
  18769. type: integer
  18770. - description: 用户类型 2-机构 7-企业成员
  18771. in: query
  18772. name: usertype
  18773. type: integer
  18774. - description: 现货合同ID, 不填则查所有
  18775. in: query
  18776. name: relatedid
  18777. type: string
  18778. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18779. in: query
  18780. name: applystatus
  18781. type: string
  18782. produces:
  18783. - application/json
  18784. responses:
  18785. "200":
  18786. description: OK
  18787. schema:
  18788. items:
  18789. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18790. type: array
  18791. "500":
  18792. description: Internal Server Error
  18793. schema:
  18794. $ref: '#/definitions/app.Response'
  18795. security:
  18796. - ApiKeyAuth: []
  18797. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18798. tags:
  18799. - 企业风险管理(app)
  18800. /Ermcp/QueryBusinessFp:
  18801. get:
  18802. parameters:
  18803. - description: 用户ID
  18804. in: query
  18805. name: UserId
  18806. required: true
  18807. type: integer
  18808. - description: 用户类型 2-机构 7-企业成员
  18809. in: query
  18810. name: usertype
  18811. type: integer
  18812. - description: 现货合同ID, 不填则查所有
  18813. in: query
  18814. name: relatedid
  18815. type: string
  18816. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18817. in: query
  18818. name: applystatus
  18819. type: string
  18820. produces:
  18821. - application/json
  18822. responses:
  18823. "200":
  18824. description: OK
  18825. schema:
  18826. items:
  18827. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18828. type: array
  18829. "500":
  18830. description: Internal Server Error
  18831. schema:
  18832. $ref: '#/definitions/app.Response'
  18833. security:
  18834. - ApiKeyAuth: []
  18835. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18836. tags:
  18837. - 企业风险管理(app)
  18838. /Ermcp/QueryBusinessJs:
  18839. get:
  18840. parameters:
  18841. - description: 用户ID
  18842. in: query
  18843. name: UserId
  18844. required: true
  18845. type: integer
  18846. - description: 用户类型 2-机构 7-企业成员
  18847. in: query
  18848. name: usertype
  18849. type: integer
  18850. - description: 现货合同ID, 不填则查所有
  18851. in: query
  18852. name: relatedid
  18853. type: string
  18854. - description: 操作申请id
  18855. in: query
  18856. name: operateapplyid
  18857. type: string
  18858. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18859. in: query
  18860. name: applystatus
  18861. type: string
  18862. produces:
  18863. - application/json
  18864. responses:
  18865. "200":
  18866. description: OK
  18867. schema:
  18868. items:
  18869. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18870. type: array
  18871. "500":
  18872. description: Internal Server Error
  18873. schema:
  18874. $ref: '#/definitions/app.Response'
  18875. security:
  18876. - ApiKeyAuth: []
  18877. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18878. tags:
  18879. - 企业风险管理(app)
  18880. /Ermcp/QueryBusinessJsEx:
  18881. get:
  18882. parameters:
  18883. - description: 用户ID
  18884. in: query
  18885. name: UserId
  18886. required: true
  18887. type: integer
  18888. - description: 用户类型 2-机构 7-企业成员
  18889. in: query
  18890. name: usertype
  18891. type: integer
  18892. - description: 现货合同ID, 不填则查所有
  18893. in: query
  18894. name: relatedid
  18895. type: string
  18896. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18897. in: query
  18898. name: applystatus
  18899. type: string
  18900. produces:
  18901. - application/json
  18902. responses:
  18903. "200":
  18904. description: OK
  18905. schema:
  18906. items:
  18907. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18908. type: array
  18909. "500":
  18910. description: Internal Server Error
  18911. schema:
  18912. $ref: '#/definitions/app.Response'
  18913. security:
  18914. - ApiKeyAuth: []
  18915. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18916. tags:
  18917. - 企业风险管理(app)
  18918. /Ermcp/QueryBusinessKx:
  18919. get:
  18920. parameters:
  18921. - description: 用户ID
  18922. in: query
  18923. name: UserId
  18924. required: true
  18925. type: integer
  18926. - description: 用户类型 2-机构 7-企业成员
  18927. in: query
  18928. name: usertype
  18929. type: integer
  18930. - description: 现货合同ID, 不填则查所有
  18931. in: query
  18932. name: relatedid
  18933. type: string
  18934. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18935. in: query
  18936. name: applystatus
  18937. type: string
  18938. produces:
  18939. - application/json
  18940. responses:
  18941. "200":
  18942. description: OK
  18943. schema:
  18944. items:
  18945. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18946. type: array
  18947. "500":
  18948. description: Internal Server Error
  18949. schema:
  18950. $ref: '#/definitions/app.Response'
  18951. security:
  18952. - ApiKeyAuth: []
  18953. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18954. tags:
  18955. - 企业风险管理(app)
  18956. /Ermcp/QueryChangeLog:
  18957. get:
  18958. parameters:
  18959. - description: 合同ID
  18960. in: query
  18961. name: RelatedId
  18962. required: true
  18963. type: string
  18964. produces:
  18965. - application/json
  18966. responses:
  18967. "200":
  18968. description: OK
  18969. schema:
  18970. items:
  18971. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18972. type: array
  18973. "500":
  18974. description: Internal Server Error
  18975. schema:
  18976. $ref: '#/definitions/app.Response'
  18977. security:
  18978. - ApiKeyAuth: []
  18979. summary: 查询变更记录
  18980. tags:
  18981. - 企业风险管理(app)
  18982. /Ermcp/QueryErmcpHisOrderDetails:
  18983. get:
  18984. parameters:
  18985. - description: 资金账户ID
  18986. in: query
  18987. name: accountID
  18988. required: true
  18989. type: integer
  18990. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18991. in: query
  18992. name: startDate
  18993. type: string
  18994. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18995. in: query
  18996. name: endDate
  18997. type: string
  18998. produces:
  18999. - application/json
  19000. responses:
  19001. "200":
  19002. description: OK
  19003. schema:
  19004. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19005. "500":
  19006. description: Internal Server Error
  19007. schema:
  19008. $ref: '#/definitions/app.Response'
  19009. security:
  19010. - ApiKeyAuth: []
  19011. summary: 获取企业风管期货历史委托单信息
  19012. tags:
  19013. - 企业风险管理(app)
  19014. /Ermcp/QueryErmcpHisTradeDetails:
  19015. get:
  19016. parameters:
  19017. - description: 资金账户ID
  19018. in: query
  19019. name: accountID
  19020. required: true
  19021. type: integer
  19022. - description: 商品ID
  19023. in: query
  19024. name: goodsID
  19025. type: integer
  19026. - description: 买卖方向,0:买 1:卖
  19027. in: query
  19028. name: buyOrSell
  19029. type: integer
  19030. - description: 关联委托单号
  19031. in: query
  19032. name: orderID
  19033. type: integer
  19034. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19035. in: query
  19036. name: startDate
  19037. type: string
  19038. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19039. in: query
  19040. name: endDate
  19041. type: string
  19042. produces:
  19043. - application/json
  19044. responses:
  19045. "200":
  19046. description: OK
  19047. schema:
  19048. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19049. "500":
  19050. description: Internal Server Error
  19051. schema:
  19052. $ref: '#/definitions/app.Response'
  19053. security:
  19054. - ApiKeyAuth: []
  19055. summary: 获取企业风管期货历史成交单信息
  19056. tags:
  19057. - 企业风险管理(app)
  19058. /Ermcp/QueryErmcpInnerHolderDetails:
  19059. get:
  19060. parameters:
  19061. - description: 资金账户ID
  19062. in: query
  19063. name: accountID
  19064. required: true
  19065. type: integer
  19066. - description: 商品ID
  19067. in: query
  19068. name: goodsID
  19069. type: integer
  19070. - description: 买卖方向,0:买 1:卖
  19071. in: query
  19072. name: buyOrSell
  19073. type: integer
  19074. produces:
  19075. - application/json
  19076. responses:
  19077. "200":
  19078. description: OK
  19079. schema:
  19080. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19081. "500":
  19082. description: Internal Server Error
  19083. schema:
  19084. $ref: '#/definitions/app.Response'
  19085. security:
  19086. - ApiKeyAuth: []
  19087. summary: 获取企业风管期货内部持仓单信息
  19088. tags:
  19089. - 企业风险管理(app)
  19090. /Ermcp/QueryErmcpOrderDetails:
  19091. get:
  19092. parameters:
  19093. - description: 资金账户ID
  19094. in: query
  19095. name: accountID
  19096. required: true
  19097. type: integer
  19098. produces:
  19099. - application/json
  19100. responses:
  19101. "200":
  19102. description: OK
  19103. schema:
  19104. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19105. "500":
  19106. description: Internal Server Error
  19107. schema:
  19108. $ref: '#/definitions/app.Response'
  19109. security:
  19110. - ApiKeyAuth: []
  19111. summary: 获取企业风管期货委托单信息
  19112. tags:
  19113. - 企业风险管理(app)
  19114. /Ermcp/QueryErmcpTradeDetails:
  19115. get:
  19116. parameters:
  19117. - description: 资金账户ID
  19118. in: query
  19119. name: accountID
  19120. required: true
  19121. type: integer
  19122. - description: 商品ID
  19123. in: query
  19124. name: goodsID
  19125. type: integer
  19126. - description: 买卖方向,0:买 1:卖
  19127. in: query
  19128. name: buyOrSell
  19129. type: integer
  19130. - description: 关联委托单号
  19131. in: query
  19132. name: orderID
  19133. type: integer
  19134. produces:
  19135. - application/json
  19136. responses:
  19137. "200":
  19138. description: OK
  19139. schema:
  19140. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19141. "500":
  19142. description: Internal Server Error
  19143. schema:
  19144. $ref: '#/definitions/app.Response'
  19145. security:
  19146. - ApiKeyAuth: []
  19147. summary: 获取企业风管期货成交单信息
  19148. tags:
  19149. - 企业风险管理(app)
  19150. /Ermcp/QueryErmcpTradePosition:
  19151. get:
  19152. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  19153. parameters:
  19154. - description: 资金账户ID
  19155. in: query
  19156. name: accountID
  19157. required: true
  19158. type: integer
  19159. - description: 所属市场ID
  19160. in: query
  19161. name: marketID
  19162. type: integer
  19163. produces:
  19164. - application/json
  19165. responses:
  19166. "200":
  19167. description: OK
  19168. schema:
  19169. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  19170. "500":
  19171. description: Internal Server Error
  19172. schema:
  19173. $ref: '#/definitions/app.Response'
  19174. security:
  19175. - ApiKeyAuth: []
  19176. summary: 获取企业风管期货持仓头寸信息
  19177. tags:
  19178. - 企业风险管理(app)
  19179. /Ermcp/QueryExposureDetail:
  19180. get:
  19181. parameters:
  19182. - description: 所属机构ID
  19183. in: query
  19184. name: areaUserId
  19185. required: true
  19186. type: integer
  19187. - description: 套保商品
  19188. in: query
  19189. name: middleGoodsId
  19190. required: true
  19191. type: integer
  19192. produces:
  19193. - application/json
  19194. responses:
  19195. "200":
  19196. description: OK
  19197. schema:
  19198. items:
  19199. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  19200. type: array
  19201. "500":
  19202. description: Internal Server Error
  19203. schema:
  19204. $ref: '#/definitions/app.Response'
  19205. security:
  19206. - ApiKeyAuth: []
  19207. summary: 查询敞口现货明细
  19208. tags:
  19209. - 企业风险管理(app)
  19210. /Ermcp/QueryExposureGoods:
  19211. get:
  19212. parameters:
  19213. - description: 套保商品id
  19214. in: query
  19215. name: middlegoodsid
  19216. required: true
  19217. type: integer
  19218. produces:
  19219. - application/json
  19220. responses:
  19221. "200":
  19222. description: OK
  19223. schema:
  19224. items:
  19225. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  19226. type: array
  19227. "500":
  19228. description: Internal Server Error
  19229. schema:
  19230. $ref: '#/definitions/app.Response'
  19231. security:
  19232. - ApiKeyAuth: []
  19233. summary: 查询敞口主力合约
  19234. tags:
  19235. - 企业风险管理(app)
  19236. /Ermcp/QueryExposureHedgePosition:
  19237. get:
  19238. parameters:
  19239. - description: 用户id
  19240. in: query
  19241. name: userid
  19242. required: true
  19243. type: integer
  19244. produces:
  19245. - application/json
  19246. responses:
  19247. "200":
  19248. description: OK
  19249. schema:
  19250. items:
  19251. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  19252. type: array
  19253. "500":
  19254. description: Internal Server Error
  19255. schema:
  19256. $ref: '#/definitions/app.Response'
  19257. security:
  19258. - ApiKeyAuth: []
  19259. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  19260. tags:
  19261. - 企业风险管理(app)
  19262. /Ermcp/QueryExposureHedgePositionDetail:
  19263. get:
  19264. parameters:
  19265. - description: 所属机构ID
  19266. in: query
  19267. name: userid
  19268. required: true
  19269. type: integer
  19270. - description: 商品id
  19271. in: query
  19272. name: goodsId
  19273. required: true
  19274. type: integer
  19275. produces:
  19276. - application/json
  19277. responses:
  19278. "200":
  19279. description: OK
  19280. schema:
  19281. items:
  19282. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  19283. type: array
  19284. "500":
  19285. description: Internal Server Error
  19286. schema:
  19287. $ref: '#/definitions/app.Response'
  19288. security:
  19289. - ApiKeyAuth: []
  19290. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  19291. tags:
  19292. - 企业风险管理(app)
  19293. /Ermcp/QueryExposureSpot:
  19294. get:
  19295. parameters:
  19296. - description: 所属机构ID
  19297. in: query
  19298. name: areaUserId
  19299. required: true
  19300. type: integer
  19301. produces:
  19302. - application/json
  19303. responses:
  19304. "200":
  19305. description: OK
  19306. schema:
  19307. items:
  19308. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  19309. type: array
  19310. "500":
  19311. description: Internal Server Error
  19312. schema:
  19313. $ref: '#/definitions/app.Response'
  19314. security:
  19315. - ApiKeyAuth: []
  19316. summary: 查询敞口现货头寸(敞口/现货头寸)
  19317. tags:
  19318. - 企业风险管理(app)
  19319. /Ermcp/QueryExposureSpotDetail:
  19320. get:
  19321. parameters:
  19322. - description: 所属机构ID
  19323. in: query
  19324. name: areaUserId
  19325. required: true
  19326. type: integer
  19327. - description: 现货品种ID
  19328. in: query
  19329. name: wrstandardId
  19330. required: true
  19331. type: integer
  19332. produces:
  19333. - application/json
  19334. responses:
  19335. "200":
  19336. description: OK
  19337. schema:
  19338. items:
  19339. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19340. type: array
  19341. "500":
  19342. description: Internal Server Error
  19343. schema:
  19344. $ref: '#/definitions/app.Response'
  19345. security:
  19346. - ApiKeyAuth: []
  19347. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19348. tags:
  19349. - 企业风险管理(app)
  19350. /Ermcp/QueryFuturesCompany:
  19351. get:
  19352. produces:
  19353. - application/json
  19354. responses:
  19355. "200":
  19356. description: OK
  19357. schema:
  19358. items:
  19359. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19360. type: array
  19361. "500":
  19362. description: Internal Server Error
  19363. schema:
  19364. $ref: '#/definitions/app.Response'
  19365. security:
  19366. - ApiKeyAuth: []
  19367. summary: 查询期货公司
  19368. tags:
  19369. - 企业风险管理(app)
  19370. /Ermcp/QueryGGConvertConfig:
  19371. get:
  19372. parameters:
  19373. - description: 品种id(不填则查所有)
  19374. in: query
  19375. name: goodsgroupid
  19376. type: integer
  19377. produces:
  19378. - application/json
  19379. responses:
  19380. "200":
  19381. description: OK
  19382. schema:
  19383. items:
  19384. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19385. type: array
  19386. "500":
  19387. description: Internal Server Error
  19388. schema:
  19389. $ref: '#/definitions/app.Response'
  19390. security:
  19391. - ApiKeyAuth: []
  19392. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19393. tags:
  19394. - 企业风险管理(app)
  19395. /Ermcp/QueryGoodsBrand:
  19396. get:
  19397. parameters:
  19398. - description: 用户ID
  19399. in: query
  19400. name: userid
  19401. required: true
  19402. type: integer
  19403. - description: 现货商品ID
  19404. in: query
  19405. name: wrstandardid
  19406. type: integer
  19407. produces:
  19408. - application/json
  19409. responses:
  19410. "200":
  19411. description: OK
  19412. schema:
  19413. items:
  19414. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19415. type: array
  19416. "500":
  19417. description: Internal Server Error
  19418. schema:
  19419. $ref: '#/definitions/app.Response'
  19420. security:
  19421. - ApiKeyAuth: []
  19422. summary: 查询商品品牌
  19423. tags:
  19424. - 企业风险管理(app)
  19425. /Ermcp/QueryGoodsModel:
  19426. get:
  19427. parameters:
  19428. - description: 用户ID
  19429. in: query
  19430. name: userid
  19431. required: true
  19432. type: integer
  19433. produces:
  19434. - application/json
  19435. responses:
  19436. "200":
  19437. description: OK
  19438. schema:
  19439. items:
  19440. $ref: '#/definitions/models.ErmcpGoodsModel'
  19441. type: array
  19442. "500":
  19443. description: Internal Server Error
  19444. schema:
  19445. $ref: '#/definitions/app.Response'
  19446. security:
  19447. - ApiKeyAuth: []
  19448. summary: 查询商品型号
  19449. tags:
  19450. - 企业风险管理(app)
  19451. /Ermcp/QueryHisExposure:
  19452. get:
  19453. parameters:
  19454. - description: 用户id
  19455. in: query
  19456. name: userid
  19457. required: true
  19458. type: integer
  19459. - description: 每个品种记录数
  19460. in: query
  19461. name: lastNum
  19462. required: true
  19463. type: integer
  19464. produces:
  19465. - application/json
  19466. responses:
  19467. "200":
  19468. description: OK
  19469. schema:
  19470. items:
  19471. $ref: '#/definitions/ermcp.HisExposureRsp'
  19472. type: array
  19473. "500":
  19474. description: Internal Server Error
  19475. schema:
  19476. $ref: '#/definitions/app.Response'
  19477. security:
  19478. - ApiKeyAuth: []
  19479. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19480. tags:
  19481. - 企业风险管理(app)
  19482. /Ermcp/QueryMiddleGoods:
  19483. get:
  19484. parameters:
  19485. - description: 所属机构ID
  19486. in: query
  19487. name: userid
  19488. required: true
  19489. type: integer
  19490. - description: 状态 0-停用 1-正常
  19491. in: query
  19492. name: status
  19493. required: true
  19494. type: integer
  19495. produces:
  19496. - application/json
  19497. responses:
  19498. "200":
  19499. description: OK
  19500. schema:
  19501. items:
  19502. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19503. type: array
  19504. "500":
  19505. description: Internal Server Error
  19506. schema:
  19507. $ref: '#/definitions/app.Response'
  19508. security:
  19509. - ApiKeyAuth: []
  19510. summary: 查询套保品种(菜单:套保品种)
  19511. tags:
  19512. - 企业风险管理(app)
  19513. /Ermcp/QueryMiddleGoodsChangeLog:
  19514. get:
  19515. parameters:
  19516. - description: 所属机构ID
  19517. in: query
  19518. name: userid
  19519. required: true
  19520. type: integer
  19521. - description: 套保品种id
  19522. in: query
  19523. name: middlegoodsid
  19524. required: true
  19525. type: integer
  19526. produces:
  19527. - application/json
  19528. responses:
  19529. "200":
  19530. description: OK
  19531. schema:
  19532. items:
  19533. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19534. type: array
  19535. "500":
  19536. description: Internal Server Error
  19537. schema:
  19538. $ref: '#/definitions/app.Response'
  19539. security:
  19540. - ApiKeyAuth: []
  19541. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19542. tags:
  19543. - 企业风险管理(app)
  19544. /Ermcp/QueryMiddleGoodsDetail:
  19545. get:
  19546. parameters:
  19547. - description: 所属机构ID
  19548. in: query
  19549. name: userid
  19550. required: true
  19551. type: integer
  19552. - description: 套保品种id
  19553. in: query
  19554. name: middlegoodsid
  19555. type: integer
  19556. produces:
  19557. - application/json
  19558. responses:
  19559. "200":
  19560. description: OK
  19561. schema:
  19562. items:
  19563. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19564. type: array
  19565. "500":
  19566. description: Internal Server Error
  19567. schema:
  19568. $ref: '#/definitions/app.Response'
  19569. security:
  19570. - ApiKeyAuth: []
  19571. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19572. tags:
  19573. - 企业风险管理(app)
  19574. /Ermcp/QueryPendingAuditInfo:
  19575. get:
  19576. parameters:
  19577. - description: 用户ID
  19578. in: query
  19579. name: UserId
  19580. required: true
  19581. type: integer
  19582. produces:
  19583. - application/json
  19584. responses:
  19585. "200":
  19586. description: OK
  19587. schema:
  19588. items:
  19589. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19590. type: array
  19591. "500":
  19592. description: Internal Server Error
  19593. schema:
  19594. $ref: '#/definitions/app.Response'
  19595. security:
  19596. - ApiKeyAuth: []
  19597. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19598. tags:
  19599. - 企业风险管理(app)
  19600. /Ermcp/QueryRealtimeExposure:
  19601. get:
  19602. parameters:
  19603. - description: 所属机构ID
  19604. in: query
  19605. name: userid
  19606. required: true
  19607. type: integer
  19608. produces:
  19609. - application/json
  19610. responses:
  19611. "200":
  19612. description: OK
  19613. schema:
  19614. items:
  19615. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19616. type: array
  19617. "500":
  19618. description: Internal Server Error
  19619. schema:
  19620. $ref: '#/definitions/app.Response'
  19621. security:
  19622. - ApiKeyAuth: []
  19623. summary: 查询实时敞口
  19624. tags:
  19625. - 企业风险管理(app)
  19626. /Ermcp/QueryRealtimeExposurePosition:
  19627. get:
  19628. parameters:
  19629. - description: 用户id
  19630. in: query
  19631. name: userid
  19632. required: true
  19633. type: integer
  19634. - description: 套保商品ID
  19635. in: query
  19636. name: middleGoodsId
  19637. required: true
  19638. type: integer
  19639. produces:
  19640. - application/json
  19641. responses:
  19642. "200":
  19643. description: OK
  19644. schema:
  19645. items:
  19646. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19647. type: array
  19648. "500":
  19649. description: Internal Server Error
  19650. schema:
  19651. $ref: '#/definitions/app.Response'
  19652. security:
  19653. - ApiKeyAuth: []
  19654. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19655. tags:
  19656. - 企业风险管理(app)
  19657. /Ermcp/QueryRoleMenu:
  19658. get:
  19659. parameters:
  19660. - description: 登录ID
  19661. in: query
  19662. name: loginid
  19663. required: true
  19664. type: integer
  19665. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19666. in: query
  19667. name: menutype
  19668. type: integer
  19669. produces:
  19670. - application/json
  19671. responses:
  19672. "200":
  19673. description: OK
  19674. schema:
  19675. items:
  19676. $ref: '#/definitions/models.RoleMenu'
  19677. type: array
  19678. "500":
  19679. description: Internal Server Error
  19680. schema:
  19681. $ref: '#/definitions/app.Response'
  19682. security:
  19683. - ApiKeyAuth: []
  19684. summary: 查询角色菜单和权限
  19685. tags:
  19686. - 企业风险管理(app)
  19687. /Ermcp/QueryTradeConfigTMP:
  19688. get:
  19689. parameters:
  19690. - description: 所属机构id
  19691. in: query
  19692. name: areauserid
  19693. type: integer
  19694. produces:
  19695. - application/json
  19696. responses:
  19697. "200":
  19698. description: OK
  19699. schema:
  19700. items:
  19701. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19702. type: array
  19703. "500":
  19704. description: Internal Server Error
  19705. schema:
  19706. $ref: '#/definitions/app.Response'
  19707. security:
  19708. - ApiKeyAuth: []
  19709. summary: 查询交易模板配置
  19710. tags:
  19711. - 企业风险管理(app)
  19712. /Ermcp/QueryUserInfo:
  19713. get:
  19714. parameters:
  19715. - description: 所属机构用户ID
  19716. in: query
  19717. name: MemberUserID
  19718. required: true
  19719. type: integer
  19720. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19721. in: query
  19722. name: queryType
  19723. required: true
  19724. type: integer
  19725. produces:
  19726. - application/json
  19727. responses:
  19728. "200":
  19729. description: OK
  19730. schema:
  19731. items:
  19732. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19733. type: array
  19734. "500":
  19735. description: Internal Server Error
  19736. schema:
  19737. $ref: '#/definitions/app.Response'
  19738. security:
  19739. - ApiKeyAuth: []
  19740. summary: 查询客户资料
  19741. tags:
  19742. - 企业风险管理(app)
  19743. /Ermcp/QueryWarehouseInfo:
  19744. get:
  19745. parameters:
  19746. - description: 用户ID
  19747. in: query
  19748. name: userid
  19749. required: true
  19750. type: integer
  19751. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19752. in: query
  19753. name: status
  19754. type: string
  19755. produces:
  19756. - application/json
  19757. responses:
  19758. "200":
  19759. description: OK
  19760. schema:
  19761. items:
  19762. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19763. type: array
  19764. "500":
  19765. description: Internal Server Error
  19766. schema:
  19767. $ref: '#/definitions/app.Response'
  19768. security:
  19769. - ApiKeyAuth: []
  19770. summary: 查询仓库信息
  19771. tags:
  19772. - 企业风险管理(app)
  19773. /Ermcp3/QryAreaExpourseContractDetail:
  19774. get:
  19775. parameters:
  19776. - description: 用户ID
  19777. in: query
  19778. name: userid
  19779. required: true
  19780. type: integer
  19781. - description: 套保商品id
  19782. in: query
  19783. name: middlegoodsid
  19784. required: true
  19785. type: integer
  19786. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19787. in: query
  19788. name: cycletype
  19789. required: true
  19790. type: integer
  19791. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19792. 全(0)【原值】
  19793. in: query
  19794. name: cycletime
  19795. required: true
  19796. type: string
  19797. produces:
  19798. - application/json
  19799. responses:
  19800. "200":
  19801. description: OK
  19802. schema:
  19803. items:
  19804. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19805. type: array
  19806. "500":
  19807. description: Internal Server Error
  19808. schema:
  19809. $ref: '#/definitions/app.Response'
  19810. security:
  19811. - ApiKeyAuth: []
  19812. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19813. tags:
  19814. - 企业风险管理v3(app)
  19815. /Ermcp3/QryAreaExpourseFutuDetail:
  19816. get:
  19817. parameters:
  19818. - description: 用户ID
  19819. in: query
  19820. name: userid
  19821. required: true
  19822. type: integer
  19823. - description: 套保商品id
  19824. in: query
  19825. name: middlegoodsid
  19826. required: true
  19827. type: integer
  19828. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19829. in: query
  19830. name: cycletype
  19831. required: true
  19832. type: integer
  19833. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19834. 全(0)【原值】
  19835. in: query
  19836. name: cycletime
  19837. required: true
  19838. type: string
  19839. produces:
  19840. - application/json
  19841. responses:
  19842. "200":
  19843. description: OK
  19844. schema:
  19845. items:
  19846. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19847. type: array
  19848. "500":
  19849. description: Internal Server Error
  19850. schema:
  19851. $ref: '#/definitions/app.Response'
  19852. security:
  19853. - ApiKeyAuth: []
  19854. summary: 查询敞口期货明细(敞口报表/期货明细)
  19855. tags:
  19856. - 企业风险管理v3(app)
  19857. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19858. get:
  19859. parameters:
  19860. - description: 用户ID
  19861. in: query
  19862. name: userid
  19863. required: true
  19864. type: integer
  19865. - description: 套保商品id
  19866. in: query
  19867. name: middlegoodsid
  19868. required: true
  19869. type: integer
  19870. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19871. in: query
  19872. name: cycletype
  19873. required: true
  19874. type: integer
  19875. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19876. 全(0)【原值】
  19877. in: query
  19878. name: cycletime
  19879. required: true
  19880. type: string
  19881. produces:
  19882. - application/json
  19883. responses:
  19884. "200":
  19885. description: OK
  19886. schema:
  19887. items:
  19888. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19889. type: array
  19890. "500":
  19891. description: Internal Server Error
  19892. schema:
  19893. $ref: '#/definitions/app.Response'
  19894. security:
  19895. - ApiKeyAuth: []
  19896. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19897. tags:
  19898. - 企业风险管理v3(app)
  19899. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19900. get:
  19901. parameters:
  19902. - description: 用户ID
  19903. in: query
  19904. name: userid
  19905. required: true
  19906. type: integer
  19907. - description: 套保商品id
  19908. in: query
  19909. name: middlegoodsid
  19910. required: true
  19911. type: integer
  19912. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19913. in: query
  19914. name: cycletype
  19915. required: true
  19916. type: integer
  19917. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19918. 全(0)【原值】
  19919. in: query
  19920. name: cycletime
  19921. required: true
  19922. type: string
  19923. produces:
  19924. - application/json
  19925. responses:
  19926. "200":
  19927. description: OK
  19928. schema:
  19929. items:
  19930. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19931. type: array
  19932. "500":
  19933. description: Internal Server Error
  19934. schema:
  19935. $ref: '#/definitions/app.Response'
  19936. security:
  19937. - ApiKeyAuth: []
  19938. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19939. tags:
  19940. - 企业风险管理v3(app)
  19941. /Ermcp3/QryAreaExpourseReport:
  19942. get:
  19943. parameters:
  19944. - description: 用户ID
  19945. in: query
  19946. name: userid
  19947. required: true
  19948. type: integer
  19949. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19950. in: query
  19951. name: querytype
  19952. required: true
  19953. type: integer
  19954. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19955. in: query
  19956. name: cycletype
  19957. required: true
  19958. type: integer
  19959. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19960. 全(0)【原值】
  19961. in: query
  19962. name: cycletime
  19963. required: true
  19964. type: string
  19965. produces:
  19966. - application/json
  19967. responses:
  19968. "200":
  19969. description: OK
  19970. schema:
  19971. items:
  19972. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19973. type: array
  19974. "500":
  19975. description: Internal Server Error
  19976. schema:
  19977. $ref: '#/definitions/app.Response'
  19978. security:
  19979. - ApiKeyAuth: []
  19980. summary: 查询敞口报表
  19981. tags:
  19982. - 企业风险管理v3(app)
  19983. /Ermcp3/QryAreaSpotplReport:
  19984. get:
  19985. parameters:
  19986. - description: 用户ID
  19987. in: query
  19988. name: userid
  19989. required: true
  19990. type: integer
  19991. - description: 查询类型 1-报表 2-报表明细
  19992. in: query
  19993. name: querytype
  19994. required: true
  19995. type: integer
  19996. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19997. in: query
  19998. name: cycletype
  19999. required: true
  20000. type: integer
  20001. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20002. 全(0)【原值】
  20003. in: query
  20004. name: cycletime
  20005. required: true
  20006. type: string
  20007. - description: 现货品种id(明细必填)
  20008. in: query
  20009. name: deliverygoodsid
  20010. type: integer
  20011. - description: 币种id(明细必填)
  20012. in: query
  20013. name: currencyid
  20014. type: integer
  20015. produces:
  20016. - application/json
  20017. responses:
  20018. "200":
  20019. description: OK
  20020. schema:
  20021. items:
  20022. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20023. type: array
  20024. "500":
  20025. description: Internal Server Error
  20026. schema:
  20027. $ref: '#/definitions/app.Response'
  20028. security:
  20029. - ApiKeyAuth: []
  20030. summary: 查询现货报表
  20031. tags:
  20032. - 企业风险管理v3(app)
  20033. /Ermcp3/QryAreaStockReport:
  20034. get:
  20035. parameters:
  20036. - description: 用户ID
  20037. in: query
  20038. name: userid
  20039. required: true
  20040. type: integer
  20041. - description: 查询类型 1-报表 2-报表明细
  20042. in: query
  20043. name: querytype
  20044. required: true
  20045. type: integer
  20046. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20047. in: query
  20048. name: cycletype
  20049. required: true
  20050. type: integer
  20051. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20052. 全(0)【原值】
  20053. in: query
  20054. name: cycletime
  20055. required: true
  20056. type: string
  20057. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20058. in: query
  20059. name: sumfields
  20060. type: string
  20061. - description: 品种ID
  20062. in: query
  20063. name: deliverygoodsid
  20064. type: integer
  20065. - description: 品类ID
  20066. in: query
  20067. name: wrstandardid
  20068. type: integer
  20069. - description: 品牌ID
  20070. in: query
  20071. name: spotgoodsbrandid
  20072. type: integer
  20073. - description: 仓库ID
  20074. in: query
  20075. name: warehouseinfoid
  20076. type: integer
  20077. produces:
  20078. - application/json
  20079. responses:
  20080. "200":
  20081. description: OK
  20082. schema:
  20083. items:
  20084. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20085. type: array
  20086. "500":
  20087. description: Internal Server Error
  20088. schema:
  20089. $ref: '#/definitions/app.Response'
  20090. security:
  20091. - ApiKeyAuth: []
  20092. summary: 查询库存报表
  20093. tags:
  20094. - 企业风险管理v3(app)
  20095. /Ermcp3/QryAreaSumPL:
  20096. get:
  20097. parameters:
  20098. - description: 用户ID
  20099. in: query
  20100. name: userid
  20101. required: true
  20102. type: integer
  20103. - description: 查询类型 1-报表 2-报表明细
  20104. in: query
  20105. name: querytype
  20106. required: true
  20107. type: integer
  20108. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20109. in: query
  20110. name: cycletype
  20111. required: true
  20112. type: integer
  20113. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20114. 全(0)【原值】
  20115. in: query
  20116. name: cycletime
  20117. required: true
  20118. type: string
  20119. - description: 币种id(明细必填)
  20120. in: query
  20121. name: currencyid
  20122. type: integer
  20123. produces:
  20124. - application/json
  20125. responses:
  20126. "200":
  20127. description: OK
  20128. schema:
  20129. items:
  20130. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  20131. type: array
  20132. "500":
  20133. description: Internal Server Error
  20134. schema:
  20135. $ref: '#/definitions/app.Response'
  20136. security:
  20137. - ApiKeyAuth: []
  20138. summary: 查询汇总损益表
  20139. tags:
  20140. - 企业风险管理v3(app)
  20141. /Ermcp3/QryFinanceReport:
  20142. get:
  20143. parameters:
  20144. - description: 用户ID
  20145. in: query
  20146. name: userid
  20147. required: true
  20148. type: integer
  20149. - description: 查询类型 1-报表 2-报表明细
  20150. in: query
  20151. name: querytype
  20152. required: true
  20153. type: integer
  20154. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20155. in: query
  20156. name: cycletype
  20157. required: true
  20158. type: integer
  20159. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20160. 全(0)【原值】
  20161. in: query
  20162. name: cycletime
  20163. required: true
  20164. type: string
  20165. - description: 币种id(报表明细必填)
  20166. in: query
  20167. name: currencyid
  20168. type: integer
  20169. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  20170. in: query
  20171. name: sumfields
  20172. type: string
  20173. produces:
  20174. - application/json
  20175. responses:
  20176. "200":
  20177. description: OK
  20178. schema:
  20179. items:
  20180. $ref: '#/definitions/models.Ermcp3FinanceReport'
  20181. type: array
  20182. "500":
  20183. description: Internal Server Error
  20184. schema:
  20185. $ref: '#/definitions/app.Response'
  20186. security:
  20187. - ApiKeyAuth: []
  20188. summary: 查询财务报表
  20189. tags:
  20190. - 企业风险管理v3(app)
  20191. /Ermcp3/QryTaFutureDataReport:
  20192. get:
  20193. parameters:
  20194. - description: 用户ID
  20195. in: query
  20196. name: userid
  20197. required: true
  20198. type: integer
  20199. - description: 查询类型 1-报表 2-报表明细
  20200. in: query
  20201. name: querytype
  20202. required: true
  20203. type: integer
  20204. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20205. in: query
  20206. name: cycletype
  20207. required: true
  20208. type: integer
  20209. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20210. 全(0)【原值】
  20211. in: query
  20212. name: cycletime
  20213. required: true
  20214. type: string
  20215. - description: 币种id(查明细必填)
  20216. in: query
  20217. name: currencyid
  20218. type: integer
  20219. - description: 品种id(查明细必填)
  20220. in: query
  20221. name: goodsgroupid
  20222. type: integer
  20223. - description: 商品id(查明细必填)
  20224. in: query
  20225. name: goodsid
  20226. type: integer
  20227. - description: 买卖方向(查明细必填)
  20228. in: query
  20229. name: buyorsell
  20230. type: integer
  20231. produces:
  20232. - application/json
  20233. responses:
  20234. "200":
  20235. description: OK
  20236. schema:
  20237. items:
  20238. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  20239. type: array
  20240. "500":
  20241. description: Internal Server Error
  20242. schema:
  20243. $ref: '#/definitions/app.Response'
  20244. security:
  20245. - ApiKeyAuth: []
  20246. summary: 查询期货报表
  20247. tags:
  20248. - 企业风险管理v3(app)
  20249. /Ermcp3/QueryAreaStock:
  20250. get:
  20251. parameters:
  20252. - description: 用户ID
  20253. in: query
  20254. name: userid
  20255. required: true
  20256. type: integer
  20257. produces:
  20258. - application/json
  20259. responses:
  20260. "200":
  20261. description: OK
  20262. schema:
  20263. items:
  20264. $ref: '#/definitions/models.Ermcp3AreaStock'
  20265. type: array
  20266. "500":
  20267. description: Internal Server Error
  20268. schema:
  20269. $ref: '#/definitions/app.Response'
  20270. security:
  20271. - ApiKeyAuth: []
  20272. summary: 查询机构库存(库存管理/当前库存)
  20273. tags:
  20274. - 企业风险管理v3(app)
  20275. /Ermcp3/QueryAreaStockApply:
  20276. get:
  20277. parameters:
  20278. - description: 用户ID
  20279. in: query
  20280. name: userid
  20281. required: true
  20282. type: integer
  20283. - description: 用户类型 2-机构 7-企业成员
  20284. in: query
  20285. name: usertype
  20286. type: integer
  20287. - description: 现货商品ID
  20288. in: query
  20289. name: deliverygoodsid
  20290. type: integer
  20291. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  20292. in: query
  20293. name: inouttype
  20294. type: string
  20295. - description: 合同ID
  20296. in: query
  20297. name: spotcontractid
  20298. type: integer
  20299. - description: 品类ID
  20300. in: query
  20301. name: wrstandardid
  20302. type: integer
  20303. - description: 品牌ID
  20304. in: query
  20305. name: spotgoodsbrandid
  20306. type: integer
  20307. - description: 仓库ID
  20308. in: query
  20309. name: warehouseinfoid
  20310. type: integer
  20311. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20312. in: query
  20313. name: applystatus
  20314. type: string
  20315. produces:
  20316. - application/json
  20317. responses:
  20318. "200":
  20319. description: OK
  20320. schema:
  20321. items:
  20322. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  20323. type: array
  20324. "500":
  20325. description: Internal Server Error
  20326. schema:
  20327. $ref: '#/definitions/app.Response'
  20328. security:
  20329. - ApiKeyAuth: []
  20330. summary: 查询库存申请(出入库记录|库存审核)
  20331. tags:
  20332. - 企业风险管理v3(app)
  20333. /Ermcp3/QueryAreaStockApplySum:
  20334. get:
  20335. parameters:
  20336. - description: 合同ID
  20337. in: query
  20338. name: spotcontractid
  20339. required: true
  20340. type: integer
  20341. produces:
  20342. - application/json
  20343. responses:
  20344. "200":
  20345. description: OK
  20346. schema:
  20347. items:
  20348. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20349. type: array
  20350. "500":
  20351. description: Internal Server Error
  20352. schema:
  20353. $ref: '#/definitions/app.Response'
  20354. security:
  20355. - ApiKeyAuth: []
  20356. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20357. tags:
  20358. - 企业风险管理v3(app)
  20359. /Ermcp3/QueryDGFactoryItem:
  20360. get:
  20361. parameters:
  20362. - description: 用户id
  20363. in: query
  20364. name: userid
  20365. type: integer
  20366. - description: 用户类型 2-机构 7-企业成员
  20367. in: query
  20368. name: usertype
  20369. type: integer
  20370. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20371. in: query
  20372. name: dgfactoryitemid
  20373. type: integer
  20374. - description: 现货品种ID
  20375. in: query
  20376. name: deliverygoodsid
  20377. type: integer
  20378. - description: 要素项类型
  20379. in: query
  20380. name: dgfactoryitemtypeid
  20381. type: integer
  20382. - description: 顺序
  20383. in: query
  20384. name: orderindex
  20385. type: integer
  20386. produces:
  20387. - application/json
  20388. responses:
  20389. "200":
  20390. description: OK
  20391. schema:
  20392. items:
  20393. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20394. type: array
  20395. "500":
  20396. description: Internal Server Error
  20397. schema:
  20398. $ref: '#/definitions/app.Response'
  20399. security:
  20400. - ApiKeyAuth: []
  20401. summary: 查询品种要素定义项
  20402. tags:
  20403. - 企业风险管理v3(app)
  20404. /Ermcp3/QueryDeliveryGoods:
  20405. get:
  20406. parameters:
  20407. - description: 用户id
  20408. in: query
  20409. name: userid
  20410. required: true
  20411. type: integer
  20412. - description: 用户类型 2-机构 7-企业成员
  20413. in: query
  20414. name: usertype
  20415. type: integer
  20416. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20417. in: query
  20418. name: excludecfg
  20419. type: integer
  20420. produces:
  20421. - application/json
  20422. responses:
  20423. "200":
  20424. description: OK
  20425. schema:
  20426. items:
  20427. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  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/QueryDeliveryGoodsDetail:
  20439. get:
  20440. parameters:
  20441. - description: 用户id
  20442. in: query
  20443. name: userid
  20444. required: true
  20445. type: integer
  20446. - description: 用户类型 2-机构 7-企业成员
  20447. in: query
  20448. name: usertype
  20449. type: integer
  20450. - description: 现货商品id
  20451. in: query
  20452. name: deliverygoodsid
  20453. type: integer
  20454. produces:
  20455. - application/json
  20456. responses:
  20457. "200":
  20458. description: OK
  20459. schema:
  20460. items:
  20461. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  20462. type: array
  20463. "500":
  20464. description: Internal Server Error
  20465. schema:
  20466. $ref: '#/definitions/app.Response'
  20467. security:
  20468. - ApiKeyAuth: []
  20469. summary: 查询现货商品详情
  20470. tags:
  20471. - 企业风险管理v3(app)
  20472. /Ermcp3/QueryExposureDetail:
  20473. get:
  20474. parameters:
  20475. - description: 用户id
  20476. in: query
  20477. name: userid
  20478. required: true
  20479. type: integer
  20480. - description: 用户类型 2-机构 7-企业成员
  20481. in: query
  20482. name: usertype
  20483. type: integer
  20484. - description: 套保商品
  20485. in: query
  20486. name: middlegoodsid
  20487. required: true
  20488. type: integer
  20489. produces:
  20490. - application/json
  20491. responses:
  20492. "200":
  20493. description: OK
  20494. schema:
  20495. items:
  20496. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20497. type: array
  20498. "500":
  20499. description: Internal Server Error
  20500. schema:
  20501. $ref: '#/definitions/app.Response'
  20502. security:
  20503. - ApiKeyAuth: []
  20504. summary: 查询敞口现货明细
  20505. tags:
  20506. - 企业风险管理v3(app)
  20507. /Ermcp3/QueryExposureSpot:
  20508. get:
  20509. parameters:
  20510. - description: 用户id
  20511. in: query
  20512. name: userid
  20513. required: true
  20514. type: integer
  20515. - description: 用户类型 2-机构 7-企业成员
  20516. in: query
  20517. name: usertype
  20518. type: integer
  20519. produces:
  20520. - application/json
  20521. responses:
  20522. "200":
  20523. description: OK
  20524. schema:
  20525. items:
  20526. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20527. type: array
  20528. "500":
  20529. description: Internal Server Error
  20530. schema:
  20531. $ref: '#/definitions/app.Response'
  20532. security:
  20533. - ApiKeyAuth: []
  20534. summary: 查询敞口现货头寸(敞口/现货头寸)
  20535. tags:
  20536. - 企业风险管理v3(app)
  20537. /Ermcp3/QueryExposureSpotDetail:
  20538. get:
  20539. parameters:
  20540. - description: 用户id
  20541. in: query
  20542. name: userid
  20543. required: true
  20544. type: integer
  20545. - description: 用户类型 2-机构 7-企业成员
  20546. in: query
  20547. name: usertype
  20548. type: integer
  20549. - description: 现货品种ID
  20550. in: query
  20551. name: deliverygoodsid
  20552. required: true
  20553. type: integer
  20554. produces:
  20555. - application/json
  20556. responses:
  20557. "200":
  20558. description: OK
  20559. schema:
  20560. items:
  20561. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  20562. type: array
  20563. "500":
  20564. description: Internal Server Error
  20565. schema:
  20566. $ref: '#/definitions/app.Response'
  20567. security:
  20568. - ApiKeyAuth: []
  20569. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20570. tags:
  20571. - 企业风险管理v3(app)
  20572. /Ermcp3/QueryGoodsGroup:
  20573. get:
  20574. parameters:
  20575. - description: 用户id
  20576. in: query
  20577. name: userid
  20578. required: true
  20579. type: integer
  20580. - description: 用户类型 2-机构 7-企业成员
  20581. in: query
  20582. name: usertype
  20583. type: integer
  20584. - description: 排除套保品中已关联的商品组 1-排除
  20585. in: query
  20586. name: excludecfg
  20587. type: integer
  20588. produces:
  20589. - application/json
  20590. responses:
  20591. "200":
  20592. description: OK
  20593. schema:
  20594. items:
  20595. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20596. type: array
  20597. "500":
  20598. description: Internal Server Error
  20599. schema:
  20600. $ref: '#/definitions/app.Response'
  20601. security:
  20602. - ApiKeyAuth: []
  20603. summary: 查询期货商品组
  20604. tags:
  20605. - 企业风险管理v3(app)
  20606. /Ermcp3/QueryGoodsWrstandard:
  20607. get:
  20608. parameters:
  20609. - description: 用户id
  20610. in: query
  20611. name: userid
  20612. required: true
  20613. type: integer
  20614. - description: 用户类型 2-机构 7-企业成员
  20615. in: query
  20616. name: usertype
  20617. type: integer
  20618. - description: 现货商品id
  20619. in: query
  20620. name: deliverygoodsid
  20621. type: integer
  20622. produces:
  20623. - application/json
  20624. responses:
  20625. "200":
  20626. description: OK
  20627. schema:
  20628. items:
  20629. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20630. type: array
  20631. "500":
  20632. description: Internal Server Error
  20633. schema:
  20634. $ref: '#/definitions/app.Response'
  20635. security:
  20636. - ApiKeyAuth: []
  20637. summary: 查询商品品类
  20638. tags:
  20639. - 企业风险管理v3(app)
  20640. /Ermcp3/QueryGoodsbrand:
  20641. get:
  20642. parameters:
  20643. - description: 用户id
  20644. in: query
  20645. name: userid
  20646. required: true
  20647. type: integer
  20648. - description: 用户类型 2-机构 7-企业成员
  20649. in: query
  20650. name: usertype
  20651. type: integer
  20652. produces:
  20653. - application/json
  20654. responses:
  20655. "200":
  20656. description: OK
  20657. schema:
  20658. items:
  20659. $ref: '#/definitions/models.Ermcp3Brand'
  20660. type: array
  20661. "500":
  20662. description: Internal Server Error
  20663. schema:
  20664. $ref: '#/definitions/app.Response'
  20665. security:
  20666. - ApiKeyAuth: []
  20667. summary: 查询商品品牌
  20668. tags:
  20669. - 企业风险管理v3(app)
  20670. /Ermcp3/QueryHedgePlan:
  20671. get:
  20672. parameters:
  20673. - description: 用户ID
  20674. in: query
  20675. name: userid
  20676. required: true
  20677. type: integer
  20678. - description: 用户类型 2-机构 7-企业成员
  20679. in: query
  20680. name: usertype
  20681. type: integer
  20682. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20683. in: query
  20684. name: hedgeplanstatus
  20685. required: true
  20686. type: string
  20687. produces:
  20688. - application/json
  20689. responses:
  20690. "200":
  20691. description: OK
  20692. schema:
  20693. items:
  20694. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20695. type: array
  20696. "500":
  20697. description: Internal Server Error
  20698. schema:
  20699. $ref: '#/definitions/app.Response'
  20700. security:
  20701. - ApiKeyAuth: []
  20702. summary: 查询套保计划
  20703. tags:
  20704. - 企业风险管理v3(app)
  20705. /Ermcp3/QueryMiddleGoodsDetail:
  20706. get:
  20707. parameters:
  20708. - description: 用户id
  20709. in: query
  20710. name: userid
  20711. required: true
  20712. type: integer
  20713. - description: 用户类型 2-机构 7-企业成员
  20714. in: query
  20715. name: usertype
  20716. type: integer
  20717. - description: 套保品种id
  20718. in: query
  20719. name: middlegoodsid
  20720. type: integer
  20721. produces:
  20722. - application/json
  20723. responses:
  20724. "200":
  20725. description: OK
  20726. schema:
  20727. items:
  20728. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  20729. type: array
  20730. "500":
  20731. description: Internal Server Error
  20732. schema:
  20733. $ref: '#/definitions/app.Response'
  20734. security:
  20735. - ApiKeyAuth: []
  20736. summary: 查询套保品种详情(套保品种/商品详情)
  20737. tags:
  20738. - 企业风险管理v3(app)
  20739. /Ermcp3/QueryPaAreaAuditCfg:
  20740. get:
  20741. parameters:
  20742. - description: 用户id
  20743. in: query
  20744. name: userid
  20745. required: true
  20746. type: integer
  20747. produces:
  20748. - application/json
  20749. responses:
  20750. "200":
  20751. description: OK
  20752. schema:
  20753. items:
  20754. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  20755. type: array
  20756. "500":
  20757. description: Internal Server Error
  20758. schema:
  20759. $ref: '#/definitions/app.Response'
  20760. security:
  20761. - ApiKeyAuth: []
  20762. summary: 查询审核设置
  20763. tags:
  20764. - 企业风险管理v3(app)
  20765. /Ermcp3/QueryPaAreaSubject:
  20766. get:
  20767. parameters:
  20768. - description: 用户id
  20769. in: query
  20770. name: userid
  20771. required: true
  20772. type: integer
  20773. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  20774. in: query
  20775. name: subjectid
  20776. type: integer
  20777. - description: 主体类型 - 1:交易主体 2:业务部门
  20778. in: query
  20779. name: subjecttype
  20780. type: integer
  20781. - description: '主体状态 - 1:正常 2: 停用'
  20782. in: query
  20783. name: subjectstatus
  20784. type: integer
  20785. produces:
  20786. - application/json
  20787. responses:
  20788. "200":
  20789. description: OK
  20790. schema:
  20791. items:
  20792. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  20793. type: array
  20794. "500":
  20795. description: Internal Server Error
  20796. schema:
  20797. $ref: '#/definitions/app.Response'
  20798. security:
  20799. - ApiKeyAuth: []
  20800. summary: 查询交易主体
  20801. tags:
  20802. - 企业风险管理v3(app)
  20803. /Ermcp3/QueryRootUserAccount:
  20804. get:
  20805. parameters:
  20806. - description: 用户ID
  20807. in: query
  20808. name: userid
  20809. required: true
  20810. type: integer
  20811. produces:
  20812. - application/json
  20813. responses:
  20814. "200":
  20815. description: OK
  20816. schema:
  20817. items:
  20818. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20819. type: array
  20820. "500":
  20821. description: Internal Server Error
  20822. schema:
  20823. $ref: '#/definitions/app.Response'
  20824. security:
  20825. - ApiKeyAuth: []
  20826. summary: 查询顶级用户信息
  20827. tags:
  20828. - 企业风险管理v3(app)
  20829. /Ermcp3/QuerySpotContract:
  20830. get:
  20831. parameters:
  20832. - description: 用户id
  20833. in: query
  20834. name: userid
  20835. required: true
  20836. type: integer
  20837. - description: 用户类型 2-机构 7-企业成员
  20838. in: query
  20839. name: usertype
  20840. type: integer
  20841. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20842. in: query
  20843. name: querytype
  20844. required: true
  20845. type: integer
  20846. - description: 合同ID(SpotContractId)
  20847. in: query
  20848. name: contractid
  20849. type: string
  20850. produces:
  20851. - application/json
  20852. responses:
  20853. "200":
  20854. description: OK
  20855. schema:
  20856. items:
  20857. $ref: '#/definitions/models.Ermcp3Contract'
  20858. type: array
  20859. "500":
  20860. description: Internal Server Error
  20861. schema:
  20862. $ref: '#/definitions/app.Response'
  20863. security:
  20864. - ApiKeyAuth: []
  20865. summary: 查询现货合同
  20866. tags:
  20867. - 企业风险管理v3(app)
  20868. /Ermcp3/QuerySpotContractBS:
  20869. get:
  20870. parameters:
  20871. - description: 用户id
  20872. in: query
  20873. name: userid
  20874. required: true
  20875. type: integer
  20876. - description: 用户类型 2-机构 7-企业成员
  20877. in: query
  20878. name: usertype
  20879. type: integer
  20880. - description: 合同类型 1-采购, -1-销售
  20881. in: query
  20882. name: contracttype
  20883. required: true
  20884. type: integer
  20885. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20886. in: query
  20887. name: querytype
  20888. required: true
  20889. type: integer
  20890. - description: 合同ID(SpotContractId)
  20891. in: query
  20892. name: contractid
  20893. type: string
  20894. produces:
  20895. - application/json
  20896. responses:
  20897. "200":
  20898. description: OK
  20899. schema:
  20900. items:
  20901. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20902. type: array
  20903. "500":
  20904. description: Internal Server Error
  20905. schema:
  20906. $ref: '#/definitions/app.Response'
  20907. security:
  20908. - ApiKeyAuth: []
  20909. summary: 查询合同(采购/销售)
  20910. tags:
  20911. - 企业风险管理v3(app)
  20912. /Ermcp3/QuerySpotGoodsPrice:
  20913. get:
  20914. parameters:
  20915. - description: 用户ID
  20916. in: query
  20917. name: userid
  20918. required: true
  20919. type: integer
  20920. produces:
  20921. - application/json
  20922. responses:
  20923. "200":
  20924. description: OK
  20925. schema:
  20926. items:
  20927. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20928. type: array
  20929. "500":
  20930. description: Internal Server Error
  20931. schema:
  20932. $ref: '#/definitions/app.Response'
  20933. security:
  20934. - ApiKeyAuth: []
  20935. summary: 查询现货市价(现货市价)
  20936. tags:
  20937. - 企业风险管理v3(app)
  20938. /Ermcp3/QuerySpotGoodsPriceLog:
  20939. get:
  20940. parameters:
  20941. - description: 用户ID
  20942. in: query
  20943. name: userid
  20944. required: true
  20945. type: integer
  20946. - description: 现货商品ID
  20947. in: query
  20948. name: deliverygoodsid
  20949. required: true
  20950. type: integer
  20951. - description: 品牌ID
  20952. in: query
  20953. name: brandid
  20954. type: integer
  20955. - description: 品类ID
  20956. in: query
  20957. name: wrstandardid
  20958. type: integer
  20959. produces:
  20960. - application/json
  20961. responses:
  20962. "200":
  20963. description: OK
  20964. schema:
  20965. items:
  20966. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  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. /Erms2/QueryArbitrageStrategy:
  20978. get:
  20979. parameters:
  20980. - description: 账户ID
  20981. in: query
  20982. name: userid
  20983. required: true
  20984. type: integer
  20985. - description: 商品组ID(品种ID)
  20986. in: query
  20987. name: goodsgroupid
  20988. type: string
  20989. produces:
  20990. - application/json
  20991. responses:
  20992. "200":
  20993. description: OK
  20994. schema:
  20995. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20996. "500":
  20997. description: Internal Server Error
  20998. schema:
  20999. $ref: '#/definitions/app.Response'
  21000. security:
  21001. - ApiKeyAuth: []
  21002. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  21003. tags:
  21004. - 风险管理
  21005. /Erms2/QueryInnerTradeDetail:
  21006. get:
  21007. parameters:
  21008. - description: 资金账户
  21009. in: query
  21010. name: accountid
  21011. required: true
  21012. type: integer
  21013. produces:
  21014. - application/json
  21015. responses:
  21016. "200":
  21017. description: OK
  21018. schema:
  21019. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  21020. "500":
  21021. description: Internal Server Error
  21022. schema:
  21023. $ref: '#/definitions/app.Response'
  21024. security:
  21025. - ApiKeyAuth: []
  21026. summary: 查询内部成交单信息
  21027. tags:
  21028. - 风险管理
  21029. /Erms2/QuerySpotContract:
  21030. get:
  21031. parameters:
  21032. - description: 策略申请ID
  21033. in: query
  21034. name: asapplyid
  21035. required: true
  21036. type: integer
  21037. - description: 现货合同ID
  21038. in: query
  21039. name: spotcontractid
  21040. type: integer
  21041. produces:
  21042. - application/json
  21043. responses:
  21044. "200":
  21045. description: OK
  21046. schema:
  21047. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  21048. "500":
  21049. description: Internal Server Error
  21050. schema:
  21051. $ref: '#/definitions/app.Response'
  21052. security:
  21053. - ApiKeyAuth: []
  21054. summary: 查询现货合同表信息(指定策略ID、未结束的)
  21055. tags:
  21056. - 风险管理
  21057. /Erms3/AddErms2ASApply:
  21058. post:
  21059. parameters:
  21060. - description: 申请参数
  21061. in: body
  21062. name: jsonBody
  21063. required: true
  21064. schema:
  21065. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  21066. produces:
  21067. - application/json
  21068. responses:
  21069. "200":
  21070. description: OK
  21071. schema:
  21072. $ref: '#/definitions/app.Response'
  21073. "500":
  21074. description: Internal Server Error
  21075. schema:
  21076. $ref: '#/definitions/app.Response'
  21077. security:
  21078. - ApiKeyAuth: []
  21079. summary: 新增期现套利业务申请
  21080. tags:
  21081. - 风险管理v3
  21082. /Erms3/AddErms2SpotTradeApply:
  21083. post:
  21084. parameters:
  21085. - description: 申请参数
  21086. in: body
  21087. name: jsonBody
  21088. required: true
  21089. schema:
  21090. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  21091. produces:
  21092. - application/json
  21093. responses:
  21094. "200":
  21095. description: OK
  21096. schema:
  21097. $ref: '#/definitions/app.Response'
  21098. "500":
  21099. description: Internal Server Error
  21100. schema:
  21101. $ref: '#/definitions/app.Response'
  21102. security:
  21103. - ApiKeyAuth: []
  21104. summary: 新增现货贸易业务申请
  21105. tags:
  21106. - 风险管理v3
  21107. /Erms3/AddSpotContractApply:
  21108. post:
  21109. parameters:
  21110. - description: 申请参数
  21111. in: body
  21112. name: jsonBody
  21113. required: true
  21114. schema:
  21115. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  21116. produces:
  21117. - application/json
  21118. responses:
  21119. "200":
  21120. description: OK
  21121. schema:
  21122. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  21123. "500":
  21124. description: Internal Server Error
  21125. schema:
  21126. $ref: '#/definitions/app.Response'
  21127. security:
  21128. - ApiKeyAuth: []
  21129. summary: 新增现货合同申请
  21130. tags:
  21131. - 风险管理v3
  21132. /Erms3/AddUserInfoApply:
  21133. post:
  21134. parameters:
  21135. - description: 用户信息
  21136. in: body
  21137. name: jsonBody
  21138. required: true
  21139. schema:
  21140. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  21141. produces:
  21142. - application/json
  21143. responses:
  21144. "200":
  21145. description: OK
  21146. schema:
  21147. $ref: '#/definitions/app.Response'
  21148. "500":
  21149. description: Internal Server Error
  21150. schema:
  21151. $ref: '#/definitions/app.Response'
  21152. security:
  21153. - ApiKeyAuth: []
  21154. summary: 新增客户申请
  21155. tags:
  21156. - 风险管理v3
  21157. /Erms3/DeleteUserInfoApply:
  21158. get:
  21159. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  21160. parameters:
  21161. - description: 用户ID
  21162. in: query
  21163. name: userID
  21164. required: true
  21165. type: integer
  21166. produces:
  21167. - application/json
  21168. responses:
  21169. "200":
  21170. description: OK
  21171. schema:
  21172. $ref: '#/definitions/app.Response'
  21173. "500":
  21174. description: Internal Server Error
  21175. schema:
  21176. $ref: '#/definitions/app.Response'
  21177. security:
  21178. - ApiKeyAuth: []
  21179. summary: 删除客户申请
  21180. tags:
  21181. - 风险管理v3
  21182. /Erms3/ModifyUserInfoApply:
  21183. post:
  21184. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  21185. int, "userstate": 2 }'
  21186. parameters:
  21187. - description: 用户信息
  21188. in: body
  21189. name: jsonBody
  21190. required: true
  21191. schema:
  21192. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  21193. produces:
  21194. - application/json
  21195. responses:
  21196. "200":
  21197. description: OK
  21198. schema:
  21199. $ref: '#/definitions/app.Response'
  21200. "500":
  21201. description: Internal Server Error
  21202. schema:
  21203. $ref: '#/definitions/app.Response'
  21204. security:
  21205. - ApiKeyAuth: []
  21206. summary: 修改客户申请
  21207. tags:
  21208. - 风险管理v3
  21209. /Erms3/QueryBusinessInfo:
  21210. get:
  21211. parameters:
  21212. - description: 资金账号ID列表,用逗号分隔
  21213. in: query
  21214. name: accountids
  21215. required: true
  21216. type: string
  21217. - description: 状态,0为未结束 1为已结束
  21218. in: query
  21219. name: status
  21220. required: true
  21221. type: integer
  21222. produces:
  21223. - application/json
  21224. responses:
  21225. "200":
  21226. description: OK
  21227. schema:
  21228. items:
  21229. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  21230. type: array
  21231. "500":
  21232. description: Internal Server Error
  21233. schema:
  21234. $ref: '#/definitions/app.Response'
  21235. security:
  21236. - ApiKeyAuth: []
  21237. summary: 查询业务表单数据
  21238. tags:
  21239. - 风险管理v3
  21240. /Erms3/QueryPendingAuditContract:
  21241. get:
  21242. parameters:
  21243. - description: 资金账号ID列表,逗号隔开
  21244. in: query
  21245. name: accountids
  21246. required: true
  21247. type: string
  21248. - description: 合同类型 1-采购 -1-销售
  21249. in: query
  21250. name: contracttype
  21251. required: true
  21252. type: integer
  21253. - description: 合同模式 1-普通 2-回购
  21254. in: query
  21255. name: contractmode
  21256. required: true
  21257. type: integer
  21258. produces:
  21259. - application/json
  21260. responses:
  21261. "200":
  21262. description: OK
  21263. schema:
  21264. items:
  21265. $ref: '#/definitions/erms3.QryAuditContractRsp'
  21266. type: array
  21267. "500":
  21268. description: Internal Server Error
  21269. schema:
  21270. $ref: '#/definitions/app.Response'
  21271. security:
  21272. - ApiKeyAuth: []
  21273. summary: 查询待审核合同
  21274. tags:
  21275. - 风险管理v3
  21276. /Erms3/QueryPendingBusiness:
  21277. get:
  21278. parameters:
  21279. - description: 资金账号ID列表,逗号隔开
  21280. in: query
  21281. name: accountids
  21282. required: true
  21283. type: string
  21284. produces:
  21285. - application/json
  21286. responses:
  21287. "200":
  21288. description: OK
  21289. schema:
  21290. items:
  21291. $ref: '#/definitions/erms3.QryPendingBizRsp'
  21292. type: array
  21293. "500":
  21294. description: Internal Server Error
  21295. schema:
  21296. $ref: '#/definitions/app.Response'
  21297. security:
  21298. - ApiKeyAuth: []
  21299. summary: 查询待审核基差贸易业务
  21300. tags:
  21301. - 风险管理v3
  21302. /Erms3/QuerySpotContractAppleForm:
  21303. get:
  21304. parameters:
  21305. - description: 登录账号
  21306. in: query
  21307. name: loginID
  21308. required: true
  21309. type: integer
  21310. produces:
  21311. - application/json
  21312. responses:
  21313. "200":
  21314. description: OK
  21315. schema:
  21316. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  21317. "500":
  21318. description: Internal Server Error
  21319. schema:
  21320. $ref: '#/definitions/app.Response'
  21321. security:
  21322. - ApiKeyAuth: []
  21323. summary: 查询合同申请表单数据
  21324. tags:
  21325. - 风险管理v3
  21326. /Erms3/QuerySpotContractDetail:
  21327. get:
  21328. parameters:
  21329. - description: 资金账号ID列表,用逗号分隔
  21330. in: query
  21331. name: accountids
  21332. required: true
  21333. type: string
  21334. - description: 合同类型,1为采购合同 -1为销售合同
  21335. in: query
  21336. name: contracttype
  21337. required: true
  21338. type: integer
  21339. - description: 合同模式,1为普通合同 2为回购销售合同
  21340. in: query
  21341. name: contractmode
  21342. required: true
  21343. type: integer
  21344. - description: 状态,0为履约中 1为已完成
  21345. in: query
  21346. name: status
  21347. required: true
  21348. type: integer
  21349. produces:
  21350. - application/json
  21351. responses:
  21352. "200":
  21353. description: OK
  21354. schema:
  21355. items:
  21356. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  21357. type: array
  21358. "500":
  21359. description: Internal Server Error
  21360. schema:
  21361. $ref: '#/definitions/app.Response'
  21362. security:
  21363. - ApiKeyAuth: []
  21364. summary: 查询合同详细信息
  21365. tags:
  21366. - 风险管理v3
  21367. /Erms3/QueryUserInfoApplies:
  21368. get:
  21369. parameters:
  21370. - description: 页码
  21371. in: query
  21372. name: page
  21373. type: integer
  21374. - description: 每页条数
  21375. in: query
  21376. name: pagesize
  21377. type: integer
  21378. - description: 客户名称,支持模糊查询
  21379. in: query
  21380. name: userName
  21381. type: string
  21382. produces:
  21383. - application/json
  21384. responses:
  21385. "200":
  21386. description: OK
  21387. schema:
  21388. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  21389. "500":
  21390. description: Internal Server Error
  21391. schema:
  21392. $ref: '#/definitions/app.Response'
  21393. security:
  21394. - ApiKeyAuth: []
  21395. summary: 客户申请信息查询
  21396. tags:
  21397. - 风险管理v3
  21398. /Erms3/QueryUserInfos:
  21399. get:
  21400. parameters:
  21401. - description: 页码
  21402. in: query
  21403. name: page
  21404. type: integer
  21405. - description: 每页条数
  21406. in: query
  21407. name: pagesize
  21408. type: integer
  21409. - description: 客户名称,支持模糊查询
  21410. in: query
  21411. name: userName
  21412. type: string
  21413. produces:
  21414. - application/json
  21415. responses:
  21416. "200":
  21417. description: OK
  21418. schema:
  21419. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21420. "500":
  21421. description: Internal Server Error
  21422. schema:
  21423. $ref: '#/definitions/app.Response'
  21424. security:
  21425. - ApiKeyAuth: []
  21426. summary: 客户信息查询
  21427. tags:
  21428. - 风险管理v3
  21429. /HSBY/GetHsbyMyCount:
  21430. get:
  21431. description: 说明: 不包括已完成的数量。
  21432. parameters:
  21433. - description: 资金账户列表,格式:1,2,3
  21434. in: query
  21435. name: accountIDs
  21436. required: true
  21437. type: string
  21438. produces:
  21439. - application/json
  21440. responses:
  21441. "200":
  21442. description: OK
  21443. schema:
  21444. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21445. "500":
  21446. description: Internal Server Error
  21447. schema:
  21448. $ref: '#/definitions/app.Response'
  21449. security:
  21450. - ApiKeyAuth: []
  21451. summary: 获取我的订单与包裹数量
  21452. tags:
  21453. - 定制【海商报业】
  21454. /HSBY/QueryClientFixedADConfigs:
  21455. get:
  21456. produces:
  21457. - application/json
  21458. responses:
  21459. "200":
  21460. description: OK
  21461. schema:
  21462. $ref: '#/definitions/models.Clientfixedadconfig'
  21463. "500":
  21464. description: Internal Server Error
  21465. schema:
  21466. $ref: '#/definitions/app.Response'
  21467. security:
  21468. - ApiKeyAuth: []
  21469. summary: 获取终端固定广告配置
  21470. tags:
  21471. - 定制【海商报业】
  21472. /HSBY/QueryHsbyBuyMyTradeDetail:
  21473. get:
  21474. parameters:
  21475. - description: 页码
  21476. in: query
  21477. name: page
  21478. type: integer
  21479. - description: 每页条数
  21480. in: query
  21481. name: pagesize
  21482. type: integer
  21483. - description: 资金账户列表,格式:1,2,3
  21484. in: query
  21485. name: accountIDs
  21486. required: true
  21487. type: string
  21488. produces:
  21489. - application/json
  21490. responses:
  21491. "200":
  21492. description: OK
  21493. schema:
  21494. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21495. "500":
  21496. description: Internal Server Error
  21497. schema:
  21498. $ref: '#/definitions/app.Response'
  21499. security:
  21500. - ApiKeyAuth: []
  21501. summary: 查询"我的订单 - 已完成"单据信息
  21502. tags:
  21503. - 定制【海商报业】
  21504. /HSBY/QueryHsbyGoodsOrderDetails:
  21505. get:
  21506. description: 说明:查询结果已按委托价格和委托时间排序
  21507. parameters:
  21508. - description: 商品ID
  21509. in: query
  21510. name: goodsID
  21511. required: true
  21512. type: integer
  21513. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21514. in: query
  21515. name: accountIDs
  21516. type: string
  21517. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21518. in: query
  21519. name: buyOrSell
  21520. type: integer
  21521. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21522. in: query
  21523. name: price
  21524. type: number
  21525. - description: 档位,不传则默认为3档
  21526. in: query
  21527. name: speed
  21528. type: integer
  21529. produces:
  21530. - application/json
  21531. responses:
  21532. "200":
  21533. description: OK
  21534. schema:
  21535. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21536. "500":
  21537. description: Internal Server Error
  21538. schema:
  21539. $ref: '#/definitions/app.Response'
  21540. security:
  21541. - ApiKeyAuth: []
  21542. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21543. tags:
  21544. - 定制【海商报业】
  21545. /HSBY/QueryHsbyListingGoodsDetail:
  21546. get:
  21547. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21548. parameters:
  21549. - description: 商品ID
  21550. in: query
  21551. name: goodsID
  21552. required: true
  21553. type: integer
  21554. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21555. in: query
  21556. name: accountID
  21557. type: integer
  21558. produces:
  21559. - application/json
  21560. responses:
  21561. "200":
  21562. description: OK
  21563. schema:
  21564. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21565. "500":
  21566. description: Internal Server Error
  21567. schema:
  21568. $ref: '#/definitions/app.Response'
  21569. security:
  21570. - ApiKeyAuth: []
  21571. summary: 查询二级市场(挂牌点选)商品信息详情
  21572. tags:
  21573. - 定制【海商报业】
  21574. /HSBY/QueryHsbyMarketGoodsDetail:
  21575. get:
  21576. parameters:
  21577. - description: 委托单号
  21578. in: query
  21579. name: orderID
  21580. required: true
  21581. type: integer
  21582. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21583. in: query
  21584. name: accountID
  21585. type: integer
  21586. produces:
  21587. - application/json
  21588. responses:
  21589. "200":
  21590. description: OK
  21591. schema:
  21592. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21593. "500":
  21594. description: Internal Server Error
  21595. schema:
  21596. $ref: '#/definitions/app.Response'
  21597. security:
  21598. - ApiKeyAuth: []
  21599. summary: 查询三级市场(商城)商品信息详情
  21600. tags:
  21601. - 定制【海商报业】
  21602. /HSBY/QueryHsbyMarketGoodses:
  21603. get:
  21604. parameters:
  21605. - description: 页码
  21606. in: query
  21607. name: page
  21608. type: integer
  21609. - description: 每页条数
  21610. in: query
  21611. name: pagesize
  21612. type: integer
  21613. - description: 市场ID列表,格式:1,2,3
  21614. in: query
  21615. name: marketIDs
  21616. required: true
  21617. type: string
  21618. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21619. in: query
  21620. name: accountID
  21621. required: true
  21622. type: integer
  21623. - description: 类别ID
  21624. in: query
  21625. name: categoryID
  21626. type: integer
  21627. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21628. in: query
  21629. name: goodsIDs
  21630. type: string
  21631. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21632. in: query
  21633. name: couponTypeID
  21634. type: integer
  21635. produces:
  21636. - application/json
  21637. responses:
  21638. "200":
  21639. description: OK
  21640. schema:
  21641. $ref: '#/definitions/models.HsbyMarketGoods'
  21642. "500":
  21643. description: Internal Server Error
  21644. schema:
  21645. $ref: '#/definitions/app.Response'
  21646. security:
  21647. - ApiKeyAuth: []
  21648. summary: 查询特卖商品列表(三级商城)
  21649. tags:
  21650. - 定制【海商报业】
  21651. /HSBY/QueryHsbyMarkets:
  21652. get:
  21653. produces:
  21654. - application/json
  21655. responses:
  21656. "200":
  21657. description: OK
  21658. schema:
  21659. $ref: '#/definitions/models.HsbyMarketInfo'
  21660. "500":
  21661. description: Internal Server Error
  21662. schema:
  21663. $ref: '#/definitions/app.Response'
  21664. security:
  21665. - ApiKeyAuth: []
  21666. summary: 查询海商报业相关市场信息
  21667. tags:
  21668. - 定制【海商报业】
  21669. /HSBY/QueryHsbyMyBuyOrderDetails:
  21670. get:
  21671. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21672. parameters:
  21673. - description: 资金账户列表,格式:1,2,3
  21674. in: query
  21675. name: accountIDs
  21676. required: true
  21677. type: string
  21678. produces:
  21679. - application/json
  21680. responses:
  21681. "200":
  21682. description: OK
  21683. schema:
  21684. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21685. "500":
  21686. description: Internal Server Error
  21687. schema:
  21688. $ref: '#/definitions/app.Response'
  21689. security:
  21690. - ApiKeyAuth: []
  21691. summary: 查询“我的订单”信息
  21692. tags:
  21693. - 定制【海商报业】
  21694. /HSBY/QueryHsbyMyGoods:
  21695. get:
  21696. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21697. parameters:
  21698. - description: 资金账户列表,格式:1,2,3
  21699. in: query
  21700. name: accountIDs
  21701. required: true
  21702. type: string
  21703. produces:
  21704. - application/json
  21705. responses:
  21706. "200":
  21707. description: OK
  21708. schema:
  21709. $ref: '#/definitions/models.HsbyMyGoods'
  21710. "500":
  21711. description: Internal Server Error
  21712. schema:
  21713. $ref: '#/definitions/app.Response'
  21714. security:
  21715. - ApiKeyAuth: []
  21716. summary: 查询“我的商品”信息
  21717. tags:
  21718. - 定制【海商报业】
  21719. /HSBY/QueryHsbyMyPackages:
  21720. get:
  21721. parameters:
  21722. - description: 资金账户列表,格式:1,2,3
  21723. in: query
  21724. name: accountIDs
  21725. required: true
  21726. type: string
  21727. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21728. in: query
  21729. name: takeOrderStatus
  21730. type: integer
  21731. produces:
  21732. - application/json
  21733. responses:
  21734. "200":
  21735. description: OK
  21736. schema:
  21737. $ref: '#/definitions/models.HsbyMyPackage'
  21738. "500":
  21739. description: Internal Server Error
  21740. schema:
  21741. $ref: '#/definitions/app.Response'
  21742. security:
  21743. - ApiKeyAuth: []
  21744. summary: 查询我的包裹信息
  21745. tags:
  21746. - 定制【海商报业】
  21747. /HSBY/QueryHsbyPreGoodsDetail:
  21748. get:
  21749. parameters:
  21750. - description: 商品ID
  21751. in: query
  21752. name: goodsID
  21753. required: true
  21754. type: integer
  21755. - description: 资金账户,主要用于获取预售商品购买上限
  21756. in: query
  21757. name: accountID
  21758. type: integer
  21759. produces:
  21760. - application/json
  21761. responses:
  21762. "200":
  21763. description: OK
  21764. schema:
  21765. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21766. "500":
  21767. description: Internal Server Error
  21768. schema:
  21769. $ref: '#/definitions/app.Response'
  21770. security:
  21771. - ApiKeyAuth: []
  21772. summary: 查询一级市场(预售)商品信息详情
  21773. tags:
  21774. - 定制【海商报业】
  21775. /HSBY/QueryHsbyPreGoodses:
  21776. get:
  21777. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21778. parameters:
  21779. - description: 页码
  21780. in: query
  21781. name: page
  21782. type: integer
  21783. - description: 每页条数
  21784. in: query
  21785. name: pagesize
  21786. type: integer
  21787. - description: 市场ID列表,格式:1,2,3
  21788. in: query
  21789. name: marketIDs
  21790. required: true
  21791. type: string
  21792. - description: 目的地(省)ID
  21793. in: query
  21794. name: descProvinceID
  21795. type: integer
  21796. - description: 目的地(市)ID
  21797. in: query
  21798. name: descCityID
  21799. type: integer
  21800. produces:
  21801. - application/json
  21802. responses:
  21803. "200":
  21804. description: OK
  21805. schema:
  21806. $ref: '#/definitions/models.HsbyPreGoods'
  21807. "500":
  21808. description: Internal Server Error
  21809. schema:
  21810. $ref: '#/definitions/app.Response'
  21811. security:
  21812. - ApiKeyAuth: []
  21813. summary: 查询新品上市商品列表(一级市场预售)
  21814. tags:
  21815. - 定制【海商报业】
  21816. /HSBY/QueryHsbySellMyDetails:
  21817. get:
  21818. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21819. parameters:
  21820. - description: 页码
  21821. in: query
  21822. name: page
  21823. type: integer
  21824. - description: 每页条数
  21825. in: query
  21826. name: pagesize
  21827. type: integer
  21828. - description: 资金账户列表,格式:1,2,3
  21829. in: query
  21830. name: accountIDs
  21831. required: true
  21832. type: string
  21833. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21834. in: query
  21835. name: orderType
  21836. type: integer
  21837. produces:
  21838. - application/json
  21839. responses:
  21840. "200":
  21841. description: OK
  21842. schema:
  21843. $ref: '#/definitions/models.HsbySellMyDetail'
  21844. "500":
  21845. description: Internal Server Error
  21846. schema:
  21847. $ref: '#/definitions/app.Response'
  21848. security:
  21849. - ApiKeyAuth: []
  21850. summary: 查询"我的闲置"单据信息
  21851. tags:
  21852. - 定制【海商报业】
  21853. /HSBY/QueryHsbyTopGoodses:
  21854. get:
  21855. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21856. parameters:
  21857. - description: 页码
  21858. in: query
  21859. name: page
  21860. type: integer
  21861. - description: 每页条数
  21862. in: query
  21863. name: pagesize
  21864. type: integer
  21865. - description: 市场ID列表,格式:1,2,3
  21866. in: query
  21867. name: marketIDs
  21868. required: true
  21869. type: string
  21870. - description: 目的地(省)ID
  21871. in: query
  21872. name: descProvinceID
  21873. type: integer
  21874. - description: 目的地(市)ID
  21875. in: query
  21876. name: descCityID
  21877. type: integer
  21878. produces:
  21879. - application/json
  21880. responses:
  21881. "200":
  21882. description: OK
  21883. schema:
  21884. $ref: '#/definitions/models.HsbyTopGoods'
  21885. "500":
  21886. description: Internal Server Error
  21887. schema:
  21888. $ref: '#/definitions/app.Response'
  21889. security:
  21890. - ApiKeyAuth: []
  21891. summary: 查询热卖商品列表(二级市场挂牌点选)
  21892. tags:
  21893. - 定制【海商报业】
  21894. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21895. get:
  21896. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21897. parameters:
  21898. - description: 商品ID
  21899. in: query
  21900. name: goodsID
  21901. required: true
  21902. type: integer
  21903. produces:
  21904. - application/json
  21905. responses:
  21906. "200":
  21907. description: OK
  21908. schema:
  21909. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21910. "500":
  21911. description: Internal Server Error
  21912. schema:
  21913. $ref: '#/definitions/app.Response'
  21914. security:
  21915. - ApiKeyAuth: []
  21916. summary: 查询游客三级市场(商城)商品信息详情
  21917. tags:
  21918. - 定制【海商报业】
  21919. /HSBY/QueryHsbyVisitorMarketGoodses:
  21920. get:
  21921. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21922. parameters:
  21923. - description: 页码
  21924. in: query
  21925. name: page
  21926. type: integer
  21927. - description: 每页条数
  21928. in: query
  21929. name: pagesize
  21930. type: integer
  21931. - description: 市场ID列表,格式:1,2,3
  21932. in: query
  21933. name: marketIDs
  21934. required: true
  21935. type: string
  21936. - description: 类别ID
  21937. in: query
  21938. name: categoryID
  21939. type: integer
  21940. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21941. in: query
  21942. name: goodsIDs
  21943. type: string
  21944. produces:
  21945. - application/json
  21946. responses:
  21947. "200":
  21948. description: OK
  21949. schema:
  21950. $ref: '#/definitions/models.HsbyMarketGoods'
  21951. "500":
  21952. description: Internal Server Error
  21953. schema:
  21954. $ref: '#/definitions/app.Response'
  21955. security:
  21956. - ApiKeyAuth: []
  21957. summary: 查询游客特卖商品列表(三级商城)
  21958. tags:
  21959. - 定制【海商报业】
  21960. /HSBY/QueryMyCollectionOrders:
  21961. get:
  21962. parameters:
  21963. - description: 页码
  21964. in: query
  21965. name: page
  21966. type: integer
  21967. - description: 每页条数
  21968. in: query
  21969. name: pagesize
  21970. type: integer
  21971. - description: 资金账户,格式:1,2,3
  21972. in: query
  21973. name: accountIDs
  21974. required: true
  21975. type: string
  21976. produces:
  21977. - application/json
  21978. responses:
  21979. "200":
  21980. description: OK
  21981. schema:
  21982. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21983. "500":
  21984. description: Internal Server Error
  21985. schema:
  21986. $ref: '#/definitions/app.Response'
  21987. security:
  21988. - ApiKeyAuth: []
  21989. summary: 我的闲置中收款信息查询
  21990. tags:
  21991. - 定制【海商报业】
  21992. /HSBY/QueryMyCouponHolds:
  21993. get:
  21994. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21995. parameters:
  21996. - description: 资金账户列表,格式:1,2,3
  21997. in: query
  21998. name: accountIDs
  21999. required: true
  22000. type: string
  22001. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  22002. in: query
  22003. name: holdStatus
  22004. type: string
  22005. produces:
  22006. - application/json
  22007. responses:
  22008. "200":
  22009. description: OK
  22010. schema:
  22011. $ref: '#/definitions/models.MyCouponHold'
  22012. "500":
  22013. description: Internal Server Error
  22014. schema:
  22015. $ref: '#/definitions/app.Response'
  22016. security:
  22017. - ApiKeyAuth: []
  22018. summary: 我的优惠卷持仓查询
  22019. tags:
  22020. - 定制【海商报业】
  22021. /HSBY/QueryMyCoupons:
  22022. get:
  22023. parameters:
  22024. - description: 资金账户列表,格式:1,2,3
  22025. in: query
  22026. name: accountIDs
  22027. required: true
  22028. type: string
  22029. - description: 商品ID, 一般与sellUserID配套传入
  22030. in: query
  22031. name: goodsID
  22032. type: integer
  22033. - description: 卖方UserID
  22034. in: query
  22035. name: sellUserID
  22036. type: integer
  22037. produces:
  22038. - application/json
  22039. responses:
  22040. "200":
  22041. description: OK
  22042. schema:
  22043. $ref: '#/definitions/models.MyCoupon'
  22044. "500":
  22045. description: Internal Server Error
  22046. schema:
  22047. $ref: '#/definitions/app.Response'
  22048. security:
  22049. - ApiKeyAuth: []
  22050. summary: 我的优惠卷查询
  22051. tags:
  22052. - 定制【海商报业】
  22053. /HSBY/QueryMyPayOrders:
  22054. get:
  22055. parameters:
  22056. - description: 页码
  22057. in: query
  22058. name: page
  22059. type: integer
  22060. - description: 每页条数
  22061. in: query
  22062. name: pagesize
  22063. type: integer
  22064. - description: 资金账户列表,格式:1,2,3
  22065. in: query
  22066. name: accountIDs
  22067. required: true
  22068. type: string
  22069. - description: 买方委托单号
  22070. in: query
  22071. name: buyOrderID
  22072. type: integer
  22073. - description: 卖方委托单号
  22074. in: query
  22075. name: sellOrderID
  22076. type: integer
  22077. produces:
  22078. - application/json
  22079. responses:
  22080. "200":
  22081. description: OK
  22082. schema:
  22083. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  22084. "500":
  22085. description: Internal Server Error
  22086. schema:
  22087. $ref: '#/definitions/app.Response'
  22088. security:
  22089. - ApiKeyAuth: []
  22090. summary: 获取我的订单中待付款信息
  22091. tags:
  22092. - 定制【海商报业】
  22093. /HSBY/QueryMyUsedCoupon:
  22094. get:
  22095. parameters:
  22096. - description: 资金账户列表,格式:1,2,3
  22097. in: query
  22098. name: accountIDs
  22099. required: true
  22100. type: string
  22101. produces:
  22102. - application/json
  22103. responses:
  22104. "200":
  22105. description: OK
  22106. schema:
  22107. $ref: '#/definitions/models.MyUsedCoupon'
  22108. "500":
  22109. description: Internal Server Error
  22110. schema:
  22111. $ref: '#/definitions/app.Response'
  22112. security:
  22113. - ApiKeyAuth: []
  22114. summary: 已使用优惠卷查询
  22115. tags:
  22116. - 定制【海商报业】
  22117. /HSBY/QueryProvincesAndCities:
  22118. get:
  22119. description: 查询结果只包括二级市场商品已关连的省市信息。
  22120. parameters:
  22121. - description: 省ID
  22122. in: query
  22123. name: provinceID
  22124. type: integer
  22125. produces:
  22126. - application/json
  22127. responses:
  22128. "200":
  22129. description: OK
  22130. schema:
  22131. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  22132. "500":
  22133. description: Internal Server Error
  22134. schema:
  22135. $ref: '#/definitions/app.Response'
  22136. security:
  22137. - ApiKeyAuth: []
  22138. summary: 查询省市信息(不包括区)
  22139. tags:
  22140. - 定制【海商报业】
  22141. /HSBY/SetHsbyMyPackagesStatus:
  22142. post:
  22143. parameters:
  22144. - description: 提货单号
  22145. in: query
  22146. name: takeOrderID
  22147. required: true
  22148. type: string
  22149. - description: 资金账号
  22150. in: query
  22151. name: accountID
  22152. required: true
  22153. type: integer
  22154. produces:
  22155. - application/json
  22156. responses:
  22157. "200":
  22158. description: OK
  22159. schema:
  22160. $ref: '#/definitions/app.Response'
  22161. "500":
  22162. description: Internal Server Error
  22163. schema:
  22164. $ref: '#/definitions/app.Response'
  22165. security:
  22166. - ApiKeyAuth: []
  22167. summary: 设置我的包裹已收货状态
  22168. tags:
  22169. - 定制【海商报业】
  22170. /Market/GetAllExExchanges:
  22171. get:
  22172. produces:
  22173. - application/json
  22174. responses:
  22175. "200":
  22176. description: OK
  22177. schema:
  22178. $ref: '#/definitions/models.Goods'
  22179. "500":
  22180. description: Internal Server Error
  22181. schema:
  22182. $ref: '#/definitions/app.Response'
  22183. security:
  22184. - ApiKeyAuth: []
  22185. summary: 获取所有外部交易所信息
  22186. tags:
  22187. - 通用市场
  22188. /Market/QueryGoodsesByLoginID:
  22189. get:
  22190. parameters:
  22191. - description: 登录账号
  22192. in: query
  22193. name: loginID
  22194. required: true
  22195. type: integer
  22196. - description: 市场ID列表,格式:1,2,3
  22197. in: query
  22198. name: marketIDs
  22199. type: string
  22200. produces:
  22201. - application/json
  22202. responses:
  22203. "200":
  22204. description: OK
  22205. schema:
  22206. $ref: '#/definitions/models.Goods'
  22207. "500":
  22208. description: Internal Server Error
  22209. schema:
  22210. $ref: '#/definitions/app.Response'
  22211. security:
  22212. - ApiKeyAuth: []
  22213. summary: 获取登录账号有权限的商品信息
  22214. tags:
  22215. - 通用市场
  22216. /Market/QueryMarketRun:
  22217. get:
  22218. parameters:
  22219. - description: 市场ID,不传返回所有
  22220. in: query
  22221. name: marketID
  22222. type: integer
  22223. produces:
  22224. - application/json
  22225. responses:
  22226. "200":
  22227. description: OK
  22228. schema:
  22229. $ref: '#/definitions/models.Marketrun'
  22230. "500":
  22231. description: Internal Server Error
  22232. schema:
  22233. $ref: '#/definitions/app.Response'
  22234. security:
  22235. - ApiKeyAuth: []
  22236. summary: 查询市场运行信息
  22237. tags:
  22238. - 通用市场
  22239. /Market/QueryMarketsByLoginID:
  22240. get:
  22241. parameters:
  22242. - description: 登录账号
  22243. in: query
  22244. name: loginID
  22245. required: true
  22246. type: integer
  22247. produces:
  22248. - application/json
  22249. responses:
  22250. "200":
  22251. description: OK
  22252. schema:
  22253. $ref: '#/definitions/models.Market'
  22254. "500":
  22255. description: Internal Server Error
  22256. schema:
  22257. $ref: '#/definitions/app.Response'
  22258. security:
  22259. - ApiKeyAuth: []
  22260. summary: 获取登录账号有权限的市场信息
  22261. tags:
  22262. - 通用市场
  22263. /Order/QueryHisTradeDetail:
  22264. get:
  22265. parameters:
  22266. - description: 资金账户 - 格式:1,2,3
  22267. in: query
  22268. name: accountID
  22269. required: true
  22270. type: string
  22271. - description: 成交单号
  22272. in: query
  22273. name: tradeID
  22274. type: integer
  22275. - description: 委托单号
  22276. in: query
  22277. name: orderID
  22278. type: integer
  22279. - description: 商品ID
  22280. in: query
  22281. name: goodsID
  22282. type: integer
  22283. - description: 交易模式 - 格式:1,2,3
  22284. in: query
  22285. name: tradeMode
  22286. type: string
  22287. - description: 委托单据类型
  22288. in: query
  22289. name: buildType
  22290. type: integer
  22291. - description: 成交类别 - 格式:1,2,3
  22292. in: query
  22293. name: tradeType
  22294. type: string
  22295. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22296. in: query
  22297. name: startDate
  22298. type: string
  22299. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22300. in: query
  22301. name: endDate
  22302. type: string
  22303. produces:
  22304. - application/json
  22305. responses:
  22306. "200":
  22307. description: OK
  22308. schema:
  22309. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  22310. "500":
  22311. description: Internal Server Error
  22312. schema:
  22313. $ref: '#/definitions/app.Response'
  22314. security:
  22315. - ApiKeyAuth: []
  22316. summary: 历史成交单查询(合约市场)
  22317. tags:
  22318. - 通用单据
  22319. /Order/QueryHisTradeOrderDetail:
  22320. get:
  22321. parameters:
  22322. - description: 资金账户 - 格式:1,2,3
  22323. in: query
  22324. name: accountID
  22325. required: true
  22326. type: string
  22327. - description: 交易模式 - 格式:1,2,3
  22328. in: query
  22329. name: tradeMode
  22330. type: string
  22331. - description: 委托状态 - 格式:1,2,3
  22332. in: query
  22333. name: orderStatus
  22334. type: string
  22335. - description: 委托单号
  22336. in: query
  22337. name: orderID
  22338. type: integer
  22339. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22340. in: query
  22341. name: startDate
  22342. type: string
  22343. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22344. in: query
  22345. name: endDate
  22346. type: string
  22347. produces:
  22348. - application/json
  22349. responses:
  22350. "200":
  22351. description: OK
  22352. schema:
  22353. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  22354. "500":
  22355. description: Internal Server Error
  22356. schema:
  22357. $ref: '#/definitions/app.Response'
  22358. security:
  22359. - ApiKeyAuth: []
  22360. summary: 历史委托单查询请求(合约市场)
  22361. tags:
  22362. - 通用单据
  22363. /Order/QueryTradeDetail:
  22364. get:
  22365. parameters:
  22366. - description: 资金账户 - 格式:1,2,3
  22367. in: query
  22368. name: accountID
  22369. required: true
  22370. type: string
  22371. - description: 成交单号
  22372. in: query
  22373. name: tradeID
  22374. type: integer
  22375. - description: 委托单号
  22376. in: query
  22377. name: orderID
  22378. type: integer
  22379. - description: 交易模式 - 格式:1,2,3
  22380. in: query
  22381. name: tradeMode
  22382. type: string
  22383. - description: 委托单据类型
  22384. in: query
  22385. name: buildType
  22386. type: integer
  22387. - description: 成交类别 - 格式:1,2,3
  22388. in: query
  22389. name: tradeType
  22390. type: string
  22391. - description: 商品ID
  22392. in: query
  22393. name: goodsID
  22394. type: integer
  22395. produces:
  22396. - application/json
  22397. responses:
  22398. "200":
  22399. description: OK
  22400. schema:
  22401. $ref: '#/definitions/order.QueryTradeDetailRsp'
  22402. "500":
  22403. description: Internal Server Error
  22404. schema:
  22405. $ref: '#/definitions/app.Response'
  22406. security:
  22407. - ApiKeyAuth: []
  22408. summary: 成交单查询(合约市场)
  22409. tags:
  22410. - 通用单据
  22411. /Order/QueryTradeHolderDetail:
  22412. get:
  22413. parameters:
  22414. - description: 用户id
  22415. in: query
  22416. name: userid
  22417. type: integer
  22418. - description: 资金账号, 格式 1,2,3
  22419. in: query
  22420. name: accids
  22421. type: string
  22422. - description: 交易模式, 格式 1,2,3
  22423. in: query
  22424. name: trademodes
  22425. type: string
  22426. - description: 市场id, 格式 1,2,3
  22427. in: query
  22428. name: marketids
  22429. type: string
  22430. - description: 商品id
  22431. in: query
  22432. name: goodsid
  22433. type: integer
  22434. - description: 买卖方向 0-买 1-卖
  22435. in: query
  22436. name: buyorsell
  22437. type: integer
  22438. produces:
  22439. - application/json
  22440. responses:
  22441. "200":
  22442. description: OK
  22443. schema:
  22444. items:
  22445. $ref: '#/definitions/models.TradeHolderDetail'
  22446. type: array
  22447. "500":
  22448. description: Internal Server Error
  22449. schema:
  22450. $ref: '#/definitions/app.Response'
  22451. security:
  22452. - ApiKeyAuth: []
  22453. summary: 查询持仓明细
  22454. tags:
  22455. - 通用单据
  22456. /Order/QueryTradeOrderDetail:
  22457. get:
  22458. parameters:
  22459. - description: 资金账户 - 格式:1,2,3
  22460. in: query
  22461. name: accountID
  22462. required: true
  22463. type: string
  22464. - description: 交易模式 - 格式:1,2,3
  22465. in: query
  22466. name: tradeMode
  22467. type: string
  22468. - description: 委托状态 - 格式:1,2,3
  22469. in: query
  22470. name: orderStatus
  22471. type: string
  22472. - description: 委托单号
  22473. in: query
  22474. name: orderID
  22475. type: integer
  22476. produces:
  22477. - application/json
  22478. responses:
  22479. "200":
  22480. description: OK
  22481. schema:
  22482. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  22483. "500":
  22484. description: Internal Server Error
  22485. schema:
  22486. $ref: '#/definitions/app.Response'
  22487. security:
  22488. - ApiKeyAuth: []
  22489. summary: 委托单查询请求(合约市场)
  22490. tags:
  22491. - 通用单据
  22492. /Order/QueryTradePosition:
  22493. get:
  22494. parameters:
  22495. - description: 资金账户 - 格式:1,2,3
  22496. in: query
  22497. name: accountID
  22498. required: true
  22499. type: string
  22500. - description: 交易模式 - 格式:1,2,3
  22501. in: query
  22502. name: tradeMode
  22503. type: string
  22504. produces:
  22505. - application/json
  22506. responses:
  22507. "200":
  22508. description: OK
  22509. schema:
  22510. $ref: '#/definitions/order.QueryTradePositionRsp'
  22511. "500":
  22512. description: Internal Server Error
  22513. schema:
  22514. $ref: '#/definitions/app.Response'
  22515. security:
  22516. - ApiKeyAuth: []
  22517. summary: 持仓汇总查询(合约市场)
  22518. tags:
  22519. - 通用单据
  22520. /Qhj/QueryAccountInOutApply:
  22521. get:
  22522. parameters:
  22523. - description: 用户ID
  22524. in: query
  22525. name: userid
  22526. required: true
  22527. type: integer
  22528. - description: 申请起始日期(格式yyyymmdd)
  22529. in: query
  22530. name: begindate
  22531. type: string
  22532. - description: 申请截止日期(格式yyyymmdd)
  22533. in: query
  22534. name: enddate
  22535. type: string
  22536. - description: 模糊搜索名称
  22537. in: query
  22538. name: likename
  22539. type: string
  22540. produces:
  22541. - application/json
  22542. responses:
  22543. "200":
  22544. description: OK
  22545. schema:
  22546. items:
  22547. $ref: '#/definitions/models.QhjAccountOutInApply'
  22548. type: array
  22549. "500":
  22550. description: Internal Server Error
  22551. schema:
  22552. $ref: '#/definitions/app.Response'
  22553. security:
  22554. - ApiKeyAuth: []
  22555. summary: 查询充值提现
  22556. tags:
  22557. - 大连千海金
  22558. /Qhj/QueryAreaFinanceConfig:
  22559. get:
  22560. parameters:
  22561. - description: 机构用户ID 其他做市关系,都设置为 1
  22562. in: query
  22563. name: userid
  22564. type: integer
  22565. produces:
  22566. - application/json
  22567. responses:
  22568. "200":
  22569. description: OK
  22570. schema:
  22571. items:
  22572. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22573. type: array
  22574. "500":
  22575. description: Internal Server Error
  22576. schema:
  22577. $ref: '#/definitions/app.Response'
  22578. security:
  22579. - ApiKeyAuth: []
  22580. summary: 查询企业配置表
  22581. tags:
  22582. - 大连千海金
  22583. /Qhj/QueryBankAccountSign:
  22584. get:
  22585. parameters:
  22586. - description: 用户ID
  22587. in: query
  22588. name: userid
  22589. required: true
  22590. type: integer
  22591. produces:
  22592. - application/json
  22593. responses:
  22594. "200":
  22595. description: OK
  22596. schema:
  22597. items:
  22598. $ref: '#/definitions/models.QhjBankAccountSign'
  22599. type: array
  22600. "500":
  22601. description: Internal Server Error
  22602. schema:
  22603. $ref: '#/definitions/app.Response'
  22604. security:
  22605. - ApiKeyAuth: []
  22606. summary: 查询签约银行信息(提现账户管理)
  22607. tags:
  22608. - 大连千海金
  22609. /Qhj/QueryBankInfo:
  22610. get:
  22611. produces:
  22612. - application/json
  22613. responses:
  22614. "200":
  22615. description: OK
  22616. schema:
  22617. items:
  22618. $ref: '#/definitions/models.QhjBankInfo'
  22619. type: array
  22620. "500":
  22621. description: Internal Server Error
  22622. schema:
  22623. $ref: '#/definitions/app.Response'
  22624. security:
  22625. - ApiKeyAuth: []
  22626. summary: 查询开户行
  22627. tags:
  22628. - 大连千海金
  22629. /Qhj/QueryBrokerApply:
  22630. get:
  22631. parameters:
  22632. - description: 所属机构ID
  22633. in: query
  22634. name: userid
  22635. type: integer
  22636. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22637. in: query
  22638. name: filterstatus
  22639. type: string
  22640. produces:
  22641. - application/json
  22642. responses:
  22643. "200":
  22644. description: OK
  22645. schema:
  22646. items:
  22647. $ref: '#/definitions/models.QhjBrokerApply'
  22648. type: array
  22649. "500":
  22650. description: Internal Server Error
  22651. schema:
  22652. $ref: '#/definitions/app.Response'
  22653. security:
  22654. - ApiKeyAuth: []
  22655. summary: 查询经纪人申请
  22656. tags:
  22657. - 大连千海金
  22658. /Qhj/QueryBrokerApplyEx:
  22659. get:
  22660. parameters:
  22661. - description: 所属机构ID
  22662. in: query
  22663. name: userid
  22664. type: integer
  22665. produces:
  22666. - application/json
  22667. responses:
  22668. "200":
  22669. description: OK
  22670. schema:
  22671. items:
  22672. $ref: '#/definitions/models.QhjBrokerApplyEx'
  22673. type: array
  22674. "500":
  22675. description: Internal Server Error
  22676. schema:
  22677. $ref: '#/definitions/app.Response'
  22678. security:
  22679. - ApiKeyAuth: []
  22680. summary: 查询经纪人信息和申请记录
  22681. tags:
  22682. - 大连千海金
  22683. /Qhj/QueryBrokerRewardLog:
  22684. get:
  22685. parameters:
  22686. - description: 用户ID
  22687. in: query
  22688. name: userid
  22689. required: true
  22690. type: integer
  22691. - description: 开始交易日(yyyymmdd)
  22692. in: query
  22693. name: begindate
  22694. type: string
  22695. - description: 结束交易日(yyyymmdd)
  22696. in: query
  22697. name: enddate
  22698. type: string
  22699. produces:
  22700. - application/json
  22701. responses:
  22702. "200":
  22703. description: OK
  22704. schema:
  22705. items:
  22706. $ref: '#/definitions/models.QhjBrokerRewardLog'
  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/QueryContract:
  22718. get:
  22719. parameters:
  22720. - description: 用户ID
  22721. in: query
  22722. name: userid
  22723. type: integer
  22724. - description: scf合同id
  22725. in: query
  22726. name: scfcontractid
  22727. type: integer
  22728. produces:
  22729. - application/json
  22730. responses:
  22731. "200":
  22732. description: OK
  22733. schema:
  22734. items:
  22735. $ref: '#/definitions/models.QhjContract'
  22736. type: array
  22737. "500":
  22738. description: Internal Server Error
  22739. schema:
  22740. $ref: '#/definitions/app.Response'
  22741. security:
  22742. - ApiKeyAuth: []
  22743. summary: 查询融资明细(合同)
  22744. tags:
  22745. - 大连千海金
  22746. /Qhj/QueryContractLog:
  22747. get:
  22748. parameters:
  22749. - description: scf合同id
  22750. in: query
  22751. name: scfcontractid
  22752. required: true
  22753. type: integer
  22754. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22755. in: query
  22756. name: amounttype
  22757. type: string
  22758. produces:
  22759. - application/json
  22760. responses:
  22761. "200":
  22762. description: OK
  22763. schema:
  22764. items:
  22765. $ref: '#/definitions/models.QhjContractLog'
  22766. type: array
  22767. "500":
  22768. description: Internal Server Error
  22769. schema:
  22770. $ref: '#/definitions/app.Response'
  22771. security:
  22772. - ApiKeyAuth: []
  22773. summary: 查询融资明细流水(融资明细详情页中的流水)
  22774. tags:
  22775. - 大连千海金
  22776. /Qhj/QueryCusBankSignBank:
  22777. get:
  22778. produces:
  22779. - application/json
  22780. responses:
  22781. "200":
  22782. description: OK
  22783. schema:
  22784. items:
  22785. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22786. type: array
  22787. "500":
  22788. description: Internal Server Error
  22789. schema:
  22790. $ref: '#/definitions/app.Response'
  22791. security:
  22792. - ApiKeyAuth: []
  22793. summary: 查询托管银行
  22794. tags:
  22795. - 大连千海金
  22796. /Qhj/QueryCustomerInfo:
  22797. get:
  22798. parameters:
  22799. - description: 用户ID
  22800. in: query
  22801. name: userid
  22802. required: true
  22803. type: integer
  22804. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22805. in: query
  22806. name: querytype
  22807. required: true
  22808. type: integer
  22809. - description: 客户类型 1-个人 2-企业
  22810. in: query
  22811. name: userinfotype
  22812. type: integer
  22813. - description: 客户名称(模糊匹配)
  22814. in: query
  22815. name: customername
  22816. type: string
  22817. - description: 昵称(模糊匹配)
  22818. in: query
  22819. name: nickname
  22820. type: string
  22821. - description: 是否包含子级 1-包含
  22822. in: query
  22823. name: includesub
  22824. type: integer
  22825. produces:
  22826. - application/json
  22827. responses:
  22828. "200":
  22829. description: OK
  22830. schema:
  22831. items:
  22832. $ref: '#/definitions/models.QhjCustomer'
  22833. type: array
  22834. "500":
  22835. description: Internal Server Error
  22836. schema:
  22837. $ref: '#/definitions/app.Response'
  22838. security:
  22839. - ApiKeyAuth: []
  22840. summary: 查询客户资料
  22841. tags:
  22842. - 大连千海金
  22843. /Qhj/QueryGoodsEx:
  22844. get:
  22845. parameters:
  22846. - description: 商品id
  22847. in: query
  22848. name: goodsid
  22849. type: integer
  22850. produces:
  22851. - application/json
  22852. responses:
  22853. "200":
  22854. description: OK
  22855. schema:
  22856. items:
  22857. $ref: '#/definitions/models.Qhjgoodsex'
  22858. type: array
  22859. "500":
  22860. description: Internal Server Error
  22861. schema:
  22862. $ref: '#/definitions/app.Response'
  22863. security:
  22864. - ApiKeyAuth: []
  22865. summary: 交易商品扩展表
  22866. tags:
  22867. - 大连千海金
  22868. /Qhj/QueryMyTeam:
  22869. get:
  22870. parameters:
  22871. - description: 用户ID
  22872. in: query
  22873. name: userid
  22874. required: true
  22875. type: integer
  22876. produces:
  22877. - application/json
  22878. responses:
  22879. "200":
  22880. description: OK
  22881. schema:
  22882. items:
  22883. $ref: '#/definitions/models.QhjMyTeamEx'
  22884. type: array
  22885. "500":
  22886. description: Internal Server Error
  22887. schema:
  22888. $ref: '#/definitions/app.Response'
  22889. security:
  22890. - ApiKeyAuth: []
  22891. summary: 查询我的团队
  22892. tags:
  22893. - 大连千海金
  22894. /Qhj/QueryMyTeamOrder:
  22895. get:
  22896. parameters:
  22897. - description: 页码
  22898. in: query
  22899. name: page
  22900. type: integer
  22901. - description: 每页条数
  22902. in: query
  22903. name: pagesize
  22904. type: integer
  22905. - description: 用户ID
  22906. in: query
  22907. name: userid
  22908. required: true
  22909. type: integer
  22910. - description: 交易模式
  22911. in: query
  22912. name: trademode
  22913. type: integer
  22914. - description: 名称(模糊搜索账户)
  22915. in: query
  22916. name: filtername
  22917. type: string
  22918. produces:
  22919. - application/json
  22920. responses:
  22921. "200":
  22922. description: OK
  22923. schema:
  22924. items:
  22925. $ref: '#/definitions/models.QhjTeamOrder'
  22926. type: array
  22927. "500":
  22928. description: Internal Server Error
  22929. schema:
  22930. $ref: '#/definitions/app.Response'
  22931. security:
  22932. - ApiKeyAuth: []
  22933. summary: 查询团队订单(我的团队/团队订单)
  22934. tags:
  22935. - 大连千海金
  22936. /Qhj/QueryParentAreaList:
  22937. get:
  22938. parameters:
  22939. - description: 用户ID
  22940. in: query
  22941. name: userid
  22942. required: true
  22943. type: integer
  22944. produces:
  22945. - application/json
  22946. responses:
  22947. "200":
  22948. description: OK
  22949. schema:
  22950. items:
  22951. $ref: '#/definitions/models.QhjParentAreaList'
  22952. type: array
  22953. "500":
  22954. description: Internal Server Error
  22955. schema:
  22956. $ref: '#/definitions/app.Response'
  22957. security:
  22958. - ApiKeyAuth: []
  22959. summary: 查询所属机构列表
  22960. tags:
  22961. - 大连千海金
  22962. /Qhj/QueryPayOrder:
  22963. get:
  22964. parameters:
  22965. - description: 资金账号id
  22966. in: query
  22967. name: accountid
  22968. required: true
  22969. type: integer
  22970. - description: 成交单号
  22971. in: query
  22972. name: tradeid
  22973. type: integer
  22974. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22975. in: query
  22976. name: payflag
  22977. type: string
  22978. produces:
  22979. - application/json
  22980. responses:
  22981. "200":
  22982. description: OK
  22983. schema:
  22984. items:
  22985. $ref: '#/definitions/models.QhjPayOrder'
  22986. type: array
  22987. "500":
  22988. description: Internal Server Error
  22989. schema:
  22990. $ref: '#/definitions/app.Response'
  22991. security:
  22992. - ApiKeyAuth: []
  22993. summary: 查询待付款单据
  22994. tags:
  22995. - 大连千海金
  22996. /Qhj/QueryPickArea:
  22997. get:
  22998. parameters:
  22999. - description: 用户ID
  23000. in: query
  23001. name: userid
  23002. type: integer
  23003. produces:
  23004. - application/json
  23005. responses:
  23006. "200":
  23007. description: OK
  23008. schema:
  23009. items:
  23010. $ref: '#/definitions/models.QhjPickArea'
  23011. type: array
  23012. "500":
  23013. description: Internal Server Error
  23014. schema:
  23015. $ref: '#/definitions/app.Response'
  23016. security:
  23017. - ApiKeyAuth: []
  23018. summary: 查询提货门店
  23019. tags:
  23020. - 大连千海金
  23021. /Qhj/QueryPickGoods:
  23022. get:
  23023. parameters:
  23024. - description: 交易商品id
  23025. in: query
  23026. name: goodsid
  23027. required: true
  23028. type: integer
  23029. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23030. in: query
  23031. name: status
  23032. type: string
  23033. produces:
  23034. - application/json
  23035. responses:
  23036. "200":
  23037. description: OK
  23038. schema:
  23039. items:
  23040. $ref: '#/definitions/models.QhjPickGoods'
  23041. type: array
  23042. "500":
  23043. description: Internal Server Error
  23044. schema:
  23045. $ref: '#/definitions/app.Response'
  23046. security:
  23047. - ApiKeyAuth: []
  23048. summary: 查询提货商品
  23049. tags:
  23050. - 大连千海金
  23051. /Qhj/QueryRSTriggerLog:
  23052. get:
  23053. parameters:
  23054. - description: 用户ID
  23055. in: query
  23056. name: userid
  23057. type: integer
  23058. - description: 定投策略id
  23059. in: query
  23060. name: regularlystrategyid
  23061. type: integer
  23062. - description: 商品id
  23063. in: query
  23064. name: goodsid
  23065. type: integer
  23066. - description: 开始交易日(yyyymmdd)
  23067. in: query
  23068. name: begindate
  23069. type: string
  23070. - description: 结束交易日(yyyymmdd)
  23071. in: query
  23072. name: enddate
  23073. type: string
  23074. - description: 名称(模糊搜索账户)
  23075. in: query
  23076. name: filtername
  23077. type: string
  23078. produces:
  23079. - application/json
  23080. responses:
  23081. "200":
  23082. description: OK
  23083. schema:
  23084. items:
  23085. $ref: '#/definitions/models.QhjRSTriggerLog'
  23086. type: array
  23087. "500":
  23088. description: Internal Server Error
  23089. schema:
  23090. $ref: '#/definitions/app.Response'
  23091. security:
  23092. - ApiKeyAuth: []
  23093. summary: 查询定投记录(定投管理/详情/定投记录)
  23094. tags:
  23095. - 大连千海金
  23096. /Qhj/QueryRStrategy:
  23097. get:
  23098. parameters:
  23099. - description: 用户ID
  23100. in: query
  23101. name: userid
  23102. type: integer
  23103. - description: 商品id
  23104. in: query
  23105. name: goodsid
  23106. type: integer
  23107. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  23108. in: query
  23109. name: status
  23110. type: string
  23111. - description: 名称(模糊搜索账户)
  23112. in: query
  23113. name: filtername
  23114. type: string
  23115. produces:
  23116. - application/json
  23117. responses:
  23118. "200":
  23119. description: OK
  23120. schema:
  23121. items:
  23122. $ref: '#/definitions/models.QhjRStrategy'
  23123. type: array
  23124. "500":
  23125. description: Internal Server Error
  23126. schema:
  23127. $ref: '#/definitions/app.Response'
  23128. security:
  23129. - ApiKeyAuth: []
  23130. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  23131. tags:
  23132. - 大连千海金
  23133. /Qhj/QueryReckonPriceLog:
  23134. get:
  23135. parameters:
  23136. - description: 商品ID
  23137. in: query
  23138. name: goodsid
  23139. type: integer
  23140. - description: 交易日 格式(yyyymmdd)
  23141. in: query
  23142. name: tradedate
  23143. type: string
  23144. produces:
  23145. - application/json
  23146. responses:
  23147. "200":
  23148. description: OK
  23149. schema:
  23150. items:
  23151. $ref: '#/definitions/models.QhjReckonPriceLog'
  23152. type: array
  23153. "500":
  23154. description: Internal Server Error
  23155. schema:
  23156. $ref: '#/definitions/app.Response'
  23157. security:
  23158. - ApiKeyAuth: []
  23159. summary: 查询定投价(结算价)
  23160. tags:
  23161. - 大连千海金
  23162. /Qhj/QueryScoreLog:
  23163. get:
  23164. parameters:
  23165. - description: 用户ID
  23166. in: query
  23167. name: userid
  23168. required: true
  23169. type: integer
  23170. - description: 开始交易日(yyyymmdd)
  23171. in: query
  23172. name: begindate
  23173. type: string
  23174. - description: 结束交易日(yyyymmdd)
  23175. in: query
  23176. name: enddate
  23177. type: string
  23178. - description: 最近多少条
  23179. in: query
  23180. name: lastnum
  23181. type: integer
  23182. produces:
  23183. - application/json
  23184. responses:
  23185. "200":
  23186. description: OK
  23187. schema:
  23188. items:
  23189. $ref: '#/definitions/models.QhjScoreLog'
  23190. type: array
  23191. "500":
  23192. description: Internal Server Error
  23193. schema:
  23194. $ref: '#/definitions/app.Response'
  23195. security:
  23196. - ApiKeyAuth: []
  23197. summary: 查询积分流水(我的积分)
  23198. tags:
  23199. - 大连千海金
  23200. /Qhj/QuerySiteColumnDetail:
  23201. get:
  23202. parameters:
  23203. - description: 用户ID
  23204. in: query
  23205. name: userid
  23206. required: true
  23207. type: integer
  23208. produces:
  23209. - application/json
  23210. responses:
  23211. "200":
  23212. description: OK
  23213. schema:
  23214. items:
  23215. $ref: '#/definitions/models.QhjSiteColumnDetail'
  23216. type: array
  23217. "500":
  23218. description: Internal Server Error
  23219. schema:
  23220. $ref: '#/definitions/app.Response'
  23221. security:
  23222. - ApiKeyAuth: []
  23223. summary: 查询资讯
  23224. tags:
  23225. - 大连千海金
  23226. /Qhj/QueryTradeGoodsPickup:
  23227. get:
  23228. parameters:
  23229. - description: 用户ID
  23230. in: query
  23231. name: userid
  23232. required: true
  23233. type: integer
  23234. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  23235. 7:已拒绝 8:已撤销
  23236. in: query
  23237. name: takeorderstatus
  23238. type: integer
  23239. produces:
  23240. - application/json
  23241. responses:
  23242. "200":
  23243. description: OK
  23244. schema:
  23245. items:
  23246. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  23247. type: array
  23248. "500":
  23249. description: Internal Server Error
  23250. schema:
  23251. $ref: '#/definitions/app.Response'
  23252. security:
  23253. - ApiKeyAuth: []
  23254. summary: 查询提货
  23255. tags:
  23256. - 大连千海金
  23257. /Qhj/QueryUserCollectConfig:
  23258. get:
  23259. parameters:
  23260. - description: 用户ID
  23261. in: query
  23262. name: userid
  23263. required: true
  23264. type: integer
  23265. produces:
  23266. - application/json
  23267. responses:
  23268. "200":
  23269. description: OK
  23270. schema:
  23271. items:
  23272. $ref: '#/definitions/models.UserCollectConfig'
  23273. type: array
  23274. "500":
  23275. description: Internal Server Error
  23276. schema:
  23277. $ref: '#/definitions/app.Response'
  23278. security:
  23279. - ApiKeyAuth: []
  23280. summary: 查询提现账户设置
  23281. tags:
  23282. - 大连千海金
  23283. /Qhj/QueryUserReceiveInfo:
  23284. get:
  23285. parameters:
  23286. - description: 用户ID
  23287. in: query
  23288. name: userid
  23289. required: true
  23290. type: integer
  23291. produces:
  23292. - application/json
  23293. responses:
  23294. "200":
  23295. description: OK
  23296. schema:
  23297. items:
  23298. $ref: '#/definitions/models.UserReceiveInfo'
  23299. type: array
  23300. "500":
  23301. description: Internal Server Error
  23302. schema:
  23303. $ref: '#/definitions/app.Response'
  23304. security:
  23305. - ApiKeyAuth: []
  23306. summary: 查询收货地址信息
  23307. tags:
  23308. - 大连千海金
  23309. /QhjMgr/QueryAccountInOutApply:
  23310. get:
  23311. parameters:
  23312. - description: 查询类型 1-提现(出金) 2-充值(出金)
  23313. in: query
  23314. name: querytype
  23315. required: true
  23316. type: integer
  23317. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  23318. in: query
  23319. name: applystatus
  23320. type: integer
  23321. - description: 申请起始日期(格式yyyymmdd)
  23322. in: query
  23323. name: begindate
  23324. type: string
  23325. - description: 申请截止日期(格式yyyymmdd)
  23326. in: query
  23327. name: enddate
  23328. type: string
  23329. - description: 模糊搜索名称
  23330. in: query
  23331. name: likename
  23332. type: string
  23333. produces:
  23334. - application/json
  23335. responses:
  23336. "200":
  23337. description: OK
  23338. schema:
  23339. items:
  23340. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  23341. type: array
  23342. "500":
  23343. description: Internal Server Error
  23344. schema:
  23345. $ref: '#/definitions/app.Response'
  23346. security:
  23347. - ApiKeyAuth: []
  23348. summary: 查询充值提现
  23349. tags:
  23350. - 大连千海金(PCWeb)
  23351. /QhjMgr/QueryBrokerApply:
  23352. get:
  23353. parameters:
  23354. - description: 所属机构ID
  23355. in: query
  23356. name: userid
  23357. type: integer
  23358. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23359. in: query
  23360. name: filterstatus
  23361. type: string
  23362. - description: 名称(模糊匹配)
  23363. in: query
  23364. name: filtername
  23365. type: string
  23366. - description: 是否包含子级 1-包含
  23367. in: query
  23368. name: includesub
  23369. type: integer
  23370. produces:
  23371. - application/json
  23372. responses:
  23373. "200":
  23374. description: OK
  23375. schema:
  23376. items:
  23377. $ref: '#/definitions/models.QhjMgrBrokerApply'
  23378. type: array
  23379. "500":
  23380. description: Internal Server Error
  23381. schema:
  23382. $ref: '#/definitions/app.Response'
  23383. security:
  23384. - ApiKeyAuth: []
  23385. summary: 查询经纪人申请
  23386. tags:
  23387. - 大连千海金(PCWeb)
  23388. /QhjMgr/QueryBrokerRewardReport:
  23389. get:
  23390. parameters:
  23391. - description: 所属机构ID
  23392. in: query
  23393. name: userid
  23394. required: true
  23395. type: integer
  23396. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23397. in: query
  23398. name: cycletype
  23399. required: true
  23400. type: integer
  23401. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  23402. in: query
  23403. name: cycletime
  23404. required: true
  23405. type: string
  23406. - description: 名称(模糊匹配)
  23407. in: query
  23408. name: filtername
  23409. type: string
  23410. - description: 是否包含子级 1-包含
  23411. in: query
  23412. name: includesub
  23413. type: integer
  23414. produces:
  23415. - application/json
  23416. responses:
  23417. "200":
  23418. description: OK
  23419. schema:
  23420. items:
  23421. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  23422. type: array
  23423. "500":
  23424. description: Internal Server Error
  23425. schema:
  23426. $ref: '#/definitions/app.Response'
  23427. security:
  23428. - ApiKeyAuth: []
  23429. summary: 查询经纪人奖励报表(废弃)
  23430. tags:
  23431. - 大连千海金(PCWeb)
  23432. /QhjMgr/QueryContract:
  23433. get:
  23434. parameters:
  23435. - description: 用户ID
  23436. in: query
  23437. name: userid
  23438. type: integer
  23439. - description: 商品id
  23440. in: query
  23441. name: goodsid
  23442. type: integer
  23443. - description: 名称(模糊搜索账户)
  23444. in: query
  23445. name: filtername
  23446. type: string
  23447. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  23448. in: query
  23449. name: risklevel
  23450. type: string
  23451. - description: 开始交易日(yyyymmdd)
  23452. in: query
  23453. name: begindate
  23454. type: string
  23455. - description: 结束交易日(yyyymmdd)
  23456. in: query
  23457. name: enddate
  23458. type: string
  23459. produces:
  23460. - application/json
  23461. responses:
  23462. "200":
  23463. description: OK
  23464. schema:
  23465. items:
  23466. $ref: '#/definitions/models.QhjMgrContract'
  23467. type: array
  23468. "500":
  23469. description: Internal Server Error
  23470. schema:
  23471. $ref: '#/definitions/app.Response'
  23472. security:
  23473. - ApiKeyAuth: []
  23474. summary: 查询融资信息(合同)
  23475. tags:
  23476. - 大连千海金(PCWeb)
  23477. /QhjMgr/QueryCustomerInfo:
  23478. get:
  23479. parameters:
  23480. - description: 用户ID
  23481. in: query
  23482. name: userid
  23483. required: true
  23484. type: integer
  23485. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23486. in: query
  23487. name: querytype
  23488. required: true
  23489. type: integer
  23490. - description: 客户类型 1-个人 2-企业
  23491. in: query
  23492. name: userinfotype
  23493. type: integer
  23494. - description: 客户名称(模糊匹配)
  23495. in: query
  23496. name: customername
  23497. type: string
  23498. - description: 昵称(模糊匹配)
  23499. in: query
  23500. name: nickname
  23501. type: string
  23502. - description: 所属客户经理(模糊匹配)
  23503. in: query
  23504. name: brokername
  23505. type: string
  23506. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  23507. 如0503 -5月3日)
  23508. in: query
  23509. name: birthday
  23510. type: string
  23511. - description: 是否包含子级 1-包含
  23512. in: query
  23513. name: includesub
  23514. type: integer
  23515. produces:
  23516. - application/json
  23517. responses:
  23518. "200":
  23519. description: OK
  23520. schema:
  23521. items:
  23522. $ref: '#/definitions/models.QhjMgrCustomer'
  23523. type: array
  23524. "500":
  23525. description: Internal Server Error
  23526. schema:
  23527. $ref: '#/definitions/app.Response'
  23528. security:
  23529. - ApiKeyAuth: []
  23530. summary: 查询客户资料
  23531. tags:
  23532. - 大连千海金(PCWeb)
  23533. /QhjMgr/QueryPickGoods:
  23534. get:
  23535. parameters:
  23536. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23537. in: query
  23538. name: status
  23539. type: string
  23540. produces:
  23541. - application/json
  23542. responses:
  23543. "200":
  23544. description: OK
  23545. schema:
  23546. items:
  23547. $ref: '#/definitions/models.QhjMgrPickGoods'
  23548. type: array
  23549. "500":
  23550. description: Internal Server Error
  23551. schema:
  23552. $ref: '#/definitions/app.Response'
  23553. security:
  23554. - ApiKeyAuth: []
  23555. summary: 查询提货商品
  23556. tags:
  23557. - 大连千海金(PCWeb)
  23558. /QhjMgr/QuerySubArea:
  23559. get:
  23560. parameters:
  23561. - description: 用户ID
  23562. in: query
  23563. name: userid
  23564. required: true
  23565. type: integer
  23566. produces:
  23567. - application/json
  23568. responses:
  23569. "200":
  23570. description: OK
  23571. schema:
  23572. items:
  23573. $ref: '#/definitions/models.QhjMgrSubArea'
  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/QueryTradeDetail:
  23585. get:
  23586. parameters:
  23587. - description: 用户ID
  23588. in: query
  23589. name: userid
  23590. required: true
  23591. type: integer
  23592. - description: 用户类型 1-个人 2-企业
  23593. in: query
  23594. name: userinfotype
  23595. type: integer
  23596. - description: 交易模式
  23597. in: query
  23598. name: trademode
  23599. type: integer
  23600. - description: 商品id
  23601. in: query
  23602. name: goodsid
  23603. type: integer
  23604. - description: 名称(模糊搜索账户)
  23605. in: query
  23606. name: filtername
  23607. type: string
  23608. - description: 开始交易日(yyyymmdd)
  23609. in: query
  23610. name: begindate
  23611. type: string
  23612. - description: 结束交易日(yyyymmdd)
  23613. in: query
  23614. name: enddate
  23615. type: string
  23616. - description: 是否包含子级 1-包含
  23617. in: query
  23618. name: includesub
  23619. type: integer
  23620. produces:
  23621. - application/json
  23622. responses:
  23623. "200":
  23624. description: OK
  23625. schema:
  23626. items:
  23627. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  23628. type: array
  23629. "500":
  23630. description: Internal Server Error
  23631. schema:
  23632. $ref: '#/definitions/app.Response'
  23633. security:
  23634. - ApiKeyAuth: []
  23635. summary: 查询成交明细
  23636. tags:
  23637. - 大连千海金(PCWeb)
  23638. /QhjMgr/QueryTradeOrderDetail:
  23639. get:
  23640. parameters:
  23641. - description: 用户ID
  23642. in: query
  23643. name: userid
  23644. required: true
  23645. type: integer
  23646. - description: 用户类型 1-个人 2-企业
  23647. in: query
  23648. name: userinfotype
  23649. type: integer
  23650. - description: 交易模式
  23651. in: query
  23652. name: trademode
  23653. type: integer
  23654. - description: 商品id
  23655. in: query
  23656. name: goodsid
  23657. type: integer
  23658. - description: 名称(模糊搜索账户)
  23659. in: query
  23660. name: filtername
  23661. type: string
  23662. - description: 开始交易日(yyyymmdd)
  23663. in: query
  23664. name: begindate
  23665. type: string
  23666. - description: 结束交易日(yyyymmdd)
  23667. in: query
  23668. name: enddate
  23669. type: string
  23670. - description: 是否包含子级 1-包含
  23671. in: query
  23672. name: includesub
  23673. type: integer
  23674. produces:
  23675. - application/json
  23676. responses:
  23677. "200":
  23678. description: OK
  23679. schema:
  23680. items:
  23681. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23682. type: array
  23683. "500":
  23684. description: Internal Server Error
  23685. schema:
  23686. $ref: '#/definitions/app.Response'
  23687. security:
  23688. - ApiKeyAuth: []
  23689. summary: 查询委托明细
  23690. tags:
  23691. - 大连千海金(PCWeb)
  23692. /QhjMgr/QueryTradePayOrder:
  23693. get:
  23694. parameters:
  23695. - description: 用户ID
  23696. in: query
  23697. name: userid
  23698. required: true
  23699. type: integer
  23700. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23701. in: query
  23702. name: payflag
  23703. type: string
  23704. - description: 用户类型 1-个人 2-企业
  23705. in: query
  23706. name: userinfotype
  23707. type: integer
  23708. - description: 交易模式
  23709. in: query
  23710. name: trademode
  23711. type: integer
  23712. - description: 商品id
  23713. in: query
  23714. name: goodsid
  23715. type: integer
  23716. - description: 名称(模糊搜索账户)
  23717. in: query
  23718. name: filtername
  23719. type: string
  23720. - description: 开始交易日(yyyymmdd)
  23721. in: query
  23722. name: begindate
  23723. type: string
  23724. - description: 结束交易日(yyyymmdd)
  23725. in: query
  23726. name: enddate
  23727. type: string
  23728. - description: 是否包含子级 1-包含
  23729. in: query
  23730. name: includesub
  23731. type: integer
  23732. produces:
  23733. - application/json
  23734. responses:
  23735. "200":
  23736. description: OK
  23737. schema:
  23738. items:
  23739. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  23740. type: array
  23741. "500":
  23742. description: Internal Server Error
  23743. schema:
  23744. $ref: '#/definitions/app.Response'
  23745. security:
  23746. - ApiKeyAuth: []
  23747. summary: 查询待付款单
  23748. tags:
  23749. - 大连千海金(PCWeb)
  23750. /QhjMgr/QueryTradePosition:
  23751. get:
  23752. parameters:
  23753. - description: 用户ID
  23754. in: query
  23755. name: userid
  23756. required: true
  23757. type: integer
  23758. - description: 用户类型 1-个人 2-企业
  23759. in: query
  23760. name: userinfotype
  23761. type: integer
  23762. - description: 交易模式
  23763. in: query
  23764. name: trademode
  23765. type: integer
  23766. - description: 商品id
  23767. in: query
  23768. name: goodsid
  23769. type: integer
  23770. - description: 名称(模糊搜索账户)
  23771. in: query
  23772. name: filtername
  23773. type: string
  23774. - description: 是否包含子级 1-包含
  23775. in: query
  23776. name: includesub
  23777. type: integer
  23778. produces:
  23779. - application/json
  23780. responses:
  23781. "200":
  23782. description: OK
  23783. schema:
  23784. items:
  23785. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23786. type: array
  23787. "500":
  23788. description: Internal Server Error
  23789. schema:
  23790. $ref: '#/definitions/app.Response'
  23791. security:
  23792. - ApiKeyAuth: []
  23793. summary: 查询持仓汇总
  23794. tags:
  23795. - 大连千海金(PCWeb)
  23796. /QhjSys/QueryAgreementChangeLog:
  23797. get:
  23798. parameters:
  23799. - description: 协议ID
  23800. in: query
  23801. name: agreementid
  23802. type: integer
  23803. - description: 协议版本号
  23804. in: query
  23805. name: agreementversion
  23806. type: integer
  23807. - description: 协议类型 - 1:注册 2:登录 3:交易
  23808. in: query
  23809. name: agreementtype
  23810. type: integer
  23811. - description: 协议编号(模糊匹配)
  23812. in: query
  23813. name: agreementno
  23814. type: string
  23815. - description: 协议名称(模糊匹配)
  23816. in: query
  23817. name: agreementname
  23818. type: string
  23819. produces:
  23820. - application/json
  23821. responses:
  23822. "200":
  23823. description: OK
  23824. schema:
  23825. items:
  23826. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23827. type: array
  23828. "500":
  23829. description: Internal Server Error
  23830. schema:
  23831. $ref: '#/definitions/app.Response'
  23832. security:
  23833. - ApiKeyAuth: []
  23834. summary: 查询协议配置变更流水
  23835. tags:
  23836. - 大连千海金(协议和签约信息)
  23837. /QhjSys/QueryAgreementConfig:
  23838. get:
  23839. parameters:
  23840. - description: 协议ID
  23841. in: query
  23842. name: agreementid
  23843. type: integer
  23844. - description: 协议版本号
  23845. in: query
  23846. name: agreementversion
  23847. type: integer
  23848. - description: 协议类型 - 1:注册 2:登录 3:交易
  23849. in: query
  23850. name: agreementtype
  23851. type: integer
  23852. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23853. in: query
  23854. name: isvalid
  23855. type: integer
  23856. - description: 协议编号(模糊匹配)
  23857. in: query
  23858. name: agreementno
  23859. type: string
  23860. - description: 协议名称(模糊匹配)
  23861. in: query
  23862. name: agreementname
  23863. type: string
  23864. produces:
  23865. - application/json
  23866. responses:
  23867. "200":
  23868. description: OK
  23869. schema:
  23870. items:
  23871. $ref: '#/definitions/models.QhjAgreementConfig'
  23872. type: array
  23873. "500":
  23874. description: Internal Server Error
  23875. schema:
  23876. $ref: '#/definitions/app.Response'
  23877. security:
  23878. - ApiKeyAuth: []
  23879. summary: 查询协议配置
  23880. tags:
  23881. - 大连千海金(协议和签约信息)
  23882. /QhjSys/QueryCustomerSignStatus:
  23883. get:
  23884. parameters:
  23885. - description: 客户ID
  23886. in: query
  23887. name: userid
  23888. type: integer
  23889. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23890. in: query
  23891. name: nodetype
  23892. type: integer
  23893. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23894. in: query
  23895. name: goodsid
  23896. type: integer
  23897. - description: 创建交易日(yyyyMMdd)
  23898. in: query
  23899. name: tradedate
  23900. type: string
  23901. - description: 用户名称(模糊匹配)
  23902. in: query
  23903. name: username
  23904. type: string
  23905. produces:
  23906. - application/json
  23907. responses:
  23908. "200":
  23909. description: OK
  23910. schema:
  23911. items:
  23912. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23913. type: array
  23914. "500":
  23915. description: Internal Server Error
  23916. schema:
  23917. $ref: '#/definitions/app.Response'
  23918. security:
  23919. - ApiKeyAuth: []
  23920. summary: 查询客户协议签约状态
  23921. tags:
  23922. - 大连千海金(协议和签约信息)
  23923. /QhjSys/QueryNodeAgreementConfig:
  23924. get:
  23925. parameters:
  23926. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23927. in: query
  23928. name: configid
  23929. type: integer
  23930. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23931. in: query
  23932. name: nodetype
  23933. type: integer
  23934. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23935. in: query
  23936. name: goodsid
  23937. type: integer
  23938. - description: 协议ID
  23939. in: query
  23940. name: agreementid
  23941. type: integer
  23942. - description: 协议类型 - 1:注册 2:登录 3:交易
  23943. in: query
  23944. name: agreementtype
  23945. type: integer
  23946. - description: 协议版本号
  23947. in: query
  23948. name: agreementversion
  23949. type: integer
  23950. - description: 协议编号(模糊匹配)
  23951. in: query
  23952. name: agreementno
  23953. type: string
  23954. - description: 协议名称(模糊匹配)
  23955. in: query
  23956. name: agreementname
  23957. type: string
  23958. produces:
  23959. - application/json
  23960. responses:
  23961. "200":
  23962. description: OK
  23963. schema:
  23964. items:
  23965. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23966. type: array
  23967. "500":
  23968. description: Internal Server Error
  23969. schema:
  23970. $ref: '#/definitions/app.Response'
  23971. security:
  23972. - ApiKeyAuth: []
  23973. summary: 查询协议节点配置
  23974. tags:
  23975. - 大连千海金(协议和签约信息)
  23976. /QhjSys/QueryQhjCustomerSignLog:
  23977. get:
  23978. parameters:
  23979. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23980. in: query
  23981. name: logid
  23982. type: integer
  23983. - description: 客户ID
  23984. in: query
  23985. name: userid
  23986. type: integer
  23987. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23988. in: query
  23989. name: nodetype
  23990. type: integer
  23991. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23992. in: query
  23993. name: goodsid
  23994. type: integer
  23995. - description: 协议ID
  23996. in: query
  23997. name: agreementid
  23998. type: integer
  23999. - description: 用户名称(模糊匹配)
  24000. in: query
  24001. name: username
  24002. type: string
  24003. - description: 协议编号(模糊匹配)
  24004. in: query
  24005. name: agreementno
  24006. type: string
  24007. - description: 协议名称(模糊匹配)
  24008. in: query
  24009. name: agreementname
  24010. type: string
  24011. produces:
  24012. - application/json
  24013. responses:
  24014. "200":
  24015. description: OK
  24016. schema:
  24017. items:
  24018. $ref: '#/definitions/models.QhjCustomerSignLog'
  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/QueryUserNodeCfgAndStatus:
  24030. get:
  24031. parameters:
  24032. - description: 客户ID
  24033. in: query
  24034. name: userid
  24035. type: integer
  24036. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24037. in: query
  24038. name: configid
  24039. type: integer
  24040. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24041. in: query
  24042. name: nodetype
  24043. type: string
  24044. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24045. in: query
  24046. name: goodsid
  24047. type: integer
  24048. - description: 协议ID
  24049. in: query
  24050. name: agreementid
  24051. type: integer
  24052. - description: 协议类型 - 1:注册 2:登录 3:交易
  24053. in: query
  24054. name: agreementtype
  24055. type: integer
  24056. - description: 协议版本号
  24057. in: query
  24058. name: agreementversion
  24059. type: integer
  24060. - description: 协议编号(模糊匹配)
  24061. in: query
  24062. name: agreementno
  24063. type: string
  24064. - description: 协议名称(模糊匹配)
  24065. in: query
  24066. name: agreementname
  24067. type: string
  24068. produces:
  24069. - application/json
  24070. responses:
  24071. "200":
  24072. description: OK
  24073. schema:
  24074. items:
  24075. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  24076. type: array
  24077. "500":
  24078. description: Internal Server Error
  24079. schema:
  24080. $ref: '#/definitions/app.Response'
  24081. security:
  24082. - ApiKeyAuth: []
  24083. summary: 查询用户协议节点配置和状态
  24084. tags:
  24085. - 大连千海金(协议和签约信息)
  24086. /Quote/QueryHistoryDatas:
  24087. get:
  24088. parameters:
  24089. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  24090. 日线'
  24091. in: query
  24092. name: cycleType
  24093. required: true
  24094. type: integer
  24095. - description: 商品代码
  24096. in: query
  24097. name: goodsCode
  24098. required: true
  24099. type: string
  24100. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24101. in: query
  24102. name: startTime
  24103. type: string
  24104. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24105. in: query
  24106. name: endTime
  24107. type: string
  24108. - description: 条数
  24109. in: query
  24110. name: count
  24111. type: integer
  24112. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24113. in: query
  24114. name: isAsc
  24115. type: boolean
  24116. produces:
  24117. - application/json
  24118. responses:
  24119. "200":
  24120. description: OK
  24121. schema:
  24122. $ref: '#/definitions/quote.HistoryData'
  24123. "500":
  24124. description: Internal Server Error
  24125. schema:
  24126. $ref: '#/definitions/app.Response'
  24127. security:
  24128. - ApiKeyAuth: []
  24129. summary: 查询行情历史数据
  24130. tags:
  24131. - 行情服务
  24132. /Quote/QueryHistoryTikDatas:
  24133. get:
  24134. parameters:
  24135. - description: 商品代码
  24136. in: query
  24137. name: goodsCode
  24138. required: true
  24139. type: string
  24140. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24141. in: query
  24142. name: startTime
  24143. type: string
  24144. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24145. in: query
  24146. name: endTime
  24147. type: string
  24148. - description: 条数
  24149. in: query
  24150. name: count
  24151. type: integer
  24152. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24153. in: query
  24154. name: isAsc
  24155. type: boolean
  24156. produces:
  24157. - application/json
  24158. responses:
  24159. "200":
  24160. description: OK
  24161. schema:
  24162. $ref: '#/definitions/quote.HistoryTikData'
  24163. "500":
  24164. description: Internal Server Error
  24165. schema:
  24166. $ref: '#/definitions/app.Response'
  24167. security:
  24168. - ApiKeyAuth: []
  24169. summary: 查询行情Tik数据
  24170. tags:
  24171. - 行情服务
  24172. /Quote/QueryQuoteDay:
  24173. get:
  24174. parameters:
  24175. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  24176. in: query
  24177. name: goodsCodes
  24178. required: true
  24179. type: string
  24180. produces:
  24181. - application/json
  24182. responses:
  24183. "200":
  24184. description: OK
  24185. schema:
  24186. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24187. "500":
  24188. description: Internal Server Error
  24189. schema:
  24190. $ref: '#/definitions/app.Response'
  24191. security:
  24192. - ApiKeyAuth: []
  24193. summary: 获取商品盘面信息
  24194. tags:
  24195. - 行情服务
  24196. /Quote/QueryTSData:
  24197. get:
  24198. parameters:
  24199. - description: 商品代码
  24200. in: query
  24201. name: goodsCode
  24202. required: true
  24203. type: string
  24204. produces:
  24205. - application/json
  24206. responses:
  24207. "200":
  24208. description: OK
  24209. schema:
  24210. $ref: '#/definitions/quote.QueryTSDataRsp'
  24211. "500":
  24212. description: Internal Server Error
  24213. schema:
  24214. $ref: '#/definitions/app.Response'
  24215. security:
  24216. - ApiKeyAuth: []
  24217. summary: 分时图数据查询
  24218. tags:
  24219. - 行情服务
  24220. /SZDZ/QueryConvertConfig:
  24221. get:
  24222. parameters:
  24223. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  24224. 6:交易转花生米(不设置)
  24225. in: query
  24226. name: convertType
  24227. type: integer
  24228. - description: 外部商品代码[JD\PD]
  24229. in: query
  24230. name: outerGoodsCode
  24231. type: string
  24232. - description: 内部商品ID列表[交易],格式:1,2,3
  24233. in: query
  24234. name: innerGoodsIDs
  24235. type: string
  24236. produces:
  24237. - application/json
  24238. responses:
  24239. "200":
  24240. description: OK
  24241. schema:
  24242. $ref: '#/definitions/models.Szdz3convertconfig'
  24243. "500":
  24244. description: Internal Server Error
  24245. schema:
  24246. $ref: '#/definitions/app.Response'
  24247. security:
  24248. - ApiKeyAuth: []
  24249. summary: 查询交易系统转换设置
  24250. tags:
  24251. - 定制【尚志大宗】
  24252. /SZDZ/QueryConvertLog:
  24253. get:
  24254. parameters:
  24255. - description: 资金账户 - 格式:1,2,3
  24256. in: query
  24257. name: accountID
  24258. required: true
  24259. type: string
  24260. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24261. in: query
  24262. name: startDate
  24263. type: string
  24264. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24265. in: query
  24266. name: endDate
  24267. type: string
  24268. produces:
  24269. - application/json
  24270. responses:
  24271. "200":
  24272. description: OK
  24273. schema:
  24274. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24275. "500":
  24276. description: Internal Server Error
  24277. schema:
  24278. $ref: '#/definitions/app.Response'
  24279. security:
  24280. - ApiKeyAuth: []
  24281. summary: 交易系统转换流水查询
  24282. tags:
  24283. - 定制【尚志大宗】
  24284. /SZDZ/QueryGoodsPickup:
  24285. get:
  24286. parameters:
  24287. - description: 资金账户 - 格式:1,2,3
  24288. in: query
  24289. name: accountID
  24290. required: true
  24291. type: string
  24292. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24293. in: query
  24294. name: takeOrderStatus
  24295. type: integer
  24296. produces:
  24297. - application/json
  24298. responses:
  24299. "200":
  24300. description: OK
  24301. schema:
  24302. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24303. "500":
  24304. description: Internal Server Error
  24305. schema:
  24306. $ref: '#/definitions/app.Response'
  24307. security:
  24308. - ApiKeyAuth: []
  24309. summary: 商品提货单查询
  24310. tags:
  24311. - 定制【尚志大宗】
  24312. /SZDZ/QueryRecieptOrder:
  24313. get:
  24314. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24315. parameters:
  24316. - description: 页码
  24317. in: query
  24318. name: page
  24319. type: integer
  24320. - description: 每页条数
  24321. in: query
  24322. name: pagesize
  24323. type: integer
  24324. - description: 商品ID
  24325. in: query
  24326. name: goodsID
  24327. required: true
  24328. type: integer
  24329. - description: 所属账户名称
  24330. in: query
  24331. name: accountName
  24332. type: string
  24333. - description: 市场ID
  24334. in: query
  24335. name: marketID
  24336. type: integer
  24337. - description: 方向 - 0:买 1:卖
  24338. in: query
  24339. name: buyorsell
  24340. required: true
  24341. type: integer
  24342. produces:
  24343. - application/json
  24344. responses:
  24345. "200":
  24346. description: OK
  24347. schema:
  24348. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24349. "500":
  24350. description: Internal Server Error
  24351. schema:
  24352. $ref: '#/definitions/app.Response'
  24353. security:
  24354. - ApiKeyAuth: []
  24355. summary: 点选挂牌委托单据查询(摘牌大厅)
  24356. tags:
  24357. - 定制【尚志大宗】
  24358. /SZDZ/QuerySZDZTradePosition:
  24359. get:
  24360. parameters:
  24361. - description: 资金账户
  24362. in: query
  24363. name: accountID
  24364. required: true
  24365. type: integer
  24366. produces:
  24367. - application/json
  24368. responses:
  24369. "200":
  24370. description: OK
  24371. schema:
  24372. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24373. "500":
  24374. description: Internal Server Error
  24375. schema:
  24376. $ref: '#/definitions/app.Response'
  24377. security:
  24378. - ApiKeyAuth: []
  24379. summary: 持仓汇总查询(尚志大宗)
  24380. tags:
  24381. - 定制【尚志大宗】
  24382. /SZDZ/SearchWhite:
  24383. get:
  24384. parameters:
  24385. - description: 用户ID
  24386. in: query
  24387. name: userID
  24388. required: true
  24389. type: integer
  24390. produces:
  24391. - application/json
  24392. responses:
  24393. "200":
  24394. description: OK
  24395. schema:
  24396. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24397. "500":
  24398. description: Internal Server Error
  24399. schema:
  24400. $ref: '#/definitions/app.Response'
  24401. security:
  24402. - ApiKeyAuth: []
  24403. summary: 搜索白名单
  24404. tags:
  24405. - 定制【尚志大宗】
  24406. /Search/SearchGoodses:
  24407. get:
  24408. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24409. parameters:
  24410. - description: 检索内容
  24411. in: query
  24412. name: content
  24413. required: true
  24414. type: string
  24415. - description: 交易模式,格式:1,2,3
  24416. in: query
  24417. name: tradeModes
  24418. type: string
  24419. produces:
  24420. - application/json
  24421. responses:
  24422. "200":
  24423. description: OK
  24424. schema:
  24425. $ref: '#/definitions/models.SearchGoods'
  24426. "500":
  24427. description: Internal Server Error
  24428. schema:
  24429. $ref: '#/definitions/app.Response'
  24430. summary: 检索商品信息
  24431. tags:
  24432. - 检索服务
  24433. /TaAccount/GetTaAccounts:
  24434. get:
  24435. parameters:
  24436. - description: 登录账户
  24437. in: query
  24438. name: loginID
  24439. required: true
  24440. type: integer
  24441. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24442. in: query
  24443. name: taAccountType
  24444. type: integer
  24445. produces:
  24446. - application/json
  24447. responses:
  24448. "200":
  24449. description: OK
  24450. schema:
  24451. $ref: '#/definitions/models.Taaccount'
  24452. "500":
  24453. description: Internal Server Error
  24454. schema:
  24455. $ref: '#/definitions/app.Response'
  24456. security:
  24457. - ApiKeyAuth: []
  24458. summary: 获取资金账户信息
  24459. tags:
  24460. - 资金账户
  24461. /TaAccount/QueryAmountLog:
  24462. get:
  24463. parameters:
  24464. - description: 页码
  24465. in: query
  24466. name: page
  24467. type: integer
  24468. - description: 每页条数
  24469. in: query
  24470. name: pagesize
  24471. type: integer
  24472. - description: 资金账户 - 格式:1,2,3
  24473. in: query
  24474. name: accountID
  24475. required: true
  24476. type: string
  24477. - description: 资金操作类型 - 格式:1,2,3
  24478. in: query
  24479. name: OperateType
  24480. type: string
  24481. produces:
  24482. - application/json
  24483. responses:
  24484. "200":
  24485. description: OK
  24486. schema:
  24487. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24488. "500":
  24489. description: Internal Server Error
  24490. schema:
  24491. $ref: '#/definitions/app.Response'
  24492. security:
  24493. - ApiKeyAuth: []
  24494. summary: 资金流水查询(当前)
  24495. tags:
  24496. - 资金账户
  24497. /TaAccount/QueryHisAmountLog:
  24498. get:
  24499. parameters:
  24500. - description: 页码
  24501. in: query
  24502. name: page
  24503. type: integer
  24504. - description: 每页条数
  24505. in: query
  24506. name: pagesize
  24507. type: integer
  24508. - description: 资金账户 - 格式:1,2,3
  24509. in: query
  24510. name: accountID
  24511. required: true
  24512. type: string
  24513. - description: 资金操作类型 - 格式:1,2,3
  24514. in: query
  24515. name: OperateType
  24516. type: string
  24517. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24518. in: query
  24519. name: startDate
  24520. type: string
  24521. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24522. in: query
  24523. name: endDate
  24524. type: string
  24525. produces:
  24526. - application/json
  24527. responses:
  24528. "200":
  24529. description: OK
  24530. schema:
  24531. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24532. "500":
  24533. description: Internal Server Error
  24534. schema:
  24535. $ref: '#/definitions/app.Response'
  24536. security:
  24537. - ApiKeyAuth: []
  24538. summary: 资金流水查询(历史)
  24539. tags:
  24540. - 资金账户
  24541. /Tjmd/QueryQuoteGoodsList:
  24542. get:
  24543. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  24544. parameters:
  24545. - description: 用户类型
  24546. in: query
  24547. name: usertype
  24548. required: true
  24549. type: integer
  24550. - description: 市场id, 格式 1,2,3
  24551. in: query
  24552. name: marketids
  24553. type: string
  24554. - description: 商品组id
  24555. in: query
  24556. name: goodsgroupid
  24557. type: integer
  24558. - description: 商品id
  24559. in: query
  24560. name: goodsid
  24561. type: integer
  24562. produces:
  24563. - application/json
  24564. responses:
  24565. "200":
  24566. description: OK
  24567. schema:
  24568. items:
  24569. $ref: '#/definitions/models.TjmdQuoteGoods'
  24570. type: array
  24571. "500":
  24572. description: Internal Server Error
  24573. schema:
  24574. $ref: '#/definitions/app.Response'
  24575. security:
  24576. - ApiKeyAuth: []
  24577. summary: 查询掉期报价列表
  24578. tags:
  24579. - 天津麦顿
  24580. /Tjmd/QueryTjmdTradeOrderDetail:
  24581. get:
  24582. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  24583. parameters:
  24584. - description: 页码
  24585. in: query
  24586. name: page
  24587. type: integer
  24588. - description: 每页条数
  24589. in: query
  24590. name: pagesize
  24591. type: integer
  24592. - description: 用户类型
  24593. in: query
  24594. name: usertype
  24595. required: true
  24596. type: integer
  24597. - description: 市场id, 格式 1,2,3
  24598. in: query
  24599. name: marketids
  24600. type: string
  24601. - description: 商品id
  24602. in: query
  24603. name: goodsid
  24604. required: true
  24605. type: integer
  24606. - description: 买卖方向 0-买 1-卖
  24607. in: query
  24608. name: buyorsell
  24609. required: true
  24610. type: integer
  24611. produces:
  24612. - application/json
  24613. responses:
  24614. "200":
  24615. description: OK
  24616. schema:
  24617. items:
  24618. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  24619. type: array
  24620. "500":
  24621. description: Internal Server Error
  24622. schema:
  24623. $ref: '#/definitions/app.Response'
  24624. security:
  24625. - ApiKeyAuth: []
  24626. summary: 查询掉期买卖大厅
  24627. tags:
  24628. - 天津麦顿
  24629. /Tjmd/QueryTjmdTransferApply:
  24630. get:
  24631. parameters:
  24632. - description: 类型 1-我的申请 2-对方申请
  24633. in: query
  24634. name: applytype
  24635. required: true
  24636. type: integer
  24637. - description: 市场id, 格式 1,2,3
  24638. in: query
  24639. name: marketids
  24640. type: string
  24641. - description: 资金账号, 格式 25000000001,25000000003
  24642. in: query
  24643. name: accountids
  24644. type: string
  24645. produces:
  24646. - application/json
  24647. responses:
  24648. "200":
  24649. description: OK
  24650. schema:
  24651. items:
  24652. $ref: '#/definitions/models.TjmdTransferApply'
  24653. type: array
  24654. "500":
  24655. description: Internal Server Error
  24656. schema:
  24657. $ref: '#/definitions/app.Response'
  24658. security:
  24659. - ApiKeyAuth: []
  24660. summary: 查询掉期协议单
  24661. tags:
  24662. - 天津麦顿
  24663. /Trade/QueryRecieptOrder:
  24664. get:
  24665. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24666. parameters:
  24667. - description: 页码
  24668. in: query
  24669. name: page
  24670. type: integer
  24671. - description: 每页条数
  24672. in: query
  24673. name: pagesize
  24674. type: integer
  24675. - description: 商品ID
  24676. in: query
  24677. name: goodsID
  24678. required: true
  24679. type: integer
  24680. - description: 所属账户名称
  24681. in: query
  24682. name: accountName
  24683. type: string
  24684. - description: 市场ID
  24685. in: query
  24686. name: marketID
  24687. type: integer
  24688. - description: 方向 - 0:买 1:卖
  24689. in: query
  24690. name: buyorsell
  24691. required: true
  24692. type: integer
  24693. produces:
  24694. - application/json
  24695. responses:
  24696. "200":
  24697. description: OK
  24698. schema:
  24699. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24700. "500":
  24701. description: Internal Server Error
  24702. schema:
  24703. $ref: '#/definitions/app.Response'
  24704. security:
  24705. - ApiKeyAuth: []
  24706. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24707. tags:
  24708. - 通用交易
  24709. /User/AddMessageBoard:
  24710. post:
  24711. parameters:
  24712. - description: 用户ID
  24713. in: query
  24714. name: userID
  24715. required: true
  24716. type: integer
  24717. - description: 留言信息
  24718. in: query
  24719. name: message
  24720. required: true
  24721. type: string
  24722. - description: 联系电话
  24723. in: query
  24724. name: contactNum
  24725. required: true
  24726. type: string
  24727. produces:
  24728. - application/json
  24729. responses:
  24730. "200":
  24731. description: OK
  24732. schema:
  24733. $ref: '#/definitions/app.Response'
  24734. "500":
  24735. description: Internal Server Error
  24736. schema:
  24737. $ref: '#/definitions/app.Response'
  24738. security:
  24739. - ApiKeyAuth: []
  24740. summary: 添加用户留言板信息
  24741. tags:
  24742. - 用户信息
  24743. /User/AddUserFavoriteGoods:
  24744. post:
  24745. parameters:
  24746. - description: 用户ID
  24747. in: query
  24748. name: userID
  24749. required: true
  24750. type: integer
  24751. - description: 商品ID
  24752. in: query
  24753. name: goodsID
  24754. required: true
  24755. type: integer
  24756. produces:
  24757. - application/json
  24758. responses:
  24759. "200":
  24760. description: OK
  24761. schema:
  24762. $ref: '#/definitions/app.Response'
  24763. "500":
  24764. description: Internal Server Error
  24765. schema:
  24766. $ref: '#/definitions/app.Response'
  24767. security:
  24768. - ApiKeyAuth: []
  24769. summary: 添加用户商品收藏信息
  24770. tags:
  24771. - 用户信息
  24772. /User/GetLoginID:
  24773. get:
  24774. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24775. parameters:
  24776. - description: 登录代码
  24777. in: query
  24778. name: username
  24779. required: true
  24780. type: string
  24781. produces:
  24782. - application/json
  24783. responses:
  24784. "200":
  24785. description: OK
  24786. schema:
  24787. $ref: '#/definitions/app.Response'
  24788. "500":
  24789. description: Internal Server Error
  24790. schema:
  24791. $ref: '#/definitions/app.Response'
  24792. summary: 获取登录ID
  24793. tags:
  24794. - 用户信息
  24795. /User/GetUserAccount:
  24796. get:
  24797. parameters:
  24798. - description: 用户ID
  24799. in: query
  24800. name: userID
  24801. required: true
  24802. type: integer
  24803. produces:
  24804. - application/json
  24805. responses:
  24806. "200":
  24807. description: OK
  24808. schema:
  24809. $ref: '#/definitions/models.Useraccount'
  24810. "500":
  24811. description: Internal Server Error
  24812. schema:
  24813. $ref: '#/definitions/app.Response'
  24814. security:
  24815. - ApiKeyAuth: []
  24816. summary: 获取用户账号信息
  24817. tags:
  24818. - 用户信息
  24819. /User/GetUserAuthStatus:
  24820. get:
  24821. parameters:
  24822. - description: 用户ID
  24823. in: query
  24824. name: userID
  24825. required: true
  24826. type: integer
  24827. produces:
  24828. - application/json
  24829. responses:
  24830. "200":
  24831. description: OK
  24832. schema:
  24833. $ref: '#/definitions/app.Response'
  24834. "500":
  24835. description: Internal Server Error
  24836. schema:
  24837. $ref: '#/definitions/app.Response'
  24838. security:
  24839. - ApiKeyAuth: []
  24840. summary: 获取用户实名认证状态
  24841. tags:
  24842. - 用户信息
  24843. /User/LoginQuery:
  24844. get:
  24845. parameters:
  24846. - description: 登录账号
  24847. in: query
  24848. name: loginID
  24849. required: true
  24850. type: integer
  24851. produces:
  24852. - application/json
  24853. responses:
  24854. "200":
  24855. description: OK
  24856. schema:
  24857. $ref: '#/definitions/user.LoginQueryRsp'
  24858. "500":
  24859. description: Internal Server Error
  24860. schema:
  24861. $ref: '#/definitions/app.Response'
  24862. security:
  24863. - ApiKeyAuth: []
  24864. summary: 账户登录后信息查询
  24865. tags:
  24866. - 用户信息
  24867. /User/QueryMessageBoard:
  24868. get:
  24869. parameters:
  24870. - description: 用户ID
  24871. in: query
  24872. name: userID
  24873. required: true
  24874. type: integer
  24875. produces:
  24876. - application/json
  24877. responses:
  24878. "200":
  24879. description: OK
  24880. schema:
  24881. $ref: '#/definitions/models.Messageboard'
  24882. "500":
  24883. description: Internal Server Error
  24884. schema:
  24885. $ref: '#/definitions/app.Response'
  24886. security:
  24887. - ApiKeyAuth: []
  24888. summary: 获取用户留言板信息
  24889. tags:
  24890. - 用户信息
  24891. /User/QueryUserFavoriteGoodses:
  24892. get:
  24893. parameters:
  24894. - description: 用户ID
  24895. in: query
  24896. name: userID
  24897. required: true
  24898. type: integer
  24899. produces:
  24900. - application/json
  24901. responses:
  24902. "200":
  24903. description: OK
  24904. schema:
  24905. $ref: '#/definitions/models.Userfavoritegoods'
  24906. "500":
  24907. description: Internal Server Error
  24908. schema:
  24909. $ref: '#/definitions/app.Response'
  24910. security:
  24911. - ApiKeyAuth: []
  24912. summary: 获取用户商品收藏信息
  24913. tags:
  24914. - 用户信息
  24915. /User/QueryUserInfo:
  24916. get:
  24917. parameters:
  24918. - description: 用户ID
  24919. in: query
  24920. name: userID
  24921. required: true
  24922. type: integer
  24923. - description: 是否解密
  24924. in: query
  24925. name: isDecrypt
  24926. type: boolean
  24927. produces:
  24928. - application/json
  24929. responses:
  24930. "200":
  24931. description: OK
  24932. schema:
  24933. $ref: '#/definitions/models.Userinfo'
  24934. "500":
  24935. description: Internal Server Error
  24936. schema:
  24937. $ref: '#/definitions/app.Response'
  24938. security:
  24939. - ApiKeyAuth: []
  24940. summary: 获取用户信息
  24941. tags:
  24942. - 用户信息
  24943. /User/QueryUserReferNum:
  24944. get:
  24945. parameters:
  24946. - description: 用户ID
  24947. in: query
  24948. name: userID
  24949. required: true
  24950. type: integer
  24951. produces:
  24952. - application/json
  24953. responses:
  24954. "200":
  24955. description: OK
  24956. schema:
  24957. $ref: '#/definitions/app.Response'
  24958. "500":
  24959. description: Internal Server Error
  24960. schema:
  24961. $ref: '#/definitions/app.Response'
  24962. summary: 获取用户邀请码
  24963. tags:
  24964. - 用户信息
  24965. /User/RemoveUserFavoriteGoods:
  24966. post:
  24967. parameters:
  24968. - description: 用户ID
  24969. in: query
  24970. name: userID
  24971. required: true
  24972. type: integer
  24973. - description: 商品ID
  24974. in: query
  24975. name: goodsID
  24976. required: true
  24977. type: integer
  24978. produces:
  24979. - application/json
  24980. responses:
  24981. "200":
  24982. description: OK
  24983. schema:
  24984. $ref: '#/definitions/app.Response'
  24985. "500":
  24986. description: Internal Server Error
  24987. schema:
  24988. $ref: '#/definitions/app.Response'
  24989. security:
  24990. - ApiKeyAuth: []
  24991. summary: 移除用户商品收藏信息
  24992. tags:
  24993. - 用户信息
  24994. /User/UpdateUserAccountStatus:
  24995. post:
  24996. parameters:
  24997. - description: 用户ID
  24998. in: query
  24999. name: userID
  25000. required: true
  25001. type: integer
  25002. - description: 账户状态 - 4:正常 6:注销(停用)
  25003. in: query
  25004. name: accountStatus
  25005. required: true
  25006. type: integer
  25007. produces:
  25008. - application/json
  25009. responses:
  25010. "200":
  25011. description: OK
  25012. schema:
  25013. $ref: '#/definitions/app.Response'
  25014. "500":
  25015. description: Internal Server Error
  25016. schema:
  25017. $ref: '#/definitions/app.Response'
  25018. security:
  25019. - ApiKeyAuth: []
  25020. summary: 更新用户状态
  25021. tags:
  25022. - 用户信息
  25023. /WRTrade/GetAllDeliveryGoods:
  25024. get:
  25025. produces:
  25026. - application/json
  25027. - application/json
  25028. responses:
  25029. "200":
  25030. description: OK
  25031. schema:
  25032. $ref: '#/definitions/app.Response'
  25033. "500":
  25034. description: Internal Server Error
  25035. schema:
  25036. $ref: '#/definitions/app.Response'
  25037. security:
  25038. - ApiKeyAuth: []
  25039. - ApiKeyAuth: []
  25040. summary: 获取带仓单分类的种类信息
  25041. tags:
  25042. - 仓单贸易
  25043. - 仓单贸易
  25044. /WrTrade2/QueryFaProductDetail:
  25045. get:
  25046. description: 页面 买卖大厅 -> 选择融资方案
  25047. parameters:
  25048. - description: 仓单要素id
  25049. in: query
  25050. name: wrfactortypeid
  25051. required: true
  25052. type: integer
  25053. produces:
  25054. - application/json
  25055. responses:
  25056. "200":
  25057. description: OK
  25058. schema:
  25059. items:
  25060. $ref: '#/definitions/models.WrFAProductDetail'
  25061. type: array
  25062. "500":
  25063. description: Internal Server Error
  25064. schema:
  25065. $ref: '#/definitions/app.Response'
  25066. security:
  25067. - ApiKeyAuth: []
  25068. summary: 查询融资产品列表
  25069. tags:
  25070. - 仓单贸易v2
  25071. /WrTrade2/QueryFilterItem:
  25072. get:
  25073. parameters:
  25074. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25075. in: query
  25076. name: itype
  25077. required: true
  25078. type: string
  25079. produces:
  25080. - application/json
  25081. responses:
  25082. "200":
  25083. description: OK
  25084. schema:
  25085. items:
  25086. $ref: '#/definitions/models.WrFilterItem'
  25087. type: array
  25088. "500":
  25089. description: Internal Server Error
  25090. schema:
  25091. $ref: '#/definitions/app.Response'
  25092. security:
  25093. - ApiKeyAuth: []
  25094. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25095. tags:
  25096. - 仓单贸易v2
  25097. /WrTrade2/QueryFtDeliveryGoods:
  25098. get:
  25099. produces:
  25100. - application/json
  25101. responses:
  25102. "200":
  25103. description: OK
  25104. schema:
  25105. items:
  25106. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25107. type: array
  25108. "500":
  25109. description: Internal Server Error
  25110. schema:
  25111. $ref: '#/definitions/app.Response'
  25112. security:
  25113. - ApiKeyAuth: []
  25114. summary: 查询品种品类筛选框列表
  25115. tags:
  25116. - 仓单贸易v2
  25117. /WrTrade2/QueryHoldLB:
  25118. get:
  25119. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25120. parameters:
  25121. - description: 资金账号
  25122. in: query
  25123. name: accountid
  25124. required: true
  25125. type: integer
  25126. - description: 仓库id
  25127. in: query
  25128. name: warehouseid
  25129. type: integer
  25130. - description: 品种id
  25131. in: query
  25132. name: deliverygoodsid
  25133. type: integer
  25134. - description: 品类id
  25135. in: query
  25136. name: wrstandardid
  25137. type: integer
  25138. - description: 仓单要素id
  25139. in: query
  25140. name: wrfactortypeid
  25141. type: integer
  25142. produces:
  25143. - application/json
  25144. responses:
  25145. "200":
  25146. description: OK
  25147. schema:
  25148. items:
  25149. $ref: '#/definitions/models.WrHoldLB'
  25150. type: array
  25151. "500":
  25152. description: Internal Server Error
  25153. schema:
  25154. $ref: '#/definitions/app.Response'
  25155. security:
  25156. - ApiKeyAuth: []
  25157. summary: 查询仓单持有记录
  25158. tags:
  25159. - 仓单贸易v2
  25160. /WrTrade2/QueryOrderQuote:
  25161. get:
  25162. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  25163. 唯一确定1条记录
  25164. parameters:
  25165. - description: 页码
  25166. in: query
  25167. name: page
  25168. type: integer
  25169. - description: 每页条数
  25170. in: query
  25171. name: pagesize
  25172. type: integer
  25173. - description: 仓单贸易市场id
  25174. in: query
  25175. name: marketid
  25176. type: integer
  25177. - description: 价格方式 - 1:固定价 2-浮动价
  25178. in: query
  25179. name: wrpricetype
  25180. required: true
  25181. type: integer
  25182. - description: 0:仓单预售 1:仓单贸易
  25183. in: query
  25184. name: haswr
  25185. required: true
  25186. type: integer
  25187. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25188. in: query
  25189. name: dgitemname
  25190. type: string
  25191. - description: 仓库id(筛选条件)
  25192. in: query
  25193. name: warehouseid
  25194. type: integer
  25195. - description: 品种id
  25196. in: query
  25197. name: deliverygoodsid
  25198. type: integer
  25199. - description: 品类id
  25200. in: query
  25201. name: wrstandardid
  25202. type: integer
  25203. - description: 仓单要素id
  25204. in: query
  25205. name: wrfactortypeid
  25206. type: integer
  25207. - description: 交收月(yyyy-mm) 仓单预售填写
  25208. in: query
  25209. name: deliverymonth
  25210. type: string
  25211. produces:
  25212. - application/json
  25213. responses:
  25214. "200":
  25215. description: OK
  25216. schema:
  25217. items:
  25218. $ref: '#/definitions/models.WrOrderQuote'
  25219. type: array
  25220. "500":
  25221. description: Internal Server Error
  25222. schema:
  25223. $ref: '#/definitions/app.Response'
  25224. security:
  25225. - ApiKeyAuth: []
  25226. summary: 查询大厅行情列表
  25227. tags:
  25228. - 仓单贸易v2
  25229. /WrTrade2/QueryOrderQuoteDetail:
  25230. get:
  25231. parameters:
  25232. - description: 页码
  25233. in: query
  25234. name: page
  25235. type: integer
  25236. - description: 每页条数
  25237. in: query
  25238. name: pagesize
  25239. type: integer
  25240. - description: 仓单贸易市场id
  25241. in: query
  25242. name: marketid
  25243. type: integer
  25244. - description: 价格方式 - 1:固定价 2-浮动价
  25245. in: query
  25246. name: wrpricetype
  25247. required: true
  25248. type: integer
  25249. - description: 0:仓单预售 1:仓单贸易
  25250. in: query
  25251. name: haswr
  25252. required: true
  25253. type: integer
  25254. - description: 仓单要素id
  25255. in: query
  25256. name: wrfactortypeid
  25257. required: true
  25258. type: integer
  25259. - description: 期货商品id(浮动价方式时填)
  25260. in: query
  25261. name: goodsid
  25262. type: integer
  25263. - description: 买卖方向 0-买 1-卖
  25264. in: query
  25265. name: buyorsell
  25266. required: true
  25267. type: integer
  25268. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  25269. in: query
  25270. name: deliverymonth
  25271. type: string
  25272. produces:
  25273. - application/json
  25274. responses:
  25275. "200":
  25276. description: OK
  25277. schema:
  25278. items:
  25279. $ref: '#/definitions/models.WrOrderQuoteDetail'
  25280. type: array
  25281. "500":
  25282. description: Internal Server Error
  25283. schema:
  25284. $ref: '#/definitions/app.Response'
  25285. security:
  25286. - ApiKeyAuth: []
  25287. summary: 查询买卖大厅
  25288. tags:
  25289. - 仓单贸易v2
  25290. /WrTrade2/QueryOrderQuoteMyq:
  25291. get:
  25292. parameters:
  25293. - description: 页码
  25294. in: query
  25295. name: page
  25296. type: integer
  25297. - description: 每页条数
  25298. in: query
  25299. name: pagesize
  25300. type: integer
  25301. - description: 用户id
  25302. in: query
  25303. name: userid
  25304. required: true
  25305. type: integer
  25306. - description: 仓单贸易市场id
  25307. in: query
  25308. name: marketid
  25309. type: integer
  25310. - description: 0:仓单预售 1:仓单贸易
  25311. in: query
  25312. name: haswr
  25313. required: true
  25314. type: integer
  25315. - description: 买卖方向 0-买 1-卖
  25316. in: query
  25317. name: buyorsell
  25318. required: true
  25319. type: integer
  25320. - description: 品种id
  25321. in: query
  25322. name: deliverygoodsid
  25323. type: integer
  25324. - description: 品类id
  25325. in: query
  25326. name: wrstandardid
  25327. type: integer
  25328. - description: 交收月(yyyy-mm) 仓单预售填写
  25329. in: query
  25330. name: deliverymonth
  25331. type: string
  25332. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25333. in: query
  25334. name: dgitemname
  25335. type: string
  25336. produces:
  25337. - application/json
  25338. responses:
  25339. "200":
  25340. description: OK
  25341. schema:
  25342. items:
  25343. $ref: '#/definitions/models.WrQuoteOrderMyq'
  25344. type: array
  25345. "500":
  25346. description: Internal Server Error
  25347. schema:
  25348. $ref: '#/definitions/app.Response'
  25349. security:
  25350. - ApiKeyAuth: []
  25351. summary: 查询贸易圈挂牌大厅
  25352. tags:
  25353. - 仓单贸易v2
  25354. /WrTrade2/QueryPerformancePlan:
  25355. get:
  25356. parameters:
  25357. - description: 用户id
  25358. in: query
  25359. name: userid
  25360. required: true
  25361. type: integer
  25362. - description: 买卖方向 0-买 1-卖
  25363. in: query
  25364. name: buyorsell
  25365. required: true
  25366. type: integer
  25367. produces:
  25368. - application/json
  25369. responses:
  25370. "200":
  25371. description: OK
  25372. schema:
  25373. items:
  25374. $ref: '#/definitions/models.WrPerformancePlan'
  25375. type: array
  25376. "500":
  25377. description: Internal Server Error
  25378. schema:
  25379. $ref: '#/definitions/app.Response'
  25380. security:
  25381. - ApiKeyAuth: []
  25382. summary: 查询履约信息
  25383. tags:
  25384. - 仓单贸易v2
  25385. /WrTrade2/QueryPermancePlanTmp:
  25386. get:
  25387. description: 返回指定用户的模板和公共模板(用户id为空)
  25388. parameters:
  25389. - description: 用户id
  25390. in: query
  25391. name: userid
  25392. type: integer
  25393. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  25394. (无仓单) 5:挂牌期权 6:竞拍-降价式
  25395. in: query
  25396. name: tmptype
  25397. type: string
  25398. - description: 是否包含公共模板(用户id为空的) 1-包含
  25399. in: query
  25400. name: includepub
  25401. type: integer
  25402. produces:
  25403. - application/json
  25404. responses:
  25405. "200":
  25406. description: OK
  25407. schema:
  25408. items:
  25409. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  25410. type: array
  25411. "500":
  25412. description: Internal Server Error
  25413. schema:
  25414. $ref: '#/definitions/app.Response'
  25415. security:
  25416. - ApiKeyAuth: []
  25417. summary: 查询履约模板
  25418. tags:
  25419. - 仓单贸易v2
  25420. /WrTrade2/QueryWrAverageTradePrice:
  25421. get:
  25422. parameters:
  25423. - description: 页码
  25424. in: query
  25425. name: page
  25426. type: integer
  25427. - description: 每页条数
  25428. in: query
  25429. name: pagesize
  25430. type: integer
  25431. - description: 0:仓单预售 1:仓单贸易
  25432. in: query
  25433. name: haswr
  25434. required: true
  25435. type: integer
  25436. - description: 仓单要素id
  25437. in: query
  25438. name: wrfactortypeid
  25439. required: true
  25440. type: integer
  25441. produces:
  25442. - application/json
  25443. responses:
  25444. "200":
  25445. description: OK
  25446. schema:
  25447. items:
  25448. $ref: '#/definitions/models.WrAverageTradePrice'
  25449. type: array
  25450. "500":
  25451. description: Internal Server Error
  25452. schema:
  25453. $ref: '#/definitions/app.Response'
  25454. security:
  25455. - ApiKeyAuth: []
  25456. summary: 查询成交价(历史走势)
  25457. tags:
  25458. - 仓单贸易v2
  25459. /WrTrade2/QueryWrBsGoodsInfo:
  25460. get:
  25461. description: 合约交易/买卖大厅/详情
  25462. parameters:
  25463. - description: 商品id
  25464. in: query
  25465. name: goodsid
  25466. required: true
  25467. type: integer
  25468. produces:
  25469. - application/json
  25470. responses:
  25471. "200":
  25472. description: OK
  25473. schema:
  25474. items:
  25475. $ref: '#/definitions/models.WrBsGoodsInfo'
  25476. type: array
  25477. "500":
  25478. description: Internal Server Error
  25479. schema:
  25480. $ref: '#/definitions/app.Response'
  25481. security:
  25482. - ApiKeyAuth: []
  25483. summary: 查询合约交易买卖大厅详情
  25484. tags:
  25485. - 仓单贸易v2
  25486. /WrTrade2/QueryWrBuybackDetail:
  25487. get:
  25488. parameters:
  25489. - description: 融资合同id
  25490. in: query
  25491. name: scfcontractid
  25492. type: integer
  25493. produces:
  25494. - application/json
  25495. responses:
  25496. "200":
  25497. description: OK
  25498. schema:
  25499. items:
  25500. $ref: '#/definitions/models.WrBuybackDetail'
  25501. type: array
  25502. "500":
  25503. description: Internal Server Error
  25504. schema:
  25505. $ref: '#/definitions/app.Response'
  25506. security:
  25507. - ApiKeyAuth: []
  25508. summary: 查询仓单回购明细
  25509. tags:
  25510. - 仓单贸易v2
  25511. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  25512. get:
  25513. parameters:
  25514. - description: 资金账号
  25515. in: query
  25516. name: accountid
  25517. required: true
  25518. type: integer
  25519. - description: 商品id
  25520. in: query
  25521. name: goodsid
  25522. required: true
  25523. type: integer
  25524. produces:
  25525. - application/json
  25526. responses:
  25527. "200":
  25528. description: OK
  25529. schema:
  25530. items:
  25531. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  25532. type: array
  25533. "500":
  25534. description: Internal Server Error
  25535. schema:
  25536. $ref: '#/definitions/app.Response'
  25537. security:
  25538. - ApiKeyAuth: []
  25539. summary: 查询合约交收可点选仓单
  25540. tags:
  25541. - 仓单贸易v2
  25542. /WrTrade2/QueryWrDeliveryDetail:
  25543. get:
  25544. parameters:
  25545. - description: 用户id
  25546. in: query
  25547. name: userid
  25548. required: true
  25549. type: integer
  25550. - description: 资金账号id
  25551. in: query
  25552. name: accountid
  25553. type: integer
  25554. produces:
  25555. - application/json
  25556. responses:
  25557. "200":
  25558. description: OK
  25559. schema:
  25560. items:
  25561. $ref: '#/definitions/models.WrDeliveryDetail'
  25562. type: array
  25563. "500":
  25564. description: Internal Server Error
  25565. schema:
  25566. $ref: '#/definitions/app.Response'
  25567. security:
  25568. - ApiKeyAuth: []
  25569. summary: 查询交收
  25570. tags:
  25571. - 仓单贸易v2
  25572. /WrTrade2/QueryWrFactorTypeInfo:
  25573. get:
  25574. parameters:
  25575. - description: 仓单要素id
  25576. in: query
  25577. name: wrfactortypeid
  25578. required: true
  25579. type: integer
  25580. produces:
  25581. - application/json
  25582. responses:
  25583. "200":
  25584. description: OK
  25585. schema:
  25586. items:
  25587. $ref: '#/definitions/models.WrFactorTypeInfo'
  25588. type: array
  25589. "500":
  25590. description: Internal Server Error
  25591. schema:
  25592. $ref: '#/definitions/app.Response'
  25593. security:
  25594. - ApiKeyAuth: []
  25595. summary: 查询仓单要素详细信息
  25596. tags:
  25597. - 仓单贸易v2
  25598. /WrTrade2/QueryWrFactorTypeInfoEx:
  25599. get:
  25600. parameters:
  25601. - description: 仓单要素id
  25602. in: query
  25603. name: wrfactortypeid
  25604. required: true
  25605. type: integer
  25606. produces:
  25607. - application/json
  25608. responses:
  25609. "200":
  25610. description: OK
  25611. schema:
  25612. items:
  25613. $ref: '#/definitions/models.WrTypeItem'
  25614. type: array
  25615. "500":
  25616. description: Internal Server Error
  25617. schema:
  25618. $ref: '#/definitions/app.Response'
  25619. security:
  25620. - ApiKeyAuth: []
  25621. summary: 查询仓单要素详细信息列表项
  25622. tags:
  25623. - 仓单贸易v2
  25624. /WrTrade2/QueryWrFinanceBuyApply:
  25625. get:
  25626. description: 页面 融资信息+ / 申请单
  25627. parameters:
  25628. - description: 用户id
  25629. in: query
  25630. name: userid
  25631. required: true
  25632. type: integer
  25633. produces:
  25634. - application/json
  25635. responses:
  25636. "200":
  25637. description: OK
  25638. schema:
  25639. items:
  25640. $ref: '#/definitions/models.WrFinanceBuyApply'
  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/QueryWrFriendApply:
  25652. get:
  25653. parameters:
  25654. - description: 用户id
  25655. in: query
  25656. name: userid
  25657. required: true
  25658. type: integer
  25659. produces:
  25660. - application/json
  25661. responses:
  25662. "200":
  25663. description: OK
  25664. schema:
  25665. items:
  25666. $ref: '#/definitions/models.WrFriendApply'
  25667. type: array
  25668. "500":
  25669. description: Internal Server Error
  25670. schema:
  25671. $ref: '#/definitions/app.Response'
  25672. security:
  25673. - ApiKeyAuth: []
  25674. summary: 查询好友申请记录
  25675. tags:
  25676. - 仓单贸易v2
  25677. /WrTrade2/QueryWrGoodsInfo:
  25678. get:
  25679. parameters:
  25680. - description: 仓单贸易市场id
  25681. in: query
  25682. name: marketid
  25683. type: integer
  25684. - description: 0:仓单预售 1:仓单贸易
  25685. in: query
  25686. name: haswr
  25687. required: true
  25688. type: integer
  25689. - description: 仓单要素id
  25690. in: query
  25691. name: wrfactortypeid
  25692. required: true
  25693. type: integer
  25694. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25695. in: query
  25696. name: tmplateid
  25697. type: integer
  25698. produces:
  25699. - application/json
  25700. responses:
  25701. "200":
  25702. description: OK
  25703. schema:
  25704. items:
  25705. $ref: '#/definitions/models.WrGoodsInfo'
  25706. type: array
  25707. "500":
  25708. description: Internal Server Error
  25709. schema:
  25710. $ref: '#/definitions/app.Response'
  25711. security:
  25712. - ApiKeyAuth: []
  25713. summary: 查询仓单商品信息
  25714. tags:
  25715. - 仓单贸易v2
  25716. /WrTrade2/QueryWrMarketTradeConfig:
  25717. get:
  25718. parameters:
  25719. - description: 市场id
  25720. in: query
  25721. name: marketid
  25722. type: integer
  25723. produces:
  25724. - application/json
  25725. responses:
  25726. "200":
  25727. description: OK
  25728. schema:
  25729. items:
  25730. $ref: '#/definitions/models.WrMarketTradeConfig'
  25731. type: array
  25732. "500":
  25733. description: Internal Server Error
  25734. schema:
  25735. $ref: '#/definitions/app.Response'
  25736. security:
  25737. - ApiKeyAuth: []
  25738. summary: 查询市场交易参数配置
  25739. tags:
  25740. - 仓单贸易v2
  25741. /WrTrade2/QueryWrOrderDetail:
  25742. get:
  25743. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25744. parameters:
  25745. - description: 页码
  25746. in: query
  25747. name: page
  25748. type: integer
  25749. - description: 每页条数
  25750. in: query
  25751. name: pagesize
  25752. type: integer
  25753. - description: 用户id
  25754. in: query
  25755. name: userid
  25756. required: true
  25757. type: integer
  25758. - description: 仓单贸易市场id
  25759. in: query
  25760. name: marketid
  25761. type: integer
  25762. - description: 0:仓单预售 1:仓单贸易
  25763. in: query
  25764. name: haswr
  25765. required: true
  25766. type: integer
  25767. produces:
  25768. - application/json
  25769. responses:
  25770. "200":
  25771. description: OK
  25772. schema:
  25773. items:
  25774. $ref: '#/definitions/models.WrOrderDetail'
  25775. type: array
  25776. "500":
  25777. description: Internal Server Error
  25778. schema:
  25779. $ref: '#/definitions/app.Response'
  25780. security:
  25781. - ApiKeyAuth: []
  25782. summary: 查询仓单委托单(挂单)
  25783. tags:
  25784. - 仓单贸易v2
  25785. /WrTrade2/QueryWrOutInApply:
  25786. get:
  25787. parameters:
  25788. - description: 用户id
  25789. in: query
  25790. name: userid
  25791. required: true
  25792. type: integer
  25793. produces:
  25794. - application/json
  25795. responses:
  25796. "200":
  25797. description: OK
  25798. schema:
  25799. items:
  25800. $ref: '#/definitions/models.WrOutInApply'
  25801. type: array
  25802. "500":
  25803. description: Internal Server Error
  25804. schema:
  25805. $ref: '#/definitions/app.Response'
  25806. security:
  25807. - ApiKeyAuth: []
  25808. summary: 查询提货申请
  25809. tags:
  25810. - 仓单贸易v2
  25811. /WrTrade2/QueryWrPerformancePlanStep:
  25812. get:
  25813. parameters:
  25814. - description: 履约计划id(performanceplanid)
  25815. in: query
  25816. name: planid
  25817. required: true
  25818. type: integer
  25819. - description: 当前步骤id
  25820. in: query
  25821. name: curstepid
  25822. type: integer
  25823. produces:
  25824. - application/json
  25825. responses:
  25826. "200":
  25827. description: OK
  25828. schema:
  25829. items:
  25830. $ref: '#/definitions/models.WrPerformancePlanStep'
  25831. type: array
  25832. "500":
  25833. description: Internal Server Error
  25834. schema:
  25835. $ref: '#/definitions/app.Response'
  25836. security:
  25837. - ApiKeyAuth: []
  25838. summary: 查询履约信息详情
  25839. tags:
  25840. - 仓单贸易v2
  25841. /WrTrade2/QueryWrPerformanceStepType:
  25842. get:
  25843. produces:
  25844. - application/json
  25845. responses:
  25846. "200":
  25847. description: OK
  25848. schema:
  25849. items:
  25850. $ref: '#/definitions/models.WrPerformanceStepType'
  25851. type: array
  25852. "500":
  25853. description: Internal Server Error
  25854. schema:
  25855. $ref: '#/definitions/app.Response'
  25856. security:
  25857. - ApiKeyAuth: []
  25858. summary: 查询履约步骤枚举
  25859. tags:
  25860. - 仓单贸易v2
  25861. /WrTrade2/QueryWrPosition:
  25862. get:
  25863. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  25864. parameters:
  25865. - description: 用户id
  25866. in: query
  25867. name: userid
  25868. required: true
  25869. type: integer
  25870. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  25871. in: query
  25872. name: querytype
  25873. required: true
  25874. type: integer
  25875. - description: 0:仓单预售 1:仓单贸易
  25876. in: query
  25877. name: haswr
  25878. required: true
  25879. type: integer
  25880. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25881. in: query
  25882. name: dgitemname
  25883. type: string
  25884. - description: 仓库id(筛选条件)
  25885. in: query
  25886. name: warehouseid
  25887. type: integer
  25888. - description: 品种id
  25889. in: query
  25890. name: deliverygoodsid
  25891. type: integer
  25892. - description: 品类id
  25893. in: query
  25894. name: wrstandardid
  25895. type: integer
  25896. produces:
  25897. - application/json
  25898. responses:
  25899. "200":
  25900. description: OK
  25901. schema:
  25902. items:
  25903. $ref: '#/definitions/models.WrPosition'
  25904. type: array
  25905. "500":
  25906. description: Internal Server Error
  25907. schema:
  25908. $ref: '#/definitions/app.Response'
  25909. security:
  25910. - ApiKeyAuth: []
  25911. summary: 查询现货(预售)仓单持仓
  25912. tags:
  25913. - 仓单贸易v2
  25914. /WrTrade2/QueryWrScfContract:
  25915. get:
  25916. parameters:
  25917. - description: 用户id
  25918. in: query
  25919. name: userid
  25920. required: true
  25921. type: integer
  25922. - description: 融资合同id
  25923. in: query
  25924. name: scfcontractid
  25925. type: integer
  25926. produces:
  25927. - application/json
  25928. responses:
  25929. "200":
  25930. description: OK
  25931. schema:
  25932. items:
  25933. $ref: '#/definitions/models.WrScfContract'
  25934. type: array
  25935. "500":
  25936. description: Internal Server Error
  25937. schema:
  25938. $ref: '#/definitions/app.Response'
  25939. security:
  25940. - ApiKeyAuth: []
  25941. summary: 查询仓单贸易融资合同
  25942. tags:
  25943. - 仓单贸易v2
  25944. /WrTrade2/QueryWrScfContractInterest:
  25945. get:
  25946. parameters:
  25947. - description: 融资合同id
  25948. in: query
  25949. name: scfcontractid
  25950. type: integer
  25951. produces:
  25952. - application/json
  25953. responses:
  25954. "200":
  25955. description: OK
  25956. schema:
  25957. items:
  25958. $ref: '#/definitions/models.WrScfContractInterest'
  25959. type: array
  25960. "500":
  25961. description: Internal Server Error
  25962. schema:
  25963. $ref: '#/definitions/app.Response'
  25964. security:
  25965. - ApiKeyAuth: []
  25966. summary: 查询融资合同费用明细
  25967. tags:
  25968. - 仓单贸易v2
  25969. /WrTrade2/QueryWrSpecialMatchOrder:
  25970. get:
  25971. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  25972. parameters:
  25973. - description: 页码
  25974. in: query
  25975. name: page
  25976. type: integer
  25977. - description: 每页条数
  25978. in: query
  25979. name: pagesize
  25980. type: integer
  25981. - description: 用户id
  25982. in: query
  25983. name: userid
  25984. required: true
  25985. type: integer
  25986. - description: 仓单贸易市场id
  25987. in: query
  25988. name: marketid
  25989. type: integer
  25990. - description: 0:仓单预售 1:仓单贸易
  25991. in: query
  25992. name: haswr
  25993. required: true
  25994. type: integer
  25995. produces:
  25996. - application/json
  25997. responses:
  25998. "200":
  25999. description: OK
  26000. schema:
  26001. items:
  26002. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26003. type: array
  26004. "500":
  26005. description: Internal Server Error
  26006. schema:
  26007. $ref: '#/definitions/app.Response'
  26008. security:
  26009. - ApiKeyAuth: []
  26010. summary: 查询指定成交
  26011. tags:
  26012. - 仓单贸易v2
  26013. /WrTrade2/QueryWrStandardFactoryItem:
  26014. get:
  26015. parameters:
  26016. - description: 品类id
  26017. in: query
  26018. name: wrstandardid
  26019. required: true
  26020. type: integer
  26021. produces:
  26022. - application/json
  26023. responses:
  26024. "200":
  26025. description: OK
  26026. schema:
  26027. items:
  26028. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  26029. type: array
  26030. "500":
  26031. description: Internal Server Error
  26032. schema:
  26033. $ref: '#/definitions/app.Response'
  26034. security:
  26035. - ApiKeyAuth: []
  26036. summary: 查询品类要素定义项
  26037. tags:
  26038. - 仓单贸易v2
  26039. /WrTrade2/QueryWrTradeBargainApply:
  26040. get:
  26041. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid
  26042. 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  26043. parameters:
  26044. - description: 议价人id(摘牌方)
  26045. in: query
  26046. name: userid
  26047. type: integer
  26048. - description: 关联委托单id
  26049. in: query
  26050. name: wrtradeorderid
  26051. type: integer
  26052. - description: 0:仓单预售 1:仓单贸易
  26053. in: query
  26054. name: haswr
  26055. required: true
  26056. type: integer
  26057. produces:
  26058. - application/json
  26059. responses:
  26060. "200":
  26061. description: OK
  26062. schema:
  26063. items:
  26064. $ref: '#/definitions/models.WRTradeBargainApply'
  26065. type: array
  26066. "500":
  26067. description: Internal Server Error
  26068. schema:
  26069. $ref: '#/definitions/app.Response'
  26070. security:
  26071. - ApiKeyAuth: []
  26072. summary: 查询议价单
  26073. tags:
  26074. - 仓单贸易v2
  26075. /WrTrade2/QueryWrTradeDetail:
  26076. get:
  26077. parameters:
  26078. - description: 页码
  26079. in: query
  26080. name: page
  26081. type: integer
  26082. - description: 每页条数
  26083. in: query
  26084. name: pagesize
  26085. type: integer
  26086. - description: 用户id
  26087. in: query
  26088. name: userid
  26089. required: true
  26090. type: integer
  26091. - description: 仓单贸易市场id
  26092. in: query
  26093. name: marketid
  26094. type: integer
  26095. - description: 0:仓单预售 1:仓单贸易
  26096. in: query
  26097. name: haswr
  26098. required: true
  26099. type: integer
  26100. produces:
  26101. - application/json
  26102. responses:
  26103. "200":
  26104. description: OK
  26105. schema:
  26106. items:
  26107. $ref: '#/definitions/models.WrTradeDetail'
  26108. type: array
  26109. "500":
  26110. description: Internal Server Error
  26111. schema:
  26112. $ref: '#/definitions/app.Response'
  26113. security:
  26114. - ApiKeyAuth: []
  26115. summary: 查询仓单成交明细
  26116. tags:
  26117. - 仓单贸易v2
  26118. /WrTrade2/QueryWrTradeOrderDetail:
  26119. get:
  26120. parameters:
  26121. - description: 页码
  26122. in: query
  26123. name: page
  26124. type: integer
  26125. - description: 每页条数
  26126. in: query
  26127. name: pagesize
  26128. type: integer
  26129. - description: 商品id
  26130. in: query
  26131. name: goodsid
  26132. required: true
  26133. type: integer
  26134. - description: 买卖方向 0-买 1-卖
  26135. in: query
  26136. name: buyorsell
  26137. required: true
  26138. type: integer
  26139. produces:
  26140. - application/json
  26141. responses:
  26142. "200":
  26143. description: OK
  26144. schema:
  26145. items:
  26146. $ref: '#/definitions/models.WrTradeOrderDetail'
  26147. type: array
  26148. "500":
  26149. description: Internal Server Error
  26150. schema:
  26151. $ref: '#/definitions/app.Response'
  26152. security:
  26153. - ApiKeyAuth: []
  26154. summary: 查询合约交易买卖大厅
  26155. tags:
  26156. - 仓单贸易v2
  26157. /WrTrade2/QueryWrUserFriend:
  26158. get:
  26159. parameters:
  26160. - description: 用户id
  26161. in: query
  26162. name: userid
  26163. required: true
  26164. type: integer
  26165. - description: 新朋友userid, 如果填写了此项则查找新朋友
  26166. in: query
  26167. name: newuserid
  26168. type: integer
  26169. produces:
  26170. - application/json
  26171. responses:
  26172. "200":
  26173. description: OK
  26174. schema:
  26175. items:
  26176. $ref: '#/definitions/models.WrUserFriend'
  26177. type: array
  26178. "500":
  26179. description: Internal Server Error
  26180. schema:
  26181. $ref: '#/definitions/app.Response'
  26182. security:
  26183. - ApiKeyAuth: []
  26184. summary: 查询我的朋友
  26185. tags:
  26186. - 仓单贸易v2
  26187. securityDefinitions:
  26188. ApiKeyAuth:
  26189. in: header
  26190. name: Authorization
  26191. type: apiKey
  26192. swagger: "2.0"