swagger.yaml 724 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207
  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. applyid:
  12959. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  12960. type: integer
  12961. applystatus:
  12962. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  12963. type: integer
  12964. applytime:
  12965. description: 申请时间(时间)
  12966. type: string
  12967. auditremark:
  12968. description: 审核备注(拒绝原因?)
  12969. type: string
  12970. buyorsell:
  12971. description: 买卖 - 0:买 1:卖
  12972. type: integer
  12973. goodscode:
  12974. description: 商品代码
  12975. type: string
  12976. goodsid:
  12977. description: 商品ID
  12978. type: integer
  12979. goodsname:
  12980. description: 商品名称
  12981. type: string
  12982. marketid:
  12983. description: 市场ID
  12984. type: integer
  12985. qty:
  12986. description: 转让数量(数量)
  12987. type: number
  12988. tradeid:
  12989. description: 成交单号(关联持仓)
  12990. type: string
  12991. transferamount:
  12992. description: 转让总金额(金额)
  12993. type: number
  12994. transferprice:
  12995. description: 转让价格(协议价格)
  12996. type: number
  12997. type: object
  12998. models.TradeHolderDetail:
  12999. properties:
  13000. accountid:
  13001. description: 账号ID
  13002. type: integer
  13003. agreeunit:
  13004. description: 合约乘数
  13005. type: number
  13006. buyorsell:
  13007. description: 方向 - 0:买 1:卖
  13008. type: integer
  13009. currencyid:
  13010. description: 商品币种id
  13011. type: integer
  13012. currencyname:
  13013. description: 币种名称
  13014. type: string
  13015. decimalplace:
  13016. description: 商品价格小数位
  13017. type: integer
  13018. enumdicname:
  13019. description: 商品单位名称
  13020. type: string
  13021. expirecycle:
  13022. description: 行权周期(天) - 1:滚动行权时填写
  13023. type: integer
  13024. expiredate:
  13025. description: 行权日(yyyyMMdd) - 到期日
  13026. type: string
  13027. expiretype:
  13028. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13029. type: integer
  13030. freezeqty:
  13031. description: 冻结数量
  13032. type: number
  13033. goodscode:
  13034. description: 商品代码
  13035. type: string
  13036. goodsid:
  13037. description: 商品ID
  13038. type: integer
  13039. goodsname:
  13040. description: 商品名称
  13041. type: string
  13042. goodunitid:
  13043. description: 商品单位id
  13044. type: integer
  13045. holderamount:
  13046. description: 持仓金额
  13047. type: number
  13048. holdercredit:
  13049. description: 持仓授信金额
  13050. type: number
  13051. holderdays:
  13052. description: 剩余冻结天数
  13053. type: integer
  13054. holderprice:
  13055. description: 持仓价格
  13056. type: number
  13057. holderqty:
  13058. description: 持仓数量
  13059. type: number
  13060. isconfirmexercise:
  13061. description: 是否确认行权- 0:否 1:是
  13062. type: integer
  13063. ispreexercise:
  13064. description: 是否预申报- 0:否 1:是 2:不可行权
  13065. type: integer
  13066. marketid:
  13067. description: 市场id
  13068. type: integer
  13069. marketname:
  13070. description: 市场名称
  13071. type: string
  13072. openprice:
  13073. description: 建仓价格
  13074. type: number
  13075. openqty:
  13076. description: 建仓数量
  13077. type: number
  13078. optiontype:
  13079. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13080. type: integer
  13081. preexerciseprice:
  13082. description: 预申报价格
  13083. type: number
  13084. premium:
  13085. description: 权利金
  13086. type: number
  13087. qtydecimalplace:
  13088. description: 商品成交量小数位
  13089. type: integer
  13090. refgoodscode:
  13091. description: 标的合约代码
  13092. type: string
  13093. refgoodsid:
  13094. description: 标的合约id
  13095. type: integer
  13096. releaseamount:
  13097. description: 释放持仓金额
  13098. type: number
  13099. releaseholdercredit:
  13100. description: 释放持仓授信金额
  13101. type: number
  13102. taname:
  13103. description: 资金账号名称
  13104. type: string
  13105. tradeamount:
  13106. description: 成交金额
  13107. type: number
  13108. tradedate:
  13109. description: 交易日(yyyyMMdd)
  13110. type: string
  13111. tradeid:
  13112. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13113. type: string
  13114. trademode:
  13115. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13116. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13117. type: integer
  13118. tradeproperty:
  13119. description: 交易属性
  13120. type: integer
  13121. tradetime:
  13122. description: 交易时间
  13123. type: string
  13124. userid:
  13125. description: 用户id
  13126. type: integer
  13127. username:
  13128. description: 用户名称
  13129. type: string
  13130. type: object
  13131. models.UserCollectConfig:
  13132. properties:
  13133. accountstatus:
  13134. description: 账户状态 - 1:正常 2:停用 3:注销
  13135. type: integer
  13136. collectaccountname:
  13137. description: 收款人账户名称
  13138. type: string
  13139. collectaccountno:
  13140. description: 收款人账户
  13141. type: string
  13142. collectbankname:
  13143. description: 收款人开户行
  13144. type: string
  13145. collectbranchbankname:
  13146. description: 收款人开户支行
  13147. type: string
  13148. collectconfigid:
  13149. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13150. type: string
  13151. remark:
  13152. description: 备注
  13153. type: string
  13154. userid:
  13155. description: 收款人用户ID
  13156. type: integer
  13157. type: object
  13158. models.UserReceiveInfo:
  13159. properties:
  13160. address:
  13161. description: 提货人详细地址
  13162. type: string
  13163. autoid:
  13164. description: AutoID
  13165. type: integer
  13166. cardnum:
  13167. description: 证件号码(加密存储)
  13168. type: string
  13169. cardtypeid:
  13170. description: 证件类型
  13171. type: integer
  13172. cityid:
  13173. description: 市
  13174. type: integer
  13175. cityname:
  13176. description: 城市名称
  13177. type: string
  13178. countryid:
  13179. description: 国家
  13180. type: integer
  13181. countryname:
  13182. description: 国家名称
  13183. type: string
  13184. districtid:
  13185. description: 地区
  13186. type: integer
  13187. districtname:
  13188. description: 地区名称
  13189. type: string
  13190. hasencrypt:
  13191. description: 数据是否已加密 - 0:未加密 1:已加密
  13192. type: integer
  13193. isdefault:
  13194. description: 是否默认地址 - 0:否 1:是
  13195. type: integer
  13196. phonenum:
  13197. description: 提货人联系方式(加密存储)
  13198. type: string
  13199. provinceid:
  13200. description: 省
  13201. type: integer
  13202. provincename:
  13203. description: 省名称
  13204. type: string
  13205. receivername:
  13206. description: 提货人姓名
  13207. type: string
  13208. takeremark:
  13209. description: 提货备注
  13210. type: string
  13211. userid:
  13212. description: 用户ID
  13213. type: integer
  13214. type: object
  13215. models.Useraccount:
  13216. properties:
  13217. accountname:
  13218. description: 账户名称(机构名称)
  13219. type: string
  13220. accountstatus:
  13221. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13222. type: integer
  13223. applysrc:
  13224. description: 申请来源 - 1:管理端 2:终端
  13225. type: integer
  13226. auditremark:
  13227. description: 审核备注
  13228. type: string
  13229. auditsrc:
  13230. description: 审核来源 - 1:管理端 2:终端
  13231. type: integer
  13232. audittime:
  13233. description: 审核时间
  13234. type: string
  13235. audituserid:
  13236. description: 审核人
  13237. type: integer
  13238. broker:
  13239. description: 所属经纪人ID
  13240. type: integer
  13241. canceltime:
  13242. description: 销户时间
  13243. type: string
  13244. canceluserid:
  13245. description: 销户人
  13246. type: integer
  13247. canrecommend:
  13248. description: 是否可推荐 - 0:不可 1;可
  13249. type: integer
  13250. createtime:
  13251. description: 创建时间
  13252. type: string
  13253. creatorid:
  13254. description: 创建人
  13255. type: integer
  13256. hasauth:
  13257. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13258. type: integer
  13259. isanonymous:
  13260. description: 是否匿名下单 - 0:否 1:是
  13261. type: integer
  13262. maxinvestornum:
  13263. description: 最大用户数(经纪会员下投资者个数)
  13264. type: integer
  13265. memberuserid:
  13266. description: 所属会员ID
  13267. type: integer
  13268. modifierid:
  13269. description: 修改人
  13270. type: integer
  13271. modifyremark:
  13272. description: 变更备注
  13273. type: string
  13274. modifystatus:
  13275. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13276. type: integer
  13277. modifytime:
  13278. description: 修改时间
  13279. type: string
  13280. parenttopuser:
  13281. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13282. type: string
  13283. parentuserid:
  13284. description: 所属机构ID
  13285. type: integer
  13286. reckonaccountid:
  13287. description: 默认结算资金账号ID(机构分润使用) 作废
  13288. type: integer
  13289. refercount:
  13290. description: 推荐总人数
  13291. type: integer
  13292. refereeuserid:
  13293. description: 推荐人ID
  13294. type: integer
  13295. refernum:
  13296. description: 推荐码
  13297. type: string
  13298. rootuserid:
  13299. description: 根用户ID
  13300. type: integer
  13301. subaccountlevel:
  13302. description: 子账户层数
  13303. type: integer
  13304. subarealevelpath:
  13305. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13306. type: string
  13307. userid:
  13308. description: 用户ID
  13309. type: integer
  13310. usertype:
  13311. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13312. type: integer
  13313. required:
  13314. - userid
  13315. type: object
  13316. models.Userfavoritegoods:
  13317. properties:
  13318. goodsid:
  13319. description: 商品ID
  13320. type: integer
  13321. required:
  13322. - goodsid
  13323. type: object
  13324. models.Userinfo:
  13325. properties:
  13326. address:
  13327. description: 地址
  13328. type: string
  13329. attachment1:
  13330. description: 附件1
  13331. type: string
  13332. attachment2:
  13333. description: 附件2
  13334. type: string
  13335. bankaccount:
  13336. description: 银行帐号 (加密存储)
  13337. type: string
  13338. bankaccountname:
  13339. description: 收款人名称
  13340. type: string
  13341. bankcardfrontphotourl:
  13342. description: 银行卡正面照地址
  13343. type: string
  13344. bankid:
  13345. description: 银行编码
  13346. type: string
  13347. bankname:
  13348. description: 银行名称
  13349. type: string
  13350. biznature:
  13351. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13352. type: integer
  13353. bizscope:
  13354. description: 企业经营范围(企业)
  13355. type: string
  13356. cardbackphotourl:
  13357. description: 证件背面图片地址
  13358. type: string
  13359. cardfrontphotourl:
  13360. description: 证件正面图片地址
  13361. type: string
  13362. cardnum:
  13363. description: 证件号码(加密存储)
  13364. type: string
  13365. cardtypeid:
  13366. description: 证件类型ID
  13367. type: integer
  13368. cityid:
  13369. description: 市
  13370. type: integer
  13371. company:
  13372. description: 公司(个人)
  13373. type: string
  13374. contactname:
  13375. description: 联系人
  13376. type: string
  13377. countryid:
  13378. description: 国家
  13379. type: integer
  13380. createtime:
  13381. description: 创建时间
  13382. type: string
  13383. creatorid:
  13384. description: 创建人
  13385. type: integer
  13386. customername:
  13387. description: 客户名称(企业名称)
  13388. type: string
  13389. districtid:
  13390. description: 地区
  13391. type: integer
  13392. email:
  13393. description: 邮件(加密存储)
  13394. type: string
  13395. fax:
  13396. description: 传真(加密存储)
  13397. type: string
  13398. halfbodyphotourl:
  13399. description: 半身照地址
  13400. type: string
  13401. hasencrypt:
  13402. description: 数据是否已加密 - 0:未加密 1:已加密
  13403. type: integer
  13404. headurl:
  13405. description: 头像地址
  13406. type: string
  13407. legalcardbackphotourl:
  13408. description: 法人身份证背面照地址
  13409. type: string
  13410. legalcardfrontphotourl:
  13411. description: 法人身份证正面照地址
  13412. type: string
  13413. legalpersonname:
  13414. description: 法人姓名(企业)
  13415. type: string
  13416. mobile:
  13417. description: 手机号码(加密存储)
  13418. type: string
  13419. mobile2:
  13420. description: 手机号码[明文-尚志]
  13421. type: string
  13422. modifierid:
  13423. description: 修改人
  13424. type: integer
  13425. modifiertime:
  13426. description: 修改时间
  13427. type: string
  13428. needinvoice:
  13429. description: 是否需要发票 - 0:不需要 1:需要
  13430. type: integer
  13431. nickname:
  13432. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13433. type: string
  13434. openmode:
  13435. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13436. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13437. type: integer
  13438. otherurl:
  13439. description: 其它图片地址[使用分号分隔]
  13440. type: string
  13441. postalcode:
  13442. description: 邮政编码
  13443. type: string
  13444. provinceid:
  13445. description: 省
  13446. type: integer
  13447. qq:
  13448. description: QQ(加密存储
  13449. type: string
  13450. remark:
  13451. description: 备注
  13452. type: string
  13453. sex:
  13454. description: '用户性别 0: 女 1: 男'
  13455. type: integer
  13456. signpdfurl:
  13457. description: 签约pdf文件
  13458. type: string
  13459. telphone:
  13460. description: 联系电话(加密存储)
  13461. type: string
  13462. userid:
  13463. description: 用户ID
  13464. type: integer
  13465. userinfotype:
  13466. description: 用户信息类型 - 1:个人 2:企业
  13467. type: integer
  13468. userstatus:
  13469. description: 用户状态 - 1:正常 2:注销
  13470. type: integer
  13471. usertype:
  13472. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13473. type: integer
  13474. wechat:
  13475. description: 微信(加密存储)
  13476. type: string
  13477. wskhinfo:
  13478. description: 开户申请信息(JSON)
  13479. type: string
  13480. required:
  13481. - userid
  13482. type: object
  13483. models.WRSConverTDetail:
  13484. properties:
  13485. convertratio:
  13486. description: 套保系数
  13487. type: number
  13488. deliverygoodscode:
  13489. description: 现货商品代码
  13490. type: string
  13491. deliverygoodsid:
  13492. description: 现货品种ID
  13493. type: integer
  13494. deliverygoodsname:
  13495. description: 现货商品名称
  13496. type: string
  13497. enumdicname:
  13498. description: 单位名称
  13499. type: string
  13500. goodsunitid:
  13501. description: 套保品种单位id
  13502. type: integer
  13503. middlegoodscode:
  13504. description: 套保品种代码
  13505. type: string
  13506. middlegoodsid:
  13507. description: 套保品种ID
  13508. type: integer
  13509. middlegoodsname:
  13510. description: 套保品种名称
  13511. type: string
  13512. modifytime:
  13513. description: 修改时间
  13514. type: string
  13515. wrstandardid:
  13516. description: 品类ID
  13517. type: integer
  13518. type: object
  13519. models.WRStandardInfo:
  13520. properties:
  13521. areauserid:
  13522. description: 所属机构
  13523. type: integer
  13524. convertfactor:
  13525. description: 标仓系数
  13526. type: number
  13527. createtime:
  13528. description: 创建时间
  13529. type: string
  13530. creatorid:
  13531. description: 创建人
  13532. type: integer
  13533. deliverygoodsid:
  13534. description: 品种ID
  13535. type: integer
  13536. deliverygoodsname:
  13537. description: 交割商品名称
  13538. type: string
  13539. factoryitemjson:
  13540. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13541. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13542. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13543. 逗号分隔'
  13544. type: string
  13545. isvalid:
  13546. description: 是否有效 - 0:无效 1:有效
  13547. type: integer
  13548. minivalue:
  13549. description: 最小变动值
  13550. type: integer
  13551. minivaluedp:
  13552. description: 最小变动值小数位
  13553. type: integer
  13554. realminivalue:
  13555. description: 实际最小变动值
  13556. type: integer
  13557. realminivaluedp:
  13558. description: 实际最小变动值小数位
  13559. type: integer
  13560. remark:
  13561. description: 备注
  13562. type: string
  13563. unitid:
  13564. description: 单位ID
  13565. type: integer
  13566. unitname:
  13567. description: 单位
  13568. type: string
  13569. updatetime:
  13570. description: 更新时间
  13571. type: string
  13572. updatorid:
  13573. description: 更新人
  13574. type: integer
  13575. wrsstatus:
  13576. description: 状态 - 作废 - 0:未激活 1:正常
  13577. type: integer
  13578. wrstandardcode:
  13579. description: 现货品类代码
  13580. type: string
  13581. wrstandardid:
  13582. description: 现货品类ID(SEQ_WRSTANDARD)
  13583. type: integer
  13584. wrstandardname:
  13585. description: 现货品类名称
  13586. type: string
  13587. required:
  13588. - wrstandardid
  13589. type: object
  13590. models.WRTradeBargainApply:
  13591. properties:
  13592. accountid:
  13593. description: 摘牌资金账号
  13594. type: integer
  13595. applyprice:
  13596. description: 申请价格(议价价格)
  13597. type: string
  13598. applyqty:
  13599. description: 摘牌数量(议价数量)
  13600. type: number
  13601. applyremark:
  13602. description: 申请备注
  13603. type: string
  13604. applystatus:
  13605. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13606. type: integer
  13607. applytime:
  13608. description: 申请时间(议价时间)
  13609. type: string
  13610. buyorsell:
  13611. description: 买卖(挂牌类型) - 0:买 1:卖
  13612. type: integer
  13613. confirmremark:
  13614. description: 确认备注
  13615. type: string
  13616. confirmtime:
  13617. description: 确认时间
  13618. type: string
  13619. confirmuserid:
  13620. description: 确认人
  13621. type: integer
  13622. deliverygoodscode:
  13623. description: 品种代码
  13624. type: string
  13625. deliverygoodsid:
  13626. description: 品种ID
  13627. type: integer
  13628. deliverygoodsname:
  13629. description: 品种名称
  13630. type: string
  13631. deliverymonth:
  13632. description: 交收月
  13633. type: string
  13634. enumdicname:
  13635. description: 单位名称
  13636. type: string
  13637. fixedprice:
  13638. description: 挂牌价格
  13639. type: number
  13640. handlestatus:
  13641. description: 处理状态
  13642. type: integer
  13643. marginvalue:
  13644. description: 履约保证金比例
  13645. type: number
  13646. marketid:
  13647. description: 市场ID
  13648. type: integer
  13649. matchaccountid:
  13650. description: 挂牌方资金账号
  13651. type: integer
  13652. matchuserid:
  13653. description: 挂牌方用户id
  13654. type: integer
  13655. matchusername:
  13656. description: 挂牌方用户名称(已脱敏)
  13657. type: string
  13658. minivalue:
  13659. description: 现货商品最小变动值
  13660. type: integer
  13661. optioncompare:
  13662. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13663. type: string
  13664. orderqty:
  13665. description: 挂牌数量
  13666. type: integer
  13667. refprice:
  13668. description: 参考价格
  13669. type: string
  13670. retcode:
  13671. description: 委托返回代码
  13672. type: integer
  13673. templatename:
  13674. description: 履约方式(履约模板名称)
  13675. type: string
  13676. tradedate:
  13677. description: 交易日(yyyyMMdd)
  13678. type: string
  13679. userid:
  13680. description: 摘牌人用户ID(议价人ID)
  13681. type: integer
  13682. username:
  13683. description: 议价人名字(已脱敏)
  13684. type: string
  13685. validtime:
  13686. description: 有效期限
  13687. type: string
  13688. warehouseid:
  13689. description: 仓库ID
  13690. type: integer
  13691. warehousename:
  13692. description: 仓库名称
  13693. type: string
  13694. wrbargainid:
  13695. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13696. type: string
  13697. wrfactortypeid:
  13698. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13699. type: string
  13700. wrfactortypename:
  13701. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13702. type: string
  13703. wrstandardcode:
  13704. description: 现货商品代码
  13705. type: string
  13706. wrstandardid:
  13707. description: 现货商品ID
  13708. type: integer
  13709. wrstandardname:
  13710. description: 商品名称
  13711. type: string
  13712. wrtradeorderid:
  13713. description: 关联委托单ID
  13714. type: string
  13715. wrtypename:
  13716. description: 商品
  13717. type: string
  13718. type: object
  13719. models.Warehouseinfo:
  13720. properties:
  13721. address:
  13722. description: 详细地址
  13723. type: string
  13724. areauserid:
  13725. description: 所属机构
  13726. type: integer
  13727. autoid:
  13728. description: 自增ID
  13729. type: integer
  13730. cityid:
  13731. description: 市
  13732. type: integer
  13733. contactname:
  13734. description: 联系人
  13735. type: string
  13736. contactnum:
  13737. description: 联系电话
  13738. type: string
  13739. countryid:
  13740. description: 国家
  13741. type: integer
  13742. createtime:
  13743. description: 创建时间
  13744. type: string
  13745. districtid:
  13746. description: 区
  13747. type: integer
  13748. hasvideo:
  13749. description: 是否有视频 - 0:无 1:有
  13750. type: integer
  13751. provinceid:
  13752. description: 省
  13753. type: integer
  13754. remark:
  13755. description: 审核备注
  13756. type: string
  13757. videourl:
  13758. description: 视频地址
  13759. type: string
  13760. warehousecode:
  13761. description: 仓库代码
  13762. type: string
  13763. warehousename:
  13764. description: 仓库名称
  13765. type: string
  13766. warehousestatus:
  13767. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13768. type: integer
  13769. warehousetype:
  13770. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13771. type: integer
  13772. required:
  13773. - autoid
  13774. - warehousecode
  13775. type: object
  13776. models.WrAverageTradePrice:
  13777. properties:
  13778. averageprice:
  13779. description: 成交均价
  13780. type: number
  13781. tradedate:
  13782. description: 交易日yyyymm
  13783. type: string
  13784. type: object
  13785. models.WrBsGoodsInfo:
  13786. properties:
  13787. buyorsell:
  13788. description: 买卖方向 0-买 1-卖
  13789. type: integer
  13790. goodsid:
  13791. description: 交易合约ID
  13792. type: integer
  13793. lstitem:
  13794. description: 商品信息项
  13795. items:
  13796. $ref: '#/definitions/models.WrTypeItem'
  13797. type: array
  13798. lststep:
  13799. description: 履约规则
  13800. items:
  13801. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13802. type: array
  13803. type: object
  13804. models.WrBuybackDetail:
  13805. properties:
  13806. buybackamount:
  13807. description: 回购金额
  13808. type: number
  13809. buybackqty:
  13810. description: 回购数量
  13811. type: number
  13812. buybackreleasemargin:
  13813. description: 回购释放保证金
  13814. type: number
  13815. buybacktime:
  13816. description: 回购时间
  13817. type: string
  13818. errordesc:
  13819. description: 错误描述
  13820. type: string
  13821. handlestatus:
  13822. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13823. type: integer
  13824. relatedwrid:
  13825. description: 关联仓单ID
  13826. type: integer
  13827. scfcontractid:
  13828. description: SCF合同ID
  13829. type: string
  13830. scfwrbuybackid:
  13831. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13832. type: integer
  13833. tradedate:
  13834. description: 交易日(yyyyMMdd)
  13835. type: string
  13836. type: object
  13837. models.WrDeliveryAvalidHoldLB:
  13838. properties:
  13839. accountid:
  13840. description: 资金账号
  13841. type: integer
  13842. avalidqty:
  13843. description: 数量(可点选数量)
  13844. type: number
  13845. deliverygoodsid:
  13846. description: 品种id
  13847. type: integer
  13848. enumdicname:
  13849. description: 单位名称
  13850. type: string
  13851. goodsid:
  13852. description: x合约商品id
  13853. type: integer
  13854. ladingbillid:
  13855. description: 提单id
  13856. type: string
  13857. pgoodscode:
  13858. description: p商品代码(点价合约)
  13859. type: string
  13860. pgoodsid:
  13861. description: p商品id(点价合约)
  13862. type: integer
  13863. pgoodsname:
  13864. description: p商品名称(点价合约)
  13865. type: string
  13866. pricemove:
  13867. description: 升贴水
  13868. type: number
  13869. subnum:
  13870. description: 提单子id
  13871. type: integer
  13872. userid:
  13873. description: 用户id
  13874. type: integer
  13875. username:
  13876. description: 仓单持有人
  13877. type: string
  13878. warehousecode:
  13879. description: 仓库代码
  13880. type: string
  13881. warehouseid:
  13882. description: 仓库id
  13883. type: integer
  13884. warehousename:
  13885. description: 仓库名称
  13886. type: string
  13887. wrfactortypeid:
  13888. description: 仓单要素id
  13889. type: string
  13890. wrstandardcode:
  13891. description: 品代码
  13892. type: string
  13893. wrstandardid:
  13894. description: 品类d
  13895. type: integer
  13896. wrstandardname:
  13897. description: 品类名称
  13898. type: string
  13899. wrtypename:
  13900. description: 商品
  13901. type: string
  13902. xgoodscode:
  13903. description: x合约代码
  13904. type: string
  13905. xgoodsname:
  13906. description: x合约名称
  13907. type: string
  13908. type: object
  13909. models.WrDeliveryDetail:
  13910. properties:
  13911. accountid:
  13912. description: 账号ID
  13913. type: integer
  13914. averageprice:
  13915. description: 交割均价 = 交割金额 / 交割数量
  13916. type: number
  13917. buyorsell:
  13918. description: 方向 - 0:买 1:卖
  13919. type: integer
  13920. deliveryamount:
  13921. description: 货款金额(X总货款+P总货款)
  13922. type: number
  13923. deliveryid:
  13924. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13925. type: string
  13926. deliveryorderid:
  13927. description: 申报单号
  13928. type: string
  13929. deliverypricemove:
  13930. description: 升贴水(升贴水总额)
  13931. type: number
  13932. deliveryqty:
  13933. description: 交收数量(点选数量)
  13934. type: number
  13935. deliverystatus:
  13936. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13937. type: integer
  13938. deliverytime:
  13939. description: 交割时间
  13940. type: string
  13941. deliverytotalamount:
  13942. description: 交收金额
  13943. type: number
  13944. enumdicname:
  13945. description: 单位名称
  13946. type: string
  13947. matchaccountid:
  13948. description: 对手账号ID
  13949. type: integer
  13950. matchusername:
  13951. description: 对手方名称(仓单持有人)
  13952. type: string
  13953. p1goodsremainamount:
  13954. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13955. type: number
  13956. pdeliverycloseqty:
  13957. description: p合约平仓数量
  13958. type: number
  13959. pdeliveryprice:
  13960. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13961. type: number
  13962. pgoodscode:
  13963. description: 商品代码
  13964. type: string
  13965. pgoodsid:
  13966. description: p点选合约id
  13967. type: integer
  13968. pgoodsname:
  13969. description: 商品名称
  13970. type: string
  13971. ppricemode:
  13972. description: 点价价格方式 - 1:商品价 2:固定值
  13973. type: integer
  13974. tradedate:
  13975. description: 交易日(yyyymmdd)
  13976. type: string
  13977. userid:
  13978. description: 用户id
  13979. type: integer
  13980. username:
  13981. description: 用户名称
  13982. type: string
  13983. warehousename:
  13984. description: 仓库名称
  13985. type: string
  13986. wrfactortypeid:
  13987. description: 仓单要素类型ID
  13988. type: string
  13989. wrtypename:
  13990. description: 商品
  13991. type: string
  13992. xdeliverycloseqty:
  13993. description: 合约数量
  13994. type: number
  13995. xgoodsamount:
  13996. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13997. type: number
  13998. xgoodscode:
  13999. description: 商品代码
  14000. type: string
  14001. xgoodsid:
  14002. description: x交易合约ID
  14003. type: integer
  14004. xgoodsname:
  14005. description: 商品名称
  14006. type: string
  14007. type: object
  14008. models.WrFAProductDetail:
  14009. properties:
  14010. accountid:
  14011. description: 资金账号
  14012. type: integer
  14013. areauserid:
  14014. description: 金融机构ID
  14015. type: integer
  14016. financingdays:
  14017. description: 天数(天)
  14018. type: integer
  14019. interestminlen:
  14020. description: 最小起息天数
  14021. type: integer
  14022. interestrate:
  14023. description: 利率
  14024. type: number
  14025. interestratemode:
  14026. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14027. type: integer
  14028. interestsettlemode:
  14029. description: 结息方式 - 1:按日结息 3:按月结息
  14030. type: integer
  14031. interestsettlevalue:
  14032. description: 结息方式值
  14033. type: integer
  14034. isautoloan:
  14035. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14036. type: integer
  14037. loantag:
  14038. description: '放款标识: "放款快" 或者为空'
  14039. type: string
  14040. marginratio:
  14041. description: 保证金比率质押率 - [仓单质押]
  14042. type: number
  14043. productdetailid:
  14044. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14045. type: integer
  14046. productid:
  14047. description: 金融产品ID
  14048. type: integer
  14049. productname:
  14050. description: 产品名称
  14051. type: string
  14052. updatetime:
  14053. description: 更新时间
  14054. type: string
  14055. username:
  14056. description: 融出方
  14057. type: string
  14058. type: object
  14059. models.WrFactorTypeInfo:
  14060. properties:
  14061. deliverygoodscode:
  14062. description: 品种代码
  14063. type: string
  14064. deliverygoodsname:
  14065. description: 品种名称
  14066. type: string
  14067. dgfactoryitemid:
  14068. description: 选择项id
  14069. type: integer
  14070. dgfactoryitemtypeid:
  14071. description: 要素选择项ID (1-仓库 2-品牌)
  14072. type: integer
  14073. dgfactoryitemvalue:
  14074. description: 要素项值
  14075. type: string
  14076. itemtypename:
  14077. description: 要素项名称
  14078. type: string
  14079. optioncompare:
  14080. description: 选择比较串
  14081. type: string
  14082. warehouseid:
  14083. description: 仓库id
  14084. type: integer
  14085. wrfactortypeid:
  14086. description: 仓单要素ID
  14087. type: string
  14088. wrfactortypename:
  14089. description: 要素名称
  14090. type: string
  14091. wrfactortypename2:
  14092. description: 要素名称(不含仓库)
  14093. type: string
  14094. wrstandardcode:
  14095. description: 品类代码
  14096. type: string
  14097. wrstandardid:
  14098. description: 品类id
  14099. type: integer
  14100. wrstandardname:
  14101. description: 品类名称
  14102. type: string
  14103. type: object
  14104. models.WrFilterItem:
  14105. properties:
  14106. itemcode:
  14107. description: 代码
  14108. type: string
  14109. itemid:
  14110. description: 项id
  14111. type: integer
  14112. itemname:
  14113. description: 名称
  14114. type: string
  14115. itemtype:
  14116. description: 类型 1-品种 2-品类(商品) 3-仓库
  14117. type: integer
  14118. type: object
  14119. models.WrFinanceBuyApply:
  14120. properties:
  14121. applydate:
  14122. description: 申请时间
  14123. type: string
  14124. applystatus:
  14125. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14126. type: integer
  14127. applyuserid:
  14128. description: 申请人
  14129. type: integer
  14130. auditdate:
  14131. description: 审核时间
  14132. type: string
  14133. auditremark:
  14134. description: 审核备注
  14135. type: string
  14136. audituserid:
  14137. description: 审核人
  14138. type: integer
  14139. buyaccountid:
  14140. description: 买方资金账号
  14141. type: integer
  14142. buyorsell:
  14143. description: 买卖 - 0:买 1:卖
  14144. type: integer
  14145. buyuserid:
  14146. description: 买方用户ID
  14147. type: integer
  14148. buyusername:
  14149. description: 买方名称
  14150. type: string
  14151. buywrtradeorderid:
  14152. description: 融资方买委托单ID
  14153. type: string
  14154. deliverygoodscode:
  14155. description: 品种代码
  14156. type: string
  14157. deliverygoodsid:
  14158. description: 品种ID
  14159. type: integer
  14160. deliverygoodsname:
  14161. description: 品种名称
  14162. type: string
  14163. deliverymonth:
  14164. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14165. type: string
  14166. enumdicname:
  14167. description: 单位名称
  14168. type: string
  14169. financeaccountid:
  14170. description: 融资方资金帐户ID
  14171. type: integer
  14172. financeapplyid:
  14173. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14174. type: string
  14175. financeareauserid:
  14176. description: 融资方用户ID
  14177. type: string
  14178. financename:
  14179. description: 融出方名称
  14180. type: string
  14181. financetype:
  14182. description: 融资类型 1-融资回购
  14183. type: integer
  14184. financingdays:
  14185. description: 天数(天)
  14186. type: integer
  14187. freezebuymargin:
  14188. description: 冻结融资保证金(买方)
  14189. type: number
  14190. handleremark:
  14191. description: 处理备注
  14192. type: string
  14193. handlestatus:
  14194. description: 处理状态
  14195. type: integer
  14196. interestminlen:
  14197. description: 最小起息天数
  14198. type: integer
  14199. interestrate:
  14200. description: 利率
  14201. type: number
  14202. interestratemode:
  14203. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14204. type: integer
  14205. interestsettlemode:
  14206. description: 结息方式 - 1:按日结息 3:按月结息
  14207. type: integer
  14208. interestsettlevalue:
  14209. description: 结息方式值
  14210. type: integer
  14211. isautoloan:
  14212. description: 是否自动放款 - 0:手动 1:自动
  14213. type: integer
  14214. marginratio:
  14215. description: 保证金比率质押率 - [仓单质押]
  14216. type: number
  14217. marketid:
  14218. description: 市场ID
  14219. type: integer
  14220. minivalue:
  14221. description: 现货商品最小变动值
  14222. type: integer
  14223. optioncompare:
  14224. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14225. type: string
  14226. orderqty:
  14227. description: 委托数量(商品数量)
  14228. type: number
  14229. productdetailid:
  14230. description: 产品组合ID
  14231. type: integer
  14232. productid:
  14233. description: 金融产品ID
  14234. type: integer
  14235. productname:
  14236. description: 产品名称
  14237. type: string
  14238. remark:
  14239. description: 备注
  14240. type: string
  14241. scfcontractid:
  14242. description: 仓单回购合同ID
  14243. type: string
  14244. sellaccountid:
  14245. description: 卖方资金账号
  14246. type: integer
  14247. selluserid:
  14248. description: 卖方用户ID
  14249. type: integer
  14250. sellwrtradeorderid:
  14251. description: 卖方委托单ID
  14252. type: string
  14253. tradeamount:
  14254. description: 成交金额(借款金额)
  14255. type: number
  14256. tradedate:
  14257. description: 交易日(yyyyMMdd)
  14258. type: string
  14259. tradeprice:
  14260. description: 成交价格
  14261. type: number
  14262. warehouseid:
  14263. description: 仓库ID
  14264. type: integer
  14265. warehousename:
  14266. description: 仓库名称
  14267. type: string
  14268. wrfactortypeid:
  14269. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14270. type: string
  14271. wrfactortypename:
  14272. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14273. type: string
  14274. wrpricetype:
  14275. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14276. type: integer
  14277. wrstandardcode:
  14278. description: 现货商品代码
  14279. type: string
  14280. wrstandardid:
  14281. description: 现货商品ID
  14282. type: integer
  14283. wrstandardname:
  14284. description: 商品名称
  14285. type: string
  14286. wrtypename:
  14287. description: 商品
  14288. type: string
  14289. type: object
  14290. models.WrFriendApply:
  14291. properties:
  14292. applicantid:
  14293. description: 申请人
  14294. type: integer
  14295. applyname:
  14296. description: 申请人名称
  14297. type: string
  14298. applysrc:
  14299. description: 申请来源 - 1:管理端 2:终端
  14300. type: integer
  14301. applystatus:
  14302. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14303. type: integer
  14304. applytime:
  14305. description: 申请时间
  14306. type: string
  14307. auditname:
  14308. description: 审核人名称
  14309. type: string
  14310. auditorid:
  14311. description: 审核人
  14312. type: integer
  14313. auditremark:
  14314. description: 审核备注
  14315. type: string
  14316. auditsrc:
  14317. description: 审核来源 - 1:管理端 2:终端
  14318. type: integer
  14319. audittime:
  14320. description: 审核时间
  14321. type: string
  14322. friendapplyid:
  14323. description: 申请ID(SEQ_FRIENDAPPLY)
  14324. type: string
  14325. friendname:
  14326. description: 好友名字(已脱敏)
  14327. type: string
  14328. frienduserid:
  14329. description: 好友用户ID
  14330. type: string
  14331. remark:
  14332. description: 备注
  14333. type: string
  14334. userid:
  14335. description: 申请人用户ID
  14336. type: integer
  14337. type: object
  14338. models.WrFtDeliveryGoods:
  14339. properties:
  14340. deliverygoodscode:
  14341. description: 品种代码
  14342. type: string
  14343. deliverygoodsid:
  14344. description: 品种ID
  14345. type: integer
  14346. deliverygoodsname:
  14347. description: 品种名称
  14348. type: string
  14349. wdlst:
  14350. description: 商品列表
  14351. items:
  14352. $ref: '#/definitions/models.WrFtWrstandard'
  14353. type: array
  14354. type: object
  14355. models.WrFtWrstandard:
  14356. properties:
  14357. enumdicname:
  14358. description: 单位名称
  14359. type: string
  14360. minivalue:
  14361. description: 最小变动值
  14362. type: integer
  14363. wrstandardcode:
  14364. description: 现货商品代码
  14365. type: string
  14366. wrstandardid:
  14367. description: 现货商品ID
  14368. type: integer
  14369. wrstandardname:
  14370. description: 商品名称
  14371. type: string
  14372. type: object
  14373. models.WrGoodsInfo:
  14374. properties:
  14375. haswr:
  14376. description: 0:仓单预售 1:仓单贸易
  14377. type: integer
  14378. lstitem:
  14379. description: 商品信息项
  14380. items:
  14381. $ref: '#/definitions/models.WrTypeItem'
  14382. type: array
  14383. lststep:
  14384. description: 履约规则
  14385. items:
  14386. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14387. type: array
  14388. marketid:
  14389. description: 市场id
  14390. type: integer
  14391. type: object
  14392. models.WrGoodsPerformanceStep:
  14393. properties:
  14394. autoid:
  14395. description: AutoID
  14396. type: integer
  14397. isauto:
  14398. description: 是否自动 - 0:不自动 1:自动
  14399. type: integer
  14400. remark:
  14401. description: 备注
  14402. type: string
  14403. stepdate:
  14404. description: 天数信息(T+N)
  14405. type: string
  14406. stepdays:
  14407. description: 距离上一步天数
  14408. type: integer
  14409. stepindex:
  14410. description: 步骤序号
  14411. type: integer
  14412. stepinfo:
  14413. description: 步骤信息(步骤名称+步骤值)
  14414. type: string
  14415. steptypeid:
  14416. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14417. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14418. type: integer
  14419. steptypename:
  14420. description: 步骤名称
  14421. type: string
  14422. stepvalue:
  14423. description: 步骤值
  14424. type: number
  14425. templateid:
  14426. description: 履约计划模板ID
  14427. type: integer
  14428. type: object
  14429. models.WrHoldLB:
  14430. properties:
  14431. accountid:
  14432. description: 持有人帐户ID
  14433. type: integer
  14434. createtime:
  14435. description: 创建时间(过户时间)
  14436. type: string
  14437. deliverygoodscode:
  14438. description: 品种代码
  14439. type: string
  14440. deliverygoodsid:
  14441. description: 品种ID
  14442. type: integer
  14443. deliverygoodsname:
  14444. description: 品种名称
  14445. type: string
  14446. enableqty:
  14447. description: 可用数量
  14448. type: number
  14449. enumdicname:
  14450. description: 单位名称
  14451. type: string
  14452. freezerqty:
  14453. description: 冻结数量
  14454. type: number
  14455. ladingbillid:
  14456. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14457. type: string
  14458. minivalue:
  14459. description: 现货商品最小变动值
  14460. type: integer
  14461. optioncompare:
  14462. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14463. type: string
  14464. parentsubnum:
  14465. description: 拆分父子单号
  14466. type: integer
  14467. pledgeqty:
  14468. description: 质押数量
  14469. type: number
  14470. qty:
  14471. description: 数量
  14472. type: number
  14473. subnum:
  14474. description: 提单子单号
  14475. type: integer
  14476. tradedate:
  14477. description: 交易日(yyyyMMdd)
  14478. type: string
  14479. userid:
  14480. description: 持有人ID
  14481. type: integer
  14482. warehouseid:
  14483. description: 仓库ID
  14484. type: integer
  14485. warehousename:
  14486. description: 仓库名称
  14487. type: string
  14488. wrfactortypeid:
  14489. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14490. type: string
  14491. wrfactortypename:
  14492. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14493. type: string
  14494. wrholdeno:
  14495. description: 仓单编号
  14496. type: string
  14497. wrid:
  14498. description: 仓单变更ID
  14499. type: string
  14500. wrstandardcode:
  14501. description: 现货商品代码
  14502. type: string
  14503. wrstandardid:
  14504. description: 现货商品ID
  14505. type: integer
  14506. wrstandardname:
  14507. description: 商品名称
  14508. type: string
  14509. wrtypename:
  14510. description: 商品
  14511. type: string
  14512. type: object
  14513. models.WrMarketTradeConfig:
  14514. properties:
  14515. basisdownratio:
  14516. description: 浮动价基差下限比例(仓单贸易)
  14517. type: number
  14518. basisupratio:
  14519. description: 浮动价基差上限比例(仓单贸易)
  14520. type: number
  14521. buychargealgorithm:
  14522. description: 买方手续费收取方式 1:比率 2:固定
  14523. type: integer
  14524. buychargealgorithm2:
  14525. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14526. type: integer
  14527. buychargealgorithmvalue:
  14528. description: 买方手续费设置值(交易所部分)
  14529. type: number
  14530. buychargealgorithmvalue2:
  14531. description: 买方手续费设置值(会员部分)
  14532. type: number
  14533. buychargealgorithmvalue3:
  14534. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14535. type: number
  14536. buychargealgorithmvalue4:
  14537. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14538. type: number
  14539. buyfirstmarginalgorithm:
  14540. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14541. type: integer
  14542. buyfirstmarginvalue:
  14543. description: 买方出价保证金设置值 - [竞拍]
  14544. type: number
  14545. buymarginalgorithm:
  14546. description: 买方保证金方式 - 1:比率 2:固定
  14547. type: integer
  14548. buymarginvalue:
  14549. description: 买方保证金设置值
  14550. type: number
  14551. buyreleaseratio:
  14552. description: 买方释放比率[2:分步履约]
  14553. type: number
  14554. executemode:
  14555. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14556. type: integer
  14557. executeside:
  14558. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14559. type: integer
  14560. failedchargealgorithm:
  14561. description: 流拍手续费收取方式 1:比率 2:固定
  14562. type: integer
  14563. failedchargevalue:
  14564. description: 流拍手续费设置值
  14565. type: number
  14566. failedchargevalue2:
  14567. description: 流拍卖方手续费设置值
  14568. type: number
  14569. holddays:
  14570. description: 合同期限[2:分步履约]
  14571. type: integer
  14572. marketid:
  14573. description: 市场ID-仓单贸易、竞拍、预售
  14574. type: integer
  14575. minqty:
  14576. description: 最小执行量[2:分步履约]
  14577. type: number
  14578. modifierid:
  14579. description: 修改人
  14580. type: integer
  14581. performancetempid:
  14582. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14583. 立即执行(-1)
  14584. type: integer
  14585. performancetempid2:
  14586. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14587. 立即执行
  14588. type: integer
  14589. performanceway:
  14590. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14591. type: integer
  14592. sellchargealgorithm:
  14593. description: 卖方手续费收取方式 1:比率 2:固定
  14594. type: integer
  14595. sellchargealgorithm2:
  14596. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14597. type: integer
  14598. sellchargealgorithmvalue:
  14599. description: 卖方手续费设置值(交易所部分)
  14600. type: number
  14601. sellchargealgorithmvalue2:
  14602. description: 卖方手续费设置值(会员部分)
  14603. type: number
  14604. sellchargealgorithmvalue3:
  14605. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14606. type: number
  14607. sellchargealgorithmvalue4:
  14608. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14609. type: number
  14610. sellmarginalgorithm:
  14611. description: 卖方保证金方式 - 1:比率 2:固定
  14612. type: integer
  14613. sellmarginvalue:
  14614. description: 卖方保证金设置值
  14615. type: number
  14616. sellmarginvalue2:
  14617. description: 卖方保证金设置值(无仓单)
  14618. type: number
  14619. sellreleaseratio:
  14620. description: 卖方释放比率[2:分步履约]
  14621. type: number
  14622. updatetime:
  14623. description: 更新时间
  14624. type: string
  14625. type: object
  14626. models.WrOrderDetail:
  14627. properties:
  14628. accountid:
  14629. description: 交易账号(资金账号)
  14630. type: integer
  14631. allfriendsflag:
  14632. description: 是否全好友可见 - 0:否 1:是
  14633. type: integer
  14634. amount:
  14635. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  14636. type: number
  14637. buyorsell:
  14638. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14639. type: integer
  14640. canbargain:
  14641. description: 是否可议价 - 0:不可 1:可
  14642. type: integer
  14643. cancelqty:
  14644. description: 撤销数量
  14645. type: number
  14646. canpart:
  14647. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14648. type: integer
  14649. delistminqty:
  14650. description: 起摘数量
  14651. type: integer
  14652. deliverygoodscode:
  14653. description: 品种代码
  14654. type: string
  14655. deliverygoodsid:
  14656. description: 品种ID
  14657. type: integer
  14658. deliverygoodsname:
  14659. description: 品种名称
  14660. type: string
  14661. deliverymonth:
  14662. description: 交收月
  14663. type: string
  14664. enumdicname:
  14665. description: 单位名称
  14666. type: string
  14667. fixedprice:
  14668. description: 固定价格 - [挂牌]
  14669. type: number
  14670. freezemargin:
  14671. description: 冻结保证金(保证金)
  14672. type: number
  14673. futupricemove:
  14674. description: 期货升贴水
  14675. type: number
  14676. futushow:
  14677. description: 期货合约/升贴水
  14678. type: string
  14679. goodscode:
  14680. description: 期货合约
  14681. type: string
  14682. goodsid:
  14683. description: 期货商品id
  14684. type: integer
  14685. goodsname:
  14686. description: 商品名称
  14687. type: string
  14688. haswr:
  14689. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14690. type: integer
  14691. isspecified:
  14692. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14693. type: integer
  14694. ladingbillid:
  14695. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14696. type: string
  14697. marginvalue:
  14698. description: 保证金设置值(履约保证金)
  14699. type: number
  14700. marketid:
  14701. description: 市场ID
  14702. type: integer
  14703. matchusername:
  14704. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14705. type: string
  14706. minivalue:
  14707. description: 现货商品最小变动值
  14708. type: integer
  14709. optioncompare:
  14710. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14711. type: string
  14712. orderqty:
  14713. description: 委托数量
  14714. type: number
  14715. ordertime:
  14716. description: 委托时间(挂牌时间)
  14717. type: string
  14718. performancetemplateid:
  14719. description: 履约模板id
  14720. type: integer
  14721. pricemove:
  14722. description: 升贴水(浮动价时填写) - [挂牌]
  14723. type: number
  14724. taname:
  14725. description: 交易用户名称(资金账号名称)
  14726. type: string
  14727. tradedate:
  14728. description: 交易日(yyyyMMdd)
  14729. type: string
  14730. tradeprice:
  14731. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14732. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14733. type: number
  14734. tradeqty:
  14735. description: 成交数量
  14736. type: number
  14737. userid:
  14738. description: 用户ID
  14739. type: integer
  14740. validtime:
  14741. description: 挂牌有效期
  14742. type: string
  14743. warehouseid:
  14744. description: 仓库ID
  14745. type: integer
  14746. warehousename:
  14747. description: 仓库名称
  14748. type: string
  14749. wrfactortypeid:
  14750. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14751. type: string
  14752. wrfactortypename:
  14753. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14754. type: string
  14755. wrpricetype:
  14756. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14757. type: integer
  14758. wrstandardcode:
  14759. description: 现货商品代码
  14760. type: string
  14761. wrstandardid:
  14762. description: 现货商品ID
  14763. type: integer
  14764. wrstandardname:
  14765. description: 商品名称
  14766. type: string
  14767. wrtradeorderid:
  14768. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14769. type: string
  14770. wrtradeorderstatus:
  14771. 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:撤单解冻贷款失败
  14772. type: integer
  14773. wrtradetype:
  14774. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14775. type: integer
  14776. wrtypename:
  14777. description: 商品
  14778. type: string
  14779. type: object
  14780. models.WrOrderQuote:
  14781. properties:
  14782. buyprice:
  14783. description: 买价
  14784. type: number
  14785. buypricemove:
  14786. description: 买升贴水(基差)
  14787. type: number
  14788. buyqty:
  14789. description: 买量
  14790. type: number
  14791. deliverygoodscode:
  14792. description: 品种代码
  14793. type: string
  14794. deliverygoodsid:
  14795. description: 品种id
  14796. type: integer
  14797. deliverygoodsname:
  14798. description: 品种名称
  14799. type: string
  14800. deliverymonth:
  14801. description: 交收月
  14802. type: string
  14803. enumdicname:
  14804. description: 单位名称
  14805. type: string
  14806. goodscode:
  14807. description: 商品合约(浮动价列表才有)
  14808. type: string
  14809. goodsid:
  14810. description: 商品id(浮动价列表才有)
  14811. type: integer
  14812. minivalue:
  14813. description: 现货商品最小变动值
  14814. type: integer
  14815. sellprice:
  14816. description: 卖价
  14817. type: number
  14818. sellpricemove:
  14819. description: 卖升贴水(基差)
  14820. type: number
  14821. sellqty:
  14822. description: 卖量
  14823. type: number
  14824. warehousecode:
  14825. description: 仓库代码
  14826. type: string
  14827. warehouseid:
  14828. description: 仓库id
  14829. type: integer
  14830. warehousename:
  14831. description: 仓库名称
  14832. type: string
  14833. wrfactortypeid:
  14834. description: 仓单要素id
  14835. type: string
  14836. wrfactortypename:
  14837. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14838. type: string
  14839. wrgoodsname:
  14840. description: 商品(商品名称+仓库要素名称 拼接)
  14841. type: string
  14842. wrstandardcode:
  14843. description: 商品代码
  14844. type: string
  14845. wrstandardid:
  14846. description: 商品id
  14847. type: integer
  14848. wrstandardname:
  14849. description: 商品名称
  14850. type: string
  14851. type: object
  14852. models.WrOrderQuoteDetail:
  14853. properties:
  14854. buyorsell:
  14855. description: 买卖 - 0:买 1:卖
  14856. type: integer
  14857. delistminqty:
  14858. description: 起摘数量
  14859. type: number
  14860. deliverymonth:
  14861. description: 交收月
  14862. type: string
  14863. enumdicname:
  14864. description: 单位名称
  14865. type: string
  14866. fixedprice:
  14867. description: 买(卖)价
  14868. type: number
  14869. minivalue:
  14870. description: 现货商品最小变动值
  14871. type: integer
  14872. orderqty:
  14873. description: 买(卖)量(=委托量-成交量)
  14874. type: number
  14875. ordertime:
  14876. description: 委托时间
  14877. type: string
  14878. pricemove:
  14879. description: 买(卖)升贴水- 基差
  14880. type: number
  14881. userid:
  14882. description: 购买方(销售方)用户ID
  14883. type: integer
  14884. username:
  14885. description: 购买方(销售方)
  14886. type: string
  14887. wrtradeorderid:
  14888. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14889. type: string
  14890. type: object
  14891. models.WrOutInApply:
  14892. properties:
  14893. applyid:
  14894. description: 申请单id
  14895. type: string
  14896. applystatus:
  14897. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14898. 8:已撤销
  14899. type: integer
  14900. applytime:
  14901. description: 申请时间
  14902. type: string
  14903. applytype:
  14904. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14905. type: integer
  14906. deliverygoodscode:
  14907. description: 品种代码
  14908. type: string
  14909. deliverygoodsid:
  14910. description: 品种ID
  14911. type: integer
  14912. deliverygoodsname:
  14913. description: 品种名称
  14914. type: string
  14915. enumdicname:
  14916. description: 单位名称
  14917. type: string
  14918. expresscompany:
  14919. description: 物流公司
  14920. type: string
  14921. expressnum:
  14922. description: 物流单号
  14923. type: string
  14924. minivalue:
  14925. description: 现货商品最小变动值
  14926. type: integer
  14927. optioncompare:
  14928. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14929. type: string
  14930. qty:
  14931. description: 数量
  14932. type: integer
  14933. userid:
  14934. description: 用户id
  14935. type: integer
  14936. warehouseid:
  14937. description: 仓库ID
  14938. type: integer
  14939. warehousename:
  14940. description: 仓库名称
  14941. type: string
  14942. wrfactortypeid:
  14943. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14944. type: string
  14945. wrfactortypename:
  14946. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14947. type: string
  14948. wrstandardcode:
  14949. description: 现货商品代码
  14950. type: string
  14951. wrstandardid:
  14952. description: 现货商品ID
  14953. type: integer
  14954. wrstandardname:
  14955. description: 商品名称
  14956. type: string
  14957. wrtypename:
  14958. description: 商品
  14959. type: string
  14960. type: object
  14961. models.WrPerformancePlan:
  14962. properties:
  14963. activatemonth:
  14964. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14965. type: string
  14966. amount:
  14967. description: 履约金额(总金额)
  14968. type: number
  14969. buyaccountid:
  14970. description: 买方账号
  14971. type: integer
  14972. buyerfreezeamount:
  14973. description: 履约冻结(买履约)
  14974. type: number
  14975. buyerfreezeamountremain:
  14976. description: 履约冻结剩余(买履约)
  14977. type: number
  14978. buyorsell:
  14979. description: 买卖方向 0-买 1-卖
  14980. type: integer
  14981. buypaidamount:
  14982. description: 买方已冻/已扣金额 (已付金额)
  14983. type: number
  14984. buyusername:
  14985. description: 买方名字
  14986. type: string
  14987. contractid:
  14988. description: 合同ID
  14989. type: integer
  14990. createtime:
  14991. description: 创建时间
  14992. type: string
  14993. creatorid:
  14994. description: 创建人
  14995. type: integer
  14996. curstepdeadline:
  14997. description: 当前步骤到期时间
  14998. type: string
  14999. curstepid:
  15000. description: 当前步骤ID
  15001. type: string
  15002. curstepname:
  15003. description: 当前步骤名称
  15004. type: string
  15005. deliverygoodscode:
  15006. description: 品种代码
  15007. type: string
  15008. deliverygoodsid:
  15009. description: 品种ID
  15010. type: integer
  15011. deliverygoodsname:
  15012. description: 品种名称
  15013. type: string
  15014. enumdicname:
  15015. description: 单位名称
  15016. type: string
  15017. expressfee:
  15018. description: 运费
  15019. type: number
  15020. expressfeeconfirmed:
  15021. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15022. type: integer
  15023. hasovershort:
  15024. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15025. type: integer
  15026. haswr:
  15027. description: 类型 0-仓单预售 1-仓单贸易
  15028. type: integer
  15029. marketid:
  15030. description: 市场ID
  15031. type: integer
  15032. middleaccountid:
  15033. description: 中间商资金账号ID
  15034. type: integer
  15035. middleuserid:
  15036. description: 中间商用户ID
  15037. type: integer
  15038. minivalue:
  15039. description: 现货商品最小变动值
  15040. type: integer
  15041. optioncompare:
  15042. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15043. type: string
  15044. overshortamount:
  15045. description: 溢短金额
  15046. type: number
  15047. overshortqty:
  15048. description: 溢短数量
  15049. type: number
  15050. paymenttype:
  15051. description: 付款方式 - 1:冻结 2:扣款
  15052. type: integer
  15053. performanceplanid:
  15054. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15055. type: string
  15056. performancestatus:
  15057. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15058. 9:超时待处理 10:超时关闭
  15059. type: integer
  15060. performancetype:
  15061. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15062. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15063. type: integer
  15064. qty:
  15065. description: 履约数量
  15066. type: number
  15067. relatedorderid:
  15068. description: 关联单号(履约类型的关联单号)
  15069. type: string
  15070. remark:
  15071. description: 备注
  15072. type: string
  15073. sellaccountid:
  15074. description: 卖方账号
  15075. type: integer
  15076. sellerfreezeamount:
  15077. description: 履约冻结(卖履约)
  15078. type: number
  15079. sellerfreezeamountremain:
  15080. description: 履约冻结剩余(卖履约)
  15081. type: number
  15082. sellreceivedamount:
  15083. description: 卖方已收金额
  15084. type: number
  15085. sellusername:
  15086. description: 卖方名字
  15087. type: string
  15088. shipremark:
  15089. description: 发货备注[物流单号]
  15090. type: string
  15091. starttime:
  15092. description: 开始时间
  15093. type: string
  15094. steptypeid:
  15095. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15096. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15097. type: integer
  15098. typename:
  15099. description: 履约类型 名称
  15100. type: string
  15101. unpaidamount:
  15102. description: 剩余款(待支付金额)
  15103. type: number
  15104. userid:
  15105. description: 用户id
  15106. type: integer
  15107. warehouseid:
  15108. description: 仓库ID
  15109. type: integer
  15110. warehousename:
  15111. description: 仓库名称
  15112. type: string
  15113. wrfactortypeid:
  15114. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15115. type: string
  15116. wrfactortypename:
  15117. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15118. type: string
  15119. wrstandardcode:
  15120. description: 现货商品代码
  15121. type: string
  15122. wrstandardid:
  15123. description: 现货商品ID
  15124. type: integer
  15125. wrstandardname:
  15126. description: 商品名称
  15127. type: string
  15128. wrtransferuserid:
  15129. description: 仓单受让用户
  15130. type: integer
  15131. wrtypename:
  15132. description: 商品
  15133. type: string
  15134. required:
  15135. - userid
  15136. type: object
  15137. models.WrPerformancePlanStep:
  15138. properties:
  15139. delaydays:
  15140. description: 延期申请天数
  15141. type: integer
  15142. deliverygoodscode:
  15143. description: 品种代码
  15144. type: string
  15145. deliverygoodsid:
  15146. description: 品种ID
  15147. type: integer
  15148. deliverygoodsname:
  15149. description: 品种名称
  15150. type: string
  15151. endtime:
  15152. description: 结束日期
  15153. type: string
  15154. enumdicname:
  15155. description: 单位名称
  15156. type: string
  15157. executeside:
  15158. description: 步骤执行方 - 1:买方 2:卖方
  15159. type: integer
  15160. handlestatus:
  15161. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15162. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15163. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15164. type: integer
  15165. isauto:
  15166. description: 是否自动 - 0:不自动 1:自动
  15167. type: integer
  15168. islastreceivestep:
  15169. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15170. type: integer
  15171. minivalue:
  15172. description: 现货商品最小变动值
  15173. type: integer
  15174. optioncompare:
  15175. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15176. type: string
  15177. overdays:
  15178. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15179. type: integer
  15180. performancestepid:
  15181. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15182. type: string
  15183. planid:
  15184. description: 所属履约计划ID
  15185. type: string
  15186. realamount:
  15187. description: 实际完成金额
  15188. type: number
  15189. relatedorderid:
  15190. description: 关联单号
  15191. type: string
  15192. remaindays:
  15193. description: 剩余天数
  15194. type: integer
  15195. remark:
  15196. description: 错误备注
  15197. type: string
  15198. starttime:
  15199. description: 开始日期
  15200. type: string
  15201. stepamount:
  15202. description: 步骤金额
  15203. type: number
  15204. stepdays:
  15205. description: 距离上一步天数(分钟)
  15206. type: integer
  15207. stepindex:
  15208. description: 步骤序号
  15209. type: integer
  15210. steplanchtype:
  15211. description: 步骤启动类型 - 1:系统自动 2:手动
  15212. type: integer
  15213. stepremark:
  15214. description: 步骤备注
  15215. type: string
  15216. stepstatus:
  15217. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15218. type: integer
  15219. steptypeid:
  15220. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15221. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15222. type: integer
  15223. steptypename:
  15224. description: 步骤名称
  15225. type: string
  15226. stepvalue:
  15227. description: 步骤值
  15228. type: number
  15229. warehouseid:
  15230. description: 仓库ID
  15231. type: integer
  15232. warehousename:
  15233. description: 仓库名称
  15234. type: string
  15235. wrfactortypeid:
  15236. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15237. type: string
  15238. wrfactortypename:
  15239. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15240. type: string
  15241. wrstandardcode:
  15242. description: 现货商品代码
  15243. type: string
  15244. wrstandardid:
  15245. description: 现货商品ID
  15246. type: integer
  15247. wrstandardname:
  15248. description: 商品名称
  15249. type: string
  15250. wrtypename:
  15251. description: 商品
  15252. type: string
  15253. type: object
  15254. models.WrPerformanceStepType:
  15255. properties:
  15256. canauto:
  15257. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15258. type: integer
  15259. steptypeid:
  15260. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15261. type: integer
  15262. steptypename:
  15263. description: 步骤类型名称
  15264. type: string
  15265. type: object
  15266. models.WrPerformanceTemplateEx:
  15267. properties:
  15268. autoid:
  15269. description: AutoID 模板id
  15270. type: integer
  15271. createtime:
  15272. description: 创建时间
  15273. type: string
  15274. creatorid:
  15275. description: 创建人
  15276. type: integer
  15277. lstStep:
  15278. description: 步骤信息列表
  15279. items:
  15280. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15281. type: array
  15282. paymenttype:
  15283. description: 支付方式 - 1:冻结 2:扣款
  15284. type: integer
  15285. takemode:
  15286. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15287. type: integer
  15288. templatename:
  15289. description: 模板名称
  15290. type: string
  15291. templatetype:
  15292. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  15293. (无仓单) 5:挂牌期权 6:竞拍-降价式
  15294. type: integer
  15295. userid:
  15296. description: 所属用户
  15297. type: integer
  15298. type: object
  15299. models.WrPosition:
  15300. properties:
  15301. accountid:
  15302. description: 帐户ID
  15303. type: integer
  15304. buyexcuteqty:
  15305. description: 采购履约中数量
  15306. type: number
  15307. creditcurqty:
  15308. description: 授信当前数量(预售仓单:预售当前量)
  15309. type: number
  15310. creditenableqty:
  15311. description: '授信可用数量(预售仓单: 可用数量)'
  15312. type: number
  15313. creditfreezeqty:
  15314. description: '授信冻结数量(预售仓单: 当前数量)'
  15315. type: number
  15316. credittotalqty:
  15317. description: 授信总数量(预售仓单:预售总量)
  15318. type: number
  15319. credittradeqty:
  15320. description: 授信成交数量(预售仓单:成交总量)
  15321. type: number
  15322. deliverygoodscode:
  15323. description: 品种代码
  15324. type: string
  15325. deliverygoodsid:
  15326. description: 品种ID
  15327. type: integer
  15328. deliverygoodsname:
  15329. description: 品种名称
  15330. type: string
  15331. enalbeqty:
  15332. description: 可用数量
  15333. type: number
  15334. enumdicname:
  15335. description: 单位名称
  15336. type: string
  15337. freezeqty:
  15338. description: 总冻结数量
  15339. type: number
  15340. haswr:
  15341. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15342. type: integer
  15343. minivalue:
  15344. description: 现货商品最小变动值
  15345. type: integer
  15346. modifytime:
  15347. description: 修改时间(过户时间)
  15348. type: string
  15349. optioncompare:
  15350. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15351. type: string
  15352. pledgeqty:
  15353. description: 质押数量
  15354. type: number
  15355. querytype:
  15356. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15357. type: integer
  15358. sellexcuteqty:
  15359. description: 销售履约中数量
  15360. type: number
  15361. totalqty:
  15362. description: 总数量(库存数量)
  15363. type: number
  15364. warehouseid:
  15365. description: 仓库ID
  15366. type: integer
  15367. warehousename:
  15368. description: 仓库名称
  15369. type: string
  15370. wrfactortypeid:
  15371. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15372. type: string
  15373. wrfactortypename:
  15374. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15375. type: string
  15376. wrpositionid:
  15377. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15378. type: string
  15379. wrpositionno:
  15380. description: 仓单编号
  15381. type: string
  15382. wrstandardcode:
  15383. description: 现货商品代码
  15384. type: string
  15385. wrstandardid:
  15386. description: 现货商品ID
  15387. type: integer
  15388. wrstandardname:
  15389. description: 商品名称
  15390. type: string
  15391. wrtypename:
  15392. description: 商品
  15393. type: string
  15394. wruserid:
  15395. description: 持有人ID
  15396. type: integer
  15397. type: object
  15398. models.WrQuoteOrderMyq:
  15399. properties:
  15400. buyorsell:
  15401. description: 买卖 - 0:买 1:卖
  15402. type: integer
  15403. canbargain:
  15404. description: 是否可议价 - 0:不可 1:可
  15405. type: integer
  15406. canpart:
  15407. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15408. type: integer
  15409. delistminqty:
  15410. description: 起摘数量
  15411. type: number
  15412. deliverygoodscode:
  15413. description: 品种代码
  15414. type: string
  15415. deliverygoodsid:
  15416. description: 品种ID
  15417. type: integer
  15418. deliverygoodsname:
  15419. description: 品种名称
  15420. type: string
  15421. deliverymonth:
  15422. description: 交收月
  15423. type: string
  15424. enumdicname:
  15425. description: 单位名称
  15426. type: string
  15427. fixedprice:
  15428. description: 买(卖)价
  15429. type: number
  15430. goodscode:
  15431. description: 商品合约代码
  15432. type: string
  15433. marginflag:
  15434. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15435. type: integer
  15436. marginvalue:
  15437. description: 保证金设置值
  15438. type: number
  15439. minivalue:
  15440. description: 现货商品最小变动值
  15441. type: integer
  15442. orderqty:
  15443. description: 买(卖)量(=委托量-成交量)
  15444. type: number
  15445. ordertime:
  15446. description: 委托时间
  15447. type: string
  15448. performancetemplateid:
  15449. description: 履约模板id
  15450. type: integer
  15451. pricemove:
  15452. description: 买(卖)升贴水- 基差
  15453. type: number
  15454. templatename:
  15455. description: 履约模板名称
  15456. type: string
  15457. userid:
  15458. description: 购买方(销售方)用户ID
  15459. type: integer
  15460. username:
  15461. description: 购买方(销售方)
  15462. type: string
  15463. validtime:
  15464. description: 有效期限
  15465. type: string
  15466. validtype:
  15467. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15468. type: integer
  15469. warehousename:
  15470. description: 仓库名称
  15471. type: string
  15472. wrfactortypeid:
  15473. description: 仓单要素id
  15474. type: string
  15475. wrstandardcode:
  15476. description: 现货商品代码
  15477. type: string
  15478. wrstandardid:
  15479. description: 现货商品ID
  15480. type: integer
  15481. wrstandardname:
  15482. description: 商品名称
  15483. type: string
  15484. wrtradeorderid:
  15485. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15486. type: string
  15487. wrtypename:
  15488. description: 商品
  15489. type: string
  15490. type: object
  15491. models.WrScfContract:
  15492. properties:
  15493. borroweruserid:
  15494. description: 借款用户ID
  15495. type: integer
  15496. buybackwrpositionqty:
  15497. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15498. type: number
  15499. closeinterest:
  15500. description: 已结利息 -> 已结费用
  15501. type: number
  15502. currisklevel:
  15503. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15504. type: integer
  15505. deadline:
  15506. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15507. type: string
  15508. deliverygoodscode:
  15509. description: 品种代码
  15510. type: string
  15511. deliverygoodsid:
  15512. description: 品种ID
  15513. type: integer
  15514. deliverygoodsname:
  15515. description: 品种名称
  15516. type: string
  15517. enumdicname:
  15518. description: 单位名称
  15519. type: string
  15520. financingdays:
  15521. description: 天数(天)
  15522. type: integer
  15523. initmargin:
  15524. description: 保证金 - [仓单回购]
  15525. type: number
  15526. interestamount:
  15527. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15528. type: number
  15529. interestdebt:
  15530. description: 利息欠款(记录负数) -> 费用欠款
  15531. type: number
  15532. interestminlen:
  15533. description: 最小起息天数
  15534. type: integer
  15535. interestrate:
  15536. description: 利率
  15537. type: number
  15538. interestratemode:
  15539. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15540. type: integer
  15541. interestsettlemode:
  15542. description: 结息方式 - 1:按日结息 3:按月结息
  15543. type: integer
  15544. interestsettlevalue:
  15545. description: 结息方式值
  15546. type: integer
  15547. isautoloan:
  15548. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15549. type: integer
  15550. lastcloseinterestday:
  15551. description: 最近结息日(yyyyMMdd)
  15552. type: string
  15553. lenderamount:
  15554. description: 贷款金额 -> 借款金额
  15555. type: number
  15556. lenderuserid:
  15557. description: 贷款方用户ID -> 融出方用户ID
  15558. type: integer
  15559. lenderusername:
  15560. description: 融出方
  15561. type: string
  15562. marginratio:
  15563. description: 保证金比率质押率 - [仓单质押]
  15564. type: number
  15565. marketid:
  15566. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15567. type: integer
  15568. minivalue:
  15569. description: 现货商品最小变动值
  15570. type: integer
  15571. optioncompare:
  15572. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15573. type: string
  15574. pricemove:
  15575. description: 估值升贴水值
  15576. type: number
  15577. productdetailid:
  15578. description: 产品组合ID
  15579. type: integer
  15580. productid:
  15581. description: 金融产品ID
  15582. type: integer
  15583. productname:
  15584. description: 产品名称
  15585. type: string
  15586. remainamount:
  15587. description: 合同剩余金额 -> 剩余金额
  15588. type: number
  15589. remainwrpositionqty:
  15590. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15591. type: number
  15592. remark:
  15593. description: 备注
  15594. type: string
  15595. scfcontractid:
  15596. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15597. type: string
  15598. scfcontractstatus:
  15599. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15600. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15601. type: integer
  15602. scfcontracttype:
  15603. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15604. type: integer
  15605. startinterestday:
  15606. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15607. type: string
  15608. totalinterest:
  15609. description: 已计利息 -> 已计费用
  15610. type: number
  15611. unpaidinterest:
  15612. description: 未结费用
  15613. type: number
  15614. updatetime:
  15615. description: 更新时间
  15616. type: string
  15617. warehouseid:
  15618. description: 仓库ID
  15619. type: integer
  15620. warehousename:
  15621. description: 仓库名称
  15622. type: string
  15623. wrfactortypeid:
  15624. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15625. type: string
  15626. wrfactortypename:
  15627. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15628. type: string
  15629. wrqty:
  15630. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15631. type: number
  15632. wrstandardcode:
  15633. description: 现货商品代码
  15634. type: string
  15635. wrstandardid:
  15636. description: 现货商品ID
  15637. type: integer
  15638. wrstandardname:
  15639. description: 商品名称
  15640. type: string
  15641. wrtypename:
  15642. description: 商品
  15643. type: string
  15644. type: object
  15645. models.WrScfContractInterest:
  15646. properties:
  15647. closeinterest:
  15648. description: 已结利息
  15649. type: number
  15650. closeintereststatus:
  15651. description: 结息状态 - 1:未结 2:已结
  15652. type: integer
  15653. closetime:
  15654. description: 结息时间
  15655. type: string
  15656. closetradedate:
  15657. description: 结息交易日
  15658. type: string
  15659. creatorid:
  15660. description: 操作人ID
  15661. type: integer
  15662. dayrate:
  15663. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15664. type: number
  15665. interest:
  15666. description: 利息
  15667. type: number
  15668. interestamount:
  15669. description: 计息金额
  15670. type: number
  15671. interestday:
  15672. description: 计息日(yyyyMMdd)
  15673. type: string
  15674. scfcontractid:
  15675. description: SCF合同ID
  15676. type: string
  15677. scfcontractinterestid:
  15678. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15679. type: integer
  15680. updatetime:
  15681. description: 更新时间
  15682. type: string
  15683. type: object
  15684. models.WrSpecialMatchOrder:
  15685. properties:
  15686. amount:
  15687. description: 金额 = 数量 * 价格
  15688. type: number
  15689. buyorsell:
  15690. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15691. type: integer
  15692. cancelqty:
  15693. description: 撤销数量
  15694. type: number
  15695. deliverygoodscode:
  15696. description: 品种代码
  15697. type: string
  15698. deliverygoodsid:
  15699. description: 品种ID
  15700. type: integer
  15701. deliverygoodsname:
  15702. description: 品种名称
  15703. type: string
  15704. enumdicname:
  15705. description: 单位名称
  15706. type: string
  15707. fixedprice:
  15708. description: 固定价格(价格)
  15709. type: number
  15710. haswr:
  15711. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15712. type: integer
  15713. marketid:
  15714. description: 市场ID
  15715. type: integer
  15716. matchuserid:
  15717. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15718. type: integer
  15719. matchusername:
  15720. description: 指定方
  15721. type: string
  15722. minivalue:
  15723. description: 现货商品最小变动值
  15724. type: integer
  15725. optioncompare:
  15726. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15727. type: string
  15728. orderqty:
  15729. description: 委托数量
  15730. type: number
  15731. ordertime:
  15732. description: 委托时间
  15733. type: string
  15734. pricemove:
  15735. description: 升贴水(浮动价时填写) - [挂牌]
  15736. type: number
  15737. tradedate:
  15738. description: 交易日(yyyyMMdd)
  15739. type: string
  15740. tradeprice:
  15741. description: 成交价格
  15742. type: number
  15743. tradeqty:
  15744. description: 成交数量
  15745. type: number
  15746. userid:
  15747. description: 用户ID
  15748. type: integer
  15749. username:
  15750. description: 发起方
  15751. type: string
  15752. warehouseid:
  15753. description: 仓库ID
  15754. type: integer
  15755. warehousename:
  15756. description: 仓库名称
  15757. type: string
  15758. wrfactortypeid:
  15759. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15760. type: string
  15761. wrfactortypename:
  15762. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15763. type: string
  15764. wrpricetype:
  15765. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15766. type: integer
  15767. wrstandardcode:
  15768. description: 现货商品代码
  15769. type: string
  15770. wrstandardid:
  15771. description: 现货商品ID
  15772. type: integer
  15773. wrstandardname:
  15774. description: 商品名称
  15775. type: string
  15776. wrtradeorderid:
  15777. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15778. type: string
  15779. wrtradeorderstatus:
  15780. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15781. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15782. type: integer
  15783. wrtradetype:
  15784. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15785. type: integer
  15786. wrtypename:
  15787. description: 商品
  15788. type: string
  15789. type: object
  15790. models.WrStandardFactoryItem:
  15791. properties:
  15792. dgfactoryitemid:
  15793. description: 选择项id
  15794. type: integer
  15795. dgfactoryitemvalue:
  15796. description: 要素项值
  15797. type: string
  15798. warehouseid:
  15799. description: 仓库id
  15800. type: integer
  15801. type: object
  15802. models.WrStandardFactoryItemEx:
  15803. properties:
  15804. dgfactoryitemtypeid:
  15805. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15806. type: integer
  15807. itemlst:
  15808. description: 要素项列表
  15809. items:
  15810. $ref: '#/definitions/models.WrStandardFactoryItem'
  15811. type: array
  15812. itemtypename:
  15813. description: 要素项类型名称
  15814. type: string
  15815. wrstandardid:
  15816. description: 品类
  15817. type: integer
  15818. type: object
  15819. models.WrTradeDetail:
  15820. properties:
  15821. accountid:
  15822. description: 资金账号
  15823. type: integer
  15824. buyorsell:
  15825. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15826. type: integer
  15827. deliverygoodscode:
  15828. description: 品种代码
  15829. type: string
  15830. deliverygoodsid:
  15831. description: 品种ID
  15832. type: integer
  15833. deliverygoodsname:
  15834. description: 品种名称
  15835. type: string
  15836. deliverymonth:
  15837. description: 交收月
  15838. type: string
  15839. enumdicname:
  15840. description: 单位名称
  15841. type: string
  15842. haswr:
  15843. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15844. type: integer
  15845. marketid:
  15846. description: 市场ID
  15847. type: integer
  15848. matchaccountid:
  15849. description: 对手账号
  15850. type: integer
  15851. matchusername:
  15852. description: 对手方
  15853. type: string
  15854. minivalue:
  15855. description: 现货商品最小变动值
  15856. type: integer
  15857. optioncompare:
  15858. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15859. type: string
  15860. tradedate:
  15861. description: 交易日(yyyyMMdd)
  15862. type: string
  15863. tradeprice:
  15864. description: 成交价格
  15865. type: number
  15866. tradeqty:
  15867. description: 成交数量
  15868. type: number
  15869. tradetime:
  15870. description: 成交时间
  15871. type: string
  15872. userid:
  15873. description: 用户ID
  15874. type: integer
  15875. warehouseid:
  15876. description: 仓库ID
  15877. type: integer
  15878. warehousename:
  15879. description: 仓库名称
  15880. type: string
  15881. wrfactortypeid:
  15882. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15883. type: string
  15884. wrfactortypename:
  15885. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15886. type: string
  15887. wrstandardcode:
  15888. description: 现货商品代码
  15889. type: string
  15890. wrstandardid:
  15891. description: 现货商品ID
  15892. type: integer
  15893. wrstandardname:
  15894. description: 商品名称
  15895. type: string
  15896. wrtradedetailid:
  15897. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15898. type: string
  15899. wrtradetype:
  15900. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15901. type: integer
  15902. wrtypename:
  15903. description: 商品
  15904. type: string
  15905. type: object
  15906. models.WrTradeOrderDetail:
  15907. properties:
  15908. buyorsell:
  15909. description: 买卖方向 0-买 1-卖
  15910. type: integer
  15911. goodsid:
  15912. description: 商品id
  15913. type: integer
  15914. orderid:
  15915. description: 委托单号
  15916. type: string
  15917. orderprice:
  15918. description: 委托价格
  15919. type: number
  15920. orderqty:
  15921. description: 委托数量
  15922. type: integer
  15923. userid:
  15924. description: 用户id
  15925. type: integer
  15926. username:
  15927. description: 用户名称(已脱敏)
  15928. type: string
  15929. type: object
  15930. models.WrTypeItem:
  15931. properties:
  15932. name:
  15933. description: 名称
  15934. type: string
  15935. value:
  15936. description: 值
  15937. type: string
  15938. type: object
  15939. models.WrUserFriend:
  15940. properties:
  15941. friendname:
  15942. description: 朋友名称(已脱敏)
  15943. type: string
  15944. frienduserid:
  15945. description: 朋友id
  15946. type: integer
  15947. isfriend:
  15948. description: 是否好友 0-不是 1-是
  15949. type: integer
  15950. userid:
  15951. description: 用户id
  15952. type: integer
  15953. type: object
  15954. order.QueryHisTradeDetailRsp:
  15955. properties:
  15956. accountid:
  15957. description: 账户ID[报价币种]
  15958. type: integer
  15959. advanceratio:
  15960. description: 首付比率
  15961. type: number
  15962. buildtype:
  15963. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15964. type: integer
  15965. buyorsell:
  15966. description: 方向 - 0:买 1:卖
  15967. type: integer
  15968. charge:
  15969. description: 手续费
  15970. type: number
  15971. closecharge:
  15972. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15973. type: number
  15974. closeexchagechargevalue:
  15975. description: 平仓交易所手续费设置值
  15976. type: number
  15977. closefeealgorithm:
  15978. description: 平仓手续费收取方式 1:比率 2:固定
  15979. type: integer
  15980. closememberchargevalue:
  15981. description: 平仓会员手续费设置值
  15982. type: number
  15983. closepl:
  15984. description: 平仓盈亏
  15985. type: number
  15986. closepl2:
  15987. description: 平仓盈亏[逐笔]
  15988. type: number
  15989. closeqty:
  15990. description: 平仓数量(先建后平操作 需要记录)
  15991. type: number
  15992. creditamount:
  15993. description: 授信金额
  15994. type: number
  15995. decimalplace:
  15996. description: 商品报价小数位
  15997. type: integer
  15998. enumdicname:
  15999. description: 单位名称
  16000. type: string
  16001. gcaccountid:
  16002. description: 账户ID[合约币种]
  16003. type: integer
  16004. goodscode:
  16005. description: 商品代码
  16006. type: string
  16007. goodsid:
  16008. description: 商品ID
  16009. type: integer
  16010. goodsname:
  16011. description: 商品名称
  16012. type: string
  16013. goodunitid:
  16014. description: 商品单位id
  16015. type: integer
  16016. histradedate:
  16017. description: 历史交易日
  16018. type: string
  16019. intclosepl:
  16020. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16021. type: integer
  16022. isconfirmexercise:
  16023. description: 是否确认行权- 0:否 1:是
  16024. type: integer
  16025. ismain:
  16026. description: 是否主单 - 0:不是 1:是
  16027. type: integer
  16028. ispreexercise:
  16029. description: 是否预申报- 0:否 1:是
  16030. type: integer
  16031. isreckoned:
  16032. description: 是否结算 - 0:未结算 1:已结算
  16033. type: integer
  16034. isvaliddata:
  16035. description: 是否有效 - 0:无效 1:有效
  16036. type: integer
  16037. listingselecttype:
  16038. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16039. type: integer
  16040. marketid:
  16041. description: 市场ID
  16042. type: integer
  16043. marketname:
  16044. description: 市场名称
  16045. type: string
  16046. matchaccountid:
  16047. description: 对手账号id
  16048. type: integer
  16049. memberuserid:
  16050. description: 会员id 个人投资者 需要填写
  16051. type: integer
  16052. opencharge:
  16053. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16054. type: number
  16055. openexchagechargevalue:
  16056. description: 建仓交易所手续费设置值
  16057. type: number
  16058. openfeealgorithm:
  16059. description: 建仓手续费收取方式 1:比率 2:固定
  16060. type: integer
  16061. openmemberchargevalue:
  16062. description: 建仓会员手续费设置值
  16063. type: number
  16064. openqty:
  16065. description: 开仓数量(先建后平操作 需要记录)
  16066. type: number
  16067. optiontype:
  16068. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16069. type: integer
  16070. orderid:
  16071. description: 委托单号
  16072. type: string
  16073. payamount:
  16074. description: 支付金额(付款金额)
  16075. type: number
  16076. performanceplanid:
  16077. description: 履约计划ID[期权]
  16078. type: integer
  16079. performancestatus:
  16080. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16081. type: integer
  16082. preexerciseprice:
  16083. description: 预申报价格
  16084. type: number
  16085. premium:
  16086. description: 权利金 - [持仓单的权利金]
  16087. type: number
  16088. qtydecimalplace:
  16089. description: 商品报价小数位
  16090. type: integer
  16091. recvamount:
  16092. description: 到账金额 = 成交金额 - 手续费
  16093. type: number
  16094. relatedouttradeid:
  16095. description: 关联外部成交单ID
  16096. type: integer
  16097. status:
  16098. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16099. type: integer
  16100. totalamount:
  16101. description: 订单总额 = 成交金额 + 手续费
  16102. type: number
  16103. tradeamount:
  16104. description: 成交金额[账户币种,用于所有权]
  16105. type: number
  16106. tradedate:
  16107. description: 交易日(yyyyMMdd)
  16108. type: string
  16109. tradeid:
  16110. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16111. type: string
  16112. trademode:
  16113. description: 交易模式
  16114. type: integer
  16115. tradeprice:
  16116. description: 成交价格
  16117. type: number
  16118. tradeproperty:
  16119. description: 交易属性
  16120. type: integer
  16121. tradeqty:
  16122. description: 成交数量
  16123. type: number
  16124. tradetime:
  16125. description: 成交时间
  16126. type: string
  16127. tradetype:
  16128. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16129. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16130. type: integer
  16131. required:
  16132. - accountid
  16133. - buyorsell
  16134. - goodsid
  16135. - histradedate
  16136. - marketid
  16137. - memberuserid
  16138. - orderid
  16139. - tradeamount
  16140. - tradedate
  16141. - tradeid
  16142. - tradeprice
  16143. - tradeqty
  16144. - tradetime
  16145. type: object
  16146. order.QueryHisTradeOrderDetailRsp:
  16147. properties:
  16148. accountid:
  16149. description: 账户ID[报价币种]
  16150. type: integer
  16151. buildtype:
  16152. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16153. type: integer
  16154. buyorsell:
  16155. description: 买卖 - 0:买 1:卖
  16156. type: integer
  16157. cancelorderid:
  16158. description: 撤单单号(撤单时填写)
  16159. type: string
  16160. cancelqty:
  16161. description: 撤单数量
  16162. type: number
  16163. clientordertime:
  16164. description: 客户端委托时间
  16165. type: string
  16166. clientticket:
  16167. description: 客户端流水号
  16168. type: string
  16169. clienttype:
  16170. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16171. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16172. type: integer
  16173. closeexchagechargevalue:
  16174. description: 平仓交易所手续费设置值
  16175. type: number
  16176. closefeealgorithm:
  16177. description: 平仓手续费收取方式 1:比率 2:固定
  16178. type: integer
  16179. closefreezecharge:
  16180. description: 平仓冻结手续费(先建后平操作,需要记录)
  16181. type: number
  16182. closememberchargevalue:
  16183. description: 平仓会员手续费设置值
  16184. type: number
  16185. closeqty:
  16186. description: 平仓数量(先建后平操作 需要记录)
  16187. type: number
  16188. closetradeqty:
  16189. description: 平仓成交数量(先建后平操作,需要记录)
  16190. type: number
  16191. closeunfreezecharge:
  16192. description: 平仓解冻手续费(先建后平操作,需要记录)
  16193. type: number
  16194. decimalplace:
  16195. description: 商品报价小数位
  16196. type: integer
  16197. delistingtype:
  16198. description: 摘牌类型 - 1:价格最优 2:点选成交
  16199. type: integer
  16200. enumdicname:
  16201. description: 单位名称
  16202. type: string
  16203. freezecharge:
  16204. description: 冻结手续费
  16205. type: number
  16206. freezemargin:
  16207. description: 冻结保证金(冻结交易金额)
  16208. type: number
  16209. gcaccountid:
  16210. description: 账户ID[合约币种]
  16211. type: integer
  16212. goodscode:
  16213. description: 商品代码
  16214. type: string
  16215. goodsid:
  16216. description: 商品ID
  16217. type: integer
  16218. goodsname:
  16219. description: 商品名称
  16220. type: string
  16221. goodunitid:
  16222. description: 商品单位id
  16223. type: integer
  16224. histradedate:
  16225. description: 历史交易日
  16226. type: string
  16227. isconfirmexercise:
  16228. description: 是否确认行权- 0:否 1:是
  16229. type: integer
  16230. ispreexercise:
  16231. description: 是否预申报- 0:否 1:是
  16232. type: integer
  16233. isvaliddata:
  16234. description: 是否有效 - 0:无效 1:有效
  16235. type: integer
  16236. listingselecttype:
  16237. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16238. type: integer
  16239. marginalgorithm:
  16240. description: 保证金收取方式 1:比率 2:固定
  16241. type: integer
  16242. marginvalue:
  16243. description: 即市保证金设置值
  16244. type: number
  16245. marketid:
  16246. description: 市场ID
  16247. type: integer
  16248. marketmaxsub:
  16249. description: 市价最大偏移范围
  16250. type: number
  16251. marketname:
  16252. description: 市场名称
  16253. type: string
  16254. memberuserid:
  16255. description: 所属会员UserID
  16256. type: integer
  16257. openexchagechargevalue:
  16258. description: 建仓交易所手续费设置值
  16259. type: number
  16260. openfeealgorithm:
  16261. description: 建仓手续费收取方式 1:比率 2:固定
  16262. type: integer
  16263. openfreezecharge:
  16264. description: 开仓冻结手续费(先建后平操作,需要记录)
  16265. type: number
  16266. openmemberchargevalue:
  16267. description: 建仓会员手续费设置值
  16268. type: number
  16269. openqty:
  16270. description: 开仓数量(先建后平操作,需要记录)
  16271. type: number
  16272. opentradeqty:
  16273. description: 开仓成交数量(先建后平操作,需要记录)
  16274. type: number
  16275. openunfreezecharge:
  16276. description: 开仓解冻手续费(先建后平操作,需要记录)
  16277. type: number
  16278. operatetype:
  16279. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16280. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16281. 15:管理端协议转让
  16282. type: integer
  16283. operatorid:
  16284. description: 登录账号(LoginID)
  16285. type: integer
  16286. optiontype:
  16287. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16288. type: integer
  16289. orderid:
  16290. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16291. type: string
  16292. orderprice:
  16293. description: 委托价格
  16294. type: number
  16295. orderqty:
  16296. description: 委托数量
  16297. type: number
  16298. ordersrc:
  16299. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16300. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16301. type: integer
  16302. orderstatus:
  16303. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16304. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16305. 16:成交失败违约(荷兰式竞拍专用)
  16306. type: integer
  16307. ordertime:
  16308. description: 委托时间
  16309. type: string
  16310. preexerciseprice:
  16311. description: 预申报价格
  16312. type: number
  16313. premium:
  16314. description: 权利金
  16315. type: number
  16316. preorderid:
  16317. description: 关联预埋单号(止盈止损单时填写)
  16318. type: string
  16319. pricemode:
  16320. description: '取价方式 - 1:市价 2: 限价'
  16321. type: integer
  16322. qtydecimalplace:
  16323. description: 成交量小数位
  16324. type: integer
  16325. quoteid:
  16326. description: 报价单ID
  16327. type: integer
  16328. relatedid:
  16329. description: 关联单号(交割单)
  16330. type: string
  16331. retcode:
  16332. description: 错误代码
  16333. type: integer
  16334. sessionid:
  16335. description: 会话ID
  16336. type: integer
  16337. tradedate:
  16338. description: 交易日(yyyyMMdd)
  16339. type: string
  16340. trademode:
  16341. description: 交易模式
  16342. type: integer
  16343. tradeproperty:
  16344. description: 交易属性
  16345. type: integer
  16346. tradeqty:
  16347. description: 成交数量
  16348. type: number
  16349. unfreezecharge:
  16350. description: 解冻手续费
  16351. type: number
  16352. unfreezemargin:
  16353. description: 解冻保证金
  16354. type: number
  16355. updatetime:
  16356. description: 更新时间
  16357. type: string
  16358. uuid:
  16359. description: 发起端唯一id
  16360. type: string
  16361. validtime:
  16362. description: 有效期限
  16363. type: string
  16364. validtype:
  16365. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16366. type: integer
  16367. volumetype:
  16368. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16369. type: integer
  16370. required:
  16371. - accountid
  16372. - buildtype
  16373. - buyorsell
  16374. - goodsid
  16375. - histradedate
  16376. - marketid
  16377. - memberuserid
  16378. - operatetype
  16379. - orderid
  16380. - orderqty
  16381. - ordertime
  16382. - pricemode
  16383. - tradedate
  16384. - validtype
  16385. type: object
  16386. order.QueryTradeDetailRsp:
  16387. properties:
  16388. accountid:
  16389. description: 账户ID[报价币种]
  16390. type: integer
  16391. advanceratio:
  16392. description: 首付比率
  16393. type: number
  16394. buildtype:
  16395. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16396. type: integer
  16397. buyorsell:
  16398. description: 方向 - 0:买 1:卖
  16399. type: integer
  16400. charge:
  16401. description: 手续费
  16402. type: number
  16403. closecharge:
  16404. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16405. type: number
  16406. closeexchagechargevalue:
  16407. description: 平仓交易所手续费设置值
  16408. type: number
  16409. closefeealgorithm:
  16410. description: 平仓手续费收取方式 1:比率 2:固定
  16411. type: integer
  16412. closememberchargevalue:
  16413. description: 平仓会员手续费设置值
  16414. type: number
  16415. closepl:
  16416. description: 平仓盈亏
  16417. type: number
  16418. closepl2:
  16419. description: 平仓盈亏[逐笔]
  16420. type: number
  16421. closeqty:
  16422. description: 平仓数量(先建后平操作 需要记录)
  16423. type: number
  16424. creditamount:
  16425. description: 授信金额
  16426. type: number
  16427. decimalplace:
  16428. description: 商品报价小数位
  16429. type: integer
  16430. enumdicname:
  16431. description: 单位名称
  16432. type: string
  16433. gcaccountid:
  16434. description: 账户ID[合约币种]
  16435. type: integer
  16436. goodscode:
  16437. description: 商品代码
  16438. type: string
  16439. goodsid:
  16440. description: 商品ID
  16441. type: integer
  16442. goodsname:
  16443. description: 商品名称
  16444. type: string
  16445. goodunitid:
  16446. description: 商品单位id
  16447. type: integer
  16448. intclosepl:
  16449. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16450. type: integer
  16451. isconfirmexercise:
  16452. description: 是否确认行权- 0:否 1:是
  16453. type: integer
  16454. ismain:
  16455. description: 是否主单 - 0:不是 1:是
  16456. type: integer
  16457. ispreexercise:
  16458. description: 是否预申报- 0:否 1:是
  16459. type: integer
  16460. isreckoned:
  16461. description: 是否结算 - 0:未结算 1:已结算
  16462. type: integer
  16463. listingselecttype:
  16464. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16465. type: integer
  16466. marketid:
  16467. description: 市场ID
  16468. type: integer
  16469. marketname:
  16470. description: 市场名称
  16471. type: string
  16472. matchaccountid:
  16473. description: 对手账号id
  16474. type: integer
  16475. memberuserid:
  16476. description: 会员id 个人投资者 需要填写
  16477. type: integer
  16478. opencharge:
  16479. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16480. type: number
  16481. openexchagechargevalue:
  16482. description: 建仓交易所手续费设置值
  16483. type: number
  16484. openfeealgorithm:
  16485. description: 建仓手续费收取方式 1:比率 2:固定
  16486. type: integer
  16487. openmemberchargevalue:
  16488. description: 建仓会员手续费设置值
  16489. type: number
  16490. openqty:
  16491. description: 开仓数量(先建后平操作 需要记录)
  16492. type: number
  16493. optiontype:
  16494. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16495. type: integer
  16496. orderid:
  16497. description: 委托单号
  16498. type: string
  16499. payamount:
  16500. description: 支付金额(付款金额)
  16501. type: number
  16502. performanceplanid:
  16503. description: 履约计划ID[期权]
  16504. type: integer
  16505. performancestatus:
  16506. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16507. type: integer
  16508. preexerciseprice:
  16509. description: 预申报价格
  16510. type: number
  16511. premium:
  16512. description: 权利金 - [持仓单的权利金]
  16513. type: number
  16514. qtydecimalplace:
  16515. description: 商品报价小数位
  16516. type: integer
  16517. recvamount:
  16518. description: 到账金额 = 成交金额 - 手续费
  16519. type: number
  16520. relatedouttradeid:
  16521. description: 关联外部成交单ID
  16522. type: integer
  16523. status:
  16524. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16525. type: integer
  16526. totalamount:
  16527. description: 订单总额 = 成交金额 + 手续费
  16528. type: number
  16529. tradeamount:
  16530. description: 成交金额[账户币种,用于所有权]
  16531. type: number
  16532. tradedate:
  16533. description: 交易日(yyyyMMdd)
  16534. type: string
  16535. tradeid:
  16536. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16537. type: string
  16538. trademode:
  16539. description: 交易模式
  16540. type: integer
  16541. tradeprice:
  16542. description: 成交价格
  16543. type: number
  16544. tradeproperty:
  16545. description: 交易属性
  16546. type: integer
  16547. tradeqty:
  16548. description: 成交数量
  16549. type: number
  16550. tradetime:
  16551. description: 成交时间
  16552. type: string
  16553. tradetype:
  16554. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16555. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16556. type: integer
  16557. required:
  16558. - accountid
  16559. - buyorsell
  16560. - goodsid
  16561. - marketid
  16562. - memberuserid
  16563. - orderid
  16564. - tradeamount
  16565. - tradedate
  16566. - tradeid
  16567. - tradeprice
  16568. - tradeqty
  16569. - tradetime
  16570. type: object
  16571. order.QueryTradeOrderDetailRsp:
  16572. properties:
  16573. accountid:
  16574. description: 账户ID[报价币种]
  16575. type: integer
  16576. buildtype:
  16577. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16578. type: integer
  16579. buyorsell:
  16580. description: 买卖 - 0:买 1:卖
  16581. type: integer
  16582. cancelorderid:
  16583. description: 撤单单号(撤单时填写)
  16584. type: string
  16585. cancelqty:
  16586. description: 撤单数量
  16587. type: number
  16588. clienttype:
  16589. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16590. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16591. type: integer
  16592. closefreezecharge:
  16593. description: 平仓冻结手续费(先建后平操作,需要记录)
  16594. type: number
  16595. closeqty:
  16596. description: 平仓数量(先建后平操作 需要记录)
  16597. type: number
  16598. closetradeqty:
  16599. description: 平仓成交数量(先建后平操作,需要记录)
  16600. type: number
  16601. closeunfreezecharge:
  16602. description: 平仓解冻手续费(先建后平操作,需要记录)
  16603. type: number
  16604. decimalplace:
  16605. description: 商品报价小数位
  16606. type: integer
  16607. delistingtype:
  16608. description: 摘牌类型 - 1:价格最优 2:点选成交
  16609. type: integer
  16610. enableqty:
  16611. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16612. type: number
  16613. enumdicname:
  16614. description: 单位名称
  16615. type: string
  16616. freezecharge:
  16617. description: 冻结手续费
  16618. type: number
  16619. freezemargin:
  16620. description: 冻结保证金(冻结交易金额)
  16621. type: number
  16622. goodscode:
  16623. description: 商品代码
  16624. type: string
  16625. goodsid:
  16626. description: 商品ID
  16627. type: integer
  16628. goodsname:
  16629. description: 商品名称
  16630. type: string
  16631. goodunitid:
  16632. description: 商品单位id
  16633. type: integer
  16634. listingselecttype:
  16635. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16636. type: integer
  16637. marketid:
  16638. description: 市场ID
  16639. type: integer
  16640. marketname:
  16641. description: 市场名称
  16642. type: string
  16643. openfreezecharge:
  16644. description: 开仓冻结手续费(先建后平操作,需要记录)
  16645. type: number
  16646. openqty:
  16647. description: 开仓数量(先建后平操作,需要记录)
  16648. type: number
  16649. opentradeqty:
  16650. description: 开仓成交数量(先建后平操作,需要记录)
  16651. type: number
  16652. openunfreezecharge:
  16653. description: 开仓解冻手续费(先建后平操作,需要记录)
  16654. type: number
  16655. operatetype:
  16656. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16657. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16658. 15:管理端协议转让
  16659. type: integer
  16660. operatorid:
  16661. description: 登录账号(LoginID)
  16662. type: integer
  16663. orderid:
  16664. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16665. type: string
  16666. orderprice:
  16667. description: 委托价格
  16668. type: number
  16669. orderqty:
  16670. description: 委托数量
  16671. type: number
  16672. ordersrc:
  16673. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16674. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16675. type: integer
  16676. orderstatus:
  16677. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16678. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16679. 16:成交失败违约(荷兰式竞拍专用)
  16680. type: integer
  16681. ordertime:
  16682. description: 委托时间
  16683. type: string
  16684. preorderid:
  16685. description: 关联预埋单号(止盈止损单时填写)
  16686. type: string
  16687. pricemode:
  16688. description: '取价方式 - 1:市价 2: 限价'
  16689. type: integer
  16690. qtydecimalplace:
  16691. description: 商品报价小数位
  16692. type: integer
  16693. relatedid:
  16694. description: 关联单号(交割单)
  16695. type: string
  16696. tradedate:
  16697. description: 交易日(yyyyMMdd)
  16698. type: string
  16699. trademode:
  16700. description: 交易模式
  16701. type: integer
  16702. tradeqty:
  16703. description: 成交数量
  16704. type: number
  16705. unfreezecharge:
  16706. description: 解冻手续费
  16707. type: number
  16708. unfreezemargin:
  16709. description: 解冻保证金
  16710. type: number
  16711. validtime:
  16712. description: 有效期限
  16713. type: string
  16714. validtype:
  16715. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16716. type: integer
  16717. volumetype:
  16718. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16719. type: integer
  16720. required:
  16721. - accountid
  16722. - buildtype
  16723. - buyorsell
  16724. - goodsid
  16725. - marketid
  16726. - operatetype
  16727. - orderqty
  16728. - ordertime
  16729. - pricemode
  16730. - tradedate
  16731. - validtype
  16732. type: object
  16733. order.QueryTradePositionRsp:
  16734. properties:
  16735. accountid:
  16736. description: 资金账户
  16737. type: integer
  16738. agreeunit:
  16739. description: 合约单位
  16740. type: number
  16741. averageprice:
  16742. description: 持仓均价
  16743. type: number
  16744. buyorsell:
  16745. description: 方向 - 0:买 1:卖
  16746. type: integer
  16747. closetotalqty:
  16748. description: 平仓总数量
  16749. type: number
  16750. curholderamount:
  16751. description: 当前持仓总金额[商品币种]
  16752. type: number
  16753. curpositionqty:
  16754. description: 当前持仓总数量
  16755. type: number
  16756. currencyid:
  16757. description: 报价货币ID
  16758. type: integer
  16759. curtdposition:
  16760. description: 期末今日头寸
  16761. type: number
  16762. decimalplace:
  16763. description: 报价小数位
  16764. type: integer
  16765. enableqty:
  16766. description: 可用量
  16767. type: number
  16768. fretdposition:
  16769. description: 冻结今日头寸
  16770. type: number
  16771. frozenqty:
  16772. description: 持仓冻结数量
  16773. type: number
  16774. goodscode:
  16775. description: 商品代码
  16776. type: string
  16777. goodsid:
  16778. description: 商品Id
  16779. type: integer
  16780. goodsname:
  16781. description: 商品名称
  16782. type: string
  16783. goodunit:
  16784. description: 报价单位
  16785. type: string
  16786. goodunitid:
  16787. description: 报价单位ID
  16788. type: integer
  16789. holderamount:
  16790. description: 期初持仓总金额[商品币种]
  16791. type: number
  16792. lastprice:
  16793. description: 最新价
  16794. type: number
  16795. marketamount:
  16796. description: 市值
  16797. type: number
  16798. marketid:
  16799. description: 所属市场ID
  16800. type: integer
  16801. openreqqty:
  16802. description: 开仓申请数量(用于比较最大持仓数量)
  16803. type: number
  16804. opentotalqty:
  16805. description: 开仓总数量
  16806. type: number
  16807. otherfrozenqty:
  16808. description: 持仓其他冻结数量(交割冻结)
  16809. type: number
  16810. positionpl:
  16811. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16812. * 合约单位
  16813. type: number
  16814. positionplrate:
  16815. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16816. type: number
  16817. positionqty:
  16818. description: 期初持仓数量
  16819. type: number
  16820. qtydecimalplace:
  16821. description: 成交量小数位
  16822. type: integer
  16823. tnqty:
  16824. description: T+N冻结总量
  16825. type: number
  16826. tnusedqty:
  16827. description: T+N使用量(可以使用T+N的冻结数量)
  16828. type: number
  16829. trademode:
  16830. description: 交易模式
  16831. type: integer
  16832. usedmargin:
  16833. description: 占用保证金[商品币种]
  16834. type: number
  16835. required:
  16836. - goodsid
  16837. type: object
  16838. quote.HistoryData:
  16839. properties:
  16840. c:
  16841. description: 收盘价
  16842. type: number
  16843. f:
  16844. description: 是否补充数据
  16845. type: boolean
  16846. h:
  16847. description: 最高价
  16848. type: number
  16849. hv:
  16850. description: 持仓量
  16851. type: integer
  16852. l:
  16853. description: 最低价
  16854. type: number
  16855. o:
  16856. description: 开盘价
  16857. type: number
  16858. s:
  16859. description: 结算价,日线周期(包括)以上才有
  16860. type: number
  16861. ts:
  16862. description: 时间
  16863. type: string
  16864. tt:
  16865. description: 总金额
  16866. type: number
  16867. tv:
  16868. description: 总量
  16869. type: integer
  16870. type: object
  16871. quote.HistoryTikData:
  16872. properties:
  16873. AV:
  16874. description: 卖量
  16875. type: integer
  16876. Ask:
  16877. description: 卖价
  16878. type: number
  16879. BV:
  16880. description: 买量
  16881. type: integer
  16882. Bid:
  16883. description: 买价
  16884. type: number
  16885. HI:
  16886. description: 单笔持仓
  16887. type: integer
  16888. HV:
  16889. description: 持仓量
  16890. type: integer
  16891. PE:
  16892. description: 现价
  16893. type: number
  16894. TDR:
  16895. description: 交易方向,0:买 1:卖
  16896. type: integer
  16897. TK:
  16898. description: 交易类型
  16899. type: integer
  16900. TS:
  16901. description: 行情时间文本
  16902. type: string
  16903. TT:
  16904. description: 现金额
  16905. type: number
  16906. Vol:
  16907. description: 现量
  16908. type: integer
  16909. type: object
  16910. quote.QueryQuoteDayRsp:
  16911. properties:
  16912. ask:
  16913. description: 卖1
  16914. type: number
  16915. ask2:
  16916. description: 卖2
  16917. type: number
  16918. ask3:
  16919. description: 卖3
  16920. type: number
  16921. ask4:
  16922. description: 卖4
  16923. type: number
  16924. ask5:
  16925. description: 卖5
  16926. type: number
  16927. ask6:
  16928. description: 卖6
  16929. type: number
  16930. ask7:
  16931. description: 卖7
  16932. type: number
  16933. ask8:
  16934. description: 卖8
  16935. type: number
  16936. ask9:
  16937. description: 卖9
  16938. type: number
  16939. ask10:
  16940. description: 卖10
  16941. type: number
  16942. askorderid:
  16943. description: 卖单号1
  16944. type: integer
  16945. askorderid2:
  16946. description: 卖单号2
  16947. type: integer
  16948. askorderid3:
  16949. description: 卖单号3
  16950. type: integer
  16951. askorderid4:
  16952. description: 卖单号4
  16953. type: integer
  16954. askorderid5:
  16955. description: 卖单号5
  16956. type: integer
  16957. askordervolume:
  16958. description: 卖单量1
  16959. type: integer
  16960. askordervolume2:
  16961. description: 卖单量2
  16962. type: integer
  16963. askordervolume3:
  16964. description: 卖单量3
  16965. type: integer
  16966. askordervolume4:
  16967. description: 卖单量4
  16968. type: integer
  16969. askordervolume5:
  16970. description: 卖单量5
  16971. type: integer
  16972. askordervolume6:
  16973. description: 卖单量6
  16974. type: integer
  16975. askordervolume7:
  16976. description: 卖单量7
  16977. type: integer
  16978. askordervolume8:
  16979. description: 卖单量8
  16980. type: integer
  16981. askordervolume9:
  16982. description: 卖单量9
  16983. type: integer
  16984. askordervolume10:
  16985. description: 卖单量10
  16986. type: integer
  16987. askqueueinfo:
  16988. description: 大利市卖港股用
  16989. type: string
  16990. askvolume:
  16991. description: 卖量1
  16992. type: integer
  16993. askvolume2:
  16994. description: 卖量2
  16995. type: integer
  16996. askvolume3:
  16997. description: 卖量3
  16998. type: integer
  16999. askvolume4:
  17000. description: 卖量4
  17001. type: integer
  17002. askvolume5:
  17003. description: 卖量5
  17004. type: integer
  17005. askvolume6:
  17006. description: 卖量6
  17007. type: integer
  17008. askvolume7:
  17009. description: 卖量7
  17010. type: integer
  17011. askvolume8:
  17012. description: 卖量8
  17013. type: integer
  17014. askvolume9:
  17015. description: 卖量9
  17016. type: integer
  17017. askvolume10:
  17018. description: 卖量10
  17019. type: integer
  17020. averageprice:
  17021. description: 均价
  17022. type: number
  17023. bid:
  17024. description: 买1
  17025. type: number
  17026. bid2:
  17027. description: 买2
  17028. type: number
  17029. bid3:
  17030. description: 买3
  17031. type: number
  17032. bid4:
  17033. description: 买4
  17034. type: number
  17035. bid5:
  17036. description: 买5
  17037. type: number
  17038. bid6:
  17039. description: 买6
  17040. type: number
  17041. bid7:
  17042. description: 买7
  17043. type: number
  17044. bid8:
  17045. description: 买8
  17046. type: number
  17047. bid9:
  17048. description: 买9
  17049. type: number
  17050. bid10:
  17051. description: 买10
  17052. type: number
  17053. bidorderid:
  17054. description: 买单号1
  17055. type: integer
  17056. bidorderid2:
  17057. description: 买单号2
  17058. type: integer
  17059. bidorderid3:
  17060. description: 买单号3
  17061. type: integer
  17062. bidorderid4:
  17063. description: 买单号4
  17064. type: integer
  17065. bidorderid5:
  17066. description: 买单号5
  17067. type: integer
  17068. bidordervolume:
  17069. description: 买单量1
  17070. type: integer
  17071. bidordervolume2:
  17072. description: 买单量2
  17073. type: integer
  17074. bidordervolume3:
  17075. description: 买单量3
  17076. type: integer
  17077. bidordervolume4:
  17078. description: 买单量4
  17079. type: integer
  17080. bidordervolume5:
  17081. description: 买单量5
  17082. type: integer
  17083. bidordervolume6:
  17084. description: 买单量6
  17085. type: integer
  17086. bidordervolume7:
  17087. description: 买单量7
  17088. type: integer
  17089. bidordervolume8:
  17090. description: 买单量8
  17091. type: integer
  17092. bidordervolume9:
  17093. description: 买单量9
  17094. type: integer
  17095. bidordervolume10:
  17096. description: 买单量10
  17097. type: integer
  17098. bidqueueinfo:
  17099. description: 大利市买港股用
  17100. type: string
  17101. bidvolume:
  17102. description: 买量1
  17103. type: integer
  17104. bidvolume2:
  17105. description: 买量2
  17106. type: integer
  17107. bidvolume3:
  17108. description: 买量3
  17109. type: integer
  17110. bidvolume4:
  17111. description: 买量4
  17112. type: integer
  17113. bidvolume5:
  17114. description: 买量5
  17115. type: integer
  17116. bidvolume6:
  17117. description: 买量6
  17118. type: integer
  17119. bidvolume7:
  17120. description: 买量7
  17121. type: integer
  17122. bidvolume8:
  17123. description: 买量8
  17124. type: integer
  17125. bidvolume9:
  17126. description: 买量9
  17127. type: integer
  17128. bidvolume10:
  17129. description: 买量10
  17130. type: integer
  17131. calloptionpremiums:
  17132. description: 认购期权1
  17133. type: integer
  17134. calloptionpremiums2:
  17135. description: 认购期权2
  17136. type: integer
  17137. calloptionpremiums3:
  17138. description: 认购期权3
  17139. type: integer
  17140. calloptionpremiums4:
  17141. description: 认购期权4
  17142. type: integer
  17143. calloptionpremiums5:
  17144. description: 认购期权5
  17145. type: integer
  17146. cleartime:
  17147. description: 清盘时间
  17148. type: integer
  17149. exchangecode:
  17150. description: 交易所代码
  17151. type: integer
  17152. exchangedate:
  17153. description: 交易日
  17154. type: integer
  17155. goodscode:
  17156. description: 商品代码
  17157. type: string
  17158. grepmarketprice:
  17159. description: 暗盘价 港股专用
  17160. type: number
  17161. highest:
  17162. description: 最高价
  17163. type: number
  17164. holdincrement:
  17165. description: 单笔持仓
  17166. type: integer
  17167. holdvolume:
  17168. description: 持仓
  17169. type: integer
  17170. iep:
  17171. description: 平衡价 港股专用
  17172. type: number
  17173. iev:
  17174. description: 平衡量 港股专用
  17175. type: number
  17176. inventory:
  17177. description: 库存
  17178. type: integer
  17179. iscleared:
  17180. description: 是否清盘标志
  17181. type: integer
  17182. issettled:
  17183. description: 是否结算标志
  17184. type: integer
  17185. last:
  17186. description: 最新价
  17187. type: number
  17188. lastlot:
  17189. description: 最新成交手数
  17190. type: integer
  17191. lasttime:
  17192. description: 行情时间(只有现价变化行情时间才变化)
  17193. type: string
  17194. lastturnover:
  17195. description: 最新成交金额
  17196. type: number
  17197. lastvolume:
  17198. description: 最新成交量
  17199. type: integer
  17200. limitdown:
  17201. description: 跌停价
  17202. type: number
  17203. limitup:
  17204. description: 涨停价
  17205. type: number
  17206. lowest:
  17207. description: 最低价
  17208. type: number
  17209. nontotalholdervolume:
  17210. description: 非交易持仓量
  17211. type: integer
  17212. nontotallot:
  17213. description: 非交易总手数
  17214. type: integer
  17215. nontotalturnover:
  17216. description: 非交易总金额
  17217. type: integer
  17218. nontotalvolume:
  17219. description: 非交易总量
  17220. type: integer
  17221. opened:
  17222. description: 开盘价
  17223. type: number
  17224. opentime:
  17225. description: 开盘时间
  17226. type: string
  17227. orderid:
  17228. description: 序号
  17229. type: integer
  17230. preclose:
  17231. description: 昨收
  17232. type: number
  17233. preholdvolume:
  17234. description: 昨持仓
  17235. type: integer
  17236. presettle:
  17237. description: 昨结价
  17238. type: number
  17239. publictradetype:
  17240. description: 公共交易标志类型 港股专用
  17241. type: string
  17242. putoptionpremiums:
  17243. description: 认沽期权1
  17244. type: integer
  17245. putoptionpremiums2:
  17246. description: 认沽期权2
  17247. type: integer
  17248. putoptionpremiums3:
  17249. description: 认沽期权3
  17250. type: integer
  17251. putoptionpremiums4:
  17252. description: 认沽期权4
  17253. type: integer
  17254. putoptionpremiums5:
  17255. description: 认沽期权5
  17256. type: integer
  17257. settle:
  17258. description: 结算价
  17259. type: number
  17260. strikeprice:
  17261. description: 发行价
  17262. type: number
  17263. totalaskvolume:
  17264. description: 内盘
  17265. type: integer
  17266. totalbidvolume:
  17267. description: 外盘
  17268. type: integer
  17269. totallot:
  17270. description: 总手数
  17271. type: integer
  17272. totalturnover:
  17273. description: 总金额
  17274. type: number
  17275. totalvolume:
  17276. description: 总量
  17277. type: integer
  17278. utclasttime:
  17279. description: utc的行情时间
  17280. type: string
  17281. type: object
  17282. quote.QueryTSDataRsp:
  17283. properties:
  17284. Count:
  17285. description: 交易日应有数据个数
  17286. type: integer
  17287. decimalPlace:
  17288. description: 小数位
  17289. type: integer
  17290. endTime:
  17291. description: 结束时间
  17292. type: string
  17293. goodsCode:
  17294. description: 商品代码
  17295. type: string
  17296. historyDatas:
  17297. description: 历史数据
  17298. items:
  17299. $ref: '#/definitions/quote.HistoryData'
  17300. type: array
  17301. outGoodsCode:
  17302. description: 外部商品代码
  17303. type: string
  17304. preSettle:
  17305. description: 昨结价
  17306. type: number
  17307. runSteps:
  17308. description: 交易日开休市计划
  17309. items:
  17310. $ref: '#/definitions/quote.TSDataRunStep'
  17311. type: array
  17312. startTime:
  17313. description: 开始时间
  17314. type: string
  17315. tradeDate:
  17316. description: 交易日
  17317. type: string
  17318. type: object
  17319. quote.TSDataRunStep:
  17320. properties:
  17321. end:
  17322. description: 真实结束时间
  17323. type: string
  17324. endflag:
  17325. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  17326. type: integer
  17327. endtime:
  17328. description: 结束时间(HH:mm)
  17329. type: string
  17330. endweekday:
  17331. description: 结束周几
  17332. type: integer
  17333. groupid:
  17334. description: 分组ID
  17335. type: integer
  17336. runstep:
  17337. description: 运行阶段 - 2:连续交易
  17338. type: integer
  17339. sectionid:
  17340. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  17341. 结束时间=结算时间 结束周几=结算周几
  17342. type: integer
  17343. start:
  17344. description: 真实开始时间
  17345. type: string
  17346. startflag:
  17347. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17348. type: integer
  17349. starttime:
  17350. description: 起始时间(HH:mm)
  17351. type: string
  17352. startweekday:
  17353. description: 起始周几
  17354. type: integer
  17355. tradeweekday:
  17356. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17357. type: integer
  17358. type: object
  17359. szdz.QueryConvertLogRsp:
  17360. properties:
  17361. accountid:
  17362. description: 资金账户ID
  17363. type: integer
  17364. clientticket:
  17365. description: 客户端流水号
  17366. type: string
  17367. converttype:
  17368. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17369. type: integer
  17370. createtime:
  17371. description: 记账时间
  17372. type: string
  17373. daymaxvalue:
  17374. description: 配置当日最大转入限制
  17375. type: number
  17376. daymaxvalue2:
  17377. description: 配置当日最大转入限制(转入)
  17378. type: number
  17379. goodscode:
  17380. description: 商品代码
  17381. type: string
  17382. goodsname:
  17383. description: 商品名称
  17384. type: string
  17385. handlestatus:
  17386. description: 处理状态
  17387. type: integer
  17388. innergoodsid:
  17389. description: 内部商品ID
  17390. type: integer
  17391. inratio:
  17392. description: 配置转入比值
  17393. type: integer
  17394. invalue:
  17395. description: 目标值
  17396. type: number
  17397. logid:
  17398. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17399. type: integer
  17400. mobile:
  17401. description: 手机号码(加密存储)
  17402. type: string
  17403. outergoodscode:
  17404. description: 外部商品代码[JD\PD]
  17405. type: string
  17406. outratio:
  17407. description: 配置转出比值
  17408. type: integer
  17409. outvalue:
  17410. description: 源值
  17411. type: number
  17412. pddecimalplace:
  17413. description: PD小数位
  17414. type: integer
  17415. qty:
  17416. description: 数量
  17417. type: string
  17418. remark:
  17419. description: 备注
  17420. type: string
  17421. sessionid:
  17422. description: 会话ID
  17423. type: integer
  17424. timemaxvalue:
  17425. description: 配置单次最大转入限制
  17426. type: number
  17427. timemaxvalue2:
  17428. description: 配置单次最大转入限制(转入)
  17429. type: number
  17430. timeminvalue:
  17431. description: 配置单次最小数量限制
  17432. type: number
  17433. timeminvalue2:
  17434. description: 配置单次最小数量限制(转入)
  17435. type: number
  17436. tradedate:
  17437. description: 交易日(yyyyMMdd)
  17438. type: string
  17439. userid:
  17440. description: 用户ID
  17441. type: integer
  17442. required:
  17443. - logid
  17444. type: object
  17445. szdz.QueryGoodsPickupRsp:
  17446. properties:
  17447. accountid:
  17448. description: 账户ID
  17449. type: integer
  17450. address:
  17451. description: 提货人详细地址
  17452. type: string
  17453. auditer:
  17454. description: 审核人
  17455. type: integer
  17456. audittime:
  17457. description: 审核时间
  17458. type: string
  17459. cardnum:
  17460. description: 提货人证件号码
  17461. type: string
  17462. cardtypeid:
  17463. description: 提货人证件类型
  17464. type: integer
  17465. checkremark:
  17466. description: 审核备注
  17467. type: string
  17468. goodscode:
  17469. description: 商品代码
  17470. type: string
  17471. goodsid:
  17472. description: 商品ID
  17473. type: integer
  17474. goodsname:
  17475. description: 商品名称
  17476. type: string
  17477. handlestatus:
  17478. description: 处理状态
  17479. type: integer
  17480. marketid:
  17481. description: 市场ID
  17482. type: integer
  17483. phonenum:
  17484. description: 提货人联系方式
  17485. type: string
  17486. qty:
  17487. description: 提货数量
  17488. type: number
  17489. recivername:
  17490. description: 提货人姓名
  17491. type: string
  17492. reqtime:
  17493. description: 更新时间
  17494. type: string
  17495. takemode:
  17496. description: 提货方式 - 2:自提 3:配送
  17497. type: integer
  17498. takeorderid:
  17499. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17500. type: string
  17501. takeorderstatus:
  17502. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17503. type: integer
  17504. takeremark:
  17505. description: 提货备注
  17506. type: string
  17507. tradedate:
  17508. description: 交易日(yyyyMMdd)
  17509. type: string
  17510. userid:
  17511. description: 用户ID
  17512. type: integer
  17513. required:
  17514. - takeorderid
  17515. type: object
  17516. szdz.QueryRecieptOrderRsp:
  17517. properties:
  17518. accountName:
  17519. description: 所属账号名称(已脱敏)
  17520. type: string
  17521. accountid:
  17522. description: 资金账号
  17523. type: integer
  17524. buyorsell:
  17525. description: 方向 - 0:买 1:卖
  17526. type: integer
  17527. enableqty:
  17528. description: 可摘数量
  17529. type: integer
  17530. goodscode:
  17531. description: 商品代码
  17532. type: string
  17533. goodsid:
  17534. description: 商品ID
  17535. type: integer
  17536. goodsname:
  17537. description: 商品名称
  17538. type: string
  17539. orderid:
  17540. description: 委托单号
  17541. type: string
  17542. orderprice:
  17543. description: 委托价格
  17544. type: number
  17545. ordertime:
  17546. description: 委托时间
  17547. type: string
  17548. tradedate:
  17549. description: 交易日(yyyyMMdd)
  17550. type: string
  17551. required:
  17552. - ordertime
  17553. type: object
  17554. szdz.QuerySZDZTradePositionRsp:
  17555. properties:
  17556. accountid:
  17557. description: 账号Id
  17558. type: integer
  17559. agreeunit:
  17560. description: 合约单位
  17561. type: number
  17562. averageprice:
  17563. description: 持仓均价
  17564. type: number
  17565. buyorsell:
  17566. description: 方向 - 0:买 1:卖
  17567. type: integer
  17568. closetotalqty:
  17569. description: 平仓总数量
  17570. type: integer
  17571. curholderamount:
  17572. description: 当前持仓总金额
  17573. type: number
  17574. curpositionqty:
  17575. description: 当前持仓总数量
  17576. type: integer
  17577. currencyid:
  17578. description: 报价货币ID
  17579. type: integer
  17580. curtdposition:
  17581. description: 期末今日头寸
  17582. type: integer
  17583. decimalplace:
  17584. description: 报价小数位
  17585. type: integer
  17586. enableqty:
  17587. description: 可用量
  17588. type: integer
  17589. fretdposition:
  17590. description: 冻结今日头寸
  17591. type: integer
  17592. frozenqty:
  17593. description: 持仓冻结数量
  17594. type: integer
  17595. goodscode:
  17596. description: 商品代码(内部)
  17597. type: string
  17598. goodsid:
  17599. description: 商品Id
  17600. type: integer
  17601. goodsname:
  17602. description: 商品名称
  17603. type: string
  17604. goodunit:
  17605. description: 报价单位
  17606. type: string
  17607. goodunitid:
  17608. description: 报价单位ID
  17609. type: integer
  17610. holderamount:
  17611. description: 期初持仓总金额
  17612. type: number
  17613. marketid:
  17614. description: 市场ID
  17615. type: integer
  17616. openreqqty:
  17617. description: 开仓申请数量
  17618. type: integer
  17619. opentotalqty:
  17620. description: 开仓总数量
  17621. type: integer
  17622. otherfrozenqty:
  17623. description: 持仓其他冻结数量(交割冻结)
  17624. type: integer
  17625. positionqty:
  17626. description: 期初持仓数量
  17627. type: integer
  17628. szdz3freezqty:
  17629. description: 尚志大宗转换冻结总数量
  17630. type: integer
  17631. tnqty:
  17632. description: T+N冻结总量
  17633. type: integer
  17634. tnusedqty:
  17635. description: T+N使用量
  17636. type: integer
  17637. trademode:
  17638. description: 交易模式
  17639. type: integer
  17640. usedmargin:
  17641. description: 占用保证金
  17642. type: number
  17643. type: object
  17644. taaccount.QueryAmountLogRsp:
  17645. properties:
  17646. OPERATETYPENAME:
  17647. description: 资金操作类型名称
  17648. type: string
  17649. accountid:
  17650. description: 资金账户ID
  17651. type: integer
  17652. agoodscode:
  17653. description: 竞拍商品代码
  17654. type: string
  17655. agoodsname:
  17656. description: 竞拍商品名称
  17657. type: string
  17658. amount:
  17659. description: 资金金额
  17660. type: number
  17661. amountadjusttype:
  17662. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17663. type: integer
  17664. autoid:
  17665. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17666. type: integer
  17667. balance:
  17668. description: 期初余额
  17669. type: number
  17670. businesscode:
  17671. description: 业务编号
  17672. type: integer
  17673. createtime:
  17674. description: 发生时间
  17675. type: string
  17676. currencyid:
  17677. description: 币种ID
  17678. type: integer
  17679. currentbalance:
  17680. description: 期末余额(变动后金额)
  17681. type: number
  17682. dgoodscode:
  17683. description: 交割商品代码
  17684. type: string
  17685. dgoodsname:
  17686. description: 交割商品名称
  17687. type: string
  17688. goodscode:
  17689. description: 商品代码
  17690. type: string
  17691. goodsid:
  17692. description: 商品ID
  17693. type: integer
  17694. goodsname:
  17695. description: 商品名称
  17696. type: string
  17697. marketid:
  17698. description: 市场ID
  17699. type: integer
  17700. marketname:
  17701. description: 市场名称
  17702. type: string
  17703. moneyticket:
  17704. description: 资金流水号:银行端流水号
  17705. type: integer
  17706. operatetype:
  17707. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17708. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17709. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17710. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17711. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17712. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17713. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17714. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17715. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17716. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17717. type: integer
  17718. relationorderid:
  17719. description: 关联单号
  17720. type: string
  17721. remark:
  17722. description: 备注
  17723. type: string
  17724. trademode:
  17725. description: 交易模式
  17726. type: integer
  17727. required:
  17728. - accountid
  17729. - amount
  17730. - amountadjusttype
  17731. - autoid
  17732. - balance
  17733. - createtime
  17734. - currentbalance
  17735. - operatetype
  17736. type: object
  17737. taaccount.QueryHisAmountLogRsp:
  17738. properties:
  17739. OPERATETYPENAME:
  17740. description: 资金操作类型名称
  17741. type: string
  17742. accountid:
  17743. description: 资金账户ID
  17744. type: integer
  17745. agoodscode:
  17746. description: 竞拍商品代码
  17747. type: string
  17748. agoodsname:
  17749. description: 竞拍商品名称
  17750. type: string
  17751. amount:
  17752. description: 资金金额
  17753. type: number
  17754. amountadjusttype:
  17755. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17756. type: integer
  17757. autoid:
  17758. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17759. type: integer
  17760. balance:
  17761. description: 期初余额
  17762. type: number
  17763. businesscode:
  17764. description: 业务编号
  17765. type: integer
  17766. createtime:
  17767. description: 发生时间
  17768. type: string
  17769. currencyid:
  17770. description: 币种ID
  17771. type: integer
  17772. currentbalance:
  17773. description: 期末余额(变动后金额)
  17774. type: number
  17775. dgoodscode:
  17776. description: 交割商品代码
  17777. type: string
  17778. dgoodsname:
  17779. description: 交割商品名称
  17780. type: string
  17781. goodscode:
  17782. description: 商品代码
  17783. type: string
  17784. goodsid:
  17785. description: 商品ID
  17786. type: integer
  17787. goodsname:
  17788. description: 商品名称
  17789. type: string
  17790. histradedate:
  17791. description: 历史交易日
  17792. type: string
  17793. isvaliddata:
  17794. description: 是否有效 - 0:无效 1:有效
  17795. type: integer
  17796. marketid:
  17797. description: 市场ID
  17798. type: integer
  17799. marketname:
  17800. description: 市场名称
  17801. type: string
  17802. moneyticket:
  17803. description: 资金流水号:银行端流水号
  17804. type: integer
  17805. operatetype:
  17806. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17807. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17808. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17809. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17810. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17811. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17812. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17813. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17814. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17815. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17816. type: integer
  17817. relationorderid:
  17818. description: 关联单号
  17819. type: string
  17820. remark:
  17821. description: 备注
  17822. type: string
  17823. trademode:
  17824. description: 交易模式
  17825. type: integer
  17826. required:
  17827. - accountid
  17828. - amount
  17829. - amountadjusttype
  17830. - autoid
  17831. - balance
  17832. - createtime
  17833. - currentbalance
  17834. - histradedate
  17835. - operatetype
  17836. type: object
  17837. trade.QueryRecieptOrderRsp:
  17838. properties:
  17839. accountName:
  17840. description: 所属账号名称(已脱敏)
  17841. type: string
  17842. accountid:
  17843. description: 资金账号
  17844. type: integer
  17845. buyorsell:
  17846. description: 方向 - 0:买 1:卖
  17847. type: integer
  17848. enableqty:
  17849. description: 可摘数量
  17850. type: integer
  17851. goodscode:
  17852. description: 商品代码
  17853. type: string
  17854. goodsid:
  17855. description: 商品ID
  17856. type: integer
  17857. goodsname:
  17858. description: 商品名称
  17859. type: string
  17860. orderid:
  17861. description: 委托单号
  17862. type: string
  17863. orderprice:
  17864. description: 委托价格
  17865. type: number
  17866. ordertime:
  17867. description: 委托时间
  17868. type: string
  17869. tradedate:
  17870. description: 交易日(yyyyMMdd)
  17871. type: string
  17872. required:
  17873. - ordertime
  17874. type: object
  17875. user.LoginQueryRsp:
  17876. properties:
  17877. areaRoles:
  17878. description: 所属角色信息
  17879. items:
  17880. $ref: '#/definitions/models.Arearole'
  17881. type: array
  17882. externalExchanges:
  17883. description: 外部交易所
  17884. items:
  17885. $ref: '#/definitions/models.Externalexchange'
  17886. type: array
  17887. goodsgroups:
  17888. description: 商品组
  17889. items:
  17890. $ref: '#/definitions/models.Goodsgroup'
  17891. type: array
  17892. loginAccount:
  17893. $ref: '#/definitions/models.Loginaccount'
  17894. description: 登录账号
  17895. type: object
  17896. markets:
  17897. description: 市场
  17898. items:
  17899. $ref: '#/definitions/models.Market'
  17900. type: array
  17901. systemParams:
  17902. description: 系统参数
  17903. items:
  17904. $ref: '#/definitions/models.Systemparam'
  17905. type: array
  17906. userAccount:
  17907. $ref: '#/definitions/models.Useraccount'
  17908. description: 用户账号
  17909. type: object
  17910. userInfo:
  17911. $ref: '#/definitions/models.Userinfo'
  17912. description: 用户信息
  17913. type: object
  17914. username:
  17915. description: 用户姓名
  17916. type: string
  17917. type: object
  17918. info:
  17919. contact: {}
  17920. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17921. license: {}
  17922. termsOfService: http://www.muchinfo.cn
  17923. title: MTP2.0 查询服务 API
  17924. version: "1.0"
  17925. paths:
  17926. /CPTrade/QueryCPTradeMyBidInfos:
  17927. get:
  17928. parameters:
  17929. - description: 资金账户
  17930. in: query
  17931. name: accountid
  17932. required: true
  17933. type: integer
  17934. - description: 预售市场ID
  17935. in: query
  17936. name: marketid
  17937. type: integer
  17938. - description: 预售商品ID
  17939. in: query
  17940. name: goodsid
  17941. type: integer
  17942. produces:
  17943. - application/json
  17944. responses:
  17945. "200":
  17946. description: OK
  17947. schema:
  17948. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17949. "500":
  17950. description: Internal Server Error
  17951. schema:
  17952. $ref: '#/definitions/app.Response'
  17953. security:
  17954. - ApiKeyAuth: []
  17955. summary: 查询产能预售我的出价信息
  17956. tags:
  17957. - 产能预售
  17958. /CPTrade/QueryCPTradeOrderDetail:
  17959. get:
  17960. parameters:
  17961. - description: 预售商品ID
  17962. in: query
  17963. name: goodsid
  17964. type: integer
  17965. - description: 预售市场ID
  17966. in: query
  17967. name: marketid
  17968. type: integer
  17969. - description: 预售商品ID列表 - 格式:1,2,3
  17970. in: query
  17971. name: goodsids
  17972. type: string
  17973. produces:
  17974. - application/json
  17975. responses:
  17976. "200":
  17977. description: OK
  17978. schema:
  17979. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17980. "500":
  17981. description: Internal Server Error
  17982. schema:
  17983. $ref: '#/definitions/app.Response'
  17984. security:
  17985. - ApiKeyAuth: []
  17986. summary: 查询产能预售委托单信息
  17987. tags:
  17988. - 产能预售
  17989. /CPTrade/QueryMyCPTradeGoods:
  17990. get:
  17991. parameters:
  17992. - description: 资金账户
  17993. in: query
  17994. name: accountid
  17995. required: true
  17996. type: integer
  17997. produces:
  17998. - application/json
  17999. responses:
  18000. "200":
  18001. description: OK
  18002. schema:
  18003. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18004. "500":
  18005. description: Internal Server Error
  18006. schema:
  18007. $ref: '#/definitions/app.Response'
  18008. security:
  18009. - ApiKeyAuth: []
  18010. summary: 查询我的预售信息
  18011. tags:
  18012. - 产能预售
  18013. /CPTrade/QueryPositionCancel:
  18014. get:
  18015. parameters:
  18016. - description: 账户ID
  18017. in: query
  18018. name: userid
  18019. required: true
  18020. type: integer
  18021. - description: 注销ID
  18022. in: query
  18023. name: cancelid
  18024. type: integer
  18025. - description: 资金账户ID
  18026. in: query
  18027. name: accountid
  18028. type: integer
  18029. produces:
  18030. - application/json
  18031. responses:
  18032. "200":
  18033. description: OK
  18034. schema:
  18035. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18036. "500":
  18037. description: Internal Server Error
  18038. schema:
  18039. $ref: '#/definitions/app.Response'
  18040. security:
  18041. - ApiKeyAuth: []
  18042. summary: 查询远期订单注销申请信息
  18043. tags:
  18044. - 产能预售
  18045. /CPTrade/QueryPreasleApply:
  18046. get:
  18047. parameters:
  18048. - description: 账户ID
  18049. in: query
  18050. name: userid
  18051. required: true
  18052. type: integer
  18053. - description: 申请ID
  18054. in: query
  18055. name: applyid
  18056. type: integer
  18057. - description: 资金账户ID
  18058. in: query
  18059. name: accountid
  18060. type: integer
  18061. produces:
  18062. - application/json
  18063. responses:
  18064. "200":
  18065. description: OK
  18066. schema:
  18067. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18068. "500":
  18069. description: Internal Server Error
  18070. schema:
  18071. $ref: '#/definitions/app.Response'
  18072. security:
  18073. - ApiKeyAuth: []
  18074. summary: 查询产能预售申请信息
  18075. tags:
  18076. - 产能预售
  18077. /CPTrade/QueryPresaleGoodsEx:
  18078. get:
  18079. parameters:
  18080. - description: 预售商品ID
  18081. in: query
  18082. name: goodsid
  18083. type: integer
  18084. - description: 预售市场ID
  18085. in: query
  18086. name: marketid
  18087. type: integer
  18088. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18089. in: query
  18090. name: presalemode
  18091. type: integer
  18092. - description: 预售商品ID列表 - 格式:1,2,3
  18093. in: query
  18094. name: goodsids
  18095. type: string
  18096. - description: 预售商品代码
  18097. in: query
  18098. name: goodscode
  18099. type: string
  18100. produces:
  18101. - application/json
  18102. responses:
  18103. "200":
  18104. description: OK
  18105. schema:
  18106. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18107. "500":
  18108. description: Internal Server Error
  18109. schema:
  18110. $ref: '#/definitions/app.Response'
  18111. security:
  18112. - ApiKeyAuth: []
  18113. summary: 查询产能预售商品扩展信息
  18114. tags:
  18115. - 产能预售
  18116. /CPTrade/QueryUserGoodsData:
  18117. get:
  18118. parameters:
  18119. - description: 资金账户ID
  18120. in: query
  18121. name: accountid
  18122. required: true
  18123. type: integer
  18124. produces:
  18125. - application/json
  18126. responses:
  18127. "200":
  18128. description: OK
  18129. schema:
  18130. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18131. "500":
  18132. description: Internal Server Error
  18133. schema:
  18134. $ref: '#/definitions/app.Response'
  18135. security:
  18136. - ApiKeyAuth: []
  18137. summary: 查询远期订单信息
  18138. tags:
  18139. - 产能预售
  18140. /Common/GetAllEnums:
  18141. get:
  18142. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18143. parameters:
  18144. - description: 起始自增ID
  18145. in: query
  18146. name: autoid
  18147. type: integer
  18148. produces:
  18149. - application/json
  18150. responses:
  18151. "200":
  18152. description: OK
  18153. schema:
  18154. $ref: '#/definitions/models.Enumdicitem'
  18155. "500":
  18156. description: Internal Server Error
  18157. schema:
  18158. $ref: '#/definitions/app.Response'
  18159. summary: 获取所有枚举信息
  18160. tags:
  18161. - 通用服务
  18162. /Common/GetClientMenus:
  18163. get:
  18164. parameters:
  18165. - description: 登录账号
  18166. in: query
  18167. name: loginID
  18168. required: true
  18169. type: integer
  18170. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  18171. in: query
  18172. name: clientType
  18173. type: integer
  18174. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  18175. in: query
  18176. name: name
  18177. type: string
  18178. produces:
  18179. - application/json
  18180. responses:
  18181. "200":
  18182. description: OK
  18183. schema:
  18184. items:
  18185. $ref: '#/definitions/common.ClientMenu'
  18186. type: array
  18187. "500":
  18188. description: Internal Server Error
  18189. schema:
  18190. $ref: '#/definitions/app.Response'
  18191. security:
  18192. - ApiKeyAuth: []
  18193. summary: 获取交易端菜单
  18194. tags:
  18195. - 通用服务
  18196. /Common/GetDivisions:
  18197. get:
  18198. produces:
  18199. - application/json
  18200. responses:
  18201. "200":
  18202. description: OK
  18203. schema:
  18204. $ref: '#/definitions/models.Division'
  18205. "500":
  18206. description: Internal Server Error
  18207. schema:
  18208. $ref: '#/definitions/app.Response'
  18209. summary: 查询区域信息
  18210. tags:
  18211. - 通用服务
  18212. /Common/GetServerTime:
  18213. get:
  18214. produces:
  18215. - application/json
  18216. responses:
  18217. "200":
  18218. description: OK
  18219. schema:
  18220. $ref: '#/definitions/app.Response'
  18221. "500":
  18222. description: Internal Server Error
  18223. schema:
  18224. $ref: '#/definitions/app.Response'
  18225. summary: 获取服务器时间
  18226. tags:
  18227. - 通用服务
  18228. /Common/NoticeReaded:
  18229. post:
  18230. parameters:
  18231. - description: 登录账号
  18232. in: query
  18233. name: loginID
  18234. required: true
  18235. type: integer
  18236. - description: 通知公告ID
  18237. in: query
  18238. name: noticeID
  18239. required: true
  18240. type: integer
  18241. produces:
  18242. - application/json
  18243. responses:
  18244. "200":
  18245. description: OK
  18246. schema:
  18247. $ref: '#/definitions/app.Response'
  18248. "500":
  18249. description: Internal Server Error
  18250. schema:
  18251. $ref: '#/definitions/app.Response'
  18252. security:
  18253. - ApiKeyAuth: []
  18254. summary: 通知公告设置已读请求
  18255. tags:
  18256. - 通用服务
  18257. /Common/QueryErrorInfos:
  18258. get:
  18259. description: 如果传入rowNumber,则返回此rowNumber后的数据
  18260. parameters:
  18261. - description: 起始行号前索引
  18262. in: query
  18263. name: rowNumber
  18264. type: string
  18265. produces:
  18266. - application/json
  18267. responses:
  18268. "200":
  18269. description: OK
  18270. schema:
  18271. $ref: '#/definitions/models.QueryErrorInfosRsp'
  18272. "500":
  18273. description: Internal Server Error
  18274. schema:
  18275. $ref: '#/definitions/app.Response'
  18276. summary: 获取数据库错误信息
  18277. tags:
  18278. - 通用服务
  18279. /Common/QueryImageConfigs:
  18280. get:
  18281. parameters:
  18282. - description: 用户id
  18283. in: query
  18284. name: userId
  18285. type: integer
  18286. - description: 类型 - 1:App首页轮播 2:我的
  18287. in: query
  18288. name: imageType
  18289. type: integer
  18290. produces:
  18291. - application/json
  18292. responses:
  18293. "200":
  18294. description: OK
  18295. schema:
  18296. $ref: '#/definitions/common.QueryImageConfigsRsp'
  18297. "500":
  18298. description: Internal Server Error
  18299. schema:
  18300. $ref: '#/definitions/app.Response'
  18301. summary: 查询轮播图配置信息
  18302. tags:
  18303. - 通用服务
  18304. /Common/QueryNotice:
  18305. get:
  18306. parameters:
  18307. - description: 页码
  18308. in: query
  18309. name: page
  18310. type: integer
  18311. - description: 每页条数
  18312. in: query
  18313. name: pagesize
  18314. type: integer
  18315. - description: 登录账号
  18316. in: query
  18317. name: loginID
  18318. required: true
  18319. type: integer
  18320. - description: 消息类型 - 1:公告通知 2:系统消息
  18321. in: query
  18322. name: msgType
  18323. type: integer
  18324. - description: 是否只获取未读信息
  18325. in: query
  18326. name: onlyUnRead
  18327. type: boolean
  18328. - description: 自增ID,传入后会返回这个ID后面的记录
  18329. in: query
  18330. name: lastID
  18331. type: integer
  18332. produces:
  18333. - application/json
  18334. responses:
  18335. "200":
  18336. description: OK
  18337. schema:
  18338. $ref: '#/definitions/common.QueryNoticeRsp'
  18339. "500":
  18340. description: Internal Server Error
  18341. schema:
  18342. $ref: '#/definitions/app.Response'
  18343. security:
  18344. - ApiKeyAuth: []
  18345. summary: 通知公告系统消息查询
  18346. tags:
  18347. - 通用服务
  18348. /Common/QueryProvincesAndCities:
  18349. get:
  18350. parameters:
  18351. - description: 省ID
  18352. in: query
  18353. name: provinceID
  18354. type: integer
  18355. produces:
  18356. - application/json
  18357. responses:
  18358. "200":
  18359. description: OK
  18360. schema:
  18361. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18362. "500":
  18363. description: Internal Server Error
  18364. schema:
  18365. $ref: '#/definitions/app.Response'
  18366. summary: 查询省市信息(不包括区)
  18367. tags:
  18368. - 通用服务
  18369. /Common/QueryTableDefine:
  18370. get:
  18371. parameters:
  18372. - description: 表key
  18373. in: query
  18374. name: tableKey
  18375. type: string
  18376. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18377. in: query
  18378. name: tableType
  18379. type: integer
  18380. produces:
  18381. - application/json
  18382. responses:
  18383. "200":
  18384. description: OK
  18385. schema:
  18386. $ref: '#/definitions/common.QueryTableDefineRsp'
  18387. "500":
  18388. description: Internal Server Error
  18389. schema:
  18390. $ref: '#/definitions/app.Response'
  18391. summary: 查询交易端列表头信息
  18392. tags:
  18393. - 通用服务
  18394. /Common/QueryTraderMenu:
  18395. get:
  18396. parameters:
  18397. - description: 登录账号
  18398. in: query
  18399. name: loginid
  18400. required: true
  18401. type: integer
  18402. produces:
  18403. - application/json
  18404. responses:
  18405. "200":
  18406. description: OK
  18407. schema:
  18408. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18409. "500":
  18410. description: Internal Server Error
  18411. schema:
  18412. $ref: '#/definitions/app.Response'
  18413. summary: 查询交易端菜单
  18414. tags:
  18415. - 通用服务
  18416. /Delivery/QueryDeliveryRelation:
  18417. get:
  18418. parameters:
  18419. - description: 商品ID
  18420. in: query
  18421. name: goodsid
  18422. type: integer
  18423. - description: 品种ID
  18424. in: query
  18425. name: deliverygoodsid
  18426. type: integer
  18427. - description: 市场ID
  18428. in: query
  18429. name: marketid
  18430. type: integer
  18431. produces:
  18432. - application/json
  18433. responses:
  18434. "200":
  18435. description: OK
  18436. schema:
  18437. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18438. "500":
  18439. description: Internal Server Error
  18440. schema:
  18441. $ref: '#/definitions/app.Response'
  18442. security:
  18443. - ApiKeyAuth: []
  18444. summary: 查询商品交割关系表
  18445. tags:
  18446. - 交割服务
  18447. /Ermcp/GetErmcpGoods:
  18448. get:
  18449. parameters:
  18450. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18451. in: query
  18452. name: lastUpdateTime
  18453. type: string
  18454. produces:
  18455. - application/json
  18456. responses:
  18457. "200":
  18458. description: OK
  18459. schema:
  18460. $ref: '#/definitions/models.ErmcpGoods'
  18461. "500":
  18462. description: Internal Server Error
  18463. schema:
  18464. $ref: '#/definitions/app.Response'
  18465. security:
  18466. - ApiKeyAuth: []
  18467. summary: 查询企业风管期货商品信息
  18468. tags:
  18469. - 企业风险管理(app)
  18470. /Ermcp/GetErmcpGoodsSortByPosition:
  18471. get:
  18472. parameters:
  18473. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18474. in: query
  18475. name: sortIndex
  18476. type: string
  18477. produces:
  18478. - application/json
  18479. responses:
  18480. "200":
  18481. description: OK
  18482. schema:
  18483. $ref: '#/definitions/models.Goodssortbypreposition'
  18484. "500":
  18485. description: Internal Server Error
  18486. schema:
  18487. $ref: '#/definitions/app.Response'
  18488. security:
  18489. - ApiKeyAuth: []
  18490. summary: 查询企业风管期货主力、次主力商品信息
  18491. tags:
  18492. - 企业风险管理(app)
  18493. /Ermcp/GetErmcpOutAccountStatus:
  18494. get:
  18495. parameters:
  18496. - description: 登录账号
  18497. in: query
  18498. name: loginID
  18499. required: true
  18500. type: integer
  18501. produces:
  18502. - application/json
  18503. responses:
  18504. "200":
  18505. description: OK
  18506. schema:
  18507. $ref: '#/definitions/models.Hedgemarketopenlog'
  18508. "500":
  18509. description: Internal Server Error
  18510. schema:
  18511. $ref: '#/definitions/app.Response'
  18512. security:
  18513. - ApiKeyAuth: []
  18514. summary: 获取目标登录账号当前对冲账号在线状态
  18515. tags:
  18516. - 企业风险管理(app)
  18517. /Ermcp/GetErmcpRoleFuncMenuLists:
  18518. get:
  18519. parameters:
  18520. - description: 登录账号
  18521. in: query
  18522. name: loginID
  18523. required: true
  18524. type: integer
  18525. produces:
  18526. - application/json
  18527. responses:
  18528. "200":
  18529. description: OK
  18530. schema:
  18531. $ref: '#/definitions/models.Funcmenulist'
  18532. "500":
  18533. description: Internal Server Error
  18534. schema:
  18535. $ref: '#/definitions/app.Response'
  18536. security:
  18537. - ApiKeyAuth: []
  18538. summary: 获取企业风管终端权限
  18539. tags:
  18540. - 企业风险管理(app)
  18541. /Ermcp/QueryAccMgrBizGroupSet:
  18542. get:
  18543. parameters:
  18544. - description: 用户ID
  18545. in: query
  18546. name: userid
  18547. required: true
  18548. type: integer
  18549. - description: 现货商品id
  18550. in: query
  18551. name: deliverygoodsid
  18552. type: integer
  18553. produces:
  18554. - application/json
  18555. responses:
  18556. "200":
  18557. description: OK
  18558. schema:
  18559. items:
  18560. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18561. type: array
  18562. "500":
  18563. description: Internal Server Error
  18564. schema:
  18565. $ref: '#/definitions/app.Response'
  18566. security:
  18567. - ApiKeyAuth: []
  18568. summary: 查询业务类型分组(账户管理/账户设置)
  18569. tags:
  18570. - 企业风险管理(app)
  18571. /Ermcp/QueryAccMgrLoginUser:
  18572. get:
  18573. parameters:
  18574. - description: 用户ID
  18575. in: query
  18576. name: userid
  18577. required: true
  18578. type: integer
  18579. - description: 用户类型 2-机构 7-企业成员
  18580. in: query
  18581. name: usertype
  18582. type: integer
  18583. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18584. in: query
  18585. name: querytype
  18586. required: true
  18587. type: integer
  18588. produces:
  18589. - application/json
  18590. responses:
  18591. "200":
  18592. description: OK
  18593. schema:
  18594. items:
  18595. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18596. type: array
  18597. "500":
  18598. description: Internal Server Error
  18599. schema:
  18600. $ref: '#/definitions/app.Response'
  18601. security:
  18602. - ApiKeyAuth: []
  18603. summary: 查询账户管理登录账号(账户管理/登录账号)
  18604. tags:
  18605. - 企业风险管理(app)
  18606. /Ermcp/QueryAccMgrMainAccountInfo:
  18607. get:
  18608. parameters:
  18609. - description: 用户ID
  18610. in: query
  18611. name: userid
  18612. type: integer
  18613. - description: 主账号id
  18614. in: query
  18615. name: accountid
  18616. type: integer
  18617. produces:
  18618. - application/json
  18619. responses:
  18620. "200":
  18621. description: OK
  18622. schema:
  18623. items:
  18624. $ref: '#/definitions/models.MainAccountInfo'
  18625. type: array
  18626. "500":
  18627. description: Internal Server Error
  18628. schema:
  18629. $ref: '#/definitions/app.Response'
  18630. security:
  18631. - ApiKeyAuth: []
  18632. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18633. tags:
  18634. - 企业风险管理(app)
  18635. /Ermcp/QueryAccMgrRole:
  18636. get:
  18637. parameters:
  18638. - description: 用户ID
  18639. in: query
  18640. name: userid
  18641. required: true
  18642. type: integer
  18643. produces:
  18644. - application/json
  18645. responses:
  18646. "200":
  18647. description: OK
  18648. schema:
  18649. items:
  18650. $ref: '#/definitions/models.ErmcpRole'
  18651. type: array
  18652. "500":
  18653. description: Internal Server Error
  18654. schema:
  18655. $ref: '#/definitions/app.Response'
  18656. security:
  18657. - ApiKeyAuth: []
  18658. summary: 查询账户管理角色设置(账户管理/角色设置)
  18659. tags:
  18660. - 企业风险管理(app)
  18661. /Ermcp/QueryAccMgrRoleMenu:
  18662. get:
  18663. parameters:
  18664. - description: 用户ID
  18665. in: query
  18666. name: userid
  18667. required: true
  18668. type: integer
  18669. - description: 角色id(可多个,逗号隔开)
  18670. in: query
  18671. name: roleid
  18672. type: string
  18673. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18674. in: query
  18675. name: menutype
  18676. type: integer
  18677. produces:
  18678. - application/json
  18679. responses:
  18680. "200":
  18681. description: OK
  18682. schema:
  18683. items:
  18684. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18685. type: array
  18686. "500":
  18687. description: Internal Server Error
  18688. schema:
  18689. $ref: '#/definitions/app.Response'
  18690. security:
  18691. - ApiKeyAuth: []
  18692. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18693. tags:
  18694. - 企业风险管理(app)
  18695. /Ermcp/QueryAccMgrTaAccountInfo:
  18696. get:
  18697. parameters:
  18698. - description: 用户ID
  18699. in: query
  18700. name: userid
  18701. required: true
  18702. type: integer
  18703. - description: 账号id
  18704. in: query
  18705. name: accountid
  18706. type: integer
  18707. produces:
  18708. - application/json
  18709. responses:
  18710. "200":
  18711. description: OK
  18712. schema:
  18713. items:
  18714. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18715. type: array
  18716. "500":
  18717. description: Internal Server Error
  18718. schema:
  18719. $ref: '#/definitions/app.Response'
  18720. security:
  18721. - ApiKeyAuth: []
  18722. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18723. tags:
  18724. - 企业风险管理(app)
  18725. /Ermcp/QueryAccMgrTaaccount:
  18726. get:
  18727. parameters:
  18728. - description: 用户ID
  18729. in: query
  18730. name: userid
  18731. required: true
  18732. type: integer
  18733. produces:
  18734. - application/json
  18735. responses:
  18736. "200":
  18737. description: OK
  18738. schema:
  18739. items:
  18740. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18741. type: array
  18742. "500":
  18743. description: Internal Server Error
  18744. schema:
  18745. $ref: '#/definitions/app.Response'
  18746. security:
  18747. - ApiKeyAuth: []
  18748. summary: 查询账户管理期货账号(账户管理/期货账号)
  18749. tags:
  18750. - 企业风险管理(app)
  18751. /Ermcp/QueryAvaildGoodsGroup:
  18752. get:
  18753. parameters:
  18754. - description: 所属机构ID
  18755. in: query
  18756. name: userid
  18757. required: true
  18758. type: integer
  18759. produces:
  18760. - application/json
  18761. responses:
  18762. "200":
  18763. description: OK
  18764. schema:
  18765. items:
  18766. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18767. type: array
  18768. "500":
  18769. description: Internal Server Error
  18770. schema:
  18771. $ref: '#/definitions/app.Response'
  18772. security:
  18773. - ApiKeyAuth: []
  18774. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18775. tags:
  18776. - 企业风险管理(app)
  18777. /Ermcp/QueryBusinessDj:
  18778. get:
  18779. parameters:
  18780. - description: 用户ID
  18781. in: query
  18782. name: UserId
  18783. required: true
  18784. type: integer
  18785. - description: 用户类型 2-机构 7-企业成员
  18786. in: query
  18787. name: usertype
  18788. type: integer
  18789. - description: 现货合同ID, 不填则查所有
  18790. in: query
  18791. name: relatedid
  18792. type: string
  18793. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18794. in: query
  18795. name: applystatus
  18796. type: string
  18797. produces:
  18798. - application/json
  18799. responses:
  18800. "200":
  18801. description: OK
  18802. schema:
  18803. items:
  18804. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18805. type: array
  18806. "500":
  18807. description: Internal Server Error
  18808. schema:
  18809. $ref: '#/definitions/app.Response'
  18810. security:
  18811. - ApiKeyAuth: []
  18812. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18813. tags:
  18814. - 企业风险管理(app)
  18815. /Ermcp/QueryBusinessFp:
  18816. get:
  18817. parameters:
  18818. - description: 用户ID
  18819. in: query
  18820. name: UserId
  18821. required: true
  18822. type: integer
  18823. - description: 用户类型 2-机构 7-企业成员
  18824. in: query
  18825. name: usertype
  18826. type: integer
  18827. - description: 现货合同ID, 不填则查所有
  18828. in: query
  18829. name: relatedid
  18830. type: string
  18831. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18832. in: query
  18833. name: applystatus
  18834. type: string
  18835. produces:
  18836. - application/json
  18837. responses:
  18838. "200":
  18839. description: OK
  18840. schema:
  18841. items:
  18842. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18843. type: array
  18844. "500":
  18845. description: Internal Server Error
  18846. schema:
  18847. $ref: '#/definitions/app.Response'
  18848. security:
  18849. - ApiKeyAuth: []
  18850. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18851. tags:
  18852. - 企业风险管理(app)
  18853. /Ermcp/QueryBusinessJs:
  18854. get:
  18855. parameters:
  18856. - description: 用户ID
  18857. in: query
  18858. name: UserId
  18859. required: true
  18860. type: integer
  18861. - description: 用户类型 2-机构 7-企业成员
  18862. in: query
  18863. name: usertype
  18864. type: integer
  18865. - description: 现货合同ID, 不填则查所有
  18866. in: query
  18867. name: relatedid
  18868. type: string
  18869. - description: 操作申请id
  18870. in: query
  18871. name: operateapplyid
  18872. type: string
  18873. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18874. in: query
  18875. name: applystatus
  18876. type: string
  18877. produces:
  18878. - application/json
  18879. responses:
  18880. "200":
  18881. description: OK
  18882. schema:
  18883. items:
  18884. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18885. type: array
  18886. "500":
  18887. description: Internal Server Error
  18888. schema:
  18889. $ref: '#/definitions/app.Response'
  18890. security:
  18891. - ApiKeyAuth: []
  18892. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18893. tags:
  18894. - 企业风险管理(app)
  18895. /Ermcp/QueryBusinessJsEx:
  18896. get:
  18897. parameters:
  18898. - description: 用户ID
  18899. in: query
  18900. name: UserId
  18901. required: true
  18902. type: integer
  18903. - description: 用户类型 2-机构 7-企业成员
  18904. in: query
  18905. name: usertype
  18906. type: integer
  18907. - description: 现货合同ID, 不填则查所有
  18908. in: query
  18909. name: relatedid
  18910. type: string
  18911. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18912. in: query
  18913. name: applystatus
  18914. type: string
  18915. produces:
  18916. - application/json
  18917. responses:
  18918. "200":
  18919. description: OK
  18920. schema:
  18921. items:
  18922. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18923. type: array
  18924. "500":
  18925. description: Internal Server Error
  18926. schema:
  18927. $ref: '#/definitions/app.Response'
  18928. security:
  18929. - ApiKeyAuth: []
  18930. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18931. tags:
  18932. - 企业风险管理(app)
  18933. /Ermcp/QueryBusinessKx:
  18934. get:
  18935. parameters:
  18936. - description: 用户ID
  18937. in: query
  18938. name: UserId
  18939. required: true
  18940. type: integer
  18941. - description: 用户类型 2-机构 7-企业成员
  18942. in: query
  18943. name: usertype
  18944. type: integer
  18945. - description: 现货合同ID, 不填则查所有
  18946. in: query
  18947. name: relatedid
  18948. type: string
  18949. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18950. in: query
  18951. name: applystatus
  18952. type: string
  18953. produces:
  18954. - application/json
  18955. responses:
  18956. "200":
  18957. description: OK
  18958. schema:
  18959. items:
  18960. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18961. type: array
  18962. "500":
  18963. description: Internal Server Error
  18964. schema:
  18965. $ref: '#/definitions/app.Response'
  18966. security:
  18967. - ApiKeyAuth: []
  18968. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18969. tags:
  18970. - 企业风险管理(app)
  18971. /Ermcp/QueryChangeLog:
  18972. get:
  18973. parameters:
  18974. - description: 合同ID
  18975. in: query
  18976. name: RelatedId
  18977. required: true
  18978. type: string
  18979. produces:
  18980. - application/json
  18981. responses:
  18982. "200":
  18983. description: OK
  18984. schema:
  18985. items:
  18986. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18987. type: array
  18988. "500":
  18989. description: Internal Server Error
  18990. schema:
  18991. $ref: '#/definitions/app.Response'
  18992. security:
  18993. - ApiKeyAuth: []
  18994. summary: 查询变更记录
  18995. tags:
  18996. - 企业风险管理(app)
  18997. /Ermcp/QueryErmcpHisOrderDetails:
  18998. get:
  18999. parameters:
  19000. - description: 资金账户ID
  19001. in: query
  19002. name: accountID
  19003. required: true
  19004. type: integer
  19005. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19006. in: query
  19007. name: startDate
  19008. type: string
  19009. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19010. in: query
  19011. name: endDate
  19012. type: string
  19013. produces:
  19014. - application/json
  19015. responses:
  19016. "200":
  19017. description: OK
  19018. schema:
  19019. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19020. "500":
  19021. description: Internal Server Error
  19022. schema:
  19023. $ref: '#/definitions/app.Response'
  19024. security:
  19025. - ApiKeyAuth: []
  19026. summary: 获取企业风管期货历史委托单信息
  19027. tags:
  19028. - 企业风险管理(app)
  19029. /Ermcp/QueryErmcpHisTradeDetails:
  19030. get:
  19031. parameters:
  19032. - description: 资金账户ID
  19033. in: query
  19034. name: accountID
  19035. required: true
  19036. type: integer
  19037. - description: 商品ID
  19038. in: query
  19039. name: goodsID
  19040. type: integer
  19041. - description: 买卖方向,0:买 1:卖
  19042. in: query
  19043. name: buyOrSell
  19044. type: integer
  19045. - description: 关联委托单号
  19046. in: query
  19047. name: orderID
  19048. type: integer
  19049. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19050. in: query
  19051. name: startDate
  19052. type: string
  19053. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19054. in: query
  19055. name: endDate
  19056. type: string
  19057. produces:
  19058. - application/json
  19059. responses:
  19060. "200":
  19061. description: OK
  19062. schema:
  19063. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19064. "500":
  19065. description: Internal Server Error
  19066. schema:
  19067. $ref: '#/definitions/app.Response'
  19068. security:
  19069. - ApiKeyAuth: []
  19070. summary: 获取企业风管期货历史成交单信息
  19071. tags:
  19072. - 企业风险管理(app)
  19073. /Ermcp/QueryErmcpInnerHolderDetails:
  19074. get:
  19075. parameters:
  19076. - description: 资金账户ID
  19077. in: query
  19078. name: accountID
  19079. required: true
  19080. type: integer
  19081. - description: 商品ID
  19082. in: query
  19083. name: goodsID
  19084. type: integer
  19085. - description: 买卖方向,0:买 1:卖
  19086. in: query
  19087. name: buyOrSell
  19088. type: integer
  19089. produces:
  19090. - application/json
  19091. responses:
  19092. "200":
  19093. description: OK
  19094. schema:
  19095. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19096. "500":
  19097. description: Internal Server Error
  19098. schema:
  19099. $ref: '#/definitions/app.Response'
  19100. security:
  19101. - ApiKeyAuth: []
  19102. summary: 获取企业风管期货内部持仓单信息
  19103. tags:
  19104. - 企业风险管理(app)
  19105. /Ermcp/QueryErmcpOrderDetails:
  19106. get:
  19107. parameters:
  19108. - description: 资金账户ID
  19109. in: query
  19110. name: accountID
  19111. required: true
  19112. type: integer
  19113. produces:
  19114. - application/json
  19115. responses:
  19116. "200":
  19117. description: OK
  19118. schema:
  19119. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19120. "500":
  19121. description: Internal Server Error
  19122. schema:
  19123. $ref: '#/definitions/app.Response'
  19124. security:
  19125. - ApiKeyAuth: []
  19126. summary: 获取企业风管期货委托单信息
  19127. tags:
  19128. - 企业风险管理(app)
  19129. /Ermcp/QueryErmcpTradeDetails:
  19130. get:
  19131. parameters:
  19132. - description: 资金账户ID
  19133. in: query
  19134. name: accountID
  19135. required: true
  19136. type: integer
  19137. - description: 商品ID
  19138. in: query
  19139. name: goodsID
  19140. type: integer
  19141. - description: 买卖方向,0:买 1:卖
  19142. in: query
  19143. name: buyOrSell
  19144. type: integer
  19145. - description: 关联委托单号
  19146. in: query
  19147. name: orderID
  19148. type: integer
  19149. produces:
  19150. - application/json
  19151. responses:
  19152. "200":
  19153. description: OK
  19154. schema:
  19155. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19156. "500":
  19157. description: Internal Server Error
  19158. schema:
  19159. $ref: '#/definitions/app.Response'
  19160. security:
  19161. - ApiKeyAuth: []
  19162. summary: 获取企业风管期货成交单信息
  19163. tags:
  19164. - 企业风险管理(app)
  19165. /Ermcp/QueryErmcpTradePosition:
  19166. get:
  19167. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  19168. parameters:
  19169. - description: 资金账户ID
  19170. in: query
  19171. name: accountID
  19172. required: true
  19173. type: integer
  19174. - description: 所属市场ID
  19175. in: query
  19176. name: marketID
  19177. type: integer
  19178. produces:
  19179. - application/json
  19180. responses:
  19181. "200":
  19182. description: OK
  19183. schema:
  19184. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  19185. "500":
  19186. description: Internal Server Error
  19187. schema:
  19188. $ref: '#/definitions/app.Response'
  19189. security:
  19190. - ApiKeyAuth: []
  19191. summary: 获取企业风管期货持仓头寸信息
  19192. tags:
  19193. - 企业风险管理(app)
  19194. /Ermcp/QueryExposureDetail:
  19195. get:
  19196. parameters:
  19197. - description: 所属机构ID
  19198. in: query
  19199. name: areaUserId
  19200. required: true
  19201. type: integer
  19202. - description: 套保商品
  19203. in: query
  19204. name: middleGoodsId
  19205. required: true
  19206. type: integer
  19207. produces:
  19208. - application/json
  19209. responses:
  19210. "200":
  19211. description: OK
  19212. schema:
  19213. items:
  19214. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  19215. type: array
  19216. "500":
  19217. description: Internal Server Error
  19218. schema:
  19219. $ref: '#/definitions/app.Response'
  19220. security:
  19221. - ApiKeyAuth: []
  19222. summary: 查询敞口现货明细
  19223. tags:
  19224. - 企业风险管理(app)
  19225. /Ermcp/QueryExposureGoods:
  19226. get:
  19227. parameters:
  19228. - description: 套保商品id
  19229. in: query
  19230. name: middlegoodsid
  19231. required: true
  19232. type: integer
  19233. produces:
  19234. - application/json
  19235. responses:
  19236. "200":
  19237. description: OK
  19238. schema:
  19239. items:
  19240. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  19241. type: array
  19242. "500":
  19243. description: Internal Server Error
  19244. schema:
  19245. $ref: '#/definitions/app.Response'
  19246. security:
  19247. - ApiKeyAuth: []
  19248. summary: 查询敞口主力合约
  19249. tags:
  19250. - 企业风险管理(app)
  19251. /Ermcp/QueryExposureHedgePosition:
  19252. get:
  19253. parameters:
  19254. - description: 用户id
  19255. in: query
  19256. name: userid
  19257. required: true
  19258. type: integer
  19259. produces:
  19260. - application/json
  19261. responses:
  19262. "200":
  19263. description: OK
  19264. schema:
  19265. items:
  19266. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  19267. type: array
  19268. "500":
  19269. description: Internal Server Error
  19270. schema:
  19271. $ref: '#/definitions/app.Response'
  19272. security:
  19273. - ApiKeyAuth: []
  19274. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  19275. tags:
  19276. - 企业风险管理(app)
  19277. /Ermcp/QueryExposureHedgePositionDetail:
  19278. get:
  19279. parameters:
  19280. - description: 所属机构ID
  19281. in: query
  19282. name: userid
  19283. required: true
  19284. type: integer
  19285. - description: 商品id
  19286. in: query
  19287. name: goodsId
  19288. required: true
  19289. type: integer
  19290. produces:
  19291. - application/json
  19292. responses:
  19293. "200":
  19294. description: OK
  19295. schema:
  19296. items:
  19297. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  19298. type: array
  19299. "500":
  19300. description: Internal Server Error
  19301. schema:
  19302. $ref: '#/definitions/app.Response'
  19303. security:
  19304. - ApiKeyAuth: []
  19305. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  19306. tags:
  19307. - 企业风险管理(app)
  19308. /Ermcp/QueryExposureSpot:
  19309. get:
  19310. parameters:
  19311. - description: 所属机构ID
  19312. in: query
  19313. name: areaUserId
  19314. required: true
  19315. type: integer
  19316. produces:
  19317. - application/json
  19318. responses:
  19319. "200":
  19320. description: OK
  19321. schema:
  19322. items:
  19323. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  19324. type: array
  19325. "500":
  19326. description: Internal Server Error
  19327. schema:
  19328. $ref: '#/definitions/app.Response'
  19329. security:
  19330. - ApiKeyAuth: []
  19331. summary: 查询敞口现货头寸(敞口/现货头寸)
  19332. tags:
  19333. - 企业风险管理(app)
  19334. /Ermcp/QueryExposureSpotDetail:
  19335. get:
  19336. parameters:
  19337. - description: 所属机构ID
  19338. in: query
  19339. name: areaUserId
  19340. required: true
  19341. type: integer
  19342. - description: 现货品种ID
  19343. in: query
  19344. name: wrstandardId
  19345. required: true
  19346. type: integer
  19347. produces:
  19348. - application/json
  19349. responses:
  19350. "200":
  19351. description: OK
  19352. schema:
  19353. items:
  19354. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19355. type: array
  19356. "500":
  19357. description: Internal Server Error
  19358. schema:
  19359. $ref: '#/definitions/app.Response'
  19360. security:
  19361. - ApiKeyAuth: []
  19362. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19363. tags:
  19364. - 企业风险管理(app)
  19365. /Ermcp/QueryFuturesCompany:
  19366. get:
  19367. produces:
  19368. - application/json
  19369. responses:
  19370. "200":
  19371. description: OK
  19372. schema:
  19373. items:
  19374. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19375. type: array
  19376. "500":
  19377. description: Internal Server Error
  19378. schema:
  19379. $ref: '#/definitions/app.Response'
  19380. security:
  19381. - ApiKeyAuth: []
  19382. summary: 查询期货公司
  19383. tags:
  19384. - 企业风险管理(app)
  19385. /Ermcp/QueryGGConvertConfig:
  19386. get:
  19387. parameters:
  19388. - description: 品种id(不填则查所有)
  19389. in: query
  19390. name: goodsgroupid
  19391. type: integer
  19392. produces:
  19393. - application/json
  19394. responses:
  19395. "200":
  19396. description: OK
  19397. schema:
  19398. items:
  19399. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19400. type: array
  19401. "500":
  19402. description: Internal Server Error
  19403. schema:
  19404. $ref: '#/definitions/app.Response'
  19405. security:
  19406. - ApiKeyAuth: []
  19407. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19408. tags:
  19409. - 企业风险管理(app)
  19410. /Ermcp/QueryGoodsBrand:
  19411. get:
  19412. parameters:
  19413. - description: 用户ID
  19414. in: query
  19415. name: userid
  19416. required: true
  19417. type: integer
  19418. - description: 现货商品ID
  19419. in: query
  19420. name: wrstandardid
  19421. type: integer
  19422. produces:
  19423. - application/json
  19424. responses:
  19425. "200":
  19426. description: OK
  19427. schema:
  19428. items:
  19429. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19430. type: array
  19431. "500":
  19432. description: Internal Server Error
  19433. schema:
  19434. $ref: '#/definitions/app.Response'
  19435. security:
  19436. - ApiKeyAuth: []
  19437. summary: 查询商品品牌
  19438. tags:
  19439. - 企业风险管理(app)
  19440. /Ermcp/QueryGoodsModel:
  19441. get:
  19442. parameters:
  19443. - description: 用户ID
  19444. in: query
  19445. name: userid
  19446. required: true
  19447. type: integer
  19448. produces:
  19449. - application/json
  19450. responses:
  19451. "200":
  19452. description: OK
  19453. schema:
  19454. items:
  19455. $ref: '#/definitions/models.ErmcpGoodsModel'
  19456. type: array
  19457. "500":
  19458. description: Internal Server Error
  19459. schema:
  19460. $ref: '#/definitions/app.Response'
  19461. security:
  19462. - ApiKeyAuth: []
  19463. summary: 查询商品型号
  19464. tags:
  19465. - 企业风险管理(app)
  19466. /Ermcp/QueryHisExposure:
  19467. get:
  19468. parameters:
  19469. - description: 用户id
  19470. in: query
  19471. name: userid
  19472. required: true
  19473. type: integer
  19474. - description: 每个品种记录数
  19475. in: query
  19476. name: lastNum
  19477. required: true
  19478. type: integer
  19479. produces:
  19480. - application/json
  19481. responses:
  19482. "200":
  19483. description: OK
  19484. schema:
  19485. items:
  19486. $ref: '#/definitions/ermcp.HisExposureRsp'
  19487. type: array
  19488. "500":
  19489. description: Internal Server Error
  19490. schema:
  19491. $ref: '#/definitions/app.Response'
  19492. security:
  19493. - ApiKeyAuth: []
  19494. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19495. tags:
  19496. - 企业风险管理(app)
  19497. /Ermcp/QueryMiddleGoods:
  19498. get:
  19499. parameters:
  19500. - description: 所属机构ID
  19501. in: query
  19502. name: userid
  19503. required: true
  19504. type: integer
  19505. - description: 状态 0-停用 1-正常
  19506. in: query
  19507. name: status
  19508. required: true
  19509. type: integer
  19510. produces:
  19511. - application/json
  19512. responses:
  19513. "200":
  19514. description: OK
  19515. schema:
  19516. items:
  19517. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19518. type: array
  19519. "500":
  19520. description: Internal Server Error
  19521. schema:
  19522. $ref: '#/definitions/app.Response'
  19523. security:
  19524. - ApiKeyAuth: []
  19525. summary: 查询套保品种(菜单:套保品种)
  19526. tags:
  19527. - 企业风险管理(app)
  19528. /Ermcp/QueryMiddleGoodsChangeLog:
  19529. get:
  19530. parameters:
  19531. - description: 所属机构ID
  19532. in: query
  19533. name: userid
  19534. required: true
  19535. type: integer
  19536. - description: 套保品种id
  19537. in: query
  19538. name: middlegoodsid
  19539. required: true
  19540. type: integer
  19541. produces:
  19542. - application/json
  19543. responses:
  19544. "200":
  19545. description: OK
  19546. schema:
  19547. items:
  19548. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19549. type: array
  19550. "500":
  19551. description: Internal Server Error
  19552. schema:
  19553. $ref: '#/definitions/app.Response'
  19554. security:
  19555. - ApiKeyAuth: []
  19556. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19557. tags:
  19558. - 企业风险管理(app)
  19559. /Ermcp/QueryMiddleGoodsDetail:
  19560. get:
  19561. parameters:
  19562. - description: 所属机构ID
  19563. in: query
  19564. name: userid
  19565. required: true
  19566. type: integer
  19567. - description: 套保品种id
  19568. in: query
  19569. name: middlegoodsid
  19570. type: integer
  19571. produces:
  19572. - application/json
  19573. responses:
  19574. "200":
  19575. description: OK
  19576. schema:
  19577. items:
  19578. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19579. type: array
  19580. "500":
  19581. description: Internal Server Error
  19582. schema:
  19583. $ref: '#/definitions/app.Response'
  19584. security:
  19585. - ApiKeyAuth: []
  19586. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19587. tags:
  19588. - 企业风险管理(app)
  19589. /Ermcp/QueryPendingAuditInfo:
  19590. get:
  19591. parameters:
  19592. - description: 用户ID
  19593. in: query
  19594. name: UserId
  19595. required: true
  19596. type: integer
  19597. produces:
  19598. - application/json
  19599. responses:
  19600. "200":
  19601. description: OK
  19602. schema:
  19603. items:
  19604. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19605. type: array
  19606. "500":
  19607. description: Internal Server Error
  19608. schema:
  19609. $ref: '#/definitions/app.Response'
  19610. security:
  19611. - ApiKeyAuth: []
  19612. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19613. tags:
  19614. - 企业风险管理(app)
  19615. /Ermcp/QueryRealtimeExposure:
  19616. get:
  19617. parameters:
  19618. - description: 所属机构ID
  19619. in: query
  19620. name: userid
  19621. required: true
  19622. type: integer
  19623. produces:
  19624. - application/json
  19625. responses:
  19626. "200":
  19627. description: OK
  19628. schema:
  19629. items:
  19630. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19631. type: array
  19632. "500":
  19633. description: Internal Server Error
  19634. schema:
  19635. $ref: '#/definitions/app.Response'
  19636. security:
  19637. - ApiKeyAuth: []
  19638. summary: 查询实时敞口
  19639. tags:
  19640. - 企业风险管理(app)
  19641. /Ermcp/QueryRealtimeExposurePosition:
  19642. get:
  19643. parameters:
  19644. - description: 用户id
  19645. in: query
  19646. name: userid
  19647. required: true
  19648. type: integer
  19649. - description: 套保商品ID
  19650. in: query
  19651. name: middleGoodsId
  19652. required: true
  19653. type: integer
  19654. produces:
  19655. - application/json
  19656. responses:
  19657. "200":
  19658. description: OK
  19659. schema:
  19660. items:
  19661. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19662. type: array
  19663. "500":
  19664. description: Internal Server Error
  19665. schema:
  19666. $ref: '#/definitions/app.Response'
  19667. security:
  19668. - ApiKeyAuth: []
  19669. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19670. tags:
  19671. - 企业风险管理(app)
  19672. /Ermcp/QueryRoleMenu:
  19673. get:
  19674. parameters:
  19675. - description: 登录ID
  19676. in: query
  19677. name: loginid
  19678. required: true
  19679. type: integer
  19680. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19681. in: query
  19682. name: menutype
  19683. type: integer
  19684. produces:
  19685. - application/json
  19686. responses:
  19687. "200":
  19688. description: OK
  19689. schema:
  19690. items:
  19691. $ref: '#/definitions/models.RoleMenu'
  19692. type: array
  19693. "500":
  19694. description: Internal Server Error
  19695. schema:
  19696. $ref: '#/definitions/app.Response'
  19697. security:
  19698. - ApiKeyAuth: []
  19699. summary: 查询角色菜单和权限
  19700. tags:
  19701. - 企业风险管理(app)
  19702. /Ermcp/QueryTradeConfigTMP:
  19703. get:
  19704. parameters:
  19705. - description: 所属机构id
  19706. in: query
  19707. name: areauserid
  19708. type: integer
  19709. produces:
  19710. - application/json
  19711. responses:
  19712. "200":
  19713. description: OK
  19714. schema:
  19715. items:
  19716. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19717. type: array
  19718. "500":
  19719. description: Internal Server Error
  19720. schema:
  19721. $ref: '#/definitions/app.Response'
  19722. security:
  19723. - ApiKeyAuth: []
  19724. summary: 查询交易模板配置
  19725. tags:
  19726. - 企业风险管理(app)
  19727. /Ermcp/QueryUserInfo:
  19728. get:
  19729. parameters:
  19730. - description: 所属机构用户ID
  19731. in: query
  19732. name: MemberUserID
  19733. required: true
  19734. type: integer
  19735. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19736. in: query
  19737. name: queryType
  19738. required: true
  19739. type: integer
  19740. produces:
  19741. - application/json
  19742. responses:
  19743. "200":
  19744. description: OK
  19745. schema:
  19746. items:
  19747. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19748. type: array
  19749. "500":
  19750. description: Internal Server Error
  19751. schema:
  19752. $ref: '#/definitions/app.Response'
  19753. security:
  19754. - ApiKeyAuth: []
  19755. summary: 查询客户资料
  19756. tags:
  19757. - 企业风险管理(app)
  19758. /Ermcp/QueryWarehouseInfo:
  19759. get:
  19760. parameters:
  19761. - description: 用户ID
  19762. in: query
  19763. name: userid
  19764. required: true
  19765. type: integer
  19766. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19767. in: query
  19768. name: status
  19769. type: string
  19770. produces:
  19771. - application/json
  19772. responses:
  19773. "200":
  19774. description: OK
  19775. schema:
  19776. items:
  19777. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19778. type: array
  19779. "500":
  19780. description: Internal Server Error
  19781. schema:
  19782. $ref: '#/definitions/app.Response'
  19783. security:
  19784. - ApiKeyAuth: []
  19785. summary: 查询仓库信息
  19786. tags:
  19787. - 企业风险管理(app)
  19788. /Ermcp3/QryAreaExpourseContractDetail:
  19789. get:
  19790. parameters:
  19791. - description: 用户ID
  19792. in: query
  19793. name: userid
  19794. required: true
  19795. type: integer
  19796. - description: 套保商品id
  19797. in: query
  19798. name: middlegoodsid
  19799. required: true
  19800. type: integer
  19801. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19802. in: query
  19803. name: cycletype
  19804. required: true
  19805. type: integer
  19806. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19807. 全(0)【原值】
  19808. in: query
  19809. name: cycletime
  19810. required: true
  19811. type: string
  19812. produces:
  19813. - application/json
  19814. responses:
  19815. "200":
  19816. description: OK
  19817. schema:
  19818. items:
  19819. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19820. type: array
  19821. "500":
  19822. description: Internal Server Error
  19823. schema:
  19824. $ref: '#/definitions/app.Response'
  19825. security:
  19826. - ApiKeyAuth: []
  19827. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19828. tags:
  19829. - 企业风险管理v3(app)
  19830. /Ermcp3/QryAreaExpourseFutuDetail:
  19831. get:
  19832. parameters:
  19833. - description: 用户ID
  19834. in: query
  19835. name: userid
  19836. required: true
  19837. type: integer
  19838. - description: 套保商品id
  19839. in: query
  19840. name: middlegoodsid
  19841. required: true
  19842. type: integer
  19843. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19844. in: query
  19845. name: cycletype
  19846. required: true
  19847. type: integer
  19848. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19849. 全(0)【原值】
  19850. in: query
  19851. name: cycletime
  19852. required: true
  19853. type: string
  19854. produces:
  19855. - application/json
  19856. responses:
  19857. "200":
  19858. description: OK
  19859. schema:
  19860. items:
  19861. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19862. type: array
  19863. "500":
  19864. description: Internal Server Error
  19865. schema:
  19866. $ref: '#/definitions/app.Response'
  19867. security:
  19868. - ApiKeyAuth: []
  19869. summary: 查询敞口期货明细(敞口报表/期货明细)
  19870. tags:
  19871. - 企业风险管理v3(app)
  19872. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19873. get:
  19874. parameters:
  19875. - description: 用户ID
  19876. in: query
  19877. name: userid
  19878. required: true
  19879. type: integer
  19880. - description: 套保商品id
  19881. in: query
  19882. name: middlegoodsid
  19883. required: true
  19884. type: integer
  19885. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19886. in: query
  19887. name: cycletype
  19888. required: true
  19889. type: integer
  19890. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19891. 全(0)【原值】
  19892. in: query
  19893. name: cycletime
  19894. required: true
  19895. type: string
  19896. produces:
  19897. - application/json
  19898. responses:
  19899. "200":
  19900. description: OK
  19901. schema:
  19902. items:
  19903. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19904. type: array
  19905. "500":
  19906. description: Internal Server Error
  19907. schema:
  19908. $ref: '#/definitions/app.Response'
  19909. security:
  19910. - ApiKeyAuth: []
  19911. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19912. tags:
  19913. - 企业风险管理v3(app)
  19914. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19915. get:
  19916. parameters:
  19917. - description: 用户ID
  19918. in: query
  19919. name: userid
  19920. required: true
  19921. type: integer
  19922. - description: 套保商品id
  19923. in: query
  19924. name: middlegoodsid
  19925. required: true
  19926. type: integer
  19927. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19928. in: query
  19929. name: cycletype
  19930. required: true
  19931. type: integer
  19932. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19933. 全(0)【原值】
  19934. in: query
  19935. name: cycletime
  19936. required: true
  19937. type: string
  19938. produces:
  19939. - application/json
  19940. responses:
  19941. "200":
  19942. description: OK
  19943. schema:
  19944. items:
  19945. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19946. type: array
  19947. "500":
  19948. description: Internal Server Error
  19949. schema:
  19950. $ref: '#/definitions/app.Response'
  19951. security:
  19952. - ApiKeyAuth: []
  19953. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19954. tags:
  19955. - 企业风险管理v3(app)
  19956. /Ermcp3/QryAreaExpourseReport:
  19957. get:
  19958. parameters:
  19959. - description: 用户ID
  19960. in: query
  19961. name: userid
  19962. required: true
  19963. type: integer
  19964. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19965. in: query
  19966. name: querytype
  19967. required: true
  19968. type: integer
  19969. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19970. in: query
  19971. name: cycletype
  19972. required: true
  19973. type: integer
  19974. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19975. 全(0)【原值】
  19976. in: query
  19977. name: cycletime
  19978. required: true
  19979. type: string
  19980. produces:
  19981. - application/json
  19982. responses:
  19983. "200":
  19984. description: OK
  19985. schema:
  19986. items:
  19987. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19988. type: array
  19989. "500":
  19990. description: Internal Server Error
  19991. schema:
  19992. $ref: '#/definitions/app.Response'
  19993. security:
  19994. - ApiKeyAuth: []
  19995. summary: 查询敞口报表
  19996. tags:
  19997. - 企业风险管理v3(app)
  19998. /Ermcp3/QryAreaSpotplReport:
  19999. get:
  20000. parameters:
  20001. - description: 用户ID
  20002. in: query
  20003. name: userid
  20004. required: true
  20005. type: integer
  20006. - description: 查询类型 1-报表 2-报表明细
  20007. in: query
  20008. name: querytype
  20009. required: true
  20010. type: integer
  20011. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20012. in: query
  20013. name: cycletype
  20014. required: true
  20015. type: integer
  20016. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20017. 全(0)【原值】
  20018. in: query
  20019. name: cycletime
  20020. required: true
  20021. type: string
  20022. - description: 现货品种id(明细必填)
  20023. in: query
  20024. name: deliverygoodsid
  20025. type: integer
  20026. - description: 币种id(明细必填)
  20027. in: query
  20028. name: currencyid
  20029. type: integer
  20030. produces:
  20031. - application/json
  20032. responses:
  20033. "200":
  20034. description: OK
  20035. schema:
  20036. items:
  20037. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20038. type: array
  20039. "500":
  20040. description: Internal Server Error
  20041. schema:
  20042. $ref: '#/definitions/app.Response'
  20043. security:
  20044. - ApiKeyAuth: []
  20045. summary: 查询现货报表
  20046. tags:
  20047. - 企业风险管理v3(app)
  20048. /Ermcp3/QryAreaStockReport:
  20049. get:
  20050. parameters:
  20051. - description: 用户ID
  20052. in: query
  20053. name: userid
  20054. required: true
  20055. type: integer
  20056. - description: 查询类型 1-报表 2-报表明细
  20057. in: query
  20058. name: querytype
  20059. required: true
  20060. type: integer
  20061. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20062. in: query
  20063. name: cycletype
  20064. required: true
  20065. type: integer
  20066. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20067. 全(0)【原值】
  20068. in: query
  20069. name: cycletime
  20070. required: true
  20071. type: string
  20072. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20073. in: query
  20074. name: sumfields
  20075. type: string
  20076. - description: 品种ID
  20077. in: query
  20078. name: deliverygoodsid
  20079. type: integer
  20080. - description: 品类ID
  20081. in: query
  20082. name: wrstandardid
  20083. type: integer
  20084. - description: 品牌ID
  20085. in: query
  20086. name: spotgoodsbrandid
  20087. type: integer
  20088. - description: 仓库ID
  20089. in: query
  20090. name: warehouseinfoid
  20091. type: integer
  20092. produces:
  20093. - application/json
  20094. responses:
  20095. "200":
  20096. description: OK
  20097. schema:
  20098. items:
  20099. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20100. type: array
  20101. "500":
  20102. description: Internal Server Error
  20103. schema:
  20104. $ref: '#/definitions/app.Response'
  20105. security:
  20106. - ApiKeyAuth: []
  20107. summary: 查询库存报表
  20108. tags:
  20109. - 企业风险管理v3(app)
  20110. /Ermcp3/QryAreaSumPL:
  20111. get:
  20112. parameters:
  20113. - description: 用户ID
  20114. in: query
  20115. name: userid
  20116. required: true
  20117. type: integer
  20118. - description: 查询类型 1-报表 2-报表明细
  20119. in: query
  20120. name: querytype
  20121. required: true
  20122. type: integer
  20123. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20124. in: query
  20125. name: cycletype
  20126. required: true
  20127. type: integer
  20128. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20129. 全(0)【原值】
  20130. in: query
  20131. name: cycletime
  20132. required: true
  20133. type: string
  20134. - description: 币种id(明细必填)
  20135. in: query
  20136. name: currencyid
  20137. type: integer
  20138. produces:
  20139. - application/json
  20140. responses:
  20141. "200":
  20142. description: OK
  20143. schema:
  20144. items:
  20145. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  20146. type: array
  20147. "500":
  20148. description: Internal Server Error
  20149. schema:
  20150. $ref: '#/definitions/app.Response'
  20151. security:
  20152. - ApiKeyAuth: []
  20153. summary: 查询汇总损益表
  20154. tags:
  20155. - 企业风险管理v3(app)
  20156. /Ermcp3/QryFinanceReport:
  20157. get:
  20158. parameters:
  20159. - description: 用户ID
  20160. in: query
  20161. name: userid
  20162. required: true
  20163. type: integer
  20164. - description: 查询类型 1-报表 2-报表明细
  20165. in: query
  20166. name: querytype
  20167. required: true
  20168. type: integer
  20169. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20170. in: query
  20171. name: cycletype
  20172. required: true
  20173. type: integer
  20174. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20175. 全(0)【原值】
  20176. in: query
  20177. name: cycletime
  20178. required: true
  20179. type: string
  20180. - description: 币种id(报表明细必填)
  20181. in: query
  20182. name: currencyid
  20183. type: integer
  20184. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  20185. in: query
  20186. name: sumfields
  20187. type: string
  20188. produces:
  20189. - application/json
  20190. responses:
  20191. "200":
  20192. description: OK
  20193. schema:
  20194. items:
  20195. $ref: '#/definitions/models.Ermcp3FinanceReport'
  20196. type: array
  20197. "500":
  20198. description: Internal Server Error
  20199. schema:
  20200. $ref: '#/definitions/app.Response'
  20201. security:
  20202. - ApiKeyAuth: []
  20203. summary: 查询财务报表
  20204. tags:
  20205. - 企业风险管理v3(app)
  20206. /Ermcp3/QryTaFutureDataReport:
  20207. get:
  20208. parameters:
  20209. - description: 用户ID
  20210. in: query
  20211. name: userid
  20212. required: true
  20213. type: integer
  20214. - description: 查询类型 1-报表 2-报表明细
  20215. in: query
  20216. name: querytype
  20217. required: true
  20218. type: integer
  20219. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20220. in: query
  20221. name: cycletype
  20222. required: true
  20223. type: integer
  20224. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20225. 全(0)【原值】
  20226. in: query
  20227. name: cycletime
  20228. required: true
  20229. type: string
  20230. - description: 币种id(查明细必填)
  20231. in: query
  20232. name: currencyid
  20233. type: integer
  20234. - description: 品种id(查明细必填)
  20235. in: query
  20236. name: goodsgroupid
  20237. type: integer
  20238. - description: 商品id(查明细必填)
  20239. in: query
  20240. name: goodsid
  20241. type: integer
  20242. - description: 买卖方向(查明细必填)
  20243. in: query
  20244. name: buyorsell
  20245. type: integer
  20246. produces:
  20247. - application/json
  20248. responses:
  20249. "200":
  20250. description: OK
  20251. schema:
  20252. items:
  20253. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  20254. type: array
  20255. "500":
  20256. description: Internal Server Error
  20257. schema:
  20258. $ref: '#/definitions/app.Response'
  20259. security:
  20260. - ApiKeyAuth: []
  20261. summary: 查询期货报表
  20262. tags:
  20263. - 企业风险管理v3(app)
  20264. /Ermcp3/QueryAreaStock:
  20265. get:
  20266. parameters:
  20267. - description: 用户ID
  20268. in: query
  20269. name: userid
  20270. required: true
  20271. type: integer
  20272. produces:
  20273. - application/json
  20274. responses:
  20275. "200":
  20276. description: OK
  20277. schema:
  20278. items:
  20279. $ref: '#/definitions/models.Ermcp3AreaStock'
  20280. type: array
  20281. "500":
  20282. description: Internal Server Error
  20283. schema:
  20284. $ref: '#/definitions/app.Response'
  20285. security:
  20286. - ApiKeyAuth: []
  20287. summary: 查询机构库存(库存管理/当前库存)
  20288. tags:
  20289. - 企业风险管理v3(app)
  20290. /Ermcp3/QueryAreaStockApply:
  20291. get:
  20292. parameters:
  20293. - description: 用户ID
  20294. in: query
  20295. name: userid
  20296. required: true
  20297. type: integer
  20298. - description: 用户类型 2-机构 7-企业成员
  20299. in: query
  20300. name: usertype
  20301. type: integer
  20302. - description: 现货商品ID
  20303. in: query
  20304. name: deliverygoodsid
  20305. type: integer
  20306. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  20307. in: query
  20308. name: inouttype
  20309. type: string
  20310. - description: 合同ID
  20311. in: query
  20312. name: spotcontractid
  20313. type: integer
  20314. - description: 品类ID
  20315. in: query
  20316. name: wrstandardid
  20317. type: integer
  20318. - description: 品牌ID
  20319. in: query
  20320. name: spotgoodsbrandid
  20321. type: integer
  20322. - description: 仓库ID
  20323. in: query
  20324. name: warehouseinfoid
  20325. type: integer
  20326. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20327. in: query
  20328. name: applystatus
  20329. type: string
  20330. produces:
  20331. - application/json
  20332. responses:
  20333. "200":
  20334. description: OK
  20335. schema:
  20336. items:
  20337. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  20338. type: array
  20339. "500":
  20340. description: Internal Server Error
  20341. schema:
  20342. $ref: '#/definitions/app.Response'
  20343. security:
  20344. - ApiKeyAuth: []
  20345. summary: 查询库存申请(出入库记录|库存审核)
  20346. tags:
  20347. - 企业风险管理v3(app)
  20348. /Ermcp3/QueryAreaStockApplySum:
  20349. get:
  20350. parameters:
  20351. - description: 合同ID
  20352. in: query
  20353. name: spotcontractid
  20354. required: true
  20355. type: integer
  20356. produces:
  20357. - application/json
  20358. responses:
  20359. "200":
  20360. description: OK
  20361. schema:
  20362. items:
  20363. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20364. type: array
  20365. "500":
  20366. description: Internal Server Error
  20367. schema:
  20368. $ref: '#/definitions/app.Response'
  20369. security:
  20370. - ApiKeyAuth: []
  20371. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20372. tags:
  20373. - 企业风险管理v3(app)
  20374. /Ermcp3/QueryDGFactoryItem:
  20375. get:
  20376. parameters:
  20377. - description: 用户id
  20378. in: query
  20379. name: userid
  20380. type: integer
  20381. - description: 用户类型 2-机构 7-企业成员
  20382. in: query
  20383. name: usertype
  20384. type: integer
  20385. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20386. in: query
  20387. name: dgfactoryitemid
  20388. type: integer
  20389. - description: 现货品种ID
  20390. in: query
  20391. name: deliverygoodsid
  20392. type: integer
  20393. - description: 要素项类型
  20394. in: query
  20395. name: dgfactoryitemtypeid
  20396. type: integer
  20397. - description: 顺序
  20398. in: query
  20399. name: orderindex
  20400. type: integer
  20401. produces:
  20402. - application/json
  20403. responses:
  20404. "200":
  20405. description: OK
  20406. schema:
  20407. items:
  20408. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20409. type: array
  20410. "500":
  20411. description: Internal Server Error
  20412. schema:
  20413. $ref: '#/definitions/app.Response'
  20414. security:
  20415. - ApiKeyAuth: []
  20416. summary: 查询品种要素定义项
  20417. tags:
  20418. - 企业风险管理v3(app)
  20419. /Ermcp3/QueryDeliveryGoods:
  20420. get:
  20421. parameters:
  20422. - description: 用户id
  20423. in: query
  20424. name: userid
  20425. required: true
  20426. type: integer
  20427. - description: 用户类型 2-机构 7-企业成员
  20428. in: query
  20429. name: usertype
  20430. type: integer
  20431. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20432. in: query
  20433. name: excludecfg
  20434. type: integer
  20435. produces:
  20436. - application/json
  20437. responses:
  20438. "200":
  20439. description: OK
  20440. schema:
  20441. items:
  20442. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20443. type: array
  20444. "500":
  20445. description: Internal Server Error
  20446. schema:
  20447. $ref: '#/definitions/app.Response'
  20448. security:
  20449. - ApiKeyAuth: []
  20450. summary: 查询现货商品
  20451. tags:
  20452. - 企业风险管理v3(app)
  20453. /Ermcp3/QueryDeliveryGoodsDetail:
  20454. get:
  20455. parameters:
  20456. - description: 用户id
  20457. in: query
  20458. name: userid
  20459. required: true
  20460. type: integer
  20461. - description: 用户类型 2-机构 7-企业成员
  20462. in: query
  20463. name: usertype
  20464. type: integer
  20465. - description: 现货商品id
  20466. in: query
  20467. name: deliverygoodsid
  20468. type: integer
  20469. produces:
  20470. - application/json
  20471. responses:
  20472. "200":
  20473. description: OK
  20474. schema:
  20475. items:
  20476. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  20477. type: array
  20478. "500":
  20479. description: Internal Server Error
  20480. schema:
  20481. $ref: '#/definitions/app.Response'
  20482. security:
  20483. - ApiKeyAuth: []
  20484. summary: 查询现货商品详情
  20485. tags:
  20486. - 企业风险管理v3(app)
  20487. /Ermcp3/QueryExposureDetail:
  20488. get:
  20489. parameters:
  20490. - description: 用户id
  20491. in: query
  20492. name: userid
  20493. required: true
  20494. type: integer
  20495. - description: 用户类型 2-机构 7-企业成员
  20496. in: query
  20497. name: usertype
  20498. type: integer
  20499. - description: 套保商品
  20500. in: query
  20501. name: middlegoodsid
  20502. required: true
  20503. type: integer
  20504. produces:
  20505. - application/json
  20506. responses:
  20507. "200":
  20508. description: OK
  20509. schema:
  20510. items:
  20511. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20512. type: array
  20513. "500":
  20514. description: Internal Server Error
  20515. schema:
  20516. $ref: '#/definitions/app.Response'
  20517. security:
  20518. - ApiKeyAuth: []
  20519. summary: 查询敞口现货明细
  20520. tags:
  20521. - 企业风险管理v3(app)
  20522. /Ermcp3/QueryExposureSpot:
  20523. get:
  20524. parameters:
  20525. - description: 用户id
  20526. in: query
  20527. name: userid
  20528. required: true
  20529. type: integer
  20530. - description: 用户类型 2-机构 7-企业成员
  20531. in: query
  20532. name: usertype
  20533. type: integer
  20534. produces:
  20535. - application/json
  20536. responses:
  20537. "200":
  20538. description: OK
  20539. schema:
  20540. items:
  20541. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20542. type: array
  20543. "500":
  20544. description: Internal Server Error
  20545. schema:
  20546. $ref: '#/definitions/app.Response'
  20547. security:
  20548. - ApiKeyAuth: []
  20549. summary: 查询敞口现货头寸(敞口/现货头寸)
  20550. tags:
  20551. - 企业风险管理v3(app)
  20552. /Ermcp3/QueryExposureSpotDetail:
  20553. get:
  20554. parameters:
  20555. - description: 用户id
  20556. in: query
  20557. name: userid
  20558. required: true
  20559. type: integer
  20560. - description: 用户类型 2-机构 7-企业成员
  20561. in: query
  20562. name: usertype
  20563. type: integer
  20564. - description: 现货品种ID
  20565. in: query
  20566. name: deliverygoodsid
  20567. required: true
  20568. type: integer
  20569. produces:
  20570. - application/json
  20571. responses:
  20572. "200":
  20573. description: OK
  20574. schema:
  20575. items:
  20576. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  20577. type: array
  20578. "500":
  20579. description: Internal Server Error
  20580. schema:
  20581. $ref: '#/definitions/app.Response'
  20582. security:
  20583. - ApiKeyAuth: []
  20584. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20585. tags:
  20586. - 企业风险管理v3(app)
  20587. /Ermcp3/QueryGoodsGroup:
  20588. get:
  20589. parameters:
  20590. - description: 用户id
  20591. in: query
  20592. name: userid
  20593. required: true
  20594. type: integer
  20595. - description: 用户类型 2-机构 7-企业成员
  20596. in: query
  20597. name: usertype
  20598. type: integer
  20599. - description: 排除套保品中已关联的商品组 1-排除
  20600. in: query
  20601. name: excludecfg
  20602. type: integer
  20603. produces:
  20604. - application/json
  20605. responses:
  20606. "200":
  20607. description: OK
  20608. schema:
  20609. items:
  20610. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20611. type: array
  20612. "500":
  20613. description: Internal Server Error
  20614. schema:
  20615. $ref: '#/definitions/app.Response'
  20616. security:
  20617. - ApiKeyAuth: []
  20618. summary: 查询期货商品组
  20619. tags:
  20620. - 企业风险管理v3(app)
  20621. /Ermcp3/QueryGoodsWrstandard:
  20622. get:
  20623. parameters:
  20624. - description: 用户id
  20625. in: query
  20626. name: userid
  20627. required: true
  20628. type: integer
  20629. - description: 用户类型 2-机构 7-企业成员
  20630. in: query
  20631. name: usertype
  20632. type: integer
  20633. - description: 现货商品id
  20634. in: query
  20635. name: deliverygoodsid
  20636. type: integer
  20637. produces:
  20638. - application/json
  20639. responses:
  20640. "200":
  20641. description: OK
  20642. schema:
  20643. items:
  20644. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20645. type: array
  20646. "500":
  20647. description: Internal Server Error
  20648. schema:
  20649. $ref: '#/definitions/app.Response'
  20650. security:
  20651. - ApiKeyAuth: []
  20652. summary: 查询商品品类
  20653. tags:
  20654. - 企业风险管理v3(app)
  20655. /Ermcp3/QueryGoodsbrand:
  20656. get:
  20657. parameters:
  20658. - description: 用户id
  20659. in: query
  20660. name: userid
  20661. required: true
  20662. type: integer
  20663. - description: 用户类型 2-机构 7-企业成员
  20664. in: query
  20665. name: usertype
  20666. type: integer
  20667. produces:
  20668. - application/json
  20669. responses:
  20670. "200":
  20671. description: OK
  20672. schema:
  20673. items:
  20674. $ref: '#/definitions/models.Ermcp3Brand'
  20675. type: array
  20676. "500":
  20677. description: Internal Server Error
  20678. schema:
  20679. $ref: '#/definitions/app.Response'
  20680. security:
  20681. - ApiKeyAuth: []
  20682. summary: 查询商品品牌
  20683. tags:
  20684. - 企业风险管理v3(app)
  20685. /Ermcp3/QueryHedgePlan:
  20686. get:
  20687. parameters:
  20688. - description: 用户ID
  20689. in: query
  20690. name: userid
  20691. required: true
  20692. type: integer
  20693. - description: 用户类型 2-机构 7-企业成员
  20694. in: query
  20695. name: usertype
  20696. type: integer
  20697. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20698. in: query
  20699. name: hedgeplanstatus
  20700. required: true
  20701. type: string
  20702. produces:
  20703. - application/json
  20704. responses:
  20705. "200":
  20706. description: OK
  20707. schema:
  20708. items:
  20709. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20710. type: array
  20711. "500":
  20712. description: Internal Server Error
  20713. schema:
  20714. $ref: '#/definitions/app.Response'
  20715. security:
  20716. - ApiKeyAuth: []
  20717. summary: 查询套保计划
  20718. tags:
  20719. - 企业风险管理v3(app)
  20720. /Ermcp3/QueryMiddleGoodsDetail:
  20721. get:
  20722. parameters:
  20723. - description: 用户id
  20724. in: query
  20725. name: userid
  20726. required: true
  20727. type: integer
  20728. - description: 用户类型 2-机构 7-企业成员
  20729. in: query
  20730. name: usertype
  20731. type: integer
  20732. - description: 套保品种id
  20733. in: query
  20734. name: middlegoodsid
  20735. type: integer
  20736. produces:
  20737. - application/json
  20738. responses:
  20739. "200":
  20740. description: OK
  20741. schema:
  20742. items:
  20743. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  20744. type: array
  20745. "500":
  20746. description: Internal Server Error
  20747. schema:
  20748. $ref: '#/definitions/app.Response'
  20749. security:
  20750. - ApiKeyAuth: []
  20751. summary: 查询套保品种详情(套保品种/商品详情)
  20752. tags:
  20753. - 企业风险管理v3(app)
  20754. /Ermcp3/QueryPaAreaAuditCfg:
  20755. get:
  20756. parameters:
  20757. - description: 用户id
  20758. in: query
  20759. name: userid
  20760. required: true
  20761. type: integer
  20762. produces:
  20763. - application/json
  20764. responses:
  20765. "200":
  20766. description: OK
  20767. schema:
  20768. items:
  20769. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  20770. type: array
  20771. "500":
  20772. description: Internal Server Error
  20773. schema:
  20774. $ref: '#/definitions/app.Response'
  20775. security:
  20776. - ApiKeyAuth: []
  20777. summary: 查询审核设置
  20778. tags:
  20779. - 企业风险管理v3(app)
  20780. /Ermcp3/QueryPaAreaSubject:
  20781. get:
  20782. parameters:
  20783. - description: 用户id
  20784. in: query
  20785. name: userid
  20786. required: true
  20787. type: integer
  20788. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  20789. in: query
  20790. name: subjectid
  20791. type: integer
  20792. - description: 主体类型 - 1:交易主体 2:业务部门
  20793. in: query
  20794. name: subjecttype
  20795. type: integer
  20796. - description: '主体状态 - 1:正常 2: 停用'
  20797. in: query
  20798. name: subjectstatus
  20799. type: integer
  20800. produces:
  20801. - application/json
  20802. responses:
  20803. "200":
  20804. description: OK
  20805. schema:
  20806. items:
  20807. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  20808. type: array
  20809. "500":
  20810. description: Internal Server Error
  20811. schema:
  20812. $ref: '#/definitions/app.Response'
  20813. security:
  20814. - ApiKeyAuth: []
  20815. summary: 查询交易主体
  20816. tags:
  20817. - 企业风险管理v3(app)
  20818. /Ermcp3/QueryRootUserAccount:
  20819. get:
  20820. parameters:
  20821. - description: 用户ID
  20822. in: query
  20823. name: userid
  20824. required: true
  20825. type: integer
  20826. produces:
  20827. - application/json
  20828. responses:
  20829. "200":
  20830. description: OK
  20831. schema:
  20832. items:
  20833. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20834. type: array
  20835. "500":
  20836. description: Internal Server Error
  20837. schema:
  20838. $ref: '#/definitions/app.Response'
  20839. security:
  20840. - ApiKeyAuth: []
  20841. summary: 查询顶级用户信息
  20842. tags:
  20843. - 企业风险管理v3(app)
  20844. /Ermcp3/QuerySpotContract:
  20845. get:
  20846. parameters:
  20847. - description: 用户id
  20848. in: query
  20849. name: userid
  20850. required: true
  20851. type: integer
  20852. - description: 用户类型 2-机构 7-企业成员
  20853. in: query
  20854. name: usertype
  20855. type: integer
  20856. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20857. in: query
  20858. name: querytype
  20859. required: true
  20860. type: integer
  20861. - description: 合同ID(SpotContractId)
  20862. in: query
  20863. name: contractid
  20864. type: string
  20865. produces:
  20866. - application/json
  20867. responses:
  20868. "200":
  20869. description: OK
  20870. schema:
  20871. items:
  20872. $ref: '#/definitions/models.Ermcp3Contract'
  20873. type: array
  20874. "500":
  20875. description: Internal Server Error
  20876. schema:
  20877. $ref: '#/definitions/app.Response'
  20878. security:
  20879. - ApiKeyAuth: []
  20880. summary: 查询现货合同
  20881. tags:
  20882. - 企业风险管理v3(app)
  20883. /Ermcp3/QuerySpotContractBS:
  20884. get:
  20885. parameters:
  20886. - description: 用户id
  20887. in: query
  20888. name: userid
  20889. required: true
  20890. type: integer
  20891. - description: 用户类型 2-机构 7-企业成员
  20892. in: query
  20893. name: usertype
  20894. type: integer
  20895. - description: 合同类型 1-采购, -1-销售
  20896. in: query
  20897. name: contracttype
  20898. required: true
  20899. type: integer
  20900. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20901. in: query
  20902. name: querytype
  20903. required: true
  20904. type: integer
  20905. - description: 合同ID(SpotContractId)
  20906. in: query
  20907. name: contractid
  20908. type: string
  20909. produces:
  20910. - application/json
  20911. responses:
  20912. "200":
  20913. description: OK
  20914. schema:
  20915. items:
  20916. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20917. type: array
  20918. "500":
  20919. description: Internal Server Error
  20920. schema:
  20921. $ref: '#/definitions/app.Response'
  20922. security:
  20923. - ApiKeyAuth: []
  20924. summary: 查询合同(采购/销售)
  20925. tags:
  20926. - 企业风险管理v3(app)
  20927. /Ermcp3/QuerySpotGoodsPrice:
  20928. get:
  20929. parameters:
  20930. - description: 用户ID
  20931. in: query
  20932. name: userid
  20933. required: true
  20934. type: integer
  20935. produces:
  20936. - application/json
  20937. responses:
  20938. "200":
  20939. description: OK
  20940. schema:
  20941. items:
  20942. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20943. type: array
  20944. "500":
  20945. description: Internal Server Error
  20946. schema:
  20947. $ref: '#/definitions/app.Response'
  20948. security:
  20949. - ApiKeyAuth: []
  20950. summary: 查询现货市价(现货市价)
  20951. tags:
  20952. - 企业风险管理v3(app)
  20953. /Ermcp3/QuerySpotGoodsPriceLog:
  20954. get:
  20955. parameters:
  20956. - description: 用户ID
  20957. in: query
  20958. name: userid
  20959. required: true
  20960. type: integer
  20961. - description: 现货商品ID
  20962. in: query
  20963. name: deliverygoodsid
  20964. required: true
  20965. type: integer
  20966. - description: 品牌ID
  20967. in: query
  20968. name: brandid
  20969. type: integer
  20970. - description: 品类ID
  20971. in: query
  20972. name: wrstandardid
  20973. type: integer
  20974. produces:
  20975. - application/json
  20976. responses:
  20977. "200":
  20978. description: OK
  20979. schema:
  20980. items:
  20981. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20982. type: array
  20983. "500":
  20984. description: Internal Server Error
  20985. schema:
  20986. $ref: '#/definitions/app.Response'
  20987. security:
  20988. - ApiKeyAuth: []
  20989. summary: 查询现货市价详情(现货市价/详情)
  20990. tags:
  20991. - 企业风险管理v3(app)
  20992. /Erms2/QueryArbitrageStrategy:
  20993. get:
  20994. parameters:
  20995. - description: 账户ID
  20996. in: query
  20997. name: userid
  20998. required: true
  20999. type: integer
  21000. - description: 商品组ID(品种ID)
  21001. in: query
  21002. name: goodsgroupid
  21003. type: string
  21004. produces:
  21005. - application/json
  21006. responses:
  21007. "200":
  21008. description: OK
  21009. schema:
  21010. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  21011. "500":
  21012. description: Internal Server Error
  21013. schema:
  21014. $ref: '#/definitions/app.Response'
  21015. security:
  21016. - ApiKeyAuth: []
  21017. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  21018. tags:
  21019. - 风险管理
  21020. /Erms2/QueryInnerTradeDetail:
  21021. get:
  21022. parameters:
  21023. - description: 资金账户
  21024. in: query
  21025. name: accountid
  21026. required: true
  21027. type: integer
  21028. produces:
  21029. - application/json
  21030. responses:
  21031. "200":
  21032. description: OK
  21033. schema:
  21034. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  21035. "500":
  21036. description: Internal Server Error
  21037. schema:
  21038. $ref: '#/definitions/app.Response'
  21039. security:
  21040. - ApiKeyAuth: []
  21041. summary: 查询内部成交单信息
  21042. tags:
  21043. - 风险管理
  21044. /Erms2/QuerySpotContract:
  21045. get:
  21046. parameters:
  21047. - description: 策略申请ID
  21048. in: query
  21049. name: asapplyid
  21050. required: true
  21051. type: integer
  21052. - description: 现货合同ID
  21053. in: query
  21054. name: spotcontractid
  21055. type: integer
  21056. produces:
  21057. - application/json
  21058. responses:
  21059. "200":
  21060. description: OK
  21061. schema:
  21062. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  21063. "500":
  21064. description: Internal Server Error
  21065. schema:
  21066. $ref: '#/definitions/app.Response'
  21067. security:
  21068. - ApiKeyAuth: []
  21069. summary: 查询现货合同表信息(指定策略ID、未结束的)
  21070. tags:
  21071. - 风险管理
  21072. /Erms3/AddErms2ASApply:
  21073. post:
  21074. parameters:
  21075. - description: 申请参数
  21076. in: body
  21077. name: jsonBody
  21078. required: true
  21079. schema:
  21080. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  21081. produces:
  21082. - application/json
  21083. responses:
  21084. "200":
  21085. description: OK
  21086. schema:
  21087. $ref: '#/definitions/app.Response'
  21088. "500":
  21089. description: Internal Server Error
  21090. schema:
  21091. $ref: '#/definitions/app.Response'
  21092. security:
  21093. - ApiKeyAuth: []
  21094. summary: 新增期现套利业务申请
  21095. tags:
  21096. - 风险管理v3
  21097. /Erms3/AddErms2SpotTradeApply:
  21098. post:
  21099. parameters:
  21100. - description: 申请参数
  21101. in: body
  21102. name: jsonBody
  21103. required: true
  21104. schema:
  21105. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  21106. produces:
  21107. - application/json
  21108. responses:
  21109. "200":
  21110. description: OK
  21111. schema:
  21112. $ref: '#/definitions/app.Response'
  21113. "500":
  21114. description: Internal Server Error
  21115. schema:
  21116. $ref: '#/definitions/app.Response'
  21117. security:
  21118. - ApiKeyAuth: []
  21119. summary: 新增现货贸易业务申请
  21120. tags:
  21121. - 风险管理v3
  21122. /Erms3/AddSpotContractApply:
  21123. post:
  21124. parameters:
  21125. - description: 申请参数
  21126. in: body
  21127. name: jsonBody
  21128. required: true
  21129. schema:
  21130. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  21131. produces:
  21132. - application/json
  21133. responses:
  21134. "200":
  21135. description: OK
  21136. schema:
  21137. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  21138. "500":
  21139. description: Internal Server Error
  21140. schema:
  21141. $ref: '#/definitions/app.Response'
  21142. security:
  21143. - ApiKeyAuth: []
  21144. summary: 新增现货合同申请
  21145. tags:
  21146. - 风险管理v3
  21147. /Erms3/AddUserInfoApply:
  21148. post:
  21149. parameters:
  21150. - description: 用户信息
  21151. in: body
  21152. name: jsonBody
  21153. required: true
  21154. schema:
  21155. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  21156. produces:
  21157. - application/json
  21158. responses:
  21159. "200":
  21160. description: OK
  21161. schema:
  21162. $ref: '#/definitions/app.Response'
  21163. "500":
  21164. description: Internal Server Error
  21165. schema:
  21166. $ref: '#/definitions/app.Response'
  21167. security:
  21168. - ApiKeyAuth: []
  21169. summary: 新增客户申请
  21170. tags:
  21171. - 风险管理v3
  21172. /Erms3/DeleteUserInfoApply:
  21173. get:
  21174. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  21175. parameters:
  21176. - description: 用户ID
  21177. in: query
  21178. name: userID
  21179. required: true
  21180. type: integer
  21181. produces:
  21182. - application/json
  21183. responses:
  21184. "200":
  21185. description: OK
  21186. schema:
  21187. $ref: '#/definitions/app.Response'
  21188. "500":
  21189. description: Internal Server Error
  21190. schema:
  21191. $ref: '#/definitions/app.Response'
  21192. security:
  21193. - ApiKeyAuth: []
  21194. summary: 删除客户申请
  21195. tags:
  21196. - 风险管理v3
  21197. /Erms3/ModifyUserInfoApply:
  21198. post:
  21199. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  21200. int, "userstate": 2 }'
  21201. parameters:
  21202. - description: 用户信息
  21203. in: body
  21204. name: jsonBody
  21205. required: true
  21206. schema:
  21207. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  21208. produces:
  21209. - application/json
  21210. responses:
  21211. "200":
  21212. description: OK
  21213. schema:
  21214. $ref: '#/definitions/app.Response'
  21215. "500":
  21216. description: Internal Server Error
  21217. schema:
  21218. $ref: '#/definitions/app.Response'
  21219. security:
  21220. - ApiKeyAuth: []
  21221. summary: 修改客户申请
  21222. tags:
  21223. - 风险管理v3
  21224. /Erms3/QueryBusinessInfo:
  21225. get:
  21226. parameters:
  21227. - description: 资金账号ID列表,用逗号分隔
  21228. in: query
  21229. name: accountids
  21230. required: true
  21231. type: string
  21232. - description: 状态,0为未结束 1为已结束
  21233. in: query
  21234. name: status
  21235. required: true
  21236. type: integer
  21237. produces:
  21238. - application/json
  21239. responses:
  21240. "200":
  21241. description: OK
  21242. schema:
  21243. items:
  21244. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  21245. type: array
  21246. "500":
  21247. description: Internal Server Error
  21248. schema:
  21249. $ref: '#/definitions/app.Response'
  21250. security:
  21251. - ApiKeyAuth: []
  21252. summary: 查询业务表单数据
  21253. tags:
  21254. - 风险管理v3
  21255. /Erms3/QueryPendingAuditContract:
  21256. get:
  21257. parameters:
  21258. - description: 资金账号ID列表,逗号隔开
  21259. in: query
  21260. name: accountids
  21261. required: true
  21262. type: string
  21263. - description: 合同类型 1-采购 -1-销售
  21264. in: query
  21265. name: contracttype
  21266. required: true
  21267. type: integer
  21268. - description: 合同模式 1-普通 2-回购
  21269. in: query
  21270. name: contractmode
  21271. required: true
  21272. type: integer
  21273. produces:
  21274. - application/json
  21275. responses:
  21276. "200":
  21277. description: OK
  21278. schema:
  21279. items:
  21280. $ref: '#/definitions/erms3.QryAuditContractRsp'
  21281. type: array
  21282. "500":
  21283. description: Internal Server Error
  21284. schema:
  21285. $ref: '#/definitions/app.Response'
  21286. security:
  21287. - ApiKeyAuth: []
  21288. summary: 查询待审核合同
  21289. tags:
  21290. - 风险管理v3
  21291. /Erms3/QueryPendingBusiness:
  21292. get:
  21293. parameters:
  21294. - description: 资金账号ID列表,逗号隔开
  21295. in: query
  21296. name: accountids
  21297. required: true
  21298. type: string
  21299. produces:
  21300. - application/json
  21301. responses:
  21302. "200":
  21303. description: OK
  21304. schema:
  21305. items:
  21306. $ref: '#/definitions/erms3.QryPendingBizRsp'
  21307. type: array
  21308. "500":
  21309. description: Internal Server Error
  21310. schema:
  21311. $ref: '#/definitions/app.Response'
  21312. security:
  21313. - ApiKeyAuth: []
  21314. summary: 查询待审核基差贸易业务
  21315. tags:
  21316. - 风险管理v3
  21317. /Erms3/QuerySpotContractAppleForm:
  21318. get:
  21319. parameters:
  21320. - description: 登录账号
  21321. in: query
  21322. name: loginID
  21323. required: true
  21324. type: integer
  21325. produces:
  21326. - application/json
  21327. responses:
  21328. "200":
  21329. description: OK
  21330. schema:
  21331. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  21332. "500":
  21333. description: Internal Server Error
  21334. schema:
  21335. $ref: '#/definitions/app.Response'
  21336. security:
  21337. - ApiKeyAuth: []
  21338. summary: 查询合同申请表单数据
  21339. tags:
  21340. - 风险管理v3
  21341. /Erms3/QuerySpotContractDetail:
  21342. get:
  21343. parameters:
  21344. - description: 资金账号ID列表,用逗号分隔
  21345. in: query
  21346. name: accountids
  21347. required: true
  21348. type: string
  21349. - description: 合同类型,1为采购合同 -1为销售合同
  21350. in: query
  21351. name: contracttype
  21352. required: true
  21353. type: integer
  21354. - description: 合同模式,1为普通合同 2为回购销售合同
  21355. in: query
  21356. name: contractmode
  21357. required: true
  21358. type: integer
  21359. - description: 状态,0为履约中 1为已完成
  21360. in: query
  21361. name: status
  21362. required: true
  21363. type: integer
  21364. produces:
  21365. - application/json
  21366. responses:
  21367. "200":
  21368. description: OK
  21369. schema:
  21370. items:
  21371. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  21372. type: array
  21373. "500":
  21374. description: Internal Server Error
  21375. schema:
  21376. $ref: '#/definitions/app.Response'
  21377. security:
  21378. - ApiKeyAuth: []
  21379. summary: 查询合同详细信息
  21380. tags:
  21381. - 风险管理v3
  21382. /Erms3/QueryUserInfoApplies:
  21383. get:
  21384. parameters:
  21385. - description: 页码
  21386. in: query
  21387. name: page
  21388. type: integer
  21389. - description: 每页条数
  21390. in: query
  21391. name: pagesize
  21392. type: integer
  21393. - description: 客户名称,支持模糊查询
  21394. in: query
  21395. name: userName
  21396. type: string
  21397. produces:
  21398. - application/json
  21399. responses:
  21400. "200":
  21401. description: OK
  21402. schema:
  21403. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  21404. "500":
  21405. description: Internal Server Error
  21406. schema:
  21407. $ref: '#/definitions/app.Response'
  21408. security:
  21409. - ApiKeyAuth: []
  21410. summary: 客户申请信息查询
  21411. tags:
  21412. - 风险管理v3
  21413. /Erms3/QueryUserInfos:
  21414. get:
  21415. parameters:
  21416. - description: 页码
  21417. in: query
  21418. name: page
  21419. type: integer
  21420. - description: 每页条数
  21421. in: query
  21422. name: pagesize
  21423. type: integer
  21424. - description: 客户名称,支持模糊查询
  21425. in: query
  21426. name: userName
  21427. type: string
  21428. produces:
  21429. - application/json
  21430. responses:
  21431. "200":
  21432. description: OK
  21433. schema:
  21434. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21435. "500":
  21436. description: Internal Server Error
  21437. schema:
  21438. $ref: '#/definitions/app.Response'
  21439. security:
  21440. - ApiKeyAuth: []
  21441. summary: 客户信息查询
  21442. tags:
  21443. - 风险管理v3
  21444. /HSBY/GetHsbyMyCount:
  21445. get:
  21446. description: 说明: 不包括已完成的数量。
  21447. parameters:
  21448. - description: 资金账户列表,格式:1,2,3
  21449. in: query
  21450. name: accountIDs
  21451. required: true
  21452. type: string
  21453. produces:
  21454. - application/json
  21455. responses:
  21456. "200":
  21457. description: OK
  21458. schema:
  21459. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21460. "500":
  21461. description: Internal Server Error
  21462. schema:
  21463. $ref: '#/definitions/app.Response'
  21464. security:
  21465. - ApiKeyAuth: []
  21466. summary: 获取我的订单与包裹数量
  21467. tags:
  21468. - 定制【海商报业】
  21469. /HSBY/QueryClientFixedADConfigs:
  21470. get:
  21471. produces:
  21472. - application/json
  21473. responses:
  21474. "200":
  21475. description: OK
  21476. schema:
  21477. $ref: '#/definitions/models.Clientfixedadconfig'
  21478. "500":
  21479. description: Internal Server Error
  21480. schema:
  21481. $ref: '#/definitions/app.Response'
  21482. security:
  21483. - ApiKeyAuth: []
  21484. summary: 获取终端固定广告配置
  21485. tags:
  21486. - 定制【海商报业】
  21487. /HSBY/QueryHsbyBuyMyTradeDetail:
  21488. get:
  21489. parameters:
  21490. - description: 页码
  21491. in: query
  21492. name: page
  21493. type: integer
  21494. - description: 每页条数
  21495. in: query
  21496. name: pagesize
  21497. type: integer
  21498. - description: 资金账户列表,格式:1,2,3
  21499. in: query
  21500. name: accountIDs
  21501. required: true
  21502. type: string
  21503. produces:
  21504. - application/json
  21505. responses:
  21506. "200":
  21507. description: OK
  21508. schema:
  21509. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21510. "500":
  21511. description: Internal Server Error
  21512. schema:
  21513. $ref: '#/definitions/app.Response'
  21514. security:
  21515. - ApiKeyAuth: []
  21516. summary: 查询"我的订单 - 已完成"单据信息
  21517. tags:
  21518. - 定制【海商报业】
  21519. /HSBY/QueryHsbyGoodsOrderDetails:
  21520. get:
  21521. description: 说明:查询结果已按委托价格和委托时间排序
  21522. parameters:
  21523. - description: 商品ID
  21524. in: query
  21525. name: goodsID
  21526. required: true
  21527. type: integer
  21528. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21529. in: query
  21530. name: accountIDs
  21531. type: string
  21532. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21533. in: query
  21534. name: buyOrSell
  21535. type: integer
  21536. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21537. in: query
  21538. name: price
  21539. type: number
  21540. - description: 档位,不传则默认为3档
  21541. in: query
  21542. name: speed
  21543. type: integer
  21544. produces:
  21545. - application/json
  21546. responses:
  21547. "200":
  21548. description: OK
  21549. schema:
  21550. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21551. "500":
  21552. description: Internal Server Error
  21553. schema:
  21554. $ref: '#/definitions/app.Response'
  21555. security:
  21556. - ApiKeyAuth: []
  21557. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21558. tags:
  21559. - 定制【海商报业】
  21560. /HSBY/QueryHsbyListingGoodsDetail:
  21561. get:
  21562. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21563. parameters:
  21564. - description: 商品ID
  21565. in: query
  21566. name: goodsID
  21567. required: true
  21568. type: integer
  21569. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21570. in: query
  21571. name: accountID
  21572. type: integer
  21573. produces:
  21574. - application/json
  21575. responses:
  21576. "200":
  21577. description: OK
  21578. schema:
  21579. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21580. "500":
  21581. description: Internal Server Error
  21582. schema:
  21583. $ref: '#/definitions/app.Response'
  21584. security:
  21585. - ApiKeyAuth: []
  21586. summary: 查询二级市场(挂牌点选)商品信息详情
  21587. tags:
  21588. - 定制【海商报业】
  21589. /HSBY/QueryHsbyMarketGoodsDetail:
  21590. get:
  21591. parameters:
  21592. - description: 委托单号
  21593. in: query
  21594. name: orderID
  21595. required: true
  21596. type: integer
  21597. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21598. in: query
  21599. name: accountID
  21600. type: integer
  21601. produces:
  21602. - application/json
  21603. responses:
  21604. "200":
  21605. description: OK
  21606. schema:
  21607. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21608. "500":
  21609. description: Internal Server Error
  21610. schema:
  21611. $ref: '#/definitions/app.Response'
  21612. security:
  21613. - ApiKeyAuth: []
  21614. summary: 查询三级市场(商城)商品信息详情
  21615. tags:
  21616. - 定制【海商报业】
  21617. /HSBY/QueryHsbyMarketGoodses:
  21618. get:
  21619. parameters:
  21620. - description: 页码
  21621. in: query
  21622. name: page
  21623. type: integer
  21624. - description: 每页条数
  21625. in: query
  21626. name: pagesize
  21627. type: integer
  21628. - description: 市场ID列表,格式:1,2,3
  21629. in: query
  21630. name: marketIDs
  21631. required: true
  21632. type: string
  21633. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21634. in: query
  21635. name: accountID
  21636. required: true
  21637. type: integer
  21638. - description: 类别ID
  21639. in: query
  21640. name: categoryID
  21641. type: integer
  21642. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21643. in: query
  21644. name: goodsIDs
  21645. type: string
  21646. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21647. in: query
  21648. name: couponTypeID
  21649. type: integer
  21650. produces:
  21651. - application/json
  21652. responses:
  21653. "200":
  21654. description: OK
  21655. schema:
  21656. $ref: '#/definitions/models.HsbyMarketGoods'
  21657. "500":
  21658. description: Internal Server Error
  21659. schema:
  21660. $ref: '#/definitions/app.Response'
  21661. security:
  21662. - ApiKeyAuth: []
  21663. summary: 查询特卖商品列表(三级商城)
  21664. tags:
  21665. - 定制【海商报业】
  21666. /HSBY/QueryHsbyMarkets:
  21667. get:
  21668. produces:
  21669. - application/json
  21670. responses:
  21671. "200":
  21672. description: OK
  21673. schema:
  21674. $ref: '#/definitions/models.HsbyMarketInfo'
  21675. "500":
  21676. description: Internal Server Error
  21677. schema:
  21678. $ref: '#/definitions/app.Response'
  21679. security:
  21680. - ApiKeyAuth: []
  21681. summary: 查询海商报业相关市场信息
  21682. tags:
  21683. - 定制【海商报业】
  21684. /HSBY/QueryHsbyMyBuyOrderDetails:
  21685. get:
  21686. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21687. parameters:
  21688. - description: 资金账户列表,格式:1,2,3
  21689. in: query
  21690. name: accountIDs
  21691. required: true
  21692. type: string
  21693. produces:
  21694. - application/json
  21695. responses:
  21696. "200":
  21697. description: OK
  21698. schema:
  21699. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21700. "500":
  21701. description: Internal Server Error
  21702. schema:
  21703. $ref: '#/definitions/app.Response'
  21704. security:
  21705. - ApiKeyAuth: []
  21706. summary: 查询“我的订单”信息
  21707. tags:
  21708. - 定制【海商报业】
  21709. /HSBY/QueryHsbyMyGoods:
  21710. get:
  21711. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21712. parameters:
  21713. - description: 资金账户列表,格式:1,2,3
  21714. in: query
  21715. name: accountIDs
  21716. required: true
  21717. type: string
  21718. produces:
  21719. - application/json
  21720. responses:
  21721. "200":
  21722. description: OK
  21723. schema:
  21724. $ref: '#/definitions/models.HsbyMyGoods'
  21725. "500":
  21726. description: Internal Server Error
  21727. schema:
  21728. $ref: '#/definitions/app.Response'
  21729. security:
  21730. - ApiKeyAuth: []
  21731. summary: 查询“我的商品”信息
  21732. tags:
  21733. - 定制【海商报业】
  21734. /HSBY/QueryHsbyMyPackages:
  21735. get:
  21736. parameters:
  21737. - description: 资金账户列表,格式:1,2,3
  21738. in: query
  21739. name: accountIDs
  21740. required: true
  21741. type: string
  21742. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21743. in: query
  21744. name: takeOrderStatus
  21745. type: integer
  21746. produces:
  21747. - application/json
  21748. responses:
  21749. "200":
  21750. description: OK
  21751. schema:
  21752. $ref: '#/definitions/models.HsbyMyPackage'
  21753. "500":
  21754. description: Internal Server Error
  21755. schema:
  21756. $ref: '#/definitions/app.Response'
  21757. security:
  21758. - ApiKeyAuth: []
  21759. summary: 查询我的包裹信息
  21760. tags:
  21761. - 定制【海商报业】
  21762. /HSBY/QueryHsbyPreGoodsDetail:
  21763. get:
  21764. parameters:
  21765. - description: 商品ID
  21766. in: query
  21767. name: goodsID
  21768. required: true
  21769. type: integer
  21770. - description: 资金账户,主要用于获取预售商品购买上限
  21771. in: query
  21772. name: accountID
  21773. type: integer
  21774. produces:
  21775. - application/json
  21776. responses:
  21777. "200":
  21778. description: OK
  21779. schema:
  21780. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21781. "500":
  21782. description: Internal Server Error
  21783. schema:
  21784. $ref: '#/definitions/app.Response'
  21785. security:
  21786. - ApiKeyAuth: []
  21787. summary: 查询一级市场(预售)商品信息详情
  21788. tags:
  21789. - 定制【海商报业】
  21790. /HSBY/QueryHsbyPreGoodses:
  21791. get:
  21792. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21793. parameters:
  21794. - description: 页码
  21795. in: query
  21796. name: page
  21797. type: integer
  21798. - description: 每页条数
  21799. in: query
  21800. name: pagesize
  21801. type: integer
  21802. - description: 市场ID列表,格式:1,2,3
  21803. in: query
  21804. name: marketIDs
  21805. required: true
  21806. type: string
  21807. - description: 目的地(省)ID
  21808. in: query
  21809. name: descProvinceID
  21810. type: integer
  21811. - description: 目的地(市)ID
  21812. in: query
  21813. name: descCityID
  21814. type: integer
  21815. produces:
  21816. - application/json
  21817. responses:
  21818. "200":
  21819. description: OK
  21820. schema:
  21821. $ref: '#/definitions/models.HsbyPreGoods'
  21822. "500":
  21823. description: Internal Server Error
  21824. schema:
  21825. $ref: '#/definitions/app.Response'
  21826. security:
  21827. - ApiKeyAuth: []
  21828. summary: 查询新品上市商品列表(一级市场预售)
  21829. tags:
  21830. - 定制【海商报业】
  21831. /HSBY/QueryHsbySellMyDetails:
  21832. get:
  21833. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21834. parameters:
  21835. - description: 页码
  21836. in: query
  21837. name: page
  21838. type: integer
  21839. - description: 每页条数
  21840. in: query
  21841. name: pagesize
  21842. type: integer
  21843. - description: 资金账户列表,格式:1,2,3
  21844. in: query
  21845. name: accountIDs
  21846. required: true
  21847. type: string
  21848. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21849. in: query
  21850. name: orderType
  21851. type: integer
  21852. produces:
  21853. - application/json
  21854. responses:
  21855. "200":
  21856. description: OK
  21857. schema:
  21858. $ref: '#/definitions/models.HsbySellMyDetail'
  21859. "500":
  21860. description: Internal Server Error
  21861. schema:
  21862. $ref: '#/definitions/app.Response'
  21863. security:
  21864. - ApiKeyAuth: []
  21865. summary: 查询"我的闲置"单据信息
  21866. tags:
  21867. - 定制【海商报业】
  21868. /HSBY/QueryHsbyTopGoodses:
  21869. get:
  21870. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21871. parameters:
  21872. - description: 页码
  21873. in: query
  21874. name: page
  21875. type: integer
  21876. - description: 每页条数
  21877. in: query
  21878. name: pagesize
  21879. type: integer
  21880. - description: 市场ID列表,格式:1,2,3
  21881. in: query
  21882. name: marketIDs
  21883. required: true
  21884. type: string
  21885. - description: 目的地(省)ID
  21886. in: query
  21887. name: descProvinceID
  21888. type: integer
  21889. - description: 目的地(市)ID
  21890. in: query
  21891. name: descCityID
  21892. type: integer
  21893. produces:
  21894. - application/json
  21895. responses:
  21896. "200":
  21897. description: OK
  21898. schema:
  21899. $ref: '#/definitions/models.HsbyTopGoods'
  21900. "500":
  21901. description: Internal Server Error
  21902. schema:
  21903. $ref: '#/definitions/app.Response'
  21904. security:
  21905. - ApiKeyAuth: []
  21906. summary: 查询热卖商品列表(二级市场挂牌点选)
  21907. tags:
  21908. - 定制【海商报业】
  21909. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21910. get:
  21911. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21912. parameters:
  21913. - description: 商品ID
  21914. in: query
  21915. name: goodsID
  21916. required: true
  21917. type: integer
  21918. produces:
  21919. - application/json
  21920. responses:
  21921. "200":
  21922. description: OK
  21923. schema:
  21924. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21925. "500":
  21926. description: Internal Server Error
  21927. schema:
  21928. $ref: '#/definitions/app.Response'
  21929. security:
  21930. - ApiKeyAuth: []
  21931. summary: 查询游客三级市场(商城)商品信息详情
  21932. tags:
  21933. - 定制【海商报业】
  21934. /HSBY/QueryHsbyVisitorMarketGoodses:
  21935. get:
  21936. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21937. parameters:
  21938. - description: 页码
  21939. in: query
  21940. name: page
  21941. type: integer
  21942. - description: 每页条数
  21943. in: query
  21944. name: pagesize
  21945. type: integer
  21946. - description: 市场ID列表,格式:1,2,3
  21947. in: query
  21948. name: marketIDs
  21949. required: true
  21950. type: string
  21951. - description: 类别ID
  21952. in: query
  21953. name: categoryID
  21954. type: integer
  21955. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21956. in: query
  21957. name: goodsIDs
  21958. type: string
  21959. produces:
  21960. - application/json
  21961. responses:
  21962. "200":
  21963. description: OK
  21964. schema:
  21965. $ref: '#/definitions/models.HsbyMarketGoods'
  21966. "500":
  21967. description: Internal Server Error
  21968. schema:
  21969. $ref: '#/definitions/app.Response'
  21970. security:
  21971. - ApiKeyAuth: []
  21972. summary: 查询游客特卖商品列表(三级商城)
  21973. tags:
  21974. - 定制【海商报业】
  21975. /HSBY/QueryMyCollectionOrders:
  21976. get:
  21977. parameters:
  21978. - description: 页码
  21979. in: query
  21980. name: page
  21981. type: integer
  21982. - description: 每页条数
  21983. in: query
  21984. name: pagesize
  21985. type: integer
  21986. - description: 资金账户,格式:1,2,3
  21987. in: query
  21988. name: accountIDs
  21989. required: true
  21990. type: string
  21991. produces:
  21992. - application/json
  21993. responses:
  21994. "200":
  21995. description: OK
  21996. schema:
  21997. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21998. "500":
  21999. description: Internal Server Error
  22000. schema:
  22001. $ref: '#/definitions/app.Response'
  22002. security:
  22003. - ApiKeyAuth: []
  22004. summary: 我的闲置中收款信息查询
  22005. tags:
  22006. - 定制【海商报业】
  22007. /HSBY/QueryMyCouponHolds:
  22008. get:
  22009. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  22010. parameters:
  22011. - description: 资金账户列表,格式:1,2,3
  22012. in: query
  22013. name: accountIDs
  22014. required: true
  22015. type: string
  22016. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  22017. in: query
  22018. name: holdStatus
  22019. type: string
  22020. produces:
  22021. - application/json
  22022. responses:
  22023. "200":
  22024. description: OK
  22025. schema:
  22026. $ref: '#/definitions/models.MyCouponHold'
  22027. "500":
  22028. description: Internal Server Error
  22029. schema:
  22030. $ref: '#/definitions/app.Response'
  22031. security:
  22032. - ApiKeyAuth: []
  22033. summary: 我的优惠卷持仓查询
  22034. tags:
  22035. - 定制【海商报业】
  22036. /HSBY/QueryMyCoupons:
  22037. get:
  22038. parameters:
  22039. - description: 资金账户列表,格式:1,2,3
  22040. in: query
  22041. name: accountIDs
  22042. required: true
  22043. type: string
  22044. - description: 商品ID, 一般与sellUserID配套传入
  22045. in: query
  22046. name: goodsID
  22047. type: integer
  22048. - description: 卖方UserID
  22049. in: query
  22050. name: sellUserID
  22051. type: integer
  22052. produces:
  22053. - application/json
  22054. responses:
  22055. "200":
  22056. description: OK
  22057. schema:
  22058. $ref: '#/definitions/models.MyCoupon'
  22059. "500":
  22060. description: Internal Server Error
  22061. schema:
  22062. $ref: '#/definitions/app.Response'
  22063. security:
  22064. - ApiKeyAuth: []
  22065. summary: 我的优惠卷查询
  22066. tags:
  22067. - 定制【海商报业】
  22068. /HSBY/QueryMyPayOrders:
  22069. get:
  22070. parameters:
  22071. - description: 页码
  22072. in: query
  22073. name: page
  22074. type: integer
  22075. - description: 每页条数
  22076. in: query
  22077. name: pagesize
  22078. type: integer
  22079. - description: 资金账户列表,格式:1,2,3
  22080. in: query
  22081. name: accountIDs
  22082. required: true
  22083. type: string
  22084. - description: 买方委托单号
  22085. in: query
  22086. name: buyOrderID
  22087. type: integer
  22088. - description: 卖方委托单号
  22089. in: query
  22090. name: sellOrderID
  22091. type: integer
  22092. produces:
  22093. - application/json
  22094. responses:
  22095. "200":
  22096. description: OK
  22097. schema:
  22098. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  22099. "500":
  22100. description: Internal Server Error
  22101. schema:
  22102. $ref: '#/definitions/app.Response'
  22103. security:
  22104. - ApiKeyAuth: []
  22105. summary: 获取我的订单中待付款信息
  22106. tags:
  22107. - 定制【海商报业】
  22108. /HSBY/QueryMyUsedCoupon:
  22109. get:
  22110. parameters:
  22111. - description: 资金账户列表,格式:1,2,3
  22112. in: query
  22113. name: accountIDs
  22114. required: true
  22115. type: string
  22116. produces:
  22117. - application/json
  22118. responses:
  22119. "200":
  22120. description: OK
  22121. schema:
  22122. $ref: '#/definitions/models.MyUsedCoupon'
  22123. "500":
  22124. description: Internal Server Error
  22125. schema:
  22126. $ref: '#/definitions/app.Response'
  22127. security:
  22128. - ApiKeyAuth: []
  22129. summary: 已使用优惠卷查询
  22130. tags:
  22131. - 定制【海商报业】
  22132. /HSBY/QueryProvincesAndCities:
  22133. get:
  22134. description: 查询结果只包括二级市场商品已关连的省市信息。
  22135. parameters:
  22136. - description: 省ID
  22137. in: query
  22138. name: provinceID
  22139. type: integer
  22140. produces:
  22141. - application/json
  22142. responses:
  22143. "200":
  22144. description: OK
  22145. schema:
  22146. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  22147. "500":
  22148. description: Internal Server Error
  22149. schema:
  22150. $ref: '#/definitions/app.Response'
  22151. security:
  22152. - ApiKeyAuth: []
  22153. summary: 查询省市信息(不包括区)
  22154. tags:
  22155. - 定制【海商报业】
  22156. /HSBY/SetHsbyMyPackagesStatus:
  22157. post:
  22158. parameters:
  22159. - description: 提货单号
  22160. in: query
  22161. name: takeOrderID
  22162. required: true
  22163. type: string
  22164. - description: 资金账号
  22165. in: query
  22166. name: accountID
  22167. required: true
  22168. type: integer
  22169. produces:
  22170. - application/json
  22171. responses:
  22172. "200":
  22173. description: OK
  22174. schema:
  22175. $ref: '#/definitions/app.Response'
  22176. "500":
  22177. description: Internal Server Error
  22178. schema:
  22179. $ref: '#/definitions/app.Response'
  22180. security:
  22181. - ApiKeyAuth: []
  22182. summary: 设置我的包裹已收货状态
  22183. tags:
  22184. - 定制【海商报业】
  22185. /Market/GetAllExExchanges:
  22186. get:
  22187. produces:
  22188. - application/json
  22189. responses:
  22190. "200":
  22191. description: OK
  22192. schema:
  22193. $ref: '#/definitions/models.Goods'
  22194. "500":
  22195. description: Internal Server Error
  22196. schema:
  22197. $ref: '#/definitions/app.Response'
  22198. security:
  22199. - ApiKeyAuth: []
  22200. summary: 获取所有外部交易所信息
  22201. tags:
  22202. - 通用市场
  22203. /Market/QueryGoodsesByLoginID:
  22204. get:
  22205. parameters:
  22206. - description: 登录账号
  22207. in: query
  22208. name: loginID
  22209. required: true
  22210. type: integer
  22211. - description: 市场ID列表,格式:1,2,3
  22212. in: query
  22213. name: marketIDs
  22214. type: string
  22215. produces:
  22216. - application/json
  22217. responses:
  22218. "200":
  22219. description: OK
  22220. schema:
  22221. $ref: '#/definitions/models.Goods'
  22222. "500":
  22223. description: Internal Server Error
  22224. schema:
  22225. $ref: '#/definitions/app.Response'
  22226. security:
  22227. - ApiKeyAuth: []
  22228. summary: 获取登录账号有权限的商品信息
  22229. tags:
  22230. - 通用市场
  22231. /Market/QueryMarketRun:
  22232. get:
  22233. parameters:
  22234. - description: 市场ID,不传返回所有
  22235. in: query
  22236. name: marketID
  22237. type: integer
  22238. produces:
  22239. - application/json
  22240. responses:
  22241. "200":
  22242. description: OK
  22243. schema:
  22244. $ref: '#/definitions/models.Marketrun'
  22245. "500":
  22246. description: Internal Server Error
  22247. schema:
  22248. $ref: '#/definitions/app.Response'
  22249. security:
  22250. - ApiKeyAuth: []
  22251. summary: 查询市场运行信息
  22252. tags:
  22253. - 通用市场
  22254. /Market/QueryMarketsByLoginID:
  22255. get:
  22256. parameters:
  22257. - description: 登录账号
  22258. in: query
  22259. name: loginID
  22260. required: true
  22261. type: integer
  22262. produces:
  22263. - application/json
  22264. responses:
  22265. "200":
  22266. description: OK
  22267. schema:
  22268. $ref: '#/definitions/models.Market'
  22269. "500":
  22270. description: Internal Server Error
  22271. schema:
  22272. $ref: '#/definitions/app.Response'
  22273. security:
  22274. - ApiKeyAuth: []
  22275. summary: 获取登录账号有权限的市场信息
  22276. tags:
  22277. - 通用市场
  22278. /Order/QueryHisTradeDetail:
  22279. get:
  22280. parameters:
  22281. - description: 资金账户 - 格式:1,2,3
  22282. in: query
  22283. name: accountID
  22284. required: true
  22285. type: string
  22286. - description: 成交单号
  22287. in: query
  22288. name: tradeID
  22289. type: integer
  22290. - description: 委托单号
  22291. in: query
  22292. name: orderID
  22293. type: integer
  22294. - description: 商品ID
  22295. in: query
  22296. name: goodsID
  22297. type: integer
  22298. - description: 交易模式 - 格式:1,2,3
  22299. in: query
  22300. name: tradeMode
  22301. type: string
  22302. - description: 委托单据类型
  22303. in: query
  22304. name: buildType
  22305. type: integer
  22306. - description: 成交类别 - 格式:1,2,3
  22307. in: query
  22308. name: tradeType
  22309. type: string
  22310. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22311. in: query
  22312. name: startDate
  22313. type: string
  22314. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22315. in: query
  22316. name: endDate
  22317. type: string
  22318. produces:
  22319. - application/json
  22320. responses:
  22321. "200":
  22322. description: OK
  22323. schema:
  22324. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  22325. "500":
  22326. description: Internal Server Error
  22327. schema:
  22328. $ref: '#/definitions/app.Response'
  22329. security:
  22330. - ApiKeyAuth: []
  22331. summary: 历史成交单查询(合约市场)
  22332. tags:
  22333. - 通用单据
  22334. /Order/QueryHisTradeOrderDetail:
  22335. get:
  22336. parameters:
  22337. - description: 资金账户 - 格式:1,2,3
  22338. in: query
  22339. name: accountID
  22340. required: true
  22341. type: string
  22342. - description: 交易模式 - 格式:1,2,3
  22343. in: query
  22344. name: tradeMode
  22345. type: string
  22346. - description: 委托状态 - 格式:1,2,3
  22347. in: query
  22348. name: orderStatus
  22349. type: string
  22350. - description: 委托单号
  22351. in: query
  22352. name: orderID
  22353. type: integer
  22354. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22355. in: query
  22356. name: startDate
  22357. type: string
  22358. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22359. in: query
  22360. name: endDate
  22361. type: string
  22362. produces:
  22363. - application/json
  22364. responses:
  22365. "200":
  22366. description: OK
  22367. schema:
  22368. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  22369. "500":
  22370. description: Internal Server Error
  22371. schema:
  22372. $ref: '#/definitions/app.Response'
  22373. security:
  22374. - ApiKeyAuth: []
  22375. summary: 历史委托单查询请求(合约市场)
  22376. tags:
  22377. - 通用单据
  22378. /Order/QueryTradeDetail:
  22379. get:
  22380. parameters:
  22381. - description: 资金账户 - 格式:1,2,3
  22382. in: query
  22383. name: accountID
  22384. required: true
  22385. type: string
  22386. - description: 成交单号
  22387. in: query
  22388. name: tradeID
  22389. type: integer
  22390. - description: 委托单号
  22391. in: query
  22392. name: orderID
  22393. type: integer
  22394. - description: 交易模式 - 格式:1,2,3
  22395. in: query
  22396. name: tradeMode
  22397. type: string
  22398. - description: 委托单据类型
  22399. in: query
  22400. name: buildType
  22401. type: integer
  22402. - description: 成交类别 - 格式:1,2,3
  22403. in: query
  22404. name: tradeType
  22405. type: string
  22406. - description: 商品ID
  22407. in: query
  22408. name: goodsID
  22409. type: integer
  22410. produces:
  22411. - application/json
  22412. responses:
  22413. "200":
  22414. description: OK
  22415. schema:
  22416. $ref: '#/definitions/order.QueryTradeDetailRsp'
  22417. "500":
  22418. description: Internal Server Error
  22419. schema:
  22420. $ref: '#/definitions/app.Response'
  22421. security:
  22422. - ApiKeyAuth: []
  22423. summary: 成交单查询(合约市场)
  22424. tags:
  22425. - 通用单据
  22426. /Order/QueryTradeHolderDetail:
  22427. get:
  22428. parameters:
  22429. - description: 用户id
  22430. in: query
  22431. name: userid
  22432. type: integer
  22433. - description: 资金账号, 格式 1,2,3
  22434. in: query
  22435. name: accids
  22436. type: string
  22437. - description: 交易模式, 格式 1,2,3
  22438. in: query
  22439. name: trademodes
  22440. type: string
  22441. - description: 市场id, 格式 1,2,3
  22442. in: query
  22443. name: marketids
  22444. type: string
  22445. - description: 商品id
  22446. in: query
  22447. name: goodsid
  22448. type: integer
  22449. - description: 买卖方向 0-买 1-卖
  22450. in: query
  22451. name: buyorsell
  22452. type: integer
  22453. produces:
  22454. - application/json
  22455. responses:
  22456. "200":
  22457. description: OK
  22458. schema:
  22459. items:
  22460. $ref: '#/definitions/models.TradeHolderDetail'
  22461. type: array
  22462. "500":
  22463. description: Internal Server Error
  22464. schema:
  22465. $ref: '#/definitions/app.Response'
  22466. security:
  22467. - ApiKeyAuth: []
  22468. summary: 查询持仓明细
  22469. tags:
  22470. - 通用单据
  22471. /Order/QueryTradeOrderDetail:
  22472. get:
  22473. parameters:
  22474. - description: 资金账户 - 格式:1,2,3
  22475. in: query
  22476. name: accountID
  22477. required: true
  22478. type: string
  22479. - description: 交易模式 - 格式:1,2,3
  22480. in: query
  22481. name: tradeMode
  22482. type: string
  22483. - description: 委托状态 - 格式:1,2,3
  22484. in: query
  22485. name: orderStatus
  22486. type: string
  22487. - description: 委托单号
  22488. in: query
  22489. name: orderID
  22490. type: integer
  22491. produces:
  22492. - application/json
  22493. responses:
  22494. "200":
  22495. description: OK
  22496. schema:
  22497. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  22498. "500":
  22499. description: Internal Server Error
  22500. schema:
  22501. $ref: '#/definitions/app.Response'
  22502. security:
  22503. - ApiKeyAuth: []
  22504. summary: 委托单查询请求(合约市场)
  22505. tags:
  22506. - 通用单据
  22507. /Order/QueryTradePosition:
  22508. get:
  22509. parameters:
  22510. - description: 资金账户 - 格式:1,2,3
  22511. in: query
  22512. name: accountID
  22513. required: true
  22514. type: string
  22515. - description: 交易模式 - 格式:1,2,3
  22516. in: query
  22517. name: tradeMode
  22518. type: string
  22519. produces:
  22520. - application/json
  22521. responses:
  22522. "200":
  22523. description: OK
  22524. schema:
  22525. $ref: '#/definitions/order.QueryTradePositionRsp'
  22526. "500":
  22527. description: Internal Server Error
  22528. schema:
  22529. $ref: '#/definitions/app.Response'
  22530. security:
  22531. - ApiKeyAuth: []
  22532. summary: 持仓汇总查询(合约市场)
  22533. tags:
  22534. - 通用单据
  22535. /Qhj/QueryAccountInOutApply:
  22536. get:
  22537. parameters:
  22538. - description: 用户ID
  22539. in: query
  22540. name: userid
  22541. required: true
  22542. type: integer
  22543. - description: 申请起始日期(格式yyyymmdd)
  22544. in: query
  22545. name: begindate
  22546. type: string
  22547. - description: 申请截止日期(格式yyyymmdd)
  22548. in: query
  22549. name: enddate
  22550. type: string
  22551. - description: 模糊搜索名称
  22552. in: query
  22553. name: likename
  22554. type: string
  22555. produces:
  22556. - application/json
  22557. responses:
  22558. "200":
  22559. description: OK
  22560. schema:
  22561. items:
  22562. $ref: '#/definitions/models.QhjAccountOutInApply'
  22563. type: array
  22564. "500":
  22565. description: Internal Server Error
  22566. schema:
  22567. $ref: '#/definitions/app.Response'
  22568. security:
  22569. - ApiKeyAuth: []
  22570. summary: 查询充值提现
  22571. tags:
  22572. - 大连千海金
  22573. /Qhj/QueryAreaFinanceConfig:
  22574. get:
  22575. parameters:
  22576. - description: 机构用户ID 其他做市关系,都设置为 1
  22577. in: query
  22578. name: userid
  22579. type: integer
  22580. produces:
  22581. - application/json
  22582. responses:
  22583. "200":
  22584. description: OK
  22585. schema:
  22586. items:
  22587. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22588. type: array
  22589. "500":
  22590. description: Internal Server Error
  22591. schema:
  22592. $ref: '#/definitions/app.Response'
  22593. security:
  22594. - ApiKeyAuth: []
  22595. summary: 查询企业配置表
  22596. tags:
  22597. - 大连千海金
  22598. /Qhj/QueryBankAccountSign:
  22599. get:
  22600. parameters:
  22601. - description: 用户ID
  22602. in: query
  22603. name: userid
  22604. required: true
  22605. type: integer
  22606. produces:
  22607. - application/json
  22608. responses:
  22609. "200":
  22610. description: OK
  22611. schema:
  22612. items:
  22613. $ref: '#/definitions/models.QhjBankAccountSign'
  22614. type: array
  22615. "500":
  22616. description: Internal Server Error
  22617. schema:
  22618. $ref: '#/definitions/app.Response'
  22619. security:
  22620. - ApiKeyAuth: []
  22621. summary: 查询签约银行信息(提现账户管理)
  22622. tags:
  22623. - 大连千海金
  22624. /Qhj/QueryBankInfo:
  22625. get:
  22626. produces:
  22627. - application/json
  22628. responses:
  22629. "200":
  22630. description: OK
  22631. schema:
  22632. items:
  22633. $ref: '#/definitions/models.QhjBankInfo'
  22634. type: array
  22635. "500":
  22636. description: Internal Server Error
  22637. schema:
  22638. $ref: '#/definitions/app.Response'
  22639. security:
  22640. - ApiKeyAuth: []
  22641. summary: 查询开户行
  22642. tags:
  22643. - 大连千海金
  22644. /Qhj/QueryBrokerApply:
  22645. get:
  22646. parameters:
  22647. - description: 所属机构ID
  22648. in: query
  22649. name: userid
  22650. type: integer
  22651. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22652. in: query
  22653. name: filterstatus
  22654. type: string
  22655. produces:
  22656. - application/json
  22657. responses:
  22658. "200":
  22659. description: OK
  22660. schema:
  22661. items:
  22662. $ref: '#/definitions/models.QhjBrokerApply'
  22663. type: array
  22664. "500":
  22665. description: Internal Server Error
  22666. schema:
  22667. $ref: '#/definitions/app.Response'
  22668. security:
  22669. - ApiKeyAuth: []
  22670. summary: 查询经纪人申请
  22671. tags:
  22672. - 大连千海金
  22673. /Qhj/QueryBrokerApplyEx:
  22674. get:
  22675. parameters:
  22676. - description: 所属机构ID
  22677. in: query
  22678. name: userid
  22679. type: integer
  22680. produces:
  22681. - application/json
  22682. responses:
  22683. "200":
  22684. description: OK
  22685. schema:
  22686. items:
  22687. $ref: '#/definitions/models.QhjBrokerApplyEx'
  22688. type: array
  22689. "500":
  22690. description: Internal Server Error
  22691. schema:
  22692. $ref: '#/definitions/app.Response'
  22693. security:
  22694. - ApiKeyAuth: []
  22695. summary: 查询经纪人信息和申请记录
  22696. tags:
  22697. - 大连千海金
  22698. /Qhj/QueryBrokerRewardLog:
  22699. get:
  22700. parameters:
  22701. - description: 用户ID
  22702. in: query
  22703. name: userid
  22704. required: true
  22705. type: integer
  22706. - description: 开始交易日(yyyymmdd)
  22707. in: query
  22708. name: begindate
  22709. type: string
  22710. - description: 结束交易日(yyyymmdd)
  22711. in: query
  22712. name: enddate
  22713. type: string
  22714. produces:
  22715. - application/json
  22716. responses:
  22717. "200":
  22718. description: OK
  22719. schema:
  22720. items:
  22721. $ref: '#/definitions/models.QhjBrokerRewardLog'
  22722. type: array
  22723. "500":
  22724. description: Internal Server Error
  22725. schema:
  22726. $ref: '#/definitions/app.Response'
  22727. security:
  22728. - ApiKeyAuth: []
  22729. summary: 查询奖励流水(我的奖励)
  22730. tags:
  22731. - 大连千海金
  22732. /Qhj/QueryContract:
  22733. get:
  22734. parameters:
  22735. - description: 用户ID
  22736. in: query
  22737. name: userid
  22738. type: integer
  22739. - description: scf合同id
  22740. in: query
  22741. name: scfcontractid
  22742. type: integer
  22743. produces:
  22744. - application/json
  22745. responses:
  22746. "200":
  22747. description: OK
  22748. schema:
  22749. items:
  22750. $ref: '#/definitions/models.QhjContract'
  22751. type: array
  22752. "500":
  22753. description: Internal Server Error
  22754. schema:
  22755. $ref: '#/definitions/app.Response'
  22756. security:
  22757. - ApiKeyAuth: []
  22758. summary: 查询融资明细(合同)
  22759. tags:
  22760. - 大连千海金
  22761. /Qhj/QueryContractLog:
  22762. get:
  22763. parameters:
  22764. - description: scf合同id
  22765. in: query
  22766. name: scfcontractid
  22767. required: true
  22768. type: integer
  22769. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22770. in: query
  22771. name: amounttype
  22772. type: string
  22773. produces:
  22774. - application/json
  22775. responses:
  22776. "200":
  22777. description: OK
  22778. schema:
  22779. items:
  22780. $ref: '#/definitions/models.QhjContractLog'
  22781. type: array
  22782. "500":
  22783. description: Internal Server Error
  22784. schema:
  22785. $ref: '#/definitions/app.Response'
  22786. security:
  22787. - ApiKeyAuth: []
  22788. summary: 查询融资明细流水(融资明细详情页中的流水)
  22789. tags:
  22790. - 大连千海金
  22791. /Qhj/QueryCusBankSignBank:
  22792. get:
  22793. produces:
  22794. - application/json
  22795. responses:
  22796. "200":
  22797. description: OK
  22798. schema:
  22799. items:
  22800. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22801. type: array
  22802. "500":
  22803. description: Internal Server Error
  22804. schema:
  22805. $ref: '#/definitions/app.Response'
  22806. security:
  22807. - ApiKeyAuth: []
  22808. summary: 查询托管银行
  22809. tags:
  22810. - 大连千海金
  22811. /Qhj/QueryCustomerInfo:
  22812. get:
  22813. parameters:
  22814. - description: 用户ID
  22815. in: query
  22816. name: userid
  22817. required: true
  22818. type: integer
  22819. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22820. in: query
  22821. name: querytype
  22822. required: true
  22823. type: integer
  22824. - description: 客户类型 1-个人 2-企业
  22825. in: query
  22826. name: userinfotype
  22827. type: integer
  22828. - description: 客户名称(模糊匹配)
  22829. in: query
  22830. name: customername
  22831. type: string
  22832. - description: 昵称(模糊匹配)
  22833. in: query
  22834. name: nickname
  22835. type: string
  22836. - description: 是否包含子级 1-包含
  22837. in: query
  22838. name: includesub
  22839. type: integer
  22840. produces:
  22841. - application/json
  22842. responses:
  22843. "200":
  22844. description: OK
  22845. schema:
  22846. items:
  22847. $ref: '#/definitions/models.QhjCustomer'
  22848. type: array
  22849. "500":
  22850. description: Internal Server Error
  22851. schema:
  22852. $ref: '#/definitions/app.Response'
  22853. security:
  22854. - ApiKeyAuth: []
  22855. summary: 查询客户资料
  22856. tags:
  22857. - 大连千海金
  22858. /Qhj/QueryGoodsEx:
  22859. get:
  22860. parameters:
  22861. - description: 商品id
  22862. in: query
  22863. name: goodsid
  22864. type: integer
  22865. produces:
  22866. - application/json
  22867. responses:
  22868. "200":
  22869. description: OK
  22870. schema:
  22871. items:
  22872. $ref: '#/definitions/models.Qhjgoodsex'
  22873. type: array
  22874. "500":
  22875. description: Internal Server Error
  22876. schema:
  22877. $ref: '#/definitions/app.Response'
  22878. security:
  22879. - ApiKeyAuth: []
  22880. summary: 交易商品扩展表
  22881. tags:
  22882. - 大连千海金
  22883. /Qhj/QueryMyTeam:
  22884. get:
  22885. parameters:
  22886. - description: 用户ID
  22887. in: query
  22888. name: userid
  22889. required: true
  22890. type: integer
  22891. produces:
  22892. - application/json
  22893. responses:
  22894. "200":
  22895. description: OK
  22896. schema:
  22897. items:
  22898. $ref: '#/definitions/models.QhjMyTeamEx'
  22899. type: array
  22900. "500":
  22901. description: Internal Server Error
  22902. schema:
  22903. $ref: '#/definitions/app.Response'
  22904. security:
  22905. - ApiKeyAuth: []
  22906. summary: 查询我的团队
  22907. tags:
  22908. - 大连千海金
  22909. /Qhj/QueryMyTeamOrder:
  22910. get:
  22911. parameters:
  22912. - description: 页码
  22913. in: query
  22914. name: page
  22915. type: integer
  22916. - description: 每页条数
  22917. in: query
  22918. name: pagesize
  22919. type: integer
  22920. - description: 用户ID
  22921. in: query
  22922. name: userid
  22923. required: true
  22924. type: integer
  22925. - description: 交易模式
  22926. in: query
  22927. name: trademode
  22928. type: integer
  22929. - description: 名称(模糊搜索账户)
  22930. in: query
  22931. name: filtername
  22932. type: string
  22933. produces:
  22934. - application/json
  22935. responses:
  22936. "200":
  22937. description: OK
  22938. schema:
  22939. items:
  22940. $ref: '#/definitions/models.QhjTeamOrder'
  22941. type: array
  22942. "500":
  22943. description: Internal Server Error
  22944. schema:
  22945. $ref: '#/definitions/app.Response'
  22946. security:
  22947. - ApiKeyAuth: []
  22948. summary: 查询团队订单(我的团队/团队订单)
  22949. tags:
  22950. - 大连千海金
  22951. /Qhj/QueryParentAreaList:
  22952. get:
  22953. parameters:
  22954. - description: 用户ID
  22955. in: query
  22956. name: userid
  22957. required: true
  22958. type: integer
  22959. produces:
  22960. - application/json
  22961. responses:
  22962. "200":
  22963. description: OK
  22964. schema:
  22965. items:
  22966. $ref: '#/definitions/models.QhjParentAreaList'
  22967. type: array
  22968. "500":
  22969. description: Internal Server Error
  22970. schema:
  22971. $ref: '#/definitions/app.Response'
  22972. security:
  22973. - ApiKeyAuth: []
  22974. summary: 查询所属机构列表
  22975. tags:
  22976. - 大连千海金
  22977. /Qhj/QueryPayOrder:
  22978. get:
  22979. parameters:
  22980. - description: 资金账号id
  22981. in: query
  22982. name: accountid
  22983. required: true
  22984. type: integer
  22985. - description: 成交单号
  22986. in: query
  22987. name: tradeid
  22988. type: integer
  22989. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22990. in: query
  22991. name: payflag
  22992. type: string
  22993. produces:
  22994. - application/json
  22995. responses:
  22996. "200":
  22997. description: OK
  22998. schema:
  22999. items:
  23000. $ref: '#/definitions/models.QhjPayOrder'
  23001. type: array
  23002. "500":
  23003. description: Internal Server Error
  23004. schema:
  23005. $ref: '#/definitions/app.Response'
  23006. security:
  23007. - ApiKeyAuth: []
  23008. summary: 查询待付款单据
  23009. tags:
  23010. - 大连千海金
  23011. /Qhj/QueryPickArea:
  23012. get:
  23013. parameters:
  23014. - description: 用户ID
  23015. in: query
  23016. name: userid
  23017. type: integer
  23018. produces:
  23019. - application/json
  23020. responses:
  23021. "200":
  23022. description: OK
  23023. schema:
  23024. items:
  23025. $ref: '#/definitions/models.QhjPickArea'
  23026. type: array
  23027. "500":
  23028. description: Internal Server Error
  23029. schema:
  23030. $ref: '#/definitions/app.Response'
  23031. security:
  23032. - ApiKeyAuth: []
  23033. summary: 查询提货门店
  23034. tags:
  23035. - 大连千海金
  23036. /Qhj/QueryPickGoods:
  23037. get:
  23038. parameters:
  23039. - description: 交易商品id
  23040. in: query
  23041. name: goodsid
  23042. required: true
  23043. type: integer
  23044. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23045. in: query
  23046. name: status
  23047. type: string
  23048. produces:
  23049. - application/json
  23050. responses:
  23051. "200":
  23052. description: OK
  23053. schema:
  23054. items:
  23055. $ref: '#/definitions/models.QhjPickGoods'
  23056. type: array
  23057. "500":
  23058. description: Internal Server Error
  23059. schema:
  23060. $ref: '#/definitions/app.Response'
  23061. security:
  23062. - ApiKeyAuth: []
  23063. summary: 查询提货商品
  23064. tags:
  23065. - 大连千海金
  23066. /Qhj/QueryRSTriggerLog:
  23067. get:
  23068. parameters:
  23069. - description: 用户ID
  23070. in: query
  23071. name: userid
  23072. type: integer
  23073. - description: 定投策略id
  23074. in: query
  23075. name: regularlystrategyid
  23076. type: integer
  23077. - description: 商品id
  23078. in: query
  23079. name: goodsid
  23080. type: integer
  23081. - description: 开始交易日(yyyymmdd)
  23082. in: query
  23083. name: begindate
  23084. type: string
  23085. - description: 结束交易日(yyyymmdd)
  23086. in: query
  23087. name: enddate
  23088. type: string
  23089. - description: 名称(模糊搜索账户)
  23090. in: query
  23091. name: filtername
  23092. type: string
  23093. produces:
  23094. - application/json
  23095. responses:
  23096. "200":
  23097. description: OK
  23098. schema:
  23099. items:
  23100. $ref: '#/definitions/models.QhjRSTriggerLog'
  23101. type: array
  23102. "500":
  23103. description: Internal Server Error
  23104. schema:
  23105. $ref: '#/definitions/app.Response'
  23106. security:
  23107. - ApiKeyAuth: []
  23108. summary: 查询定投记录(定投管理/详情/定投记录)
  23109. tags:
  23110. - 大连千海金
  23111. /Qhj/QueryRStrategy:
  23112. get:
  23113. parameters:
  23114. - description: 用户ID
  23115. in: query
  23116. name: userid
  23117. type: integer
  23118. - description: 商品id
  23119. in: query
  23120. name: goodsid
  23121. type: integer
  23122. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  23123. in: query
  23124. name: status
  23125. type: string
  23126. - description: 名称(模糊搜索账户)
  23127. in: query
  23128. name: filtername
  23129. type: string
  23130. produces:
  23131. - application/json
  23132. responses:
  23133. "200":
  23134. description: OK
  23135. schema:
  23136. items:
  23137. $ref: '#/definitions/models.QhjRStrategy'
  23138. type: array
  23139. "500":
  23140. description: Internal Server Error
  23141. schema:
  23142. $ref: '#/definitions/app.Response'
  23143. security:
  23144. - ApiKeyAuth: []
  23145. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  23146. tags:
  23147. - 大连千海金
  23148. /Qhj/QueryReckonPriceLog:
  23149. get:
  23150. parameters:
  23151. - description: 商品ID
  23152. in: query
  23153. name: goodsid
  23154. type: integer
  23155. - description: 交易日 格式(yyyymmdd)
  23156. in: query
  23157. name: tradedate
  23158. type: string
  23159. produces:
  23160. - application/json
  23161. responses:
  23162. "200":
  23163. description: OK
  23164. schema:
  23165. items:
  23166. $ref: '#/definitions/models.QhjReckonPriceLog'
  23167. type: array
  23168. "500":
  23169. description: Internal Server Error
  23170. schema:
  23171. $ref: '#/definitions/app.Response'
  23172. security:
  23173. - ApiKeyAuth: []
  23174. summary: 查询定投价(结算价)
  23175. tags:
  23176. - 大连千海金
  23177. /Qhj/QueryScoreLog:
  23178. get:
  23179. parameters:
  23180. - description: 用户ID
  23181. in: query
  23182. name: userid
  23183. required: true
  23184. type: integer
  23185. - description: 开始交易日(yyyymmdd)
  23186. in: query
  23187. name: begindate
  23188. type: string
  23189. - description: 结束交易日(yyyymmdd)
  23190. in: query
  23191. name: enddate
  23192. type: string
  23193. - description: 最近多少条
  23194. in: query
  23195. name: lastnum
  23196. type: integer
  23197. produces:
  23198. - application/json
  23199. responses:
  23200. "200":
  23201. description: OK
  23202. schema:
  23203. items:
  23204. $ref: '#/definitions/models.QhjScoreLog'
  23205. type: array
  23206. "500":
  23207. description: Internal Server Error
  23208. schema:
  23209. $ref: '#/definitions/app.Response'
  23210. security:
  23211. - ApiKeyAuth: []
  23212. summary: 查询积分流水(我的积分)
  23213. tags:
  23214. - 大连千海金
  23215. /Qhj/QuerySiteColumnDetail:
  23216. get:
  23217. parameters:
  23218. - description: 用户ID
  23219. in: query
  23220. name: userid
  23221. required: true
  23222. type: integer
  23223. produces:
  23224. - application/json
  23225. responses:
  23226. "200":
  23227. description: OK
  23228. schema:
  23229. items:
  23230. $ref: '#/definitions/models.QhjSiteColumnDetail'
  23231. type: array
  23232. "500":
  23233. description: Internal Server Error
  23234. schema:
  23235. $ref: '#/definitions/app.Response'
  23236. security:
  23237. - ApiKeyAuth: []
  23238. summary: 查询资讯
  23239. tags:
  23240. - 大连千海金
  23241. /Qhj/QueryTradeGoodsPickup:
  23242. get:
  23243. parameters:
  23244. - description: 用户ID
  23245. in: query
  23246. name: userid
  23247. required: true
  23248. type: integer
  23249. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  23250. 7:已拒绝 8:已撤销
  23251. in: query
  23252. name: takeorderstatus
  23253. type: integer
  23254. produces:
  23255. - application/json
  23256. responses:
  23257. "200":
  23258. description: OK
  23259. schema:
  23260. items:
  23261. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  23262. type: array
  23263. "500":
  23264. description: Internal Server Error
  23265. schema:
  23266. $ref: '#/definitions/app.Response'
  23267. security:
  23268. - ApiKeyAuth: []
  23269. summary: 查询提货
  23270. tags:
  23271. - 大连千海金
  23272. /Qhj/QueryUserCollectConfig:
  23273. get:
  23274. parameters:
  23275. - description: 用户ID
  23276. in: query
  23277. name: userid
  23278. required: true
  23279. type: integer
  23280. produces:
  23281. - application/json
  23282. responses:
  23283. "200":
  23284. description: OK
  23285. schema:
  23286. items:
  23287. $ref: '#/definitions/models.UserCollectConfig'
  23288. type: array
  23289. "500":
  23290. description: Internal Server Error
  23291. schema:
  23292. $ref: '#/definitions/app.Response'
  23293. security:
  23294. - ApiKeyAuth: []
  23295. summary: 查询提现账户设置
  23296. tags:
  23297. - 大连千海金
  23298. /Qhj/QueryUserReceiveInfo:
  23299. get:
  23300. parameters:
  23301. - description: 用户ID
  23302. in: query
  23303. name: userid
  23304. required: true
  23305. type: integer
  23306. produces:
  23307. - application/json
  23308. responses:
  23309. "200":
  23310. description: OK
  23311. schema:
  23312. items:
  23313. $ref: '#/definitions/models.UserReceiveInfo'
  23314. type: array
  23315. "500":
  23316. description: Internal Server Error
  23317. schema:
  23318. $ref: '#/definitions/app.Response'
  23319. security:
  23320. - ApiKeyAuth: []
  23321. summary: 查询收货地址信息
  23322. tags:
  23323. - 大连千海金
  23324. /QhjMgr/QueryAccountInOutApply:
  23325. get:
  23326. parameters:
  23327. - description: 查询类型 1-提现(出金) 2-充值(出金)
  23328. in: query
  23329. name: querytype
  23330. required: true
  23331. type: integer
  23332. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  23333. in: query
  23334. name: applystatus
  23335. type: integer
  23336. - description: 申请起始日期(格式yyyymmdd)
  23337. in: query
  23338. name: begindate
  23339. type: string
  23340. - description: 申请截止日期(格式yyyymmdd)
  23341. in: query
  23342. name: enddate
  23343. type: string
  23344. - description: 模糊搜索名称
  23345. in: query
  23346. name: likename
  23347. type: string
  23348. produces:
  23349. - application/json
  23350. responses:
  23351. "200":
  23352. description: OK
  23353. schema:
  23354. items:
  23355. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  23356. type: array
  23357. "500":
  23358. description: Internal Server Error
  23359. schema:
  23360. $ref: '#/definitions/app.Response'
  23361. security:
  23362. - ApiKeyAuth: []
  23363. summary: 查询充值提现
  23364. tags:
  23365. - 大连千海金(PCWeb)
  23366. /QhjMgr/QueryBrokerApply:
  23367. get:
  23368. parameters:
  23369. - description: 所属机构ID
  23370. in: query
  23371. name: userid
  23372. type: integer
  23373. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23374. in: query
  23375. name: filterstatus
  23376. type: string
  23377. - description: 名称(模糊匹配)
  23378. in: query
  23379. name: filtername
  23380. type: string
  23381. - description: 是否包含子级 1-包含
  23382. in: query
  23383. name: includesub
  23384. type: integer
  23385. produces:
  23386. - application/json
  23387. responses:
  23388. "200":
  23389. description: OK
  23390. schema:
  23391. items:
  23392. $ref: '#/definitions/models.QhjMgrBrokerApply'
  23393. type: array
  23394. "500":
  23395. description: Internal Server Error
  23396. schema:
  23397. $ref: '#/definitions/app.Response'
  23398. security:
  23399. - ApiKeyAuth: []
  23400. summary: 查询经纪人申请
  23401. tags:
  23402. - 大连千海金(PCWeb)
  23403. /QhjMgr/QueryBrokerRewardReport:
  23404. get:
  23405. parameters:
  23406. - description: 所属机构ID
  23407. in: query
  23408. name: userid
  23409. required: true
  23410. type: integer
  23411. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23412. in: query
  23413. name: cycletype
  23414. required: true
  23415. type: integer
  23416. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  23417. in: query
  23418. name: cycletime
  23419. required: true
  23420. type: string
  23421. - description: 名称(模糊匹配)
  23422. in: query
  23423. name: filtername
  23424. type: string
  23425. - description: 是否包含子级 1-包含
  23426. in: query
  23427. name: includesub
  23428. type: integer
  23429. produces:
  23430. - application/json
  23431. responses:
  23432. "200":
  23433. description: OK
  23434. schema:
  23435. items:
  23436. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  23437. type: array
  23438. "500":
  23439. description: Internal Server Error
  23440. schema:
  23441. $ref: '#/definitions/app.Response'
  23442. security:
  23443. - ApiKeyAuth: []
  23444. summary: 查询经纪人奖励报表(废弃)
  23445. tags:
  23446. - 大连千海金(PCWeb)
  23447. /QhjMgr/QueryContract:
  23448. get:
  23449. parameters:
  23450. - description: 用户ID
  23451. in: query
  23452. name: userid
  23453. type: integer
  23454. - description: 商品id
  23455. in: query
  23456. name: goodsid
  23457. type: integer
  23458. - description: 名称(模糊搜索账户)
  23459. in: query
  23460. name: filtername
  23461. type: string
  23462. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  23463. in: query
  23464. name: risklevel
  23465. type: string
  23466. - description: 开始交易日(yyyymmdd)
  23467. in: query
  23468. name: begindate
  23469. type: string
  23470. - description: 结束交易日(yyyymmdd)
  23471. in: query
  23472. name: enddate
  23473. type: string
  23474. produces:
  23475. - application/json
  23476. responses:
  23477. "200":
  23478. description: OK
  23479. schema:
  23480. items:
  23481. $ref: '#/definitions/models.QhjMgrContract'
  23482. type: array
  23483. "500":
  23484. description: Internal Server Error
  23485. schema:
  23486. $ref: '#/definitions/app.Response'
  23487. security:
  23488. - ApiKeyAuth: []
  23489. summary: 查询融资信息(合同)
  23490. tags:
  23491. - 大连千海金(PCWeb)
  23492. /QhjMgr/QueryCustomerInfo:
  23493. get:
  23494. parameters:
  23495. - description: 用户ID
  23496. in: query
  23497. name: userid
  23498. required: true
  23499. type: integer
  23500. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23501. in: query
  23502. name: querytype
  23503. required: true
  23504. type: integer
  23505. - description: 客户类型 1-个人 2-企业
  23506. in: query
  23507. name: userinfotype
  23508. type: integer
  23509. - description: 客户名称(模糊匹配)
  23510. in: query
  23511. name: customername
  23512. type: string
  23513. - description: 昵称(模糊匹配)
  23514. in: query
  23515. name: nickname
  23516. type: string
  23517. - description: 所属客户经理(模糊匹配)
  23518. in: query
  23519. name: brokername
  23520. type: string
  23521. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  23522. 如0503 -5月3日)
  23523. in: query
  23524. name: birthday
  23525. type: string
  23526. - description: 是否包含子级 1-包含
  23527. in: query
  23528. name: includesub
  23529. type: integer
  23530. produces:
  23531. - application/json
  23532. responses:
  23533. "200":
  23534. description: OK
  23535. schema:
  23536. items:
  23537. $ref: '#/definitions/models.QhjMgrCustomer'
  23538. type: array
  23539. "500":
  23540. description: Internal Server Error
  23541. schema:
  23542. $ref: '#/definitions/app.Response'
  23543. security:
  23544. - ApiKeyAuth: []
  23545. summary: 查询客户资料
  23546. tags:
  23547. - 大连千海金(PCWeb)
  23548. /QhjMgr/QueryPickGoods:
  23549. get:
  23550. parameters:
  23551. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23552. in: query
  23553. name: status
  23554. type: string
  23555. produces:
  23556. - application/json
  23557. responses:
  23558. "200":
  23559. description: OK
  23560. schema:
  23561. items:
  23562. $ref: '#/definitions/models.QhjMgrPickGoods'
  23563. type: array
  23564. "500":
  23565. description: Internal Server Error
  23566. schema:
  23567. $ref: '#/definitions/app.Response'
  23568. security:
  23569. - ApiKeyAuth: []
  23570. summary: 查询提货商品
  23571. tags:
  23572. - 大连千海金(PCWeb)
  23573. /QhjMgr/QuerySubArea:
  23574. get:
  23575. parameters:
  23576. - description: 用户ID
  23577. in: query
  23578. name: userid
  23579. required: true
  23580. type: integer
  23581. produces:
  23582. - application/json
  23583. responses:
  23584. "200":
  23585. description: OK
  23586. schema:
  23587. items:
  23588. $ref: '#/definitions/models.QhjMgrSubArea'
  23589. type: array
  23590. "500":
  23591. description: Internal Server Error
  23592. schema:
  23593. $ref: '#/definitions/app.Response'
  23594. security:
  23595. - ApiKeyAuth: []
  23596. summary: 查询子机构列表
  23597. tags:
  23598. - 大连千海金(PCWeb)
  23599. /QhjMgr/QueryTradeDetail:
  23600. get:
  23601. parameters:
  23602. - description: 用户ID
  23603. in: query
  23604. name: userid
  23605. required: true
  23606. type: integer
  23607. - description: 用户类型 1-个人 2-企业
  23608. in: query
  23609. name: userinfotype
  23610. type: integer
  23611. - description: 交易模式
  23612. in: query
  23613. name: trademode
  23614. type: integer
  23615. - description: 商品id
  23616. in: query
  23617. name: goodsid
  23618. type: integer
  23619. - description: 名称(模糊搜索账户)
  23620. in: query
  23621. name: filtername
  23622. type: string
  23623. - description: 开始交易日(yyyymmdd)
  23624. in: query
  23625. name: begindate
  23626. type: string
  23627. - description: 结束交易日(yyyymmdd)
  23628. in: query
  23629. name: enddate
  23630. type: string
  23631. - description: 是否包含子级 1-包含
  23632. in: query
  23633. name: includesub
  23634. type: integer
  23635. produces:
  23636. - application/json
  23637. responses:
  23638. "200":
  23639. description: OK
  23640. schema:
  23641. items:
  23642. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  23643. type: array
  23644. "500":
  23645. description: Internal Server Error
  23646. schema:
  23647. $ref: '#/definitions/app.Response'
  23648. security:
  23649. - ApiKeyAuth: []
  23650. summary: 查询成交明细
  23651. tags:
  23652. - 大连千海金(PCWeb)
  23653. /QhjMgr/QueryTradeOrderDetail:
  23654. get:
  23655. parameters:
  23656. - description: 用户ID
  23657. in: query
  23658. name: userid
  23659. required: true
  23660. type: integer
  23661. - description: 用户类型 1-个人 2-企业
  23662. in: query
  23663. name: userinfotype
  23664. type: integer
  23665. - description: 交易模式
  23666. in: query
  23667. name: trademode
  23668. type: integer
  23669. - description: 商品id
  23670. in: query
  23671. name: goodsid
  23672. type: integer
  23673. - description: 名称(模糊搜索账户)
  23674. in: query
  23675. name: filtername
  23676. type: string
  23677. - description: 开始交易日(yyyymmdd)
  23678. in: query
  23679. name: begindate
  23680. type: string
  23681. - description: 结束交易日(yyyymmdd)
  23682. in: query
  23683. name: enddate
  23684. type: string
  23685. - description: 是否包含子级 1-包含
  23686. in: query
  23687. name: includesub
  23688. type: integer
  23689. produces:
  23690. - application/json
  23691. responses:
  23692. "200":
  23693. description: OK
  23694. schema:
  23695. items:
  23696. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23697. type: array
  23698. "500":
  23699. description: Internal Server Error
  23700. schema:
  23701. $ref: '#/definitions/app.Response'
  23702. security:
  23703. - ApiKeyAuth: []
  23704. summary: 查询委托明细
  23705. tags:
  23706. - 大连千海金(PCWeb)
  23707. /QhjMgr/QueryTradePayOrder:
  23708. get:
  23709. parameters:
  23710. - description: 用户ID
  23711. in: query
  23712. name: userid
  23713. required: true
  23714. type: integer
  23715. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23716. in: query
  23717. name: payflag
  23718. type: string
  23719. - description: 用户类型 1-个人 2-企业
  23720. in: query
  23721. name: userinfotype
  23722. type: integer
  23723. - description: 交易模式
  23724. in: query
  23725. name: trademode
  23726. type: integer
  23727. - description: 商品id
  23728. in: query
  23729. name: goodsid
  23730. type: integer
  23731. - description: 名称(模糊搜索账户)
  23732. in: query
  23733. name: filtername
  23734. type: string
  23735. - description: 开始交易日(yyyymmdd)
  23736. in: query
  23737. name: begindate
  23738. type: string
  23739. - description: 结束交易日(yyyymmdd)
  23740. in: query
  23741. name: enddate
  23742. type: string
  23743. - description: 是否包含子级 1-包含
  23744. in: query
  23745. name: includesub
  23746. type: integer
  23747. produces:
  23748. - application/json
  23749. responses:
  23750. "200":
  23751. description: OK
  23752. schema:
  23753. items:
  23754. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  23755. type: array
  23756. "500":
  23757. description: Internal Server Error
  23758. schema:
  23759. $ref: '#/definitions/app.Response'
  23760. security:
  23761. - ApiKeyAuth: []
  23762. summary: 查询待付款单
  23763. tags:
  23764. - 大连千海金(PCWeb)
  23765. /QhjMgr/QueryTradePosition:
  23766. get:
  23767. parameters:
  23768. - description: 用户ID
  23769. in: query
  23770. name: userid
  23771. required: true
  23772. type: integer
  23773. - description: 用户类型 1-个人 2-企业
  23774. in: query
  23775. name: userinfotype
  23776. type: integer
  23777. - description: 交易模式
  23778. in: query
  23779. name: trademode
  23780. type: integer
  23781. - description: 商品id
  23782. in: query
  23783. name: goodsid
  23784. type: integer
  23785. - description: 名称(模糊搜索账户)
  23786. in: query
  23787. name: filtername
  23788. type: string
  23789. - description: 是否包含子级 1-包含
  23790. in: query
  23791. name: includesub
  23792. type: integer
  23793. produces:
  23794. - application/json
  23795. responses:
  23796. "200":
  23797. description: OK
  23798. schema:
  23799. items:
  23800. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23801. type: array
  23802. "500":
  23803. description: Internal Server Error
  23804. schema:
  23805. $ref: '#/definitions/app.Response'
  23806. security:
  23807. - ApiKeyAuth: []
  23808. summary: 查询持仓汇总
  23809. tags:
  23810. - 大连千海金(PCWeb)
  23811. /QhjSys/QueryAgreementChangeLog:
  23812. get:
  23813. parameters:
  23814. - description: 协议ID
  23815. in: query
  23816. name: agreementid
  23817. type: integer
  23818. - description: 协议版本号
  23819. in: query
  23820. name: agreementversion
  23821. type: integer
  23822. - description: 协议类型 - 1:注册 2:登录 3:交易
  23823. in: query
  23824. name: agreementtype
  23825. type: integer
  23826. - description: 协议编号(模糊匹配)
  23827. in: query
  23828. name: agreementno
  23829. type: string
  23830. - description: 协议名称(模糊匹配)
  23831. in: query
  23832. name: agreementname
  23833. type: string
  23834. produces:
  23835. - application/json
  23836. responses:
  23837. "200":
  23838. description: OK
  23839. schema:
  23840. items:
  23841. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23842. type: array
  23843. "500":
  23844. description: Internal Server Error
  23845. schema:
  23846. $ref: '#/definitions/app.Response'
  23847. security:
  23848. - ApiKeyAuth: []
  23849. summary: 查询协议配置变更流水
  23850. tags:
  23851. - 大连千海金(协议和签约信息)
  23852. /QhjSys/QueryAgreementConfig:
  23853. get:
  23854. parameters:
  23855. - description: 协议ID
  23856. in: query
  23857. name: agreementid
  23858. type: integer
  23859. - description: 协议版本号
  23860. in: query
  23861. name: agreementversion
  23862. type: integer
  23863. - description: 协议类型 - 1:注册 2:登录 3:交易
  23864. in: query
  23865. name: agreementtype
  23866. type: integer
  23867. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23868. in: query
  23869. name: isvalid
  23870. type: integer
  23871. - description: 协议编号(模糊匹配)
  23872. in: query
  23873. name: agreementno
  23874. type: string
  23875. - description: 协议名称(模糊匹配)
  23876. in: query
  23877. name: agreementname
  23878. type: string
  23879. produces:
  23880. - application/json
  23881. responses:
  23882. "200":
  23883. description: OK
  23884. schema:
  23885. items:
  23886. $ref: '#/definitions/models.QhjAgreementConfig'
  23887. type: array
  23888. "500":
  23889. description: Internal Server Error
  23890. schema:
  23891. $ref: '#/definitions/app.Response'
  23892. security:
  23893. - ApiKeyAuth: []
  23894. summary: 查询协议配置
  23895. tags:
  23896. - 大连千海金(协议和签约信息)
  23897. /QhjSys/QueryCustomerSignStatus:
  23898. get:
  23899. parameters:
  23900. - description: 客户ID
  23901. in: query
  23902. name: userid
  23903. type: integer
  23904. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23905. in: query
  23906. name: nodetype
  23907. type: integer
  23908. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23909. in: query
  23910. name: goodsid
  23911. type: integer
  23912. - description: 创建交易日(yyyyMMdd)
  23913. in: query
  23914. name: tradedate
  23915. type: string
  23916. - description: 用户名称(模糊匹配)
  23917. in: query
  23918. name: username
  23919. type: string
  23920. produces:
  23921. - application/json
  23922. responses:
  23923. "200":
  23924. description: OK
  23925. schema:
  23926. items:
  23927. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23928. type: array
  23929. "500":
  23930. description: Internal Server Error
  23931. schema:
  23932. $ref: '#/definitions/app.Response'
  23933. security:
  23934. - ApiKeyAuth: []
  23935. summary: 查询客户协议签约状态
  23936. tags:
  23937. - 大连千海金(协议和签约信息)
  23938. /QhjSys/QueryNodeAgreementConfig:
  23939. get:
  23940. parameters:
  23941. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23942. in: query
  23943. name: configid
  23944. type: integer
  23945. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23946. in: query
  23947. name: nodetype
  23948. type: integer
  23949. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23950. in: query
  23951. name: goodsid
  23952. type: integer
  23953. - description: 协议ID
  23954. in: query
  23955. name: agreementid
  23956. type: integer
  23957. - description: 协议类型 - 1:注册 2:登录 3:交易
  23958. in: query
  23959. name: agreementtype
  23960. type: integer
  23961. - description: 协议版本号
  23962. in: query
  23963. name: agreementversion
  23964. type: integer
  23965. - description: 协议编号(模糊匹配)
  23966. in: query
  23967. name: agreementno
  23968. type: string
  23969. - description: 协议名称(模糊匹配)
  23970. in: query
  23971. name: agreementname
  23972. type: string
  23973. produces:
  23974. - application/json
  23975. responses:
  23976. "200":
  23977. description: OK
  23978. schema:
  23979. items:
  23980. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23981. type: array
  23982. "500":
  23983. description: Internal Server Error
  23984. schema:
  23985. $ref: '#/definitions/app.Response'
  23986. security:
  23987. - ApiKeyAuth: []
  23988. summary: 查询协议节点配置
  23989. tags:
  23990. - 大连千海金(协议和签约信息)
  23991. /QhjSys/QueryQhjCustomerSignLog:
  23992. get:
  23993. parameters:
  23994. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23995. in: query
  23996. name: logid
  23997. type: integer
  23998. - description: 客户ID
  23999. in: query
  24000. name: userid
  24001. type: integer
  24002. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24003. in: query
  24004. name: nodetype
  24005. type: integer
  24006. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24007. in: query
  24008. name: goodsid
  24009. type: integer
  24010. - description: 协议ID
  24011. in: query
  24012. name: agreementid
  24013. type: integer
  24014. - description: 用户名称(模糊匹配)
  24015. in: query
  24016. name: username
  24017. type: string
  24018. - description: 协议编号(模糊匹配)
  24019. in: query
  24020. name: agreementno
  24021. type: string
  24022. - description: 协议名称(模糊匹配)
  24023. in: query
  24024. name: agreementname
  24025. type: string
  24026. produces:
  24027. - application/json
  24028. responses:
  24029. "200":
  24030. description: OK
  24031. schema:
  24032. items:
  24033. $ref: '#/definitions/models.QhjCustomerSignLog'
  24034. type: array
  24035. "500":
  24036. description: Internal Server Error
  24037. schema:
  24038. $ref: '#/definitions/app.Response'
  24039. security:
  24040. - ApiKeyAuth: []
  24041. summary: 查询客户协议签约流水
  24042. tags:
  24043. - 大连千海金(协议和签约信息)
  24044. /QhjSys/QueryUserNodeCfgAndStatus:
  24045. get:
  24046. parameters:
  24047. - description: 客户ID
  24048. in: query
  24049. name: userid
  24050. type: integer
  24051. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24052. in: query
  24053. name: configid
  24054. type: integer
  24055. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24056. in: query
  24057. name: nodetype
  24058. type: string
  24059. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24060. in: query
  24061. name: goodsid
  24062. type: integer
  24063. - description: 协议ID
  24064. in: query
  24065. name: agreementid
  24066. type: integer
  24067. - description: 协议类型 - 1:注册 2:登录 3:交易
  24068. in: query
  24069. name: agreementtype
  24070. type: integer
  24071. - description: 协议版本号
  24072. in: query
  24073. name: agreementversion
  24074. type: integer
  24075. - description: 协议编号(模糊匹配)
  24076. in: query
  24077. name: agreementno
  24078. type: string
  24079. - description: 协议名称(模糊匹配)
  24080. in: query
  24081. name: agreementname
  24082. type: string
  24083. produces:
  24084. - application/json
  24085. responses:
  24086. "200":
  24087. description: OK
  24088. schema:
  24089. items:
  24090. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  24091. type: array
  24092. "500":
  24093. description: Internal Server Error
  24094. schema:
  24095. $ref: '#/definitions/app.Response'
  24096. security:
  24097. - ApiKeyAuth: []
  24098. summary: 查询用户协议节点配置和状态
  24099. tags:
  24100. - 大连千海金(协议和签约信息)
  24101. /Quote/QueryHistoryDatas:
  24102. get:
  24103. parameters:
  24104. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  24105. 日线'
  24106. in: query
  24107. name: cycleType
  24108. required: true
  24109. type: integer
  24110. - description: 商品代码
  24111. in: query
  24112. name: goodsCode
  24113. required: true
  24114. type: string
  24115. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24116. in: query
  24117. name: startTime
  24118. type: string
  24119. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24120. in: query
  24121. name: endTime
  24122. type: string
  24123. - description: 条数
  24124. in: query
  24125. name: count
  24126. type: integer
  24127. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24128. in: query
  24129. name: isAsc
  24130. type: boolean
  24131. produces:
  24132. - application/json
  24133. responses:
  24134. "200":
  24135. description: OK
  24136. schema:
  24137. $ref: '#/definitions/quote.HistoryData'
  24138. "500":
  24139. description: Internal Server Error
  24140. schema:
  24141. $ref: '#/definitions/app.Response'
  24142. security:
  24143. - ApiKeyAuth: []
  24144. summary: 查询行情历史数据
  24145. tags:
  24146. - 行情服务
  24147. /Quote/QueryHistoryTikDatas:
  24148. get:
  24149. parameters:
  24150. - description: 商品代码
  24151. in: query
  24152. name: goodsCode
  24153. required: true
  24154. type: string
  24155. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24156. in: query
  24157. name: startTime
  24158. type: string
  24159. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24160. in: query
  24161. name: endTime
  24162. type: string
  24163. - description: 条数
  24164. in: query
  24165. name: count
  24166. type: integer
  24167. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24168. in: query
  24169. name: isAsc
  24170. type: boolean
  24171. produces:
  24172. - application/json
  24173. responses:
  24174. "200":
  24175. description: OK
  24176. schema:
  24177. $ref: '#/definitions/quote.HistoryTikData'
  24178. "500":
  24179. description: Internal Server Error
  24180. schema:
  24181. $ref: '#/definitions/app.Response'
  24182. security:
  24183. - ApiKeyAuth: []
  24184. summary: 查询行情Tik数据
  24185. tags:
  24186. - 行情服务
  24187. /Quote/QueryQuoteDay:
  24188. get:
  24189. parameters:
  24190. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  24191. in: query
  24192. name: goodsCodes
  24193. required: true
  24194. type: string
  24195. produces:
  24196. - application/json
  24197. responses:
  24198. "200":
  24199. description: OK
  24200. schema:
  24201. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24202. "500":
  24203. description: Internal Server Error
  24204. schema:
  24205. $ref: '#/definitions/app.Response'
  24206. security:
  24207. - ApiKeyAuth: []
  24208. summary: 获取商品盘面信息
  24209. tags:
  24210. - 行情服务
  24211. /Quote/QueryTSData:
  24212. get:
  24213. parameters:
  24214. - description: 商品代码
  24215. in: query
  24216. name: goodsCode
  24217. required: true
  24218. type: string
  24219. produces:
  24220. - application/json
  24221. responses:
  24222. "200":
  24223. description: OK
  24224. schema:
  24225. $ref: '#/definitions/quote.QueryTSDataRsp'
  24226. "500":
  24227. description: Internal Server Error
  24228. schema:
  24229. $ref: '#/definitions/app.Response'
  24230. security:
  24231. - ApiKeyAuth: []
  24232. summary: 分时图数据查询
  24233. tags:
  24234. - 行情服务
  24235. /SZDZ/QueryConvertConfig:
  24236. get:
  24237. parameters:
  24238. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  24239. 6:交易转花生米(不设置)
  24240. in: query
  24241. name: convertType
  24242. type: integer
  24243. - description: 外部商品代码[JD\PD]
  24244. in: query
  24245. name: outerGoodsCode
  24246. type: string
  24247. - description: 内部商品ID列表[交易],格式:1,2,3
  24248. in: query
  24249. name: innerGoodsIDs
  24250. type: string
  24251. produces:
  24252. - application/json
  24253. responses:
  24254. "200":
  24255. description: OK
  24256. schema:
  24257. $ref: '#/definitions/models.Szdz3convertconfig'
  24258. "500":
  24259. description: Internal Server Error
  24260. schema:
  24261. $ref: '#/definitions/app.Response'
  24262. security:
  24263. - ApiKeyAuth: []
  24264. summary: 查询交易系统转换设置
  24265. tags:
  24266. - 定制【尚志大宗】
  24267. /SZDZ/QueryConvertLog:
  24268. get:
  24269. parameters:
  24270. - description: 资金账户 - 格式:1,2,3
  24271. in: query
  24272. name: accountID
  24273. required: true
  24274. type: string
  24275. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24276. in: query
  24277. name: startDate
  24278. type: string
  24279. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24280. in: query
  24281. name: endDate
  24282. type: string
  24283. produces:
  24284. - application/json
  24285. responses:
  24286. "200":
  24287. description: OK
  24288. schema:
  24289. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24290. "500":
  24291. description: Internal Server Error
  24292. schema:
  24293. $ref: '#/definitions/app.Response'
  24294. security:
  24295. - ApiKeyAuth: []
  24296. summary: 交易系统转换流水查询
  24297. tags:
  24298. - 定制【尚志大宗】
  24299. /SZDZ/QueryGoodsPickup:
  24300. get:
  24301. parameters:
  24302. - description: 资金账户 - 格式:1,2,3
  24303. in: query
  24304. name: accountID
  24305. required: true
  24306. type: string
  24307. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24308. in: query
  24309. name: takeOrderStatus
  24310. type: integer
  24311. produces:
  24312. - application/json
  24313. responses:
  24314. "200":
  24315. description: OK
  24316. schema:
  24317. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24318. "500":
  24319. description: Internal Server Error
  24320. schema:
  24321. $ref: '#/definitions/app.Response'
  24322. security:
  24323. - ApiKeyAuth: []
  24324. summary: 商品提货单查询
  24325. tags:
  24326. - 定制【尚志大宗】
  24327. /SZDZ/QueryRecieptOrder:
  24328. get:
  24329. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24330. parameters:
  24331. - description: 页码
  24332. in: query
  24333. name: page
  24334. type: integer
  24335. - description: 每页条数
  24336. in: query
  24337. name: pagesize
  24338. type: integer
  24339. - description: 商品ID
  24340. in: query
  24341. name: goodsID
  24342. required: true
  24343. type: integer
  24344. - description: 所属账户名称
  24345. in: query
  24346. name: accountName
  24347. type: string
  24348. - description: 市场ID
  24349. in: query
  24350. name: marketID
  24351. type: integer
  24352. - description: 方向 - 0:买 1:卖
  24353. in: query
  24354. name: buyorsell
  24355. required: true
  24356. type: integer
  24357. produces:
  24358. - application/json
  24359. responses:
  24360. "200":
  24361. description: OK
  24362. schema:
  24363. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24364. "500":
  24365. description: Internal Server Error
  24366. schema:
  24367. $ref: '#/definitions/app.Response'
  24368. security:
  24369. - ApiKeyAuth: []
  24370. summary: 点选挂牌委托单据查询(摘牌大厅)
  24371. tags:
  24372. - 定制【尚志大宗】
  24373. /SZDZ/QuerySZDZTradePosition:
  24374. get:
  24375. parameters:
  24376. - description: 资金账户
  24377. in: query
  24378. name: accountID
  24379. required: true
  24380. type: integer
  24381. produces:
  24382. - application/json
  24383. responses:
  24384. "200":
  24385. description: OK
  24386. schema:
  24387. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24388. "500":
  24389. description: Internal Server Error
  24390. schema:
  24391. $ref: '#/definitions/app.Response'
  24392. security:
  24393. - ApiKeyAuth: []
  24394. summary: 持仓汇总查询(尚志大宗)
  24395. tags:
  24396. - 定制【尚志大宗】
  24397. /SZDZ/SearchWhite:
  24398. get:
  24399. parameters:
  24400. - description: 用户ID
  24401. in: query
  24402. name: userID
  24403. required: true
  24404. type: integer
  24405. produces:
  24406. - application/json
  24407. responses:
  24408. "200":
  24409. description: OK
  24410. schema:
  24411. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24412. "500":
  24413. description: Internal Server Error
  24414. schema:
  24415. $ref: '#/definitions/app.Response'
  24416. security:
  24417. - ApiKeyAuth: []
  24418. summary: 搜索白名单
  24419. tags:
  24420. - 定制【尚志大宗】
  24421. /Search/SearchGoodses:
  24422. get:
  24423. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24424. parameters:
  24425. - description: 检索内容
  24426. in: query
  24427. name: content
  24428. required: true
  24429. type: string
  24430. - description: 交易模式,格式:1,2,3
  24431. in: query
  24432. name: tradeModes
  24433. type: string
  24434. produces:
  24435. - application/json
  24436. responses:
  24437. "200":
  24438. description: OK
  24439. schema:
  24440. $ref: '#/definitions/models.SearchGoods'
  24441. "500":
  24442. description: Internal Server Error
  24443. schema:
  24444. $ref: '#/definitions/app.Response'
  24445. summary: 检索商品信息
  24446. tags:
  24447. - 检索服务
  24448. /TaAccount/GetTaAccounts:
  24449. get:
  24450. parameters:
  24451. - description: 登录账户
  24452. in: query
  24453. name: loginID
  24454. required: true
  24455. type: integer
  24456. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24457. in: query
  24458. name: taAccountType
  24459. type: integer
  24460. produces:
  24461. - application/json
  24462. responses:
  24463. "200":
  24464. description: OK
  24465. schema:
  24466. $ref: '#/definitions/models.Taaccount'
  24467. "500":
  24468. description: Internal Server Error
  24469. schema:
  24470. $ref: '#/definitions/app.Response'
  24471. security:
  24472. - ApiKeyAuth: []
  24473. summary: 获取资金账户信息
  24474. tags:
  24475. - 资金账户
  24476. /TaAccount/QueryAmountLog:
  24477. get:
  24478. parameters:
  24479. - description: 页码
  24480. in: query
  24481. name: page
  24482. type: integer
  24483. - description: 每页条数
  24484. in: query
  24485. name: pagesize
  24486. type: integer
  24487. - description: 资金账户 - 格式:1,2,3
  24488. in: query
  24489. name: accountID
  24490. required: true
  24491. type: string
  24492. - description: 资金操作类型 - 格式:1,2,3
  24493. in: query
  24494. name: OperateType
  24495. type: string
  24496. produces:
  24497. - application/json
  24498. responses:
  24499. "200":
  24500. description: OK
  24501. schema:
  24502. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24503. "500":
  24504. description: Internal Server Error
  24505. schema:
  24506. $ref: '#/definitions/app.Response'
  24507. security:
  24508. - ApiKeyAuth: []
  24509. summary: 资金流水查询(当前)
  24510. tags:
  24511. - 资金账户
  24512. /TaAccount/QueryHisAmountLog:
  24513. get:
  24514. parameters:
  24515. - description: 页码
  24516. in: query
  24517. name: page
  24518. type: integer
  24519. - description: 每页条数
  24520. in: query
  24521. name: pagesize
  24522. type: integer
  24523. - description: 资金账户 - 格式:1,2,3
  24524. in: query
  24525. name: accountID
  24526. required: true
  24527. type: string
  24528. - description: 资金操作类型 - 格式:1,2,3
  24529. in: query
  24530. name: OperateType
  24531. type: string
  24532. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24533. in: query
  24534. name: startDate
  24535. type: string
  24536. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24537. in: query
  24538. name: endDate
  24539. type: string
  24540. produces:
  24541. - application/json
  24542. responses:
  24543. "200":
  24544. description: OK
  24545. schema:
  24546. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24547. "500":
  24548. description: Internal Server Error
  24549. schema:
  24550. $ref: '#/definitions/app.Response'
  24551. security:
  24552. - ApiKeyAuth: []
  24553. summary: 资金流水查询(历史)
  24554. tags:
  24555. - 资金账户
  24556. /Tjmd/QueryQuoteGoodsList:
  24557. get:
  24558. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  24559. parameters:
  24560. - description: 用户类型
  24561. in: query
  24562. name: usertype
  24563. required: true
  24564. type: integer
  24565. - description: 市场id, 格式 1,2,3
  24566. in: query
  24567. name: marketids
  24568. type: string
  24569. - description: 商品组id
  24570. in: query
  24571. name: goodsgroupid
  24572. type: integer
  24573. - description: 商品id
  24574. in: query
  24575. name: goodsid
  24576. type: integer
  24577. produces:
  24578. - application/json
  24579. responses:
  24580. "200":
  24581. description: OK
  24582. schema:
  24583. items:
  24584. $ref: '#/definitions/models.TjmdQuoteGoods'
  24585. type: array
  24586. "500":
  24587. description: Internal Server Error
  24588. schema:
  24589. $ref: '#/definitions/app.Response'
  24590. security:
  24591. - ApiKeyAuth: []
  24592. summary: 查询掉期报价列表
  24593. tags:
  24594. - 天津麦顿
  24595. /Tjmd/QueryTjmdTradeOrderDetail:
  24596. get:
  24597. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  24598. parameters:
  24599. - description: 页码
  24600. in: query
  24601. name: page
  24602. type: integer
  24603. - description: 每页条数
  24604. in: query
  24605. name: pagesize
  24606. type: integer
  24607. - description: 用户类型
  24608. in: query
  24609. name: usertype
  24610. required: true
  24611. type: integer
  24612. - description: 市场id, 格式 1,2,3
  24613. in: query
  24614. name: marketids
  24615. type: string
  24616. - description: 商品id
  24617. in: query
  24618. name: goodsid
  24619. required: true
  24620. type: integer
  24621. - description: 买卖方向 0-买 1-卖
  24622. in: query
  24623. name: buyorsell
  24624. required: true
  24625. type: integer
  24626. produces:
  24627. - application/json
  24628. responses:
  24629. "200":
  24630. description: OK
  24631. schema:
  24632. items:
  24633. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  24634. type: array
  24635. "500":
  24636. description: Internal Server Error
  24637. schema:
  24638. $ref: '#/definitions/app.Response'
  24639. security:
  24640. - ApiKeyAuth: []
  24641. summary: 查询掉期买卖大厅
  24642. tags:
  24643. - 天津麦顿
  24644. /Tjmd/QueryTjmdTransferApply:
  24645. get:
  24646. parameters:
  24647. - description: 类型 1-我的申请 2-对方申请
  24648. in: query
  24649. name: applytype
  24650. required: true
  24651. type: integer
  24652. - description: 市场id, 格式 1,2,3
  24653. in: query
  24654. name: marketids
  24655. type: string
  24656. - description: 资金账号, 格式 25000000001,25000000003
  24657. in: query
  24658. name: accountids
  24659. type: string
  24660. produces:
  24661. - application/json
  24662. responses:
  24663. "200":
  24664. description: OK
  24665. schema:
  24666. items:
  24667. $ref: '#/definitions/models.TjmdTransferApply'
  24668. type: array
  24669. "500":
  24670. description: Internal Server Error
  24671. schema:
  24672. $ref: '#/definitions/app.Response'
  24673. security:
  24674. - ApiKeyAuth: []
  24675. summary: 查询掉期协议单
  24676. tags:
  24677. - 天津麦顿
  24678. /Trade/QueryRecieptOrder:
  24679. get:
  24680. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24681. parameters:
  24682. - description: 页码
  24683. in: query
  24684. name: page
  24685. type: integer
  24686. - description: 每页条数
  24687. in: query
  24688. name: pagesize
  24689. type: integer
  24690. - description: 商品ID
  24691. in: query
  24692. name: goodsID
  24693. required: true
  24694. type: integer
  24695. - description: 所属账户名称
  24696. in: query
  24697. name: accountName
  24698. type: string
  24699. - description: 市场ID
  24700. in: query
  24701. name: marketID
  24702. type: integer
  24703. - description: 方向 - 0:买 1:卖
  24704. in: query
  24705. name: buyorsell
  24706. required: true
  24707. type: integer
  24708. produces:
  24709. - application/json
  24710. responses:
  24711. "200":
  24712. description: OK
  24713. schema:
  24714. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24715. "500":
  24716. description: Internal Server Error
  24717. schema:
  24718. $ref: '#/definitions/app.Response'
  24719. security:
  24720. - ApiKeyAuth: []
  24721. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24722. tags:
  24723. - 通用交易
  24724. /User/AddMessageBoard:
  24725. post:
  24726. parameters:
  24727. - description: 用户ID
  24728. in: query
  24729. name: userID
  24730. required: true
  24731. type: integer
  24732. - description: 留言信息
  24733. in: query
  24734. name: message
  24735. required: true
  24736. type: string
  24737. - description: 联系电话
  24738. in: query
  24739. name: contactNum
  24740. required: true
  24741. type: string
  24742. produces:
  24743. - application/json
  24744. responses:
  24745. "200":
  24746. description: OK
  24747. schema:
  24748. $ref: '#/definitions/app.Response'
  24749. "500":
  24750. description: Internal Server Error
  24751. schema:
  24752. $ref: '#/definitions/app.Response'
  24753. security:
  24754. - ApiKeyAuth: []
  24755. summary: 添加用户留言板信息
  24756. tags:
  24757. - 用户信息
  24758. /User/AddUserFavoriteGoods:
  24759. post:
  24760. parameters:
  24761. - description: 用户ID
  24762. in: query
  24763. name: userID
  24764. required: true
  24765. type: integer
  24766. - description: 商品ID
  24767. in: query
  24768. name: goodsID
  24769. required: true
  24770. type: integer
  24771. produces:
  24772. - application/json
  24773. responses:
  24774. "200":
  24775. description: OK
  24776. schema:
  24777. $ref: '#/definitions/app.Response'
  24778. "500":
  24779. description: Internal Server Error
  24780. schema:
  24781. $ref: '#/definitions/app.Response'
  24782. security:
  24783. - ApiKeyAuth: []
  24784. summary: 添加用户商品收藏信息
  24785. tags:
  24786. - 用户信息
  24787. /User/GetLoginID:
  24788. get:
  24789. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24790. parameters:
  24791. - description: 登录代码
  24792. in: query
  24793. name: username
  24794. required: true
  24795. type: string
  24796. produces:
  24797. - application/json
  24798. responses:
  24799. "200":
  24800. description: OK
  24801. schema:
  24802. $ref: '#/definitions/app.Response'
  24803. "500":
  24804. description: Internal Server Error
  24805. schema:
  24806. $ref: '#/definitions/app.Response'
  24807. summary: 获取登录ID
  24808. tags:
  24809. - 用户信息
  24810. /User/GetUserAccount:
  24811. get:
  24812. parameters:
  24813. - description: 用户ID
  24814. in: query
  24815. name: userID
  24816. required: true
  24817. type: integer
  24818. produces:
  24819. - application/json
  24820. responses:
  24821. "200":
  24822. description: OK
  24823. schema:
  24824. $ref: '#/definitions/models.Useraccount'
  24825. "500":
  24826. description: Internal Server Error
  24827. schema:
  24828. $ref: '#/definitions/app.Response'
  24829. security:
  24830. - ApiKeyAuth: []
  24831. summary: 获取用户账号信息
  24832. tags:
  24833. - 用户信息
  24834. /User/GetUserAuthStatus:
  24835. get:
  24836. parameters:
  24837. - description: 用户ID
  24838. in: query
  24839. name: userID
  24840. required: true
  24841. type: integer
  24842. produces:
  24843. - application/json
  24844. responses:
  24845. "200":
  24846. description: OK
  24847. schema:
  24848. $ref: '#/definitions/app.Response'
  24849. "500":
  24850. description: Internal Server Error
  24851. schema:
  24852. $ref: '#/definitions/app.Response'
  24853. security:
  24854. - ApiKeyAuth: []
  24855. summary: 获取用户实名认证状态
  24856. tags:
  24857. - 用户信息
  24858. /User/LoginQuery:
  24859. get:
  24860. parameters:
  24861. - description: 登录账号
  24862. in: query
  24863. name: loginID
  24864. required: true
  24865. type: integer
  24866. produces:
  24867. - application/json
  24868. responses:
  24869. "200":
  24870. description: OK
  24871. schema:
  24872. $ref: '#/definitions/user.LoginQueryRsp'
  24873. "500":
  24874. description: Internal Server Error
  24875. schema:
  24876. $ref: '#/definitions/app.Response'
  24877. security:
  24878. - ApiKeyAuth: []
  24879. summary: 账户登录后信息查询
  24880. tags:
  24881. - 用户信息
  24882. /User/QueryMessageBoard:
  24883. get:
  24884. parameters:
  24885. - description: 用户ID
  24886. in: query
  24887. name: userID
  24888. required: true
  24889. type: integer
  24890. produces:
  24891. - application/json
  24892. responses:
  24893. "200":
  24894. description: OK
  24895. schema:
  24896. $ref: '#/definitions/models.Messageboard'
  24897. "500":
  24898. description: Internal Server Error
  24899. schema:
  24900. $ref: '#/definitions/app.Response'
  24901. security:
  24902. - ApiKeyAuth: []
  24903. summary: 获取用户留言板信息
  24904. tags:
  24905. - 用户信息
  24906. /User/QueryUserFavoriteGoodses:
  24907. get:
  24908. parameters:
  24909. - description: 用户ID
  24910. in: query
  24911. name: userID
  24912. required: true
  24913. type: integer
  24914. produces:
  24915. - application/json
  24916. responses:
  24917. "200":
  24918. description: OK
  24919. schema:
  24920. $ref: '#/definitions/models.Userfavoritegoods'
  24921. "500":
  24922. description: Internal Server Error
  24923. schema:
  24924. $ref: '#/definitions/app.Response'
  24925. security:
  24926. - ApiKeyAuth: []
  24927. summary: 获取用户商品收藏信息
  24928. tags:
  24929. - 用户信息
  24930. /User/QueryUserInfo:
  24931. get:
  24932. parameters:
  24933. - description: 用户ID
  24934. in: query
  24935. name: userID
  24936. required: true
  24937. type: integer
  24938. - description: 是否解密
  24939. in: query
  24940. name: isDecrypt
  24941. type: boolean
  24942. produces:
  24943. - application/json
  24944. responses:
  24945. "200":
  24946. description: OK
  24947. schema:
  24948. $ref: '#/definitions/models.Userinfo'
  24949. "500":
  24950. description: Internal Server Error
  24951. schema:
  24952. $ref: '#/definitions/app.Response'
  24953. security:
  24954. - ApiKeyAuth: []
  24955. summary: 获取用户信息
  24956. tags:
  24957. - 用户信息
  24958. /User/QueryUserReferNum:
  24959. get:
  24960. parameters:
  24961. - description: 用户ID
  24962. in: query
  24963. name: userID
  24964. required: true
  24965. type: integer
  24966. produces:
  24967. - application/json
  24968. responses:
  24969. "200":
  24970. description: OK
  24971. schema:
  24972. $ref: '#/definitions/app.Response'
  24973. "500":
  24974. description: Internal Server Error
  24975. schema:
  24976. $ref: '#/definitions/app.Response'
  24977. summary: 获取用户邀请码
  24978. tags:
  24979. - 用户信息
  24980. /User/RemoveUserFavoriteGoods:
  24981. post:
  24982. parameters:
  24983. - description: 用户ID
  24984. in: query
  24985. name: userID
  24986. required: true
  24987. type: integer
  24988. - description: 商品ID
  24989. in: query
  24990. name: goodsID
  24991. required: true
  24992. type: integer
  24993. produces:
  24994. - application/json
  24995. responses:
  24996. "200":
  24997. description: OK
  24998. schema:
  24999. $ref: '#/definitions/app.Response'
  25000. "500":
  25001. description: Internal Server Error
  25002. schema:
  25003. $ref: '#/definitions/app.Response'
  25004. security:
  25005. - ApiKeyAuth: []
  25006. summary: 移除用户商品收藏信息
  25007. tags:
  25008. - 用户信息
  25009. /User/UpdateUserAccountStatus:
  25010. post:
  25011. parameters:
  25012. - description: 用户ID
  25013. in: query
  25014. name: userID
  25015. required: true
  25016. type: integer
  25017. - description: 账户状态 - 4:正常 6:注销(停用)
  25018. in: query
  25019. name: accountStatus
  25020. required: true
  25021. type: integer
  25022. produces:
  25023. - application/json
  25024. responses:
  25025. "200":
  25026. description: OK
  25027. schema:
  25028. $ref: '#/definitions/app.Response'
  25029. "500":
  25030. description: Internal Server Error
  25031. schema:
  25032. $ref: '#/definitions/app.Response'
  25033. security:
  25034. - ApiKeyAuth: []
  25035. summary: 更新用户状态
  25036. tags:
  25037. - 用户信息
  25038. /WRTrade/GetAllDeliveryGoods:
  25039. get:
  25040. produces:
  25041. - application/json
  25042. - application/json
  25043. responses:
  25044. "200":
  25045. description: OK
  25046. schema:
  25047. $ref: '#/definitions/app.Response'
  25048. "500":
  25049. description: Internal Server Error
  25050. schema:
  25051. $ref: '#/definitions/app.Response'
  25052. security:
  25053. - ApiKeyAuth: []
  25054. - ApiKeyAuth: []
  25055. summary: 获取带仓单分类的种类信息
  25056. tags:
  25057. - 仓单贸易
  25058. - 仓单贸易
  25059. /WrTrade2/QueryFaProductDetail:
  25060. get:
  25061. description: 页面 买卖大厅 -> 选择融资方案
  25062. parameters:
  25063. - description: 仓单要素id
  25064. in: query
  25065. name: wrfactortypeid
  25066. required: true
  25067. type: integer
  25068. produces:
  25069. - application/json
  25070. responses:
  25071. "200":
  25072. description: OK
  25073. schema:
  25074. items:
  25075. $ref: '#/definitions/models.WrFAProductDetail'
  25076. type: array
  25077. "500":
  25078. description: Internal Server Error
  25079. schema:
  25080. $ref: '#/definitions/app.Response'
  25081. security:
  25082. - ApiKeyAuth: []
  25083. summary: 查询融资产品列表
  25084. tags:
  25085. - 仓单贸易v2
  25086. /WrTrade2/QueryFilterItem:
  25087. get:
  25088. parameters:
  25089. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25090. in: query
  25091. name: itype
  25092. required: true
  25093. type: string
  25094. produces:
  25095. - application/json
  25096. responses:
  25097. "200":
  25098. description: OK
  25099. schema:
  25100. items:
  25101. $ref: '#/definitions/models.WrFilterItem'
  25102. type: array
  25103. "500":
  25104. description: Internal Server Error
  25105. schema:
  25106. $ref: '#/definitions/app.Response'
  25107. security:
  25108. - ApiKeyAuth: []
  25109. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25110. tags:
  25111. - 仓单贸易v2
  25112. /WrTrade2/QueryFtDeliveryGoods:
  25113. get:
  25114. produces:
  25115. - application/json
  25116. responses:
  25117. "200":
  25118. description: OK
  25119. schema:
  25120. items:
  25121. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25122. type: array
  25123. "500":
  25124. description: Internal Server Error
  25125. schema:
  25126. $ref: '#/definitions/app.Response'
  25127. security:
  25128. - ApiKeyAuth: []
  25129. summary: 查询品种品类筛选框列表
  25130. tags:
  25131. - 仓单贸易v2
  25132. /WrTrade2/QueryHoldLB:
  25133. get:
  25134. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25135. parameters:
  25136. - description: 资金账号
  25137. in: query
  25138. name: accountid
  25139. required: true
  25140. type: integer
  25141. - description: 仓库id
  25142. in: query
  25143. name: warehouseid
  25144. type: integer
  25145. - description: 品种id
  25146. in: query
  25147. name: deliverygoodsid
  25148. type: integer
  25149. - description: 品类id
  25150. in: query
  25151. name: wrstandardid
  25152. type: integer
  25153. - description: 仓单要素id
  25154. in: query
  25155. name: wrfactortypeid
  25156. type: integer
  25157. produces:
  25158. - application/json
  25159. responses:
  25160. "200":
  25161. description: OK
  25162. schema:
  25163. items:
  25164. $ref: '#/definitions/models.WrHoldLB'
  25165. type: array
  25166. "500":
  25167. description: Internal Server Error
  25168. schema:
  25169. $ref: '#/definitions/app.Response'
  25170. security:
  25171. - ApiKeyAuth: []
  25172. summary: 查询仓单持有记录
  25173. tags:
  25174. - 仓单贸易v2
  25175. /WrTrade2/QueryOrderQuote:
  25176. get:
  25177. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  25178. 唯一确定1条记录
  25179. parameters:
  25180. - description: 页码
  25181. in: query
  25182. name: page
  25183. type: integer
  25184. - description: 每页条数
  25185. in: query
  25186. name: pagesize
  25187. type: integer
  25188. - description: 仓单贸易市场id
  25189. in: query
  25190. name: marketid
  25191. type: integer
  25192. - description: 价格方式 - 1:固定价 2-浮动价
  25193. in: query
  25194. name: wrpricetype
  25195. required: true
  25196. type: integer
  25197. - description: 0:仓单预售 1:仓单贸易
  25198. in: query
  25199. name: haswr
  25200. required: true
  25201. type: integer
  25202. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25203. in: query
  25204. name: dgitemname
  25205. type: string
  25206. - description: 仓库id(筛选条件)
  25207. in: query
  25208. name: warehouseid
  25209. type: integer
  25210. - description: 品种id
  25211. in: query
  25212. name: deliverygoodsid
  25213. type: integer
  25214. - description: 品类id
  25215. in: query
  25216. name: wrstandardid
  25217. type: integer
  25218. - description: 仓单要素id
  25219. in: query
  25220. name: wrfactortypeid
  25221. type: integer
  25222. - description: 交收月(yyyy-mm) 仓单预售填写
  25223. in: query
  25224. name: deliverymonth
  25225. type: string
  25226. produces:
  25227. - application/json
  25228. responses:
  25229. "200":
  25230. description: OK
  25231. schema:
  25232. items:
  25233. $ref: '#/definitions/models.WrOrderQuote'
  25234. type: array
  25235. "500":
  25236. description: Internal Server Error
  25237. schema:
  25238. $ref: '#/definitions/app.Response'
  25239. security:
  25240. - ApiKeyAuth: []
  25241. summary: 查询大厅行情列表
  25242. tags:
  25243. - 仓单贸易v2
  25244. /WrTrade2/QueryOrderQuoteDetail:
  25245. get:
  25246. parameters:
  25247. - description: 页码
  25248. in: query
  25249. name: page
  25250. type: integer
  25251. - description: 每页条数
  25252. in: query
  25253. name: pagesize
  25254. type: integer
  25255. - description: 仓单贸易市场id
  25256. in: query
  25257. name: marketid
  25258. type: integer
  25259. - description: 价格方式 - 1:固定价 2-浮动价
  25260. in: query
  25261. name: wrpricetype
  25262. required: true
  25263. type: integer
  25264. - description: 0:仓单预售 1:仓单贸易
  25265. in: query
  25266. name: haswr
  25267. required: true
  25268. type: integer
  25269. - description: 仓单要素id
  25270. in: query
  25271. name: wrfactortypeid
  25272. required: true
  25273. type: integer
  25274. - description: 期货商品id(浮动价方式时填)
  25275. in: query
  25276. name: goodsid
  25277. type: integer
  25278. - description: 买卖方向 0-买 1-卖
  25279. in: query
  25280. name: buyorsell
  25281. required: true
  25282. type: integer
  25283. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  25284. in: query
  25285. name: deliverymonth
  25286. type: string
  25287. produces:
  25288. - application/json
  25289. responses:
  25290. "200":
  25291. description: OK
  25292. schema:
  25293. items:
  25294. $ref: '#/definitions/models.WrOrderQuoteDetail'
  25295. type: array
  25296. "500":
  25297. description: Internal Server Error
  25298. schema:
  25299. $ref: '#/definitions/app.Response'
  25300. security:
  25301. - ApiKeyAuth: []
  25302. summary: 查询买卖大厅
  25303. tags:
  25304. - 仓单贸易v2
  25305. /WrTrade2/QueryOrderQuoteMyq:
  25306. get:
  25307. parameters:
  25308. - description: 页码
  25309. in: query
  25310. name: page
  25311. type: integer
  25312. - description: 每页条数
  25313. in: query
  25314. name: pagesize
  25315. type: integer
  25316. - description: 用户id
  25317. in: query
  25318. name: userid
  25319. required: true
  25320. type: integer
  25321. - description: 仓单贸易市场id
  25322. in: query
  25323. name: marketid
  25324. type: integer
  25325. - description: 0:仓单预售 1:仓单贸易
  25326. in: query
  25327. name: haswr
  25328. required: true
  25329. type: integer
  25330. - description: 买卖方向 0-买 1-卖
  25331. in: query
  25332. name: buyorsell
  25333. required: true
  25334. type: integer
  25335. - description: 品种id
  25336. in: query
  25337. name: deliverygoodsid
  25338. type: integer
  25339. - description: 品类id
  25340. in: query
  25341. name: wrstandardid
  25342. type: integer
  25343. - description: 交收月(yyyy-mm) 仓单预售填写
  25344. in: query
  25345. name: deliverymonth
  25346. type: string
  25347. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25348. in: query
  25349. name: dgitemname
  25350. type: string
  25351. produces:
  25352. - application/json
  25353. responses:
  25354. "200":
  25355. description: OK
  25356. schema:
  25357. items:
  25358. $ref: '#/definitions/models.WrQuoteOrderMyq'
  25359. type: array
  25360. "500":
  25361. description: Internal Server Error
  25362. schema:
  25363. $ref: '#/definitions/app.Response'
  25364. security:
  25365. - ApiKeyAuth: []
  25366. summary: 查询贸易圈挂牌大厅
  25367. tags:
  25368. - 仓单贸易v2
  25369. /WrTrade2/QueryPerformancePlan:
  25370. get:
  25371. parameters:
  25372. - description: 用户id
  25373. in: query
  25374. name: userid
  25375. required: true
  25376. type: integer
  25377. - description: 买卖方向 0-买 1-卖
  25378. in: query
  25379. name: buyorsell
  25380. required: true
  25381. type: integer
  25382. produces:
  25383. - application/json
  25384. responses:
  25385. "200":
  25386. description: OK
  25387. schema:
  25388. items:
  25389. $ref: '#/definitions/models.WrPerformancePlan'
  25390. type: array
  25391. "500":
  25392. description: Internal Server Error
  25393. schema:
  25394. $ref: '#/definitions/app.Response'
  25395. security:
  25396. - ApiKeyAuth: []
  25397. summary: 查询履约信息
  25398. tags:
  25399. - 仓单贸易v2
  25400. /WrTrade2/QueryPermancePlanTmp:
  25401. get:
  25402. description: 返回指定用户的模板和公共模板(用户id为空)
  25403. parameters:
  25404. - description: 用户id
  25405. in: query
  25406. name: userid
  25407. type: integer
  25408. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  25409. (无仓单) 5:挂牌期权 6:竞拍-降价式
  25410. in: query
  25411. name: tmptype
  25412. type: string
  25413. - description: 是否包含公共模板(用户id为空的) 1-包含
  25414. in: query
  25415. name: includepub
  25416. type: integer
  25417. produces:
  25418. - application/json
  25419. responses:
  25420. "200":
  25421. description: OK
  25422. schema:
  25423. items:
  25424. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  25425. type: array
  25426. "500":
  25427. description: Internal Server Error
  25428. schema:
  25429. $ref: '#/definitions/app.Response'
  25430. security:
  25431. - ApiKeyAuth: []
  25432. summary: 查询履约模板
  25433. tags:
  25434. - 仓单贸易v2
  25435. /WrTrade2/QueryWrAverageTradePrice:
  25436. get:
  25437. parameters:
  25438. - description: 页码
  25439. in: query
  25440. name: page
  25441. type: integer
  25442. - description: 每页条数
  25443. in: query
  25444. name: pagesize
  25445. type: integer
  25446. - description: 0:仓单预售 1:仓单贸易
  25447. in: query
  25448. name: haswr
  25449. required: true
  25450. type: integer
  25451. - description: 仓单要素id
  25452. in: query
  25453. name: wrfactortypeid
  25454. required: true
  25455. type: integer
  25456. produces:
  25457. - application/json
  25458. responses:
  25459. "200":
  25460. description: OK
  25461. schema:
  25462. items:
  25463. $ref: '#/definitions/models.WrAverageTradePrice'
  25464. type: array
  25465. "500":
  25466. description: Internal Server Error
  25467. schema:
  25468. $ref: '#/definitions/app.Response'
  25469. security:
  25470. - ApiKeyAuth: []
  25471. summary: 查询成交价(历史走势)
  25472. tags:
  25473. - 仓单贸易v2
  25474. /WrTrade2/QueryWrBsGoodsInfo:
  25475. get:
  25476. description: 合约交易/买卖大厅/详情
  25477. parameters:
  25478. - description: 商品id
  25479. in: query
  25480. name: goodsid
  25481. required: true
  25482. type: integer
  25483. produces:
  25484. - application/json
  25485. responses:
  25486. "200":
  25487. description: OK
  25488. schema:
  25489. items:
  25490. $ref: '#/definitions/models.WrBsGoodsInfo'
  25491. type: array
  25492. "500":
  25493. description: Internal Server Error
  25494. schema:
  25495. $ref: '#/definitions/app.Response'
  25496. security:
  25497. - ApiKeyAuth: []
  25498. summary: 查询合约交易买卖大厅详情
  25499. tags:
  25500. - 仓单贸易v2
  25501. /WrTrade2/QueryWrBuybackDetail:
  25502. get:
  25503. parameters:
  25504. - description: 融资合同id
  25505. in: query
  25506. name: scfcontractid
  25507. type: integer
  25508. produces:
  25509. - application/json
  25510. responses:
  25511. "200":
  25512. description: OK
  25513. schema:
  25514. items:
  25515. $ref: '#/definitions/models.WrBuybackDetail'
  25516. type: array
  25517. "500":
  25518. description: Internal Server Error
  25519. schema:
  25520. $ref: '#/definitions/app.Response'
  25521. security:
  25522. - ApiKeyAuth: []
  25523. summary: 查询仓单回购明细
  25524. tags:
  25525. - 仓单贸易v2
  25526. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  25527. get:
  25528. parameters:
  25529. - description: 资金账号
  25530. in: query
  25531. name: accountid
  25532. required: true
  25533. type: integer
  25534. - description: 商品id
  25535. in: query
  25536. name: goodsid
  25537. required: true
  25538. type: integer
  25539. produces:
  25540. - application/json
  25541. responses:
  25542. "200":
  25543. description: OK
  25544. schema:
  25545. items:
  25546. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  25547. type: array
  25548. "500":
  25549. description: Internal Server Error
  25550. schema:
  25551. $ref: '#/definitions/app.Response'
  25552. security:
  25553. - ApiKeyAuth: []
  25554. summary: 查询合约交收可点选仓单
  25555. tags:
  25556. - 仓单贸易v2
  25557. /WrTrade2/QueryWrDeliveryDetail:
  25558. get:
  25559. parameters:
  25560. - description: 用户id
  25561. in: query
  25562. name: userid
  25563. required: true
  25564. type: integer
  25565. - description: 资金账号id
  25566. in: query
  25567. name: accountid
  25568. type: integer
  25569. produces:
  25570. - application/json
  25571. responses:
  25572. "200":
  25573. description: OK
  25574. schema:
  25575. items:
  25576. $ref: '#/definitions/models.WrDeliveryDetail'
  25577. type: array
  25578. "500":
  25579. description: Internal Server Error
  25580. schema:
  25581. $ref: '#/definitions/app.Response'
  25582. security:
  25583. - ApiKeyAuth: []
  25584. summary: 查询交收
  25585. tags:
  25586. - 仓单贸易v2
  25587. /WrTrade2/QueryWrFactorTypeInfo:
  25588. get:
  25589. parameters:
  25590. - description: 仓单要素id
  25591. in: query
  25592. name: wrfactortypeid
  25593. required: true
  25594. type: integer
  25595. produces:
  25596. - application/json
  25597. responses:
  25598. "200":
  25599. description: OK
  25600. schema:
  25601. items:
  25602. $ref: '#/definitions/models.WrFactorTypeInfo'
  25603. type: array
  25604. "500":
  25605. description: Internal Server Error
  25606. schema:
  25607. $ref: '#/definitions/app.Response'
  25608. security:
  25609. - ApiKeyAuth: []
  25610. summary: 查询仓单要素详细信息
  25611. tags:
  25612. - 仓单贸易v2
  25613. /WrTrade2/QueryWrFactorTypeInfoEx:
  25614. get:
  25615. parameters:
  25616. - description: 仓单要素id
  25617. in: query
  25618. name: wrfactortypeid
  25619. required: true
  25620. type: integer
  25621. produces:
  25622. - application/json
  25623. responses:
  25624. "200":
  25625. description: OK
  25626. schema:
  25627. items:
  25628. $ref: '#/definitions/models.WrTypeItem'
  25629. type: array
  25630. "500":
  25631. description: Internal Server Error
  25632. schema:
  25633. $ref: '#/definitions/app.Response'
  25634. security:
  25635. - ApiKeyAuth: []
  25636. summary: 查询仓单要素详细信息列表项
  25637. tags:
  25638. - 仓单贸易v2
  25639. /WrTrade2/QueryWrFinanceBuyApply:
  25640. get:
  25641. description: 页面 融资信息+ / 申请单
  25642. parameters:
  25643. - description: 用户id
  25644. in: query
  25645. name: userid
  25646. required: true
  25647. type: integer
  25648. produces:
  25649. - application/json
  25650. responses:
  25651. "200":
  25652. description: OK
  25653. schema:
  25654. items:
  25655. $ref: '#/definitions/models.WrFinanceBuyApply'
  25656. type: array
  25657. "500":
  25658. description: Internal Server Error
  25659. schema:
  25660. $ref: '#/definitions/app.Response'
  25661. security:
  25662. - ApiKeyAuth: []
  25663. summary: 查询融资购买申请
  25664. tags:
  25665. - 仓单贸易v2
  25666. /WrTrade2/QueryWrFriendApply:
  25667. get:
  25668. parameters:
  25669. - description: 用户id
  25670. in: query
  25671. name: userid
  25672. required: true
  25673. type: integer
  25674. produces:
  25675. - application/json
  25676. responses:
  25677. "200":
  25678. description: OK
  25679. schema:
  25680. items:
  25681. $ref: '#/definitions/models.WrFriendApply'
  25682. type: array
  25683. "500":
  25684. description: Internal Server Error
  25685. schema:
  25686. $ref: '#/definitions/app.Response'
  25687. security:
  25688. - ApiKeyAuth: []
  25689. summary: 查询好友申请记录
  25690. tags:
  25691. - 仓单贸易v2
  25692. /WrTrade2/QueryWrGoodsInfo:
  25693. get:
  25694. parameters:
  25695. - description: 仓单贸易市场id
  25696. in: query
  25697. name: marketid
  25698. type: integer
  25699. - description: 0:仓单预售 1:仓单贸易
  25700. in: query
  25701. name: haswr
  25702. required: true
  25703. type: integer
  25704. - description: 仓单要素id
  25705. in: query
  25706. name: wrfactortypeid
  25707. required: true
  25708. type: integer
  25709. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25710. in: query
  25711. name: tmplateid
  25712. type: integer
  25713. produces:
  25714. - application/json
  25715. responses:
  25716. "200":
  25717. description: OK
  25718. schema:
  25719. items:
  25720. $ref: '#/definitions/models.WrGoodsInfo'
  25721. type: array
  25722. "500":
  25723. description: Internal Server Error
  25724. schema:
  25725. $ref: '#/definitions/app.Response'
  25726. security:
  25727. - ApiKeyAuth: []
  25728. summary: 查询仓单商品信息
  25729. tags:
  25730. - 仓单贸易v2
  25731. /WrTrade2/QueryWrMarketTradeConfig:
  25732. get:
  25733. parameters:
  25734. - description: 市场id
  25735. in: query
  25736. name: marketid
  25737. type: integer
  25738. produces:
  25739. - application/json
  25740. responses:
  25741. "200":
  25742. description: OK
  25743. schema:
  25744. items:
  25745. $ref: '#/definitions/models.WrMarketTradeConfig'
  25746. type: array
  25747. "500":
  25748. description: Internal Server Error
  25749. schema:
  25750. $ref: '#/definitions/app.Response'
  25751. security:
  25752. - ApiKeyAuth: []
  25753. summary: 查询市场交易参数配置
  25754. tags:
  25755. - 仓单贸易v2
  25756. /WrTrade2/QueryWrOrderDetail:
  25757. get:
  25758. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25759. parameters:
  25760. - description: 页码
  25761. in: query
  25762. name: page
  25763. type: integer
  25764. - description: 每页条数
  25765. in: query
  25766. name: pagesize
  25767. type: integer
  25768. - description: 用户id
  25769. in: query
  25770. name: userid
  25771. required: true
  25772. type: integer
  25773. - description: 仓单贸易市场id
  25774. in: query
  25775. name: marketid
  25776. type: integer
  25777. - description: 0:仓单预售 1:仓单贸易
  25778. in: query
  25779. name: haswr
  25780. required: true
  25781. type: integer
  25782. produces:
  25783. - application/json
  25784. responses:
  25785. "200":
  25786. description: OK
  25787. schema:
  25788. items:
  25789. $ref: '#/definitions/models.WrOrderDetail'
  25790. type: array
  25791. "500":
  25792. description: Internal Server Error
  25793. schema:
  25794. $ref: '#/definitions/app.Response'
  25795. security:
  25796. - ApiKeyAuth: []
  25797. summary: 查询仓单委托单(挂单)
  25798. tags:
  25799. - 仓单贸易v2
  25800. /WrTrade2/QueryWrOutInApply:
  25801. get:
  25802. parameters:
  25803. - description: 用户id
  25804. in: query
  25805. name: userid
  25806. required: true
  25807. type: integer
  25808. produces:
  25809. - application/json
  25810. responses:
  25811. "200":
  25812. description: OK
  25813. schema:
  25814. items:
  25815. $ref: '#/definitions/models.WrOutInApply'
  25816. type: array
  25817. "500":
  25818. description: Internal Server Error
  25819. schema:
  25820. $ref: '#/definitions/app.Response'
  25821. security:
  25822. - ApiKeyAuth: []
  25823. summary: 查询提货申请
  25824. tags:
  25825. - 仓单贸易v2
  25826. /WrTrade2/QueryWrPerformancePlanStep:
  25827. get:
  25828. parameters:
  25829. - description: 履约计划id(performanceplanid)
  25830. in: query
  25831. name: planid
  25832. required: true
  25833. type: integer
  25834. - description: 当前步骤id
  25835. in: query
  25836. name: curstepid
  25837. type: integer
  25838. produces:
  25839. - application/json
  25840. responses:
  25841. "200":
  25842. description: OK
  25843. schema:
  25844. items:
  25845. $ref: '#/definitions/models.WrPerformancePlanStep'
  25846. type: array
  25847. "500":
  25848. description: Internal Server Error
  25849. schema:
  25850. $ref: '#/definitions/app.Response'
  25851. security:
  25852. - ApiKeyAuth: []
  25853. summary: 查询履约信息详情
  25854. tags:
  25855. - 仓单贸易v2
  25856. /WrTrade2/QueryWrPerformanceStepType:
  25857. get:
  25858. produces:
  25859. - application/json
  25860. responses:
  25861. "200":
  25862. description: OK
  25863. schema:
  25864. items:
  25865. $ref: '#/definitions/models.WrPerformanceStepType'
  25866. type: array
  25867. "500":
  25868. description: Internal Server Error
  25869. schema:
  25870. $ref: '#/definitions/app.Response'
  25871. security:
  25872. - ApiKeyAuth: []
  25873. summary: 查询履约步骤枚举
  25874. tags:
  25875. - 仓单贸易v2
  25876. /WrTrade2/QueryWrPosition:
  25877. get:
  25878. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  25879. parameters:
  25880. - description: 用户id
  25881. in: query
  25882. name: userid
  25883. required: true
  25884. type: integer
  25885. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  25886. in: query
  25887. name: querytype
  25888. required: true
  25889. type: integer
  25890. - description: 0:仓单预售 1:仓单贸易
  25891. in: query
  25892. name: haswr
  25893. required: true
  25894. type: integer
  25895. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25896. in: query
  25897. name: dgitemname
  25898. type: string
  25899. - description: 仓库id(筛选条件)
  25900. in: query
  25901. name: warehouseid
  25902. type: integer
  25903. - description: 品种id
  25904. in: query
  25905. name: deliverygoodsid
  25906. type: integer
  25907. - description: 品类id
  25908. in: query
  25909. name: wrstandardid
  25910. type: integer
  25911. produces:
  25912. - application/json
  25913. responses:
  25914. "200":
  25915. description: OK
  25916. schema:
  25917. items:
  25918. $ref: '#/definitions/models.WrPosition'
  25919. type: array
  25920. "500":
  25921. description: Internal Server Error
  25922. schema:
  25923. $ref: '#/definitions/app.Response'
  25924. security:
  25925. - ApiKeyAuth: []
  25926. summary: 查询现货(预售)仓单持仓
  25927. tags:
  25928. - 仓单贸易v2
  25929. /WrTrade2/QueryWrScfContract:
  25930. get:
  25931. parameters:
  25932. - description: 用户id
  25933. in: query
  25934. name: userid
  25935. required: true
  25936. type: integer
  25937. - description: 融资合同id
  25938. in: query
  25939. name: scfcontractid
  25940. type: integer
  25941. produces:
  25942. - application/json
  25943. responses:
  25944. "200":
  25945. description: OK
  25946. schema:
  25947. items:
  25948. $ref: '#/definitions/models.WrScfContract'
  25949. type: array
  25950. "500":
  25951. description: Internal Server Error
  25952. schema:
  25953. $ref: '#/definitions/app.Response'
  25954. security:
  25955. - ApiKeyAuth: []
  25956. summary: 查询仓单贸易融资合同
  25957. tags:
  25958. - 仓单贸易v2
  25959. /WrTrade2/QueryWrScfContractInterest:
  25960. get:
  25961. parameters:
  25962. - description: 融资合同id
  25963. in: query
  25964. name: scfcontractid
  25965. type: integer
  25966. produces:
  25967. - application/json
  25968. responses:
  25969. "200":
  25970. description: OK
  25971. schema:
  25972. items:
  25973. $ref: '#/definitions/models.WrScfContractInterest'
  25974. type: array
  25975. "500":
  25976. description: Internal Server Error
  25977. schema:
  25978. $ref: '#/definitions/app.Response'
  25979. security:
  25980. - ApiKeyAuth: []
  25981. summary: 查询融资合同费用明细
  25982. tags:
  25983. - 仓单贸易v2
  25984. /WrTrade2/QueryWrSpecialMatchOrder:
  25985. get:
  25986. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  25987. parameters:
  25988. - description: 页码
  25989. in: query
  25990. name: page
  25991. type: integer
  25992. - description: 每页条数
  25993. in: query
  25994. name: pagesize
  25995. type: integer
  25996. - description: 用户id
  25997. in: query
  25998. name: userid
  25999. required: true
  26000. type: integer
  26001. - description: 仓单贸易市场id
  26002. in: query
  26003. name: marketid
  26004. type: integer
  26005. - description: 0:仓单预售 1:仓单贸易
  26006. in: query
  26007. name: haswr
  26008. required: true
  26009. type: integer
  26010. produces:
  26011. - application/json
  26012. responses:
  26013. "200":
  26014. description: OK
  26015. schema:
  26016. items:
  26017. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26018. type: array
  26019. "500":
  26020. description: Internal Server Error
  26021. schema:
  26022. $ref: '#/definitions/app.Response'
  26023. security:
  26024. - ApiKeyAuth: []
  26025. summary: 查询指定成交
  26026. tags:
  26027. - 仓单贸易v2
  26028. /WrTrade2/QueryWrStandardFactoryItem:
  26029. get:
  26030. parameters:
  26031. - description: 品类id
  26032. in: query
  26033. name: wrstandardid
  26034. required: true
  26035. type: integer
  26036. produces:
  26037. - application/json
  26038. responses:
  26039. "200":
  26040. description: OK
  26041. schema:
  26042. items:
  26043. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  26044. type: array
  26045. "500":
  26046. description: Internal Server Error
  26047. schema:
  26048. $ref: '#/definitions/app.Response'
  26049. security:
  26050. - ApiKeyAuth: []
  26051. summary: 查询品类要素定义项
  26052. tags:
  26053. - 仓单贸易v2
  26054. /WrTrade2/QueryWrTradeBargainApply:
  26055. get:
  26056. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid
  26057. 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  26058. parameters:
  26059. - description: 议价人id(摘牌方)
  26060. in: query
  26061. name: userid
  26062. type: integer
  26063. - description: 关联委托单id
  26064. in: query
  26065. name: wrtradeorderid
  26066. type: integer
  26067. - description: 0:仓单预售 1:仓单贸易
  26068. in: query
  26069. name: haswr
  26070. required: true
  26071. type: integer
  26072. produces:
  26073. - application/json
  26074. responses:
  26075. "200":
  26076. description: OK
  26077. schema:
  26078. items:
  26079. $ref: '#/definitions/models.WRTradeBargainApply'
  26080. type: array
  26081. "500":
  26082. description: Internal Server Error
  26083. schema:
  26084. $ref: '#/definitions/app.Response'
  26085. security:
  26086. - ApiKeyAuth: []
  26087. summary: 查询议价单
  26088. tags:
  26089. - 仓单贸易v2
  26090. /WrTrade2/QueryWrTradeDetail:
  26091. get:
  26092. parameters:
  26093. - description: 页码
  26094. in: query
  26095. name: page
  26096. type: integer
  26097. - description: 每页条数
  26098. in: query
  26099. name: pagesize
  26100. type: integer
  26101. - description: 用户id
  26102. in: query
  26103. name: userid
  26104. required: true
  26105. type: integer
  26106. - description: 仓单贸易市场id
  26107. in: query
  26108. name: marketid
  26109. type: integer
  26110. - description: 0:仓单预售 1:仓单贸易
  26111. in: query
  26112. name: haswr
  26113. required: true
  26114. type: integer
  26115. produces:
  26116. - application/json
  26117. responses:
  26118. "200":
  26119. description: OK
  26120. schema:
  26121. items:
  26122. $ref: '#/definitions/models.WrTradeDetail'
  26123. type: array
  26124. "500":
  26125. description: Internal Server Error
  26126. schema:
  26127. $ref: '#/definitions/app.Response'
  26128. security:
  26129. - ApiKeyAuth: []
  26130. summary: 查询仓单成交明细
  26131. tags:
  26132. - 仓单贸易v2
  26133. /WrTrade2/QueryWrTradeOrderDetail:
  26134. get:
  26135. parameters:
  26136. - description: 页码
  26137. in: query
  26138. name: page
  26139. type: integer
  26140. - description: 每页条数
  26141. in: query
  26142. name: pagesize
  26143. type: integer
  26144. - description: 商品id
  26145. in: query
  26146. name: goodsid
  26147. required: true
  26148. type: integer
  26149. - description: 买卖方向 0-买 1-卖
  26150. in: query
  26151. name: buyorsell
  26152. required: true
  26153. type: integer
  26154. produces:
  26155. - application/json
  26156. responses:
  26157. "200":
  26158. description: OK
  26159. schema:
  26160. items:
  26161. $ref: '#/definitions/models.WrTradeOrderDetail'
  26162. type: array
  26163. "500":
  26164. description: Internal Server Error
  26165. schema:
  26166. $ref: '#/definitions/app.Response'
  26167. security:
  26168. - ApiKeyAuth: []
  26169. summary: 查询合约交易买卖大厅
  26170. tags:
  26171. - 仓单贸易v2
  26172. /WrTrade2/QueryWrUserFriend:
  26173. get:
  26174. parameters:
  26175. - description: 用户id
  26176. in: query
  26177. name: userid
  26178. required: true
  26179. type: integer
  26180. - description: 新朋友userid, 如果填写了此项则查找新朋友
  26181. in: query
  26182. name: newuserid
  26183. type: integer
  26184. produces:
  26185. - application/json
  26186. responses:
  26187. "200":
  26188. description: OK
  26189. schema:
  26190. items:
  26191. $ref: '#/definitions/models.WrUserFriend'
  26192. type: array
  26193. "500":
  26194. description: Internal Server Error
  26195. schema:
  26196. $ref: '#/definitions/app.Response'
  26197. security:
  26198. - ApiKeyAuth: []
  26199. summary: 查询我的朋友
  26200. tags:
  26201. - 仓单贸易v2
  26202. securityDefinitions:
  26203. ApiKeyAuth:
  26204. in: header
  26205. name: Authorization
  26206. type: apiKey
  26207. swagger: "2.0"