swagger.yaml 681 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631
  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. username:
  4030. description: 交易用户
  4031. type: string
  4032. wrstandardcode:
  4033. description: 品类代码
  4034. type: string
  4035. wrstandardid:
  4036. description: 品类id
  4037. type: integer
  4038. wrstandardname:
  4039. description: 品类名称
  4040. type: string
  4041. type: object
  4042. models.Ermcp3ExposureDetail:
  4043. properties:
  4044. areauserid:
  4045. description: 机构ID
  4046. type: integer
  4047. changeQty:
  4048. description: 套保变动量
  4049. type: number
  4050. contracttype:
  4051. description: 现货合同类型 - 1:采购 -1:销售
  4052. type: integer
  4053. convertfactor:
  4054. description: 标仓系数
  4055. type: number
  4056. convertratio:
  4057. description: 套保系数
  4058. type: number
  4059. createtime:
  4060. description: 时间
  4061. type: string
  4062. deliverygoodscode:
  4063. description: 现货品种代码
  4064. type: string
  4065. deliverygoodsid:
  4066. description: 现货品种id
  4067. type: integer
  4068. deliverygoodsname:
  4069. description: 现货品种名称
  4070. type: string
  4071. enumdicname:
  4072. description: 现货商品单位名称
  4073. type: string
  4074. logtype:
  4075. description: 类型 - 1:套保计划 2:现货合同
  4076. type: integer
  4077. mgunitid:
  4078. description: 套保品种单位id
  4079. type: integer
  4080. mgunitidname:
  4081. description: 套保品种单位名称
  4082. type: string
  4083. middlegoodsId:
  4084. description: 套保商品id
  4085. type: integer
  4086. middlegoodscode:
  4087. description: 套保商品代码
  4088. type: string
  4089. middlegoodsname:
  4090. description: 套保商品名称
  4091. type: string
  4092. qty:
  4093. description: 数量
  4094. type: number
  4095. relateNo:
  4096. description: 现货合同/套保计划编号
  4097. type: string
  4098. type: object
  4099. models.Ermcp3ExposureFutuDetail:
  4100. properties:
  4101. accountid:
  4102. description: 交易账户id
  4103. type: integer
  4104. accountname:
  4105. description: 交易账户
  4106. type: string
  4107. begindate:
  4108. description: 开始交易日
  4109. type: string
  4110. buyorsell:
  4111. description: 方向 0-买 1-卖
  4112. type: integer
  4113. diffmgqty:
  4114. description: 套保品种今变化量
  4115. type: number
  4116. diffneedqty:
  4117. description: 应套保总量变化量
  4118. type: number
  4119. difftradeqty:
  4120. description: 交易品种今变化量
  4121. type: number
  4122. enddate:
  4123. description: 结束交易日
  4124. type: string
  4125. enumdicname:
  4126. description: 单位名称
  4127. type: string
  4128. goodscode:
  4129. description: 商品代码
  4130. type: string
  4131. goodsid:
  4132. description: 商品id
  4133. type: integer
  4134. goodsname:
  4135. description: 商品名称
  4136. type: string
  4137. holdqty:
  4138. description: 期末持仓量
  4139. type: number
  4140. middlegoodscode:
  4141. description: 套保商品代码
  4142. type: string
  4143. middlegoodsid:
  4144. description: 套保商品id
  4145. type: integer
  4146. middlegoodsname:
  4147. description: 套保商品名称
  4148. type: string
  4149. oriholdqty:
  4150. description: 期初持仓量
  4151. type: number
  4152. todaycloseqty:
  4153. description: 今平仓量
  4154. type: number
  4155. todayopenqty:
  4156. description: 今开仓量
  4157. type: number
  4158. tradedate:
  4159. description: 交易日
  4160. type: string
  4161. type: object
  4162. models.Ermcp3ExposureHedgeplanDetail:
  4163. properties:
  4164. biztype:
  4165. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4166. type: integer
  4167. changqty:
  4168. description: 应套保总量变化量
  4169. type: number
  4170. contracttype:
  4171. description: 计划类型 - 1:采购 -1:销售
  4172. type: integer
  4173. convertratio:
  4174. description: 折算系数(套保品种)
  4175. type: number
  4176. deliverygoodscode:
  4177. description: 现货商品代码
  4178. type: string
  4179. deliverygoodsid:
  4180. description: 现货商品id
  4181. type: integer
  4182. deliverygoodsname:
  4183. description: 现货商吕名称
  4184. type: string
  4185. dgunitid:
  4186. description: 现货商品单位id
  4187. type: integer
  4188. dgunitidname:
  4189. description: 单位名称(现货商品)
  4190. type: string
  4191. diffqty:
  4192. description: 套保品种今变动量
  4193. type: number
  4194. enumdicname:
  4195. description: 单位名称(品类)
  4196. type: string
  4197. hedgeplanid:
  4198. description: 套保计划id
  4199. type: string
  4200. hedgeplanno:
  4201. description: 套保计划名称
  4202. type: string
  4203. hedgeplanstatus:
  4204. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4205. type: integer
  4206. mgunitidname:
  4207. description: 单位名称(套保商品)
  4208. type: string
  4209. middlegoodscode:
  4210. description: 套保品种代码
  4211. type: string
  4212. middlegoodsid:
  4213. description: 套保品种id
  4214. type: integer
  4215. middlegoodsname:
  4216. description: 套保品种名称
  4217. type: string
  4218. needarbitrageratio:
  4219. description: 应套利比例
  4220. type: number
  4221. needhedgeratio:
  4222. description: 应套保比例
  4223. type: number
  4224. pricedqty:
  4225. description: 已定价量
  4226. type: number
  4227. qty:
  4228. description: 合同量
  4229. type: number
  4230. tradedate:
  4231. description: 交易日(登记日)
  4232. type: string
  4233. unitid:
  4234. description: 品类单位id
  4235. type: integer
  4236. userid:
  4237. description: 机构id
  4238. type: integer
  4239. wrstandardcode:
  4240. description: 品类代码
  4241. type: string
  4242. wrstandardid:
  4243. description: 品类id
  4244. type: integer
  4245. wrstandardname:
  4246. description: 品类名称
  4247. type: string
  4248. type: object
  4249. models.Ermcp3ExposureParamChLog:
  4250. properties:
  4251. accountid:
  4252. description: 期货账户ID (作废, 默认为0)
  4253. type: integer
  4254. aftervalue:
  4255. description: 应套保\套利量变更后(调整后应套保总量)
  4256. type: number
  4257. areauserid:
  4258. description: 所属机构\交易用户ID
  4259. type: integer
  4260. beforevalue:
  4261. description: 应套保\套利量变更前(调整前应套保总量)
  4262. type: number
  4263. begindate:
  4264. description: 开始交易日
  4265. type: string
  4266. changelogtype:
  4267. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4268. type: integer
  4269. curvalue:
  4270. description: 当前套保\套利量(套保总量|套利总量)
  4271. type: number
  4272. diffvalue:
  4273. description: 应套保总量变化量
  4274. type: number
  4275. enddate:
  4276. description: 结束交易日
  4277. type: string
  4278. logdatetime:
  4279. description: 流水日期
  4280. type: string
  4281. logid:
  4282. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4283. type: string
  4284. middlegoodscode:
  4285. description: 套保品种代码
  4286. type: string
  4287. middlegoodsid:
  4288. description: 套保品种
  4289. type: integer
  4290. middlegoodsname:
  4291. description: 套保品种名称
  4292. type: string
  4293. paramaftervalue:
  4294. description: 参数变更后(调整后参数值)
  4295. type: number
  4296. parambeforevalue:
  4297. description: 参数变更前(调整前参数值)
  4298. type: number
  4299. tradedate:
  4300. description: 交易日(yyyyMMdd)
  4301. type: string
  4302. type: object
  4303. models.Ermcp3ExpourseReport:
  4304. properties:
  4305. accountid:
  4306. description: 期货账户ID (作废, 默认为0)
  4307. type: integer
  4308. accountname:
  4309. description: 机构名称
  4310. type: string
  4311. arbitrageqty:
  4312. description: 套利量
  4313. type: number
  4314. areauserid:
  4315. description: 所属机构\交易用户ID
  4316. type: integer
  4317. begindate:
  4318. description: 开始交易日
  4319. type: string
  4320. buyfutureqty:
  4321. description: 买入期货数量
  4322. type: number
  4323. buyplanqty:
  4324. description: 采购计划数量
  4325. type: number
  4326. buypricedqty:
  4327. description: 采购合同已定价数量
  4328. type: number
  4329. cycletime:
  4330. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4331. type: string
  4332. cycletype:
  4333. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4334. type: integer
  4335. diffexposure:
  4336. description: 变动量(套保敞口)
  4337. type: number
  4338. difffutuqty:
  4339. description: 变动量(期货)
  4340. type: number
  4341. diffhedgeqty:
  4342. description: 变动量(现货应套保总量)
  4343. type: number
  4344. diffmgqtya:
  4345. description: 套保变动量
  4346. type: number
  4347. diffmgqtyb:
  4348. description: 套利变动量
  4349. type: number
  4350. diffqty:
  4351. description: 变动量(总敞口)
  4352. type: number
  4353. diffspotqty:
  4354. description: 变动量(现货)
  4355. type: number
  4356. enddate:
  4357. description: 结束交易日
  4358. type: string
  4359. enumdicname:
  4360. description: 单位名称
  4361. type: string
  4362. hedgeqty:
  4363. description: 套保量
  4364. type: number
  4365. mgneedhedgeratio:
  4366. description: 套保比例(套保品的)
  4367. type: number
  4368. middlegoodsid:
  4369. description: 套保品种ID
  4370. type: integer
  4371. middlegoodsname:
  4372. description: 套保商品名称
  4373. type: string
  4374. middlgoodscode:
  4375. description: 套保商品代码
  4376. type: string
  4377. needarbitrageqty:
  4378. description: 应套利量
  4379. type: number
  4380. needarbitrageratio:
  4381. description: 套利比例(套保品的)
  4382. type: number
  4383. needhedgeexposoure:
  4384. description: 应套保敞口(套保敞口)
  4385. type: number
  4386. needhedgeqty:
  4387. description: 应套保量
  4388. type: number
  4389. needhedgeratio:
  4390. description: 应套保敞口比例
  4391. type: number
  4392. oriarbitrageqty:
  4393. description: 期初套利量
  4394. type: number
  4395. oribuyfutureqty:
  4396. description: 期初买入期货数量
  4397. type: number
  4398. oribuyplanqty:
  4399. description: 期初采购计划数量
  4400. type: number
  4401. oribuypricedqty:
  4402. description: 期初采购合同已定价数量
  4403. type: number
  4404. orihedgeqty:
  4405. description: 期初套保量
  4406. type: number
  4407. orineedarbitrageqty:
  4408. description: 期初应套利量
  4409. type: number
  4410. orineedhedgeexposoure:
  4411. description: 期初应套保敞口
  4412. type: number
  4413. orineedhedgeqty:
  4414. description: 期初应套保量
  4415. type: number
  4416. orisellfutureqty:
  4417. description: 期初卖出期货数量
  4418. type: number
  4419. orisellplanqty:
  4420. description: 期初销售计划数量
  4421. type: number
  4422. orisellpricedqty:
  4423. description: 期初销售合同已定价数量
  4424. type: number
  4425. oritotalexposure:
  4426. description: 期初实时总敞口
  4427. type: number
  4428. oritotalfutureqty:
  4429. description: 期初期货头寸总量
  4430. type: number
  4431. oritotalneedhedgeqty:
  4432. description: 期初应套保总量
  4433. type: number
  4434. oritotalspotqty:
  4435. description: 期初现货头寸总量
  4436. type: number
  4437. reckondate:
  4438. description: 日照时期(yyyyMMdd)
  4439. type: string
  4440. sellfutureqty:
  4441. description: 卖出期货数量
  4442. type: number
  4443. sellplanqty:
  4444. description: 销售计划数量
  4445. type: number
  4446. sellpricedqty:
  4447. description: 销售合同已定价数量
  4448. type: number
  4449. totalexposure:
  4450. description: 实时总敞口(总敞口)
  4451. type: number
  4452. totalfutureqty:
  4453. description: 期货头寸总量(期货总量)
  4454. type: number
  4455. totalhedgeratio:
  4456. description: 敞口比例
  4457. type: number
  4458. totalneedhedgeqty:
  4459. description: 应套保总量(现货应套保总量)
  4460. type: number
  4461. totalspotqty:
  4462. description: 现货头寸总量
  4463. type: number
  4464. unitid:
  4465. description: 单位id
  4466. type: integer
  4467. updatetime:
  4468. description: 更新时间
  4469. type: string
  4470. type: object
  4471. models.Ermcp3FinanceReport:
  4472. properties:
  4473. accountname:
  4474. description: 机构名称
  4475. type: string
  4476. areauserid:
  4477. description: 所属机构\交易用户ID
  4478. type: integer
  4479. begindate:
  4480. description: 开始交易日
  4481. type: string
  4482. biztype:
  4483. description: 业务类型 - 1:套保 2:套利
  4484. type: integer
  4485. brandname:
  4486. description: 品牌名称
  4487. type: string
  4488. buypreinvoicedamount:
  4489. description: 采购预收票额(预收票额)
  4490. type: number
  4491. buyprepaidamount:
  4492. description: 采购预付款额(预付货款额)
  4493. type: number
  4494. buytodayinvoiceamount:
  4495. description: 采购今收票额(今收票额)
  4496. type: number
  4497. buytodayrefundamount:
  4498. description: 采购今收退款额(今收退款额)
  4499. type: number
  4500. buytodaysettleamount:
  4501. description: 采购今付款额(今付货款额)
  4502. type: number
  4503. buyuninvoicedamount:
  4504. description: 采购应收票额(应收票额)
  4505. type: number
  4506. buyunpaidamount:
  4507. description: 采购应付款额(应付货款额)
  4508. type: number
  4509. currencyid:
  4510. description: 结算币种ID
  4511. type: integer
  4512. currencyname:
  4513. description: 币种名称
  4514. type: string
  4515. cycletime:
  4516. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4517. type: string
  4518. cycletype:
  4519. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4520. type: integer
  4521. deliverygoodscode:
  4522. description: 现货品种代码
  4523. type: string
  4524. deliverygoodsid:
  4525. description: 现货品种ID
  4526. type: integer
  4527. deliverygoodsname:
  4528. description: 现货品种名称
  4529. type: string
  4530. enddate:
  4531. description: 结束交易日
  4532. type: string
  4533. reckondate:
  4534. description: 日照时期(yyyyMMdd)
  4535. type: string
  4536. sellpreinvoicedamount:
  4537. description: 销售预开票额(预开票额)
  4538. type: number
  4539. sellprepaidamount:
  4540. description: 销售预收款额(预收货款额)
  4541. type: number
  4542. selltodayinvoiceamount:
  4543. description: 销售今开票额(今开票额)
  4544. type: number
  4545. selltodayrefundamount:
  4546. description: 销售今付退款额(今付退款额)
  4547. type: number
  4548. selltodaysettleamount:
  4549. description: 销售今收款额(今收货款额)
  4550. type: number
  4551. selluninvoicedamount:
  4552. description: 销售应开票额(应开票额)
  4553. type: number
  4554. sellunpaidamount:
  4555. description: 销售应收款额(应收货款额)
  4556. type: number
  4557. spotgoodsbrandid:
  4558. description: 现货品牌ID
  4559. type: integer
  4560. todaypaysum:
  4561. description: 今付款合计
  4562. type: number
  4563. todayreceivesum:
  4564. description: 今收款合计
  4565. type: number
  4566. updatetime:
  4567. description: 更新时间
  4568. type: string
  4569. wrfactortypeid:
  4570. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4571. type: integer
  4572. wrstandardcode:
  4573. description: 品类代码
  4574. type: string
  4575. wrstandardid:
  4576. description: 现货商品ID
  4577. type: integer
  4578. wrstandardname:
  4579. description: 品类名称
  4580. type: string
  4581. type: object
  4582. models.Ermcp3Goods:
  4583. properties:
  4584. agreeunit:
  4585. description: 合约单位(合约乘数)
  4586. type: number
  4587. enumdicname:
  4588. description: 单位名称
  4589. type: string
  4590. exexchangecode:
  4591. description: 交易所代码
  4592. type: string
  4593. goodscode:
  4594. description: 期货商品代码
  4595. type: string
  4596. goodsid:
  4597. description: 期货商品id
  4598. type: integer
  4599. goodsname:
  4600. description: 期货商品名称
  4601. type: string
  4602. type: object
  4603. models.Ermcp3GoodsGroup:
  4604. properties:
  4605. agreeunit:
  4606. description: 合约单位
  4607. type: number
  4608. areauserid:
  4609. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4610. type: integer
  4611. canshort:
  4612. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4613. type: integer
  4614. closepricemode:
  4615. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4616. type: integer
  4617. createtime:
  4618. description: 创建时间
  4619. type: string
  4620. creatorid:
  4621. description: 创建人
  4622. type: integer
  4623. currencyid:
  4624. description: 报价货币ID
  4625. type: integer
  4626. decimalplace:
  4627. description: 报价小数位
  4628. type: integer
  4629. enumdicname:
  4630. description: 单位名称
  4631. type: string
  4632. exchangefullname:
  4633. description: 交易所全称
  4634. type: string
  4635. excludecfg:
  4636. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4637. type: integer
  4638. exexchangecode:
  4639. description: 交易所代码
  4640. type: string
  4641. exexchangeid:
  4642. description: 外部交易所ID[通道交易]
  4643. type: integer
  4644. exexchangename:
  4645. description: 交易所名称
  4646. type: string
  4647. goodsgroupid:
  4648. description: 商品组ID(自增ID)
  4649. type: integer
  4650. goodsgroupname:
  4651. description: 商品组名称
  4652. type: string
  4653. goodsgroupstatus:
  4654. description: 商品组状态 - 1:正常 2:注销
  4655. type: integer
  4656. goodunitid:
  4657. description: 报价单位ID
  4658. type: integer
  4659. groupcategroyid:
  4660. description: 品种分类ID
  4661. type: integer
  4662. innerdealmode:
  4663. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4664. type: integer
  4665. marketid:
  4666. description: 所属市场ID
  4667. type: integer
  4668. modifierid:
  4669. description: 修改人
  4670. type: integer
  4671. modifytime:
  4672. description: 修改时间
  4673. type: string
  4674. outerdealmode:
  4675. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4676. type: integer
  4677. outergroupcode:
  4678. description: 外部商品组代码[通道交易]
  4679. type: string
  4680. quoteminunit:
  4681. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4682. type: integer
  4683. quotesourcegroupid:
  4684. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4685. type: integer
  4686. syncgoodsqty:
  4687. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4688. type: integer
  4689. required:
  4690. - areauserid
  4691. type: object
  4692. models.Ermcp3GoodsGroupEx:
  4693. properties:
  4694. convertratio:
  4695. description: 折算系数(品种系数)
  4696. type: number
  4697. enumdicname:
  4698. description: 单位名称
  4699. type: string
  4700. exexchangecode:
  4701. description: 交易所代码
  4702. type: string
  4703. glist:
  4704. description: 合约列表
  4705. items:
  4706. $ref: '#/definitions/models.Ermcp3Goods'
  4707. type: array
  4708. goodsgroupid:
  4709. description: 商品组id
  4710. type: integer
  4711. goodsgroupname:
  4712. description: 商品组名称
  4713. type: string
  4714. goodsunitid:
  4715. description: 单位id
  4716. type: integer
  4717. middlegoodsid:
  4718. description: 套保商品id
  4719. type: integer
  4720. type: object
  4721. models.Ermcp3HedgePlan:
  4722. properties:
  4723. accountid:
  4724. description: 资金账号
  4725. type: integer
  4726. areauserid:
  4727. description: 用户ID
  4728. type: integer
  4729. auditid:
  4730. description: 审核id
  4731. type: integer
  4732. auditname:
  4733. description: 审核人名称
  4734. type: string
  4735. auditremark:
  4736. description: 审核备注
  4737. type: string
  4738. auditsrc:
  4739. description: 审核来源 1-管理端 2-终端
  4740. type: integer
  4741. audittime:
  4742. description: 审核时间
  4743. type: string
  4744. contracttype:
  4745. description: 计划类型 - 1:采购 -1:销售
  4746. type: integer
  4747. convertfactor:
  4748. description: 标仓系数
  4749. type: number
  4750. createtime:
  4751. description: 创建时间
  4752. type: string
  4753. currencyid:
  4754. description: 币种id
  4755. type: integer
  4756. currencyname:
  4757. description: 币种名称
  4758. type: string
  4759. deliverygoodscode:
  4760. description: 现货品种代码
  4761. type: string
  4762. deliverygoodsid:
  4763. description: 现货品种ID
  4764. type: integer
  4765. deliverygoodsname:
  4766. description: 现货品种名称
  4767. type: string
  4768. enumdicname:
  4769. description: 单位名称(现货商品)
  4770. type: string
  4771. hedgeplanid:
  4772. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4773. type: string
  4774. hedgeplanno:
  4775. description: 套保计划编号(名称)
  4776. type: string
  4777. hedgeplanstatus:
  4778. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4779. type: integer
  4780. planqty:
  4781. description: 计划数量
  4782. type: number
  4783. plantime:
  4784. description: 计划时间
  4785. type: string
  4786. producttype:
  4787. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4788. type: integer
  4789. remark:
  4790. description: 备注
  4791. type: string
  4792. spotgoodsdesc:
  4793. description: 商品型号
  4794. type: string
  4795. taaccountname:
  4796. description: 资金账号名称
  4797. type: string
  4798. tradeuserid:
  4799. description: 交易用户id
  4800. type: integer
  4801. tradeusername:
  4802. description: 交易用户名称
  4803. type: string
  4804. unitid:
  4805. description: 单位id(现货商品)
  4806. type: integer
  4807. updatetime:
  4808. description: 更新时间
  4809. type: string
  4810. wrstandardcode:
  4811. description: 品类代码
  4812. type: string
  4813. wrstandardid:
  4814. description: 品类id
  4815. type: integer
  4816. wrstandardname:
  4817. description: 品类名称
  4818. type: string
  4819. wrunitid:
  4820. description: 品类单位id
  4821. type: integer
  4822. wrunitidame:
  4823. description: 品类单位名称
  4824. type: string
  4825. type: object
  4826. models.Ermcp3MiddleGoodsDetail2:
  4827. properties:
  4828. convertratio:
  4829. description: 套保系数(折算系数)
  4830. type: number
  4831. gplist:
  4832. description: 关联商品组列表
  4833. items:
  4834. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4835. type: array
  4836. mg:
  4837. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4838. description: 套保商品信息
  4839. type: object
  4840. type: object
  4841. models.Ermcp3MiddleGoodsDetailEx:
  4842. properties:
  4843. dglist:
  4844. description: 关联的现货品种列表
  4845. items:
  4846. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4847. type: array
  4848. gplist:
  4849. description: 关联商品组列表
  4850. items:
  4851. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4852. type: array
  4853. mg:
  4854. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4855. description: 套保商品信息
  4856. type: object
  4857. type: object
  4858. models.Ermcp3RootUserAccount:
  4859. properties:
  4860. accountname:
  4861. description: 账户名称(机构名称)
  4862. type: string
  4863. accountstatus:
  4864. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4865. type: integer
  4866. applysrc:
  4867. description: 申请来源 - 1:管理端 2:终端
  4868. type: integer
  4869. auditremark:
  4870. description: 审核备注
  4871. type: string
  4872. auditsrc:
  4873. description: 审核来源 - 1:管理端 2:终端
  4874. type: integer
  4875. audittime:
  4876. description: 审核时间
  4877. type: string
  4878. audituserid:
  4879. description: 审核人
  4880. type: integer
  4881. broker:
  4882. description: 所属经纪人ID
  4883. type: integer
  4884. canceltime:
  4885. description: 销户时间
  4886. type: string
  4887. canceluserid:
  4888. description: 销户人
  4889. type: integer
  4890. canrecommend:
  4891. description: 是否可推荐 - 0:不可 1;可
  4892. type: integer
  4893. createtime:
  4894. description: 创建时间
  4895. type: string
  4896. creatorid:
  4897. description: 创建人
  4898. type: integer
  4899. hasauth:
  4900. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4901. type: integer
  4902. isanonymous:
  4903. description: 是否匿名下单 - 0:否 1:是
  4904. type: integer
  4905. maxinvestornum:
  4906. description: 最大用户数(经纪会员下投资者个数)
  4907. type: integer
  4908. memberuserid:
  4909. description: 所属会员ID
  4910. type: integer
  4911. modifierid:
  4912. description: 修改人
  4913. type: integer
  4914. modifyremark:
  4915. description: 变更备注
  4916. type: string
  4917. modifystatus:
  4918. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4919. type: integer
  4920. modifytime:
  4921. description: 修改时间
  4922. type: string
  4923. parenttopuser:
  4924. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4925. type: string
  4926. parentuserid:
  4927. description: 所属机构ID
  4928. type: integer
  4929. reckonaccountid:
  4930. description: 默认结算资金账号ID(机构分润使用) 作废
  4931. type: integer
  4932. refercount:
  4933. description: 推荐总人数
  4934. type: integer
  4935. refereeuserid:
  4936. description: 推荐人ID
  4937. type: integer
  4938. refernum:
  4939. description: 推荐码
  4940. type: string
  4941. rootuserid:
  4942. description: 根用户ID
  4943. type: integer
  4944. subaccountlevel:
  4945. description: 子账户层数
  4946. type: integer
  4947. subarealevelpath:
  4948. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4949. type: string
  4950. userid:
  4951. description: 用户ID
  4952. type: integer
  4953. usertype:
  4954. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4955. type: integer
  4956. type: object
  4957. models.Ermcp3SellBuyContract:
  4958. properties:
  4959. accountid:
  4960. description: 期货账户id
  4961. type: string
  4962. accountname:
  4963. description: 账户名称
  4964. type: string
  4965. attachment:
  4966. description: 附件
  4967. type: string
  4968. audittime:
  4969. description: 审核时间
  4970. type: string
  4971. biztype:
  4972. description: 业务类型 1-套保 2-套利
  4973. type: integer
  4974. brandname:
  4975. description: 品牌名称
  4976. type: string
  4977. contracctstatus:
  4978. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4979. type: integer
  4980. contractmargin:
  4981. description: 合同保证金
  4982. type: number
  4983. contractno:
  4984. description: 合同编号
  4985. type: string
  4986. contracttype:
  4987. description: 合同类型 1-采购, -1-销售
  4988. type: integer
  4989. convertfactor:
  4990. description: 标仓系数(品类)
  4991. type: number
  4992. createtime:
  4993. description: 创建时间
  4994. type: string
  4995. currencyid:
  4996. description: 币种id
  4997. type: integer
  4998. currencyname:
  4999. description: 币种名称
  5000. type: string
  5001. daikaiamount:
  5002. description: 应收(开)票额
  5003. type: number
  5004. deliveryenddate:
  5005. description: 交割结束日
  5006. type: string
  5007. deliverygoodscode:
  5008. description: 现货品种代码
  5009. type: string
  5010. deliverygoodsid:
  5011. description: 现货商品ID
  5012. type: integer
  5013. deliverygoodsname:
  5014. description: 现货品种名称
  5015. type: string
  5016. deliverystartdate:
  5017. description: 交割开始日
  5018. type: string
  5019. enddate:
  5020. description: 点价结束日
  5021. type: string
  5022. enumdicname:
  5023. description: 单位名称
  5024. type: string
  5025. goodscode:
  5026. description: 点价商品代码
  5027. type: string
  5028. goodsid:
  5029. description: 点价商品ID
  5030. type: integer
  5031. goodsname:
  5032. description: 点价商品名称
  5033. type: string
  5034. invoiceamount:
  5035. description: 已开票额
  5036. type: number
  5037. loanamount:
  5038. description: 贷款总额=已定价额+调整金额
  5039. type: number
  5040. margin:
  5041. description: 保证金
  5042. type: number
  5043. meruserid:
  5044. description: 跟单员id
  5045. type: integer
  5046. meruserlogincode:
  5047. description: 跟单员登录代码
  5048. type: string
  5049. merusername:
  5050. description: 跟单员名称
  5051. type: string
  5052. nickname:
  5053. description: 账户昵称
  5054. type: string
  5055. payamount:
  5056. description: 已收付额(收款或付款)
  5057. type: number
  5058. preinvoiceamount:
  5059. description: 预收(开)票额
  5060. type: number
  5061. prepayamount:
  5062. description: 预收付额
  5063. type: number
  5064. price:
  5065. description: 价格
  5066. type: number
  5067. pricedamount:
  5068. description: 已定价额
  5069. type: number
  5070. pricedavg:
  5071. description: 已点均价
  5072. type: number
  5073. pricedqty:
  5074. description: 已定价量
  5075. type: number
  5076. pricemove:
  5077. description: 升贴水
  5078. type: number
  5079. pricetype:
  5080. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5081. type: integer
  5082. producttype:
  5083. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5084. type: integer
  5085. qty:
  5086. description: 合同量
  5087. type: number
  5088. reckonadjustamount:
  5089. description: 调整金额
  5090. type: number
  5091. reckonedamount:
  5092. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5093. type: number
  5094. reckonotheramount:
  5095. description: 其它费用
  5096. type: number
  5097. reckonrealqty:
  5098. description: 已确定量
  5099. type: number
  5100. remark:
  5101. description: 备注
  5102. type: string
  5103. saleuserid:
  5104. description: 业务员id
  5105. type: integer
  5106. saleuserlogincode:
  5107. description: 业务员登录代码
  5108. type: string
  5109. saleusername:
  5110. description: 业务员名称
  5111. type: string
  5112. spotcontractid:
  5113. description: 合同ID
  5114. type: string
  5115. spotgoodsbrandid:
  5116. description: 现货品牌ID(DGFactoryItem表的ID)
  5117. type: integer
  5118. spotgoodsdesc:
  5119. description: 商品型号(商品规格)
  5120. type: string
  5121. startdate:
  5122. description: 点价开始日
  5123. type: string
  5124. totalamount:
  5125. description: 合计总额
  5126. type: number
  5127. tradeuserid:
  5128. description: 交易员id
  5129. type: integer
  5130. tradeuserlogincode:
  5131. description: 交易员登录代码
  5132. type: string
  5133. tradeusername:
  5134. description: 交易员名称
  5135. type: string
  5136. unpayamount:
  5137. description: 应收付款额(应支付或应收款)
  5138. type: number
  5139. unpricedqty:
  5140. description: 未定价量
  5141. type: number
  5142. unsureqty:
  5143. description: 未确定量
  5144. type: number
  5145. userid:
  5146. description: 机构ID
  5147. type: integer
  5148. wrstandardcode:
  5149. description: 品类代码
  5150. type: string
  5151. wrstandardid:
  5152. description: 品类ID
  5153. type: integer
  5154. wrstandardname:
  5155. description: 品类名称
  5156. type: string
  5157. type: object
  5158. models.Ermcp3SpotGoodsPrice:
  5159. properties:
  5160. areauserid:
  5161. description: 所属机构id
  5162. type: integer
  5163. brandname:
  5164. description: 品牌名称
  5165. type: string
  5166. currencyid:
  5167. description: 报价货币ID
  5168. type: integer
  5169. currencyname:
  5170. description: 币种名称
  5171. type: string
  5172. deliverygoodscode:
  5173. description: 现货商品代码
  5174. type: string
  5175. deliverygoodsid:
  5176. description: 现货商品id
  5177. type: integer
  5178. deliverygoodsname:
  5179. description: 现货商品名称
  5180. type: string
  5181. enumdicname:
  5182. description: 现货商品单位名称
  5183. type: string
  5184. gbenumdicname:
  5185. description: 品类单位名称
  5186. type: string
  5187. gmunitid:
  5188. description: 品类单位id
  5189. type: integer
  5190. isvalid:
  5191. description: 是否有效 - 0:无效 1:有效
  5192. type: integer
  5193. operateid:
  5194. description: 最后操作人
  5195. type: integer
  5196. operatesrc:
  5197. description: 最后操作来源 - 1:管理端 2:终端
  5198. type: integer
  5199. operatetime:
  5200. description: 最后操作时间
  5201. type: string
  5202. operatorname:
  5203. description: 操作人名称
  5204. type: string
  5205. spotgoodsbrandid:
  5206. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5207. type: integer
  5208. spotgoodsprice:
  5209. description: 现货价格
  5210. type: number
  5211. tradedate:
  5212. description: 交易日(yyyyMMdd)
  5213. type: string
  5214. unitid:
  5215. description: 现货商品单位id
  5216. type: integer
  5217. wrstandardcode:
  5218. description: 品类代码
  5219. type: string
  5220. wrstandardid:
  5221. description: 现货品类ID(通用则为0)
  5222. type: integer
  5223. wrstandardname:
  5224. description: 品类名称
  5225. type: string
  5226. type: object
  5227. models.Ermcp3SpotGoodsPriceLog:
  5228. properties:
  5229. areauserid:
  5230. description: 所属机构id
  5231. type: integer
  5232. brandname:
  5233. description: 品牌名称
  5234. type: string
  5235. currencyid:
  5236. description: 报价货币ID
  5237. type: integer
  5238. deliverygoodscode:
  5239. description: 现货商品代码
  5240. type: string
  5241. deliverygoodsid:
  5242. description: 现货商品id
  5243. type: integer
  5244. deliverygoodsname:
  5245. description: 现货商品名称
  5246. type: string
  5247. enumdicname:
  5248. description: 现货商品单位名称
  5249. type: string
  5250. gbenumdicname:
  5251. description: 品类单位名称
  5252. type: string
  5253. gmunitid:
  5254. description: 品类单位id
  5255. type: integer
  5256. logid:
  5257. description: 日志id
  5258. type: integer
  5259. operateid:
  5260. description: 最后操作人
  5261. type: integer
  5262. operatesrc:
  5263. description: 最后操作来源 - 1:管理端 2:终端
  5264. type: integer
  5265. operatetime:
  5266. description: 最后操作时间
  5267. type: string
  5268. operatorname:
  5269. description: 操作人名称
  5270. type: string
  5271. spotgoodsbrandid:
  5272. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5273. type: integer
  5274. spotgoodsprice:
  5275. description: 现货价格
  5276. type: number
  5277. tradedate:
  5278. description: 交易日(yyyyMMdd)
  5279. type: string
  5280. unitid:
  5281. description: 现货商品单位id
  5282. type: integer
  5283. wrstandardcode:
  5284. description: 品类代码
  5285. type: string
  5286. wrstandardid:
  5287. description: 现货品类ID(通用则为0)
  5288. type: integer
  5289. wrstandardname:
  5290. description: 品类名称
  5291. type: string
  5292. type: object
  5293. models.Ermcp3TaFutuReDataReport:
  5294. properties:
  5295. accountid:
  5296. description: 交易账户
  5297. type: integer
  5298. accountname:
  5299. description: 交易账号名称
  5300. type: string
  5301. agreeunit:
  5302. description: 商品合约单位
  5303. type: number
  5304. begindate:
  5305. description: 开始交易日
  5306. type: string
  5307. buyorsell:
  5308. description: 持仓方向
  5309. type: integer
  5310. charge:
  5311. description: 手续费
  5312. type: number
  5313. closeavgprice:
  5314. description: 平仓均价
  5315. type: number
  5316. closepl:
  5317. description: 平仓损益
  5318. type: number
  5319. currencyid:
  5320. description: 结算币种ID
  5321. type: integer
  5322. currencyname:
  5323. description: 币种名称
  5324. type: string
  5325. cycletime:
  5326. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5327. type: string
  5328. cycletype:
  5329. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5330. type: integer
  5331. enddate:
  5332. description: 结束交易日
  5333. type: string
  5334. enumdicname:
  5335. description: 单位名称
  5336. type: string
  5337. floatpl:
  5338. description: 浮动损益
  5339. type: number
  5340. goodscode:
  5341. description: 交易合约代码
  5342. type: string
  5343. goodsgroupid:
  5344. description: 交易品种
  5345. type: integer
  5346. goodsgroupname:
  5347. description: 交易品种名称
  5348. type: string
  5349. goodsgroupspotqty:
  5350. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5351. type: number
  5352. goodsid:
  5353. description: 交易合约
  5354. type: integer
  5355. goodsname:
  5356. description: 交易合约名称
  5357. type: string
  5358. goodunitid:
  5359. description: 交易合约单位id
  5360. type: integer
  5361. holdamount:
  5362. description: 期末持仓额
  5363. type: number
  5364. holdqty:
  5365. description: 期末持仓量
  5366. type: number
  5367. lastholdamount:
  5368. description: 当前持仓额
  5369. type: number
  5370. lastprice:
  5371. description: 最新价
  5372. type: number
  5373. middlegoodsid:
  5374. description: 套保品种id
  5375. type: integer
  5376. middlegoodsname:
  5377. description: 套保商品名称
  5378. type: string
  5379. middlegoodsqty:
  5380. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5381. type: number
  5382. middlgoodscode:
  5383. description: 套保商品代码
  5384. type: string
  5385. openamount:
  5386. description: 期末开仓额
  5387. type: number
  5388. openavgprice:
  5389. description: 开仓均价
  5390. type: number
  5391. oriholdamount:
  5392. description: 期初持仓额
  5393. type: number
  5394. oriholdqty:
  5395. description: 期初持仓量
  5396. type: number
  5397. oriopenamount:
  5398. description: 期初开仓额
  5399. type: number
  5400. outergroupcode:
  5401. description: 交易品种代码
  5402. type: string
  5403. qtydecimalplace:
  5404. description: 成交量小数位
  5405. type: integer
  5406. reckondate:
  5407. description: 日照时期(yyyyMMdd)
  5408. type: string
  5409. reckonholdamount:
  5410. description: 结算持仓额
  5411. type: number
  5412. reckonpl:
  5413. description: 结算损益
  5414. type: number
  5415. reckonpl2:
  5416. description: 结算逐笔盈亏
  5417. type: number
  5418. reckonprice:
  5419. description: 结算价
  5420. type: number
  5421. relateduserid:
  5422. description: 账户关联用户ID
  5423. type: integer
  5424. todaycloseamount:
  5425. description: 今平仓额
  5426. type: number
  5427. todaycloseqty:
  5428. description: 今平仓量
  5429. type: number
  5430. todaygoodsgroupspotqty:
  5431. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5432. type: number
  5433. todaymiddlegoodsqty:
  5434. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5435. type: number
  5436. todayopenamount:
  5437. description: 今开仓额
  5438. type: number
  5439. todayopenqty:
  5440. description: 今开仓量
  5441. type: number
  5442. userid:
  5443. description: 账户所属用户ID
  5444. type: integer
  5445. type: object
  5446. models.Ermcp3Wrstandard:
  5447. properties:
  5448. areauserid:
  5449. description: 所属机构
  5450. type: integer
  5451. convertfactor:
  5452. description: 标仓系数
  5453. type: number
  5454. createtime:
  5455. description: 创建时间
  5456. type: string
  5457. creatorid:
  5458. description: 创建人
  5459. type: integer
  5460. deliverygoodsid:
  5461. description: 现货品种ID
  5462. type: integer
  5463. enumdicname:
  5464. description: 品类单位名称
  5465. type: string
  5466. isvalid:
  5467. description: 是否有效 0-无效(停用) 1-有效(正常)
  5468. type: integer
  5469. minivalue:
  5470. description: 最小变动值
  5471. type: integer
  5472. minivaluedp:
  5473. description: 最小变动值小数位
  5474. type: integer
  5475. realminivalue:
  5476. description: 实际最小变动值
  5477. type: integer
  5478. realminivaluedp:
  5479. description: 实际最小变动值小数位
  5480. type: integer
  5481. remark:
  5482. description: 备注
  5483. type: string
  5484. unitid:
  5485. description: 品类单位ID
  5486. type: integer
  5487. updatetime:
  5488. description: 更新时间
  5489. type: string
  5490. wrstandardcode:
  5491. description: 品类代码
  5492. type: string
  5493. wrstandardid:
  5494. description: 品类ID(SEQ_WRSTANDARD)
  5495. type: integer
  5496. wrstandardname:
  5497. description: 品类名称
  5498. type: string
  5499. type: object
  5500. models.ErmcpAreaSpotDetailModel:
  5501. properties:
  5502. contracttype:
  5503. description: 合同类型 1-采购 -1-销售
  5504. type: integer
  5505. createtime:
  5506. description: 创建时间
  5507. type: string
  5508. enumdicname:
  5509. description: 现货商品单位名称
  5510. type: string
  5511. logtype:
  5512. description: 记录类型 1-套保 2-现货合同
  5513. type: integer
  5514. qty:
  5515. description: 数量
  5516. type: number
  5517. recordname:
  5518. description: 类型名称
  5519. type: string
  5520. relatedid:
  5521. description: 套保计划ID/现货合同ID
  5522. type: string
  5523. relatedno:
  5524. description: 编号
  5525. type: string
  5526. strtime:
  5527. description: 时间
  5528. type: string
  5529. wrstandardcode:
  5530. description: 现货商品代码
  5531. type: string
  5532. wrstandardname:
  5533. description: 现货商品名称
  5534. type: string
  5535. type: object
  5536. models.ErmcpAvalidGoodsGroupModel:
  5537. properties:
  5538. goodsgroupid:
  5539. description: 期货品种id
  5540. type: integer
  5541. goodsgroupname:
  5542. description: 期货品种名称
  5543. type: string
  5544. goodunitid:
  5545. description: 品种单位id
  5546. type: integer
  5547. goodunitname:
  5548. description: 品种单位名称
  5549. type: string
  5550. outergroupcode:
  5551. description: 期货品种代码
  5552. type: string
  5553. type: object
  5554. models.ErmcpBizGroupEx:
  5555. properties:
  5556. acclist:
  5557. description: 账号列表
  5558. items:
  5559. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5560. type: array
  5561. bizgroupid:
  5562. description: 业务分组id
  5563. type: integer
  5564. biztype:
  5565. description: 业务类型 1-套保 2-套利
  5566. type: integer
  5567. wrlist:
  5568. description: 现货商品表
  5569. items:
  5570. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5571. type: array
  5572. type: object
  5573. models.ErmcpBizGroupSpotGoods:
  5574. properties:
  5575. areauserid:
  5576. description: 所属机构id
  5577. type: integer
  5578. bizgroupid:
  5579. description: 分组id
  5580. type: integer
  5581. biztype:
  5582. description: 业务类型 1-套保 2-套利
  5583. type: integer
  5584. deliverygoodscode:
  5585. description: 现货商品代码
  5586. type: string
  5587. deliverygoodsid:
  5588. description: 现货商品id
  5589. type: integer
  5590. deliverygoodsname:
  5591. description: 现货商品名称
  5592. type: string
  5593. unitid:
  5594. description: 现货商品单位id
  5595. type: integer
  5596. type: object
  5597. models.ErmcpBizGroupTaAccount:
  5598. properties:
  5599. accountid:
  5600. description: 账号id
  5601. type: integer
  5602. accountname:
  5603. description: 账号名称
  5604. type: string
  5605. areauserid:
  5606. description: 所属机构id
  5607. type: integer
  5608. bizgroupid:
  5609. description: 业务分组id
  5610. type: integer
  5611. ismain:
  5612. description: 是否主账号 1-是 0-否
  5613. type: integer
  5614. type: object
  5615. models.ErmcpDGFactoryItem:
  5616. properties:
  5617. areauserid:
  5618. description: 用户id
  5619. type: integer
  5620. deliverygoodsid:
  5621. description: 现货品种ID
  5622. type: integer
  5623. dgfactoryitemid:
  5624. description: 选择项ID(SEQ_DGFACTORYITEM)
  5625. type: integer
  5626. dgfactoryitemtypeid:
  5627. description: 要素项类型
  5628. type: integer
  5629. dgfactoryitemvalue:
  5630. description: 要素项值(类型为仓库时填写仓库名称)
  5631. type: string
  5632. isvalid:
  5633. description: 是否有效 - 0:无效 1:有效
  5634. type: integer
  5635. orderindex:
  5636. description: 顺序
  5637. type: integer
  5638. warehouseid:
  5639. description: 仓库ID(类型为仓库时填写)
  5640. type: integer
  5641. type: object
  5642. models.ErmcpDeliveryGoods:
  5643. properties:
  5644. agreeunit:
  5645. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5646. type: integer
  5647. areauserid:
  5648. description: 所属机构
  5649. type: integer
  5650. auditflag:
  5651. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5652. type: integer
  5653. categoryid:
  5654. description: 类别ID(SEQ_WRCATEGORY)
  5655. type: integer
  5656. deliverygoodscode:
  5657. description: 现货品种代码
  5658. type: string
  5659. deliverygoodsid:
  5660. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5661. type: integer
  5662. deliverygoodsname:
  5663. description: 现货品种名称
  5664. type: string
  5665. deliverygoodstype:
  5666. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5667. type: integer
  5668. dgstatus:
  5669. description: 品种状态 - 作废 - 0:未激活 1:正常
  5670. type: integer
  5671. enumdicname:
  5672. description: 现货品种单位名称
  5673. type: string
  5674. goodsunitid:
  5675. description: 现货品种单位ID
  5676. type: integer
  5677. isvalid:
  5678. description: 是否有效 - 0:无效 1:有效
  5679. type: integer
  5680. qtydecimalplace:
  5681. description: 成交量小数位
  5682. type: integer
  5683. remark:
  5684. description: 备注
  5685. type: string
  5686. standardqty:
  5687. description: 标准数量(库位数量) [标准品特有]
  5688. type: integer
  5689. standardqtyrange:
  5690. description: 标准数量偏差范围 [标准品特有]
  5691. type: integer
  5692. type: object
  5693. models.ErmcpDeliveryGoodsDetail2:
  5694. properties:
  5695. convertratio:
  5696. description: 套保系数(折算系数)
  5697. type: number
  5698. data:
  5699. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5700. description: 现货商品基本信息(交割品种)
  5701. type: object
  5702. gblist:
  5703. description: 品牌列表
  5704. items:
  5705. $ref: '#/definitions/models.Ermcp3Brand'
  5706. type: array
  5707. gmlist:
  5708. description: 品类列表(仓单标准)
  5709. items:
  5710. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5711. type: array
  5712. type: object
  5713. models.ErmcpDeliveryGoodsDetailEx:
  5714. properties:
  5715. data:
  5716. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5717. description: 现货商品基本信息(交割品种)
  5718. type: object
  5719. gblist:
  5720. description: 品牌列表
  5721. items:
  5722. $ref: '#/definitions/models.Ermcp3Brand'
  5723. type: array
  5724. gmlist:
  5725. description: 品类列表(仓单标准)
  5726. items:
  5727. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5728. type: array
  5729. mgList:
  5730. description: 套保列表
  5731. items:
  5732. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5733. type: array
  5734. type: object
  5735. models.ErmcpExposureDetailModel:
  5736. properties:
  5737. areauserid:
  5738. description: 机构ID
  5739. type: integer
  5740. changeQty:
  5741. description: 套保变动量
  5742. type: number
  5743. contracttype:
  5744. description: 现货合同类型 - 1:采购 -1:销售
  5745. type: integer
  5746. convertfactor:
  5747. description: 标仓系数
  5748. type: number
  5749. convertratio:
  5750. description: 套保系数
  5751. type: number
  5752. createtime:
  5753. description: 时间
  5754. type: string
  5755. enumdicname:
  5756. description: 现货商品单位名称
  5757. type: string
  5758. logtype:
  5759. description: 类型 - 1:套保计划 2:现货合同
  5760. type: integer
  5761. middlegoodsId:
  5762. description: 套保商品id
  5763. type: integer
  5764. middlegoodscode:
  5765. description: 套保商品代码
  5766. type: string
  5767. middlegoodsname:
  5768. description: 套保商品名称
  5769. type: string
  5770. qty:
  5771. description: 数量
  5772. type: number
  5773. relateNo:
  5774. description: 现货合同/套保计划编号
  5775. type: string
  5776. wrstandardcode:
  5777. description: 现货商品代码
  5778. type: string
  5779. wrstandardid:
  5780. description: 现货商品ID
  5781. type: integer
  5782. wrstandardname:
  5783. description: 现货商品名称
  5784. type: string
  5785. type: object
  5786. models.ErmcpExposurePostion:
  5787. properties:
  5788. agreeunit:
  5789. description: 合约单位
  5790. type: string
  5791. areauserid:
  5792. description: 所属机构id
  5793. type: integer
  5794. convertratio:
  5795. description: 期货品种系数(折算系数)
  5796. type: number
  5797. curqty:
  5798. description: 当前持仓
  5799. type: integer
  5800. diffhedgeqty:
  5801. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5802. type: number
  5803. diffqty:
  5804. description: 持仓变动量=当前持仓-昨日持仓
  5805. type: integer
  5806. goodscode:
  5807. description: 商品代码
  5808. type: string
  5809. goodsid:
  5810. description: 商品id
  5811. type: integer
  5812. goodsname:
  5813. description: 商品名称
  5814. type: string
  5815. middlegoodsid:
  5816. description: 套保商品id
  5817. type: integer
  5818. ydqty:
  5819. description: 昨日持仓
  5820. type: integer
  5821. type: object
  5822. models.ErmcpFuturesCompany:
  5823. properties:
  5824. brokerid:
  5825. description: 经纪公司代码
  5826. type: string
  5827. channeladdress:
  5828. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5829. type: string
  5830. channelid:
  5831. description: 对冲渠道ID
  5832. type: string
  5833. createtime:
  5834. description: 创建时间
  5835. type: string
  5836. creatorid:
  5837. description: 创建人
  5838. type: string
  5839. fcid:
  5840. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5841. type: integer
  5842. fcname:
  5843. description: 期货公司名称
  5844. type: string
  5845. isvalid:
  5846. description: 是否有效 - 0:无效 1:有效
  5847. type: integer
  5848. mhpaddress:
  5849. description: MHP服务地址(IP:Port)
  5850. type: string
  5851. riskrulegroupid:
  5852. description: 风控规则组ID
  5853. type: string
  5854. tradefeetmpid:
  5855. description: 手续费模板ID[TradeConfigTmpType为2]
  5856. type: string
  5857. trademargintmpid:
  5858. description: 保证金模板ID [TradeConfigTmpType为1]
  5859. type: string
  5860. traderatetmpid:
  5861. description: 汇率模板ID[TradeConfigTmpType为3]
  5862. type: string
  5863. updatetime:
  5864. description: 更新时间
  5865. type: string
  5866. updatorid:
  5867. description: 更新人
  5868. type: string
  5869. type: object
  5870. models.ErmcpGGConvertCfg:
  5871. properties:
  5872. convertratio:
  5873. description: 折算系数
  5874. type: number
  5875. destgoodsgroupid:
  5876. description: 目标品种ID
  5877. type: integer
  5878. dstcode:
  5879. description: 目录品种代码
  5880. type: string
  5881. dstexchangecode:
  5882. description: 目标期货交易所
  5883. type: string
  5884. dstname:
  5885. description: 目标品种名称
  5886. type: string
  5887. dstunitid:
  5888. description: 目标品种单位ID
  5889. type: integer
  5890. dstunitidname:
  5891. description: 目标品种单位名称
  5892. type: string
  5893. modifytime:
  5894. description: 修改时间
  5895. type: string
  5896. srccode:
  5897. description: 源品种代码
  5898. type: string
  5899. srcexchangecode:
  5900. description: 源期货交易所
  5901. type: string
  5902. srcgoodsgroupid:
  5903. description: 源品种ID
  5904. type: integer
  5905. srcname:
  5906. description: 源品种名称
  5907. type: string
  5908. srcunitid:
  5909. description: 源品种单位ID
  5910. type: integer
  5911. srcunitidname:
  5912. description: 源品种单位名称
  5913. type: string
  5914. type: object
  5915. models.ErmcpGoods:
  5916. properties:
  5917. agreeunit:
  5918. description: 合约单位
  5919. type: number
  5920. areauserid:
  5921. description: 所属机构
  5922. type: integer
  5923. auditaccountid:
  5924. description: 审核操作员账号
  5925. type: integer
  5926. audittime:
  5927. description: 审核时间
  5928. type: string
  5929. cancelaccountid:
  5930. description: 注销操作员账号
  5931. type: integer
  5932. canceltime:
  5933. description: 注销时间
  5934. type: string
  5935. closepricemode:
  5936. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5937. type: integer
  5938. closepriceparam:
  5939. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5940. type: number
  5941. createtime:
  5942. description: 创建时间
  5943. type: string
  5944. creatorid:
  5945. description: 创建人
  5946. type: integer
  5947. currencyid:
  5948. description: 报价货币ID
  5949. type: integer
  5950. cutmode:
  5951. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5952. type: integer
  5953. decimalplace:
  5954. description: 报价小数位
  5955. type: integer
  5956. delistingdate:
  5957. description: 商品退市时间(状态:退市) -- 已作废
  5958. type: string
  5959. delistingmode:
  5960. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5961. type: integer
  5962. deliveryflag:
  5963. description: 交割标志 - 0:不可交割 1:可交割
  5964. type: integer
  5965. enumdicname:
  5966. description: 单位名称
  5967. type: string
  5968. forceclosemode:
  5969. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5970. type: integer
  5971. forceclosevalue:
  5972. description: 定期强平参数 [收益权]
  5973. type: integer
  5974. goodscode:
  5975. description: 商品代码(内部)
  5976. type: string
  5977. goodscurrencyid:
  5978. description: 合约货币ID
  5979. type: integer
  5980. goodsgroupid:
  5981. description: 所属商品组ID
  5982. type: integer
  5983. goodsid:
  5984. description: 商品ID(自增ID SEQ_GOODS)
  5985. type: integer
  5986. goodsname:
  5987. description: 商品名称
  5988. type: string
  5989. goodsquotetype:
  5990. description: '合约报价类型: 1-直接报价 2-间接报价'
  5991. type: integer
  5992. goodsstatus:
  5993. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5994. type: integer
  5995. goodstradetype:
  5996. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5997. type: integer
  5998. goodunitid:
  5999. description: 报价单位ID
  6000. type: integer
  6001. hasquoter:
  6002. description: 是否有报价商 - 0:无报价商 1:有报价商
  6003. type: integer
  6004. hqprotecttime:
  6005. description: 行情保护时间(秒)
  6006. type: integer
  6007. innerdealmode:
  6008. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6009. type: integer
  6010. isbuylimited:
  6011. description: 是否限制建仓量 - 0:不限制 1:限制
  6012. type: integer
  6013. isvisible:
  6014. description: 游客是否可见 - 0:不可见 1:可见
  6015. type: integer
  6016. lasttradedate:
  6017. description: 最后交易日期(状态:待退市)
  6018. type: string
  6019. listingdate:
  6020. description: 交易开始日期
  6021. type: string
  6022. marketid:
  6023. description: 所属市场ID
  6024. type: integer
  6025. modifierid:
  6026. description: 修改人
  6027. type: integer
  6028. modifystatus:
  6029. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6030. type: integer
  6031. modifytime:
  6032. description: 修改时间
  6033. type: string
  6034. outerdealmode:
  6035. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6036. type: integer
  6037. outgoodscode:
  6038. description: 商品代码(外部)
  6039. type: string
  6040. pictureurl:
  6041. description: 商品图片
  6042. type: string
  6043. qtydecimalplace:
  6044. description: 成交量小数位
  6045. type: integer
  6046. quotegear:
  6047. description: 行情档位(1-10)
  6048. type: integer
  6049. quoteminunit:
  6050. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6051. type: integer
  6052. quoteshowtype:
  6053. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6054. type: integer
  6055. quoteshowtypeinterval:
  6056. description: 行情报价间隔时间(秒)(成交价时为0)
  6057. type: integer
  6058. relatedgoodsid:
  6059. description: 关联参考商品ID
  6060. type: integer
  6061. remark:
  6062. description: 备注
  6063. type: string
  6064. trademode:
  6065. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6066. 21:竞拍-大宗式 22:受托竞价
  6067. type: integer
  6068. required:
  6069. - goodscode
  6070. - goodsid
  6071. - goodsname
  6072. - marketid
  6073. type: object
  6074. models.ErmcpGoodsBrand:
  6075. properties:
  6076. areauserid:
  6077. description: 所属机构
  6078. type: integer
  6079. brandid:
  6080. description: BrandID(SEQ_SPOTGOODSBRAND)
  6081. type: integer
  6082. brandname:
  6083. description: 品牌名称
  6084. type: string
  6085. createtime:
  6086. description: 创建时间
  6087. type: string
  6088. creatorid:
  6089. description: 创建人
  6090. type: integer
  6091. creatorsrc:
  6092. description: 创建人来源 - 1:管理端 2:终端
  6093. type: integer
  6094. deliverygoodsid:
  6095. description: 现货品种ID
  6096. type: integer
  6097. isvalid:
  6098. description: 是否有效 - 0:无效 1:有效
  6099. type: integer
  6100. updatetime:
  6101. description: 更新时间
  6102. type: string
  6103. updatorid:
  6104. description: 更新人
  6105. type: integer
  6106. updatorsrc:
  6107. description: 更新人来源 - 1:管理端 2:终端
  6108. type: integer
  6109. wrstandardid:
  6110. description: 现货商品ID
  6111. type: integer
  6112. type: object
  6113. models.ErmcpGoodsModel:
  6114. properties:
  6115. areauserid:
  6116. description: 所属机构
  6117. type: integer
  6118. convertfactor:
  6119. description: 标仓系数
  6120. type: number
  6121. createtime:
  6122. description: 创建时间
  6123. type: string
  6124. creatorid:
  6125. description: 创建人
  6126. type: integer
  6127. creatorsrc:
  6128. description: 创建人来源 - 1:管理端 2:终端
  6129. type: integer
  6130. deliverygoodsid:
  6131. description: 现货品种ID
  6132. type: integer
  6133. isvalid:
  6134. description: 是否有效 - 0:无效 1:有效
  6135. type: integer
  6136. modelid:
  6137. description: ModelID(SEQ_SPOTGOODSMODEL)
  6138. type: integer
  6139. modelname:
  6140. description: 型号名称
  6141. type: string
  6142. updatetime:
  6143. description: 更新时间
  6144. type: string
  6145. updatorid:
  6146. description: 更新人
  6147. type: integer
  6148. updatorsrc:
  6149. description: 更新人来源 - 1:管理端 2:终端
  6150. type: integer
  6151. wrstandardid:
  6152. description: 现货商品ID
  6153. type: integer
  6154. type: object
  6155. models.ErmcpHedgePosition:
  6156. properties:
  6157. accountid:
  6158. description: 资金账号[外部母账户]
  6159. type: integer
  6160. curbuyposition:
  6161. description: 期末买头寸
  6162. type: integer
  6163. cursellposition:
  6164. description: 期末卖头寸
  6165. type: integer
  6166. curtdbuyposition:
  6167. description: 期末今日买头寸
  6168. type: integer
  6169. curtdsellposition:
  6170. description: 期末今日卖头寸
  6171. type: integer
  6172. curydbuyposition:
  6173. description: 期末上日买头寸
  6174. type: integer
  6175. curydsellposition:
  6176. description: 期末上日卖头寸
  6177. type: integer
  6178. decreaseqty:
  6179. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6180. type: integer
  6181. fretdbuyposition:
  6182. description: 冻结今日买头寸
  6183. type: integer
  6184. fretdsellposition:
  6185. description: 冻结今日卖头寸
  6186. type: integer
  6187. freydbuyposition:
  6188. description: 冻结上日买头寸
  6189. type: integer
  6190. freydsellposition:
  6191. description: 冻结上日卖头寸
  6192. type: integer
  6193. goodscode:
  6194. description: 商品代码
  6195. type: string
  6196. goodsid:
  6197. description: 商品id
  6198. type: integer
  6199. goodsname:
  6200. description: 商品名称
  6201. type: string
  6202. hedgeaccountcode:
  6203. description: 对冲账号
  6204. type: string
  6205. hedgegoodsid:
  6206. description: 对冲合约ID
  6207. type: integer
  6208. increaseqty:
  6209. description: 增加数量 = 期末买头寸 - 期初买头寸
  6210. type: integer
  6211. marketid:
  6212. description: 市场ID
  6213. type: integer
  6214. relateduserid:
  6215. description: 关联用户id
  6216. type: integer
  6217. totalcurqty:
  6218. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6219. type: integer
  6220. totalydqty:
  6221. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6222. type: integer
  6223. tradedate:
  6224. description: 交易日(yyyyMMdd)
  6225. type: string
  6226. ydbuyposition:
  6227. description: 期初买头寸
  6228. type: integer
  6229. ydsellposition:
  6230. description: 期初卖头寸
  6231. type: integer
  6232. type: object
  6233. models.ErmcpHedgePositionDetail:
  6234. properties:
  6235. buyorsell:
  6236. description: 买卖方向 0-买 1-卖
  6237. type: integer
  6238. channelbuildtype:
  6239. description: 开平方向 1-建仓 2-平仓
  6240. type: integer
  6241. goodscode:
  6242. description: 商品代码
  6243. type: string
  6244. goodsname:
  6245. description: 商品名称
  6246. type: string
  6247. hedgegoodsid:
  6248. description: 商品id
  6249. type: integer
  6250. tradeqty:
  6251. description: 数量(成交数量)
  6252. type: integer
  6253. tradetime:
  6254. description: 时间(成交时间)
  6255. type: string
  6256. type: object
  6257. models.ErmcpHisExposure:
  6258. properties:
  6259. needhedgeexposoure:
  6260. description: 应套保敞口
  6261. type: number
  6262. reckondate:
  6263. description: 日照时期(yyyyMMdd)
  6264. type: string
  6265. totalexposure:
  6266. description: 总敞口
  6267. type: number
  6268. type: object
  6269. models.ErmcpHisExposureS:
  6270. properties:
  6271. data:
  6272. description: 历史敞口
  6273. items:
  6274. $ref: '#/definitions/models.ErmcpHisExposure'
  6275. type: array
  6276. enumdicname:
  6277. description: 单位名称
  6278. type: string
  6279. middlegoodscode:
  6280. description: 套保品种代码
  6281. type: string
  6282. middlegoodsid:
  6283. description: 套保品种ID
  6284. type: integer
  6285. middlegoodsname:
  6286. description: 套保品种名称
  6287. type: string
  6288. type: object
  6289. models.ErmcpLoginTaAccount:
  6290. properties:
  6291. accountid:
  6292. description: 账号id
  6293. type: integer
  6294. accountname:
  6295. description: 账号名称
  6296. type: string
  6297. type: object
  6298. models.ErmcpLoginUser:
  6299. properties:
  6300. acclist:
  6301. description: 关联资金账号
  6302. items:
  6303. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6304. type: array
  6305. accountname:
  6306. description: 用户名称
  6307. type: string
  6308. clientroleid:
  6309. description: 角色id(usertype=2)
  6310. type: integer
  6311. createtime:
  6312. description: 创建时间
  6313. type: string
  6314. logincode:
  6315. description: 登录代码
  6316. type: string
  6317. loginid:
  6318. description: 登录id(LOGINID)
  6319. type: integer
  6320. loginname:
  6321. description: 登录名称(loginaccount表中的accountname字段)
  6322. type: string
  6323. loginstatus:
  6324. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6325. type: integer
  6326. memberuserid:
  6327. description: 所属会员id
  6328. type: integer
  6329. mobile:
  6330. description: 手机号
  6331. type: string
  6332. modifytime:
  6333. description: 修改时间
  6334. type: string
  6335. password:
  6336. description: 密码(不可解密)
  6337. type: string
  6338. rolename:
  6339. description: 角色名称
  6340. type: string
  6341. rolestatus:
  6342. description: 角色状态 1-启用 2-停用
  6343. type: integer
  6344. roletype:
  6345. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6346. type: string
  6347. userid:
  6348. description: 用户id
  6349. type: integer
  6350. usertype:
  6351. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6352. type: integer
  6353. type: object
  6354. models.ErmcpLoginUserEx:
  6355. properties:
  6356. accountstatus:
  6357. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6358. type: integer
  6359. mobile:
  6360. description: 手机号
  6361. type: string
  6362. querytype:
  6363. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6364. type: integer
  6365. roleid:
  6366. description: 角色id(交易账户->用户id)
  6367. type: integer
  6368. rolename:
  6369. description: 角色名称(交易账户->用户名称)
  6370. type: string
  6371. userlist:
  6372. description: 用户列表
  6373. items:
  6374. $ref: '#/definitions/models.ErmcpLoginUser'
  6375. type: array
  6376. usertype:
  6377. description: 用户类型 2-机构 7-企业成员(云平台)
  6378. type: integer
  6379. type: object
  6380. models.ErmcpMiddleGoodsChangeLog:
  6381. properties:
  6382. aftervalue:
  6383. description: 变更后
  6384. type: number
  6385. applyid:
  6386. description: 操作人
  6387. type: integer
  6388. applyname:
  6389. description: 操作人名称
  6390. type: string
  6391. applysrc:
  6392. description: 操作来源 - 1:管理端 2:终端
  6393. type: integer
  6394. beforevalue:
  6395. description: 变更前
  6396. type: number
  6397. changelogtype:
  6398. description: 变更流水类型 - 1:套保比率变更
  6399. type: integer
  6400. handlestatus:
  6401. description: 处理状态
  6402. type: integer
  6403. logdatetime:
  6404. description: 流水日期
  6405. type: string
  6406. logid:
  6407. description: 流水ID
  6408. type: integer
  6409. logremark:
  6410. description: 流水备注
  6411. type: string
  6412. middlegoodsid:
  6413. description: 套保品种ID
  6414. type: integer
  6415. tradedate:
  6416. description: 交易日(yyyyMMdd)
  6417. type: string
  6418. updatetime:
  6419. description: 更新时间
  6420. type: string
  6421. type: object
  6422. models.ErmcpMiddleGoodsDetail:
  6423. properties:
  6424. cvList:
  6425. description: 期货品种折算列表
  6426. items:
  6427. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6428. type: array
  6429. mg:
  6430. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6431. description: 套保品种基本信息
  6432. type: object
  6433. wrcList:
  6434. description: 现货品种列表(现货商品折算配置)
  6435. items:
  6436. $ref: '#/definitions/models.WRSConverTDetail'
  6437. type: array
  6438. type: object
  6439. models.ErmcpMiddleGoodsModel:
  6440. properties:
  6441. areauserid:
  6442. description: 机构用户ID
  6443. type: integer
  6444. createtime:
  6445. description: 修改时间
  6446. type: string
  6447. enumdicname:
  6448. description: 单位名称
  6449. type: string
  6450. evaluateratio:
  6451. description: 估价系数
  6452. type: number
  6453. goodsgroupid:
  6454. description: 关联期货品种ID
  6455. type: integer
  6456. goodsunitid:
  6457. description: 单位ID
  6458. type: integer
  6459. isvalid:
  6460. description: 状态 0-无效(停用) 1-有效(正常)
  6461. type: integer
  6462. middlegoodscode:
  6463. description: 套保品种代码
  6464. type: string
  6465. middlegoodsid:
  6466. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6467. type: integer
  6468. middlegoodsname:
  6469. description: 套保品种名称
  6470. type: string
  6471. modifytime:
  6472. description: 修改时间
  6473. type: string
  6474. needarbitrageratio:
  6475. description: 套利比例
  6476. type: number
  6477. needhedgeratio:
  6478. description: 套保比率
  6479. type: number
  6480. qtydecimalplace:
  6481. description: 数量小数位
  6482. type: integer
  6483. relatedgoodsid:
  6484. description: 关联交易商品ID
  6485. type: integer
  6486. relatedgoodstype:
  6487. description: 关联商品类型 - 1:期货合约 2:现货品种
  6488. type: integer
  6489. remark:
  6490. description: 备注
  6491. type: string
  6492. type: object
  6493. models.ErmcpMiddlegoodsRelateGoods:
  6494. properties:
  6495. agreeunit:
  6496. description: 合约乘数
  6497. type: number
  6498. convertratio:
  6499. description: 折算系数
  6500. type: number
  6501. enumdicname:
  6502. description: 单位名称(交易商品)
  6503. type: string
  6504. goodscode:
  6505. description: 交易商品代码
  6506. type: string
  6507. goodsgroupid:
  6508. description: 交易品种id
  6509. type: integer
  6510. goodsid:
  6511. description: 商品Id
  6512. type: integer
  6513. goodsname:
  6514. description: 交易商品名称
  6515. type: string
  6516. goodunitid:
  6517. description: 交易商品单位id
  6518. type: integer
  6519. middlegoodsid:
  6520. description: 套保商品id
  6521. type: integer
  6522. middlegoodsname:
  6523. description: 套保商品名称
  6524. type: string
  6525. middlegoodsswcode:
  6526. description: 套保商品代码
  6527. type: string
  6528. needarbitrageratio:
  6529. description: 应套利比例
  6530. type: number
  6531. needhedgeratio:
  6532. description: 应套保比例
  6533. type: number
  6534. type: object
  6535. models.ErmcpOPLogModel:
  6536. properties:
  6537. aftervalue:
  6538. description: 变更后
  6539. type: number
  6540. applyid:
  6541. description: 操作人ID
  6542. type: string
  6543. applyname:
  6544. description: 操作人名称
  6545. type: string
  6546. beforevalue:
  6547. description: 变更前
  6548. type: number
  6549. biztype:
  6550. description: 业务类型 - 1:套保计划 2:现货合同
  6551. type: integer
  6552. contracttype:
  6553. description: 现货合同类型 - 1:采购 -1:销售
  6554. type: integer
  6555. logvalue:
  6556. description: 数值
  6557. type: number
  6558. operatelogtype:
  6559. description: 操作流水类型
  6560. type: integer
  6561. operatelogtypedesc:
  6562. description: 操作流水类型名称
  6563. type: string
  6564. relatedid:
  6565. description: 现货合同ID\套保计划
  6566. type: string
  6567. updatetime:
  6568. description: 更新时间
  6569. type: string
  6570. type: object
  6571. models.ErmcpPendingAudit:
  6572. properties:
  6573. areastockqty:
  6574. description: '待审核数量: 库存申请'
  6575. type: integer
  6576. businessdjqty:
  6577. description: '待审核数量: 点价'
  6578. type: integer
  6579. businessfpqty:
  6580. description: '待审核数量: 发票'
  6581. type: integer
  6582. businessjsqty:
  6583. description: '待审核数量: 结算'
  6584. type: integer
  6585. businesskxqty:
  6586. description: '待审核数量: 款项'
  6587. type: integer
  6588. hedgeplanqty:
  6589. description: '待审核数量: 套保计划'
  6590. type: integer
  6591. spotcontractqty:
  6592. description: '待审核数量: 现货合同'
  6593. type: integer
  6594. userqty:
  6595. description: '待审核数量: 用户'
  6596. type: integer
  6597. type: object
  6598. models.ErmcpRealExposureModel:
  6599. properties:
  6600. AreaUserID:
  6601. description: 所属机构
  6602. type: integer
  6603. BuyFutureQty:
  6604. description: 买入期货数量
  6605. type: number
  6606. BuyPlanQty:
  6607. description: 采购计划数量
  6608. type: number
  6609. BuyPricedQty:
  6610. description: 采购合同已定价数量
  6611. type: number
  6612. MiddleGoodsCode:
  6613. description: 套保品种代码
  6614. type: string
  6615. MiddleGoodsHedgeRatio:
  6616. description: 套保比例
  6617. type: number
  6618. MiddleGoodsID:
  6619. description: 套保品种
  6620. type: integer
  6621. MiddleGoodsName:
  6622. description: 套保品种名称
  6623. type: string
  6624. NeedHedgeExposoure:
  6625. description: 应套保敞口(套保敞口)
  6626. type: number
  6627. NeedHedgeRatio:
  6628. description: 应套保敞口比例
  6629. type: number
  6630. OriBuyFutureQty:
  6631. description: 期初买入期货数量
  6632. type: number
  6633. OriBuyPlanQty:
  6634. description: 期初采购计划数量
  6635. type: number
  6636. OriBuyPricedQty:
  6637. description: 期初采购合同已定价数量
  6638. type: number
  6639. OriSellFutureQty:
  6640. description: 期初卖出期货数量
  6641. type: number
  6642. OriSellPlanQty:
  6643. description: 期初销售计划数量
  6644. type: number
  6645. OriSellPricedQty:
  6646. description: 期初销售合同已定价数量
  6647. type: number
  6648. SellFutureQty:
  6649. description: 卖出期货数量
  6650. type: number
  6651. SellPlanQty:
  6652. description: 销售计划数量
  6653. type: number
  6654. SellPricedQty:
  6655. description: 销售合同已定价数量
  6656. type: number
  6657. TotalExposure:
  6658. description: 总敞口
  6659. type: number
  6660. TotalFutureQty:
  6661. description: 期货总量
  6662. type: number
  6663. TotalHedgeRatio:
  6664. description: 敞口比例
  6665. type: number
  6666. TotalNeedHedgeQty:
  6667. description: 应套保总量(现货应套保总量)
  6668. type: number
  6669. TotalSpotQty:
  6670. description: 现货总量
  6671. type: number
  6672. arbitrageqty:
  6673. description: 套利量
  6674. type: number
  6675. diffArbitrageQty:
  6676. description: 套利变动量
  6677. type: number
  6678. diffExposoureQty:
  6679. description: 变动量(套保敞口)
  6680. type: number
  6681. diffFutuQty:
  6682. description: 变动量(期货总量)
  6683. type: number
  6684. diffHedgeQty:
  6685. description: 套保变动量
  6686. type: number
  6687. diffQty:
  6688. description: 变动量(总敞口)
  6689. type: number
  6690. diffSpotHedgeQty:
  6691. description: 变动量(现货应套保总量)
  6692. type: number
  6693. diffSpotQty:
  6694. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6695. type: number
  6696. enumdicname:
  6697. description: 单位名称
  6698. type: string
  6699. hedgeqty:
  6700. description: 套保量
  6701. type: number
  6702. needarbitrageqty:
  6703. description: 应套利量
  6704. type: number
  6705. needarbitrageratio:
  6706. description: 套利比例
  6707. type: number
  6708. needhedgeqty:
  6709. description: 应套保量
  6710. type: number
  6711. oriTotalFutuQty:
  6712. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6713. type: number
  6714. oriTotalSpotQty:
  6715. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6716. type: number
  6717. oriarbitrageqty:
  6718. description: 期初套利量
  6719. type: number
  6720. orihedgeqty:
  6721. description: 期初套保量
  6722. type: number
  6723. orineedhedgeexposoure:
  6724. description: 期初套保敞口
  6725. type: number
  6726. oritotalexposure:
  6727. description: 期初总敞口
  6728. type: number
  6729. oritotalfutureqty:
  6730. description: 期初期货总量
  6731. type: number
  6732. oritotalneedhedgeqty:
  6733. description: 期初现货应套保量
  6734. type: number
  6735. type: object
  6736. models.ErmcpRole:
  6737. properties:
  6738. areauserid:
  6739. description: 所属机构
  6740. type: integer
  6741. autoid:
  6742. description: 角色ID(自增ID)
  6743. type: integer
  6744. modifierid:
  6745. description: 修改人(创建人)
  6746. type: integer
  6747. modifiername:
  6748. description: 修改人名称
  6749. type: string
  6750. modifytime:
  6751. description: 修改时间(创建时间)
  6752. type: string
  6753. rolename:
  6754. description: 角色名称
  6755. type: string
  6756. rolestatus:
  6757. description: 角色状态 - 1:启用 2:停用
  6758. type: integer
  6759. roletype:
  6760. description: 角色类型 - 1- 管理端 2- 交易端
  6761. type: integer
  6762. type: object
  6763. models.ErmcpRoleMenu:
  6764. properties:
  6765. iconame:
  6766. description: 菜单图标
  6767. type: string
  6768. ishadrole:
  6769. description: 是否有权限
  6770. type: boolean
  6771. menutype:
  6772. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6773. type: integer
  6774. parentcode:
  6775. description: 上级资源代码
  6776. type: string
  6777. remark:
  6778. description: 菜单备注
  6779. type: string
  6780. resourcecode:
  6781. description: 菜单代码
  6782. type: string
  6783. resourcelevel:
  6784. description: 级别
  6785. type: integer
  6786. resourcename:
  6787. description: 菜单名称
  6788. type: string
  6789. roleid:
  6790. description: 角色id
  6791. type: integer
  6792. sort:
  6793. description: 排序
  6794. type: integer
  6795. url:
  6796. description: URL
  6797. type: string
  6798. userid:
  6799. description: 用户id
  6800. type: integer
  6801. type: object
  6802. models.ErmcpRoleMenuEx:
  6803. properties:
  6804. menu:
  6805. $ref: '#/definitions/models.ErmcpRoleMenu'
  6806. description: 父级菜单
  6807. type: object
  6808. subMenu:
  6809. description: 子级菜单
  6810. items:
  6811. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6812. type: array
  6813. type: object
  6814. models.ErmcpTaAccount:
  6815. properties:
  6816. accountid:
  6817. description: 账户id
  6818. type: integer
  6819. accountname:
  6820. description: 账户名称
  6821. type: string
  6822. currencyid:
  6823. description: 币种id
  6824. type: integer
  6825. hedgeaccountcode:
  6826. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6827. type: string
  6828. ismain:
  6829. description: 是否主账户 0-否 1-是
  6830. type: integer
  6831. parentaccountid:
  6832. description: 父账户id
  6833. type: integer
  6834. relateduserid:
  6835. description: 关联userid
  6836. type: integer
  6837. tradefeetmpid:
  6838. description: 手续费模板id
  6839. type: integer
  6840. tradefeetmpname:
  6841. description: 手续费模板名称
  6842. type: string
  6843. trademargintmpid:
  6844. description: 保证金模板id
  6845. type: integer
  6846. trademargintmpname:
  6847. description: 保证金模板名称
  6848. type: string
  6849. traderatetmpid:
  6850. description: 汇率模板id
  6851. type: integer
  6852. traderatetmpname:
  6853. description: 汇率模板名称
  6854. type: string
  6855. tradestatus:
  6856. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6857. type: integer
  6858. userid:
  6859. description: 用户id
  6860. type: integer
  6861. type: object
  6862. models.ErmcpTaAccountEx:
  6863. properties:
  6864. mainAcc:
  6865. $ref: '#/definitions/models.ErmcpTaAccountM'
  6866. description: 主账号
  6867. type: object
  6868. subacclist:
  6869. description: 子账号列表
  6870. items:
  6871. $ref: '#/definitions/models.ErmcpTaAccount'
  6872. type: array
  6873. type: object
  6874. models.ErmcpTaAccountInfo:
  6875. properties:
  6876. accountid:
  6877. description: 资金账户ID
  6878. type: integer
  6879. accountname:
  6880. description: 账户名称
  6881. type: string
  6882. balance:
  6883. description: 期初余额
  6884. type: number
  6885. capitalbalance:
  6886. description: 本金余额[外部子账户实际出入金余额]
  6887. type: number
  6888. closepl:
  6889. description: 今日平仓盈亏
  6890. type: number
  6891. creditdecrease:
  6892. description: 今日授信减少
  6893. type: number
  6894. creditincrease:
  6895. description: 今日授信增加
  6896. type: number
  6897. curdebt:
  6898. description: 期末欠款
  6899. type: number
  6900. currencyid:
  6901. description: 货币ID
  6902. type: integer
  6903. currentbalance:
  6904. description: 期末余额
  6905. type: number
  6906. freezecharge:
  6907. description: 手续费冻结
  6908. type: number
  6909. freezemargin:
  6910. description: 冻结保证金
  6911. type: number
  6912. fromaccountid:
  6913. description: 所属上级账户
  6914. type: integer
  6915. inamount:
  6916. description: 今日入金金额(包括三方入金)
  6917. type: number
  6918. ismain:
  6919. description: 是否母账号 0:不是母账户 1:是母账户
  6920. type: integer
  6921. mortgagecredit:
  6922. description: 授信金额
  6923. type: number
  6924. oridebt:
  6925. description: 期初欠款
  6926. type: number
  6927. orifreezecharge:
  6928. description: 期初手续费冻结
  6929. type: number
  6930. orifreezemargin:
  6931. description: 期初冻结保证金
  6932. type: number
  6933. orimortgagecredit:
  6934. description: 期初授信金额
  6935. type: number
  6936. oriothercredit:
  6937. description: 期初其它授信金额
  6938. type: number
  6939. oriotherfreezemargin:
  6940. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6941. type: number
  6942. orioutamountfreeze:
  6943. description: 期初出金冻结
  6944. type: number
  6945. oriusedmargin:
  6946. description: 期初占用保证金
  6947. type: number
  6948. othercredit:
  6949. description: 其它授信金额
  6950. type: number
  6951. othercreditdecrease:
  6952. description: 今日其它授信减少
  6953. type: number
  6954. othercreditincrease:
  6955. description: 今日其它授信增加
  6956. type: number
  6957. otherfreezemargin:
  6958. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6959. type: number
  6960. outamount:
  6961. description: 今日出金金额(包括三方出金)
  6962. type: number
  6963. outamountfreeze:
  6964. description: 出金冻结
  6965. type: number
  6966. outthreshold:
  6967. description: 出金阈值
  6968. type: number
  6969. parentaccountid:
  6970. description: 所属根账号
  6971. type: integer
  6972. paycharge:
  6973. description: 今日手续费支出
  6974. type: number
  6975. relateduserid:
  6976. description: 关联用户
  6977. type: integer
  6978. signstatus:
  6979. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6980. type: integer
  6981. sublevelpath:
  6982. description: 账号层级路径(逗号分隔,首尾加逗号)
  6983. type: string
  6984. taaccounttype:
  6985. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6986. type: integer
  6987. thirdinamount:
  6988. description: 今日三方入金
  6989. type: number
  6990. thirdoutamount:
  6991. description: 今日三方出金
  6992. type: number
  6993. tradestatus:
  6994. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6995. type: integer
  6996. transferamount:
  6997. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6998. type: number
  6999. usedmargin:
  7000. description: 占用保证金
  7001. type: number
  7002. userid:
  7003. description: 用户ID
  7004. type: integer
  7005. type: object
  7006. models.ErmcpTaAccountM:
  7007. properties:
  7008. accountid:
  7009. description: 账户id
  7010. type: integer
  7011. accountname:
  7012. description: 账户名称
  7013. type: string
  7014. currencyid:
  7015. description: 币种id
  7016. type: integer
  7017. fcid:
  7018. description: 期货公司id
  7019. type: integer
  7020. fcname:
  7021. description: 期货公司代码
  7022. type: string
  7023. hedgeaccountcode:
  7024. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7025. type: string
  7026. ismain:
  7027. description: 是否主账户 0-否 1-是
  7028. type: integer
  7029. parentaccountid:
  7030. description: 父账户id
  7031. type: integer
  7032. relateduserid:
  7033. description: 关联userid
  7034. type: integer
  7035. tradefeetmpid:
  7036. description: 手续费模板id
  7037. type: integer
  7038. tradefeetmpname:
  7039. description: 手续费模板名称
  7040. type: string
  7041. trademargintmpid:
  7042. description: 保证金模板id
  7043. type: integer
  7044. trademargintmpname:
  7045. description: 保证金模板名称
  7046. type: string
  7047. traderatetmpid:
  7048. description: 汇率模板id
  7049. type: integer
  7050. traderatetmpname:
  7051. description: 汇率模板名称
  7052. type: string
  7053. tradestatus:
  7054. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7055. type: integer
  7056. userid:
  7057. description: 用户id
  7058. type: integer
  7059. type: object
  7060. models.ErmcpTradeConfigTMP:
  7061. properties:
  7062. areauserid:
  7063. description: 所属机构
  7064. type: integer
  7065. basiccurrencyid:
  7066. description: 基本币种ID[汇率] - 目标币种
  7067. type: integer
  7068. mainaccountid:
  7069. description: 主账户ID
  7070. type: integer
  7071. modifierid:
  7072. description: 修改人
  7073. type: integer
  7074. remark:
  7075. description: 备注
  7076. type: string
  7077. tradeconfigtmpid:
  7078. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7079. type: integer
  7080. tradeconfigtmpname:
  7081. description: 交易配置模板名称
  7082. type: string
  7083. tradeconfigtmptype:
  7084. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7085. type: integer
  7086. updatetime:
  7087. description: 更新时间
  7088. type: string
  7089. type: object
  7090. models.ErmcpUserModel:
  7091. properties:
  7092. address:
  7093. description: 通讯地址
  7094. type: string
  7095. attachment1:
  7096. description: 附件1
  7097. type: string
  7098. audittime:
  7099. description: 审核时间
  7100. type: string
  7101. cardbackphotourl:
  7102. description: 证件反面图片地址
  7103. type: string
  7104. cardfrontphotourl:
  7105. description: 证件正面图片地址
  7106. type: string
  7107. cardnum:
  7108. description: 证件号码
  7109. type: string
  7110. cardtype:
  7111. description: 证件类型
  7112. type: integer
  7113. cardtypename:
  7114. description: 证件类型名称
  7115. type: string
  7116. cityid:
  7117. description: 市
  7118. type: integer
  7119. contactname:
  7120. description: 联系人
  7121. type: string
  7122. countryid:
  7123. description: 国家
  7124. type: integer
  7125. createtime:
  7126. description: 创建时间
  7127. type: string
  7128. customername:
  7129. description: 企业名称
  7130. type: string
  7131. districtid:
  7132. description: 区域
  7133. type: integer
  7134. email:
  7135. description: 邮件
  7136. type: string
  7137. legalpersonname:
  7138. description: 法人姓名(企业)
  7139. type: string
  7140. memberuserid:
  7141. description: 所属机构ID
  7142. type: integer
  7143. mobile:
  7144. description: 手机号码
  7145. type: string
  7146. modifytime:
  7147. description: 修改时间
  7148. type: string
  7149. nickname:
  7150. description: 昵称
  7151. type: string
  7152. provinceid:
  7153. description: 省
  7154. type: integer
  7155. remark:
  7156. description: 备注
  7157. type: string
  7158. status:
  7159. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7160. type: integer
  7161. statusdesc:
  7162. description: 账户状态中文描述
  7163. type: string
  7164. taxpayernum:
  7165. description: 纳税人识别号
  7166. type: string
  7167. telphone:
  7168. description: 联系电话
  7169. type: string
  7170. userid:
  7171. description: 用户ID
  7172. type: integer
  7173. userinfotype:
  7174. description: 客户类型
  7175. type: string
  7176. type: object
  7177. models.ErmcpWareHouseInfo:
  7178. properties:
  7179. address:
  7180. description: 详细地址
  7181. type: string
  7182. areauserid:
  7183. description: 所属机构
  7184. type: integer
  7185. autoid:
  7186. description: 自增ID(仓库ID)
  7187. type: integer
  7188. cityid:
  7189. description: 市
  7190. type: integer
  7191. contactname:
  7192. description: 联系人
  7193. type: string
  7194. contactnum:
  7195. description: 联系电话
  7196. type: string
  7197. countryid:
  7198. description: 国家
  7199. type: integer
  7200. createtime:
  7201. description: 创建时间
  7202. type: string
  7203. districtid:
  7204. description: 区
  7205. type: integer
  7206. hasvideo:
  7207. description: 是否有视频 - 0:无 1:有
  7208. type: integer
  7209. provinceid:
  7210. description: 省
  7211. type: integer
  7212. remark:
  7213. description: 审核备注
  7214. type: string
  7215. videourl:
  7216. description: 视频地址
  7217. type: string
  7218. warehousecode:
  7219. description: 仓库代码
  7220. type: string
  7221. warehousename:
  7222. description: 仓库名称
  7223. type: string
  7224. warehousestatus:
  7225. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7226. type: integer
  7227. warehousetype:
  7228. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7229. type: integer
  7230. type: object
  7231. models.Externalexchange:
  7232. properties:
  7233. autoid:
  7234. description: AutoID - SEQ_EXTERNALEXCHANGE
  7235. type: integer
  7236. exchangefullname:
  7237. description: 外部交易所全称
  7238. type: string
  7239. exexchangecode:
  7240. description: 外部交易所代码
  7241. type: string
  7242. exexchangename:
  7243. description: 外部交易所名称(简称)
  7244. type: string
  7245. ismarketprice:
  7246. description: 是否支持市价 - 0:不支持 1:支持
  7247. type: integer
  7248. quotegear:
  7249. description: 行情档位(1-10)
  7250. type: integer
  7251. showbrokerflag:
  7252. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7253. type: integer
  7254. updatetime:
  7255. description: 更新时间
  7256. type: string
  7257. required:
  7258. - autoid
  7259. type: object
  7260. models.Funcmenulist:
  7261. properties:
  7262. iconame:
  7263. description: 菜单图标
  7264. type: string
  7265. menutype:
  7266. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7267. type: integer
  7268. parentcode:
  7269. description: 上级资源代码
  7270. type: string
  7271. remark:
  7272. description: 备注
  7273. type: string
  7274. resourcecode:
  7275. description: 资源代码
  7276. type: string
  7277. resourcelevel:
  7278. description: 级别 1-一级 2-二级 3-三级 4-四级
  7279. type: integer
  7280. resourcename:
  7281. description: 资源名
  7282. type: string
  7283. sort:
  7284. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7285. type: integer
  7286. url:
  7287. description: URL
  7288. type: string
  7289. required:
  7290. - resourcecode
  7291. type: object
  7292. models.Goods:
  7293. properties:
  7294. agreeunit:
  7295. description: 合约单位
  7296. type: number
  7297. areauserid:
  7298. description: 所属机构
  7299. type: integer
  7300. auditaccountid:
  7301. description: 审核操作员账号
  7302. type: integer
  7303. audittime:
  7304. description: 审核时间
  7305. type: string
  7306. cancelaccountid:
  7307. description: 注销操作员账号
  7308. type: integer
  7309. canceltime:
  7310. description: 注销时间
  7311. type: string
  7312. closepricemode:
  7313. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7314. type: integer
  7315. closepriceparam:
  7316. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7317. type: number
  7318. createtime:
  7319. description: 创建时间
  7320. type: string
  7321. creatorid:
  7322. description: 创建人
  7323. type: integer
  7324. currencyid:
  7325. description: 报价货币ID
  7326. type: integer
  7327. cutmode:
  7328. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7329. type: integer
  7330. decimalplace:
  7331. description: 报价小数位
  7332. type: integer
  7333. delistingdate:
  7334. description: 商品退市时间(状态:退市) -- 已作废
  7335. type: string
  7336. delistingmode:
  7337. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7338. type: integer
  7339. deliveryflag:
  7340. description: 交割标志 - 0:不可交割 1:可交割
  7341. type: integer
  7342. forceclosemode:
  7343. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7344. type: integer
  7345. forceclosevalue:
  7346. description: 定期强平参数 [收益权]
  7347. type: integer
  7348. goodscode:
  7349. description: 商品代码(内部)
  7350. type: string
  7351. goodscurrencyid:
  7352. description: 合约货币ID
  7353. type: integer
  7354. goodsgroupid:
  7355. description: 所属商品组ID
  7356. type: integer
  7357. goodsid:
  7358. description: 商品ID(自增ID SEQ_GOODS)
  7359. type: integer
  7360. goodsname:
  7361. description: 商品名称
  7362. type: string
  7363. goodsquotetype:
  7364. description: '合约报价类型: 1-直接报价 2-间接报价'
  7365. type: integer
  7366. goodsstatus:
  7367. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7368. type: integer
  7369. goodstradetype:
  7370. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7371. type: integer
  7372. goodunitid:
  7373. description: 报价单位ID
  7374. type: integer
  7375. hasquoter:
  7376. description: 是否有报价商 - 0:无报价商 1:有报价商
  7377. type: integer
  7378. hqprotecttime:
  7379. description: 行情保护时间(秒)
  7380. type: integer
  7381. innerdealmode:
  7382. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7383. type: integer
  7384. isbuylimited:
  7385. description: 是否限制建仓量 - 0:不限制 1:限制
  7386. type: integer
  7387. isvisible:
  7388. description: 游客是否可见 - 0:不可见 1:可见
  7389. type: integer
  7390. lasttradedate:
  7391. description: 最后交易日期(状态:待退市)
  7392. type: string
  7393. listingdate:
  7394. description: 交易开始日期
  7395. type: string
  7396. marketid:
  7397. description: 所属市场ID
  7398. type: integer
  7399. modifierid:
  7400. description: 修改人
  7401. type: integer
  7402. modifystatus:
  7403. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7404. type: integer
  7405. modifytime:
  7406. description: 修改时间
  7407. type: string
  7408. outerdealmode:
  7409. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7410. type: integer
  7411. outgoodscode:
  7412. description: 商品代码(外部)
  7413. type: string
  7414. pictureurl:
  7415. description: 商品图片
  7416. type: string
  7417. qtydecimalplace:
  7418. description: 成交量小数位
  7419. type: integer
  7420. quotegear:
  7421. description: 行情档位(1-10)
  7422. type: integer
  7423. quoteminunit:
  7424. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7425. type: integer
  7426. quoteshowtype:
  7427. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7428. type: integer
  7429. quoteshowtypeinterval:
  7430. description: 行情报价间隔时间(秒)(成交价时为0)
  7431. type: integer
  7432. remark:
  7433. description: 备注
  7434. type: string
  7435. required:
  7436. - goodscode
  7437. - goodsid
  7438. - goodsname
  7439. - marketid
  7440. type: object
  7441. models.GoodsIDAndName:
  7442. properties:
  7443. goodscode:
  7444. description: 商品代码(内部)
  7445. type: string
  7446. goodsid:
  7447. description: 商品ID(自增ID SEQ_GOODS)
  7448. type: integer
  7449. goodsname:
  7450. description: 商品名称
  7451. type: string
  7452. marketid:
  7453. description: 所属市场ID
  7454. type: integer
  7455. required:
  7456. - goodscode
  7457. - goodsid
  7458. - goodsname
  7459. - marketid
  7460. type: object
  7461. models.Goodsgroup:
  7462. properties:
  7463. agreeunit:
  7464. description: 合约单位
  7465. type: number
  7466. canshort:
  7467. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7468. type: integer
  7469. closepricemode:
  7470. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7471. type: integer
  7472. closepriceparam:
  7473. description: 强平最新价浮动比例 - 方式为2时使用
  7474. type: number
  7475. createtime:
  7476. description: 创建时间
  7477. type: string
  7478. creatorid:
  7479. description: 创建人
  7480. type: integer
  7481. currencyid:
  7482. description: 报价货币ID
  7483. type: integer
  7484. decimalplace:
  7485. description: 报价小数位
  7486. type: integer
  7487. exercisetype:
  7488. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7489. type: integer
  7490. exexchangeid:
  7491. description: 外部交易所ID[通道交易]
  7492. type: integer
  7493. goodsgroupid:
  7494. description: 商品组ID(自增ID)
  7495. type: integer
  7496. goodsgroupname:
  7497. description: 商品组名称
  7498. type: string
  7499. goodsgroupstatus:
  7500. description: 商品组状态 - 1:正常 2:注销
  7501. type: integer
  7502. goodunitid:
  7503. description: 报价单位ID
  7504. type: integer
  7505. innerdealmode:
  7506. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7507. type: integer
  7508. isbuylimited:
  7509. description: 是否限制建仓量 - 0:不限制 1:限制
  7510. type: integer
  7511. marketid:
  7512. description: 所属市场ID
  7513. type: integer
  7514. modifierid:
  7515. description: 修改人
  7516. type: integer
  7517. modifytime:
  7518. description: 修改时间
  7519. type: string
  7520. outerdealmode:
  7521. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7522. type: integer
  7523. outergroupcode:
  7524. description: 外部商品组代码[通道交易]
  7525. type: string
  7526. premiumdecimalplace:
  7527. description: 权利金小数位[场外期权]
  7528. type: integer
  7529. premiumspreadalgorithm:
  7530. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7531. type: integer
  7532. premiumspreadvalue:
  7533. description: 权利金点差值[场外期权]
  7534. type: number
  7535. qtydecimalplace:
  7536. description: 成交量小数位
  7537. type: integer
  7538. quotegear:
  7539. description: 行情档位(1-10)
  7540. type: integer
  7541. quoteminunit:
  7542. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7543. type: integer
  7544. quoterid:
  7545. description: 报价商ID[场外期权]
  7546. type: integer
  7547. quotesourcegroupid:
  7548. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7549. type: integer
  7550. syncgoodsqty:
  7551. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7552. type: integer
  7553. required:
  7554. - goodsgroupid
  7555. - goodsgroupname
  7556. - goodsgroupstatus
  7557. - marketid
  7558. type: object
  7559. models.Goodssortbypreposition:
  7560. properties:
  7561. goodscode:
  7562. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7563. type: string
  7564. goodsgroupcode:
  7565. description: 品种代码
  7566. type: string
  7567. prepositionqty:
  7568. description: 昨持仓量
  7569. type: integer
  7570. sortindex:
  7571. description: 排序
  7572. type: integer
  7573. tradedate:
  7574. description: 交易日
  7575. type: string
  7576. updatetime:
  7577. description: 更新时间
  7578. type: string
  7579. required:
  7580. - goodscode
  7581. - tradedate
  7582. type: object
  7583. models.Hedgeinnerholderdetail:
  7584. properties:
  7585. accountid:
  7586. description: 账号ID
  7587. type: integer
  7588. buyorsell:
  7589. description: 方向 - 0:买 1:卖
  7590. type: integer
  7591. freezeqty:
  7592. description: 冻结数量 - 按单平使用
  7593. type: integer
  7594. goodsid:
  7595. description: 商品ID
  7596. type: integer
  7597. holderamount:
  7598. description: 持仓金额 [商品币种]
  7599. type: number
  7600. holderdays:
  7601. description: 剩余冻结天数
  7602. type: integer
  7603. holderprice:
  7604. description: 持仓价格
  7605. type: number
  7606. holderqty:
  7607. description: 持仓数量
  7608. type: integer
  7609. marketid:
  7610. description: 市场ID
  7611. type: integer
  7612. openprice:
  7613. description: 建仓价格
  7614. type: number
  7615. openqty:
  7616. description: 建仓数量
  7617. type: integer
  7618. parentaccountid:
  7619. description: 所属母账户
  7620. type: integer
  7621. releaseamount:
  7622. description: 释放持仓金额[商品币种]
  7623. type: number
  7624. tradeamount:
  7625. description: 成交金额[账户]
  7626. type: number
  7627. tradedate:
  7628. description: 交易日(yyyyMMdd)
  7629. type: string
  7630. tradeid:
  7631. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7632. type: string
  7633. tradetime:
  7634. description: 交易时间
  7635. type: string
  7636. required:
  7637. - buyorsell
  7638. - tradeid
  7639. type: object
  7640. models.Hedgemarketopenlog:
  7641. properties:
  7642. accountid:
  7643. description: 资金账号[外部母账户]
  7644. type: integer
  7645. fcname:
  7646. description: 期货公司名称
  7647. type: string
  7648. handlestatus:
  7649. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7650. type: integer
  7651. marketid:
  7652. description: 市场ID
  7653. type: integer
  7654. status:
  7655. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7656. type: integer
  7657. tradedate:
  7658. description: 交易日(yyyyMMdd)
  7659. type: string
  7660. updatetime:
  7661. description: 更新时间
  7662. type: string
  7663. required:
  7664. - accountid
  7665. type: object
  7666. models.HsbyBuyMyPayOrder:
  7667. properties:
  7668. agreeunit:
  7669. description: 合约单位
  7670. type: number
  7671. buyaccountid:
  7672. description: 买方账号ID[报价币种]
  7673. type: integer
  7674. buyorderid:
  7675. description: 买方委托单号
  7676. type: string
  7677. createtime:
  7678. description: 创建时间
  7679. type: string
  7680. currencysign:
  7681. description: 货币符号
  7682. type: string
  7683. decimalplace:
  7684. description: 报价小数位
  7685. type: integer
  7686. goodscode:
  7687. description: 商品代码(内部)
  7688. type: string
  7689. goodsid:
  7690. description: 商品ID
  7691. type: integer
  7692. goodsname:
  7693. description: 商品名称
  7694. type: string
  7695. marketid:
  7696. description: 市场ID
  7697. type: integer
  7698. offamount:
  7699. description: 优惠金额
  7700. type: number
  7701. originalamount:
  7702. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7703. type: number
  7704. payamount:
  7705. description: 支付金额 = TradeAmount + TradeCharge
  7706. type: number
  7707. payflag:
  7708. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7709. type: integer
  7710. paylimitedtime:
  7711. description: 支付期限
  7712. type: string
  7713. paytime:
  7714. description: 付款时间
  7715. type: string
  7716. picurls1:
  7717. description: 预售商品介绍图片[多张用逗号分隔]
  7718. type: string
  7719. picurls2:
  7720. description: 挂牌商品介绍图片[多张用逗号分隔]
  7721. type: string
  7722. sellaccountid:
  7723. description: 卖方账号ID[报价币种]
  7724. type: integer
  7725. sellorderid:
  7726. description: 卖方委托单号
  7727. type: string
  7728. tradeamount:
  7729. description: 成交金额
  7730. type: number
  7731. tradecharge:
  7732. description: 成交手续费(买方)
  7733. type: number
  7734. tradedate:
  7735. description: 交易日(yyyyMMdd)
  7736. type: string
  7737. tradeid:
  7738. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7739. type: string
  7740. trademode:
  7741. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7742. 21:竞拍-大宗式 22:受托竞价
  7743. type: integer
  7744. tradeprice:
  7745. description: 成交价格
  7746. type: number
  7747. tradeqty:
  7748. description: 成交数量
  7749. type: integer
  7750. vendorname1:
  7751. description: 预售商品供应商名称
  7752. type: string
  7753. vendorname2:
  7754. description: 挂牌商品供应商名称
  7755. type: string
  7756. required:
  7757. - goodscode
  7758. - goodsname
  7759. - tradeid
  7760. - trademode
  7761. type: object
  7762. models.HsbyBuyMyTradeDetail:
  7763. properties:
  7764. accountid:
  7765. description: 账户ID[报价币种]
  7766. type: integer
  7767. agreeunit:
  7768. description: 合约单位
  7769. type: number
  7770. amount:
  7771. description: 金额 = 价格 * 数量 * 合约单位
  7772. type: number
  7773. buyorsell:
  7774. description: 买卖 - 0:买 1:卖
  7775. type: integer
  7776. currencysign:
  7777. description: 货币符号
  7778. type: string
  7779. decimalplace:
  7780. description: 报价小数位
  7781. type: integer
  7782. goodscode:
  7783. description: 商品代码(内部)
  7784. type: string
  7785. goodsid:
  7786. description: 商品ID
  7787. type: integer
  7788. goodsname:
  7789. description: 商品名称
  7790. type: string
  7791. marketid:
  7792. description: 市场ID
  7793. type: integer
  7794. orderamount:
  7795. description: 委托金额
  7796. type: number
  7797. orderid:
  7798. description: 单号(成交单号)
  7799. type: string
  7800. picurls1:
  7801. description: 预售商品介绍图片[多张用逗号分隔]
  7802. type: string
  7803. picurls2:
  7804. description: 挂牌商品介绍图片[多张用逗号分隔]
  7805. type: string
  7806. price:
  7807. description: 价格
  7808. type: number
  7809. qty:
  7810. description: 数量
  7811. type: integer
  7812. time:
  7813. description: 时间
  7814. type: string
  7815. trademode:
  7816. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7817. 21:竞拍-大宗式 22:受托竞价
  7818. type: integer
  7819. vendorname1:
  7820. description: 预售商品供应商名称
  7821. type: string
  7822. vendorname2:
  7823. description: 挂牌商品供应商名称
  7824. type: string
  7825. required:
  7826. - accountid
  7827. - buyorsell
  7828. - goodscode
  7829. - goodsid
  7830. - goodsname
  7831. - marketid
  7832. - orderid
  7833. - qty
  7834. - time
  7835. - trademode
  7836. type: object
  7837. models.HsbyGoodsOrderDetail:
  7838. properties:
  7839. buyorsell:
  7840. description: 买卖 - 0:买 1:卖
  7841. type: integer
  7842. currencysign:
  7843. description: 货币符号
  7844. type: string
  7845. customername:
  7846. description: 客户名称(企业名称),已脱敏
  7847. type: string
  7848. enableqty:
  7849. description: 可用数量
  7850. type: integer
  7851. goodunit:
  7852. description: 报价单位
  7853. type: string
  7854. orderid:
  7855. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7856. type: string
  7857. orderprice:
  7858. description: 委托价格
  7859. type: number
  7860. ordertime:
  7861. description: 委托时间
  7862. type: string
  7863. required:
  7864. - buyorsell
  7865. - orderid
  7866. - ordertime
  7867. type: object
  7868. models.HsbyListingGoodsDetail:
  7869. properties:
  7870. agreeunit:
  7871. description: 合约单位
  7872. type: number
  7873. buymaxqty:
  7874. description: 购买上限 [71] - 0为不限
  7875. type: integer
  7876. currency:
  7877. description: 货币
  7878. type: string
  7879. currencysign:
  7880. description: 货币符号
  7881. type: string
  7882. decimalplace:
  7883. description: 报价小数位
  7884. type: integer
  7885. desccityid:
  7886. description: 目的地(市)ID
  7887. type: integer
  7888. descprovinceid:
  7889. description: 目的地(省)ID
  7890. type: integer
  7891. goodscode:
  7892. description: 商品代码(内部)
  7893. type: string
  7894. goodsdesc:
  7895. description: 商品详情
  7896. type: string
  7897. goodsid:
  7898. description: 商品ID(自增ID SEQ_GOODS)
  7899. type: integer
  7900. goodsname:
  7901. description: 商品名称
  7902. type: string
  7903. goodsprice:
  7904. description: 商品价格
  7905. type: number
  7906. hotindex:
  7907. description: 景点热度
  7908. type: integer
  7909. last:
  7910. description: 现价
  7911. type: number
  7912. limitdown:
  7913. description: 跌停价
  7914. type: number
  7915. limitup:
  7916. description: 涨停价
  7917. type: number
  7918. lotsize:
  7919. description: 手数最小变动单位
  7920. type: integer
  7921. marketid:
  7922. description: 所属市场ID
  7923. type: integer
  7924. picurls:
  7925. description: 介绍图片[多张用逗号分隔]
  7926. type: string
  7927. quoteminunit:
  7928. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7929. type: integer
  7930. stepvalue:
  7931. description: 价格最小变动单位
  7932. type: number
  7933. trademode:
  7934. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7935. 21:竞拍-大宗式 22:受托竞价
  7936. type: integer
  7937. vendorattr:
  7938. description: 供应商附件(多张,逗号分隔)
  7939. type: string
  7940. vendorname:
  7941. description: 供应商名称
  7942. type: string
  7943. vendorphone:
  7944. description: 供应商客服电话
  7945. type: string
  7946. videourls:
  7947. description: 介绍视频[多张用逗号分隔]
  7948. type: string
  7949. required:
  7950. - goodscode
  7951. - goodsid
  7952. - goodsname
  7953. - marketid
  7954. - trademode
  7955. type: object
  7956. models.HsbyMarketGoods:
  7957. properties:
  7958. accountid:
  7959. description: 账户ID[报价币种]
  7960. type: integer
  7961. agreeunit:
  7962. description: 合约单位
  7963. type: number
  7964. buyorsell:
  7965. description: 买卖 - 0:买 1:卖
  7966. type: integer
  7967. categoryid:
  7968. description: 类别ID(WRCATEGORY)
  7969. type: integer
  7970. currency:
  7971. description: 货币
  7972. type: string
  7973. currencysign:
  7974. description: 货币符号
  7975. type: string
  7976. customername:
  7977. description: 卖家名称
  7978. type: string
  7979. decimalplace:
  7980. description: 报价小数位
  7981. type: integer
  7982. goodscode:
  7983. description: 商品代码(内部)
  7984. type: string
  7985. goodsid:
  7986. description: 商品ID
  7987. type: integer
  7988. goodsname:
  7989. description: 商品名称
  7990. type: string
  7991. goodsprice:
  7992. description: 商品价格
  7993. type: number
  7994. hascoupon:
  7995. description: 是否可用优惠卷
  7996. type: boolean
  7997. hotindex:
  7998. description: 景点热度
  7999. type: integer
  8000. marketid:
  8001. description: 市场ID
  8002. type: integer
  8003. orderid:
  8004. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8005. type: string
  8006. orderprice:
  8007. description: 委托价格
  8008. type: number
  8009. orderstatus:
  8010. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8011. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8012. 16:成交失败违约(荷兰式竞拍专用)
  8013. type: integer
  8014. picurls:
  8015. description: 介绍图片[多张用逗号分隔]
  8016. type: string
  8017. quoteminunit:
  8018. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8019. type: integer
  8020. sellUserID:
  8021. description: 卖方UserID
  8022. type: integer
  8023. trademode:
  8024. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8025. 21:竞拍-大宗式 22:受托竞价
  8026. type: integer
  8027. videourls:
  8028. description: 介绍视频[多张用逗号分隔]
  8029. type: string
  8030. required:
  8031. - accountid
  8032. - buyorsell
  8033. - goodscode
  8034. - goodsid
  8035. - goodsname
  8036. - marketid
  8037. - orderid
  8038. - trademode
  8039. type: object
  8040. models.HsbyMarketGoodsDetail:
  8041. properties:
  8042. accountid:
  8043. description: 账户ID[报价币种]
  8044. type: integer
  8045. agreeunit:
  8046. description: 合约单位
  8047. type: number
  8048. buymaxqty:
  8049. description: 购买上限 [71] - 0为不限
  8050. type: integer
  8051. buyorsell:
  8052. description: 买卖 - 0:买 1:卖
  8053. type: integer
  8054. cancelqty:
  8055. description: 撤单数量
  8056. type: integer
  8057. categoryid:
  8058. description: 类别ID(WRCATEGORY)
  8059. type: integer
  8060. currency:
  8061. description: 货币
  8062. type: string
  8063. currencysign:
  8064. description: 货币符号
  8065. type: string
  8066. customername:
  8067. description: 卖家名称
  8068. type: string
  8069. decimalplace:
  8070. description: 报价小数位
  8071. type: integer
  8072. goodscode:
  8073. description: 商品代码(内部)
  8074. type: string
  8075. goodsdesc:
  8076. description: 商品详情
  8077. type: string
  8078. goodsid:
  8079. description: 商品ID
  8080. type: integer
  8081. goodsname:
  8082. description: 商品名称
  8083. type: string
  8084. goodsprice:
  8085. description: 商品价格
  8086. type: number
  8087. hotindex:
  8088. description: 景点热度
  8089. type: integer
  8090. lotsize:
  8091. description: 手数最小变动单位
  8092. type: integer
  8093. marketid:
  8094. description: 市场ID
  8095. type: integer
  8096. orderid:
  8097. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8098. type: string
  8099. orderprice:
  8100. description: 委托价格
  8101. type: number
  8102. orderqty:
  8103. description: 委托数量
  8104. type: integer
  8105. orderstatus:
  8106. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8107. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8108. 16:成交失败违约(荷兰式竞拍专用)
  8109. type: integer
  8110. picurls:
  8111. description: 介绍图片[多张用逗号分隔]
  8112. type: string
  8113. quoteminunit:
  8114. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8115. type: integer
  8116. sellUserID:
  8117. description: 卖方UserID
  8118. type: integer
  8119. trademode:
  8120. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8121. 21:竞拍-大宗式 22:受托竞价
  8122. type: integer
  8123. tradeqty:
  8124. description: 成交数量
  8125. type: integer
  8126. vendorattr:
  8127. description: 供应商附件(多张,逗号分隔)
  8128. type: string
  8129. vendorname:
  8130. description: 供应商名称
  8131. type: string
  8132. vendorphone:
  8133. description: 供应商客服电话
  8134. type: string
  8135. videourls:
  8136. description: 介绍视频[多张用逗号分隔]
  8137. type: string
  8138. required:
  8139. - accountid
  8140. - buyorsell
  8141. - goodscode
  8142. - goodsid
  8143. - goodsname
  8144. - marketid
  8145. - orderid
  8146. - orderqty
  8147. - trademode
  8148. type: object
  8149. models.HsbyMarketInfo:
  8150. properties:
  8151. marketid:
  8152. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8153. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8154. type: integer
  8155. marketname:
  8156. description: 市场名称
  8157. type: string
  8158. marketstatus:
  8159. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8160. type: integer
  8161. trademode:
  8162. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8163. 21:竞拍-大宗式 22:受托竞价
  8164. type: integer
  8165. required:
  8166. - marketid
  8167. - marketstatus
  8168. - trademode
  8169. type: object
  8170. models.HsbyMyGoods:
  8171. properties:
  8172. accountid:
  8173. description: 账号Id
  8174. type: integer
  8175. agreeunit:
  8176. description: 合约单位
  8177. type: number
  8178. buyaverageprice:
  8179. description: 持仓均价
  8180. type: number
  8181. buycurholderamount:
  8182. description: 买当前持仓总金额[商品币种]
  8183. type: number
  8184. buycurpositionqty:
  8185. description: 买当前持仓总数量
  8186. type: integer
  8187. buymaxqty:
  8188. description: 购买上限 [71] - 0为不限
  8189. type: integer
  8190. currencysign:
  8191. description: 货币符号
  8192. type: string
  8193. decimalplace:
  8194. description: 报价小数位
  8195. type: integer
  8196. enableqty:
  8197. description: 可用数量
  8198. type: integer
  8199. goodscode:
  8200. description: 商品代码(内部)
  8201. type: string
  8202. goodsid:
  8203. description: 商品Id
  8204. type: integer
  8205. goodsname:
  8206. description: 商品名称
  8207. type: string
  8208. goodsprice:
  8209. description: 商品价格
  8210. type: number
  8211. goodsstatus:
  8212. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8213. type: integer
  8214. last:
  8215. description: 现价(仅使用于挂牌点选)
  8216. type: number
  8217. limitdown:
  8218. description: 跌停价(仅使用于挂牌点选)
  8219. type: number
  8220. limitup:
  8221. description: 涨停价(仅使用于挂牌点选)
  8222. type: number
  8223. lotsize:
  8224. description: 手数最小变动单位
  8225. type: integer
  8226. marketid:
  8227. description: 所属市场ID
  8228. type: integer
  8229. picurls:
  8230. description: 介绍图片[多张用逗号分隔]
  8231. type: string
  8232. quoteminunit:
  8233. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8234. type: integer
  8235. stepvalue:
  8236. description: 价格最小变动单位
  8237. type: number
  8238. trademode:
  8239. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8240. 21:竞拍-大宗式 22:受托竞价
  8241. type: integer
  8242. required:
  8243. - accountid
  8244. - goodscode
  8245. - goodsid
  8246. - goodsname
  8247. - marketid
  8248. - trademode
  8249. type: object
  8250. models.HsbyMyPackage:
  8251. properties:
  8252. accountid:
  8253. description: 账户ID
  8254. type: integer
  8255. address:
  8256. description: 提货人详细地址
  8257. type: string
  8258. agreeunit:
  8259. description: 合约单位
  8260. type: number
  8261. amount:
  8262. description: 提货金额
  8263. type: number
  8264. auditer:
  8265. description: 审核人
  8266. type: integer
  8267. audittime:
  8268. description: 审核时间
  8269. type: string
  8270. averageprice:
  8271. description: 均价
  8272. type: number
  8273. cardnum:
  8274. description: 提货人证件号码
  8275. type: string
  8276. cardtypeid:
  8277. description: 提货人证件类型
  8278. type: integer
  8279. checkremark:
  8280. description: 审核备注
  8281. type: string
  8282. currencysign:
  8283. description: 货币符号
  8284. type: string
  8285. decimalplace:
  8286. description: 报价小数位
  8287. type: integer
  8288. goodscode:
  8289. description: 商品代码(内部)
  8290. type: string
  8291. goodsid:
  8292. description: 商品ID
  8293. type: integer
  8294. goodsname:
  8295. description: 商品名称
  8296. type: string
  8297. handlestatus:
  8298. description: 处理状态
  8299. type: integer
  8300. marketid:
  8301. description: 市场ID
  8302. type: integer
  8303. phonenum:
  8304. description: 提货人联系方式
  8305. type: string
  8306. picurls:
  8307. description: 介绍图片[多张用逗号分隔]
  8308. type: string
  8309. qty:
  8310. description: 提货数量
  8311. type: number
  8312. recivername:
  8313. description: 提货人姓名
  8314. type: string
  8315. reqtime:
  8316. description: 更新时间
  8317. type: string
  8318. takemode:
  8319. description: 提货方式 - 2:自提 3:配送
  8320. type: integer
  8321. takeorderid:
  8322. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8323. type: string
  8324. takeorderstatus:
  8325. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8326. type: integer
  8327. takeremark:
  8328. description: 提货备注
  8329. type: string
  8330. tradedate:
  8331. description: 交易日(yyyyMMdd)
  8332. type: string
  8333. trademode:
  8334. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8335. 21:竞拍-大宗式 22:受托竞价
  8336. type: integer
  8337. userid:
  8338. description: 用户ID
  8339. type: integer
  8340. vendorname:
  8341. description: 供应商名称
  8342. type: string
  8343. required:
  8344. - goodscode
  8345. - goodsname
  8346. - takeorderid
  8347. - trademode
  8348. type: object
  8349. models.HsbyPreGoods:
  8350. properties:
  8351. agreeunit:
  8352. description: 合约单位
  8353. type: number
  8354. currency:
  8355. description: 货币
  8356. type: string
  8357. currencysign:
  8358. description: 货币符号
  8359. type: string
  8360. decimalplace:
  8361. description: 报价小数位
  8362. type: integer
  8363. desccityid:
  8364. description: 目的地(市)
  8365. type: integer
  8366. descprovinceid:
  8367. description: 目的地(省)
  8368. type: integer
  8369. enableqty:
  8370. description: 剩余数量
  8371. type: integer
  8372. goodscode:
  8373. description: 商品代码(内部)
  8374. type: string
  8375. goodsid:
  8376. description: 商品ID(自增ID SEQ_GOODS)
  8377. type: integer
  8378. goodsname:
  8379. description: 商品名称
  8380. type: string
  8381. goodsstatus:
  8382. description: 商品状态- 2:未上市 3:上市
  8383. type: integer
  8384. lasttradedate:
  8385. description: 最后交易日期(状态:待退市)
  8386. type: string
  8387. listingdate:
  8388. description: 交易开始日期
  8389. type: string
  8390. marketid:
  8391. description: 所属市场ID
  8392. type: integer
  8393. picurls:
  8394. description: 介绍图片[多张用逗号分隔]
  8395. type: string
  8396. presaledqty:
  8397. description: 已预售量(预售结束时更新)
  8398. type: integer
  8399. presaleqty:
  8400. description: 预售数量
  8401. type: integer
  8402. quoteminunit:
  8403. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8404. type: integer
  8405. refprice:
  8406. description: 参考价格[一口价]
  8407. type: number
  8408. relatedgoodsid:
  8409. description: 关联交易合约ID
  8410. type: integer
  8411. trademode:
  8412. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8413. 21:竞拍-大宗式 22:受托竞价
  8414. type: integer
  8415. videourls:
  8416. description: 介绍视频[多张用逗号分隔]
  8417. type: string
  8418. required:
  8419. - goodscode
  8420. - goodsid
  8421. - goodsname
  8422. - marketid
  8423. - trademode
  8424. type: object
  8425. models.HsbyPreGoodsDetail:
  8426. properties:
  8427. agreeunit:
  8428. description: 合约单位
  8429. type: number
  8430. buymaxqty:
  8431. description: 购买上限 [71] - 0为不限
  8432. type: integer
  8433. currency:
  8434. description: 货币
  8435. type: string
  8436. currencysign:
  8437. description: 货币符号
  8438. type: string
  8439. customername:
  8440. description: 发行单位
  8441. type: string
  8442. decimalplace:
  8443. description: 报价小数位
  8444. type: integer
  8445. desccityid:
  8446. description: 目的地(市)ID
  8447. type: integer
  8448. descprovinceid:
  8449. description: 目的地(省)ID
  8450. type: integer
  8451. enableqty:
  8452. description: 剩余数量
  8453. type: integer
  8454. goodscode:
  8455. description: 商品代码(内部)
  8456. type: string
  8457. goodsdesc:
  8458. description: 商品详情
  8459. type: string
  8460. goodsid:
  8461. description: 商品ID(自增ID SEQ_GOODS)
  8462. type: integer
  8463. goodsname:
  8464. description: 商品名称
  8465. type: string
  8466. goodsstatus:
  8467. description: 商品状态- 2:未上市 3:上市
  8468. type: integer
  8469. goodunit:
  8470. description: 报价单位
  8471. type: string
  8472. lasttradedate:
  8473. description: 最后交易日期(状态:待退市)
  8474. type: string
  8475. listingdate:
  8476. description: 交易开始日期
  8477. type: string
  8478. lotsize:
  8479. description: 手数最小变动单位
  8480. type: integer
  8481. marketid:
  8482. description: 所属市场ID
  8483. type: integer
  8484. picurls:
  8485. description: 介绍图片[多张用逗号分隔]
  8486. type: string
  8487. presaledqty:
  8488. description: 已预售量(预售结束时更新)
  8489. type: integer
  8490. presaleqty:
  8491. description: 预售数量
  8492. type: integer
  8493. quoteminunit:
  8494. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8495. type: integer
  8496. refprice:
  8497. description: 参考价格[一口价]
  8498. type: number
  8499. relatedgoodsid:
  8500. description: 关联交易合约ID
  8501. type: integer
  8502. stepvalue:
  8503. description: 价格最小变动单位
  8504. type: number
  8505. trademode:
  8506. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8507. 21:竞拍-大宗式 22:受托竞价
  8508. type: integer
  8509. vendorattr:
  8510. description: 供应商附件(多张,逗号分隔)
  8511. type: string
  8512. vendorname:
  8513. description: 供应商名称
  8514. type: string
  8515. vendorphone:
  8516. description: 供应商客服电话
  8517. type: string
  8518. videourls:
  8519. description: 介绍视频[多张用逗号分隔]
  8520. type: string
  8521. required:
  8522. - goodscode
  8523. - goodsid
  8524. - goodsname
  8525. - marketid
  8526. - trademode
  8527. type: object
  8528. models.HsbySellCollectionOrder:
  8529. properties:
  8530. agreeunit:
  8531. description: 合约单位
  8532. type: number
  8533. buyaccountid:
  8534. description: 买方账号ID[报价币种]
  8535. type: integer
  8536. buyorderid:
  8537. description: 买方委托单号
  8538. type: string
  8539. createtime:
  8540. description: 创建时间
  8541. type: string
  8542. currencysign:
  8543. description: 货币符号
  8544. type: string
  8545. decimalplace:
  8546. description: 报价小数位
  8547. type: integer
  8548. goodscode:
  8549. description: 商品代码(内部)
  8550. type: string
  8551. goodsid:
  8552. description: 商品ID
  8553. type: integer
  8554. goodsname:
  8555. description: 商品名称
  8556. type: string
  8557. marketid:
  8558. description: 市场ID
  8559. type: integer
  8560. offamount:
  8561. description: 优惠金额
  8562. type: number
  8563. payamount:
  8564. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8565. type: number
  8566. payflag:
  8567. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8568. type: integer
  8569. paylimitedtime:
  8570. description: 支付期限
  8571. type: string
  8572. paytime:
  8573. description: 付款时间
  8574. type: string
  8575. picurls:
  8576. description: 商品介绍图片[多张用逗号分隔]
  8577. type: string
  8578. sellaccountid:
  8579. description: 卖方账号ID[报价币种]
  8580. type: integer
  8581. sellorderid:
  8582. description: 卖方委托单号
  8583. type: string
  8584. tradeamount:
  8585. description: 成交金额
  8586. type: number
  8587. tradecharge:
  8588. description: 成交手续费(买方)
  8589. type: number
  8590. tradedate:
  8591. description: 交易日(yyyyMMdd)
  8592. type: string
  8593. tradeid:
  8594. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8595. type: string
  8596. trademode:
  8597. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8598. 21:竞拍-大宗式 22:受托竞价
  8599. type: integer
  8600. tradeprice:
  8601. description: 成交价格
  8602. type: number
  8603. tradeqty:
  8604. description: 成交数量
  8605. type: integer
  8606. required:
  8607. - goodscode
  8608. - goodsname
  8609. - tradeid
  8610. - trademode
  8611. type: object
  8612. models.HsbySellMyDetail:
  8613. properties:
  8614. accountid:
  8615. description: 账户ID[报价币种]
  8616. type: integer
  8617. agreeunit:
  8618. description: 合约单位
  8619. type: number
  8620. buyorsell:
  8621. description: 买卖 - 0:买 1:卖
  8622. type: integer
  8623. currencysign:
  8624. description: 货币符号
  8625. type: string
  8626. decimalplace:
  8627. description: 报价小数位
  8628. type: integer
  8629. goodscode:
  8630. description: 商品代码(内部)
  8631. type: string
  8632. goodsid:
  8633. description: 商品ID
  8634. type: integer
  8635. goodsname:
  8636. description: 商品名称
  8637. type: string
  8638. marketid:
  8639. description: 市场ID
  8640. type: integer
  8641. orderid:
  8642. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8643. type: string
  8644. ordertype:
  8645. description: 单据类型:0 - 发布中, 1 - 已完成
  8646. type: integer
  8647. picurls:
  8648. description: 介绍图片[多张用逗号分隔]
  8649. type: string
  8650. price:
  8651. description: 价格
  8652. type: number
  8653. qty:
  8654. description: 数量
  8655. type: integer
  8656. time:
  8657. description: 时间
  8658. type: string
  8659. trademode:
  8660. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8661. 21:竞拍-大宗式 22:受托竞价
  8662. type: integer
  8663. vendorname:
  8664. description: 供应商名称
  8665. type: string
  8666. required:
  8667. - accountid
  8668. - buyorsell
  8669. - goodscode
  8670. - goodsid
  8671. - goodsname
  8672. - marketid
  8673. - orderid
  8674. - time
  8675. - trademode
  8676. type: object
  8677. models.HsbyTopGoods:
  8678. properties:
  8679. agreeunit:
  8680. description: 合约单位
  8681. type: number
  8682. currency:
  8683. description: 货币
  8684. type: string
  8685. currencysign:
  8686. description: 货币符号
  8687. type: string
  8688. decimalplace:
  8689. description: 报价小数位
  8690. type: integer
  8691. desccityid:
  8692. description: 目的地(市)
  8693. type: integer
  8694. descprovinceid:
  8695. description: 目的地(省)
  8696. type: integer
  8697. goodscode:
  8698. description: 商品代码(内部)
  8699. type: string
  8700. goodsid:
  8701. description: 商品ID(自增ID SEQ_GOODS)
  8702. type: integer
  8703. goodsname:
  8704. description: 商品名称
  8705. type: string
  8706. hotindex:
  8707. description: 景点热度
  8708. type: integer
  8709. last:
  8710. description: 现价
  8711. type: number
  8712. marketid:
  8713. description: 所属市场ID
  8714. type: integer
  8715. picurls:
  8716. description: 介绍图片[多张用逗号分隔]
  8717. type: string
  8718. quoteminunit:
  8719. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8720. type: integer
  8721. trademode:
  8722. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8723. 21:竞拍-大宗式 22:受托竞价
  8724. type: integer
  8725. videourls:
  8726. description: 介绍视频[多张用逗号分隔]
  8727. type: string
  8728. required:
  8729. - goodscode
  8730. - goodsid
  8731. - goodsname
  8732. - marketid
  8733. - trademode
  8734. type: object
  8735. models.HybsMyBuyOrderDetail:
  8736. properties:
  8737. accountid:
  8738. description: 账户ID[报价币种]
  8739. type: integer
  8740. agreeunit:
  8741. description: 合约单位
  8742. type: number
  8743. buyorsell:
  8744. description: 买卖 - 0:买 1:卖
  8745. type: integer
  8746. cancelqty:
  8747. description: 撤单数量
  8748. type: integer
  8749. currencysign:
  8750. description: 货币符号
  8751. type: string
  8752. decimalplace:
  8753. description: 报价小数位
  8754. type: integer
  8755. goodscode:
  8756. description: 商品代码(内部)
  8757. type: string
  8758. goodsid:
  8759. description: 商品ID
  8760. type: integer
  8761. goodsname:
  8762. description: 商品名称
  8763. type: string
  8764. listingselecttype:
  8765. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8766. type: integer
  8767. marketid:
  8768. description: 市场ID
  8769. type: integer
  8770. mybuystatus:
  8771. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8772. type: integer
  8773. orderamount:
  8774. description: 委托金额
  8775. type: number
  8776. orderid:
  8777. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8778. type: string
  8779. orderprice:
  8780. description: 委托价格
  8781. type: number
  8782. orderqty:
  8783. description: 委托数量
  8784. type: integer
  8785. orderstatus:
  8786. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8787. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8788. 16:成交失败违约(荷兰式竞拍专用)
  8789. type: integer
  8790. ordertime:
  8791. description: 委托时间
  8792. type: string
  8793. picurls1:
  8794. description: 预售商品介绍图片[多张用逗号分隔]
  8795. type: string
  8796. picurls2:
  8797. description: 挂牌商品介绍图片[多张用逗号分隔]
  8798. type: string
  8799. trademode:
  8800. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8801. 21:竞拍-大宗式 22:受托竞价
  8802. type: integer
  8803. tradeqty:
  8804. description: 成交数量
  8805. type: integer
  8806. vendorname1:
  8807. description: 预售商品供应商名称
  8808. type: string
  8809. vendorname2:
  8810. description: 挂牌商品供应商名称
  8811. type: string
  8812. required:
  8813. - accountid
  8814. - buyorsell
  8815. - goodscode
  8816. - goodsid
  8817. - goodsname
  8818. - marketid
  8819. - orderid
  8820. - orderqty
  8821. - ordertime
  8822. - trademode
  8823. type: object
  8824. models.Loginaccount:
  8825. properties:
  8826. accountname:
  8827. description: 账户名称
  8828. type: string
  8829. canoutin:
  8830. description: 是否可出入金 - 0:不可 1:可
  8831. type: integer
  8832. clientroleid:
  8833. description: 终端角色ID
  8834. type: integer
  8835. haslogined:
  8836. description: 是否已登录 - 0:未登录 1:已登录
  8837. type: integer
  8838. hasupdatedpwd:
  8839. description: 是否已更改密码 - 0:未修改 1:已修改
  8840. type: integer
  8841. lastloginip:
  8842. description: 最新登录地址
  8843. type: string
  8844. lastloginmode:
  8845. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8846. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8847. type: integer
  8848. lastloginremark:
  8849. description: 最新登录描述
  8850. type: string
  8851. lastlogintime:
  8852. description: 最新登录时间
  8853. type: string
  8854. logincode:
  8855. description: 登录代码
  8856. type: string
  8857. loginfailnum:
  8858. description: 连续登录失败次数(登录成功时清零)
  8859. type: integer
  8860. loginid:
  8861. description: 登陆账号
  8862. type: integer
  8863. loginport:
  8864. description: 最新登录端口
  8865. type: integer
  8866. loginstatus:
  8867. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8868. type: integer
  8869. loginusertype:
  8870. description: 登录账号类型 - 1:投资者 2:机构交易员
  8871. type: integer
  8872. mobile:
  8873. description: 手机号码(加密存储)
  8874. type: string
  8875. modifierid:
  8876. description: 修改人
  8877. type: integer
  8878. modifysrc:
  8879. description: 审核来源 - 1:管理端 2:终端
  8880. type: integer
  8881. modifytime:
  8882. description: 修改时间
  8883. type: string
  8884. password:
  8885. description: 登陆密码
  8886. type: string
  8887. pwdwrongcount:
  8888. description: 密码错误次数
  8889. type: integer
  8890. relateduserid:
  8891. description: 关联用户ID(机构)
  8892. type: integer
  8893. taaccountrighttype:
  8894. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8895. type: integer
  8896. unfreezetime:
  8897. description: 账户解冻时间
  8898. type: string
  8899. userid:
  8900. description: 用户ID
  8901. type: integer
  8902. required:
  8903. - loginid
  8904. type: object
  8905. models.MainAccountInfo:
  8906. properties:
  8907. accountid:
  8908. description: 账号id
  8909. type: integer
  8910. accountname:
  8911. description: 账号名称(taaccount表中的名称)
  8912. type: string
  8913. appid:
  8914. description: AppID
  8915. type: string
  8916. authcode:
  8917. description: 授权码
  8918. type: string
  8919. brokerid:
  8920. description: 经纪商id
  8921. type: string
  8922. fcid:
  8923. description: 期货公司id
  8924. type: integer
  8925. fcname:
  8926. description: 期货公司代码
  8927. type: string
  8928. hedgeaccountcode:
  8929. description: 外部账号代码(主账号登录代码)
  8930. type: string
  8931. hedgeaccountpwd:
  8932. description: 密码
  8933. type: string
  8934. ismain:
  8935. description: 是否主账号
  8936. type: integer
  8937. relateduserid:
  8938. description: 关联用户id
  8939. type: integer
  8940. userid:
  8941. description: 关联用户id
  8942. type: integer
  8943. type: object
  8944. models.Market:
  8945. properties:
  8946. auctionwrtype:
  8947. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8948. type: integer
  8949. canacceptquote:
  8950. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8951. type: integer
  8952. cangoodsexercise:
  8953. description: '[期权]是否可现货行权- 0:否 1:是'
  8954. type: integer
  8955. cangoodsexercisetype:
  8956. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8957. type: integer
  8958. canmanualquotestrike:
  8959. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8960. type: integer
  8961. canmutistage:
  8962. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8963. type: integer
  8964. canpreexercise:
  8965. description: '[期权]是否可预申报- 0:否 1:是'
  8966. type: integer
  8967. clearinterval:
  8968. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8969. type: integer
  8970. contracttmp:
  8971. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8972. type: string
  8973. exchareaid:
  8974. description: 所属交易所,可以没有
  8975. type: integer
  8976. goodstype:
  8977. description: 商品类型 - 1:交易商品 2:仓单商品
  8978. type: integer
  8979. hasrebate:
  8980. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8981. type: integer
  8982. hastradecredit:
  8983. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8984. type: integer
  8985. haswr:
  8986. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8987. type: integer
  8988. isdeductmargin:
  8989. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8990. type: integer
  8991. isrecordsource:
  8992. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8993. type: integer
  8994. isreleasemargin:
  8995. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8996. type: integer
  8997. marginformula:
  8998. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8999. type: integer
  9000. marginformula2:
  9001. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9002. type: integer
  9003. marketid:
  9004. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9005. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9006. type: integer
  9007. marketname:
  9008. description: 市场名称
  9009. type: string
  9010. marketserviceid:
  9011. description: 市场服务ID
  9012. type: integer
  9013. marketstatus:
  9014. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9015. type: integer
  9016. markettype:
  9017. description: 市场类型- 1:非交易服务 2:交易服务
  9018. type: integer
  9019. matchermode:
  9020. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9021. type: integer
  9022. openmethod:
  9023. description: 开盘模式 - 0 自动 1手动
  9024. type: integer
  9025. otcuserid:
  9026. description: 场外期权做市商[场外期权]
  9027. type: integer
  9028. outersynctime:
  9029. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9030. type: string
  9031. pendingflag:
  9032. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9033. type: integer
  9034. pendingtime:
  9035. description: 待开市时间[通道交易-对冲](HH:mm)
  9036. type: string
  9037. performancetempid:
  9038. description: 履约计划模板ID - 作废
  9039. type: integer
  9040. premiumquotemode:
  9041. description: 权利金报价方式 - 1:自动 2:手动
  9042. type: integer
  9043. rebateratio:
  9044. description: 返利比率[竞价式]
  9045. type: number
  9046. reckonorder:
  9047. description: 结算顺序
  9048. type: integer
  9049. reckonpricealgorithm:
  9050. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9051. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9052. type: integer
  9053. reckonpriceparam:
  9054. description: 结算价参数
  9055. type: integer
  9056. reckontime:
  9057. description: 结算时间[通道交易-对冲](HH:mm)
  9058. type: string
  9059. roleprioritytype:
  9060. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9061. type: integer
  9062. selllistingauditflag:
  9063. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9064. type: integer
  9065. trademarkettype:
  9066. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9067. type: integer
  9068. trademode:
  9069. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9070. 21:竞拍-大宗式 22:受托竞价
  9071. type: integer
  9072. tradeproperty:
  9073. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9074. 8:场外期权
  9075. type: integer
  9076. tradetype:
  9077. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9078. type: integer
  9079. required:
  9080. - marketid
  9081. - marketstatus
  9082. - openmethod
  9083. - reckonpricealgorithm
  9084. - trademode
  9085. - tradeproperty
  9086. type: object
  9087. models.Marketrun:
  9088. properties:
  9089. afternexttradedate:
  9090. description: 下下交易日
  9091. type: string
  9092. clearquoteflag:
  9093. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9094. type: integer
  9095. lastreckondate:
  9096. description: 最新交易日(结算成功)
  9097. type: string
  9098. machinedate:
  9099. description: 机器时间
  9100. type: string
  9101. manualflag:
  9102. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9103. type: integer
  9104. marketid:
  9105. description: 市场ID
  9106. type: integer
  9107. nexttradedate:
  9108. description: 下一交易日
  9109. type: string
  9110. pretradedate:
  9111. description: 上一交易日
  9112. type: string
  9113. reckonflag:
  9114. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9115. type: integer
  9116. runstatus:
  9117. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9118. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9119. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9120. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9121. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9122. 62.今日免清算
  9123. type: integer
  9124. sectionid:
  9125. description: 时间段号[多时段时用]
  9126. type: integer
  9127. tradedate:
  9128. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9129. type: string
  9130. tradedate2:
  9131. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9132. type: string
  9133. updatetime:
  9134. description: 更新时间
  9135. type: string
  9136. required:
  9137. - marketid
  9138. - nexttradedate
  9139. - reckonflag
  9140. - runstatus
  9141. - tradedate
  9142. - tradedate2
  9143. type: object
  9144. models.Messageboard:
  9145. properties:
  9146. contactnum:
  9147. description: 联系电话
  9148. type: string
  9149. createtime:
  9150. description: 创建时间
  9151. type: string
  9152. message:
  9153. description: 留言信息
  9154. type: string
  9155. messageboardid:
  9156. description: 留言簿ID(SEQ_MessageBoard)
  9157. type: integer
  9158. userid:
  9159. description: 用户ID
  9160. type: integer
  9161. required:
  9162. - messageboardid
  9163. type: object
  9164. models.MyCoupon:
  9165. properties:
  9166. accountid:
  9167. description: 资金账户ID
  9168. type: integer
  9169. areauserid:
  9170. description: 所属机构
  9171. type: integer
  9172. conditionvalue:
  9173. description: 条件阈值(可为0)
  9174. type: number
  9175. couponcategroy:
  9176. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9177. type: integer
  9178. couponname:
  9179. description: 优惠券名称
  9180. type: string
  9181. coupontypeid:
  9182. description: 优惠券类型ID
  9183. type: string
  9184. couponvalue:
  9185. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9186. type: number
  9187. curfreezeqty:
  9188. description: 期末冻结数量
  9189. type: integer
  9190. curqty:
  9191. description: 期末数量
  9192. type: integer
  9193. isgeneral:
  9194. description: 是否通用券 - 0:否 1:是
  9195. type: integer
  9196. isunusable:
  9197. description: 是否不可用
  9198. type: boolean
  9199. limitedflag:
  9200. description: 是否指定商品 - 0:不限 1:限制
  9201. type: integer
  9202. limitedgoodsids:
  9203. description: 指定商品IDs[逗号分隔,前后加逗号]
  9204. type: string
  9205. orifreezeqty:
  9206. description: 期初冻结数量
  9207. type: integer
  9208. oriqty:
  9209. description: 期初数量
  9210. type: integer
  9211. reasontype:
  9212. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9213. type: integer
  9214. todaydecrease:
  9215. description: 今日减少
  9216. type: integer
  9217. todayincrease:
  9218. description: 今日增加
  9219. type: integer
  9220. userid:
  9221. description: 用户ID
  9222. type: integer
  9223. userscope:
  9224. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9225. type: string
  9226. required:
  9227. - accountid
  9228. - coupontypeid
  9229. type: object
  9230. models.MyCouponHold:
  9231. properties:
  9232. accountid:
  9233. description: 资金账户ID
  9234. type: integer
  9235. conditionvalue:
  9236. description: 条件阈值(可为0)
  9237. type: number
  9238. couponcategroy:
  9239. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9240. type: integer
  9241. couponholdid:
  9242. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9243. type: string
  9244. couponname:
  9245. description: 优惠券名称
  9246. type: string
  9247. coupontypeid:
  9248. description: 优惠券类型ID - SEQ_COUPONTYPE
  9249. type: string
  9250. couponvalue:
  9251. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9252. type: number
  9253. createtime:
  9254. description: 创建时间
  9255. type: string
  9256. enddate:
  9257. description: 结束日期
  9258. type: string
  9259. giveapplyid:
  9260. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9261. type: integer
  9262. holdstatus:
  9263. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9264. type: integer
  9265. isgeneral:
  9266. description: 是否通用券 - 0:否 1:是
  9267. type: integer
  9268. limitedflag:
  9269. description: 是否指定商品 - 0:不限 1:限制
  9270. type: integer
  9271. limitedgoodsids:
  9272. description: 指定商品IDs[逗号分隔]
  9273. type: string
  9274. qty:
  9275. description: 数量(按1平铺)
  9276. type: integer
  9277. startdate:
  9278. description: 开始日期
  9279. type: string
  9280. userid:
  9281. description: 用户ID
  9282. type: integer
  9283. userscope:
  9284. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9285. type: string
  9286. required:
  9287. - couponholdid
  9288. type: object
  9289. models.MyUsedCoupon:
  9290. properties:
  9291. accountid:
  9292. description: 资金账户ID(买方)
  9293. type: integer
  9294. conditionvalue:
  9295. description: 条件阈值(可为0)
  9296. type: number
  9297. couponcategroy:
  9298. description: 种类 - 1:现金券 2:折扣券
  9299. type: integer
  9300. couponname:
  9301. description: 优惠券名称
  9302. type: string
  9303. coupontypeid:
  9304. description: 优惠券类型ID(买方)
  9305. type: string
  9306. couponvalue:
  9307. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9308. type: number
  9309. createtime:
  9310. description: 创建时间
  9311. type: string
  9312. goodsid:
  9313. description: 商品ID
  9314. type: integer
  9315. handlestatus:
  9316. description: 处理状态
  9317. type: integer
  9318. marketid:
  9319. description: 市场ID
  9320. type: integer
  9321. offamount:
  9322. description: 优惠金额
  9323. type: number
  9324. orderid:
  9325. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9326. type: string
  9327. sellaccountid:
  9328. description: 资金账户ID(卖方)
  9329. type: integer
  9330. tradeamount:
  9331. description: 成交金额
  9332. type: number
  9333. tradeid:
  9334. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9335. type: string
  9336. usedqty:
  9337. description: 使用数量
  9338. type: integer
  9339. required:
  9340. - coupontypeid
  9341. - orderid
  9342. type: object
  9343. models.OperationPrimaryMenu:
  9344. properties:
  9345. Children:
  9346. description: 二级功能菜单
  9347. items:
  9348. $ref: '#/definitions/models.OperationSecondaryMenu'
  9349. type: array
  9350. Key:
  9351. description: 菜单KEY
  9352. type: string
  9353. Label:
  9354. description: 菜单标题
  9355. type: string
  9356. type: object
  9357. models.OperationSecondaryMenu:
  9358. properties:
  9359. Key:
  9360. description: 菜单KEY
  9361. type: string
  9362. Label:
  9363. description: 菜单标题
  9364. type: string
  9365. TabList:
  9366. description: 三级功能菜单
  9367. items:
  9368. $ref: '#/definitions/models.OperationTabMenu'
  9369. type: array
  9370. type: object
  9371. models.OperationTabMenu:
  9372. properties:
  9373. Key:
  9374. description: 菜单KEY
  9375. type: string
  9376. Label:
  9377. description: 菜单标题
  9378. type: string
  9379. type: object
  9380. models.PendingAuditBizModel:
  9381. properties:
  9382. accountid:
  9383. description: 现货账户
  9384. type: string
  9385. areaname:
  9386. description: 所属部门
  9387. type: string
  9388. bizid:
  9389. description: 业务ID
  9390. type: string
  9391. bizname:
  9392. description: 业务名称
  9393. type: string
  9394. status:
  9395. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9396. type: integer
  9397. type:
  9398. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9399. type: integer
  9400. type: object
  9401. models.QhjAccountOutInApply:
  9402. properties:
  9403. accountcode:
  9404. description: 资金账号
  9405. type: string
  9406. accountname:
  9407. description: 用户名称(名称)
  9408. type: string
  9409. accountpwd:
  9410. description: 资金密码
  9411. type: string
  9412. accountticket:
  9413. description: 最新账户服务流水号
  9414. type: string
  9415. amount:
  9416. description: 金额
  9417. type: number
  9418. applyremark:
  9419. description: 申请备注
  9420. type: string
  9421. applystatus:
  9422. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9423. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9424. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9425. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9426. type: integer
  9427. auditid:
  9428. description: 审核人
  9429. type: integer
  9430. audittime:
  9431. description: 审核时间
  9432. type: string
  9433. bank_apply_ticket:
  9434. description: 银行申请流水
  9435. type: string
  9436. bankaccountname:
  9437. description: 银行账户名
  9438. type: string
  9439. bankaccountno:
  9440. description: 银行卡号
  9441. type: string
  9442. bankid:
  9443. description: 银行编号
  9444. type: string
  9445. bankticket:
  9446. description: 银行流水
  9447. type: string
  9448. branchbankid:
  9449. description: 银行支行号
  9450. type: string
  9451. branchbankname:
  9452. description: 银行支行名称
  9453. type: string
  9454. capamountout:
  9455. description: 出金(劣后本金) - 外部子账户
  9456. type: number
  9457. certificatephotourl:
  9458. description: 凭证地址
  9459. type: string
  9460. charge:
  9461. description: 手续费
  9462. type: number
  9463. checkerrorflag:
  9464. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9465. type: integer
  9466. currency:
  9467. description: 币种
  9468. type: string
  9469. cusbankid:
  9470. description: 托管银行编号
  9471. type: string
  9472. exchticket:
  9473. description: 银行服务流水号
  9474. type: string
  9475. executetype:
  9476. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9477. 7:外部子账户:入金 8:外部子账户:出金'
  9478. type: integer
  9479. extendinfo:
  9480. description: 扩展信息
  9481. type: string
  9482. extoperateid:
  9483. description: 交易服务流水号
  9484. type: integer
  9485. infamount:
  9486. description: 劣后金额(自有)
  9487. type: number
  9488. logincode:
  9489. description: 登录账号(账号)
  9490. type: string
  9491. netaddr:
  9492. description: 调转网址
  9493. type: string
  9494. priamount:
  9495. description: 优先金额(授信)
  9496. type: number
  9497. reauditid:
  9498. description: 复审人
  9499. type: integer
  9500. reauditremark:
  9501. description: 复审备注
  9502. type: string
  9503. reaudittime:
  9504. description: 复审时间
  9505. type: string
  9506. relatedorderid:
  9507. description: 三方关联ID
  9508. type: string
  9509. remark:
  9510. description: 备注
  9511. type: string
  9512. remark2:
  9513. description: 备注(失败原因)
  9514. type: string
  9515. soucreamount:
  9516. description: 原始出入金金额
  9517. type: number
  9518. soucrecurrencyid:
  9519. description: 原始出入金币种
  9520. type: integer
  9521. tradedate:
  9522. description: 交易日(yyyyMMdd)
  9523. type: string
  9524. updatetime:
  9525. description: 更新时间(申请时间)
  9526. type: string
  9527. userid:
  9528. description: 用户id
  9529. type: integer
  9530. userinfotype:
  9531. description: 账户类型 1-个人 2-企业
  9532. type: integer
  9533. type: object
  9534. models.QhjAgreementChangeLog:
  9535. properties:
  9536. agreementcontent:
  9537. description: 协议内容
  9538. type: string
  9539. agreementfrequency:
  9540. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9541. type: integer
  9542. agreementid:
  9543. description: 协议ID
  9544. type: integer
  9545. agreementname:
  9546. description: 协议名称
  9547. type: string
  9548. agreementno:
  9549. description: 协议编号
  9550. type: string
  9551. agreementtype:
  9552. description: 协议类型 - 1:注册 2:登录 3:交易
  9553. type: integer
  9554. agreementversion:
  9555. description: 协议版本号
  9556. type: integer
  9557. logid:
  9558. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9559. type: integer
  9560. reviserid:
  9561. description: 修改人
  9562. type: integer
  9563. revisersrc:
  9564. description: 修改来源 - 1:管理端 2:终端
  9565. type: integer
  9566. updatetime:
  9567. description: 更新时间
  9568. type: string
  9569. type: object
  9570. models.QhjAgreementConfig:
  9571. properties:
  9572. agreementcontent:
  9573. description: 协议内容
  9574. type: string
  9575. agreementfrequency:
  9576. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9577. type: integer
  9578. agreementid:
  9579. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9580. type: integer
  9581. agreementname:
  9582. description: 协议名称
  9583. type: string
  9584. agreementno:
  9585. description: 协议编号
  9586. type: string
  9587. agreementtype:
  9588. description: 协议类型 - 1:注册 2:登录 3:交易
  9589. type: integer
  9590. agreementversion:
  9591. description: 协议版本号(从1开始每次修改加1)
  9592. type: integer
  9593. createtime:
  9594. description: 创建时间
  9595. type: string
  9596. creatorid:
  9597. description: 创建人
  9598. type: integer
  9599. creatorsrc:
  9600. description: 创建来源 - 1:管理端 2:终端
  9601. type: integer
  9602. isvalid:
  9603. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9604. type: integer
  9605. reviserid:
  9606. description: 修改人
  9607. type: integer
  9608. revisersrc:
  9609. description: 修改来源 - 1:管理端 2:终端
  9610. type: integer
  9611. updatetime:
  9612. description: 更新时间
  9613. type: string
  9614. type: object
  9615. models.QhjAreaFinanceConfig:
  9616. properties:
  9617. additionalratio:
  9618. description: 追加款比例
  9619. type: number
  9620. advanceratio:
  9621. description: 预付款比例
  9622. type: number
  9623. alarmratio:
  9624. description: 告警比例
  9625. type: number
  9626. consumptiondirectreward:
  9627. description: 消费直推奖励值
  9628. type: number
  9629. consumptionenabled:
  9630. description: 是否启用消费奖励 - 0:不启用 1:启用
  9631. type: integer
  9632. consumptionindirectreward:
  9633. description: 消费间推奖励值
  9634. type: number
  9635. consumptionmodel:
  9636. description: 消费奖励方式 - 1:比率 2:固定
  9637. type: integer
  9638. customerservicenum:
  9639. description: 客服电话
  9640. type: string
  9641. dayinterestrate:
  9642. description: 日利率
  9643. type: number
  9644. disableconsumptiontips:
  9645. description: 关闭消费奖励提示
  9646. type: string
  9647. modifierid:
  9648. description: 修改人ID
  9649. type: integer
  9650. modifysrc:
  9651. description: 审核来源 - 1:管理端 2:终端
  9652. type: integer
  9653. modifytime:
  9654. description: 修改时间
  9655. type: string
  9656. promotionvalue:
  9657. description: 推广奖励值(固定)
  9658. type: number
  9659. scoreconfigvalue1:
  9660. description: 提货积分配置1
  9661. type: integer
  9662. scoreconfigvalue2:
  9663. description: 提货积分配置2
  9664. type: integer
  9665. userid:
  9666. description: 机构用户ID其他做市关系,都设置为 1
  9667. type: integer
  9668. username:
  9669. description: 用户名称
  9670. type: string
  9671. type: object
  9672. models.QhjBankAccountSign:
  9673. properties:
  9674. accountcode:
  9675. description: 资金账号
  9676. type: string
  9677. accountname:
  9678. description: 资金账号对应的账号名(UserName)
  9679. type: string
  9680. accountname2:
  9681. description: 资金账号对应的账号名(UserName) - 密文
  9682. type: string
  9683. accounttype:
  9684. description: 账户类型(UserType)
  9685. type: integer
  9686. applicationtime:
  9687. description: 最后一次更新的时间
  9688. type: string
  9689. applyexchticket:
  9690. description: 申请流水
  9691. type: string
  9692. auditid:
  9693. description: 审核人
  9694. type: integer
  9695. audittime:
  9696. description: 审核时间
  9697. type: string
  9698. bankaccountname:
  9699. description: 签约银行卡账号名
  9700. type: string
  9701. bankaccountname2:
  9702. description: 签约银行卡账号名 - 密文
  9703. type: string
  9704. bankaccountno:
  9705. description: 银行卡号
  9706. type: string
  9707. bankaccountno2:
  9708. description: 银行卡号 - 密文
  9709. type: string
  9710. bankaccounttype:
  9711. description: 银行账户类型 - 1-对私; 2-对公
  9712. type: integer
  9713. bankcardtype:
  9714. description: 银行卡类型
  9715. type: integer
  9716. bankchildaccount:
  9717. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9718. type: string
  9719. bankcity:
  9720. description: 开户行城市
  9721. type: string
  9722. bankid:
  9723. description: 签约银行ID
  9724. type: string
  9725. bankname:
  9726. description: 签约银行名称
  9727. type: string
  9728. bankprovince:
  9729. description: 开户行省份
  9730. type: string
  9731. branchbankid:
  9732. description: 签约银行支行号
  9733. type: string
  9734. branchbankname:
  9735. description: 签约银行支行名称
  9736. type: string
  9737. cardno:
  9738. description: 证件号码
  9739. type: string
  9740. cardno2:
  9741. description: 证件号码 - 密文
  9742. type: string
  9743. cardtype:
  9744. description: 证件类型
  9745. type: string
  9746. currency:
  9747. description: 币种
  9748. type: string
  9749. cusbankid:
  9750. description: 托管银行编号
  9751. type: string
  9752. direct:
  9753. description: 方向(可以判断那方先发起的签约)
  9754. type: integer
  9755. exchticket:
  9756. description: 最后一次签约成功的流水号
  9757. type: string
  9758. extendinfo:
  9759. description: 扩展信息(JSON字符串)
  9760. type: string
  9761. mobilephone:
  9762. description: 手机号
  9763. type: string
  9764. mobilephone2:
  9765. description: 手机号 - 密文
  9766. type: string
  9767. netaddr:
  9768. description: 调转网址
  9769. type: string
  9770. relateduserid:
  9771. description: 关联使用者userid
  9772. type: integer
  9773. signstatus:
  9774. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9775. 10:审核拒绝 11:换签待审核
  9776. type: integer
  9777. updatetime:
  9778. description: 更新时间(签解约更新时间)
  9779. type: string
  9780. type: object
  9781. models.QhjBankInfo:
  9782. properties:
  9783. bankid:
  9784. description: 银行ID
  9785. type: string
  9786. bankname:
  9787. description: 银行名称
  9788. type: string
  9789. clearbankno:
  9790. description: 清算系统银行编号
  9791. type: string
  9792. orderindex:
  9793. description: 排序顺序
  9794. type: integer
  9795. status:
  9796. description: 状态 - 0:正常 1:注销
  9797. type: integer
  9798. type: object
  9799. models.QhjBrokerApply:
  9800. properties:
  9801. applicantid:
  9802. description: 申请人
  9803. type: integer
  9804. applysrc:
  9805. description: 申请来源 - 1:管理端 2:终端
  9806. type: integer
  9807. applystatus:
  9808. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9809. type: integer
  9810. applytime:
  9811. description: 申请时间
  9812. type: string
  9813. auditorid:
  9814. description: 审核人
  9815. type: integer
  9816. auditremark:
  9817. description: 审核备注
  9818. type: string
  9819. auditsrc:
  9820. description: 审核来源 - 1:管理端 2:终端
  9821. type: integer
  9822. audittime:
  9823. description: 审核时间
  9824. type: string
  9825. audittradedate:
  9826. description: 审核交易日(yyyyMMdd)
  9827. type: string
  9828. brokerapplyid:
  9829. description: 申请ID(SEQ_BROKERAPPLY)
  9830. type: integer
  9831. cardbackphotourl:
  9832. description: 证件背面图片地址
  9833. type: string
  9834. cardfrontphotourl:
  9835. description: 证件正面图片地址
  9836. type: string
  9837. cardnum:
  9838. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9839. type: string
  9840. customername:
  9841. description: 姓名
  9842. type: string
  9843. logincode:
  9844. description: 登录代码
  9845. type: string
  9846. mobile:
  9847. description: 手机号码
  9848. type: string
  9849. parentuserid:
  9850. description: 所属机构id
  9851. type: integer
  9852. parentusername:
  9853. description: 所属机构名称
  9854. type: string
  9855. refereeuserid:
  9856. description: 推荐人id(经纪人)
  9857. type: integer
  9858. refernum:
  9859. description: 推荐码
  9860. type: string
  9861. remark:
  9862. description: 备注
  9863. type: string
  9864. subarealevelpath:
  9865. description: 层级路径
  9866. type: string
  9867. tradedate:
  9868. description: 交易日(yyyyMMdd)
  9869. type: string
  9870. userid:
  9871. description: 申请人用户ID
  9872. type: integer
  9873. userinfotype:
  9874. description: 用户类型 1-个人 2-企业
  9875. type: integer
  9876. username:
  9877. description: 用户名称
  9878. type: string
  9879. type: object
  9880. models.QhjBrokerApplyEx:
  9881. properties:
  9882. applylist:
  9883. description: 经纪人申请记录(只返回最新一条)
  9884. items:
  9885. $ref: '#/definitions/models.QhjBrokerApply'
  9886. type: array
  9887. canrecommend:
  9888. description: 是否经纪人 0-不是 1-是
  9889. type: integer
  9890. refernum:
  9891. description: 推荐码
  9892. type: string
  9893. userid:
  9894. description: 用户id
  9895. type: integer
  9896. userinfotype:
  9897. description: 用户类型 1-个人 2-企业
  9898. type: integer
  9899. type: object
  9900. models.QhjBrokerRewardLog:
  9901. properties:
  9902. accountid:
  9903. description: 资金账号ID
  9904. type: integer
  9905. createtime:
  9906. description: 创建时间(时间)
  9907. type: string
  9908. handlestatus:
  9909. description: 处理状态
  9910. type: integer
  9911. logid:
  9912. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9913. type: string
  9914. marketid:
  9915. description: 市场ID
  9916. type: integer
  9917. mmaccountid:
  9918. description: 做市商资金账号ID
  9919. type: string
  9920. mmuserid:
  9921. description: 做市商用户ID
  9922. type: string
  9923. rewardamount:
  9924. description: 奖励金额
  9925. type: number
  9926. rewardmodel:
  9927. description: 消费奖励方式 - 1:比率 2:固定
  9928. type: integer
  9929. rewardtype:
  9930. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9931. type: integer
  9932. rewardvalue:
  9933. description: 配置奖励值
  9934. type: number
  9935. srcamount:
  9936. description: 成交金额 [消费奖励] (金额)
  9937. type: number
  9938. srcgoodsid:
  9939. description: 来源商品ID [消费奖励]
  9940. type: string
  9941. srctime:
  9942. description: 来源时间 (成交时间) [消费奖励]
  9943. type: string
  9944. srctradeid:
  9945. description: 来源成交单ID [消费奖励] - 排除提货成交
  9946. type: string
  9947. srcuserid:
  9948. description: 来源用户ID(推广账户)
  9949. type: string
  9950. srcusername:
  9951. description: 推广账户名称
  9952. type: string
  9953. tradedate:
  9954. description: 交易日(yyyyMMdd)
  9955. type: string
  9956. userid:
  9957. description: 经纪人用户ID
  9958. type: integer
  9959. type: object
  9960. models.QhjContract:
  9961. properties:
  9962. contractconfirmtime:
  9963. description: 合同确认时间(时间)
  9964. type: string
  9965. currisklevel:
  9966. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9967. type: integer
  9968. decimalplace:
  9969. description: 商品报价小数位
  9970. type: integer
  9971. enumdicname:
  9972. description: 单位名称
  9973. type: string
  9974. goodscode:
  9975. description: 商品代码
  9976. type: string
  9977. goodsid:
  9978. description: 商品ID [5:融资单]
  9979. type: integer
  9980. goodsname:
  9981. description: 商品名称
  9982. type: string
  9983. goodunitid:
  9984. description: 商品单位id
  9985. type: integer
  9986. initmargin:
  9987. description: 初始保证金(首付款)
  9988. type: number
  9989. lenderamount:
  9990. description: 贷款金额(总额|订单总额)
  9991. type: number
  9992. marginratio:
  9993. description: 保证金比率(首付比例)
  9994. type: number
  9995. payamount:
  9996. description: 已付(已付货款)
  9997. type: number
  9998. reckonrecovermargin:
  9999. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10000. type: number
  10001. recoveredmargin:
  10002. description: 已追缴保证金
  10003. type: number
  10004. remainamount:
  10005. description: 合同剩余金额(融资额)
  10006. type: number
  10007. scfcontractid:
  10008. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10009. type: string
  10010. scfcontractstatus:
  10011. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10012. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10013. type: integer
  10014. scfcontracttype:
  10015. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10016. type: integer
  10017. totalinterest:
  10018. description: 已计总利息(利息)
  10019. type: number
  10020. tradeprice:
  10021. description: 成交价格(成本价格)
  10022. type: number
  10023. userid:
  10024. description: 用户ID
  10025. type: integer
  10026. username:
  10027. description: 用户名称
  10028. type: string
  10029. wrqty:
  10030. description: 仓单数量(数量)
  10031. type: number
  10032. type: object
  10033. models.QhjContractLog:
  10034. properties:
  10035. amount:
  10036. description: 支付金额
  10037. type: number
  10038. amounttype:
  10039. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10040. type: integer
  10041. logid:
  10042. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10043. type: string
  10044. remainamount:
  10045. description: 剩余货款
  10046. type: number
  10047. scfcontractid:
  10048. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10049. type: integer
  10050. updatetime:
  10051. description: 更新时间
  10052. type: string
  10053. type: object
  10054. models.QhjCusBankSignBankEx:
  10055. properties:
  10056. banklst:
  10057. description: 银行列表
  10058. items:
  10059. $ref: '#/definitions/models.QhjBankInfo'
  10060. type: array
  10061. canallot:
  10062. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10063. type: integer
  10064. canallotquery:
  10065. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10066. type: integer
  10067. canbindcard:
  10068. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10069. type: integer
  10070. caninamount:
  10071. description: 是否可入金 - 0:不可 1:可以
  10072. type: integer
  10073. caninamount2:
  10074. description: 是否可入金(网银端) - 0:不可 1:可以
  10075. type: integer
  10076. canmodifybankcard:
  10077. description: 是否可修改银行卡号 - 0:不可 1:可以
  10078. type: integer
  10079. canmodifyphone:
  10080. description: 是否可修改手机号 - 0:不可 1:可以
  10081. type: integer
  10082. canmodifysigninfo:
  10083. description: 是否可修改签约信息 - 0:不可 1:可以
  10084. type: integer
  10085. canoutamount:
  10086. description: 是否可出金 - 0:不可 1:可以
  10087. type: integer
  10088. canoutamount2:
  10089. description: 是否可出金(网银端) - 0:不可 1:可以
  10090. type: integer
  10091. canrelease:
  10092. description: 是否可解约 - 0:不可 1:可以
  10093. type: integer
  10094. canrelease2:
  10095. description: 是否可解约(网银端) - 0:不可 1:可以
  10096. type: integer
  10097. cansign:
  10098. description: 是否可签约 - 0:不可 1:可以
  10099. type: integer
  10100. cansign2:
  10101. description: 是否可签约(网银端) - 0:不可 1:可以
  10102. type: integer
  10103. currency:
  10104. description: 币种
  10105. type: string
  10106. cusbankid:
  10107. description: 托管银行编号(对应清算中心TRAN_NO)
  10108. type: string
  10109. cusbankname:
  10110. description: 银行业务名称
  10111. type: string
  10112. cusbankshortname:
  10113. description: 银行业务简称
  10114. type: string
  10115. exchbankid:
  10116. description: 交易所开户银行ID
  10117. type: string
  10118. exchpaybankaccname:
  10119. description: 交易所支出结算账户户名
  10120. type: string
  10121. exchpaybankaccno:
  10122. description: 交易所支出结算账户
  10123. type: string
  10124. isneedcheck:
  10125. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10126. type: integer
  10127. isneedclear:
  10128. description: 是否需要清算 - 0:不需要 1:需要
  10129. type: integer
  10130. lastcheckstatus:
  10131. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10132. type: integer
  10133. lastchecktime:
  10134. description: 最后对账时间
  10135. type: string
  10136. lastclearstatus:
  10137. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10138. type: integer
  10139. lastcleartime:
  10140. description: 最后清算时间
  10141. type: string
  10142. lastsignintime:
  10143. description: 最后签到时间
  10144. type: string
  10145. lastsignouttime:
  10146. description: 最后签退时间
  10147. type: string
  10148. riskinfo:
  10149. description: 签约风险提示书
  10150. type: string
  10151. signstatus:
  10152. description: 当前签到/签退状态 - 1:签到 2:签退
  10153. type: integer
  10154. tradedate:
  10155. description: 交易日(yyyyMMdd)
  10156. type: string
  10157. updatetime:
  10158. description: 当前签到/签退更新时间
  10159. type: string
  10160. type: object
  10161. models.QhjCustomer:
  10162. properties:
  10163. address:
  10164. description: 通讯地址
  10165. type: string
  10166. attachment1:
  10167. description: 附件1
  10168. type: string
  10169. audittime:
  10170. description: 审核时间
  10171. type: string
  10172. cardbackphotourl:
  10173. description: 证件反面图片地址
  10174. type: string
  10175. cardfrontphotourl:
  10176. description: 证件正面图片地址
  10177. type: string
  10178. cardnum:
  10179. description: 证件号码
  10180. type: string
  10181. cardtype:
  10182. description: 证件类型
  10183. type: integer
  10184. cardtypename:
  10185. description: 证件类型名称
  10186. type: string
  10187. cityid:
  10188. description: 市
  10189. type: integer
  10190. cityname:
  10191. description: 城市名称
  10192. type: string
  10193. contactname:
  10194. description: 联系人
  10195. type: string
  10196. countryid:
  10197. description: 国家
  10198. type: integer
  10199. countryname:
  10200. description: 国家名称
  10201. type: string
  10202. createtime:
  10203. description: 创建时间
  10204. type: string
  10205. customername:
  10206. description: 客户名称
  10207. type: string
  10208. districtid:
  10209. description: 区域
  10210. type: integer
  10211. districtname:
  10212. description: 地区名称
  10213. type: string
  10214. email:
  10215. description: 邮件
  10216. type: string
  10217. legalpersonname:
  10218. description: 法人姓名(企业)
  10219. type: string
  10220. logincode:
  10221. description: 登录账号(代码)
  10222. type: string
  10223. memberuserid:
  10224. description: 所属机构ID(所属会员)
  10225. type: integer
  10226. memberusername:
  10227. description: 所属会员名称
  10228. type: string
  10229. mobile:
  10230. description: 手机号码
  10231. type: string
  10232. modifytime:
  10233. description: 修改时间
  10234. type: string
  10235. nickname:
  10236. description: 昵称
  10237. type: string
  10238. parentuserid:
  10239. description: 上级机构(所属机构)
  10240. type: integer
  10241. parentusername:
  10242. description: 所属机构名称
  10243. type: string
  10244. provinceid:
  10245. description: 省
  10246. type: integer
  10247. provincename:
  10248. description: 省名称
  10249. type: string
  10250. proxystatementurl:
  10251. description: 授权委托书
  10252. type: string
  10253. remark:
  10254. description: 备注
  10255. type: string
  10256. status:
  10257. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10258. type: integer
  10259. statusdesc:
  10260. description: 账户状态中文描述
  10261. type: string
  10262. taxpayernum:
  10263. description: 纳税人识别号
  10264. type: string
  10265. telphone:
  10266. description: 联系电话
  10267. type: string
  10268. userid:
  10269. description: 用户ID
  10270. type: integer
  10271. userinfotype:
  10272. description: 客户类型 1-个人 2-企业
  10273. type: integer
  10274. username:
  10275. description: 用户名称
  10276. type: string
  10277. type: object
  10278. models.QhjCustomerSignLog:
  10279. properties:
  10280. agreementcontent:
  10281. description: 协议内容
  10282. type: string
  10283. agreementid:
  10284. description: 协议ID
  10285. type: integer
  10286. agreementname:
  10287. description: 协议名称
  10288. type: string
  10289. agreementno:
  10290. description: 协议编号
  10291. type: string
  10292. agreementtype:
  10293. description: 协议类型 - 1:注册 2:登录 3:交易
  10294. type: integer
  10295. agreementversion:
  10296. description: 协议版本号
  10297. type: integer
  10298. createtime:
  10299. description: 创建时间
  10300. type: string
  10301. goodscode:
  10302. description: 商品代码
  10303. type: string
  10304. goodsid:
  10305. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10306. type: integer
  10307. goodsname:
  10308. description: 商品名称
  10309. type: string
  10310. logid:
  10311. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10312. type: integer
  10313. nodetype:
  10314. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10315. type: integer
  10316. signadressurl:
  10317. description: 签约文件地址
  10318. type: string
  10319. signtimestamp:
  10320. description: 签约状态时间戳
  10321. type: string
  10322. userid:
  10323. description: 客户ID
  10324. type: integer
  10325. username:
  10326. description: 客户名称
  10327. type: string
  10328. type: object
  10329. models.QhjCustomerSignStatus:
  10330. properties:
  10331. createtime:
  10332. description: 创建时间
  10333. type: string
  10334. goodscode:
  10335. description: 商品代码
  10336. type: string
  10337. goodsid:
  10338. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10339. type: integer
  10340. goodsname:
  10341. description: 商品名称
  10342. type: string
  10343. nodetype:
  10344. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10345. type: integer
  10346. signtimestamp:
  10347. description: 签约状态时间戳
  10348. type: string
  10349. tradedate:
  10350. description: 创建交易日(yyyyMMdd)
  10351. type: string
  10352. updatetime:
  10353. description: 更新时间
  10354. type: string
  10355. userid:
  10356. description: 客户ID
  10357. type: integer
  10358. username:
  10359. description: 客户名称
  10360. type: string
  10361. type: object
  10362. models.QhjMgrAccountOutInApply:
  10363. properties:
  10364. accountcode:
  10365. description: 资金账号
  10366. type: string
  10367. accountname:
  10368. description: 用户名称(名称)
  10369. type: string
  10370. accountpwd:
  10371. description: 资金密码
  10372. type: string
  10373. accountticket:
  10374. description: 最新账户服务流水号
  10375. type: string
  10376. amount:
  10377. description: 金额
  10378. type: number
  10379. applyremark:
  10380. description: 申请备注
  10381. type: string
  10382. applystatus:
  10383. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10384. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10385. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10386. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10387. type: integer
  10388. auditid:
  10389. description: 审核人
  10390. type: integer
  10391. audittime:
  10392. description: 审核时间
  10393. type: string
  10394. bank_apply_ticket:
  10395. description: 银行申请流水
  10396. type: string
  10397. bankaccountname:
  10398. description: 银行账户名
  10399. type: string
  10400. bankaccountno:
  10401. description: 银行卡号
  10402. type: string
  10403. bankid:
  10404. description: 银行编号
  10405. type: string
  10406. bankname:
  10407. description: 银行名称
  10408. type: string
  10409. bankticket:
  10410. description: 银行流水
  10411. type: string
  10412. branchbankid:
  10413. description: 银行支行号
  10414. type: string
  10415. branchbankname:
  10416. description: 银行支行名称
  10417. type: string
  10418. capamountout:
  10419. description: 出金(劣后本金) - 外部子账户
  10420. type: number
  10421. certificatephotourl:
  10422. description: 凭证地址
  10423. type: string
  10424. charge:
  10425. description: 手续费
  10426. type: number
  10427. checkerrorflag:
  10428. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10429. type: integer
  10430. currency:
  10431. description: 币种
  10432. type: string
  10433. cusbankid:
  10434. description: 托管银行编号
  10435. type: string
  10436. exchticket:
  10437. description: 银行服务流水号
  10438. type: string
  10439. executetype:
  10440. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10441. 7:外部子账户:入金 8:外部子账户:出金'
  10442. type: integer
  10443. extendinfo:
  10444. description: 扩展信息
  10445. type: string
  10446. extoperateid:
  10447. description: 交易服务流水号
  10448. type: integer
  10449. infamount:
  10450. description: 劣后金额(自有)
  10451. type: number
  10452. logincode:
  10453. description: 登录账号(账号)
  10454. type: string
  10455. netaddr:
  10456. description: 调转网址
  10457. type: string
  10458. priamount:
  10459. description: 优先金额(授信)
  10460. type: number
  10461. reauditid:
  10462. description: 复审人
  10463. type: integer
  10464. reauditremark:
  10465. description: 复审备注
  10466. type: string
  10467. reaudittime:
  10468. description: 复审时间
  10469. type: string
  10470. relatedorderid:
  10471. description: 三方关联ID
  10472. type: string
  10473. remark:
  10474. description: 备注
  10475. type: string
  10476. remark2:
  10477. description: 备注(失败原因)
  10478. type: string
  10479. soucreamount:
  10480. description: 原始出入金金额
  10481. type: number
  10482. soucrecurrencyid:
  10483. description: 原始出入金币种
  10484. type: integer
  10485. tradedate:
  10486. description: 交易日(yyyyMMdd)
  10487. type: string
  10488. updatetime:
  10489. description: 更新时间(申请时间)
  10490. type: string
  10491. userid:
  10492. description: 用户id
  10493. type: integer
  10494. userinfotype:
  10495. description: 账户类型 1-个人 2-企业
  10496. type: integer
  10497. type: object
  10498. models.QhjMgrBrokerApply:
  10499. properties:
  10500. applicantid:
  10501. description: 申请人
  10502. type: integer
  10503. applysrc:
  10504. description: 申请来源 - 1:管理端 2:终端
  10505. type: integer
  10506. applystatus:
  10507. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10508. type: integer
  10509. applytime:
  10510. description: 申请时间
  10511. type: string
  10512. auditorid:
  10513. description: 审核人
  10514. type: integer
  10515. auditremark:
  10516. description: 审核备注
  10517. type: string
  10518. auditsrc:
  10519. description: 审核来源 - 1:管理端 2:终端
  10520. type: integer
  10521. audittime:
  10522. description: 审核时间
  10523. type: string
  10524. audittradedate:
  10525. description: 审核交易日(yyyyMMdd)
  10526. type: string
  10527. brokerapplyid:
  10528. description: 申请ID(SEQ_BROKERAPPLY)
  10529. type: integer
  10530. cardbackphotourl:
  10531. description: 证件背面图片地址
  10532. type: string
  10533. cardfrontphotourl:
  10534. description: 证件正面图片地址
  10535. type: string
  10536. cardnum:
  10537. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10538. type: string
  10539. customername:
  10540. description: 姓名
  10541. type: string
  10542. filterstatus:
  10543. description: 筛选条件
  10544. type: string
  10545. logincode:
  10546. description: 登录代码
  10547. type: string
  10548. mobile:
  10549. description: 手机号码
  10550. type: string
  10551. parentuserid:
  10552. description: 所属机构id
  10553. type: integer
  10554. parentusername:
  10555. description: 所属机构名称
  10556. type: string
  10557. refereeuserid:
  10558. description: 推荐人id(经纪人)
  10559. type: integer
  10560. refernum:
  10561. description: 推荐码
  10562. type: string
  10563. remark:
  10564. description: 备注
  10565. type: string
  10566. subarealevelpath:
  10567. description: 层级路径
  10568. type: string
  10569. tradedate:
  10570. description: 交易日(yyyyMMdd)
  10571. type: string
  10572. userid:
  10573. description: 申请人用户ID
  10574. type: integer
  10575. userinfotype:
  10576. description: 用户类型 1-个人 2-企业
  10577. type: integer
  10578. username:
  10579. description: 用户名称
  10580. type: string
  10581. type: object
  10582. models.QhjMgrBrokerRewardReport:
  10583. properties:
  10584. createtime:
  10585. description: 创建时间(注册时间)
  10586. type: string
  10587. cycletime:
  10588. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10589. type: string
  10590. cycletype:
  10591. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10592. type: integer
  10593. directtotalnum:
  10594. description: 直推总人数【期末】
  10595. type: integer
  10596. indirecttotalnum:
  10597. description: 间推总人数【期末】
  10598. type: integer
  10599. mobile:
  10600. description: 电话号码
  10601. type: string
  10602. refereeuserid:
  10603. description: 推荐人id(经纪人id)
  10604. type: integer
  10605. refereeusername:
  10606. description: 推荐人名称(经纪人) 上级经纪人名称
  10607. type: string
  10608. refernum:
  10609. description: 推荐码
  10610. type: string
  10611. subarealevelpath:
  10612. description: 用户层级路径
  10613. type: string
  10614. todayrewardamount:
  10615. description: 奖励总金额【汇总】
  10616. type: number
  10617. updatetime:
  10618. description: 更新时间
  10619. type: string
  10620. userid:
  10621. description: 经纪人用户ID
  10622. type: integer
  10623. userinfotype:
  10624. description: 用户类型 1-个人 2-企业
  10625. type: integer
  10626. username:
  10627. description: 用户名称
  10628. type: string
  10629. type: object
  10630. models.QhjMgrContract:
  10631. properties:
  10632. contractconfirmtime:
  10633. description: 合同确认时间(时间)
  10634. type: string
  10635. currisklevel:
  10636. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10637. type: integer
  10638. decimalplace:
  10639. description: 商品报价小数位
  10640. type: integer
  10641. enumdicname:
  10642. description: 单位名称
  10643. type: string
  10644. goodscode:
  10645. description: 商品代码
  10646. type: string
  10647. goodsid:
  10648. description: 商品ID [5:融资单]
  10649. type: integer
  10650. goodsname:
  10651. description: 商品名称
  10652. type: string
  10653. goodunitid:
  10654. description: 商品单位id
  10655. type: integer
  10656. initmargin:
  10657. description: 初始保证金(首付款)
  10658. type: number
  10659. lenderamount:
  10660. description: 贷款金额(总额|订单总额)
  10661. type: number
  10662. logincode:
  10663. description: 账号(登录代码)
  10664. type: string
  10665. marginratio:
  10666. description: 保证金比率(首付比例)
  10667. type: number
  10668. mobile:
  10669. description: 电话号码(用户资料里的电话)
  10670. type: string
  10671. payamount:
  10672. description: 已付(已付货款)
  10673. type: number
  10674. reckonrecovermargin:
  10675. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10676. type: number
  10677. recoveredmargin:
  10678. description: 已追缴保证金
  10679. type: number
  10680. remainamount:
  10681. description: 合同剩余金额(融资额)
  10682. type: number
  10683. scfcontractid:
  10684. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10685. type: string
  10686. scfcontractstatus:
  10687. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10688. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10689. type: integer
  10690. scfcontracttype:
  10691. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10692. type: integer
  10693. totalinterest:
  10694. description: 已计总利息(利息)
  10695. type: number
  10696. tradedate:
  10697. description: 交易日
  10698. type: string
  10699. tradeprice:
  10700. description: 成交价格(成本价格)
  10701. type: number
  10702. userid:
  10703. description: 用户ID
  10704. type: integer
  10705. userinfotype:
  10706. description: 用户类型 1-个人 2-企业
  10707. type: integer
  10708. username:
  10709. description: 用户名称
  10710. type: string
  10711. wrqty:
  10712. description: 仓单数量(数量)
  10713. type: number
  10714. type: object
  10715. models.QhjMgrCustomer:
  10716. properties:
  10717. address:
  10718. description: 通讯地址
  10719. type: string
  10720. attachment1:
  10721. description: 附件1
  10722. type: string
  10723. audittime:
  10724. description: 审核时间
  10725. type: string
  10726. cardbackphotourl:
  10727. description: 证件反面图片地址
  10728. type: string
  10729. cardfrontphotourl:
  10730. description: 证件正面图片地址
  10731. type: string
  10732. cardnum:
  10733. description: 证件号码
  10734. type: string
  10735. cardtype:
  10736. description: 证件类型
  10737. type: integer
  10738. cardtypename:
  10739. description: 证件类型名称
  10740. type: string
  10741. cityid:
  10742. description: 市
  10743. type: integer
  10744. cityname:
  10745. description: 城市名称
  10746. type: string
  10747. contactname:
  10748. description: 联系人
  10749. type: string
  10750. countryid:
  10751. description: 国家
  10752. type: integer
  10753. countryname:
  10754. description: 国家名称
  10755. type: string
  10756. createtime:
  10757. description: 创建时间
  10758. type: string
  10759. customername:
  10760. description: 客户名称
  10761. type: string
  10762. districtid:
  10763. description: 区域
  10764. type: integer
  10765. districtname:
  10766. description: 地区名称
  10767. type: string
  10768. email:
  10769. description: 邮件
  10770. type: string
  10771. legalpersonname:
  10772. description: 法人姓名(企业)
  10773. type: string
  10774. logincode:
  10775. description: 登录账号(代码)
  10776. type: string
  10777. memberuserid:
  10778. description: 所属机构ID(所属会员)
  10779. type: integer
  10780. memberusername:
  10781. description: 所属会员名称
  10782. type: string
  10783. mobile:
  10784. description: 手机号码
  10785. type: string
  10786. modifytime:
  10787. description: 修改时间
  10788. type: string
  10789. nickname:
  10790. description: 昵称
  10791. type: string
  10792. parentuserid:
  10793. description: 上级机构(所属机构)
  10794. type: integer
  10795. parentusername:
  10796. description: 所属机构名称
  10797. type: string
  10798. provinceid:
  10799. description: 省
  10800. type: integer
  10801. provincename:
  10802. description: 省名称
  10803. type: string
  10804. proxystatementurl:
  10805. description: 授权委托书
  10806. type: string
  10807. querytype:
  10808. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10809. type: integer
  10810. remark:
  10811. description: 备注
  10812. type: string
  10813. status:
  10814. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10815. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10816. type: integer
  10817. statusdesc:
  10818. description: 账户状态中文描述
  10819. type: string
  10820. taxpayernum:
  10821. description: 纳税人识别号
  10822. type: string
  10823. telphone:
  10824. description: 联系电话
  10825. type: string
  10826. userid:
  10827. description: 用户ID
  10828. type: integer
  10829. userinfotype:
  10830. description: 客户类型 1-个人 2-企业
  10831. type: integer
  10832. username:
  10833. description: 用户名称
  10834. type: string
  10835. type: object
  10836. models.QhjMgrPickGoods:
  10837. properties:
  10838. enumdicname:
  10839. description: 单位名称(提货商品)
  10840. type: string
  10841. goodsid:
  10842. description: 商品id
  10843. type: integer
  10844. imageaddress:
  10845. description: 图片
  10846. type: string
  10847. modifierid:
  10848. description: 修改人
  10849. type: integer
  10850. modifiername:
  10851. description: 修改人名称
  10852. type: string
  10853. modifysrc:
  10854. description: 修改来源 - 1:管理端 2:终端
  10855. type: integer
  10856. pickupgoodsagreeunit:
  10857. description: 合约乘数
  10858. type: number
  10859. pickupgoodsdesc:
  10860. description: 描述
  10861. type: string
  10862. pickupgoodsid:
  10863. description: 提货商品ID
  10864. type: string
  10865. pickupgoodsname:
  10866. description: 提货商品名称
  10867. type: string
  10868. pickupgoodsstatus:
  10869. description: 状态 - 1:正常 2:停用 3:注销
  10870. type: integer
  10871. pickupgoodsunitid:
  10872. description: 单位ID
  10873. type: integer
  10874. pickupratio:
  10875. description: 提货系数
  10876. type: number
  10877. preparedays:
  10878. description: 备货期(天)
  10879. type: integer
  10880. remark:
  10881. description: 备注
  10882. type: string
  10883. updatetime:
  10884. description: 更新时间
  10885. type: string
  10886. type: object
  10887. models.QhjMgrPositionRsp:
  10888. properties:
  10889. accountid:
  10890. description: 账号Id
  10891. type: integer
  10892. accountname:
  10893. description: 用户名称
  10894. type: string
  10895. agreeunit:
  10896. description: 合约乘数
  10897. type: number
  10898. averageprice:
  10899. description: 均价
  10900. type: number
  10901. avialqty:
  10902. description: 可用数量
  10903. type: number
  10904. decimalplace:
  10905. description: 报价小数位
  10906. type: integer
  10907. enumdicname:
  10908. description: 单位名称(商品)
  10909. type: string
  10910. frozenqty:
  10911. description: 冻结数量
  10912. type: number
  10913. goodscode:
  10914. description: 商品代码(内部)
  10915. type: string
  10916. goodsid:
  10917. description: 商品Id
  10918. type: integer
  10919. goodsname:
  10920. description: 商品名称
  10921. type: string
  10922. goodunitid:
  10923. description: 报价单位ID
  10924. type: integer
  10925. holderamount:
  10926. description: 金额
  10927. type: number
  10928. holderqty:
  10929. description: 持有数量
  10930. type: number
  10931. holdertype:
  10932. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10933. type: integer
  10934. logincode:
  10935. description: 登录代码(账户)
  10936. type: string
  10937. marketid:
  10938. description: 市场id
  10939. type: integer
  10940. qtydecimalplace:
  10941. description: 成交量小数位
  10942. type: integer
  10943. trademode:
  10944. description: 交易模式
  10945. type: integer
  10946. userid:
  10947. description: 用户id
  10948. type: integer
  10949. userinfotype:
  10950. description: 账户类型 1-个人 2-企业
  10951. type: integer
  10952. type: object
  10953. models.QhjMgrSubArea:
  10954. properties:
  10955. accountname:
  10956. description: 账户名称(机构名称)
  10957. type: string
  10958. memberuserid:
  10959. description: 所属会员ID
  10960. type: integer
  10961. parenttopuser:
  10962. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10963. type: string
  10964. parentuserid:
  10965. description: 所属机构ID
  10966. type: integer
  10967. rootuserid:
  10968. description: 根用户ID
  10969. type: string
  10970. subaccountlevel:
  10971. description: 子账户层数
  10972. type: integer
  10973. subarealevelpath:
  10974. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10975. type: string
  10976. userid:
  10977. description: 用户ID
  10978. type: integer
  10979. usertype:
  10980. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10981. type: integer
  10982. type: object
  10983. models.QhjMgrTradeDetailRsp:
  10984. properties:
  10985. accountid:
  10986. description: 资金账号
  10987. type: integer
  10988. accountname:
  10989. description: 用户名称
  10990. type: string
  10991. agreeunit:
  10992. description: 合约乘数
  10993. type: number
  10994. buyorsell:
  10995. description: 成交类型(方向) 0:买 1:卖
  10996. type: integer
  10997. decimalplace:
  10998. description: 报价小数位
  10999. type: integer
  11000. enumdicname:
  11001. description: 单位名称(商品)
  11002. type: string
  11003. goodscode:
  11004. description: 商品代码(内部)
  11005. type: string
  11006. goodsid:
  11007. description: 商品id
  11008. type: integer
  11009. goodsname:
  11010. description: 商品名称
  11011. type: string
  11012. goodunitid:
  11013. description: 报价单位ID
  11014. type: integer
  11015. logincode:
  11016. description: 登录代码(账户)
  11017. type: string
  11018. marketid:
  11019. description: 市场id
  11020. type: integer
  11021. orderid:
  11022. description: 关联委托单号
  11023. type: string
  11024. qtydecimalplace:
  11025. description: 成交量小数位
  11026. type: integer
  11027. tradeamount:
  11028. description: 金额
  11029. type: number
  11030. tradedate:
  11031. description: 交易日
  11032. type: string
  11033. tradeid:
  11034. description: 成交单号
  11035. type: string
  11036. trademode:
  11037. description: 交易模式
  11038. type: integer
  11039. tradeprice:
  11040. description: 价格
  11041. type: number
  11042. tradeqty:
  11043. description: 数量
  11044. type: number
  11045. tradetime:
  11046. description: 成交时间
  11047. type: string
  11048. userid:
  11049. description: 用户id
  11050. type: integer
  11051. userinfotype:
  11052. description: 账户类型 1-个人 2-企业
  11053. type: integer
  11054. type: object
  11055. models.QhjMgrTradeOrderDetailRsp:
  11056. properties:
  11057. accountid:
  11058. description: 资金账号
  11059. type: integer
  11060. accountname:
  11061. description: 用户名称
  11062. type: string
  11063. agreeunit:
  11064. description: 合约乘数
  11065. type: number
  11066. amount:
  11067. description: 金额
  11068. type: number
  11069. decimalplace:
  11070. description: 报价小数位
  11071. type: integer
  11072. enumdicname:
  11073. description: 单位名称(商品)
  11074. type: string
  11075. goodscode:
  11076. description: 商品代码(内部)
  11077. type: string
  11078. goodsid:
  11079. description: 商品id
  11080. type: integer
  11081. goodsname:
  11082. description: 商品名称
  11083. type: string
  11084. goodunitid:
  11085. description: 报价单位ID
  11086. type: integer
  11087. logincode:
  11088. description: 登录代码(账户)
  11089. type: string
  11090. marketid:
  11091. description: 市场id
  11092. type: integer
  11093. orderid:
  11094. description: 关联委托单号
  11095. type: string
  11096. orderprice:
  11097. description: 价格
  11098. type: number
  11099. orderqty:
  11100. description: 数量
  11101. type: number
  11102. orderstatus:
  11103. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11104. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11105. 16:成交失败违约(荷兰式竞拍专用)
  11106. type: integer
  11107. ordertime:
  11108. description: 委托时间
  11109. type: string
  11110. qtydecimalplace:
  11111. description: 成交量小数位
  11112. type: integer
  11113. tradedate:
  11114. description: 交易日
  11115. type: string
  11116. trademode:
  11117. description: 交易模式
  11118. type: integer
  11119. userid:
  11120. description: 用户id
  11121. type: integer
  11122. userinfotype:
  11123. description: 账户类型 1-个人 2-企业
  11124. type: integer
  11125. type: object
  11126. models.QhjMgrTradePayOrder:
  11127. properties:
  11128. accountname:
  11129. description: 用户名称
  11130. type: string
  11131. advanceratio:
  11132. description: 首付比率
  11133. type: number
  11134. agreeunit:
  11135. description: 合约乘数
  11136. type: number
  11137. buyaccountid:
  11138. description: 买方账号ID[报价币种]
  11139. type: integer
  11140. buyorderid:
  11141. description: 买方委托单号(关联单号)
  11142. type: string
  11143. createtime:
  11144. description: 创建时间
  11145. type: string
  11146. decimalplace:
  11147. description: 报价小数位
  11148. type: integer
  11149. enumdicname:
  11150. description: 单位名称(商品)
  11151. type: string
  11152. goodscode:
  11153. description: 商品代码(内部)
  11154. type: string
  11155. goodsid:
  11156. description: 商品ID
  11157. type: integer
  11158. goodsname:
  11159. description: 商品名称
  11160. type: string
  11161. goodunitid:
  11162. description: 报价单位ID
  11163. type: integer
  11164. logincode:
  11165. description: 登录代码(账户)
  11166. type: string
  11167. marketid:
  11168. description: 市场id
  11169. type: integer
  11170. offamount:
  11171. description: 优惠金额
  11172. type: number
  11173. operatetype:
  11174. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11175. type: integer
  11176. payamount:
  11177. description: 支付金额(金额)
  11178. type: number
  11179. payflag:
  11180. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11181. type: integer
  11182. paylimitedtime:
  11183. description: 支付期限
  11184. type: string
  11185. paytime:
  11186. description: 付款时间
  11187. type: string
  11188. qtydecimalplace:
  11189. description: 成交量小数位
  11190. type: integer
  11191. sellaccountid:
  11192. description: 卖方账号ID[报价币种]
  11193. type: integer
  11194. sellorderid:
  11195. description: 卖方委托单号
  11196. type: string
  11197. tradeamount:
  11198. description: 成交金额(优惠后金额)
  11199. type: number
  11200. tradecharge:
  11201. description: 成交手续费(买方)
  11202. type: number
  11203. tradedate:
  11204. description: 交易日(yyyyMMdd)
  11205. type: string
  11206. tradeid:
  11207. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11208. type: string
  11209. trademode:
  11210. description: 交易模式
  11211. type: integer
  11212. tradeprice:
  11213. description: 成交价格(价格)
  11214. type: number
  11215. tradeqty:
  11216. description: 成交数量(数量)
  11217. type: number
  11218. tradetime:
  11219. description: 成交时间
  11220. type: string
  11221. userid:
  11222. description: 用户id
  11223. type: integer
  11224. userinfotype:
  11225. description: 账户类型 1-个人 2-企业
  11226. type: integer
  11227. type: object
  11228. models.QhjMyTeamEx:
  11229. properties:
  11230. accountname:
  11231. description: 用户名称
  11232. type: string
  11233. accountstatus:
  11234. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11235. type: integer
  11236. createtime:
  11237. description: 创建时间
  11238. type: string
  11239. mobile:
  11240. description: 手机号码
  11241. type: string
  11242. refereeuserid:
  11243. description: 推荐人id
  11244. type: integer
  11245. refernum:
  11246. description: 推荐码
  11247. type: string
  11248. subList:
  11249. items:
  11250. $ref: '#/definitions/models.QhjMyTeamEx'
  11251. type: array
  11252. userid:
  11253. description: 用户id
  11254. type: integer
  11255. userinfotype:
  11256. description: 用户类型 1-个人 2-企业
  11257. type: integer
  11258. type: object
  11259. models.QhjNodeAgreementConfig:
  11260. properties:
  11261. agreementcontent:
  11262. description: 协议内容
  11263. type: string
  11264. agreementid:
  11265. description: 协议ID
  11266. type: integer
  11267. agreementname:
  11268. description: 协议名称
  11269. type: string
  11270. agreementno:
  11271. description: 协议编号
  11272. type: string
  11273. agreementtype:
  11274. description: 协议类型 - 1:注册 2:登录 3:交易
  11275. type: integer
  11276. agreementversion:
  11277. description: 协议版本号
  11278. type: integer
  11279. configid:
  11280. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11281. type: integer
  11282. createtime:
  11283. description: 创建时间
  11284. type: string
  11285. goodsid:
  11286. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11287. type: integer
  11288. nodetype:
  11289. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11290. type: integer
  11291. type: object
  11292. models.QhjParentAreaList:
  11293. properties:
  11294. accountname:
  11295. description: 账户名称(机构名称)
  11296. type: string
  11297. userid:
  11298. description: 用户ID
  11299. type: integer
  11300. usertype:
  11301. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11302. type: integer
  11303. type: object
  11304. models.QhjPayOrder:
  11305. properties:
  11306. advanceratio:
  11307. description: 首付比率
  11308. type: number
  11309. buyaccountid:
  11310. description: 买方账号ID[报价币种]
  11311. type: integer
  11312. buyorderid:
  11313. description: 买方委托单号
  11314. type: string
  11315. createtime:
  11316. description: 创建时间
  11317. type: string
  11318. decimalplace:
  11319. description: 商品报价小数位
  11320. type: integer
  11321. enumdicname:
  11322. description: 单位名称
  11323. type: string
  11324. goodscode:
  11325. description: 商品代码
  11326. type: string
  11327. goodsid:
  11328. description: 商品ID
  11329. type: integer
  11330. goodsname:
  11331. description: 商品名称
  11332. type: string
  11333. goodunitid:
  11334. description: 商品单位id
  11335. type: integer
  11336. marketid:
  11337. description: 市场ID
  11338. type: integer
  11339. offamount:
  11340. description: 优惠金额
  11341. type: number
  11342. operatetype:
  11343. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11344. type: integer
  11345. payamount:
  11346. description: 支付金额
  11347. type: number
  11348. payflag:
  11349. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11350. type: integer
  11351. paylimitedtime:
  11352. description: 支付期限
  11353. type: string
  11354. paytime:
  11355. description: 付款时间
  11356. type: string
  11357. qtydecimalplace:
  11358. description: 成交量小数位
  11359. type: integer
  11360. sellaccountid:
  11361. description: 卖方账号ID[报价币种]
  11362. type: integer
  11363. sellorderid:
  11364. description: 卖方委托单号
  11365. type: string
  11366. tradeamount:
  11367. description: 成交金额(优惠后金额)
  11368. type: number
  11369. tradecharge:
  11370. description: 成交手续费(买方)
  11371. type: number
  11372. tradedate:
  11373. description: 交易日(yyyyMMdd)
  11374. type: string
  11375. tradeid:
  11376. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11377. type: string
  11378. tradeprice:
  11379. description: 成交价格
  11380. type: number
  11381. tradeqty:
  11382. description: 成交数量
  11383. type: number
  11384. type: object
  11385. models.QhjPickArea:
  11386. properties:
  11387. address:
  11388. description: 详细地址
  11389. type: string
  11390. cityid:
  11391. description: 市
  11392. type: integer
  11393. cityname:
  11394. description: 城市名称
  11395. type: string
  11396. countryid:
  11397. description: 国家
  11398. type: integer
  11399. countryname:
  11400. description: 国家名称
  11401. type: string
  11402. districtid:
  11403. description: 地区
  11404. type: integer
  11405. districtname:
  11406. description: 地区名称
  11407. type: string
  11408. fromuserid:
  11409. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11410. type: integer
  11411. fromusername:
  11412. description: 所属机构名称
  11413. type: string
  11414. provinceid:
  11415. description: 省
  11416. type: integer
  11417. provincename:
  11418. description: 省名称
  11419. type: string
  11420. suborgtype:
  11421. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11422. type: integer
  11423. userid:
  11424. description: 机构用户ID 其他做市关系,都设置为 1
  11425. type: integer
  11426. username:
  11427. description: 机构用户名称(门店门称)
  11428. type: string
  11429. type: object
  11430. models.QhjPickGoods:
  11431. properties:
  11432. enumdicname:
  11433. description: 单位名称(提货商品)
  11434. type: string
  11435. goodsid:
  11436. description: 商品id
  11437. type: integer
  11438. imageaddress:
  11439. description: 图片
  11440. type: string
  11441. modifierid:
  11442. description: 修改人
  11443. type: integer
  11444. modifiername:
  11445. description: 修改人名称
  11446. type: string
  11447. modifysrc:
  11448. description: 修改来源 - 1:管理端 2:终端
  11449. type: integer
  11450. pickupgoodsagreeunit:
  11451. description: 合约乘数
  11452. type: number
  11453. pickupgoodsdesc:
  11454. description: 描述
  11455. type: string
  11456. pickupgoodsid:
  11457. description: 提货商品ID
  11458. type: string
  11459. pickupgoodsname:
  11460. description: 提货商品名称
  11461. type: string
  11462. pickupgoodsstatus:
  11463. description: 状态 - 1:正常 2:停用 3:注销
  11464. type: integer
  11465. pickupgoodsunitid:
  11466. description: 单位ID
  11467. type: integer
  11468. pickupratio:
  11469. description: 提货系数
  11470. type: number
  11471. preparedays:
  11472. description: 备货期(天)
  11473. type: integer
  11474. remark:
  11475. description: 备注
  11476. type: string
  11477. updatetime:
  11478. description: 更新时间
  11479. type: string
  11480. type: object
  11481. models.QhjRSTriggerLog:
  11482. properties:
  11483. accountid:
  11484. description: 用户资金账户
  11485. type: integer
  11486. accountname:
  11487. description: 账号名称(ACCOUNTID对应的名称)
  11488. type: string
  11489. currencyid:
  11490. description: 币种id
  11491. type: integer
  11492. currencyname:
  11493. description: 币种名称
  11494. type: string
  11495. decimalplace:
  11496. description: 商品报价小数位
  11497. type: integer
  11498. enumdicname:
  11499. description: 单位名称
  11500. type: string
  11501. goodscode:
  11502. description: 定投商品代码
  11503. type: string
  11504. goodsid:
  11505. description: 定投商品ID
  11506. type: integer
  11507. goodsname:
  11508. description: 定投商品名称
  11509. type: string
  11510. goodunitid:
  11511. description: 定投商品单位id
  11512. type: integer
  11513. logid:
  11514. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11515. type: string
  11516. logincode:
  11517. description: 账号(登录代码)
  11518. type: string
  11519. qtydecimalplace:
  11520. description: 成交量小数位
  11521. type: integer
  11522. regularlycycle:
  11523. description: 定投频率 - 1:每周 2:每月
  11524. type: integer
  11525. regularlycyclevalue:
  11526. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11527. type: string
  11528. regularlymode:
  11529. description: 定投方式 - 1:按数量 2:按金额
  11530. type: integer
  11531. regularlymodevalue:
  11532. description: 定投方式值 - 数量或金额
  11533. type: number
  11534. regularlystrategyid:
  11535. description: 定投策略ID
  11536. type: integer
  11537. retcode:
  11538. description: 错误码
  11539. type: string
  11540. tradeid:
  11541. description: 成交单ID
  11542. type: string
  11543. triggeramount:
  11544. description: 触发金额
  11545. type: number
  11546. triggerqty:
  11547. description: 触发数量
  11548. type: number
  11549. triggerstatus:
  11550. description: 触发状态 - 1:成功 2:失败
  11551. type: integer
  11552. triggertime:
  11553. description: 触发时间
  11554. type: string
  11555. triggertradedate:
  11556. description: 触发交易日
  11557. type: string
  11558. userid:
  11559. description: 所属用户ID
  11560. type: integer
  11561. userinfotype:
  11562. description: 用户类型 1-个人 2-企业
  11563. type: integer
  11564. username:
  11565. description: 用户名称(userid对应的名称)
  11566. type: string
  11567. type: object
  11568. models.QhjRStrategy:
  11569. properties:
  11570. accountid:
  11571. description: 用户资金账户
  11572. type: integer
  11573. accountname:
  11574. description: 账号名称(ACCOUNTID对应的名称)
  11575. type: string
  11576. currencyid:
  11577. description: 币种id
  11578. type: integer
  11579. currencyname:
  11580. description: 币种名称
  11581. type: string
  11582. decimalplace:
  11583. description: 商品报价小数位
  11584. type: integer
  11585. enumdicname:
  11586. description: 单位名称
  11587. type: string
  11588. goodscode:
  11589. description: 定投商品代码
  11590. type: string
  11591. goodsid:
  11592. description: 定投商品ID
  11593. type: integer
  11594. goodsname:
  11595. description: 定投商品名称
  11596. type: string
  11597. goodunitid:
  11598. description: 定投商品单位id
  11599. type: integer
  11600. lasteffecttradedate:
  11601. description: 最新生效交易日
  11602. type: string
  11603. laststoptradedate:
  11604. description: 最新暂停交易日
  11605. type: string
  11606. lasttriggertradedate:
  11607. description: 最新触发交易日
  11608. type: string
  11609. logincode:
  11610. description: 账号(登录代码)
  11611. type: string
  11612. nexttriggeramount:
  11613. description: 下次触发金额
  11614. type: number
  11615. nexttriggerdate:
  11616. description: 下次触发日期
  11617. type: string
  11618. nexttriggerqty:
  11619. description: 下次触发数量 [按小数位放大值]
  11620. type: number
  11621. qtydecimalplace:
  11622. description: 成交量小数位
  11623. type: integer
  11624. regularlycycle:
  11625. description: 定投频率 - 1:每周 2:每月
  11626. type: integer
  11627. regularlycyclevalue:
  11628. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11629. type: string
  11630. regularlymode:
  11631. description: 定投方式 - 1:按数量 2:按金额
  11632. type: integer
  11633. regularlymodevalue:
  11634. description: 定投方式值 - 数量或金额
  11635. type: number
  11636. regularlystrategyid:
  11637. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11638. type: integer
  11639. regularlystrategystatus:
  11640. description: 策略状态 - 1:正常 2:暂停 3:终止
  11641. type: integer
  11642. remark:
  11643. description: 备注
  11644. type: string
  11645. triggersuccesstimes:
  11646. description: 累计定投成功次数
  11647. type: string
  11648. triggertotalamount:
  11649. description: 累计定投金额(成功)
  11650. type: number
  11651. triggertotalqty:
  11652. description: 累计定投数量(成功) [按小数位放大值]
  11653. type: number
  11654. triggertotaltimes:
  11655. description: 累计定投总次数
  11656. type: string
  11657. updatesrc:
  11658. description: 更新来源 - 1:管理端 2:终端
  11659. type: integer
  11660. updatetime:
  11661. description: 更新时间
  11662. type: string
  11663. updatorid:
  11664. description: 更新人
  11665. type: string
  11666. userid:
  11667. description: 所属用户ID
  11668. type: integer
  11669. userinfotype:
  11670. description: 用户类型 1-个人 2-企业
  11671. type: integer
  11672. username:
  11673. description: 用户名称(userid对应的名称)
  11674. type: string
  11675. type: object
  11676. models.QhjReckonPriceLog:
  11677. properties:
  11678. decimalplace:
  11679. description: 商品报价小数位
  11680. type: integer
  11681. goodscode:
  11682. description: 商品代码
  11683. type: string
  11684. goodsid:
  11685. description: 商品ID
  11686. type: integer
  11687. goodsname:
  11688. description: 商品名称
  11689. type: string
  11690. lastreckonprice:
  11691. description: 上日结算价
  11692. type: number
  11693. nextdnlimitprice:
  11694. description: 下个交易日跌停价
  11695. type: number
  11696. nexttrade:
  11697. description: 下个交易日
  11698. type: string
  11699. nextuplimitprice:
  11700. description: 下个交易日涨停价
  11701. type: number
  11702. reckonprice:
  11703. description: 今日结算价(定投价)
  11704. type: number
  11705. reckontime:
  11706. description: 结算时间
  11707. type: string
  11708. totalholderqty:
  11709. description: 总持仓数
  11710. type: integer
  11711. totalstock:
  11712. description: 总库存
  11713. type: integer
  11714. tradedate:
  11715. description: 交易日
  11716. type: string
  11717. updowncount:
  11718. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11719. type: integer
  11720. updownflag:
  11721. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11722. type: integer
  11723. updownrate:
  11724. description: 今日涨跌幅
  11725. type: number
  11726. updownrate_2d:
  11727. description: 连续两日涨跌幅
  11728. type: number
  11729. updownrate_3d:
  11730. description: 连续三日涨跌幅
  11731. type: number
  11732. type: object
  11733. models.QhjScoreLog:
  11734. properties:
  11735. accountid:
  11736. description: 账户ID
  11737. type: integer
  11738. createtime:
  11739. description: 创建时间(时间)
  11740. type: string
  11741. goodsid:
  11742. description: 商品ID
  11743. type: integer
  11744. hasuploaded:
  11745. description: 是否已同步(千海金) 0:未同步 1;已同步
  11746. type: integer
  11747. logid:
  11748. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11749. type: string
  11750. marketid:
  11751. description: 市场ID
  11752. type: integer
  11753. relatedamount:
  11754. description: 关联金额
  11755. type: number
  11756. relatedorderid:
  11757. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11758. type: string
  11759. scoreconfigvalue1:
  11760. description: 积分配置1
  11761. type: integer
  11762. scoreconfigvalue2:
  11763. description: 积分配置1
  11764. type: integer
  11765. scoretype:
  11766. description: 积分类型 - 1:提货积分
  11767. type: integer
  11768. scorevalue:
  11769. description: 积分
  11770. type: number
  11771. tradedate:
  11772. description: 交易日(yyyyMMdd)
  11773. type: string
  11774. uploadedtime:
  11775. description: 同步时间
  11776. type: string
  11777. userid:
  11778. description: 用户ID
  11779. type: integer
  11780. type: object
  11781. models.QhjSiteColumnDetail:
  11782. properties:
  11783. author:
  11784. description: 作者
  11785. type: string
  11786. brief:
  11787. description: 简介
  11788. type: string
  11789. columnid:
  11790. description: 所属栏目
  11791. type: integer
  11792. context:
  11793. description: 内容
  11794. type: string
  11795. coverimage:
  11796. description: 封面图片
  11797. type: string
  11798. creaedate:
  11799. description: 创建时间
  11800. type: string
  11801. creatorid:
  11802. description: 创建人
  11803. type: integer
  11804. hits:
  11805. description: 点击数
  11806. type: integer
  11807. id:
  11808. description: ID(SEQ_SITE_COLUMNDETAIL)
  11809. type: integer
  11810. isshow:
  11811. description: 是否展示 - 0:不展示 1:展示
  11812. type: integer
  11813. istop:
  11814. description: 是否置顶 - 0:不置 1:置顶
  11815. type: integer
  11816. modifierid:
  11817. description: 操作人
  11818. type: integer
  11819. publishdate:
  11820. description: 发布日期
  11821. type: string
  11822. status:
  11823. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11824. type: integer
  11825. title:
  11826. description: 标题
  11827. type: string
  11828. updatedate:
  11829. description: 修改时间
  11830. type: string
  11831. userid:
  11832. description: 用户ID(默认为0, 核心为为机构用户ID)
  11833. type: integer
  11834. username:
  11835. description: 用户名称
  11836. type: string
  11837. type: object
  11838. models.QhjTeamOrder:
  11839. properties:
  11840. accountid:
  11841. description: 账户ID[报价币种]
  11842. type: integer
  11843. accountname:
  11844. description: 账户名称
  11845. type: string
  11846. agreeunit:
  11847. description: 合约乘数
  11848. type: number
  11849. buyorsell:
  11850. description: 方向 - 0:买 1:卖
  11851. type: integer
  11852. decimalplace:
  11853. description: 报价小数位
  11854. type: integer
  11855. enumdicname:
  11856. description: 单位名称
  11857. type: string
  11858. goodscode:
  11859. description: 商品代码(内部)
  11860. type: string
  11861. goodsid:
  11862. description: 商品ID
  11863. type: integer
  11864. goodsname:
  11865. description: 商品名称
  11866. type: string
  11867. goodunitid:
  11868. description: 报价单位ID
  11869. type: integer
  11870. marketid:
  11871. description: 市场ID
  11872. type: integer
  11873. marketname:
  11874. description: 市场名称
  11875. type: string
  11876. qtydecimalplace:
  11877. description: 成交量小数位
  11878. type: integer
  11879. refereeuserid:
  11880. description: 推荐人ID
  11881. type: integer
  11882. tradeamount:
  11883. description: 成交金额[账户币种,用于所有权]
  11884. type: number
  11885. tradedate:
  11886. description: 交易日(yyyyMMdd)
  11887. type: string
  11888. trademode:
  11889. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11890. 21:竞拍-大宗式 22:受托竞价
  11891. type: integer
  11892. tradeprice:
  11893. description: 成交价格
  11894. type: number
  11895. tradeqty:
  11896. description: 成交数量
  11897. type: number
  11898. tradetime:
  11899. description: 成交时间
  11900. type: string
  11901. userid:
  11902. description: 用户ID
  11903. type: integer
  11904. type: object
  11905. models.QhjTradeGoodsPickup:
  11906. properties:
  11907. accountid:
  11908. description: 账户ID
  11909. type: integer
  11910. address:
  11911. description: 提货人详细地址
  11912. type: string
  11913. amount:
  11914. description: 提货金额
  11915. type: number
  11916. artradedate:
  11917. description: 自动收货交易日(yyyyMMdd)
  11918. type: string
  11919. auditer:
  11920. description: 审核人
  11921. type: integer
  11922. auditsrc:
  11923. description: 更新来源 - 1:管理端 2:终端
  11924. type: integer
  11925. audittime:
  11926. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11927. type: string
  11928. audittradedate:
  11929. description: 审核交易日(yyyyMMdd)
  11930. type: string
  11931. cardnum:
  11932. description: 提货人证件号码
  11933. type: string
  11934. cardtypeid:
  11935. description: 提货人证件类型
  11936. type: integer
  11937. checkremark:
  11938. description: 审核备注
  11939. type: string
  11940. cityid:
  11941. description: 市
  11942. type: integer
  11943. cityname:
  11944. description: 城市名称
  11945. type: string
  11946. confirmtime:
  11947. description: 取货时间 或 收货时间
  11948. type: string
  11949. countryid:
  11950. description: 国家
  11951. type: integer
  11952. countryname:
  11953. description: 国家名称
  11954. type: string
  11955. decimalplace:
  11956. description: 商品报价小数位
  11957. type: integer
  11958. districtid:
  11959. description: 地区
  11960. type: integer
  11961. districtname:
  11962. description: 地区名称
  11963. type: string
  11964. enumdicname:
  11965. description: 单位名称(提货商品)
  11966. type: string
  11967. expresscompany:
  11968. description: 物流公司
  11969. type: string
  11970. expressnum:
  11971. description: 物流单号
  11972. type: string
  11973. goodsagreeunit:
  11974. description: 交易商品乘数
  11975. type: number
  11976. goodscode:
  11977. description: 商品代码
  11978. type: string
  11979. goodsid:
  11980. description: 商品ID
  11981. type: integer
  11982. goodsname:
  11983. description: 商品名称
  11984. type: string
  11985. goodsqty:
  11986. description: 交易商品手数(69模式按成交量小数位放大取整)
  11987. type: number
  11988. handlestatus:
  11989. description: 处理状态
  11990. type: integer
  11991. logincode:
  11992. description: 账号(登录代码, 有可能为空)
  11993. type: string
  11994. marketid:
  11995. description: 市场ID
  11996. type: integer
  11997. phonenum:
  11998. description: 提货人联系方式
  11999. type: string
  12000. pickupgoodsagreeunit:
  12001. description: 提货商品合约乘数
  12002. type: number
  12003. pickupgoodsid:
  12004. description: 提货商品ID
  12005. type: string
  12006. pickupgoodsname:
  12007. description: 提货商品名称
  12008. type: string
  12009. pickupgoodsqty:
  12010. description: 提货商品手数(数量)
  12011. type: number
  12012. pickupgoodsunitid:
  12013. description: 单位ID(提货商品)
  12014. type: integer
  12015. pickupratio:
  12016. description: 提货系数
  12017. type: number
  12018. preparedays:
  12019. description: 备货期(天)-提货单明细表
  12020. type: integer
  12021. provinceid:
  12022. description: 省
  12023. type: integer
  12024. provincename:
  12025. description: 省名称
  12026. type: string
  12027. qty:
  12028. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12029. type: number
  12030. qtydecimalplace:
  12031. description: 商品数量小数位
  12032. type: integer
  12033. recivername:
  12034. description: 提货人姓名
  12035. type: string
  12036. reqtime:
  12037. description: 提货申请时间
  12038. type: string
  12039. storeuserid:
  12040. description: 门店用户ID (千海金)
  12041. type: integer
  12042. storeusername:
  12043. description: 门店用户名称
  12044. type: string
  12045. takemode:
  12046. description: 提货方式 - 2:自提 3:配送(邮寄)
  12047. type: integer
  12048. takeorderid:
  12049. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12050. type: string
  12051. takeorderstatus:
  12052. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12053. 7:已拒绝 8:已撤销
  12054. type: integer
  12055. takeremark:
  12056. description: 提货备注
  12057. type: string
  12058. tradedate:
  12059. description: 交易日(yyyyMMdd)
  12060. type: string
  12061. updatetime:
  12062. description: 更新时间
  12063. type: string
  12064. userid:
  12065. description: 用户ID
  12066. type: integer
  12067. userinfotype:
  12068. description: 客户类型 1-个人 2-企业
  12069. type: integer
  12070. username:
  12071. description: 用户名称
  12072. type: string
  12073. type: object
  12074. models.QhjUserNodeCfgAndStatus:
  12075. properties:
  12076. agreementcontent:
  12077. description: 协议内容
  12078. type: string
  12079. agreementid:
  12080. description: 协议ID
  12081. type: integer
  12082. agreementname:
  12083. description: 协议名称
  12084. type: string
  12085. agreementno:
  12086. description: 协议编号
  12087. type: string
  12088. agreementtype:
  12089. description: 协议类型 - 1:注册 2:登录 3:交易
  12090. type: integer
  12091. agreementversion:
  12092. description: 协议版本号
  12093. type: integer
  12094. configid:
  12095. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12096. type: integer
  12097. createtime:
  12098. description: 创建时间
  12099. type: string
  12100. goodsid:
  12101. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12102. type: integer
  12103. nodetype:
  12104. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12105. type: integer
  12106. signtimestamp:
  12107. description: 签约状态时间戳(最近一次)
  12108. type: string
  12109. tradedate:
  12110. description: 签约交易日(yyyyMMdd)
  12111. type: string
  12112. userid:
  12113. description: 客户ID
  12114. type: integer
  12115. type: object
  12116. models.Qhjgoodsex:
  12117. properties:
  12118. canfinance:
  12119. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12120. type: integer
  12121. canregularlybuy:
  12122. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12123. type: integer
  12124. defaulttradeuserid:
  12125. description: 默认交易用户ID
  12126. type: integer
  12127. deliverygoodsid:
  12128. description: 现货品种ID
  12129. type: integer
  12130. goodsid:
  12131. description: 商品ID(自增ID SEQ_GOODS)
  12132. type: integer
  12133. minamount:
  12134. description: 最小购买金额
  12135. type: number
  12136. regularlybuyminamount:
  12137. description: 定投最小金额
  12138. type: number
  12139. regularlybuyminqty:
  12140. description: 定投最小数量
  12141. type: number
  12142. spotgoodsbrandid:
  12143. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12144. type: integer
  12145. visibilityforenterprise:
  12146. description: 企业客户是否可见 - 0:不可见 1:可见
  12147. type: integer
  12148. visibilityforpersonal:
  12149. description: 个人客户是否可见 - 0:不可见 1:可见
  12150. type: integer
  12151. wrstandardid:
  12152. description: 现货商品ID
  12153. type: integer
  12154. type: object
  12155. models.QueryErrorInfosRsp:
  12156. properties:
  12157. description:
  12158. description: 异常描述
  12159. type: string
  12160. errorcode:
  12161. description: 异常代码
  12162. type: string
  12163. errorid:
  12164. description: 异常ID
  12165. type: integer
  12166. modulecode:
  12167. description: 所属模块
  12168. type: string
  12169. operatecode:
  12170. description: 所属操作
  12171. type: string
  12172. rownumber:
  12173. description: 行号
  12174. type: string
  12175. required:
  12176. - errorid
  12177. type: object
  12178. models.QueryHedgeOrderDetailRsp:
  12179. properties:
  12180. accountid:
  12181. description: 账户ID
  12182. type: integer
  12183. buyorsell:
  12184. description: 买卖 - 0:买 1:卖
  12185. type: integer
  12186. cancellogincode:
  12187. description: 撤单人
  12188. type: string
  12189. channelbuildtype:
  12190. description: 开平标志 - 0:无 1:建仓 2:平仓
  12191. type: integer
  12192. channelinnerorderstatus:
  12193. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12194. 9:全部成交
  12195. type: integer
  12196. channeloperatetype:
  12197. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12198. type: integer
  12199. closetype:
  12200. description: 平仓方式 - 0:无 1:平今 2:平昨
  12201. type: integer
  12202. curexchangerate:
  12203. description: 当前汇率
  12204. type: number
  12205. exchangefullname:
  12206. description: 外部交易所全称
  12207. type: string
  12208. goodscode:
  12209. description: 商品代码(内部)
  12210. type: string
  12211. goodsid:
  12212. description: 商品ID
  12213. type: integer
  12214. goodsname:
  12215. description: 商品名称
  12216. type: string
  12217. marketid:
  12218. description: 市场ID
  12219. type: integer
  12220. openfreezemargin:
  12221. description: 冻结保证金(冻结交易金额)
  12222. type: number
  12223. orderid:
  12224. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12225. type: string
  12226. orderlogincode:
  12227. description: 委托人
  12228. type: string
  12229. orderprice:
  12230. description: 委托价格(账户)
  12231. type: number
  12232. orderqty:
  12233. description: 委托数量
  12234. type: integer
  12235. ordertime:
  12236. description: 委托时间
  12237. type: string
  12238. pricemode:
  12239. description: '取价方式 - 1:市价 2: 限价'
  12240. type: integer
  12241. tradedate:
  12242. description: 交易日(yyyyMMdd)
  12243. type: string
  12244. tradeqty:
  12245. description: 成交数量
  12246. type: integer
  12247. type: object
  12248. models.QueryHedgeTradeDetailRsp:
  12249. properties:
  12250. accountid:
  12251. description: 账号ID
  12252. type: integer
  12253. buyorsell:
  12254. description: 方向 - 0:买 1:卖
  12255. type: integer
  12256. channelbuildtype:
  12257. description: 委托单据类型 0:无 1:建仓 2:平仓
  12258. type: integer
  12259. closecharge:
  12260. description: 平仓手续费(账户)
  12261. type: number
  12262. closecharge2:
  12263. description: 平仓手续费(商品)
  12264. type: number
  12265. closepl:
  12266. description: 平仓盈亏(账户)
  12267. type: number
  12268. closepl2:
  12269. description: 平仓盈亏(商品)
  12270. type: number
  12271. closepl3:
  12272. description: 平仓盈亏(账户)(逐笔)
  12273. type: number
  12274. closepl4:
  12275. description: 平仓盈亏(商品)(逐笔)
  12276. type: number
  12277. closetype:
  12278. description: 平仓方式 - 0:无 1:平今 2:平昨
  12279. type: integer
  12280. curexchangerate:
  12281. description: 当前汇率
  12282. type: number
  12283. exchangefullname:
  12284. description: 外部交易所全称
  12285. type: string
  12286. goodscode:
  12287. description: 商品代码(内部)
  12288. type: string
  12289. goodsid:
  12290. description: 商品ID
  12291. type: integer
  12292. goodsname:
  12293. description: 商品名称
  12294. type: string
  12295. marketid:
  12296. description: 市场ID
  12297. type: integer
  12298. opencharge:
  12299. description: 建仓手续费(账户)
  12300. type: number
  12301. opencharge2:
  12302. description: 建仓手续费(商品)
  12303. type: number
  12304. orderid:
  12305. description: 委托单号
  12306. type: string
  12307. orderlogincode:
  12308. description: 委托人
  12309. type: string
  12310. tradeamount:
  12311. description: 成交金额(账户)
  12312. type: number
  12313. tradedate:
  12314. description: 交易日(yyyyMMdd)
  12315. type: string
  12316. tradeid:
  12317. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12318. type: string
  12319. tradeprice:
  12320. description: 成交价格
  12321. type: number
  12322. tradeqty:
  12323. description: 成交数量
  12324. type: integer
  12325. tradetime:
  12326. description: 成交时间
  12327. type: string
  12328. tradetype:
  12329. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12330. type: integer
  12331. type: object
  12332. models.QuotePrimaryMenu:
  12333. properties:
  12334. Index:
  12335. description: 序号
  12336. type: integer
  12337. Key:
  12338. description: 键名
  12339. type: string
  12340. Name:
  12341. description: 菜单名称
  12342. type: string
  12343. SubMenus:
  12344. description: 子菜单
  12345. items:
  12346. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12347. type: array
  12348. SubTitleType:
  12349. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12350. type: integer
  12351. TradeModes:
  12352. description: 包含市场交易类型
  12353. type: string
  12354. type: object
  12355. models.QuoteSecondaryMenu:
  12356. properties:
  12357. ExExchangeCode:
  12358. description: 外部交易所代码
  12359. type: string
  12360. ExExchangeID:
  12361. description: 外部交易所ID
  12362. type: integer
  12363. GoodsGroupIDs:
  12364. description: 商品组ID列表
  12365. items:
  12366. type: integer
  12367. type: array
  12368. Index:
  12369. description: 序号
  12370. type: integer
  12371. MarketID:
  12372. description: 市场ID
  12373. type: integer
  12374. MenuTitle:
  12375. description: 菜单标题(市场名称或外部交易所名称)
  12376. type: string
  12377. TradeMode:
  12378. description: 交易模式
  12379. type: integer
  12380. type: object
  12381. models.RoleMenu:
  12382. properties:
  12383. hasright:
  12384. description: 是否有权限 0-没有权限 1-有权限
  12385. type: integer
  12386. iconame:
  12387. description: 菜单图标
  12388. type: string
  12389. menutype:
  12390. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12391. type: integer
  12392. parentcode:
  12393. description: 上级资源代码
  12394. type: string
  12395. remark:
  12396. description: 菜单备注
  12397. type: string
  12398. resourcecode:
  12399. description: 菜单代码
  12400. type: string
  12401. resourcelevel:
  12402. description: 级别
  12403. type: integer
  12404. resourcename:
  12405. description: 菜单名称
  12406. type: string
  12407. roleid:
  12408. description: 角色id
  12409. type: integer
  12410. sort:
  12411. description: 排序
  12412. type: integer
  12413. subMenu:
  12414. description: 子级菜单(结构同上层一样, swag解析不出来)
  12415. items:
  12416. $ref: '#/definitions/models.RoleMenu'
  12417. type: array
  12418. url:
  12419. description: URL
  12420. type: string
  12421. userid:
  12422. description: 用户id
  12423. type: integer
  12424. type: object
  12425. models.SearchGoods:
  12426. properties:
  12427. goodscode:
  12428. description: 商品代码(内部)
  12429. type: string
  12430. goodsid:
  12431. description: 商品ID(自增ID SEQ_GOODS)
  12432. type: integer
  12433. goodsname:
  12434. description: 商品名称
  12435. type: string
  12436. marketid:
  12437. description: 所属市场ID
  12438. type: integer
  12439. marketname:
  12440. description: 市场名称
  12441. type: string
  12442. trademode:
  12443. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12444. 21:竞拍-大宗式 22:受托竞价
  12445. type: integer
  12446. required:
  12447. - goodscode
  12448. - goodsid
  12449. - goodsname
  12450. - marketid
  12451. - trademode
  12452. type: object
  12453. models.Systemparam:
  12454. properties:
  12455. loginid:
  12456. description: 更新用户账号,登录账号
  12457. type: string
  12458. modifyflag:
  12459. description: 修改标志0 不允许修改 1 允许修改
  12460. type: integer
  12461. paramcode:
  12462. description: 参数代码
  12463. type: string
  12464. paramname:
  12465. description: 参数名
  12466. type: string
  12467. paramtype:
  12468. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12469. type: integer
  12470. paramvalue:
  12471. description: 参数值
  12472. type: string
  12473. paramvalue2:
  12474. description: 参数值(CLOB)
  12475. type: string
  12476. regexpress:
  12477. description: 正则表达式
  12478. type: string
  12479. remark:
  12480. description: 备注
  12481. type: string
  12482. serverip:
  12483. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12484. type: string
  12485. showflag:
  12486. description: 是否显示0 不显示 1 显示
  12487. type: integer
  12488. updatetime:
  12489. description: 更新时间
  12490. type: string
  12491. userid:
  12492. description: 更新用户ID
  12493. type: integer
  12494. required:
  12495. - paramcode
  12496. type: object
  12497. models.Szdz3convertconfig:
  12498. properties:
  12499. canin:
  12500. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12501. type: integer
  12502. canout:
  12503. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12504. type: integer
  12505. converttype:
  12506. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12507. 6:交易转花生米(不设置)
  12508. type: integer
  12509. createtime:
  12510. description: 创建时间
  12511. type: string
  12512. creatorid:
  12513. description: 创建人
  12514. type: integer
  12515. daymaxvalue:
  12516. description: 当日最大转入限制
  12517. type: number
  12518. freezedays:
  12519. description: 冻结天数 [5:花生米转交易]
  12520. type: integer
  12521. innergoodsid:
  12522. description: 内部商品ID[交易]
  12523. type: integer
  12524. inratio:
  12525. description: 目标值
  12526. type: integer
  12527. modifierid:
  12528. description: 修改人
  12529. type: integer
  12530. modifytime:
  12531. description: 修改时间
  12532. type: string
  12533. outergoodscode:
  12534. description: 外部商品代码[JD\PD]
  12535. type: string
  12536. outratio:
  12537. description: 源值
  12538. type: integer
  12539. pddecimalplace:
  12540. description: PD小数位
  12541. type: integer
  12542. timemaxvalue:
  12543. description: 单次最大转入限制
  12544. type: number
  12545. timeminvalue:
  12546. description: 单次最小转入限制
  12547. type: number
  12548. required:
  12549. - converttype
  12550. - innergoodsid
  12551. - outergoodscode
  12552. type: object
  12553. models.Szdz3searchwhitelist:
  12554. properties:
  12555. createtime:
  12556. description: 创建时间
  12557. type: string
  12558. creatorid:
  12559. description: 创建人
  12560. type: integer
  12561. modifierid:
  12562. description: 修改人
  12563. type: integer
  12564. modifytime:
  12565. description: 修改时间
  12566. type: string
  12567. userid:
  12568. description: 用户ID
  12569. type: integer
  12570. required:
  12571. - userid
  12572. type: object
  12573. models.Taaccount:
  12574. properties:
  12575. accountflag:
  12576. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12577. type: integer
  12578. accountid:
  12579. description: 资金账户ID
  12580. type: integer
  12581. accountname:
  12582. description: 账户名称
  12583. type: string
  12584. balance:
  12585. description: 期初余额
  12586. type: number
  12587. capitalbalance:
  12588. description: 本金余额[外部子账户实际出入金余额]
  12589. type: number
  12590. changeflag:
  12591. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12592. type: integer
  12593. changetime:
  12594. description: 账户状态变更时间
  12595. type: string
  12596. closepl:
  12597. description: 今日平仓盈亏
  12598. type: number
  12599. creditdecrease:
  12600. description: 今日授信减少
  12601. type: number
  12602. creditincrease:
  12603. description: 今日授信增加
  12604. type: number
  12605. curamount:
  12606. description: 总市值(从持仓中统计)
  12607. type: number
  12608. currencyid:
  12609. description: 货币ID
  12610. type: integer
  12611. currentbalance:
  12612. description: 期末余额
  12613. type: number
  12614. freezecharge:
  12615. description: 手续费冻结
  12616. type: number
  12617. freezemargin:
  12618. description: 冻结保证金
  12619. type: number
  12620. fromaccountid:
  12621. description: 所属上级账户
  12622. type: integer
  12623. inamount:
  12624. description: 今日入金金额(包括三方入金)
  12625. type: number
  12626. ismain:
  12627. description: 是否母账号 0:不是母账户 1:是母账户
  12628. type: integer
  12629. ismarketaccount:
  12630. description: 是否机构接单账号 0:不是 1:是
  12631. type: integer
  12632. isreckonaccount:
  12633. description: 是否机构分润账号 0:不是 1:是
  12634. type: integer
  12635. mortgagecredit:
  12636. description: 授信金额
  12637. type: number
  12638. orifreezecharge:
  12639. description: 期初手续费冻结
  12640. type: number
  12641. orifreezemargin:
  12642. description: 期初冻结保证金
  12643. type: number
  12644. orimortgagecredit:
  12645. description: 期初授信金额
  12646. type: number
  12647. oriothercredit:
  12648. description: 期初其它授信金额
  12649. type: number
  12650. oriotherfreezemargin:
  12651. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12652. type: number
  12653. orioutamountfreeze:
  12654. description: 期初出金冻结
  12655. type: number
  12656. oriusedmargin:
  12657. description: 期初占用保证金
  12658. type: number
  12659. othercredit:
  12660. description: 其它授信金额
  12661. type: number
  12662. othercreditdecrease:
  12663. description: 今日其它授信减少
  12664. type: number
  12665. othercreditincrease:
  12666. description: 今日其它授信增加
  12667. type: number
  12668. otherfreezemargin:
  12669. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12670. type: number
  12671. otherincome:
  12672. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12673. type: number
  12674. otherpay:
  12675. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12676. type: number
  12677. outamount:
  12678. description: 今日出金金额(包括三方出金)
  12679. type: number
  12680. outamountfreeze:
  12681. description: 出金冻结
  12682. type: number
  12683. outthreshold:
  12684. description: 出金阈值
  12685. type: number
  12686. parentaccountid:
  12687. description: 所属根账号
  12688. type: integer
  12689. paycharge:
  12690. description: 今日手续费支出
  12691. type: number
  12692. relatedaccountstatus:
  12693. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12694. type: integer
  12695. relateduserid:
  12696. description: 关联用户
  12697. type: integer
  12698. remainamount:
  12699. description: 融资额(从融资合同中统计)
  12700. type: number
  12701. serivcegroup:
  12702. description: 服务分组
  12703. type: integer
  12704. signstatus:
  12705. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12706. type: integer
  12707. sublevelpath:
  12708. description: 账号层级路径(逗号分隔,首尾加逗号)
  12709. type: string
  12710. taaccounttype:
  12711. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12712. type: integer
  12713. thirdinamount:
  12714. description: 今日三方入金
  12715. type: number
  12716. thirdoutamount:
  12717. description: 今日三方出金
  12718. type: number
  12719. tradestatus:
  12720. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12721. type: integer
  12722. tradestatuschangetime:
  12723. description: 激活时间
  12724. type: string
  12725. transferamount:
  12726. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12727. type: number
  12728. usedmargin:
  12729. description: 占用保证金
  12730. type: number
  12731. userid:
  12732. description: 用户ID
  12733. type: integer
  12734. required:
  12735. - accountid
  12736. - userid
  12737. type: object
  12738. models.Tablecolumnconfig:
  12739. properties:
  12740. aligntype:
  12741. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12742. type: integer
  12743. autoid:
  12744. description: AutoID
  12745. type: integer
  12746. columnfield:
  12747. description: 列字段
  12748. type: string
  12749. columntitle:
  12750. description: 列Title
  12751. type: string
  12752. columnwidth:
  12753. description: 列宽
  12754. type: string
  12755. formatterstring:
  12756. description: 格式化字符
  12757. type: string
  12758. formattertype:
  12759. description: 格式化类型
  12760. type: string
  12761. groupname:
  12762. description: 表头分组名称
  12763. type: string
  12764. isshow:
  12765. description: 是否显示 - 0:不显示 1:显示
  12766. type: integer
  12767. needsummary:
  12768. description: 是否需要汇总 - 0:不需要 1:需要
  12769. type: integer
  12770. orderindex:
  12771. description: 顺序
  12772. type: integer
  12773. remark:
  12774. description: 备注
  12775. type: string
  12776. summarytype:
  12777. description: 汇总类型 - 1:加总 2:最后一个
  12778. type: integer
  12779. tablekey:
  12780. description: 列表Key
  12781. type: string
  12782. required:
  12783. - autoid
  12784. type: object
  12785. models.UserCollectConfig:
  12786. properties:
  12787. accountstatus:
  12788. description: 账户状态 - 1:正常 2:停用 3:注销
  12789. type: integer
  12790. collectaccountname:
  12791. description: 收款人账户名称
  12792. type: string
  12793. collectaccountno:
  12794. description: 收款人账户
  12795. type: string
  12796. collectbankname:
  12797. description: 收款人开户行
  12798. type: string
  12799. collectbranchbankname:
  12800. description: 收款人开户支行
  12801. type: string
  12802. collectconfigid:
  12803. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12804. type: string
  12805. remark:
  12806. description: 备注
  12807. type: string
  12808. userid:
  12809. description: 收款人用户ID
  12810. type: integer
  12811. type: object
  12812. models.UserReceiveInfo:
  12813. properties:
  12814. address:
  12815. description: 提货人详细地址
  12816. type: string
  12817. autoid:
  12818. description: AutoID
  12819. type: integer
  12820. cardnum:
  12821. description: 证件号码(加密存储)
  12822. type: string
  12823. cardtypeid:
  12824. description: 证件类型
  12825. type: integer
  12826. cityid:
  12827. description: 市
  12828. type: integer
  12829. cityname:
  12830. description: 城市名称
  12831. type: string
  12832. countryid:
  12833. description: 国家
  12834. type: integer
  12835. countryname:
  12836. description: 国家名称
  12837. type: string
  12838. districtid:
  12839. description: 地区
  12840. type: integer
  12841. districtname:
  12842. description: 地区名称
  12843. type: string
  12844. hasencrypt:
  12845. description: 数据是否已加密 - 0:未加密 1:已加密
  12846. type: integer
  12847. isdefault:
  12848. description: 是否默认地址 - 0:否 1:是
  12849. type: integer
  12850. phonenum:
  12851. description: 提货人联系方式(加密存储)
  12852. type: string
  12853. provinceid:
  12854. description: 省
  12855. type: integer
  12856. provincename:
  12857. description: 省名称
  12858. type: string
  12859. receivername:
  12860. description: 提货人姓名
  12861. type: string
  12862. takeremark:
  12863. description: 提货备注
  12864. type: string
  12865. userid:
  12866. description: 用户ID
  12867. type: integer
  12868. type: object
  12869. models.Useraccount:
  12870. properties:
  12871. accountname:
  12872. description: 账户名称(机构名称)
  12873. type: string
  12874. accountstatus:
  12875. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12876. type: integer
  12877. applysrc:
  12878. description: 申请来源 - 1:管理端 2:终端
  12879. type: integer
  12880. auditremark:
  12881. description: 审核备注
  12882. type: string
  12883. auditsrc:
  12884. description: 审核来源 - 1:管理端 2:终端
  12885. type: integer
  12886. audittime:
  12887. description: 审核时间
  12888. type: string
  12889. audituserid:
  12890. description: 审核人
  12891. type: integer
  12892. broker:
  12893. description: 所属经纪人ID
  12894. type: integer
  12895. canceltime:
  12896. description: 销户时间
  12897. type: string
  12898. canceluserid:
  12899. description: 销户人
  12900. type: integer
  12901. canrecommend:
  12902. description: 是否可推荐 - 0:不可 1;可
  12903. type: integer
  12904. createtime:
  12905. description: 创建时间
  12906. type: string
  12907. creatorid:
  12908. description: 创建人
  12909. type: integer
  12910. hasauth:
  12911. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12912. type: integer
  12913. isanonymous:
  12914. description: 是否匿名下单 - 0:否 1:是
  12915. type: integer
  12916. maxinvestornum:
  12917. description: 最大用户数(经纪会员下投资者个数)
  12918. type: integer
  12919. memberuserid:
  12920. description: 所属会员ID
  12921. type: integer
  12922. modifierid:
  12923. description: 修改人
  12924. type: integer
  12925. modifyremark:
  12926. description: 变更备注
  12927. type: string
  12928. modifystatus:
  12929. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12930. type: integer
  12931. modifytime:
  12932. description: 修改时间
  12933. type: string
  12934. parenttopuser:
  12935. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12936. type: string
  12937. parentuserid:
  12938. description: 所属机构ID
  12939. type: integer
  12940. reckonaccountid:
  12941. description: 默认结算资金账号ID(机构分润使用) 作废
  12942. type: integer
  12943. refercount:
  12944. description: 推荐总人数
  12945. type: integer
  12946. refereeuserid:
  12947. description: 推荐人ID
  12948. type: integer
  12949. refernum:
  12950. description: 推荐码
  12951. type: string
  12952. rootuserid:
  12953. description: 根用户ID
  12954. type: integer
  12955. subaccountlevel:
  12956. description: 子账户层数
  12957. type: integer
  12958. subarealevelpath:
  12959. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12960. type: string
  12961. userid:
  12962. description: 用户ID
  12963. type: integer
  12964. usertype:
  12965. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12966. type: integer
  12967. required:
  12968. - userid
  12969. type: object
  12970. models.Userfavoritegoods:
  12971. properties:
  12972. goodsid:
  12973. description: 商品ID
  12974. type: integer
  12975. required:
  12976. - goodsid
  12977. type: object
  12978. models.Userinfo:
  12979. properties:
  12980. address:
  12981. description: 地址
  12982. type: string
  12983. attachment1:
  12984. description: 附件1
  12985. type: string
  12986. attachment2:
  12987. description: 附件2
  12988. type: string
  12989. bankaccount:
  12990. description: 银行帐号 (加密存储)
  12991. type: string
  12992. bankaccountname:
  12993. description: 收款人名称
  12994. type: string
  12995. bankcardfrontphotourl:
  12996. description: 银行卡正面照地址
  12997. type: string
  12998. bankid:
  12999. description: 银行编码
  13000. type: string
  13001. bankname:
  13002. description: 银行名称
  13003. type: string
  13004. biznature:
  13005. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13006. type: integer
  13007. bizscope:
  13008. description: 企业经营范围(企业)
  13009. type: string
  13010. cardbackphotourl:
  13011. description: 证件背面图片地址
  13012. type: string
  13013. cardfrontphotourl:
  13014. description: 证件正面图片地址
  13015. type: string
  13016. cardnum:
  13017. description: 证件号码(加密存储)
  13018. type: string
  13019. cardtypeid:
  13020. description: 证件类型ID
  13021. type: integer
  13022. cityid:
  13023. description: 市
  13024. type: integer
  13025. company:
  13026. description: 公司(个人)
  13027. type: string
  13028. contactname:
  13029. description: 联系人
  13030. type: string
  13031. countryid:
  13032. description: 国家
  13033. type: integer
  13034. createtime:
  13035. description: 创建时间
  13036. type: string
  13037. creatorid:
  13038. description: 创建人
  13039. type: integer
  13040. customername:
  13041. description: 客户名称(企业名称)
  13042. type: string
  13043. districtid:
  13044. description: 地区
  13045. type: integer
  13046. email:
  13047. description: 邮件(加密存储)
  13048. type: string
  13049. fax:
  13050. description: 传真(加密存储)
  13051. type: string
  13052. halfbodyphotourl:
  13053. description: 半身照地址
  13054. type: string
  13055. hasencrypt:
  13056. description: 数据是否已加密 - 0:未加密 1:已加密
  13057. type: integer
  13058. headurl:
  13059. description: 头像地址
  13060. type: string
  13061. legalcardbackphotourl:
  13062. description: 法人身份证背面照地址
  13063. type: string
  13064. legalcardfrontphotourl:
  13065. description: 法人身份证正面照地址
  13066. type: string
  13067. legalpersonname:
  13068. description: 法人姓名(企业)
  13069. type: string
  13070. mobile:
  13071. description: 手机号码(加密存储)
  13072. type: string
  13073. mobile2:
  13074. description: 手机号码[明文-尚志]
  13075. type: string
  13076. modifierid:
  13077. description: 修改人
  13078. type: integer
  13079. modifiertime:
  13080. description: 修改时间
  13081. type: string
  13082. needinvoice:
  13083. description: 是否需要发票 - 0:不需要 1:需要
  13084. type: integer
  13085. nickname:
  13086. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13087. type: string
  13088. openmode:
  13089. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13090. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13091. type: integer
  13092. otherurl:
  13093. description: 其它图片地址[使用分号分隔]
  13094. type: string
  13095. postalcode:
  13096. description: 邮政编码
  13097. type: string
  13098. provinceid:
  13099. description: 省
  13100. type: integer
  13101. qq:
  13102. description: QQ(加密存储
  13103. type: string
  13104. remark:
  13105. description: 备注
  13106. type: string
  13107. sex:
  13108. description: '用户性别 0: 女 1: 男'
  13109. type: integer
  13110. signpdfurl:
  13111. description: 签约pdf文件
  13112. type: string
  13113. telphone:
  13114. description: 联系电话(加密存储)
  13115. type: string
  13116. userid:
  13117. description: 用户ID
  13118. type: integer
  13119. userinfotype:
  13120. description: 用户信息类型 - 1:个人 2:企业
  13121. type: integer
  13122. userstatus:
  13123. description: 用户状态 - 1:正常 2:注销
  13124. type: integer
  13125. usertype:
  13126. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13127. type: integer
  13128. wechat:
  13129. description: 微信(加密存储)
  13130. type: string
  13131. wskhinfo:
  13132. description: 开户申请信息(JSON)
  13133. type: string
  13134. required:
  13135. - userid
  13136. type: object
  13137. models.WRSConverTDetail:
  13138. properties:
  13139. convertratio:
  13140. description: 套保系数
  13141. type: number
  13142. deliverygoodscode:
  13143. description: 现货商品代码
  13144. type: string
  13145. deliverygoodsid:
  13146. description: 现货品种ID
  13147. type: integer
  13148. deliverygoodsname:
  13149. description: 现货商品名称
  13150. type: string
  13151. enumdicname:
  13152. description: 单位名称
  13153. type: string
  13154. goodsunitid:
  13155. description: 套保品种单位id
  13156. type: integer
  13157. middlegoodscode:
  13158. description: 套保品种代码
  13159. type: string
  13160. middlegoodsid:
  13161. description: 套保品种ID
  13162. type: integer
  13163. middlegoodsname:
  13164. description: 套保品种名称
  13165. type: string
  13166. modifytime:
  13167. description: 修改时间
  13168. type: string
  13169. wrstandardid:
  13170. description: 品类ID
  13171. type: integer
  13172. type: object
  13173. models.WRStandardInfo:
  13174. properties:
  13175. areauserid:
  13176. description: 所属机构
  13177. type: integer
  13178. convertfactor:
  13179. description: 标仓系数
  13180. type: number
  13181. createtime:
  13182. description: 创建时间
  13183. type: string
  13184. creatorid:
  13185. description: 创建人
  13186. type: integer
  13187. deliverygoodsid:
  13188. description: 品种ID
  13189. type: integer
  13190. deliverygoodsname:
  13191. description: 交割商品名称
  13192. type: string
  13193. factoryitemjson:
  13194. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13195. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13196. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13197. 逗号分隔'
  13198. type: string
  13199. isvalid:
  13200. description: 是否有效 - 0:无效 1:有效
  13201. type: integer
  13202. minivalue:
  13203. description: 最小变动值
  13204. type: integer
  13205. minivaluedp:
  13206. description: 最小变动值小数位
  13207. type: integer
  13208. realminivalue:
  13209. description: 实际最小变动值
  13210. type: integer
  13211. realminivaluedp:
  13212. description: 实际最小变动值小数位
  13213. type: integer
  13214. remark:
  13215. description: 备注
  13216. type: string
  13217. unitid:
  13218. description: 单位ID
  13219. type: integer
  13220. unitname:
  13221. description: 单位
  13222. type: string
  13223. updatetime:
  13224. description: 更新时间
  13225. type: string
  13226. updatorid:
  13227. description: 更新人
  13228. type: integer
  13229. wrsstatus:
  13230. description: 状态 - 作废 - 0:未激活 1:正常
  13231. type: integer
  13232. wrstandardcode:
  13233. description: 现货品类代码
  13234. type: string
  13235. wrstandardid:
  13236. description: 现货品类ID(SEQ_WRSTANDARD)
  13237. type: integer
  13238. wrstandardname:
  13239. description: 现货品类名称
  13240. type: string
  13241. required:
  13242. - wrstandardid
  13243. type: object
  13244. models.Warehouseinfo:
  13245. properties:
  13246. address:
  13247. description: 详细地址
  13248. type: string
  13249. areauserid:
  13250. description: 所属机构
  13251. type: integer
  13252. autoid:
  13253. description: 自增ID
  13254. type: integer
  13255. cityid:
  13256. description: 市
  13257. type: integer
  13258. contactname:
  13259. description: 联系人
  13260. type: string
  13261. contactnum:
  13262. description: 联系电话
  13263. type: string
  13264. countryid:
  13265. description: 国家
  13266. type: integer
  13267. createtime:
  13268. description: 创建时间
  13269. type: string
  13270. districtid:
  13271. description: 区
  13272. type: integer
  13273. hasvideo:
  13274. description: 是否有视频 - 0:无 1:有
  13275. type: integer
  13276. provinceid:
  13277. description: 省
  13278. type: integer
  13279. remark:
  13280. description: 审核备注
  13281. type: string
  13282. videourl:
  13283. description: 视频地址
  13284. type: string
  13285. warehousecode:
  13286. description: 仓库代码
  13287. type: string
  13288. warehousename:
  13289. description: 仓库名称
  13290. type: string
  13291. warehousestatus:
  13292. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13293. type: integer
  13294. warehousetype:
  13295. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13296. type: integer
  13297. required:
  13298. - autoid
  13299. - warehousecode
  13300. type: object
  13301. models.WrBuybackDetail:
  13302. properties:
  13303. buybackamount:
  13304. description: 回购金额
  13305. type: number
  13306. buybackqty:
  13307. description: 回购数量
  13308. type: number
  13309. buybackreleasemargin:
  13310. description: 回购释放保证金
  13311. type: number
  13312. buybacktime:
  13313. description: 回购时间
  13314. type: string
  13315. errordesc:
  13316. description: 错误描述
  13317. type: string
  13318. handlestatus:
  13319. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13320. type: integer
  13321. relatedwrid:
  13322. description: 关联仓单ID
  13323. type: integer
  13324. scfcontractid:
  13325. description: SCF合同ID
  13326. type: string
  13327. scfwrbuybackid:
  13328. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13329. type: integer
  13330. tradedate:
  13331. description: 交易日(yyyyMMdd)
  13332. type: string
  13333. type: object
  13334. models.WrFAProductDetail:
  13335. properties:
  13336. accountid:
  13337. description: 资金账号
  13338. type: integer
  13339. areauserid:
  13340. description: 金融机构ID
  13341. type: integer
  13342. financingdays:
  13343. description: 天数(天)
  13344. type: integer
  13345. interestminlen:
  13346. description: 最小起息天数
  13347. type: integer
  13348. interestrate:
  13349. description: 利率
  13350. type: number
  13351. interestratemode:
  13352. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13353. type: integer
  13354. interestsettlemode:
  13355. description: 结息方式 - 1:按日结息 3:按月结息
  13356. type: integer
  13357. interestsettlevalue:
  13358. description: 结息方式值
  13359. type: integer
  13360. isautoloan:
  13361. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13362. type: integer
  13363. loantag:
  13364. description: '放款标识: "放款快" 或者为空'
  13365. type: string
  13366. marginratio:
  13367. description: 保证金比率质押率 - [仓单质押]
  13368. type: number
  13369. productdetailid:
  13370. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13371. type: integer
  13372. productid:
  13373. description: 金融产品ID
  13374. type: integer
  13375. productname:
  13376. description: 产品名称
  13377. type: string
  13378. updatetime:
  13379. description: 更新时间
  13380. type: string
  13381. username:
  13382. description: 融出方
  13383. type: string
  13384. type: object
  13385. models.WrFactorTypeInfo:
  13386. properties:
  13387. deliverygoodscode:
  13388. description: 品种代码
  13389. type: string
  13390. deliverygoodsname:
  13391. description: 品种名称
  13392. type: string
  13393. dgfactoryitemid:
  13394. description: 选择项id
  13395. type: integer
  13396. dgfactoryitemtypeid:
  13397. description: 要素选择项ID (1-仓库 2-品牌)
  13398. type: integer
  13399. dgfactoryitemvalue:
  13400. description: 要素项值
  13401. type: string
  13402. itemtypename:
  13403. description: 要素项名称
  13404. type: string
  13405. optioncompare:
  13406. description: 选择比较串
  13407. type: string
  13408. warehouseid:
  13409. description: 仓库id
  13410. type: integer
  13411. wrfactortypeid:
  13412. description: 仓单要素ID
  13413. type: string
  13414. wrfactortypename:
  13415. description: 要素名称
  13416. type: string
  13417. wrfactortypename2:
  13418. description: 要素名称(不含仓库)
  13419. type: string
  13420. wrstandardcode:
  13421. description: 品类代码
  13422. type: string
  13423. wrstandardid:
  13424. description: 品类id
  13425. type: integer
  13426. wrstandardname:
  13427. description: 品类名称
  13428. type: string
  13429. type: object
  13430. models.WrFilterItem:
  13431. properties:
  13432. itemcode:
  13433. description: 代码
  13434. type: string
  13435. itemid:
  13436. description: 项id
  13437. type: integer
  13438. itemname:
  13439. description: 名称
  13440. type: string
  13441. itemtype:
  13442. description: 类型 1-品种 2-品类(商品) 3-仓库
  13443. type: integer
  13444. type: object
  13445. models.WrFinanceBuyApply:
  13446. properties:
  13447. applydate:
  13448. description: 申请时间
  13449. type: string
  13450. applystatus:
  13451. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13452. type: integer
  13453. applyuserid:
  13454. description: 申请人
  13455. type: integer
  13456. auditdate:
  13457. description: 审核时间
  13458. type: string
  13459. auditremark:
  13460. description: 审核备注
  13461. type: string
  13462. audituserid:
  13463. description: 审核人
  13464. type: integer
  13465. buyaccountid:
  13466. description: 买方资金账号
  13467. type: integer
  13468. buyorsell:
  13469. description: 买卖 - 0:买 1:卖
  13470. type: integer
  13471. buyuserid:
  13472. description: 买方用户ID
  13473. type: integer
  13474. buyusername:
  13475. description: 买方名称
  13476. type: string
  13477. buywrtradeorderid:
  13478. description: 融资方买委托单ID
  13479. type: string
  13480. deliverygoodscode:
  13481. description: 品种代码
  13482. type: string
  13483. deliverygoodsid:
  13484. description: 品种ID
  13485. type: integer
  13486. deliverygoodsname:
  13487. description: 品种名称
  13488. type: string
  13489. deliverymonth:
  13490. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13491. type: string
  13492. enumdicname:
  13493. description: 单位名称
  13494. type: string
  13495. financeaccountid:
  13496. description: 融资方资金帐户ID
  13497. type: integer
  13498. financeapplyid:
  13499. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13500. type: string
  13501. financeareauserid:
  13502. description: 融资方用户ID
  13503. type: string
  13504. financename:
  13505. description: 融出方名称
  13506. type: string
  13507. financetype:
  13508. description: 融资类型 1-融资回购
  13509. type: integer
  13510. financingdays:
  13511. description: 天数(天)
  13512. type: integer
  13513. freezebuymargin:
  13514. description: 冻结融资保证金(买方)
  13515. type: number
  13516. handleremark:
  13517. description: 处理备注
  13518. type: string
  13519. handlestatus:
  13520. description: 处理状态
  13521. type: integer
  13522. interestminlen:
  13523. description: 最小起息天数
  13524. type: integer
  13525. interestrate:
  13526. description: 利率
  13527. type: number
  13528. interestratemode:
  13529. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13530. type: integer
  13531. interestsettlemode:
  13532. description: 结息方式 - 1:按日结息 3:按月结息
  13533. type: integer
  13534. interestsettlevalue:
  13535. description: 结息方式值
  13536. type: integer
  13537. isautoloan:
  13538. description: 是否自动放款 - 0:手动 1:自动
  13539. type: integer
  13540. marginratio:
  13541. description: 保证金比率质押率 - [仓单质押]
  13542. type: number
  13543. marketid:
  13544. description: 市场ID
  13545. type: integer
  13546. minivalue:
  13547. description: 现货商品最小变动值
  13548. type: integer
  13549. optioncompare:
  13550. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13551. type: string
  13552. orderqty:
  13553. description: 委托数量(商品数量)
  13554. type: number
  13555. productdetailid:
  13556. description: 产品组合ID
  13557. type: integer
  13558. productid:
  13559. description: 金融产品ID
  13560. type: integer
  13561. productname:
  13562. description: 产品名称
  13563. type: string
  13564. remark:
  13565. description: 备注
  13566. type: string
  13567. scfcontractid:
  13568. description: 仓单回购合同ID
  13569. type: string
  13570. sellaccountid:
  13571. description: 卖方资金账号
  13572. type: integer
  13573. selluserid:
  13574. description: 卖方用户ID
  13575. type: integer
  13576. sellwrtradeorderid:
  13577. description: 卖方委托单ID
  13578. type: string
  13579. tradeamount:
  13580. description: 成交金额(借款金额)
  13581. type: number
  13582. tradedate:
  13583. description: 交易日(yyyyMMdd)
  13584. type: string
  13585. tradeprice:
  13586. description: 成交价格
  13587. type: number
  13588. warehouseid:
  13589. description: 仓库ID
  13590. type: integer
  13591. warehousename:
  13592. description: 仓库名称
  13593. type: string
  13594. wrfactortypeid:
  13595. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13596. type: string
  13597. wrfactortypename:
  13598. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13599. type: string
  13600. wrpricetype:
  13601. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13602. type: integer
  13603. wrstandardcode:
  13604. description: 现货商品代码
  13605. type: string
  13606. wrstandardid:
  13607. description: 现货商品ID
  13608. type: integer
  13609. wrstandardname:
  13610. description: 商品名称
  13611. type: string
  13612. wrtypename:
  13613. description: 商品
  13614. type: string
  13615. type: object
  13616. models.WrFtDeliveryGoods:
  13617. properties:
  13618. deliverygoodscode:
  13619. description: 品种代码
  13620. type: string
  13621. deliverygoodsid:
  13622. description: 品种ID
  13623. type: integer
  13624. deliverygoodsname:
  13625. description: 品种名称
  13626. type: string
  13627. wdlst:
  13628. description: 商品列表
  13629. items:
  13630. $ref: '#/definitions/models.WrFtWrstandard'
  13631. type: array
  13632. type: object
  13633. models.WrFtWrstandard:
  13634. properties:
  13635. enumdicname:
  13636. description: 单位名称
  13637. type: string
  13638. minivalue:
  13639. description: 最小变动值
  13640. type: integer
  13641. wrstandardcode:
  13642. description: 现货商品代码
  13643. type: string
  13644. wrstandardid:
  13645. description: 现货商品ID
  13646. type: integer
  13647. wrstandardname:
  13648. description: 商品名称
  13649. type: string
  13650. type: object
  13651. models.WrGoodsInfo:
  13652. properties:
  13653. haswr:
  13654. description: 0:仓单预售 1:仓单贸易
  13655. type: integer
  13656. lstitem:
  13657. description: 商品信息项
  13658. items:
  13659. $ref: '#/definitions/models.WrTypeItem'
  13660. type: array
  13661. lststep:
  13662. description: 履约规则
  13663. items:
  13664. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13665. type: array
  13666. marketid:
  13667. description: 市场id
  13668. type: integer
  13669. type: object
  13670. models.WrGoodsPerformanceStep:
  13671. properties:
  13672. autoid:
  13673. description: AutoID
  13674. type: integer
  13675. isauto:
  13676. description: 是否自动 - 0:不自动 1:自动
  13677. type: integer
  13678. remark:
  13679. description: 备注
  13680. type: string
  13681. stepdate:
  13682. description: 天数信息(T+N)
  13683. type: string
  13684. stepdays:
  13685. description: 距离上一步天数
  13686. type: integer
  13687. stepindex:
  13688. description: 步骤序号
  13689. type: integer
  13690. stepinfo:
  13691. description: 步骤信息(步骤名称+步骤值)
  13692. type: string
  13693. steptypeid:
  13694. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13695. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13696. type: integer
  13697. steptypename:
  13698. description: 步骤名称
  13699. type: string
  13700. stepvalue:
  13701. description: 步骤值
  13702. type: number
  13703. templateid:
  13704. description: 履约计划模板ID
  13705. type: integer
  13706. type: object
  13707. models.WrHoldLB:
  13708. properties:
  13709. accountid:
  13710. description: 持有人帐户ID
  13711. type: integer
  13712. createtime:
  13713. description: 创建时间(过户时间)
  13714. type: string
  13715. deliverygoodscode:
  13716. description: 品种代码
  13717. type: string
  13718. deliverygoodsid:
  13719. description: 品种ID
  13720. type: integer
  13721. deliverygoodsname:
  13722. description: 品种名称
  13723. type: string
  13724. enableqty:
  13725. description: 可用数量
  13726. type: number
  13727. enumdicname:
  13728. description: 单位名称
  13729. type: string
  13730. freezerqty:
  13731. description: 冻结数量
  13732. type: number
  13733. ladingbillid:
  13734. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13735. type: string
  13736. minivalue:
  13737. description: 现货商品最小变动值
  13738. type: integer
  13739. optioncompare:
  13740. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13741. type: string
  13742. parentsubnum:
  13743. description: 拆分父子单号
  13744. type: integer
  13745. pledgeqty:
  13746. description: 质押数量
  13747. type: number
  13748. qty:
  13749. description: 数量
  13750. type: number
  13751. subnum:
  13752. description: 提单子单号
  13753. type: integer
  13754. tradedate:
  13755. description: 交易日(yyyyMMdd)
  13756. type: string
  13757. userid:
  13758. description: 持有人ID
  13759. type: integer
  13760. warehouseid:
  13761. description: 仓库ID
  13762. type: integer
  13763. warehousename:
  13764. description: 仓库名称
  13765. type: string
  13766. wrfactortypeid:
  13767. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13768. type: string
  13769. wrfactortypename:
  13770. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13771. type: string
  13772. wrholdeno:
  13773. description: 仓单编号
  13774. type: string
  13775. wrid:
  13776. description: 仓单变更ID
  13777. type: string
  13778. wrstandardcode:
  13779. description: 现货商品代码
  13780. type: string
  13781. wrstandardid:
  13782. description: 现货商品ID
  13783. type: integer
  13784. wrstandardname:
  13785. description: 商品名称
  13786. type: string
  13787. wrtypename:
  13788. description: 商品
  13789. type: string
  13790. type: object
  13791. models.WrMarketTradeConfig:
  13792. properties:
  13793. basisdownratio:
  13794. description: 浮动价基差下限比例(仓单贸易)
  13795. type: number
  13796. basisupratio:
  13797. description: 浮动价基差上限比例(仓单贸易)
  13798. type: number
  13799. buychargealgorithm:
  13800. description: 买方手续费收取方式 1:比率 2:固定
  13801. type: integer
  13802. buychargealgorithm2:
  13803. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  13804. type: integer
  13805. buychargealgorithmvalue:
  13806. description: 买方手续费设置值(交易所部分)
  13807. type: number
  13808. buychargealgorithmvalue2:
  13809. description: 买方手续费设置值(会员部分)
  13810. type: number
  13811. buychargealgorithmvalue3:
  13812. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  13813. type: number
  13814. buychargealgorithmvalue4:
  13815. description: 回购买方手续费设置值(会员部分) --77:现货商城
  13816. type: number
  13817. buyfirstmarginalgorithm:
  13818. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  13819. type: integer
  13820. buyfirstmarginvalue:
  13821. description: 买方出价保证金设置值 - [竞拍]
  13822. type: number
  13823. buymarginalgorithm:
  13824. description: 买方保证金方式 - 1:比率 2:固定
  13825. type: integer
  13826. buymarginvalue:
  13827. description: 买方保证金设置值
  13828. type: number
  13829. buyreleaseratio:
  13830. description: 买方释放比率[2:分步履约]
  13831. type: number
  13832. executemode:
  13833. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  13834. type: integer
  13835. executeside:
  13836. description: 执行方[2:分步履约] - 1:买方 2:卖方
  13837. type: integer
  13838. failedchargealgorithm:
  13839. description: 流拍手续费收取方式 1:比率 2:固定
  13840. type: integer
  13841. failedchargevalue:
  13842. description: 流拍手续费设置值
  13843. type: number
  13844. failedchargevalue2:
  13845. description: 流拍卖方手续费设置值
  13846. type: number
  13847. holddays:
  13848. description: 合同期限[2:分步履约]
  13849. type: integer
  13850. marketid:
  13851. description: 市场ID-仓单贸易、竞拍、预售
  13852. type: integer
  13853. minqty:
  13854. description: 最小执行量[2:分步履约]
  13855. type: number
  13856. modifierid:
  13857. description: 修改人
  13858. type: integer
  13859. performancetempid:
  13860. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13861. 立即执行(-1)
  13862. type: integer
  13863. performancetempid2:
  13864. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13865. 立即执行
  13866. type: integer
  13867. performanceway:
  13868. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  13869. type: integer
  13870. sellchargealgorithm:
  13871. description: 卖方手续费收取方式 1:比率 2:固定
  13872. type: integer
  13873. sellchargealgorithm2:
  13874. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  13875. type: integer
  13876. sellchargealgorithmvalue:
  13877. description: 卖方手续费设置值(交易所部分)
  13878. type: number
  13879. sellchargealgorithmvalue2:
  13880. description: 卖方手续费设置值(会员部分)
  13881. type: number
  13882. sellchargealgorithmvalue3:
  13883. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  13884. type: number
  13885. sellchargealgorithmvalue4:
  13886. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  13887. type: number
  13888. sellmarginalgorithm:
  13889. description: 卖方保证金方式 - 1:比率 2:固定
  13890. type: integer
  13891. sellmarginvalue:
  13892. description: 卖方保证金设置值
  13893. type: number
  13894. sellmarginvalue2:
  13895. description: 卖方保证金设置值(无仓单)
  13896. type: number
  13897. sellreleaseratio:
  13898. description: 卖方释放比率[2:分步履约]
  13899. type: number
  13900. updatetime:
  13901. description: 更新时间
  13902. type: string
  13903. type: object
  13904. models.WrOrderDetail:
  13905. properties:
  13906. buyorsell:
  13907. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13908. type: integer
  13909. cancelqty:
  13910. description: 撤销数量
  13911. type: number
  13912. deliverygoodscode:
  13913. description: 品种代码
  13914. type: string
  13915. deliverygoodsid:
  13916. description: 品种ID
  13917. type: integer
  13918. deliverygoodsname:
  13919. description: 品种名称
  13920. type: string
  13921. deliverymonth:
  13922. description: 交收月
  13923. type: string
  13924. enumdicname:
  13925. description: 单位名称
  13926. type: string
  13927. fixedprice:
  13928. description: 固定价格 - [挂牌]
  13929. type: number
  13930. futupricemove:
  13931. description: 期货升贴水
  13932. type: number
  13933. futushow:
  13934. description: 期货合约/升贴水
  13935. type: string
  13936. goodscode:
  13937. description: 期货合约
  13938. type: string
  13939. goodsid:
  13940. description: 期货商品id
  13941. type: integer
  13942. goodsname:
  13943. description: 商品名称
  13944. type: string
  13945. haswr:
  13946. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13947. type: integer
  13948. marketid:
  13949. description: 市场ID
  13950. type: integer
  13951. minivalue:
  13952. description: 现货商品最小变动值
  13953. type: integer
  13954. optioncompare:
  13955. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13956. type: string
  13957. orderqty:
  13958. description: 委托数量
  13959. type: number
  13960. ordertime:
  13961. description: 委托时间(挂牌时间)
  13962. type: string
  13963. pricemove:
  13964. description: 升贴水(浮动价时填写) - [挂牌]
  13965. type: number
  13966. tradedate:
  13967. description: 交易日(yyyyMMdd)
  13968. type: string
  13969. tradeprice:
  13970. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13971. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13972. type: number
  13973. tradeqty:
  13974. description: 成交数量
  13975. type: number
  13976. userid:
  13977. description: 用户ID
  13978. type: integer
  13979. warehouseid:
  13980. description: 仓库ID
  13981. type: integer
  13982. warehousename:
  13983. description: 仓库名称
  13984. type: string
  13985. wrfactortypeid:
  13986. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13987. type: string
  13988. wrfactortypename:
  13989. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13990. type: string
  13991. wrpricetype:
  13992. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13993. type: integer
  13994. wrstandardcode:
  13995. description: 现货商品代码
  13996. type: string
  13997. wrstandardid:
  13998. description: 现货商品ID
  13999. type: integer
  14000. wrstandardname:
  14001. description: 商品名称
  14002. type: string
  14003. wrtradeorderid:
  14004. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14005. type: string
  14006. wrtradeorderstatus:
  14007. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14008. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14009. type: integer
  14010. wrtradetype:
  14011. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14012. type: integer
  14013. wrtypename:
  14014. description: 商品
  14015. type: string
  14016. type: object
  14017. models.WrOrderQuote:
  14018. properties:
  14019. buyprice:
  14020. description: 买价
  14021. type: number
  14022. buypricemove:
  14023. description: 买升贴水(基差)
  14024. type: number
  14025. buyqty:
  14026. description: 买量
  14027. type: number
  14028. deliverygoodscode:
  14029. description: 品种代码
  14030. type: string
  14031. deliverygoodsid:
  14032. description: 品种id
  14033. type: integer
  14034. deliverygoodsname:
  14035. description: 品种名称
  14036. type: string
  14037. deliverymonth:
  14038. description: 交收月
  14039. type: string
  14040. enumdicname:
  14041. description: 单位名称
  14042. type: string
  14043. goodscode:
  14044. description: 商品合约(浮动价列表才有)
  14045. type: string
  14046. goodsid:
  14047. description: 商品id(浮动价列表才有)
  14048. type: integer
  14049. minivalue:
  14050. description: 现货商品最小变动值
  14051. type: integer
  14052. sellprice:
  14053. description: 卖价
  14054. type: number
  14055. sellpricemove:
  14056. description: 卖升贴水(基差)
  14057. type: number
  14058. sellqty:
  14059. description: 卖量
  14060. type: number
  14061. warehousecode:
  14062. description: 仓库代码
  14063. type: string
  14064. warehouseid:
  14065. description: 仓库id
  14066. type: integer
  14067. warehousename:
  14068. description: 仓库名称
  14069. type: string
  14070. wrfactortypeid:
  14071. description: 仓单要素id
  14072. type: string
  14073. wrfactortypename:
  14074. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14075. type: string
  14076. wrgoodsname:
  14077. description: 商品(商品名称+仓库要素名称 拼接)
  14078. type: string
  14079. wrstandardcode:
  14080. description: 商品代码
  14081. type: string
  14082. wrstandardid:
  14083. description: 商品id
  14084. type: integer
  14085. wrstandardname:
  14086. description: 商品名称
  14087. type: string
  14088. type: object
  14089. models.WrOrderQuoteDetail:
  14090. properties:
  14091. buyorsell:
  14092. description: 买卖 - 0:买 1:卖
  14093. type: integer
  14094. delistminqty:
  14095. description: 起摘数量
  14096. type: number
  14097. deliverymonth:
  14098. description: 交收月
  14099. type: string
  14100. enumdicname:
  14101. description: 单位名称
  14102. type: string
  14103. fixedprice:
  14104. description: 买(卖)价
  14105. type: number
  14106. minivalue:
  14107. description: 现货商品最小变动值
  14108. type: integer
  14109. orderqty:
  14110. description: 买(卖)量(=委托量-成交量)
  14111. type: number
  14112. ordertime:
  14113. description: 委托时间
  14114. type: string
  14115. pricemove:
  14116. description: 买(卖)升贴水- 基差
  14117. type: number
  14118. userid:
  14119. description: 购买方(销售方)用户ID
  14120. type: integer
  14121. username:
  14122. description: 购买方(销售方)
  14123. type: string
  14124. wrtradeorderid:
  14125. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14126. type: string
  14127. type: object
  14128. models.WrOutInApply:
  14129. properties:
  14130. applyid:
  14131. description: 申请单id
  14132. type: string
  14133. applystatus:
  14134. description: 申请状态 - 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  14135. type: integer
  14136. applytime:
  14137. description: 申请时间
  14138. type: string
  14139. applytype:
  14140. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14141. type: integer
  14142. deliverygoodscode:
  14143. description: 品种代码
  14144. type: string
  14145. deliverygoodsid:
  14146. description: 品种ID
  14147. type: integer
  14148. deliverygoodsname:
  14149. description: 品种名称
  14150. type: string
  14151. enumdicname:
  14152. description: 单位名称
  14153. type: string
  14154. expresscompany:
  14155. description: 物流公司
  14156. type: string
  14157. expressnum:
  14158. description: 物流单号
  14159. type: string
  14160. minivalue:
  14161. description: 现货商品最小变动值
  14162. type: integer
  14163. optioncompare:
  14164. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14165. type: string
  14166. qty:
  14167. description: 数量
  14168. type: integer
  14169. userid:
  14170. description: 用户id
  14171. type: integer
  14172. warehouseid:
  14173. description: 仓库ID
  14174. type: integer
  14175. warehousename:
  14176. description: 仓库名称
  14177. type: string
  14178. wrfactortypeid:
  14179. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14180. type: string
  14181. wrfactortypename:
  14182. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14183. type: string
  14184. wrstandardcode:
  14185. description: 现货商品代码
  14186. type: string
  14187. wrstandardid:
  14188. description: 现货商品ID
  14189. type: integer
  14190. wrstandardname:
  14191. description: 商品名称
  14192. type: string
  14193. wrtypename:
  14194. description: 商品
  14195. type: string
  14196. type: object
  14197. models.WrPerformancePlan:
  14198. properties:
  14199. amount:
  14200. description: 履约金额(总金额)
  14201. type: number
  14202. buyaccountid:
  14203. description: 买方账号
  14204. type: integer
  14205. buyerfreezeamount:
  14206. description: 履约冻结(买履约)
  14207. type: number
  14208. buyerfreezeamountremain:
  14209. description: 履约冻结剩余(买履约)
  14210. type: number
  14211. buyorsell:
  14212. description: 买卖方向 0-买 1-卖
  14213. type: integer
  14214. buypaidamount:
  14215. description: 买方已冻/已扣金额 (已付金额)
  14216. type: number
  14217. buyusername:
  14218. description: 买方名字
  14219. type: string
  14220. contractid:
  14221. description: 合同ID
  14222. type: integer
  14223. createtime:
  14224. description: 创建时间
  14225. type: string
  14226. creatorid:
  14227. description: 创建人
  14228. type: integer
  14229. curstepdeadline:
  14230. description: 当前步骤到期时间
  14231. type: string
  14232. curstepid:
  14233. description: 当前步骤ID
  14234. type: string
  14235. curstepname:
  14236. description: 当前步骤名称
  14237. type: string
  14238. deliverygoodscode:
  14239. description: 品种代码
  14240. type: string
  14241. deliverygoodsid:
  14242. description: 品种ID
  14243. type: integer
  14244. deliverygoodsname:
  14245. description: 品种名称
  14246. type: string
  14247. enumdicname:
  14248. description: 单位名称
  14249. type: string
  14250. expressfee:
  14251. description: 运费
  14252. type: number
  14253. expressfeeconfirmed:
  14254. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14255. type: integer
  14256. hasovershort:
  14257. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14258. type: integer
  14259. haswr:
  14260. description: 类型 0-仓单预售 1-仓单贸易
  14261. type: integer
  14262. marketid:
  14263. description: 市场ID
  14264. type: integer
  14265. middleaccountid:
  14266. description: 中间商资金账号ID
  14267. type: integer
  14268. middleuserid:
  14269. description: 中间商用户ID
  14270. type: integer
  14271. minivalue:
  14272. description: 现货商品最小变动值
  14273. type: integer
  14274. optioncompare:
  14275. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14276. type: string
  14277. overshortamount:
  14278. description: 溢短金额
  14279. type: number
  14280. overshortqty:
  14281. description: 溢短数量
  14282. type: number
  14283. paymenttype:
  14284. description: 付款方式 - 1:冻结 2:扣款
  14285. type: integer
  14286. performanceplanid:
  14287. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14288. type: string
  14289. performancestatus:
  14290. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14291. 9:超时待处理 10:超时关闭
  14292. type: integer
  14293. performancetype:
  14294. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14295. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14296. type: integer
  14297. qty:
  14298. description: 履约数量
  14299. type: number
  14300. relatedorderid:
  14301. description: 关联单号(履约类型的关联单号)
  14302. type: string
  14303. remark:
  14304. description: 备注
  14305. type: string
  14306. sellaccountid:
  14307. description: 卖方账号
  14308. type: integer
  14309. sellerfreezeamount:
  14310. description: 履约冻结(卖履约)
  14311. type: number
  14312. sellerfreezeamountremain:
  14313. description: 履约冻结剩余(卖履约)
  14314. type: number
  14315. sellreceivedamount:
  14316. description: 卖方已收金额
  14317. type: number
  14318. sellusername:
  14319. description: 卖方名字
  14320. type: string
  14321. shipremark:
  14322. description: 发货备注[物流单号]
  14323. type: string
  14324. starttime:
  14325. description: 开始时间
  14326. type: string
  14327. steptypeid:
  14328. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14329. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14330. type: integer
  14331. unpaidamount:
  14332. description: 剩余款(待支付金额)
  14333. type: number
  14334. userid:
  14335. description: 用户id
  14336. type: integer
  14337. warehouseid:
  14338. description: 仓库ID
  14339. type: integer
  14340. warehousename:
  14341. description: 仓库名称
  14342. type: string
  14343. wrfactortypeid:
  14344. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14345. type: string
  14346. wrfactortypename:
  14347. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14348. type: string
  14349. wrstandardcode:
  14350. description: 现货商品代码
  14351. type: string
  14352. wrstandardid:
  14353. description: 现货商品ID
  14354. type: integer
  14355. wrstandardname:
  14356. description: 商品名称
  14357. type: string
  14358. wrtransferuserid:
  14359. description: 仓单受让用户
  14360. type: integer
  14361. wrtypename:
  14362. description: 商品
  14363. type: string
  14364. required:
  14365. - userid
  14366. type: object
  14367. models.WrPerformancePlanStep:
  14368. properties:
  14369. delaydays:
  14370. description: 延期申请天数
  14371. type: integer
  14372. deliverygoodscode:
  14373. description: 品种代码
  14374. type: string
  14375. deliverygoodsid:
  14376. description: 品种ID
  14377. type: integer
  14378. deliverygoodsname:
  14379. description: 品种名称
  14380. type: string
  14381. endtime:
  14382. description: 结束日期
  14383. type: string
  14384. enumdicname:
  14385. description: 单位名称
  14386. type: string
  14387. executeside:
  14388. description: 步骤执行方 - 1:买方 2:卖方
  14389. type: integer
  14390. handlestatus:
  14391. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14392. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14393. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14394. type: integer
  14395. isauto:
  14396. description: 是否自动 - 0:不自动 1:自动
  14397. type: integer
  14398. islastreceivestep:
  14399. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14400. type: integer
  14401. minivalue:
  14402. description: 现货商品最小变动值
  14403. type: integer
  14404. optioncompare:
  14405. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14406. type: string
  14407. overdays:
  14408. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14409. type: integer
  14410. performancestepid:
  14411. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14412. type: string
  14413. planid:
  14414. description: 所属履约计划ID
  14415. type: string
  14416. realamount:
  14417. description: 实际完成金额
  14418. type: number
  14419. relatedorderid:
  14420. description: 关联单号
  14421. type: string
  14422. remaindays:
  14423. description: 剩余天数
  14424. type: integer
  14425. remark:
  14426. description: 错误备注
  14427. type: string
  14428. starttime:
  14429. description: 开始日期
  14430. type: string
  14431. stepamount:
  14432. description: 步骤金额
  14433. type: number
  14434. stepdays:
  14435. description: 距离上一步天数(分钟)
  14436. type: integer
  14437. stepindex:
  14438. description: 步骤序号
  14439. type: integer
  14440. steplanchtype:
  14441. description: 步骤启动类型 - 1:系统自动 2:手动
  14442. type: integer
  14443. stepremark:
  14444. description: 步骤备注
  14445. type: string
  14446. stepstatus:
  14447. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14448. type: integer
  14449. steptypeid:
  14450. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14451. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14452. type: integer
  14453. steptypename:
  14454. description: 步骤名称
  14455. type: string
  14456. stepvalue:
  14457. description: 步骤值
  14458. type: number
  14459. warehouseid:
  14460. description: 仓库ID
  14461. type: integer
  14462. warehousename:
  14463. description: 仓库名称
  14464. type: string
  14465. wrfactortypeid:
  14466. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14467. type: string
  14468. wrfactortypename:
  14469. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14470. type: string
  14471. wrstandardcode:
  14472. description: 现货商品代码
  14473. type: string
  14474. wrstandardid:
  14475. description: 现货商品ID
  14476. type: integer
  14477. wrstandardname:
  14478. description: 商品名称
  14479. type: string
  14480. wrtypename:
  14481. description: 商品
  14482. type: string
  14483. type: object
  14484. models.WrPosition:
  14485. properties:
  14486. accountid:
  14487. description: 帐户ID
  14488. type: integer
  14489. buyexcuteqty:
  14490. description: 采购履约中数量
  14491. type: number
  14492. creditcurqty:
  14493. description: 授信当前数量(预售仓单:预售当前量)
  14494. type: number
  14495. creditenableqty:
  14496. description: '授信可用数量(预售仓单: 可用数量)'
  14497. type: number
  14498. creditfreezeqty:
  14499. description: '授信冻结数量(预售仓单: 当前数量)'
  14500. type: number
  14501. credittotalqty:
  14502. description: 授信总数量(预售仓单:预售总量)
  14503. type: number
  14504. credittradeqty:
  14505. description: 授信成交数量(预售仓单:成交总量)
  14506. type: number
  14507. deliverygoodscode:
  14508. description: 品种代码
  14509. type: string
  14510. deliverygoodsid:
  14511. description: 品种ID
  14512. type: integer
  14513. deliverygoodsname:
  14514. description: 品种名称
  14515. type: string
  14516. enalbeqty:
  14517. description: 可用数量
  14518. type: number
  14519. enumdicname:
  14520. description: 单位名称
  14521. type: string
  14522. freezeqty:
  14523. description: 总冻结数量
  14524. type: number
  14525. haswr:
  14526. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14527. type: integer
  14528. minivalue:
  14529. description: 现货商品最小变动值
  14530. type: integer
  14531. modifytime:
  14532. description: 修改时间(过户时间)
  14533. type: string
  14534. optioncompare:
  14535. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14536. type: string
  14537. pledgeqty:
  14538. description: 质押数量
  14539. type: number
  14540. querytype:
  14541. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  14542. type: integer
  14543. sellexcuteqty:
  14544. description: 销售履约中数量
  14545. type: number
  14546. totalqty:
  14547. description: 总数量(库存数量)
  14548. type: number
  14549. warehouseid:
  14550. description: 仓库ID
  14551. type: integer
  14552. warehousename:
  14553. description: 仓库名称
  14554. type: string
  14555. wrfactortypeid:
  14556. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14557. type: string
  14558. wrfactortypename:
  14559. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14560. type: string
  14561. wrpositionid:
  14562. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  14563. type: string
  14564. wrpositionno:
  14565. description: 仓单编号
  14566. type: string
  14567. wrstandardcode:
  14568. description: 现货商品代码
  14569. type: string
  14570. wrstandardid:
  14571. description: 现货商品ID
  14572. type: integer
  14573. wrstandardname:
  14574. description: 商品名称
  14575. type: string
  14576. wrtypename:
  14577. description: 商品
  14578. type: string
  14579. wruserid:
  14580. description: 持有人ID
  14581. type: integer
  14582. type: object
  14583. models.WrScfContract:
  14584. properties:
  14585. borroweruserid:
  14586. description: 借款用户ID
  14587. type: integer
  14588. buybackwrpositionqty:
  14589. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  14590. type: number
  14591. closeinterest:
  14592. description: 已结利息 -> 已结费用
  14593. type: number
  14594. currisklevel:
  14595. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14596. type: integer
  14597. deadline:
  14598. description: 截止日期(yyyyMMdd) -> 借款到期时间
  14599. type: string
  14600. deliverygoodscode:
  14601. description: 品种代码
  14602. type: string
  14603. deliverygoodsid:
  14604. description: 品种ID
  14605. type: integer
  14606. deliverygoodsname:
  14607. description: 品种名称
  14608. type: string
  14609. enumdicname:
  14610. description: 单位名称
  14611. type: string
  14612. financingdays:
  14613. description: 天数(天)
  14614. type: integer
  14615. initmargin:
  14616. description: 保证金 - [仓单回购]
  14617. type: number
  14618. interestamount:
  14619. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  14620. type: number
  14621. interestdebt:
  14622. description: 利息欠款(记录负数) -> 费用欠款
  14623. type: number
  14624. interestminlen:
  14625. description: 最小起息天数
  14626. type: integer
  14627. interestrate:
  14628. description: 利率
  14629. type: number
  14630. interestratemode:
  14631. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14632. type: integer
  14633. interestsettlemode:
  14634. description: 结息方式 - 1:按日结息 3:按月结息
  14635. type: integer
  14636. interestsettlevalue:
  14637. description: 结息方式值
  14638. type: integer
  14639. isautoloan:
  14640. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  14641. type: integer
  14642. lastcloseinterestday:
  14643. description: 最近结息日(yyyyMMdd)
  14644. type: string
  14645. lenderamount:
  14646. description: 贷款金额 -> 借款金额
  14647. type: number
  14648. lenderuserid:
  14649. description: 贷款方用户ID -> 融出方用户ID
  14650. type: integer
  14651. lenderusername:
  14652. description: 融出方
  14653. type: string
  14654. marginratio:
  14655. description: 保证金比率质押率 - [仓单质押]
  14656. type: number
  14657. marketid:
  14658. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  14659. type: integer
  14660. minivalue:
  14661. description: 现货商品最小变动值
  14662. type: integer
  14663. optioncompare:
  14664. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14665. type: string
  14666. pricemove:
  14667. description: 估值升贴水值
  14668. type: number
  14669. productdetailid:
  14670. description: 产品组合ID
  14671. type: integer
  14672. productid:
  14673. description: 金融产品ID
  14674. type: integer
  14675. productname:
  14676. description: 产品名称
  14677. type: string
  14678. remainamount:
  14679. description: 合同剩余金额 -> 剩余金额
  14680. type: number
  14681. remainwrpositionqty:
  14682. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  14683. type: number
  14684. remark:
  14685. description: 备注
  14686. type: string
  14687. scfcontractid:
  14688. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14689. type: string
  14690. scfcontractstatus:
  14691. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14692. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14693. type: integer
  14694. scfcontracttype:
  14695. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  14696. type: integer
  14697. startinterestday:
  14698. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  14699. type: string
  14700. totalinterest:
  14701. description: 已计利息 -> 已计费用
  14702. type: number
  14703. unpaidinterest:
  14704. description: 未结费用
  14705. type: number
  14706. updatetime:
  14707. description: 更新时间
  14708. type: string
  14709. warehouseid:
  14710. description: 仓库ID
  14711. type: integer
  14712. warehousename:
  14713. description: 仓库名称
  14714. type: string
  14715. wrfactortypeid:
  14716. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14717. type: string
  14718. wrfactortypename:
  14719. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14720. type: string
  14721. wrqty:
  14722. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  14723. type: number
  14724. wrstandardcode:
  14725. description: 现货商品代码
  14726. type: string
  14727. wrstandardid:
  14728. description: 现货商品ID
  14729. type: integer
  14730. wrstandardname:
  14731. description: 商品名称
  14732. type: string
  14733. wrtypename:
  14734. description: 商品
  14735. type: string
  14736. type: object
  14737. models.WrScfContractInterest:
  14738. properties:
  14739. closeinterest:
  14740. description: 已结利息
  14741. type: number
  14742. closeintereststatus:
  14743. description: 结息状态 - 1:未结 2:已结
  14744. type: integer
  14745. closetime:
  14746. description: 结息时间
  14747. type: string
  14748. closetradedate:
  14749. description: 结息交易日
  14750. type: string
  14751. creatorid:
  14752. description: 操作人ID
  14753. type: integer
  14754. dayrate:
  14755. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  14756. type: number
  14757. interest:
  14758. description: 利息
  14759. type: number
  14760. interestamount:
  14761. description: 计息金额
  14762. type: number
  14763. interestday:
  14764. description: 计息日(yyyyMMdd)
  14765. type: string
  14766. scfcontractid:
  14767. description: SCF合同ID
  14768. type: string
  14769. scfcontractinterestid:
  14770. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  14771. type: integer
  14772. updatetime:
  14773. description: 更新时间
  14774. type: string
  14775. type: object
  14776. models.WrSpecialMatchOrder:
  14777. properties:
  14778. amount:
  14779. description: 金额 = 数量 * 价格
  14780. type: number
  14781. buyorsell:
  14782. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14783. type: integer
  14784. cancelqty:
  14785. description: 撤销数量
  14786. type: number
  14787. deliverygoodscode:
  14788. description: 品种代码
  14789. type: string
  14790. deliverygoodsid:
  14791. description: 品种ID
  14792. type: integer
  14793. deliverygoodsname:
  14794. description: 品种名称
  14795. type: string
  14796. enumdicname:
  14797. description: 单位名称
  14798. type: string
  14799. fixedprice:
  14800. description: 固定价格(价格)
  14801. type: number
  14802. haswr:
  14803. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14804. type: integer
  14805. marketid:
  14806. description: 市场ID
  14807. type: integer
  14808. matchuserid:
  14809. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  14810. type: integer
  14811. matchusername:
  14812. description: 指定方
  14813. type: string
  14814. minivalue:
  14815. description: 现货商品最小变动值
  14816. type: integer
  14817. optioncompare:
  14818. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14819. type: string
  14820. orderqty:
  14821. description: 委托数量
  14822. type: number
  14823. ordertime:
  14824. description: 委托时间
  14825. type: string
  14826. pricemove:
  14827. description: 升贴水(浮动价时填写) - [挂牌]
  14828. type: number
  14829. tradedate:
  14830. description: 交易日(yyyyMMdd)
  14831. type: string
  14832. tradeprice:
  14833. description: 成交价格
  14834. type: number
  14835. tradeqty:
  14836. description: 成交数量
  14837. type: number
  14838. userid:
  14839. description: 用户ID
  14840. type: integer
  14841. username:
  14842. description: 发起方
  14843. type: string
  14844. warehouseid:
  14845. description: 仓库ID
  14846. type: integer
  14847. warehousename:
  14848. description: 仓库名称
  14849. type: string
  14850. wrfactortypeid:
  14851. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14852. type: string
  14853. wrfactortypename:
  14854. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14855. type: string
  14856. wrpricetype:
  14857. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14858. type: integer
  14859. wrstandardcode:
  14860. description: 现货商品代码
  14861. type: string
  14862. wrstandardid:
  14863. description: 现货商品ID
  14864. type: integer
  14865. wrstandardname:
  14866. description: 商品名称
  14867. type: string
  14868. wrtradeorderid:
  14869. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14870. type: string
  14871. wrtradeorderstatus:
  14872. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14873. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14874. type: integer
  14875. wrtradetype:
  14876. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14877. type: integer
  14878. wrtypename:
  14879. description: 商品
  14880. type: string
  14881. type: object
  14882. models.WrStandardFactoryItem:
  14883. properties:
  14884. dgfactoryitemid:
  14885. description: 选择项id
  14886. type: integer
  14887. dgfactoryitemvalue:
  14888. description: 要素项值
  14889. type: string
  14890. warehouseid:
  14891. description: 仓库id
  14892. type: integer
  14893. type: object
  14894. models.WrStandardFactoryItemEx:
  14895. properties:
  14896. dgfactoryitemtypeid:
  14897. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  14898. type: integer
  14899. itemlst:
  14900. description: 要素项列表
  14901. items:
  14902. $ref: '#/definitions/models.WrStandardFactoryItem'
  14903. type: array
  14904. itemtypename:
  14905. description: 要素项类型名称
  14906. type: string
  14907. wrstandardid:
  14908. description: 品类
  14909. type: integer
  14910. type: object
  14911. models.WrTradeDetail:
  14912. properties:
  14913. accountid:
  14914. description: 资金账号
  14915. type: integer
  14916. buyorsell:
  14917. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14918. type: integer
  14919. deliverygoodscode:
  14920. description: 品种代码
  14921. type: string
  14922. deliverygoodsid:
  14923. description: 品种ID
  14924. type: integer
  14925. deliverygoodsname:
  14926. description: 品种名称
  14927. type: string
  14928. deliverymonth:
  14929. description: 交收月
  14930. type: string
  14931. enumdicname:
  14932. description: 单位名称
  14933. type: string
  14934. haswr:
  14935. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14936. type: integer
  14937. marketid:
  14938. description: 市场ID
  14939. type: integer
  14940. matchaccountid:
  14941. description: 对手账号
  14942. type: integer
  14943. matchusername:
  14944. description: 对手方
  14945. type: string
  14946. minivalue:
  14947. description: 现货商品最小变动值
  14948. type: integer
  14949. optioncompare:
  14950. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14951. type: string
  14952. tradedate:
  14953. description: 交易日(yyyyMMdd)
  14954. type: string
  14955. tradeprice:
  14956. description: 成交价格
  14957. type: number
  14958. tradeqty:
  14959. description: 成交数量
  14960. type: number
  14961. tradetime:
  14962. description: 成交时间
  14963. type: string
  14964. userid:
  14965. description: 用户ID
  14966. type: integer
  14967. warehouseid:
  14968. description: 仓库ID
  14969. type: integer
  14970. warehousename:
  14971. description: 仓库名称
  14972. type: string
  14973. wrfactortypeid:
  14974. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14975. type: string
  14976. wrfactortypename:
  14977. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14978. type: string
  14979. wrstandardcode:
  14980. description: 现货商品代码
  14981. type: string
  14982. wrstandardid:
  14983. description: 现货商品ID
  14984. type: integer
  14985. wrstandardname:
  14986. description: 商品名称
  14987. type: string
  14988. wrtradedetailid:
  14989. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  14990. type: string
  14991. wrtradetype:
  14992. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14993. type: integer
  14994. wrtypename:
  14995. description: 商品
  14996. type: string
  14997. type: object
  14998. models.WrTypeItem:
  14999. properties:
  15000. name:
  15001. description: 名称
  15002. type: string
  15003. value:
  15004. description: 值
  15005. type: string
  15006. type: object
  15007. order.QueryHisTradeDetailRsp:
  15008. properties:
  15009. accountid:
  15010. description: 账户ID[报价币种]
  15011. type: integer
  15012. advanceratio:
  15013. description: 首付比率
  15014. type: number
  15015. buildtype:
  15016. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15017. type: integer
  15018. buyorsell:
  15019. description: 方向 - 0:买 1:卖
  15020. type: integer
  15021. charge:
  15022. description: 手续费
  15023. type: number
  15024. closecharge:
  15025. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15026. type: number
  15027. closeexchagechargevalue:
  15028. description: 平仓交易所手续费设置值
  15029. type: number
  15030. closefeealgorithm:
  15031. description: 平仓手续费收取方式 1:比率 2:固定
  15032. type: integer
  15033. closememberchargevalue:
  15034. description: 平仓会员手续费设置值
  15035. type: number
  15036. closepl:
  15037. description: 平仓盈亏
  15038. type: number
  15039. closepl2:
  15040. description: 平仓盈亏[逐笔]
  15041. type: number
  15042. closeqty:
  15043. description: 平仓数量(先建后平操作 需要记录)
  15044. type: number
  15045. creditamount:
  15046. description: 授信金额
  15047. type: number
  15048. decimalplace:
  15049. description: 商品报价小数位
  15050. type: integer
  15051. enumdicname:
  15052. description: 单位名称
  15053. type: string
  15054. gcaccountid:
  15055. description: 账户ID[合约币种]
  15056. type: integer
  15057. goodscode:
  15058. description: 商品代码
  15059. type: string
  15060. goodsid:
  15061. description: 商品ID
  15062. type: integer
  15063. goodsname:
  15064. description: 商品名称
  15065. type: string
  15066. goodunitid:
  15067. description: 商品单位id
  15068. type: integer
  15069. histradedate:
  15070. description: 历史交易日
  15071. type: string
  15072. intclosepl:
  15073. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15074. type: integer
  15075. isconfirmexercise:
  15076. description: 是否确认行权- 0:否 1:是
  15077. type: integer
  15078. ismain:
  15079. description: 是否主单 - 0:不是 1:是
  15080. type: integer
  15081. ispreexercise:
  15082. description: 是否预申报- 0:否 1:是
  15083. type: integer
  15084. isreckoned:
  15085. description: 是否结算 - 0:未结算 1:已结算
  15086. type: integer
  15087. isvaliddata:
  15088. description: 是否有效 - 0:无效 1:有效
  15089. type: integer
  15090. listingselecttype:
  15091. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15092. type: integer
  15093. marketid:
  15094. description: 市场ID
  15095. type: integer
  15096. marketname:
  15097. description: 市场名称
  15098. type: string
  15099. matchaccountid:
  15100. description: 对手账号id
  15101. type: integer
  15102. memberuserid:
  15103. description: 会员id 个人投资者 需要填写
  15104. type: integer
  15105. opencharge:
  15106. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15107. type: number
  15108. openexchagechargevalue:
  15109. description: 建仓交易所手续费设置值
  15110. type: number
  15111. openfeealgorithm:
  15112. description: 建仓手续费收取方式 1:比率 2:固定
  15113. type: integer
  15114. openmemberchargevalue:
  15115. description: 建仓会员手续费设置值
  15116. type: number
  15117. openqty:
  15118. description: 开仓数量(先建后平操作 需要记录)
  15119. type: number
  15120. optiontype:
  15121. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15122. type: integer
  15123. orderid:
  15124. description: 委托单号
  15125. type: string
  15126. payamount:
  15127. description: 支付金额(付款金额)
  15128. type: number
  15129. performanceplanid:
  15130. description: 履约计划ID[期权]
  15131. type: integer
  15132. performancestatus:
  15133. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15134. type: integer
  15135. preexerciseprice:
  15136. description: 预申报价格
  15137. type: number
  15138. premium:
  15139. description: 权利金 - [持仓单的权利金]
  15140. type: number
  15141. qtydecimalplace:
  15142. description: 商品报价小数位
  15143. type: integer
  15144. recvamount:
  15145. description: 到账金额 = 成交金额 - 手续费
  15146. type: number
  15147. relatedouttradeid:
  15148. description: 关联外部成交单ID
  15149. type: integer
  15150. status:
  15151. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15152. type: integer
  15153. totalamount:
  15154. description: 订单总额 = 成交金额 + 手续费
  15155. type: number
  15156. tradeamount:
  15157. description: 成交金额[账户币种,用于所有权]
  15158. type: number
  15159. tradedate:
  15160. description: 交易日(yyyyMMdd)
  15161. type: string
  15162. tradeid:
  15163. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15164. type: string
  15165. trademode:
  15166. description: 交易模式
  15167. type: integer
  15168. tradeprice:
  15169. description: 成交价格
  15170. type: number
  15171. tradeproperty:
  15172. description: 交易属性
  15173. type: integer
  15174. tradeqty:
  15175. description: 成交数量
  15176. type: number
  15177. tradetime:
  15178. description: 成交时间
  15179. type: string
  15180. tradetype:
  15181. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15182. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15183. type: integer
  15184. required:
  15185. - accountid
  15186. - buyorsell
  15187. - goodsid
  15188. - histradedate
  15189. - marketid
  15190. - memberuserid
  15191. - orderid
  15192. - tradeamount
  15193. - tradedate
  15194. - tradeid
  15195. - tradeprice
  15196. - tradeqty
  15197. - tradetime
  15198. type: object
  15199. order.QueryHisTradeOrderDetailRsp:
  15200. properties:
  15201. accountid:
  15202. description: 账户ID[报价币种]
  15203. type: integer
  15204. buildtype:
  15205. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15206. type: integer
  15207. buyorsell:
  15208. description: 买卖 - 0:买 1:卖
  15209. type: integer
  15210. cancelorderid:
  15211. description: 撤单单号(撤单时填写)
  15212. type: string
  15213. cancelqty:
  15214. description: 撤单数量
  15215. type: number
  15216. clientordertime:
  15217. description: 客户端委托时间
  15218. type: string
  15219. clientticket:
  15220. description: 客户端流水号
  15221. type: string
  15222. clienttype:
  15223. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15224. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15225. type: integer
  15226. closeexchagechargevalue:
  15227. description: 平仓交易所手续费设置值
  15228. type: number
  15229. closefeealgorithm:
  15230. description: 平仓手续费收取方式 1:比率 2:固定
  15231. type: integer
  15232. closefreezecharge:
  15233. description: 平仓冻结手续费(先建后平操作,需要记录)
  15234. type: number
  15235. closememberchargevalue:
  15236. description: 平仓会员手续费设置值
  15237. type: number
  15238. closeqty:
  15239. description: 平仓数量(先建后平操作 需要记录)
  15240. type: number
  15241. closetradeqty:
  15242. description: 平仓成交数量(先建后平操作,需要记录)
  15243. type: number
  15244. closeunfreezecharge:
  15245. description: 平仓解冻手续费(先建后平操作,需要记录)
  15246. type: number
  15247. decimalplace:
  15248. description: 商品报价小数位
  15249. type: integer
  15250. delistingtype:
  15251. description: 摘牌类型 - 1:价格最优 2:点选成交
  15252. type: integer
  15253. enumdicname:
  15254. description: 单位名称
  15255. type: string
  15256. freezecharge:
  15257. description: 冻结手续费
  15258. type: number
  15259. freezemargin:
  15260. description: 冻结保证金(冻结交易金额)
  15261. type: number
  15262. gcaccountid:
  15263. description: 账户ID[合约币种]
  15264. type: integer
  15265. goodscode:
  15266. description: 商品代码
  15267. type: string
  15268. goodsid:
  15269. description: 商品ID
  15270. type: integer
  15271. goodsname:
  15272. description: 商品名称
  15273. type: string
  15274. goodunitid:
  15275. description: 商品单位id
  15276. type: integer
  15277. histradedate:
  15278. description: 历史交易日
  15279. type: string
  15280. isconfirmexercise:
  15281. description: 是否确认行权- 0:否 1:是
  15282. type: integer
  15283. ispreexercise:
  15284. description: 是否预申报- 0:否 1:是
  15285. type: integer
  15286. isvaliddata:
  15287. description: 是否有效 - 0:无效 1:有效
  15288. type: integer
  15289. listingselecttype:
  15290. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15291. type: integer
  15292. marginalgorithm:
  15293. description: 保证金收取方式 1:比率 2:固定
  15294. type: integer
  15295. marginvalue:
  15296. description: 即市保证金设置值
  15297. type: number
  15298. marketid:
  15299. description: 市场ID
  15300. type: integer
  15301. marketmaxsub:
  15302. description: 市价最大偏移范围
  15303. type: number
  15304. marketname:
  15305. description: 市场名称
  15306. type: string
  15307. memberuserid:
  15308. description: 所属会员UserID
  15309. type: integer
  15310. openexchagechargevalue:
  15311. description: 建仓交易所手续费设置值
  15312. type: number
  15313. openfeealgorithm:
  15314. description: 建仓手续费收取方式 1:比率 2:固定
  15315. type: integer
  15316. openfreezecharge:
  15317. description: 开仓冻结手续费(先建后平操作,需要记录)
  15318. type: number
  15319. openmemberchargevalue:
  15320. description: 建仓会员手续费设置值
  15321. type: number
  15322. openqty:
  15323. description: 开仓数量(先建后平操作,需要记录)
  15324. type: number
  15325. opentradeqty:
  15326. description: 开仓成交数量(先建后平操作,需要记录)
  15327. type: number
  15328. openunfreezecharge:
  15329. description: 开仓解冻手续费(先建后平操作,需要记录)
  15330. type: number
  15331. operatetype:
  15332. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15333. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15334. 15:管理端协议转让
  15335. type: integer
  15336. operatorid:
  15337. description: 登录账号(LoginID)
  15338. type: integer
  15339. optiontype:
  15340. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15341. type: integer
  15342. orderid:
  15343. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15344. type: string
  15345. orderprice:
  15346. description: 委托价格
  15347. type: number
  15348. orderqty:
  15349. description: 委托数量
  15350. type: number
  15351. ordersrc:
  15352. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15353. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15354. type: integer
  15355. orderstatus:
  15356. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15357. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15358. 16:成交失败违约(荷兰式竞拍专用)
  15359. type: integer
  15360. ordertime:
  15361. description: 委托时间
  15362. type: string
  15363. preexerciseprice:
  15364. description: 预申报价格
  15365. type: number
  15366. premium:
  15367. description: 权利金
  15368. type: number
  15369. preorderid:
  15370. description: 关联预埋单号(止盈止损单时填写)
  15371. type: string
  15372. pricemode:
  15373. description: '取价方式 - 1:市价 2: 限价'
  15374. type: integer
  15375. qtydecimalplace:
  15376. description: 成交量小数位
  15377. type: integer
  15378. quoteid:
  15379. description: 报价单ID
  15380. type: integer
  15381. relatedid:
  15382. description: 关联单号(交割单)
  15383. type: string
  15384. retcode:
  15385. description: 错误代码
  15386. type: integer
  15387. sessionid:
  15388. description: 会话ID
  15389. type: integer
  15390. tradedate:
  15391. description: 交易日(yyyyMMdd)
  15392. type: string
  15393. trademode:
  15394. description: 交易模式
  15395. type: integer
  15396. tradeproperty:
  15397. description: 交易属性
  15398. type: integer
  15399. tradeqty:
  15400. description: 成交数量
  15401. type: number
  15402. unfreezecharge:
  15403. description: 解冻手续费
  15404. type: number
  15405. unfreezemargin:
  15406. description: 解冻保证金
  15407. type: number
  15408. updatetime:
  15409. description: 更新时间
  15410. type: string
  15411. uuid:
  15412. description: 发起端唯一id
  15413. type: string
  15414. validtime:
  15415. description: 有效期限
  15416. type: string
  15417. validtype:
  15418. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15419. type: integer
  15420. volumetype:
  15421. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15422. type: integer
  15423. required:
  15424. - accountid
  15425. - buildtype
  15426. - buyorsell
  15427. - goodsid
  15428. - histradedate
  15429. - marketid
  15430. - memberuserid
  15431. - operatetype
  15432. - orderid
  15433. - orderqty
  15434. - ordertime
  15435. - pricemode
  15436. - tradedate
  15437. - validtype
  15438. type: object
  15439. order.QueryTradeDetailRsp:
  15440. properties:
  15441. accountid:
  15442. description: 账户ID[报价币种]
  15443. type: integer
  15444. advanceratio:
  15445. description: 首付比率
  15446. type: number
  15447. buildtype:
  15448. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15449. type: integer
  15450. buyorsell:
  15451. description: 方向 - 0:买 1:卖
  15452. type: integer
  15453. charge:
  15454. description: 手续费
  15455. type: number
  15456. closecharge:
  15457. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15458. type: number
  15459. closeexchagechargevalue:
  15460. description: 平仓交易所手续费设置值
  15461. type: number
  15462. closefeealgorithm:
  15463. description: 平仓手续费收取方式 1:比率 2:固定
  15464. type: integer
  15465. closememberchargevalue:
  15466. description: 平仓会员手续费设置值
  15467. type: number
  15468. closepl:
  15469. description: 平仓盈亏
  15470. type: number
  15471. closepl2:
  15472. description: 平仓盈亏[逐笔]
  15473. type: number
  15474. closeqty:
  15475. description: 平仓数量(先建后平操作 需要记录)
  15476. type: number
  15477. creditamount:
  15478. description: 授信金额
  15479. type: number
  15480. decimalplace:
  15481. description: 商品报价小数位
  15482. type: integer
  15483. enumdicname:
  15484. description: 单位名称
  15485. type: string
  15486. gcaccountid:
  15487. description: 账户ID[合约币种]
  15488. type: integer
  15489. goodscode:
  15490. description: 商品代码
  15491. type: string
  15492. goodsid:
  15493. description: 商品ID
  15494. type: integer
  15495. goodsname:
  15496. description: 商品名称
  15497. type: string
  15498. goodunitid:
  15499. description: 商品单位id
  15500. type: integer
  15501. intclosepl:
  15502. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15503. type: integer
  15504. isconfirmexercise:
  15505. description: 是否确认行权- 0:否 1:是
  15506. type: integer
  15507. ismain:
  15508. description: 是否主单 - 0:不是 1:是
  15509. type: integer
  15510. ispreexercise:
  15511. description: 是否预申报- 0:否 1:是
  15512. type: integer
  15513. isreckoned:
  15514. description: 是否结算 - 0:未结算 1:已结算
  15515. type: integer
  15516. listingselecttype:
  15517. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15518. type: integer
  15519. marketid:
  15520. description: 市场ID
  15521. type: integer
  15522. marketname:
  15523. description: 市场名称
  15524. type: string
  15525. matchaccountid:
  15526. description: 对手账号id
  15527. type: integer
  15528. memberuserid:
  15529. description: 会员id 个人投资者 需要填写
  15530. type: integer
  15531. opencharge:
  15532. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15533. type: number
  15534. openexchagechargevalue:
  15535. description: 建仓交易所手续费设置值
  15536. type: number
  15537. openfeealgorithm:
  15538. description: 建仓手续费收取方式 1:比率 2:固定
  15539. type: integer
  15540. openmemberchargevalue:
  15541. description: 建仓会员手续费设置值
  15542. type: number
  15543. openqty:
  15544. description: 开仓数量(先建后平操作 需要记录)
  15545. type: number
  15546. optiontype:
  15547. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15548. type: integer
  15549. orderid:
  15550. description: 委托单号
  15551. type: string
  15552. payamount:
  15553. description: 支付金额(付款金额)
  15554. type: number
  15555. performanceplanid:
  15556. description: 履约计划ID[期权]
  15557. type: integer
  15558. performancestatus:
  15559. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15560. type: integer
  15561. preexerciseprice:
  15562. description: 预申报价格
  15563. type: number
  15564. premium:
  15565. description: 权利金 - [持仓单的权利金]
  15566. type: number
  15567. qtydecimalplace:
  15568. description: 商品报价小数位
  15569. type: integer
  15570. recvamount:
  15571. description: 到账金额 = 成交金额 - 手续费
  15572. type: number
  15573. relatedouttradeid:
  15574. description: 关联外部成交单ID
  15575. type: integer
  15576. status:
  15577. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15578. type: integer
  15579. totalamount:
  15580. description: 订单总额 = 成交金额 + 手续费
  15581. type: number
  15582. tradeamount:
  15583. description: 成交金额[账户币种,用于所有权]
  15584. type: number
  15585. tradedate:
  15586. description: 交易日(yyyyMMdd)
  15587. type: string
  15588. tradeid:
  15589. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15590. type: string
  15591. trademode:
  15592. description: 交易模式
  15593. type: integer
  15594. tradeprice:
  15595. description: 成交价格
  15596. type: number
  15597. tradeproperty:
  15598. description: 交易属性
  15599. type: integer
  15600. tradeqty:
  15601. description: 成交数量
  15602. type: number
  15603. tradetime:
  15604. description: 成交时间
  15605. type: string
  15606. tradetype:
  15607. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15608. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15609. type: integer
  15610. required:
  15611. - accountid
  15612. - buyorsell
  15613. - goodsid
  15614. - marketid
  15615. - memberuserid
  15616. - orderid
  15617. - tradeamount
  15618. - tradedate
  15619. - tradeid
  15620. - tradeprice
  15621. - tradeqty
  15622. - tradetime
  15623. type: object
  15624. order.QueryTradeOrderDetailRsp:
  15625. properties:
  15626. accountid:
  15627. description: 账户ID[报价币种]
  15628. type: integer
  15629. buildtype:
  15630. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15631. type: integer
  15632. buyorsell:
  15633. description: 买卖 - 0:买 1:卖
  15634. type: integer
  15635. cancelorderid:
  15636. description: 撤单单号(撤单时填写)
  15637. type: string
  15638. cancelqty:
  15639. description: 撤单数量
  15640. type: number
  15641. clienttype:
  15642. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15643. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15644. type: integer
  15645. closefreezecharge:
  15646. description: 平仓冻结手续费(先建后平操作,需要记录)
  15647. type: number
  15648. closeqty:
  15649. description: 平仓数量(先建后平操作 需要记录)
  15650. type: number
  15651. closetradeqty:
  15652. description: 平仓成交数量(先建后平操作,需要记录)
  15653. type: number
  15654. closeunfreezecharge:
  15655. description: 平仓解冻手续费(先建后平操作,需要记录)
  15656. type: number
  15657. decimalplace:
  15658. description: 商品报价小数位
  15659. type: integer
  15660. delistingtype:
  15661. description: 摘牌类型 - 1:价格最优 2:点选成交
  15662. type: integer
  15663. enableqty:
  15664. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  15665. type: number
  15666. enumdicname:
  15667. description: 单位名称
  15668. type: string
  15669. freezecharge:
  15670. description: 冻结手续费
  15671. type: number
  15672. freezemargin:
  15673. description: 冻结保证金(冻结交易金额)
  15674. type: number
  15675. goodscode:
  15676. description: 商品代码
  15677. type: string
  15678. goodsid:
  15679. description: 商品ID
  15680. type: integer
  15681. goodsname:
  15682. description: 商品名称
  15683. type: string
  15684. goodunitid:
  15685. description: 商品单位id
  15686. type: integer
  15687. listingselecttype:
  15688. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15689. type: integer
  15690. marketid:
  15691. description: 市场ID
  15692. type: integer
  15693. marketname:
  15694. description: 市场名称
  15695. type: string
  15696. openfreezecharge:
  15697. description: 开仓冻结手续费(先建后平操作,需要记录)
  15698. type: number
  15699. openqty:
  15700. description: 开仓数量(先建后平操作,需要记录)
  15701. type: number
  15702. opentradeqty:
  15703. description: 开仓成交数量(先建后平操作,需要记录)
  15704. type: number
  15705. openunfreezecharge:
  15706. description: 开仓解冻手续费(先建后平操作,需要记录)
  15707. type: number
  15708. operatetype:
  15709. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15710. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15711. 15:管理端协议转让
  15712. type: integer
  15713. operatorid:
  15714. description: 登录账号(LoginID)
  15715. type: integer
  15716. orderid:
  15717. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15718. type: string
  15719. orderprice:
  15720. description: 委托价格
  15721. type: number
  15722. orderqty:
  15723. description: 委托数量
  15724. type: number
  15725. ordersrc:
  15726. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15727. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15728. type: integer
  15729. orderstatus:
  15730. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15731. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15732. 16:成交失败违约(荷兰式竞拍专用)
  15733. type: integer
  15734. ordertime:
  15735. description: 委托时间
  15736. type: string
  15737. preorderid:
  15738. description: 关联预埋单号(止盈止损单时填写)
  15739. type: string
  15740. pricemode:
  15741. description: '取价方式 - 1:市价 2: 限价'
  15742. type: integer
  15743. qtydecimalplace:
  15744. description: 商品报价小数位
  15745. type: integer
  15746. relatedid:
  15747. description: 关联单号(交割单)
  15748. type: string
  15749. tradedate:
  15750. description: 交易日(yyyyMMdd)
  15751. type: string
  15752. trademode:
  15753. description: 交易模式
  15754. type: integer
  15755. tradeqty:
  15756. description: 成交数量
  15757. type: number
  15758. unfreezecharge:
  15759. description: 解冻手续费
  15760. type: number
  15761. unfreezemargin:
  15762. description: 解冻保证金
  15763. type: number
  15764. validtime:
  15765. description: 有效期限
  15766. type: string
  15767. validtype:
  15768. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15769. type: integer
  15770. volumetype:
  15771. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15772. type: integer
  15773. required:
  15774. - accountid
  15775. - buildtype
  15776. - buyorsell
  15777. - goodsid
  15778. - marketid
  15779. - operatetype
  15780. - orderqty
  15781. - ordertime
  15782. - pricemode
  15783. - tradedate
  15784. - validtype
  15785. type: object
  15786. order.QueryTradePositionRsp:
  15787. properties:
  15788. accountid:
  15789. description: 资金账户
  15790. type: integer
  15791. agreeunit:
  15792. description: 合约单位
  15793. type: number
  15794. averageprice:
  15795. description: 持仓均价
  15796. type: number
  15797. buyorsell:
  15798. description: 方向 - 0:买 1:卖
  15799. type: integer
  15800. closetotalqty:
  15801. description: 平仓总数量
  15802. type: number
  15803. curholderamount:
  15804. description: 当前持仓总金额[商品币种]
  15805. type: number
  15806. curpositionqty:
  15807. description: 当前持仓总数量
  15808. type: number
  15809. currencyid:
  15810. description: 报价货币ID
  15811. type: integer
  15812. curtdposition:
  15813. description: 期末今日头寸
  15814. type: number
  15815. decimalplace:
  15816. description: 报价小数位
  15817. type: integer
  15818. enableqty:
  15819. description: 可用量
  15820. type: number
  15821. fretdposition:
  15822. description: 冻结今日头寸
  15823. type: number
  15824. frozenqty:
  15825. description: 持仓冻结数量
  15826. type: number
  15827. goodscode:
  15828. description: 商品代码
  15829. type: string
  15830. goodsid:
  15831. description: 商品Id
  15832. type: integer
  15833. goodsname:
  15834. description: 商品名称
  15835. type: string
  15836. goodunit:
  15837. description: 报价单位
  15838. type: string
  15839. goodunitid:
  15840. description: 报价单位ID
  15841. type: integer
  15842. holderamount:
  15843. description: 期初持仓总金额[商品币种]
  15844. type: number
  15845. lastprice:
  15846. description: 最新价
  15847. type: number
  15848. marketamount:
  15849. description: 市值
  15850. type: number
  15851. marketid:
  15852. description: 所属市场ID
  15853. type: integer
  15854. openreqqty:
  15855. description: 开仓申请数量(用于比较最大持仓数量)
  15856. type: number
  15857. opentotalqty:
  15858. description: 开仓总数量
  15859. type: number
  15860. otherfrozenqty:
  15861. description: 持仓其他冻结数量(交割冻结)
  15862. type: number
  15863. positionpl:
  15864. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  15865. * 合约单位
  15866. type: number
  15867. positionplrate:
  15868. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  15869. type: number
  15870. positionqty:
  15871. description: 期初持仓数量
  15872. type: number
  15873. qtydecimalplace:
  15874. description: 成交量小数位
  15875. type: integer
  15876. tnqty:
  15877. description: T+N冻结总量
  15878. type: number
  15879. tnusedqty:
  15880. description: T+N使用量(可以使用T+N的冻结数量)
  15881. type: number
  15882. trademode:
  15883. description: 交易模式
  15884. type: integer
  15885. usedmargin:
  15886. description: 占用保证金[商品币种]
  15887. type: number
  15888. required:
  15889. - goodsid
  15890. type: object
  15891. quote.HistoryData:
  15892. properties:
  15893. c:
  15894. description: 收盘价
  15895. type: number
  15896. f:
  15897. description: 是否补充数据
  15898. type: boolean
  15899. h:
  15900. description: 最高价
  15901. type: number
  15902. hv:
  15903. description: 持仓量
  15904. type: integer
  15905. l:
  15906. description: 最低价
  15907. type: number
  15908. o:
  15909. description: 开盘价
  15910. type: number
  15911. s:
  15912. description: 结算价,日线周期(包括)以上才有
  15913. type: number
  15914. ts:
  15915. description: 时间
  15916. type: string
  15917. tt:
  15918. description: 总金额
  15919. type: number
  15920. tv:
  15921. description: 总量
  15922. type: integer
  15923. type: object
  15924. quote.HistoryTikData:
  15925. properties:
  15926. AV:
  15927. description: 卖量
  15928. type: integer
  15929. Ask:
  15930. description: 卖价
  15931. type: number
  15932. BV:
  15933. description: 买量
  15934. type: integer
  15935. Bid:
  15936. description: 买价
  15937. type: number
  15938. HI:
  15939. description: 单笔持仓
  15940. type: integer
  15941. HV:
  15942. description: 持仓量
  15943. type: integer
  15944. PE:
  15945. description: 现价
  15946. type: number
  15947. TDR:
  15948. description: 交易方向,0:买 1:卖
  15949. type: integer
  15950. TK:
  15951. description: 交易类型
  15952. type: integer
  15953. TS:
  15954. description: 行情时间文本
  15955. type: string
  15956. TT:
  15957. description: 现金额
  15958. type: number
  15959. Vol:
  15960. description: 现量
  15961. type: integer
  15962. type: object
  15963. quote.QueryQuoteDayRsp:
  15964. properties:
  15965. ask:
  15966. description: 卖1
  15967. type: number
  15968. ask2:
  15969. description: 卖2
  15970. type: number
  15971. ask3:
  15972. description: 卖3
  15973. type: number
  15974. ask4:
  15975. description: 卖4
  15976. type: number
  15977. ask5:
  15978. description: 卖5
  15979. type: number
  15980. ask6:
  15981. description: 卖6
  15982. type: number
  15983. ask7:
  15984. description: 卖7
  15985. type: number
  15986. ask8:
  15987. description: 卖8
  15988. type: number
  15989. ask9:
  15990. description: 卖9
  15991. type: number
  15992. ask10:
  15993. description: 卖10
  15994. type: number
  15995. askorderid:
  15996. description: 卖单号1
  15997. type: integer
  15998. askorderid2:
  15999. description: 卖单号2
  16000. type: integer
  16001. askorderid3:
  16002. description: 卖单号3
  16003. type: integer
  16004. askorderid4:
  16005. description: 卖单号4
  16006. type: integer
  16007. askorderid5:
  16008. description: 卖单号5
  16009. type: integer
  16010. askordervolume:
  16011. description: 卖单量1
  16012. type: integer
  16013. askordervolume2:
  16014. description: 卖单量2
  16015. type: integer
  16016. askordervolume3:
  16017. description: 卖单量3
  16018. type: integer
  16019. askordervolume4:
  16020. description: 卖单量4
  16021. type: integer
  16022. askordervolume5:
  16023. description: 卖单量5
  16024. type: integer
  16025. askordervolume6:
  16026. description: 卖单量6
  16027. type: integer
  16028. askordervolume7:
  16029. description: 卖单量7
  16030. type: integer
  16031. askordervolume8:
  16032. description: 卖单量8
  16033. type: integer
  16034. askordervolume9:
  16035. description: 卖单量9
  16036. type: integer
  16037. askordervolume10:
  16038. description: 卖单量10
  16039. type: integer
  16040. askqueueinfo:
  16041. description: 大利市卖港股用
  16042. type: string
  16043. askvolume:
  16044. description: 卖量1
  16045. type: integer
  16046. askvolume2:
  16047. description: 卖量2
  16048. type: integer
  16049. askvolume3:
  16050. description: 卖量3
  16051. type: integer
  16052. askvolume4:
  16053. description: 卖量4
  16054. type: integer
  16055. askvolume5:
  16056. description: 卖量5
  16057. type: integer
  16058. askvolume6:
  16059. description: 卖量6
  16060. type: integer
  16061. askvolume7:
  16062. description: 卖量7
  16063. type: integer
  16064. askvolume8:
  16065. description: 卖量8
  16066. type: integer
  16067. askvolume9:
  16068. description: 卖量9
  16069. type: integer
  16070. askvolume10:
  16071. description: 卖量10
  16072. type: integer
  16073. averageprice:
  16074. description: 均价
  16075. type: number
  16076. bid:
  16077. description: 买1
  16078. type: number
  16079. bid2:
  16080. description: 买2
  16081. type: number
  16082. bid3:
  16083. description: 买3
  16084. type: number
  16085. bid4:
  16086. description: 买4
  16087. type: number
  16088. bid5:
  16089. description: 买5
  16090. type: number
  16091. bid6:
  16092. description: 买6
  16093. type: number
  16094. bid7:
  16095. description: 买7
  16096. type: number
  16097. bid8:
  16098. description: 买8
  16099. type: number
  16100. bid9:
  16101. description: 买9
  16102. type: number
  16103. bid10:
  16104. description: 买10
  16105. type: number
  16106. bidorderid:
  16107. description: 买单号1
  16108. type: integer
  16109. bidorderid2:
  16110. description: 买单号2
  16111. type: integer
  16112. bidorderid3:
  16113. description: 买单号3
  16114. type: integer
  16115. bidorderid4:
  16116. description: 买单号4
  16117. type: integer
  16118. bidorderid5:
  16119. description: 买单号5
  16120. type: integer
  16121. bidordervolume:
  16122. description: 买单量1
  16123. type: integer
  16124. bidordervolume2:
  16125. description: 买单量2
  16126. type: integer
  16127. bidordervolume3:
  16128. description: 买单量3
  16129. type: integer
  16130. bidordervolume4:
  16131. description: 买单量4
  16132. type: integer
  16133. bidordervolume5:
  16134. description: 买单量5
  16135. type: integer
  16136. bidordervolume6:
  16137. description: 买单量6
  16138. type: integer
  16139. bidordervolume7:
  16140. description: 买单量7
  16141. type: integer
  16142. bidordervolume8:
  16143. description: 买单量8
  16144. type: integer
  16145. bidordervolume9:
  16146. description: 买单量9
  16147. type: integer
  16148. bidordervolume10:
  16149. description: 买单量10
  16150. type: integer
  16151. bidqueueinfo:
  16152. description: 大利市买港股用
  16153. type: string
  16154. bidvolume:
  16155. description: 买量1
  16156. type: integer
  16157. bidvolume2:
  16158. description: 买量2
  16159. type: integer
  16160. bidvolume3:
  16161. description: 买量3
  16162. type: integer
  16163. bidvolume4:
  16164. description: 买量4
  16165. type: integer
  16166. bidvolume5:
  16167. description: 买量5
  16168. type: integer
  16169. bidvolume6:
  16170. description: 买量6
  16171. type: integer
  16172. bidvolume7:
  16173. description: 买量7
  16174. type: integer
  16175. bidvolume8:
  16176. description: 买量8
  16177. type: integer
  16178. bidvolume9:
  16179. description: 买量9
  16180. type: integer
  16181. bidvolume10:
  16182. description: 买量10
  16183. type: integer
  16184. calloptionpremiums:
  16185. description: 认购期权1
  16186. type: integer
  16187. calloptionpremiums2:
  16188. description: 认购期权2
  16189. type: integer
  16190. calloptionpremiums3:
  16191. description: 认购期权3
  16192. type: integer
  16193. calloptionpremiums4:
  16194. description: 认购期权4
  16195. type: integer
  16196. calloptionpremiums5:
  16197. description: 认购期权5
  16198. type: integer
  16199. cleartime:
  16200. description: 清盘时间
  16201. type: integer
  16202. exchangecode:
  16203. description: 交易所代码
  16204. type: integer
  16205. exchangedate:
  16206. description: 交易日
  16207. type: integer
  16208. goodscode:
  16209. description: 商品代码
  16210. type: string
  16211. grepmarketprice:
  16212. description: 暗盘价 港股专用
  16213. type: number
  16214. highest:
  16215. description: 最高价
  16216. type: number
  16217. holdincrement:
  16218. description: 单笔持仓
  16219. type: integer
  16220. holdvolume:
  16221. description: 持仓
  16222. type: integer
  16223. iep:
  16224. description: 平衡价 港股专用
  16225. type: number
  16226. iev:
  16227. description: 平衡量 港股专用
  16228. type: number
  16229. inventory:
  16230. description: 库存
  16231. type: integer
  16232. iscleared:
  16233. description: 是否清盘标志
  16234. type: integer
  16235. issettled:
  16236. description: 是否结算标志
  16237. type: integer
  16238. last:
  16239. description: 最新价
  16240. type: number
  16241. lastlot:
  16242. description: 最新成交手数
  16243. type: integer
  16244. lasttime:
  16245. description: 行情时间(只有现价变化行情时间才变化)
  16246. type: string
  16247. lastturnover:
  16248. description: 最新成交金额
  16249. type: number
  16250. lastvolume:
  16251. description: 最新成交量
  16252. type: integer
  16253. limitdown:
  16254. description: 跌停价
  16255. type: number
  16256. limitup:
  16257. description: 涨停价
  16258. type: number
  16259. lowest:
  16260. description: 最低价
  16261. type: number
  16262. nontotalholdervolume:
  16263. description: 非交易持仓量
  16264. type: integer
  16265. nontotallot:
  16266. description: 非交易总手数
  16267. type: integer
  16268. nontotalturnover:
  16269. description: 非交易总金额
  16270. type: integer
  16271. nontotalvolume:
  16272. description: 非交易总量
  16273. type: integer
  16274. opened:
  16275. description: 开盘价
  16276. type: number
  16277. opentime:
  16278. description: 开盘时间
  16279. type: string
  16280. orderid:
  16281. description: 序号
  16282. type: integer
  16283. preclose:
  16284. description: 昨收
  16285. type: number
  16286. preholdvolume:
  16287. description: 昨持仓
  16288. type: integer
  16289. presettle:
  16290. description: 昨结价
  16291. type: number
  16292. publictradetype:
  16293. description: 公共交易标志类型 港股专用
  16294. type: string
  16295. putoptionpremiums:
  16296. description: 认沽期权1
  16297. type: integer
  16298. putoptionpremiums2:
  16299. description: 认沽期权2
  16300. type: integer
  16301. putoptionpremiums3:
  16302. description: 认沽期权3
  16303. type: integer
  16304. putoptionpremiums4:
  16305. description: 认沽期权4
  16306. type: integer
  16307. putoptionpremiums5:
  16308. description: 认沽期权5
  16309. type: integer
  16310. settle:
  16311. description: 结算价
  16312. type: number
  16313. strikeprice:
  16314. description: 发行价
  16315. type: number
  16316. totalaskvolume:
  16317. description: 内盘
  16318. type: integer
  16319. totalbidvolume:
  16320. description: 外盘
  16321. type: integer
  16322. totallot:
  16323. description: 总手数
  16324. type: integer
  16325. totalturnover:
  16326. description: 总金额
  16327. type: number
  16328. totalvolume:
  16329. description: 总量
  16330. type: integer
  16331. utclasttime:
  16332. description: utc的行情时间
  16333. type: string
  16334. type: object
  16335. quote.QueryTSDataRsp:
  16336. properties:
  16337. Count:
  16338. description: 交易日应有数据个数
  16339. type: integer
  16340. decimalPlace:
  16341. description: 小数位
  16342. type: integer
  16343. endTime:
  16344. description: 结束时间
  16345. type: string
  16346. goodsCode:
  16347. description: 商品代码
  16348. type: string
  16349. historyDatas:
  16350. description: 历史数据
  16351. items:
  16352. $ref: '#/definitions/quote.HistoryData'
  16353. type: array
  16354. outGoodsCode:
  16355. description: 外部商品代码
  16356. type: string
  16357. preSettle:
  16358. description: 昨结价
  16359. type: number
  16360. runSteps:
  16361. description: 交易日开休市计划
  16362. items:
  16363. $ref: '#/definitions/quote.TSDataRunStep'
  16364. type: array
  16365. startTime:
  16366. description: 开始时间
  16367. type: string
  16368. tradeDate:
  16369. description: 交易日
  16370. type: string
  16371. type: object
  16372. quote.TSDataRunStep:
  16373. properties:
  16374. end:
  16375. description: 真实结束时间
  16376. type: string
  16377. endflag:
  16378. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  16379. type: integer
  16380. endtime:
  16381. description: 结束时间(HH:mm)
  16382. type: string
  16383. endweekday:
  16384. description: 结束周几
  16385. type: integer
  16386. groupid:
  16387. description: 分组ID
  16388. type: integer
  16389. runstep:
  16390. description: 运行阶段 - 2:连续交易
  16391. type: integer
  16392. sectionid:
  16393. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  16394. 结束时间=结算时间 结束周几=结算周几
  16395. type: integer
  16396. start:
  16397. description: 真实开始时间
  16398. type: string
  16399. startflag:
  16400. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  16401. type: integer
  16402. starttime:
  16403. description: 起始时间(HH:mm)
  16404. type: string
  16405. startweekday:
  16406. description: 起始周几
  16407. type: integer
  16408. tradeweekday:
  16409. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  16410. type: integer
  16411. type: object
  16412. szdz.QueryConvertLogRsp:
  16413. properties:
  16414. accountid:
  16415. description: 资金账户ID
  16416. type: integer
  16417. clientticket:
  16418. description: 客户端流水号
  16419. type: string
  16420. converttype:
  16421. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  16422. type: integer
  16423. createtime:
  16424. description: 记账时间
  16425. type: string
  16426. daymaxvalue:
  16427. description: 配置当日最大转入限制
  16428. type: number
  16429. daymaxvalue2:
  16430. description: 配置当日最大转入限制(转入)
  16431. type: number
  16432. goodscode:
  16433. description: 商品代码
  16434. type: string
  16435. goodsname:
  16436. description: 商品名称
  16437. type: string
  16438. handlestatus:
  16439. description: 处理状态
  16440. type: integer
  16441. innergoodsid:
  16442. description: 内部商品ID
  16443. type: integer
  16444. inratio:
  16445. description: 配置转入比值
  16446. type: integer
  16447. invalue:
  16448. description: 目标值
  16449. type: number
  16450. logid:
  16451. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16452. type: integer
  16453. mobile:
  16454. description: 手机号码(加密存储)
  16455. type: string
  16456. outergoodscode:
  16457. description: 外部商品代码[JD\PD]
  16458. type: string
  16459. outratio:
  16460. description: 配置转出比值
  16461. type: integer
  16462. outvalue:
  16463. description: 源值
  16464. type: number
  16465. pddecimalplace:
  16466. description: PD小数位
  16467. type: integer
  16468. qty:
  16469. description: 数量
  16470. type: string
  16471. remark:
  16472. description: 备注
  16473. type: string
  16474. sessionid:
  16475. description: 会话ID
  16476. type: integer
  16477. timemaxvalue:
  16478. description: 配置单次最大转入限制
  16479. type: number
  16480. timemaxvalue2:
  16481. description: 配置单次最大转入限制(转入)
  16482. type: number
  16483. timeminvalue:
  16484. description: 配置单次最小数量限制
  16485. type: number
  16486. timeminvalue2:
  16487. description: 配置单次最小数量限制(转入)
  16488. type: number
  16489. tradedate:
  16490. description: 交易日(yyyyMMdd)
  16491. type: string
  16492. userid:
  16493. description: 用户ID
  16494. type: integer
  16495. required:
  16496. - logid
  16497. type: object
  16498. szdz.QueryGoodsPickupRsp:
  16499. properties:
  16500. accountid:
  16501. description: 账户ID
  16502. type: integer
  16503. address:
  16504. description: 提货人详细地址
  16505. type: string
  16506. auditer:
  16507. description: 审核人
  16508. type: integer
  16509. audittime:
  16510. description: 审核时间
  16511. type: string
  16512. cardnum:
  16513. description: 提货人证件号码
  16514. type: string
  16515. cardtypeid:
  16516. description: 提货人证件类型
  16517. type: integer
  16518. checkremark:
  16519. description: 审核备注
  16520. type: string
  16521. goodscode:
  16522. description: 商品代码
  16523. type: string
  16524. goodsid:
  16525. description: 商品ID
  16526. type: integer
  16527. goodsname:
  16528. description: 商品名称
  16529. type: string
  16530. handlestatus:
  16531. description: 处理状态
  16532. type: integer
  16533. marketid:
  16534. description: 市场ID
  16535. type: integer
  16536. phonenum:
  16537. description: 提货人联系方式
  16538. type: string
  16539. qty:
  16540. description: 提货数量
  16541. type: number
  16542. recivername:
  16543. description: 提货人姓名
  16544. type: string
  16545. reqtime:
  16546. description: 更新时间
  16547. type: string
  16548. takemode:
  16549. description: 提货方式 - 2:自提 3:配送
  16550. type: integer
  16551. takeorderid:
  16552. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  16553. type: string
  16554. takeorderstatus:
  16555. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16556. type: integer
  16557. takeremark:
  16558. description: 提货备注
  16559. type: string
  16560. tradedate:
  16561. description: 交易日(yyyyMMdd)
  16562. type: string
  16563. userid:
  16564. description: 用户ID
  16565. type: integer
  16566. required:
  16567. - takeorderid
  16568. type: object
  16569. szdz.QueryRecieptOrderRsp:
  16570. properties:
  16571. accountName:
  16572. description: 所属账号名称(已脱敏)
  16573. type: string
  16574. accountid:
  16575. description: 资金账号
  16576. type: integer
  16577. buyorsell:
  16578. description: 方向 - 0:买 1:卖
  16579. type: integer
  16580. enableqty:
  16581. description: 可摘数量
  16582. type: integer
  16583. goodscode:
  16584. description: 商品代码
  16585. type: string
  16586. goodsid:
  16587. description: 商品ID
  16588. type: integer
  16589. goodsname:
  16590. description: 商品名称
  16591. type: string
  16592. orderid:
  16593. description: 委托单号
  16594. type: string
  16595. orderprice:
  16596. description: 委托价格
  16597. type: number
  16598. ordertime:
  16599. description: 委托时间
  16600. type: string
  16601. tradedate:
  16602. description: 交易日(yyyyMMdd)
  16603. type: string
  16604. required:
  16605. - ordertime
  16606. type: object
  16607. szdz.QuerySZDZTradePositionRsp:
  16608. properties:
  16609. accountid:
  16610. description: 账号Id
  16611. type: integer
  16612. agreeunit:
  16613. description: 合约单位
  16614. type: number
  16615. averageprice:
  16616. description: 持仓均价
  16617. type: number
  16618. buyorsell:
  16619. description: 方向 - 0:买 1:卖
  16620. type: integer
  16621. closetotalqty:
  16622. description: 平仓总数量
  16623. type: integer
  16624. curholderamount:
  16625. description: 当前持仓总金额
  16626. type: number
  16627. curpositionqty:
  16628. description: 当前持仓总数量
  16629. type: integer
  16630. currencyid:
  16631. description: 报价货币ID
  16632. type: integer
  16633. curtdposition:
  16634. description: 期末今日头寸
  16635. type: integer
  16636. decimalplace:
  16637. description: 报价小数位
  16638. type: integer
  16639. enableqty:
  16640. description: 可用量
  16641. type: integer
  16642. fretdposition:
  16643. description: 冻结今日头寸
  16644. type: integer
  16645. frozenqty:
  16646. description: 持仓冻结数量
  16647. type: integer
  16648. goodscode:
  16649. description: 商品代码(内部)
  16650. type: string
  16651. goodsid:
  16652. description: 商品Id
  16653. type: integer
  16654. goodsname:
  16655. description: 商品名称
  16656. type: string
  16657. goodunit:
  16658. description: 报价单位
  16659. type: string
  16660. goodunitid:
  16661. description: 报价单位ID
  16662. type: integer
  16663. holderamount:
  16664. description: 期初持仓总金额
  16665. type: number
  16666. marketid:
  16667. description: 市场ID
  16668. type: integer
  16669. openreqqty:
  16670. description: 开仓申请数量
  16671. type: integer
  16672. opentotalqty:
  16673. description: 开仓总数量
  16674. type: integer
  16675. otherfrozenqty:
  16676. description: 持仓其他冻结数量(交割冻结)
  16677. type: integer
  16678. positionqty:
  16679. description: 期初持仓数量
  16680. type: integer
  16681. szdz3freezqty:
  16682. description: 尚志大宗转换冻结总数量
  16683. type: integer
  16684. tnqty:
  16685. description: T+N冻结总量
  16686. type: integer
  16687. tnusedqty:
  16688. description: T+N使用量
  16689. type: integer
  16690. trademode:
  16691. description: 交易模式
  16692. type: integer
  16693. usedmargin:
  16694. description: 占用保证金
  16695. type: number
  16696. type: object
  16697. taaccount.QueryAmountLogRsp:
  16698. properties:
  16699. OPERATETYPENAME:
  16700. description: 资金操作类型名称
  16701. type: string
  16702. accountid:
  16703. description: 资金账户ID
  16704. type: integer
  16705. agoodscode:
  16706. description: 竞拍商品代码
  16707. type: string
  16708. agoodsname:
  16709. description: 竞拍商品名称
  16710. type: string
  16711. amount:
  16712. description: 资金金额
  16713. type: number
  16714. amountadjusttype:
  16715. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16716. type: integer
  16717. autoid:
  16718. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16719. type: integer
  16720. balance:
  16721. description: 期初余额
  16722. type: number
  16723. businesscode:
  16724. description: 业务编号
  16725. type: integer
  16726. createtime:
  16727. description: 发生时间
  16728. type: string
  16729. currencyid:
  16730. description: 币种ID
  16731. type: integer
  16732. currentbalance:
  16733. description: 期末余额(变动后金额)
  16734. type: number
  16735. dgoodscode:
  16736. description: 交割商品代码
  16737. type: string
  16738. dgoodsname:
  16739. description: 交割商品名称
  16740. type: string
  16741. goodscode:
  16742. description: 商品代码
  16743. type: string
  16744. goodsid:
  16745. description: 商品ID
  16746. type: integer
  16747. goodsname:
  16748. description: 商品名称
  16749. type: string
  16750. marketid:
  16751. description: 市场ID
  16752. type: integer
  16753. marketname:
  16754. description: 市场名称
  16755. type: string
  16756. moneyticket:
  16757. description: 资金流水号:银行端流水号
  16758. type: integer
  16759. operatetype:
  16760. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16761. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16762. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16763. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16764. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16765. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16766. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16767. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16768. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16769. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16770. type: integer
  16771. relationorderid:
  16772. description: 关联单号
  16773. type: string
  16774. remark:
  16775. description: 备注
  16776. type: string
  16777. trademode:
  16778. description: 交易模式
  16779. type: integer
  16780. required:
  16781. - accountid
  16782. - amount
  16783. - amountadjusttype
  16784. - autoid
  16785. - balance
  16786. - createtime
  16787. - currentbalance
  16788. - operatetype
  16789. type: object
  16790. taaccount.QueryHisAmountLogRsp:
  16791. properties:
  16792. OPERATETYPENAME:
  16793. description: 资金操作类型名称
  16794. type: string
  16795. accountid:
  16796. description: 资金账户ID
  16797. type: integer
  16798. agoodscode:
  16799. description: 竞拍商品代码
  16800. type: string
  16801. agoodsname:
  16802. description: 竞拍商品名称
  16803. type: string
  16804. amount:
  16805. description: 资金金额
  16806. type: number
  16807. amountadjusttype:
  16808. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16809. type: integer
  16810. autoid:
  16811. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16812. type: integer
  16813. balance:
  16814. description: 期初余额
  16815. type: number
  16816. businesscode:
  16817. description: 业务编号
  16818. type: integer
  16819. createtime:
  16820. description: 发生时间
  16821. type: string
  16822. currencyid:
  16823. description: 币种ID
  16824. type: integer
  16825. currentbalance:
  16826. description: 期末余额(变动后金额)
  16827. type: number
  16828. dgoodscode:
  16829. description: 交割商品代码
  16830. type: string
  16831. dgoodsname:
  16832. description: 交割商品名称
  16833. type: string
  16834. goodscode:
  16835. description: 商品代码
  16836. type: string
  16837. goodsid:
  16838. description: 商品ID
  16839. type: integer
  16840. goodsname:
  16841. description: 商品名称
  16842. type: string
  16843. histradedate:
  16844. description: 历史交易日
  16845. type: string
  16846. isvaliddata:
  16847. description: 是否有效 - 0:无效 1:有效
  16848. type: integer
  16849. marketid:
  16850. description: 市场ID
  16851. type: integer
  16852. marketname:
  16853. description: 市场名称
  16854. type: string
  16855. moneyticket:
  16856. description: 资金流水号:银行端流水号
  16857. type: integer
  16858. operatetype:
  16859. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16860. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16861. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16862. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16863. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16864. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16865. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16866. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16867. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16868. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16869. type: integer
  16870. relationorderid:
  16871. description: 关联单号
  16872. type: string
  16873. remark:
  16874. description: 备注
  16875. type: string
  16876. trademode:
  16877. description: 交易模式
  16878. type: integer
  16879. required:
  16880. - accountid
  16881. - amount
  16882. - amountadjusttype
  16883. - autoid
  16884. - balance
  16885. - createtime
  16886. - currentbalance
  16887. - histradedate
  16888. - operatetype
  16889. type: object
  16890. trade.QueryRecieptOrderRsp:
  16891. properties:
  16892. accountName:
  16893. description: 所属账号名称(已脱敏)
  16894. type: string
  16895. accountid:
  16896. description: 资金账号
  16897. type: integer
  16898. buyorsell:
  16899. description: 方向 - 0:买 1:卖
  16900. type: integer
  16901. enableqty:
  16902. description: 可摘数量
  16903. type: integer
  16904. goodscode:
  16905. description: 商品代码
  16906. type: string
  16907. goodsid:
  16908. description: 商品ID
  16909. type: integer
  16910. goodsname:
  16911. description: 商品名称
  16912. type: string
  16913. orderid:
  16914. description: 委托单号
  16915. type: string
  16916. orderprice:
  16917. description: 委托价格
  16918. type: number
  16919. ordertime:
  16920. description: 委托时间
  16921. type: string
  16922. tradedate:
  16923. description: 交易日(yyyyMMdd)
  16924. type: string
  16925. required:
  16926. - ordertime
  16927. type: object
  16928. user.LoginQueryRsp:
  16929. properties:
  16930. areaRoles:
  16931. description: 所属角色信息
  16932. items:
  16933. $ref: '#/definitions/models.Arearole'
  16934. type: array
  16935. externalExchanges:
  16936. description: 外部交易所
  16937. items:
  16938. $ref: '#/definitions/models.Externalexchange'
  16939. type: array
  16940. goodsgroups:
  16941. description: 商品组
  16942. items:
  16943. $ref: '#/definitions/models.Goodsgroup'
  16944. type: array
  16945. loginAccount:
  16946. $ref: '#/definitions/models.Loginaccount'
  16947. description: 登录账号
  16948. type: object
  16949. markets:
  16950. description: 市场
  16951. items:
  16952. $ref: '#/definitions/models.Market'
  16953. type: array
  16954. systemParams:
  16955. description: 系统参数
  16956. items:
  16957. $ref: '#/definitions/models.Systemparam'
  16958. type: array
  16959. userAccount:
  16960. $ref: '#/definitions/models.Useraccount'
  16961. description: 用户账号
  16962. type: object
  16963. userInfo:
  16964. $ref: '#/definitions/models.Userinfo'
  16965. description: 用户信息
  16966. type: object
  16967. username:
  16968. description: 用户姓名
  16969. type: string
  16970. type: object
  16971. info:
  16972. contact: {}
  16973. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  16974. license: {}
  16975. termsOfService: http://www.muchinfo.cn
  16976. title: MTP2.0 查询服务 API
  16977. version: "1.0"
  16978. paths:
  16979. /CPTrade/QueryCPTradeMyBidInfos:
  16980. get:
  16981. parameters:
  16982. - description: 资金账户
  16983. in: query
  16984. name: accountid
  16985. required: true
  16986. type: integer
  16987. - description: 预售市场ID
  16988. in: query
  16989. name: marketid
  16990. type: integer
  16991. - description: 预售商品ID
  16992. in: query
  16993. name: goodsid
  16994. type: integer
  16995. produces:
  16996. - application/json
  16997. responses:
  16998. "200":
  16999. description: OK
  17000. schema:
  17001. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17002. "500":
  17003. description: Internal Server Error
  17004. schema:
  17005. $ref: '#/definitions/app.Response'
  17006. security:
  17007. - ApiKeyAuth: []
  17008. summary: 查询产能预售我的出价信息
  17009. tags:
  17010. - 产能预售
  17011. /CPTrade/QueryCPTradeOrderDetail:
  17012. get:
  17013. parameters:
  17014. - description: 预售商品ID
  17015. in: query
  17016. name: goodsid
  17017. type: integer
  17018. - description: 预售市场ID
  17019. in: query
  17020. name: marketid
  17021. type: integer
  17022. - description: 预售商品ID列表 - 格式:1,2,3
  17023. in: query
  17024. name: goodsids
  17025. type: string
  17026. produces:
  17027. - application/json
  17028. responses:
  17029. "200":
  17030. description: OK
  17031. schema:
  17032. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17033. "500":
  17034. description: Internal Server Error
  17035. schema:
  17036. $ref: '#/definitions/app.Response'
  17037. security:
  17038. - ApiKeyAuth: []
  17039. summary: 查询产能预售委托单信息
  17040. tags:
  17041. - 产能预售
  17042. /CPTrade/QueryMyCPTradeGoods:
  17043. get:
  17044. parameters:
  17045. - description: 资金账户
  17046. in: query
  17047. name: accountid
  17048. required: true
  17049. type: integer
  17050. produces:
  17051. - application/json
  17052. responses:
  17053. "200":
  17054. description: OK
  17055. schema:
  17056. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17057. "500":
  17058. description: Internal Server Error
  17059. schema:
  17060. $ref: '#/definitions/app.Response'
  17061. security:
  17062. - ApiKeyAuth: []
  17063. summary: 查询我的预售信息
  17064. tags:
  17065. - 产能预售
  17066. /CPTrade/QueryPositionCancel:
  17067. get:
  17068. parameters:
  17069. - description: 账户ID
  17070. in: query
  17071. name: userid
  17072. required: true
  17073. type: integer
  17074. - description: 注销ID
  17075. in: query
  17076. name: cancelid
  17077. type: integer
  17078. - description: 资金账户ID
  17079. in: query
  17080. name: accountid
  17081. type: integer
  17082. produces:
  17083. - application/json
  17084. responses:
  17085. "200":
  17086. description: OK
  17087. schema:
  17088. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17089. "500":
  17090. description: Internal Server Error
  17091. schema:
  17092. $ref: '#/definitions/app.Response'
  17093. security:
  17094. - ApiKeyAuth: []
  17095. summary: 查询远期订单注销申请信息
  17096. tags:
  17097. - 产能预售
  17098. /CPTrade/QueryPreasleApply:
  17099. get:
  17100. parameters:
  17101. - description: 账户ID
  17102. in: query
  17103. name: userid
  17104. required: true
  17105. type: integer
  17106. - description: 申请ID
  17107. in: query
  17108. name: applyid
  17109. type: integer
  17110. - description: 资金账户ID
  17111. in: query
  17112. name: accountid
  17113. type: integer
  17114. produces:
  17115. - application/json
  17116. responses:
  17117. "200":
  17118. description: OK
  17119. schema:
  17120. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17121. "500":
  17122. description: Internal Server Error
  17123. schema:
  17124. $ref: '#/definitions/app.Response'
  17125. security:
  17126. - ApiKeyAuth: []
  17127. summary: 查询产能预售申请信息
  17128. tags:
  17129. - 产能预售
  17130. /CPTrade/QueryPresaleGoodsEx:
  17131. get:
  17132. parameters:
  17133. - description: 预售商品ID
  17134. in: query
  17135. name: goodsid
  17136. type: integer
  17137. - description: 预售市场ID
  17138. in: query
  17139. name: marketid
  17140. type: integer
  17141. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17142. in: query
  17143. name: presalemode
  17144. type: integer
  17145. - description: 预售商品ID列表 - 格式:1,2,3
  17146. in: query
  17147. name: goodsids
  17148. type: string
  17149. - description: 预售商品代码
  17150. in: query
  17151. name: goodscode
  17152. type: string
  17153. produces:
  17154. - application/json
  17155. responses:
  17156. "200":
  17157. description: OK
  17158. schema:
  17159. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17160. "500":
  17161. description: Internal Server Error
  17162. schema:
  17163. $ref: '#/definitions/app.Response'
  17164. security:
  17165. - ApiKeyAuth: []
  17166. summary: 查询产能预售商品扩展信息
  17167. tags:
  17168. - 产能预售
  17169. /CPTrade/QueryUserGoodsData:
  17170. get:
  17171. parameters:
  17172. - description: 资金账户ID
  17173. in: query
  17174. name: accountid
  17175. required: true
  17176. type: integer
  17177. produces:
  17178. - application/json
  17179. responses:
  17180. "200":
  17181. description: OK
  17182. schema:
  17183. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17184. "500":
  17185. description: Internal Server Error
  17186. schema:
  17187. $ref: '#/definitions/app.Response'
  17188. security:
  17189. - ApiKeyAuth: []
  17190. summary: 查询远期订单信息
  17191. tags:
  17192. - 产能预售
  17193. /Common/GetAllEnums:
  17194. get:
  17195. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17196. parameters:
  17197. - description: 起始自增ID
  17198. in: query
  17199. name: autoid
  17200. type: integer
  17201. produces:
  17202. - application/json
  17203. responses:
  17204. "200":
  17205. description: OK
  17206. schema:
  17207. $ref: '#/definitions/models.Enumdicitem'
  17208. "500":
  17209. description: Internal Server Error
  17210. schema:
  17211. $ref: '#/definitions/app.Response'
  17212. summary: 获取所有枚举信息
  17213. tags:
  17214. - 通用服务
  17215. /Common/GetClientMenus:
  17216. get:
  17217. parameters:
  17218. - description: 登录账号
  17219. in: query
  17220. name: loginID
  17221. required: true
  17222. type: integer
  17223. - description: 终端类型,0:PC 1:Mobile
  17224. in: query
  17225. name: clientType
  17226. type: integer
  17227. produces:
  17228. - application/json
  17229. responses:
  17230. "200":
  17231. description: OK
  17232. schema:
  17233. items:
  17234. $ref: '#/definitions/common.ClientMenu'
  17235. type: array
  17236. "500":
  17237. description: Internal Server Error
  17238. schema:
  17239. $ref: '#/definitions/app.Response'
  17240. security:
  17241. - ApiKeyAuth: []
  17242. summary: 获取交易端菜单
  17243. tags:
  17244. - 通用服务
  17245. /Common/GetDivisions:
  17246. get:
  17247. produces:
  17248. - application/json
  17249. responses:
  17250. "200":
  17251. description: OK
  17252. schema:
  17253. $ref: '#/definitions/models.Division'
  17254. "500":
  17255. description: Internal Server Error
  17256. schema:
  17257. $ref: '#/definitions/app.Response'
  17258. summary: 查询区域信息
  17259. tags:
  17260. - 通用服务
  17261. /Common/GetServerTime:
  17262. get:
  17263. produces:
  17264. - application/json
  17265. responses:
  17266. "200":
  17267. description: OK
  17268. schema:
  17269. $ref: '#/definitions/app.Response'
  17270. "500":
  17271. description: Internal Server Error
  17272. schema:
  17273. $ref: '#/definitions/app.Response'
  17274. summary: 获取服务器时间
  17275. tags:
  17276. - 通用服务
  17277. /Common/NoticeReaded:
  17278. post:
  17279. parameters:
  17280. - description: 登录账号
  17281. in: query
  17282. name: loginID
  17283. required: true
  17284. type: integer
  17285. - description: 通知公告ID
  17286. in: query
  17287. name: noticeID
  17288. required: true
  17289. type: integer
  17290. produces:
  17291. - application/json
  17292. responses:
  17293. "200":
  17294. description: OK
  17295. schema:
  17296. $ref: '#/definitions/app.Response'
  17297. "500":
  17298. description: Internal Server Error
  17299. schema:
  17300. $ref: '#/definitions/app.Response'
  17301. security:
  17302. - ApiKeyAuth: []
  17303. summary: 通知公告设置已读请求
  17304. tags:
  17305. - 通用服务
  17306. /Common/QueryErrorInfos:
  17307. get:
  17308. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17309. parameters:
  17310. - description: 起始行号前索引
  17311. in: query
  17312. name: rowNumber
  17313. type: string
  17314. produces:
  17315. - application/json
  17316. responses:
  17317. "200":
  17318. description: OK
  17319. schema:
  17320. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17321. "500":
  17322. description: Internal Server Error
  17323. schema:
  17324. $ref: '#/definitions/app.Response'
  17325. summary: 获取数据库错误信息
  17326. tags:
  17327. - 通用服务
  17328. /Common/QueryImageConfigs:
  17329. get:
  17330. parameters:
  17331. - description: 用户id
  17332. in: query
  17333. name: userId
  17334. type: integer
  17335. - description: 类型 - 1:App首页轮播 2:我的
  17336. in: query
  17337. name: imageType
  17338. type: integer
  17339. produces:
  17340. - application/json
  17341. responses:
  17342. "200":
  17343. description: OK
  17344. schema:
  17345. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17346. "500":
  17347. description: Internal Server Error
  17348. schema:
  17349. $ref: '#/definitions/app.Response'
  17350. summary: 查询轮播图配置信息
  17351. tags:
  17352. - 通用服务
  17353. /Common/QueryNotice:
  17354. get:
  17355. parameters:
  17356. - description: 页码
  17357. in: query
  17358. name: page
  17359. type: integer
  17360. - description: 每页条数
  17361. in: query
  17362. name: pagesize
  17363. type: integer
  17364. - description: 登录账号
  17365. in: query
  17366. name: loginID
  17367. required: true
  17368. type: integer
  17369. - description: 消息类型 - 1:公告通知 2:系统消息
  17370. in: query
  17371. name: msgType
  17372. type: integer
  17373. - description: 是否只获取未读信息
  17374. in: query
  17375. name: onlyUnRead
  17376. type: boolean
  17377. - description: 自增ID,传入后会返回这个ID后面的记录
  17378. in: query
  17379. name: lastID
  17380. type: integer
  17381. produces:
  17382. - application/json
  17383. responses:
  17384. "200":
  17385. description: OK
  17386. schema:
  17387. $ref: '#/definitions/common.QueryNoticeRsp'
  17388. "500":
  17389. description: Internal Server Error
  17390. schema:
  17391. $ref: '#/definitions/app.Response'
  17392. security:
  17393. - ApiKeyAuth: []
  17394. summary: 通知公告系统消息查询
  17395. tags:
  17396. - 通用服务
  17397. /Common/QueryProvincesAndCities:
  17398. get:
  17399. parameters:
  17400. - description: 省ID
  17401. in: query
  17402. name: provinceID
  17403. type: integer
  17404. produces:
  17405. - application/json
  17406. responses:
  17407. "200":
  17408. description: OK
  17409. schema:
  17410. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  17411. "500":
  17412. description: Internal Server Error
  17413. schema:
  17414. $ref: '#/definitions/app.Response'
  17415. summary: 查询省市信息(不包括区)
  17416. tags:
  17417. - 通用服务
  17418. /Common/QueryTableDefine:
  17419. get:
  17420. parameters:
  17421. - description: 表key
  17422. in: query
  17423. name: tableKey
  17424. type: string
  17425. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  17426. in: query
  17427. name: tableType
  17428. type: integer
  17429. produces:
  17430. - application/json
  17431. responses:
  17432. "200":
  17433. description: OK
  17434. schema:
  17435. $ref: '#/definitions/common.QueryTableDefineRsp'
  17436. "500":
  17437. description: Internal Server Error
  17438. schema:
  17439. $ref: '#/definitions/app.Response'
  17440. summary: 查询交易端列表头信息
  17441. tags:
  17442. - 通用服务
  17443. /Common/QueryTraderMenu:
  17444. get:
  17445. parameters:
  17446. - description: 登录账号
  17447. in: query
  17448. name: loginid
  17449. required: true
  17450. type: integer
  17451. produces:
  17452. - application/json
  17453. responses:
  17454. "200":
  17455. description: OK
  17456. schema:
  17457. $ref: '#/definitions/common.QueryTraderMenuRsp'
  17458. "500":
  17459. description: Internal Server Error
  17460. schema:
  17461. $ref: '#/definitions/app.Response'
  17462. summary: 查询交易端菜单
  17463. tags:
  17464. - 通用服务
  17465. /Delivery/QueryDeliveryRelation:
  17466. get:
  17467. parameters:
  17468. - description: 商品ID
  17469. in: query
  17470. name: goodsid
  17471. type: integer
  17472. - description: 品种ID
  17473. in: query
  17474. name: deliverygoodsid
  17475. type: integer
  17476. - description: 市场ID
  17477. in: query
  17478. name: marketid
  17479. type: integer
  17480. produces:
  17481. - application/json
  17482. responses:
  17483. "200":
  17484. description: OK
  17485. schema:
  17486. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  17487. "500":
  17488. description: Internal Server Error
  17489. schema:
  17490. $ref: '#/definitions/app.Response'
  17491. security:
  17492. - ApiKeyAuth: []
  17493. summary: 查询商品交割关系表
  17494. tags:
  17495. - 交割服务
  17496. /Ermcp/GetErmcpGoods:
  17497. get:
  17498. parameters:
  17499. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17500. in: query
  17501. name: lastUpdateTime
  17502. type: string
  17503. produces:
  17504. - application/json
  17505. responses:
  17506. "200":
  17507. description: OK
  17508. schema:
  17509. $ref: '#/definitions/models.ErmcpGoods'
  17510. "500":
  17511. description: Internal Server Error
  17512. schema:
  17513. $ref: '#/definitions/app.Response'
  17514. security:
  17515. - ApiKeyAuth: []
  17516. summary: 查询企业风管期货商品信息
  17517. tags:
  17518. - 企业风险管理(app)
  17519. /Ermcp/GetErmcpGoodsSortByPosition:
  17520. get:
  17521. parameters:
  17522. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  17523. in: query
  17524. name: sortIndex
  17525. type: string
  17526. produces:
  17527. - application/json
  17528. responses:
  17529. "200":
  17530. description: OK
  17531. schema:
  17532. $ref: '#/definitions/models.Goodssortbypreposition'
  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/GetErmcpOutAccountStatus:
  17543. get:
  17544. parameters:
  17545. - description: 登录账号
  17546. in: query
  17547. name: loginID
  17548. required: true
  17549. type: integer
  17550. produces:
  17551. - application/json
  17552. responses:
  17553. "200":
  17554. description: OK
  17555. schema:
  17556. $ref: '#/definitions/models.Hedgemarketopenlog'
  17557. "500":
  17558. description: Internal Server Error
  17559. schema:
  17560. $ref: '#/definitions/app.Response'
  17561. security:
  17562. - ApiKeyAuth: []
  17563. summary: 获取目标登录账号当前对冲账号在线状态
  17564. tags:
  17565. - 企业风险管理(app)
  17566. /Ermcp/GetErmcpRoleFuncMenuLists:
  17567. get:
  17568. parameters:
  17569. - description: 登录账号
  17570. in: query
  17571. name: loginID
  17572. required: true
  17573. type: integer
  17574. produces:
  17575. - application/json
  17576. responses:
  17577. "200":
  17578. description: OK
  17579. schema:
  17580. $ref: '#/definitions/models.Funcmenulist'
  17581. "500":
  17582. description: Internal Server Error
  17583. schema:
  17584. $ref: '#/definitions/app.Response'
  17585. security:
  17586. - ApiKeyAuth: []
  17587. summary: 获取企业风管终端权限
  17588. tags:
  17589. - 企业风险管理(app)
  17590. /Ermcp/QueryAccMgrBizGroupSet:
  17591. get:
  17592. parameters:
  17593. - description: 用户ID
  17594. in: query
  17595. name: userid
  17596. required: true
  17597. type: integer
  17598. - description: 现货商品id
  17599. in: query
  17600. name: deliverygoodsid
  17601. type: integer
  17602. produces:
  17603. - application/json
  17604. responses:
  17605. "200":
  17606. description: OK
  17607. schema:
  17608. items:
  17609. $ref: '#/definitions/models.ErmcpBizGroupEx'
  17610. type: array
  17611. "500":
  17612. description: Internal Server Error
  17613. schema:
  17614. $ref: '#/definitions/app.Response'
  17615. security:
  17616. - ApiKeyAuth: []
  17617. summary: 查询业务类型分组(账户管理/账户设置)
  17618. tags:
  17619. - 企业风险管理(app)
  17620. /Ermcp/QueryAccMgrLoginUser:
  17621. get:
  17622. parameters:
  17623. - description: 用户ID
  17624. in: query
  17625. name: userid
  17626. required: true
  17627. type: integer
  17628. - description: 用户类型 2-机构 7-企业成员
  17629. in: query
  17630. name: usertype
  17631. type: integer
  17632. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  17633. in: query
  17634. name: querytype
  17635. required: true
  17636. type: integer
  17637. produces:
  17638. - application/json
  17639. responses:
  17640. "200":
  17641. description: OK
  17642. schema:
  17643. items:
  17644. $ref: '#/definitions/models.ErmcpLoginUserEx'
  17645. type: array
  17646. "500":
  17647. description: Internal Server Error
  17648. schema:
  17649. $ref: '#/definitions/app.Response'
  17650. security:
  17651. - ApiKeyAuth: []
  17652. summary: 查询账户管理登录账号(账户管理/登录账号)
  17653. tags:
  17654. - 企业风险管理(app)
  17655. /Ermcp/QueryAccMgrMainAccountInfo:
  17656. get:
  17657. parameters:
  17658. - description: 用户ID
  17659. in: query
  17660. name: userid
  17661. type: integer
  17662. - description: 主账号id
  17663. in: query
  17664. name: accountid
  17665. type: integer
  17666. produces:
  17667. - application/json
  17668. responses:
  17669. "200":
  17670. description: OK
  17671. schema:
  17672. items:
  17673. $ref: '#/definitions/models.MainAccountInfo'
  17674. type: array
  17675. "500":
  17676. description: Internal Server Error
  17677. schema:
  17678. $ref: '#/definitions/app.Response'
  17679. security:
  17680. - ApiKeyAuth: []
  17681. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  17682. tags:
  17683. - 企业风险管理(app)
  17684. /Ermcp/QueryAccMgrRole:
  17685. get:
  17686. parameters:
  17687. - description: 用户ID
  17688. in: query
  17689. name: userid
  17690. required: true
  17691. type: integer
  17692. produces:
  17693. - application/json
  17694. responses:
  17695. "200":
  17696. description: OK
  17697. schema:
  17698. items:
  17699. $ref: '#/definitions/models.ErmcpRole'
  17700. type: array
  17701. "500":
  17702. description: Internal Server Error
  17703. schema:
  17704. $ref: '#/definitions/app.Response'
  17705. security:
  17706. - ApiKeyAuth: []
  17707. summary: 查询账户管理角色设置(账户管理/角色设置)
  17708. tags:
  17709. - 企业风险管理(app)
  17710. /Ermcp/QueryAccMgrRoleMenu:
  17711. get:
  17712. parameters:
  17713. - description: 用户ID
  17714. in: query
  17715. name: userid
  17716. required: true
  17717. type: integer
  17718. - description: 角色id(可多个,逗号隔开)
  17719. in: query
  17720. name: roleid
  17721. type: string
  17722. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  17723. in: query
  17724. name: menutype
  17725. type: integer
  17726. produces:
  17727. - application/json
  17728. responses:
  17729. "200":
  17730. description: OK
  17731. schema:
  17732. items:
  17733. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  17734. type: array
  17735. "500":
  17736. description: Internal Server Error
  17737. schema:
  17738. $ref: '#/definitions/app.Response'
  17739. security:
  17740. - ApiKeyAuth: []
  17741. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  17742. tags:
  17743. - 企业风险管理(app)
  17744. /Ermcp/QueryAccMgrTaAccountInfo:
  17745. get:
  17746. parameters:
  17747. - description: 用户ID
  17748. in: query
  17749. name: userid
  17750. required: true
  17751. type: integer
  17752. - description: 账号id
  17753. in: query
  17754. name: accountid
  17755. type: integer
  17756. produces:
  17757. - application/json
  17758. responses:
  17759. "200":
  17760. description: OK
  17761. schema:
  17762. items:
  17763. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  17764. type: array
  17765. "500":
  17766. description: Internal Server Error
  17767. schema:
  17768. $ref: '#/definitions/app.Response'
  17769. security:
  17770. - ApiKeyAuth: []
  17771. summary: 查询账户管理授信(账户管理/账户设置/授信)
  17772. tags:
  17773. - 企业风险管理(app)
  17774. /Ermcp/QueryAccMgrTaaccount:
  17775. get:
  17776. parameters:
  17777. - description: 用户ID
  17778. in: query
  17779. name: userid
  17780. required: true
  17781. type: integer
  17782. produces:
  17783. - application/json
  17784. responses:
  17785. "200":
  17786. description: OK
  17787. schema:
  17788. items:
  17789. $ref: '#/definitions/models.ErmcpTaAccountEx'
  17790. type: array
  17791. "500":
  17792. description: Internal Server Error
  17793. schema:
  17794. $ref: '#/definitions/app.Response'
  17795. security:
  17796. - ApiKeyAuth: []
  17797. summary: 查询账户管理期货账号(账户管理/期货账号)
  17798. tags:
  17799. - 企业风险管理(app)
  17800. /Ermcp/QueryAvaildGoodsGroup:
  17801. get:
  17802. parameters:
  17803. - description: 所属机构ID
  17804. in: query
  17805. name: userid
  17806. required: true
  17807. type: integer
  17808. produces:
  17809. - application/json
  17810. responses:
  17811. "200":
  17812. description: OK
  17813. schema:
  17814. items:
  17815. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  17816. type: array
  17817. "500":
  17818. description: Internal Server Error
  17819. schema:
  17820. $ref: '#/definitions/app.Response'
  17821. security:
  17822. - ApiKeyAuth: []
  17823. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  17824. tags:
  17825. - 企业风险管理(app)
  17826. /Ermcp/QueryBusinessDj:
  17827. get:
  17828. parameters:
  17829. - description: 用户ID
  17830. in: query
  17831. name: UserId
  17832. required: true
  17833. type: integer
  17834. - description: 用户类型 2-机构 7-企业成员
  17835. in: query
  17836. name: usertype
  17837. type: integer
  17838. - description: 现货合同ID, 不填则查所有
  17839. in: query
  17840. name: relatedid
  17841. type: string
  17842. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17843. in: query
  17844. name: applystatus
  17845. type: string
  17846. produces:
  17847. - application/json
  17848. responses:
  17849. "200":
  17850. description: OK
  17851. schema:
  17852. items:
  17853. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  17854. type: array
  17855. "500":
  17856. description: Internal Server Error
  17857. schema:
  17858. $ref: '#/definitions/app.Response'
  17859. security:
  17860. - ApiKeyAuth: []
  17861. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  17862. tags:
  17863. - 企业风险管理(app)
  17864. /Ermcp/QueryBusinessFp:
  17865. get:
  17866. parameters:
  17867. - description: 用户ID
  17868. in: query
  17869. name: UserId
  17870. required: true
  17871. type: integer
  17872. - description: 用户类型 2-机构 7-企业成员
  17873. in: query
  17874. name: usertype
  17875. type: integer
  17876. - description: 现货合同ID, 不填则查所有
  17877. in: query
  17878. name: relatedid
  17879. type: string
  17880. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17881. in: query
  17882. name: applystatus
  17883. type: string
  17884. produces:
  17885. - application/json
  17886. responses:
  17887. "200":
  17888. description: OK
  17889. schema:
  17890. items:
  17891. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  17892. type: array
  17893. "500":
  17894. description: Internal Server Error
  17895. schema:
  17896. $ref: '#/definitions/app.Response'
  17897. security:
  17898. - ApiKeyAuth: []
  17899. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  17900. tags:
  17901. - 企业风险管理(app)
  17902. /Ermcp/QueryBusinessJs:
  17903. get:
  17904. parameters:
  17905. - description: 用户ID
  17906. in: query
  17907. name: UserId
  17908. required: true
  17909. type: integer
  17910. - description: 用户类型 2-机构 7-企业成员
  17911. in: query
  17912. name: usertype
  17913. type: integer
  17914. - description: 现货合同ID, 不填则查所有
  17915. in: query
  17916. name: relatedid
  17917. type: string
  17918. - description: 操作申请id
  17919. in: query
  17920. name: operateapplyid
  17921. type: string
  17922. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17923. in: query
  17924. name: applystatus
  17925. type: string
  17926. produces:
  17927. - application/json
  17928. responses:
  17929. "200":
  17930. description: OK
  17931. schema:
  17932. items:
  17933. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  17934. type: array
  17935. "500":
  17936. description: Internal Server Error
  17937. schema:
  17938. $ref: '#/definitions/app.Response'
  17939. security:
  17940. - ApiKeyAuth: []
  17941. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  17942. tags:
  17943. - 企业风险管理(app)
  17944. /Ermcp/QueryBusinessJsEx:
  17945. get:
  17946. parameters:
  17947. - description: 用户ID
  17948. in: query
  17949. name: UserId
  17950. required: true
  17951. type: integer
  17952. - description: 用户类型 2-机构 7-企业成员
  17953. in: query
  17954. name: usertype
  17955. type: integer
  17956. - description: 现货合同ID, 不填则查所有
  17957. in: query
  17958. name: relatedid
  17959. type: string
  17960. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17961. in: query
  17962. name: applystatus
  17963. type: string
  17964. produces:
  17965. - application/json
  17966. responses:
  17967. "200":
  17968. description: OK
  17969. schema:
  17970. items:
  17971. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  17972. type: array
  17973. "500":
  17974. description: Internal Server Error
  17975. schema:
  17976. $ref: '#/definitions/app.Response'
  17977. security:
  17978. - ApiKeyAuth: []
  17979. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  17980. tags:
  17981. - 企业风险管理(app)
  17982. /Ermcp/QueryBusinessKx:
  17983. get:
  17984. parameters:
  17985. - description: 用户ID
  17986. in: query
  17987. name: UserId
  17988. required: true
  17989. type: integer
  17990. - description: 用户类型 2-机构 7-企业成员
  17991. in: query
  17992. name: usertype
  17993. type: integer
  17994. - description: 现货合同ID, 不填则查所有
  17995. in: query
  17996. name: relatedid
  17997. type: string
  17998. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17999. in: query
  18000. name: applystatus
  18001. type: string
  18002. produces:
  18003. - application/json
  18004. responses:
  18005. "200":
  18006. description: OK
  18007. schema:
  18008. items:
  18009. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18010. type: array
  18011. "500":
  18012. description: Internal Server Error
  18013. schema:
  18014. $ref: '#/definitions/app.Response'
  18015. security:
  18016. - ApiKeyAuth: []
  18017. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18018. tags:
  18019. - 企业风险管理(app)
  18020. /Ermcp/QueryChangeLog:
  18021. get:
  18022. parameters:
  18023. - description: 合同ID
  18024. in: query
  18025. name: RelatedId
  18026. required: true
  18027. type: string
  18028. produces:
  18029. - application/json
  18030. responses:
  18031. "200":
  18032. description: OK
  18033. schema:
  18034. items:
  18035. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18036. type: array
  18037. "500":
  18038. description: Internal Server Error
  18039. schema:
  18040. $ref: '#/definitions/app.Response'
  18041. security:
  18042. - ApiKeyAuth: []
  18043. summary: 查询变更记录
  18044. tags:
  18045. - 企业风险管理(app)
  18046. /Ermcp/QueryErmcpHisOrderDetails:
  18047. get:
  18048. parameters:
  18049. - description: 资金账户ID
  18050. in: query
  18051. name: accountID
  18052. required: true
  18053. type: integer
  18054. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18055. in: query
  18056. name: startDate
  18057. type: string
  18058. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18059. in: query
  18060. name: endDate
  18061. type: string
  18062. produces:
  18063. - application/json
  18064. responses:
  18065. "200":
  18066. description: OK
  18067. schema:
  18068. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18069. "500":
  18070. description: Internal Server Error
  18071. schema:
  18072. $ref: '#/definitions/app.Response'
  18073. security:
  18074. - ApiKeyAuth: []
  18075. summary: 获取企业风管期货历史委托单信息
  18076. tags:
  18077. - 企业风险管理(app)
  18078. /Ermcp/QueryErmcpHisTradeDetails:
  18079. get:
  18080. parameters:
  18081. - description: 资金账户ID
  18082. in: query
  18083. name: accountID
  18084. required: true
  18085. type: integer
  18086. - description: 商品ID
  18087. in: query
  18088. name: goodsID
  18089. type: integer
  18090. - description: 买卖方向,0:买 1:卖
  18091. in: query
  18092. name: buyOrSell
  18093. type: integer
  18094. - description: 关联委托单号
  18095. in: query
  18096. name: orderID
  18097. type: integer
  18098. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18099. in: query
  18100. name: startDate
  18101. type: string
  18102. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18103. in: query
  18104. name: endDate
  18105. type: string
  18106. produces:
  18107. - application/json
  18108. responses:
  18109. "200":
  18110. description: OK
  18111. schema:
  18112. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18113. "500":
  18114. description: Internal Server Error
  18115. schema:
  18116. $ref: '#/definitions/app.Response'
  18117. security:
  18118. - ApiKeyAuth: []
  18119. summary: 获取企业风管期货历史成交单信息
  18120. tags:
  18121. - 企业风险管理(app)
  18122. /Ermcp/QueryErmcpInnerHolderDetails:
  18123. get:
  18124. parameters:
  18125. - description: 资金账户ID
  18126. in: query
  18127. name: accountID
  18128. required: true
  18129. type: integer
  18130. - description: 商品ID
  18131. in: query
  18132. name: goodsID
  18133. type: integer
  18134. - description: 买卖方向,0:买 1:卖
  18135. in: query
  18136. name: buyOrSell
  18137. type: integer
  18138. produces:
  18139. - application/json
  18140. responses:
  18141. "200":
  18142. description: OK
  18143. schema:
  18144. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18145. "500":
  18146. description: Internal Server Error
  18147. schema:
  18148. $ref: '#/definitions/app.Response'
  18149. security:
  18150. - ApiKeyAuth: []
  18151. summary: 获取企业风管期货内部持仓单信息
  18152. tags:
  18153. - 企业风险管理(app)
  18154. /Ermcp/QueryErmcpOrderDetails:
  18155. get:
  18156. parameters:
  18157. - description: 资金账户ID
  18158. in: query
  18159. name: accountID
  18160. required: true
  18161. type: integer
  18162. produces:
  18163. - application/json
  18164. responses:
  18165. "200":
  18166. description: OK
  18167. schema:
  18168. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18169. "500":
  18170. description: Internal Server Error
  18171. schema:
  18172. $ref: '#/definitions/app.Response'
  18173. security:
  18174. - ApiKeyAuth: []
  18175. summary: 获取企业风管期货委托单信息
  18176. tags:
  18177. - 企业风险管理(app)
  18178. /Ermcp/QueryErmcpTradeDetails:
  18179. get:
  18180. parameters:
  18181. - description: 资金账户ID
  18182. in: query
  18183. name: accountID
  18184. required: true
  18185. type: integer
  18186. - description: 商品ID
  18187. in: query
  18188. name: goodsID
  18189. type: integer
  18190. - description: 买卖方向,0:买 1:卖
  18191. in: query
  18192. name: buyOrSell
  18193. type: integer
  18194. - description: 关联委托单号
  18195. in: query
  18196. name: orderID
  18197. type: integer
  18198. produces:
  18199. - application/json
  18200. responses:
  18201. "200":
  18202. description: OK
  18203. schema:
  18204. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18205. "500":
  18206. description: Internal Server Error
  18207. schema:
  18208. $ref: '#/definitions/app.Response'
  18209. security:
  18210. - ApiKeyAuth: []
  18211. summary: 获取企业风管期货成交单信息
  18212. tags:
  18213. - 企业风险管理(app)
  18214. /Ermcp/QueryErmcpTradePosition:
  18215. get:
  18216. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18217. parameters:
  18218. - description: 资金账户ID
  18219. in: query
  18220. name: accountID
  18221. required: true
  18222. type: integer
  18223. - description: 所属市场ID
  18224. in: query
  18225. name: marketID
  18226. type: integer
  18227. produces:
  18228. - application/json
  18229. responses:
  18230. "200":
  18231. description: OK
  18232. schema:
  18233. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18234. "500":
  18235. description: Internal Server Error
  18236. schema:
  18237. $ref: '#/definitions/app.Response'
  18238. security:
  18239. - ApiKeyAuth: []
  18240. summary: 获取企业风管期货持仓头寸信息
  18241. tags:
  18242. - 企业风险管理(app)
  18243. /Ermcp/QueryExposureDetail:
  18244. get:
  18245. parameters:
  18246. - description: 所属机构ID
  18247. in: query
  18248. name: areaUserId
  18249. required: true
  18250. type: integer
  18251. - description: 套保商品
  18252. in: query
  18253. name: middleGoodsId
  18254. required: true
  18255. type: integer
  18256. produces:
  18257. - application/json
  18258. responses:
  18259. "200":
  18260. description: OK
  18261. schema:
  18262. items:
  18263. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18264. type: array
  18265. "500":
  18266. description: Internal Server Error
  18267. schema:
  18268. $ref: '#/definitions/app.Response'
  18269. security:
  18270. - ApiKeyAuth: []
  18271. summary: 查询敞口现货明细
  18272. tags:
  18273. - 企业风险管理(app)
  18274. /Ermcp/QueryExposureGoods:
  18275. get:
  18276. parameters:
  18277. - description: 套保商品id
  18278. in: query
  18279. name: middlegoodsid
  18280. required: true
  18281. type: integer
  18282. produces:
  18283. - application/json
  18284. responses:
  18285. "200":
  18286. description: OK
  18287. schema:
  18288. items:
  18289. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18290. type: array
  18291. "500":
  18292. description: Internal Server Error
  18293. schema:
  18294. $ref: '#/definitions/app.Response'
  18295. security:
  18296. - ApiKeyAuth: []
  18297. summary: 查询敞口主力合约
  18298. tags:
  18299. - 企业风险管理(app)
  18300. /Ermcp/QueryExposureHedgePosition:
  18301. get:
  18302. parameters:
  18303. - description: 用户id
  18304. in: query
  18305. name: userid
  18306. required: true
  18307. type: integer
  18308. produces:
  18309. - application/json
  18310. responses:
  18311. "200":
  18312. description: OK
  18313. schema:
  18314. items:
  18315. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18316. type: array
  18317. "500":
  18318. description: Internal Server Error
  18319. schema:
  18320. $ref: '#/definitions/app.Response'
  18321. security:
  18322. - ApiKeyAuth: []
  18323. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18324. tags:
  18325. - 企业风险管理(app)
  18326. /Ermcp/QueryExposureHedgePositionDetail:
  18327. get:
  18328. parameters:
  18329. - description: 所属机构ID
  18330. in: query
  18331. name: userid
  18332. required: true
  18333. type: integer
  18334. - description: 商品id
  18335. in: query
  18336. name: goodsId
  18337. required: true
  18338. type: integer
  18339. produces:
  18340. - application/json
  18341. responses:
  18342. "200":
  18343. description: OK
  18344. schema:
  18345. items:
  18346. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18347. type: array
  18348. "500":
  18349. description: Internal Server Error
  18350. schema:
  18351. $ref: '#/definitions/app.Response'
  18352. security:
  18353. - ApiKeyAuth: []
  18354. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18355. tags:
  18356. - 企业风险管理(app)
  18357. /Ermcp/QueryExposureSpot:
  18358. get:
  18359. parameters:
  18360. - description: 所属机构ID
  18361. in: query
  18362. name: areaUserId
  18363. required: true
  18364. type: integer
  18365. produces:
  18366. - application/json
  18367. responses:
  18368. "200":
  18369. description: OK
  18370. schema:
  18371. items:
  18372. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18373. type: array
  18374. "500":
  18375. description: Internal Server Error
  18376. schema:
  18377. $ref: '#/definitions/app.Response'
  18378. security:
  18379. - ApiKeyAuth: []
  18380. summary: 查询敞口现货头寸(敞口/现货头寸)
  18381. tags:
  18382. - 企业风险管理(app)
  18383. /Ermcp/QueryExposureSpotDetail:
  18384. get:
  18385. parameters:
  18386. - description: 所属机构ID
  18387. in: query
  18388. name: areaUserId
  18389. required: true
  18390. type: integer
  18391. - description: 现货品种ID
  18392. in: query
  18393. name: wrstandardId
  18394. required: true
  18395. type: integer
  18396. produces:
  18397. - application/json
  18398. responses:
  18399. "200":
  18400. description: OK
  18401. schema:
  18402. items:
  18403. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  18404. type: array
  18405. "500":
  18406. description: Internal Server Error
  18407. schema:
  18408. $ref: '#/definitions/app.Response'
  18409. security:
  18410. - ApiKeyAuth: []
  18411. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18412. tags:
  18413. - 企业风险管理(app)
  18414. /Ermcp/QueryFuturesCompany:
  18415. get:
  18416. produces:
  18417. - application/json
  18418. responses:
  18419. "200":
  18420. description: OK
  18421. schema:
  18422. items:
  18423. $ref: '#/definitions/models.ErmcpFuturesCompany'
  18424. type: array
  18425. "500":
  18426. description: Internal Server Error
  18427. schema:
  18428. $ref: '#/definitions/app.Response'
  18429. security:
  18430. - ApiKeyAuth: []
  18431. summary: 查询期货公司
  18432. tags:
  18433. - 企业风险管理(app)
  18434. /Ermcp/QueryGGConvertConfig:
  18435. get:
  18436. parameters:
  18437. - description: 品种id(不填则查所有)
  18438. in: query
  18439. name: goodsgroupid
  18440. type: integer
  18441. produces:
  18442. - application/json
  18443. responses:
  18444. "200":
  18445. description: OK
  18446. schema:
  18447. items:
  18448. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  18449. type: array
  18450. "500":
  18451. description: Internal Server Error
  18452. schema:
  18453. $ref: '#/definitions/app.Response'
  18454. security:
  18455. - ApiKeyAuth: []
  18456. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  18457. tags:
  18458. - 企业风险管理(app)
  18459. /Ermcp/QueryGoodsBrand:
  18460. get:
  18461. parameters:
  18462. - description: 用户ID
  18463. in: query
  18464. name: userid
  18465. required: true
  18466. type: integer
  18467. - description: 现货商品ID
  18468. in: query
  18469. name: wrstandardid
  18470. type: integer
  18471. produces:
  18472. - application/json
  18473. responses:
  18474. "200":
  18475. description: OK
  18476. schema:
  18477. items:
  18478. $ref: '#/definitions/models.ErmcpGoodsBrand'
  18479. type: array
  18480. "500":
  18481. description: Internal Server Error
  18482. schema:
  18483. $ref: '#/definitions/app.Response'
  18484. security:
  18485. - ApiKeyAuth: []
  18486. summary: 查询商品品牌
  18487. tags:
  18488. - 企业风险管理(app)
  18489. /Ermcp/QueryGoodsModel:
  18490. get:
  18491. parameters:
  18492. - description: 用户ID
  18493. in: query
  18494. name: userid
  18495. required: true
  18496. type: integer
  18497. produces:
  18498. - application/json
  18499. responses:
  18500. "200":
  18501. description: OK
  18502. schema:
  18503. items:
  18504. $ref: '#/definitions/models.ErmcpGoodsModel'
  18505. type: array
  18506. "500":
  18507. description: Internal Server Error
  18508. schema:
  18509. $ref: '#/definitions/app.Response'
  18510. security:
  18511. - ApiKeyAuth: []
  18512. summary: 查询商品型号
  18513. tags:
  18514. - 企业风险管理(app)
  18515. /Ermcp/QueryHisExposure:
  18516. get:
  18517. parameters:
  18518. - description: 用户id
  18519. in: query
  18520. name: userid
  18521. required: true
  18522. type: integer
  18523. - description: 每个品种记录数
  18524. in: query
  18525. name: lastNum
  18526. required: true
  18527. type: integer
  18528. produces:
  18529. - application/json
  18530. responses:
  18531. "200":
  18532. description: OK
  18533. schema:
  18534. items:
  18535. $ref: '#/definitions/ermcp.HisExposureRsp'
  18536. type: array
  18537. "500":
  18538. description: Internal Server Error
  18539. schema:
  18540. $ref: '#/definitions/app.Response'
  18541. security:
  18542. - ApiKeyAuth: []
  18543. summary: 查询历史敞口(菜单:敞口/历史敞口)
  18544. tags:
  18545. - 企业风险管理(app)
  18546. /Ermcp/QueryMiddleGoods:
  18547. get:
  18548. parameters:
  18549. - description: 所属机构ID
  18550. in: query
  18551. name: userid
  18552. required: true
  18553. type: integer
  18554. - description: 状态 0-停用 1-正常
  18555. in: query
  18556. name: status
  18557. required: true
  18558. type: integer
  18559. produces:
  18560. - application/json
  18561. responses:
  18562. "200":
  18563. description: OK
  18564. schema:
  18565. items:
  18566. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  18567. type: array
  18568. "500":
  18569. description: Internal Server Error
  18570. schema:
  18571. $ref: '#/definitions/app.Response'
  18572. security:
  18573. - ApiKeyAuth: []
  18574. summary: 查询套保品种(菜单:套保品种)
  18575. tags:
  18576. - 企业风险管理(app)
  18577. /Ermcp/QueryMiddleGoodsChangeLog:
  18578. get:
  18579. parameters:
  18580. - description: 所属机构ID
  18581. in: query
  18582. name: userid
  18583. required: true
  18584. type: integer
  18585. - description: 套保品种id
  18586. in: query
  18587. name: middlegoodsid
  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/ermcp.QryMGChangeLogRsp'
  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. - 企业风险管理(app)
  18608. /Ermcp/QueryMiddleGoodsDetail:
  18609. get:
  18610. parameters:
  18611. - description: 所属机构ID
  18612. in: query
  18613. name: userid
  18614. required: true
  18615. type: integer
  18616. - description: 套保品种id
  18617. in: query
  18618. name: middlegoodsid
  18619. type: integer
  18620. produces:
  18621. - application/json
  18622. responses:
  18623. "200":
  18624. description: OK
  18625. schema:
  18626. items:
  18627. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  18628. type: array
  18629. "500":
  18630. description: Internal Server Error
  18631. schema:
  18632. $ref: '#/definitions/app.Response'
  18633. security:
  18634. - ApiKeyAuth: []
  18635. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  18636. tags:
  18637. - 企业风险管理(app)
  18638. /Ermcp/QueryPendingAuditInfo:
  18639. get:
  18640. parameters:
  18641. - description: 用户ID
  18642. in: query
  18643. name: UserId
  18644. required: true
  18645. type: integer
  18646. produces:
  18647. - application/json
  18648. responses:
  18649. "200":
  18650. description: OK
  18651. schema:
  18652. items:
  18653. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  18654. type: array
  18655. "500":
  18656. description: Internal Server Error
  18657. schema:
  18658. $ref: '#/definitions/app.Response'
  18659. security:
  18660. - ApiKeyAuth: []
  18661. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  18662. tags:
  18663. - 企业风险管理(app)
  18664. /Ermcp/QueryRealtimeExposure:
  18665. get:
  18666. parameters:
  18667. - description: 所属机构ID
  18668. in: query
  18669. name: userid
  18670. required: true
  18671. type: integer
  18672. produces:
  18673. - application/json
  18674. responses:
  18675. "200":
  18676. description: OK
  18677. schema:
  18678. items:
  18679. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  18680. type: array
  18681. "500":
  18682. description: Internal Server Error
  18683. schema:
  18684. $ref: '#/definitions/app.Response'
  18685. security:
  18686. - ApiKeyAuth: []
  18687. summary: 查询实时敞口
  18688. tags:
  18689. - 企业风险管理(app)
  18690. /Ermcp/QueryRealtimeExposurePosition:
  18691. get:
  18692. parameters:
  18693. - description: 用户id
  18694. in: query
  18695. name: userid
  18696. required: true
  18697. type: integer
  18698. - description: 套保商品ID
  18699. in: query
  18700. name: middleGoodsId
  18701. required: true
  18702. type: integer
  18703. produces:
  18704. - application/json
  18705. responses:
  18706. "200":
  18707. description: OK
  18708. schema:
  18709. items:
  18710. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  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. - 企业风险管理(app)
  18721. /Ermcp/QueryRoleMenu:
  18722. get:
  18723. parameters:
  18724. - description: 登录ID
  18725. in: query
  18726. name: loginid
  18727. required: true
  18728. type: integer
  18729. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  18730. in: query
  18731. name: menutype
  18732. type: integer
  18733. produces:
  18734. - application/json
  18735. responses:
  18736. "200":
  18737. description: OK
  18738. schema:
  18739. items:
  18740. $ref: '#/definitions/models.RoleMenu'
  18741. type: array
  18742. "500":
  18743. description: Internal Server Error
  18744. schema:
  18745. $ref: '#/definitions/app.Response'
  18746. security:
  18747. - ApiKeyAuth: []
  18748. summary: 查询角色菜单和权限
  18749. tags:
  18750. - 企业风险管理(app)
  18751. /Ermcp/QueryTradeConfigTMP:
  18752. get:
  18753. parameters:
  18754. - description: 所属机构id
  18755. in: query
  18756. name: areauserid
  18757. type: integer
  18758. produces:
  18759. - application/json
  18760. responses:
  18761. "200":
  18762. description: OK
  18763. schema:
  18764. items:
  18765. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  18766. type: array
  18767. "500":
  18768. description: Internal Server Error
  18769. schema:
  18770. $ref: '#/definitions/app.Response'
  18771. security:
  18772. - ApiKeyAuth: []
  18773. summary: 查询交易模板配置
  18774. tags:
  18775. - 企业风险管理(app)
  18776. /Ermcp/QueryUserInfo:
  18777. get:
  18778. parameters:
  18779. - description: 所属机构用户ID
  18780. in: query
  18781. name: MemberUserID
  18782. required: true
  18783. type: integer
  18784. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  18785. in: query
  18786. name: queryType
  18787. required: true
  18788. type: integer
  18789. produces:
  18790. - application/json
  18791. responses:
  18792. "200":
  18793. description: OK
  18794. schema:
  18795. items:
  18796. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  18797. type: array
  18798. "500":
  18799. description: Internal Server Error
  18800. schema:
  18801. $ref: '#/definitions/app.Response'
  18802. security:
  18803. - ApiKeyAuth: []
  18804. summary: 查询客户资料
  18805. tags:
  18806. - 企业风险管理(app)
  18807. /Ermcp/QueryWarehouseInfo:
  18808. get:
  18809. parameters:
  18810. - description: 用户ID
  18811. in: query
  18812. name: userid
  18813. required: true
  18814. type: integer
  18815. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  18816. in: query
  18817. name: status
  18818. type: string
  18819. produces:
  18820. - application/json
  18821. responses:
  18822. "200":
  18823. description: OK
  18824. schema:
  18825. items:
  18826. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  18827. type: array
  18828. "500":
  18829. description: Internal Server Error
  18830. schema:
  18831. $ref: '#/definitions/app.Response'
  18832. security:
  18833. - ApiKeyAuth: []
  18834. summary: 查询仓库信息
  18835. tags:
  18836. - 企业风险管理(app)
  18837. /Ermcp3/QryAreaExpourseContractDetail:
  18838. get:
  18839. parameters:
  18840. - description: 用户ID
  18841. in: query
  18842. name: userid
  18843. required: true
  18844. type: integer
  18845. - description: 套保商品id
  18846. in: query
  18847. name: middlegoodsid
  18848. required: true
  18849. type: integer
  18850. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18851. in: query
  18852. name: cycletype
  18853. required: true
  18854. type: integer
  18855. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18856. 全(0)【原值】
  18857. in: query
  18858. name: cycletime
  18859. required: true
  18860. type: string
  18861. produces:
  18862. - application/json
  18863. responses:
  18864. "200":
  18865. description: OK
  18866. schema:
  18867. items:
  18868. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  18869. type: array
  18870. "500":
  18871. description: Internal Server Error
  18872. schema:
  18873. $ref: '#/definitions/app.Response'
  18874. security:
  18875. - ApiKeyAuth: []
  18876. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  18877. tags:
  18878. - 企业风险管理v3(app)
  18879. /Ermcp3/QryAreaExpourseFutuDetail:
  18880. get:
  18881. parameters:
  18882. - description: 用户ID
  18883. in: query
  18884. name: userid
  18885. required: true
  18886. type: integer
  18887. - description: 套保商品id
  18888. in: query
  18889. name: middlegoodsid
  18890. required: true
  18891. type: integer
  18892. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18893. in: query
  18894. name: cycletype
  18895. required: true
  18896. type: integer
  18897. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18898. 全(0)【原值】
  18899. in: query
  18900. name: cycletime
  18901. required: true
  18902. type: string
  18903. produces:
  18904. - application/json
  18905. responses:
  18906. "200":
  18907. description: OK
  18908. schema:
  18909. items:
  18910. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  18911. type: array
  18912. "500":
  18913. description: Internal Server Error
  18914. schema:
  18915. $ref: '#/definitions/app.Response'
  18916. security:
  18917. - ApiKeyAuth: []
  18918. summary: 查询敞口期货明细(敞口报表/期货明细)
  18919. tags:
  18920. - 企业风险管理v3(app)
  18921. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  18922. get:
  18923. parameters:
  18924. - description: 用户ID
  18925. in: query
  18926. name: userid
  18927. required: true
  18928. type: integer
  18929. - description: 套保商品id
  18930. in: query
  18931. name: middlegoodsid
  18932. required: true
  18933. type: integer
  18934. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18935. in: query
  18936. name: cycletype
  18937. required: true
  18938. type: integer
  18939. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18940. 全(0)【原值】
  18941. in: query
  18942. name: cycletime
  18943. required: true
  18944. type: string
  18945. produces:
  18946. - application/json
  18947. responses:
  18948. "200":
  18949. description: OK
  18950. schema:
  18951. items:
  18952. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  18953. type: array
  18954. "500":
  18955. description: Internal Server Error
  18956. schema:
  18957. $ref: '#/definitions/app.Response'
  18958. security:
  18959. - ApiKeyAuth: []
  18960. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  18961. tags:
  18962. - 企业风险管理v3(app)
  18963. /Ermcp3/QryAreaExpourseParamChLogDetail:
  18964. get:
  18965. parameters:
  18966. - description: 用户ID
  18967. in: query
  18968. name: userid
  18969. required: true
  18970. type: integer
  18971. - description: 套保商品id
  18972. in: query
  18973. name: middlegoodsid
  18974. required: true
  18975. type: integer
  18976. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18977. in: query
  18978. name: cycletype
  18979. required: true
  18980. type: integer
  18981. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18982. 全(0)【原值】
  18983. in: query
  18984. name: cycletime
  18985. required: true
  18986. type: string
  18987. produces:
  18988. - application/json
  18989. responses:
  18990. "200":
  18991. description: OK
  18992. schema:
  18993. items:
  18994. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  18995. type: array
  18996. "500":
  18997. description: Internal Server Error
  18998. schema:
  18999. $ref: '#/definitions/app.Response'
  19000. security:
  19001. - ApiKeyAuth: []
  19002. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19003. tags:
  19004. - 企业风险管理v3(app)
  19005. /Ermcp3/QryAreaExpourseReport:
  19006. get:
  19007. parameters:
  19008. - description: 用户ID
  19009. in: query
  19010. name: userid
  19011. required: true
  19012. type: integer
  19013. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19014. in: query
  19015. name: querytype
  19016. required: true
  19017. type: integer
  19018. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19019. in: query
  19020. name: cycletype
  19021. required: true
  19022. type: integer
  19023. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19024. 全(0)【原值】
  19025. in: query
  19026. name: cycletime
  19027. required: true
  19028. type: string
  19029. produces:
  19030. - application/json
  19031. responses:
  19032. "200":
  19033. description: OK
  19034. schema:
  19035. items:
  19036. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19037. type: array
  19038. "500":
  19039. description: Internal Server Error
  19040. schema:
  19041. $ref: '#/definitions/app.Response'
  19042. security:
  19043. - ApiKeyAuth: []
  19044. summary: 查询敞口报表
  19045. tags:
  19046. - 企业风险管理v3(app)
  19047. /Ermcp3/QryAreaSpotplReport:
  19048. get:
  19049. parameters:
  19050. - description: 用户ID
  19051. in: query
  19052. name: userid
  19053. required: true
  19054. type: integer
  19055. - description: 查询类型 1-报表 2-报表明细
  19056. in: query
  19057. name: querytype
  19058. required: true
  19059. type: integer
  19060. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19061. in: query
  19062. name: cycletype
  19063. required: true
  19064. type: integer
  19065. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19066. 全(0)【原值】
  19067. in: query
  19068. name: cycletime
  19069. required: true
  19070. type: string
  19071. - description: 现货品种id(明细必填)
  19072. in: query
  19073. name: deliverygoodsid
  19074. type: integer
  19075. - description: 币种id(明细必填)
  19076. in: query
  19077. name: currencyid
  19078. type: integer
  19079. produces:
  19080. - application/json
  19081. responses:
  19082. "200":
  19083. description: OK
  19084. schema:
  19085. items:
  19086. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  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/QryAreaStockReport:
  19098. get:
  19099. parameters:
  19100. - description: 用户ID
  19101. in: query
  19102. name: userid
  19103. required: true
  19104. type: integer
  19105. - description: 查询类型 1-报表 2-报表明细
  19106. in: query
  19107. name: querytype
  19108. required: true
  19109. type: integer
  19110. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19111. in: query
  19112. name: cycletype
  19113. required: true
  19114. type: integer
  19115. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19116. 全(0)【原值】
  19117. in: query
  19118. name: cycletime
  19119. required: true
  19120. type: string
  19121. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19122. in: query
  19123. name: sumfields
  19124. type: string
  19125. - description: 品种ID
  19126. in: query
  19127. name: deliverygoodsid
  19128. type: integer
  19129. - description: 品类ID
  19130. in: query
  19131. name: wrstandardid
  19132. type: integer
  19133. - description: 品牌ID
  19134. in: query
  19135. name: spotgoodsbrandid
  19136. type: integer
  19137. - description: 仓库ID
  19138. in: query
  19139. name: warehouseinfoid
  19140. type: integer
  19141. produces:
  19142. - application/json
  19143. responses:
  19144. "200":
  19145. description: OK
  19146. schema:
  19147. items:
  19148. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19149. type: array
  19150. "500":
  19151. description: Internal Server Error
  19152. schema:
  19153. $ref: '#/definitions/app.Response'
  19154. security:
  19155. - ApiKeyAuth: []
  19156. summary: 查询库存报表
  19157. tags:
  19158. - 企业风险管理v3(app)
  19159. /Ermcp3/QryAreaSumPL:
  19160. get:
  19161. parameters:
  19162. - description: 用户ID
  19163. in: query
  19164. name: userid
  19165. required: true
  19166. type: integer
  19167. - description: 查询类型 1-报表 2-报表明细
  19168. in: query
  19169. name: querytype
  19170. required: true
  19171. type: integer
  19172. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19173. in: query
  19174. name: cycletype
  19175. required: true
  19176. type: integer
  19177. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19178. 全(0)【原值】
  19179. in: query
  19180. name: cycletime
  19181. required: true
  19182. type: string
  19183. - description: 币种id(明细必填)
  19184. in: query
  19185. name: currencyid
  19186. type: integer
  19187. produces:
  19188. - application/json
  19189. responses:
  19190. "200":
  19191. description: OK
  19192. schema:
  19193. items:
  19194. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19195. type: array
  19196. "500":
  19197. description: Internal Server Error
  19198. schema:
  19199. $ref: '#/definitions/app.Response'
  19200. security:
  19201. - ApiKeyAuth: []
  19202. summary: 查询汇总损益表
  19203. tags:
  19204. - 企业风险管理v3(app)
  19205. /Ermcp3/QryFinanceReport:
  19206. get:
  19207. parameters:
  19208. - description: 用户ID
  19209. in: query
  19210. name: userid
  19211. required: true
  19212. type: integer
  19213. - description: 查询类型 1-报表 2-报表明细
  19214. in: query
  19215. name: querytype
  19216. required: true
  19217. type: integer
  19218. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19219. in: query
  19220. name: cycletype
  19221. required: true
  19222. type: integer
  19223. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19224. 全(0)【原值】
  19225. in: query
  19226. name: cycletime
  19227. required: true
  19228. type: string
  19229. - description: 币种id(报表明细必填)
  19230. in: query
  19231. name: currencyid
  19232. type: integer
  19233. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19234. in: query
  19235. name: sumfields
  19236. type: string
  19237. produces:
  19238. - application/json
  19239. responses:
  19240. "200":
  19241. description: OK
  19242. schema:
  19243. items:
  19244. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19245. type: array
  19246. "500":
  19247. description: Internal Server Error
  19248. schema:
  19249. $ref: '#/definitions/app.Response'
  19250. security:
  19251. - ApiKeyAuth: []
  19252. summary: 查询财务报表
  19253. tags:
  19254. - 企业风险管理v3(app)
  19255. /Ermcp3/QryTaFutureDataReport:
  19256. get:
  19257. parameters:
  19258. - description: 用户ID
  19259. in: query
  19260. name: userid
  19261. required: true
  19262. type: integer
  19263. - description: 查询类型 1-报表 2-报表明细
  19264. in: query
  19265. name: querytype
  19266. required: true
  19267. type: integer
  19268. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19269. in: query
  19270. name: cycletype
  19271. required: true
  19272. type: integer
  19273. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19274. 全(0)【原值】
  19275. in: query
  19276. name: cycletime
  19277. required: true
  19278. type: string
  19279. - description: 币种id(查明细必填)
  19280. in: query
  19281. name: currencyid
  19282. type: integer
  19283. - description: 品种id(查明细必填)
  19284. in: query
  19285. name: goodsgroupid
  19286. type: integer
  19287. - description: 商品id(查明细必填)
  19288. in: query
  19289. name: goodsid
  19290. type: integer
  19291. - description: 买卖方向(查明细必填)
  19292. in: query
  19293. name: buyorsell
  19294. type: integer
  19295. produces:
  19296. - application/json
  19297. responses:
  19298. "200":
  19299. description: OK
  19300. schema:
  19301. items:
  19302. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  19303. type: array
  19304. "500":
  19305. description: Internal Server Error
  19306. schema:
  19307. $ref: '#/definitions/app.Response'
  19308. security:
  19309. - ApiKeyAuth: []
  19310. summary: 查询期货报表
  19311. tags:
  19312. - 企业风险管理v3(app)
  19313. /Ermcp3/QueryAreaStock:
  19314. get:
  19315. parameters:
  19316. - description: 用户ID
  19317. in: query
  19318. name: userid
  19319. required: true
  19320. type: integer
  19321. produces:
  19322. - application/json
  19323. responses:
  19324. "200":
  19325. description: OK
  19326. schema:
  19327. items:
  19328. $ref: '#/definitions/models.Ermcp3AreaStock'
  19329. type: array
  19330. "500":
  19331. description: Internal Server Error
  19332. schema:
  19333. $ref: '#/definitions/app.Response'
  19334. security:
  19335. - ApiKeyAuth: []
  19336. summary: 查询机构库存(库存管理/当前库存)
  19337. tags:
  19338. - 企业风险管理v3(app)
  19339. /Ermcp3/QueryAreaStockApply:
  19340. get:
  19341. parameters:
  19342. - description: 用户ID
  19343. in: query
  19344. name: userid
  19345. required: true
  19346. type: integer
  19347. - description: 用户类型 2-机构 7-企业成员
  19348. in: query
  19349. name: usertype
  19350. type: integer
  19351. - description: 现货商品ID
  19352. in: query
  19353. name: deliverygoodsid
  19354. type: integer
  19355. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19356. in: query
  19357. name: inouttype
  19358. type: string
  19359. - description: 合同ID
  19360. in: query
  19361. name: spotcontractid
  19362. type: integer
  19363. - description: 品类ID
  19364. in: query
  19365. name: wrstandardid
  19366. type: integer
  19367. - description: 品牌ID
  19368. in: query
  19369. name: spotgoodsbrandid
  19370. type: integer
  19371. - description: 仓库ID
  19372. in: query
  19373. name: warehouseinfoid
  19374. type: integer
  19375. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19376. in: query
  19377. name: applystatus
  19378. type: string
  19379. produces:
  19380. - application/json
  19381. responses:
  19382. "200":
  19383. description: OK
  19384. schema:
  19385. items:
  19386. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  19387. type: array
  19388. "500":
  19389. description: Internal Server Error
  19390. schema:
  19391. $ref: '#/definitions/app.Response'
  19392. security:
  19393. - ApiKeyAuth: []
  19394. summary: 查询库存申请(出入库记录|库存审核)
  19395. tags:
  19396. - 企业风险管理v3(app)
  19397. /Ermcp3/QueryAreaStockApplySum:
  19398. get:
  19399. parameters:
  19400. - description: 合同ID
  19401. in: query
  19402. name: spotcontractid
  19403. required: true
  19404. type: integer
  19405. produces:
  19406. - application/json
  19407. responses:
  19408. "200":
  19409. description: OK
  19410. schema:
  19411. items:
  19412. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  19413. type: array
  19414. "500":
  19415. description: Internal Server Error
  19416. schema:
  19417. $ref: '#/definitions/app.Response'
  19418. security:
  19419. - ApiKeyAuth: []
  19420. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  19421. tags:
  19422. - 企业风险管理v3(app)
  19423. /Ermcp3/QueryDGFactoryItem:
  19424. get:
  19425. parameters:
  19426. - description: 用户id
  19427. in: query
  19428. name: userid
  19429. type: integer
  19430. - description: 用户类型 2-机构 7-企业成员
  19431. in: query
  19432. name: usertype
  19433. type: integer
  19434. - description: 选择项ID(SEQ_DGFACTORYITEM)
  19435. in: query
  19436. name: dgfactoryitemid
  19437. type: integer
  19438. - description: 现货品种ID
  19439. in: query
  19440. name: deliverygoodsid
  19441. type: integer
  19442. - description: 要素项类型
  19443. in: query
  19444. name: dgfactoryitemtypeid
  19445. type: integer
  19446. - description: 顺序
  19447. in: query
  19448. name: orderindex
  19449. type: integer
  19450. produces:
  19451. - application/json
  19452. responses:
  19453. "200":
  19454. description: OK
  19455. schema:
  19456. items:
  19457. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  19458. type: array
  19459. "500":
  19460. description: Internal Server Error
  19461. schema:
  19462. $ref: '#/definitions/app.Response'
  19463. security:
  19464. - ApiKeyAuth: []
  19465. summary: 查询品种要素定义项
  19466. tags:
  19467. - 企业风险管理v3(app)
  19468. /Ermcp3/QueryDeliveryGoods:
  19469. get:
  19470. parameters:
  19471. - description: 用户id
  19472. in: query
  19473. name: userid
  19474. required: true
  19475. type: integer
  19476. - description: 用户类型 2-机构 7-企业成员
  19477. in: query
  19478. name: usertype
  19479. type: integer
  19480. - description: 排除已配置的业务类型商品 1-套保 2-套利
  19481. in: query
  19482. name: excludecfg
  19483. type: integer
  19484. produces:
  19485. - application/json
  19486. responses:
  19487. "200":
  19488. description: OK
  19489. schema:
  19490. items:
  19491. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  19492. type: array
  19493. "500":
  19494. description: Internal Server Error
  19495. schema:
  19496. $ref: '#/definitions/app.Response'
  19497. security:
  19498. - ApiKeyAuth: []
  19499. summary: 查询现货商品
  19500. tags:
  19501. - 企业风险管理v3(app)
  19502. /Ermcp3/QueryDeliveryGoodsDetail:
  19503. get:
  19504. parameters:
  19505. - description: 用户id
  19506. in: query
  19507. name: userid
  19508. required: true
  19509. type: integer
  19510. - description: 用户类型 2-机构 7-企业成员
  19511. in: query
  19512. name: usertype
  19513. type: integer
  19514. - description: 现货商品id
  19515. in: query
  19516. name: deliverygoodsid
  19517. type: integer
  19518. produces:
  19519. - application/json
  19520. responses:
  19521. "200":
  19522. description: OK
  19523. schema:
  19524. items:
  19525. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  19526. type: array
  19527. "500":
  19528. description: Internal Server Error
  19529. schema:
  19530. $ref: '#/definitions/app.Response'
  19531. security:
  19532. - ApiKeyAuth: []
  19533. summary: 查询现货商品详情
  19534. tags:
  19535. - 企业风险管理v3(app)
  19536. /Ermcp3/QueryExposureDetail:
  19537. get:
  19538. parameters:
  19539. - description: 用户id
  19540. in: query
  19541. name: userid
  19542. required: true
  19543. type: integer
  19544. - description: 用户类型 2-机构 7-企业成员
  19545. in: query
  19546. name: usertype
  19547. type: integer
  19548. - description: 套保商品
  19549. in: query
  19550. name: middlegoodsid
  19551. required: true
  19552. type: integer
  19553. produces:
  19554. - application/json
  19555. responses:
  19556. "200":
  19557. description: OK
  19558. schema:
  19559. items:
  19560. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  19561. type: array
  19562. "500":
  19563. description: Internal Server Error
  19564. schema:
  19565. $ref: '#/definitions/app.Response'
  19566. security:
  19567. - ApiKeyAuth: []
  19568. summary: 查询敞口现货明细
  19569. tags:
  19570. - 企业风险管理v3(app)
  19571. /Ermcp3/QueryExposureSpot:
  19572. get:
  19573. parameters:
  19574. - description: 用户id
  19575. in: query
  19576. name: userid
  19577. required: true
  19578. type: integer
  19579. - description: 用户类型 2-机构 7-企业成员
  19580. in: query
  19581. name: usertype
  19582. type: integer
  19583. produces:
  19584. - application/json
  19585. responses:
  19586. "200":
  19587. description: OK
  19588. schema:
  19589. items:
  19590. $ref: '#/definitions/models.Ermcp3AreaSpot'
  19591. type: array
  19592. "500":
  19593. description: Internal Server Error
  19594. schema:
  19595. $ref: '#/definitions/app.Response'
  19596. security:
  19597. - ApiKeyAuth: []
  19598. summary: 查询敞口现货头寸(敞口/现货头寸)
  19599. tags:
  19600. - 企业风险管理v3(app)
  19601. /Ermcp3/QueryExposureSpotDetail:
  19602. get:
  19603. parameters:
  19604. - description: 用户id
  19605. in: query
  19606. name: userid
  19607. required: true
  19608. type: integer
  19609. - description: 用户类型 2-机构 7-企业成员
  19610. in: query
  19611. name: usertype
  19612. type: integer
  19613. - description: 现货品种ID
  19614. in: query
  19615. name: deliverygoodsid
  19616. required: true
  19617. type: integer
  19618. produces:
  19619. - application/json
  19620. responses:
  19621. "200":
  19622. description: OK
  19623. schema:
  19624. items:
  19625. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  19626. type: array
  19627. "500":
  19628. description: Internal Server Error
  19629. schema:
  19630. $ref: '#/definitions/app.Response'
  19631. security:
  19632. - ApiKeyAuth: []
  19633. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19634. tags:
  19635. - 企业风险管理v3(app)
  19636. /Ermcp3/QueryGoodsGroup:
  19637. get:
  19638. parameters:
  19639. - description: 用户id
  19640. in: query
  19641. name: userid
  19642. required: true
  19643. type: integer
  19644. - description: 用户类型 2-机构 7-企业成员
  19645. in: query
  19646. name: usertype
  19647. type: integer
  19648. - description: 排除套保品中已关联的商品组 1-排除
  19649. in: query
  19650. name: excludecfg
  19651. type: integer
  19652. produces:
  19653. - application/json
  19654. responses:
  19655. "200":
  19656. description: OK
  19657. schema:
  19658. items:
  19659. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  19660. type: array
  19661. "500":
  19662. description: Internal Server Error
  19663. schema:
  19664. $ref: '#/definitions/app.Response'
  19665. security:
  19666. - ApiKeyAuth: []
  19667. summary: 查询期货商品组
  19668. tags:
  19669. - 企业风险管理v3(app)
  19670. /Ermcp3/QueryGoodsWrstandard:
  19671. get:
  19672. parameters:
  19673. - description: 用户id
  19674. in: query
  19675. name: userid
  19676. required: true
  19677. type: integer
  19678. - description: 用户类型 2-机构 7-企业成员
  19679. in: query
  19680. name: usertype
  19681. type: integer
  19682. - description: 现货商品id
  19683. in: query
  19684. name: deliverygoodsid
  19685. type: integer
  19686. produces:
  19687. - application/json
  19688. responses:
  19689. "200":
  19690. description: OK
  19691. schema:
  19692. items:
  19693. $ref: '#/definitions/models.Ermcp3Wrstandard'
  19694. type: array
  19695. "500":
  19696. description: Internal Server Error
  19697. schema:
  19698. $ref: '#/definitions/app.Response'
  19699. security:
  19700. - ApiKeyAuth: []
  19701. summary: 查询商品品类
  19702. tags:
  19703. - 企业风险管理v3(app)
  19704. /Ermcp3/QueryGoodsbrand:
  19705. get:
  19706. parameters:
  19707. - description: 用户id
  19708. in: query
  19709. name: userid
  19710. required: true
  19711. type: integer
  19712. - description: 用户类型 2-机构 7-企业成员
  19713. in: query
  19714. name: usertype
  19715. type: integer
  19716. produces:
  19717. - application/json
  19718. responses:
  19719. "200":
  19720. description: OK
  19721. schema:
  19722. items:
  19723. $ref: '#/definitions/models.Ermcp3Brand'
  19724. type: array
  19725. "500":
  19726. description: Internal Server Error
  19727. schema:
  19728. $ref: '#/definitions/app.Response'
  19729. security:
  19730. - ApiKeyAuth: []
  19731. summary: 查询商品品牌
  19732. tags:
  19733. - 企业风险管理v3(app)
  19734. /Ermcp3/QueryHedgePlan:
  19735. get:
  19736. parameters:
  19737. - description: 用户ID
  19738. in: query
  19739. name: userid
  19740. required: true
  19741. type: integer
  19742. - description: 用户类型 2-机构 7-企业成员
  19743. in: query
  19744. name: usertype
  19745. type: integer
  19746. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  19747. in: query
  19748. name: hedgeplanstatus
  19749. required: true
  19750. type: string
  19751. produces:
  19752. - application/json
  19753. responses:
  19754. "200":
  19755. description: OK
  19756. schema:
  19757. items:
  19758. $ref: '#/definitions/models.Ermcp3HedgePlan'
  19759. type: array
  19760. "500":
  19761. description: Internal Server Error
  19762. schema:
  19763. $ref: '#/definitions/app.Response'
  19764. security:
  19765. - ApiKeyAuth: []
  19766. summary: 查询套保计划
  19767. tags:
  19768. - 企业风险管理v3(app)
  19769. /Ermcp3/QueryMiddleGoodsDetail:
  19770. get:
  19771. parameters:
  19772. - description: 用户id
  19773. in: query
  19774. name: userid
  19775. required: true
  19776. type: integer
  19777. - description: 用户类型 2-机构 7-企业成员
  19778. in: query
  19779. name: usertype
  19780. type: integer
  19781. - description: 套保品种id
  19782. in: query
  19783. name: middlegoodsid
  19784. type: integer
  19785. produces:
  19786. - application/json
  19787. responses:
  19788. "200":
  19789. description: OK
  19790. schema:
  19791. items:
  19792. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  19793. type: array
  19794. "500":
  19795. description: Internal Server Error
  19796. schema:
  19797. $ref: '#/definitions/app.Response'
  19798. security:
  19799. - ApiKeyAuth: []
  19800. summary: 查询套保品种详情(套保品种/商品详情)
  19801. tags:
  19802. - 企业风险管理v3(app)
  19803. /Ermcp3/QueryRootUserAccount:
  19804. get:
  19805. parameters:
  19806. - description: 用户ID
  19807. in: query
  19808. name: userid
  19809. required: true
  19810. type: integer
  19811. produces:
  19812. - application/json
  19813. responses:
  19814. "200":
  19815. description: OK
  19816. schema:
  19817. items:
  19818. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  19819. type: array
  19820. "500":
  19821. description: Internal Server Error
  19822. schema:
  19823. $ref: '#/definitions/app.Response'
  19824. security:
  19825. - ApiKeyAuth: []
  19826. summary: 查询顶级用户信息
  19827. tags:
  19828. - 企业风险管理v3(app)
  19829. /Ermcp3/QuerySpotContract:
  19830. get:
  19831. parameters:
  19832. - description: 用户id
  19833. in: query
  19834. name: userid
  19835. required: true
  19836. type: integer
  19837. - description: 用户类型 2-机构 7-企业成员
  19838. in: query
  19839. name: usertype
  19840. type: integer
  19841. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  19842. in: query
  19843. name: querytype
  19844. required: true
  19845. type: integer
  19846. - description: 合同ID(SpotContractId)
  19847. in: query
  19848. name: contractid
  19849. type: string
  19850. produces:
  19851. - application/json
  19852. responses:
  19853. "200":
  19854. description: OK
  19855. schema:
  19856. items:
  19857. $ref: '#/definitions/models.Ermcp3Contract'
  19858. type: array
  19859. "500":
  19860. description: Internal Server Error
  19861. schema:
  19862. $ref: '#/definitions/app.Response'
  19863. security:
  19864. - ApiKeyAuth: []
  19865. summary: 查询现货合同
  19866. tags:
  19867. - 企业风险管理v3(app)
  19868. /Ermcp3/QuerySpotContractBS:
  19869. get:
  19870. parameters:
  19871. - description: 用户id
  19872. in: query
  19873. name: userid
  19874. required: true
  19875. type: integer
  19876. - description: 用户类型 2-机构 7-企业成员
  19877. in: query
  19878. name: usertype
  19879. type: integer
  19880. - description: 合同类型 1-采购, -1-销售
  19881. in: query
  19882. name: contracttype
  19883. required: true
  19884. type: integer
  19885. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  19886. in: query
  19887. name: querytype
  19888. required: true
  19889. type: integer
  19890. - description: 合同ID(SpotContractId)
  19891. in: query
  19892. name: contractid
  19893. type: string
  19894. produces:
  19895. - application/json
  19896. responses:
  19897. "200":
  19898. description: OK
  19899. schema:
  19900. items:
  19901. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  19902. type: array
  19903. "500":
  19904. description: Internal Server Error
  19905. schema:
  19906. $ref: '#/definitions/app.Response'
  19907. security:
  19908. - ApiKeyAuth: []
  19909. summary: 查询合同(采购/销售)
  19910. tags:
  19911. - 企业风险管理v3(app)
  19912. /Ermcp3/QuerySpotGoodsPrice:
  19913. get:
  19914. parameters:
  19915. - description: 用户ID
  19916. in: query
  19917. name: userid
  19918. required: true
  19919. type: integer
  19920. produces:
  19921. - application/json
  19922. responses:
  19923. "200":
  19924. description: OK
  19925. schema:
  19926. items:
  19927. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  19928. type: array
  19929. "500":
  19930. description: Internal Server Error
  19931. schema:
  19932. $ref: '#/definitions/app.Response'
  19933. security:
  19934. - ApiKeyAuth: []
  19935. summary: 查询现货市价(现货市价)
  19936. tags:
  19937. - 企业风险管理v3(app)
  19938. /Ermcp3/QuerySpotGoodsPriceLog:
  19939. get:
  19940. parameters:
  19941. - description: 用户ID
  19942. in: query
  19943. name: userid
  19944. required: true
  19945. type: integer
  19946. - description: 现货商品ID
  19947. in: query
  19948. name: deliverygoodsid
  19949. required: true
  19950. type: integer
  19951. - description: 品牌ID
  19952. in: query
  19953. name: brandid
  19954. type: integer
  19955. - description: 品类ID
  19956. in: query
  19957. name: wrstandardid
  19958. type: integer
  19959. produces:
  19960. - application/json
  19961. responses:
  19962. "200":
  19963. description: OK
  19964. schema:
  19965. items:
  19966. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  19967. type: array
  19968. "500":
  19969. description: Internal Server Error
  19970. schema:
  19971. $ref: '#/definitions/app.Response'
  19972. security:
  19973. - ApiKeyAuth: []
  19974. summary: 查询现货市价详情(现货市价/详情)
  19975. tags:
  19976. - 企业风险管理v3(app)
  19977. /Erms2/QueryArbitrageStrategy:
  19978. get:
  19979. parameters:
  19980. - description: 账户ID
  19981. in: query
  19982. name: userid
  19983. required: true
  19984. type: integer
  19985. - description: 商品组ID(品种ID)
  19986. in: query
  19987. name: goodsgroupid
  19988. type: string
  19989. produces:
  19990. - application/json
  19991. responses:
  19992. "200":
  19993. description: OK
  19994. schema:
  19995. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  19996. "500":
  19997. description: Internal Server Error
  19998. schema:
  19999. $ref: '#/definitions/app.Response'
  20000. security:
  20001. - ApiKeyAuth: []
  20002. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20003. tags:
  20004. - 风险管理
  20005. /Erms2/QueryInnerTradeDetail:
  20006. get:
  20007. parameters:
  20008. - description: 资金账户
  20009. in: query
  20010. name: accountid
  20011. required: true
  20012. type: integer
  20013. produces:
  20014. - application/json
  20015. responses:
  20016. "200":
  20017. description: OK
  20018. schema:
  20019. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20020. "500":
  20021. description: Internal Server Error
  20022. schema:
  20023. $ref: '#/definitions/app.Response'
  20024. security:
  20025. - ApiKeyAuth: []
  20026. summary: 查询内部成交单信息
  20027. tags:
  20028. - 风险管理
  20029. /Erms2/QuerySpotContract:
  20030. get:
  20031. parameters:
  20032. - description: 策略申请ID
  20033. in: query
  20034. name: asapplyid
  20035. required: true
  20036. type: integer
  20037. - description: 现货合同ID
  20038. in: query
  20039. name: spotcontractid
  20040. type: integer
  20041. produces:
  20042. - application/json
  20043. responses:
  20044. "200":
  20045. description: OK
  20046. schema:
  20047. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20048. "500":
  20049. description: Internal Server Error
  20050. schema:
  20051. $ref: '#/definitions/app.Response'
  20052. security:
  20053. - ApiKeyAuth: []
  20054. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20055. tags:
  20056. - 风险管理
  20057. /Erms3/AddErms2ASApply:
  20058. post:
  20059. parameters:
  20060. - description: 申请参数
  20061. in: body
  20062. name: jsonBody
  20063. required: true
  20064. schema:
  20065. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20066. produces:
  20067. - application/json
  20068. responses:
  20069. "200":
  20070. description: OK
  20071. schema:
  20072. $ref: '#/definitions/app.Response'
  20073. "500":
  20074. description: Internal Server Error
  20075. schema:
  20076. $ref: '#/definitions/app.Response'
  20077. security:
  20078. - ApiKeyAuth: []
  20079. summary: 新增期现套利业务申请
  20080. tags:
  20081. - 风险管理v3
  20082. /Erms3/AddErms2SpotTradeApply:
  20083. post:
  20084. parameters:
  20085. - description: 申请参数
  20086. in: body
  20087. name: jsonBody
  20088. required: true
  20089. schema:
  20090. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20091. produces:
  20092. - application/json
  20093. responses:
  20094. "200":
  20095. description: OK
  20096. schema:
  20097. $ref: '#/definitions/app.Response'
  20098. "500":
  20099. description: Internal Server Error
  20100. schema:
  20101. $ref: '#/definitions/app.Response'
  20102. security:
  20103. - ApiKeyAuth: []
  20104. summary: 新增现货贸易业务申请
  20105. tags:
  20106. - 风险管理v3
  20107. /Erms3/AddSpotContractApply:
  20108. post:
  20109. parameters:
  20110. - description: 申请参数
  20111. in: body
  20112. name: jsonBody
  20113. required: true
  20114. schema:
  20115. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20116. produces:
  20117. - application/json
  20118. responses:
  20119. "200":
  20120. description: OK
  20121. schema:
  20122. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20123. "500":
  20124. description: Internal Server Error
  20125. schema:
  20126. $ref: '#/definitions/app.Response'
  20127. security:
  20128. - ApiKeyAuth: []
  20129. summary: 新增现货合同申请
  20130. tags:
  20131. - 风险管理v3
  20132. /Erms3/AddUserInfoApply:
  20133. post:
  20134. parameters:
  20135. - description: 用户信息
  20136. in: body
  20137. name: jsonBody
  20138. required: true
  20139. schema:
  20140. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20141. produces:
  20142. - application/json
  20143. responses:
  20144. "200":
  20145. description: OK
  20146. schema:
  20147. $ref: '#/definitions/app.Response'
  20148. "500":
  20149. description: Internal Server Error
  20150. schema:
  20151. $ref: '#/definitions/app.Response'
  20152. security:
  20153. - ApiKeyAuth: []
  20154. summary: 新增客户申请
  20155. tags:
  20156. - 风险管理v3
  20157. /Erms3/DeleteUserInfoApply:
  20158. get:
  20159. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20160. parameters:
  20161. - description: 用户ID
  20162. in: query
  20163. name: userID
  20164. required: true
  20165. type: integer
  20166. produces:
  20167. - application/json
  20168. responses:
  20169. "200":
  20170. description: OK
  20171. schema:
  20172. $ref: '#/definitions/app.Response'
  20173. "500":
  20174. description: Internal Server Error
  20175. schema:
  20176. $ref: '#/definitions/app.Response'
  20177. security:
  20178. - ApiKeyAuth: []
  20179. summary: 删除客户申请
  20180. tags:
  20181. - 风险管理v3
  20182. /Erms3/ModifyUserInfoApply:
  20183. post:
  20184. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20185. int, "userstate": 2 }'
  20186. parameters:
  20187. - description: 用户信息
  20188. in: body
  20189. name: jsonBody
  20190. required: true
  20191. schema:
  20192. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20193. produces:
  20194. - application/json
  20195. responses:
  20196. "200":
  20197. description: OK
  20198. schema:
  20199. $ref: '#/definitions/app.Response'
  20200. "500":
  20201. description: Internal Server Error
  20202. schema:
  20203. $ref: '#/definitions/app.Response'
  20204. security:
  20205. - ApiKeyAuth: []
  20206. summary: 修改客户申请
  20207. tags:
  20208. - 风险管理v3
  20209. /Erms3/QueryBusinessInfo:
  20210. get:
  20211. parameters:
  20212. - description: 资金账号ID列表,用逗号分隔
  20213. in: query
  20214. name: accountids
  20215. required: true
  20216. type: string
  20217. - description: 状态,0为未结束 1为已结束
  20218. in: query
  20219. name: status
  20220. required: true
  20221. type: integer
  20222. produces:
  20223. - application/json
  20224. responses:
  20225. "200":
  20226. description: OK
  20227. schema:
  20228. items:
  20229. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20230. type: array
  20231. "500":
  20232. description: Internal Server Error
  20233. schema:
  20234. $ref: '#/definitions/app.Response'
  20235. security:
  20236. - ApiKeyAuth: []
  20237. summary: 查询业务表单数据
  20238. tags:
  20239. - 风险管理v3
  20240. /Erms3/QueryPendingAuditContract:
  20241. get:
  20242. parameters:
  20243. - description: 资金账号ID列表,逗号隔开
  20244. in: query
  20245. name: accountids
  20246. required: true
  20247. type: string
  20248. - description: 合同类型 1-采购 -1-销售
  20249. in: query
  20250. name: contracttype
  20251. required: true
  20252. type: integer
  20253. - description: 合同模式 1-普通 2-回购
  20254. in: query
  20255. name: contractmode
  20256. required: true
  20257. type: integer
  20258. produces:
  20259. - application/json
  20260. responses:
  20261. "200":
  20262. description: OK
  20263. schema:
  20264. items:
  20265. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20266. type: array
  20267. "500":
  20268. description: Internal Server Error
  20269. schema:
  20270. $ref: '#/definitions/app.Response'
  20271. security:
  20272. - ApiKeyAuth: []
  20273. summary: 查询待审核合同
  20274. tags:
  20275. - 风险管理v3
  20276. /Erms3/QueryPendingBusiness:
  20277. get:
  20278. parameters:
  20279. - description: 资金账号ID列表,逗号隔开
  20280. in: query
  20281. name: accountids
  20282. required: true
  20283. type: string
  20284. produces:
  20285. - application/json
  20286. responses:
  20287. "200":
  20288. description: OK
  20289. schema:
  20290. items:
  20291. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20292. type: array
  20293. "500":
  20294. description: Internal Server Error
  20295. schema:
  20296. $ref: '#/definitions/app.Response'
  20297. security:
  20298. - ApiKeyAuth: []
  20299. summary: 查询待审核基差贸易业务
  20300. tags:
  20301. - 风险管理v3
  20302. /Erms3/QuerySpotContractAppleForm:
  20303. get:
  20304. parameters:
  20305. - description: 登录账号
  20306. in: query
  20307. name: loginID
  20308. required: true
  20309. type: integer
  20310. produces:
  20311. - application/json
  20312. responses:
  20313. "200":
  20314. description: OK
  20315. schema:
  20316. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20317. "500":
  20318. description: Internal Server Error
  20319. schema:
  20320. $ref: '#/definitions/app.Response'
  20321. security:
  20322. - ApiKeyAuth: []
  20323. summary: 查询合同申请表单数据
  20324. tags:
  20325. - 风险管理v3
  20326. /Erms3/QuerySpotContractDetail:
  20327. get:
  20328. parameters:
  20329. - description: 资金账号ID列表,用逗号分隔
  20330. in: query
  20331. name: accountids
  20332. required: true
  20333. type: string
  20334. - description: 合同类型,1为采购合同 -1为销售合同
  20335. in: query
  20336. name: contracttype
  20337. required: true
  20338. type: integer
  20339. - description: 合同模式,1为普通合同 2为回购销售合同
  20340. in: query
  20341. name: contractmode
  20342. required: true
  20343. type: integer
  20344. - description: 状态,0为履约中 1为已完成
  20345. in: query
  20346. name: status
  20347. required: true
  20348. type: integer
  20349. produces:
  20350. - application/json
  20351. responses:
  20352. "200":
  20353. description: OK
  20354. schema:
  20355. items:
  20356. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20357. type: array
  20358. "500":
  20359. description: Internal Server Error
  20360. schema:
  20361. $ref: '#/definitions/app.Response'
  20362. security:
  20363. - ApiKeyAuth: []
  20364. summary: 查询合同详细信息
  20365. tags:
  20366. - 风险管理v3
  20367. /Erms3/QueryUserInfoApplies:
  20368. get:
  20369. parameters:
  20370. - description: 页码
  20371. in: query
  20372. name: page
  20373. type: integer
  20374. - description: 每页条数
  20375. in: query
  20376. name: pagesize
  20377. type: integer
  20378. - description: 客户名称,支持模糊查询
  20379. in: query
  20380. name: userName
  20381. type: string
  20382. produces:
  20383. - application/json
  20384. responses:
  20385. "200":
  20386. description: OK
  20387. schema:
  20388. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  20389. "500":
  20390. description: Internal Server Error
  20391. schema:
  20392. $ref: '#/definitions/app.Response'
  20393. security:
  20394. - ApiKeyAuth: []
  20395. summary: 客户申请信息查询
  20396. tags:
  20397. - 风险管理v3
  20398. /Erms3/QueryUserInfos:
  20399. get:
  20400. parameters:
  20401. - description: 页码
  20402. in: query
  20403. name: page
  20404. type: integer
  20405. - description: 每页条数
  20406. in: query
  20407. name: pagesize
  20408. type: integer
  20409. - description: 客户名称,支持模糊查询
  20410. in: query
  20411. name: userName
  20412. type: string
  20413. produces:
  20414. - application/json
  20415. responses:
  20416. "200":
  20417. description: OK
  20418. schema:
  20419. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  20420. "500":
  20421. description: Internal Server Error
  20422. schema:
  20423. $ref: '#/definitions/app.Response'
  20424. security:
  20425. - ApiKeyAuth: []
  20426. summary: 客户信息查询
  20427. tags:
  20428. - 风险管理v3
  20429. /HSBY/GetHsbyMyCount:
  20430. get:
  20431. description: 说明: 不包括已完成的数量。
  20432. parameters:
  20433. - description: 资金账户列表,格式:1,2,3
  20434. in: query
  20435. name: accountIDs
  20436. required: true
  20437. type: string
  20438. produces:
  20439. - application/json
  20440. responses:
  20441. "200":
  20442. description: OK
  20443. schema:
  20444. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  20445. "500":
  20446. description: Internal Server Error
  20447. schema:
  20448. $ref: '#/definitions/app.Response'
  20449. security:
  20450. - ApiKeyAuth: []
  20451. summary: 获取我的订单与包裹数量
  20452. tags:
  20453. - 定制【海商报业】
  20454. /HSBY/QueryClientFixedADConfigs:
  20455. get:
  20456. produces:
  20457. - application/json
  20458. responses:
  20459. "200":
  20460. description: OK
  20461. schema:
  20462. $ref: '#/definitions/models.Clientfixedadconfig'
  20463. "500":
  20464. description: Internal Server Error
  20465. schema:
  20466. $ref: '#/definitions/app.Response'
  20467. security:
  20468. - ApiKeyAuth: []
  20469. summary: 获取终端固定广告配置
  20470. tags:
  20471. - 定制【海商报业】
  20472. /HSBY/QueryHsbyBuyMyTradeDetail:
  20473. get:
  20474. parameters:
  20475. - description: 页码
  20476. in: query
  20477. name: page
  20478. type: integer
  20479. - description: 每页条数
  20480. in: query
  20481. name: pagesize
  20482. type: integer
  20483. - description: 资金账户列表,格式:1,2,3
  20484. in: query
  20485. name: accountIDs
  20486. required: true
  20487. type: string
  20488. produces:
  20489. - application/json
  20490. responses:
  20491. "200":
  20492. description: OK
  20493. schema:
  20494. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  20495. "500":
  20496. description: Internal Server Error
  20497. schema:
  20498. $ref: '#/definitions/app.Response'
  20499. security:
  20500. - ApiKeyAuth: []
  20501. summary: 查询"我的订单 - 已完成"单据信息
  20502. tags:
  20503. - 定制【海商报业】
  20504. /HSBY/QueryHsbyGoodsOrderDetails:
  20505. get:
  20506. description: 说明:查询结果已按委托价格和委托时间排序
  20507. parameters:
  20508. - description: 商品ID
  20509. in: query
  20510. name: goodsID
  20511. required: true
  20512. type: integer
  20513. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  20514. in: query
  20515. name: accountIDs
  20516. type: string
  20517. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  20518. in: query
  20519. name: buyOrSell
  20520. type: integer
  20521. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  20522. in: query
  20523. name: price
  20524. type: number
  20525. - description: 档位,不传则默认为3档
  20526. in: query
  20527. name: speed
  20528. type: integer
  20529. produces:
  20530. - application/json
  20531. responses:
  20532. "200":
  20533. description: OK
  20534. schema:
  20535. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  20536. "500":
  20537. description: Internal Server Error
  20538. schema:
  20539. $ref: '#/definitions/app.Response'
  20540. security:
  20541. - ApiKeyAuth: []
  20542. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  20543. tags:
  20544. - 定制【海商报业】
  20545. /HSBY/QueryHsbyListingGoodsDetail:
  20546. get:
  20547. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  20548. parameters:
  20549. - description: 商品ID
  20550. in: query
  20551. name: goodsID
  20552. required: true
  20553. type: integer
  20554. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  20555. in: query
  20556. name: accountID
  20557. type: integer
  20558. produces:
  20559. - application/json
  20560. responses:
  20561. "200":
  20562. description: OK
  20563. schema:
  20564. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  20565. "500":
  20566. description: Internal Server Error
  20567. schema:
  20568. $ref: '#/definitions/app.Response'
  20569. security:
  20570. - ApiKeyAuth: []
  20571. summary: 查询二级市场(挂牌点选)商品信息详情
  20572. tags:
  20573. - 定制【海商报业】
  20574. /HSBY/QueryHsbyMarketGoodsDetail:
  20575. get:
  20576. parameters:
  20577. - description: 委托单号
  20578. in: query
  20579. name: orderID
  20580. required: true
  20581. type: integer
  20582. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  20583. in: query
  20584. name: accountID
  20585. type: integer
  20586. produces:
  20587. - application/json
  20588. responses:
  20589. "200":
  20590. description: OK
  20591. schema:
  20592. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20593. "500":
  20594. description: Internal Server Error
  20595. schema:
  20596. $ref: '#/definitions/app.Response'
  20597. security:
  20598. - ApiKeyAuth: []
  20599. summary: 查询三级市场(商城)商品信息详情
  20600. tags:
  20601. - 定制【海商报业】
  20602. /HSBY/QueryHsbyMarketGoodses:
  20603. get:
  20604. parameters:
  20605. - description: 页码
  20606. in: query
  20607. name: page
  20608. type: integer
  20609. - description: 每页条数
  20610. in: query
  20611. name: pagesize
  20612. type: integer
  20613. - description: 市场ID列表,格式:1,2,3
  20614. in: query
  20615. name: marketIDs
  20616. required: true
  20617. type: string
  20618. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  20619. in: query
  20620. name: accountID
  20621. required: true
  20622. type: integer
  20623. - description: 类别ID
  20624. in: query
  20625. name: categoryID
  20626. type: integer
  20627. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20628. in: query
  20629. name: goodsIDs
  20630. type: string
  20631. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  20632. in: query
  20633. name: couponTypeID
  20634. type: integer
  20635. produces:
  20636. - application/json
  20637. responses:
  20638. "200":
  20639. description: OK
  20640. schema:
  20641. $ref: '#/definitions/models.HsbyMarketGoods'
  20642. "500":
  20643. description: Internal Server Error
  20644. schema:
  20645. $ref: '#/definitions/app.Response'
  20646. security:
  20647. - ApiKeyAuth: []
  20648. summary: 查询特卖商品列表(三级商城)
  20649. tags:
  20650. - 定制【海商报业】
  20651. /HSBY/QueryHsbyMarkets:
  20652. get:
  20653. produces:
  20654. - application/json
  20655. responses:
  20656. "200":
  20657. description: OK
  20658. schema:
  20659. $ref: '#/definitions/models.HsbyMarketInfo'
  20660. "500":
  20661. description: Internal Server Error
  20662. schema:
  20663. $ref: '#/definitions/app.Response'
  20664. security:
  20665. - ApiKeyAuth: []
  20666. summary: 查询海商报业相关市场信息
  20667. tags:
  20668. - 定制【海商报业】
  20669. /HSBY/QueryHsbyMyBuyOrderDetails:
  20670. get:
  20671. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  20672. parameters:
  20673. - description: 资金账户列表,格式:1,2,3
  20674. in: query
  20675. name: accountIDs
  20676. required: true
  20677. type: string
  20678. produces:
  20679. - application/json
  20680. responses:
  20681. "200":
  20682. description: OK
  20683. schema:
  20684. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  20685. "500":
  20686. description: Internal Server Error
  20687. schema:
  20688. $ref: '#/definitions/app.Response'
  20689. security:
  20690. - ApiKeyAuth: []
  20691. summary: 查询“我的订单”信息
  20692. tags:
  20693. - 定制【海商报业】
  20694. /HSBY/QueryHsbyMyGoods:
  20695. get:
  20696. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  20697. parameters:
  20698. - description: 资金账户列表,格式:1,2,3
  20699. in: query
  20700. name: accountIDs
  20701. required: true
  20702. type: string
  20703. produces:
  20704. - application/json
  20705. responses:
  20706. "200":
  20707. description: OK
  20708. schema:
  20709. $ref: '#/definitions/models.HsbyMyGoods'
  20710. "500":
  20711. description: Internal Server Error
  20712. schema:
  20713. $ref: '#/definitions/app.Response'
  20714. security:
  20715. - ApiKeyAuth: []
  20716. summary: 查询“我的商品”信息
  20717. tags:
  20718. - 定制【海商报业】
  20719. /HSBY/QueryHsbyMyPackages:
  20720. get:
  20721. parameters:
  20722. - description: 资金账户列表,格式:1,2,3
  20723. in: query
  20724. name: accountIDs
  20725. required: true
  20726. type: string
  20727. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20728. in: query
  20729. name: takeOrderStatus
  20730. type: integer
  20731. produces:
  20732. - application/json
  20733. responses:
  20734. "200":
  20735. description: OK
  20736. schema:
  20737. $ref: '#/definitions/models.HsbyMyPackage'
  20738. "500":
  20739. description: Internal Server Error
  20740. schema:
  20741. $ref: '#/definitions/app.Response'
  20742. security:
  20743. - ApiKeyAuth: []
  20744. summary: 查询我的包裹信息
  20745. tags:
  20746. - 定制【海商报业】
  20747. /HSBY/QueryHsbyPreGoodsDetail:
  20748. get:
  20749. parameters:
  20750. - description: 商品ID
  20751. in: query
  20752. name: goodsID
  20753. required: true
  20754. type: integer
  20755. - description: 资金账户,主要用于获取预售商品购买上限
  20756. in: query
  20757. name: accountID
  20758. type: integer
  20759. produces:
  20760. - application/json
  20761. responses:
  20762. "200":
  20763. description: OK
  20764. schema:
  20765. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  20766. "500":
  20767. description: Internal Server Error
  20768. schema:
  20769. $ref: '#/definitions/app.Response'
  20770. security:
  20771. - ApiKeyAuth: []
  20772. summary: 查询一级市场(预售)商品信息详情
  20773. tags:
  20774. - 定制【海商报业】
  20775. /HSBY/QueryHsbyPreGoodses:
  20776. get:
  20777. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  20778. parameters:
  20779. - description: 页码
  20780. in: query
  20781. name: page
  20782. type: integer
  20783. - description: 每页条数
  20784. in: query
  20785. name: pagesize
  20786. type: integer
  20787. - description: 市场ID列表,格式:1,2,3
  20788. in: query
  20789. name: marketIDs
  20790. required: true
  20791. type: string
  20792. - description: 目的地(省)ID
  20793. in: query
  20794. name: descProvinceID
  20795. type: integer
  20796. - description: 目的地(市)ID
  20797. in: query
  20798. name: descCityID
  20799. type: integer
  20800. produces:
  20801. - application/json
  20802. responses:
  20803. "200":
  20804. description: OK
  20805. schema:
  20806. $ref: '#/definitions/models.HsbyPreGoods'
  20807. "500":
  20808. description: Internal Server Error
  20809. schema:
  20810. $ref: '#/definitions/app.Response'
  20811. security:
  20812. - ApiKeyAuth: []
  20813. summary: 查询新品上市商品列表(一级市场预售)
  20814. tags:
  20815. - 定制【海商报业】
  20816. /HSBY/QueryHsbySellMyDetails:
  20817. get:
  20818. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  20819. parameters:
  20820. - description: 页码
  20821. in: query
  20822. name: page
  20823. type: integer
  20824. - description: 每页条数
  20825. in: query
  20826. name: pagesize
  20827. type: integer
  20828. - description: 资金账户列表,格式:1,2,3
  20829. in: query
  20830. name: accountIDs
  20831. required: true
  20832. type: string
  20833. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  20834. in: query
  20835. name: orderType
  20836. type: integer
  20837. produces:
  20838. - application/json
  20839. responses:
  20840. "200":
  20841. description: OK
  20842. schema:
  20843. $ref: '#/definitions/models.HsbySellMyDetail'
  20844. "500":
  20845. description: Internal Server Error
  20846. schema:
  20847. $ref: '#/definitions/app.Response'
  20848. security:
  20849. - ApiKeyAuth: []
  20850. summary: 查询"我的闲置"单据信息
  20851. tags:
  20852. - 定制【海商报业】
  20853. /HSBY/QueryHsbyTopGoodses:
  20854. get:
  20855. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  20856. parameters:
  20857. - description: 页码
  20858. in: query
  20859. name: page
  20860. type: integer
  20861. - description: 每页条数
  20862. in: query
  20863. name: pagesize
  20864. type: integer
  20865. - description: 市场ID列表,格式:1,2,3
  20866. in: query
  20867. name: marketIDs
  20868. required: true
  20869. type: string
  20870. - description: 目的地(省)ID
  20871. in: query
  20872. name: descProvinceID
  20873. type: integer
  20874. - description: 目的地(市)ID
  20875. in: query
  20876. name: descCityID
  20877. type: integer
  20878. produces:
  20879. - application/json
  20880. responses:
  20881. "200":
  20882. description: OK
  20883. schema:
  20884. $ref: '#/definitions/models.HsbyTopGoods'
  20885. "500":
  20886. description: Internal Server Error
  20887. schema:
  20888. $ref: '#/definitions/app.Response'
  20889. security:
  20890. - ApiKeyAuth: []
  20891. summary: 查询热卖商品列表(二级市场挂牌点选)
  20892. tags:
  20893. - 定制【海商报业】
  20894. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  20895. get:
  20896. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  20897. parameters:
  20898. - description: 商品ID
  20899. in: query
  20900. name: goodsID
  20901. required: true
  20902. type: integer
  20903. produces:
  20904. - application/json
  20905. responses:
  20906. "200":
  20907. description: OK
  20908. schema:
  20909. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20910. "500":
  20911. description: Internal Server Error
  20912. schema:
  20913. $ref: '#/definitions/app.Response'
  20914. security:
  20915. - ApiKeyAuth: []
  20916. summary: 查询游客三级市场(商城)商品信息详情
  20917. tags:
  20918. - 定制【海商报业】
  20919. /HSBY/QueryHsbyVisitorMarketGoodses:
  20920. get:
  20921. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  20922. parameters:
  20923. - description: 页码
  20924. in: query
  20925. name: page
  20926. type: integer
  20927. - description: 每页条数
  20928. in: query
  20929. name: pagesize
  20930. type: integer
  20931. - description: 市场ID列表,格式:1,2,3
  20932. in: query
  20933. name: marketIDs
  20934. required: true
  20935. type: string
  20936. - description: 类别ID
  20937. in: query
  20938. name: categoryID
  20939. type: integer
  20940. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20941. in: query
  20942. name: goodsIDs
  20943. type: string
  20944. produces:
  20945. - application/json
  20946. responses:
  20947. "200":
  20948. description: OK
  20949. schema:
  20950. $ref: '#/definitions/models.HsbyMarketGoods'
  20951. "500":
  20952. description: Internal Server Error
  20953. schema:
  20954. $ref: '#/definitions/app.Response'
  20955. security:
  20956. - ApiKeyAuth: []
  20957. summary: 查询游客特卖商品列表(三级商城)
  20958. tags:
  20959. - 定制【海商报业】
  20960. /HSBY/QueryMyCollectionOrders:
  20961. get:
  20962. parameters:
  20963. - description: 页码
  20964. in: query
  20965. name: page
  20966. type: integer
  20967. - description: 每页条数
  20968. in: query
  20969. name: pagesize
  20970. type: integer
  20971. - description: 资金账户,格式:1,2,3
  20972. in: query
  20973. name: accountIDs
  20974. required: true
  20975. type: string
  20976. produces:
  20977. - application/json
  20978. responses:
  20979. "200":
  20980. description: OK
  20981. schema:
  20982. $ref: '#/definitions/models.HsbySellCollectionOrder'
  20983. "500":
  20984. description: Internal Server Error
  20985. schema:
  20986. $ref: '#/definitions/app.Response'
  20987. security:
  20988. - ApiKeyAuth: []
  20989. summary: 我的闲置中收款信息查询
  20990. tags:
  20991. - 定制【海商报业】
  20992. /HSBY/QueryMyCouponHolds:
  20993. get:
  20994. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  20995. parameters:
  20996. - description: 资金账户列表,格式:1,2,3
  20997. in: query
  20998. name: accountIDs
  20999. required: true
  21000. type: string
  21001. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21002. in: query
  21003. name: holdStatus
  21004. type: string
  21005. produces:
  21006. - application/json
  21007. responses:
  21008. "200":
  21009. description: OK
  21010. schema:
  21011. $ref: '#/definitions/models.MyCouponHold'
  21012. "500":
  21013. description: Internal Server Error
  21014. schema:
  21015. $ref: '#/definitions/app.Response'
  21016. security:
  21017. - ApiKeyAuth: []
  21018. summary: 我的优惠卷持仓查询
  21019. tags:
  21020. - 定制【海商报业】
  21021. /HSBY/QueryMyCoupons:
  21022. get:
  21023. parameters:
  21024. - description: 资金账户列表,格式:1,2,3
  21025. in: query
  21026. name: accountIDs
  21027. required: true
  21028. type: string
  21029. - description: 商品ID, 一般与sellUserID配套传入
  21030. in: query
  21031. name: goodsID
  21032. type: integer
  21033. - description: 卖方UserID
  21034. in: query
  21035. name: sellUserID
  21036. type: integer
  21037. produces:
  21038. - application/json
  21039. responses:
  21040. "200":
  21041. description: OK
  21042. schema:
  21043. $ref: '#/definitions/models.MyCoupon'
  21044. "500":
  21045. description: Internal Server Error
  21046. schema:
  21047. $ref: '#/definitions/app.Response'
  21048. security:
  21049. - ApiKeyAuth: []
  21050. summary: 我的优惠卷查询
  21051. tags:
  21052. - 定制【海商报业】
  21053. /HSBY/QueryMyPayOrders:
  21054. get:
  21055. parameters:
  21056. - description: 页码
  21057. in: query
  21058. name: page
  21059. type: integer
  21060. - description: 每页条数
  21061. in: query
  21062. name: pagesize
  21063. type: integer
  21064. - description: 资金账户列表,格式:1,2,3
  21065. in: query
  21066. name: accountIDs
  21067. required: true
  21068. type: string
  21069. - description: 买方委托单号
  21070. in: query
  21071. name: buyOrderID
  21072. type: integer
  21073. - description: 卖方委托单号
  21074. in: query
  21075. name: sellOrderID
  21076. type: integer
  21077. produces:
  21078. - application/json
  21079. responses:
  21080. "200":
  21081. description: OK
  21082. schema:
  21083. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21084. "500":
  21085. description: Internal Server Error
  21086. schema:
  21087. $ref: '#/definitions/app.Response'
  21088. security:
  21089. - ApiKeyAuth: []
  21090. summary: 获取我的订单中待付款信息
  21091. tags:
  21092. - 定制【海商报业】
  21093. /HSBY/QueryMyUsedCoupon:
  21094. get:
  21095. parameters:
  21096. - description: 资金账户列表,格式:1,2,3
  21097. in: query
  21098. name: accountIDs
  21099. required: true
  21100. type: string
  21101. produces:
  21102. - application/json
  21103. responses:
  21104. "200":
  21105. description: OK
  21106. schema:
  21107. $ref: '#/definitions/models.MyUsedCoupon'
  21108. "500":
  21109. description: Internal Server Error
  21110. schema:
  21111. $ref: '#/definitions/app.Response'
  21112. security:
  21113. - ApiKeyAuth: []
  21114. summary: 已使用优惠卷查询
  21115. tags:
  21116. - 定制【海商报业】
  21117. /HSBY/QueryProvincesAndCities:
  21118. get:
  21119. description: 查询结果只包括二级市场商品已关连的省市信息。
  21120. parameters:
  21121. - description: 省ID
  21122. in: query
  21123. name: provinceID
  21124. type: integer
  21125. produces:
  21126. - application/json
  21127. responses:
  21128. "200":
  21129. description: OK
  21130. schema:
  21131. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21132. "500":
  21133. description: Internal Server Error
  21134. schema:
  21135. $ref: '#/definitions/app.Response'
  21136. security:
  21137. - ApiKeyAuth: []
  21138. summary: 查询省市信息(不包括区)
  21139. tags:
  21140. - 定制【海商报业】
  21141. /HSBY/SetHsbyMyPackagesStatus:
  21142. post:
  21143. parameters:
  21144. - description: 提货单号
  21145. in: query
  21146. name: takeOrderID
  21147. required: true
  21148. type: string
  21149. - description: 资金账号
  21150. in: query
  21151. name: accountID
  21152. required: true
  21153. type: integer
  21154. produces:
  21155. - application/json
  21156. responses:
  21157. "200":
  21158. description: OK
  21159. schema:
  21160. $ref: '#/definitions/app.Response'
  21161. "500":
  21162. description: Internal Server Error
  21163. schema:
  21164. $ref: '#/definitions/app.Response'
  21165. security:
  21166. - ApiKeyAuth: []
  21167. summary: 设置我的包裹已收货状态
  21168. tags:
  21169. - 定制【海商报业】
  21170. /Market/GetAllExExchanges:
  21171. get:
  21172. produces:
  21173. - application/json
  21174. responses:
  21175. "200":
  21176. description: OK
  21177. schema:
  21178. $ref: '#/definitions/models.Goods'
  21179. "500":
  21180. description: Internal Server Error
  21181. schema:
  21182. $ref: '#/definitions/app.Response'
  21183. security:
  21184. - ApiKeyAuth: []
  21185. summary: 获取所有外部交易所信息
  21186. tags:
  21187. - 通用市场
  21188. /Market/QueryGoodsesByLoginID:
  21189. get:
  21190. parameters:
  21191. - description: 登录账号
  21192. in: query
  21193. name: loginID
  21194. required: true
  21195. type: integer
  21196. - description: 市场ID列表,格式:1,2,3
  21197. in: query
  21198. name: marketIDs
  21199. type: string
  21200. produces:
  21201. - application/json
  21202. responses:
  21203. "200":
  21204. description: OK
  21205. schema:
  21206. $ref: '#/definitions/models.Goods'
  21207. "500":
  21208. description: Internal Server Error
  21209. schema:
  21210. $ref: '#/definitions/app.Response'
  21211. security:
  21212. - ApiKeyAuth: []
  21213. summary: 获取登录账号有权限的商品信息
  21214. tags:
  21215. - 通用市场
  21216. /Market/QueryMarketRun:
  21217. get:
  21218. parameters:
  21219. - description: 市场ID,不传返回所有
  21220. in: query
  21221. name: marketID
  21222. type: integer
  21223. produces:
  21224. - application/json
  21225. responses:
  21226. "200":
  21227. description: OK
  21228. schema:
  21229. $ref: '#/definitions/models.Marketrun'
  21230. "500":
  21231. description: Internal Server Error
  21232. schema:
  21233. $ref: '#/definitions/app.Response'
  21234. security:
  21235. - ApiKeyAuth: []
  21236. summary: 查询市场运行信息
  21237. tags:
  21238. - 通用市场
  21239. /Market/QueryMarketsByLoginID:
  21240. get:
  21241. parameters:
  21242. - description: 登录账号
  21243. in: query
  21244. name: loginID
  21245. required: true
  21246. type: integer
  21247. produces:
  21248. - application/json
  21249. responses:
  21250. "200":
  21251. description: OK
  21252. schema:
  21253. $ref: '#/definitions/models.Market'
  21254. "500":
  21255. description: Internal Server Error
  21256. schema:
  21257. $ref: '#/definitions/app.Response'
  21258. security:
  21259. - ApiKeyAuth: []
  21260. summary: 获取登录账号有权限的市场信息
  21261. tags:
  21262. - 通用市场
  21263. /Order/QueryHisTradeDetail:
  21264. get:
  21265. parameters:
  21266. - description: 资金账户 - 格式:1,2,3
  21267. in: query
  21268. name: accountID
  21269. required: true
  21270. type: string
  21271. - description: 成交单号
  21272. in: query
  21273. name: tradeID
  21274. type: integer
  21275. - description: 委托单号
  21276. in: query
  21277. name: orderID
  21278. type: integer
  21279. - description: 商品ID
  21280. in: query
  21281. name: goodsID
  21282. type: integer
  21283. - description: 交易模式 - 格式:1,2,3
  21284. in: query
  21285. name: tradeMode
  21286. type: string
  21287. - description: 委托单据类型
  21288. in: query
  21289. name: buildType
  21290. type: integer
  21291. - description: 成交类别 - 格式:1,2,3
  21292. in: query
  21293. name: tradeType
  21294. type: string
  21295. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21296. in: query
  21297. name: startDate
  21298. type: string
  21299. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21300. in: query
  21301. name: endDate
  21302. type: string
  21303. produces:
  21304. - application/json
  21305. responses:
  21306. "200":
  21307. description: OK
  21308. schema:
  21309. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21310. "500":
  21311. description: Internal Server Error
  21312. schema:
  21313. $ref: '#/definitions/app.Response'
  21314. security:
  21315. - ApiKeyAuth: []
  21316. summary: 历史成交单查询(合约市场)
  21317. tags:
  21318. - 通用单据
  21319. /Order/QueryHisTradeOrderDetail:
  21320. get:
  21321. parameters:
  21322. - description: 资金账户 - 格式:1,2,3
  21323. in: query
  21324. name: accountID
  21325. required: true
  21326. type: string
  21327. - description: 交易模式 - 格式:1,2,3
  21328. in: query
  21329. name: tradeMode
  21330. type: string
  21331. - description: 委托状态 - 格式:1,2,3
  21332. in: query
  21333. name: orderStatus
  21334. type: string
  21335. - description: 委托单号
  21336. in: query
  21337. name: orderID
  21338. type: integer
  21339. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21340. in: query
  21341. name: startDate
  21342. type: string
  21343. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21344. in: query
  21345. name: endDate
  21346. type: string
  21347. produces:
  21348. - application/json
  21349. responses:
  21350. "200":
  21351. description: OK
  21352. schema:
  21353. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21354. "500":
  21355. description: Internal Server Error
  21356. schema:
  21357. $ref: '#/definitions/app.Response'
  21358. security:
  21359. - ApiKeyAuth: []
  21360. summary: 历史委托单查询请求(合约市场)
  21361. tags:
  21362. - 通用单据
  21363. /Order/QueryTradeDetail:
  21364. get:
  21365. parameters:
  21366. - description: 资金账户 - 格式:1,2,3
  21367. in: query
  21368. name: accountID
  21369. required: true
  21370. type: string
  21371. - description: 成交单号
  21372. in: query
  21373. name: tradeID
  21374. type: integer
  21375. - description: 委托单号
  21376. in: query
  21377. name: orderID
  21378. type: integer
  21379. - description: 交易模式 - 格式:1,2,3
  21380. in: query
  21381. name: tradeMode
  21382. type: string
  21383. - description: 委托单据类型
  21384. in: query
  21385. name: buildType
  21386. type: integer
  21387. - description: 成交类别 - 格式:1,2,3
  21388. in: query
  21389. name: tradeType
  21390. type: string
  21391. - description: 商品ID
  21392. in: query
  21393. name: goodsID
  21394. type: integer
  21395. produces:
  21396. - application/json
  21397. responses:
  21398. "200":
  21399. description: OK
  21400. schema:
  21401. $ref: '#/definitions/order.QueryTradeDetailRsp'
  21402. "500":
  21403. description: Internal Server Error
  21404. schema:
  21405. $ref: '#/definitions/app.Response'
  21406. security:
  21407. - ApiKeyAuth: []
  21408. summary: 成交单查询(合约市场)
  21409. tags:
  21410. - 通用单据
  21411. /Order/QueryTradeOrderDetail:
  21412. get:
  21413. parameters:
  21414. - description: 资金账户 - 格式:1,2,3
  21415. in: query
  21416. name: accountID
  21417. required: true
  21418. type: string
  21419. - description: 交易模式 - 格式:1,2,3
  21420. in: query
  21421. name: tradeMode
  21422. type: string
  21423. - description: 委托状态 - 格式:1,2,3
  21424. in: query
  21425. name: orderStatus
  21426. type: string
  21427. - description: 委托单号
  21428. in: query
  21429. name: orderID
  21430. type: integer
  21431. produces:
  21432. - application/json
  21433. responses:
  21434. "200":
  21435. description: OK
  21436. schema:
  21437. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  21438. "500":
  21439. description: Internal Server Error
  21440. schema:
  21441. $ref: '#/definitions/app.Response'
  21442. security:
  21443. - ApiKeyAuth: []
  21444. summary: 委托单查询请求(合约市场)
  21445. tags:
  21446. - 通用单据
  21447. /Order/QueryTradePosition:
  21448. get:
  21449. parameters:
  21450. - description: 资金账户 - 格式:1,2,3
  21451. in: query
  21452. name: accountID
  21453. required: true
  21454. type: string
  21455. - description: 交易模式 - 格式:1,2,3
  21456. in: query
  21457. name: tradeMode
  21458. type: string
  21459. produces:
  21460. - application/json
  21461. responses:
  21462. "200":
  21463. description: OK
  21464. schema:
  21465. $ref: '#/definitions/order.QueryTradePositionRsp'
  21466. "500":
  21467. description: Internal Server Error
  21468. schema:
  21469. $ref: '#/definitions/app.Response'
  21470. security:
  21471. - ApiKeyAuth: []
  21472. summary: 持仓汇总查询(合约市场)
  21473. tags:
  21474. - 通用单据
  21475. /Qhj/QueryAccountInOutApply:
  21476. get:
  21477. parameters:
  21478. - description: 用户ID
  21479. in: query
  21480. name: userid
  21481. required: true
  21482. type: integer
  21483. - description: 申请起始日期(格式yyyymmdd)
  21484. in: query
  21485. name: begindate
  21486. type: string
  21487. - description: 申请截止日期(格式yyyymmdd)
  21488. in: query
  21489. name: enddate
  21490. type: string
  21491. - description: 模糊搜索名称
  21492. in: query
  21493. name: likename
  21494. type: string
  21495. produces:
  21496. - application/json
  21497. responses:
  21498. "200":
  21499. description: OK
  21500. schema:
  21501. items:
  21502. $ref: '#/definitions/models.QhjAccountOutInApply'
  21503. type: array
  21504. "500":
  21505. description: Internal Server Error
  21506. schema:
  21507. $ref: '#/definitions/app.Response'
  21508. security:
  21509. - ApiKeyAuth: []
  21510. summary: 查询充值提现
  21511. tags:
  21512. - 大连千海金
  21513. /Qhj/QueryAreaFinanceConfig:
  21514. get:
  21515. parameters:
  21516. - description: 机构用户ID 其他做市关系,都设置为 1
  21517. in: query
  21518. name: userid
  21519. type: integer
  21520. produces:
  21521. - application/json
  21522. responses:
  21523. "200":
  21524. description: OK
  21525. schema:
  21526. items:
  21527. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  21528. type: array
  21529. "500":
  21530. description: Internal Server Error
  21531. schema:
  21532. $ref: '#/definitions/app.Response'
  21533. security:
  21534. - ApiKeyAuth: []
  21535. summary: 查询企业配置表
  21536. tags:
  21537. - 大连千海金
  21538. /Qhj/QueryBankAccountSign:
  21539. get:
  21540. parameters:
  21541. - description: 用户ID
  21542. in: query
  21543. name: userid
  21544. required: true
  21545. type: integer
  21546. produces:
  21547. - application/json
  21548. responses:
  21549. "200":
  21550. description: OK
  21551. schema:
  21552. items:
  21553. $ref: '#/definitions/models.QhjBankAccountSign'
  21554. type: array
  21555. "500":
  21556. description: Internal Server Error
  21557. schema:
  21558. $ref: '#/definitions/app.Response'
  21559. security:
  21560. - ApiKeyAuth: []
  21561. summary: 查询签约银行信息(提现账户管理)
  21562. tags:
  21563. - 大连千海金
  21564. /Qhj/QueryBankInfo:
  21565. get:
  21566. produces:
  21567. - application/json
  21568. responses:
  21569. "200":
  21570. description: OK
  21571. schema:
  21572. items:
  21573. $ref: '#/definitions/models.QhjBankInfo'
  21574. type: array
  21575. "500":
  21576. description: Internal Server Error
  21577. schema:
  21578. $ref: '#/definitions/app.Response'
  21579. security:
  21580. - ApiKeyAuth: []
  21581. summary: 查询开户行
  21582. tags:
  21583. - 大连千海金
  21584. /Qhj/QueryBrokerApply:
  21585. get:
  21586. parameters:
  21587. - description: 所属机构ID
  21588. in: query
  21589. name: userid
  21590. type: integer
  21591. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21592. in: query
  21593. name: filterstatus
  21594. type: string
  21595. produces:
  21596. - application/json
  21597. responses:
  21598. "200":
  21599. description: OK
  21600. schema:
  21601. items:
  21602. $ref: '#/definitions/models.QhjBrokerApply'
  21603. type: array
  21604. "500":
  21605. description: Internal Server Error
  21606. schema:
  21607. $ref: '#/definitions/app.Response'
  21608. security:
  21609. - ApiKeyAuth: []
  21610. summary: 查询经纪人申请
  21611. tags:
  21612. - 大连千海金
  21613. /Qhj/QueryBrokerApplyEx:
  21614. get:
  21615. parameters:
  21616. - description: 所属机构ID
  21617. in: query
  21618. name: userid
  21619. type: integer
  21620. produces:
  21621. - application/json
  21622. responses:
  21623. "200":
  21624. description: OK
  21625. schema:
  21626. items:
  21627. $ref: '#/definitions/models.QhjBrokerApplyEx'
  21628. type: array
  21629. "500":
  21630. description: Internal Server Error
  21631. schema:
  21632. $ref: '#/definitions/app.Response'
  21633. security:
  21634. - ApiKeyAuth: []
  21635. summary: 查询经纪人信息和申请记录
  21636. tags:
  21637. - 大连千海金
  21638. /Qhj/QueryBrokerRewardLog:
  21639. get:
  21640. parameters:
  21641. - description: 用户ID
  21642. in: query
  21643. name: userid
  21644. required: true
  21645. type: integer
  21646. - description: 开始交易日(yyyymmdd)
  21647. in: query
  21648. name: begindate
  21649. type: string
  21650. - description: 结束交易日(yyyymmdd)
  21651. in: query
  21652. name: enddate
  21653. type: string
  21654. produces:
  21655. - application/json
  21656. responses:
  21657. "200":
  21658. description: OK
  21659. schema:
  21660. items:
  21661. $ref: '#/definitions/models.QhjBrokerRewardLog'
  21662. type: array
  21663. "500":
  21664. description: Internal Server Error
  21665. schema:
  21666. $ref: '#/definitions/app.Response'
  21667. security:
  21668. - ApiKeyAuth: []
  21669. summary: 查询奖励流水(我的奖励)
  21670. tags:
  21671. - 大连千海金
  21672. /Qhj/QueryContract:
  21673. get:
  21674. parameters:
  21675. - description: 用户ID
  21676. in: query
  21677. name: userid
  21678. type: integer
  21679. - description: scf合同id
  21680. in: query
  21681. name: scfcontractid
  21682. type: integer
  21683. produces:
  21684. - application/json
  21685. responses:
  21686. "200":
  21687. description: OK
  21688. schema:
  21689. items:
  21690. $ref: '#/definitions/models.QhjContract'
  21691. type: array
  21692. "500":
  21693. description: Internal Server Error
  21694. schema:
  21695. $ref: '#/definitions/app.Response'
  21696. security:
  21697. - ApiKeyAuth: []
  21698. summary: 查询融资明细(合同)
  21699. tags:
  21700. - 大连千海金
  21701. /Qhj/QueryContractLog:
  21702. get:
  21703. parameters:
  21704. - description: scf合同id
  21705. in: query
  21706. name: scfcontractid
  21707. required: true
  21708. type: integer
  21709. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  21710. in: query
  21711. name: amounttype
  21712. type: string
  21713. produces:
  21714. - application/json
  21715. responses:
  21716. "200":
  21717. description: OK
  21718. schema:
  21719. items:
  21720. $ref: '#/definitions/models.QhjContractLog'
  21721. type: array
  21722. "500":
  21723. description: Internal Server Error
  21724. schema:
  21725. $ref: '#/definitions/app.Response'
  21726. security:
  21727. - ApiKeyAuth: []
  21728. summary: 查询融资明细流水(融资明细详情页中的流水)
  21729. tags:
  21730. - 大连千海金
  21731. /Qhj/QueryCusBankSignBank:
  21732. get:
  21733. produces:
  21734. - application/json
  21735. responses:
  21736. "200":
  21737. description: OK
  21738. schema:
  21739. items:
  21740. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  21741. type: array
  21742. "500":
  21743. description: Internal Server Error
  21744. schema:
  21745. $ref: '#/definitions/app.Response'
  21746. security:
  21747. - ApiKeyAuth: []
  21748. summary: 查询托管银行
  21749. tags:
  21750. - 大连千海金
  21751. /Qhj/QueryCustomerInfo:
  21752. get:
  21753. parameters:
  21754. - description: 用户ID
  21755. in: query
  21756. name: userid
  21757. required: true
  21758. type: integer
  21759. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21760. in: query
  21761. name: querytype
  21762. required: true
  21763. type: integer
  21764. - description: 客户类型 1-个人 2-企业
  21765. in: query
  21766. name: userinfotype
  21767. type: integer
  21768. - description: 客户名称(模糊匹配)
  21769. in: query
  21770. name: customername
  21771. type: string
  21772. - description: 昵称(模糊匹配)
  21773. in: query
  21774. name: nickname
  21775. type: string
  21776. - description: 是否包含子级 1-包含
  21777. in: query
  21778. name: includesub
  21779. type: integer
  21780. produces:
  21781. - application/json
  21782. responses:
  21783. "200":
  21784. description: OK
  21785. schema:
  21786. items:
  21787. $ref: '#/definitions/models.QhjCustomer'
  21788. type: array
  21789. "500":
  21790. description: Internal Server Error
  21791. schema:
  21792. $ref: '#/definitions/app.Response'
  21793. security:
  21794. - ApiKeyAuth: []
  21795. summary: 查询客户资料
  21796. tags:
  21797. - 大连千海金
  21798. /Qhj/QueryGoodsEx:
  21799. get:
  21800. parameters:
  21801. - description: 商品id
  21802. in: query
  21803. name: goodsid
  21804. type: integer
  21805. produces:
  21806. - application/json
  21807. responses:
  21808. "200":
  21809. description: OK
  21810. schema:
  21811. items:
  21812. $ref: '#/definitions/models.Qhjgoodsex'
  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. - 大连千海金
  21823. /Qhj/QueryMyTeam:
  21824. get:
  21825. parameters:
  21826. - description: 用户ID
  21827. in: query
  21828. name: userid
  21829. required: true
  21830. type: integer
  21831. produces:
  21832. - application/json
  21833. responses:
  21834. "200":
  21835. description: OK
  21836. schema:
  21837. items:
  21838. $ref: '#/definitions/models.QhjMyTeamEx'
  21839. type: array
  21840. "500":
  21841. description: Internal Server Error
  21842. schema:
  21843. $ref: '#/definitions/app.Response'
  21844. security:
  21845. - ApiKeyAuth: []
  21846. summary: 查询我的团队
  21847. tags:
  21848. - 大连千海金
  21849. /Qhj/QueryMyTeamOrder:
  21850. get:
  21851. parameters:
  21852. - description: 页码
  21853. in: query
  21854. name: page
  21855. type: integer
  21856. - description: 每页条数
  21857. in: query
  21858. name: pagesize
  21859. type: integer
  21860. - description: 用户ID
  21861. in: query
  21862. name: userid
  21863. required: true
  21864. type: integer
  21865. - description: 交易模式
  21866. in: query
  21867. name: trademode
  21868. type: integer
  21869. - description: 名称(模糊搜索账户)
  21870. in: query
  21871. name: filtername
  21872. type: string
  21873. produces:
  21874. - application/json
  21875. responses:
  21876. "200":
  21877. description: OK
  21878. schema:
  21879. items:
  21880. $ref: '#/definitions/models.QhjTeamOrder'
  21881. type: array
  21882. "500":
  21883. description: Internal Server Error
  21884. schema:
  21885. $ref: '#/definitions/app.Response'
  21886. security:
  21887. - ApiKeyAuth: []
  21888. summary: 查询团队订单(我的团队/团队订单)
  21889. tags:
  21890. - 大连千海金
  21891. /Qhj/QueryParentAreaList:
  21892. get:
  21893. parameters:
  21894. - description: 用户ID
  21895. in: query
  21896. name: userid
  21897. required: true
  21898. type: integer
  21899. produces:
  21900. - application/json
  21901. responses:
  21902. "200":
  21903. description: OK
  21904. schema:
  21905. items:
  21906. $ref: '#/definitions/models.QhjParentAreaList'
  21907. type: array
  21908. "500":
  21909. description: Internal Server Error
  21910. schema:
  21911. $ref: '#/definitions/app.Response'
  21912. security:
  21913. - ApiKeyAuth: []
  21914. summary: 查询所属机构列表
  21915. tags:
  21916. - 大连千海金
  21917. /Qhj/QueryPayOrder:
  21918. get:
  21919. parameters:
  21920. - description: 资金账号id
  21921. in: query
  21922. name: accountid
  21923. required: true
  21924. type: integer
  21925. - description: 成交单号
  21926. in: query
  21927. name: tradeid
  21928. type: integer
  21929. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21930. in: query
  21931. name: payflag
  21932. type: string
  21933. produces:
  21934. - application/json
  21935. responses:
  21936. "200":
  21937. description: OK
  21938. schema:
  21939. items:
  21940. $ref: '#/definitions/models.QhjPayOrder'
  21941. type: array
  21942. "500":
  21943. description: Internal Server Error
  21944. schema:
  21945. $ref: '#/definitions/app.Response'
  21946. security:
  21947. - ApiKeyAuth: []
  21948. summary: 查询待付款单据
  21949. tags:
  21950. - 大连千海金
  21951. /Qhj/QueryPickArea:
  21952. get:
  21953. parameters:
  21954. - description: 用户ID
  21955. in: query
  21956. name: userid
  21957. type: integer
  21958. produces:
  21959. - application/json
  21960. responses:
  21961. "200":
  21962. description: OK
  21963. schema:
  21964. items:
  21965. $ref: '#/definitions/models.QhjPickArea'
  21966. type: array
  21967. "500":
  21968. description: Internal Server Error
  21969. schema:
  21970. $ref: '#/definitions/app.Response'
  21971. security:
  21972. - ApiKeyAuth: []
  21973. summary: 查询提货门店
  21974. tags:
  21975. - 大连千海金
  21976. /Qhj/QueryPickGoods:
  21977. get:
  21978. parameters:
  21979. - description: 交易商品id
  21980. in: query
  21981. name: goodsid
  21982. required: true
  21983. type: integer
  21984. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21985. in: query
  21986. name: status
  21987. type: string
  21988. produces:
  21989. - application/json
  21990. responses:
  21991. "200":
  21992. description: OK
  21993. schema:
  21994. items:
  21995. $ref: '#/definitions/models.QhjPickGoods'
  21996. type: array
  21997. "500":
  21998. description: Internal Server Error
  21999. schema:
  22000. $ref: '#/definitions/app.Response'
  22001. security:
  22002. - ApiKeyAuth: []
  22003. summary: 查询提货商品
  22004. tags:
  22005. - 大连千海金
  22006. /Qhj/QueryRSTriggerLog:
  22007. get:
  22008. parameters:
  22009. - description: 用户ID
  22010. in: query
  22011. name: userid
  22012. type: integer
  22013. - description: 定投策略id
  22014. in: query
  22015. name: regularlystrategyid
  22016. type: integer
  22017. - description: 商品id
  22018. in: query
  22019. name: goodsid
  22020. type: integer
  22021. - description: 开始交易日(yyyymmdd)
  22022. in: query
  22023. name: begindate
  22024. type: string
  22025. - description: 结束交易日(yyyymmdd)
  22026. in: query
  22027. name: enddate
  22028. type: string
  22029. - description: 名称(模糊搜索账户)
  22030. in: query
  22031. name: filtername
  22032. type: string
  22033. produces:
  22034. - application/json
  22035. responses:
  22036. "200":
  22037. description: OK
  22038. schema:
  22039. items:
  22040. $ref: '#/definitions/models.QhjRSTriggerLog'
  22041. type: array
  22042. "500":
  22043. description: Internal Server Error
  22044. schema:
  22045. $ref: '#/definitions/app.Response'
  22046. security:
  22047. - ApiKeyAuth: []
  22048. summary: 查询定投记录(定投管理/详情/定投记录)
  22049. tags:
  22050. - 大连千海金
  22051. /Qhj/QueryRStrategy:
  22052. get:
  22053. parameters:
  22054. - description: 用户ID
  22055. in: query
  22056. name: userid
  22057. type: integer
  22058. - description: 商品id
  22059. in: query
  22060. name: goodsid
  22061. type: integer
  22062. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22063. in: query
  22064. name: status
  22065. type: string
  22066. - description: 名称(模糊搜索账户)
  22067. in: query
  22068. name: filtername
  22069. type: string
  22070. produces:
  22071. - application/json
  22072. responses:
  22073. "200":
  22074. description: OK
  22075. schema:
  22076. items:
  22077. $ref: '#/definitions/models.QhjRStrategy'
  22078. type: array
  22079. "500":
  22080. description: Internal Server Error
  22081. schema:
  22082. $ref: '#/definitions/app.Response'
  22083. security:
  22084. - ApiKeyAuth: []
  22085. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22086. tags:
  22087. - 大连千海金
  22088. /Qhj/QueryReckonPriceLog:
  22089. get:
  22090. parameters:
  22091. - description: 商品ID
  22092. in: query
  22093. name: goodsid
  22094. type: integer
  22095. - description: 交易日 格式(yyyymmdd)
  22096. in: query
  22097. name: tradedate
  22098. type: string
  22099. produces:
  22100. - application/json
  22101. responses:
  22102. "200":
  22103. description: OK
  22104. schema:
  22105. items:
  22106. $ref: '#/definitions/models.QhjReckonPriceLog'
  22107. type: array
  22108. "500":
  22109. description: Internal Server Error
  22110. schema:
  22111. $ref: '#/definitions/app.Response'
  22112. security:
  22113. - ApiKeyAuth: []
  22114. summary: 查询定投价(结算价)
  22115. tags:
  22116. - 大连千海金
  22117. /Qhj/QueryScoreLog:
  22118. get:
  22119. parameters:
  22120. - description: 用户ID
  22121. in: query
  22122. name: userid
  22123. required: true
  22124. type: integer
  22125. - description: 开始交易日(yyyymmdd)
  22126. in: query
  22127. name: begindate
  22128. type: string
  22129. - description: 结束交易日(yyyymmdd)
  22130. in: query
  22131. name: enddate
  22132. type: string
  22133. - description: 最近多少条
  22134. in: query
  22135. name: lastnum
  22136. type: integer
  22137. produces:
  22138. - application/json
  22139. responses:
  22140. "200":
  22141. description: OK
  22142. schema:
  22143. items:
  22144. $ref: '#/definitions/models.QhjScoreLog'
  22145. type: array
  22146. "500":
  22147. description: Internal Server Error
  22148. schema:
  22149. $ref: '#/definitions/app.Response'
  22150. security:
  22151. - ApiKeyAuth: []
  22152. summary: 查询积分流水(我的积分)
  22153. tags:
  22154. - 大连千海金
  22155. /Qhj/QuerySiteColumnDetail:
  22156. get:
  22157. parameters:
  22158. - description: 用户ID
  22159. in: query
  22160. name: userid
  22161. required: true
  22162. type: integer
  22163. produces:
  22164. - application/json
  22165. responses:
  22166. "200":
  22167. description: OK
  22168. schema:
  22169. items:
  22170. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22171. type: array
  22172. "500":
  22173. description: Internal Server Error
  22174. schema:
  22175. $ref: '#/definitions/app.Response'
  22176. security:
  22177. - ApiKeyAuth: []
  22178. summary: 查询资讯
  22179. tags:
  22180. - 大连千海金
  22181. /Qhj/QueryTradeGoodsPickup:
  22182. get:
  22183. parameters:
  22184. - description: 用户ID
  22185. in: query
  22186. name: userid
  22187. required: true
  22188. type: integer
  22189. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22190. 7:已拒绝 8:已撤销
  22191. in: query
  22192. name: takeorderstatus
  22193. type: integer
  22194. produces:
  22195. - application/json
  22196. responses:
  22197. "200":
  22198. description: OK
  22199. schema:
  22200. items:
  22201. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22202. type: array
  22203. "500":
  22204. description: Internal Server Error
  22205. schema:
  22206. $ref: '#/definitions/app.Response'
  22207. security:
  22208. - ApiKeyAuth: []
  22209. summary: 查询提货
  22210. tags:
  22211. - 大连千海金
  22212. /Qhj/QueryUserCollectConfig:
  22213. get:
  22214. parameters:
  22215. - description: 用户ID
  22216. in: query
  22217. name: userid
  22218. required: true
  22219. type: integer
  22220. produces:
  22221. - application/json
  22222. responses:
  22223. "200":
  22224. description: OK
  22225. schema:
  22226. items:
  22227. $ref: '#/definitions/models.UserCollectConfig'
  22228. type: array
  22229. "500":
  22230. description: Internal Server Error
  22231. schema:
  22232. $ref: '#/definitions/app.Response'
  22233. security:
  22234. - ApiKeyAuth: []
  22235. summary: 查询提现账户设置
  22236. tags:
  22237. - 大连千海金
  22238. /Qhj/QueryUserReceiveInfo:
  22239. get:
  22240. parameters:
  22241. - description: 用户ID
  22242. in: query
  22243. name: userid
  22244. required: true
  22245. type: integer
  22246. produces:
  22247. - application/json
  22248. responses:
  22249. "200":
  22250. description: OK
  22251. schema:
  22252. items:
  22253. $ref: '#/definitions/models.UserReceiveInfo'
  22254. type: array
  22255. "500":
  22256. description: Internal Server Error
  22257. schema:
  22258. $ref: '#/definitions/app.Response'
  22259. security:
  22260. - ApiKeyAuth: []
  22261. summary: 查询收货地址信息
  22262. tags:
  22263. - 大连千海金
  22264. /QhjMgr/QueryAccountInOutApply:
  22265. get:
  22266. parameters:
  22267. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22268. in: query
  22269. name: querytype
  22270. required: true
  22271. type: integer
  22272. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22273. in: query
  22274. name: applystatus
  22275. type: integer
  22276. - description: 申请起始日期(格式yyyymmdd)
  22277. in: query
  22278. name: begindate
  22279. type: string
  22280. - description: 申请截止日期(格式yyyymmdd)
  22281. in: query
  22282. name: enddate
  22283. type: string
  22284. - description: 模糊搜索名称
  22285. in: query
  22286. name: likename
  22287. type: string
  22288. produces:
  22289. - application/json
  22290. responses:
  22291. "200":
  22292. description: OK
  22293. schema:
  22294. items:
  22295. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22296. type: array
  22297. "500":
  22298. description: Internal Server Error
  22299. schema:
  22300. $ref: '#/definitions/app.Response'
  22301. security:
  22302. - ApiKeyAuth: []
  22303. summary: 查询充值提现
  22304. tags:
  22305. - 大连千海金(PCWeb)
  22306. /QhjMgr/QueryBrokerApply:
  22307. get:
  22308. parameters:
  22309. - description: 所属机构ID
  22310. in: query
  22311. name: userid
  22312. type: integer
  22313. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22314. in: query
  22315. name: filterstatus
  22316. type: string
  22317. - description: 名称(模糊匹配)
  22318. in: query
  22319. name: filtername
  22320. type: string
  22321. - description: 是否包含子级 1-包含
  22322. in: query
  22323. name: includesub
  22324. type: integer
  22325. produces:
  22326. - application/json
  22327. responses:
  22328. "200":
  22329. description: OK
  22330. schema:
  22331. items:
  22332. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22333. type: array
  22334. "500":
  22335. description: Internal Server Error
  22336. schema:
  22337. $ref: '#/definitions/app.Response'
  22338. security:
  22339. - ApiKeyAuth: []
  22340. summary: 查询经纪人申请
  22341. tags:
  22342. - 大连千海金(PCWeb)
  22343. /QhjMgr/QueryBrokerRewardReport:
  22344. get:
  22345. parameters:
  22346. - description: 所属机构ID
  22347. in: query
  22348. name: userid
  22349. required: true
  22350. type: integer
  22351. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22352. in: query
  22353. name: cycletype
  22354. required: true
  22355. type: integer
  22356. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22357. in: query
  22358. name: cycletime
  22359. required: true
  22360. type: string
  22361. - description: 名称(模糊匹配)
  22362. in: query
  22363. name: filtername
  22364. type: string
  22365. - description: 是否包含子级 1-包含
  22366. in: query
  22367. name: includesub
  22368. type: integer
  22369. produces:
  22370. - application/json
  22371. responses:
  22372. "200":
  22373. description: OK
  22374. schema:
  22375. items:
  22376. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  22377. type: array
  22378. "500":
  22379. description: Internal Server Error
  22380. schema:
  22381. $ref: '#/definitions/app.Response'
  22382. security:
  22383. - ApiKeyAuth: []
  22384. summary: 查询经纪人奖励报表(废弃)
  22385. tags:
  22386. - 大连千海金(PCWeb)
  22387. /QhjMgr/QueryContract:
  22388. get:
  22389. parameters:
  22390. - description: 用户ID
  22391. in: query
  22392. name: userid
  22393. type: integer
  22394. - description: 商品id
  22395. in: query
  22396. name: goodsid
  22397. type: integer
  22398. - description: 名称(模糊搜索账户)
  22399. in: query
  22400. name: filtername
  22401. type: string
  22402. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  22403. in: query
  22404. name: risklevel
  22405. type: string
  22406. - description: 开始交易日(yyyymmdd)
  22407. in: query
  22408. name: begindate
  22409. type: string
  22410. - description: 结束交易日(yyyymmdd)
  22411. in: query
  22412. name: enddate
  22413. type: string
  22414. produces:
  22415. - application/json
  22416. responses:
  22417. "200":
  22418. description: OK
  22419. schema:
  22420. items:
  22421. $ref: '#/definitions/models.QhjMgrContract'
  22422. type: array
  22423. "500":
  22424. description: Internal Server Error
  22425. schema:
  22426. $ref: '#/definitions/app.Response'
  22427. security:
  22428. - ApiKeyAuth: []
  22429. summary: 查询融资信息(合同)
  22430. tags:
  22431. - 大连千海金(PCWeb)
  22432. /QhjMgr/QueryCustomerInfo:
  22433. get:
  22434. parameters:
  22435. - description: 用户ID
  22436. in: query
  22437. name: userid
  22438. required: true
  22439. type: integer
  22440. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22441. in: query
  22442. name: querytype
  22443. required: true
  22444. type: integer
  22445. - description: 客户类型 1-个人 2-企业
  22446. in: query
  22447. name: userinfotype
  22448. type: integer
  22449. - description: 客户名称(模糊匹配)
  22450. in: query
  22451. name: customername
  22452. type: string
  22453. - description: 昵称(模糊匹配)
  22454. in: query
  22455. name: nickname
  22456. type: string
  22457. - description: 是否包含子级 1-包含
  22458. in: query
  22459. name: includesub
  22460. type: integer
  22461. produces:
  22462. - application/json
  22463. responses:
  22464. "200":
  22465. description: OK
  22466. schema:
  22467. items:
  22468. $ref: '#/definitions/models.QhjMgrCustomer'
  22469. type: array
  22470. "500":
  22471. description: Internal Server Error
  22472. schema:
  22473. $ref: '#/definitions/app.Response'
  22474. security:
  22475. - ApiKeyAuth: []
  22476. summary: 查询客户资料
  22477. tags:
  22478. - 大连千海金(PCWeb)
  22479. /QhjMgr/QueryPickGoods:
  22480. get:
  22481. parameters:
  22482. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22483. in: query
  22484. name: status
  22485. type: string
  22486. produces:
  22487. - application/json
  22488. responses:
  22489. "200":
  22490. description: OK
  22491. schema:
  22492. items:
  22493. $ref: '#/definitions/models.QhjMgrPickGoods'
  22494. type: array
  22495. "500":
  22496. description: Internal Server Error
  22497. schema:
  22498. $ref: '#/definitions/app.Response'
  22499. security:
  22500. - ApiKeyAuth: []
  22501. summary: 查询提货商品
  22502. tags:
  22503. - 大连千海金(PCWeb)
  22504. /QhjMgr/QuerySubArea:
  22505. get:
  22506. parameters:
  22507. - description: 用户ID
  22508. in: query
  22509. name: userid
  22510. required: true
  22511. type: integer
  22512. produces:
  22513. - application/json
  22514. responses:
  22515. "200":
  22516. description: OK
  22517. schema:
  22518. items:
  22519. $ref: '#/definitions/models.QhjMgrSubArea'
  22520. type: array
  22521. "500":
  22522. description: Internal Server Error
  22523. schema:
  22524. $ref: '#/definitions/app.Response'
  22525. security:
  22526. - ApiKeyAuth: []
  22527. summary: 查询子机构列表
  22528. tags:
  22529. - 大连千海金(PCWeb)
  22530. /QhjMgr/QueryTradeDetail:
  22531. get:
  22532. parameters:
  22533. - description: 用户ID
  22534. in: query
  22535. name: userid
  22536. required: true
  22537. type: integer
  22538. - description: 用户类型 1-个人 2-企业
  22539. in: query
  22540. name: userinfotype
  22541. type: integer
  22542. - description: 交易模式
  22543. in: query
  22544. name: trademode
  22545. type: integer
  22546. - description: 商品id
  22547. in: query
  22548. name: goodsid
  22549. type: integer
  22550. - description: 名称(模糊搜索账户)
  22551. in: query
  22552. name: filtername
  22553. type: string
  22554. - description: 开始交易日(yyyymmdd)
  22555. in: query
  22556. name: begindate
  22557. type: string
  22558. - description: 结束交易日(yyyymmdd)
  22559. in: query
  22560. name: enddate
  22561. type: string
  22562. - description: 是否包含子级 1-包含
  22563. in: query
  22564. name: includesub
  22565. type: integer
  22566. produces:
  22567. - application/json
  22568. responses:
  22569. "200":
  22570. description: OK
  22571. schema:
  22572. items:
  22573. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  22574. type: array
  22575. "500":
  22576. description: Internal Server Error
  22577. schema:
  22578. $ref: '#/definitions/app.Response'
  22579. security:
  22580. - ApiKeyAuth: []
  22581. summary: 查询成交明细
  22582. tags:
  22583. - 大连千海金(PCWeb)
  22584. /QhjMgr/QueryTradeOrderDetail:
  22585. get:
  22586. parameters:
  22587. - description: 用户ID
  22588. in: query
  22589. name: userid
  22590. required: true
  22591. type: integer
  22592. - description: 用户类型 1-个人 2-企业
  22593. in: query
  22594. name: userinfotype
  22595. type: integer
  22596. - description: 交易模式
  22597. in: query
  22598. name: trademode
  22599. type: integer
  22600. - description: 商品id
  22601. in: query
  22602. name: goodsid
  22603. type: integer
  22604. - description: 名称(模糊搜索账户)
  22605. in: query
  22606. name: filtername
  22607. type: string
  22608. - description: 开始交易日(yyyymmdd)
  22609. in: query
  22610. name: begindate
  22611. type: string
  22612. - description: 结束交易日(yyyymmdd)
  22613. in: query
  22614. name: enddate
  22615. type: string
  22616. - description: 是否包含子级 1-包含
  22617. in: query
  22618. name: includesub
  22619. type: integer
  22620. produces:
  22621. - application/json
  22622. responses:
  22623. "200":
  22624. description: OK
  22625. schema:
  22626. items:
  22627. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  22628. type: array
  22629. "500":
  22630. description: Internal Server Error
  22631. schema:
  22632. $ref: '#/definitions/app.Response'
  22633. security:
  22634. - ApiKeyAuth: []
  22635. summary: 查询委托明细
  22636. tags:
  22637. - 大连千海金(PCWeb)
  22638. /QhjMgr/QueryTradePayOrder:
  22639. get:
  22640. parameters:
  22641. - description: 用户ID
  22642. in: query
  22643. name: userid
  22644. required: true
  22645. type: integer
  22646. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22647. in: query
  22648. name: payflag
  22649. type: string
  22650. - description: 用户类型 1-个人 2-企业
  22651. in: query
  22652. name: userinfotype
  22653. type: integer
  22654. - description: 交易模式
  22655. in: query
  22656. name: trademode
  22657. type: integer
  22658. - description: 商品id
  22659. in: query
  22660. name: goodsid
  22661. type: integer
  22662. - description: 名称(模糊搜索账户)
  22663. in: query
  22664. name: filtername
  22665. type: string
  22666. - description: 开始交易日(yyyymmdd)
  22667. in: query
  22668. name: begindate
  22669. type: string
  22670. - description: 结束交易日(yyyymmdd)
  22671. in: query
  22672. name: enddate
  22673. type: string
  22674. - description: 是否包含子级 1-包含
  22675. in: query
  22676. name: includesub
  22677. type: integer
  22678. produces:
  22679. - application/json
  22680. responses:
  22681. "200":
  22682. description: OK
  22683. schema:
  22684. items:
  22685. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  22686. type: array
  22687. "500":
  22688. description: Internal Server Error
  22689. schema:
  22690. $ref: '#/definitions/app.Response'
  22691. security:
  22692. - ApiKeyAuth: []
  22693. summary: 查询待付款单
  22694. tags:
  22695. - 大连千海金(PCWeb)
  22696. /QhjMgr/QueryTradePosition:
  22697. get:
  22698. parameters:
  22699. - description: 用户ID
  22700. in: query
  22701. name: userid
  22702. required: true
  22703. type: integer
  22704. - description: 用户类型 1-个人 2-企业
  22705. in: query
  22706. name: userinfotype
  22707. type: integer
  22708. - description: 交易模式
  22709. in: query
  22710. name: trademode
  22711. type: integer
  22712. - description: 商品id
  22713. in: query
  22714. name: goodsid
  22715. type: integer
  22716. - description: 名称(模糊搜索账户)
  22717. in: query
  22718. name: filtername
  22719. type: string
  22720. - description: 是否包含子级 1-包含
  22721. in: query
  22722. name: includesub
  22723. type: integer
  22724. produces:
  22725. - application/json
  22726. responses:
  22727. "200":
  22728. description: OK
  22729. schema:
  22730. items:
  22731. $ref: '#/definitions/models.QhjMgrPositionRsp'
  22732. type: array
  22733. "500":
  22734. description: Internal Server Error
  22735. schema:
  22736. $ref: '#/definitions/app.Response'
  22737. security:
  22738. - ApiKeyAuth: []
  22739. summary: 查询持仓汇总
  22740. tags:
  22741. - 大连千海金(PCWeb)
  22742. /QhjSys/QueryAgreementChangeLog:
  22743. get:
  22744. parameters:
  22745. - description: 协议ID
  22746. in: query
  22747. name: agreementid
  22748. type: integer
  22749. - description: 协议版本号
  22750. in: query
  22751. name: agreementversion
  22752. type: integer
  22753. - description: 协议类型 - 1:注册 2:登录 3:交易
  22754. in: query
  22755. name: agreementtype
  22756. type: integer
  22757. - description: 协议编号(模糊匹配)
  22758. in: query
  22759. name: agreementno
  22760. type: string
  22761. - description: 协议名称(模糊匹配)
  22762. in: query
  22763. name: agreementname
  22764. type: string
  22765. produces:
  22766. - application/json
  22767. responses:
  22768. "200":
  22769. description: OK
  22770. schema:
  22771. items:
  22772. $ref: '#/definitions/models.QhjAgreementChangeLog'
  22773. type: array
  22774. "500":
  22775. description: Internal Server Error
  22776. schema:
  22777. $ref: '#/definitions/app.Response'
  22778. security:
  22779. - ApiKeyAuth: []
  22780. summary: 查询协议配置变更流水
  22781. tags:
  22782. - 大连千海金(协议和签约信息)
  22783. /QhjSys/QueryAgreementConfig:
  22784. get:
  22785. parameters:
  22786. - description: 协议ID
  22787. in: query
  22788. name: agreementid
  22789. type: integer
  22790. - description: 协议版本号
  22791. in: query
  22792. name: agreementversion
  22793. type: integer
  22794. - description: 协议类型 - 1:注册 2:登录 3:交易
  22795. in: query
  22796. name: agreementtype
  22797. type: integer
  22798. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  22799. in: query
  22800. name: isvalid
  22801. type: integer
  22802. - description: 协议编号(模糊匹配)
  22803. in: query
  22804. name: agreementno
  22805. type: string
  22806. - description: 协议名称(模糊匹配)
  22807. in: query
  22808. name: agreementname
  22809. type: string
  22810. produces:
  22811. - application/json
  22812. responses:
  22813. "200":
  22814. description: OK
  22815. schema:
  22816. items:
  22817. $ref: '#/definitions/models.QhjAgreementConfig'
  22818. type: array
  22819. "500":
  22820. description: Internal Server Error
  22821. schema:
  22822. $ref: '#/definitions/app.Response'
  22823. security:
  22824. - ApiKeyAuth: []
  22825. summary: 查询协议配置
  22826. tags:
  22827. - 大连千海金(协议和签约信息)
  22828. /QhjSys/QueryCustomerSignStatus:
  22829. get:
  22830. parameters:
  22831. - description: 客户ID
  22832. in: query
  22833. name: userid
  22834. type: integer
  22835. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  22836. in: query
  22837. name: nodetype
  22838. type: integer
  22839. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22840. in: query
  22841. name: goodsid
  22842. type: integer
  22843. - description: 创建交易日(yyyyMMdd)
  22844. in: query
  22845. name: tradedate
  22846. type: string
  22847. - description: 用户名称(模糊匹配)
  22848. in: query
  22849. name: username
  22850. type: string
  22851. produces:
  22852. - application/json
  22853. responses:
  22854. "200":
  22855. description: OK
  22856. schema:
  22857. items:
  22858. $ref: '#/definitions/models.QhjCustomerSignStatus'
  22859. type: array
  22860. "500":
  22861. description: Internal Server Error
  22862. schema:
  22863. $ref: '#/definitions/app.Response'
  22864. security:
  22865. - ApiKeyAuth: []
  22866. summary: 查询客户协议签约状态
  22867. tags:
  22868. - 大连千海金(协议和签约信息)
  22869. /QhjSys/QueryNodeAgreementConfig:
  22870. get:
  22871. parameters:
  22872. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22873. in: query
  22874. name: configid
  22875. type: integer
  22876. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22877. in: query
  22878. name: nodetype
  22879. type: integer
  22880. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22881. in: query
  22882. name: goodsid
  22883. type: integer
  22884. - description: 协议ID
  22885. in: query
  22886. name: agreementid
  22887. type: integer
  22888. - description: 协议类型 - 1:注册 2:登录 3:交易
  22889. in: query
  22890. name: agreementtype
  22891. type: integer
  22892. - description: 协议版本号
  22893. in: query
  22894. name: agreementversion
  22895. type: integer
  22896. - description: 协议编号(模糊匹配)
  22897. in: query
  22898. name: agreementno
  22899. type: string
  22900. - description: 协议名称(模糊匹配)
  22901. in: query
  22902. name: agreementname
  22903. type: string
  22904. produces:
  22905. - application/json
  22906. responses:
  22907. "200":
  22908. description: OK
  22909. schema:
  22910. items:
  22911. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  22912. type: array
  22913. "500":
  22914. description: Internal Server Error
  22915. schema:
  22916. $ref: '#/definitions/app.Response'
  22917. security:
  22918. - ApiKeyAuth: []
  22919. summary: 查询协议节点配置
  22920. tags:
  22921. - 大连千海金(协议和签约信息)
  22922. /QhjSys/QueryQhjCustomerSignLog:
  22923. get:
  22924. parameters:
  22925. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  22926. in: query
  22927. name: logid
  22928. type: integer
  22929. - description: 客户ID
  22930. in: query
  22931. name: userid
  22932. type: integer
  22933. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22934. in: query
  22935. name: nodetype
  22936. type: integer
  22937. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22938. in: query
  22939. name: goodsid
  22940. type: integer
  22941. - description: 协议ID
  22942. in: query
  22943. name: agreementid
  22944. type: integer
  22945. - description: 用户名称(模糊匹配)
  22946. in: query
  22947. name: username
  22948. type: string
  22949. - description: 协议编号(模糊匹配)
  22950. in: query
  22951. name: agreementno
  22952. type: string
  22953. - description: 协议名称(模糊匹配)
  22954. in: query
  22955. name: agreementname
  22956. type: string
  22957. produces:
  22958. - application/json
  22959. responses:
  22960. "200":
  22961. description: OK
  22962. schema:
  22963. items:
  22964. $ref: '#/definitions/models.QhjCustomerSignLog'
  22965. type: array
  22966. "500":
  22967. description: Internal Server Error
  22968. schema:
  22969. $ref: '#/definitions/app.Response'
  22970. security:
  22971. - ApiKeyAuth: []
  22972. summary: 查询客户协议签约流水
  22973. tags:
  22974. - 大连千海金(协议和签约信息)
  22975. /QhjSys/QueryUserNodeCfgAndStatus:
  22976. get:
  22977. parameters:
  22978. - description: 客户ID
  22979. in: query
  22980. name: userid
  22981. type: integer
  22982. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22983. in: query
  22984. name: configid
  22985. type: integer
  22986. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22987. in: query
  22988. name: nodetype
  22989. type: string
  22990. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22991. in: query
  22992. name: goodsid
  22993. type: integer
  22994. - description: 协议ID
  22995. in: query
  22996. name: agreementid
  22997. type: integer
  22998. - description: 协议类型 - 1:注册 2:登录 3:交易
  22999. in: query
  23000. name: agreementtype
  23001. type: integer
  23002. - description: 协议版本号
  23003. in: query
  23004. name: agreementversion
  23005. type: integer
  23006. - description: 协议编号(模糊匹配)
  23007. in: query
  23008. name: agreementno
  23009. type: string
  23010. - description: 协议名称(模糊匹配)
  23011. in: query
  23012. name: agreementname
  23013. type: string
  23014. produces:
  23015. - application/json
  23016. responses:
  23017. "200":
  23018. description: OK
  23019. schema:
  23020. items:
  23021. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23022. type: array
  23023. "500":
  23024. description: Internal Server Error
  23025. schema:
  23026. $ref: '#/definitions/app.Response'
  23027. security:
  23028. - ApiKeyAuth: []
  23029. summary: 查询用户协议节点配置和状态
  23030. tags:
  23031. - 大连千海金(协议和签约信息)
  23032. /Quote/QueryHistoryDatas:
  23033. get:
  23034. parameters:
  23035. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23036. 日线'
  23037. in: query
  23038. name: cycleType
  23039. required: true
  23040. type: integer
  23041. - description: 商品代码
  23042. in: query
  23043. name: goodsCode
  23044. required: true
  23045. type: string
  23046. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23047. in: query
  23048. name: startTime
  23049. type: string
  23050. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23051. in: query
  23052. name: endTime
  23053. type: string
  23054. - description: 条数
  23055. in: query
  23056. name: count
  23057. type: integer
  23058. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23059. in: query
  23060. name: isAsc
  23061. type: boolean
  23062. produces:
  23063. - application/json
  23064. responses:
  23065. "200":
  23066. description: OK
  23067. schema:
  23068. $ref: '#/definitions/quote.HistoryData'
  23069. "500":
  23070. description: Internal Server Error
  23071. schema:
  23072. $ref: '#/definitions/app.Response'
  23073. security:
  23074. - ApiKeyAuth: []
  23075. summary: 查询行情历史数据
  23076. tags:
  23077. - 行情服务
  23078. /Quote/QueryHistoryTikDatas:
  23079. get:
  23080. parameters:
  23081. - description: 商品代码
  23082. in: query
  23083. name: goodsCode
  23084. required: true
  23085. type: string
  23086. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23087. in: query
  23088. name: startTime
  23089. type: string
  23090. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23091. in: query
  23092. name: endTime
  23093. type: string
  23094. - description: 条数
  23095. in: query
  23096. name: count
  23097. type: integer
  23098. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23099. in: query
  23100. name: isAsc
  23101. type: boolean
  23102. produces:
  23103. - application/json
  23104. responses:
  23105. "200":
  23106. description: OK
  23107. schema:
  23108. $ref: '#/definitions/quote.HistoryTikData'
  23109. "500":
  23110. description: Internal Server Error
  23111. schema:
  23112. $ref: '#/definitions/app.Response'
  23113. security:
  23114. - ApiKeyAuth: []
  23115. summary: 查询行情Tik数据
  23116. tags:
  23117. - 行情服务
  23118. /Quote/QueryQuoteDay:
  23119. get:
  23120. parameters:
  23121. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23122. in: query
  23123. name: goodsCodes
  23124. required: true
  23125. type: string
  23126. produces:
  23127. - application/json
  23128. responses:
  23129. "200":
  23130. description: OK
  23131. schema:
  23132. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23133. "500":
  23134. description: Internal Server Error
  23135. schema:
  23136. $ref: '#/definitions/app.Response'
  23137. security:
  23138. - ApiKeyAuth: []
  23139. summary: 获取商品盘面信息
  23140. tags:
  23141. - 行情服务
  23142. /Quote/QueryTSData:
  23143. get:
  23144. parameters:
  23145. - description: 商品代码
  23146. in: query
  23147. name: goodsCode
  23148. required: true
  23149. type: string
  23150. produces:
  23151. - application/json
  23152. responses:
  23153. "200":
  23154. description: OK
  23155. schema:
  23156. $ref: '#/definitions/quote.QueryTSDataRsp'
  23157. "500":
  23158. description: Internal Server Error
  23159. schema:
  23160. $ref: '#/definitions/app.Response'
  23161. security:
  23162. - ApiKeyAuth: []
  23163. summary: 分时图数据查询
  23164. tags:
  23165. - 行情服务
  23166. /SZDZ/QueryConvertConfig:
  23167. get:
  23168. parameters:
  23169. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23170. 6:交易转花生米(不设置)
  23171. in: query
  23172. name: convertType
  23173. type: integer
  23174. - description: 外部商品代码[JD\PD]
  23175. in: query
  23176. name: outerGoodsCode
  23177. type: string
  23178. - description: 内部商品ID列表[交易],格式:1,2,3
  23179. in: query
  23180. name: innerGoodsIDs
  23181. type: string
  23182. produces:
  23183. - application/json
  23184. responses:
  23185. "200":
  23186. description: OK
  23187. schema:
  23188. $ref: '#/definitions/models.Szdz3convertconfig'
  23189. "500":
  23190. description: Internal Server Error
  23191. schema:
  23192. $ref: '#/definitions/app.Response'
  23193. security:
  23194. - ApiKeyAuth: []
  23195. summary: 查询交易系统转换设置
  23196. tags:
  23197. - 定制【尚志大宗】
  23198. /SZDZ/QueryConvertLog:
  23199. get:
  23200. parameters:
  23201. - description: 资金账户 - 格式:1,2,3
  23202. in: query
  23203. name: accountID
  23204. required: true
  23205. type: string
  23206. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23207. in: query
  23208. name: startDate
  23209. type: string
  23210. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23211. in: query
  23212. name: endDate
  23213. type: string
  23214. produces:
  23215. - application/json
  23216. responses:
  23217. "200":
  23218. description: OK
  23219. schema:
  23220. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23221. "500":
  23222. description: Internal Server Error
  23223. schema:
  23224. $ref: '#/definitions/app.Response'
  23225. security:
  23226. - ApiKeyAuth: []
  23227. summary: 交易系统转换流水查询
  23228. tags:
  23229. - 定制【尚志大宗】
  23230. /SZDZ/QueryGoodsPickup:
  23231. get:
  23232. parameters:
  23233. - description: 资金账户 - 格式:1,2,3
  23234. in: query
  23235. name: accountID
  23236. required: true
  23237. type: string
  23238. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23239. in: query
  23240. name: takeOrderStatus
  23241. type: integer
  23242. produces:
  23243. - application/json
  23244. responses:
  23245. "200":
  23246. description: OK
  23247. schema:
  23248. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23249. "500":
  23250. description: Internal Server Error
  23251. schema:
  23252. $ref: '#/definitions/app.Response'
  23253. security:
  23254. - ApiKeyAuth: []
  23255. summary: 商品提货单查询
  23256. tags:
  23257. - 定制【尚志大宗】
  23258. /SZDZ/QueryRecieptOrder:
  23259. get:
  23260. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23261. parameters:
  23262. - description: 页码
  23263. in: query
  23264. name: page
  23265. type: integer
  23266. - description: 每页条数
  23267. in: query
  23268. name: pagesize
  23269. type: integer
  23270. - description: 商品ID
  23271. in: query
  23272. name: goodsID
  23273. required: true
  23274. type: integer
  23275. - description: 所属账户名称
  23276. in: query
  23277. name: accountName
  23278. type: string
  23279. - description: 市场ID
  23280. in: query
  23281. name: marketID
  23282. type: integer
  23283. - description: 方向 - 0:买 1:卖
  23284. in: query
  23285. name: buyorsell
  23286. required: true
  23287. type: integer
  23288. produces:
  23289. - application/json
  23290. responses:
  23291. "200":
  23292. description: OK
  23293. schema:
  23294. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23295. "500":
  23296. description: Internal Server Error
  23297. schema:
  23298. $ref: '#/definitions/app.Response'
  23299. security:
  23300. - ApiKeyAuth: []
  23301. summary: 点选挂牌委托单据查询(摘牌大厅)
  23302. tags:
  23303. - 定制【尚志大宗】
  23304. /SZDZ/QuerySZDZTradePosition:
  23305. get:
  23306. parameters:
  23307. - description: 资金账户
  23308. in: query
  23309. name: accountID
  23310. required: true
  23311. type: integer
  23312. produces:
  23313. - application/json
  23314. responses:
  23315. "200":
  23316. description: OK
  23317. schema:
  23318. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23319. "500":
  23320. description: Internal Server Error
  23321. schema:
  23322. $ref: '#/definitions/app.Response'
  23323. security:
  23324. - ApiKeyAuth: []
  23325. summary: 持仓汇总查询(尚志大宗)
  23326. tags:
  23327. - 定制【尚志大宗】
  23328. /SZDZ/SearchWhite:
  23329. get:
  23330. parameters:
  23331. - description: 用户ID
  23332. in: query
  23333. name: userID
  23334. required: true
  23335. type: integer
  23336. produces:
  23337. - application/json
  23338. responses:
  23339. "200":
  23340. description: OK
  23341. schema:
  23342. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23343. "500":
  23344. description: Internal Server Error
  23345. schema:
  23346. $ref: '#/definitions/app.Response'
  23347. security:
  23348. - ApiKeyAuth: []
  23349. summary: 搜索白名单
  23350. tags:
  23351. - 定制【尚志大宗】
  23352. /Search/SearchGoodses:
  23353. get:
  23354. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23355. parameters:
  23356. - description: 检索内容
  23357. in: query
  23358. name: content
  23359. required: true
  23360. type: string
  23361. - description: 交易模式,格式:1,2,3
  23362. in: query
  23363. name: tradeModes
  23364. type: string
  23365. produces:
  23366. - application/json
  23367. responses:
  23368. "200":
  23369. description: OK
  23370. schema:
  23371. $ref: '#/definitions/models.SearchGoods'
  23372. "500":
  23373. description: Internal Server Error
  23374. schema:
  23375. $ref: '#/definitions/app.Response'
  23376. summary: 检索商品信息
  23377. tags:
  23378. - 检索服务
  23379. /TaAccount/GetTaAccounts:
  23380. get:
  23381. parameters:
  23382. - description: 登录账户
  23383. in: query
  23384. name: loginID
  23385. required: true
  23386. type: integer
  23387. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  23388. in: query
  23389. name: taAccountType
  23390. type: integer
  23391. produces:
  23392. - application/json
  23393. responses:
  23394. "200":
  23395. description: OK
  23396. schema:
  23397. $ref: '#/definitions/models.Taaccount'
  23398. "500":
  23399. description: Internal Server Error
  23400. schema:
  23401. $ref: '#/definitions/app.Response'
  23402. security:
  23403. - ApiKeyAuth: []
  23404. summary: 获取资金账户信息
  23405. tags:
  23406. - 资金账户
  23407. /TaAccount/QueryAmountLog:
  23408. get:
  23409. parameters:
  23410. - description: 页码
  23411. in: query
  23412. name: page
  23413. type: integer
  23414. - description: 每页条数
  23415. in: query
  23416. name: pagesize
  23417. type: integer
  23418. - description: 资金账户 - 格式:1,2,3
  23419. in: query
  23420. name: accountID
  23421. required: true
  23422. type: string
  23423. - description: 资金操作类型 - 格式:1,2,3
  23424. in: query
  23425. name: OperateType
  23426. type: string
  23427. produces:
  23428. - application/json
  23429. responses:
  23430. "200":
  23431. description: OK
  23432. schema:
  23433. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  23434. "500":
  23435. description: Internal Server Error
  23436. schema:
  23437. $ref: '#/definitions/app.Response'
  23438. security:
  23439. - ApiKeyAuth: []
  23440. summary: 资金流水查询(当前)
  23441. tags:
  23442. - 资金账户
  23443. /TaAccount/QueryHisAmountLog:
  23444. get:
  23445. parameters:
  23446. - description: 页码
  23447. in: query
  23448. name: page
  23449. type: integer
  23450. - description: 每页条数
  23451. in: query
  23452. name: pagesize
  23453. type: integer
  23454. - description: 资金账户 - 格式:1,2,3
  23455. in: query
  23456. name: accountID
  23457. required: true
  23458. type: string
  23459. - description: 资金操作类型 - 格式:1,2,3
  23460. in: query
  23461. name: OperateType
  23462. type: string
  23463. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23464. in: query
  23465. name: startDate
  23466. type: string
  23467. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23468. in: query
  23469. name: endDate
  23470. type: string
  23471. produces:
  23472. - application/json
  23473. responses:
  23474. "200":
  23475. description: OK
  23476. schema:
  23477. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  23478. "500":
  23479. description: Internal Server Error
  23480. schema:
  23481. $ref: '#/definitions/app.Response'
  23482. security:
  23483. - ApiKeyAuth: []
  23484. summary: 资金流水查询(历史)
  23485. tags:
  23486. - 资金账户
  23487. /Trade/QueryRecieptOrder:
  23488. get:
  23489. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23490. parameters:
  23491. - description: 页码
  23492. in: query
  23493. name: page
  23494. type: integer
  23495. - description: 每页条数
  23496. in: query
  23497. name: pagesize
  23498. type: integer
  23499. - description: 商品ID
  23500. in: query
  23501. name: goodsID
  23502. required: true
  23503. type: integer
  23504. - description: 所属账户名称
  23505. in: query
  23506. name: accountName
  23507. type: string
  23508. - description: 市场ID
  23509. in: query
  23510. name: marketID
  23511. type: integer
  23512. - description: 方向 - 0:买 1:卖
  23513. in: query
  23514. name: buyorsell
  23515. required: true
  23516. type: integer
  23517. produces:
  23518. - application/json
  23519. responses:
  23520. "200":
  23521. description: OK
  23522. schema:
  23523. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  23524. "500":
  23525. description: Internal Server Error
  23526. schema:
  23527. $ref: '#/definitions/app.Response'
  23528. security:
  23529. - ApiKeyAuth: []
  23530. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  23531. tags:
  23532. - 通用交易
  23533. /User/AddMessageBoard:
  23534. post:
  23535. parameters:
  23536. - description: 用户ID
  23537. in: query
  23538. name: userID
  23539. required: true
  23540. type: integer
  23541. - description: 留言信息
  23542. in: query
  23543. name: message
  23544. required: true
  23545. type: string
  23546. - description: 联系电话
  23547. in: query
  23548. name: contactNum
  23549. required: true
  23550. type: string
  23551. produces:
  23552. - application/json
  23553. responses:
  23554. "200":
  23555. description: OK
  23556. schema:
  23557. $ref: '#/definitions/app.Response'
  23558. "500":
  23559. description: Internal Server Error
  23560. schema:
  23561. $ref: '#/definitions/app.Response'
  23562. security:
  23563. - ApiKeyAuth: []
  23564. summary: 添加用户留言板信息
  23565. tags:
  23566. - 用户信息
  23567. /User/AddUserFavoriteGoods:
  23568. post:
  23569. parameters:
  23570. - description: 用户ID
  23571. in: query
  23572. name: userID
  23573. required: true
  23574. type: integer
  23575. - description: 商品ID
  23576. in: query
  23577. name: goodsID
  23578. required: true
  23579. type: integer
  23580. produces:
  23581. - application/json
  23582. responses:
  23583. "200":
  23584. description: OK
  23585. schema:
  23586. $ref: '#/definitions/app.Response'
  23587. "500":
  23588. description: Internal Server Error
  23589. schema:
  23590. $ref: '#/definitions/app.Response'
  23591. security:
  23592. - ApiKeyAuth: []
  23593. summary: 添加用户商品收藏信息
  23594. tags:
  23595. - 用户信息
  23596. /User/GetLoginID:
  23597. get:
  23598. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  23599. parameters:
  23600. - description: 登录代码
  23601. in: query
  23602. name: username
  23603. required: true
  23604. type: string
  23605. produces:
  23606. - application/json
  23607. responses:
  23608. "200":
  23609. description: OK
  23610. schema:
  23611. $ref: '#/definitions/app.Response'
  23612. "500":
  23613. description: Internal Server Error
  23614. schema:
  23615. $ref: '#/definitions/app.Response'
  23616. summary: 获取登录ID
  23617. tags:
  23618. - 用户信息
  23619. /User/GetUserAccount:
  23620. get:
  23621. parameters:
  23622. - description: 用户ID
  23623. in: query
  23624. name: userID
  23625. required: true
  23626. type: integer
  23627. produces:
  23628. - application/json
  23629. responses:
  23630. "200":
  23631. description: OK
  23632. schema:
  23633. $ref: '#/definitions/models.Useraccount'
  23634. "500":
  23635. description: Internal Server Error
  23636. schema:
  23637. $ref: '#/definitions/app.Response'
  23638. security:
  23639. - ApiKeyAuth: []
  23640. summary: 获取用户账号信息
  23641. tags:
  23642. - 用户信息
  23643. /User/GetUserAuthStatus:
  23644. get:
  23645. parameters:
  23646. - description: 用户ID
  23647. in: query
  23648. name: userID
  23649. required: true
  23650. type: integer
  23651. produces:
  23652. - application/json
  23653. responses:
  23654. "200":
  23655. description: OK
  23656. schema:
  23657. $ref: '#/definitions/app.Response'
  23658. "500":
  23659. description: Internal Server Error
  23660. schema:
  23661. $ref: '#/definitions/app.Response'
  23662. security:
  23663. - ApiKeyAuth: []
  23664. summary: 获取用户实名认证状态
  23665. tags:
  23666. - 用户信息
  23667. /User/LoginQuery:
  23668. get:
  23669. parameters:
  23670. - description: 登录账号
  23671. in: query
  23672. name: loginID
  23673. required: true
  23674. type: integer
  23675. produces:
  23676. - application/json
  23677. responses:
  23678. "200":
  23679. description: OK
  23680. schema:
  23681. $ref: '#/definitions/user.LoginQueryRsp'
  23682. "500":
  23683. description: Internal Server Error
  23684. schema:
  23685. $ref: '#/definitions/app.Response'
  23686. security:
  23687. - ApiKeyAuth: []
  23688. summary: 账户登录后信息查询
  23689. tags:
  23690. - 用户信息
  23691. /User/QueryMessageBoard:
  23692. get:
  23693. parameters:
  23694. - description: 用户ID
  23695. in: query
  23696. name: userID
  23697. required: true
  23698. type: integer
  23699. produces:
  23700. - application/json
  23701. responses:
  23702. "200":
  23703. description: OK
  23704. schema:
  23705. $ref: '#/definitions/models.Messageboard'
  23706. "500":
  23707. description: Internal Server Error
  23708. schema:
  23709. $ref: '#/definitions/app.Response'
  23710. security:
  23711. - ApiKeyAuth: []
  23712. summary: 获取用户留言板信息
  23713. tags:
  23714. - 用户信息
  23715. /User/QueryUserFavoriteGoodses:
  23716. get:
  23717. parameters:
  23718. - description: 用户ID
  23719. in: query
  23720. name: userID
  23721. required: true
  23722. type: integer
  23723. produces:
  23724. - application/json
  23725. responses:
  23726. "200":
  23727. description: OK
  23728. schema:
  23729. $ref: '#/definitions/models.Userfavoritegoods'
  23730. "500":
  23731. description: Internal Server Error
  23732. schema:
  23733. $ref: '#/definitions/app.Response'
  23734. security:
  23735. - ApiKeyAuth: []
  23736. summary: 获取用户商品收藏信息
  23737. tags:
  23738. - 用户信息
  23739. /User/QueryUserInfo:
  23740. get:
  23741. parameters:
  23742. - description: 用户ID
  23743. in: query
  23744. name: userID
  23745. required: true
  23746. type: integer
  23747. - description: 是否解密
  23748. in: query
  23749. name: isDecrypt
  23750. type: boolean
  23751. produces:
  23752. - application/json
  23753. responses:
  23754. "200":
  23755. description: OK
  23756. schema:
  23757. $ref: '#/definitions/models.Userinfo'
  23758. "500":
  23759. description: Internal Server Error
  23760. schema:
  23761. $ref: '#/definitions/app.Response'
  23762. security:
  23763. - ApiKeyAuth: []
  23764. summary: 获取用户信息
  23765. tags:
  23766. - 用户信息
  23767. /User/QueryUserReferNum:
  23768. get:
  23769. parameters:
  23770. - description: 用户ID
  23771. in: query
  23772. name: userID
  23773. required: true
  23774. type: integer
  23775. produces:
  23776. - application/json
  23777. responses:
  23778. "200":
  23779. description: OK
  23780. schema:
  23781. $ref: '#/definitions/app.Response'
  23782. "500":
  23783. description: Internal Server Error
  23784. schema:
  23785. $ref: '#/definitions/app.Response'
  23786. summary: 获取用户邀请码
  23787. tags:
  23788. - 用户信息
  23789. /User/RemoveUserFavoriteGoods:
  23790. post:
  23791. parameters:
  23792. - description: 用户ID
  23793. in: query
  23794. name: userID
  23795. required: true
  23796. type: integer
  23797. - description: 商品ID
  23798. in: query
  23799. name: goodsID
  23800. required: true
  23801. type: integer
  23802. produces:
  23803. - application/json
  23804. responses:
  23805. "200":
  23806. description: OK
  23807. schema:
  23808. $ref: '#/definitions/app.Response'
  23809. "500":
  23810. description: Internal Server Error
  23811. schema:
  23812. $ref: '#/definitions/app.Response'
  23813. security:
  23814. - ApiKeyAuth: []
  23815. summary: 移除用户商品收藏信息
  23816. tags:
  23817. - 用户信息
  23818. /User/UpdateUserAccountStatus:
  23819. post:
  23820. parameters:
  23821. - description: 用户ID
  23822. in: query
  23823. name: userID
  23824. required: true
  23825. type: integer
  23826. - description: 账户状态 - 4:正常 6:注销(停用)
  23827. in: query
  23828. name: accountStatus
  23829. required: true
  23830. type: integer
  23831. produces:
  23832. - application/json
  23833. responses:
  23834. "200":
  23835. description: OK
  23836. schema:
  23837. $ref: '#/definitions/app.Response'
  23838. "500":
  23839. description: Internal Server Error
  23840. schema:
  23841. $ref: '#/definitions/app.Response'
  23842. security:
  23843. - ApiKeyAuth: []
  23844. summary: 更新用户状态
  23845. tags:
  23846. - 用户信息
  23847. /WRTrade/GetAllDeliveryGoods:
  23848. get:
  23849. produces:
  23850. - application/json
  23851. - application/json
  23852. responses:
  23853. "200":
  23854. description: OK
  23855. schema:
  23856. $ref: '#/definitions/app.Response'
  23857. "500":
  23858. description: Internal Server Error
  23859. schema:
  23860. $ref: '#/definitions/app.Response'
  23861. security:
  23862. - ApiKeyAuth: []
  23863. - ApiKeyAuth: []
  23864. summary: 获取带仓单分类的种类信息
  23865. tags:
  23866. - 仓单贸易
  23867. - 仓单贸易
  23868. /WrTrade2/QueryFaProductDetail:
  23869. get:
  23870. description: 页面 买卖大厅 -> 选择融资方案
  23871. parameters:
  23872. - description: 仓单要素id
  23873. in: query
  23874. name: wrfactortypeid
  23875. required: true
  23876. type: integer
  23877. produces:
  23878. - application/json
  23879. responses:
  23880. "200":
  23881. description: OK
  23882. schema:
  23883. items:
  23884. $ref: '#/definitions/models.WrFAProductDetail'
  23885. type: array
  23886. "500":
  23887. description: Internal Server Error
  23888. schema:
  23889. $ref: '#/definitions/app.Response'
  23890. security:
  23891. - ApiKeyAuth: []
  23892. summary: 查询融资产品列表
  23893. tags:
  23894. - 仓单贸易v2
  23895. /WrTrade2/QueryFilterItem:
  23896. get:
  23897. parameters:
  23898. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  23899. in: query
  23900. name: itype
  23901. required: true
  23902. type: string
  23903. produces:
  23904. - application/json
  23905. responses:
  23906. "200":
  23907. description: OK
  23908. schema:
  23909. items:
  23910. $ref: '#/definitions/models.WrFilterItem'
  23911. type: array
  23912. "500":
  23913. description: Internal Server Error
  23914. schema:
  23915. $ref: '#/definitions/app.Response'
  23916. security:
  23917. - ApiKeyAuth: []
  23918. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  23919. tags:
  23920. - 仓单贸易v2
  23921. /WrTrade2/QueryFtDeliveryGoods:
  23922. get:
  23923. produces:
  23924. - application/json
  23925. responses:
  23926. "200":
  23927. description: OK
  23928. schema:
  23929. items:
  23930. $ref: '#/definitions/models.WrFtDeliveryGoods'
  23931. type: array
  23932. "500":
  23933. description: Internal Server Error
  23934. schema:
  23935. $ref: '#/definitions/app.Response'
  23936. security:
  23937. - ApiKeyAuth: []
  23938. summary: 查询品种品类筛选框列表
  23939. tags:
  23940. - 仓单贸易v2
  23941. /WrTrade2/QueryHoldLB:
  23942. get:
  23943. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  23944. parameters:
  23945. - description: 资金账号
  23946. in: query
  23947. name: accountid
  23948. required: true
  23949. type: integer
  23950. - description: 仓库id
  23951. in: query
  23952. name: warehouseid
  23953. type: integer
  23954. - description: 品种id
  23955. in: query
  23956. name: deliverygoodsid
  23957. type: integer
  23958. - description: 品类id
  23959. in: query
  23960. name: wrstandardid
  23961. type: integer
  23962. produces:
  23963. - application/json
  23964. responses:
  23965. "200":
  23966. description: OK
  23967. schema:
  23968. items:
  23969. $ref: '#/definitions/models.WrHoldLB'
  23970. type: array
  23971. "500":
  23972. description: Internal Server Error
  23973. schema:
  23974. $ref: '#/definitions/app.Response'
  23975. security:
  23976. - ApiKeyAuth: []
  23977. summary: 查询仓单持有记录
  23978. tags:
  23979. - 仓单贸易v2
  23980. /WrTrade2/QueryOrderQuote:
  23981. get:
  23982. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  23983. 唯一确定1条记录
  23984. parameters:
  23985. - description: 页码
  23986. in: query
  23987. name: page
  23988. type: integer
  23989. - description: 每页条数
  23990. in: query
  23991. name: pagesize
  23992. type: integer
  23993. - description: 仓单贸易市场id
  23994. in: query
  23995. name: marketid
  23996. type: integer
  23997. - description: 价格方式 - 1:固定价 2-浮动价
  23998. in: query
  23999. name: wrpricetype
  24000. required: true
  24001. type: integer
  24002. - description: 0:仓单预售 1:仓单贸易
  24003. in: query
  24004. name: haswr
  24005. required: true
  24006. type: integer
  24007. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24008. in: query
  24009. name: dgitemname
  24010. type: string
  24011. - description: 仓库id(筛选条件)
  24012. in: query
  24013. name: warehouseid
  24014. type: integer
  24015. - description: 品种id
  24016. in: query
  24017. name: deliverygoodsid
  24018. type: integer
  24019. - description: 品类id
  24020. in: query
  24021. name: wrstandardid
  24022. type: integer
  24023. - description: 仓单要素id
  24024. in: query
  24025. name: wrfactortypeid
  24026. type: integer
  24027. - description: 交收月(yyyy-mm) 仓单预售填写
  24028. in: query
  24029. name: deliverymonth
  24030. type: string
  24031. produces:
  24032. - application/json
  24033. responses:
  24034. "200":
  24035. description: OK
  24036. schema:
  24037. items:
  24038. $ref: '#/definitions/models.WrOrderQuote'
  24039. type: array
  24040. "500":
  24041. description: Internal Server Error
  24042. schema:
  24043. $ref: '#/definitions/app.Response'
  24044. security:
  24045. - ApiKeyAuth: []
  24046. summary: 查询大厅行情列表
  24047. tags:
  24048. - 仓单贸易v2
  24049. /WrTrade2/QueryOrderQuoteDetail:
  24050. get:
  24051. parameters:
  24052. - description: 页码
  24053. in: query
  24054. name: page
  24055. type: integer
  24056. - description: 每页条数
  24057. in: query
  24058. name: pagesize
  24059. type: integer
  24060. - description: 仓单贸易市场id
  24061. in: query
  24062. name: marketid
  24063. type: integer
  24064. - description: 价格方式 - 1:固定价 2-浮动价
  24065. in: query
  24066. name: wrpricetype
  24067. required: true
  24068. type: integer
  24069. - description: 0:仓单预售 1:仓单贸易
  24070. in: query
  24071. name: haswr
  24072. required: true
  24073. type: integer
  24074. - description: 仓单要素id
  24075. in: query
  24076. name: wrfactortypeid
  24077. required: true
  24078. type: integer
  24079. - description: 期货商品id(浮动价方式时填)
  24080. in: query
  24081. name: goodsid
  24082. type: integer
  24083. - description: 买卖方向 0-买 1-卖
  24084. in: query
  24085. name: buyorsell
  24086. required: true
  24087. type: integer
  24088. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24089. in: query
  24090. name: deliverymonth
  24091. type: string
  24092. produces:
  24093. - application/json
  24094. responses:
  24095. "200":
  24096. description: OK
  24097. schema:
  24098. items:
  24099. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24100. type: array
  24101. "500":
  24102. description: Internal Server Error
  24103. schema:
  24104. $ref: '#/definitions/app.Response'
  24105. security:
  24106. - ApiKeyAuth: []
  24107. summary: 查询买卖大厅
  24108. tags:
  24109. - 仓单贸易v2
  24110. /WrTrade2/QueryPerformancePlan:
  24111. get:
  24112. parameters:
  24113. - description: 用户id
  24114. in: query
  24115. name: userid
  24116. required: true
  24117. type: integer
  24118. - description: 买卖方向 0-买 1-卖
  24119. in: query
  24120. name: buyorsell
  24121. required: true
  24122. type: integer
  24123. produces:
  24124. - application/json
  24125. responses:
  24126. "200":
  24127. description: OK
  24128. schema:
  24129. items:
  24130. $ref: '#/definitions/models.WrPerformancePlan'
  24131. type: array
  24132. "500":
  24133. description: Internal Server Error
  24134. schema:
  24135. $ref: '#/definitions/app.Response'
  24136. security:
  24137. - ApiKeyAuth: []
  24138. summary: 查询履约信息
  24139. tags:
  24140. - 仓单贸易v2
  24141. /WrTrade2/QueryWrBuybackDetail:
  24142. get:
  24143. parameters:
  24144. - description: 融资合同id
  24145. in: query
  24146. name: scfcontractid
  24147. type: integer
  24148. produces:
  24149. - application/json
  24150. responses:
  24151. "200":
  24152. description: OK
  24153. schema:
  24154. items:
  24155. $ref: '#/definitions/models.WrBuybackDetail'
  24156. type: array
  24157. "500":
  24158. description: Internal Server Error
  24159. schema:
  24160. $ref: '#/definitions/app.Response'
  24161. security:
  24162. - ApiKeyAuth: []
  24163. summary: 查询仓单回购明细
  24164. tags:
  24165. - 仓单贸易v2
  24166. /WrTrade2/QueryWrFactorTypeInfo:
  24167. get:
  24168. parameters:
  24169. - description: 仓单要素id
  24170. in: query
  24171. name: wrfactortypeid
  24172. required: true
  24173. type: integer
  24174. produces:
  24175. - application/json
  24176. responses:
  24177. "200":
  24178. description: OK
  24179. schema:
  24180. items:
  24181. $ref: '#/definitions/models.WrFactorTypeInfo'
  24182. type: array
  24183. "500":
  24184. description: Internal Server Error
  24185. schema:
  24186. $ref: '#/definitions/app.Response'
  24187. security:
  24188. - ApiKeyAuth: []
  24189. summary: 查询仓单要素详细信息
  24190. tags:
  24191. - 仓单贸易v2
  24192. /WrTrade2/QueryWrFactorTypeInfoEx:
  24193. get:
  24194. parameters:
  24195. - description: 仓单要素id
  24196. in: query
  24197. name: wrfactortypeid
  24198. required: true
  24199. type: integer
  24200. produces:
  24201. - application/json
  24202. responses:
  24203. "200":
  24204. description: OK
  24205. schema:
  24206. items:
  24207. $ref: '#/definitions/models.WrTypeItem'
  24208. type: array
  24209. "500":
  24210. description: Internal Server Error
  24211. schema:
  24212. $ref: '#/definitions/app.Response'
  24213. security:
  24214. - ApiKeyAuth: []
  24215. summary: 查询仓单要素详细信息列表项
  24216. tags:
  24217. - 仓单贸易v2
  24218. /WrTrade2/QueryWrFinanceBuyApply:
  24219. get:
  24220. description: 页面 融资信息+ / 申请单
  24221. parameters:
  24222. - description: 用户id
  24223. in: query
  24224. name: userid
  24225. required: true
  24226. type: integer
  24227. produces:
  24228. - application/json
  24229. responses:
  24230. "200":
  24231. description: OK
  24232. schema:
  24233. items:
  24234. $ref: '#/definitions/models.WrFinanceBuyApply'
  24235. type: array
  24236. "500":
  24237. description: Internal Server Error
  24238. schema:
  24239. $ref: '#/definitions/app.Response'
  24240. security:
  24241. - ApiKeyAuth: []
  24242. summary: 查询融资购买申请
  24243. tags:
  24244. - 仓单贸易v2
  24245. /WrTrade2/QueryWrGoodsInfo:
  24246. get:
  24247. parameters:
  24248. - description: 仓单贸易市场id
  24249. in: query
  24250. name: marketid
  24251. type: integer
  24252. - description: 0:仓单预售 1:仓单贸易
  24253. in: query
  24254. name: haswr
  24255. required: true
  24256. type: integer
  24257. - description: 仓单要素id
  24258. in: query
  24259. name: wrfactortypeid
  24260. required: true
  24261. type: integer
  24262. produces:
  24263. - application/json
  24264. responses:
  24265. "200":
  24266. description: OK
  24267. schema:
  24268. items:
  24269. $ref: '#/definitions/models.WrGoodsInfo'
  24270. type: array
  24271. "500":
  24272. description: Internal Server Error
  24273. schema:
  24274. $ref: '#/definitions/app.Response'
  24275. security:
  24276. - ApiKeyAuth: []
  24277. summary: 查询仓单商品信息
  24278. tags:
  24279. - 仓单贸易v2
  24280. /WrTrade2/QueryWrMarketTradeConfig:
  24281. get:
  24282. parameters:
  24283. - description: 市场id
  24284. in: query
  24285. name: marketid
  24286. type: integer
  24287. produces:
  24288. - application/json
  24289. responses:
  24290. "200":
  24291. description: OK
  24292. schema:
  24293. items:
  24294. $ref: '#/definitions/models.WrMarketTradeConfig'
  24295. type: array
  24296. "500":
  24297. description: Internal Server Error
  24298. schema:
  24299. $ref: '#/definitions/app.Response'
  24300. security:
  24301. - ApiKeyAuth: []
  24302. summary: 查询市场交易参数配置
  24303. tags:
  24304. - 仓单贸易v2
  24305. /WrTrade2/QueryWrOrderDetail:
  24306. get:
  24307. description: 页面 现货仓单 | 预售仓单 -> 挂单
  24308. parameters:
  24309. - description: 页码
  24310. in: query
  24311. name: page
  24312. type: integer
  24313. - description: 每页条数
  24314. in: query
  24315. name: pagesize
  24316. type: integer
  24317. - description: 用户id
  24318. in: query
  24319. name: userid
  24320. required: true
  24321. type: integer
  24322. - description: 仓单贸易市场id
  24323. in: query
  24324. name: marketid
  24325. type: integer
  24326. - description: 0:仓单预售 1:仓单贸易
  24327. in: query
  24328. name: haswr
  24329. required: true
  24330. type: integer
  24331. produces:
  24332. - application/json
  24333. responses:
  24334. "200":
  24335. description: OK
  24336. schema:
  24337. items:
  24338. $ref: '#/definitions/models.WrOrderDetail'
  24339. type: array
  24340. "500":
  24341. description: Internal Server Error
  24342. schema:
  24343. $ref: '#/definitions/app.Response'
  24344. security:
  24345. - ApiKeyAuth: []
  24346. summary: 查询仓单委托单(挂单)
  24347. tags:
  24348. - 仓单贸易v2
  24349. /WrTrade2/QueryWrOutInApply:
  24350. get:
  24351. parameters:
  24352. - description: 用户id
  24353. in: query
  24354. name: userid
  24355. required: true
  24356. type: integer
  24357. produces:
  24358. - application/json
  24359. responses:
  24360. "200":
  24361. description: OK
  24362. schema:
  24363. items:
  24364. $ref: '#/definitions/models.WrOutInApply'
  24365. type: array
  24366. "500":
  24367. description: Internal Server Error
  24368. schema:
  24369. $ref: '#/definitions/app.Response'
  24370. security:
  24371. - ApiKeyAuth: []
  24372. summary: 查询提货申请
  24373. tags:
  24374. - 仓单贸易v2
  24375. /WrTrade2/QueryWrPerformancePlanStep:
  24376. get:
  24377. parameters:
  24378. - description: 履约计划id(performanceplanid)
  24379. in: query
  24380. name: planid
  24381. required: true
  24382. type: integer
  24383. - description: 当前步骤id
  24384. in: query
  24385. name: curstepid
  24386. type: integer
  24387. produces:
  24388. - application/json
  24389. responses:
  24390. "200":
  24391. description: OK
  24392. schema:
  24393. items:
  24394. $ref: '#/definitions/models.WrPerformancePlanStep'
  24395. type: array
  24396. "500":
  24397. description: Internal Server Error
  24398. schema:
  24399. $ref: '#/definitions/app.Response'
  24400. security:
  24401. - ApiKeyAuth: []
  24402. summary: 查询履约信息详情
  24403. tags:
  24404. - 仓单贸易v2
  24405. /WrTrade2/QueryWrPosition:
  24406. get:
  24407. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  24408. parameters:
  24409. - description: 用户id
  24410. in: query
  24411. name: userid
  24412. required: true
  24413. type: integer
  24414. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  24415. in: query
  24416. name: querytype
  24417. required: true
  24418. type: integer
  24419. - description: 0:仓单预售 1:仓单贸易
  24420. in: query
  24421. name: haswr
  24422. required: true
  24423. type: integer
  24424. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24425. in: query
  24426. name: dgitemname
  24427. type: string
  24428. - description: 仓库id(筛选条件)
  24429. in: query
  24430. name: warehouseid
  24431. type: integer
  24432. - description: 品种id
  24433. in: query
  24434. name: deliverygoodsid
  24435. type: integer
  24436. - description: 品类id
  24437. in: query
  24438. name: wrstandardid
  24439. type: integer
  24440. produces:
  24441. - application/json
  24442. responses:
  24443. "200":
  24444. description: OK
  24445. schema:
  24446. items:
  24447. $ref: '#/definitions/models.WrPosition'
  24448. type: array
  24449. "500":
  24450. description: Internal Server Error
  24451. schema:
  24452. $ref: '#/definitions/app.Response'
  24453. security:
  24454. - ApiKeyAuth: []
  24455. summary: 查询现货(预售)仓单持仓
  24456. tags:
  24457. - 仓单贸易v2
  24458. /WrTrade2/QueryWrScfContract:
  24459. get:
  24460. parameters:
  24461. - description: 用户id
  24462. in: query
  24463. name: userid
  24464. required: true
  24465. type: integer
  24466. - description: 融资合同id
  24467. in: query
  24468. name: scfcontractid
  24469. type: integer
  24470. produces:
  24471. - application/json
  24472. responses:
  24473. "200":
  24474. description: OK
  24475. schema:
  24476. items:
  24477. $ref: '#/definitions/models.WrScfContract'
  24478. type: array
  24479. "500":
  24480. description: Internal Server Error
  24481. schema:
  24482. $ref: '#/definitions/app.Response'
  24483. security:
  24484. - ApiKeyAuth: []
  24485. summary: 查询仓单贸易融资合同
  24486. tags:
  24487. - 仓单贸易v2
  24488. /WrTrade2/QueryWrScfContractInterest:
  24489. get:
  24490. parameters:
  24491. - description: 融资合同id
  24492. in: query
  24493. name: scfcontractid
  24494. type: integer
  24495. produces:
  24496. - application/json
  24497. responses:
  24498. "200":
  24499. description: OK
  24500. schema:
  24501. items:
  24502. $ref: '#/definitions/models.WrScfContractInterest'
  24503. type: array
  24504. "500":
  24505. description: Internal Server Error
  24506. schema:
  24507. $ref: '#/definitions/app.Response'
  24508. security:
  24509. - ApiKeyAuth: []
  24510. summary: 查询融资合同费用明细
  24511. tags:
  24512. - 仓单贸易v2
  24513. /WrTrade2/QueryWrSpecialMatchOrder:
  24514. get:
  24515. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  24516. parameters:
  24517. - description: 页码
  24518. in: query
  24519. name: page
  24520. type: integer
  24521. - description: 每页条数
  24522. in: query
  24523. name: pagesize
  24524. type: integer
  24525. - description: 用户id
  24526. in: query
  24527. name: userid
  24528. required: true
  24529. type: integer
  24530. - description: 仓单贸易市场id
  24531. in: query
  24532. name: marketid
  24533. type: integer
  24534. - description: 0:仓单预售 1:仓单贸易
  24535. in: query
  24536. name: haswr
  24537. required: true
  24538. type: integer
  24539. produces:
  24540. - application/json
  24541. responses:
  24542. "200":
  24543. description: OK
  24544. schema:
  24545. items:
  24546. $ref: '#/definitions/models.WrSpecialMatchOrder'
  24547. type: array
  24548. "500":
  24549. description: Internal Server Error
  24550. schema:
  24551. $ref: '#/definitions/app.Response'
  24552. security:
  24553. - ApiKeyAuth: []
  24554. summary: 查询指定成交
  24555. tags:
  24556. - 仓单贸易v2
  24557. /WrTrade2/QueryWrStandardFactoryItem:
  24558. get:
  24559. parameters:
  24560. - description: 品类id
  24561. in: query
  24562. name: wrstandardid
  24563. required: true
  24564. type: integer
  24565. produces:
  24566. - application/json
  24567. responses:
  24568. "200":
  24569. description: OK
  24570. schema:
  24571. items:
  24572. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  24573. type: array
  24574. "500":
  24575. description: Internal Server Error
  24576. schema:
  24577. $ref: '#/definitions/app.Response'
  24578. security:
  24579. - ApiKeyAuth: []
  24580. summary: 查询品类要素定义项
  24581. tags:
  24582. - 仓单贸易v2
  24583. /WrTrade2/QueryWrTradeDetail:
  24584. get:
  24585. parameters:
  24586. - description: 页码
  24587. in: query
  24588. name: page
  24589. type: integer
  24590. - description: 每页条数
  24591. in: query
  24592. name: pagesize
  24593. type: integer
  24594. - description: 用户id
  24595. in: query
  24596. name: userid
  24597. required: true
  24598. type: integer
  24599. - description: 仓单贸易市场id
  24600. in: query
  24601. name: marketid
  24602. type: integer
  24603. - description: 0:仓单预售 1:仓单贸易
  24604. in: query
  24605. name: haswr
  24606. required: true
  24607. type: integer
  24608. produces:
  24609. - application/json
  24610. responses:
  24611. "200":
  24612. description: OK
  24613. schema:
  24614. items:
  24615. $ref: '#/definitions/models.WrTradeDetail'
  24616. type: array
  24617. "500":
  24618. description: Internal Server Error
  24619. schema:
  24620. $ref: '#/definitions/app.Response'
  24621. security:
  24622. - ApiKeyAuth: []
  24623. summary: 查询仓单成交明细
  24624. tags:
  24625. - 仓单贸易v2
  24626. securityDefinitions:
  24627. ApiKeyAuth:
  24628. in: header
  24629. name: Authorization
  24630. type: apiKey
  24631. swagger: "2.0"