swagger.yaml 675 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. goodscode:
  863. description: 商品代码
  864. type: string
  865. goodsid:
  866. description: 交易合约ID
  867. type: integer
  868. goodsname:
  869. description: 商品名称
  870. type: string
  871. marketid:
  872. description: 市场ID
  873. type: integer
  874. mindeliveryqty:
  875. description: 最小交割系数(K)
  876. type: integer
  877. p2deliveryprice:
  878. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  879. type: number
  880. p2deliveryratio:
  881. description: P2合约系数(p)
  882. type: integer
  883. p2goodsid:
  884. description: P2合约ID
  885. type: integer
  886. p2pricemode:
  887. description: P2合约价格方式 - 1:商品价 2:固定值
  888. type: integer
  889. pdeliveryprice:
  890. description: P合约价格(商品价时填写0,固定值时填写固定值)
  891. type: number
  892. pdeliveryratio:
  893. description: P合约系数(n)
  894. type: integer
  895. pgoodsid:
  896. description: P合约ID
  897. type: integer
  898. ppricemode:
  899. description: P合约价格方式 - 1:商品价 2:固定值
  900. type: integer
  901. rratio:
  902. description: 兑换系数(R)
  903. type: integer
  904. rratio1:
  905. description: 兑换系数(交易合约)(R1)
  906. type: integer
  907. rratio2:
  908. description: 兑换系数(仓单标准)(R2)
  909. type: integer
  910. selltemplateid:
  911. description: 卖履约计划模板ID
  912. type: integer
  913. wrstandardid:
  914. description: 仓单标准ID
  915. type: integer
  916. xdeliveryratio:
  917. description: 交易合约系数(m)
  918. type: integer
  919. required:
  920. - begindate
  921. - enddate
  922. - goodsid
  923. - mindeliveryqty
  924. - xdeliveryratio
  925. type: object
  926. ermcp.ExposureDetailRsp:
  927. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  928. ermcp.ExposureHedgePosDetailRsp:
  929. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  930. ermcp.ExposureHedgePositionRsp:
  931. $ref: '#/definitions/models.ErmcpHedgePosition'
  932. ermcp.ExposureSpotDetailRsp:
  933. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  934. ermcp.ExposureSpotRsp:
  935. $ref: '#/definitions/models.AreaSpotModel'
  936. ermcp.HisExposureRsp:
  937. $ref: '#/definitions/models.ErmcpHisExposureS'
  938. ermcp.PendingAuditCntRsp:
  939. $ref: '#/definitions/models.ErmcpPendingAudit'
  940. ermcp.QryAvalidGPRsp:
  941. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  942. ermcp.QryBusinessDjRsp:
  943. properties:
  944. amount:
  945. description: 点价金额=(点价价格+升贴水)*点价数量
  946. type: number
  947. applyid:
  948. description: 申请人
  949. type: string
  950. applyname:
  951. description: 申请人名称
  952. type: string
  953. applystatus:
  954. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  955. type: integer
  956. applytime:
  957. description: 申请时间
  958. type: string
  959. attachurl:
  960. description: 附件
  961. type: string
  962. auditid:
  963. description: 审核人ID
  964. type: string
  965. auditname:
  966. description: 审核人名称
  967. type: string
  968. audittime:
  969. description: 审核时间
  970. type: string
  971. buyusername:
  972. description: 采购方名称
  973. type: string
  974. contractno:
  975. description: 合同编号
  976. type: string
  977. contractstatus:
  978. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  979. type: integer
  980. contracttype:
  981. description: 现货合同类型 - 1:采购 -1:销售
  982. type: integer
  983. deliverygoodscode:
  984. description: 现货品种代码
  985. type: string
  986. deliverygoodsid:
  987. description: 现货商品ID
  988. type: integer
  989. deliverygoodsname:
  990. description: 现货品种名称
  991. type: string
  992. enumdicname:
  993. description: 单位名称
  994. type: string
  995. goodscode:
  996. description: 点价合约
  997. type: string
  998. goodsname:
  999. description: 商品名称
  1000. type: string
  1001. operateapplyid:
  1002. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1003. type: string
  1004. operateapplytype:
  1005. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1006. type: integer
  1007. pricedPrice:
  1008. description: 点价价格(非必填)
  1009. type: number
  1010. pricedQty:
  1011. description: 点价数量(非必填)
  1012. type: number
  1013. pricemove:
  1014. description: 升贴水
  1015. type: number
  1016. pricetype:
  1017. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1018. type: integer
  1019. relatedid:
  1020. description: 现货合同ID
  1021. type: string
  1022. sellusername:
  1023. description: 销售方名字
  1024. type: string
  1025. userid:
  1026. description: 用户ID
  1027. type: integer
  1028. wrstandardcode:
  1029. description: 品类代码
  1030. type: string
  1031. wrstandardid:
  1032. description: 品类id
  1033. type: integer
  1034. wrstandardname:
  1035. description: 品类名称
  1036. type: string
  1037. type: object
  1038. ermcp.QryBussinessFpRsp:
  1039. properties:
  1040. applyid:
  1041. description: 申请人
  1042. type: string
  1043. applyname:
  1044. description: 申请人名称
  1045. type: string
  1046. applystatus:
  1047. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1048. type: integer
  1049. applytime:
  1050. description: 申请时间
  1051. type: string
  1052. attachurl:
  1053. description: 附件
  1054. type: string
  1055. auditid:
  1056. description: 审核人ID
  1057. type: string
  1058. auditname:
  1059. description: 审核人名称
  1060. type: string
  1061. audittime:
  1062. description: 审核时间
  1063. type: string
  1064. buyusername:
  1065. description: 采购方名称
  1066. type: string
  1067. contractno:
  1068. description: 合同编号
  1069. type: string
  1070. contractstatus:
  1071. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1072. type: integer
  1073. contracttype:
  1074. description: 现货合同类型 - 1:采购 -1:销售
  1075. type: integer
  1076. deliverygoodscode:
  1077. description: 现货品种代码
  1078. type: string
  1079. deliverygoodsid:
  1080. description: 现货商品ID
  1081. type: integer
  1082. deliverygoodsname:
  1083. description: 现货品种名称
  1084. type: string
  1085. enumdicname:
  1086. description: 单位名称
  1087. type: string
  1088. goodscode:
  1089. description: 点价合约
  1090. type: string
  1091. goodsname:
  1092. description: 商品名称
  1093. type: string
  1094. invoiceAmount:
  1095. description: 已开收票金额(销售为开票,采购为收票)
  1096. type: number
  1097. operateapplyid:
  1098. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1099. type: string
  1100. operateapplytype:
  1101. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1102. type: integer
  1103. pricemove:
  1104. description: 升贴水
  1105. type: number
  1106. pricetype:
  1107. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1108. type: integer
  1109. relatedid:
  1110. description: 现货合同ID
  1111. type: string
  1112. sellusername:
  1113. description: 销售方名字
  1114. type: string
  1115. userid:
  1116. description: 用户ID
  1117. type: integer
  1118. wrstandardcode:
  1119. description: 品类代码
  1120. type: string
  1121. wrstandardid:
  1122. description: 品类id
  1123. type: integer
  1124. wrstandardname:
  1125. description: 品类名称
  1126. type: string
  1127. type: object
  1128. ermcp.QryBussinessJsExRsp:
  1129. properties:
  1130. applyid:
  1131. description: 申请人
  1132. type: string
  1133. applyname:
  1134. description: 申请人名称
  1135. type: string
  1136. applystatus:
  1137. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1138. type: integer
  1139. applytime:
  1140. description: 申请时间
  1141. type: string
  1142. attachurl:
  1143. description: 附件
  1144. type: string
  1145. auditid:
  1146. description: 审核人ID
  1147. type: string
  1148. auditname:
  1149. description: 审核人名称
  1150. type: string
  1151. audittime:
  1152. description: 审核时间
  1153. type: string
  1154. buyusername:
  1155. description: 采购方名称
  1156. type: string
  1157. contractno:
  1158. description: 合同编号
  1159. type: string
  1160. contractstatus:
  1161. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1162. type: integer
  1163. contracttype:
  1164. description: 现货合同类型 - 1:采购 -1:销售
  1165. type: integer
  1166. deliverygoodscode:
  1167. description: 现货品种代码
  1168. type: string
  1169. deliverygoodsid:
  1170. description: 现货商品ID
  1171. type: integer
  1172. deliverygoodsname:
  1173. description: 现货品种名称
  1174. type: string
  1175. enumdicname:
  1176. description: 单位名称
  1177. type: string
  1178. goodscode:
  1179. description: 点价合约
  1180. type: string
  1181. goodsname:
  1182. description: 商品名称
  1183. type: string
  1184. operateapplyid:
  1185. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1186. type: string
  1187. operateapplytype:
  1188. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1189. type: integer
  1190. pricemove:
  1191. description: 升贴水
  1192. type: number
  1193. pricetype:
  1194. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1195. type: integer
  1196. reckontype:
  1197. description: 结算类型
  1198. type: string
  1199. reckonvalue:
  1200. description: 值
  1201. type: number
  1202. relatedid:
  1203. description: 现货合同ID
  1204. type: string
  1205. sellusername:
  1206. description: 销售方名字
  1207. type: string
  1208. userid:
  1209. description: 用户ID
  1210. type: integer
  1211. wrstandardcode:
  1212. description: 品类代码
  1213. type: string
  1214. wrstandardid:
  1215. description: 品类id
  1216. type: integer
  1217. wrstandardname:
  1218. description: 品类名称
  1219. type: string
  1220. type: object
  1221. ermcp.QryBussinessJsRsp:
  1222. properties:
  1223. addmargin:
  1224. description: 追加保证金(非必填)
  1225. type: number
  1226. applyid:
  1227. description: 申请人
  1228. type: string
  1229. applyname:
  1230. description: 申请人名称
  1231. type: string
  1232. applystatus:
  1233. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1234. type: integer
  1235. applytime:
  1236. description: 申请时间
  1237. type: string
  1238. attachurl:
  1239. description: 附件
  1240. type: string
  1241. auditid:
  1242. description: 审核人ID
  1243. type: string
  1244. auditname:
  1245. description: 审核人名称
  1246. type: string
  1247. audittime:
  1248. description: 审核时间
  1249. type: string
  1250. buyusername:
  1251. description: 采购方名称
  1252. type: string
  1253. contractno:
  1254. description: 合同编号
  1255. type: string
  1256. contractstatus:
  1257. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1258. type: integer
  1259. contracttype:
  1260. description: 现货合同类型 - 1:采购 -1:销售
  1261. type: integer
  1262. decmargin:
  1263. description: 减少保证金(非必填)
  1264. type: number
  1265. deliverygoodscode:
  1266. description: 现货品种代码
  1267. type: string
  1268. deliverygoodsid:
  1269. description: 现货商品ID
  1270. type: integer
  1271. deliverygoodsname:
  1272. description: 现货品种名称
  1273. type: string
  1274. enumdicname:
  1275. description: 单位名称
  1276. type: string
  1277. goodscode:
  1278. description: 点价合约
  1279. type: string
  1280. goodsname:
  1281. description: 商品名称
  1282. type: string
  1283. operateapplyid:
  1284. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1285. type: string
  1286. operateapplytype:
  1287. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1288. type: integer
  1289. pricemove:
  1290. description: 升贴水
  1291. type: number
  1292. pricetype:
  1293. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1294. type: integer
  1295. reckonadjustamount:
  1296. description: 结算调整金额(非必填)
  1297. type: number
  1298. reckonosamount:
  1299. description: 结算溢短金额(非必填)
  1300. type: number
  1301. reckonotheramount:
  1302. description: 结算其他费用(非必填)
  1303. type: number
  1304. reckonrealqty:
  1305. description: 结算实际数量(非必填)
  1306. type: number
  1307. relatedid:
  1308. description: 现货合同ID
  1309. type: string
  1310. sellusername:
  1311. description: 销售方名字
  1312. type: string
  1313. userid:
  1314. description: 用户ID
  1315. type: integer
  1316. wrstandardcode:
  1317. description: 品类代码
  1318. type: string
  1319. wrstandardid:
  1320. description: 品类id
  1321. type: integer
  1322. wrstandardname:
  1323. description: 品类名称
  1324. type: string
  1325. type: object
  1326. ermcp.QryBussinessKxRsp:
  1327. properties:
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deductamount:
  1365. description: 退款(非必填)
  1366. type: number
  1367. deliverygoodscode:
  1368. description: 现货品种代码
  1369. type: string
  1370. deliverygoodsid:
  1371. description: 现货商品ID
  1372. type: integer
  1373. deliverygoodsname:
  1374. description: 现货品种名称
  1375. type: string
  1376. enumdicname:
  1377. description: 单位名称
  1378. type: string
  1379. goodscode:
  1380. description: 点价合约
  1381. type: string
  1382. goodsname:
  1383. description: 商品名称
  1384. type: string
  1385. kxtype:
  1386. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1387. type: integer
  1388. operateapplyid:
  1389. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1390. type: string
  1391. operateapplytype:
  1392. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1393. type: integer
  1394. payamount:
  1395. description: 收付款(非必填)
  1396. type: number
  1397. pricemove:
  1398. description: 升贴水
  1399. type: number
  1400. pricetype:
  1401. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1402. type: integer
  1403. relatedid:
  1404. description: 现货合同ID
  1405. type: string
  1406. sellusername:
  1407. description: 销售方名字
  1408. type: string
  1409. userid:
  1410. description: 用户ID
  1411. type: integer
  1412. wrstandardcode:
  1413. description: 品类代码
  1414. type: string
  1415. wrstandardid:
  1416. description: 品类id
  1417. type: integer
  1418. wrstandardname:
  1419. description: 品类名称
  1420. type: string
  1421. type: object
  1422. ermcp.QryGGCovertCfgRsp:
  1423. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryUserInfoRsp:
  1433. $ref: '#/definitions/models.ErmcpUserModel'
  1434. ermcp.QryWarehouseRsp:
  1435. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1436. ermcp.QueryErmcpTradePositionRsp:
  1437. properties:
  1438. agreeunit:
  1439. description: 合约单位
  1440. type: number
  1441. buyorsell:
  1442. description: 方向 - 0:买 1:卖
  1443. type: integer
  1444. curpositionqty:
  1445. description: 持仓(总仓数量, 期末头寸)
  1446. type: integer
  1447. curtdposition:
  1448. description: 今仓数量(期末今日头寸)
  1449. type: integer
  1450. curtdpositionenabled:
  1451. description: 今仓可用
  1452. type: integer
  1453. decimalplace:
  1454. description: 报价小数位
  1455. type: integer
  1456. enableqty:
  1457. description: 可用(总仓可用)
  1458. type: integer
  1459. exexchangename:
  1460. description: 外部交易所名称
  1461. type: string
  1462. goodscode:
  1463. description: 商品代码(内部)
  1464. type: string
  1465. goodsid:
  1466. description: 商品ID(自增ID SEQ_GOODS)
  1467. type: integer
  1468. goodsname:
  1469. description: 商品名称
  1470. type: string
  1471. last:
  1472. description: 现价
  1473. type: number
  1474. marketid:
  1475. description: 所属市场ID
  1476. type: integer
  1477. openaverageprice:
  1478. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1479. type: number
  1480. opencost:
  1481. description: 开仓成本
  1482. type: number
  1483. openpl:
  1484. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1485. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1486. type: number
  1487. outgoodscode:
  1488. description: 商品代码(外部)
  1489. type: string
  1490. positionaverageprice:
  1491. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1492. type: number
  1493. positioncost:
  1494. description: 持仓成本
  1495. type: number
  1496. positionpl:
  1497. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1498. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1499. type: number
  1500. positionplrate:
  1501. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1502. type: number
  1503. usedmargin:
  1504. description: 占用保证金
  1505. type: number
  1506. type: object
  1507. ermcp.RealtimeExposurePositionRsp:
  1508. $ref: '#/definitions/models.ErmcpExposurePostion'
  1509. ermcp.RealtimeExposureRsp:
  1510. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1511. erms2.QueryArbitrageStrategyRsp:
  1512. properties:
  1513. applybasis:
  1514. description: 申请基差
  1515. type: number
  1516. asapplyid:
  1517. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1518. type: string
  1519. asname:
  1520. description: 策略名称
  1521. type: string
  1522. asno:
  1523. description: 策略编号
  1524. type: string
  1525. basischangepl:
  1526. description: 基差变动损益[结算更新]
  1527. type: number
  1528. biztype:
  1529. description: 业务类型 - 1:正向套利 -1:反向套利
  1530. type: integer
  1531. closetradedate:
  1532. description: 完结交易日(yyyyMMdd)
  1533. type: string
  1534. curbasis:
  1535. description: 当前基差[结算更新]
  1536. type: number
  1537. deliverygoodsid:
  1538. description: 现货品种ID
  1539. type: integer
  1540. futureavgprice:
  1541. description: 期货建仓均价
  1542. type: number
  1543. futurecloseamount:
  1544. description: 期货平仓金额
  1545. type: number
  1546. futurecloseqty:
  1547. description: 期货平仓数量
  1548. type: number
  1549. futureopenamount:
  1550. description: 期货开仓金额
  1551. type: number
  1552. futureopenqty:
  1553. description: 期货开仓数量
  1554. type: number
  1555. futurepl:
  1556. description: 期货总盈亏[结算更新]
  1557. type: number
  1558. futureqty:
  1559. description: 期货持仓数量
  1560. type: number
  1561. futurequote:
  1562. description: 期货额度
  1563. type: number
  1564. goodsgroupid:
  1565. description: 期货品种ID
  1566. type: integer
  1567. marketid:
  1568. description: 市场ID
  1569. type: integer
  1570. netexposure:
  1571. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1572. type: number
  1573. netexposurepl:
  1574. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1575. type: number
  1576. netexposurerate:
  1577. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1578. type: number
  1579. openbasis:
  1580. description: 建仓基差
  1581. type: number
  1582. pricedspotqty:
  1583. description: 已定价现货数量
  1584. type: number
  1585. pricedspotqtynotax:
  1586. description: 已定价现货不含税数量
  1587. type: number
  1588. remark:
  1589. description: 备注
  1590. type: string
  1591. spotavgprice:
  1592. description: 现货均价
  1593. type: number
  1594. spotbuyamount:
  1595. description: 现货采购金额
  1596. type: number
  1597. spotbuyqty:
  1598. description: 现货采购数量
  1599. type: number
  1600. spotpl:
  1601. description: 现货总盈亏[结算更新]
  1602. type: number
  1603. spotquota:
  1604. description: 现货额度
  1605. type: number
  1606. spotsellamount:
  1607. description: 现货销售金额
  1608. type: number
  1609. spotsellqty:
  1610. description: 现货销售数量
  1611. type: number
  1612. spotusedquota:
  1613. description: 现货占用资金
  1614. type: number
  1615. strategystatus:
  1616. description: 策略状态 - 0:未结束 1:已结束
  1617. type: integer
  1618. totalpl:
  1619. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1620. type: number
  1621. tradedate:
  1622. description: 交易日(yyyyMMdd)
  1623. type: string
  1624. updatetime:
  1625. description: 更新时间
  1626. type: string
  1627. usedquota:
  1628. description: 已占用资金
  1629. type: number
  1630. userid:
  1631. description: 所属机构
  1632. type: integer
  1633. required:
  1634. - asapplyid
  1635. type: object
  1636. erms2.QueryInnerTradeDetailRsp:
  1637. properties:
  1638. accountid:
  1639. description: 账号ID
  1640. type: integer
  1641. agreeunit:
  1642. description: 合约单位
  1643. type: number
  1644. asapplyid:
  1645. description: 策略申请ID
  1646. type: integer
  1647. asname:
  1648. description: 策略名称
  1649. type: string
  1650. asno:
  1651. description: 策略编号
  1652. type: string
  1653. buyorsell:
  1654. description: 方向 - 0:买 1:卖
  1655. type: integer
  1656. channelbuildtype:
  1657. description: 委托单据类型 0:无 1:建仓 2:平仓
  1658. type: integer
  1659. closetype:
  1660. description: 平仓方式 - 0:无 1:平今 2:平昨
  1661. type: integer
  1662. decimalplace:
  1663. description: 报价小数位
  1664. type: integer
  1665. detailtype:
  1666. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1667. type: integer
  1668. exexchangecode:
  1669. description: 外部交易所代码
  1670. type: string
  1671. exexchangename:
  1672. description: 外部交易所名称
  1673. type: string
  1674. goodscode:
  1675. description: 商品代码(合约)
  1676. type: string
  1677. goodsgroupid:
  1678. description: 商品组ID(品种ID)
  1679. type: integer
  1680. goodsgroupname:
  1681. description: 商品组名称(品种)
  1682. type: string
  1683. goodsid:
  1684. description: 商品ID
  1685. type: integer
  1686. goodsname:
  1687. description: 商品名称(合约)
  1688. type: string
  1689. goodunit:
  1690. description: 报价单位
  1691. type: string
  1692. marketid:
  1693. description: 市场ID
  1694. type: integer
  1695. orderid:
  1696. description: 委托单号
  1697. type: string
  1698. outgoodscode:
  1699. description: 商品代码(外部)
  1700. type: string
  1701. relatedouttradeid:
  1702. description: 关联外部成交单ID
  1703. type: string
  1704. remark:
  1705. description: 备注
  1706. type: string
  1707. spotcontractid:
  1708. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1709. type: integer
  1710. spotcontractno:
  1711. description: 现货合同编号
  1712. type: string
  1713. tradeid:
  1714. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1715. type: string
  1716. tradeprice:
  1717. description: 成交价格
  1718. type: number
  1719. tradeqty:
  1720. description: 成交数量
  1721. type: integer
  1722. tradetime:
  1723. description: 成交时间
  1724. type: string
  1725. updatetime:
  1726. description: 更新时间
  1727. type: string
  1728. required:
  1729. - asapplyid
  1730. - buyorsell
  1731. - goodscode
  1732. - goodsgroupid
  1733. - goodsgroupname
  1734. - goodsname
  1735. - tradeid
  1736. type: object
  1737. erms2.QuerySpotContractRsp:
  1738. properties:
  1739. accountid:
  1740. description: 资金账户ID
  1741. type: integer
  1742. areauserid:
  1743. description: 所属机构
  1744. type: integer
  1745. closedate:
  1746. description: 终止日期
  1747. type: string
  1748. closeremark:
  1749. description: 结束备注
  1750. type: string
  1751. closetradedate:
  1752. description: 完结交易日(yyyyMMdd)
  1753. type: string
  1754. closetype:
  1755. description: 终止类型 - 1:违约 2:提前终止
  1756. type: integer
  1757. contractamount:
  1758. description: 合同金额
  1759. type: number
  1760. contractattachment:
  1761. description: 合同附件
  1762. type: string
  1763. contractno:
  1764. description: 现货合同编号
  1765. type: string
  1766. contractqty:
  1767. description: 合同数量(数值) (用于计算)
  1768. type: number
  1769. contractqtychar:
  1770. description: 合同数量\已订价数量 (用于显示)
  1771. type: string
  1772. contractstatus:
  1773. description: 合同状态 - 0:未结束 1:已结束
  1774. type: integer
  1775. contracttype:
  1776. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1777. type: integer
  1778. customeraccountid:
  1779. description: 客户资金账户ID
  1780. type: integer
  1781. customeruserid:
  1782. description: 客户ID
  1783. type: integer
  1784. deliverygoodsdesc:
  1785. description: 品种说明
  1786. type: string
  1787. deliverygoodsid:
  1788. description: 现货品种ID
  1789. type: integer
  1790. handlestatus:
  1791. description: 处理状态
  1792. type: integer
  1793. invoiceatt:
  1794. description: 发票附件
  1795. type: string
  1796. invoicedatetime:
  1797. description: 开收票更新时间
  1798. type: string
  1799. invoiceopentime:
  1800. description: 开票时间
  1801. type: string
  1802. invoiceremark:
  1803. description: 发票备注
  1804. type: string
  1805. invoicestatus:
  1806. description: 开收票状态 - 0:未开票 1:已开票
  1807. type: integer
  1808. lastdate:
  1809. description: 交货时间
  1810. type: string
  1811. marketid:
  1812. description: 市场ID
  1813. type: integer
  1814. paydatetime:
  1815. description: 收付款更新时间
  1816. type: string
  1817. payremark:
  1818. description: 收付款备注
  1819. type: string
  1820. paystatus:
  1821. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1822. type: integer
  1823. positionqty:
  1824. description: 头寸数量 - 合同数量去小数部分
  1825. type: integer
  1826. producttype:
  1827. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1828. type: integer
  1829. relatedqty:
  1830. description: 已关联数量
  1831. type: number
  1832. relatedstatus:
  1833. description: 关联完结状态 - 0:未结束 1:已结束
  1834. type: integer
  1835. remark:
  1836. description: 备注
  1837. type: string
  1838. signdate:
  1839. description: 签订日期
  1840. type: string
  1841. spotcontractid:
  1842. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1843. type: string
  1844. spotdatetime:
  1845. description: 收发货更新时间
  1846. type: string
  1847. spotprice:
  1848. description: 价格
  1849. type: number
  1850. spotremark:
  1851. description: 收发货备注
  1852. type: string
  1853. spotstatus:
  1854. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1855. type: integer
  1856. tradedate:
  1857. description: 交易日(yyyyMMdd)
  1858. type: string
  1859. userid:
  1860. description: 业务员用户ID
  1861. type: integer
  1862. warehouseid:
  1863. description: 仓库ID
  1864. type: integer
  1865. wrfactortypeid:
  1866. description: 仓单要素类型ID
  1867. type: integer
  1868. wrstandardid:
  1869. description: 仓单标准ID(SEQ_WRSTANDARD)
  1870. type: integer
  1871. required:
  1872. - spotcontractid
  1873. type: object
  1874. erms3.AddErms2ASApplyReq:
  1875. properties:
  1876. applybasis:
  1877. description: 申请基差
  1878. type: number
  1879. applystatus:
  1880. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1881. type: integer
  1882. asapplyid:
  1883. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1884. type: integer
  1885. asname:
  1886. description: 策略名称
  1887. type: string
  1888. asno:
  1889. description: 策略编号
  1890. type: string
  1891. auditid:
  1892. description: 审核人
  1893. type: integer
  1894. auditremark:
  1895. description: 审核备注
  1896. type: string
  1897. audittime:
  1898. description: 审核时间
  1899. type: string
  1900. biztype:
  1901. description: 业务类型 - 1:正向套利 2:反向套利
  1902. type: integer
  1903. createtime:
  1904. description: 创建时间
  1905. type: string
  1906. creatorid:
  1907. description: 创建人
  1908. type: integer
  1909. deliverygoodsid:
  1910. description: 现货品种ID
  1911. type: integer
  1912. futurequote:
  1913. description: 期货额度
  1914. type: number
  1915. goodsgroupid:
  1916. description: 期货品种ID
  1917. type: integer
  1918. marketid:
  1919. description: 市场ID
  1920. type: integer
  1921. remark:
  1922. description: 备注
  1923. type: string
  1924. spotquota:
  1925. description: 现货额度
  1926. type: number
  1927. tradedate:
  1928. description: 交易日(yyyyMMdd)
  1929. type: string
  1930. userid:
  1931. description: 所属机构
  1932. type: integer
  1933. required:
  1934. - asapplyid
  1935. type: object
  1936. erms3.AddErms2SpotTradeApplyReq:
  1937. properties:
  1938. applyjsondetail:
  1939. description: 申请明细(JSON)
  1940. type: string
  1941. applystatus:
  1942. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1943. type: integer
  1944. areauserid:
  1945. description: 所属机构
  1946. type: integer
  1947. auditid:
  1948. description: 审核人
  1949. type: integer
  1950. auditremark:
  1951. description: 审核备注
  1952. type: string
  1953. audittime:
  1954. description: 审核时间
  1955. type: string
  1956. createtime:
  1957. description: 创建时间
  1958. type: string
  1959. creatorid:
  1960. description: 创建人
  1961. type: integer
  1962. deliverygoodsid:
  1963. description: 现货品种ID
  1964. type: integer
  1965. futureaccountid:
  1966. description: 期货资金账户
  1967. type: integer
  1968. goodsgroupid:
  1969. description: 期货品种
  1970. type: integer
  1971. marketid:
  1972. description: 市场ID
  1973. type: integer
  1974. remark:
  1975. description: 备注
  1976. type: string
  1977. spotaccountid:
  1978. description: 现货资金账户
  1979. type: integer
  1980. spottradeid:
  1981. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1982. type: integer
  1983. spottradename:
  1984. description: 业务名称
  1985. type: string
  1986. spottradeno:
  1987. description: 业务编号
  1988. type: string
  1989. tradedate:
  1990. description: 交易日(yyyyMMdd)
  1991. type: string
  1992. wrstandardid:
  1993. description: 仓单标准ID
  1994. type: integer
  1995. required:
  1996. - spottradeid
  1997. type: object
  1998. erms3.AddSpotContractApplyReq:
  1999. properties:
  2000. accountid:
  2001. description: 资金账户ID
  2002. type: integer
  2003. areauserid:
  2004. description: 所属机构
  2005. type: integer
  2006. contractattachment:
  2007. description: 合同附件
  2008. type: string
  2009. contractno:
  2010. description: 现货合同编号
  2011. type: string
  2012. contracttype:
  2013. description: 现货合同类型 - 1:采购 -1:销售
  2014. type: integer
  2015. creatorid:
  2016. description: 申请人
  2017. type: integer
  2018. customeraccountid:
  2019. description: 客户资金账户ID
  2020. type: integer
  2021. customeruserid:
  2022. description: 客户ID
  2023. type: integer
  2024. details:
  2025. description: 明细
  2026. items:
  2027. $ref: '#/definitions/erms3.SoptContractDetail'
  2028. type: array
  2029. orimargin:
  2030. description: 初始保证金
  2031. type: number
  2032. remark:
  2033. description: 备注
  2034. type: string
  2035. signdate:
  2036. description: 签订日期
  2037. type: string
  2038. required:
  2039. - accountid
  2040. - areauserid
  2041. - contractno
  2042. - contracttype
  2043. - customeraccountid
  2044. - customeruserid
  2045. - details
  2046. - orimargin
  2047. - signdate
  2048. type: object
  2049. erms3.AddSpotContractApplyRsp:
  2050. properties:
  2051. contractno:
  2052. description: 现货合同编号
  2053. type: string
  2054. spotcontractid:
  2055. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2056. type: integer
  2057. required:
  2058. - contractno
  2059. type: object
  2060. erms3.AddUserInfoApplyReq:
  2061. properties:
  2062. accountid:
  2063. description: 交易系统帐号Id (加密存储)
  2064. type: integer
  2065. areacode:
  2066. description: 机构代码
  2067. type: string
  2068. areaid:
  2069. description: 机构Id
  2070. type: integer
  2071. attachment1:
  2072. description: 附件1
  2073. type: string
  2074. attachment2:
  2075. description: 附件2
  2076. type: string
  2077. attachment3:
  2078. description: 附件3
  2079. type: string
  2080. attachment4:
  2081. description: 附件4
  2082. type: string
  2083. attachment5:
  2084. description: 附件5
  2085. type: string
  2086. auditedby:
  2087. description: 审核人
  2088. type: string
  2089. auditime:
  2090. description: 审核时间
  2091. type: string
  2092. auditsrc:
  2093. description: 审核来源 - 1:管理端 2:终端
  2094. type: integer
  2095. bankaccount:
  2096. description: 银行帐号 (加密存储)
  2097. type: string
  2098. bankaccountname:
  2099. description: 收款人名称
  2100. type: string
  2101. bankcardbackphotourl:
  2102. description: 银行卡背面照地址
  2103. type: string
  2104. bankcardfrontphotourl:
  2105. description: 银行卡正面照地址
  2106. type: string
  2107. bankid:
  2108. description: 银行编码
  2109. type: string
  2110. bankname:
  2111. description: 银行名称
  2112. type: string
  2113. bankpictureurl:
  2114. description: 银行卡正面地址
  2115. type: string
  2116. biznature:
  2117. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2118. type: integer
  2119. bizscope:
  2120. description: 企业经营范围(企业)
  2121. type: string
  2122. biztype:
  2123. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2124. type: integer
  2125. brokerid:
  2126. description: 经纪人ID(加密存储)
  2127. type: string
  2128. cardaddress:
  2129. description: 证件地址 (加密存储)
  2130. type: string
  2131. cardbackphotourl:
  2132. description: 背面证件照地址
  2133. type: string
  2134. cardfrontphotourl:
  2135. description: 正面证件照地址
  2136. type: string
  2137. cardnum:
  2138. description: 证件号码 (加密存储)
  2139. type: string
  2140. cardtype:
  2141. description: 证件类型
  2142. type: integer
  2143. cityid:
  2144. description: 市
  2145. type: integer
  2146. company:
  2147. description: 公司(个人)
  2148. type: string
  2149. contactcardbackphotourl:
  2150. description: 联系人证件背面图片地址
  2151. type: string
  2152. contactcardfrontphotourl:
  2153. description: 联系人证件正面图片地址
  2154. type: string
  2155. contactname:
  2156. description: 联系人
  2157. type: string
  2158. countryid:
  2159. description: 国家
  2160. type: integer
  2161. createtime:
  2162. description: 开户申请时间
  2163. type: string
  2164. cusbankid:
  2165. description: 签约类型
  2166. type: string
  2167. cusbankname:
  2168. description: 签约类型名称
  2169. type: string
  2170. customername:
  2171. description: 客户名称(企业名称)
  2172. type: string
  2173. districtid:
  2174. description: 地区
  2175. type: integer
  2176. email:
  2177. description: Email地址(加密存储)
  2178. type: string
  2179. halfbodyphotourl:
  2180. description: 半身照地址
  2181. type: string
  2182. headurl:
  2183. description: 头像地址
  2184. type: string
  2185. ipaddress:
  2186. description: IP地址
  2187. type: string
  2188. isvalidate:
  2189. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2190. type: string
  2191. legalcardbackphotourl:
  2192. description: 法人身份证背面照地址
  2193. type: string
  2194. legalcardfrontphotourl:
  2195. description: 法人身份证正面照地址
  2196. type: string
  2197. legalpersonname:
  2198. description: 法人姓名(企业)
  2199. type: string
  2200. logincode:
  2201. description: 登录帐号 (加密存储)
  2202. type: string
  2203. memberareaid:
  2204. description: 所属会员ID
  2205. type: integer
  2206. mobile2:
  2207. description: 手机号码[明文-尚志]
  2208. type: string
  2209. mobilephone:
  2210. description: 手机号码 (加密存储)
  2211. type: string
  2212. modifiedby:
  2213. description: 修改人帐号
  2214. type: integer
  2215. modifiedtime:
  2216. description: 修改时间
  2217. type: string
  2218. nickname:
  2219. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2220. type: string
  2221. openmode:
  2222. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2223. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2224. type: integer
  2225. otherurl:
  2226. description: 其它图片地址[使用分号分隔]
  2227. type: string
  2228. postalcode:
  2229. description: 邮政编码
  2230. type: string
  2231. provinceid:
  2232. description: 省
  2233. type: integer
  2234. proxystatementurl:
  2235. description: 授权委托书
  2236. type: string
  2237. qq:
  2238. description: QQ(加密存储
  2239. type: string
  2240. referral:
  2241. description: 推荐人编码
  2242. type: string
  2243. remark:
  2244. description: 备注
  2245. type: string
  2246. removebeforestatus:
  2247. description: REMOVEBEFORESTATUS
  2248. type: integer
  2249. sex:
  2250. description: 性别 - 0:女 1:男
  2251. type: integer
  2252. signedstatus:
  2253. description: 账户一号签签约状态
  2254. type: integer
  2255. signpdfurl:
  2256. description: 签约pdf文件
  2257. type: string
  2258. subbranch:
  2259. description: 开户支行
  2260. type: string
  2261. taxpayernum:
  2262. description: 纳税人识别号
  2263. type: string
  2264. telphone:
  2265. description: 联系电话(加密存储)
  2266. type: string
  2267. userid:
  2268. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2269. type: integer
  2270. userinfotype:
  2271. description: 用户信息类型 - 1:个人 2:企业
  2272. type: integer
  2273. username:
  2274. description: 用户姓名
  2275. type: string
  2276. userstate:
  2277. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2278. type: integer
  2279. usertype:
  2280. description: 用户类型 - 1:投资者 2:机构
  2281. type: integer
  2282. videourl:
  2283. description: 视频地址
  2284. type: string
  2285. wechat:
  2286. description: 微信号 (加密存储)
  2287. type: string
  2288. required:
  2289. - userid
  2290. type: object
  2291. erms3.CustomerInfo:
  2292. properties:
  2293. accountids:
  2294. description: 资金账户ID列表
  2295. items:
  2296. type: integer
  2297. type: array
  2298. customername:
  2299. description: 名称(企业名称)
  2300. type: string
  2301. mobile:
  2302. description: 手机号码
  2303. type: string
  2304. userid:
  2305. description: 用户ID
  2306. type: integer
  2307. required:
  2308. - userid
  2309. type: object
  2310. erms3.ModifyUserInfoApplyReq:
  2311. properties:
  2312. accountid:
  2313. description: 交易系统帐号Id (加密存储)
  2314. type: integer
  2315. areacode:
  2316. description: 机构代码
  2317. type: string
  2318. areaid:
  2319. description: 机构Id
  2320. type: integer
  2321. attachment1:
  2322. description: 附件1
  2323. type: string
  2324. attachment2:
  2325. description: 附件2
  2326. type: string
  2327. attachment3:
  2328. description: 附件3
  2329. type: string
  2330. attachment4:
  2331. description: 附件4
  2332. type: string
  2333. attachment5:
  2334. description: 附件5
  2335. type: string
  2336. auditedby:
  2337. description: 审核人
  2338. type: string
  2339. auditime:
  2340. description: 审核时间
  2341. type: string
  2342. auditsrc:
  2343. description: 审核来源 - 1:管理端 2:终端
  2344. type: integer
  2345. bankaccount:
  2346. description: 银行帐号 (加密存储)
  2347. type: string
  2348. bankaccountname:
  2349. description: 收款人名称
  2350. type: string
  2351. bankcardbackphotourl:
  2352. description: 银行卡背面照地址
  2353. type: string
  2354. bankcardfrontphotourl:
  2355. description: 银行卡正面照地址
  2356. type: string
  2357. bankid:
  2358. description: 银行编码
  2359. type: string
  2360. bankname:
  2361. description: 银行名称
  2362. type: string
  2363. bankpictureurl:
  2364. description: 银行卡正面地址
  2365. type: string
  2366. biznature:
  2367. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2368. type: integer
  2369. bizscope:
  2370. description: 企业经营范围(企业)
  2371. type: string
  2372. biztype:
  2373. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2374. type: integer
  2375. brokerid:
  2376. description: 经纪人ID(加密存储)
  2377. type: string
  2378. cardaddress:
  2379. description: 证件地址 (加密存储)
  2380. type: string
  2381. cardbackphotourl:
  2382. description: 背面证件照地址
  2383. type: string
  2384. cardfrontphotourl:
  2385. description: 正面证件照地址
  2386. type: string
  2387. cardnum:
  2388. description: 证件号码 (加密存储)
  2389. type: string
  2390. cardtype:
  2391. description: 证件类型
  2392. type: integer
  2393. cityid:
  2394. description: 市
  2395. type: integer
  2396. company:
  2397. description: 公司(个人)
  2398. type: string
  2399. contactcardbackphotourl:
  2400. description: 联系人证件背面图片地址
  2401. type: string
  2402. contactcardfrontphotourl:
  2403. description: 联系人证件正面图片地址
  2404. type: string
  2405. contactname:
  2406. description: 联系人
  2407. type: string
  2408. countryid:
  2409. description: 国家
  2410. type: integer
  2411. createtime:
  2412. description: 开户申请时间
  2413. type: string
  2414. cusbankid:
  2415. description: 签约类型
  2416. type: string
  2417. cusbankname:
  2418. description: 签约类型名称
  2419. type: string
  2420. customername:
  2421. description: 客户名称(企业名称)
  2422. type: string
  2423. districtid:
  2424. description: 地区
  2425. type: integer
  2426. email:
  2427. description: Email地址(加密存储)
  2428. type: string
  2429. halfbodyphotourl:
  2430. description: 半身照地址
  2431. type: string
  2432. headurl:
  2433. description: 头像地址
  2434. type: string
  2435. ipaddress:
  2436. description: IP地址
  2437. type: string
  2438. isvalidate:
  2439. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2440. type: string
  2441. legalcardbackphotourl:
  2442. description: 法人身份证背面照地址
  2443. type: string
  2444. legalcardfrontphotourl:
  2445. description: 法人身份证正面照地址
  2446. type: string
  2447. legalpersonname:
  2448. description: 法人姓名(企业)
  2449. type: string
  2450. logincode:
  2451. description: 登录帐号 (加密存储)
  2452. type: string
  2453. memberareaid:
  2454. description: 所属会员ID
  2455. type: integer
  2456. mobile2:
  2457. description: 手机号码[明文-尚志]
  2458. type: string
  2459. mobilephone:
  2460. description: 手机号码 (加密存储)
  2461. type: string
  2462. modifiedby:
  2463. description: 修改人帐号
  2464. type: integer
  2465. modifiedtime:
  2466. description: 修改时间
  2467. type: string
  2468. nickname:
  2469. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2470. type: string
  2471. openmode:
  2472. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2473. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2474. type: integer
  2475. otherurl:
  2476. description: 其它图片地址[使用分号分隔]
  2477. type: string
  2478. postalcode:
  2479. description: 邮政编码
  2480. type: string
  2481. provinceid:
  2482. description: 省
  2483. type: integer
  2484. proxystatementurl:
  2485. description: 授权委托书
  2486. type: string
  2487. qq:
  2488. description: QQ(加密存储
  2489. type: string
  2490. referral:
  2491. description: 推荐人编码
  2492. type: string
  2493. remark:
  2494. description: 备注
  2495. type: string
  2496. removebeforestatus:
  2497. description: REMOVEBEFORESTATUS
  2498. type: integer
  2499. sex:
  2500. description: 性别 - 0:女 1:男
  2501. type: integer
  2502. signedstatus:
  2503. description: 账户一号签签约状态
  2504. type: integer
  2505. signpdfurl:
  2506. description: 签约pdf文件
  2507. type: string
  2508. subbranch:
  2509. description: 开户支行
  2510. type: string
  2511. taxpayernum:
  2512. description: 纳税人识别号
  2513. type: string
  2514. telphone:
  2515. description: 联系电话(加密存储)
  2516. type: string
  2517. userid:
  2518. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2519. type: integer
  2520. userinfotype:
  2521. description: 用户信息类型 - 1:个人 2:企业
  2522. type: integer
  2523. username:
  2524. description: 用户姓名
  2525. type: string
  2526. userstate:
  2527. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2528. type: integer
  2529. usertype:
  2530. description: 用户类型 - 1:投资者 2:机构
  2531. type: integer
  2532. videourl:
  2533. description: 视频地址
  2534. type: string
  2535. wechat:
  2536. description: 微信号 (加密存储)
  2537. type: string
  2538. required:
  2539. - userid
  2540. type: object
  2541. erms3.QryAuditContractRsp:
  2542. properties:
  2543. accountid:
  2544. description: 交易员ID
  2545. type: string
  2546. applystatus:
  2547. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2548. type: integer
  2549. curdeliveryqty:
  2550. description: 未交收量
  2551. type: integer
  2552. customername:
  2553. description: 采购方ID
  2554. type: string
  2555. deliverygoodsid:
  2556. description: 品种ID
  2557. type: string
  2558. deliveryqty:
  2559. description: 交收量
  2560. type: integer
  2561. enumdicname:
  2562. description: 单位名称
  2563. type: string
  2564. matchaccountid:
  2565. description: 业务员ID
  2566. type: string
  2567. matchcustomername:
  2568. description: 销售方ID
  2569. type: string
  2570. pricedqty:
  2571. description: 定价量
  2572. type: number
  2573. signdate:
  2574. description: 签订日期
  2575. type: string
  2576. spotcontractid:
  2577. description: 合同ID
  2578. type: string
  2579. totaldqty:
  2580. description: 合同量
  2581. type: number
  2582. unpricedqty:
  2583. description: 未定价量
  2584. type: number
  2585. wrstandardname:
  2586. description: 商品名称
  2587. type: string
  2588. required:
  2589. - matchcustomername
  2590. - spotcontractid
  2591. type: object
  2592. erms3.QryPendingBizRsp:
  2593. $ref: '#/definitions/models.PendingAuditBizModel'
  2594. erms3.QueryBusinessInfoRsp:
  2595. properties:
  2596. businessid:
  2597. description: 业务ID.
  2598. type: integer
  2599. buyamount:
  2600. description: 采购额.
  2601. type: number
  2602. buyqty:
  2603. description: 采购量.
  2604. type: string
  2605. futurepl:
  2606. description: 期货盈亏.
  2607. type: number
  2608. futureqty:
  2609. description: 期货敞口.
  2610. type: string
  2611. goodsid:
  2612. description: 商品名称/商品代码.
  2613. type: string
  2614. hedgingqty:
  2615. description: 套保量.
  2616. type: string
  2617. sellamount:
  2618. description: 销售额.
  2619. type: number
  2620. sellqty:
  2621. description: 销售量.
  2622. type: string
  2623. spotmarketvalue:
  2624. description: 现货市值.
  2625. type: number
  2626. spotpl:
  2627. description: 浮动权益.
  2628. type: number
  2629. spotqty:
  2630. description: 现货量.
  2631. type: string
  2632. statu:
  2633. description: 状态,0-未结束 1-已结束.
  2634. type: integer
  2635. totalpl:
  2636. description: 总盈亏.
  2637. type: number
  2638. totalqty:
  2639. description: 总敞口.
  2640. type: string
  2641. type:
  2642. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2643. type: integer
  2644. type: object
  2645. erms3.QuerySpotContractAppleFormRsp:
  2646. properties:
  2647. goodses:
  2648. description: 合约列表
  2649. items:
  2650. $ref: '#/definitions/models.GoodsIDAndName'
  2651. type: array
  2652. oppositeusers:
  2653. description: 对方账号列表
  2654. items:
  2655. $ref: '#/definitions/erms3.CustomerInfo'
  2656. type: array
  2657. ouruser:
  2658. $ref: '#/definitions/erms3.CustomerInfo'
  2659. description: 我方账号
  2660. type: object
  2661. warehouseinfos:
  2662. description: 仓库信息列表
  2663. items:
  2664. $ref: '#/definitions/models.Warehouseinfo'
  2665. type: array
  2666. wrstandards:
  2667. description: 仓单标准列表
  2668. items:
  2669. $ref: '#/definitions/models.WRStandardInfo'
  2670. type: array
  2671. type: object
  2672. erms3.QuerySpotContractInfoRsp:
  2673. properties:
  2674. accountid:
  2675. description: 表示交易员ID.
  2676. type: integer
  2677. curdeliveryqty:
  2678. description: 表示未交收量.
  2679. type: number
  2680. customername:
  2681. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2682. type: string
  2683. deliverygoodsid:
  2684. description: 表示品种ID.
  2685. type: string
  2686. deliveryqty:
  2687. description: 表示交收量.
  2688. type: number
  2689. matchaccountid:
  2690. description: 表示业务员ID.
  2691. type: integer
  2692. matchcustomername:
  2693. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2694. type: string
  2695. priceqty:
  2696. description: 表示定价量.
  2697. type: number
  2698. relatedbizid:
  2699. description: 表示业务ID.
  2700. type: string
  2701. signdate:
  2702. description: 表示签订日期.
  2703. type: string
  2704. spotcontractid:
  2705. description: 合同ID
  2706. type: string
  2707. status:
  2708. description: 表示状态,0-履约中 1-已完成.
  2709. type: integer
  2710. totalqty:
  2711. description: 表示合同量.
  2712. type: number
  2713. unpricedqty:
  2714. description: 表示未定价量.
  2715. type: number
  2716. wrstandardname:
  2717. description: 表示商品ID.
  2718. type: string
  2719. type: object
  2720. erms3.QueryUserInfoAppliesRsp:
  2721. properties:
  2722. biznature:
  2723. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2724. type: integer
  2725. contactname:
  2726. description: 联系人
  2727. type: string
  2728. createtime:
  2729. description: 开户申请时间
  2730. type: string
  2731. userid:
  2732. description: 用户ID(自增ID)
  2733. type: integer
  2734. userinfotype:
  2735. description: 用户信息类型 - 1:个人 2:企业
  2736. type: integer
  2737. username:
  2738. description: 用户姓名
  2739. type: string
  2740. userstate:
  2741. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2742. type: integer
  2743. required:
  2744. - userid
  2745. type: object
  2746. erms3.QueryUserInfosRsp:
  2747. properties:
  2748. biznature:
  2749. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2750. type: integer
  2751. contactname:
  2752. description: 联系人
  2753. type: string
  2754. customername:
  2755. description: 客户名称(企业名称)
  2756. type: string
  2757. userid:
  2758. description: 用户ID
  2759. type: integer
  2760. userinfotype:
  2761. description: 用户信息类型 - 1:个人 2:企业
  2762. type: integer
  2763. userstatus:
  2764. description: 用户状态 - 1:正常 2:注销
  2765. type: integer
  2766. required:
  2767. - userid
  2768. type: object
  2769. erms3.SoptContractDetail:
  2770. properties:
  2771. deliverygoodsdesc:
  2772. description: 现货品种说明
  2773. type: string
  2774. deliverygoodsid:
  2775. description: 现货品种ID
  2776. type: integer
  2777. deliverygoodsname:
  2778. description: 现货品种名称
  2779. type: string
  2780. pointdesc:
  2781. description: 点价描述
  2782. type: string
  2783. producttype:
  2784. description: 产品类型 1:标准仓单 2:等标 3:非标
  2785. type: integer
  2786. producttypename:
  2787. description: 产品类型名称
  2788. type: string
  2789. spotPointOrderVoList:
  2790. description: 点价列表
  2791. items:
  2792. $ref: '#/definitions/erms3.SpotPointOrder'
  2793. type: array
  2794. spotPriceOrderList:
  2795. description: 定价列表
  2796. items:
  2797. $ref: '#/definitions/erms3.SpotPriceOrder'
  2798. type: array
  2799. unitname:
  2800. description: 单位名称
  2801. type: string
  2802. warehouseid:
  2803. description: 仓库ID
  2804. type: integer
  2805. warehousename:
  2806. description: 仓库名称
  2807. type: string
  2808. wrstandardid:
  2809. description: 交易标的ID
  2810. type: integer
  2811. wrstandardname:
  2812. description: 交易标的名称
  2813. type: string
  2814. required:
  2815. - deliverygoodsid
  2816. - producttype
  2817. - unitname
  2818. - warehouseid
  2819. - wrstandardid
  2820. - wrstandardname
  2821. type: object
  2822. erms3.SpotPointOrder:
  2823. properties:
  2824. basic:
  2825. description: 基差
  2826. type: number
  2827. deliveryenddate:
  2828. description: 交收结束日期
  2829. type: string
  2830. deliverystartdate:
  2831. description: 交收开始日期
  2832. type: string
  2833. enddate:
  2834. description: 点价结束日期
  2835. type: string
  2836. goodsid:
  2837. description: 商品ID
  2838. type: integer
  2839. goodsname:
  2840. description: 商品名称
  2841. type: string
  2842. qty:
  2843. description: 数量
  2844. type: number
  2845. startdate:
  2846. description: 点价开始日期
  2847. type: string
  2848. required:
  2849. - basic
  2850. - goodsid
  2851. - qty
  2852. type: object
  2853. erms3.SpotPriceOrder:
  2854. properties:
  2855. amount:
  2856. description: 金额
  2857. type: number
  2858. deliveryenddate:
  2859. description: 交收结束日期
  2860. type: string
  2861. deliverystartdate:
  2862. description: 交收开始日期
  2863. type: string
  2864. price:
  2865. description: 价格
  2866. type: number
  2867. qty:
  2868. description: 数量
  2869. type: number
  2870. required:
  2871. - amount
  2872. - price
  2873. - qty
  2874. type: object
  2875. hsby.GetHsbyMyCountRsp:
  2876. properties:
  2877. myCouponCount:
  2878. description: 我的优惠卷数量
  2879. type: integer
  2880. myOrderDetailListingCount:
  2881. description: 我的订单求购中数量
  2882. type: integer
  2883. myOrderDetailPreCount:
  2884. description: 我的订单抢购中数量
  2885. type: integer
  2886. myPackageUnReceiveCount:
  2887. description: 我的包裹待收货数量
  2888. type: integer
  2889. myPackageUnSendCount:
  2890. description: 我的包裹待发货数量
  2891. type: integer
  2892. myPayOrderCount:
  2893. description: 我的订单待付款数量
  2894. type: integer
  2895. type: object
  2896. hsby.QueryProvincesAndCitiesRsp:
  2897. properties:
  2898. cities:
  2899. description: 市
  2900. items:
  2901. $ref: '#/definitions/models.Division'
  2902. type: array
  2903. province:
  2904. $ref: '#/definitions/models.Division'
  2905. description: 省
  2906. type: object
  2907. type: object
  2908. models.AreaSpotModel:
  2909. properties:
  2910. areauserid:
  2911. description: 所属机构
  2912. type: integer
  2913. decreaseqty:
  2914. description: 减少数量=-(销售已定价数量+采购计划数量)
  2915. type: number
  2916. increaseqty:
  2917. description: 增加数量=销售计划数量+采购已定价数量
  2918. type: number
  2919. oritoalspotqty:
  2920. description: 昨日数量
  2921. type: number
  2922. totalspotqty:
  2923. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2924. type: number
  2925. updatetime:
  2926. description: 更新时间
  2927. type: string
  2928. wrstandardcode:
  2929. description: 现货品种代码
  2930. type: string
  2931. wrstandardid:
  2932. description: 现货商品ID
  2933. type: integer
  2934. wrstandardname:
  2935. description: 现货品种
  2936. type: string
  2937. type: object
  2938. models.Arearole:
  2939. properties:
  2940. createtime:
  2941. description: 创建时间
  2942. type: string
  2943. creatorid:
  2944. description: 创建人ID
  2945. type: integer
  2946. fromuserid:
  2947. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2948. type: integer
  2949. isreturnscore:
  2950. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2951. type: integer
  2952. modifierid:
  2953. description: 修改人ID
  2954. type: integer
  2955. modifytime:
  2956. description: 修改时间
  2957. type: string
  2958. orgtype:
  2959. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2960. type: integer
  2961. outuserid:
  2962. description: 外部账户[场外期权做市商]
  2963. type: string
  2964. parentuserid:
  2965. description: 上级组织机构(组织机构)
  2966. type: integer
  2967. roletype:
  2968. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2969. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2970. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2971. type: integer
  2972. rootuserid:
  2973. description: 顶级组织机构用户ID(组织机构)
  2974. type: integer
  2975. shoppassword:
  2976. description: 商城店铺登陆密码(商城店铺角色使用)
  2977. type: string
  2978. sublevelpath:
  2979. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2980. type: string
  2981. suborgtype:
  2982. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2983. type: integer
  2984. tradeaccountid:
  2985. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2986. type: integer
  2987. transurl:
  2988. description: 物流地址(物流机构)
  2989. type: string
  2990. userid:
  2991. description: 机构用户ID其他做市关系,都设置为 1
  2992. type: integer
  2993. required:
  2994. - roletype
  2995. - userid
  2996. type: object
  2997. models.Clientfixedadconfig:
  2998. properties:
  2999. adsort:
  3000. description: 排序
  3001. type: integer
  3002. adtype:
  3003. description: 广告位类型 - 1:新品抢购(HSBY)
  3004. type: integer
  3005. areauserid:
  3006. description: 所属机构ID
  3007. type: integer
  3008. createdate:
  3009. description: 创建时间
  3010. type: string
  3011. creatorid:
  3012. description: 创建人
  3013. type: integer
  3014. imagepath:
  3015. description: 图片
  3016. type: string
  3017. isshow:
  3018. description: 是否展示 - 0:不展示 1:展示
  3019. type: integer
  3020. modifierid:
  3021. description: 操作人
  3022. type: integer
  3023. recsize:
  3024. description: 推荐尺寸
  3025. type: string
  3026. title:
  3027. description: 标题
  3028. type: string
  3029. updatedate:
  3030. description: 更新时间
  3031. type: string
  3032. urlcontent:
  3033. description: 链接(地址或商品ID)
  3034. type: string
  3035. urltype:
  3036. description: 链接类型 - 1:直接地址 2:商品ID
  3037. type: integer
  3038. required:
  3039. - adsort
  3040. - adtype
  3041. type: object
  3042. models.Division:
  3043. properties:
  3044. autoid:
  3045. description: 自增ID
  3046. type: integer
  3047. divisioncode:
  3048. description: 行政代码
  3049. type: string
  3050. divisionlevel:
  3051. description: 行政级别
  3052. type: string
  3053. divisionname:
  3054. description: 行政名称
  3055. type: string
  3056. modifierid:
  3057. description: 修改人
  3058. type: integer
  3059. modifytime:
  3060. description: 修改时间
  3061. type: string
  3062. parentcode:
  3063. description: 上级行政代码
  3064. type: string
  3065. pathname:
  3066. description: 路径名称
  3067. type: string
  3068. postcode:
  3069. description: 邮政编码
  3070. type: string
  3071. separablename:
  3072. description: 可拆分的全称
  3073. type: string
  3074. shortcode:
  3075. description: 地区简码
  3076. type: string
  3077. required:
  3078. - autoid
  3079. - divisioncode
  3080. type: object
  3081. models.Enumdicitem:
  3082. properties:
  3083. autoid:
  3084. description: 自增ID
  3085. type: integer
  3086. bankmappedvalue:
  3087. description: 银行服务对应值
  3088. type: string
  3089. enumdiccode:
  3090. description: 所属枚举代码
  3091. type: string
  3092. enumdicid:
  3093. description: 所属枚举ID
  3094. type: integer
  3095. enumdicname:
  3096. description: 枚举项名称
  3097. type: string
  3098. enumitemname:
  3099. description: 枚举项值
  3100. type: integer
  3101. enumitemstatus:
  3102. description: 枚举项状态 - 1.启用 2.不启用
  3103. type: integer
  3104. enumitemvalue:
  3105. description: 通用值 - [币种通用简写]
  3106. type: string
  3107. param1:
  3108. description: 参数1[币种:币种小数位]
  3109. type: string
  3110. param2:
  3111. description: 参数1[币种:币种显示单位]
  3112. type: string
  3113. remark:
  3114. description: 备注
  3115. type: string
  3116. required:
  3117. - autoid
  3118. - enumdiccode
  3119. - enumdicid
  3120. - enumitemname
  3121. type: object
  3122. models.Ermcp3AreaSpot:
  3123. properties:
  3124. areauserid:
  3125. description: 所属机构
  3126. type: integer
  3127. decreaseqty:
  3128. description: 减少数量=-(销售已定价数量+采购计划数量)
  3129. type: number
  3130. deliverygoodscode:
  3131. description: 现货品种代码
  3132. type: string
  3133. deliverygoodsid:
  3134. description: 现货品种id
  3135. type: integer
  3136. deliverygoodsname:
  3137. description: 现货品种名称
  3138. type: string
  3139. enumdicname:
  3140. description: 单位名称
  3141. type: string
  3142. goodsunitid:
  3143. description: 现货品种单位id
  3144. type: integer
  3145. increaseqty:
  3146. description: 增加数量=销售计划数量+采购已定价数量
  3147. type: number
  3148. oritoalspotqty:
  3149. description: 昨日数量
  3150. type: number
  3151. totalspotqty:
  3152. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3153. type: number
  3154. updatetime:
  3155. description: 更新时间
  3156. type: string
  3157. type: object
  3158. models.Ermcp3AreaSpotDetail:
  3159. properties:
  3160. contracttype:
  3161. description: 合同类型 1-采购 -1-销售
  3162. type: integer
  3163. createtime:
  3164. description: 创建时间
  3165. type: string
  3166. deliverygoodscode:
  3167. description: 现货品种代码
  3168. type: string
  3169. deliverygoodsid:
  3170. description: 现货品种id
  3171. type: integer
  3172. deliverygoodsname:
  3173. description: 现货品种名称
  3174. type: string
  3175. enumdicname:
  3176. description: 现货商品单位名称
  3177. type: string
  3178. logtype:
  3179. description: 记录类型 1-套保 2-现货合同
  3180. type: integer
  3181. qty:
  3182. description: 数量
  3183. type: number
  3184. recordname:
  3185. description: 类型名称
  3186. type: string
  3187. relatedid:
  3188. description: 套保计划ID/现货合同ID
  3189. type: string
  3190. relatedno:
  3191. description: 编号
  3192. type: string
  3193. strtime:
  3194. description: 时间
  3195. type: string
  3196. type: object
  3197. models.Ermcp3AreaSpotPLReport:
  3198. properties:
  3199. accountid:
  3200. description: 期货账户ID (作废, 默认为0)
  3201. type: integer
  3202. accountname:
  3203. description: 机构名称
  3204. type: string
  3205. actualpl:
  3206. description: 现货损益
  3207. type: number
  3208. areauserid:
  3209. description: 所属机构\交易用户ID
  3210. type: integer
  3211. begindate:
  3212. description: 开始交易日
  3213. type: string
  3214. biztype:
  3215. description: 业务类型 - 1:套保 2:套利
  3216. type: integer
  3217. brandname:
  3218. description: 品牌名称
  3219. type: string
  3220. curamount:
  3221. description: 期末额
  3222. type: number
  3223. curaverageprice:
  3224. description: 期末均价
  3225. type: number
  3226. curbuyamount:
  3227. description: 期末采购总额
  3228. type: number
  3229. curbuyqty:
  3230. description: 期末采购总量
  3231. type: number
  3232. curmarketvalue:
  3233. description: 参考市值(期末市值)
  3234. type: number
  3235. curqty:
  3236. description: 期末量
  3237. type: number
  3238. currencyid:
  3239. description: 结算币种ID【原值】
  3240. type: integer
  3241. currencyname:
  3242. description: 币种名称
  3243. type: string
  3244. cursellamount:
  3245. description: 期末销售总额
  3246. type: number
  3247. cursellqty:
  3248. description: 期末销售总量
  3249. type: number
  3250. curspotprice:
  3251. description: 参考市价(最新价)
  3252. type: number
  3253. cycletime:
  3254. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3255. type: string
  3256. cycletype:
  3257. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3258. type: integer
  3259. deliverygoodscode:
  3260. description: 现货商品代码
  3261. type: string
  3262. deliverygoodsid:
  3263. description: 现货品种ID
  3264. type: integer
  3265. deliverygoodsname:
  3266. description: 现货商品名称
  3267. type: string
  3268. enddate:
  3269. description: 结束交易日
  3270. type: string
  3271. enumdicname:
  3272. description: 现货商品单位名称
  3273. type: string
  3274. floatpl:
  3275. description: 浮动损益
  3276. type: number
  3277. goodsunitid:
  3278. description: 现货商品单位id
  3279. type: integer
  3280. oriamount:
  3281. description: 期初额
  3282. type: number
  3283. oriaverageprice:
  3284. description: 期初均价
  3285. type: number
  3286. oribuyamount:
  3287. description: 期初采购总额
  3288. type: number
  3289. oribuyqty:
  3290. description: 期初采购总量
  3291. type: number
  3292. oriqty:
  3293. description: 期初量
  3294. type: number
  3295. orisellamount:
  3296. description: 期初销售总额
  3297. type: number
  3298. orisellqty:
  3299. description: 期初销售总量
  3300. type: number
  3301. reckondate:
  3302. description: 日照时期(yyyyMMdd)
  3303. type: string
  3304. spotgoodsbrandid:
  3305. description: 现货品牌ID
  3306. type: integer
  3307. todaybuyamount:
  3308. description: 今日采购额(今采购额)
  3309. type: number
  3310. todaybuyaverageprice:
  3311. description: 今日采购均价
  3312. type: number
  3313. todaybuyqty:
  3314. description: 今日采购量(今采购量)
  3315. type: number
  3316. todayinqty:
  3317. description: 今日入库量(今入库量)
  3318. type: number
  3319. todayoutqty:
  3320. description: 今日出库量(今出库量)
  3321. type: number
  3322. todaysellamount:
  3323. description: 今日销售额(今销售额)
  3324. type: number
  3325. todaysellaverageprice:
  3326. description: 今日销售均价
  3327. type: number
  3328. todaysellqty:
  3329. description: 今日销售量(今销售量)
  3330. type: number
  3331. unitid:
  3332. description: 品类单位id
  3333. type: integer
  3334. unitidname:
  3335. description: 品类单位名称
  3336. type: string
  3337. updatetime:
  3338. description: 更新时间
  3339. type: string
  3340. wrfactortypeid:
  3341. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3342. type: integer
  3343. wrstandardcode:
  3344. description: 品类代码
  3345. type: string
  3346. wrstandardid:
  3347. description: 现货品类ID
  3348. type: integer
  3349. wrstandardname:
  3350. description: 品类名称
  3351. type: string
  3352. type: object
  3353. models.Ermcp3AreaStock:
  3354. properties:
  3355. brandname:
  3356. description: 品牌名称
  3357. type: string
  3358. curstock:
  3359. description: 期末库存量(今日量)
  3360. type: number
  3361. deliverygoodscode:
  3362. description: 现货品种代码
  3363. type: string
  3364. deliverygoodsid:
  3365. description: 现货品种id
  3366. type: integer
  3367. deliverygoodsname:
  3368. description: 现货品种名称
  3369. type: string
  3370. enumdicname:
  3371. description: 单位名称
  3372. type: string
  3373. goodsunitid:
  3374. description: 现货商品单位id
  3375. type: integer
  3376. oristock:
  3377. description: 期初库存量(昨日量)
  3378. type: number
  3379. spotgoodsbrandid:
  3380. description: 现货品牌ID
  3381. type: integer
  3382. todaybuyinqty:
  3383. description: 今日采购入库量
  3384. type: number
  3385. todayproduceinqty:
  3386. description: 今日生产入库量
  3387. type: number
  3388. todayproduceoutqty:
  3389. description: 今日生产出库量
  3390. type: number
  3391. todayselloutqty:
  3392. description: 今日销售出库量
  3393. type: number
  3394. unitid:
  3395. description: 单位id
  3396. type: integer
  3397. updatetime:
  3398. description: 更新时间
  3399. type: string
  3400. userid:
  3401. description: 机构ID
  3402. type: integer
  3403. username:
  3404. description: 机构名称
  3405. type: string
  3406. warehousecode:
  3407. description: 仓库代码
  3408. type: string
  3409. warehouseinfoid:
  3410. description: 仓库ID
  3411. type: string
  3412. warehousename:
  3413. description: 仓库名称
  3414. type: string
  3415. warehousetype:
  3416. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3417. type: integer
  3418. wrstandardcode:
  3419. description: 品类代码
  3420. type: string
  3421. wrstandardid:
  3422. description: 品类ID
  3423. type: string
  3424. wrstandardname:
  3425. description: 品类名称
  3426. type: string
  3427. required:
  3428. - userid
  3429. type: object
  3430. models.Ermcp3AreaStockApply:
  3431. properties:
  3432. applyid:
  3433. description: 申请人
  3434. type: integer
  3435. applyname:
  3436. description: 申请人名称
  3437. type: string
  3438. applyremark:
  3439. description: 申请备注
  3440. type: string
  3441. applysrc:
  3442. description: 申请来源 - 1:管理端 2:终端
  3443. type: integer
  3444. applystatus:
  3445. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3446. type: integer
  3447. applytime:
  3448. description: 申请时间
  3449. type: string
  3450. auditid:
  3451. description: 审核人
  3452. type: integer
  3453. auditname:
  3454. description: 审核人名称
  3455. type: string
  3456. auditremark:
  3457. description: 审核备注
  3458. type: string
  3459. auditsrc:
  3460. description: 审核来源 - 1:管理端 2:终端
  3461. type: integer
  3462. audittime:
  3463. description: 审核时间
  3464. type: string
  3465. audittradedate:
  3466. description: 审核交易日(yyyyMMdd)
  3467. type: string
  3468. brandname:
  3469. description: 品牌名称
  3470. type: string
  3471. buynickname:
  3472. description: 采购方昵称
  3473. type: string
  3474. buyuserid:
  3475. description: 采购方userid
  3476. type: integer
  3477. buyusername:
  3478. description: 采购方名称
  3479. type: string
  3480. contractno:
  3481. description: 合同编号
  3482. type: string
  3483. contractqty:
  3484. description: 合同量
  3485. type: number
  3486. contracttype:
  3487. description: 现货合同类型 - 1:采购 -1:销售
  3488. type: integer
  3489. deliverygoodscode:
  3490. description: 现货品种代码
  3491. type: string
  3492. deliverygoodsid:
  3493. description: 现货品种id
  3494. type: integer
  3495. deliverygoodsname:
  3496. description: 现货品种名称
  3497. type: string
  3498. detailjson:
  3499. description: 明细数据
  3500. type: string
  3501. enumdicname:
  3502. description: 现货商品单位名称
  3503. type: string
  3504. inoutapplyid:
  3505. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3506. type: string
  3507. inouttype:
  3508. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3509. type: integer
  3510. pricetype:
  3511. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3512. type: integer
  3513. qty:
  3514. description: 数量
  3515. type: number
  3516. sellnickname:
  3517. description: 销售方昵称
  3518. type: string
  3519. selluserid:
  3520. description: 销售方userid
  3521. type: integer
  3522. sellusername:
  3523. description: 销售方名称
  3524. type: string
  3525. spotcontractid:
  3526. description: 关联现货合同ID
  3527. type: string
  3528. spotgoodsbrandid:
  3529. description: 现货品牌ID
  3530. type: integer
  3531. unitid:
  3532. description: 单位id
  3533. type: integer
  3534. userid:
  3535. description: 机构ID
  3536. type: integer
  3537. warehousecode:
  3538. description: 仓库代码
  3539. type: string
  3540. warehouseinfoid:
  3541. description: 现货仓库ID
  3542. type: string
  3543. warehousename:
  3544. description: 仓库名称
  3545. type: string
  3546. warehousetype:
  3547. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3548. type: integer
  3549. wrstandardcode:
  3550. description: 品类代码
  3551. type: string
  3552. wrstandardid:
  3553. description: 品类ID
  3554. type: integer
  3555. wrstandardname:
  3556. description: 品类名称
  3557. type: string
  3558. type: object
  3559. models.Ermcp3AreaStockApplySum:
  3560. properties:
  3561. brandname:
  3562. description: 品牌名称
  3563. type: string
  3564. inouttype:
  3565. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3566. type: integer
  3567. spotcontractid:
  3568. description: 关联现货合同ID
  3569. type: string
  3570. spotgoodsbrandid:
  3571. description: 品牌id
  3572. type: integer
  3573. totalqty:
  3574. description: 总数量
  3575. type: number
  3576. wrstandardid:
  3577. description: 品类id
  3578. type: integer
  3579. wrstandardname:
  3580. description: 品类名称
  3581. type: string
  3582. type: object
  3583. models.Ermcp3AreaStockReportEx:
  3584. properties:
  3585. begindate:
  3586. description: 开始交易日
  3587. type: string
  3588. brandname:
  3589. description: 品牌名称
  3590. type: string
  3591. curstock:
  3592. description: 期末库存量
  3593. type: number
  3594. cycletime:
  3595. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3596. type: string
  3597. cycletype:
  3598. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3599. type: integer
  3600. deliverygoodscode:
  3601. description: 现货品种代码
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种id
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. diffqty:
  3610. description: 库存变化量 = 期末 - 期初
  3611. type: number
  3612. enddate:
  3613. description: 结束交易日
  3614. type: string
  3615. enumdicname:
  3616. description: 单位名称
  3617. type: string
  3618. goodsunitid:
  3619. description: 现货单位id
  3620. type: integer
  3621. oristock:
  3622. description: 期初库存量
  3623. type: number
  3624. reckondate:
  3625. description: 日照时期(yyyyMMdd)
  3626. type: string
  3627. spotgoodsbrandid:
  3628. description: 现货品牌ID
  3629. type: integer
  3630. todaybuyinqty:
  3631. description: 今采购入库量
  3632. type: number
  3633. todayproduceinqty:
  3634. description: 今内部入库量
  3635. type: number
  3636. todayproduceoutqty:
  3637. description: 今内部出库量
  3638. type: number
  3639. todayselloutqty:
  3640. description: 今销售出库量
  3641. type: number
  3642. unbuyinqty:
  3643. description: 采购未入库量(数据库未找到相关字段?)
  3644. type: number
  3645. unitid:
  3646. description: 品类单位id
  3647. type: integer
  3648. unselloutqty:
  3649. description: 销售未出库量(数据库未找到相关字段?)
  3650. type: number
  3651. updatetime:
  3652. description: 更新时间
  3653. type: string
  3654. userid:
  3655. description: 机构ID
  3656. type: integer
  3657. username:
  3658. description: 机构名称
  3659. type: string
  3660. warehousecode:
  3661. description: 仓库代码
  3662. type: string
  3663. warehouseinfoid:
  3664. description: 仓库ID
  3665. type: string
  3666. warehousename:
  3667. description: 仓库名称
  3668. type: string
  3669. warehousetype:
  3670. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3671. type: integer
  3672. wrstandardcode:
  3673. description: 品类代码
  3674. type: string
  3675. wrstandardid:
  3676. description: 品类ID
  3677. type: integer
  3678. wrstandardname:
  3679. description: 品类名称
  3680. type: string
  3681. type: object
  3682. models.Ermcp3ArealSumPL:
  3683. properties:
  3684. accountname:
  3685. description: 机构名称
  3686. type: string
  3687. areauserid:
  3688. description: 所属机构\交易用户ID
  3689. type: integer
  3690. begindate:
  3691. description: 开始交易日
  3692. type: string
  3693. currencyid:
  3694. description: 结算币种ID
  3695. type: integer
  3696. currencyname:
  3697. description: 币种名称
  3698. type: string
  3699. cycletime:
  3700. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3701. type: string
  3702. cycletype:
  3703. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3704. type: integer
  3705. enddate:
  3706. description: 结束交易日
  3707. type: string
  3708. enumdicname:
  3709. description: 单位名称(套保品种)
  3710. type: string
  3711. futureactualpl:
  3712. description: 期货损益
  3713. type: number
  3714. futurefloatpl:
  3715. description: 期货浮动损益
  3716. type: number
  3717. goodsunitid:
  3718. description: 套保品种单位id
  3719. type: integer
  3720. middlegoodscode:
  3721. description: 套保品种代码
  3722. type: string
  3723. middlegoodsid:
  3724. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3725. type: integer
  3726. middlegoodsname:
  3727. description: 套保品种名称
  3728. type: string
  3729. reckondate:
  3730. description: 日照时期(yyyyMMdd)
  3731. type: string
  3732. spotactualpl:
  3733. description: 现货损益
  3734. type: number
  3735. spotfloatpl:
  3736. description: 现货浮动损益
  3737. type: number
  3738. sumactualpl:
  3739. description: 实际损益 = (ActualPL + FutureActualPL)
  3740. type: number
  3741. sumpl:
  3742. description: 汇总损益
  3743. type: number
  3744. updatetime:
  3745. description: 更新时间
  3746. type: string
  3747. type: object
  3748. models.Ermcp3Brand:
  3749. properties:
  3750. areauserid:
  3751. description: 用户id
  3752. type: integer
  3753. brandid:
  3754. description: 品牌id
  3755. type: integer
  3756. brandname:
  3757. description: 品牌名称
  3758. type: string
  3759. deliverygoodsid:
  3760. description: 品种ID
  3761. type: integer
  3762. type: object
  3763. models.Ermcp3Contract:
  3764. properties:
  3765. accountid:
  3766. description: 期货账户id
  3767. type: string
  3768. amount:
  3769. description: 金额 [1:一口价、3:暂定价]
  3770. type: number
  3771. attachment:
  3772. description: 附件
  3773. type: string
  3774. auditremark:
  3775. description: 审核意见
  3776. type: string
  3777. audittime:
  3778. description: 审核时间
  3779. type: string
  3780. biztype:
  3781. description: 业务类型 1-套保 2-套利
  3782. type: integer
  3783. brandname:
  3784. description: 品牌名称
  3785. type: string
  3786. buynickname:
  3787. description: 销售方昵称
  3788. type: string
  3789. buyuserid:
  3790. description: 采购方ID
  3791. type: integer
  3792. buyusername:
  3793. description: 采购方名称
  3794. type: string
  3795. contracctstatus:
  3796. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3797. type: integer
  3798. contractmargin:
  3799. description: 合同保证金
  3800. type: number
  3801. contractno:
  3802. description: 现货合同编号
  3803. type: string
  3804. contracttype:
  3805. description: 现货合同类型 - 1:采购 -1:销售
  3806. type: integer
  3807. convertfactor:
  3808. description: 标仓系数(品类)
  3809. type: number
  3810. createtime:
  3811. description: 创建时间
  3812. type: string
  3813. currencyid:
  3814. description: 币种id
  3815. type: integer
  3816. currencyname:
  3817. description: 币种名称
  3818. type: string
  3819. deliveryenddate:
  3820. description: 交收期(结束)
  3821. type: string
  3822. deliverygoodscode:
  3823. description: 现货品种代码
  3824. type: string
  3825. deliverygoodsid:
  3826. description: 现货品种ID
  3827. type: integer
  3828. deliverygoodsname:
  3829. description: 现货品种名称
  3830. type: string
  3831. deliverystartdate:
  3832. description: 交收期(开始)
  3833. type: string
  3834. enddate:
  3835. description: 点价结束日期 [2:点价 3:暂定价]
  3836. type: string
  3837. enumdicname:
  3838. description: 单位名称
  3839. type: string
  3840. goodscode:
  3841. description: 点价合约代码
  3842. type: string
  3843. goodsid:
  3844. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3845. type: integer
  3846. goodsname:
  3847. description: 点价商品名称
  3848. type: string
  3849. margin:
  3850. description: 当前保证金
  3851. type: number
  3852. meruserid:
  3853. description: 跟单员id
  3854. type: integer
  3855. meruserlogincode:
  3856. description: 跟单员登录代码
  3857. type: string
  3858. merusername:
  3859. description: 跟单员名称
  3860. type: string
  3861. price:
  3862. description: 价格\暂定价 [1:一口价、3:暂定价]
  3863. type: number
  3864. pricemove:
  3865. description: 升贴水 [2:点价 3:暂定价]
  3866. type: number
  3867. pricetype:
  3868. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3869. type: integer
  3870. producttype:
  3871. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3872. type: integer
  3873. qty:
  3874. description: 数量
  3875. type: number
  3876. remark:
  3877. description: 备注
  3878. type: string
  3879. saleuserid:
  3880. description: 业务员id
  3881. type: integer
  3882. saleuserlogincode:
  3883. description: 业务员登录代码
  3884. type: string
  3885. saleusername:
  3886. description: 业务员名称
  3887. type: string
  3888. sellnickname:
  3889. description: 采购方昵称
  3890. type: string
  3891. selluserid:
  3892. description: 销售方ID
  3893. type: integer
  3894. sellusername:
  3895. description: 销售方名称
  3896. type: string
  3897. spotcontractid:
  3898. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3899. type: string
  3900. spotgoodsbrandid:
  3901. description: 现货品牌ID(DGFactoryItem表的ID)
  3902. type: integer
  3903. spotgoodsdesc:
  3904. description: 商品型号
  3905. type: string
  3906. startdate:
  3907. description: 点价开始日期 [2:点价 3:暂定价]
  3908. type: string
  3909. tradeuserid:
  3910. description: 交易员id
  3911. type: integer
  3912. tradeuserlogincode:
  3913. description: 交易员登录代码
  3914. type: string
  3915. tradeusername:
  3916. description: 交易员名称
  3917. type: string
  3918. unitid:
  3919. description: 单位id(取品类上的单位id)
  3920. type: integer
  3921. updatetime:
  3922. description: 更新时间
  3923. type: string
  3924. userid:
  3925. description: 所属机构ID
  3926. type: integer
  3927. wrstandardcode:
  3928. description: 品类代码
  3929. type: string
  3930. wrstandardid:
  3931. description: 品类ID
  3932. type: integer
  3933. wrstandardname:
  3934. description: 品类名称
  3935. type: string
  3936. type: object
  3937. models.Ermcp3ExposureContractDetail:
  3938. properties:
  3939. biztype:
  3940. description: 业务类型 1-套保 2-套利
  3941. type: integer
  3942. brandname:
  3943. description: 品牌名称
  3944. type: string
  3945. buyuserid:
  3946. description: 采购方id
  3947. type: integer
  3948. buyusername:
  3949. description: 采购方名称
  3950. type: string
  3951. contractno:
  3952. description: 合同编号
  3953. type: string
  3954. contracttype:
  3955. description: 现货合同类型 - 1:采购 -1:销售
  3956. type: integer
  3957. convertfactor:
  3958. description: 标仓系数
  3959. type: number
  3960. convertratio:
  3961. description: 折算系数(套保品种)
  3962. type: number
  3963. curqty:
  3964. description: 今定价量
  3965. type: number
  3966. deliverygoodscode:
  3967. description: 现货商品代码
  3968. type: string
  3969. deliverygoodsid:
  3970. description: 现货商品id
  3971. type: integer
  3972. deliverygoodsname:
  3973. description: 现货商品名称
  3974. type: string
  3975. diffhedgeqty:
  3976. description: 套保变动量
  3977. type: number
  3978. diffneedhedgeqty:
  3979. description: 应套保变动量
  3980. type: number
  3981. diffqty:
  3982. description: 套保品种今变动量
  3983. type: number
  3984. enumdicname:
  3985. description: 单位名称
  3986. type: string
  3987. middlegoodscode:
  3988. description: 套保品种代码
  3989. type: string
  3990. middlegoodsid:
  3991. description: 套保品种id
  3992. type: integer
  3993. middlegoodsname:
  3994. description: 套保品种名称
  3995. type: string
  3996. needarbitrageratio:
  3997. description: 应套利比例
  3998. type: number
  3999. needhedgeratio:
  4000. description: 应套保比例
  4001. type: number
  4002. pricedqty:
  4003. description: 已定价量
  4004. type: number
  4005. qty:
  4006. description: 合同量
  4007. type: number
  4008. selluserid:
  4009. description: 销售方id
  4010. type: integer
  4011. sellusername:
  4012. description: 销售方名称
  4013. type: string
  4014. spotcontractid:
  4015. description: 合同id
  4016. type: string
  4017. todaypricedqty:
  4018. description: 今定价量
  4019. type: number
  4020. tradedate:
  4021. description: 交易日
  4022. type: string
  4023. unitid:
  4024. description: 品类单位id
  4025. type: integer
  4026. userid:
  4027. description: 机构id
  4028. type: integer
  4029. wrstandardcode:
  4030. description: 品类代码
  4031. type: string
  4032. wrstandardid:
  4033. description: 品类id
  4034. type: integer
  4035. wrstandardname:
  4036. description: 品类名称
  4037. type: string
  4038. type: object
  4039. models.Ermcp3ExposureDetail:
  4040. properties:
  4041. areauserid:
  4042. description: 机构ID
  4043. type: integer
  4044. changeQty:
  4045. description: 套保变动量
  4046. type: number
  4047. contracttype:
  4048. description: 现货合同类型 - 1:采购 -1:销售
  4049. type: integer
  4050. convertfactor:
  4051. description: 标仓系数
  4052. type: number
  4053. convertratio:
  4054. description: 套保系数
  4055. type: number
  4056. createtime:
  4057. description: 时间
  4058. type: string
  4059. deliverygoodscode:
  4060. description: 现货品种代码
  4061. type: string
  4062. deliverygoodsid:
  4063. description: 现货品种id
  4064. type: integer
  4065. deliverygoodsname:
  4066. description: 现货品种名称
  4067. type: string
  4068. enumdicname:
  4069. description: 现货商品单位名称
  4070. type: string
  4071. logtype:
  4072. description: 类型 - 1:套保计划 2:现货合同
  4073. type: integer
  4074. mgunitid:
  4075. description: 套保品种单位id
  4076. type: integer
  4077. mgunitidname:
  4078. description: 套保品种单位名称
  4079. type: string
  4080. middlegoodsId:
  4081. description: 套保商品id
  4082. type: integer
  4083. middlegoodscode:
  4084. description: 套保商品代码
  4085. type: string
  4086. middlegoodsname:
  4087. description: 套保商品名称
  4088. type: string
  4089. qty:
  4090. description: 数量
  4091. type: number
  4092. relateNo:
  4093. description: 现货合同/套保计划编号
  4094. type: string
  4095. type: object
  4096. models.Ermcp3ExposureFutuDetail:
  4097. properties:
  4098. accountid:
  4099. description: 交易账户id
  4100. type: integer
  4101. accountname:
  4102. description: 交易账户
  4103. type: string
  4104. begindate:
  4105. description: 开始交易日
  4106. type: string
  4107. buyorsell:
  4108. description: 方向 0-买 1-卖
  4109. type: integer
  4110. diffmgqty:
  4111. description: 套保品种今变化量
  4112. type: number
  4113. diffneedqty:
  4114. description: 应套保总量变化量
  4115. type: number
  4116. difftradeqty:
  4117. description: 交易品种今变化量
  4118. type: number
  4119. enddate:
  4120. description: 结束交易日
  4121. type: string
  4122. enumdicname:
  4123. description: 单位名称
  4124. type: string
  4125. goodscode:
  4126. description: 商品代码
  4127. type: string
  4128. goodsid:
  4129. description: 商品id
  4130. type: integer
  4131. goodsname:
  4132. description: 商品名称
  4133. type: string
  4134. holdqty:
  4135. description: 期末持仓量
  4136. type: number
  4137. middlegoodscode:
  4138. description: 套保商品代码
  4139. type: string
  4140. middlegoodsid:
  4141. description: 套保商品id
  4142. type: integer
  4143. middlegoodsname:
  4144. description: 套保商品名称
  4145. type: string
  4146. oriholdqty:
  4147. description: 期初持仓量
  4148. type: number
  4149. todaycloseqty:
  4150. description: 今平仓量
  4151. type: number
  4152. todayopenqty:
  4153. description: 今开仓量
  4154. type: number
  4155. tradedate:
  4156. description: 交易日
  4157. type: string
  4158. type: object
  4159. models.Ermcp3ExposureHedgeplanDetail:
  4160. properties:
  4161. biztype:
  4162. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4163. type: integer
  4164. changqty:
  4165. description: 应套保总量变化量
  4166. type: number
  4167. contracttype:
  4168. description: 计划类型 - 1:采购 -1:销售
  4169. type: integer
  4170. convertratio:
  4171. description: 折算系数(套保品种)
  4172. type: number
  4173. deliverygoodscode:
  4174. description: 现货商品代码
  4175. type: string
  4176. deliverygoodsid:
  4177. description: 现货商品id
  4178. type: integer
  4179. deliverygoodsname:
  4180. description: 现货商吕名称
  4181. type: string
  4182. dgunitid:
  4183. description: 现货商品单位id
  4184. type: integer
  4185. dgunitidname:
  4186. description: 单位名称(现货商品)
  4187. type: string
  4188. diffqty:
  4189. description: 套保品种今变动量
  4190. type: number
  4191. enumdicname:
  4192. description: 单位名称(品类)
  4193. type: string
  4194. hedgeplanid:
  4195. description: 套保计划id
  4196. type: string
  4197. hedgeplanno:
  4198. description: 套保计划名称
  4199. type: string
  4200. hedgeplanstatus:
  4201. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4202. type: integer
  4203. mgunitidname:
  4204. description: 单位名称(套保商品)
  4205. type: string
  4206. middlegoodscode:
  4207. description: 套保品种代码
  4208. type: string
  4209. middlegoodsid:
  4210. description: 套保品种id
  4211. type: integer
  4212. middlegoodsname:
  4213. description: 套保品种名称
  4214. type: string
  4215. needarbitrageratio:
  4216. description: 应套利比例
  4217. type: number
  4218. needhedgeratio:
  4219. description: 应套保比例
  4220. type: number
  4221. pricedqty:
  4222. description: 已定价量
  4223. type: number
  4224. qty:
  4225. description: 合同量
  4226. type: number
  4227. tradedate:
  4228. description: 交易日(登记日)
  4229. type: string
  4230. unitid:
  4231. description: 品类单位id
  4232. type: integer
  4233. userid:
  4234. description: 机构id
  4235. type: integer
  4236. wrstandardcode:
  4237. description: 品类代码
  4238. type: string
  4239. wrstandardid:
  4240. description: 品类id
  4241. type: integer
  4242. wrstandardname:
  4243. description: 品类名称
  4244. type: string
  4245. type: object
  4246. models.Ermcp3ExposureParamChLog:
  4247. properties:
  4248. accountid:
  4249. description: 期货账户ID (作废, 默认为0)
  4250. type: integer
  4251. aftervalue:
  4252. description: 应套保\套利量变更后(调整后应套保总量)
  4253. type: number
  4254. areauserid:
  4255. description: 所属机构\交易用户ID
  4256. type: integer
  4257. beforevalue:
  4258. description: 应套保\套利量变更前(调整前应套保总量)
  4259. type: number
  4260. begindate:
  4261. description: 开始交易日
  4262. type: string
  4263. changelogtype:
  4264. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4265. type: integer
  4266. curvalue:
  4267. description: 当前套保\套利量(套保总量|套利总量)
  4268. type: number
  4269. diffvalue:
  4270. description: 应套保总量变化量
  4271. type: number
  4272. enddate:
  4273. description: 结束交易日
  4274. type: string
  4275. logdatetime:
  4276. description: 流水日期
  4277. type: string
  4278. logid:
  4279. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4280. type: string
  4281. middlegoodscode:
  4282. description: 套保品种代码
  4283. type: string
  4284. middlegoodsid:
  4285. description: 套保品种
  4286. type: integer
  4287. middlegoodsname:
  4288. description: 套保品种名称
  4289. type: string
  4290. paramaftervalue:
  4291. description: 参数变更后(调整后参数值)
  4292. type: number
  4293. parambeforevalue:
  4294. description: 参数变更前(调整前参数值)
  4295. type: number
  4296. tradedate:
  4297. description: 交易日(yyyyMMdd)
  4298. type: string
  4299. type: object
  4300. models.Ermcp3ExpourseReport:
  4301. properties:
  4302. accountid:
  4303. description: 期货账户ID (作废, 默认为0)
  4304. type: integer
  4305. accountname:
  4306. description: 机构名称
  4307. type: string
  4308. arbitrageqty:
  4309. description: 套利量
  4310. type: number
  4311. areauserid:
  4312. description: 所属机构\交易用户ID
  4313. type: integer
  4314. begindate:
  4315. description: 开始交易日
  4316. type: string
  4317. buyfutureqty:
  4318. description: 买入期货数量
  4319. type: number
  4320. buyplanqty:
  4321. description: 采购计划数量
  4322. type: number
  4323. buypricedqty:
  4324. description: 采购合同已定价数量
  4325. type: number
  4326. cycletime:
  4327. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4328. type: string
  4329. cycletype:
  4330. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4331. type: integer
  4332. diffexposure:
  4333. description: 变动量(套保敞口)
  4334. type: number
  4335. difffutuqty:
  4336. description: 变动量(期货)
  4337. type: number
  4338. diffhedgeqty:
  4339. description: 变动量(现货应套保总量)
  4340. type: number
  4341. diffmgqtya:
  4342. description: 套保变动量
  4343. type: number
  4344. diffmgqtyb:
  4345. description: 套利变动量
  4346. type: number
  4347. diffqty:
  4348. description: 变动量(总敞口)
  4349. type: number
  4350. diffspotqty:
  4351. description: 变动量(现货)
  4352. type: number
  4353. enddate:
  4354. description: 结束交易日
  4355. type: string
  4356. enumdicname:
  4357. description: 单位名称
  4358. type: string
  4359. hedgeqty:
  4360. description: 套保量
  4361. type: number
  4362. mgneedhedgeratio:
  4363. description: 套保比例(套保品的)
  4364. type: number
  4365. middlegoodsid:
  4366. description: 套保品种ID
  4367. type: integer
  4368. middlegoodsname:
  4369. description: 套保商品名称
  4370. type: string
  4371. middlgoodscode:
  4372. description: 套保商品代码
  4373. type: string
  4374. needarbitrageqty:
  4375. description: 应套利量
  4376. type: number
  4377. needarbitrageratio:
  4378. description: 套利比例(套保品的)
  4379. type: number
  4380. needhedgeexposoure:
  4381. description: 应套保敞口(套保敞口)
  4382. type: number
  4383. needhedgeqty:
  4384. description: 应套保量
  4385. type: number
  4386. needhedgeratio:
  4387. description: 应套保敞口比例
  4388. type: number
  4389. oriarbitrageqty:
  4390. description: 期初套利量
  4391. type: number
  4392. oribuyfutureqty:
  4393. description: 期初买入期货数量
  4394. type: number
  4395. oribuyplanqty:
  4396. description: 期初采购计划数量
  4397. type: number
  4398. oribuypricedqty:
  4399. description: 期初采购合同已定价数量
  4400. type: number
  4401. orihedgeqty:
  4402. description: 期初套保量
  4403. type: number
  4404. orineedarbitrageqty:
  4405. description: 期初应套利量
  4406. type: number
  4407. orineedhedgeexposoure:
  4408. description: 期初应套保敞口
  4409. type: number
  4410. orineedhedgeqty:
  4411. description: 期初应套保量
  4412. type: number
  4413. orisellfutureqty:
  4414. description: 期初卖出期货数量
  4415. type: number
  4416. orisellplanqty:
  4417. description: 期初销售计划数量
  4418. type: number
  4419. orisellpricedqty:
  4420. description: 期初销售合同已定价数量
  4421. type: number
  4422. oritotalexposure:
  4423. description: 期初实时总敞口
  4424. type: number
  4425. oritotalfutureqty:
  4426. description: 期初期货头寸总量
  4427. type: number
  4428. oritotalneedhedgeqty:
  4429. description: 期初应套保总量
  4430. type: number
  4431. oritotalspotqty:
  4432. description: 期初现货头寸总量
  4433. type: number
  4434. reckondate:
  4435. description: 日照时期(yyyyMMdd)
  4436. type: string
  4437. sellfutureqty:
  4438. description: 卖出期货数量
  4439. type: number
  4440. sellplanqty:
  4441. description: 销售计划数量
  4442. type: number
  4443. sellpricedqty:
  4444. description: 销售合同已定价数量
  4445. type: number
  4446. totalexposure:
  4447. description: 实时总敞口(总敞口)
  4448. type: number
  4449. totalfutureqty:
  4450. description: 期货头寸总量(期货总量)
  4451. type: number
  4452. totalhedgeratio:
  4453. description: 敞口比例
  4454. type: number
  4455. totalneedhedgeqty:
  4456. description: 应套保总量(现货应套保总量)
  4457. type: number
  4458. totalspotqty:
  4459. description: 现货头寸总量
  4460. type: number
  4461. unitid:
  4462. description: 单位id
  4463. type: integer
  4464. updatetime:
  4465. description: 更新时间
  4466. type: string
  4467. type: object
  4468. models.Ermcp3FinanceReport:
  4469. properties:
  4470. accountname:
  4471. description: 机构名称
  4472. type: string
  4473. areauserid:
  4474. description: 所属机构\交易用户ID
  4475. type: integer
  4476. begindate:
  4477. description: 开始交易日
  4478. type: string
  4479. biztype:
  4480. description: 业务类型 - 1:套保 2:套利
  4481. type: integer
  4482. brandname:
  4483. description: 品牌名称
  4484. type: string
  4485. buypreinvoicedamount:
  4486. description: 采购预收票额(预收票额)
  4487. type: number
  4488. buyprepaidamount:
  4489. description: 采购预付款额(预付货款额)
  4490. type: number
  4491. buytodayinvoiceamount:
  4492. description: 采购今收票额(今收票额)
  4493. type: number
  4494. buytodayrefundamount:
  4495. description: 采购今收退款额(今收退款额)
  4496. type: number
  4497. buytodaysettleamount:
  4498. description: 采购今付款额(今付货款额)
  4499. type: number
  4500. buyuninvoicedamount:
  4501. description: 采购应收票额(应收票额)
  4502. type: number
  4503. buyunpaidamount:
  4504. description: 采购应付款额(应付货款额)
  4505. type: number
  4506. currencyid:
  4507. description: 结算币种ID
  4508. type: integer
  4509. currencyname:
  4510. description: 币种名称
  4511. type: string
  4512. cycletime:
  4513. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4514. type: string
  4515. cycletype:
  4516. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4517. type: integer
  4518. deliverygoodscode:
  4519. description: 现货品种代码
  4520. type: string
  4521. deliverygoodsid:
  4522. description: 现货品种ID
  4523. type: integer
  4524. deliverygoodsname:
  4525. description: 现货品种名称
  4526. type: string
  4527. enddate:
  4528. description: 结束交易日
  4529. type: string
  4530. reckondate:
  4531. description: 日照时期(yyyyMMdd)
  4532. type: string
  4533. sellpreinvoicedamount:
  4534. description: 销售预开票额(预开票额)
  4535. type: number
  4536. sellprepaidamount:
  4537. description: 销售预收款额(预收货款额)
  4538. type: number
  4539. selltodayinvoiceamount:
  4540. description: 销售今开票额(今开票额)
  4541. type: number
  4542. selltodayrefundamount:
  4543. description: 销售今付退款额(今付退款额)
  4544. type: number
  4545. selltodaysettleamount:
  4546. description: 销售今收款额(今收货款额)
  4547. type: number
  4548. selluninvoicedamount:
  4549. description: 销售应开票额(应开票额)
  4550. type: number
  4551. sellunpaidamount:
  4552. description: 销售应收款额(应收货款额)
  4553. type: number
  4554. spotgoodsbrandid:
  4555. description: 现货品牌ID
  4556. type: integer
  4557. todaypaysum:
  4558. description: 今付款合计
  4559. type: number
  4560. todayreceivesum:
  4561. description: 今收款合计
  4562. type: number
  4563. updatetime:
  4564. description: 更新时间
  4565. type: string
  4566. wrfactortypeid:
  4567. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4568. type: integer
  4569. wrstandardcode:
  4570. description: 品类代码
  4571. type: string
  4572. wrstandardid:
  4573. description: 现货商品ID
  4574. type: integer
  4575. wrstandardname:
  4576. description: 品类名称
  4577. type: string
  4578. type: object
  4579. models.Ermcp3Goods:
  4580. properties:
  4581. agreeunit:
  4582. description: 合约单位(合约乘数)
  4583. type: number
  4584. enumdicname:
  4585. description: 单位名称
  4586. type: string
  4587. exexchangecode:
  4588. description: 交易所代码
  4589. type: string
  4590. goodscode:
  4591. description: 期货商品代码
  4592. type: string
  4593. goodsid:
  4594. description: 期货商品id
  4595. type: integer
  4596. goodsname:
  4597. description: 期货商品名称
  4598. type: string
  4599. type: object
  4600. models.Ermcp3GoodsGroup:
  4601. properties:
  4602. agreeunit:
  4603. description: 合约单位
  4604. type: number
  4605. areauserid:
  4606. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4607. type: integer
  4608. canshort:
  4609. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4610. type: integer
  4611. closepricemode:
  4612. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4613. type: integer
  4614. createtime:
  4615. description: 创建时间
  4616. type: string
  4617. creatorid:
  4618. description: 创建人
  4619. type: integer
  4620. currencyid:
  4621. description: 报价货币ID
  4622. type: integer
  4623. decimalplace:
  4624. description: 报价小数位
  4625. type: integer
  4626. enumdicname:
  4627. description: 单位名称
  4628. type: string
  4629. exchangefullname:
  4630. description: 交易所全称
  4631. type: string
  4632. excludecfg:
  4633. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4634. type: integer
  4635. exexchangecode:
  4636. description: 交易所代码
  4637. type: string
  4638. exexchangeid:
  4639. description: 外部交易所ID[通道交易]
  4640. type: integer
  4641. exexchangename:
  4642. description: 交易所名称
  4643. type: string
  4644. goodsgroupid:
  4645. description: 商品组ID(自增ID)
  4646. type: integer
  4647. goodsgroupname:
  4648. description: 商品组名称
  4649. type: string
  4650. goodsgroupstatus:
  4651. description: 商品组状态 - 1:正常 2:注销
  4652. type: integer
  4653. goodunitid:
  4654. description: 报价单位ID
  4655. type: integer
  4656. groupcategroyid:
  4657. description: 品种分类ID
  4658. type: integer
  4659. innerdealmode:
  4660. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4661. type: integer
  4662. marketid:
  4663. description: 所属市场ID
  4664. type: integer
  4665. modifierid:
  4666. description: 修改人
  4667. type: integer
  4668. modifytime:
  4669. description: 修改时间
  4670. type: string
  4671. outerdealmode:
  4672. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. outergroupcode:
  4675. description: 外部商品组代码[通道交易]
  4676. type: string
  4677. quoteminunit:
  4678. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4679. type: integer
  4680. quotesourcegroupid:
  4681. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4682. type: integer
  4683. syncgoodsqty:
  4684. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4685. type: integer
  4686. required:
  4687. - areauserid
  4688. type: object
  4689. models.Ermcp3GoodsGroupEx:
  4690. properties:
  4691. convertratio:
  4692. description: 折算系数(品种系数)
  4693. type: number
  4694. enumdicname:
  4695. description: 单位名称
  4696. type: string
  4697. exexchangecode:
  4698. description: 交易所代码
  4699. type: string
  4700. glist:
  4701. description: 合约列表
  4702. items:
  4703. $ref: '#/definitions/models.Ermcp3Goods'
  4704. type: array
  4705. goodsgroupid:
  4706. description: 商品组id
  4707. type: integer
  4708. goodsgroupname:
  4709. description: 商品组名称
  4710. type: string
  4711. goodsunitid:
  4712. description: 单位id
  4713. type: integer
  4714. middlegoodsid:
  4715. description: 套保商品id
  4716. type: integer
  4717. type: object
  4718. models.Ermcp3HedgePlan:
  4719. properties:
  4720. accountid:
  4721. description: 资金账号
  4722. type: integer
  4723. areauserid:
  4724. description: 用户ID
  4725. type: integer
  4726. auditid:
  4727. description: 审核id
  4728. type: integer
  4729. auditname:
  4730. description: 审核人名称
  4731. type: string
  4732. auditremark:
  4733. description: 审核备注
  4734. type: string
  4735. auditsrc:
  4736. description: 审核来源 1-管理端 2-终端
  4737. type: integer
  4738. audittime:
  4739. description: 审核时间
  4740. type: string
  4741. contracttype:
  4742. description: 计划类型 - 1:采购 -1:销售
  4743. type: integer
  4744. convertfactor:
  4745. description: 标仓系数
  4746. type: number
  4747. createtime:
  4748. description: 创建时间
  4749. type: string
  4750. currencyid:
  4751. description: 币种id
  4752. type: integer
  4753. currencyname:
  4754. description: 币种名称
  4755. type: string
  4756. deliverygoodscode:
  4757. description: 现货品种代码
  4758. type: string
  4759. deliverygoodsid:
  4760. description: 现货品种ID
  4761. type: integer
  4762. deliverygoodsname:
  4763. description: 现货品种名称
  4764. type: string
  4765. enumdicname:
  4766. description: 单位名称(现货商品)
  4767. type: string
  4768. hedgeplanid:
  4769. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4770. type: string
  4771. hedgeplanno:
  4772. description: 套保计划编号(名称)
  4773. type: string
  4774. hedgeplanstatus:
  4775. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4776. type: integer
  4777. planqty:
  4778. description: 计划数量
  4779. type: number
  4780. plantime:
  4781. description: 计划时间
  4782. type: string
  4783. producttype:
  4784. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4785. type: integer
  4786. remark:
  4787. description: 备注
  4788. type: string
  4789. spotgoodsdesc:
  4790. description: 商品型号
  4791. type: string
  4792. taaccountname:
  4793. description: 资金账号名称
  4794. type: string
  4795. tradeuserid:
  4796. description: 交易用户id
  4797. type: integer
  4798. tradeusername:
  4799. description: 交易用户名称
  4800. type: string
  4801. unitid:
  4802. description: 单位id(现货商品)
  4803. type: integer
  4804. updatetime:
  4805. description: 更新时间
  4806. type: string
  4807. wrstandardcode:
  4808. description: 品类代码
  4809. type: string
  4810. wrstandardid:
  4811. description: 品类id
  4812. type: integer
  4813. wrstandardname:
  4814. description: 品类名称
  4815. type: string
  4816. wrunitid:
  4817. description: 品类单位id
  4818. type: integer
  4819. wrunitidame:
  4820. description: 品类单位名称
  4821. type: string
  4822. type: object
  4823. models.Ermcp3MiddleGoodsDetail2:
  4824. properties:
  4825. convertratio:
  4826. description: 套保系数(折算系数)
  4827. type: number
  4828. gplist:
  4829. description: 关联商品组列表
  4830. items:
  4831. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4832. type: array
  4833. mg:
  4834. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4835. description: 套保商品信息
  4836. type: object
  4837. type: object
  4838. models.Ermcp3MiddleGoodsDetailEx:
  4839. properties:
  4840. dglist:
  4841. description: 关联的现货品种列表
  4842. items:
  4843. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4844. type: array
  4845. gplist:
  4846. description: 关联商品组列表
  4847. items:
  4848. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4849. type: array
  4850. mg:
  4851. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4852. description: 套保商品信息
  4853. type: object
  4854. type: object
  4855. models.Ermcp3RootUserAccount:
  4856. properties:
  4857. accountname:
  4858. description: 账户名称(机构名称)
  4859. type: string
  4860. accountstatus:
  4861. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4862. type: integer
  4863. applysrc:
  4864. description: 申请来源 - 1:管理端 2:终端
  4865. type: integer
  4866. auditremark:
  4867. description: 审核备注
  4868. type: string
  4869. auditsrc:
  4870. description: 审核来源 - 1:管理端 2:终端
  4871. type: integer
  4872. audittime:
  4873. description: 审核时间
  4874. type: string
  4875. audituserid:
  4876. description: 审核人
  4877. type: integer
  4878. broker:
  4879. description: 所属经纪人ID
  4880. type: integer
  4881. canceltime:
  4882. description: 销户时间
  4883. type: string
  4884. canceluserid:
  4885. description: 销户人
  4886. type: integer
  4887. canrecommend:
  4888. description: 是否可推荐 - 0:不可 1;可
  4889. type: integer
  4890. createtime:
  4891. description: 创建时间
  4892. type: string
  4893. creatorid:
  4894. description: 创建人
  4895. type: integer
  4896. hasauth:
  4897. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4898. type: integer
  4899. isanonymous:
  4900. description: 是否匿名下单 - 0:否 1:是
  4901. type: integer
  4902. maxinvestornum:
  4903. description: 最大用户数(经纪会员下投资者个数)
  4904. type: integer
  4905. memberuserid:
  4906. description: 所属会员ID
  4907. type: integer
  4908. modifierid:
  4909. description: 修改人
  4910. type: integer
  4911. modifyremark:
  4912. description: 变更备注
  4913. type: string
  4914. modifystatus:
  4915. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4916. type: integer
  4917. modifytime:
  4918. description: 修改时间
  4919. type: string
  4920. parenttopuser:
  4921. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4922. type: string
  4923. parentuserid:
  4924. description: 所属机构ID
  4925. type: integer
  4926. reckonaccountid:
  4927. description: 默认结算资金账号ID(机构分润使用) 作废
  4928. type: integer
  4929. refercount:
  4930. description: 推荐总人数
  4931. type: integer
  4932. refereeuserid:
  4933. description: 推荐人ID
  4934. type: integer
  4935. refernum:
  4936. description: 推荐码
  4937. type: string
  4938. rootuserid:
  4939. description: 根用户ID
  4940. type: integer
  4941. subaccountlevel:
  4942. description: 子账户层数
  4943. type: integer
  4944. subarealevelpath:
  4945. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4946. type: string
  4947. userid:
  4948. description: 用户ID
  4949. type: integer
  4950. usertype:
  4951. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4952. type: integer
  4953. type: object
  4954. models.Ermcp3SellBuyContract:
  4955. properties:
  4956. accountid:
  4957. description: 期货账户id
  4958. type: string
  4959. accountname:
  4960. description: 账户名称
  4961. type: string
  4962. attachment:
  4963. description: 附件
  4964. type: string
  4965. audittime:
  4966. description: 审核时间
  4967. type: string
  4968. biztype:
  4969. description: 业务类型 1-套保 2-套利
  4970. type: integer
  4971. brandname:
  4972. description: 品牌名称
  4973. type: string
  4974. contracctstatus:
  4975. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4976. type: integer
  4977. contractmargin:
  4978. description: 合同保证金
  4979. type: number
  4980. contractno:
  4981. description: 合同编号
  4982. type: string
  4983. contracttype:
  4984. description: 合同类型 1-采购, -1-销售
  4985. type: integer
  4986. convertfactor:
  4987. description: 标仓系数(品类)
  4988. type: number
  4989. createtime:
  4990. description: 创建时间
  4991. type: string
  4992. currencyid:
  4993. description: 币种id
  4994. type: integer
  4995. currencyname:
  4996. description: 币种名称
  4997. type: string
  4998. daikaiamount:
  4999. description: 应收(开)票额
  5000. type: number
  5001. deliveryenddate:
  5002. description: 交割结束日
  5003. type: string
  5004. deliverygoodscode:
  5005. description: 现货品种代码
  5006. type: string
  5007. deliverygoodsid:
  5008. description: 现货商品ID
  5009. type: integer
  5010. deliverygoodsname:
  5011. description: 现货品种名称
  5012. type: string
  5013. deliverystartdate:
  5014. description: 交割开始日
  5015. type: string
  5016. enddate:
  5017. description: 点价结束日
  5018. type: string
  5019. enumdicname:
  5020. description: 单位名称
  5021. type: string
  5022. goodscode:
  5023. description: 点价商品代码
  5024. type: string
  5025. goodsid:
  5026. description: 点价商品ID
  5027. type: integer
  5028. goodsname:
  5029. description: 点价商品名称
  5030. type: string
  5031. invoiceamount:
  5032. description: 已开票额
  5033. type: number
  5034. loanamount:
  5035. description: 贷款总额=已定价额+调整金额
  5036. type: number
  5037. margin:
  5038. description: 保证金
  5039. type: number
  5040. meruserid:
  5041. description: 跟单员id
  5042. type: integer
  5043. meruserlogincode:
  5044. description: 跟单员登录代码
  5045. type: string
  5046. merusername:
  5047. description: 跟单员名称
  5048. type: string
  5049. nickname:
  5050. description: 账户昵称
  5051. type: string
  5052. payamount:
  5053. description: 已收付额(收款或付款)
  5054. type: number
  5055. preinvoiceamount:
  5056. description: 预收(开)票额
  5057. type: number
  5058. prepayamount:
  5059. description: 预收付额
  5060. type: number
  5061. price:
  5062. description: 价格
  5063. type: number
  5064. pricedamount:
  5065. description: 已定价额
  5066. type: number
  5067. pricedavg:
  5068. description: 已点均价
  5069. type: number
  5070. pricedqty:
  5071. description: 已定价量
  5072. type: number
  5073. pricemove:
  5074. description: 升贴水
  5075. type: number
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. producttype:
  5080. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5081. type: integer
  5082. qty:
  5083. description: 合同量
  5084. type: number
  5085. reckonadjustamount:
  5086. description: 调整金额
  5087. type: number
  5088. reckonedamount:
  5089. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5090. type: number
  5091. reckonotheramount:
  5092. description: 其它费用
  5093. type: number
  5094. reckonrealqty:
  5095. description: 已确定量
  5096. type: number
  5097. remark:
  5098. description: 备注
  5099. type: string
  5100. saleuserid:
  5101. description: 业务员id
  5102. type: integer
  5103. saleuserlogincode:
  5104. description: 业务员登录代码
  5105. type: string
  5106. saleusername:
  5107. description: 业务员名称
  5108. type: string
  5109. spotcontractid:
  5110. description: 合同ID
  5111. type: string
  5112. spotgoodsbrandid:
  5113. description: 现货品牌ID(DGFactoryItem表的ID)
  5114. type: integer
  5115. spotgoodsdesc:
  5116. description: 商品型号(商品规格)
  5117. type: string
  5118. startdate:
  5119. description: 点价开始日
  5120. type: string
  5121. totalamount:
  5122. description: 合计总额
  5123. type: number
  5124. tradeuserid:
  5125. description: 交易员id
  5126. type: integer
  5127. tradeuserlogincode:
  5128. description: 交易员登录代码
  5129. type: string
  5130. tradeusername:
  5131. description: 交易员名称
  5132. type: string
  5133. unpayamount:
  5134. description: 应收付款额(应支付或应收款)
  5135. type: number
  5136. unpricedqty:
  5137. description: 未定价量
  5138. type: number
  5139. unsureqty:
  5140. description: 未确定量
  5141. type: number
  5142. userid:
  5143. description: 机构ID
  5144. type: integer
  5145. wrstandardcode:
  5146. description: 品类代码
  5147. type: string
  5148. wrstandardid:
  5149. description: 品类ID
  5150. type: integer
  5151. wrstandardname:
  5152. description: 品类名称
  5153. type: string
  5154. type: object
  5155. models.Ermcp3SpotGoodsPrice:
  5156. properties:
  5157. areauserid:
  5158. description: 所属机构id
  5159. type: integer
  5160. brandname:
  5161. description: 品牌名称
  5162. type: string
  5163. currencyid:
  5164. description: 报价货币ID
  5165. type: integer
  5166. currencyname:
  5167. description: 币种名称
  5168. type: string
  5169. deliverygoodscode:
  5170. description: 现货商品代码
  5171. type: string
  5172. deliverygoodsid:
  5173. description: 现货商品id
  5174. type: integer
  5175. deliverygoodsname:
  5176. description: 现货商品名称
  5177. type: string
  5178. enumdicname:
  5179. description: 现货商品单位名称
  5180. type: string
  5181. gbenumdicname:
  5182. description: 品类单位名称
  5183. type: string
  5184. gmunitid:
  5185. description: 品类单位id
  5186. type: integer
  5187. isvalid:
  5188. description: 是否有效 - 0:无效 1:有效
  5189. type: integer
  5190. operateid:
  5191. description: 最后操作人
  5192. type: integer
  5193. operatesrc:
  5194. description: 最后操作来源 - 1:管理端 2:终端
  5195. type: integer
  5196. operatetime:
  5197. description: 最后操作时间
  5198. type: string
  5199. operatorname:
  5200. description: 操作人名称
  5201. type: string
  5202. spotgoodsbrandid:
  5203. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5204. type: integer
  5205. spotgoodsprice:
  5206. description: 现货价格
  5207. type: number
  5208. tradedate:
  5209. description: 交易日(yyyyMMdd)
  5210. type: string
  5211. unitid:
  5212. description: 现货商品单位id
  5213. type: integer
  5214. wrstandardcode:
  5215. description: 品类代码
  5216. type: string
  5217. wrstandardid:
  5218. description: 现货品类ID(通用则为0)
  5219. type: integer
  5220. wrstandardname:
  5221. description: 品类名称
  5222. type: string
  5223. type: object
  5224. models.Ermcp3SpotGoodsPriceLog:
  5225. properties:
  5226. areauserid:
  5227. description: 所属机构id
  5228. type: integer
  5229. brandname:
  5230. description: 品牌名称
  5231. type: string
  5232. currencyid:
  5233. description: 报价货币ID
  5234. type: integer
  5235. deliverygoodscode:
  5236. description: 现货商品代码
  5237. type: string
  5238. deliverygoodsid:
  5239. description: 现货商品id
  5240. type: integer
  5241. deliverygoodsname:
  5242. description: 现货商品名称
  5243. type: string
  5244. enumdicname:
  5245. description: 现货商品单位名称
  5246. type: string
  5247. gbenumdicname:
  5248. description: 品类单位名称
  5249. type: string
  5250. gmunitid:
  5251. description: 品类单位id
  5252. type: integer
  5253. logid:
  5254. description: 日志id
  5255. type: integer
  5256. operateid:
  5257. description: 最后操作人
  5258. type: integer
  5259. operatesrc:
  5260. description: 最后操作来源 - 1:管理端 2:终端
  5261. type: integer
  5262. operatetime:
  5263. description: 最后操作时间
  5264. type: string
  5265. operatorname:
  5266. description: 操作人名称
  5267. type: string
  5268. spotgoodsbrandid:
  5269. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5270. type: integer
  5271. spotgoodsprice:
  5272. description: 现货价格
  5273. type: number
  5274. tradedate:
  5275. description: 交易日(yyyyMMdd)
  5276. type: string
  5277. unitid:
  5278. description: 现货商品单位id
  5279. type: integer
  5280. wrstandardcode:
  5281. description: 品类代码
  5282. type: string
  5283. wrstandardid:
  5284. description: 现货品类ID(通用则为0)
  5285. type: integer
  5286. wrstandardname:
  5287. description: 品类名称
  5288. type: string
  5289. type: object
  5290. models.Ermcp3TaFutuReDataReport:
  5291. properties:
  5292. accountid:
  5293. description: 交易账户
  5294. type: integer
  5295. accountname:
  5296. description: 交易账号名称
  5297. type: string
  5298. agreeunit:
  5299. description: 商品合约单位
  5300. type: number
  5301. begindate:
  5302. description: 开始交易日
  5303. type: string
  5304. buyorsell:
  5305. description: 持仓方向
  5306. type: integer
  5307. charge:
  5308. description: 手续费
  5309. type: number
  5310. closeavgprice:
  5311. description: 平仓均价
  5312. type: number
  5313. closepl:
  5314. description: 平仓损益
  5315. type: number
  5316. currencyid:
  5317. description: 结算币种ID
  5318. type: integer
  5319. currencyname:
  5320. description: 币种名称
  5321. type: string
  5322. cycletime:
  5323. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5324. type: string
  5325. cycletype:
  5326. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5327. type: integer
  5328. enddate:
  5329. description: 结束交易日
  5330. type: string
  5331. enumdicname:
  5332. description: 单位名称
  5333. type: string
  5334. floatpl:
  5335. description: 浮动损益
  5336. type: number
  5337. goodscode:
  5338. description: 交易合约代码
  5339. type: string
  5340. goodsgroupid:
  5341. description: 交易品种
  5342. type: integer
  5343. goodsgroupname:
  5344. description: 交易品种名称
  5345. type: string
  5346. goodsgroupspotqty:
  5347. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5348. type: number
  5349. goodsid:
  5350. description: 交易合约
  5351. type: integer
  5352. goodsname:
  5353. description: 交易合约名称
  5354. type: string
  5355. goodunitid:
  5356. description: 交易合约单位id
  5357. type: integer
  5358. holdamount:
  5359. description: 期末持仓额
  5360. type: number
  5361. holdqty:
  5362. description: 期末持仓量
  5363. type: number
  5364. lastholdamount:
  5365. description: 当前持仓额
  5366. type: number
  5367. lastprice:
  5368. description: 最新价
  5369. type: number
  5370. middlegoodsid:
  5371. description: 套保品种id
  5372. type: integer
  5373. middlegoodsname:
  5374. description: 套保商品名称
  5375. type: string
  5376. middlegoodsqty:
  5377. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5378. type: number
  5379. middlgoodscode:
  5380. description: 套保商品代码
  5381. type: string
  5382. openamount:
  5383. description: 期末开仓额
  5384. type: number
  5385. openavgprice:
  5386. description: 开仓均价
  5387. type: number
  5388. oriholdamount:
  5389. description: 期初持仓额
  5390. type: number
  5391. oriholdqty:
  5392. description: 期初持仓量
  5393. type: number
  5394. oriopenamount:
  5395. description: 期初开仓额
  5396. type: number
  5397. outergroupcode:
  5398. description: 交易品种代码
  5399. type: string
  5400. qtydecimalplace:
  5401. description: 成交量小数位
  5402. type: integer
  5403. reckondate:
  5404. description: 日照时期(yyyyMMdd)
  5405. type: string
  5406. reckonholdamount:
  5407. description: 结算持仓额
  5408. type: number
  5409. reckonpl:
  5410. description: 结算损益
  5411. type: number
  5412. reckonpl2:
  5413. description: 结算逐笔盈亏
  5414. type: number
  5415. reckonprice:
  5416. description: 结算价
  5417. type: number
  5418. relateduserid:
  5419. description: 账户关联用户ID
  5420. type: integer
  5421. todaycloseamount:
  5422. description: 今平仓额
  5423. type: number
  5424. todaycloseqty:
  5425. description: 今平仓量
  5426. type: number
  5427. todaygoodsgroupspotqty:
  5428. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5429. type: number
  5430. todaymiddlegoodsqty:
  5431. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5432. type: number
  5433. todayopenamount:
  5434. description: 今开仓额
  5435. type: number
  5436. todayopenqty:
  5437. description: 今开仓量
  5438. type: number
  5439. userid:
  5440. description: 账户所属用户ID
  5441. type: integer
  5442. type: object
  5443. models.Ermcp3Wrstandard:
  5444. properties:
  5445. areauserid:
  5446. description: 所属机构
  5447. type: integer
  5448. convertfactor:
  5449. description: 标仓系数
  5450. type: number
  5451. createtime:
  5452. description: 创建时间
  5453. type: string
  5454. creatorid:
  5455. description: 创建人
  5456. type: integer
  5457. deliverygoodsid:
  5458. description: 现货品种ID
  5459. type: integer
  5460. enumdicname:
  5461. description: 品类单位名称
  5462. type: string
  5463. isvalid:
  5464. description: 是否有效 0-无效(停用) 1-有效(正常)
  5465. type: integer
  5466. minivalue:
  5467. description: 最小变动值
  5468. type: integer
  5469. minivaluedp:
  5470. description: 最小变动值小数位
  5471. type: integer
  5472. realminivalue:
  5473. description: 实际最小变动值
  5474. type: integer
  5475. realminivaluedp:
  5476. description: 实际最小变动值小数位
  5477. type: integer
  5478. remark:
  5479. description: 备注
  5480. type: string
  5481. unitid:
  5482. description: 品类单位ID
  5483. type: integer
  5484. updatetime:
  5485. description: 更新时间
  5486. type: string
  5487. wrstandardcode:
  5488. description: 品类代码
  5489. type: string
  5490. wrstandardid:
  5491. description: 品类ID(SEQ_WRSTANDARD)
  5492. type: integer
  5493. wrstandardname:
  5494. description: 品类名称
  5495. type: string
  5496. type: object
  5497. models.ErmcpAreaSpotDetailModel:
  5498. properties:
  5499. contracttype:
  5500. description: 合同类型 1-采购 -1-销售
  5501. type: integer
  5502. createtime:
  5503. description: 创建时间
  5504. type: string
  5505. enumdicname:
  5506. description: 现货商品单位名称
  5507. type: string
  5508. logtype:
  5509. description: 记录类型 1-套保 2-现货合同
  5510. type: integer
  5511. qty:
  5512. description: 数量
  5513. type: number
  5514. recordname:
  5515. description: 类型名称
  5516. type: string
  5517. relatedid:
  5518. description: 套保计划ID/现货合同ID
  5519. type: string
  5520. relatedno:
  5521. description: 编号
  5522. type: string
  5523. strtime:
  5524. description: 时间
  5525. type: string
  5526. wrstandardcode:
  5527. description: 现货商品代码
  5528. type: string
  5529. wrstandardname:
  5530. description: 现货商品名称
  5531. type: string
  5532. type: object
  5533. models.ErmcpAvalidGoodsGroupModel:
  5534. properties:
  5535. goodsgroupid:
  5536. description: 期货品种id
  5537. type: integer
  5538. goodsgroupname:
  5539. description: 期货品种名称
  5540. type: string
  5541. goodunitid:
  5542. description: 品种单位id
  5543. type: integer
  5544. goodunitname:
  5545. description: 品种单位名称
  5546. type: string
  5547. outergroupcode:
  5548. description: 期货品种代码
  5549. type: string
  5550. type: object
  5551. models.ErmcpBizGroupEx:
  5552. properties:
  5553. acclist:
  5554. description: 账号列表
  5555. items:
  5556. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5557. type: array
  5558. bizgroupid:
  5559. description: 业务分组id
  5560. type: integer
  5561. biztype:
  5562. description: 业务类型 1-套保 2-套利
  5563. type: integer
  5564. wrlist:
  5565. description: 现货商品表
  5566. items:
  5567. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5568. type: array
  5569. type: object
  5570. models.ErmcpBizGroupSpotGoods:
  5571. properties:
  5572. areauserid:
  5573. description: 所属机构id
  5574. type: integer
  5575. bizgroupid:
  5576. description: 分组id
  5577. type: integer
  5578. biztype:
  5579. description: 业务类型 1-套保 2-套利
  5580. type: integer
  5581. deliverygoodscode:
  5582. description: 现货商品代码
  5583. type: string
  5584. deliverygoodsid:
  5585. description: 现货商品id
  5586. type: integer
  5587. deliverygoodsname:
  5588. description: 现货商品名称
  5589. type: string
  5590. unitid:
  5591. description: 现货商品单位id
  5592. type: integer
  5593. type: object
  5594. models.ErmcpBizGroupTaAccount:
  5595. properties:
  5596. accountid:
  5597. description: 账号id
  5598. type: integer
  5599. accountname:
  5600. description: 账号名称
  5601. type: string
  5602. areauserid:
  5603. description: 所属机构id
  5604. type: integer
  5605. bizgroupid:
  5606. description: 业务分组id
  5607. type: integer
  5608. ismain:
  5609. description: 是否主账号 1-是 0-否
  5610. type: integer
  5611. type: object
  5612. models.ErmcpDGFactoryItem:
  5613. properties:
  5614. areauserid:
  5615. description: 用户id
  5616. type: integer
  5617. deliverygoodsid:
  5618. description: 现货品种ID
  5619. type: integer
  5620. dgfactoryitemid:
  5621. description: 选择项ID(SEQ_DGFACTORYITEM)
  5622. type: integer
  5623. dgfactoryitemtypeid:
  5624. description: 要素项类型
  5625. type: integer
  5626. dgfactoryitemvalue:
  5627. description: 要素项值(类型为仓库时填写仓库名称)
  5628. type: string
  5629. isvalid:
  5630. description: 是否有效 - 0:无效 1:有效
  5631. type: integer
  5632. orderindex:
  5633. description: 顺序
  5634. type: integer
  5635. warehouseid:
  5636. description: 仓库ID(类型为仓库时填写)
  5637. type: integer
  5638. type: object
  5639. models.ErmcpDeliveryGoods:
  5640. properties:
  5641. agreeunit:
  5642. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5643. type: integer
  5644. areauserid:
  5645. description: 所属机构
  5646. type: integer
  5647. auditflag:
  5648. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5649. type: integer
  5650. categoryid:
  5651. description: 类别ID(SEQ_WRCATEGORY)
  5652. type: integer
  5653. deliverygoodscode:
  5654. description: 现货品种代码
  5655. type: string
  5656. deliverygoodsid:
  5657. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5658. type: integer
  5659. deliverygoodsname:
  5660. description: 现货品种名称
  5661. type: string
  5662. deliverygoodstype:
  5663. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5664. type: integer
  5665. dgstatus:
  5666. description: 品种状态 - 作废 - 0:未激活 1:正常
  5667. type: integer
  5668. enumdicname:
  5669. description: 现货品种单位名称
  5670. type: string
  5671. goodsunitid:
  5672. description: 现货品种单位ID
  5673. type: integer
  5674. isvalid:
  5675. description: 是否有效 - 0:无效 1:有效
  5676. type: integer
  5677. qtydecimalplace:
  5678. description: 成交量小数位
  5679. type: integer
  5680. remark:
  5681. description: 备注
  5682. type: string
  5683. standardqty:
  5684. description: 标准数量(库位数量) [标准品特有]
  5685. type: integer
  5686. standardqtyrange:
  5687. description: 标准数量偏差范围 [标准品特有]
  5688. type: integer
  5689. type: object
  5690. models.ErmcpDeliveryGoodsDetail2:
  5691. properties:
  5692. convertratio:
  5693. description: 套保系数(折算系数)
  5694. type: number
  5695. data:
  5696. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5697. description: 现货商品基本信息(交割品种)
  5698. type: object
  5699. gblist:
  5700. description: 品牌列表
  5701. items:
  5702. $ref: '#/definitions/models.Ermcp3Brand'
  5703. type: array
  5704. gmlist:
  5705. description: 品类列表(仓单标准)
  5706. items:
  5707. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5708. type: array
  5709. type: object
  5710. models.ErmcpDeliveryGoodsDetailEx:
  5711. properties:
  5712. data:
  5713. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5714. description: 现货商品基本信息(交割品种)
  5715. type: object
  5716. gblist:
  5717. description: 品牌列表
  5718. items:
  5719. $ref: '#/definitions/models.Ermcp3Brand'
  5720. type: array
  5721. gmlist:
  5722. description: 品类列表(仓单标准)
  5723. items:
  5724. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5725. type: array
  5726. mgList:
  5727. description: 套保列表
  5728. items:
  5729. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5730. type: array
  5731. type: object
  5732. models.ErmcpExposureDetailModel:
  5733. properties:
  5734. areauserid:
  5735. description: 机构ID
  5736. type: integer
  5737. changeQty:
  5738. description: 套保变动量
  5739. type: number
  5740. contracttype:
  5741. description: 现货合同类型 - 1:采购 -1:销售
  5742. type: integer
  5743. convertfactor:
  5744. description: 标仓系数
  5745. type: number
  5746. convertratio:
  5747. description: 套保系数
  5748. type: number
  5749. createtime:
  5750. description: 时间
  5751. type: string
  5752. enumdicname:
  5753. description: 现货商品单位名称
  5754. type: string
  5755. logtype:
  5756. description: 类型 - 1:套保计划 2:现货合同
  5757. type: integer
  5758. middlegoodsId:
  5759. description: 套保商品id
  5760. type: integer
  5761. middlegoodscode:
  5762. description: 套保商品代码
  5763. type: string
  5764. middlegoodsname:
  5765. description: 套保商品名称
  5766. type: string
  5767. qty:
  5768. description: 数量
  5769. type: number
  5770. relateNo:
  5771. description: 现货合同/套保计划编号
  5772. type: string
  5773. wrstandardcode:
  5774. description: 现货商品代码
  5775. type: string
  5776. wrstandardid:
  5777. description: 现货商品ID
  5778. type: integer
  5779. wrstandardname:
  5780. description: 现货商品名称
  5781. type: string
  5782. type: object
  5783. models.ErmcpExposurePostion:
  5784. properties:
  5785. agreeunit:
  5786. description: 合约单位
  5787. type: string
  5788. areauserid:
  5789. description: 所属机构id
  5790. type: integer
  5791. convertratio:
  5792. description: 期货品种系数(折算系数)
  5793. type: number
  5794. curqty:
  5795. description: 当前持仓
  5796. type: integer
  5797. diffhedgeqty:
  5798. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5799. type: number
  5800. diffqty:
  5801. description: 持仓变动量=当前持仓-昨日持仓
  5802. type: integer
  5803. goodscode:
  5804. description: 商品代码
  5805. type: string
  5806. goodsid:
  5807. description: 商品id
  5808. type: integer
  5809. goodsname:
  5810. description: 商品名称
  5811. type: string
  5812. middlegoodsid:
  5813. description: 套保商品id
  5814. type: integer
  5815. ydqty:
  5816. description: 昨日持仓
  5817. type: integer
  5818. type: object
  5819. models.ErmcpFuturesCompany:
  5820. properties:
  5821. brokerid:
  5822. description: 经纪公司代码
  5823. type: string
  5824. channeladdress:
  5825. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5826. type: string
  5827. channelid:
  5828. description: 对冲渠道ID
  5829. type: string
  5830. createtime:
  5831. description: 创建时间
  5832. type: string
  5833. creatorid:
  5834. description: 创建人
  5835. type: string
  5836. fcid:
  5837. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5838. type: integer
  5839. fcname:
  5840. description: 期货公司名称
  5841. type: string
  5842. isvalid:
  5843. description: 是否有效 - 0:无效 1:有效
  5844. type: integer
  5845. mhpaddress:
  5846. description: MHP服务地址(IP:Port)
  5847. type: string
  5848. riskrulegroupid:
  5849. description: 风控规则组ID
  5850. type: string
  5851. tradefeetmpid:
  5852. description: 手续费模板ID[TradeConfigTmpType为2]
  5853. type: string
  5854. trademargintmpid:
  5855. description: 保证金模板ID [TradeConfigTmpType为1]
  5856. type: string
  5857. traderatetmpid:
  5858. description: 汇率模板ID[TradeConfigTmpType为3]
  5859. type: string
  5860. updatetime:
  5861. description: 更新时间
  5862. type: string
  5863. updatorid:
  5864. description: 更新人
  5865. type: string
  5866. type: object
  5867. models.ErmcpGGConvertCfg:
  5868. properties:
  5869. convertratio:
  5870. description: 折算系数
  5871. type: number
  5872. destgoodsgroupid:
  5873. description: 目标品种ID
  5874. type: integer
  5875. dstcode:
  5876. description: 目录品种代码
  5877. type: string
  5878. dstexchangecode:
  5879. description: 目标期货交易所
  5880. type: string
  5881. dstname:
  5882. description: 目标品种名称
  5883. type: string
  5884. dstunitid:
  5885. description: 目标品种单位ID
  5886. type: integer
  5887. dstunitidname:
  5888. description: 目标品种单位名称
  5889. type: string
  5890. modifytime:
  5891. description: 修改时间
  5892. type: string
  5893. srccode:
  5894. description: 源品种代码
  5895. type: string
  5896. srcexchangecode:
  5897. description: 源期货交易所
  5898. type: string
  5899. srcgoodsgroupid:
  5900. description: 源品种ID
  5901. type: integer
  5902. srcname:
  5903. description: 源品种名称
  5904. type: string
  5905. srcunitid:
  5906. description: 源品种单位ID
  5907. type: integer
  5908. srcunitidname:
  5909. description: 源品种单位名称
  5910. type: string
  5911. type: object
  5912. models.ErmcpGoods:
  5913. properties:
  5914. agreeunit:
  5915. description: 合约单位
  5916. type: number
  5917. areauserid:
  5918. description: 所属机构
  5919. type: integer
  5920. auditaccountid:
  5921. description: 审核操作员账号
  5922. type: integer
  5923. audittime:
  5924. description: 审核时间
  5925. type: string
  5926. cancelaccountid:
  5927. description: 注销操作员账号
  5928. type: integer
  5929. canceltime:
  5930. description: 注销时间
  5931. type: string
  5932. closepricemode:
  5933. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5934. type: integer
  5935. closepriceparam:
  5936. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5937. type: number
  5938. createtime:
  5939. description: 创建时间
  5940. type: string
  5941. creatorid:
  5942. description: 创建人
  5943. type: integer
  5944. currencyid:
  5945. description: 报价货币ID
  5946. type: integer
  5947. cutmode:
  5948. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5949. type: integer
  5950. decimalplace:
  5951. description: 报价小数位
  5952. type: integer
  5953. delistingdate:
  5954. description: 商品退市时间(状态:退市) -- 已作废
  5955. type: string
  5956. delistingmode:
  5957. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5958. type: integer
  5959. deliveryflag:
  5960. description: 交割标志 - 0:不可交割 1:可交割
  5961. type: integer
  5962. enumdicname:
  5963. description: 单位名称
  5964. type: string
  5965. forceclosemode:
  5966. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5967. type: integer
  5968. forceclosevalue:
  5969. description: 定期强平参数 [收益权]
  5970. type: integer
  5971. goodscode:
  5972. description: 商品代码(内部)
  5973. type: string
  5974. goodscurrencyid:
  5975. description: 合约货币ID
  5976. type: integer
  5977. goodsgroupid:
  5978. description: 所属商品组ID
  5979. type: integer
  5980. goodsid:
  5981. description: 商品ID(自增ID SEQ_GOODS)
  5982. type: integer
  5983. goodsname:
  5984. description: 商品名称
  5985. type: string
  5986. goodsquotetype:
  5987. description: '合约报价类型: 1-直接报价 2-间接报价'
  5988. type: integer
  5989. goodsstatus:
  5990. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5991. type: integer
  5992. goodstradetype:
  5993. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5994. type: integer
  5995. goodunitid:
  5996. description: 报价单位ID
  5997. type: integer
  5998. hasquoter:
  5999. description: 是否有报价商 - 0:无报价商 1:有报价商
  6000. type: integer
  6001. hqprotecttime:
  6002. description: 行情保护时间(秒)
  6003. type: integer
  6004. innerdealmode:
  6005. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6006. type: integer
  6007. isbuylimited:
  6008. description: 是否限制建仓量 - 0:不限制 1:限制
  6009. type: integer
  6010. isvisible:
  6011. description: 游客是否可见 - 0:不可见 1:可见
  6012. type: integer
  6013. lasttradedate:
  6014. description: 最后交易日期(状态:待退市)
  6015. type: string
  6016. listingdate:
  6017. description: 交易开始日期
  6018. type: string
  6019. marketid:
  6020. description: 所属市场ID
  6021. type: integer
  6022. modifierid:
  6023. description: 修改人
  6024. type: integer
  6025. modifystatus:
  6026. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6027. type: integer
  6028. modifytime:
  6029. description: 修改时间
  6030. type: string
  6031. outerdealmode:
  6032. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6033. type: integer
  6034. outgoodscode:
  6035. description: 商品代码(外部)
  6036. type: string
  6037. pictureurl:
  6038. description: 商品图片
  6039. type: string
  6040. qtydecimalplace:
  6041. description: 成交量小数位
  6042. type: integer
  6043. quotegear:
  6044. description: 行情档位(1-10)
  6045. type: integer
  6046. quoteminunit:
  6047. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6048. type: integer
  6049. quoteshowtype:
  6050. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6051. type: integer
  6052. quoteshowtypeinterval:
  6053. description: 行情报价间隔时间(秒)(成交价时为0)
  6054. type: integer
  6055. relatedgoodsid:
  6056. description: 关联参考商品ID
  6057. type: integer
  6058. remark:
  6059. description: 备注
  6060. type: string
  6061. trademode:
  6062. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6063. 21:竞拍-大宗式 22:受托竞价
  6064. type: integer
  6065. required:
  6066. - goodscode
  6067. - goodsid
  6068. - goodsname
  6069. - marketid
  6070. type: object
  6071. models.ErmcpGoodsBrand:
  6072. properties:
  6073. areauserid:
  6074. description: 所属机构
  6075. type: integer
  6076. brandid:
  6077. description: BrandID(SEQ_SPOTGOODSBRAND)
  6078. type: integer
  6079. brandname:
  6080. description: 品牌名称
  6081. type: string
  6082. createtime:
  6083. description: 创建时间
  6084. type: string
  6085. creatorid:
  6086. description: 创建人
  6087. type: integer
  6088. creatorsrc:
  6089. description: 创建人来源 - 1:管理端 2:终端
  6090. type: integer
  6091. deliverygoodsid:
  6092. description: 现货品种ID
  6093. type: integer
  6094. isvalid:
  6095. description: 是否有效 - 0:无效 1:有效
  6096. type: integer
  6097. updatetime:
  6098. description: 更新时间
  6099. type: string
  6100. updatorid:
  6101. description: 更新人
  6102. type: integer
  6103. updatorsrc:
  6104. description: 更新人来源 - 1:管理端 2:终端
  6105. type: integer
  6106. wrstandardid:
  6107. description: 现货商品ID
  6108. type: integer
  6109. type: object
  6110. models.ErmcpGoodsModel:
  6111. properties:
  6112. areauserid:
  6113. description: 所属机构
  6114. type: integer
  6115. convertfactor:
  6116. description: 标仓系数
  6117. type: number
  6118. createtime:
  6119. description: 创建时间
  6120. type: string
  6121. creatorid:
  6122. description: 创建人
  6123. type: integer
  6124. creatorsrc:
  6125. description: 创建人来源 - 1:管理端 2:终端
  6126. type: integer
  6127. deliverygoodsid:
  6128. description: 现货品种ID
  6129. type: integer
  6130. isvalid:
  6131. description: 是否有效 - 0:无效 1:有效
  6132. type: integer
  6133. modelid:
  6134. description: ModelID(SEQ_SPOTGOODSMODEL)
  6135. type: integer
  6136. modelname:
  6137. description: 型号名称
  6138. type: string
  6139. updatetime:
  6140. description: 更新时间
  6141. type: string
  6142. updatorid:
  6143. description: 更新人
  6144. type: integer
  6145. updatorsrc:
  6146. description: 更新人来源 - 1:管理端 2:终端
  6147. type: integer
  6148. wrstandardid:
  6149. description: 现货商品ID
  6150. type: integer
  6151. type: object
  6152. models.ErmcpHedgePosition:
  6153. properties:
  6154. accountid:
  6155. description: 资金账号[外部母账户]
  6156. type: integer
  6157. curbuyposition:
  6158. description: 期末买头寸
  6159. type: integer
  6160. cursellposition:
  6161. description: 期末卖头寸
  6162. type: integer
  6163. curtdbuyposition:
  6164. description: 期末今日买头寸
  6165. type: integer
  6166. curtdsellposition:
  6167. description: 期末今日卖头寸
  6168. type: integer
  6169. curydbuyposition:
  6170. description: 期末上日买头寸
  6171. type: integer
  6172. curydsellposition:
  6173. description: 期末上日卖头寸
  6174. type: integer
  6175. decreaseqty:
  6176. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6177. type: integer
  6178. fretdbuyposition:
  6179. description: 冻结今日买头寸
  6180. type: integer
  6181. fretdsellposition:
  6182. description: 冻结今日卖头寸
  6183. type: integer
  6184. freydbuyposition:
  6185. description: 冻结上日买头寸
  6186. type: integer
  6187. freydsellposition:
  6188. description: 冻结上日卖头寸
  6189. type: integer
  6190. goodscode:
  6191. description: 商品代码
  6192. type: string
  6193. goodsid:
  6194. description: 商品id
  6195. type: integer
  6196. goodsname:
  6197. description: 商品名称
  6198. type: string
  6199. hedgeaccountcode:
  6200. description: 对冲账号
  6201. type: string
  6202. hedgegoodsid:
  6203. description: 对冲合约ID
  6204. type: integer
  6205. increaseqty:
  6206. description: 增加数量 = 期末买头寸 - 期初买头寸
  6207. type: integer
  6208. marketid:
  6209. description: 市场ID
  6210. type: integer
  6211. relateduserid:
  6212. description: 关联用户id
  6213. type: integer
  6214. totalcurqty:
  6215. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6216. type: integer
  6217. totalydqty:
  6218. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6219. type: integer
  6220. tradedate:
  6221. description: 交易日(yyyyMMdd)
  6222. type: string
  6223. ydbuyposition:
  6224. description: 期初买头寸
  6225. type: integer
  6226. ydsellposition:
  6227. description: 期初卖头寸
  6228. type: integer
  6229. type: object
  6230. models.ErmcpHedgePositionDetail:
  6231. properties:
  6232. buyorsell:
  6233. description: 买卖方向 0-买 1-卖
  6234. type: integer
  6235. channelbuildtype:
  6236. description: 开平方向 1-建仓 2-平仓
  6237. type: integer
  6238. goodscode:
  6239. description: 商品代码
  6240. type: string
  6241. goodsname:
  6242. description: 商品名称
  6243. type: string
  6244. hedgegoodsid:
  6245. description: 商品id
  6246. type: integer
  6247. tradeqty:
  6248. description: 数量(成交数量)
  6249. type: integer
  6250. tradetime:
  6251. description: 时间(成交时间)
  6252. type: string
  6253. type: object
  6254. models.ErmcpHisExposure:
  6255. properties:
  6256. needhedgeexposoure:
  6257. description: 应套保敞口
  6258. type: number
  6259. reckondate:
  6260. description: 日照时期(yyyyMMdd)
  6261. type: string
  6262. totalexposure:
  6263. description: 总敞口
  6264. type: number
  6265. type: object
  6266. models.ErmcpHisExposureS:
  6267. properties:
  6268. data:
  6269. description: 历史敞口
  6270. items:
  6271. $ref: '#/definitions/models.ErmcpHisExposure'
  6272. type: array
  6273. enumdicname:
  6274. description: 单位名称
  6275. type: string
  6276. middlegoodscode:
  6277. description: 套保品种代码
  6278. type: string
  6279. middlegoodsid:
  6280. description: 套保品种ID
  6281. type: integer
  6282. middlegoodsname:
  6283. description: 套保品种名称
  6284. type: string
  6285. type: object
  6286. models.ErmcpLoginTaAccount:
  6287. properties:
  6288. accountid:
  6289. description: 账号id
  6290. type: integer
  6291. accountname:
  6292. description: 账号名称
  6293. type: string
  6294. type: object
  6295. models.ErmcpLoginUser:
  6296. properties:
  6297. acclist:
  6298. description: 关联资金账号
  6299. items:
  6300. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6301. type: array
  6302. accountname:
  6303. description: 用户名称
  6304. type: string
  6305. clientroleid:
  6306. description: 角色id(usertype=2)
  6307. type: integer
  6308. createtime:
  6309. description: 创建时间
  6310. type: string
  6311. logincode:
  6312. description: 登录代码
  6313. type: string
  6314. loginid:
  6315. description: 登录id(LOGINID)
  6316. type: integer
  6317. loginname:
  6318. description: 登录名称(loginaccount表中的accountname字段)
  6319. type: string
  6320. loginstatus:
  6321. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6322. type: integer
  6323. memberuserid:
  6324. description: 所属会员id
  6325. type: integer
  6326. mobile:
  6327. description: 手机号
  6328. type: string
  6329. modifytime:
  6330. description: 修改时间
  6331. type: string
  6332. password:
  6333. description: 密码(不可解密)
  6334. type: string
  6335. rolename:
  6336. description: 角色名称
  6337. type: string
  6338. rolestatus:
  6339. description: 角色状态 1-启用 2-停用
  6340. type: integer
  6341. roletype:
  6342. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6343. type: string
  6344. userid:
  6345. description: 用户id
  6346. type: integer
  6347. usertype:
  6348. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6349. type: integer
  6350. type: object
  6351. models.ErmcpLoginUserEx:
  6352. properties:
  6353. accountstatus:
  6354. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6355. type: integer
  6356. mobile:
  6357. description: 手机号
  6358. type: string
  6359. querytype:
  6360. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6361. type: integer
  6362. roleid:
  6363. description: 角色id(交易账户->用户id)
  6364. type: integer
  6365. rolename:
  6366. description: 角色名称(交易账户->用户名称)
  6367. type: string
  6368. userlist:
  6369. description: 用户列表
  6370. items:
  6371. $ref: '#/definitions/models.ErmcpLoginUser'
  6372. type: array
  6373. usertype:
  6374. description: 用户类型 2-机构 7-企业成员(云平台)
  6375. type: integer
  6376. type: object
  6377. models.ErmcpMiddleGoodsChangeLog:
  6378. properties:
  6379. aftervalue:
  6380. description: 变更后
  6381. type: number
  6382. applyid:
  6383. description: 操作人
  6384. type: integer
  6385. applyname:
  6386. description: 操作人名称
  6387. type: string
  6388. applysrc:
  6389. description: 操作来源 - 1:管理端 2:终端
  6390. type: integer
  6391. beforevalue:
  6392. description: 变更前
  6393. type: number
  6394. changelogtype:
  6395. description: 变更流水类型 - 1:套保比率变更
  6396. type: integer
  6397. handlestatus:
  6398. description: 处理状态
  6399. type: integer
  6400. logdatetime:
  6401. description: 流水日期
  6402. type: string
  6403. logid:
  6404. description: 流水ID
  6405. type: integer
  6406. logremark:
  6407. description: 流水备注
  6408. type: string
  6409. middlegoodsid:
  6410. description: 套保品种ID
  6411. type: integer
  6412. tradedate:
  6413. description: 交易日(yyyyMMdd)
  6414. type: string
  6415. updatetime:
  6416. description: 更新时间
  6417. type: string
  6418. type: object
  6419. models.ErmcpMiddleGoodsDetail:
  6420. properties:
  6421. cvList:
  6422. description: 期货品种折算列表
  6423. items:
  6424. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6425. type: array
  6426. mg:
  6427. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6428. description: 套保品种基本信息
  6429. type: object
  6430. wrcList:
  6431. description: 现货品种列表(现货商品折算配置)
  6432. items:
  6433. $ref: '#/definitions/models.WRSConverTDetail'
  6434. type: array
  6435. type: object
  6436. models.ErmcpMiddleGoodsModel:
  6437. properties:
  6438. areauserid:
  6439. description: 机构用户ID
  6440. type: integer
  6441. createtime:
  6442. description: 修改时间
  6443. type: string
  6444. enumdicname:
  6445. description: 单位名称
  6446. type: string
  6447. evaluateratio:
  6448. description: 估价系数
  6449. type: number
  6450. goodsgroupid:
  6451. description: 关联期货品种ID
  6452. type: integer
  6453. goodsunitid:
  6454. description: 单位ID
  6455. type: integer
  6456. isvalid:
  6457. description: 状态 0-无效(停用) 1-有效(正常)
  6458. type: integer
  6459. middlegoodscode:
  6460. description: 套保品种代码
  6461. type: string
  6462. middlegoodsid:
  6463. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6464. type: integer
  6465. middlegoodsname:
  6466. description: 套保品种名称
  6467. type: string
  6468. modifytime:
  6469. description: 修改时间
  6470. type: string
  6471. needarbitrageratio:
  6472. description: 套利比例
  6473. type: number
  6474. needhedgeratio:
  6475. description: 套保比率
  6476. type: number
  6477. qtydecimalplace:
  6478. description: 数量小数位
  6479. type: integer
  6480. relatedgoodsid:
  6481. description: 关联交易商品ID
  6482. type: integer
  6483. relatedgoodstype:
  6484. description: 关联商品类型 - 1:期货合约 2:现货品种
  6485. type: integer
  6486. remark:
  6487. description: 备注
  6488. type: string
  6489. type: object
  6490. models.ErmcpMiddlegoodsRelateGoods:
  6491. properties:
  6492. agreeunit:
  6493. description: 合约乘数
  6494. type: number
  6495. convertratio:
  6496. description: 折算系数
  6497. type: number
  6498. enumdicname:
  6499. description: 单位名称(交易商品)
  6500. type: string
  6501. goodscode:
  6502. description: 交易商品代码
  6503. type: string
  6504. goodsgroupid:
  6505. description: 交易品种id
  6506. type: integer
  6507. goodsid:
  6508. description: 商品Id
  6509. type: integer
  6510. goodsname:
  6511. description: 交易商品名称
  6512. type: string
  6513. goodunitid:
  6514. description: 交易商品单位id
  6515. type: integer
  6516. middlegoodsid:
  6517. description: 套保商品id
  6518. type: integer
  6519. middlegoodsname:
  6520. description: 套保商品名称
  6521. type: string
  6522. middlegoodsswcode:
  6523. description: 套保商品代码
  6524. type: string
  6525. needarbitrageratio:
  6526. description: 应套利比例
  6527. type: number
  6528. needhedgeratio:
  6529. description: 应套保比例
  6530. type: number
  6531. type: object
  6532. models.ErmcpOPLogModel:
  6533. properties:
  6534. aftervalue:
  6535. description: 变更后
  6536. type: number
  6537. applyid:
  6538. description: 操作人ID
  6539. type: string
  6540. applyname:
  6541. description: 操作人名称
  6542. type: string
  6543. beforevalue:
  6544. description: 变更前
  6545. type: number
  6546. biztype:
  6547. description: 业务类型 - 1:套保计划 2:现货合同
  6548. type: integer
  6549. contracttype:
  6550. description: 现货合同类型 - 1:采购 -1:销售
  6551. type: integer
  6552. logvalue:
  6553. description: 数值
  6554. type: number
  6555. operatelogtype:
  6556. description: 操作流水类型
  6557. type: integer
  6558. operatelogtypedesc:
  6559. description: 操作流水类型名称
  6560. type: string
  6561. relatedid:
  6562. description: 现货合同ID\套保计划
  6563. type: string
  6564. updatetime:
  6565. description: 更新时间
  6566. type: string
  6567. type: object
  6568. models.ErmcpPendingAudit:
  6569. properties:
  6570. areastockqty:
  6571. description: '待审核数量: 库存申请'
  6572. type: integer
  6573. businessdjqty:
  6574. description: '待审核数量: 点价'
  6575. type: integer
  6576. businessfpqty:
  6577. description: '待审核数量: 发票'
  6578. type: integer
  6579. businessjsqty:
  6580. description: '待审核数量: 结算'
  6581. type: integer
  6582. businesskxqty:
  6583. description: '待审核数量: 款项'
  6584. type: integer
  6585. hedgeplanqty:
  6586. description: '待审核数量: 套保计划'
  6587. type: integer
  6588. spotcontractqty:
  6589. description: '待审核数量: 现货合同'
  6590. type: integer
  6591. userqty:
  6592. description: '待审核数量: 用户'
  6593. type: integer
  6594. type: object
  6595. models.ErmcpRealExposureModel:
  6596. properties:
  6597. AreaUserID:
  6598. description: 所属机构
  6599. type: integer
  6600. BuyFutureQty:
  6601. description: 买入期货数量
  6602. type: number
  6603. BuyPlanQty:
  6604. description: 采购计划数量
  6605. type: number
  6606. BuyPricedQty:
  6607. description: 采购合同已定价数量
  6608. type: number
  6609. MiddleGoodsCode:
  6610. description: 套保品种代码
  6611. type: string
  6612. MiddleGoodsHedgeRatio:
  6613. description: 套保比例
  6614. type: number
  6615. MiddleGoodsID:
  6616. description: 套保品种
  6617. type: integer
  6618. MiddleGoodsName:
  6619. description: 套保品种名称
  6620. type: string
  6621. NeedHedgeExposoure:
  6622. description: 应套保敞口(套保敞口)
  6623. type: number
  6624. NeedHedgeRatio:
  6625. description: 应套保敞口比例
  6626. type: number
  6627. OriBuyFutureQty:
  6628. description: 期初买入期货数量
  6629. type: number
  6630. OriBuyPlanQty:
  6631. description: 期初采购计划数量
  6632. type: number
  6633. OriBuyPricedQty:
  6634. description: 期初采购合同已定价数量
  6635. type: number
  6636. OriSellFutureQty:
  6637. description: 期初卖出期货数量
  6638. type: number
  6639. OriSellPlanQty:
  6640. description: 期初销售计划数量
  6641. type: number
  6642. OriSellPricedQty:
  6643. description: 期初销售合同已定价数量
  6644. type: number
  6645. SellFutureQty:
  6646. description: 卖出期货数量
  6647. type: number
  6648. SellPlanQty:
  6649. description: 销售计划数量
  6650. type: number
  6651. SellPricedQty:
  6652. description: 销售合同已定价数量
  6653. type: number
  6654. TotalExposure:
  6655. description: 总敞口
  6656. type: number
  6657. TotalFutureQty:
  6658. description: 期货总量
  6659. type: number
  6660. TotalHedgeRatio:
  6661. description: 敞口比例
  6662. type: number
  6663. TotalNeedHedgeQty:
  6664. description: 应套保总量(现货应套保总量)
  6665. type: number
  6666. TotalSpotQty:
  6667. description: 现货总量
  6668. type: number
  6669. arbitrageqty:
  6670. description: 套利量
  6671. type: number
  6672. diffArbitrageQty:
  6673. description: 套利变动量
  6674. type: number
  6675. diffExposoureQty:
  6676. description: 变动量(套保敞口)
  6677. type: number
  6678. diffFutuQty:
  6679. description: 变动量(期货总量)
  6680. type: number
  6681. diffHedgeQty:
  6682. description: 套保变动量
  6683. type: number
  6684. diffQty:
  6685. description: 变动量(总敞口)
  6686. type: number
  6687. diffSpotHedgeQty:
  6688. description: 变动量(现货应套保总量)
  6689. type: number
  6690. diffSpotQty:
  6691. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6692. type: number
  6693. enumdicname:
  6694. description: 单位名称
  6695. type: string
  6696. hedgeqty:
  6697. description: 套保量
  6698. type: number
  6699. needarbitrageqty:
  6700. description: 应套利量
  6701. type: number
  6702. needarbitrageratio:
  6703. description: 套利比例
  6704. type: number
  6705. needhedgeqty:
  6706. description: 应套保量
  6707. type: number
  6708. oriTotalFutuQty:
  6709. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6710. type: number
  6711. oriTotalSpotQty:
  6712. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6713. type: number
  6714. oriarbitrageqty:
  6715. description: 期初套利量
  6716. type: number
  6717. orihedgeqty:
  6718. description: 期初套保量
  6719. type: number
  6720. orineedhedgeexposoure:
  6721. description: 期初套保敞口
  6722. type: number
  6723. oritotalexposure:
  6724. description: 期初总敞口
  6725. type: number
  6726. oritotalfutureqty:
  6727. description: 期初期货总量
  6728. type: number
  6729. oritotalneedhedgeqty:
  6730. description: 期初现货应套保量
  6731. type: number
  6732. type: object
  6733. models.ErmcpRole:
  6734. properties:
  6735. areauserid:
  6736. description: 所属机构
  6737. type: integer
  6738. autoid:
  6739. description: 角色ID(自增ID)
  6740. type: integer
  6741. modifierid:
  6742. description: 修改人(创建人)
  6743. type: integer
  6744. modifiername:
  6745. description: 修改人名称
  6746. type: string
  6747. modifytime:
  6748. description: 修改时间(创建时间)
  6749. type: string
  6750. rolename:
  6751. description: 角色名称
  6752. type: string
  6753. rolestatus:
  6754. description: 角色状态 - 1:启用 2:停用
  6755. type: integer
  6756. roletype:
  6757. description: 角色类型 - 1- 管理端 2- 交易端
  6758. type: integer
  6759. type: object
  6760. models.ErmcpRoleMenu:
  6761. properties:
  6762. iconame:
  6763. description: 菜单图标
  6764. type: string
  6765. ishadrole:
  6766. description: 是否有权限
  6767. type: boolean
  6768. menutype:
  6769. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6770. type: integer
  6771. parentcode:
  6772. description: 上级资源代码
  6773. type: string
  6774. remark:
  6775. description: 菜单备注
  6776. type: string
  6777. resourcecode:
  6778. description: 菜单代码
  6779. type: string
  6780. resourcelevel:
  6781. description: 级别
  6782. type: integer
  6783. resourcename:
  6784. description: 菜单名称
  6785. type: string
  6786. roleid:
  6787. description: 角色id
  6788. type: integer
  6789. sort:
  6790. description: 排序
  6791. type: integer
  6792. url:
  6793. description: URL
  6794. type: string
  6795. userid:
  6796. description: 用户id
  6797. type: integer
  6798. type: object
  6799. models.ErmcpRoleMenuEx:
  6800. properties:
  6801. menu:
  6802. $ref: '#/definitions/models.ErmcpRoleMenu'
  6803. description: 父级菜单
  6804. type: object
  6805. subMenu:
  6806. description: 子级菜单
  6807. items:
  6808. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6809. type: array
  6810. type: object
  6811. models.ErmcpTaAccount:
  6812. properties:
  6813. accountid:
  6814. description: 账户id
  6815. type: integer
  6816. accountname:
  6817. description: 账户名称
  6818. type: string
  6819. currencyid:
  6820. description: 币种id
  6821. type: integer
  6822. hedgeaccountcode:
  6823. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6824. type: string
  6825. ismain:
  6826. description: 是否主账户 0-否 1-是
  6827. type: integer
  6828. parentaccountid:
  6829. description: 父账户id
  6830. type: integer
  6831. relateduserid:
  6832. description: 关联userid
  6833. type: integer
  6834. tradefeetmpid:
  6835. description: 手续费模板id
  6836. type: integer
  6837. tradefeetmpname:
  6838. description: 手续费模板名称
  6839. type: string
  6840. trademargintmpid:
  6841. description: 保证金模板id
  6842. type: integer
  6843. trademargintmpname:
  6844. description: 保证金模板名称
  6845. type: string
  6846. traderatetmpid:
  6847. description: 汇率模板id
  6848. type: integer
  6849. traderatetmpname:
  6850. description: 汇率模板名称
  6851. type: string
  6852. tradestatus:
  6853. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6854. type: integer
  6855. userid:
  6856. description: 用户id
  6857. type: integer
  6858. type: object
  6859. models.ErmcpTaAccountEx:
  6860. properties:
  6861. mainAcc:
  6862. $ref: '#/definitions/models.ErmcpTaAccountM'
  6863. description: 主账号
  6864. type: object
  6865. subacclist:
  6866. description: 子账号列表
  6867. items:
  6868. $ref: '#/definitions/models.ErmcpTaAccount'
  6869. type: array
  6870. type: object
  6871. models.ErmcpTaAccountInfo:
  6872. properties:
  6873. accountid:
  6874. description: 资金账户ID
  6875. type: integer
  6876. accountname:
  6877. description: 账户名称
  6878. type: string
  6879. balance:
  6880. description: 期初余额
  6881. type: number
  6882. capitalbalance:
  6883. description: 本金余额[外部子账户实际出入金余额]
  6884. type: number
  6885. closepl:
  6886. description: 今日平仓盈亏
  6887. type: number
  6888. creditdecrease:
  6889. description: 今日授信减少
  6890. type: number
  6891. creditincrease:
  6892. description: 今日授信增加
  6893. type: number
  6894. curdebt:
  6895. description: 期末欠款
  6896. type: number
  6897. currencyid:
  6898. description: 货币ID
  6899. type: integer
  6900. currentbalance:
  6901. description: 期末余额
  6902. type: number
  6903. freezecharge:
  6904. description: 手续费冻结
  6905. type: number
  6906. freezemargin:
  6907. description: 冻结保证金
  6908. type: number
  6909. fromaccountid:
  6910. description: 所属上级账户
  6911. type: integer
  6912. inamount:
  6913. description: 今日入金金额(包括三方入金)
  6914. type: number
  6915. ismain:
  6916. description: 是否母账号 0:不是母账户 1:是母账户
  6917. type: integer
  6918. mortgagecredit:
  6919. description: 授信金额
  6920. type: number
  6921. oridebt:
  6922. description: 期初欠款
  6923. type: number
  6924. orifreezecharge:
  6925. description: 期初手续费冻结
  6926. type: number
  6927. orifreezemargin:
  6928. description: 期初冻结保证金
  6929. type: number
  6930. orimortgagecredit:
  6931. description: 期初授信金额
  6932. type: number
  6933. oriothercredit:
  6934. description: 期初其它授信金额
  6935. type: number
  6936. oriotherfreezemargin:
  6937. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6938. type: number
  6939. orioutamountfreeze:
  6940. description: 期初出金冻结
  6941. type: number
  6942. oriusedmargin:
  6943. description: 期初占用保证金
  6944. type: number
  6945. othercredit:
  6946. description: 其它授信金额
  6947. type: number
  6948. othercreditdecrease:
  6949. description: 今日其它授信减少
  6950. type: number
  6951. othercreditincrease:
  6952. description: 今日其它授信增加
  6953. type: number
  6954. otherfreezemargin:
  6955. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6956. type: number
  6957. outamount:
  6958. description: 今日出金金额(包括三方出金)
  6959. type: number
  6960. outamountfreeze:
  6961. description: 出金冻结
  6962. type: number
  6963. outthreshold:
  6964. description: 出金阈值
  6965. type: number
  6966. parentaccountid:
  6967. description: 所属根账号
  6968. type: integer
  6969. paycharge:
  6970. description: 今日手续费支出
  6971. type: number
  6972. relateduserid:
  6973. description: 关联用户
  6974. type: integer
  6975. signstatus:
  6976. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6977. type: integer
  6978. sublevelpath:
  6979. description: 账号层级路径(逗号分隔,首尾加逗号)
  6980. type: string
  6981. taaccounttype:
  6982. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6983. type: integer
  6984. thirdinamount:
  6985. description: 今日三方入金
  6986. type: number
  6987. thirdoutamount:
  6988. description: 今日三方出金
  6989. type: number
  6990. tradestatus:
  6991. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6992. type: integer
  6993. transferamount:
  6994. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6995. type: number
  6996. usedmargin:
  6997. description: 占用保证金
  6998. type: number
  6999. userid:
  7000. description: 用户ID
  7001. type: integer
  7002. type: object
  7003. models.ErmcpTaAccountM:
  7004. properties:
  7005. accountid:
  7006. description: 账户id
  7007. type: integer
  7008. accountname:
  7009. description: 账户名称
  7010. type: string
  7011. currencyid:
  7012. description: 币种id
  7013. type: integer
  7014. fcid:
  7015. description: 期货公司id
  7016. type: integer
  7017. fcname:
  7018. description: 期货公司代码
  7019. type: string
  7020. hedgeaccountcode:
  7021. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7022. type: string
  7023. ismain:
  7024. description: 是否主账户 0-否 1-是
  7025. type: integer
  7026. parentaccountid:
  7027. description: 父账户id
  7028. type: integer
  7029. relateduserid:
  7030. description: 关联userid
  7031. type: integer
  7032. tradefeetmpid:
  7033. description: 手续费模板id
  7034. type: integer
  7035. tradefeetmpname:
  7036. description: 手续费模板名称
  7037. type: string
  7038. trademargintmpid:
  7039. description: 保证金模板id
  7040. type: integer
  7041. trademargintmpname:
  7042. description: 保证金模板名称
  7043. type: string
  7044. traderatetmpid:
  7045. description: 汇率模板id
  7046. type: integer
  7047. traderatetmpname:
  7048. description: 汇率模板名称
  7049. type: string
  7050. tradestatus:
  7051. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7052. type: integer
  7053. userid:
  7054. description: 用户id
  7055. type: integer
  7056. type: object
  7057. models.ErmcpTradeConfigTMP:
  7058. properties:
  7059. areauserid:
  7060. description: 所属机构
  7061. type: integer
  7062. basiccurrencyid:
  7063. description: 基本币种ID[汇率] - 目标币种
  7064. type: integer
  7065. mainaccountid:
  7066. description: 主账户ID
  7067. type: integer
  7068. modifierid:
  7069. description: 修改人
  7070. type: integer
  7071. remark:
  7072. description: 备注
  7073. type: string
  7074. tradeconfigtmpid:
  7075. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7076. type: integer
  7077. tradeconfigtmpname:
  7078. description: 交易配置模板名称
  7079. type: string
  7080. tradeconfigtmptype:
  7081. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7082. type: integer
  7083. updatetime:
  7084. description: 更新时间
  7085. type: string
  7086. type: object
  7087. models.ErmcpUserModel:
  7088. properties:
  7089. address:
  7090. description: 通讯地址
  7091. type: string
  7092. attachment1:
  7093. description: 附件1
  7094. type: string
  7095. audittime:
  7096. description: 审核时间
  7097. type: string
  7098. cardbackphotourl:
  7099. description: 证件反面图片地址
  7100. type: string
  7101. cardfrontphotourl:
  7102. description: 证件正面图片地址
  7103. type: string
  7104. cardnum:
  7105. description: 证件号码
  7106. type: string
  7107. cardtype:
  7108. description: 证件类型
  7109. type: integer
  7110. cardtypename:
  7111. description: 证件类型名称
  7112. type: string
  7113. cityid:
  7114. description: 市
  7115. type: integer
  7116. contactname:
  7117. description: 联系人
  7118. type: string
  7119. countryid:
  7120. description: 国家
  7121. type: integer
  7122. createtime:
  7123. description: 创建时间
  7124. type: string
  7125. customername:
  7126. description: 企业名称
  7127. type: string
  7128. districtid:
  7129. description: 区域
  7130. type: integer
  7131. email:
  7132. description: 邮件
  7133. type: string
  7134. legalpersonname:
  7135. description: 法人姓名(企业)
  7136. type: string
  7137. memberuserid:
  7138. description: 所属机构ID
  7139. type: integer
  7140. mobile:
  7141. description: 手机号码
  7142. type: string
  7143. modifytime:
  7144. description: 修改时间
  7145. type: string
  7146. nickname:
  7147. description: 昵称
  7148. type: string
  7149. provinceid:
  7150. description: 省
  7151. type: integer
  7152. remark:
  7153. description: 备注
  7154. type: string
  7155. status:
  7156. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7157. type: integer
  7158. statusdesc:
  7159. description: 账户状态中文描述
  7160. type: string
  7161. taxpayernum:
  7162. description: 纳税人识别号
  7163. type: string
  7164. telphone:
  7165. description: 联系电话
  7166. type: string
  7167. userid:
  7168. description: 用户ID
  7169. type: integer
  7170. userinfotype:
  7171. description: 客户类型
  7172. type: string
  7173. type: object
  7174. models.ErmcpWareHouseInfo:
  7175. properties:
  7176. address:
  7177. description: 详细地址
  7178. type: string
  7179. areauserid:
  7180. description: 所属机构
  7181. type: integer
  7182. autoid:
  7183. description: 自增ID(仓库ID)
  7184. type: integer
  7185. cityid:
  7186. description: 市
  7187. type: integer
  7188. contactname:
  7189. description: 联系人
  7190. type: string
  7191. contactnum:
  7192. description: 联系电话
  7193. type: string
  7194. countryid:
  7195. description: 国家
  7196. type: integer
  7197. createtime:
  7198. description: 创建时间
  7199. type: string
  7200. districtid:
  7201. description: 区
  7202. type: integer
  7203. hasvideo:
  7204. description: 是否有视频 - 0:无 1:有
  7205. type: integer
  7206. provinceid:
  7207. description: 省
  7208. type: integer
  7209. remark:
  7210. description: 审核备注
  7211. type: string
  7212. videourl:
  7213. description: 视频地址
  7214. type: string
  7215. warehousecode:
  7216. description: 仓库代码
  7217. type: string
  7218. warehousename:
  7219. description: 仓库名称
  7220. type: string
  7221. warehousestatus:
  7222. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7223. type: integer
  7224. warehousetype:
  7225. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7226. type: integer
  7227. type: object
  7228. models.Externalexchange:
  7229. properties:
  7230. autoid:
  7231. description: AutoID - SEQ_EXTERNALEXCHANGE
  7232. type: integer
  7233. exchangefullname:
  7234. description: 外部交易所全称
  7235. type: string
  7236. exexchangecode:
  7237. description: 外部交易所代码
  7238. type: string
  7239. exexchangename:
  7240. description: 外部交易所名称(简称)
  7241. type: string
  7242. ismarketprice:
  7243. description: 是否支持市价 - 0:不支持 1:支持
  7244. type: integer
  7245. quotegear:
  7246. description: 行情档位(1-10)
  7247. type: integer
  7248. showbrokerflag:
  7249. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7250. type: integer
  7251. updatetime:
  7252. description: 更新时间
  7253. type: string
  7254. required:
  7255. - autoid
  7256. type: object
  7257. models.Funcmenulist:
  7258. properties:
  7259. iconame:
  7260. description: 菜单图标
  7261. type: string
  7262. menutype:
  7263. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7264. type: integer
  7265. parentcode:
  7266. description: 上级资源代码
  7267. type: string
  7268. remark:
  7269. description: 备注
  7270. type: string
  7271. resourcecode:
  7272. description: 资源代码
  7273. type: string
  7274. resourcelevel:
  7275. description: 级别 1-一级 2-二级 3-三级 4-四级
  7276. type: integer
  7277. resourcename:
  7278. description: 资源名
  7279. type: string
  7280. sort:
  7281. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7282. type: integer
  7283. url:
  7284. description: URL
  7285. type: string
  7286. required:
  7287. - resourcecode
  7288. type: object
  7289. models.Goods:
  7290. properties:
  7291. agreeunit:
  7292. description: 合约单位
  7293. type: number
  7294. areauserid:
  7295. description: 所属机构
  7296. type: integer
  7297. auditaccountid:
  7298. description: 审核操作员账号
  7299. type: integer
  7300. audittime:
  7301. description: 审核时间
  7302. type: string
  7303. cancelaccountid:
  7304. description: 注销操作员账号
  7305. type: integer
  7306. canceltime:
  7307. description: 注销时间
  7308. type: string
  7309. closepricemode:
  7310. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7311. type: integer
  7312. closepriceparam:
  7313. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7314. type: number
  7315. createtime:
  7316. description: 创建时间
  7317. type: string
  7318. creatorid:
  7319. description: 创建人
  7320. type: integer
  7321. currencyid:
  7322. description: 报价货币ID
  7323. type: integer
  7324. cutmode:
  7325. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7326. type: integer
  7327. decimalplace:
  7328. description: 报价小数位
  7329. type: integer
  7330. delistingdate:
  7331. description: 商品退市时间(状态:退市) -- 已作废
  7332. type: string
  7333. delistingmode:
  7334. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7335. type: integer
  7336. deliveryflag:
  7337. description: 交割标志 - 0:不可交割 1:可交割
  7338. type: integer
  7339. forceclosemode:
  7340. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7341. type: integer
  7342. forceclosevalue:
  7343. description: 定期强平参数 [收益权]
  7344. type: integer
  7345. goodscode:
  7346. description: 商品代码(内部)
  7347. type: string
  7348. goodscurrencyid:
  7349. description: 合约货币ID
  7350. type: integer
  7351. goodsgroupid:
  7352. description: 所属商品组ID
  7353. type: integer
  7354. goodsid:
  7355. description: 商品ID(自增ID SEQ_GOODS)
  7356. type: integer
  7357. goodsname:
  7358. description: 商品名称
  7359. type: string
  7360. goodsquotetype:
  7361. description: '合约报价类型: 1-直接报价 2-间接报价'
  7362. type: integer
  7363. goodsstatus:
  7364. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7365. type: integer
  7366. goodstradetype:
  7367. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7368. type: integer
  7369. goodunitid:
  7370. description: 报价单位ID
  7371. type: integer
  7372. hasquoter:
  7373. description: 是否有报价商 - 0:无报价商 1:有报价商
  7374. type: integer
  7375. hqprotecttime:
  7376. description: 行情保护时间(秒)
  7377. type: integer
  7378. innerdealmode:
  7379. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7380. type: integer
  7381. isbuylimited:
  7382. description: 是否限制建仓量 - 0:不限制 1:限制
  7383. type: integer
  7384. isvisible:
  7385. description: 游客是否可见 - 0:不可见 1:可见
  7386. type: integer
  7387. lasttradedate:
  7388. description: 最后交易日期(状态:待退市)
  7389. type: string
  7390. listingdate:
  7391. description: 交易开始日期
  7392. type: string
  7393. marketid:
  7394. description: 所属市场ID
  7395. type: integer
  7396. modifierid:
  7397. description: 修改人
  7398. type: integer
  7399. modifystatus:
  7400. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7401. type: integer
  7402. modifytime:
  7403. description: 修改时间
  7404. type: string
  7405. outerdealmode:
  7406. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7407. type: integer
  7408. outgoodscode:
  7409. description: 商品代码(外部)
  7410. type: string
  7411. pictureurl:
  7412. description: 商品图片
  7413. type: string
  7414. qtydecimalplace:
  7415. description: 成交量小数位
  7416. type: integer
  7417. quotegear:
  7418. description: 行情档位(1-10)
  7419. type: integer
  7420. quoteminunit:
  7421. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7422. type: integer
  7423. quoteshowtype:
  7424. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7425. type: integer
  7426. quoteshowtypeinterval:
  7427. description: 行情报价间隔时间(秒)(成交价时为0)
  7428. type: integer
  7429. remark:
  7430. description: 备注
  7431. type: string
  7432. required:
  7433. - goodscode
  7434. - goodsid
  7435. - goodsname
  7436. - marketid
  7437. type: object
  7438. models.GoodsIDAndName:
  7439. properties:
  7440. goodscode:
  7441. description: 商品代码(内部)
  7442. type: string
  7443. goodsid:
  7444. description: 商品ID(自增ID SEQ_GOODS)
  7445. type: integer
  7446. goodsname:
  7447. description: 商品名称
  7448. type: string
  7449. marketid:
  7450. description: 所属市场ID
  7451. type: integer
  7452. required:
  7453. - goodscode
  7454. - goodsid
  7455. - goodsname
  7456. - marketid
  7457. type: object
  7458. models.Goodsgroup:
  7459. properties:
  7460. agreeunit:
  7461. description: 合约单位
  7462. type: number
  7463. canshort:
  7464. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7465. type: integer
  7466. closepricemode:
  7467. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7468. type: integer
  7469. closepriceparam:
  7470. description: 强平最新价浮动比例 - 方式为2时使用
  7471. type: number
  7472. createtime:
  7473. description: 创建时间
  7474. type: string
  7475. creatorid:
  7476. description: 创建人
  7477. type: integer
  7478. currencyid:
  7479. description: 报价货币ID
  7480. type: integer
  7481. decimalplace:
  7482. description: 报价小数位
  7483. type: integer
  7484. exercisetype:
  7485. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7486. type: integer
  7487. exexchangeid:
  7488. description: 外部交易所ID[通道交易]
  7489. type: integer
  7490. goodsgroupid:
  7491. description: 商品组ID(自增ID)
  7492. type: integer
  7493. goodsgroupname:
  7494. description: 商品组名称
  7495. type: string
  7496. goodsgroupstatus:
  7497. description: 商品组状态 - 1:正常 2:注销
  7498. type: integer
  7499. goodunitid:
  7500. description: 报价单位ID
  7501. type: integer
  7502. innerdealmode:
  7503. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7504. type: integer
  7505. isbuylimited:
  7506. description: 是否限制建仓量 - 0:不限制 1:限制
  7507. type: integer
  7508. marketid:
  7509. description: 所属市场ID
  7510. type: integer
  7511. modifierid:
  7512. description: 修改人
  7513. type: integer
  7514. modifytime:
  7515. description: 修改时间
  7516. type: string
  7517. outerdealmode:
  7518. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7519. type: integer
  7520. outergroupcode:
  7521. description: 外部商品组代码[通道交易]
  7522. type: string
  7523. premiumdecimalplace:
  7524. description: 权利金小数位[场外期权]
  7525. type: integer
  7526. premiumspreadalgorithm:
  7527. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7528. type: integer
  7529. premiumspreadvalue:
  7530. description: 权利金点差值[场外期权]
  7531. type: number
  7532. qtydecimalplace:
  7533. description: 成交量小数位
  7534. type: integer
  7535. quotegear:
  7536. description: 行情档位(1-10)
  7537. type: integer
  7538. quoteminunit:
  7539. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7540. type: integer
  7541. quoterid:
  7542. description: 报价商ID[场外期权]
  7543. type: integer
  7544. quotesourcegroupid:
  7545. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7546. type: integer
  7547. syncgoodsqty:
  7548. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7549. type: integer
  7550. required:
  7551. - goodsgroupid
  7552. - goodsgroupname
  7553. - goodsgroupstatus
  7554. - marketid
  7555. type: object
  7556. models.Goodssortbypreposition:
  7557. properties:
  7558. goodscode:
  7559. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7560. type: string
  7561. goodsgroupcode:
  7562. description: 品种代码
  7563. type: string
  7564. prepositionqty:
  7565. description: 昨持仓量
  7566. type: integer
  7567. sortindex:
  7568. description: 排序
  7569. type: integer
  7570. tradedate:
  7571. description: 交易日
  7572. type: string
  7573. updatetime:
  7574. description: 更新时间
  7575. type: string
  7576. required:
  7577. - goodscode
  7578. - tradedate
  7579. type: object
  7580. models.Hedgeinnerholderdetail:
  7581. properties:
  7582. accountid:
  7583. description: 账号ID
  7584. type: integer
  7585. buyorsell:
  7586. description: 方向 - 0:买 1:卖
  7587. type: integer
  7588. freezeqty:
  7589. description: 冻结数量 - 按单平使用
  7590. type: integer
  7591. goodsid:
  7592. description: 商品ID
  7593. type: integer
  7594. holderamount:
  7595. description: 持仓金额 [商品币种]
  7596. type: number
  7597. holderdays:
  7598. description: 剩余冻结天数
  7599. type: integer
  7600. holderprice:
  7601. description: 持仓价格
  7602. type: number
  7603. holderqty:
  7604. description: 持仓数量
  7605. type: integer
  7606. marketid:
  7607. description: 市场ID
  7608. type: integer
  7609. openprice:
  7610. description: 建仓价格
  7611. type: number
  7612. openqty:
  7613. description: 建仓数量
  7614. type: integer
  7615. parentaccountid:
  7616. description: 所属母账户
  7617. type: integer
  7618. releaseamount:
  7619. description: 释放持仓金额[商品币种]
  7620. type: number
  7621. tradeamount:
  7622. description: 成交金额[账户]
  7623. type: number
  7624. tradedate:
  7625. description: 交易日(yyyyMMdd)
  7626. type: string
  7627. tradeid:
  7628. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7629. type: string
  7630. tradetime:
  7631. description: 交易时间
  7632. type: string
  7633. required:
  7634. - buyorsell
  7635. - tradeid
  7636. type: object
  7637. models.Hedgemarketopenlog:
  7638. properties:
  7639. accountid:
  7640. description: 资金账号[外部母账户]
  7641. type: integer
  7642. fcname:
  7643. description: 期货公司名称
  7644. type: string
  7645. handlestatus:
  7646. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7647. type: integer
  7648. marketid:
  7649. description: 市场ID
  7650. type: integer
  7651. status:
  7652. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7653. type: integer
  7654. tradedate:
  7655. description: 交易日(yyyyMMdd)
  7656. type: string
  7657. updatetime:
  7658. description: 更新时间
  7659. type: string
  7660. required:
  7661. - accountid
  7662. type: object
  7663. models.HsbyBuyMyPayOrder:
  7664. properties:
  7665. agreeunit:
  7666. description: 合约单位
  7667. type: number
  7668. buyaccountid:
  7669. description: 买方账号ID[报价币种]
  7670. type: integer
  7671. buyorderid:
  7672. description: 买方委托单号
  7673. type: string
  7674. createtime:
  7675. description: 创建时间
  7676. type: string
  7677. currencysign:
  7678. description: 货币符号
  7679. type: string
  7680. decimalplace:
  7681. description: 报价小数位
  7682. type: integer
  7683. goodscode:
  7684. description: 商品代码(内部)
  7685. type: string
  7686. goodsid:
  7687. description: 商品ID
  7688. type: integer
  7689. goodsname:
  7690. description: 商品名称
  7691. type: string
  7692. marketid:
  7693. description: 市场ID
  7694. type: integer
  7695. offamount:
  7696. description: 优惠金额
  7697. type: number
  7698. originalamount:
  7699. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7700. type: number
  7701. payamount:
  7702. description: 支付金额 = TradeAmount + TradeCharge
  7703. type: number
  7704. payflag:
  7705. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7706. type: integer
  7707. paylimitedtime:
  7708. description: 支付期限
  7709. type: string
  7710. paytime:
  7711. description: 付款时间
  7712. type: string
  7713. picurls1:
  7714. description: 预售商品介绍图片[多张用逗号分隔]
  7715. type: string
  7716. picurls2:
  7717. description: 挂牌商品介绍图片[多张用逗号分隔]
  7718. type: string
  7719. sellaccountid:
  7720. description: 卖方账号ID[报价币种]
  7721. type: integer
  7722. sellorderid:
  7723. description: 卖方委托单号
  7724. type: string
  7725. tradeamount:
  7726. description: 成交金额
  7727. type: number
  7728. tradecharge:
  7729. description: 成交手续费(买方)
  7730. type: number
  7731. tradedate:
  7732. description: 交易日(yyyyMMdd)
  7733. type: string
  7734. tradeid:
  7735. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7736. type: string
  7737. trademode:
  7738. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7739. 21:竞拍-大宗式 22:受托竞价
  7740. type: integer
  7741. tradeprice:
  7742. description: 成交价格
  7743. type: number
  7744. tradeqty:
  7745. description: 成交数量
  7746. type: integer
  7747. vendorname1:
  7748. description: 预售商品供应商名称
  7749. type: string
  7750. vendorname2:
  7751. description: 挂牌商品供应商名称
  7752. type: string
  7753. required:
  7754. - goodscode
  7755. - goodsname
  7756. - tradeid
  7757. - trademode
  7758. type: object
  7759. models.HsbyBuyMyTradeDetail:
  7760. properties:
  7761. accountid:
  7762. description: 账户ID[报价币种]
  7763. type: integer
  7764. agreeunit:
  7765. description: 合约单位
  7766. type: number
  7767. amount:
  7768. description: 金额 = 价格 * 数量 * 合约单位
  7769. type: number
  7770. buyorsell:
  7771. description: 买卖 - 0:买 1:卖
  7772. type: integer
  7773. currencysign:
  7774. description: 货币符号
  7775. type: string
  7776. decimalplace:
  7777. description: 报价小数位
  7778. type: integer
  7779. goodscode:
  7780. description: 商品代码(内部)
  7781. type: string
  7782. goodsid:
  7783. description: 商品ID
  7784. type: integer
  7785. goodsname:
  7786. description: 商品名称
  7787. type: string
  7788. marketid:
  7789. description: 市场ID
  7790. type: integer
  7791. orderamount:
  7792. description: 委托金额
  7793. type: number
  7794. orderid:
  7795. description: 单号(成交单号)
  7796. type: string
  7797. picurls1:
  7798. description: 预售商品介绍图片[多张用逗号分隔]
  7799. type: string
  7800. picurls2:
  7801. description: 挂牌商品介绍图片[多张用逗号分隔]
  7802. type: string
  7803. price:
  7804. description: 价格
  7805. type: number
  7806. qty:
  7807. description: 数量
  7808. type: integer
  7809. time:
  7810. description: 时间
  7811. type: string
  7812. trademode:
  7813. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7814. 21:竞拍-大宗式 22:受托竞价
  7815. type: integer
  7816. vendorname1:
  7817. description: 预售商品供应商名称
  7818. type: string
  7819. vendorname2:
  7820. description: 挂牌商品供应商名称
  7821. type: string
  7822. required:
  7823. - accountid
  7824. - buyorsell
  7825. - goodscode
  7826. - goodsid
  7827. - goodsname
  7828. - marketid
  7829. - orderid
  7830. - qty
  7831. - time
  7832. - trademode
  7833. type: object
  7834. models.HsbyGoodsOrderDetail:
  7835. properties:
  7836. buyorsell:
  7837. description: 买卖 - 0:买 1:卖
  7838. type: integer
  7839. currencysign:
  7840. description: 货币符号
  7841. type: string
  7842. customername:
  7843. description: 客户名称(企业名称),已脱敏
  7844. type: string
  7845. enableqty:
  7846. description: 可用数量
  7847. type: integer
  7848. goodunit:
  7849. description: 报价单位
  7850. type: string
  7851. orderid:
  7852. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7853. type: string
  7854. orderprice:
  7855. description: 委托价格
  7856. type: number
  7857. ordertime:
  7858. description: 委托时间
  7859. type: string
  7860. required:
  7861. - buyorsell
  7862. - orderid
  7863. - ordertime
  7864. type: object
  7865. models.HsbyListingGoodsDetail:
  7866. properties:
  7867. agreeunit:
  7868. description: 合约单位
  7869. type: number
  7870. buymaxqty:
  7871. description: 购买上限 [71] - 0为不限
  7872. type: integer
  7873. currency:
  7874. description: 货币
  7875. type: string
  7876. currencysign:
  7877. description: 货币符号
  7878. type: string
  7879. decimalplace:
  7880. description: 报价小数位
  7881. type: integer
  7882. desccityid:
  7883. description: 目的地(市)ID
  7884. type: integer
  7885. descprovinceid:
  7886. description: 目的地(省)ID
  7887. type: integer
  7888. goodscode:
  7889. description: 商品代码(内部)
  7890. type: string
  7891. goodsdesc:
  7892. description: 商品详情
  7893. type: string
  7894. goodsid:
  7895. description: 商品ID(自增ID SEQ_GOODS)
  7896. type: integer
  7897. goodsname:
  7898. description: 商品名称
  7899. type: string
  7900. goodsprice:
  7901. description: 商品价格
  7902. type: number
  7903. hotindex:
  7904. description: 景点热度
  7905. type: integer
  7906. last:
  7907. description: 现价
  7908. type: number
  7909. limitdown:
  7910. description: 跌停价
  7911. type: number
  7912. limitup:
  7913. description: 涨停价
  7914. type: number
  7915. lotsize:
  7916. description: 手数最小变动单位
  7917. type: integer
  7918. marketid:
  7919. description: 所属市场ID
  7920. type: integer
  7921. picurls:
  7922. description: 介绍图片[多张用逗号分隔]
  7923. type: string
  7924. quoteminunit:
  7925. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7926. type: integer
  7927. stepvalue:
  7928. description: 价格最小变动单位
  7929. type: number
  7930. trademode:
  7931. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7932. 21:竞拍-大宗式 22:受托竞价
  7933. type: integer
  7934. vendorattr:
  7935. description: 供应商附件(多张,逗号分隔)
  7936. type: string
  7937. vendorname:
  7938. description: 供应商名称
  7939. type: string
  7940. vendorphone:
  7941. description: 供应商客服电话
  7942. type: string
  7943. videourls:
  7944. description: 介绍视频[多张用逗号分隔]
  7945. type: string
  7946. required:
  7947. - goodscode
  7948. - goodsid
  7949. - goodsname
  7950. - marketid
  7951. - trademode
  7952. type: object
  7953. models.HsbyMarketGoods:
  7954. properties:
  7955. accountid:
  7956. description: 账户ID[报价币种]
  7957. type: integer
  7958. agreeunit:
  7959. description: 合约单位
  7960. type: number
  7961. buyorsell:
  7962. description: 买卖 - 0:买 1:卖
  7963. type: integer
  7964. categoryid:
  7965. description: 类别ID(WRCATEGORY)
  7966. type: integer
  7967. currency:
  7968. description: 货币
  7969. type: string
  7970. currencysign:
  7971. description: 货币符号
  7972. type: string
  7973. customername:
  7974. description: 卖家名称
  7975. type: string
  7976. decimalplace:
  7977. description: 报价小数位
  7978. type: integer
  7979. goodscode:
  7980. description: 商品代码(内部)
  7981. type: string
  7982. goodsid:
  7983. description: 商品ID
  7984. type: integer
  7985. goodsname:
  7986. description: 商品名称
  7987. type: string
  7988. goodsprice:
  7989. description: 商品价格
  7990. type: number
  7991. hascoupon:
  7992. description: 是否可用优惠卷
  7993. type: boolean
  7994. hotindex:
  7995. description: 景点热度
  7996. type: integer
  7997. marketid:
  7998. description: 市场ID
  7999. type: integer
  8000. orderid:
  8001. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8002. type: string
  8003. orderprice:
  8004. description: 委托价格
  8005. type: number
  8006. orderstatus:
  8007. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8008. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8009. 16:成交失败违约(荷兰式竞拍专用)
  8010. type: integer
  8011. picurls:
  8012. description: 介绍图片[多张用逗号分隔]
  8013. type: string
  8014. quoteminunit:
  8015. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8016. type: integer
  8017. sellUserID:
  8018. description: 卖方UserID
  8019. type: integer
  8020. trademode:
  8021. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8022. 21:竞拍-大宗式 22:受托竞价
  8023. type: integer
  8024. videourls:
  8025. description: 介绍视频[多张用逗号分隔]
  8026. type: string
  8027. required:
  8028. - accountid
  8029. - buyorsell
  8030. - goodscode
  8031. - goodsid
  8032. - goodsname
  8033. - marketid
  8034. - orderid
  8035. - trademode
  8036. type: object
  8037. models.HsbyMarketGoodsDetail:
  8038. properties:
  8039. accountid:
  8040. description: 账户ID[报价币种]
  8041. type: integer
  8042. agreeunit:
  8043. description: 合约单位
  8044. type: number
  8045. buymaxqty:
  8046. description: 购买上限 [71] - 0为不限
  8047. type: integer
  8048. buyorsell:
  8049. description: 买卖 - 0:买 1:卖
  8050. type: integer
  8051. cancelqty:
  8052. description: 撤单数量
  8053. type: integer
  8054. categoryid:
  8055. description: 类别ID(WRCATEGORY)
  8056. type: integer
  8057. currency:
  8058. description: 货币
  8059. type: string
  8060. currencysign:
  8061. description: 货币符号
  8062. type: string
  8063. customername:
  8064. description: 卖家名称
  8065. type: string
  8066. decimalplace:
  8067. description: 报价小数位
  8068. type: integer
  8069. goodscode:
  8070. description: 商品代码(内部)
  8071. type: string
  8072. goodsdesc:
  8073. description: 商品详情
  8074. type: string
  8075. goodsid:
  8076. description: 商品ID
  8077. type: integer
  8078. goodsname:
  8079. description: 商品名称
  8080. type: string
  8081. goodsprice:
  8082. description: 商品价格
  8083. type: number
  8084. hotindex:
  8085. description: 景点热度
  8086. type: integer
  8087. lotsize:
  8088. description: 手数最小变动单位
  8089. type: integer
  8090. marketid:
  8091. description: 市场ID
  8092. type: integer
  8093. orderid:
  8094. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8095. type: string
  8096. orderprice:
  8097. description: 委托价格
  8098. type: number
  8099. orderqty:
  8100. description: 委托数量
  8101. type: integer
  8102. orderstatus:
  8103. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8104. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8105. 16:成交失败违约(荷兰式竞拍专用)
  8106. type: integer
  8107. picurls:
  8108. description: 介绍图片[多张用逗号分隔]
  8109. type: string
  8110. quoteminunit:
  8111. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8112. type: integer
  8113. sellUserID:
  8114. description: 卖方UserID
  8115. type: integer
  8116. trademode:
  8117. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8118. 21:竞拍-大宗式 22:受托竞价
  8119. type: integer
  8120. tradeqty:
  8121. description: 成交数量
  8122. type: integer
  8123. vendorattr:
  8124. description: 供应商附件(多张,逗号分隔)
  8125. type: string
  8126. vendorname:
  8127. description: 供应商名称
  8128. type: string
  8129. vendorphone:
  8130. description: 供应商客服电话
  8131. type: string
  8132. videourls:
  8133. description: 介绍视频[多张用逗号分隔]
  8134. type: string
  8135. required:
  8136. - accountid
  8137. - buyorsell
  8138. - goodscode
  8139. - goodsid
  8140. - goodsname
  8141. - marketid
  8142. - orderid
  8143. - orderqty
  8144. - trademode
  8145. type: object
  8146. models.HsbyMarketInfo:
  8147. properties:
  8148. marketid:
  8149. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8150. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8151. type: integer
  8152. marketname:
  8153. description: 市场名称
  8154. type: string
  8155. marketstatus:
  8156. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8157. type: integer
  8158. trademode:
  8159. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8160. 21:竞拍-大宗式 22:受托竞价
  8161. type: integer
  8162. required:
  8163. - marketid
  8164. - marketstatus
  8165. - trademode
  8166. type: object
  8167. models.HsbyMyGoods:
  8168. properties:
  8169. accountid:
  8170. description: 账号Id
  8171. type: integer
  8172. agreeunit:
  8173. description: 合约单位
  8174. type: number
  8175. buyaverageprice:
  8176. description: 持仓均价
  8177. type: number
  8178. buycurholderamount:
  8179. description: 买当前持仓总金额[商品币种]
  8180. type: number
  8181. buycurpositionqty:
  8182. description: 买当前持仓总数量
  8183. type: integer
  8184. buymaxqty:
  8185. description: 购买上限 [71] - 0为不限
  8186. type: integer
  8187. currencysign:
  8188. description: 货币符号
  8189. type: string
  8190. decimalplace:
  8191. description: 报价小数位
  8192. type: integer
  8193. enableqty:
  8194. description: 可用数量
  8195. type: integer
  8196. goodscode:
  8197. description: 商品代码(内部)
  8198. type: string
  8199. goodsid:
  8200. description: 商品Id
  8201. type: integer
  8202. goodsname:
  8203. description: 商品名称
  8204. type: string
  8205. goodsprice:
  8206. description: 商品价格
  8207. type: number
  8208. goodsstatus:
  8209. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8210. type: integer
  8211. last:
  8212. description: 现价(仅使用于挂牌点选)
  8213. type: number
  8214. limitdown:
  8215. description: 跌停价(仅使用于挂牌点选)
  8216. type: number
  8217. limitup:
  8218. description: 涨停价(仅使用于挂牌点选)
  8219. type: number
  8220. lotsize:
  8221. description: 手数最小变动单位
  8222. type: integer
  8223. marketid:
  8224. description: 所属市场ID
  8225. type: integer
  8226. picurls:
  8227. description: 介绍图片[多张用逗号分隔]
  8228. type: string
  8229. quoteminunit:
  8230. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8231. type: integer
  8232. stepvalue:
  8233. description: 价格最小变动单位
  8234. type: number
  8235. trademode:
  8236. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8237. 21:竞拍-大宗式 22:受托竞价
  8238. type: integer
  8239. required:
  8240. - accountid
  8241. - goodscode
  8242. - goodsid
  8243. - goodsname
  8244. - marketid
  8245. - trademode
  8246. type: object
  8247. models.HsbyMyPackage:
  8248. properties:
  8249. accountid:
  8250. description: 账户ID
  8251. type: integer
  8252. address:
  8253. description: 提货人详细地址
  8254. type: string
  8255. agreeunit:
  8256. description: 合约单位
  8257. type: number
  8258. amount:
  8259. description: 提货金额
  8260. type: number
  8261. auditer:
  8262. description: 审核人
  8263. type: integer
  8264. audittime:
  8265. description: 审核时间
  8266. type: string
  8267. averageprice:
  8268. description: 均价
  8269. type: number
  8270. cardnum:
  8271. description: 提货人证件号码
  8272. type: string
  8273. cardtypeid:
  8274. description: 提货人证件类型
  8275. type: integer
  8276. checkremark:
  8277. description: 审核备注
  8278. type: string
  8279. currencysign:
  8280. description: 货币符号
  8281. type: string
  8282. decimalplace:
  8283. description: 报价小数位
  8284. type: integer
  8285. goodscode:
  8286. description: 商品代码(内部)
  8287. type: string
  8288. goodsid:
  8289. description: 商品ID
  8290. type: integer
  8291. goodsname:
  8292. description: 商品名称
  8293. type: string
  8294. handlestatus:
  8295. description: 处理状态
  8296. type: integer
  8297. marketid:
  8298. description: 市场ID
  8299. type: integer
  8300. phonenum:
  8301. description: 提货人联系方式
  8302. type: string
  8303. picurls:
  8304. description: 介绍图片[多张用逗号分隔]
  8305. type: string
  8306. qty:
  8307. description: 提货数量
  8308. type: number
  8309. recivername:
  8310. description: 提货人姓名
  8311. type: string
  8312. reqtime:
  8313. description: 更新时间
  8314. type: string
  8315. takemode:
  8316. description: 提货方式 - 2:自提 3:配送
  8317. type: integer
  8318. takeorderid:
  8319. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8320. type: string
  8321. takeorderstatus:
  8322. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8323. type: integer
  8324. takeremark:
  8325. description: 提货备注
  8326. type: string
  8327. tradedate:
  8328. description: 交易日(yyyyMMdd)
  8329. type: string
  8330. trademode:
  8331. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8332. 21:竞拍-大宗式 22:受托竞价
  8333. type: integer
  8334. userid:
  8335. description: 用户ID
  8336. type: integer
  8337. vendorname:
  8338. description: 供应商名称
  8339. type: string
  8340. required:
  8341. - goodscode
  8342. - goodsname
  8343. - takeorderid
  8344. - trademode
  8345. type: object
  8346. models.HsbyPreGoods:
  8347. properties:
  8348. agreeunit:
  8349. description: 合约单位
  8350. type: number
  8351. currency:
  8352. description: 货币
  8353. type: string
  8354. currencysign:
  8355. description: 货币符号
  8356. type: string
  8357. decimalplace:
  8358. description: 报价小数位
  8359. type: integer
  8360. desccityid:
  8361. description: 目的地(市)
  8362. type: integer
  8363. descprovinceid:
  8364. description: 目的地(省)
  8365. type: integer
  8366. enableqty:
  8367. description: 剩余数量
  8368. type: integer
  8369. goodscode:
  8370. description: 商品代码(内部)
  8371. type: string
  8372. goodsid:
  8373. description: 商品ID(自增ID SEQ_GOODS)
  8374. type: integer
  8375. goodsname:
  8376. description: 商品名称
  8377. type: string
  8378. goodsstatus:
  8379. description: 商品状态- 2:未上市 3:上市
  8380. type: integer
  8381. lasttradedate:
  8382. description: 最后交易日期(状态:待退市)
  8383. type: string
  8384. listingdate:
  8385. description: 交易开始日期
  8386. type: string
  8387. marketid:
  8388. description: 所属市场ID
  8389. type: integer
  8390. picurls:
  8391. description: 介绍图片[多张用逗号分隔]
  8392. type: string
  8393. presaledqty:
  8394. description: 已预售量(预售结束时更新)
  8395. type: integer
  8396. presaleqty:
  8397. description: 预售数量
  8398. type: integer
  8399. quoteminunit:
  8400. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8401. type: integer
  8402. refprice:
  8403. description: 参考价格[一口价]
  8404. type: number
  8405. relatedgoodsid:
  8406. description: 关联交易合约ID
  8407. type: integer
  8408. trademode:
  8409. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8410. 21:竞拍-大宗式 22:受托竞价
  8411. type: integer
  8412. videourls:
  8413. description: 介绍视频[多张用逗号分隔]
  8414. type: string
  8415. required:
  8416. - goodscode
  8417. - goodsid
  8418. - goodsname
  8419. - marketid
  8420. - trademode
  8421. type: object
  8422. models.HsbyPreGoodsDetail:
  8423. properties:
  8424. agreeunit:
  8425. description: 合约单位
  8426. type: number
  8427. buymaxqty:
  8428. description: 购买上限 [71] - 0为不限
  8429. type: integer
  8430. currency:
  8431. description: 货币
  8432. type: string
  8433. currencysign:
  8434. description: 货币符号
  8435. type: string
  8436. customername:
  8437. description: 发行单位
  8438. type: string
  8439. decimalplace:
  8440. description: 报价小数位
  8441. type: integer
  8442. desccityid:
  8443. description: 目的地(市)ID
  8444. type: integer
  8445. descprovinceid:
  8446. description: 目的地(省)ID
  8447. type: integer
  8448. enableqty:
  8449. description: 剩余数量
  8450. type: integer
  8451. goodscode:
  8452. description: 商品代码(内部)
  8453. type: string
  8454. goodsdesc:
  8455. description: 商品详情
  8456. type: string
  8457. goodsid:
  8458. description: 商品ID(自增ID SEQ_GOODS)
  8459. type: integer
  8460. goodsname:
  8461. description: 商品名称
  8462. type: string
  8463. goodsstatus:
  8464. description: 商品状态- 2:未上市 3:上市
  8465. type: integer
  8466. goodunit:
  8467. description: 报价单位
  8468. type: string
  8469. lasttradedate:
  8470. description: 最后交易日期(状态:待退市)
  8471. type: string
  8472. listingdate:
  8473. description: 交易开始日期
  8474. type: string
  8475. lotsize:
  8476. description: 手数最小变动单位
  8477. type: integer
  8478. marketid:
  8479. description: 所属市场ID
  8480. type: integer
  8481. picurls:
  8482. description: 介绍图片[多张用逗号分隔]
  8483. type: string
  8484. presaledqty:
  8485. description: 已预售量(预售结束时更新)
  8486. type: integer
  8487. presaleqty:
  8488. description: 预售数量
  8489. type: integer
  8490. quoteminunit:
  8491. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8492. type: integer
  8493. refprice:
  8494. description: 参考价格[一口价]
  8495. type: number
  8496. relatedgoodsid:
  8497. description: 关联交易合约ID
  8498. type: integer
  8499. stepvalue:
  8500. description: 价格最小变动单位
  8501. type: number
  8502. trademode:
  8503. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8504. 21:竞拍-大宗式 22:受托竞价
  8505. type: integer
  8506. vendorattr:
  8507. description: 供应商附件(多张,逗号分隔)
  8508. type: string
  8509. vendorname:
  8510. description: 供应商名称
  8511. type: string
  8512. vendorphone:
  8513. description: 供应商客服电话
  8514. type: string
  8515. videourls:
  8516. description: 介绍视频[多张用逗号分隔]
  8517. type: string
  8518. required:
  8519. - goodscode
  8520. - goodsid
  8521. - goodsname
  8522. - marketid
  8523. - trademode
  8524. type: object
  8525. models.HsbySellCollectionOrder:
  8526. properties:
  8527. agreeunit:
  8528. description: 合约单位
  8529. type: number
  8530. buyaccountid:
  8531. description: 买方账号ID[报价币种]
  8532. type: integer
  8533. buyorderid:
  8534. description: 买方委托单号
  8535. type: string
  8536. createtime:
  8537. description: 创建时间
  8538. type: string
  8539. currencysign:
  8540. description: 货币符号
  8541. type: string
  8542. decimalplace:
  8543. description: 报价小数位
  8544. type: integer
  8545. goodscode:
  8546. description: 商品代码(内部)
  8547. type: string
  8548. goodsid:
  8549. description: 商品ID
  8550. type: integer
  8551. goodsname:
  8552. description: 商品名称
  8553. type: string
  8554. marketid:
  8555. description: 市场ID
  8556. type: integer
  8557. offamount:
  8558. description: 优惠金额
  8559. type: number
  8560. payamount:
  8561. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8562. type: number
  8563. payflag:
  8564. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8565. type: integer
  8566. paylimitedtime:
  8567. description: 支付期限
  8568. type: string
  8569. paytime:
  8570. description: 付款时间
  8571. type: string
  8572. picurls:
  8573. description: 商品介绍图片[多张用逗号分隔]
  8574. type: string
  8575. sellaccountid:
  8576. description: 卖方账号ID[报价币种]
  8577. type: integer
  8578. sellorderid:
  8579. description: 卖方委托单号
  8580. type: string
  8581. tradeamount:
  8582. description: 成交金额
  8583. type: number
  8584. tradecharge:
  8585. description: 成交手续费(买方)
  8586. type: number
  8587. tradedate:
  8588. description: 交易日(yyyyMMdd)
  8589. type: string
  8590. tradeid:
  8591. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8592. type: string
  8593. trademode:
  8594. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8595. 21:竞拍-大宗式 22:受托竞价
  8596. type: integer
  8597. tradeprice:
  8598. description: 成交价格
  8599. type: number
  8600. tradeqty:
  8601. description: 成交数量
  8602. type: integer
  8603. required:
  8604. - goodscode
  8605. - goodsname
  8606. - tradeid
  8607. - trademode
  8608. type: object
  8609. models.HsbySellMyDetail:
  8610. properties:
  8611. accountid:
  8612. description: 账户ID[报价币种]
  8613. type: integer
  8614. agreeunit:
  8615. description: 合约单位
  8616. type: number
  8617. buyorsell:
  8618. description: 买卖 - 0:买 1:卖
  8619. type: integer
  8620. currencysign:
  8621. description: 货币符号
  8622. type: string
  8623. decimalplace:
  8624. description: 报价小数位
  8625. type: integer
  8626. goodscode:
  8627. description: 商品代码(内部)
  8628. type: string
  8629. goodsid:
  8630. description: 商品ID
  8631. type: integer
  8632. goodsname:
  8633. description: 商品名称
  8634. type: string
  8635. marketid:
  8636. description: 市场ID
  8637. type: integer
  8638. orderid:
  8639. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8640. type: string
  8641. ordertype:
  8642. description: 单据类型:0 - 发布中, 1 - 已完成
  8643. type: integer
  8644. picurls:
  8645. description: 介绍图片[多张用逗号分隔]
  8646. type: string
  8647. price:
  8648. description: 价格
  8649. type: number
  8650. qty:
  8651. description: 数量
  8652. type: integer
  8653. time:
  8654. description: 时间
  8655. type: string
  8656. trademode:
  8657. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8658. 21:竞拍-大宗式 22:受托竞价
  8659. type: integer
  8660. vendorname:
  8661. description: 供应商名称
  8662. type: string
  8663. required:
  8664. - accountid
  8665. - buyorsell
  8666. - goodscode
  8667. - goodsid
  8668. - goodsname
  8669. - marketid
  8670. - orderid
  8671. - time
  8672. - trademode
  8673. type: object
  8674. models.HsbyTopGoods:
  8675. properties:
  8676. agreeunit:
  8677. description: 合约单位
  8678. type: number
  8679. currency:
  8680. description: 货币
  8681. type: string
  8682. currencysign:
  8683. description: 货币符号
  8684. type: string
  8685. decimalplace:
  8686. description: 报价小数位
  8687. type: integer
  8688. desccityid:
  8689. description: 目的地(市)
  8690. type: integer
  8691. descprovinceid:
  8692. description: 目的地(省)
  8693. type: integer
  8694. goodscode:
  8695. description: 商品代码(内部)
  8696. type: string
  8697. goodsid:
  8698. description: 商品ID(自增ID SEQ_GOODS)
  8699. type: integer
  8700. goodsname:
  8701. description: 商品名称
  8702. type: string
  8703. hotindex:
  8704. description: 景点热度
  8705. type: integer
  8706. last:
  8707. description: 现价
  8708. type: number
  8709. marketid:
  8710. description: 所属市场ID
  8711. type: integer
  8712. picurls:
  8713. description: 介绍图片[多张用逗号分隔]
  8714. type: string
  8715. quoteminunit:
  8716. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8717. type: integer
  8718. trademode:
  8719. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8720. 21:竞拍-大宗式 22:受托竞价
  8721. type: integer
  8722. videourls:
  8723. description: 介绍视频[多张用逗号分隔]
  8724. type: string
  8725. required:
  8726. - goodscode
  8727. - goodsid
  8728. - goodsname
  8729. - marketid
  8730. - trademode
  8731. type: object
  8732. models.HybsMyBuyOrderDetail:
  8733. properties:
  8734. accountid:
  8735. description: 账户ID[报价币种]
  8736. type: integer
  8737. agreeunit:
  8738. description: 合约单位
  8739. type: number
  8740. buyorsell:
  8741. description: 买卖 - 0:买 1:卖
  8742. type: integer
  8743. cancelqty:
  8744. description: 撤单数量
  8745. type: integer
  8746. currencysign:
  8747. description: 货币符号
  8748. type: string
  8749. decimalplace:
  8750. description: 报价小数位
  8751. type: integer
  8752. goodscode:
  8753. description: 商品代码(内部)
  8754. type: string
  8755. goodsid:
  8756. description: 商品ID
  8757. type: integer
  8758. goodsname:
  8759. description: 商品名称
  8760. type: string
  8761. listingselecttype:
  8762. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8763. type: integer
  8764. marketid:
  8765. description: 市场ID
  8766. type: integer
  8767. mybuystatus:
  8768. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8769. type: integer
  8770. orderamount:
  8771. description: 委托金额
  8772. type: number
  8773. orderid:
  8774. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8775. type: string
  8776. orderprice:
  8777. description: 委托价格
  8778. type: number
  8779. orderqty:
  8780. description: 委托数量
  8781. type: integer
  8782. orderstatus:
  8783. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8784. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8785. 16:成交失败违约(荷兰式竞拍专用)
  8786. type: integer
  8787. ordertime:
  8788. description: 委托时间
  8789. type: string
  8790. picurls1:
  8791. description: 预售商品介绍图片[多张用逗号分隔]
  8792. type: string
  8793. picurls2:
  8794. description: 挂牌商品介绍图片[多张用逗号分隔]
  8795. type: string
  8796. trademode:
  8797. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8798. 21:竞拍-大宗式 22:受托竞价
  8799. type: integer
  8800. tradeqty:
  8801. description: 成交数量
  8802. type: integer
  8803. vendorname1:
  8804. description: 预售商品供应商名称
  8805. type: string
  8806. vendorname2:
  8807. description: 挂牌商品供应商名称
  8808. type: string
  8809. required:
  8810. - accountid
  8811. - buyorsell
  8812. - goodscode
  8813. - goodsid
  8814. - goodsname
  8815. - marketid
  8816. - orderid
  8817. - orderqty
  8818. - ordertime
  8819. - trademode
  8820. type: object
  8821. models.Loginaccount:
  8822. properties:
  8823. accountname:
  8824. description: 账户名称
  8825. type: string
  8826. canoutin:
  8827. description: 是否可出入金 - 0:不可 1:可
  8828. type: integer
  8829. clientroleid:
  8830. description: 终端角色ID
  8831. type: integer
  8832. haslogined:
  8833. description: 是否已登录 - 0:未登录 1:已登录
  8834. type: integer
  8835. hasupdatedpwd:
  8836. description: 是否已更改密码 - 0:未修改 1:已修改
  8837. type: integer
  8838. lastloginip:
  8839. description: 最新登录地址
  8840. type: string
  8841. lastloginmode:
  8842. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8843. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8844. type: integer
  8845. lastloginremark:
  8846. description: 最新登录描述
  8847. type: string
  8848. lastlogintime:
  8849. description: 最新登录时间
  8850. type: string
  8851. logincode:
  8852. description: 登录代码
  8853. type: string
  8854. loginfailnum:
  8855. description: 连续登录失败次数(登录成功时清零)
  8856. type: integer
  8857. loginid:
  8858. description: 登陆账号
  8859. type: integer
  8860. loginport:
  8861. description: 最新登录端口
  8862. type: integer
  8863. loginstatus:
  8864. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8865. type: integer
  8866. loginusertype:
  8867. description: 登录账号类型 - 1:投资者 2:机构交易员
  8868. type: integer
  8869. mobile:
  8870. description: 手机号码(加密存储)
  8871. type: string
  8872. modifierid:
  8873. description: 修改人
  8874. type: integer
  8875. modifysrc:
  8876. description: 审核来源 - 1:管理端 2:终端
  8877. type: integer
  8878. modifytime:
  8879. description: 修改时间
  8880. type: string
  8881. password:
  8882. description: 登陆密码
  8883. type: string
  8884. pwdwrongcount:
  8885. description: 密码错误次数
  8886. type: integer
  8887. relateduserid:
  8888. description: 关联用户ID(机构)
  8889. type: integer
  8890. taaccountrighttype:
  8891. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8892. type: integer
  8893. unfreezetime:
  8894. description: 账户解冻时间
  8895. type: string
  8896. userid:
  8897. description: 用户ID
  8898. type: integer
  8899. required:
  8900. - loginid
  8901. type: object
  8902. models.MainAccountInfo:
  8903. properties:
  8904. accountid:
  8905. description: 账号id
  8906. type: integer
  8907. accountname:
  8908. description: 账号名称(taaccount表中的名称)
  8909. type: string
  8910. appid:
  8911. description: AppID
  8912. type: string
  8913. authcode:
  8914. description: 授权码
  8915. type: string
  8916. brokerid:
  8917. description: 经纪商id
  8918. type: string
  8919. fcid:
  8920. description: 期货公司id
  8921. type: integer
  8922. fcname:
  8923. description: 期货公司代码
  8924. type: string
  8925. hedgeaccountcode:
  8926. description: 外部账号代码(主账号登录代码)
  8927. type: string
  8928. hedgeaccountpwd:
  8929. description: 密码
  8930. type: string
  8931. ismain:
  8932. description: 是否主账号
  8933. type: integer
  8934. relateduserid:
  8935. description: 关联用户id
  8936. type: integer
  8937. userid:
  8938. description: 关联用户id
  8939. type: integer
  8940. type: object
  8941. models.Market:
  8942. properties:
  8943. auctionwrtype:
  8944. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8945. type: integer
  8946. canacceptquote:
  8947. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8948. type: integer
  8949. cangoodsexercise:
  8950. description: '[期权]是否可现货行权- 0:否 1:是'
  8951. type: integer
  8952. cangoodsexercisetype:
  8953. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8954. type: integer
  8955. canmanualquotestrike:
  8956. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8957. type: integer
  8958. canmutistage:
  8959. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8960. type: integer
  8961. canpreexercise:
  8962. description: '[期权]是否可预申报- 0:否 1:是'
  8963. type: integer
  8964. clearinterval:
  8965. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8966. type: integer
  8967. contracttmp:
  8968. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8969. type: string
  8970. exchareaid:
  8971. description: 所属交易所,可以没有
  8972. type: integer
  8973. goodstype:
  8974. description: 商品类型 - 1:交易商品 2:仓单商品
  8975. type: integer
  8976. hasrebate:
  8977. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8978. type: integer
  8979. hastradecredit:
  8980. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8981. type: integer
  8982. haswr:
  8983. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8984. type: integer
  8985. isdeductmargin:
  8986. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8987. type: integer
  8988. isrecordsource:
  8989. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8990. type: integer
  8991. isreleasemargin:
  8992. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8993. type: integer
  8994. marginformula:
  8995. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8996. type: integer
  8997. marginformula2:
  8998. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8999. type: integer
  9000. marketid:
  9001. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9002. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9003. type: integer
  9004. marketname:
  9005. description: 市场名称
  9006. type: string
  9007. marketserviceid:
  9008. description: 市场服务ID
  9009. type: integer
  9010. marketstatus:
  9011. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9012. type: integer
  9013. markettype:
  9014. description: 市场类型- 1:非交易服务 2:交易服务
  9015. type: integer
  9016. matchermode:
  9017. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9018. type: integer
  9019. openmethod:
  9020. description: 开盘模式 - 0 自动 1手动
  9021. type: integer
  9022. otcuserid:
  9023. description: 场外期权做市商[场外期权]
  9024. type: integer
  9025. outersynctime:
  9026. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9027. type: string
  9028. pendingflag:
  9029. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9030. type: integer
  9031. pendingtime:
  9032. description: 待开市时间[通道交易-对冲](HH:mm)
  9033. type: string
  9034. performancetempid:
  9035. description: 履约计划模板ID - 作废
  9036. type: integer
  9037. premiumquotemode:
  9038. description: 权利金报价方式 - 1:自动 2:手动
  9039. type: integer
  9040. rebateratio:
  9041. description: 返利比率[竞价式]
  9042. type: number
  9043. reckonorder:
  9044. description: 结算顺序
  9045. type: integer
  9046. reckonpricealgorithm:
  9047. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9048. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9049. type: integer
  9050. reckonpriceparam:
  9051. description: 结算价参数
  9052. type: integer
  9053. reckontime:
  9054. description: 结算时间[通道交易-对冲](HH:mm)
  9055. type: string
  9056. roleprioritytype:
  9057. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9058. type: integer
  9059. selllistingauditflag:
  9060. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9061. type: integer
  9062. trademarkettype:
  9063. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9064. type: integer
  9065. trademode:
  9066. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9067. 21:竞拍-大宗式 22:受托竞价
  9068. type: integer
  9069. tradeproperty:
  9070. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9071. 8:场外期权
  9072. type: integer
  9073. tradetype:
  9074. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9075. type: integer
  9076. required:
  9077. - marketid
  9078. - marketstatus
  9079. - openmethod
  9080. - reckonpricealgorithm
  9081. - trademode
  9082. - tradeproperty
  9083. type: object
  9084. models.Marketrun:
  9085. properties:
  9086. afternexttradedate:
  9087. description: 下下交易日
  9088. type: string
  9089. clearquoteflag:
  9090. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9091. type: integer
  9092. lastreckondate:
  9093. description: 最新交易日(结算成功)
  9094. type: string
  9095. machinedate:
  9096. description: 机器时间
  9097. type: string
  9098. manualflag:
  9099. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9100. type: integer
  9101. marketid:
  9102. description: 市场ID
  9103. type: integer
  9104. nexttradedate:
  9105. description: 下一交易日
  9106. type: string
  9107. pretradedate:
  9108. description: 上一交易日
  9109. type: string
  9110. reckonflag:
  9111. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9112. type: integer
  9113. runstatus:
  9114. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9115. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9116. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9117. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9118. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9119. 62.今日免清算
  9120. type: integer
  9121. sectionid:
  9122. description: 时间段号[多时段时用]
  9123. type: integer
  9124. tradedate:
  9125. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9126. type: string
  9127. tradedate2:
  9128. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9129. type: string
  9130. updatetime:
  9131. description: 更新时间
  9132. type: string
  9133. required:
  9134. - marketid
  9135. - nexttradedate
  9136. - reckonflag
  9137. - runstatus
  9138. - tradedate
  9139. - tradedate2
  9140. type: object
  9141. models.Messageboard:
  9142. properties:
  9143. contactnum:
  9144. description: 联系电话
  9145. type: string
  9146. createtime:
  9147. description: 创建时间
  9148. type: string
  9149. message:
  9150. description: 留言信息
  9151. type: string
  9152. messageboardid:
  9153. description: 留言簿ID(SEQ_MessageBoard)
  9154. type: integer
  9155. userid:
  9156. description: 用户ID
  9157. type: integer
  9158. required:
  9159. - messageboardid
  9160. type: object
  9161. models.MyCoupon:
  9162. properties:
  9163. accountid:
  9164. description: 资金账户ID
  9165. type: integer
  9166. areauserid:
  9167. description: 所属机构
  9168. type: integer
  9169. conditionvalue:
  9170. description: 条件阈值(可为0)
  9171. type: number
  9172. couponcategroy:
  9173. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9174. type: integer
  9175. couponname:
  9176. description: 优惠券名称
  9177. type: string
  9178. coupontypeid:
  9179. description: 优惠券类型ID
  9180. type: string
  9181. couponvalue:
  9182. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9183. type: number
  9184. curfreezeqty:
  9185. description: 期末冻结数量
  9186. type: integer
  9187. curqty:
  9188. description: 期末数量
  9189. type: integer
  9190. isgeneral:
  9191. description: 是否通用券 - 0:否 1:是
  9192. type: integer
  9193. isunusable:
  9194. description: 是否不可用
  9195. type: boolean
  9196. limitedflag:
  9197. description: 是否指定商品 - 0:不限 1:限制
  9198. type: integer
  9199. limitedgoodsids:
  9200. description: 指定商品IDs[逗号分隔,前后加逗号]
  9201. type: string
  9202. orifreezeqty:
  9203. description: 期初冻结数量
  9204. type: integer
  9205. oriqty:
  9206. description: 期初数量
  9207. type: integer
  9208. reasontype:
  9209. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9210. type: integer
  9211. todaydecrease:
  9212. description: 今日减少
  9213. type: integer
  9214. todayincrease:
  9215. description: 今日增加
  9216. type: integer
  9217. userid:
  9218. description: 用户ID
  9219. type: integer
  9220. userscope:
  9221. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9222. type: string
  9223. required:
  9224. - accountid
  9225. - coupontypeid
  9226. type: object
  9227. models.MyCouponHold:
  9228. properties:
  9229. accountid:
  9230. description: 资金账户ID
  9231. type: integer
  9232. conditionvalue:
  9233. description: 条件阈值(可为0)
  9234. type: number
  9235. couponcategroy:
  9236. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9237. type: integer
  9238. couponholdid:
  9239. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9240. type: string
  9241. couponname:
  9242. description: 优惠券名称
  9243. type: string
  9244. coupontypeid:
  9245. description: 优惠券类型ID - SEQ_COUPONTYPE
  9246. type: string
  9247. couponvalue:
  9248. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9249. type: number
  9250. createtime:
  9251. description: 创建时间
  9252. type: string
  9253. enddate:
  9254. description: 结束日期
  9255. type: string
  9256. giveapplyid:
  9257. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9258. type: integer
  9259. holdstatus:
  9260. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9261. type: integer
  9262. isgeneral:
  9263. description: 是否通用券 - 0:否 1:是
  9264. type: integer
  9265. limitedflag:
  9266. description: 是否指定商品 - 0:不限 1:限制
  9267. type: integer
  9268. limitedgoodsids:
  9269. description: 指定商品IDs[逗号分隔]
  9270. type: string
  9271. qty:
  9272. description: 数量(按1平铺)
  9273. type: integer
  9274. startdate:
  9275. description: 开始日期
  9276. type: string
  9277. userid:
  9278. description: 用户ID
  9279. type: integer
  9280. userscope:
  9281. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9282. type: string
  9283. required:
  9284. - couponholdid
  9285. type: object
  9286. models.MyUsedCoupon:
  9287. properties:
  9288. accountid:
  9289. description: 资金账户ID(买方)
  9290. type: integer
  9291. conditionvalue:
  9292. description: 条件阈值(可为0)
  9293. type: number
  9294. couponcategroy:
  9295. description: 种类 - 1:现金券 2:折扣券
  9296. type: integer
  9297. couponname:
  9298. description: 优惠券名称
  9299. type: string
  9300. coupontypeid:
  9301. description: 优惠券类型ID(买方)
  9302. type: string
  9303. couponvalue:
  9304. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9305. type: number
  9306. createtime:
  9307. description: 创建时间
  9308. type: string
  9309. goodsid:
  9310. description: 商品ID
  9311. type: integer
  9312. handlestatus:
  9313. description: 处理状态
  9314. type: integer
  9315. marketid:
  9316. description: 市场ID
  9317. type: integer
  9318. offamount:
  9319. description: 优惠金额
  9320. type: number
  9321. orderid:
  9322. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9323. type: string
  9324. sellaccountid:
  9325. description: 资金账户ID(卖方)
  9326. type: integer
  9327. tradeamount:
  9328. description: 成交金额
  9329. type: number
  9330. tradeid:
  9331. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9332. type: string
  9333. usedqty:
  9334. description: 使用数量
  9335. type: integer
  9336. required:
  9337. - coupontypeid
  9338. - orderid
  9339. type: object
  9340. models.OperationPrimaryMenu:
  9341. properties:
  9342. Children:
  9343. description: 二级功能菜单
  9344. items:
  9345. $ref: '#/definitions/models.OperationSecondaryMenu'
  9346. type: array
  9347. Key:
  9348. description: 菜单KEY
  9349. type: string
  9350. Label:
  9351. description: 菜单标题
  9352. type: string
  9353. type: object
  9354. models.OperationSecondaryMenu:
  9355. properties:
  9356. Key:
  9357. description: 菜单KEY
  9358. type: string
  9359. Label:
  9360. description: 菜单标题
  9361. type: string
  9362. TabList:
  9363. description: 三级功能菜单
  9364. items:
  9365. $ref: '#/definitions/models.OperationTabMenu'
  9366. type: array
  9367. type: object
  9368. models.OperationTabMenu:
  9369. properties:
  9370. Key:
  9371. description: 菜单KEY
  9372. type: string
  9373. Label:
  9374. description: 菜单标题
  9375. type: string
  9376. type: object
  9377. models.PendingAuditBizModel:
  9378. properties:
  9379. accountid:
  9380. description: 现货账户
  9381. type: string
  9382. areaname:
  9383. description: 所属部门
  9384. type: string
  9385. bizid:
  9386. description: 业务ID
  9387. type: string
  9388. bizname:
  9389. description: 业务名称
  9390. type: string
  9391. status:
  9392. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9393. type: integer
  9394. type:
  9395. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9396. type: integer
  9397. type: object
  9398. models.QhjAccountOutInApply:
  9399. properties:
  9400. accountcode:
  9401. description: 资金账号
  9402. type: string
  9403. accountname:
  9404. description: 用户名称(名称)
  9405. type: string
  9406. accountpwd:
  9407. description: 资金密码
  9408. type: string
  9409. accountticket:
  9410. description: 最新账户服务流水号
  9411. type: string
  9412. amount:
  9413. description: 金额
  9414. type: number
  9415. applyremark:
  9416. description: 申请备注
  9417. type: string
  9418. applystatus:
  9419. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9420. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9421. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9422. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9423. type: integer
  9424. auditid:
  9425. description: 审核人
  9426. type: integer
  9427. audittime:
  9428. description: 审核时间
  9429. type: string
  9430. bank_apply_ticket:
  9431. description: 银行申请流水
  9432. type: string
  9433. bankaccountname:
  9434. description: 银行账户名
  9435. type: string
  9436. bankaccountno:
  9437. description: 银行卡号
  9438. type: string
  9439. bankid:
  9440. description: 银行编号
  9441. type: string
  9442. bankticket:
  9443. description: 银行流水
  9444. type: string
  9445. branchbankid:
  9446. description: 银行支行号
  9447. type: string
  9448. branchbankname:
  9449. description: 银行支行名称
  9450. type: string
  9451. capamountout:
  9452. description: 出金(劣后本金) - 外部子账户
  9453. type: number
  9454. certificatephotourl:
  9455. description: 凭证地址
  9456. type: string
  9457. charge:
  9458. description: 手续费
  9459. type: number
  9460. checkerrorflag:
  9461. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9462. type: integer
  9463. currency:
  9464. description: 币种
  9465. type: string
  9466. cusbankid:
  9467. description: 托管银行编号
  9468. type: string
  9469. exchticket:
  9470. description: 银行服务流水号
  9471. type: string
  9472. executetype:
  9473. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9474. 7:外部子账户:入金 8:外部子账户:出金'
  9475. type: integer
  9476. extendinfo:
  9477. description: 扩展信息
  9478. type: string
  9479. extoperateid:
  9480. description: 交易服务流水号
  9481. type: integer
  9482. infamount:
  9483. description: 劣后金额(自有)
  9484. type: number
  9485. logincode:
  9486. description: 登录账号(账号)
  9487. type: string
  9488. netaddr:
  9489. description: 调转网址
  9490. type: string
  9491. priamount:
  9492. description: 优先金额(授信)
  9493. type: number
  9494. reauditid:
  9495. description: 复审人
  9496. type: integer
  9497. reauditremark:
  9498. description: 复审备注
  9499. type: string
  9500. reaudittime:
  9501. description: 复审时间
  9502. type: string
  9503. relatedorderid:
  9504. description: 三方关联ID
  9505. type: string
  9506. remark:
  9507. description: 备注
  9508. type: string
  9509. remark2:
  9510. description: 备注(失败原因)
  9511. type: string
  9512. soucreamount:
  9513. description: 原始出入金金额
  9514. type: number
  9515. soucrecurrencyid:
  9516. description: 原始出入金币种
  9517. type: integer
  9518. tradedate:
  9519. description: 交易日(yyyyMMdd)
  9520. type: string
  9521. updatetime:
  9522. description: 更新时间(申请时间)
  9523. type: string
  9524. userid:
  9525. description: 用户id
  9526. type: integer
  9527. userinfotype:
  9528. description: 账户类型 1-个人 2-企业
  9529. type: integer
  9530. type: object
  9531. models.QhjAgreementChangeLog:
  9532. properties:
  9533. agreementcontent:
  9534. description: 协议内容
  9535. type: string
  9536. agreementfrequency:
  9537. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9538. type: integer
  9539. agreementid:
  9540. description: 协议ID
  9541. type: integer
  9542. agreementname:
  9543. description: 协议名称
  9544. type: string
  9545. agreementno:
  9546. description: 协议编号
  9547. type: string
  9548. agreementtype:
  9549. description: 协议类型 - 1:注册 2:登录 3:交易
  9550. type: integer
  9551. agreementversion:
  9552. description: 协议版本号
  9553. type: integer
  9554. logid:
  9555. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9556. type: integer
  9557. reviserid:
  9558. description: 修改人
  9559. type: integer
  9560. revisersrc:
  9561. description: 修改来源 - 1:管理端 2:终端
  9562. type: integer
  9563. updatetime:
  9564. description: 更新时间
  9565. type: string
  9566. type: object
  9567. models.QhjAgreementConfig:
  9568. properties:
  9569. agreementcontent:
  9570. description: 协议内容
  9571. type: string
  9572. agreementfrequency:
  9573. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9574. type: integer
  9575. agreementid:
  9576. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9577. type: integer
  9578. agreementname:
  9579. description: 协议名称
  9580. type: string
  9581. agreementno:
  9582. description: 协议编号
  9583. type: string
  9584. agreementtype:
  9585. description: 协议类型 - 1:注册 2:登录 3:交易
  9586. type: integer
  9587. agreementversion:
  9588. description: 协议版本号(从1开始每次修改加1)
  9589. type: integer
  9590. createtime:
  9591. description: 创建时间
  9592. type: string
  9593. creatorid:
  9594. description: 创建人
  9595. type: integer
  9596. creatorsrc:
  9597. description: 创建来源 - 1:管理端 2:终端
  9598. type: integer
  9599. isvalid:
  9600. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9601. type: integer
  9602. reviserid:
  9603. description: 修改人
  9604. type: integer
  9605. revisersrc:
  9606. description: 修改来源 - 1:管理端 2:终端
  9607. type: integer
  9608. updatetime:
  9609. description: 更新时间
  9610. type: string
  9611. type: object
  9612. models.QhjAreaFinanceConfig:
  9613. properties:
  9614. additionalratio:
  9615. description: 追加款比例
  9616. type: number
  9617. advanceratio:
  9618. description: 预付款比例
  9619. type: number
  9620. alarmratio:
  9621. description: 告警比例
  9622. type: number
  9623. consumptiondirectreward:
  9624. description: 消费直推奖励值
  9625. type: number
  9626. consumptionenabled:
  9627. description: 是否启用消费奖励 - 0:不启用 1:启用
  9628. type: integer
  9629. consumptionindirectreward:
  9630. description: 消费间推奖励值
  9631. type: number
  9632. consumptionmodel:
  9633. description: 消费奖励方式 - 1:比率 2:固定
  9634. type: integer
  9635. customerservicenum:
  9636. description: 客服电话
  9637. type: string
  9638. dayinterestrate:
  9639. description: 日利率
  9640. type: number
  9641. disableconsumptiontips:
  9642. description: 关闭消费奖励提示
  9643. type: string
  9644. modifierid:
  9645. description: 修改人ID
  9646. type: integer
  9647. modifysrc:
  9648. description: 审核来源 - 1:管理端 2:终端
  9649. type: integer
  9650. modifytime:
  9651. description: 修改时间
  9652. type: string
  9653. promotionvalue:
  9654. description: 推广奖励值(固定)
  9655. type: number
  9656. scoreconfigvalue1:
  9657. description: 提货积分配置1
  9658. type: integer
  9659. scoreconfigvalue2:
  9660. description: 提货积分配置2
  9661. type: integer
  9662. userid:
  9663. description: 机构用户ID其他做市关系,都设置为 1
  9664. type: integer
  9665. username:
  9666. description: 用户名称
  9667. type: string
  9668. type: object
  9669. models.QhjBankAccountSign:
  9670. properties:
  9671. accountcode:
  9672. description: 资金账号
  9673. type: string
  9674. accountname:
  9675. description: 资金账号对应的账号名(UserName)
  9676. type: string
  9677. accountname2:
  9678. description: 资金账号对应的账号名(UserName) - 密文
  9679. type: string
  9680. accounttype:
  9681. description: 账户类型(UserType)
  9682. type: integer
  9683. applicationtime:
  9684. description: 最后一次更新的时间
  9685. type: string
  9686. applyexchticket:
  9687. description: 申请流水
  9688. type: string
  9689. auditid:
  9690. description: 审核人
  9691. type: integer
  9692. audittime:
  9693. description: 审核时间
  9694. type: string
  9695. bankaccountname:
  9696. description: 签约银行卡账号名
  9697. type: string
  9698. bankaccountname2:
  9699. description: 签约银行卡账号名 - 密文
  9700. type: string
  9701. bankaccountno:
  9702. description: 银行卡号
  9703. type: string
  9704. bankaccountno2:
  9705. description: 银行卡号 - 密文
  9706. type: string
  9707. bankaccounttype:
  9708. description: 银行账户类型 - 1-对私; 2-对公
  9709. type: integer
  9710. bankcardtype:
  9711. description: 银行卡类型
  9712. type: integer
  9713. bankchildaccount:
  9714. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9715. type: string
  9716. bankcity:
  9717. description: 开户行城市
  9718. type: string
  9719. bankid:
  9720. description: 签约银行ID
  9721. type: string
  9722. bankname:
  9723. description: 签约银行名称
  9724. type: string
  9725. bankprovince:
  9726. description: 开户行省份
  9727. type: string
  9728. branchbankid:
  9729. description: 签约银行支行号
  9730. type: string
  9731. branchbankname:
  9732. description: 签约银行支行名称
  9733. type: string
  9734. cardno:
  9735. description: 证件号码
  9736. type: string
  9737. cardno2:
  9738. description: 证件号码 - 密文
  9739. type: string
  9740. cardtype:
  9741. description: 证件类型
  9742. type: string
  9743. currency:
  9744. description: 币种
  9745. type: string
  9746. cusbankid:
  9747. description: 托管银行编号
  9748. type: string
  9749. direct:
  9750. description: 方向(可以判断那方先发起的签约)
  9751. type: integer
  9752. exchticket:
  9753. description: 最后一次签约成功的流水号
  9754. type: string
  9755. extendinfo:
  9756. description: 扩展信息(JSON字符串)
  9757. type: string
  9758. mobilephone:
  9759. description: 手机号
  9760. type: string
  9761. mobilephone2:
  9762. description: 手机号 - 密文
  9763. type: string
  9764. netaddr:
  9765. description: 调转网址
  9766. type: string
  9767. relateduserid:
  9768. description: 关联使用者userid
  9769. type: integer
  9770. signstatus:
  9771. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9772. 10:审核拒绝 11:换签待审核
  9773. type: integer
  9774. updatetime:
  9775. description: 更新时间(签解约更新时间)
  9776. type: string
  9777. type: object
  9778. models.QhjBankInfo:
  9779. properties:
  9780. bankid:
  9781. description: 银行ID
  9782. type: string
  9783. bankname:
  9784. description: 银行名称
  9785. type: string
  9786. clearbankno:
  9787. description: 清算系统银行编号
  9788. type: string
  9789. orderindex:
  9790. description: 排序顺序
  9791. type: integer
  9792. status:
  9793. description: 状态 - 0:正常 1:注销
  9794. type: integer
  9795. type: object
  9796. models.QhjBrokerApply:
  9797. properties:
  9798. applicantid:
  9799. description: 申请人
  9800. type: integer
  9801. applysrc:
  9802. description: 申请来源 - 1:管理端 2:终端
  9803. type: integer
  9804. applystatus:
  9805. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9806. type: integer
  9807. applytime:
  9808. description: 申请时间
  9809. type: string
  9810. auditorid:
  9811. description: 审核人
  9812. type: integer
  9813. auditremark:
  9814. description: 审核备注
  9815. type: string
  9816. auditsrc:
  9817. description: 审核来源 - 1:管理端 2:终端
  9818. type: integer
  9819. audittime:
  9820. description: 审核时间
  9821. type: string
  9822. audittradedate:
  9823. description: 审核交易日(yyyyMMdd)
  9824. type: string
  9825. brokerapplyid:
  9826. description: 申请ID(SEQ_BROKERAPPLY)
  9827. type: integer
  9828. cardbackphotourl:
  9829. description: 证件背面图片地址
  9830. type: string
  9831. cardfrontphotourl:
  9832. description: 证件正面图片地址
  9833. type: string
  9834. cardnum:
  9835. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9836. type: string
  9837. customername:
  9838. description: 姓名
  9839. type: string
  9840. logincode:
  9841. description: 登录代码
  9842. type: string
  9843. mobile:
  9844. description: 手机号码
  9845. type: string
  9846. parentuserid:
  9847. description: 所属机构id
  9848. type: integer
  9849. parentusername:
  9850. description: 所属机构名称
  9851. type: string
  9852. refereeuserid:
  9853. description: 推荐人id(经纪人)
  9854. type: integer
  9855. refernum:
  9856. description: 推荐码
  9857. type: string
  9858. remark:
  9859. description: 备注
  9860. type: string
  9861. subarealevelpath:
  9862. description: 层级路径
  9863. type: string
  9864. tradedate:
  9865. description: 交易日(yyyyMMdd)
  9866. type: string
  9867. userid:
  9868. description: 申请人用户ID
  9869. type: integer
  9870. userinfotype:
  9871. description: 用户类型 1-个人 2-企业
  9872. type: integer
  9873. username:
  9874. description: 用户名称
  9875. type: string
  9876. type: object
  9877. models.QhjBrokerApplyEx:
  9878. properties:
  9879. applylist:
  9880. description: 经纪人申请记录(只返回最新一条)
  9881. items:
  9882. $ref: '#/definitions/models.QhjBrokerApply'
  9883. type: array
  9884. canrecommend:
  9885. description: 是否经纪人 0-不是 1-是
  9886. type: integer
  9887. refernum:
  9888. description: 推荐码
  9889. type: string
  9890. userid:
  9891. description: 用户id
  9892. type: integer
  9893. userinfotype:
  9894. description: 用户类型 1-个人 2-企业
  9895. type: integer
  9896. type: object
  9897. models.QhjBrokerRewardLog:
  9898. properties:
  9899. accountid:
  9900. description: 资金账号ID
  9901. type: integer
  9902. createtime:
  9903. description: 创建时间(时间)
  9904. type: string
  9905. handlestatus:
  9906. description: 处理状态
  9907. type: integer
  9908. logid:
  9909. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9910. type: string
  9911. marketid:
  9912. description: 市场ID
  9913. type: integer
  9914. mmaccountid:
  9915. description: 做市商资金账号ID
  9916. type: string
  9917. mmuserid:
  9918. description: 做市商用户ID
  9919. type: string
  9920. rewardamount:
  9921. description: 奖励金额
  9922. type: number
  9923. rewardmodel:
  9924. description: 消费奖励方式 - 1:比率 2:固定
  9925. type: integer
  9926. rewardtype:
  9927. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9928. type: integer
  9929. rewardvalue:
  9930. description: 配置奖励值
  9931. type: number
  9932. srcamount:
  9933. description: 成交金额 [消费奖励] (金额)
  9934. type: number
  9935. srcgoodsid:
  9936. description: 来源商品ID [消费奖励]
  9937. type: string
  9938. srctime:
  9939. description: 来源时间 (成交时间) [消费奖励]
  9940. type: string
  9941. srctradeid:
  9942. description: 来源成交单ID [消费奖励] - 排除提货成交
  9943. type: string
  9944. srcuserid:
  9945. description: 来源用户ID(推广账户)
  9946. type: string
  9947. srcusername:
  9948. description: 推广账户名称
  9949. type: string
  9950. tradedate:
  9951. description: 交易日(yyyyMMdd)
  9952. type: string
  9953. userid:
  9954. description: 经纪人用户ID
  9955. type: integer
  9956. type: object
  9957. models.QhjContract:
  9958. properties:
  9959. contractconfirmtime:
  9960. description: 合同确认时间(时间)
  9961. type: string
  9962. currisklevel:
  9963. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9964. type: integer
  9965. decimalplace:
  9966. description: 商品报价小数位
  9967. type: integer
  9968. enumdicname:
  9969. description: 单位名称
  9970. type: string
  9971. goodscode:
  9972. description: 商品代码
  9973. type: string
  9974. goodsid:
  9975. description: 商品ID [5:融资单]
  9976. type: integer
  9977. goodsname:
  9978. description: 商品名称
  9979. type: string
  9980. goodunitid:
  9981. description: 商品单位id
  9982. type: integer
  9983. initmargin:
  9984. description: 初始保证金(首付款)
  9985. type: number
  9986. lenderamount:
  9987. description: 贷款金额(总额|订单总额)
  9988. type: number
  9989. marginratio:
  9990. description: 保证金比率(首付比例)
  9991. type: number
  9992. payamount:
  9993. description: 已付(已付货款)
  9994. type: number
  9995. reckonrecovermargin:
  9996. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9997. type: number
  9998. recoveredmargin:
  9999. description: 已追缴保证金
  10000. type: number
  10001. remainamount:
  10002. description: 合同剩余金额(融资额)
  10003. type: number
  10004. scfcontractid:
  10005. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10006. type: string
  10007. scfcontractstatus:
  10008. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10009. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10010. type: integer
  10011. scfcontracttype:
  10012. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10013. type: integer
  10014. totalinterest:
  10015. description: 已计总利息(利息)
  10016. type: number
  10017. tradeprice:
  10018. description: 成交价格(成本价格)
  10019. type: number
  10020. userid:
  10021. description: 用户ID
  10022. type: integer
  10023. username:
  10024. description: 用户名称
  10025. type: string
  10026. wrqty:
  10027. description: 仓单数量(数量)
  10028. type: number
  10029. type: object
  10030. models.QhjContractLog:
  10031. properties:
  10032. amount:
  10033. description: 支付金额
  10034. type: number
  10035. amounttype:
  10036. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10037. type: integer
  10038. logid:
  10039. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10040. type: string
  10041. remainamount:
  10042. description: 剩余货款
  10043. type: number
  10044. scfcontractid:
  10045. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10046. type: integer
  10047. updatetime:
  10048. description: 更新时间
  10049. type: string
  10050. type: object
  10051. models.QhjCusBankSignBankEx:
  10052. properties:
  10053. banklst:
  10054. description: 银行列表
  10055. items:
  10056. $ref: '#/definitions/models.QhjBankInfo'
  10057. type: array
  10058. canallot:
  10059. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10060. type: integer
  10061. canallotquery:
  10062. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10063. type: integer
  10064. canbindcard:
  10065. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10066. type: integer
  10067. caninamount:
  10068. description: 是否可入金 - 0:不可 1:可以
  10069. type: integer
  10070. caninamount2:
  10071. description: 是否可入金(网银端) - 0:不可 1:可以
  10072. type: integer
  10073. canmodifybankcard:
  10074. description: 是否可修改银行卡号 - 0:不可 1:可以
  10075. type: integer
  10076. canmodifyphone:
  10077. description: 是否可修改手机号 - 0:不可 1:可以
  10078. type: integer
  10079. canmodifysigninfo:
  10080. description: 是否可修改签约信息 - 0:不可 1:可以
  10081. type: integer
  10082. canoutamount:
  10083. description: 是否可出金 - 0:不可 1:可以
  10084. type: integer
  10085. canoutamount2:
  10086. description: 是否可出金(网银端) - 0:不可 1:可以
  10087. type: integer
  10088. canrelease:
  10089. description: 是否可解约 - 0:不可 1:可以
  10090. type: integer
  10091. canrelease2:
  10092. description: 是否可解约(网银端) - 0:不可 1:可以
  10093. type: integer
  10094. cansign:
  10095. description: 是否可签约 - 0:不可 1:可以
  10096. type: integer
  10097. cansign2:
  10098. description: 是否可签约(网银端) - 0:不可 1:可以
  10099. type: integer
  10100. currency:
  10101. description: 币种
  10102. type: string
  10103. cusbankid:
  10104. description: 托管银行编号(对应清算中心TRAN_NO)
  10105. type: string
  10106. cusbankname:
  10107. description: 银行业务名称
  10108. type: string
  10109. cusbankshortname:
  10110. description: 银行业务简称
  10111. type: string
  10112. exchbankid:
  10113. description: 交易所开户银行ID
  10114. type: string
  10115. exchpaybankaccname:
  10116. description: 交易所支出结算账户户名
  10117. type: string
  10118. exchpaybankaccno:
  10119. description: 交易所支出结算账户
  10120. type: string
  10121. isneedcheck:
  10122. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10123. type: integer
  10124. isneedclear:
  10125. description: 是否需要清算 - 0:不需要 1:需要
  10126. type: integer
  10127. lastcheckstatus:
  10128. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10129. type: integer
  10130. lastchecktime:
  10131. description: 最后对账时间
  10132. type: string
  10133. lastclearstatus:
  10134. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10135. type: integer
  10136. lastcleartime:
  10137. description: 最后清算时间
  10138. type: string
  10139. lastsignintime:
  10140. description: 最后签到时间
  10141. type: string
  10142. lastsignouttime:
  10143. description: 最后签退时间
  10144. type: string
  10145. riskinfo:
  10146. description: 签约风险提示书
  10147. type: string
  10148. signstatus:
  10149. description: 当前签到/签退状态 - 1:签到 2:签退
  10150. type: integer
  10151. tradedate:
  10152. description: 交易日(yyyyMMdd)
  10153. type: string
  10154. updatetime:
  10155. description: 当前签到/签退更新时间
  10156. type: string
  10157. type: object
  10158. models.QhjCustomer:
  10159. properties:
  10160. address:
  10161. description: 通讯地址
  10162. type: string
  10163. attachment1:
  10164. description: 附件1
  10165. type: string
  10166. audittime:
  10167. description: 审核时间
  10168. type: string
  10169. cardbackphotourl:
  10170. description: 证件反面图片地址
  10171. type: string
  10172. cardfrontphotourl:
  10173. description: 证件正面图片地址
  10174. type: string
  10175. cardnum:
  10176. description: 证件号码
  10177. type: string
  10178. cardtype:
  10179. description: 证件类型
  10180. type: integer
  10181. cardtypename:
  10182. description: 证件类型名称
  10183. type: string
  10184. cityid:
  10185. description: 市
  10186. type: integer
  10187. cityname:
  10188. description: 城市名称
  10189. type: string
  10190. contactname:
  10191. description: 联系人
  10192. type: string
  10193. countryid:
  10194. description: 国家
  10195. type: integer
  10196. countryname:
  10197. description: 国家名称
  10198. type: string
  10199. createtime:
  10200. description: 创建时间
  10201. type: string
  10202. customername:
  10203. description: 客户名称
  10204. type: string
  10205. districtid:
  10206. description: 区域
  10207. type: integer
  10208. districtname:
  10209. description: 地区名称
  10210. type: string
  10211. email:
  10212. description: 邮件
  10213. type: string
  10214. legalpersonname:
  10215. description: 法人姓名(企业)
  10216. type: string
  10217. logincode:
  10218. description: 登录账号(代码)
  10219. type: string
  10220. memberuserid:
  10221. description: 所属机构ID(所属会员)
  10222. type: integer
  10223. memberusername:
  10224. description: 所属会员名称
  10225. type: string
  10226. mobile:
  10227. description: 手机号码
  10228. type: string
  10229. modifytime:
  10230. description: 修改时间
  10231. type: string
  10232. nickname:
  10233. description: 昵称
  10234. type: string
  10235. parentuserid:
  10236. description: 上级机构(所属机构)
  10237. type: integer
  10238. parentusername:
  10239. description: 所属机构名称
  10240. type: string
  10241. provinceid:
  10242. description: 省
  10243. type: integer
  10244. provincename:
  10245. description: 省名称
  10246. type: string
  10247. proxystatementurl:
  10248. description: 授权委托书
  10249. type: string
  10250. remark:
  10251. description: 备注
  10252. type: string
  10253. status:
  10254. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10255. type: integer
  10256. statusdesc:
  10257. description: 账户状态中文描述
  10258. type: string
  10259. taxpayernum:
  10260. description: 纳税人识别号
  10261. type: string
  10262. telphone:
  10263. description: 联系电话
  10264. type: string
  10265. userid:
  10266. description: 用户ID
  10267. type: integer
  10268. userinfotype:
  10269. description: 客户类型 1-个人 2-企业
  10270. type: integer
  10271. username:
  10272. description: 用户名称
  10273. type: string
  10274. type: object
  10275. models.QhjCustomerSignLog:
  10276. properties:
  10277. agreementcontent:
  10278. description: 协议内容
  10279. type: string
  10280. agreementid:
  10281. description: 协议ID
  10282. type: integer
  10283. agreementname:
  10284. description: 协议名称
  10285. type: string
  10286. agreementno:
  10287. description: 协议编号
  10288. type: string
  10289. agreementtype:
  10290. description: 协议类型 - 1:注册 2:登录 3:交易
  10291. type: integer
  10292. agreementversion:
  10293. description: 协议版本号
  10294. type: integer
  10295. createtime:
  10296. description: 创建时间
  10297. type: string
  10298. goodscode:
  10299. description: 商品代码
  10300. type: string
  10301. goodsid:
  10302. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10303. type: integer
  10304. goodsname:
  10305. description: 商品名称
  10306. type: string
  10307. logid:
  10308. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10309. type: integer
  10310. nodetype:
  10311. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10312. type: integer
  10313. signadressurl:
  10314. description: 签约文件地址
  10315. type: string
  10316. signtimestamp:
  10317. description: 签约状态时间戳
  10318. type: string
  10319. userid:
  10320. description: 客户ID
  10321. type: integer
  10322. username:
  10323. description: 客户名称
  10324. type: string
  10325. type: object
  10326. models.QhjCustomerSignStatus:
  10327. properties:
  10328. createtime:
  10329. description: 创建时间
  10330. type: string
  10331. goodscode:
  10332. description: 商品代码
  10333. type: string
  10334. goodsid:
  10335. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10336. type: integer
  10337. goodsname:
  10338. description: 商品名称
  10339. type: string
  10340. nodetype:
  10341. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10342. type: integer
  10343. signtimestamp:
  10344. description: 签约状态时间戳
  10345. type: string
  10346. tradedate:
  10347. description: 创建交易日(yyyyMMdd)
  10348. type: string
  10349. updatetime:
  10350. description: 更新时间
  10351. type: string
  10352. userid:
  10353. description: 客户ID
  10354. type: integer
  10355. username:
  10356. description: 客户名称
  10357. type: string
  10358. type: object
  10359. models.QhjMgrAccountOutInApply:
  10360. properties:
  10361. accountcode:
  10362. description: 资金账号
  10363. type: string
  10364. accountname:
  10365. description: 用户名称(名称)
  10366. type: string
  10367. accountpwd:
  10368. description: 资金密码
  10369. type: string
  10370. accountticket:
  10371. description: 最新账户服务流水号
  10372. type: string
  10373. amount:
  10374. description: 金额
  10375. type: number
  10376. applyremark:
  10377. description: 申请备注
  10378. type: string
  10379. applystatus:
  10380. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10381. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10382. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10383. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10384. type: integer
  10385. auditid:
  10386. description: 审核人
  10387. type: integer
  10388. audittime:
  10389. description: 审核时间
  10390. type: string
  10391. bank_apply_ticket:
  10392. description: 银行申请流水
  10393. type: string
  10394. bankaccountname:
  10395. description: 银行账户名
  10396. type: string
  10397. bankaccountno:
  10398. description: 银行卡号
  10399. type: string
  10400. bankid:
  10401. description: 银行编号
  10402. type: string
  10403. bankname:
  10404. description: 银行名称
  10405. type: string
  10406. bankticket:
  10407. description: 银行流水
  10408. type: string
  10409. branchbankid:
  10410. description: 银行支行号
  10411. type: string
  10412. branchbankname:
  10413. description: 银行支行名称
  10414. type: string
  10415. capamountout:
  10416. description: 出金(劣后本金) - 外部子账户
  10417. type: number
  10418. certificatephotourl:
  10419. description: 凭证地址
  10420. type: string
  10421. charge:
  10422. description: 手续费
  10423. type: number
  10424. checkerrorflag:
  10425. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10426. type: integer
  10427. currency:
  10428. description: 币种
  10429. type: string
  10430. cusbankid:
  10431. description: 托管银行编号
  10432. type: string
  10433. exchticket:
  10434. description: 银行服务流水号
  10435. type: string
  10436. executetype:
  10437. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10438. 7:外部子账户:入金 8:外部子账户:出金'
  10439. type: integer
  10440. extendinfo:
  10441. description: 扩展信息
  10442. type: string
  10443. extoperateid:
  10444. description: 交易服务流水号
  10445. type: integer
  10446. infamount:
  10447. description: 劣后金额(自有)
  10448. type: number
  10449. logincode:
  10450. description: 登录账号(账号)
  10451. type: string
  10452. netaddr:
  10453. description: 调转网址
  10454. type: string
  10455. priamount:
  10456. description: 优先金额(授信)
  10457. type: number
  10458. reauditid:
  10459. description: 复审人
  10460. type: integer
  10461. reauditremark:
  10462. description: 复审备注
  10463. type: string
  10464. reaudittime:
  10465. description: 复审时间
  10466. type: string
  10467. relatedorderid:
  10468. description: 三方关联ID
  10469. type: string
  10470. remark:
  10471. description: 备注
  10472. type: string
  10473. remark2:
  10474. description: 备注(失败原因)
  10475. type: string
  10476. soucreamount:
  10477. description: 原始出入金金额
  10478. type: number
  10479. soucrecurrencyid:
  10480. description: 原始出入金币种
  10481. type: integer
  10482. tradedate:
  10483. description: 交易日(yyyyMMdd)
  10484. type: string
  10485. updatetime:
  10486. description: 更新时间(申请时间)
  10487. type: string
  10488. userid:
  10489. description: 用户id
  10490. type: integer
  10491. userinfotype:
  10492. description: 账户类型 1-个人 2-企业
  10493. type: integer
  10494. type: object
  10495. models.QhjMgrBrokerApply:
  10496. properties:
  10497. applicantid:
  10498. description: 申请人
  10499. type: integer
  10500. applysrc:
  10501. description: 申请来源 - 1:管理端 2:终端
  10502. type: integer
  10503. applystatus:
  10504. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10505. type: integer
  10506. applytime:
  10507. description: 申请时间
  10508. type: string
  10509. auditorid:
  10510. description: 审核人
  10511. type: integer
  10512. auditremark:
  10513. description: 审核备注
  10514. type: string
  10515. auditsrc:
  10516. description: 审核来源 - 1:管理端 2:终端
  10517. type: integer
  10518. audittime:
  10519. description: 审核时间
  10520. type: string
  10521. audittradedate:
  10522. description: 审核交易日(yyyyMMdd)
  10523. type: string
  10524. brokerapplyid:
  10525. description: 申请ID(SEQ_BROKERAPPLY)
  10526. type: integer
  10527. cardbackphotourl:
  10528. description: 证件背面图片地址
  10529. type: string
  10530. cardfrontphotourl:
  10531. description: 证件正面图片地址
  10532. type: string
  10533. cardnum:
  10534. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10535. type: string
  10536. customername:
  10537. description: 姓名
  10538. type: string
  10539. filterstatus:
  10540. description: 筛选条件
  10541. type: string
  10542. logincode:
  10543. description: 登录代码
  10544. type: string
  10545. mobile:
  10546. description: 手机号码
  10547. type: string
  10548. parentuserid:
  10549. description: 所属机构id
  10550. type: integer
  10551. parentusername:
  10552. description: 所属机构名称
  10553. type: string
  10554. refereeuserid:
  10555. description: 推荐人id(经纪人)
  10556. type: integer
  10557. refernum:
  10558. description: 推荐码
  10559. type: string
  10560. remark:
  10561. description: 备注
  10562. type: string
  10563. subarealevelpath:
  10564. description: 层级路径
  10565. type: string
  10566. tradedate:
  10567. description: 交易日(yyyyMMdd)
  10568. type: string
  10569. userid:
  10570. description: 申请人用户ID
  10571. type: integer
  10572. userinfotype:
  10573. description: 用户类型 1-个人 2-企业
  10574. type: integer
  10575. username:
  10576. description: 用户名称
  10577. type: string
  10578. type: object
  10579. models.QhjMgrBrokerRewardReport:
  10580. properties:
  10581. createtime:
  10582. description: 创建时间(注册时间)
  10583. type: string
  10584. cycletime:
  10585. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10586. type: string
  10587. cycletype:
  10588. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10589. type: integer
  10590. directtotalnum:
  10591. description: 直推总人数【期末】
  10592. type: integer
  10593. indirecttotalnum:
  10594. description: 间推总人数【期末】
  10595. type: integer
  10596. mobile:
  10597. description: 电话号码
  10598. type: string
  10599. refereeuserid:
  10600. description: 推荐人id(经纪人id)
  10601. type: integer
  10602. refereeusername:
  10603. description: 推荐人名称(经纪人) 上级经纪人名称
  10604. type: string
  10605. refernum:
  10606. description: 推荐码
  10607. type: string
  10608. subarealevelpath:
  10609. description: 用户层级路径
  10610. type: string
  10611. todayrewardamount:
  10612. description: 奖励总金额【汇总】
  10613. type: number
  10614. updatetime:
  10615. description: 更新时间
  10616. type: string
  10617. userid:
  10618. description: 经纪人用户ID
  10619. type: integer
  10620. userinfotype:
  10621. description: 用户类型 1-个人 2-企业
  10622. type: integer
  10623. username:
  10624. description: 用户名称
  10625. type: string
  10626. type: object
  10627. models.QhjMgrContract:
  10628. properties:
  10629. contractconfirmtime:
  10630. description: 合同确认时间(时间)
  10631. type: string
  10632. currisklevel:
  10633. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10634. type: integer
  10635. decimalplace:
  10636. description: 商品报价小数位
  10637. type: integer
  10638. enumdicname:
  10639. description: 单位名称
  10640. type: string
  10641. goodscode:
  10642. description: 商品代码
  10643. type: string
  10644. goodsid:
  10645. description: 商品ID [5:融资单]
  10646. type: integer
  10647. goodsname:
  10648. description: 商品名称
  10649. type: string
  10650. goodunitid:
  10651. description: 商品单位id
  10652. type: integer
  10653. initmargin:
  10654. description: 初始保证金(首付款)
  10655. type: number
  10656. lenderamount:
  10657. description: 贷款金额(总额|订单总额)
  10658. type: number
  10659. logincode:
  10660. description: 账号(登录代码)
  10661. type: string
  10662. marginratio:
  10663. description: 保证金比率(首付比例)
  10664. type: number
  10665. mobile:
  10666. description: 电话号码(用户资料里的电话)
  10667. type: string
  10668. payamount:
  10669. description: 已付(已付货款)
  10670. type: number
  10671. reckonrecovermargin:
  10672. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10673. type: number
  10674. recoveredmargin:
  10675. description: 已追缴保证金
  10676. type: number
  10677. remainamount:
  10678. description: 合同剩余金额(融资额)
  10679. type: number
  10680. scfcontractid:
  10681. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10682. type: string
  10683. scfcontractstatus:
  10684. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10685. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10686. type: integer
  10687. scfcontracttype:
  10688. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10689. type: integer
  10690. totalinterest:
  10691. description: 已计总利息(利息)
  10692. type: number
  10693. tradedate:
  10694. description: 交易日
  10695. type: string
  10696. tradeprice:
  10697. description: 成交价格(成本价格)
  10698. type: number
  10699. userid:
  10700. description: 用户ID
  10701. type: integer
  10702. userinfotype:
  10703. description: 用户类型 1-个人 2-企业
  10704. type: integer
  10705. username:
  10706. description: 用户名称
  10707. type: string
  10708. wrqty:
  10709. description: 仓单数量(数量)
  10710. type: number
  10711. type: object
  10712. models.QhjMgrCustomer:
  10713. properties:
  10714. address:
  10715. description: 通讯地址
  10716. type: string
  10717. attachment1:
  10718. description: 附件1
  10719. type: string
  10720. audittime:
  10721. description: 审核时间
  10722. type: string
  10723. cardbackphotourl:
  10724. description: 证件反面图片地址
  10725. type: string
  10726. cardfrontphotourl:
  10727. description: 证件正面图片地址
  10728. type: string
  10729. cardnum:
  10730. description: 证件号码
  10731. type: string
  10732. cardtype:
  10733. description: 证件类型
  10734. type: integer
  10735. cardtypename:
  10736. description: 证件类型名称
  10737. type: string
  10738. cityid:
  10739. description: 市
  10740. type: integer
  10741. cityname:
  10742. description: 城市名称
  10743. type: string
  10744. contactname:
  10745. description: 联系人
  10746. type: string
  10747. countryid:
  10748. description: 国家
  10749. type: integer
  10750. countryname:
  10751. description: 国家名称
  10752. type: string
  10753. createtime:
  10754. description: 创建时间
  10755. type: string
  10756. customername:
  10757. description: 客户名称
  10758. type: string
  10759. districtid:
  10760. description: 区域
  10761. type: integer
  10762. districtname:
  10763. description: 地区名称
  10764. type: string
  10765. email:
  10766. description: 邮件
  10767. type: string
  10768. legalpersonname:
  10769. description: 法人姓名(企业)
  10770. type: string
  10771. logincode:
  10772. description: 登录账号(代码)
  10773. type: string
  10774. memberuserid:
  10775. description: 所属机构ID(所属会员)
  10776. type: integer
  10777. memberusername:
  10778. description: 所属会员名称
  10779. type: string
  10780. mobile:
  10781. description: 手机号码
  10782. type: string
  10783. modifytime:
  10784. description: 修改时间
  10785. type: string
  10786. nickname:
  10787. description: 昵称
  10788. type: string
  10789. parentuserid:
  10790. description: 上级机构(所属机构)
  10791. type: integer
  10792. parentusername:
  10793. description: 所属机构名称
  10794. type: string
  10795. provinceid:
  10796. description: 省
  10797. type: integer
  10798. provincename:
  10799. description: 省名称
  10800. type: string
  10801. proxystatementurl:
  10802. description: 授权委托书
  10803. type: string
  10804. querytype:
  10805. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10806. type: integer
  10807. remark:
  10808. description: 备注
  10809. type: string
  10810. status:
  10811. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10812. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10813. type: integer
  10814. statusdesc:
  10815. description: 账户状态中文描述
  10816. type: string
  10817. taxpayernum:
  10818. description: 纳税人识别号
  10819. type: string
  10820. telphone:
  10821. description: 联系电话
  10822. type: string
  10823. userid:
  10824. description: 用户ID
  10825. type: integer
  10826. userinfotype:
  10827. description: 客户类型 1-个人 2-企业
  10828. type: integer
  10829. username:
  10830. description: 用户名称
  10831. type: string
  10832. type: object
  10833. models.QhjMgrPickGoods:
  10834. properties:
  10835. enumdicname:
  10836. description: 单位名称(提货商品)
  10837. type: string
  10838. goodsid:
  10839. description: 商品id
  10840. type: integer
  10841. imageaddress:
  10842. description: 图片
  10843. type: string
  10844. modifierid:
  10845. description: 修改人
  10846. type: integer
  10847. modifiername:
  10848. description: 修改人名称
  10849. type: string
  10850. modifysrc:
  10851. description: 修改来源 - 1:管理端 2:终端
  10852. type: integer
  10853. pickupgoodsagreeunit:
  10854. description: 合约乘数
  10855. type: number
  10856. pickupgoodsdesc:
  10857. description: 描述
  10858. type: string
  10859. pickupgoodsid:
  10860. description: 提货商品ID
  10861. type: string
  10862. pickupgoodsname:
  10863. description: 提货商品名称
  10864. type: string
  10865. pickupgoodsstatus:
  10866. description: 状态 - 1:正常 2:停用 3:注销
  10867. type: integer
  10868. pickupgoodsunitid:
  10869. description: 单位ID
  10870. type: integer
  10871. pickupratio:
  10872. description: 提货系数
  10873. type: number
  10874. preparedays:
  10875. description: 备货期(天)
  10876. type: integer
  10877. remark:
  10878. description: 备注
  10879. type: string
  10880. updatetime:
  10881. description: 更新时间
  10882. type: string
  10883. type: object
  10884. models.QhjMgrPositionRsp:
  10885. properties:
  10886. accountid:
  10887. description: 账号Id
  10888. type: integer
  10889. accountname:
  10890. description: 用户名称
  10891. type: string
  10892. agreeunit:
  10893. description: 合约乘数
  10894. type: number
  10895. averageprice:
  10896. description: 均价
  10897. type: number
  10898. avialqty:
  10899. description: 可用数量
  10900. type: number
  10901. decimalplace:
  10902. description: 报价小数位
  10903. type: integer
  10904. enumdicname:
  10905. description: 单位名称(商品)
  10906. type: string
  10907. frozenqty:
  10908. description: 冻结数量
  10909. type: number
  10910. goodscode:
  10911. description: 商品代码(内部)
  10912. type: string
  10913. goodsid:
  10914. description: 商品Id
  10915. type: integer
  10916. goodsname:
  10917. description: 商品名称
  10918. type: string
  10919. goodunitid:
  10920. description: 报价单位ID
  10921. type: integer
  10922. holderamount:
  10923. description: 金额
  10924. type: number
  10925. holderqty:
  10926. description: 持有数量
  10927. type: number
  10928. holdertype:
  10929. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10930. type: integer
  10931. logincode:
  10932. description: 登录代码(账户)
  10933. type: string
  10934. marketid:
  10935. description: 市场id
  10936. type: integer
  10937. qtydecimalplace:
  10938. description: 成交量小数位
  10939. type: integer
  10940. trademode:
  10941. description: 交易模式
  10942. type: integer
  10943. userid:
  10944. description: 用户id
  10945. type: integer
  10946. userinfotype:
  10947. description: 账户类型 1-个人 2-企业
  10948. type: integer
  10949. type: object
  10950. models.QhjMgrSubArea:
  10951. properties:
  10952. accountname:
  10953. description: 账户名称(机构名称)
  10954. type: string
  10955. memberuserid:
  10956. description: 所属会员ID
  10957. type: integer
  10958. parenttopuser:
  10959. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10960. type: string
  10961. parentuserid:
  10962. description: 所属机构ID
  10963. type: integer
  10964. rootuserid:
  10965. description: 根用户ID
  10966. type: string
  10967. subaccountlevel:
  10968. description: 子账户层数
  10969. type: integer
  10970. subarealevelpath:
  10971. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10972. type: string
  10973. userid:
  10974. description: 用户ID
  10975. type: integer
  10976. usertype:
  10977. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10978. type: integer
  10979. type: object
  10980. models.QhjMgrTradeDetailRsp:
  10981. properties:
  10982. accountid:
  10983. description: 资金账号
  10984. type: integer
  10985. accountname:
  10986. description: 用户名称
  10987. type: string
  10988. agreeunit:
  10989. description: 合约乘数
  10990. type: number
  10991. buyorsell:
  10992. description: 成交类型(方向) 0:买 1:卖
  10993. type: integer
  10994. decimalplace:
  10995. description: 报价小数位
  10996. type: integer
  10997. enumdicname:
  10998. description: 单位名称(商品)
  10999. type: string
  11000. goodscode:
  11001. description: 商品代码(内部)
  11002. type: string
  11003. goodsid:
  11004. description: 商品id
  11005. type: integer
  11006. goodsname:
  11007. description: 商品名称
  11008. type: string
  11009. goodunitid:
  11010. description: 报价单位ID
  11011. type: integer
  11012. logincode:
  11013. description: 登录代码(账户)
  11014. type: string
  11015. marketid:
  11016. description: 市场id
  11017. type: integer
  11018. orderid:
  11019. description: 关联委托单号
  11020. type: string
  11021. qtydecimalplace:
  11022. description: 成交量小数位
  11023. type: integer
  11024. tradeamount:
  11025. description: 金额
  11026. type: number
  11027. tradedate:
  11028. description: 交易日
  11029. type: string
  11030. tradeid:
  11031. description: 成交单号
  11032. type: string
  11033. trademode:
  11034. description: 交易模式
  11035. type: integer
  11036. tradeprice:
  11037. description: 价格
  11038. type: number
  11039. tradeqty:
  11040. description: 数量
  11041. type: number
  11042. tradetime:
  11043. description: 成交时间
  11044. type: string
  11045. userid:
  11046. description: 用户id
  11047. type: integer
  11048. userinfotype:
  11049. description: 账户类型 1-个人 2-企业
  11050. type: integer
  11051. type: object
  11052. models.QhjMgrTradeOrderDetailRsp:
  11053. properties:
  11054. accountid:
  11055. description: 资金账号
  11056. type: integer
  11057. accountname:
  11058. description: 用户名称
  11059. type: string
  11060. agreeunit:
  11061. description: 合约乘数
  11062. type: number
  11063. amount:
  11064. description: 金额
  11065. type: number
  11066. decimalplace:
  11067. description: 报价小数位
  11068. type: integer
  11069. enumdicname:
  11070. description: 单位名称(商品)
  11071. type: string
  11072. goodscode:
  11073. description: 商品代码(内部)
  11074. type: string
  11075. goodsid:
  11076. description: 商品id
  11077. type: integer
  11078. goodsname:
  11079. description: 商品名称
  11080. type: string
  11081. goodunitid:
  11082. description: 报价单位ID
  11083. type: integer
  11084. logincode:
  11085. description: 登录代码(账户)
  11086. type: string
  11087. marketid:
  11088. description: 市场id
  11089. type: integer
  11090. orderid:
  11091. description: 关联委托单号
  11092. type: string
  11093. orderprice:
  11094. description: 价格
  11095. type: number
  11096. orderqty:
  11097. description: 数量
  11098. type: number
  11099. orderstatus:
  11100. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11101. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11102. 16:成交失败违约(荷兰式竞拍专用)
  11103. type: integer
  11104. ordertime:
  11105. description: 委托时间
  11106. type: string
  11107. qtydecimalplace:
  11108. description: 成交量小数位
  11109. type: integer
  11110. tradedate:
  11111. description: 交易日
  11112. type: string
  11113. trademode:
  11114. description: 交易模式
  11115. type: integer
  11116. userid:
  11117. description: 用户id
  11118. type: integer
  11119. userinfotype:
  11120. description: 账户类型 1-个人 2-企业
  11121. type: integer
  11122. type: object
  11123. models.QhjMgrTradePayOrder:
  11124. properties:
  11125. accountname:
  11126. description: 用户名称
  11127. type: string
  11128. advanceratio:
  11129. description: 首付比率
  11130. type: number
  11131. agreeunit:
  11132. description: 合约乘数
  11133. type: number
  11134. buyaccountid:
  11135. description: 买方账号ID[报价币种]
  11136. type: integer
  11137. buyorderid:
  11138. description: 买方委托单号(关联单号)
  11139. type: string
  11140. createtime:
  11141. description: 创建时间
  11142. type: string
  11143. decimalplace:
  11144. description: 报价小数位
  11145. type: integer
  11146. enumdicname:
  11147. description: 单位名称(商品)
  11148. type: string
  11149. goodscode:
  11150. description: 商品代码(内部)
  11151. type: string
  11152. goodsid:
  11153. description: 商品ID
  11154. type: integer
  11155. goodsname:
  11156. description: 商品名称
  11157. type: string
  11158. goodunitid:
  11159. description: 报价单位ID
  11160. type: integer
  11161. logincode:
  11162. description: 登录代码(账户)
  11163. type: string
  11164. marketid:
  11165. description: 市场id
  11166. type: integer
  11167. offamount:
  11168. description: 优惠金额
  11169. type: number
  11170. operatetype:
  11171. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11172. type: integer
  11173. payamount:
  11174. description: 支付金额(金额)
  11175. type: number
  11176. payflag:
  11177. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11178. type: integer
  11179. paylimitedtime:
  11180. description: 支付期限
  11181. type: string
  11182. paytime:
  11183. description: 付款时间
  11184. type: string
  11185. qtydecimalplace:
  11186. description: 成交量小数位
  11187. type: integer
  11188. sellaccountid:
  11189. description: 卖方账号ID[报价币种]
  11190. type: integer
  11191. sellorderid:
  11192. description: 卖方委托单号
  11193. type: string
  11194. tradeamount:
  11195. description: 成交金额(优惠后金额)
  11196. type: number
  11197. tradecharge:
  11198. description: 成交手续费(买方)
  11199. type: number
  11200. tradedate:
  11201. description: 交易日(yyyyMMdd)
  11202. type: string
  11203. tradeid:
  11204. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11205. type: string
  11206. trademode:
  11207. description: 交易模式
  11208. type: integer
  11209. tradeprice:
  11210. description: 成交价格(价格)
  11211. type: number
  11212. tradeqty:
  11213. description: 成交数量(数量)
  11214. type: number
  11215. tradetime:
  11216. description: 成交时间
  11217. type: string
  11218. userid:
  11219. description: 用户id
  11220. type: integer
  11221. userinfotype:
  11222. description: 账户类型 1-个人 2-企业
  11223. type: integer
  11224. type: object
  11225. models.QhjMyTeamEx:
  11226. properties:
  11227. accountname:
  11228. description: 用户名称
  11229. type: string
  11230. accountstatus:
  11231. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11232. type: integer
  11233. createtime:
  11234. description: 创建时间
  11235. type: string
  11236. mobile:
  11237. description: 手机号码
  11238. type: string
  11239. refereeuserid:
  11240. description: 推荐人id
  11241. type: integer
  11242. refernum:
  11243. description: 推荐码
  11244. type: string
  11245. subList:
  11246. items:
  11247. $ref: '#/definitions/models.QhjMyTeamEx'
  11248. type: array
  11249. userid:
  11250. description: 用户id
  11251. type: integer
  11252. userinfotype:
  11253. description: 用户类型 1-个人 2-企业
  11254. type: integer
  11255. type: object
  11256. models.QhjNodeAgreementConfig:
  11257. properties:
  11258. agreementcontent:
  11259. description: 协议内容
  11260. type: string
  11261. agreementid:
  11262. description: 协议ID
  11263. type: integer
  11264. agreementname:
  11265. description: 协议名称
  11266. type: string
  11267. agreementno:
  11268. description: 协议编号
  11269. type: string
  11270. agreementtype:
  11271. description: 协议类型 - 1:注册 2:登录 3:交易
  11272. type: integer
  11273. agreementversion:
  11274. description: 协议版本号
  11275. type: integer
  11276. configid:
  11277. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11278. type: integer
  11279. createtime:
  11280. description: 创建时间
  11281. type: string
  11282. goodsid:
  11283. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11284. type: integer
  11285. nodetype:
  11286. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11287. type: integer
  11288. type: object
  11289. models.QhjParentAreaList:
  11290. properties:
  11291. accountname:
  11292. description: 账户名称(机构名称)
  11293. type: string
  11294. userid:
  11295. description: 用户ID
  11296. type: integer
  11297. usertype:
  11298. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11299. type: integer
  11300. type: object
  11301. models.QhjPayOrder:
  11302. properties:
  11303. advanceratio:
  11304. description: 首付比率
  11305. type: number
  11306. buyaccountid:
  11307. description: 买方账号ID[报价币种]
  11308. type: integer
  11309. buyorderid:
  11310. description: 买方委托单号
  11311. type: string
  11312. createtime:
  11313. description: 创建时间
  11314. type: string
  11315. decimalplace:
  11316. description: 商品报价小数位
  11317. type: integer
  11318. enumdicname:
  11319. description: 单位名称
  11320. type: string
  11321. goodscode:
  11322. description: 商品代码
  11323. type: string
  11324. goodsid:
  11325. description: 商品ID
  11326. type: integer
  11327. goodsname:
  11328. description: 商品名称
  11329. type: string
  11330. goodunitid:
  11331. description: 商品单位id
  11332. type: integer
  11333. marketid:
  11334. description: 市场ID
  11335. type: integer
  11336. offamount:
  11337. description: 优惠金额
  11338. type: number
  11339. operatetype:
  11340. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11341. type: integer
  11342. payamount:
  11343. description: 支付金额
  11344. type: number
  11345. payflag:
  11346. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11347. type: integer
  11348. paylimitedtime:
  11349. description: 支付期限
  11350. type: string
  11351. paytime:
  11352. description: 付款时间
  11353. type: string
  11354. qtydecimalplace:
  11355. description: 成交量小数位
  11356. type: integer
  11357. sellaccountid:
  11358. description: 卖方账号ID[报价币种]
  11359. type: integer
  11360. sellorderid:
  11361. description: 卖方委托单号
  11362. type: string
  11363. tradeamount:
  11364. description: 成交金额(优惠后金额)
  11365. type: number
  11366. tradecharge:
  11367. description: 成交手续费(买方)
  11368. type: number
  11369. tradedate:
  11370. description: 交易日(yyyyMMdd)
  11371. type: string
  11372. tradeid:
  11373. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11374. type: string
  11375. tradeprice:
  11376. description: 成交价格
  11377. type: number
  11378. tradeqty:
  11379. description: 成交数量
  11380. type: number
  11381. type: object
  11382. models.QhjPickArea:
  11383. properties:
  11384. address:
  11385. description: 详细地址
  11386. type: string
  11387. cityid:
  11388. description: 市
  11389. type: integer
  11390. cityname:
  11391. description: 城市名称
  11392. type: string
  11393. countryid:
  11394. description: 国家
  11395. type: integer
  11396. countryname:
  11397. description: 国家名称
  11398. type: string
  11399. districtid:
  11400. description: 地区
  11401. type: integer
  11402. districtname:
  11403. description: 地区名称
  11404. type: string
  11405. fromuserid:
  11406. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11407. type: integer
  11408. fromusername:
  11409. description: 所属机构名称
  11410. type: string
  11411. provinceid:
  11412. description: 省
  11413. type: integer
  11414. provincename:
  11415. description: 省名称
  11416. type: string
  11417. suborgtype:
  11418. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11419. type: integer
  11420. userid:
  11421. description: 机构用户ID 其他做市关系,都设置为 1
  11422. type: integer
  11423. username:
  11424. description: 机构用户名称(门店门称)
  11425. type: string
  11426. type: object
  11427. models.QhjPickGoods:
  11428. properties:
  11429. enumdicname:
  11430. description: 单位名称(提货商品)
  11431. type: string
  11432. goodsid:
  11433. description: 商品id
  11434. type: integer
  11435. imageaddress:
  11436. description: 图片
  11437. type: string
  11438. modifierid:
  11439. description: 修改人
  11440. type: integer
  11441. modifiername:
  11442. description: 修改人名称
  11443. type: string
  11444. modifysrc:
  11445. description: 修改来源 - 1:管理端 2:终端
  11446. type: integer
  11447. pickupgoodsagreeunit:
  11448. description: 合约乘数
  11449. type: number
  11450. pickupgoodsdesc:
  11451. description: 描述
  11452. type: string
  11453. pickupgoodsid:
  11454. description: 提货商品ID
  11455. type: string
  11456. pickupgoodsname:
  11457. description: 提货商品名称
  11458. type: string
  11459. pickupgoodsstatus:
  11460. description: 状态 - 1:正常 2:停用 3:注销
  11461. type: integer
  11462. pickupgoodsunitid:
  11463. description: 单位ID
  11464. type: integer
  11465. pickupratio:
  11466. description: 提货系数
  11467. type: number
  11468. preparedays:
  11469. description: 备货期(天)
  11470. type: integer
  11471. remark:
  11472. description: 备注
  11473. type: string
  11474. updatetime:
  11475. description: 更新时间
  11476. type: string
  11477. type: object
  11478. models.QhjRSTriggerLog:
  11479. properties:
  11480. accountid:
  11481. description: 用户资金账户
  11482. type: integer
  11483. accountname:
  11484. description: 账号名称(ACCOUNTID对应的名称)
  11485. type: string
  11486. currencyid:
  11487. description: 币种id
  11488. type: integer
  11489. currencyname:
  11490. description: 币种名称
  11491. type: string
  11492. decimalplace:
  11493. description: 商品报价小数位
  11494. type: integer
  11495. enumdicname:
  11496. description: 单位名称
  11497. type: string
  11498. goodscode:
  11499. description: 定投商品代码
  11500. type: string
  11501. goodsid:
  11502. description: 定投商品ID
  11503. type: integer
  11504. goodsname:
  11505. description: 定投商品名称
  11506. type: string
  11507. goodunitid:
  11508. description: 定投商品单位id
  11509. type: integer
  11510. logid:
  11511. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11512. type: string
  11513. logincode:
  11514. description: 账号(登录代码)
  11515. type: string
  11516. qtydecimalplace:
  11517. description: 成交量小数位
  11518. type: integer
  11519. regularlycycle:
  11520. description: 定投频率 - 1:每周 2:每月
  11521. type: integer
  11522. regularlycyclevalue:
  11523. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11524. type: string
  11525. regularlymode:
  11526. description: 定投方式 - 1:按数量 2:按金额
  11527. type: integer
  11528. regularlymodevalue:
  11529. description: 定投方式值 - 数量或金额
  11530. type: number
  11531. regularlystrategyid:
  11532. description: 定投策略ID
  11533. type: integer
  11534. retcode:
  11535. description: 错误码
  11536. type: string
  11537. tradeid:
  11538. description: 成交单ID
  11539. type: string
  11540. triggeramount:
  11541. description: 触发金额
  11542. type: number
  11543. triggerqty:
  11544. description: 触发数量
  11545. type: number
  11546. triggerstatus:
  11547. description: 触发状态 - 1:成功 2:失败
  11548. type: integer
  11549. triggertime:
  11550. description: 触发时间
  11551. type: string
  11552. triggertradedate:
  11553. description: 触发交易日
  11554. type: string
  11555. userid:
  11556. description: 所属用户ID
  11557. type: integer
  11558. userinfotype:
  11559. description: 用户类型 1-个人 2-企业
  11560. type: integer
  11561. username:
  11562. description: 用户名称(userid对应的名称)
  11563. type: string
  11564. type: object
  11565. models.QhjRStrategy:
  11566. properties:
  11567. accountid:
  11568. description: 用户资金账户
  11569. type: integer
  11570. accountname:
  11571. description: 账号名称(ACCOUNTID对应的名称)
  11572. type: string
  11573. currencyid:
  11574. description: 币种id
  11575. type: integer
  11576. currencyname:
  11577. description: 币种名称
  11578. type: string
  11579. decimalplace:
  11580. description: 商品报价小数位
  11581. type: integer
  11582. enumdicname:
  11583. description: 单位名称
  11584. type: string
  11585. goodscode:
  11586. description: 定投商品代码
  11587. type: string
  11588. goodsid:
  11589. description: 定投商品ID
  11590. type: integer
  11591. goodsname:
  11592. description: 定投商品名称
  11593. type: string
  11594. goodunitid:
  11595. description: 定投商品单位id
  11596. type: integer
  11597. lasteffecttradedate:
  11598. description: 最新生效交易日
  11599. type: string
  11600. laststoptradedate:
  11601. description: 最新暂停交易日
  11602. type: string
  11603. lasttriggertradedate:
  11604. description: 最新触发交易日
  11605. type: string
  11606. logincode:
  11607. description: 账号(登录代码)
  11608. type: string
  11609. nexttriggeramount:
  11610. description: 下次触发金额
  11611. type: number
  11612. nexttriggerdate:
  11613. description: 下次触发日期
  11614. type: string
  11615. nexttriggerqty:
  11616. description: 下次触发数量 [按小数位放大值]
  11617. type: number
  11618. qtydecimalplace:
  11619. description: 成交量小数位
  11620. type: integer
  11621. regularlycycle:
  11622. description: 定投频率 - 1:每周 2:每月
  11623. type: integer
  11624. regularlycyclevalue:
  11625. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11626. type: string
  11627. regularlymode:
  11628. description: 定投方式 - 1:按数量 2:按金额
  11629. type: integer
  11630. regularlymodevalue:
  11631. description: 定投方式值 - 数量或金额
  11632. type: number
  11633. regularlystrategyid:
  11634. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11635. type: integer
  11636. regularlystrategystatus:
  11637. description: 策略状态 - 1:正常 2:暂停 3:终止
  11638. type: integer
  11639. remark:
  11640. description: 备注
  11641. type: string
  11642. triggersuccesstimes:
  11643. description: 累计定投成功次数
  11644. type: string
  11645. triggertotalamount:
  11646. description: 累计定投金额(成功)
  11647. type: number
  11648. triggertotalqty:
  11649. description: 累计定投数量(成功) [按小数位放大值]
  11650. type: number
  11651. triggertotaltimes:
  11652. description: 累计定投总次数
  11653. type: string
  11654. updatesrc:
  11655. description: 更新来源 - 1:管理端 2:终端
  11656. type: integer
  11657. updatetime:
  11658. description: 更新时间
  11659. type: string
  11660. updatorid:
  11661. description: 更新人
  11662. type: string
  11663. userid:
  11664. description: 所属用户ID
  11665. type: integer
  11666. userinfotype:
  11667. description: 用户类型 1-个人 2-企业
  11668. type: integer
  11669. username:
  11670. description: 用户名称(userid对应的名称)
  11671. type: string
  11672. type: object
  11673. models.QhjReckonPriceLog:
  11674. properties:
  11675. decimalplace:
  11676. description: 商品报价小数位
  11677. type: integer
  11678. goodscode:
  11679. description: 商品代码
  11680. type: string
  11681. goodsid:
  11682. description: 商品ID
  11683. type: integer
  11684. goodsname:
  11685. description: 商品名称
  11686. type: string
  11687. lastreckonprice:
  11688. description: 上日结算价
  11689. type: number
  11690. nextdnlimitprice:
  11691. description: 下个交易日跌停价
  11692. type: number
  11693. nexttrade:
  11694. description: 下个交易日
  11695. type: string
  11696. nextuplimitprice:
  11697. description: 下个交易日涨停价
  11698. type: number
  11699. reckonprice:
  11700. description: 今日结算价(定投价)
  11701. type: number
  11702. reckontime:
  11703. description: 结算时间
  11704. type: string
  11705. totalholderqty:
  11706. description: 总持仓数
  11707. type: integer
  11708. totalstock:
  11709. description: 总库存
  11710. type: integer
  11711. tradedate:
  11712. description: 交易日
  11713. type: string
  11714. updowncount:
  11715. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11716. type: integer
  11717. updownflag:
  11718. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11719. type: integer
  11720. updownrate:
  11721. description: 今日涨跌幅
  11722. type: number
  11723. updownrate_2d:
  11724. description: 连续两日涨跌幅
  11725. type: number
  11726. updownrate_3d:
  11727. description: 连续三日涨跌幅
  11728. type: number
  11729. type: object
  11730. models.QhjScoreLog:
  11731. properties:
  11732. accountid:
  11733. description: 账户ID
  11734. type: integer
  11735. createtime:
  11736. description: 创建时间(时间)
  11737. type: string
  11738. goodsid:
  11739. description: 商品ID
  11740. type: integer
  11741. hasuploaded:
  11742. description: 是否已同步(千海金) 0:未同步 1;已同步
  11743. type: integer
  11744. logid:
  11745. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11746. type: string
  11747. marketid:
  11748. description: 市场ID
  11749. type: integer
  11750. relatedamount:
  11751. description: 关联金额
  11752. type: number
  11753. relatedorderid:
  11754. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11755. type: string
  11756. scoreconfigvalue1:
  11757. description: 积分配置1
  11758. type: integer
  11759. scoreconfigvalue2:
  11760. description: 积分配置1
  11761. type: integer
  11762. scoretype:
  11763. description: 积分类型 - 1:提货积分
  11764. type: integer
  11765. scorevalue:
  11766. description: 积分
  11767. type: number
  11768. tradedate:
  11769. description: 交易日(yyyyMMdd)
  11770. type: string
  11771. uploadedtime:
  11772. description: 同步时间
  11773. type: string
  11774. userid:
  11775. description: 用户ID
  11776. type: integer
  11777. type: object
  11778. models.QhjSiteColumnDetail:
  11779. properties:
  11780. author:
  11781. description: 作者
  11782. type: string
  11783. brief:
  11784. description: 简介
  11785. type: string
  11786. columnid:
  11787. description: 所属栏目
  11788. type: integer
  11789. context:
  11790. description: 内容
  11791. type: string
  11792. coverimage:
  11793. description: 封面图片
  11794. type: string
  11795. creaedate:
  11796. description: 创建时间
  11797. type: string
  11798. creatorid:
  11799. description: 创建人
  11800. type: integer
  11801. hits:
  11802. description: 点击数
  11803. type: integer
  11804. id:
  11805. description: ID(SEQ_SITE_COLUMNDETAIL)
  11806. type: integer
  11807. isshow:
  11808. description: 是否展示 - 0:不展示 1:展示
  11809. type: integer
  11810. istop:
  11811. description: 是否置顶 - 0:不置 1:置顶
  11812. type: integer
  11813. modifierid:
  11814. description: 操作人
  11815. type: integer
  11816. publishdate:
  11817. description: 发布日期
  11818. type: string
  11819. status:
  11820. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11821. type: integer
  11822. title:
  11823. description: 标题
  11824. type: string
  11825. updatedate:
  11826. description: 修改时间
  11827. type: string
  11828. userid:
  11829. description: 用户ID(默认为0, 核心为为机构用户ID)
  11830. type: integer
  11831. username:
  11832. description: 用户名称
  11833. type: string
  11834. type: object
  11835. models.QhjTeamOrder:
  11836. properties:
  11837. accountid:
  11838. description: 账户ID[报价币种]
  11839. type: integer
  11840. accountname:
  11841. description: 账户名称
  11842. type: string
  11843. agreeunit:
  11844. description: 合约乘数
  11845. type: number
  11846. buyorsell:
  11847. description: 方向 - 0:买 1:卖
  11848. type: integer
  11849. decimalplace:
  11850. description: 报价小数位
  11851. type: integer
  11852. enumdicname:
  11853. description: 单位名称
  11854. type: string
  11855. goodscode:
  11856. description: 商品代码(内部)
  11857. type: string
  11858. goodsid:
  11859. description: 商品ID
  11860. type: integer
  11861. goodsname:
  11862. description: 商品名称
  11863. type: string
  11864. goodunitid:
  11865. description: 报价单位ID
  11866. type: integer
  11867. marketid:
  11868. description: 市场ID
  11869. type: integer
  11870. marketname:
  11871. description: 市场名称
  11872. type: string
  11873. qtydecimalplace:
  11874. description: 成交量小数位
  11875. type: integer
  11876. refereeuserid:
  11877. description: 推荐人ID
  11878. type: integer
  11879. tradeamount:
  11880. description: 成交金额[账户币种,用于所有权]
  11881. type: number
  11882. tradedate:
  11883. description: 交易日(yyyyMMdd)
  11884. type: string
  11885. trademode:
  11886. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11887. 21:竞拍-大宗式 22:受托竞价
  11888. type: integer
  11889. tradeprice:
  11890. description: 成交价格
  11891. type: number
  11892. tradeqty:
  11893. description: 成交数量
  11894. type: number
  11895. tradetime:
  11896. description: 成交时间
  11897. type: string
  11898. userid:
  11899. description: 用户ID
  11900. type: integer
  11901. type: object
  11902. models.QhjTradeGoodsPickup:
  11903. properties:
  11904. accountid:
  11905. description: 账户ID
  11906. type: integer
  11907. address:
  11908. description: 提货人详细地址
  11909. type: string
  11910. amount:
  11911. description: 提货金额
  11912. type: number
  11913. artradedate:
  11914. description: 自动收货交易日(yyyyMMdd)
  11915. type: string
  11916. auditer:
  11917. description: 审核人
  11918. type: integer
  11919. auditsrc:
  11920. description: 更新来源 - 1:管理端 2:终端
  11921. type: integer
  11922. audittime:
  11923. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11924. type: string
  11925. audittradedate:
  11926. description: 审核交易日(yyyyMMdd)
  11927. type: string
  11928. cardnum:
  11929. description: 提货人证件号码
  11930. type: string
  11931. cardtypeid:
  11932. description: 提货人证件类型
  11933. type: integer
  11934. checkremark:
  11935. description: 审核备注
  11936. type: string
  11937. cityid:
  11938. description: 市
  11939. type: integer
  11940. cityname:
  11941. description: 城市名称
  11942. type: string
  11943. confirmtime:
  11944. description: 取货时间 或 收货时间
  11945. type: string
  11946. countryid:
  11947. description: 国家
  11948. type: integer
  11949. countryname:
  11950. description: 国家名称
  11951. type: string
  11952. decimalplace:
  11953. description: 商品报价小数位
  11954. type: integer
  11955. districtid:
  11956. description: 地区
  11957. type: integer
  11958. districtname:
  11959. description: 地区名称
  11960. type: string
  11961. enumdicname:
  11962. description: 单位名称(提货商品)
  11963. type: string
  11964. expresscompany:
  11965. description: 物流公司
  11966. type: string
  11967. expressnum:
  11968. description: 物流单号
  11969. type: string
  11970. goodsagreeunit:
  11971. description: 交易商品乘数
  11972. type: number
  11973. goodscode:
  11974. description: 商品代码
  11975. type: string
  11976. goodsid:
  11977. description: 商品ID
  11978. type: integer
  11979. goodsname:
  11980. description: 商品名称
  11981. type: string
  11982. goodsqty:
  11983. description: 交易商品手数(69模式按成交量小数位放大取整)
  11984. type: number
  11985. handlestatus:
  11986. description: 处理状态
  11987. type: integer
  11988. logincode:
  11989. description: 账号(登录代码, 有可能为空)
  11990. type: string
  11991. marketid:
  11992. description: 市场ID
  11993. type: integer
  11994. phonenum:
  11995. description: 提货人联系方式
  11996. type: string
  11997. pickupgoodsagreeunit:
  11998. description: 提货商品合约乘数
  11999. type: number
  12000. pickupgoodsid:
  12001. description: 提货商品ID
  12002. type: string
  12003. pickupgoodsname:
  12004. description: 提货商品名称
  12005. type: string
  12006. pickupgoodsqty:
  12007. description: 提货商品手数(数量)
  12008. type: number
  12009. pickupgoodsunitid:
  12010. description: 单位ID(提货商品)
  12011. type: integer
  12012. pickupratio:
  12013. description: 提货系数
  12014. type: number
  12015. preparedays:
  12016. description: 备货期(天)-提货单明细表
  12017. type: integer
  12018. provinceid:
  12019. description: 省
  12020. type: integer
  12021. provincename:
  12022. description: 省名称
  12023. type: string
  12024. qty:
  12025. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12026. type: number
  12027. qtydecimalplace:
  12028. description: 商品数量小数位
  12029. type: integer
  12030. recivername:
  12031. description: 提货人姓名
  12032. type: string
  12033. reqtime:
  12034. description: 提货申请时间
  12035. type: string
  12036. storeuserid:
  12037. description: 门店用户ID (千海金)
  12038. type: integer
  12039. storeusername:
  12040. description: 门店用户名称
  12041. type: string
  12042. takemode:
  12043. description: 提货方式 - 2:自提 3:配送(邮寄)
  12044. type: integer
  12045. takeorderid:
  12046. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12047. type: string
  12048. takeorderstatus:
  12049. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12050. 7:已拒绝 8:已撤销
  12051. type: integer
  12052. takeremark:
  12053. description: 提货备注
  12054. type: string
  12055. tradedate:
  12056. description: 交易日(yyyyMMdd)
  12057. type: string
  12058. updatetime:
  12059. description: 更新时间
  12060. type: string
  12061. userid:
  12062. description: 用户ID
  12063. type: integer
  12064. userinfotype:
  12065. description: 客户类型 1-个人 2-企业
  12066. type: integer
  12067. username:
  12068. description: 用户名称
  12069. type: string
  12070. type: object
  12071. models.QhjUserNodeCfgAndStatus:
  12072. properties:
  12073. agreementcontent:
  12074. description: 协议内容
  12075. type: string
  12076. agreementid:
  12077. description: 协议ID
  12078. type: integer
  12079. agreementname:
  12080. description: 协议名称
  12081. type: string
  12082. agreementno:
  12083. description: 协议编号
  12084. type: string
  12085. agreementtype:
  12086. description: 协议类型 - 1:注册 2:登录 3:交易
  12087. type: integer
  12088. agreementversion:
  12089. description: 协议版本号
  12090. type: integer
  12091. configid:
  12092. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12093. type: integer
  12094. createtime:
  12095. description: 创建时间
  12096. type: string
  12097. goodsid:
  12098. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12099. type: integer
  12100. nodetype:
  12101. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12102. type: integer
  12103. signtimestamp:
  12104. description: 签约状态时间戳(最近一次)
  12105. type: string
  12106. tradedate:
  12107. description: 签约交易日(yyyyMMdd)
  12108. type: string
  12109. userid:
  12110. description: 客户ID
  12111. type: integer
  12112. type: object
  12113. models.Qhjgoodsex:
  12114. properties:
  12115. canfinance:
  12116. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12117. type: integer
  12118. canregularlybuy:
  12119. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12120. type: integer
  12121. defaulttradeuserid:
  12122. description: 默认交易用户ID
  12123. type: integer
  12124. deliverygoodsid:
  12125. description: 现货品种ID
  12126. type: integer
  12127. goodsid:
  12128. description: 商品ID(自增ID SEQ_GOODS)
  12129. type: integer
  12130. minamount:
  12131. description: 最小购买金额
  12132. type: number
  12133. regularlybuyminamount:
  12134. description: 定投最小金额
  12135. type: number
  12136. regularlybuyminqty:
  12137. description: 定投最小数量
  12138. type: number
  12139. spotgoodsbrandid:
  12140. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12141. type: integer
  12142. visibilityforenterprise:
  12143. description: 企业客户是否可见 - 0:不可见 1:可见
  12144. type: integer
  12145. visibilityforpersonal:
  12146. description: 个人客户是否可见 - 0:不可见 1:可见
  12147. type: integer
  12148. wrstandardid:
  12149. description: 现货商品ID
  12150. type: integer
  12151. type: object
  12152. models.QueryErrorInfosRsp:
  12153. properties:
  12154. description:
  12155. description: 异常描述
  12156. type: string
  12157. errorcode:
  12158. description: 异常代码
  12159. type: string
  12160. errorid:
  12161. description: 异常ID
  12162. type: integer
  12163. modulecode:
  12164. description: 所属模块
  12165. type: string
  12166. operatecode:
  12167. description: 所属操作
  12168. type: string
  12169. rownumber:
  12170. description: 行号
  12171. type: string
  12172. required:
  12173. - errorid
  12174. type: object
  12175. models.QueryHedgeOrderDetailRsp:
  12176. properties:
  12177. accountid:
  12178. description: 账户ID
  12179. type: integer
  12180. buyorsell:
  12181. description: 买卖 - 0:买 1:卖
  12182. type: integer
  12183. cancellogincode:
  12184. description: 撤单人
  12185. type: string
  12186. channelbuildtype:
  12187. description: 开平标志 - 0:无 1:建仓 2:平仓
  12188. type: integer
  12189. channelinnerorderstatus:
  12190. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12191. 9:全部成交
  12192. type: integer
  12193. channeloperatetype:
  12194. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12195. type: integer
  12196. closetype:
  12197. description: 平仓方式 - 0:无 1:平今 2:平昨
  12198. type: integer
  12199. curexchangerate:
  12200. description: 当前汇率
  12201. type: number
  12202. exchangefullname:
  12203. description: 外部交易所全称
  12204. type: string
  12205. goodscode:
  12206. description: 商品代码(内部)
  12207. type: string
  12208. goodsid:
  12209. description: 商品ID
  12210. type: integer
  12211. goodsname:
  12212. description: 商品名称
  12213. type: string
  12214. marketid:
  12215. description: 市场ID
  12216. type: integer
  12217. openfreezemargin:
  12218. description: 冻结保证金(冻结交易金额)
  12219. type: number
  12220. orderid:
  12221. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12222. type: string
  12223. orderlogincode:
  12224. description: 委托人
  12225. type: string
  12226. orderprice:
  12227. description: 委托价格(账户)
  12228. type: number
  12229. orderqty:
  12230. description: 委托数量
  12231. type: integer
  12232. ordertime:
  12233. description: 委托时间
  12234. type: string
  12235. pricemode:
  12236. description: '取价方式 - 1:市价 2: 限价'
  12237. type: integer
  12238. tradedate:
  12239. description: 交易日(yyyyMMdd)
  12240. type: string
  12241. tradeqty:
  12242. description: 成交数量
  12243. type: integer
  12244. type: object
  12245. models.QueryHedgeTradeDetailRsp:
  12246. properties:
  12247. accountid:
  12248. description: 账号ID
  12249. type: integer
  12250. buyorsell:
  12251. description: 方向 - 0:买 1:卖
  12252. type: integer
  12253. channelbuildtype:
  12254. description: 委托单据类型 0:无 1:建仓 2:平仓
  12255. type: integer
  12256. closecharge:
  12257. description: 平仓手续费(账户)
  12258. type: number
  12259. closecharge2:
  12260. description: 平仓手续费(商品)
  12261. type: number
  12262. closepl:
  12263. description: 平仓盈亏(账户)
  12264. type: number
  12265. closepl2:
  12266. description: 平仓盈亏(商品)
  12267. type: number
  12268. closepl3:
  12269. description: 平仓盈亏(账户)(逐笔)
  12270. type: number
  12271. closepl4:
  12272. description: 平仓盈亏(商品)(逐笔)
  12273. type: number
  12274. closetype:
  12275. description: 平仓方式 - 0:无 1:平今 2:平昨
  12276. type: integer
  12277. curexchangerate:
  12278. description: 当前汇率
  12279. type: number
  12280. exchangefullname:
  12281. description: 外部交易所全称
  12282. type: string
  12283. goodscode:
  12284. description: 商品代码(内部)
  12285. type: string
  12286. goodsid:
  12287. description: 商品ID
  12288. type: integer
  12289. goodsname:
  12290. description: 商品名称
  12291. type: string
  12292. marketid:
  12293. description: 市场ID
  12294. type: integer
  12295. opencharge:
  12296. description: 建仓手续费(账户)
  12297. type: number
  12298. opencharge2:
  12299. description: 建仓手续费(商品)
  12300. type: number
  12301. orderid:
  12302. description: 委托单号
  12303. type: string
  12304. orderlogincode:
  12305. description: 委托人
  12306. type: string
  12307. tradeamount:
  12308. description: 成交金额(账户)
  12309. type: number
  12310. tradedate:
  12311. description: 交易日(yyyyMMdd)
  12312. type: string
  12313. tradeid:
  12314. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12315. type: string
  12316. tradeprice:
  12317. description: 成交价格
  12318. type: number
  12319. tradeqty:
  12320. description: 成交数量
  12321. type: integer
  12322. tradetime:
  12323. description: 成交时间
  12324. type: string
  12325. tradetype:
  12326. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12327. type: integer
  12328. type: object
  12329. models.QuotePrimaryMenu:
  12330. properties:
  12331. Index:
  12332. description: 序号
  12333. type: integer
  12334. Key:
  12335. description: 键名
  12336. type: string
  12337. Name:
  12338. description: 菜单名称
  12339. type: string
  12340. SubMenus:
  12341. description: 子菜单
  12342. items:
  12343. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12344. type: array
  12345. SubTitleType:
  12346. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12347. type: integer
  12348. TradeModes:
  12349. description: 包含市场交易类型
  12350. type: string
  12351. type: object
  12352. models.QuoteSecondaryMenu:
  12353. properties:
  12354. ExExchangeCode:
  12355. description: 外部交易所代码
  12356. type: string
  12357. ExExchangeID:
  12358. description: 外部交易所ID
  12359. type: integer
  12360. GoodsGroupIDs:
  12361. description: 商品组ID列表
  12362. items:
  12363. type: integer
  12364. type: array
  12365. Index:
  12366. description: 序号
  12367. type: integer
  12368. MarketID:
  12369. description: 市场ID
  12370. type: integer
  12371. MenuTitle:
  12372. description: 菜单标题(市场名称或外部交易所名称)
  12373. type: string
  12374. TradeMode:
  12375. description: 交易模式
  12376. type: integer
  12377. type: object
  12378. models.RoleMenu:
  12379. properties:
  12380. hasright:
  12381. description: 是否有权限 0-没有权限 1-有权限
  12382. type: integer
  12383. iconame:
  12384. description: 菜单图标
  12385. type: string
  12386. menutype:
  12387. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12388. type: integer
  12389. parentcode:
  12390. description: 上级资源代码
  12391. type: string
  12392. remark:
  12393. description: 菜单备注
  12394. type: string
  12395. resourcecode:
  12396. description: 菜单代码
  12397. type: string
  12398. resourcelevel:
  12399. description: 级别
  12400. type: integer
  12401. resourcename:
  12402. description: 菜单名称
  12403. type: string
  12404. roleid:
  12405. description: 角色id
  12406. type: integer
  12407. sort:
  12408. description: 排序
  12409. type: integer
  12410. subMenu:
  12411. description: 子级菜单(结构同上层一样, swag解析不出来)
  12412. items:
  12413. $ref: '#/definitions/models.RoleMenu'
  12414. type: array
  12415. url:
  12416. description: URL
  12417. type: string
  12418. userid:
  12419. description: 用户id
  12420. type: integer
  12421. type: object
  12422. models.SearchGoods:
  12423. properties:
  12424. goodscode:
  12425. description: 商品代码(内部)
  12426. type: string
  12427. goodsid:
  12428. description: 商品ID(自增ID SEQ_GOODS)
  12429. type: integer
  12430. goodsname:
  12431. description: 商品名称
  12432. type: string
  12433. marketid:
  12434. description: 所属市场ID
  12435. type: integer
  12436. marketname:
  12437. description: 市场名称
  12438. type: string
  12439. trademode:
  12440. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12441. 21:竞拍-大宗式 22:受托竞价
  12442. type: integer
  12443. required:
  12444. - goodscode
  12445. - goodsid
  12446. - goodsname
  12447. - marketid
  12448. - trademode
  12449. type: object
  12450. models.Systemparam:
  12451. properties:
  12452. loginid:
  12453. description: 更新用户账号,登录账号
  12454. type: string
  12455. modifyflag:
  12456. description: 修改标志0 不允许修改 1 允许修改
  12457. type: integer
  12458. paramcode:
  12459. description: 参数代码
  12460. type: string
  12461. paramname:
  12462. description: 参数名
  12463. type: string
  12464. paramtype:
  12465. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12466. type: integer
  12467. paramvalue:
  12468. description: 参数值
  12469. type: string
  12470. paramvalue2:
  12471. description: 参数值(CLOB)
  12472. type: string
  12473. regexpress:
  12474. description: 正则表达式
  12475. type: string
  12476. remark:
  12477. description: 备注
  12478. type: string
  12479. serverip:
  12480. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12481. type: string
  12482. showflag:
  12483. description: 是否显示0 不显示 1 显示
  12484. type: integer
  12485. updatetime:
  12486. description: 更新时间
  12487. type: string
  12488. userid:
  12489. description: 更新用户ID
  12490. type: integer
  12491. required:
  12492. - paramcode
  12493. type: object
  12494. models.Szdz3convertconfig:
  12495. properties:
  12496. canin:
  12497. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12498. type: integer
  12499. canout:
  12500. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12501. type: integer
  12502. converttype:
  12503. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12504. 6:交易转花生米(不设置)
  12505. type: integer
  12506. createtime:
  12507. description: 创建时间
  12508. type: string
  12509. creatorid:
  12510. description: 创建人
  12511. type: integer
  12512. daymaxvalue:
  12513. description: 当日最大转入限制
  12514. type: number
  12515. freezedays:
  12516. description: 冻结天数 [5:花生米转交易]
  12517. type: integer
  12518. innergoodsid:
  12519. description: 内部商品ID[交易]
  12520. type: integer
  12521. inratio:
  12522. description: 目标值
  12523. type: integer
  12524. modifierid:
  12525. description: 修改人
  12526. type: integer
  12527. modifytime:
  12528. description: 修改时间
  12529. type: string
  12530. outergoodscode:
  12531. description: 外部商品代码[JD\PD]
  12532. type: string
  12533. outratio:
  12534. description: 源值
  12535. type: integer
  12536. pddecimalplace:
  12537. description: PD小数位
  12538. type: integer
  12539. timemaxvalue:
  12540. description: 单次最大转入限制
  12541. type: number
  12542. timeminvalue:
  12543. description: 单次最小转入限制
  12544. type: number
  12545. required:
  12546. - converttype
  12547. - innergoodsid
  12548. - outergoodscode
  12549. type: object
  12550. models.Szdz3searchwhitelist:
  12551. properties:
  12552. createtime:
  12553. description: 创建时间
  12554. type: string
  12555. creatorid:
  12556. description: 创建人
  12557. type: integer
  12558. modifierid:
  12559. description: 修改人
  12560. type: integer
  12561. modifytime:
  12562. description: 修改时间
  12563. type: string
  12564. userid:
  12565. description: 用户ID
  12566. type: integer
  12567. required:
  12568. - userid
  12569. type: object
  12570. models.Taaccount:
  12571. properties:
  12572. accountflag:
  12573. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12574. type: integer
  12575. accountid:
  12576. description: 资金账户ID
  12577. type: integer
  12578. accountname:
  12579. description: 账户名称
  12580. type: string
  12581. balance:
  12582. description: 期初余额
  12583. type: number
  12584. capitalbalance:
  12585. description: 本金余额[外部子账户实际出入金余额]
  12586. type: number
  12587. changeflag:
  12588. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12589. type: integer
  12590. changetime:
  12591. description: 账户状态变更时间
  12592. type: string
  12593. closepl:
  12594. description: 今日平仓盈亏
  12595. type: number
  12596. creditdecrease:
  12597. description: 今日授信减少
  12598. type: number
  12599. creditincrease:
  12600. description: 今日授信增加
  12601. type: number
  12602. curamount:
  12603. description: 总市值(从持仓中统计)
  12604. type: number
  12605. currencyid:
  12606. description: 货币ID
  12607. type: integer
  12608. currentbalance:
  12609. description: 期末余额
  12610. type: number
  12611. freezecharge:
  12612. description: 手续费冻结
  12613. type: number
  12614. freezemargin:
  12615. description: 冻结保证金
  12616. type: number
  12617. fromaccountid:
  12618. description: 所属上级账户
  12619. type: integer
  12620. inamount:
  12621. description: 今日入金金额(包括三方入金)
  12622. type: number
  12623. ismain:
  12624. description: 是否母账号 0:不是母账户 1:是母账户
  12625. type: integer
  12626. ismarketaccount:
  12627. description: 是否机构接单账号 0:不是 1:是
  12628. type: integer
  12629. isreckonaccount:
  12630. description: 是否机构分润账号 0:不是 1:是
  12631. type: integer
  12632. mortgagecredit:
  12633. description: 授信金额
  12634. type: number
  12635. orifreezecharge:
  12636. description: 期初手续费冻结
  12637. type: number
  12638. orifreezemargin:
  12639. description: 期初冻结保证金
  12640. type: number
  12641. orimortgagecredit:
  12642. description: 期初授信金额
  12643. type: number
  12644. oriothercredit:
  12645. description: 期初其它授信金额
  12646. type: number
  12647. oriotherfreezemargin:
  12648. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12649. type: number
  12650. orioutamountfreeze:
  12651. description: 期初出金冻结
  12652. type: number
  12653. oriusedmargin:
  12654. description: 期初占用保证金
  12655. type: number
  12656. othercredit:
  12657. description: 其它授信金额
  12658. type: number
  12659. othercreditdecrease:
  12660. description: 今日其它授信减少
  12661. type: number
  12662. othercreditincrease:
  12663. description: 今日其它授信增加
  12664. type: number
  12665. otherfreezemargin:
  12666. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12667. type: number
  12668. otherincome:
  12669. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12670. type: number
  12671. otherpay:
  12672. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12673. type: number
  12674. outamount:
  12675. description: 今日出金金额(包括三方出金)
  12676. type: number
  12677. outamountfreeze:
  12678. description: 出金冻结
  12679. type: number
  12680. outthreshold:
  12681. description: 出金阈值
  12682. type: number
  12683. parentaccountid:
  12684. description: 所属根账号
  12685. type: integer
  12686. paycharge:
  12687. description: 今日手续费支出
  12688. type: number
  12689. relatedaccountstatus:
  12690. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12691. type: integer
  12692. relateduserid:
  12693. description: 关联用户
  12694. type: integer
  12695. remainamount:
  12696. description: 融资额(从融资合同中统计)
  12697. type: number
  12698. serivcegroup:
  12699. description: 服务分组
  12700. type: integer
  12701. signstatus:
  12702. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12703. type: integer
  12704. sublevelpath:
  12705. description: 账号层级路径(逗号分隔,首尾加逗号)
  12706. type: string
  12707. taaccounttype:
  12708. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12709. type: integer
  12710. thirdinamount:
  12711. description: 今日三方入金
  12712. type: number
  12713. thirdoutamount:
  12714. description: 今日三方出金
  12715. type: number
  12716. tradestatus:
  12717. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12718. type: integer
  12719. tradestatuschangetime:
  12720. description: 激活时间
  12721. type: string
  12722. transferamount:
  12723. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12724. type: number
  12725. usedmargin:
  12726. description: 占用保证金
  12727. type: number
  12728. userid:
  12729. description: 用户ID
  12730. type: integer
  12731. required:
  12732. - accountid
  12733. - userid
  12734. type: object
  12735. models.Tablecolumnconfig:
  12736. properties:
  12737. aligntype:
  12738. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12739. type: integer
  12740. autoid:
  12741. description: AutoID
  12742. type: integer
  12743. columnfield:
  12744. description: 列字段
  12745. type: string
  12746. columntitle:
  12747. description: 列Title
  12748. type: string
  12749. columnwidth:
  12750. description: 列宽
  12751. type: string
  12752. formatterstring:
  12753. description: 格式化字符
  12754. type: string
  12755. formattertype:
  12756. description: 格式化类型
  12757. type: string
  12758. groupname:
  12759. description: 表头分组名称
  12760. type: string
  12761. isshow:
  12762. description: 是否显示 - 0:不显示 1:显示
  12763. type: integer
  12764. needsummary:
  12765. description: 是否需要汇总 - 0:不需要 1:需要
  12766. type: integer
  12767. orderindex:
  12768. description: 顺序
  12769. type: integer
  12770. remark:
  12771. description: 备注
  12772. type: string
  12773. summarytype:
  12774. description: 汇总类型 - 1:加总 2:最后一个
  12775. type: integer
  12776. tablekey:
  12777. description: 列表Key
  12778. type: string
  12779. required:
  12780. - autoid
  12781. type: object
  12782. models.UserCollectConfig:
  12783. properties:
  12784. accountstatus:
  12785. description: 账户状态 - 1:正常 2:停用 3:注销
  12786. type: integer
  12787. collectaccountname:
  12788. description: 收款人账户名称
  12789. type: string
  12790. collectaccountno:
  12791. description: 收款人账户
  12792. type: string
  12793. collectbankname:
  12794. description: 收款人开户行
  12795. type: string
  12796. collectbranchbankname:
  12797. description: 收款人开户支行
  12798. type: string
  12799. collectconfigid:
  12800. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12801. type: string
  12802. remark:
  12803. description: 备注
  12804. type: string
  12805. userid:
  12806. description: 收款人用户ID
  12807. type: integer
  12808. type: object
  12809. models.UserReceiveInfo:
  12810. properties:
  12811. address:
  12812. description: 提货人详细地址
  12813. type: string
  12814. autoid:
  12815. description: AutoID
  12816. type: integer
  12817. cardnum:
  12818. description: 证件号码(加密存储)
  12819. type: string
  12820. cardtypeid:
  12821. description: 证件类型
  12822. type: integer
  12823. cityid:
  12824. description: 市
  12825. type: integer
  12826. cityname:
  12827. description: 城市名称
  12828. type: string
  12829. countryid:
  12830. description: 国家
  12831. type: integer
  12832. countryname:
  12833. description: 国家名称
  12834. type: string
  12835. districtid:
  12836. description: 地区
  12837. type: integer
  12838. districtname:
  12839. description: 地区名称
  12840. type: string
  12841. hasencrypt:
  12842. description: 数据是否已加密 - 0:未加密 1:已加密
  12843. type: integer
  12844. isdefault:
  12845. description: 是否默认地址 - 0:否 1:是
  12846. type: integer
  12847. phonenum:
  12848. description: 提货人联系方式(加密存储)
  12849. type: string
  12850. provinceid:
  12851. description: 省
  12852. type: integer
  12853. provincename:
  12854. description: 省名称
  12855. type: string
  12856. receivername:
  12857. description: 提货人姓名
  12858. type: string
  12859. takeremark:
  12860. description: 提货备注
  12861. type: string
  12862. userid:
  12863. description: 用户ID
  12864. type: integer
  12865. type: object
  12866. models.Useraccount:
  12867. properties:
  12868. accountname:
  12869. description: 账户名称(机构名称)
  12870. type: string
  12871. accountstatus:
  12872. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12873. type: integer
  12874. applysrc:
  12875. description: 申请来源 - 1:管理端 2:终端
  12876. type: integer
  12877. auditremark:
  12878. description: 审核备注
  12879. type: string
  12880. auditsrc:
  12881. description: 审核来源 - 1:管理端 2:终端
  12882. type: integer
  12883. audittime:
  12884. description: 审核时间
  12885. type: string
  12886. audituserid:
  12887. description: 审核人
  12888. type: integer
  12889. broker:
  12890. description: 所属经纪人ID
  12891. type: integer
  12892. canceltime:
  12893. description: 销户时间
  12894. type: string
  12895. canceluserid:
  12896. description: 销户人
  12897. type: integer
  12898. canrecommend:
  12899. description: 是否可推荐 - 0:不可 1;可
  12900. type: integer
  12901. createtime:
  12902. description: 创建时间
  12903. type: string
  12904. creatorid:
  12905. description: 创建人
  12906. type: integer
  12907. hasauth:
  12908. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12909. type: integer
  12910. isanonymous:
  12911. description: 是否匿名下单 - 0:否 1:是
  12912. type: integer
  12913. maxinvestornum:
  12914. description: 最大用户数(经纪会员下投资者个数)
  12915. type: integer
  12916. memberuserid:
  12917. description: 所属会员ID
  12918. type: integer
  12919. modifierid:
  12920. description: 修改人
  12921. type: integer
  12922. modifyremark:
  12923. description: 变更备注
  12924. type: string
  12925. modifystatus:
  12926. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12927. type: integer
  12928. modifytime:
  12929. description: 修改时间
  12930. type: string
  12931. parenttopuser:
  12932. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12933. type: string
  12934. parentuserid:
  12935. description: 所属机构ID
  12936. type: integer
  12937. reckonaccountid:
  12938. description: 默认结算资金账号ID(机构分润使用) 作废
  12939. type: integer
  12940. refercount:
  12941. description: 推荐总人数
  12942. type: integer
  12943. refereeuserid:
  12944. description: 推荐人ID
  12945. type: integer
  12946. refernum:
  12947. description: 推荐码
  12948. type: string
  12949. rootuserid:
  12950. description: 根用户ID
  12951. type: integer
  12952. subaccountlevel:
  12953. description: 子账户层数
  12954. type: integer
  12955. subarealevelpath:
  12956. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12957. type: string
  12958. userid:
  12959. description: 用户ID
  12960. type: integer
  12961. usertype:
  12962. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12963. type: integer
  12964. required:
  12965. - userid
  12966. type: object
  12967. models.Userfavoritegoods:
  12968. properties:
  12969. goodsid:
  12970. description: 商品ID
  12971. type: integer
  12972. required:
  12973. - goodsid
  12974. type: object
  12975. models.Userinfo:
  12976. properties:
  12977. address:
  12978. description: 地址
  12979. type: string
  12980. attachment1:
  12981. description: 附件1
  12982. type: string
  12983. attachment2:
  12984. description: 附件2
  12985. type: string
  12986. bankaccount:
  12987. description: 银行帐号 (加密存储)
  12988. type: string
  12989. bankaccountname:
  12990. description: 收款人名称
  12991. type: string
  12992. bankcardfrontphotourl:
  12993. description: 银行卡正面照地址
  12994. type: string
  12995. bankid:
  12996. description: 银行编码
  12997. type: string
  12998. bankname:
  12999. description: 银行名称
  13000. type: string
  13001. biznature:
  13002. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13003. type: integer
  13004. bizscope:
  13005. description: 企业经营范围(企业)
  13006. type: string
  13007. cardbackphotourl:
  13008. description: 证件背面图片地址
  13009. type: string
  13010. cardfrontphotourl:
  13011. description: 证件正面图片地址
  13012. type: string
  13013. cardnum:
  13014. description: 证件号码(加密存储)
  13015. type: string
  13016. cardtypeid:
  13017. description: 证件类型ID
  13018. type: integer
  13019. cityid:
  13020. description: 市
  13021. type: integer
  13022. company:
  13023. description: 公司(个人)
  13024. type: string
  13025. contactname:
  13026. description: 联系人
  13027. type: string
  13028. countryid:
  13029. description: 国家
  13030. type: integer
  13031. createtime:
  13032. description: 创建时间
  13033. type: string
  13034. creatorid:
  13035. description: 创建人
  13036. type: integer
  13037. customername:
  13038. description: 客户名称(企业名称)
  13039. type: string
  13040. districtid:
  13041. description: 地区
  13042. type: integer
  13043. email:
  13044. description: 邮件(加密存储)
  13045. type: string
  13046. fax:
  13047. description: 传真(加密存储)
  13048. type: string
  13049. halfbodyphotourl:
  13050. description: 半身照地址
  13051. type: string
  13052. hasencrypt:
  13053. description: 数据是否已加密 - 0:未加密 1:已加密
  13054. type: integer
  13055. headurl:
  13056. description: 头像地址
  13057. type: string
  13058. legalcardbackphotourl:
  13059. description: 法人身份证背面照地址
  13060. type: string
  13061. legalcardfrontphotourl:
  13062. description: 法人身份证正面照地址
  13063. type: string
  13064. legalpersonname:
  13065. description: 法人姓名(企业)
  13066. type: string
  13067. mobile:
  13068. description: 手机号码(加密存储)
  13069. type: string
  13070. mobile2:
  13071. description: 手机号码[明文-尚志]
  13072. type: string
  13073. modifierid:
  13074. description: 修改人
  13075. type: integer
  13076. modifiertime:
  13077. description: 修改时间
  13078. type: string
  13079. needinvoice:
  13080. description: 是否需要发票 - 0:不需要 1:需要
  13081. type: integer
  13082. nickname:
  13083. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13084. type: string
  13085. openmode:
  13086. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13087. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13088. type: integer
  13089. otherurl:
  13090. description: 其它图片地址[使用分号分隔]
  13091. type: string
  13092. postalcode:
  13093. description: 邮政编码
  13094. type: string
  13095. provinceid:
  13096. description: 省
  13097. type: integer
  13098. qq:
  13099. description: QQ(加密存储
  13100. type: string
  13101. remark:
  13102. description: 备注
  13103. type: string
  13104. sex:
  13105. description: '用户性别 0: 女 1: 男'
  13106. type: integer
  13107. signpdfurl:
  13108. description: 签约pdf文件
  13109. type: string
  13110. telphone:
  13111. description: 联系电话(加密存储)
  13112. type: string
  13113. userid:
  13114. description: 用户ID
  13115. type: integer
  13116. userinfotype:
  13117. description: 用户信息类型 - 1:个人 2:企业
  13118. type: integer
  13119. userstatus:
  13120. description: 用户状态 - 1:正常 2:注销
  13121. type: integer
  13122. usertype:
  13123. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13124. type: integer
  13125. wechat:
  13126. description: 微信(加密存储)
  13127. type: string
  13128. wskhinfo:
  13129. description: 开户申请信息(JSON)
  13130. type: string
  13131. required:
  13132. - userid
  13133. type: object
  13134. models.WRSConverTDetail:
  13135. properties:
  13136. convertratio:
  13137. description: 套保系数
  13138. type: number
  13139. deliverygoodscode:
  13140. description: 现货商品代码
  13141. type: string
  13142. deliverygoodsid:
  13143. description: 现货品种ID
  13144. type: integer
  13145. deliverygoodsname:
  13146. description: 现货商品名称
  13147. type: string
  13148. enumdicname:
  13149. description: 单位名称
  13150. type: string
  13151. goodsunitid:
  13152. description: 套保品种单位id
  13153. type: integer
  13154. middlegoodscode:
  13155. description: 套保品种代码
  13156. type: string
  13157. middlegoodsid:
  13158. description: 套保品种ID
  13159. type: integer
  13160. middlegoodsname:
  13161. description: 套保品种名称
  13162. type: string
  13163. modifytime:
  13164. description: 修改时间
  13165. type: string
  13166. wrstandardid:
  13167. description: 品类ID
  13168. type: integer
  13169. type: object
  13170. models.WRStandardInfo:
  13171. properties:
  13172. areauserid:
  13173. description: 所属机构
  13174. type: integer
  13175. convertfactor:
  13176. description: 标仓系数
  13177. type: number
  13178. createtime:
  13179. description: 创建时间
  13180. type: string
  13181. creatorid:
  13182. description: 创建人
  13183. type: integer
  13184. deliverygoodsid:
  13185. description: 品种ID
  13186. type: integer
  13187. deliverygoodsname:
  13188. description: 交割商品名称
  13189. type: string
  13190. factoryitemjson:
  13191. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13192. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13193. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13194. 逗号分隔'
  13195. type: string
  13196. isvalid:
  13197. description: 是否有效 - 0:无效 1:有效
  13198. type: integer
  13199. minivalue:
  13200. description: 最小变动值
  13201. type: integer
  13202. minivaluedp:
  13203. description: 最小变动值小数位
  13204. type: integer
  13205. realminivalue:
  13206. description: 实际最小变动值
  13207. type: integer
  13208. realminivaluedp:
  13209. description: 实际最小变动值小数位
  13210. type: integer
  13211. remark:
  13212. description: 备注
  13213. type: string
  13214. unitid:
  13215. description: 单位ID
  13216. type: integer
  13217. unitname:
  13218. description: 单位
  13219. type: string
  13220. updatetime:
  13221. description: 更新时间
  13222. type: string
  13223. updatorid:
  13224. description: 更新人
  13225. type: integer
  13226. wrsstatus:
  13227. description: 状态 - 作废 - 0:未激活 1:正常
  13228. type: integer
  13229. wrstandardcode:
  13230. description: 现货品类代码
  13231. type: string
  13232. wrstandardid:
  13233. description: 现货品类ID(SEQ_WRSTANDARD)
  13234. type: integer
  13235. wrstandardname:
  13236. description: 现货品类名称
  13237. type: string
  13238. required:
  13239. - wrstandardid
  13240. type: object
  13241. models.Warehouseinfo:
  13242. properties:
  13243. address:
  13244. description: 详细地址
  13245. type: string
  13246. areauserid:
  13247. description: 所属机构
  13248. type: integer
  13249. autoid:
  13250. description: 自增ID
  13251. type: integer
  13252. cityid:
  13253. description: 市
  13254. type: integer
  13255. contactname:
  13256. description: 联系人
  13257. type: string
  13258. contactnum:
  13259. description: 联系电话
  13260. type: string
  13261. countryid:
  13262. description: 国家
  13263. type: integer
  13264. createtime:
  13265. description: 创建时间
  13266. type: string
  13267. districtid:
  13268. description: 区
  13269. type: integer
  13270. hasvideo:
  13271. description: 是否有视频 - 0:无 1:有
  13272. type: integer
  13273. provinceid:
  13274. description: 省
  13275. type: integer
  13276. remark:
  13277. description: 审核备注
  13278. type: string
  13279. videourl:
  13280. description: 视频地址
  13281. type: string
  13282. warehousecode:
  13283. description: 仓库代码
  13284. type: string
  13285. warehousename:
  13286. description: 仓库名称
  13287. type: string
  13288. warehousestatus:
  13289. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13290. type: integer
  13291. warehousetype:
  13292. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13293. type: integer
  13294. required:
  13295. - autoid
  13296. - warehousecode
  13297. type: object
  13298. models.WrFAProductDetail:
  13299. properties:
  13300. accountid:
  13301. description: 资金账号
  13302. type: integer
  13303. areauserid:
  13304. description: 金融机构ID
  13305. type: integer
  13306. financingdays:
  13307. description: 天数(天)
  13308. type: integer
  13309. interestminlen:
  13310. description: 最小起息天数
  13311. type: integer
  13312. interestrate:
  13313. description: 利率
  13314. type: number
  13315. interestratemode:
  13316. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13317. type: integer
  13318. interestsettlemode:
  13319. description: 结息方式 - 1:按日结息 3:按月结息
  13320. type: integer
  13321. interestsettlevalue:
  13322. description: 结息方式值
  13323. type: integer
  13324. isautoloan:
  13325. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13326. type: integer
  13327. loantag:
  13328. description: '放款标识: "放款快" 或者为空'
  13329. type: string
  13330. marginratio:
  13331. description: 保证金比率质押率 - [仓单质押]
  13332. type: number
  13333. productdetailid:
  13334. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13335. type: integer
  13336. productid:
  13337. description: 金融产品ID
  13338. type: integer
  13339. productname:
  13340. description: 产品名称
  13341. type: string
  13342. updatetime:
  13343. description: 更新时间
  13344. type: string
  13345. username:
  13346. description: 融出方
  13347. type: string
  13348. type: object
  13349. models.WrFactorTypeInfo:
  13350. properties:
  13351. deliverygoodscode:
  13352. description: 品种代码
  13353. type: string
  13354. deliverygoodsname:
  13355. description: 品种名称
  13356. type: string
  13357. dgfactoryitemid:
  13358. description: 选择项id
  13359. type: integer
  13360. dgfactoryitemtypeid:
  13361. description: 要素选择项ID (1-仓库 2-品牌)
  13362. type: integer
  13363. dgfactoryitemvalue:
  13364. description: 要素项值
  13365. type: string
  13366. itemtypename:
  13367. description: 要素项名称
  13368. type: string
  13369. optioncompare:
  13370. description: 选择比较串
  13371. type: string
  13372. warehouseid:
  13373. description: 仓库id
  13374. type: integer
  13375. wrfactortypeid:
  13376. description: 仓单要素ID
  13377. type: string
  13378. wrfactortypename:
  13379. description: 要素名称
  13380. type: string
  13381. wrfactortypename2:
  13382. description: 要素名称(不含仓库)
  13383. type: string
  13384. wrstandardcode:
  13385. description: 品类代码
  13386. type: string
  13387. wrstandardid:
  13388. description: 品类id
  13389. type: integer
  13390. wrstandardname:
  13391. description: 品类名称
  13392. type: string
  13393. type: object
  13394. models.WrFilterItem:
  13395. properties:
  13396. itemcode:
  13397. description: 代码
  13398. type: string
  13399. itemid:
  13400. description: 项id
  13401. type: integer
  13402. itemname:
  13403. description: 名称
  13404. type: string
  13405. itemtype:
  13406. description: 类型 1-品种 2-品类(商品) 3-仓库
  13407. type: integer
  13408. type: object
  13409. models.WrFinanceBuyApply:
  13410. properties:
  13411. applydate:
  13412. description: 申请时间
  13413. type: string
  13414. applystatus:
  13415. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13416. type: integer
  13417. applyuserid:
  13418. description: 申请人
  13419. type: integer
  13420. auditdate:
  13421. description: 审核时间
  13422. type: string
  13423. auditremark:
  13424. description: 审核备注
  13425. type: string
  13426. audituserid:
  13427. description: 审核人
  13428. type: integer
  13429. buyaccountid:
  13430. description: 买方资金账号
  13431. type: integer
  13432. buyorsell:
  13433. description: 买卖 - 0:买 1:卖
  13434. type: integer
  13435. buyuserid:
  13436. description: 买方用户ID
  13437. type: integer
  13438. buyusername:
  13439. description: 买方名称
  13440. type: string
  13441. buywrtradeorderid:
  13442. description: 融资方买委托单ID
  13443. type: string
  13444. deliverygoodscode:
  13445. description: 品种代码
  13446. type: string
  13447. deliverygoodsid:
  13448. description: 品种ID
  13449. type: integer
  13450. deliverygoodsname:
  13451. description: 品种名称
  13452. type: string
  13453. deliverymonth:
  13454. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13455. type: string
  13456. enumdicname:
  13457. description: 单位名称
  13458. type: string
  13459. financeaccountid:
  13460. description: 融资方资金帐户ID
  13461. type: integer
  13462. financeapplyid:
  13463. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13464. type: string
  13465. financeareauserid:
  13466. description: 融资方用户ID
  13467. type: string
  13468. financename:
  13469. description: 融出方名称
  13470. type: string
  13471. financetype:
  13472. description: 融资类型 1-融资回购
  13473. type: integer
  13474. financingdays:
  13475. description: 天数(天)
  13476. type: integer
  13477. freezebuymargin:
  13478. description: 冻结融资保证金(买方)
  13479. type: number
  13480. handleremark:
  13481. description: 处理备注
  13482. type: string
  13483. handlestatus:
  13484. description: 处理状态
  13485. type: integer
  13486. interestminlen:
  13487. description: 最小起息天数
  13488. type: integer
  13489. interestrate:
  13490. description: 利率
  13491. type: number
  13492. interestratemode:
  13493. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13494. type: integer
  13495. interestsettlemode:
  13496. description: 结息方式 - 1:按日结息 3:按月结息
  13497. type: integer
  13498. interestsettlevalue:
  13499. description: 结息方式值
  13500. type: integer
  13501. isautoloan:
  13502. description: 是否自动放款 - 0:手动 1:自动
  13503. type: integer
  13504. marginratio:
  13505. description: 保证金比率质押率 - [仓单质押]
  13506. type: number
  13507. marketid:
  13508. description: 市场ID
  13509. type: integer
  13510. minivalue:
  13511. description: 现货商品最小变动值
  13512. type: integer
  13513. optioncompare:
  13514. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13515. type: string
  13516. orderqty:
  13517. description: 委托数量(商品数量)
  13518. type: number
  13519. productdetailid:
  13520. description: 产品组合ID
  13521. type: integer
  13522. productid:
  13523. description: 金融产品ID
  13524. type: integer
  13525. productname:
  13526. description: 产品名称
  13527. type: string
  13528. remark:
  13529. description: 备注
  13530. type: string
  13531. scfcontractid:
  13532. description: 仓单回购合同ID
  13533. type: string
  13534. sellaccountid:
  13535. description: 卖方资金账号
  13536. type: integer
  13537. selluserid:
  13538. description: 卖方用户ID
  13539. type: integer
  13540. sellwrtradeorderid:
  13541. description: 卖方委托单ID
  13542. type: string
  13543. tradeamount:
  13544. description: 成交金额(借款金额)
  13545. type: number
  13546. tradedate:
  13547. description: 交易日(yyyyMMdd)
  13548. type: string
  13549. tradeprice:
  13550. description: 成交价格
  13551. type: number
  13552. warehouseid:
  13553. description: 仓库ID
  13554. type: integer
  13555. warehousename:
  13556. description: 仓库名称
  13557. type: string
  13558. wrfactortypeid:
  13559. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13560. type: string
  13561. wrfactortypename:
  13562. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13563. type: string
  13564. wrpricetype:
  13565. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13566. type: integer
  13567. wrstandardcode:
  13568. description: 现货商品代码
  13569. type: string
  13570. wrstandardid:
  13571. description: 现货商品ID
  13572. type: integer
  13573. wrstandardname:
  13574. description: 商品名称
  13575. type: string
  13576. wrtypename:
  13577. description: 商品
  13578. type: string
  13579. type: object
  13580. models.WrFtDeliveryGoods:
  13581. properties:
  13582. deliverygoodscode:
  13583. description: 品种代码
  13584. type: string
  13585. deliverygoodsid:
  13586. description: 品种ID
  13587. type: integer
  13588. deliverygoodsname:
  13589. description: 品种名称
  13590. type: string
  13591. wdlst:
  13592. description: 商品列表
  13593. items:
  13594. $ref: '#/definitions/models.WrFtWrstandard'
  13595. type: array
  13596. type: object
  13597. models.WrFtWrstandard:
  13598. properties:
  13599. enumdicname:
  13600. description: 单位名称
  13601. type: string
  13602. minivalue:
  13603. description: 最小变动值
  13604. type: integer
  13605. wrstandardcode:
  13606. description: 现货商品代码
  13607. type: string
  13608. wrstandardid:
  13609. description: 现货商品ID
  13610. type: integer
  13611. wrstandardname:
  13612. description: 商品名称
  13613. type: string
  13614. type: object
  13615. models.WrGoodsInfo:
  13616. properties:
  13617. haswr:
  13618. description: 0:仓单预售 1:仓单贸易
  13619. type: integer
  13620. lstitem:
  13621. description: 商品信息项
  13622. items:
  13623. $ref: '#/definitions/models.WrTypeItem'
  13624. type: array
  13625. lststep:
  13626. description: 履约规则
  13627. items:
  13628. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13629. type: array
  13630. marketid:
  13631. description: 市场id
  13632. type: integer
  13633. type: object
  13634. models.WrGoodsPerformanceStep:
  13635. properties:
  13636. autoid:
  13637. description: AutoID
  13638. type: integer
  13639. isauto:
  13640. description: 是否自动 - 0:不自动 1:自动
  13641. type: integer
  13642. remark:
  13643. description: 备注
  13644. type: string
  13645. stepdate:
  13646. description: 天数信息(T+N)
  13647. type: string
  13648. stepdays:
  13649. description: 距离上一步天数
  13650. type: integer
  13651. stepindex:
  13652. description: 步骤序号
  13653. type: integer
  13654. stepinfo:
  13655. description: 步骤信息(步骤名称+步骤值)
  13656. type: string
  13657. steptypeid:
  13658. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13659. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13660. type: integer
  13661. steptypename:
  13662. description: 步骤名称
  13663. type: string
  13664. stepvalue:
  13665. description: 步骤值
  13666. type: number
  13667. templateid:
  13668. description: 履约计划模板ID
  13669. type: integer
  13670. type: object
  13671. models.WrHoldLB:
  13672. properties:
  13673. accountid:
  13674. description: 持有人帐户ID
  13675. type: integer
  13676. createtime:
  13677. description: 创建时间(过户时间)
  13678. type: string
  13679. deliverygoodscode:
  13680. description: 品种代码
  13681. type: string
  13682. deliverygoodsid:
  13683. description: 品种ID
  13684. type: integer
  13685. deliverygoodsname:
  13686. description: 品种名称
  13687. type: string
  13688. enableqty:
  13689. description: 可用数量
  13690. type: number
  13691. enumdicname:
  13692. description: 单位名称
  13693. type: string
  13694. freezerqty:
  13695. description: 冻结数量
  13696. type: number
  13697. ladingbillid:
  13698. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13699. type: string
  13700. minivalue:
  13701. description: 现货商品最小变动值
  13702. type: integer
  13703. optioncompare:
  13704. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13705. type: string
  13706. parentsubnum:
  13707. description: 拆分父子单号
  13708. type: integer
  13709. pledgeqty:
  13710. description: 质押数量
  13711. type: number
  13712. qty:
  13713. description: 数量
  13714. type: number
  13715. subnum:
  13716. description: 提单子单号
  13717. type: integer
  13718. tradedate:
  13719. description: 交易日(yyyyMMdd)
  13720. type: string
  13721. userid:
  13722. description: 持有人ID
  13723. type: integer
  13724. warehouseid:
  13725. description: 仓库ID
  13726. type: integer
  13727. warehousename:
  13728. description: 仓库名称
  13729. type: string
  13730. wrfactortypeid:
  13731. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13732. type: string
  13733. wrfactortypename:
  13734. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13735. type: string
  13736. wrholdeno:
  13737. description: 仓单编号
  13738. type: string
  13739. wrid:
  13740. description: 仓单变更ID
  13741. type: string
  13742. wrstandardcode:
  13743. description: 现货商品代码
  13744. type: string
  13745. wrstandardid:
  13746. description: 现货商品ID
  13747. type: integer
  13748. wrstandardname:
  13749. description: 商品名称
  13750. type: string
  13751. wrtypename:
  13752. description: 商品
  13753. type: string
  13754. type: object
  13755. models.WrMarketTradeConfig:
  13756. properties:
  13757. basisdownratio:
  13758. description: 浮动价基差下限比例(仓单贸易)
  13759. type: number
  13760. basisupratio:
  13761. description: 浮动价基差上限比例(仓单贸易)
  13762. type: number
  13763. buychargealgorithm:
  13764. description: 买方手续费收取方式 1:比率 2:固定
  13765. type: integer
  13766. buychargealgorithm2:
  13767. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  13768. type: integer
  13769. buychargealgorithmvalue:
  13770. description: 买方手续费设置值(交易所部分)
  13771. type: number
  13772. buychargealgorithmvalue2:
  13773. description: 买方手续费设置值(会员部分)
  13774. type: number
  13775. buychargealgorithmvalue3:
  13776. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  13777. type: number
  13778. buychargealgorithmvalue4:
  13779. description: 回购买方手续费设置值(会员部分) --77:现货商城
  13780. type: number
  13781. buyfirstmarginalgorithm:
  13782. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  13783. type: integer
  13784. buyfirstmarginvalue:
  13785. description: 买方出价保证金设置值 - [竞拍]
  13786. type: number
  13787. buymarginalgorithm:
  13788. description: 买方保证金方式 - 1:比率 2:固定
  13789. type: integer
  13790. buymarginvalue:
  13791. description: 买方保证金设置值
  13792. type: number
  13793. buyreleaseratio:
  13794. description: 买方释放比率[2:分步履约]
  13795. type: number
  13796. executemode:
  13797. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  13798. type: integer
  13799. executeside:
  13800. description: 执行方[2:分步履约] - 1:买方 2:卖方
  13801. type: integer
  13802. failedchargealgorithm:
  13803. description: 流拍手续费收取方式 1:比率 2:固定
  13804. type: integer
  13805. failedchargevalue:
  13806. description: 流拍手续费设置值
  13807. type: number
  13808. failedchargevalue2:
  13809. description: 流拍卖方手续费设置值
  13810. type: number
  13811. holddays:
  13812. description: 合同期限[2:分步履约]
  13813. type: integer
  13814. marketid:
  13815. description: 市场ID-仓单贸易、竞拍、预售
  13816. type: integer
  13817. minqty:
  13818. description: 最小执行量[2:分步履约]
  13819. type: number
  13820. modifierid:
  13821. description: 修改人
  13822. type: integer
  13823. performancetempid:
  13824. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13825. 立即执行(-1)
  13826. type: integer
  13827. performancetempid2:
  13828. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13829. 立即执行
  13830. type: integer
  13831. performanceway:
  13832. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  13833. type: integer
  13834. sellchargealgorithm:
  13835. description: 卖方手续费收取方式 1:比率 2:固定
  13836. type: integer
  13837. sellchargealgorithm2:
  13838. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  13839. type: integer
  13840. sellchargealgorithmvalue:
  13841. description: 卖方手续费设置值(交易所部分)
  13842. type: number
  13843. sellchargealgorithmvalue2:
  13844. description: 卖方手续费设置值(会员部分)
  13845. type: number
  13846. sellchargealgorithmvalue3:
  13847. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  13848. type: number
  13849. sellchargealgorithmvalue4:
  13850. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  13851. type: number
  13852. sellmarginalgorithm:
  13853. description: 卖方保证金方式 - 1:比率 2:固定
  13854. type: integer
  13855. sellmarginvalue:
  13856. description: 卖方保证金设置值
  13857. type: number
  13858. sellmarginvalue2:
  13859. description: 卖方保证金设置值(无仓单)
  13860. type: number
  13861. sellreleaseratio:
  13862. description: 卖方释放比率[2:分步履约]
  13863. type: number
  13864. updatetime:
  13865. description: 更新时间
  13866. type: string
  13867. type: object
  13868. models.WrOrderDetail:
  13869. properties:
  13870. buyorsell:
  13871. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13872. type: integer
  13873. cancelqty:
  13874. description: 撤销数量
  13875. type: number
  13876. deliverygoodscode:
  13877. description: 品种代码
  13878. type: string
  13879. deliverygoodsid:
  13880. description: 品种ID
  13881. type: integer
  13882. deliverygoodsname:
  13883. description: 品种名称
  13884. type: string
  13885. deliverymonth:
  13886. description: 交收月
  13887. type: string
  13888. enumdicname:
  13889. description: 单位名称
  13890. type: string
  13891. fixedprice:
  13892. description: 固定价格 - [挂牌]
  13893. type: number
  13894. futupricemove:
  13895. description: 期货升贴水
  13896. type: number
  13897. futushow:
  13898. description: 期货合约/升贴水
  13899. type: string
  13900. goodscode:
  13901. description: 期货合约
  13902. type: string
  13903. goodsid:
  13904. description: 期货商品id
  13905. type: integer
  13906. goodsname:
  13907. description: 商品名称
  13908. type: string
  13909. haswr:
  13910. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13911. type: integer
  13912. marketid:
  13913. description: 市场ID
  13914. type: integer
  13915. minivalue:
  13916. description: 现货商品最小变动值
  13917. type: integer
  13918. optioncompare:
  13919. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13920. type: string
  13921. orderqty:
  13922. description: 委托数量
  13923. type: number
  13924. ordertime:
  13925. description: 委托时间(挂牌时间)
  13926. type: string
  13927. pricemove:
  13928. description: 升贴水(浮动价时填写) - [挂牌]
  13929. type: number
  13930. tradedate:
  13931. description: 交易日(yyyyMMdd)
  13932. type: string
  13933. tradeprice:
  13934. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13935. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13936. type: number
  13937. tradeqty:
  13938. description: 成交数量
  13939. type: number
  13940. userid:
  13941. description: 用户ID
  13942. type: integer
  13943. warehouseid:
  13944. description: 仓库ID
  13945. type: integer
  13946. warehousename:
  13947. description: 仓库名称
  13948. type: string
  13949. wrfactortypeid:
  13950. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13951. type: string
  13952. wrfactortypename:
  13953. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13954. type: string
  13955. wrpricetype:
  13956. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13957. type: integer
  13958. wrstandardcode:
  13959. description: 现货商品代码
  13960. type: string
  13961. wrstandardid:
  13962. description: 现货商品ID
  13963. type: integer
  13964. wrstandardname:
  13965. description: 商品名称
  13966. type: string
  13967. wrtradeorderid:
  13968. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13969. type: string
  13970. wrtradeorderstatus:
  13971. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  13972. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  13973. type: integer
  13974. wrtradetype:
  13975. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13976. type: integer
  13977. wrtypename:
  13978. description: 商品
  13979. type: string
  13980. type: object
  13981. models.WrOrderQuote:
  13982. properties:
  13983. buyprice:
  13984. description: 买价
  13985. type: number
  13986. buypricemove:
  13987. description: 买升贴水(基差)
  13988. type: number
  13989. buyqty:
  13990. description: 买量
  13991. type: number
  13992. deliverygoodscode:
  13993. description: 品种代码
  13994. type: string
  13995. deliverygoodsid:
  13996. description: 品种id
  13997. type: integer
  13998. deliverygoodsname:
  13999. description: 品种名称
  14000. type: string
  14001. deliverymonth:
  14002. description: 交收月
  14003. type: string
  14004. enumdicname:
  14005. description: 单位名称
  14006. type: string
  14007. goodscode:
  14008. description: 商品合约(浮动价列表才有)
  14009. type: string
  14010. goodsid:
  14011. description: 商品id(浮动价列表才有)
  14012. type: integer
  14013. minivalue:
  14014. description: 现货商品最小变动值
  14015. type: integer
  14016. sellprice:
  14017. description: 卖价
  14018. type: number
  14019. sellpricemove:
  14020. description: 卖升贴水(基差)
  14021. type: number
  14022. sellqty:
  14023. description: 卖量
  14024. type: number
  14025. warehousecode:
  14026. description: 仓库代码
  14027. type: string
  14028. warehouseid:
  14029. description: 仓库id
  14030. type: integer
  14031. warehousename:
  14032. description: 仓库名称
  14033. type: string
  14034. wrfactortypeid:
  14035. description: 仓单要素id
  14036. type: string
  14037. wrfactortypename:
  14038. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14039. type: string
  14040. wrgoodsname:
  14041. description: 商品(商品名称+仓库要素名称 拼接)
  14042. type: string
  14043. wrstandardcode:
  14044. description: 商品代码
  14045. type: string
  14046. wrstandardid:
  14047. description: 商品id
  14048. type: integer
  14049. wrstandardname:
  14050. description: 商品名称
  14051. type: string
  14052. type: object
  14053. models.WrOrderQuoteDetail:
  14054. properties:
  14055. buyorsell:
  14056. description: 买卖 - 0:买 1:卖
  14057. type: integer
  14058. delistminqty:
  14059. description: 起摘数量
  14060. type: number
  14061. deliverymonth:
  14062. description: 交收月
  14063. type: string
  14064. enumdicname:
  14065. description: 单位名称
  14066. type: string
  14067. fixedprice:
  14068. description: 买(卖)价
  14069. type: number
  14070. minivalue:
  14071. description: 现货商品最小变动值
  14072. type: integer
  14073. orderqty:
  14074. description: 买(卖)量(=委托量-成交量)
  14075. type: number
  14076. ordertime:
  14077. description: 委托时间
  14078. type: string
  14079. pricemove:
  14080. description: 买(卖)升贴水- 基差
  14081. type: number
  14082. userid:
  14083. description: 购买方(销售方)用户ID
  14084. type: integer
  14085. username:
  14086. description: 购买方(销售方)
  14087. type: string
  14088. wrtradeorderid:
  14089. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14090. type: string
  14091. type: object
  14092. models.WrPerformancePlan:
  14093. properties:
  14094. amount:
  14095. description: 履约金额(总金额)
  14096. type: number
  14097. buyaccountid:
  14098. description: 买方账号
  14099. type: integer
  14100. buyerfreezeamount:
  14101. description: 履约冻结(买履约)
  14102. type: number
  14103. buyerfreezeamountremain:
  14104. description: 履约冻结剩余(买履约)
  14105. type: number
  14106. buyorsell:
  14107. description: 买卖方向 0-买 1-卖
  14108. type: integer
  14109. buypaidamount:
  14110. description: 买方已冻/已扣金额 (已付金额)
  14111. type: number
  14112. buyusername:
  14113. description: 买方名字
  14114. type: string
  14115. contractid:
  14116. description: 合同ID
  14117. type: integer
  14118. createtime:
  14119. description: 创建时间
  14120. type: string
  14121. creatorid:
  14122. description: 创建人
  14123. type: integer
  14124. curstepdeadline:
  14125. description: 当前步骤到期时间
  14126. type: string
  14127. curstepid:
  14128. description: 当前步骤ID
  14129. type: string
  14130. curstepname:
  14131. description: 当前步骤名称
  14132. type: string
  14133. deliverygoodscode:
  14134. description: 品种代码
  14135. type: string
  14136. deliverygoodsid:
  14137. description: 品种ID
  14138. type: integer
  14139. deliverygoodsname:
  14140. description: 品种名称
  14141. type: string
  14142. enumdicname:
  14143. description: 单位名称
  14144. type: string
  14145. expressfee:
  14146. description: 运费
  14147. type: number
  14148. expressfeeconfirmed:
  14149. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14150. type: integer
  14151. hasovershort:
  14152. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14153. type: integer
  14154. haswr:
  14155. description: 类型 0-仓单预售 1-仓单贸易
  14156. type: integer
  14157. marketid:
  14158. description: 市场ID
  14159. type: integer
  14160. middleaccountid:
  14161. description: 中间商资金账号ID
  14162. type: integer
  14163. middleuserid:
  14164. description: 中间商用户ID
  14165. type: integer
  14166. minivalue:
  14167. description: 现货商品最小变动值
  14168. type: integer
  14169. optioncompare:
  14170. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14171. type: string
  14172. overshortamount:
  14173. description: 溢短金额
  14174. type: number
  14175. overshortqty:
  14176. description: 溢短数量
  14177. type: number
  14178. paymenttype:
  14179. description: 付款方式 - 1:冻结 2:扣款
  14180. type: integer
  14181. performanceplanid:
  14182. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14183. type: string
  14184. performancestatus:
  14185. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14186. 9:超时待处理 10:超时关闭
  14187. type: integer
  14188. performancetype:
  14189. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14190. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14191. type: integer
  14192. qty:
  14193. description: 履约数量
  14194. type: number
  14195. relatedorderid:
  14196. description: 关联单号(履约类型的关联单号)
  14197. type: string
  14198. remark:
  14199. description: 备注
  14200. type: string
  14201. sellaccountid:
  14202. description: 卖方账号
  14203. type: integer
  14204. sellerfreezeamount:
  14205. description: 履约冻结(卖履约)
  14206. type: number
  14207. sellerfreezeamountremain:
  14208. description: 履约冻结剩余(卖履约)
  14209. type: number
  14210. sellreceivedamount:
  14211. description: 卖方已收金额
  14212. type: number
  14213. sellusername:
  14214. description: 卖方名字
  14215. type: string
  14216. shipremark:
  14217. description: 发货备注[物流单号]
  14218. type: string
  14219. starttime:
  14220. description: 开始时间
  14221. type: string
  14222. steptypeid:
  14223. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14224. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14225. type: integer
  14226. unpaidamount:
  14227. description: 剩余款(待支付金额)
  14228. type: number
  14229. userid:
  14230. description: 用户id
  14231. type: integer
  14232. warehouseid:
  14233. description: 仓库ID
  14234. type: integer
  14235. warehousename:
  14236. description: 仓库名称
  14237. type: string
  14238. wrfactortypeid:
  14239. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14240. type: string
  14241. wrfactortypename:
  14242. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14243. type: string
  14244. wrstandardcode:
  14245. description: 现货商品代码
  14246. type: string
  14247. wrstandardid:
  14248. description: 现货商品ID
  14249. type: integer
  14250. wrstandardname:
  14251. description: 商品名称
  14252. type: string
  14253. wrtransferuserid:
  14254. description: 仓单受让用户
  14255. type: integer
  14256. wrtypename:
  14257. description: 商品
  14258. type: string
  14259. required:
  14260. - userid
  14261. type: object
  14262. models.WrPerformancePlanStep:
  14263. properties:
  14264. delaydays:
  14265. description: 延期申请天数
  14266. type: integer
  14267. deliverygoodscode:
  14268. description: 品种代码
  14269. type: string
  14270. deliverygoodsid:
  14271. description: 品种ID
  14272. type: integer
  14273. deliverygoodsname:
  14274. description: 品种名称
  14275. type: string
  14276. endtime:
  14277. description: 结束日期
  14278. type: string
  14279. enumdicname:
  14280. description: 单位名称
  14281. type: string
  14282. executeside:
  14283. description: 步骤执行方 - 1:买方 2:卖方
  14284. type: integer
  14285. handlestatus:
  14286. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14287. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14288. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14289. type: integer
  14290. isauto:
  14291. description: 是否自动 - 0:不自动 1:自动
  14292. type: integer
  14293. islastreceivestep:
  14294. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14295. type: integer
  14296. minivalue:
  14297. description: 现货商品最小变动值
  14298. type: integer
  14299. optioncompare:
  14300. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14301. type: string
  14302. overdays:
  14303. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14304. type: integer
  14305. performancestepid:
  14306. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14307. type: string
  14308. planid:
  14309. description: 所属履约计划ID
  14310. type: string
  14311. realamount:
  14312. description: 实际完成金额
  14313. type: number
  14314. relatedorderid:
  14315. description: 关联单号
  14316. type: string
  14317. remaindays:
  14318. description: 剩余天数
  14319. type: integer
  14320. remark:
  14321. description: 错误备注
  14322. type: string
  14323. starttime:
  14324. description: 开始日期
  14325. type: string
  14326. stepamount:
  14327. description: 步骤金额
  14328. type: number
  14329. stepdays:
  14330. description: 距离上一步天数(分钟)
  14331. type: integer
  14332. stepindex:
  14333. description: 步骤序号
  14334. type: integer
  14335. steplanchtype:
  14336. description: 步骤启动类型 - 1:系统自动 2:手动
  14337. type: integer
  14338. stepremark:
  14339. description: 步骤备注
  14340. type: string
  14341. stepstatus:
  14342. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14343. type: integer
  14344. steptypeid:
  14345. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14346. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14347. type: integer
  14348. steptypename:
  14349. description: 步骤名称
  14350. type: string
  14351. stepvalue:
  14352. description: 步骤值
  14353. type: number
  14354. warehouseid:
  14355. description: 仓库ID
  14356. type: integer
  14357. warehousename:
  14358. description: 仓库名称
  14359. type: string
  14360. wrfactortypeid:
  14361. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14362. type: string
  14363. wrfactortypename:
  14364. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14365. type: string
  14366. wrstandardcode:
  14367. description: 现货商品代码
  14368. type: string
  14369. wrstandardid:
  14370. description: 现货商品ID
  14371. type: integer
  14372. wrstandardname:
  14373. description: 商品名称
  14374. type: string
  14375. wrtypename:
  14376. description: 商品
  14377. type: string
  14378. type: object
  14379. models.WrPosition:
  14380. properties:
  14381. accountid:
  14382. description: 帐户ID
  14383. type: integer
  14384. buyexcuteqty:
  14385. description: 采购履约中数量
  14386. type: number
  14387. creditcurqty:
  14388. description: 授信当前数量(预售仓单:预售当前量)
  14389. type: number
  14390. creditenableqty:
  14391. description: '授信可用数量(预售仓单: 可用数量)'
  14392. type: number
  14393. creditfreezeqty:
  14394. description: '授信冻结数量(预售仓单: 当前数量)'
  14395. type: number
  14396. credittotalqty:
  14397. description: 授信总数量(预售仓单:预售总量)
  14398. type: number
  14399. credittradeqty:
  14400. description: 授信成交数量(预售仓单:成交总量)
  14401. type: number
  14402. deliverygoodscode:
  14403. description: 品种代码
  14404. type: string
  14405. deliverygoodsid:
  14406. description: 品种ID
  14407. type: integer
  14408. deliverygoodsname:
  14409. description: 品种名称
  14410. type: string
  14411. enalbeqty:
  14412. description: 可用数量
  14413. type: number
  14414. enumdicname:
  14415. description: 单位名称
  14416. type: string
  14417. freezeqty:
  14418. description: 总冻结数量
  14419. type: number
  14420. haswr:
  14421. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14422. type: integer
  14423. minivalue:
  14424. description: 现货商品最小变动值
  14425. type: integer
  14426. modifytime:
  14427. description: 修改时间(过户时间)
  14428. type: string
  14429. optioncompare:
  14430. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14431. type: string
  14432. pledgeqty:
  14433. description: 质押数量
  14434. type: number
  14435. querytype:
  14436. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  14437. type: integer
  14438. sellexcuteqty:
  14439. description: 销售履约中数量
  14440. type: number
  14441. totalqty:
  14442. description: 总数量(库存数量)
  14443. type: number
  14444. warehouseid:
  14445. description: 仓库ID
  14446. type: integer
  14447. warehousename:
  14448. description: 仓库名称
  14449. type: string
  14450. wrfactortypeid:
  14451. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14452. type: string
  14453. wrfactortypename:
  14454. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14455. type: string
  14456. wrpositionid:
  14457. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  14458. type: string
  14459. wrpositionno:
  14460. description: 仓单编号
  14461. type: string
  14462. wrstandardcode:
  14463. description: 现货商品代码
  14464. type: string
  14465. wrstandardid:
  14466. description: 现货商品ID
  14467. type: integer
  14468. wrstandardname:
  14469. description: 商品名称
  14470. type: string
  14471. wrtypename:
  14472. description: 商品
  14473. type: string
  14474. wruserid:
  14475. description: 持有人ID
  14476. type: integer
  14477. type: object
  14478. models.WrScfContract:
  14479. properties:
  14480. borroweruserid:
  14481. description: 借款用户ID
  14482. type: integer
  14483. buybackwrpositionqty:
  14484. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  14485. type: number
  14486. closeinterest:
  14487. description: 已结利息 -> 已结费用
  14488. type: number
  14489. currisklevel:
  14490. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14491. type: integer
  14492. deadline:
  14493. description: 截止日期(yyyyMMdd) -> 借款到期时间
  14494. type: string
  14495. deliverygoodscode:
  14496. description: 品种代码
  14497. type: string
  14498. deliverygoodsid:
  14499. description: 品种ID
  14500. type: integer
  14501. deliverygoodsname:
  14502. description: 品种名称
  14503. type: string
  14504. enumdicname:
  14505. description: 单位名称
  14506. type: string
  14507. financingdays:
  14508. description: 天数(天)
  14509. type: integer
  14510. initmargin:
  14511. description: 保证金 - [仓单回购]
  14512. type: number
  14513. interestamount:
  14514. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  14515. type: number
  14516. interestdebt:
  14517. description: 利息欠款(记录负数) -> 费用欠款
  14518. type: number
  14519. interestminlen:
  14520. description: 最小起息天数
  14521. type: integer
  14522. interestrate:
  14523. description: 利率
  14524. type: number
  14525. interestratemode:
  14526. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14527. type: integer
  14528. interestsettlemode:
  14529. description: 结息方式 - 1:按日结息 3:按月结息
  14530. type: integer
  14531. interestsettlevalue:
  14532. description: 结息方式值
  14533. type: integer
  14534. isautoloan:
  14535. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  14536. type: integer
  14537. lastcloseinterestday:
  14538. description: 最近结息日(yyyyMMdd)
  14539. type: string
  14540. lenderamount:
  14541. description: 贷款金额 -> 借款金额
  14542. type: number
  14543. lenderuserid:
  14544. description: 贷款方用户ID -> 融出方用户ID
  14545. type: integer
  14546. lenderusername:
  14547. description: 融出方
  14548. type: string
  14549. marginratio:
  14550. description: 保证金比率质押率 - [仓单质押]
  14551. type: number
  14552. marketid:
  14553. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  14554. type: integer
  14555. minivalue:
  14556. description: 现货商品最小变动值
  14557. type: integer
  14558. optioncompare:
  14559. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14560. type: string
  14561. pricemove:
  14562. description: 估值升贴水值
  14563. type: number
  14564. productdetailid:
  14565. description: 产品组合ID
  14566. type: integer
  14567. productid:
  14568. description: 金融产品ID
  14569. type: integer
  14570. productname:
  14571. description: 产品名称
  14572. type: string
  14573. remainamount:
  14574. description: 合同剩余金额 -> 剩余金额
  14575. type: number
  14576. remainwrpositionqty:
  14577. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量
  14578. type: number
  14579. remark:
  14580. description: 备注
  14581. type: string
  14582. scfcontractid:
  14583. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14584. type: string
  14585. scfcontractstatus:
  14586. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14587. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14588. type: integer
  14589. scfcontracttype:
  14590. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  14591. type: integer
  14592. startinterestday:
  14593. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  14594. type: string
  14595. totalinterest:
  14596. description: 已计利息 -> 已计费用
  14597. type: number
  14598. unpaidinterest:
  14599. description: 未结费用
  14600. type: number
  14601. updatetime:
  14602. description: 更新时间
  14603. type: string
  14604. warehouseid:
  14605. description: 仓库ID
  14606. type: integer
  14607. warehousename:
  14608. description: 仓库名称
  14609. type: string
  14610. wrfactortypeid:
  14611. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14612. type: string
  14613. wrfactortypename:
  14614. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14615. type: string
  14616. wrqty:
  14617. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  14618. type: number
  14619. wrstandardcode:
  14620. description: 现货商品代码
  14621. type: string
  14622. wrstandardid:
  14623. description: 现货商品ID
  14624. type: integer
  14625. wrstandardname:
  14626. description: 商品名称
  14627. type: string
  14628. wrtypename:
  14629. description: 商品
  14630. type: string
  14631. type: object
  14632. models.WrSpecialMatchOrder:
  14633. properties:
  14634. amount:
  14635. description: 金额 = 数量 * 价格
  14636. type: number
  14637. buyorsell:
  14638. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14639. type: integer
  14640. cancelqty:
  14641. description: 撤销数量
  14642. type: number
  14643. deliverygoodscode:
  14644. description: 品种代码
  14645. type: string
  14646. deliverygoodsid:
  14647. description: 品种ID
  14648. type: integer
  14649. deliverygoodsname:
  14650. description: 品种名称
  14651. type: string
  14652. enumdicname:
  14653. description: 单位名称
  14654. type: string
  14655. fixedprice:
  14656. description: 固定价格(价格)
  14657. type: number
  14658. haswr:
  14659. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14660. type: integer
  14661. marketid:
  14662. description: 市场ID
  14663. type: integer
  14664. matchuserid:
  14665. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  14666. type: integer
  14667. matchusername:
  14668. description: 指定方
  14669. type: string
  14670. minivalue:
  14671. description: 现货商品最小变动值
  14672. type: integer
  14673. optioncompare:
  14674. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14675. type: string
  14676. orderqty:
  14677. description: 委托数量
  14678. type: number
  14679. ordertime:
  14680. description: 委托时间
  14681. type: string
  14682. pricemove:
  14683. description: 升贴水(浮动价时填写) - [挂牌]
  14684. type: number
  14685. tradedate:
  14686. description: 交易日(yyyyMMdd)
  14687. type: string
  14688. tradeprice:
  14689. description: 成交价格
  14690. type: number
  14691. tradeqty:
  14692. description: 成交数量
  14693. type: number
  14694. userid:
  14695. description: 用户ID
  14696. type: integer
  14697. username:
  14698. description: 发起方
  14699. type: string
  14700. warehouseid:
  14701. description: 仓库ID
  14702. type: integer
  14703. warehousename:
  14704. description: 仓库名称
  14705. type: string
  14706. wrfactortypeid:
  14707. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14708. type: string
  14709. wrfactortypename:
  14710. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14711. type: string
  14712. wrpricetype:
  14713. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14714. type: integer
  14715. wrstandardcode:
  14716. description: 现货商品代码
  14717. type: string
  14718. wrstandardid:
  14719. description: 现货商品ID
  14720. type: integer
  14721. wrstandardname:
  14722. description: 商品名称
  14723. type: string
  14724. wrtradeorderid:
  14725. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14726. type: string
  14727. wrtradeorderstatus:
  14728. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14729. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14730. type: integer
  14731. wrtradetype:
  14732. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14733. type: integer
  14734. wrtypename:
  14735. description: 商品
  14736. type: string
  14737. type: object
  14738. models.WrStandardFactoryItem:
  14739. properties:
  14740. dgfactoryitemid:
  14741. description: 选择项id
  14742. type: integer
  14743. dgfactoryitemvalue:
  14744. description: 要素项值
  14745. type: string
  14746. type: object
  14747. models.WrStandardFactoryItemEx:
  14748. properties:
  14749. dgfactoryitemtypeid:
  14750. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  14751. type: integer
  14752. itemlst:
  14753. description: 要素项列表
  14754. items:
  14755. $ref: '#/definitions/models.WrStandardFactoryItem'
  14756. type: array
  14757. itemtypename:
  14758. description: 要素项类型名称
  14759. type: string
  14760. wrstandardid:
  14761. description: 品类
  14762. type: integer
  14763. type: object
  14764. models.WrTradeDetail:
  14765. properties:
  14766. accountid:
  14767. description: 资金账号
  14768. type: integer
  14769. buyorsell:
  14770. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14771. type: integer
  14772. deliverygoodscode:
  14773. description: 品种代码
  14774. type: string
  14775. deliverygoodsid:
  14776. description: 品种ID
  14777. type: integer
  14778. deliverygoodsname:
  14779. description: 品种名称
  14780. type: string
  14781. deliverymonth:
  14782. description: 交收月
  14783. type: string
  14784. enumdicname:
  14785. description: 单位名称
  14786. type: string
  14787. haswr:
  14788. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14789. type: integer
  14790. marketid:
  14791. description: 市场ID
  14792. type: integer
  14793. matchaccountid:
  14794. description: 对手账号
  14795. type: integer
  14796. matchusername:
  14797. description: 对手方
  14798. type: string
  14799. minivalue:
  14800. description: 现货商品最小变动值
  14801. type: integer
  14802. optioncompare:
  14803. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14804. type: string
  14805. tradedate:
  14806. description: 交易日(yyyyMMdd)
  14807. type: string
  14808. tradeprice:
  14809. description: 成交价格
  14810. type: number
  14811. tradeqty:
  14812. description: 成交数量
  14813. type: number
  14814. tradetime:
  14815. description: 成交时间
  14816. type: string
  14817. userid:
  14818. description: 用户ID
  14819. type: integer
  14820. warehouseid:
  14821. description: 仓库ID
  14822. type: integer
  14823. warehousename:
  14824. description: 仓库名称
  14825. type: string
  14826. wrfactortypeid:
  14827. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14828. type: string
  14829. wrfactortypename:
  14830. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14831. type: string
  14832. wrstandardcode:
  14833. description: 现货商品代码
  14834. type: string
  14835. wrstandardid:
  14836. description: 现货商品ID
  14837. type: integer
  14838. wrstandardname:
  14839. description: 商品名称
  14840. type: string
  14841. wrtradedetailid:
  14842. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  14843. type: string
  14844. wrtradetype:
  14845. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14846. type: integer
  14847. wrtypename:
  14848. description: 商品
  14849. type: string
  14850. type: object
  14851. models.WrTypeItem:
  14852. properties:
  14853. name:
  14854. description: 名称
  14855. type: string
  14856. value:
  14857. description: 值
  14858. type: string
  14859. type: object
  14860. order.QueryHisTradeDetailRsp:
  14861. properties:
  14862. accountid:
  14863. description: 账户ID[报价币种]
  14864. type: integer
  14865. advanceratio:
  14866. description: 首付比率
  14867. type: number
  14868. buildtype:
  14869. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14870. type: integer
  14871. buyorsell:
  14872. description: 方向 - 0:买 1:卖
  14873. type: integer
  14874. charge:
  14875. description: 手续费
  14876. type: number
  14877. closecharge:
  14878. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14879. type: number
  14880. closeexchagechargevalue:
  14881. description: 平仓交易所手续费设置值
  14882. type: number
  14883. closefeealgorithm:
  14884. description: 平仓手续费收取方式 1:比率 2:固定
  14885. type: integer
  14886. closememberchargevalue:
  14887. description: 平仓会员手续费设置值
  14888. type: number
  14889. closepl:
  14890. description: 平仓盈亏
  14891. type: number
  14892. closepl2:
  14893. description: 平仓盈亏[逐笔]
  14894. type: number
  14895. closeqty:
  14896. description: 平仓数量(先建后平操作 需要记录)
  14897. type: number
  14898. creditamount:
  14899. description: 授信金额
  14900. type: number
  14901. decimalplace:
  14902. description: 商品报价小数位
  14903. type: integer
  14904. enumdicname:
  14905. description: 单位名称
  14906. type: string
  14907. gcaccountid:
  14908. description: 账户ID[合约币种]
  14909. type: integer
  14910. goodscode:
  14911. description: 商品代码
  14912. type: string
  14913. goodsid:
  14914. description: 商品ID
  14915. type: integer
  14916. goodsname:
  14917. description: 商品名称
  14918. type: string
  14919. goodunitid:
  14920. description: 商品单位id
  14921. type: integer
  14922. histradedate:
  14923. description: 历史交易日
  14924. type: string
  14925. intclosepl:
  14926. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14927. type: integer
  14928. isconfirmexercise:
  14929. description: 是否确认行权- 0:否 1:是
  14930. type: integer
  14931. ismain:
  14932. description: 是否主单 - 0:不是 1:是
  14933. type: integer
  14934. ispreexercise:
  14935. description: 是否预申报- 0:否 1:是
  14936. type: integer
  14937. isreckoned:
  14938. description: 是否结算 - 0:未结算 1:已结算
  14939. type: integer
  14940. isvaliddata:
  14941. description: 是否有效 - 0:无效 1:有效
  14942. type: integer
  14943. listingselecttype:
  14944. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14945. type: integer
  14946. marketid:
  14947. description: 市场ID
  14948. type: integer
  14949. marketname:
  14950. description: 市场名称
  14951. type: string
  14952. matchaccountid:
  14953. description: 对手账号id
  14954. type: integer
  14955. memberuserid:
  14956. description: 会员id 个人投资者 需要填写
  14957. type: integer
  14958. opencharge:
  14959. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14960. type: number
  14961. openexchagechargevalue:
  14962. description: 建仓交易所手续费设置值
  14963. type: number
  14964. openfeealgorithm:
  14965. description: 建仓手续费收取方式 1:比率 2:固定
  14966. type: integer
  14967. openmemberchargevalue:
  14968. description: 建仓会员手续费设置值
  14969. type: number
  14970. openqty:
  14971. description: 开仓数量(先建后平操作 需要记录)
  14972. type: number
  14973. optiontype:
  14974. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14975. type: integer
  14976. orderid:
  14977. description: 委托单号
  14978. type: string
  14979. payamount:
  14980. description: 支付金额(付款金额)
  14981. type: number
  14982. performanceplanid:
  14983. description: 履约计划ID[期权]
  14984. type: integer
  14985. performancestatus:
  14986. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14987. type: integer
  14988. preexerciseprice:
  14989. description: 预申报价格
  14990. type: number
  14991. premium:
  14992. description: 权利金 - [持仓单的权利金]
  14993. type: number
  14994. qtydecimalplace:
  14995. description: 商品报价小数位
  14996. type: integer
  14997. recvamount:
  14998. description: 到账金额 = 成交金额 - 手续费
  14999. type: number
  15000. relatedouttradeid:
  15001. description: 关联外部成交单ID
  15002. type: integer
  15003. status:
  15004. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15005. type: integer
  15006. totalamount:
  15007. description: 订单总额 = 成交金额 + 手续费
  15008. type: number
  15009. tradeamount:
  15010. description: 成交金额[账户币种,用于所有权]
  15011. type: number
  15012. tradedate:
  15013. description: 交易日(yyyyMMdd)
  15014. type: string
  15015. tradeid:
  15016. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15017. type: string
  15018. trademode:
  15019. description: 交易模式
  15020. type: integer
  15021. tradeprice:
  15022. description: 成交价格
  15023. type: number
  15024. tradeproperty:
  15025. description: 交易属性
  15026. type: integer
  15027. tradeqty:
  15028. description: 成交数量
  15029. type: number
  15030. tradetime:
  15031. description: 成交时间
  15032. type: string
  15033. tradetype:
  15034. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15035. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15036. type: integer
  15037. required:
  15038. - accountid
  15039. - buyorsell
  15040. - goodsid
  15041. - histradedate
  15042. - marketid
  15043. - memberuserid
  15044. - orderid
  15045. - tradeamount
  15046. - tradedate
  15047. - tradeid
  15048. - tradeprice
  15049. - tradeqty
  15050. - tradetime
  15051. type: object
  15052. order.QueryHisTradeOrderDetailRsp:
  15053. properties:
  15054. accountid:
  15055. description: 账户ID[报价币种]
  15056. type: integer
  15057. buildtype:
  15058. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15059. type: integer
  15060. buyorsell:
  15061. description: 买卖 - 0:买 1:卖
  15062. type: integer
  15063. cancelorderid:
  15064. description: 撤单单号(撤单时填写)
  15065. type: string
  15066. cancelqty:
  15067. description: 撤单数量
  15068. type: number
  15069. clientordertime:
  15070. description: 客户端委托时间
  15071. type: string
  15072. clientticket:
  15073. description: 客户端流水号
  15074. type: string
  15075. clienttype:
  15076. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15077. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15078. type: integer
  15079. closeexchagechargevalue:
  15080. description: 平仓交易所手续费设置值
  15081. type: number
  15082. closefeealgorithm:
  15083. description: 平仓手续费收取方式 1:比率 2:固定
  15084. type: integer
  15085. closefreezecharge:
  15086. description: 平仓冻结手续费(先建后平操作,需要记录)
  15087. type: number
  15088. closememberchargevalue:
  15089. description: 平仓会员手续费设置值
  15090. type: number
  15091. closeqty:
  15092. description: 平仓数量(先建后平操作 需要记录)
  15093. type: number
  15094. closetradeqty:
  15095. description: 平仓成交数量(先建后平操作,需要记录)
  15096. type: number
  15097. closeunfreezecharge:
  15098. description: 平仓解冻手续费(先建后平操作,需要记录)
  15099. type: number
  15100. decimalplace:
  15101. description: 商品报价小数位
  15102. type: integer
  15103. delistingtype:
  15104. description: 摘牌类型 - 1:价格最优 2:点选成交
  15105. type: integer
  15106. enumdicname:
  15107. description: 单位名称
  15108. type: string
  15109. freezecharge:
  15110. description: 冻结手续费
  15111. type: number
  15112. freezemargin:
  15113. description: 冻结保证金(冻结交易金额)
  15114. type: number
  15115. gcaccountid:
  15116. description: 账户ID[合约币种]
  15117. type: integer
  15118. goodscode:
  15119. description: 商品代码
  15120. type: string
  15121. goodsid:
  15122. description: 商品ID
  15123. type: integer
  15124. goodsname:
  15125. description: 商品名称
  15126. type: string
  15127. goodunitid:
  15128. description: 商品单位id
  15129. type: integer
  15130. histradedate:
  15131. description: 历史交易日
  15132. type: string
  15133. isconfirmexercise:
  15134. description: 是否确认行权- 0:否 1:是
  15135. type: integer
  15136. ispreexercise:
  15137. description: 是否预申报- 0:否 1:是
  15138. type: integer
  15139. isvaliddata:
  15140. description: 是否有效 - 0:无效 1:有效
  15141. type: integer
  15142. listingselecttype:
  15143. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15144. type: integer
  15145. marginalgorithm:
  15146. description: 保证金收取方式 1:比率 2:固定
  15147. type: integer
  15148. marginvalue:
  15149. description: 即市保证金设置值
  15150. type: number
  15151. marketid:
  15152. description: 市场ID
  15153. type: integer
  15154. marketmaxsub:
  15155. description: 市价最大偏移范围
  15156. type: number
  15157. marketname:
  15158. description: 市场名称
  15159. type: string
  15160. memberuserid:
  15161. description: 所属会员UserID
  15162. type: integer
  15163. openexchagechargevalue:
  15164. description: 建仓交易所手续费设置值
  15165. type: number
  15166. openfeealgorithm:
  15167. description: 建仓手续费收取方式 1:比率 2:固定
  15168. type: integer
  15169. openfreezecharge:
  15170. description: 开仓冻结手续费(先建后平操作,需要记录)
  15171. type: number
  15172. openmemberchargevalue:
  15173. description: 建仓会员手续费设置值
  15174. type: number
  15175. openqty:
  15176. description: 开仓数量(先建后平操作,需要记录)
  15177. type: number
  15178. opentradeqty:
  15179. description: 开仓成交数量(先建后平操作,需要记录)
  15180. type: number
  15181. openunfreezecharge:
  15182. description: 开仓解冻手续费(先建后平操作,需要记录)
  15183. type: number
  15184. operatetype:
  15185. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15186. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15187. 15:管理端协议转让
  15188. type: integer
  15189. operatorid:
  15190. description: 登录账号(LoginID)
  15191. type: integer
  15192. optiontype:
  15193. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15194. type: integer
  15195. orderid:
  15196. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15197. type: string
  15198. orderprice:
  15199. description: 委托价格
  15200. type: number
  15201. orderqty:
  15202. description: 委托数量
  15203. type: number
  15204. ordersrc:
  15205. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15206. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15207. type: integer
  15208. orderstatus:
  15209. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15210. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15211. 16:成交失败违约(荷兰式竞拍专用)
  15212. type: integer
  15213. ordertime:
  15214. description: 委托时间
  15215. type: string
  15216. preexerciseprice:
  15217. description: 预申报价格
  15218. type: number
  15219. premium:
  15220. description: 权利金
  15221. type: number
  15222. preorderid:
  15223. description: 关联预埋单号(止盈止损单时填写)
  15224. type: string
  15225. pricemode:
  15226. description: '取价方式 - 1:市价 2: 限价'
  15227. type: integer
  15228. qtydecimalplace:
  15229. description: 成交量小数位
  15230. type: integer
  15231. quoteid:
  15232. description: 报价单ID
  15233. type: integer
  15234. relatedid:
  15235. description: 关联单号(交割单)
  15236. type: string
  15237. retcode:
  15238. description: 错误代码
  15239. type: integer
  15240. sessionid:
  15241. description: 会话ID
  15242. type: integer
  15243. tradedate:
  15244. description: 交易日(yyyyMMdd)
  15245. type: string
  15246. trademode:
  15247. description: 交易模式
  15248. type: integer
  15249. tradeproperty:
  15250. description: 交易属性
  15251. type: integer
  15252. tradeqty:
  15253. description: 成交数量
  15254. type: number
  15255. unfreezecharge:
  15256. description: 解冻手续费
  15257. type: number
  15258. unfreezemargin:
  15259. description: 解冻保证金
  15260. type: number
  15261. updatetime:
  15262. description: 更新时间
  15263. type: string
  15264. uuid:
  15265. description: 发起端唯一id
  15266. type: string
  15267. validtime:
  15268. description: 有效期限
  15269. type: string
  15270. validtype:
  15271. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15272. type: integer
  15273. volumetype:
  15274. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15275. type: integer
  15276. required:
  15277. - accountid
  15278. - buildtype
  15279. - buyorsell
  15280. - goodsid
  15281. - histradedate
  15282. - marketid
  15283. - memberuserid
  15284. - operatetype
  15285. - orderid
  15286. - orderqty
  15287. - ordertime
  15288. - pricemode
  15289. - tradedate
  15290. - validtype
  15291. type: object
  15292. order.QueryTradeDetailRsp:
  15293. properties:
  15294. accountid:
  15295. description: 账户ID[报价币种]
  15296. type: integer
  15297. advanceratio:
  15298. description: 首付比率
  15299. type: number
  15300. buildtype:
  15301. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15302. type: integer
  15303. buyorsell:
  15304. description: 方向 - 0:买 1:卖
  15305. type: integer
  15306. charge:
  15307. description: 手续费
  15308. type: number
  15309. closecharge:
  15310. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15311. type: number
  15312. closeexchagechargevalue:
  15313. description: 平仓交易所手续费设置值
  15314. type: number
  15315. closefeealgorithm:
  15316. description: 平仓手续费收取方式 1:比率 2:固定
  15317. type: integer
  15318. closememberchargevalue:
  15319. description: 平仓会员手续费设置值
  15320. type: number
  15321. closepl:
  15322. description: 平仓盈亏
  15323. type: number
  15324. closepl2:
  15325. description: 平仓盈亏[逐笔]
  15326. type: number
  15327. closeqty:
  15328. description: 平仓数量(先建后平操作 需要记录)
  15329. type: number
  15330. creditamount:
  15331. description: 授信金额
  15332. type: number
  15333. decimalplace:
  15334. description: 商品报价小数位
  15335. type: integer
  15336. enumdicname:
  15337. description: 单位名称
  15338. type: string
  15339. gcaccountid:
  15340. description: 账户ID[合约币种]
  15341. type: integer
  15342. goodscode:
  15343. description: 商品代码
  15344. type: string
  15345. goodsid:
  15346. description: 商品ID
  15347. type: integer
  15348. goodsname:
  15349. description: 商品名称
  15350. type: string
  15351. goodunitid:
  15352. description: 商品单位id
  15353. type: integer
  15354. intclosepl:
  15355. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15356. type: integer
  15357. isconfirmexercise:
  15358. description: 是否确认行权- 0:否 1:是
  15359. type: integer
  15360. ismain:
  15361. description: 是否主单 - 0:不是 1:是
  15362. type: integer
  15363. ispreexercise:
  15364. description: 是否预申报- 0:否 1:是
  15365. type: integer
  15366. isreckoned:
  15367. description: 是否结算 - 0:未结算 1:已结算
  15368. type: integer
  15369. listingselecttype:
  15370. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15371. type: integer
  15372. marketid:
  15373. description: 市场ID
  15374. type: integer
  15375. marketname:
  15376. description: 市场名称
  15377. type: string
  15378. matchaccountid:
  15379. description: 对手账号id
  15380. type: integer
  15381. memberuserid:
  15382. description: 会员id 个人投资者 需要填写
  15383. type: integer
  15384. opencharge:
  15385. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15386. type: number
  15387. openexchagechargevalue:
  15388. description: 建仓交易所手续费设置值
  15389. type: number
  15390. openfeealgorithm:
  15391. description: 建仓手续费收取方式 1:比率 2:固定
  15392. type: integer
  15393. openmemberchargevalue:
  15394. description: 建仓会员手续费设置值
  15395. type: number
  15396. openqty:
  15397. description: 开仓数量(先建后平操作 需要记录)
  15398. type: number
  15399. optiontype:
  15400. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15401. type: integer
  15402. orderid:
  15403. description: 委托单号
  15404. type: string
  15405. payamount:
  15406. description: 支付金额(付款金额)
  15407. type: number
  15408. performanceplanid:
  15409. description: 履约计划ID[期权]
  15410. type: integer
  15411. performancestatus:
  15412. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15413. type: integer
  15414. preexerciseprice:
  15415. description: 预申报价格
  15416. type: number
  15417. premium:
  15418. description: 权利金 - [持仓单的权利金]
  15419. type: number
  15420. qtydecimalplace:
  15421. description: 商品报价小数位
  15422. type: integer
  15423. recvamount:
  15424. description: 到账金额 = 成交金额 - 手续费
  15425. type: number
  15426. relatedouttradeid:
  15427. description: 关联外部成交单ID
  15428. type: integer
  15429. status:
  15430. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15431. type: integer
  15432. totalamount:
  15433. description: 订单总额 = 成交金额 + 手续费
  15434. type: number
  15435. tradeamount:
  15436. description: 成交金额[账户币种,用于所有权]
  15437. type: number
  15438. tradedate:
  15439. description: 交易日(yyyyMMdd)
  15440. type: string
  15441. tradeid:
  15442. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15443. type: string
  15444. trademode:
  15445. description: 交易模式
  15446. type: integer
  15447. tradeprice:
  15448. description: 成交价格
  15449. type: number
  15450. tradeproperty:
  15451. description: 交易属性
  15452. type: integer
  15453. tradeqty:
  15454. description: 成交数量
  15455. type: number
  15456. tradetime:
  15457. description: 成交时间
  15458. type: string
  15459. tradetype:
  15460. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15461. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15462. type: integer
  15463. required:
  15464. - accountid
  15465. - buyorsell
  15466. - goodsid
  15467. - marketid
  15468. - memberuserid
  15469. - orderid
  15470. - tradeamount
  15471. - tradedate
  15472. - tradeid
  15473. - tradeprice
  15474. - tradeqty
  15475. - tradetime
  15476. type: object
  15477. order.QueryTradeOrderDetailRsp:
  15478. properties:
  15479. accountid:
  15480. description: 账户ID[报价币种]
  15481. type: integer
  15482. buildtype:
  15483. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15484. type: integer
  15485. buyorsell:
  15486. description: 买卖 - 0:买 1:卖
  15487. type: integer
  15488. cancelorderid:
  15489. description: 撤单单号(撤单时填写)
  15490. type: string
  15491. cancelqty:
  15492. description: 撤单数量
  15493. type: number
  15494. clienttype:
  15495. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15496. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15497. type: integer
  15498. closefreezecharge:
  15499. description: 平仓冻结手续费(先建后平操作,需要记录)
  15500. type: number
  15501. closeqty:
  15502. description: 平仓数量(先建后平操作 需要记录)
  15503. type: number
  15504. closetradeqty:
  15505. description: 平仓成交数量(先建后平操作,需要记录)
  15506. type: number
  15507. closeunfreezecharge:
  15508. description: 平仓解冻手续费(先建后平操作,需要记录)
  15509. type: number
  15510. decimalplace:
  15511. description: 商品报价小数位
  15512. type: integer
  15513. delistingtype:
  15514. description: 摘牌类型 - 1:价格最优 2:点选成交
  15515. type: integer
  15516. enableqty:
  15517. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  15518. type: number
  15519. enumdicname:
  15520. description: 单位名称
  15521. type: string
  15522. freezecharge:
  15523. description: 冻结手续费
  15524. type: number
  15525. freezemargin:
  15526. description: 冻结保证金(冻结交易金额)
  15527. type: number
  15528. goodscode:
  15529. description: 商品代码
  15530. type: string
  15531. goodsid:
  15532. description: 商品ID
  15533. type: integer
  15534. goodsname:
  15535. description: 商品名称
  15536. type: string
  15537. goodunitid:
  15538. description: 商品单位id
  15539. type: integer
  15540. listingselecttype:
  15541. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15542. type: integer
  15543. marketid:
  15544. description: 市场ID
  15545. type: integer
  15546. marketname:
  15547. description: 市场名称
  15548. type: string
  15549. openfreezecharge:
  15550. description: 开仓冻结手续费(先建后平操作,需要记录)
  15551. type: number
  15552. openqty:
  15553. description: 开仓数量(先建后平操作,需要记录)
  15554. type: number
  15555. opentradeqty:
  15556. description: 开仓成交数量(先建后平操作,需要记录)
  15557. type: number
  15558. openunfreezecharge:
  15559. description: 开仓解冻手续费(先建后平操作,需要记录)
  15560. type: number
  15561. operatetype:
  15562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15564. 15:管理端协议转让
  15565. type: integer
  15566. operatorid:
  15567. description: 登录账号(LoginID)
  15568. type: integer
  15569. orderid:
  15570. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15571. type: string
  15572. orderprice:
  15573. description: 委托价格
  15574. type: number
  15575. orderqty:
  15576. description: 委托数量
  15577. type: number
  15578. ordersrc:
  15579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15581. type: integer
  15582. orderstatus:
  15583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15585. 16:成交失败违约(荷兰式竞拍专用)
  15586. type: integer
  15587. ordertime:
  15588. description: 委托时间
  15589. type: string
  15590. preorderid:
  15591. description: 关联预埋单号(止盈止损单时填写)
  15592. type: string
  15593. pricemode:
  15594. description: '取价方式 - 1:市价 2: 限价'
  15595. type: integer
  15596. qtydecimalplace:
  15597. description: 商品报价小数位
  15598. type: integer
  15599. relatedid:
  15600. description: 关联单号(交割单)
  15601. type: string
  15602. tradedate:
  15603. description: 交易日(yyyyMMdd)
  15604. type: string
  15605. trademode:
  15606. description: 交易模式
  15607. type: integer
  15608. tradeqty:
  15609. description: 成交数量
  15610. type: number
  15611. unfreezecharge:
  15612. description: 解冻手续费
  15613. type: number
  15614. unfreezemargin:
  15615. description: 解冻保证金
  15616. type: number
  15617. validtime:
  15618. description: 有效期限
  15619. type: string
  15620. validtype:
  15621. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15622. type: integer
  15623. volumetype:
  15624. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15625. type: integer
  15626. required:
  15627. - accountid
  15628. - buildtype
  15629. - buyorsell
  15630. - goodsid
  15631. - marketid
  15632. - operatetype
  15633. - orderqty
  15634. - ordertime
  15635. - pricemode
  15636. - tradedate
  15637. - validtype
  15638. type: object
  15639. order.QueryTradePositionRsp:
  15640. properties:
  15641. accountid:
  15642. description: 资金账户
  15643. type: integer
  15644. agreeunit:
  15645. description: 合约单位
  15646. type: number
  15647. averageprice:
  15648. description: 持仓均价
  15649. type: number
  15650. buyorsell:
  15651. description: 方向 - 0:买 1:卖
  15652. type: integer
  15653. closetotalqty:
  15654. description: 平仓总数量
  15655. type: number
  15656. curholderamount:
  15657. description: 当前持仓总金额[商品币种]
  15658. type: number
  15659. curpositionqty:
  15660. description: 当前持仓总数量
  15661. type: number
  15662. currencyid:
  15663. description: 报价货币ID
  15664. type: integer
  15665. curtdposition:
  15666. description: 期末今日头寸
  15667. type: number
  15668. decimalplace:
  15669. description: 报价小数位
  15670. type: integer
  15671. enableqty:
  15672. description: 可用量
  15673. type: number
  15674. fretdposition:
  15675. description: 冻结今日头寸
  15676. type: number
  15677. frozenqty:
  15678. description: 持仓冻结数量
  15679. type: number
  15680. goodscode:
  15681. description: 商品代码
  15682. type: string
  15683. goodsid:
  15684. description: 商品Id
  15685. type: integer
  15686. goodsname:
  15687. description: 商品名称
  15688. type: string
  15689. goodunit:
  15690. description: 报价单位
  15691. type: string
  15692. goodunitid:
  15693. description: 报价单位ID
  15694. type: integer
  15695. holderamount:
  15696. description: 期初持仓总金额[商品币种]
  15697. type: number
  15698. lastprice:
  15699. description: 最新价
  15700. type: number
  15701. marketamount:
  15702. description: 市值
  15703. type: number
  15704. marketid:
  15705. description: 所属市场ID
  15706. type: integer
  15707. openreqqty:
  15708. description: 开仓申请数量(用于比较最大持仓数量)
  15709. type: number
  15710. opentotalqty:
  15711. description: 开仓总数量
  15712. type: number
  15713. otherfrozenqty:
  15714. description: 持仓其他冻结数量(交割冻结)
  15715. type: number
  15716. positionpl:
  15717. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  15718. * 合约单位
  15719. type: number
  15720. positionplrate:
  15721. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  15722. type: number
  15723. positionqty:
  15724. description: 期初持仓数量
  15725. type: number
  15726. qtydecimalplace:
  15727. description: 成交量小数位
  15728. type: integer
  15729. tnqty:
  15730. description: T+N冻结总量
  15731. type: number
  15732. tnusedqty:
  15733. description: T+N使用量(可以使用T+N的冻结数量)
  15734. type: number
  15735. trademode:
  15736. description: 交易模式
  15737. type: integer
  15738. usedmargin:
  15739. description: 占用保证金[商品币种]
  15740. type: number
  15741. required:
  15742. - goodsid
  15743. type: object
  15744. quote.HistoryData:
  15745. properties:
  15746. c:
  15747. description: 收盘价
  15748. type: number
  15749. f:
  15750. description: 是否补充数据
  15751. type: boolean
  15752. h:
  15753. description: 最高价
  15754. type: number
  15755. hv:
  15756. description: 持仓量
  15757. type: integer
  15758. l:
  15759. description: 最低价
  15760. type: number
  15761. o:
  15762. description: 开盘价
  15763. type: number
  15764. s:
  15765. description: 结算价,日线周期(包括)以上才有
  15766. type: number
  15767. ts:
  15768. description: 时间
  15769. type: string
  15770. tt:
  15771. description: 总金额
  15772. type: number
  15773. tv:
  15774. description: 总量
  15775. type: integer
  15776. type: object
  15777. quote.HistoryTikData:
  15778. properties:
  15779. AV:
  15780. description: 卖量
  15781. type: integer
  15782. Ask:
  15783. description: 卖价
  15784. type: number
  15785. BV:
  15786. description: 买量
  15787. type: integer
  15788. Bid:
  15789. description: 买价
  15790. type: number
  15791. HI:
  15792. description: 单笔持仓
  15793. type: integer
  15794. HV:
  15795. description: 持仓量
  15796. type: integer
  15797. PE:
  15798. description: 现价
  15799. type: number
  15800. TDR:
  15801. description: 交易方向,0:买 1:卖
  15802. type: integer
  15803. TK:
  15804. description: 交易类型
  15805. type: integer
  15806. TS:
  15807. description: 行情时间文本
  15808. type: string
  15809. TT:
  15810. description: 现金额
  15811. type: number
  15812. Vol:
  15813. description: 现量
  15814. type: integer
  15815. type: object
  15816. quote.QueryQuoteDayRsp:
  15817. properties:
  15818. ask:
  15819. description: 卖1
  15820. type: number
  15821. ask2:
  15822. description: 卖2
  15823. type: number
  15824. ask3:
  15825. description: 卖3
  15826. type: number
  15827. ask4:
  15828. description: 卖4
  15829. type: number
  15830. ask5:
  15831. description: 卖5
  15832. type: number
  15833. ask6:
  15834. description: 卖6
  15835. type: number
  15836. ask7:
  15837. description: 卖7
  15838. type: number
  15839. ask8:
  15840. description: 卖8
  15841. type: number
  15842. ask9:
  15843. description: 卖9
  15844. type: number
  15845. ask10:
  15846. description: 卖10
  15847. type: number
  15848. askorderid:
  15849. description: 卖单号1
  15850. type: integer
  15851. askorderid2:
  15852. description: 卖单号2
  15853. type: integer
  15854. askorderid3:
  15855. description: 卖单号3
  15856. type: integer
  15857. askorderid4:
  15858. description: 卖单号4
  15859. type: integer
  15860. askorderid5:
  15861. description: 卖单号5
  15862. type: integer
  15863. askordervolume:
  15864. description: 卖单量1
  15865. type: integer
  15866. askordervolume2:
  15867. description: 卖单量2
  15868. type: integer
  15869. askordervolume3:
  15870. description: 卖单量3
  15871. type: integer
  15872. askordervolume4:
  15873. description: 卖单量4
  15874. type: integer
  15875. askordervolume5:
  15876. description: 卖单量5
  15877. type: integer
  15878. askordervolume6:
  15879. description: 卖单量6
  15880. type: integer
  15881. askordervolume7:
  15882. description: 卖单量7
  15883. type: integer
  15884. askordervolume8:
  15885. description: 卖单量8
  15886. type: integer
  15887. askordervolume9:
  15888. description: 卖单量9
  15889. type: integer
  15890. askordervolume10:
  15891. description: 卖单量10
  15892. type: integer
  15893. askqueueinfo:
  15894. description: 大利市卖港股用
  15895. type: string
  15896. askvolume:
  15897. description: 卖量1
  15898. type: integer
  15899. askvolume2:
  15900. description: 卖量2
  15901. type: integer
  15902. askvolume3:
  15903. description: 卖量3
  15904. type: integer
  15905. askvolume4:
  15906. description: 卖量4
  15907. type: integer
  15908. askvolume5:
  15909. description: 卖量5
  15910. type: integer
  15911. askvolume6:
  15912. description: 卖量6
  15913. type: integer
  15914. askvolume7:
  15915. description: 卖量7
  15916. type: integer
  15917. askvolume8:
  15918. description: 卖量8
  15919. type: integer
  15920. askvolume9:
  15921. description: 卖量9
  15922. type: integer
  15923. askvolume10:
  15924. description: 卖量10
  15925. type: integer
  15926. averageprice:
  15927. description: 均价
  15928. type: number
  15929. bid:
  15930. description: 买1
  15931. type: number
  15932. bid2:
  15933. description: 买2
  15934. type: number
  15935. bid3:
  15936. description: 买3
  15937. type: number
  15938. bid4:
  15939. description: 买4
  15940. type: number
  15941. bid5:
  15942. description: 买5
  15943. type: number
  15944. bid6:
  15945. description: 买6
  15946. type: number
  15947. bid7:
  15948. description: 买7
  15949. type: number
  15950. bid8:
  15951. description: 买8
  15952. type: number
  15953. bid9:
  15954. description: 买9
  15955. type: number
  15956. bid10:
  15957. description: 买10
  15958. type: number
  15959. bidorderid:
  15960. description: 买单号1
  15961. type: integer
  15962. bidorderid2:
  15963. description: 买单号2
  15964. type: integer
  15965. bidorderid3:
  15966. description: 买单号3
  15967. type: integer
  15968. bidorderid4:
  15969. description: 买单号4
  15970. type: integer
  15971. bidorderid5:
  15972. description: 买单号5
  15973. type: integer
  15974. bidordervolume:
  15975. description: 买单量1
  15976. type: integer
  15977. bidordervolume2:
  15978. description: 买单量2
  15979. type: integer
  15980. bidordervolume3:
  15981. description: 买单量3
  15982. type: integer
  15983. bidordervolume4:
  15984. description: 买单量4
  15985. type: integer
  15986. bidordervolume5:
  15987. description: 买单量5
  15988. type: integer
  15989. bidordervolume6:
  15990. description: 买单量6
  15991. type: integer
  15992. bidordervolume7:
  15993. description: 买单量7
  15994. type: integer
  15995. bidordervolume8:
  15996. description: 买单量8
  15997. type: integer
  15998. bidordervolume9:
  15999. description: 买单量9
  16000. type: integer
  16001. bidordervolume10:
  16002. description: 买单量10
  16003. type: integer
  16004. bidqueueinfo:
  16005. description: 大利市买港股用
  16006. type: string
  16007. bidvolume:
  16008. description: 买量1
  16009. type: integer
  16010. bidvolume2:
  16011. description: 买量2
  16012. type: integer
  16013. bidvolume3:
  16014. description: 买量3
  16015. type: integer
  16016. bidvolume4:
  16017. description: 买量4
  16018. type: integer
  16019. bidvolume5:
  16020. description: 买量5
  16021. type: integer
  16022. bidvolume6:
  16023. description: 买量6
  16024. type: integer
  16025. bidvolume7:
  16026. description: 买量7
  16027. type: integer
  16028. bidvolume8:
  16029. description: 买量8
  16030. type: integer
  16031. bidvolume9:
  16032. description: 买量9
  16033. type: integer
  16034. bidvolume10:
  16035. description: 买量10
  16036. type: integer
  16037. calloptionpremiums:
  16038. description: 认购期权1
  16039. type: integer
  16040. calloptionpremiums2:
  16041. description: 认购期权2
  16042. type: integer
  16043. calloptionpremiums3:
  16044. description: 认购期权3
  16045. type: integer
  16046. calloptionpremiums4:
  16047. description: 认购期权4
  16048. type: integer
  16049. calloptionpremiums5:
  16050. description: 认购期权5
  16051. type: integer
  16052. cleartime:
  16053. description: 清盘时间
  16054. type: integer
  16055. exchangecode:
  16056. description: 交易所代码
  16057. type: integer
  16058. exchangedate:
  16059. description: 交易日
  16060. type: integer
  16061. goodscode:
  16062. description: 商品代码
  16063. type: string
  16064. grepmarketprice:
  16065. description: 暗盘价 港股专用
  16066. type: number
  16067. highest:
  16068. description: 最高价
  16069. type: number
  16070. holdincrement:
  16071. description: 单笔持仓
  16072. type: integer
  16073. holdvolume:
  16074. description: 持仓
  16075. type: integer
  16076. iep:
  16077. description: 平衡价 港股专用
  16078. type: number
  16079. iev:
  16080. description: 平衡量 港股专用
  16081. type: number
  16082. inventory:
  16083. description: 库存
  16084. type: integer
  16085. iscleared:
  16086. description: 是否清盘标志
  16087. type: integer
  16088. issettled:
  16089. description: 是否结算标志
  16090. type: integer
  16091. last:
  16092. description: 最新价
  16093. type: number
  16094. lastlot:
  16095. description: 最新成交手数
  16096. type: integer
  16097. lasttime:
  16098. description: 行情时间(只有现价变化行情时间才变化)
  16099. type: string
  16100. lastturnover:
  16101. description: 最新成交金额
  16102. type: number
  16103. lastvolume:
  16104. description: 最新成交量
  16105. type: integer
  16106. limitdown:
  16107. description: 跌停价
  16108. type: number
  16109. limitup:
  16110. description: 涨停价
  16111. type: number
  16112. lowest:
  16113. description: 最低价
  16114. type: number
  16115. nontotalholdervolume:
  16116. description: 非交易持仓量
  16117. type: integer
  16118. nontotallot:
  16119. description: 非交易总手数
  16120. type: integer
  16121. nontotalturnover:
  16122. description: 非交易总金额
  16123. type: integer
  16124. nontotalvolume:
  16125. description: 非交易总量
  16126. type: integer
  16127. opened:
  16128. description: 开盘价
  16129. type: number
  16130. opentime:
  16131. description: 开盘时间
  16132. type: string
  16133. orderid:
  16134. description: 序号
  16135. type: integer
  16136. preclose:
  16137. description: 昨收
  16138. type: number
  16139. preholdvolume:
  16140. description: 昨持仓
  16141. type: integer
  16142. presettle:
  16143. description: 昨结价
  16144. type: number
  16145. publictradetype:
  16146. description: 公共交易标志类型 港股专用
  16147. type: string
  16148. putoptionpremiums:
  16149. description: 认沽期权1
  16150. type: integer
  16151. putoptionpremiums2:
  16152. description: 认沽期权2
  16153. type: integer
  16154. putoptionpremiums3:
  16155. description: 认沽期权3
  16156. type: integer
  16157. putoptionpremiums4:
  16158. description: 认沽期权4
  16159. type: integer
  16160. putoptionpremiums5:
  16161. description: 认沽期权5
  16162. type: integer
  16163. settle:
  16164. description: 结算价
  16165. type: number
  16166. strikeprice:
  16167. description: 发行价
  16168. type: number
  16169. totalaskvolume:
  16170. description: 内盘
  16171. type: integer
  16172. totalbidvolume:
  16173. description: 外盘
  16174. type: integer
  16175. totallot:
  16176. description: 总手数
  16177. type: integer
  16178. totalturnover:
  16179. description: 总金额
  16180. type: number
  16181. totalvolume:
  16182. description: 总量
  16183. type: integer
  16184. utclasttime:
  16185. description: utc的行情时间
  16186. type: string
  16187. type: object
  16188. quote.QueryTSDataRsp:
  16189. properties:
  16190. Count:
  16191. description: 交易日应有数据个数
  16192. type: integer
  16193. decimalPlace:
  16194. description: 小数位
  16195. type: integer
  16196. endTime:
  16197. description: 结束时间
  16198. type: string
  16199. goodsCode:
  16200. description: 商品代码
  16201. type: string
  16202. historyDatas:
  16203. description: 历史数据
  16204. items:
  16205. $ref: '#/definitions/quote.HistoryData'
  16206. type: array
  16207. outGoodsCode:
  16208. description: 外部商品代码
  16209. type: string
  16210. preSettle:
  16211. description: 昨结价
  16212. type: number
  16213. runSteps:
  16214. description: 交易日开休市计划
  16215. items:
  16216. $ref: '#/definitions/quote.TSDataRunStep'
  16217. type: array
  16218. startTime:
  16219. description: 开始时间
  16220. type: string
  16221. tradeDate:
  16222. description: 交易日
  16223. type: string
  16224. type: object
  16225. quote.TSDataRunStep:
  16226. properties:
  16227. end:
  16228. description: 真实结束时间
  16229. type: string
  16230. endflag:
  16231. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  16232. type: integer
  16233. endtime:
  16234. description: 结束时间(HH:mm)
  16235. type: string
  16236. endweekday:
  16237. description: 结束周几
  16238. type: integer
  16239. groupid:
  16240. description: 分组ID
  16241. type: integer
  16242. runstep:
  16243. description: 运行阶段 - 2:连续交易
  16244. type: integer
  16245. sectionid:
  16246. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  16247. 结束时间=结算时间 结束周几=结算周几
  16248. type: integer
  16249. start:
  16250. description: 真实开始时间
  16251. type: string
  16252. startflag:
  16253. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  16254. type: integer
  16255. starttime:
  16256. description: 起始时间(HH:mm)
  16257. type: string
  16258. startweekday:
  16259. description: 起始周几
  16260. type: integer
  16261. tradeweekday:
  16262. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  16263. type: integer
  16264. type: object
  16265. szdz.QueryConvertLogRsp:
  16266. properties:
  16267. accountid:
  16268. description: 资金账户ID
  16269. type: integer
  16270. clientticket:
  16271. description: 客户端流水号
  16272. type: string
  16273. converttype:
  16274. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  16275. type: integer
  16276. createtime:
  16277. description: 记账时间
  16278. type: string
  16279. daymaxvalue:
  16280. description: 配置当日最大转入限制
  16281. type: number
  16282. daymaxvalue2:
  16283. description: 配置当日最大转入限制(转入)
  16284. type: number
  16285. goodscode:
  16286. description: 商品代码
  16287. type: string
  16288. goodsname:
  16289. description: 商品名称
  16290. type: string
  16291. handlestatus:
  16292. description: 处理状态
  16293. type: integer
  16294. innergoodsid:
  16295. description: 内部商品ID
  16296. type: integer
  16297. inratio:
  16298. description: 配置转入比值
  16299. type: integer
  16300. invalue:
  16301. description: 目标值
  16302. type: number
  16303. logid:
  16304. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16305. type: integer
  16306. mobile:
  16307. description: 手机号码(加密存储)
  16308. type: string
  16309. outergoodscode:
  16310. description: 外部商品代码[JD\PD]
  16311. type: string
  16312. outratio:
  16313. description: 配置转出比值
  16314. type: integer
  16315. outvalue:
  16316. description: 源值
  16317. type: number
  16318. pddecimalplace:
  16319. description: PD小数位
  16320. type: integer
  16321. qty:
  16322. description: 数量
  16323. type: string
  16324. remark:
  16325. description: 备注
  16326. type: string
  16327. sessionid:
  16328. description: 会话ID
  16329. type: integer
  16330. timemaxvalue:
  16331. description: 配置单次最大转入限制
  16332. type: number
  16333. timemaxvalue2:
  16334. description: 配置单次最大转入限制(转入)
  16335. type: number
  16336. timeminvalue:
  16337. description: 配置单次最小数量限制
  16338. type: number
  16339. timeminvalue2:
  16340. description: 配置单次最小数量限制(转入)
  16341. type: number
  16342. tradedate:
  16343. description: 交易日(yyyyMMdd)
  16344. type: string
  16345. userid:
  16346. description: 用户ID
  16347. type: integer
  16348. required:
  16349. - logid
  16350. type: object
  16351. szdz.QueryGoodsPickupRsp:
  16352. properties:
  16353. accountid:
  16354. description: 账户ID
  16355. type: integer
  16356. address:
  16357. description: 提货人详细地址
  16358. type: string
  16359. auditer:
  16360. description: 审核人
  16361. type: integer
  16362. audittime:
  16363. description: 审核时间
  16364. type: string
  16365. cardnum:
  16366. description: 提货人证件号码
  16367. type: string
  16368. cardtypeid:
  16369. description: 提货人证件类型
  16370. type: integer
  16371. checkremark:
  16372. description: 审核备注
  16373. type: string
  16374. goodscode:
  16375. description: 商品代码
  16376. type: string
  16377. goodsid:
  16378. description: 商品ID
  16379. type: integer
  16380. goodsname:
  16381. description: 商品名称
  16382. type: string
  16383. handlestatus:
  16384. description: 处理状态
  16385. type: integer
  16386. marketid:
  16387. description: 市场ID
  16388. type: integer
  16389. phonenum:
  16390. description: 提货人联系方式
  16391. type: string
  16392. qty:
  16393. description: 提货数量
  16394. type: number
  16395. recivername:
  16396. description: 提货人姓名
  16397. type: string
  16398. reqtime:
  16399. description: 更新时间
  16400. type: string
  16401. takemode:
  16402. description: 提货方式 - 2:自提 3:配送
  16403. type: integer
  16404. takeorderid:
  16405. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  16406. type: string
  16407. takeorderstatus:
  16408. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16409. type: integer
  16410. takeremark:
  16411. description: 提货备注
  16412. type: string
  16413. tradedate:
  16414. description: 交易日(yyyyMMdd)
  16415. type: string
  16416. userid:
  16417. description: 用户ID
  16418. type: integer
  16419. required:
  16420. - takeorderid
  16421. type: object
  16422. szdz.QueryRecieptOrderRsp:
  16423. properties:
  16424. accountName:
  16425. description: 所属账号名称(已脱敏)
  16426. type: string
  16427. accountid:
  16428. description: 资金账号
  16429. type: integer
  16430. buyorsell:
  16431. description: 方向 - 0:买 1:卖
  16432. type: integer
  16433. enableqty:
  16434. description: 可摘数量
  16435. type: integer
  16436. goodscode:
  16437. description: 商品代码
  16438. type: string
  16439. goodsid:
  16440. description: 商品ID
  16441. type: integer
  16442. goodsname:
  16443. description: 商品名称
  16444. type: string
  16445. orderid:
  16446. description: 委托单号
  16447. type: string
  16448. orderprice:
  16449. description: 委托价格
  16450. type: number
  16451. ordertime:
  16452. description: 委托时间
  16453. type: string
  16454. tradedate:
  16455. description: 交易日(yyyyMMdd)
  16456. type: string
  16457. required:
  16458. - ordertime
  16459. type: object
  16460. szdz.QuerySZDZTradePositionRsp:
  16461. properties:
  16462. accountid:
  16463. description: 账号Id
  16464. type: integer
  16465. agreeunit:
  16466. description: 合约单位
  16467. type: number
  16468. averageprice:
  16469. description: 持仓均价
  16470. type: number
  16471. buyorsell:
  16472. description: 方向 - 0:买 1:卖
  16473. type: integer
  16474. closetotalqty:
  16475. description: 平仓总数量
  16476. type: integer
  16477. curholderamount:
  16478. description: 当前持仓总金额
  16479. type: number
  16480. curpositionqty:
  16481. description: 当前持仓总数量
  16482. type: integer
  16483. currencyid:
  16484. description: 报价货币ID
  16485. type: integer
  16486. curtdposition:
  16487. description: 期末今日头寸
  16488. type: integer
  16489. decimalplace:
  16490. description: 报价小数位
  16491. type: integer
  16492. enableqty:
  16493. description: 可用量
  16494. type: integer
  16495. fretdposition:
  16496. description: 冻结今日头寸
  16497. type: integer
  16498. frozenqty:
  16499. description: 持仓冻结数量
  16500. type: integer
  16501. goodscode:
  16502. description: 商品代码(内部)
  16503. type: string
  16504. goodsid:
  16505. description: 商品Id
  16506. type: integer
  16507. goodsname:
  16508. description: 商品名称
  16509. type: string
  16510. goodunit:
  16511. description: 报价单位
  16512. type: string
  16513. goodunitid:
  16514. description: 报价单位ID
  16515. type: integer
  16516. holderamount:
  16517. description: 期初持仓总金额
  16518. type: number
  16519. marketid:
  16520. description: 市场ID
  16521. type: integer
  16522. openreqqty:
  16523. description: 开仓申请数量
  16524. type: integer
  16525. opentotalqty:
  16526. description: 开仓总数量
  16527. type: integer
  16528. otherfrozenqty:
  16529. description: 持仓其他冻结数量(交割冻结)
  16530. type: integer
  16531. positionqty:
  16532. description: 期初持仓数量
  16533. type: integer
  16534. szdz3freezqty:
  16535. description: 尚志大宗转换冻结总数量
  16536. type: integer
  16537. tnqty:
  16538. description: T+N冻结总量
  16539. type: integer
  16540. tnusedqty:
  16541. description: T+N使用量
  16542. type: integer
  16543. trademode:
  16544. description: 交易模式
  16545. type: integer
  16546. usedmargin:
  16547. description: 占用保证金
  16548. type: number
  16549. type: object
  16550. taaccount.QueryAmountLogRsp:
  16551. properties:
  16552. OPERATETYPENAME:
  16553. description: 资金操作类型名称
  16554. type: string
  16555. accountid:
  16556. description: 资金账户ID
  16557. type: integer
  16558. agoodscode:
  16559. description: 竞拍商品代码
  16560. type: string
  16561. agoodsname:
  16562. description: 竞拍商品名称
  16563. type: string
  16564. amount:
  16565. description: 资金金额
  16566. type: number
  16567. amountadjusttype:
  16568. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16569. type: integer
  16570. autoid:
  16571. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16572. type: integer
  16573. balance:
  16574. description: 期初余额
  16575. type: number
  16576. businesscode:
  16577. description: 业务编号
  16578. type: integer
  16579. createtime:
  16580. description: 发生时间
  16581. type: string
  16582. currencyid:
  16583. description: 币种ID
  16584. type: integer
  16585. currentbalance:
  16586. description: 期末余额(变动后金额)
  16587. type: number
  16588. dgoodscode:
  16589. description: 交割商品代码
  16590. type: string
  16591. dgoodsname:
  16592. description: 交割商品名称
  16593. type: string
  16594. goodscode:
  16595. description: 商品代码
  16596. type: string
  16597. goodsid:
  16598. description: 商品ID
  16599. type: integer
  16600. goodsname:
  16601. description: 商品名称
  16602. type: string
  16603. marketid:
  16604. description: 市场ID
  16605. type: integer
  16606. marketname:
  16607. description: 市场名称
  16608. type: string
  16609. moneyticket:
  16610. description: 资金流水号:银行端流水号
  16611. type: integer
  16612. operatetype:
  16613. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16614. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16615. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16616. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16617. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16618. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16619. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16620. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16621. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16622. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16623. type: integer
  16624. relationorderid:
  16625. description: 关联单号
  16626. type: string
  16627. remark:
  16628. description: 备注
  16629. type: string
  16630. trademode:
  16631. description: 交易模式
  16632. type: integer
  16633. required:
  16634. - accountid
  16635. - amount
  16636. - amountadjusttype
  16637. - autoid
  16638. - balance
  16639. - createtime
  16640. - currentbalance
  16641. - operatetype
  16642. type: object
  16643. taaccount.QueryHisAmountLogRsp:
  16644. properties:
  16645. OPERATETYPENAME:
  16646. description: 资金操作类型名称
  16647. type: string
  16648. accountid:
  16649. description: 资金账户ID
  16650. type: integer
  16651. agoodscode:
  16652. description: 竞拍商品代码
  16653. type: string
  16654. agoodsname:
  16655. description: 竞拍商品名称
  16656. type: string
  16657. amount:
  16658. description: 资金金额
  16659. type: number
  16660. amountadjusttype:
  16661. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16662. type: integer
  16663. autoid:
  16664. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16665. type: integer
  16666. balance:
  16667. description: 期初余额
  16668. type: number
  16669. businesscode:
  16670. description: 业务编号
  16671. type: integer
  16672. createtime:
  16673. description: 发生时间
  16674. type: string
  16675. currencyid:
  16676. description: 币种ID
  16677. type: integer
  16678. currentbalance:
  16679. description: 期末余额(变动后金额)
  16680. type: number
  16681. dgoodscode:
  16682. description: 交割商品代码
  16683. type: string
  16684. dgoodsname:
  16685. description: 交割商品名称
  16686. type: string
  16687. goodscode:
  16688. description: 商品代码
  16689. type: string
  16690. goodsid:
  16691. description: 商品ID
  16692. type: integer
  16693. goodsname:
  16694. description: 商品名称
  16695. type: string
  16696. histradedate:
  16697. description: 历史交易日
  16698. type: string
  16699. isvaliddata:
  16700. description: 是否有效 - 0:无效 1:有效
  16701. type: integer
  16702. marketid:
  16703. description: 市场ID
  16704. type: integer
  16705. marketname:
  16706. description: 市场名称
  16707. type: string
  16708. moneyticket:
  16709. description: 资金流水号:银行端流水号
  16710. type: integer
  16711. operatetype:
  16712. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16713. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16714. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16715. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16716. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16717. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16718. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16719. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16720. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16721. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16722. type: integer
  16723. relationorderid:
  16724. description: 关联单号
  16725. type: string
  16726. remark:
  16727. description: 备注
  16728. type: string
  16729. trademode:
  16730. description: 交易模式
  16731. type: integer
  16732. required:
  16733. - accountid
  16734. - amount
  16735. - amountadjusttype
  16736. - autoid
  16737. - balance
  16738. - createtime
  16739. - currentbalance
  16740. - histradedate
  16741. - operatetype
  16742. type: object
  16743. trade.QueryRecieptOrderRsp:
  16744. properties:
  16745. accountName:
  16746. description: 所属账号名称(已脱敏)
  16747. type: string
  16748. accountid:
  16749. description: 资金账号
  16750. type: integer
  16751. buyorsell:
  16752. description: 方向 - 0:买 1:卖
  16753. type: integer
  16754. enableqty:
  16755. description: 可摘数量
  16756. type: integer
  16757. goodscode:
  16758. description: 商品代码
  16759. type: string
  16760. goodsid:
  16761. description: 商品ID
  16762. type: integer
  16763. goodsname:
  16764. description: 商品名称
  16765. type: string
  16766. orderid:
  16767. description: 委托单号
  16768. type: string
  16769. orderprice:
  16770. description: 委托价格
  16771. type: number
  16772. ordertime:
  16773. description: 委托时间
  16774. type: string
  16775. tradedate:
  16776. description: 交易日(yyyyMMdd)
  16777. type: string
  16778. required:
  16779. - ordertime
  16780. type: object
  16781. user.LoginQueryRsp:
  16782. properties:
  16783. areaRoles:
  16784. description: 所属角色信息
  16785. items:
  16786. $ref: '#/definitions/models.Arearole'
  16787. type: array
  16788. externalExchanges:
  16789. description: 外部交易所
  16790. items:
  16791. $ref: '#/definitions/models.Externalexchange'
  16792. type: array
  16793. goodsgroups:
  16794. description: 商品组
  16795. items:
  16796. $ref: '#/definitions/models.Goodsgroup'
  16797. type: array
  16798. loginAccount:
  16799. $ref: '#/definitions/models.Loginaccount'
  16800. description: 登录账号
  16801. type: object
  16802. markets:
  16803. description: 市场
  16804. items:
  16805. $ref: '#/definitions/models.Market'
  16806. type: array
  16807. systemParams:
  16808. description: 系统参数
  16809. items:
  16810. $ref: '#/definitions/models.Systemparam'
  16811. type: array
  16812. userAccount:
  16813. $ref: '#/definitions/models.Useraccount'
  16814. description: 用户账号
  16815. type: object
  16816. userInfo:
  16817. $ref: '#/definitions/models.Userinfo'
  16818. description: 用户信息
  16819. type: object
  16820. username:
  16821. description: 用户姓名
  16822. type: string
  16823. type: object
  16824. info:
  16825. contact: {}
  16826. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  16827. license: {}
  16828. termsOfService: http://www.muchinfo.cn
  16829. title: MTP2.0 查询服务 API
  16830. version: "1.0"
  16831. paths:
  16832. /CPTrade/QueryCPTradeMyBidInfos:
  16833. get:
  16834. parameters:
  16835. - description: 资金账户
  16836. in: query
  16837. name: accountid
  16838. required: true
  16839. type: integer
  16840. - description: 预售市场ID
  16841. in: query
  16842. name: marketid
  16843. type: integer
  16844. - description: 预售商品ID
  16845. in: query
  16846. name: goodsid
  16847. type: integer
  16848. produces:
  16849. - application/json
  16850. responses:
  16851. "200":
  16852. description: OK
  16853. schema:
  16854. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  16855. "500":
  16856. description: Internal Server Error
  16857. schema:
  16858. $ref: '#/definitions/app.Response'
  16859. security:
  16860. - ApiKeyAuth: []
  16861. summary: 查询产能预售我的出价信息
  16862. tags:
  16863. - 产能预售
  16864. /CPTrade/QueryCPTradeOrderDetail:
  16865. get:
  16866. parameters:
  16867. - description: 预售商品ID
  16868. in: query
  16869. name: goodsid
  16870. type: integer
  16871. - description: 预售市场ID
  16872. in: query
  16873. name: marketid
  16874. type: integer
  16875. - description: 预售商品ID列表 - 格式:1,2,3
  16876. in: query
  16877. name: goodsids
  16878. type: string
  16879. produces:
  16880. - application/json
  16881. responses:
  16882. "200":
  16883. description: OK
  16884. schema:
  16885. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  16886. "500":
  16887. description: Internal Server Error
  16888. schema:
  16889. $ref: '#/definitions/app.Response'
  16890. security:
  16891. - ApiKeyAuth: []
  16892. summary: 查询产能预售委托单信息
  16893. tags:
  16894. - 产能预售
  16895. /CPTrade/QueryMyCPTradeGoods:
  16896. get:
  16897. parameters:
  16898. - description: 资金账户
  16899. in: query
  16900. name: accountid
  16901. required: true
  16902. type: integer
  16903. produces:
  16904. - application/json
  16905. responses:
  16906. "200":
  16907. description: OK
  16908. schema:
  16909. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  16910. "500":
  16911. description: Internal Server Error
  16912. schema:
  16913. $ref: '#/definitions/app.Response'
  16914. security:
  16915. - ApiKeyAuth: []
  16916. summary: 查询我的预售信息
  16917. tags:
  16918. - 产能预售
  16919. /CPTrade/QueryPositionCancel:
  16920. get:
  16921. parameters:
  16922. - description: 账户ID
  16923. in: query
  16924. name: userid
  16925. required: true
  16926. type: integer
  16927. - description: 注销ID
  16928. in: query
  16929. name: cancelid
  16930. type: integer
  16931. - description: 资金账户ID
  16932. in: query
  16933. name: accountid
  16934. type: integer
  16935. produces:
  16936. - application/json
  16937. responses:
  16938. "200":
  16939. description: OK
  16940. schema:
  16941. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  16942. "500":
  16943. description: Internal Server Error
  16944. schema:
  16945. $ref: '#/definitions/app.Response'
  16946. security:
  16947. - ApiKeyAuth: []
  16948. summary: 查询远期订单注销申请信息
  16949. tags:
  16950. - 产能预售
  16951. /CPTrade/QueryPreasleApply:
  16952. get:
  16953. parameters:
  16954. - description: 账户ID
  16955. in: query
  16956. name: userid
  16957. required: true
  16958. type: integer
  16959. - description: 申请ID
  16960. in: query
  16961. name: applyid
  16962. type: integer
  16963. - description: 资金账户ID
  16964. in: query
  16965. name: accountid
  16966. type: integer
  16967. produces:
  16968. - application/json
  16969. responses:
  16970. "200":
  16971. description: OK
  16972. schema:
  16973. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  16974. "500":
  16975. description: Internal Server Error
  16976. schema:
  16977. $ref: '#/definitions/app.Response'
  16978. security:
  16979. - ApiKeyAuth: []
  16980. summary: 查询产能预售申请信息
  16981. tags:
  16982. - 产能预售
  16983. /CPTrade/QueryPresaleGoodsEx:
  16984. get:
  16985. parameters:
  16986. - description: 预售商品ID
  16987. in: query
  16988. name: goodsid
  16989. type: integer
  16990. - description: 预售市场ID
  16991. in: query
  16992. name: marketid
  16993. type: integer
  16994. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  16995. in: query
  16996. name: presalemode
  16997. type: integer
  16998. - description: 预售商品ID列表 - 格式:1,2,3
  16999. in: query
  17000. name: goodsids
  17001. type: string
  17002. - description: 预售商品代码
  17003. in: query
  17004. name: goodscode
  17005. type: string
  17006. produces:
  17007. - application/json
  17008. responses:
  17009. "200":
  17010. description: OK
  17011. schema:
  17012. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17013. "500":
  17014. description: Internal Server Error
  17015. schema:
  17016. $ref: '#/definitions/app.Response'
  17017. security:
  17018. - ApiKeyAuth: []
  17019. summary: 查询产能预售商品扩展信息
  17020. tags:
  17021. - 产能预售
  17022. /CPTrade/QueryUserGoodsData:
  17023. get:
  17024. parameters:
  17025. - description: 资金账户ID
  17026. in: query
  17027. name: accountid
  17028. required: true
  17029. type: integer
  17030. produces:
  17031. - application/json
  17032. responses:
  17033. "200":
  17034. description: OK
  17035. schema:
  17036. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17037. "500":
  17038. description: Internal Server Error
  17039. schema:
  17040. $ref: '#/definitions/app.Response'
  17041. security:
  17042. - ApiKeyAuth: []
  17043. summary: 查询远期订单信息
  17044. tags:
  17045. - 产能预售
  17046. /Common/GetAllEnums:
  17047. get:
  17048. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17049. parameters:
  17050. - description: 起始自增ID
  17051. in: query
  17052. name: autoid
  17053. type: integer
  17054. produces:
  17055. - application/json
  17056. responses:
  17057. "200":
  17058. description: OK
  17059. schema:
  17060. $ref: '#/definitions/models.Enumdicitem'
  17061. "500":
  17062. description: Internal Server Error
  17063. schema:
  17064. $ref: '#/definitions/app.Response'
  17065. summary: 获取所有枚举信息
  17066. tags:
  17067. - 通用服务
  17068. /Common/GetClientMenus:
  17069. get:
  17070. parameters:
  17071. - description: 登录账号
  17072. in: query
  17073. name: loginID
  17074. required: true
  17075. type: integer
  17076. - description: 终端类型,0:PC 1:Mobile
  17077. in: query
  17078. name: clientType
  17079. type: integer
  17080. produces:
  17081. - application/json
  17082. responses:
  17083. "200":
  17084. description: OK
  17085. schema:
  17086. items:
  17087. $ref: '#/definitions/common.ClientMenu'
  17088. type: array
  17089. "500":
  17090. description: Internal Server Error
  17091. schema:
  17092. $ref: '#/definitions/app.Response'
  17093. security:
  17094. - ApiKeyAuth: []
  17095. summary: 获取交易端菜单
  17096. tags:
  17097. - 通用服务
  17098. /Common/GetDivisions:
  17099. get:
  17100. produces:
  17101. - application/json
  17102. responses:
  17103. "200":
  17104. description: OK
  17105. schema:
  17106. $ref: '#/definitions/models.Division'
  17107. "500":
  17108. description: Internal Server Error
  17109. schema:
  17110. $ref: '#/definitions/app.Response'
  17111. summary: 查询区域信息
  17112. tags:
  17113. - 通用服务
  17114. /Common/GetServerTime:
  17115. get:
  17116. produces:
  17117. - application/json
  17118. responses:
  17119. "200":
  17120. description: OK
  17121. schema:
  17122. $ref: '#/definitions/app.Response'
  17123. "500":
  17124. description: Internal Server Error
  17125. schema:
  17126. $ref: '#/definitions/app.Response'
  17127. summary: 获取服务器时间
  17128. tags:
  17129. - 通用服务
  17130. /Common/NoticeReaded:
  17131. post:
  17132. parameters:
  17133. - description: 登录账号
  17134. in: query
  17135. name: loginID
  17136. required: true
  17137. type: integer
  17138. - description: 通知公告ID
  17139. in: query
  17140. name: noticeID
  17141. required: true
  17142. type: integer
  17143. produces:
  17144. - application/json
  17145. responses:
  17146. "200":
  17147. description: OK
  17148. schema:
  17149. $ref: '#/definitions/app.Response'
  17150. "500":
  17151. description: Internal Server Error
  17152. schema:
  17153. $ref: '#/definitions/app.Response'
  17154. security:
  17155. - ApiKeyAuth: []
  17156. summary: 通知公告设置已读请求
  17157. tags:
  17158. - 通用服务
  17159. /Common/QueryErrorInfos:
  17160. get:
  17161. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17162. parameters:
  17163. - description: 起始行号前索引
  17164. in: query
  17165. name: rowNumber
  17166. type: string
  17167. produces:
  17168. - application/json
  17169. responses:
  17170. "200":
  17171. description: OK
  17172. schema:
  17173. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17174. "500":
  17175. description: Internal Server Error
  17176. schema:
  17177. $ref: '#/definitions/app.Response'
  17178. summary: 获取数据库错误信息
  17179. tags:
  17180. - 通用服务
  17181. /Common/QueryImageConfigs:
  17182. get:
  17183. parameters:
  17184. - description: 用户id
  17185. in: query
  17186. name: userId
  17187. type: integer
  17188. - description: 类型 - 1:App首页轮播 2:我的
  17189. in: query
  17190. name: imageType
  17191. type: integer
  17192. produces:
  17193. - application/json
  17194. responses:
  17195. "200":
  17196. description: OK
  17197. schema:
  17198. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17199. "500":
  17200. description: Internal Server Error
  17201. schema:
  17202. $ref: '#/definitions/app.Response'
  17203. summary: 查询轮播图配置信息
  17204. tags:
  17205. - 通用服务
  17206. /Common/QueryNotice:
  17207. get:
  17208. parameters:
  17209. - description: 页码
  17210. in: query
  17211. name: page
  17212. type: integer
  17213. - description: 每页条数
  17214. in: query
  17215. name: pagesize
  17216. type: integer
  17217. - description: 登录账号
  17218. in: query
  17219. name: loginID
  17220. required: true
  17221. type: integer
  17222. - description: 消息类型 - 1:公告通知 2:系统消息
  17223. in: query
  17224. name: msgType
  17225. type: integer
  17226. - description: 是否只获取未读信息
  17227. in: query
  17228. name: onlyUnRead
  17229. type: boolean
  17230. - description: 自增ID,传入后会返回这个ID后面的记录
  17231. in: query
  17232. name: lastID
  17233. type: integer
  17234. produces:
  17235. - application/json
  17236. responses:
  17237. "200":
  17238. description: OK
  17239. schema:
  17240. $ref: '#/definitions/common.QueryNoticeRsp'
  17241. "500":
  17242. description: Internal Server Error
  17243. schema:
  17244. $ref: '#/definitions/app.Response'
  17245. security:
  17246. - ApiKeyAuth: []
  17247. summary: 通知公告系统消息查询
  17248. tags:
  17249. - 通用服务
  17250. /Common/QueryProvincesAndCities:
  17251. get:
  17252. parameters:
  17253. - description: 省ID
  17254. in: query
  17255. name: provinceID
  17256. type: integer
  17257. produces:
  17258. - application/json
  17259. responses:
  17260. "200":
  17261. description: OK
  17262. schema:
  17263. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  17264. "500":
  17265. description: Internal Server Error
  17266. schema:
  17267. $ref: '#/definitions/app.Response'
  17268. summary: 查询省市信息(不包括区)
  17269. tags:
  17270. - 通用服务
  17271. /Common/QueryTableDefine:
  17272. get:
  17273. parameters:
  17274. - description: 表key
  17275. in: query
  17276. name: tableKey
  17277. type: string
  17278. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  17279. in: query
  17280. name: tableType
  17281. type: integer
  17282. produces:
  17283. - application/json
  17284. responses:
  17285. "200":
  17286. description: OK
  17287. schema:
  17288. $ref: '#/definitions/common.QueryTableDefineRsp'
  17289. "500":
  17290. description: Internal Server Error
  17291. schema:
  17292. $ref: '#/definitions/app.Response'
  17293. summary: 查询交易端列表头信息
  17294. tags:
  17295. - 通用服务
  17296. /Common/QueryTraderMenu:
  17297. get:
  17298. parameters:
  17299. - description: 登录账号
  17300. in: query
  17301. name: loginid
  17302. required: true
  17303. type: integer
  17304. produces:
  17305. - application/json
  17306. responses:
  17307. "200":
  17308. description: OK
  17309. schema:
  17310. $ref: '#/definitions/common.QueryTraderMenuRsp'
  17311. "500":
  17312. description: Internal Server Error
  17313. schema:
  17314. $ref: '#/definitions/app.Response'
  17315. summary: 查询交易端菜单
  17316. tags:
  17317. - 通用服务
  17318. /Delivery/QueryDeliveryRelation:
  17319. get:
  17320. parameters:
  17321. - description: 商品ID
  17322. in: query
  17323. name: goodsid
  17324. type: integer
  17325. - description: 品种ID
  17326. in: query
  17327. name: deliverygoodsid
  17328. type: integer
  17329. - description: 市场ID
  17330. in: query
  17331. name: marketid
  17332. type: integer
  17333. produces:
  17334. - application/json
  17335. responses:
  17336. "200":
  17337. description: OK
  17338. schema:
  17339. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  17340. "500":
  17341. description: Internal Server Error
  17342. schema:
  17343. $ref: '#/definitions/app.Response'
  17344. security:
  17345. - ApiKeyAuth: []
  17346. summary: 查询商品交割关系表
  17347. tags:
  17348. - 交割服务
  17349. /Ermcp/GetErmcpGoods:
  17350. get:
  17351. parameters:
  17352. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17353. in: query
  17354. name: lastUpdateTime
  17355. type: string
  17356. produces:
  17357. - application/json
  17358. responses:
  17359. "200":
  17360. description: OK
  17361. schema:
  17362. $ref: '#/definitions/models.ErmcpGoods'
  17363. "500":
  17364. description: Internal Server Error
  17365. schema:
  17366. $ref: '#/definitions/app.Response'
  17367. security:
  17368. - ApiKeyAuth: []
  17369. summary: 查询企业风管期货商品信息
  17370. tags:
  17371. - 企业风险管理(app)
  17372. /Ermcp/GetErmcpGoodsSortByPosition:
  17373. get:
  17374. parameters:
  17375. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  17376. in: query
  17377. name: sortIndex
  17378. type: string
  17379. produces:
  17380. - application/json
  17381. responses:
  17382. "200":
  17383. description: OK
  17384. schema:
  17385. $ref: '#/definitions/models.Goodssortbypreposition'
  17386. "500":
  17387. description: Internal Server Error
  17388. schema:
  17389. $ref: '#/definitions/app.Response'
  17390. security:
  17391. - ApiKeyAuth: []
  17392. summary: 查询企业风管期货主力、次主力商品信息
  17393. tags:
  17394. - 企业风险管理(app)
  17395. /Ermcp/GetErmcpOutAccountStatus:
  17396. get:
  17397. parameters:
  17398. - description: 登录账号
  17399. in: query
  17400. name: loginID
  17401. required: true
  17402. type: integer
  17403. produces:
  17404. - application/json
  17405. responses:
  17406. "200":
  17407. description: OK
  17408. schema:
  17409. $ref: '#/definitions/models.Hedgemarketopenlog'
  17410. "500":
  17411. description: Internal Server Error
  17412. schema:
  17413. $ref: '#/definitions/app.Response'
  17414. security:
  17415. - ApiKeyAuth: []
  17416. summary: 获取目标登录账号当前对冲账号在线状态
  17417. tags:
  17418. - 企业风险管理(app)
  17419. /Ermcp/GetErmcpRoleFuncMenuLists:
  17420. get:
  17421. parameters:
  17422. - description: 登录账号
  17423. in: query
  17424. name: loginID
  17425. required: true
  17426. type: integer
  17427. produces:
  17428. - application/json
  17429. responses:
  17430. "200":
  17431. description: OK
  17432. schema:
  17433. $ref: '#/definitions/models.Funcmenulist'
  17434. "500":
  17435. description: Internal Server Error
  17436. schema:
  17437. $ref: '#/definitions/app.Response'
  17438. security:
  17439. - ApiKeyAuth: []
  17440. summary: 获取企业风管终端权限
  17441. tags:
  17442. - 企业风险管理(app)
  17443. /Ermcp/QueryAccMgrBizGroupSet:
  17444. get:
  17445. parameters:
  17446. - description: 用户ID
  17447. in: query
  17448. name: userid
  17449. required: true
  17450. type: integer
  17451. - description: 现货商品id
  17452. in: query
  17453. name: deliverygoodsid
  17454. type: integer
  17455. produces:
  17456. - application/json
  17457. responses:
  17458. "200":
  17459. description: OK
  17460. schema:
  17461. items:
  17462. $ref: '#/definitions/models.ErmcpBizGroupEx'
  17463. type: array
  17464. "500":
  17465. description: Internal Server Error
  17466. schema:
  17467. $ref: '#/definitions/app.Response'
  17468. security:
  17469. - ApiKeyAuth: []
  17470. summary: 查询业务类型分组(账户管理/账户设置)
  17471. tags:
  17472. - 企业风险管理(app)
  17473. /Ermcp/QueryAccMgrLoginUser:
  17474. get:
  17475. parameters:
  17476. - description: 用户ID
  17477. in: query
  17478. name: userid
  17479. required: true
  17480. type: integer
  17481. - description: 用户类型 2-机构 7-企业成员
  17482. in: query
  17483. name: usertype
  17484. type: integer
  17485. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  17486. in: query
  17487. name: querytype
  17488. required: true
  17489. type: integer
  17490. produces:
  17491. - application/json
  17492. responses:
  17493. "200":
  17494. description: OK
  17495. schema:
  17496. items:
  17497. $ref: '#/definitions/models.ErmcpLoginUserEx'
  17498. type: array
  17499. "500":
  17500. description: Internal Server Error
  17501. schema:
  17502. $ref: '#/definitions/app.Response'
  17503. security:
  17504. - ApiKeyAuth: []
  17505. summary: 查询账户管理登录账号(账户管理/登录账号)
  17506. tags:
  17507. - 企业风险管理(app)
  17508. /Ermcp/QueryAccMgrMainAccountInfo:
  17509. get:
  17510. parameters:
  17511. - description: 用户ID
  17512. in: query
  17513. name: userid
  17514. type: integer
  17515. - description: 主账号id
  17516. in: query
  17517. name: accountid
  17518. type: integer
  17519. produces:
  17520. - application/json
  17521. responses:
  17522. "200":
  17523. description: OK
  17524. schema:
  17525. items:
  17526. $ref: '#/definitions/models.MainAccountInfo'
  17527. type: array
  17528. "500":
  17529. description: Internal Server Error
  17530. schema:
  17531. $ref: '#/definitions/app.Response'
  17532. security:
  17533. - ApiKeyAuth: []
  17534. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  17535. tags:
  17536. - 企业风险管理(app)
  17537. /Ermcp/QueryAccMgrRole:
  17538. get:
  17539. parameters:
  17540. - description: 用户ID
  17541. in: query
  17542. name: userid
  17543. required: true
  17544. type: integer
  17545. produces:
  17546. - application/json
  17547. responses:
  17548. "200":
  17549. description: OK
  17550. schema:
  17551. items:
  17552. $ref: '#/definitions/models.ErmcpRole'
  17553. type: array
  17554. "500":
  17555. description: Internal Server Error
  17556. schema:
  17557. $ref: '#/definitions/app.Response'
  17558. security:
  17559. - ApiKeyAuth: []
  17560. summary: 查询账户管理角色设置(账户管理/角色设置)
  17561. tags:
  17562. - 企业风险管理(app)
  17563. /Ermcp/QueryAccMgrRoleMenu:
  17564. get:
  17565. parameters:
  17566. - description: 用户ID
  17567. in: query
  17568. name: userid
  17569. required: true
  17570. type: integer
  17571. - description: 角色id(可多个,逗号隔开)
  17572. in: query
  17573. name: roleid
  17574. type: string
  17575. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  17576. in: query
  17577. name: menutype
  17578. type: integer
  17579. produces:
  17580. - application/json
  17581. responses:
  17582. "200":
  17583. description: OK
  17584. schema:
  17585. items:
  17586. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  17587. type: array
  17588. "500":
  17589. description: Internal Server Error
  17590. schema:
  17591. $ref: '#/definitions/app.Response'
  17592. security:
  17593. - ApiKeyAuth: []
  17594. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  17595. tags:
  17596. - 企业风险管理(app)
  17597. /Ermcp/QueryAccMgrTaAccountInfo:
  17598. get:
  17599. parameters:
  17600. - description: 用户ID
  17601. in: query
  17602. name: userid
  17603. required: true
  17604. type: integer
  17605. - description: 账号id
  17606. in: query
  17607. name: accountid
  17608. type: integer
  17609. produces:
  17610. - application/json
  17611. responses:
  17612. "200":
  17613. description: OK
  17614. schema:
  17615. items:
  17616. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  17617. type: array
  17618. "500":
  17619. description: Internal Server Error
  17620. schema:
  17621. $ref: '#/definitions/app.Response'
  17622. security:
  17623. - ApiKeyAuth: []
  17624. summary: 查询账户管理授信(账户管理/账户设置/授信)
  17625. tags:
  17626. - 企业风险管理(app)
  17627. /Ermcp/QueryAccMgrTaaccount:
  17628. get:
  17629. parameters:
  17630. - description: 用户ID
  17631. in: query
  17632. name: userid
  17633. required: true
  17634. type: integer
  17635. produces:
  17636. - application/json
  17637. responses:
  17638. "200":
  17639. description: OK
  17640. schema:
  17641. items:
  17642. $ref: '#/definitions/models.ErmcpTaAccountEx'
  17643. type: array
  17644. "500":
  17645. description: Internal Server Error
  17646. schema:
  17647. $ref: '#/definitions/app.Response'
  17648. security:
  17649. - ApiKeyAuth: []
  17650. summary: 查询账户管理期货账号(账户管理/期货账号)
  17651. tags:
  17652. - 企业风险管理(app)
  17653. /Ermcp/QueryAvaildGoodsGroup:
  17654. get:
  17655. parameters:
  17656. - description: 所属机构ID
  17657. in: query
  17658. name: userid
  17659. required: true
  17660. type: integer
  17661. produces:
  17662. - application/json
  17663. responses:
  17664. "200":
  17665. description: OK
  17666. schema:
  17667. items:
  17668. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  17669. type: array
  17670. "500":
  17671. description: Internal Server Error
  17672. schema:
  17673. $ref: '#/definitions/app.Response'
  17674. security:
  17675. - ApiKeyAuth: []
  17676. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  17677. tags:
  17678. - 企业风险管理(app)
  17679. /Ermcp/QueryBusinessDj:
  17680. get:
  17681. parameters:
  17682. - description: 用户ID
  17683. in: query
  17684. name: UserId
  17685. required: true
  17686. type: integer
  17687. - description: 用户类型 2-机构 7-企业成员
  17688. in: query
  17689. name: usertype
  17690. type: integer
  17691. - description: 现货合同ID, 不填则查所有
  17692. in: query
  17693. name: relatedid
  17694. type: string
  17695. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17696. in: query
  17697. name: applystatus
  17698. type: string
  17699. produces:
  17700. - application/json
  17701. responses:
  17702. "200":
  17703. description: OK
  17704. schema:
  17705. items:
  17706. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  17707. type: array
  17708. "500":
  17709. description: Internal Server Error
  17710. schema:
  17711. $ref: '#/definitions/app.Response'
  17712. security:
  17713. - ApiKeyAuth: []
  17714. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  17715. tags:
  17716. - 企业风险管理(app)
  17717. /Ermcp/QueryBusinessFp:
  17718. get:
  17719. parameters:
  17720. - description: 用户ID
  17721. in: query
  17722. name: UserId
  17723. required: true
  17724. type: integer
  17725. - description: 用户类型 2-机构 7-企业成员
  17726. in: query
  17727. name: usertype
  17728. type: integer
  17729. - description: 现货合同ID, 不填则查所有
  17730. in: query
  17731. name: relatedid
  17732. type: string
  17733. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17734. in: query
  17735. name: applystatus
  17736. type: string
  17737. produces:
  17738. - application/json
  17739. responses:
  17740. "200":
  17741. description: OK
  17742. schema:
  17743. items:
  17744. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  17745. type: array
  17746. "500":
  17747. description: Internal Server Error
  17748. schema:
  17749. $ref: '#/definitions/app.Response'
  17750. security:
  17751. - ApiKeyAuth: []
  17752. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  17753. tags:
  17754. - 企业风险管理(app)
  17755. /Ermcp/QueryBusinessJs:
  17756. get:
  17757. parameters:
  17758. - description: 用户ID
  17759. in: query
  17760. name: UserId
  17761. required: true
  17762. type: integer
  17763. - description: 用户类型 2-机构 7-企业成员
  17764. in: query
  17765. name: usertype
  17766. type: integer
  17767. - description: 现货合同ID, 不填则查所有
  17768. in: query
  17769. name: relatedid
  17770. type: string
  17771. - description: 操作申请id
  17772. in: query
  17773. name: operateapplyid
  17774. type: string
  17775. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17776. in: query
  17777. name: applystatus
  17778. type: string
  17779. produces:
  17780. - application/json
  17781. responses:
  17782. "200":
  17783. description: OK
  17784. schema:
  17785. items:
  17786. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  17787. type: array
  17788. "500":
  17789. description: Internal Server Error
  17790. schema:
  17791. $ref: '#/definitions/app.Response'
  17792. security:
  17793. - ApiKeyAuth: []
  17794. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  17795. tags:
  17796. - 企业风险管理(app)
  17797. /Ermcp/QueryBusinessJsEx:
  17798. get:
  17799. parameters:
  17800. - description: 用户ID
  17801. in: query
  17802. name: UserId
  17803. required: true
  17804. type: integer
  17805. - description: 用户类型 2-机构 7-企业成员
  17806. in: query
  17807. name: usertype
  17808. type: integer
  17809. - description: 现货合同ID, 不填则查所有
  17810. in: query
  17811. name: relatedid
  17812. type: string
  17813. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17814. in: query
  17815. name: applystatus
  17816. type: string
  17817. produces:
  17818. - application/json
  17819. responses:
  17820. "200":
  17821. description: OK
  17822. schema:
  17823. items:
  17824. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  17825. type: array
  17826. "500":
  17827. description: Internal Server Error
  17828. schema:
  17829. $ref: '#/definitions/app.Response'
  17830. security:
  17831. - ApiKeyAuth: []
  17832. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  17833. tags:
  17834. - 企业风险管理(app)
  17835. /Ermcp/QueryBusinessKx:
  17836. get:
  17837. parameters:
  17838. - description: 用户ID
  17839. in: query
  17840. name: UserId
  17841. required: true
  17842. type: integer
  17843. - description: 用户类型 2-机构 7-企业成员
  17844. in: query
  17845. name: usertype
  17846. type: integer
  17847. - description: 现货合同ID, 不填则查所有
  17848. in: query
  17849. name: relatedid
  17850. type: string
  17851. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17852. in: query
  17853. name: applystatus
  17854. type: string
  17855. produces:
  17856. - application/json
  17857. responses:
  17858. "200":
  17859. description: OK
  17860. schema:
  17861. items:
  17862. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  17863. type: array
  17864. "500":
  17865. description: Internal Server Error
  17866. schema:
  17867. $ref: '#/definitions/app.Response'
  17868. security:
  17869. - ApiKeyAuth: []
  17870. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  17871. tags:
  17872. - 企业风险管理(app)
  17873. /Ermcp/QueryChangeLog:
  17874. get:
  17875. parameters:
  17876. - description: 合同ID
  17877. in: query
  17878. name: RelatedId
  17879. required: true
  17880. type: string
  17881. produces:
  17882. - application/json
  17883. responses:
  17884. "200":
  17885. description: OK
  17886. schema:
  17887. items:
  17888. $ref: '#/definitions/ermcp.QryOPLogRsp'
  17889. type: array
  17890. "500":
  17891. description: Internal Server Error
  17892. schema:
  17893. $ref: '#/definitions/app.Response'
  17894. security:
  17895. - ApiKeyAuth: []
  17896. summary: 查询变更记录
  17897. tags:
  17898. - 企业风险管理(app)
  17899. /Ermcp/QueryErmcpHisOrderDetails:
  17900. get:
  17901. parameters:
  17902. - description: 资金账户ID
  17903. in: query
  17904. name: accountID
  17905. required: true
  17906. type: integer
  17907. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17908. in: query
  17909. name: startDate
  17910. type: string
  17911. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17912. in: query
  17913. name: endDate
  17914. type: string
  17915. produces:
  17916. - application/json
  17917. responses:
  17918. "200":
  17919. description: OK
  17920. schema:
  17921. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  17922. "500":
  17923. description: Internal Server Error
  17924. schema:
  17925. $ref: '#/definitions/app.Response'
  17926. security:
  17927. - ApiKeyAuth: []
  17928. summary: 获取企业风管期货历史委托单信息
  17929. tags:
  17930. - 企业风险管理(app)
  17931. /Ermcp/QueryErmcpHisTradeDetails:
  17932. get:
  17933. parameters:
  17934. - description: 资金账户ID
  17935. in: query
  17936. name: accountID
  17937. required: true
  17938. type: integer
  17939. - description: 商品ID
  17940. in: query
  17941. name: goodsID
  17942. type: integer
  17943. - description: 买卖方向,0:买 1:卖
  17944. in: query
  17945. name: buyOrSell
  17946. type: integer
  17947. - description: 关联委托单号
  17948. in: query
  17949. name: orderID
  17950. type: integer
  17951. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17952. in: query
  17953. name: startDate
  17954. type: string
  17955. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17956. in: query
  17957. name: endDate
  17958. type: string
  17959. produces:
  17960. - application/json
  17961. responses:
  17962. "200":
  17963. description: OK
  17964. schema:
  17965. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  17966. "500":
  17967. description: Internal Server Error
  17968. schema:
  17969. $ref: '#/definitions/app.Response'
  17970. security:
  17971. - ApiKeyAuth: []
  17972. summary: 获取企业风管期货历史成交单信息
  17973. tags:
  17974. - 企业风险管理(app)
  17975. /Ermcp/QueryErmcpInnerHolderDetails:
  17976. get:
  17977. parameters:
  17978. - description: 资金账户ID
  17979. in: query
  17980. name: accountID
  17981. required: true
  17982. type: integer
  17983. - description: 商品ID
  17984. in: query
  17985. name: goodsID
  17986. type: integer
  17987. - description: 买卖方向,0:买 1:卖
  17988. in: query
  17989. name: buyOrSell
  17990. type: integer
  17991. produces:
  17992. - application/json
  17993. responses:
  17994. "200":
  17995. description: OK
  17996. schema:
  17997. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  17998. "500":
  17999. description: Internal Server Error
  18000. schema:
  18001. $ref: '#/definitions/app.Response'
  18002. security:
  18003. - ApiKeyAuth: []
  18004. summary: 获取企业风管期货内部持仓单信息
  18005. tags:
  18006. - 企业风险管理(app)
  18007. /Ermcp/QueryErmcpOrderDetails:
  18008. get:
  18009. parameters:
  18010. - description: 资金账户ID
  18011. in: query
  18012. name: accountID
  18013. required: true
  18014. type: integer
  18015. produces:
  18016. - application/json
  18017. responses:
  18018. "200":
  18019. description: OK
  18020. schema:
  18021. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18022. "500":
  18023. description: Internal Server Error
  18024. schema:
  18025. $ref: '#/definitions/app.Response'
  18026. security:
  18027. - ApiKeyAuth: []
  18028. summary: 获取企业风管期货委托单信息
  18029. tags:
  18030. - 企业风险管理(app)
  18031. /Ermcp/QueryErmcpTradeDetails:
  18032. get:
  18033. parameters:
  18034. - description: 资金账户ID
  18035. in: query
  18036. name: accountID
  18037. required: true
  18038. type: integer
  18039. - description: 商品ID
  18040. in: query
  18041. name: goodsID
  18042. type: integer
  18043. - description: 买卖方向,0:买 1:卖
  18044. in: query
  18045. name: buyOrSell
  18046. type: integer
  18047. - description: 关联委托单号
  18048. in: query
  18049. name: orderID
  18050. type: integer
  18051. produces:
  18052. - application/json
  18053. responses:
  18054. "200":
  18055. description: OK
  18056. schema:
  18057. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18058. "500":
  18059. description: Internal Server Error
  18060. schema:
  18061. $ref: '#/definitions/app.Response'
  18062. security:
  18063. - ApiKeyAuth: []
  18064. summary: 获取企业风管期货成交单信息
  18065. tags:
  18066. - 企业风险管理(app)
  18067. /Ermcp/QueryErmcpTradePosition:
  18068. get:
  18069. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18070. parameters:
  18071. - description: 资金账户ID
  18072. in: query
  18073. name: accountID
  18074. required: true
  18075. type: integer
  18076. - description: 所属市场ID
  18077. in: query
  18078. name: marketID
  18079. type: integer
  18080. produces:
  18081. - application/json
  18082. responses:
  18083. "200":
  18084. description: OK
  18085. schema:
  18086. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18087. "500":
  18088. description: Internal Server Error
  18089. schema:
  18090. $ref: '#/definitions/app.Response'
  18091. security:
  18092. - ApiKeyAuth: []
  18093. summary: 获取企业风管期货持仓头寸信息
  18094. tags:
  18095. - 企业风险管理(app)
  18096. /Ermcp/QueryExposureDetail:
  18097. get:
  18098. parameters:
  18099. - description: 所属机构ID
  18100. in: query
  18101. name: areaUserId
  18102. required: true
  18103. type: integer
  18104. - description: 套保商品
  18105. in: query
  18106. name: middleGoodsId
  18107. required: true
  18108. type: integer
  18109. produces:
  18110. - application/json
  18111. responses:
  18112. "200":
  18113. description: OK
  18114. schema:
  18115. items:
  18116. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18117. type: array
  18118. "500":
  18119. description: Internal Server Error
  18120. schema:
  18121. $ref: '#/definitions/app.Response'
  18122. security:
  18123. - ApiKeyAuth: []
  18124. summary: 查询敞口现货明细
  18125. tags:
  18126. - 企业风险管理(app)
  18127. /Ermcp/QueryExposureGoods:
  18128. get:
  18129. parameters:
  18130. - description: 套保商品id
  18131. in: query
  18132. name: middlegoodsid
  18133. required: true
  18134. type: integer
  18135. produces:
  18136. - application/json
  18137. responses:
  18138. "200":
  18139. description: OK
  18140. schema:
  18141. items:
  18142. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18143. type: array
  18144. "500":
  18145. description: Internal Server Error
  18146. schema:
  18147. $ref: '#/definitions/app.Response'
  18148. security:
  18149. - ApiKeyAuth: []
  18150. summary: 查询敞口主力合约
  18151. tags:
  18152. - 企业风险管理(app)
  18153. /Ermcp/QueryExposureHedgePosition:
  18154. get:
  18155. parameters:
  18156. - description: 用户id
  18157. in: query
  18158. name: userid
  18159. required: true
  18160. type: integer
  18161. produces:
  18162. - application/json
  18163. responses:
  18164. "200":
  18165. description: OK
  18166. schema:
  18167. items:
  18168. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18169. type: array
  18170. "500":
  18171. description: Internal Server Error
  18172. schema:
  18173. $ref: '#/definitions/app.Response'
  18174. security:
  18175. - ApiKeyAuth: []
  18176. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18177. tags:
  18178. - 企业风险管理(app)
  18179. /Ermcp/QueryExposureHedgePositionDetail:
  18180. get:
  18181. parameters:
  18182. - description: 所属机构ID
  18183. in: query
  18184. name: userid
  18185. required: true
  18186. type: integer
  18187. - description: 商品id
  18188. in: query
  18189. name: goodsId
  18190. required: true
  18191. type: integer
  18192. produces:
  18193. - application/json
  18194. responses:
  18195. "200":
  18196. description: OK
  18197. schema:
  18198. items:
  18199. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18200. type: array
  18201. "500":
  18202. description: Internal Server Error
  18203. schema:
  18204. $ref: '#/definitions/app.Response'
  18205. security:
  18206. - ApiKeyAuth: []
  18207. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18208. tags:
  18209. - 企业风险管理(app)
  18210. /Ermcp/QueryExposureSpot:
  18211. get:
  18212. parameters:
  18213. - description: 所属机构ID
  18214. in: query
  18215. name: areaUserId
  18216. required: true
  18217. type: integer
  18218. produces:
  18219. - application/json
  18220. responses:
  18221. "200":
  18222. description: OK
  18223. schema:
  18224. items:
  18225. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18226. type: array
  18227. "500":
  18228. description: Internal Server Error
  18229. schema:
  18230. $ref: '#/definitions/app.Response'
  18231. security:
  18232. - ApiKeyAuth: []
  18233. summary: 查询敞口现货头寸(敞口/现货头寸)
  18234. tags:
  18235. - 企业风险管理(app)
  18236. /Ermcp/QueryExposureSpotDetail:
  18237. get:
  18238. parameters:
  18239. - description: 所属机构ID
  18240. in: query
  18241. name: areaUserId
  18242. required: true
  18243. type: integer
  18244. - description: 现货品种ID
  18245. in: query
  18246. name: wrstandardId
  18247. required: true
  18248. type: integer
  18249. produces:
  18250. - application/json
  18251. responses:
  18252. "200":
  18253. description: OK
  18254. schema:
  18255. items:
  18256. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  18257. type: array
  18258. "500":
  18259. description: Internal Server Error
  18260. schema:
  18261. $ref: '#/definitions/app.Response'
  18262. security:
  18263. - ApiKeyAuth: []
  18264. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18265. tags:
  18266. - 企业风险管理(app)
  18267. /Ermcp/QueryFuturesCompany:
  18268. get:
  18269. produces:
  18270. - application/json
  18271. responses:
  18272. "200":
  18273. description: OK
  18274. schema:
  18275. items:
  18276. $ref: '#/definitions/models.ErmcpFuturesCompany'
  18277. type: array
  18278. "500":
  18279. description: Internal Server Error
  18280. schema:
  18281. $ref: '#/definitions/app.Response'
  18282. security:
  18283. - ApiKeyAuth: []
  18284. summary: 查询期货公司
  18285. tags:
  18286. - 企业风险管理(app)
  18287. /Ermcp/QueryGGConvertConfig:
  18288. get:
  18289. parameters:
  18290. - description: 品种id(不填则查所有)
  18291. in: query
  18292. name: goodsgroupid
  18293. type: integer
  18294. produces:
  18295. - application/json
  18296. responses:
  18297. "200":
  18298. description: OK
  18299. schema:
  18300. items:
  18301. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  18302. type: array
  18303. "500":
  18304. description: Internal Server Error
  18305. schema:
  18306. $ref: '#/definitions/app.Response'
  18307. security:
  18308. - ApiKeyAuth: []
  18309. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  18310. tags:
  18311. - 企业风险管理(app)
  18312. /Ermcp/QueryGoodsBrand:
  18313. get:
  18314. parameters:
  18315. - description: 用户ID
  18316. in: query
  18317. name: userid
  18318. required: true
  18319. type: integer
  18320. - description: 现货商品ID
  18321. in: query
  18322. name: wrstandardid
  18323. type: integer
  18324. produces:
  18325. - application/json
  18326. responses:
  18327. "200":
  18328. description: OK
  18329. schema:
  18330. items:
  18331. $ref: '#/definitions/models.ErmcpGoodsBrand'
  18332. type: array
  18333. "500":
  18334. description: Internal Server Error
  18335. schema:
  18336. $ref: '#/definitions/app.Response'
  18337. security:
  18338. - ApiKeyAuth: []
  18339. summary: 查询商品品牌
  18340. tags:
  18341. - 企业风险管理(app)
  18342. /Ermcp/QueryGoodsModel:
  18343. get:
  18344. parameters:
  18345. - description: 用户ID
  18346. in: query
  18347. name: userid
  18348. required: true
  18349. type: integer
  18350. produces:
  18351. - application/json
  18352. responses:
  18353. "200":
  18354. description: OK
  18355. schema:
  18356. items:
  18357. $ref: '#/definitions/models.ErmcpGoodsModel'
  18358. type: array
  18359. "500":
  18360. description: Internal Server Error
  18361. schema:
  18362. $ref: '#/definitions/app.Response'
  18363. security:
  18364. - ApiKeyAuth: []
  18365. summary: 查询商品型号
  18366. tags:
  18367. - 企业风险管理(app)
  18368. /Ermcp/QueryHisExposure:
  18369. get:
  18370. parameters:
  18371. - description: 用户id
  18372. in: query
  18373. name: userid
  18374. required: true
  18375. type: integer
  18376. - description: 每个品种记录数
  18377. in: query
  18378. name: lastNum
  18379. required: true
  18380. type: integer
  18381. produces:
  18382. - application/json
  18383. responses:
  18384. "200":
  18385. description: OK
  18386. schema:
  18387. items:
  18388. $ref: '#/definitions/ermcp.HisExposureRsp'
  18389. type: array
  18390. "500":
  18391. description: Internal Server Error
  18392. schema:
  18393. $ref: '#/definitions/app.Response'
  18394. security:
  18395. - ApiKeyAuth: []
  18396. summary: 查询历史敞口(菜单:敞口/历史敞口)
  18397. tags:
  18398. - 企业风险管理(app)
  18399. /Ermcp/QueryMiddleGoods:
  18400. get:
  18401. parameters:
  18402. - description: 所属机构ID
  18403. in: query
  18404. name: userid
  18405. required: true
  18406. type: integer
  18407. - description: 状态 0-停用 1-正常
  18408. in: query
  18409. name: status
  18410. required: true
  18411. type: integer
  18412. produces:
  18413. - application/json
  18414. responses:
  18415. "200":
  18416. description: OK
  18417. schema:
  18418. items:
  18419. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  18420. type: array
  18421. "500":
  18422. description: Internal Server Error
  18423. schema:
  18424. $ref: '#/definitions/app.Response'
  18425. security:
  18426. - ApiKeyAuth: []
  18427. summary: 查询套保品种(菜单:套保品种)
  18428. tags:
  18429. - 企业风险管理(app)
  18430. /Ermcp/QueryMiddleGoodsChangeLog:
  18431. get:
  18432. parameters:
  18433. - description: 所属机构ID
  18434. in: query
  18435. name: userid
  18436. required: true
  18437. type: integer
  18438. - description: 套保品种id
  18439. in: query
  18440. name: middlegoodsid
  18441. required: true
  18442. type: integer
  18443. produces:
  18444. - application/json
  18445. responses:
  18446. "200":
  18447. description: OK
  18448. schema:
  18449. items:
  18450. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  18451. type: array
  18452. "500":
  18453. description: Internal Server Error
  18454. schema:
  18455. $ref: '#/definitions/app.Response'
  18456. security:
  18457. - ApiKeyAuth: []
  18458. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  18459. tags:
  18460. - 企业风险管理(app)
  18461. /Ermcp/QueryMiddleGoodsDetail:
  18462. get:
  18463. parameters:
  18464. - description: 所属机构ID
  18465. in: query
  18466. name: userid
  18467. required: true
  18468. type: integer
  18469. - description: 套保品种id
  18470. in: query
  18471. name: middlegoodsid
  18472. type: integer
  18473. produces:
  18474. - application/json
  18475. responses:
  18476. "200":
  18477. description: OK
  18478. schema:
  18479. items:
  18480. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  18481. type: array
  18482. "500":
  18483. description: Internal Server Error
  18484. schema:
  18485. $ref: '#/definitions/app.Response'
  18486. security:
  18487. - ApiKeyAuth: []
  18488. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  18489. tags:
  18490. - 企业风险管理(app)
  18491. /Ermcp/QueryPendingAuditInfo:
  18492. get:
  18493. parameters:
  18494. - description: 用户ID
  18495. in: query
  18496. name: UserId
  18497. required: true
  18498. type: integer
  18499. produces:
  18500. - application/json
  18501. responses:
  18502. "200":
  18503. description: OK
  18504. schema:
  18505. items:
  18506. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  18507. type: array
  18508. "500":
  18509. description: Internal Server Error
  18510. schema:
  18511. $ref: '#/definitions/app.Response'
  18512. security:
  18513. - ApiKeyAuth: []
  18514. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  18515. tags:
  18516. - 企业风险管理(app)
  18517. /Ermcp/QueryRealtimeExposure:
  18518. get:
  18519. parameters:
  18520. - description: 所属机构ID
  18521. in: query
  18522. name: userid
  18523. required: true
  18524. type: integer
  18525. produces:
  18526. - application/json
  18527. responses:
  18528. "200":
  18529. description: OK
  18530. schema:
  18531. items:
  18532. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  18533. type: array
  18534. "500":
  18535. description: Internal Server Error
  18536. schema:
  18537. $ref: '#/definitions/app.Response'
  18538. security:
  18539. - ApiKeyAuth: []
  18540. summary: 查询实时敞口
  18541. tags:
  18542. - 企业风险管理(app)
  18543. /Ermcp/QueryRealtimeExposurePosition:
  18544. get:
  18545. parameters:
  18546. - description: 用户id
  18547. in: query
  18548. name: userid
  18549. required: true
  18550. type: integer
  18551. - description: 套保商品ID
  18552. in: query
  18553. name: middleGoodsId
  18554. required: true
  18555. type: integer
  18556. produces:
  18557. - application/json
  18558. responses:
  18559. "200":
  18560. description: OK
  18561. schema:
  18562. items:
  18563. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  18564. type: array
  18565. "500":
  18566. description: Internal Server Error
  18567. schema:
  18568. $ref: '#/definitions/app.Response'
  18569. security:
  18570. - ApiKeyAuth: []
  18571. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  18572. tags:
  18573. - 企业风险管理(app)
  18574. /Ermcp/QueryRoleMenu:
  18575. get:
  18576. parameters:
  18577. - description: 登录ID
  18578. in: query
  18579. name: loginid
  18580. required: true
  18581. type: integer
  18582. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  18583. in: query
  18584. name: menutype
  18585. type: integer
  18586. produces:
  18587. - application/json
  18588. responses:
  18589. "200":
  18590. description: OK
  18591. schema:
  18592. items:
  18593. $ref: '#/definitions/models.RoleMenu'
  18594. type: array
  18595. "500":
  18596. description: Internal Server Error
  18597. schema:
  18598. $ref: '#/definitions/app.Response'
  18599. security:
  18600. - ApiKeyAuth: []
  18601. summary: 查询角色菜单和权限
  18602. tags:
  18603. - 企业风险管理(app)
  18604. /Ermcp/QueryTradeConfigTMP:
  18605. get:
  18606. parameters:
  18607. - description: 所属机构id
  18608. in: query
  18609. name: areauserid
  18610. type: integer
  18611. produces:
  18612. - application/json
  18613. responses:
  18614. "200":
  18615. description: OK
  18616. schema:
  18617. items:
  18618. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  18619. type: array
  18620. "500":
  18621. description: Internal Server Error
  18622. schema:
  18623. $ref: '#/definitions/app.Response'
  18624. security:
  18625. - ApiKeyAuth: []
  18626. summary: 查询交易模板配置
  18627. tags:
  18628. - 企业风险管理(app)
  18629. /Ermcp/QueryUserInfo:
  18630. get:
  18631. parameters:
  18632. - description: 所属机构用户ID
  18633. in: query
  18634. name: MemberUserID
  18635. required: true
  18636. type: integer
  18637. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  18638. in: query
  18639. name: queryType
  18640. required: true
  18641. type: integer
  18642. produces:
  18643. - application/json
  18644. responses:
  18645. "200":
  18646. description: OK
  18647. schema:
  18648. items:
  18649. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  18650. type: array
  18651. "500":
  18652. description: Internal Server Error
  18653. schema:
  18654. $ref: '#/definitions/app.Response'
  18655. security:
  18656. - ApiKeyAuth: []
  18657. summary: 查询客户资料
  18658. tags:
  18659. - 企业风险管理(app)
  18660. /Ermcp/QueryWarehouseInfo:
  18661. get:
  18662. parameters:
  18663. - description: 用户ID
  18664. in: query
  18665. name: userid
  18666. required: true
  18667. type: integer
  18668. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  18669. in: query
  18670. name: status
  18671. type: string
  18672. produces:
  18673. - application/json
  18674. responses:
  18675. "200":
  18676. description: OK
  18677. schema:
  18678. items:
  18679. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  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. /Ermcp3/QryAreaExpourseContractDetail:
  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. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18704. in: query
  18705. name: cycletype
  18706. required: true
  18707. type: integer
  18708. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18709. 全(0)【原值】
  18710. in: query
  18711. name: cycletime
  18712. required: true
  18713. type: string
  18714. produces:
  18715. - application/json
  18716. responses:
  18717. "200":
  18718. description: OK
  18719. schema:
  18720. items:
  18721. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  18722. type: array
  18723. "500":
  18724. description: Internal Server Error
  18725. schema:
  18726. $ref: '#/definitions/app.Response'
  18727. security:
  18728. - ApiKeyAuth: []
  18729. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  18730. tags:
  18731. - 企业风险管理v3(app)
  18732. /Ermcp3/QryAreaExpourseFutuDetail:
  18733. get:
  18734. parameters:
  18735. - description: 用户ID
  18736. in: query
  18737. name: userid
  18738. required: true
  18739. type: integer
  18740. - description: 套保商品id
  18741. in: query
  18742. name: middlegoodsid
  18743. required: true
  18744. type: integer
  18745. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18746. in: query
  18747. name: cycletype
  18748. required: true
  18749. type: integer
  18750. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18751. 全(0)【原值】
  18752. in: query
  18753. name: cycletime
  18754. required: true
  18755. type: string
  18756. produces:
  18757. - application/json
  18758. responses:
  18759. "200":
  18760. description: OK
  18761. schema:
  18762. items:
  18763. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  18764. type: array
  18765. "500":
  18766. description: Internal Server Error
  18767. schema:
  18768. $ref: '#/definitions/app.Response'
  18769. security:
  18770. - ApiKeyAuth: []
  18771. summary: 查询敞口期货明细(敞口报表/期货明细)
  18772. tags:
  18773. - 企业风险管理v3(app)
  18774. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  18775. get:
  18776. parameters:
  18777. - description: 用户ID
  18778. in: query
  18779. name: userid
  18780. required: true
  18781. type: integer
  18782. - description: 套保商品id
  18783. in: query
  18784. name: middlegoodsid
  18785. required: true
  18786. type: integer
  18787. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18788. in: query
  18789. name: cycletype
  18790. required: true
  18791. type: integer
  18792. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18793. 全(0)【原值】
  18794. in: query
  18795. name: cycletime
  18796. required: true
  18797. type: string
  18798. produces:
  18799. - application/json
  18800. responses:
  18801. "200":
  18802. description: OK
  18803. schema:
  18804. items:
  18805. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  18806. type: array
  18807. "500":
  18808. description: Internal Server Error
  18809. schema:
  18810. $ref: '#/definitions/app.Response'
  18811. security:
  18812. - ApiKeyAuth: []
  18813. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  18814. tags:
  18815. - 企业风险管理v3(app)
  18816. /Ermcp3/QryAreaExpourseParamChLogDetail:
  18817. get:
  18818. parameters:
  18819. - description: 用户ID
  18820. in: query
  18821. name: userid
  18822. required: true
  18823. type: integer
  18824. - description: 套保商品id
  18825. in: query
  18826. name: middlegoodsid
  18827. required: true
  18828. type: integer
  18829. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18830. in: query
  18831. name: cycletype
  18832. required: true
  18833. type: integer
  18834. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18835. 全(0)【原值】
  18836. in: query
  18837. name: cycletime
  18838. required: true
  18839. type: string
  18840. produces:
  18841. - application/json
  18842. responses:
  18843. "200":
  18844. description: OK
  18845. schema:
  18846. items:
  18847. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  18848. type: array
  18849. "500":
  18850. description: Internal Server Error
  18851. schema:
  18852. $ref: '#/definitions/app.Response'
  18853. security:
  18854. - ApiKeyAuth: []
  18855. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  18856. tags:
  18857. - 企业风险管理v3(app)
  18858. /Ermcp3/QryAreaExpourseReport:
  18859. get:
  18860. parameters:
  18861. - description: 用户ID
  18862. in: query
  18863. name: userid
  18864. required: true
  18865. type: integer
  18866. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  18867. in: query
  18868. name: querytype
  18869. required: true
  18870. type: integer
  18871. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18872. in: query
  18873. name: cycletype
  18874. required: true
  18875. type: integer
  18876. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18877. 全(0)【原值】
  18878. in: query
  18879. name: cycletime
  18880. required: true
  18881. type: string
  18882. produces:
  18883. - application/json
  18884. responses:
  18885. "200":
  18886. description: OK
  18887. schema:
  18888. items:
  18889. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  18890. type: array
  18891. "500":
  18892. description: Internal Server Error
  18893. schema:
  18894. $ref: '#/definitions/app.Response'
  18895. security:
  18896. - ApiKeyAuth: []
  18897. summary: 查询敞口报表
  18898. tags:
  18899. - 企业风险管理v3(app)
  18900. /Ermcp3/QryAreaSpotplReport:
  18901. get:
  18902. parameters:
  18903. - description: 用户ID
  18904. in: query
  18905. name: userid
  18906. required: true
  18907. type: integer
  18908. - description: 查询类型 1-报表 2-报表明细
  18909. in: query
  18910. name: querytype
  18911. required: true
  18912. type: integer
  18913. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18914. in: query
  18915. name: cycletype
  18916. required: true
  18917. type: integer
  18918. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18919. 全(0)【原值】
  18920. in: query
  18921. name: cycletime
  18922. required: true
  18923. type: string
  18924. - description: 现货品种id(明细必填)
  18925. in: query
  18926. name: deliverygoodsid
  18927. type: integer
  18928. - description: 币种id(明细必填)
  18929. in: query
  18930. name: currencyid
  18931. type: integer
  18932. produces:
  18933. - application/json
  18934. responses:
  18935. "200":
  18936. description: OK
  18937. schema:
  18938. items:
  18939. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  18940. type: array
  18941. "500":
  18942. description: Internal Server Error
  18943. schema:
  18944. $ref: '#/definitions/app.Response'
  18945. security:
  18946. - ApiKeyAuth: []
  18947. summary: 查询现货报表
  18948. tags:
  18949. - 企业风险管理v3(app)
  18950. /Ermcp3/QryAreaStockReport:
  18951. get:
  18952. parameters:
  18953. - description: 用户ID
  18954. in: query
  18955. name: userid
  18956. required: true
  18957. type: integer
  18958. - description: 查询类型 1-报表 2-报表明细
  18959. in: query
  18960. name: querytype
  18961. required: true
  18962. type: integer
  18963. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18964. in: query
  18965. name: cycletype
  18966. required: true
  18967. type: integer
  18968. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18969. 全(0)【原值】
  18970. in: query
  18971. name: cycletime
  18972. required: true
  18973. type: string
  18974. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  18975. in: query
  18976. name: sumfields
  18977. type: string
  18978. - description: 品种ID
  18979. in: query
  18980. name: deliverygoodsid
  18981. type: integer
  18982. - description: 品类ID
  18983. in: query
  18984. name: wrstandardid
  18985. type: integer
  18986. - description: 品牌ID
  18987. in: query
  18988. name: spotgoodsbrandid
  18989. type: integer
  18990. - description: 仓库ID
  18991. in: query
  18992. name: warehouseinfoid
  18993. type: integer
  18994. produces:
  18995. - application/json
  18996. responses:
  18997. "200":
  18998. description: OK
  18999. schema:
  19000. items:
  19001. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19002. type: array
  19003. "500":
  19004. description: Internal Server Error
  19005. schema:
  19006. $ref: '#/definitions/app.Response'
  19007. security:
  19008. - ApiKeyAuth: []
  19009. summary: 查询库存报表
  19010. tags:
  19011. - 企业风险管理v3(app)
  19012. /Ermcp3/QryAreaSumPL:
  19013. get:
  19014. parameters:
  19015. - description: 用户ID
  19016. in: query
  19017. name: userid
  19018. required: true
  19019. type: integer
  19020. - description: 查询类型 1-报表 2-报表明细
  19021. in: query
  19022. name: querytype
  19023. required: true
  19024. type: integer
  19025. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19026. in: query
  19027. name: cycletype
  19028. required: true
  19029. type: integer
  19030. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19031. 全(0)【原值】
  19032. in: query
  19033. name: cycletime
  19034. required: true
  19035. type: string
  19036. - description: 币种id(明细必填)
  19037. in: query
  19038. name: currencyid
  19039. type: integer
  19040. produces:
  19041. - application/json
  19042. responses:
  19043. "200":
  19044. description: OK
  19045. schema:
  19046. items:
  19047. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19048. type: array
  19049. "500":
  19050. description: Internal Server Error
  19051. schema:
  19052. $ref: '#/definitions/app.Response'
  19053. security:
  19054. - ApiKeyAuth: []
  19055. summary: 查询汇总损益表
  19056. tags:
  19057. - 企业风险管理v3(app)
  19058. /Ermcp3/QryFinanceReport:
  19059. get:
  19060. parameters:
  19061. - description: 用户ID
  19062. in: query
  19063. name: userid
  19064. required: true
  19065. type: integer
  19066. - description: 查询类型 1-报表 2-报表明细
  19067. in: query
  19068. name: querytype
  19069. required: true
  19070. type: integer
  19071. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19072. in: query
  19073. name: cycletype
  19074. required: true
  19075. type: integer
  19076. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19077. 全(0)【原值】
  19078. in: query
  19079. name: cycletime
  19080. required: true
  19081. type: string
  19082. - description: 币种id(报表明细必填)
  19083. in: query
  19084. name: currencyid
  19085. type: integer
  19086. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19087. in: query
  19088. name: sumfields
  19089. type: string
  19090. produces:
  19091. - application/json
  19092. responses:
  19093. "200":
  19094. description: OK
  19095. schema:
  19096. items:
  19097. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19098. type: array
  19099. "500":
  19100. description: Internal Server Error
  19101. schema:
  19102. $ref: '#/definitions/app.Response'
  19103. security:
  19104. - ApiKeyAuth: []
  19105. summary: 查询财务报表
  19106. tags:
  19107. - 企业风险管理v3(app)
  19108. /Ermcp3/QryTaFutureDataReport:
  19109. get:
  19110. parameters:
  19111. - description: 用户ID
  19112. in: query
  19113. name: userid
  19114. required: true
  19115. type: integer
  19116. - description: 查询类型 1-报表 2-报表明细
  19117. in: query
  19118. name: querytype
  19119. required: true
  19120. type: integer
  19121. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19122. in: query
  19123. name: cycletype
  19124. required: true
  19125. type: integer
  19126. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19127. 全(0)【原值】
  19128. in: query
  19129. name: cycletime
  19130. required: true
  19131. type: string
  19132. - description: 币种id(查明细必填)
  19133. in: query
  19134. name: currencyid
  19135. type: integer
  19136. - description: 品种id(查明细必填)
  19137. in: query
  19138. name: goodsgroupid
  19139. type: integer
  19140. - description: 商品id(查明细必填)
  19141. in: query
  19142. name: goodsid
  19143. type: integer
  19144. - description: 买卖方向(查明细必填)
  19145. in: query
  19146. name: buyorsell
  19147. type: integer
  19148. produces:
  19149. - application/json
  19150. responses:
  19151. "200":
  19152. description: OK
  19153. schema:
  19154. items:
  19155. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  19156. type: array
  19157. "500":
  19158. description: Internal Server Error
  19159. schema:
  19160. $ref: '#/definitions/app.Response'
  19161. security:
  19162. - ApiKeyAuth: []
  19163. summary: 查询期货报表
  19164. tags:
  19165. - 企业风险管理v3(app)
  19166. /Ermcp3/QueryAreaStock:
  19167. get:
  19168. parameters:
  19169. - description: 用户ID
  19170. in: query
  19171. name: userid
  19172. required: true
  19173. type: integer
  19174. produces:
  19175. - application/json
  19176. responses:
  19177. "200":
  19178. description: OK
  19179. schema:
  19180. items:
  19181. $ref: '#/definitions/models.Ermcp3AreaStock'
  19182. type: array
  19183. "500":
  19184. description: Internal Server Error
  19185. schema:
  19186. $ref: '#/definitions/app.Response'
  19187. security:
  19188. - ApiKeyAuth: []
  19189. summary: 查询机构库存(库存管理/当前库存)
  19190. tags:
  19191. - 企业风险管理v3(app)
  19192. /Ermcp3/QueryAreaStockApply:
  19193. get:
  19194. parameters:
  19195. - description: 用户ID
  19196. in: query
  19197. name: userid
  19198. required: true
  19199. type: integer
  19200. - description: 用户类型 2-机构 7-企业成员
  19201. in: query
  19202. name: usertype
  19203. type: integer
  19204. - description: 现货商品ID
  19205. in: query
  19206. name: deliverygoodsid
  19207. type: integer
  19208. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19209. in: query
  19210. name: inouttype
  19211. type: string
  19212. - description: 合同ID
  19213. in: query
  19214. name: spotcontractid
  19215. type: integer
  19216. - description: 品类ID
  19217. in: query
  19218. name: wrstandardid
  19219. type: integer
  19220. - description: 品牌ID
  19221. in: query
  19222. name: spotgoodsbrandid
  19223. type: integer
  19224. - description: 仓库ID
  19225. in: query
  19226. name: warehouseinfoid
  19227. type: integer
  19228. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19229. in: query
  19230. name: applystatus
  19231. type: string
  19232. produces:
  19233. - application/json
  19234. responses:
  19235. "200":
  19236. description: OK
  19237. schema:
  19238. items:
  19239. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  19240. type: array
  19241. "500":
  19242. description: Internal Server Error
  19243. schema:
  19244. $ref: '#/definitions/app.Response'
  19245. security:
  19246. - ApiKeyAuth: []
  19247. summary: 查询库存申请(出入库记录|库存审核)
  19248. tags:
  19249. - 企业风险管理v3(app)
  19250. /Ermcp3/QueryAreaStockApplySum:
  19251. get:
  19252. parameters:
  19253. - description: 合同ID
  19254. in: query
  19255. name: spotcontractid
  19256. required: true
  19257. type: integer
  19258. produces:
  19259. - application/json
  19260. responses:
  19261. "200":
  19262. description: OK
  19263. schema:
  19264. items:
  19265. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  19266. type: array
  19267. "500":
  19268. description: Internal Server Error
  19269. schema:
  19270. $ref: '#/definitions/app.Response'
  19271. security:
  19272. - ApiKeyAuth: []
  19273. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  19274. tags:
  19275. - 企业风险管理v3(app)
  19276. /Ermcp3/QueryDGFactoryItem:
  19277. get:
  19278. parameters:
  19279. - description: 用户id
  19280. in: query
  19281. name: userid
  19282. type: integer
  19283. - description: 用户类型 2-机构 7-企业成员
  19284. in: query
  19285. name: usertype
  19286. type: integer
  19287. - description: 选择项ID(SEQ_DGFACTORYITEM)
  19288. in: query
  19289. name: dgfactoryitemid
  19290. type: integer
  19291. - description: 现货品种ID
  19292. in: query
  19293. name: deliverygoodsid
  19294. type: integer
  19295. - description: 要素项类型
  19296. in: query
  19297. name: dgfactoryitemtypeid
  19298. type: integer
  19299. - description: 顺序
  19300. in: query
  19301. name: orderindex
  19302. type: integer
  19303. produces:
  19304. - application/json
  19305. responses:
  19306. "200":
  19307. description: OK
  19308. schema:
  19309. items:
  19310. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  19311. type: array
  19312. "500":
  19313. description: Internal Server Error
  19314. schema:
  19315. $ref: '#/definitions/app.Response'
  19316. security:
  19317. - ApiKeyAuth: []
  19318. summary: 查询品种要素定义项
  19319. tags:
  19320. - 企业风险管理v3(app)
  19321. /Ermcp3/QueryDeliveryGoods:
  19322. get:
  19323. parameters:
  19324. - description: 用户id
  19325. in: query
  19326. name: userid
  19327. required: true
  19328. type: integer
  19329. - description: 用户类型 2-机构 7-企业成员
  19330. in: query
  19331. name: usertype
  19332. type: integer
  19333. - description: 排除已配置的业务类型商品 1-套保 2-套利
  19334. in: query
  19335. name: excludecfg
  19336. type: integer
  19337. produces:
  19338. - application/json
  19339. responses:
  19340. "200":
  19341. description: OK
  19342. schema:
  19343. items:
  19344. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  19345. type: array
  19346. "500":
  19347. description: Internal Server Error
  19348. schema:
  19349. $ref: '#/definitions/app.Response'
  19350. security:
  19351. - ApiKeyAuth: []
  19352. summary: 查询现货商品
  19353. tags:
  19354. - 企业风险管理v3(app)
  19355. /Ermcp3/QueryDeliveryGoodsDetail:
  19356. get:
  19357. parameters:
  19358. - description: 用户id
  19359. in: query
  19360. name: userid
  19361. required: true
  19362. type: integer
  19363. - description: 用户类型 2-机构 7-企业成员
  19364. in: query
  19365. name: usertype
  19366. type: integer
  19367. - description: 现货商品id
  19368. in: query
  19369. name: deliverygoodsid
  19370. type: integer
  19371. produces:
  19372. - application/json
  19373. responses:
  19374. "200":
  19375. description: OK
  19376. schema:
  19377. items:
  19378. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  19379. type: array
  19380. "500":
  19381. description: Internal Server Error
  19382. schema:
  19383. $ref: '#/definitions/app.Response'
  19384. security:
  19385. - ApiKeyAuth: []
  19386. summary: 查询现货商品详情
  19387. tags:
  19388. - 企业风险管理v3(app)
  19389. /Ermcp3/QueryExposureDetail:
  19390. get:
  19391. parameters:
  19392. - description: 用户id
  19393. in: query
  19394. name: userid
  19395. required: true
  19396. type: integer
  19397. - description: 用户类型 2-机构 7-企业成员
  19398. in: query
  19399. name: usertype
  19400. type: integer
  19401. - description: 套保商品
  19402. in: query
  19403. name: middlegoodsid
  19404. required: true
  19405. type: integer
  19406. produces:
  19407. - application/json
  19408. responses:
  19409. "200":
  19410. description: OK
  19411. schema:
  19412. items:
  19413. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  19414. type: array
  19415. "500":
  19416. description: Internal Server Error
  19417. schema:
  19418. $ref: '#/definitions/app.Response'
  19419. security:
  19420. - ApiKeyAuth: []
  19421. summary: 查询敞口现货明细
  19422. tags:
  19423. - 企业风险管理v3(app)
  19424. /Ermcp3/QueryExposureSpot:
  19425. get:
  19426. parameters:
  19427. - description: 用户id
  19428. in: query
  19429. name: userid
  19430. required: true
  19431. type: integer
  19432. - description: 用户类型 2-机构 7-企业成员
  19433. in: query
  19434. name: usertype
  19435. type: integer
  19436. produces:
  19437. - application/json
  19438. responses:
  19439. "200":
  19440. description: OK
  19441. schema:
  19442. items:
  19443. $ref: '#/definitions/models.Ermcp3AreaSpot'
  19444. type: array
  19445. "500":
  19446. description: Internal Server Error
  19447. schema:
  19448. $ref: '#/definitions/app.Response'
  19449. security:
  19450. - ApiKeyAuth: []
  19451. summary: 查询敞口现货头寸(敞口/现货头寸)
  19452. tags:
  19453. - 企业风险管理v3(app)
  19454. /Ermcp3/QueryExposureSpotDetail:
  19455. get:
  19456. parameters:
  19457. - description: 用户id
  19458. in: query
  19459. name: userid
  19460. required: true
  19461. type: integer
  19462. - description: 用户类型 2-机构 7-企业成员
  19463. in: query
  19464. name: usertype
  19465. type: integer
  19466. - description: 现货品种ID
  19467. in: query
  19468. name: deliverygoodsid
  19469. required: true
  19470. type: integer
  19471. produces:
  19472. - application/json
  19473. responses:
  19474. "200":
  19475. description: OK
  19476. schema:
  19477. items:
  19478. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  19479. type: array
  19480. "500":
  19481. description: Internal Server Error
  19482. schema:
  19483. $ref: '#/definitions/app.Response'
  19484. security:
  19485. - ApiKeyAuth: []
  19486. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19487. tags:
  19488. - 企业风险管理v3(app)
  19489. /Ermcp3/QueryGoodsGroup:
  19490. get:
  19491. parameters:
  19492. - description: 用户id
  19493. in: query
  19494. name: userid
  19495. required: true
  19496. type: integer
  19497. - description: 用户类型 2-机构 7-企业成员
  19498. in: query
  19499. name: usertype
  19500. type: integer
  19501. - description: 排除套保品中已关联的商品组 1-排除
  19502. in: query
  19503. name: excludecfg
  19504. type: integer
  19505. produces:
  19506. - application/json
  19507. responses:
  19508. "200":
  19509. description: OK
  19510. schema:
  19511. items:
  19512. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  19513. type: array
  19514. "500":
  19515. description: Internal Server Error
  19516. schema:
  19517. $ref: '#/definitions/app.Response'
  19518. security:
  19519. - ApiKeyAuth: []
  19520. summary: 查询期货商品组
  19521. tags:
  19522. - 企业风险管理v3(app)
  19523. /Ermcp3/QueryGoodsWrstandard:
  19524. get:
  19525. parameters:
  19526. - description: 用户id
  19527. in: query
  19528. name: userid
  19529. required: true
  19530. type: integer
  19531. - description: 用户类型 2-机构 7-企业成员
  19532. in: query
  19533. name: usertype
  19534. type: integer
  19535. - description: 现货商品id
  19536. in: query
  19537. name: deliverygoodsid
  19538. type: integer
  19539. produces:
  19540. - application/json
  19541. responses:
  19542. "200":
  19543. description: OK
  19544. schema:
  19545. items:
  19546. $ref: '#/definitions/models.Ermcp3Wrstandard'
  19547. type: array
  19548. "500":
  19549. description: Internal Server Error
  19550. schema:
  19551. $ref: '#/definitions/app.Response'
  19552. security:
  19553. - ApiKeyAuth: []
  19554. summary: 查询商品品类
  19555. tags:
  19556. - 企业风险管理v3(app)
  19557. /Ermcp3/QueryGoodsbrand:
  19558. get:
  19559. parameters:
  19560. - description: 用户id
  19561. in: query
  19562. name: userid
  19563. required: true
  19564. type: integer
  19565. - description: 用户类型 2-机构 7-企业成员
  19566. in: query
  19567. name: usertype
  19568. type: integer
  19569. produces:
  19570. - application/json
  19571. responses:
  19572. "200":
  19573. description: OK
  19574. schema:
  19575. items:
  19576. $ref: '#/definitions/models.Ermcp3Brand'
  19577. type: array
  19578. "500":
  19579. description: Internal Server Error
  19580. schema:
  19581. $ref: '#/definitions/app.Response'
  19582. security:
  19583. - ApiKeyAuth: []
  19584. summary: 查询商品品牌
  19585. tags:
  19586. - 企业风险管理v3(app)
  19587. /Ermcp3/QueryHedgePlan:
  19588. get:
  19589. parameters:
  19590. - description: 用户ID
  19591. in: query
  19592. name: userid
  19593. required: true
  19594. type: integer
  19595. - description: 用户类型 2-机构 7-企业成员
  19596. in: query
  19597. name: usertype
  19598. type: integer
  19599. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  19600. in: query
  19601. name: hedgeplanstatus
  19602. required: true
  19603. type: string
  19604. produces:
  19605. - application/json
  19606. responses:
  19607. "200":
  19608. description: OK
  19609. schema:
  19610. items:
  19611. $ref: '#/definitions/models.Ermcp3HedgePlan'
  19612. type: array
  19613. "500":
  19614. description: Internal Server Error
  19615. schema:
  19616. $ref: '#/definitions/app.Response'
  19617. security:
  19618. - ApiKeyAuth: []
  19619. summary: 查询套保计划
  19620. tags:
  19621. - 企业风险管理v3(app)
  19622. /Ermcp3/QueryMiddleGoodsDetail:
  19623. get:
  19624. parameters:
  19625. - description: 用户id
  19626. in: query
  19627. name: userid
  19628. required: true
  19629. type: integer
  19630. - description: 用户类型 2-机构 7-企业成员
  19631. in: query
  19632. name: usertype
  19633. type: integer
  19634. - description: 套保品种id
  19635. in: query
  19636. name: middlegoodsid
  19637. type: integer
  19638. produces:
  19639. - application/json
  19640. responses:
  19641. "200":
  19642. description: OK
  19643. schema:
  19644. items:
  19645. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  19646. type: array
  19647. "500":
  19648. description: Internal Server Error
  19649. schema:
  19650. $ref: '#/definitions/app.Response'
  19651. security:
  19652. - ApiKeyAuth: []
  19653. summary: 查询套保品种详情(套保品种/商品详情)
  19654. tags:
  19655. - 企业风险管理v3(app)
  19656. /Ermcp3/QueryRootUserAccount:
  19657. get:
  19658. parameters:
  19659. - description: 用户ID
  19660. in: query
  19661. name: userid
  19662. required: true
  19663. type: integer
  19664. produces:
  19665. - application/json
  19666. responses:
  19667. "200":
  19668. description: OK
  19669. schema:
  19670. items:
  19671. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  19672. type: array
  19673. "500":
  19674. description: Internal Server Error
  19675. schema:
  19676. $ref: '#/definitions/app.Response'
  19677. security:
  19678. - ApiKeyAuth: []
  19679. summary: 查询顶级用户信息
  19680. tags:
  19681. - 企业风险管理v3(app)
  19682. /Ermcp3/QuerySpotContract:
  19683. get:
  19684. parameters:
  19685. - description: 用户id
  19686. in: query
  19687. name: userid
  19688. required: true
  19689. type: integer
  19690. - description: 用户类型 2-机构 7-企业成员
  19691. in: query
  19692. name: usertype
  19693. type: integer
  19694. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  19695. in: query
  19696. name: querytype
  19697. required: true
  19698. type: integer
  19699. - description: 合同ID(SpotContractId)
  19700. in: query
  19701. name: contractid
  19702. type: string
  19703. produces:
  19704. - application/json
  19705. responses:
  19706. "200":
  19707. description: OK
  19708. schema:
  19709. items:
  19710. $ref: '#/definitions/models.Ermcp3Contract'
  19711. type: array
  19712. "500":
  19713. description: Internal Server Error
  19714. schema:
  19715. $ref: '#/definitions/app.Response'
  19716. security:
  19717. - ApiKeyAuth: []
  19718. summary: 查询现货合同
  19719. tags:
  19720. - 企业风险管理v3(app)
  19721. /Ermcp3/QuerySpotContractBS:
  19722. get:
  19723. parameters:
  19724. - description: 用户id
  19725. in: query
  19726. name: userid
  19727. required: true
  19728. type: integer
  19729. - description: 用户类型 2-机构 7-企业成员
  19730. in: query
  19731. name: usertype
  19732. type: integer
  19733. - description: 合同类型 1-采购, -1-销售
  19734. in: query
  19735. name: contracttype
  19736. required: true
  19737. type: integer
  19738. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  19739. in: query
  19740. name: querytype
  19741. required: true
  19742. type: integer
  19743. - description: 合同ID(SpotContractId)
  19744. in: query
  19745. name: contractid
  19746. type: string
  19747. produces:
  19748. - application/json
  19749. responses:
  19750. "200":
  19751. description: OK
  19752. schema:
  19753. items:
  19754. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  19755. type: array
  19756. "500":
  19757. description: Internal Server Error
  19758. schema:
  19759. $ref: '#/definitions/app.Response'
  19760. security:
  19761. - ApiKeyAuth: []
  19762. summary: 查询合同(采购/销售)
  19763. tags:
  19764. - 企业风险管理v3(app)
  19765. /Ermcp3/QuerySpotGoodsPrice:
  19766. get:
  19767. parameters:
  19768. - description: 用户ID
  19769. in: query
  19770. name: userid
  19771. required: true
  19772. type: integer
  19773. produces:
  19774. - application/json
  19775. responses:
  19776. "200":
  19777. description: OK
  19778. schema:
  19779. items:
  19780. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  19781. type: array
  19782. "500":
  19783. description: Internal Server Error
  19784. schema:
  19785. $ref: '#/definitions/app.Response'
  19786. security:
  19787. - ApiKeyAuth: []
  19788. summary: 查询现货市价(现货市价)
  19789. tags:
  19790. - 企业风险管理v3(app)
  19791. /Ermcp3/QuerySpotGoodsPriceLog:
  19792. get:
  19793. parameters:
  19794. - description: 用户ID
  19795. in: query
  19796. name: userid
  19797. required: true
  19798. type: integer
  19799. - description: 现货商品ID
  19800. in: query
  19801. name: deliverygoodsid
  19802. required: true
  19803. type: integer
  19804. - description: 品牌ID
  19805. in: query
  19806. name: brandid
  19807. type: integer
  19808. - description: 品类ID
  19809. in: query
  19810. name: wrstandardid
  19811. type: integer
  19812. produces:
  19813. - application/json
  19814. responses:
  19815. "200":
  19816. description: OK
  19817. schema:
  19818. items:
  19819. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  19820. type: array
  19821. "500":
  19822. description: Internal Server Error
  19823. schema:
  19824. $ref: '#/definitions/app.Response'
  19825. security:
  19826. - ApiKeyAuth: []
  19827. summary: 查询现货市价详情(现货市价/详情)
  19828. tags:
  19829. - 企业风险管理v3(app)
  19830. /Erms2/QueryArbitrageStrategy:
  19831. get:
  19832. parameters:
  19833. - description: 账户ID
  19834. in: query
  19835. name: userid
  19836. required: true
  19837. type: integer
  19838. - description: 商品组ID(品种ID)
  19839. in: query
  19840. name: goodsgroupid
  19841. type: string
  19842. produces:
  19843. - application/json
  19844. responses:
  19845. "200":
  19846. description: OK
  19847. schema:
  19848. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  19849. "500":
  19850. description: Internal Server Error
  19851. schema:
  19852. $ref: '#/definitions/app.Response'
  19853. security:
  19854. - ApiKeyAuth: []
  19855. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  19856. tags:
  19857. - 风险管理
  19858. /Erms2/QueryInnerTradeDetail:
  19859. get:
  19860. parameters:
  19861. - description: 资金账户
  19862. in: query
  19863. name: accountid
  19864. required: true
  19865. type: integer
  19866. produces:
  19867. - application/json
  19868. responses:
  19869. "200":
  19870. description: OK
  19871. schema:
  19872. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  19873. "500":
  19874. description: Internal Server Error
  19875. schema:
  19876. $ref: '#/definitions/app.Response'
  19877. security:
  19878. - ApiKeyAuth: []
  19879. summary: 查询内部成交单信息
  19880. tags:
  19881. - 风险管理
  19882. /Erms2/QuerySpotContract:
  19883. get:
  19884. parameters:
  19885. - description: 策略申请ID
  19886. in: query
  19887. name: asapplyid
  19888. required: true
  19889. type: integer
  19890. - description: 现货合同ID
  19891. in: query
  19892. name: spotcontractid
  19893. type: integer
  19894. produces:
  19895. - application/json
  19896. responses:
  19897. "200":
  19898. description: OK
  19899. schema:
  19900. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  19901. "500":
  19902. description: Internal Server Error
  19903. schema:
  19904. $ref: '#/definitions/app.Response'
  19905. security:
  19906. - ApiKeyAuth: []
  19907. summary: 查询现货合同表信息(指定策略ID、未结束的)
  19908. tags:
  19909. - 风险管理
  19910. /Erms3/AddErms2ASApply:
  19911. post:
  19912. parameters:
  19913. - description: 申请参数
  19914. in: body
  19915. name: jsonBody
  19916. required: true
  19917. schema:
  19918. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  19919. produces:
  19920. - application/json
  19921. responses:
  19922. "200":
  19923. description: OK
  19924. schema:
  19925. $ref: '#/definitions/app.Response'
  19926. "500":
  19927. description: Internal Server Error
  19928. schema:
  19929. $ref: '#/definitions/app.Response'
  19930. security:
  19931. - ApiKeyAuth: []
  19932. summary: 新增期现套利业务申请
  19933. tags:
  19934. - 风险管理v3
  19935. /Erms3/AddErms2SpotTradeApply:
  19936. post:
  19937. parameters:
  19938. - description: 申请参数
  19939. in: body
  19940. name: jsonBody
  19941. required: true
  19942. schema:
  19943. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  19944. produces:
  19945. - application/json
  19946. responses:
  19947. "200":
  19948. description: OK
  19949. schema:
  19950. $ref: '#/definitions/app.Response'
  19951. "500":
  19952. description: Internal Server Error
  19953. schema:
  19954. $ref: '#/definitions/app.Response'
  19955. security:
  19956. - ApiKeyAuth: []
  19957. summary: 新增现货贸易业务申请
  19958. tags:
  19959. - 风险管理v3
  19960. /Erms3/AddSpotContractApply:
  19961. post:
  19962. parameters:
  19963. - description: 申请参数
  19964. in: body
  19965. name: jsonBody
  19966. required: true
  19967. schema:
  19968. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  19969. produces:
  19970. - application/json
  19971. responses:
  19972. "200":
  19973. description: OK
  19974. schema:
  19975. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  19976. "500":
  19977. description: Internal Server Error
  19978. schema:
  19979. $ref: '#/definitions/app.Response'
  19980. security:
  19981. - ApiKeyAuth: []
  19982. summary: 新增现货合同申请
  19983. tags:
  19984. - 风险管理v3
  19985. /Erms3/AddUserInfoApply:
  19986. post:
  19987. parameters:
  19988. - description: 用户信息
  19989. in: body
  19990. name: jsonBody
  19991. required: true
  19992. schema:
  19993. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  19994. produces:
  19995. - application/json
  19996. responses:
  19997. "200":
  19998. description: OK
  19999. schema:
  20000. $ref: '#/definitions/app.Response'
  20001. "500":
  20002. description: Internal Server Error
  20003. schema:
  20004. $ref: '#/definitions/app.Response'
  20005. security:
  20006. - ApiKeyAuth: []
  20007. summary: 新增客户申请
  20008. tags:
  20009. - 风险管理v3
  20010. /Erms3/DeleteUserInfoApply:
  20011. get:
  20012. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20013. parameters:
  20014. - description: 用户ID
  20015. in: query
  20016. name: userID
  20017. required: true
  20018. type: integer
  20019. produces:
  20020. - application/json
  20021. responses:
  20022. "200":
  20023. description: OK
  20024. schema:
  20025. $ref: '#/definitions/app.Response'
  20026. "500":
  20027. description: Internal Server Error
  20028. schema:
  20029. $ref: '#/definitions/app.Response'
  20030. security:
  20031. - ApiKeyAuth: []
  20032. summary: 删除客户申请
  20033. tags:
  20034. - 风险管理v3
  20035. /Erms3/ModifyUserInfoApply:
  20036. post:
  20037. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20038. int, "userstate": 2 }'
  20039. parameters:
  20040. - description: 用户信息
  20041. in: body
  20042. name: jsonBody
  20043. required: true
  20044. schema:
  20045. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20046. produces:
  20047. - application/json
  20048. responses:
  20049. "200":
  20050. description: OK
  20051. schema:
  20052. $ref: '#/definitions/app.Response'
  20053. "500":
  20054. description: Internal Server Error
  20055. schema:
  20056. $ref: '#/definitions/app.Response'
  20057. security:
  20058. - ApiKeyAuth: []
  20059. summary: 修改客户申请
  20060. tags:
  20061. - 风险管理v3
  20062. /Erms3/QueryBusinessInfo:
  20063. get:
  20064. parameters:
  20065. - description: 资金账号ID列表,用逗号分隔
  20066. in: query
  20067. name: accountids
  20068. required: true
  20069. type: string
  20070. - description: 状态,0为未结束 1为已结束
  20071. in: query
  20072. name: status
  20073. required: true
  20074. type: integer
  20075. produces:
  20076. - application/json
  20077. responses:
  20078. "200":
  20079. description: OK
  20080. schema:
  20081. items:
  20082. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20083. type: array
  20084. "500":
  20085. description: Internal Server Error
  20086. schema:
  20087. $ref: '#/definitions/app.Response'
  20088. security:
  20089. - ApiKeyAuth: []
  20090. summary: 查询业务表单数据
  20091. tags:
  20092. - 风险管理v3
  20093. /Erms3/QueryPendingAuditContract:
  20094. get:
  20095. parameters:
  20096. - description: 资金账号ID列表,逗号隔开
  20097. in: query
  20098. name: accountids
  20099. required: true
  20100. type: string
  20101. - description: 合同类型 1-采购 -1-销售
  20102. in: query
  20103. name: contracttype
  20104. required: true
  20105. type: integer
  20106. - description: 合同模式 1-普通 2-回购
  20107. in: query
  20108. name: contractmode
  20109. required: true
  20110. type: integer
  20111. produces:
  20112. - application/json
  20113. responses:
  20114. "200":
  20115. description: OK
  20116. schema:
  20117. items:
  20118. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20119. type: array
  20120. "500":
  20121. description: Internal Server Error
  20122. schema:
  20123. $ref: '#/definitions/app.Response'
  20124. security:
  20125. - ApiKeyAuth: []
  20126. summary: 查询待审核合同
  20127. tags:
  20128. - 风险管理v3
  20129. /Erms3/QueryPendingBusiness:
  20130. get:
  20131. parameters:
  20132. - description: 资金账号ID列表,逗号隔开
  20133. in: query
  20134. name: accountids
  20135. required: true
  20136. type: string
  20137. produces:
  20138. - application/json
  20139. responses:
  20140. "200":
  20141. description: OK
  20142. schema:
  20143. items:
  20144. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20145. type: array
  20146. "500":
  20147. description: Internal Server Error
  20148. schema:
  20149. $ref: '#/definitions/app.Response'
  20150. security:
  20151. - ApiKeyAuth: []
  20152. summary: 查询待审核基差贸易业务
  20153. tags:
  20154. - 风险管理v3
  20155. /Erms3/QuerySpotContractAppleForm:
  20156. get:
  20157. parameters:
  20158. - description: 登录账号
  20159. in: query
  20160. name: loginID
  20161. required: true
  20162. type: integer
  20163. produces:
  20164. - application/json
  20165. responses:
  20166. "200":
  20167. description: OK
  20168. schema:
  20169. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20170. "500":
  20171. description: Internal Server Error
  20172. schema:
  20173. $ref: '#/definitions/app.Response'
  20174. security:
  20175. - ApiKeyAuth: []
  20176. summary: 查询合同申请表单数据
  20177. tags:
  20178. - 风险管理v3
  20179. /Erms3/QuerySpotContractDetail:
  20180. get:
  20181. parameters:
  20182. - description: 资金账号ID列表,用逗号分隔
  20183. in: query
  20184. name: accountids
  20185. required: true
  20186. type: string
  20187. - description: 合同类型,1为采购合同 -1为销售合同
  20188. in: query
  20189. name: contracttype
  20190. required: true
  20191. type: integer
  20192. - description: 合同模式,1为普通合同 2为回购销售合同
  20193. in: query
  20194. name: contractmode
  20195. required: true
  20196. type: integer
  20197. - description: 状态,0为履约中 1为已完成
  20198. in: query
  20199. name: status
  20200. required: true
  20201. type: integer
  20202. produces:
  20203. - application/json
  20204. responses:
  20205. "200":
  20206. description: OK
  20207. schema:
  20208. items:
  20209. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20210. type: array
  20211. "500":
  20212. description: Internal Server Error
  20213. schema:
  20214. $ref: '#/definitions/app.Response'
  20215. security:
  20216. - ApiKeyAuth: []
  20217. summary: 查询合同详细信息
  20218. tags:
  20219. - 风险管理v3
  20220. /Erms3/QueryUserInfoApplies:
  20221. get:
  20222. parameters:
  20223. - description: 页码
  20224. in: query
  20225. name: page
  20226. type: integer
  20227. - description: 每页条数
  20228. in: query
  20229. name: pagesize
  20230. type: integer
  20231. - description: 客户名称,支持模糊查询
  20232. in: query
  20233. name: userName
  20234. type: string
  20235. produces:
  20236. - application/json
  20237. responses:
  20238. "200":
  20239. description: OK
  20240. schema:
  20241. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  20242. "500":
  20243. description: Internal Server Error
  20244. schema:
  20245. $ref: '#/definitions/app.Response'
  20246. security:
  20247. - ApiKeyAuth: []
  20248. summary: 客户申请信息查询
  20249. tags:
  20250. - 风险管理v3
  20251. /Erms3/QueryUserInfos:
  20252. get:
  20253. parameters:
  20254. - description: 页码
  20255. in: query
  20256. name: page
  20257. type: integer
  20258. - description: 每页条数
  20259. in: query
  20260. name: pagesize
  20261. type: integer
  20262. - description: 客户名称,支持模糊查询
  20263. in: query
  20264. name: userName
  20265. type: string
  20266. produces:
  20267. - application/json
  20268. responses:
  20269. "200":
  20270. description: OK
  20271. schema:
  20272. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  20273. "500":
  20274. description: Internal Server Error
  20275. schema:
  20276. $ref: '#/definitions/app.Response'
  20277. security:
  20278. - ApiKeyAuth: []
  20279. summary: 客户信息查询
  20280. tags:
  20281. - 风险管理v3
  20282. /HSBY/GetHsbyMyCount:
  20283. get:
  20284. description: 说明: 不包括已完成的数量。
  20285. parameters:
  20286. - description: 资金账户列表,格式:1,2,3
  20287. in: query
  20288. name: accountIDs
  20289. required: true
  20290. type: string
  20291. produces:
  20292. - application/json
  20293. responses:
  20294. "200":
  20295. description: OK
  20296. schema:
  20297. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  20298. "500":
  20299. description: Internal Server Error
  20300. schema:
  20301. $ref: '#/definitions/app.Response'
  20302. security:
  20303. - ApiKeyAuth: []
  20304. summary: 获取我的订单与包裹数量
  20305. tags:
  20306. - 定制【海商报业】
  20307. /HSBY/QueryClientFixedADConfigs:
  20308. get:
  20309. produces:
  20310. - application/json
  20311. responses:
  20312. "200":
  20313. description: OK
  20314. schema:
  20315. $ref: '#/definitions/models.Clientfixedadconfig'
  20316. "500":
  20317. description: Internal Server Error
  20318. schema:
  20319. $ref: '#/definitions/app.Response'
  20320. security:
  20321. - ApiKeyAuth: []
  20322. summary: 获取终端固定广告配置
  20323. tags:
  20324. - 定制【海商报业】
  20325. /HSBY/QueryHsbyBuyMyTradeDetail:
  20326. get:
  20327. parameters:
  20328. - description: 页码
  20329. in: query
  20330. name: page
  20331. type: integer
  20332. - description: 每页条数
  20333. in: query
  20334. name: pagesize
  20335. type: integer
  20336. - description: 资金账户列表,格式:1,2,3
  20337. in: query
  20338. name: accountIDs
  20339. required: true
  20340. type: string
  20341. produces:
  20342. - application/json
  20343. responses:
  20344. "200":
  20345. description: OK
  20346. schema:
  20347. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  20348. "500":
  20349. description: Internal Server Error
  20350. schema:
  20351. $ref: '#/definitions/app.Response'
  20352. security:
  20353. - ApiKeyAuth: []
  20354. summary: 查询"我的订单 - 已完成"单据信息
  20355. tags:
  20356. - 定制【海商报业】
  20357. /HSBY/QueryHsbyGoodsOrderDetails:
  20358. get:
  20359. description: 说明:查询结果已按委托价格和委托时间排序
  20360. parameters:
  20361. - description: 商品ID
  20362. in: query
  20363. name: goodsID
  20364. required: true
  20365. type: integer
  20366. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  20367. in: query
  20368. name: accountIDs
  20369. type: string
  20370. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  20371. in: query
  20372. name: buyOrSell
  20373. type: integer
  20374. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  20375. in: query
  20376. name: price
  20377. type: number
  20378. - description: 档位,不传则默认为3档
  20379. in: query
  20380. name: speed
  20381. type: integer
  20382. produces:
  20383. - application/json
  20384. responses:
  20385. "200":
  20386. description: OK
  20387. schema:
  20388. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  20389. "500":
  20390. description: Internal Server Error
  20391. schema:
  20392. $ref: '#/definitions/app.Response'
  20393. security:
  20394. - ApiKeyAuth: []
  20395. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  20396. tags:
  20397. - 定制【海商报业】
  20398. /HSBY/QueryHsbyListingGoodsDetail:
  20399. get:
  20400. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  20401. parameters:
  20402. - description: 商品ID
  20403. in: query
  20404. name: goodsID
  20405. required: true
  20406. type: integer
  20407. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  20408. in: query
  20409. name: accountID
  20410. type: integer
  20411. produces:
  20412. - application/json
  20413. responses:
  20414. "200":
  20415. description: OK
  20416. schema:
  20417. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  20418. "500":
  20419. description: Internal Server Error
  20420. schema:
  20421. $ref: '#/definitions/app.Response'
  20422. security:
  20423. - ApiKeyAuth: []
  20424. summary: 查询二级市场(挂牌点选)商品信息详情
  20425. tags:
  20426. - 定制【海商报业】
  20427. /HSBY/QueryHsbyMarketGoodsDetail:
  20428. get:
  20429. parameters:
  20430. - description: 委托单号
  20431. in: query
  20432. name: orderID
  20433. required: true
  20434. type: integer
  20435. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  20436. in: query
  20437. name: accountID
  20438. type: integer
  20439. produces:
  20440. - application/json
  20441. responses:
  20442. "200":
  20443. description: OK
  20444. schema:
  20445. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20446. "500":
  20447. description: Internal Server Error
  20448. schema:
  20449. $ref: '#/definitions/app.Response'
  20450. security:
  20451. - ApiKeyAuth: []
  20452. summary: 查询三级市场(商城)商品信息详情
  20453. tags:
  20454. - 定制【海商报业】
  20455. /HSBY/QueryHsbyMarketGoodses:
  20456. get:
  20457. parameters:
  20458. - description: 页码
  20459. in: query
  20460. name: page
  20461. type: integer
  20462. - description: 每页条数
  20463. in: query
  20464. name: pagesize
  20465. type: integer
  20466. - description: 市场ID列表,格式:1,2,3
  20467. in: query
  20468. name: marketIDs
  20469. required: true
  20470. type: string
  20471. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  20472. in: query
  20473. name: accountID
  20474. required: true
  20475. type: integer
  20476. - description: 类别ID
  20477. in: query
  20478. name: categoryID
  20479. type: integer
  20480. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20481. in: query
  20482. name: goodsIDs
  20483. type: string
  20484. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  20485. in: query
  20486. name: couponTypeID
  20487. type: integer
  20488. produces:
  20489. - application/json
  20490. responses:
  20491. "200":
  20492. description: OK
  20493. schema:
  20494. $ref: '#/definitions/models.HsbyMarketGoods'
  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/QueryHsbyMarkets:
  20505. get:
  20506. produces:
  20507. - application/json
  20508. responses:
  20509. "200":
  20510. description: OK
  20511. schema:
  20512. $ref: '#/definitions/models.HsbyMarketInfo'
  20513. "500":
  20514. description: Internal Server Error
  20515. schema:
  20516. $ref: '#/definitions/app.Response'
  20517. security:
  20518. - ApiKeyAuth: []
  20519. summary: 查询海商报业相关市场信息
  20520. tags:
  20521. - 定制【海商报业】
  20522. /HSBY/QueryHsbyMyBuyOrderDetails:
  20523. get:
  20524. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  20525. parameters:
  20526. - description: 资金账户列表,格式:1,2,3
  20527. in: query
  20528. name: accountIDs
  20529. required: true
  20530. type: string
  20531. produces:
  20532. - application/json
  20533. responses:
  20534. "200":
  20535. description: OK
  20536. schema:
  20537. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  20538. "500":
  20539. description: Internal Server Error
  20540. schema:
  20541. $ref: '#/definitions/app.Response'
  20542. security:
  20543. - ApiKeyAuth: []
  20544. summary: 查询“我的订单”信息
  20545. tags:
  20546. - 定制【海商报业】
  20547. /HSBY/QueryHsbyMyGoods:
  20548. get:
  20549. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  20550. parameters:
  20551. - description: 资金账户列表,格式:1,2,3
  20552. in: query
  20553. name: accountIDs
  20554. required: true
  20555. type: string
  20556. produces:
  20557. - application/json
  20558. responses:
  20559. "200":
  20560. description: OK
  20561. schema:
  20562. $ref: '#/definitions/models.HsbyMyGoods'
  20563. "500":
  20564. description: Internal Server Error
  20565. schema:
  20566. $ref: '#/definitions/app.Response'
  20567. security:
  20568. - ApiKeyAuth: []
  20569. summary: 查询“我的商品”信息
  20570. tags:
  20571. - 定制【海商报业】
  20572. /HSBY/QueryHsbyMyPackages:
  20573. get:
  20574. parameters:
  20575. - description: 资金账户列表,格式:1,2,3
  20576. in: query
  20577. name: accountIDs
  20578. required: true
  20579. type: string
  20580. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20581. in: query
  20582. name: takeOrderStatus
  20583. type: integer
  20584. produces:
  20585. - application/json
  20586. responses:
  20587. "200":
  20588. description: OK
  20589. schema:
  20590. $ref: '#/definitions/models.HsbyMyPackage'
  20591. "500":
  20592. description: Internal Server Error
  20593. schema:
  20594. $ref: '#/definitions/app.Response'
  20595. security:
  20596. - ApiKeyAuth: []
  20597. summary: 查询我的包裹信息
  20598. tags:
  20599. - 定制【海商报业】
  20600. /HSBY/QueryHsbyPreGoodsDetail:
  20601. get:
  20602. parameters:
  20603. - description: 商品ID
  20604. in: query
  20605. name: goodsID
  20606. required: true
  20607. type: integer
  20608. - description: 资金账户,主要用于获取预售商品购买上限
  20609. in: query
  20610. name: accountID
  20611. type: integer
  20612. produces:
  20613. - application/json
  20614. responses:
  20615. "200":
  20616. description: OK
  20617. schema:
  20618. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  20619. "500":
  20620. description: Internal Server Error
  20621. schema:
  20622. $ref: '#/definitions/app.Response'
  20623. security:
  20624. - ApiKeyAuth: []
  20625. summary: 查询一级市场(预售)商品信息详情
  20626. tags:
  20627. - 定制【海商报业】
  20628. /HSBY/QueryHsbyPreGoodses:
  20629. get:
  20630. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  20631. parameters:
  20632. - description: 页码
  20633. in: query
  20634. name: page
  20635. type: integer
  20636. - description: 每页条数
  20637. in: query
  20638. name: pagesize
  20639. type: integer
  20640. - description: 市场ID列表,格式:1,2,3
  20641. in: query
  20642. name: marketIDs
  20643. required: true
  20644. type: string
  20645. - description: 目的地(省)ID
  20646. in: query
  20647. name: descProvinceID
  20648. type: integer
  20649. - description: 目的地(市)ID
  20650. in: query
  20651. name: descCityID
  20652. type: integer
  20653. produces:
  20654. - application/json
  20655. responses:
  20656. "200":
  20657. description: OK
  20658. schema:
  20659. $ref: '#/definitions/models.HsbyPreGoods'
  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/QueryHsbySellMyDetails:
  20670. get:
  20671. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  20672. parameters:
  20673. - description: 页码
  20674. in: query
  20675. name: page
  20676. type: integer
  20677. - description: 每页条数
  20678. in: query
  20679. name: pagesize
  20680. type: integer
  20681. - description: 资金账户列表,格式:1,2,3
  20682. in: query
  20683. name: accountIDs
  20684. required: true
  20685. type: string
  20686. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  20687. in: query
  20688. name: orderType
  20689. type: integer
  20690. produces:
  20691. - application/json
  20692. responses:
  20693. "200":
  20694. description: OK
  20695. schema:
  20696. $ref: '#/definitions/models.HsbySellMyDetail'
  20697. "500":
  20698. description: Internal Server Error
  20699. schema:
  20700. $ref: '#/definitions/app.Response'
  20701. security:
  20702. - ApiKeyAuth: []
  20703. summary: 查询"我的闲置"单据信息
  20704. tags:
  20705. - 定制【海商报业】
  20706. /HSBY/QueryHsbyTopGoodses:
  20707. get:
  20708. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  20709. parameters:
  20710. - description: 页码
  20711. in: query
  20712. name: page
  20713. type: integer
  20714. - description: 每页条数
  20715. in: query
  20716. name: pagesize
  20717. type: integer
  20718. - description: 市场ID列表,格式:1,2,3
  20719. in: query
  20720. name: marketIDs
  20721. required: true
  20722. type: string
  20723. - description: 目的地(省)ID
  20724. in: query
  20725. name: descProvinceID
  20726. type: integer
  20727. - description: 目的地(市)ID
  20728. in: query
  20729. name: descCityID
  20730. type: integer
  20731. produces:
  20732. - application/json
  20733. responses:
  20734. "200":
  20735. description: OK
  20736. schema:
  20737. $ref: '#/definitions/models.HsbyTopGoods'
  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/QueryHsbyVisitorMarketGoodsDetail:
  20748. get:
  20749. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  20750. parameters:
  20751. - description: 商品ID
  20752. in: query
  20753. name: goodsID
  20754. required: true
  20755. type: integer
  20756. produces:
  20757. - application/json
  20758. responses:
  20759. "200":
  20760. description: OK
  20761. schema:
  20762. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20763. "500":
  20764. description: Internal Server Error
  20765. schema:
  20766. $ref: '#/definitions/app.Response'
  20767. security:
  20768. - ApiKeyAuth: []
  20769. summary: 查询游客三级市场(商城)商品信息详情
  20770. tags:
  20771. - 定制【海商报业】
  20772. /HSBY/QueryHsbyVisitorMarketGoodses:
  20773. get:
  20774. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  20775. parameters:
  20776. - description: 页码
  20777. in: query
  20778. name: page
  20779. type: integer
  20780. - description: 每页条数
  20781. in: query
  20782. name: pagesize
  20783. type: integer
  20784. - description: 市场ID列表,格式:1,2,3
  20785. in: query
  20786. name: marketIDs
  20787. required: true
  20788. type: string
  20789. - description: 类别ID
  20790. in: query
  20791. name: categoryID
  20792. type: integer
  20793. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20794. in: query
  20795. name: goodsIDs
  20796. type: string
  20797. produces:
  20798. - application/json
  20799. responses:
  20800. "200":
  20801. description: OK
  20802. schema:
  20803. $ref: '#/definitions/models.HsbyMarketGoods'
  20804. "500":
  20805. description: Internal Server Error
  20806. schema:
  20807. $ref: '#/definitions/app.Response'
  20808. security:
  20809. - ApiKeyAuth: []
  20810. summary: 查询游客特卖商品列表(三级商城)
  20811. tags:
  20812. - 定制【海商报业】
  20813. /HSBY/QueryMyCollectionOrders:
  20814. get:
  20815. parameters:
  20816. - description: 页码
  20817. in: query
  20818. name: page
  20819. type: integer
  20820. - description: 每页条数
  20821. in: query
  20822. name: pagesize
  20823. type: integer
  20824. - description: 资金账户,格式:1,2,3
  20825. in: query
  20826. name: accountIDs
  20827. required: true
  20828. type: string
  20829. produces:
  20830. - application/json
  20831. responses:
  20832. "200":
  20833. description: OK
  20834. schema:
  20835. $ref: '#/definitions/models.HsbySellCollectionOrder'
  20836. "500":
  20837. description: Internal Server Error
  20838. schema:
  20839. $ref: '#/definitions/app.Response'
  20840. security:
  20841. - ApiKeyAuth: []
  20842. summary: 我的闲置中收款信息查询
  20843. tags:
  20844. - 定制【海商报业】
  20845. /HSBY/QueryMyCouponHolds:
  20846. get:
  20847. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  20848. parameters:
  20849. - description: 资金账户列表,格式:1,2,3
  20850. in: query
  20851. name: accountIDs
  20852. required: true
  20853. type: string
  20854. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  20855. in: query
  20856. name: holdStatus
  20857. type: string
  20858. produces:
  20859. - application/json
  20860. responses:
  20861. "200":
  20862. description: OK
  20863. schema:
  20864. $ref: '#/definitions/models.MyCouponHold'
  20865. "500":
  20866. description: Internal Server Error
  20867. schema:
  20868. $ref: '#/definitions/app.Response'
  20869. security:
  20870. - ApiKeyAuth: []
  20871. summary: 我的优惠卷持仓查询
  20872. tags:
  20873. - 定制【海商报业】
  20874. /HSBY/QueryMyCoupons:
  20875. get:
  20876. parameters:
  20877. - description: 资金账户列表,格式:1,2,3
  20878. in: query
  20879. name: accountIDs
  20880. required: true
  20881. type: string
  20882. - description: 商品ID, 一般与sellUserID配套传入
  20883. in: query
  20884. name: goodsID
  20885. type: integer
  20886. - description: 卖方UserID
  20887. in: query
  20888. name: sellUserID
  20889. type: integer
  20890. produces:
  20891. - application/json
  20892. responses:
  20893. "200":
  20894. description: OK
  20895. schema:
  20896. $ref: '#/definitions/models.MyCoupon'
  20897. "500":
  20898. description: Internal Server Error
  20899. schema:
  20900. $ref: '#/definitions/app.Response'
  20901. security:
  20902. - ApiKeyAuth: []
  20903. summary: 我的优惠卷查询
  20904. tags:
  20905. - 定制【海商报业】
  20906. /HSBY/QueryMyPayOrders:
  20907. get:
  20908. parameters:
  20909. - description: 页码
  20910. in: query
  20911. name: page
  20912. type: integer
  20913. - description: 每页条数
  20914. in: query
  20915. name: pagesize
  20916. type: integer
  20917. - description: 资金账户列表,格式:1,2,3
  20918. in: query
  20919. name: accountIDs
  20920. required: true
  20921. type: string
  20922. - description: 买方委托单号
  20923. in: query
  20924. name: buyOrderID
  20925. type: integer
  20926. - description: 卖方委托单号
  20927. in: query
  20928. name: sellOrderID
  20929. type: integer
  20930. produces:
  20931. - application/json
  20932. responses:
  20933. "200":
  20934. description: OK
  20935. schema:
  20936. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  20937. "500":
  20938. description: Internal Server Error
  20939. schema:
  20940. $ref: '#/definitions/app.Response'
  20941. security:
  20942. - ApiKeyAuth: []
  20943. summary: 获取我的订单中待付款信息
  20944. tags:
  20945. - 定制【海商报业】
  20946. /HSBY/QueryMyUsedCoupon:
  20947. get:
  20948. parameters:
  20949. - description: 资金账户列表,格式:1,2,3
  20950. in: query
  20951. name: accountIDs
  20952. required: true
  20953. type: string
  20954. produces:
  20955. - application/json
  20956. responses:
  20957. "200":
  20958. description: OK
  20959. schema:
  20960. $ref: '#/definitions/models.MyUsedCoupon'
  20961. "500":
  20962. description: Internal Server Error
  20963. schema:
  20964. $ref: '#/definitions/app.Response'
  20965. security:
  20966. - ApiKeyAuth: []
  20967. summary: 已使用优惠卷查询
  20968. tags:
  20969. - 定制【海商报业】
  20970. /HSBY/QueryProvincesAndCities:
  20971. get:
  20972. description: 查询结果只包括二级市场商品已关连的省市信息。
  20973. parameters:
  20974. - description: 省ID
  20975. in: query
  20976. name: provinceID
  20977. type: integer
  20978. produces:
  20979. - application/json
  20980. responses:
  20981. "200":
  20982. description: OK
  20983. schema:
  20984. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  20985. "500":
  20986. description: Internal Server Error
  20987. schema:
  20988. $ref: '#/definitions/app.Response'
  20989. security:
  20990. - ApiKeyAuth: []
  20991. summary: 查询省市信息(不包括区)
  20992. tags:
  20993. - 定制【海商报业】
  20994. /HSBY/SetHsbyMyPackagesStatus:
  20995. post:
  20996. parameters:
  20997. - description: 提货单号
  20998. in: query
  20999. name: takeOrderID
  21000. required: true
  21001. type: string
  21002. - description: 资金账号
  21003. in: query
  21004. name: accountID
  21005. required: true
  21006. type: integer
  21007. produces:
  21008. - application/json
  21009. responses:
  21010. "200":
  21011. description: OK
  21012. schema:
  21013. $ref: '#/definitions/app.Response'
  21014. "500":
  21015. description: Internal Server Error
  21016. schema:
  21017. $ref: '#/definitions/app.Response'
  21018. security:
  21019. - ApiKeyAuth: []
  21020. summary: 设置我的包裹已收货状态
  21021. tags:
  21022. - 定制【海商报业】
  21023. /Market/GetAllExExchanges:
  21024. get:
  21025. produces:
  21026. - application/json
  21027. responses:
  21028. "200":
  21029. description: OK
  21030. schema:
  21031. $ref: '#/definitions/models.Goods'
  21032. "500":
  21033. description: Internal Server Error
  21034. schema:
  21035. $ref: '#/definitions/app.Response'
  21036. security:
  21037. - ApiKeyAuth: []
  21038. summary: 获取所有外部交易所信息
  21039. tags:
  21040. - 通用市场
  21041. /Market/QueryGoodsesByLoginID:
  21042. get:
  21043. parameters:
  21044. - description: 登录账号
  21045. in: query
  21046. name: loginID
  21047. required: true
  21048. type: integer
  21049. - description: 市场ID列表,格式:1,2,3
  21050. in: query
  21051. name: marketIDs
  21052. type: string
  21053. produces:
  21054. - application/json
  21055. responses:
  21056. "200":
  21057. description: OK
  21058. schema:
  21059. $ref: '#/definitions/models.Goods'
  21060. "500":
  21061. description: Internal Server Error
  21062. schema:
  21063. $ref: '#/definitions/app.Response'
  21064. security:
  21065. - ApiKeyAuth: []
  21066. summary: 获取登录账号有权限的商品信息
  21067. tags:
  21068. - 通用市场
  21069. /Market/QueryMarketRun:
  21070. get:
  21071. parameters:
  21072. - description: 市场ID,不传返回所有
  21073. in: query
  21074. name: marketID
  21075. type: integer
  21076. produces:
  21077. - application/json
  21078. responses:
  21079. "200":
  21080. description: OK
  21081. schema:
  21082. $ref: '#/definitions/models.Marketrun'
  21083. "500":
  21084. description: Internal Server Error
  21085. schema:
  21086. $ref: '#/definitions/app.Response'
  21087. security:
  21088. - ApiKeyAuth: []
  21089. summary: 查询市场运行信息
  21090. tags:
  21091. - 通用市场
  21092. /Market/QueryMarketsByLoginID:
  21093. get:
  21094. parameters:
  21095. - description: 登录账号
  21096. in: query
  21097. name: loginID
  21098. required: true
  21099. type: integer
  21100. produces:
  21101. - application/json
  21102. responses:
  21103. "200":
  21104. description: OK
  21105. schema:
  21106. $ref: '#/definitions/models.Market'
  21107. "500":
  21108. description: Internal Server Error
  21109. schema:
  21110. $ref: '#/definitions/app.Response'
  21111. security:
  21112. - ApiKeyAuth: []
  21113. summary: 获取登录账号有权限的市场信息
  21114. tags:
  21115. - 通用市场
  21116. /Order/QueryHisTradeDetail:
  21117. get:
  21118. parameters:
  21119. - description: 资金账户 - 格式:1,2,3
  21120. in: query
  21121. name: accountID
  21122. required: true
  21123. type: string
  21124. - description: 成交单号
  21125. in: query
  21126. name: tradeID
  21127. type: integer
  21128. - description: 委托单号
  21129. in: query
  21130. name: orderID
  21131. type: integer
  21132. - description: 商品ID
  21133. in: query
  21134. name: goodsID
  21135. type: integer
  21136. - description: 交易模式 - 格式:1,2,3
  21137. in: query
  21138. name: tradeMode
  21139. type: string
  21140. - description: 委托单据类型
  21141. in: query
  21142. name: buildType
  21143. type: integer
  21144. - description: 成交类别 - 格式:1,2,3
  21145. in: query
  21146. name: tradeType
  21147. type: string
  21148. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21149. in: query
  21150. name: startDate
  21151. type: string
  21152. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21153. in: query
  21154. name: endDate
  21155. type: string
  21156. produces:
  21157. - application/json
  21158. responses:
  21159. "200":
  21160. description: OK
  21161. schema:
  21162. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21163. "500":
  21164. description: Internal Server Error
  21165. schema:
  21166. $ref: '#/definitions/app.Response'
  21167. security:
  21168. - ApiKeyAuth: []
  21169. summary: 历史成交单查询(合约市场)
  21170. tags:
  21171. - 通用单据
  21172. /Order/QueryHisTradeOrderDetail:
  21173. get:
  21174. parameters:
  21175. - description: 资金账户 - 格式:1,2,3
  21176. in: query
  21177. name: accountID
  21178. required: true
  21179. type: string
  21180. - description: 交易模式 - 格式:1,2,3
  21181. in: query
  21182. name: tradeMode
  21183. type: string
  21184. - description: 委托状态 - 格式:1,2,3
  21185. in: query
  21186. name: orderStatus
  21187. type: string
  21188. - description: 委托单号
  21189. in: query
  21190. name: orderID
  21191. type: integer
  21192. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21193. in: query
  21194. name: startDate
  21195. type: string
  21196. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21197. in: query
  21198. name: endDate
  21199. type: string
  21200. produces:
  21201. - application/json
  21202. responses:
  21203. "200":
  21204. description: OK
  21205. schema:
  21206. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21207. "500":
  21208. description: Internal Server Error
  21209. schema:
  21210. $ref: '#/definitions/app.Response'
  21211. security:
  21212. - ApiKeyAuth: []
  21213. summary: 历史委托单查询请求(合约市场)
  21214. tags:
  21215. - 通用单据
  21216. /Order/QueryTradeDetail:
  21217. get:
  21218. parameters:
  21219. - description: 资金账户 - 格式:1,2,3
  21220. in: query
  21221. name: accountID
  21222. required: true
  21223. type: string
  21224. - description: 成交单号
  21225. in: query
  21226. name: tradeID
  21227. type: integer
  21228. - description: 委托单号
  21229. in: query
  21230. name: orderID
  21231. type: integer
  21232. - description: 交易模式 - 格式:1,2,3
  21233. in: query
  21234. name: tradeMode
  21235. type: string
  21236. - description: 委托单据类型
  21237. in: query
  21238. name: buildType
  21239. type: integer
  21240. - description: 成交类别 - 格式:1,2,3
  21241. in: query
  21242. name: tradeType
  21243. type: string
  21244. - description: 商品ID
  21245. in: query
  21246. name: goodsID
  21247. type: integer
  21248. produces:
  21249. - application/json
  21250. responses:
  21251. "200":
  21252. description: OK
  21253. schema:
  21254. $ref: '#/definitions/order.QueryTradeDetailRsp'
  21255. "500":
  21256. description: Internal Server Error
  21257. schema:
  21258. $ref: '#/definitions/app.Response'
  21259. security:
  21260. - ApiKeyAuth: []
  21261. summary: 成交单查询(合约市场)
  21262. tags:
  21263. - 通用单据
  21264. /Order/QueryTradeOrderDetail:
  21265. get:
  21266. parameters:
  21267. - description: 资金账户 - 格式:1,2,3
  21268. in: query
  21269. name: accountID
  21270. required: true
  21271. type: string
  21272. - description: 交易模式 - 格式:1,2,3
  21273. in: query
  21274. name: tradeMode
  21275. type: string
  21276. - description: 委托状态 - 格式:1,2,3
  21277. in: query
  21278. name: orderStatus
  21279. type: string
  21280. - description: 委托单号
  21281. in: query
  21282. name: orderID
  21283. type: integer
  21284. produces:
  21285. - application/json
  21286. responses:
  21287. "200":
  21288. description: OK
  21289. schema:
  21290. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  21291. "500":
  21292. description: Internal Server Error
  21293. schema:
  21294. $ref: '#/definitions/app.Response'
  21295. security:
  21296. - ApiKeyAuth: []
  21297. summary: 委托单查询请求(合约市场)
  21298. tags:
  21299. - 通用单据
  21300. /Order/QueryTradePosition:
  21301. get:
  21302. parameters:
  21303. - description: 资金账户 - 格式:1,2,3
  21304. in: query
  21305. name: accountID
  21306. required: true
  21307. type: string
  21308. - description: 交易模式 - 格式:1,2,3
  21309. in: query
  21310. name: tradeMode
  21311. type: string
  21312. produces:
  21313. - application/json
  21314. responses:
  21315. "200":
  21316. description: OK
  21317. schema:
  21318. $ref: '#/definitions/order.QueryTradePositionRsp'
  21319. "500":
  21320. description: Internal Server Error
  21321. schema:
  21322. $ref: '#/definitions/app.Response'
  21323. security:
  21324. - ApiKeyAuth: []
  21325. summary: 持仓汇总查询(合约市场)
  21326. tags:
  21327. - 通用单据
  21328. /Qhj/QueryAccountInOutApply:
  21329. get:
  21330. parameters:
  21331. - description: 用户ID
  21332. in: query
  21333. name: userid
  21334. required: true
  21335. type: integer
  21336. - description: 申请起始日期(格式yyyymmdd)
  21337. in: query
  21338. name: begindate
  21339. type: string
  21340. - description: 申请截止日期(格式yyyymmdd)
  21341. in: query
  21342. name: enddate
  21343. type: string
  21344. - description: 模糊搜索名称
  21345. in: query
  21346. name: likename
  21347. type: string
  21348. produces:
  21349. - application/json
  21350. responses:
  21351. "200":
  21352. description: OK
  21353. schema:
  21354. items:
  21355. $ref: '#/definitions/models.QhjAccountOutInApply'
  21356. type: array
  21357. "500":
  21358. description: Internal Server Error
  21359. schema:
  21360. $ref: '#/definitions/app.Response'
  21361. security:
  21362. - ApiKeyAuth: []
  21363. summary: 查询充值提现
  21364. tags:
  21365. - 大连千海金
  21366. /Qhj/QueryAreaFinanceConfig:
  21367. get:
  21368. parameters:
  21369. - description: 机构用户ID 其他做市关系,都设置为 1
  21370. in: query
  21371. name: userid
  21372. type: integer
  21373. produces:
  21374. - application/json
  21375. responses:
  21376. "200":
  21377. description: OK
  21378. schema:
  21379. items:
  21380. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  21381. type: array
  21382. "500":
  21383. description: Internal Server Error
  21384. schema:
  21385. $ref: '#/definitions/app.Response'
  21386. security:
  21387. - ApiKeyAuth: []
  21388. summary: 查询企业配置表
  21389. tags:
  21390. - 大连千海金
  21391. /Qhj/QueryBankAccountSign:
  21392. get:
  21393. parameters:
  21394. - description: 用户ID
  21395. in: query
  21396. name: userid
  21397. required: true
  21398. type: integer
  21399. produces:
  21400. - application/json
  21401. responses:
  21402. "200":
  21403. description: OK
  21404. schema:
  21405. items:
  21406. $ref: '#/definitions/models.QhjBankAccountSign'
  21407. type: array
  21408. "500":
  21409. description: Internal Server Error
  21410. schema:
  21411. $ref: '#/definitions/app.Response'
  21412. security:
  21413. - ApiKeyAuth: []
  21414. summary: 查询签约银行信息(提现账户管理)
  21415. tags:
  21416. - 大连千海金
  21417. /Qhj/QueryBankInfo:
  21418. get:
  21419. produces:
  21420. - application/json
  21421. responses:
  21422. "200":
  21423. description: OK
  21424. schema:
  21425. items:
  21426. $ref: '#/definitions/models.QhjBankInfo'
  21427. type: array
  21428. "500":
  21429. description: Internal Server Error
  21430. schema:
  21431. $ref: '#/definitions/app.Response'
  21432. security:
  21433. - ApiKeyAuth: []
  21434. summary: 查询开户行
  21435. tags:
  21436. - 大连千海金
  21437. /Qhj/QueryBrokerApply:
  21438. get:
  21439. parameters:
  21440. - description: 所属机构ID
  21441. in: query
  21442. name: userid
  21443. type: integer
  21444. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21445. in: query
  21446. name: filterstatus
  21447. type: string
  21448. produces:
  21449. - application/json
  21450. responses:
  21451. "200":
  21452. description: OK
  21453. schema:
  21454. items:
  21455. $ref: '#/definitions/models.QhjBrokerApply'
  21456. type: array
  21457. "500":
  21458. description: Internal Server Error
  21459. schema:
  21460. $ref: '#/definitions/app.Response'
  21461. security:
  21462. - ApiKeyAuth: []
  21463. summary: 查询经纪人申请
  21464. tags:
  21465. - 大连千海金
  21466. /Qhj/QueryBrokerApplyEx:
  21467. get:
  21468. parameters:
  21469. - description: 所属机构ID
  21470. in: query
  21471. name: userid
  21472. type: integer
  21473. produces:
  21474. - application/json
  21475. responses:
  21476. "200":
  21477. description: OK
  21478. schema:
  21479. items:
  21480. $ref: '#/definitions/models.QhjBrokerApplyEx'
  21481. type: array
  21482. "500":
  21483. description: Internal Server Error
  21484. schema:
  21485. $ref: '#/definitions/app.Response'
  21486. security:
  21487. - ApiKeyAuth: []
  21488. summary: 查询经纪人信息和申请记录
  21489. tags:
  21490. - 大连千海金
  21491. /Qhj/QueryBrokerRewardLog:
  21492. get:
  21493. parameters:
  21494. - description: 用户ID
  21495. in: query
  21496. name: userid
  21497. required: true
  21498. type: integer
  21499. - description: 开始交易日(yyyymmdd)
  21500. in: query
  21501. name: begindate
  21502. type: string
  21503. - description: 结束交易日(yyyymmdd)
  21504. in: query
  21505. name: enddate
  21506. type: string
  21507. produces:
  21508. - application/json
  21509. responses:
  21510. "200":
  21511. description: OK
  21512. schema:
  21513. items:
  21514. $ref: '#/definitions/models.QhjBrokerRewardLog'
  21515. type: array
  21516. "500":
  21517. description: Internal Server Error
  21518. schema:
  21519. $ref: '#/definitions/app.Response'
  21520. security:
  21521. - ApiKeyAuth: []
  21522. summary: 查询奖励流水(我的奖励)
  21523. tags:
  21524. - 大连千海金
  21525. /Qhj/QueryContract:
  21526. get:
  21527. parameters:
  21528. - description: 用户ID
  21529. in: query
  21530. name: userid
  21531. type: integer
  21532. - description: scf合同id
  21533. in: query
  21534. name: scfcontractid
  21535. type: integer
  21536. produces:
  21537. - application/json
  21538. responses:
  21539. "200":
  21540. description: OK
  21541. schema:
  21542. items:
  21543. $ref: '#/definitions/models.QhjContract'
  21544. type: array
  21545. "500":
  21546. description: Internal Server Error
  21547. schema:
  21548. $ref: '#/definitions/app.Response'
  21549. security:
  21550. - ApiKeyAuth: []
  21551. summary: 查询融资明细(合同)
  21552. tags:
  21553. - 大连千海金
  21554. /Qhj/QueryContractLog:
  21555. get:
  21556. parameters:
  21557. - description: scf合同id
  21558. in: query
  21559. name: scfcontractid
  21560. required: true
  21561. type: integer
  21562. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  21563. in: query
  21564. name: amounttype
  21565. type: string
  21566. produces:
  21567. - application/json
  21568. responses:
  21569. "200":
  21570. description: OK
  21571. schema:
  21572. items:
  21573. $ref: '#/definitions/models.QhjContractLog'
  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/QueryCusBankSignBank:
  21585. get:
  21586. produces:
  21587. - application/json
  21588. responses:
  21589. "200":
  21590. description: OK
  21591. schema:
  21592. items:
  21593. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  21594. type: array
  21595. "500":
  21596. description: Internal Server Error
  21597. schema:
  21598. $ref: '#/definitions/app.Response'
  21599. security:
  21600. - ApiKeyAuth: []
  21601. summary: 查询托管银行
  21602. tags:
  21603. - 大连千海金
  21604. /Qhj/QueryCustomerInfo:
  21605. get:
  21606. parameters:
  21607. - description: 用户ID
  21608. in: query
  21609. name: userid
  21610. required: true
  21611. type: integer
  21612. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21613. in: query
  21614. name: querytype
  21615. required: true
  21616. type: integer
  21617. - description: 客户类型 1-个人 2-企业
  21618. in: query
  21619. name: userinfotype
  21620. type: integer
  21621. - description: 客户名称(模糊匹配)
  21622. in: query
  21623. name: customername
  21624. type: string
  21625. - description: 昵称(模糊匹配)
  21626. in: query
  21627. name: nickname
  21628. type: string
  21629. - description: 是否包含子级 1-包含
  21630. in: query
  21631. name: includesub
  21632. type: integer
  21633. produces:
  21634. - application/json
  21635. responses:
  21636. "200":
  21637. description: OK
  21638. schema:
  21639. items:
  21640. $ref: '#/definitions/models.QhjCustomer'
  21641. type: array
  21642. "500":
  21643. description: Internal Server Error
  21644. schema:
  21645. $ref: '#/definitions/app.Response'
  21646. security:
  21647. - ApiKeyAuth: []
  21648. summary: 查询客户资料
  21649. tags:
  21650. - 大连千海金
  21651. /Qhj/QueryGoodsEx:
  21652. get:
  21653. parameters:
  21654. - description: 商品id
  21655. in: query
  21656. name: goodsid
  21657. type: integer
  21658. produces:
  21659. - application/json
  21660. responses:
  21661. "200":
  21662. description: OK
  21663. schema:
  21664. items:
  21665. $ref: '#/definitions/models.Qhjgoodsex'
  21666. type: array
  21667. "500":
  21668. description: Internal Server Error
  21669. schema:
  21670. $ref: '#/definitions/app.Response'
  21671. security:
  21672. - ApiKeyAuth: []
  21673. summary: 交易商品扩展表
  21674. tags:
  21675. - 大连千海金
  21676. /Qhj/QueryMyTeam:
  21677. get:
  21678. parameters:
  21679. - description: 用户ID
  21680. in: query
  21681. name: userid
  21682. required: true
  21683. type: integer
  21684. produces:
  21685. - application/json
  21686. responses:
  21687. "200":
  21688. description: OK
  21689. schema:
  21690. items:
  21691. $ref: '#/definitions/models.QhjMyTeamEx'
  21692. type: array
  21693. "500":
  21694. description: Internal Server Error
  21695. schema:
  21696. $ref: '#/definitions/app.Response'
  21697. security:
  21698. - ApiKeyAuth: []
  21699. summary: 查询我的团队
  21700. tags:
  21701. - 大连千海金
  21702. /Qhj/QueryMyTeamOrder:
  21703. get:
  21704. parameters:
  21705. - description: 页码
  21706. in: query
  21707. name: page
  21708. type: integer
  21709. - description: 每页条数
  21710. in: query
  21711. name: pagesize
  21712. type: integer
  21713. - description: 用户ID
  21714. in: query
  21715. name: userid
  21716. required: true
  21717. type: integer
  21718. - description: 交易模式
  21719. in: query
  21720. name: trademode
  21721. type: integer
  21722. - description: 名称(模糊搜索账户)
  21723. in: query
  21724. name: filtername
  21725. type: string
  21726. produces:
  21727. - application/json
  21728. responses:
  21729. "200":
  21730. description: OK
  21731. schema:
  21732. items:
  21733. $ref: '#/definitions/models.QhjTeamOrder'
  21734. type: array
  21735. "500":
  21736. description: Internal Server Error
  21737. schema:
  21738. $ref: '#/definitions/app.Response'
  21739. security:
  21740. - ApiKeyAuth: []
  21741. summary: 查询团队订单(我的团队/团队订单)
  21742. tags:
  21743. - 大连千海金
  21744. /Qhj/QueryParentAreaList:
  21745. get:
  21746. parameters:
  21747. - description: 用户ID
  21748. in: query
  21749. name: userid
  21750. required: true
  21751. type: integer
  21752. produces:
  21753. - application/json
  21754. responses:
  21755. "200":
  21756. description: OK
  21757. schema:
  21758. items:
  21759. $ref: '#/definitions/models.QhjParentAreaList'
  21760. type: array
  21761. "500":
  21762. description: Internal Server Error
  21763. schema:
  21764. $ref: '#/definitions/app.Response'
  21765. security:
  21766. - ApiKeyAuth: []
  21767. summary: 查询所属机构列表
  21768. tags:
  21769. - 大连千海金
  21770. /Qhj/QueryPayOrder:
  21771. get:
  21772. parameters:
  21773. - description: 资金账号id
  21774. in: query
  21775. name: accountid
  21776. required: true
  21777. type: integer
  21778. - description: 成交单号
  21779. in: query
  21780. name: tradeid
  21781. type: integer
  21782. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21783. in: query
  21784. name: payflag
  21785. type: string
  21786. produces:
  21787. - application/json
  21788. responses:
  21789. "200":
  21790. description: OK
  21791. schema:
  21792. items:
  21793. $ref: '#/definitions/models.QhjPayOrder'
  21794. type: array
  21795. "500":
  21796. description: Internal Server Error
  21797. schema:
  21798. $ref: '#/definitions/app.Response'
  21799. security:
  21800. - ApiKeyAuth: []
  21801. summary: 查询待付款单据
  21802. tags:
  21803. - 大连千海金
  21804. /Qhj/QueryPickArea:
  21805. get:
  21806. parameters:
  21807. - description: 用户ID
  21808. in: query
  21809. name: userid
  21810. type: integer
  21811. produces:
  21812. - application/json
  21813. responses:
  21814. "200":
  21815. description: OK
  21816. schema:
  21817. items:
  21818. $ref: '#/definitions/models.QhjPickArea'
  21819. type: array
  21820. "500":
  21821. description: Internal Server Error
  21822. schema:
  21823. $ref: '#/definitions/app.Response'
  21824. security:
  21825. - ApiKeyAuth: []
  21826. summary: 查询提货门店
  21827. tags:
  21828. - 大连千海金
  21829. /Qhj/QueryPickGoods:
  21830. get:
  21831. parameters:
  21832. - description: 交易商品id
  21833. in: query
  21834. name: goodsid
  21835. required: true
  21836. type: integer
  21837. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21838. in: query
  21839. name: status
  21840. type: string
  21841. produces:
  21842. - application/json
  21843. responses:
  21844. "200":
  21845. description: OK
  21846. schema:
  21847. items:
  21848. $ref: '#/definitions/models.QhjPickGoods'
  21849. type: array
  21850. "500":
  21851. description: Internal Server Error
  21852. schema:
  21853. $ref: '#/definitions/app.Response'
  21854. security:
  21855. - ApiKeyAuth: []
  21856. summary: 查询提货商品
  21857. tags:
  21858. - 大连千海金
  21859. /Qhj/QueryRSTriggerLog:
  21860. get:
  21861. parameters:
  21862. - description: 用户ID
  21863. in: query
  21864. name: userid
  21865. type: integer
  21866. - description: 定投策略id
  21867. in: query
  21868. name: regularlystrategyid
  21869. type: integer
  21870. - description: 商品id
  21871. in: query
  21872. name: goodsid
  21873. type: integer
  21874. - description: 开始交易日(yyyymmdd)
  21875. in: query
  21876. name: begindate
  21877. type: string
  21878. - description: 结束交易日(yyyymmdd)
  21879. in: query
  21880. name: enddate
  21881. type: string
  21882. - description: 名称(模糊搜索账户)
  21883. in: query
  21884. name: filtername
  21885. type: string
  21886. produces:
  21887. - application/json
  21888. responses:
  21889. "200":
  21890. description: OK
  21891. schema:
  21892. items:
  21893. $ref: '#/definitions/models.QhjRSTriggerLog'
  21894. type: array
  21895. "500":
  21896. description: Internal Server Error
  21897. schema:
  21898. $ref: '#/definitions/app.Response'
  21899. security:
  21900. - ApiKeyAuth: []
  21901. summary: 查询定投记录(定投管理/详情/定投记录)
  21902. tags:
  21903. - 大连千海金
  21904. /Qhj/QueryRStrategy:
  21905. get:
  21906. parameters:
  21907. - description: 用户ID
  21908. in: query
  21909. name: userid
  21910. type: integer
  21911. - description: 商品id
  21912. in: query
  21913. name: goodsid
  21914. type: integer
  21915. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  21916. in: query
  21917. name: status
  21918. type: string
  21919. - description: 名称(模糊搜索账户)
  21920. in: query
  21921. name: filtername
  21922. type: string
  21923. produces:
  21924. - application/json
  21925. responses:
  21926. "200":
  21927. description: OK
  21928. schema:
  21929. items:
  21930. $ref: '#/definitions/models.QhjRStrategy'
  21931. type: array
  21932. "500":
  21933. description: Internal Server Error
  21934. schema:
  21935. $ref: '#/definitions/app.Response'
  21936. security:
  21937. - ApiKeyAuth: []
  21938. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  21939. tags:
  21940. - 大连千海金
  21941. /Qhj/QueryReckonPriceLog:
  21942. get:
  21943. parameters:
  21944. - description: 商品ID
  21945. in: query
  21946. name: goodsid
  21947. type: integer
  21948. - description: 交易日 格式(yyyymmdd)
  21949. in: query
  21950. name: tradedate
  21951. type: string
  21952. produces:
  21953. - application/json
  21954. responses:
  21955. "200":
  21956. description: OK
  21957. schema:
  21958. items:
  21959. $ref: '#/definitions/models.QhjReckonPriceLog'
  21960. type: array
  21961. "500":
  21962. description: Internal Server Error
  21963. schema:
  21964. $ref: '#/definitions/app.Response'
  21965. security:
  21966. - ApiKeyAuth: []
  21967. summary: 查询定投价(结算价)
  21968. tags:
  21969. - 大连千海金
  21970. /Qhj/QueryScoreLog:
  21971. get:
  21972. parameters:
  21973. - description: 用户ID
  21974. in: query
  21975. name: userid
  21976. required: true
  21977. type: integer
  21978. - description: 开始交易日(yyyymmdd)
  21979. in: query
  21980. name: begindate
  21981. type: string
  21982. - description: 结束交易日(yyyymmdd)
  21983. in: query
  21984. name: enddate
  21985. type: string
  21986. - description: 最近多少条
  21987. in: query
  21988. name: lastnum
  21989. type: integer
  21990. produces:
  21991. - application/json
  21992. responses:
  21993. "200":
  21994. description: OK
  21995. schema:
  21996. items:
  21997. $ref: '#/definitions/models.QhjScoreLog'
  21998. type: array
  21999. "500":
  22000. description: Internal Server Error
  22001. schema:
  22002. $ref: '#/definitions/app.Response'
  22003. security:
  22004. - ApiKeyAuth: []
  22005. summary: 查询积分流水(我的积分)
  22006. tags:
  22007. - 大连千海金
  22008. /Qhj/QuerySiteColumnDetail:
  22009. get:
  22010. parameters:
  22011. - description: 用户ID
  22012. in: query
  22013. name: userid
  22014. required: true
  22015. type: integer
  22016. produces:
  22017. - application/json
  22018. responses:
  22019. "200":
  22020. description: OK
  22021. schema:
  22022. items:
  22023. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22024. type: array
  22025. "500":
  22026. description: Internal Server Error
  22027. schema:
  22028. $ref: '#/definitions/app.Response'
  22029. security:
  22030. - ApiKeyAuth: []
  22031. summary: 查询资讯
  22032. tags:
  22033. - 大连千海金
  22034. /Qhj/QueryTradeGoodsPickup:
  22035. get:
  22036. parameters:
  22037. - description: 用户ID
  22038. in: query
  22039. name: userid
  22040. required: true
  22041. type: integer
  22042. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22043. 7:已拒绝 8:已撤销
  22044. in: query
  22045. name: takeorderstatus
  22046. type: integer
  22047. produces:
  22048. - application/json
  22049. responses:
  22050. "200":
  22051. description: OK
  22052. schema:
  22053. items:
  22054. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22055. type: array
  22056. "500":
  22057. description: Internal Server Error
  22058. schema:
  22059. $ref: '#/definitions/app.Response'
  22060. security:
  22061. - ApiKeyAuth: []
  22062. summary: 查询提货
  22063. tags:
  22064. - 大连千海金
  22065. /Qhj/QueryUserCollectConfig:
  22066. get:
  22067. parameters:
  22068. - description: 用户ID
  22069. in: query
  22070. name: userid
  22071. required: true
  22072. type: integer
  22073. produces:
  22074. - application/json
  22075. responses:
  22076. "200":
  22077. description: OK
  22078. schema:
  22079. items:
  22080. $ref: '#/definitions/models.UserCollectConfig'
  22081. type: array
  22082. "500":
  22083. description: Internal Server Error
  22084. schema:
  22085. $ref: '#/definitions/app.Response'
  22086. security:
  22087. - ApiKeyAuth: []
  22088. summary: 查询提现账户设置
  22089. tags:
  22090. - 大连千海金
  22091. /Qhj/QueryUserReceiveInfo:
  22092. get:
  22093. parameters:
  22094. - description: 用户ID
  22095. in: query
  22096. name: userid
  22097. required: true
  22098. type: integer
  22099. produces:
  22100. - application/json
  22101. responses:
  22102. "200":
  22103. description: OK
  22104. schema:
  22105. items:
  22106. $ref: '#/definitions/models.UserReceiveInfo'
  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. /QhjMgr/QueryAccountInOutApply:
  22118. get:
  22119. parameters:
  22120. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22121. in: query
  22122. name: querytype
  22123. required: true
  22124. type: integer
  22125. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22126. in: query
  22127. name: applystatus
  22128. type: integer
  22129. - description: 申请起始日期(格式yyyymmdd)
  22130. in: query
  22131. name: begindate
  22132. type: string
  22133. - description: 申请截止日期(格式yyyymmdd)
  22134. in: query
  22135. name: enddate
  22136. type: string
  22137. - description: 模糊搜索名称
  22138. in: query
  22139. name: likename
  22140. type: string
  22141. produces:
  22142. - application/json
  22143. responses:
  22144. "200":
  22145. description: OK
  22146. schema:
  22147. items:
  22148. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22149. type: array
  22150. "500":
  22151. description: Internal Server Error
  22152. schema:
  22153. $ref: '#/definitions/app.Response'
  22154. security:
  22155. - ApiKeyAuth: []
  22156. summary: 查询充值提现
  22157. tags:
  22158. - 大连千海金(PCWeb)
  22159. /QhjMgr/QueryBrokerApply:
  22160. get:
  22161. parameters:
  22162. - description: 所属机构ID
  22163. in: query
  22164. name: userid
  22165. type: integer
  22166. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22167. in: query
  22168. name: filterstatus
  22169. type: string
  22170. - description: 名称(模糊匹配)
  22171. in: query
  22172. name: filtername
  22173. type: string
  22174. - description: 是否包含子级 1-包含
  22175. in: query
  22176. name: includesub
  22177. type: integer
  22178. produces:
  22179. - application/json
  22180. responses:
  22181. "200":
  22182. description: OK
  22183. schema:
  22184. items:
  22185. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22186. type: array
  22187. "500":
  22188. description: Internal Server Error
  22189. schema:
  22190. $ref: '#/definitions/app.Response'
  22191. security:
  22192. - ApiKeyAuth: []
  22193. summary: 查询经纪人申请
  22194. tags:
  22195. - 大连千海金(PCWeb)
  22196. /QhjMgr/QueryBrokerRewardReport:
  22197. get:
  22198. parameters:
  22199. - description: 所属机构ID
  22200. in: query
  22201. name: userid
  22202. required: true
  22203. type: integer
  22204. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22205. in: query
  22206. name: cycletype
  22207. required: true
  22208. type: integer
  22209. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22210. in: query
  22211. name: cycletime
  22212. required: true
  22213. type: string
  22214. - description: 名称(模糊匹配)
  22215. in: query
  22216. name: filtername
  22217. type: string
  22218. - description: 是否包含子级 1-包含
  22219. in: query
  22220. name: includesub
  22221. type: integer
  22222. produces:
  22223. - application/json
  22224. responses:
  22225. "200":
  22226. description: OK
  22227. schema:
  22228. items:
  22229. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  22230. type: array
  22231. "500":
  22232. description: Internal Server Error
  22233. schema:
  22234. $ref: '#/definitions/app.Response'
  22235. security:
  22236. - ApiKeyAuth: []
  22237. summary: 查询经纪人奖励报表(废弃)
  22238. tags:
  22239. - 大连千海金(PCWeb)
  22240. /QhjMgr/QueryContract:
  22241. get:
  22242. parameters:
  22243. - description: 用户ID
  22244. in: query
  22245. name: userid
  22246. type: integer
  22247. - description: 商品id
  22248. in: query
  22249. name: goodsid
  22250. type: integer
  22251. - description: 名称(模糊搜索账户)
  22252. in: query
  22253. name: filtername
  22254. type: string
  22255. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  22256. in: query
  22257. name: risklevel
  22258. type: string
  22259. - description: 开始交易日(yyyymmdd)
  22260. in: query
  22261. name: begindate
  22262. type: string
  22263. - description: 结束交易日(yyyymmdd)
  22264. in: query
  22265. name: enddate
  22266. type: string
  22267. produces:
  22268. - application/json
  22269. responses:
  22270. "200":
  22271. description: OK
  22272. schema:
  22273. items:
  22274. $ref: '#/definitions/models.QhjMgrContract'
  22275. type: array
  22276. "500":
  22277. description: Internal Server Error
  22278. schema:
  22279. $ref: '#/definitions/app.Response'
  22280. security:
  22281. - ApiKeyAuth: []
  22282. summary: 查询融资信息(合同)
  22283. tags:
  22284. - 大连千海金(PCWeb)
  22285. /QhjMgr/QueryCustomerInfo:
  22286. get:
  22287. parameters:
  22288. - description: 用户ID
  22289. in: query
  22290. name: userid
  22291. required: true
  22292. type: integer
  22293. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22294. in: query
  22295. name: querytype
  22296. required: true
  22297. type: integer
  22298. - description: 客户类型 1-个人 2-企业
  22299. in: query
  22300. name: userinfotype
  22301. type: integer
  22302. - description: 客户名称(模糊匹配)
  22303. in: query
  22304. name: customername
  22305. type: string
  22306. - description: 昵称(模糊匹配)
  22307. in: query
  22308. name: nickname
  22309. type: string
  22310. - description: 是否包含子级 1-包含
  22311. in: query
  22312. name: includesub
  22313. type: integer
  22314. produces:
  22315. - application/json
  22316. responses:
  22317. "200":
  22318. description: OK
  22319. schema:
  22320. items:
  22321. $ref: '#/definitions/models.QhjMgrCustomer'
  22322. type: array
  22323. "500":
  22324. description: Internal Server Error
  22325. schema:
  22326. $ref: '#/definitions/app.Response'
  22327. security:
  22328. - ApiKeyAuth: []
  22329. summary: 查询客户资料
  22330. tags:
  22331. - 大连千海金(PCWeb)
  22332. /QhjMgr/QueryPickGoods:
  22333. get:
  22334. parameters:
  22335. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22336. in: query
  22337. name: status
  22338. type: string
  22339. produces:
  22340. - application/json
  22341. responses:
  22342. "200":
  22343. description: OK
  22344. schema:
  22345. items:
  22346. $ref: '#/definitions/models.QhjMgrPickGoods'
  22347. type: array
  22348. "500":
  22349. description: Internal Server Error
  22350. schema:
  22351. $ref: '#/definitions/app.Response'
  22352. security:
  22353. - ApiKeyAuth: []
  22354. summary: 查询提货商品
  22355. tags:
  22356. - 大连千海金(PCWeb)
  22357. /QhjMgr/QuerySubArea:
  22358. get:
  22359. parameters:
  22360. - description: 用户ID
  22361. in: query
  22362. name: userid
  22363. required: true
  22364. type: integer
  22365. produces:
  22366. - application/json
  22367. responses:
  22368. "200":
  22369. description: OK
  22370. schema:
  22371. items:
  22372. $ref: '#/definitions/models.QhjMgrSubArea'
  22373. type: array
  22374. "500":
  22375. description: Internal Server Error
  22376. schema:
  22377. $ref: '#/definitions/app.Response'
  22378. security:
  22379. - ApiKeyAuth: []
  22380. summary: 查询子机构列表
  22381. tags:
  22382. - 大连千海金(PCWeb)
  22383. /QhjMgr/QueryTradeDetail:
  22384. get:
  22385. parameters:
  22386. - description: 用户ID
  22387. in: query
  22388. name: userid
  22389. required: true
  22390. type: integer
  22391. - description: 用户类型 1-个人 2-企业
  22392. in: query
  22393. name: userinfotype
  22394. type: integer
  22395. - description: 交易模式
  22396. in: query
  22397. name: trademode
  22398. type: integer
  22399. - description: 商品id
  22400. in: query
  22401. name: goodsid
  22402. type: integer
  22403. - description: 名称(模糊搜索账户)
  22404. in: query
  22405. name: filtername
  22406. type: string
  22407. - description: 开始交易日(yyyymmdd)
  22408. in: query
  22409. name: begindate
  22410. type: string
  22411. - description: 结束交易日(yyyymmdd)
  22412. in: query
  22413. name: enddate
  22414. type: string
  22415. - description: 是否包含子级 1-包含
  22416. in: query
  22417. name: includesub
  22418. type: integer
  22419. produces:
  22420. - application/json
  22421. responses:
  22422. "200":
  22423. description: OK
  22424. schema:
  22425. items:
  22426. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  22427. type: array
  22428. "500":
  22429. description: Internal Server Error
  22430. schema:
  22431. $ref: '#/definitions/app.Response'
  22432. security:
  22433. - ApiKeyAuth: []
  22434. summary: 查询成交明细
  22435. tags:
  22436. - 大连千海金(PCWeb)
  22437. /QhjMgr/QueryTradeOrderDetail:
  22438. get:
  22439. parameters:
  22440. - description: 用户ID
  22441. in: query
  22442. name: userid
  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: trademode
  22452. type: integer
  22453. - description: 商品id
  22454. in: query
  22455. name: goodsid
  22456. type: integer
  22457. - description: 名称(模糊搜索账户)
  22458. in: query
  22459. name: filtername
  22460. type: string
  22461. - description: 开始交易日(yyyymmdd)
  22462. in: query
  22463. name: begindate
  22464. type: string
  22465. - description: 结束交易日(yyyymmdd)
  22466. in: query
  22467. name: enddate
  22468. type: string
  22469. - description: 是否包含子级 1-包含
  22470. in: query
  22471. name: includesub
  22472. type: integer
  22473. produces:
  22474. - application/json
  22475. responses:
  22476. "200":
  22477. description: OK
  22478. schema:
  22479. items:
  22480. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  22481. type: array
  22482. "500":
  22483. description: Internal Server Error
  22484. schema:
  22485. $ref: '#/definitions/app.Response'
  22486. security:
  22487. - ApiKeyAuth: []
  22488. summary: 查询委托明细
  22489. tags:
  22490. - 大连千海金(PCWeb)
  22491. /QhjMgr/QueryTradePayOrder:
  22492. get:
  22493. parameters:
  22494. - description: 用户ID
  22495. in: query
  22496. name: userid
  22497. required: true
  22498. type: integer
  22499. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22500. in: query
  22501. name: payflag
  22502. type: string
  22503. - description: 用户类型 1-个人 2-企业
  22504. in: query
  22505. name: userinfotype
  22506. type: integer
  22507. - description: 交易模式
  22508. in: query
  22509. name: trademode
  22510. type: integer
  22511. - description: 商品id
  22512. in: query
  22513. name: goodsid
  22514. type: integer
  22515. - description: 名称(模糊搜索账户)
  22516. in: query
  22517. name: filtername
  22518. type: string
  22519. - description: 开始交易日(yyyymmdd)
  22520. in: query
  22521. name: begindate
  22522. type: string
  22523. - description: 结束交易日(yyyymmdd)
  22524. in: query
  22525. name: enddate
  22526. type: string
  22527. - description: 是否包含子级 1-包含
  22528. in: query
  22529. name: includesub
  22530. type: integer
  22531. produces:
  22532. - application/json
  22533. responses:
  22534. "200":
  22535. description: OK
  22536. schema:
  22537. items:
  22538. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  22539. type: array
  22540. "500":
  22541. description: Internal Server Error
  22542. schema:
  22543. $ref: '#/definitions/app.Response'
  22544. security:
  22545. - ApiKeyAuth: []
  22546. summary: 查询待付款单
  22547. tags:
  22548. - 大连千海金(PCWeb)
  22549. /QhjMgr/QueryTradePosition:
  22550. get:
  22551. parameters:
  22552. - description: 用户ID
  22553. in: query
  22554. name: userid
  22555. required: true
  22556. type: integer
  22557. - description: 用户类型 1-个人 2-企业
  22558. in: query
  22559. name: userinfotype
  22560. type: integer
  22561. - description: 交易模式
  22562. in: query
  22563. name: trademode
  22564. type: integer
  22565. - description: 商品id
  22566. in: query
  22567. name: goodsid
  22568. type: integer
  22569. - description: 名称(模糊搜索账户)
  22570. in: query
  22571. name: filtername
  22572. type: string
  22573. - description: 是否包含子级 1-包含
  22574. in: query
  22575. name: includesub
  22576. type: integer
  22577. produces:
  22578. - application/json
  22579. responses:
  22580. "200":
  22581. description: OK
  22582. schema:
  22583. items:
  22584. $ref: '#/definitions/models.QhjMgrPositionRsp'
  22585. type: array
  22586. "500":
  22587. description: Internal Server Error
  22588. schema:
  22589. $ref: '#/definitions/app.Response'
  22590. security:
  22591. - ApiKeyAuth: []
  22592. summary: 查询持仓汇总
  22593. tags:
  22594. - 大连千海金(PCWeb)
  22595. /QhjSys/QueryAgreementChangeLog:
  22596. get:
  22597. parameters:
  22598. - description: 协议ID
  22599. in: query
  22600. name: agreementid
  22601. type: integer
  22602. - description: 协议版本号
  22603. in: query
  22604. name: agreementversion
  22605. type: integer
  22606. - description: 协议类型 - 1:注册 2:登录 3:交易
  22607. in: query
  22608. name: agreementtype
  22609. type: integer
  22610. - description: 协议编号(模糊匹配)
  22611. in: query
  22612. name: agreementno
  22613. type: string
  22614. - description: 协议名称(模糊匹配)
  22615. in: query
  22616. name: agreementname
  22617. type: string
  22618. produces:
  22619. - application/json
  22620. responses:
  22621. "200":
  22622. description: OK
  22623. schema:
  22624. items:
  22625. $ref: '#/definitions/models.QhjAgreementChangeLog'
  22626. type: array
  22627. "500":
  22628. description: Internal Server Error
  22629. schema:
  22630. $ref: '#/definitions/app.Response'
  22631. security:
  22632. - ApiKeyAuth: []
  22633. summary: 查询协议配置变更流水
  22634. tags:
  22635. - 大连千海金(协议和签约信息)
  22636. /QhjSys/QueryAgreementConfig:
  22637. get:
  22638. parameters:
  22639. - description: 协议ID
  22640. in: query
  22641. name: agreementid
  22642. type: integer
  22643. - description: 协议版本号
  22644. in: query
  22645. name: agreementversion
  22646. type: integer
  22647. - description: 协议类型 - 1:注册 2:登录 3:交易
  22648. in: query
  22649. name: agreementtype
  22650. type: integer
  22651. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  22652. in: query
  22653. name: isvalid
  22654. type: integer
  22655. - description: 协议编号(模糊匹配)
  22656. in: query
  22657. name: agreementno
  22658. type: string
  22659. - description: 协议名称(模糊匹配)
  22660. in: query
  22661. name: agreementname
  22662. type: string
  22663. produces:
  22664. - application/json
  22665. responses:
  22666. "200":
  22667. description: OK
  22668. schema:
  22669. items:
  22670. $ref: '#/definitions/models.QhjAgreementConfig'
  22671. type: array
  22672. "500":
  22673. description: Internal Server Error
  22674. schema:
  22675. $ref: '#/definitions/app.Response'
  22676. security:
  22677. - ApiKeyAuth: []
  22678. summary: 查询协议配置
  22679. tags:
  22680. - 大连千海金(协议和签约信息)
  22681. /QhjSys/QueryCustomerSignStatus:
  22682. get:
  22683. parameters:
  22684. - description: 客户ID
  22685. in: query
  22686. name: userid
  22687. type: integer
  22688. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  22689. in: query
  22690. name: nodetype
  22691. type: integer
  22692. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22693. in: query
  22694. name: goodsid
  22695. type: integer
  22696. - description: 创建交易日(yyyyMMdd)
  22697. in: query
  22698. name: tradedate
  22699. type: string
  22700. - description: 用户名称(模糊匹配)
  22701. in: query
  22702. name: username
  22703. type: string
  22704. produces:
  22705. - application/json
  22706. responses:
  22707. "200":
  22708. description: OK
  22709. schema:
  22710. items:
  22711. $ref: '#/definitions/models.QhjCustomerSignStatus'
  22712. type: array
  22713. "500":
  22714. description: Internal Server Error
  22715. schema:
  22716. $ref: '#/definitions/app.Response'
  22717. security:
  22718. - ApiKeyAuth: []
  22719. summary: 查询客户协议签约状态
  22720. tags:
  22721. - 大连千海金(协议和签约信息)
  22722. /QhjSys/QueryNodeAgreementConfig:
  22723. get:
  22724. parameters:
  22725. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22726. in: query
  22727. name: configid
  22728. type: integer
  22729. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22730. in: query
  22731. name: nodetype
  22732. type: integer
  22733. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22734. in: query
  22735. name: goodsid
  22736. type: integer
  22737. - description: 协议ID
  22738. in: query
  22739. name: agreementid
  22740. type: integer
  22741. - description: 协议类型 - 1:注册 2:登录 3:交易
  22742. in: query
  22743. name: agreementtype
  22744. type: integer
  22745. - description: 协议版本号
  22746. in: query
  22747. name: agreementversion
  22748. type: integer
  22749. - description: 协议编号(模糊匹配)
  22750. in: query
  22751. name: agreementno
  22752. type: string
  22753. - description: 协议名称(模糊匹配)
  22754. in: query
  22755. name: agreementname
  22756. type: string
  22757. produces:
  22758. - application/json
  22759. responses:
  22760. "200":
  22761. description: OK
  22762. schema:
  22763. items:
  22764. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  22765. type: array
  22766. "500":
  22767. description: Internal Server Error
  22768. schema:
  22769. $ref: '#/definitions/app.Response'
  22770. security:
  22771. - ApiKeyAuth: []
  22772. summary: 查询协议节点配置
  22773. tags:
  22774. - 大连千海金(协议和签约信息)
  22775. /QhjSys/QueryQhjCustomerSignLog:
  22776. get:
  22777. parameters:
  22778. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  22779. in: query
  22780. name: logid
  22781. type: integer
  22782. - description: 客户ID
  22783. in: query
  22784. name: userid
  22785. type: integer
  22786. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22787. in: query
  22788. name: nodetype
  22789. type: integer
  22790. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22791. in: query
  22792. name: goodsid
  22793. type: integer
  22794. - description: 协议ID
  22795. in: query
  22796. name: agreementid
  22797. type: integer
  22798. - description: 用户名称(模糊匹配)
  22799. in: query
  22800. name: username
  22801. type: string
  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.QhjCustomerSignLog'
  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/QueryUserNodeCfgAndStatus:
  22829. get:
  22830. parameters:
  22831. - description: 客户ID
  22832. in: query
  22833. name: userid
  22834. type: integer
  22835. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22836. in: query
  22837. name: configid
  22838. type: integer
  22839. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22840. in: query
  22841. name: nodetype
  22842. type: string
  22843. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22844. in: query
  22845. name: goodsid
  22846. type: integer
  22847. - description: 协议ID
  22848. in: query
  22849. name: agreementid
  22850. type: integer
  22851. - description: 协议类型 - 1:注册 2:登录 3:交易
  22852. in: query
  22853. name: agreementtype
  22854. type: integer
  22855. - description: 协议版本号
  22856. in: query
  22857. name: agreementversion
  22858. type: integer
  22859. - description: 协议编号(模糊匹配)
  22860. in: query
  22861. name: agreementno
  22862. type: string
  22863. - description: 协议名称(模糊匹配)
  22864. in: query
  22865. name: agreementname
  22866. type: string
  22867. produces:
  22868. - application/json
  22869. responses:
  22870. "200":
  22871. description: OK
  22872. schema:
  22873. items:
  22874. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  22875. type: array
  22876. "500":
  22877. description: Internal Server Error
  22878. schema:
  22879. $ref: '#/definitions/app.Response'
  22880. security:
  22881. - ApiKeyAuth: []
  22882. summary: 查询用户协议节点配置和状态
  22883. tags:
  22884. - 大连千海金(协议和签约信息)
  22885. /Quote/QueryHistoryDatas:
  22886. get:
  22887. parameters:
  22888. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  22889. 日线'
  22890. in: query
  22891. name: cycleType
  22892. required: true
  22893. type: integer
  22894. - description: 商品代码
  22895. in: query
  22896. name: goodsCode
  22897. required: true
  22898. type: string
  22899. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  22900. in: query
  22901. name: startTime
  22902. type: string
  22903. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  22904. in: query
  22905. name: endTime
  22906. type: string
  22907. - description: 条数
  22908. in: query
  22909. name: count
  22910. type: integer
  22911. - description: 是否按时间顺序排序(默认为时间倒序排序)
  22912. in: query
  22913. name: isAsc
  22914. type: boolean
  22915. produces:
  22916. - application/json
  22917. responses:
  22918. "200":
  22919. description: OK
  22920. schema:
  22921. $ref: '#/definitions/quote.HistoryData'
  22922. "500":
  22923. description: Internal Server Error
  22924. schema:
  22925. $ref: '#/definitions/app.Response'
  22926. security:
  22927. - ApiKeyAuth: []
  22928. summary: 查询行情历史数据
  22929. tags:
  22930. - 行情服务
  22931. /Quote/QueryHistoryTikDatas:
  22932. get:
  22933. parameters:
  22934. - description: 商品代码
  22935. in: query
  22936. name: goodsCode
  22937. required: true
  22938. type: string
  22939. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  22940. in: query
  22941. name: startTime
  22942. type: string
  22943. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  22944. in: query
  22945. name: endTime
  22946. type: string
  22947. - description: 条数
  22948. in: query
  22949. name: count
  22950. type: integer
  22951. - description: 是否按时间顺序排序(默认为时间倒序排序)
  22952. in: query
  22953. name: isAsc
  22954. type: boolean
  22955. produces:
  22956. - application/json
  22957. responses:
  22958. "200":
  22959. description: OK
  22960. schema:
  22961. $ref: '#/definitions/quote.HistoryTikData'
  22962. "500":
  22963. description: Internal Server Error
  22964. schema:
  22965. $ref: '#/definitions/app.Response'
  22966. security:
  22967. - ApiKeyAuth: []
  22968. summary: 查询行情Tik数据
  22969. tags:
  22970. - 行情服务
  22971. /Quote/QueryQuoteDay:
  22972. get:
  22973. parameters:
  22974. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  22975. in: query
  22976. name: goodsCodes
  22977. required: true
  22978. type: string
  22979. produces:
  22980. - application/json
  22981. responses:
  22982. "200":
  22983. description: OK
  22984. schema:
  22985. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  22986. "500":
  22987. description: Internal Server Error
  22988. schema:
  22989. $ref: '#/definitions/app.Response'
  22990. security:
  22991. - ApiKeyAuth: []
  22992. summary: 获取商品盘面信息
  22993. tags:
  22994. - 行情服务
  22995. /Quote/QueryTSData:
  22996. get:
  22997. parameters:
  22998. - description: 商品代码
  22999. in: query
  23000. name: goodsCode
  23001. required: true
  23002. type: string
  23003. produces:
  23004. - application/json
  23005. responses:
  23006. "200":
  23007. description: OK
  23008. schema:
  23009. $ref: '#/definitions/quote.QueryTSDataRsp'
  23010. "500":
  23011. description: Internal Server Error
  23012. schema:
  23013. $ref: '#/definitions/app.Response'
  23014. security:
  23015. - ApiKeyAuth: []
  23016. summary: 分时图数据查询
  23017. tags:
  23018. - 行情服务
  23019. /SZDZ/QueryConvertConfig:
  23020. get:
  23021. parameters:
  23022. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23023. 6:交易转花生米(不设置)
  23024. in: query
  23025. name: convertType
  23026. type: integer
  23027. - description: 外部商品代码[JD\PD]
  23028. in: query
  23029. name: outerGoodsCode
  23030. type: string
  23031. - description: 内部商品ID列表[交易],格式:1,2,3
  23032. in: query
  23033. name: innerGoodsIDs
  23034. type: string
  23035. produces:
  23036. - application/json
  23037. responses:
  23038. "200":
  23039. description: OK
  23040. schema:
  23041. $ref: '#/definitions/models.Szdz3convertconfig'
  23042. "500":
  23043. description: Internal Server Error
  23044. schema:
  23045. $ref: '#/definitions/app.Response'
  23046. security:
  23047. - ApiKeyAuth: []
  23048. summary: 查询交易系统转换设置
  23049. tags:
  23050. - 定制【尚志大宗】
  23051. /SZDZ/QueryConvertLog:
  23052. get:
  23053. parameters:
  23054. - description: 资金账户 - 格式:1,2,3
  23055. in: query
  23056. name: accountID
  23057. required: true
  23058. type: string
  23059. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23060. in: query
  23061. name: startDate
  23062. type: string
  23063. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23064. in: query
  23065. name: endDate
  23066. type: string
  23067. produces:
  23068. - application/json
  23069. responses:
  23070. "200":
  23071. description: OK
  23072. schema:
  23073. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23074. "500":
  23075. description: Internal Server Error
  23076. schema:
  23077. $ref: '#/definitions/app.Response'
  23078. security:
  23079. - ApiKeyAuth: []
  23080. summary: 交易系统转换流水查询
  23081. tags:
  23082. - 定制【尚志大宗】
  23083. /SZDZ/QueryGoodsPickup:
  23084. get:
  23085. parameters:
  23086. - description: 资金账户 - 格式:1,2,3
  23087. in: query
  23088. name: accountID
  23089. required: true
  23090. type: string
  23091. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23092. in: query
  23093. name: takeOrderStatus
  23094. type: integer
  23095. produces:
  23096. - application/json
  23097. responses:
  23098. "200":
  23099. description: OK
  23100. schema:
  23101. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23102. "500":
  23103. description: Internal Server Error
  23104. schema:
  23105. $ref: '#/definitions/app.Response'
  23106. security:
  23107. - ApiKeyAuth: []
  23108. summary: 商品提货单查询
  23109. tags:
  23110. - 定制【尚志大宗】
  23111. /SZDZ/QueryRecieptOrder:
  23112. get:
  23113. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23114. parameters:
  23115. - description: 页码
  23116. in: query
  23117. name: page
  23118. type: integer
  23119. - description: 每页条数
  23120. in: query
  23121. name: pagesize
  23122. type: integer
  23123. - description: 商品ID
  23124. in: query
  23125. name: goodsID
  23126. required: true
  23127. type: integer
  23128. - description: 所属账户名称
  23129. in: query
  23130. name: accountName
  23131. type: string
  23132. - description: 市场ID
  23133. in: query
  23134. name: marketID
  23135. type: integer
  23136. - description: 方向 - 0:买 1:卖
  23137. in: query
  23138. name: buyorsell
  23139. required: true
  23140. type: integer
  23141. produces:
  23142. - application/json
  23143. responses:
  23144. "200":
  23145. description: OK
  23146. schema:
  23147. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23148. "500":
  23149. description: Internal Server Error
  23150. schema:
  23151. $ref: '#/definitions/app.Response'
  23152. security:
  23153. - ApiKeyAuth: []
  23154. summary: 点选挂牌委托单据查询(摘牌大厅)
  23155. tags:
  23156. - 定制【尚志大宗】
  23157. /SZDZ/QuerySZDZTradePosition:
  23158. get:
  23159. parameters:
  23160. - description: 资金账户
  23161. in: query
  23162. name: accountID
  23163. required: true
  23164. type: integer
  23165. produces:
  23166. - application/json
  23167. responses:
  23168. "200":
  23169. description: OK
  23170. schema:
  23171. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23172. "500":
  23173. description: Internal Server Error
  23174. schema:
  23175. $ref: '#/definitions/app.Response'
  23176. security:
  23177. - ApiKeyAuth: []
  23178. summary: 持仓汇总查询(尚志大宗)
  23179. tags:
  23180. - 定制【尚志大宗】
  23181. /SZDZ/SearchWhite:
  23182. get:
  23183. parameters:
  23184. - description: 用户ID
  23185. in: query
  23186. name: userID
  23187. required: true
  23188. type: integer
  23189. produces:
  23190. - application/json
  23191. responses:
  23192. "200":
  23193. description: OK
  23194. schema:
  23195. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23196. "500":
  23197. description: Internal Server Error
  23198. schema:
  23199. $ref: '#/definitions/app.Response'
  23200. security:
  23201. - ApiKeyAuth: []
  23202. summary: 搜索白名单
  23203. tags:
  23204. - 定制【尚志大宗】
  23205. /Search/SearchGoodses:
  23206. get:
  23207. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23208. parameters:
  23209. - description: 检索内容
  23210. in: query
  23211. name: content
  23212. required: true
  23213. type: string
  23214. - description: 交易模式,格式:1,2,3
  23215. in: query
  23216. name: tradeModes
  23217. type: string
  23218. produces:
  23219. - application/json
  23220. responses:
  23221. "200":
  23222. description: OK
  23223. schema:
  23224. $ref: '#/definitions/models.SearchGoods'
  23225. "500":
  23226. description: Internal Server Error
  23227. schema:
  23228. $ref: '#/definitions/app.Response'
  23229. summary: 检索商品信息
  23230. tags:
  23231. - 检索服务
  23232. /TaAccount/GetTaAccounts:
  23233. get:
  23234. parameters:
  23235. - description: 登录账户
  23236. in: query
  23237. name: loginID
  23238. required: true
  23239. type: integer
  23240. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  23241. in: query
  23242. name: taAccountType
  23243. type: integer
  23244. produces:
  23245. - application/json
  23246. responses:
  23247. "200":
  23248. description: OK
  23249. schema:
  23250. $ref: '#/definitions/models.Taaccount'
  23251. "500":
  23252. description: Internal Server Error
  23253. schema:
  23254. $ref: '#/definitions/app.Response'
  23255. security:
  23256. - ApiKeyAuth: []
  23257. summary: 获取资金账户信息
  23258. tags:
  23259. - 资金账户
  23260. /TaAccount/QueryAmountLog:
  23261. get:
  23262. parameters:
  23263. - description: 页码
  23264. in: query
  23265. name: page
  23266. type: integer
  23267. - description: 每页条数
  23268. in: query
  23269. name: pagesize
  23270. type: integer
  23271. - description: 资金账户 - 格式:1,2,3
  23272. in: query
  23273. name: accountID
  23274. required: true
  23275. type: string
  23276. - description: 资金操作类型 - 格式:1,2,3
  23277. in: query
  23278. name: OperateType
  23279. type: string
  23280. produces:
  23281. - application/json
  23282. responses:
  23283. "200":
  23284. description: OK
  23285. schema:
  23286. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  23287. "500":
  23288. description: Internal Server Error
  23289. schema:
  23290. $ref: '#/definitions/app.Response'
  23291. security:
  23292. - ApiKeyAuth: []
  23293. summary: 资金流水查询(当前)
  23294. tags:
  23295. - 资金账户
  23296. /TaAccount/QueryHisAmountLog:
  23297. get:
  23298. parameters:
  23299. - description: 页码
  23300. in: query
  23301. name: page
  23302. type: integer
  23303. - description: 每页条数
  23304. in: query
  23305. name: pagesize
  23306. type: integer
  23307. - description: 资金账户 - 格式:1,2,3
  23308. in: query
  23309. name: accountID
  23310. required: true
  23311. type: string
  23312. - description: 资金操作类型 - 格式:1,2,3
  23313. in: query
  23314. name: OperateType
  23315. type: string
  23316. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23317. in: query
  23318. name: startDate
  23319. type: string
  23320. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23321. in: query
  23322. name: endDate
  23323. type: string
  23324. produces:
  23325. - application/json
  23326. responses:
  23327. "200":
  23328. description: OK
  23329. schema:
  23330. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  23331. "500":
  23332. description: Internal Server Error
  23333. schema:
  23334. $ref: '#/definitions/app.Response'
  23335. security:
  23336. - ApiKeyAuth: []
  23337. summary: 资金流水查询(历史)
  23338. tags:
  23339. - 资金账户
  23340. /Trade/QueryRecieptOrder:
  23341. get:
  23342. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23343. parameters:
  23344. - description: 页码
  23345. in: query
  23346. name: page
  23347. type: integer
  23348. - description: 每页条数
  23349. in: query
  23350. name: pagesize
  23351. type: integer
  23352. - description: 商品ID
  23353. in: query
  23354. name: goodsID
  23355. required: true
  23356. type: integer
  23357. - description: 所属账户名称
  23358. in: query
  23359. name: accountName
  23360. type: string
  23361. - description: 市场ID
  23362. in: query
  23363. name: marketID
  23364. type: integer
  23365. - description: 方向 - 0:买 1:卖
  23366. in: query
  23367. name: buyorsell
  23368. required: true
  23369. type: integer
  23370. produces:
  23371. - application/json
  23372. responses:
  23373. "200":
  23374. description: OK
  23375. schema:
  23376. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  23377. "500":
  23378. description: Internal Server Error
  23379. schema:
  23380. $ref: '#/definitions/app.Response'
  23381. security:
  23382. - ApiKeyAuth: []
  23383. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  23384. tags:
  23385. - 通用交易
  23386. /User/AddMessageBoard:
  23387. post:
  23388. parameters:
  23389. - description: 用户ID
  23390. in: query
  23391. name: userID
  23392. required: true
  23393. type: integer
  23394. - description: 留言信息
  23395. in: query
  23396. name: message
  23397. required: true
  23398. type: string
  23399. - description: 联系电话
  23400. in: query
  23401. name: contactNum
  23402. required: true
  23403. type: string
  23404. produces:
  23405. - application/json
  23406. responses:
  23407. "200":
  23408. description: OK
  23409. schema:
  23410. $ref: '#/definitions/app.Response'
  23411. "500":
  23412. description: Internal Server Error
  23413. schema:
  23414. $ref: '#/definitions/app.Response'
  23415. security:
  23416. - ApiKeyAuth: []
  23417. summary: 添加用户留言板信息
  23418. tags:
  23419. - 用户信息
  23420. /User/AddUserFavoriteGoods:
  23421. post:
  23422. parameters:
  23423. - description: 用户ID
  23424. in: query
  23425. name: userID
  23426. required: true
  23427. type: integer
  23428. - description: 商品ID
  23429. in: query
  23430. name: goodsID
  23431. required: true
  23432. type: integer
  23433. produces:
  23434. - application/json
  23435. responses:
  23436. "200":
  23437. description: OK
  23438. schema:
  23439. $ref: '#/definitions/app.Response'
  23440. "500":
  23441. description: Internal Server Error
  23442. schema:
  23443. $ref: '#/definitions/app.Response'
  23444. security:
  23445. - ApiKeyAuth: []
  23446. summary: 添加用户商品收藏信息
  23447. tags:
  23448. - 用户信息
  23449. /User/GetLoginID:
  23450. get:
  23451. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  23452. parameters:
  23453. - description: 登录代码
  23454. in: query
  23455. name: username
  23456. required: true
  23457. type: string
  23458. produces:
  23459. - application/json
  23460. responses:
  23461. "200":
  23462. description: OK
  23463. schema:
  23464. $ref: '#/definitions/app.Response'
  23465. "500":
  23466. description: Internal Server Error
  23467. schema:
  23468. $ref: '#/definitions/app.Response'
  23469. summary: 获取登录ID
  23470. tags:
  23471. - 用户信息
  23472. /User/GetUserAccount:
  23473. get:
  23474. parameters:
  23475. - description: 用户ID
  23476. in: query
  23477. name: userID
  23478. required: true
  23479. type: integer
  23480. produces:
  23481. - application/json
  23482. responses:
  23483. "200":
  23484. description: OK
  23485. schema:
  23486. $ref: '#/definitions/models.Useraccount'
  23487. "500":
  23488. description: Internal Server Error
  23489. schema:
  23490. $ref: '#/definitions/app.Response'
  23491. security:
  23492. - ApiKeyAuth: []
  23493. summary: 获取用户账号信息
  23494. tags:
  23495. - 用户信息
  23496. /User/GetUserAuthStatus:
  23497. get:
  23498. parameters:
  23499. - description: 用户ID
  23500. in: query
  23501. name: userID
  23502. required: true
  23503. type: integer
  23504. produces:
  23505. - application/json
  23506. responses:
  23507. "200":
  23508. description: OK
  23509. schema:
  23510. $ref: '#/definitions/app.Response'
  23511. "500":
  23512. description: Internal Server Error
  23513. schema:
  23514. $ref: '#/definitions/app.Response'
  23515. security:
  23516. - ApiKeyAuth: []
  23517. summary: 获取用户实名认证状态
  23518. tags:
  23519. - 用户信息
  23520. /User/LoginQuery:
  23521. get:
  23522. parameters:
  23523. - description: 登录账号
  23524. in: query
  23525. name: loginID
  23526. required: true
  23527. type: integer
  23528. produces:
  23529. - application/json
  23530. responses:
  23531. "200":
  23532. description: OK
  23533. schema:
  23534. $ref: '#/definitions/user.LoginQueryRsp'
  23535. "500":
  23536. description: Internal Server Error
  23537. schema:
  23538. $ref: '#/definitions/app.Response'
  23539. security:
  23540. - ApiKeyAuth: []
  23541. summary: 账户登录后信息查询
  23542. tags:
  23543. - 用户信息
  23544. /User/QueryMessageBoard:
  23545. get:
  23546. parameters:
  23547. - description: 用户ID
  23548. in: query
  23549. name: userID
  23550. required: true
  23551. type: integer
  23552. produces:
  23553. - application/json
  23554. responses:
  23555. "200":
  23556. description: OK
  23557. schema:
  23558. $ref: '#/definitions/models.Messageboard'
  23559. "500":
  23560. description: Internal Server Error
  23561. schema:
  23562. $ref: '#/definitions/app.Response'
  23563. security:
  23564. - ApiKeyAuth: []
  23565. summary: 获取用户留言板信息
  23566. tags:
  23567. - 用户信息
  23568. /User/QueryUserFavoriteGoodses:
  23569. get:
  23570. parameters:
  23571. - description: 用户ID
  23572. in: query
  23573. name: userID
  23574. required: true
  23575. type: integer
  23576. produces:
  23577. - application/json
  23578. responses:
  23579. "200":
  23580. description: OK
  23581. schema:
  23582. $ref: '#/definitions/models.Userfavoritegoods'
  23583. "500":
  23584. description: Internal Server Error
  23585. schema:
  23586. $ref: '#/definitions/app.Response'
  23587. security:
  23588. - ApiKeyAuth: []
  23589. summary: 获取用户商品收藏信息
  23590. tags:
  23591. - 用户信息
  23592. /User/QueryUserInfo:
  23593. get:
  23594. parameters:
  23595. - description: 用户ID
  23596. in: query
  23597. name: userID
  23598. required: true
  23599. type: integer
  23600. - description: 是否解密
  23601. in: query
  23602. name: isDecrypt
  23603. type: boolean
  23604. produces:
  23605. - application/json
  23606. responses:
  23607. "200":
  23608. description: OK
  23609. schema:
  23610. $ref: '#/definitions/models.Userinfo'
  23611. "500":
  23612. description: Internal Server Error
  23613. schema:
  23614. $ref: '#/definitions/app.Response'
  23615. security:
  23616. - ApiKeyAuth: []
  23617. summary: 获取用户信息
  23618. tags:
  23619. - 用户信息
  23620. /User/QueryUserReferNum:
  23621. get:
  23622. parameters:
  23623. - description: 用户ID
  23624. in: query
  23625. name: userID
  23626. required: true
  23627. type: integer
  23628. produces:
  23629. - application/json
  23630. responses:
  23631. "200":
  23632. description: OK
  23633. schema:
  23634. $ref: '#/definitions/app.Response'
  23635. "500":
  23636. description: Internal Server Error
  23637. schema:
  23638. $ref: '#/definitions/app.Response'
  23639. summary: 获取用户邀请码
  23640. tags:
  23641. - 用户信息
  23642. /User/RemoveUserFavoriteGoods:
  23643. post:
  23644. parameters:
  23645. - description: 用户ID
  23646. in: query
  23647. name: userID
  23648. required: true
  23649. type: integer
  23650. - description: 商品ID
  23651. in: query
  23652. name: goodsID
  23653. required: true
  23654. type: integer
  23655. produces:
  23656. - application/json
  23657. responses:
  23658. "200":
  23659. description: OK
  23660. schema:
  23661. $ref: '#/definitions/app.Response'
  23662. "500":
  23663. description: Internal Server Error
  23664. schema:
  23665. $ref: '#/definitions/app.Response'
  23666. security:
  23667. - ApiKeyAuth: []
  23668. summary: 移除用户商品收藏信息
  23669. tags:
  23670. - 用户信息
  23671. /User/UpdateUserAccountStatus:
  23672. post:
  23673. parameters:
  23674. - description: 用户ID
  23675. in: query
  23676. name: userID
  23677. required: true
  23678. type: integer
  23679. - description: 账户状态 - 4:正常 6:注销(停用)
  23680. in: query
  23681. name: accountStatus
  23682. required: true
  23683. type: integer
  23684. produces:
  23685. - application/json
  23686. responses:
  23687. "200":
  23688. description: OK
  23689. schema:
  23690. $ref: '#/definitions/app.Response'
  23691. "500":
  23692. description: Internal Server Error
  23693. schema:
  23694. $ref: '#/definitions/app.Response'
  23695. security:
  23696. - ApiKeyAuth: []
  23697. summary: 更新用户状态
  23698. tags:
  23699. - 用户信息
  23700. /WRTrade/GetAllDeliveryGoods:
  23701. get:
  23702. produces:
  23703. - application/json
  23704. - application/json
  23705. responses:
  23706. "200":
  23707. description: OK
  23708. schema:
  23709. $ref: '#/definitions/app.Response'
  23710. "500":
  23711. description: Internal Server Error
  23712. schema:
  23713. $ref: '#/definitions/app.Response'
  23714. security:
  23715. - ApiKeyAuth: []
  23716. - ApiKeyAuth: []
  23717. summary: 获取带仓单分类的种类信息
  23718. tags:
  23719. - 仓单贸易
  23720. - 仓单贸易
  23721. /WrTrade2/QueryFaProductDetail:
  23722. get:
  23723. description: 页面 买卖大厅 -> 选择融资方案
  23724. parameters:
  23725. - description: 仓单要素id
  23726. in: query
  23727. name: wrfactortypeid
  23728. required: true
  23729. type: integer
  23730. produces:
  23731. - application/json
  23732. responses:
  23733. "200":
  23734. description: OK
  23735. schema:
  23736. items:
  23737. $ref: '#/definitions/models.WrFAProductDetail'
  23738. type: array
  23739. "500":
  23740. description: Internal Server Error
  23741. schema:
  23742. $ref: '#/definitions/app.Response'
  23743. security:
  23744. - ApiKeyAuth: []
  23745. summary: 查询融资产品列表
  23746. tags:
  23747. - 仓单贸易v2
  23748. /WrTrade2/QueryFilterItem:
  23749. get:
  23750. parameters:
  23751. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  23752. in: query
  23753. name: itype
  23754. required: true
  23755. type: string
  23756. produces:
  23757. - application/json
  23758. responses:
  23759. "200":
  23760. description: OK
  23761. schema:
  23762. items:
  23763. $ref: '#/definitions/models.WrFilterItem'
  23764. type: array
  23765. "500":
  23766. description: Internal Server Error
  23767. schema:
  23768. $ref: '#/definitions/app.Response'
  23769. security:
  23770. - ApiKeyAuth: []
  23771. summary: 查询筛选框列表
  23772. tags:
  23773. - 仓单贸易v2
  23774. /WrTrade2/QueryFtDeliveryGoods:
  23775. get:
  23776. produces:
  23777. - application/json
  23778. responses:
  23779. "200":
  23780. description: OK
  23781. schema:
  23782. items:
  23783. $ref: '#/definitions/models.WrFtDeliveryGoods'
  23784. type: array
  23785. "500":
  23786. description: Internal Server Error
  23787. schema:
  23788. $ref: '#/definitions/app.Response'
  23789. security:
  23790. - ApiKeyAuth: []
  23791. summary: 查询品种品类筛选框列表
  23792. tags:
  23793. - 仓单贸易v2
  23794. /WrTrade2/QueryHoldLB:
  23795. get:
  23796. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  23797. parameters:
  23798. - description: 资金账号
  23799. in: query
  23800. name: accountid
  23801. required: true
  23802. type: integer
  23803. - description: 仓库id
  23804. in: query
  23805. name: warehouseid
  23806. type: integer
  23807. - description: 品种id
  23808. in: query
  23809. name: deliverygoodsid
  23810. type: integer
  23811. - description: 品类id
  23812. in: query
  23813. name: wrstandardid
  23814. type: integer
  23815. produces:
  23816. - application/json
  23817. responses:
  23818. "200":
  23819. description: OK
  23820. schema:
  23821. items:
  23822. $ref: '#/definitions/models.WrHoldLB'
  23823. type: array
  23824. "500":
  23825. description: Internal Server Error
  23826. schema:
  23827. $ref: '#/definitions/app.Response'
  23828. security:
  23829. - ApiKeyAuth: []
  23830. summary: 查询仓单持有记录
  23831. tags:
  23832. - 仓单贸易v2
  23833. /WrTrade2/QueryOrderQuote:
  23834. get:
  23835. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  23836. 唯一确定1条记录
  23837. parameters:
  23838. - description: 页码
  23839. in: query
  23840. name: page
  23841. type: integer
  23842. - description: 每页条数
  23843. in: query
  23844. name: pagesize
  23845. type: integer
  23846. - description: 仓单贸易市场id
  23847. in: query
  23848. name: marketid
  23849. type: integer
  23850. - description: 价格方式 - 1:固定价 2-浮动价
  23851. in: query
  23852. name: wrpricetype
  23853. required: true
  23854. type: integer
  23855. - description: 0:仓单预售 1:仓单贸易
  23856. in: query
  23857. name: haswr
  23858. required: true
  23859. type: integer
  23860. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  23861. in: query
  23862. name: dgitemname
  23863. type: string
  23864. - description: 仓库id(筛选条件)
  23865. in: query
  23866. name: warehouseid
  23867. type: integer
  23868. - description: 品种id
  23869. in: query
  23870. name: deliverygoodsid
  23871. type: integer
  23872. - description: 品类id
  23873. in: query
  23874. name: wrstandardid
  23875. type: integer
  23876. - description: 仓单要素id
  23877. in: query
  23878. name: wrfactortypeid
  23879. type: integer
  23880. - description: 交收月(yyyy-mm) 仓单预售填写
  23881. in: query
  23882. name: deliverymonth
  23883. type: string
  23884. produces:
  23885. - application/json
  23886. responses:
  23887. "200":
  23888. description: OK
  23889. schema:
  23890. items:
  23891. $ref: '#/definitions/models.WrOrderQuote'
  23892. type: array
  23893. "500":
  23894. description: Internal Server Error
  23895. schema:
  23896. $ref: '#/definitions/app.Response'
  23897. security:
  23898. - ApiKeyAuth: []
  23899. summary: 查询大厅行情列表
  23900. tags:
  23901. - 仓单贸易v2
  23902. /WrTrade2/QueryOrderQuoteDetail:
  23903. get:
  23904. parameters:
  23905. - description: 页码
  23906. in: query
  23907. name: page
  23908. type: integer
  23909. - description: 每页条数
  23910. in: query
  23911. name: pagesize
  23912. type: integer
  23913. - description: 仓单贸易市场id
  23914. in: query
  23915. name: marketid
  23916. type: integer
  23917. - description: 价格方式 - 1:固定价 2-浮动价
  23918. in: query
  23919. name: wrpricetype
  23920. required: true
  23921. type: integer
  23922. - description: 0:仓单预售 1:仓单贸易
  23923. in: query
  23924. name: haswr
  23925. required: true
  23926. type: integer
  23927. - description: 仓单要素id
  23928. in: query
  23929. name: wrfactortypeid
  23930. required: true
  23931. type: integer
  23932. - description: 期货商品id(浮动价方式时填)
  23933. in: query
  23934. name: goodsid
  23935. type: integer
  23936. - description: 买卖方向 0-买 1-卖
  23937. in: query
  23938. name: buyorsell
  23939. required: true
  23940. type: integer
  23941. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  23942. in: query
  23943. name: deliverymonth
  23944. type: string
  23945. produces:
  23946. - application/json
  23947. responses:
  23948. "200":
  23949. description: OK
  23950. schema:
  23951. items:
  23952. $ref: '#/definitions/models.WrOrderQuoteDetail'
  23953. type: array
  23954. "500":
  23955. description: Internal Server Error
  23956. schema:
  23957. $ref: '#/definitions/app.Response'
  23958. security:
  23959. - ApiKeyAuth: []
  23960. summary: 查询买卖大厅
  23961. tags:
  23962. - 仓单贸易v2
  23963. /WrTrade2/QueryPerformancePlan:
  23964. get:
  23965. parameters:
  23966. - description: 用户id
  23967. in: query
  23968. name: userid
  23969. required: true
  23970. type: integer
  23971. - description: 买卖方向 0-买 1-卖
  23972. in: query
  23973. name: buyorsell
  23974. required: true
  23975. type: integer
  23976. produces:
  23977. - application/json
  23978. responses:
  23979. "200":
  23980. description: OK
  23981. schema:
  23982. items:
  23983. $ref: '#/definitions/models.WrPerformancePlan'
  23984. type: array
  23985. "500":
  23986. description: Internal Server Error
  23987. schema:
  23988. $ref: '#/definitions/app.Response'
  23989. security:
  23990. - ApiKeyAuth: []
  23991. summary: 查询履约信息
  23992. tags:
  23993. - 仓单贸易v2
  23994. /WrTrade2/QueryWrFactorTypeInfo:
  23995. get:
  23996. parameters:
  23997. - description: 仓单要素id
  23998. in: query
  23999. name: wrfactortypeid
  24000. required: true
  24001. type: integer
  24002. produces:
  24003. - application/json
  24004. responses:
  24005. "200":
  24006. description: OK
  24007. schema:
  24008. items:
  24009. $ref: '#/definitions/models.WrFactorTypeInfo'
  24010. type: array
  24011. "500":
  24012. description: Internal Server Error
  24013. schema:
  24014. $ref: '#/definitions/app.Response'
  24015. security:
  24016. - ApiKeyAuth: []
  24017. summary: 查询仓单要素详细信息
  24018. tags:
  24019. - 仓单贸易v2
  24020. /WrTrade2/QueryWrFactorTypeInfoEx:
  24021. get:
  24022. parameters:
  24023. - description: 仓单要素id
  24024. in: query
  24025. name: wrfactortypeid
  24026. required: true
  24027. type: integer
  24028. produces:
  24029. - application/json
  24030. responses:
  24031. "200":
  24032. description: OK
  24033. schema:
  24034. items:
  24035. $ref: '#/definitions/models.WrTypeItem'
  24036. type: array
  24037. "500":
  24038. description: Internal Server Error
  24039. schema:
  24040. $ref: '#/definitions/app.Response'
  24041. security:
  24042. - ApiKeyAuth: []
  24043. summary: 查询仓单要素详细信息列表项
  24044. tags:
  24045. - 仓单贸易v2
  24046. /WrTrade2/QueryWrFinanceBuyApply:
  24047. get:
  24048. description: 页面 融资信息+ / 申请单
  24049. parameters:
  24050. - description: 用户id
  24051. in: query
  24052. name: userid
  24053. required: true
  24054. type: integer
  24055. produces:
  24056. - application/json
  24057. responses:
  24058. "200":
  24059. description: OK
  24060. schema:
  24061. items:
  24062. $ref: '#/definitions/models.WrFinanceBuyApply'
  24063. type: array
  24064. "500":
  24065. description: Internal Server Error
  24066. schema:
  24067. $ref: '#/definitions/app.Response'
  24068. security:
  24069. - ApiKeyAuth: []
  24070. summary: 查询融资购买申请
  24071. tags:
  24072. - 仓单贸易v2
  24073. /WrTrade2/QueryWrGoodsInfo:
  24074. get:
  24075. parameters:
  24076. - description: 仓单贸易市场id
  24077. in: query
  24078. name: marketid
  24079. type: integer
  24080. - description: 0:仓单预售 1:仓单贸易
  24081. in: query
  24082. name: haswr
  24083. required: true
  24084. type: integer
  24085. - description: 仓单要素id
  24086. in: query
  24087. name: wrfactortypeid
  24088. required: true
  24089. type: integer
  24090. produces:
  24091. - application/json
  24092. responses:
  24093. "200":
  24094. description: OK
  24095. schema:
  24096. items:
  24097. $ref: '#/definitions/models.WrGoodsInfo'
  24098. type: array
  24099. "500":
  24100. description: Internal Server Error
  24101. schema:
  24102. $ref: '#/definitions/app.Response'
  24103. security:
  24104. - ApiKeyAuth: []
  24105. summary: 查询仓单商品信息
  24106. tags:
  24107. - 仓单贸易v2
  24108. /WrTrade2/QueryWrMarketTradeConfig:
  24109. get:
  24110. parameters:
  24111. - description: 市场id
  24112. in: query
  24113. name: marketid
  24114. type: integer
  24115. produces:
  24116. - application/json
  24117. responses:
  24118. "200":
  24119. description: OK
  24120. schema:
  24121. items:
  24122. $ref: '#/definitions/models.WrMarketTradeConfig'
  24123. type: array
  24124. "500":
  24125. description: Internal Server Error
  24126. schema:
  24127. $ref: '#/definitions/app.Response'
  24128. security:
  24129. - ApiKeyAuth: []
  24130. summary: 查询市场交易参数配置
  24131. tags:
  24132. - 仓单贸易v2
  24133. /WrTrade2/QueryWrOrderDetail:
  24134. get:
  24135. description: 页面 现货仓单 | 预售仓单 -> 挂单
  24136. parameters:
  24137. - description: 页码
  24138. in: query
  24139. name: page
  24140. type: integer
  24141. - description: 每页条数
  24142. in: query
  24143. name: pagesize
  24144. type: integer
  24145. - description: 用户id
  24146. in: query
  24147. name: userid
  24148. required: true
  24149. type: integer
  24150. - description: 仓单贸易市场id
  24151. in: query
  24152. name: marketid
  24153. type: integer
  24154. - description: 0:仓单预售 1:仓单贸易
  24155. in: query
  24156. name: haswr
  24157. required: true
  24158. type: integer
  24159. produces:
  24160. - application/json
  24161. responses:
  24162. "200":
  24163. description: OK
  24164. schema:
  24165. items:
  24166. $ref: '#/definitions/models.WrOrderDetail'
  24167. type: array
  24168. "500":
  24169. description: Internal Server Error
  24170. schema:
  24171. $ref: '#/definitions/app.Response'
  24172. security:
  24173. - ApiKeyAuth: []
  24174. summary: 查询仓单委托单(挂单)
  24175. tags:
  24176. - 仓单贸易v2
  24177. /WrTrade2/QueryWrPerformancePlanStep:
  24178. get:
  24179. parameters:
  24180. - description: 履约计划id(performanceplanid)
  24181. in: query
  24182. name: planid
  24183. required: true
  24184. type: integer
  24185. - description: 当前步骤id
  24186. in: query
  24187. name: curstepid
  24188. type: integer
  24189. produces:
  24190. - application/json
  24191. responses:
  24192. "200":
  24193. description: OK
  24194. schema:
  24195. items:
  24196. $ref: '#/definitions/models.WrPerformancePlanStep'
  24197. type: array
  24198. "500":
  24199. description: Internal Server Error
  24200. schema:
  24201. $ref: '#/definitions/app.Response'
  24202. security:
  24203. - ApiKeyAuth: []
  24204. summary: 查询履约信息详情
  24205. tags:
  24206. - 仓单贸易v2
  24207. /WrTrade2/QueryWrPosition:
  24208. get:
  24209. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  24210. parameters:
  24211. - description: 用户id
  24212. in: query
  24213. name: userid
  24214. required: true
  24215. type: integer
  24216. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  24217. in: query
  24218. name: querytype
  24219. required: true
  24220. type: integer
  24221. - description: 0:仓单预售 1:仓单贸易
  24222. in: query
  24223. name: haswr
  24224. required: true
  24225. type: integer
  24226. produces:
  24227. - application/json
  24228. responses:
  24229. "200":
  24230. description: OK
  24231. schema:
  24232. items:
  24233. $ref: '#/definitions/models.WrPosition'
  24234. type: array
  24235. "500":
  24236. description: Internal Server Error
  24237. schema:
  24238. $ref: '#/definitions/app.Response'
  24239. security:
  24240. - ApiKeyAuth: []
  24241. summary: 查询现货(预售)仓单持仓
  24242. tags:
  24243. - 仓单贸易v2
  24244. /WrTrade2/QueryWrScfContract:
  24245. get:
  24246. parameters:
  24247. - description: 用户id
  24248. in: query
  24249. name: userid
  24250. required: true
  24251. type: integer
  24252. - description: 融资合同id
  24253. in: query
  24254. name: scfcontractid
  24255. type: integer
  24256. produces:
  24257. - application/json
  24258. responses:
  24259. "200":
  24260. description: OK
  24261. schema:
  24262. items:
  24263. $ref: '#/definitions/models.WrScfContract'
  24264. type: array
  24265. "500":
  24266. description: Internal Server Error
  24267. schema:
  24268. $ref: '#/definitions/app.Response'
  24269. security:
  24270. - ApiKeyAuth: []
  24271. summary: 查询仓单贸易融资合同
  24272. tags:
  24273. - 仓单贸易v2
  24274. /WrTrade2/QueryWrSpecialMatchOrder:
  24275. get:
  24276. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  24277. parameters:
  24278. - description: 页码
  24279. in: query
  24280. name: page
  24281. type: integer
  24282. - description: 每页条数
  24283. in: query
  24284. name: pagesize
  24285. type: integer
  24286. - description: 用户id
  24287. in: query
  24288. name: userid
  24289. required: true
  24290. type: integer
  24291. - description: 仓单贸易市场id
  24292. in: query
  24293. name: marketid
  24294. type: integer
  24295. - description: 0:仓单预售 1:仓单贸易
  24296. in: query
  24297. name: haswr
  24298. required: true
  24299. type: integer
  24300. produces:
  24301. - application/json
  24302. responses:
  24303. "200":
  24304. description: OK
  24305. schema:
  24306. items:
  24307. $ref: '#/definitions/models.WrSpecialMatchOrder'
  24308. type: array
  24309. "500":
  24310. description: Internal Server Error
  24311. schema:
  24312. $ref: '#/definitions/app.Response'
  24313. security:
  24314. - ApiKeyAuth: []
  24315. summary: 查询指定成交
  24316. tags:
  24317. - 仓单贸易v2
  24318. /WrTrade2/QueryWrStandardFactoryItem:
  24319. get:
  24320. parameters:
  24321. - description: 品类id
  24322. in: query
  24323. name: wrstandardid
  24324. required: true
  24325. type: integer
  24326. produces:
  24327. - application/json
  24328. responses:
  24329. "200":
  24330. description: OK
  24331. schema:
  24332. items:
  24333. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  24334. type: array
  24335. "500":
  24336. description: Internal Server Error
  24337. schema:
  24338. $ref: '#/definitions/app.Response'
  24339. security:
  24340. - ApiKeyAuth: []
  24341. summary: 查询品类要素定义项
  24342. tags:
  24343. - 仓单贸易v2
  24344. /WrTrade2/QueryWrTradeDetail:
  24345. get:
  24346. parameters:
  24347. - description: 页码
  24348. in: query
  24349. name: page
  24350. type: integer
  24351. - description: 每页条数
  24352. in: query
  24353. name: pagesize
  24354. type: integer
  24355. - description: 用户id
  24356. in: query
  24357. name: userid
  24358. required: true
  24359. type: integer
  24360. - description: 仓单贸易市场id
  24361. in: query
  24362. name: marketid
  24363. type: integer
  24364. - description: 0:仓单预售 1:仓单贸易
  24365. in: query
  24366. name: haswr
  24367. required: true
  24368. type: integer
  24369. produces:
  24370. - application/json
  24371. responses:
  24372. "200":
  24373. description: OK
  24374. schema:
  24375. items:
  24376. $ref: '#/definitions/models.WrTradeDetail'
  24377. type: array
  24378. "500":
  24379. description: Internal Server Error
  24380. schema:
  24381. $ref: '#/definitions/app.Response'
  24382. security:
  24383. - ApiKeyAuth: []
  24384. summary: 查询仓单成交明细
  24385. tags:
  24386. - 仓单贸易v2
  24387. securityDefinitions:
  24388. ApiKeyAuth:
  24389. in: header
  24390. name: Authorization
  24391. type: apiKey
  24392. swagger: "2.0"