swagger.yaml 648 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532
  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. goodscode:
  863. description: 商品代码
  864. type: string
  865. goodsid:
  866. description: 交易合约ID
  867. type: integer
  868. goodsname:
  869. description: 商品名称
  870. type: string
  871. marketid:
  872. description: 市场ID
  873. type: integer
  874. mindeliveryqty:
  875. description: 最小交割系数(K)
  876. type: integer
  877. p2deliveryprice:
  878. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  879. type: number
  880. p2deliveryratio:
  881. description: P2合约系数(p)
  882. type: integer
  883. p2goodsid:
  884. description: P2合约ID
  885. type: integer
  886. p2pricemode:
  887. description: P2合约价格方式 - 1:商品价 2:固定值
  888. type: integer
  889. pdeliveryprice:
  890. description: P合约价格(商品价时填写0,固定值时填写固定值)
  891. type: number
  892. pdeliveryratio:
  893. description: P合约系数(n)
  894. type: integer
  895. pgoodsid:
  896. description: P合约ID
  897. type: integer
  898. ppricemode:
  899. description: P合约价格方式 - 1:商品价 2:固定值
  900. type: integer
  901. rratio:
  902. description: 兑换系数(R)
  903. type: integer
  904. rratio1:
  905. description: 兑换系数(交易合约)(R1)
  906. type: integer
  907. rratio2:
  908. description: 兑换系数(仓单标准)(R2)
  909. type: integer
  910. selltemplateid:
  911. description: 卖履约计划模板ID
  912. type: integer
  913. wrstandardid:
  914. description: 仓单标准ID
  915. type: integer
  916. xdeliveryratio:
  917. description: 交易合约系数(m)
  918. type: integer
  919. required:
  920. - begindate
  921. - enddate
  922. - goodsid
  923. - mindeliveryqty
  924. - xdeliveryratio
  925. type: object
  926. ermcp.ExposureDetailRsp:
  927. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  928. ermcp.ExposureHedgePosDetailRsp:
  929. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  930. ermcp.ExposureHedgePositionRsp:
  931. $ref: '#/definitions/models.ErmcpHedgePosition'
  932. ermcp.ExposureSpotDetailRsp:
  933. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  934. ermcp.ExposureSpotRsp:
  935. $ref: '#/definitions/models.AreaSpotModel'
  936. ermcp.HisExposureRsp:
  937. $ref: '#/definitions/models.ErmcpHisExposureS'
  938. ermcp.PendingAuditCntRsp:
  939. $ref: '#/definitions/models.ErmcpPendingAudit'
  940. ermcp.QryAvalidGPRsp:
  941. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  942. ermcp.QryBusinessDjRsp:
  943. properties:
  944. amount:
  945. description: 点价金额=(点价价格+升贴水)*点价数量
  946. type: number
  947. applyid:
  948. description: 申请人
  949. type: string
  950. applyname:
  951. description: 申请人名称
  952. type: string
  953. applystatus:
  954. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  955. type: integer
  956. applytime:
  957. description: 申请时间
  958. type: string
  959. attachurl:
  960. description: 附件
  961. type: string
  962. auditid:
  963. description: 审核人ID
  964. type: string
  965. auditname:
  966. description: 审核人名称
  967. type: string
  968. audittime:
  969. description: 审核时间
  970. type: string
  971. buyusername:
  972. description: 采购方名称
  973. type: string
  974. contractno:
  975. description: 合同编号
  976. type: string
  977. contractstatus:
  978. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  979. type: integer
  980. contracttype:
  981. description: 现货合同类型 - 1:采购 -1:销售
  982. type: integer
  983. deliverygoodscode:
  984. description: 现货品种代码
  985. type: string
  986. deliverygoodsid:
  987. description: 现货商品ID
  988. type: integer
  989. deliverygoodsname:
  990. description: 现货品种名称
  991. type: string
  992. enumdicname:
  993. description: 单位名称
  994. type: string
  995. goodscode:
  996. description: 点价合约
  997. type: string
  998. goodsname:
  999. description: 商品名称
  1000. type: string
  1001. operateapplyid:
  1002. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1003. type: string
  1004. operateapplytype:
  1005. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1006. type: integer
  1007. pricedPrice:
  1008. description: 点价价格(非必填)
  1009. type: number
  1010. pricedQty:
  1011. description: 点价数量(非必填)
  1012. type: number
  1013. pricemove:
  1014. description: 升贴水
  1015. type: number
  1016. pricetype:
  1017. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1018. type: integer
  1019. relatedid:
  1020. description: 现货合同ID
  1021. type: string
  1022. sellusername:
  1023. description: 销售方名字
  1024. type: string
  1025. userid:
  1026. description: 用户ID
  1027. type: integer
  1028. wrstandardcode:
  1029. description: 品类代码
  1030. type: string
  1031. wrstandardid:
  1032. description: 品类id
  1033. type: integer
  1034. wrstandardname:
  1035. description: 品类名称
  1036. type: string
  1037. type: object
  1038. ermcp.QryBussinessFpRsp:
  1039. properties:
  1040. applyid:
  1041. description: 申请人
  1042. type: string
  1043. applyname:
  1044. description: 申请人名称
  1045. type: string
  1046. applystatus:
  1047. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1048. type: integer
  1049. applytime:
  1050. description: 申请时间
  1051. type: string
  1052. attachurl:
  1053. description: 附件
  1054. type: string
  1055. auditid:
  1056. description: 审核人ID
  1057. type: string
  1058. auditname:
  1059. description: 审核人名称
  1060. type: string
  1061. audittime:
  1062. description: 审核时间
  1063. type: string
  1064. buyusername:
  1065. description: 采购方名称
  1066. type: string
  1067. contractno:
  1068. description: 合同编号
  1069. type: string
  1070. contractstatus:
  1071. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1072. type: integer
  1073. contracttype:
  1074. description: 现货合同类型 - 1:采购 -1:销售
  1075. type: integer
  1076. deliverygoodscode:
  1077. description: 现货品种代码
  1078. type: string
  1079. deliverygoodsid:
  1080. description: 现货商品ID
  1081. type: integer
  1082. deliverygoodsname:
  1083. description: 现货品种名称
  1084. type: string
  1085. enumdicname:
  1086. description: 单位名称
  1087. type: string
  1088. goodscode:
  1089. description: 点价合约
  1090. type: string
  1091. goodsname:
  1092. description: 商品名称
  1093. type: string
  1094. invoiceAmount:
  1095. description: 已开收票金额(销售为开票,采购为收票)
  1096. type: number
  1097. operateapplyid:
  1098. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1099. type: string
  1100. operateapplytype:
  1101. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1102. type: integer
  1103. pricemove:
  1104. description: 升贴水
  1105. type: number
  1106. pricetype:
  1107. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1108. type: integer
  1109. relatedid:
  1110. description: 现货合同ID
  1111. type: string
  1112. sellusername:
  1113. description: 销售方名字
  1114. type: string
  1115. userid:
  1116. description: 用户ID
  1117. type: integer
  1118. wrstandardcode:
  1119. description: 品类代码
  1120. type: string
  1121. wrstandardid:
  1122. description: 品类id
  1123. type: integer
  1124. wrstandardname:
  1125. description: 品类名称
  1126. type: string
  1127. type: object
  1128. ermcp.QryBussinessJsExRsp:
  1129. properties:
  1130. applyid:
  1131. description: 申请人
  1132. type: string
  1133. applyname:
  1134. description: 申请人名称
  1135. type: string
  1136. applystatus:
  1137. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1138. type: integer
  1139. applytime:
  1140. description: 申请时间
  1141. type: string
  1142. attachurl:
  1143. description: 附件
  1144. type: string
  1145. auditid:
  1146. description: 审核人ID
  1147. type: string
  1148. auditname:
  1149. description: 审核人名称
  1150. type: string
  1151. audittime:
  1152. description: 审核时间
  1153. type: string
  1154. buyusername:
  1155. description: 采购方名称
  1156. type: string
  1157. contractno:
  1158. description: 合同编号
  1159. type: string
  1160. contractstatus:
  1161. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1162. type: integer
  1163. contracttype:
  1164. description: 现货合同类型 - 1:采购 -1:销售
  1165. type: integer
  1166. deliverygoodscode:
  1167. description: 现货品种代码
  1168. type: string
  1169. deliverygoodsid:
  1170. description: 现货商品ID
  1171. type: integer
  1172. deliverygoodsname:
  1173. description: 现货品种名称
  1174. type: string
  1175. enumdicname:
  1176. description: 单位名称
  1177. type: string
  1178. goodscode:
  1179. description: 点价合约
  1180. type: string
  1181. goodsname:
  1182. description: 商品名称
  1183. type: string
  1184. operateapplyid:
  1185. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1186. type: string
  1187. operateapplytype:
  1188. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1189. type: integer
  1190. pricemove:
  1191. description: 升贴水
  1192. type: number
  1193. pricetype:
  1194. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1195. type: integer
  1196. reckontype:
  1197. description: 结算类型
  1198. type: string
  1199. reckonvalue:
  1200. description: 值
  1201. type: number
  1202. relatedid:
  1203. description: 现货合同ID
  1204. type: string
  1205. sellusername:
  1206. description: 销售方名字
  1207. type: string
  1208. userid:
  1209. description: 用户ID
  1210. type: integer
  1211. wrstandardcode:
  1212. description: 品类代码
  1213. type: string
  1214. wrstandardid:
  1215. description: 品类id
  1216. type: integer
  1217. wrstandardname:
  1218. description: 品类名称
  1219. type: string
  1220. type: object
  1221. ermcp.QryBussinessJsRsp:
  1222. properties:
  1223. addmargin:
  1224. description: 追加保证金(非必填)
  1225. type: number
  1226. applyid:
  1227. description: 申请人
  1228. type: string
  1229. applyname:
  1230. description: 申请人名称
  1231. type: string
  1232. applystatus:
  1233. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1234. type: integer
  1235. applytime:
  1236. description: 申请时间
  1237. type: string
  1238. attachurl:
  1239. description: 附件
  1240. type: string
  1241. auditid:
  1242. description: 审核人ID
  1243. type: string
  1244. auditname:
  1245. description: 审核人名称
  1246. type: string
  1247. audittime:
  1248. description: 审核时间
  1249. type: string
  1250. buyusername:
  1251. description: 采购方名称
  1252. type: string
  1253. contractno:
  1254. description: 合同编号
  1255. type: string
  1256. contractstatus:
  1257. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1258. type: integer
  1259. contracttype:
  1260. description: 现货合同类型 - 1:采购 -1:销售
  1261. type: integer
  1262. decmargin:
  1263. description: 减少保证金(非必填)
  1264. type: number
  1265. deliverygoodscode:
  1266. description: 现货品种代码
  1267. type: string
  1268. deliverygoodsid:
  1269. description: 现货商品ID
  1270. type: integer
  1271. deliverygoodsname:
  1272. description: 现货品种名称
  1273. type: string
  1274. enumdicname:
  1275. description: 单位名称
  1276. type: string
  1277. goodscode:
  1278. description: 点价合约
  1279. type: string
  1280. goodsname:
  1281. description: 商品名称
  1282. type: string
  1283. operateapplyid:
  1284. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1285. type: string
  1286. operateapplytype:
  1287. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1288. type: integer
  1289. pricemove:
  1290. description: 升贴水
  1291. type: number
  1292. pricetype:
  1293. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1294. type: integer
  1295. reckonadjustamount:
  1296. description: 结算调整金额(非必填)
  1297. type: number
  1298. reckonosamount:
  1299. description: 结算溢短金额(非必填)
  1300. type: number
  1301. reckonotheramount:
  1302. description: 结算其他费用(非必填)
  1303. type: number
  1304. reckonrealqty:
  1305. description: 结算实际数量(非必填)
  1306. type: number
  1307. relatedid:
  1308. description: 现货合同ID
  1309. type: string
  1310. sellusername:
  1311. description: 销售方名字
  1312. type: string
  1313. userid:
  1314. description: 用户ID
  1315. type: integer
  1316. wrstandardcode:
  1317. description: 品类代码
  1318. type: string
  1319. wrstandardid:
  1320. description: 品类id
  1321. type: integer
  1322. wrstandardname:
  1323. description: 品类名称
  1324. type: string
  1325. type: object
  1326. ermcp.QryBussinessKxRsp:
  1327. properties:
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deductamount:
  1365. description: 退款(非必填)
  1366. type: number
  1367. deliverygoodscode:
  1368. description: 现货品种代码
  1369. type: string
  1370. deliverygoodsid:
  1371. description: 现货商品ID
  1372. type: integer
  1373. deliverygoodsname:
  1374. description: 现货品种名称
  1375. type: string
  1376. enumdicname:
  1377. description: 单位名称
  1378. type: string
  1379. goodscode:
  1380. description: 点价合约
  1381. type: string
  1382. goodsname:
  1383. description: 商品名称
  1384. type: string
  1385. kxtype:
  1386. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1387. type: integer
  1388. operateapplyid:
  1389. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1390. type: string
  1391. operateapplytype:
  1392. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1393. type: integer
  1394. payamount:
  1395. description: 收付款(非必填)
  1396. type: number
  1397. pricemove:
  1398. description: 升贴水
  1399. type: number
  1400. pricetype:
  1401. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1402. type: integer
  1403. relatedid:
  1404. description: 现货合同ID
  1405. type: string
  1406. sellusername:
  1407. description: 销售方名字
  1408. type: string
  1409. userid:
  1410. description: 用户ID
  1411. type: integer
  1412. wrstandardcode:
  1413. description: 品类代码
  1414. type: string
  1415. wrstandardid:
  1416. description: 品类id
  1417. type: integer
  1418. wrstandardname:
  1419. description: 品类名称
  1420. type: string
  1421. type: object
  1422. ermcp.QryGGCovertCfgRsp:
  1423. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryUserInfoRsp:
  1433. $ref: '#/definitions/models.ErmcpUserModel'
  1434. ermcp.QryWarehouseRsp:
  1435. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1436. ermcp.QueryErmcpTradePositionRsp:
  1437. properties:
  1438. agreeunit:
  1439. description: 合约单位
  1440. type: number
  1441. buyorsell:
  1442. description: 方向 - 0:买 1:卖
  1443. type: integer
  1444. curpositionqty:
  1445. description: 持仓(总仓数量, 期末头寸)
  1446. type: integer
  1447. curtdposition:
  1448. description: 今仓数量(期末今日头寸)
  1449. type: integer
  1450. curtdpositionenabled:
  1451. description: 今仓可用
  1452. type: integer
  1453. decimalplace:
  1454. description: 报价小数位
  1455. type: integer
  1456. enableqty:
  1457. description: 可用(总仓可用)
  1458. type: integer
  1459. exexchangename:
  1460. description: 外部交易所名称
  1461. type: string
  1462. goodscode:
  1463. description: 商品代码(内部)
  1464. type: string
  1465. goodsid:
  1466. description: 商品ID(自增ID SEQ_GOODS)
  1467. type: integer
  1468. goodsname:
  1469. description: 商品名称
  1470. type: string
  1471. last:
  1472. description: 现价
  1473. type: number
  1474. marketid:
  1475. description: 所属市场ID
  1476. type: integer
  1477. openaverageprice:
  1478. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1479. type: number
  1480. opencost:
  1481. description: 开仓成本
  1482. type: number
  1483. openpl:
  1484. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1485. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1486. type: number
  1487. outgoodscode:
  1488. description: 商品代码(外部)
  1489. type: string
  1490. positionaverageprice:
  1491. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1492. type: number
  1493. positioncost:
  1494. description: 持仓成本
  1495. type: number
  1496. positionpl:
  1497. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1498. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1499. type: number
  1500. positionplrate:
  1501. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1502. type: number
  1503. usedmargin:
  1504. description: 占用保证金
  1505. type: number
  1506. type: object
  1507. ermcp.RealtimeExposurePositionRsp:
  1508. $ref: '#/definitions/models.ErmcpExposurePostion'
  1509. ermcp.RealtimeExposureRsp:
  1510. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1511. erms2.QueryArbitrageStrategyRsp:
  1512. properties:
  1513. applybasis:
  1514. description: 申请基差
  1515. type: number
  1516. asapplyid:
  1517. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1518. type: string
  1519. asname:
  1520. description: 策略名称
  1521. type: string
  1522. asno:
  1523. description: 策略编号
  1524. type: string
  1525. basischangepl:
  1526. description: 基差变动损益[结算更新]
  1527. type: number
  1528. biztype:
  1529. description: 业务类型 - 1:正向套利 -1:反向套利
  1530. type: integer
  1531. closetradedate:
  1532. description: 完结交易日(yyyyMMdd)
  1533. type: string
  1534. curbasis:
  1535. description: 当前基差[结算更新]
  1536. type: number
  1537. deliverygoodsid:
  1538. description: 现货品种ID
  1539. type: integer
  1540. futureavgprice:
  1541. description: 期货建仓均价
  1542. type: number
  1543. futurecloseamount:
  1544. description: 期货平仓金额
  1545. type: number
  1546. futurecloseqty:
  1547. description: 期货平仓数量
  1548. type: number
  1549. futureopenamount:
  1550. description: 期货开仓金额
  1551. type: number
  1552. futureopenqty:
  1553. description: 期货开仓数量
  1554. type: number
  1555. futurepl:
  1556. description: 期货总盈亏[结算更新]
  1557. type: number
  1558. futureqty:
  1559. description: 期货持仓数量
  1560. type: number
  1561. futurequote:
  1562. description: 期货额度
  1563. type: number
  1564. goodsgroupid:
  1565. description: 期货品种ID
  1566. type: integer
  1567. marketid:
  1568. description: 市场ID
  1569. type: integer
  1570. netexposure:
  1571. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1572. type: number
  1573. netexposurepl:
  1574. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1575. type: number
  1576. netexposurerate:
  1577. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1578. type: number
  1579. openbasis:
  1580. description: 建仓基差
  1581. type: number
  1582. pricedspotqty:
  1583. description: 已定价现货数量
  1584. type: number
  1585. pricedspotqtynotax:
  1586. description: 已定价现货不含税数量
  1587. type: number
  1588. remark:
  1589. description: 备注
  1590. type: string
  1591. spotavgprice:
  1592. description: 现货均价
  1593. type: number
  1594. spotbuyamount:
  1595. description: 现货采购金额
  1596. type: number
  1597. spotbuyqty:
  1598. description: 现货采购数量
  1599. type: number
  1600. spotpl:
  1601. description: 现货总盈亏[结算更新]
  1602. type: number
  1603. spotquota:
  1604. description: 现货额度
  1605. type: number
  1606. spotsellamount:
  1607. description: 现货销售金额
  1608. type: number
  1609. spotsellqty:
  1610. description: 现货销售数量
  1611. type: number
  1612. spotusedquota:
  1613. description: 现货占用资金
  1614. type: number
  1615. strategystatus:
  1616. description: 策略状态 - 0:未结束 1:已结束
  1617. type: integer
  1618. totalpl:
  1619. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1620. type: number
  1621. tradedate:
  1622. description: 交易日(yyyyMMdd)
  1623. type: string
  1624. updatetime:
  1625. description: 更新时间
  1626. type: string
  1627. usedquota:
  1628. description: 已占用资金
  1629. type: number
  1630. userid:
  1631. description: 所属机构
  1632. type: integer
  1633. required:
  1634. - asapplyid
  1635. type: object
  1636. erms2.QueryInnerTradeDetailRsp:
  1637. properties:
  1638. accountid:
  1639. description: 账号ID
  1640. type: integer
  1641. agreeunit:
  1642. description: 合约单位
  1643. type: number
  1644. asapplyid:
  1645. description: 策略申请ID
  1646. type: integer
  1647. asname:
  1648. description: 策略名称
  1649. type: string
  1650. asno:
  1651. description: 策略编号
  1652. type: string
  1653. buyorsell:
  1654. description: 方向 - 0:买 1:卖
  1655. type: integer
  1656. channelbuildtype:
  1657. description: 委托单据类型 0:无 1:建仓 2:平仓
  1658. type: integer
  1659. closetype:
  1660. description: 平仓方式 - 0:无 1:平今 2:平昨
  1661. type: integer
  1662. decimalplace:
  1663. description: 报价小数位
  1664. type: integer
  1665. detailtype:
  1666. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1667. type: integer
  1668. exexchangecode:
  1669. description: 外部交易所代码
  1670. type: string
  1671. exexchangename:
  1672. description: 外部交易所名称
  1673. type: string
  1674. goodscode:
  1675. description: 商品代码(合约)
  1676. type: string
  1677. goodsgroupid:
  1678. description: 商品组ID(品种ID)
  1679. type: integer
  1680. goodsgroupname:
  1681. description: 商品组名称(品种)
  1682. type: string
  1683. goodsid:
  1684. description: 商品ID
  1685. type: integer
  1686. goodsname:
  1687. description: 商品名称(合约)
  1688. type: string
  1689. goodunit:
  1690. description: 报价单位
  1691. type: string
  1692. marketid:
  1693. description: 市场ID
  1694. type: integer
  1695. orderid:
  1696. description: 委托单号
  1697. type: string
  1698. outgoodscode:
  1699. description: 商品代码(外部)
  1700. type: string
  1701. relatedouttradeid:
  1702. description: 关联外部成交单ID
  1703. type: string
  1704. remark:
  1705. description: 备注
  1706. type: string
  1707. spotcontractid:
  1708. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1709. type: integer
  1710. spotcontractno:
  1711. description: 现货合同编号
  1712. type: string
  1713. tradeid:
  1714. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1715. type: string
  1716. tradeprice:
  1717. description: 成交价格
  1718. type: number
  1719. tradeqty:
  1720. description: 成交数量
  1721. type: integer
  1722. tradetime:
  1723. description: 成交时间
  1724. type: string
  1725. updatetime:
  1726. description: 更新时间
  1727. type: string
  1728. required:
  1729. - asapplyid
  1730. - buyorsell
  1731. - goodscode
  1732. - goodsgroupid
  1733. - goodsgroupname
  1734. - goodsname
  1735. - tradeid
  1736. type: object
  1737. erms2.QuerySpotContractRsp:
  1738. properties:
  1739. accountid:
  1740. description: 资金账户ID
  1741. type: integer
  1742. areauserid:
  1743. description: 所属机构
  1744. type: integer
  1745. closedate:
  1746. description: 终止日期
  1747. type: string
  1748. closeremark:
  1749. description: 结束备注
  1750. type: string
  1751. closetradedate:
  1752. description: 完结交易日(yyyyMMdd)
  1753. type: string
  1754. closetype:
  1755. description: 终止类型 - 1:违约 2:提前终止
  1756. type: integer
  1757. contractamount:
  1758. description: 合同金额
  1759. type: number
  1760. contractattachment:
  1761. description: 合同附件
  1762. type: string
  1763. contractno:
  1764. description: 现货合同编号
  1765. type: string
  1766. contractqty:
  1767. description: 合同数量(数值) (用于计算)
  1768. type: number
  1769. contractqtychar:
  1770. description: 合同数量\已订价数量 (用于显示)
  1771. type: string
  1772. contractstatus:
  1773. description: 合同状态 - 0:未结束 1:已结束
  1774. type: integer
  1775. contracttype:
  1776. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1777. type: integer
  1778. customeraccountid:
  1779. description: 客户资金账户ID
  1780. type: integer
  1781. customeruserid:
  1782. description: 客户ID
  1783. type: integer
  1784. deliverygoodsdesc:
  1785. description: 品种说明
  1786. type: string
  1787. deliverygoodsid:
  1788. description: 现货品种ID
  1789. type: integer
  1790. handlestatus:
  1791. description: 处理状态
  1792. type: integer
  1793. invoiceatt:
  1794. description: 发票附件
  1795. type: string
  1796. invoicedatetime:
  1797. description: 开收票更新时间
  1798. type: string
  1799. invoiceopentime:
  1800. description: 开票时间
  1801. type: string
  1802. invoiceremark:
  1803. description: 发票备注
  1804. type: string
  1805. invoicestatus:
  1806. description: 开收票状态 - 0:未开票 1:已开票
  1807. type: integer
  1808. lastdate:
  1809. description: 交货时间
  1810. type: string
  1811. marketid:
  1812. description: 市场ID
  1813. type: integer
  1814. paydatetime:
  1815. description: 收付款更新时间
  1816. type: string
  1817. payremark:
  1818. description: 收付款备注
  1819. type: string
  1820. paystatus:
  1821. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1822. type: integer
  1823. positionqty:
  1824. description: 头寸数量 - 合同数量去小数部分
  1825. type: integer
  1826. producttype:
  1827. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1828. type: integer
  1829. relatedqty:
  1830. description: 已关联数量
  1831. type: number
  1832. relatedstatus:
  1833. description: 关联完结状态 - 0:未结束 1:已结束
  1834. type: integer
  1835. remark:
  1836. description: 备注
  1837. type: string
  1838. signdate:
  1839. description: 签订日期
  1840. type: string
  1841. spotcontractid:
  1842. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1843. type: string
  1844. spotdatetime:
  1845. description: 收发货更新时间
  1846. type: string
  1847. spotprice:
  1848. description: 价格
  1849. type: number
  1850. spotremark:
  1851. description: 收发货备注
  1852. type: string
  1853. spotstatus:
  1854. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1855. type: integer
  1856. tradedate:
  1857. description: 交易日(yyyyMMdd)
  1858. type: string
  1859. userid:
  1860. description: 业务员用户ID
  1861. type: integer
  1862. warehouseid:
  1863. description: 仓库ID
  1864. type: integer
  1865. wrfactortypeid:
  1866. description: 仓单要素类型ID
  1867. type: integer
  1868. wrstandardid:
  1869. description: 仓单标准ID(SEQ_WRSTANDARD)
  1870. type: integer
  1871. required:
  1872. - spotcontractid
  1873. type: object
  1874. erms3.AddErms2ASApplyReq:
  1875. properties:
  1876. applybasis:
  1877. description: 申请基差
  1878. type: number
  1879. applystatus:
  1880. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1881. type: integer
  1882. asapplyid:
  1883. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1884. type: integer
  1885. asname:
  1886. description: 策略名称
  1887. type: string
  1888. asno:
  1889. description: 策略编号
  1890. type: string
  1891. auditid:
  1892. description: 审核人
  1893. type: integer
  1894. auditremark:
  1895. description: 审核备注
  1896. type: string
  1897. audittime:
  1898. description: 审核时间
  1899. type: string
  1900. biztype:
  1901. description: 业务类型 - 1:正向套利 2:反向套利
  1902. type: integer
  1903. createtime:
  1904. description: 创建时间
  1905. type: string
  1906. creatorid:
  1907. description: 创建人
  1908. type: integer
  1909. deliverygoodsid:
  1910. description: 现货品种ID
  1911. type: integer
  1912. futurequote:
  1913. description: 期货额度
  1914. type: number
  1915. goodsgroupid:
  1916. description: 期货品种ID
  1917. type: integer
  1918. marketid:
  1919. description: 市场ID
  1920. type: integer
  1921. remark:
  1922. description: 备注
  1923. type: string
  1924. spotquota:
  1925. description: 现货额度
  1926. type: number
  1927. tradedate:
  1928. description: 交易日(yyyyMMdd)
  1929. type: string
  1930. userid:
  1931. description: 所属机构
  1932. type: integer
  1933. required:
  1934. - asapplyid
  1935. type: object
  1936. erms3.AddErms2SpotTradeApplyReq:
  1937. properties:
  1938. applyjsondetail:
  1939. description: 申请明细(JSON)
  1940. type: string
  1941. applystatus:
  1942. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1943. type: integer
  1944. areauserid:
  1945. description: 所属机构
  1946. type: integer
  1947. auditid:
  1948. description: 审核人
  1949. type: integer
  1950. auditremark:
  1951. description: 审核备注
  1952. type: string
  1953. audittime:
  1954. description: 审核时间
  1955. type: string
  1956. createtime:
  1957. description: 创建时间
  1958. type: string
  1959. creatorid:
  1960. description: 创建人
  1961. type: integer
  1962. deliverygoodsid:
  1963. description: 现货品种ID
  1964. type: integer
  1965. futureaccountid:
  1966. description: 期货资金账户
  1967. type: integer
  1968. goodsgroupid:
  1969. description: 期货品种
  1970. type: integer
  1971. marketid:
  1972. description: 市场ID
  1973. type: integer
  1974. remark:
  1975. description: 备注
  1976. type: string
  1977. spotaccountid:
  1978. description: 现货资金账户
  1979. type: integer
  1980. spottradeid:
  1981. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1982. type: integer
  1983. spottradename:
  1984. description: 业务名称
  1985. type: string
  1986. spottradeno:
  1987. description: 业务编号
  1988. type: string
  1989. tradedate:
  1990. description: 交易日(yyyyMMdd)
  1991. type: string
  1992. wrstandardid:
  1993. description: 仓单标准ID
  1994. type: integer
  1995. required:
  1996. - spottradeid
  1997. type: object
  1998. erms3.AddSpotContractApplyReq:
  1999. properties:
  2000. accountid:
  2001. description: 资金账户ID
  2002. type: integer
  2003. areauserid:
  2004. description: 所属机构
  2005. type: integer
  2006. contractattachment:
  2007. description: 合同附件
  2008. type: string
  2009. contractno:
  2010. description: 现货合同编号
  2011. type: string
  2012. contracttype:
  2013. description: 现货合同类型 - 1:采购 -1:销售
  2014. type: integer
  2015. creatorid:
  2016. description: 申请人
  2017. type: integer
  2018. customeraccountid:
  2019. description: 客户资金账户ID
  2020. type: integer
  2021. customeruserid:
  2022. description: 客户ID
  2023. type: integer
  2024. details:
  2025. description: 明细
  2026. items:
  2027. $ref: '#/definitions/erms3.SoptContractDetail'
  2028. type: array
  2029. orimargin:
  2030. description: 初始保证金
  2031. type: number
  2032. remark:
  2033. description: 备注
  2034. type: string
  2035. signdate:
  2036. description: 签订日期
  2037. type: string
  2038. required:
  2039. - accountid
  2040. - areauserid
  2041. - contractno
  2042. - contracttype
  2043. - customeraccountid
  2044. - customeruserid
  2045. - details
  2046. - orimargin
  2047. - signdate
  2048. type: object
  2049. erms3.AddSpotContractApplyRsp:
  2050. properties:
  2051. contractno:
  2052. description: 现货合同编号
  2053. type: string
  2054. spotcontractid:
  2055. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2056. type: integer
  2057. required:
  2058. - contractno
  2059. type: object
  2060. erms3.AddUserInfoApplyReq:
  2061. properties:
  2062. accountid:
  2063. description: 交易系统帐号Id (加密存储)
  2064. type: integer
  2065. areacode:
  2066. description: 机构代码
  2067. type: string
  2068. areaid:
  2069. description: 机构Id
  2070. type: integer
  2071. attachment1:
  2072. description: 附件1
  2073. type: string
  2074. attachment2:
  2075. description: 附件2
  2076. type: string
  2077. attachment3:
  2078. description: 附件3
  2079. type: string
  2080. attachment4:
  2081. description: 附件4
  2082. type: string
  2083. attachment5:
  2084. description: 附件5
  2085. type: string
  2086. auditedby:
  2087. description: 审核人
  2088. type: string
  2089. auditime:
  2090. description: 审核时间
  2091. type: string
  2092. auditsrc:
  2093. description: 审核来源 - 1:管理端 2:终端
  2094. type: integer
  2095. bankaccount:
  2096. description: 银行帐号 (加密存储)
  2097. type: string
  2098. bankaccountname:
  2099. description: 收款人名称
  2100. type: string
  2101. bankcardbackphotourl:
  2102. description: 银行卡背面照地址
  2103. type: string
  2104. bankcardfrontphotourl:
  2105. description: 银行卡正面照地址
  2106. type: string
  2107. bankid:
  2108. description: 银行编码
  2109. type: string
  2110. bankname:
  2111. description: 银行名称
  2112. type: string
  2113. bankpictureurl:
  2114. description: 银行卡正面地址
  2115. type: string
  2116. biznature:
  2117. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2118. type: integer
  2119. bizscope:
  2120. description: 企业经营范围(企业)
  2121. type: string
  2122. biztype:
  2123. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2124. type: integer
  2125. brokerid:
  2126. description: 经纪人ID(加密存储)
  2127. type: string
  2128. cardaddress:
  2129. description: 证件地址 (加密存储)
  2130. type: string
  2131. cardbackphotourl:
  2132. description: 背面证件照地址
  2133. type: string
  2134. cardfrontphotourl:
  2135. description: 正面证件照地址
  2136. type: string
  2137. cardnum:
  2138. description: 证件号码 (加密存储)
  2139. type: string
  2140. cardtype:
  2141. description: 证件类型
  2142. type: integer
  2143. cityid:
  2144. description: 市
  2145. type: integer
  2146. company:
  2147. description: 公司(个人)
  2148. type: string
  2149. contactcardbackphotourl:
  2150. description: 联系人证件背面图片地址
  2151. type: string
  2152. contactcardfrontphotourl:
  2153. description: 联系人证件正面图片地址
  2154. type: string
  2155. contactname:
  2156. description: 联系人
  2157. type: string
  2158. countryid:
  2159. description: 国家
  2160. type: integer
  2161. createtime:
  2162. description: 开户申请时间
  2163. type: string
  2164. cusbankid:
  2165. description: 签约类型
  2166. type: string
  2167. cusbankname:
  2168. description: 签约类型名称
  2169. type: string
  2170. customername:
  2171. description: 客户名称(企业名称)
  2172. type: string
  2173. districtid:
  2174. description: 地区
  2175. type: integer
  2176. email:
  2177. description: Email地址(加密存储)
  2178. type: string
  2179. halfbodyphotourl:
  2180. description: 半身照地址
  2181. type: string
  2182. headurl:
  2183. description: 头像地址
  2184. type: string
  2185. ipaddress:
  2186. description: IP地址
  2187. type: string
  2188. isvalidate:
  2189. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2190. type: string
  2191. legalcardbackphotourl:
  2192. description: 法人身份证背面照地址
  2193. type: string
  2194. legalcardfrontphotourl:
  2195. description: 法人身份证正面照地址
  2196. type: string
  2197. legalpersonname:
  2198. description: 法人姓名(企业)
  2199. type: string
  2200. logincode:
  2201. description: 登录帐号 (加密存储)
  2202. type: string
  2203. memberareaid:
  2204. description: 所属会员ID
  2205. type: integer
  2206. mobile2:
  2207. description: 手机号码[明文-尚志]
  2208. type: string
  2209. mobilephone:
  2210. description: 手机号码 (加密存储)
  2211. type: string
  2212. modifiedby:
  2213. description: 修改人帐号
  2214. type: integer
  2215. modifiedtime:
  2216. description: 修改时间
  2217. type: string
  2218. nickname:
  2219. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2220. type: string
  2221. openmode:
  2222. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2223. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2224. type: integer
  2225. otherurl:
  2226. description: 其它图片地址[使用分号分隔]
  2227. type: string
  2228. postalcode:
  2229. description: 邮政编码
  2230. type: string
  2231. provinceid:
  2232. description: 省
  2233. type: integer
  2234. proxystatementurl:
  2235. description: 授权委托书
  2236. type: string
  2237. qq:
  2238. description: QQ(加密存储
  2239. type: string
  2240. referral:
  2241. description: 推荐人编码
  2242. type: string
  2243. remark:
  2244. description: 备注
  2245. type: string
  2246. removebeforestatus:
  2247. description: REMOVEBEFORESTATUS
  2248. type: integer
  2249. sex:
  2250. description: 性别 - 0:女 1:男
  2251. type: integer
  2252. signedstatus:
  2253. description: 账户一号签签约状态
  2254. type: integer
  2255. signpdfurl:
  2256. description: 签约pdf文件
  2257. type: string
  2258. subbranch:
  2259. description: 开户支行
  2260. type: string
  2261. taxpayernum:
  2262. description: 纳税人识别号
  2263. type: string
  2264. telphone:
  2265. description: 联系电话(加密存储)
  2266. type: string
  2267. userid:
  2268. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2269. type: integer
  2270. userinfotype:
  2271. description: 用户信息类型 - 1:个人 2:企业
  2272. type: integer
  2273. username:
  2274. description: 用户姓名
  2275. type: string
  2276. userstate:
  2277. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2278. type: integer
  2279. usertype:
  2280. description: 用户类型 - 1:投资者 2:机构
  2281. type: integer
  2282. videourl:
  2283. description: 视频地址
  2284. type: string
  2285. wechat:
  2286. description: 微信号 (加密存储)
  2287. type: string
  2288. required:
  2289. - userid
  2290. type: object
  2291. erms3.CustomerInfo:
  2292. properties:
  2293. accountids:
  2294. description: 资金账户ID列表
  2295. items:
  2296. type: integer
  2297. type: array
  2298. customername:
  2299. description: 名称(企业名称)
  2300. type: string
  2301. mobile:
  2302. description: 手机号码
  2303. type: string
  2304. userid:
  2305. description: 用户ID
  2306. type: integer
  2307. required:
  2308. - userid
  2309. type: object
  2310. erms3.ModifyUserInfoApplyReq:
  2311. properties:
  2312. accountid:
  2313. description: 交易系统帐号Id (加密存储)
  2314. type: integer
  2315. areacode:
  2316. description: 机构代码
  2317. type: string
  2318. areaid:
  2319. description: 机构Id
  2320. type: integer
  2321. attachment1:
  2322. description: 附件1
  2323. type: string
  2324. attachment2:
  2325. description: 附件2
  2326. type: string
  2327. attachment3:
  2328. description: 附件3
  2329. type: string
  2330. attachment4:
  2331. description: 附件4
  2332. type: string
  2333. attachment5:
  2334. description: 附件5
  2335. type: string
  2336. auditedby:
  2337. description: 审核人
  2338. type: string
  2339. auditime:
  2340. description: 审核时间
  2341. type: string
  2342. auditsrc:
  2343. description: 审核来源 - 1:管理端 2:终端
  2344. type: integer
  2345. bankaccount:
  2346. description: 银行帐号 (加密存储)
  2347. type: string
  2348. bankaccountname:
  2349. description: 收款人名称
  2350. type: string
  2351. bankcardbackphotourl:
  2352. description: 银行卡背面照地址
  2353. type: string
  2354. bankcardfrontphotourl:
  2355. description: 银行卡正面照地址
  2356. type: string
  2357. bankid:
  2358. description: 银行编码
  2359. type: string
  2360. bankname:
  2361. description: 银行名称
  2362. type: string
  2363. bankpictureurl:
  2364. description: 银行卡正面地址
  2365. type: string
  2366. biznature:
  2367. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2368. type: integer
  2369. bizscope:
  2370. description: 企业经营范围(企业)
  2371. type: string
  2372. biztype:
  2373. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2374. type: integer
  2375. brokerid:
  2376. description: 经纪人ID(加密存储)
  2377. type: string
  2378. cardaddress:
  2379. description: 证件地址 (加密存储)
  2380. type: string
  2381. cardbackphotourl:
  2382. description: 背面证件照地址
  2383. type: string
  2384. cardfrontphotourl:
  2385. description: 正面证件照地址
  2386. type: string
  2387. cardnum:
  2388. description: 证件号码 (加密存储)
  2389. type: string
  2390. cardtype:
  2391. description: 证件类型
  2392. type: integer
  2393. cityid:
  2394. description: 市
  2395. type: integer
  2396. company:
  2397. description: 公司(个人)
  2398. type: string
  2399. contactcardbackphotourl:
  2400. description: 联系人证件背面图片地址
  2401. type: string
  2402. contactcardfrontphotourl:
  2403. description: 联系人证件正面图片地址
  2404. type: string
  2405. contactname:
  2406. description: 联系人
  2407. type: string
  2408. countryid:
  2409. description: 国家
  2410. type: integer
  2411. createtime:
  2412. description: 开户申请时间
  2413. type: string
  2414. cusbankid:
  2415. description: 签约类型
  2416. type: string
  2417. cusbankname:
  2418. description: 签约类型名称
  2419. type: string
  2420. customername:
  2421. description: 客户名称(企业名称)
  2422. type: string
  2423. districtid:
  2424. description: 地区
  2425. type: integer
  2426. email:
  2427. description: Email地址(加密存储)
  2428. type: string
  2429. halfbodyphotourl:
  2430. description: 半身照地址
  2431. type: string
  2432. headurl:
  2433. description: 头像地址
  2434. type: string
  2435. ipaddress:
  2436. description: IP地址
  2437. type: string
  2438. isvalidate:
  2439. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2440. type: string
  2441. legalcardbackphotourl:
  2442. description: 法人身份证背面照地址
  2443. type: string
  2444. legalcardfrontphotourl:
  2445. description: 法人身份证正面照地址
  2446. type: string
  2447. legalpersonname:
  2448. description: 法人姓名(企业)
  2449. type: string
  2450. logincode:
  2451. description: 登录帐号 (加密存储)
  2452. type: string
  2453. memberareaid:
  2454. description: 所属会员ID
  2455. type: integer
  2456. mobile2:
  2457. description: 手机号码[明文-尚志]
  2458. type: string
  2459. mobilephone:
  2460. description: 手机号码 (加密存储)
  2461. type: string
  2462. modifiedby:
  2463. description: 修改人帐号
  2464. type: integer
  2465. modifiedtime:
  2466. description: 修改时间
  2467. type: string
  2468. nickname:
  2469. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2470. type: string
  2471. openmode:
  2472. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2473. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2474. type: integer
  2475. otherurl:
  2476. description: 其它图片地址[使用分号分隔]
  2477. type: string
  2478. postalcode:
  2479. description: 邮政编码
  2480. type: string
  2481. provinceid:
  2482. description: 省
  2483. type: integer
  2484. proxystatementurl:
  2485. description: 授权委托书
  2486. type: string
  2487. qq:
  2488. description: QQ(加密存储
  2489. type: string
  2490. referral:
  2491. description: 推荐人编码
  2492. type: string
  2493. remark:
  2494. description: 备注
  2495. type: string
  2496. removebeforestatus:
  2497. description: REMOVEBEFORESTATUS
  2498. type: integer
  2499. sex:
  2500. description: 性别 - 0:女 1:男
  2501. type: integer
  2502. signedstatus:
  2503. description: 账户一号签签约状态
  2504. type: integer
  2505. signpdfurl:
  2506. description: 签约pdf文件
  2507. type: string
  2508. subbranch:
  2509. description: 开户支行
  2510. type: string
  2511. taxpayernum:
  2512. description: 纳税人识别号
  2513. type: string
  2514. telphone:
  2515. description: 联系电话(加密存储)
  2516. type: string
  2517. userid:
  2518. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2519. type: integer
  2520. userinfotype:
  2521. description: 用户信息类型 - 1:个人 2:企业
  2522. type: integer
  2523. username:
  2524. description: 用户姓名
  2525. type: string
  2526. userstate:
  2527. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2528. type: integer
  2529. usertype:
  2530. description: 用户类型 - 1:投资者 2:机构
  2531. type: integer
  2532. videourl:
  2533. description: 视频地址
  2534. type: string
  2535. wechat:
  2536. description: 微信号 (加密存储)
  2537. type: string
  2538. required:
  2539. - userid
  2540. type: object
  2541. erms3.QryAuditContractRsp:
  2542. properties:
  2543. accountid:
  2544. description: 交易员ID
  2545. type: string
  2546. applystatus:
  2547. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2548. type: integer
  2549. curdeliveryqty:
  2550. description: 未交收量
  2551. type: integer
  2552. customername:
  2553. description: 采购方ID
  2554. type: string
  2555. deliverygoodsid:
  2556. description: 品种ID
  2557. type: string
  2558. deliveryqty:
  2559. description: 交收量
  2560. type: integer
  2561. enumdicname:
  2562. description: 单位名称
  2563. type: string
  2564. matchaccountid:
  2565. description: 业务员ID
  2566. type: string
  2567. matchcustomername:
  2568. description: 销售方ID
  2569. type: string
  2570. pricedqty:
  2571. description: 定价量
  2572. type: number
  2573. signdate:
  2574. description: 签订日期
  2575. type: string
  2576. spotcontractid:
  2577. description: 合同ID
  2578. type: string
  2579. totaldqty:
  2580. description: 合同量
  2581. type: number
  2582. unpricedqty:
  2583. description: 未定价量
  2584. type: number
  2585. wrstandardname:
  2586. description: 商品名称
  2587. type: string
  2588. required:
  2589. - matchcustomername
  2590. - spotcontractid
  2591. type: object
  2592. erms3.QryPendingBizRsp:
  2593. $ref: '#/definitions/models.PendingAuditBizModel'
  2594. erms3.QueryBusinessInfoRsp:
  2595. properties:
  2596. businessid:
  2597. description: 业务ID.
  2598. type: integer
  2599. buyamount:
  2600. description: 采购额.
  2601. type: number
  2602. buyqty:
  2603. description: 采购量.
  2604. type: string
  2605. futurepl:
  2606. description: 期货盈亏.
  2607. type: number
  2608. futureqty:
  2609. description: 期货敞口.
  2610. type: string
  2611. goodsid:
  2612. description: 商品名称/商品代码.
  2613. type: string
  2614. hedgingqty:
  2615. description: 套保量.
  2616. type: string
  2617. sellamount:
  2618. description: 销售额.
  2619. type: number
  2620. sellqty:
  2621. description: 销售量.
  2622. type: string
  2623. spotmarketvalue:
  2624. description: 现货市值.
  2625. type: number
  2626. spotpl:
  2627. description: 浮动权益.
  2628. type: number
  2629. spotqty:
  2630. description: 现货量.
  2631. type: string
  2632. statu:
  2633. description: 状态,0-未结束 1-已结束.
  2634. type: integer
  2635. totalpl:
  2636. description: 总盈亏.
  2637. type: number
  2638. totalqty:
  2639. description: 总敞口.
  2640. type: string
  2641. type:
  2642. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2643. type: integer
  2644. type: object
  2645. erms3.QuerySpotContractAppleFormRsp:
  2646. properties:
  2647. goodses:
  2648. description: 合约列表
  2649. items:
  2650. $ref: '#/definitions/models.GoodsIDAndName'
  2651. type: array
  2652. oppositeusers:
  2653. description: 对方账号列表
  2654. items:
  2655. $ref: '#/definitions/erms3.CustomerInfo'
  2656. type: array
  2657. ouruser:
  2658. $ref: '#/definitions/erms3.CustomerInfo'
  2659. description: 我方账号
  2660. type: object
  2661. warehouseinfos:
  2662. description: 仓库信息列表
  2663. items:
  2664. $ref: '#/definitions/models.Warehouseinfo'
  2665. type: array
  2666. wrstandards:
  2667. description: 仓单标准列表
  2668. items:
  2669. $ref: '#/definitions/models.WRStandardInfo'
  2670. type: array
  2671. type: object
  2672. erms3.QuerySpotContractInfoRsp:
  2673. properties:
  2674. accountid:
  2675. description: 表示交易员ID.
  2676. type: integer
  2677. curdeliveryqty:
  2678. description: 表示未交收量.
  2679. type: number
  2680. customername:
  2681. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2682. type: string
  2683. deliverygoodsid:
  2684. description: 表示品种ID.
  2685. type: string
  2686. deliveryqty:
  2687. description: 表示交收量.
  2688. type: number
  2689. matchaccountid:
  2690. description: 表示业务员ID.
  2691. type: integer
  2692. matchcustomername:
  2693. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2694. type: string
  2695. priceqty:
  2696. description: 表示定价量.
  2697. type: number
  2698. relatedbizid:
  2699. description: 表示业务ID.
  2700. type: string
  2701. signdate:
  2702. description: 表示签订日期.
  2703. type: string
  2704. spotcontractid:
  2705. description: 合同ID
  2706. type: string
  2707. status:
  2708. description: 表示状态,0-履约中 1-已完成.
  2709. type: integer
  2710. totalqty:
  2711. description: 表示合同量.
  2712. type: number
  2713. unpricedqty:
  2714. description: 表示未定价量.
  2715. type: number
  2716. wrstandardname:
  2717. description: 表示商品ID.
  2718. type: string
  2719. type: object
  2720. erms3.QueryUserInfoAppliesRsp:
  2721. properties:
  2722. biznature:
  2723. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2724. type: integer
  2725. contactname:
  2726. description: 联系人
  2727. type: string
  2728. createtime:
  2729. description: 开户申请时间
  2730. type: string
  2731. userid:
  2732. description: 用户ID(自增ID)
  2733. type: integer
  2734. userinfotype:
  2735. description: 用户信息类型 - 1:个人 2:企业
  2736. type: integer
  2737. username:
  2738. description: 用户姓名
  2739. type: string
  2740. userstate:
  2741. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2742. type: integer
  2743. required:
  2744. - userid
  2745. type: object
  2746. erms3.QueryUserInfosRsp:
  2747. properties:
  2748. biznature:
  2749. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2750. type: integer
  2751. contactname:
  2752. description: 联系人
  2753. type: string
  2754. customername:
  2755. description: 客户名称(企业名称)
  2756. type: string
  2757. userid:
  2758. description: 用户ID
  2759. type: integer
  2760. userinfotype:
  2761. description: 用户信息类型 - 1:个人 2:企业
  2762. type: integer
  2763. userstatus:
  2764. description: 用户状态 - 1:正常 2:注销
  2765. type: integer
  2766. required:
  2767. - userid
  2768. type: object
  2769. erms3.SoptContractDetail:
  2770. properties:
  2771. deliverygoodsdesc:
  2772. description: 现货品种说明
  2773. type: string
  2774. deliverygoodsid:
  2775. description: 现货品种ID
  2776. type: integer
  2777. deliverygoodsname:
  2778. description: 现货品种名称
  2779. type: string
  2780. pointdesc:
  2781. description: 点价描述
  2782. type: string
  2783. producttype:
  2784. description: 产品类型 1:标准仓单 2:等标 3:非标
  2785. type: integer
  2786. producttypename:
  2787. description: 产品类型名称
  2788. type: string
  2789. spotPointOrderVoList:
  2790. description: 点价列表
  2791. items:
  2792. $ref: '#/definitions/erms3.SpotPointOrder'
  2793. type: array
  2794. spotPriceOrderList:
  2795. description: 定价列表
  2796. items:
  2797. $ref: '#/definitions/erms3.SpotPriceOrder'
  2798. type: array
  2799. unitname:
  2800. description: 单位名称
  2801. type: string
  2802. warehouseid:
  2803. description: 仓库ID
  2804. type: integer
  2805. warehousename:
  2806. description: 仓库名称
  2807. type: string
  2808. wrstandardid:
  2809. description: 交易标的ID
  2810. type: integer
  2811. wrstandardname:
  2812. description: 交易标的名称
  2813. type: string
  2814. required:
  2815. - deliverygoodsid
  2816. - producttype
  2817. - unitname
  2818. - warehouseid
  2819. - wrstandardid
  2820. - wrstandardname
  2821. type: object
  2822. erms3.SpotPointOrder:
  2823. properties:
  2824. basic:
  2825. description: 基差
  2826. type: number
  2827. deliveryenddate:
  2828. description: 交收结束日期
  2829. type: string
  2830. deliverystartdate:
  2831. description: 交收开始日期
  2832. type: string
  2833. enddate:
  2834. description: 点价结束日期
  2835. type: string
  2836. goodsid:
  2837. description: 商品ID
  2838. type: integer
  2839. goodsname:
  2840. description: 商品名称
  2841. type: string
  2842. qty:
  2843. description: 数量
  2844. type: number
  2845. startdate:
  2846. description: 点价开始日期
  2847. type: string
  2848. required:
  2849. - basic
  2850. - goodsid
  2851. - qty
  2852. type: object
  2853. erms3.SpotPriceOrder:
  2854. properties:
  2855. amount:
  2856. description: 金额
  2857. type: number
  2858. deliveryenddate:
  2859. description: 交收结束日期
  2860. type: string
  2861. deliverystartdate:
  2862. description: 交收开始日期
  2863. type: string
  2864. price:
  2865. description: 价格
  2866. type: number
  2867. qty:
  2868. description: 数量
  2869. type: number
  2870. required:
  2871. - amount
  2872. - price
  2873. - qty
  2874. type: object
  2875. hsby.GetHsbyMyCountRsp:
  2876. properties:
  2877. myCouponCount:
  2878. description: 我的优惠卷数量
  2879. type: integer
  2880. myOrderDetailListingCount:
  2881. description: 我的订单求购中数量
  2882. type: integer
  2883. myOrderDetailPreCount:
  2884. description: 我的订单抢购中数量
  2885. type: integer
  2886. myPackageUnReceiveCount:
  2887. description: 我的包裹待收货数量
  2888. type: integer
  2889. myPackageUnSendCount:
  2890. description: 我的包裹待发货数量
  2891. type: integer
  2892. myPayOrderCount:
  2893. description: 我的订单待付款数量
  2894. type: integer
  2895. type: object
  2896. hsby.QueryProvincesAndCitiesRsp:
  2897. properties:
  2898. cities:
  2899. description: 市
  2900. items:
  2901. $ref: '#/definitions/models.Division'
  2902. type: array
  2903. province:
  2904. $ref: '#/definitions/models.Division'
  2905. description: 省
  2906. type: object
  2907. type: object
  2908. models.AreaSpotModel:
  2909. properties:
  2910. areauserid:
  2911. description: 所属机构
  2912. type: integer
  2913. decreaseqty:
  2914. description: 减少数量=-(销售已定价数量+采购计划数量)
  2915. type: number
  2916. increaseqty:
  2917. description: 增加数量=销售计划数量+采购已定价数量
  2918. type: number
  2919. oritoalspotqty:
  2920. description: 昨日数量
  2921. type: number
  2922. totalspotqty:
  2923. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2924. type: number
  2925. updatetime:
  2926. description: 更新时间
  2927. type: string
  2928. wrstandardcode:
  2929. description: 现货品种代码
  2930. type: string
  2931. wrstandardid:
  2932. description: 现货商品ID
  2933. type: integer
  2934. wrstandardname:
  2935. description: 现货品种
  2936. type: string
  2937. type: object
  2938. models.Arearole:
  2939. properties:
  2940. createtime:
  2941. description: 创建时间
  2942. type: string
  2943. creatorid:
  2944. description: 创建人ID
  2945. type: integer
  2946. fromuserid:
  2947. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2948. type: integer
  2949. isreturnscore:
  2950. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2951. type: integer
  2952. modifierid:
  2953. description: 修改人ID
  2954. type: integer
  2955. modifytime:
  2956. description: 修改时间
  2957. type: string
  2958. orgtype:
  2959. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2960. type: integer
  2961. outuserid:
  2962. description: 外部账户[场外期权做市商]
  2963. type: string
  2964. parentuserid:
  2965. description: 上级组织机构(组织机构)
  2966. type: integer
  2967. roletype:
  2968. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2969. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2970. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2971. type: integer
  2972. rootuserid:
  2973. description: 顶级组织机构用户ID(组织机构)
  2974. type: integer
  2975. shoppassword:
  2976. description: 商城店铺登陆密码(商城店铺角色使用)
  2977. type: string
  2978. sublevelpath:
  2979. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2980. type: string
  2981. suborgtype:
  2982. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2983. type: integer
  2984. tradeaccountid:
  2985. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2986. type: integer
  2987. transurl:
  2988. description: 物流地址(物流机构)
  2989. type: string
  2990. userid:
  2991. description: 机构用户ID其他做市关系,都设置为 1
  2992. type: integer
  2993. required:
  2994. - roletype
  2995. - userid
  2996. type: object
  2997. models.Clientfixedadconfig:
  2998. properties:
  2999. adsort:
  3000. description: 排序
  3001. type: integer
  3002. adtype:
  3003. description: 广告位类型 - 1:新品抢购(HSBY)
  3004. type: integer
  3005. areauserid:
  3006. description: 所属机构ID
  3007. type: integer
  3008. createdate:
  3009. description: 创建时间
  3010. type: string
  3011. creatorid:
  3012. description: 创建人
  3013. type: integer
  3014. imagepath:
  3015. description: 图片
  3016. type: string
  3017. isshow:
  3018. description: 是否展示 - 0:不展示 1:展示
  3019. type: integer
  3020. modifierid:
  3021. description: 操作人
  3022. type: integer
  3023. recsize:
  3024. description: 推荐尺寸
  3025. type: string
  3026. title:
  3027. description: 标题
  3028. type: string
  3029. updatedate:
  3030. description: 更新时间
  3031. type: string
  3032. urlcontent:
  3033. description: 链接(地址或商品ID)
  3034. type: string
  3035. urltype:
  3036. description: 链接类型 - 1:直接地址 2:商品ID
  3037. type: integer
  3038. required:
  3039. - adsort
  3040. - adtype
  3041. type: object
  3042. models.Division:
  3043. properties:
  3044. autoid:
  3045. description: 自增ID
  3046. type: integer
  3047. divisioncode:
  3048. description: 行政代码
  3049. type: string
  3050. divisionlevel:
  3051. description: 行政级别
  3052. type: string
  3053. divisionname:
  3054. description: 行政名称
  3055. type: string
  3056. modifierid:
  3057. description: 修改人
  3058. type: integer
  3059. modifytime:
  3060. description: 修改时间
  3061. type: string
  3062. parentcode:
  3063. description: 上级行政代码
  3064. type: string
  3065. pathname:
  3066. description: 路径名称
  3067. type: string
  3068. postcode:
  3069. description: 邮政编码
  3070. type: string
  3071. separablename:
  3072. description: 可拆分的全称
  3073. type: string
  3074. shortcode:
  3075. description: 地区简码
  3076. type: string
  3077. required:
  3078. - autoid
  3079. - divisioncode
  3080. type: object
  3081. models.Enumdicitem:
  3082. properties:
  3083. autoid:
  3084. description: 自增ID
  3085. type: integer
  3086. bankmappedvalue:
  3087. description: 银行服务对应值
  3088. type: string
  3089. enumdiccode:
  3090. description: 所属枚举代码
  3091. type: string
  3092. enumdicid:
  3093. description: 所属枚举ID
  3094. type: integer
  3095. enumdicname:
  3096. description: 枚举项名称
  3097. type: string
  3098. enumitemname:
  3099. description: 枚举项值
  3100. type: integer
  3101. enumitemstatus:
  3102. description: 枚举项状态 - 1.启用 2.不启用
  3103. type: integer
  3104. enumitemvalue:
  3105. description: 通用值 - [币种通用简写]
  3106. type: string
  3107. param1:
  3108. description: 参数1[币种:币种小数位]
  3109. type: string
  3110. param2:
  3111. description: 参数1[币种:币种显示单位]
  3112. type: string
  3113. remark:
  3114. description: 备注
  3115. type: string
  3116. required:
  3117. - autoid
  3118. - enumdiccode
  3119. - enumdicid
  3120. - enumitemname
  3121. type: object
  3122. models.Ermcp3AreaSpot:
  3123. properties:
  3124. areauserid:
  3125. description: 所属机构
  3126. type: integer
  3127. decreaseqty:
  3128. description: 减少数量=-(销售已定价数量+采购计划数量)
  3129. type: number
  3130. deliverygoodscode:
  3131. description: 现货品种代码
  3132. type: string
  3133. deliverygoodsid:
  3134. description: 现货品种id
  3135. type: integer
  3136. deliverygoodsname:
  3137. description: 现货品种名称
  3138. type: string
  3139. enumdicname:
  3140. description: 单位名称
  3141. type: string
  3142. goodsunitid:
  3143. description: 现货品种单位id
  3144. type: integer
  3145. increaseqty:
  3146. description: 增加数量=销售计划数量+采购已定价数量
  3147. type: number
  3148. oritoalspotqty:
  3149. description: 昨日数量
  3150. type: number
  3151. totalspotqty:
  3152. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3153. type: number
  3154. updatetime:
  3155. description: 更新时间
  3156. type: string
  3157. type: object
  3158. models.Ermcp3AreaSpotDetail:
  3159. properties:
  3160. contracttype:
  3161. description: 合同类型 1-采购 -1-销售
  3162. type: integer
  3163. createtime:
  3164. description: 创建时间
  3165. type: string
  3166. deliverygoodscode:
  3167. description: 现货品种代码
  3168. type: string
  3169. deliverygoodsid:
  3170. description: 现货品种id
  3171. type: integer
  3172. deliverygoodsname:
  3173. description: 现货品种名称
  3174. type: string
  3175. enumdicname:
  3176. description: 现货商品单位名称
  3177. type: string
  3178. logtype:
  3179. description: 记录类型 1-套保 2-现货合同
  3180. type: integer
  3181. qty:
  3182. description: 数量
  3183. type: number
  3184. recordname:
  3185. description: 类型名称
  3186. type: string
  3187. relatedid:
  3188. description: 套保计划ID/现货合同ID
  3189. type: string
  3190. relatedno:
  3191. description: 编号
  3192. type: string
  3193. strtime:
  3194. description: 时间
  3195. type: string
  3196. type: object
  3197. models.Ermcp3AreaSpotPLReport:
  3198. properties:
  3199. accountid:
  3200. description: 期货账户ID (作废, 默认为0)
  3201. type: integer
  3202. accountname:
  3203. description: 机构名称
  3204. type: string
  3205. actualpl:
  3206. description: 现货损益
  3207. type: number
  3208. areauserid:
  3209. description: 所属机构\交易用户ID
  3210. type: integer
  3211. begindate:
  3212. description: 开始交易日
  3213. type: string
  3214. biztype:
  3215. description: 业务类型 - 1:套保 2:套利
  3216. type: integer
  3217. brandname:
  3218. description: 品牌名称
  3219. type: string
  3220. curamount:
  3221. description: 期末额
  3222. type: number
  3223. curaverageprice:
  3224. description: 期末均价
  3225. type: number
  3226. curbuyamount:
  3227. description: 期末采购总额
  3228. type: number
  3229. curbuyqty:
  3230. description: 期末采购总量
  3231. type: number
  3232. curmarketvalue:
  3233. description: 参考市值(期末市值)
  3234. type: number
  3235. curqty:
  3236. description: 期末量
  3237. type: number
  3238. currencyid:
  3239. description: 结算币种ID【原值】
  3240. type: integer
  3241. currencyname:
  3242. description: 币种名称
  3243. type: string
  3244. cursellamount:
  3245. description: 期末销售总额
  3246. type: number
  3247. cursellqty:
  3248. description: 期末销售总量
  3249. type: number
  3250. curspotprice:
  3251. description: 参考市价(最新价)
  3252. type: number
  3253. cycletime:
  3254. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3255. type: string
  3256. cycletype:
  3257. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3258. type: integer
  3259. deliverygoodscode:
  3260. description: 现货商品代码
  3261. type: string
  3262. deliverygoodsid:
  3263. description: 现货品种ID
  3264. type: integer
  3265. deliverygoodsname:
  3266. description: 现货商品名称
  3267. type: string
  3268. enddate:
  3269. description: 结束交易日
  3270. type: string
  3271. enumdicname:
  3272. description: 现货商品单位名称
  3273. type: string
  3274. floatpl:
  3275. description: 浮动损益
  3276. type: number
  3277. goodsunitid:
  3278. description: 现货商品单位id
  3279. type: integer
  3280. oriamount:
  3281. description: 期初额
  3282. type: number
  3283. oriaverageprice:
  3284. description: 期初均价
  3285. type: number
  3286. oribuyamount:
  3287. description: 期初采购总额
  3288. type: number
  3289. oribuyqty:
  3290. description: 期初采购总量
  3291. type: number
  3292. oriqty:
  3293. description: 期初量
  3294. type: number
  3295. orisellamount:
  3296. description: 期初销售总额
  3297. type: number
  3298. orisellqty:
  3299. description: 期初销售总量
  3300. type: number
  3301. reckondate:
  3302. description: 日照时期(yyyyMMdd)
  3303. type: string
  3304. spotgoodsbrandid:
  3305. description: 现货品牌ID
  3306. type: integer
  3307. todaybuyamount:
  3308. description: 今日采购额(今采购额)
  3309. type: number
  3310. todaybuyaverageprice:
  3311. description: 今日采购均价
  3312. type: number
  3313. todaybuyqty:
  3314. description: 今日采购量(今采购量)
  3315. type: number
  3316. todayinqty:
  3317. description: 今日入库量(今入库量)
  3318. type: number
  3319. todayoutqty:
  3320. description: 今日出库量(今出库量)
  3321. type: number
  3322. todaysellamount:
  3323. description: 今日销售额(今销售额)
  3324. type: number
  3325. todaysellaverageprice:
  3326. description: 今日销售均价
  3327. type: number
  3328. todaysellqty:
  3329. description: 今日销售量(今销售量)
  3330. type: number
  3331. unitid:
  3332. description: 品类单位id
  3333. type: integer
  3334. unitidname:
  3335. description: 品类单位名称
  3336. type: string
  3337. updatetime:
  3338. description: 更新时间
  3339. type: string
  3340. wrfactortypeid:
  3341. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3342. type: integer
  3343. wrstandardcode:
  3344. description: 品类代码
  3345. type: string
  3346. wrstandardid:
  3347. description: 现货品类ID
  3348. type: integer
  3349. wrstandardname:
  3350. description: 品类名称
  3351. type: string
  3352. type: object
  3353. models.Ermcp3AreaStock:
  3354. properties:
  3355. brandname:
  3356. description: 品牌名称
  3357. type: string
  3358. curstock:
  3359. description: 期末库存量(今日量)
  3360. type: number
  3361. deliverygoodscode:
  3362. description: 现货品种代码
  3363. type: string
  3364. deliverygoodsid:
  3365. description: 现货品种id
  3366. type: integer
  3367. deliverygoodsname:
  3368. description: 现货品种名称
  3369. type: string
  3370. enumdicname:
  3371. description: 单位名称
  3372. type: string
  3373. goodsunitid:
  3374. description: 现货商品单位id
  3375. type: integer
  3376. oristock:
  3377. description: 期初库存量(昨日量)
  3378. type: number
  3379. spotgoodsbrandid:
  3380. description: 现货品牌ID
  3381. type: integer
  3382. todaybuyinqty:
  3383. description: 今日采购入库量
  3384. type: number
  3385. todayproduceinqty:
  3386. description: 今日生产入库量
  3387. type: number
  3388. todayproduceoutqty:
  3389. description: 今日生产出库量
  3390. type: number
  3391. todayselloutqty:
  3392. description: 今日销售出库量
  3393. type: number
  3394. unitid:
  3395. description: 单位id
  3396. type: integer
  3397. updatetime:
  3398. description: 更新时间
  3399. type: string
  3400. userid:
  3401. description: 机构ID
  3402. type: integer
  3403. username:
  3404. description: 机构名称
  3405. type: string
  3406. warehousecode:
  3407. description: 仓库代码
  3408. type: string
  3409. warehouseinfoid:
  3410. description: 仓库ID
  3411. type: string
  3412. warehousename:
  3413. description: 仓库名称
  3414. type: string
  3415. warehousetype:
  3416. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3417. type: integer
  3418. wrstandardcode:
  3419. description: 品类代码
  3420. type: string
  3421. wrstandardid:
  3422. description: 品类ID
  3423. type: string
  3424. wrstandardname:
  3425. description: 品类名称
  3426. type: string
  3427. required:
  3428. - userid
  3429. type: object
  3430. models.Ermcp3AreaStockApply:
  3431. properties:
  3432. applyid:
  3433. description: 申请人
  3434. type: integer
  3435. applyname:
  3436. description: 申请人名称
  3437. type: string
  3438. applyremark:
  3439. description: 申请备注
  3440. type: string
  3441. applysrc:
  3442. description: 申请来源 - 1:管理端 2:终端
  3443. type: integer
  3444. applystatus:
  3445. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3446. type: integer
  3447. applytime:
  3448. description: 申请时间
  3449. type: string
  3450. auditid:
  3451. description: 审核人
  3452. type: integer
  3453. auditname:
  3454. description: 审核人名称
  3455. type: string
  3456. auditremark:
  3457. description: 审核备注
  3458. type: string
  3459. auditsrc:
  3460. description: 审核来源 - 1:管理端 2:终端
  3461. type: integer
  3462. audittime:
  3463. description: 审核时间
  3464. type: string
  3465. audittradedate:
  3466. description: 审核交易日(yyyyMMdd)
  3467. type: string
  3468. brandname:
  3469. description: 品牌名称
  3470. type: string
  3471. buynickname:
  3472. description: 采购方昵称
  3473. type: string
  3474. buyuserid:
  3475. description: 采购方userid
  3476. type: integer
  3477. buyusername:
  3478. description: 采购方名称
  3479. type: string
  3480. contractno:
  3481. description: 合同编号
  3482. type: string
  3483. contractqty:
  3484. description: 合同量
  3485. type: number
  3486. contracttype:
  3487. description: 现货合同类型 - 1:采购 -1:销售
  3488. type: integer
  3489. deliverygoodscode:
  3490. description: 现货品种代码
  3491. type: string
  3492. deliverygoodsid:
  3493. description: 现货品种id
  3494. type: integer
  3495. deliverygoodsname:
  3496. description: 现货品种名称
  3497. type: string
  3498. detailjson:
  3499. description: 明细数据
  3500. type: string
  3501. enumdicname:
  3502. description: 现货商品单位名称
  3503. type: string
  3504. inoutapplyid:
  3505. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3506. type: string
  3507. inouttype:
  3508. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3509. type: integer
  3510. pricetype:
  3511. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3512. type: integer
  3513. qty:
  3514. description: 数量
  3515. type: number
  3516. sellnickname:
  3517. description: 销售方昵称
  3518. type: string
  3519. selluserid:
  3520. description: 销售方userid
  3521. type: integer
  3522. sellusername:
  3523. description: 销售方名称
  3524. type: string
  3525. spotcontractid:
  3526. description: 关联现货合同ID
  3527. type: string
  3528. spotgoodsbrandid:
  3529. description: 现货品牌ID
  3530. type: integer
  3531. unitid:
  3532. description: 单位id
  3533. type: integer
  3534. userid:
  3535. description: 机构ID
  3536. type: integer
  3537. warehousecode:
  3538. description: 仓库代码
  3539. type: string
  3540. warehouseinfoid:
  3541. description: 现货仓库ID
  3542. type: string
  3543. warehousename:
  3544. description: 仓库名称
  3545. type: string
  3546. warehousetype:
  3547. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3548. type: integer
  3549. wrstandardcode:
  3550. description: 品类代码
  3551. type: string
  3552. wrstandardid:
  3553. description: 品类ID
  3554. type: integer
  3555. wrstandardname:
  3556. description: 品类名称
  3557. type: string
  3558. type: object
  3559. models.Ermcp3AreaStockApplySum:
  3560. properties:
  3561. brandname:
  3562. description: 品牌名称
  3563. type: string
  3564. inouttype:
  3565. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3566. type: integer
  3567. spotcontractid:
  3568. description: 关联现货合同ID
  3569. type: string
  3570. spotgoodsbrandid:
  3571. description: 品牌id
  3572. type: integer
  3573. totalqty:
  3574. description: 总数量
  3575. type: number
  3576. wrstandardid:
  3577. description: 品类id
  3578. type: integer
  3579. wrstandardname:
  3580. description: 品类名称
  3581. type: string
  3582. type: object
  3583. models.Ermcp3AreaStockReportEx:
  3584. properties:
  3585. begindate:
  3586. description: 开始交易日
  3587. type: string
  3588. brandname:
  3589. description: 品牌名称
  3590. type: string
  3591. curstock:
  3592. description: 期末库存量
  3593. type: number
  3594. cycletime:
  3595. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3596. type: string
  3597. cycletype:
  3598. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3599. type: integer
  3600. deliverygoodscode:
  3601. description: 现货品种代码
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种id
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. diffqty:
  3610. description: 库存变化量 = 期末 - 期初
  3611. type: number
  3612. enddate:
  3613. description: 结束交易日
  3614. type: string
  3615. enumdicname:
  3616. description: 单位名称
  3617. type: string
  3618. goodsunitid:
  3619. description: 现货单位id
  3620. type: integer
  3621. oristock:
  3622. description: 期初库存量
  3623. type: number
  3624. reckondate:
  3625. description: 日照时期(yyyyMMdd)
  3626. type: string
  3627. spotgoodsbrandid:
  3628. description: 现货品牌ID
  3629. type: integer
  3630. todaybuyinqty:
  3631. description: 今采购入库量
  3632. type: number
  3633. todayproduceinqty:
  3634. description: 今内部入库量
  3635. type: number
  3636. todayproduceoutqty:
  3637. description: 今内部出库量
  3638. type: number
  3639. todayselloutqty:
  3640. description: 今销售出库量
  3641. type: number
  3642. unbuyinqty:
  3643. description: 采购未入库量(数据库未找到相关字段?)
  3644. type: number
  3645. unitid:
  3646. description: 品类单位id
  3647. type: integer
  3648. unselloutqty:
  3649. description: 销售未出库量(数据库未找到相关字段?)
  3650. type: number
  3651. updatetime:
  3652. description: 更新时间
  3653. type: string
  3654. userid:
  3655. description: 机构ID
  3656. type: integer
  3657. username:
  3658. description: 机构名称
  3659. type: string
  3660. warehousecode:
  3661. description: 仓库代码
  3662. type: string
  3663. warehouseinfoid:
  3664. description: 仓库ID
  3665. type: string
  3666. warehousename:
  3667. description: 仓库名称
  3668. type: string
  3669. warehousetype:
  3670. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3671. type: integer
  3672. wrstandardcode:
  3673. description: 品类代码
  3674. type: string
  3675. wrstandardid:
  3676. description: 品类ID
  3677. type: integer
  3678. wrstandardname:
  3679. description: 品类名称
  3680. type: string
  3681. type: object
  3682. models.Ermcp3ArealSumPL:
  3683. properties:
  3684. accountname:
  3685. description: 机构名称
  3686. type: string
  3687. areauserid:
  3688. description: 所属机构\交易用户ID
  3689. type: integer
  3690. begindate:
  3691. description: 开始交易日
  3692. type: string
  3693. currencyid:
  3694. description: 结算币种ID
  3695. type: integer
  3696. currencyname:
  3697. description: 币种名称
  3698. type: string
  3699. cycletime:
  3700. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3701. type: string
  3702. cycletype:
  3703. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3704. type: integer
  3705. enddate:
  3706. description: 结束交易日
  3707. type: string
  3708. enumdicname:
  3709. description: 单位名称(套保品种)
  3710. type: string
  3711. futureactualpl:
  3712. description: 期货损益
  3713. type: number
  3714. futurefloatpl:
  3715. description: 期货浮动损益
  3716. type: number
  3717. goodsunitid:
  3718. description: 套保品种单位id
  3719. type: integer
  3720. middlegoodscode:
  3721. description: 套保品种代码
  3722. type: string
  3723. middlegoodsid:
  3724. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3725. type: integer
  3726. middlegoodsname:
  3727. description: 套保品种名称
  3728. type: string
  3729. reckondate:
  3730. description: 日照时期(yyyyMMdd)
  3731. type: string
  3732. spotactualpl:
  3733. description: 现货损益
  3734. type: number
  3735. spotfloatpl:
  3736. description: 现货浮动损益
  3737. type: number
  3738. sumactualpl:
  3739. description: 实际损益 = (ActualPL + FutureActualPL)
  3740. type: number
  3741. sumpl:
  3742. description: 汇总损益
  3743. type: number
  3744. updatetime:
  3745. description: 更新时间
  3746. type: string
  3747. type: object
  3748. models.Ermcp3Brand:
  3749. properties:
  3750. areauserid:
  3751. description: 用户id
  3752. type: integer
  3753. brandid:
  3754. description: 品牌id
  3755. type: integer
  3756. brandname:
  3757. description: 品牌名称
  3758. type: string
  3759. deliverygoodsid:
  3760. description: 品种ID
  3761. type: integer
  3762. type: object
  3763. models.Ermcp3Contract:
  3764. properties:
  3765. accountid:
  3766. description: 期货账户id
  3767. type: string
  3768. amount:
  3769. description: 金额 [1:一口价、3:暂定价]
  3770. type: number
  3771. attachment:
  3772. description: 附件
  3773. type: string
  3774. auditremark:
  3775. description: 审核意见
  3776. type: string
  3777. audittime:
  3778. description: 审核时间
  3779. type: string
  3780. biztype:
  3781. description: 业务类型 1-套保 2-套利
  3782. type: integer
  3783. brandname:
  3784. description: 品牌名称
  3785. type: string
  3786. buynickname:
  3787. description: 销售方昵称
  3788. type: string
  3789. buyuserid:
  3790. description: 采购方ID
  3791. type: integer
  3792. buyusername:
  3793. description: 采购方名称
  3794. type: string
  3795. contracctstatus:
  3796. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3797. type: integer
  3798. contractmargin:
  3799. description: 合同保证金
  3800. type: number
  3801. contractno:
  3802. description: 现货合同编号
  3803. type: string
  3804. contracttype:
  3805. description: 现货合同类型 - 1:采购 -1:销售
  3806. type: integer
  3807. convertfactor:
  3808. description: 标仓系数(品类)
  3809. type: number
  3810. createtime:
  3811. description: 创建时间
  3812. type: string
  3813. currencyid:
  3814. description: 币种id
  3815. type: integer
  3816. currencyname:
  3817. description: 币种名称
  3818. type: string
  3819. deliveryenddate:
  3820. description: 交收期(结束)
  3821. type: string
  3822. deliverygoodscode:
  3823. description: 现货品种代码
  3824. type: string
  3825. deliverygoodsid:
  3826. description: 现货品种ID
  3827. type: integer
  3828. deliverygoodsname:
  3829. description: 现货品种名称
  3830. type: string
  3831. deliverystartdate:
  3832. description: 交收期(开始)
  3833. type: string
  3834. enddate:
  3835. description: 点价结束日期 [2:点价 3:暂定价]
  3836. type: string
  3837. enumdicname:
  3838. description: 单位名称
  3839. type: string
  3840. goodscode:
  3841. description: 点价合约代码
  3842. type: string
  3843. goodsid:
  3844. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3845. type: integer
  3846. goodsname:
  3847. description: 点价商品名称
  3848. type: string
  3849. margin:
  3850. description: 当前保证金
  3851. type: number
  3852. meruserid:
  3853. description: 跟单员id
  3854. type: integer
  3855. meruserlogincode:
  3856. description: 跟单员登录代码
  3857. type: string
  3858. merusername:
  3859. description: 跟单员名称
  3860. type: string
  3861. price:
  3862. description: 价格\暂定价 [1:一口价、3:暂定价]
  3863. type: number
  3864. pricemove:
  3865. description: 升贴水 [2:点价 3:暂定价]
  3866. type: number
  3867. pricetype:
  3868. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3869. type: integer
  3870. producttype:
  3871. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3872. type: integer
  3873. qty:
  3874. description: 数量
  3875. type: number
  3876. remark:
  3877. description: 备注
  3878. type: string
  3879. saleuserid:
  3880. description: 业务员id
  3881. type: integer
  3882. saleuserlogincode:
  3883. description: 业务员登录代码
  3884. type: string
  3885. saleusername:
  3886. description: 业务员名称
  3887. type: string
  3888. sellnickname:
  3889. description: 采购方昵称
  3890. type: string
  3891. selluserid:
  3892. description: 销售方ID
  3893. type: integer
  3894. sellusername:
  3895. description: 销售方名称
  3896. type: string
  3897. spotcontractid:
  3898. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3899. type: string
  3900. spotgoodsbrandid:
  3901. description: 现货品牌ID(DGFactoryItem表的ID)
  3902. type: integer
  3903. spotgoodsdesc:
  3904. description: 商品型号
  3905. type: string
  3906. startdate:
  3907. description: 点价开始日期 [2:点价 3:暂定价]
  3908. type: string
  3909. tradeuserid:
  3910. description: 交易员id
  3911. type: integer
  3912. tradeuserlogincode:
  3913. description: 交易员登录代码
  3914. type: string
  3915. tradeusername:
  3916. description: 交易员名称
  3917. type: string
  3918. unitid:
  3919. description: 单位id(取品类上的单位id)
  3920. type: integer
  3921. updatetime:
  3922. description: 更新时间
  3923. type: string
  3924. userid:
  3925. description: 所属机构ID
  3926. type: integer
  3927. wrstandardcode:
  3928. description: 品类代码
  3929. type: string
  3930. wrstandardid:
  3931. description: 品类ID
  3932. type: integer
  3933. wrstandardname:
  3934. description: 品类名称
  3935. type: string
  3936. type: object
  3937. models.Ermcp3ExposureContractDetail:
  3938. properties:
  3939. biztype:
  3940. description: 业务类型 1-套保 2-套利
  3941. type: integer
  3942. brandname:
  3943. description: 品牌名称
  3944. type: string
  3945. buyuserid:
  3946. description: 采购方id
  3947. type: integer
  3948. buyusername:
  3949. description: 采购方名称
  3950. type: string
  3951. contractno:
  3952. description: 合同编号
  3953. type: string
  3954. contracttype:
  3955. description: 现货合同类型 - 1:采购 -1:销售
  3956. type: integer
  3957. convertfactor:
  3958. description: 标仓系数
  3959. type: number
  3960. convertratio:
  3961. description: 折算系数(套保品种)
  3962. type: number
  3963. curqty:
  3964. description: 今定价量
  3965. type: number
  3966. deliverygoodscode:
  3967. description: 现货商品代码
  3968. type: string
  3969. deliverygoodsid:
  3970. description: 现货商品id
  3971. type: integer
  3972. deliverygoodsname:
  3973. description: 现货商品名称
  3974. type: string
  3975. diffhedgeqty:
  3976. description: 套保变动量
  3977. type: number
  3978. diffneedhedgeqty:
  3979. description: 应套保变动量
  3980. type: number
  3981. diffqty:
  3982. description: 套保品种今变动量
  3983. type: number
  3984. enumdicname:
  3985. description: 单位名称
  3986. type: string
  3987. middlegoodscode:
  3988. description: 套保品种代码
  3989. type: string
  3990. middlegoodsid:
  3991. description: 套保品种id
  3992. type: integer
  3993. middlegoodsname:
  3994. description: 套保品种名称
  3995. type: string
  3996. needarbitrageratio:
  3997. description: 应套利比例
  3998. type: number
  3999. needhedgeratio:
  4000. description: 应套保比例
  4001. type: number
  4002. pricedqty:
  4003. description: 已定价量
  4004. type: number
  4005. qty:
  4006. description: 合同量
  4007. type: number
  4008. selluserid:
  4009. description: 销售方id
  4010. type: integer
  4011. sellusername:
  4012. description: 销售方名称
  4013. type: string
  4014. spotcontractid:
  4015. description: 合同id
  4016. type: string
  4017. todaypricedqty:
  4018. description: 今定价量
  4019. type: number
  4020. tradedate:
  4021. description: 交易日
  4022. type: string
  4023. unitid:
  4024. description: 品类单位id
  4025. type: integer
  4026. userid:
  4027. description: 机构id
  4028. type: integer
  4029. wrstandardcode:
  4030. description: 品类代码
  4031. type: string
  4032. wrstandardid:
  4033. description: 品类id
  4034. type: integer
  4035. wrstandardname:
  4036. description: 品类名称
  4037. type: string
  4038. type: object
  4039. models.Ermcp3ExposureDetail:
  4040. properties:
  4041. areauserid:
  4042. description: 机构ID
  4043. type: integer
  4044. changeQty:
  4045. description: 套保变动量
  4046. type: number
  4047. contracttype:
  4048. description: 现货合同类型 - 1:采购 -1:销售
  4049. type: integer
  4050. convertfactor:
  4051. description: 标仓系数
  4052. type: number
  4053. convertratio:
  4054. description: 套保系数
  4055. type: number
  4056. createtime:
  4057. description: 时间
  4058. type: string
  4059. deliverygoodscode:
  4060. description: 现货品种代码
  4061. type: string
  4062. deliverygoodsid:
  4063. description: 现货品种id
  4064. type: integer
  4065. deliverygoodsname:
  4066. description: 现货品种名称
  4067. type: string
  4068. enumdicname:
  4069. description: 现货商品单位名称
  4070. type: string
  4071. logtype:
  4072. description: 类型 - 1:套保计划 2:现货合同
  4073. type: integer
  4074. mgunitid:
  4075. description: 套保品种单位id
  4076. type: integer
  4077. mgunitidname:
  4078. description: 套保品种单位名称
  4079. type: string
  4080. middlegoodsId:
  4081. description: 套保商品id
  4082. type: integer
  4083. middlegoodscode:
  4084. description: 套保商品代码
  4085. type: string
  4086. middlegoodsname:
  4087. description: 套保商品名称
  4088. type: string
  4089. qty:
  4090. description: 数量
  4091. type: number
  4092. relateNo:
  4093. description: 现货合同/套保计划编号
  4094. type: string
  4095. type: object
  4096. models.Ermcp3ExposureFutuDetail:
  4097. properties:
  4098. accountid:
  4099. description: 交易账户id
  4100. type: integer
  4101. accountname:
  4102. description: 交易账户
  4103. type: string
  4104. begindate:
  4105. description: 开始交易日
  4106. type: string
  4107. buyorsell:
  4108. description: 方向 0-买 1-卖
  4109. type: integer
  4110. diffmgqty:
  4111. description: 套保品种今变化量
  4112. type: number
  4113. diffneedqty:
  4114. description: 应套保总量变化量
  4115. type: number
  4116. difftradeqty:
  4117. description: 交易品种今变化量
  4118. type: number
  4119. enddate:
  4120. description: 结束交易日
  4121. type: string
  4122. enumdicname:
  4123. description: 单位名称
  4124. type: string
  4125. goodscode:
  4126. description: 商品代码
  4127. type: string
  4128. goodsid:
  4129. description: 商品id
  4130. type: integer
  4131. goodsname:
  4132. description: 商品名称
  4133. type: string
  4134. holdqty:
  4135. description: 期末持仓量
  4136. type: number
  4137. middlegoodscode:
  4138. description: 套保商品代码
  4139. type: string
  4140. middlegoodsid:
  4141. description: 套保商品id
  4142. type: integer
  4143. middlegoodsname:
  4144. description: 套保商品名称
  4145. type: string
  4146. oriholdqty:
  4147. description: 期初持仓量
  4148. type: number
  4149. todaycloseqty:
  4150. description: 今平仓量
  4151. type: number
  4152. todayopenqty:
  4153. description: 今开仓量
  4154. type: number
  4155. tradedate:
  4156. description: 交易日
  4157. type: string
  4158. type: object
  4159. models.Ermcp3ExposureHedgeplanDetail:
  4160. properties:
  4161. biztype:
  4162. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4163. type: integer
  4164. changqty:
  4165. description: 应套保总量变化量
  4166. type: number
  4167. contracttype:
  4168. description: 计划类型 - 1:采购 -1:销售
  4169. type: integer
  4170. convertratio:
  4171. description: 折算系数(套保品种)
  4172. type: number
  4173. deliverygoodscode:
  4174. description: 现货商品代码
  4175. type: string
  4176. deliverygoodsid:
  4177. description: 现货商品id
  4178. type: integer
  4179. deliverygoodsname:
  4180. description: 现货商吕名称
  4181. type: string
  4182. dgunitid:
  4183. description: 现货商品单位id
  4184. type: integer
  4185. dgunitidname:
  4186. description: 单位名称(现货商品)
  4187. type: string
  4188. diffqty:
  4189. description: 套保品种今变动量
  4190. type: number
  4191. enumdicname:
  4192. description: 单位名称(品类)
  4193. type: string
  4194. hedgeplanid:
  4195. description: 套保计划id
  4196. type: string
  4197. hedgeplanno:
  4198. description: 套保计划名称
  4199. type: string
  4200. hedgeplanstatus:
  4201. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4202. type: integer
  4203. mgunitidname:
  4204. description: 单位名称(套保商品)
  4205. type: string
  4206. middlegoodscode:
  4207. description: 套保品种代码
  4208. type: string
  4209. middlegoodsid:
  4210. description: 套保品种id
  4211. type: integer
  4212. middlegoodsname:
  4213. description: 套保品种名称
  4214. type: string
  4215. needarbitrageratio:
  4216. description: 应套利比例
  4217. type: number
  4218. needhedgeratio:
  4219. description: 应套保比例
  4220. type: number
  4221. pricedqty:
  4222. description: 已定价量
  4223. type: number
  4224. qty:
  4225. description: 合同量
  4226. type: number
  4227. tradedate:
  4228. description: 交易日(登记日)
  4229. type: string
  4230. unitid:
  4231. description: 品类单位id
  4232. type: integer
  4233. userid:
  4234. description: 机构id
  4235. type: integer
  4236. wrstandardcode:
  4237. description: 品类代码
  4238. type: string
  4239. wrstandardid:
  4240. description: 品类id
  4241. type: integer
  4242. wrstandardname:
  4243. description: 品类名称
  4244. type: string
  4245. type: object
  4246. models.Ermcp3ExposureParamChLog:
  4247. properties:
  4248. accountid:
  4249. description: 期货账户ID (作废, 默认为0)
  4250. type: integer
  4251. aftervalue:
  4252. description: 应套保\套利量变更后(调整后应套保总量)
  4253. type: number
  4254. areauserid:
  4255. description: 所属机构\交易用户ID
  4256. type: integer
  4257. beforevalue:
  4258. description: 应套保\套利量变更前(调整前应套保总量)
  4259. type: number
  4260. begindate:
  4261. description: 开始交易日
  4262. type: string
  4263. changelogtype:
  4264. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4265. type: integer
  4266. curvalue:
  4267. description: 当前套保\套利量(套保总量|套利总量)
  4268. type: number
  4269. diffvalue:
  4270. description: 应套保总量变化量
  4271. type: number
  4272. enddate:
  4273. description: 结束交易日
  4274. type: string
  4275. logdatetime:
  4276. description: 流水日期
  4277. type: string
  4278. logid:
  4279. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4280. type: string
  4281. middlegoodscode:
  4282. description: 套保品种代码
  4283. type: string
  4284. middlegoodsid:
  4285. description: 套保品种
  4286. type: integer
  4287. middlegoodsname:
  4288. description: 套保品种名称
  4289. type: string
  4290. paramaftervalue:
  4291. description: 参数变更后(调整后参数值)
  4292. type: number
  4293. parambeforevalue:
  4294. description: 参数变更前(调整前参数值)
  4295. type: number
  4296. tradedate:
  4297. description: 交易日(yyyyMMdd)
  4298. type: string
  4299. type: object
  4300. models.Ermcp3ExpourseReport:
  4301. properties:
  4302. accountid:
  4303. description: 期货账户ID (作废, 默认为0)
  4304. type: integer
  4305. accountname:
  4306. description: 机构名称
  4307. type: string
  4308. arbitrageqty:
  4309. description: 套利量
  4310. type: number
  4311. areauserid:
  4312. description: 所属机构\交易用户ID
  4313. type: integer
  4314. begindate:
  4315. description: 开始交易日
  4316. type: string
  4317. buyfutureqty:
  4318. description: 买入期货数量
  4319. type: number
  4320. buyplanqty:
  4321. description: 采购计划数量
  4322. type: number
  4323. buypricedqty:
  4324. description: 采购合同已定价数量
  4325. type: number
  4326. cycletime:
  4327. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4328. type: string
  4329. cycletype:
  4330. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4331. type: integer
  4332. diffexposure:
  4333. description: 变动量(套保敞口)
  4334. type: number
  4335. difffutuqty:
  4336. description: 变动量(期货)
  4337. type: number
  4338. diffhedgeqty:
  4339. description: 变动量(现货应套保总量)
  4340. type: number
  4341. diffmgqtya:
  4342. description: 套保变动量
  4343. type: number
  4344. diffmgqtyb:
  4345. description: 套利变动量
  4346. type: number
  4347. diffqty:
  4348. description: 变动量(总敞口)
  4349. type: number
  4350. diffspotqty:
  4351. description: 变动量(现货)
  4352. type: number
  4353. enddate:
  4354. description: 结束交易日
  4355. type: string
  4356. enumdicname:
  4357. description: 单位名称
  4358. type: string
  4359. hedgeqty:
  4360. description: 套保量
  4361. type: number
  4362. mgneedhedgeratio:
  4363. description: 套保比例(套保品的)
  4364. type: number
  4365. middlegoodsid:
  4366. description: 套保品种ID
  4367. type: integer
  4368. middlegoodsname:
  4369. description: 套保商品名称
  4370. type: string
  4371. middlgoodscode:
  4372. description: 套保商品代码
  4373. type: string
  4374. needarbitrageqty:
  4375. description: 应套利量
  4376. type: number
  4377. needarbitrageratio:
  4378. description: 套利比例(套保品的)
  4379. type: number
  4380. needhedgeexposoure:
  4381. description: 应套保敞口(套保敞口)
  4382. type: number
  4383. needhedgeqty:
  4384. description: 应套保量
  4385. type: number
  4386. needhedgeratio:
  4387. description: 应套保敞口比例
  4388. type: number
  4389. oriarbitrageqty:
  4390. description: 期初套利量
  4391. type: number
  4392. oribuyfutureqty:
  4393. description: 期初买入期货数量
  4394. type: number
  4395. oribuyplanqty:
  4396. description: 期初采购计划数量
  4397. type: number
  4398. oribuypricedqty:
  4399. description: 期初采购合同已定价数量
  4400. type: number
  4401. orihedgeqty:
  4402. description: 期初套保量
  4403. type: number
  4404. orineedarbitrageqty:
  4405. description: 期初应套利量
  4406. type: number
  4407. orineedhedgeexposoure:
  4408. description: 期初应套保敞口
  4409. type: number
  4410. orineedhedgeqty:
  4411. description: 期初应套保量
  4412. type: number
  4413. orisellfutureqty:
  4414. description: 期初卖出期货数量
  4415. type: number
  4416. orisellplanqty:
  4417. description: 期初销售计划数量
  4418. type: number
  4419. orisellpricedqty:
  4420. description: 期初销售合同已定价数量
  4421. type: number
  4422. oritotalexposure:
  4423. description: 期初实时总敞口
  4424. type: number
  4425. oritotalfutureqty:
  4426. description: 期初期货头寸总量
  4427. type: number
  4428. oritotalneedhedgeqty:
  4429. description: 期初应套保总量
  4430. type: number
  4431. oritotalspotqty:
  4432. description: 期初现货头寸总量
  4433. type: number
  4434. reckondate:
  4435. description: 日照时期(yyyyMMdd)
  4436. type: string
  4437. sellfutureqty:
  4438. description: 卖出期货数量
  4439. type: number
  4440. sellplanqty:
  4441. description: 销售计划数量
  4442. type: number
  4443. sellpricedqty:
  4444. description: 销售合同已定价数量
  4445. type: number
  4446. totalexposure:
  4447. description: 实时总敞口(总敞口)
  4448. type: number
  4449. totalfutureqty:
  4450. description: 期货头寸总量(期货总量)
  4451. type: number
  4452. totalhedgeratio:
  4453. description: 敞口比例
  4454. type: number
  4455. totalneedhedgeqty:
  4456. description: 应套保总量(现货应套保总量)
  4457. type: number
  4458. totalspotqty:
  4459. description: 现货头寸总量
  4460. type: number
  4461. unitid:
  4462. description: 单位id
  4463. type: integer
  4464. updatetime:
  4465. description: 更新时间
  4466. type: string
  4467. type: object
  4468. models.Ermcp3FinanceReport:
  4469. properties:
  4470. accountname:
  4471. description: 机构名称
  4472. type: string
  4473. areauserid:
  4474. description: 所属机构\交易用户ID
  4475. type: integer
  4476. begindate:
  4477. description: 开始交易日
  4478. type: string
  4479. biztype:
  4480. description: 业务类型 - 1:套保 2:套利
  4481. type: integer
  4482. brandname:
  4483. description: 品牌名称
  4484. type: string
  4485. buypreinvoicedamount:
  4486. description: 采购预收票额(预收票额)
  4487. type: number
  4488. buyprepaidamount:
  4489. description: 采购预付款额(预付货款额)
  4490. type: number
  4491. buytodayinvoiceamount:
  4492. description: 采购今收票额(今收票额)
  4493. type: number
  4494. buytodayrefundamount:
  4495. description: 采购今收退款额(今收退款额)
  4496. type: number
  4497. buytodaysettleamount:
  4498. description: 采购今付款额(今付货款额)
  4499. type: number
  4500. buyuninvoicedamount:
  4501. description: 采购应收票额(应收票额)
  4502. type: number
  4503. buyunpaidamount:
  4504. description: 采购应付款额(应付货款额)
  4505. type: number
  4506. currencyid:
  4507. description: 结算币种ID
  4508. type: integer
  4509. currencyname:
  4510. description: 币种名称
  4511. type: string
  4512. cycletime:
  4513. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4514. type: string
  4515. cycletype:
  4516. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4517. type: integer
  4518. deliverygoodscode:
  4519. description: 现货品种代码
  4520. type: string
  4521. deliverygoodsid:
  4522. description: 现货品种ID
  4523. type: integer
  4524. deliverygoodsname:
  4525. description: 现货品种名称
  4526. type: string
  4527. enddate:
  4528. description: 结束交易日
  4529. type: string
  4530. reckondate:
  4531. description: 日照时期(yyyyMMdd)
  4532. type: string
  4533. sellpreinvoicedamount:
  4534. description: 销售预开票额(预开票额)
  4535. type: number
  4536. sellprepaidamount:
  4537. description: 销售预收款额(预收货款额)
  4538. type: number
  4539. selltodayinvoiceamount:
  4540. description: 销售今开票额(今开票额)
  4541. type: number
  4542. selltodayrefundamount:
  4543. description: 销售今付退款额(今付退款额)
  4544. type: number
  4545. selltodaysettleamount:
  4546. description: 销售今收款额(今收货款额)
  4547. type: number
  4548. selluninvoicedamount:
  4549. description: 销售应开票额(应开票额)
  4550. type: number
  4551. sellunpaidamount:
  4552. description: 销售应收款额(应收货款额)
  4553. type: number
  4554. spotgoodsbrandid:
  4555. description: 现货品牌ID
  4556. type: integer
  4557. todaypaysum:
  4558. description: 今付款合计
  4559. type: number
  4560. todayreceivesum:
  4561. description: 今收款合计
  4562. type: number
  4563. updatetime:
  4564. description: 更新时间
  4565. type: string
  4566. wrfactortypeid:
  4567. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4568. type: integer
  4569. wrstandardcode:
  4570. description: 品类代码
  4571. type: string
  4572. wrstandardid:
  4573. description: 现货商品ID
  4574. type: integer
  4575. wrstandardname:
  4576. description: 品类名称
  4577. type: string
  4578. type: object
  4579. models.Ermcp3Goods:
  4580. properties:
  4581. agreeunit:
  4582. description: 合约单位(合约乘数)
  4583. type: number
  4584. enumdicname:
  4585. description: 单位名称
  4586. type: string
  4587. exexchangecode:
  4588. description: 交易所代码
  4589. type: string
  4590. goodscode:
  4591. description: 期货商品代码
  4592. type: string
  4593. goodsid:
  4594. description: 期货商品id
  4595. type: integer
  4596. goodsname:
  4597. description: 期货商品名称
  4598. type: string
  4599. type: object
  4600. models.Ermcp3GoodsGroup:
  4601. properties:
  4602. agreeunit:
  4603. description: 合约单位
  4604. type: number
  4605. areauserid:
  4606. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4607. type: integer
  4608. canshort:
  4609. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4610. type: integer
  4611. closepricemode:
  4612. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4613. type: integer
  4614. createtime:
  4615. description: 创建时间
  4616. type: string
  4617. creatorid:
  4618. description: 创建人
  4619. type: integer
  4620. currencyid:
  4621. description: 报价货币ID
  4622. type: integer
  4623. decimalplace:
  4624. description: 报价小数位
  4625. type: integer
  4626. enumdicname:
  4627. description: 单位名称
  4628. type: string
  4629. exchangefullname:
  4630. description: 交易所全称
  4631. type: string
  4632. excludecfg:
  4633. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4634. type: integer
  4635. exexchangecode:
  4636. description: 交易所代码
  4637. type: string
  4638. exexchangeid:
  4639. description: 外部交易所ID[通道交易]
  4640. type: integer
  4641. exexchangename:
  4642. description: 交易所名称
  4643. type: string
  4644. goodsgroupid:
  4645. description: 商品组ID(自增ID)
  4646. type: integer
  4647. goodsgroupname:
  4648. description: 商品组名称
  4649. type: string
  4650. goodsgroupstatus:
  4651. description: 商品组状态 - 1:正常 2:注销
  4652. type: integer
  4653. goodunitid:
  4654. description: 报价单位ID
  4655. type: integer
  4656. groupcategroyid:
  4657. description: 品种分类ID
  4658. type: integer
  4659. innerdealmode:
  4660. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4661. type: integer
  4662. marketid:
  4663. description: 所属市场ID
  4664. type: integer
  4665. modifierid:
  4666. description: 修改人
  4667. type: integer
  4668. modifytime:
  4669. description: 修改时间
  4670. type: string
  4671. outerdealmode:
  4672. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. outergroupcode:
  4675. description: 外部商品组代码[通道交易]
  4676. type: string
  4677. quoteminunit:
  4678. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4679. type: integer
  4680. quotesourcegroupid:
  4681. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4682. type: integer
  4683. syncgoodsqty:
  4684. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4685. type: integer
  4686. required:
  4687. - areauserid
  4688. type: object
  4689. models.Ermcp3GoodsGroupEx:
  4690. properties:
  4691. convertratio:
  4692. description: 折算系数(品种系数)
  4693. type: number
  4694. enumdicname:
  4695. description: 单位名称
  4696. type: string
  4697. exexchangecode:
  4698. description: 交易所代码
  4699. type: string
  4700. glist:
  4701. description: 合约列表
  4702. items:
  4703. $ref: '#/definitions/models.Ermcp3Goods'
  4704. type: array
  4705. goodsgroupid:
  4706. description: 商品组id
  4707. type: integer
  4708. goodsgroupname:
  4709. description: 商品组名称
  4710. type: string
  4711. goodsunitid:
  4712. description: 单位id
  4713. type: integer
  4714. middlegoodsid:
  4715. description: 套保商品id
  4716. type: integer
  4717. type: object
  4718. models.Ermcp3HedgePlan:
  4719. properties:
  4720. accountid:
  4721. description: 资金账号
  4722. type: integer
  4723. areauserid:
  4724. description: 用户ID
  4725. type: integer
  4726. auditid:
  4727. description: 审核id
  4728. type: integer
  4729. auditname:
  4730. description: 审核人名称
  4731. type: string
  4732. auditremark:
  4733. description: 审核备注
  4734. type: string
  4735. auditsrc:
  4736. description: 审核来源 1-管理端 2-终端
  4737. type: integer
  4738. audittime:
  4739. description: 审核时间
  4740. type: string
  4741. contracttype:
  4742. description: 计划类型 - 1:采购 -1:销售
  4743. type: integer
  4744. convertfactor:
  4745. description: 标仓系数
  4746. type: number
  4747. createtime:
  4748. description: 创建时间
  4749. type: string
  4750. currencyid:
  4751. description: 币种id
  4752. type: integer
  4753. currencyname:
  4754. description: 币种名称
  4755. type: string
  4756. deliverygoodscode:
  4757. description: 现货品种代码
  4758. type: string
  4759. deliverygoodsid:
  4760. description: 现货品种ID
  4761. type: integer
  4762. deliverygoodsname:
  4763. description: 现货品种名称
  4764. type: string
  4765. enumdicname:
  4766. description: 单位名称(现货商品)
  4767. type: string
  4768. hedgeplanid:
  4769. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4770. type: string
  4771. hedgeplanno:
  4772. description: 套保计划编号(名称)
  4773. type: string
  4774. hedgeplanstatus:
  4775. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4776. type: integer
  4777. planqty:
  4778. description: 计划数量
  4779. type: number
  4780. plantime:
  4781. description: 计划时间
  4782. type: string
  4783. producttype:
  4784. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4785. type: integer
  4786. remark:
  4787. description: 备注
  4788. type: string
  4789. spotgoodsdesc:
  4790. description: 商品型号
  4791. type: string
  4792. taaccountname:
  4793. description: 资金账号名称
  4794. type: string
  4795. tradeuserid:
  4796. description: 交易用户id
  4797. type: integer
  4798. tradeusername:
  4799. description: 交易用户名称
  4800. type: string
  4801. unitid:
  4802. description: 单位id(现货商品)
  4803. type: integer
  4804. updatetime:
  4805. description: 更新时间
  4806. type: string
  4807. wrstandardcode:
  4808. description: 品类代码
  4809. type: string
  4810. wrstandardid:
  4811. description: 品类id
  4812. type: integer
  4813. wrstandardname:
  4814. description: 品类名称
  4815. type: string
  4816. wrunitid:
  4817. description: 品类单位id
  4818. type: integer
  4819. wrunitidame:
  4820. description: 品类单位名称
  4821. type: string
  4822. type: object
  4823. models.Ermcp3MiddleGoodsDetail2:
  4824. properties:
  4825. convertratio:
  4826. description: 套保系数(折算系数)
  4827. type: number
  4828. gplist:
  4829. description: 关联商品组列表
  4830. items:
  4831. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4832. type: array
  4833. mg:
  4834. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4835. description: 套保商品信息
  4836. type: object
  4837. type: object
  4838. models.Ermcp3MiddleGoodsDetailEx:
  4839. properties:
  4840. dglist:
  4841. description: 关联的现货品种列表
  4842. items:
  4843. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4844. type: array
  4845. gplist:
  4846. description: 关联商品组列表
  4847. items:
  4848. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4849. type: array
  4850. mg:
  4851. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4852. description: 套保商品信息
  4853. type: object
  4854. type: object
  4855. models.Ermcp3RootUserAccount:
  4856. properties:
  4857. accountname:
  4858. description: 账户名称(机构名称)
  4859. type: string
  4860. accountstatus:
  4861. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4862. type: integer
  4863. applysrc:
  4864. description: 申请来源 - 1:管理端 2:终端
  4865. type: integer
  4866. auditremark:
  4867. description: 审核备注
  4868. type: string
  4869. auditsrc:
  4870. description: 审核来源 - 1:管理端 2:终端
  4871. type: integer
  4872. audittime:
  4873. description: 审核时间
  4874. type: string
  4875. audituserid:
  4876. description: 审核人
  4877. type: integer
  4878. broker:
  4879. description: 所属经纪人ID
  4880. type: integer
  4881. canceltime:
  4882. description: 销户时间
  4883. type: string
  4884. canceluserid:
  4885. description: 销户人
  4886. type: integer
  4887. canrecommend:
  4888. description: 是否可推荐 - 0:不可 1;可
  4889. type: integer
  4890. createtime:
  4891. description: 创建时间
  4892. type: string
  4893. creatorid:
  4894. description: 创建人
  4895. type: integer
  4896. hasauth:
  4897. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4898. type: integer
  4899. isanonymous:
  4900. description: 是否匿名下单 - 0:否 1:是
  4901. type: integer
  4902. maxinvestornum:
  4903. description: 最大用户数(经纪会员下投资者个数)
  4904. type: integer
  4905. memberuserid:
  4906. description: 所属会员ID
  4907. type: integer
  4908. modifierid:
  4909. description: 修改人
  4910. type: integer
  4911. modifyremark:
  4912. description: 变更备注
  4913. type: string
  4914. modifystatus:
  4915. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4916. type: integer
  4917. modifytime:
  4918. description: 修改时间
  4919. type: string
  4920. parenttopuser:
  4921. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4922. type: string
  4923. parentuserid:
  4924. description: 所属机构ID
  4925. type: integer
  4926. reckonaccountid:
  4927. description: 默认结算资金账号ID(机构分润使用) 作废
  4928. type: integer
  4929. refercount:
  4930. description: 推荐总人数
  4931. type: integer
  4932. refereeuserid:
  4933. description: 推荐人ID
  4934. type: integer
  4935. refernum:
  4936. description: 推荐码
  4937. type: string
  4938. rootuserid:
  4939. description: 根用户ID
  4940. type: integer
  4941. subaccountlevel:
  4942. description: 子账户层数
  4943. type: integer
  4944. subarealevelpath:
  4945. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4946. type: string
  4947. userid:
  4948. description: 用户ID
  4949. type: integer
  4950. usertype:
  4951. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4952. type: integer
  4953. type: object
  4954. models.Ermcp3SellBuyContract:
  4955. properties:
  4956. accountid:
  4957. description: 期货账户id
  4958. type: string
  4959. accountname:
  4960. description: 账户名称
  4961. type: string
  4962. attachment:
  4963. description: 附件
  4964. type: string
  4965. audittime:
  4966. description: 审核时间
  4967. type: string
  4968. biztype:
  4969. description: 业务类型 1-套保 2-套利
  4970. type: integer
  4971. brandname:
  4972. description: 品牌名称
  4973. type: string
  4974. contracctstatus:
  4975. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4976. type: integer
  4977. contractmargin:
  4978. description: 合同保证金
  4979. type: number
  4980. contractno:
  4981. description: 合同编号
  4982. type: string
  4983. contracttype:
  4984. description: 合同类型 1-采购, -1-销售
  4985. type: integer
  4986. convertfactor:
  4987. description: 标仓系数(品类)
  4988. type: number
  4989. createtime:
  4990. description: 创建时间
  4991. type: string
  4992. currencyid:
  4993. description: 币种id
  4994. type: integer
  4995. currencyname:
  4996. description: 币种名称
  4997. type: string
  4998. daikaiamount:
  4999. description: 应收(开)票额
  5000. type: number
  5001. deliveryenddate:
  5002. description: 交割结束日
  5003. type: string
  5004. deliverygoodscode:
  5005. description: 现货品种代码
  5006. type: string
  5007. deliverygoodsid:
  5008. description: 现货商品ID
  5009. type: integer
  5010. deliverygoodsname:
  5011. description: 现货品种名称
  5012. type: string
  5013. deliverystartdate:
  5014. description: 交割开始日
  5015. type: string
  5016. enddate:
  5017. description: 点价结束日
  5018. type: string
  5019. enumdicname:
  5020. description: 单位名称
  5021. type: string
  5022. goodscode:
  5023. description: 点价商品代码
  5024. type: string
  5025. goodsid:
  5026. description: 点价商品ID
  5027. type: integer
  5028. goodsname:
  5029. description: 点价商品名称
  5030. type: string
  5031. invoiceamount:
  5032. description: 已开票额
  5033. type: number
  5034. loanamount:
  5035. description: 贷款总额=已定价额+调整金额
  5036. type: number
  5037. margin:
  5038. description: 保证金
  5039. type: number
  5040. meruserid:
  5041. description: 跟单员id
  5042. type: integer
  5043. meruserlogincode:
  5044. description: 跟单员登录代码
  5045. type: string
  5046. merusername:
  5047. description: 跟单员名称
  5048. type: string
  5049. nickname:
  5050. description: 账户昵称
  5051. type: string
  5052. payamount:
  5053. description: 已收付额(收款或付款)
  5054. type: number
  5055. preinvoiceamount:
  5056. description: 预收(开)票额
  5057. type: number
  5058. prepayamount:
  5059. description: 预收付额
  5060. type: number
  5061. price:
  5062. description: 价格
  5063. type: number
  5064. pricedamount:
  5065. description: 已定价额
  5066. type: number
  5067. pricedavg:
  5068. description: 已点均价
  5069. type: number
  5070. pricedqty:
  5071. description: 已定价量
  5072. type: number
  5073. pricemove:
  5074. description: 升贴水
  5075. type: number
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. producttype:
  5080. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5081. type: integer
  5082. qty:
  5083. description: 合同量
  5084. type: number
  5085. reckonadjustamount:
  5086. description: 调整金额
  5087. type: number
  5088. reckonedamount:
  5089. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5090. type: number
  5091. reckonotheramount:
  5092. description: 其它费用
  5093. type: number
  5094. reckonrealqty:
  5095. description: 已确定量
  5096. type: number
  5097. remark:
  5098. description: 备注
  5099. type: string
  5100. saleuserid:
  5101. description: 业务员id
  5102. type: integer
  5103. saleuserlogincode:
  5104. description: 业务员登录代码
  5105. type: string
  5106. saleusername:
  5107. description: 业务员名称
  5108. type: string
  5109. spotcontractid:
  5110. description: 合同ID
  5111. type: string
  5112. spotgoodsbrandid:
  5113. description: 现货品牌ID(DGFactoryItem表的ID)
  5114. type: integer
  5115. spotgoodsdesc:
  5116. description: 商品型号(商品规格)
  5117. type: string
  5118. startdate:
  5119. description: 点价开始日
  5120. type: string
  5121. totalamount:
  5122. description: 合计总额
  5123. type: number
  5124. tradeuserid:
  5125. description: 交易员id
  5126. type: integer
  5127. tradeuserlogincode:
  5128. description: 交易员登录代码
  5129. type: string
  5130. tradeusername:
  5131. description: 交易员名称
  5132. type: string
  5133. unpayamount:
  5134. description: 应收付款额(应支付或应收款)
  5135. type: number
  5136. unpricedqty:
  5137. description: 未定价量
  5138. type: number
  5139. unsureqty:
  5140. description: 未确定量
  5141. type: number
  5142. userid:
  5143. description: 机构ID
  5144. type: integer
  5145. wrstandardcode:
  5146. description: 品类代码
  5147. type: string
  5148. wrstandardid:
  5149. description: 品类ID
  5150. type: integer
  5151. wrstandardname:
  5152. description: 品类名称
  5153. type: string
  5154. type: object
  5155. models.Ermcp3SpotGoodsPrice:
  5156. properties:
  5157. areauserid:
  5158. description: 所属机构id
  5159. type: integer
  5160. brandname:
  5161. description: 品牌名称
  5162. type: string
  5163. currencyid:
  5164. description: 报价货币ID
  5165. type: integer
  5166. currencyname:
  5167. description: 币种名称
  5168. type: string
  5169. deliverygoodscode:
  5170. description: 现货商品代码
  5171. type: string
  5172. deliverygoodsid:
  5173. description: 现货商品id
  5174. type: integer
  5175. deliverygoodsname:
  5176. description: 现货商品名称
  5177. type: string
  5178. enumdicname:
  5179. description: 现货商品单位名称
  5180. type: string
  5181. gbenumdicname:
  5182. description: 品类单位名称
  5183. type: string
  5184. gmunitid:
  5185. description: 品类单位id
  5186. type: integer
  5187. isvalid:
  5188. description: 是否有效 - 0:无效 1:有效
  5189. type: integer
  5190. operateid:
  5191. description: 最后操作人
  5192. type: integer
  5193. operatesrc:
  5194. description: 最后操作来源 - 1:管理端 2:终端
  5195. type: integer
  5196. operatetime:
  5197. description: 最后操作时间
  5198. type: string
  5199. operatorname:
  5200. description: 操作人名称
  5201. type: string
  5202. spotgoodsbrandid:
  5203. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5204. type: integer
  5205. spotgoodsprice:
  5206. description: 现货价格
  5207. type: number
  5208. tradedate:
  5209. description: 交易日(yyyyMMdd)
  5210. type: string
  5211. unitid:
  5212. description: 现货商品单位id
  5213. type: integer
  5214. wrstandardcode:
  5215. description: 品类代码
  5216. type: string
  5217. wrstandardid:
  5218. description: 现货品类ID(通用则为0)
  5219. type: integer
  5220. wrstandardname:
  5221. description: 品类名称
  5222. type: string
  5223. type: object
  5224. models.Ermcp3SpotGoodsPriceLog:
  5225. properties:
  5226. areauserid:
  5227. description: 所属机构id
  5228. type: integer
  5229. brandname:
  5230. description: 品牌名称
  5231. type: string
  5232. currencyid:
  5233. description: 报价货币ID
  5234. type: integer
  5235. deliverygoodscode:
  5236. description: 现货商品代码
  5237. type: string
  5238. deliverygoodsid:
  5239. description: 现货商品id
  5240. type: integer
  5241. deliverygoodsname:
  5242. description: 现货商品名称
  5243. type: string
  5244. enumdicname:
  5245. description: 现货商品单位名称
  5246. type: string
  5247. gbenumdicname:
  5248. description: 品类单位名称
  5249. type: string
  5250. gmunitid:
  5251. description: 品类单位id
  5252. type: integer
  5253. logid:
  5254. description: 日志id
  5255. type: integer
  5256. operateid:
  5257. description: 最后操作人
  5258. type: integer
  5259. operatesrc:
  5260. description: 最后操作来源 - 1:管理端 2:终端
  5261. type: integer
  5262. operatetime:
  5263. description: 最后操作时间
  5264. type: string
  5265. operatorname:
  5266. description: 操作人名称
  5267. type: string
  5268. spotgoodsbrandid:
  5269. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5270. type: integer
  5271. spotgoodsprice:
  5272. description: 现货价格
  5273. type: number
  5274. tradedate:
  5275. description: 交易日(yyyyMMdd)
  5276. type: string
  5277. unitid:
  5278. description: 现货商品单位id
  5279. type: integer
  5280. wrstandardcode:
  5281. description: 品类代码
  5282. type: string
  5283. wrstandardid:
  5284. description: 现货品类ID(通用则为0)
  5285. type: integer
  5286. wrstandardname:
  5287. description: 品类名称
  5288. type: string
  5289. type: object
  5290. models.Ermcp3TaFutuReDataReport:
  5291. properties:
  5292. accountid:
  5293. description: 交易账户
  5294. type: integer
  5295. accountname:
  5296. description: 交易账号名称
  5297. type: string
  5298. begindate:
  5299. description: 开始交易日
  5300. type: string
  5301. buyorsell:
  5302. description: 持仓方向
  5303. type: integer
  5304. charge:
  5305. description: 手续费
  5306. type: number
  5307. closeavgprice:
  5308. description: 平仓均价
  5309. type: number
  5310. closepl:
  5311. description: 平仓损益
  5312. type: number
  5313. currencyid:
  5314. description: 结算币种ID
  5315. type: integer
  5316. currencyname:
  5317. description: 币种名称
  5318. type: string
  5319. cycletime:
  5320. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5321. type: string
  5322. cycletype:
  5323. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5324. type: integer
  5325. enddate:
  5326. description: 结束交易日
  5327. type: string
  5328. enumdicname:
  5329. description: 单位名称
  5330. type: string
  5331. floatpl:
  5332. description: 浮动损益
  5333. type: number
  5334. goodscode:
  5335. description: 交易合约代码
  5336. type: string
  5337. goodsgroupid:
  5338. description: 交易品种
  5339. type: integer
  5340. goodsgroupname:
  5341. description: 交易品种名称
  5342. type: string
  5343. goodsgroupspotqty:
  5344. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5345. type: number
  5346. goodsid:
  5347. description: 交易合约
  5348. type: integer
  5349. goodsname:
  5350. description: 交易合约名称
  5351. type: string
  5352. goodunitid:
  5353. description: 交易合约单位id
  5354. type: integer
  5355. holdamount:
  5356. description: 期末持仓额
  5357. type: number
  5358. holdqty:
  5359. description: 期末持仓量
  5360. type: number
  5361. lastholdamount:
  5362. description: 当前持仓额
  5363. type: number
  5364. lastprice:
  5365. description: 最新价
  5366. type: number
  5367. middlegoodsid:
  5368. description: 套保品种id
  5369. type: integer
  5370. middlegoodsname:
  5371. description: 套保商品名称
  5372. type: string
  5373. middlegoodsqty:
  5374. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5375. type: number
  5376. middlgoodscode:
  5377. description: 套保商品代码
  5378. type: string
  5379. openamount:
  5380. description: 期末开仓额
  5381. type: number
  5382. openavgprice:
  5383. description: 开仓均价
  5384. type: number
  5385. oriholdamount:
  5386. description: 期初持仓额
  5387. type: number
  5388. oriholdqty:
  5389. description: 期初持仓量
  5390. type: number
  5391. oriopenamount:
  5392. description: 期初开仓额
  5393. type: number
  5394. outergroupcode:
  5395. description: 交易品种代码
  5396. type: string
  5397. reckondate:
  5398. description: 日照时期(yyyyMMdd)
  5399. type: string
  5400. reckonholdamount:
  5401. description: 结算持仓额
  5402. type: number
  5403. reckonpl:
  5404. description: 结算损益
  5405. type: number
  5406. reckonpl2:
  5407. description: 结算逐笔盈亏
  5408. type: number
  5409. reckonprice:
  5410. description: 结算价
  5411. type: number
  5412. relateduserid:
  5413. description: 账户关联用户ID
  5414. type: integer
  5415. todaycloseamount:
  5416. description: 今平仓额
  5417. type: number
  5418. todaycloseqty:
  5419. description: 今平仓量
  5420. type: number
  5421. todaygoodsgroupspotqty:
  5422. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5423. type: number
  5424. todaymiddlegoodsqty:
  5425. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5426. type: number
  5427. todayopenamount:
  5428. description: 今开仓额
  5429. type: number
  5430. todayopenqty:
  5431. description: 今开仓量
  5432. type: number
  5433. userid:
  5434. description: 账户所属用户ID
  5435. type: integer
  5436. type: object
  5437. models.Ermcp3Wrstandard:
  5438. properties:
  5439. areauserid:
  5440. description: 所属机构
  5441. type: integer
  5442. convertfactor:
  5443. description: 标仓系数
  5444. type: number
  5445. createtime:
  5446. description: 创建时间
  5447. type: string
  5448. creatorid:
  5449. description: 创建人
  5450. type: integer
  5451. deliverygoodsid:
  5452. description: 现货品种ID
  5453. type: integer
  5454. enumdicname:
  5455. description: 品类单位名称
  5456. type: string
  5457. isvalid:
  5458. description: 是否有效 0-无效(停用) 1-有效(正常)
  5459. type: integer
  5460. minivalue:
  5461. description: 最小变动值
  5462. type: integer
  5463. minivaluedp:
  5464. description: 最小变动值小数位
  5465. type: integer
  5466. realminivalue:
  5467. description: 实际最小变动值
  5468. type: integer
  5469. realminivaluedp:
  5470. description: 实际最小变动值小数位
  5471. type: integer
  5472. remark:
  5473. description: 备注
  5474. type: string
  5475. unitid:
  5476. description: 品类单位ID
  5477. type: integer
  5478. updatetime:
  5479. description: 更新时间
  5480. type: string
  5481. wrstandardcode:
  5482. description: 品类代码
  5483. type: string
  5484. wrstandardid:
  5485. description: 品类ID(SEQ_WRSTANDARD)
  5486. type: integer
  5487. wrstandardname:
  5488. description: 品类名称
  5489. type: string
  5490. type: object
  5491. models.ErmcpAreaSpotDetailModel:
  5492. properties:
  5493. contracttype:
  5494. description: 合同类型 1-采购 -1-销售
  5495. type: integer
  5496. createtime:
  5497. description: 创建时间
  5498. type: string
  5499. enumdicname:
  5500. description: 现货商品单位名称
  5501. type: string
  5502. logtype:
  5503. description: 记录类型 1-套保 2-现货合同
  5504. type: integer
  5505. qty:
  5506. description: 数量
  5507. type: number
  5508. recordname:
  5509. description: 类型名称
  5510. type: string
  5511. relatedid:
  5512. description: 套保计划ID/现货合同ID
  5513. type: string
  5514. relatedno:
  5515. description: 编号
  5516. type: string
  5517. strtime:
  5518. description: 时间
  5519. type: string
  5520. wrstandardcode:
  5521. description: 现货商品代码
  5522. type: string
  5523. wrstandardname:
  5524. description: 现货商品名称
  5525. type: string
  5526. type: object
  5527. models.ErmcpAvalidGoodsGroupModel:
  5528. properties:
  5529. goodsgroupid:
  5530. description: 期货品种id
  5531. type: integer
  5532. goodsgroupname:
  5533. description: 期货品种名称
  5534. type: string
  5535. goodunitid:
  5536. description: 品种单位id
  5537. type: integer
  5538. goodunitname:
  5539. description: 品种单位名称
  5540. type: string
  5541. outergroupcode:
  5542. description: 期货品种代码
  5543. type: string
  5544. type: object
  5545. models.ErmcpBizGroupEx:
  5546. properties:
  5547. acclist:
  5548. description: 账号列表
  5549. items:
  5550. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5551. type: array
  5552. bizgroupid:
  5553. description: 业务分组id
  5554. type: integer
  5555. biztype:
  5556. description: 业务类型 1-套保 2-套利
  5557. type: integer
  5558. wrlist:
  5559. description: 现货商品表
  5560. items:
  5561. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5562. type: array
  5563. type: object
  5564. models.ErmcpBizGroupSpotGoods:
  5565. properties:
  5566. areauserid:
  5567. description: 所属机构id
  5568. type: integer
  5569. bizgroupid:
  5570. description: 分组id
  5571. type: integer
  5572. biztype:
  5573. description: 业务类型 1-套保 2-套利
  5574. type: integer
  5575. deliverygoodscode:
  5576. description: 现货商品代码
  5577. type: string
  5578. deliverygoodsid:
  5579. description: 现货商品id
  5580. type: integer
  5581. deliverygoodsname:
  5582. description: 现货商品名称
  5583. type: string
  5584. unitid:
  5585. description: 现货商品单位id
  5586. type: integer
  5587. type: object
  5588. models.ErmcpBizGroupTaAccount:
  5589. properties:
  5590. accountid:
  5591. description: 账号id
  5592. type: integer
  5593. accountname:
  5594. description: 账号名称
  5595. type: string
  5596. areauserid:
  5597. description: 所属机构id
  5598. type: integer
  5599. bizgroupid:
  5600. description: 业务分组id
  5601. type: integer
  5602. ismain:
  5603. description: 是否主账号 1-是 0-否
  5604. type: integer
  5605. type: object
  5606. models.ErmcpDGFactoryItem:
  5607. properties:
  5608. areauserid:
  5609. description: 用户id
  5610. type: integer
  5611. deliverygoodsid:
  5612. description: 现货品种ID
  5613. type: integer
  5614. dgfactoryitemid:
  5615. description: 选择项ID(SEQ_DGFACTORYITEM)
  5616. type: integer
  5617. dgfactoryitemtypeid:
  5618. description: 要素项类型
  5619. type: integer
  5620. dgfactoryitemvalue:
  5621. description: 要素项值(类型为仓库时填写仓库名称)
  5622. type: string
  5623. isvalid:
  5624. description: 是否有效 - 0:无效 1:有效
  5625. type: integer
  5626. orderindex:
  5627. description: 顺序
  5628. type: integer
  5629. warehouseid:
  5630. description: 仓库ID(类型为仓库时填写)
  5631. type: integer
  5632. type: object
  5633. models.ErmcpDeliveryGoods:
  5634. properties:
  5635. agreeunit:
  5636. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5637. type: integer
  5638. areauserid:
  5639. description: 所属机构
  5640. type: integer
  5641. auditflag:
  5642. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5643. type: integer
  5644. categoryid:
  5645. description: 类别ID(SEQ_WRCATEGORY)
  5646. type: integer
  5647. deliverygoodscode:
  5648. description: 现货品种代码
  5649. type: string
  5650. deliverygoodsid:
  5651. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5652. type: integer
  5653. deliverygoodsname:
  5654. description: 现货品种名称
  5655. type: string
  5656. deliverygoodstype:
  5657. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5658. type: integer
  5659. dgstatus:
  5660. description: 品种状态 - 作废 - 0:未激活 1:正常
  5661. type: integer
  5662. enumdicname:
  5663. description: 现货品种单位名称
  5664. type: string
  5665. goodsunitid:
  5666. description: 现货品种单位ID
  5667. type: integer
  5668. isvalid:
  5669. description: 是否有效 - 0:无效 1:有效
  5670. type: integer
  5671. qtydecimalplace:
  5672. description: 成交量小数位
  5673. type: integer
  5674. remark:
  5675. description: 备注
  5676. type: string
  5677. standardqty:
  5678. description: 标准数量(库位数量) [标准品特有]
  5679. type: integer
  5680. standardqtyrange:
  5681. description: 标准数量偏差范围 [标准品特有]
  5682. type: integer
  5683. type: object
  5684. models.ErmcpDeliveryGoodsDetail2:
  5685. properties:
  5686. convertratio:
  5687. description: 套保系数(折算系数)
  5688. type: number
  5689. data:
  5690. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5691. description: 现货商品基本信息(交割品种)
  5692. type: object
  5693. gblist:
  5694. description: 品牌列表
  5695. items:
  5696. $ref: '#/definitions/models.Ermcp3Brand'
  5697. type: array
  5698. gmlist:
  5699. description: 品类列表(仓单标准)
  5700. items:
  5701. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5702. type: array
  5703. type: object
  5704. models.ErmcpDeliveryGoodsDetailEx:
  5705. properties:
  5706. data:
  5707. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5708. description: 现货商品基本信息(交割品种)
  5709. type: object
  5710. gblist:
  5711. description: 品牌列表
  5712. items:
  5713. $ref: '#/definitions/models.Ermcp3Brand'
  5714. type: array
  5715. gmlist:
  5716. description: 品类列表(仓单标准)
  5717. items:
  5718. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5719. type: array
  5720. mgList:
  5721. description: 套保列表
  5722. items:
  5723. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5724. type: array
  5725. type: object
  5726. models.ErmcpExposureDetailModel:
  5727. properties:
  5728. areauserid:
  5729. description: 机构ID
  5730. type: integer
  5731. changeQty:
  5732. description: 套保变动量
  5733. type: number
  5734. contracttype:
  5735. description: 现货合同类型 - 1:采购 -1:销售
  5736. type: integer
  5737. convertfactor:
  5738. description: 标仓系数
  5739. type: number
  5740. convertratio:
  5741. description: 套保系数
  5742. type: number
  5743. createtime:
  5744. description: 时间
  5745. type: string
  5746. enumdicname:
  5747. description: 现货商品单位名称
  5748. type: string
  5749. logtype:
  5750. description: 类型 - 1:套保计划 2:现货合同
  5751. type: integer
  5752. middlegoodsId:
  5753. description: 套保商品id
  5754. type: integer
  5755. middlegoodscode:
  5756. description: 套保商品代码
  5757. type: string
  5758. middlegoodsname:
  5759. description: 套保商品名称
  5760. type: string
  5761. qty:
  5762. description: 数量
  5763. type: number
  5764. relateNo:
  5765. description: 现货合同/套保计划编号
  5766. type: string
  5767. wrstandardcode:
  5768. description: 现货商品代码
  5769. type: string
  5770. wrstandardid:
  5771. description: 现货商品ID
  5772. type: integer
  5773. wrstandardname:
  5774. description: 现货商品名称
  5775. type: string
  5776. type: object
  5777. models.ErmcpExposurePostion:
  5778. properties:
  5779. agreeunit:
  5780. description: 合约单位
  5781. type: string
  5782. areauserid:
  5783. description: 所属机构id
  5784. type: integer
  5785. convertratio:
  5786. description: 期货品种系数(折算系数)
  5787. type: number
  5788. curqty:
  5789. description: 当前持仓
  5790. type: integer
  5791. diffhedgeqty:
  5792. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5793. type: number
  5794. diffqty:
  5795. description: 持仓变动量=当前持仓-昨日持仓
  5796. type: integer
  5797. goodscode:
  5798. description: 商品代码
  5799. type: string
  5800. goodsid:
  5801. description: 商品id
  5802. type: integer
  5803. goodsname:
  5804. description: 商品名称
  5805. type: string
  5806. middlegoodsid:
  5807. description: 套保商品id
  5808. type: integer
  5809. ydqty:
  5810. description: 昨日持仓
  5811. type: integer
  5812. type: object
  5813. models.ErmcpFuturesCompany:
  5814. properties:
  5815. brokerid:
  5816. description: 经纪公司代码
  5817. type: string
  5818. channeladdress:
  5819. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5820. type: string
  5821. channelid:
  5822. description: 对冲渠道ID
  5823. type: string
  5824. createtime:
  5825. description: 创建时间
  5826. type: string
  5827. creatorid:
  5828. description: 创建人
  5829. type: string
  5830. fcid:
  5831. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5832. type: integer
  5833. fcname:
  5834. description: 期货公司名称
  5835. type: string
  5836. isvalid:
  5837. description: 是否有效 - 0:无效 1:有效
  5838. type: integer
  5839. mhpaddress:
  5840. description: MHP服务地址(IP:Port)
  5841. type: string
  5842. riskrulegroupid:
  5843. description: 风控规则组ID
  5844. type: string
  5845. tradefeetmpid:
  5846. description: 手续费模板ID[TradeConfigTmpType为2]
  5847. type: string
  5848. trademargintmpid:
  5849. description: 保证金模板ID [TradeConfigTmpType为1]
  5850. type: string
  5851. traderatetmpid:
  5852. description: 汇率模板ID[TradeConfigTmpType为3]
  5853. type: string
  5854. updatetime:
  5855. description: 更新时间
  5856. type: string
  5857. updatorid:
  5858. description: 更新人
  5859. type: string
  5860. type: object
  5861. models.ErmcpGGConvertCfg:
  5862. properties:
  5863. convertratio:
  5864. description: 折算系数
  5865. type: number
  5866. destgoodsgroupid:
  5867. description: 目标品种ID
  5868. type: integer
  5869. dstcode:
  5870. description: 目录品种代码
  5871. type: string
  5872. dstexchangecode:
  5873. description: 目标期货交易所
  5874. type: string
  5875. dstname:
  5876. description: 目标品种名称
  5877. type: string
  5878. dstunitid:
  5879. description: 目标品种单位ID
  5880. type: integer
  5881. dstunitidname:
  5882. description: 目标品种单位名称
  5883. type: string
  5884. modifytime:
  5885. description: 修改时间
  5886. type: string
  5887. srccode:
  5888. description: 源品种代码
  5889. type: string
  5890. srcexchangecode:
  5891. description: 源期货交易所
  5892. type: string
  5893. srcgoodsgroupid:
  5894. description: 源品种ID
  5895. type: integer
  5896. srcname:
  5897. description: 源品种名称
  5898. type: string
  5899. srcunitid:
  5900. description: 源品种单位ID
  5901. type: integer
  5902. srcunitidname:
  5903. description: 源品种单位名称
  5904. type: string
  5905. type: object
  5906. models.ErmcpGoods:
  5907. properties:
  5908. agreeunit:
  5909. description: 合约单位
  5910. type: number
  5911. areauserid:
  5912. description: 所属机构
  5913. type: integer
  5914. auditaccountid:
  5915. description: 审核操作员账号
  5916. type: integer
  5917. audittime:
  5918. description: 审核时间
  5919. type: string
  5920. cancelaccountid:
  5921. description: 注销操作员账号
  5922. type: integer
  5923. canceltime:
  5924. description: 注销时间
  5925. type: string
  5926. closepricemode:
  5927. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5928. type: integer
  5929. closepriceparam:
  5930. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5931. type: number
  5932. createtime:
  5933. description: 创建时间
  5934. type: string
  5935. creatorid:
  5936. description: 创建人
  5937. type: integer
  5938. currencyid:
  5939. description: 报价货币ID
  5940. type: integer
  5941. cutmode:
  5942. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5943. type: integer
  5944. decimalplace:
  5945. description: 报价小数位
  5946. type: integer
  5947. delistingdate:
  5948. description: 商品退市时间(状态:退市) -- 已作废
  5949. type: string
  5950. delistingmode:
  5951. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5952. type: integer
  5953. deliveryflag:
  5954. description: 交割标志 - 0:不可交割 1:可交割
  5955. type: integer
  5956. enumdicname:
  5957. description: 单位名称
  5958. type: string
  5959. forceclosemode:
  5960. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5961. type: integer
  5962. forceclosevalue:
  5963. description: 定期强平参数 [收益权]
  5964. type: integer
  5965. goodscode:
  5966. description: 商品代码(内部)
  5967. type: string
  5968. goodscurrencyid:
  5969. description: 合约货币ID
  5970. type: integer
  5971. goodsgroupid:
  5972. description: 所属商品组ID
  5973. type: integer
  5974. goodsid:
  5975. description: 商品ID(自增ID SEQ_GOODS)
  5976. type: integer
  5977. goodsname:
  5978. description: 商品名称
  5979. type: string
  5980. goodsquotetype:
  5981. description: '合约报价类型: 1-直接报价 2-间接报价'
  5982. type: integer
  5983. goodsstatus:
  5984. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5985. type: integer
  5986. goodstradetype:
  5987. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5988. type: integer
  5989. goodunitid:
  5990. description: 报价单位ID
  5991. type: integer
  5992. hasquoter:
  5993. description: 是否有报价商 - 0:无报价商 1:有报价商
  5994. type: integer
  5995. hqprotecttime:
  5996. description: 行情保护时间(秒)
  5997. type: integer
  5998. innerdealmode:
  5999. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6000. type: integer
  6001. isbuylimited:
  6002. description: 是否限制建仓量 - 0:不限制 1:限制
  6003. type: integer
  6004. isvisible:
  6005. description: 游客是否可见 - 0:不可见 1:可见
  6006. type: integer
  6007. lasttradedate:
  6008. description: 最后交易日期(状态:待退市)
  6009. type: string
  6010. listingdate:
  6011. description: 交易开始日期
  6012. type: string
  6013. marketid:
  6014. description: 所属市场ID
  6015. type: integer
  6016. modifierid:
  6017. description: 修改人
  6018. type: integer
  6019. modifystatus:
  6020. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6021. type: integer
  6022. modifytime:
  6023. description: 修改时间
  6024. type: string
  6025. outerdealmode:
  6026. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6027. type: integer
  6028. outgoodscode:
  6029. description: 商品代码(外部)
  6030. type: string
  6031. pictureurl:
  6032. description: 商品图片
  6033. type: string
  6034. qtydecimalplace:
  6035. description: 成交量小数位
  6036. type: integer
  6037. quotegear:
  6038. description: 行情档位(1-10)
  6039. type: integer
  6040. quoteminunit:
  6041. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6042. type: integer
  6043. quoteshowtype:
  6044. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6045. type: integer
  6046. quoteshowtypeinterval:
  6047. description: 行情报价间隔时间(秒)(成交价时为0)
  6048. type: integer
  6049. relatedgoodsid:
  6050. description: 关联参考商品ID
  6051. type: integer
  6052. remark:
  6053. description: 备注
  6054. type: string
  6055. trademode:
  6056. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6057. 21:竞拍-大宗式 22:受托竞价
  6058. type: integer
  6059. required:
  6060. - goodscode
  6061. - goodsid
  6062. - goodsname
  6063. - marketid
  6064. type: object
  6065. models.ErmcpGoodsBrand:
  6066. properties:
  6067. areauserid:
  6068. description: 所属机构
  6069. type: integer
  6070. brandid:
  6071. description: BrandID(SEQ_SPOTGOODSBRAND)
  6072. type: integer
  6073. brandname:
  6074. description: 品牌名称
  6075. type: string
  6076. createtime:
  6077. description: 创建时间
  6078. type: string
  6079. creatorid:
  6080. description: 创建人
  6081. type: integer
  6082. creatorsrc:
  6083. description: 创建人来源 - 1:管理端 2:终端
  6084. type: integer
  6085. deliverygoodsid:
  6086. description: 现货品种ID
  6087. type: integer
  6088. isvalid:
  6089. description: 是否有效 - 0:无效 1:有效
  6090. type: integer
  6091. updatetime:
  6092. description: 更新时间
  6093. type: string
  6094. updatorid:
  6095. description: 更新人
  6096. type: integer
  6097. updatorsrc:
  6098. description: 更新人来源 - 1:管理端 2:终端
  6099. type: integer
  6100. wrstandardid:
  6101. description: 现货商品ID
  6102. type: integer
  6103. type: object
  6104. models.ErmcpGoodsModel:
  6105. properties:
  6106. areauserid:
  6107. description: 所属机构
  6108. type: integer
  6109. convertfactor:
  6110. description: 标仓系数
  6111. type: number
  6112. createtime:
  6113. description: 创建时间
  6114. type: string
  6115. creatorid:
  6116. description: 创建人
  6117. type: integer
  6118. creatorsrc:
  6119. description: 创建人来源 - 1:管理端 2:终端
  6120. type: integer
  6121. deliverygoodsid:
  6122. description: 现货品种ID
  6123. type: integer
  6124. isvalid:
  6125. description: 是否有效 - 0:无效 1:有效
  6126. type: integer
  6127. modelid:
  6128. description: ModelID(SEQ_SPOTGOODSMODEL)
  6129. type: integer
  6130. modelname:
  6131. description: 型号名称
  6132. type: string
  6133. updatetime:
  6134. description: 更新时间
  6135. type: string
  6136. updatorid:
  6137. description: 更新人
  6138. type: integer
  6139. updatorsrc:
  6140. description: 更新人来源 - 1:管理端 2:终端
  6141. type: integer
  6142. wrstandardid:
  6143. description: 现货商品ID
  6144. type: integer
  6145. type: object
  6146. models.ErmcpHedgePosition:
  6147. properties:
  6148. accountid:
  6149. description: 资金账号[外部母账户]
  6150. type: integer
  6151. curbuyposition:
  6152. description: 期末买头寸
  6153. type: integer
  6154. cursellposition:
  6155. description: 期末卖头寸
  6156. type: integer
  6157. curtdbuyposition:
  6158. description: 期末今日买头寸
  6159. type: integer
  6160. curtdsellposition:
  6161. description: 期末今日卖头寸
  6162. type: integer
  6163. curydbuyposition:
  6164. description: 期末上日买头寸
  6165. type: integer
  6166. curydsellposition:
  6167. description: 期末上日卖头寸
  6168. type: integer
  6169. decreaseqty:
  6170. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6171. type: integer
  6172. fretdbuyposition:
  6173. description: 冻结今日买头寸
  6174. type: integer
  6175. fretdsellposition:
  6176. description: 冻结今日卖头寸
  6177. type: integer
  6178. freydbuyposition:
  6179. description: 冻结上日买头寸
  6180. type: integer
  6181. freydsellposition:
  6182. description: 冻结上日卖头寸
  6183. type: integer
  6184. goodscode:
  6185. description: 商品代码
  6186. type: string
  6187. goodsid:
  6188. description: 商品id
  6189. type: integer
  6190. goodsname:
  6191. description: 商品名称
  6192. type: string
  6193. hedgeaccountcode:
  6194. description: 对冲账号
  6195. type: string
  6196. hedgegoodsid:
  6197. description: 对冲合约ID
  6198. type: integer
  6199. increaseqty:
  6200. description: 增加数量 = 期末买头寸 - 期初买头寸
  6201. type: integer
  6202. marketid:
  6203. description: 市场ID
  6204. type: integer
  6205. relateduserid:
  6206. description: 关联用户id
  6207. type: integer
  6208. totalcurqty:
  6209. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6210. type: integer
  6211. totalydqty:
  6212. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6213. type: integer
  6214. tradedate:
  6215. description: 交易日(yyyyMMdd)
  6216. type: string
  6217. ydbuyposition:
  6218. description: 期初买头寸
  6219. type: integer
  6220. ydsellposition:
  6221. description: 期初卖头寸
  6222. type: integer
  6223. type: object
  6224. models.ErmcpHedgePositionDetail:
  6225. properties:
  6226. buyorsell:
  6227. description: 买卖方向 0-买 1-卖
  6228. type: integer
  6229. channelbuildtype:
  6230. description: 开平方向 1-建仓 2-平仓
  6231. type: integer
  6232. goodscode:
  6233. description: 商品代码
  6234. type: string
  6235. goodsname:
  6236. description: 商品名称
  6237. type: string
  6238. hedgegoodsid:
  6239. description: 商品id
  6240. type: integer
  6241. tradeqty:
  6242. description: 数量(成交数量)
  6243. type: integer
  6244. tradetime:
  6245. description: 时间(成交时间)
  6246. type: string
  6247. type: object
  6248. models.ErmcpHisExposure:
  6249. properties:
  6250. needhedgeexposoure:
  6251. description: 应套保敞口
  6252. type: number
  6253. reckondate:
  6254. description: 日照时期(yyyyMMdd)
  6255. type: string
  6256. totalexposure:
  6257. description: 总敞口
  6258. type: number
  6259. type: object
  6260. models.ErmcpHisExposureS:
  6261. properties:
  6262. data:
  6263. description: 历史敞口
  6264. items:
  6265. $ref: '#/definitions/models.ErmcpHisExposure'
  6266. type: array
  6267. enumdicname:
  6268. description: 单位名称
  6269. type: string
  6270. middlegoodscode:
  6271. description: 套保品种代码
  6272. type: string
  6273. middlegoodsid:
  6274. description: 套保品种ID
  6275. type: integer
  6276. middlegoodsname:
  6277. description: 套保品种名称
  6278. type: string
  6279. type: object
  6280. models.ErmcpLoginTaAccount:
  6281. properties:
  6282. accountid:
  6283. description: 账号id
  6284. type: integer
  6285. accountname:
  6286. description: 账号名称
  6287. type: string
  6288. type: object
  6289. models.ErmcpLoginUser:
  6290. properties:
  6291. acclist:
  6292. description: 关联资金账号
  6293. items:
  6294. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6295. type: array
  6296. accountname:
  6297. description: 用户名称
  6298. type: string
  6299. clientroleid:
  6300. description: 角色id(usertype=2)
  6301. type: integer
  6302. createtime:
  6303. description: 创建时间
  6304. type: string
  6305. logincode:
  6306. description: 登录代码
  6307. type: string
  6308. loginid:
  6309. description: 登录id(LOGINID)
  6310. type: integer
  6311. loginname:
  6312. description: 登录名称(loginaccount表中的accountname字段)
  6313. type: string
  6314. loginstatus:
  6315. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6316. type: integer
  6317. memberuserid:
  6318. description: 所属会员id
  6319. type: integer
  6320. mobile:
  6321. description: 手机号
  6322. type: string
  6323. modifytime:
  6324. description: 修改时间
  6325. type: string
  6326. password:
  6327. description: 密码(不可解密)
  6328. type: string
  6329. rolename:
  6330. description: 角色名称
  6331. type: string
  6332. rolestatus:
  6333. description: 角色状态 1-启用 2-停用
  6334. type: integer
  6335. roletype:
  6336. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6337. type: string
  6338. userid:
  6339. description: 用户id
  6340. type: integer
  6341. usertype:
  6342. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6343. type: integer
  6344. type: object
  6345. models.ErmcpLoginUserEx:
  6346. properties:
  6347. accountstatus:
  6348. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6349. type: integer
  6350. mobile:
  6351. description: 手机号
  6352. type: string
  6353. querytype:
  6354. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6355. type: integer
  6356. roleid:
  6357. description: 角色id(交易账户->用户id)
  6358. type: integer
  6359. rolename:
  6360. description: 角色名称(交易账户->用户名称)
  6361. type: string
  6362. userlist:
  6363. description: 用户列表
  6364. items:
  6365. $ref: '#/definitions/models.ErmcpLoginUser'
  6366. type: array
  6367. usertype:
  6368. description: 用户类型 2-机构 7-企业成员(云平台)
  6369. type: integer
  6370. type: object
  6371. models.ErmcpMiddleGoodsChangeLog:
  6372. properties:
  6373. aftervalue:
  6374. description: 变更后
  6375. type: number
  6376. applyid:
  6377. description: 操作人
  6378. type: integer
  6379. applyname:
  6380. description: 操作人名称
  6381. type: string
  6382. applysrc:
  6383. description: 操作来源 - 1:管理端 2:终端
  6384. type: integer
  6385. beforevalue:
  6386. description: 变更前
  6387. type: number
  6388. changelogtype:
  6389. description: 变更流水类型 - 1:套保比率变更
  6390. type: integer
  6391. handlestatus:
  6392. description: 处理状态
  6393. type: integer
  6394. logdatetime:
  6395. description: 流水日期
  6396. type: string
  6397. logid:
  6398. description: 流水ID
  6399. type: integer
  6400. logremark:
  6401. description: 流水备注
  6402. type: string
  6403. middlegoodsid:
  6404. description: 套保品种ID
  6405. type: integer
  6406. tradedate:
  6407. description: 交易日(yyyyMMdd)
  6408. type: string
  6409. updatetime:
  6410. description: 更新时间
  6411. type: string
  6412. type: object
  6413. models.ErmcpMiddleGoodsDetail:
  6414. properties:
  6415. cvList:
  6416. description: 期货品种折算列表
  6417. items:
  6418. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6419. type: array
  6420. mg:
  6421. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6422. description: 套保品种基本信息
  6423. type: object
  6424. wrcList:
  6425. description: 现货品种列表(现货商品折算配置)
  6426. items:
  6427. $ref: '#/definitions/models.WRSConverTDetail'
  6428. type: array
  6429. type: object
  6430. models.ErmcpMiddleGoodsModel:
  6431. properties:
  6432. areauserid:
  6433. description: 机构用户ID
  6434. type: integer
  6435. createtime:
  6436. description: 修改时间
  6437. type: string
  6438. enumdicname:
  6439. description: 单位名称
  6440. type: string
  6441. evaluateratio:
  6442. description: 估价系数
  6443. type: number
  6444. goodsgroupid:
  6445. description: 关联期货品种ID
  6446. type: integer
  6447. goodsunitid:
  6448. description: 单位ID
  6449. type: integer
  6450. isvalid:
  6451. description: 状态 0-无效(停用) 1-有效(正常)
  6452. type: integer
  6453. middlegoodscode:
  6454. description: 套保品种代码
  6455. type: string
  6456. middlegoodsid:
  6457. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6458. type: integer
  6459. middlegoodsname:
  6460. description: 套保品种名称
  6461. type: string
  6462. modifytime:
  6463. description: 修改时间
  6464. type: string
  6465. needarbitrageratio:
  6466. description: 套利比例
  6467. type: number
  6468. needhedgeratio:
  6469. description: 套保比率
  6470. type: number
  6471. qtydecimalplace:
  6472. description: 数量小数位
  6473. type: integer
  6474. relatedgoodsid:
  6475. description: 关联交易商品ID
  6476. type: integer
  6477. relatedgoodstype:
  6478. description: 关联商品类型 - 1:期货合约 2:现货品种
  6479. type: integer
  6480. remark:
  6481. description: 备注
  6482. type: string
  6483. type: object
  6484. models.ErmcpMiddlegoodsRelateGoods:
  6485. properties:
  6486. agreeunit:
  6487. description: 合约乘数
  6488. type: number
  6489. convertratio:
  6490. description: 折算系数
  6491. type: number
  6492. enumdicname:
  6493. description: 单位名称(交易商品)
  6494. type: string
  6495. goodscode:
  6496. description: 交易商品代码
  6497. type: string
  6498. goodsgroupid:
  6499. description: 交易品种id
  6500. type: integer
  6501. goodsid:
  6502. description: 商品Id
  6503. type: integer
  6504. goodsname:
  6505. description: 交易商品名称
  6506. type: string
  6507. goodunitid:
  6508. description: 交易商品单位id
  6509. type: integer
  6510. middlegoodsid:
  6511. description: 套保商品id
  6512. type: integer
  6513. middlegoodsname:
  6514. description: 套保商品名称
  6515. type: string
  6516. middlegoodsswcode:
  6517. description: 套保商品代码
  6518. type: string
  6519. needarbitrageratio:
  6520. description: 应套利比例
  6521. type: number
  6522. needhedgeratio:
  6523. description: 应套保比例
  6524. type: number
  6525. type: object
  6526. models.ErmcpOPLogModel:
  6527. properties:
  6528. aftervalue:
  6529. description: 变更后
  6530. type: number
  6531. applyid:
  6532. description: 操作人ID
  6533. type: string
  6534. applyname:
  6535. description: 操作人名称
  6536. type: string
  6537. beforevalue:
  6538. description: 变更前
  6539. type: number
  6540. biztype:
  6541. description: 业务类型 - 1:套保计划 2:现货合同
  6542. type: integer
  6543. contracttype:
  6544. description: 现货合同类型 - 1:采购 -1:销售
  6545. type: integer
  6546. logvalue:
  6547. description: 数值
  6548. type: number
  6549. operatelogtype:
  6550. description: 操作流水类型
  6551. type: integer
  6552. operatelogtypedesc:
  6553. description: 操作流水类型名称
  6554. type: string
  6555. relatedid:
  6556. description: 现货合同ID\套保计划
  6557. type: string
  6558. updatetime:
  6559. description: 更新时间
  6560. type: string
  6561. type: object
  6562. models.ErmcpPendingAudit:
  6563. properties:
  6564. areastockqty:
  6565. description: '待审核数量: 库存申请'
  6566. type: integer
  6567. businessdjqty:
  6568. description: '待审核数量: 点价'
  6569. type: integer
  6570. businessfpqty:
  6571. description: '待审核数量: 发票'
  6572. type: integer
  6573. businessjsqty:
  6574. description: '待审核数量: 结算'
  6575. type: integer
  6576. businesskxqty:
  6577. description: '待审核数量: 款项'
  6578. type: integer
  6579. hedgeplanqty:
  6580. description: '待审核数量: 套保计划'
  6581. type: integer
  6582. spotcontractqty:
  6583. description: '待审核数量: 现货合同'
  6584. type: integer
  6585. userqty:
  6586. description: '待审核数量: 用户'
  6587. type: integer
  6588. type: object
  6589. models.ErmcpRealExposureModel:
  6590. properties:
  6591. AreaUserID:
  6592. description: 所属机构
  6593. type: integer
  6594. BuyFutureQty:
  6595. description: 买入期货数量
  6596. type: number
  6597. BuyPlanQty:
  6598. description: 采购计划数量
  6599. type: number
  6600. BuyPricedQty:
  6601. description: 采购合同已定价数量
  6602. type: number
  6603. MiddleGoodsCode:
  6604. description: 套保品种代码
  6605. type: string
  6606. MiddleGoodsHedgeRatio:
  6607. description: 套保比例
  6608. type: number
  6609. MiddleGoodsID:
  6610. description: 套保品种
  6611. type: integer
  6612. MiddleGoodsName:
  6613. description: 套保品种名称
  6614. type: string
  6615. NeedHedgeExposoure:
  6616. description: 应套保敞口(套保敞口)
  6617. type: number
  6618. NeedHedgeRatio:
  6619. description: 应套保敞口比例
  6620. type: number
  6621. OriBuyFutureQty:
  6622. description: 期初买入期货数量
  6623. type: number
  6624. OriBuyPlanQty:
  6625. description: 期初采购计划数量
  6626. type: number
  6627. OriBuyPricedQty:
  6628. description: 期初采购合同已定价数量
  6629. type: number
  6630. OriSellFutureQty:
  6631. description: 期初卖出期货数量
  6632. type: number
  6633. OriSellPlanQty:
  6634. description: 期初销售计划数量
  6635. type: number
  6636. OriSellPricedQty:
  6637. description: 期初销售合同已定价数量
  6638. type: number
  6639. SellFutureQty:
  6640. description: 卖出期货数量
  6641. type: number
  6642. SellPlanQty:
  6643. description: 销售计划数量
  6644. type: number
  6645. SellPricedQty:
  6646. description: 销售合同已定价数量
  6647. type: number
  6648. TotalExposure:
  6649. description: 总敞口
  6650. type: number
  6651. TotalFutureQty:
  6652. description: 期货总量
  6653. type: number
  6654. TotalHedgeRatio:
  6655. description: 敞口比例
  6656. type: number
  6657. TotalNeedHedgeQty:
  6658. description: 应套保总量(现货应套保总量)
  6659. type: number
  6660. TotalSpotQty:
  6661. description: 现货总量
  6662. type: number
  6663. arbitrageqty:
  6664. description: 套利量
  6665. type: number
  6666. diffArbitrageQty:
  6667. description: 套利变动量
  6668. type: number
  6669. diffExposoureQty:
  6670. description: 变动量(套保敞口)
  6671. type: number
  6672. diffFutuQty:
  6673. description: 变动量(期货总量)
  6674. type: number
  6675. diffHedgeQty:
  6676. description: 套保变动量
  6677. type: number
  6678. diffQty:
  6679. description: 变动量(总敞口)
  6680. type: number
  6681. diffSpotHedgeQty:
  6682. description: 变动量(现货应套保总量)
  6683. type: number
  6684. diffSpotQty:
  6685. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6686. type: number
  6687. enumdicname:
  6688. description: 单位名称
  6689. type: string
  6690. hedgeqty:
  6691. description: 套保量
  6692. type: number
  6693. needarbitrageqty:
  6694. description: 应套利量
  6695. type: number
  6696. needarbitrageratio:
  6697. description: 套利比例
  6698. type: number
  6699. needhedgeqty:
  6700. description: 应套保量
  6701. type: number
  6702. oriTotalFutuQty:
  6703. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6704. type: number
  6705. oriTotalSpotQty:
  6706. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6707. type: number
  6708. oriarbitrageqty:
  6709. description: 期初套利量
  6710. type: number
  6711. orihedgeqty:
  6712. description: 期初套保量
  6713. type: number
  6714. orineedhedgeexposoure:
  6715. description: 期初套保敞口
  6716. type: number
  6717. oritotalexposure:
  6718. description: 期初总敞口
  6719. type: number
  6720. oritotalfutureqty:
  6721. description: 期初期货总量
  6722. type: number
  6723. oritotalneedhedgeqty:
  6724. description: 期初现货应套保量
  6725. type: number
  6726. type: object
  6727. models.ErmcpRole:
  6728. properties:
  6729. areauserid:
  6730. description: 所属机构
  6731. type: integer
  6732. autoid:
  6733. description: 角色ID(自增ID)
  6734. type: integer
  6735. modifierid:
  6736. description: 修改人(创建人)
  6737. type: integer
  6738. modifiername:
  6739. description: 修改人名称
  6740. type: string
  6741. modifytime:
  6742. description: 修改时间(创建时间)
  6743. type: string
  6744. rolename:
  6745. description: 角色名称
  6746. type: string
  6747. rolestatus:
  6748. description: 角色状态 - 1:启用 2:停用
  6749. type: integer
  6750. roletype:
  6751. description: 角色类型 - 1- 管理端 2- 交易端
  6752. type: integer
  6753. type: object
  6754. models.ErmcpRoleMenu:
  6755. properties:
  6756. iconame:
  6757. description: 菜单图标
  6758. type: string
  6759. ishadrole:
  6760. description: 是否有权限
  6761. type: boolean
  6762. menutype:
  6763. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6764. type: integer
  6765. parentcode:
  6766. description: 上级资源代码
  6767. type: string
  6768. remark:
  6769. description: 菜单备注
  6770. type: string
  6771. resourcecode:
  6772. description: 菜单代码
  6773. type: string
  6774. resourcelevel:
  6775. description: 级别
  6776. type: integer
  6777. resourcename:
  6778. description: 菜单名称
  6779. type: string
  6780. roleid:
  6781. description: 角色id
  6782. type: integer
  6783. sort:
  6784. description: 排序
  6785. type: integer
  6786. url:
  6787. description: URL
  6788. type: string
  6789. userid:
  6790. description: 用户id
  6791. type: integer
  6792. type: object
  6793. models.ErmcpRoleMenuEx:
  6794. properties:
  6795. menu:
  6796. $ref: '#/definitions/models.ErmcpRoleMenu'
  6797. description: 父级菜单
  6798. type: object
  6799. subMenu:
  6800. description: 子级菜单
  6801. items:
  6802. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6803. type: array
  6804. type: object
  6805. models.ErmcpTaAccount:
  6806. properties:
  6807. accountid:
  6808. description: 账户id
  6809. type: integer
  6810. accountname:
  6811. description: 账户名称
  6812. type: string
  6813. currencyid:
  6814. description: 币种id
  6815. type: integer
  6816. hedgeaccountcode:
  6817. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6818. type: string
  6819. ismain:
  6820. description: 是否主账户 0-否 1-是
  6821. type: integer
  6822. parentaccountid:
  6823. description: 父账户id
  6824. type: integer
  6825. relateduserid:
  6826. description: 关联userid
  6827. type: integer
  6828. tradefeetmpid:
  6829. description: 手续费模板id
  6830. type: integer
  6831. tradefeetmpname:
  6832. description: 手续费模板名称
  6833. type: string
  6834. trademargintmpid:
  6835. description: 保证金模板id
  6836. type: integer
  6837. trademargintmpname:
  6838. description: 保证金模板名称
  6839. type: string
  6840. traderatetmpid:
  6841. description: 汇率模板id
  6842. type: integer
  6843. traderatetmpname:
  6844. description: 汇率模板名称
  6845. type: string
  6846. tradestatus:
  6847. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6848. type: integer
  6849. userid:
  6850. description: 用户id
  6851. type: integer
  6852. type: object
  6853. models.ErmcpTaAccountEx:
  6854. properties:
  6855. mainAcc:
  6856. $ref: '#/definitions/models.ErmcpTaAccountM'
  6857. description: 主账号
  6858. type: object
  6859. subacclist:
  6860. description: 子账号列表
  6861. items:
  6862. $ref: '#/definitions/models.ErmcpTaAccount'
  6863. type: array
  6864. type: object
  6865. models.ErmcpTaAccountInfo:
  6866. properties:
  6867. accountid:
  6868. description: 资金账户ID
  6869. type: integer
  6870. accountname:
  6871. description: 账户名称
  6872. type: string
  6873. balance:
  6874. description: 期初余额
  6875. type: number
  6876. capitalbalance:
  6877. description: 本金余额[外部子账户实际出入金余额]
  6878. type: number
  6879. closepl:
  6880. description: 今日平仓盈亏
  6881. type: number
  6882. creditdecrease:
  6883. description: 今日授信减少
  6884. type: number
  6885. creditincrease:
  6886. description: 今日授信增加
  6887. type: number
  6888. curdebt:
  6889. description: 期末欠款
  6890. type: number
  6891. currencyid:
  6892. description: 货币ID
  6893. type: integer
  6894. currentbalance:
  6895. description: 期末余额
  6896. type: number
  6897. freezecharge:
  6898. description: 手续费冻结
  6899. type: number
  6900. freezemargin:
  6901. description: 冻结保证金
  6902. type: number
  6903. fromaccountid:
  6904. description: 所属上级账户
  6905. type: integer
  6906. inamount:
  6907. description: 今日入金金额(包括三方入金)
  6908. type: number
  6909. ismain:
  6910. description: 是否母账号 0:不是母账户 1:是母账户
  6911. type: integer
  6912. mortgagecredit:
  6913. description: 授信金额
  6914. type: number
  6915. oridebt:
  6916. description: 期初欠款
  6917. type: number
  6918. orifreezecharge:
  6919. description: 期初手续费冻结
  6920. type: number
  6921. orifreezemargin:
  6922. description: 期初冻结保证金
  6923. type: number
  6924. orimortgagecredit:
  6925. description: 期初授信金额
  6926. type: number
  6927. oriothercredit:
  6928. description: 期初其它授信金额
  6929. type: number
  6930. oriotherfreezemargin:
  6931. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6932. type: number
  6933. orioutamountfreeze:
  6934. description: 期初出金冻结
  6935. type: number
  6936. oriusedmargin:
  6937. description: 期初占用保证金
  6938. type: number
  6939. othercredit:
  6940. description: 其它授信金额
  6941. type: number
  6942. othercreditdecrease:
  6943. description: 今日其它授信减少
  6944. type: number
  6945. othercreditincrease:
  6946. description: 今日其它授信增加
  6947. type: number
  6948. otherfreezemargin:
  6949. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6950. type: number
  6951. outamount:
  6952. description: 今日出金金额(包括三方出金)
  6953. type: number
  6954. outamountfreeze:
  6955. description: 出金冻结
  6956. type: number
  6957. outthreshold:
  6958. description: 出金阈值
  6959. type: number
  6960. parentaccountid:
  6961. description: 所属根账号
  6962. type: integer
  6963. paycharge:
  6964. description: 今日手续费支出
  6965. type: number
  6966. relateduserid:
  6967. description: 关联用户
  6968. type: integer
  6969. signstatus:
  6970. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6971. type: integer
  6972. sublevelpath:
  6973. description: 账号层级路径(逗号分隔,首尾加逗号)
  6974. type: string
  6975. taaccounttype:
  6976. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6977. type: integer
  6978. thirdinamount:
  6979. description: 今日三方入金
  6980. type: number
  6981. thirdoutamount:
  6982. description: 今日三方出金
  6983. type: number
  6984. tradestatus:
  6985. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6986. type: integer
  6987. transferamount:
  6988. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6989. type: number
  6990. usedmargin:
  6991. description: 占用保证金
  6992. type: number
  6993. userid:
  6994. description: 用户ID
  6995. type: integer
  6996. type: object
  6997. models.ErmcpTaAccountM:
  6998. properties:
  6999. accountid:
  7000. description: 账户id
  7001. type: integer
  7002. accountname:
  7003. description: 账户名称
  7004. type: string
  7005. currencyid:
  7006. description: 币种id
  7007. type: integer
  7008. fcid:
  7009. description: 期货公司id
  7010. type: integer
  7011. fcname:
  7012. description: 期货公司代码
  7013. type: string
  7014. hedgeaccountcode:
  7015. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7016. type: string
  7017. ismain:
  7018. description: 是否主账户 0-否 1-是
  7019. type: integer
  7020. parentaccountid:
  7021. description: 父账户id
  7022. type: integer
  7023. relateduserid:
  7024. description: 关联userid
  7025. type: integer
  7026. tradefeetmpid:
  7027. description: 手续费模板id
  7028. type: integer
  7029. tradefeetmpname:
  7030. description: 手续费模板名称
  7031. type: string
  7032. trademargintmpid:
  7033. description: 保证金模板id
  7034. type: integer
  7035. trademargintmpname:
  7036. description: 保证金模板名称
  7037. type: string
  7038. traderatetmpid:
  7039. description: 汇率模板id
  7040. type: integer
  7041. traderatetmpname:
  7042. description: 汇率模板名称
  7043. type: string
  7044. tradestatus:
  7045. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7046. type: integer
  7047. userid:
  7048. description: 用户id
  7049. type: integer
  7050. type: object
  7051. models.ErmcpTradeConfigTMP:
  7052. properties:
  7053. areauserid:
  7054. description: 所属机构
  7055. type: integer
  7056. basiccurrencyid:
  7057. description: 基本币种ID[汇率] - 目标币种
  7058. type: integer
  7059. mainaccountid:
  7060. description: 主账户ID
  7061. type: integer
  7062. modifierid:
  7063. description: 修改人
  7064. type: integer
  7065. remark:
  7066. description: 备注
  7067. type: string
  7068. tradeconfigtmpid:
  7069. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7070. type: integer
  7071. tradeconfigtmpname:
  7072. description: 交易配置模板名称
  7073. type: string
  7074. tradeconfigtmptype:
  7075. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7076. type: integer
  7077. updatetime:
  7078. description: 更新时间
  7079. type: string
  7080. type: object
  7081. models.ErmcpUserModel:
  7082. properties:
  7083. address:
  7084. description: 通讯地址
  7085. type: string
  7086. attachment1:
  7087. description: 附件1
  7088. type: string
  7089. audittime:
  7090. description: 审核时间
  7091. type: string
  7092. cardbackphotourl:
  7093. description: 证件反面图片地址
  7094. type: string
  7095. cardfrontphotourl:
  7096. description: 证件正面图片地址
  7097. type: string
  7098. cardnum:
  7099. description: 证件号码
  7100. type: string
  7101. cardtype:
  7102. description: 证件类型
  7103. type: integer
  7104. cardtypename:
  7105. description: 证件类型名称
  7106. type: string
  7107. cityid:
  7108. description: 市
  7109. type: integer
  7110. contactname:
  7111. description: 联系人
  7112. type: string
  7113. countryid:
  7114. description: 国家
  7115. type: integer
  7116. createtime:
  7117. description: 创建时间
  7118. type: string
  7119. customername:
  7120. description: 企业名称
  7121. type: string
  7122. districtid:
  7123. description: 区域
  7124. type: integer
  7125. email:
  7126. description: 邮件
  7127. type: string
  7128. legalpersonname:
  7129. description: 法人姓名(企业)
  7130. type: string
  7131. memberuserid:
  7132. description: 所属机构ID
  7133. type: integer
  7134. mobile:
  7135. description: 手机号码
  7136. type: string
  7137. modifytime:
  7138. description: 修改时间
  7139. type: string
  7140. nickname:
  7141. description: 昵称
  7142. type: string
  7143. provinceid:
  7144. description: 省
  7145. type: integer
  7146. remark:
  7147. description: 备注
  7148. type: string
  7149. status:
  7150. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7151. type: integer
  7152. statusdesc:
  7153. description: 账户状态中文描述
  7154. type: string
  7155. taxpayernum:
  7156. description: 纳税人识别号
  7157. type: string
  7158. telphone:
  7159. description: 联系电话
  7160. type: string
  7161. userid:
  7162. description: 用户ID
  7163. type: integer
  7164. userinfotype:
  7165. description: 客户类型
  7166. type: string
  7167. type: object
  7168. models.ErmcpWareHouseInfo:
  7169. properties:
  7170. address:
  7171. description: 详细地址
  7172. type: string
  7173. areauserid:
  7174. description: 所属机构
  7175. type: integer
  7176. autoid:
  7177. description: 自增ID(仓库ID)
  7178. type: integer
  7179. cityid:
  7180. description: 市
  7181. type: integer
  7182. contactname:
  7183. description: 联系人
  7184. type: string
  7185. contactnum:
  7186. description: 联系电话
  7187. type: string
  7188. countryid:
  7189. description: 国家
  7190. type: integer
  7191. createtime:
  7192. description: 创建时间
  7193. type: string
  7194. districtid:
  7195. description: 区
  7196. type: integer
  7197. hasvideo:
  7198. description: 是否有视频 - 0:无 1:有
  7199. type: integer
  7200. provinceid:
  7201. description: 省
  7202. type: integer
  7203. remark:
  7204. description: 审核备注
  7205. type: string
  7206. videourl:
  7207. description: 视频地址
  7208. type: string
  7209. warehousecode:
  7210. description: 仓库代码
  7211. type: string
  7212. warehousename:
  7213. description: 仓库名称
  7214. type: string
  7215. warehousestatus:
  7216. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7217. type: integer
  7218. warehousetype:
  7219. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7220. type: integer
  7221. type: object
  7222. models.Externalexchange:
  7223. properties:
  7224. autoid:
  7225. description: AutoID - SEQ_EXTERNALEXCHANGE
  7226. type: integer
  7227. exchangefullname:
  7228. description: 外部交易所全称
  7229. type: string
  7230. exexchangecode:
  7231. description: 外部交易所代码
  7232. type: string
  7233. exexchangename:
  7234. description: 外部交易所名称(简称)
  7235. type: string
  7236. ismarketprice:
  7237. description: 是否支持市价 - 0:不支持 1:支持
  7238. type: integer
  7239. quotegear:
  7240. description: 行情档位(1-10)
  7241. type: integer
  7242. showbrokerflag:
  7243. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7244. type: integer
  7245. updatetime:
  7246. description: 更新时间
  7247. type: string
  7248. required:
  7249. - autoid
  7250. type: object
  7251. models.Funcmenulist:
  7252. properties:
  7253. iconame:
  7254. description: 菜单图标
  7255. type: string
  7256. menutype:
  7257. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7258. type: integer
  7259. parentcode:
  7260. description: 上级资源代码
  7261. type: string
  7262. remark:
  7263. description: 备注
  7264. type: string
  7265. resourcecode:
  7266. description: 资源代码
  7267. type: string
  7268. resourcelevel:
  7269. description: 级别 1-一级 2-二级 3-三级 4-四级
  7270. type: integer
  7271. resourcename:
  7272. description: 资源名
  7273. type: string
  7274. sort:
  7275. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7276. type: integer
  7277. url:
  7278. description: URL
  7279. type: string
  7280. required:
  7281. - resourcecode
  7282. type: object
  7283. models.Goods:
  7284. properties:
  7285. agreeunit:
  7286. description: 合约单位
  7287. type: number
  7288. areauserid:
  7289. description: 所属机构
  7290. type: integer
  7291. auditaccountid:
  7292. description: 审核操作员账号
  7293. type: integer
  7294. audittime:
  7295. description: 审核时间
  7296. type: string
  7297. cancelaccountid:
  7298. description: 注销操作员账号
  7299. type: integer
  7300. canceltime:
  7301. description: 注销时间
  7302. type: string
  7303. closepricemode:
  7304. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7305. type: integer
  7306. closepriceparam:
  7307. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7308. type: number
  7309. createtime:
  7310. description: 创建时间
  7311. type: string
  7312. creatorid:
  7313. description: 创建人
  7314. type: integer
  7315. currencyid:
  7316. description: 报价货币ID
  7317. type: integer
  7318. cutmode:
  7319. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7320. type: integer
  7321. decimalplace:
  7322. description: 报价小数位
  7323. type: integer
  7324. delistingdate:
  7325. description: 商品退市时间(状态:退市) -- 已作废
  7326. type: string
  7327. delistingmode:
  7328. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7329. type: integer
  7330. deliveryflag:
  7331. description: 交割标志 - 0:不可交割 1:可交割
  7332. type: integer
  7333. forceclosemode:
  7334. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7335. type: integer
  7336. forceclosevalue:
  7337. description: 定期强平参数 [收益权]
  7338. type: integer
  7339. goodscode:
  7340. description: 商品代码(内部)
  7341. type: string
  7342. goodscurrencyid:
  7343. description: 合约货币ID
  7344. type: integer
  7345. goodsgroupid:
  7346. description: 所属商品组ID
  7347. type: integer
  7348. goodsid:
  7349. description: 商品ID(自增ID SEQ_GOODS)
  7350. type: integer
  7351. goodsname:
  7352. description: 商品名称
  7353. type: string
  7354. goodsquotetype:
  7355. description: '合约报价类型: 1-直接报价 2-间接报价'
  7356. type: integer
  7357. goodsstatus:
  7358. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7359. type: integer
  7360. goodstradetype:
  7361. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7362. type: integer
  7363. goodunitid:
  7364. description: 报价单位ID
  7365. type: integer
  7366. hasquoter:
  7367. description: 是否有报价商 - 0:无报价商 1:有报价商
  7368. type: integer
  7369. hqprotecttime:
  7370. description: 行情保护时间(秒)
  7371. type: integer
  7372. innerdealmode:
  7373. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7374. type: integer
  7375. isbuylimited:
  7376. description: 是否限制建仓量 - 0:不限制 1:限制
  7377. type: integer
  7378. isvisible:
  7379. description: 游客是否可见 - 0:不可见 1:可见
  7380. type: integer
  7381. lasttradedate:
  7382. description: 最后交易日期(状态:待退市)
  7383. type: string
  7384. listingdate:
  7385. description: 交易开始日期
  7386. type: string
  7387. marketid:
  7388. description: 所属市场ID
  7389. type: integer
  7390. modifierid:
  7391. description: 修改人
  7392. type: integer
  7393. modifystatus:
  7394. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7395. type: integer
  7396. modifytime:
  7397. description: 修改时间
  7398. type: string
  7399. outerdealmode:
  7400. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7401. type: integer
  7402. outgoodscode:
  7403. description: 商品代码(外部)
  7404. type: string
  7405. pictureurl:
  7406. description: 商品图片
  7407. type: string
  7408. qtydecimalplace:
  7409. description: 成交量小数位
  7410. type: integer
  7411. quotegear:
  7412. description: 行情档位(1-10)
  7413. type: integer
  7414. quoteminunit:
  7415. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7416. type: integer
  7417. quoteshowtype:
  7418. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7419. type: integer
  7420. quoteshowtypeinterval:
  7421. description: 行情报价间隔时间(秒)(成交价时为0)
  7422. type: integer
  7423. remark:
  7424. description: 备注
  7425. type: string
  7426. required:
  7427. - goodscode
  7428. - goodsid
  7429. - goodsname
  7430. - marketid
  7431. type: object
  7432. models.GoodsIDAndName:
  7433. properties:
  7434. goodscode:
  7435. description: 商品代码(内部)
  7436. type: string
  7437. goodsid:
  7438. description: 商品ID(自增ID SEQ_GOODS)
  7439. type: integer
  7440. goodsname:
  7441. description: 商品名称
  7442. type: string
  7443. marketid:
  7444. description: 所属市场ID
  7445. type: integer
  7446. required:
  7447. - goodscode
  7448. - goodsid
  7449. - goodsname
  7450. - marketid
  7451. type: object
  7452. models.Goodsgroup:
  7453. properties:
  7454. agreeunit:
  7455. description: 合约单位
  7456. type: number
  7457. canshort:
  7458. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7459. type: integer
  7460. closepricemode:
  7461. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7462. type: integer
  7463. closepriceparam:
  7464. description: 强平最新价浮动比例 - 方式为2时使用
  7465. type: number
  7466. createtime:
  7467. description: 创建时间
  7468. type: string
  7469. creatorid:
  7470. description: 创建人
  7471. type: integer
  7472. currencyid:
  7473. description: 报价货币ID
  7474. type: integer
  7475. decimalplace:
  7476. description: 报价小数位
  7477. type: integer
  7478. exercisetype:
  7479. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7480. type: integer
  7481. exexchangeid:
  7482. description: 外部交易所ID[通道交易]
  7483. type: integer
  7484. goodsgroupid:
  7485. description: 商品组ID(自增ID)
  7486. type: integer
  7487. goodsgroupname:
  7488. description: 商品组名称
  7489. type: string
  7490. goodsgroupstatus:
  7491. description: 商品组状态 - 1:正常 2:注销
  7492. type: integer
  7493. goodunitid:
  7494. description: 报价单位ID
  7495. type: integer
  7496. innerdealmode:
  7497. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7498. type: integer
  7499. isbuylimited:
  7500. description: 是否限制建仓量 - 0:不限制 1:限制
  7501. type: integer
  7502. marketid:
  7503. description: 所属市场ID
  7504. type: integer
  7505. modifierid:
  7506. description: 修改人
  7507. type: integer
  7508. modifytime:
  7509. description: 修改时间
  7510. type: string
  7511. outerdealmode:
  7512. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7513. type: integer
  7514. outergroupcode:
  7515. description: 外部商品组代码[通道交易]
  7516. type: string
  7517. premiumdecimalplace:
  7518. description: 权利金小数位[场外期权]
  7519. type: integer
  7520. premiumspreadalgorithm:
  7521. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7522. type: integer
  7523. premiumspreadvalue:
  7524. description: 权利金点差值[场外期权]
  7525. type: number
  7526. qtydecimalplace:
  7527. description: 成交量小数位
  7528. type: integer
  7529. quotegear:
  7530. description: 行情档位(1-10)
  7531. type: integer
  7532. quoteminunit:
  7533. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7534. type: integer
  7535. quoterid:
  7536. description: 报价商ID[场外期权]
  7537. type: integer
  7538. quotesourcegroupid:
  7539. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7540. type: integer
  7541. syncgoodsqty:
  7542. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7543. type: integer
  7544. required:
  7545. - goodsgroupid
  7546. - goodsgroupname
  7547. - goodsgroupstatus
  7548. - marketid
  7549. type: object
  7550. models.Goodssortbypreposition:
  7551. properties:
  7552. goodscode:
  7553. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7554. type: string
  7555. goodsgroupcode:
  7556. description: 品种代码
  7557. type: string
  7558. prepositionqty:
  7559. description: 昨持仓量
  7560. type: integer
  7561. sortindex:
  7562. description: 排序
  7563. type: integer
  7564. tradedate:
  7565. description: 交易日
  7566. type: string
  7567. updatetime:
  7568. description: 更新时间
  7569. type: string
  7570. required:
  7571. - goodscode
  7572. - tradedate
  7573. type: object
  7574. models.Hedgeinnerholderdetail:
  7575. properties:
  7576. accountid:
  7577. description: 账号ID
  7578. type: integer
  7579. buyorsell:
  7580. description: 方向 - 0:买 1:卖
  7581. type: integer
  7582. freezeqty:
  7583. description: 冻结数量 - 按单平使用
  7584. type: integer
  7585. goodsid:
  7586. description: 商品ID
  7587. type: integer
  7588. holderamount:
  7589. description: 持仓金额 [商品币种]
  7590. type: number
  7591. holderdays:
  7592. description: 剩余冻结天数
  7593. type: integer
  7594. holderprice:
  7595. description: 持仓价格
  7596. type: number
  7597. holderqty:
  7598. description: 持仓数量
  7599. type: integer
  7600. marketid:
  7601. description: 市场ID
  7602. type: integer
  7603. openprice:
  7604. description: 建仓价格
  7605. type: number
  7606. openqty:
  7607. description: 建仓数量
  7608. type: integer
  7609. parentaccountid:
  7610. description: 所属母账户
  7611. type: integer
  7612. releaseamount:
  7613. description: 释放持仓金额[商品币种]
  7614. type: number
  7615. tradeamount:
  7616. description: 成交金额[账户]
  7617. type: number
  7618. tradedate:
  7619. description: 交易日(yyyyMMdd)
  7620. type: string
  7621. tradeid:
  7622. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7623. type: string
  7624. tradetime:
  7625. description: 交易时间
  7626. type: string
  7627. required:
  7628. - buyorsell
  7629. - tradeid
  7630. type: object
  7631. models.Hedgemarketopenlog:
  7632. properties:
  7633. accountid:
  7634. description: 资金账号[外部母账户]
  7635. type: integer
  7636. fcname:
  7637. description: 期货公司名称
  7638. type: string
  7639. handlestatus:
  7640. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7641. type: integer
  7642. marketid:
  7643. description: 市场ID
  7644. type: integer
  7645. status:
  7646. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7647. type: integer
  7648. tradedate:
  7649. description: 交易日(yyyyMMdd)
  7650. type: string
  7651. updatetime:
  7652. description: 更新时间
  7653. type: string
  7654. required:
  7655. - accountid
  7656. type: object
  7657. models.HsbyBuyMyPayOrder:
  7658. properties:
  7659. agreeunit:
  7660. description: 合约单位
  7661. type: number
  7662. buyaccountid:
  7663. description: 买方账号ID[报价币种]
  7664. type: integer
  7665. buyorderid:
  7666. description: 买方委托单号
  7667. type: string
  7668. createtime:
  7669. description: 创建时间
  7670. type: string
  7671. currencysign:
  7672. description: 货币符号
  7673. type: string
  7674. decimalplace:
  7675. description: 报价小数位
  7676. type: integer
  7677. goodscode:
  7678. description: 商品代码(内部)
  7679. type: string
  7680. goodsid:
  7681. description: 商品ID
  7682. type: integer
  7683. goodsname:
  7684. description: 商品名称
  7685. type: string
  7686. marketid:
  7687. description: 市场ID
  7688. type: integer
  7689. offamount:
  7690. description: 优惠金额
  7691. type: number
  7692. originalamount:
  7693. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7694. type: number
  7695. payamount:
  7696. description: 支付金额 = TradeAmount + TradeCharge
  7697. type: number
  7698. payflag:
  7699. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7700. type: integer
  7701. paylimitedtime:
  7702. description: 支付期限
  7703. type: string
  7704. paytime:
  7705. description: 付款时间
  7706. type: string
  7707. picurls1:
  7708. description: 预售商品介绍图片[多张用逗号分隔]
  7709. type: string
  7710. picurls2:
  7711. description: 挂牌商品介绍图片[多张用逗号分隔]
  7712. type: string
  7713. sellaccountid:
  7714. description: 卖方账号ID[报价币种]
  7715. type: integer
  7716. sellorderid:
  7717. description: 卖方委托单号
  7718. type: string
  7719. tradeamount:
  7720. description: 成交金额
  7721. type: number
  7722. tradecharge:
  7723. description: 成交手续费(买方)
  7724. type: number
  7725. tradedate:
  7726. description: 交易日(yyyyMMdd)
  7727. type: string
  7728. tradeid:
  7729. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7730. type: string
  7731. trademode:
  7732. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7733. 21:竞拍-大宗式 22:受托竞价
  7734. type: integer
  7735. tradeprice:
  7736. description: 成交价格
  7737. type: number
  7738. tradeqty:
  7739. description: 成交数量
  7740. type: integer
  7741. vendorname1:
  7742. description: 预售商品供应商名称
  7743. type: string
  7744. vendorname2:
  7745. description: 挂牌商品供应商名称
  7746. type: string
  7747. required:
  7748. - goodscode
  7749. - goodsname
  7750. - tradeid
  7751. - trademode
  7752. type: object
  7753. models.HsbyBuyMyTradeDetail:
  7754. properties:
  7755. accountid:
  7756. description: 账户ID[报价币种]
  7757. type: integer
  7758. agreeunit:
  7759. description: 合约单位
  7760. type: number
  7761. amount:
  7762. description: 金额 = 价格 * 数量 * 合约单位
  7763. type: number
  7764. buyorsell:
  7765. description: 买卖 - 0:买 1:卖
  7766. type: integer
  7767. currencysign:
  7768. description: 货币符号
  7769. type: string
  7770. decimalplace:
  7771. description: 报价小数位
  7772. type: integer
  7773. goodscode:
  7774. description: 商品代码(内部)
  7775. type: string
  7776. goodsid:
  7777. description: 商品ID
  7778. type: integer
  7779. goodsname:
  7780. description: 商品名称
  7781. type: string
  7782. marketid:
  7783. description: 市场ID
  7784. type: integer
  7785. orderamount:
  7786. description: 委托金额
  7787. type: number
  7788. orderid:
  7789. description: 单号(成交单号)
  7790. type: string
  7791. picurls1:
  7792. description: 预售商品介绍图片[多张用逗号分隔]
  7793. type: string
  7794. picurls2:
  7795. description: 挂牌商品介绍图片[多张用逗号分隔]
  7796. type: string
  7797. price:
  7798. description: 价格
  7799. type: number
  7800. qty:
  7801. description: 数量
  7802. type: integer
  7803. time:
  7804. description: 时间
  7805. type: string
  7806. trademode:
  7807. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7808. 21:竞拍-大宗式 22:受托竞价
  7809. type: integer
  7810. vendorname1:
  7811. description: 预售商品供应商名称
  7812. type: string
  7813. vendorname2:
  7814. description: 挂牌商品供应商名称
  7815. type: string
  7816. required:
  7817. - accountid
  7818. - buyorsell
  7819. - goodscode
  7820. - goodsid
  7821. - goodsname
  7822. - marketid
  7823. - orderid
  7824. - qty
  7825. - time
  7826. - trademode
  7827. type: object
  7828. models.HsbyGoodsOrderDetail:
  7829. properties:
  7830. buyorsell:
  7831. description: 买卖 - 0:买 1:卖
  7832. type: integer
  7833. currencysign:
  7834. description: 货币符号
  7835. type: string
  7836. customername:
  7837. description: 客户名称(企业名称),已脱敏
  7838. type: string
  7839. enableqty:
  7840. description: 可用数量
  7841. type: integer
  7842. goodunit:
  7843. description: 报价单位
  7844. type: string
  7845. orderid:
  7846. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7847. type: string
  7848. orderprice:
  7849. description: 委托价格
  7850. type: number
  7851. ordertime:
  7852. description: 委托时间
  7853. type: string
  7854. required:
  7855. - buyorsell
  7856. - orderid
  7857. - ordertime
  7858. type: object
  7859. models.HsbyListingGoodsDetail:
  7860. properties:
  7861. agreeunit:
  7862. description: 合约单位
  7863. type: number
  7864. buymaxqty:
  7865. description: 购买上限 [71] - 0为不限
  7866. type: integer
  7867. currency:
  7868. description: 货币
  7869. type: string
  7870. currencysign:
  7871. description: 货币符号
  7872. type: string
  7873. decimalplace:
  7874. description: 报价小数位
  7875. type: integer
  7876. desccityid:
  7877. description: 目的地(市)ID
  7878. type: integer
  7879. descprovinceid:
  7880. description: 目的地(省)ID
  7881. type: integer
  7882. goodscode:
  7883. description: 商品代码(内部)
  7884. type: string
  7885. goodsdesc:
  7886. description: 商品详情
  7887. type: string
  7888. goodsid:
  7889. description: 商品ID(自增ID SEQ_GOODS)
  7890. type: integer
  7891. goodsname:
  7892. description: 商品名称
  7893. type: string
  7894. goodsprice:
  7895. description: 商品价格
  7896. type: number
  7897. hotindex:
  7898. description: 景点热度
  7899. type: integer
  7900. last:
  7901. description: 现价
  7902. type: number
  7903. limitdown:
  7904. description: 跌停价
  7905. type: number
  7906. limitup:
  7907. description: 涨停价
  7908. type: number
  7909. lotsize:
  7910. description: 手数最小变动单位
  7911. type: integer
  7912. marketid:
  7913. description: 所属市场ID
  7914. type: integer
  7915. picurls:
  7916. description: 介绍图片[多张用逗号分隔]
  7917. type: string
  7918. quoteminunit:
  7919. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7920. type: integer
  7921. stepvalue:
  7922. description: 价格最小变动单位
  7923. type: number
  7924. trademode:
  7925. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7926. 21:竞拍-大宗式 22:受托竞价
  7927. type: integer
  7928. vendorattr:
  7929. description: 供应商附件(多张,逗号分隔)
  7930. type: string
  7931. vendorname:
  7932. description: 供应商名称
  7933. type: string
  7934. vendorphone:
  7935. description: 供应商客服电话
  7936. type: string
  7937. videourls:
  7938. description: 介绍视频[多张用逗号分隔]
  7939. type: string
  7940. required:
  7941. - goodscode
  7942. - goodsid
  7943. - goodsname
  7944. - marketid
  7945. - trademode
  7946. type: object
  7947. models.HsbyMarketGoods:
  7948. properties:
  7949. accountid:
  7950. description: 账户ID[报价币种]
  7951. type: integer
  7952. agreeunit:
  7953. description: 合约单位
  7954. type: number
  7955. buyorsell:
  7956. description: 买卖 - 0:买 1:卖
  7957. type: integer
  7958. categoryid:
  7959. description: 类别ID(WRCATEGORY)
  7960. type: integer
  7961. currency:
  7962. description: 货币
  7963. type: string
  7964. currencysign:
  7965. description: 货币符号
  7966. type: string
  7967. customername:
  7968. description: 卖家名称
  7969. type: string
  7970. decimalplace:
  7971. description: 报价小数位
  7972. type: integer
  7973. goodscode:
  7974. description: 商品代码(内部)
  7975. type: string
  7976. goodsid:
  7977. description: 商品ID
  7978. type: integer
  7979. goodsname:
  7980. description: 商品名称
  7981. type: string
  7982. goodsprice:
  7983. description: 商品价格
  7984. type: number
  7985. hascoupon:
  7986. description: 是否可用优惠卷
  7987. type: boolean
  7988. hotindex:
  7989. description: 景点热度
  7990. type: integer
  7991. marketid:
  7992. description: 市场ID
  7993. type: integer
  7994. orderid:
  7995. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7996. type: string
  7997. orderprice:
  7998. description: 委托价格
  7999. type: number
  8000. orderstatus:
  8001. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8002. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8003. 16:成交失败违约(荷兰式竞拍专用)
  8004. type: integer
  8005. picurls:
  8006. description: 介绍图片[多张用逗号分隔]
  8007. type: string
  8008. quoteminunit:
  8009. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8010. type: integer
  8011. sellUserID:
  8012. description: 卖方UserID
  8013. type: integer
  8014. trademode:
  8015. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8016. 21:竞拍-大宗式 22:受托竞价
  8017. type: integer
  8018. videourls:
  8019. description: 介绍视频[多张用逗号分隔]
  8020. type: string
  8021. required:
  8022. - accountid
  8023. - buyorsell
  8024. - goodscode
  8025. - goodsid
  8026. - goodsname
  8027. - marketid
  8028. - orderid
  8029. - trademode
  8030. type: object
  8031. models.HsbyMarketGoodsDetail:
  8032. properties:
  8033. accountid:
  8034. description: 账户ID[报价币种]
  8035. type: integer
  8036. agreeunit:
  8037. description: 合约单位
  8038. type: number
  8039. buymaxqty:
  8040. description: 购买上限 [71] - 0为不限
  8041. type: integer
  8042. buyorsell:
  8043. description: 买卖 - 0:买 1:卖
  8044. type: integer
  8045. cancelqty:
  8046. description: 撤单数量
  8047. type: integer
  8048. categoryid:
  8049. description: 类别ID(WRCATEGORY)
  8050. type: integer
  8051. currency:
  8052. description: 货币
  8053. type: string
  8054. currencysign:
  8055. description: 货币符号
  8056. type: string
  8057. customername:
  8058. description: 卖家名称
  8059. type: string
  8060. decimalplace:
  8061. description: 报价小数位
  8062. type: integer
  8063. goodscode:
  8064. description: 商品代码(内部)
  8065. type: string
  8066. goodsdesc:
  8067. description: 商品详情
  8068. type: string
  8069. goodsid:
  8070. description: 商品ID
  8071. type: integer
  8072. goodsname:
  8073. description: 商品名称
  8074. type: string
  8075. goodsprice:
  8076. description: 商品价格
  8077. type: number
  8078. hotindex:
  8079. description: 景点热度
  8080. type: integer
  8081. lotsize:
  8082. description: 手数最小变动单位
  8083. type: integer
  8084. marketid:
  8085. description: 市场ID
  8086. type: integer
  8087. orderid:
  8088. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8089. type: string
  8090. orderprice:
  8091. description: 委托价格
  8092. type: number
  8093. orderqty:
  8094. description: 委托数量
  8095. type: integer
  8096. orderstatus:
  8097. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8098. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8099. 16:成交失败违约(荷兰式竞拍专用)
  8100. type: integer
  8101. picurls:
  8102. description: 介绍图片[多张用逗号分隔]
  8103. type: string
  8104. quoteminunit:
  8105. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8106. type: integer
  8107. sellUserID:
  8108. description: 卖方UserID
  8109. type: integer
  8110. trademode:
  8111. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8112. 21:竞拍-大宗式 22:受托竞价
  8113. type: integer
  8114. tradeqty:
  8115. description: 成交数量
  8116. type: integer
  8117. vendorattr:
  8118. description: 供应商附件(多张,逗号分隔)
  8119. type: string
  8120. vendorname:
  8121. description: 供应商名称
  8122. type: string
  8123. vendorphone:
  8124. description: 供应商客服电话
  8125. type: string
  8126. videourls:
  8127. description: 介绍视频[多张用逗号分隔]
  8128. type: string
  8129. required:
  8130. - accountid
  8131. - buyorsell
  8132. - goodscode
  8133. - goodsid
  8134. - goodsname
  8135. - marketid
  8136. - orderid
  8137. - orderqty
  8138. - trademode
  8139. type: object
  8140. models.HsbyMarketInfo:
  8141. properties:
  8142. marketid:
  8143. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8144. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8145. type: integer
  8146. marketname:
  8147. description: 市场名称
  8148. type: string
  8149. marketstatus:
  8150. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8151. type: integer
  8152. trademode:
  8153. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8154. 21:竞拍-大宗式 22:受托竞价
  8155. type: integer
  8156. required:
  8157. - marketid
  8158. - marketstatus
  8159. - trademode
  8160. type: object
  8161. models.HsbyMyGoods:
  8162. properties:
  8163. accountid:
  8164. description: 账号Id
  8165. type: integer
  8166. agreeunit:
  8167. description: 合约单位
  8168. type: number
  8169. buyaverageprice:
  8170. description: 持仓均价
  8171. type: number
  8172. buycurholderamount:
  8173. description: 买当前持仓总金额[商品币种]
  8174. type: number
  8175. buycurpositionqty:
  8176. description: 买当前持仓总数量
  8177. type: integer
  8178. buymaxqty:
  8179. description: 购买上限 [71] - 0为不限
  8180. type: integer
  8181. currencysign:
  8182. description: 货币符号
  8183. type: string
  8184. decimalplace:
  8185. description: 报价小数位
  8186. type: integer
  8187. enableqty:
  8188. description: 可用数量
  8189. type: integer
  8190. goodscode:
  8191. description: 商品代码(内部)
  8192. type: string
  8193. goodsid:
  8194. description: 商品Id
  8195. type: integer
  8196. goodsname:
  8197. description: 商品名称
  8198. type: string
  8199. goodsprice:
  8200. description: 商品价格
  8201. type: number
  8202. goodsstatus:
  8203. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8204. type: integer
  8205. last:
  8206. description: 现价(仅使用于挂牌点选)
  8207. type: number
  8208. limitdown:
  8209. description: 跌停价(仅使用于挂牌点选)
  8210. type: number
  8211. limitup:
  8212. description: 涨停价(仅使用于挂牌点选)
  8213. type: number
  8214. lotsize:
  8215. description: 手数最小变动单位
  8216. type: integer
  8217. marketid:
  8218. description: 所属市场ID
  8219. type: integer
  8220. picurls:
  8221. description: 介绍图片[多张用逗号分隔]
  8222. type: string
  8223. quoteminunit:
  8224. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8225. type: integer
  8226. stepvalue:
  8227. description: 价格最小变动单位
  8228. type: number
  8229. trademode:
  8230. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8231. 21:竞拍-大宗式 22:受托竞价
  8232. type: integer
  8233. required:
  8234. - accountid
  8235. - goodscode
  8236. - goodsid
  8237. - goodsname
  8238. - marketid
  8239. - trademode
  8240. type: object
  8241. models.HsbyMyPackage:
  8242. properties:
  8243. accountid:
  8244. description: 账户ID
  8245. type: integer
  8246. address:
  8247. description: 提货人详细地址
  8248. type: string
  8249. agreeunit:
  8250. description: 合约单位
  8251. type: number
  8252. amount:
  8253. description: 提货金额
  8254. type: number
  8255. auditer:
  8256. description: 审核人
  8257. type: integer
  8258. audittime:
  8259. description: 审核时间
  8260. type: string
  8261. averageprice:
  8262. description: 均价
  8263. type: number
  8264. cardnum:
  8265. description: 提货人证件号码
  8266. type: string
  8267. cardtypeid:
  8268. description: 提货人证件类型
  8269. type: integer
  8270. checkremark:
  8271. description: 审核备注
  8272. type: string
  8273. currencysign:
  8274. description: 货币符号
  8275. type: string
  8276. decimalplace:
  8277. description: 报价小数位
  8278. type: integer
  8279. goodscode:
  8280. description: 商品代码(内部)
  8281. type: string
  8282. goodsid:
  8283. description: 商品ID
  8284. type: integer
  8285. goodsname:
  8286. description: 商品名称
  8287. type: string
  8288. handlestatus:
  8289. description: 处理状态
  8290. type: integer
  8291. marketid:
  8292. description: 市场ID
  8293. type: integer
  8294. phonenum:
  8295. description: 提货人联系方式
  8296. type: string
  8297. picurls:
  8298. description: 介绍图片[多张用逗号分隔]
  8299. type: string
  8300. qty:
  8301. description: 提货数量
  8302. type: number
  8303. recivername:
  8304. description: 提货人姓名
  8305. type: string
  8306. reqtime:
  8307. description: 更新时间
  8308. type: string
  8309. takemode:
  8310. description: 提货方式 - 2:自提 3:配送
  8311. type: integer
  8312. takeorderid:
  8313. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8314. type: string
  8315. takeorderstatus:
  8316. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8317. type: integer
  8318. takeremark:
  8319. description: 提货备注
  8320. type: string
  8321. tradedate:
  8322. description: 交易日(yyyyMMdd)
  8323. type: string
  8324. trademode:
  8325. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8326. 21:竞拍-大宗式 22:受托竞价
  8327. type: integer
  8328. userid:
  8329. description: 用户ID
  8330. type: integer
  8331. vendorname:
  8332. description: 供应商名称
  8333. type: string
  8334. required:
  8335. - goodscode
  8336. - goodsname
  8337. - takeorderid
  8338. - trademode
  8339. type: object
  8340. models.HsbyPreGoods:
  8341. properties:
  8342. agreeunit:
  8343. description: 合约单位
  8344. type: number
  8345. currency:
  8346. description: 货币
  8347. type: string
  8348. currencysign:
  8349. description: 货币符号
  8350. type: string
  8351. decimalplace:
  8352. description: 报价小数位
  8353. type: integer
  8354. desccityid:
  8355. description: 目的地(市)
  8356. type: integer
  8357. descprovinceid:
  8358. description: 目的地(省)
  8359. type: integer
  8360. enableqty:
  8361. description: 剩余数量
  8362. type: integer
  8363. goodscode:
  8364. description: 商品代码(内部)
  8365. type: string
  8366. goodsid:
  8367. description: 商品ID(自增ID SEQ_GOODS)
  8368. type: integer
  8369. goodsname:
  8370. description: 商品名称
  8371. type: string
  8372. goodsstatus:
  8373. description: 商品状态- 2:未上市 3:上市
  8374. type: integer
  8375. lasttradedate:
  8376. description: 最后交易日期(状态:待退市)
  8377. type: string
  8378. listingdate:
  8379. description: 交易开始日期
  8380. type: string
  8381. marketid:
  8382. description: 所属市场ID
  8383. type: integer
  8384. picurls:
  8385. description: 介绍图片[多张用逗号分隔]
  8386. type: string
  8387. presaledqty:
  8388. description: 已预售量(预售结束时更新)
  8389. type: integer
  8390. presaleqty:
  8391. description: 预售数量
  8392. type: integer
  8393. quoteminunit:
  8394. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8395. type: integer
  8396. refprice:
  8397. description: 参考价格[一口价]
  8398. type: number
  8399. relatedgoodsid:
  8400. description: 关联交易合约ID
  8401. type: integer
  8402. trademode:
  8403. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8404. 21:竞拍-大宗式 22:受托竞价
  8405. type: integer
  8406. videourls:
  8407. description: 介绍视频[多张用逗号分隔]
  8408. type: string
  8409. required:
  8410. - goodscode
  8411. - goodsid
  8412. - goodsname
  8413. - marketid
  8414. - trademode
  8415. type: object
  8416. models.HsbyPreGoodsDetail:
  8417. properties:
  8418. agreeunit:
  8419. description: 合约单位
  8420. type: number
  8421. buymaxqty:
  8422. description: 购买上限 [71] - 0为不限
  8423. type: integer
  8424. currency:
  8425. description: 货币
  8426. type: string
  8427. currencysign:
  8428. description: 货币符号
  8429. type: string
  8430. customername:
  8431. description: 发行单位
  8432. type: string
  8433. decimalplace:
  8434. description: 报价小数位
  8435. type: integer
  8436. desccityid:
  8437. description: 目的地(市)ID
  8438. type: integer
  8439. descprovinceid:
  8440. description: 目的地(省)ID
  8441. type: integer
  8442. enableqty:
  8443. description: 剩余数量
  8444. type: integer
  8445. goodscode:
  8446. description: 商品代码(内部)
  8447. type: string
  8448. goodsdesc:
  8449. description: 商品详情
  8450. type: string
  8451. goodsid:
  8452. description: 商品ID(自增ID SEQ_GOODS)
  8453. type: integer
  8454. goodsname:
  8455. description: 商品名称
  8456. type: string
  8457. goodsstatus:
  8458. description: 商品状态- 2:未上市 3:上市
  8459. type: integer
  8460. goodunit:
  8461. description: 报价单位
  8462. type: string
  8463. lasttradedate:
  8464. description: 最后交易日期(状态:待退市)
  8465. type: string
  8466. listingdate:
  8467. description: 交易开始日期
  8468. type: string
  8469. lotsize:
  8470. description: 手数最小变动单位
  8471. type: integer
  8472. marketid:
  8473. description: 所属市场ID
  8474. type: integer
  8475. picurls:
  8476. description: 介绍图片[多张用逗号分隔]
  8477. type: string
  8478. presaledqty:
  8479. description: 已预售量(预售结束时更新)
  8480. type: integer
  8481. presaleqty:
  8482. description: 预售数量
  8483. type: integer
  8484. quoteminunit:
  8485. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8486. type: integer
  8487. refprice:
  8488. description: 参考价格[一口价]
  8489. type: number
  8490. relatedgoodsid:
  8491. description: 关联交易合约ID
  8492. type: integer
  8493. stepvalue:
  8494. description: 价格最小变动单位
  8495. type: number
  8496. trademode:
  8497. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8498. 21:竞拍-大宗式 22:受托竞价
  8499. type: integer
  8500. vendorattr:
  8501. description: 供应商附件(多张,逗号分隔)
  8502. type: string
  8503. vendorname:
  8504. description: 供应商名称
  8505. type: string
  8506. vendorphone:
  8507. description: 供应商客服电话
  8508. type: string
  8509. videourls:
  8510. description: 介绍视频[多张用逗号分隔]
  8511. type: string
  8512. required:
  8513. - goodscode
  8514. - goodsid
  8515. - goodsname
  8516. - marketid
  8517. - trademode
  8518. type: object
  8519. models.HsbySellCollectionOrder:
  8520. properties:
  8521. agreeunit:
  8522. description: 合约单位
  8523. type: number
  8524. buyaccountid:
  8525. description: 买方账号ID[报价币种]
  8526. type: integer
  8527. buyorderid:
  8528. description: 买方委托单号
  8529. type: string
  8530. createtime:
  8531. description: 创建时间
  8532. type: string
  8533. currencysign:
  8534. description: 货币符号
  8535. type: string
  8536. decimalplace:
  8537. description: 报价小数位
  8538. type: integer
  8539. goodscode:
  8540. description: 商品代码(内部)
  8541. type: string
  8542. goodsid:
  8543. description: 商品ID
  8544. type: integer
  8545. goodsname:
  8546. description: 商品名称
  8547. type: string
  8548. marketid:
  8549. description: 市场ID
  8550. type: integer
  8551. offamount:
  8552. description: 优惠金额
  8553. type: number
  8554. payamount:
  8555. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8556. type: number
  8557. payflag:
  8558. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8559. type: integer
  8560. paylimitedtime:
  8561. description: 支付期限
  8562. type: string
  8563. paytime:
  8564. description: 付款时间
  8565. type: string
  8566. picurls:
  8567. description: 商品介绍图片[多张用逗号分隔]
  8568. type: string
  8569. sellaccountid:
  8570. description: 卖方账号ID[报价币种]
  8571. type: integer
  8572. sellorderid:
  8573. description: 卖方委托单号
  8574. type: string
  8575. tradeamount:
  8576. description: 成交金额
  8577. type: number
  8578. tradecharge:
  8579. description: 成交手续费(买方)
  8580. type: number
  8581. tradedate:
  8582. description: 交易日(yyyyMMdd)
  8583. type: string
  8584. tradeid:
  8585. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8586. type: string
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8589. 21:竞拍-大宗式 22:受托竞价
  8590. type: integer
  8591. tradeprice:
  8592. description: 成交价格
  8593. type: number
  8594. tradeqty:
  8595. description: 成交数量
  8596. type: integer
  8597. required:
  8598. - goodscode
  8599. - goodsname
  8600. - tradeid
  8601. - trademode
  8602. type: object
  8603. models.HsbySellMyDetail:
  8604. properties:
  8605. accountid:
  8606. description: 账户ID[报价币种]
  8607. type: integer
  8608. agreeunit:
  8609. description: 合约单位
  8610. type: number
  8611. buyorsell:
  8612. description: 买卖 - 0:买 1:卖
  8613. type: integer
  8614. currencysign:
  8615. description: 货币符号
  8616. type: string
  8617. decimalplace:
  8618. description: 报价小数位
  8619. type: integer
  8620. goodscode:
  8621. description: 商品代码(内部)
  8622. type: string
  8623. goodsid:
  8624. description: 商品ID
  8625. type: integer
  8626. goodsname:
  8627. description: 商品名称
  8628. type: string
  8629. marketid:
  8630. description: 市场ID
  8631. type: integer
  8632. orderid:
  8633. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8634. type: string
  8635. ordertype:
  8636. description: 单据类型:0 - 发布中, 1 - 已完成
  8637. type: integer
  8638. picurls:
  8639. description: 介绍图片[多张用逗号分隔]
  8640. type: string
  8641. price:
  8642. description: 价格
  8643. type: number
  8644. qty:
  8645. description: 数量
  8646. type: integer
  8647. time:
  8648. description: 时间
  8649. type: string
  8650. trademode:
  8651. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8652. 21:竞拍-大宗式 22:受托竞价
  8653. type: integer
  8654. vendorname:
  8655. description: 供应商名称
  8656. type: string
  8657. required:
  8658. - accountid
  8659. - buyorsell
  8660. - goodscode
  8661. - goodsid
  8662. - goodsname
  8663. - marketid
  8664. - orderid
  8665. - time
  8666. - trademode
  8667. type: object
  8668. models.HsbyTopGoods:
  8669. properties:
  8670. agreeunit:
  8671. description: 合约单位
  8672. type: number
  8673. currency:
  8674. description: 货币
  8675. type: string
  8676. currencysign:
  8677. description: 货币符号
  8678. type: string
  8679. decimalplace:
  8680. description: 报价小数位
  8681. type: integer
  8682. desccityid:
  8683. description: 目的地(市)
  8684. type: integer
  8685. descprovinceid:
  8686. description: 目的地(省)
  8687. type: integer
  8688. goodscode:
  8689. description: 商品代码(内部)
  8690. type: string
  8691. goodsid:
  8692. description: 商品ID(自增ID SEQ_GOODS)
  8693. type: integer
  8694. goodsname:
  8695. description: 商品名称
  8696. type: string
  8697. hotindex:
  8698. description: 景点热度
  8699. type: integer
  8700. last:
  8701. description: 现价
  8702. type: number
  8703. marketid:
  8704. description: 所属市场ID
  8705. type: integer
  8706. picurls:
  8707. description: 介绍图片[多张用逗号分隔]
  8708. type: string
  8709. quoteminunit:
  8710. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8711. type: integer
  8712. trademode:
  8713. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8714. 21:竞拍-大宗式 22:受托竞价
  8715. type: integer
  8716. videourls:
  8717. description: 介绍视频[多张用逗号分隔]
  8718. type: string
  8719. required:
  8720. - goodscode
  8721. - goodsid
  8722. - goodsname
  8723. - marketid
  8724. - trademode
  8725. type: object
  8726. models.HybsMyBuyOrderDetail:
  8727. properties:
  8728. accountid:
  8729. description: 账户ID[报价币种]
  8730. type: integer
  8731. agreeunit:
  8732. description: 合约单位
  8733. type: number
  8734. buyorsell:
  8735. description: 买卖 - 0:买 1:卖
  8736. type: integer
  8737. cancelqty:
  8738. description: 撤单数量
  8739. type: integer
  8740. currencysign:
  8741. description: 货币符号
  8742. type: string
  8743. decimalplace:
  8744. description: 报价小数位
  8745. type: integer
  8746. goodscode:
  8747. description: 商品代码(内部)
  8748. type: string
  8749. goodsid:
  8750. description: 商品ID
  8751. type: integer
  8752. goodsname:
  8753. description: 商品名称
  8754. type: string
  8755. listingselecttype:
  8756. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8757. type: integer
  8758. marketid:
  8759. description: 市场ID
  8760. type: integer
  8761. mybuystatus:
  8762. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8763. type: integer
  8764. orderamount:
  8765. description: 委托金额
  8766. type: number
  8767. orderid:
  8768. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8769. type: string
  8770. orderprice:
  8771. description: 委托价格
  8772. type: number
  8773. orderqty:
  8774. description: 委托数量
  8775. type: integer
  8776. orderstatus:
  8777. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8778. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8779. 16:成交失败违约(荷兰式竞拍专用)
  8780. type: integer
  8781. ordertime:
  8782. description: 委托时间
  8783. type: string
  8784. picurls1:
  8785. description: 预售商品介绍图片[多张用逗号分隔]
  8786. type: string
  8787. picurls2:
  8788. description: 挂牌商品介绍图片[多张用逗号分隔]
  8789. type: string
  8790. trademode:
  8791. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8792. 21:竞拍-大宗式 22:受托竞价
  8793. type: integer
  8794. tradeqty:
  8795. description: 成交数量
  8796. type: integer
  8797. vendorname1:
  8798. description: 预售商品供应商名称
  8799. type: string
  8800. vendorname2:
  8801. description: 挂牌商品供应商名称
  8802. type: string
  8803. required:
  8804. - accountid
  8805. - buyorsell
  8806. - goodscode
  8807. - goodsid
  8808. - goodsname
  8809. - marketid
  8810. - orderid
  8811. - orderqty
  8812. - ordertime
  8813. - trademode
  8814. type: object
  8815. models.Loginaccount:
  8816. properties:
  8817. accountname:
  8818. description: 账户名称
  8819. type: string
  8820. canoutin:
  8821. description: 是否可出入金 - 0:不可 1:可
  8822. type: integer
  8823. clientroleid:
  8824. description: 终端角色ID
  8825. type: integer
  8826. haslogined:
  8827. description: 是否已登录 - 0:未登录 1:已登录
  8828. type: integer
  8829. hasupdatedpwd:
  8830. description: 是否已更改密码 - 0:未修改 1:已修改
  8831. type: integer
  8832. lastloginip:
  8833. description: 最新登录地址
  8834. type: string
  8835. lastloginmode:
  8836. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8837. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8838. type: integer
  8839. lastloginremark:
  8840. description: 最新登录描述
  8841. type: string
  8842. lastlogintime:
  8843. description: 最新登录时间
  8844. type: string
  8845. logincode:
  8846. description: 登录代码
  8847. type: string
  8848. loginfailnum:
  8849. description: 连续登录失败次数(登录成功时清零)
  8850. type: integer
  8851. loginid:
  8852. description: 登陆账号
  8853. type: integer
  8854. loginport:
  8855. description: 最新登录端口
  8856. type: integer
  8857. loginstatus:
  8858. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8859. type: integer
  8860. loginusertype:
  8861. description: 登录账号类型 - 1:投资者 2:机构交易员
  8862. type: integer
  8863. mobile:
  8864. description: 手机号码(加密存储)
  8865. type: string
  8866. modifierid:
  8867. description: 修改人
  8868. type: integer
  8869. modifysrc:
  8870. description: 审核来源 - 1:管理端 2:终端
  8871. type: integer
  8872. modifytime:
  8873. description: 修改时间
  8874. type: string
  8875. password:
  8876. description: 登陆密码
  8877. type: string
  8878. pwdwrongcount:
  8879. description: 密码错误次数
  8880. type: integer
  8881. relateduserid:
  8882. description: 关联用户ID(机构)
  8883. type: integer
  8884. taaccountrighttype:
  8885. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8886. type: integer
  8887. unfreezetime:
  8888. description: 账户解冻时间
  8889. type: string
  8890. userid:
  8891. description: 用户ID
  8892. type: integer
  8893. required:
  8894. - loginid
  8895. type: object
  8896. models.MainAccountInfo:
  8897. properties:
  8898. accountid:
  8899. description: 账号id
  8900. type: integer
  8901. accountname:
  8902. description: 账号名称(taaccount表中的名称)
  8903. type: string
  8904. appid:
  8905. description: AppID
  8906. type: string
  8907. authcode:
  8908. description: 授权码
  8909. type: string
  8910. brokerid:
  8911. description: 经纪商id
  8912. type: string
  8913. fcid:
  8914. description: 期货公司id
  8915. type: integer
  8916. fcname:
  8917. description: 期货公司代码
  8918. type: string
  8919. hedgeaccountcode:
  8920. description: 外部账号代码(主账号登录代码)
  8921. type: string
  8922. hedgeaccountpwd:
  8923. description: 密码
  8924. type: string
  8925. ismain:
  8926. description: 是否主账号
  8927. type: integer
  8928. relateduserid:
  8929. description: 关联用户id
  8930. type: integer
  8931. userid:
  8932. description: 关联用户id
  8933. type: integer
  8934. type: object
  8935. models.Market:
  8936. properties:
  8937. auctionwrtype:
  8938. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8939. type: integer
  8940. canacceptquote:
  8941. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8942. type: integer
  8943. cangoodsexercise:
  8944. description: '[期权]是否可现货行权- 0:否 1:是'
  8945. type: integer
  8946. cangoodsexercisetype:
  8947. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8948. type: integer
  8949. canmanualquotestrike:
  8950. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8951. type: integer
  8952. canmutistage:
  8953. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8954. type: integer
  8955. canpreexercise:
  8956. description: '[期权]是否可预申报- 0:否 1:是'
  8957. type: integer
  8958. clearinterval:
  8959. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8960. type: integer
  8961. contracttmp:
  8962. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8963. type: string
  8964. exchareaid:
  8965. description: 所属交易所,可以没有
  8966. type: integer
  8967. goodstype:
  8968. description: 商品类型 - 1:交易商品 2:仓单商品
  8969. type: integer
  8970. hasrebate:
  8971. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8972. type: integer
  8973. hastradecredit:
  8974. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8975. type: integer
  8976. haswr:
  8977. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8978. type: integer
  8979. isdeductmargin:
  8980. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8981. type: integer
  8982. isrecordsource:
  8983. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8984. type: integer
  8985. isreleasemargin:
  8986. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8987. type: integer
  8988. marginformula:
  8989. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8990. type: integer
  8991. marginformula2:
  8992. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8993. type: integer
  8994. marketid:
  8995. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8996. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8997. type: integer
  8998. marketname:
  8999. description: 市场名称
  9000. type: string
  9001. marketserviceid:
  9002. description: 市场服务ID
  9003. type: integer
  9004. marketstatus:
  9005. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9006. type: integer
  9007. markettype:
  9008. description: 市场类型- 1:非交易服务 2:交易服务
  9009. type: integer
  9010. matchermode:
  9011. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9012. type: integer
  9013. openmethod:
  9014. description: 开盘模式 - 0 自动 1手动
  9015. type: integer
  9016. otcuserid:
  9017. description: 场外期权做市商[场外期权]
  9018. type: integer
  9019. outersynctime:
  9020. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9021. type: string
  9022. pendingflag:
  9023. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9024. type: integer
  9025. pendingtime:
  9026. description: 待开市时间[通道交易-对冲](HH:mm)
  9027. type: string
  9028. performancetempid:
  9029. description: 履约计划模板ID - 作废
  9030. type: integer
  9031. premiumquotemode:
  9032. description: 权利金报价方式 - 1:自动 2:手动
  9033. type: integer
  9034. rebateratio:
  9035. description: 返利比率[竞价式]
  9036. type: number
  9037. reckonorder:
  9038. description: 结算顺序
  9039. type: integer
  9040. reckonpricealgorithm:
  9041. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9042. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9043. type: integer
  9044. reckonpriceparam:
  9045. description: 结算价参数
  9046. type: integer
  9047. reckontime:
  9048. description: 结算时间[通道交易-对冲](HH:mm)
  9049. type: string
  9050. roleprioritytype:
  9051. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9052. type: integer
  9053. selllistingauditflag:
  9054. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9055. type: integer
  9056. trademarkettype:
  9057. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9058. type: integer
  9059. trademode:
  9060. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9061. 21:竞拍-大宗式 22:受托竞价
  9062. type: integer
  9063. tradeproperty:
  9064. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9065. 8:场外期权
  9066. type: integer
  9067. tradetype:
  9068. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9069. type: integer
  9070. required:
  9071. - marketid
  9072. - marketstatus
  9073. - openmethod
  9074. - reckonpricealgorithm
  9075. - trademode
  9076. - tradeproperty
  9077. type: object
  9078. models.Marketrun:
  9079. properties:
  9080. afternexttradedate:
  9081. description: 下下交易日
  9082. type: string
  9083. clearquoteflag:
  9084. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9085. type: integer
  9086. lastreckondate:
  9087. description: 最新交易日(结算成功)
  9088. type: string
  9089. machinedate:
  9090. description: 机器时间
  9091. type: string
  9092. manualflag:
  9093. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9094. type: integer
  9095. marketid:
  9096. description: 市场ID
  9097. type: integer
  9098. nexttradedate:
  9099. description: 下一交易日
  9100. type: string
  9101. pretradedate:
  9102. description: 上一交易日
  9103. type: string
  9104. reckonflag:
  9105. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9106. type: integer
  9107. runstatus:
  9108. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9109. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9110. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9111. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9112. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9113. 62.今日免清算
  9114. type: integer
  9115. sectionid:
  9116. description: 时间段号[多时段时用]
  9117. type: integer
  9118. tradedate:
  9119. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9120. type: string
  9121. tradedate2:
  9122. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9123. type: string
  9124. updatetime:
  9125. description: 更新时间
  9126. type: string
  9127. required:
  9128. - marketid
  9129. - nexttradedate
  9130. - reckonflag
  9131. - runstatus
  9132. - tradedate
  9133. - tradedate2
  9134. type: object
  9135. models.Messageboard:
  9136. properties:
  9137. contactnum:
  9138. description: 联系电话
  9139. type: string
  9140. createtime:
  9141. description: 创建时间
  9142. type: string
  9143. message:
  9144. description: 留言信息
  9145. type: string
  9146. messageboardid:
  9147. description: 留言簿ID(SEQ_MessageBoard)
  9148. type: integer
  9149. userid:
  9150. description: 用户ID
  9151. type: integer
  9152. required:
  9153. - messageboardid
  9154. type: object
  9155. models.MyCoupon:
  9156. properties:
  9157. accountid:
  9158. description: 资金账户ID
  9159. type: integer
  9160. areauserid:
  9161. description: 所属机构
  9162. type: integer
  9163. conditionvalue:
  9164. description: 条件阈值(可为0)
  9165. type: number
  9166. couponcategroy:
  9167. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9168. type: integer
  9169. couponname:
  9170. description: 优惠券名称
  9171. type: string
  9172. coupontypeid:
  9173. description: 优惠券类型ID
  9174. type: string
  9175. couponvalue:
  9176. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9177. type: number
  9178. curfreezeqty:
  9179. description: 期末冻结数量
  9180. type: integer
  9181. curqty:
  9182. description: 期末数量
  9183. type: integer
  9184. isgeneral:
  9185. description: 是否通用券 - 0:否 1:是
  9186. type: integer
  9187. isunusable:
  9188. description: 是否不可用
  9189. type: boolean
  9190. limitedflag:
  9191. description: 是否指定商品 - 0:不限 1:限制
  9192. type: integer
  9193. limitedgoodsids:
  9194. description: 指定商品IDs[逗号分隔,前后加逗号]
  9195. type: string
  9196. orifreezeqty:
  9197. description: 期初冻结数量
  9198. type: integer
  9199. oriqty:
  9200. description: 期初数量
  9201. type: integer
  9202. reasontype:
  9203. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9204. type: integer
  9205. todaydecrease:
  9206. description: 今日减少
  9207. type: integer
  9208. todayincrease:
  9209. description: 今日增加
  9210. type: integer
  9211. userid:
  9212. description: 用户ID
  9213. type: integer
  9214. userscope:
  9215. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9216. type: string
  9217. required:
  9218. - accountid
  9219. - coupontypeid
  9220. type: object
  9221. models.MyCouponHold:
  9222. properties:
  9223. accountid:
  9224. description: 资金账户ID
  9225. type: integer
  9226. conditionvalue:
  9227. description: 条件阈值(可为0)
  9228. type: number
  9229. couponcategroy:
  9230. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9231. type: integer
  9232. couponholdid:
  9233. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9234. type: string
  9235. couponname:
  9236. description: 优惠券名称
  9237. type: string
  9238. coupontypeid:
  9239. description: 优惠券类型ID - SEQ_COUPONTYPE
  9240. type: string
  9241. couponvalue:
  9242. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9243. type: number
  9244. createtime:
  9245. description: 创建时间
  9246. type: string
  9247. enddate:
  9248. description: 结束日期
  9249. type: string
  9250. giveapplyid:
  9251. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9252. type: integer
  9253. holdstatus:
  9254. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9255. type: integer
  9256. isgeneral:
  9257. description: 是否通用券 - 0:否 1:是
  9258. type: integer
  9259. limitedflag:
  9260. description: 是否指定商品 - 0:不限 1:限制
  9261. type: integer
  9262. limitedgoodsids:
  9263. description: 指定商品IDs[逗号分隔]
  9264. type: string
  9265. qty:
  9266. description: 数量(按1平铺)
  9267. type: integer
  9268. startdate:
  9269. description: 开始日期
  9270. type: string
  9271. userid:
  9272. description: 用户ID
  9273. type: integer
  9274. userscope:
  9275. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9276. type: string
  9277. required:
  9278. - couponholdid
  9279. type: object
  9280. models.MyUsedCoupon:
  9281. properties:
  9282. accountid:
  9283. description: 资金账户ID(买方)
  9284. type: integer
  9285. conditionvalue:
  9286. description: 条件阈值(可为0)
  9287. type: number
  9288. couponcategroy:
  9289. description: 种类 - 1:现金券 2:折扣券
  9290. type: integer
  9291. couponname:
  9292. description: 优惠券名称
  9293. type: string
  9294. coupontypeid:
  9295. description: 优惠券类型ID(买方)
  9296. type: string
  9297. couponvalue:
  9298. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9299. type: number
  9300. createtime:
  9301. description: 创建时间
  9302. type: string
  9303. goodsid:
  9304. description: 商品ID
  9305. type: integer
  9306. handlestatus:
  9307. description: 处理状态
  9308. type: integer
  9309. marketid:
  9310. description: 市场ID
  9311. type: integer
  9312. offamount:
  9313. description: 优惠金额
  9314. type: number
  9315. orderid:
  9316. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9317. type: string
  9318. sellaccountid:
  9319. description: 资金账户ID(卖方)
  9320. type: integer
  9321. tradeamount:
  9322. description: 成交金额
  9323. type: number
  9324. tradeid:
  9325. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9326. type: string
  9327. usedqty:
  9328. description: 使用数量
  9329. type: integer
  9330. required:
  9331. - coupontypeid
  9332. - orderid
  9333. type: object
  9334. models.OperationPrimaryMenu:
  9335. properties:
  9336. Children:
  9337. description: 二级功能菜单
  9338. items:
  9339. $ref: '#/definitions/models.OperationSecondaryMenu'
  9340. type: array
  9341. Key:
  9342. description: 菜单KEY
  9343. type: string
  9344. Label:
  9345. description: 菜单标题
  9346. type: string
  9347. type: object
  9348. models.OperationSecondaryMenu:
  9349. properties:
  9350. Key:
  9351. description: 菜单KEY
  9352. type: string
  9353. Label:
  9354. description: 菜单标题
  9355. type: string
  9356. TabList:
  9357. description: 三级功能菜单
  9358. items:
  9359. $ref: '#/definitions/models.OperationTabMenu'
  9360. type: array
  9361. type: object
  9362. models.OperationTabMenu:
  9363. properties:
  9364. Key:
  9365. description: 菜单KEY
  9366. type: string
  9367. Label:
  9368. description: 菜单标题
  9369. type: string
  9370. type: object
  9371. models.PendingAuditBizModel:
  9372. properties:
  9373. accountid:
  9374. description: 现货账户
  9375. type: string
  9376. areaname:
  9377. description: 所属部门
  9378. type: string
  9379. bizid:
  9380. description: 业务ID
  9381. type: string
  9382. bizname:
  9383. description: 业务名称
  9384. type: string
  9385. status:
  9386. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9387. type: integer
  9388. type:
  9389. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9390. type: integer
  9391. type: object
  9392. models.QhjAccountOutInApply:
  9393. properties:
  9394. accountcode:
  9395. description: 资金账号
  9396. type: string
  9397. accountname:
  9398. description: 用户名称(名称)
  9399. type: string
  9400. accountpwd:
  9401. description: 资金密码
  9402. type: string
  9403. accountticket:
  9404. description: 最新账户服务流水号
  9405. type: string
  9406. amount:
  9407. description: 金额
  9408. type: number
  9409. applyremark:
  9410. description: 申请备注
  9411. type: string
  9412. applystatus:
  9413. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9414. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9415. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9416. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9417. type: integer
  9418. auditid:
  9419. description: 审核人
  9420. type: integer
  9421. audittime:
  9422. description: 审核时间
  9423. type: string
  9424. bank_apply_ticket:
  9425. description: 银行申请流水
  9426. type: string
  9427. bankaccountname:
  9428. description: 银行账户名
  9429. type: string
  9430. bankaccountno:
  9431. description: 银行卡号
  9432. type: string
  9433. bankid:
  9434. description: 银行编号
  9435. type: string
  9436. bankticket:
  9437. description: 银行流水
  9438. type: string
  9439. branchbankid:
  9440. description: 银行支行号
  9441. type: string
  9442. branchbankname:
  9443. description: 银行支行名称
  9444. type: string
  9445. capamountout:
  9446. description: 出金(劣后本金) - 外部子账户
  9447. type: number
  9448. certificatephotourl:
  9449. description: 凭证地址
  9450. type: string
  9451. charge:
  9452. description: 手续费
  9453. type: number
  9454. checkerrorflag:
  9455. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9456. type: integer
  9457. currency:
  9458. description: 币种
  9459. type: string
  9460. cusbankid:
  9461. description: 托管银行编号
  9462. type: string
  9463. exchticket:
  9464. description: 银行服务流水号
  9465. type: string
  9466. executetype:
  9467. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9468. 7:外部子账户:入金 8:外部子账户:出金'
  9469. type: integer
  9470. extendinfo:
  9471. description: 扩展信息
  9472. type: string
  9473. extoperateid:
  9474. description: 交易服务流水号
  9475. type: integer
  9476. infamount:
  9477. description: 劣后金额(自有)
  9478. type: number
  9479. logincode:
  9480. description: 登录账号(账号)
  9481. type: string
  9482. netaddr:
  9483. description: 调转网址
  9484. type: string
  9485. priamount:
  9486. description: 优先金额(授信)
  9487. type: number
  9488. reauditid:
  9489. description: 复审人
  9490. type: integer
  9491. reauditremark:
  9492. description: 复审备注
  9493. type: string
  9494. reaudittime:
  9495. description: 复审时间
  9496. type: string
  9497. relatedorderid:
  9498. description: 三方关联ID
  9499. type: string
  9500. remark:
  9501. description: 备注
  9502. type: string
  9503. remark2:
  9504. description: 备注(失败原因)
  9505. type: string
  9506. soucreamount:
  9507. description: 原始出入金金额
  9508. type: number
  9509. soucrecurrencyid:
  9510. description: 原始出入金币种
  9511. type: integer
  9512. tradedate:
  9513. description: 交易日(yyyyMMdd)
  9514. type: string
  9515. updatetime:
  9516. description: 更新时间(申请时间)
  9517. type: string
  9518. userid:
  9519. description: 用户id
  9520. type: integer
  9521. userinfotype:
  9522. description: 账户类型 1-个人 2-企业
  9523. type: integer
  9524. type: object
  9525. models.QhjAgreementChangeLog:
  9526. properties:
  9527. agreementcontent:
  9528. description: 协议内容
  9529. type: string
  9530. agreementfrequency:
  9531. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9532. type: integer
  9533. agreementid:
  9534. description: 协议ID
  9535. type: integer
  9536. agreementname:
  9537. description: 协议名称
  9538. type: string
  9539. agreementno:
  9540. description: 协议编号
  9541. type: string
  9542. agreementtype:
  9543. description: 协议类型 - 1:注册 2:登录 3:交易
  9544. type: integer
  9545. agreementversion:
  9546. description: 协议版本号
  9547. type: integer
  9548. logid:
  9549. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9550. type: integer
  9551. reviserid:
  9552. description: 修改人
  9553. type: integer
  9554. revisersrc:
  9555. description: 修改来源 - 1:管理端 2:终端
  9556. type: integer
  9557. updatetime:
  9558. description: 更新时间
  9559. type: string
  9560. type: object
  9561. models.QhjAgreementConfig:
  9562. properties:
  9563. agreementcontent:
  9564. description: 协议内容
  9565. type: string
  9566. agreementfrequency:
  9567. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9568. type: integer
  9569. agreementid:
  9570. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9571. type: integer
  9572. agreementname:
  9573. description: 协议名称
  9574. type: string
  9575. agreementno:
  9576. description: 协议编号
  9577. type: string
  9578. agreementtype:
  9579. description: 协议类型 - 1:注册 2:登录 3:交易
  9580. type: integer
  9581. agreementversion:
  9582. description: 协议版本号(从1开始每次修改加1)
  9583. type: integer
  9584. createtime:
  9585. description: 创建时间
  9586. type: string
  9587. creatorid:
  9588. description: 创建人
  9589. type: integer
  9590. creatorsrc:
  9591. description: 创建来源 - 1:管理端 2:终端
  9592. type: integer
  9593. isvalid:
  9594. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9595. type: integer
  9596. reviserid:
  9597. description: 修改人
  9598. type: integer
  9599. revisersrc:
  9600. description: 修改来源 - 1:管理端 2:终端
  9601. type: integer
  9602. updatetime:
  9603. description: 更新时间
  9604. type: string
  9605. type: object
  9606. models.QhjAreaFinanceConfig:
  9607. properties:
  9608. additionalratio:
  9609. description: 追加款比例
  9610. type: number
  9611. advanceratio:
  9612. description: 预付款比例
  9613. type: number
  9614. alarmratio:
  9615. description: 告警比例
  9616. type: number
  9617. consumptiondirectreward:
  9618. description: 消费直推奖励值
  9619. type: number
  9620. consumptionenabled:
  9621. description: 是否启用消费奖励 - 0:不启用 1:启用
  9622. type: integer
  9623. consumptionindirectreward:
  9624. description: 消费间推奖励值
  9625. type: number
  9626. consumptionmodel:
  9627. description: 消费奖励方式 - 1:比率 2:固定
  9628. type: integer
  9629. customerservicenum:
  9630. description: 客服电话
  9631. type: string
  9632. dayinterestrate:
  9633. description: 日利率
  9634. type: number
  9635. disableconsumptiontips:
  9636. description: 关闭消费奖励提示
  9637. type: string
  9638. modifierid:
  9639. description: 修改人ID
  9640. type: integer
  9641. modifysrc:
  9642. description: 审核来源 - 1:管理端 2:终端
  9643. type: integer
  9644. modifytime:
  9645. description: 修改时间
  9646. type: string
  9647. promotionvalue:
  9648. description: 推广奖励值(固定)
  9649. type: number
  9650. scoreconfigvalue1:
  9651. description: 提货积分配置1
  9652. type: integer
  9653. scoreconfigvalue2:
  9654. description: 提货积分配置2
  9655. type: integer
  9656. userid:
  9657. description: 机构用户ID其他做市关系,都设置为 1
  9658. type: integer
  9659. username:
  9660. description: 用户名称
  9661. type: string
  9662. type: object
  9663. models.QhjBankAccountSign:
  9664. properties:
  9665. accountcode:
  9666. description: 资金账号
  9667. type: string
  9668. accountname:
  9669. description: 资金账号对应的账号名(UserName)
  9670. type: string
  9671. accountname2:
  9672. description: 资金账号对应的账号名(UserName) - 密文
  9673. type: string
  9674. accounttype:
  9675. description: 账户类型(UserType)
  9676. type: integer
  9677. applicationtime:
  9678. description: 最后一次更新的时间
  9679. type: string
  9680. applyexchticket:
  9681. description: 申请流水
  9682. type: string
  9683. auditid:
  9684. description: 审核人
  9685. type: integer
  9686. audittime:
  9687. description: 审核时间
  9688. type: string
  9689. bankaccountname:
  9690. description: 签约银行卡账号名
  9691. type: string
  9692. bankaccountname2:
  9693. description: 签约银行卡账号名 - 密文
  9694. type: string
  9695. bankaccountno:
  9696. description: 银行卡号
  9697. type: string
  9698. bankaccountno2:
  9699. description: 银行卡号 - 密文
  9700. type: string
  9701. bankaccounttype:
  9702. description: 银行账户类型 - 1-对私; 2-对公
  9703. type: integer
  9704. bankcardtype:
  9705. description: 银行卡类型
  9706. type: integer
  9707. bankchildaccount:
  9708. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9709. type: string
  9710. bankcity:
  9711. description: 开户行城市
  9712. type: string
  9713. bankid:
  9714. description: 签约银行ID
  9715. type: string
  9716. bankname:
  9717. description: 签约银行名称
  9718. type: string
  9719. bankprovince:
  9720. description: 开户行省份
  9721. type: string
  9722. branchbankid:
  9723. description: 签约银行支行号
  9724. type: string
  9725. branchbankname:
  9726. description: 签约银行支行名称
  9727. type: string
  9728. cardno:
  9729. description: 证件号码
  9730. type: string
  9731. cardno2:
  9732. description: 证件号码 - 密文
  9733. type: string
  9734. cardtype:
  9735. description: 证件类型
  9736. type: string
  9737. currency:
  9738. description: 币种
  9739. type: string
  9740. cusbankid:
  9741. description: 托管银行编号
  9742. type: string
  9743. direct:
  9744. description: 方向(可以判断那方先发起的签约)
  9745. type: integer
  9746. exchticket:
  9747. description: 最后一次签约成功的流水号
  9748. type: string
  9749. extendinfo:
  9750. description: 扩展信息(JSON字符串)
  9751. type: string
  9752. mobilephone:
  9753. description: 手机号
  9754. type: string
  9755. mobilephone2:
  9756. description: 手机号 - 密文
  9757. type: string
  9758. netaddr:
  9759. description: 调转网址
  9760. type: string
  9761. relateduserid:
  9762. description: 关联使用者userid
  9763. type: integer
  9764. signstatus:
  9765. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9766. 10:审核拒绝 11:换签待审核
  9767. type: integer
  9768. updatetime:
  9769. description: 更新时间(签解约更新时间)
  9770. type: string
  9771. type: object
  9772. models.QhjBankInfo:
  9773. properties:
  9774. bankid:
  9775. description: 银行ID
  9776. type: string
  9777. bankname:
  9778. description: 银行名称
  9779. type: string
  9780. clearbankno:
  9781. description: 清算系统银行编号
  9782. type: string
  9783. orderindex:
  9784. description: 排序顺序
  9785. type: integer
  9786. status:
  9787. description: 状态 - 0:正常 1:注销
  9788. type: integer
  9789. type: object
  9790. models.QhjBrokerApply:
  9791. properties:
  9792. applicantid:
  9793. description: 申请人
  9794. type: integer
  9795. applysrc:
  9796. description: 申请来源 - 1:管理端 2:终端
  9797. type: integer
  9798. applystatus:
  9799. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9800. type: integer
  9801. applytime:
  9802. description: 申请时间
  9803. type: string
  9804. auditorid:
  9805. description: 审核人
  9806. type: integer
  9807. auditremark:
  9808. description: 审核备注
  9809. type: string
  9810. auditsrc:
  9811. description: 审核来源 - 1:管理端 2:终端
  9812. type: integer
  9813. audittime:
  9814. description: 审核时间
  9815. type: string
  9816. audittradedate:
  9817. description: 审核交易日(yyyyMMdd)
  9818. type: string
  9819. brokerapplyid:
  9820. description: 申请ID(SEQ_BROKERAPPLY)
  9821. type: integer
  9822. cardbackphotourl:
  9823. description: 证件背面图片地址
  9824. type: string
  9825. cardfrontphotourl:
  9826. description: 证件正面图片地址
  9827. type: string
  9828. cardnum:
  9829. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9830. type: string
  9831. customername:
  9832. description: 姓名
  9833. type: string
  9834. logincode:
  9835. description: 登录代码
  9836. type: string
  9837. mobile:
  9838. description: 手机号码
  9839. type: string
  9840. parentuserid:
  9841. description: 所属机构id
  9842. type: integer
  9843. parentusername:
  9844. description: 所属机构名称
  9845. type: string
  9846. refereeuserid:
  9847. description: 推荐人id(经纪人)
  9848. type: integer
  9849. refernum:
  9850. description: 推荐码
  9851. type: string
  9852. remark:
  9853. description: 备注
  9854. type: string
  9855. subarealevelpath:
  9856. description: 层级路径
  9857. type: string
  9858. tradedate:
  9859. description: 交易日(yyyyMMdd)
  9860. type: string
  9861. userid:
  9862. description: 申请人用户ID
  9863. type: integer
  9864. userinfotype:
  9865. description: 用户类型 1-个人 2-企业
  9866. type: integer
  9867. username:
  9868. description: 用户名称
  9869. type: string
  9870. type: object
  9871. models.QhjBrokerApplyEx:
  9872. properties:
  9873. applylist:
  9874. description: 经纪人申请记录(只返回最新一条)
  9875. items:
  9876. $ref: '#/definitions/models.QhjBrokerApply'
  9877. type: array
  9878. canrecommend:
  9879. description: 是否经纪人 0-不是 1-是
  9880. type: integer
  9881. refernum:
  9882. description: 推荐码
  9883. type: string
  9884. userid:
  9885. description: 用户id
  9886. type: integer
  9887. userinfotype:
  9888. description: 用户类型 1-个人 2-企业
  9889. type: integer
  9890. type: object
  9891. models.QhjBrokerRewardLog:
  9892. properties:
  9893. accountid:
  9894. description: 资金账号ID
  9895. type: integer
  9896. createtime:
  9897. description: 创建时间(时间)
  9898. type: string
  9899. handlestatus:
  9900. description: 处理状态
  9901. type: integer
  9902. logid:
  9903. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9904. type: string
  9905. marketid:
  9906. description: 市场ID
  9907. type: integer
  9908. mmaccountid:
  9909. description: 做市商资金账号ID
  9910. type: string
  9911. mmuserid:
  9912. description: 做市商用户ID
  9913. type: string
  9914. rewardamount:
  9915. description: 奖励金额
  9916. type: number
  9917. rewardmodel:
  9918. description: 消费奖励方式 - 1:比率 2:固定
  9919. type: integer
  9920. rewardtype:
  9921. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9922. type: integer
  9923. rewardvalue:
  9924. description: 配置奖励值
  9925. type: number
  9926. srcamount:
  9927. description: 成交金额 [消费奖励] (金额)
  9928. type: number
  9929. srcgoodsid:
  9930. description: 来源商品ID [消费奖励]
  9931. type: string
  9932. srctime:
  9933. description: 来源时间 (成交时间) [消费奖励]
  9934. type: string
  9935. srctradeid:
  9936. description: 来源成交单ID [消费奖励] - 排除提货成交
  9937. type: string
  9938. srcuserid:
  9939. description: 来源用户ID(推广账户)
  9940. type: string
  9941. srcusername:
  9942. description: 推广账户名称
  9943. type: string
  9944. tradedate:
  9945. description: 交易日(yyyyMMdd)
  9946. type: string
  9947. userid:
  9948. description: 经纪人用户ID
  9949. type: integer
  9950. type: object
  9951. models.QhjContract:
  9952. properties:
  9953. contractconfirmtime:
  9954. description: 合同确认时间(时间)
  9955. type: string
  9956. currisklevel:
  9957. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9958. type: integer
  9959. decimalplace:
  9960. description: 商品报价小数位
  9961. type: integer
  9962. enumdicname:
  9963. description: 单位名称
  9964. type: string
  9965. goodscode:
  9966. description: 商品代码
  9967. type: string
  9968. goodsid:
  9969. description: 商品ID [5:融资单]
  9970. type: integer
  9971. goodsname:
  9972. description: 商品名称
  9973. type: string
  9974. goodunitid:
  9975. description: 商品单位id
  9976. type: integer
  9977. initmargin:
  9978. description: 初始保证金(首付款)
  9979. type: number
  9980. lenderamount:
  9981. description: 贷款金额(总额|订单总额)
  9982. type: number
  9983. marginratio:
  9984. description: 保证金比率(首付比例)
  9985. type: number
  9986. payamount:
  9987. description: 已付(已付货款)
  9988. type: number
  9989. reckonrecovermargin:
  9990. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9991. type: number
  9992. recoveredmargin:
  9993. description: 已追缴保证金
  9994. type: number
  9995. remainamount:
  9996. description: 合同剩余金额(融资额)
  9997. type: number
  9998. scfcontractid:
  9999. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10000. type: string
  10001. scfcontractstatus:
  10002. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10003. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10004. type: integer
  10005. scfcontracttype:
  10006. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10007. type: integer
  10008. totalinterest:
  10009. description: 已计总利息(利息)
  10010. type: number
  10011. tradeprice:
  10012. description: 成交价格(成本价格)
  10013. type: number
  10014. userid:
  10015. description: 用户ID
  10016. type: integer
  10017. username:
  10018. description: 用户名称
  10019. type: string
  10020. wrqty:
  10021. description: 仓单数量(数量)
  10022. type: number
  10023. type: object
  10024. models.QhjContractLog:
  10025. properties:
  10026. amount:
  10027. description: 支付金额
  10028. type: number
  10029. amounttype:
  10030. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10031. type: integer
  10032. logid:
  10033. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10034. type: string
  10035. remainamount:
  10036. description: 剩余货款
  10037. type: number
  10038. scfcontractid:
  10039. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10040. type: integer
  10041. updatetime:
  10042. description: 更新时间
  10043. type: string
  10044. type: object
  10045. models.QhjCusBankSignBankEx:
  10046. properties:
  10047. banklst:
  10048. description: 银行列表
  10049. items:
  10050. $ref: '#/definitions/models.QhjBankInfo'
  10051. type: array
  10052. canallot:
  10053. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10054. type: integer
  10055. canallotquery:
  10056. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10057. type: integer
  10058. canbindcard:
  10059. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10060. type: integer
  10061. caninamount:
  10062. description: 是否可入金 - 0:不可 1:可以
  10063. type: integer
  10064. caninamount2:
  10065. description: 是否可入金(网银端) - 0:不可 1:可以
  10066. type: integer
  10067. canmodifybankcard:
  10068. description: 是否可修改银行卡号 - 0:不可 1:可以
  10069. type: integer
  10070. canmodifyphone:
  10071. description: 是否可修改手机号 - 0:不可 1:可以
  10072. type: integer
  10073. canmodifysigninfo:
  10074. description: 是否可修改签约信息 - 0:不可 1:可以
  10075. type: integer
  10076. canoutamount:
  10077. description: 是否可出金 - 0:不可 1:可以
  10078. type: integer
  10079. canoutamount2:
  10080. description: 是否可出金(网银端) - 0:不可 1:可以
  10081. type: integer
  10082. canrelease:
  10083. description: 是否可解约 - 0:不可 1:可以
  10084. type: integer
  10085. canrelease2:
  10086. description: 是否可解约(网银端) - 0:不可 1:可以
  10087. type: integer
  10088. cansign:
  10089. description: 是否可签约 - 0:不可 1:可以
  10090. type: integer
  10091. cansign2:
  10092. description: 是否可签约(网银端) - 0:不可 1:可以
  10093. type: integer
  10094. currency:
  10095. description: 币种
  10096. type: string
  10097. cusbankid:
  10098. description: 托管银行编号(对应清算中心TRAN_NO)
  10099. type: string
  10100. cusbankname:
  10101. description: 银行业务名称
  10102. type: string
  10103. cusbankshortname:
  10104. description: 银行业务简称
  10105. type: string
  10106. exchbankid:
  10107. description: 交易所开户银行ID
  10108. type: string
  10109. exchpaybankaccname:
  10110. description: 交易所支出结算账户户名
  10111. type: string
  10112. exchpaybankaccno:
  10113. description: 交易所支出结算账户
  10114. type: string
  10115. isneedcheck:
  10116. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10117. type: integer
  10118. isneedclear:
  10119. description: 是否需要清算 - 0:不需要 1:需要
  10120. type: integer
  10121. lastcheckstatus:
  10122. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10123. type: integer
  10124. lastchecktime:
  10125. description: 最后对账时间
  10126. type: string
  10127. lastclearstatus:
  10128. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10129. type: integer
  10130. lastcleartime:
  10131. description: 最后清算时间
  10132. type: string
  10133. lastsignintime:
  10134. description: 最后签到时间
  10135. type: string
  10136. lastsignouttime:
  10137. description: 最后签退时间
  10138. type: string
  10139. riskinfo:
  10140. description: 签约风险提示书
  10141. type: string
  10142. signstatus:
  10143. description: 当前签到/签退状态 - 1:签到 2:签退
  10144. type: integer
  10145. tradedate:
  10146. description: 交易日(yyyyMMdd)
  10147. type: string
  10148. updatetime:
  10149. description: 当前签到/签退更新时间
  10150. type: string
  10151. type: object
  10152. models.QhjCustomer:
  10153. properties:
  10154. address:
  10155. description: 通讯地址
  10156. type: string
  10157. attachment1:
  10158. description: 附件1
  10159. type: string
  10160. audittime:
  10161. description: 审核时间
  10162. type: string
  10163. cardbackphotourl:
  10164. description: 证件反面图片地址
  10165. type: string
  10166. cardfrontphotourl:
  10167. description: 证件正面图片地址
  10168. type: string
  10169. cardnum:
  10170. description: 证件号码
  10171. type: string
  10172. cardtype:
  10173. description: 证件类型
  10174. type: integer
  10175. cardtypename:
  10176. description: 证件类型名称
  10177. type: string
  10178. cityid:
  10179. description: 市
  10180. type: integer
  10181. cityname:
  10182. description: 城市名称
  10183. type: string
  10184. contactname:
  10185. description: 联系人
  10186. type: string
  10187. countryid:
  10188. description: 国家
  10189. type: integer
  10190. countryname:
  10191. description: 国家名称
  10192. type: string
  10193. createtime:
  10194. description: 创建时间
  10195. type: string
  10196. customername:
  10197. description: 客户名称
  10198. type: string
  10199. districtid:
  10200. description: 区域
  10201. type: integer
  10202. districtname:
  10203. description: 地区名称
  10204. type: string
  10205. email:
  10206. description: 邮件
  10207. type: string
  10208. legalpersonname:
  10209. description: 法人姓名(企业)
  10210. type: string
  10211. logincode:
  10212. description: 登录账号(代码)
  10213. type: string
  10214. memberuserid:
  10215. description: 所属机构ID(所属会员)
  10216. type: integer
  10217. memberusername:
  10218. description: 所属会员名称
  10219. type: string
  10220. mobile:
  10221. description: 手机号码
  10222. type: string
  10223. modifytime:
  10224. description: 修改时间
  10225. type: string
  10226. nickname:
  10227. description: 昵称
  10228. type: string
  10229. parentuserid:
  10230. description: 上级机构(所属机构)
  10231. type: integer
  10232. parentusername:
  10233. description: 所属机构名称
  10234. type: string
  10235. provinceid:
  10236. description: 省
  10237. type: integer
  10238. provincename:
  10239. description: 省名称
  10240. type: string
  10241. proxystatementurl:
  10242. description: 授权委托书
  10243. type: string
  10244. remark:
  10245. description: 备注
  10246. type: string
  10247. status:
  10248. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10249. type: integer
  10250. statusdesc:
  10251. description: 账户状态中文描述
  10252. type: string
  10253. taxpayernum:
  10254. description: 纳税人识别号
  10255. type: string
  10256. telphone:
  10257. description: 联系电话
  10258. type: string
  10259. userid:
  10260. description: 用户ID
  10261. type: integer
  10262. userinfotype:
  10263. description: 客户类型 1-个人 2-企业
  10264. type: integer
  10265. username:
  10266. description: 用户名称
  10267. type: string
  10268. type: object
  10269. models.QhjCustomerSignLog:
  10270. properties:
  10271. agreementcontent:
  10272. description: 协议内容
  10273. type: string
  10274. agreementid:
  10275. description: 协议ID
  10276. type: integer
  10277. agreementname:
  10278. description: 协议名称
  10279. type: string
  10280. agreementno:
  10281. description: 协议编号
  10282. type: string
  10283. agreementtype:
  10284. description: 协议类型 - 1:注册 2:登录 3:交易
  10285. type: integer
  10286. agreementversion:
  10287. description: 协议版本号
  10288. type: integer
  10289. createtime:
  10290. description: 创建时间
  10291. type: string
  10292. goodscode:
  10293. description: 商品代码
  10294. type: string
  10295. goodsid:
  10296. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10297. type: integer
  10298. goodsname:
  10299. description: 商品名称
  10300. type: string
  10301. logid:
  10302. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10303. type: integer
  10304. nodetype:
  10305. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10306. type: integer
  10307. signadressurl:
  10308. description: 签约文件地址
  10309. type: string
  10310. signtimestamp:
  10311. description: 签约状态时间戳
  10312. type: string
  10313. userid:
  10314. description: 客户ID
  10315. type: integer
  10316. username:
  10317. description: 客户名称
  10318. type: string
  10319. type: object
  10320. models.QhjCustomerSignStatus:
  10321. properties:
  10322. createtime:
  10323. description: 创建时间
  10324. type: string
  10325. goodscode:
  10326. description: 商品代码
  10327. type: string
  10328. goodsid:
  10329. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10330. type: integer
  10331. goodsname:
  10332. description: 商品名称
  10333. type: string
  10334. nodetype:
  10335. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10336. type: integer
  10337. signtimestamp:
  10338. description: 签约状态时间戳
  10339. type: string
  10340. tradedate:
  10341. description: 创建交易日(yyyyMMdd)
  10342. type: string
  10343. updatetime:
  10344. description: 更新时间
  10345. type: string
  10346. userid:
  10347. description: 客户ID
  10348. type: integer
  10349. username:
  10350. description: 客户名称
  10351. type: string
  10352. type: object
  10353. models.QhjMgrAccountOutInApply:
  10354. properties:
  10355. accountcode:
  10356. description: 资金账号
  10357. type: string
  10358. accountname:
  10359. description: 用户名称(名称)
  10360. type: string
  10361. accountpwd:
  10362. description: 资金密码
  10363. type: string
  10364. accountticket:
  10365. description: 最新账户服务流水号
  10366. type: string
  10367. amount:
  10368. description: 金额
  10369. type: number
  10370. applyremark:
  10371. description: 申请备注
  10372. type: string
  10373. applystatus:
  10374. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10375. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10376. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10377. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10378. type: integer
  10379. auditid:
  10380. description: 审核人
  10381. type: integer
  10382. audittime:
  10383. description: 审核时间
  10384. type: string
  10385. bank_apply_ticket:
  10386. description: 银行申请流水
  10387. type: string
  10388. bankaccountname:
  10389. description: 银行账户名
  10390. type: string
  10391. bankaccountno:
  10392. description: 银行卡号
  10393. type: string
  10394. bankid:
  10395. description: 银行编号
  10396. type: string
  10397. bankname:
  10398. description: 银行名称
  10399. type: string
  10400. bankticket:
  10401. description: 银行流水
  10402. type: string
  10403. branchbankid:
  10404. description: 银行支行号
  10405. type: string
  10406. branchbankname:
  10407. description: 银行支行名称
  10408. type: string
  10409. capamountout:
  10410. description: 出金(劣后本金) - 外部子账户
  10411. type: number
  10412. certificatephotourl:
  10413. description: 凭证地址
  10414. type: string
  10415. charge:
  10416. description: 手续费
  10417. type: number
  10418. checkerrorflag:
  10419. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10420. type: integer
  10421. currency:
  10422. description: 币种
  10423. type: string
  10424. cusbankid:
  10425. description: 托管银行编号
  10426. type: string
  10427. exchticket:
  10428. description: 银行服务流水号
  10429. type: string
  10430. executetype:
  10431. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10432. 7:外部子账户:入金 8:外部子账户:出金'
  10433. type: integer
  10434. extendinfo:
  10435. description: 扩展信息
  10436. type: string
  10437. extoperateid:
  10438. description: 交易服务流水号
  10439. type: integer
  10440. infamount:
  10441. description: 劣后金额(自有)
  10442. type: number
  10443. logincode:
  10444. description: 登录账号(账号)
  10445. type: string
  10446. netaddr:
  10447. description: 调转网址
  10448. type: string
  10449. priamount:
  10450. description: 优先金额(授信)
  10451. type: number
  10452. reauditid:
  10453. description: 复审人
  10454. type: integer
  10455. reauditremark:
  10456. description: 复审备注
  10457. type: string
  10458. reaudittime:
  10459. description: 复审时间
  10460. type: string
  10461. relatedorderid:
  10462. description: 三方关联ID
  10463. type: string
  10464. remark:
  10465. description: 备注
  10466. type: string
  10467. remark2:
  10468. description: 备注(失败原因)
  10469. type: string
  10470. soucreamount:
  10471. description: 原始出入金金额
  10472. type: number
  10473. soucrecurrencyid:
  10474. description: 原始出入金币种
  10475. type: integer
  10476. tradedate:
  10477. description: 交易日(yyyyMMdd)
  10478. type: string
  10479. updatetime:
  10480. description: 更新时间(申请时间)
  10481. type: string
  10482. userid:
  10483. description: 用户id
  10484. type: integer
  10485. userinfotype:
  10486. description: 账户类型 1-个人 2-企业
  10487. type: integer
  10488. type: object
  10489. models.QhjMgrBrokerApply:
  10490. properties:
  10491. applicantid:
  10492. description: 申请人
  10493. type: integer
  10494. applysrc:
  10495. description: 申请来源 - 1:管理端 2:终端
  10496. type: integer
  10497. applystatus:
  10498. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10499. type: integer
  10500. applytime:
  10501. description: 申请时间
  10502. type: string
  10503. auditorid:
  10504. description: 审核人
  10505. type: integer
  10506. auditremark:
  10507. description: 审核备注
  10508. type: string
  10509. auditsrc:
  10510. description: 审核来源 - 1:管理端 2:终端
  10511. type: integer
  10512. audittime:
  10513. description: 审核时间
  10514. type: string
  10515. audittradedate:
  10516. description: 审核交易日(yyyyMMdd)
  10517. type: string
  10518. brokerapplyid:
  10519. description: 申请ID(SEQ_BROKERAPPLY)
  10520. type: integer
  10521. cardbackphotourl:
  10522. description: 证件背面图片地址
  10523. type: string
  10524. cardfrontphotourl:
  10525. description: 证件正面图片地址
  10526. type: string
  10527. cardnum:
  10528. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10529. type: string
  10530. customername:
  10531. description: 姓名
  10532. type: string
  10533. filterstatus:
  10534. description: 筛选条件
  10535. type: string
  10536. logincode:
  10537. description: 登录代码
  10538. type: string
  10539. mobile:
  10540. description: 手机号码
  10541. type: string
  10542. parentuserid:
  10543. description: 所属机构id
  10544. type: integer
  10545. parentusername:
  10546. description: 所属机构名称
  10547. type: string
  10548. refereeuserid:
  10549. description: 推荐人id(经纪人)
  10550. type: integer
  10551. refernum:
  10552. description: 推荐码
  10553. type: string
  10554. remark:
  10555. description: 备注
  10556. type: string
  10557. subarealevelpath:
  10558. description: 层级路径
  10559. type: string
  10560. tradedate:
  10561. description: 交易日(yyyyMMdd)
  10562. type: string
  10563. userid:
  10564. description: 申请人用户ID
  10565. type: integer
  10566. userinfotype:
  10567. description: 用户类型 1-个人 2-企业
  10568. type: integer
  10569. username:
  10570. description: 用户名称
  10571. type: string
  10572. type: object
  10573. models.QhjMgrBrokerRewardReport:
  10574. properties:
  10575. createtime:
  10576. description: 创建时间(注册时间)
  10577. type: string
  10578. cycletime:
  10579. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10580. type: string
  10581. cycletype:
  10582. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10583. type: integer
  10584. directtotalnum:
  10585. description: 直推总人数【期末】
  10586. type: integer
  10587. indirecttotalnum:
  10588. description: 间推总人数【期末】
  10589. type: integer
  10590. mobile:
  10591. description: 电话号码
  10592. type: string
  10593. refereeuserid:
  10594. description: 推荐人id(经纪人id)
  10595. type: integer
  10596. refereeusername:
  10597. description: 推荐人名称(经纪人) 上级经纪人名称
  10598. type: string
  10599. refernum:
  10600. description: 推荐码
  10601. type: string
  10602. subarealevelpath:
  10603. description: 用户层级路径
  10604. type: string
  10605. todayrewardamount:
  10606. description: 奖励总金额【汇总】
  10607. type: number
  10608. updatetime:
  10609. description: 更新时间
  10610. type: string
  10611. userid:
  10612. description: 经纪人用户ID
  10613. type: integer
  10614. userinfotype:
  10615. description: 用户类型 1-个人 2-企业
  10616. type: integer
  10617. username:
  10618. description: 用户名称
  10619. type: string
  10620. type: object
  10621. models.QhjMgrContract:
  10622. properties:
  10623. contractconfirmtime:
  10624. description: 合同确认时间(时间)
  10625. type: string
  10626. currisklevel:
  10627. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10628. type: integer
  10629. decimalplace:
  10630. description: 商品报价小数位
  10631. type: integer
  10632. enumdicname:
  10633. description: 单位名称
  10634. type: string
  10635. goodscode:
  10636. description: 商品代码
  10637. type: string
  10638. goodsid:
  10639. description: 商品ID [5:融资单]
  10640. type: integer
  10641. goodsname:
  10642. description: 商品名称
  10643. type: string
  10644. goodunitid:
  10645. description: 商品单位id
  10646. type: integer
  10647. initmargin:
  10648. description: 初始保证金(首付款)
  10649. type: number
  10650. lenderamount:
  10651. description: 贷款金额(总额|订单总额)
  10652. type: number
  10653. logincode:
  10654. description: 账号(登录代码)
  10655. type: string
  10656. marginratio:
  10657. description: 保证金比率(首付比例)
  10658. type: number
  10659. mobile:
  10660. description: 电话号码(用户资料里的电话)
  10661. type: string
  10662. payamount:
  10663. description: 已付(已付货款)
  10664. type: number
  10665. reckonrecovermargin:
  10666. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10667. type: number
  10668. recoveredmargin:
  10669. description: 已追缴保证金
  10670. type: number
  10671. remainamount:
  10672. description: 合同剩余金额(融资额)
  10673. type: number
  10674. scfcontractid:
  10675. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10676. type: string
  10677. scfcontractstatus:
  10678. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10679. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10680. type: integer
  10681. scfcontracttype:
  10682. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10683. type: integer
  10684. totalinterest:
  10685. description: 已计总利息(利息)
  10686. type: number
  10687. tradedate:
  10688. description: 交易日
  10689. type: string
  10690. tradeprice:
  10691. description: 成交价格(成本价格)
  10692. type: number
  10693. userid:
  10694. description: 用户ID
  10695. type: integer
  10696. userinfotype:
  10697. description: 用户类型 1-个人 2-企业
  10698. type: integer
  10699. username:
  10700. description: 用户名称
  10701. type: string
  10702. wrqty:
  10703. description: 仓单数量(数量)
  10704. type: number
  10705. type: object
  10706. models.QhjMgrCustomer:
  10707. properties:
  10708. address:
  10709. description: 通讯地址
  10710. type: string
  10711. attachment1:
  10712. description: 附件1
  10713. type: string
  10714. audittime:
  10715. description: 审核时间
  10716. type: string
  10717. cardbackphotourl:
  10718. description: 证件反面图片地址
  10719. type: string
  10720. cardfrontphotourl:
  10721. description: 证件正面图片地址
  10722. type: string
  10723. cardnum:
  10724. description: 证件号码
  10725. type: string
  10726. cardtype:
  10727. description: 证件类型
  10728. type: integer
  10729. cardtypename:
  10730. description: 证件类型名称
  10731. type: string
  10732. cityid:
  10733. description: 市
  10734. type: integer
  10735. cityname:
  10736. description: 城市名称
  10737. type: string
  10738. contactname:
  10739. description: 联系人
  10740. type: string
  10741. countryid:
  10742. description: 国家
  10743. type: integer
  10744. countryname:
  10745. description: 国家名称
  10746. type: string
  10747. createtime:
  10748. description: 创建时间
  10749. type: string
  10750. customername:
  10751. description: 客户名称
  10752. type: string
  10753. districtid:
  10754. description: 区域
  10755. type: integer
  10756. districtname:
  10757. description: 地区名称
  10758. type: string
  10759. email:
  10760. description: 邮件
  10761. type: string
  10762. legalpersonname:
  10763. description: 法人姓名(企业)
  10764. type: string
  10765. logincode:
  10766. description: 登录账号(代码)
  10767. type: string
  10768. memberuserid:
  10769. description: 所属机构ID(所属会员)
  10770. type: integer
  10771. memberusername:
  10772. description: 所属会员名称
  10773. type: string
  10774. mobile:
  10775. description: 手机号码
  10776. type: string
  10777. modifytime:
  10778. description: 修改时间
  10779. type: string
  10780. nickname:
  10781. description: 昵称
  10782. type: string
  10783. parentuserid:
  10784. description: 上级机构(所属机构)
  10785. type: integer
  10786. parentusername:
  10787. description: 所属机构名称
  10788. type: string
  10789. provinceid:
  10790. description: 省
  10791. type: integer
  10792. provincename:
  10793. description: 省名称
  10794. type: string
  10795. proxystatementurl:
  10796. description: 授权委托书
  10797. type: string
  10798. querytype:
  10799. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10800. type: integer
  10801. remark:
  10802. description: 备注
  10803. type: string
  10804. status:
  10805. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10806. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10807. type: integer
  10808. statusdesc:
  10809. description: 账户状态中文描述
  10810. type: string
  10811. taxpayernum:
  10812. description: 纳税人识别号
  10813. type: string
  10814. telphone:
  10815. description: 联系电话
  10816. type: string
  10817. userid:
  10818. description: 用户ID
  10819. type: integer
  10820. userinfotype:
  10821. description: 客户类型 1-个人 2-企业
  10822. type: integer
  10823. username:
  10824. description: 用户名称
  10825. type: string
  10826. type: object
  10827. models.QhjMgrPickGoods:
  10828. properties:
  10829. enumdicname:
  10830. description: 单位名称(提货商品)
  10831. type: string
  10832. goodsid:
  10833. description: 商品id
  10834. type: integer
  10835. imageaddress:
  10836. description: 图片
  10837. type: string
  10838. modifierid:
  10839. description: 修改人
  10840. type: integer
  10841. modifiername:
  10842. description: 修改人名称
  10843. type: string
  10844. modifysrc:
  10845. description: 修改来源 - 1:管理端 2:终端
  10846. type: integer
  10847. pickupgoodsagreeunit:
  10848. description: 合约乘数
  10849. type: number
  10850. pickupgoodsdesc:
  10851. description: 描述
  10852. type: string
  10853. pickupgoodsid:
  10854. description: 提货商品ID
  10855. type: string
  10856. pickupgoodsname:
  10857. description: 提货商品名称
  10858. type: string
  10859. pickupgoodsstatus:
  10860. description: 状态 - 1:正常 2:停用 3:注销
  10861. type: integer
  10862. pickupgoodsunitid:
  10863. description: 单位ID
  10864. type: integer
  10865. pickupratio:
  10866. description: 提货系数
  10867. type: number
  10868. preparedays:
  10869. description: 备货期(天)
  10870. type: integer
  10871. remark:
  10872. description: 备注
  10873. type: string
  10874. updatetime:
  10875. description: 更新时间
  10876. type: string
  10877. type: object
  10878. models.QhjMgrPositionRsp:
  10879. properties:
  10880. accountid:
  10881. description: 账号Id
  10882. type: integer
  10883. accountname:
  10884. description: 用户名称
  10885. type: string
  10886. agreeunit:
  10887. description: 合约乘数
  10888. type: number
  10889. averageprice:
  10890. description: 均价
  10891. type: number
  10892. avialqty:
  10893. description: 可用数量
  10894. type: number
  10895. decimalplace:
  10896. description: 报价小数位
  10897. type: integer
  10898. enumdicname:
  10899. description: 单位名称(商品)
  10900. type: string
  10901. frozenqty:
  10902. description: 冻结数量
  10903. type: number
  10904. goodscode:
  10905. description: 商品代码(内部)
  10906. type: string
  10907. goodsid:
  10908. description: 商品Id
  10909. type: integer
  10910. goodsname:
  10911. description: 商品名称
  10912. type: string
  10913. goodunitid:
  10914. description: 报价单位ID
  10915. type: integer
  10916. holderamount:
  10917. description: 金额
  10918. type: number
  10919. holderqty:
  10920. description: 持有数量
  10921. type: number
  10922. holdertype:
  10923. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10924. type: integer
  10925. logincode:
  10926. description: 登录代码(账户)
  10927. type: string
  10928. marketid:
  10929. description: 市场id
  10930. type: integer
  10931. qtydecimalplace:
  10932. description: 成交量小数位
  10933. type: integer
  10934. trademode:
  10935. description: 交易模式
  10936. type: integer
  10937. userid:
  10938. description: 用户id
  10939. type: integer
  10940. userinfotype:
  10941. description: 账户类型 1-个人 2-企业
  10942. type: integer
  10943. type: object
  10944. models.QhjMgrSubArea:
  10945. properties:
  10946. accountname:
  10947. description: 账户名称(机构名称)
  10948. type: string
  10949. memberuserid:
  10950. description: 所属会员ID
  10951. type: integer
  10952. parenttopuser:
  10953. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10954. type: string
  10955. parentuserid:
  10956. description: 所属机构ID
  10957. type: integer
  10958. rootuserid:
  10959. description: 根用户ID
  10960. type: string
  10961. subaccountlevel:
  10962. description: 子账户层数
  10963. type: integer
  10964. subarealevelpath:
  10965. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10966. type: string
  10967. userid:
  10968. description: 用户ID
  10969. type: integer
  10970. usertype:
  10971. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10972. type: integer
  10973. type: object
  10974. models.QhjMgrTradeDetailRsp:
  10975. properties:
  10976. accountid:
  10977. description: 资金账号
  10978. type: integer
  10979. accountname:
  10980. description: 用户名称
  10981. type: string
  10982. agreeunit:
  10983. description: 合约乘数
  10984. type: number
  10985. buyorsell:
  10986. description: 成交类型(方向) 0:买 1:卖
  10987. type: integer
  10988. decimalplace:
  10989. description: 报价小数位
  10990. type: integer
  10991. enumdicname:
  10992. description: 单位名称(商品)
  10993. type: string
  10994. goodscode:
  10995. description: 商品代码(内部)
  10996. type: string
  10997. goodsid:
  10998. description: 商品id
  10999. type: integer
  11000. goodsname:
  11001. description: 商品名称
  11002. type: string
  11003. goodunitid:
  11004. description: 报价单位ID
  11005. type: integer
  11006. logincode:
  11007. description: 登录代码(账户)
  11008. type: string
  11009. marketid:
  11010. description: 市场id
  11011. type: integer
  11012. orderid:
  11013. description: 关联委托单号
  11014. type: string
  11015. qtydecimalplace:
  11016. description: 成交量小数位
  11017. type: integer
  11018. tradeamount:
  11019. description: 金额
  11020. type: number
  11021. tradedate:
  11022. description: 交易日
  11023. type: string
  11024. tradeid:
  11025. description: 成交单号
  11026. type: string
  11027. trademode:
  11028. description: 交易模式
  11029. type: integer
  11030. tradeprice:
  11031. description: 价格
  11032. type: number
  11033. tradeqty:
  11034. description: 数量
  11035. type: number
  11036. tradetime:
  11037. description: 成交时间
  11038. type: string
  11039. userid:
  11040. description: 用户id
  11041. type: integer
  11042. userinfotype:
  11043. description: 账户类型 1-个人 2-企业
  11044. type: integer
  11045. type: object
  11046. models.QhjMgrTradeOrderDetailRsp:
  11047. properties:
  11048. accountid:
  11049. description: 资金账号
  11050. type: integer
  11051. accountname:
  11052. description: 用户名称
  11053. type: string
  11054. agreeunit:
  11055. description: 合约乘数
  11056. type: number
  11057. amount:
  11058. description: 金额
  11059. type: number
  11060. decimalplace:
  11061. description: 报价小数位
  11062. type: integer
  11063. enumdicname:
  11064. description: 单位名称(商品)
  11065. type: string
  11066. goodscode:
  11067. description: 商品代码(内部)
  11068. type: string
  11069. goodsid:
  11070. description: 商品id
  11071. type: integer
  11072. goodsname:
  11073. description: 商品名称
  11074. type: string
  11075. goodunitid:
  11076. description: 报价单位ID
  11077. type: integer
  11078. logincode:
  11079. description: 登录代码(账户)
  11080. type: string
  11081. marketid:
  11082. description: 市场id
  11083. type: integer
  11084. orderid:
  11085. description: 关联委托单号
  11086. type: string
  11087. orderprice:
  11088. description: 价格
  11089. type: number
  11090. orderqty:
  11091. description: 数量
  11092. type: number
  11093. orderstatus:
  11094. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11095. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11096. 16:成交失败违约(荷兰式竞拍专用)
  11097. type: integer
  11098. ordertime:
  11099. description: 委托时间
  11100. type: string
  11101. qtydecimalplace:
  11102. description: 成交量小数位
  11103. type: integer
  11104. tradedate:
  11105. description: 交易日
  11106. type: string
  11107. trademode:
  11108. description: 交易模式
  11109. type: integer
  11110. userid:
  11111. description: 用户id
  11112. type: integer
  11113. userinfotype:
  11114. description: 账户类型 1-个人 2-企业
  11115. type: integer
  11116. type: object
  11117. models.QhjMgrTradePayOrder:
  11118. properties:
  11119. accountname:
  11120. description: 用户名称
  11121. type: string
  11122. advanceratio:
  11123. description: 首付比率
  11124. type: number
  11125. agreeunit:
  11126. description: 合约乘数
  11127. type: number
  11128. buyaccountid:
  11129. description: 买方账号ID[报价币种]
  11130. type: integer
  11131. buyorderid:
  11132. description: 买方委托单号(关联单号)
  11133. type: string
  11134. createtime:
  11135. description: 创建时间
  11136. type: string
  11137. decimalplace:
  11138. description: 报价小数位
  11139. type: integer
  11140. enumdicname:
  11141. description: 单位名称(商品)
  11142. type: string
  11143. goodscode:
  11144. description: 商品代码(内部)
  11145. type: string
  11146. goodsid:
  11147. description: 商品ID
  11148. type: integer
  11149. goodsname:
  11150. description: 商品名称
  11151. type: string
  11152. goodunitid:
  11153. description: 报价单位ID
  11154. type: integer
  11155. logincode:
  11156. description: 登录代码(账户)
  11157. type: string
  11158. marketid:
  11159. description: 市场id
  11160. type: integer
  11161. offamount:
  11162. description: 优惠金额
  11163. type: number
  11164. operatetype:
  11165. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11166. type: integer
  11167. payamount:
  11168. description: 支付金额(金额)
  11169. type: number
  11170. payflag:
  11171. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11172. type: integer
  11173. paylimitedtime:
  11174. description: 支付期限
  11175. type: string
  11176. paytime:
  11177. description: 付款时间
  11178. type: string
  11179. qtydecimalplace:
  11180. description: 成交量小数位
  11181. type: integer
  11182. sellaccountid:
  11183. description: 卖方账号ID[报价币种]
  11184. type: integer
  11185. sellorderid:
  11186. description: 卖方委托单号
  11187. type: string
  11188. tradeamount:
  11189. description: 成交金额(优惠后金额)
  11190. type: number
  11191. tradecharge:
  11192. description: 成交手续费(买方)
  11193. type: number
  11194. tradedate:
  11195. description: 交易日(yyyyMMdd)
  11196. type: string
  11197. tradeid:
  11198. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11199. type: string
  11200. trademode:
  11201. description: 交易模式
  11202. type: integer
  11203. tradeprice:
  11204. description: 成交价格(价格)
  11205. type: number
  11206. tradeqty:
  11207. description: 成交数量(数量)
  11208. type: number
  11209. tradetime:
  11210. description: 成交时间
  11211. type: string
  11212. userid:
  11213. description: 用户id
  11214. type: integer
  11215. userinfotype:
  11216. description: 账户类型 1-个人 2-企业
  11217. type: integer
  11218. type: object
  11219. models.QhjMyTeamEx:
  11220. properties:
  11221. accountname:
  11222. description: 用户名称
  11223. type: string
  11224. accountstatus:
  11225. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11226. type: integer
  11227. createtime:
  11228. description: 创建时间
  11229. type: string
  11230. mobile:
  11231. description: 手机号码
  11232. type: string
  11233. refereeuserid:
  11234. description: 推荐人id
  11235. type: integer
  11236. refernum:
  11237. description: 推荐码
  11238. type: string
  11239. subList:
  11240. items:
  11241. $ref: '#/definitions/models.QhjMyTeamEx'
  11242. type: array
  11243. userid:
  11244. description: 用户id
  11245. type: integer
  11246. userinfotype:
  11247. description: 用户类型 1-个人 2-企业
  11248. type: integer
  11249. type: object
  11250. models.QhjNodeAgreementConfig:
  11251. properties:
  11252. agreementcontent:
  11253. description: 协议内容
  11254. type: string
  11255. agreementid:
  11256. description: 协议ID
  11257. type: integer
  11258. agreementname:
  11259. description: 协议名称
  11260. type: string
  11261. agreementno:
  11262. description: 协议编号
  11263. type: string
  11264. agreementtype:
  11265. description: 协议类型 - 1:注册 2:登录 3:交易
  11266. type: integer
  11267. agreementversion:
  11268. description: 协议版本号
  11269. type: integer
  11270. configid:
  11271. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11272. type: integer
  11273. createtime:
  11274. description: 创建时间
  11275. type: string
  11276. goodsid:
  11277. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11278. type: integer
  11279. nodetype:
  11280. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11281. type: integer
  11282. type: object
  11283. models.QhjParentAreaList:
  11284. properties:
  11285. accountname:
  11286. description: 账户名称(机构名称)
  11287. type: string
  11288. userid:
  11289. description: 用户ID
  11290. type: integer
  11291. usertype:
  11292. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11293. type: integer
  11294. type: object
  11295. models.QhjPayOrder:
  11296. properties:
  11297. advanceratio:
  11298. description: 首付比率
  11299. type: number
  11300. buyaccountid:
  11301. description: 买方账号ID[报价币种]
  11302. type: integer
  11303. buyorderid:
  11304. description: 买方委托单号
  11305. type: string
  11306. createtime:
  11307. description: 创建时间
  11308. type: string
  11309. decimalplace:
  11310. description: 商品报价小数位
  11311. type: integer
  11312. enumdicname:
  11313. description: 单位名称
  11314. type: string
  11315. goodscode:
  11316. description: 商品代码
  11317. type: string
  11318. goodsid:
  11319. description: 商品ID
  11320. type: integer
  11321. goodsname:
  11322. description: 商品名称
  11323. type: string
  11324. goodunitid:
  11325. description: 商品单位id
  11326. type: integer
  11327. marketid:
  11328. description: 市场ID
  11329. type: integer
  11330. offamount:
  11331. description: 优惠金额
  11332. type: number
  11333. operatetype:
  11334. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11335. type: integer
  11336. payamount:
  11337. description: 支付金额
  11338. type: number
  11339. payflag:
  11340. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11341. type: integer
  11342. paylimitedtime:
  11343. description: 支付期限
  11344. type: string
  11345. paytime:
  11346. description: 付款时间
  11347. type: string
  11348. qtydecimalplace:
  11349. description: 成交量小数位
  11350. type: integer
  11351. sellaccountid:
  11352. description: 卖方账号ID[报价币种]
  11353. type: integer
  11354. sellorderid:
  11355. description: 卖方委托单号
  11356. type: string
  11357. tradeamount:
  11358. description: 成交金额(优惠后金额)
  11359. type: number
  11360. tradecharge:
  11361. description: 成交手续费(买方)
  11362. type: number
  11363. tradedate:
  11364. description: 交易日(yyyyMMdd)
  11365. type: string
  11366. tradeid:
  11367. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11368. type: string
  11369. tradeprice:
  11370. description: 成交价格
  11371. type: number
  11372. tradeqty:
  11373. description: 成交数量
  11374. type: number
  11375. type: object
  11376. models.QhjPickArea:
  11377. properties:
  11378. address:
  11379. description: 详细地址
  11380. type: string
  11381. cityid:
  11382. description: 市
  11383. type: integer
  11384. cityname:
  11385. description: 城市名称
  11386. type: string
  11387. countryid:
  11388. description: 国家
  11389. type: integer
  11390. countryname:
  11391. description: 国家名称
  11392. type: string
  11393. districtid:
  11394. description: 地区
  11395. type: integer
  11396. districtname:
  11397. description: 地区名称
  11398. type: string
  11399. fromuserid:
  11400. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11401. type: integer
  11402. fromusername:
  11403. description: 所属机构名称
  11404. type: string
  11405. provinceid:
  11406. description: 省
  11407. type: integer
  11408. provincename:
  11409. description: 省名称
  11410. type: string
  11411. suborgtype:
  11412. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11413. type: integer
  11414. userid:
  11415. description: 机构用户ID 其他做市关系,都设置为 1
  11416. type: integer
  11417. username:
  11418. description: 机构用户名称(门店门称)
  11419. type: string
  11420. type: object
  11421. models.QhjPickGoods:
  11422. properties:
  11423. enumdicname:
  11424. description: 单位名称(提货商品)
  11425. type: string
  11426. goodsid:
  11427. description: 商品id
  11428. type: integer
  11429. imageaddress:
  11430. description: 图片
  11431. type: string
  11432. modifierid:
  11433. description: 修改人
  11434. type: integer
  11435. modifiername:
  11436. description: 修改人名称
  11437. type: string
  11438. modifysrc:
  11439. description: 修改来源 - 1:管理端 2:终端
  11440. type: integer
  11441. pickupgoodsagreeunit:
  11442. description: 合约乘数
  11443. type: number
  11444. pickupgoodsdesc:
  11445. description: 描述
  11446. type: string
  11447. pickupgoodsid:
  11448. description: 提货商品ID
  11449. type: string
  11450. pickupgoodsname:
  11451. description: 提货商品名称
  11452. type: string
  11453. pickupgoodsstatus:
  11454. description: 状态 - 1:正常 2:停用 3:注销
  11455. type: integer
  11456. pickupgoodsunitid:
  11457. description: 单位ID
  11458. type: integer
  11459. pickupratio:
  11460. description: 提货系数
  11461. type: number
  11462. preparedays:
  11463. description: 备货期(天)
  11464. type: integer
  11465. remark:
  11466. description: 备注
  11467. type: string
  11468. updatetime:
  11469. description: 更新时间
  11470. type: string
  11471. type: object
  11472. models.QhjRSTriggerLog:
  11473. properties:
  11474. accountid:
  11475. description: 用户资金账户
  11476. type: integer
  11477. accountname:
  11478. description: 账号名称(ACCOUNTID对应的名称)
  11479. type: string
  11480. currencyid:
  11481. description: 币种id
  11482. type: integer
  11483. currencyname:
  11484. description: 币种名称
  11485. type: string
  11486. decimalplace:
  11487. description: 商品报价小数位
  11488. type: integer
  11489. enumdicname:
  11490. description: 单位名称
  11491. type: string
  11492. goodscode:
  11493. description: 定投商品代码
  11494. type: string
  11495. goodsid:
  11496. description: 定投商品ID
  11497. type: integer
  11498. goodsname:
  11499. description: 定投商品名称
  11500. type: string
  11501. goodunitid:
  11502. description: 定投商品单位id
  11503. type: integer
  11504. logid:
  11505. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11506. type: string
  11507. logincode:
  11508. description: 账号(登录代码)
  11509. type: string
  11510. qtydecimalplace:
  11511. description: 成交量小数位
  11512. type: integer
  11513. regularlycycle:
  11514. description: 定投频率 - 1:每周 2:每月
  11515. type: integer
  11516. regularlycyclevalue:
  11517. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11518. type: string
  11519. regularlymode:
  11520. description: 定投方式 - 1:按数量 2:按金额
  11521. type: integer
  11522. regularlymodevalue:
  11523. description: 定投方式值 - 数量或金额
  11524. type: number
  11525. regularlystrategyid:
  11526. description: 定投策略ID
  11527. type: integer
  11528. retcode:
  11529. description: 错误码
  11530. type: string
  11531. tradeid:
  11532. description: 成交单ID
  11533. type: string
  11534. triggeramount:
  11535. description: 触发金额
  11536. type: number
  11537. triggerqty:
  11538. description: 触发数量
  11539. type: number
  11540. triggerstatus:
  11541. description: 触发状态 - 1:成功 2:失败
  11542. type: integer
  11543. triggertime:
  11544. description: 触发时间
  11545. type: string
  11546. triggertradedate:
  11547. description: 触发交易日
  11548. type: string
  11549. userid:
  11550. description: 所属用户ID
  11551. type: integer
  11552. userinfotype:
  11553. description: 用户类型 1-个人 2-企业
  11554. type: integer
  11555. username:
  11556. description: 用户名称(userid对应的名称)
  11557. type: string
  11558. type: object
  11559. models.QhjRStrategy:
  11560. properties:
  11561. accountid:
  11562. description: 用户资金账户
  11563. type: integer
  11564. accountname:
  11565. description: 账号名称(ACCOUNTID对应的名称)
  11566. type: string
  11567. currencyid:
  11568. description: 币种id
  11569. type: integer
  11570. currencyname:
  11571. description: 币种名称
  11572. type: string
  11573. decimalplace:
  11574. description: 商品报价小数位
  11575. type: integer
  11576. enumdicname:
  11577. description: 单位名称
  11578. type: string
  11579. goodscode:
  11580. description: 定投商品代码
  11581. type: string
  11582. goodsid:
  11583. description: 定投商品ID
  11584. type: integer
  11585. goodsname:
  11586. description: 定投商品名称
  11587. type: string
  11588. goodunitid:
  11589. description: 定投商品单位id
  11590. type: integer
  11591. lasteffecttradedate:
  11592. description: 最新生效交易日
  11593. type: string
  11594. laststoptradedate:
  11595. description: 最新暂停交易日
  11596. type: string
  11597. lasttriggertradedate:
  11598. description: 最新触发交易日
  11599. type: string
  11600. logincode:
  11601. description: 账号(登录代码)
  11602. type: string
  11603. nexttriggeramount:
  11604. description: 下次触发金额
  11605. type: number
  11606. nexttriggerdate:
  11607. description: 下次触发日期
  11608. type: string
  11609. nexttriggerqty:
  11610. description: 下次触发数量 [按小数位放大值]
  11611. type: number
  11612. qtydecimalplace:
  11613. description: 成交量小数位
  11614. type: integer
  11615. regularlycycle:
  11616. description: 定投频率 - 1:每周 2:每月
  11617. type: integer
  11618. regularlycyclevalue:
  11619. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11620. type: string
  11621. regularlymode:
  11622. description: 定投方式 - 1:按数量 2:按金额
  11623. type: integer
  11624. regularlymodevalue:
  11625. description: 定投方式值 - 数量或金额
  11626. type: number
  11627. regularlystrategyid:
  11628. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11629. type: integer
  11630. regularlystrategystatus:
  11631. description: 策略状态 - 1:正常 2:暂停 3:终止
  11632. type: integer
  11633. remark:
  11634. description: 备注
  11635. type: string
  11636. triggersuccesstimes:
  11637. description: 累计定投成功次数
  11638. type: string
  11639. triggertotalamount:
  11640. description: 累计定投金额(成功)
  11641. type: number
  11642. triggertotalqty:
  11643. description: 累计定投数量(成功) [按小数位放大值]
  11644. type: number
  11645. triggertotaltimes:
  11646. description: 累计定投总次数
  11647. type: string
  11648. updatesrc:
  11649. description: 更新来源 - 1:管理端 2:终端
  11650. type: integer
  11651. updatetime:
  11652. description: 更新时间
  11653. type: string
  11654. updatorid:
  11655. description: 更新人
  11656. type: string
  11657. userid:
  11658. description: 所属用户ID
  11659. type: integer
  11660. userinfotype:
  11661. description: 用户类型 1-个人 2-企业
  11662. type: integer
  11663. username:
  11664. description: 用户名称(userid对应的名称)
  11665. type: string
  11666. type: object
  11667. models.QhjReckonPriceLog:
  11668. properties:
  11669. decimalplace:
  11670. description: 商品报价小数位
  11671. type: integer
  11672. goodscode:
  11673. description: 商品代码
  11674. type: string
  11675. goodsid:
  11676. description: 商品ID
  11677. type: integer
  11678. goodsname:
  11679. description: 商品名称
  11680. type: string
  11681. lastreckonprice:
  11682. description: 上日结算价
  11683. type: number
  11684. nextdnlimitprice:
  11685. description: 下个交易日跌停价
  11686. type: number
  11687. nexttrade:
  11688. description: 下个交易日
  11689. type: string
  11690. nextuplimitprice:
  11691. description: 下个交易日涨停价
  11692. type: number
  11693. reckonprice:
  11694. description: 今日结算价(定投价)
  11695. type: number
  11696. reckontime:
  11697. description: 结算时间
  11698. type: string
  11699. totalholderqty:
  11700. description: 总持仓数
  11701. type: integer
  11702. totalstock:
  11703. description: 总库存
  11704. type: integer
  11705. tradedate:
  11706. description: 交易日
  11707. type: string
  11708. updowncount:
  11709. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11710. type: integer
  11711. updownflag:
  11712. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11713. type: integer
  11714. updownrate:
  11715. description: 今日涨跌幅
  11716. type: number
  11717. updownrate_2d:
  11718. description: 连续两日涨跌幅
  11719. type: number
  11720. updownrate_3d:
  11721. description: 连续三日涨跌幅
  11722. type: number
  11723. type: object
  11724. models.QhjScoreLog:
  11725. properties:
  11726. accountid:
  11727. description: 账户ID
  11728. type: integer
  11729. createtime:
  11730. description: 创建时间(时间)
  11731. type: string
  11732. goodsid:
  11733. description: 商品ID
  11734. type: integer
  11735. hasuploaded:
  11736. description: 是否已同步(千海金) 0:未同步 1;已同步
  11737. type: integer
  11738. logid:
  11739. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11740. type: string
  11741. marketid:
  11742. description: 市场ID
  11743. type: integer
  11744. relatedamount:
  11745. description: 关联金额
  11746. type: number
  11747. relatedorderid:
  11748. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11749. type: string
  11750. scoreconfigvalue1:
  11751. description: 积分配置1
  11752. type: integer
  11753. scoreconfigvalue2:
  11754. description: 积分配置1
  11755. type: integer
  11756. scoretype:
  11757. description: 积分类型 - 1:提货积分
  11758. type: integer
  11759. scorevalue:
  11760. description: 积分
  11761. type: number
  11762. tradedate:
  11763. description: 交易日(yyyyMMdd)
  11764. type: string
  11765. uploadedtime:
  11766. description: 同步时间
  11767. type: string
  11768. userid:
  11769. description: 用户ID
  11770. type: integer
  11771. type: object
  11772. models.QhjSiteColumnDetail:
  11773. properties:
  11774. author:
  11775. description: 作者
  11776. type: string
  11777. brief:
  11778. description: 简介
  11779. type: string
  11780. columnid:
  11781. description: 所属栏目
  11782. type: integer
  11783. context:
  11784. description: 内容
  11785. type: string
  11786. coverimage:
  11787. description: 封面图片
  11788. type: string
  11789. creaedate:
  11790. description: 创建时间
  11791. type: string
  11792. creatorid:
  11793. description: 创建人
  11794. type: integer
  11795. hits:
  11796. description: 点击数
  11797. type: integer
  11798. id:
  11799. description: ID(SEQ_SITE_COLUMNDETAIL)
  11800. type: integer
  11801. isshow:
  11802. description: 是否展示 - 0:不展示 1:展示
  11803. type: integer
  11804. istop:
  11805. description: 是否置顶 - 0:不置 1:置顶
  11806. type: integer
  11807. modifierid:
  11808. description: 操作人
  11809. type: integer
  11810. publishdate:
  11811. description: 发布日期
  11812. type: string
  11813. status:
  11814. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11815. type: integer
  11816. title:
  11817. description: 标题
  11818. type: string
  11819. updatedate:
  11820. description: 修改时间
  11821. type: string
  11822. userid:
  11823. description: 用户ID(默认为0, 核心为为机构用户ID)
  11824. type: integer
  11825. username:
  11826. description: 用户名称
  11827. type: string
  11828. type: object
  11829. models.QhjTeamOrder:
  11830. properties:
  11831. accountid:
  11832. description: 账户ID[报价币种]
  11833. type: integer
  11834. accountname:
  11835. description: 账户名称
  11836. type: string
  11837. agreeunit:
  11838. description: 合约乘数
  11839. type: number
  11840. buyorsell:
  11841. description: 方向 - 0:买 1:卖
  11842. type: integer
  11843. decimalplace:
  11844. description: 报价小数位
  11845. type: integer
  11846. enumdicname:
  11847. description: 单位名称
  11848. type: string
  11849. goodscode:
  11850. description: 商品代码(内部)
  11851. type: string
  11852. goodsid:
  11853. description: 商品ID
  11854. type: integer
  11855. goodsname:
  11856. description: 商品名称
  11857. type: string
  11858. goodunitid:
  11859. description: 报价单位ID
  11860. type: integer
  11861. marketid:
  11862. description: 市场ID
  11863. type: integer
  11864. marketname:
  11865. description: 市场名称
  11866. type: string
  11867. qtydecimalplace:
  11868. description: 成交量小数位
  11869. type: integer
  11870. refereeuserid:
  11871. description: 推荐人ID
  11872. type: integer
  11873. tradeamount:
  11874. description: 成交金额[账户币种,用于所有权]
  11875. type: number
  11876. tradedate:
  11877. description: 交易日(yyyyMMdd)
  11878. type: string
  11879. trademode:
  11880. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11881. 21:竞拍-大宗式 22:受托竞价
  11882. type: integer
  11883. tradeprice:
  11884. description: 成交价格
  11885. type: number
  11886. tradeqty:
  11887. description: 成交数量
  11888. type: number
  11889. tradetime:
  11890. description: 成交时间
  11891. type: string
  11892. userid:
  11893. description: 用户ID
  11894. type: integer
  11895. type: object
  11896. models.QhjTradeGoodsPickup:
  11897. properties:
  11898. accountid:
  11899. description: 账户ID
  11900. type: integer
  11901. address:
  11902. description: 提货人详细地址
  11903. type: string
  11904. amount:
  11905. description: 提货金额
  11906. type: number
  11907. artradedate:
  11908. description: 自动收货交易日(yyyyMMdd)
  11909. type: string
  11910. auditer:
  11911. description: 审核人
  11912. type: integer
  11913. auditsrc:
  11914. description: 更新来源 - 1:管理端 2:终端
  11915. type: integer
  11916. audittime:
  11917. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11918. type: string
  11919. audittradedate:
  11920. description: 审核交易日(yyyyMMdd)
  11921. type: string
  11922. cardnum:
  11923. description: 提货人证件号码
  11924. type: string
  11925. cardtypeid:
  11926. description: 提货人证件类型
  11927. type: integer
  11928. checkremark:
  11929. description: 审核备注
  11930. type: string
  11931. cityid:
  11932. description: 市
  11933. type: integer
  11934. cityname:
  11935. description: 城市名称
  11936. type: string
  11937. confirmtime:
  11938. description: 取货时间 或 收货时间
  11939. type: string
  11940. countryid:
  11941. description: 国家
  11942. type: integer
  11943. countryname:
  11944. description: 国家名称
  11945. type: string
  11946. decimalplace:
  11947. description: 商品报价小数位
  11948. type: integer
  11949. districtid:
  11950. description: 地区
  11951. type: integer
  11952. districtname:
  11953. description: 地区名称
  11954. type: string
  11955. enumdicname:
  11956. description: 单位名称(提货商品)
  11957. type: string
  11958. expresscompany:
  11959. description: 物流公司
  11960. type: string
  11961. expressnum:
  11962. description: 物流单号
  11963. type: string
  11964. goodsagreeunit:
  11965. description: 交易商品乘数
  11966. type: number
  11967. goodscode:
  11968. description: 商品代码
  11969. type: string
  11970. goodsid:
  11971. description: 商品ID
  11972. type: integer
  11973. goodsname:
  11974. description: 商品名称
  11975. type: string
  11976. goodsqty:
  11977. description: 交易商品手数(69模式按成交量小数位放大取整)
  11978. type: number
  11979. handlestatus:
  11980. description: 处理状态
  11981. type: integer
  11982. logincode:
  11983. description: 账号(登录代码, 有可能为空)
  11984. type: string
  11985. marketid:
  11986. description: 市场ID
  11987. type: integer
  11988. phonenum:
  11989. description: 提货人联系方式
  11990. type: string
  11991. pickupgoodsagreeunit:
  11992. description: 提货商品合约乘数
  11993. type: number
  11994. pickupgoodsid:
  11995. description: 提货商品ID
  11996. type: string
  11997. pickupgoodsname:
  11998. description: 提货商品名称
  11999. type: string
  12000. pickupgoodsqty:
  12001. description: 提货商品手数(数量)
  12002. type: number
  12003. pickupgoodsunitid:
  12004. description: 单位ID(提货商品)
  12005. type: integer
  12006. pickupratio:
  12007. description: 提货系数
  12008. type: number
  12009. preparedays:
  12010. description: 备货期(天)-提货单明细表
  12011. type: integer
  12012. provinceid:
  12013. description: 省
  12014. type: integer
  12015. provincename:
  12016. description: 省名称
  12017. type: string
  12018. qty:
  12019. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12020. type: number
  12021. qtydecimalplace:
  12022. description: 商品数量小数位
  12023. type: integer
  12024. recivername:
  12025. description: 提货人姓名
  12026. type: string
  12027. reqtime:
  12028. description: 提货申请时间
  12029. type: string
  12030. storeuserid:
  12031. description: 门店用户ID (千海金)
  12032. type: integer
  12033. storeusername:
  12034. description: 门店用户名称
  12035. type: string
  12036. takemode:
  12037. description: 提货方式 - 2:自提 3:配送(邮寄)
  12038. type: integer
  12039. takeorderid:
  12040. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12041. type: string
  12042. takeorderstatus:
  12043. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12044. 7:已拒绝 8:已撤销
  12045. type: integer
  12046. takeremark:
  12047. description: 提货备注
  12048. type: string
  12049. tradedate:
  12050. description: 交易日(yyyyMMdd)
  12051. type: string
  12052. updatetime:
  12053. description: 更新时间
  12054. type: string
  12055. userid:
  12056. description: 用户ID
  12057. type: integer
  12058. userinfotype:
  12059. description: 客户类型 1-个人 2-企业
  12060. type: integer
  12061. username:
  12062. description: 用户名称
  12063. type: string
  12064. type: object
  12065. models.QhjUserNodeCfgAndStatus:
  12066. properties:
  12067. agreementcontent:
  12068. description: 协议内容
  12069. type: string
  12070. agreementid:
  12071. description: 协议ID
  12072. type: integer
  12073. agreementname:
  12074. description: 协议名称
  12075. type: string
  12076. agreementno:
  12077. description: 协议编号
  12078. type: string
  12079. agreementtype:
  12080. description: 协议类型 - 1:注册 2:登录 3:交易
  12081. type: integer
  12082. agreementversion:
  12083. description: 协议版本号
  12084. type: integer
  12085. configid:
  12086. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12087. type: integer
  12088. createtime:
  12089. description: 创建时间
  12090. type: string
  12091. goodsid:
  12092. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12093. type: integer
  12094. nodetype:
  12095. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12096. type: integer
  12097. signtimestamp:
  12098. description: 签约状态时间戳(最近一次)
  12099. type: string
  12100. tradedate:
  12101. description: 签约交易日(yyyyMMdd)
  12102. type: string
  12103. userid:
  12104. description: 客户ID
  12105. type: integer
  12106. type: object
  12107. models.Qhjgoodsex:
  12108. properties:
  12109. canfinance:
  12110. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12111. type: integer
  12112. canregularlybuy:
  12113. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12114. type: integer
  12115. defaulttradeuserid:
  12116. description: 默认交易用户ID
  12117. type: integer
  12118. deliverygoodsid:
  12119. description: 现货品种ID
  12120. type: integer
  12121. goodsid:
  12122. description: 商品ID(自增ID SEQ_GOODS)
  12123. type: integer
  12124. minamount:
  12125. description: 最小购买金额
  12126. type: number
  12127. regularlybuyminamount:
  12128. description: 定投最小金额
  12129. type: number
  12130. regularlybuyminqty:
  12131. description: 定投最小数量
  12132. type: number
  12133. spotgoodsbrandid:
  12134. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12135. type: integer
  12136. visibilityforenterprise:
  12137. description: 企业客户是否可见 - 0:不可见 1:可见
  12138. type: integer
  12139. visibilityforpersonal:
  12140. description: 个人客户是否可见 - 0:不可见 1:可见
  12141. type: integer
  12142. wrstandardid:
  12143. description: 现货商品ID
  12144. type: integer
  12145. type: object
  12146. models.QueryErrorInfosRsp:
  12147. properties:
  12148. description:
  12149. description: 异常描述
  12150. type: string
  12151. errorcode:
  12152. description: 异常代码
  12153. type: string
  12154. errorid:
  12155. description: 异常ID
  12156. type: integer
  12157. modulecode:
  12158. description: 所属模块
  12159. type: string
  12160. operatecode:
  12161. description: 所属操作
  12162. type: string
  12163. rownumber:
  12164. description: 行号
  12165. type: string
  12166. required:
  12167. - errorid
  12168. type: object
  12169. models.QueryHedgeOrderDetailRsp:
  12170. properties:
  12171. accountid:
  12172. description: 账户ID
  12173. type: integer
  12174. buyorsell:
  12175. description: 买卖 - 0:买 1:卖
  12176. type: integer
  12177. cancellogincode:
  12178. description: 撤单人
  12179. type: string
  12180. channelbuildtype:
  12181. description: 开平标志 - 0:无 1:建仓 2:平仓
  12182. type: integer
  12183. channelinnerorderstatus:
  12184. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12185. 9:全部成交
  12186. type: integer
  12187. channeloperatetype:
  12188. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12189. type: integer
  12190. closetype:
  12191. description: 平仓方式 - 0:无 1:平今 2:平昨
  12192. type: integer
  12193. curexchangerate:
  12194. description: 当前汇率
  12195. type: number
  12196. exchangefullname:
  12197. description: 外部交易所全称
  12198. type: string
  12199. goodscode:
  12200. description: 商品代码(内部)
  12201. type: string
  12202. goodsid:
  12203. description: 商品ID
  12204. type: integer
  12205. goodsname:
  12206. description: 商品名称
  12207. type: string
  12208. marketid:
  12209. description: 市场ID
  12210. type: integer
  12211. openfreezemargin:
  12212. description: 冻结保证金(冻结交易金额)
  12213. type: number
  12214. orderid:
  12215. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12216. type: string
  12217. orderlogincode:
  12218. description: 委托人
  12219. type: string
  12220. orderprice:
  12221. description: 委托价格(账户)
  12222. type: number
  12223. orderqty:
  12224. description: 委托数量
  12225. type: integer
  12226. ordertime:
  12227. description: 委托时间
  12228. type: string
  12229. pricemode:
  12230. description: '取价方式 - 1:市价 2: 限价'
  12231. type: integer
  12232. tradedate:
  12233. description: 交易日(yyyyMMdd)
  12234. type: string
  12235. tradeqty:
  12236. description: 成交数量
  12237. type: integer
  12238. type: object
  12239. models.QueryHedgeTradeDetailRsp:
  12240. properties:
  12241. accountid:
  12242. description: 账号ID
  12243. type: integer
  12244. buyorsell:
  12245. description: 方向 - 0:买 1:卖
  12246. type: integer
  12247. channelbuildtype:
  12248. description: 委托单据类型 0:无 1:建仓 2:平仓
  12249. type: integer
  12250. closecharge:
  12251. description: 平仓手续费(账户)
  12252. type: number
  12253. closecharge2:
  12254. description: 平仓手续费(商品)
  12255. type: number
  12256. closepl:
  12257. description: 平仓盈亏(账户)
  12258. type: number
  12259. closepl2:
  12260. description: 平仓盈亏(商品)
  12261. type: number
  12262. closepl3:
  12263. description: 平仓盈亏(账户)(逐笔)
  12264. type: number
  12265. closepl4:
  12266. description: 平仓盈亏(商品)(逐笔)
  12267. type: number
  12268. closetype:
  12269. description: 平仓方式 - 0:无 1:平今 2:平昨
  12270. type: integer
  12271. curexchangerate:
  12272. description: 当前汇率
  12273. type: number
  12274. exchangefullname:
  12275. description: 外部交易所全称
  12276. type: string
  12277. goodscode:
  12278. description: 商品代码(内部)
  12279. type: string
  12280. goodsid:
  12281. description: 商品ID
  12282. type: integer
  12283. goodsname:
  12284. description: 商品名称
  12285. type: string
  12286. marketid:
  12287. description: 市场ID
  12288. type: integer
  12289. opencharge:
  12290. description: 建仓手续费(账户)
  12291. type: number
  12292. opencharge2:
  12293. description: 建仓手续费(商品)
  12294. type: number
  12295. orderid:
  12296. description: 委托单号
  12297. type: string
  12298. orderlogincode:
  12299. description: 委托人
  12300. type: string
  12301. tradeamount:
  12302. description: 成交金额(账户)
  12303. type: number
  12304. tradedate:
  12305. description: 交易日(yyyyMMdd)
  12306. type: string
  12307. tradeid:
  12308. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12309. type: string
  12310. tradeprice:
  12311. description: 成交价格
  12312. type: number
  12313. tradeqty:
  12314. description: 成交数量
  12315. type: integer
  12316. tradetime:
  12317. description: 成交时间
  12318. type: string
  12319. tradetype:
  12320. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12321. type: integer
  12322. type: object
  12323. models.QuotePrimaryMenu:
  12324. properties:
  12325. Index:
  12326. description: 序号
  12327. type: integer
  12328. Key:
  12329. description: 键名
  12330. type: string
  12331. Name:
  12332. description: 菜单名称
  12333. type: string
  12334. SubMenus:
  12335. description: 子菜单
  12336. items:
  12337. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12338. type: array
  12339. SubTitleType:
  12340. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12341. type: integer
  12342. TradeModes:
  12343. description: 包含市场交易类型
  12344. type: string
  12345. type: object
  12346. models.QuoteSecondaryMenu:
  12347. properties:
  12348. ExExchangeCode:
  12349. description: 外部交易所代码
  12350. type: string
  12351. ExExchangeID:
  12352. description: 外部交易所ID
  12353. type: integer
  12354. GoodsGroupIDs:
  12355. description: 商品组ID列表
  12356. items:
  12357. type: integer
  12358. type: array
  12359. Index:
  12360. description: 序号
  12361. type: integer
  12362. MarketID:
  12363. description: 市场ID
  12364. type: integer
  12365. MenuTitle:
  12366. description: 菜单标题(市场名称或外部交易所名称)
  12367. type: string
  12368. TradeMode:
  12369. description: 交易模式
  12370. type: integer
  12371. type: object
  12372. models.RoleMenu:
  12373. properties:
  12374. hasright:
  12375. description: 是否有权限 0-没有权限 1-有权限
  12376. type: integer
  12377. iconame:
  12378. description: 菜单图标
  12379. type: string
  12380. menutype:
  12381. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12382. type: integer
  12383. parentcode:
  12384. description: 上级资源代码
  12385. type: string
  12386. remark:
  12387. description: 菜单备注
  12388. type: string
  12389. resourcecode:
  12390. description: 菜单代码
  12391. type: string
  12392. resourcelevel:
  12393. description: 级别
  12394. type: integer
  12395. resourcename:
  12396. description: 菜单名称
  12397. type: string
  12398. roleid:
  12399. description: 角色id
  12400. type: integer
  12401. sort:
  12402. description: 排序
  12403. type: integer
  12404. subMenu:
  12405. description: 子级菜单(结构同上层一样, swag解析不出来)
  12406. items:
  12407. $ref: '#/definitions/models.RoleMenu'
  12408. type: array
  12409. url:
  12410. description: URL
  12411. type: string
  12412. userid:
  12413. description: 用户id
  12414. type: integer
  12415. type: object
  12416. models.SearchGoods:
  12417. properties:
  12418. goodscode:
  12419. description: 商品代码(内部)
  12420. type: string
  12421. goodsid:
  12422. description: 商品ID(自增ID SEQ_GOODS)
  12423. type: integer
  12424. goodsname:
  12425. description: 商品名称
  12426. type: string
  12427. marketid:
  12428. description: 所属市场ID
  12429. type: integer
  12430. marketname:
  12431. description: 市场名称
  12432. type: string
  12433. trademode:
  12434. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12435. 21:竞拍-大宗式 22:受托竞价
  12436. type: integer
  12437. required:
  12438. - goodscode
  12439. - goodsid
  12440. - goodsname
  12441. - marketid
  12442. - trademode
  12443. type: object
  12444. models.Systemparam:
  12445. properties:
  12446. loginid:
  12447. description: 更新用户账号,登录账号
  12448. type: string
  12449. modifyflag:
  12450. description: 修改标志0 不允许修改 1 允许修改
  12451. type: integer
  12452. paramcode:
  12453. description: 参数代码
  12454. type: string
  12455. paramname:
  12456. description: 参数名
  12457. type: string
  12458. paramtype:
  12459. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12460. type: integer
  12461. paramvalue:
  12462. description: 参数值
  12463. type: string
  12464. paramvalue2:
  12465. description: 参数值(CLOB)
  12466. type: string
  12467. regexpress:
  12468. description: 正则表达式
  12469. type: string
  12470. remark:
  12471. description: 备注
  12472. type: string
  12473. serverip:
  12474. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12475. type: string
  12476. showflag:
  12477. description: 是否显示0 不显示 1 显示
  12478. type: integer
  12479. updatetime:
  12480. description: 更新时间
  12481. type: string
  12482. userid:
  12483. description: 更新用户ID
  12484. type: integer
  12485. required:
  12486. - paramcode
  12487. type: object
  12488. models.Szdz3convertconfig:
  12489. properties:
  12490. canin:
  12491. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12492. type: integer
  12493. canout:
  12494. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12495. type: integer
  12496. converttype:
  12497. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12498. 6:交易转花生米(不设置)
  12499. type: integer
  12500. createtime:
  12501. description: 创建时间
  12502. type: string
  12503. creatorid:
  12504. description: 创建人
  12505. type: integer
  12506. daymaxvalue:
  12507. description: 当日最大转入限制
  12508. type: number
  12509. freezedays:
  12510. description: 冻结天数 [5:花生米转交易]
  12511. type: integer
  12512. innergoodsid:
  12513. description: 内部商品ID[交易]
  12514. type: integer
  12515. inratio:
  12516. description: 目标值
  12517. type: integer
  12518. modifierid:
  12519. description: 修改人
  12520. type: integer
  12521. modifytime:
  12522. description: 修改时间
  12523. type: string
  12524. outergoodscode:
  12525. description: 外部商品代码[JD\PD]
  12526. type: string
  12527. outratio:
  12528. description: 源值
  12529. type: integer
  12530. pddecimalplace:
  12531. description: PD小数位
  12532. type: integer
  12533. timemaxvalue:
  12534. description: 单次最大转入限制
  12535. type: number
  12536. timeminvalue:
  12537. description: 单次最小转入限制
  12538. type: number
  12539. required:
  12540. - converttype
  12541. - innergoodsid
  12542. - outergoodscode
  12543. type: object
  12544. models.Szdz3searchwhitelist:
  12545. properties:
  12546. createtime:
  12547. description: 创建时间
  12548. type: string
  12549. creatorid:
  12550. description: 创建人
  12551. type: integer
  12552. modifierid:
  12553. description: 修改人
  12554. type: integer
  12555. modifytime:
  12556. description: 修改时间
  12557. type: string
  12558. userid:
  12559. description: 用户ID
  12560. type: integer
  12561. required:
  12562. - userid
  12563. type: object
  12564. models.Taaccount:
  12565. properties:
  12566. accountflag:
  12567. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12568. type: integer
  12569. accountid:
  12570. description: 资金账户ID
  12571. type: integer
  12572. accountname:
  12573. description: 账户名称
  12574. type: string
  12575. balance:
  12576. description: 期初余额
  12577. type: number
  12578. capitalbalance:
  12579. description: 本金余额[外部子账户实际出入金余额]
  12580. type: number
  12581. changeflag:
  12582. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12583. type: integer
  12584. changetime:
  12585. description: 账户状态变更时间
  12586. type: string
  12587. closepl:
  12588. description: 今日平仓盈亏
  12589. type: number
  12590. creditdecrease:
  12591. description: 今日授信减少
  12592. type: number
  12593. creditincrease:
  12594. description: 今日授信增加
  12595. type: number
  12596. curamount:
  12597. description: 总市值(从持仓中统计)
  12598. type: number
  12599. currencyid:
  12600. description: 货币ID
  12601. type: integer
  12602. currentbalance:
  12603. description: 期末余额
  12604. type: number
  12605. freezecharge:
  12606. description: 手续费冻结
  12607. type: number
  12608. freezemargin:
  12609. description: 冻结保证金
  12610. type: number
  12611. fromaccountid:
  12612. description: 所属上级账户
  12613. type: integer
  12614. inamount:
  12615. description: 今日入金金额(包括三方入金)
  12616. type: number
  12617. ismain:
  12618. description: 是否母账号 0:不是母账户 1:是母账户
  12619. type: integer
  12620. ismarketaccount:
  12621. description: 是否机构接单账号 0:不是 1:是
  12622. type: integer
  12623. isreckonaccount:
  12624. description: 是否机构分润账号 0:不是 1:是
  12625. type: integer
  12626. mortgagecredit:
  12627. description: 授信金额
  12628. type: number
  12629. orifreezecharge:
  12630. description: 期初手续费冻结
  12631. type: number
  12632. orifreezemargin:
  12633. description: 期初冻结保证金
  12634. type: number
  12635. orimortgagecredit:
  12636. description: 期初授信金额
  12637. type: number
  12638. oriothercredit:
  12639. description: 期初其它授信金额
  12640. type: number
  12641. oriotherfreezemargin:
  12642. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12643. type: number
  12644. orioutamountfreeze:
  12645. description: 期初出金冻结
  12646. type: number
  12647. oriusedmargin:
  12648. description: 期初占用保证金
  12649. type: number
  12650. othercredit:
  12651. description: 其它授信金额
  12652. type: number
  12653. othercreditdecrease:
  12654. description: 今日其它授信减少
  12655. type: number
  12656. othercreditincrease:
  12657. description: 今日其它授信增加
  12658. type: number
  12659. otherfreezemargin:
  12660. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12661. type: number
  12662. otherincome:
  12663. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12664. type: number
  12665. otherpay:
  12666. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12667. type: number
  12668. outamount:
  12669. description: 今日出金金额(包括三方出金)
  12670. type: number
  12671. outamountfreeze:
  12672. description: 出金冻结
  12673. type: number
  12674. outthreshold:
  12675. description: 出金阈值
  12676. type: number
  12677. parentaccountid:
  12678. description: 所属根账号
  12679. type: integer
  12680. paycharge:
  12681. description: 今日手续费支出
  12682. type: number
  12683. relatedaccountstatus:
  12684. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12685. type: integer
  12686. relateduserid:
  12687. description: 关联用户
  12688. type: integer
  12689. remainamount:
  12690. description: 融资额(从融资合同中统计)
  12691. type: number
  12692. serivcegroup:
  12693. description: 服务分组
  12694. type: integer
  12695. signstatus:
  12696. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12697. type: integer
  12698. sublevelpath:
  12699. description: 账号层级路径(逗号分隔,首尾加逗号)
  12700. type: string
  12701. taaccounttype:
  12702. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12703. type: integer
  12704. thirdinamount:
  12705. description: 今日三方入金
  12706. type: number
  12707. thirdoutamount:
  12708. description: 今日三方出金
  12709. type: number
  12710. tradestatus:
  12711. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12712. type: integer
  12713. tradestatuschangetime:
  12714. description: 激活时间
  12715. type: string
  12716. transferamount:
  12717. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12718. type: number
  12719. usedmargin:
  12720. description: 占用保证金
  12721. type: number
  12722. userid:
  12723. description: 用户ID
  12724. type: integer
  12725. required:
  12726. - accountid
  12727. - userid
  12728. type: object
  12729. models.Tablecolumnconfig:
  12730. properties:
  12731. aligntype:
  12732. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12733. type: integer
  12734. autoid:
  12735. description: AutoID
  12736. type: integer
  12737. columnfield:
  12738. description: 列字段
  12739. type: string
  12740. columntitle:
  12741. description: 列Title
  12742. type: string
  12743. columnwidth:
  12744. description: 列宽
  12745. type: string
  12746. formatterstring:
  12747. description: 格式化字符
  12748. type: string
  12749. formattertype:
  12750. description: 格式化类型
  12751. type: string
  12752. groupname:
  12753. description: 表头分组名称
  12754. type: string
  12755. isshow:
  12756. description: 是否显示 - 0:不显示 1:显示
  12757. type: integer
  12758. needsummary:
  12759. description: 是否需要汇总 - 0:不需要 1:需要
  12760. type: integer
  12761. orderindex:
  12762. description: 顺序
  12763. type: integer
  12764. remark:
  12765. description: 备注
  12766. type: string
  12767. summarytype:
  12768. description: 汇总类型 - 1:加总 2:最后一个
  12769. type: integer
  12770. tablekey:
  12771. description: 列表Key
  12772. type: string
  12773. required:
  12774. - autoid
  12775. type: object
  12776. models.UserCollectConfig:
  12777. properties:
  12778. accountstatus:
  12779. description: 账户状态 - 1:正常 2:停用 3:注销
  12780. type: integer
  12781. collectaccountname:
  12782. description: 收款人账户名称
  12783. type: string
  12784. collectaccountno:
  12785. description: 收款人账户
  12786. type: string
  12787. collectbankname:
  12788. description: 收款人开户行
  12789. type: string
  12790. collectbranchbankname:
  12791. description: 收款人开户支行
  12792. type: string
  12793. collectconfigid:
  12794. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12795. type: string
  12796. remark:
  12797. description: 备注
  12798. type: string
  12799. userid:
  12800. description: 收款人用户ID
  12801. type: integer
  12802. type: object
  12803. models.UserReceiveInfo:
  12804. properties:
  12805. address:
  12806. description: 提货人详细地址
  12807. type: string
  12808. autoid:
  12809. description: AutoID
  12810. type: integer
  12811. cardnum:
  12812. description: 证件号码(加密存储)
  12813. type: string
  12814. cardtypeid:
  12815. description: 证件类型
  12816. type: integer
  12817. cityid:
  12818. description: 市
  12819. type: integer
  12820. cityname:
  12821. description: 城市名称
  12822. type: string
  12823. countryid:
  12824. description: 国家
  12825. type: integer
  12826. countryname:
  12827. description: 国家名称
  12828. type: string
  12829. districtid:
  12830. description: 地区
  12831. type: integer
  12832. districtname:
  12833. description: 地区名称
  12834. type: string
  12835. hasencrypt:
  12836. description: 数据是否已加密 - 0:未加密 1:已加密
  12837. type: integer
  12838. isdefault:
  12839. description: 是否默认地址 - 0:否 1:是
  12840. type: integer
  12841. phonenum:
  12842. description: 提货人联系方式(加密存储)
  12843. type: string
  12844. provinceid:
  12845. description: 省
  12846. type: integer
  12847. provincename:
  12848. description: 省名称
  12849. type: string
  12850. receivername:
  12851. description: 提货人姓名
  12852. type: string
  12853. takeremark:
  12854. description: 提货备注
  12855. type: string
  12856. userid:
  12857. description: 用户ID
  12858. type: integer
  12859. type: object
  12860. models.Useraccount:
  12861. properties:
  12862. accountname:
  12863. description: 账户名称(机构名称)
  12864. type: string
  12865. accountstatus:
  12866. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12867. type: integer
  12868. applysrc:
  12869. description: 申请来源 - 1:管理端 2:终端
  12870. type: integer
  12871. auditremark:
  12872. description: 审核备注
  12873. type: string
  12874. auditsrc:
  12875. description: 审核来源 - 1:管理端 2:终端
  12876. type: integer
  12877. audittime:
  12878. description: 审核时间
  12879. type: string
  12880. audituserid:
  12881. description: 审核人
  12882. type: integer
  12883. broker:
  12884. description: 所属经纪人ID
  12885. type: integer
  12886. canceltime:
  12887. description: 销户时间
  12888. type: string
  12889. canceluserid:
  12890. description: 销户人
  12891. type: integer
  12892. canrecommend:
  12893. description: 是否可推荐 - 0:不可 1;可
  12894. type: integer
  12895. createtime:
  12896. description: 创建时间
  12897. type: string
  12898. creatorid:
  12899. description: 创建人
  12900. type: integer
  12901. hasauth:
  12902. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12903. type: integer
  12904. isanonymous:
  12905. description: 是否匿名下单 - 0:否 1:是
  12906. type: integer
  12907. maxinvestornum:
  12908. description: 最大用户数(经纪会员下投资者个数)
  12909. type: integer
  12910. memberuserid:
  12911. description: 所属会员ID
  12912. type: integer
  12913. modifierid:
  12914. description: 修改人
  12915. type: integer
  12916. modifyremark:
  12917. description: 变更备注
  12918. type: string
  12919. modifystatus:
  12920. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12921. type: integer
  12922. modifytime:
  12923. description: 修改时间
  12924. type: string
  12925. parenttopuser:
  12926. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12927. type: string
  12928. parentuserid:
  12929. description: 所属机构ID
  12930. type: integer
  12931. reckonaccountid:
  12932. description: 默认结算资金账号ID(机构分润使用) 作废
  12933. type: integer
  12934. refercount:
  12935. description: 推荐总人数
  12936. type: integer
  12937. refereeuserid:
  12938. description: 推荐人ID
  12939. type: integer
  12940. refernum:
  12941. description: 推荐码
  12942. type: string
  12943. rootuserid:
  12944. description: 根用户ID
  12945. type: integer
  12946. subaccountlevel:
  12947. description: 子账户层数
  12948. type: integer
  12949. subarealevelpath:
  12950. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12951. type: string
  12952. userid:
  12953. description: 用户ID
  12954. type: integer
  12955. usertype:
  12956. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12957. type: integer
  12958. required:
  12959. - userid
  12960. type: object
  12961. models.Userfavoritegoods:
  12962. properties:
  12963. goodsid:
  12964. description: 商品ID
  12965. type: integer
  12966. required:
  12967. - goodsid
  12968. type: object
  12969. models.Userinfo:
  12970. properties:
  12971. address:
  12972. description: 地址
  12973. type: string
  12974. attachment1:
  12975. description: 附件1
  12976. type: string
  12977. attachment2:
  12978. description: 附件2
  12979. type: string
  12980. bankaccount:
  12981. description: 银行帐号 (加密存储)
  12982. type: string
  12983. bankaccountname:
  12984. description: 收款人名称
  12985. type: string
  12986. bankcardfrontphotourl:
  12987. description: 银行卡正面照地址
  12988. type: string
  12989. bankid:
  12990. description: 银行编码
  12991. type: string
  12992. bankname:
  12993. description: 银行名称
  12994. type: string
  12995. biznature:
  12996. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  12997. type: integer
  12998. bizscope:
  12999. description: 企业经营范围(企业)
  13000. type: string
  13001. cardbackphotourl:
  13002. description: 证件背面图片地址
  13003. type: string
  13004. cardfrontphotourl:
  13005. description: 证件正面图片地址
  13006. type: string
  13007. cardnum:
  13008. description: 证件号码(加密存储)
  13009. type: string
  13010. cardtypeid:
  13011. description: 证件类型ID
  13012. type: integer
  13013. cityid:
  13014. description: 市
  13015. type: integer
  13016. company:
  13017. description: 公司(个人)
  13018. type: string
  13019. contactname:
  13020. description: 联系人
  13021. type: string
  13022. countryid:
  13023. description: 国家
  13024. type: integer
  13025. createtime:
  13026. description: 创建时间
  13027. type: string
  13028. creatorid:
  13029. description: 创建人
  13030. type: integer
  13031. customername:
  13032. description: 客户名称(企业名称)
  13033. type: string
  13034. districtid:
  13035. description: 地区
  13036. type: integer
  13037. email:
  13038. description: 邮件(加密存储)
  13039. type: string
  13040. fax:
  13041. description: 传真(加密存储)
  13042. type: string
  13043. halfbodyphotourl:
  13044. description: 半身照地址
  13045. type: string
  13046. hasencrypt:
  13047. description: 数据是否已加密 - 0:未加密 1:已加密
  13048. type: integer
  13049. headurl:
  13050. description: 头像地址
  13051. type: string
  13052. legalcardbackphotourl:
  13053. description: 法人身份证背面照地址
  13054. type: string
  13055. legalcardfrontphotourl:
  13056. description: 法人身份证正面照地址
  13057. type: string
  13058. legalpersonname:
  13059. description: 法人姓名(企业)
  13060. type: string
  13061. mobile:
  13062. description: 手机号码(加密存储)
  13063. type: string
  13064. mobile2:
  13065. description: 手机号码[明文-尚志]
  13066. type: string
  13067. modifierid:
  13068. description: 修改人
  13069. type: integer
  13070. modifiertime:
  13071. description: 修改时间
  13072. type: string
  13073. needinvoice:
  13074. description: 是否需要发票 - 0:不需要 1:需要
  13075. type: integer
  13076. nickname:
  13077. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13078. type: string
  13079. openmode:
  13080. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13081. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13082. type: integer
  13083. otherurl:
  13084. description: 其它图片地址[使用分号分隔]
  13085. type: string
  13086. postalcode:
  13087. description: 邮政编码
  13088. type: string
  13089. provinceid:
  13090. description: 省
  13091. type: integer
  13092. qq:
  13093. description: QQ(加密存储
  13094. type: string
  13095. remark:
  13096. description: 备注
  13097. type: string
  13098. sex:
  13099. description: '用户性别 0: 女 1: 男'
  13100. type: integer
  13101. signpdfurl:
  13102. description: 签约pdf文件
  13103. type: string
  13104. telphone:
  13105. description: 联系电话(加密存储)
  13106. type: string
  13107. userid:
  13108. description: 用户ID
  13109. type: integer
  13110. userinfotype:
  13111. description: 用户信息类型 - 1:个人 2:企业
  13112. type: integer
  13113. userstatus:
  13114. description: 用户状态 - 1:正常 2:注销
  13115. type: integer
  13116. usertype:
  13117. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13118. type: integer
  13119. wechat:
  13120. description: 微信(加密存储)
  13121. type: string
  13122. wskhinfo:
  13123. description: 开户申请信息(JSON)
  13124. type: string
  13125. required:
  13126. - userid
  13127. type: object
  13128. models.WRSConverTDetail:
  13129. properties:
  13130. convertratio:
  13131. description: 套保系数
  13132. type: number
  13133. deliverygoodscode:
  13134. description: 现货商品代码
  13135. type: string
  13136. deliverygoodsid:
  13137. description: 现货品种ID
  13138. type: integer
  13139. deliverygoodsname:
  13140. description: 现货商品名称
  13141. type: string
  13142. enumdicname:
  13143. description: 单位名称
  13144. type: string
  13145. goodsunitid:
  13146. description: 套保品种单位id
  13147. type: integer
  13148. middlegoodscode:
  13149. description: 套保品种代码
  13150. type: string
  13151. middlegoodsid:
  13152. description: 套保品种ID
  13153. type: integer
  13154. middlegoodsname:
  13155. description: 套保品种名称
  13156. type: string
  13157. modifytime:
  13158. description: 修改时间
  13159. type: string
  13160. wrstandardid:
  13161. description: 品类ID
  13162. type: integer
  13163. type: object
  13164. models.WRStandardInfo:
  13165. properties:
  13166. areauserid:
  13167. description: 所属机构
  13168. type: integer
  13169. convertfactor:
  13170. description: 标仓系数
  13171. type: number
  13172. createtime:
  13173. description: 创建时间
  13174. type: string
  13175. creatorid:
  13176. description: 创建人
  13177. type: integer
  13178. deliverygoodsid:
  13179. description: 品种ID
  13180. type: integer
  13181. deliverygoodsname:
  13182. description: 交割商品名称
  13183. type: string
  13184. factoryitemjson:
  13185. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13186. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13187. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13188. 逗号分隔'
  13189. type: string
  13190. isvalid:
  13191. description: 是否有效 - 0:无效 1:有效
  13192. type: integer
  13193. minivalue:
  13194. description: 最小变动值
  13195. type: integer
  13196. minivaluedp:
  13197. description: 最小变动值小数位
  13198. type: integer
  13199. realminivalue:
  13200. description: 实际最小变动值
  13201. type: integer
  13202. realminivaluedp:
  13203. description: 实际最小变动值小数位
  13204. type: integer
  13205. remark:
  13206. description: 备注
  13207. type: string
  13208. unitid:
  13209. description: 单位ID
  13210. type: integer
  13211. unitname:
  13212. description: 单位
  13213. type: string
  13214. updatetime:
  13215. description: 更新时间
  13216. type: string
  13217. updatorid:
  13218. description: 更新人
  13219. type: integer
  13220. wrsstatus:
  13221. description: 状态 - 作废 - 0:未激活 1:正常
  13222. type: integer
  13223. wrstandardcode:
  13224. description: 现货品类代码
  13225. type: string
  13226. wrstandardid:
  13227. description: 现货品类ID(SEQ_WRSTANDARD)
  13228. type: integer
  13229. wrstandardname:
  13230. description: 现货品类名称
  13231. type: string
  13232. required:
  13233. - wrstandardid
  13234. type: object
  13235. models.Warehouseinfo:
  13236. properties:
  13237. address:
  13238. description: 详细地址
  13239. type: string
  13240. areauserid:
  13241. description: 所属机构
  13242. type: integer
  13243. autoid:
  13244. description: 自增ID
  13245. type: integer
  13246. cityid:
  13247. description: 市
  13248. type: integer
  13249. contactname:
  13250. description: 联系人
  13251. type: string
  13252. contactnum:
  13253. description: 联系电话
  13254. type: string
  13255. countryid:
  13256. description: 国家
  13257. type: integer
  13258. createtime:
  13259. description: 创建时间
  13260. type: string
  13261. districtid:
  13262. description: 区
  13263. type: integer
  13264. hasvideo:
  13265. description: 是否有视频 - 0:无 1:有
  13266. type: integer
  13267. provinceid:
  13268. description: 省
  13269. type: integer
  13270. remark:
  13271. description: 审核备注
  13272. type: string
  13273. videourl:
  13274. description: 视频地址
  13275. type: string
  13276. warehousecode:
  13277. description: 仓库代码
  13278. type: string
  13279. warehousename:
  13280. description: 仓库名称
  13281. type: string
  13282. warehousestatus:
  13283. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13284. type: integer
  13285. warehousetype:
  13286. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13287. type: integer
  13288. required:
  13289. - autoid
  13290. - warehousecode
  13291. type: object
  13292. models.WrFAProductDetail:
  13293. properties:
  13294. accountid:
  13295. description: 资金账号
  13296. type: integer
  13297. areauserid:
  13298. description: 金融机构ID
  13299. type: integer
  13300. financingdays:
  13301. description: 天数(天)
  13302. type: integer
  13303. interestminlen:
  13304. description: 最小起息天数
  13305. type: integer
  13306. interestrate:
  13307. description: 利率
  13308. type: number
  13309. interestratemode:
  13310. description: 利率方式 - 1:年利率 2:日利率
  13311. type: integer
  13312. interestsettlemode:
  13313. description: 结息方式 - 1:按日结息 3:按月结息
  13314. type: integer
  13315. interestsettlevalue:
  13316. description: 结息方式值
  13317. type: integer
  13318. isautoloan:
  13319. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13320. type: integer
  13321. marginratio:
  13322. description: 保证金比率质押率 - [仓单质押]
  13323. type: number
  13324. productdetailid:
  13325. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13326. type: integer
  13327. productid:
  13328. description: 金融产品ID
  13329. type: integer
  13330. productname:
  13331. description: 产品名称
  13332. type: string
  13333. updatetime:
  13334. description: 更新时间
  13335. type: string
  13336. username:
  13337. description: 融出方
  13338. type: string
  13339. wrfactortypeid:
  13340. description: 仓单要素ID
  13341. type: string
  13342. type: object
  13343. models.WrFactorTypeInfo:
  13344. properties:
  13345. deliverygoodscode:
  13346. description: 品种代码
  13347. type: string
  13348. deliverygoodsname:
  13349. description: 品种名称
  13350. type: string
  13351. dgfactoryitemid:
  13352. description: 选择项id
  13353. type: integer
  13354. dgfactoryitemtypeid:
  13355. description: 要素选择项ID (1-仓库 2-品牌)
  13356. type: integer
  13357. dgfactoryitemvalue:
  13358. description: 要素项值
  13359. type: string
  13360. itemtypename:
  13361. description: 要素项名称
  13362. type: string
  13363. optioncompare:
  13364. description: 选择比较串
  13365. type: string
  13366. warehouseid:
  13367. description: 仓库id
  13368. type: integer
  13369. wrfactortypeid:
  13370. description: 仓单要素ID
  13371. type: string
  13372. wrfactortypename:
  13373. description: 要素名称
  13374. type: string
  13375. wrfactortypename2:
  13376. description: 要素名称(不含仓库)
  13377. type: string
  13378. wrstandardcode:
  13379. description: 品类代码
  13380. type: string
  13381. wrstandardid:
  13382. description: 品类id
  13383. type: integer
  13384. wrstandardname:
  13385. description: 品类名称
  13386. type: string
  13387. type: object
  13388. models.WrFilterItem:
  13389. properties:
  13390. itemcode:
  13391. description: 代码
  13392. type: string
  13393. itemid:
  13394. description: 项id
  13395. type: integer
  13396. itemname:
  13397. description: 名称
  13398. type: string
  13399. itemtype:
  13400. description: 类型 1-品种 2-品类(商品) 3-仓库
  13401. type: integer
  13402. type: object
  13403. models.WrGoodsInfo:
  13404. properties:
  13405. haswr:
  13406. description: 0:仓单预售 1:仓单贸易
  13407. type: integer
  13408. lstitem:
  13409. description: 商品信息项
  13410. items:
  13411. $ref: '#/definitions/models.WrTypeItem'
  13412. type: array
  13413. lststep:
  13414. description: 履约规则
  13415. items:
  13416. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13417. type: array
  13418. marketid:
  13419. description: 市场id
  13420. type: integer
  13421. type: object
  13422. models.WrGoodsPerformanceStep:
  13423. properties:
  13424. autoid:
  13425. description: AutoID
  13426. type: integer
  13427. isauto:
  13428. description: 是否自动 - 0:不自动 1:自动
  13429. type: integer
  13430. remark:
  13431. description: 备注
  13432. type: string
  13433. stepdate:
  13434. description: 天数信息(T+N)
  13435. type: string
  13436. stepdays:
  13437. description: 距离上一步天数
  13438. type: integer
  13439. stepindex:
  13440. description: 步骤序号
  13441. type: integer
  13442. stepinfo:
  13443. description: 步骤信息(步骤名称+步骤值)
  13444. type: string
  13445. steptypeid:
  13446. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13447. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13448. type: integer
  13449. steptypename:
  13450. description: 步骤名称
  13451. type: string
  13452. stepvalue:
  13453. description: 步骤值
  13454. type: number
  13455. templateid:
  13456. description: 履约计划模板ID
  13457. type: integer
  13458. type: object
  13459. models.WrHoldLB:
  13460. properties:
  13461. accountid:
  13462. description: 持有人帐户ID
  13463. type: integer
  13464. createtime:
  13465. description: 创建时间(过户时间)
  13466. type: string
  13467. deliverygoodscode:
  13468. description: 品种代码
  13469. type: string
  13470. deliverygoodsid:
  13471. description: 品种ID
  13472. type: integer
  13473. deliverygoodsname:
  13474. description: 品种名称
  13475. type: string
  13476. enableqty:
  13477. description: 可用数量
  13478. type: number
  13479. enumdicname:
  13480. description: 单位名称
  13481. type: string
  13482. freezerqty:
  13483. description: 冻结数量
  13484. type: number
  13485. ladingbillid:
  13486. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13487. type: string
  13488. optioncompare:
  13489. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13490. type: string
  13491. parentsubnum:
  13492. description: 拆分父子单号
  13493. type: integer
  13494. pledgeqty:
  13495. description: 质押数量
  13496. type: number
  13497. qty:
  13498. description: 数量
  13499. type: number
  13500. subnum:
  13501. description: 提单子单号
  13502. type: integer
  13503. tradedate:
  13504. description: 交易日(yyyyMMdd)
  13505. type: string
  13506. userid:
  13507. description: 持有人ID
  13508. type: integer
  13509. warehouseid:
  13510. description: 仓库ID
  13511. type: integer
  13512. warehousename:
  13513. description: 仓库名称
  13514. type: string
  13515. wrfactortypeid:
  13516. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13517. type: string
  13518. wrfactortypename:
  13519. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13520. type: string
  13521. wrholdeno:
  13522. description: 仓单编号
  13523. type: string
  13524. wrid:
  13525. description: 仓单变更ID
  13526. type: string
  13527. wrstandardcode:
  13528. description: 现货商品代码
  13529. type: string
  13530. wrstandardid:
  13531. description: 现货商品ID
  13532. type: integer
  13533. wrstandardname:
  13534. description: 商品名称
  13535. type: string
  13536. wrtypename:
  13537. description: 商品
  13538. type: string
  13539. type: object
  13540. models.WrOrderDetail:
  13541. properties:
  13542. buyorsell:
  13543. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13544. type: integer
  13545. cancelqty:
  13546. description: 撤销数量
  13547. type: number
  13548. deliverygoodscode:
  13549. description: 品种代码
  13550. type: string
  13551. deliverygoodsid:
  13552. description: 品种ID
  13553. type: integer
  13554. deliverygoodsname:
  13555. description: 品种名称
  13556. type: string
  13557. deliverymonth:
  13558. description: 交收月
  13559. type: string
  13560. enumdicname:
  13561. description: 单位名称
  13562. type: string
  13563. fixedprice:
  13564. description: 固定价格 - [挂牌]
  13565. type: number
  13566. futupricemove:
  13567. description: 期货升贴水
  13568. type: number
  13569. futushow:
  13570. description: 期货合约/升贴水
  13571. type: string
  13572. goodscode:
  13573. description: 期货合约
  13574. type: string
  13575. goodsid:
  13576. description: 期货商品id
  13577. type: integer
  13578. haswr:
  13579. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13580. type: integer
  13581. marketid:
  13582. description: 市场ID
  13583. type: integer
  13584. optioncompare:
  13585. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13586. type: string
  13587. orderqty:
  13588. description: 委托数量
  13589. type: number
  13590. ordertime:
  13591. description: 委托时间(挂牌时间)
  13592. type: string
  13593. pricemove:
  13594. description: 升贴水(浮动价时填写) - [挂牌]
  13595. type: number
  13596. tradedate:
  13597. description: 交易日(yyyyMMdd)
  13598. type: string
  13599. tradeprice:
  13600. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13601. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13602. type: number
  13603. tradeqty:
  13604. description: 成交数量
  13605. type: number
  13606. userid:
  13607. description: 用户ID
  13608. type: integer
  13609. warehouseid:
  13610. description: 仓库ID
  13611. type: integer
  13612. warehousename:
  13613. description: 仓库名称
  13614. type: string
  13615. wrfactortypeid:
  13616. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13617. type: string
  13618. wrfactortypename:
  13619. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13620. type: string
  13621. wrpricetype:
  13622. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13623. type: integer
  13624. wrstandardcode:
  13625. description: 现货商品代码
  13626. type: string
  13627. wrstandardid:
  13628. description: 现货商品ID
  13629. type: integer
  13630. wrstandardname:
  13631. description: 商品名称
  13632. type: string
  13633. wrtradeorderid:
  13634. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13635. type: string
  13636. wrtradeorderstatus:
  13637. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  13638. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  13639. type: integer
  13640. wrtradetype:
  13641. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13642. type: integer
  13643. wrtypename:
  13644. description: 商品
  13645. type: string
  13646. type: object
  13647. models.WrOrderQuote:
  13648. properties:
  13649. buyprice:
  13650. description: 买价
  13651. type: number
  13652. buypricemove:
  13653. description: 买升贴水(基差)
  13654. type: number
  13655. buyqty:
  13656. description: 买量
  13657. type: number
  13658. deliverygoodscode:
  13659. description: 品种代码
  13660. type: string
  13661. deliverygoodsid:
  13662. description: 品种id
  13663. type: integer
  13664. deliverygoodsname:
  13665. description: 品种名称
  13666. type: string
  13667. deliverymonth:
  13668. description: 交收月
  13669. type: string
  13670. enumdicname:
  13671. description: 单位名称
  13672. type: string
  13673. goodscode:
  13674. description: 商品合约(浮动价列表才有)
  13675. type: string
  13676. goodsid:
  13677. description: 商品id(浮动价列表才有)
  13678. type: integer
  13679. minivalue:
  13680. description: 现货商品最小变动值
  13681. type: integer
  13682. sellprice:
  13683. description: 卖价
  13684. type: number
  13685. sellpricemove:
  13686. description: 卖升贴水(基差)
  13687. type: number
  13688. sellqty:
  13689. description: 卖量
  13690. type: number
  13691. warehousecode:
  13692. description: 仓库代码
  13693. type: string
  13694. warehouseid:
  13695. description: 仓库id
  13696. type: integer
  13697. warehousename:
  13698. description: 仓库名称
  13699. type: string
  13700. wrfactortypeid:
  13701. description: 仓单要素id
  13702. type: string
  13703. wrfactortypename:
  13704. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13705. type: string
  13706. wrgoodsname:
  13707. description: 商品(商品名称+仓库要素名称 拼接)
  13708. type: string
  13709. wrstandardcode:
  13710. description: 商品代码
  13711. type: string
  13712. wrstandardid:
  13713. description: 商品id
  13714. type: integer
  13715. wrstandardname:
  13716. description: 商品名称
  13717. type: string
  13718. type: object
  13719. models.WrOrderQuoteDetail:
  13720. properties:
  13721. buyorsell:
  13722. description: 买卖 - 0:买 1:卖
  13723. type: integer
  13724. enumdicname:
  13725. description: 单位名称
  13726. type: string
  13727. fixedprice:
  13728. description: 买(卖)价
  13729. type: number
  13730. minivalue:
  13731. description: 现货商品最小变动值
  13732. type: integer
  13733. orderqty:
  13734. description: 买(卖)量(=委托量-成交量)
  13735. type: number
  13736. pricemove:
  13737. description: 买(卖)升贴水- 基差
  13738. type: number
  13739. userid:
  13740. description: 购买方(销售方)用户ID
  13741. type: integer
  13742. username:
  13743. description: 购买方(销售方)
  13744. type: string
  13745. wrtradeorderid:
  13746. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13747. type: string
  13748. type: object
  13749. models.WrPerformancePlan:
  13750. properties:
  13751. amount:
  13752. description: 履约金额(总金额)
  13753. type: number
  13754. buyaccountid:
  13755. description: 买方账号
  13756. type: integer
  13757. buyerfreezeamount:
  13758. description: 履约冻结(买履约)
  13759. type: number
  13760. buyerfreezeamountremain:
  13761. description: 履约冻结剩余(买履约)
  13762. type: number
  13763. buyorsell:
  13764. description: 买卖方向 0-买 1-卖
  13765. type: integer
  13766. buypaidamount:
  13767. description: 买方已冻/已扣金额 (已付金额)
  13768. type: number
  13769. buyusername:
  13770. description: 买方名字
  13771. type: string
  13772. contractid:
  13773. description: 合同ID
  13774. type: integer
  13775. createtime:
  13776. description: 创建时间(开始时间)
  13777. type: string
  13778. creatorid:
  13779. description: 创建人
  13780. type: integer
  13781. curstepdeadline:
  13782. description: 当前步骤到期时间
  13783. type: string
  13784. curstepid:
  13785. description: 当前步骤ID
  13786. type: integer
  13787. curstepname:
  13788. description: 当前步骤名称
  13789. type: string
  13790. deliverygoodscode:
  13791. description: 品种代码
  13792. type: string
  13793. deliverygoodsid:
  13794. description: 品种ID
  13795. type: integer
  13796. deliverygoodsname:
  13797. description: 品种名称
  13798. type: string
  13799. enumdicname:
  13800. description: 单位名称
  13801. type: string
  13802. expressfee:
  13803. description: 运费
  13804. type: number
  13805. expressfeeconfirmed:
  13806. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  13807. type: integer
  13808. hasovershort:
  13809. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  13810. type: integer
  13811. haswr:
  13812. description: 类型 0-仓单预售 1-仓单贸易
  13813. type: integer
  13814. marketid:
  13815. description: 市场ID
  13816. type: integer
  13817. middleaccountid:
  13818. description: 中间商资金账号ID
  13819. type: integer
  13820. middleuserid:
  13821. description: 中间商用户ID
  13822. type: integer
  13823. optioncompare:
  13824. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13825. type: string
  13826. overshortamount:
  13827. description: 溢短金额
  13828. type: number
  13829. overshortqty:
  13830. description: 溢短数量
  13831. type: number
  13832. paymenttype:
  13833. description: 付款方式 - 1:冻结 2:扣款
  13834. type: integer
  13835. performanceplanid:
  13836. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  13837. type: integer
  13838. performancestatus:
  13839. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  13840. 9:超时待处理 10:超时关闭
  13841. type: integer
  13842. performancetype:
  13843. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  13844. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  13845. type: integer
  13846. qty:
  13847. description: 履约数量
  13848. type: number
  13849. relatedorderid:
  13850. description: 关联单号(履约类型的关联单号)
  13851. type: string
  13852. remark:
  13853. description: 备注
  13854. type: string
  13855. sellaccountid:
  13856. description: 卖方账号
  13857. type: integer
  13858. sellerfreezeamount:
  13859. description: 履约冻结(卖履约)
  13860. type: number
  13861. sellerfreezeamountremain:
  13862. description: 履约冻结剩余(卖履约)
  13863. type: number
  13864. sellreceivedamount:
  13865. description: 卖方已收金额
  13866. type: number
  13867. sellusername:
  13868. description: 卖方名字
  13869. type: string
  13870. shipremark:
  13871. description: 发货备注[物流单号]
  13872. type: string
  13873. userid:
  13874. description: 用户id
  13875. type: integer
  13876. warehouseid:
  13877. description: 仓库ID
  13878. type: integer
  13879. warehousename:
  13880. description: 仓库名称
  13881. type: string
  13882. wrfactortypeid:
  13883. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13884. type: string
  13885. wrfactortypename:
  13886. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13887. type: string
  13888. wrstandardcode:
  13889. description: 现货商品代码
  13890. type: string
  13891. wrstandardid:
  13892. description: 现货商品ID
  13893. type: integer
  13894. wrstandardname:
  13895. description: 商品名称
  13896. type: string
  13897. wrtransferuserid:
  13898. description: 仓单受让用户
  13899. type: integer
  13900. wrtypename:
  13901. description: 商品
  13902. type: string
  13903. required:
  13904. - userid
  13905. type: object
  13906. models.WrPosition:
  13907. properties:
  13908. accountid:
  13909. description: 帐户ID
  13910. type: integer
  13911. buyexcuteqty:
  13912. description: 采购履约中数量
  13913. type: number
  13914. creditcurqty:
  13915. description: 授信当前数量(预售仓单:预售当前量)
  13916. type: number
  13917. creditenableqty:
  13918. description: '授信可用数量(预售仓单: 可用数量)'
  13919. type: number
  13920. creditfreezeqty:
  13921. description: '授信冻结数量(预售仓单: 当前数量)'
  13922. type: number
  13923. credittotalqty:
  13924. description: 授信总数量(预售仓单:预售总量)
  13925. type: number
  13926. credittradeqty:
  13927. description: 授信成交数量(预售仓单:成交总量)
  13928. type: number
  13929. deliverygoodscode:
  13930. description: 品种代码
  13931. type: string
  13932. deliverygoodsid:
  13933. description: 品种ID
  13934. type: integer
  13935. deliverygoodsname:
  13936. description: 品种名称
  13937. type: string
  13938. enalbeqty:
  13939. description: 可用数量
  13940. type: number
  13941. enumdicname:
  13942. description: 单位名称
  13943. type: string
  13944. freezeqty:
  13945. description: 总冻结数量
  13946. type: number
  13947. haswr:
  13948. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13949. type: integer
  13950. modifytime:
  13951. description: 修改时间(过户时间)
  13952. type: string
  13953. optioncompare:
  13954. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13955. type: string
  13956. pledgeqty:
  13957. description: 质押数量
  13958. type: number
  13959. querytype:
  13960. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  13961. type: integer
  13962. sellexcuteqty:
  13963. description: 销售履约中数量
  13964. type: number
  13965. totalqty:
  13966. description: 总数量(库存数量)
  13967. type: number
  13968. warehouseid:
  13969. description: 仓库ID
  13970. type: integer
  13971. warehousename:
  13972. description: 仓库名称
  13973. type: string
  13974. wrfactortypeid:
  13975. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13976. type: string
  13977. wrfactortypename:
  13978. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13979. type: string
  13980. wrpositionid:
  13981. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  13982. type: string
  13983. wrpositionno:
  13984. description: 仓单编号
  13985. type: string
  13986. wrstandardcode:
  13987. description: 现货商品代码
  13988. type: string
  13989. wrstandardid:
  13990. description: 现货商品ID
  13991. type: integer
  13992. wrstandardname:
  13993. description: 商品名称
  13994. type: string
  13995. wrtypename:
  13996. description: 商品
  13997. type: string
  13998. wruserid:
  13999. description: 持有人ID
  14000. type: integer
  14001. type: object
  14002. models.WrSpecialMatchOrder:
  14003. properties:
  14004. amount:
  14005. description: 金额 = 数量 * 价格
  14006. type: number
  14007. buyorsell:
  14008. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14009. type: integer
  14010. cancelqty:
  14011. description: 撤销数量
  14012. type: number
  14013. deliverygoodscode:
  14014. description: 品种代码
  14015. type: string
  14016. deliverygoodsid:
  14017. description: 品种ID
  14018. type: integer
  14019. deliverygoodsname:
  14020. description: 品种名称
  14021. type: string
  14022. enumdicname:
  14023. description: 单位名称
  14024. type: string
  14025. fixedprice:
  14026. description: 固定价格(价格)
  14027. type: number
  14028. haswr:
  14029. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14030. type: integer
  14031. marketid:
  14032. description: 市场ID
  14033. type: integer
  14034. matchuserid:
  14035. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  14036. type: integer
  14037. matchusername:
  14038. description: 指定方
  14039. type: string
  14040. optioncompare:
  14041. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14042. type: string
  14043. orderqty:
  14044. description: 委托数量
  14045. type: number
  14046. ordertime:
  14047. description: 委托时间
  14048. type: string
  14049. pricemove:
  14050. description: 升贴水(浮动价时填写) - [挂牌]
  14051. type: number
  14052. tradedate:
  14053. description: 交易日(yyyyMMdd)
  14054. type: string
  14055. tradeprice:
  14056. description: 成交价格
  14057. type: number
  14058. tradeqty:
  14059. description: 成交数量
  14060. type: number
  14061. userid:
  14062. description: 用户ID
  14063. type: integer
  14064. username:
  14065. description: 发起方
  14066. type: string
  14067. warehouseid:
  14068. description: 仓库ID
  14069. type: integer
  14070. warehousename:
  14071. description: 仓库名称
  14072. type: string
  14073. wrfactortypeid:
  14074. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14075. type: string
  14076. wrfactortypename:
  14077. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14078. type: string
  14079. wrpricetype:
  14080. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14081. type: integer
  14082. wrstandardcode:
  14083. description: 现货商品代码
  14084. type: string
  14085. wrstandardid:
  14086. description: 现货商品ID
  14087. type: integer
  14088. wrstandardname:
  14089. description: 商品名称
  14090. type: string
  14091. wrtradeorderid:
  14092. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14093. type: string
  14094. wrtradeorderstatus:
  14095. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14096. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14097. type: integer
  14098. wrtradetype:
  14099. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14100. type: integer
  14101. wrtypename:
  14102. description: 商品
  14103. type: string
  14104. type: object
  14105. models.WrTradeDetail:
  14106. properties:
  14107. accountid:
  14108. description: 资金账号
  14109. type: integer
  14110. buyorsell:
  14111. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14112. type: integer
  14113. deliverygoodscode:
  14114. description: 品种代码
  14115. type: string
  14116. deliverygoodsid:
  14117. description: 品种ID
  14118. type: integer
  14119. deliverygoodsname:
  14120. description: 品种名称
  14121. type: string
  14122. deliverymonth:
  14123. description: 交收月
  14124. type: string
  14125. enumdicname:
  14126. description: 单位名称
  14127. type: string
  14128. haswr:
  14129. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14130. type: integer
  14131. marketid:
  14132. description: 市场ID
  14133. type: integer
  14134. matchaccountid:
  14135. description: 对手账号
  14136. type: integer
  14137. matchusername:
  14138. description: 对手方
  14139. type: string
  14140. optioncompare:
  14141. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14142. type: string
  14143. tradedate:
  14144. description: 交易日(yyyyMMdd)
  14145. type: string
  14146. tradeprice:
  14147. description: 成交价格
  14148. type: number
  14149. tradeqty:
  14150. description: 成交数量
  14151. type: number
  14152. tradetime:
  14153. description: 成交时间
  14154. type: string
  14155. userid:
  14156. description: 用户ID
  14157. type: integer
  14158. warehouseid:
  14159. description: 仓库ID
  14160. type: integer
  14161. warehousename:
  14162. description: 仓库名称
  14163. type: string
  14164. wrfactortypeid:
  14165. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14166. type: string
  14167. wrfactortypename:
  14168. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14169. type: string
  14170. wrstandardcode:
  14171. description: 现货商品代码
  14172. type: string
  14173. wrstandardid:
  14174. description: 现货商品ID
  14175. type: integer
  14176. wrstandardname:
  14177. description: 商品名称
  14178. type: string
  14179. wrtradedetailid:
  14180. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  14181. type: string
  14182. wrtradetype:
  14183. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14184. type: integer
  14185. wrtypename:
  14186. description: 商品
  14187. type: string
  14188. type: object
  14189. models.WrTypeItem:
  14190. properties:
  14191. name:
  14192. description: 名称
  14193. type: string
  14194. value:
  14195. description: 值
  14196. type: string
  14197. type: object
  14198. order.QueryHisTradeDetailRsp:
  14199. properties:
  14200. accountid:
  14201. description: 账户ID[报价币种]
  14202. type: integer
  14203. advanceratio:
  14204. description: 首付比率
  14205. type: number
  14206. buildtype:
  14207. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14208. type: integer
  14209. buyorsell:
  14210. description: 方向 - 0:买 1:卖
  14211. type: integer
  14212. charge:
  14213. description: 手续费
  14214. type: number
  14215. closecharge:
  14216. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14217. type: number
  14218. closeexchagechargevalue:
  14219. description: 平仓交易所手续费设置值
  14220. type: number
  14221. closefeealgorithm:
  14222. description: 平仓手续费收取方式 1:比率 2:固定
  14223. type: integer
  14224. closememberchargevalue:
  14225. description: 平仓会员手续费设置值
  14226. type: number
  14227. closepl:
  14228. description: 平仓盈亏
  14229. type: number
  14230. closepl2:
  14231. description: 平仓盈亏[逐笔]
  14232. type: number
  14233. closeqty:
  14234. description: 平仓数量(先建后平操作 需要记录)
  14235. type: number
  14236. creditamount:
  14237. description: 授信金额
  14238. type: number
  14239. decimalplace:
  14240. description: 商品报价小数位
  14241. type: integer
  14242. enumdicname:
  14243. description: 单位名称
  14244. type: string
  14245. gcaccountid:
  14246. description: 账户ID[合约币种]
  14247. type: integer
  14248. goodscode:
  14249. description: 商品代码
  14250. type: string
  14251. goodsid:
  14252. description: 商品ID
  14253. type: integer
  14254. goodsname:
  14255. description: 商品名称
  14256. type: string
  14257. goodunitid:
  14258. description: 商品单位id
  14259. type: integer
  14260. histradedate:
  14261. description: 历史交易日
  14262. type: string
  14263. intclosepl:
  14264. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14265. type: integer
  14266. isconfirmexercise:
  14267. description: 是否确认行权- 0:否 1:是
  14268. type: integer
  14269. ismain:
  14270. description: 是否主单 - 0:不是 1:是
  14271. type: integer
  14272. ispreexercise:
  14273. description: 是否预申报- 0:否 1:是
  14274. type: integer
  14275. isreckoned:
  14276. description: 是否结算 - 0:未结算 1:已结算
  14277. type: integer
  14278. isvaliddata:
  14279. description: 是否有效 - 0:无效 1:有效
  14280. type: integer
  14281. listingselecttype:
  14282. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14283. type: integer
  14284. marketid:
  14285. description: 市场ID
  14286. type: integer
  14287. marketname:
  14288. description: 市场名称
  14289. type: string
  14290. matchaccountid:
  14291. description: 对手账号id
  14292. type: integer
  14293. memberuserid:
  14294. description: 会员id 个人投资者 需要填写
  14295. type: integer
  14296. opencharge:
  14297. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14298. type: number
  14299. openexchagechargevalue:
  14300. description: 建仓交易所手续费设置值
  14301. type: number
  14302. openfeealgorithm:
  14303. description: 建仓手续费收取方式 1:比率 2:固定
  14304. type: integer
  14305. openmemberchargevalue:
  14306. description: 建仓会员手续费设置值
  14307. type: number
  14308. openqty:
  14309. description: 开仓数量(先建后平操作 需要记录)
  14310. type: number
  14311. optiontype:
  14312. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14313. type: integer
  14314. orderid:
  14315. description: 委托单号
  14316. type: string
  14317. payamount:
  14318. description: 支付金额(付款金额)
  14319. type: number
  14320. performanceplanid:
  14321. description: 履约计划ID[期权]
  14322. type: integer
  14323. performancestatus:
  14324. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14325. type: integer
  14326. preexerciseprice:
  14327. description: 预申报价格
  14328. type: number
  14329. premium:
  14330. description: 权利金 - [持仓单的权利金]
  14331. type: number
  14332. qtydecimalplace:
  14333. description: 商品报价小数位
  14334. type: integer
  14335. recvamount:
  14336. description: 到账金额 = 成交金额 - 手续费
  14337. type: number
  14338. relatedouttradeid:
  14339. description: 关联外部成交单ID
  14340. type: integer
  14341. status:
  14342. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14343. type: integer
  14344. totalamount:
  14345. description: 订单总额 = 成交金额 + 手续费
  14346. type: number
  14347. tradeamount:
  14348. description: 成交金额[账户币种,用于所有权]
  14349. type: number
  14350. tradedate:
  14351. description: 交易日(yyyyMMdd)
  14352. type: string
  14353. tradeid:
  14354. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14355. type: string
  14356. trademode:
  14357. description: 交易模式
  14358. type: integer
  14359. tradeprice:
  14360. description: 成交价格
  14361. type: number
  14362. tradeproperty:
  14363. description: 交易属性
  14364. type: integer
  14365. tradeqty:
  14366. description: 成交数量
  14367. type: number
  14368. tradetime:
  14369. description: 成交时间
  14370. type: string
  14371. tradetype:
  14372. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14373. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14374. type: integer
  14375. required:
  14376. - accountid
  14377. - buyorsell
  14378. - goodsid
  14379. - histradedate
  14380. - marketid
  14381. - memberuserid
  14382. - orderid
  14383. - tradeamount
  14384. - tradedate
  14385. - tradeid
  14386. - tradeprice
  14387. - tradeqty
  14388. - tradetime
  14389. type: object
  14390. order.QueryHisTradeOrderDetailRsp:
  14391. properties:
  14392. accountid:
  14393. description: 账户ID[报价币种]
  14394. type: integer
  14395. buildtype:
  14396. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14397. type: integer
  14398. buyorsell:
  14399. description: 买卖 - 0:买 1:卖
  14400. type: integer
  14401. cancelorderid:
  14402. description: 撤单单号(撤单时填写)
  14403. type: string
  14404. cancelqty:
  14405. description: 撤单数量
  14406. type: number
  14407. clientordertime:
  14408. description: 客户端委托时间
  14409. type: string
  14410. clientticket:
  14411. description: 客户端流水号
  14412. type: string
  14413. clienttype:
  14414. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14415. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14416. type: integer
  14417. closeexchagechargevalue:
  14418. description: 平仓交易所手续费设置值
  14419. type: number
  14420. closefeealgorithm:
  14421. description: 平仓手续费收取方式 1:比率 2:固定
  14422. type: integer
  14423. closefreezecharge:
  14424. description: 平仓冻结手续费(先建后平操作,需要记录)
  14425. type: number
  14426. closememberchargevalue:
  14427. description: 平仓会员手续费设置值
  14428. type: number
  14429. closeqty:
  14430. description: 平仓数量(先建后平操作 需要记录)
  14431. type: number
  14432. closetradeqty:
  14433. description: 平仓成交数量(先建后平操作,需要记录)
  14434. type: number
  14435. closeunfreezecharge:
  14436. description: 平仓解冻手续费(先建后平操作,需要记录)
  14437. type: number
  14438. decimalplace:
  14439. description: 商品报价小数位
  14440. type: integer
  14441. delistingtype:
  14442. description: 摘牌类型 - 1:价格最优 2:点选成交
  14443. type: integer
  14444. enumdicname:
  14445. description: 单位名称
  14446. type: string
  14447. freezecharge:
  14448. description: 冻结手续费
  14449. type: number
  14450. freezemargin:
  14451. description: 冻结保证金(冻结交易金额)
  14452. type: number
  14453. gcaccountid:
  14454. description: 账户ID[合约币种]
  14455. type: integer
  14456. goodscode:
  14457. description: 商品代码
  14458. type: string
  14459. goodsid:
  14460. description: 商品ID
  14461. type: integer
  14462. goodsname:
  14463. description: 商品名称
  14464. type: string
  14465. goodunitid:
  14466. description: 商品单位id
  14467. type: integer
  14468. histradedate:
  14469. description: 历史交易日
  14470. type: string
  14471. isconfirmexercise:
  14472. description: 是否确认行权- 0:否 1:是
  14473. type: integer
  14474. ispreexercise:
  14475. description: 是否预申报- 0:否 1:是
  14476. type: integer
  14477. isvaliddata:
  14478. description: 是否有效 - 0:无效 1:有效
  14479. type: integer
  14480. listingselecttype:
  14481. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14482. type: integer
  14483. marginalgorithm:
  14484. description: 保证金收取方式 1:比率 2:固定
  14485. type: integer
  14486. marginvalue:
  14487. description: 即市保证金设置值
  14488. type: number
  14489. marketid:
  14490. description: 市场ID
  14491. type: integer
  14492. marketmaxsub:
  14493. description: 市价最大偏移范围
  14494. type: number
  14495. marketname:
  14496. description: 市场名称
  14497. type: string
  14498. memberuserid:
  14499. description: 所属会员UserID
  14500. type: integer
  14501. openexchagechargevalue:
  14502. description: 建仓交易所手续费设置值
  14503. type: number
  14504. openfeealgorithm:
  14505. description: 建仓手续费收取方式 1:比率 2:固定
  14506. type: integer
  14507. openfreezecharge:
  14508. description: 开仓冻结手续费(先建后平操作,需要记录)
  14509. type: number
  14510. openmemberchargevalue:
  14511. description: 建仓会员手续费设置值
  14512. type: number
  14513. openqty:
  14514. description: 开仓数量(先建后平操作,需要记录)
  14515. type: number
  14516. opentradeqty:
  14517. description: 开仓成交数量(先建后平操作,需要记录)
  14518. type: number
  14519. openunfreezecharge:
  14520. description: 开仓解冻手续费(先建后平操作,需要记录)
  14521. type: number
  14522. operatetype:
  14523. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14524. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14525. 15:管理端协议转让
  14526. type: integer
  14527. operatorid:
  14528. description: 登录账号(LoginID)
  14529. type: integer
  14530. optiontype:
  14531. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14532. type: integer
  14533. orderid:
  14534. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14535. type: string
  14536. orderprice:
  14537. description: 委托价格
  14538. type: number
  14539. orderqty:
  14540. description: 委托数量
  14541. type: number
  14542. ordersrc:
  14543. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14544. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14545. type: integer
  14546. orderstatus:
  14547. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14548. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14549. 16:成交失败违约(荷兰式竞拍专用)
  14550. type: integer
  14551. ordertime:
  14552. description: 委托时间
  14553. type: string
  14554. preexerciseprice:
  14555. description: 预申报价格
  14556. type: number
  14557. premium:
  14558. description: 权利金
  14559. type: number
  14560. preorderid:
  14561. description: 关联预埋单号(止盈止损单时填写)
  14562. type: string
  14563. pricemode:
  14564. description: '取价方式 - 1:市价 2: 限价'
  14565. type: integer
  14566. qtydecimalplace:
  14567. description: 成交量小数位
  14568. type: integer
  14569. quoteid:
  14570. description: 报价单ID
  14571. type: integer
  14572. relatedid:
  14573. description: 关联单号(交割单)
  14574. type: string
  14575. retcode:
  14576. description: 错误代码
  14577. type: integer
  14578. sessionid:
  14579. description: 会话ID
  14580. type: integer
  14581. tradedate:
  14582. description: 交易日(yyyyMMdd)
  14583. type: string
  14584. trademode:
  14585. description: 交易模式
  14586. type: integer
  14587. tradeproperty:
  14588. description: 交易属性
  14589. type: integer
  14590. tradeqty:
  14591. description: 成交数量
  14592. type: number
  14593. unfreezecharge:
  14594. description: 解冻手续费
  14595. type: number
  14596. unfreezemargin:
  14597. description: 解冻保证金
  14598. type: number
  14599. updatetime:
  14600. description: 更新时间
  14601. type: string
  14602. uuid:
  14603. description: 发起端唯一id
  14604. type: string
  14605. validtime:
  14606. description: 有效期限
  14607. type: string
  14608. validtype:
  14609. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14610. type: integer
  14611. volumetype:
  14612. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14613. type: integer
  14614. required:
  14615. - accountid
  14616. - buildtype
  14617. - buyorsell
  14618. - goodsid
  14619. - histradedate
  14620. - marketid
  14621. - memberuserid
  14622. - operatetype
  14623. - orderid
  14624. - orderqty
  14625. - ordertime
  14626. - pricemode
  14627. - tradedate
  14628. - validtype
  14629. type: object
  14630. order.QueryTradeDetailRsp:
  14631. properties:
  14632. accountid:
  14633. description: 账户ID[报价币种]
  14634. type: integer
  14635. advanceratio:
  14636. description: 首付比率
  14637. type: number
  14638. buildtype:
  14639. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14640. type: integer
  14641. buyorsell:
  14642. description: 方向 - 0:买 1:卖
  14643. type: integer
  14644. charge:
  14645. description: 手续费
  14646. type: number
  14647. closecharge:
  14648. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14649. type: number
  14650. closeexchagechargevalue:
  14651. description: 平仓交易所手续费设置值
  14652. type: number
  14653. closefeealgorithm:
  14654. description: 平仓手续费收取方式 1:比率 2:固定
  14655. type: integer
  14656. closememberchargevalue:
  14657. description: 平仓会员手续费设置值
  14658. type: number
  14659. closepl:
  14660. description: 平仓盈亏
  14661. type: number
  14662. closepl2:
  14663. description: 平仓盈亏[逐笔]
  14664. type: number
  14665. closeqty:
  14666. description: 平仓数量(先建后平操作 需要记录)
  14667. type: number
  14668. creditamount:
  14669. description: 授信金额
  14670. type: number
  14671. decimalplace:
  14672. description: 商品报价小数位
  14673. type: integer
  14674. enumdicname:
  14675. description: 单位名称
  14676. type: string
  14677. gcaccountid:
  14678. description: 账户ID[合约币种]
  14679. type: integer
  14680. goodscode:
  14681. description: 商品代码
  14682. type: string
  14683. goodsid:
  14684. description: 商品ID
  14685. type: integer
  14686. goodsname:
  14687. description: 商品名称
  14688. type: string
  14689. goodunitid:
  14690. description: 商品单位id
  14691. type: integer
  14692. intclosepl:
  14693. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14694. type: integer
  14695. isconfirmexercise:
  14696. description: 是否确认行权- 0:否 1:是
  14697. type: integer
  14698. ismain:
  14699. description: 是否主单 - 0:不是 1:是
  14700. type: integer
  14701. ispreexercise:
  14702. description: 是否预申报- 0:否 1:是
  14703. type: integer
  14704. isreckoned:
  14705. description: 是否结算 - 0:未结算 1:已结算
  14706. type: integer
  14707. listingselecttype:
  14708. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14709. type: integer
  14710. marketid:
  14711. description: 市场ID
  14712. type: integer
  14713. marketname:
  14714. description: 市场名称
  14715. type: string
  14716. matchaccountid:
  14717. description: 对手账号id
  14718. type: integer
  14719. memberuserid:
  14720. description: 会员id 个人投资者 需要填写
  14721. type: integer
  14722. opencharge:
  14723. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14724. type: number
  14725. openexchagechargevalue:
  14726. description: 建仓交易所手续费设置值
  14727. type: number
  14728. openfeealgorithm:
  14729. description: 建仓手续费收取方式 1:比率 2:固定
  14730. type: integer
  14731. openmemberchargevalue:
  14732. description: 建仓会员手续费设置值
  14733. type: number
  14734. openqty:
  14735. description: 开仓数量(先建后平操作 需要记录)
  14736. type: number
  14737. optiontype:
  14738. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14739. type: integer
  14740. orderid:
  14741. description: 委托单号
  14742. type: string
  14743. payamount:
  14744. description: 支付金额(付款金额)
  14745. type: number
  14746. performanceplanid:
  14747. description: 履约计划ID[期权]
  14748. type: integer
  14749. performancestatus:
  14750. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14751. type: integer
  14752. preexerciseprice:
  14753. description: 预申报价格
  14754. type: number
  14755. premium:
  14756. description: 权利金 - [持仓单的权利金]
  14757. type: number
  14758. qtydecimalplace:
  14759. description: 商品报价小数位
  14760. type: integer
  14761. recvamount:
  14762. description: 到账金额 = 成交金额 - 手续费
  14763. type: number
  14764. relatedouttradeid:
  14765. description: 关联外部成交单ID
  14766. type: integer
  14767. status:
  14768. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14769. type: integer
  14770. totalamount:
  14771. description: 订单总额 = 成交金额 + 手续费
  14772. type: number
  14773. tradeamount:
  14774. description: 成交金额[账户币种,用于所有权]
  14775. type: number
  14776. tradedate:
  14777. description: 交易日(yyyyMMdd)
  14778. type: string
  14779. tradeid:
  14780. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14781. type: string
  14782. trademode:
  14783. description: 交易模式
  14784. type: integer
  14785. tradeprice:
  14786. description: 成交价格
  14787. type: number
  14788. tradeproperty:
  14789. description: 交易属性
  14790. type: integer
  14791. tradeqty:
  14792. description: 成交数量
  14793. type: number
  14794. tradetime:
  14795. description: 成交时间
  14796. type: string
  14797. tradetype:
  14798. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14799. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14800. type: integer
  14801. required:
  14802. - accountid
  14803. - buyorsell
  14804. - goodsid
  14805. - marketid
  14806. - memberuserid
  14807. - orderid
  14808. - tradeamount
  14809. - tradedate
  14810. - tradeid
  14811. - tradeprice
  14812. - tradeqty
  14813. - tradetime
  14814. type: object
  14815. order.QueryTradeOrderDetailRsp:
  14816. properties:
  14817. accountid:
  14818. description: 账户ID[报价币种]
  14819. type: integer
  14820. buildtype:
  14821. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14822. type: integer
  14823. buyorsell:
  14824. description: 买卖 - 0:买 1:卖
  14825. type: integer
  14826. cancelorderid:
  14827. description: 撤单单号(撤单时填写)
  14828. type: string
  14829. cancelqty:
  14830. description: 撤单数量
  14831. type: number
  14832. clienttype:
  14833. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14834. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14835. type: integer
  14836. closefreezecharge:
  14837. description: 平仓冻结手续费(先建后平操作,需要记录)
  14838. type: number
  14839. closeqty:
  14840. description: 平仓数量(先建后平操作 需要记录)
  14841. type: number
  14842. closetradeqty:
  14843. description: 平仓成交数量(先建后平操作,需要记录)
  14844. type: number
  14845. closeunfreezecharge:
  14846. description: 平仓解冻手续费(先建后平操作,需要记录)
  14847. type: number
  14848. decimalplace:
  14849. description: 商品报价小数位
  14850. type: integer
  14851. delistingtype:
  14852. description: 摘牌类型 - 1:价格最优 2:点选成交
  14853. type: integer
  14854. enableqty:
  14855. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  14856. type: number
  14857. enumdicname:
  14858. description: 单位名称
  14859. type: string
  14860. freezecharge:
  14861. description: 冻结手续费
  14862. type: number
  14863. freezemargin:
  14864. description: 冻结保证金(冻结交易金额)
  14865. type: number
  14866. goodscode:
  14867. description: 商品代码
  14868. type: string
  14869. goodsid:
  14870. description: 商品ID
  14871. type: integer
  14872. goodsname:
  14873. description: 商品名称
  14874. type: string
  14875. goodunitid:
  14876. description: 商品单位id
  14877. type: integer
  14878. listingselecttype:
  14879. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14880. type: integer
  14881. marketid:
  14882. description: 市场ID
  14883. type: integer
  14884. marketname:
  14885. description: 市场名称
  14886. type: string
  14887. openfreezecharge:
  14888. description: 开仓冻结手续费(先建后平操作,需要记录)
  14889. type: number
  14890. openqty:
  14891. description: 开仓数量(先建后平操作,需要记录)
  14892. type: number
  14893. opentradeqty:
  14894. description: 开仓成交数量(先建后平操作,需要记录)
  14895. type: number
  14896. openunfreezecharge:
  14897. description: 开仓解冻手续费(先建后平操作,需要记录)
  14898. type: number
  14899. operatetype:
  14900. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14901. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14902. 15:管理端协议转让
  14903. type: integer
  14904. operatorid:
  14905. description: 登录账号(LoginID)
  14906. type: integer
  14907. orderid:
  14908. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14909. type: string
  14910. orderprice:
  14911. description: 委托价格
  14912. type: number
  14913. orderqty:
  14914. description: 委托数量
  14915. type: number
  14916. ordersrc:
  14917. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14918. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14919. type: integer
  14920. orderstatus:
  14921. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14922. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14923. 16:成交失败违约(荷兰式竞拍专用)
  14924. type: integer
  14925. ordertime:
  14926. description: 委托时间
  14927. type: string
  14928. preorderid:
  14929. description: 关联预埋单号(止盈止损单时填写)
  14930. type: string
  14931. pricemode:
  14932. description: '取价方式 - 1:市价 2: 限价'
  14933. type: integer
  14934. qtydecimalplace:
  14935. description: 商品报价小数位
  14936. type: integer
  14937. relatedid:
  14938. description: 关联单号(交割单)
  14939. type: string
  14940. tradedate:
  14941. description: 交易日(yyyyMMdd)
  14942. type: string
  14943. trademode:
  14944. description: 交易模式
  14945. type: integer
  14946. tradeqty:
  14947. description: 成交数量
  14948. type: number
  14949. unfreezecharge:
  14950. description: 解冻手续费
  14951. type: number
  14952. unfreezemargin:
  14953. description: 解冻保证金
  14954. type: number
  14955. validtime:
  14956. description: 有效期限
  14957. type: string
  14958. validtype:
  14959. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14960. type: integer
  14961. volumetype:
  14962. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14963. type: integer
  14964. required:
  14965. - accountid
  14966. - buildtype
  14967. - buyorsell
  14968. - goodsid
  14969. - marketid
  14970. - operatetype
  14971. - orderqty
  14972. - ordertime
  14973. - pricemode
  14974. - tradedate
  14975. - validtype
  14976. type: object
  14977. order.QueryTradePositionRsp:
  14978. properties:
  14979. accountid:
  14980. description: 资金账户
  14981. type: integer
  14982. agreeunit:
  14983. description: 合约单位
  14984. type: number
  14985. averageprice:
  14986. description: 持仓均价
  14987. type: number
  14988. buyorsell:
  14989. description: 方向 - 0:买 1:卖
  14990. type: integer
  14991. closetotalqty:
  14992. description: 平仓总数量
  14993. type: number
  14994. curholderamount:
  14995. description: 当前持仓总金额[商品币种]
  14996. type: number
  14997. curpositionqty:
  14998. description: 当前持仓总数量
  14999. type: number
  15000. currencyid:
  15001. description: 报价货币ID
  15002. type: integer
  15003. curtdposition:
  15004. description: 期末今日头寸
  15005. type: number
  15006. decimalplace:
  15007. description: 报价小数位
  15008. type: integer
  15009. enableqty:
  15010. description: 可用量
  15011. type: number
  15012. fretdposition:
  15013. description: 冻结今日头寸
  15014. type: number
  15015. frozenqty:
  15016. description: 持仓冻结数量
  15017. type: number
  15018. goodscode:
  15019. description: 商品代码
  15020. type: string
  15021. goodsid:
  15022. description: 商品Id
  15023. type: integer
  15024. goodsname:
  15025. description: 商品名称
  15026. type: string
  15027. goodunit:
  15028. description: 报价单位
  15029. type: string
  15030. goodunitid:
  15031. description: 报价单位ID
  15032. type: integer
  15033. holderamount:
  15034. description: 期初持仓总金额[商品币种]
  15035. type: number
  15036. lastprice:
  15037. description: 最新价
  15038. type: number
  15039. marketamount:
  15040. description: 市值
  15041. type: number
  15042. marketid:
  15043. description: 所属市场ID
  15044. type: integer
  15045. openreqqty:
  15046. description: 开仓申请数量(用于比较最大持仓数量)
  15047. type: number
  15048. opentotalqty:
  15049. description: 开仓总数量
  15050. type: number
  15051. otherfrozenqty:
  15052. description: 持仓其他冻结数量(交割冻结)
  15053. type: number
  15054. positionpl:
  15055. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  15056. * 合约单位
  15057. type: number
  15058. positionplrate:
  15059. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  15060. type: number
  15061. positionqty:
  15062. description: 期初持仓数量
  15063. type: number
  15064. qtydecimalplace:
  15065. description: 成交量小数位
  15066. type: integer
  15067. tnqty:
  15068. description: T+N冻结总量
  15069. type: number
  15070. tnusedqty:
  15071. description: T+N使用量(可以使用T+N的冻结数量)
  15072. type: number
  15073. trademode:
  15074. description: 交易模式
  15075. type: integer
  15076. usedmargin:
  15077. description: 占用保证金[商品币种]
  15078. type: number
  15079. required:
  15080. - goodsid
  15081. type: object
  15082. quote.HistoryData:
  15083. properties:
  15084. c:
  15085. description: 收盘价
  15086. type: number
  15087. f:
  15088. description: 是否补充数据
  15089. type: boolean
  15090. h:
  15091. description: 最高价
  15092. type: number
  15093. hv:
  15094. description: 持仓量
  15095. type: integer
  15096. l:
  15097. description: 最低价
  15098. type: number
  15099. o:
  15100. description: 开盘价
  15101. type: number
  15102. s:
  15103. description: 结算价,日线周期(包括)以上才有
  15104. type: number
  15105. ts:
  15106. description: 时间
  15107. type: string
  15108. tt:
  15109. description: 总金额
  15110. type: number
  15111. tv:
  15112. description: 总量
  15113. type: integer
  15114. type: object
  15115. quote.HistoryTikData:
  15116. properties:
  15117. AV:
  15118. description: 卖量
  15119. type: integer
  15120. Ask:
  15121. description: 卖价
  15122. type: number
  15123. BV:
  15124. description: 买量
  15125. type: integer
  15126. Bid:
  15127. description: 买价
  15128. type: number
  15129. HI:
  15130. description: 单笔持仓
  15131. type: integer
  15132. HV:
  15133. description: 持仓量
  15134. type: integer
  15135. PE:
  15136. description: 现价
  15137. type: number
  15138. TDR:
  15139. description: 交易方向,0:买 1:卖
  15140. type: integer
  15141. TK:
  15142. description: 交易类型
  15143. type: integer
  15144. TS:
  15145. description: 行情时间文本
  15146. type: string
  15147. TT:
  15148. description: 现金额
  15149. type: number
  15150. Vol:
  15151. description: 现量
  15152. type: integer
  15153. type: object
  15154. quote.QueryQuoteDayRsp:
  15155. properties:
  15156. ask:
  15157. description: 卖1
  15158. type: number
  15159. ask2:
  15160. description: 卖2
  15161. type: number
  15162. ask3:
  15163. description: 卖3
  15164. type: number
  15165. ask4:
  15166. description: 卖4
  15167. type: number
  15168. ask5:
  15169. description: 卖5
  15170. type: number
  15171. ask6:
  15172. description: 卖6
  15173. type: number
  15174. ask7:
  15175. description: 卖7
  15176. type: number
  15177. ask8:
  15178. description: 卖8
  15179. type: number
  15180. ask9:
  15181. description: 卖9
  15182. type: number
  15183. ask10:
  15184. description: 卖10
  15185. type: number
  15186. askorderid:
  15187. description: 卖单号1
  15188. type: integer
  15189. askorderid2:
  15190. description: 卖单号2
  15191. type: integer
  15192. askorderid3:
  15193. description: 卖单号3
  15194. type: integer
  15195. askorderid4:
  15196. description: 卖单号4
  15197. type: integer
  15198. askorderid5:
  15199. description: 卖单号5
  15200. type: integer
  15201. askordervolume:
  15202. description: 卖单量1
  15203. type: integer
  15204. askordervolume2:
  15205. description: 卖单量2
  15206. type: integer
  15207. askordervolume3:
  15208. description: 卖单量3
  15209. type: integer
  15210. askordervolume4:
  15211. description: 卖单量4
  15212. type: integer
  15213. askordervolume5:
  15214. description: 卖单量5
  15215. type: integer
  15216. askordervolume6:
  15217. description: 卖单量6
  15218. type: integer
  15219. askordervolume7:
  15220. description: 卖单量7
  15221. type: integer
  15222. askordervolume8:
  15223. description: 卖单量8
  15224. type: integer
  15225. askordervolume9:
  15226. description: 卖单量9
  15227. type: integer
  15228. askordervolume10:
  15229. description: 卖单量10
  15230. type: integer
  15231. askqueueinfo:
  15232. description: 大利市卖港股用
  15233. type: string
  15234. askvolume:
  15235. description: 卖量1
  15236. type: integer
  15237. askvolume2:
  15238. description: 卖量2
  15239. type: integer
  15240. askvolume3:
  15241. description: 卖量3
  15242. type: integer
  15243. askvolume4:
  15244. description: 卖量4
  15245. type: integer
  15246. askvolume5:
  15247. description: 卖量5
  15248. type: integer
  15249. askvolume6:
  15250. description: 卖量6
  15251. type: integer
  15252. askvolume7:
  15253. description: 卖量7
  15254. type: integer
  15255. askvolume8:
  15256. description: 卖量8
  15257. type: integer
  15258. askvolume9:
  15259. description: 卖量9
  15260. type: integer
  15261. askvolume10:
  15262. description: 卖量10
  15263. type: integer
  15264. averageprice:
  15265. description: 均价
  15266. type: number
  15267. bid:
  15268. description: 买1
  15269. type: number
  15270. bid2:
  15271. description: 买2
  15272. type: number
  15273. bid3:
  15274. description: 买3
  15275. type: number
  15276. bid4:
  15277. description: 买4
  15278. type: number
  15279. bid5:
  15280. description: 买5
  15281. type: number
  15282. bid6:
  15283. description: 买6
  15284. type: number
  15285. bid7:
  15286. description: 买7
  15287. type: number
  15288. bid8:
  15289. description: 买8
  15290. type: number
  15291. bid9:
  15292. description: 买9
  15293. type: number
  15294. bid10:
  15295. description: 买10
  15296. type: number
  15297. bidorderid:
  15298. description: 买单号1
  15299. type: integer
  15300. bidorderid2:
  15301. description: 买单号2
  15302. type: integer
  15303. bidorderid3:
  15304. description: 买单号3
  15305. type: integer
  15306. bidorderid4:
  15307. description: 买单号4
  15308. type: integer
  15309. bidorderid5:
  15310. description: 买单号5
  15311. type: integer
  15312. bidordervolume:
  15313. description: 买单量1
  15314. type: integer
  15315. bidordervolume2:
  15316. description: 买单量2
  15317. type: integer
  15318. bidordervolume3:
  15319. description: 买单量3
  15320. type: integer
  15321. bidordervolume4:
  15322. description: 买单量4
  15323. type: integer
  15324. bidordervolume5:
  15325. description: 买单量5
  15326. type: integer
  15327. bidordervolume6:
  15328. description: 买单量6
  15329. type: integer
  15330. bidordervolume7:
  15331. description: 买单量7
  15332. type: integer
  15333. bidordervolume8:
  15334. description: 买单量8
  15335. type: integer
  15336. bidordervolume9:
  15337. description: 买单量9
  15338. type: integer
  15339. bidordervolume10:
  15340. description: 买单量10
  15341. type: integer
  15342. bidqueueinfo:
  15343. description: 大利市买港股用
  15344. type: string
  15345. bidvolume:
  15346. description: 买量1
  15347. type: integer
  15348. bidvolume2:
  15349. description: 买量2
  15350. type: integer
  15351. bidvolume3:
  15352. description: 买量3
  15353. type: integer
  15354. bidvolume4:
  15355. description: 买量4
  15356. type: integer
  15357. bidvolume5:
  15358. description: 买量5
  15359. type: integer
  15360. bidvolume6:
  15361. description: 买量6
  15362. type: integer
  15363. bidvolume7:
  15364. description: 买量7
  15365. type: integer
  15366. bidvolume8:
  15367. description: 买量8
  15368. type: integer
  15369. bidvolume9:
  15370. description: 买量9
  15371. type: integer
  15372. bidvolume10:
  15373. description: 买量10
  15374. type: integer
  15375. calloptionpremiums:
  15376. description: 认购期权1
  15377. type: integer
  15378. calloptionpremiums2:
  15379. description: 认购期权2
  15380. type: integer
  15381. calloptionpremiums3:
  15382. description: 认购期权3
  15383. type: integer
  15384. calloptionpremiums4:
  15385. description: 认购期权4
  15386. type: integer
  15387. calloptionpremiums5:
  15388. description: 认购期权5
  15389. type: integer
  15390. cleartime:
  15391. description: 清盘时间
  15392. type: integer
  15393. exchangecode:
  15394. description: 交易所代码
  15395. type: integer
  15396. exchangedate:
  15397. description: 交易日
  15398. type: integer
  15399. goodscode:
  15400. description: 商品代码
  15401. type: string
  15402. grepmarketprice:
  15403. description: 暗盘价 港股专用
  15404. type: number
  15405. highest:
  15406. description: 最高价
  15407. type: number
  15408. holdincrement:
  15409. description: 单笔持仓
  15410. type: integer
  15411. holdvolume:
  15412. description: 持仓
  15413. type: integer
  15414. iep:
  15415. description: 平衡价 港股专用
  15416. type: number
  15417. iev:
  15418. description: 平衡量 港股专用
  15419. type: number
  15420. inventory:
  15421. description: 库存
  15422. type: integer
  15423. iscleared:
  15424. description: 是否清盘标志
  15425. type: integer
  15426. issettled:
  15427. description: 是否结算标志
  15428. type: integer
  15429. last:
  15430. description: 最新价
  15431. type: number
  15432. lastlot:
  15433. description: 最新成交手数
  15434. type: integer
  15435. lasttime:
  15436. description: 行情时间(只有现价变化行情时间才变化)
  15437. type: string
  15438. lastturnover:
  15439. description: 最新成交金额
  15440. type: number
  15441. lastvolume:
  15442. description: 最新成交量
  15443. type: integer
  15444. limitdown:
  15445. description: 跌停价
  15446. type: number
  15447. limitup:
  15448. description: 涨停价
  15449. type: number
  15450. lowest:
  15451. description: 最低价
  15452. type: number
  15453. nontotalholdervolume:
  15454. description: 非交易持仓量
  15455. type: integer
  15456. nontotallot:
  15457. description: 非交易总手数
  15458. type: integer
  15459. nontotalturnover:
  15460. description: 非交易总金额
  15461. type: integer
  15462. nontotalvolume:
  15463. description: 非交易总量
  15464. type: integer
  15465. opened:
  15466. description: 开盘价
  15467. type: number
  15468. opentime:
  15469. description: 开盘时间
  15470. type: string
  15471. orderid:
  15472. description: 序号
  15473. type: integer
  15474. preclose:
  15475. description: 昨收
  15476. type: number
  15477. preholdvolume:
  15478. description: 昨持仓
  15479. type: integer
  15480. presettle:
  15481. description: 昨结价
  15482. type: number
  15483. publictradetype:
  15484. description: 公共交易标志类型 港股专用
  15485. type: string
  15486. putoptionpremiums:
  15487. description: 认沽期权1
  15488. type: integer
  15489. putoptionpremiums2:
  15490. description: 认沽期权2
  15491. type: integer
  15492. putoptionpremiums3:
  15493. description: 认沽期权3
  15494. type: integer
  15495. putoptionpremiums4:
  15496. description: 认沽期权4
  15497. type: integer
  15498. putoptionpremiums5:
  15499. description: 认沽期权5
  15500. type: integer
  15501. settle:
  15502. description: 结算价
  15503. type: number
  15504. strikeprice:
  15505. description: 发行价
  15506. type: number
  15507. totalaskvolume:
  15508. description: 内盘
  15509. type: integer
  15510. totalbidvolume:
  15511. description: 外盘
  15512. type: integer
  15513. totallot:
  15514. description: 总手数
  15515. type: integer
  15516. totalturnover:
  15517. description: 总金额
  15518. type: number
  15519. totalvolume:
  15520. description: 总量
  15521. type: integer
  15522. utclasttime:
  15523. description: utc的行情时间
  15524. type: string
  15525. type: object
  15526. quote.QueryTSDataRsp:
  15527. properties:
  15528. Count:
  15529. description: 交易日应有数据个数
  15530. type: integer
  15531. decimalPlace:
  15532. description: 小数位
  15533. type: integer
  15534. endTime:
  15535. description: 结束时间
  15536. type: string
  15537. goodsCode:
  15538. description: 商品代码
  15539. type: string
  15540. historyDatas:
  15541. description: 历史数据
  15542. items:
  15543. $ref: '#/definitions/quote.HistoryData'
  15544. type: array
  15545. outGoodsCode:
  15546. description: 外部商品代码
  15547. type: string
  15548. preSettle:
  15549. description: 昨结价
  15550. type: number
  15551. runSteps:
  15552. description: 交易日开休市计划
  15553. items:
  15554. $ref: '#/definitions/quote.TSDataRunStep'
  15555. type: array
  15556. startTime:
  15557. description: 开始时间
  15558. type: string
  15559. tradeDate:
  15560. description: 交易日
  15561. type: string
  15562. type: object
  15563. quote.TSDataRunStep:
  15564. properties:
  15565. end:
  15566. description: 真实结束时间
  15567. type: string
  15568. endflag:
  15569. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  15570. type: integer
  15571. endtime:
  15572. description: 结束时间(HH:mm)
  15573. type: string
  15574. endweekday:
  15575. description: 结束周几
  15576. type: integer
  15577. groupid:
  15578. description: 分组ID
  15579. type: integer
  15580. runstep:
  15581. description: 运行阶段 - 2:连续交易
  15582. type: integer
  15583. sectionid:
  15584. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  15585. 结束时间=结算时间 结束周几=结算周几
  15586. type: integer
  15587. start:
  15588. description: 真实开始时间
  15589. type: string
  15590. startflag:
  15591. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  15592. type: integer
  15593. starttime:
  15594. description: 起始时间(HH:mm)
  15595. type: string
  15596. startweekday:
  15597. description: 起始周几
  15598. type: integer
  15599. tradeweekday:
  15600. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  15601. type: integer
  15602. type: object
  15603. szdz.QueryConvertLogRsp:
  15604. properties:
  15605. accountid:
  15606. description: 资金账户ID
  15607. type: integer
  15608. clientticket:
  15609. description: 客户端流水号
  15610. type: string
  15611. converttype:
  15612. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  15613. type: integer
  15614. createtime:
  15615. description: 记账时间
  15616. type: string
  15617. daymaxvalue:
  15618. description: 配置当日最大转入限制
  15619. type: number
  15620. daymaxvalue2:
  15621. description: 配置当日最大转入限制(转入)
  15622. type: number
  15623. goodscode:
  15624. description: 商品代码
  15625. type: string
  15626. goodsname:
  15627. description: 商品名称
  15628. type: string
  15629. handlestatus:
  15630. description: 处理状态
  15631. type: integer
  15632. innergoodsid:
  15633. description: 内部商品ID
  15634. type: integer
  15635. inratio:
  15636. description: 配置转入比值
  15637. type: integer
  15638. invalue:
  15639. description: 目标值
  15640. type: number
  15641. logid:
  15642. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15643. type: integer
  15644. mobile:
  15645. description: 手机号码(加密存储)
  15646. type: string
  15647. outergoodscode:
  15648. description: 外部商品代码[JD\PD]
  15649. type: string
  15650. outratio:
  15651. description: 配置转出比值
  15652. type: integer
  15653. outvalue:
  15654. description: 源值
  15655. type: number
  15656. pddecimalplace:
  15657. description: PD小数位
  15658. type: integer
  15659. qty:
  15660. description: 数量
  15661. type: string
  15662. remark:
  15663. description: 备注
  15664. type: string
  15665. sessionid:
  15666. description: 会话ID
  15667. type: integer
  15668. timemaxvalue:
  15669. description: 配置单次最大转入限制
  15670. type: number
  15671. timemaxvalue2:
  15672. description: 配置单次最大转入限制(转入)
  15673. type: number
  15674. timeminvalue:
  15675. description: 配置单次最小数量限制
  15676. type: number
  15677. timeminvalue2:
  15678. description: 配置单次最小数量限制(转入)
  15679. type: number
  15680. tradedate:
  15681. description: 交易日(yyyyMMdd)
  15682. type: string
  15683. userid:
  15684. description: 用户ID
  15685. type: integer
  15686. required:
  15687. - logid
  15688. type: object
  15689. szdz.QueryGoodsPickupRsp:
  15690. properties:
  15691. accountid:
  15692. description: 账户ID
  15693. type: integer
  15694. address:
  15695. description: 提货人详细地址
  15696. type: string
  15697. auditer:
  15698. description: 审核人
  15699. type: integer
  15700. audittime:
  15701. description: 审核时间
  15702. type: string
  15703. cardnum:
  15704. description: 提货人证件号码
  15705. type: string
  15706. cardtypeid:
  15707. description: 提货人证件类型
  15708. type: integer
  15709. checkremark:
  15710. description: 审核备注
  15711. type: string
  15712. goodscode:
  15713. description: 商品代码
  15714. type: string
  15715. goodsid:
  15716. description: 商品ID
  15717. type: integer
  15718. goodsname:
  15719. description: 商品名称
  15720. type: string
  15721. handlestatus:
  15722. description: 处理状态
  15723. type: integer
  15724. marketid:
  15725. description: 市场ID
  15726. type: integer
  15727. phonenum:
  15728. description: 提货人联系方式
  15729. type: string
  15730. qty:
  15731. description: 提货数量
  15732. type: number
  15733. recivername:
  15734. description: 提货人姓名
  15735. type: string
  15736. reqtime:
  15737. description: 更新时间
  15738. type: string
  15739. takemode:
  15740. description: 提货方式 - 2:自提 3:配送
  15741. type: integer
  15742. takeorderid:
  15743. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15744. type: string
  15745. takeorderstatus:
  15746. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15747. type: integer
  15748. takeremark:
  15749. description: 提货备注
  15750. type: string
  15751. tradedate:
  15752. description: 交易日(yyyyMMdd)
  15753. type: string
  15754. userid:
  15755. description: 用户ID
  15756. type: integer
  15757. required:
  15758. - takeorderid
  15759. type: object
  15760. szdz.QueryRecieptOrderRsp:
  15761. properties:
  15762. accountName:
  15763. description: 所属账号名称(已脱敏)
  15764. type: string
  15765. accountid:
  15766. description: 资金账号
  15767. type: integer
  15768. buyorsell:
  15769. description: 方向 - 0:买 1:卖
  15770. type: integer
  15771. enableqty:
  15772. description: 可摘数量
  15773. type: integer
  15774. goodscode:
  15775. description: 商品代码
  15776. type: string
  15777. goodsid:
  15778. description: 商品ID
  15779. type: integer
  15780. goodsname:
  15781. description: 商品名称
  15782. type: string
  15783. orderid:
  15784. description: 委托单号
  15785. type: string
  15786. orderprice:
  15787. description: 委托价格
  15788. type: number
  15789. ordertime:
  15790. description: 委托时间
  15791. type: string
  15792. tradedate:
  15793. description: 交易日(yyyyMMdd)
  15794. type: string
  15795. required:
  15796. - ordertime
  15797. type: object
  15798. szdz.QuerySZDZTradePositionRsp:
  15799. properties:
  15800. accountid:
  15801. description: 账号Id
  15802. type: integer
  15803. agreeunit:
  15804. description: 合约单位
  15805. type: number
  15806. averageprice:
  15807. description: 持仓均价
  15808. type: number
  15809. buyorsell:
  15810. description: 方向 - 0:买 1:卖
  15811. type: integer
  15812. closetotalqty:
  15813. description: 平仓总数量
  15814. type: integer
  15815. curholderamount:
  15816. description: 当前持仓总金额
  15817. type: number
  15818. curpositionqty:
  15819. description: 当前持仓总数量
  15820. type: integer
  15821. currencyid:
  15822. description: 报价货币ID
  15823. type: integer
  15824. curtdposition:
  15825. description: 期末今日头寸
  15826. type: integer
  15827. decimalplace:
  15828. description: 报价小数位
  15829. type: integer
  15830. enableqty:
  15831. description: 可用量
  15832. type: integer
  15833. fretdposition:
  15834. description: 冻结今日头寸
  15835. type: integer
  15836. frozenqty:
  15837. description: 持仓冻结数量
  15838. type: integer
  15839. goodscode:
  15840. description: 商品代码(内部)
  15841. type: string
  15842. goodsid:
  15843. description: 商品Id
  15844. type: integer
  15845. goodsname:
  15846. description: 商品名称
  15847. type: string
  15848. goodunit:
  15849. description: 报价单位
  15850. type: string
  15851. goodunitid:
  15852. description: 报价单位ID
  15853. type: integer
  15854. holderamount:
  15855. description: 期初持仓总金额
  15856. type: number
  15857. marketid:
  15858. description: 市场ID
  15859. type: integer
  15860. openreqqty:
  15861. description: 开仓申请数量
  15862. type: integer
  15863. opentotalqty:
  15864. description: 开仓总数量
  15865. type: integer
  15866. otherfrozenqty:
  15867. description: 持仓其他冻结数量(交割冻结)
  15868. type: integer
  15869. positionqty:
  15870. description: 期初持仓数量
  15871. type: integer
  15872. szdz3freezqty:
  15873. description: 尚志大宗转换冻结总数量
  15874. type: integer
  15875. tnqty:
  15876. description: T+N冻结总量
  15877. type: integer
  15878. tnusedqty:
  15879. description: T+N使用量
  15880. type: integer
  15881. trademode:
  15882. description: 交易模式
  15883. type: integer
  15884. usedmargin:
  15885. description: 占用保证金
  15886. type: number
  15887. type: object
  15888. taaccount.QueryAmountLogRsp:
  15889. properties:
  15890. OPERATETYPENAME:
  15891. description: 资金操作类型名称
  15892. type: string
  15893. accountid:
  15894. description: 资金账户ID
  15895. type: integer
  15896. agoodscode:
  15897. description: 竞拍商品代码
  15898. type: string
  15899. agoodsname:
  15900. description: 竞拍商品名称
  15901. type: string
  15902. amount:
  15903. description: 资金金额
  15904. type: number
  15905. amountadjusttype:
  15906. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15907. type: integer
  15908. autoid:
  15909. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15910. type: integer
  15911. balance:
  15912. description: 期初余额
  15913. type: number
  15914. businesscode:
  15915. description: 业务编号
  15916. type: integer
  15917. createtime:
  15918. description: 发生时间
  15919. type: string
  15920. currencyid:
  15921. description: 币种ID
  15922. type: integer
  15923. currentbalance:
  15924. description: 期末余额(变动后金额)
  15925. type: number
  15926. dgoodscode:
  15927. description: 交割商品代码
  15928. type: string
  15929. dgoodsname:
  15930. description: 交割商品名称
  15931. type: string
  15932. goodscode:
  15933. description: 商品代码
  15934. type: string
  15935. goodsid:
  15936. description: 商品ID
  15937. type: integer
  15938. goodsname:
  15939. description: 商品名称
  15940. type: string
  15941. marketid:
  15942. description: 市场ID
  15943. type: integer
  15944. marketname:
  15945. description: 市场名称
  15946. type: string
  15947. moneyticket:
  15948. description: 资金流水号:银行端流水号
  15949. type: integer
  15950. operatetype:
  15951. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  15952. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  15953. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  15954. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  15955. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  15956. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  15957. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  15958. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  15959. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  15960. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  15961. type: integer
  15962. relationorderid:
  15963. description: 关联单号
  15964. type: string
  15965. remark:
  15966. description: 备注
  15967. type: string
  15968. trademode:
  15969. description: 交易模式
  15970. type: integer
  15971. required:
  15972. - accountid
  15973. - amount
  15974. - amountadjusttype
  15975. - autoid
  15976. - balance
  15977. - createtime
  15978. - currentbalance
  15979. - operatetype
  15980. type: object
  15981. taaccount.QueryHisAmountLogRsp:
  15982. properties:
  15983. OPERATETYPENAME:
  15984. description: 资金操作类型名称
  15985. type: string
  15986. accountid:
  15987. description: 资金账户ID
  15988. type: integer
  15989. agoodscode:
  15990. description: 竞拍商品代码
  15991. type: string
  15992. agoodsname:
  15993. description: 竞拍商品名称
  15994. type: string
  15995. amount:
  15996. description: 资金金额
  15997. type: number
  15998. amountadjusttype:
  15999. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16000. type: integer
  16001. autoid:
  16002. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16003. type: integer
  16004. balance:
  16005. description: 期初余额
  16006. type: number
  16007. businesscode:
  16008. description: 业务编号
  16009. type: integer
  16010. createtime:
  16011. description: 发生时间
  16012. type: string
  16013. currencyid:
  16014. description: 币种ID
  16015. type: integer
  16016. currentbalance:
  16017. description: 期末余额(变动后金额)
  16018. type: number
  16019. dgoodscode:
  16020. description: 交割商品代码
  16021. type: string
  16022. dgoodsname:
  16023. description: 交割商品名称
  16024. type: string
  16025. goodscode:
  16026. description: 商品代码
  16027. type: string
  16028. goodsid:
  16029. description: 商品ID
  16030. type: integer
  16031. goodsname:
  16032. description: 商品名称
  16033. type: string
  16034. histradedate:
  16035. description: 历史交易日
  16036. type: string
  16037. isvaliddata:
  16038. description: 是否有效 - 0:无效 1:有效
  16039. type: integer
  16040. marketid:
  16041. description: 市场ID
  16042. type: integer
  16043. marketname:
  16044. description: 市场名称
  16045. type: string
  16046. moneyticket:
  16047. description: 资金流水号:银行端流水号
  16048. type: integer
  16049. operatetype:
  16050. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16051. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16052. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16053. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16054. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16055. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16056. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16057. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16058. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16059. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16060. type: integer
  16061. relationorderid:
  16062. description: 关联单号
  16063. type: string
  16064. remark:
  16065. description: 备注
  16066. type: string
  16067. trademode:
  16068. description: 交易模式
  16069. type: integer
  16070. required:
  16071. - accountid
  16072. - amount
  16073. - amountadjusttype
  16074. - autoid
  16075. - balance
  16076. - createtime
  16077. - currentbalance
  16078. - histradedate
  16079. - operatetype
  16080. type: object
  16081. trade.QueryRecieptOrderRsp:
  16082. properties:
  16083. accountName:
  16084. description: 所属账号名称(已脱敏)
  16085. type: string
  16086. accountid:
  16087. description: 资金账号
  16088. type: integer
  16089. buyorsell:
  16090. description: 方向 - 0:买 1:卖
  16091. type: integer
  16092. enableqty:
  16093. description: 可摘数量
  16094. type: integer
  16095. goodscode:
  16096. description: 商品代码
  16097. type: string
  16098. goodsid:
  16099. description: 商品ID
  16100. type: integer
  16101. goodsname:
  16102. description: 商品名称
  16103. type: string
  16104. orderid:
  16105. description: 委托单号
  16106. type: string
  16107. orderprice:
  16108. description: 委托价格
  16109. type: number
  16110. ordertime:
  16111. description: 委托时间
  16112. type: string
  16113. tradedate:
  16114. description: 交易日(yyyyMMdd)
  16115. type: string
  16116. required:
  16117. - ordertime
  16118. type: object
  16119. user.LoginQueryRsp:
  16120. properties:
  16121. areaRoles:
  16122. description: 所属角色信息
  16123. items:
  16124. $ref: '#/definitions/models.Arearole'
  16125. type: array
  16126. externalExchanges:
  16127. description: 外部交易所
  16128. items:
  16129. $ref: '#/definitions/models.Externalexchange'
  16130. type: array
  16131. goodsgroups:
  16132. description: 商品组
  16133. items:
  16134. $ref: '#/definitions/models.Goodsgroup'
  16135. type: array
  16136. loginAccount:
  16137. $ref: '#/definitions/models.Loginaccount'
  16138. description: 登录账号
  16139. type: object
  16140. markets:
  16141. description: 市场
  16142. items:
  16143. $ref: '#/definitions/models.Market'
  16144. type: array
  16145. systemParams:
  16146. description: 系统参数
  16147. items:
  16148. $ref: '#/definitions/models.Systemparam'
  16149. type: array
  16150. userAccount:
  16151. $ref: '#/definitions/models.Useraccount'
  16152. description: 用户账号
  16153. type: object
  16154. userInfo:
  16155. $ref: '#/definitions/models.Userinfo'
  16156. description: 用户信息
  16157. type: object
  16158. username:
  16159. description: 用户姓名
  16160. type: string
  16161. type: object
  16162. info:
  16163. contact: {}
  16164. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  16165. license: {}
  16166. termsOfService: http://www.muchinfo.cn
  16167. title: MTP2.0 查询服务 API
  16168. version: "1.0"
  16169. paths:
  16170. /CPTrade/QueryCPTradeMyBidInfos:
  16171. get:
  16172. parameters:
  16173. - description: 资金账户
  16174. in: query
  16175. name: accountid
  16176. required: true
  16177. type: integer
  16178. - description: 预售市场ID
  16179. in: query
  16180. name: marketid
  16181. type: integer
  16182. - description: 预售商品ID
  16183. in: query
  16184. name: goodsid
  16185. type: integer
  16186. produces:
  16187. - application/json
  16188. responses:
  16189. "200":
  16190. description: OK
  16191. schema:
  16192. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  16193. "500":
  16194. description: Internal Server Error
  16195. schema:
  16196. $ref: '#/definitions/app.Response'
  16197. security:
  16198. - ApiKeyAuth: []
  16199. summary: 查询产能预售我的出价信息
  16200. tags:
  16201. - 产能预售
  16202. /CPTrade/QueryCPTradeOrderDetail:
  16203. get:
  16204. parameters:
  16205. - description: 预售商品ID
  16206. in: query
  16207. name: goodsid
  16208. type: integer
  16209. - description: 预售市场ID
  16210. in: query
  16211. name: marketid
  16212. type: integer
  16213. - description: 预售商品ID列表 - 格式:1,2,3
  16214. in: query
  16215. name: goodsids
  16216. type: string
  16217. produces:
  16218. - application/json
  16219. responses:
  16220. "200":
  16221. description: OK
  16222. schema:
  16223. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  16224. "500":
  16225. description: Internal Server Error
  16226. schema:
  16227. $ref: '#/definitions/app.Response'
  16228. security:
  16229. - ApiKeyAuth: []
  16230. summary: 查询产能预售委托单信息
  16231. tags:
  16232. - 产能预售
  16233. /CPTrade/QueryMyCPTradeGoods:
  16234. get:
  16235. parameters:
  16236. - description: 资金账户
  16237. in: query
  16238. name: accountid
  16239. required: true
  16240. type: integer
  16241. produces:
  16242. - application/json
  16243. responses:
  16244. "200":
  16245. description: OK
  16246. schema:
  16247. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  16248. "500":
  16249. description: Internal Server Error
  16250. schema:
  16251. $ref: '#/definitions/app.Response'
  16252. security:
  16253. - ApiKeyAuth: []
  16254. summary: 查询我的预售信息
  16255. tags:
  16256. - 产能预售
  16257. /CPTrade/QueryPositionCancel:
  16258. get:
  16259. parameters:
  16260. - description: 账户ID
  16261. in: query
  16262. name: userid
  16263. required: true
  16264. type: integer
  16265. - description: 注销ID
  16266. in: query
  16267. name: cancelid
  16268. type: integer
  16269. - description: 资金账户ID
  16270. in: query
  16271. name: accountid
  16272. type: integer
  16273. produces:
  16274. - application/json
  16275. responses:
  16276. "200":
  16277. description: OK
  16278. schema:
  16279. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  16280. "500":
  16281. description: Internal Server Error
  16282. schema:
  16283. $ref: '#/definitions/app.Response'
  16284. security:
  16285. - ApiKeyAuth: []
  16286. summary: 查询远期订单注销申请信息
  16287. tags:
  16288. - 产能预售
  16289. /CPTrade/QueryPreasleApply:
  16290. get:
  16291. parameters:
  16292. - description: 账户ID
  16293. in: query
  16294. name: userid
  16295. required: true
  16296. type: integer
  16297. - description: 申请ID
  16298. in: query
  16299. name: applyid
  16300. type: integer
  16301. - description: 资金账户ID
  16302. in: query
  16303. name: accountid
  16304. type: integer
  16305. produces:
  16306. - application/json
  16307. responses:
  16308. "200":
  16309. description: OK
  16310. schema:
  16311. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  16312. "500":
  16313. description: Internal Server Error
  16314. schema:
  16315. $ref: '#/definitions/app.Response'
  16316. security:
  16317. - ApiKeyAuth: []
  16318. summary: 查询产能预售申请信息
  16319. tags:
  16320. - 产能预售
  16321. /CPTrade/QueryPresaleGoodsEx:
  16322. get:
  16323. parameters:
  16324. - description: 预售商品ID
  16325. in: query
  16326. name: goodsid
  16327. type: integer
  16328. - description: 预售市场ID
  16329. in: query
  16330. name: marketid
  16331. type: integer
  16332. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  16333. in: query
  16334. name: presalemode
  16335. type: integer
  16336. - description: 预售商品ID列表 - 格式:1,2,3
  16337. in: query
  16338. name: goodsids
  16339. type: string
  16340. - description: 预售商品代码
  16341. in: query
  16342. name: goodscode
  16343. type: string
  16344. produces:
  16345. - application/json
  16346. responses:
  16347. "200":
  16348. description: OK
  16349. schema:
  16350. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  16351. "500":
  16352. description: Internal Server Error
  16353. schema:
  16354. $ref: '#/definitions/app.Response'
  16355. security:
  16356. - ApiKeyAuth: []
  16357. summary: 查询产能预售商品扩展信息
  16358. tags:
  16359. - 产能预售
  16360. /CPTrade/QueryUserGoodsData:
  16361. get:
  16362. parameters:
  16363. - description: 资金账户ID
  16364. in: query
  16365. name: accountid
  16366. required: true
  16367. type: integer
  16368. produces:
  16369. - application/json
  16370. responses:
  16371. "200":
  16372. description: OK
  16373. schema:
  16374. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  16375. "500":
  16376. description: Internal Server Error
  16377. schema:
  16378. $ref: '#/definitions/app.Response'
  16379. security:
  16380. - ApiKeyAuth: []
  16381. summary: 查询远期订单信息
  16382. tags:
  16383. - 产能预售
  16384. /Common/GetAllEnums:
  16385. get:
  16386. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  16387. parameters:
  16388. - description: 起始自增ID
  16389. in: query
  16390. name: autoid
  16391. type: integer
  16392. produces:
  16393. - application/json
  16394. responses:
  16395. "200":
  16396. description: OK
  16397. schema:
  16398. $ref: '#/definitions/models.Enumdicitem'
  16399. "500":
  16400. description: Internal Server Error
  16401. schema:
  16402. $ref: '#/definitions/app.Response'
  16403. summary: 获取所有枚举信息
  16404. tags:
  16405. - 通用服务
  16406. /Common/GetClientMenus:
  16407. get:
  16408. parameters:
  16409. - description: 登录账号
  16410. in: query
  16411. name: loginID
  16412. required: true
  16413. type: integer
  16414. - description: 终端类型,0:PC 1:Mobile
  16415. in: query
  16416. name: clientType
  16417. type: integer
  16418. produces:
  16419. - application/json
  16420. responses:
  16421. "200":
  16422. description: OK
  16423. schema:
  16424. items:
  16425. $ref: '#/definitions/common.ClientMenu'
  16426. type: array
  16427. "500":
  16428. description: Internal Server Error
  16429. schema:
  16430. $ref: '#/definitions/app.Response'
  16431. security:
  16432. - ApiKeyAuth: []
  16433. summary: 获取交易端菜单
  16434. tags:
  16435. - 通用服务
  16436. /Common/GetDivisions:
  16437. get:
  16438. produces:
  16439. - application/json
  16440. responses:
  16441. "200":
  16442. description: OK
  16443. schema:
  16444. $ref: '#/definitions/models.Division'
  16445. "500":
  16446. description: Internal Server Error
  16447. schema:
  16448. $ref: '#/definitions/app.Response'
  16449. summary: 查询区域信息
  16450. tags:
  16451. - 通用服务
  16452. /Common/GetServerTime:
  16453. get:
  16454. produces:
  16455. - application/json
  16456. responses:
  16457. "200":
  16458. description: OK
  16459. schema:
  16460. $ref: '#/definitions/app.Response'
  16461. "500":
  16462. description: Internal Server Error
  16463. schema:
  16464. $ref: '#/definitions/app.Response'
  16465. summary: 获取服务器时间
  16466. tags:
  16467. - 通用服务
  16468. /Common/NoticeReaded:
  16469. post:
  16470. parameters:
  16471. - description: 登录账号
  16472. in: query
  16473. name: loginID
  16474. required: true
  16475. type: integer
  16476. - description: 通知公告ID
  16477. in: query
  16478. name: noticeID
  16479. required: true
  16480. type: integer
  16481. produces:
  16482. - application/json
  16483. responses:
  16484. "200":
  16485. description: OK
  16486. schema:
  16487. $ref: '#/definitions/app.Response'
  16488. "500":
  16489. description: Internal Server Error
  16490. schema:
  16491. $ref: '#/definitions/app.Response'
  16492. security:
  16493. - ApiKeyAuth: []
  16494. summary: 通知公告设置已读请求
  16495. tags:
  16496. - 通用服务
  16497. /Common/QueryErrorInfos:
  16498. get:
  16499. description: 如果传入rowNumber,则返回此rowNumber后的数据
  16500. parameters:
  16501. - description: 起始行号前索引
  16502. in: query
  16503. name: rowNumber
  16504. type: string
  16505. produces:
  16506. - application/json
  16507. responses:
  16508. "200":
  16509. description: OK
  16510. schema:
  16511. $ref: '#/definitions/models.QueryErrorInfosRsp'
  16512. "500":
  16513. description: Internal Server Error
  16514. schema:
  16515. $ref: '#/definitions/app.Response'
  16516. summary: 获取数据库错误信息
  16517. tags:
  16518. - 通用服务
  16519. /Common/QueryImageConfigs:
  16520. get:
  16521. parameters:
  16522. - description: 用户id
  16523. in: query
  16524. name: userId
  16525. type: integer
  16526. - description: 类型 - 1:App首页轮播 2:我的
  16527. in: query
  16528. name: imageType
  16529. type: integer
  16530. produces:
  16531. - application/json
  16532. responses:
  16533. "200":
  16534. description: OK
  16535. schema:
  16536. $ref: '#/definitions/common.QueryImageConfigsRsp'
  16537. "500":
  16538. description: Internal Server Error
  16539. schema:
  16540. $ref: '#/definitions/app.Response'
  16541. summary: 查询轮播图配置信息
  16542. tags:
  16543. - 通用服务
  16544. /Common/QueryNotice:
  16545. get:
  16546. parameters:
  16547. - description: 页码
  16548. in: query
  16549. name: page
  16550. type: integer
  16551. - description: 每页条数
  16552. in: query
  16553. name: pagesize
  16554. type: integer
  16555. - description: 登录账号
  16556. in: query
  16557. name: loginID
  16558. required: true
  16559. type: integer
  16560. - description: 消息类型 - 1:公告通知 2:系统消息
  16561. in: query
  16562. name: msgType
  16563. type: integer
  16564. - description: 是否只获取未读信息
  16565. in: query
  16566. name: onlyUnRead
  16567. type: boolean
  16568. - description: 自增ID,传入后会返回这个ID后面的记录
  16569. in: query
  16570. name: lastID
  16571. type: integer
  16572. produces:
  16573. - application/json
  16574. responses:
  16575. "200":
  16576. description: OK
  16577. schema:
  16578. $ref: '#/definitions/common.QueryNoticeRsp'
  16579. "500":
  16580. description: Internal Server Error
  16581. schema:
  16582. $ref: '#/definitions/app.Response'
  16583. security:
  16584. - ApiKeyAuth: []
  16585. summary: 通知公告系统消息查询
  16586. tags:
  16587. - 通用服务
  16588. /Common/QueryProvincesAndCities:
  16589. get:
  16590. parameters:
  16591. - description: 省ID
  16592. in: query
  16593. name: provinceID
  16594. type: integer
  16595. produces:
  16596. - application/json
  16597. responses:
  16598. "200":
  16599. description: OK
  16600. schema:
  16601. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  16602. "500":
  16603. description: Internal Server Error
  16604. schema:
  16605. $ref: '#/definitions/app.Response'
  16606. summary: 查询省市信息(不包括区)
  16607. tags:
  16608. - 通用服务
  16609. /Common/QueryTableDefine:
  16610. get:
  16611. parameters:
  16612. - description: 表key
  16613. in: query
  16614. name: tableKey
  16615. type: string
  16616. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  16617. in: query
  16618. name: tableType
  16619. type: integer
  16620. produces:
  16621. - application/json
  16622. responses:
  16623. "200":
  16624. description: OK
  16625. schema:
  16626. $ref: '#/definitions/common.QueryTableDefineRsp'
  16627. "500":
  16628. description: Internal Server Error
  16629. schema:
  16630. $ref: '#/definitions/app.Response'
  16631. summary: 查询交易端列表头信息
  16632. tags:
  16633. - 通用服务
  16634. /Common/QueryTraderMenu:
  16635. get:
  16636. parameters:
  16637. - description: 登录账号
  16638. in: query
  16639. name: loginid
  16640. required: true
  16641. type: integer
  16642. produces:
  16643. - application/json
  16644. responses:
  16645. "200":
  16646. description: OK
  16647. schema:
  16648. $ref: '#/definitions/common.QueryTraderMenuRsp'
  16649. "500":
  16650. description: Internal Server Error
  16651. schema:
  16652. $ref: '#/definitions/app.Response'
  16653. summary: 查询交易端菜单
  16654. tags:
  16655. - 通用服务
  16656. /Delivery/QueryDeliveryRelation:
  16657. get:
  16658. parameters:
  16659. - description: 商品ID
  16660. in: query
  16661. name: goodsid
  16662. type: integer
  16663. - description: 品种ID
  16664. in: query
  16665. name: deliverygoodsid
  16666. type: integer
  16667. - description: 市场ID
  16668. in: query
  16669. name: marketid
  16670. type: integer
  16671. produces:
  16672. - application/json
  16673. responses:
  16674. "200":
  16675. description: OK
  16676. schema:
  16677. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  16678. "500":
  16679. description: Internal Server Error
  16680. schema:
  16681. $ref: '#/definitions/app.Response'
  16682. security:
  16683. - ApiKeyAuth: []
  16684. summary: 查询商品交割关系表
  16685. tags:
  16686. - 交割服务
  16687. /Ermcp/GetErmcpGoods:
  16688. get:
  16689. parameters:
  16690. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16691. in: query
  16692. name: lastUpdateTime
  16693. type: string
  16694. produces:
  16695. - application/json
  16696. responses:
  16697. "200":
  16698. description: OK
  16699. schema:
  16700. $ref: '#/definitions/models.ErmcpGoods'
  16701. "500":
  16702. description: Internal Server Error
  16703. schema:
  16704. $ref: '#/definitions/app.Response'
  16705. security:
  16706. - ApiKeyAuth: []
  16707. summary: 查询企业风管期货商品信息
  16708. tags:
  16709. - 企业风险管理(app)
  16710. /Ermcp/GetErmcpGoodsSortByPosition:
  16711. get:
  16712. parameters:
  16713. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  16714. in: query
  16715. name: sortIndex
  16716. type: string
  16717. produces:
  16718. - application/json
  16719. responses:
  16720. "200":
  16721. description: OK
  16722. schema:
  16723. $ref: '#/definitions/models.Goodssortbypreposition'
  16724. "500":
  16725. description: Internal Server Error
  16726. schema:
  16727. $ref: '#/definitions/app.Response'
  16728. security:
  16729. - ApiKeyAuth: []
  16730. summary: 查询企业风管期货主力、次主力商品信息
  16731. tags:
  16732. - 企业风险管理(app)
  16733. /Ermcp/GetErmcpOutAccountStatus:
  16734. get:
  16735. parameters:
  16736. - description: 登录账号
  16737. in: query
  16738. name: loginID
  16739. required: true
  16740. type: integer
  16741. produces:
  16742. - application/json
  16743. responses:
  16744. "200":
  16745. description: OK
  16746. schema:
  16747. $ref: '#/definitions/models.Hedgemarketopenlog'
  16748. "500":
  16749. description: Internal Server Error
  16750. schema:
  16751. $ref: '#/definitions/app.Response'
  16752. security:
  16753. - ApiKeyAuth: []
  16754. summary: 获取目标登录账号当前对冲账号在线状态
  16755. tags:
  16756. - 企业风险管理(app)
  16757. /Ermcp/GetErmcpRoleFuncMenuLists:
  16758. get:
  16759. parameters:
  16760. - description: 登录账号
  16761. in: query
  16762. name: loginID
  16763. required: true
  16764. type: integer
  16765. produces:
  16766. - application/json
  16767. responses:
  16768. "200":
  16769. description: OK
  16770. schema:
  16771. $ref: '#/definitions/models.Funcmenulist'
  16772. "500":
  16773. description: Internal Server Error
  16774. schema:
  16775. $ref: '#/definitions/app.Response'
  16776. security:
  16777. - ApiKeyAuth: []
  16778. summary: 获取企业风管终端权限
  16779. tags:
  16780. - 企业风险管理(app)
  16781. /Ermcp/QueryAccMgrBizGroupSet:
  16782. get:
  16783. parameters:
  16784. - description: 用户ID
  16785. in: query
  16786. name: userid
  16787. required: true
  16788. type: integer
  16789. - description: 现货商品id
  16790. in: query
  16791. name: deliverygoodsid
  16792. type: integer
  16793. produces:
  16794. - application/json
  16795. responses:
  16796. "200":
  16797. description: OK
  16798. schema:
  16799. items:
  16800. $ref: '#/definitions/models.ErmcpBizGroupEx'
  16801. type: array
  16802. "500":
  16803. description: Internal Server Error
  16804. schema:
  16805. $ref: '#/definitions/app.Response'
  16806. security:
  16807. - ApiKeyAuth: []
  16808. summary: 查询业务类型分组(账户管理/账户设置)
  16809. tags:
  16810. - 企业风险管理(app)
  16811. /Ermcp/QueryAccMgrLoginUser:
  16812. get:
  16813. parameters:
  16814. - description: 用户ID
  16815. in: query
  16816. name: userid
  16817. required: true
  16818. type: integer
  16819. - description: 用户类型 2-机构 7-企业成员
  16820. in: query
  16821. name: usertype
  16822. type: integer
  16823. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  16824. in: query
  16825. name: querytype
  16826. required: true
  16827. type: integer
  16828. produces:
  16829. - application/json
  16830. responses:
  16831. "200":
  16832. description: OK
  16833. schema:
  16834. items:
  16835. $ref: '#/definitions/models.ErmcpLoginUserEx'
  16836. type: array
  16837. "500":
  16838. description: Internal Server Error
  16839. schema:
  16840. $ref: '#/definitions/app.Response'
  16841. security:
  16842. - ApiKeyAuth: []
  16843. summary: 查询账户管理登录账号(账户管理/登录账号)
  16844. tags:
  16845. - 企业风险管理(app)
  16846. /Ermcp/QueryAccMgrMainAccountInfo:
  16847. get:
  16848. parameters:
  16849. - description: 用户ID
  16850. in: query
  16851. name: userid
  16852. type: integer
  16853. - description: 主账号id
  16854. in: query
  16855. name: accountid
  16856. type: integer
  16857. produces:
  16858. - application/json
  16859. responses:
  16860. "200":
  16861. description: OK
  16862. schema:
  16863. items:
  16864. $ref: '#/definitions/models.MainAccountInfo'
  16865. type: array
  16866. "500":
  16867. description: Internal Server Error
  16868. schema:
  16869. $ref: '#/definitions/app.Response'
  16870. security:
  16871. - ApiKeyAuth: []
  16872. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  16873. tags:
  16874. - 企业风险管理(app)
  16875. /Ermcp/QueryAccMgrRole:
  16876. get:
  16877. parameters:
  16878. - description: 用户ID
  16879. in: query
  16880. name: userid
  16881. required: true
  16882. type: integer
  16883. produces:
  16884. - application/json
  16885. responses:
  16886. "200":
  16887. description: OK
  16888. schema:
  16889. items:
  16890. $ref: '#/definitions/models.ErmcpRole'
  16891. type: array
  16892. "500":
  16893. description: Internal Server Error
  16894. schema:
  16895. $ref: '#/definitions/app.Response'
  16896. security:
  16897. - ApiKeyAuth: []
  16898. summary: 查询账户管理角色设置(账户管理/角色设置)
  16899. tags:
  16900. - 企业风险管理(app)
  16901. /Ermcp/QueryAccMgrRoleMenu:
  16902. get:
  16903. parameters:
  16904. - description: 用户ID
  16905. in: query
  16906. name: userid
  16907. required: true
  16908. type: integer
  16909. - description: 角色id(可多个,逗号隔开)
  16910. in: query
  16911. name: roleid
  16912. type: string
  16913. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  16914. in: query
  16915. name: menutype
  16916. type: integer
  16917. produces:
  16918. - application/json
  16919. responses:
  16920. "200":
  16921. description: OK
  16922. schema:
  16923. items:
  16924. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  16925. type: array
  16926. "500":
  16927. description: Internal Server Error
  16928. schema:
  16929. $ref: '#/definitions/app.Response'
  16930. security:
  16931. - ApiKeyAuth: []
  16932. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  16933. tags:
  16934. - 企业风险管理(app)
  16935. /Ermcp/QueryAccMgrTaAccountInfo:
  16936. get:
  16937. parameters:
  16938. - description: 用户ID
  16939. in: query
  16940. name: userid
  16941. required: true
  16942. type: integer
  16943. - description: 账号id
  16944. in: query
  16945. name: accountid
  16946. type: integer
  16947. produces:
  16948. - application/json
  16949. responses:
  16950. "200":
  16951. description: OK
  16952. schema:
  16953. items:
  16954. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  16955. type: array
  16956. "500":
  16957. description: Internal Server Error
  16958. schema:
  16959. $ref: '#/definitions/app.Response'
  16960. security:
  16961. - ApiKeyAuth: []
  16962. summary: 查询账户管理授信(账户管理/账户设置/授信)
  16963. tags:
  16964. - 企业风险管理(app)
  16965. /Ermcp/QueryAccMgrTaaccount:
  16966. get:
  16967. parameters:
  16968. - description: 用户ID
  16969. in: query
  16970. name: userid
  16971. required: true
  16972. type: integer
  16973. produces:
  16974. - application/json
  16975. responses:
  16976. "200":
  16977. description: OK
  16978. schema:
  16979. items:
  16980. $ref: '#/definitions/models.ErmcpTaAccountEx'
  16981. type: array
  16982. "500":
  16983. description: Internal Server Error
  16984. schema:
  16985. $ref: '#/definitions/app.Response'
  16986. security:
  16987. - ApiKeyAuth: []
  16988. summary: 查询账户管理期货账号(账户管理/期货账号)
  16989. tags:
  16990. - 企业风险管理(app)
  16991. /Ermcp/QueryAvaildGoodsGroup:
  16992. get:
  16993. parameters:
  16994. - description: 所属机构ID
  16995. in: query
  16996. name: userid
  16997. required: true
  16998. type: integer
  16999. produces:
  17000. - application/json
  17001. responses:
  17002. "200":
  17003. description: OK
  17004. schema:
  17005. items:
  17006. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  17007. type: array
  17008. "500":
  17009. description: Internal Server Error
  17010. schema:
  17011. $ref: '#/definitions/app.Response'
  17012. security:
  17013. - ApiKeyAuth: []
  17014. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  17015. tags:
  17016. - 企业风险管理(app)
  17017. /Ermcp/QueryBusinessDj:
  17018. get:
  17019. parameters:
  17020. - description: 用户ID
  17021. in: query
  17022. name: UserId
  17023. required: true
  17024. type: integer
  17025. - description: 用户类型 2-机构 7-企业成员
  17026. in: query
  17027. name: usertype
  17028. type: integer
  17029. - description: 现货合同ID, 不填则查所有
  17030. in: query
  17031. name: relatedid
  17032. type: string
  17033. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17034. in: query
  17035. name: applystatus
  17036. type: string
  17037. produces:
  17038. - application/json
  17039. responses:
  17040. "200":
  17041. description: OK
  17042. schema:
  17043. items:
  17044. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  17045. type: array
  17046. "500":
  17047. description: Internal Server Error
  17048. schema:
  17049. $ref: '#/definitions/app.Response'
  17050. security:
  17051. - ApiKeyAuth: []
  17052. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  17053. tags:
  17054. - 企业风险管理(app)
  17055. /Ermcp/QueryBusinessFp:
  17056. get:
  17057. parameters:
  17058. - description: 用户ID
  17059. in: query
  17060. name: UserId
  17061. required: true
  17062. type: integer
  17063. - description: 用户类型 2-机构 7-企业成员
  17064. in: query
  17065. name: usertype
  17066. type: integer
  17067. - description: 现货合同ID, 不填则查所有
  17068. in: query
  17069. name: relatedid
  17070. type: string
  17071. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17072. in: query
  17073. name: applystatus
  17074. type: string
  17075. produces:
  17076. - application/json
  17077. responses:
  17078. "200":
  17079. description: OK
  17080. schema:
  17081. items:
  17082. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  17083. type: array
  17084. "500":
  17085. description: Internal Server Error
  17086. schema:
  17087. $ref: '#/definitions/app.Response'
  17088. security:
  17089. - ApiKeyAuth: []
  17090. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  17091. tags:
  17092. - 企业风险管理(app)
  17093. /Ermcp/QueryBusinessJs:
  17094. get:
  17095. parameters:
  17096. - description: 用户ID
  17097. in: query
  17098. name: UserId
  17099. required: true
  17100. type: integer
  17101. - description: 用户类型 2-机构 7-企业成员
  17102. in: query
  17103. name: usertype
  17104. type: integer
  17105. - description: 现货合同ID, 不填则查所有
  17106. in: query
  17107. name: relatedid
  17108. type: string
  17109. - description: 操作申请id
  17110. in: query
  17111. name: operateapplyid
  17112. type: string
  17113. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17114. in: query
  17115. name: applystatus
  17116. type: string
  17117. produces:
  17118. - application/json
  17119. responses:
  17120. "200":
  17121. description: OK
  17122. schema:
  17123. items:
  17124. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  17125. type: array
  17126. "500":
  17127. description: Internal Server Error
  17128. schema:
  17129. $ref: '#/definitions/app.Response'
  17130. security:
  17131. - ApiKeyAuth: []
  17132. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  17133. tags:
  17134. - 企业风险管理(app)
  17135. /Ermcp/QueryBusinessJsEx:
  17136. get:
  17137. parameters:
  17138. - description: 用户ID
  17139. in: query
  17140. name: UserId
  17141. required: true
  17142. type: integer
  17143. - description: 用户类型 2-机构 7-企业成员
  17144. in: query
  17145. name: usertype
  17146. type: integer
  17147. - description: 现货合同ID, 不填则查所有
  17148. in: query
  17149. name: relatedid
  17150. type: string
  17151. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17152. in: query
  17153. name: applystatus
  17154. type: string
  17155. produces:
  17156. - application/json
  17157. responses:
  17158. "200":
  17159. description: OK
  17160. schema:
  17161. items:
  17162. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  17163. type: array
  17164. "500":
  17165. description: Internal Server Error
  17166. schema:
  17167. $ref: '#/definitions/app.Response'
  17168. security:
  17169. - ApiKeyAuth: []
  17170. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  17171. tags:
  17172. - 企业风险管理(app)
  17173. /Ermcp/QueryBusinessKx:
  17174. get:
  17175. parameters:
  17176. - description: 用户ID
  17177. in: query
  17178. name: UserId
  17179. required: true
  17180. type: integer
  17181. - description: 用户类型 2-机构 7-企业成员
  17182. in: query
  17183. name: usertype
  17184. type: integer
  17185. - description: 现货合同ID, 不填则查所有
  17186. in: query
  17187. name: relatedid
  17188. type: string
  17189. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17190. in: query
  17191. name: applystatus
  17192. type: string
  17193. produces:
  17194. - application/json
  17195. responses:
  17196. "200":
  17197. description: OK
  17198. schema:
  17199. items:
  17200. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  17201. type: array
  17202. "500":
  17203. description: Internal Server Error
  17204. schema:
  17205. $ref: '#/definitions/app.Response'
  17206. security:
  17207. - ApiKeyAuth: []
  17208. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  17209. tags:
  17210. - 企业风险管理(app)
  17211. /Ermcp/QueryChangeLog:
  17212. get:
  17213. parameters:
  17214. - description: 合同ID
  17215. in: query
  17216. name: RelatedId
  17217. required: true
  17218. type: string
  17219. produces:
  17220. - application/json
  17221. responses:
  17222. "200":
  17223. description: OK
  17224. schema:
  17225. items:
  17226. $ref: '#/definitions/ermcp.QryOPLogRsp'
  17227. type: array
  17228. "500":
  17229. description: Internal Server Error
  17230. schema:
  17231. $ref: '#/definitions/app.Response'
  17232. security:
  17233. - ApiKeyAuth: []
  17234. summary: 查询变更记录
  17235. tags:
  17236. - 企业风险管理(app)
  17237. /Ermcp/QueryErmcpHisOrderDetails:
  17238. get:
  17239. parameters:
  17240. - description: 资金账户ID
  17241. in: query
  17242. name: accountID
  17243. required: true
  17244. type: integer
  17245. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17246. in: query
  17247. name: startDate
  17248. type: string
  17249. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17250. in: query
  17251. name: endDate
  17252. type: string
  17253. produces:
  17254. - application/json
  17255. responses:
  17256. "200":
  17257. description: OK
  17258. schema:
  17259. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  17260. "500":
  17261. description: Internal Server Error
  17262. schema:
  17263. $ref: '#/definitions/app.Response'
  17264. security:
  17265. - ApiKeyAuth: []
  17266. summary: 获取企业风管期货历史委托单信息
  17267. tags:
  17268. - 企业风险管理(app)
  17269. /Ermcp/QueryErmcpHisTradeDetails:
  17270. get:
  17271. parameters:
  17272. - description: 资金账户ID
  17273. in: query
  17274. name: accountID
  17275. required: true
  17276. type: integer
  17277. - description: 商品ID
  17278. in: query
  17279. name: goodsID
  17280. type: integer
  17281. - description: 买卖方向,0:买 1:卖
  17282. in: query
  17283. name: buyOrSell
  17284. type: integer
  17285. - description: 关联委托单号
  17286. in: query
  17287. name: orderID
  17288. type: integer
  17289. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17290. in: query
  17291. name: startDate
  17292. type: string
  17293. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17294. in: query
  17295. name: endDate
  17296. type: string
  17297. produces:
  17298. - application/json
  17299. responses:
  17300. "200":
  17301. description: OK
  17302. schema:
  17303. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  17304. "500":
  17305. description: Internal Server Error
  17306. schema:
  17307. $ref: '#/definitions/app.Response'
  17308. security:
  17309. - ApiKeyAuth: []
  17310. summary: 获取企业风管期货历史成交单信息
  17311. tags:
  17312. - 企业风险管理(app)
  17313. /Ermcp/QueryErmcpInnerHolderDetails:
  17314. get:
  17315. parameters:
  17316. - description: 资金账户ID
  17317. in: query
  17318. name: accountID
  17319. required: true
  17320. type: integer
  17321. - description: 商品ID
  17322. in: query
  17323. name: goodsID
  17324. type: integer
  17325. - description: 买卖方向,0:买 1:卖
  17326. in: query
  17327. name: buyOrSell
  17328. type: integer
  17329. produces:
  17330. - application/json
  17331. responses:
  17332. "200":
  17333. description: OK
  17334. schema:
  17335. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  17336. "500":
  17337. description: Internal Server Error
  17338. schema:
  17339. $ref: '#/definitions/app.Response'
  17340. security:
  17341. - ApiKeyAuth: []
  17342. summary: 获取企业风管期货内部持仓单信息
  17343. tags:
  17344. - 企业风险管理(app)
  17345. /Ermcp/QueryErmcpOrderDetails:
  17346. get:
  17347. parameters:
  17348. - description: 资金账户ID
  17349. in: query
  17350. name: accountID
  17351. required: true
  17352. type: integer
  17353. produces:
  17354. - application/json
  17355. responses:
  17356. "200":
  17357. description: OK
  17358. schema:
  17359. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  17360. "500":
  17361. description: Internal Server Error
  17362. schema:
  17363. $ref: '#/definitions/app.Response'
  17364. security:
  17365. - ApiKeyAuth: []
  17366. summary: 获取企业风管期货委托单信息
  17367. tags:
  17368. - 企业风险管理(app)
  17369. /Ermcp/QueryErmcpTradeDetails:
  17370. get:
  17371. parameters:
  17372. - description: 资金账户ID
  17373. in: query
  17374. name: accountID
  17375. required: true
  17376. type: integer
  17377. - description: 商品ID
  17378. in: query
  17379. name: goodsID
  17380. type: integer
  17381. - description: 买卖方向,0:买 1:卖
  17382. in: query
  17383. name: buyOrSell
  17384. type: integer
  17385. - description: 关联委托单号
  17386. in: query
  17387. name: orderID
  17388. type: integer
  17389. produces:
  17390. - application/json
  17391. responses:
  17392. "200":
  17393. description: OK
  17394. schema:
  17395. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  17396. "500":
  17397. description: Internal Server Error
  17398. schema:
  17399. $ref: '#/definitions/app.Response'
  17400. security:
  17401. - ApiKeyAuth: []
  17402. summary: 获取企业风管期货成交单信息
  17403. tags:
  17404. - 企业风险管理(app)
  17405. /Ermcp/QueryErmcpTradePosition:
  17406. get:
  17407. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  17408. parameters:
  17409. - description: 资金账户ID
  17410. in: query
  17411. name: accountID
  17412. required: true
  17413. type: integer
  17414. - description: 所属市场ID
  17415. in: query
  17416. name: marketID
  17417. type: integer
  17418. produces:
  17419. - application/json
  17420. responses:
  17421. "200":
  17422. description: OK
  17423. schema:
  17424. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  17425. "500":
  17426. description: Internal Server Error
  17427. schema:
  17428. $ref: '#/definitions/app.Response'
  17429. security:
  17430. - ApiKeyAuth: []
  17431. summary: 获取企业风管期货持仓头寸信息
  17432. tags:
  17433. - 企业风险管理(app)
  17434. /Ermcp/QueryExposureDetail:
  17435. get:
  17436. parameters:
  17437. - description: 所属机构ID
  17438. in: query
  17439. name: areaUserId
  17440. required: true
  17441. type: integer
  17442. - description: 套保商品
  17443. in: query
  17444. name: middleGoodsId
  17445. required: true
  17446. type: integer
  17447. produces:
  17448. - application/json
  17449. responses:
  17450. "200":
  17451. description: OK
  17452. schema:
  17453. items:
  17454. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  17455. type: array
  17456. "500":
  17457. description: Internal Server Error
  17458. schema:
  17459. $ref: '#/definitions/app.Response'
  17460. security:
  17461. - ApiKeyAuth: []
  17462. summary: 查询敞口现货明细
  17463. tags:
  17464. - 企业风险管理(app)
  17465. /Ermcp/QueryExposureGoods:
  17466. get:
  17467. parameters:
  17468. - description: 套保商品id
  17469. in: query
  17470. name: middlegoodsid
  17471. required: true
  17472. type: integer
  17473. produces:
  17474. - application/json
  17475. responses:
  17476. "200":
  17477. description: OK
  17478. schema:
  17479. items:
  17480. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  17481. type: array
  17482. "500":
  17483. description: Internal Server Error
  17484. schema:
  17485. $ref: '#/definitions/app.Response'
  17486. security:
  17487. - ApiKeyAuth: []
  17488. summary: 查询敞口主力合约
  17489. tags:
  17490. - 企业风险管理(app)
  17491. /Ermcp/QueryExposureHedgePosition:
  17492. get:
  17493. parameters:
  17494. - description: 用户id
  17495. in: query
  17496. name: userid
  17497. required: true
  17498. type: integer
  17499. produces:
  17500. - application/json
  17501. responses:
  17502. "200":
  17503. description: OK
  17504. schema:
  17505. items:
  17506. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  17507. type: array
  17508. "500":
  17509. description: Internal Server Error
  17510. schema:
  17511. $ref: '#/definitions/app.Response'
  17512. security:
  17513. - ApiKeyAuth: []
  17514. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  17515. tags:
  17516. - 企业风险管理(app)
  17517. /Ermcp/QueryExposureHedgePositionDetail:
  17518. get:
  17519. parameters:
  17520. - description: 所属机构ID
  17521. in: query
  17522. name: userid
  17523. required: true
  17524. type: integer
  17525. - description: 商品id
  17526. in: query
  17527. name: goodsId
  17528. required: true
  17529. type: integer
  17530. produces:
  17531. - application/json
  17532. responses:
  17533. "200":
  17534. description: OK
  17535. schema:
  17536. items:
  17537. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  17538. type: array
  17539. "500":
  17540. description: Internal Server Error
  17541. schema:
  17542. $ref: '#/definitions/app.Response'
  17543. security:
  17544. - ApiKeyAuth: []
  17545. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  17546. tags:
  17547. - 企业风险管理(app)
  17548. /Ermcp/QueryExposureSpot:
  17549. get:
  17550. parameters:
  17551. - description: 所属机构ID
  17552. in: query
  17553. name: areaUserId
  17554. required: true
  17555. type: integer
  17556. produces:
  17557. - application/json
  17558. responses:
  17559. "200":
  17560. description: OK
  17561. schema:
  17562. items:
  17563. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  17564. type: array
  17565. "500":
  17566. description: Internal Server Error
  17567. schema:
  17568. $ref: '#/definitions/app.Response'
  17569. security:
  17570. - ApiKeyAuth: []
  17571. summary: 查询敞口现货头寸(敞口/现货头寸)
  17572. tags:
  17573. - 企业风险管理(app)
  17574. /Ermcp/QueryExposureSpotDetail:
  17575. get:
  17576. parameters:
  17577. - description: 所属机构ID
  17578. in: query
  17579. name: areaUserId
  17580. required: true
  17581. type: integer
  17582. - description: 现货品种ID
  17583. in: query
  17584. name: wrstandardId
  17585. required: true
  17586. type: integer
  17587. produces:
  17588. - application/json
  17589. responses:
  17590. "200":
  17591. description: OK
  17592. schema:
  17593. items:
  17594. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  17595. type: array
  17596. "500":
  17597. description: Internal Server Error
  17598. schema:
  17599. $ref: '#/definitions/app.Response'
  17600. security:
  17601. - ApiKeyAuth: []
  17602. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  17603. tags:
  17604. - 企业风险管理(app)
  17605. /Ermcp/QueryFuturesCompany:
  17606. get:
  17607. produces:
  17608. - application/json
  17609. responses:
  17610. "200":
  17611. description: OK
  17612. schema:
  17613. items:
  17614. $ref: '#/definitions/models.ErmcpFuturesCompany'
  17615. type: array
  17616. "500":
  17617. description: Internal Server Error
  17618. schema:
  17619. $ref: '#/definitions/app.Response'
  17620. security:
  17621. - ApiKeyAuth: []
  17622. summary: 查询期货公司
  17623. tags:
  17624. - 企业风险管理(app)
  17625. /Ermcp/QueryGGConvertConfig:
  17626. get:
  17627. parameters:
  17628. - description: 品种id(不填则查所有)
  17629. in: query
  17630. name: goodsgroupid
  17631. type: integer
  17632. produces:
  17633. - application/json
  17634. responses:
  17635. "200":
  17636. description: OK
  17637. schema:
  17638. items:
  17639. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  17640. type: array
  17641. "500":
  17642. description: Internal Server Error
  17643. schema:
  17644. $ref: '#/definitions/app.Response'
  17645. security:
  17646. - ApiKeyAuth: []
  17647. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  17648. tags:
  17649. - 企业风险管理(app)
  17650. /Ermcp/QueryGoodsBrand:
  17651. get:
  17652. parameters:
  17653. - description: 用户ID
  17654. in: query
  17655. name: userid
  17656. required: true
  17657. type: integer
  17658. - description: 现货商品ID
  17659. in: query
  17660. name: wrstandardid
  17661. type: integer
  17662. produces:
  17663. - application/json
  17664. responses:
  17665. "200":
  17666. description: OK
  17667. schema:
  17668. items:
  17669. $ref: '#/definitions/models.ErmcpGoodsBrand'
  17670. type: array
  17671. "500":
  17672. description: Internal Server Error
  17673. schema:
  17674. $ref: '#/definitions/app.Response'
  17675. security:
  17676. - ApiKeyAuth: []
  17677. summary: 查询商品品牌
  17678. tags:
  17679. - 企业风险管理(app)
  17680. /Ermcp/QueryGoodsModel:
  17681. get:
  17682. parameters:
  17683. - description: 用户ID
  17684. in: query
  17685. name: userid
  17686. required: true
  17687. type: integer
  17688. produces:
  17689. - application/json
  17690. responses:
  17691. "200":
  17692. description: OK
  17693. schema:
  17694. items:
  17695. $ref: '#/definitions/models.ErmcpGoodsModel'
  17696. type: array
  17697. "500":
  17698. description: Internal Server Error
  17699. schema:
  17700. $ref: '#/definitions/app.Response'
  17701. security:
  17702. - ApiKeyAuth: []
  17703. summary: 查询商品型号
  17704. tags:
  17705. - 企业风险管理(app)
  17706. /Ermcp/QueryHisExposure:
  17707. get:
  17708. parameters:
  17709. - description: 用户id
  17710. in: query
  17711. name: userid
  17712. required: true
  17713. type: integer
  17714. - description: 每个品种记录数
  17715. in: query
  17716. name: lastNum
  17717. required: true
  17718. type: integer
  17719. produces:
  17720. - application/json
  17721. responses:
  17722. "200":
  17723. description: OK
  17724. schema:
  17725. items:
  17726. $ref: '#/definitions/ermcp.HisExposureRsp'
  17727. type: array
  17728. "500":
  17729. description: Internal Server Error
  17730. schema:
  17731. $ref: '#/definitions/app.Response'
  17732. security:
  17733. - ApiKeyAuth: []
  17734. summary: 查询历史敞口(菜单:敞口/历史敞口)
  17735. tags:
  17736. - 企业风险管理(app)
  17737. /Ermcp/QueryMiddleGoods:
  17738. get:
  17739. parameters:
  17740. - description: 所属机构ID
  17741. in: query
  17742. name: userid
  17743. required: true
  17744. type: integer
  17745. - description: 状态 0-停用 1-正常
  17746. in: query
  17747. name: status
  17748. required: true
  17749. type: integer
  17750. produces:
  17751. - application/json
  17752. responses:
  17753. "200":
  17754. description: OK
  17755. schema:
  17756. items:
  17757. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  17758. type: array
  17759. "500":
  17760. description: Internal Server Error
  17761. schema:
  17762. $ref: '#/definitions/app.Response'
  17763. security:
  17764. - ApiKeyAuth: []
  17765. summary: 查询套保品种(菜单:套保品种)
  17766. tags:
  17767. - 企业风险管理(app)
  17768. /Ermcp/QueryMiddleGoodsChangeLog:
  17769. get:
  17770. parameters:
  17771. - description: 所属机构ID
  17772. in: query
  17773. name: userid
  17774. required: true
  17775. type: integer
  17776. - description: 套保品种id
  17777. in: query
  17778. name: middlegoodsid
  17779. required: true
  17780. type: integer
  17781. produces:
  17782. - application/json
  17783. responses:
  17784. "200":
  17785. description: OK
  17786. schema:
  17787. items:
  17788. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  17789. type: array
  17790. "500":
  17791. description: Internal Server Error
  17792. schema:
  17793. $ref: '#/definitions/app.Response'
  17794. security:
  17795. - ApiKeyAuth: []
  17796. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  17797. tags:
  17798. - 企业风险管理(app)
  17799. /Ermcp/QueryMiddleGoodsDetail:
  17800. get:
  17801. parameters:
  17802. - description: 所属机构ID
  17803. in: query
  17804. name: userid
  17805. required: true
  17806. type: integer
  17807. - description: 套保品种id
  17808. in: query
  17809. name: middlegoodsid
  17810. type: integer
  17811. produces:
  17812. - application/json
  17813. responses:
  17814. "200":
  17815. description: OK
  17816. schema:
  17817. items:
  17818. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  17819. type: array
  17820. "500":
  17821. description: Internal Server Error
  17822. schema:
  17823. $ref: '#/definitions/app.Response'
  17824. security:
  17825. - ApiKeyAuth: []
  17826. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  17827. tags:
  17828. - 企业风险管理(app)
  17829. /Ermcp/QueryPendingAuditInfo:
  17830. get:
  17831. parameters:
  17832. - description: 用户ID
  17833. in: query
  17834. name: UserId
  17835. required: true
  17836. type: integer
  17837. produces:
  17838. - application/json
  17839. responses:
  17840. "200":
  17841. description: OK
  17842. schema:
  17843. items:
  17844. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  17845. type: array
  17846. "500":
  17847. description: Internal Server Error
  17848. schema:
  17849. $ref: '#/definitions/app.Response'
  17850. security:
  17851. - ApiKeyAuth: []
  17852. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  17853. tags:
  17854. - 企业风险管理(app)
  17855. /Ermcp/QueryRealtimeExposure:
  17856. get:
  17857. parameters:
  17858. - description: 所属机构ID
  17859. in: query
  17860. name: userid
  17861. required: true
  17862. type: integer
  17863. produces:
  17864. - application/json
  17865. responses:
  17866. "200":
  17867. description: OK
  17868. schema:
  17869. items:
  17870. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  17871. type: array
  17872. "500":
  17873. description: Internal Server Error
  17874. schema:
  17875. $ref: '#/definitions/app.Response'
  17876. security:
  17877. - ApiKeyAuth: []
  17878. summary: 查询实时敞口
  17879. tags:
  17880. - 企业风险管理(app)
  17881. /Ermcp/QueryRealtimeExposurePosition:
  17882. get:
  17883. parameters:
  17884. - description: 用户id
  17885. in: query
  17886. name: userid
  17887. required: true
  17888. type: integer
  17889. - description: 套保商品ID
  17890. in: query
  17891. name: middleGoodsId
  17892. required: true
  17893. type: integer
  17894. produces:
  17895. - application/json
  17896. responses:
  17897. "200":
  17898. description: OK
  17899. schema:
  17900. items:
  17901. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  17902. type: array
  17903. "500":
  17904. description: Internal Server Error
  17905. schema:
  17906. $ref: '#/definitions/app.Response'
  17907. security:
  17908. - ApiKeyAuth: []
  17909. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  17910. tags:
  17911. - 企业风险管理(app)
  17912. /Ermcp/QueryRoleMenu:
  17913. get:
  17914. parameters:
  17915. - description: 登录ID
  17916. in: query
  17917. name: loginid
  17918. required: true
  17919. type: integer
  17920. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  17921. in: query
  17922. name: menutype
  17923. type: integer
  17924. produces:
  17925. - application/json
  17926. responses:
  17927. "200":
  17928. description: OK
  17929. schema:
  17930. items:
  17931. $ref: '#/definitions/models.RoleMenu'
  17932. type: array
  17933. "500":
  17934. description: Internal Server Error
  17935. schema:
  17936. $ref: '#/definitions/app.Response'
  17937. security:
  17938. - ApiKeyAuth: []
  17939. summary: 查询角色菜单和权限
  17940. tags:
  17941. - 企业风险管理(app)
  17942. /Ermcp/QueryTradeConfigTMP:
  17943. get:
  17944. parameters:
  17945. - description: 所属机构id
  17946. in: query
  17947. name: areauserid
  17948. type: integer
  17949. produces:
  17950. - application/json
  17951. responses:
  17952. "200":
  17953. description: OK
  17954. schema:
  17955. items:
  17956. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  17957. type: array
  17958. "500":
  17959. description: Internal Server Error
  17960. schema:
  17961. $ref: '#/definitions/app.Response'
  17962. security:
  17963. - ApiKeyAuth: []
  17964. summary: 查询交易模板配置
  17965. tags:
  17966. - 企业风险管理(app)
  17967. /Ermcp/QueryUserInfo:
  17968. get:
  17969. parameters:
  17970. - description: 所属机构用户ID
  17971. in: query
  17972. name: MemberUserID
  17973. required: true
  17974. type: integer
  17975. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  17976. in: query
  17977. name: queryType
  17978. required: true
  17979. type: integer
  17980. produces:
  17981. - application/json
  17982. responses:
  17983. "200":
  17984. description: OK
  17985. schema:
  17986. items:
  17987. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  17988. type: array
  17989. "500":
  17990. description: Internal Server Error
  17991. schema:
  17992. $ref: '#/definitions/app.Response'
  17993. security:
  17994. - ApiKeyAuth: []
  17995. summary: 查询客户资料
  17996. tags:
  17997. - 企业风险管理(app)
  17998. /Ermcp/QueryWarehouseInfo:
  17999. get:
  18000. parameters:
  18001. - description: 用户ID
  18002. in: query
  18003. name: userid
  18004. required: true
  18005. type: integer
  18006. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  18007. in: query
  18008. name: status
  18009. type: string
  18010. produces:
  18011. - application/json
  18012. responses:
  18013. "200":
  18014. description: OK
  18015. schema:
  18016. items:
  18017. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  18018. type: array
  18019. "500":
  18020. description: Internal Server Error
  18021. schema:
  18022. $ref: '#/definitions/app.Response'
  18023. security:
  18024. - ApiKeyAuth: []
  18025. summary: 查询仓库信息
  18026. tags:
  18027. - 企业风险管理(app)
  18028. /Ermcp3/QryAreaExpourseContractDetail:
  18029. get:
  18030. parameters:
  18031. - description: 用户ID
  18032. in: query
  18033. name: userid
  18034. required: true
  18035. type: integer
  18036. - description: 套保商品id
  18037. in: query
  18038. name: middlegoodsid
  18039. required: true
  18040. type: integer
  18041. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18042. in: query
  18043. name: cycletype
  18044. required: true
  18045. type: integer
  18046. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18047. 全(0)【原值】
  18048. in: query
  18049. name: cycletime
  18050. required: true
  18051. type: string
  18052. produces:
  18053. - application/json
  18054. responses:
  18055. "200":
  18056. description: OK
  18057. schema:
  18058. items:
  18059. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  18060. type: array
  18061. "500":
  18062. description: Internal Server Error
  18063. schema:
  18064. $ref: '#/definitions/app.Response'
  18065. security:
  18066. - ApiKeyAuth: []
  18067. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  18068. tags:
  18069. - 企业风险管理v3(app)
  18070. /Ermcp3/QryAreaExpourseFutuDetail:
  18071. get:
  18072. parameters:
  18073. - description: 用户ID
  18074. in: query
  18075. name: userid
  18076. required: true
  18077. type: integer
  18078. - description: 套保商品id
  18079. in: query
  18080. name: middlegoodsid
  18081. required: true
  18082. type: integer
  18083. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18084. in: query
  18085. name: cycletype
  18086. required: true
  18087. type: integer
  18088. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18089. 全(0)【原值】
  18090. in: query
  18091. name: cycletime
  18092. required: true
  18093. type: string
  18094. produces:
  18095. - application/json
  18096. responses:
  18097. "200":
  18098. description: OK
  18099. schema:
  18100. items:
  18101. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  18102. type: array
  18103. "500":
  18104. description: Internal Server Error
  18105. schema:
  18106. $ref: '#/definitions/app.Response'
  18107. security:
  18108. - ApiKeyAuth: []
  18109. summary: 查询敞口期货明细(敞口报表/期货明细)
  18110. tags:
  18111. - 企业风险管理v3(app)
  18112. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  18113. get:
  18114. parameters:
  18115. - description: 用户ID
  18116. in: query
  18117. name: userid
  18118. required: true
  18119. type: integer
  18120. - description: 套保商品id
  18121. in: query
  18122. name: middlegoodsid
  18123. required: true
  18124. type: integer
  18125. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18126. in: query
  18127. name: cycletype
  18128. required: true
  18129. type: integer
  18130. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18131. 全(0)【原值】
  18132. in: query
  18133. name: cycletime
  18134. required: true
  18135. type: string
  18136. produces:
  18137. - application/json
  18138. responses:
  18139. "200":
  18140. description: OK
  18141. schema:
  18142. items:
  18143. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  18144. type: array
  18145. "500":
  18146. description: Internal Server Error
  18147. schema:
  18148. $ref: '#/definitions/app.Response'
  18149. security:
  18150. - ApiKeyAuth: []
  18151. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  18152. tags:
  18153. - 企业风险管理v3(app)
  18154. /Ermcp3/QryAreaExpourseParamChLogDetail:
  18155. get:
  18156. parameters:
  18157. - description: 用户ID
  18158. in: query
  18159. name: userid
  18160. required: true
  18161. type: integer
  18162. - description: 套保商品id
  18163. in: query
  18164. name: middlegoodsid
  18165. required: true
  18166. type: integer
  18167. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18168. in: query
  18169. name: cycletype
  18170. required: true
  18171. type: integer
  18172. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18173. 全(0)【原值】
  18174. in: query
  18175. name: cycletime
  18176. required: true
  18177. type: string
  18178. produces:
  18179. - application/json
  18180. responses:
  18181. "200":
  18182. description: OK
  18183. schema:
  18184. items:
  18185. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  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. - 企业风险管理v3(app)
  18196. /Ermcp3/QryAreaExpourseReport:
  18197. get:
  18198. parameters:
  18199. - description: 用户ID
  18200. in: query
  18201. name: userid
  18202. required: true
  18203. type: integer
  18204. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  18205. in: query
  18206. name: querytype
  18207. required: true
  18208. type: integer
  18209. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18210. in: query
  18211. name: cycletype
  18212. required: true
  18213. type: integer
  18214. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18215. 全(0)【原值】
  18216. in: query
  18217. name: cycletime
  18218. required: true
  18219. type: string
  18220. produces:
  18221. - application/json
  18222. responses:
  18223. "200":
  18224. description: OK
  18225. schema:
  18226. items:
  18227. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  18228. type: array
  18229. "500":
  18230. description: Internal Server Error
  18231. schema:
  18232. $ref: '#/definitions/app.Response'
  18233. security:
  18234. - ApiKeyAuth: []
  18235. summary: 查询敞口报表
  18236. tags:
  18237. - 企业风险管理v3(app)
  18238. /Ermcp3/QryAreaSpotplReport:
  18239. get:
  18240. parameters:
  18241. - description: 用户ID
  18242. in: query
  18243. name: userid
  18244. required: true
  18245. type: integer
  18246. - description: 查询类型 1-报表 2-报表明细
  18247. in: query
  18248. name: querytype
  18249. required: true
  18250. type: integer
  18251. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18252. in: query
  18253. name: cycletype
  18254. required: true
  18255. type: integer
  18256. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18257. 全(0)【原值】
  18258. in: query
  18259. name: cycletime
  18260. required: true
  18261. type: string
  18262. - description: 现货品种id(明细必填)
  18263. in: query
  18264. name: deliverygoodsid
  18265. type: integer
  18266. - description: 币种id(明细必填)
  18267. in: query
  18268. name: currencyid
  18269. type: integer
  18270. produces:
  18271. - application/json
  18272. responses:
  18273. "200":
  18274. description: OK
  18275. schema:
  18276. items:
  18277. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  18278. type: array
  18279. "500":
  18280. description: Internal Server Error
  18281. schema:
  18282. $ref: '#/definitions/app.Response'
  18283. security:
  18284. - ApiKeyAuth: []
  18285. summary: 查询现货报表
  18286. tags:
  18287. - 企业风险管理v3(app)
  18288. /Ermcp3/QryAreaStockReport:
  18289. get:
  18290. parameters:
  18291. - description: 用户ID
  18292. in: query
  18293. name: userid
  18294. required: true
  18295. type: integer
  18296. - description: 查询类型 1-报表 2-报表明细
  18297. in: query
  18298. name: querytype
  18299. required: true
  18300. type: integer
  18301. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18302. in: query
  18303. name: cycletype
  18304. required: true
  18305. type: integer
  18306. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18307. 全(0)【原值】
  18308. in: query
  18309. name: cycletime
  18310. required: true
  18311. type: string
  18312. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  18313. in: query
  18314. name: sumfields
  18315. type: string
  18316. - description: 品种ID
  18317. in: query
  18318. name: deliverygoodsid
  18319. type: integer
  18320. - description: 品类ID
  18321. in: query
  18322. name: wrstandardid
  18323. type: integer
  18324. - description: 品牌ID
  18325. in: query
  18326. name: spotgoodsbrandid
  18327. type: integer
  18328. - description: 仓库ID
  18329. in: query
  18330. name: warehouseinfoid
  18331. type: integer
  18332. produces:
  18333. - application/json
  18334. responses:
  18335. "200":
  18336. description: OK
  18337. schema:
  18338. items:
  18339. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  18340. type: array
  18341. "500":
  18342. description: Internal Server Error
  18343. schema:
  18344. $ref: '#/definitions/app.Response'
  18345. security:
  18346. - ApiKeyAuth: []
  18347. summary: 查询库存报表
  18348. tags:
  18349. - 企业风险管理v3(app)
  18350. /Ermcp3/QryAreaSumPL:
  18351. get:
  18352. parameters:
  18353. - description: 用户ID
  18354. in: query
  18355. name: userid
  18356. required: true
  18357. type: integer
  18358. - description: 查询类型 1-报表 2-报表明细
  18359. in: query
  18360. name: querytype
  18361. required: true
  18362. type: integer
  18363. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18364. in: query
  18365. name: cycletype
  18366. required: true
  18367. type: integer
  18368. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18369. 全(0)【原值】
  18370. in: query
  18371. name: cycletime
  18372. required: true
  18373. type: string
  18374. - description: 币种id(明细必填)
  18375. in: query
  18376. name: currencyid
  18377. type: integer
  18378. produces:
  18379. - application/json
  18380. responses:
  18381. "200":
  18382. description: OK
  18383. schema:
  18384. items:
  18385. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  18386. type: array
  18387. "500":
  18388. description: Internal Server Error
  18389. schema:
  18390. $ref: '#/definitions/app.Response'
  18391. security:
  18392. - ApiKeyAuth: []
  18393. summary: 查询汇总损益表
  18394. tags:
  18395. - 企业风险管理v3(app)
  18396. /Ermcp3/QryFinanceReport:
  18397. get:
  18398. parameters:
  18399. - description: 用户ID
  18400. in: query
  18401. name: userid
  18402. required: true
  18403. type: integer
  18404. - description: 查询类型 1-报表 2-报表明细
  18405. in: query
  18406. name: querytype
  18407. required: true
  18408. type: integer
  18409. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18410. in: query
  18411. name: cycletype
  18412. required: true
  18413. type: integer
  18414. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18415. 全(0)【原值】
  18416. in: query
  18417. name: cycletime
  18418. required: true
  18419. type: string
  18420. - description: 币种id(报表明细必填)
  18421. in: query
  18422. name: currencyid
  18423. type: integer
  18424. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  18425. in: query
  18426. name: sumfields
  18427. type: string
  18428. produces:
  18429. - application/json
  18430. responses:
  18431. "200":
  18432. description: OK
  18433. schema:
  18434. items:
  18435. $ref: '#/definitions/models.Ermcp3FinanceReport'
  18436. type: array
  18437. "500":
  18438. description: Internal Server Error
  18439. schema:
  18440. $ref: '#/definitions/app.Response'
  18441. security:
  18442. - ApiKeyAuth: []
  18443. summary: 查询财务报表
  18444. tags:
  18445. - 企业风险管理v3(app)
  18446. /Ermcp3/QryTaFutureDataReport:
  18447. get:
  18448. parameters:
  18449. - description: 用户ID
  18450. in: query
  18451. name: userid
  18452. required: true
  18453. type: integer
  18454. - description: 查询类型 1-报表 2-报表明细
  18455. in: query
  18456. name: querytype
  18457. required: true
  18458. type: integer
  18459. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18460. in: query
  18461. name: cycletype
  18462. required: true
  18463. type: integer
  18464. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18465. 全(0)【原值】
  18466. in: query
  18467. name: cycletime
  18468. required: true
  18469. type: string
  18470. - description: 币种id(查明细必填)
  18471. in: query
  18472. name: currencyid
  18473. type: integer
  18474. - description: 品种id(查明细必填)
  18475. in: query
  18476. name: goodsgroupid
  18477. type: integer
  18478. - description: 商品id(查明细必填)
  18479. in: query
  18480. name: goodsid
  18481. type: integer
  18482. - description: 买卖方向(查明细必填)
  18483. in: query
  18484. name: buyorsell
  18485. type: integer
  18486. produces:
  18487. - application/json
  18488. responses:
  18489. "200":
  18490. description: OK
  18491. schema:
  18492. items:
  18493. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  18494. type: array
  18495. "500":
  18496. description: Internal Server Error
  18497. schema:
  18498. $ref: '#/definitions/app.Response'
  18499. security:
  18500. - ApiKeyAuth: []
  18501. summary: 查询期货报表
  18502. tags:
  18503. - 企业风险管理v3(app)
  18504. /Ermcp3/QueryAreaStock:
  18505. get:
  18506. parameters:
  18507. - description: 用户ID
  18508. in: query
  18509. name: userid
  18510. required: true
  18511. type: integer
  18512. produces:
  18513. - application/json
  18514. responses:
  18515. "200":
  18516. description: OK
  18517. schema:
  18518. items:
  18519. $ref: '#/definitions/models.Ermcp3AreaStock'
  18520. type: array
  18521. "500":
  18522. description: Internal Server Error
  18523. schema:
  18524. $ref: '#/definitions/app.Response'
  18525. security:
  18526. - ApiKeyAuth: []
  18527. summary: 查询机构库存(库存管理/当前库存)
  18528. tags:
  18529. - 企业风险管理v3(app)
  18530. /Ermcp3/QueryAreaStockApply:
  18531. get:
  18532. parameters:
  18533. - description: 用户ID
  18534. in: query
  18535. name: userid
  18536. required: true
  18537. type: integer
  18538. - description: 用户类型 2-机构 7-企业成员
  18539. in: query
  18540. name: usertype
  18541. type: integer
  18542. - description: 现货商品ID
  18543. in: query
  18544. name: deliverygoodsid
  18545. type: integer
  18546. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  18547. in: query
  18548. name: inouttype
  18549. type: string
  18550. - description: 合同ID
  18551. in: query
  18552. name: spotcontractid
  18553. type: integer
  18554. - description: 品类ID
  18555. in: query
  18556. name: wrstandardid
  18557. type: integer
  18558. - description: 品牌ID
  18559. in: query
  18560. name: spotgoodsbrandid
  18561. type: integer
  18562. - description: 仓库ID
  18563. in: query
  18564. name: warehouseinfoid
  18565. type: integer
  18566. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18567. in: query
  18568. name: applystatus
  18569. type: string
  18570. produces:
  18571. - application/json
  18572. responses:
  18573. "200":
  18574. description: OK
  18575. schema:
  18576. items:
  18577. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  18578. type: array
  18579. "500":
  18580. description: Internal Server Error
  18581. schema:
  18582. $ref: '#/definitions/app.Response'
  18583. security:
  18584. - ApiKeyAuth: []
  18585. summary: 查询库存申请(出入库记录|库存审核)
  18586. tags:
  18587. - 企业风险管理v3(app)
  18588. /Ermcp3/QueryAreaStockApplySum:
  18589. get:
  18590. parameters:
  18591. - description: 合同ID
  18592. in: query
  18593. name: spotcontractid
  18594. required: true
  18595. type: integer
  18596. produces:
  18597. - application/json
  18598. responses:
  18599. "200":
  18600. description: OK
  18601. schema:
  18602. items:
  18603. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  18604. type: array
  18605. "500":
  18606. description: Internal Server Error
  18607. schema:
  18608. $ref: '#/definitions/app.Response'
  18609. security:
  18610. - ApiKeyAuth: []
  18611. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  18612. tags:
  18613. - 企业风险管理v3(app)
  18614. /Ermcp3/QueryDGFactoryItem:
  18615. get:
  18616. parameters:
  18617. - description: 用户id
  18618. in: query
  18619. name: userid
  18620. type: integer
  18621. - description: 用户类型 2-机构 7-企业成员
  18622. in: query
  18623. name: usertype
  18624. type: integer
  18625. - description: 选择项ID(SEQ_DGFACTORYITEM)
  18626. in: query
  18627. name: dgfactoryitemid
  18628. type: integer
  18629. - description: 现货品种ID
  18630. in: query
  18631. name: deliverygoodsid
  18632. type: integer
  18633. - description: 要素项类型
  18634. in: query
  18635. name: dgfactoryitemtypeid
  18636. type: integer
  18637. - description: 顺序
  18638. in: query
  18639. name: orderindex
  18640. type: integer
  18641. produces:
  18642. - application/json
  18643. responses:
  18644. "200":
  18645. description: OK
  18646. schema:
  18647. items:
  18648. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  18649. type: array
  18650. "500":
  18651. description: Internal Server Error
  18652. schema:
  18653. $ref: '#/definitions/app.Response'
  18654. security:
  18655. - ApiKeyAuth: []
  18656. summary: 查询品种要素定义项
  18657. tags:
  18658. - 企业风险管理v3(app)
  18659. /Ermcp3/QueryDeliveryGoods:
  18660. get:
  18661. parameters:
  18662. - description: 用户id
  18663. in: query
  18664. name: userid
  18665. required: true
  18666. type: integer
  18667. - description: 用户类型 2-机构 7-企业成员
  18668. in: query
  18669. name: usertype
  18670. type: integer
  18671. - description: 排除已配置的业务类型商品 1-套保 2-套利
  18672. in: query
  18673. name: excludecfg
  18674. type: integer
  18675. produces:
  18676. - application/json
  18677. responses:
  18678. "200":
  18679. description: OK
  18680. schema:
  18681. items:
  18682. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  18683. type: array
  18684. "500":
  18685. description: Internal Server Error
  18686. schema:
  18687. $ref: '#/definitions/app.Response'
  18688. security:
  18689. - ApiKeyAuth: []
  18690. summary: 查询现货商品
  18691. tags:
  18692. - 企业风险管理v3(app)
  18693. /Ermcp3/QueryDeliveryGoodsDetail:
  18694. get:
  18695. parameters:
  18696. - description: 用户id
  18697. in: query
  18698. name: userid
  18699. required: true
  18700. type: integer
  18701. - description: 用户类型 2-机构 7-企业成员
  18702. in: query
  18703. name: usertype
  18704. type: integer
  18705. - description: 现货商品id
  18706. in: query
  18707. name: deliverygoodsid
  18708. type: integer
  18709. produces:
  18710. - application/json
  18711. responses:
  18712. "200":
  18713. description: OK
  18714. schema:
  18715. items:
  18716. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  18717. type: array
  18718. "500":
  18719. description: Internal Server Error
  18720. schema:
  18721. $ref: '#/definitions/app.Response'
  18722. security:
  18723. - ApiKeyAuth: []
  18724. summary: 查询现货商品详情
  18725. tags:
  18726. - 企业风险管理v3(app)
  18727. /Ermcp3/QueryExposureDetail:
  18728. get:
  18729. parameters:
  18730. - description: 用户id
  18731. in: query
  18732. name: userid
  18733. required: true
  18734. type: integer
  18735. - description: 用户类型 2-机构 7-企业成员
  18736. in: query
  18737. name: usertype
  18738. type: integer
  18739. - description: 套保商品
  18740. in: query
  18741. name: middlegoodsid
  18742. required: true
  18743. type: integer
  18744. produces:
  18745. - application/json
  18746. responses:
  18747. "200":
  18748. description: OK
  18749. schema:
  18750. items:
  18751. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  18752. type: array
  18753. "500":
  18754. description: Internal Server Error
  18755. schema:
  18756. $ref: '#/definitions/app.Response'
  18757. security:
  18758. - ApiKeyAuth: []
  18759. summary: 查询敞口现货明细
  18760. tags:
  18761. - 企业风险管理v3(app)
  18762. /Ermcp3/QueryExposureSpot:
  18763. get:
  18764. parameters:
  18765. - description: 用户id
  18766. in: query
  18767. name: userid
  18768. required: true
  18769. type: integer
  18770. - description: 用户类型 2-机构 7-企业成员
  18771. in: query
  18772. name: usertype
  18773. type: integer
  18774. produces:
  18775. - application/json
  18776. responses:
  18777. "200":
  18778. description: OK
  18779. schema:
  18780. items:
  18781. $ref: '#/definitions/models.Ermcp3AreaSpot'
  18782. type: array
  18783. "500":
  18784. description: Internal Server Error
  18785. schema:
  18786. $ref: '#/definitions/app.Response'
  18787. security:
  18788. - ApiKeyAuth: []
  18789. summary: 查询敞口现货头寸(敞口/现货头寸)
  18790. tags:
  18791. - 企业风险管理v3(app)
  18792. /Ermcp3/QueryExposureSpotDetail:
  18793. get:
  18794. parameters:
  18795. - description: 用户id
  18796. in: query
  18797. name: userid
  18798. required: true
  18799. type: integer
  18800. - description: 用户类型 2-机构 7-企业成员
  18801. in: query
  18802. name: usertype
  18803. type: integer
  18804. - description: 现货品种ID
  18805. in: query
  18806. name: deliverygoodsid
  18807. required: true
  18808. type: integer
  18809. produces:
  18810. - application/json
  18811. responses:
  18812. "200":
  18813. description: OK
  18814. schema:
  18815. items:
  18816. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  18817. type: array
  18818. "500":
  18819. description: Internal Server Error
  18820. schema:
  18821. $ref: '#/definitions/app.Response'
  18822. security:
  18823. - ApiKeyAuth: []
  18824. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18825. tags:
  18826. - 企业风险管理v3(app)
  18827. /Ermcp3/QueryGoodsGroup:
  18828. get:
  18829. parameters:
  18830. - description: 用户id
  18831. in: query
  18832. name: userid
  18833. required: true
  18834. type: integer
  18835. - description: 用户类型 2-机构 7-企业成员
  18836. in: query
  18837. name: usertype
  18838. type: integer
  18839. - description: 排除套保品中已关联的商品组 1-排除
  18840. in: query
  18841. name: excludecfg
  18842. type: integer
  18843. produces:
  18844. - application/json
  18845. responses:
  18846. "200":
  18847. description: OK
  18848. schema:
  18849. items:
  18850. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  18851. type: array
  18852. "500":
  18853. description: Internal Server Error
  18854. schema:
  18855. $ref: '#/definitions/app.Response'
  18856. security:
  18857. - ApiKeyAuth: []
  18858. summary: 查询期货商品组
  18859. tags:
  18860. - 企业风险管理v3(app)
  18861. /Ermcp3/QueryGoodsWrstandard:
  18862. get:
  18863. parameters:
  18864. - description: 用户id
  18865. in: query
  18866. name: userid
  18867. required: true
  18868. type: integer
  18869. - description: 用户类型 2-机构 7-企业成员
  18870. in: query
  18871. name: usertype
  18872. type: integer
  18873. - description: 现货商品id
  18874. in: query
  18875. name: deliverygoodsid
  18876. type: integer
  18877. produces:
  18878. - application/json
  18879. responses:
  18880. "200":
  18881. description: OK
  18882. schema:
  18883. items:
  18884. $ref: '#/definitions/models.Ermcp3Wrstandard'
  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. - 企业风险管理v3(app)
  18895. /Ermcp3/QueryGoodsbrand:
  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. produces:
  18908. - application/json
  18909. responses:
  18910. "200":
  18911. description: OK
  18912. schema:
  18913. items:
  18914. $ref: '#/definitions/models.Ermcp3Brand'
  18915. type: array
  18916. "500":
  18917. description: Internal Server Error
  18918. schema:
  18919. $ref: '#/definitions/app.Response'
  18920. security:
  18921. - ApiKeyAuth: []
  18922. summary: 查询商品品牌
  18923. tags:
  18924. - 企业风险管理v3(app)
  18925. /Ermcp3/QueryHedgePlan:
  18926. get:
  18927. parameters:
  18928. - description: 用户ID
  18929. in: query
  18930. name: userid
  18931. required: true
  18932. type: integer
  18933. - description: 用户类型 2-机构 7-企业成员
  18934. in: query
  18935. name: usertype
  18936. type: integer
  18937. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  18938. in: query
  18939. name: hedgeplanstatus
  18940. required: true
  18941. type: string
  18942. produces:
  18943. - application/json
  18944. responses:
  18945. "200":
  18946. description: OK
  18947. schema:
  18948. items:
  18949. $ref: '#/definitions/models.Ermcp3HedgePlan'
  18950. type: array
  18951. "500":
  18952. description: Internal Server Error
  18953. schema:
  18954. $ref: '#/definitions/app.Response'
  18955. security:
  18956. - ApiKeyAuth: []
  18957. summary: 查询套保计划
  18958. tags:
  18959. - 企业风险管理v3(app)
  18960. /Ermcp3/QueryMiddleGoodsDetail:
  18961. get:
  18962. parameters:
  18963. - description: 用户id
  18964. in: query
  18965. name: userid
  18966. required: true
  18967. type: integer
  18968. - description: 用户类型 2-机构 7-企业成员
  18969. in: query
  18970. name: usertype
  18971. type: integer
  18972. - description: 套保品种id
  18973. in: query
  18974. name: middlegoodsid
  18975. type: integer
  18976. produces:
  18977. - application/json
  18978. responses:
  18979. "200":
  18980. description: OK
  18981. schema:
  18982. items:
  18983. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  18984. type: array
  18985. "500":
  18986. description: Internal Server Error
  18987. schema:
  18988. $ref: '#/definitions/app.Response'
  18989. security:
  18990. - ApiKeyAuth: []
  18991. summary: 查询套保品种详情(套保品种/商品详情)
  18992. tags:
  18993. - 企业风险管理v3(app)
  18994. /Ermcp3/QueryRootUserAccount:
  18995. get:
  18996. parameters:
  18997. - description: 用户ID
  18998. in: query
  18999. name: userid
  19000. required: true
  19001. type: integer
  19002. produces:
  19003. - application/json
  19004. responses:
  19005. "200":
  19006. description: OK
  19007. schema:
  19008. items:
  19009. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  19010. type: array
  19011. "500":
  19012. description: Internal Server Error
  19013. schema:
  19014. $ref: '#/definitions/app.Response'
  19015. security:
  19016. - ApiKeyAuth: []
  19017. summary: 查询顶级用户信息
  19018. tags:
  19019. - 企业风险管理v3(app)
  19020. /Ermcp3/QuerySpotContract:
  19021. get:
  19022. parameters:
  19023. - description: 用户id
  19024. in: query
  19025. name: userid
  19026. required: true
  19027. type: integer
  19028. - description: 用户类型 2-机构 7-企业成员
  19029. in: query
  19030. name: usertype
  19031. type: integer
  19032. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  19033. in: query
  19034. name: querytype
  19035. required: true
  19036. type: integer
  19037. - description: 合同ID(SpotContractId)
  19038. in: query
  19039. name: contractid
  19040. type: string
  19041. produces:
  19042. - application/json
  19043. responses:
  19044. "200":
  19045. description: OK
  19046. schema:
  19047. items:
  19048. $ref: '#/definitions/models.Ermcp3Contract'
  19049. type: array
  19050. "500":
  19051. description: Internal Server Error
  19052. schema:
  19053. $ref: '#/definitions/app.Response'
  19054. security:
  19055. - ApiKeyAuth: []
  19056. summary: 查询现货合同
  19057. tags:
  19058. - 企业风险管理v3(app)
  19059. /Ermcp3/QuerySpotContractBS:
  19060. get:
  19061. parameters:
  19062. - description: 用户id
  19063. in: query
  19064. name: userid
  19065. required: true
  19066. type: integer
  19067. - description: 用户类型 2-机构 7-企业成员
  19068. in: query
  19069. name: usertype
  19070. type: integer
  19071. - description: 合同类型 1-采购, -1-销售
  19072. in: query
  19073. name: contracttype
  19074. required: true
  19075. type: integer
  19076. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  19077. in: query
  19078. name: querytype
  19079. required: true
  19080. type: integer
  19081. - description: 合同ID(SpotContractId)
  19082. in: query
  19083. name: contractid
  19084. type: string
  19085. produces:
  19086. - application/json
  19087. responses:
  19088. "200":
  19089. description: OK
  19090. schema:
  19091. items:
  19092. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  19093. type: array
  19094. "500":
  19095. description: Internal Server Error
  19096. schema:
  19097. $ref: '#/definitions/app.Response'
  19098. security:
  19099. - ApiKeyAuth: []
  19100. summary: 查询合同(采购/销售)
  19101. tags:
  19102. - 企业风险管理v3(app)
  19103. /Ermcp3/QuerySpotGoodsPrice:
  19104. get:
  19105. parameters:
  19106. - description: 用户ID
  19107. in: query
  19108. name: userid
  19109. required: true
  19110. type: integer
  19111. produces:
  19112. - application/json
  19113. responses:
  19114. "200":
  19115. description: OK
  19116. schema:
  19117. items:
  19118. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  19119. type: array
  19120. "500":
  19121. description: Internal Server Error
  19122. schema:
  19123. $ref: '#/definitions/app.Response'
  19124. security:
  19125. - ApiKeyAuth: []
  19126. summary: 查询现货市价(现货市价)
  19127. tags:
  19128. - 企业风险管理v3(app)
  19129. /Ermcp3/QuerySpotGoodsPriceLog:
  19130. get:
  19131. parameters:
  19132. - description: 用户ID
  19133. in: query
  19134. name: userid
  19135. required: true
  19136. type: integer
  19137. - description: 现货商品ID
  19138. in: query
  19139. name: deliverygoodsid
  19140. required: true
  19141. type: integer
  19142. - description: 品牌ID
  19143. in: query
  19144. name: brandid
  19145. type: integer
  19146. - description: 品类ID
  19147. in: query
  19148. name: wrstandardid
  19149. type: integer
  19150. produces:
  19151. - application/json
  19152. responses:
  19153. "200":
  19154. description: OK
  19155. schema:
  19156. items:
  19157. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  19158. type: array
  19159. "500":
  19160. description: Internal Server Error
  19161. schema:
  19162. $ref: '#/definitions/app.Response'
  19163. security:
  19164. - ApiKeyAuth: []
  19165. summary: 查询现货市价详情(现货市价/详情)
  19166. tags:
  19167. - 企业风险管理v3(app)
  19168. /Erms2/QueryArbitrageStrategy:
  19169. get:
  19170. parameters:
  19171. - description: 账户ID
  19172. in: query
  19173. name: userid
  19174. required: true
  19175. type: integer
  19176. - description: 商品组ID(品种ID)
  19177. in: query
  19178. name: goodsgroupid
  19179. type: string
  19180. produces:
  19181. - application/json
  19182. responses:
  19183. "200":
  19184. description: OK
  19185. schema:
  19186. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  19187. "500":
  19188. description: Internal Server Error
  19189. schema:
  19190. $ref: '#/definitions/app.Response'
  19191. security:
  19192. - ApiKeyAuth: []
  19193. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  19194. tags:
  19195. - 风险管理
  19196. /Erms2/QueryInnerTradeDetail:
  19197. get:
  19198. parameters:
  19199. - description: 资金账户
  19200. in: query
  19201. name: accountid
  19202. required: true
  19203. type: integer
  19204. produces:
  19205. - application/json
  19206. responses:
  19207. "200":
  19208. description: OK
  19209. schema:
  19210. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  19211. "500":
  19212. description: Internal Server Error
  19213. schema:
  19214. $ref: '#/definitions/app.Response'
  19215. security:
  19216. - ApiKeyAuth: []
  19217. summary: 查询内部成交单信息
  19218. tags:
  19219. - 风险管理
  19220. /Erms2/QuerySpotContract:
  19221. get:
  19222. parameters:
  19223. - description: 策略申请ID
  19224. in: query
  19225. name: asapplyid
  19226. required: true
  19227. type: integer
  19228. - description: 现货合同ID
  19229. in: query
  19230. name: spotcontractid
  19231. type: integer
  19232. produces:
  19233. - application/json
  19234. responses:
  19235. "200":
  19236. description: OK
  19237. schema:
  19238. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  19239. "500":
  19240. description: Internal Server Error
  19241. schema:
  19242. $ref: '#/definitions/app.Response'
  19243. security:
  19244. - ApiKeyAuth: []
  19245. summary: 查询现货合同表信息(指定策略ID、未结束的)
  19246. tags:
  19247. - 风险管理
  19248. /Erms3/AddErms2ASApply:
  19249. post:
  19250. parameters:
  19251. - description: 申请参数
  19252. in: body
  19253. name: jsonBody
  19254. required: true
  19255. schema:
  19256. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  19257. produces:
  19258. - application/json
  19259. responses:
  19260. "200":
  19261. description: OK
  19262. schema:
  19263. $ref: '#/definitions/app.Response'
  19264. "500":
  19265. description: Internal Server Error
  19266. schema:
  19267. $ref: '#/definitions/app.Response'
  19268. security:
  19269. - ApiKeyAuth: []
  19270. summary: 新增期现套利业务申请
  19271. tags:
  19272. - 风险管理v3
  19273. /Erms3/AddErms2SpotTradeApply:
  19274. post:
  19275. parameters:
  19276. - description: 申请参数
  19277. in: body
  19278. name: jsonBody
  19279. required: true
  19280. schema:
  19281. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  19282. produces:
  19283. - application/json
  19284. responses:
  19285. "200":
  19286. description: OK
  19287. schema:
  19288. $ref: '#/definitions/app.Response'
  19289. "500":
  19290. description: Internal Server Error
  19291. schema:
  19292. $ref: '#/definitions/app.Response'
  19293. security:
  19294. - ApiKeyAuth: []
  19295. summary: 新增现货贸易业务申请
  19296. tags:
  19297. - 风险管理v3
  19298. /Erms3/AddSpotContractApply:
  19299. post:
  19300. parameters:
  19301. - description: 申请参数
  19302. in: body
  19303. name: jsonBody
  19304. required: true
  19305. schema:
  19306. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  19307. produces:
  19308. - application/json
  19309. responses:
  19310. "200":
  19311. description: OK
  19312. schema:
  19313. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  19314. "500":
  19315. description: Internal Server Error
  19316. schema:
  19317. $ref: '#/definitions/app.Response'
  19318. security:
  19319. - ApiKeyAuth: []
  19320. summary: 新增现货合同申请
  19321. tags:
  19322. - 风险管理v3
  19323. /Erms3/AddUserInfoApply:
  19324. post:
  19325. parameters:
  19326. - description: 用户信息
  19327. in: body
  19328. name: jsonBody
  19329. required: true
  19330. schema:
  19331. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  19332. produces:
  19333. - application/json
  19334. responses:
  19335. "200":
  19336. description: OK
  19337. schema:
  19338. $ref: '#/definitions/app.Response'
  19339. "500":
  19340. description: Internal Server Error
  19341. schema:
  19342. $ref: '#/definitions/app.Response'
  19343. security:
  19344. - ApiKeyAuth: []
  19345. summary: 新增客户申请
  19346. tags:
  19347. - 风险管理v3
  19348. /Erms3/DeleteUserInfoApply:
  19349. get:
  19350. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  19351. parameters:
  19352. - description: 用户ID
  19353. in: query
  19354. name: userID
  19355. required: true
  19356. type: integer
  19357. produces:
  19358. - application/json
  19359. responses:
  19360. "200":
  19361. description: OK
  19362. schema:
  19363. $ref: '#/definitions/app.Response'
  19364. "500":
  19365. description: Internal Server Error
  19366. schema:
  19367. $ref: '#/definitions/app.Response'
  19368. security:
  19369. - ApiKeyAuth: []
  19370. summary: 删除客户申请
  19371. tags:
  19372. - 风险管理v3
  19373. /Erms3/ModifyUserInfoApply:
  19374. post:
  19375. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  19376. int, "userstate": 2 }'
  19377. parameters:
  19378. - description: 用户信息
  19379. in: body
  19380. name: jsonBody
  19381. required: true
  19382. schema:
  19383. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  19384. produces:
  19385. - application/json
  19386. responses:
  19387. "200":
  19388. description: OK
  19389. schema:
  19390. $ref: '#/definitions/app.Response'
  19391. "500":
  19392. description: Internal Server Error
  19393. schema:
  19394. $ref: '#/definitions/app.Response'
  19395. security:
  19396. - ApiKeyAuth: []
  19397. summary: 修改客户申请
  19398. tags:
  19399. - 风险管理v3
  19400. /Erms3/QueryBusinessInfo:
  19401. get:
  19402. parameters:
  19403. - description: 资金账号ID列表,用逗号分隔
  19404. in: query
  19405. name: accountids
  19406. required: true
  19407. type: string
  19408. - description: 状态,0为未结束 1为已结束
  19409. in: query
  19410. name: status
  19411. required: true
  19412. type: integer
  19413. produces:
  19414. - application/json
  19415. responses:
  19416. "200":
  19417. description: OK
  19418. schema:
  19419. items:
  19420. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  19421. type: array
  19422. "500":
  19423. description: Internal Server Error
  19424. schema:
  19425. $ref: '#/definitions/app.Response'
  19426. security:
  19427. - ApiKeyAuth: []
  19428. summary: 查询业务表单数据
  19429. tags:
  19430. - 风险管理v3
  19431. /Erms3/QueryPendingAuditContract:
  19432. get:
  19433. parameters:
  19434. - description: 资金账号ID列表,逗号隔开
  19435. in: query
  19436. name: accountids
  19437. required: true
  19438. type: string
  19439. - description: 合同类型 1-采购 -1-销售
  19440. in: query
  19441. name: contracttype
  19442. required: true
  19443. type: integer
  19444. - description: 合同模式 1-普通 2-回购
  19445. in: query
  19446. name: contractmode
  19447. required: true
  19448. type: integer
  19449. produces:
  19450. - application/json
  19451. responses:
  19452. "200":
  19453. description: OK
  19454. schema:
  19455. items:
  19456. $ref: '#/definitions/erms3.QryAuditContractRsp'
  19457. type: array
  19458. "500":
  19459. description: Internal Server Error
  19460. schema:
  19461. $ref: '#/definitions/app.Response'
  19462. security:
  19463. - ApiKeyAuth: []
  19464. summary: 查询待审核合同
  19465. tags:
  19466. - 风险管理v3
  19467. /Erms3/QueryPendingBusiness:
  19468. get:
  19469. parameters:
  19470. - description: 资金账号ID列表,逗号隔开
  19471. in: query
  19472. name: accountids
  19473. required: true
  19474. type: string
  19475. produces:
  19476. - application/json
  19477. responses:
  19478. "200":
  19479. description: OK
  19480. schema:
  19481. items:
  19482. $ref: '#/definitions/erms3.QryPendingBizRsp'
  19483. type: array
  19484. "500":
  19485. description: Internal Server Error
  19486. schema:
  19487. $ref: '#/definitions/app.Response'
  19488. security:
  19489. - ApiKeyAuth: []
  19490. summary: 查询待审核基差贸易业务
  19491. tags:
  19492. - 风险管理v3
  19493. /Erms3/QuerySpotContractAppleForm:
  19494. get:
  19495. parameters:
  19496. - description: 登录账号
  19497. in: query
  19498. name: loginID
  19499. required: true
  19500. type: integer
  19501. produces:
  19502. - application/json
  19503. responses:
  19504. "200":
  19505. description: OK
  19506. schema:
  19507. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  19508. "500":
  19509. description: Internal Server Error
  19510. schema:
  19511. $ref: '#/definitions/app.Response'
  19512. security:
  19513. - ApiKeyAuth: []
  19514. summary: 查询合同申请表单数据
  19515. tags:
  19516. - 风险管理v3
  19517. /Erms3/QuerySpotContractDetail:
  19518. get:
  19519. parameters:
  19520. - description: 资金账号ID列表,用逗号分隔
  19521. in: query
  19522. name: accountids
  19523. required: true
  19524. type: string
  19525. - description: 合同类型,1为采购合同 -1为销售合同
  19526. in: query
  19527. name: contracttype
  19528. required: true
  19529. type: integer
  19530. - description: 合同模式,1为普通合同 2为回购销售合同
  19531. in: query
  19532. name: contractmode
  19533. required: true
  19534. type: integer
  19535. - description: 状态,0为履约中 1为已完成
  19536. in: query
  19537. name: status
  19538. required: true
  19539. type: integer
  19540. produces:
  19541. - application/json
  19542. responses:
  19543. "200":
  19544. description: OK
  19545. schema:
  19546. items:
  19547. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  19548. type: array
  19549. "500":
  19550. description: Internal Server Error
  19551. schema:
  19552. $ref: '#/definitions/app.Response'
  19553. security:
  19554. - ApiKeyAuth: []
  19555. summary: 查询合同详细信息
  19556. tags:
  19557. - 风险管理v3
  19558. /Erms3/QueryUserInfoApplies:
  19559. get:
  19560. parameters:
  19561. - description: 页码
  19562. in: query
  19563. name: page
  19564. type: integer
  19565. - description: 每页条数
  19566. in: query
  19567. name: pagesize
  19568. type: integer
  19569. - description: 客户名称,支持模糊查询
  19570. in: query
  19571. name: userName
  19572. type: string
  19573. produces:
  19574. - application/json
  19575. responses:
  19576. "200":
  19577. description: OK
  19578. schema:
  19579. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  19580. "500":
  19581. description: Internal Server Error
  19582. schema:
  19583. $ref: '#/definitions/app.Response'
  19584. security:
  19585. - ApiKeyAuth: []
  19586. summary: 客户申请信息查询
  19587. tags:
  19588. - 风险管理v3
  19589. /Erms3/QueryUserInfos:
  19590. get:
  19591. parameters:
  19592. - description: 页码
  19593. in: query
  19594. name: page
  19595. type: integer
  19596. - description: 每页条数
  19597. in: query
  19598. name: pagesize
  19599. type: integer
  19600. - description: 客户名称,支持模糊查询
  19601. in: query
  19602. name: userName
  19603. type: string
  19604. produces:
  19605. - application/json
  19606. responses:
  19607. "200":
  19608. description: OK
  19609. schema:
  19610. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  19611. "500":
  19612. description: Internal Server Error
  19613. schema:
  19614. $ref: '#/definitions/app.Response'
  19615. security:
  19616. - ApiKeyAuth: []
  19617. summary: 客户信息查询
  19618. tags:
  19619. - 风险管理v3
  19620. /HSBY/GetHsbyMyCount:
  19621. get:
  19622. description: 说明: 不包括已完成的数量。
  19623. parameters:
  19624. - description: 资金账户列表,格式:1,2,3
  19625. in: query
  19626. name: accountIDs
  19627. required: true
  19628. type: string
  19629. produces:
  19630. - application/json
  19631. responses:
  19632. "200":
  19633. description: OK
  19634. schema:
  19635. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  19636. "500":
  19637. description: Internal Server Error
  19638. schema:
  19639. $ref: '#/definitions/app.Response'
  19640. security:
  19641. - ApiKeyAuth: []
  19642. summary: 获取我的订单与包裹数量
  19643. tags:
  19644. - 定制【海商报业】
  19645. /HSBY/QueryClientFixedADConfigs:
  19646. get:
  19647. produces:
  19648. - application/json
  19649. responses:
  19650. "200":
  19651. description: OK
  19652. schema:
  19653. $ref: '#/definitions/models.Clientfixedadconfig'
  19654. "500":
  19655. description: Internal Server Error
  19656. schema:
  19657. $ref: '#/definitions/app.Response'
  19658. security:
  19659. - ApiKeyAuth: []
  19660. summary: 获取终端固定广告配置
  19661. tags:
  19662. - 定制【海商报业】
  19663. /HSBY/QueryHsbyBuyMyTradeDetail:
  19664. get:
  19665. parameters:
  19666. - description: 页码
  19667. in: query
  19668. name: page
  19669. type: integer
  19670. - description: 每页条数
  19671. in: query
  19672. name: pagesize
  19673. type: integer
  19674. - description: 资金账户列表,格式:1,2,3
  19675. in: query
  19676. name: accountIDs
  19677. required: true
  19678. type: string
  19679. produces:
  19680. - application/json
  19681. responses:
  19682. "200":
  19683. description: OK
  19684. schema:
  19685. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  19686. "500":
  19687. description: Internal Server Error
  19688. schema:
  19689. $ref: '#/definitions/app.Response'
  19690. security:
  19691. - ApiKeyAuth: []
  19692. summary: 查询"我的订单 - 已完成"单据信息
  19693. tags:
  19694. - 定制【海商报业】
  19695. /HSBY/QueryHsbyGoodsOrderDetails:
  19696. get:
  19697. description: 说明:查询结果已按委托价格和委托时间排序
  19698. parameters:
  19699. - description: 商品ID
  19700. in: query
  19701. name: goodsID
  19702. required: true
  19703. type: integer
  19704. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  19705. in: query
  19706. name: accountIDs
  19707. type: string
  19708. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  19709. in: query
  19710. name: buyOrSell
  19711. type: integer
  19712. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  19713. in: query
  19714. name: price
  19715. type: number
  19716. - description: 档位,不传则默认为3档
  19717. in: query
  19718. name: speed
  19719. type: integer
  19720. produces:
  19721. - application/json
  19722. responses:
  19723. "200":
  19724. description: OK
  19725. schema:
  19726. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  19727. "500":
  19728. description: Internal Server Error
  19729. schema:
  19730. $ref: '#/definitions/app.Response'
  19731. security:
  19732. - ApiKeyAuth: []
  19733. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  19734. tags:
  19735. - 定制【海商报业】
  19736. /HSBY/QueryHsbyListingGoodsDetail:
  19737. get:
  19738. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  19739. parameters:
  19740. - description: 商品ID
  19741. in: query
  19742. name: goodsID
  19743. required: true
  19744. type: integer
  19745. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  19746. in: query
  19747. name: accountID
  19748. type: integer
  19749. produces:
  19750. - application/json
  19751. responses:
  19752. "200":
  19753. description: OK
  19754. schema:
  19755. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  19756. "500":
  19757. description: Internal Server Error
  19758. schema:
  19759. $ref: '#/definitions/app.Response'
  19760. security:
  19761. - ApiKeyAuth: []
  19762. summary: 查询二级市场(挂牌点选)商品信息详情
  19763. tags:
  19764. - 定制【海商报业】
  19765. /HSBY/QueryHsbyMarketGoodsDetail:
  19766. get:
  19767. parameters:
  19768. - description: 委托单号
  19769. in: query
  19770. name: orderID
  19771. required: true
  19772. type: integer
  19773. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  19774. in: query
  19775. name: accountID
  19776. type: integer
  19777. produces:
  19778. - application/json
  19779. responses:
  19780. "200":
  19781. description: OK
  19782. schema:
  19783. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  19784. "500":
  19785. description: Internal Server Error
  19786. schema:
  19787. $ref: '#/definitions/app.Response'
  19788. security:
  19789. - ApiKeyAuth: []
  19790. summary: 查询三级市场(商城)商品信息详情
  19791. tags:
  19792. - 定制【海商报业】
  19793. /HSBY/QueryHsbyMarketGoodses:
  19794. get:
  19795. parameters:
  19796. - description: 页码
  19797. in: query
  19798. name: page
  19799. type: integer
  19800. - description: 每页条数
  19801. in: query
  19802. name: pagesize
  19803. type: integer
  19804. - description: 市场ID列表,格式:1,2,3
  19805. in: query
  19806. name: marketIDs
  19807. required: true
  19808. type: string
  19809. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  19810. in: query
  19811. name: accountID
  19812. required: true
  19813. type: integer
  19814. - description: 类别ID
  19815. in: query
  19816. name: categoryID
  19817. type: integer
  19818. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  19819. in: query
  19820. name: goodsIDs
  19821. type: string
  19822. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  19823. in: query
  19824. name: couponTypeID
  19825. type: integer
  19826. produces:
  19827. - application/json
  19828. responses:
  19829. "200":
  19830. description: OK
  19831. schema:
  19832. $ref: '#/definitions/models.HsbyMarketGoods'
  19833. "500":
  19834. description: Internal Server Error
  19835. schema:
  19836. $ref: '#/definitions/app.Response'
  19837. security:
  19838. - ApiKeyAuth: []
  19839. summary: 查询特卖商品列表(三级商城)
  19840. tags:
  19841. - 定制【海商报业】
  19842. /HSBY/QueryHsbyMarkets:
  19843. get:
  19844. produces:
  19845. - application/json
  19846. responses:
  19847. "200":
  19848. description: OK
  19849. schema:
  19850. $ref: '#/definitions/models.HsbyMarketInfo'
  19851. "500":
  19852. description: Internal Server Error
  19853. schema:
  19854. $ref: '#/definitions/app.Response'
  19855. security:
  19856. - ApiKeyAuth: []
  19857. summary: 查询海商报业相关市场信息
  19858. tags:
  19859. - 定制【海商报业】
  19860. /HSBY/QueryHsbyMyBuyOrderDetails:
  19861. get:
  19862. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  19863. parameters:
  19864. - description: 资金账户列表,格式:1,2,3
  19865. in: query
  19866. name: accountIDs
  19867. required: true
  19868. type: string
  19869. produces:
  19870. - application/json
  19871. responses:
  19872. "200":
  19873. description: OK
  19874. schema:
  19875. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  19876. "500":
  19877. description: Internal Server Error
  19878. schema:
  19879. $ref: '#/definitions/app.Response'
  19880. security:
  19881. - ApiKeyAuth: []
  19882. summary: 查询“我的订单”信息
  19883. tags:
  19884. - 定制【海商报业】
  19885. /HSBY/QueryHsbyMyGoods:
  19886. get:
  19887. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  19888. parameters:
  19889. - description: 资金账户列表,格式:1,2,3
  19890. in: query
  19891. name: accountIDs
  19892. required: true
  19893. type: string
  19894. produces:
  19895. - application/json
  19896. responses:
  19897. "200":
  19898. description: OK
  19899. schema:
  19900. $ref: '#/definitions/models.HsbyMyGoods'
  19901. "500":
  19902. description: Internal Server Error
  19903. schema:
  19904. $ref: '#/definitions/app.Response'
  19905. security:
  19906. - ApiKeyAuth: []
  19907. summary: 查询“我的商品”信息
  19908. tags:
  19909. - 定制【海商报业】
  19910. /HSBY/QueryHsbyMyPackages:
  19911. get:
  19912. parameters:
  19913. - description: 资金账户列表,格式:1,2,3
  19914. in: query
  19915. name: accountIDs
  19916. required: true
  19917. type: string
  19918. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19919. in: query
  19920. name: takeOrderStatus
  19921. type: integer
  19922. produces:
  19923. - application/json
  19924. responses:
  19925. "200":
  19926. description: OK
  19927. schema:
  19928. $ref: '#/definitions/models.HsbyMyPackage'
  19929. "500":
  19930. description: Internal Server Error
  19931. schema:
  19932. $ref: '#/definitions/app.Response'
  19933. security:
  19934. - ApiKeyAuth: []
  19935. summary: 查询我的包裹信息
  19936. tags:
  19937. - 定制【海商报业】
  19938. /HSBY/QueryHsbyPreGoodsDetail:
  19939. get:
  19940. parameters:
  19941. - description: 商品ID
  19942. in: query
  19943. name: goodsID
  19944. required: true
  19945. type: integer
  19946. - description: 资金账户,主要用于获取预售商品购买上限
  19947. in: query
  19948. name: accountID
  19949. type: integer
  19950. produces:
  19951. - application/json
  19952. responses:
  19953. "200":
  19954. description: OK
  19955. schema:
  19956. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  19957. "500":
  19958. description: Internal Server Error
  19959. schema:
  19960. $ref: '#/definitions/app.Response'
  19961. security:
  19962. - ApiKeyAuth: []
  19963. summary: 查询一级市场(预售)商品信息详情
  19964. tags:
  19965. - 定制【海商报业】
  19966. /HSBY/QueryHsbyPreGoodses:
  19967. get:
  19968. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  19969. parameters:
  19970. - description: 页码
  19971. in: query
  19972. name: page
  19973. type: integer
  19974. - description: 每页条数
  19975. in: query
  19976. name: pagesize
  19977. type: integer
  19978. - description: 市场ID列表,格式:1,2,3
  19979. in: query
  19980. name: marketIDs
  19981. required: true
  19982. type: string
  19983. - description: 目的地(省)ID
  19984. in: query
  19985. name: descProvinceID
  19986. type: integer
  19987. - description: 目的地(市)ID
  19988. in: query
  19989. name: descCityID
  19990. type: integer
  19991. produces:
  19992. - application/json
  19993. responses:
  19994. "200":
  19995. description: OK
  19996. schema:
  19997. $ref: '#/definitions/models.HsbyPreGoods'
  19998. "500":
  19999. description: Internal Server Error
  20000. schema:
  20001. $ref: '#/definitions/app.Response'
  20002. security:
  20003. - ApiKeyAuth: []
  20004. summary: 查询新品上市商品列表(一级市场预售)
  20005. tags:
  20006. - 定制【海商报业】
  20007. /HSBY/QueryHsbySellMyDetails:
  20008. get:
  20009. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  20010. parameters:
  20011. - description: 页码
  20012. in: query
  20013. name: page
  20014. type: integer
  20015. - description: 每页条数
  20016. in: query
  20017. name: pagesize
  20018. type: integer
  20019. - description: 资金账户列表,格式:1,2,3
  20020. in: query
  20021. name: accountIDs
  20022. required: true
  20023. type: string
  20024. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  20025. in: query
  20026. name: orderType
  20027. type: integer
  20028. produces:
  20029. - application/json
  20030. responses:
  20031. "200":
  20032. description: OK
  20033. schema:
  20034. $ref: '#/definitions/models.HsbySellMyDetail'
  20035. "500":
  20036. description: Internal Server Error
  20037. schema:
  20038. $ref: '#/definitions/app.Response'
  20039. security:
  20040. - ApiKeyAuth: []
  20041. summary: 查询"我的闲置"单据信息
  20042. tags:
  20043. - 定制【海商报业】
  20044. /HSBY/QueryHsbyTopGoodses:
  20045. get:
  20046. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  20047. parameters:
  20048. - description: 页码
  20049. in: query
  20050. name: page
  20051. type: integer
  20052. - description: 每页条数
  20053. in: query
  20054. name: pagesize
  20055. type: integer
  20056. - description: 市场ID列表,格式:1,2,3
  20057. in: query
  20058. name: marketIDs
  20059. required: true
  20060. type: string
  20061. - description: 目的地(省)ID
  20062. in: query
  20063. name: descProvinceID
  20064. type: integer
  20065. - description: 目的地(市)ID
  20066. in: query
  20067. name: descCityID
  20068. type: integer
  20069. produces:
  20070. - application/json
  20071. responses:
  20072. "200":
  20073. description: OK
  20074. schema:
  20075. $ref: '#/definitions/models.HsbyTopGoods'
  20076. "500":
  20077. description: Internal Server Error
  20078. schema:
  20079. $ref: '#/definitions/app.Response'
  20080. security:
  20081. - ApiKeyAuth: []
  20082. summary: 查询热卖商品列表(二级市场挂牌点选)
  20083. tags:
  20084. - 定制【海商报业】
  20085. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  20086. get:
  20087. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  20088. parameters:
  20089. - description: 商品ID
  20090. in: query
  20091. name: goodsID
  20092. required: true
  20093. type: integer
  20094. produces:
  20095. - application/json
  20096. responses:
  20097. "200":
  20098. description: OK
  20099. schema:
  20100. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20101. "500":
  20102. description: Internal Server Error
  20103. schema:
  20104. $ref: '#/definitions/app.Response'
  20105. security:
  20106. - ApiKeyAuth: []
  20107. summary: 查询游客三级市场(商城)商品信息详情
  20108. tags:
  20109. - 定制【海商报业】
  20110. /HSBY/QueryHsbyVisitorMarketGoodses:
  20111. get:
  20112. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  20113. parameters:
  20114. - description: 页码
  20115. in: query
  20116. name: page
  20117. type: integer
  20118. - description: 每页条数
  20119. in: query
  20120. name: pagesize
  20121. type: integer
  20122. - description: 市场ID列表,格式:1,2,3
  20123. in: query
  20124. name: marketIDs
  20125. required: true
  20126. type: string
  20127. - description: 类别ID
  20128. in: query
  20129. name: categoryID
  20130. type: integer
  20131. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20132. in: query
  20133. name: goodsIDs
  20134. type: string
  20135. produces:
  20136. - application/json
  20137. responses:
  20138. "200":
  20139. description: OK
  20140. schema:
  20141. $ref: '#/definitions/models.HsbyMarketGoods'
  20142. "500":
  20143. description: Internal Server Error
  20144. schema:
  20145. $ref: '#/definitions/app.Response'
  20146. security:
  20147. - ApiKeyAuth: []
  20148. summary: 查询游客特卖商品列表(三级商城)
  20149. tags:
  20150. - 定制【海商报业】
  20151. /HSBY/QueryMyCollectionOrders:
  20152. get:
  20153. parameters:
  20154. - description: 页码
  20155. in: query
  20156. name: page
  20157. type: integer
  20158. - description: 每页条数
  20159. in: query
  20160. name: pagesize
  20161. type: integer
  20162. - description: 资金账户,格式:1,2,3
  20163. in: query
  20164. name: accountIDs
  20165. required: true
  20166. type: string
  20167. produces:
  20168. - application/json
  20169. responses:
  20170. "200":
  20171. description: OK
  20172. schema:
  20173. $ref: '#/definitions/models.HsbySellCollectionOrder'
  20174. "500":
  20175. description: Internal Server Error
  20176. schema:
  20177. $ref: '#/definitions/app.Response'
  20178. security:
  20179. - ApiKeyAuth: []
  20180. summary: 我的闲置中收款信息查询
  20181. tags:
  20182. - 定制【海商报业】
  20183. /HSBY/QueryMyCouponHolds:
  20184. get:
  20185. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  20186. parameters:
  20187. - description: 资金账户列表,格式:1,2,3
  20188. in: query
  20189. name: accountIDs
  20190. required: true
  20191. type: string
  20192. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  20193. in: query
  20194. name: holdStatus
  20195. type: string
  20196. produces:
  20197. - application/json
  20198. responses:
  20199. "200":
  20200. description: OK
  20201. schema:
  20202. $ref: '#/definitions/models.MyCouponHold'
  20203. "500":
  20204. description: Internal Server Error
  20205. schema:
  20206. $ref: '#/definitions/app.Response'
  20207. security:
  20208. - ApiKeyAuth: []
  20209. summary: 我的优惠卷持仓查询
  20210. tags:
  20211. - 定制【海商报业】
  20212. /HSBY/QueryMyCoupons:
  20213. get:
  20214. parameters:
  20215. - description: 资金账户列表,格式:1,2,3
  20216. in: query
  20217. name: accountIDs
  20218. required: true
  20219. type: string
  20220. - description: 商品ID, 一般与sellUserID配套传入
  20221. in: query
  20222. name: goodsID
  20223. type: integer
  20224. - description: 卖方UserID
  20225. in: query
  20226. name: sellUserID
  20227. type: integer
  20228. produces:
  20229. - application/json
  20230. responses:
  20231. "200":
  20232. description: OK
  20233. schema:
  20234. $ref: '#/definitions/models.MyCoupon'
  20235. "500":
  20236. description: Internal Server Error
  20237. schema:
  20238. $ref: '#/definitions/app.Response'
  20239. security:
  20240. - ApiKeyAuth: []
  20241. summary: 我的优惠卷查询
  20242. tags:
  20243. - 定制【海商报业】
  20244. /HSBY/QueryMyPayOrders:
  20245. get:
  20246. parameters:
  20247. - description: 页码
  20248. in: query
  20249. name: page
  20250. type: integer
  20251. - description: 每页条数
  20252. in: query
  20253. name: pagesize
  20254. type: integer
  20255. - description: 资金账户列表,格式:1,2,3
  20256. in: query
  20257. name: accountIDs
  20258. required: true
  20259. type: string
  20260. - description: 买方委托单号
  20261. in: query
  20262. name: buyOrderID
  20263. type: integer
  20264. - description: 卖方委托单号
  20265. in: query
  20266. name: sellOrderID
  20267. type: integer
  20268. produces:
  20269. - application/json
  20270. responses:
  20271. "200":
  20272. description: OK
  20273. schema:
  20274. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  20275. "500":
  20276. description: Internal Server Error
  20277. schema:
  20278. $ref: '#/definitions/app.Response'
  20279. security:
  20280. - ApiKeyAuth: []
  20281. summary: 获取我的订单中待付款信息
  20282. tags:
  20283. - 定制【海商报业】
  20284. /HSBY/QueryMyUsedCoupon:
  20285. get:
  20286. parameters:
  20287. - description: 资金账户列表,格式:1,2,3
  20288. in: query
  20289. name: accountIDs
  20290. required: true
  20291. type: string
  20292. produces:
  20293. - application/json
  20294. responses:
  20295. "200":
  20296. description: OK
  20297. schema:
  20298. $ref: '#/definitions/models.MyUsedCoupon'
  20299. "500":
  20300. description: Internal Server Error
  20301. schema:
  20302. $ref: '#/definitions/app.Response'
  20303. security:
  20304. - ApiKeyAuth: []
  20305. summary: 已使用优惠卷查询
  20306. tags:
  20307. - 定制【海商报业】
  20308. /HSBY/QueryProvincesAndCities:
  20309. get:
  20310. description: 查询结果只包括二级市场商品已关连的省市信息。
  20311. parameters:
  20312. - description: 省ID
  20313. in: query
  20314. name: provinceID
  20315. type: integer
  20316. produces:
  20317. - application/json
  20318. responses:
  20319. "200":
  20320. description: OK
  20321. schema:
  20322. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  20323. "500":
  20324. description: Internal Server Error
  20325. schema:
  20326. $ref: '#/definitions/app.Response'
  20327. security:
  20328. - ApiKeyAuth: []
  20329. summary: 查询省市信息(不包括区)
  20330. tags:
  20331. - 定制【海商报业】
  20332. /HSBY/SetHsbyMyPackagesStatus:
  20333. post:
  20334. parameters:
  20335. - description: 提货单号
  20336. in: query
  20337. name: takeOrderID
  20338. required: true
  20339. type: string
  20340. - description: 资金账号
  20341. in: query
  20342. name: accountID
  20343. required: true
  20344. type: integer
  20345. produces:
  20346. - application/json
  20347. responses:
  20348. "200":
  20349. description: OK
  20350. schema:
  20351. $ref: '#/definitions/app.Response'
  20352. "500":
  20353. description: Internal Server Error
  20354. schema:
  20355. $ref: '#/definitions/app.Response'
  20356. security:
  20357. - ApiKeyAuth: []
  20358. summary: 设置我的包裹已收货状态
  20359. tags:
  20360. - 定制【海商报业】
  20361. /Market/GetAllExExchanges:
  20362. get:
  20363. produces:
  20364. - application/json
  20365. responses:
  20366. "200":
  20367. description: OK
  20368. schema:
  20369. $ref: '#/definitions/models.Goods'
  20370. "500":
  20371. description: Internal Server Error
  20372. schema:
  20373. $ref: '#/definitions/app.Response'
  20374. security:
  20375. - ApiKeyAuth: []
  20376. summary: 获取所有外部交易所信息
  20377. tags:
  20378. - 通用市场
  20379. /Market/QueryGoodsesByLoginID:
  20380. get:
  20381. parameters:
  20382. - description: 登录账号
  20383. in: query
  20384. name: loginID
  20385. required: true
  20386. type: integer
  20387. - description: 市场ID列表,格式:1,2,3
  20388. in: query
  20389. name: marketIDs
  20390. type: string
  20391. produces:
  20392. - application/json
  20393. responses:
  20394. "200":
  20395. description: OK
  20396. schema:
  20397. $ref: '#/definitions/models.Goods'
  20398. "500":
  20399. description: Internal Server Error
  20400. schema:
  20401. $ref: '#/definitions/app.Response'
  20402. security:
  20403. - ApiKeyAuth: []
  20404. summary: 获取登录账号有权限的商品信息
  20405. tags:
  20406. - 通用市场
  20407. /Market/QueryMarketRun:
  20408. get:
  20409. parameters:
  20410. - description: 市场ID,不传返回所有
  20411. in: query
  20412. name: marketID
  20413. type: integer
  20414. produces:
  20415. - application/json
  20416. responses:
  20417. "200":
  20418. description: OK
  20419. schema:
  20420. $ref: '#/definitions/models.Marketrun'
  20421. "500":
  20422. description: Internal Server Error
  20423. schema:
  20424. $ref: '#/definitions/app.Response'
  20425. security:
  20426. - ApiKeyAuth: []
  20427. summary: 查询市场运行信息
  20428. tags:
  20429. - 通用市场
  20430. /Market/QueryMarketsByLoginID:
  20431. get:
  20432. parameters:
  20433. - description: 登录账号
  20434. in: query
  20435. name: loginID
  20436. required: true
  20437. type: integer
  20438. produces:
  20439. - application/json
  20440. responses:
  20441. "200":
  20442. description: OK
  20443. schema:
  20444. $ref: '#/definitions/models.Market'
  20445. "500":
  20446. description: Internal Server Error
  20447. schema:
  20448. $ref: '#/definitions/app.Response'
  20449. security:
  20450. - ApiKeyAuth: []
  20451. summary: 获取登录账号有权限的市场信息
  20452. tags:
  20453. - 通用市场
  20454. /Order/QueryHisTradeDetail:
  20455. get:
  20456. parameters:
  20457. - description: 资金账户 - 格式:1,2,3
  20458. in: query
  20459. name: accountID
  20460. required: true
  20461. type: string
  20462. - description: 成交单号
  20463. in: query
  20464. name: tradeID
  20465. type: integer
  20466. - description: 委托单号
  20467. in: query
  20468. name: orderID
  20469. type: integer
  20470. - description: 商品ID
  20471. in: query
  20472. name: goodsID
  20473. type: integer
  20474. - description: 交易模式 - 格式:1,2,3
  20475. in: query
  20476. name: tradeMode
  20477. type: string
  20478. - description: 委托单据类型
  20479. in: query
  20480. name: buildType
  20481. type: integer
  20482. - description: 成交类别 - 格式:1,2,3
  20483. in: query
  20484. name: tradeType
  20485. type: string
  20486. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20487. in: query
  20488. name: startDate
  20489. type: string
  20490. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20491. in: query
  20492. name: endDate
  20493. type: string
  20494. produces:
  20495. - application/json
  20496. responses:
  20497. "200":
  20498. description: OK
  20499. schema:
  20500. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  20501. "500":
  20502. description: Internal Server Error
  20503. schema:
  20504. $ref: '#/definitions/app.Response'
  20505. security:
  20506. - ApiKeyAuth: []
  20507. summary: 历史成交单查询(合约市场)
  20508. tags:
  20509. - 通用单据
  20510. /Order/QueryHisTradeOrderDetail:
  20511. get:
  20512. parameters:
  20513. - description: 资金账户 - 格式:1,2,3
  20514. in: query
  20515. name: accountID
  20516. required: true
  20517. type: string
  20518. - description: 交易模式 - 格式:1,2,3
  20519. in: query
  20520. name: tradeMode
  20521. type: string
  20522. - description: 委托状态 - 格式:1,2,3
  20523. in: query
  20524. name: orderStatus
  20525. type: string
  20526. - description: 委托单号
  20527. in: query
  20528. name: orderID
  20529. type: integer
  20530. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20531. in: query
  20532. name: startDate
  20533. type: string
  20534. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20535. in: query
  20536. name: endDate
  20537. type: string
  20538. produces:
  20539. - application/json
  20540. responses:
  20541. "200":
  20542. description: OK
  20543. schema:
  20544. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  20545. "500":
  20546. description: Internal Server Error
  20547. schema:
  20548. $ref: '#/definitions/app.Response'
  20549. security:
  20550. - ApiKeyAuth: []
  20551. summary: 历史委托单查询请求(合约市场)
  20552. tags:
  20553. - 通用单据
  20554. /Order/QueryTradeDetail:
  20555. get:
  20556. parameters:
  20557. - description: 资金账户 - 格式:1,2,3
  20558. in: query
  20559. name: accountID
  20560. required: true
  20561. type: string
  20562. - description: 成交单号
  20563. in: query
  20564. name: tradeID
  20565. type: integer
  20566. - description: 委托单号
  20567. in: query
  20568. name: orderID
  20569. type: integer
  20570. - description: 交易模式 - 格式:1,2,3
  20571. in: query
  20572. name: tradeMode
  20573. type: string
  20574. - description: 委托单据类型
  20575. in: query
  20576. name: buildType
  20577. type: integer
  20578. - description: 成交类别 - 格式:1,2,3
  20579. in: query
  20580. name: tradeType
  20581. type: string
  20582. - description: 商品ID
  20583. in: query
  20584. name: goodsID
  20585. type: integer
  20586. produces:
  20587. - application/json
  20588. responses:
  20589. "200":
  20590. description: OK
  20591. schema:
  20592. $ref: '#/definitions/order.QueryTradeDetailRsp'
  20593. "500":
  20594. description: Internal Server Error
  20595. schema:
  20596. $ref: '#/definitions/app.Response'
  20597. security:
  20598. - ApiKeyAuth: []
  20599. summary: 成交单查询(合约市场)
  20600. tags:
  20601. - 通用单据
  20602. /Order/QueryTradeOrderDetail:
  20603. get:
  20604. parameters:
  20605. - description: 资金账户 - 格式:1,2,3
  20606. in: query
  20607. name: accountID
  20608. required: true
  20609. type: string
  20610. - description: 交易模式 - 格式:1,2,3
  20611. in: query
  20612. name: tradeMode
  20613. type: string
  20614. - description: 委托状态 - 格式:1,2,3
  20615. in: query
  20616. name: orderStatus
  20617. type: string
  20618. - description: 委托单号
  20619. in: query
  20620. name: orderID
  20621. type: integer
  20622. produces:
  20623. - application/json
  20624. responses:
  20625. "200":
  20626. description: OK
  20627. schema:
  20628. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  20629. "500":
  20630. description: Internal Server Error
  20631. schema:
  20632. $ref: '#/definitions/app.Response'
  20633. security:
  20634. - ApiKeyAuth: []
  20635. summary: 委托单查询请求(合约市场)
  20636. tags:
  20637. - 通用单据
  20638. /Order/QueryTradePosition:
  20639. get:
  20640. parameters:
  20641. - description: 资金账户 - 格式:1,2,3
  20642. in: query
  20643. name: accountID
  20644. required: true
  20645. type: string
  20646. - description: 交易模式 - 格式:1,2,3
  20647. in: query
  20648. name: tradeMode
  20649. type: string
  20650. produces:
  20651. - application/json
  20652. responses:
  20653. "200":
  20654. description: OK
  20655. schema:
  20656. $ref: '#/definitions/order.QueryTradePositionRsp'
  20657. "500":
  20658. description: Internal Server Error
  20659. schema:
  20660. $ref: '#/definitions/app.Response'
  20661. security:
  20662. - ApiKeyAuth: []
  20663. summary: 持仓汇总查询(合约市场)
  20664. tags:
  20665. - 通用单据
  20666. /Qhj/QueryAccountInOutApply:
  20667. get:
  20668. parameters:
  20669. - description: 用户ID
  20670. in: query
  20671. name: userid
  20672. required: true
  20673. type: integer
  20674. - description: 申请起始日期(格式yyyymmdd)
  20675. in: query
  20676. name: begindate
  20677. type: string
  20678. - description: 申请截止日期(格式yyyymmdd)
  20679. in: query
  20680. name: enddate
  20681. type: string
  20682. - description: 模糊搜索名称
  20683. in: query
  20684. name: likename
  20685. type: string
  20686. produces:
  20687. - application/json
  20688. responses:
  20689. "200":
  20690. description: OK
  20691. schema:
  20692. items:
  20693. $ref: '#/definitions/models.QhjAccountOutInApply'
  20694. type: array
  20695. "500":
  20696. description: Internal Server Error
  20697. schema:
  20698. $ref: '#/definitions/app.Response'
  20699. security:
  20700. - ApiKeyAuth: []
  20701. summary: 查询充值提现
  20702. tags:
  20703. - 大连千海金
  20704. /Qhj/QueryAreaFinanceConfig:
  20705. get:
  20706. parameters:
  20707. - description: 机构用户ID 其他做市关系,都设置为 1
  20708. in: query
  20709. name: userid
  20710. type: integer
  20711. produces:
  20712. - application/json
  20713. responses:
  20714. "200":
  20715. description: OK
  20716. schema:
  20717. items:
  20718. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  20719. type: array
  20720. "500":
  20721. description: Internal Server Error
  20722. schema:
  20723. $ref: '#/definitions/app.Response'
  20724. security:
  20725. - ApiKeyAuth: []
  20726. summary: 查询企业配置表
  20727. tags:
  20728. - 大连千海金
  20729. /Qhj/QueryBankAccountSign:
  20730. get:
  20731. parameters:
  20732. - description: 用户ID
  20733. in: query
  20734. name: userid
  20735. required: true
  20736. type: integer
  20737. produces:
  20738. - application/json
  20739. responses:
  20740. "200":
  20741. description: OK
  20742. schema:
  20743. items:
  20744. $ref: '#/definitions/models.QhjBankAccountSign'
  20745. type: array
  20746. "500":
  20747. description: Internal Server Error
  20748. schema:
  20749. $ref: '#/definitions/app.Response'
  20750. security:
  20751. - ApiKeyAuth: []
  20752. summary: 查询签约银行信息(提现账户管理)
  20753. tags:
  20754. - 大连千海金
  20755. /Qhj/QueryBankInfo:
  20756. get:
  20757. produces:
  20758. - application/json
  20759. responses:
  20760. "200":
  20761. description: OK
  20762. schema:
  20763. items:
  20764. $ref: '#/definitions/models.QhjBankInfo'
  20765. type: array
  20766. "500":
  20767. description: Internal Server Error
  20768. schema:
  20769. $ref: '#/definitions/app.Response'
  20770. security:
  20771. - ApiKeyAuth: []
  20772. summary: 查询开户行
  20773. tags:
  20774. - 大连千海金
  20775. /Qhj/QueryBrokerApply:
  20776. get:
  20777. parameters:
  20778. - description: 所属机构ID
  20779. in: query
  20780. name: userid
  20781. type: integer
  20782. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20783. in: query
  20784. name: filterstatus
  20785. type: string
  20786. produces:
  20787. - application/json
  20788. responses:
  20789. "200":
  20790. description: OK
  20791. schema:
  20792. items:
  20793. $ref: '#/definitions/models.QhjBrokerApply'
  20794. type: array
  20795. "500":
  20796. description: Internal Server Error
  20797. schema:
  20798. $ref: '#/definitions/app.Response'
  20799. security:
  20800. - ApiKeyAuth: []
  20801. summary: 查询经纪人申请
  20802. tags:
  20803. - 大连千海金
  20804. /Qhj/QueryBrokerApplyEx:
  20805. get:
  20806. parameters:
  20807. - description: 所属机构ID
  20808. in: query
  20809. name: userid
  20810. type: integer
  20811. produces:
  20812. - application/json
  20813. responses:
  20814. "200":
  20815. description: OK
  20816. schema:
  20817. items:
  20818. $ref: '#/definitions/models.QhjBrokerApplyEx'
  20819. type: array
  20820. "500":
  20821. description: Internal Server Error
  20822. schema:
  20823. $ref: '#/definitions/app.Response'
  20824. security:
  20825. - ApiKeyAuth: []
  20826. summary: 查询经纪人信息和申请记录
  20827. tags:
  20828. - 大连千海金
  20829. /Qhj/QueryBrokerRewardLog:
  20830. get:
  20831. parameters:
  20832. - description: 用户ID
  20833. in: query
  20834. name: userid
  20835. required: true
  20836. type: integer
  20837. - description: 开始交易日(yyyymmdd)
  20838. in: query
  20839. name: begindate
  20840. type: string
  20841. - description: 结束交易日(yyyymmdd)
  20842. in: query
  20843. name: enddate
  20844. type: string
  20845. produces:
  20846. - application/json
  20847. responses:
  20848. "200":
  20849. description: OK
  20850. schema:
  20851. items:
  20852. $ref: '#/definitions/models.QhjBrokerRewardLog'
  20853. type: array
  20854. "500":
  20855. description: Internal Server Error
  20856. schema:
  20857. $ref: '#/definitions/app.Response'
  20858. security:
  20859. - ApiKeyAuth: []
  20860. summary: 查询奖励流水(我的奖励)
  20861. tags:
  20862. - 大连千海金
  20863. /Qhj/QueryContract:
  20864. get:
  20865. parameters:
  20866. - description: 用户ID
  20867. in: query
  20868. name: userid
  20869. type: integer
  20870. - description: scf合同id
  20871. in: query
  20872. name: scfcontractid
  20873. type: integer
  20874. produces:
  20875. - application/json
  20876. responses:
  20877. "200":
  20878. description: OK
  20879. schema:
  20880. items:
  20881. $ref: '#/definitions/models.QhjContract'
  20882. type: array
  20883. "500":
  20884. description: Internal Server Error
  20885. schema:
  20886. $ref: '#/definitions/app.Response'
  20887. security:
  20888. - ApiKeyAuth: []
  20889. summary: 查询融资明细(合同)
  20890. tags:
  20891. - 大连千海金
  20892. /Qhj/QueryContractLog:
  20893. get:
  20894. parameters:
  20895. - description: scf合同id
  20896. in: query
  20897. name: scfcontractid
  20898. required: true
  20899. type: integer
  20900. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  20901. in: query
  20902. name: amounttype
  20903. type: string
  20904. produces:
  20905. - application/json
  20906. responses:
  20907. "200":
  20908. description: OK
  20909. schema:
  20910. items:
  20911. $ref: '#/definitions/models.QhjContractLog'
  20912. type: array
  20913. "500":
  20914. description: Internal Server Error
  20915. schema:
  20916. $ref: '#/definitions/app.Response'
  20917. security:
  20918. - ApiKeyAuth: []
  20919. summary: 查询融资明细流水(融资明细详情页中的流水)
  20920. tags:
  20921. - 大连千海金
  20922. /Qhj/QueryCusBankSignBank:
  20923. get:
  20924. produces:
  20925. - application/json
  20926. responses:
  20927. "200":
  20928. description: OK
  20929. schema:
  20930. items:
  20931. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  20932. type: array
  20933. "500":
  20934. description: Internal Server Error
  20935. schema:
  20936. $ref: '#/definitions/app.Response'
  20937. security:
  20938. - ApiKeyAuth: []
  20939. summary: 查询托管银行
  20940. tags:
  20941. - 大连千海金
  20942. /Qhj/QueryCustomerInfo:
  20943. get:
  20944. parameters:
  20945. - description: 用户ID
  20946. in: query
  20947. name: userid
  20948. required: true
  20949. type: integer
  20950. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  20951. in: query
  20952. name: querytype
  20953. required: true
  20954. type: integer
  20955. - description: 客户类型 1-个人 2-企业
  20956. in: query
  20957. name: userinfotype
  20958. type: integer
  20959. - description: 客户名称(模糊匹配)
  20960. in: query
  20961. name: customername
  20962. type: string
  20963. - description: 昵称(模糊匹配)
  20964. in: query
  20965. name: nickname
  20966. type: string
  20967. - description: 是否包含子级 1-包含
  20968. in: query
  20969. name: includesub
  20970. type: integer
  20971. produces:
  20972. - application/json
  20973. responses:
  20974. "200":
  20975. description: OK
  20976. schema:
  20977. items:
  20978. $ref: '#/definitions/models.QhjCustomer'
  20979. type: array
  20980. "500":
  20981. description: Internal Server Error
  20982. schema:
  20983. $ref: '#/definitions/app.Response'
  20984. security:
  20985. - ApiKeyAuth: []
  20986. summary: 查询客户资料
  20987. tags:
  20988. - 大连千海金
  20989. /Qhj/QueryGoodsEx:
  20990. get:
  20991. parameters:
  20992. - description: 商品id
  20993. in: query
  20994. name: goodsid
  20995. type: integer
  20996. produces:
  20997. - application/json
  20998. responses:
  20999. "200":
  21000. description: OK
  21001. schema:
  21002. items:
  21003. $ref: '#/definitions/models.Qhjgoodsex'
  21004. type: array
  21005. "500":
  21006. description: Internal Server Error
  21007. schema:
  21008. $ref: '#/definitions/app.Response'
  21009. security:
  21010. - ApiKeyAuth: []
  21011. summary: 交易商品扩展表
  21012. tags:
  21013. - 大连千海金
  21014. /Qhj/QueryMyTeam:
  21015. get:
  21016. parameters:
  21017. - description: 用户ID
  21018. in: query
  21019. name: userid
  21020. required: true
  21021. type: integer
  21022. produces:
  21023. - application/json
  21024. responses:
  21025. "200":
  21026. description: OK
  21027. schema:
  21028. items:
  21029. $ref: '#/definitions/models.QhjMyTeamEx'
  21030. type: array
  21031. "500":
  21032. description: Internal Server Error
  21033. schema:
  21034. $ref: '#/definitions/app.Response'
  21035. security:
  21036. - ApiKeyAuth: []
  21037. summary: 查询我的团队
  21038. tags:
  21039. - 大连千海金
  21040. /Qhj/QueryMyTeamOrder:
  21041. get:
  21042. parameters:
  21043. - description: 页码
  21044. in: query
  21045. name: page
  21046. type: integer
  21047. - description: 每页条数
  21048. in: query
  21049. name: pagesize
  21050. type: integer
  21051. - description: 用户ID
  21052. in: query
  21053. name: userid
  21054. required: true
  21055. type: integer
  21056. - description: 交易模式
  21057. in: query
  21058. name: trademode
  21059. type: integer
  21060. - description: 名称(模糊搜索账户)
  21061. in: query
  21062. name: filtername
  21063. type: string
  21064. produces:
  21065. - application/json
  21066. responses:
  21067. "200":
  21068. description: OK
  21069. schema:
  21070. items:
  21071. $ref: '#/definitions/models.QhjTeamOrder'
  21072. type: array
  21073. "500":
  21074. description: Internal Server Error
  21075. schema:
  21076. $ref: '#/definitions/app.Response'
  21077. security:
  21078. - ApiKeyAuth: []
  21079. summary: 查询团队订单(我的团队/团队订单)
  21080. tags:
  21081. - 大连千海金
  21082. /Qhj/QueryParentAreaList:
  21083. get:
  21084. parameters:
  21085. - description: 用户ID
  21086. in: query
  21087. name: userid
  21088. required: true
  21089. type: integer
  21090. produces:
  21091. - application/json
  21092. responses:
  21093. "200":
  21094. description: OK
  21095. schema:
  21096. items:
  21097. $ref: '#/definitions/models.QhjParentAreaList'
  21098. type: array
  21099. "500":
  21100. description: Internal Server Error
  21101. schema:
  21102. $ref: '#/definitions/app.Response'
  21103. security:
  21104. - ApiKeyAuth: []
  21105. summary: 查询所属机构列表
  21106. tags:
  21107. - 大连千海金
  21108. /Qhj/QueryPayOrder:
  21109. get:
  21110. parameters:
  21111. - description: 资金账号id
  21112. in: query
  21113. name: accountid
  21114. required: true
  21115. type: integer
  21116. - description: 成交单号
  21117. in: query
  21118. name: tradeid
  21119. type: integer
  21120. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21121. in: query
  21122. name: payflag
  21123. type: string
  21124. produces:
  21125. - application/json
  21126. responses:
  21127. "200":
  21128. description: OK
  21129. schema:
  21130. items:
  21131. $ref: '#/definitions/models.QhjPayOrder'
  21132. type: array
  21133. "500":
  21134. description: Internal Server Error
  21135. schema:
  21136. $ref: '#/definitions/app.Response'
  21137. security:
  21138. - ApiKeyAuth: []
  21139. summary: 查询待付款单据
  21140. tags:
  21141. - 大连千海金
  21142. /Qhj/QueryPickArea:
  21143. get:
  21144. parameters:
  21145. - description: 用户ID
  21146. in: query
  21147. name: userid
  21148. type: integer
  21149. produces:
  21150. - application/json
  21151. responses:
  21152. "200":
  21153. description: OK
  21154. schema:
  21155. items:
  21156. $ref: '#/definitions/models.QhjPickArea'
  21157. type: array
  21158. "500":
  21159. description: Internal Server Error
  21160. schema:
  21161. $ref: '#/definitions/app.Response'
  21162. security:
  21163. - ApiKeyAuth: []
  21164. summary: 查询提货门店
  21165. tags:
  21166. - 大连千海金
  21167. /Qhj/QueryPickGoods:
  21168. get:
  21169. parameters:
  21170. - description: 交易商品id
  21171. in: query
  21172. name: goodsid
  21173. required: true
  21174. type: integer
  21175. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21176. in: query
  21177. name: status
  21178. type: string
  21179. produces:
  21180. - application/json
  21181. responses:
  21182. "200":
  21183. description: OK
  21184. schema:
  21185. items:
  21186. $ref: '#/definitions/models.QhjPickGoods'
  21187. type: array
  21188. "500":
  21189. description: Internal Server Error
  21190. schema:
  21191. $ref: '#/definitions/app.Response'
  21192. security:
  21193. - ApiKeyAuth: []
  21194. summary: 查询提货商品
  21195. tags:
  21196. - 大连千海金
  21197. /Qhj/QueryRSTriggerLog:
  21198. get:
  21199. parameters:
  21200. - description: 用户ID
  21201. in: query
  21202. name: userid
  21203. type: integer
  21204. - description: 定投策略id
  21205. in: query
  21206. name: regularlystrategyid
  21207. type: integer
  21208. - description: 商品id
  21209. in: query
  21210. name: goodsid
  21211. type: integer
  21212. - description: 开始交易日(yyyymmdd)
  21213. in: query
  21214. name: begindate
  21215. type: string
  21216. - description: 结束交易日(yyyymmdd)
  21217. in: query
  21218. name: enddate
  21219. type: string
  21220. - description: 名称(模糊搜索账户)
  21221. in: query
  21222. name: filtername
  21223. type: string
  21224. produces:
  21225. - application/json
  21226. responses:
  21227. "200":
  21228. description: OK
  21229. schema:
  21230. items:
  21231. $ref: '#/definitions/models.QhjRSTriggerLog'
  21232. type: array
  21233. "500":
  21234. description: Internal Server Error
  21235. schema:
  21236. $ref: '#/definitions/app.Response'
  21237. security:
  21238. - ApiKeyAuth: []
  21239. summary: 查询定投记录(定投管理/详情/定投记录)
  21240. tags:
  21241. - 大连千海金
  21242. /Qhj/QueryRStrategy:
  21243. get:
  21244. parameters:
  21245. - description: 用户ID
  21246. in: query
  21247. name: userid
  21248. type: integer
  21249. - description: 商品id
  21250. in: query
  21251. name: goodsid
  21252. type: integer
  21253. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  21254. in: query
  21255. name: status
  21256. type: string
  21257. - description: 名称(模糊搜索账户)
  21258. in: query
  21259. name: filtername
  21260. type: string
  21261. produces:
  21262. - application/json
  21263. responses:
  21264. "200":
  21265. description: OK
  21266. schema:
  21267. items:
  21268. $ref: '#/definitions/models.QhjRStrategy'
  21269. type: array
  21270. "500":
  21271. description: Internal Server Error
  21272. schema:
  21273. $ref: '#/definitions/app.Response'
  21274. security:
  21275. - ApiKeyAuth: []
  21276. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  21277. tags:
  21278. - 大连千海金
  21279. /Qhj/QueryReckonPriceLog:
  21280. get:
  21281. parameters:
  21282. - description: 商品ID
  21283. in: query
  21284. name: goodsid
  21285. type: integer
  21286. - description: 交易日 格式(yyyymmdd)
  21287. in: query
  21288. name: tradedate
  21289. type: string
  21290. produces:
  21291. - application/json
  21292. responses:
  21293. "200":
  21294. description: OK
  21295. schema:
  21296. items:
  21297. $ref: '#/definitions/models.QhjReckonPriceLog'
  21298. type: array
  21299. "500":
  21300. description: Internal Server Error
  21301. schema:
  21302. $ref: '#/definitions/app.Response'
  21303. security:
  21304. - ApiKeyAuth: []
  21305. summary: 查询定投价(结算价)
  21306. tags:
  21307. - 大连千海金
  21308. /Qhj/QueryScoreLog:
  21309. get:
  21310. parameters:
  21311. - description: 用户ID
  21312. in: query
  21313. name: userid
  21314. required: true
  21315. type: integer
  21316. - description: 开始交易日(yyyymmdd)
  21317. in: query
  21318. name: begindate
  21319. type: string
  21320. - description: 结束交易日(yyyymmdd)
  21321. in: query
  21322. name: enddate
  21323. type: string
  21324. - description: 最近多少条
  21325. in: query
  21326. name: lastnum
  21327. type: integer
  21328. produces:
  21329. - application/json
  21330. responses:
  21331. "200":
  21332. description: OK
  21333. schema:
  21334. items:
  21335. $ref: '#/definitions/models.QhjScoreLog'
  21336. type: array
  21337. "500":
  21338. description: Internal Server Error
  21339. schema:
  21340. $ref: '#/definitions/app.Response'
  21341. security:
  21342. - ApiKeyAuth: []
  21343. summary: 查询积分流水(我的积分)
  21344. tags:
  21345. - 大连千海金
  21346. /Qhj/QuerySiteColumnDetail:
  21347. get:
  21348. parameters:
  21349. - description: 用户ID
  21350. in: query
  21351. name: userid
  21352. required: true
  21353. type: integer
  21354. produces:
  21355. - application/json
  21356. responses:
  21357. "200":
  21358. description: OK
  21359. schema:
  21360. items:
  21361. $ref: '#/definitions/models.QhjSiteColumnDetail'
  21362. type: array
  21363. "500":
  21364. description: Internal Server Error
  21365. schema:
  21366. $ref: '#/definitions/app.Response'
  21367. security:
  21368. - ApiKeyAuth: []
  21369. summary: 查询资讯
  21370. tags:
  21371. - 大连千海金
  21372. /Qhj/QueryTradeGoodsPickup:
  21373. get:
  21374. parameters:
  21375. - description: 用户ID
  21376. in: query
  21377. name: userid
  21378. required: true
  21379. type: integer
  21380. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  21381. 7:已拒绝 8:已撤销
  21382. in: query
  21383. name: takeorderstatus
  21384. type: integer
  21385. produces:
  21386. - application/json
  21387. responses:
  21388. "200":
  21389. description: OK
  21390. schema:
  21391. items:
  21392. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  21393. type: array
  21394. "500":
  21395. description: Internal Server Error
  21396. schema:
  21397. $ref: '#/definitions/app.Response'
  21398. security:
  21399. - ApiKeyAuth: []
  21400. summary: 查询提货
  21401. tags:
  21402. - 大连千海金
  21403. /Qhj/QueryUserCollectConfig:
  21404. get:
  21405. parameters:
  21406. - description: 用户ID
  21407. in: query
  21408. name: userid
  21409. required: true
  21410. type: integer
  21411. produces:
  21412. - application/json
  21413. responses:
  21414. "200":
  21415. description: OK
  21416. schema:
  21417. items:
  21418. $ref: '#/definitions/models.UserCollectConfig'
  21419. type: array
  21420. "500":
  21421. description: Internal Server Error
  21422. schema:
  21423. $ref: '#/definitions/app.Response'
  21424. security:
  21425. - ApiKeyAuth: []
  21426. summary: 查询提现账户设置
  21427. tags:
  21428. - 大连千海金
  21429. /Qhj/QueryUserReceiveInfo:
  21430. get:
  21431. parameters:
  21432. - description: 用户ID
  21433. in: query
  21434. name: userid
  21435. required: true
  21436. type: integer
  21437. produces:
  21438. - application/json
  21439. responses:
  21440. "200":
  21441. description: OK
  21442. schema:
  21443. items:
  21444. $ref: '#/definitions/models.UserReceiveInfo'
  21445. type: array
  21446. "500":
  21447. description: Internal Server Error
  21448. schema:
  21449. $ref: '#/definitions/app.Response'
  21450. security:
  21451. - ApiKeyAuth: []
  21452. summary: 查询收货地址信息
  21453. tags:
  21454. - 大连千海金
  21455. /QhjMgr/QueryAccountInOutApply:
  21456. get:
  21457. parameters:
  21458. - description: 查询类型 1-提现(出金) 2-充值(出金)
  21459. in: query
  21460. name: querytype
  21461. required: true
  21462. type: integer
  21463. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  21464. in: query
  21465. name: applystatus
  21466. type: integer
  21467. - description: 申请起始日期(格式yyyymmdd)
  21468. in: query
  21469. name: begindate
  21470. type: string
  21471. - description: 申请截止日期(格式yyyymmdd)
  21472. in: query
  21473. name: enddate
  21474. type: string
  21475. - description: 模糊搜索名称
  21476. in: query
  21477. name: likename
  21478. type: string
  21479. produces:
  21480. - application/json
  21481. responses:
  21482. "200":
  21483. description: OK
  21484. schema:
  21485. items:
  21486. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  21487. type: array
  21488. "500":
  21489. description: Internal Server Error
  21490. schema:
  21491. $ref: '#/definitions/app.Response'
  21492. security:
  21493. - ApiKeyAuth: []
  21494. summary: 查询充值提现
  21495. tags:
  21496. - 大连千海金(PCWeb)
  21497. /QhjMgr/QueryBrokerApply:
  21498. get:
  21499. parameters:
  21500. - description: 所属机构ID
  21501. in: query
  21502. name: userid
  21503. type: integer
  21504. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21505. in: query
  21506. name: filterstatus
  21507. type: string
  21508. - description: 名称(模糊匹配)
  21509. in: query
  21510. name: filtername
  21511. type: string
  21512. - description: 是否包含子级 1-包含
  21513. in: query
  21514. name: includesub
  21515. type: integer
  21516. produces:
  21517. - application/json
  21518. responses:
  21519. "200":
  21520. description: OK
  21521. schema:
  21522. items:
  21523. $ref: '#/definitions/models.QhjMgrBrokerApply'
  21524. type: array
  21525. "500":
  21526. description: Internal Server Error
  21527. schema:
  21528. $ref: '#/definitions/app.Response'
  21529. security:
  21530. - ApiKeyAuth: []
  21531. summary: 查询经纪人申请
  21532. tags:
  21533. - 大连千海金(PCWeb)
  21534. /QhjMgr/QueryBrokerRewardReport:
  21535. get:
  21536. parameters:
  21537. - description: 所属机构ID
  21538. in: query
  21539. name: userid
  21540. required: true
  21541. type: integer
  21542. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21543. in: query
  21544. name: cycletype
  21545. required: true
  21546. type: integer
  21547. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  21548. in: query
  21549. name: cycletime
  21550. required: true
  21551. type: string
  21552. - description: 名称(模糊匹配)
  21553. in: query
  21554. name: filtername
  21555. type: string
  21556. - description: 是否包含子级 1-包含
  21557. in: query
  21558. name: includesub
  21559. type: integer
  21560. produces:
  21561. - application/json
  21562. responses:
  21563. "200":
  21564. description: OK
  21565. schema:
  21566. items:
  21567. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  21568. type: array
  21569. "500":
  21570. description: Internal Server Error
  21571. schema:
  21572. $ref: '#/definitions/app.Response'
  21573. security:
  21574. - ApiKeyAuth: []
  21575. summary: 查询经纪人奖励报表(废弃)
  21576. tags:
  21577. - 大连千海金(PCWeb)
  21578. /QhjMgr/QueryContract:
  21579. get:
  21580. parameters:
  21581. - description: 用户ID
  21582. in: query
  21583. name: userid
  21584. type: integer
  21585. - description: 商品id
  21586. in: query
  21587. name: goodsid
  21588. type: integer
  21589. - description: 名称(模糊搜索账户)
  21590. in: query
  21591. name: filtername
  21592. type: string
  21593. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  21594. in: query
  21595. name: risklevel
  21596. type: string
  21597. - description: 开始交易日(yyyymmdd)
  21598. in: query
  21599. name: begindate
  21600. type: string
  21601. - description: 结束交易日(yyyymmdd)
  21602. in: query
  21603. name: enddate
  21604. type: string
  21605. produces:
  21606. - application/json
  21607. responses:
  21608. "200":
  21609. description: OK
  21610. schema:
  21611. items:
  21612. $ref: '#/definitions/models.QhjMgrContract'
  21613. type: array
  21614. "500":
  21615. description: Internal Server Error
  21616. schema:
  21617. $ref: '#/definitions/app.Response'
  21618. security:
  21619. - ApiKeyAuth: []
  21620. summary: 查询融资信息(合同)
  21621. tags:
  21622. - 大连千海金(PCWeb)
  21623. /QhjMgr/QueryCustomerInfo:
  21624. get:
  21625. parameters:
  21626. - description: 用户ID
  21627. in: query
  21628. name: userid
  21629. required: true
  21630. type: integer
  21631. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21632. in: query
  21633. name: querytype
  21634. required: true
  21635. type: integer
  21636. - description: 客户类型 1-个人 2-企业
  21637. in: query
  21638. name: userinfotype
  21639. type: integer
  21640. - description: 客户名称(模糊匹配)
  21641. in: query
  21642. name: customername
  21643. type: string
  21644. - description: 昵称(模糊匹配)
  21645. in: query
  21646. name: nickname
  21647. type: string
  21648. - description: 是否包含子级 1-包含
  21649. in: query
  21650. name: includesub
  21651. type: integer
  21652. produces:
  21653. - application/json
  21654. responses:
  21655. "200":
  21656. description: OK
  21657. schema:
  21658. items:
  21659. $ref: '#/definitions/models.QhjMgrCustomer'
  21660. type: array
  21661. "500":
  21662. description: Internal Server Error
  21663. schema:
  21664. $ref: '#/definitions/app.Response'
  21665. security:
  21666. - ApiKeyAuth: []
  21667. summary: 查询客户资料
  21668. tags:
  21669. - 大连千海金(PCWeb)
  21670. /QhjMgr/QueryPickGoods:
  21671. get:
  21672. parameters:
  21673. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21674. in: query
  21675. name: status
  21676. type: string
  21677. produces:
  21678. - application/json
  21679. responses:
  21680. "200":
  21681. description: OK
  21682. schema:
  21683. items:
  21684. $ref: '#/definitions/models.QhjMgrPickGoods'
  21685. type: array
  21686. "500":
  21687. description: Internal Server Error
  21688. schema:
  21689. $ref: '#/definitions/app.Response'
  21690. security:
  21691. - ApiKeyAuth: []
  21692. summary: 查询提货商品
  21693. tags:
  21694. - 大连千海金(PCWeb)
  21695. /QhjMgr/QuerySubArea:
  21696. get:
  21697. parameters:
  21698. - description: 用户ID
  21699. in: query
  21700. name: userid
  21701. required: true
  21702. type: integer
  21703. produces:
  21704. - application/json
  21705. responses:
  21706. "200":
  21707. description: OK
  21708. schema:
  21709. items:
  21710. $ref: '#/definitions/models.QhjMgrSubArea'
  21711. type: array
  21712. "500":
  21713. description: Internal Server Error
  21714. schema:
  21715. $ref: '#/definitions/app.Response'
  21716. security:
  21717. - ApiKeyAuth: []
  21718. summary: 查询子机构列表
  21719. tags:
  21720. - 大连千海金(PCWeb)
  21721. /QhjMgr/QueryTradeDetail:
  21722. get:
  21723. parameters:
  21724. - description: 用户ID
  21725. in: query
  21726. name: userid
  21727. required: true
  21728. type: integer
  21729. - description: 用户类型 1-个人 2-企业
  21730. in: query
  21731. name: userinfotype
  21732. type: integer
  21733. - description: 交易模式
  21734. in: query
  21735. name: trademode
  21736. type: integer
  21737. - description: 商品id
  21738. in: query
  21739. name: goodsid
  21740. type: integer
  21741. - description: 名称(模糊搜索账户)
  21742. in: query
  21743. name: filtername
  21744. type: string
  21745. - description: 开始交易日(yyyymmdd)
  21746. in: query
  21747. name: begindate
  21748. type: string
  21749. - description: 结束交易日(yyyymmdd)
  21750. in: query
  21751. name: enddate
  21752. type: string
  21753. - description: 是否包含子级 1-包含
  21754. in: query
  21755. name: includesub
  21756. type: integer
  21757. produces:
  21758. - application/json
  21759. responses:
  21760. "200":
  21761. description: OK
  21762. schema:
  21763. items:
  21764. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  21765. type: array
  21766. "500":
  21767. description: Internal Server Error
  21768. schema:
  21769. $ref: '#/definitions/app.Response'
  21770. security:
  21771. - ApiKeyAuth: []
  21772. summary: 查询成交明细
  21773. tags:
  21774. - 大连千海金(PCWeb)
  21775. /QhjMgr/QueryTradeOrderDetail:
  21776. get:
  21777. parameters:
  21778. - description: 用户ID
  21779. in: query
  21780. name: userid
  21781. required: true
  21782. type: integer
  21783. - description: 用户类型 1-个人 2-企业
  21784. in: query
  21785. name: userinfotype
  21786. type: integer
  21787. - description: 交易模式
  21788. in: query
  21789. name: trademode
  21790. type: integer
  21791. - description: 商品id
  21792. in: query
  21793. name: goodsid
  21794. type: integer
  21795. - description: 名称(模糊搜索账户)
  21796. in: query
  21797. name: filtername
  21798. type: string
  21799. - description: 开始交易日(yyyymmdd)
  21800. in: query
  21801. name: begindate
  21802. type: string
  21803. - description: 结束交易日(yyyymmdd)
  21804. in: query
  21805. name: enddate
  21806. type: string
  21807. - description: 是否包含子级 1-包含
  21808. in: query
  21809. name: includesub
  21810. type: integer
  21811. produces:
  21812. - application/json
  21813. responses:
  21814. "200":
  21815. description: OK
  21816. schema:
  21817. items:
  21818. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  21819. type: array
  21820. "500":
  21821. description: Internal Server Error
  21822. schema:
  21823. $ref: '#/definitions/app.Response'
  21824. security:
  21825. - ApiKeyAuth: []
  21826. summary: 查询委托明细
  21827. tags:
  21828. - 大连千海金(PCWeb)
  21829. /QhjMgr/QueryTradePayOrder:
  21830. get:
  21831. parameters:
  21832. - description: 用户ID
  21833. in: query
  21834. name: userid
  21835. required: true
  21836. type: integer
  21837. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21838. in: query
  21839. name: payflag
  21840. type: string
  21841. - description: 用户类型 1-个人 2-企业
  21842. in: query
  21843. name: userinfotype
  21844. type: integer
  21845. - description: 交易模式
  21846. in: query
  21847. name: trademode
  21848. type: integer
  21849. - description: 商品id
  21850. in: query
  21851. name: goodsid
  21852. type: integer
  21853. - description: 名称(模糊搜索账户)
  21854. in: query
  21855. name: filtername
  21856. type: string
  21857. - description: 开始交易日(yyyymmdd)
  21858. in: query
  21859. name: begindate
  21860. type: string
  21861. - description: 结束交易日(yyyymmdd)
  21862. in: query
  21863. name: enddate
  21864. type: string
  21865. - description: 是否包含子级 1-包含
  21866. in: query
  21867. name: includesub
  21868. type: integer
  21869. produces:
  21870. - application/json
  21871. responses:
  21872. "200":
  21873. description: OK
  21874. schema:
  21875. items:
  21876. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  21877. type: array
  21878. "500":
  21879. description: Internal Server Error
  21880. schema:
  21881. $ref: '#/definitions/app.Response'
  21882. security:
  21883. - ApiKeyAuth: []
  21884. summary: 查询待付款单
  21885. tags:
  21886. - 大连千海金(PCWeb)
  21887. /QhjMgr/QueryTradePosition:
  21888. get:
  21889. parameters:
  21890. - description: 用户ID
  21891. in: query
  21892. name: userid
  21893. required: true
  21894. type: integer
  21895. - description: 用户类型 1-个人 2-企业
  21896. in: query
  21897. name: userinfotype
  21898. type: integer
  21899. - description: 交易模式
  21900. in: query
  21901. name: trademode
  21902. type: integer
  21903. - description: 商品id
  21904. in: query
  21905. name: goodsid
  21906. type: integer
  21907. - description: 名称(模糊搜索账户)
  21908. in: query
  21909. name: filtername
  21910. type: string
  21911. - description: 是否包含子级 1-包含
  21912. in: query
  21913. name: includesub
  21914. type: integer
  21915. produces:
  21916. - application/json
  21917. responses:
  21918. "200":
  21919. description: OK
  21920. schema:
  21921. items:
  21922. $ref: '#/definitions/models.QhjMgrPositionRsp'
  21923. type: array
  21924. "500":
  21925. description: Internal Server Error
  21926. schema:
  21927. $ref: '#/definitions/app.Response'
  21928. security:
  21929. - ApiKeyAuth: []
  21930. summary: 查询持仓汇总
  21931. tags:
  21932. - 大连千海金(PCWeb)
  21933. /QhjSys/QueryAgreementChangeLog:
  21934. get:
  21935. parameters:
  21936. - description: 协议ID
  21937. in: query
  21938. name: agreementid
  21939. type: integer
  21940. - description: 协议版本号
  21941. in: query
  21942. name: agreementversion
  21943. type: integer
  21944. - description: 协议类型 - 1:注册 2:登录 3:交易
  21945. in: query
  21946. name: agreementtype
  21947. type: integer
  21948. - description: 协议编号(模糊匹配)
  21949. in: query
  21950. name: agreementno
  21951. type: string
  21952. - description: 协议名称(模糊匹配)
  21953. in: query
  21954. name: agreementname
  21955. type: string
  21956. produces:
  21957. - application/json
  21958. responses:
  21959. "200":
  21960. description: OK
  21961. schema:
  21962. items:
  21963. $ref: '#/definitions/models.QhjAgreementChangeLog'
  21964. type: array
  21965. "500":
  21966. description: Internal Server Error
  21967. schema:
  21968. $ref: '#/definitions/app.Response'
  21969. security:
  21970. - ApiKeyAuth: []
  21971. summary: 查询协议配置变更流水
  21972. tags:
  21973. - 大连千海金(协议和签约信息)
  21974. /QhjSys/QueryAgreementConfig:
  21975. get:
  21976. parameters:
  21977. - description: 协议ID
  21978. in: query
  21979. name: agreementid
  21980. type: integer
  21981. - description: 协议版本号
  21982. in: query
  21983. name: agreementversion
  21984. type: integer
  21985. - description: 协议类型 - 1:注册 2:登录 3:交易
  21986. in: query
  21987. name: agreementtype
  21988. type: integer
  21989. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  21990. in: query
  21991. name: isvalid
  21992. type: integer
  21993. - description: 协议编号(模糊匹配)
  21994. in: query
  21995. name: agreementno
  21996. type: string
  21997. - description: 协议名称(模糊匹配)
  21998. in: query
  21999. name: agreementname
  22000. type: string
  22001. produces:
  22002. - application/json
  22003. responses:
  22004. "200":
  22005. description: OK
  22006. schema:
  22007. items:
  22008. $ref: '#/definitions/models.QhjAgreementConfig'
  22009. type: array
  22010. "500":
  22011. description: Internal Server Error
  22012. schema:
  22013. $ref: '#/definitions/app.Response'
  22014. security:
  22015. - ApiKeyAuth: []
  22016. summary: 查询协议配置
  22017. tags:
  22018. - 大连千海金(协议和签约信息)
  22019. /QhjSys/QueryCustomerSignStatus:
  22020. get:
  22021. parameters:
  22022. - description: 客户ID
  22023. in: query
  22024. name: userid
  22025. type: integer
  22026. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  22027. in: query
  22028. name: nodetype
  22029. type: integer
  22030. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22031. in: query
  22032. name: goodsid
  22033. type: integer
  22034. - description: 创建交易日(yyyyMMdd)
  22035. in: query
  22036. name: tradedate
  22037. type: string
  22038. - description: 用户名称(模糊匹配)
  22039. in: query
  22040. name: username
  22041. type: string
  22042. produces:
  22043. - application/json
  22044. responses:
  22045. "200":
  22046. description: OK
  22047. schema:
  22048. items:
  22049. $ref: '#/definitions/models.QhjCustomerSignStatus'
  22050. type: array
  22051. "500":
  22052. description: Internal Server Error
  22053. schema:
  22054. $ref: '#/definitions/app.Response'
  22055. security:
  22056. - ApiKeyAuth: []
  22057. summary: 查询客户协议签约状态
  22058. tags:
  22059. - 大连千海金(协议和签约信息)
  22060. /QhjSys/QueryNodeAgreementConfig:
  22061. get:
  22062. parameters:
  22063. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22064. in: query
  22065. name: configid
  22066. type: integer
  22067. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22068. in: query
  22069. name: nodetype
  22070. type: integer
  22071. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22072. in: query
  22073. name: goodsid
  22074. type: integer
  22075. - description: 协议ID
  22076. in: query
  22077. name: agreementid
  22078. type: integer
  22079. - description: 协议类型 - 1:注册 2:登录 3:交易
  22080. in: query
  22081. name: agreementtype
  22082. type: integer
  22083. - description: 协议版本号
  22084. in: query
  22085. name: agreementversion
  22086. type: integer
  22087. - description: 协议编号(模糊匹配)
  22088. in: query
  22089. name: agreementno
  22090. type: string
  22091. - description: 协议名称(模糊匹配)
  22092. in: query
  22093. name: agreementname
  22094. type: string
  22095. produces:
  22096. - application/json
  22097. responses:
  22098. "200":
  22099. description: OK
  22100. schema:
  22101. items:
  22102. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  22103. type: array
  22104. "500":
  22105. description: Internal Server Error
  22106. schema:
  22107. $ref: '#/definitions/app.Response'
  22108. security:
  22109. - ApiKeyAuth: []
  22110. summary: 查询协议节点配置
  22111. tags:
  22112. - 大连千海金(协议和签约信息)
  22113. /QhjSys/QueryQhjCustomerSignLog:
  22114. get:
  22115. parameters:
  22116. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  22117. in: query
  22118. name: logid
  22119. type: integer
  22120. - description: 客户ID
  22121. in: query
  22122. name: userid
  22123. type: integer
  22124. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22125. in: query
  22126. name: nodetype
  22127. type: integer
  22128. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22129. in: query
  22130. name: goodsid
  22131. type: integer
  22132. - description: 协议ID
  22133. in: query
  22134. name: agreementid
  22135. type: integer
  22136. - description: 用户名称(模糊匹配)
  22137. in: query
  22138. name: username
  22139. type: string
  22140. - description: 协议编号(模糊匹配)
  22141. in: query
  22142. name: agreementno
  22143. type: string
  22144. - description: 协议名称(模糊匹配)
  22145. in: query
  22146. name: agreementname
  22147. type: string
  22148. produces:
  22149. - application/json
  22150. responses:
  22151. "200":
  22152. description: OK
  22153. schema:
  22154. items:
  22155. $ref: '#/definitions/models.QhjCustomerSignLog'
  22156. type: array
  22157. "500":
  22158. description: Internal Server Error
  22159. schema:
  22160. $ref: '#/definitions/app.Response'
  22161. security:
  22162. - ApiKeyAuth: []
  22163. summary: 查询客户协议签约流水
  22164. tags:
  22165. - 大连千海金(协议和签约信息)
  22166. /QhjSys/QueryUserNodeCfgAndStatus:
  22167. get:
  22168. parameters:
  22169. - description: 客户ID
  22170. in: query
  22171. name: userid
  22172. type: integer
  22173. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22174. in: query
  22175. name: configid
  22176. type: integer
  22177. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22178. in: query
  22179. name: nodetype
  22180. type: string
  22181. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22182. in: query
  22183. name: goodsid
  22184. type: integer
  22185. - description: 协议ID
  22186. in: query
  22187. name: agreementid
  22188. type: integer
  22189. - description: 协议类型 - 1:注册 2:登录 3:交易
  22190. in: query
  22191. name: agreementtype
  22192. type: integer
  22193. - description: 协议版本号
  22194. in: query
  22195. name: agreementversion
  22196. type: integer
  22197. - description: 协议编号(模糊匹配)
  22198. in: query
  22199. name: agreementno
  22200. type: string
  22201. - description: 协议名称(模糊匹配)
  22202. in: query
  22203. name: agreementname
  22204. type: string
  22205. produces:
  22206. - application/json
  22207. responses:
  22208. "200":
  22209. description: OK
  22210. schema:
  22211. items:
  22212. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  22213. type: array
  22214. "500":
  22215. description: Internal Server Error
  22216. schema:
  22217. $ref: '#/definitions/app.Response'
  22218. security:
  22219. - ApiKeyAuth: []
  22220. summary: 查询用户协议节点配置和状态
  22221. tags:
  22222. - 大连千海金(协议和签约信息)
  22223. /Quote/QueryHistoryDatas:
  22224. get:
  22225. parameters:
  22226. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  22227. 日线'
  22228. in: query
  22229. name: cycleType
  22230. required: true
  22231. type: integer
  22232. - description: 商品代码
  22233. in: query
  22234. name: goodsCode
  22235. required: true
  22236. type: string
  22237. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  22238. in: query
  22239. name: startTime
  22240. type: string
  22241. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  22242. in: query
  22243. name: endTime
  22244. type: string
  22245. - description: 条数
  22246. in: query
  22247. name: count
  22248. type: integer
  22249. - description: 是否按时间顺序排序(默认为时间倒序排序)
  22250. in: query
  22251. name: isAsc
  22252. type: boolean
  22253. produces:
  22254. - application/json
  22255. responses:
  22256. "200":
  22257. description: OK
  22258. schema:
  22259. $ref: '#/definitions/quote.HistoryData'
  22260. "500":
  22261. description: Internal Server Error
  22262. schema:
  22263. $ref: '#/definitions/app.Response'
  22264. security:
  22265. - ApiKeyAuth: []
  22266. summary: 查询行情历史数据
  22267. tags:
  22268. - 行情服务
  22269. /Quote/QueryHistoryTikDatas:
  22270. get:
  22271. parameters:
  22272. - description: 商品代码
  22273. in: query
  22274. name: goodsCode
  22275. required: true
  22276. type: string
  22277. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  22278. in: query
  22279. name: startTime
  22280. type: string
  22281. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  22282. in: query
  22283. name: endTime
  22284. type: string
  22285. - description: 条数
  22286. in: query
  22287. name: count
  22288. type: integer
  22289. - description: 是否按时间顺序排序(默认为时间倒序排序)
  22290. in: query
  22291. name: isAsc
  22292. type: boolean
  22293. produces:
  22294. - application/json
  22295. responses:
  22296. "200":
  22297. description: OK
  22298. schema:
  22299. $ref: '#/definitions/quote.HistoryTikData'
  22300. "500":
  22301. description: Internal Server Error
  22302. schema:
  22303. $ref: '#/definitions/app.Response'
  22304. security:
  22305. - ApiKeyAuth: []
  22306. summary: 查询行情Tik数据
  22307. tags:
  22308. - 行情服务
  22309. /Quote/QueryQuoteDay:
  22310. get:
  22311. parameters:
  22312. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  22313. in: query
  22314. name: goodsCodes
  22315. required: true
  22316. type: string
  22317. produces:
  22318. - application/json
  22319. responses:
  22320. "200":
  22321. description: OK
  22322. schema:
  22323. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  22324. "500":
  22325. description: Internal Server Error
  22326. schema:
  22327. $ref: '#/definitions/app.Response'
  22328. security:
  22329. - ApiKeyAuth: []
  22330. summary: 获取商品盘面信息
  22331. tags:
  22332. - 行情服务
  22333. /Quote/QueryTSData:
  22334. get:
  22335. parameters:
  22336. - description: 商品代码
  22337. in: query
  22338. name: goodsCode
  22339. required: true
  22340. type: string
  22341. produces:
  22342. - application/json
  22343. responses:
  22344. "200":
  22345. description: OK
  22346. schema:
  22347. $ref: '#/definitions/quote.QueryTSDataRsp'
  22348. "500":
  22349. description: Internal Server Error
  22350. schema:
  22351. $ref: '#/definitions/app.Response'
  22352. security:
  22353. - ApiKeyAuth: []
  22354. summary: 分时图数据查询
  22355. tags:
  22356. - 行情服务
  22357. /SZDZ/QueryConvertConfig:
  22358. get:
  22359. parameters:
  22360. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  22361. 6:交易转花生米(不设置)
  22362. in: query
  22363. name: convertType
  22364. type: integer
  22365. - description: 外部商品代码[JD\PD]
  22366. in: query
  22367. name: outerGoodsCode
  22368. type: string
  22369. - description: 内部商品ID列表[交易],格式:1,2,3
  22370. in: query
  22371. name: innerGoodsIDs
  22372. type: string
  22373. produces:
  22374. - application/json
  22375. responses:
  22376. "200":
  22377. description: OK
  22378. schema:
  22379. $ref: '#/definitions/models.Szdz3convertconfig'
  22380. "500":
  22381. description: Internal Server Error
  22382. schema:
  22383. $ref: '#/definitions/app.Response'
  22384. security:
  22385. - ApiKeyAuth: []
  22386. summary: 查询交易系统转换设置
  22387. tags:
  22388. - 定制【尚志大宗】
  22389. /SZDZ/QueryConvertLog:
  22390. get:
  22391. parameters:
  22392. - description: 资金账户 - 格式:1,2,3
  22393. in: query
  22394. name: accountID
  22395. required: true
  22396. type: string
  22397. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22398. in: query
  22399. name: startDate
  22400. type: string
  22401. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22402. in: query
  22403. name: endDate
  22404. type: string
  22405. produces:
  22406. - application/json
  22407. responses:
  22408. "200":
  22409. description: OK
  22410. schema:
  22411. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  22412. "500":
  22413. description: Internal Server Error
  22414. schema:
  22415. $ref: '#/definitions/app.Response'
  22416. security:
  22417. - ApiKeyAuth: []
  22418. summary: 交易系统转换流水查询
  22419. tags:
  22420. - 定制【尚志大宗】
  22421. /SZDZ/QueryGoodsPickup:
  22422. get:
  22423. parameters:
  22424. - description: 资金账户 - 格式:1,2,3
  22425. in: query
  22426. name: accountID
  22427. required: true
  22428. type: string
  22429. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22430. in: query
  22431. name: takeOrderStatus
  22432. type: integer
  22433. produces:
  22434. - application/json
  22435. responses:
  22436. "200":
  22437. description: OK
  22438. schema:
  22439. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  22440. "500":
  22441. description: Internal Server Error
  22442. schema:
  22443. $ref: '#/definitions/app.Response'
  22444. security:
  22445. - ApiKeyAuth: []
  22446. summary: 商品提货单查询
  22447. tags:
  22448. - 定制【尚志大宗】
  22449. /SZDZ/QueryRecieptOrder:
  22450. get:
  22451. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22452. parameters:
  22453. - description: 页码
  22454. in: query
  22455. name: page
  22456. type: integer
  22457. - description: 每页条数
  22458. in: query
  22459. name: pagesize
  22460. type: integer
  22461. - description: 商品ID
  22462. in: query
  22463. name: goodsID
  22464. required: true
  22465. type: integer
  22466. - description: 所属账户名称
  22467. in: query
  22468. name: accountName
  22469. type: string
  22470. - description: 市场ID
  22471. in: query
  22472. name: marketID
  22473. type: integer
  22474. - description: 方向 - 0:买 1:卖
  22475. in: query
  22476. name: buyorsell
  22477. required: true
  22478. type: integer
  22479. produces:
  22480. - application/json
  22481. responses:
  22482. "200":
  22483. description: OK
  22484. schema:
  22485. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  22486. "500":
  22487. description: Internal Server Error
  22488. schema:
  22489. $ref: '#/definitions/app.Response'
  22490. security:
  22491. - ApiKeyAuth: []
  22492. summary: 点选挂牌委托单据查询(摘牌大厅)
  22493. tags:
  22494. - 定制【尚志大宗】
  22495. /SZDZ/QuerySZDZTradePosition:
  22496. get:
  22497. parameters:
  22498. - description: 资金账户
  22499. in: query
  22500. name: accountID
  22501. required: true
  22502. type: integer
  22503. produces:
  22504. - application/json
  22505. responses:
  22506. "200":
  22507. description: OK
  22508. schema:
  22509. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  22510. "500":
  22511. description: Internal Server Error
  22512. schema:
  22513. $ref: '#/definitions/app.Response'
  22514. security:
  22515. - ApiKeyAuth: []
  22516. summary: 持仓汇总查询(尚志大宗)
  22517. tags:
  22518. - 定制【尚志大宗】
  22519. /SZDZ/SearchWhite:
  22520. get:
  22521. parameters:
  22522. - description: 用户ID
  22523. in: query
  22524. name: userID
  22525. required: true
  22526. type: integer
  22527. produces:
  22528. - application/json
  22529. responses:
  22530. "200":
  22531. description: OK
  22532. schema:
  22533. $ref: '#/definitions/models.Szdz3searchwhitelist'
  22534. "500":
  22535. description: Internal Server Error
  22536. schema:
  22537. $ref: '#/definitions/app.Response'
  22538. security:
  22539. - ApiKeyAuth: []
  22540. summary: 搜索白名单
  22541. tags:
  22542. - 定制【尚志大宗】
  22543. /Search/SearchGoodses:
  22544. get:
  22545. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  22546. parameters:
  22547. - description: 检索内容
  22548. in: query
  22549. name: content
  22550. required: true
  22551. type: string
  22552. - description: 交易模式,格式:1,2,3
  22553. in: query
  22554. name: tradeModes
  22555. type: string
  22556. produces:
  22557. - application/json
  22558. responses:
  22559. "200":
  22560. description: OK
  22561. schema:
  22562. $ref: '#/definitions/models.SearchGoods'
  22563. "500":
  22564. description: Internal Server Error
  22565. schema:
  22566. $ref: '#/definitions/app.Response'
  22567. summary: 检索商品信息
  22568. tags:
  22569. - 检索服务
  22570. /TaAccount/GetTaAccounts:
  22571. get:
  22572. parameters:
  22573. - description: 登录账户
  22574. in: query
  22575. name: loginID
  22576. required: true
  22577. type: integer
  22578. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  22579. in: query
  22580. name: taAccountType
  22581. type: integer
  22582. produces:
  22583. - application/json
  22584. responses:
  22585. "200":
  22586. description: OK
  22587. schema:
  22588. $ref: '#/definitions/models.Taaccount'
  22589. "500":
  22590. description: Internal Server Error
  22591. schema:
  22592. $ref: '#/definitions/app.Response'
  22593. security:
  22594. - ApiKeyAuth: []
  22595. summary: 获取资金账户信息
  22596. tags:
  22597. - 资金账户
  22598. /TaAccount/QueryAmountLog:
  22599. get:
  22600. parameters:
  22601. - description: 页码
  22602. in: query
  22603. name: page
  22604. type: integer
  22605. - description: 每页条数
  22606. in: query
  22607. name: pagesize
  22608. type: integer
  22609. - description: 资金账户 - 格式:1,2,3
  22610. in: query
  22611. name: accountID
  22612. required: true
  22613. type: string
  22614. - description: 资金操作类型 - 格式:1,2,3
  22615. in: query
  22616. name: OperateType
  22617. type: string
  22618. produces:
  22619. - application/json
  22620. responses:
  22621. "200":
  22622. description: OK
  22623. schema:
  22624. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  22625. "500":
  22626. description: Internal Server Error
  22627. schema:
  22628. $ref: '#/definitions/app.Response'
  22629. security:
  22630. - ApiKeyAuth: []
  22631. summary: 资金流水查询(当前)
  22632. tags:
  22633. - 资金账户
  22634. /TaAccount/QueryHisAmountLog:
  22635. get:
  22636. parameters:
  22637. - description: 页码
  22638. in: query
  22639. name: page
  22640. type: integer
  22641. - description: 每页条数
  22642. in: query
  22643. name: pagesize
  22644. type: integer
  22645. - description: 资金账户 - 格式:1,2,3
  22646. in: query
  22647. name: accountID
  22648. required: true
  22649. type: string
  22650. - description: 资金操作类型 - 格式:1,2,3
  22651. in: query
  22652. name: OperateType
  22653. type: string
  22654. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22655. in: query
  22656. name: startDate
  22657. type: string
  22658. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22659. in: query
  22660. name: endDate
  22661. type: string
  22662. produces:
  22663. - application/json
  22664. responses:
  22665. "200":
  22666. description: OK
  22667. schema:
  22668. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  22669. "500":
  22670. description: Internal Server Error
  22671. schema:
  22672. $ref: '#/definitions/app.Response'
  22673. security:
  22674. - ApiKeyAuth: []
  22675. summary: 资金流水查询(历史)
  22676. tags:
  22677. - 资金账户
  22678. /Trade/QueryRecieptOrder:
  22679. get:
  22680. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22681. parameters:
  22682. - description: 页码
  22683. in: query
  22684. name: page
  22685. type: integer
  22686. - description: 每页条数
  22687. in: query
  22688. name: pagesize
  22689. type: integer
  22690. - description: 商品ID
  22691. in: query
  22692. name: goodsID
  22693. required: true
  22694. type: integer
  22695. - description: 所属账户名称
  22696. in: query
  22697. name: accountName
  22698. type: string
  22699. - description: 市场ID
  22700. in: query
  22701. name: marketID
  22702. type: integer
  22703. - description: 方向 - 0:买 1:卖
  22704. in: query
  22705. name: buyorsell
  22706. required: true
  22707. type: integer
  22708. produces:
  22709. - application/json
  22710. responses:
  22711. "200":
  22712. description: OK
  22713. schema:
  22714. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  22715. "500":
  22716. description: Internal Server Error
  22717. schema:
  22718. $ref: '#/definitions/app.Response'
  22719. security:
  22720. - ApiKeyAuth: []
  22721. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  22722. tags:
  22723. - 通用交易
  22724. /User/AddMessageBoard:
  22725. post:
  22726. parameters:
  22727. - description: 用户ID
  22728. in: query
  22729. name: userID
  22730. required: true
  22731. type: integer
  22732. - description: 留言信息
  22733. in: query
  22734. name: message
  22735. required: true
  22736. type: string
  22737. - description: 联系电话
  22738. in: query
  22739. name: contactNum
  22740. required: true
  22741. type: string
  22742. produces:
  22743. - application/json
  22744. responses:
  22745. "200":
  22746. description: OK
  22747. schema:
  22748. $ref: '#/definitions/app.Response'
  22749. "500":
  22750. description: Internal Server Error
  22751. schema:
  22752. $ref: '#/definitions/app.Response'
  22753. security:
  22754. - ApiKeyAuth: []
  22755. summary: 添加用户留言板信息
  22756. tags:
  22757. - 用户信息
  22758. /User/AddUserFavoriteGoods:
  22759. post:
  22760. parameters:
  22761. - description: 用户ID
  22762. in: query
  22763. name: userID
  22764. required: true
  22765. type: integer
  22766. - description: 商品ID
  22767. in: query
  22768. name: goodsID
  22769. required: true
  22770. type: integer
  22771. produces:
  22772. - application/json
  22773. responses:
  22774. "200":
  22775. description: OK
  22776. schema:
  22777. $ref: '#/definitions/app.Response'
  22778. "500":
  22779. description: Internal Server Error
  22780. schema:
  22781. $ref: '#/definitions/app.Response'
  22782. security:
  22783. - ApiKeyAuth: []
  22784. summary: 添加用户商品收藏信息
  22785. tags:
  22786. - 用户信息
  22787. /User/GetLoginID:
  22788. get:
  22789. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  22790. parameters:
  22791. - description: 登录代码
  22792. in: query
  22793. name: username
  22794. required: true
  22795. type: string
  22796. produces:
  22797. - application/json
  22798. responses:
  22799. "200":
  22800. description: OK
  22801. schema:
  22802. $ref: '#/definitions/app.Response'
  22803. "500":
  22804. description: Internal Server Error
  22805. schema:
  22806. $ref: '#/definitions/app.Response'
  22807. summary: 获取登录ID
  22808. tags:
  22809. - 用户信息
  22810. /User/GetUserAccount:
  22811. get:
  22812. parameters:
  22813. - description: 用户ID
  22814. in: query
  22815. name: userID
  22816. required: true
  22817. type: integer
  22818. produces:
  22819. - application/json
  22820. responses:
  22821. "200":
  22822. description: OK
  22823. schema:
  22824. $ref: '#/definitions/models.Useraccount'
  22825. "500":
  22826. description: Internal Server Error
  22827. schema:
  22828. $ref: '#/definitions/app.Response'
  22829. security:
  22830. - ApiKeyAuth: []
  22831. summary: 获取用户账号信息
  22832. tags:
  22833. - 用户信息
  22834. /User/GetUserAuthStatus:
  22835. get:
  22836. parameters:
  22837. - description: 用户ID
  22838. in: query
  22839. name: userID
  22840. required: true
  22841. type: integer
  22842. produces:
  22843. - application/json
  22844. responses:
  22845. "200":
  22846. description: OK
  22847. schema:
  22848. $ref: '#/definitions/app.Response'
  22849. "500":
  22850. description: Internal Server Error
  22851. schema:
  22852. $ref: '#/definitions/app.Response'
  22853. security:
  22854. - ApiKeyAuth: []
  22855. summary: 获取用户实名认证状态
  22856. tags:
  22857. - 用户信息
  22858. /User/LoginQuery:
  22859. get:
  22860. parameters:
  22861. - description: 登录账号
  22862. in: query
  22863. name: loginID
  22864. required: true
  22865. type: integer
  22866. produces:
  22867. - application/json
  22868. responses:
  22869. "200":
  22870. description: OK
  22871. schema:
  22872. $ref: '#/definitions/user.LoginQueryRsp'
  22873. "500":
  22874. description: Internal Server Error
  22875. schema:
  22876. $ref: '#/definitions/app.Response'
  22877. security:
  22878. - ApiKeyAuth: []
  22879. summary: 账户登录后信息查询
  22880. tags:
  22881. - 用户信息
  22882. /User/QueryMessageBoard:
  22883. get:
  22884. parameters:
  22885. - description: 用户ID
  22886. in: query
  22887. name: userID
  22888. required: true
  22889. type: integer
  22890. produces:
  22891. - application/json
  22892. responses:
  22893. "200":
  22894. description: OK
  22895. schema:
  22896. $ref: '#/definitions/models.Messageboard'
  22897. "500":
  22898. description: Internal Server Error
  22899. schema:
  22900. $ref: '#/definitions/app.Response'
  22901. security:
  22902. - ApiKeyAuth: []
  22903. summary: 获取用户留言板信息
  22904. tags:
  22905. - 用户信息
  22906. /User/QueryUserFavoriteGoodses:
  22907. get:
  22908. parameters:
  22909. - description: 用户ID
  22910. in: query
  22911. name: userID
  22912. required: true
  22913. type: integer
  22914. produces:
  22915. - application/json
  22916. responses:
  22917. "200":
  22918. description: OK
  22919. schema:
  22920. $ref: '#/definitions/models.Userfavoritegoods'
  22921. "500":
  22922. description: Internal Server Error
  22923. schema:
  22924. $ref: '#/definitions/app.Response'
  22925. security:
  22926. - ApiKeyAuth: []
  22927. summary: 获取用户商品收藏信息
  22928. tags:
  22929. - 用户信息
  22930. /User/QueryUserInfo:
  22931. get:
  22932. parameters:
  22933. - description: 用户ID
  22934. in: query
  22935. name: userID
  22936. required: true
  22937. type: integer
  22938. - description: 是否解密
  22939. in: query
  22940. name: isDecrypt
  22941. type: boolean
  22942. produces:
  22943. - application/json
  22944. responses:
  22945. "200":
  22946. description: OK
  22947. schema:
  22948. $ref: '#/definitions/models.Userinfo'
  22949. "500":
  22950. description: Internal Server Error
  22951. schema:
  22952. $ref: '#/definitions/app.Response'
  22953. security:
  22954. - ApiKeyAuth: []
  22955. summary: 获取用户信息
  22956. tags:
  22957. - 用户信息
  22958. /User/QueryUserReferNum:
  22959. get:
  22960. parameters:
  22961. - description: 用户ID
  22962. in: query
  22963. name: userID
  22964. required: true
  22965. type: integer
  22966. produces:
  22967. - application/json
  22968. responses:
  22969. "200":
  22970. description: OK
  22971. schema:
  22972. $ref: '#/definitions/app.Response'
  22973. "500":
  22974. description: Internal Server Error
  22975. schema:
  22976. $ref: '#/definitions/app.Response'
  22977. summary: 获取用户邀请码
  22978. tags:
  22979. - 用户信息
  22980. /User/RemoveUserFavoriteGoods:
  22981. post:
  22982. parameters:
  22983. - description: 用户ID
  22984. in: query
  22985. name: userID
  22986. required: true
  22987. type: integer
  22988. - description: 商品ID
  22989. in: query
  22990. name: goodsID
  22991. required: true
  22992. type: integer
  22993. produces:
  22994. - application/json
  22995. responses:
  22996. "200":
  22997. description: OK
  22998. schema:
  22999. $ref: '#/definitions/app.Response'
  23000. "500":
  23001. description: Internal Server Error
  23002. schema:
  23003. $ref: '#/definitions/app.Response'
  23004. security:
  23005. - ApiKeyAuth: []
  23006. summary: 移除用户商品收藏信息
  23007. tags:
  23008. - 用户信息
  23009. /User/UpdateUserAccountStatus:
  23010. post:
  23011. parameters:
  23012. - description: 用户ID
  23013. in: query
  23014. name: userID
  23015. required: true
  23016. type: integer
  23017. - description: 账户状态 - 4:正常 6:注销(停用)
  23018. in: query
  23019. name: accountStatus
  23020. required: true
  23021. type: integer
  23022. produces:
  23023. - application/json
  23024. responses:
  23025. "200":
  23026. description: OK
  23027. schema:
  23028. $ref: '#/definitions/app.Response'
  23029. "500":
  23030. description: Internal Server Error
  23031. schema:
  23032. $ref: '#/definitions/app.Response'
  23033. security:
  23034. - ApiKeyAuth: []
  23035. summary: 更新用户状态
  23036. tags:
  23037. - 用户信息
  23038. /WRTrade/GetAllDeliveryGoods:
  23039. get:
  23040. produces:
  23041. - application/json
  23042. - application/json
  23043. responses:
  23044. "200":
  23045. description: OK
  23046. schema:
  23047. $ref: '#/definitions/app.Response'
  23048. "500":
  23049. description: Internal Server Error
  23050. schema:
  23051. $ref: '#/definitions/app.Response'
  23052. security:
  23053. - ApiKeyAuth: []
  23054. - ApiKeyAuth: []
  23055. summary: 获取带仓单分类的种类信息
  23056. tags:
  23057. - 仓单贸易
  23058. - 仓单贸易
  23059. /WrTrade2/QueryFaProductDetail:
  23060. get:
  23061. description: 页面 买卖大厅 -> 选择融资方案
  23062. parameters:
  23063. - description: 仓单要素id
  23064. in: query
  23065. name: wrfactortypeid
  23066. required: true
  23067. type: integer
  23068. produces:
  23069. - application/json
  23070. responses:
  23071. "200":
  23072. description: OK
  23073. schema:
  23074. items:
  23075. $ref: '#/definitions/models.WrFAProductDetail'
  23076. type: array
  23077. "500":
  23078. description: Internal Server Error
  23079. schema:
  23080. $ref: '#/definitions/app.Response'
  23081. security:
  23082. - ApiKeyAuth: []
  23083. summary: 查询融资产品列表
  23084. tags:
  23085. - 仓单贸易v2
  23086. /WrTrade2/QueryFilterItem:
  23087. get:
  23088. parameters:
  23089. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  23090. in: query
  23091. name: itype
  23092. required: true
  23093. type: string
  23094. produces:
  23095. - application/json
  23096. responses:
  23097. "200":
  23098. description: OK
  23099. schema:
  23100. items:
  23101. $ref: '#/definitions/models.WrFilterItem'
  23102. type: array
  23103. "500":
  23104. description: Internal Server Error
  23105. schema:
  23106. $ref: '#/definitions/app.Response'
  23107. security:
  23108. - ApiKeyAuth: []
  23109. summary: 查询筛选框列表
  23110. tags:
  23111. - 仓单贸易v2
  23112. /WrTrade2/QueryHoldLB:
  23113. get:
  23114. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  23115. parameters:
  23116. - description: 资金账号
  23117. in: query
  23118. name: accountid
  23119. required: true
  23120. type: integer
  23121. - description: 仓库id
  23122. in: query
  23123. name: warehouseid
  23124. type: integer
  23125. - description: 品种id
  23126. in: query
  23127. name: deliverygoodsid
  23128. type: integer
  23129. - description: 品类id
  23130. in: query
  23131. name: wrstandardid
  23132. type: integer
  23133. produces:
  23134. - application/json
  23135. responses:
  23136. "200":
  23137. description: OK
  23138. schema:
  23139. items:
  23140. $ref: '#/definitions/models.WrHoldLB'
  23141. type: array
  23142. "500":
  23143. description: Internal Server Error
  23144. schema:
  23145. $ref: '#/definitions/app.Response'
  23146. security:
  23147. - ApiKeyAuth: []
  23148. summary: 查询仓单持有记录
  23149. tags:
  23150. - 仓单贸易v2
  23151. /WrTrade2/QueryOrderQuote:
  23152. get:
  23153. parameters:
  23154. - description: 页码
  23155. in: query
  23156. name: page
  23157. type: integer
  23158. - description: 每页条数
  23159. in: query
  23160. name: pagesize
  23161. type: integer
  23162. - description: 仓单贸易市场id
  23163. in: query
  23164. name: marketid
  23165. type: integer
  23166. - description: 价格方式 - 1:固定价 2-浮动价
  23167. in: query
  23168. name: wrpricetype
  23169. required: true
  23170. type: integer
  23171. - description: 0:仓单预售 1:仓单贸易
  23172. in: query
  23173. name: haswr
  23174. required: true
  23175. type: integer
  23176. - description: 商品名称(筛选条件)
  23177. in: query
  23178. name: wrstandardname
  23179. type: string
  23180. - description: 品牌名称(筛选条件)
  23181. in: query
  23182. name: brandname
  23183. type: string
  23184. - description: 仓库id(筛选条件)
  23185. in: query
  23186. name: warehouseid
  23187. type: integer
  23188. - description: 品种id
  23189. in: query
  23190. name: deliverygoodsid
  23191. type: integer
  23192. produces:
  23193. - application/json
  23194. responses:
  23195. "200":
  23196. description: OK
  23197. schema:
  23198. items:
  23199. $ref: '#/definitions/models.WrOrderQuote'
  23200. type: array
  23201. "500":
  23202. description: Internal Server Error
  23203. schema:
  23204. $ref: '#/definitions/app.Response'
  23205. security:
  23206. - ApiKeyAuth: []
  23207. summary: 查询大厅行情列表
  23208. tags:
  23209. - 仓单贸易v2
  23210. /WrTrade2/QueryOrderQuoteDetail:
  23211. get:
  23212. parameters:
  23213. - description: 页码
  23214. in: query
  23215. name: page
  23216. type: integer
  23217. - description: 每页条数
  23218. in: query
  23219. name: pagesize
  23220. type: integer
  23221. - description: 仓单贸易市场id
  23222. in: query
  23223. name: marketid
  23224. type: integer
  23225. - description: 价格方式 - 1:固定价 2-浮动价
  23226. in: query
  23227. name: wrpricetype
  23228. required: true
  23229. type: integer
  23230. - description: 0:仓单预售 1:仓单贸易
  23231. in: query
  23232. name: haswr
  23233. required: true
  23234. type: integer
  23235. - description: 仓单要素id
  23236. in: query
  23237. name: wrfactortypeid
  23238. required: true
  23239. type: integer
  23240. - description: 期货商品id(浮动价方式时填)
  23241. in: query
  23242. name: goodsid
  23243. type: integer
  23244. - description: 买卖方向 0-买 1-卖
  23245. in: query
  23246. name: buyorsell
  23247. required: true
  23248. type: integer
  23249. produces:
  23250. - application/json
  23251. responses:
  23252. "200":
  23253. description: OK
  23254. schema:
  23255. items:
  23256. $ref: '#/definitions/models.WrOrderQuoteDetail'
  23257. type: array
  23258. "500":
  23259. description: Internal Server Error
  23260. schema:
  23261. $ref: '#/definitions/app.Response'
  23262. security:
  23263. - ApiKeyAuth: []
  23264. summary: 查询买卖大厅
  23265. tags:
  23266. - 仓单贸易v2
  23267. /WrTrade2/QueryPerformancePlan:
  23268. get:
  23269. parameters:
  23270. - description: 用户id
  23271. in: query
  23272. name: userid
  23273. required: true
  23274. type: integer
  23275. - description: 买卖方向 0-买 1-卖
  23276. in: query
  23277. name: buyorsell
  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.WrPerformancePlan'
  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. - 仓单贸易v2
  23298. /WrTrade2/QueryWrFactorTypeInfo:
  23299. get:
  23300. parameters:
  23301. - description: 仓单要素id
  23302. in: query
  23303. name: wrfactortypeid
  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.WrFactorTypeInfo'
  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. - 仓单贸易v2
  23324. /WrTrade2/QueryWrGoodsInfo:
  23325. get:
  23326. parameters:
  23327. - description: 仓单贸易市场id
  23328. in: query
  23329. name: marketid
  23330. type: integer
  23331. - description: 0:仓单预售 1:仓单贸易
  23332. in: query
  23333. name: haswr
  23334. required: true
  23335. type: integer
  23336. - description: 仓单要素id
  23337. in: query
  23338. name: wrfactortypeid
  23339. required: true
  23340. type: integer
  23341. produces:
  23342. - application/json
  23343. responses:
  23344. "200":
  23345. description: OK
  23346. schema:
  23347. items:
  23348. $ref: '#/definitions/models.WrGoodsInfo'
  23349. type: array
  23350. "500":
  23351. description: Internal Server Error
  23352. schema:
  23353. $ref: '#/definitions/app.Response'
  23354. security:
  23355. - ApiKeyAuth: []
  23356. summary: 查询仓单商品信息
  23357. tags:
  23358. - 仓单贸易v2
  23359. /WrTrade2/QueryWrOrderDetail:
  23360. get:
  23361. description: 页面 现货仓单 | 预售仓单 -> 挂单
  23362. parameters:
  23363. - description: 页码
  23364. in: query
  23365. name: page
  23366. type: integer
  23367. - description: 每页条数
  23368. in: query
  23369. name: pagesize
  23370. type: integer
  23371. - description: 用户id
  23372. in: query
  23373. name: userid
  23374. required: true
  23375. type: integer
  23376. - description: 仓单贸易市场id
  23377. in: query
  23378. name: marketid
  23379. type: integer
  23380. - description: 0:仓单预售 1:仓单贸易
  23381. in: query
  23382. name: haswr
  23383. required: true
  23384. type: integer
  23385. produces:
  23386. - application/json
  23387. responses:
  23388. "200":
  23389. description: OK
  23390. schema:
  23391. items:
  23392. $ref: '#/definitions/models.WrOrderDetail'
  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. - 仓单贸易v2
  23403. /WrTrade2/QueryWrPosition:
  23404. get:
  23405. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  23406. parameters:
  23407. - description: 用户id
  23408. in: query
  23409. name: userid
  23410. required: true
  23411. type: integer
  23412. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  23413. in: query
  23414. name: querytype
  23415. required: true
  23416. type: integer
  23417. - description: 0:仓单预售 1:仓单贸易
  23418. in: query
  23419. name: haswr
  23420. required: true
  23421. type: integer
  23422. produces:
  23423. - application/json
  23424. responses:
  23425. "200":
  23426. description: OK
  23427. schema:
  23428. items:
  23429. $ref: '#/definitions/models.WrPosition'
  23430. type: array
  23431. "500":
  23432. description: Internal Server Error
  23433. schema:
  23434. $ref: '#/definitions/app.Response'
  23435. security:
  23436. - ApiKeyAuth: []
  23437. summary: 查询现货(预售)仓单持仓
  23438. tags:
  23439. - 仓单贸易v2
  23440. /WrTrade2/QueryWrSpecialMatchOrder:
  23441. get:
  23442. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  23443. parameters:
  23444. - description: 页码
  23445. in: query
  23446. name: page
  23447. type: integer
  23448. - description: 每页条数
  23449. in: query
  23450. name: pagesize
  23451. type: integer
  23452. - description: 用户id
  23453. in: query
  23454. name: userid
  23455. required: true
  23456. type: integer
  23457. - description: 仓单贸易市场id
  23458. in: query
  23459. name: marketid
  23460. type: integer
  23461. - description: 0:仓单预售 1:仓单贸易
  23462. in: query
  23463. name: haswr
  23464. required: true
  23465. type: integer
  23466. produces:
  23467. - application/json
  23468. responses:
  23469. "200":
  23470. description: OK
  23471. schema:
  23472. items:
  23473. $ref: '#/definitions/models.WrSpecialMatchOrder'
  23474. type: array
  23475. "500":
  23476. description: Internal Server Error
  23477. schema:
  23478. $ref: '#/definitions/app.Response'
  23479. security:
  23480. - ApiKeyAuth: []
  23481. summary: 查询指定成交
  23482. tags:
  23483. - 仓单贸易v2
  23484. /WrTrade2/QueryWrTradeDetail:
  23485. get:
  23486. parameters:
  23487. - description: 页码
  23488. in: query
  23489. name: page
  23490. type: integer
  23491. - description: 每页条数
  23492. in: query
  23493. name: pagesize
  23494. type: integer
  23495. - description: 用户id
  23496. in: query
  23497. name: userid
  23498. required: true
  23499. type: integer
  23500. - description: 仓单贸易市场id
  23501. in: query
  23502. name: marketid
  23503. type: integer
  23504. - description: 0:仓单预售 1:仓单贸易
  23505. in: query
  23506. name: haswr
  23507. required: true
  23508. type: integer
  23509. produces:
  23510. - application/json
  23511. responses:
  23512. "200":
  23513. description: OK
  23514. schema:
  23515. items:
  23516. $ref: '#/definitions/models.WrTradeDetail'
  23517. type: array
  23518. "500":
  23519. description: Internal Server Error
  23520. schema:
  23521. $ref: '#/definitions/app.Response'
  23522. security:
  23523. - ApiKeyAuth: []
  23524. summary: 查询仓单成交明细
  23525. tags:
  23526. - 仓单贸易v2
  23527. securityDefinitions:
  23528. ApiKeyAuth:
  23529. in: header
  23530. name: Authorization
  23531. type: apiKey
  23532. swagger: "2.0"