swagger.yaml 648 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526
  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. sellprice:
  13680. description: 卖价
  13681. type: number
  13682. sellpricemove:
  13683. description: 卖升贴水(基差)
  13684. type: number
  13685. sellqty:
  13686. description: 卖量
  13687. type: number
  13688. warehousecode:
  13689. description: 仓库代码
  13690. type: string
  13691. warehouseid:
  13692. description: 仓库id
  13693. type: integer
  13694. warehousename:
  13695. description: 仓库名称
  13696. type: string
  13697. wrfactortypeid:
  13698. description: 仓单要素id
  13699. type: string
  13700. wrfactortypename:
  13701. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13702. type: string
  13703. wrgoodsname:
  13704. description: 商品(商品名称+仓库要素名称 拼接)
  13705. type: string
  13706. wrstandardcode:
  13707. description: 商品代码
  13708. type: string
  13709. wrstandardid:
  13710. description: 商品id
  13711. type: integer
  13712. wrstandardname:
  13713. description: 商品名称
  13714. type: string
  13715. type: object
  13716. models.WrOrderQuoteDetail:
  13717. properties:
  13718. buyorsell:
  13719. description: 买卖 - 0:买 1:卖
  13720. type: integer
  13721. enumdicname:
  13722. description: 单位名称
  13723. type: string
  13724. fixedprice:
  13725. description: 买(卖)价
  13726. type: number
  13727. orderqty:
  13728. description: 买(卖)量(=委托量-成交量)
  13729. type: number
  13730. pricemove:
  13731. description: 买(卖)升贴水- 基差
  13732. type: number
  13733. userid:
  13734. description: 购买方(销售方)用户ID
  13735. type: integer
  13736. username:
  13737. description: 购买方(销售方)
  13738. type: string
  13739. wrtradeorderid:
  13740. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13741. type: string
  13742. type: object
  13743. models.WrPerformancePlan:
  13744. properties:
  13745. amount:
  13746. description: 履约金额(总金额)
  13747. type: number
  13748. buyaccountid:
  13749. description: 买方账号
  13750. type: integer
  13751. buyerfreezeamount:
  13752. description: 履约冻结(买履约)
  13753. type: number
  13754. buyerfreezeamountremain:
  13755. description: 履约冻结剩余(买履约)
  13756. type: number
  13757. buyorsell:
  13758. description: 买卖方向 0-买 1-卖
  13759. type: integer
  13760. buypaidamount:
  13761. description: 买方已冻/已扣金额 (已付金额)
  13762. type: number
  13763. buyusername:
  13764. description: 买方名字
  13765. type: string
  13766. contractid:
  13767. description: 合同ID
  13768. type: integer
  13769. createtime:
  13770. description: 创建时间(开始时间)
  13771. type: string
  13772. creatorid:
  13773. description: 创建人
  13774. type: integer
  13775. curstepdeadline:
  13776. description: 当前步骤到期时间
  13777. type: string
  13778. curstepid:
  13779. description: 当前步骤ID
  13780. type: integer
  13781. curstepname:
  13782. description: 当前步骤名称
  13783. type: string
  13784. deliverygoodscode:
  13785. description: 品种代码
  13786. type: string
  13787. deliverygoodsid:
  13788. description: 品种ID
  13789. type: integer
  13790. deliverygoodsname:
  13791. description: 品种名称
  13792. type: string
  13793. enumdicname:
  13794. description: 单位名称
  13795. type: string
  13796. expressfee:
  13797. description: 运费
  13798. type: number
  13799. expressfeeconfirmed:
  13800. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  13801. type: integer
  13802. hasovershort:
  13803. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  13804. type: integer
  13805. haswr:
  13806. description: 类型 0-仓单预售 1-仓单贸易
  13807. type: integer
  13808. marketid:
  13809. description: 市场ID
  13810. type: integer
  13811. middleaccountid:
  13812. description: 中间商资金账号ID
  13813. type: integer
  13814. middleuserid:
  13815. description: 中间商用户ID
  13816. type: integer
  13817. optioncompare:
  13818. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13819. type: string
  13820. overshortamount:
  13821. description: 溢短金额
  13822. type: number
  13823. overshortqty:
  13824. description: 溢短数量
  13825. type: number
  13826. paymenttype:
  13827. description: 付款方式 - 1:冻结 2:扣款
  13828. type: integer
  13829. performanceplanid:
  13830. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  13831. type: integer
  13832. performancestatus:
  13833. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  13834. 9:超时待处理 10:超时关闭
  13835. type: integer
  13836. performancetype:
  13837. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  13838. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  13839. type: integer
  13840. qty:
  13841. description: 履约数量
  13842. type: number
  13843. relatedorderid:
  13844. description: 关联单号(履约类型的关联单号)
  13845. type: string
  13846. remark:
  13847. description: 备注
  13848. type: string
  13849. sellaccountid:
  13850. description: 卖方账号
  13851. type: integer
  13852. sellerfreezeamount:
  13853. description: 履约冻结(卖履约)
  13854. type: number
  13855. sellerfreezeamountremain:
  13856. description: 履约冻结剩余(卖履约)
  13857. type: number
  13858. sellreceivedamount:
  13859. description: 卖方已收金额
  13860. type: number
  13861. sellusername:
  13862. description: 卖方名字
  13863. type: string
  13864. shipremark:
  13865. description: 发货备注[物流单号]
  13866. type: string
  13867. userid:
  13868. description: 用户id
  13869. type: integer
  13870. warehouseid:
  13871. description: 仓库ID
  13872. type: integer
  13873. warehousename:
  13874. description: 仓库名称
  13875. type: string
  13876. wrfactortypeid:
  13877. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13878. type: string
  13879. wrfactortypename:
  13880. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13881. type: string
  13882. wrstandardcode:
  13883. description: 现货商品代码
  13884. type: string
  13885. wrstandardid:
  13886. description: 现货商品ID
  13887. type: integer
  13888. wrstandardname:
  13889. description: 商品名称
  13890. type: string
  13891. wrtransferuserid:
  13892. description: 仓单受让用户
  13893. type: integer
  13894. wrtypename:
  13895. description: 商品
  13896. type: string
  13897. required:
  13898. - userid
  13899. type: object
  13900. models.WrPosition:
  13901. properties:
  13902. accountid:
  13903. description: 帐户ID
  13904. type: integer
  13905. buyexcuteqty:
  13906. description: 采购履约中数量
  13907. type: number
  13908. creditcurqty:
  13909. description: 授信当前数量(预售仓单:预售当前量)
  13910. type: number
  13911. creditenableqty:
  13912. description: '授信可用数量(预售仓单: 可用数量)'
  13913. type: number
  13914. creditfreezeqty:
  13915. description: '授信冻结数量(预售仓单: 当前数量)'
  13916. type: number
  13917. credittotalqty:
  13918. description: 授信总数量(预售仓单:预售总量)
  13919. type: number
  13920. credittradeqty:
  13921. description: 授信成交数量(预售仓单:成交总量)
  13922. type: number
  13923. deliverygoodscode:
  13924. description: 品种代码
  13925. type: string
  13926. deliverygoodsid:
  13927. description: 品种ID
  13928. type: integer
  13929. deliverygoodsname:
  13930. description: 品种名称
  13931. type: string
  13932. enalbeqty:
  13933. description: 可用数量
  13934. type: number
  13935. enumdicname:
  13936. description: 单位名称
  13937. type: string
  13938. freezeqty:
  13939. description: 总冻结数量
  13940. type: number
  13941. haswr:
  13942. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13943. type: integer
  13944. modifytime:
  13945. description: 修改时间(过户时间)
  13946. type: string
  13947. optioncompare:
  13948. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13949. type: string
  13950. pledgeqty:
  13951. description: 质押数量
  13952. type: number
  13953. querytype:
  13954. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  13955. type: integer
  13956. sellexcuteqty:
  13957. description: 销售履约中数量
  13958. type: number
  13959. totalqty:
  13960. description: 总数量(库存数量)
  13961. type: number
  13962. warehouseid:
  13963. description: 仓库ID
  13964. type: integer
  13965. warehousename:
  13966. description: 仓库名称
  13967. type: string
  13968. wrfactortypeid:
  13969. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13970. type: string
  13971. wrfactortypename:
  13972. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13973. type: string
  13974. wrpositionid:
  13975. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  13976. type: string
  13977. wrpositionno:
  13978. description: 仓单编号
  13979. type: string
  13980. wrstandardcode:
  13981. description: 现货商品代码
  13982. type: string
  13983. wrstandardid:
  13984. description: 现货商品ID
  13985. type: integer
  13986. wrstandardname:
  13987. description: 商品名称
  13988. type: string
  13989. wrtypename:
  13990. description: 商品
  13991. type: string
  13992. wruserid:
  13993. description: 持有人ID
  13994. type: integer
  13995. type: object
  13996. models.WrSpecialMatchOrder:
  13997. properties:
  13998. amount:
  13999. description: 金额 = 数量 * 价格
  14000. type: number
  14001. buyorsell:
  14002. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14003. type: integer
  14004. cancelqty:
  14005. description: 撤销数量
  14006. type: number
  14007. deliverygoodscode:
  14008. description: 品种代码
  14009. type: string
  14010. deliverygoodsid:
  14011. description: 品种ID
  14012. type: integer
  14013. deliverygoodsname:
  14014. description: 品种名称
  14015. type: string
  14016. enumdicname:
  14017. description: 单位名称
  14018. type: string
  14019. fixedprice:
  14020. description: 固定价格(价格)
  14021. type: number
  14022. haswr:
  14023. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14024. type: integer
  14025. marketid:
  14026. description: 市场ID
  14027. type: integer
  14028. matchuserid:
  14029. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  14030. type: integer
  14031. matchusername:
  14032. description: 指定方
  14033. type: string
  14034. optioncompare:
  14035. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14036. type: string
  14037. orderqty:
  14038. description: 委托数量
  14039. type: number
  14040. ordertime:
  14041. description: 委托时间
  14042. type: string
  14043. pricemove:
  14044. description: 升贴水(浮动价时填写) - [挂牌]
  14045. type: number
  14046. tradedate:
  14047. description: 交易日(yyyyMMdd)
  14048. type: string
  14049. tradeprice:
  14050. description: 成交价格
  14051. type: number
  14052. tradeqty:
  14053. description: 成交数量
  14054. type: number
  14055. userid:
  14056. description: 用户ID
  14057. type: integer
  14058. username:
  14059. description: 发起方
  14060. type: string
  14061. warehouseid:
  14062. description: 仓库ID
  14063. type: integer
  14064. warehousename:
  14065. description: 仓库名称
  14066. type: string
  14067. wrfactortypeid:
  14068. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14069. type: string
  14070. wrfactortypename:
  14071. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14072. type: string
  14073. wrpricetype:
  14074. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14075. type: integer
  14076. wrstandardcode:
  14077. description: 现货商品代码
  14078. type: string
  14079. wrstandardid:
  14080. description: 现货商品ID
  14081. type: integer
  14082. wrstandardname:
  14083. description: 商品名称
  14084. type: string
  14085. wrtradeorderid:
  14086. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14087. type: string
  14088. wrtradeorderstatus:
  14089. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14090. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14091. type: integer
  14092. wrtradetype:
  14093. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14094. type: integer
  14095. wrtypename:
  14096. description: 商品
  14097. type: string
  14098. type: object
  14099. models.WrTradeDetail:
  14100. properties:
  14101. accountid:
  14102. description: 资金账号
  14103. type: integer
  14104. buyorsell:
  14105. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14106. type: integer
  14107. deliverygoodscode:
  14108. description: 品种代码
  14109. type: string
  14110. deliverygoodsid:
  14111. description: 品种ID
  14112. type: integer
  14113. deliverygoodsname:
  14114. description: 品种名称
  14115. type: string
  14116. deliverymonth:
  14117. description: 交收月
  14118. type: string
  14119. enumdicname:
  14120. description: 单位名称
  14121. type: string
  14122. haswr:
  14123. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14124. type: integer
  14125. marketid:
  14126. description: 市场ID
  14127. type: integer
  14128. matchaccountid:
  14129. description: 对手账号
  14130. type: integer
  14131. matchusername:
  14132. description: 对手方
  14133. type: string
  14134. optioncompare:
  14135. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14136. type: string
  14137. tradedate:
  14138. description: 交易日(yyyyMMdd)
  14139. type: string
  14140. tradeprice:
  14141. description: 成交价格
  14142. type: number
  14143. tradeqty:
  14144. description: 成交数量
  14145. type: number
  14146. tradetime:
  14147. description: 成交时间
  14148. type: string
  14149. userid:
  14150. description: 用户ID
  14151. type: integer
  14152. warehouseid:
  14153. description: 仓库ID
  14154. type: integer
  14155. warehousename:
  14156. description: 仓库名称
  14157. type: string
  14158. wrfactortypeid:
  14159. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14160. type: string
  14161. wrfactortypename:
  14162. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14163. type: string
  14164. wrstandardcode:
  14165. description: 现货商品代码
  14166. type: string
  14167. wrstandardid:
  14168. description: 现货商品ID
  14169. type: integer
  14170. wrstandardname:
  14171. description: 商品名称
  14172. type: string
  14173. wrtradedetailid:
  14174. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  14175. type: string
  14176. wrtradetype:
  14177. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14178. type: integer
  14179. wrtypename:
  14180. description: 商品
  14181. type: string
  14182. type: object
  14183. models.WrTypeItem:
  14184. properties:
  14185. name:
  14186. description: 名称
  14187. type: string
  14188. value:
  14189. description: 值
  14190. type: string
  14191. type: object
  14192. order.QueryHisTradeDetailRsp:
  14193. properties:
  14194. accountid:
  14195. description: 账户ID[报价币种]
  14196. type: integer
  14197. advanceratio:
  14198. description: 首付比率
  14199. type: number
  14200. buildtype:
  14201. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14202. type: integer
  14203. buyorsell:
  14204. description: 方向 - 0:买 1:卖
  14205. type: integer
  14206. charge:
  14207. description: 手续费
  14208. type: number
  14209. closecharge:
  14210. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14211. type: number
  14212. closeexchagechargevalue:
  14213. description: 平仓交易所手续费设置值
  14214. type: number
  14215. closefeealgorithm:
  14216. description: 平仓手续费收取方式 1:比率 2:固定
  14217. type: integer
  14218. closememberchargevalue:
  14219. description: 平仓会员手续费设置值
  14220. type: number
  14221. closepl:
  14222. description: 平仓盈亏
  14223. type: number
  14224. closepl2:
  14225. description: 平仓盈亏[逐笔]
  14226. type: number
  14227. closeqty:
  14228. description: 平仓数量(先建后平操作 需要记录)
  14229. type: number
  14230. creditamount:
  14231. description: 授信金额
  14232. type: number
  14233. decimalplace:
  14234. description: 商品报价小数位
  14235. type: integer
  14236. enumdicname:
  14237. description: 单位名称
  14238. type: string
  14239. gcaccountid:
  14240. description: 账户ID[合约币种]
  14241. type: integer
  14242. goodscode:
  14243. description: 商品代码
  14244. type: string
  14245. goodsid:
  14246. description: 商品ID
  14247. type: integer
  14248. goodsname:
  14249. description: 商品名称
  14250. type: string
  14251. goodunitid:
  14252. description: 商品单位id
  14253. type: integer
  14254. histradedate:
  14255. description: 历史交易日
  14256. type: string
  14257. intclosepl:
  14258. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14259. type: integer
  14260. isconfirmexercise:
  14261. description: 是否确认行权- 0:否 1:是
  14262. type: integer
  14263. ismain:
  14264. description: 是否主单 - 0:不是 1:是
  14265. type: integer
  14266. ispreexercise:
  14267. description: 是否预申报- 0:否 1:是
  14268. type: integer
  14269. isreckoned:
  14270. description: 是否结算 - 0:未结算 1:已结算
  14271. type: integer
  14272. isvaliddata:
  14273. description: 是否有效 - 0:无效 1:有效
  14274. type: integer
  14275. listingselecttype:
  14276. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14277. type: integer
  14278. marketid:
  14279. description: 市场ID
  14280. type: integer
  14281. marketname:
  14282. description: 市场名称
  14283. type: string
  14284. matchaccountid:
  14285. description: 对手账号id
  14286. type: integer
  14287. memberuserid:
  14288. description: 会员id 个人投资者 需要填写
  14289. type: integer
  14290. opencharge:
  14291. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14292. type: number
  14293. openexchagechargevalue:
  14294. description: 建仓交易所手续费设置值
  14295. type: number
  14296. openfeealgorithm:
  14297. description: 建仓手续费收取方式 1:比率 2:固定
  14298. type: integer
  14299. openmemberchargevalue:
  14300. description: 建仓会员手续费设置值
  14301. type: number
  14302. openqty:
  14303. description: 开仓数量(先建后平操作 需要记录)
  14304. type: number
  14305. optiontype:
  14306. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14307. type: integer
  14308. orderid:
  14309. description: 委托单号
  14310. type: string
  14311. payamount:
  14312. description: 支付金额(付款金额)
  14313. type: number
  14314. performanceplanid:
  14315. description: 履约计划ID[期权]
  14316. type: integer
  14317. performancestatus:
  14318. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14319. type: integer
  14320. preexerciseprice:
  14321. description: 预申报价格
  14322. type: number
  14323. premium:
  14324. description: 权利金 - [持仓单的权利金]
  14325. type: number
  14326. qtydecimalplace:
  14327. description: 商品报价小数位
  14328. type: integer
  14329. recvamount:
  14330. description: 到账金额 = 成交金额 - 手续费
  14331. type: number
  14332. relatedouttradeid:
  14333. description: 关联外部成交单ID
  14334. type: integer
  14335. status:
  14336. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14337. type: integer
  14338. totalamount:
  14339. description: 订单总额 = 成交金额 + 手续费
  14340. type: number
  14341. tradeamount:
  14342. description: 成交金额[账户币种,用于所有权]
  14343. type: number
  14344. tradedate:
  14345. description: 交易日(yyyyMMdd)
  14346. type: string
  14347. tradeid:
  14348. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14349. type: string
  14350. trademode:
  14351. description: 交易模式
  14352. type: integer
  14353. tradeprice:
  14354. description: 成交价格
  14355. type: number
  14356. tradeproperty:
  14357. description: 交易属性
  14358. type: integer
  14359. tradeqty:
  14360. description: 成交数量
  14361. type: number
  14362. tradetime:
  14363. description: 成交时间
  14364. type: string
  14365. tradetype:
  14366. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14367. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14368. type: integer
  14369. required:
  14370. - accountid
  14371. - buyorsell
  14372. - goodsid
  14373. - histradedate
  14374. - marketid
  14375. - memberuserid
  14376. - orderid
  14377. - tradeamount
  14378. - tradedate
  14379. - tradeid
  14380. - tradeprice
  14381. - tradeqty
  14382. - tradetime
  14383. type: object
  14384. order.QueryHisTradeOrderDetailRsp:
  14385. properties:
  14386. accountid:
  14387. description: 账户ID[报价币种]
  14388. type: integer
  14389. buildtype:
  14390. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14391. type: integer
  14392. buyorsell:
  14393. description: 买卖 - 0:买 1:卖
  14394. type: integer
  14395. cancelorderid:
  14396. description: 撤单单号(撤单时填写)
  14397. type: string
  14398. cancelqty:
  14399. description: 撤单数量
  14400. type: number
  14401. clientordertime:
  14402. description: 客户端委托时间
  14403. type: string
  14404. clientticket:
  14405. description: 客户端流水号
  14406. type: string
  14407. clienttype:
  14408. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14409. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14410. type: integer
  14411. closeexchagechargevalue:
  14412. description: 平仓交易所手续费设置值
  14413. type: number
  14414. closefeealgorithm:
  14415. description: 平仓手续费收取方式 1:比率 2:固定
  14416. type: integer
  14417. closefreezecharge:
  14418. description: 平仓冻结手续费(先建后平操作,需要记录)
  14419. type: number
  14420. closememberchargevalue:
  14421. description: 平仓会员手续费设置值
  14422. type: number
  14423. closeqty:
  14424. description: 平仓数量(先建后平操作 需要记录)
  14425. type: number
  14426. closetradeqty:
  14427. description: 平仓成交数量(先建后平操作,需要记录)
  14428. type: number
  14429. closeunfreezecharge:
  14430. description: 平仓解冻手续费(先建后平操作,需要记录)
  14431. type: number
  14432. decimalplace:
  14433. description: 商品报价小数位
  14434. type: integer
  14435. delistingtype:
  14436. description: 摘牌类型 - 1:价格最优 2:点选成交
  14437. type: integer
  14438. enumdicname:
  14439. description: 单位名称
  14440. type: string
  14441. freezecharge:
  14442. description: 冻结手续费
  14443. type: number
  14444. freezemargin:
  14445. description: 冻结保证金(冻结交易金额)
  14446. type: number
  14447. gcaccountid:
  14448. description: 账户ID[合约币种]
  14449. type: integer
  14450. goodscode:
  14451. description: 商品代码
  14452. type: string
  14453. goodsid:
  14454. description: 商品ID
  14455. type: integer
  14456. goodsname:
  14457. description: 商品名称
  14458. type: string
  14459. goodunitid:
  14460. description: 商品单位id
  14461. type: integer
  14462. histradedate:
  14463. description: 历史交易日
  14464. type: string
  14465. isconfirmexercise:
  14466. description: 是否确认行权- 0:否 1:是
  14467. type: integer
  14468. ispreexercise:
  14469. description: 是否预申报- 0:否 1:是
  14470. type: integer
  14471. isvaliddata:
  14472. description: 是否有效 - 0:无效 1:有效
  14473. type: integer
  14474. listingselecttype:
  14475. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14476. type: integer
  14477. marginalgorithm:
  14478. description: 保证金收取方式 1:比率 2:固定
  14479. type: integer
  14480. marginvalue:
  14481. description: 即市保证金设置值
  14482. type: number
  14483. marketid:
  14484. description: 市场ID
  14485. type: integer
  14486. marketmaxsub:
  14487. description: 市价最大偏移范围
  14488. type: number
  14489. marketname:
  14490. description: 市场名称
  14491. type: string
  14492. memberuserid:
  14493. description: 所属会员UserID
  14494. type: integer
  14495. openexchagechargevalue:
  14496. description: 建仓交易所手续费设置值
  14497. type: number
  14498. openfeealgorithm:
  14499. description: 建仓手续费收取方式 1:比率 2:固定
  14500. type: integer
  14501. openfreezecharge:
  14502. description: 开仓冻结手续费(先建后平操作,需要记录)
  14503. type: number
  14504. openmemberchargevalue:
  14505. description: 建仓会员手续费设置值
  14506. type: number
  14507. openqty:
  14508. description: 开仓数量(先建后平操作,需要记录)
  14509. type: number
  14510. opentradeqty:
  14511. description: 开仓成交数量(先建后平操作,需要记录)
  14512. type: number
  14513. openunfreezecharge:
  14514. description: 开仓解冻手续费(先建后平操作,需要记录)
  14515. type: number
  14516. operatetype:
  14517. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14518. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14519. 15:管理端协议转让
  14520. type: integer
  14521. operatorid:
  14522. description: 登录账号(LoginID)
  14523. type: integer
  14524. optiontype:
  14525. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14526. type: integer
  14527. orderid:
  14528. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14529. type: string
  14530. orderprice:
  14531. description: 委托价格
  14532. type: number
  14533. orderqty:
  14534. description: 委托数量
  14535. type: number
  14536. ordersrc:
  14537. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14538. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14539. type: integer
  14540. orderstatus:
  14541. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14542. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14543. 16:成交失败违约(荷兰式竞拍专用)
  14544. type: integer
  14545. ordertime:
  14546. description: 委托时间
  14547. type: string
  14548. preexerciseprice:
  14549. description: 预申报价格
  14550. type: number
  14551. premium:
  14552. description: 权利金
  14553. type: number
  14554. preorderid:
  14555. description: 关联预埋单号(止盈止损单时填写)
  14556. type: string
  14557. pricemode:
  14558. description: '取价方式 - 1:市价 2: 限价'
  14559. type: integer
  14560. qtydecimalplace:
  14561. description: 成交量小数位
  14562. type: integer
  14563. quoteid:
  14564. description: 报价单ID
  14565. type: integer
  14566. relatedid:
  14567. description: 关联单号(交割单)
  14568. type: string
  14569. retcode:
  14570. description: 错误代码
  14571. type: integer
  14572. sessionid:
  14573. description: 会话ID
  14574. type: integer
  14575. tradedate:
  14576. description: 交易日(yyyyMMdd)
  14577. type: string
  14578. trademode:
  14579. description: 交易模式
  14580. type: integer
  14581. tradeproperty:
  14582. description: 交易属性
  14583. type: integer
  14584. tradeqty:
  14585. description: 成交数量
  14586. type: number
  14587. unfreezecharge:
  14588. description: 解冻手续费
  14589. type: number
  14590. unfreezemargin:
  14591. description: 解冻保证金
  14592. type: number
  14593. updatetime:
  14594. description: 更新时间
  14595. type: string
  14596. uuid:
  14597. description: 发起端唯一id
  14598. type: string
  14599. validtime:
  14600. description: 有效期限
  14601. type: string
  14602. validtype:
  14603. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14604. type: integer
  14605. volumetype:
  14606. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14607. type: integer
  14608. required:
  14609. - accountid
  14610. - buildtype
  14611. - buyorsell
  14612. - goodsid
  14613. - histradedate
  14614. - marketid
  14615. - memberuserid
  14616. - operatetype
  14617. - orderid
  14618. - orderqty
  14619. - ordertime
  14620. - pricemode
  14621. - tradedate
  14622. - validtype
  14623. type: object
  14624. order.QueryTradeDetailRsp:
  14625. properties:
  14626. accountid:
  14627. description: 账户ID[报价币种]
  14628. type: integer
  14629. advanceratio:
  14630. description: 首付比率
  14631. type: number
  14632. buildtype:
  14633. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14634. type: integer
  14635. buyorsell:
  14636. description: 方向 - 0:买 1:卖
  14637. type: integer
  14638. charge:
  14639. description: 手续费
  14640. type: number
  14641. closecharge:
  14642. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14643. type: number
  14644. closeexchagechargevalue:
  14645. description: 平仓交易所手续费设置值
  14646. type: number
  14647. closefeealgorithm:
  14648. description: 平仓手续费收取方式 1:比率 2:固定
  14649. type: integer
  14650. closememberchargevalue:
  14651. description: 平仓会员手续费设置值
  14652. type: number
  14653. closepl:
  14654. description: 平仓盈亏
  14655. type: number
  14656. closepl2:
  14657. description: 平仓盈亏[逐笔]
  14658. type: number
  14659. closeqty:
  14660. description: 平仓数量(先建后平操作 需要记录)
  14661. type: number
  14662. creditamount:
  14663. description: 授信金额
  14664. type: number
  14665. decimalplace:
  14666. description: 商品报价小数位
  14667. type: integer
  14668. enumdicname:
  14669. description: 单位名称
  14670. type: string
  14671. gcaccountid:
  14672. description: 账户ID[合约币种]
  14673. type: integer
  14674. goodscode:
  14675. description: 商品代码
  14676. type: string
  14677. goodsid:
  14678. description: 商品ID
  14679. type: integer
  14680. goodsname:
  14681. description: 商品名称
  14682. type: string
  14683. goodunitid:
  14684. description: 商品单位id
  14685. type: integer
  14686. intclosepl:
  14687. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14688. type: integer
  14689. isconfirmexercise:
  14690. description: 是否确认行权- 0:否 1:是
  14691. type: integer
  14692. ismain:
  14693. description: 是否主单 - 0:不是 1:是
  14694. type: integer
  14695. ispreexercise:
  14696. description: 是否预申报- 0:否 1:是
  14697. type: integer
  14698. isreckoned:
  14699. description: 是否结算 - 0:未结算 1:已结算
  14700. type: integer
  14701. listingselecttype:
  14702. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14703. type: integer
  14704. marketid:
  14705. description: 市场ID
  14706. type: integer
  14707. marketname:
  14708. description: 市场名称
  14709. type: string
  14710. matchaccountid:
  14711. description: 对手账号id
  14712. type: integer
  14713. memberuserid:
  14714. description: 会员id 个人投资者 需要填写
  14715. type: integer
  14716. opencharge:
  14717. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14718. type: number
  14719. openexchagechargevalue:
  14720. description: 建仓交易所手续费设置值
  14721. type: number
  14722. openfeealgorithm:
  14723. description: 建仓手续费收取方式 1:比率 2:固定
  14724. type: integer
  14725. openmemberchargevalue:
  14726. description: 建仓会员手续费设置值
  14727. type: number
  14728. openqty:
  14729. description: 开仓数量(先建后平操作 需要记录)
  14730. type: number
  14731. optiontype:
  14732. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14733. type: integer
  14734. orderid:
  14735. description: 委托单号
  14736. type: string
  14737. payamount:
  14738. description: 支付金额(付款金额)
  14739. type: number
  14740. performanceplanid:
  14741. description: 履约计划ID[期权]
  14742. type: integer
  14743. performancestatus:
  14744. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14745. type: integer
  14746. preexerciseprice:
  14747. description: 预申报价格
  14748. type: number
  14749. premium:
  14750. description: 权利金 - [持仓单的权利金]
  14751. type: number
  14752. qtydecimalplace:
  14753. description: 商品报价小数位
  14754. type: integer
  14755. recvamount:
  14756. description: 到账金额 = 成交金额 - 手续费
  14757. type: number
  14758. relatedouttradeid:
  14759. description: 关联外部成交单ID
  14760. type: integer
  14761. status:
  14762. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14763. type: integer
  14764. totalamount:
  14765. description: 订单总额 = 成交金额 + 手续费
  14766. type: number
  14767. tradeamount:
  14768. description: 成交金额[账户币种,用于所有权]
  14769. type: number
  14770. tradedate:
  14771. description: 交易日(yyyyMMdd)
  14772. type: string
  14773. tradeid:
  14774. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14775. type: string
  14776. trademode:
  14777. description: 交易模式
  14778. type: integer
  14779. tradeprice:
  14780. description: 成交价格
  14781. type: number
  14782. tradeproperty:
  14783. description: 交易属性
  14784. type: integer
  14785. tradeqty:
  14786. description: 成交数量
  14787. type: number
  14788. tradetime:
  14789. description: 成交时间
  14790. type: string
  14791. tradetype:
  14792. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14793. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14794. type: integer
  14795. required:
  14796. - accountid
  14797. - buyorsell
  14798. - goodsid
  14799. - marketid
  14800. - memberuserid
  14801. - orderid
  14802. - tradeamount
  14803. - tradedate
  14804. - tradeid
  14805. - tradeprice
  14806. - tradeqty
  14807. - tradetime
  14808. type: object
  14809. order.QueryTradeOrderDetailRsp:
  14810. properties:
  14811. accountid:
  14812. description: 账户ID[报价币种]
  14813. type: integer
  14814. buildtype:
  14815. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14816. type: integer
  14817. buyorsell:
  14818. description: 买卖 - 0:买 1:卖
  14819. type: integer
  14820. cancelorderid:
  14821. description: 撤单单号(撤单时填写)
  14822. type: string
  14823. cancelqty:
  14824. description: 撤单数量
  14825. type: number
  14826. clienttype:
  14827. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14828. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14829. type: integer
  14830. closefreezecharge:
  14831. description: 平仓冻结手续费(先建后平操作,需要记录)
  14832. type: number
  14833. closeqty:
  14834. description: 平仓数量(先建后平操作 需要记录)
  14835. type: number
  14836. closetradeqty:
  14837. description: 平仓成交数量(先建后平操作,需要记录)
  14838. type: number
  14839. closeunfreezecharge:
  14840. description: 平仓解冻手续费(先建后平操作,需要记录)
  14841. type: number
  14842. decimalplace:
  14843. description: 商品报价小数位
  14844. type: integer
  14845. delistingtype:
  14846. description: 摘牌类型 - 1:价格最优 2:点选成交
  14847. type: integer
  14848. enableqty:
  14849. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  14850. type: number
  14851. enumdicname:
  14852. description: 单位名称
  14853. type: string
  14854. freezecharge:
  14855. description: 冻结手续费
  14856. type: number
  14857. freezemargin:
  14858. description: 冻结保证金(冻结交易金额)
  14859. type: number
  14860. goodscode:
  14861. description: 商品代码
  14862. type: string
  14863. goodsid:
  14864. description: 商品ID
  14865. type: integer
  14866. goodsname:
  14867. description: 商品名称
  14868. type: string
  14869. goodunitid:
  14870. description: 商品单位id
  14871. type: integer
  14872. listingselecttype:
  14873. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14874. type: integer
  14875. marketid:
  14876. description: 市场ID
  14877. type: integer
  14878. marketname:
  14879. description: 市场名称
  14880. type: string
  14881. openfreezecharge:
  14882. description: 开仓冻结手续费(先建后平操作,需要记录)
  14883. type: number
  14884. openqty:
  14885. description: 开仓数量(先建后平操作,需要记录)
  14886. type: number
  14887. opentradeqty:
  14888. description: 开仓成交数量(先建后平操作,需要记录)
  14889. type: number
  14890. openunfreezecharge:
  14891. description: 开仓解冻手续费(先建后平操作,需要记录)
  14892. type: number
  14893. operatetype:
  14894. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14895. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14896. 15:管理端协议转让
  14897. type: integer
  14898. operatorid:
  14899. description: 登录账号(LoginID)
  14900. type: integer
  14901. orderid:
  14902. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14903. type: string
  14904. orderprice:
  14905. description: 委托价格
  14906. type: number
  14907. orderqty:
  14908. description: 委托数量
  14909. type: number
  14910. ordersrc:
  14911. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14912. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14913. type: integer
  14914. orderstatus:
  14915. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14916. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14917. 16:成交失败违约(荷兰式竞拍专用)
  14918. type: integer
  14919. ordertime:
  14920. description: 委托时间
  14921. type: string
  14922. preorderid:
  14923. description: 关联预埋单号(止盈止损单时填写)
  14924. type: string
  14925. pricemode:
  14926. description: '取价方式 - 1:市价 2: 限价'
  14927. type: integer
  14928. qtydecimalplace:
  14929. description: 商品报价小数位
  14930. type: integer
  14931. relatedid:
  14932. description: 关联单号(交割单)
  14933. type: string
  14934. tradedate:
  14935. description: 交易日(yyyyMMdd)
  14936. type: string
  14937. trademode:
  14938. description: 交易模式
  14939. type: integer
  14940. tradeqty:
  14941. description: 成交数量
  14942. type: number
  14943. unfreezecharge:
  14944. description: 解冻手续费
  14945. type: number
  14946. unfreezemargin:
  14947. description: 解冻保证金
  14948. type: number
  14949. validtime:
  14950. description: 有效期限
  14951. type: string
  14952. validtype:
  14953. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14954. type: integer
  14955. volumetype:
  14956. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14957. type: integer
  14958. required:
  14959. - accountid
  14960. - buildtype
  14961. - buyorsell
  14962. - goodsid
  14963. - marketid
  14964. - operatetype
  14965. - orderqty
  14966. - ordertime
  14967. - pricemode
  14968. - tradedate
  14969. - validtype
  14970. type: object
  14971. order.QueryTradePositionRsp:
  14972. properties:
  14973. accountid:
  14974. description: 资金账户
  14975. type: integer
  14976. agreeunit:
  14977. description: 合约单位
  14978. type: number
  14979. averageprice:
  14980. description: 持仓均价
  14981. type: number
  14982. buyorsell:
  14983. description: 方向 - 0:买 1:卖
  14984. type: integer
  14985. closetotalqty:
  14986. description: 平仓总数量
  14987. type: number
  14988. curholderamount:
  14989. description: 当前持仓总金额[商品币种]
  14990. type: number
  14991. curpositionqty:
  14992. description: 当前持仓总数量
  14993. type: number
  14994. currencyid:
  14995. description: 报价货币ID
  14996. type: integer
  14997. curtdposition:
  14998. description: 期末今日头寸
  14999. type: number
  15000. decimalplace:
  15001. description: 报价小数位
  15002. type: integer
  15003. enableqty:
  15004. description: 可用量
  15005. type: number
  15006. fretdposition:
  15007. description: 冻结今日头寸
  15008. type: number
  15009. frozenqty:
  15010. description: 持仓冻结数量
  15011. type: number
  15012. goodscode:
  15013. description: 商品代码
  15014. type: string
  15015. goodsid:
  15016. description: 商品Id
  15017. type: integer
  15018. goodsname:
  15019. description: 商品名称
  15020. type: string
  15021. goodunit:
  15022. description: 报价单位
  15023. type: string
  15024. goodunitid:
  15025. description: 报价单位ID
  15026. type: integer
  15027. holderamount:
  15028. description: 期初持仓总金额[商品币种]
  15029. type: number
  15030. lastprice:
  15031. description: 最新价
  15032. type: number
  15033. marketamount:
  15034. description: 市值
  15035. type: number
  15036. marketid:
  15037. description: 所属市场ID
  15038. type: integer
  15039. openreqqty:
  15040. description: 开仓申请数量(用于比较最大持仓数量)
  15041. type: number
  15042. opentotalqty:
  15043. description: 开仓总数量
  15044. type: number
  15045. otherfrozenqty:
  15046. description: 持仓其他冻结数量(交割冻结)
  15047. type: number
  15048. positionpl:
  15049. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  15050. * 合约单位
  15051. type: number
  15052. positionplrate:
  15053. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  15054. type: number
  15055. positionqty:
  15056. description: 期初持仓数量
  15057. type: number
  15058. qtydecimalplace:
  15059. description: 成交量小数位
  15060. type: integer
  15061. tnqty:
  15062. description: T+N冻结总量
  15063. type: number
  15064. tnusedqty:
  15065. description: T+N使用量(可以使用T+N的冻结数量)
  15066. type: number
  15067. trademode:
  15068. description: 交易模式
  15069. type: integer
  15070. usedmargin:
  15071. description: 占用保证金[商品币种]
  15072. type: number
  15073. required:
  15074. - goodsid
  15075. type: object
  15076. quote.HistoryData:
  15077. properties:
  15078. c:
  15079. description: 收盘价
  15080. type: number
  15081. f:
  15082. description: 是否补充数据
  15083. type: boolean
  15084. h:
  15085. description: 最高价
  15086. type: number
  15087. hv:
  15088. description: 持仓量
  15089. type: integer
  15090. l:
  15091. description: 最低价
  15092. type: number
  15093. o:
  15094. description: 开盘价
  15095. type: number
  15096. s:
  15097. description: 结算价,日线周期(包括)以上才有
  15098. type: number
  15099. ts:
  15100. description: 时间
  15101. type: string
  15102. tt:
  15103. description: 总金额
  15104. type: number
  15105. tv:
  15106. description: 总量
  15107. type: integer
  15108. type: object
  15109. quote.HistoryTikData:
  15110. properties:
  15111. AV:
  15112. description: 卖量
  15113. type: integer
  15114. Ask:
  15115. description: 卖价
  15116. type: number
  15117. BV:
  15118. description: 买量
  15119. type: integer
  15120. Bid:
  15121. description: 买价
  15122. type: number
  15123. HI:
  15124. description: 单笔持仓
  15125. type: integer
  15126. HV:
  15127. description: 持仓量
  15128. type: integer
  15129. PE:
  15130. description: 现价
  15131. type: number
  15132. TDR:
  15133. description: 交易方向,0:买 1:卖
  15134. type: integer
  15135. TK:
  15136. description: 交易类型
  15137. type: integer
  15138. TS:
  15139. description: 行情时间文本
  15140. type: string
  15141. TT:
  15142. description: 现金额
  15143. type: number
  15144. Vol:
  15145. description: 现量
  15146. type: integer
  15147. type: object
  15148. quote.QueryQuoteDayRsp:
  15149. properties:
  15150. ask:
  15151. description: 卖1
  15152. type: number
  15153. ask2:
  15154. description: 卖2
  15155. type: number
  15156. ask3:
  15157. description: 卖3
  15158. type: number
  15159. ask4:
  15160. description: 卖4
  15161. type: number
  15162. ask5:
  15163. description: 卖5
  15164. type: number
  15165. ask6:
  15166. description: 卖6
  15167. type: number
  15168. ask7:
  15169. description: 卖7
  15170. type: number
  15171. ask8:
  15172. description: 卖8
  15173. type: number
  15174. ask9:
  15175. description: 卖9
  15176. type: number
  15177. ask10:
  15178. description: 卖10
  15179. type: number
  15180. askorderid:
  15181. description: 卖单号1
  15182. type: integer
  15183. askorderid2:
  15184. description: 卖单号2
  15185. type: integer
  15186. askorderid3:
  15187. description: 卖单号3
  15188. type: integer
  15189. askorderid4:
  15190. description: 卖单号4
  15191. type: integer
  15192. askorderid5:
  15193. description: 卖单号5
  15194. type: integer
  15195. askordervolume:
  15196. description: 卖单量1
  15197. type: integer
  15198. askordervolume2:
  15199. description: 卖单量2
  15200. type: integer
  15201. askordervolume3:
  15202. description: 卖单量3
  15203. type: integer
  15204. askordervolume4:
  15205. description: 卖单量4
  15206. type: integer
  15207. askordervolume5:
  15208. description: 卖单量5
  15209. type: integer
  15210. askordervolume6:
  15211. description: 卖单量6
  15212. type: integer
  15213. askordervolume7:
  15214. description: 卖单量7
  15215. type: integer
  15216. askordervolume8:
  15217. description: 卖单量8
  15218. type: integer
  15219. askordervolume9:
  15220. description: 卖单量9
  15221. type: integer
  15222. askordervolume10:
  15223. description: 卖单量10
  15224. type: integer
  15225. askqueueinfo:
  15226. description: 大利市卖港股用
  15227. type: string
  15228. askvolume:
  15229. description: 卖量1
  15230. type: integer
  15231. askvolume2:
  15232. description: 卖量2
  15233. type: integer
  15234. askvolume3:
  15235. description: 卖量3
  15236. type: integer
  15237. askvolume4:
  15238. description: 卖量4
  15239. type: integer
  15240. askvolume5:
  15241. description: 卖量5
  15242. type: integer
  15243. askvolume6:
  15244. description: 卖量6
  15245. type: integer
  15246. askvolume7:
  15247. description: 卖量7
  15248. type: integer
  15249. askvolume8:
  15250. description: 卖量8
  15251. type: integer
  15252. askvolume9:
  15253. description: 卖量9
  15254. type: integer
  15255. askvolume10:
  15256. description: 卖量10
  15257. type: integer
  15258. averageprice:
  15259. description: 均价
  15260. type: number
  15261. bid:
  15262. description: 买1
  15263. type: number
  15264. bid2:
  15265. description: 买2
  15266. type: number
  15267. bid3:
  15268. description: 买3
  15269. type: number
  15270. bid4:
  15271. description: 买4
  15272. type: number
  15273. bid5:
  15274. description: 买5
  15275. type: number
  15276. bid6:
  15277. description: 买6
  15278. type: number
  15279. bid7:
  15280. description: 买7
  15281. type: number
  15282. bid8:
  15283. description: 买8
  15284. type: number
  15285. bid9:
  15286. description: 买9
  15287. type: number
  15288. bid10:
  15289. description: 买10
  15290. type: number
  15291. bidorderid:
  15292. description: 买单号1
  15293. type: integer
  15294. bidorderid2:
  15295. description: 买单号2
  15296. type: integer
  15297. bidorderid3:
  15298. description: 买单号3
  15299. type: integer
  15300. bidorderid4:
  15301. description: 买单号4
  15302. type: integer
  15303. bidorderid5:
  15304. description: 买单号5
  15305. type: integer
  15306. bidordervolume:
  15307. description: 买单量1
  15308. type: integer
  15309. bidordervolume2:
  15310. description: 买单量2
  15311. type: integer
  15312. bidordervolume3:
  15313. description: 买单量3
  15314. type: integer
  15315. bidordervolume4:
  15316. description: 买单量4
  15317. type: integer
  15318. bidordervolume5:
  15319. description: 买单量5
  15320. type: integer
  15321. bidordervolume6:
  15322. description: 买单量6
  15323. type: integer
  15324. bidordervolume7:
  15325. description: 买单量7
  15326. type: integer
  15327. bidordervolume8:
  15328. description: 买单量8
  15329. type: integer
  15330. bidordervolume9:
  15331. description: 买单量9
  15332. type: integer
  15333. bidordervolume10:
  15334. description: 买单量10
  15335. type: integer
  15336. bidqueueinfo:
  15337. description: 大利市买港股用
  15338. type: string
  15339. bidvolume:
  15340. description: 买量1
  15341. type: integer
  15342. bidvolume2:
  15343. description: 买量2
  15344. type: integer
  15345. bidvolume3:
  15346. description: 买量3
  15347. type: integer
  15348. bidvolume4:
  15349. description: 买量4
  15350. type: integer
  15351. bidvolume5:
  15352. description: 买量5
  15353. type: integer
  15354. bidvolume6:
  15355. description: 买量6
  15356. type: integer
  15357. bidvolume7:
  15358. description: 买量7
  15359. type: integer
  15360. bidvolume8:
  15361. description: 买量8
  15362. type: integer
  15363. bidvolume9:
  15364. description: 买量9
  15365. type: integer
  15366. bidvolume10:
  15367. description: 买量10
  15368. type: integer
  15369. calloptionpremiums:
  15370. description: 认购期权1
  15371. type: integer
  15372. calloptionpremiums2:
  15373. description: 认购期权2
  15374. type: integer
  15375. calloptionpremiums3:
  15376. description: 认购期权3
  15377. type: integer
  15378. calloptionpremiums4:
  15379. description: 认购期权4
  15380. type: integer
  15381. calloptionpremiums5:
  15382. description: 认购期权5
  15383. type: integer
  15384. cleartime:
  15385. description: 清盘时间
  15386. type: integer
  15387. exchangecode:
  15388. description: 交易所代码
  15389. type: integer
  15390. exchangedate:
  15391. description: 交易日
  15392. type: integer
  15393. goodscode:
  15394. description: 商品代码
  15395. type: string
  15396. grepmarketprice:
  15397. description: 暗盘价 港股专用
  15398. type: number
  15399. highest:
  15400. description: 最高价
  15401. type: number
  15402. holdincrement:
  15403. description: 单笔持仓
  15404. type: integer
  15405. holdvolume:
  15406. description: 持仓
  15407. type: integer
  15408. iep:
  15409. description: 平衡价 港股专用
  15410. type: number
  15411. iev:
  15412. description: 平衡量 港股专用
  15413. type: number
  15414. inventory:
  15415. description: 库存
  15416. type: integer
  15417. iscleared:
  15418. description: 是否清盘标志
  15419. type: integer
  15420. issettled:
  15421. description: 是否结算标志
  15422. type: integer
  15423. last:
  15424. description: 最新价
  15425. type: number
  15426. lastlot:
  15427. description: 最新成交手数
  15428. type: integer
  15429. lasttime:
  15430. description: 行情时间(只有现价变化行情时间才变化)
  15431. type: string
  15432. lastturnover:
  15433. description: 最新成交金额
  15434. type: number
  15435. lastvolume:
  15436. description: 最新成交量
  15437. type: integer
  15438. limitdown:
  15439. description: 跌停价
  15440. type: number
  15441. limitup:
  15442. description: 涨停价
  15443. type: number
  15444. lowest:
  15445. description: 最低价
  15446. type: number
  15447. nontotalholdervolume:
  15448. description: 非交易持仓量
  15449. type: integer
  15450. nontotallot:
  15451. description: 非交易总手数
  15452. type: integer
  15453. nontotalturnover:
  15454. description: 非交易总金额
  15455. type: integer
  15456. nontotalvolume:
  15457. description: 非交易总量
  15458. type: integer
  15459. opened:
  15460. description: 开盘价
  15461. type: number
  15462. opentime:
  15463. description: 开盘时间
  15464. type: string
  15465. orderid:
  15466. description: 序号
  15467. type: integer
  15468. preclose:
  15469. description: 昨收
  15470. type: number
  15471. preholdvolume:
  15472. description: 昨持仓
  15473. type: integer
  15474. presettle:
  15475. description: 昨结价
  15476. type: number
  15477. publictradetype:
  15478. description: 公共交易标志类型 港股专用
  15479. type: string
  15480. putoptionpremiums:
  15481. description: 认沽期权1
  15482. type: integer
  15483. putoptionpremiums2:
  15484. description: 认沽期权2
  15485. type: integer
  15486. putoptionpremiums3:
  15487. description: 认沽期权3
  15488. type: integer
  15489. putoptionpremiums4:
  15490. description: 认沽期权4
  15491. type: integer
  15492. putoptionpremiums5:
  15493. description: 认沽期权5
  15494. type: integer
  15495. settle:
  15496. description: 结算价
  15497. type: number
  15498. strikeprice:
  15499. description: 发行价
  15500. type: number
  15501. totalaskvolume:
  15502. description: 内盘
  15503. type: integer
  15504. totalbidvolume:
  15505. description: 外盘
  15506. type: integer
  15507. totallot:
  15508. description: 总手数
  15509. type: integer
  15510. totalturnover:
  15511. description: 总金额
  15512. type: number
  15513. totalvolume:
  15514. description: 总量
  15515. type: integer
  15516. utclasttime:
  15517. description: utc的行情时间
  15518. type: string
  15519. type: object
  15520. quote.QueryTSDataRsp:
  15521. properties:
  15522. Count:
  15523. description: 交易日应有数据个数
  15524. type: integer
  15525. decimalPlace:
  15526. description: 小数位
  15527. type: integer
  15528. endTime:
  15529. description: 结束时间
  15530. type: string
  15531. goodsCode:
  15532. description: 商品代码
  15533. type: string
  15534. historyDatas:
  15535. description: 历史数据
  15536. items:
  15537. $ref: '#/definitions/quote.HistoryData'
  15538. type: array
  15539. outGoodsCode:
  15540. description: 外部商品代码
  15541. type: string
  15542. preSettle:
  15543. description: 昨结价
  15544. type: number
  15545. runSteps:
  15546. description: 交易日开休市计划
  15547. items:
  15548. $ref: '#/definitions/quote.TSDataRunStep'
  15549. type: array
  15550. startTime:
  15551. description: 开始时间
  15552. type: string
  15553. tradeDate:
  15554. description: 交易日
  15555. type: string
  15556. type: object
  15557. quote.TSDataRunStep:
  15558. properties:
  15559. end:
  15560. description: 真实结束时间
  15561. type: string
  15562. endflag:
  15563. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  15564. type: integer
  15565. endtime:
  15566. description: 结束时间(HH:mm)
  15567. type: string
  15568. endweekday:
  15569. description: 结束周几
  15570. type: integer
  15571. groupid:
  15572. description: 分组ID
  15573. type: integer
  15574. runstep:
  15575. description: 运行阶段 - 2:连续交易
  15576. type: integer
  15577. sectionid:
  15578. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  15579. 结束时间=结算时间 结束周几=结算周几
  15580. type: integer
  15581. start:
  15582. description: 真实开始时间
  15583. type: string
  15584. startflag:
  15585. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  15586. type: integer
  15587. starttime:
  15588. description: 起始时间(HH:mm)
  15589. type: string
  15590. startweekday:
  15591. description: 起始周几
  15592. type: integer
  15593. tradeweekday:
  15594. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  15595. type: integer
  15596. type: object
  15597. szdz.QueryConvertLogRsp:
  15598. properties:
  15599. accountid:
  15600. description: 资金账户ID
  15601. type: integer
  15602. clientticket:
  15603. description: 客户端流水号
  15604. type: string
  15605. converttype:
  15606. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  15607. type: integer
  15608. createtime:
  15609. description: 记账时间
  15610. type: string
  15611. daymaxvalue:
  15612. description: 配置当日最大转入限制
  15613. type: number
  15614. daymaxvalue2:
  15615. description: 配置当日最大转入限制(转入)
  15616. type: number
  15617. goodscode:
  15618. description: 商品代码
  15619. type: string
  15620. goodsname:
  15621. description: 商品名称
  15622. type: string
  15623. handlestatus:
  15624. description: 处理状态
  15625. type: integer
  15626. innergoodsid:
  15627. description: 内部商品ID
  15628. type: integer
  15629. inratio:
  15630. description: 配置转入比值
  15631. type: integer
  15632. invalue:
  15633. description: 目标值
  15634. type: number
  15635. logid:
  15636. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15637. type: integer
  15638. mobile:
  15639. description: 手机号码(加密存储)
  15640. type: string
  15641. outergoodscode:
  15642. description: 外部商品代码[JD\PD]
  15643. type: string
  15644. outratio:
  15645. description: 配置转出比值
  15646. type: integer
  15647. outvalue:
  15648. description: 源值
  15649. type: number
  15650. pddecimalplace:
  15651. description: PD小数位
  15652. type: integer
  15653. qty:
  15654. description: 数量
  15655. type: string
  15656. remark:
  15657. description: 备注
  15658. type: string
  15659. sessionid:
  15660. description: 会话ID
  15661. type: integer
  15662. timemaxvalue:
  15663. description: 配置单次最大转入限制
  15664. type: number
  15665. timemaxvalue2:
  15666. description: 配置单次最大转入限制(转入)
  15667. type: number
  15668. timeminvalue:
  15669. description: 配置单次最小数量限制
  15670. type: number
  15671. timeminvalue2:
  15672. description: 配置单次最小数量限制(转入)
  15673. type: number
  15674. tradedate:
  15675. description: 交易日(yyyyMMdd)
  15676. type: string
  15677. userid:
  15678. description: 用户ID
  15679. type: integer
  15680. required:
  15681. - logid
  15682. type: object
  15683. szdz.QueryGoodsPickupRsp:
  15684. properties:
  15685. accountid:
  15686. description: 账户ID
  15687. type: integer
  15688. address:
  15689. description: 提货人详细地址
  15690. type: string
  15691. auditer:
  15692. description: 审核人
  15693. type: integer
  15694. audittime:
  15695. description: 审核时间
  15696. type: string
  15697. cardnum:
  15698. description: 提货人证件号码
  15699. type: string
  15700. cardtypeid:
  15701. description: 提货人证件类型
  15702. type: integer
  15703. checkremark:
  15704. description: 审核备注
  15705. type: string
  15706. goodscode:
  15707. description: 商品代码
  15708. type: string
  15709. goodsid:
  15710. description: 商品ID
  15711. type: integer
  15712. goodsname:
  15713. description: 商品名称
  15714. type: string
  15715. handlestatus:
  15716. description: 处理状态
  15717. type: integer
  15718. marketid:
  15719. description: 市场ID
  15720. type: integer
  15721. phonenum:
  15722. description: 提货人联系方式
  15723. type: string
  15724. qty:
  15725. description: 提货数量
  15726. type: number
  15727. recivername:
  15728. description: 提货人姓名
  15729. type: string
  15730. reqtime:
  15731. description: 更新时间
  15732. type: string
  15733. takemode:
  15734. description: 提货方式 - 2:自提 3:配送
  15735. type: integer
  15736. takeorderid:
  15737. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15738. type: string
  15739. takeorderstatus:
  15740. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15741. type: integer
  15742. takeremark:
  15743. description: 提货备注
  15744. type: string
  15745. tradedate:
  15746. description: 交易日(yyyyMMdd)
  15747. type: string
  15748. userid:
  15749. description: 用户ID
  15750. type: integer
  15751. required:
  15752. - takeorderid
  15753. type: object
  15754. szdz.QueryRecieptOrderRsp:
  15755. properties:
  15756. accountName:
  15757. description: 所属账号名称(已脱敏)
  15758. type: string
  15759. accountid:
  15760. description: 资金账号
  15761. type: integer
  15762. buyorsell:
  15763. description: 方向 - 0:买 1:卖
  15764. type: integer
  15765. enableqty:
  15766. description: 可摘数量
  15767. type: integer
  15768. goodscode:
  15769. description: 商品代码
  15770. type: string
  15771. goodsid:
  15772. description: 商品ID
  15773. type: integer
  15774. goodsname:
  15775. description: 商品名称
  15776. type: string
  15777. orderid:
  15778. description: 委托单号
  15779. type: string
  15780. orderprice:
  15781. description: 委托价格
  15782. type: number
  15783. ordertime:
  15784. description: 委托时间
  15785. type: string
  15786. tradedate:
  15787. description: 交易日(yyyyMMdd)
  15788. type: string
  15789. required:
  15790. - ordertime
  15791. type: object
  15792. szdz.QuerySZDZTradePositionRsp:
  15793. properties:
  15794. accountid:
  15795. description: 账号Id
  15796. type: integer
  15797. agreeunit:
  15798. description: 合约单位
  15799. type: number
  15800. averageprice:
  15801. description: 持仓均价
  15802. type: number
  15803. buyorsell:
  15804. description: 方向 - 0:买 1:卖
  15805. type: integer
  15806. closetotalqty:
  15807. description: 平仓总数量
  15808. type: integer
  15809. curholderamount:
  15810. description: 当前持仓总金额
  15811. type: number
  15812. curpositionqty:
  15813. description: 当前持仓总数量
  15814. type: integer
  15815. currencyid:
  15816. description: 报价货币ID
  15817. type: integer
  15818. curtdposition:
  15819. description: 期末今日头寸
  15820. type: integer
  15821. decimalplace:
  15822. description: 报价小数位
  15823. type: integer
  15824. enableqty:
  15825. description: 可用量
  15826. type: integer
  15827. fretdposition:
  15828. description: 冻结今日头寸
  15829. type: integer
  15830. frozenqty:
  15831. description: 持仓冻结数量
  15832. type: integer
  15833. goodscode:
  15834. description: 商品代码(内部)
  15835. type: string
  15836. goodsid:
  15837. description: 商品Id
  15838. type: integer
  15839. goodsname:
  15840. description: 商品名称
  15841. type: string
  15842. goodunit:
  15843. description: 报价单位
  15844. type: string
  15845. goodunitid:
  15846. description: 报价单位ID
  15847. type: integer
  15848. holderamount:
  15849. description: 期初持仓总金额
  15850. type: number
  15851. marketid:
  15852. description: 市场ID
  15853. type: integer
  15854. openreqqty:
  15855. description: 开仓申请数量
  15856. type: integer
  15857. opentotalqty:
  15858. description: 开仓总数量
  15859. type: integer
  15860. otherfrozenqty:
  15861. description: 持仓其他冻结数量(交割冻结)
  15862. type: integer
  15863. positionqty:
  15864. description: 期初持仓数量
  15865. type: integer
  15866. szdz3freezqty:
  15867. description: 尚志大宗转换冻结总数量
  15868. type: integer
  15869. tnqty:
  15870. description: T+N冻结总量
  15871. type: integer
  15872. tnusedqty:
  15873. description: T+N使用量
  15874. type: integer
  15875. trademode:
  15876. description: 交易模式
  15877. type: integer
  15878. usedmargin:
  15879. description: 占用保证金
  15880. type: number
  15881. type: object
  15882. taaccount.QueryAmountLogRsp:
  15883. properties:
  15884. OPERATETYPENAME:
  15885. description: 资金操作类型名称
  15886. type: string
  15887. accountid:
  15888. description: 资金账户ID
  15889. type: integer
  15890. agoodscode:
  15891. description: 竞拍商品代码
  15892. type: string
  15893. agoodsname:
  15894. description: 竞拍商品名称
  15895. type: string
  15896. amount:
  15897. description: 资金金额
  15898. type: number
  15899. amountadjusttype:
  15900. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15901. type: integer
  15902. autoid:
  15903. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15904. type: integer
  15905. balance:
  15906. description: 期初余额
  15907. type: number
  15908. businesscode:
  15909. description: 业务编号
  15910. type: integer
  15911. createtime:
  15912. description: 发生时间
  15913. type: string
  15914. currencyid:
  15915. description: 币种ID
  15916. type: integer
  15917. currentbalance:
  15918. description: 期末余额(变动后金额)
  15919. type: number
  15920. dgoodscode:
  15921. description: 交割商品代码
  15922. type: string
  15923. dgoodsname:
  15924. description: 交割商品名称
  15925. type: string
  15926. goodscode:
  15927. description: 商品代码
  15928. type: string
  15929. goodsid:
  15930. description: 商品ID
  15931. type: integer
  15932. goodsname:
  15933. description: 商品名称
  15934. type: string
  15935. marketid:
  15936. description: 市场ID
  15937. type: integer
  15938. marketname:
  15939. description: 市场名称
  15940. type: string
  15941. moneyticket:
  15942. description: 资金流水号:银行端流水号
  15943. type: integer
  15944. operatetype:
  15945. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  15946. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  15947. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  15948. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  15949. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  15950. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  15951. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  15952. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  15953. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  15954. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  15955. type: integer
  15956. relationorderid:
  15957. description: 关联单号
  15958. type: string
  15959. remark:
  15960. description: 备注
  15961. type: string
  15962. trademode:
  15963. description: 交易模式
  15964. type: integer
  15965. required:
  15966. - accountid
  15967. - amount
  15968. - amountadjusttype
  15969. - autoid
  15970. - balance
  15971. - createtime
  15972. - currentbalance
  15973. - operatetype
  15974. type: object
  15975. taaccount.QueryHisAmountLogRsp:
  15976. properties:
  15977. OPERATETYPENAME:
  15978. description: 资金操作类型名称
  15979. type: string
  15980. accountid:
  15981. description: 资金账户ID
  15982. type: integer
  15983. agoodscode:
  15984. description: 竞拍商品代码
  15985. type: string
  15986. agoodsname:
  15987. description: 竞拍商品名称
  15988. type: string
  15989. amount:
  15990. description: 资金金额
  15991. type: number
  15992. amountadjusttype:
  15993. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15994. type: integer
  15995. autoid:
  15996. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15997. type: integer
  15998. balance:
  15999. description: 期初余额
  16000. type: number
  16001. businesscode:
  16002. description: 业务编号
  16003. type: integer
  16004. createtime:
  16005. description: 发生时间
  16006. type: string
  16007. currencyid:
  16008. description: 币种ID
  16009. type: integer
  16010. currentbalance:
  16011. description: 期末余额(变动后金额)
  16012. type: number
  16013. dgoodscode:
  16014. description: 交割商品代码
  16015. type: string
  16016. dgoodsname:
  16017. description: 交割商品名称
  16018. type: string
  16019. goodscode:
  16020. description: 商品代码
  16021. type: string
  16022. goodsid:
  16023. description: 商品ID
  16024. type: integer
  16025. goodsname:
  16026. description: 商品名称
  16027. type: string
  16028. histradedate:
  16029. description: 历史交易日
  16030. type: string
  16031. isvaliddata:
  16032. description: 是否有效 - 0:无效 1:有效
  16033. type: integer
  16034. marketid:
  16035. description: 市场ID
  16036. type: integer
  16037. marketname:
  16038. description: 市场名称
  16039. type: string
  16040. moneyticket:
  16041. description: 资金流水号:银行端流水号
  16042. type: integer
  16043. operatetype:
  16044. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16045. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16046. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16047. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16048. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16049. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16050. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16051. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16052. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16053. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16054. type: integer
  16055. relationorderid:
  16056. description: 关联单号
  16057. type: string
  16058. remark:
  16059. description: 备注
  16060. type: string
  16061. trademode:
  16062. description: 交易模式
  16063. type: integer
  16064. required:
  16065. - accountid
  16066. - amount
  16067. - amountadjusttype
  16068. - autoid
  16069. - balance
  16070. - createtime
  16071. - currentbalance
  16072. - histradedate
  16073. - operatetype
  16074. type: object
  16075. trade.QueryRecieptOrderRsp:
  16076. properties:
  16077. accountName:
  16078. description: 所属账号名称(已脱敏)
  16079. type: string
  16080. accountid:
  16081. description: 资金账号
  16082. type: integer
  16083. buyorsell:
  16084. description: 方向 - 0:买 1:卖
  16085. type: integer
  16086. enableqty:
  16087. description: 可摘数量
  16088. type: integer
  16089. goodscode:
  16090. description: 商品代码
  16091. type: string
  16092. goodsid:
  16093. description: 商品ID
  16094. type: integer
  16095. goodsname:
  16096. description: 商品名称
  16097. type: string
  16098. orderid:
  16099. description: 委托单号
  16100. type: string
  16101. orderprice:
  16102. description: 委托价格
  16103. type: number
  16104. ordertime:
  16105. description: 委托时间
  16106. type: string
  16107. tradedate:
  16108. description: 交易日(yyyyMMdd)
  16109. type: string
  16110. required:
  16111. - ordertime
  16112. type: object
  16113. user.LoginQueryRsp:
  16114. properties:
  16115. areaRoles:
  16116. description: 所属角色信息
  16117. items:
  16118. $ref: '#/definitions/models.Arearole'
  16119. type: array
  16120. externalExchanges:
  16121. description: 外部交易所
  16122. items:
  16123. $ref: '#/definitions/models.Externalexchange'
  16124. type: array
  16125. goodsgroups:
  16126. description: 商品组
  16127. items:
  16128. $ref: '#/definitions/models.Goodsgroup'
  16129. type: array
  16130. loginAccount:
  16131. $ref: '#/definitions/models.Loginaccount'
  16132. description: 登录账号
  16133. type: object
  16134. markets:
  16135. description: 市场
  16136. items:
  16137. $ref: '#/definitions/models.Market'
  16138. type: array
  16139. systemParams:
  16140. description: 系统参数
  16141. items:
  16142. $ref: '#/definitions/models.Systemparam'
  16143. type: array
  16144. userAccount:
  16145. $ref: '#/definitions/models.Useraccount'
  16146. description: 用户账号
  16147. type: object
  16148. userInfo:
  16149. $ref: '#/definitions/models.Userinfo'
  16150. description: 用户信息
  16151. type: object
  16152. username:
  16153. description: 用户姓名
  16154. type: string
  16155. type: object
  16156. info:
  16157. contact: {}
  16158. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  16159. license: {}
  16160. termsOfService: http://www.muchinfo.cn
  16161. title: MTP2.0 查询服务 API
  16162. version: "1.0"
  16163. paths:
  16164. /CPTrade/QueryCPTradeMyBidInfos:
  16165. get:
  16166. parameters:
  16167. - description: 资金账户
  16168. in: query
  16169. name: accountid
  16170. required: true
  16171. type: integer
  16172. - description: 预售市场ID
  16173. in: query
  16174. name: marketid
  16175. type: integer
  16176. - description: 预售商品ID
  16177. in: query
  16178. name: goodsid
  16179. type: integer
  16180. produces:
  16181. - application/json
  16182. responses:
  16183. "200":
  16184. description: OK
  16185. schema:
  16186. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  16187. "500":
  16188. description: Internal Server Error
  16189. schema:
  16190. $ref: '#/definitions/app.Response'
  16191. security:
  16192. - ApiKeyAuth: []
  16193. summary: 查询产能预售我的出价信息
  16194. tags:
  16195. - 产能预售
  16196. /CPTrade/QueryCPTradeOrderDetail:
  16197. get:
  16198. parameters:
  16199. - description: 预售商品ID
  16200. in: query
  16201. name: goodsid
  16202. type: integer
  16203. - description: 预售市场ID
  16204. in: query
  16205. name: marketid
  16206. type: integer
  16207. - description: 预售商品ID列表 - 格式:1,2,3
  16208. in: query
  16209. name: goodsids
  16210. type: string
  16211. produces:
  16212. - application/json
  16213. responses:
  16214. "200":
  16215. description: OK
  16216. schema:
  16217. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  16218. "500":
  16219. description: Internal Server Error
  16220. schema:
  16221. $ref: '#/definitions/app.Response'
  16222. security:
  16223. - ApiKeyAuth: []
  16224. summary: 查询产能预售委托单信息
  16225. tags:
  16226. - 产能预售
  16227. /CPTrade/QueryMyCPTradeGoods:
  16228. get:
  16229. parameters:
  16230. - description: 资金账户
  16231. in: query
  16232. name: accountid
  16233. required: true
  16234. type: integer
  16235. produces:
  16236. - application/json
  16237. responses:
  16238. "200":
  16239. description: OK
  16240. schema:
  16241. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  16242. "500":
  16243. description: Internal Server Error
  16244. schema:
  16245. $ref: '#/definitions/app.Response'
  16246. security:
  16247. - ApiKeyAuth: []
  16248. summary: 查询我的预售信息
  16249. tags:
  16250. - 产能预售
  16251. /CPTrade/QueryPositionCancel:
  16252. get:
  16253. parameters:
  16254. - description: 账户ID
  16255. in: query
  16256. name: userid
  16257. required: true
  16258. type: integer
  16259. - description: 注销ID
  16260. in: query
  16261. name: cancelid
  16262. type: integer
  16263. - description: 资金账户ID
  16264. in: query
  16265. name: accountid
  16266. type: integer
  16267. produces:
  16268. - application/json
  16269. responses:
  16270. "200":
  16271. description: OK
  16272. schema:
  16273. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  16274. "500":
  16275. description: Internal Server Error
  16276. schema:
  16277. $ref: '#/definitions/app.Response'
  16278. security:
  16279. - ApiKeyAuth: []
  16280. summary: 查询远期订单注销申请信息
  16281. tags:
  16282. - 产能预售
  16283. /CPTrade/QueryPreasleApply:
  16284. get:
  16285. parameters:
  16286. - description: 账户ID
  16287. in: query
  16288. name: userid
  16289. required: true
  16290. type: integer
  16291. - description: 申请ID
  16292. in: query
  16293. name: applyid
  16294. type: integer
  16295. - description: 资金账户ID
  16296. in: query
  16297. name: accountid
  16298. type: integer
  16299. produces:
  16300. - application/json
  16301. responses:
  16302. "200":
  16303. description: OK
  16304. schema:
  16305. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  16306. "500":
  16307. description: Internal Server Error
  16308. schema:
  16309. $ref: '#/definitions/app.Response'
  16310. security:
  16311. - ApiKeyAuth: []
  16312. summary: 查询产能预售申请信息
  16313. tags:
  16314. - 产能预售
  16315. /CPTrade/QueryPresaleGoodsEx:
  16316. get:
  16317. parameters:
  16318. - description: 预售商品ID
  16319. in: query
  16320. name: goodsid
  16321. type: integer
  16322. - description: 预售市场ID
  16323. in: query
  16324. name: marketid
  16325. type: integer
  16326. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  16327. in: query
  16328. name: presalemode
  16329. type: integer
  16330. - description: 预售商品ID列表 - 格式:1,2,3
  16331. in: query
  16332. name: goodsids
  16333. type: string
  16334. - description: 预售商品代码
  16335. in: query
  16336. name: goodscode
  16337. type: string
  16338. produces:
  16339. - application/json
  16340. responses:
  16341. "200":
  16342. description: OK
  16343. schema:
  16344. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  16345. "500":
  16346. description: Internal Server Error
  16347. schema:
  16348. $ref: '#/definitions/app.Response'
  16349. security:
  16350. - ApiKeyAuth: []
  16351. summary: 查询产能预售商品扩展信息
  16352. tags:
  16353. - 产能预售
  16354. /CPTrade/QueryUserGoodsData:
  16355. get:
  16356. parameters:
  16357. - description: 资金账户ID
  16358. in: query
  16359. name: accountid
  16360. required: true
  16361. type: integer
  16362. produces:
  16363. - application/json
  16364. responses:
  16365. "200":
  16366. description: OK
  16367. schema:
  16368. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  16369. "500":
  16370. description: Internal Server Error
  16371. schema:
  16372. $ref: '#/definitions/app.Response'
  16373. security:
  16374. - ApiKeyAuth: []
  16375. summary: 查询远期订单信息
  16376. tags:
  16377. - 产能预售
  16378. /Common/GetAllEnums:
  16379. get:
  16380. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  16381. parameters:
  16382. - description: 起始自增ID
  16383. in: query
  16384. name: autoid
  16385. type: integer
  16386. produces:
  16387. - application/json
  16388. responses:
  16389. "200":
  16390. description: OK
  16391. schema:
  16392. $ref: '#/definitions/models.Enumdicitem'
  16393. "500":
  16394. description: Internal Server Error
  16395. schema:
  16396. $ref: '#/definitions/app.Response'
  16397. summary: 获取所有枚举信息
  16398. tags:
  16399. - 通用服务
  16400. /Common/GetClientMenus:
  16401. get:
  16402. parameters:
  16403. - description: 登录账号
  16404. in: query
  16405. name: loginID
  16406. required: true
  16407. type: integer
  16408. - description: 终端类型,0:PC 1:Mobile
  16409. in: query
  16410. name: clientType
  16411. type: integer
  16412. produces:
  16413. - application/json
  16414. responses:
  16415. "200":
  16416. description: OK
  16417. schema:
  16418. items:
  16419. $ref: '#/definitions/common.ClientMenu'
  16420. type: array
  16421. "500":
  16422. description: Internal Server Error
  16423. schema:
  16424. $ref: '#/definitions/app.Response'
  16425. security:
  16426. - ApiKeyAuth: []
  16427. summary: 获取交易端菜单
  16428. tags:
  16429. - 通用服务
  16430. /Common/GetDivisions:
  16431. get:
  16432. produces:
  16433. - application/json
  16434. responses:
  16435. "200":
  16436. description: OK
  16437. schema:
  16438. $ref: '#/definitions/models.Division'
  16439. "500":
  16440. description: Internal Server Error
  16441. schema:
  16442. $ref: '#/definitions/app.Response'
  16443. summary: 查询区域信息
  16444. tags:
  16445. - 通用服务
  16446. /Common/GetServerTime:
  16447. get:
  16448. produces:
  16449. - application/json
  16450. responses:
  16451. "200":
  16452. description: OK
  16453. schema:
  16454. $ref: '#/definitions/app.Response'
  16455. "500":
  16456. description: Internal Server Error
  16457. schema:
  16458. $ref: '#/definitions/app.Response'
  16459. summary: 获取服务器时间
  16460. tags:
  16461. - 通用服务
  16462. /Common/NoticeReaded:
  16463. post:
  16464. parameters:
  16465. - description: 登录账号
  16466. in: query
  16467. name: loginID
  16468. required: true
  16469. type: integer
  16470. - description: 通知公告ID
  16471. in: query
  16472. name: noticeID
  16473. required: true
  16474. type: integer
  16475. produces:
  16476. - application/json
  16477. responses:
  16478. "200":
  16479. description: OK
  16480. schema:
  16481. $ref: '#/definitions/app.Response'
  16482. "500":
  16483. description: Internal Server Error
  16484. schema:
  16485. $ref: '#/definitions/app.Response'
  16486. security:
  16487. - ApiKeyAuth: []
  16488. summary: 通知公告设置已读请求
  16489. tags:
  16490. - 通用服务
  16491. /Common/QueryErrorInfos:
  16492. get:
  16493. description: 如果传入rowNumber,则返回此rowNumber后的数据
  16494. parameters:
  16495. - description: 起始行号前索引
  16496. in: query
  16497. name: rowNumber
  16498. type: string
  16499. produces:
  16500. - application/json
  16501. responses:
  16502. "200":
  16503. description: OK
  16504. schema:
  16505. $ref: '#/definitions/models.QueryErrorInfosRsp'
  16506. "500":
  16507. description: Internal Server Error
  16508. schema:
  16509. $ref: '#/definitions/app.Response'
  16510. summary: 获取数据库错误信息
  16511. tags:
  16512. - 通用服务
  16513. /Common/QueryImageConfigs:
  16514. get:
  16515. parameters:
  16516. - description: 用户id
  16517. in: query
  16518. name: userId
  16519. type: integer
  16520. - description: 类型 - 1:App首页轮播 2:我的
  16521. in: query
  16522. name: imageType
  16523. type: integer
  16524. produces:
  16525. - application/json
  16526. responses:
  16527. "200":
  16528. description: OK
  16529. schema:
  16530. $ref: '#/definitions/common.QueryImageConfigsRsp'
  16531. "500":
  16532. description: Internal Server Error
  16533. schema:
  16534. $ref: '#/definitions/app.Response'
  16535. summary: 查询轮播图配置信息
  16536. tags:
  16537. - 通用服务
  16538. /Common/QueryNotice:
  16539. get:
  16540. parameters:
  16541. - description: 页码
  16542. in: query
  16543. name: page
  16544. type: integer
  16545. - description: 每页条数
  16546. in: query
  16547. name: pagesize
  16548. type: integer
  16549. - description: 登录账号
  16550. in: query
  16551. name: loginID
  16552. required: true
  16553. type: integer
  16554. - description: 消息类型 - 1:公告通知 2:系统消息
  16555. in: query
  16556. name: msgType
  16557. type: integer
  16558. - description: 是否只获取未读信息
  16559. in: query
  16560. name: onlyUnRead
  16561. type: boolean
  16562. - description: 自增ID,传入后会返回这个ID后面的记录
  16563. in: query
  16564. name: lastID
  16565. type: integer
  16566. produces:
  16567. - application/json
  16568. responses:
  16569. "200":
  16570. description: OK
  16571. schema:
  16572. $ref: '#/definitions/common.QueryNoticeRsp'
  16573. "500":
  16574. description: Internal Server Error
  16575. schema:
  16576. $ref: '#/definitions/app.Response'
  16577. security:
  16578. - ApiKeyAuth: []
  16579. summary: 通知公告系统消息查询
  16580. tags:
  16581. - 通用服务
  16582. /Common/QueryProvincesAndCities:
  16583. get:
  16584. parameters:
  16585. - description: 省ID
  16586. in: query
  16587. name: provinceID
  16588. type: integer
  16589. produces:
  16590. - application/json
  16591. responses:
  16592. "200":
  16593. description: OK
  16594. schema:
  16595. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  16596. "500":
  16597. description: Internal Server Error
  16598. schema:
  16599. $ref: '#/definitions/app.Response'
  16600. summary: 查询省市信息(不包括区)
  16601. tags:
  16602. - 通用服务
  16603. /Common/QueryTableDefine:
  16604. get:
  16605. parameters:
  16606. - description: 表key
  16607. in: query
  16608. name: tableKey
  16609. type: string
  16610. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  16611. in: query
  16612. name: tableType
  16613. type: integer
  16614. produces:
  16615. - application/json
  16616. responses:
  16617. "200":
  16618. description: OK
  16619. schema:
  16620. $ref: '#/definitions/common.QueryTableDefineRsp'
  16621. "500":
  16622. description: Internal Server Error
  16623. schema:
  16624. $ref: '#/definitions/app.Response'
  16625. summary: 查询交易端列表头信息
  16626. tags:
  16627. - 通用服务
  16628. /Common/QueryTraderMenu:
  16629. get:
  16630. parameters:
  16631. - description: 登录账号
  16632. in: query
  16633. name: loginid
  16634. required: true
  16635. type: integer
  16636. produces:
  16637. - application/json
  16638. responses:
  16639. "200":
  16640. description: OK
  16641. schema:
  16642. $ref: '#/definitions/common.QueryTraderMenuRsp'
  16643. "500":
  16644. description: Internal Server Error
  16645. schema:
  16646. $ref: '#/definitions/app.Response'
  16647. summary: 查询交易端菜单
  16648. tags:
  16649. - 通用服务
  16650. /Delivery/QueryDeliveryRelation:
  16651. get:
  16652. parameters:
  16653. - description: 商品ID
  16654. in: query
  16655. name: goodsid
  16656. type: integer
  16657. - description: 品种ID
  16658. in: query
  16659. name: deliverygoodsid
  16660. type: integer
  16661. - description: 市场ID
  16662. in: query
  16663. name: marketid
  16664. type: integer
  16665. produces:
  16666. - application/json
  16667. responses:
  16668. "200":
  16669. description: OK
  16670. schema:
  16671. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  16672. "500":
  16673. description: Internal Server Error
  16674. schema:
  16675. $ref: '#/definitions/app.Response'
  16676. security:
  16677. - ApiKeyAuth: []
  16678. summary: 查询商品交割关系表
  16679. tags:
  16680. - 交割服务
  16681. /Ermcp/GetErmcpGoods:
  16682. get:
  16683. parameters:
  16684. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16685. in: query
  16686. name: lastUpdateTime
  16687. type: string
  16688. produces:
  16689. - application/json
  16690. responses:
  16691. "200":
  16692. description: OK
  16693. schema:
  16694. $ref: '#/definitions/models.ErmcpGoods'
  16695. "500":
  16696. description: Internal Server Error
  16697. schema:
  16698. $ref: '#/definitions/app.Response'
  16699. security:
  16700. - ApiKeyAuth: []
  16701. summary: 查询企业风管期货商品信息
  16702. tags:
  16703. - 企业风险管理(app)
  16704. /Ermcp/GetErmcpGoodsSortByPosition:
  16705. get:
  16706. parameters:
  16707. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  16708. in: query
  16709. name: sortIndex
  16710. type: string
  16711. produces:
  16712. - application/json
  16713. responses:
  16714. "200":
  16715. description: OK
  16716. schema:
  16717. $ref: '#/definitions/models.Goodssortbypreposition'
  16718. "500":
  16719. description: Internal Server Error
  16720. schema:
  16721. $ref: '#/definitions/app.Response'
  16722. security:
  16723. - ApiKeyAuth: []
  16724. summary: 查询企业风管期货主力、次主力商品信息
  16725. tags:
  16726. - 企业风险管理(app)
  16727. /Ermcp/GetErmcpOutAccountStatus:
  16728. get:
  16729. parameters:
  16730. - description: 登录账号
  16731. in: query
  16732. name: loginID
  16733. required: true
  16734. type: integer
  16735. produces:
  16736. - application/json
  16737. responses:
  16738. "200":
  16739. description: OK
  16740. schema:
  16741. $ref: '#/definitions/models.Hedgemarketopenlog'
  16742. "500":
  16743. description: Internal Server Error
  16744. schema:
  16745. $ref: '#/definitions/app.Response'
  16746. security:
  16747. - ApiKeyAuth: []
  16748. summary: 获取目标登录账号当前对冲账号在线状态
  16749. tags:
  16750. - 企业风险管理(app)
  16751. /Ermcp/GetErmcpRoleFuncMenuLists:
  16752. get:
  16753. parameters:
  16754. - description: 登录账号
  16755. in: query
  16756. name: loginID
  16757. required: true
  16758. type: integer
  16759. produces:
  16760. - application/json
  16761. responses:
  16762. "200":
  16763. description: OK
  16764. schema:
  16765. $ref: '#/definitions/models.Funcmenulist'
  16766. "500":
  16767. description: Internal Server Error
  16768. schema:
  16769. $ref: '#/definitions/app.Response'
  16770. security:
  16771. - ApiKeyAuth: []
  16772. summary: 获取企业风管终端权限
  16773. tags:
  16774. - 企业风险管理(app)
  16775. /Ermcp/QueryAccMgrBizGroupSet:
  16776. get:
  16777. parameters:
  16778. - description: 用户ID
  16779. in: query
  16780. name: userid
  16781. required: true
  16782. type: integer
  16783. - description: 现货商品id
  16784. in: query
  16785. name: deliverygoodsid
  16786. type: integer
  16787. produces:
  16788. - application/json
  16789. responses:
  16790. "200":
  16791. description: OK
  16792. schema:
  16793. items:
  16794. $ref: '#/definitions/models.ErmcpBizGroupEx'
  16795. type: array
  16796. "500":
  16797. description: Internal Server Error
  16798. schema:
  16799. $ref: '#/definitions/app.Response'
  16800. security:
  16801. - ApiKeyAuth: []
  16802. summary: 查询业务类型分组(账户管理/账户设置)
  16803. tags:
  16804. - 企业风险管理(app)
  16805. /Ermcp/QueryAccMgrLoginUser:
  16806. get:
  16807. parameters:
  16808. - description: 用户ID
  16809. in: query
  16810. name: userid
  16811. required: true
  16812. type: integer
  16813. - description: 用户类型 2-机构 7-企业成员
  16814. in: query
  16815. name: usertype
  16816. type: integer
  16817. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  16818. in: query
  16819. name: querytype
  16820. required: true
  16821. type: integer
  16822. produces:
  16823. - application/json
  16824. responses:
  16825. "200":
  16826. description: OK
  16827. schema:
  16828. items:
  16829. $ref: '#/definitions/models.ErmcpLoginUserEx'
  16830. type: array
  16831. "500":
  16832. description: Internal Server Error
  16833. schema:
  16834. $ref: '#/definitions/app.Response'
  16835. security:
  16836. - ApiKeyAuth: []
  16837. summary: 查询账户管理登录账号(账户管理/登录账号)
  16838. tags:
  16839. - 企业风险管理(app)
  16840. /Ermcp/QueryAccMgrMainAccountInfo:
  16841. get:
  16842. parameters:
  16843. - description: 用户ID
  16844. in: query
  16845. name: userid
  16846. type: integer
  16847. - description: 主账号id
  16848. in: query
  16849. name: accountid
  16850. type: integer
  16851. produces:
  16852. - application/json
  16853. responses:
  16854. "200":
  16855. description: OK
  16856. schema:
  16857. items:
  16858. $ref: '#/definitions/models.MainAccountInfo'
  16859. type: array
  16860. "500":
  16861. description: Internal Server Error
  16862. schema:
  16863. $ref: '#/definitions/app.Response'
  16864. security:
  16865. - ApiKeyAuth: []
  16866. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  16867. tags:
  16868. - 企业风险管理(app)
  16869. /Ermcp/QueryAccMgrRole:
  16870. get:
  16871. parameters:
  16872. - description: 用户ID
  16873. in: query
  16874. name: userid
  16875. required: true
  16876. type: integer
  16877. produces:
  16878. - application/json
  16879. responses:
  16880. "200":
  16881. description: OK
  16882. schema:
  16883. items:
  16884. $ref: '#/definitions/models.ErmcpRole'
  16885. type: array
  16886. "500":
  16887. description: Internal Server Error
  16888. schema:
  16889. $ref: '#/definitions/app.Response'
  16890. security:
  16891. - ApiKeyAuth: []
  16892. summary: 查询账户管理角色设置(账户管理/角色设置)
  16893. tags:
  16894. - 企业风险管理(app)
  16895. /Ermcp/QueryAccMgrRoleMenu:
  16896. get:
  16897. parameters:
  16898. - description: 用户ID
  16899. in: query
  16900. name: userid
  16901. required: true
  16902. type: integer
  16903. - description: 角色id(可多个,逗号隔开)
  16904. in: query
  16905. name: roleid
  16906. type: string
  16907. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  16908. in: query
  16909. name: menutype
  16910. type: integer
  16911. produces:
  16912. - application/json
  16913. responses:
  16914. "200":
  16915. description: OK
  16916. schema:
  16917. items:
  16918. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  16919. type: array
  16920. "500":
  16921. description: Internal Server Error
  16922. schema:
  16923. $ref: '#/definitions/app.Response'
  16924. security:
  16925. - ApiKeyAuth: []
  16926. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  16927. tags:
  16928. - 企业风险管理(app)
  16929. /Ermcp/QueryAccMgrTaAccountInfo:
  16930. get:
  16931. parameters:
  16932. - description: 用户ID
  16933. in: query
  16934. name: userid
  16935. required: true
  16936. type: integer
  16937. - description: 账号id
  16938. in: query
  16939. name: accountid
  16940. type: integer
  16941. produces:
  16942. - application/json
  16943. responses:
  16944. "200":
  16945. description: OK
  16946. schema:
  16947. items:
  16948. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  16949. type: array
  16950. "500":
  16951. description: Internal Server Error
  16952. schema:
  16953. $ref: '#/definitions/app.Response'
  16954. security:
  16955. - ApiKeyAuth: []
  16956. summary: 查询账户管理授信(账户管理/账户设置/授信)
  16957. tags:
  16958. - 企业风险管理(app)
  16959. /Ermcp/QueryAccMgrTaaccount:
  16960. get:
  16961. parameters:
  16962. - description: 用户ID
  16963. in: query
  16964. name: userid
  16965. required: true
  16966. type: integer
  16967. produces:
  16968. - application/json
  16969. responses:
  16970. "200":
  16971. description: OK
  16972. schema:
  16973. items:
  16974. $ref: '#/definitions/models.ErmcpTaAccountEx'
  16975. type: array
  16976. "500":
  16977. description: Internal Server Error
  16978. schema:
  16979. $ref: '#/definitions/app.Response'
  16980. security:
  16981. - ApiKeyAuth: []
  16982. summary: 查询账户管理期货账号(账户管理/期货账号)
  16983. tags:
  16984. - 企业风险管理(app)
  16985. /Ermcp/QueryAvaildGoodsGroup:
  16986. get:
  16987. parameters:
  16988. - description: 所属机构ID
  16989. in: query
  16990. name: userid
  16991. required: true
  16992. type: integer
  16993. produces:
  16994. - application/json
  16995. responses:
  16996. "200":
  16997. description: OK
  16998. schema:
  16999. items:
  17000. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  17001. type: array
  17002. "500":
  17003. description: Internal Server Error
  17004. schema:
  17005. $ref: '#/definitions/app.Response'
  17006. security:
  17007. - ApiKeyAuth: []
  17008. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  17009. tags:
  17010. - 企业风险管理(app)
  17011. /Ermcp/QueryBusinessDj:
  17012. get:
  17013. parameters:
  17014. - description: 用户ID
  17015. in: query
  17016. name: UserId
  17017. required: true
  17018. type: integer
  17019. - description: 用户类型 2-机构 7-企业成员
  17020. in: query
  17021. name: usertype
  17022. type: integer
  17023. - description: 现货合同ID, 不填则查所有
  17024. in: query
  17025. name: relatedid
  17026. type: string
  17027. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17028. in: query
  17029. name: applystatus
  17030. type: string
  17031. produces:
  17032. - application/json
  17033. responses:
  17034. "200":
  17035. description: OK
  17036. schema:
  17037. items:
  17038. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  17039. type: array
  17040. "500":
  17041. description: Internal Server Error
  17042. schema:
  17043. $ref: '#/definitions/app.Response'
  17044. security:
  17045. - ApiKeyAuth: []
  17046. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  17047. tags:
  17048. - 企业风险管理(app)
  17049. /Ermcp/QueryBusinessFp:
  17050. get:
  17051. parameters:
  17052. - description: 用户ID
  17053. in: query
  17054. name: UserId
  17055. required: true
  17056. type: integer
  17057. - description: 用户类型 2-机构 7-企业成员
  17058. in: query
  17059. name: usertype
  17060. type: integer
  17061. - description: 现货合同ID, 不填则查所有
  17062. in: query
  17063. name: relatedid
  17064. type: string
  17065. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17066. in: query
  17067. name: applystatus
  17068. type: string
  17069. produces:
  17070. - application/json
  17071. responses:
  17072. "200":
  17073. description: OK
  17074. schema:
  17075. items:
  17076. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  17077. type: array
  17078. "500":
  17079. description: Internal Server Error
  17080. schema:
  17081. $ref: '#/definitions/app.Response'
  17082. security:
  17083. - ApiKeyAuth: []
  17084. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  17085. tags:
  17086. - 企业风险管理(app)
  17087. /Ermcp/QueryBusinessJs:
  17088. get:
  17089. parameters:
  17090. - description: 用户ID
  17091. in: query
  17092. name: UserId
  17093. required: true
  17094. type: integer
  17095. - description: 用户类型 2-机构 7-企业成员
  17096. in: query
  17097. name: usertype
  17098. type: integer
  17099. - description: 现货合同ID, 不填则查所有
  17100. in: query
  17101. name: relatedid
  17102. type: string
  17103. - description: 操作申请id
  17104. in: query
  17105. name: operateapplyid
  17106. type: string
  17107. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17108. in: query
  17109. name: applystatus
  17110. type: string
  17111. produces:
  17112. - application/json
  17113. responses:
  17114. "200":
  17115. description: OK
  17116. schema:
  17117. items:
  17118. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  17119. type: array
  17120. "500":
  17121. description: Internal Server Error
  17122. schema:
  17123. $ref: '#/definitions/app.Response'
  17124. security:
  17125. - ApiKeyAuth: []
  17126. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  17127. tags:
  17128. - 企业风险管理(app)
  17129. /Ermcp/QueryBusinessJsEx:
  17130. get:
  17131. parameters:
  17132. - description: 用户ID
  17133. in: query
  17134. name: UserId
  17135. required: true
  17136. type: integer
  17137. - description: 用户类型 2-机构 7-企业成员
  17138. in: query
  17139. name: usertype
  17140. type: integer
  17141. - description: 现货合同ID, 不填则查所有
  17142. in: query
  17143. name: relatedid
  17144. type: string
  17145. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17146. in: query
  17147. name: applystatus
  17148. type: string
  17149. produces:
  17150. - application/json
  17151. responses:
  17152. "200":
  17153. description: OK
  17154. schema:
  17155. items:
  17156. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  17157. type: array
  17158. "500":
  17159. description: Internal Server Error
  17160. schema:
  17161. $ref: '#/definitions/app.Response'
  17162. security:
  17163. - ApiKeyAuth: []
  17164. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  17165. tags:
  17166. - 企业风险管理(app)
  17167. /Ermcp/QueryBusinessKx:
  17168. get:
  17169. parameters:
  17170. - description: 用户ID
  17171. in: query
  17172. name: UserId
  17173. required: true
  17174. type: integer
  17175. - description: 用户类型 2-机构 7-企业成员
  17176. in: query
  17177. name: usertype
  17178. type: integer
  17179. - description: 现货合同ID, 不填则查所有
  17180. in: query
  17181. name: relatedid
  17182. type: string
  17183. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17184. in: query
  17185. name: applystatus
  17186. type: string
  17187. produces:
  17188. - application/json
  17189. responses:
  17190. "200":
  17191. description: OK
  17192. schema:
  17193. items:
  17194. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  17195. type: array
  17196. "500":
  17197. description: Internal Server Error
  17198. schema:
  17199. $ref: '#/definitions/app.Response'
  17200. security:
  17201. - ApiKeyAuth: []
  17202. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  17203. tags:
  17204. - 企业风险管理(app)
  17205. /Ermcp/QueryChangeLog:
  17206. get:
  17207. parameters:
  17208. - description: 合同ID
  17209. in: query
  17210. name: RelatedId
  17211. required: true
  17212. type: string
  17213. produces:
  17214. - application/json
  17215. responses:
  17216. "200":
  17217. description: OK
  17218. schema:
  17219. items:
  17220. $ref: '#/definitions/ermcp.QryOPLogRsp'
  17221. type: array
  17222. "500":
  17223. description: Internal Server Error
  17224. schema:
  17225. $ref: '#/definitions/app.Response'
  17226. security:
  17227. - ApiKeyAuth: []
  17228. summary: 查询变更记录
  17229. tags:
  17230. - 企业风险管理(app)
  17231. /Ermcp/QueryErmcpHisOrderDetails:
  17232. get:
  17233. parameters:
  17234. - description: 资金账户ID
  17235. in: query
  17236. name: accountID
  17237. required: true
  17238. type: integer
  17239. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17240. in: query
  17241. name: startDate
  17242. type: string
  17243. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17244. in: query
  17245. name: endDate
  17246. type: string
  17247. produces:
  17248. - application/json
  17249. responses:
  17250. "200":
  17251. description: OK
  17252. schema:
  17253. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  17254. "500":
  17255. description: Internal Server Error
  17256. schema:
  17257. $ref: '#/definitions/app.Response'
  17258. security:
  17259. - ApiKeyAuth: []
  17260. summary: 获取企业风管期货历史委托单信息
  17261. tags:
  17262. - 企业风险管理(app)
  17263. /Ermcp/QueryErmcpHisTradeDetails:
  17264. get:
  17265. parameters:
  17266. - description: 资金账户ID
  17267. in: query
  17268. name: accountID
  17269. required: true
  17270. type: integer
  17271. - description: 商品ID
  17272. in: query
  17273. name: goodsID
  17274. type: integer
  17275. - description: 买卖方向,0:买 1:卖
  17276. in: query
  17277. name: buyOrSell
  17278. type: integer
  17279. - description: 关联委托单号
  17280. in: query
  17281. name: orderID
  17282. type: integer
  17283. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17284. in: query
  17285. name: startDate
  17286. type: string
  17287. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17288. in: query
  17289. name: endDate
  17290. type: string
  17291. produces:
  17292. - application/json
  17293. responses:
  17294. "200":
  17295. description: OK
  17296. schema:
  17297. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  17298. "500":
  17299. description: Internal Server Error
  17300. schema:
  17301. $ref: '#/definitions/app.Response'
  17302. security:
  17303. - ApiKeyAuth: []
  17304. summary: 获取企业风管期货历史成交单信息
  17305. tags:
  17306. - 企业风险管理(app)
  17307. /Ermcp/QueryErmcpInnerHolderDetails:
  17308. get:
  17309. parameters:
  17310. - description: 资金账户ID
  17311. in: query
  17312. name: accountID
  17313. required: true
  17314. type: integer
  17315. - description: 商品ID
  17316. in: query
  17317. name: goodsID
  17318. type: integer
  17319. - description: 买卖方向,0:买 1:卖
  17320. in: query
  17321. name: buyOrSell
  17322. type: integer
  17323. produces:
  17324. - application/json
  17325. responses:
  17326. "200":
  17327. description: OK
  17328. schema:
  17329. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  17330. "500":
  17331. description: Internal Server Error
  17332. schema:
  17333. $ref: '#/definitions/app.Response'
  17334. security:
  17335. - ApiKeyAuth: []
  17336. summary: 获取企业风管期货内部持仓单信息
  17337. tags:
  17338. - 企业风险管理(app)
  17339. /Ermcp/QueryErmcpOrderDetails:
  17340. get:
  17341. parameters:
  17342. - description: 资金账户ID
  17343. in: query
  17344. name: accountID
  17345. required: true
  17346. type: integer
  17347. produces:
  17348. - application/json
  17349. responses:
  17350. "200":
  17351. description: OK
  17352. schema:
  17353. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  17354. "500":
  17355. description: Internal Server Error
  17356. schema:
  17357. $ref: '#/definitions/app.Response'
  17358. security:
  17359. - ApiKeyAuth: []
  17360. summary: 获取企业风管期货委托单信息
  17361. tags:
  17362. - 企业风险管理(app)
  17363. /Ermcp/QueryErmcpTradeDetails:
  17364. get:
  17365. parameters:
  17366. - description: 资金账户ID
  17367. in: query
  17368. name: accountID
  17369. required: true
  17370. type: integer
  17371. - description: 商品ID
  17372. in: query
  17373. name: goodsID
  17374. type: integer
  17375. - description: 买卖方向,0:买 1:卖
  17376. in: query
  17377. name: buyOrSell
  17378. type: integer
  17379. - description: 关联委托单号
  17380. in: query
  17381. name: orderID
  17382. type: integer
  17383. produces:
  17384. - application/json
  17385. responses:
  17386. "200":
  17387. description: OK
  17388. schema:
  17389. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  17390. "500":
  17391. description: Internal Server Error
  17392. schema:
  17393. $ref: '#/definitions/app.Response'
  17394. security:
  17395. - ApiKeyAuth: []
  17396. summary: 获取企业风管期货成交单信息
  17397. tags:
  17398. - 企业风险管理(app)
  17399. /Ermcp/QueryErmcpTradePosition:
  17400. get:
  17401. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  17402. parameters:
  17403. - description: 资金账户ID
  17404. in: query
  17405. name: accountID
  17406. required: true
  17407. type: integer
  17408. - description: 所属市场ID
  17409. in: query
  17410. name: marketID
  17411. type: integer
  17412. produces:
  17413. - application/json
  17414. responses:
  17415. "200":
  17416. description: OK
  17417. schema:
  17418. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  17419. "500":
  17420. description: Internal Server Error
  17421. schema:
  17422. $ref: '#/definitions/app.Response'
  17423. security:
  17424. - ApiKeyAuth: []
  17425. summary: 获取企业风管期货持仓头寸信息
  17426. tags:
  17427. - 企业风险管理(app)
  17428. /Ermcp/QueryExposureDetail:
  17429. get:
  17430. parameters:
  17431. - description: 所属机构ID
  17432. in: query
  17433. name: areaUserId
  17434. required: true
  17435. type: integer
  17436. - description: 套保商品
  17437. in: query
  17438. name: middleGoodsId
  17439. required: true
  17440. type: integer
  17441. produces:
  17442. - application/json
  17443. responses:
  17444. "200":
  17445. description: OK
  17446. schema:
  17447. items:
  17448. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  17449. type: array
  17450. "500":
  17451. description: Internal Server Error
  17452. schema:
  17453. $ref: '#/definitions/app.Response'
  17454. security:
  17455. - ApiKeyAuth: []
  17456. summary: 查询敞口现货明细
  17457. tags:
  17458. - 企业风险管理(app)
  17459. /Ermcp/QueryExposureGoods:
  17460. get:
  17461. parameters:
  17462. - description: 套保商品id
  17463. in: query
  17464. name: middlegoodsid
  17465. required: true
  17466. type: integer
  17467. produces:
  17468. - application/json
  17469. responses:
  17470. "200":
  17471. description: OK
  17472. schema:
  17473. items:
  17474. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  17475. type: array
  17476. "500":
  17477. description: Internal Server Error
  17478. schema:
  17479. $ref: '#/definitions/app.Response'
  17480. security:
  17481. - ApiKeyAuth: []
  17482. summary: 查询敞口主力合约
  17483. tags:
  17484. - 企业风险管理(app)
  17485. /Ermcp/QueryExposureHedgePosition:
  17486. get:
  17487. parameters:
  17488. - description: 用户id
  17489. in: query
  17490. name: userid
  17491. required: true
  17492. type: integer
  17493. produces:
  17494. - application/json
  17495. responses:
  17496. "200":
  17497. description: OK
  17498. schema:
  17499. items:
  17500. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  17501. type: array
  17502. "500":
  17503. description: Internal Server Error
  17504. schema:
  17505. $ref: '#/definitions/app.Response'
  17506. security:
  17507. - ApiKeyAuth: []
  17508. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  17509. tags:
  17510. - 企业风险管理(app)
  17511. /Ermcp/QueryExposureHedgePositionDetail:
  17512. get:
  17513. parameters:
  17514. - description: 所属机构ID
  17515. in: query
  17516. name: userid
  17517. required: true
  17518. type: integer
  17519. - description: 商品id
  17520. in: query
  17521. name: goodsId
  17522. required: true
  17523. type: integer
  17524. produces:
  17525. - application/json
  17526. responses:
  17527. "200":
  17528. description: OK
  17529. schema:
  17530. items:
  17531. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  17532. type: array
  17533. "500":
  17534. description: Internal Server Error
  17535. schema:
  17536. $ref: '#/definitions/app.Response'
  17537. security:
  17538. - ApiKeyAuth: []
  17539. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  17540. tags:
  17541. - 企业风险管理(app)
  17542. /Ermcp/QueryExposureSpot:
  17543. get:
  17544. parameters:
  17545. - description: 所属机构ID
  17546. in: query
  17547. name: areaUserId
  17548. required: true
  17549. type: integer
  17550. produces:
  17551. - application/json
  17552. responses:
  17553. "200":
  17554. description: OK
  17555. schema:
  17556. items:
  17557. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  17558. type: array
  17559. "500":
  17560. description: Internal Server Error
  17561. schema:
  17562. $ref: '#/definitions/app.Response'
  17563. security:
  17564. - ApiKeyAuth: []
  17565. summary: 查询敞口现货头寸(敞口/现货头寸)
  17566. tags:
  17567. - 企业风险管理(app)
  17568. /Ermcp/QueryExposureSpotDetail:
  17569. get:
  17570. parameters:
  17571. - description: 所属机构ID
  17572. in: query
  17573. name: areaUserId
  17574. required: true
  17575. type: integer
  17576. - description: 现货品种ID
  17577. in: query
  17578. name: wrstandardId
  17579. required: true
  17580. type: integer
  17581. produces:
  17582. - application/json
  17583. responses:
  17584. "200":
  17585. description: OK
  17586. schema:
  17587. items:
  17588. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  17589. type: array
  17590. "500":
  17591. description: Internal Server Error
  17592. schema:
  17593. $ref: '#/definitions/app.Response'
  17594. security:
  17595. - ApiKeyAuth: []
  17596. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  17597. tags:
  17598. - 企业风险管理(app)
  17599. /Ermcp/QueryFuturesCompany:
  17600. get:
  17601. produces:
  17602. - application/json
  17603. responses:
  17604. "200":
  17605. description: OK
  17606. schema:
  17607. items:
  17608. $ref: '#/definitions/models.ErmcpFuturesCompany'
  17609. type: array
  17610. "500":
  17611. description: Internal Server Error
  17612. schema:
  17613. $ref: '#/definitions/app.Response'
  17614. security:
  17615. - ApiKeyAuth: []
  17616. summary: 查询期货公司
  17617. tags:
  17618. - 企业风险管理(app)
  17619. /Ermcp/QueryGGConvertConfig:
  17620. get:
  17621. parameters:
  17622. - description: 品种id(不填则查所有)
  17623. in: query
  17624. name: goodsgroupid
  17625. type: integer
  17626. produces:
  17627. - application/json
  17628. responses:
  17629. "200":
  17630. description: OK
  17631. schema:
  17632. items:
  17633. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  17634. type: array
  17635. "500":
  17636. description: Internal Server Error
  17637. schema:
  17638. $ref: '#/definitions/app.Response'
  17639. security:
  17640. - ApiKeyAuth: []
  17641. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  17642. tags:
  17643. - 企业风险管理(app)
  17644. /Ermcp/QueryGoodsBrand:
  17645. get:
  17646. parameters:
  17647. - description: 用户ID
  17648. in: query
  17649. name: userid
  17650. required: true
  17651. type: integer
  17652. - description: 现货商品ID
  17653. in: query
  17654. name: wrstandardid
  17655. type: integer
  17656. produces:
  17657. - application/json
  17658. responses:
  17659. "200":
  17660. description: OK
  17661. schema:
  17662. items:
  17663. $ref: '#/definitions/models.ErmcpGoodsBrand'
  17664. type: array
  17665. "500":
  17666. description: Internal Server Error
  17667. schema:
  17668. $ref: '#/definitions/app.Response'
  17669. security:
  17670. - ApiKeyAuth: []
  17671. summary: 查询商品品牌
  17672. tags:
  17673. - 企业风险管理(app)
  17674. /Ermcp/QueryGoodsModel:
  17675. get:
  17676. parameters:
  17677. - description: 用户ID
  17678. in: query
  17679. name: userid
  17680. required: true
  17681. type: integer
  17682. produces:
  17683. - application/json
  17684. responses:
  17685. "200":
  17686. description: OK
  17687. schema:
  17688. items:
  17689. $ref: '#/definitions/models.ErmcpGoodsModel'
  17690. type: array
  17691. "500":
  17692. description: Internal Server Error
  17693. schema:
  17694. $ref: '#/definitions/app.Response'
  17695. security:
  17696. - ApiKeyAuth: []
  17697. summary: 查询商品型号
  17698. tags:
  17699. - 企业风险管理(app)
  17700. /Ermcp/QueryHisExposure:
  17701. get:
  17702. parameters:
  17703. - description: 用户id
  17704. in: query
  17705. name: userid
  17706. required: true
  17707. type: integer
  17708. - description: 每个品种记录数
  17709. in: query
  17710. name: lastNum
  17711. required: true
  17712. type: integer
  17713. produces:
  17714. - application/json
  17715. responses:
  17716. "200":
  17717. description: OK
  17718. schema:
  17719. items:
  17720. $ref: '#/definitions/ermcp.HisExposureRsp'
  17721. type: array
  17722. "500":
  17723. description: Internal Server Error
  17724. schema:
  17725. $ref: '#/definitions/app.Response'
  17726. security:
  17727. - ApiKeyAuth: []
  17728. summary: 查询历史敞口(菜单:敞口/历史敞口)
  17729. tags:
  17730. - 企业风险管理(app)
  17731. /Ermcp/QueryMiddleGoods:
  17732. get:
  17733. parameters:
  17734. - description: 所属机构ID
  17735. in: query
  17736. name: userid
  17737. required: true
  17738. type: integer
  17739. - description: 状态 0-停用 1-正常
  17740. in: query
  17741. name: status
  17742. required: true
  17743. type: integer
  17744. produces:
  17745. - application/json
  17746. responses:
  17747. "200":
  17748. description: OK
  17749. schema:
  17750. items:
  17751. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  17752. type: array
  17753. "500":
  17754. description: Internal Server Error
  17755. schema:
  17756. $ref: '#/definitions/app.Response'
  17757. security:
  17758. - ApiKeyAuth: []
  17759. summary: 查询套保品种(菜单:套保品种)
  17760. tags:
  17761. - 企业风险管理(app)
  17762. /Ermcp/QueryMiddleGoodsChangeLog:
  17763. get:
  17764. parameters:
  17765. - description: 所属机构ID
  17766. in: query
  17767. name: userid
  17768. required: true
  17769. type: integer
  17770. - description: 套保品种id
  17771. in: query
  17772. name: middlegoodsid
  17773. required: true
  17774. type: integer
  17775. produces:
  17776. - application/json
  17777. responses:
  17778. "200":
  17779. description: OK
  17780. schema:
  17781. items:
  17782. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  17783. type: array
  17784. "500":
  17785. description: Internal Server Error
  17786. schema:
  17787. $ref: '#/definitions/app.Response'
  17788. security:
  17789. - ApiKeyAuth: []
  17790. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  17791. tags:
  17792. - 企业风险管理(app)
  17793. /Ermcp/QueryMiddleGoodsDetail:
  17794. get:
  17795. parameters:
  17796. - description: 所属机构ID
  17797. in: query
  17798. name: userid
  17799. required: true
  17800. type: integer
  17801. - description: 套保品种id
  17802. in: query
  17803. name: middlegoodsid
  17804. type: integer
  17805. produces:
  17806. - application/json
  17807. responses:
  17808. "200":
  17809. description: OK
  17810. schema:
  17811. items:
  17812. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  17813. type: array
  17814. "500":
  17815. description: Internal Server Error
  17816. schema:
  17817. $ref: '#/definitions/app.Response'
  17818. security:
  17819. - ApiKeyAuth: []
  17820. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  17821. tags:
  17822. - 企业风险管理(app)
  17823. /Ermcp/QueryPendingAuditInfo:
  17824. get:
  17825. parameters:
  17826. - description: 用户ID
  17827. in: query
  17828. name: UserId
  17829. required: true
  17830. type: integer
  17831. produces:
  17832. - application/json
  17833. responses:
  17834. "200":
  17835. description: OK
  17836. schema:
  17837. items:
  17838. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  17839. type: array
  17840. "500":
  17841. description: Internal Server Error
  17842. schema:
  17843. $ref: '#/definitions/app.Response'
  17844. security:
  17845. - ApiKeyAuth: []
  17846. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  17847. tags:
  17848. - 企业风险管理(app)
  17849. /Ermcp/QueryRealtimeExposure:
  17850. get:
  17851. parameters:
  17852. - description: 所属机构ID
  17853. in: query
  17854. name: userid
  17855. required: true
  17856. type: integer
  17857. produces:
  17858. - application/json
  17859. responses:
  17860. "200":
  17861. description: OK
  17862. schema:
  17863. items:
  17864. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  17865. type: array
  17866. "500":
  17867. description: Internal Server Error
  17868. schema:
  17869. $ref: '#/definitions/app.Response'
  17870. security:
  17871. - ApiKeyAuth: []
  17872. summary: 查询实时敞口
  17873. tags:
  17874. - 企业风险管理(app)
  17875. /Ermcp/QueryRealtimeExposurePosition:
  17876. get:
  17877. parameters:
  17878. - description: 用户id
  17879. in: query
  17880. name: userid
  17881. required: true
  17882. type: integer
  17883. - description: 套保商品ID
  17884. in: query
  17885. name: middleGoodsId
  17886. required: true
  17887. type: integer
  17888. produces:
  17889. - application/json
  17890. responses:
  17891. "200":
  17892. description: OK
  17893. schema:
  17894. items:
  17895. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  17896. type: array
  17897. "500":
  17898. description: Internal Server Error
  17899. schema:
  17900. $ref: '#/definitions/app.Response'
  17901. security:
  17902. - ApiKeyAuth: []
  17903. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  17904. tags:
  17905. - 企业风险管理(app)
  17906. /Ermcp/QueryRoleMenu:
  17907. get:
  17908. parameters:
  17909. - description: 登录ID
  17910. in: query
  17911. name: loginid
  17912. required: true
  17913. type: integer
  17914. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  17915. in: query
  17916. name: menutype
  17917. type: integer
  17918. produces:
  17919. - application/json
  17920. responses:
  17921. "200":
  17922. description: OK
  17923. schema:
  17924. items:
  17925. $ref: '#/definitions/models.RoleMenu'
  17926. type: array
  17927. "500":
  17928. description: Internal Server Error
  17929. schema:
  17930. $ref: '#/definitions/app.Response'
  17931. security:
  17932. - ApiKeyAuth: []
  17933. summary: 查询角色菜单和权限
  17934. tags:
  17935. - 企业风险管理(app)
  17936. /Ermcp/QueryTradeConfigTMP:
  17937. get:
  17938. parameters:
  17939. - description: 所属机构id
  17940. in: query
  17941. name: areauserid
  17942. type: integer
  17943. produces:
  17944. - application/json
  17945. responses:
  17946. "200":
  17947. description: OK
  17948. schema:
  17949. items:
  17950. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  17951. type: array
  17952. "500":
  17953. description: Internal Server Error
  17954. schema:
  17955. $ref: '#/definitions/app.Response'
  17956. security:
  17957. - ApiKeyAuth: []
  17958. summary: 查询交易模板配置
  17959. tags:
  17960. - 企业风险管理(app)
  17961. /Ermcp/QueryUserInfo:
  17962. get:
  17963. parameters:
  17964. - description: 所属机构用户ID
  17965. in: query
  17966. name: MemberUserID
  17967. required: true
  17968. type: integer
  17969. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  17970. in: query
  17971. name: queryType
  17972. required: true
  17973. type: integer
  17974. produces:
  17975. - application/json
  17976. responses:
  17977. "200":
  17978. description: OK
  17979. schema:
  17980. items:
  17981. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  17982. type: array
  17983. "500":
  17984. description: Internal Server Error
  17985. schema:
  17986. $ref: '#/definitions/app.Response'
  17987. security:
  17988. - ApiKeyAuth: []
  17989. summary: 查询客户资料
  17990. tags:
  17991. - 企业风险管理(app)
  17992. /Ermcp/QueryWarehouseInfo:
  17993. get:
  17994. parameters:
  17995. - description: 用户ID
  17996. in: query
  17997. name: userid
  17998. required: true
  17999. type: integer
  18000. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  18001. in: query
  18002. name: status
  18003. type: string
  18004. produces:
  18005. - application/json
  18006. responses:
  18007. "200":
  18008. description: OK
  18009. schema:
  18010. items:
  18011. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  18012. type: array
  18013. "500":
  18014. description: Internal Server Error
  18015. schema:
  18016. $ref: '#/definitions/app.Response'
  18017. security:
  18018. - ApiKeyAuth: []
  18019. summary: 查询仓库信息
  18020. tags:
  18021. - 企业风险管理(app)
  18022. /Ermcp3/QryAreaExpourseContractDetail:
  18023. get:
  18024. parameters:
  18025. - description: 用户ID
  18026. in: query
  18027. name: userid
  18028. required: true
  18029. type: integer
  18030. - description: 套保商品id
  18031. in: query
  18032. name: middlegoodsid
  18033. required: true
  18034. type: integer
  18035. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18036. in: query
  18037. name: cycletype
  18038. required: true
  18039. type: integer
  18040. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18041. 全(0)【原值】
  18042. in: query
  18043. name: cycletime
  18044. required: true
  18045. type: string
  18046. produces:
  18047. - application/json
  18048. responses:
  18049. "200":
  18050. description: OK
  18051. schema:
  18052. items:
  18053. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  18054. type: array
  18055. "500":
  18056. description: Internal Server Error
  18057. schema:
  18058. $ref: '#/definitions/app.Response'
  18059. security:
  18060. - ApiKeyAuth: []
  18061. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  18062. tags:
  18063. - 企业风险管理v3(app)
  18064. /Ermcp3/QryAreaExpourseFutuDetail:
  18065. get:
  18066. parameters:
  18067. - description: 用户ID
  18068. in: query
  18069. name: userid
  18070. required: true
  18071. type: integer
  18072. - description: 套保商品id
  18073. in: query
  18074. name: middlegoodsid
  18075. required: true
  18076. type: integer
  18077. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18078. in: query
  18079. name: cycletype
  18080. required: true
  18081. type: integer
  18082. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18083. 全(0)【原值】
  18084. in: query
  18085. name: cycletime
  18086. required: true
  18087. type: string
  18088. produces:
  18089. - application/json
  18090. responses:
  18091. "200":
  18092. description: OK
  18093. schema:
  18094. items:
  18095. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  18096. type: array
  18097. "500":
  18098. description: Internal Server Error
  18099. schema:
  18100. $ref: '#/definitions/app.Response'
  18101. security:
  18102. - ApiKeyAuth: []
  18103. summary: 查询敞口期货明细(敞口报表/期货明细)
  18104. tags:
  18105. - 企业风险管理v3(app)
  18106. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  18107. get:
  18108. parameters:
  18109. - description: 用户ID
  18110. in: query
  18111. name: userid
  18112. required: true
  18113. type: integer
  18114. - description: 套保商品id
  18115. in: query
  18116. name: middlegoodsid
  18117. required: true
  18118. type: integer
  18119. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18120. in: query
  18121. name: cycletype
  18122. required: true
  18123. type: integer
  18124. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18125. 全(0)【原值】
  18126. in: query
  18127. name: cycletime
  18128. required: true
  18129. type: string
  18130. produces:
  18131. - application/json
  18132. responses:
  18133. "200":
  18134. description: OK
  18135. schema:
  18136. items:
  18137. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  18138. type: array
  18139. "500":
  18140. description: Internal Server Error
  18141. schema:
  18142. $ref: '#/definitions/app.Response'
  18143. security:
  18144. - ApiKeyAuth: []
  18145. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  18146. tags:
  18147. - 企业风险管理v3(app)
  18148. /Ermcp3/QryAreaExpourseParamChLogDetail:
  18149. get:
  18150. parameters:
  18151. - description: 用户ID
  18152. in: query
  18153. name: userid
  18154. required: true
  18155. type: integer
  18156. - description: 套保商品id
  18157. in: query
  18158. name: middlegoodsid
  18159. required: true
  18160. type: integer
  18161. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18162. in: query
  18163. name: cycletype
  18164. required: true
  18165. type: integer
  18166. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18167. 全(0)【原值】
  18168. in: query
  18169. name: cycletime
  18170. required: true
  18171. type: string
  18172. produces:
  18173. - application/json
  18174. responses:
  18175. "200":
  18176. description: OK
  18177. schema:
  18178. items:
  18179. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  18180. type: array
  18181. "500":
  18182. description: Internal Server Error
  18183. schema:
  18184. $ref: '#/definitions/app.Response'
  18185. security:
  18186. - ApiKeyAuth: []
  18187. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  18188. tags:
  18189. - 企业风险管理v3(app)
  18190. /Ermcp3/QryAreaExpourseReport:
  18191. get:
  18192. parameters:
  18193. - description: 用户ID
  18194. in: query
  18195. name: userid
  18196. required: true
  18197. type: integer
  18198. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  18199. in: query
  18200. name: querytype
  18201. required: true
  18202. type: integer
  18203. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18204. in: query
  18205. name: cycletype
  18206. required: true
  18207. type: integer
  18208. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18209. 全(0)【原值】
  18210. in: query
  18211. name: cycletime
  18212. required: true
  18213. type: string
  18214. produces:
  18215. - application/json
  18216. responses:
  18217. "200":
  18218. description: OK
  18219. schema:
  18220. items:
  18221. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  18222. type: array
  18223. "500":
  18224. description: Internal Server Error
  18225. schema:
  18226. $ref: '#/definitions/app.Response'
  18227. security:
  18228. - ApiKeyAuth: []
  18229. summary: 查询敞口报表
  18230. tags:
  18231. - 企业风险管理v3(app)
  18232. /Ermcp3/QryAreaSpotplReport:
  18233. get:
  18234. parameters:
  18235. - description: 用户ID
  18236. in: query
  18237. name: userid
  18238. required: true
  18239. type: integer
  18240. - description: 查询类型 1-报表 2-报表明细
  18241. in: query
  18242. name: querytype
  18243. required: true
  18244. type: integer
  18245. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18246. in: query
  18247. name: cycletype
  18248. required: true
  18249. type: integer
  18250. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18251. 全(0)【原值】
  18252. in: query
  18253. name: cycletime
  18254. required: true
  18255. type: string
  18256. - description: 现货品种id(明细必填)
  18257. in: query
  18258. name: deliverygoodsid
  18259. type: integer
  18260. - description: 币种id(明细必填)
  18261. in: query
  18262. name: currencyid
  18263. type: integer
  18264. produces:
  18265. - application/json
  18266. responses:
  18267. "200":
  18268. description: OK
  18269. schema:
  18270. items:
  18271. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  18272. type: array
  18273. "500":
  18274. description: Internal Server Error
  18275. schema:
  18276. $ref: '#/definitions/app.Response'
  18277. security:
  18278. - ApiKeyAuth: []
  18279. summary: 查询现货报表
  18280. tags:
  18281. - 企业风险管理v3(app)
  18282. /Ermcp3/QryAreaStockReport:
  18283. get:
  18284. parameters:
  18285. - description: 用户ID
  18286. in: query
  18287. name: userid
  18288. required: true
  18289. type: integer
  18290. - description: 查询类型 1-报表 2-报表明细
  18291. in: query
  18292. name: querytype
  18293. required: true
  18294. type: integer
  18295. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18296. in: query
  18297. name: cycletype
  18298. required: true
  18299. type: integer
  18300. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18301. 全(0)【原值】
  18302. in: query
  18303. name: cycletime
  18304. required: true
  18305. type: string
  18306. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  18307. in: query
  18308. name: sumfields
  18309. type: string
  18310. - description: 品种ID
  18311. in: query
  18312. name: deliverygoodsid
  18313. type: integer
  18314. - description: 品类ID
  18315. in: query
  18316. name: wrstandardid
  18317. type: integer
  18318. - description: 品牌ID
  18319. in: query
  18320. name: spotgoodsbrandid
  18321. type: integer
  18322. - description: 仓库ID
  18323. in: query
  18324. name: warehouseinfoid
  18325. type: integer
  18326. produces:
  18327. - application/json
  18328. responses:
  18329. "200":
  18330. description: OK
  18331. schema:
  18332. items:
  18333. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  18334. type: array
  18335. "500":
  18336. description: Internal Server Error
  18337. schema:
  18338. $ref: '#/definitions/app.Response'
  18339. security:
  18340. - ApiKeyAuth: []
  18341. summary: 查询库存报表
  18342. tags:
  18343. - 企业风险管理v3(app)
  18344. /Ermcp3/QryAreaSumPL:
  18345. get:
  18346. parameters:
  18347. - description: 用户ID
  18348. in: query
  18349. name: userid
  18350. required: true
  18351. type: integer
  18352. - description: 查询类型 1-报表 2-报表明细
  18353. in: query
  18354. name: querytype
  18355. required: true
  18356. type: integer
  18357. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18358. in: query
  18359. name: cycletype
  18360. required: true
  18361. type: integer
  18362. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18363. 全(0)【原值】
  18364. in: query
  18365. name: cycletime
  18366. required: true
  18367. type: string
  18368. - description: 币种id(明细必填)
  18369. in: query
  18370. name: currencyid
  18371. type: integer
  18372. produces:
  18373. - application/json
  18374. responses:
  18375. "200":
  18376. description: OK
  18377. schema:
  18378. items:
  18379. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  18380. type: array
  18381. "500":
  18382. description: Internal Server Error
  18383. schema:
  18384. $ref: '#/definitions/app.Response'
  18385. security:
  18386. - ApiKeyAuth: []
  18387. summary: 查询汇总损益表
  18388. tags:
  18389. - 企业风险管理v3(app)
  18390. /Ermcp3/QryFinanceReport:
  18391. get:
  18392. parameters:
  18393. - description: 用户ID
  18394. in: query
  18395. name: userid
  18396. required: true
  18397. type: integer
  18398. - description: 查询类型 1-报表 2-报表明细
  18399. in: query
  18400. name: querytype
  18401. required: true
  18402. type: integer
  18403. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18404. in: query
  18405. name: cycletype
  18406. required: true
  18407. type: integer
  18408. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18409. 全(0)【原值】
  18410. in: query
  18411. name: cycletime
  18412. required: true
  18413. type: string
  18414. - description: 币种id(报表明细必填)
  18415. in: query
  18416. name: currencyid
  18417. type: integer
  18418. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  18419. in: query
  18420. name: sumfields
  18421. type: string
  18422. produces:
  18423. - application/json
  18424. responses:
  18425. "200":
  18426. description: OK
  18427. schema:
  18428. items:
  18429. $ref: '#/definitions/models.Ermcp3FinanceReport'
  18430. type: array
  18431. "500":
  18432. description: Internal Server Error
  18433. schema:
  18434. $ref: '#/definitions/app.Response'
  18435. security:
  18436. - ApiKeyAuth: []
  18437. summary: 查询财务报表
  18438. tags:
  18439. - 企业风险管理v3(app)
  18440. /Ermcp3/QryTaFutureDataReport:
  18441. get:
  18442. parameters:
  18443. - description: 用户ID
  18444. in: query
  18445. name: userid
  18446. required: true
  18447. type: integer
  18448. - description: 查询类型 1-报表 2-报表明细
  18449. in: query
  18450. name: querytype
  18451. required: true
  18452. type: integer
  18453. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18454. in: query
  18455. name: cycletype
  18456. required: true
  18457. type: integer
  18458. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18459. 全(0)【原值】
  18460. in: query
  18461. name: cycletime
  18462. required: true
  18463. type: string
  18464. - description: 币种id(查明细必填)
  18465. in: query
  18466. name: currencyid
  18467. type: integer
  18468. - description: 品种id(查明细必填)
  18469. in: query
  18470. name: goodsgroupid
  18471. type: integer
  18472. - description: 商品id(查明细必填)
  18473. in: query
  18474. name: goodsid
  18475. type: integer
  18476. - description: 买卖方向(查明细必填)
  18477. in: query
  18478. name: buyorsell
  18479. type: integer
  18480. produces:
  18481. - application/json
  18482. responses:
  18483. "200":
  18484. description: OK
  18485. schema:
  18486. items:
  18487. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  18488. type: array
  18489. "500":
  18490. description: Internal Server Error
  18491. schema:
  18492. $ref: '#/definitions/app.Response'
  18493. security:
  18494. - ApiKeyAuth: []
  18495. summary: 查询期货报表
  18496. tags:
  18497. - 企业风险管理v3(app)
  18498. /Ermcp3/QueryAreaStock:
  18499. get:
  18500. parameters:
  18501. - description: 用户ID
  18502. in: query
  18503. name: userid
  18504. required: true
  18505. type: integer
  18506. produces:
  18507. - application/json
  18508. responses:
  18509. "200":
  18510. description: OK
  18511. schema:
  18512. items:
  18513. $ref: '#/definitions/models.Ermcp3AreaStock'
  18514. type: array
  18515. "500":
  18516. description: Internal Server Error
  18517. schema:
  18518. $ref: '#/definitions/app.Response'
  18519. security:
  18520. - ApiKeyAuth: []
  18521. summary: 查询机构库存(库存管理/当前库存)
  18522. tags:
  18523. - 企业风险管理v3(app)
  18524. /Ermcp3/QueryAreaStockApply:
  18525. get:
  18526. parameters:
  18527. - description: 用户ID
  18528. in: query
  18529. name: userid
  18530. required: true
  18531. type: integer
  18532. - description: 用户类型 2-机构 7-企业成员
  18533. in: query
  18534. name: usertype
  18535. type: integer
  18536. - description: 现货商品ID
  18537. in: query
  18538. name: deliverygoodsid
  18539. type: integer
  18540. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  18541. in: query
  18542. name: inouttype
  18543. type: string
  18544. - description: 合同ID
  18545. in: query
  18546. name: spotcontractid
  18547. type: integer
  18548. - description: 品类ID
  18549. in: query
  18550. name: wrstandardid
  18551. type: integer
  18552. - description: 品牌ID
  18553. in: query
  18554. name: spotgoodsbrandid
  18555. type: integer
  18556. - description: 仓库ID
  18557. in: query
  18558. name: warehouseinfoid
  18559. type: integer
  18560. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18561. in: query
  18562. name: applystatus
  18563. type: string
  18564. produces:
  18565. - application/json
  18566. responses:
  18567. "200":
  18568. description: OK
  18569. schema:
  18570. items:
  18571. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  18572. type: array
  18573. "500":
  18574. description: Internal Server Error
  18575. schema:
  18576. $ref: '#/definitions/app.Response'
  18577. security:
  18578. - ApiKeyAuth: []
  18579. summary: 查询库存申请(出入库记录|库存审核)
  18580. tags:
  18581. - 企业风险管理v3(app)
  18582. /Ermcp3/QueryAreaStockApplySum:
  18583. get:
  18584. parameters:
  18585. - description: 合同ID
  18586. in: query
  18587. name: spotcontractid
  18588. required: true
  18589. type: integer
  18590. produces:
  18591. - application/json
  18592. responses:
  18593. "200":
  18594. description: OK
  18595. schema:
  18596. items:
  18597. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  18598. type: array
  18599. "500":
  18600. description: Internal Server Error
  18601. schema:
  18602. $ref: '#/definitions/app.Response'
  18603. security:
  18604. - ApiKeyAuth: []
  18605. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  18606. tags:
  18607. - 企业风险管理v3(app)
  18608. /Ermcp3/QueryDGFactoryItem:
  18609. get:
  18610. parameters:
  18611. - description: 用户id
  18612. in: query
  18613. name: userid
  18614. type: integer
  18615. - description: 用户类型 2-机构 7-企业成员
  18616. in: query
  18617. name: usertype
  18618. type: integer
  18619. - description: 选择项ID(SEQ_DGFACTORYITEM)
  18620. in: query
  18621. name: dgfactoryitemid
  18622. type: integer
  18623. - description: 现货品种ID
  18624. in: query
  18625. name: deliverygoodsid
  18626. type: integer
  18627. - description: 要素项类型
  18628. in: query
  18629. name: dgfactoryitemtypeid
  18630. type: integer
  18631. - description: 顺序
  18632. in: query
  18633. name: orderindex
  18634. type: integer
  18635. produces:
  18636. - application/json
  18637. responses:
  18638. "200":
  18639. description: OK
  18640. schema:
  18641. items:
  18642. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  18643. type: array
  18644. "500":
  18645. description: Internal Server Error
  18646. schema:
  18647. $ref: '#/definitions/app.Response'
  18648. security:
  18649. - ApiKeyAuth: []
  18650. summary: 查询品种要素定义项
  18651. tags:
  18652. - 企业风险管理v3(app)
  18653. /Ermcp3/QueryDeliveryGoods:
  18654. get:
  18655. parameters:
  18656. - description: 用户id
  18657. in: query
  18658. name: userid
  18659. required: true
  18660. type: integer
  18661. - description: 用户类型 2-机构 7-企业成员
  18662. in: query
  18663. name: usertype
  18664. type: integer
  18665. - description: 排除已配置的业务类型商品 1-套保 2-套利
  18666. in: query
  18667. name: excludecfg
  18668. type: integer
  18669. produces:
  18670. - application/json
  18671. responses:
  18672. "200":
  18673. description: OK
  18674. schema:
  18675. items:
  18676. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  18677. type: array
  18678. "500":
  18679. description: Internal Server Error
  18680. schema:
  18681. $ref: '#/definitions/app.Response'
  18682. security:
  18683. - ApiKeyAuth: []
  18684. summary: 查询现货商品
  18685. tags:
  18686. - 企业风险管理v3(app)
  18687. /Ermcp3/QueryDeliveryGoodsDetail:
  18688. get:
  18689. parameters:
  18690. - description: 用户id
  18691. in: query
  18692. name: userid
  18693. required: true
  18694. type: integer
  18695. - description: 用户类型 2-机构 7-企业成员
  18696. in: query
  18697. name: usertype
  18698. type: integer
  18699. - description: 现货商品id
  18700. in: query
  18701. name: deliverygoodsid
  18702. type: integer
  18703. produces:
  18704. - application/json
  18705. responses:
  18706. "200":
  18707. description: OK
  18708. schema:
  18709. items:
  18710. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  18711. type: array
  18712. "500":
  18713. description: Internal Server Error
  18714. schema:
  18715. $ref: '#/definitions/app.Response'
  18716. security:
  18717. - ApiKeyAuth: []
  18718. summary: 查询现货商品详情
  18719. tags:
  18720. - 企业风险管理v3(app)
  18721. /Ermcp3/QueryExposureDetail:
  18722. get:
  18723. parameters:
  18724. - description: 用户id
  18725. in: query
  18726. name: userid
  18727. required: true
  18728. type: integer
  18729. - description: 用户类型 2-机构 7-企业成员
  18730. in: query
  18731. name: usertype
  18732. type: integer
  18733. - description: 套保商品
  18734. in: query
  18735. name: middlegoodsid
  18736. required: true
  18737. type: integer
  18738. produces:
  18739. - application/json
  18740. responses:
  18741. "200":
  18742. description: OK
  18743. schema:
  18744. items:
  18745. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  18746. type: array
  18747. "500":
  18748. description: Internal Server Error
  18749. schema:
  18750. $ref: '#/definitions/app.Response'
  18751. security:
  18752. - ApiKeyAuth: []
  18753. summary: 查询敞口现货明细
  18754. tags:
  18755. - 企业风险管理v3(app)
  18756. /Ermcp3/QueryExposureSpot:
  18757. get:
  18758. parameters:
  18759. - description: 用户id
  18760. in: query
  18761. name: userid
  18762. required: true
  18763. type: integer
  18764. - description: 用户类型 2-机构 7-企业成员
  18765. in: query
  18766. name: usertype
  18767. type: integer
  18768. produces:
  18769. - application/json
  18770. responses:
  18771. "200":
  18772. description: OK
  18773. schema:
  18774. items:
  18775. $ref: '#/definitions/models.Ermcp3AreaSpot'
  18776. type: array
  18777. "500":
  18778. description: Internal Server Error
  18779. schema:
  18780. $ref: '#/definitions/app.Response'
  18781. security:
  18782. - ApiKeyAuth: []
  18783. summary: 查询敞口现货头寸(敞口/现货头寸)
  18784. tags:
  18785. - 企业风险管理v3(app)
  18786. /Ermcp3/QueryExposureSpotDetail:
  18787. get:
  18788. parameters:
  18789. - description: 用户id
  18790. in: query
  18791. name: userid
  18792. required: true
  18793. type: integer
  18794. - description: 用户类型 2-机构 7-企业成员
  18795. in: query
  18796. name: usertype
  18797. type: integer
  18798. - description: 现货品种ID
  18799. in: query
  18800. name: deliverygoodsid
  18801. required: true
  18802. type: integer
  18803. produces:
  18804. - application/json
  18805. responses:
  18806. "200":
  18807. description: OK
  18808. schema:
  18809. items:
  18810. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  18811. type: array
  18812. "500":
  18813. description: Internal Server Error
  18814. schema:
  18815. $ref: '#/definitions/app.Response'
  18816. security:
  18817. - ApiKeyAuth: []
  18818. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18819. tags:
  18820. - 企业风险管理v3(app)
  18821. /Ermcp3/QueryGoodsGroup:
  18822. get:
  18823. parameters:
  18824. - description: 用户id
  18825. in: query
  18826. name: userid
  18827. required: true
  18828. type: integer
  18829. - description: 用户类型 2-机构 7-企业成员
  18830. in: query
  18831. name: usertype
  18832. type: integer
  18833. - description: 排除套保品中已关联的商品组 1-排除
  18834. in: query
  18835. name: excludecfg
  18836. type: integer
  18837. produces:
  18838. - application/json
  18839. responses:
  18840. "200":
  18841. description: OK
  18842. schema:
  18843. items:
  18844. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  18845. type: array
  18846. "500":
  18847. description: Internal Server Error
  18848. schema:
  18849. $ref: '#/definitions/app.Response'
  18850. security:
  18851. - ApiKeyAuth: []
  18852. summary: 查询期货商品组
  18853. tags:
  18854. - 企业风险管理v3(app)
  18855. /Ermcp3/QueryGoodsWrstandard:
  18856. get:
  18857. parameters:
  18858. - description: 用户id
  18859. in: query
  18860. name: userid
  18861. required: true
  18862. type: integer
  18863. - description: 用户类型 2-机构 7-企业成员
  18864. in: query
  18865. name: usertype
  18866. type: integer
  18867. - description: 现货商品id
  18868. in: query
  18869. name: deliverygoodsid
  18870. type: integer
  18871. produces:
  18872. - application/json
  18873. responses:
  18874. "200":
  18875. description: OK
  18876. schema:
  18877. items:
  18878. $ref: '#/definitions/models.Ermcp3Wrstandard'
  18879. type: array
  18880. "500":
  18881. description: Internal Server Error
  18882. schema:
  18883. $ref: '#/definitions/app.Response'
  18884. security:
  18885. - ApiKeyAuth: []
  18886. summary: 查询商品品类
  18887. tags:
  18888. - 企业风险管理v3(app)
  18889. /Ermcp3/QueryGoodsbrand:
  18890. get:
  18891. parameters:
  18892. - description: 用户id
  18893. in: query
  18894. name: userid
  18895. required: true
  18896. type: integer
  18897. - description: 用户类型 2-机构 7-企业成员
  18898. in: query
  18899. name: usertype
  18900. type: integer
  18901. produces:
  18902. - application/json
  18903. responses:
  18904. "200":
  18905. description: OK
  18906. schema:
  18907. items:
  18908. $ref: '#/definitions/models.Ermcp3Brand'
  18909. type: array
  18910. "500":
  18911. description: Internal Server Error
  18912. schema:
  18913. $ref: '#/definitions/app.Response'
  18914. security:
  18915. - ApiKeyAuth: []
  18916. summary: 查询商品品牌
  18917. tags:
  18918. - 企业风险管理v3(app)
  18919. /Ermcp3/QueryHedgePlan:
  18920. get:
  18921. parameters:
  18922. - description: 用户ID
  18923. in: query
  18924. name: userid
  18925. required: true
  18926. type: integer
  18927. - description: 用户类型 2-机构 7-企业成员
  18928. in: query
  18929. name: usertype
  18930. type: integer
  18931. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  18932. in: query
  18933. name: hedgeplanstatus
  18934. required: true
  18935. type: string
  18936. produces:
  18937. - application/json
  18938. responses:
  18939. "200":
  18940. description: OK
  18941. schema:
  18942. items:
  18943. $ref: '#/definitions/models.Ermcp3HedgePlan'
  18944. type: array
  18945. "500":
  18946. description: Internal Server Error
  18947. schema:
  18948. $ref: '#/definitions/app.Response'
  18949. security:
  18950. - ApiKeyAuth: []
  18951. summary: 查询套保计划
  18952. tags:
  18953. - 企业风险管理v3(app)
  18954. /Ermcp3/QueryMiddleGoodsDetail:
  18955. get:
  18956. parameters:
  18957. - description: 用户id
  18958. in: query
  18959. name: userid
  18960. required: true
  18961. type: integer
  18962. - description: 用户类型 2-机构 7-企业成员
  18963. in: query
  18964. name: usertype
  18965. type: integer
  18966. - description: 套保品种id
  18967. in: query
  18968. name: middlegoodsid
  18969. type: integer
  18970. produces:
  18971. - application/json
  18972. responses:
  18973. "200":
  18974. description: OK
  18975. schema:
  18976. items:
  18977. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  18978. type: array
  18979. "500":
  18980. description: Internal Server Error
  18981. schema:
  18982. $ref: '#/definitions/app.Response'
  18983. security:
  18984. - ApiKeyAuth: []
  18985. summary: 查询套保品种详情(套保品种/商品详情)
  18986. tags:
  18987. - 企业风险管理v3(app)
  18988. /Ermcp3/QueryRootUserAccount:
  18989. get:
  18990. parameters:
  18991. - description: 用户ID
  18992. in: query
  18993. name: userid
  18994. required: true
  18995. type: integer
  18996. produces:
  18997. - application/json
  18998. responses:
  18999. "200":
  19000. description: OK
  19001. schema:
  19002. items:
  19003. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  19004. type: array
  19005. "500":
  19006. description: Internal Server Error
  19007. schema:
  19008. $ref: '#/definitions/app.Response'
  19009. security:
  19010. - ApiKeyAuth: []
  19011. summary: 查询顶级用户信息
  19012. tags:
  19013. - 企业风险管理v3(app)
  19014. /Ermcp3/QuerySpotContract:
  19015. get:
  19016. parameters:
  19017. - description: 用户id
  19018. in: query
  19019. name: userid
  19020. required: true
  19021. type: integer
  19022. - description: 用户类型 2-机构 7-企业成员
  19023. in: query
  19024. name: usertype
  19025. type: integer
  19026. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  19027. in: query
  19028. name: querytype
  19029. required: true
  19030. type: integer
  19031. - description: 合同ID(SpotContractId)
  19032. in: query
  19033. name: contractid
  19034. type: string
  19035. produces:
  19036. - application/json
  19037. responses:
  19038. "200":
  19039. description: OK
  19040. schema:
  19041. items:
  19042. $ref: '#/definitions/models.Ermcp3Contract'
  19043. type: array
  19044. "500":
  19045. description: Internal Server Error
  19046. schema:
  19047. $ref: '#/definitions/app.Response'
  19048. security:
  19049. - ApiKeyAuth: []
  19050. summary: 查询现货合同
  19051. tags:
  19052. - 企业风险管理v3(app)
  19053. /Ermcp3/QuerySpotContractBS:
  19054. get:
  19055. parameters:
  19056. - description: 用户id
  19057. in: query
  19058. name: userid
  19059. required: true
  19060. type: integer
  19061. - description: 用户类型 2-机构 7-企业成员
  19062. in: query
  19063. name: usertype
  19064. type: integer
  19065. - description: 合同类型 1-采购, -1-销售
  19066. in: query
  19067. name: contracttype
  19068. required: true
  19069. type: integer
  19070. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  19071. in: query
  19072. name: querytype
  19073. required: true
  19074. type: integer
  19075. - description: 合同ID(SpotContractId)
  19076. in: query
  19077. name: contractid
  19078. type: string
  19079. produces:
  19080. - application/json
  19081. responses:
  19082. "200":
  19083. description: OK
  19084. schema:
  19085. items:
  19086. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  19087. type: array
  19088. "500":
  19089. description: Internal Server Error
  19090. schema:
  19091. $ref: '#/definitions/app.Response'
  19092. security:
  19093. - ApiKeyAuth: []
  19094. summary: 查询合同(采购/销售)
  19095. tags:
  19096. - 企业风险管理v3(app)
  19097. /Ermcp3/QuerySpotGoodsPrice:
  19098. get:
  19099. parameters:
  19100. - description: 用户ID
  19101. in: query
  19102. name: userid
  19103. required: true
  19104. type: integer
  19105. produces:
  19106. - application/json
  19107. responses:
  19108. "200":
  19109. description: OK
  19110. schema:
  19111. items:
  19112. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  19113. type: array
  19114. "500":
  19115. description: Internal Server Error
  19116. schema:
  19117. $ref: '#/definitions/app.Response'
  19118. security:
  19119. - ApiKeyAuth: []
  19120. summary: 查询现货市价(现货市价)
  19121. tags:
  19122. - 企业风险管理v3(app)
  19123. /Ermcp3/QuerySpotGoodsPriceLog:
  19124. get:
  19125. parameters:
  19126. - description: 用户ID
  19127. in: query
  19128. name: userid
  19129. required: true
  19130. type: integer
  19131. - description: 现货商品ID
  19132. in: query
  19133. name: deliverygoodsid
  19134. required: true
  19135. type: integer
  19136. - description: 品牌ID
  19137. in: query
  19138. name: brandid
  19139. type: integer
  19140. - description: 品类ID
  19141. in: query
  19142. name: wrstandardid
  19143. type: integer
  19144. produces:
  19145. - application/json
  19146. responses:
  19147. "200":
  19148. description: OK
  19149. schema:
  19150. items:
  19151. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  19152. type: array
  19153. "500":
  19154. description: Internal Server Error
  19155. schema:
  19156. $ref: '#/definitions/app.Response'
  19157. security:
  19158. - ApiKeyAuth: []
  19159. summary: 查询现货市价详情(现货市价/详情)
  19160. tags:
  19161. - 企业风险管理v3(app)
  19162. /Erms2/QueryArbitrageStrategy:
  19163. get:
  19164. parameters:
  19165. - description: 账户ID
  19166. in: query
  19167. name: userid
  19168. required: true
  19169. type: integer
  19170. - description: 商品组ID(品种ID)
  19171. in: query
  19172. name: goodsgroupid
  19173. type: string
  19174. produces:
  19175. - application/json
  19176. responses:
  19177. "200":
  19178. description: OK
  19179. schema:
  19180. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  19181. "500":
  19182. description: Internal Server Error
  19183. schema:
  19184. $ref: '#/definitions/app.Response'
  19185. security:
  19186. - ApiKeyAuth: []
  19187. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  19188. tags:
  19189. - 风险管理
  19190. /Erms2/QueryInnerTradeDetail:
  19191. get:
  19192. parameters:
  19193. - description: 资金账户
  19194. in: query
  19195. name: accountid
  19196. required: true
  19197. type: integer
  19198. produces:
  19199. - application/json
  19200. responses:
  19201. "200":
  19202. description: OK
  19203. schema:
  19204. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  19205. "500":
  19206. description: Internal Server Error
  19207. schema:
  19208. $ref: '#/definitions/app.Response'
  19209. security:
  19210. - ApiKeyAuth: []
  19211. summary: 查询内部成交单信息
  19212. tags:
  19213. - 风险管理
  19214. /Erms2/QuerySpotContract:
  19215. get:
  19216. parameters:
  19217. - description: 策略申请ID
  19218. in: query
  19219. name: asapplyid
  19220. required: true
  19221. type: integer
  19222. - description: 现货合同ID
  19223. in: query
  19224. name: spotcontractid
  19225. type: integer
  19226. produces:
  19227. - application/json
  19228. responses:
  19229. "200":
  19230. description: OK
  19231. schema:
  19232. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  19233. "500":
  19234. description: Internal Server Error
  19235. schema:
  19236. $ref: '#/definitions/app.Response'
  19237. security:
  19238. - ApiKeyAuth: []
  19239. summary: 查询现货合同表信息(指定策略ID、未结束的)
  19240. tags:
  19241. - 风险管理
  19242. /Erms3/AddErms2ASApply:
  19243. post:
  19244. parameters:
  19245. - description: 申请参数
  19246. in: body
  19247. name: jsonBody
  19248. required: true
  19249. schema:
  19250. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  19251. produces:
  19252. - application/json
  19253. responses:
  19254. "200":
  19255. description: OK
  19256. schema:
  19257. $ref: '#/definitions/app.Response'
  19258. "500":
  19259. description: Internal Server Error
  19260. schema:
  19261. $ref: '#/definitions/app.Response'
  19262. security:
  19263. - ApiKeyAuth: []
  19264. summary: 新增期现套利业务申请
  19265. tags:
  19266. - 风险管理v3
  19267. /Erms3/AddErms2SpotTradeApply:
  19268. post:
  19269. parameters:
  19270. - description: 申请参数
  19271. in: body
  19272. name: jsonBody
  19273. required: true
  19274. schema:
  19275. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  19276. produces:
  19277. - application/json
  19278. responses:
  19279. "200":
  19280. description: OK
  19281. schema:
  19282. $ref: '#/definitions/app.Response'
  19283. "500":
  19284. description: Internal Server Error
  19285. schema:
  19286. $ref: '#/definitions/app.Response'
  19287. security:
  19288. - ApiKeyAuth: []
  19289. summary: 新增现货贸易业务申请
  19290. tags:
  19291. - 风险管理v3
  19292. /Erms3/AddSpotContractApply:
  19293. post:
  19294. parameters:
  19295. - description: 申请参数
  19296. in: body
  19297. name: jsonBody
  19298. required: true
  19299. schema:
  19300. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  19301. produces:
  19302. - application/json
  19303. responses:
  19304. "200":
  19305. description: OK
  19306. schema:
  19307. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  19308. "500":
  19309. description: Internal Server Error
  19310. schema:
  19311. $ref: '#/definitions/app.Response'
  19312. security:
  19313. - ApiKeyAuth: []
  19314. summary: 新增现货合同申请
  19315. tags:
  19316. - 风险管理v3
  19317. /Erms3/AddUserInfoApply:
  19318. post:
  19319. parameters:
  19320. - description: 用户信息
  19321. in: body
  19322. name: jsonBody
  19323. required: true
  19324. schema:
  19325. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  19326. produces:
  19327. - application/json
  19328. responses:
  19329. "200":
  19330. description: OK
  19331. schema:
  19332. $ref: '#/definitions/app.Response'
  19333. "500":
  19334. description: Internal Server Error
  19335. schema:
  19336. $ref: '#/definitions/app.Response'
  19337. security:
  19338. - ApiKeyAuth: []
  19339. summary: 新增客户申请
  19340. tags:
  19341. - 风险管理v3
  19342. /Erms3/DeleteUserInfoApply:
  19343. get:
  19344. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  19345. parameters:
  19346. - description: 用户ID
  19347. in: query
  19348. name: userID
  19349. required: true
  19350. type: integer
  19351. produces:
  19352. - application/json
  19353. responses:
  19354. "200":
  19355. description: OK
  19356. schema:
  19357. $ref: '#/definitions/app.Response'
  19358. "500":
  19359. description: Internal Server Error
  19360. schema:
  19361. $ref: '#/definitions/app.Response'
  19362. security:
  19363. - ApiKeyAuth: []
  19364. summary: 删除客户申请
  19365. tags:
  19366. - 风险管理v3
  19367. /Erms3/ModifyUserInfoApply:
  19368. post:
  19369. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  19370. int, "userstate": 2 }'
  19371. parameters:
  19372. - description: 用户信息
  19373. in: body
  19374. name: jsonBody
  19375. required: true
  19376. schema:
  19377. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  19378. produces:
  19379. - application/json
  19380. responses:
  19381. "200":
  19382. description: OK
  19383. schema:
  19384. $ref: '#/definitions/app.Response'
  19385. "500":
  19386. description: Internal Server Error
  19387. schema:
  19388. $ref: '#/definitions/app.Response'
  19389. security:
  19390. - ApiKeyAuth: []
  19391. summary: 修改客户申请
  19392. tags:
  19393. - 风险管理v3
  19394. /Erms3/QueryBusinessInfo:
  19395. get:
  19396. parameters:
  19397. - description: 资金账号ID列表,用逗号分隔
  19398. in: query
  19399. name: accountids
  19400. required: true
  19401. type: string
  19402. - description: 状态,0为未结束 1为已结束
  19403. in: query
  19404. name: status
  19405. required: true
  19406. type: integer
  19407. produces:
  19408. - application/json
  19409. responses:
  19410. "200":
  19411. description: OK
  19412. schema:
  19413. items:
  19414. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  19415. type: array
  19416. "500":
  19417. description: Internal Server Error
  19418. schema:
  19419. $ref: '#/definitions/app.Response'
  19420. security:
  19421. - ApiKeyAuth: []
  19422. summary: 查询业务表单数据
  19423. tags:
  19424. - 风险管理v3
  19425. /Erms3/QueryPendingAuditContract:
  19426. get:
  19427. parameters:
  19428. - description: 资金账号ID列表,逗号隔开
  19429. in: query
  19430. name: accountids
  19431. required: true
  19432. type: string
  19433. - description: 合同类型 1-采购 -1-销售
  19434. in: query
  19435. name: contracttype
  19436. required: true
  19437. type: integer
  19438. - description: 合同模式 1-普通 2-回购
  19439. in: query
  19440. name: contractmode
  19441. required: true
  19442. type: integer
  19443. produces:
  19444. - application/json
  19445. responses:
  19446. "200":
  19447. description: OK
  19448. schema:
  19449. items:
  19450. $ref: '#/definitions/erms3.QryAuditContractRsp'
  19451. type: array
  19452. "500":
  19453. description: Internal Server Error
  19454. schema:
  19455. $ref: '#/definitions/app.Response'
  19456. security:
  19457. - ApiKeyAuth: []
  19458. summary: 查询待审核合同
  19459. tags:
  19460. - 风险管理v3
  19461. /Erms3/QueryPendingBusiness:
  19462. get:
  19463. parameters:
  19464. - description: 资金账号ID列表,逗号隔开
  19465. in: query
  19466. name: accountids
  19467. required: true
  19468. type: string
  19469. produces:
  19470. - application/json
  19471. responses:
  19472. "200":
  19473. description: OK
  19474. schema:
  19475. items:
  19476. $ref: '#/definitions/erms3.QryPendingBizRsp'
  19477. type: array
  19478. "500":
  19479. description: Internal Server Error
  19480. schema:
  19481. $ref: '#/definitions/app.Response'
  19482. security:
  19483. - ApiKeyAuth: []
  19484. summary: 查询待审核基差贸易业务
  19485. tags:
  19486. - 风险管理v3
  19487. /Erms3/QuerySpotContractAppleForm:
  19488. get:
  19489. parameters:
  19490. - description: 登录账号
  19491. in: query
  19492. name: loginID
  19493. required: true
  19494. type: integer
  19495. produces:
  19496. - application/json
  19497. responses:
  19498. "200":
  19499. description: OK
  19500. schema:
  19501. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  19502. "500":
  19503. description: Internal Server Error
  19504. schema:
  19505. $ref: '#/definitions/app.Response'
  19506. security:
  19507. - ApiKeyAuth: []
  19508. summary: 查询合同申请表单数据
  19509. tags:
  19510. - 风险管理v3
  19511. /Erms3/QuerySpotContractDetail:
  19512. get:
  19513. parameters:
  19514. - description: 资金账号ID列表,用逗号分隔
  19515. in: query
  19516. name: accountids
  19517. required: true
  19518. type: string
  19519. - description: 合同类型,1为采购合同 -1为销售合同
  19520. in: query
  19521. name: contracttype
  19522. required: true
  19523. type: integer
  19524. - description: 合同模式,1为普通合同 2为回购销售合同
  19525. in: query
  19526. name: contractmode
  19527. required: true
  19528. type: integer
  19529. - description: 状态,0为履约中 1为已完成
  19530. in: query
  19531. name: status
  19532. required: true
  19533. type: integer
  19534. produces:
  19535. - application/json
  19536. responses:
  19537. "200":
  19538. description: OK
  19539. schema:
  19540. items:
  19541. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  19542. type: array
  19543. "500":
  19544. description: Internal Server Error
  19545. schema:
  19546. $ref: '#/definitions/app.Response'
  19547. security:
  19548. - ApiKeyAuth: []
  19549. summary: 查询合同详细信息
  19550. tags:
  19551. - 风险管理v3
  19552. /Erms3/QueryUserInfoApplies:
  19553. get:
  19554. parameters:
  19555. - description: 页码
  19556. in: query
  19557. name: page
  19558. type: integer
  19559. - description: 每页条数
  19560. in: query
  19561. name: pagesize
  19562. type: integer
  19563. - description: 客户名称,支持模糊查询
  19564. in: query
  19565. name: userName
  19566. type: string
  19567. produces:
  19568. - application/json
  19569. responses:
  19570. "200":
  19571. description: OK
  19572. schema:
  19573. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  19574. "500":
  19575. description: Internal Server Error
  19576. schema:
  19577. $ref: '#/definitions/app.Response'
  19578. security:
  19579. - ApiKeyAuth: []
  19580. summary: 客户申请信息查询
  19581. tags:
  19582. - 风险管理v3
  19583. /Erms3/QueryUserInfos:
  19584. get:
  19585. parameters:
  19586. - description: 页码
  19587. in: query
  19588. name: page
  19589. type: integer
  19590. - description: 每页条数
  19591. in: query
  19592. name: pagesize
  19593. type: integer
  19594. - description: 客户名称,支持模糊查询
  19595. in: query
  19596. name: userName
  19597. type: string
  19598. produces:
  19599. - application/json
  19600. responses:
  19601. "200":
  19602. description: OK
  19603. schema:
  19604. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  19605. "500":
  19606. description: Internal Server Error
  19607. schema:
  19608. $ref: '#/definitions/app.Response'
  19609. security:
  19610. - ApiKeyAuth: []
  19611. summary: 客户信息查询
  19612. tags:
  19613. - 风险管理v3
  19614. /HSBY/GetHsbyMyCount:
  19615. get:
  19616. description: 说明: 不包括已完成的数量。
  19617. parameters:
  19618. - description: 资金账户列表,格式:1,2,3
  19619. in: query
  19620. name: accountIDs
  19621. required: true
  19622. type: string
  19623. produces:
  19624. - application/json
  19625. responses:
  19626. "200":
  19627. description: OK
  19628. schema:
  19629. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  19630. "500":
  19631. description: Internal Server Error
  19632. schema:
  19633. $ref: '#/definitions/app.Response'
  19634. security:
  19635. - ApiKeyAuth: []
  19636. summary: 获取我的订单与包裹数量
  19637. tags:
  19638. - 定制【海商报业】
  19639. /HSBY/QueryClientFixedADConfigs:
  19640. get:
  19641. produces:
  19642. - application/json
  19643. responses:
  19644. "200":
  19645. description: OK
  19646. schema:
  19647. $ref: '#/definitions/models.Clientfixedadconfig'
  19648. "500":
  19649. description: Internal Server Error
  19650. schema:
  19651. $ref: '#/definitions/app.Response'
  19652. security:
  19653. - ApiKeyAuth: []
  19654. summary: 获取终端固定广告配置
  19655. tags:
  19656. - 定制【海商报业】
  19657. /HSBY/QueryHsbyBuyMyTradeDetail:
  19658. get:
  19659. parameters:
  19660. - description: 页码
  19661. in: query
  19662. name: page
  19663. type: integer
  19664. - description: 每页条数
  19665. in: query
  19666. name: pagesize
  19667. type: integer
  19668. - description: 资金账户列表,格式:1,2,3
  19669. in: query
  19670. name: accountIDs
  19671. required: true
  19672. type: string
  19673. produces:
  19674. - application/json
  19675. responses:
  19676. "200":
  19677. description: OK
  19678. schema:
  19679. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  19680. "500":
  19681. description: Internal Server Error
  19682. schema:
  19683. $ref: '#/definitions/app.Response'
  19684. security:
  19685. - ApiKeyAuth: []
  19686. summary: 查询"我的订单 - 已完成"单据信息
  19687. tags:
  19688. - 定制【海商报业】
  19689. /HSBY/QueryHsbyGoodsOrderDetails:
  19690. get:
  19691. description: 说明:查询结果已按委托价格和委托时间排序
  19692. parameters:
  19693. - description: 商品ID
  19694. in: query
  19695. name: goodsID
  19696. required: true
  19697. type: integer
  19698. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  19699. in: query
  19700. name: accountIDs
  19701. type: string
  19702. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  19703. in: query
  19704. name: buyOrSell
  19705. type: integer
  19706. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  19707. in: query
  19708. name: price
  19709. type: number
  19710. - description: 档位,不传则默认为3档
  19711. in: query
  19712. name: speed
  19713. type: integer
  19714. produces:
  19715. - application/json
  19716. responses:
  19717. "200":
  19718. description: OK
  19719. schema:
  19720. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  19721. "500":
  19722. description: Internal Server Error
  19723. schema:
  19724. $ref: '#/definitions/app.Response'
  19725. security:
  19726. - ApiKeyAuth: []
  19727. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  19728. tags:
  19729. - 定制【海商报业】
  19730. /HSBY/QueryHsbyListingGoodsDetail:
  19731. get:
  19732. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  19733. parameters:
  19734. - description: 商品ID
  19735. in: query
  19736. name: goodsID
  19737. required: true
  19738. type: integer
  19739. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  19740. in: query
  19741. name: accountID
  19742. type: integer
  19743. produces:
  19744. - application/json
  19745. responses:
  19746. "200":
  19747. description: OK
  19748. schema:
  19749. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  19750. "500":
  19751. description: Internal Server Error
  19752. schema:
  19753. $ref: '#/definitions/app.Response'
  19754. security:
  19755. - ApiKeyAuth: []
  19756. summary: 查询二级市场(挂牌点选)商品信息详情
  19757. tags:
  19758. - 定制【海商报业】
  19759. /HSBY/QueryHsbyMarketGoodsDetail:
  19760. get:
  19761. parameters:
  19762. - description: 委托单号
  19763. in: query
  19764. name: orderID
  19765. required: true
  19766. type: integer
  19767. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  19768. in: query
  19769. name: accountID
  19770. type: integer
  19771. produces:
  19772. - application/json
  19773. responses:
  19774. "200":
  19775. description: OK
  19776. schema:
  19777. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  19778. "500":
  19779. description: Internal Server Error
  19780. schema:
  19781. $ref: '#/definitions/app.Response'
  19782. security:
  19783. - ApiKeyAuth: []
  19784. summary: 查询三级市场(商城)商品信息详情
  19785. tags:
  19786. - 定制【海商报业】
  19787. /HSBY/QueryHsbyMarketGoodses:
  19788. get:
  19789. parameters:
  19790. - description: 页码
  19791. in: query
  19792. name: page
  19793. type: integer
  19794. - description: 每页条数
  19795. in: query
  19796. name: pagesize
  19797. type: integer
  19798. - description: 市场ID列表,格式:1,2,3
  19799. in: query
  19800. name: marketIDs
  19801. required: true
  19802. type: string
  19803. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  19804. in: query
  19805. name: accountID
  19806. required: true
  19807. type: integer
  19808. - description: 类别ID
  19809. in: query
  19810. name: categoryID
  19811. type: integer
  19812. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  19813. in: query
  19814. name: goodsIDs
  19815. type: string
  19816. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  19817. in: query
  19818. name: couponTypeID
  19819. type: integer
  19820. produces:
  19821. - application/json
  19822. responses:
  19823. "200":
  19824. description: OK
  19825. schema:
  19826. $ref: '#/definitions/models.HsbyMarketGoods'
  19827. "500":
  19828. description: Internal Server Error
  19829. schema:
  19830. $ref: '#/definitions/app.Response'
  19831. security:
  19832. - ApiKeyAuth: []
  19833. summary: 查询特卖商品列表(三级商城)
  19834. tags:
  19835. - 定制【海商报业】
  19836. /HSBY/QueryHsbyMarkets:
  19837. get:
  19838. produces:
  19839. - application/json
  19840. responses:
  19841. "200":
  19842. description: OK
  19843. schema:
  19844. $ref: '#/definitions/models.HsbyMarketInfo'
  19845. "500":
  19846. description: Internal Server Error
  19847. schema:
  19848. $ref: '#/definitions/app.Response'
  19849. security:
  19850. - ApiKeyAuth: []
  19851. summary: 查询海商报业相关市场信息
  19852. tags:
  19853. - 定制【海商报业】
  19854. /HSBY/QueryHsbyMyBuyOrderDetails:
  19855. get:
  19856. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  19857. parameters:
  19858. - description: 资金账户列表,格式:1,2,3
  19859. in: query
  19860. name: accountIDs
  19861. required: true
  19862. type: string
  19863. produces:
  19864. - application/json
  19865. responses:
  19866. "200":
  19867. description: OK
  19868. schema:
  19869. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  19870. "500":
  19871. description: Internal Server Error
  19872. schema:
  19873. $ref: '#/definitions/app.Response'
  19874. security:
  19875. - ApiKeyAuth: []
  19876. summary: 查询“我的订单”信息
  19877. tags:
  19878. - 定制【海商报业】
  19879. /HSBY/QueryHsbyMyGoods:
  19880. get:
  19881. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  19882. parameters:
  19883. - description: 资金账户列表,格式:1,2,3
  19884. in: query
  19885. name: accountIDs
  19886. required: true
  19887. type: string
  19888. produces:
  19889. - application/json
  19890. responses:
  19891. "200":
  19892. description: OK
  19893. schema:
  19894. $ref: '#/definitions/models.HsbyMyGoods'
  19895. "500":
  19896. description: Internal Server Error
  19897. schema:
  19898. $ref: '#/definitions/app.Response'
  19899. security:
  19900. - ApiKeyAuth: []
  19901. summary: 查询“我的商品”信息
  19902. tags:
  19903. - 定制【海商报业】
  19904. /HSBY/QueryHsbyMyPackages:
  19905. get:
  19906. parameters:
  19907. - description: 资金账户列表,格式:1,2,3
  19908. in: query
  19909. name: accountIDs
  19910. required: true
  19911. type: string
  19912. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19913. in: query
  19914. name: takeOrderStatus
  19915. type: integer
  19916. produces:
  19917. - application/json
  19918. responses:
  19919. "200":
  19920. description: OK
  19921. schema:
  19922. $ref: '#/definitions/models.HsbyMyPackage'
  19923. "500":
  19924. description: Internal Server Error
  19925. schema:
  19926. $ref: '#/definitions/app.Response'
  19927. security:
  19928. - ApiKeyAuth: []
  19929. summary: 查询我的包裹信息
  19930. tags:
  19931. - 定制【海商报业】
  19932. /HSBY/QueryHsbyPreGoodsDetail:
  19933. get:
  19934. parameters:
  19935. - description: 商品ID
  19936. in: query
  19937. name: goodsID
  19938. required: true
  19939. type: integer
  19940. - description: 资金账户,主要用于获取预售商品购买上限
  19941. in: query
  19942. name: accountID
  19943. type: integer
  19944. produces:
  19945. - application/json
  19946. responses:
  19947. "200":
  19948. description: OK
  19949. schema:
  19950. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  19951. "500":
  19952. description: Internal Server Error
  19953. schema:
  19954. $ref: '#/definitions/app.Response'
  19955. security:
  19956. - ApiKeyAuth: []
  19957. summary: 查询一级市场(预售)商品信息详情
  19958. tags:
  19959. - 定制【海商报业】
  19960. /HSBY/QueryHsbyPreGoodses:
  19961. get:
  19962. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  19963. parameters:
  19964. - description: 页码
  19965. in: query
  19966. name: page
  19967. type: integer
  19968. - description: 每页条数
  19969. in: query
  19970. name: pagesize
  19971. type: integer
  19972. - description: 市场ID列表,格式:1,2,3
  19973. in: query
  19974. name: marketIDs
  19975. required: true
  19976. type: string
  19977. - description: 目的地(省)ID
  19978. in: query
  19979. name: descProvinceID
  19980. type: integer
  19981. - description: 目的地(市)ID
  19982. in: query
  19983. name: descCityID
  19984. type: integer
  19985. produces:
  19986. - application/json
  19987. responses:
  19988. "200":
  19989. description: OK
  19990. schema:
  19991. $ref: '#/definitions/models.HsbyPreGoods'
  19992. "500":
  19993. description: Internal Server Error
  19994. schema:
  19995. $ref: '#/definitions/app.Response'
  19996. security:
  19997. - ApiKeyAuth: []
  19998. summary: 查询新品上市商品列表(一级市场预售)
  19999. tags:
  20000. - 定制【海商报业】
  20001. /HSBY/QueryHsbySellMyDetails:
  20002. get:
  20003. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  20004. parameters:
  20005. - description: 页码
  20006. in: query
  20007. name: page
  20008. type: integer
  20009. - description: 每页条数
  20010. in: query
  20011. name: pagesize
  20012. type: integer
  20013. - description: 资金账户列表,格式:1,2,3
  20014. in: query
  20015. name: accountIDs
  20016. required: true
  20017. type: string
  20018. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  20019. in: query
  20020. name: orderType
  20021. type: integer
  20022. produces:
  20023. - application/json
  20024. responses:
  20025. "200":
  20026. description: OK
  20027. schema:
  20028. $ref: '#/definitions/models.HsbySellMyDetail'
  20029. "500":
  20030. description: Internal Server Error
  20031. schema:
  20032. $ref: '#/definitions/app.Response'
  20033. security:
  20034. - ApiKeyAuth: []
  20035. summary: 查询"我的闲置"单据信息
  20036. tags:
  20037. - 定制【海商报业】
  20038. /HSBY/QueryHsbyTopGoodses:
  20039. get:
  20040. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  20041. parameters:
  20042. - description: 页码
  20043. in: query
  20044. name: page
  20045. type: integer
  20046. - description: 每页条数
  20047. in: query
  20048. name: pagesize
  20049. type: integer
  20050. - description: 市场ID列表,格式:1,2,3
  20051. in: query
  20052. name: marketIDs
  20053. required: true
  20054. type: string
  20055. - description: 目的地(省)ID
  20056. in: query
  20057. name: descProvinceID
  20058. type: integer
  20059. - description: 目的地(市)ID
  20060. in: query
  20061. name: descCityID
  20062. type: integer
  20063. produces:
  20064. - application/json
  20065. responses:
  20066. "200":
  20067. description: OK
  20068. schema:
  20069. $ref: '#/definitions/models.HsbyTopGoods'
  20070. "500":
  20071. description: Internal Server Error
  20072. schema:
  20073. $ref: '#/definitions/app.Response'
  20074. security:
  20075. - ApiKeyAuth: []
  20076. summary: 查询热卖商品列表(二级市场挂牌点选)
  20077. tags:
  20078. - 定制【海商报业】
  20079. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  20080. get:
  20081. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  20082. parameters:
  20083. - description: 商品ID
  20084. in: query
  20085. name: goodsID
  20086. required: true
  20087. type: integer
  20088. produces:
  20089. - application/json
  20090. responses:
  20091. "200":
  20092. description: OK
  20093. schema:
  20094. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20095. "500":
  20096. description: Internal Server Error
  20097. schema:
  20098. $ref: '#/definitions/app.Response'
  20099. security:
  20100. - ApiKeyAuth: []
  20101. summary: 查询游客三级市场(商城)商品信息详情
  20102. tags:
  20103. - 定制【海商报业】
  20104. /HSBY/QueryHsbyVisitorMarketGoodses:
  20105. get:
  20106. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  20107. parameters:
  20108. - description: 页码
  20109. in: query
  20110. name: page
  20111. type: integer
  20112. - description: 每页条数
  20113. in: query
  20114. name: pagesize
  20115. type: integer
  20116. - description: 市场ID列表,格式:1,2,3
  20117. in: query
  20118. name: marketIDs
  20119. required: true
  20120. type: string
  20121. - description: 类别ID
  20122. in: query
  20123. name: categoryID
  20124. type: integer
  20125. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20126. in: query
  20127. name: goodsIDs
  20128. type: string
  20129. produces:
  20130. - application/json
  20131. responses:
  20132. "200":
  20133. description: OK
  20134. schema:
  20135. $ref: '#/definitions/models.HsbyMarketGoods'
  20136. "500":
  20137. description: Internal Server Error
  20138. schema:
  20139. $ref: '#/definitions/app.Response'
  20140. security:
  20141. - ApiKeyAuth: []
  20142. summary: 查询游客特卖商品列表(三级商城)
  20143. tags:
  20144. - 定制【海商报业】
  20145. /HSBY/QueryMyCollectionOrders:
  20146. get:
  20147. parameters:
  20148. - description: 页码
  20149. in: query
  20150. name: page
  20151. type: integer
  20152. - description: 每页条数
  20153. in: query
  20154. name: pagesize
  20155. type: integer
  20156. - description: 资金账户,格式:1,2,3
  20157. in: query
  20158. name: accountIDs
  20159. required: true
  20160. type: string
  20161. produces:
  20162. - application/json
  20163. responses:
  20164. "200":
  20165. description: OK
  20166. schema:
  20167. $ref: '#/definitions/models.HsbySellCollectionOrder'
  20168. "500":
  20169. description: Internal Server Error
  20170. schema:
  20171. $ref: '#/definitions/app.Response'
  20172. security:
  20173. - ApiKeyAuth: []
  20174. summary: 我的闲置中收款信息查询
  20175. tags:
  20176. - 定制【海商报业】
  20177. /HSBY/QueryMyCouponHolds:
  20178. get:
  20179. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  20180. parameters:
  20181. - description: 资金账户列表,格式:1,2,3
  20182. in: query
  20183. name: accountIDs
  20184. required: true
  20185. type: string
  20186. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  20187. in: query
  20188. name: holdStatus
  20189. type: string
  20190. produces:
  20191. - application/json
  20192. responses:
  20193. "200":
  20194. description: OK
  20195. schema:
  20196. $ref: '#/definitions/models.MyCouponHold'
  20197. "500":
  20198. description: Internal Server Error
  20199. schema:
  20200. $ref: '#/definitions/app.Response'
  20201. security:
  20202. - ApiKeyAuth: []
  20203. summary: 我的优惠卷持仓查询
  20204. tags:
  20205. - 定制【海商报业】
  20206. /HSBY/QueryMyCoupons:
  20207. get:
  20208. parameters:
  20209. - description: 资金账户列表,格式:1,2,3
  20210. in: query
  20211. name: accountIDs
  20212. required: true
  20213. type: string
  20214. - description: 商品ID, 一般与sellUserID配套传入
  20215. in: query
  20216. name: goodsID
  20217. type: integer
  20218. - description: 卖方UserID
  20219. in: query
  20220. name: sellUserID
  20221. type: integer
  20222. produces:
  20223. - application/json
  20224. responses:
  20225. "200":
  20226. description: OK
  20227. schema:
  20228. $ref: '#/definitions/models.MyCoupon'
  20229. "500":
  20230. description: Internal Server Error
  20231. schema:
  20232. $ref: '#/definitions/app.Response'
  20233. security:
  20234. - ApiKeyAuth: []
  20235. summary: 我的优惠卷查询
  20236. tags:
  20237. - 定制【海商报业】
  20238. /HSBY/QueryMyPayOrders:
  20239. get:
  20240. parameters:
  20241. - description: 页码
  20242. in: query
  20243. name: page
  20244. type: integer
  20245. - description: 每页条数
  20246. in: query
  20247. name: pagesize
  20248. type: integer
  20249. - description: 资金账户列表,格式:1,2,3
  20250. in: query
  20251. name: accountIDs
  20252. required: true
  20253. type: string
  20254. - description: 买方委托单号
  20255. in: query
  20256. name: buyOrderID
  20257. type: integer
  20258. - description: 卖方委托单号
  20259. in: query
  20260. name: sellOrderID
  20261. type: integer
  20262. produces:
  20263. - application/json
  20264. responses:
  20265. "200":
  20266. description: OK
  20267. schema:
  20268. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  20269. "500":
  20270. description: Internal Server Error
  20271. schema:
  20272. $ref: '#/definitions/app.Response'
  20273. security:
  20274. - ApiKeyAuth: []
  20275. summary: 获取我的订单中待付款信息
  20276. tags:
  20277. - 定制【海商报业】
  20278. /HSBY/QueryMyUsedCoupon:
  20279. get:
  20280. parameters:
  20281. - description: 资金账户列表,格式:1,2,3
  20282. in: query
  20283. name: accountIDs
  20284. required: true
  20285. type: string
  20286. produces:
  20287. - application/json
  20288. responses:
  20289. "200":
  20290. description: OK
  20291. schema:
  20292. $ref: '#/definitions/models.MyUsedCoupon'
  20293. "500":
  20294. description: Internal Server Error
  20295. schema:
  20296. $ref: '#/definitions/app.Response'
  20297. security:
  20298. - ApiKeyAuth: []
  20299. summary: 已使用优惠卷查询
  20300. tags:
  20301. - 定制【海商报业】
  20302. /HSBY/QueryProvincesAndCities:
  20303. get:
  20304. description: 查询结果只包括二级市场商品已关连的省市信息。
  20305. parameters:
  20306. - description: 省ID
  20307. in: query
  20308. name: provinceID
  20309. type: integer
  20310. produces:
  20311. - application/json
  20312. responses:
  20313. "200":
  20314. description: OK
  20315. schema:
  20316. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  20317. "500":
  20318. description: Internal Server Error
  20319. schema:
  20320. $ref: '#/definitions/app.Response'
  20321. security:
  20322. - ApiKeyAuth: []
  20323. summary: 查询省市信息(不包括区)
  20324. tags:
  20325. - 定制【海商报业】
  20326. /HSBY/SetHsbyMyPackagesStatus:
  20327. post:
  20328. parameters:
  20329. - description: 提货单号
  20330. in: query
  20331. name: takeOrderID
  20332. required: true
  20333. type: string
  20334. - description: 资金账号
  20335. in: query
  20336. name: accountID
  20337. required: true
  20338. type: integer
  20339. produces:
  20340. - application/json
  20341. responses:
  20342. "200":
  20343. description: OK
  20344. schema:
  20345. $ref: '#/definitions/app.Response'
  20346. "500":
  20347. description: Internal Server Error
  20348. schema:
  20349. $ref: '#/definitions/app.Response'
  20350. security:
  20351. - ApiKeyAuth: []
  20352. summary: 设置我的包裹已收货状态
  20353. tags:
  20354. - 定制【海商报业】
  20355. /Market/GetAllExExchanges:
  20356. get:
  20357. produces:
  20358. - application/json
  20359. responses:
  20360. "200":
  20361. description: OK
  20362. schema:
  20363. $ref: '#/definitions/models.Goods'
  20364. "500":
  20365. description: Internal Server Error
  20366. schema:
  20367. $ref: '#/definitions/app.Response'
  20368. security:
  20369. - ApiKeyAuth: []
  20370. summary: 获取所有外部交易所信息
  20371. tags:
  20372. - 通用市场
  20373. /Market/QueryGoodsesByLoginID:
  20374. get:
  20375. parameters:
  20376. - description: 登录账号
  20377. in: query
  20378. name: loginID
  20379. required: true
  20380. type: integer
  20381. - description: 市场ID列表,格式:1,2,3
  20382. in: query
  20383. name: marketIDs
  20384. type: string
  20385. produces:
  20386. - application/json
  20387. responses:
  20388. "200":
  20389. description: OK
  20390. schema:
  20391. $ref: '#/definitions/models.Goods'
  20392. "500":
  20393. description: Internal Server Error
  20394. schema:
  20395. $ref: '#/definitions/app.Response'
  20396. security:
  20397. - ApiKeyAuth: []
  20398. summary: 获取登录账号有权限的商品信息
  20399. tags:
  20400. - 通用市场
  20401. /Market/QueryMarketRun:
  20402. get:
  20403. parameters:
  20404. - description: 市场ID,不传返回所有
  20405. in: query
  20406. name: marketID
  20407. type: integer
  20408. produces:
  20409. - application/json
  20410. responses:
  20411. "200":
  20412. description: OK
  20413. schema:
  20414. $ref: '#/definitions/models.Marketrun'
  20415. "500":
  20416. description: Internal Server Error
  20417. schema:
  20418. $ref: '#/definitions/app.Response'
  20419. security:
  20420. - ApiKeyAuth: []
  20421. summary: 查询市场运行信息
  20422. tags:
  20423. - 通用市场
  20424. /Market/QueryMarketsByLoginID:
  20425. get:
  20426. parameters:
  20427. - description: 登录账号
  20428. in: query
  20429. name: loginID
  20430. required: true
  20431. type: integer
  20432. produces:
  20433. - application/json
  20434. responses:
  20435. "200":
  20436. description: OK
  20437. schema:
  20438. $ref: '#/definitions/models.Market'
  20439. "500":
  20440. description: Internal Server Error
  20441. schema:
  20442. $ref: '#/definitions/app.Response'
  20443. security:
  20444. - ApiKeyAuth: []
  20445. summary: 获取登录账号有权限的市场信息
  20446. tags:
  20447. - 通用市场
  20448. /Order/QueryHisTradeDetail:
  20449. get:
  20450. parameters:
  20451. - description: 资金账户 - 格式:1,2,3
  20452. in: query
  20453. name: accountID
  20454. required: true
  20455. type: string
  20456. - description: 成交单号
  20457. in: query
  20458. name: tradeID
  20459. type: integer
  20460. - description: 委托单号
  20461. in: query
  20462. name: orderID
  20463. type: integer
  20464. - description: 商品ID
  20465. in: query
  20466. name: goodsID
  20467. type: integer
  20468. - description: 交易模式 - 格式:1,2,3
  20469. in: query
  20470. name: tradeMode
  20471. type: string
  20472. - description: 委托单据类型
  20473. in: query
  20474. name: buildType
  20475. type: integer
  20476. - description: 成交类别 - 格式:1,2,3
  20477. in: query
  20478. name: tradeType
  20479. type: string
  20480. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20481. in: query
  20482. name: startDate
  20483. type: string
  20484. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20485. in: query
  20486. name: endDate
  20487. type: string
  20488. produces:
  20489. - application/json
  20490. responses:
  20491. "200":
  20492. description: OK
  20493. schema:
  20494. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  20495. "500":
  20496. description: Internal Server Error
  20497. schema:
  20498. $ref: '#/definitions/app.Response'
  20499. security:
  20500. - ApiKeyAuth: []
  20501. summary: 历史成交单查询(合约市场)
  20502. tags:
  20503. - 通用单据
  20504. /Order/QueryHisTradeOrderDetail:
  20505. get:
  20506. parameters:
  20507. - description: 资金账户 - 格式:1,2,3
  20508. in: query
  20509. name: accountID
  20510. required: true
  20511. type: string
  20512. - description: 交易模式 - 格式:1,2,3
  20513. in: query
  20514. name: tradeMode
  20515. type: string
  20516. - description: 委托状态 - 格式:1,2,3
  20517. in: query
  20518. name: orderStatus
  20519. type: string
  20520. - description: 委托单号
  20521. in: query
  20522. name: orderID
  20523. type: integer
  20524. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20525. in: query
  20526. name: startDate
  20527. type: string
  20528. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20529. in: query
  20530. name: endDate
  20531. type: string
  20532. produces:
  20533. - application/json
  20534. responses:
  20535. "200":
  20536. description: OK
  20537. schema:
  20538. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  20539. "500":
  20540. description: Internal Server Error
  20541. schema:
  20542. $ref: '#/definitions/app.Response'
  20543. security:
  20544. - ApiKeyAuth: []
  20545. summary: 历史委托单查询请求(合约市场)
  20546. tags:
  20547. - 通用单据
  20548. /Order/QueryTradeDetail:
  20549. get:
  20550. parameters:
  20551. - description: 资金账户 - 格式:1,2,3
  20552. in: query
  20553. name: accountID
  20554. required: true
  20555. type: string
  20556. - description: 成交单号
  20557. in: query
  20558. name: tradeID
  20559. type: integer
  20560. - description: 委托单号
  20561. in: query
  20562. name: orderID
  20563. type: integer
  20564. - description: 交易模式 - 格式:1,2,3
  20565. in: query
  20566. name: tradeMode
  20567. type: string
  20568. - description: 委托单据类型
  20569. in: query
  20570. name: buildType
  20571. type: integer
  20572. - description: 成交类别 - 格式:1,2,3
  20573. in: query
  20574. name: tradeType
  20575. type: string
  20576. - description: 商品ID
  20577. in: query
  20578. name: goodsID
  20579. type: integer
  20580. produces:
  20581. - application/json
  20582. responses:
  20583. "200":
  20584. description: OK
  20585. schema:
  20586. $ref: '#/definitions/order.QueryTradeDetailRsp'
  20587. "500":
  20588. description: Internal Server Error
  20589. schema:
  20590. $ref: '#/definitions/app.Response'
  20591. security:
  20592. - ApiKeyAuth: []
  20593. summary: 成交单查询(合约市场)
  20594. tags:
  20595. - 通用单据
  20596. /Order/QueryTradeOrderDetail:
  20597. get:
  20598. parameters:
  20599. - description: 资金账户 - 格式:1,2,3
  20600. in: query
  20601. name: accountID
  20602. required: true
  20603. type: string
  20604. - description: 交易模式 - 格式:1,2,3
  20605. in: query
  20606. name: tradeMode
  20607. type: string
  20608. - description: 委托状态 - 格式:1,2,3
  20609. in: query
  20610. name: orderStatus
  20611. type: string
  20612. - description: 委托单号
  20613. in: query
  20614. name: orderID
  20615. type: integer
  20616. produces:
  20617. - application/json
  20618. responses:
  20619. "200":
  20620. description: OK
  20621. schema:
  20622. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  20623. "500":
  20624. description: Internal Server Error
  20625. schema:
  20626. $ref: '#/definitions/app.Response'
  20627. security:
  20628. - ApiKeyAuth: []
  20629. summary: 委托单查询请求(合约市场)
  20630. tags:
  20631. - 通用单据
  20632. /Order/QueryTradePosition:
  20633. get:
  20634. parameters:
  20635. - description: 资金账户 - 格式:1,2,3
  20636. in: query
  20637. name: accountID
  20638. required: true
  20639. type: string
  20640. - description: 交易模式 - 格式:1,2,3
  20641. in: query
  20642. name: tradeMode
  20643. type: string
  20644. produces:
  20645. - application/json
  20646. responses:
  20647. "200":
  20648. description: OK
  20649. schema:
  20650. $ref: '#/definitions/order.QueryTradePositionRsp'
  20651. "500":
  20652. description: Internal Server Error
  20653. schema:
  20654. $ref: '#/definitions/app.Response'
  20655. security:
  20656. - ApiKeyAuth: []
  20657. summary: 持仓汇总查询(合约市场)
  20658. tags:
  20659. - 通用单据
  20660. /Qhj/QueryAccountInOutApply:
  20661. get:
  20662. parameters:
  20663. - description: 用户ID
  20664. in: query
  20665. name: userid
  20666. required: true
  20667. type: integer
  20668. - description: 申请起始日期(格式yyyymmdd)
  20669. in: query
  20670. name: begindate
  20671. type: string
  20672. - description: 申请截止日期(格式yyyymmdd)
  20673. in: query
  20674. name: enddate
  20675. type: string
  20676. - description: 模糊搜索名称
  20677. in: query
  20678. name: likename
  20679. type: string
  20680. produces:
  20681. - application/json
  20682. responses:
  20683. "200":
  20684. description: OK
  20685. schema:
  20686. items:
  20687. $ref: '#/definitions/models.QhjAccountOutInApply'
  20688. type: array
  20689. "500":
  20690. description: Internal Server Error
  20691. schema:
  20692. $ref: '#/definitions/app.Response'
  20693. security:
  20694. - ApiKeyAuth: []
  20695. summary: 查询充值提现
  20696. tags:
  20697. - 大连千海金
  20698. /Qhj/QueryAreaFinanceConfig:
  20699. get:
  20700. parameters:
  20701. - description: 机构用户ID 其他做市关系,都设置为 1
  20702. in: query
  20703. name: userid
  20704. type: integer
  20705. produces:
  20706. - application/json
  20707. responses:
  20708. "200":
  20709. description: OK
  20710. schema:
  20711. items:
  20712. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  20713. type: array
  20714. "500":
  20715. description: Internal Server Error
  20716. schema:
  20717. $ref: '#/definitions/app.Response'
  20718. security:
  20719. - ApiKeyAuth: []
  20720. summary: 查询企业配置表
  20721. tags:
  20722. - 大连千海金
  20723. /Qhj/QueryBankAccountSign:
  20724. get:
  20725. parameters:
  20726. - description: 用户ID
  20727. in: query
  20728. name: userid
  20729. required: true
  20730. type: integer
  20731. produces:
  20732. - application/json
  20733. responses:
  20734. "200":
  20735. description: OK
  20736. schema:
  20737. items:
  20738. $ref: '#/definitions/models.QhjBankAccountSign'
  20739. type: array
  20740. "500":
  20741. description: Internal Server Error
  20742. schema:
  20743. $ref: '#/definitions/app.Response'
  20744. security:
  20745. - ApiKeyAuth: []
  20746. summary: 查询签约银行信息(提现账户管理)
  20747. tags:
  20748. - 大连千海金
  20749. /Qhj/QueryBankInfo:
  20750. get:
  20751. produces:
  20752. - application/json
  20753. responses:
  20754. "200":
  20755. description: OK
  20756. schema:
  20757. items:
  20758. $ref: '#/definitions/models.QhjBankInfo'
  20759. type: array
  20760. "500":
  20761. description: Internal Server Error
  20762. schema:
  20763. $ref: '#/definitions/app.Response'
  20764. security:
  20765. - ApiKeyAuth: []
  20766. summary: 查询开户行
  20767. tags:
  20768. - 大连千海金
  20769. /Qhj/QueryBrokerApply:
  20770. get:
  20771. parameters:
  20772. - description: 所属机构ID
  20773. in: query
  20774. name: userid
  20775. type: integer
  20776. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20777. in: query
  20778. name: filterstatus
  20779. type: string
  20780. produces:
  20781. - application/json
  20782. responses:
  20783. "200":
  20784. description: OK
  20785. schema:
  20786. items:
  20787. $ref: '#/definitions/models.QhjBrokerApply'
  20788. type: array
  20789. "500":
  20790. description: Internal Server Error
  20791. schema:
  20792. $ref: '#/definitions/app.Response'
  20793. security:
  20794. - ApiKeyAuth: []
  20795. summary: 查询经纪人申请
  20796. tags:
  20797. - 大连千海金
  20798. /Qhj/QueryBrokerApplyEx:
  20799. get:
  20800. parameters:
  20801. - description: 所属机构ID
  20802. in: query
  20803. name: userid
  20804. type: integer
  20805. produces:
  20806. - application/json
  20807. responses:
  20808. "200":
  20809. description: OK
  20810. schema:
  20811. items:
  20812. $ref: '#/definitions/models.QhjBrokerApplyEx'
  20813. type: array
  20814. "500":
  20815. description: Internal Server Error
  20816. schema:
  20817. $ref: '#/definitions/app.Response'
  20818. security:
  20819. - ApiKeyAuth: []
  20820. summary: 查询经纪人信息和申请记录
  20821. tags:
  20822. - 大连千海金
  20823. /Qhj/QueryBrokerRewardLog:
  20824. get:
  20825. parameters:
  20826. - description: 用户ID
  20827. in: query
  20828. name: userid
  20829. required: true
  20830. type: integer
  20831. - description: 开始交易日(yyyymmdd)
  20832. in: query
  20833. name: begindate
  20834. type: string
  20835. - description: 结束交易日(yyyymmdd)
  20836. in: query
  20837. name: enddate
  20838. type: string
  20839. produces:
  20840. - application/json
  20841. responses:
  20842. "200":
  20843. description: OK
  20844. schema:
  20845. items:
  20846. $ref: '#/definitions/models.QhjBrokerRewardLog'
  20847. type: array
  20848. "500":
  20849. description: Internal Server Error
  20850. schema:
  20851. $ref: '#/definitions/app.Response'
  20852. security:
  20853. - ApiKeyAuth: []
  20854. summary: 查询奖励流水(我的奖励)
  20855. tags:
  20856. - 大连千海金
  20857. /Qhj/QueryContract:
  20858. get:
  20859. parameters:
  20860. - description: 用户ID
  20861. in: query
  20862. name: userid
  20863. type: integer
  20864. - description: scf合同id
  20865. in: query
  20866. name: scfcontractid
  20867. type: integer
  20868. produces:
  20869. - application/json
  20870. responses:
  20871. "200":
  20872. description: OK
  20873. schema:
  20874. items:
  20875. $ref: '#/definitions/models.QhjContract'
  20876. type: array
  20877. "500":
  20878. description: Internal Server Error
  20879. schema:
  20880. $ref: '#/definitions/app.Response'
  20881. security:
  20882. - ApiKeyAuth: []
  20883. summary: 查询融资明细(合同)
  20884. tags:
  20885. - 大连千海金
  20886. /Qhj/QueryContractLog:
  20887. get:
  20888. parameters:
  20889. - description: scf合同id
  20890. in: query
  20891. name: scfcontractid
  20892. required: true
  20893. type: integer
  20894. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  20895. in: query
  20896. name: amounttype
  20897. type: string
  20898. produces:
  20899. - application/json
  20900. responses:
  20901. "200":
  20902. description: OK
  20903. schema:
  20904. items:
  20905. $ref: '#/definitions/models.QhjContractLog'
  20906. type: array
  20907. "500":
  20908. description: Internal Server Error
  20909. schema:
  20910. $ref: '#/definitions/app.Response'
  20911. security:
  20912. - ApiKeyAuth: []
  20913. summary: 查询融资明细流水(融资明细详情页中的流水)
  20914. tags:
  20915. - 大连千海金
  20916. /Qhj/QueryCusBankSignBank:
  20917. get:
  20918. produces:
  20919. - application/json
  20920. responses:
  20921. "200":
  20922. description: OK
  20923. schema:
  20924. items:
  20925. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  20926. type: array
  20927. "500":
  20928. description: Internal Server Error
  20929. schema:
  20930. $ref: '#/definitions/app.Response'
  20931. security:
  20932. - ApiKeyAuth: []
  20933. summary: 查询托管银行
  20934. tags:
  20935. - 大连千海金
  20936. /Qhj/QueryCustomerInfo:
  20937. get:
  20938. parameters:
  20939. - description: 用户ID
  20940. in: query
  20941. name: userid
  20942. required: true
  20943. type: integer
  20944. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  20945. in: query
  20946. name: querytype
  20947. required: true
  20948. type: integer
  20949. - description: 客户类型 1-个人 2-企业
  20950. in: query
  20951. name: userinfotype
  20952. type: integer
  20953. - description: 客户名称(模糊匹配)
  20954. in: query
  20955. name: customername
  20956. type: string
  20957. - description: 昵称(模糊匹配)
  20958. in: query
  20959. name: nickname
  20960. type: string
  20961. - description: 是否包含子级 1-包含
  20962. in: query
  20963. name: includesub
  20964. type: integer
  20965. produces:
  20966. - application/json
  20967. responses:
  20968. "200":
  20969. description: OK
  20970. schema:
  20971. items:
  20972. $ref: '#/definitions/models.QhjCustomer'
  20973. type: array
  20974. "500":
  20975. description: Internal Server Error
  20976. schema:
  20977. $ref: '#/definitions/app.Response'
  20978. security:
  20979. - ApiKeyAuth: []
  20980. summary: 查询客户资料
  20981. tags:
  20982. - 大连千海金
  20983. /Qhj/QueryGoodsEx:
  20984. get:
  20985. parameters:
  20986. - description: 商品id
  20987. in: query
  20988. name: goodsid
  20989. type: integer
  20990. produces:
  20991. - application/json
  20992. responses:
  20993. "200":
  20994. description: OK
  20995. schema:
  20996. items:
  20997. $ref: '#/definitions/models.Qhjgoodsex'
  20998. type: array
  20999. "500":
  21000. description: Internal Server Error
  21001. schema:
  21002. $ref: '#/definitions/app.Response'
  21003. security:
  21004. - ApiKeyAuth: []
  21005. summary: 交易商品扩展表
  21006. tags:
  21007. - 大连千海金
  21008. /Qhj/QueryMyTeam:
  21009. get:
  21010. parameters:
  21011. - description: 用户ID
  21012. in: query
  21013. name: userid
  21014. required: true
  21015. type: integer
  21016. produces:
  21017. - application/json
  21018. responses:
  21019. "200":
  21020. description: OK
  21021. schema:
  21022. items:
  21023. $ref: '#/definitions/models.QhjMyTeamEx'
  21024. type: array
  21025. "500":
  21026. description: Internal Server Error
  21027. schema:
  21028. $ref: '#/definitions/app.Response'
  21029. security:
  21030. - ApiKeyAuth: []
  21031. summary: 查询我的团队
  21032. tags:
  21033. - 大连千海金
  21034. /Qhj/QueryMyTeamOrder:
  21035. get:
  21036. parameters:
  21037. - description: 页码
  21038. in: query
  21039. name: page
  21040. type: integer
  21041. - description: 每页条数
  21042. in: query
  21043. name: pagesize
  21044. type: integer
  21045. - description: 用户ID
  21046. in: query
  21047. name: userid
  21048. required: true
  21049. type: integer
  21050. - description: 交易模式
  21051. in: query
  21052. name: trademode
  21053. type: integer
  21054. - description: 名称(模糊搜索账户)
  21055. in: query
  21056. name: filtername
  21057. type: string
  21058. produces:
  21059. - application/json
  21060. responses:
  21061. "200":
  21062. description: OK
  21063. schema:
  21064. items:
  21065. $ref: '#/definitions/models.QhjTeamOrder'
  21066. type: array
  21067. "500":
  21068. description: Internal Server Error
  21069. schema:
  21070. $ref: '#/definitions/app.Response'
  21071. security:
  21072. - ApiKeyAuth: []
  21073. summary: 查询团队订单(我的团队/团队订单)
  21074. tags:
  21075. - 大连千海金
  21076. /Qhj/QueryParentAreaList:
  21077. get:
  21078. parameters:
  21079. - description: 用户ID
  21080. in: query
  21081. name: userid
  21082. required: true
  21083. type: integer
  21084. produces:
  21085. - application/json
  21086. responses:
  21087. "200":
  21088. description: OK
  21089. schema:
  21090. items:
  21091. $ref: '#/definitions/models.QhjParentAreaList'
  21092. type: array
  21093. "500":
  21094. description: Internal Server Error
  21095. schema:
  21096. $ref: '#/definitions/app.Response'
  21097. security:
  21098. - ApiKeyAuth: []
  21099. summary: 查询所属机构列表
  21100. tags:
  21101. - 大连千海金
  21102. /Qhj/QueryPayOrder:
  21103. get:
  21104. parameters:
  21105. - description: 资金账号id
  21106. in: query
  21107. name: accountid
  21108. required: true
  21109. type: integer
  21110. - description: 成交单号
  21111. in: query
  21112. name: tradeid
  21113. type: integer
  21114. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21115. in: query
  21116. name: payflag
  21117. type: string
  21118. produces:
  21119. - application/json
  21120. responses:
  21121. "200":
  21122. description: OK
  21123. schema:
  21124. items:
  21125. $ref: '#/definitions/models.QhjPayOrder'
  21126. type: array
  21127. "500":
  21128. description: Internal Server Error
  21129. schema:
  21130. $ref: '#/definitions/app.Response'
  21131. security:
  21132. - ApiKeyAuth: []
  21133. summary: 查询待付款单据
  21134. tags:
  21135. - 大连千海金
  21136. /Qhj/QueryPickArea:
  21137. get:
  21138. parameters:
  21139. - description: 用户ID
  21140. in: query
  21141. name: userid
  21142. type: integer
  21143. produces:
  21144. - application/json
  21145. responses:
  21146. "200":
  21147. description: OK
  21148. schema:
  21149. items:
  21150. $ref: '#/definitions/models.QhjPickArea'
  21151. type: array
  21152. "500":
  21153. description: Internal Server Error
  21154. schema:
  21155. $ref: '#/definitions/app.Response'
  21156. security:
  21157. - ApiKeyAuth: []
  21158. summary: 查询提货门店
  21159. tags:
  21160. - 大连千海金
  21161. /Qhj/QueryPickGoods:
  21162. get:
  21163. parameters:
  21164. - description: 交易商品id
  21165. in: query
  21166. name: goodsid
  21167. required: true
  21168. type: integer
  21169. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21170. in: query
  21171. name: status
  21172. type: string
  21173. produces:
  21174. - application/json
  21175. responses:
  21176. "200":
  21177. description: OK
  21178. schema:
  21179. items:
  21180. $ref: '#/definitions/models.QhjPickGoods'
  21181. type: array
  21182. "500":
  21183. description: Internal Server Error
  21184. schema:
  21185. $ref: '#/definitions/app.Response'
  21186. security:
  21187. - ApiKeyAuth: []
  21188. summary: 查询提货商品
  21189. tags:
  21190. - 大连千海金
  21191. /Qhj/QueryRSTriggerLog:
  21192. get:
  21193. parameters:
  21194. - description: 用户ID
  21195. in: query
  21196. name: userid
  21197. type: integer
  21198. - description: 定投策略id
  21199. in: query
  21200. name: regularlystrategyid
  21201. type: integer
  21202. - description: 商品id
  21203. in: query
  21204. name: goodsid
  21205. type: integer
  21206. - description: 开始交易日(yyyymmdd)
  21207. in: query
  21208. name: begindate
  21209. type: string
  21210. - description: 结束交易日(yyyymmdd)
  21211. in: query
  21212. name: enddate
  21213. type: string
  21214. - description: 名称(模糊搜索账户)
  21215. in: query
  21216. name: filtername
  21217. type: string
  21218. produces:
  21219. - application/json
  21220. responses:
  21221. "200":
  21222. description: OK
  21223. schema:
  21224. items:
  21225. $ref: '#/definitions/models.QhjRSTriggerLog'
  21226. type: array
  21227. "500":
  21228. description: Internal Server Error
  21229. schema:
  21230. $ref: '#/definitions/app.Response'
  21231. security:
  21232. - ApiKeyAuth: []
  21233. summary: 查询定投记录(定投管理/详情/定投记录)
  21234. tags:
  21235. - 大连千海金
  21236. /Qhj/QueryRStrategy:
  21237. get:
  21238. parameters:
  21239. - description: 用户ID
  21240. in: query
  21241. name: userid
  21242. type: integer
  21243. - description: 商品id
  21244. in: query
  21245. name: goodsid
  21246. type: integer
  21247. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  21248. in: query
  21249. name: status
  21250. type: string
  21251. - description: 名称(模糊搜索账户)
  21252. in: query
  21253. name: filtername
  21254. type: string
  21255. produces:
  21256. - application/json
  21257. responses:
  21258. "200":
  21259. description: OK
  21260. schema:
  21261. items:
  21262. $ref: '#/definitions/models.QhjRStrategy'
  21263. type: array
  21264. "500":
  21265. description: Internal Server Error
  21266. schema:
  21267. $ref: '#/definitions/app.Response'
  21268. security:
  21269. - ApiKeyAuth: []
  21270. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  21271. tags:
  21272. - 大连千海金
  21273. /Qhj/QueryReckonPriceLog:
  21274. get:
  21275. parameters:
  21276. - description: 商品ID
  21277. in: query
  21278. name: goodsid
  21279. type: integer
  21280. - description: 交易日 格式(yyyymmdd)
  21281. in: query
  21282. name: tradedate
  21283. type: string
  21284. produces:
  21285. - application/json
  21286. responses:
  21287. "200":
  21288. description: OK
  21289. schema:
  21290. items:
  21291. $ref: '#/definitions/models.QhjReckonPriceLog'
  21292. type: array
  21293. "500":
  21294. description: Internal Server Error
  21295. schema:
  21296. $ref: '#/definitions/app.Response'
  21297. security:
  21298. - ApiKeyAuth: []
  21299. summary: 查询定投价(结算价)
  21300. tags:
  21301. - 大连千海金
  21302. /Qhj/QueryScoreLog:
  21303. get:
  21304. parameters:
  21305. - description: 用户ID
  21306. in: query
  21307. name: userid
  21308. required: true
  21309. type: integer
  21310. - description: 开始交易日(yyyymmdd)
  21311. in: query
  21312. name: begindate
  21313. type: string
  21314. - description: 结束交易日(yyyymmdd)
  21315. in: query
  21316. name: enddate
  21317. type: string
  21318. - description: 最近多少条
  21319. in: query
  21320. name: lastnum
  21321. type: integer
  21322. produces:
  21323. - application/json
  21324. responses:
  21325. "200":
  21326. description: OK
  21327. schema:
  21328. items:
  21329. $ref: '#/definitions/models.QhjScoreLog'
  21330. type: array
  21331. "500":
  21332. description: Internal Server Error
  21333. schema:
  21334. $ref: '#/definitions/app.Response'
  21335. security:
  21336. - ApiKeyAuth: []
  21337. summary: 查询积分流水(我的积分)
  21338. tags:
  21339. - 大连千海金
  21340. /Qhj/QuerySiteColumnDetail:
  21341. get:
  21342. parameters:
  21343. - description: 用户ID
  21344. in: query
  21345. name: userid
  21346. required: true
  21347. type: integer
  21348. produces:
  21349. - application/json
  21350. responses:
  21351. "200":
  21352. description: OK
  21353. schema:
  21354. items:
  21355. $ref: '#/definitions/models.QhjSiteColumnDetail'
  21356. type: array
  21357. "500":
  21358. description: Internal Server Error
  21359. schema:
  21360. $ref: '#/definitions/app.Response'
  21361. security:
  21362. - ApiKeyAuth: []
  21363. summary: 查询资讯
  21364. tags:
  21365. - 大连千海金
  21366. /Qhj/QueryTradeGoodsPickup:
  21367. get:
  21368. parameters:
  21369. - description: 用户ID
  21370. in: query
  21371. name: userid
  21372. required: true
  21373. type: integer
  21374. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  21375. 7:已拒绝 8:已撤销
  21376. in: query
  21377. name: takeorderstatus
  21378. type: integer
  21379. produces:
  21380. - application/json
  21381. responses:
  21382. "200":
  21383. description: OK
  21384. schema:
  21385. items:
  21386. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  21387. type: array
  21388. "500":
  21389. description: Internal Server Error
  21390. schema:
  21391. $ref: '#/definitions/app.Response'
  21392. security:
  21393. - ApiKeyAuth: []
  21394. summary: 查询提货
  21395. tags:
  21396. - 大连千海金
  21397. /Qhj/QueryUserCollectConfig:
  21398. get:
  21399. parameters:
  21400. - description: 用户ID
  21401. in: query
  21402. name: userid
  21403. required: true
  21404. type: integer
  21405. produces:
  21406. - application/json
  21407. responses:
  21408. "200":
  21409. description: OK
  21410. schema:
  21411. items:
  21412. $ref: '#/definitions/models.UserCollectConfig'
  21413. type: array
  21414. "500":
  21415. description: Internal Server Error
  21416. schema:
  21417. $ref: '#/definitions/app.Response'
  21418. security:
  21419. - ApiKeyAuth: []
  21420. summary: 查询提现账户设置
  21421. tags:
  21422. - 大连千海金
  21423. /Qhj/QueryUserReceiveInfo:
  21424. get:
  21425. parameters:
  21426. - description: 用户ID
  21427. in: query
  21428. name: userid
  21429. required: true
  21430. type: integer
  21431. produces:
  21432. - application/json
  21433. responses:
  21434. "200":
  21435. description: OK
  21436. schema:
  21437. items:
  21438. $ref: '#/definitions/models.UserReceiveInfo'
  21439. type: array
  21440. "500":
  21441. description: Internal Server Error
  21442. schema:
  21443. $ref: '#/definitions/app.Response'
  21444. security:
  21445. - ApiKeyAuth: []
  21446. summary: 查询收货地址信息
  21447. tags:
  21448. - 大连千海金
  21449. /QhjMgr/QueryAccountInOutApply:
  21450. get:
  21451. parameters:
  21452. - description: 查询类型 1-提现(出金) 2-充值(出金)
  21453. in: query
  21454. name: querytype
  21455. required: true
  21456. type: integer
  21457. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  21458. in: query
  21459. name: applystatus
  21460. type: integer
  21461. - description: 申请起始日期(格式yyyymmdd)
  21462. in: query
  21463. name: begindate
  21464. type: string
  21465. - description: 申请截止日期(格式yyyymmdd)
  21466. in: query
  21467. name: enddate
  21468. type: string
  21469. - description: 模糊搜索名称
  21470. in: query
  21471. name: likename
  21472. type: string
  21473. produces:
  21474. - application/json
  21475. responses:
  21476. "200":
  21477. description: OK
  21478. schema:
  21479. items:
  21480. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  21481. type: array
  21482. "500":
  21483. description: Internal Server Error
  21484. schema:
  21485. $ref: '#/definitions/app.Response'
  21486. security:
  21487. - ApiKeyAuth: []
  21488. summary: 查询充值提现
  21489. tags:
  21490. - 大连千海金(PCWeb)
  21491. /QhjMgr/QueryBrokerApply:
  21492. get:
  21493. parameters:
  21494. - description: 所属机构ID
  21495. in: query
  21496. name: userid
  21497. type: integer
  21498. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21499. in: query
  21500. name: filterstatus
  21501. type: string
  21502. - description: 名称(模糊匹配)
  21503. in: query
  21504. name: filtername
  21505. type: string
  21506. - description: 是否包含子级 1-包含
  21507. in: query
  21508. name: includesub
  21509. type: integer
  21510. produces:
  21511. - application/json
  21512. responses:
  21513. "200":
  21514. description: OK
  21515. schema:
  21516. items:
  21517. $ref: '#/definitions/models.QhjMgrBrokerApply'
  21518. type: array
  21519. "500":
  21520. description: Internal Server Error
  21521. schema:
  21522. $ref: '#/definitions/app.Response'
  21523. security:
  21524. - ApiKeyAuth: []
  21525. summary: 查询经纪人申请
  21526. tags:
  21527. - 大连千海金(PCWeb)
  21528. /QhjMgr/QueryBrokerRewardReport:
  21529. get:
  21530. parameters:
  21531. - description: 所属机构ID
  21532. in: query
  21533. name: userid
  21534. required: true
  21535. type: integer
  21536. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21537. in: query
  21538. name: cycletype
  21539. required: true
  21540. type: integer
  21541. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  21542. in: query
  21543. name: cycletime
  21544. required: true
  21545. type: string
  21546. - description: 名称(模糊匹配)
  21547. in: query
  21548. name: filtername
  21549. type: string
  21550. - description: 是否包含子级 1-包含
  21551. in: query
  21552. name: includesub
  21553. type: integer
  21554. produces:
  21555. - application/json
  21556. responses:
  21557. "200":
  21558. description: OK
  21559. schema:
  21560. items:
  21561. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  21562. type: array
  21563. "500":
  21564. description: Internal Server Error
  21565. schema:
  21566. $ref: '#/definitions/app.Response'
  21567. security:
  21568. - ApiKeyAuth: []
  21569. summary: 查询经纪人奖励报表(废弃)
  21570. tags:
  21571. - 大连千海金(PCWeb)
  21572. /QhjMgr/QueryContract:
  21573. get:
  21574. parameters:
  21575. - description: 用户ID
  21576. in: query
  21577. name: userid
  21578. type: integer
  21579. - description: 商品id
  21580. in: query
  21581. name: goodsid
  21582. type: integer
  21583. - description: 名称(模糊搜索账户)
  21584. in: query
  21585. name: filtername
  21586. type: string
  21587. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  21588. in: query
  21589. name: risklevel
  21590. type: string
  21591. - description: 开始交易日(yyyymmdd)
  21592. in: query
  21593. name: begindate
  21594. type: string
  21595. - description: 结束交易日(yyyymmdd)
  21596. in: query
  21597. name: enddate
  21598. type: string
  21599. produces:
  21600. - application/json
  21601. responses:
  21602. "200":
  21603. description: OK
  21604. schema:
  21605. items:
  21606. $ref: '#/definitions/models.QhjMgrContract'
  21607. type: array
  21608. "500":
  21609. description: Internal Server Error
  21610. schema:
  21611. $ref: '#/definitions/app.Response'
  21612. security:
  21613. - ApiKeyAuth: []
  21614. summary: 查询融资信息(合同)
  21615. tags:
  21616. - 大连千海金(PCWeb)
  21617. /QhjMgr/QueryCustomerInfo:
  21618. get:
  21619. parameters:
  21620. - description: 用户ID
  21621. in: query
  21622. name: userid
  21623. required: true
  21624. type: integer
  21625. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21626. in: query
  21627. name: querytype
  21628. required: true
  21629. type: integer
  21630. - description: 客户类型 1-个人 2-企业
  21631. in: query
  21632. name: userinfotype
  21633. type: integer
  21634. - description: 客户名称(模糊匹配)
  21635. in: query
  21636. name: customername
  21637. type: string
  21638. - description: 昵称(模糊匹配)
  21639. in: query
  21640. name: nickname
  21641. type: string
  21642. - description: 是否包含子级 1-包含
  21643. in: query
  21644. name: includesub
  21645. type: integer
  21646. produces:
  21647. - application/json
  21648. responses:
  21649. "200":
  21650. description: OK
  21651. schema:
  21652. items:
  21653. $ref: '#/definitions/models.QhjMgrCustomer'
  21654. type: array
  21655. "500":
  21656. description: Internal Server Error
  21657. schema:
  21658. $ref: '#/definitions/app.Response'
  21659. security:
  21660. - ApiKeyAuth: []
  21661. summary: 查询客户资料
  21662. tags:
  21663. - 大连千海金(PCWeb)
  21664. /QhjMgr/QueryPickGoods:
  21665. get:
  21666. parameters:
  21667. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21668. in: query
  21669. name: status
  21670. type: string
  21671. produces:
  21672. - application/json
  21673. responses:
  21674. "200":
  21675. description: OK
  21676. schema:
  21677. items:
  21678. $ref: '#/definitions/models.QhjMgrPickGoods'
  21679. type: array
  21680. "500":
  21681. description: Internal Server Error
  21682. schema:
  21683. $ref: '#/definitions/app.Response'
  21684. security:
  21685. - ApiKeyAuth: []
  21686. summary: 查询提货商品
  21687. tags:
  21688. - 大连千海金(PCWeb)
  21689. /QhjMgr/QuerySubArea:
  21690. get:
  21691. parameters:
  21692. - description: 用户ID
  21693. in: query
  21694. name: userid
  21695. required: true
  21696. type: integer
  21697. produces:
  21698. - application/json
  21699. responses:
  21700. "200":
  21701. description: OK
  21702. schema:
  21703. items:
  21704. $ref: '#/definitions/models.QhjMgrSubArea'
  21705. type: array
  21706. "500":
  21707. description: Internal Server Error
  21708. schema:
  21709. $ref: '#/definitions/app.Response'
  21710. security:
  21711. - ApiKeyAuth: []
  21712. summary: 查询子机构列表
  21713. tags:
  21714. - 大连千海金(PCWeb)
  21715. /QhjMgr/QueryTradeDetail:
  21716. get:
  21717. parameters:
  21718. - description: 用户ID
  21719. in: query
  21720. name: userid
  21721. required: true
  21722. type: integer
  21723. - description: 用户类型 1-个人 2-企业
  21724. in: query
  21725. name: userinfotype
  21726. type: integer
  21727. - description: 交易模式
  21728. in: query
  21729. name: trademode
  21730. type: integer
  21731. - description: 商品id
  21732. in: query
  21733. name: goodsid
  21734. type: integer
  21735. - description: 名称(模糊搜索账户)
  21736. in: query
  21737. name: filtername
  21738. type: string
  21739. - description: 开始交易日(yyyymmdd)
  21740. in: query
  21741. name: begindate
  21742. type: string
  21743. - description: 结束交易日(yyyymmdd)
  21744. in: query
  21745. name: enddate
  21746. type: string
  21747. - description: 是否包含子级 1-包含
  21748. in: query
  21749. name: includesub
  21750. type: integer
  21751. produces:
  21752. - application/json
  21753. responses:
  21754. "200":
  21755. description: OK
  21756. schema:
  21757. items:
  21758. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  21759. type: array
  21760. "500":
  21761. description: Internal Server Error
  21762. schema:
  21763. $ref: '#/definitions/app.Response'
  21764. security:
  21765. - ApiKeyAuth: []
  21766. summary: 查询成交明细
  21767. tags:
  21768. - 大连千海金(PCWeb)
  21769. /QhjMgr/QueryTradeOrderDetail:
  21770. get:
  21771. parameters:
  21772. - description: 用户ID
  21773. in: query
  21774. name: userid
  21775. required: true
  21776. type: integer
  21777. - description: 用户类型 1-个人 2-企业
  21778. in: query
  21779. name: userinfotype
  21780. type: integer
  21781. - description: 交易模式
  21782. in: query
  21783. name: trademode
  21784. type: integer
  21785. - description: 商品id
  21786. in: query
  21787. name: goodsid
  21788. type: integer
  21789. - description: 名称(模糊搜索账户)
  21790. in: query
  21791. name: filtername
  21792. type: string
  21793. - description: 开始交易日(yyyymmdd)
  21794. in: query
  21795. name: begindate
  21796. type: string
  21797. - description: 结束交易日(yyyymmdd)
  21798. in: query
  21799. name: enddate
  21800. type: string
  21801. - description: 是否包含子级 1-包含
  21802. in: query
  21803. name: includesub
  21804. type: integer
  21805. produces:
  21806. - application/json
  21807. responses:
  21808. "200":
  21809. description: OK
  21810. schema:
  21811. items:
  21812. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  21813. type: array
  21814. "500":
  21815. description: Internal Server Error
  21816. schema:
  21817. $ref: '#/definitions/app.Response'
  21818. security:
  21819. - ApiKeyAuth: []
  21820. summary: 查询委托明细
  21821. tags:
  21822. - 大连千海金(PCWeb)
  21823. /QhjMgr/QueryTradePayOrder:
  21824. get:
  21825. parameters:
  21826. - description: 用户ID
  21827. in: query
  21828. name: userid
  21829. required: true
  21830. type: integer
  21831. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21832. in: query
  21833. name: payflag
  21834. type: string
  21835. - description: 用户类型 1-个人 2-企业
  21836. in: query
  21837. name: userinfotype
  21838. type: integer
  21839. - description: 交易模式
  21840. in: query
  21841. name: trademode
  21842. type: integer
  21843. - description: 商品id
  21844. in: query
  21845. name: goodsid
  21846. type: integer
  21847. - description: 名称(模糊搜索账户)
  21848. in: query
  21849. name: filtername
  21850. type: string
  21851. - description: 开始交易日(yyyymmdd)
  21852. in: query
  21853. name: begindate
  21854. type: string
  21855. - description: 结束交易日(yyyymmdd)
  21856. in: query
  21857. name: enddate
  21858. type: string
  21859. - description: 是否包含子级 1-包含
  21860. in: query
  21861. name: includesub
  21862. type: integer
  21863. produces:
  21864. - application/json
  21865. responses:
  21866. "200":
  21867. description: OK
  21868. schema:
  21869. items:
  21870. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  21871. type: array
  21872. "500":
  21873. description: Internal Server Error
  21874. schema:
  21875. $ref: '#/definitions/app.Response'
  21876. security:
  21877. - ApiKeyAuth: []
  21878. summary: 查询待付款单
  21879. tags:
  21880. - 大连千海金(PCWeb)
  21881. /QhjMgr/QueryTradePosition:
  21882. get:
  21883. parameters:
  21884. - description: 用户ID
  21885. in: query
  21886. name: userid
  21887. required: true
  21888. type: integer
  21889. - description: 用户类型 1-个人 2-企业
  21890. in: query
  21891. name: userinfotype
  21892. type: integer
  21893. - description: 交易模式
  21894. in: query
  21895. name: trademode
  21896. type: integer
  21897. - description: 商品id
  21898. in: query
  21899. name: goodsid
  21900. type: integer
  21901. - description: 名称(模糊搜索账户)
  21902. in: query
  21903. name: filtername
  21904. type: string
  21905. - description: 是否包含子级 1-包含
  21906. in: query
  21907. name: includesub
  21908. type: integer
  21909. produces:
  21910. - application/json
  21911. responses:
  21912. "200":
  21913. description: OK
  21914. schema:
  21915. items:
  21916. $ref: '#/definitions/models.QhjMgrPositionRsp'
  21917. type: array
  21918. "500":
  21919. description: Internal Server Error
  21920. schema:
  21921. $ref: '#/definitions/app.Response'
  21922. security:
  21923. - ApiKeyAuth: []
  21924. summary: 查询持仓汇总
  21925. tags:
  21926. - 大连千海金(PCWeb)
  21927. /QhjSys/QueryAgreementChangeLog:
  21928. get:
  21929. parameters:
  21930. - description: 协议ID
  21931. in: query
  21932. name: agreementid
  21933. type: integer
  21934. - description: 协议版本号
  21935. in: query
  21936. name: agreementversion
  21937. type: integer
  21938. - description: 协议类型 - 1:注册 2:登录 3:交易
  21939. in: query
  21940. name: agreementtype
  21941. type: integer
  21942. - description: 协议编号(模糊匹配)
  21943. in: query
  21944. name: agreementno
  21945. type: string
  21946. - description: 协议名称(模糊匹配)
  21947. in: query
  21948. name: agreementname
  21949. type: string
  21950. produces:
  21951. - application/json
  21952. responses:
  21953. "200":
  21954. description: OK
  21955. schema:
  21956. items:
  21957. $ref: '#/definitions/models.QhjAgreementChangeLog'
  21958. type: array
  21959. "500":
  21960. description: Internal Server Error
  21961. schema:
  21962. $ref: '#/definitions/app.Response'
  21963. security:
  21964. - ApiKeyAuth: []
  21965. summary: 查询协议配置变更流水
  21966. tags:
  21967. - 大连千海金(协议和签约信息)
  21968. /QhjSys/QueryAgreementConfig:
  21969. get:
  21970. parameters:
  21971. - description: 协议ID
  21972. in: query
  21973. name: agreementid
  21974. type: integer
  21975. - description: 协议版本号
  21976. in: query
  21977. name: agreementversion
  21978. type: integer
  21979. - description: 协议类型 - 1:注册 2:登录 3:交易
  21980. in: query
  21981. name: agreementtype
  21982. type: integer
  21983. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  21984. in: query
  21985. name: isvalid
  21986. type: integer
  21987. - description: 协议编号(模糊匹配)
  21988. in: query
  21989. name: agreementno
  21990. type: string
  21991. - description: 协议名称(模糊匹配)
  21992. in: query
  21993. name: agreementname
  21994. type: string
  21995. produces:
  21996. - application/json
  21997. responses:
  21998. "200":
  21999. description: OK
  22000. schema:
  22001. items:
  22002. $ref: '#/definitions/models.QhjAgreementConfig'
  22003. type: array
  22004. "500":
  22005. description: Internal Server Error
  22006. schema:
  22007. $ref: '#/definitions/app.Response'
  22008. security:
  22009. - ApiKeyAuth: []
  22010. summary: 查询协议配置
  22011. tags:
  22012. - 大连千海金(协议和签约信息)
  22013. /QhjSys/QueryCustomerSignStatus:
  22014. get:
  22015. parameters:
  22016. - description: 客户ID
  22017. in: query
  22018. name: userid
  22019. type: integer
  22020. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  22021. in: query
  22022. name: nodetype
  22023. type: integer
  22024. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22025. in: query
  22026. name: goodsid
  22027. type: integer
  22028. - description: 创建交易日(yyyyMMdd)
  22029. in: query
  22030. name: tradedate
  22031. type: string
  22032. - description: 用户名称(模糊匹配)
  22033. in: query
  22034. name: username
  22035. type: string
  22036. produces:
  22037. - application/json
  22038. responses:
  22039. "200":
  22040. description: OK
  22041. schema:
  22042. items:
  22043. $ref: '#/definitions/models.QhjCustomerSignStatus'
  22044. type: array
  22045. "500":
  22046. description: Internal Server Error
  22047. schema:
  22048. $ref: '#/definitions/app.Response'
  22049. security:
  22050. - ApiKeyAuth: []
  22051. summary: 查询客户协议签约状态
  22052. tags:
  22053. - 大连千海金(协议和签约信息)
  22054. /QhjSys/QueryNodeAgreementConfig:
  22055. get:
  22056. parameters:
  22057. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22058. in: query
  22059. name: configid
  22060. type: integer
  22061. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22062. in: query
  22063. name: nodetype
  22064. type: integer
  22065. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22066. in: query
  22067. name: goodsid
  22068. type: integer
  22069. - description: 协议ID
  22070. in: query
  22071. name: agreementid
  22072. type: integer
  22073. - description: 协议类型 - 1:注册 2:登录 3:交易
  22074. in: query
  22075. name: agreementtype
  22076. type: integer
  22077. - description: 协议版本号
  22078. in: query
  22079. name: agreementversion
  22080. type: integer
  22081. - description: 协议编号(模糊匹配)
  22082. in: query
  22083. name: agreementno
  22084. type: string
  22085. - description: 协议名称(模糊匹配)
  22086. in: query
  22087. name: agreementname
  22088. type: string
  22089. produces:
  22090. - application/json
  22091. responses:
  22092. "200":
  22093. description: OK
  22094. schema:
  22095. items:
  22096. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  22097. type: array
  22098. "500":
  22099. description: Internal Server Error
  22100. schema:
  22101. $ref: '#/definitions/app.Response'
  22102. security:
  22103. - ApiKeyAuth: []
  22104. summary: 查询协议节点配置
  22105. tags:
  22106. - 大连千海金(协议和签约信息)
  22107. /QhjSys/QueryQhjCustomerSignLog:
  22108. get:
  22109. parameters:
  22110. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  22111. in: query
  22112. name: logid
  22113. type: integer
  22114. - description: 客户ID
  22115. in: query
  22116. name: userid
  22117. type: integer
  22118. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22119. in: query
  22120. name: nodetype
  22121. type: integer
  22122. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22123. in: query
  22124. name: goodsid
  22125. type: integer
  22126. - description: 协议ID
  22127. in: query
  22128. name: agreementid
  22129. type: integer
  22130. - description: 用户名称(模糊匹配)
  22131. in: query
  22132. name: username
  22133. type: string
  22134. - description: 协议编号(模糊匹配)
  22135. in: query
  22136. name: agreementno
  22137. type: string
  22138. - description: 协议名称(模糊匹配)
  22139. in: query
  22140. name: agreementname
  22141. type: string
  22142. produces:
  22143. - application/json
  22144. responses:
  22145. "200":
  22146. description: OK
  22147. schema:
  22148. items:
  22149. $ref: '#/definitions/models.QhjCustomerSignLog'
  22150. type: array
  22151. "500":
  22152. description: Internal Server Error
  22153. schema:
  22154. $ref: '#/definitions/app.Response'
  22155. security:
  22156. - ApiKeyAuth: []
  22157. summary: 查询客户协议签约流水
  22158. tags:
  22159. - 大连千海金(协议和签约信息)
  22160. /QhjSys/QueryUserNodeCfgAndStatus:
  22161. get:
  22162. parameters:
  22163. - description: 客户ID
  22164. in: query
  22165. name: userid
  22166. type: integer
  22167. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22168. in: query
  22169. name: configid
  22170. type: integer
  22171. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22172. in: query
  22173. name: nodetype
  22174. type: string
  22175. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22176. in: query
  22177. name: goodsid
  22178. type: integer
  22179. - description: 协议ID
  22180. in: query
  22181. name: agreementid
  22182. type: integer
  22183. - description: 协议类型 - 1:注册 2:登录 3:交易
  22184. in: query
  22185. name: agreementtype
  22186. type: integer
  22187. - description: 协议版本号
  22188. in: query
  22189. name: agreementversion
  22190. type: integer
  22191. - description: 协议编号(模糊匹配)
  22192. in: query
  22193. name: agreementno
  22194. type: string
  22195. - description: 协议名称(模糊匹配)
  22196. in: query
  22197. name: agreementname
  22198. type: string
  22199. produces:
  22200. - application/json
  22201. responses:
  22202. "200":
  22203. description: OK
  22204. schema:
  22205. items:
  22206. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  22207. type: array
  22208. "500":
  22209. description: Internal Server Error
  22210. schema:
  22211. $ref: '#/definitions/app.Response'
  22212. security:
  22213. - ApiKeyAuth: []
  22214. summary: 查询用户协议节点配置和状态
  22215. tags:
  22216. - 大连千海金(协议和签约信息)
  22217. /Quote/QueryHistoryDatas:
  22218. get:
  22219. parameters:
  22220. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  22221. 日线'
  22222. in: query
  22223. name: cycleType
  22224. required: true
  22225. type: integer
  22226. - description: 商品代码
  22227. in: query
  22228. name: goodsCode
  22229. required: true
  22230. type: string
  22231. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  22232. in: query
  22233. name: startTime
  22234. type: string
  22235. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  22236. in: query
  22237. name: endTime
  22238. type: string
  22239. - description: 条数
  22240. in: query
  22241. name: count
  22242. type: integer
  22243. - description: 是否按时间顺序排序(默认为时间倒序排序)
  22244. in: query
  22245. name: isAsc
  22246. type: boolean
  22247. produces:
  22248. - application/json
  22249. responses:
  22250. "200":
  22251. description: OK
  22252. schema:
  22253. $ref: '#/definitions/quote.HistoryData'
  22254. "500":
  22255. description: Internal Server Error
  22256. schema:
  22257. $ref: '#/definitions/app.Response'
  22258. security:
  22259. - ApiKeyAuth: []
  22260. summary: 查询行情历史数据
  22261. tags:
  22262. - 行情服务
  22263. /Quote/QueryHistoryTikDatas:
  22264. get:
  22265. parameters:
  22266. - description: 商品代码
  22267. in: query
  22268. name: goodsCode
  22269. required: true
  22270. type: string
  22271. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  22272. in: query
  22273. name: startTime
  22274. type: string
  22275. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  22276. in: query
  22277. name: endTime
  22278. type: string
  22279. - description: 条数
  22280. in: query
  22281. name: count
  22282. type: integer
  22283. - description: 是否按时间顺序排序(默认为时间倒序排序)
  22284. in: query
  22285. name: isAsc
  22286. type: boolean
  22287. produces:
  22288. - application/json
  22289. responses:
  22290. "200":
  22291. description: OK
  22292. schema:
  22293. $ref: '#/definitions/quote.HistoryTikData'
  22294. "500":
  22295. description: Internal Server Error
  22296. schema:
  22297. $ref: '#/definitions/app.Response'
  22298. security:
  22299. - ApiKeyAuth: []
  22300. summary: 查询行情Tik数据
  22301. tags:
  22302. - 行情服务
  22303. /Quote/QueryQuoteDay:
  22304. get:
  22305. parameters:
  22306. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  22307. in: query
  22308. name: goodsCodes
  22309. required: true
  22310. type: string
  22311. produces:
  22312. - application/json
  22313. responses:
  22314. "200":
  22315. description: OK
  22316. schema:
  22317. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  22318. "500":
  22319. description: Internal Server Error
  22320. schema:
  22321. $ref: '#/definitions/app.Response'
  22322. security:
  22323. - ApiKeyAuth: []
  22324. summary: 获取商品盘面信息
  22325. tags:
  22326. - 行情服务
  22327. /Quote/QueryTSData:
  22328. get:
  22329. parameters:
  22330. - description: 商品代码
  22331. in: query
  22332. name: goodsCode
  22333. required: true
  22334. type: string
  22335. produces:
  22336. - application/json
  22337. responses:
  22338. "200":
  22339. description: OK
  22340. schema:
  22341. $ref: '#/definitions/quote.QueryTSDataRsp'
  22342. "500":
  22343. description: Internal Server Error
  22344. schema:
  22345. $ref: '#/definitions/app.Response'
  22346. security:
  22347. - ApiKeyAuth: []
  22348. summary: 分时图数据查询
  22349. tags:
  22350. - 行情服务
  22351. /SZDZ/QueryConvertConfig:
  22352. get:
  22353. parameters:
  22354. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  22355. 6:交易转花生米(不设置)
  22356. in: query
  22357. name: convertType
  22358. type: integer
  22359. - description: 外部商品代码[JD\PD]
  22360. in: query
  22361. name: outerGoodsCode
  22362. type: string
  22363. - description: 内部商品ID列表[交易],格式:1,2,3
  22364. in: query
  22365. name: innerGoodsIDs
  22366. type: string
  22367. produces:
  22368. - application/json
  22369. responses:
  22370. "200":
  22371. description: OK
  22372. schema:
  22373. $ref: '#/definitions/models.Szdz3convertconfig'
  22374. "500":
  22375. description: Internal Server Error
  22376. schema:
  22377. $ref: '#/definitions/app.Response'
  22378. security:
  22379. - ApiKeyAuth: []
  22380. summary: 查询交易系统转换设置
  22381. tags:
  22382. - 定制【尚志大宗】
  22383. /SZDZ/QueryConvertLog:
  22384. get:
  22385. parameters:
  22386. - description: 资金账户 - 格式:1,2,3
  22387. in: query
  22388. name: accountID
  22389. required: true
  22390. type: string
  22391. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22392. in: query
  22393. name: startDate
  22394. type: string
  22395. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22396. in: query
  22397. name: endDate
  22398. type: string
  22399. produces:
  22400. - application/json
  22401. responses:
  22402. "200":
  22403. description: OK
  22404. schema:
  22405. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  22406. "500":
  22407. description: Internal Server Error
  22408. schema:
  22409. $ref: '#/definitions/app.Response'
  22410. security:
  22411. - ApiKeyAuth: []
  22412. summary: 交易系统转换流水查询
  22413. tags:
  22414. - 定制【尚志大宗】
  22415. /SZDZ/QueryGoodsPickup:
  22416. get:
  22417. parameters:
  22418. - description: 资金账户 - 格式:1,2,3
  22419. in: query
  22420. name: accountID
  22421. required: true
  22422. type: string
  22423. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22424. in: query
  22425. name: takeOrderStatus
  22426. type: integer
  22427. produces:
  22428. - application/json
  22429. responses:
  22430. "200":
  22431. description: OK
  22432. schema:
  22433. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  22434. "500":
  22435. description: Internal Server Error
  22436. schema:
  22437. $ref: '#/definitions/app.Response'
  22438. security:
  22439. - ApiKeyAuth: []
  22440. summary: 商品提货单查询
  22441. tags:
  22442. - 定制【尚志大宗】
  22443. /SZDZ/QueryRecieptOrder:
  22444. get:
  22445. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22446. parameters:
  22447. - description: 页码
  22448. in: query
  22449. name: page
  22450. type: integer
  22451. - description: 每页条数
  22452. in: query
  22453. name: pagesize
  22454. type: integer
  22455. - description: 商品ID
  22456. in: query
  22457. name: goodsID
  22458. required: true
  22459. type: integer
  22460. - description: 所属账户名称
  22461. in: query
  22462. name: accountName
  22463. type: string
  22464. - description: 市场ID
  22465. in: query
  22466. name: marketID
  22467. type: integer
  22468. - description: 方向 - 0:买 1:卖
  22469. in: query
  22470. name: buyorsell
  22471. required: true
  22472. type: integer
  22473. produces:
  22474. - application/json
  22475. responses:
  22476. "200":
  22477. description: OK
  22478. schema:
  22479. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  22480. "500":
  22481. description: Internal Server Error
  22482. schema:
  22483. $ref: '#/definitions/app.Response'
  22484. security:
  22485. - ApiKeyAuth: []
  22486. summary: 点选挂牌委托单据查询(摘牌大厅)
  22487. tags:
  22488. - 定制【尚志大宗】
  22489. /SZDZ/QuerySZDZTradePosition:
  22490. get:
  22491. parameters:
  22492. - description: 资金账户
  22493. in: query
  22494. name: accountID
  22495. required: true
  22496. type: integer
  22497. produces:
  22498. - application/json
  22499. responses:
  22500. "200":
  22501. description: OK
  22502. schema:
  22503. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  22504. "500":
  22505. description: Internal Server Error
  22506. schema:
  22507. $ref: '#/definitions/app.Response'
  22508. security:
  22509. - ApiKeyAuth: []
  22510. summary: 持仓汇总查询(尚志大宗)
  22511. tags:
  22512. - 定制【尚志大宗】
  22513. /SZDZ/SearchWhite:
  22514. get:
  22515. parameters:
  22516. - description: 用户ID
  22517. in: query
  22518. name: userID
  22519. required: true
  22520. type: integer
  22521. produces:
  22522. - application/json
  22523. responses:
  22524. "200":
  22525. description: OK
  22526. schema:
  22527. $ref: '#/definitions/models.Szdz3searchwhitelist'
  22528. "500":
  22529. description: Internal Server Error
  22530. schema:
  22531. $ref: '#/definitions/app.Response'
  22532. security:
  22533. - ApiKeyAuth: []
  22534. summary: 搜索白名单
  22535. tags:
  22536. - 定制【尚志大宗】
  22537. /Search/SearchGoodses:
  22538. get:
  22539. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  22540. parameters:
  22541. - description: 检索内容
  22542. in: query
  22543. name: content
  22544. required: true
  22545. type: string
  22546. - description: 交易模式,格式:1,2,3
  22547. in: query
  22548. name: tradeModes
  22549. type: string
  22550. produces:
  22551. - application/json
  22552. responses:
  22553. "200":
  22554. description: OK
  22555. schema:
  22556. $ref: '#/definitions/models.SearchGoods'
  22557. "500":
  22558. description: Internal Server Error
  22559. schema:
  22560. $ref: '#/definitions/app.Response'
  22561. summary: 检索商品信息
  22562. tags:
  22563. - 检索服务
  22564. /TaAccount/GetTaAccounts:
  22565. get:
  22566. parameters:
  22567. - description: 登录账户
  22568. in: query
  22569. name: loginID
  22570. required: true
  22571. type: integer
  22572. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  22573. in: query
  22574. name: taAccountType
  22575. type: integer
  22576. produces:
  22577. - application/json
  22578. responses:
  22579. "200":
  22580. description: OK
  22581. schema:
  22582. $ref: '#/definitions/models.Taaccount'
  22583. "500":
  22584. description: Internal Server Error
  22585. schema:
  22586. $ref: '#/definitions/app.Response'
  22587. security:
  22588. - ApiKeyAuth: []
  22589. summary: 获取资金账户信息
  22590. tags:
  22591. - 资金账户
  22592. /TaAccount/QueryAmountLog:
  22593. get:
  22594. parameters:
  22595. - description: 页码
  22596. in: query
  22597. name: page
  22598. type: integer
  22599. - description: 每页条数
  22600. in: query
  22601. name: pagesize
  22602. type: integer
  22603. - description: 资金账户 - 格式:1,2,3
  22604. in: query
  22605. name: accountID
  22606. required: true
  22607. type: string
  22608. - description: 资金操作类型 - 格式:1,2,3
  22609. in: query
  22610. name: OperateType
  22611. type: string
  22612. produces:
  22613. - application/json
  22614. responses:
  22615. "200":
  22616. description: OK
  22617. schema:
  22618. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  22619. "500":
  22620. description: Internal Server Error
  22621. schema:
  22622. $ref: '#/definitions/app.Response'
  22623. security:
  22624. - ApiKeyAuth: []
  22625. summary: 资金流水查询(当前)
  22626. tags:
  22627. - 资金账户
  22628. /TaAccount/QueryHisAmountLog:
  22629. get:
  22630. parameters:
  22631. - description: 页码
  22632. in: query
  22633. name: page
  22634. type: integer
  22635. - description: 每页条数
  22636. in: query
  22637. name: pagesize
  22638. type: integer
  22639. - description: 资金账户 - 格式:1,2,3
  22640. in: query
  22641. name: accountID
  22642. required: true
  22643. type: string
  22644. - description: 资金操作类型 - 格式:1,2,3
  22645. in: query
  22646. name: OperateType
  22647. type: string
  22648. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22649. in: query
  22650. name: startDate
  22651. type: string
  22652. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22653. in: query
  22654. name: endDate
  22655. type: string
  22656. produces:
  22657. - application/json
  22658. responses:
  22659. "200":
  22660. description: OK
  22661. schema:
  22662. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  22663. "500":
  22664. description: Internal Server Error
  22665. schema:
  22666. $ref: '#/definitions/app.Response'
  22667. security:
  22668. - ApiKeyAuth: []
  22669. summary: 资金流水查询(历史)
  22670. tags:
  22671. - 资金账户
  22672. /Trade/QueryRecieptOrder:
  22673. get:
  22674. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22675. parameters:
  22676. - description: 页码
  22677. in: query
  22678. name: page
  22679. type: integer
  22680. - description: 每页条数
  22681. in: query
  22682. name: pagesize
  22683. type: integer
  22684. - description: 商品ID
  22685. in: query
  22686. name: goodsID
  22687. required: true
  22688. type: integer
  22689. - description: 所属账户名称
  22690. in: query
  22691. name: accountName
  22692. type: string
  22693. - description: 市场ID
  22694. in: query
  22695. name: marketID
  22696. type: integer
  22697. - description: 方向 - 0:买 1:卖
  22698. in: query
  22699. name: buyorsell
  22700. required: true
  22701. type: integer
  22702. produces:
  22703. - application/json
  22704. responses:
  22705. "200":
  22706. description: OK
  22707. schema:
  22708. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  22709. "500":
  22710. description: Internal Server Error
  22711. schema:
  22712. $ref: '#/definitions/app.Response'
  22713. security:
  22714. - ApiKeyAuth: []
  22715. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  22716. tags:
  22717. - 通用交易
  22718. /User/AddMessageBoard:
  22719. post:
  22720. parameters:
  22721. - description: 用户ID
  22722. in: query
  22723. name: userID
  22724. required: true
  22725. type: integer
  22726. - description: 留言信息
  22727. in: query
  22728. name: message
  22729. required: true
  22730. type: string
  22731. - description: 联系电话
  22732. in: query
  22733. name: contactNum
  22734. required: true
  22735. type: string
  22736. produces:
  22737. - application/json
  22738. responses:
  22739. "200":
  22740. description: OK
  22741. schema:
  22742. $ref: '#/definitions/app.Response'
  22743. "500":
  22744. description: Internal Server Error
  22745. schema:
  22746. $ref: '#/definitions/app.Response'
  22747. security:
  22748. - ApiKeyAuth: []
  22749. summary: 添加用户留言板信息
  22750. tags:
  22751. - 用户信息
  22752. /User/AddUserFavoriteGoods:
  22753. post:
  22754. parameters:
  22755. - description: 用户ID
  22756. in: query
  22757. name: userID
  22758. required: true
  22759. type: integer
  22760. - description: 商品ID
  22761. in: query
  22762. name: goodsID
  22763. required: true
  22764. type: integer
  22765. produces:
  22766. - application/json
  22767. responses:
  22768. "200":
  22769. description: OK
  22770. schema:
  22771. $ref: '#/definitions/app.Response'
  22772. "500":
  22773. description: Internal Server Error
  22774. schema:
  22775. $ref: '#/definitions/app.Response'
  22776. security:
  22777. - ApiKeyAuth: []
  22778. summary: 添加用户商品收藏信息
  22779. tags:
  22780. - 用户信息
  22781. /User/GetLoginID:
  22782. get:
  22783. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  22784. parameters:
  22785. - description: 登录代码
  22786. in: query
  22787. name: username
  22788. required: true
  22789. type: string
  22790. produces:
  22791. - application/json
  22792. responses:
  22793. "200":
  22794. description: OK
  22795. schema:
  22796. $ref: '#/definitions/app.Response'
  22797. "500":
  22798. description: Internal Server Error
  22799. schema:
  22800. $ref: '#/definitions/app.Response'
  22801. summary: 获取登录ID
  22802. tags:
  22803. - 用户信息
  22804. /User/GetUserAccount:
  22805. get:
  22806. parameters:
  22807. - description: 用户ID
  22808. in: query
  22809. name: userID
  22810. required: true
  22811. type: integer
  22812. produces:
  22813. - application/json
  22814. responses:
  22815. "200":
  22816. description: OK
  22817. schema:
  22818. $ref: '#/definitions/models.Useraccount'
  22819. "500":
  22820. description: Internal Server Error
  22821. schema:
  22822. $ref: '#/definitions/app.Response'
  22823. security:
  22824. - ApiKeyAuth: []
  22825. summary: 获取用户账号信息
  22826. tags:
  22827. - 用户信息
  22828. /User/GetUserAuthStatus:
  22829. get:
  22830. parameters:
  22831. - description: 用户ID
  22832. in: query
  22833. name: userID
  22834. required: true
  22835. type: integer
  22836. produces:
  22837. - application/json
  22838. responses:
  22839. "200":
  22840. description: OK
  22841. schema:
  22842. $ref: '#/definitions/app.Response'
  22843. "500":
  22844. description: Internal Server Error
  22845. schema:
  22846. $ref: '#/definitions/app.Response'
  22847. security:
  22848. - ApiKeyAuth: []
  22849. summary: 获取用户实名认证状态
  22850. tags:
  22851. - 用户信息
  22852. /User/LoginQuery:
  22853. get:
  22854. parameters:
  22855. - description: 登录账号
  22856. in: query
  22857. name: loginID
  22858. required: true
  22859. type: integer
  22860. produces:
  22861. - application/json
  22862. responses:
  22863. "200":
  22864. description: OK
  22865. schema:
  22866. $ref: '#/definitions/user.LoginQueryRsp'
  22867. "500":
  22868. description: Internal Server Error
  22869. schema:
  22870. $ref: '#/definitions/app.Response'
  22871. security:
  22872. - ApiKeyAuth: []
  22873. summary: 账户登录后信息查询
  22874. tags:
  22875. - 用户信息
  22876. /User/QueryMessageBoard:
  22877. get:
  22878. parameters:
  22879. - description: 用户ID
  22880. in: query
  22881. name: userID
  22882. required: true
  22883. type: integer
  22884. produces:
  22885. - application/json
  22886. responses:
  22887. "200":
  22888. description: OK
  22889. schema:
  22890. $ref: '#/definitions/models.Messageboard'
  22891. "500":
  22892. description: Internal Server Error
  22893. schema:
  22894. $ref: '#/definitions/app.Response'
  22895. security:
  22896. - ApiKeyAuth: []
  22897. summary: 获取用户留言板信息
  22898. tags:
  22899. - 用户信息
  22900. /User/QueryUserFavoriteGoodses:
  22901. get:
  22902. parameters:
  22903. - description: 用户ID
  22904. in: query
  22905. name: userID
  22906. required: true
  22907. type: integer
  22908. produces:
  22909. - application/json
  22910. responses:
  22911. "200":
  22912. description: OK
  22913. schema:
  22914. $ref: '#/definitions/models.Userfavoritegoods'
  22915. "500":
  22916. description: Internal Server Error
  22917. schema:
  22918. $ref: '#/definitions/app.Response'
  22919. security:
  22920. - ApiKeyAuth: []
  22921. summary: 获取用户商品收藏信息
  22922. tags:
  22923. - 用户信息
  22924. /User/QueryUserInfo:
  22925. get:
  22926. parameters:
  22927. - description: 用户ID
  22928. in: query
  22929. name: userID
  22930. required: true
  22931. type: integer
  22932. - description: 是否解密
  22933. in: query
  22934. name: isDecrypt
  22935. type: boolean
  22936. produces:
  22937. - application/json
  22938. responses:
  22939. "200":
  22940. description: OK
  22941. schema:
  22942. $ref: '#/definitions/models.Userinfo'
  22943. "500":
  22944. description: Internal Server Error
  22945. schema:
  22946. $ref: '#/definitions/app.Response'
  22947. security:
  22948. - ApiKeyAuth: []
  22949. summary: 获取用户信息
  22950. tags:
  22951. - 用户信息
  22952. /User/QueryUserReferNum:
  22953. get:
  22954. parameters:
  22955. - description: 用户ID
  22956. in: query
  22957. name: userID
  22958. required: true
  22959. type: integer
  22960. produces:
  22961. - application/json
  22962. responses:
  22963. "200":
  22964. description: OK
  22965. schema:
  22966. $ref: '#/definitions/app.Response'
  22967. "500":
  22968. description: Internal Server Error
  22969. schema:
  22970. $ref: '#/definitions/app.Response'
  22971. summary: 获取用户邀请码
  22972. tags:
  22973. - 用户信息
  22974. /User/RemoveUserFavoriteGoods:
  22975. post:
  22976. parameters:
  22977. - description: 用户ID
  22978. in: query
  22979. name: userID
  22980. required: true
  22981. type: integer
  22982. - description: 商品ID
  22983. in: query
  22984. name: goodsID
  22985. required: true
  22986. type: integer
  22987. produces:
  22988. - application/json
  22989. responses:
  22990. "200":
  22991. description: OK
  22992. schema:
  22993. $ref: '#/definitions/app.Response'
  22994. "500":
  22995. description: Internal Server Error
  22996. schema:
  22997. $ref: '#/definitions/app.Response'
  22998. security:
  22999. - ApiKeyAuth: []
  23000. summary: 移除用户商品收藏信息
  23001. tags:
  23002. - 用户信息
  23003. /User/UpdateUserAccountStatus:
  23004. post:
  23005. parameters:
  23006. - description: 用户ID
  23007. in: query
  23008. name: userID
  23009. required: true
  23010. type: integer
  23011. - description: 账户状态 - 4:正常 6:注销(停用)
  23012. in: query
  23013. name: accountStatus
  23014. required: true
  23015. type: integer
  23016. produces:
  23017. - application/json
  23018. responses:
  23019. "200":
  23020. description: OK
  23021. schema:
  23022. $ref: '#/definitions/app.Response'
  23023. "500":
  23024. description: Internal Server Error
  23025. schema:
  23026. $ref: '#/definitions/app.Response'
  23027. security:
  23028. - ApiKeyAuth: []
  23029. summary: 更新用户状态
  23030. tags:
  23031. - 用户信息
  23032. /WRTrade/GetAllDeliveryGoods:
  23033. get:
  23034. produces:
  23035. - application/json
  23036. - application/json
  23037. responses:
  23038. "200":
  23039. description: OK
  23040. schema:
  23041. $ref: '#/definitions/app.Response'
  23042. "500":
  23043. description: Internal Server Error
  23044. schema:
  23045. $ref: '#/definitions/app.Response'
  23046. security:
  23047. - ApiKeyAuth: []
  23048. - ApiKeyAuth: []
  23049. summary: 获取带仓单分类的种类信息
  23050. tags:
  23051. - 仓单贸易
  23052. - 仓单贸易
  23053. /WrTrade2/QueryFaProductDetail:
  23054. get:
  23055. description: 页面 买卖大厅 -> 选择融资方案
  23056. parameters:
  23057. - description: 仓单要素id
  23058. in: query
  23059. name: wrfactortypeid
  23060. required: true
  23061. type: integer
  23062. produces:
  23063. - application/json
  23064. responses:
  23065. "200":
  23066. description: OK
  23067. schema:
  23068. items:
  23069. $ref: '#/definitions/models.WrFAProductDetail'
  23070. type: array
  23071. "500":
  23072. description: Internal Server Error
  23073. schema:
  23074. $ref: '#/definitions/app.Response'
  23075. security:
  23076. - ApiKeyAuth: []
  23077. summary: 查询融资产品列表
  23078. tags:
  23079. - 仓单贸易v2
  23080. /WrTrade2/QueryFilterItem:
  23081. get:
  23082. parameters:
  23083. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  23084. in: query
  23085. name: itype
  23086. required: true
  23087. type: string
  23088. produces:
  23089. - application/json
  23090. responses:
  23091. "200":
  23092. description: OK
  23093. schema:
  23094. items:
  23095. $ref: '#/definitions/models.WrFilterItem'
  23096. type: array
  23097. "500":
  23098. description: Internal Server Error
  23099. schema:
  23100. $ref: '#/definitions/app.Response'
  23101. security:
  23102. - ApiKeyAuth: []
  23103. summary: 查询筛选框列表
  23104. tags:
  23105. - 仓单贸易v2
  23106. /WrTrade2/QueryHoldLB:
  23107. get:
  23108. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  23109. parameters:
  23110. - description: 资金账号
  23111. in: query
  23112. name: accountid
  23113. required: true
  23114. type: integer
  23115. - description: 仓库id
  23116. in: query
  23117. name: warehouseid
  23118. type: integer
  23119. - description: 品种id
  23120. in: query
  23121. name: deliverygoodsid
  23122. type: integer
  23123. - description: 品类id
  23124. in: query
  23125. name: wrstandardid
  23126. type: integer
  23127. produces:
  23128. - application/json
  23129. responses:
  23130. "200":
  23131. description: OK
  23132. schema:
  23133. items:
  23134. $ref: '#/definitions/models.WrHoldLB'
  23135. type: array
  23136. "500":
  23137. description: Internal Server Error
  23138. schema:
  23139. $ref: '#/definitions/app.Response'
  23140. security:
  23141. - ApiKeyAuth: []
  23142. summary: 查询仓单持有记录
  23143. tags:
  23144. - 仓单贸易v2
  23145. /WrTrade2/QueryOrderQuote:
  23146. get:
  23147. parameters:
  23148. - description: 页码
  23149. in: query
  23150. name: page
  23151. type: integer
  23152. - description: 每页条数
  23153. in: query
  23154. name: pagesize
  23155. type: integer
  23156. - description: 仓单贸易市场id
  23157. in: query
  23158. name: marketid
  23159. type: integer
  23160. - description: 价格方式 - 1:固定价 2-浮动价
  23161. in: query
  23162. name: wrpricetype
  23163. required: true
  23164. type: integer
  23165. - description: 0:仓单预售 1:仓单贸易
  23166. in: query
  23167. name: haswr
  23168. required: true
  23169. type: integer
  23170. - description: 商品名称(筛选条件)
  23171. in: query
  23172. name: wrstandardname
  23173. type: string
  23174. - description: 品牌名称(筛选条件)
  23175. in: query
  23176. name: brandname
  23177. type: string
  23178. - description: 仓库id(筛选条件)
  23179. in: query
  23180. name: warehouseid
  23181. type: integer
  23182. - description: 品种id
  23183. in: query
  23184. name: deliverygoodsid
  23185. type: integer
  23186. produces:
  23187. - application/json
  23188. responses:
  23189. "200":
  23190. description: OK
  23191. schema:
  23192. items:
  23193. $ref: '#/definitions/models.WrOrderQuote'
  23194. type: array
  23195. "500":
  23196. description: Internal Server Error
  23197. schema:
  23198. $ref: '#/definitions/app.Response'
  23199. security:
  23200. - ApiKeyAuth: []
  23201. summary: 查询大厅行情列表
  23202. tags:
  23203. - 仓单贸易v2
  23204. /WrTrade2/QueryOrderQuoteDetail:
  23205. get:
  23206. parameters:
  23207. - description: 页码
  23208. in: query
  23209. name: page
  23210. type: integer
  23211. - description: 每页条数
  23212. in: query
  23213. name: pagesize
  23214. type: integer
  23215. - description: 仓单贸易市场id
  23216. in: query
  23217. name: marketid
  23218. type: integer
  23219. - description: 价格方式 - 1:固定价 2-浮动价
  23220. in: query
  23221. name: wrpricetype
  23222. required: true
  23223. type: integer
  23224. - description: 0:仓单预售 1:仓单贸易
  23225. in: query
  23226. name: haswr
  23227. required: true
  23228. type: integer
  23229. - description: 仓单要素id
  23230. in: query
  23231. name: wrfactortypeid
  23232. required: true
  23233. type: integer
  23234. - description: 期货商品id(浮动价方式时填)
  23235. in: query
  23236. name: goodsid
  23237. type: integer
  23238. - description: 买卖方向 0-买 1-卖
  23239. in: query
  23240. name: buyorsell
  23241. required: true
  23242. type: integer
  23243. produces:
  23244. - application/json
  23245. responses:
  23246. "200":
  23247. description: OK
  23248. schema:
  23249. items:
  23250. $ref: '#/definitions/models.WrOrderQuoteDetail'
  23251. type: array
  23252. "500":
  23253. description: Internal Server Error
  23254. schema:
  23255. $ref: '#/definitions/app.Response'
  23256. security:
  23257. - ApiKeyAuth: []
  23258. summary: 查询买卖大厅
  23259. tags:
  23260. - 仓单贸易v2
  23261. /WrTrade2/QueryPerformancePlan:
  23262. get:
  23263. parameters:
  23264. - description: 用户id
  23265. in: query
  23266. name: userid
  23267. required: true
  23268. type: integer
  23269. - description: 买卖方向 0-买 1-卖
  23270. in: query
  23271. name: buyorsell
  23272. required: true
  23273. type: integer
  23274. produces:
  23275. - application/json
  23276. responses:
  23277. "200":
  23278. description: OK
  23279. schema:
  23280. items:
  23281. $ref: '#/definitions/models.WrPerformancePlan'
  23282. type: array
  23283. "500":
  23284. description: Internal Server Error
  23285. schema:
  23286. $ref: '#/definitions/app.Response'
  23287. security:
  23288. - ApiKeyAuth: []
  23289. summary: 查询履约信息
  23290. tags:
  23291. - 仓单贸易v2
  23292. /WrTrade2/QueryWrFactorTypeInfo:
  23293. get:
  23294. parameters:
  23295. - description: 仓单要素id
  23296. in: query
  23297. name: wrfactortypeid
  23298. required: true
  23299. type: integer
  23300. produces:
  23301. - application/json
  23302. responses:
  23303. "200":
  23304. description: OK
  23305. schema:
  23306. items:
  23307. $ref: '#/definitions/models.WrFactorTypeInfo'
  23308. type: array
  23309. "500":
  23310. description: Internal Server Error
  23311. schema:
  23312. $ref: '#/definitions/app.Response'
  23313. security:
  23314. - ApiKeyAuth: []
  23315. summary: 查询仓单要素详细信息
  23316. tags:
  23317. - 仓单贸易v2
  23318. /WrTrade2/QueryWrGoodsInfo:
  23319. get:
  23320. parameters:
  23321. - description: 仓单贸易市场id
  23322. in: query
  23323. name: marketid
  23324. type: integer
  23325. - description: 0:仓单预售 1:仓单贸易
  23326. in: query
  23327. name: haswr
  23328. required: true
  23329. type: integer
  23330. - description: 仓单要素id
  23331. in: query
  23332. name: wrfactortypeid
  23333. required: true
  23334. type: integer
  23335. produces:
  23336. - application/json
  23337. responses:
  23338. "200":
  23339. description: OK
  23340. schema:
  23341. items:
  23342. $ref: '#/definitions/models.WrGoodsInfo'
  23343. type: array
  23344. "500":
  23345. description: Internal Server Error
  23346. schema:
  23347. $ref: '#/definitions/app.Response'
  23348. security:
  23349. - ApiKeyAuth: []
  23350. summary: 查询仓单商品信息
  23351. tags:
  23352. - 仓单贸易v2
  23353. /WrTrade2/QueryWrOrderDetail:
  23354. get:
  23355. description: 页面 现货仓单 | 预售仓单 -> 挂单
  23356. parameters:
  23357. - description: 页码
  23358. in: query
  23359. name: page
  23360. type: integer
  23361. - description: 每页条数
  23362. in: query
  23363. name: pagesize
  23364. type: integer
  23365. - description: 用户id
  23366. in: query
  23367. name: userid
  23368. required: true
  23369. type: integer
  23370. - description: 仓单贸易市场id
  23371. in: query
  23372. name: marketid
  23373. type: integer
  23374. - description: 0:仓单预售 1:仓单贸易
  23375. in: query
  23376. name: haswr
  23377. required: true
  23378. type: integer
  23379. produces:
  23380. - application/json
  23381. responses:
  23382. "200":
  23383. description: OK
  23384. schema:
  23385. items:
  23386. $ref: '#/definitions/models.WrOrderDetail'
  23387. type: array
  23388. "500":
  23389. description: Internal Server Error
  23390. schema:
  23391. $ref: '#/definitions/app.Response'
  23392. security:
  23393. - ApiKeyAuth: []
  23394. summary: 查询仓单委托单(挂单)
  23395. tags:
  23396. - 仓单贸易v2
  23397. /WrTrade2/QueryWrPosition:
  23398. get:
  23399. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  23400. parameters:
  23401. - description: 用户id
  23402. in: query
  23403. name: userid
  23404. required: true
  23405. type: integer
  23406. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  23407. in: query
  23408. name: querytype
  23409. required: true
  23410. type: integer
  23411. - description: 0:仓单预售 1:仓单贸易
  23412. in: query
  23413. name: haswr
  23414. required: true
  23415. type: integer
  23416. produces:
  23417. - application/json
  23418. responses:
  23419. "200":
  23420. description: OK
  23421. schema:
  23422. items:
  23423. $ref: '#/definitions/models.WrPosition'
  23424. type: array
  23425. "500":
  23426. description: Internal Server Error
  23427. schema:
  23428. $ref: '#/definitions/app.Response'
  23429. security:
  23430. - ApiKeyAuth: []
  23431. summary: 查询现货(预售)仓单持仓
  23432. tags:
  23433. - 仓单贸易v2
  23434. /WrTrade2/QueryWrSpecialMatchOrder:
  23435. get:
  23436. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  23437. parameters:
  23438. - description: 页码
  23439. in: query
  23440. name: page
  23441. type: integer
  23442. - description: 每页条数
  23443. in: query
  23444. name: pagesize
  23445. type: integer
  23446. - description: 用户id
  23447. in: query
  23448. name: userid
  23449. required: true
  23450. type: integer
  23451. - description: 仓单贸易市场id
  23452. in: query
  23453. name: marketid
  23454. type: integer
  23455. - description: 0:仓单预售 1:仓单贸易
  23456. in: query
  23457. name: haswr
  23458. required: true
  23459. type: integer
  23460. produces:
  23461. - application/json
  23462. responses:
  23463. "200":
  23464. description: OK
  23465. schema:
  23466. items:
  23467. $ref: '#/definitions/models.WrSpecialMatchOrder'
  23468. type: array
  23469. "500":
  23470. description: Internal Server Error
  23471. schema:
  23472. $ref: '#/definitions/app.Response'
  23473. security:
  23474. - ApiKeyAuth: []
  23475. summary: 查询指定成交
  23476. tags:
  23477. - 仓单贸易v2
  23478. /WrTrade2/QueryWrTradeDetail:
  23479. get:
  23480. parameters:
  23481. - description: 页码
  23482. in: query
  23483. name: page
  23484. type: integer
  23485. - description: 每页条数
  23486. in: query
  23487. name: pagesize
  23488. type: integer
  23489. - description: 用户id
  23490. in: query
  23491. name: userid
  23492. required: true
  23493. type: integer
  23494. - description: 仓单贸易市场id
  23495. in: query
  23496. name: marketid
  23497. type: integer
  23498. - description: 0:仓单预售 1:仓单贸易
  23499. in: query
  23500. name: haswr
  23501. required: true
  23502. type: integer
  23503. produces:
  23504. - application/json
  23505. responses:
  23506. "200":
  23507. description: OK
  23508. schema:
  23509. items:
  23510. $ref: '#/definitions/models.WrTradeDetail'
  23511. type: array
  23512. "500":
  23513. description: Internal Server Error
  23514. schema:
  23515. $ref: '#/definitions/app.Response'
  23516. security:
  23517. - ApiKeyAuth: []
  23518. summary: 查询仓单成交明细
  23519. tags:
  23520. - 仓单贸易v2
  23521. securityDefinitions:
  23522. ApiKeyAuth:
  23523. in: header
  23524. name: Authorization
  23525. type: apiKey
  23526. swagger: "2.0"