swagger.yaml 685 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759
  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. mgunitname:
  3988. description: 套保品种单位名称
  3989. type: string
  3990. middlegoodscode:
  3991. description: 套保品种代码
  3992. type: string
  3993. middlegoodsid:
  3994. description: 套保品种id
  3995. type: integer
  3996. middlegoodsname:
  3997. description: 套保品种名称
  3998. type: string
  3999. needarbitrageratio:
  4000. description: 应套利比例
  4001. type: number
  4002. needhedgeratio:
  4003. description: 应套保比例
  4004. type: number
  4005. pricedqty:
  4006. description: 已定价量
  4007. type: number
  4008. qty:
  4009. description: 合同量
  4010. type: number
  4011. selluserid:
  4012. description: 销售方id
  4013. type: integer
  4014. sellusername:
  4015. description: 销售方名称
  4016. type: string
  4017. spotcontractid:
  4018. description: 合同id
  4019. type: string
  4020. todaypricedqty:
  4021. description: 今定价量
  4022. type: number
  4023. tradedate:
  4024. description: 交易日
  4025. type: string
  4026. unitid:
  4027. description: 品类单位id
  4028. type: integer
  4029. userid:
  4030. description: 机构id
  4031. type: integer
  4032. username:
  4033. description: 交易用户
  4034. type: string
  4035. wrstandardcode:
  4036. description: 品类代码
  4037. type: string
  4038. wrstandardid:
  4039. description: 品类id
  4040. type: integer
  4041. wrstandardname:
  4042. description: 品类名称
  4043. type: string
  4044. type: object
  4045. models.Ermcp3ExposureDetail:
  4046. properties:
  4047. areauserid:
  4048. description: 机构ID
  4049. type: integer
  4050. changeQty:
  4051. description: 套保变动量
  4052. type: number
  4053. contracttype:
  4054. description: 现货合同类型 - 1:采购 -1:销售
  4055. type: integer
  4056. convertfactor:
  4057. description: 标仓系数
  4058. type: number
  4059. convertratio:
  4060. description: 套保系数
  4061. type: number
  4062. createtime:
  4063. description: 时间
  4064. type: string
  4065. deliverygoodscode:
  4066. description: 现货品种代码
  4067. type: string
  4068. deliverygoodsid:
  4069. description: 现货品种id
  4070. type: integer
  4071. deliverygoodsname:
  4072. description: 现货品种名称
  4073. type: string
  4074. enumdicname:
  4075. description: 现货商品单位名称
  4076. type: string
  4077. logtype:
  4078. description: 类型 - 1:套保计划 2:现货合同
  4079. type: integer
  4080. mgunitid:
  4081. description: 套保品种单位id
  4082. type: integer
  4083. mgunitidname:
  4084. description: 套保品种单位名称
  4085. type: string
  4086. middlegoodsId:
  4087. description: 套保商品id
  4088. type: integer
  4089. middlegoodscode:
  4090. description: 套保商品代码
  4091. type: string
  4092. middlegoodsname:
  4093. description: 套保商品名称
  4094. type: string
  4095. qty:
  4096. description: 数量
  4097. type: number
  4098. relateNo:
  4099. description: 现货合同/套保计划编号
  4100. type: string
  4101. type: object
  4102. models.Ermcp3ExposureFutuDetail:
  4103. properties:
  4104. accountid:
  4105. description: 交易账户id
  4106. type: integer
  4107. accountname:
  4108. description: 交易账户
  4109. type: string
  4110. begindate:
  4111. description: 开始交易日
  4112. type: string
  4113. buyorsell:
  4114. description: 方向 0-买 1-卖
  4115. type: integer
  4116. diffmgqty:
  4117. description: 套保品种今变化量
  4118. type: number
  4119. diffneedqty:
  4120. description: 应套保总量变化量
  4121. type: number
  4122. difftradeqty:
  4123. description: 交易品种今变化量
  4124. type: number
  4125. enddate:
  4126. description: 结束交易日
  4127. type: string
  4128. enumdicname:
  4129. description: 单位名称
  4130. type: string
  4131. goodscode:
  4132. description: 商品代码
  4133. type: string
  4134. goodsid:
  4135. description: 商品id
  4136. type: integer
  4137. goodsname:
  4138. description: 商品名称
  4139. type: string
  4140. holdqty:
  4141. description: 期末持仓量
  4142. type: number
  4143. middlegoodscode:
  4144. description: 套保商品代码
  4145. type: string
  4146. middlegoodsid:
  4147. description: 套保商品id
  4148. type: integer
  4149. middlegoodsname:
  4150. description: 套保商品名称
  4151. type: string
  4152. oriholdqty:
  4153. description: 期初持仓量
  4154. type: number
  4155. todaycloseqty:
  4156. description: 今平仓量
  4157. type: number
  4158. todayopenqty:
  4159. description: 今开仓量
  4160. type: number
  4161. tradedate:
  4162. description: 交易日
  4163. type: string
  4164. type: object
  4165. models.Ermcp3ExposureHedgeplanDetail:
  4166. properties:
  4167. biztype:
  4168. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4169. type: integer
  4170. changqty:
  4171. description: 应套保总量变化量
  4172. type: number
  4173. contracttype:
  4174. description: 计划类型 - 1:采购 -1:销售
  4175. type: integer
  4176. convertratio:
  4177. description: 折算系数(套保品种)
  4178. type: number
  4179. deliverygoodscode:
  4180. description: 现货商品代码
  4181. type: string
  4182. deliverygoodsid:
  4183. description: 现货商品id
  4184. type: integer
  4185. deliverygoodsname:
  4186. description: 现货商吕名称
  4187. type: string
  4188. dgunitid:
  4189. description: 现货商品单位id
  4190. type: integer
  4191. dgunitidname:
  4192. description: 单位名称(现货商品)
  4193. type: string
  4194. diffqty:
  4195. description: 套保品种今变动量
  4196. type: number
  4197. enumdicname:
  4198. description: 单位名称(品类)
  4199. type: string
  4200. hedgeplanid:
  4201. description: 套保计划id
  4202. type: string
  4203. hedgeplanno:
  4204. description: 套保计划名称
  4205. type: string
  4206. hedgeplanstatus:
  4207. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4208. type: integer
  4209. mgunitidname:
  4210. description: 单位名称(套保商品)
  4211. type: string
  4212. middlegoodscode:
  4213. description: 套保品种代码
  4214. type: string
  4215. middlegoodsid:
  4216. description: 套保品种id
  4217. type: integer
  4218. middlegoodsname:
  4219. description: 套保品种名称
  4220. type: string
  4221. needarbitrageratio:
  4222. description: 应套利比例
  4223. type: number
  4224. needhedgeratio:
  4225. description: 应套保比例
  4226. type: number
  4227. pricedqty:
  4228. description: 已定价量
  4229. type: number
  4230. qty:
  4231. description: 合同量
  4232. type: number
  4233. tradedate:
  4234. description: 交易日(登记日)
  4235. type: string
  4236. unitid:
  4237. description: 品类单位id
  4238. type: integer
  4239. userid:
  4240. description: 机构id
  4241. type: integer
  4242. wrstandardcode:
  4243. description: 品类代码
  4244. type: string
  4245. wrstandardid:
  4246. description: 品类id
  4247. type: integer
  4248. wrstandardname:
  4249. description: 品类名称
  4250. type: string
  4251. type: object
  4252. models.Ermcp3ExposureParamChLog:
  4253. properties:
  4254. accountid:
  4255. description: 期货账户ID (作废, 默认为0)
  4256. type: integer
  4257. aftervalue:
  4258. description: 应套保\套利量变更后(调整后应套保总量)
  4259. type: number
  4260. areauserid:
  4261. description: 所属机构\交易用户ID
  4262. type: integer
  4263. beforevalue:
  4264. description: 应套保\套利量变更前(调整前应套保总量)
  4265. type: number
  4266. begindate:
  4267. description: 开始交易日
  4268. type: string
  4269. changelogtype:
  4270. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4271. type: integer
  4272. curvalue:
  4273. description: 当前套保\套利量(套保总量|套利总量)
  4274. type: number
  4275. diffvalue:
  4276. description: 应套保总量变化量
  4277. type: number
  4278. enddate:
  4279. description: 结束交易日
  4280. type: string
  4281. logdatetime:
  4282. description: 流水日期
  4283. type: string
  4284. logid:
  4285. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4286. type: string
  4287. middlegoodscode:
  4288. description: 套保品种代码
  4289. type: string
  4290. middlegoodsid:
  4291. description: 套保品种
  4292. type: integer
  4293. middlegoodsname:
  4294. description: 套保品种名称
  4295. type: string
  4296. paramaftervalue:
  4297. description: 参数变更后(调整后参数值)
  4298. type: number
  4299. parambeforevalue:
  4300. description: 参数变更前(调整前参数值)
  4301. type: number
  4302. tradedate:
  4303. description: 交易日(yyyyMMdd)
  4304. type: string
  4305. type: object
  4306. models.Ermcp3ExpourseReport:
  4307. properties:
  4308. accountid:
  4309. description: 期货账户ID (作废, 默认为0)
  4310. type: integer
  4311. accountname:
  4312. description: 机构名称
  4313. type: string
  4314. arbitrageqty:
  4315. description: 套利量
  4316. type: number
  4317. areauserid:
  4318. description: 所属机构\交易用户ID
  4319. type: integer
  4320. begindate:
  4321. description: 开始交易日
  4322. type: string
  4323. buyfutureqty:
  4324. description: 买入期货数量
  4325. type: number
  4326. buyplanqty:
  4327. description: 采购计划数量
  4328. type: number
  4329. buypricedqty:
  4330. description: 采购合同已定价数量
  4331. type: number
  4332. cycletime:
  4333. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4334. type: string
  4335. cycletype:
  4336. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4337. type: integer
  4338. diffexposure:
  4339. description: 变动量(套保敞口)
  4340. type: number
  4341. difffutuqty:
  4342. description: 变动量(期货)
  4343. type: number
  4344. diffhedgeqty:
  4345. description: 变动量(现货应套保总量)
  4346. type: number
  4347. diffmgqtya:
  4348. description: 套保变动量
  4349. type: number
  4350. diffmgqtyb:
  4351. description: 套利变动量
  4352. type: number
  4353. diffqty:
  4354. description: 变动量(总敞口)
  4355. type: number
  4356. diffspotqty:
  4357. description: 变动量(现货)
  4358. type: number
  4359. enddate:
  4360. description: 结束交易日
  4361. type: string
  4362. enumdicname:
  4363. description: 单位名称
  4364. type: string
  4365. hedgeqty:
  4366. description: 套保量
  4367. type: number
  4368. mgneedhedgeratio:
  4369. description: 套保比例(套保品的)
  4370. type: number
  4371. middlegoodsid:
  4372. description: 套保品种ID
  4373. type: integer
  4374. middlegoodsname:
  4375. description: 套保商品名称
  4376. type: string
  4377. middlgoodscode:
  4378. description: 套保商品代码
  4379. type: string
  4380. needarbitrageqty:
  4381. description: 应套利量
  4382. type: number
  4383. needarbitrageratio:
  4384. description: 套利比例(套保品的)
  4385. type: number
  4386. needhedgeexposoure:
  4387. description: 应套保敞口(套保敞口)
  4388. type: number
  4389. needhedgeqty:
  4390. description: 应套保量
  4391. type: number
  4392. needhedgeratio:
  4393. description: 应套保敞口比例
  4394. type: number
  4395. oriarbitrageqty:
  4396. description: 期初套利量
  4397. type: number
  4398. oribuyfutureqty:
  4399. description: 期初买入期货数量
  4400. type: number
  4401. oribuyplanqty:
  4402. description: 期初采购计划数量
  4403. type: number
  4404. oribuypricedqty:
  4405. description: 期初采购合同已定价数量
  4406. type: number
  4407. orihedgeqty:
  4408. description: 期初套保量
  4409. type: number
  4410. orineedarbitrageqty:
  4411. description: 期初应套利量
  4412. type: number
  4413. orineedhedgeexposoure:
  4414. description: 期初应套保敞口
  4415. type: number
  4416. orineedhedgeqty:
  4417. description: 期初应套保量
  4418. type: number
  4419. orisellfutureqty:
  4420. description: 期初卖出期货数量
  4421. type: number
  4422. orisellplanqty:
  4423. description: 期初销售计划数量
  4424. type: number
  4425. orisellpricedqty:
  4426. description: 期初销售合同已定价数量
  4427. type: number
  4428. oritotalexposure:
  4429. description: 期初实时总敞口
  4430. type: number
  4431. oritotalfutureqty:
  4432. description: 期初期货头寸总量
  4433. type: number
  4434. oritotalneedhedgeqty:
  4435. description: 期初应套保总量
  4436. type: number
  4437. oritotalspotqty:
  4438. description: 期初现货头寸总量
  4439. type: number
  4440. reckondate:
  4441. description: 日照时期(yyyyMMdd)
  4442. type: string
  4443. sellfutureqty:
  4444. description: 卖出期货数量
  4445. type: number
  4446. sellplanqty:
  4447. description: 销售计划数量
  4448. type: number
  4449. sellpricedqty:
  4450. description: 销售合同已定价数量
  4451. type: number
  4452. totalexposure:
  4453. description: 实时总敞口(总敞口)
  4454. type: number
  4455. totalfutureqty:
  4456. description: 期货头寸总量(期货总量)
  4457. type: number
  4458. totalhedgeratio:
  4459. description: 敞口比例
  4460. type: number
  4461. totalneedhedgeqty:
  4462. description: 应套保总量(现货应套保总量)
  4463. type: number
  4464. totalspotqty:
  4465. description: 现货头寸总量
  4466. type: number
  4467. unitid:
  4468. description: 单位id
  4469. type: integer
  4470. updatetime:
  4471. description: 更新时间
  4472. type: string
  4473. type: object
  4474. models.Ermcp3FinanceReport:
  4475. properties:
  4476. accountname:
  4477. description: 机构名称
  4478. type: string
  4479. areauserid:
  4480. description: 所属机构\交易用户ID
  4481. type: integer
  4482. begindate:
  4483. description: 开始交易日
  4484. type: string
  4485. biztype:
  4486. description: 业务类型 - 1:套保 2:套利
  4487. type: integer
  4488. brandname:
  4489. description: 品牌名称
  4490. type: string
  4491. buypreinvoicedamount:
  4492. description: 采购预收票额(预收票额)
  4493. type: number
  4494. buyprepaidamount:
  4495. description: 采购预付款额(预付货款额)
  4496. type: number
  4497. buytodayinvoiceamount:
  4498. description: 采购今收票额(今收票额)
  4499. type: number
  4500. buytodayrefundamount:
  4501. description: 采购今收退款额(今收退款额)
  4502. type: number
  4503. buytodaysettleamount:
  4504. description: 采购今付款额(今付货款额)
  4505. type: number
  4506. buyuninvoicedamount:
  4507. description: 采购应收票额(应收票额)
  4508. type: number
  4509. buyunpaidamount:
  4510. description: 采购应付款额(应付货款额)
  4511. type: number
  4512. currencyid:
  4513. description: 结算币种ID
  4514. type: integer
  4515. currencyname:
  4516. description: 币种名称
  4517. type: string
  4518. cycletime:
  4519. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4520. type: string
  4521. cycletype:
  4522. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4523. type: integer
  4524. deliverygoodscode:
  4525. description: 现货品种代码
  4526. type: string
  4527. deliverygoodsid:
  4528. description: 现货品种ID
  4529. type: integer
  4530. deliverygoodsname:
  4531. description: 现货品种名称
  4532. type: string
  4533. enddate:
  4534. description: 结束交易日
  4535. type: string
  4536. reckondate:
  4537. description: 日照时期(yyyyMMdd)
  4538. type: string
  4539. sellpreinvoicedamount:
  4540. description: 销售预开票额(预开票额)
  4541. type: number
  4542. sellprepaidamount:
  4543. description: 销售预收款额(预收货款额)
  4544. type: number
  4545. selltodayinvoiceamount:
  4546. description: 销售今开票额(今开票额)
  4547. type: number
  4548. selltodayrefundamount:
  4549. description: 销售今付退款额(今付退款额)
  4550. type: number
  4551. selltodaysettleamount:
  4552. description: 销售今收款额(今收货款额)
  4553. type: number
  4554. selluninvoicedamount:
  4555. description: 销售应开票额(应开票额)
  4556. type: number
  4557. sellunpaidamount:
  4558. description: 销售应收款额(应收货款额)
  4559. type: number
  4560. spotgoodsbrandid:
  4561. description: 现货品牌ID
  4562. type: integer
  4563. todaypaysum:
  4564. description: 今付款合计
  4565. type: number
  4566. todayreceivesum:
  4567. description: 今收款合计
  4568. type: number
  4569. updatetime:
  4570. description: 更新时间
  4571. type: string
  4572. wrfactortypeid:
  4573. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4574. type: integer
  4575. wrstandardcode:
  4576. description: 品类代码
  4577. type: string
  4578. wrstandardid:
  4579. description: 现货商品ID
  4580. type: integer
  4581. wrstandardname:
  4582. description: 品类名称
  4583. type: string
  4584. type: object
  4585. models.Ermcp3Goods:
  4586. properties:
  4587. agreeunit:
  4588. description: 合约单位(合约乘数)
  4589. type: number
  4590. enumdicname:
  4591. description: 单位名称
  4592. type: string
  4593. exexchangecode:
  4594. description: 交易所代码
  4595. type: string
  4596. goodscode:
  4597. description: 期货商品代码
  4598. type: string
  4599. goodsid:
  4600. description: 期货商品id
  4601. type: integer
  4602. goodsname:
  4603. description: 期货商品名称
  4604. type: string
  4605. type: object
  4606. models.Ermcp3GoodsGroup:
  4607. properties:
  4608. agreeunit:
  4609. description: 合约单位
  4610. type: number
  4611. areauserid:
  4612. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4613. type: integer
  4614. canshort:
  4615. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4616. type: integer
  4617. closepricemode:
  4618. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4619. type: integer
  4620. createtime:
  4621. description: 创建时间
  4622. type: string
  4623. creatorid:
  4624. description: 创建人
  4625. type: integer
  4626. currencyid:
  4627. description: 报价货币ID
  4628. type: integer
  4629. decimalplace:
  4630. description: 报价小数位
  4631. type: integer
  4632. enumdicname:
  4633. description: 单位名称
  4634. type: string
  4635. exchangefullname:
  4636. description: 交易所全称
  4637. type: string
  4638. excludecfg:
  4639. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4640. type: integer
  4641. exexchangecode:
  4642. description: 交易所代码
  4643. type: string
  4644. exexchangeid:
  4645. description: 外部交易所ID[通道交易]
  4646. type: integer
  4647. exexchangename:
  4648. description: 交易所名称
  4649. type: string
  4650. goodsgroupid:
  4651. description: 商品组ID(自增ID)
  4652. type: integer
  4653. goodsgroupname:
  4654. description: 商品组名称
  4655. type: string
  4656. goodsgroupstatus:
  4657. description: 商品组状态 - 1:正常 2:注销
  4658. type: integer
  4659. goodunitid:
  4660. description: 报价单位ID
  4661. type: integer
  4662. groupcategroyid:
  4663. description: 品种分类ID
  4664. type: integer
  4665. innerdealmode:
  4666. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4667. type: integer
  4668. marketid:
  4669. description: 所属市场ID
  4670. type: integer
  4671. modifierid:
  4672. description: 修改人
  4673. type: integer
  4674. modifytime:
  4675. description: 修改时间
  4676. type: string
  4677. outerdealmode:
  4678. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4679. type: integer
  4680. outergroupcode:
  4681. description: 外部商品组代码[通道交易]
  4682. type: string
  4683. quoteminunit:
  4684. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4685. type: integer
  4686. quotesourcegroupid:
  4687. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4688. type: integer
  4689. syncgoodsqty:
  4690. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4691. type: integer
  4692. required:
  4693. - areauserid
  4694. type: object
  4695. models.Ermcp3GoodsGroupEx:
  4696. properties:
  4697. convertratio:
  4698. description: 折算系数(品种系数)
  4699. type: number
  4700. enumdicname:
  4701. description: 单位名称
  4702. type: string
  4703. exexchangecode:
  4704. description: 交易所代码
  4705. type: string
  4706. glist:
  4707. description: 合约列表
  4708. items:
  4709. $ref: '#/definitions/models.Ermcp3Goods'
  4710. type: array
  4711. goodsgroupid:
  4712. description: 商品组id
  4713. type: integer
  4714. goodsgroupname:
  4715. description: 商品组名称
  4716. type: string
  4717. goodsunitid:
  4718. description: 单位id
  4719. type: integer
  4720. middlegoodsid:
  4721. description: 套保商品id
  4722. type: integer
  4723. type: object
  4724. models.Ermcp3HedgePlan:
  4725. properties:
  4726. accountid:
  4727. description: 资金账号
  4728. type: integer
  4729. areauserid:
  4730. description: 用户ID
  4731. type: integer
  4732. auditid:
  4733. description: 审核id
  4734. type: integer
  4735. auditname:
  4736. description: 审核人名称
  4737. type: string
  4738. auditremark:
  4739. description: 审核备注
  4740. type: string
  4741. auditsrc:
  4742. description: 审核来源 1-管理端 2-终端
  4743. type: integer
  4744. audittime:
  4745. description: 审核时间
  4746. type: string
  4747. contracttype:
  4748. description: 计划类型 - 1:采购 -1:销售
  4749. type: integer
  4750. convertfactor:
  4751. description: 标仓系数
  4752. type: number
  4753. createtime:
  4754. description: 创建时间
  4755. type: string
  4756. currencyid:
  4757. description: 币种id
  4758. type: integer
  4759. currencyname:
  4760. description: 币种名称
  4761. type: string
  4762. deliverygoodscode:
  4763. description: 现货品种代码
  4764. type: string
  4765. deliverygoodsid:
  4766. description: 现货品种ID
  4767. type: integer
  4768. deliverygoodsname:
  4769. description: 现货品种名称
  4770. type: string
  4771. enumdicname:
  4772. description: 单位名称(现货商品)
  4773. type: string
  4774. hedgeplanid:
  4775. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4776. type: string
  4777. hedgeplanno:
  4778. description: 套保计划编号(名称)
  4779. type: string
  4780. hedgeplanstatus:
  4781. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4782. type: integer
  4783. planqty:
  4784. description: 计划数量
  4785. type: number
  4786. plantime:
  4787. description: 计划时间
  4788. type: string
  4789. producttype:
  4790. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4791. type: integer
  4792. remark:
  4793. description: 备注
  4794. type: string
  4795. spotgoodsdesc:
  4796. description: 商品型号
  4797. type: string
  4798. taaccountname:
  4799. description: 资金账号名称
  4800. type: string
  4801. tradeuserid:
  4802. description: 交易用户id
  4803. type: integer
  4804. tradeusername:
  4805. description: 交易用户名称
  4806. type: string
  4807. unitid:
  4808. description: 单位id(现货商品)
  4809. type: integer
  4810. updatetime:
  4811. description: 更新时间
  4812. type: string
  4813. wrstandardcode:
  4814. description: 品类代码
  4815. type: string
  4816. wrstandardid:
  4817. description: 品类id
  4818. type: integer
  4819. wrstandardname:
  4820. description: 品类名称
  4821. type: string
  4822. wrunitid:
  4823. description: 品类单位id
  4824. type: integer
  4825. wrunitidame:
  4826. description: 品类单位名称
  4827. type: string
  4828. type: object
  4829. models.Ermcp3MiddleGoodsDetail2:
  4830. properties:
  4831. convertratio:
  4832. description: 套保系数(折算系数)
  4833. type: number
  4834. gplist:
  4835. description: 关联商品组列表
  4836. items:
  4837. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4838. type: array
  4839. mg:
  4840. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4841. description: 套保商品信息
  4842. type: object
  4843. type: object
  4844. models.Ermcp3MiddleGoodsDetailEx:
  4845. properties:
  4846. dglist:
  4847. description: 关联的现货品种列表
  4848. items:
  4849. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4850. type: array
  4851. gplist:
  4852. description: 关联商品组列表
  4853. items:
  4854. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4855. type: array
  4856. mg:
  4857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4858. description: 套保商品信息
  4859. type: object
  4860. type: object
  4861. models.Ermcp3RootUserAccount:
  4862. properties:
  4863. accountname:
  4864. description: 账户名称(机构名称)
  4865. type: string
  4866. accountstatus:
  4867. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4868. type: integer
  4869. applysrc:
  4870. description: 申请来源 - 1:管理端 2:终端
  4871. type: integer
  4872. auditremark:
  4873. description: 审核备注
  4874. type: string
  4875. auditsrc:
  4876. description: 审核来源 - 1:管理端 2:终端
  4877. type: integer
  4878. audittime:
  4879. description: 审核时间
  4880. type: string
  4881. audituserid:
  4882. description: 审核人
  4883. type: integer
  4884. broker:
  4885. description: 所属经纪人ID
  4886. type: integer
  4887. canceltime:
  4888. description: 销户时间
  4889. type: string
  4890. canceluserid:
  4891. description: 销户人
  4892. type: integer
  4893. canrecommend:
  4894. description: 是否可推荐 - 0:不可 1;可
  4895. type: integer
  4896. createtime:
  4897. description: 创建时间
  4898. type: string
  4899. creatorid:
  4900. description: 创建人
  4901. type: integer
  4902. hasauth:
  4903. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4904. type: integer
  4905. isanonymous:
  4906. description: 是否匿名下单 - 0:否 1:是
  4907. type: integer
  4908. maxinvestornum:
  4909. description: 最大用户数(经纪会员下投资者个数)
  4910. type: integer
  4911. memberuserid:
  4912. description: 所属会员ID
  4913. type: integer
  4914. modifierid:
  4915. description: 修改人
  4916. type: integer
  4917. modifyremark:
  4918. description: 变更备注
  4919. type: string
  4920. modifystatus:
  4921. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4922. type: integer
  4923. modifytime:
  4924. description: 修改时间
  4925. type: string
  4926. parenttopuser:
  4927. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4928. type: string
  4929. parentuserid:
  4930. description: 所属机构ID
  4931. type: integer
  4932. reckonaccountid:
  4933. description: 默认结算资金账号ID(机构分润使用) 作废
  4934. type: integer
  4935. refercount:
  4936. description: 推荐总人数
  4937. type: integer
  4938. refereeuserid:
  4939. description: 推荐人ID
  4940. type: integer
  4941. refernum:
  4942. description: 推荐码
  4943. type: string
  4944. rootuserid:
  4945. description: 根用户ID
  4946. type: integer
  4947. subaccountlevel:
  4948. description: 子账户层数
  4949. type: integer
  4950. subarealevelpath:
  4951. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4952. type: string
  4953. userid:
  4954. description: 用户ID
  4955. type: integer
  4956. usertype:
  4957. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4958. type: integer
  4959. type: object
  4960. models.Ermcp3SellBuyContract:
  4961. properties:
  4962. accountid:
  4963. description: 期货账户id
  4964. type: string
  4965. accountname:
  4966. description: 账户名称
  4967. type: string
  4968. attachment:
  4969. description: 附件
  4970. type: string
  4971. audittime:
  4972. description: 审核时间
  4973. type: string
  4974. biztype:
  4975. description: 业务类型 1-套保 2-套利
  4976. type: integer
  4977. brandname:
  4978. description: 品牌名称
  4979. type: string
  4980. contracctstatus:
  4981. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4982. type: integer
  4983. contractmargin:
  4984. description: 合同保证金
  4985. type: number
  4986. contractno:
  4987. description: 合同编号
  4988. type: string
  4989. contracttype:
  4990. description: 合同类型 1-采购, -1-销售
  4991. type: integer
  4992. convertfactor:
  4993. description: 标仓系数(品类)
  4994. type: number
  4995. createtime:
  4996. description: 创建时间
  4997. type: string
  4998. currencyid:
  4999. description: 币种id
  5000. type: integer
  5001. currencyname:
  5002. description: 币种名称
  5003. type: string
  5004. daikaiamount:
  5005. description: 应收(开)票额
  5006. type: number
  5007. deliveryenddate:
  5008. description: 交割结束日
  5009. type: string
  5010. deliverygoodscode:
  5011. description: 现货品种代码
  5012. type: string
  5013. deliverygoodsid:
  5014. description: 现货商品ID
  5015. type: integer
  5016. deliverygoodsname:
  5017. description: 现货品种名称
  5018. type: string
  5019. deliverystartdate:
  5020. description: 交割开始日
  5021. type: string
  5022. enddate:
  5023. description: 点价结束日
  5024. type: string
  5025. enumdicname:
  5026. description: 单位名称
  5027. type: string
  5028. goodscode:
  5029. description: 点价商品代码
  5030. type: string
  5031. goodsid:
  5032. description: 点价商品ID
  5033. type: integer
  5034. goodsname:
  5035. description: 点价商品名称
  5036. type: string
  5037. invoiceamount:
  5038. description: 已开票额
  5039. type: number
  5040. loanamount:
  5041. description: 贷款总额=已定价额+调整金额
  5042. type: number
  5043. margin:
  5044. description: 保证金
  5045. type: number
  5046. meruserid:
  5047. description: 跟单员id
  5048. type: integer
  5049. meruserlogincode:
  5050. description: 跟单员登录代码
  5051. type: string
  5052. merusername:
  5053. description: 跟单员名称
  5054. type: string
  5055. nickname:
  5056. description: 账户昵称
  5057. type: string
  5058. payamount:
  5059. description: 已收付额(收款或付款)
  5060. type: number
  5061. preinvoiceamount:
  5062. description: 预收(开)票额
  5063. type: number
  5064. prepayamount:
  5065. description: 预收付额
  5066. type: number
  5067. price:
  5068. description: 价格
  5069. type: number
  5070. pricedamount:
  5071. description: 已定价额
  5072. type: number
  5073. pricedavg:
  5074. description: 已点均价
  5075. type: number
  5076. pricedqty:
  5077. description: 已定价量
  5078. type: number
  5079. pricemove:
  5080. description: 升贴水
  5081. type: number
  5082. pricetype:
  5083. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5084. type: integer
  5085. producttype:
  5086. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5087. type: integer
  5088. qty:
  5089. description: 合同量
  5090. type: number
  5091. reckonadjustamount:
  5092. description: 调整金额
  5093. type: number
  5094. reckonedamount:
  5095. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5096. type: number
  5097. reckonotheramount:
  5098. description: 其它费用
  5099. type: number
  5100. reckonrealqty:
  5101. description: 已确定量
  5102. type: number
  5103. remark:
  5104. description: 备注
  5105. type: string
  5106. saleuserid:
  5107. description: 业务员id
  5108. type: integer
  5109. saleuserlogincode:
  5110. description: 业务员登录代码
  5111. type: string
  5112. saleusername:
  5113. description: 业务员名称
  5114. type: string
  5115. spotcontractid:
  5116. description: 合同ID
  5117. type: string
  5118. spotgoodsbrandid:
  5119. description: 现货品牌ID(DGFactoryItem表的ID)
  5120. type: integer
  5121. spotgoodsdesc:
  5122. description: 商品型号(商品规格)
  5123. type: string
  5124. startdate:
  5125. description: 点价开始日
  5126. type: string
  5127. totalamount:
  5128. description: 合计总额
  5129. type: number
  5130. tradeuserid:
  5131. description: 交易员id
  5132. type: integer
  5133. tradeuserlogincode:
  5134. description: 交易员登录代码
  5135. type: string
  5136. tradeusername:
  5137. description: 交易员名称
  5138. type: string
  5139. unpayamount:
  5140. description: 应收付款额(应支付或应收款)
  5141. type: number
  5142. unpricedqty:
  5143. description: 未定价量
  5144. type: number
  5145. unsureqty:
  5146. description: 未确定量
  5147. type: number
  5148. userid:
  5149. description: 机构ID
  5150. type: integer
  5151. wrstandardcode:
  5152. description: 品类代码
  5153. type: string
  5154. wrstandardid:
  5155. description: 品类ID
  5156. type: integer
  5157. wrstandardname:
  5158. description: 品类名称
  5159. type: string
  5160. type: object
  5161. models.Ermcp3SpotGoodsPrice:
  5162. properties:
  5163. areauserid:
  5164. description: 所属机构id
  5165. type: integer
  5166. brandname:
  5167. description: 品牌名称
  5168. type: string
  5169. currencyid:
  5170. description: 报价货币ID
  5171. type: integer
  5172. currencyname:
  5173. description: 币种名称
  5174. type: string
  5175. deliverygoodscode:
  5176. description: 现货商品代码
  5177. type: string
  5178. deliverygoodsid:
  5179. description: 现货商品id
  5180. type: integer
  5181. deliverygoodsname:
  5182. description: 现货商品名称
  5183. type: string
  5184. enumdicname:
  5185. description: 现货商品单位名称
  5186. type: string
  5187. gbenumdicname:
  5188. description: 品类单位名称
  5189. type: string
  5190. gmunitid:
  5191. description: 品类单位id
  5192. type: integer
  5193. isvalid:
  5194. description: 是否有效 - 0:无效 1:有效
  5195. type: integer
  5196. operateid:
  5197. description: 最后操作人
  5198. type: integer
  5199. operatesrc:
  5200. description: 最后操作来源 - 1:管理端 2:终端
  5201. type: integer
  5202. operatetime:
  5203. description: 最后操作时间
  5204. type: string
  5205. operatorname:
  5206. description: 操作人名称
  5207. type: string
  5208. spotgoodsbrandid:
  5209. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5210. type: integer
  5211. spotgoodsprice:
  5212. description: 现货价格
  5213. type: number
  5214. tradedate:
  5215. description: 交易日(yyyyMMdd)
  5216. type: string
  5217. unitid:
  5218. description: 现货商品单位id
  5219. type: integer
  5220. wrstandardcode:
  5221. description: 品类代码
  5222. type: string
  5223. wrstandardid:
  5224. description: 现货品类ID(通用则为0)
  5225. type: integer
  5226. wrstandardname:
  5227. description: 品类名称
  5228. type: string
  5229. type: object
  5230. models.Ermcp3SpotGoodsPriceLog:
  5231. properties:
  5232. areauserid:
  5233. description: 所属机构id
  5234. type: integer
  5235. brandname:
  5236. description: 品牌名称
  5237. type: string
  5238. currencyid:
  5239. description: 报价货币ID
  5240. type: integer
  5241. deliverygoodscode:
  5242. description: 现货商品代码
  5243. type: string
  5244. deliverygoodsid:
  5245. description: 现货商品id
  5246. type: integer
  5247. deliverygoodsname:
  5248. description: 现货商品名称
  5249. type: string
  5250. enumdicname:
  5251. description: 现货商品单位名称
  5252. type: string
  5253. gbenumdicname:
  5254. description: 品类单位名称
  5255. type: string
  5256. gmunitid:
  5257. description: 品类单位id
  5258. type: integer
  5259. logid:
  5260. description: 日志id
  5261. type: integer
  5262. operateid:
  5263. description: 最后操作人
  5264. type: integer
  5265. operatesrc:
  5266. description: 最后操作来源 - 1:管理端 2:终端
  5267. type: integer
  5268. operatetime:
  5269. description: 最后操作时间
  5270. type: string
  5271. operatorname:
  5272. description: 操作人名称
  5273. type: string
  5274. spotgoodsbrandid:
  5275. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5276. type: integer
  5277. spotgoodsprice:
  5278. description: 现货价格
  5279. type: number
  5280. tradedate:
  5281. description: 交易日(yyyyMMdd)
  5282. type: string
  5283. unitid:
  5284. description: 现货商品单位id
  5285. type: integer
  5286. wrstandardcode:
  5287. description: 品类代码
  5288. type: string
  5289. wrstandardid:
  5290. description: 现货品类ID(通用则为0)
  5291. type: integer
  5292. wrstandardname:
  5293. description: 品类名称
  5294. type: string
  5295. type: object
  5296. models.Ermcp3TaFutuReDataReport:
  5297. properties:
  5298. accountid:
  5299. description: 交易账户
  5300. type: integer
  5301. accountname:
  5302. description: 交易账号名称
  5303. type: string
  5304. agreeunit:
  5305. description: 商品合约单位
  5306. type: number
  5307. begindate:
  5308. description: 开始交易日
  5309. type: string
  5310. buyorsell:
  5311. description: 持仓方向
  5312. type: integer
  5313. charge:
  5314. description: 手续费
  5315. type: number
  5316. closeavgprice:
  5317. description: 平仓均价
  5318. type: number
  5319. closepl:
  5320. description: 平仓损益
  5321. type: number
  5322. currencyid:
  5323. description: 结算币种ID
  5324. type: integer
  5325. currencyname:
  5326. description: 币种名称
  5327. type: string
  5328. cycletime:
  5329. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5330. type: string
  5331. cycletype:
  5332. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5333. type: integer
  5334. enddate:
  5335. description: 结束交易日
  5336. type: string
  5337. enumdicname:
  5338. description: 单位名称
  5339. type: string
  5340. floatpl:
  5341. description: 浮动损益
  5342. type: number
  5343. goodscode:
  5344. description: 交易合约代码
  5345. type: string
  5346. goodsgroupid:
  5347. description: 交易品种
  5348. type: integer
  5349. goodsgroupname:
  5350. description: 交易品种名称
  5351. type: string
  5352. goodsgroupspotqty:
  5353. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5354. type: number
  5355. goodsid:
  5356. description: 交易合约
  5357. type: integer
  5358. goodsname:
  5359. description: 交易合约名称
  5360. type: string
  5361. goodunitid:
  5362. description: 交易合约单位id
  5363. type: integer
  5364. holdamount:
  5365. description: 期末持仓额
  5366. type: number
  5367. holdqty:
  5368. description: 期末持仓量
  5369. type: number
  5370. lastholdamount:
  5371. description: 当前持仓额
  5372. type: number
  5373. lastprice:
  5374. description: 最新价
  5375. type: number
  5376. middlegoodsid:
  5377. description: 套保品种id
  5378. type: integer
  5379. middlegoodsname:
  5380. description: 套保商品名称
  5381. type: string
  5382. middlegoodsqty:
  5383. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5384. type: number
  5385. middlgoodscode:
  5386. description: 套保商品代码
  5387. type: string
  5388. openamount:
  5389. description: 期末开仓额
  5390. type: number
  5391. openavgprice:
  5392. description: 开仓均价
  5393. type: number
  5394. oriholdamount:
  5395. description: 期初持仓额
  5396. type: number
  5397. oriholdqty:
  5398. description: 期初持仓量
  5399. type: number
  5400. oriopenamount:
  5401. description: 期初开仓额
  5402. type: number
  5403. outergroupcode:
  5404. description: 交易品种代码
  5405. type: string
  5406. qtydecimalplace:
  5407. description: 成交量小数位
  5408. type: integer
  5409. reckondate:
  5410. description: 日照时期(yyyyMMdd)
  5411. type: string
  5412. reckonholdamount:
  5413. description: 结算持仓额
  5414. type: number
  5415. reckonpl:
  5416. description: 结算损益
  5417. type: number
  5418. reckonpl2:
  5419. description: 结算逐笔盈亏
  5420. type: number
  5421. reckonprice:
  5422. description: 结算价
  5423. type: number
  5424. relateduserid:
  5425. description: 账户关联用户ID
  5426. type: integer
  5427. todaycloseamount:
  5428. description: 今平仓额
  5429. type: number
  5430. todaycloseqty:
  5431. description: 今平仓量
  5432. type: number
  5433. todaygoodsgroupspotqty:
  5434. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5435. type: number
  5436. todaymiddlegoodsqty:
  5437. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5438. type: number
  5439. todayopenamount:
  5440. description: 今开仓额
  5441. type: number
  5442. todayopenqty:
  5443. description: 今开仓量
  5444. type: number
  5445. userid:
  5446. description: 账户所属用户ID
  5447. type: integer
  5448. type: object
  5449. models.Ermcp3Wrstandard:
  5450. properties:
  5451. areauserid:
  5452. description: 所属机构
  5453. type: integer
  5454. cantrade:
  5455. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  5456. type: integer
  5457. convertfactor:
  5458. description: 标仓系数
  5459. type: number
  5460. createtime:
  5461. description: 创建时间
  5462. type: string
  5463. creatorid:
  5464. description: 创建人
  5465. type: integer
  5466. deliverygoodsid:
  5467. description: 现货品种ID
  5468. type: integer
  5469. enumdicname:
  5470. description: 品类单位名称
  5471. type: string
  5472. isvalid:
  5473. description: 是否有效 0-无效(停用) 1-有效(正常)
  5474. type: integer
  5475. minivalue:
  5476. description: 最小变动值
  5477. type: integer
  5478. minivaluedp:
  5479. description: 最小变动值小数位
  5480. type: integer
  5481. realminivalue:
  5482. description: 实际最小变动值
  5483. type: integer
  5484. realminivaluedp:
  5485. description: 实际最小变动值小数位
  5486. type: integer
  5487. remark:
  5488. description: 备注
  5489. type: string
  5490. unitid:
  5491. description: 品类单位ID
  5492. type: integer
  5493. updatetime:
  5494. description: 更新时间
  5495. type: string
  5496. wrstandardcode:
  5497. description: 品类代码
  5498. type: string
  5499. wrstandardid:
  5500. description: 品类ID(SEQ_WRSTANDARD)
  5501. type: integer
  5502. wrstandardname:
  5503. description: 品类名称
  5504. type: string
  5505. type: object
  5506. models.ErmcpAreaSpotDetailModel:
  5507. properties:
  5508. contracttype:
  5509. description: 合同类型 1-采购 -1-销售
  5510. type: integer
  5511. createtime:
  5512. description: 创建时间
  5513. type: string
  5514. enumdicname:
  5515. description: 现货商品单位名称
  5516. type: string
  5517. logtype:
  5518. description: 记录类型 1-套保 2-现货合同
  5519. type: integer
  5520. qty:
  5521. description: 数量
  5522. type: number
  5523. recordname:
  5524. description: 类型名称
  5525. type: string
  5526. relatedid:
  5527. description: 套保计划ID/现货合同ID
  5528. type: string
  5529. relatedno:
  5530. description: 编号
  5531. type: string
  5532. strtime:
  5533. description: 时间
  5534. type: string
  5535. wrstandardcode:
  5536. description: 现货商品代码
  5537. type: string
  5538. wrstandardname:
  5539. description: 现货商品名称
  5540. type: string
  5541. type: object
  5542. models.ErmcpAvalidGoodsGroupModel:
  5543. properties:
  5544. goodsgroupid:
  5545. description: 期货品种id
  5546. type: integer
  5547. goodsgroupname:
  5548. description: 期货品种名称
  5549. type: string
  5550. goodunitid:
  5551. description: 品种单位id
  5552. type: integer
  5553. goodunitname:
  5554. description: 品种单位名称
  5555. type: string
  5556. outergroupcode:
  5557. description: 期货品种代码
  5558. type: string
  5559. type: object
  5560. models.ErmcpBizGroupEx:
  5561. properties:
  5562. acclist:
  5563. description: 账号列表
  5564. items:
  5565. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5566. type: array
  5567. bizgroupid:
  5568. description: 业务分组id
  5569. type: integer
  5570. biztype:
  5571. description: 业务类型 1-套保 2-套利
  5572. type: integer
  5573. wrlist:
  5574. description: 现货商品表
  5575. items:
  5576. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5577. type: array
  5578. type: object
  5579. models.ErmcpBizGroupSpotGoods:
  5580. properties:
  5581. areauserid:
  5582. description: 所属机构id
  5583. type: integer
  5584. bizgroupid:
  5585. description: 分组id
  5586. type: integer
  5587. biztype:
  5588. description: 业务类型 1-套保 2-套利
  5589. type: integer
  5590. deliverygoodscode:
  5591. description: 现货商品代码
  5592. type: string
  5593. deliverygoodsid:
  5594. description: 现货商品id
  5595. type: integer
  5596. deliverygoodsname:
  5597. description: 现货商品名称
  5598. type: string
  5599. unitid:
  5600. description: 现货商品单位id
  5601. type: integer
  5602. type: object
  5603. models.ErmcpBizGroupTaAccount:
  5604. properties:
  5605. accountid:
  5606. description: 账号id
  5607. type: integer
  5608. accountname:
  5609. description: 账号名称
  5610. type: string
  5611. areauserid:
  5612. description: 所属机构id
  5613. type: integer
  5614. bizgroupid:
  5615. description: 业务分组id
  5616. type: integer
  5617. ismain:
  5618. description: 是否主账号 1-是 0-否
  5619. type: integer
  5620. type: object
  5621. models.ErmcpDGFactoryItem:
  5622. properties:
  5623. areauserid:
  5624. description: 用户id
  5625. type: integer
  5626. deliverygoodsid:
  5627. description: 现货品种ID
  5628. type: integer
  5629. dgfactoryitemid:
  5630. description: 选择项ID(SEQ_DGFACTORYITEM)
  5631. type: integer
  5632. dgfactoryitemtypeid:
  5633. description: 要素项类型
  5634. type: integer
  5635. dgfactoryitemvalue:
  5636. description: 要素项值(类型为仓库时填写仓库名称)
  5637. type: string
  5638. isvalid:
  5639. description: 是否有效 - 0:无效 1:有效
  5640. type: integer
  5641. orderindex:
  5642. description: 顺序
  5643. type: integer
  5644. warehouseid:
  5645. description: 仓库ID(类型为仓库时填写)
  5646. type: integer
  5647. type: object
  5648. models.ErmcpDeliveryGoods:
  5649. properties:
  5650. agreeunit:
  5651. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5652. type: integer
  5653. areauserid:
  5654. description: 所属机构
  5655. type: integer
  5656. auditflag:
  5657. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5658. type: integer
  5659. categoryid:
  5660. description: 类别ID(SEQ_WRCATEGORY)
  5661. type: integer
  5662. deliverygoodscode:
  5663. description: 现货品种代码
  5664. type: string
  5665. deliverygoodsid:
  5666. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5667. type: integer
  5668. deliverygoodsname:
  5669. description: 现货品种名称
  5670. type: string
  5671. deliverygoodstype:
  5672. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5673. type: integer
  5674. dgstatus:
  5675. description: 品种状态 - 作废 - 0:未激活 1:正常
  5676. type: integer
  5677. enumdicname:
  5678. description: 现货品种单位名称
  5679. type: string
  5680. goodsunitid:
  5681. description: 现货品种单位ID
  5682. type: integer
  5683. isvalid:
  5684. description: 是否有效 - 0:无效 1:有效
  5685. type: integer
  5686. qtydecimalplace:
  5687. description: 成交量小数位
  5688. type: integer
  5689. remark:
  5690. description: 备注
  5691. type: string
  5692. standardqty:
  5693. description: 标准数量(库位数量) [标准品特有]
  5694. type: integer
  5695. standardqtyrange:
  5696. description: 标准数量偏差范围 [标准品特有]
  5697. type: integer
  5698. type: object
  5699. models.ErmcpDeliveryGoodsDetail2:
  5700. properties:
  5701. convertratio:
  5702. description: 套保系数(折算系数)
  5703. type: number
  5704. data:
  5705. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5706. description: 现货商品基本信息(交割品种)
  5707. type: object
  5708. gblist:
  5709. description: 品牌列表
  5710. items:
  5711. $ref: '#/definitions/models.Ermcp3Brand'
  5712. type: array
  5713. gmlist:
  5714. description: 品类列表(仓单标准)
  5715. items:
  5716. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5717. type: array
  5718. type: object
  5719. models.ErmcpDeliveryGoodsDetailEx:
  5720. properties:
  5721. data:
  5722. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5723. description: 现货商品基本信息(交割品种)
  5724. type: object
  5725. gblist:
  5726. description: 品牌列表
  5727. items:
  5728. $ref: '#/definitions/models.Ermcp3Brand'
  5729. type: array
  5730. gmlist:
  5731. description: 品类列表(仓单标准)
  5732. items:
  5733. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5734. type: array
  5735. mgList:
  5736. description: 套保列表
  5737. items:
  5738. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5739. type: array
  5740. type: object
  5741. models.ErmcpExposureDetailModel:
  5742. properties:
  5743. areauserid:
  5744. description: 机构ID
  5745. type: integer
  5746. changeQty:
  5747. description: 套保变动量
  5748. type: number
  5749. contracttype:
  5750. description: 现货合同类型 - 1:采购 -1:销售
  5751. type: integer
  5752. convertfactor:
  5753. description: 标仓系数
  5754. type: number
  5755. convertratio:
  5756. description: 套保系数
  5757. type: number
  5758. createtime:
  5759. description: 时间
  5760. type: string
  5761. enumdicname:
  5762. description: 现货商品单位名称
  5763. type: string
  5764. logtype:
  5765. description: 类型 - 1:套保计划 2:现货合同
  5766. type: integer
  5767. middlegoodsId:
  5768. description: 套保商品id
  5769. type: integer
  5770. middlegoodscode:
  5771. description: 套保商品代码
  5772. type: string
  5773. middlegoodsname:
  5774. description: 套保商品名称
  5775. type: string
  5776. qty:
  5777. description: 数量
  5778. type: number
  5779. relateNo:
  5780. description: 现货合同/套保计划编号
  5781. type: string
  5782. wrstandardcode:
  5783. description: 现货商品代码
  5784. type: string
  5785. wrstandardid:
  5786. description: 现货商品ID
  5787. type: integer
  5788. wrstandardname:
  5789. description: 现货商品名称
  5790. type: string
  5791. type: object
  5792. models.ErmcpExposurePostion:
  5793. properties:
  5794. agreeunit:
  5795. description: 合约单位
  5796. type: string
  5797. areauserid:
  5798. description: 所属机构id
  5799. type: integer
  5800. convertratio:
  5801. description: 期货品种系数(折算系数)
  5802. type: number
  5803. curqty:
  5804. description: 当前持仓
  5805. type: integer
  5806. diffhedgeqty:
  5807. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5808. type: number
  5809. diffqty:
  5810. description: 持仓变动量=当前持仓-昨日持仓
  5811. type: integer
  5812. goodscode:
  5813. description: 商品代码
  5814. type: string
  5815. goodsid:
  5816. description: 商品id
  5817. type: integer
  5818. goodsname:
  5819. description: 商品名称
  5820. type: string
  5821. middlegoodsid:
  5822. description: 套保商品id
  5823. type: integer
  5824. ydqty:
  5825. description: 昨日持仓
  5826. type: integer
  5827. type: object
  5828. models.ErmcpFuturesCompany:
  5829. properties:
  5830. brokerid:
  5831. description: 经纪公司代码
  5832. type: string
  5833. channeladdress:
  5834. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5835. type: string
  5836. channelid:
  5837. description: 对冲渠道ID
  5838. type: string
  5839. createtime:
  5840. description: 创建时间
  5841. type: string
  5842. creatorid:
  5843. description: 创建人
  5844. type: string
  5845. fcid:
  5846. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5847. type: integer
  5848. fcname:
  5849. description: 期货公司名称
  5850. type: string
  5851. isvalid:
  5852. description: 是否有效 - 0:无效 1:有效
  5853. type: integer
  5854. mhpaddress:
  5855. description: MHP服务地址(IP:Port)
  5856. type: string
  5857. riskrulegroupid:
  5858. description: 风控规则组ID
  5859. type: string
  5860. tradefeetmpid:
  5861. description: 手续费模板ID[TradeConfigTmpType为2]
  5862. type: string
  5863. trademargintmpid:
  5864. description: 保证金模板ID [TradeConfigTmpType为1]
  5865. type: string
  5866. traderatetmpid:
  5867. description: 汇率模板ID[TradeConfigTmpType为3]
  5868. type: string
  5869. updatetime:
  5870. description: 更新时间
  5871. type: string
  5872. updatorid:
  5873. description: 更新人
  5874. type: string
  5875. type: object
  5876. models.ErmcpGGConvertCfg:
  5877. properties:
  5878. convertratio:
  5879. description: 折算系数
  5880. type: number
  5881. destgoodsgroupid:
  5882. description: 目标品种ID
  5883. type: integer
  5884. dstcode:
  5885. description: 目录品种代码
  5886. type: string
  5887. dstexchangecode:
  5888. description: 目标期货交易所
  5889. type: string
  5890. dstname:
  5891. description: 目标品种名称
  5892. type: string
  5893. dstunitid:
  5894. description: 目标品种单位ID
  5895. type: integer
  5896. dstunitidname:
  5897. description: 目标品种单位名称
  5898. type: string
  5899. modifytime:
  5900. description: 修改时间
  5901. type: string
  5902. srccode:
  5903. description: 源品种代码
  5904. type: string
  5905. srcexchangecode:
  5906. description: 源期货交易所
  5907. type: string
  5908. srcgoodsgroupid:
  5909. description: 源品种ID
  5910. type: integer
  5911. srcname:
  5912. description: 源品种名称
  5913. type: string
  5914. srcunitid:
  5915. description: 源品种单位ID
  5916. type: integer
  5917. srcunitidname:
  5918. description: 源品种单位名称
  5919. type: string
  5920. type: object
  5921. models.ErmcpGoods:
  5922. properties:
  5923. agreeunit:
  5924. description: 合约单位
  5925. type: number
  5926. areauserid:
  5927. description: 所属机构
  5928. type: integer
  5929. auditaccountid:
  5930. description: 审核操作员账号
  5931. type: integer
  5932. audittime:
  5933. description: 审核时间
  5934. type: string
  5935. cancelaccountid:
  5936. description: 注销操作员账号
  5937. type: integer
  5938. canceltime:
  5939. description: 注销时间
  5940. type: string
  5941. closepricemode:
  5942. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5943. type: integer
  5944. closepriceparam:
  5945. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5946. type: number
  5947. createtime:
  5948. description: 创建时间
  5949. type: string
  5950. creatorid:
  5951. description: 创建人
  5952. type: integer
  5953. currencyid:
  5954. description: 报价货币ID
  5955. type: integer
  5956. cutmode:
  5957. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5958. type: integer
  5959. decimalplace:
  5960. description: 报价小数位
  5961. type: integer
  5962. delistingdate:
  5963. description: 商品退市时间(状态:退市) -- 已作废
  5964. type: string
  5965. delistingmode:
  5966. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5967. type: integer
  5968. deliveryflag:
  5969. description: 交割标志 - 0:不可交割 1:可交割
  5970. type: integer
  5971. enumdicname:
  5972. description: 单位名称
  5973. type: string
  5974. forceclosemode:
  5975. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5976. type: integer
  5977. forceclosevalue:
  5978. description: 定期强平参数 [收益权]
  5979. type: integer
  5980. goodscode:
  5981. description: 商品代码(内部)
  5982. type: string
  5983. goodscurrencyid:
  5984. description: 合约货币ID
  5985. type: integer
  5986. goodsgroupid:
  5987. description: 所属商品组ID
  5988. type: integer
  5989. goodsid:
  5990. description: 商品ID(自增ID SEQ_GOODS)
  5991. type: integer
  5992. goodsname:
  5993. description: 商品名称
  5994. type: string
  5995. goodsquotetype:
  5996. description: '合约报价类型: 1-直接报价 2-间接报价'
  5997. type: integer
  5998. goodsstatus:
  5999. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6000. type: integer
  6001. goodstradetype:
  6002. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6003. type: integer
  6004. goodunitid:
  6005. description: 报价单位ID
  6006. type: integer
  6007. hasquoter:
  6008. description: 是否有报价商 - 0:无报价商 1:有报价商
  6009. type: integer
  6010. hqprotecttime:
  6011. description: 行情保护时间(秒)
  6012. type: integer
  6013. innerdealmode:
  6014. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6015. type: integer
  6016. isbuylimited:
  6017. description: 是否限制建仓量 - 0:不限制 1:限制
  6018. type: integer
  6019. isvisible:
  6020. description: 游客是否可见 - 0:不可见 1:可见
  6021. type: integer
  6022. lasttradedate:
  6023. description: 最后交易日期(状态:待退市)
  6024. type: string
  6025. listingdate:
  6026. description: 交易开始日期
  6027. type: string
  6028. marketid:
  6029. description: 所属市场ID
  6030. type: integer
  6031. modifierid:
  6032. description: 修改人
  6033. type: integer
  6034. modifystatus:
  6035. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6036. type: integer
  6037. modifytime:
  6038. description: 修改时间
  6039. type: string
  6040. outerdealmode:
  6041. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6042. type: integer
  6043. outgoodscode:
  6044. description: 商品代码(外部)
  6045. type: string
  6046. pictureurl:
  6047. description: 商品图片
  6048. type: string
  6049. qtydecimalplace:
  6050. description: 成交量小数位
  6051. type: integer
  6052. quotegear:
  6053. description: 行情档位(1-10)
  6054. type: integer
  6055. quoteminunit:
  6056. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6057. type: integer
  6058. quoteshowtype:
  6059. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6060. type: integer
  6061. quoteshowtypeinterval:
  6062. description: 行情报价间隔时间(秒)(成交价时为0)
  6063. type: integer
  6064. relatedgoodsid:
  6065. description: 关联参考商品ID
  6066. type: integer
  6067. remark:
  6068. description: 备注
  6069. type: string
  6070. trademode:
  6071. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6072. 21:竞拍-大宗式 22:受托竞价
  6073. type: integer
  6074. required:
  6075. - goodscode
  6076. - goodsid
  6077. - goodsname
  6078. - marketid
  6079. type: object
  6080. models.ErmcpGoodsBrand:
  6081. properties:
  6082. areauserid:
  6083. description: 所属机构
  6084. type: integer
  6085. brandid:
  6086. description: BrandID(SEQ_SPOTGOODSBRAND)
  6087. type: integer
  6088. brandname:
  6089. description: 品牌名称
  6090. type: string
  6091. createtime:
  6092. description: 创建时间
  6093. type: string
  6094. creatorid:
  6095. description: 创建人
  6096. type: integer
  6097. creatorsrc:
  6098. description: 创建人来源 - 1:管理端 2:终端
  6099. type: integer
  6100. deliverygoodsid:
  6101. description: 现货品种ID
  6102. type: integer
  6103. isvalid:
  6104. description: 是否有效 - 0:无效 1:有效
  6105. type: integer
  6106. updatetime:
  6107. description: 更新时间
  6108. type: string
  6109. updatorid:
  6110. description: 更新人
  6111. type: integer
  6112. updatorsrc:
  6113. description: 更新人来源 - 1:管理端 2:终端
  6114. type: integer
  6115. wrstandardid:
  6116. description: 现货商品ID
  6117. type: integer
  6118. type: object
  6119. models.ErmcpGoodsModel:
  6120. properties:
  6121. areauserid:
  6122. description: 所属机构
  6123. type: integer
  6124. convertfactor:
  6125. description: 标仓系数
  6126. type: number
  6127. createtime:
  6128. description: 创建时间
  6129. type: string
  6130. creatorid:
  6131. description: 创建人
  6132. type: integer
  6133. creatorsrc:
  6134. description: 创建人来源 - 1:管理端 2:终端
  6135. type: integer
  6136. deliverygoodsid:
  6137. description: 现货品种ID
  6138. type: integer
  6139. isvalid:
  6140. description: 是否有效 - 0:无效 1:有效
  6141. type: integer
  6142. modelid:
  6143. description: ModelID(SEQ_SPOTGOODSMODEL)
  6144. type: integer
  6145. modelname:
  6146. description: 型号名称
  6147. type: string
  6148. updatetime:
  6149. description: 更新时间
  6150. type: string
  6151. updatorid:
  6152. description: 更新人
  6153. type: integer
  6154. updatorsrc:
  6155. description: 更新人来源 - 1:管理端 2:终端
  6156. type: integer
  6157. wrstandardid:
  6158. description: 现货商品ID
  6159. type: integer
  6160. type: object
  6161. models.ErmcpHedgePosition:
  6162. properties:
  6163. accountid:
  6164. description: 资金账号[外部母账户]
  6165. type: integer
  6166. curbuyposition:
  6167. description: 期末买头寸
  6168. type: integer
  6169. cursellposition:
  6170. description: 期末卖头寸
  6171. type: integer
  6172. curtdbuyposition:
  6173. description: 期末今日买头寸
  6174. type: integer
  6175. curtdsellposition:
  6176. description: 期末今日卖头寸
  6177. type: integer
  6178. curydbuyposition:
  6179. description: 期末上日买头寸
  6180. type: integer
  6181. curydsellposition:
  6182. description: 期末上日卖头寸
  6183. type: integer
  6184. decreaseqty:
  6185. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6186. type: integer
  6187. fretdbuyposition:
  6188. description: 冻结今日买头寸
  6189. type: integer
  6190. fretdsellposition:
  6191. description: 冻结今日卖头寸
  6192. type: integer
  6193. freydbuyposition:
  6194. description: 冻结上日买头寸
  6195. type: integer
  6196. freydsellposition:
  6197. description: 冻结上日卖头寸
  6198. type: integer
  6199. goodscode:
  6200. description: 商品代码
  6201. type: string
  6202. goodsid:
  6203. description: 商品id
  6204. type: integer
  6205. goodsname:
  6206. description: 商品名称
  6207. type: string
  6208. hedgeaccountcode:
  6209. description: 对冲账号
  6210. type: string
  6211. hedgegoodsid:
  6212. description: 对冲合约ID
  6213. type: integer
  6214. increaseqty:
  6215. description: 增加数量 = 期末买头寸 - 期初买头寸
  6216. type: integer
  6217. marketid:
  6218. description: 市场ID
  6219. type: integer
  6220. relateduserid:
  6221. description: 关联用户id
  6222. type: integer
  6223. totalcurqty:
  6224. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6225. type: integer
  6226. totalydqty:
  6227. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6228. type: integer
  6229. tradedate:
  6230. description: 交易日(yyyyMMdd)
  6231. type: string
  6232. ydbuyposition:
  6233. description: 期初买头寸
  6234. type: integer
  6235. ydsellposition:
  6236. description: 期初卖头寸
  6237. type: integer
  6238. type: object
  6239. models.ErmcpHedgePositionDetail:
  6240. properties:
  6241. buyorsell:
  6242. description: 买卖方向 0-买 1-卖
  6243. type: integer
  6244. channelbuildtype:
  6245. description: 开平方向 1-建仓 2-平仓
  6246. type: integer
  6247. goodscode:
  6248. description: 商品代码
  6249. type: string
  6250. goodsname:
  6251. description: 商品名称
  6252. type: string
  6253. hedgegoodsid:
  6254. description: 商品id
  6255. type: integer
  6256. tradeqty:
  6257. description: 数量(成交数量)
  6258. type: integer
  6259. tradetime:
  6260. description: 时间(成交时间)
  6261. type: string
  6262. type: object
  6263. models.ErmcpHisExposure:
  6264. properties:
  6265. needhedgeexposoure:
  6266. description: 应套保敞口
  6267. type: number
  6268. reckondate:
  6269. description: 日照时期(yyyyMMdd)
  6270. type: string
  6271. totalexposure:
  6272. description: 总敞口
  6273. type: number
  6274. type: object
  6275. models.ErmcpHisExposureS:
  6276. properties:
  6277. data:
  6278. description: 历史敞口
  6279. items:
  6280. $ref: '#/definitions/models.ErmcpHisExposure'
  6281. type: array
  6282. enumdicname:
  6283. description: 单位名称
  6284. type: string
  6285. middlegoodscode:
  6286. description: 套保品种代码
  6287. type: string
  6288. middlegoodsid:
  6289. description: 套保品种ID
  6290. type: integer
  6291. middlegoodsname:
  6292. description: 套保品种名称
  6293. type: string
  6294. type: object
  6295. models.ErmcpLoginTaAccount:
  6296. properties:
  6297. accountid:
  6298. description: 账号id
  6299. type: integer
  6300. accountname:
  6301. description: 账号名称
  6302. type: string
  6303. type: object
  6304. models.ErmcpLoginUser:
  6305. properties:
  6306. acclist:
  6307. description: 关联资金账号
  6308. items:
  6309. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6310. type: array
  6311. accountname:
  6312. description: 用户名称
  6313. type: string
  6314. clientroleid:
  6315. description: 角色id(usertype=2)
  6316. type: integer
  6317. createtime:
  6318. description: 创建时间
  6319. type: string
  6320. logincode:
  6321. description: 登录代码
  6322. type: string
  6323. loginid:
  6324. description: 登录id(LOGINID)
  6325. type: integer
  6326. loginname:
  6327. description: 登录名称(loginaccount表中的accountname字段)
  6328. type: string
  6329. loginstatus:
  6330. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6331. type: integer
  6332. memberuserid:
  6333. description: 所属会员id
  6334. type: integer
  6335. mobile:
  6336. description: 手机号
  6337. type: string
  6338. modifytime:
  6339. description: 修改时间
  6340. type: string
  6341. password:
  6342. description: 密码(不可解密)
  6343. type: string
  6344. rolename:
  6345. description: 角色名称
  6346. type: string
  6347. rolestatus:
  6348. description: 角色状态 1-启用 2-停用
  6349. type: integer
  6350. roletype:
  6351. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6352. type: string
  6353. userid:
  6354. description: 用户id
  6355. type: integer
  6356. usertype:
  6357. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6358. type: integer
  6359. type: object
  6360. models.ErmcpLoginUserEx:
  6361. properties:
  6362. accountstatus:
  6363. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6364. type: integer
  6365. mobile:
  6366. description: 手机号
  6367. type: string
  6368. querytype:
  6369. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6370. type: integer
  6371. roleid:
  6372. description: 角色id(交易账户->用户id)
  6373. type: integer
  6374. rolename:
  6375. description: 角色名称(交易账户->用户名称)
  6376. type: string
  6377. userlist:
  6378. description: 用户列表
  6379. items:
  6380. $ref: '#/definitions/models.ErmcpLoginUser'
  6381. type: array
  6382. usertype:
  6383. description: 用户类型 2-机构 7-企业成员(云平台)
  6384. type: integer
  6385. type: object
  6386. models.ErmcpMiddleGoodsChangeLog:
  6387. properties:
  6388. aftervalue:
  6389. description: 变更后
  6390. type: number
  6391. applyid:
  6392. description: 操作人
  6393. type: integer
  6394. applyname:
  6395. description: 操作人名称
  6396. type: string
  6397. applysrc:
  6398. description: 操作来源 - 1:管理端 2:终端
  6399. type: integer
  6400. beforevalue:
  6401. description: 变更前
  6402. type: number
  6403. changelogtype:
  6404. description: 变更流水类型 - 1:套保比率变更
  6405. type: integer
  6406. handlestatus:
  6407. description: 处理状态
  6408. type: integer
  6409. logdatetime:
  6410. description: 流水日期
  6411. type: string
  6412. logid:
  6413. description: 流水ID
  6414. type: integer
  6415. logremark:
  6416. description: 流水备注
  6417. type: string
  6418. middlegoodsid:
  6419. description: 套保品种ID
  6420. type: integer
  6421. tradedate:
  6422. description: 交易日(yyyyMMdd)
  6423. type: string
  6424. updatetime:
  6425. description: 更新时间
  6426. type: string
  6427. type: object
  6428. models.ErmcpMiddleGoodsDetail:
  6429. properties:
  6430. cvList:
  6431. description: 期货品种折算列表
  6432. items:
  6433. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6434. type: array
  6435. mg:
  6436. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6437. description: 套保品种基本信息
  6438. type: object
  6439. wrcList:
  6440. description: 现货品种列表(现货商品折算配置)
  6441. items:
  6442. $ref: '#/definitions/models.WRSConverTDetail'
  6443. type: array
  6444. type: object
  6445. models.ErmcpMiddleGoodsModel:
  6446. properties:
  6447. areauserid:
  6448. description: 机构用户ID
  6449. type: integer
  6450. createtime:
  6451. description: 修改时间
  6452. type: string
  6453. enumdicname:
  6454. description: 单位名称
  6455. type: string
  6456. evaluateratio:
  6457. description: 估价系数
  6458. type: number
  6459. goodsgroupid:
  6460. description: 关联期货品种ID
  6461. type: integer
  6462. goodsunitid:
  6463. description: 单位ID
  6464. type: integer
  6465. isvalid:
  6466. description: 状态 0-无效(停用) 1-有效(正常)
  6467. type: integer
  6468. middlegoodscode:
  6469. description: 套保品种代码
  6470. type: string
  6471. middlegoodsid:
  6472. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6473. type: integer
  6474. middlegoodsname:
  6475. description: 套保品种名称
  6476. type: string
  6477. modifytime:
  6478. description: 修改时间
  6479. type: string
  6480. needarbitrageratio:
  6481. description: 套利比例
  6482. type: number
  6483. needhedgeratio:
  6484. description: 套保比率
  6485. type: number
  6486. qtydecimalplace:
  6487. description: 数量小数位
  6488. type: integer
  6489. relatedgoodsid:
  6490. description: 关联交易商品ID
  6491. type: integer
  6492. relatedgoodstype:
  6493. description: 关联商品类型 - 1:期货合约 2:现货品种
  6494. type: integer
  6495. remark:
  6496. description: 备注
  6497. type: string
  6498. type: object
  6499. models.ErmcpMiddlegoodsRelateGoods:
  6500. properties:
  6501. agreeunit:
  6502. description: 合约乘数
  6503. type: number
  6504. convertratio:
  6505. description: 折算系数
  6506. type: number
  6507. enumdicname:
  6508. description: 单位名称(交易商品)
  6509. type: string
  6510. goodscode:
  6511. description: 交易商品代码
  6512. type: string
  6513. goodsgroupid:
  6514. description: 交易品种id
  6515. type: integer
  6516. goodsid:
  6517. description: 商品Id
  6518. type: integer
  6519. goodsname:
  6520. description: 交易商品名称
  6521. type: string
  6522. goodunitid:
  6523. description: 交易商品单位id
  6524. type: integer
  6525. middlegoodsid:
  6526. description: 套保商品id
  6527. type: integer
  6528. middlegoodsname:
  6529. description: 套保商品名称
  6530. type: string
  6531. middlegoodsswcode:
  6532. description: 套保商品代码
  6533. type: string
  6534. needarbitrageratio:
  6535. description: 应套利比例
  6536. type: number
  6537. needhedgeratio:
  6538. description: 应套保比例
  6539. type: number
  6540. type: object
  6541. models.ErmcpOPLogModel:
  6542. properties:
  6543. aftervalue:
  6544. description: 变更后
  6545. type: number
  6546. applyid:
  6547. description: 操作人ID
  6548. type: string
  6549. applyname:
  6550. description: 操作人名称
  6551. type: string
  6552. beforevalue:
  6553. description: 变更前
  6554. type: number
  6555. biztype:
  6556. description: 业务类型 - 1:套保计划 2:现货合同
  6557. type: integer
  6558. contracttype:
  6559. description: 现货合同类型 - 1:采购 -1:销售
  6560. type: integer
  6561. logvalue:
  6562. description: 数值
  6563. type: number
  6564. operatelogtype:
  6565. description: 操作流水类型
  6566. type: integer
  6567. operatelogtypedesc:
  6568. description: 操作流水类型名称
  6569. type: string
  6570. relatedid:
  6571. description: 现货合同ID\套保计划
  6572. type: string
  6573. updatetime:
  6574. description: 更新时间
  6575. type: string
  6576. type: object
  6577. models.ErmcpPendingAudit:
  6578. properties:
  6579. areastockqty:
  6580. description: '待审核数量: 库存申请'
  6581. type: integer
  6582. businessdjqty:
  6583. description: '待审核数量: 点价'
  6584. type: integer
  6585. businessfpqty:
  6586. description: '待审核数量: 发票'
  6587. type: integer
  6588. businessjsqty:
  6589. description: '待审核数量: 结算'
  6590. type: integer
  6591. businesskxqty:
  6592. description: '待审核数量: 款项'
  6593. type: integer
  6594. hedgeplanqty:
  6595. description: '待审核数量: 套保计划'
  6596. type: integer
  6597. spotcontractqty:
  6598. description: '待审核数量: 现货合同'
  6599. type: integer
  6600. userqty:
  6601. description: '待审核数量: 用户'
  6602. type: integer
  6603. type: object
  6604. models.ErmcpRealExposureModel:
  6605. properties:
  6606. AreaUserID:
  6607. description: 所属机构
  6608. type: integer
  6609. BuyFutureQty:
  6610. description: 买入期货数量
  6611. type: number
  6612. BuyPlanQty:
  6613. description: 采购计划数量
  6614. type: number
  6615. BuyPricedQty:
  6616. description: 采购合同已定价数量
  6617. type: number
  6618. MiddleGoodsCode:
  6619. description: 套保品种代码
  6620. type: string
  6621. MiddleGoodsHedgeRatio:
  6622. description: 套保比例
  6623. type: number
  6624. MiddleGoodsID:
  6625. description: 套保品种
  6626. type: integer
  6627. MiddleGoodsName:
  6628. description: 套保品种名称
  6629. type: string
  6630. NeedHedgeExposoure:
  6631. description: 应套保敞口(套保敞口)
  6632. type: number
  6633. NeedHedgeRatio:
  6634. description: 应套保敞口比例
  6635. type: number
  6636. OriBuyFutureQty:
  6637. description: 期初买入期货数量
  6638. type: number
  6639. OriBuyPlanQty:
  6640. description: 期初采购计划数量
  6641. type: number
  6642. OriBuyPricedQty:
  6643. description: 期初采购合同已定价数量
  6644. type: number
  6645. OriSellFutureQty:
  6646. description: 期初卖出期货数量
  6647. type: number
  6648. OriSellPlanQty:
  6649. description: 期初销售计划数量
  6650. type: number
  6651. OriSellPricedQty:
  6652. description: 期初销售合同已定价数量
  6653. type: number
  6654. SellFutureQty:
  6655. description: 卖出期货数量
  6656. type: number
  6657. SellPlanQty:
  6658. description: 销售计划数量
  6659. type: number
  6660. SellPricedQty:
  6661. description: 销售合同已定价数量
  6662. type: number
  6663. TotalExposure:
  6664. description: 总敞口
  6665. type: number
  6666. TotalFutureQty:
  6667. description: 期货总量
  6668. type: number
  6669. TotalHedgeRatio:
  6670. description: 敞口比例
  6671. type: number
  6672. TotalNeedHedgeQty:
  6673. description: 应套保总量(现货应套保总量)
  6674. type: number
  6675. TotalSpotQty:
  6676. description: 现货总量
  6677. type: number
  6678. arbitrageqty:
  6679. description: 套利量
  6680. type: number
  6681. diffArbitrageQty:
  6682. description: 套利变动量
  6683. type: number
  6684. diffExposoureQty:
  6685. description: 变动量(套保敞口)
  6686. type: number
  6687. diffFutuQty:
  6688. description: 变动量(期货总量)
  6689. type: number
  6690. diffHedgeQty:
  6691. description: 套保变动量
  6692. type: number
  6693. diffQty:
  6694. description: 变动量(总敞口)
  6695. type: number
  6696. diffSpotHedgeQty:
  6697. description: 变动量(现货应套保总量)
  6698. type: number
  6699. diffSpotQty:
  6700. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6701. type: number
  6702. enumdicname:
  6703. description: 单位名称
  6704. type: string
  6705. hedgeqty:
  6706. description: 套保量
  6707. type: number
  6708. needarbitrageqty:
  6709. description: 应套利量
  6710. type: number
  6711. needarbitrageratio:
  6712. description: 套利比例
  6713. type: number
  6714. needhedgeqty:
  6715. description: 应套保量
  6716. type: number
  6717. oriTotalFutuQty:
  6718. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6719. type: number
  6720. oriTotalSpotQty:
  6721. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6722. type: number
  6723. oriarbitrageqty:
  6724. description: 期初套利量
  6725. type: number
  6726. orihedgeqty:
  6727. description: 期初套保量
  6728. type: number
  6729. orineedhedgeexposoure:
  6730. description: 期初套保敞口
  6731. type: number
  6732. oritotalexposure:
  6733. description: 期初总敞口
  6734. type: number
  6735. oritotalfutureqty:
  6736. description: 期初期货总量
  6737. type: number
  6738. oritotalneedhedgeqty:
  6739. description: 期初现货应套保量
  6740. type: number
  6741. type: object
  6742. models.ErmcpRole:
  6743. properties:
  6744. areauserid:
  6745. description: 所属机构
  6746. type: integer
  6747. autoid:
  6748. description: 角色ID(自增ID)
  6749. type: integer
  6750. modifierid:
  6751. description: 修改人(创建人)
  6752. type: integer
  6753. modifiername:
  6754. description: 修改人名称
  6755. type: string
  6756. modifytime:
  6757. description: 修改时间(创建时间)
  6758. type: string
  6759. rolename:
  6760. description: 角色名称
  6761. type: string
  6762. rolestatus:
  6763. description: 角色状态 - 1:启用 2:停用
  6764. type: integer
  6765. roletype:
  6766. description: 角色类型 - 1- 管理端 2- 交易端
  6767. type: integer
  6768. type: object
  6769. models.ErmcpRoleMenu:
  6770. properties:
  6771. iconame:
  6772. description: 菜单图标
  6773. type: string
  6774. ishadrole:
  6775. description: 是否有权限
  6776. type: boolean
  6777. menutype:
  6778. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6779. type: integer
  6780. parentcode:
  6781. description: 上级资源代码
  6782. type: string
  6783. remark:
  6784. description: 菜单备注
  6785. type: string
  6786. resourcecode:
  6787. description: 菜单代码
  6788. type: string
  6789. resourcelevel:
  6790. description: 级别
  6791. type: integer
  6792. resourcename:
  6793. description: 菜单名称
  6794. type: string
  6795. roleid:
  6796. description: 角色id
  6797. type: integer
  6798. sort:
  6799. description: 排序
  6800. type: integer
  6801. url:
  6802. description: URL
  6803. type: string
  6804. userid:
  6805. description: 用户id
  6806. type: integer
  6807. type: object
  6808. models.ErmcpRoleMenuEx:
  6809. properties:
  6810. menu:
  6811. $ref: '#/definitions/models.ErmcpRoleMenu'
  6812. description: 父级菜单
  6813. type: object
  6814. subMenu:
  6815. description: 子级菜单
  6816. items:
  6817. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6818. type: array
  6819. type: object
  6820. models.ErmcpTaAccount:
  6821. properties:
  6822. accountid:
  6823. description: 账户id
  6824. type: integer
  6825. accountname:
  6826. description: 账户名称
  6827. type: string
  6828. currencyid:
  6829. description: 币种id
  6830. type: integer
  6831. hedgeaccountcode:
  6832. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6833. type: string
  6834. ismain:
  6835. description: 是否主账户 0-否 1-是
  6836. type: integer
  6837. parentaccountid:
  6838. description: 父账户id
  6839. type: integer
  6840. relateduserid:
  6841. description: 关联userid
  6842. type: integer
  6843. tradefeetmpid:
  6844. description: 手续费模板id
  6845. type: integer
  6846. tradefeetmpname:
  6847. description: 手续费模板名称
  6848. type: string
  6849. trademargintmpid:
  6850. description: 保证金模板id
  6851. type: integer
  6852. trademargintmpname:
  6853. description: 保证金模板名称
  6854. type: string
  6855. traderatetmpid:
  6856. description: 汇率模板id
  6857. type: integer
  6858. traderatetmpname:
  6859. description: 汇率模板名称
  6860. type: string
  6861. tradestatus:
  6862. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6863. type: integer
  6864. userid:
  6865. description: 用户id
  6866. type: integer
  6867. type: object
  6868. models.ErmcpTaAccountEx:
  6869. properties:
  6870. mainAcc:
  6871. $ref: '#/definitions/models.ErmcpTaAccountM'
  6872. description: 主账号
  6873. type: object
  6874. subacclist:
  6875. description: 子账号列表
  6876. items:
  6877. $ref: '#/definitions/models.ErmcpTaAccount'
  6878. type: array
  6879. type: object
  6880. models.ErmcpTaAccountInfo:
  6881. properties:
  6882. accountid:
  6883. description: 资金账户ID
  6884. type: integer
  6885. accountname:
  6886. description: 账户名称
  6887. type: string
  6888. balance:
  6889. description: 期初余额
  6890. type: number
  6891. capitalbalance:
  6892. description: 本金余额[外部子账户实际出入金余额]
  6893. type: number
  6894. closepl:
  6895. description: 今日平仓盈亏
  6896. type: number
  6897. creditdecrease:
  6898. description: 今日授信减少
  6899. type: number
  6900. creditincrease:
  6901. description: 今日授信增加
  6902. type: number
  6903. curdebt:
  6904. description: 期末欠款
  6905. type: number
  6906. currencyid:
  6907. description: 货币ID
  6908. type: integer
  6909. currentbalance:
  6910. description: 期末余额
  6911. type: number
  6912. freezecharge:
  6913. description: 手续费冻结
  6914. type: number
  6915. freezemargin:
  6916. description: 冻结保证金
  6917. type: number
  6918. fromaccountid:
  6919. description: 所属上级账户
  6920. type: integer
  6921. inamount:
  6922. description: 今日入金金额(包括三方入金)
  6923. type: number
  6924. ismain:
  6925. description: 是否母账号 0:不是母账户 1:是母账户
  6926. type: integer
  6927. mortgagecredit:
  6928. description: 授信金额
  6929. type: number
  6930. oridebt:
  6931. description: 期初欠款
  6932. type: number
  6933. orifreezecharge:
  6934. description: 期初手续费冻结
  6935. type: number
  6936. orifreezemargin:
  6937. description: 期初冻结保证金
  6938. type: number
  6939. orimortgagecredit:
  6940. description: 期初授信金额
  6941. type: number
  6942. oriothercredit:
  6943. description: 期初其它授信金额
  6944. type: number
  6945. oriotherfreezemargin:
  6946. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6947. type: number
  6948. orioutamountfreeze:
  6949. description: 期初出金冻结
  6950. type: number
  6951. oriusedmargin:
  6952. description: 期初占用保证金
  6953. type: number
  6954. othercredit:
  6955. description: 其它授信金额
  6956. type: number
  6957. othercreditdecrease:
  6958. description: 今日其它授信减少
  6959. type: number
  6960. othercreditincrease:
  6961. description: 今日其它授信增加
  6962. type: number
  6963. otherfreezemargin:
  6964. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6965. type: number
  6966. outamount:
  6967. description: 今日出金金额(包括三方出金)
  6968. type: number
  6969. outamountfreeze:
  6970. description: 出金冻结
  6971. type: number
  6972. outthreshold:
  6973. description: 出金阈值
  6974. type: number
  6975. parentaccountid:
  6976. description: 所属根账号
  6977. type: integer
  6978. paycharge:
  6979. description: 今日手续费支出
  6980. type: number
  6981. relateduserid:
  6982. description: 关联用户
  6983. type: integer
  6984. signstatus:
  6985. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6986. type: integer
  6987. sublevelpath:
  6988. description: 账号层级路径(逗号分隔,首尾加逗号)
  6989. type: string
  6990. taaccounttype:
  6991. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6992. type: integer
  6993. thirdinamount:
  6994. description: 今日三方入金
  6995. type: number
  6996. thirdoutamount:
  6997. description: 今日三方出金
  6998. type: number
  6999. tradestatus:
  7000. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7001. type: integer
  7002. transferamount:
  7003. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7004. type: number
  7005. usedmargin:
  7006. description: 占用保证金
  7007. type: number
  7008. userid:
  7009. description: 用户ID
  7010. type: integer
  7011. type: object
  7012. models.ErmcpTaAccountM:
  7013. properties:
  7014. accountid:
  7015. description: 账户id
  7016. type: integer
  7017. accountname:
  7018. description: 账户名称
  7019. type: string
  7020. currencyid:
  7021. description: 币种id
  7022. type: integer
  7023. fcid:
  7024. description: 期货公司id
  7025. type: integer
  7026. fcname:
  7027. description: 期货公司代码
  7028. type: string
  7029. hedgeaccountcode:
  7030. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7031. type: string
  7032. ismain:
  7033. description: 是否主账户 0-否 1-是
  7034. type: integer
  7035. parentaccountid:
  7036. description: 父账户id
  7037. type: integer
  7038. relateduserid:
  7039. description: 关联userid
  7040. type: integer
  7041. tradefeetmpid:
  7042. description: 手续费模板id
  7043. type: integer
  7044. tradefeetmpname:
  7045. description: 手续费模板名称
  7046. type: string
  7047. trademargintmpid:
  7048. description: 保证金模板id
  7049. type: integer
  7050. trademargintmpname:
  7051. description: 保证金模板名称
  7052. type: string
  7053. traderatetmpid:
  7054. description: 汇率模板id
  7055. type: integer
  7056. traderatetmpname:
  7057. description: 汇率模板名称
  7058. type: string
  7059. tradestatus:
  7060. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7061. type: integer
  7062. userid:
  7063. description: 用户id
  7064. type: integer
  7065. type: object
  7066. models.ErmcpTradeConfigTMP:
  7067. properties:
  7068. areauserid:
  7069. description: 所属机构
  7070. type: integer
  7071. basiccurrencyid:
  7072. description: 基本币种ID[汇率] - 目标币种
  7073. type: integer
  7074. mainaccountid:
  7075. description: 主账户ID
  7076. type: integer
  7077. modifierid:
  7078. description: 修改人
  7079. type: integer
  7080. remark:
  7081. description: 备注
  7082. type: string
  7083. tradeconfigtmpid:
  7084. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7085. type: integer
  7086. tradeconfigtmpname:
  7087. description: 交易配置模板名称
  7088. type: string
  7089. tradeconfigtmptype:
  7090. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7091. type: integer
  7092. updatetime:
  7093. description: 更新时间
  7094. type: string
  7095. type: object
  7096. models.ErmcpUserModel:
  7097. properties:
  7098. address:
  7099. description: 通讯地址
  7100. type: string
  7101. attachment1:
  7102. description: 附件1
  7103. type: string
  7104. audittime:
  7105. description: 审核时间
  7106. type: string
  7107. cardbackphotourl:
  7108. description: 证件反面图片地址
  7109. type: string
  7110. cardfrontphotourl:
  7111. description: 证件正面图片地址
  7112. type: string
  7113. cardnum:
  7114. description: 证件号码
  7115. type: string
  7116. cardtype:
  7117. description: 证件类型
  7118. type: integer
  7119. cardtypename:
  7120. description: 证件类型名称
  7121. type: string
  7122. cityid:
  7123. description: 市
  7124. type: integer
  7125. contactname:
  7126. description: 联系人
  7127. type: string
  7128. countryid:
  7129. description: 国家
  7130. type: integer
  7131. createtime:
  7132. description: 创建时间
  7133. type: string
  7134. customername:
  7135. description: 企业名称
  7136. type: string
  7137. districtid:
  7138. description: 区域
  7139. type: integer
  7140. email:
  7141. description: 邮件
  7142. type: string
  7143. legalpersonname:
  7144. description: 法人姓名(企业)
  7145. type: string
  7146. memberuserid:
  7147. description: 所属机构ID
  7148. type: integer
  7149. mobile:
  7150. description: 手机号码
  7151. type: string
  7152. modifytime:
  7153. description: 修改时间
  7154. type: string
  7155. nickname:
  7156. description: 昵称
  7157. type: string
  7158. provinceid:
  7159. description: 省
  7160. type: integer
  7161. remark:
  7162. description: 备注
  7163. type: string
  7164. status:
  7165. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7166. type: integer
  7167. statusdesc:
  7168. description: 账户状态中文描述
  7169. type: string
  7170. taxpayernum:
  7171. description: 纳税人识别号
  7172. type: string
  7173. telphone:
  7174. description: 联系电话
  7175. type: string
  7176. userid:
  7177. description: 用户ID
  7178. type: integer
  7179. userinfotype:
  7180. description: 客户类型
  7181. type: string
  7182. type: object
  7183. models.ErmcpWareHouseInfo:
  7184. properties:
  7185. address:
  7186. description: 详细地址
  7187. type: string
  7188. areauserid:
  7189. description: 所属机构
  7190. type: integer
  7191. autoid:
  7192. description: 自增ID(仓库ID)
  7193. type: integer
  7194. cityid:
  7195. description: 市
  7196. type: integer
  7197. contactname:
  7198. description: 联系人
  7199. type: string
  7200. contactnum:
  7201. description: 联系电话
  7202. type: string
  7203. countryid:
  7204. description: 国家
  7205. type: integer
  7206. createtime:
  7207. description: 创建时间
  7208. type: string
  7209. districtid:
  7210. description: 区
  7211. type: integer
  7212. hasvideo:
  7213. description: 是否有视频 - 0:无 1:有
  7214. type: integer
  7215. provinceid:
  7216. description: 省
  7217. type: integer
  7218. remark:
  7219. description: 审核备注
  7220. type: string
  7221. videourl:
  7222. description: 视频地址
  7223. type: string
  7224. warehousecode:
  7225. description: 仓库代码
  7226. type: string
  7227. warehousename:
  7228. description: 仓库名称
  7229. type: string
  7230. warehousestatus:
  7231. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7232. type: integer
  7233. warehousetype:
  7234. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7235. type: integer
  7236. type: object
  7237. models.Externalexchange:
  7238. properties:
  7239. autoid:
  7240. description: AutoID - SEQ_EXTERNALEXCHANGE
  7241. type: integer
  7242. exchangefullname:
  7243. description: 外部交易所全称
  7244. type: string
  7245. exexchangecode:
  7246. description: 外部交易所代码
  7247. type: string
  7248. exexchangename:
  7249. description: 外部交易所名称(简称)
  7250. type: string
  7251. ismarketprice:
  7252. description: 是否支持市价 - 0:不支持 1:支持
  7253. type: integer
  7254. quotegear:
  7255. description: 行情档位(1-10)
  7256. type: integer
  7257. showbrokerflag:
  7258. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7259. type: integer
  7260. updatetime:
  7261. description: 更新时间
  7262. type: string
  7263. required:
  7264. - autoid
  7265. type: object
  7266. models.Funcmenulist:
  7267. properties:
  7268. iconame:
  7269. description: 菜单图标
  7270. type: string
  7271. menutype:
  7272. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7273. type: integer
  7274. parentcode:
  7275. description: 上级资源代码
  7276. type: string
  7277. remark:
  7278. description: 备注
  7279. type: string
  7280. resourcecode:
  7281. description: 资源代码
  7282. type: string
  7283. resourcelevel:
  7284. description: 级别 1-一级 2-二级 3-三级 4-四级
  7285. type: integer
  7286. resourcename:
  7287. description: 资源名
  7288. type: string
  7289. sort:
  7290. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7291. type: integer
  7292. url:
  7293. description: URL
  7294. type: string
  7295. required:
  7296. - resourcecode
  7297. type: object
  7298. models.Goods:
  7299. properties:
  7300. agreeunit:
  7301. description: 合约单位
  7302. type: number
  7303. areauserid:
  7304. description: 所属机构
  7305. type: integer
  7306. auditaccountid:
  7307. description: 审核操作员账号
  7308. type: integer
  7309. audittime:
  7310. description: 审核时间
  7311. type: string
  7312. cancelaccountid:
  7313. description: 注销操作员账号
  7314. type: integer
  7315. canceltime:
  7316. description: 注销时间
  7317. type: string
  7318. closepricemode:
  7319. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7320. type: integer
  7321. closepriceparam:
  7322. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7323. type: number
  7324. createtime:
  7325. description: 创建时间
  7326. type: string
  7327. creatorid:
  7328. description: 创建人
  7329. type: integer
  7330. currencyid:
  7331. description: 报价货币ID
  7332. type: integer
  7333. cutmode:
  7334. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7335. type: integer
  7336. decimalplace:
  7337. description: 报价小数位
  7338. type: integer
  7339. delistingdate:
  7340. description: 商品退市时间(状态:退市) -- 已作废
  7341. type: string
  7342. delistingmode:
  7343. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7344. type: integer
  7345. deliveryflag:
  7346. description: 交割标志 - 0:不可交割 1:可交割
  7347. type: integer
  7348. forceclosemode:
  7349. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7350. type: integer
  7351. forceclosevalue:
  7352. description: 定期强平参数 [收益权]
  7353. type: integer
  7354. goodscode:
  7355. description: 商品代码(内部)
  7356. type: string
  7357. goodscurrencyid:
  7358. description: 合约货币ID
  7359. type: integer
  7360. goodsgroupid:
  7361. description: 所属商品组ID
  7362. type: integer
  7363. goodsid:
  7364. description: 商品ID(自增ID SEQ_GOODS)
  7365. type: integer
  7366. goodsname:
  7367. description: 商品名称
  7368. type: string
  7369. goodsquotetype:
  7370. description: '合约报价类型: 1-直接报价 2-间接报价'
  7371. type: integer
  7372. goodsstatus:
  7373. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7374. type: integer
  7375. goodstradetype:
  7376. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7377. type: integer
  7378. goodunitid:
  7379. description: 报价单位ID
  7380. type: integer
  7381. hasquoter:
  7382. description: 是否有报价商 - 0:无报价商 1:有报价商
  7383. type: integer
  7384. hqprotecttime:
  7385. description: 行情保护时间(秒)
  7386. type: integer
  7387. innerdealmode:
  7388. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7389. type: integer
  7390. isbuylimited:
  7391. description: 是否限制建仓量 - 0:不限制 1:限制
  7392. type: integer
  7393. isvisible:
  7394. description: 游客是否可见 - 0:不可见 1:可见
  7395. type: integer
  7396. lasttradedate:
  7397. description: 最后交易日期(状态:待退市)
  7398. type: string
  7399. listingdate:
  7400. description: 交易开始日期
  7401. type: string
  7402. marketid:
  7403. description: 所属市场ID
  7404. type: integer
  7405. modifierid:
  7406. description: 修改人
  7407. type: integer
  7408. modifystatus:
  7409. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7410. type: integer
  7411. modifytime:
  7412. description: 修改时间
  7413. type: string
  7414. outerdealmode:
  7415. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7416. type: integer
  7417. outgoodscode:
  7418. description: 商品代码(外部)
  7419. type: string
  7420. pictureurl:
  7421. description: 商品图片
  7422. type: string
  7423. qtydecimalplace:
  7424. description: 成交量小数位
  7425. type: integer
  7426. quotegear:
  7427. description: 行情档位(1-10)
  7428. type: integer
  7429. quoteminunit:
  7430. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7431. type: integer
  7432. quoteshowtype:
  7433. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7434. type: integer
  7435. quoteshowtypeinterval:
  7436. description: 行情报价间隔时间(秒)(成交价时为0)
  7437. type: integer
  7438. remark:
  7439. description: 备注
  7440. type: string
  7441. required:
  7442. - goodscode
  7443. - goodsid
  7444. - goodsname
  7445. - marketid
  7446. type: object
  7447. models.GoodsIDAndName:
  7448. properties:
  7449. goodscode:
  7450. description: 商品代码(内部)
  7451. type: string
  7452. goodsid:
  7453. description: 商品ID(自增ID SEQ_GOODS)
  7454. type: integer
  7455. goodsname:
  7456. description: 商品名称
  7457. type: string
  7458. marketid:
  7459. description: 所属市场ID
  7460. type: integer
  7461. required:
  7462. - goodscode
  7463. - goodsid
  7464. - goodsname
  7465. - marketid
  7466. type: object
  7467. models.Goodsgroup:
  7468. properties:
  7469. agreeunit:
  7470. description: 合约单位
  7471. type: number
  7472. canshort:
  7473. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7474. type: integer
  7475. closepricemode:
  7476. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7477. type: integer
  7478. closepriceparam:
  7479. description: 强平最新价浮动比例 - 方式为2时使用
  7480. type: number
  7481. createtime:
  7482. description: 创建时间
  7483. type: string
  7484. creatorid:
  7485. description: 创建人
  7486. type: integer
  7487. currencyid:
  7488. description: 报价货币ID
  7489. type: integer
  7490. decimalplace:
  7491. description: 报价小数位
  7492. type: integer
  7493. exercisetype:
  7494. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7495. type: integer
  7496. exexchangeid:
  7497. description: 外部交易所ID[通道交易]
  7498. type: integer
  7499. goodsgroupid:
  7500. description: 商品组ID(自增ID)
  7501. type: integer
  7502. goodsgroupname:
  7503. description: 商品组名称
  7504. type: string
  7505. goodsgroupstatus:
  7506. description: 商品组状态 - 1:正常 2:注销
  7507. type: integer
  7508. goodunitid:
  7509. description: 报价单位ID
  7510. type: integer
  7511. innerdealmode:
  7512. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7513. type: integer
  7514. isbuylimited:
  7515. description: 是否限制建仓量 - 0:不限制 1:限制
  7516. type: integer
  7517. marketid:
  7518. description: 所属市场ID
  7519. type: integer
  7520. modifierid:
  7521. description: 修改人
  7522. type: integer
  7523. modifytime:
  7524. description: 修改时间
  7525. type: string
  7526. outerdealmode:
  7527. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7528. type: integer
  7529. outergroupcode:
  7530. description: 外部商品组代码[通道交易]
  7531. type: string
  7532. premiumdecimalplace:
  7533. description: 权利金小数位[场外期权]
  7534. type: integer
  7535. premiumspreadalgorithm:
  7536. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7537. type: integer
  7538. premiumspreadvalue:
  7539. description: 权利金点差值[场外期权]
  7540. type: number
  7541. qtydecimalplace:
  7542. description: 成交量小数位
  7543. type: integer
  7544. quotegear:
  7545. description: 行情档位(1-10)
  7546. type: integer
  7547. quoteminunit:
  7548. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7549. type: integer
  7550. quoterid:
  7551. description: 报价商ID[场外期权]
  7552. type: integer
  7553. quotesourcegroupid:
  7554. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7555. type: integer
  7556. syncgoodsqty:
  7557. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7558. type: integer
  7559. required:
  7560. - goodsgroupid
  7561. - goodsgroupname
  7562. - goodsgroupstatus
  7563. - marketid
  7564. type: object
  7565. models.Goodssortbypreposition:
  7566. properties:
  7567. goodscode:
  7568. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7569. type: string
  7570. goodsgroupcode:
  7571. description: 品种代码
  7572. type: string
  7573. prepositionqty:
  7574. description: 昨持仓量
  7575. type: integer
  7576. sortindex:
  7577. description: 排序
  7578. type: integer
  7579. tradedate:
  7580. description: 交易日
  7581. type: string
  7582. updatetime:
  7583. description: 更新时间
  7584. type: string
  7585. required:
  7586. - goodscode
  7587. - tradedate
  7588. type: object
  7589. models.Hedgeinnerholderdetail:
  7590. properties:
  7591. accountid:
  7592. description: 账号ID
  7593. type: integer
  7594. buyorsell:
  7595. description: 方向 - 0:买 1:卖
  7596. type: integer
  7597. freezeqty:
  7598. description: 冻结数量 - 按单平使用
  7599. type: integer
  7600. goodsid:
  7601. description: 商品ID
  7602. type: integer
  7603. holderamount:
  7604. description: 持仓金额 [商品币种]
  7605. type: number
  7606. holderdays:
  7607. description: 剩余冻结天数
  7608. type: integer
  7609. holderprice:
  7610. description: 持仓价格
  7611. type: number
  7612. holderqty:
  7613. description: 持仓数量
  7614. type: integer
  7615. marketid:
  7616. description: 市场ID
  7617. type: integer
  7618. openprice:
  7619. description: 建仓价格
  7620. type: number
  7621. openqty:
  7622. description: 建仓数量
  7623. type: integer
  7624. parentaccountid:
  7625. description: 所属母账户
  7626. type: integer
  7627. releaseamount:
  7628. description: 释放持仓金额[商品币种]
  7629. type: number
  7630. tradeamount:
  7631. description: 成交金额[账户]
  7632. type: number
  7633. tradedate:
  7634. description: 交易日(yyyyMMdd)
  7635. type: string
  7636. tradeid:
  7637. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7638. type: string
  7639. tradetime:
  7640. description: 交易时间
  7641. type: string
  7642. required:
  7643. - buyorsell
  7644. - tradeid
  7645. type: object
  7646. models.Hedgemarketopenlog:
  7647. properties:
  7648. accountid:
  7649. description: 资金账号[外部母账户]
  7650. type: integer
  7651. fcname:
  7652. description: 期货公司名称
  7653. type: string
  7654. handlestatus:
  7655. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7656. type: integer
  7657. marketid:
  7658. description: 市场ID
  7659. type: integer
  7660. status:
  7661. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7662. type: integer
  7663. tradedate:
  7664. description: 交易日(yyyyMMdd)
  7665. type: string
  7666. updatetime:
  7667. description: 更新时间
  7668. type: string
  7669. required:
  7670. - accountid
  7671. type: object
  7672. models.HsbyBuyMyPayOrder:
  7673. properties:
  7674. agreeunit:
  7675. description: 合约单位
  7676. type: number
  7677. buyaccountid:
  7678. description: 买方账号ID[报价币种]
  7679. type: integer
  7680. buyorderid:
  7681. description: 买方委托单号
  7682. type: string
  7683. createtime:
  7684. description: 创建时间
  7685. type: string
  7686. currencysign:
  7687. description: 货币符号
  7688. type: string
  7689. decimalplace:
  7690. description: 报价小数位
  7691. type: integer
  7692. goodscode:
  7693. description: 商品代码(内部)
  7694. type: string
  7695. goodsid:
  7696. description: 商品ID
  7697. type: integer
  7698. goodsname:
  7699. description: 商品名称
  7700. type: string
  7701. marketid:
  7702. description: 市场ID
  7703. type: integer
  7704. offamount:
  7705. description: 优惠金额
  7706. type: number
  7707. originalamount:
  7708. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7709. type: number
  7710. payamount:
  7711. description: 支付金额 = TradeAmount + TradeCharge
  7712. type: number
  7713. payflag:
  7714. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7715. type: integer
  7716. paylimitedtime:
  7717. description: 支付期限
  7718. type: string
  7719. paytime:
  7720. description: 付款时间
  7721. type: string
  7722. picurls1:
  7723. description: 预售商品介绍图片[多张用逗号分隔]
  7724. type: string
  7725. picurls2:
  7726. description: 挂牌商品介绍图片[多张用逗号分隔]
  7727. type: string
  7728. sellaccountid:
  7729. description: 卖方账号ID[报价币种]
  7730. type: integer
  7731. sellorderid:
  7732. description: 卖方委托单号
  7733. type: string
  7734. tradeamount:
  7735. description: 成交金额
  7736. type: number
  7737. tradecharge:
  7738. description: 成交手续费(买方)
  7739. type: number
  7740. tradedate:
  7741. description: 交易日(yyyyMMdd)
  7742. type: string
  7743. tradeid:
  7744. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7745. type: string
  7746. trademode:
  7747. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7748. 21:竞拍-大宗式 22:受托竞价
  7749. type: integer
  7750. tradeprice:
  7751. description: 成交价格
  7752. type: number
  7753. tradeqty:
  7754. description: 成交数量
  7755. type: integer
  7756. vendorname1:
  7757. description: 预售商品供应商名称
  7758. type: string
  7759. vendorname2:
  7760. description: 挂牌商品供应商名称
  7761. type: string
  7762. required:
  7763. - goodscode
  7764. - goodsname
  7765. - tradeid
  7766. - trademode
  7767. type: object
  7768. models.HsbyBuyMyTradeDetail:
  7769. properties:
  7770. accountid:
  7771. description: 账户ID[报价币种]
  7772. type: integer
  7773. agreeunit:
  7774. description: 合约单位
  7775. type: number
  7776. amount:
  7777. description: 金额 = 价格 * 数量 * 合约单位
  7778. type: number
  7779. buyorsell:
  7780. description: 买卖 - 0:买 1:卖
  7781. type: integer
  7782. currencysign:
  7783. description: 货币符号
  7784. type: string
  7785. decimalplace:
  7786. description: 报价小数位
  7787. type: integer
  7788. goodscode:
  7789. description: 商品代码(内部)
  7790. type: string
  7791. goodsid:
  7792. description: 商品ID
  7793. type: integer
  7794. goodsname:
  7795. description: 商品名称
  7796. type: string
  7797. marketid:
  7798. description: 市场ID
  7799. type: integer
  7800. orderamount:
  7801. description: 委托金额
  7802. type: number
  7803. orderid:
  7804. description: 单号(成交单号)
  7805. type: string
  7806. picurls1:
  7807. description: 预售商品介绍图片[多张用逗号分隔]
  7808. type: string
  7809. picurls2:
  7810. description: 挂牌商品介绍图片[多张用逗号分隔]
  7811. type: string
  7812. price:
  7813. description: 价格
  7814. type: number
  7815. qty:
  7816. description: 数量
  7817. type: integer
  7818. time:
  7819. description: 时间
  7820. type: string
  7821. trademode:
  7822. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7823. 21:竞拍-大宗式 22:受托竞价
  7824. type: integer
  7825. vendorname1:
  7826. description: 预售商品供应商名称
  7827. type: string
  7828. vendorname2:
  7829. description: 挂牌商品供应商名称
  7830. type: string
  7831. required:
  7832. - accountid
  7833. - buyorsell
  7834. - goodscode
  7835. - goodsid
  7836. - goodsname
  7837. - marketid
  7838. - orderid
  7839. - qty
  7840. - time
  7841. - trademode
  7842. type: object
  7843. models.HsbyGoodsOrderDetail:
  7844. properties:
  7845. buyorsell:
  7846. description: 买卖 - 0:买 1:卖
  7847. type: integer
  7848. currencysign:
  7849. description: 货币符号
  7850. type: string
  7851. customername:
  7852. description: 客户名称(企业名称),已脱敏
  7853. type: string
  7854. enableqty:
  7855. description: 可用数量
  7856. type: integer
  7857. goodunit:
  7858. description: 报价单位
  7859. type: string
  7860. orderid:
  7861. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7862. type: string
  7863. orderprice:
  7864. description: 委托价格
  7865. type: number
  7866. ordertime:
  7867. description: 委托时间
  7868. type: string
  7869. required:
  7870. - buyorsell
  7871. - orderid
  7872. - ordertime
  7873. type: object
  7874. models.HsbyListingGoodsDetail:
  7875. properties:
  7876. agreeunit:
  7877. description: 合约单位
  7878. type: number
  7879. buymaxqty:
  7880. description: 购买上限 [71] - 0为不限
  7881. type: integer
  7882. currency:
  7883. description: 货币
  7884. type: string
  7885. currencysign:
  7886. description: 货币符号
  7887. type: string
  7888. decimalplace:
  7889. description: 报价小数位
  7890. type: integer
  7891. desccityid:
  7892. description: 目的地(市)ID
  7893. type: integer
  7894. descprovinceid:
  7895. description: 目的地(省)ID
  7896. type: integer
  7897. goodscode:
  7898. description: 商品代码(内部)
  7899. type: string
  7900. goodsdesc:
  7901. description: 商品详情
  7902. type: string
  7903. goodsid:
  7904. description: 商品ID(自增ID SEQ_GOODS)
  7905. type: integer
  7906. goodsname:
  7907. description: 商品名称
  7908. type: string
  7909. goodsprice:
  7910. description: 商品价格
  7911. type: number
  7912. hotindex:
  7913. description: 景点热度
  7914. type: integer
  7915. last:
  7916. description: 现价
  7917. type: number
  7918. limitdown:
  7919. description: 跌停价
  7920. type: number
  7921. limitup:
  7922. description: 涨停价
  7923. type: number
  7924. lotsize:
  7925. description: 手数最小变动单位
  7926. type: integer
  7927. marketid:
  7928. description: 所属市场ID
  7929. type: integer
  7930. picurls:
  7931. description: 介绍图片[多张用逗号分隔]
  7932. type: string
  7933. quoteminunit:
  7934. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7935. type: integer
  7936. stepvalue:
  7937. description: 价格最小变动单位
  7938. type: number
  7939. trademode:
  7940. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7941. 21:竞拍-大宗式 22:受托竞价
  7942. type: integer
  7943. vendorattr:
  7944. description: 供应商附件(多张,逗号分隔)
  7945. type: string
  7946. vendorname:
  7947. description: 供应商名称
  7948. type: string
  7949. vendorphone:
  7950. description: 供应商客服电话
  7951. type: string
  7952. videourls:
  7953. description: 介绍视频[多张用逗号分隔]
  7954. type: string
  7955. required:
  7956. - goodscode
  7957. - goodsid
  7958. - goodsname
  7959. - marketid
  7960. - trademode
  7961. type: object
  7962. models.HsbyMarketGoods:
  7963. properties:
  7964. accountid:
  7965. description: 账户ID[报价币种]
  7966. type: integer
  7967. agreeunit:
  7968. description: 合约单位
  7969. type: number
  7970. buyorsell:
  7971. description: 买卖 - 0:买 1:卖
  7972. type: integer
  7973. categoryid:
  7974. description: 类别ID(WRCATEGORY)
  7975. type: integer
  7976. currency:
  7977. description: 货币
  7978. type: string
  7979. currencysign:
  7980. description: 货币符号
  7981. type: string
  7982. customername:
  7983. description: 卖家名称
  7984. type: string
  7985. decimalplace:
  7986. description: 报价小数位
  7987. type: integer
  7988. goodscode:
  7989. description: 商品代码(内部)
  7990. type: string
  7991. goodsid:
  7992. description: 商品ID
  7993. type: integer
  7994. goodsname:
  7995. description: 商品名称
  7996. type: string
  7997. goodsprice:
  7998. description: 商品价格
  7999. type: number
  8000. hascoupon:
  8001. description: 是否可用优惠卷
  8002. type: boolean
  8003. hotindex:
  8004. description: 景点热度
  8005. type: integer
  8006. marketid:
  8007. description: 市场ID
  8008. type: integer
  8009. orderid:
  8010. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8011. type: string
  8012. orderprice:
  8013. description: 委托价格
  8014. type: number
  8015. orderstatus:
  8016. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8017. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8018. 16:成交失败违约(荷兰式竞拍专用)
  8019. type: integer
  8020. picurls:
  8021. description: 介绍图片[多张用逗号分隔]
  8022. type: string
  8023. quoteminunit:
  8024. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8025. type: integer
  8026. sellUserID:
  8027. description: 卖方UserID
  8028. type: integer
  8029. trademode:
  8030. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8031. 21:竞拍-大宗式 22:受托竞价
  8032. type: integer
  8033. videourls:
  8034. description: 介绍视频[多张用逗号分隔]
  8035. type: string
  8036. required:
  8037. - accountid
  8038. - buyorsell
  8039. - goodscode
  8040. - goodsid
  8041. - goodsname
  8042. - marketid
  8043. - orderid
  8044. - trademode
  8045. type: object
  8046. models.HsbyMarketGoodsDetail:
  8047. properties:
  8048. accountid:
  8049. description: 账户ID[报价币种]
  8050. type: integer
  8051. agreeunit:
  8052. description: 合约单位
  8053. type: number
  8054. buymaxqty:
  8055. description: 购买上限 [71] - 0为不限
  8056. type: integer
  8057. buyorsell:
  8058. description: 买卖 - 0:买 1:卖
  8059. type: integer
  8060. cancelqty:
  8061. description: 撤单数量
  8062. type: integer
  8063. categoryid:
  8064. description: 类别ID(WRCATEGORY)
  8065. type: integer
  8066. currency:
  8067. description: 货币
  8068. type: string
  8069. currencysign:
  8070. description: 货币符号
  8071. type: string
  8072. customername:
  8073. description: 卖家名称
  8074. type: string
  8075. decimalplace:
  8076. description: 报价小数位
  8077. type: integer
  8078. goodscode:
  8079. description: 商品代码(内部)
  8080. type: string
  8081. goodsdesc:
  8082. description: 商品详情
  8083. type: string
  8084. goodsid:
  8085. description: 商品ID
  8086. type: integer
  8087. goodsname:
  8088. description: 商品名称
  8089. type: string
  8090. goodsprice:
  8091. description: 商品价格
  8092. type: number
  8093. hotindex:
  8094. description: 景点热度
  8095. type: integer
  8096. lotsize:
  8097. description: 手数最小变动单位
  8098. type: integer
  8099. marketid:
  8100. description: 市场ID
  8101. type: integer
  8102. orderid:
  8103. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8104. type: string
  8105. orderprice:
  8106. description: 委托价格
  8107. type: number
  8108. orderqty:
  8109. description: 委托数量
  8110. type: integer
  8111. orderstatus:
  8112. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8113. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8114. 16:成交失败违约(荷兰式竞拍专用)
  8115. type: integer
  8116. picurls:
  8117. description: 介绍图片[多张用逗号分隔]
  8118. type: string
  8119. quoteminunit:
  8120. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8121. type: integer
  8122. sellUserID:
  8123. description: 卖方UserID
  8124. type: integer
  8125. trademode:
  8126. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8127. 21:竞拍-大宗式 22:受托竞价
  8128. type: integer
  8129. tradeqty:
  8130. description: 成交数量
  8131. type: integer
  8132. vendorattr:
  8133. description: 供应商附件(多张,逗号分隔)
  8134. type: string
  8135. vendorname:
  8136. description: 供应商名称
  8137. type: string
  8138. vendorphone:
  8139. description: 供应商客服电话
  8140. type: string
  8141. videourls:
  8142. description: 介绍视频[多张用逗号分隔]
  8143. type: string
  8144. required:
  8145. - accountid
  8146. - buyorsell
  8147. - goodscode
  8148. - goodsid
  8149. - goodsname
  8150. - marketid
  8151. - orderid
  8152. - orderqty
  8153. - trademode
  8154. type: object
  8155. models.HsbyMarketInfo:
  8156. properties:
  8157. marketid:
  8158. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8159. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8160. type: integer
  8161. marketname:
  8162. description: 市场名称
  8163. type: string
  8164. marketstatus:
  8165. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8166. type: integer
  8167. trademode:
  8168. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8169. 21:竞拍-大宗式 22:受托竞价
  8170. type: integer
  8171. required:
  8172. - marketid
  8173. - marketstatus
  8174. - trademode
  8175. type: object
  8176. models.HsbyMyGoods:
  8177. properties:
  8178. accountid:
  8179. description: 账号Id
  8180. type: integer
  8181. agreeunit:
  8182. description: 合约单位
  8183. type: number
  8184. buyaverageprice:
  8185. description: 持仓均价
  8186. type: number
  8187. buycurholderamount:
  8188. description: 买当前持仓总金额[商品币种]
  8189. type: number
  8190. buycurpositionqty:
  8191. description: 买当前持仓总数量
  8192. type: integer
  8193. buymaxqty:
  8194. description: 购买上限 [71] - 0为不限
  8195. type: integer
  8196. currencysign:
  8197. description: 货币符号
  8198. type: string
  8199. decimalplace:
  8200. description: 报价小数位
  8201. type: integer
  8202. enableqty:
  8203. description: 可用数量
  8204. type: integer
  8205. goodscode:
  8206. description: 商品代码(内部)
  8207. type: string
  8208. goodsid:
  8209. description: 商品Id
  8210. type: integer
  8211. goodsname:
  8212. description: 商品名称
  8213. type: string
  8214. goodsprice:
  8215. description: 商品价格
  8216. type: number
  8217. goodsstatus:
  8218. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8219. type: integer
  8220. last:
  8221. description: 现价(仅使用于挂牌点选)
  8222. type: number
  8223. limitdown:
  8224. description: 跌停价(仅使用于挂牌点选)
  8225. type: number
  8226. limitup:
  8227. description: 涨停价(仅使用于挂牌点选)
  8228. type: number
  8229. lotsize:
  8230. description: 手数最小变动单位
  8231. type: integer
  8232. marketid:
  8233. description: 所属市场ID
  8234. type: integer
  8235. picurls:
  8236. description: 介绍图片[多张用逗号分隔]
  8237. type: string
  8238. quoteminunit:
  8239. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8240. type: integer
  8241. stepvalue:
  8242. description: 价格最小变动单位
  8243. type: number
  8244. trademode:
  8245. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8246. 21:竞拍-大宗式 22:受托竞价
  8247. type: integer
  8248. required:
  8249. - accountid
  8250. - goodscode
  8251. - goodsid
  8252. - goodsname
  8253. - marketid
  8254. - trademode
  8255. type: object
  8256. models.HsbyMyPackage:
  8257. properties:
  8258. accountid:
  8259. description: 账户ID
  8260. type: integer
  8261. address:
  8262. description: 提货人详细地址
  8263. type: string
  8264. agreeunit:
  8265. description: 合约单位
  8266. type: number
  8267. amount:
  8268. description: 提货金额
  8269. type: number
  8270. auditer:
  8271. description: 审核人
  8272. type: integer
  8273. audittime:
  8274. description: 审核时间
  8275. type: string
  8276. averageprice:
  8277. description: 均价
  8278. type: number
  8279. cardnum:
  8280. description: 提货人证件号码
  8281. type: string
  8282. cardtypeid:
  8283. description: 提货人证件类型
  8284. type: integer
  8285. checkremark:
  8286. description: 审核备注
  8287. type: string
  8288. currencysign:
  8289. description: 货币符号
  8290. type: string
  8291. decimalplace:
  8292. description: 报价小数位
  8293. type: integer
  8294. goodscode:
  8295. description: 商品代码(内部)
  8296. type: string
  8297. goodsid:
  8298. description: 商品ID
  8299. type: integer
  8300. goodsname:
  8301. description: 商品名称
  8302. type: string
  8303. handlestatus:
  8304. description: 处理状态
  8305. type: integer
  8306. marketid:
  8307. description: 市场ID
  8308. type: integer
  8309. phonenum:
  8310. description: 提货人联系方式
  8311. type: string
  8312. picurls:
  8313. description: 介绍图片[多张用逗号分隔]
  8314. type: string
  8315. qty:
  8316. description: 提货数量
  8317. type: number
  8318. recivername:
  8319. description: 提货人姓名
  8320. type: string
  8321. reqtime:
  8322. description: 更新时间
  8323. type: string
  8324. takemode:
  8325. description: 提货方式 - 2:自提 3:配送
  8326. type: integer
  8327. takeorderid:
  8328. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8329. type: string
  8330. takeorderstatus:
  8331. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8332. type: integer
  8333. takeremark:
  8334. description: 提货备注
  8335. type: string
  8336. tradedate:
  8337. description: 交易日(yyyyMMdd)
  8338. type: string
  8339. trademode:
  8340. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8341. 21:竞拍-大宗式 22:受托竞价
  8342. type: integer
  8343. userid:
  8344. description: 用户ID
  8345. type: integer
  8346. vendorname:
  8347. description: 供应商名称
  8348. type: string
  8349. required:
  8350. - goodscode
  8351. - goodsname
  8352. - takeorderid
  8353. - trademode
  8354. type: object
  8355. models.HsbyPreGoods:
  8356. properties:
  8357. agreeunit:
  8358. description: 合约单位
  8359. type: number
  8360. currency:
  8361. description: 货币
  8362. type: string
  8363. currencysign:
  8364. description: 货币符号
  8365. type: string
  8366. decimalplace:
  8367. description: 报价小数位
  8368. type: integer
  8369. desccityid:
  8370. description: 目的地(市)
  8371. type: integer
  8372. descprovinceid:
  8373. description: 目的地(省)
  8374. type: integer
  8375. enableqty:
  8376. description: 剩余数量
  8377. type: integer
  8378. goodscode:
  8379. description: 商品代码(内部)
  8380. type: string
  8381. goodsid:
  8382. description: 商品ID(自增ID SEQ_GOODS)
  8383. type: integer
  8384. goodsname:
  8385. description: 商品名称
  8386. type: string
  8387. goodsstatus:
  8388. description: 商品状态- 2:未上市 3:上市
  8389. type: integer
  8390. lasttradedate:
  8391. description: 最后交易日期(状态:待退市)
  8392. type: string
  8393. listingdate:
  8394. description: 交易开始日期
  8395. type: string
  8396. marketid:
  8397. description: 所属市场ID
  8398. type: integer
  8399. picurls:
  8400. description: 介绍图片[多张用逗号分隔]
  8401. type: string
  8402. presaledqty:
  8403. description: 已预售量(预售结束时更新)
  8404. type: integer
  8405. presaleqty:
  8406. description: 预售数量
  8407. type: integer
  8408. quoteminunit:
  8409. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8410. type: integer
  8411. refprice:
  8412. description: 参考价格[一口价]
  8413. type: number
  8414. relatedgoodsid:
  8415. description: 关联交易合约ID
  8416. type: integer
  8417. trademode:
  8418. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8419. 21:竞拍-大宗式 22:受托竞价
  8420. type: integer
  8421. videourls:
  8422. description: 介绍视频[多张用逗号分隔]
  8423. type: string
  8424. required:
  8425. - goodscode
  8426. - goodsid
  8427. - goodsname
  8428. - marketid
  8429. - trademode
  8430. type: object
  8431. models.HsbyPreGoodsDetail:
  8432. properties:
  8433. agreeunit:
  8434. description: 合约单位
  8435. type: number
  8436. buymaxqty:
  8437. description: 购买上限 [71] - 0为不限
  8438. type: integer
  8439. currency:
  8440. description: 货币
  8441. type: string
  8442. currencysign:
  8443. description: 货币符号
  8444. type: string
  8445. customername:
  8446. description: 发行单位
  8447. type: string
  8448. decimalplace:
  8449. description: 报价小数位
  8450. type: integer
  8451. desccityid:
  8452. description: 目的地(市)ID
  8453. type: integer
  8454. descprovinceid:
  8455. description: 目的地(省)ID
  8456. type: integer
  8457. enableqty:
  8458. description: 剩余数量
  8459. type: integer
  8460. goodscode:
  8461. description: 商品代码(内部)
  8462. type: string
  8463. goodsdesc:
  8464. description: 商品详情
  8465. type: string
  8466. goodsid:
  8467. description: 商品ID(自增ID SEQ_GOODS)
  8468. type: integer
  8469. goodsname:
  8470. description: 商品名称
  8471. type: string
  8472. goodsstatus:
  8473. description: 商品状态- 2:未上市 3:上市
  8474. type: integer
  8475. goodunit:
  8476. description: 报价单位
  8477. type: string
  8478. lasttradedate:
  8479. description: 最后交易日期(状态:待退市)
  8480. type: string
  8481. listingdate:
  8482. description: 交易开始日期
  8483. type: string
  8484. lotsize:
  8485. description: 手数最小变动单位
  8486. type: integer
  8487. marketid:
  8488. description: 所属市场ID
  8489. type: integer
  8490. picurls:
  8491. description: 介绍图片[多张用逗号分隔]
  8492. type: string
  8493. presaledqty:
  8494. description: 已预售量(预售结束时更新)
  8495. type: integer
  8496. presaleqty:
  8497. description: 预售数量
  8498. type: integer
  8499. quoteminunit:
  8500. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8501. type: integer
  8502. refprice:
  8503. description: 参考价格[一口价]
  8504. type: number
  8505. relatedgoodsid:
  8506. description: 关联交易合约ID
  8507. type: integer
  8508. stepvalue:
  8509. description: 价格最小变动单位
  8510. type: number
  8511. trademode:
  8512. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8513. 21:竞拍-大宗式 22:受托竞价
  8514. type: integer
  8515. vendorattr:
  8516. description: 供应商附件(多张,逗号分隔)
  8517. type: string
  8518. vendorname:
  8519. description: 供应商名称
  8520. type: string
  8521. vendorphone:
  8522. description: 供应商客服电话
  8523. type: string
  8524. videourls:
  8525. description: 介绍视频[多张用逗号分隔]
  8526. type: string
  8527. required:
  8528. - goodscode
  8529. - goodsid
  8530. - goodsname
  8531. - marketid
  8532. - trademode
  8533. type: object
  8534. models.HsbySellCollectionOrder:
  8535. properties:
  8536. agreeunit:
  8537. description: 合约单位
  8538. type: number
  8539. buyaccountid:
  8540. description: 买方账号ID[报价币种]
  8541. type: integer
  8542. buyorderid:
  8543. description: 买方委托单号
  8544. type: string
  8545. createtime:
  8546. description: 创建时间
  8547. type: string
  8548. currencysign:
  8549. description: 货币符号
  8550. type: string
  8551. decimalplace:
  8552. description: 报价小数位
  8553. type: integer
  8554. goodscode:
  8555. description: 商品代码(内部)
  8556. type: string
  8557. goodsid:
  8558. description: 商品ID
  8559. type: integer
  8560. goodsname:
  8561. description: 商品名称
  8562. type: string
  8563. marketid:
  8564. description: 市场ID
  8565. type: integer
  8566. offamount:
  8567. description: 优惠金额
  8568. type: number
  8569. payamount:
  8570. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8571. type: number
  8572. payflag:
  8573. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8574. type: integer
  8575. paylimitedtime:
  8576. description: 支付期限
  8577. type: string
  8578. paytime:
  8579. description: 付款时间
  8580. type: string
  8581. picurls:
  8582. description: 商品介绍图片[多张用逗号分隔]
  8583. type: string
  8584. sellaccountid:
  8585. description: 卖方账号ID[报价币种]
  8586. type: integer
  8587. sellorderid:
  8588. description: 卖方委托单号
  8589. type: string
  8590. tradeamount:
  8591. description: 成交金额
  8592. type: number
  8593. tradecharge:
  8594. description: 成交手续费(买方)
  8595. type: number
  8596. tradedate:
  8597. description: 交易日(yyyyMMdd)
  8598. type: string
  8599. tradeid:
  8600. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8601. type: string
  8602. trademode:
  8603. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8604. 21:竞拍-大宗式 22:受托竞价
  8605. type: integer
  8606. tradeprice:
  8607. description: 成交价格
  8608. type: number
  8609. tradeqty:
  8610. description: 成交数量
  8611. type: integer
  8612. required:
  8613. - goodscode
  8614. - goodsname
  8615. - tradeid
  8616. - trademode
  8617. type: object
  8618. models.HsbySellMyDetail:
  8619. properties:
  8620. accountid:
  8621. description: 账户ID[报价币种]
  8622. type: integer
  8623. agreeunit:
  8624. description: 合约单位
  8625. type: number
  8626. buyorsell:
  8627. description: 买卖 - 0:买 1:卖
  8628. type: integer
  8629. currencysign:
  8630. description: 货币符号
  8631. type: string
  8632. decimalplace:
  8633. description: 报价小数位
  8634. type: integer
  8635. goodscode:
  8636. description: 商品代码(内部)
  8637. type: string
  8638. goodsid:
  8639. description: 商品ID
  8640. type: integer
  8641. goodsname:
  8642. description: 商品名称
  8643. type: string
  8644. marketid:
  8645. description: 市场ID
  8646. type: integer
  8647. orderid:
  8648. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8649. type: string
  8650. ordertype:
  8651. description: 单据类型:0 - 发布中, 1 - 已完成
  8652. type: integer
  8653. picurls:
  8654. description: 介绍图片[多张用逗号分隔]
  8655. type: string
  8656. price:
  8657. description: 价格
  8658. type: number
  8659. qty:
  8660. description: 数量
  8661. type: integer
  8662. time:
  8663. description: 时间
  8664. type: string
  8665. trademode:
  8666. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8667. 21:竞拍-大宗式 22:受托竞价
  8668. type: integer
  8669. vendorname:
  8670. description: 供应商名称
  8671. type: string
  8672. required:
  8673. - accountid
  8674. - buyorsell
  8675. - goodscode
  8676. - goodsid
  8677. - goodsname
  8678. - marketid
  8679. - orderid
  8680. - time
  8681. - trademode
  8682. type: object
  8683. models.HsbyTopGoods:
  8684. properties:
  8685. agreeunit:
  8686. description: 合约单位
  8687. type: number
  8688. currency:
  8689. description: 货币
  8690. type: string
  8691. currencysign:
  8692. description: 货币符号
  8693. type: string
  8694. decimalplace:
  8695. description: 报价小数位
  8696. type: integer
  8697. desccityid:
  8698. description: 目的地(市)
  8699. type: integer
  8700. descprovinceid:
  8701. description: 目的地(省)
  8702. type: integer
  8703. goodscode:
  8704. description: 商品代码(内部)
  8705. type: string
  8706. goodsid:
  8707. description: 商品ID(自增ID SEQ_GOODS)
  8708. type: integer
  8709. goodsname:
  8710. description: 商品名称
  8711. type: string
  8712. hotindex:
  8713. description: 景点热度
  8714. type: integer
  8715. last:
  8716. description: 现价
  8717. type: number
  8718. marketid:
  8719. description: 所属市场ID
  8720. type: integer
  8721. picurls:
  8722. description: 介绍图片[多张用逗号分隔]
  8723. type: string
  8724. quoteminunit:
  8725. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8726. type: integer
  8727. trademode:
  8728. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8729. 21:竞拍-大宗式 22:受托竞价
  8730. type: integer
  8731. videourls:
  8732. description: 介绍视频[多张用逗号分隔]
  8733. type: string
  8734. required:
  8735. - goodscode
  8736. - goodsid
  8737. - goodsname
  8738. - marketid
  8739. - trademode
  8740. type: object
  8741. models.HybsMyBuyOrderDetail:
  8742. properties:
  8743. accountid:
  8744. description: 账户ID[报价币种]
  8745. type: integer
  8746. agreeunit:
  8747. description: 合约单位
  8748. type: number
  8749. buyorsell:
  8750. description: 买卖 - 0:买 1:卖
  8751. type: integer
  8752. cancelqty:
  8753. description: 撤单数量
  8754. type: integer
  8755. currencysign:
  8756. description: 货币符号
  8757. type: string
  8758. decimalplace:
  8759. description: 报价小数位
  8760. type: integer
  8761. goodscode:
  8762. description: 商品代码(内部)
  8763. type: string
  8764. goodsid:
  8765. description: 商品ID
  8766. type: integer
  8767. goodsname:
  8768. description: 商品名称
  8769. type: string
  8770. listingselecttype:
  8771. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8772. type: integer
  8773. marketid:
  8774. description: 市场ID
  8775. type: integer
  8776. mybuystatus:
  8777. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8778. type: integer
  8779. orderamount:
  8780. description: 委托金额
  8781. type: number
  8782. orderid:
  8783. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8784. type: string
  8785. orderprice:
  8786. description: 委托价格
  8787. type: number
  8788. orderqty:
  8789. description: 委托数量
  8790. type: integer
  8791. orderstatus:
  8792. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8793. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8794. 16:成交失败违约(荷兰式竞拍专用)
  8795. type: integer
  8796. ordertime:
  8797. description: 委托时间
  8798. type: string
  8799. picurls1:
  8800. description: 预售商品介绍图片[多张用逗号分隔]
  8801. type: string
  8802. picurls2:
  8803. description: 挂牌商品介绍图片[多张用逗号分隔]
  8804. type: string
  8805. trademode:
  8806. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8807. 21:竞拍-大宗式 22:受托竞价
  8808. type: integer
  8809. tradeqty:
  8810. description: 成交数量
  8811. type: integer
  8812. vendorname1:
  8813. description: 预售商品供应商名称
  8814. type: string
  8815. vendorname2:
  8816. description: 挂牌商品供应商名称
  8817. type: string
  8818. required:
  8819. - accountid
  8820. - buyorsell
  8821. - goodscode
  8822. - goodsid
  8823. - goodsname
  8824. - marketid
  8825. - orderid
  8826. - orderqty
  8827. - ordertime
  8828. - trademode
  8829. type: object
  8830. models.Loginaccount:
  8831. properties:
  8832. accountname:
  8833. description: 账户名称
  8834. type: string
  8835. canoutin:
  8836. description: 是否可出入金 - 0:不可 1:可
  8837. type: integer
  8838. clientroleid:
  8839. description: 终端角色ID
  8840. type: integer
  8841. haslogined:
  8842. description: 是否已登录 - 0:未登录 1:已登录
  8843. type: integer
  8844. hasupdatedpwd:
  8845. description: 是否已更改密码 - 0:未修改 1:已修改
  8846. type: integer
  8847. lastloginip:
  8848. description: 最新登录地址
  8849. type: string
  8850. lastloginmode:
  8851. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8852. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8853. type: integer
  8854. lastloginremark:
  8855. description: 最新登录描述
  8856. type: string
  8857. lastlogintime:
  8858. description: 最新登录时间
  8859. type: string
  8860. logincode:
  8861. description: 登录代码
  8862. type: string
  8863. loginfailnum:
  8864. description: 连续登录失败次数(登录成功时清零)
  8865. type: integer
  8866. loginid:
  8867. description: 登陆账号
  8868. type: integer
  8869. loginport:
  8870. description: 最新登录端口
  8871. type: integer
  8872. loginstatus:
  8873. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8874. type: integer
  8875. loginusertype:
  8876. description: 登录账号类型 - 1:投资者 2:机构交易员
  8877. type: integer
  8878. mobile:
  8879. description: 手机号码(加密存储)
  8880. type: string
  8881. modifierid:
  8882. description: 修改人
  8883. type: integer
  8884. modifysrc:
  8885. description: 审核来源 - 1:管理端 2:终端
  8886. type: integer
  8887. modifytime:
  8888. description: 修改时间
  8889. type: string
  8890. password:
  8891. description: 登陆密码
  8892. type: string
  8893. pwdwrongcount:
  8894. description: 密码错误次数
  8895. type: integer
  8896. relateduserid:
  8897. description: 关联用户ID(机构)
  8898. type: integer
  8899. taaccountrighttype:
  8900. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8901. type: integer
  8902. unfreezetime:
  8903. description: 账户解冻时间
  8904. type: string
  8905. userid:
  8906. description: 用户ID
  8907. type: integer
  8908. required:
  8909. - loginid
  8910. type: object
  8911. models.MainAccountInfo:
  8912. properties:
  8913. accountid:
  8914. description: 账号id
  8915. type: integer
  8916. accountname:
  8917. description: 账号名称(taaccount表中的名称)
  8918. type: string
  8919. appid:
  8920. description: AppID
  8921. type: string
  8922. authcode:
  8923. description: 授权码
  8924. type: string
  8925. brokerid:
  8926. description: 经纪商id
  8927. type: string
  8928. fcid:
  8929. description: 期货公司id
  8930. type: integer
  8931. fcname:
  8932. description: 期货公司代码
  8933. type: string
  8934. hedgeaccountcode:
  8935. description: 外部账号代码(主账号登录代码)
  8936. type: string
  8937. hedgeaccountpwd:
  8938. description: 密码
  8939. type: string
  8940. ismain:
  8941. description: 是否主账号
  8942. type: integer
  8943. relateduserid:
  8944. description: 关联用户id
  8945. type: integer
  8946. userid:
  8947. description: 关联用户id
  8948. type: integer
  8949. type: object
  8950. models.Market:
  8951. properties:
  8952. auctionwrtype:
  8953. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8954. type: integer
  8955. canacceptquote:
  8956. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8957. type: integer
  8958. cangoodsexercise:
  8959. description: '[期权]是否可现货行权- 0:否 1:是'
  8960. type: integer
  8961. cangoodsexercisetype:
  8962. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8963. type: integer
  8964. canmanualquotestrike:
  8965. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8966. type: integer
  8967. canmutistage:
  8968. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8969. type: integer
  8970. canpreexercise:
  8971. description: '[期权]是否可预申报- 0:否 1:是'
  8972. type: integer
  8973. clearinterval:
  8974. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8975. type: integer
  8976. contracttmp:
  8977. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8978. type: string
  8979. exchareaid:
  8980. description: 所属交易所,可以没有
  8981. type: integer
  8982. goodstype:
  8983. description: 商品类型 - 1:交易商品 2:仓单商品
  8984. type: integer
  8985. hasrebate:
  8986. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8987. type: integer
  8988. hastradecredit:
  8989. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8990. type: integer
  8991. haswr:
  8992. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8993. type: integer
  8994. isdeductmargin:
  8995. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8996. type: integer
  8997. isrecordsource:
  8998. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8999. type: integer
  9000. isreleasemargin:
  9001. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9002. type: integer
  9003. marginformula:
  9004. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9005. type: integer
  9006. marginformula2:
  9007. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9008. type: integer
  9009. marketid:
  9010. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9011. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9012. type: integer
  9013. marketname:
  9014. description: 市场名称
  9015. type: string
  9016. marketserviceid:
  9017. description: 市场服务ID
  9018. type: integer
  9019. marketstatus:
  9020. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9021. type: integer
  9022. markettype:
  9023. description: 市场类型- 1:非交易服务 2:交易服务
  9024. type: integer
  9025. matchermode:
  9026. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9027. type: integer
  9028. openmethod:
  9029. description: 开盘模式 - 0 自动 1手动
  9030. type: integer
  9031. otcuserid:
  9032. description: 场外期权做市商[场外期权]
  9033. type: integer
  9034. outersynctime:
  9035. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9036. type: string
  9037. pendingflag:
  9038. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9039. type: integer
  9040. pendingtime:
  9041. description: 待开市时间[通道交易-对冲](HH:mm)
  9042. type: string
  9043. performancetempid:
  9044. description: 履约计划模板ID - 作废
  9045. type: integer
  9046. premiumquotemode:
  9047. description: 权利金报价方式 - 1:自动 2:手动
  9048. type: integer
  9049. rebateratio:
  9050. description: 返利比率[竞价式]
  9051. type: number
  9052. reckonorder:
  9053. description: 结算顺序
  9054. type: integer
  9055. reckonpricealgorithm:
  9056. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9057. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9058. type: integer
  9059. reckonpriceparam:
  9060. description: 结算价参数
  9061. type: integer
  9062. reckontime:
  9063. description: 结算时间[通道交易-对冲](HH:mm)
  9064. type: string
  9065. roleprioritytype:
  9066. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9067. type: integer
  9068. selllistingauditflag:
  9069. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9070. type: integer
  9071. trademarkettype:
  9072. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9073. type: integer
  9074. trademode:
  9075. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9076. 21:竞拍-大宗式 22:受托竞价
  9077. type: integer
  9078. tradeproperty:
  9079. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9080. 8:场外期权
  9081. type: integer
  9082. tradetype:
  9083. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9084. type: integer
  9085. required:
  9086. - marketid
  9087. - marketstatus
  9088. - openmethod
  9089. - reckonpricealgorithm
  9090. - trademode
  9091. - tradeproperty
  9092. type: object
  9093. models.Marketrun:
  9094. properties:
  9095. afternexttradedate:
  9096. description: 下下交易日
  9097. type: string
  9098. clearquoteflag:
  9099. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9100. type: integer
  9101. lastreckondate:
  9102. description: 最新交易日(结算成功)
  9103. type: string
  9104. machinedate:
  9105. description: 机器时间
  9106. type: string
  9107. manualflag:
  9108. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9109. type: integer
  9110. marketid:
  9111. description: 市场ID
  9112. type: integer
  9113. nexttradedate:
  9114. description: 下一交易日
  9115. type: string
  9116. pretradedate:
  9117. description: 上一交易日
  9118. type: string
  9119. reckonflag:
  9120. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9121. type: integer
  9122. runstatus:
  9123. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9124. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9125. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9126. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9127. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9128. 62.今日免清算
  9129. type: integer
  9130. sectionid:
  9131. description: 时间段号[多时段时用]
  9132. type: integer
  9133. tradedate:
  9134. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9135. type: string
  9136. tradedate2:
  9137. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9138. type: string
  9139. updatetime:
  9140. description: 更新时间
  9141. type: string
  9142. required:
  9143. - marketid
  9144. - nexttradedate
  9145. - reckonflag
  9146. - runstatus
  9147. - tradedate
  9148. - tradedate2
  9149. type: object
  9150. models.Messageboard:
  9151. properties:
  9152. contactnum:
  9153. description: 联系电话
  9154. type: string
  9155. createtime:
  9156. description: 创建时间
  9157. type: string
  9158. message:
  9159. description: 留言信息
  9160. type: string
  9161. messageboardid:
  9162. description: 留言簿ID(SEQ_MessageBoard)
  9163. type: integer
  9164. userid:
  9165. description: 用户ID
  9166. type: integer
  9167. required:
  9168. - messageboardid
  9169. type: object
  9170. models.MyCoupon:
  9171. properties:
  9172. accountid:
  9173. description: 资金账户ID
  9174. type: integer
  9175. areauserid:
  9176. description: 所属机构
  9177. type: integer
  9178. conditionvalue:
  9179. description: 条件阈值(可为0)
  9180. type: number
  9181. couponcategroy:
  9182. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9183. type: integer
  9184. couponname:
  9185. description: 优惠券名称
  9186. type: string
  9187. coupontypeid:
  9188. description: 优惠券类型ID
  9189. type: string
  9190. couponvalue:
  9191. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9192. type: number
  9193. curfreezeqty:
  9194. description: 期末冻结数量
  9195. type: integer
  9196. curqty:
  9197. description: 期末数量
  9198. type: integer
  9199. isgeneral:
  9200. description: 是否通用券 - 0:否 1:是
  9201. type: integer
  9202. isunusable:
  9203. description: 是否不可用
  9204. type: boolean
  9205. limitedflag:
  9206. description: 是否指定商品 - 0:不限 1:限制
  9207. type: integer
  9208. limitedgoodsids:
  9209. description: 指定商品IDs[逗号分隔,前后加逗号]
  9210. type: string
  9211. orifreezeqty:
  9212. description: 期初冻结数量
  9213. type: integer
  9214. oriqty:
  9215. description: 期初数量
  9216. type: integer
  9217. reasontype:
  9218. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9219. type: integer
  9220. todaydecrease:
  9221. description: 今日减少
  9222. type: integer
  9223. todayincrease:
  9224. description: 今日增加
  9225. type: integer
  9226. userid:
  9227. description: 用户ID
  9228. type: integer
  9229. userscope:
  9230. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9231. type: string
  9232. required:
  9233. - accountid
  9234. - coupontypeid
  9235. type: object
  9236. models.MyCouponHold:
  9237. properties:
  9238. accountid:
  9239. description: 资金账户ID
  9240. type: integer
  9241. conditionvalue:
  9242. description: 条件阈值(可为0)
  9243. type: number
  9244. couponcategroy:
  9245. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9246. type: integer
  9247. couponholdid:
  9248. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9249. type: string
  9250. couponname:
  9251. description: 优惠券名称
  9252. type: string
  9253. coupontypeid:
  9254. description: 优惠券类型ID - SEQ_COUPONTYPE
  9255. type: string
  9256. couponvalue:
  9257. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9258. type: number
  9259. createtime:
  9260. description: 创建时间
  9261. type: string
  9262. enddate:
  9263. description: 结束日期
  9264. type: string
  9265. giveapplyid:
  9266. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9267. type: integer
  9268. holdstatus:
  9269. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9270. type: integer
  9271. isgeneral:
  9272. description: 是否通用券 - 0:否 1:是
  9273. type: integer
  9274. limitedflag:
  9275. description: 是否指定商品 - 0:不限 1:限制
  9276. type: integer
  9277. limitedgoodsids:
  9278. description: 指定商品IDs[逗号分隔]
  9279. type: string
  9280. qty:
  9281. description: 数量(按1平铺)
  9282. type: integer
  9283. startdate:
  9284. description: 开始日期
  9285. type: string
  9286. userid:
  9287. description: 用户ID
  9288. type: integer
  9289. userscope:
  9290. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9291. type: string
  9292. required:
  9293. - couponholdid
  9294. type: object
  9295. models.MyUsedCoupon:
  9296. properties:
  9297. accountid:
  9298. description: 资金账户ID(买方)
  9299. type: integer
  9300. conditionvalue:
  9301. description: 条件阈值(可为0)
  9302. type: number
  9303. couponcategroy:
  9304. description: 种类 - 1:现金券 2:折扣券
  9305. type: integer
  9306. couponname:
  9307. description: 优惠券名称
  9308. type: string
  9309. coupontypeid:
  9310. description: 优惠券类型ID(买方)
  9311. type: string
  9312. couponvalue:
  9313. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9314. type: number
  9315. createtime:
  9316. description: 创建时间
  9317. type: string
  9318. goodsid:
  9319. description: 商品ID
  9320. type: integer
  9321. handlestatus:
  9322. description: 处理状态
  9323. type: integer
  9324. marketid:
  9325. description: 市场ID
  9326. type: integer
  9327. offamount:
  9328. description: 优惠金额
  9329. type: number
  9330. orderid:
  9331. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9332. type: string
  9333. sellaccountid:
  9334. description: 资金账户ID(卖方)
  9335. type: integer
  9336. tradeamount:
  9337. description: 成交金额
  9338. type: number
  9339. tradeid:
  9340. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9341. type: string
  9342. usedqty:
  9343. description: 使用数量
  9344. type: integer
  9345. required:
  9346. - coupontypeid
  9347. - orderid
  9348. type: object
  9349. models.OperationPrimaryMenu:
  9350. properties:
  9351. Children:
  9352. description: 二级功能菜单
  9353. items:
  9354. $ref: '#/definitions/models.OperationSecondaryMenu'
  9355. type: array
  9356. Key:
  9357. description: 菜单KEY
  9358. type: string
  9359. Label:
  9360. description: 菜单标题
  9361. type: string
  9362. type: object
  9363. models.OperationSecondaryMenu:
  9364. properties:
  9365. Key:
  9366. description: 菜单KEY
  9367. type: string
  9368. Label:
  9369. description: 菜单标题
  9370. type: string
  9371. TabList:
  9372. description: 三级功能菜单
  9373. items:
  9374. $ref: '#/definitions/models.OperationTabMenu'
  9375. type: array
  9376. type: object
  9377. models.OperationTabMenu:
  9378. properties:
  9379. Key:
  9380. description: 菜单KEY
  9381. type: string
  9382. Label:
  9383. description: 菜单标题
  9384. type: string
  9385. type: object
  9386. models.PendingAuditBizModel:
  9387. properties:
  9388. accountid:
  9389. description: 现货账户
  9390. type: string
  9391. areaname:
  9392. description: 所属部门
  9393. type: string
  9394. bizid:
  9395. description: 业务ID
  9396. type: string
  9397. bizname:
  9398. description: 业务名称
  9399. type: string
  9400. status:
  9401. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9402. type: integer
  9403. type:
  9404. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9405. type: integer
  9406. type: object
  9407. models.QhjAccountOutInApply:
  9408. properties:
  9409. accountcode:
  9410. description: 资金账号
  9411. type: string
  9412. accountname:
  9413. description: 用户名称(名称)
  9414. type: string
  9415. accountpwd:
  9416. description: 资金密码
  9417. type: string
  9418. accountticket:
  9419. description: 最新账户服务流水号
  9420. type: string
  9421. amount:
  9422. description: 金额
  9423. type: number
  9424. applyremark:
  9425. description: 申请备注
  9426. type: string
  9427. applystatus:
  9428. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9429. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9430. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9431. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9432. type: integer
  9433. auditid:
  9434. description: 审核人
  9435. type: integer
  9436. audittime:
  9437. description: 审核时间
  9438. type: string
  9439. bank_apply_ticket:
  9440. description: 银行申请流水
  9441. type: string
  9442. bankaccountname:
  9443. description: 银行账户名
  9444. type: string
  9445. bankaccountno:
  9446. description: 银行卡号
  9447. type: string
  9448. bankid:
  9449. description: 银行编号
  9450. type: string
  9451. bankticket:
  9452. description: 银行流水
  9453. type: string
  9454. branchbankid:
  9455. description: 银行支行号
  9456. type: string
  9457. branchbankname:
  9458. description: 银行支行名称
  9459. type: string
  9460. capamountout:
  9461. description: 出金(劣后本金) - 外部子账户
  9462. type: number
  9463. certificatephotourl:
  9464. description: 凭证地址
  9465. type: string
  9466. charge:
  9467. description: 手续费
  9468. type: number
  9469. checkerrorflag:
  9470. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9471. type: integer
  9472. currency:
  9473. description: 币种
  9474. type: string
  9475. cusbankid:
  9476. description: 托管银行编号
  9477. type: string
  9478. exchticket:
  9479. description: 银行服务流水号
  9480. type: string
  9481. executetype:
  9482. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9483. 7:外部子账户:入金 8:外部子账户:出金'
  9484. type: integer
  9485. extendinfo:
  9486. description: 扩展信息
  9487. type: string
  9488. extoperateid:
  9489. description: 交易服务流水号
  9490. type: integer
  9491. infamount:
  9492. description: 劣后金额(自有)
  9493. type: number
  9494. logincode:
  9495. description: 登录账号(账号)
  9496. type: string
  9497. netaddr:
  9498. description: 调转网址
  9499. type: string
  9500. priamount:
  9501. description: 优先金额(授信)
  9502. type: number
  9503. reauditid:
  9504. description: 复审人
  9505. type: integer
  9506. reauditremark:
  9507. description: 复审备注
  9508. type: string
  9509. reaudittime:
  9510. description: 复审时间
  9511. type: string
  9512. relatedorderid:
  9513. description: 三方关联ID
  9514. type: string
  9515. remark:
  9516. description: 备注
  9517. type: string
  9518. remark2:
  9519. description: 备注(失败原因)
  9520. type: string
  9521. soucreamount:
  9522. description: 原始出入金金额
  9523. type: number
  9524. soucrecurrencyid:
  9525. description: 原始出入金币种
  9526. type: integer
  9527. tradedate:
  9528. description: 交易日(yyyyMMdd)
  9529. type: string
  9530. updatetime:
  9531. description: 更新时间(申请时间)
  9532. type: string
  9533. userid:
  9534. description: 用户id
  9535. type: integer
  9536. userinfotype:
  9537. description: 账户类型 1-个人 2-企业
  9538. type: integer
  9539. type: object
  9540. models.QhjAgreementChangeLog:
  9541. properties:
  9542. agreementcontent:
  9543. description: 协议内容
  9544. type: string
  9545. agreementfrequency:
  9546. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9547. type: integer
  9548. agreementid:
  9549. description: 协议ID
  9550. type: integer
  9551. agreementname:
  9552. description: 协议名称
  9553. type: string
  9554. agreementno:
  9555. description: 协议编号
  9556. type: string
  9557. agreementtype:
  9558. description: 协议类型 - 1:注册 2:登录 3:交易
  9559. type: integer
  9560. agreementversion:
  9561. description: 协议版本号
  9562. type: integer
  9563. logid:
  9564. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9565. type: integer
  9566. reviserid:
  9567. description: 修改人
  9568. type: integer
  9569. revisersrc:
  9570. description: 修改来源 - 1:管理端 2:终端
  9571. type: integer
  9572. updatetime:
  9573. description: 更新时间
  9574. type: string
  9575. type: object
  9576. models.QhjAgreementConfig:
  9577. properties:
  9578. agreementcontent:
  9579. description: 协议内容
  9580. type: string
  9581. agreementfrequency:
  9582. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9583. type: integer
  9584. agreementid:
  9585. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9586. type: integer
  9587. agreementname:
  9588. description: 协议名称
  9589. type: string
  9590. agreementno:
  9591. description: 协议编号
  9592. type: string
  9593. agreementtype:
  9594. description: 协议类型 - 1:注册 2:登录 3:交易
  9595. type: integer
  9596. agreementversion:
  9597. description: 协议版本号(从1开始每次修改加1)
  9598. type: integer
  9599. createtime:
  9600. description: 创建时间
  9601. type: string
  9602. creatorid:
  9603. description: 创建人
  9604. type: integer
  9605. creatorsrc:
  9606. description: 创建来源 - 1:管理端 2:终端
  9607. type: integer
  9608. isvalid:
  9609. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9610. type: integer
  9611. reviserid:
  9612. description: 修改人
  9613. type: integer
  9614. revisersrc:
  9615. description: 修改来源 - 1:管理端 2:终端
  9616. type: integer
  9617. updatetime:
  9618. description: 更新时间
  9619. type: string
  9620. type: object
  9621. models.QhjAreaFinanceConfig:
  9622. properties:
  9623. additionalratio:
  9624. description: 追加款比例
  9625. type: number
  9626. advanceratio:
  9627. description: 预付款比例
  9628. type: number
  9629. alarmratio:
  9630. description: 告警比例
  9631. type: number
  9632. consumptiondirectreward:
  9633. description: 消费直推奖励值
  9634. type: number
  9635. consumptionenabled:
  9636. description: 是否启用消费奖励 - 0:不启用 1:启用
  9637. type: integer
  9638. consumptionindirectreward:
  9639. description: 消费间推奖励值
  9640. type: number
  9641. consumptionmodel:
  9642. description: 消费奖励方式 - 1:比率 2:固定
  9643. type: integer
  9644. customerservicenum:
  9645. description: 客服电话
  9646. type: string
  9647. dayinterestrate:
  9648. description: 日利率
  9649. type: number
  9650. disableconsumptiontips:
  9651. description: 关闭消费奖励提示
  9652. type: string
  9653. modifierid:
  9654. description: 修改人ID
  9655. type: integer
  9656. modifysrc:
  9657. description: 审核来源 - 1:管理端 2:终端
  9658. type: integer
  9659. modifytime:
  9660. description: 修改时间
  9661. type: string
  9662. promotionvalue:
  9663. description: 推广奖励值(固定)
  9664. type: number
  9665. scoreconfigvalue1:
  9666. description: 提货积分配置1
  9667. type: integer
  9668. scoreconfigvalue2:
  9669. description: 提货积分配置2
  9670. type: integer
  9671. userid:
  9672. description: 机构用户ID其他做市关系,都设置为 1
  9673. type: integer
  9674. username:
  9675. description: 用户名称
  9676. type: string
  9677. type: object
  9678. models.QhjBankAccountSign:
  9679. properties:
  9680. accountcode:
  9681. description: 资金账号
  9682. type: string
  9683. accountname:
  9684. description: 资金账号对应的账号名(UserName)
  9685. type: string
  9686. accountname2:
  9687. description: 资金账号对应的账号名(UserName) - 密文
  9688. type: string
  9689. accounttype:
  9690. description: 账户类型(UserType)
  9691. type: integer
  9692. applicationtime:
  9693. description: 最后一次更新的时间
  9694. type: string
  9695. applyexchticket:
  9696. description: 申请流水
  9697. type: string
  9698. auditid:
  9699. description: 审核人
  9700. type: integer
  9701. audittime:
  9702. description: 审核时间
  9703. type: string
  9704. bankaccountname:
  9705. description: 签约银行卡账号名
  9706. type: string
  9707. bankaccountname2:
  9708. description: 签约银行卡账号名 - 密文
  9709. type: string
  9710. bankaccountno:
  9711. description: 银行卡号
  9712. type: string
  9713. bankaccountno2:
  9714. description: 银行卡号 - 密文
  9715. type: string
  9716. bankaccounttype:
  9717. description: 银行账户类型 - 1-对私; 2-对公
  9718. type: integer
  9719. bankcardtype:
  9720. description: 银行卡类型
  9721. type: integer
  9722. bankchildaccount:
  9723. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9724. type: string
  9725. bankcity:
  9726. description: 开户行城市
  9727. type: string
  9728. bankid:
  9729. description: 签约银行ID
  9730. type: string
  9731. bankname:
  9732. description: 签约银行名称
  9733. type: string
  9734. bankprovince:
  9735. description: 开户行省份
  9736. type: string
  9737. branchbankid:
  9738. description: 签约银行支行号
  9739. type: string
  9740. branchbankname:
  9741. description: 签约银行支行名称
  9742. type: string
  9743. cardno:
  9744. description: 证件号码
  9745. type: string
  9746. cardno2:
  9747. description: 证件号码 - 密文
  9748. type: string
  9749. cardtype:
  9750. description: 证件类型
  9751. type: string
  9752. currency:
  9753. description: 币种
  9754. type: string
  9755. cusbankid:
  9756. description: 托管银行编号
  9757. type: string
  9758. direct:
  9759. description: 方向(可以判断那方先发起的签约)
  9760. type: integer
  9761. exchticket:
  9762. description: 最后一次签约成功的流水号
  9763. type: string
  9764. extendinfo:
  9765. description: 扩展信息(JSON字符串)
  9766. type: string
  9767. mobilephone:
  9768. description: 手机号
  9769. type: string
  9770. mobilephone2:
  9771. description: 手机号 - 密文
  9772. type: string
  9773. netaddr:
  9774. description: 调转网址
  9775. type: string
  9776. relateduserid:
  9777. description: 关联使用者userid
  9778. type: integer
  9779. signstatus:
  9780. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9781. 10:审核拒绝 11:换签待审核
  9782. type: integer
  9783. updatetime:
  9784. description: 更新时间(签解约更新时间)
  9785. type: string
  9786. type: object
  9787. models.QhjBankInfo:
  9788. properties:
  9789. bankid:
  9790. description: 银行ID
  9791. type: string
  9792. bankname:
  9793. description: 银行名称
  9794. type: string
  9795. clearbankno:
  9796. description: 清算系统银行编号
  9797. type: string
  9798. orderindex:
  9799. description: 排序顺序
  9800. type: integer
  9801. status:
  9802. description: 状态 - 0:正常 1:注销
  9803. type: integer
  9804. type: object
  9805. models.QhjBrokerApply:
  9806. properties:
  9807. applicantid:
  9808. description: 申请人
  9809. type: integer
  9810. applysrc:
  9811. description: 申请来源 - 1:管理端 2:终端
  9812. type: integer
  9813. applystatus:
  9814. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9815. type: integer
  9816. applytime:
  9817. description: 申请时间
  9818. type: string
  9819. auditorid:
  9820. description: 审核人
  9821. type: integer
  9822. auditremark:
  9823. description: 审核备注
  9824. type: string
  9825. auditsrc:
  9826. description: 审核来源 - 1:管理端 2:终端
  9827. type: integer
  9828. audittime:
  9829. description: 审核时间
  9830. type: string
  9831. audittradedate:
  9832. description: 审核交易日(yyyyMMdd)
  9833. type: string
  9834. brokerapplyid:
  9835. description: 申请ID(SEQ_BROKERAPPLY)
  9836. type: integer
  9837. cardbackphotourl:
  9838. description: 证件背面图片地址
  9839. type: string
  9840. cardfrontphotourl:
  9841. description: 证件正面图片地址
  9842. type: string
  9843. cardnum:
  9844. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9845. type: string
  9846. customername:
  9847. description: 姓名
  9848. type: string
  9849. logincode:
  9850. description: 登录代码
  9851. type: string
  9852. mobile:
  9853. description: 手机号码
  9854. type: string
  9855. parentuserid:
  9856. description: 所属机构id
  9857. type: integer
  9858. parentusername:
  9859. description: 所属机构名称
  9860. type: string
  9861. refereeuserid:
  9862. description: 推荐人id(经纪人)
  9863. type: integer
  9864. refernum:
  9865. description: 推荐码
  9866. type: string
  9867. remark:
  9868. description: 备注
  9869. type: string
  9870. subarealevelpath:
  9871. description: 层级路径
  9872. type: string
  9873. tradedate:
  9874. description: 交易日(yyyyMMdd)
  9875. type: string
  9876. userid:
  9877. description: 申请人用户ID
  9878. type: integer
  9879. userinfotype:
  9880. description: 用户类型 1-个人 2-企业
  9881. type: integer
  9882. username:
  9883. description: 用户名称
  9884. type: string
  9885. type: object
  9886. models.QhjBrokerApplyEx:
  9887. properties:
  9888. applylist:
  9889. description: 经纪人申请记录(只返回最新一条)
  9890. items:
  9891. $ref: '#/definitions/models.QhjBrokerApply'
  9892. type: array
  9893. canrecommend:
  9894. description: 是否经纪人 0-不是 1-是
  9895. type: integer
  9896. refernum:
  9897. description: 推荐码
  9898. type: string
  9899. userid:
  9900. description: 用户id
  9901. type: integer
  9902. userinfotype:
  9903. description: 用户类型 1-个人 2-企业
  9904. type: integer
  9905. type: object
  9906. models.QhjBrokerRewardLog:
  9907. properties:
  9908. accountid:
  9909. description: 资金账号ID
  9910. type: integer
  9911. createtime:
  9912. description: 创建时间(时间)
  9913. type: string
  9914. handlestatus:
  9915. description: 处理状态
  9916. type: integer
  9917. logid:
  9918. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9919. type: string
  9920. marketid:
  9921. description: 市场ID
  9922. type: integer
  9923. mmaccountid:
  9924. description: 做市商资金账号ID
  9925. type: string
  9926. mmuserid:
  9927. description: 做市商用户ID
  9928. type: string
  9929. rewardamount:
  9930. description: 奖励金额
  9931. type: number
  9932. rewardmodel:
  9933. description: 消费奖励方式 - 1:比率 2:固定
  9934. type: integer
  9935. rewardtype:
  9936. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9937. type: integer
  9938. rewardvalue:
  9939. description: 配置奖励值
  9940. type: number
  9941. srcamount:
  9942. description: 成交金额 [消费奖励] (金额)
  9943. type: number
  9944. srcgoodsid:
  9945. description: 来源商品ID [消费奖励]
  9946. type: string
  9947. srctime:
  9948. description: 来源时间 (成交时间) [消费奖励]
  9949. type: string
  9950. srctradeid:
  9951. description: 来源成交单ID [消费奖励] - 排除提货成交
  9952. type: string
  9953. srcuserid:
  9954. description: 来源用户ID(推广账户)
  9955. type: string
  9956. srcusername:
  9957. description: 推广账户名称
  9958. type: string
  9959. tradedate:
  9960. description: 交易日(yyyyMMdd)
  9961. type: string
  9962. userid:
  9963. description: 经纪人用户ID
  9964. type: integer
  9965. type: object
  9966. models.QhjContract:
  9967. properties:
  9968. contractconfirmtime:
  9969. description: 合同确认时间(时间)
  9970. type: string
  9971. currisklevel:
  9972. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9973. type: integer
  9974. decimalplace:
  9975. description: 商品报价小数位
  9976. type: integer
  9977. enumdicname:
  9978. description: 单位名称
  9979. type: string
  9980. goodscode:
  9981. description: 商品代码
  9982. type: string
  9983. goodsid:
  9984. description: 商品ID [5:融资单]
  9985. type: integer
  9986. goodsname:
  9987. description: 商品名称
  9988. type: string
  9989. goodunitid:
  9990. description: 商品单位id
  9991. type: integer
  9992. initmargin:
  9993. description: 初始保证金(首付款)
  9994. type: number
  9995. lenderamount:
  9996. description: 贷款金额(总额|订单总额)
  9997. type: number
  9998. marginratio:
  9999. description: 保证金比率(首付比例)
  10000. type: number
  10001. payamount:
  10002. description: 已付(已付货款)
  10003. type: number
  10004. reckonrecovermargin:
  10005. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10006. type: number
  10007. recoveredmargin:
  10008. description: 已追缴保证金
  10009. type: number
  10010. remainamount:
  10011. description: 合同剩余金额(融资额)
  10012. type: number
  10013. scfcontractid:
  10014. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10015. type: string
  10016. scfcontractstatus:
  10017. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10018. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10019. type: integer
  10020. scfcontracttype:
  10021. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10022. type: integer
  10023. totalinterest:
  10024. description: 已计总利息(利息)
  10025. type: number
  10026. tradeprice:
  10027. description: 成交价格(成本价格)
  10028. type: number
  10029. userid:
  10030. description: 用户ID
  10031. type: integer
  10032. username:
  10033. description: 用户名称
  10034. type: string
  10035. wrqty:
  10036. description: 仓单数量(数量)
  10037. type: number
  10038. type: object
  10039. models.QhjContractLog:
  10040. properties:
  10041. amount:
  10042. description: 支付金额
  10043. type: number
  10044. amounttype:
  10045. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10046. type: integer
  10047. logid:
  10048. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10049. type: string
  10050. remainamount:
  10051. description: 剩余货款
  10052. type: number
  10053. scfcontractid:
  10054. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10055. type: integer
  10056. updatetime:
  10057. description: 更新时间
  10058. type: string
  10059. type: object
  10060. models.QhjCusBankSignBankEx:
  10061. properties:
  10062. banklst:
  10063. description: 银行列表
  10064. items:
  10065. $ref: '#/definitions/models.QhjBankInfo'
  10066. type: array
  10067. canallot:
  10068. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10069. type: integer
  10070. canallotquery:
  10071. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10072. type: integer
  10073. canbindcard:
  10074. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10075. type: integer
  10076. caninamount:
  10077. description: 是否可入金 - 0:不可 1:可以
  10078. type: integer
  10079. caninamount2:
  10080. description: 是否可入金(网银端) - 0:不可 1:可以
  10081. type: integer
  10082. canmodifybankcard:
  10083. description: 是否可修改银行卡号 - 0:不可 1:可以
  10084. type: integer
  10085. canmodifyphone:
  10086. description: 是否可修改手机号 - 0:不可 1:可以
  10087. type: integer
  10088. canmodifysigninfo:
  10089. description: 是否可修改签约信息 - 0:不可 1:可以
  10090. type: integer
  10091. canoutamount:
  10092. description: 是否可出金 - 0:不可 1:可以
  10093. type: integer
  10094. canoutamount2:
  10095. description: 是否可出金(网银端) - 0:不可 1:可以
  10096. type: integer
  10097. canrelease:
  10098. description: 是否可解约 - 0:不可 1:可以
  10099. type: integer
  10100. canrelease2:
  10101. description: 是否可解约(网银端) - 0:不可 1:可以
  10102. type: integer
  10103. cansign:
  10104. description: 是否可签约 - 0:不可 1:可以
  10105. type: integer
  10106. cansign2:
  10107. description: 是否可签约(网银端) - 0:不可 1:可以
  10108. type: integer
  10109. currency:
  10110. description: 币种
  10111. type: string
  10112. cusbankid:
  10113. description: 托管银行编号(对应清算中心TRAN_NO)
  10114. type: string
  10115. cusbankname:
  10116. description: 银行业务名称
  10117. type: string
  10118. cusbankshortname:
  10119. description: 银行业务简称
  10120. type: string
  10121. exchbankid:
  10122. description: 交易所开户银行ID
  10123. type: string
  10124. exchpaybankaccname:
  10125. description: 交易所支出结算账户户名
  10126. type: string
  10127. exchpaybankaccno:
  10128. description: 交易所支出结算账户
  10129. type: string
  10130. isneedcheck:
  10131. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10132. type: integer
  10133. isneedclear:
  10134. description: 是否需要清算 - 0:不需要 1:需要
  10135. type: integer
  10136. lastcheckstatus:
  10137. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10138. type: integer
  10139. lastchecktime:
  10140. description: 最后对账时间
  10141. type: string
  10142. lastclearstatus:
  10143. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10144. type: integer
  10145. lastcleartime:
  10146. description: 最后清算时间
  10147. type: string
  10148. lastsignintime:
  10149. description: 最后签到时间
  10150. type: string
  10151. lastsignouttime:
  10152. description: 最后签退时间
  10153. type: string
  10154. riskinfo:
  10155. description: 签约风险提示书
  10156. type: string
  10157. signstatus:
  10158. description: 当前签到/签退状态 - 1:签到 2:签退
  10159. type: integer
  10160. tradedate:
  10161. description: 交易日(yyyyMMdd)
  10162. type: string
  10163. updatetime:
  10164. description: 当前签到/签退更新时间
  10165. type: string
  10166. type: object
  10167. models.QhjCustomer:
  10168. properties:
  10169. address:
  10170. description: 通讯地址
  10171. type: string
  10172. attachment1:
  10173. description: 附件1
  10174. type: string
  10175. audittime:
  10176. description: 审核时间
  10177. type: string
  10178. cardbackphotourl:
  10179. description: 证件反面图片地址
  10180. type: string
  10181. cardfrontphotourl:
  10182. description: 证件正面图片地址
  10183. type: string
  10184. cardnum:
  10185. description: 证件号码
  10186. type: string
  10187. cardtype:
  10188. description: 证件类型
  10189. type: integer
  10190. cardtypename:
  10191. description: 证件类型名称
  10192. type: string
  10193. cityid:
  10194. description: 市
  10195. type: integer
  10196. cityname:
  10197. description: 城市名称
  10198. type: string
  10199. contactname:
  10200. description: 联系人
  10201. type: string
  10202. countryid:
  10203. description: 国家
  10204. type: integer
  10205. countryname:
  10206. description: 国家名称
  10207. type: string
  10208. createtime:
  10209. description: 创建时间
  10210. type: string
  10211. customername:
  10212. description: 客户名称
  10213. type: string
  10214. districtid:
  10215. description: 区域
  10216. type: integer
  10217. districtname:
  10218. description: 地区名称
  10219. type: string
  10220. email:
  10221. description: 邮件
  10222. type: string
  10223. legalpersonname:
  10224. description: 法人姓名(企业)
  10225. type: string
  10226. logincode:
  10227. description: 登录账号(代码)
  10228. type: string
  10229. memberuserid:
  10230. description: 所属机构ID(所属会员)
  10231. type: integer
  10232. memberusername:
  10233. description: 所属会员名称
  10234. type: string
  10235. mobile:
  10236. description: 手机号码
  10237. type: string
  10238. modifytime:
  10239. description: 修改时间
  10240. type: string
  10241. nickname:
  10242. description: 昵称
  10243. type: string
  10244. parentuserid:
  10245. description: 上级机构(所属机构)
  10246. type: integer
  10247. parentusername:
  10248. description: 所属机构名称
  10249. type: string
  10250. provinceid:
  10251. description: 省
  10252. type: integer
  10253. provincename:
  10254. description: 省名称
  10255. type: string
  10256. proxystatementurl:
  10257. description: 授权委托书
  10258. type: string
  10259. remark:
  10260. description: 备注
  10261. type: string
  10262. status:
  10263. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10264. type: integer
  10265. statusdesc:
  10266. description: 账户状态中文描述
  10267. type: string
  10268. taxpayernum:
  10269. description: 纳税人识别号
  10270. type: string
  10271. telphone:
  10272. description: 联系电话
  10273. type: string
  10274. userid:
  10275. description: 用户ID
  10276. type: integer
  10277. userinfotype:
  10278. description: 客户类型 1-个人 2-企业
  10279. type: integer
  10280. username:
  10281. description: 用户名称
  10282. type: string
  10283. type: object
  10284. models.QhjCustomerSignLog:
  10285. properties:
  10286. agreementcontent:
  10287. description: 协议内容
  10288. type: string
  10289. agreementid:
  10290. description: 协议ID
  10291. type: integer
  10292. agreementname:
  10293. description: 协议名称
  10294. type: string
  10295. agreementno:
  10296. description: 协议编号
  10297. type: string
  10298. agreementtype:
  10299. description: 协议类型 - 1:注册 2:登录 3:交易
  10300. type: integer
  10301. agreementversion:
  10302. description: 协议版本号
  10303. type: integer
  10304. createtime:
  10305. description: 创建时间
  10306. type: string
  10307. goodscode:
  10308. description: 商品代码
  10309. type: string
  10310. goodsid:
  10311. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10312. type: integer
  10313. goodsname:
  10314. description: 商品名称
  10315. type: string
  10316. logid:
  10317. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10318. type: integer
  10319. nodetype:
  10320. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10321. type: integer
  10322. signadressurl:
  10323. description: 签约文件地址
  10324. type: string
  10325. signtimestamp:
  10326. description: 签约状态时间戳
  10327. type: string
  10328. userid:
  10329. description: 客户ID
  10330. type: integer
  10331. username:
  10332. description: 客户名称
  10333. type: string
  10334. type: object
  10335. models.QhjCustomerSignStatus:
  10336. properties:
  10337. createtime:
  10338. description: 创建时间
  10339. type: string
  10340. goodscode:
  10341. description: 商品代码
  10342. type: string
  10343. goodsid:
  10344. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10345. type: integer
  10346. goodsname:
  10347. description: 商品名称
  10348. type: string
  10349. nodetype:
  10350. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10351. type: integer
  10352. signtimestamp:
  10353. description: 签约状态时间戳
  10354. type: string
  10355. tradedate:
  10356. description: 创建交易日(yyyyMMdd)
  10357. type: string
  10358. updatetime:
  10359. description: 更新时间
  10360. type: string
  10361. userid:
  10362. description: 客户ID
  10363. type: integer
  10364. username:
  10365. description: 客户名称
  10366. type: string
  10367. type: object
  10368. models.QhjMgrAccountOutInApply:
  10369. properties:
  10370. accountcode:
  10371. description: 资金账号
  10372. type: string
  10373. accountname:
  10374. description: 用户名称(名称)
  10375. type: string
  10376. accountpwd:
  10377. description: 资金密码
  10378. type: string
  10379. accountticket:
  10380. description: 最新账户服务流水号
  10381. type: string
  10382. amount:
  10383. description: 金额
  10384. type: number
  10385. applyremark:
  10386. description: 申请备注
  10387. type: string
  10388. applystatus:
  10389. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10390. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10391. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10392. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10393. type: integer
  10394. auditid:
  10395. description: 审核人
  10396. type: integer
  10397. audittime:
  10398. description: 审核时间
  10399. type: string
  10400. bank_apply_ticket:
  10401. description: 银行申请流水
  10402. type: string
  10403. bankaccountname:
  10404. description: 银行账户名
  10405. type: string
  10406. bankaccountno:
  10407. description: 银行卡号
  10408. type: string
  10409. bankid:
  10410. description: 银行编号
  10411. type: string
  10412. bankname:
  10413. description: 银行名称
  10414. type: string
  10415. bankticket:
  10416. description: 银行流水
  10417. type: string
  10418. branchbankid:
  10419. description: 银行支行号
  10420. type: string
  10421. branchbankname:
  10422. description: 银行支行名称
  10423. type: string
  10424. capamountout:
  10425. description: 出金(劣后本金) - 外部子账户
  10426. type: number
  10427. certificatephotourl:
  10428. description: 凭证地址
  10429. type: string
  10430. charge:
  10431. description: 手续费
  10432. type: number
  10433. checkerrorflag:
  10434. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10435. type: integer
  10436. currency:
  10437. description: 币种
  10438. type: string
  10439. cusbankid:
  10440. description: 托管银行编号
  10441. type: string
  10442. exchticket:
  10443. description: 银行服务流水号
  10444. type: string
  10445. executetype:
  10446. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10447. 7:外部子账户:入金 8:外部子账户:出金'
  10448. type: integer
  10449. extendinfo:
  10450. description: 扩展信息
  10451. type: string
  10452. extoperateid:
  10453. description: 交易服务流水号
  10454. type: integer
  10455. infamount:
  10456. description: 劣后金额(自有)
  10457. type: number
  10458. logincode:
  10459. description: 登录账号(账号)
  10460. type: string
  10461. netaddr:
  10462. description: 调转网址
  10463. type: string
  10464. priamount:
  10465. description: 优先金额(授信)
  10466. type: number
  10467. reauditid:
  10468. description: 复审人
  10469. type: integer
  10470. reauditremark:
  10471. description: 复审备注
  10472. type: string
  10473. reaudittime:
  10474. description: 复审时间
  10475. type: string
  10476. relatedorderid:
  10477. description: 三方关联ID
  10478. type: string
  10479. remark:
  10480. description: 备注
  10481. type: string
  10482. remark2:
  10483. description: 备注(失败原因)
  10484. type: string
  10485. soucreamount:
  10486. description: 原始出入金金额
  10487. type: number
  10488. soucrecurrencyid:
  10489. description: 原始出入金币种
  10490. type: integer
  10491. tradedate:
  10492. description: 交易日(yyyyMMdd)
  10493. type: string
  10494. updatetime:
  10495. description: 更新时间(申请时间)
  10496. type: string
  10497. userid:
  10498. description: 用户id
  10499. type: integer
  10500. userinfotype:
  10501. description: 账户类型 1-个人 2-企业
  10502. type: integer
  10503. type: object
  10504. models.QhjMgrBrokerApply:
  10505. properties:
  10506. applicantid:
  10507. description: 申请人
  10508. type: integer
  10509. applysrc:
  10510. description: 申请来源 - 1:管理端 2:终端
  10511. type: integer
  10512. applystatus:
  10513. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10514. type: integer
  10515. applytime:
  10516. description: 申请时间
  10517. type: string
  10518. auditorid:
  10519. description: 审核人
  10520. type: integer
  10521. auditremark:
  10522. description: 审核备注
  10523. type: string
  10524. auditsrc:
  10525. description: 审核来源 - 1:管理端 2:终端
  10526. type: integer
  10527. audittime:
  10528. description: 审核时间
  10529. type: string
  10530. audittradedate:
  10531. description: 审核交易日(yyyyMMdd)
  10532. type: string
  10533. brokerapplyid:
  10534. description: 申请ID(SEQ_BROKERAPPLY)
  10535. type: integer
  10536. cardbackphotourl:
  10537. description: 证件背面图片地址
  10538. type: string
  10539. cardfrontphotourl:
  10540. description: 证件正面图片地址
  10541. type: string
  10542. cardnum:
  10543. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10544. type: string
  10545. customername:
  10546. description: 姓名
  10547. type: string
  10548. filterstatus:
  10549. description: 筛选条件
  10550. type: string
  10551. logincode:
  10552. description: 登录代码
  10553. type: string
  10554. mobile:
  10555. description: 手机号码
  10556. type: string
  10557. parentuserid:
  10558. description: 所属机构id
  10559. type: integer
  10560. parentusername:
  10561. description: 所属机构名称
  10562. type: string
  10563. refereeuserid:
  10564. description: 推荐人id(经纪人)
  10565. type: integer
  10566. refernum:
  10567. description: 推荐码
  10568. type: string
  10569. remark:
  10570. description: 备注
  10571. type: string
  10572. subarealevelpath:
  10573. description: 层级路径
  10574. type: string
  10575. tradedate:
  10576. description: 交易日(yyyyMMdd)
  10577. type: string
  10578. userid:
  10579. description: 申请人用户ID
  10580. type: integer
  10581. userinfotype:
  10582. description: 用户类型 1-个人 2-企业
  10583. type: integer
  10584. username:
  10585. description: 用户名称
  10586. type: string
  10587. type: object
  10588. models.QhjMgrBrokerRewardReport:
  10589. properties:
  10590. createtime:
  10591. description: 创建时间(注册时间)
  10592. type: string
  10593. cycletime:
  10594. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10595. type: string
  10596. cycletype:
  10597. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10598. type: integer
  10599. directtotalnum:
  10600. description: 直推总人数【期末】
  10601. type: integer
  10602. indirecttotalnum:
  10603. description: 间推总人数【期末】
  10604. type: integer
  10605. mobile:
  10606. description: 电话号码
  10607. type: string
  10608. refereeuserid:
  10609. description: 推荐人id(经纪人id)
  10610. type: integer
  10611. refereeusername:
  10612. description: 推荐人名称(经纪人) 上级经纪人名称
  10613. type: string
  10614. refernum:
  10615. description: 推荐码
  10616. type: string
  10617. subarealevelpath:
  10618. description: 用户层级路径
  10619. type: string
  10620. todayrewardamount:
  10621. description: 奖励总金额【汇总】
  10622. type: number
  10623. updatetime:
  10624. description: 更新时间
  10625. type: string
  10626. userid:
  10627. description: 经纪人用户ID
  10628. type: integer
  10629. userinfotype:
  10630. description: 用户类型 1-个人 2-企业
  10631. type: integer
  10632. username:
  10633. description: 用户名称
  10634. type: string
  10635. type: object
  10636. models.QhjMgrContract:
  10637. properties:
  10638. contractconfirmtime:
  10639. description: 合同确认时间(时间)
  10640. type: string
  10641. currisklevel:
  10642. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10643. type: integer
  10644. decimalplace:
  10645. description: 商品报价小数位
  10646. type: integer
  10647. enumdicname:
  10648. description: 单位名称
  10649. type: string
  10650. goodscode:
  10651. description: 商品代码
  10652. type: string
  10653. goodsid:
  10654. description: 商品ID [5:融资单]
  10655. type: integer
  10656. goodsname:
  10657. description: 商品名称
  10658. type: string
  10659. goodunitid:
  10660. description: 商品单位id
  10661. type: integer
  10662. initmargin:
  10663. description: 初始保证金(首付款)
  10664. type: number
  10665. lenderamount:
  10666. description: 贷款金额(总额|订单总额)
  10667. type: number
  10668. logincode:
  10669. description: 账号(登录代码)
  10670. type: string
  10671. marginratio:
  10672. description: 保证金比率(首付比例)
  10673. type: number
  10674. mobile:
  10675. description: 电话号码(用户资料里的电话)
  10676. type: string
  10677. payamount:
  10678. description: 已付(已付货款)
  10679. type: number
  10680. reckonrecovermargin:
  10681. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10682. type: number
  10683. recoveredmargin:
  10684. description: 已追缴保证金
  10685. type: number
  10686. remainamount:
  10687. description: 合同剩余金额(融资额)
  10688. type: number
  10689. scfcontractid:
  10690. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10691. type: string
  10692. scfcontractstatus:
  10693. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10694. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10695. type: integer
  10696. scfcontracttype:
  10697. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10698. type: integer
  10699. totalinterest:
  10700. description: 已计总利息(利息)
  10701. type: number
  10702. tradedate:
  10703. description: 交易日
  10704. type: string
  10705. tradeprice:
  10706. description: 成交价格(成本价格)
  10707. type: number
  10708. userid:
  10709. description: 用户ID
  10710. type: integer
  10711. userinfotype:
  10712. description: 用户类型 1-个人 2-企业
  10713. type: integer
  10714. username:
  10715. description: 用户名称
  10716. type: string
  10717. wrqty:
  10718. description: 仓单数量(数量)
  10719. type: number
  10720. type: object
  10721. models.QhjMgrCustomer:
  10722. properties:
  10723. address:
  10724. description: 通讯地址
  10725. type: string
  10726. attachment1:
  10727. description: 附件1
  10728. type: string
  10729. audittime:
  10730. description: 审核时间
  10731. type: string
  10732. cardbackphotourl:
  10733. description: 证件反面图片地址
  10734. type: string
  10735. cardfrontphotourl:
  10736. description: 证件正面图片地址
  10737. type: string
  10738. cardnum:
  10739. description: 证件号码
  10740. type: string
  10741. cardtype:
  10742. description: 证件类型
  10743. type: integer
  10744. cardtypename:
  10745. description: 证件类型名称
  10746. type: string
  10747. cityid:
  10748. description: 市
  10749. type: integer
  10750. cityname:
  10751. description: 城市名称
  10752. type: string
  10753. contactname:
  10754. description: 联系人
  10755. type: string
  10756. countryid:
  10757. description: 国家
  10758. type: integer
  10759. countryname:
  10760. description: 国家名称
  10761. type: string
  10762. createtime:
  10763. description: 创建时间
  10764. type: string
  10765. customername:
  10766. description: 客户名称
  10767. type: string
  10768. districtid:
  10769. description: 区域
  10770. type: integer
  10771. districtname:
  10772. description: 地区名称
  10773. type: string
  10774. email:
  10775. description: 邮件
  10776. type: string
  10777. legalpersonname:
  10778. description: 法人姓名(企业)
  10779. type: string
  10780. logincode:
  10781. description: 登录账号(代码)
  10782. type: string
  10783. memberuserid:
  10784. description: 所属机构ID(所属会员)
  10785. type: integer
  10786. memberusername:
  10787. description: 所属会员名称
  10788. type: string
  10789. mobile:
  10790. description: 手机号码
  10791. type: string
  10792. modifytime:
  10793. description: 修改时间
  10794. type: string
  10795. nickname:
  10796. description: 昵称
  10797. type: string
  10798. parentuserid:
  10799. description: 上级机构(所属机构)
  10800. type: integer
  10801. parentusername:
  10802. description: 所属机构名称
  10803. type: string
  10804. provinceid:
  10805. description: 省
  10806. type: integer
  10807. provincename:
  10808. description: 省名称
  10809. type: string
  10810. proxystatementurl:
  10811. description: 授权委托书
  10812. type: string
  10813. querytype:
  10814. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10815. type: integer
  10816. remark:
  10817. description: 备注
  10818. type: string
  10819. status:
  10820. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10821. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10822. type: integer
  10823. statusdesc:
  10824. description: 账户状态中文描述
  10825. type: string
  10826. taxpayernum:
  10827. description: 纳税人识别号
  10828. type: string
  10829. telphone:
  10830. description: 联系电话
  10831. type: string
  10832. userid:
  10833. description: 用户ID
  10834. type: integer
  10835. userinfotype:
  10836. description: 客户类型 1-个人 2-企业
  10837. type: integer
  10838. username:
  10839. description: 用户名称
  10840. type: string
  10841. type: object
  10842. models.QhjMgrPickGoods:
  10843. properties:
  10844. enumdicname:
  10845. description: 单位名称(提货商品)
  10846. type: string
  10847. goodsid:
  10848. description: 商品id
  10849. type: integer
  10850. imageaddress:
  10851. description: 图片
  10852. type: string
  10853. modifierid:
  10854. description: 修改人
  10855. type: integer
  10856. modifiername:
  10857. description: 修改人名称
  10858. type: string
  10859. modifysrc:
  10860. description: 修改来源 - 1:管理端 2:终端
  10861. type: integer
  10862. pickupgoodsagreeunit:
  10863. description: 合约乘数
  10864. type: number
  10865. pickupgoodsdesc:
  10866. description: 描述
  10867. type: string
  10868. pickupgoodsid:
  10869. description: 提货商品ID
  10870. type: string
  10871. pickupgoodsname:
  10872. description: 提货商品名称
  10873. type: string
  10874. pickupgoodsstatus:
  10875. description: 状态 - 1:正常 2:停用 3:注销
  10876. type: integer
  10877. pickupgoodsunitid:
  10878. description: 单位ID
  10879. type: integer
  10880. pickupratio:
  10881. description: 提货系数
  10882. type: number
  10883. preparedays:
  10884. description: 备货期(天)
  10885. type: integer
  10886. remark:
  10887. description: 备注
  10888. type: string
  10889. updatetime:
  10890. description: 更新时间
  10891. type: string
  10892. type: object
  10893. models.QhjMgrPositionRsp:
  10894. properties:
  10895. accountid:
  10896. description: 账号Id
  10897. type: integer
  10898. accountname:
  10899. description: 用户名称
  10900. type: string
  10901. agreeunit:
  10902. description: 合约乘数
  10903. type: number
  10904. averageprice:
  10905. description: 均价
  10906. type: number
  10907. avialqty:
  10908. description: 可用数量
  10909. type: number
  10910. decimalplace:
  10911. description: 报价小数位
  10912. type: integer
  10913. enumdicname:
  10914. description: 单位名称(商品)
  10915. type: string
  10916. frozenqty:
  10917. description: 冻结数量
  10918. type: number
  10919. goodscode:
  10920. description: 商品代码(内部)
  10921. type: string
  10922. goodsid:
  10923. description: 商品Id
  10924. type: integer
  10925. goodsname:
  10926. description: 商品名称
  10927. type: string
  10928. goodunitid:
  10929. description: 报价单位ID
  10930. type: integer
  10931. holderamount:
  10932. description: 金额
  10933. type: number
  10934. holderqty:
  10935. description: 持有数量
  10936. type: number
  10937. holdertype:
  10938. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10939. type: integer
  10940. logincode:
  10941. description: 登录代码(账户)
  10942. type: string
  10943. marketid:
  10944. description: 市场id
  10945. type: integer
  10946. qtydecimalplace:
  10947. description: 成交量小数位
  10948. type: integer
  10949. trademode:
  10950. description: 交易模式
  10951. type: integer
  10952. userid:
  10953. description: 用户id
  10954. type: integer
  10955. userinfotype:
  10956. description: 账户类型 1-个人 2-企业
  10957. type: integer
  10958. type: object
  10959. models.QhjMgrSubArea:
  10960. properties:
  10961. accountname:
  10962. description: 账户名称(机构名称)
  10963. type: string
  10964. memberuserid:
  10965. description: 所属会员ID
  10966. type: integer
  10967. parenttopuser:
  10968. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10969. type: string
  10970. parentuserid:
  10971. description: 所属机构ID
  10972. type: integer
  10973. rootuserid:
  10974. description: 根用户ID
  10975. type: string
  10976. subaccountlevel:
  10977. description: 子账户层数
  10978. type: integer
  10979. subarealevelpath:
  10980. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10981. type: string
  10982. userid:
  10983. description: 用户ID
  10984. type: integer
  10985. usertype:
  10986. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10987. type: integer
  10988. type: object
  10989. models.QhjMgrTradeDetailRsp:
  10990. properties:
  10991. accountid:
  10992. description: 资金账号
  10993. type: integer
  10994. accountname:
  10995. description: 用户名称
  10996. type: string
  10997. agreeunit:
  10998. description: 合约乘数
  10999. type: number
  11000. buyorsell:
  11001. description: 成交类型(方向) 0:买 1:卖
  11002. type: integer
  11003. decimalplace:
  11004. description: 报价小数位
  11005. type: integer
  11006. enumdicname:
  11007. description: 单位名称(商品)
  11008. type: string
  11009. goodscode:
  11010. description: 商品代码(内部)
  11011. type: string
  11012. goodsid:
  11013. description: 商品id
  11014. type: integer
  11015. goodsname:
  11016. description: 商品名称
  11017. type: string
  11018. goodunitid:
  11019. description: 报价单位ID
  11020. type: integer
  11021. logincode:
  11022. description: 登录代码(账户)
  11023. type: string
  11024. marketid:
  11025. description: 市场id
  11026. type: integer
  11027. orderid:
  11028. description: 关联委托单号
  11029. type: string
  11030. qtydecimalplace:
  11031. description: 成交量小数位
  11032. type: integer
  11033. tradeamount:
  11034. description: 金额
  11035. type: number
  11036. tradedate:
  11037. description: 交易日
  11038. type: string
  11039. tradeid:
  11040. description: 成交单号
  11041. type: string
  11042. trademode:
  11043. description: 交易模式
  11044. type: integer
  11045. tradeprice:
  11046. description: 价格
  11047. type: number
  11048. tradeqty:
  11049. description: 数量
  11050. type: number
  11051. tradetime:
  11052. description: 成交时间
  11053. type: string
  11054. userid:
  11055. description: 用户id
  11056. type: integer
  11057. userinfotype:
  11058. description: 账户类型 1-个人 2-企业
  11059. type: integer
  11060. type: object
  11061. models.QhjMgrTradeOrderDetailRsp:
  11062. properties:
  11063. accountid:
  11064. description: 资金账号
  11065. type: integer
  11066. accountname:
  11067. description: 用户名称
  11068. type: string
  11069. agreeunit:
  11070. description: 合约乘数
  11071. type: number
  11072. amount:
  11073. description: 金额
  11074. type: number
  11075. decimalplace:
  11076. description: 报价小数位
  11077. type: integer
  11078. enumdicname:
  11079. description: 单位名称(商品)
  11080. type: string
  11081. goodscode:
  11082. description: 商品代码(内部)
  11083. type: string
  11084. goodsid:
  11085. description: 商品id
  11086. type: integer
  11087. goodsname:
  11088. description: 商品名称
  11089. type: string
  11090. goodunitid:
  11091. description: 报价单位ID
  11092. type: integer
  11093. logincode:
  11094. description: 登录代码(账户)
  11095. type: string
  11096. marketid:
  11097. description: 市场id
  11098. type: integer
  11099. orderid:
  11100. description: 关联委托单号
  11101. type: string
  11102. orderprice:
  11103. description: 价格
  11104. type: number
  11105. orderqty:
  11106. description: 数量
  11107. type: number
  11108. orderstatus:
  11109. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11110. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11111. 16:成交失败违约(荷兰式竞拍专用)
  11112. type: integer
  11113. ordertime:
  11114. description: 委托时间
  11115. type: string
  11116. qtydecimalplace:
  11117. description: 成交量小数位
  11118. type: integer
  11119. tradedate:
  11120. description: 交易日
  11121. type: string
  11122. trademode:
  11123. description: 交易模式
  11124. type: integer
  11125. userid:
  11126. description: 用户id
  11127. type: integer
  11128. userinfotype:
  11129. description: 账户类型 1-个人 2-企业
  11130. type: integer
  11131. type: object
  11132. models.QhjMgrTradePayOrder:
  11133. properties:
  11134. accountname:
  11135. description: 用户名称
  11136. type: string
  11137. advanceratio:
  11138. description: 首付比率
  11139. type: number
  11140. agreeunit:
  11141. description: 合约乘数
  11142. type: number
  11143. buyaccountid:
  11144. description: 买方账号ID[报价币种]
  11145. type: integer
  11146. buyorderid:
  11147. description: 买方委托单号(关联单号)
  11148. type: string
  11149. createtime:
  11150. description: 创建时间
  11151. type: string
  11152. decimalplace:
  11153. description: 报价小数位
  11154. type: integer
  11155. enumdicname:
  11156. description: 单位名称(商品)
  11157. type: string
  11158. goodscode:
  11159. description: 商品代码(内部)
  11160. type: string
  11161. goodsid:
  11162. description: 商品ID
  11163. type: integer
  11164. goodsname:
  11165. description: 商品名称
  11166. type: string
  11167. goodunitid:
  11168. description: 报价单位ID
  11169. type: integer
  11170. logincode:
  11171. description: 登录代码(账户)
  11172. type: string
  11173. marketid:
  11174. description: 市场id
  11175. type: integer
  11176. offamount:
  11177. description: 优惠金额
  11178. type: number
  11179. operatetype:
  11180. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11181. type: integer
  11182. payamount:
  11183. description: 支付金额(金额)
  11184. type: number
  11185. payflag:
  11186. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11187. type: integer
  11188. paylimitedtime:
  11189. description: 支付期限
  11190. type: string
  11191. paytime:
  11192. description: 付款时间
  11193. type: string
  11194. qtydecimalplace:
  11195. description: 成交量小数位
  11196. type: integer
  11197. sellaccountid:
  11198. description: 卖方账号ID[报价币种]
  11199. type: integer
  11200. sellorderid:
  11201. description: 卖方委托单号
  11202. type: string
  11203. tradeamount:
  11204. description: 成交金额(优惠后金额)
  11205. type: number
  11206. tradecharge:
  11207. description: 成交手续费(买方)
  11208. type: number
  11209. tradedate:
  11210. description: 交易日(yyyyMMdd)
  11211. type: string
  11212. tradeid:
  11213. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11214. type: string
  11215. trademode:
  11216. description: 交易模式
  11217. type: integer
  11218. tradeprice:
  11219. description: 成交价格(价格)
  11220. type: number
  11221. tradeqty:
  11222. description: 成交数量(数量)
  11223. type: number
  11224. tradetime:
  11225. description: 成交时间
  11226. type: string
  11227. userid:
  11228. description: 用户id
  11229. type: integer
  11230. userinfotype:
  11231. description: 账户类型 1-个人 2-企业
  11232. type: integer
  11233. type: object
  11234. models.QhjMyTeamEx:
  11235. properties:
  11236. accountname:
  11237. description: 用户名称
  11238. type: string
  11239. accountstatus:
  11240. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11241. type: integer
  11242. createtime:
  11243. description: 创建时间
  11244. type: string
  11245. mobile:
  11246. description: 手机号码
  11247. type: string
  11248. refereeuserid:
  11249. description: 推荐人id
  11250. type: integer
  11251. refernum:
  11252. description: 推荐码
  11253. type: string
  11254. subList:
  11255. items:
  11256. $ref: '#/definitions/models.QhjMyTeamEx'
  11257. type: array
  11258. userid:
  11259. description: 用户id
  11260. type: integer
  11261. userinfotype:
  11262. description: 用户类型 1-个人 2-企业
  11263. type: integer
  11264. type: object
  11265. models.QhjNodeAgreementConfig:
  11266. properties:
  11267. agreementcontent:
  11268. description: 协议内容
  11269. type: string
  11270. agreementid:
  11271. description: 协议ID
  11272. type: integer
  11273. agreementname:
  11274. description: 协议名称
  11275. type: string
  11276. agreementno:
  11277. description: 协议编号
  11278. type: string
  11279. agreementtype:
  11280. description: 协议类型 - 1:注册 2:登录 3:交易
  11281. type: integer
  11282. agreementversion:
  11283. description: 协议版本号
  11284. type: integer
  11285. configid:
  11286. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11287. type: integer
  11288. createtime:
  11289. description: 创建时间
  11290. type: string
  11291. goodsid:
  11292. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11293. type: integer
  11294. nodetype:
  11295. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11296. type: integer
  11297. type: object
  11298. models.QhjParentAreaList:
  11299. properties:
  11300. accountname:
  11301. description: 账户名称(机构名称)
  11302. type: string
  11303. userid:
  11304. description: 用户ID
  11305. type: integer
  11306. usertype:
  11307. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11308. type: integer
  11309. type: object
  11310. models.QhjPayOrder:
  11311. properties:
  11312. advanceratio:
  11313. description: 首付比率
  11314. type: number
  11315. buyaccountid:
  11316. description: 买方账号ID[报价币种]
  11317. type: integer
  11318. buyorderid:
  11319. description: 买方委托单号
  11320. type: string
  11321. createtime:
  11322. description: 创建时间
  11323. type: string
  11324. decimalplace:
  11325. description: 商品报价小数位
  11326. type: integer
  11327. enumdicname:
  11328. description: 单位名称
  11329. type: string
  11330. goodscode:
  11331. description: 商品代码
  11332. type: string
  11333. goodsid:
  11334. description: 商品ID
  11335. type: integer
  11336. goodsname:
  11337. description: 商品名称
  11338. type: string
  11339. goodunitid:
  11340. description: 商品单位id
  11341. type: integer
  11342. marketid:
  11343. description: 市场ID
  11344. type: integer
  11345. offamount:
  11346. description: 优惠金额
  11347. type: number
  11348. operatetype:
  11349. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11350. type: integer
  11351. payamount:
  11352. description: 支付金额
  11353. type: number
  11354. payflag:
  11355. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11356. type: integer
  11357. paylimitedtime:
  11358. description: 支付期限
  11359. type: string
  11360. paytime:
  11361. description: 付款时间
  11362. type: string
  11363. qtydecimalplace:
  11364. description: 成交量小数位
  11365. type: integer
  11366. sellaccountid:
  11367. description: 卖方账号ID[报价币种]
  11368. type: integer
  11369. sellorderid:
  11370. description: 卖方委托单号
  11371. type: string
  11372. tradeamount:
  11373. description: 成交金额(优惠后金额)
  11374. type: number
  11375. tradecharge:
  11376. description: 成交手续费(买方)
  11377. type: number
  11378. tradedate:
  11379. description: 交易日(yyyyMMdd)
  11380. type: string
  11381. tradeid:
  11382. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11383. type: string
  11384. tradeprice:
  11385. description: 成交价格
  11386. type: number
  11387. tradeqty:
  11388. description: 成交数量
  11389. type: number
  11390. type: object
  11391. models.QhjPickArea:
  11392. properties:
  11393. address:
  11394. description: 详细地址
  11395. type: string
  11396. cityid:
  11397. description: 市
  11398. type: integer
  11399. cityname:
  11400. description: 城市名称
  11401. type: string
  11402. countryid:
  11403. description: 国家
  11404. type: integer
  11405. countryname:
  11406. description: 国家名称
  11407. type: string
  11408. districtid:
  11409. description: 地区
  11410. type: integer
  11411. districtname:
  11412. description: 地区名称
  11413. type: string
  11414. fromuserid:
  11415. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11416. type: integer
  11417. fromusername:
  11418. description: 所属机构名称
  11419. type: string
  11420. provinceid:
  11421. description: 省
  11422. type: integer
  11423. provincename:
  11424. description: 省名称
  11425. type: string
  11426. suborgtype:
  11427. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11428. type: integer
  11429. userid:
  11430. description: 机构用户ID 其他做市关系,都设置为 1
  11431. type: integer
  11432. username:
  11433. description: 机构用户名称(门店门称)
  11434. type: string
  11435. type: object
  11436. models.QhjPickGoods:
  11437. properties:
  11438. enumdicname:
  11439. description: 单位名称(提货商品)
  11440. type: string
  11441. goodsid:
  11442. description: 商品id
  11443. type: integer
  11444. imageaddress:
  11445. description: 图片
  11446. type: string
  11447. modifierid:
  11448. description: 修改人
  11449. type: integer
  11450. modifiername:
  11451. description: 修改人名称
  11452. type: string
  11453. modifysrc:
  11454. description: 修改来源 - 1:管理端 2:终端
  11455. type: integer
  11456. pickupgoodsagreeunit:
  11457. description: 合约乘数
  11458. type: number
  11459. pickupgoodsdesc:
  11460. description: 描述
  11461. type: string
  11462. pickupgoodsid:
  11463. description: 提货商品ID
  11464. type: string
  11465. pickupgoodsname:
  11466. description: 提货商品名称
  11467. type: string
  11468. pickupgoodsstatus:
  11469. description: 状态 - 1:正常 2:停用 3:注销
  11470. type: integer
  11471. pickupgoodsunitid:
  11472. description: 单位ID
  11473. type: integer
  11474. pickupratio:
  11475. description: 提货系数
  11476. type: number
  11477. preparedays:
  11478. description: 备货期(天)
  11479. type: integer
  11480. remark:
  11481. description: 备注
  11482. type: string
  11483. updatetime:
  11484. description: 更新时间
  11485. type: string
  11486. type: object
  11487. models.QhjRSTriggerLog:
  11488. properties:
  11489. accountid:
  11490. description: 用户资金账户
  11491. type: integer
  11492. accountname:
  11493. description: 账号名称(ACCOUNTID对应的名称)
  11494. type: string
  11495. currencyid:
  11496. description: 币种id
  11497. type: integer
  11498. currencyname:
  11499. description: 币种名称
  11500. type: string
  11501. decimalplace:
  11502. description: 商品报价小数位
  11503. type: integer
  11504. enumdicname:
  11505. description: 单位名称
  11506. type: string
  11507. goodscode:
  11508. description: 定投商品代码
  11509. type: string
  11510. goodsid:
  11511. description: 定投商品ID
  11512. type: integer
  11513. goodsname:
  11514. description: 定投商品名称
  11515. type: string
  11516. goodunitid:
  11517. description: 定投商品单位id
  11518. type: integer
  11519. logid:
  11520. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11521. type: string
  11522. logincode:
  11523. description: 账号(登录代码)
  11524. type: string
  11525. qtydecimalplace:
  11526. description: 成交量小数位
  11527. type: integer
  11528. regularlycycle:
  11529. description: 定投频率 - 1:每周 2:每月
  11530. type: integer
  11531. regularlycyclevalue:
  11532. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11533. type: string
  11534. regularlymode:
  11535. description: 定投方式 - 1:按数量 2:按金额
  11536. type: integer
  11537. regularlymodevalue:
  11538. description: 定投方式值 - 数量或金额
  11539. type: number
  11540. regularlystrategyid:
  11541. description: 定投策略ID
  11542. type: integer
  11543. retcode:
  11544. description: 错误码
  11545. type: string
  11546. tradeid:
  11547. description: 成交单ID
  11548. type: string
  11549. triggeramount:
  11550. description: 触发金额
  11551. type: number
  11552. triggerqty:
  11553. description: 触发数量
  11554. type: number
  11555. triggerstatus:
  11556. description: 触发状态 - 1:成功 2:失败
  11557. type: integer
  11558. triggertime:
  11559. description: 触发时间
  11560. type: string
  11561. triggertradedate:
  11562. description: 触发交易日
  11563. type: string
  11564. userid:
  11565. description: 所属用户ID
  11566. type: integer
  11567. userinfotype:
  11568. description: 用户类型 1-个人 2-企业
  11569. type: integer
  11570. username:
  11571. description: 用户名称(userid对应的名称)
  11572. type: string
  11573. type: object
  11574. models.QhjRStrategy:
  11575. properties:
  11576. accountid:
  11577. description: 用户资金账户
  11578. type: integer
  11579. accountname:
  11580. description: 账号名称(ACCOUNTID对应的名称)
  11581. type: string
  11582. currencyid:
  11583. description: 币种id
  11584. type: integer
  11585. currencyname:
  11586. description: 币种名称
  11587. type: string
  11588. decimalplace:
  11589. description: 商品报价小数位
  11590. type: integer
  11591. enumdicname:
  11592. description: 单位名称
  11593. type: string
  11594. goodscode:
  11595. description: 定投商品代码
  11596. type: string
  11597. goodsid:
  11598. description: 定投商品ID
  11599. type: integer
  11600. goodsname:
  11601. description: 定投商品名称
  11602. type: string
  11603. goodunitid:
  11604. description: 定投商品单位id
  11605. type: integer
  11606. lasteffecttradedate:
  11607. description: 最新生效交易日
  11608. type: string
  11609. laststoptradedate:
  11610. description: 最新暂停交易日
  11611. type: string
  11612. lasttriggertradedate:
  11613. description: 最新触发交易日
  11614. type: string
  11615. logincode:
  11616. description: 账号(登录代码)
  11617. type: string
  11618. nexttriggeramount:
  11619. description: 下次触发金额
  11620. type: number
  11621. nexttriggerdate:
  11622. description: 下次触发日期
  11623. type: string
  11624. nexttriggerqty:
  11625. description: 下次触发数量 [按小数位放大值]
  11626. type: number
  11627. qtydecimalplace:
  11628. description: 成交量小数位
  11629. type: integer
  11630. regularlycycle:
  11631. description: 定投频率 - 1:每周 2:每月
  11632. type: integer
  11633. regularlycyclevalue:
  11634. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11635. type: string
  11636. regularlymode:
  11637. description: 定投方式 - 1:按数量 2:按金额
  11638. type: integer
  11639. regularlymodevalue:
  11640. description: 定投方式值 - 数量或金额
  11641. type: number
  11642. regularlystrategyid:
  11643. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11644. type: integer
  11645. regularlystrategystatus:
  11646. description: 策略状态 - 1:正常 2:暂停 3:终止
  11647. type: integer
  11648. remark:
  11649. description: 备注
  11650. type: string
  11651. triggersuccesstimes:
  11652. description: 累计定投成功次数
  11653. type: string
  11654. triggertotalamount:
  11655. description: 累计定投金额(成功)
  11656. type: number
  11657. triggertotalqty:
  11658. description: 累计定投数量(成功) [按小数位放大值]
  11659. type: number
  11660. triggertotaltimes:
  11661. description: 累计定投总次数
  11662. type: string
  11663. updatesrc:
  11664. description: 更新来源 - 1:管理端 2:终端
  11665. type: integer
  11666. updatetime:
  11667. description: 更新时间
  11668. type: string
  11669. updatorid:
  11670. description: 更新人
  11671. type: string
  11672. userid:
  11673. description: 所属用户ID
  11674. type: integer
  11675. userinfotype:
  11676. description: 用户类型 1-个人 2-企业
  11677. type: integer
  11678. username:
  11679. description: 用户名称(userid对应的名称)
  11680. type: string
  11681. type: object
  11682. models.QhjReckonPriceLog:
  11683. properties:
  11684. decimalplace:
  11685. description: 商品报价小数位
  11686. type: integer
  11687. goodscode:
  11688. description: 商品代码
  11689. type: string
  11690. goodsid:
  11691. description: 商品ID
  11692. type: integer
  11693. goodsname:
  11694. description: 商品名称
  11695. type: string
  11696. lastreckonprice:
  11697. description: 上日结算价
  11698. type: number
  11699. nextdnlimitprice:
  11700. description: 下个交易日跌停价
  11701. type: number
  11702. nexttrade:
  11703. description: 下个交易日
  11704. type: string
  11705. nextuplimitprice:
  11706. description: 下个交易日涨停价
  11707. type: number
  11708. reckonprice:
  11709. description: 今日结算价(定投价)
  11710. type: number
  11711. reckontime:
  11712. description: 结算时间
  11713. type: string
  11714. totalholderqty:
  11715. description: 总持仓数
  11716. type: integer
  11717. totalstock:
  11718. description: 总库存
  11719. type: integer
  11720. tradedate:
  11721. description: 交易日
  11722. type: string
  11723. updowncount:
  11724. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11725. type: integer
  11726. updownflag:
  11727. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11728. type: integer
  11729. updownrate:
  11730. description: 今日涨跌幅
  11731. type: number
  11732. updownrate_2d:
  11733. description: 连续两日涨跌幅
  11734. type: number
  11735. updownrate_3d:
  11736. description: 连续三日涨跌幅
  11737. type: number
  11738. type: object
  11739. models.QhjScoreLog:
  11740. properties:
  11741. accountid:
  11742. description: 账户ID
  11743. type: integer
  11744. createtime:
  11745. description: 创建时间(时间)
  11746. type: string
  11747. goodsid:
  11748. description: 商品ID
  11749. type: integer
  11750. hasuploaded:
  11751. description: 是否已同步(千海金) 0:未同步 1;已同步
  11752. type: integer
  11753. logid:
  11754. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11755. type: string
  11756. marketid:
  11757. description: 市场ID
  11758. type: integer
  11759. relatedamount:
  11760. description: 关联金额
  11761. type: number
  11762. relatedorderid:
  11763. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11764. type: string
  11765. scoreconfigvalue1:
  11766. description: 积分配置1
  11767. type: integer
  11768. scoreconfigvalue2:
  11769. description: 积分配置1
  11770. type: integer
  11771. scoretype:
  11772. description: 积分类型 - 1:提货积分
  11773. type: integer
  11774. scorevalue:
  11775. description: 积分
  11776. type: number
  11777. tradedate:
  11778. description: 交易日(yyyyMMdd)
  11779. type: string
  11780. uploadedtime:
  11781. description: 同步时间
  11782. type: string
  11783. userid:
  11784. description: 用户ID
  11785. type: integer
  11786. type: object
  11787. models.QhjSiteColumnDetail:
  11788. properties:
  11789. author:
  11790. description: 作者
  11791. type: string
  11792. brief:
  11793. description: 简介
  11794. type: string
  11795. columnid:
  11796. description: 所属栏目
  11797. type: integer
  11798. context:
  11799. description: 内容
  11800. type: string
  11801. coverimage:
  11802. description: 封面图片
  11803. type: string
  11804. creaedate:
  11805. description: 创建时间
  11806. type: string
  11807. creatorid:
  11808. description: 创建人
  11809. type: integer
  11810. hits:
  11811. description: 点击数
  11812. type: integer
  11813. id:
  11814. description: ID(SEQ_SITE_COLUMNDETAIL)
  11815. type: integer
  11816. isshow:
  11817. description: 是否展示 - 0:不展示 1:展示
  11818. type: integer
  11819. istop:
  11820. description: 是否置顶 - 0:不置 1:置顶
  11821. type: integer
  11822. modifierid:
  11823. description: 操作人
  11824. type: integer
  11825. publishdate:
  11826. description: 发布日期
  11827. type: string
  11828. status:
  11829. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11830. type: integer
  11831. title:
  11832. description: 标题
  11833. type: string
  11834. updatedate:
  11835. description: 修改时间
  11836. type: string
  11837. userid:
  11838. description: 用户ID(默认为0, 核心为为机构用户ID)
  11839. type: integer
  11840. username:
  11841. description: 用户名称
  11842. type: string
  11843. type: object
  11844. models.QhjTeamOrder:
  11845. properties:
  11846. accountid:
  11847. description: 账户ID[报价币种]
  11848. type: integer
  11849. accountname:
  11850. description: 账户名称
  11851. type: string
  11852. agreeunit:
  11853. description: 合约乘数
  11854. type: number
  11855. buyorsell:
  11856. description: 方向 - 0:买 1:卖
  11857. type: integer
  11858. decimalplace:
  11859. description: 报价小数位
  11860. type: integer
  11861. enumdicname:
  11862. description: 单位名称
  11863. type: string
  11864. goodscode:
  11865. description: 商品代码(内部)
  11866. type: string
  11867. goodsid:
  11868. description: 商品ID
  11869. type: integer
  11870. goodsname:
  11871. description: 商品名称
  11872. type: string
  11873. goodunitid:
  11874. description: 报价单位ID
  11875. type: integer
  11876. marketid:
  11877. description: 市场ID
  11878. type: integer
  11879. marketname:
  11880. description: 市场名称
  11881. type: string
  11882. qtydecimalplace:
  11883. description: 成交量小数位
  11884. type: integer
  11885. refereeuserid:
  11886. description: 推荐人ID
  11887. type: integer
  11888. tradeamount:
  11889. description: 成交金额[账户币种,用于所有权]
  11890. type: number
  11891. tradedate:
  11892. description: 交易日(yyyyMMdd)
  11893. type: string
  11894. trademode:
  11895. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11896. 21:竞拍-大宗式 22:受托竞价
  11897. type: integer
  11898. tradeprice:
  11899. description: 成交价格
  11900. type: number
  11901. tradeqty:
  11902. description: 成交数量
  11903. type: number
  11904. tradetime:
  11905. description: 成交时间
  11906. type: string
  11907. userid:
  11908. description: 用户ID
  11909. type: integer
  11910. type: object
  11911. models.QhjTradeGoodsPickup:
  11912. properties:
  11913. accountid:
  11914. description: 账户ID
  11915. type: integer
  11916. address:
  11917. description: 提货人详细地址
  11918. type: string
  11919. amount:
  11920. description: 提货金额
  11921. type: number
  11922. artradedate:
  11923. description: 自动收货交易日(yyyyMMdd)
  11924. type: string
  11925. auditer:
  11926. description: 审核人
  11927. type: integer
  11928. auditsrc:
  11929. description: 更新来源 - 1:管理端 2:终端
  11930. type: integer
  11931. audittime:
  11932. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11933. type: string
  11934. audittradedate:
  11935. description: 审核交易日(yyyyMMdd)
  11936. type: string
  11937. cardnum:
  11938. description: 提货人证件号码
  11939. type: string
  11940. cardtypeid:
  11941. description: 提货人证件类型
  11942. type: integer
  11943. checkremark:
  11944. description: 审核备注
  11945. type: string
  11946. cityid:
  11947. description: 市
  11948. type: integer
  11949. cityname:
  11950. description: 城市名称
  11951. type: string
  11952. confirmtime:
  11953. description: 取货时间 或 收货时间
  11954. type: string
  11955. countryid:
  11956. description: 国家
  11957. type: integer
  11958. countryname:
  11959. description: 国家名称
  11960. type: string
  11961. decimalplace:
  11962. description: 商品报价小数位
  11963. type: integer
  11964. districtid:
  11965. description: 地区
  11966. type: integer
  11967. districtname:
  11968. description: 地区名称
  11969. type: string
  11970. enumdicname:
  11971. description: 单位名称(提货商品)
  11972. type: string
  11973. expresscompany:
  11974. description: 物流公司
  11975. type: string
  11976. expressnum:
  11977. description: 物流单号
  11978. type: string
  11979. goodsagreeunit:
  11980. description: 交易商品乘数
  11981. type: number
  11982. goodscode:
  11983. description: 商品代码
  11984. type: string
  11985. goodsid:
  11986. description: 商品ID
  11987. type: integer
  11988. goodsname:
  11989. description: 商品名称
  11990. type: string
  11991. goodsqty:
  11992. description: 交易商品手数(69模式按成交量小数位放大取整)
  11993. type: number
  11994. handlestatus:
  11995. description: 处理状态
  11996. type: integer
  11997. logincode:
  11998. description: 账号(登录代码, 有可能为空)
  11999. type: string
  12000. marketid:
  12001. description: 市场ID
  12002. type: integer
  12003. phonenum:
  12004. description: 提货人联系方式
  12005. type: string
  12006. pickupgoodsagreeunit:
  12007. description: 提货商品合约乘数
  12008. type: number
  12009. pickupgoodsid:
  12010. description: 提货商品ID
  12011. type: string
  12012. pickupgoodsname:
  12013. description: 提货商品名称
  12014. type: string
  12015. pickupgoodsqty:
  12016. description: 提货商品手数(数量)
  12017. type: number
  12018. pickupgoodsunitid:
  12019. description: 单位ID(提货商品)
  12020. type: integer
  12021. pickupratio:
  12022. description: 提货系数
  12023. type: number
  12024. preparedays:
  12025. description: 备货期(天)-提货单明细表
  12026. type: integer
  12027. provinceid:
  12028. description: 省
  12029. type: integer
  12030. provincename:
  12031. description: 省名称
  12032. type: string
  12033. qty:
  12034. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12035. type: number
  12036. qtydecimalplace:
  12037. description: 商品数量小数位
  12038. type: integer
  12039. recivername:
  12040. description: 提货人姓名
  12041. type: string
  12042. reqtime:
  12043. description: 提货申请时间
  12044. type: string
  12045. storeuserid:
  12046. description: 门店用户ID (千海金)
  12047. type: integer
  12048. storeusername:
  12049. description: 门店用户名称
  12050. type: string
  12051. takemode:
  12052. description: 提货方式 - 2:自提 3:配送(邮寄)
  12053. type: integer
  12054. takeorderid:
  12055. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12056. type: string
  12057. takeorderstatus:
  12058. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12059. 7:已拒绝 8:已撤销
  12060. type: integer
  12061. takeremark:
  12062. description: 提货备注
  12063. type: string
  12064. tradedate:
  12065. description: 交易日(yyyyMMdd)
  12066. type: string
  12067. updatetime:
  12068. description: 更新时间
  12069. type: string
  12070. userid:
  12071. description: 用户ID
  12072. type: integer
  12073. userinfotype:
  12074. description: 客户类型 1-个人 2-企业
  12075. type: integer
  12076. username:
  12077. description: 用户名称
  12078. type: string
  12079. type: object
  12080. models.QhjUserNodeCfgAndStatus:
  12081. properties:
  12082. agreementcontent:
  12083. description: 协议内容
  12084. type: string
  12085. agreementid:
  12086. description: 协议ID
  12087. type: integer
  12088. agreementname:
  12089. description: 协议名称
  12090. type: string
  12091. agreementno:
  12092. description: 协议编号
  12093. type: string
  12094. agreementtype:
  12095. description: 协议类型 - 1:注册 2:登录 3:交易
  12096. type: integer
  12097. agreementversion:
  12098. description: 协议版本号
  12099. type: integer
  12100. configid:
  12101. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12102. type: integer
  12103. createtime:
  12104. description: 创建时间
  12105. type: string
  12106. goodsid:
  12107. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12108. type: integer
  12109. nodetype:
  12110. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12111. type: integer
  12112. signtimestamp:
  12113. description: 签约状态时间戳(最近一次)
  12114. type: string
  12115. tradedate:
  12116. description: 签约交易日(yyyyMMdd)
  12117. type: string
  12118. userid:
  12119. description: 客户ID
  12120. type: integer
  12121. type: object
  12122. models.Qhjgoodsex:
  12123. properties:
  12124. canfinance:
  12125. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12126. type: integer
  12127. canregularlybuy:
  12128. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12129. type: integer
  12130. defaulttradeuserid:
  12131. description: 默认交易用户ID
  12132. type: integer
  12133. deliverygoodsid:
  12134. description: 现货品种ID
  12135. type: integer
  12136. goodsid:
  12137. description: 商品ID(自增ID SEQ_GOODS)
  12138. type: integer
  12139. minamount:
  12140. description: 最小购买金额
  12141. type: number
  12142. regularlybuyminamount:
  12143. description: 定投最小金额
  12144. type: number
  12145. regularlybuyminqty:
  12146. description: 定投最小数量
  12147. type: number
  12148. spotgoodsbrandid:
  12149. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12150. type: integer
  12151. visibilityforenterprise:
  12152. description: 企业客户是否可见 - 0:不可见 1:可见
  12153. type: integer
  12154. visibilityforpersonal:
  12155. description: 个人客户是否可见 - 0:不可见 1:可见
  12156. type: integer
  12157. wrstandardid:
  12158. description: 现货商品ID
  12159. type: integer
  12160. type: object
  12161. models.QueryErrorInfosRsp:
  12162. properties:
  12163. description:
  12164. description: 异常描述
  12165. type: string
  12166. errorcode:
  12167. description: 异常代码
  12168. type: string
  12169. errorid:
  12170. description: 异常ID
  12171. type: integer
  12172. modulecode:
  12173. description: 所属模块
  12174. type: string
  12175. operatecode:
  12176. description: 所属操作
  12177. type: string
  12178. rownumber:
  12179. description: 行号
  12180. type: string
  12181. required:
  12182. - errorid
  12183. type: object
  12184. models.QueryHedgeOrderDetailRsp:
  12185. properties:
  12186. accountid:
  12187. description: 账户ID
  12188. type: integer
  12189. buyorsell:
  12190. description: 买卖 - 0:买 1:卖
  12191. type: integer
  12192. cancellogincode:
  12193. description: 撤单人
  12194. type: string
  12195. channelbuildtype:
  12196. description: 开平标志 - 0:无 1:建仓 2:平仓
  12197. type: integer
  12198. channelinnerorderstatus:
  12199. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12200. 9:全部成交
  12201. type: integer
  12202. channeloperatetype:
  12203. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12204. type: integer
  12205. closetype:
  12206. description: 平仓方式 - 0:无 1:平今 2:平昨
  12207. type: integer
  12208. curexchangerate:
  12209. description: 当前汇率
  12210. type: number
  12211. exchangefullname:
  12212. description: 外部交易所全称
  12213. type: string
  12214. goodscode:
  12215. description: 商品代码(内部)
  12216. type: string
  12217. goodsid:
  12218. description: 商品ID
  12219. type: integer
  12220. goodsname:
  12221. description: 商品名称
  12222. type: string
  12223. marketid:
  12224. description: 市场ID
  12225. type: integer
  12226. openfreezemargin:
  12227. description: 冻结保证金(冻结交易金额)
  12228. type: number
  12229. orderid:
  12230. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12231. type: string
  12232. orderlogincode:
  12233. description: 委托人
  12234. type: string
  12235. orderprice:
  12236. description: 委托价格(账户)
  12237. type: number
  12238. orderqty:
  12239. description: 委托数量
  12240. type: integer
  12241. ordertime:
  12242. description: 委托时间
  12243. type: string
  12244. pricemode:
  12245. description: '取价方式 - 1:市价 2: 限价'
  12246. type: integer
  12247. tradedate:
  12248. description: 交易日(yyyyMMdd)
  12249. type: string
  12250. tradeqty:
  12251. description: 成交数量
  12252. type: integer
  12253. type: object
  12254. models.QueryHedgeTradeDetailRsp:
  12255. properties:
  12256. accountid:
  12257. description: 账号ID
  12258. type: integer
  12259. buyorsell:
  12260. description: 方向 - 0:买 1:卖
  12261. type: integer
  12262. channelbuildtype:
  12263. description: 委托单据类型 0:无 1:建仓 2:平仓
  12264. type: integer
  12265. closecharge:
  12266. description: 平仓手续费(账户)
  12267. type: number
  12268. closecharge2:
  12269. description: 平仓手续费(商品)
  12270. type: number
  12271. closepl:
  12272. description: 平仓盈亏(账户)
  12273. type: number
  12274. closepl2:
  12275. description: 平仓盈亏(商品)
  12276. type: number
  12277. closepl3:
  12278. description: 平仓盈亏(账户)(逐笔)
  12279. type: number
  12280. closepl4:
  12281. description: 平仓盈亏(商品)(逐笔)
  12282. type: number
  12283. closetype:
  12284. description: 平仓方式 - 0:无 1:平今 2:平昨
  12285. type: integer
  12286. curexchangerate:
  12287. description: 当前汇率
  12288. type: number
  12289. exchangefullname:
  12290. description: 外部交易所全称
  12291. type: string
  12292. goodscode:
  12293. description: 商品代码(内部)
  12294. type: string
  12295. goodsid:
  12296. description: 商品ID
  12297. type: integer
  12298. goodsname:
  12299. description: 商品名称
  12300. type: string
  12301. marketid:
  12302. description: 市场ID
  12303. type: integer
  12304. opencharge:
  12305. description: 建仓手续费(账户)
  12306. type: number
  12307. opencharge2:
  12308. description: 建仓手续费(商品)
  12309. type: number
  12310. orderid:
  12311. description: 委托单号
  12312. type: string
  12313. orderlogincode:
  12314. description: 委托人
  12315. type: string
  12316. tradeamount:
  12317. description: 成交金额(账户)
  12318. type: number
  12319. tradedate:
  12320. description: 交易日(yyyyMMdd)
  12321. type: string
  12322. tradeid:
  12323. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12324. type: string
  12325. tradeprice:
  12326. description: 成交价格
  12327. type: number
  12328. tradeqty:
  12329. description: 成交数量
  12330. type: integer
  12331. tradetime:
  12332. description: 成交时间
  12333. type: string
  12334. tradetype:
  12335. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12336. type: integer
  12337. type: object
  12338. models.QuotePrimaryMenu:
  12339. properties:
  12340. Index:
  12341. description: 序号
  12342. type: integer
  12343. Key:
  12344. description: 键名
  12345. type: string
  12346. Name:
  12347. description: 菜单名称
  12348. type: string
  12349. SubMenus:
  12350. description: 子菜单
  12351. items:
  12352. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12353. type: array
  12354. SubTitleType:
  12355. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12356. type: integer
  12357. TradeModes:
  12358. description: 包含市场交易类型
  12359. type: string
  12360. type: object
  12361. models.QuoteSecondaryMenu:
  12362. properties:
  12363. ExExchangeCode:
  12364. description: 外部交易所代码
  12365. type: string
  12366. ExExchangeID:
  12367. description: 外部交易所ID
  12368. type: integer
  12369. GoodsGroupIDs:
  12370. description: 商品组ID列表
  12371. items:
  12372. type: integer
  12373. type: array
  12374. Index:
  12375. description: 序号
  12376. type: integer
  12377. MarketID:
  12378. description: 市场ID
  12379. type: integer
  12380. MenuTitle:
  12381. description: 菜单标题(市场名称或外部交易所名称)
  12382. type: string
  12383. TradeMode:
  12384. description: 交易模式
  12385. type: integer
  12386. type: object
  12387. models.RoleMenu:
  12388. properties:
  12389. hasright:
  12390. description: 是否有权限 0-没有权限 1-有权限
  12391. type: integer
  12392. iconame:
  12393. description: 菜单图标
  12394. type: string
  12395. menutype:
  12396. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12397. type: integer
  12398. parentcode:
  12399. description: 上级资源代码
  12400. type: string
  12401. remark:
  12402. description: 菜单备注
  12403. type: string
  12404. resourcecode:
  12405. description: 菜单代码
  12406. type: string
  12407. resourcelevel:
  12408. description: 级别
  12409. type: integer
  12410. resourcename:
  12411. description: 菜单名称
  12412. type: string
  12413. roleid:
  12414. description: 角色id
  12415. type: integer
  12416. sort:
  12417. description: 排序
  12418. type: integer
  12419. subMenu:
  12420. description: 子级菜单(结构同上层一样, swag解析不出来)
  12421. items:
  12422. $ref: '#/definitions/models.RoleMenu'
  12423. type: array
  12424. url:
  12425. description: URL
  12426. type: string
  12427. userid:
  12428. description: 用户id
  12429. type: integer
  12430. type: object
  12431. models.SearchGoods:
  12432. properties:
  12433. goodscode:
  12434. description: 商品代码(内部)
  12435. type: string
  12436. goodsid:
  12437. description: 商品ID(自增ID SEQ_GOODS)
  12438. type: integer
  12439. goodsname:
  12440. description: 商品名称
  12441. type: string
  12442. marketid:
  12443. description: 所属市场ID
  12444. type: integer
  12445. marketname:
  12446. description: 市场名称
  12447. type: string
  12448. trademode:
  12449. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12450. 21:竞拍-大宗式 22:受托竞价
  12451. type: integer
  12452. required:
  12453. - goodscode
  12454. - goodsid
  12455. - goodsname
  12456. - marketid
  12457. - trademode
  12458. type: object
  12459. models.Systemparam:
  12460. properties:
  12461. loginid:
  12462. description: 更新用户账号,登录账号
  12463. type: string
  12464. modifyflag:
  12465. description: 修改标志0 不允许修改 1 允许修改
  12466. type: integer
  12467. paramcode:
  12468. description: 参数代码
  12469. type: string
  12470. paramname:
  12471. description: 参数名
  12472. type: string
  12473. paramtype:
  12474. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12475. type: integer
  12476. paramvalue:
  12477. description: 参数值
  12478. type: string
  12479. paramvalue2:
  12480. description: 参数值(CLOB)
  12481. type: string
  12482. regexpress:
  12483. description: 正则表达式
  12484. type: string
  12485. remark:
  12486. description: 备注
  12487. type: string
  12488. serverip:
  12489. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12490. type: string
  12491. showflag:
  12492. description: 是否显示0 不显示 1 显示
  12493. type: integer
  12494. updatetime:
  12495. description: 更新时间
  12496. type: string
  12497. userid:
  12498. description: 更新用户ID
  12499. type: integer
  12500. required:
  12501. - paramcode
  12502. type: object
  12503. models.Szdz3convertconfig:
  12504. properties:
  12505. canin:
  12506. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12507. type: integer
  12508. canout:
  12509. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12510. type: integer
  12511. converttype:
  12512. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12513. 6:交易转花生米(不设置)
  12514. type: integer
  12515. createtime:
  12516. description: 创建时间
  12517. type: string
  12518. creatorid:
  12519. description: 创建人
  12520. type: integer
  12521. daymaxvalue:
  12522. description: 当日最大转入限制
  12523. type: number
  12524. freezedays:
  12525. description: 冻结天数 [5:花生米转交易]
  12526. type: integer
  12527. innergoodsid:
  12528. description: 内部商品ID[交易]
  12529. type: integer
  12530. inratio:
  12531. description: 目标值
  12532. type: integer
  12533. modifierid:
  12534. description: 修改人
  12535. type: integer
  12536. modifytime:
  12537. description: 修改时间
  12538. type: string
  12539. outergoodscode:
  12540. description: 外部商品代码[JD\PD]
  12541. type: string
  12542. outratio:
  12543. description: 源值
  12544. type: integer
  12545. pddecimalplace:
  12546. description: PD小数位
  12547. type: integer
  12548. timemaxvalue:
  12549. description: 单次最大转入限制
  12550. type: number
  12551. timeminvalue:
  12552. description: 单次最小转入限制
  12553. type: number
  12554. required:
  12555. - converttype
  12556. - innergoodsid
  12557. - outergoodscode
  12558. type: object
  12559. models.Szdz3searchwhitelist:
  12560. properties:
  12561. createtime:
  12562. description: 创建时间
  12563. type: string
  12564. creatorid:
  12565. description: 创建人
  12566. type: integer
  12567. modifierid:
  12568. description: 修改人
  12569. type: integer
  12570. modifytime:
  12571. description: 修改时间
  12572. type: string
  12573. userid:
  12574. description: 用户ID
  12575. type: integer
  12576. required:
  12577. - userid
  12578. type: object
  12579. models.Taaccount:
  12580. properties:
  12581. accountflag:
  12582. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12583. type: integer
  12584. accountid:
  12585. description: 资金账户ID
  12586. type: integer
  12587. accountname:
  12588. description: 账户名称
  12589. type: string
  12590. balance:
  12591. description: 期初余额
  12592. type: number
  12593. capitalbalance:
  12594. description: 本金余额[外部子账户实际出入金余额]
  12595. type: number
  12596. changeflag:
  12597. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12598. type: integer
  12599. changetime:
  12600. description: 账户状态变更时间
  12601. type: string
  12602. closepl:
  12603. description: 今日平仓盈亏
  12604. type: number
  12605. creditdecrease:
  12606. description: 今日授信减少
  12607. type: number
  12608. creditincrease:
  12609. description: 今日授信增加
  12610. type: number
  12611. curamount:
  12612. description: 总市值(从持仓中统计)
  12613. type: number
  12614. currencyid:
  12615. description: 货币ID
  12616. type: integer
  12617. currentbalance:
  12618. description: 期末余额
  12619. type: number
  12620. freezecharge:
  12621. description: 手续费冻结
  12622. type: number
  12623. freezemargin:
  12624. description: 冻结保证金
  12625. type: number
  12626. fromaccountid:
  12627. description: 所属上级账户
  12628. type: integer
  12629. inamount:
  12630. description: 今日入金金额(包括三方入金)
  12631. type: number
  12632. ismain:
  12633. description: 是否母账号 0:不是母账户 1:是母账户
  12634. type: integer
  12635. ismarketaccount:
  12636. description: 是否机构接单账号 0:不是 1:是
  12637. type: integer
  12638. isreckonaccount:
  12639. description: 是否机构分润账号 0:不是 1:是
  12640. type: integer
  12641. mortgagecredit:
  12642. description: 授信金额
  12643. type: number
  12644. orifreezecharge:
  12645. description: 期初手续费冻结
  12646. type: number
  12647. orifreezemargin:
  12648. description: 期初冻结保证金
  12649. type: number
  12650. orimortgagecredit:
  12651. description: 期初授信金额
  12652. type: number
  12653. oriothercredit:
  12654. description: 期初其它授信金额
  12655. type: number
  12656. oriotherfreezemargin:
  12657. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12658. type: number
  12659. orioutamountfreeze:
  12660. description: 期初出金冻结
  12661. type: number
  12662. oriusedmargin:
  12663. description: 期初占用保证金
  12664. type: number
  12665. othercredit:
  12666. description: 其它授信金额
  12667. type: number
  12668. othercreditdecrease:
  12669. description: 今日其它授信减少
  12670. type: number
  12671. othercreditincrease:
  12672. description: 今日其它授信增加
  12673. type: number
  12674. otherfreezemargin:
  12675. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12676. type: number
  12677. otherincome:
  12678. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12679. type: number
  12680. otherpay:
  12681. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12682. type: number
  12683. outamount:
  12684. description: 今日出金金额(包括三方出金)
  12685. type: number
  12686. outamountfreeze:
  12687. description: 出金冻结
  12688. type: number
  12689. outthreshold:
  12690. description: 出金阈值
  12691. type: number
  12692. parentaccountid:
  12693. description: 所属根账号
  12694. type: integer
  12695. paycharge:
  12696. description: 今日手续费支出
  12697. type: number
  12698. relatedaccountstatus:
  12699. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12700. type: integer
  12701. relateduserid:
  12702. description: 关联用户
  12703. type: integer
  12704. remainamount:
  12705. description: 融资额(从融资合同中统计)
  12706. type: number
  12707. serivcegroup:
  12708. description: 服务分组
  12709. type: integer
  12710. signstatus:
  12711. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12712. type: integer
  12713. sublevelpath:
  12714. description: 账号层级路径(逗号分隔,首尾加逗号)
  12715. type: string
  12716. taaccounttype:
  12717. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12718. type: integer
  12719. thirdinamount:
  12720. description: 今日三方入金
  12721. type: number
  12722. thirdoutamount:
  12723. description: 今日三方出金
  12724. type: number
  12725. tradestatus:
  12726. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12727. type: integer
  12728. tradestatuschangetime:
  12729. description: 激活时间
  12730. type: string
  12731. transferamount:
  12732. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12733. type: number
  12734. usedmargin:
  12735. description: 占用保证金
  12736. type: number
  12737. userid:
  12738. description: 用户ID
  12739. type: integer
  12740. required:
  12741. - accountid
  12742. - userid
  12743. type: object
  12744. models.Tablecolumnconfig:
  12745. properties:
  12746. aligntype:
  12747. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12748. type: integer
  12749. autoid:
  12750. description: AutoID
  12751. type: integer
  12752. columnfield:
  12753. description: 列字段
  12754. type: string
  12755. columntitle:
  12756. description: 列Title
  12757. type: string
  12758. columnwidth:
  12759. description: 列宽
  12760. type: string
  12761. formatterstring:
  12762. description: 格式化字符
  12763. type: string
  12764. formattertype:
  12765. description: 格式化类型
  12766. type: string
  12767. groupname:
  12768. description: 表头分组名称
  12769. type: string
  12770. isshow:
  12771. description: 是否显示 - 0:不显示 1:显示
  12772. type: integer
  12773. needsummary:
  12774. description: 是否需要汇总 - 0:不需要 1:需要
  12775. type: integer
  12776. orderindex:
  12777. description: 顺序
  12778. type: integer
  12779. remark:
  12780. description: 备注
  12781. type: string
  12782. summarytype:
  12783. description: 汇总类型 - 1:加总 2:最后一个
  12784. type: integer
  12785. tablekey:
  12786. description: 列表Key
  12787. type: string
  12788. required:
  12789. - autoid
  12790. type: object
  12791. models.UserCollectConfig:
  12792. properties:
  12793. accountstatus:
  12794. description: 账户状态 - 1:正常 2:停用 3:注销
  12795. type: integer
  12796. collectaccountname:
  12797. description: 收款人账户名称
  12798. type: string
  12799. collectaccountno:
  12800. description: 收款人账户
  12801. type: string
  12802. collectbankname:
  12803. description: 收款人开户行
  12804. type: string
  12805. collectbranchbankname:
  12806. description: 收款人开户支行
  12807. type: string
  12808. collectconfigid:
  12809. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12810. type: string
  12811. remark:
  12812. description: 备注
  12813. type: string
  12814. userid:
  12815. description: 收款人用户ID
  12816. type: integer
  12817. type: object
  12818. models.UserReceiveInfo:
  12819. properties:
  12820. address:
  12821. description: 提货人详细地址
  12822. type: string
  12823. autoid:
  12824. description: AutoID
  12825. type: integer
  12826. cardnum:
  12827. description: 证件号码(加密存储)
  12828. type: string
  12829. cardtypeid:
  12830. description: 证件类型
  12831. type: integer
  12832. cityid:
  12833. description: 市
  12834. type: integer
  12835. cityname:
  12836. description: 城市名称
  12837. type: string
  12838. countryid:
  12839. description: 国家
  12840. type: integer
  12841. countryname:
  12842. description: 国家名称
  12843. type: string
  12844. districtid:
  12845. description: 地区
  12846. type: integer
  12847. districtname:
  12848. description: 地区名称
  12849. type: string
  12850. hasencrypt:
  12851. description: 数据是否已加密 - 0:未加密 1:已加密
  12852. type: integer
  12853. isdefault:
  12854. description: 是否默认地址 - 0:否 1:是
  12855. type: integer
  12856. phonenum:
  12857. description: 提货人联系方式(加密存储)
  12858. type: string
  12859. provinceid:
  12860. description: 省
  12861. type: integer
  12862. provincename:
  12863. description: 省名称
  12864. type: string
  12865. receivername:
  12866. description: 提货人姓名
  12867. type: string
  12868. takeremark:
  12869. description: 提货备注
  12870. type: string
  12871. userid:
  12872. description: 用户ID
  12873. type: integer
  12874. type: object
  12875. models.Useraccount:
  12876. properties:
  12877. accountname:
  12878. description: 账户名称(机构名称)
  12879. type: string
  12880. accountstatus:
  12881. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12882. type: integer
  12883. applysrc:
  12884. description: 申请来源 - 1:管理端 2:终端
  12885. type: integer
  12886. auditremark:
  12887. description: 审核备注
  12888. type: string
  12889. auditsrc:
  12890. description: 审核来源 - 1:管理端 2:终端
  12891. type: integer
  12892. audittime:
  12893. description: 审核时间
  12894. type: string
  12895. audituserid:
  12896. description: 审核人
  12897. type: integer
  12898. broker:
  12899. description: 所属经纪人ID
  12900. type: integer
  12901. canceltime:
  12902. description: 销户时间
  12903. type: string
  12904. canceluserid:
  12905. description: 销户人
  12906. type: integer
  12907. canrecommend:
  12908. description: 是否可推荐 - 0:不可 1;可
  12909. type: integer
  12910. createtime:
  12911. description: 创建时间
  12912. type: string
  12913. creatorid:
  12914. description: 创建人
  12915. type: integer
  12916. hasauth:
  12917. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12918. type: integer
  12919. isanonymous:
  12920. description: 是否匿名下单 - 0:否 1:是
  12921. type: integer
  12922. maxinvestornum:
  12923. description: 最大用户数(经纪会员下投资者个数)
  12924. type: integer
  12925. memberuserid:
  12926. description: 所属会员ID
  12927. type: integer
  12928. modifierid:
  12929. description: 修改人
  12930. type: integer
  12931. modifyremark:
  12932. description: 变更备注
  12933. type: string
  12934. modifystatus:
  12935. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12936. type: integer
  12937. modifytime:
  12938. description: 修改时间
  12939. type: string
  12940. parenttopuser:
  12941. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12942. type: string
  12943. parentuserid:
  12944. description: 所属机构ID
  12945. type: integer
  12946. reckonaccountid:
  12947. description: 默认结算资金账号ID(机构分润使用) 作废
  12948. type: integer
  12949. refercount:
  12950. description: 推荐总人数
  12951. type: integer
  12952. refereeuserid:
  12953. description: 推荐人ID
  12954. type: integer
  12955. refernum:
  12956. description: 推荐码
  12957. type: string
  12958. rootuserid:
  12959. description: 根用户ID
  12960. type: integer
  12961. subaccountlevel:
  12962. description: 子账户层数
  12963. type: integer
  12964. subarealevelpath:
  12965. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12966. type: string
  12967. userid:
  12968. description: 用户ID
  12969. type: integer
  12970. usertype:
  12971. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12972. type: integer
  12973. required:
  12974. - userid
  12975. type: object
  12976. models.Userfavoritegoods:
  12977. properties:
  12978. goodsid:
  12979. description: 商品ID
  12980. type: integer
  12981. required:
  12982. - goodsid
  12983. type: object
  12984. models.Userinfo:
  12985. properties:
  12986. address:
  12987. description: 地址
  12988. type: string
  12989. attachment1:
  12990. description: 附件1
  12991. type: string
  12992. attachment2:
  12993. description: 附件2
  12994. type: string
  12995. bankaccount:
  12996. description: 银行帐号 (加密存储)
  12997. type: string
  12998. bankaccountname:
  12999. description: 收款人名称
  13000. type: string
  13001. bankcardfrontphotourl:
  13002. description: 银行卡正面照地址
  13003. type: string
  13004. bankid:
  13005. description: 银行编码
  13006. type: string
  13007. bankname:
  13008. description: 银行名称
  13009. type: string
  13010. biznature:
  13011. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13012. type: integer
  13013. bizscope:
  13014. description: 企业经营范围(企业)
  13015. type: string
  13016. cardbackphotourl:
  13017. description: 证件背面图片地址
  13018. type: string
  13019. cardfrontphotourl:
  13020. description: 证件正面图片地址
  13021. type: string
  13022. cardnum:
  13023. description: 证件号码(加密存储)
  13024. type: string
  13025. cardtypeid:
  13026. description: 证件类型ID
  13027. type: integer
  13028. cityid:
  13029. description: 市
  13030. type: integer
  13031. company:
  13032. description: 公司(个人)
  13033. type: string
  13034. contactname:
  13035. description: 联系人
  13036. type: string
  13037. countryid:
  13038. description: 国家
  13039. type: integer
  13040. createtime:
  13041. description: 创建时间
  13042. type: string
  13043. creatorid:
  13044. description: 创建人
  13045. type: integer
  13046. customername:
  13047. description: 客户名称(企业名称)
  13048. type: string
  13049. districtid:
  13050. description: 地区
  13051. type: integer
  13052. email:
  13053. description: 邮件(加密存储)
  13054. type: string
  13055. fax:
  13056. description: 传真(加密存储)
  13057. type: string
  13058. halfbodyphotourl:
  13059. description: 半身照地址
  13060. type: string
  13061. hasencrypt:
  13062. description: 数据是否已加密 - 0:未加密 1:已加密
  13063. type: integer
  13064. headurl:
  13065. description: 头像地址
  13066. type: string
  13067. legalcardbackphotourl:
  13068. description: 法人身份证背面照地址
  13069. type: string
  13070. legalcardfrontphotourl:
  13071. description: 法人身份证正面照地址
  13072. type: string
  13073. legalpersonname:
  13074. description: 法人姓名(企业)
  13075. type: string
  13076. mobile:
  13077. description: 手机号码(加密存储)
  13078. type: string
  13079. mobile2:
  13080. description: 手机号码[明文-尚志]
  13081. type: string
  13082. modifierid:
  13083. description: 修改人
  13084. type: integer
  13085. modifiertime:
  13086. description: 修改时间
  13087. type: string
  13088. needinvoice:
  13089. description: 是否需要发票 - 0:不需要 1:需要
  13090. type: integer
  13091. nickname:
  13092. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13093. type: string
  13094. openmode:
  13095. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13096. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13097. type: integer
  13098. otherurl:
  13099. description: 其它图片地址[使用分号分隔]
  13100. type: string
  13101. postalcode:
  13102. description: 邮政编码
  13103. type: string
  13104. provinceid:
  13105. description: 省
  13106. type: integer
  13107. qq:
  13108. description: QQ(加密存储
  13109. type: string
  13110. remark:
  13111. description: 备注
  13112. type: string
  13113. sex:
  13114. description: '用户性别 0: 女 1: 男'
  13115. type: integer
  13116. signpdfurl:
  13117. description: 签约pdf文件
  13118. type: string
  13119. telphone:
  13120. description: 联系电话(加密存储)
  13121. type: string
  13122. userid:
  13123. description: 用户ID
  13124. type: integer
  13125. userinfotype:
  13126. description: 用户信息类型 - 1:个人 2:企业
  13127. type: integer
  13128. userstatus:
  13129. description: 用户状态 - 1:正常 2:注销
  13130. type: integer
  13131. usertype:
  13132. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13133. type: integer
  13134. wechat:
  13135. description: 微信(加密存储)
  13136. type: string
  13137. wskhinfo:
  13138. description: 开户申请信息(JSON)
  13139. type: string
  13140. required:
  13141. - userid
  13142. type: object
  13143. models.WRSConverTDetail:
  13144. properties:
  13145. convertratio:
  13146. description: 套保系数
  13147. type: number
  13148. deliverygoodscode:
  13149. description: 现货商品代码
  13150. type: string
  13151. deliverygoodsid:
  13152. description: 现货品种ID
  13153. type: integer
  13154. deliverygoodsname:
  13155. description: 现货商品名称
  13156. type: string
  13157. enumdicname:
  13158. description: 单位名称
  13159. type: string
  13160. goodsunitid:
  13161. description: 套保品种单位id
  13162. type: integer
  13163. middlegoodscode:
  13164. description: 套保品种代码
  13165. type: string
  13166. middlegoodsid:
  13167. description: 套保品种ID
  13168. type: integer
  13169. middlegoodsname:
  13170. description: 套保品种名称
  13171. type: string
  13172. modifytime:
  13173. description: 修改时间
  13174. type: string
  13175. wrstandardid:
  13176. description: 品类ID
  13177. type: integer
  13178. type: object
  13179. models.WRStandardInfo:
  13180. properties:
  13181. areauserid:
  13182. description: 所属机构
  13183. type: integer
  13184. convertfactor:
  13185. description: 标仓系数
  13186. type: number
  13187. createtime:
  13188. description: 创建时间
  13189. type: string
  13190. creatorid:
  13191. description: 创建人
  13192. type: integer
  13193. deliverygoodsid:
  13194. description: 品种ID
  13195. type: integer
  13196. deliverygoodsname:
  13197. description: 交割商品名称
  13198. type: string
  13199. factoryitemjson:
  13200. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13201. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13202. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13203. 逗号分隔'
  13204. type: string
  13205. isvalid:
  13206. description: 是否有效 - 0:无效 1:有效
  13207. type: integer
  13208. minivalue:
  13209. description: 最小变动值
  13210. type: integer
  13211. minivaluedp:
  13212. description: 最小变动值小数位
  13213. type: integer
  13214. realminivalue:
  13215. description: 实际最小变动值
  13216. type: integer
  13217. realminivaluedp:
  13218. description: 实际最小变动值小数位
  13219. type: integer
  13220. remark:
  13221. description: 备注
  13222. type: string
  13223. unitid:
  13224. description: 单位ID
  13225. type: integer
  13226. unitname:
  13227. description: 单位
  13228. type: string
  13229. updatetime:
  13230. description: 更新时间
  13231. type: string
  13232. updatorid:
  13233. description: 更新人
  13234. type: integer
  13235. wrsstatus:
  13236. description: 状态 - 作废 - 0:未激活 1:正常
  13237. type: integer
  13238. wrstandardcode:
  13239. description: 现货品类代码
  13240. type: string
  13241. wrstandardid:
  13242. description: 现货品类ID(SEQ_WRSTANDARD)
  13243. type: integer
  13244. wrstandardname:
  13245. description: 现货品类名称
  13246. type: string
  13247. required:
  13248. - wrstandardid
  13249. type: object
  13250. models.Warehouseinfo:
  13251. properties:
  13252. address:
  13253. description: 详细地址
  13254. type: string
  13255. areauserid:
  13256. description: 所属机构
  13257. type: integer
  13258. autoid:
  13259. description: 自增ID
  13260. type: integer
  13261. cityid:
  13262. description: 市
  13263. type: integer
  13264. contactname:
  13265. description: 联系人
  13266. type: string
  13267. contactnum:
  13268. description: 联系电话
  13269. type: string
  13270. countryid:
  13271. description: 国家
  13272. type: integer
  13273. createtime:
  13274. description: 创建时间
  13275. type: string
  13276. districtid:
  13277. description: 区
  13278. type: integer
  13279. hasvideo:
  13280. description: 是否有视频 - 0:无 1:有
  13281. type: integer
  13282. provinceid:
  13283. description: 省
  13284. type: integer
  13285. remark:
  13286. description: 审核备注
  13287. type: string
  13288. videourl:
  13289. description: 视频地址
  13290. type: string
  13291. warehousecode:
  13292. description: 仓库代码
  13293. type: string
  13294. warehousename:
  13295. description: 仓库名称
  13296. type: string
  13297. warehousestatus:
  13298. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13299. type: integer
  13300. warehousetype:
  13301. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13302. type: integer
  13303. required:
  13304. - autoid
  13305. - warehousecode
  13306. type: object
  13307. models.WrBuybackDetail:
  13308. properties:
  13309. buybackamount:
  13310. description: 回购金额
  13311. type: number
  13312. buybackqty:
  13313. description: 回购数量
  13314. type: number
  13315. buybackreleasemargin:
  13316. description: 回购释放保证金
  13317. type: number
  13318. buybacktime:
  13319. description: 回购时间
  13320. type: string
  13321. errordesc:
  13322. description: 错误描述
  13323. type: string
  13324. handlestatus:
  13325. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13326. type: integer
  13327. relatedwrid:
  13328. description: 关联仓单ID
  13329. type: integer
  13330. scfcontractid:
  13331. description: SCF合同ID
  13332. type: string
  13333. scfwrbuybackid:
  13334. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13335. type: integer
  13336. tradedate:
  13337. description: 交易日(yyyyMMdd)
  13338. type: string
  13339. type: object
  13340. models.WrDeliveryDetail:
  13341. properties:
  13342. accountid:
  13343. description: 账号ID
  13344. type: integer
  13345. buyorsell:
  13346. description: 方向 - 0:买 1:卖
  13347. type: integer
  13348. deliveryamount:
  13349. description: 货款金额(X总货款+P总货款)
  13350. type: number
  13351. deliveryorderid:
  13352. description: 申报单号
  13353. type: string
  13354. deliverypricemove:
  13355. description: 升贴水(升贴水总额)
  13356. type: number
  13357. deliveryqty:
  13358. description: 交收数量(点选数量)
  13359. type: number
  13360. deliverystatus:
  13361. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13362. type: integer
  13363. deliverytime:
  13364. description: 交割时间
  13365. type: string
  13366. deliverytotalamount:
  13367. description: 交收金额
  13368. type: number
  13369. matchaccountid:
  13370. description: 对手账号ID
  13371. type: integer
  13372. matchusername:
  13373. description: 对手方名称(仓单持有人)
  13374. type: string
  13375. p1goodsremainamount:
  13376. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13377. type: number
  13378. pdeliverycloseqty:
  13379. description: p合约平仓数量
  13380. type: number
  13381. pdeliveryprice:
  13382. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13383. type: number
  13384. pgoodscode:
  13385. description: 商品代码
  13386. type: string
  13387. pgoodsid:
  13388. description: p点选合约id
  13389. type: integer
  13390. pgoodsname:
  13391. description: 商品名称
  13392. type: string
  13393. ppricemode:
  13394. description: 点价价格方式 - 1:商品价 2:固定值
  13395. type: integer
  13396. tradedate:
  13397. description: 交易日(yyyymmdd)
  13398. type: string
  13399. userid:
  13400. description: 用户id
  13401. type: integer
  13402. username:
  13403. description: 用户名称
  13404. type: string
  13405. wrfactortypeid:
  13406. description: 仓单要素类型ID
  13407. type: integer
  13408. xdeliverycloseqty:
  13409. description: 合约数量
  13410. type: number
  13411. xgoodsamount:
  13412. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13413. type: number
  13414. xgoodscode:
  13415. description: 商品代码
  13416. type: string
  13417. xgoodsid:
  13418. description: x交易合约ID
  13419. type: integer
  13420. xgoodsname:
  13421. description: 商品名称
  13422. type: string
  13423. type: object
  13424. models.WrFAProductDetail:
  13425. properties:
  13426. accountid:
  13427. description: 资金账号
  13428. type: integer
  13429. areauserid:
  13430. description: 金融机构ID
  13431. type: integer
  13432. financingdays:
  13433. description: 天数(天)
  13434. type: integer
  13435. interestminlen:
  13436. description: 最小起息天数
  13437. type: integer
  13438. interestrate:
  13439. description: 利率
  13440. type: number
  13441. interestratemode:
  13442. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13443. type: integer
  13444. interestsettlemode:
  13445. description: 结息方式 - 1:按日结息 3:按月结息
  13446. type: integer
  13447. interestsettlevalue:
  13448. description: 结息方式值
  13449. type: integer
  13450. isautoloan:
  13451. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13452. type: integer
  13453. loantag:
  13454. description: '放款标识: "放款快" 或者为空'
  13455. type: string
  13456. marginratio:
  13457. description: 保证金比率质押率 - [仓单质押]
  13458. type: number
  13459. productdetailid:
  13460. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13461. type: integer
  13462. productid:
  13463. description: 金融产品ID
  13464. type: integer
  13465. productname:
  13466. description: 产品名称
  13467. type: string
  13468. updatetime:
  13469. description: 更新时间
  13470. type: string
  13471. username:
  13472. description: 融出方
  13473. type: string
  13474. type: object
  13475. models.WrFactorTypeInfo:
  13476. properties:
  13477. deliverygoodscode:
  13478. description: 品种代码
  13479. type: string
  13480. deliverygoodsname:
  13481. description: 品种名称
  13482. type: string
  13483. dgfactoryitemid:
  13484. description: 选择项id
  13485. type: integer
  13486. dgfactoryitemtypeid:
  13487. description: 要素选择项ID (1-仓库 2-品牌)
  13488. type: integer
  13489. dgfactoryitemvalue:
  13490. description: 要素项值
  13491. type: string
  13492. itemtypename:
  13493. description: 要素项名称
  13494. type: string
  13495. optioncompare:
  13496. description: 选择比较串
  13497. type: string
  13498. warehouseid:
  13499. description: 仓库id
  13500. type: integer
  13501. wrfactortypeid:
  13502. description: 仓单要素ID
  13503. type: string
  13504. wrfactortypename:
  13505. description: 要素名称
  13506. type: string
  13507. wrfactortypename2:
  13508. description: 要素名称(不含仓库)
  13509. type: string
  13510. wrstandardcode:
  13511. description: 品类代码
  13512. type: string
  13513. wrstandardid:
  13514. description: 品类id
  13515. type: integer
  13516. wrstandardname:
  13517. description: 品类名称
  13518. type: string
  13519. type: object
  13520. models.WrFilterItem:
  13521. properties:
  13522. itemcode:
  13523. description: 代码
  13524. type: string
  13525. itemid:
  13526. description: 项id
  13527. type: integer
  13528. itemname:
  13529. description: 名称
  13530. type: string
  13531. itemtype:
  13532. description: 类型 1-品种 2-品类(商品) 3-仓库
  13533. type: integer
  13534. type: object
  13535. models.WrFinanceBuyApply:
  13536. properties:
  13537. applydate:
  13538. description: 申请时间
  13539. type: string
  13540. applystatus:
  13541. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13542. type: integer
  13543. applyuserid:
  13544. description: 申请人
  13545. type: integer
  13546. auditdate:
  13547. description: 审核时间
  13548. type: string
  13549. auditremark:
  13550. description: 审核备注
  13551. type: string
  13552. audituserid:
  13553. description: 审核人
  13554. type: integer
  13555. buyaccountid:
  13556. description: 买方资金账号
  13557. type: integer
  13558. buyorsell:
  13559. description: 买卖 - 0:买 1:卖
  13560. type: integer
  13561. buyuserid:
  13562. description: 买方用户ID
  13563. type: integer
  13564. buyusername:
  13565. description: 买方名称
  13566. type: string
  13567. buywrtradeorderid:
  13568. description: 融资方买委托单ID
  13569. type: string
  13570. deliverygoodscode:
  13571. description: 品种代码
  13572. type: string
  13573. deliverygoodsid:
  13574. description: 品种ID
  13575. type: integer
  13576. deliverygoodsname:
  13577. description: 品种名称
  13578. type: string
  13579. deliverymonth:
  13580. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13581. type: string
  13582. enumdicname:
  13583. description: 单位名称
  13584. type: string
  13585. financeaccountid:
  13586. description: 融资方资金帐户ID
  13587. type: integer
  13588. financeapplyid:
  13589. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13590. type: string
  13591. financeareauserid:
  13592. description: 融资方用户ID
  13593. type: string
  13594. financename:
  13595. description: 融出方名称
  13596. type: string
  13597. financetype:
  13598. description: 融资类型 1-融资回购
  13599. type: integer
  13600. financingdays:
  13601. description: 天数(天)
  13602. type: integer
  13603. freezebuymargin:
  13604. description: 冻结融资保证金(买方)
  13605. type: number
  13606. handleremark:
  13607. description: 处理备注
  13608. type: string
  13609. handlestatus:
  13610. description: 处理状态
  13611. type: integer
  13612. interestminlen:
  13613. description: 最小起息天数
  13614. type: integer
  13615. interestrate:
  13616. description: 利率
  13617. type: number
  13618. interestratemode:
  13619. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13620. type: integer
  13621. interestsettlemode:
  13622. description: 结息方式 - 1:按日结息 3:按月结息
  13623. type: integer
  13624. interestsettlevalue:
  13625. description: 结息方式值
  13626. type: integer
  13627. isautoloan:
  13628. description: 是否自动放款 - 0:手动 1:自动
  13629. type: integer
  13630. marginratio:
  13631. description: 保证金比率质押率 - [仓单质押]
  13632. type: number
  13633. marketid:
  13634. description: 市场ID
  13635. type: integer
  13636. minivalue:
  13637. description: 现货商品最小变动值
  13638. type: integer
  13639. optioncompare:
  13640. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13641. type: string
  13642. orderqty:
  13643. description: 委托数量(商品数量)
  13644. type: number
  13645. productdetailid:
  13646. description: 产品组合ID
  13647. type: integer
  13648. productid:
  13649. description: 金融产品ID
  13650. type: integer
  13651. productname:
  13652. description: 产品名称
  13653. type: string
  13654. remark:
  13655. description: 备注
  13656. type: string
  13657. scfcontractid:
  13658. description: 仓单回购合同ID
  13659. type: string
  13660. sellaccountid:
  13661. description: 卖方资金账号
  13662. type: integer
  13663. selluserid:
  13664. description: 卖方用户ID
  13665. type: integer
  13666. sellwrtradeorderid:
  13667. description: 卖方委托单ID
  13668. type: string
  13669. tradeamount:
  13670. description: 成交金额(借款金额)
  13671. type: number
  13672. tradedate:
  13673. description: 交易日(yyyyMMdd)
  13674. type: string
  13675. tradeprice:
  13676. description: 成交价格
  13677. type: number
  13678. warehouseid:
  13679. description: 仓库ID
  13680. type: integer
  13681. warehousename:
  13682. description: 仓库名称
  13683. type: string
  13684. wrfactortypeid:
  13685. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13686. type: string
  13687. wrfactortypename:
  13688. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13689. type: string
  13690. wrpricetype:
  13691. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13692. type: integer
  13693. wrstandardcode:
  13694. description: 现货商品代码
  13695. type: string
  13696. wrstandardid:
  13697. description: 现货商品ID
  13698. type: integer
  13699. wrstandardname:
  13700. description: 商品名称
  13701. type: string
  13702. wrtypename:
  13703. description: 商品
  13704. type: string
  13705. type: object
  13706. models.WrFtDeliveryGoods:
  13707. properties:
  13708. deliverygoodscode:
  13709. description: 品种代码
  13710. type: string
  13711. deliverygoodsid:
  13712. description: 品种ID
  13713. type: integer
  13714. deliverygoodsname:
  13715. description: 品种名称
  13716. type: string
  13717. wdlst:
  13718. description: 商品列表
  13719. items:
  13720. $ref: '#/definitions/models.WrFtWrstandard'
  13721. type: array
  13722. type: object
  13723. models.WrFtWrstandard:
  13724. properties:
  13725. enumdicname:
  13726. description: 单位名称
  13727. type: string
  13728. minivalue:
  13729. description: 最小变动值
  13730. type: integer
  13731. wrstandardcode:
  13732. description: 现货商品代码
  13733. type: string
  13734. wrstandardid:
  13735. description: 现货商品ID
  13736. type: integer
  13737. wrstandardname:
  13738. description: 商品名称
  13739. type: string
  13740. type: object
  13741. models.WrGoodsInfo:
  13742. properties:
  13743. haswr:
  13744. description: 0:仓单预售 1:仓单贸易
  13745. type: integer
  13746. lstitem:
  13747. description: 商品信息项
  13748. items:
  13749. $ref: '#/definitions/models.WrTypeItem'
  13750. type: array
  13751. lststep:
  13752. description: 履约规则
  13753. items:
  13754. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13755. type: array
  13756. marketid:
  13757. description: 市场id
  13758. type: integer
  13759. type: object
  13760. models.WrGoodsPerformanceStep:
  13761. properties:
  13762. autoid:
  13763. description: AutoID
  13764. type: integer
  13765. isauto:
  13766. description: 是否自动 - 0:不自动 1:自动
  13767. type: integer
  13768. remark:
  13769. description: 备注
  13770. type: string
  13771. stepdate:
  13772. description: 天数信息(T+N)
  13773. type: string
  13774. stepdays:
  13775. description: 距离上一步天数
  13776. type: integer
  13777. stepindex:
  13778. description: 步骤序号
  13779. type: integer
  13780. stepinfo:
  13781. description: 步骤信息(步骤名称+步骤值)
  13782. type: string
  13783. steptypeid:
  13784. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13785. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13786. type: integer
  13787. steptypename:
  13788. description: 步骤名称
  13789. type: string
  13790. stepvalue:
  13791. description: 步骤值
  13792. type: number
  13793. templateid:
  13794. description: 履约计划模板ID
  13795. type: integer
  13796. type: object
  13797. models.WrHoldLB:
  13798. properties:
  13799. accountid:
  13800. description: 持有人帐户ID
  13801. type: integer
  13802. createtime:
  13803. description: 创建时间(过户时间)
  13804. type: string
  13805. deliverygoodscode:
  13806. description: 品种代码
  13807. type: string
  13808. deliverygoodsid:
  13809. description: 品种ID
  13810. type: integer
  13811. deliverygoodsname:
  13812. description: 品种名称
  13813. type: string
  13814. enableqty:
  13815. description: 可用数量
  13816. type: number
  13817. enumdicname:
  13818. description: 单位名称
  13819. type: string
  13820. freezerqty:
  13821. description: 冻结数量
  13822. type: number
  13823. ladingbillid:
  13824. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13825. type: string
  13826. minivalue:
  13827. description: 现货商品最小变动值
  13828. type: integer
  13829. optioncompare:
  13830. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13831. type: string
  13832. parentsubnum:
  13833. description: 拆分父子单号
  13834. type: integer
  13835. pledgeqty:
  13836. description: 质押数量
  13837. type: number
  13838. qty:
  13839. description: 数量
  13840. type: number
  13841. subnum:
  13842. description: 提单子单号
  13843. type: integer
  13844. tradedate:
  13845. description: 交易日(yyyyMMdd)
  13846. type: string
  13847. userid:
  13848. description: 持有人ID
  13849. type: integer
  13850. warehouseid:
  13851. description: 仓库ID
  13852. type: integer
  13853. warehousename:
  13854. description: 仓库名称
  13855. type: string
  13856. wrfactortypeid:
  13857. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13858. type: string
  13859. wrfactortypename:
  13860. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13861. type: string
  13862. wrholdeno:
  13863. description: 仓单编号
  13864. type: string
  13865. wrid:
  13866. description: 仓单变更ID
  13867. type: string
  13868. wrstandardcode:
  13869. description: 现货商品代码
  13870. type: string
  13871. wrstandardid:
  13872. description: 现货商品ID
  13873. type: integer
  13874. wrstandardname:
  13875. description: 商品名称
  13876. type: string
  13877. wrtypename:
  13878. description: 商品
  13879. type: string
  13880. type: object
  13881. models.WrMarketTradeConfig:
  13882. properties:
  13883. basisdownratio:
  13884. description: 浮动价基差下限比例(仓单贸易)
  13885. type: number
  13886. basisupratio:
  13887. description: 浮动价基差上限比例(仓单贸易)
  13888. type: number
  13889. buychargealgorithm:
  13890. description: 买方手续费收取方式 1:比率 2:固定
  13891. type: integer
  13892. buychargealgorithm2:
  13893. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  13894. type: integer
  13895. buychargealgorithmvalue:
  13896. description: 买方手续费设置值(交易所部分)
  13897. type: number
  13898. buychargealgorithmvalue2:
  13899. description: 买方手续费设置值(会员部分)
  13900. type: number
  13901. buychargealgorithmvalue3:
  13902. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  13903. type: number
  13904. buychargealgorithmvalue4:
  13905. description: 回购买方手续费设置值(会员部分) --77:现货商城
  13906. type: number
  13907. buyfirstmarginalgorithm:
  13908. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  13909. type: integer
  13910. buyfirstmarginvalue:
  13911. description: 买方出价保证金设置值 - [竞拍]
  13912. type: number
  13913. buymarginalgorithm:
  13914. description: 买方保证金方式 - 1:比率 2:固定
  13915. type: integer
  13916. buymarginvalue:
  13917. description: 买方保证金设置值
  13918. type: number
  13919. buyreleaseratio:
  13920. description: 买方释放比率[2:分步履约]
  13921. type: number
  13922. executemode:
  13923. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  13924. type: integer
  13925. executeside:
  13926. description: 执行方[2:分步履约] - 1:买方 2:卖方
  13927. type: integer
  13928. failedchargealgorithm:
  13929. description: 流拍手续费收取方式 1:比率 2:固定
  13930. type: integer
  13931. failedchargevalue:
  13932. description: 流拍手续费设置值
  13933. type: number
  13934. failedchargevalue2:
  13935. description: 流拍卖方手续费设置值
  13936. type: number
  13937. holddays:
  13938. description: 合同期限[2:分步履约]
  13939. type: integer
  13940. marketid:
  13941. description: 市场ID-仓单贸易、竞拍、预售
  13942. type: integer
  13943. minqty:
  13944. description: 最小执行量[2:分步履约]
  13945. type: number
  13946. modifierid:
  13947. description: 修改人
  13948. type: integer
  13949. performancetempid:
  13950. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13951. 立即执行(-1)
  13952. type: integer
  13953. performancetempid2:
  13954. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13955. 立即执行
  13956. type: integer
  13957. performanceway:
  13958. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  13959. type: integer
  13960. sellchargealgorithm:
  13961. description: 卖方手续费收取方式 1:比率 2:固定
  13962. type: integer
  13963. sellchargealgorithm2:
  13964. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  13965. type: integer
  13966. sellchargealgorithmvalue:
  13967. description: 卖方手续费设置值(交易所部分)
  13968. type: number
  13969. sellchargealgorithmvalue2:
  13970. description: 卖方手续费设置值(会员部分)
  13971. type: number
  13972. sellchargealgorithmvalue3:
  13973. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  13974. type: number
  13975. sellchargealgorithmvalue4:
  13976. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  13977. type: number
  13978. sellmarginalgorithm:
  13979. description: 卖方保证金方式 - 1:比率 2:固定
  13980. type: integer
  13981. sellmarginvalue:
  13982. description: 卖方保证金设置值
  13983. type: number
  13984. sellmarginvalue2:
  13985. description: 卖方保证金设置值(无仓单)
  13986. type: number
  13987. sellreleaseratio:
  13988. description: 卖方释放比率[2:分步履约]
  13989. type: number
  13990. updatetime:
  13991. description: 更新时间
  13992. type: string
  13993. type: object
  13994. models.WrOrderDetail:
  13995. properties:
  13996. buyorsell:
  13997. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13998. type: integer
  13999. cancelqty:
  14000. description: 撤销数量
  14001. type: number
  14002. deliverygoodscode:
  14003. description: 品种代码
  14004. type: string
  14005. deliverygoodsid:
  14006. description: 品种ID
  14007. type: integer
  14008. deliverygoodsname:
  14009. description: 品种名称
  14010. type: string
  14011. deliverymonth:
  14012. description: 交收月
  14013. type: string
  14014. enumdicname:
  14015. description: 单位名称
  14016. type: string
  14017. fixedprice:
  14018. description: 固定价格 - [挂牌]
  14019. type: number
  14020. futupricemove:
  14021. description: 期货升贴水
  14022. type: number
  14023. futushow:
  14024. description: 期货合约/升贴水
  14025. type: string
  14026. goodscode:
  14027. description: 期货合约
  14028. type: string
  14029. goodsid:
  14030. description: 期货商品id
  14031. type: integer
  14032. goodsname:
  14033. description: 商品名称
  14034. type: string
  14035. haswr:
  14036. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14037. type: integer
  14038. marketid:
  14039. description: 市场ID
  14040. type: integer
  14041. minivalue:
  14042. description: 现货商品最小变动值
  14043. type: integer
  14044. optioncompare:
  14045. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14046. type: string
  14047. orderqty:
  14048. description: 委托数量
  14049. type: number
  14050. ordertime:
  14051. description: 委托时间(挂牌时间)
  14052. type: string
  14053. pricemove:
  14054. description: 升贴水(浮动价时填写) - [挂牌]
  14055. type: number
  14056. tradedate:
  14057. description: 交易日(yyyyMMdd)
  14058. type: string
  14059. tradeprice:
  14060. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14061. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14062. type: number
  14063. tradeqty:
  14064. description: 成交数量
  14065. type: number
  14066. userid:
  14067. description: 用户ID
  14068. type: integer
  14069. warehouseid:
  14070. description: 仓库ID
  14071. type: integer
  14072. warehousename:
  14073. description: 仓库名称
  14074. type: string
  14075. wrfactortypeid:
  14076. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14077. type: string
  14078. wrfactortypename:
  14079. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14080. type: string
  14081. wrpricetype:
  14082. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14083. type: integer
  14084. wrstandardcode:
  14085. description: 现货商品代码
  14086. type: string
  14087. wrstandardid:
  14088. description: 现货商品ID
  14089. type: integer
  14090. wrstandardname:
  14091. description: 商品名称
  14092. type: string
  14093. wrtradeorderid:
  14094. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14095. type: string
  14096. wrtradeorderstatus:
  14097. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14098. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14099. type: integer
  14100. wrtradetype:
  14101. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14102. type: integer
  14103. wrtypename:
  14104. description: 商品
  14105. type: string
  14106. type: object
  14107. models.WrOrderQuote:
  14108. properties:
  14109. buyprice:
  14110. description: 买价
  14111. type: number
  14112. buypricemove:
  14113. description: 买升贴水(基差)
  14114. type: number
  14115. buyqty:
  14116. description: 买量
  14117. type: number
  14118. deliverygoodscode:
  14119. description: 品种代码
  14120. type: string
  14121. deliverygoodsid:
  14122. description: 品种id
  14123. type: integer
  14124. deliverygoodsname:
  14125. description: 品种名称
  14126. type: string
  14127. deliverymonth:
  14128. description: 交收月
  14129. type: string
  14130. enumdicname:
  14131. description: 单位名称
  14132. type: string
  14133. goodscode:
  14134. description: 商品合约(浮动价列表才有)
  14135. type: string
  14136. goodsid:
  14137. description: 商品id(浮动价列表才有)
  14138. type: integer
  14139. minivalue:
  14140. description: 现货商品最小变动值
  14141. type: integer
  14142. sellprice:
  14143. description: 卖价
  14144. type: number
  14145. sellpricemove:
  14146. description: 卖升贴水(基差)
  14147. type: number
  14148. sellqty:
  14149. description: 卖量
  14150. type: number
  14151. warehousecode:
  14152. description: 仓库代码
  14153. type: string
  14154. warehouseid:
  14155. description: 仓库id
  14156. type: integer
  14157. warehousename:
  14158. description: 仓库名称
  14159. type: string
  14160. wrfactortypeid:
  14161. description: 仓单要素id
  14162. type: string
  14163. wrfactortypename:
  14164. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14165. type: string
  14166. wrgoodsname:
  14167. description: 商品(商品名称+仓库要素名称 拼接)
  14168. type: string
  14169. wrstandardcode:
  14170. description: 商品代码
  14171. type: string
  14172. wrstandardid:
  14173. description: 商品id
  14174. type: integer
  14175. wrstandardname:
  14176. description: 商品名称
  14177. type: string
  14178. type: object
  14179. models.WrOrderQuoteDetail:
  14180. properties:
  14181. buyorsell:
  14182. description: 买卖 - 0:买 1:卖
  14183. type: integer
  14184. delistminqty:
  14185. description: 起摘数量
  14186. type: number
  14187. deliverymonth:
  14188. description: 交收月
  14189. type: string
  14190. enumdicname:
  14191. description: 单位名称
  14192. type: string
  14193. fixedprice:
  14194. description: 买(卖)价
  14195. type: number
  14196. minivalue:
  14197. description: 现货商品最小变动值
  14198. type: integer
  14199. orderqty:
  14200. description: 买(卖)量(=委托量-成交量)
  14201. type: number
  14202. ordertime:
  14203. description: 委托时间
  14204. type: string
  14205. pricemove:
  14206. description: 买(卖)升贴水- 基差
  14207. type: number
  14208. userid:
  14209. description: 购买方(销售方)用户ID
  14210. type: integer
  14211. username:
  14212. description: 购买方(销售方)
  14213. type: string
  14214. wrtradeorderid:
  14215. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14216. type: string
  14217. type: object
  14218. models.WrOutInApply:
  14219. properties:
  14220. applyid:
  14221. description: 申请单id
  14222. type: string
  14223. applystatus:
  14224. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14225. 8:已撤销
  14226. type: integer
  14227. applytime:
  14228. description: 申请时间
  14229. type: string
  14230. applytype:
  14231. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14232. type: integer
  14233. deliverygoodscode:
  14234. description: 品种代码
  14235. type: string
  14236. deliverygoodsid:
  14237. description: 品种ID
  14238. type: integer
  14239. deliverygoodsname:
  14240. description: 品种名称
  14241. type: string
  14242. enumdicname:
  14243. description: 单位名称
  14244. type: string
  14245. expresscompany:
  14246. description: 物流公司
  14247. type: string
  14248. expressnum:
  14249. description: 物流单号
  14250. type: string
  14251. minivalue:
  14252. description: 现货商品最小变动值
  14253. type: integer
  14254. optioncompare:
  14255. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14256. type: string
  14257. qty:
  14258. description: 数量
  14259. type: integer
  14260. userid:
  14261. description: 用户id
  14262. type: integer
  14263. warehouseid:
  14264. description: 仓库ID
  14265. type: integer
  14266. warehousename:
  14267. description: 仓库名称
  14268. type: string
  14269. wrfactortypeid:
  14270. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14271. type: string
  14272. wrfactortypename:
  14273. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14274. type: string
  14275. wrstandardcode:
  14276. description: 现货商品代码
  14277. type: string
  14278. wrstandardid:
  14279. description: 现货商品ID
  14280. type: integer
  14281. wrstandardname:
  14282. description: 商品名称
  14283. type: string
  14284. wrtypename:
  14285. description: 商品
  14286. type: string
  14287. type: object
  14288. models.WrPerformancePlan:
  14289. properties:
  14290. activatemonth:
  14291. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14292. type: string
  14293. amount:
  14294. description: 履约金额(总金额)
  14295. type: number
  14296. buyaccountid:
  14297. description: 买方账号
  14298. type: integer
  14299. buyerfreezeamount:
  14300. description: 履约冻结(买履约)
  14301. type: number
  14302. buyerfreezeamountremain:
  14303. description: 履约冻结剩余(买履约)
  14304. type: number
  14305. buyorsell:
  14306. description: 买卖方向 0-买 1-卖
  14307. type: integer
  14308. buypaidamount:
  14309. description: 买方已冻/已扣金额 (已付金额)
  14310. type: number
  14311. buyusername:
  14312. description: 买方名字
  14313. type: string
  14314. contractid:
  14315. description: 合同ID
  14316. type: integer
  14317. createtime:
  14318. description: 创建时间
  14319. type: string
  14320. creatorid:
  14321. description: 创建人
  14322. type: integer
  14323. curstepdeadline:
  14324. description: 当前步骤到期时间
  14325. type: string
  14326. curstepid:
  14327. description: 当前步骤ID
  14328. type: string
  14329. curstepname:
  14330. description: 当前步骤名称
  14331. type: string
  14332. deliverygoodscode:
  14333. description: 品种代码
  14334. type: string
  14335. deliverygoodsid:
  14336. description: 品种ID
  14337. type: integer
  14338. deliverygoodsname:
  14339. description: 品种名称
  14340. type: string
  14341. enumdicname:
  14342. description: 单位名称
  14343. type: string
  14344. expressfee:
  14345. description: 运费
  14346. type: number
  14347. expressfeeconfirmed:
  14348. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14349. type: integer
  14350. hasovershort:
  14351. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14352. type: integer
  14353. haswr:
  14354. description: 类型 0-仓单预售 1-仓单贸易
  14355. type: integer
  14356. marketid:
  14357. description: 市场ID
  14358. type: integer
  14359. middleaccountid:
  14360. description: 中间商资金账号ID
  14361. type: integer
  14362. middleuserid:
  14363. description: 中间商用户ID
  14364. type: integer
  14365. minivalue:
  14366. description: 现货商品最小变动值
  14367. type: integer
  14368. optioncompare:
  14369. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14370. type: string
  14371. overshortamount:
  14372. description: 溢短金额
  14373. type: number
  14374. overshortqty:
  14375. description: 溢短数量
  14376. type: number
  14377. paymenttype:
  14378. description: 付款方式 - 1:冻结 2:扣款
  14379. type: integer
  14380. performanceplanid:
  14381. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14382. type: string
  14383. performancestatus:
  14384. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14385. 9:超时待处理 10:超时关闭
  14386. type: integer
  14387. performancetype:
  14388. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14389. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14390. type: integer
  14391. qty:
  14392. description: 履约数量
  14393. type: number
  14394. relatedorderid:
  14395. description: 关联单号(履约类型的关联单号)
  14396. type: string
  14397. remark:
  14398. description: 备注
  14399. type: string
  14400. sellaccountid:
  14401. description: 卖方账号
  14402. type: integer
  14403. sellerfreezeamount:
  14404. description: 履约冻结(卖履约)
  14405. type: number
  14406. sellerfreezeamountremain:
  14407. description: 履约冻结剩余(卖履约)
  14408. type: number
  14409. sellreceivedamount:
  14410. description: 卖方已收金额
  14411. type: number
  14412. sellusername:
  14413. description: 卖方名字
  14414. type: string
  14415. shipremark:
  14416. description: 发货备注[物流单号]
  14417. type: string
  14418. starttime:
  14419. description: 开始时间
  14420. type: string
  14421. steptypeid:
  14422. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14423. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14424. type: integer
  14425. unpaidamount:
  14426. description: 剩余款(待支付金额)
  14427. type: number
  14428. userid:
  14429. description: 用户id
  14430. type: integer
  14431. warehouseid:
  14432. description: 仓库ID
  14433. type: integer
  14434. warehousename:
  14435. description: 仓库名称
  14436. type: string
  14437. wrfactortypeid:
  14438. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14439. type: string
  14440. wrfactortypename:
  14441. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14442. type: string
  14443. wrstandardcode:
  14444. description: 现货商品代码
  14445. type: string
  14446. wrstandardid:
  14447. description: 现货商品ID
  14448. type: integer
  14449. wrstandardname:
  14450. description: 商品名称
  14451. type: string
  14452. wrtransferuserid:
  14453. description: 仓单受让用户
  14454. type: integer
  14455. wrtypename:
  14456. description: 商品
  14457. type: string
  14458. required:
  14459. - userid
  14460. type: object
  14461. models.WrPerformancePlanStep:
  14462. properties:
  14463. delaydays:
  14464. description: 延期申请天数
  14465. type: integer
  14466. deliverygoodscode:
  14467. description: 品种代码
  14468. type: string
  14469. deliverygoodsid:
  14470. description: 品种ID
  14471. type: integer
  14472. deliverygoodsname:
  14473. description: 品种名称
  14474. type: string
  14475. endtime:
  14476. description: 结束日期
  14477. type: string
  14478. enumdicname:
  14479. description: 单位名称
  14480. type: string
  14481. executeside:
  14482. description: 步骤执行方 - 1:买方 2:卖方
  14483. type: integer
  14484. handlestatus:
  14485. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14486. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14487. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14488. type: integer
  14489. isauto:
  14490. description: 是否自动 - 0:不自动 1:自动
  14491. type: integer
  14492. islastreceivestep:
  14493. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14494. type: integer
  14495. minivalue:
  14496. description: 现货商品最小变动值
  14497. type: integer
  14498. optioncompare:
  14499. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14500. type: string
  14501. overdays:
  14502. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14503. type: integer
  14504. performancestepid:
  14505. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14506. type: string
  14507. planid:
  14508. description: 所属履约计划ID
  14509. type: string
  14510. realamount:
  14511. description: 实际完成金额
  14512. type: number
  14513. relatedorderid:
  14514. description: 关联单号
  14515. type: string
  14516. remaindays:
  14517. description: 剩余天数
  14518. type: integer
  14519. remark:
  14520. description: 错误备注
  14521. type: string
  14522. starttime:
  14523. description: 开始日期
  14524. type: string
  14525. stepamount:
  14526. description: 步骤金额
  14527. type: number
  14528. stepdays:
  14529. description: 距离上一步天数(分钟)
  14530. type: integer
  14531. stepindex:
  14532. description: 步骤序号
  14533. type: integer
  14534. steplanchtype:
  14535. description: 步骤启动类型 - 1:系统自动 2:手动
  14536. type: integer
  14537. stepremark:
  14538. description: 步骤备注
  14539. type: string
  14540. stepstatus:
  14541. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14542. type: integer
  14543. steptypeid:
  14544. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14545. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14546. type: integer
  14547. steptypename:
  14548. description: 步骤名称
  14549. type: string
  14550. stepvalue:
  14551. description: 步骤值
  14552. type: number
  14553. warehouseid:
  14554. description: 仓库ID
  14555. type: integer
  14556. warehousename:
  14557. description: 仓库名称
  14558. type: string
  14559. wrfactortypeid:
  14560. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14561. type: string
  14562. wrfactortypename:
  14563. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14564. type: string
  14565. wrstandardcode:
  14566. description: 现货商品代码
  14567. type: string
  14568. wrstandardid:
  14569. description: 现货商品ID
  14570. type: integer
  14571. wrstandardname:
  14572. description: 商品名称
  14573. type: string
  14574. wrtypename:
  14575. description: 商品
  14576. type: string
  14577. type: object
  14578. models.WrPosition:
  14579. properties:
  14580. accountid:
  14581. description: 帐户ID
  14582. type: integer
  14583. buyexcuteqty:
  14584. description: 采购履约中数量
  14585. type: number
  14586. creditcurqty:
  14587. description: 授信当前数量(预售仓单:预售当前量)
  14588. type: number
  14589. creditenableqty:
  14590. description: '授信可用数量(预售仓单: 可用数量)'
  14591. type: number
  14592. creditfreezeqty:
  14593. description: '授信冻结数量(预售仓单: 当前数量)'
  14594. type: number
  14595. credittotalqty:
  14596. description: 授信总数量(预售仓单:预售总量)
  14597. type: number
  14598. credittradeqty:
  14599. description: 授信成交数量(预售仓单:成交总量)
  14600. type: number
  14601. deliverygoodscode:
  14602. description: 品种代码
  14603. type: string
  14604. deliverygoodsid:
  14605. description: 品种ID
  14606. type: integer
  14607. deliverygoodsname:
  14608. description: 品种名称
  14609. type: string
  14610. enalbeqty:
  14611. description: 可用数量
  14612. type: number
  14613. enumdicname:
  14614. description: 单位名称
  14615. type: string
  14616. freezeqty:
  14617. description: 总冻结数量
  14618. type: number
  14619. haswr:
  14620. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14621. type: integer
  14622. minivalue:
  14623. description: 现货商品最小变动值
  14624. type: integer
  14625. modifytime:
  14626. description: 修改时间(过户时间)
  14627. type: string
  14628. optioncompare:
  14629. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14630. type: string
  14631. pledgeqty:
  14632. description: 质押数量
  14633. type: number
  14634. querytype:
  14635. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  14636. type: integer
  14637. sellexcuteqty:
  14638. description: 销售履约中数量
  14639. type: number
  14640. totalqty:
  14641. description: 总数量(库存数量)
  14642. type: number
  14643. warehouseid:
  14644. description: 仓库ID
  14645. type: integer
  14646. warehousename:
  14647. description: 仓库名称
  14648. type: string
  14649. wrfactortypeid:
  14650. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14651. type: string
  14652. wrfactortypename:
  14653. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14654. type: string
  14655. wrpositionid:
  14656. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  14657. type: string
  14658. wrpositionno:
  14659. description: 仓单编号
  14660. type: string
  14661. wrstandardcode:
  14662. description: 现货商品代码
  14663. type: string
  14664. wrstandardid:
  14665. description: 现货商品ID
  14666. type: integer
  14667. wrstandardname:
  14668. description: 商品名称
  14669. type: string
  14670. wrtypename:
  14671. description: 商品
  14672. type: string
  14673. wruserid:
  14674. description: 持有人ID
  14675. type: integer
  14676. type: object
  14677. models.WrScfContract:
  14678. properties:
  14679. borroweruserid:
  14680. description: 借款用户ID
  14681. type: integer
  14682. buybackwrpositionqty:
  14683. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  14684. type: number
  14685. closeinterest:
  14686. description: 已结利息 -> 已结费用
  14687. type: number
  14688. currisklevel:
  14689. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14690. type: integer
  14691. deadline:
  14692. description: 截止日期(yyyyMMdd) -> 借款到期时间
  14693. type: string
  14694. deliverygoodscode:
  14695. description: 品种代码
  14696. type: string
  14697. deliverygoodsid:
  14698. description: 品种ID
  14699. type: integer
  14700. deliverygoodsname:
  14701. description: 品种名称
  14702. type: string
  14703. enumdicname:
  14704. description: 单位名称
  14705. type: string
  14706. financingdays:
  14707. description: 天数(天)
  14708. type: integer
  14709. initmargin:
  14710. description: 保证金 - [仓单回购]
  14711. type: number
  14712. interestamount:
  14713. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  14714. type: number
  14715. interestdebt:
  14716. description: 利息欠款(记录负数) -> 费用欠款
  14717. type: number
  14718. interestminlen:
  14719. description: 最小起息天数
  14720. type: integer
  14721. interestrate:
  14722. description: 利率
  14723. type: number
  14724. interestratemode:
  14725. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14726. type: integer
  14727. interestsettlemode:
  14728. description: 结息方式 - 1:按日结息 3:按月结息
  14729. type: integer
  14730. interestsettlevalue:
  14731. description: 结息方式值
  14732. type: integer
  14733. isautoloan:
  14734. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  14735. type: integer
  14736. lastcloseinterestday:
  14737. description: 最近结息日(yyyyMMdd)
  14738. type: string
  14739. lenderamount:
  14740. description: 贷款金额 -> 借款金额
  14741. type: number
  14742. lenderuserid:
  14743. description: 贷款方用户ID -> 融出方用户ID
  14744. type: integer
  14745. lenderusername:
  14746. description: 融出方
  14747. type: string
  14748. marginratio:
  14749. description: 保证金比率质押率 - [仓单质押]
  14750. type: number
  14751. marketid:
  14752. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  14753. type: integer
  14754. minivalue:
  14755. description: 现货商品最小变动值
  14756. type: integer
  14757. optioncompare:
  14758. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14759. type: string
  14760. pricemove:
  14761. description: 估值升贴水值
  14762. type: number
  14763. productdetailid:
  14764. description: 产品组合ID
  14765. type: integer
  14766. productid:
  14767. description: 金融产品ID
  14768. type: integer
  14769. productname:
  14770. description: 产品名称
  14771. type: string
  14772. remainamount:
  14773. description: 合同剩余金额 -> 剩余金额
  14774. type: number
  14775. remainwrpositionqty:
  14776. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  14777. type: number
  14778. remark:
  14779. description: 备注
  14780. type: string
  14781. scfcontractid:
  14782. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14783. type: string
  14784. scfcontractstatus:
  14785. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14786. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14787. type: integer
  14788. scfcontracttype:
  14789. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  14790. type: integer
  14791. startinterestday:
  14792. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  14793. type: string
  14794. totalinterest:
  14795. description: 已计利息 -> 已计费用
  14796. type: number
  14797. unpaidinterest:
  14798. description: 未结费用
  14799. type: number
  14800. updatetime:
  14801. description: 更新时间
  14802. type: string
  14803. warehouseid:
  14804. description: 仓库ID
  14805. type: integer
  14806. warehousename:
  14807. description: 仓库名称
  14808. type: string
  14809. wrfactortypeid:
  14810. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14811. type: string
  14812. wrfactortypename:
  14813. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14814. type: string
  14815. wrqty:
  14816. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  14817. type: number
  14818. wrstandardcode:
  14819. description: 现货商品代码
  14820. type: string
  14821. wrstandardid:
  14822. description: 现货商品ID
  14823. type: integer
  14824. wrstandardname:
  14825. description: 商品名称
  14826. type: string
  14827. wrtypename:
  14828. description: 商品
  14829. type: string
  14830. type: object
  14831. models.WrScfContractInterest:
  14832. properties:
  14833. closeinterest:
  14834. description: 已结利息
  14835. type: number
  14836. closeintereststatus:
  14837. description: 结息状态 - 1:未结 2:已结
  14838. type: integer
  14839. closetime:
  14840. description: 结息时间
  14841. type: string
  14842. closetradedate:
  14843. description: 结息交易日
  14844. type: string
  14845. creatorid:
  14846. description: 操作人ID
  14847. type: integer
  14848. dayrate:
  14849. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  14850. type: number
  14851. interest:
  14852. description: 利息
  14853. type: number
  14854. interestamount:
  14855. description: 计息金额
  14856. type: number
  14857. interestday:
  14858. description: 计息日(yyyyMMdd)
  14859. type: string
  14860. scfcontractid:
  14861. description: SCF合同ID
  14862. type: string
  14863. scfcontractinterestid:
  14864. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  14865. type: integer
  14866. updatetime:
  14867. description: 更新时间
  14868. type: string
  14869. type: object
  14870. models.WrSpecialMatchOrder:
  14871. properties:
  14872. amount:
  14873. description: 金额 = 数量 * 价格
  14874. type: number
  14875. buyorsell:
  14876. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14877. type: integer
  14878. cancelqty:
  14879. description: 撤销数量
  14880. type: number
  14881. deliverygoodscode:
  14882. description: 品种代码
  14883. type: string
  14884. deliverygoodsid:
  14885. description: 品种ID
  14886. type: integer
  14887. deliverygoodsname:
  14888. description: 品种名称
  14889. type: string
  14890. enumdicname:
  14891. description: 单位名称
  14892. type: string
  14893. fixedprice:
  14894. description: 固定价格(价格)
  14895. type: number
  14896. haswr:
  14897. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14898. type: integer
  14899. marketid:
  14900. description: 市场ID
  14901. type: integer
  14902. matchuserid:
  14903. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  14904. type: integer
  14905. matchusername:
  14906. description: 指定方
  14907. type: string
  14908. minivalue:
  14909. description: 现货商品最小变动值
  14910. type: integer
  14911. optioncompare:
  14912. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14913. type: string
  14914. orderqty:
  14915. description: 委托数量
  14916. type: number
  14917. ordertime:
  14918. description: 委托时间
  14919. type: string
  14920. pricemove:
  14921. description: 升贴水(浮动价时填写) - [挂牌]
  14922. type: number
  14923. tradedate:
  14924. description: 交易日(yyyyMMdd)
  14925. type: string
  14926. tradeprice:
  14927. description: 成交价格
  14928. type: number
  14929. tradeqty:
  14930. description: 成交数量
  14931. type: number
  14932. userid:
  14933. description: 用户ID
  14934. type: integer
  14935. username:
  14936. description: 发起方
  14937. type: string
  14938. warehouseid:
  14939. description: 仓库ID
  14940. type: integer
  14941. warehousename:
  14942. description: 仓库名称
  14943. type: string
  14944. wrfactortypeid:
  14945. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14946. type: string
  14947. wrfactortypename:
  14948. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14949. type: string
  14950. wrpricetype:
  14951. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14952. type: integer
  14953. wrstandardcode:
  14954. description: 现货商品代码
  14955. type: string
  14956. wrstandardid:
  14957. description: 现货商品ID
  14958. type: integer
  14959. wrstandardname:
  14960. description: 商品名称
  14961. type: string
  14962. wrtradeorderid:
  14963. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14964. type: string
  14965. wrtradeorderstatus:
  14966. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14967. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14968. type: integer
  14969. wrtradetype:
  14970. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14971. type: integer
  14972. wrtypename:
  14973. description: 商品
  14974. type: string
  14975. type: object
  14976. models.WrStandardFactoryItem:
  14977. properties:
  14978. dgfactoryitemid:
  14979. description: 选择项id
  14980. type: integer
  14981. dgfactoryitemvalue:
  14982. description: 要素项值
  14983. type: string
  14984. warehouseid:
  14985. description: 仓库id
  14986. type: integer
  14987. type: object
  14988. models.WrStandardFactoryItemEx:
  14989. properties:
  14990. dgfactoryitemtypeid:
  14991. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  14992. type: integer
  14993. itemlst:
  14994. description: 要素项列表
  14995. items:
  14996. $ref: '#/definitions/models.WrStandardFactoryItem'
  14997. type: array
  14998. itemtypename:
  14999. description: 要素项类型名称
  15000. type: string
  15001. wrstandardid:
  15002. description: 品类
  15003. type: integer
  15004. type: object
  15005. models.WrTradeDetail:
  15006. properties:
  15007. accountid:
  15008. description: 资金账号
  15009. type: integer
  15010. buyorsell:
  15011. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15012. type: integer
  15013. deliverygoodscode:
  15014. description: 品种代码
  15015. type: string
  15016. deliverygoodsid:
  15017. description: 品种ID
  15018. type: integer
  15019. deliverygoodsname:
  15020. description: 品种名称
  15021. type: string
  15022. deliverymonth:
  15023. description: 交收月
  15024. type: string
  15025. enumdicname:
  15026. description: 单位名称
  15027. type: string
  15028. haswr:
  15029. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15030. type: integer
  15031. marketid:
  15032. description: 市场ID
  15033. type: integer
  15034. matchaccountid:
  15035. description: 对手账号
  15036. type: integer
  15037. matchusername:
  15038. description: 对手方
  15039. type: string
  15040. minivalue:
  15041. description: 现货商品最小变动值
  15042. type: integer
  15043. optioncompare:
  15044. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15045. type: string
  15046. tradedate:
  15047. description: 交易日(yyyyMMdd)
  15048. type: string
  15049. tradeprice:
  15050. description: 成交价格
  15051. type: number
  15052. tradeqty:
  15053. description: 成交数量
  15054. type: number
  15055. tradetime:
  15056. description: 成交时间
  15057. type: string
  15058. userid:
  15059. description: 用户ID
  15060. type: integer
  15061. warehouseid:
  15062. description: 仓库ID
  15063. type: integer
  15064. warehousename:
  15065. description: 仓库名称
  15066. type: string
  15067. wrfactortypeid:
  15068. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15069. type: string
  15070. wrfactortypename:
  15071. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15072. type: string
  15073. wrstandardcode:
  15074. description: 现货商品代码
  15075. type: string
  15076. wrstandardid:
  15077. description: 现货商品ID
  15078. type: integer
  15079. wrstandardname:
  15080. description: 商品名称
  15081. type: string
  15082. wrtradedetailid:
  15083. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15084. type: string
  15085. wrtradetype:
  15086. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15087. type: integer
  15088. wrtypename:
  15089. description: 商品
  15090. type: string
  15091. type: object
  15092. models.WrTypeItem:
  15093. properties:
  15094. name:
  15095. description: 名称
  15096. type: string
  15097. value:
  15098. description: 值
  15099. type: string
  15100. type: object
  15101. order.QueryHisTradeDetailRsp:
  15102. properties:
  15103. accountid:
  15104. description: 账户ID[报价币种]
  15105. type: integer
  15106. advanceratio:
  15107. description: 首付比率
  15108. type: number
  15109. buildtype:
  15110. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15111. type: integer
  15112. buyorsell:
  15113. description: 方向 - 0:买 1:卖
  15114. type: integer
  15115. charge:
  15116. description: 手续费
  15117. type: number
  15118. closecharge:
  15119. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15120. type: number
  15121. closeexchagechargevalue:
  15122. description: 平仓交易所手续费设置值
  15123. type: number
  15124. closefeealgorithm:
  15125. description: 平仓手续费收取方式 1:比率 2:固定
  15126. type: integer
  15127. closememberchargevalue:
  15128. description: 平仓会员手续费设置值
  15129. type: number
  15130. closepl:
  15131. description: 平仓盈亏
  15132. type: number
  15133. closepl2:
  15134. description: 平仓盈亏[逐笔]
  15135. type: number
  15136. closeqty:
  15137. description: 平仓数量(先建后平操作 需要记录)
  15138. type: number
  15139. creditamount:
  15140. description: 授信金额
  15141. type: number
  15142. decimalplace:
  15143. description: 商品报价小数位
  15144. type: integer
  15145. enumdicname:
  15146. description: 单位名称
  15147. type: string
  15148. gcaccountid:
  15149. description: 账户ID[合约币种]
  15150. type: integer
  15151. goodscode:
  15152. description: 商品代码
  15153. type: string
  15154. goodsid:
  15155. description: 商品ID
  15156. type: integer
  15157. goodsname:
  15158. description: 商品名称
  15159. type: string
  15160. goodunitid:
  15161. description: 商品单位id
  15162. type: integer
  15163. histradedate:
  15164. description: 历史交易日
  15165. type: string
  15166. intclosepl:
  15167. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15168. type: integer
  15169. isconfirmexercise:
  15170. description: 是否确认行权- 0:否 1:是
  15171. type: integer
  15172. ismain:
  15173. description: 是否主单 - 0:不是 1:是
  15174. type: integer
  15175. ispreexercise:
  15176. description: 是否预申报- 0:否 1:是
  15177. type: integer
  15178. isreckoned:
  15179. description: 是否结算 - 0:未结算 1:已结算
  15180. type: integer
  15181. isvaliddata:
  15182. description: 是否有效 - 0:无效 1:有效
  15183. type: integer
  15184. listingselecttype:
  15185. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15186. type: integer
  15187. marketid:
  15188. description: 市场ID
  15189. type: integer
  15190. marketname:
  15191. description: 市场名称
  15192. type: string
  15193. matchaccountid:
  15194. description: 对手账号id
  15195. type: integer
  15196. memberuserid:
  15197. description: 会员id 个人投资者 需要填写
  15198. type: integer
  15199. opencharge:
  15200. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15201. type: number
  15202. openexchagechargevalue:
  15203. description: 建仓交易所手续费设置值
  15204. type: number
  15205. openfeealgorithm:
  15206. description: 建仓手续费收取方式 1:比率 2:固定
  15207. type: integer
  15208. openmemberchargevalue:
  15209. description: 建仓会员手续费设置值
  15210. type: number
  15211. openqty:
  15212. description: 开仓数量(先建后平操作 需要记录)
  15213. type: number
  15214. optiontype:
  15215. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15216. type: integer
  15217. orderid:
  15218. description: 委托单号
  15219. type: string
  15220. payamount:
  15221. description: 支付金额(付款金额)
  15222. type: number
  15223. performanceplanid:
  15224. description: 履约计划ID[期权]
  15225. type: integer
  15226. performancestatus:
  15227. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15228. type: integer
  15229. preexerciseprice:
  15230. description: 预申报价格
  15231. type: number
  15232. premium:
  15233. description: 权利金 - [持仓单的权利金]
  15234. type: number
  15235. qtydecimalplace:
  15236. description: 商品报价小数位
  15237. type: integer
  15238. recvamount:
  15239. description: 到账金额 = 成交金额 - 手续费
  15240. type: number
  15241. relatedouttradeid:
  15242. description: 关联外部成交单ID
  15243. type: integer
  15244. status:
  15245. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15246. type: integer
  15247. totalamount:
  15248. description: 订单总额 = 成交金额 + 手续费
  15249. type: number
  15250. tradeamount:
  15251. description: 成交金额[账户币种,用于所有权]
  15252. type: number
  15253. tradedate:
  15254. description: 交易日(yyyyMMdd)
  15255. type: string
  15256. tradeid:
  15257. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15258. type: string
  15259. trademode:
  15260. description: 交易模式
  15261. type: integer
  15262. tradeprice:
  15263. description: 成交价格
  15264. type: number
  15265. tradeproperty:
  15266. description: 交易属性
  15267. type: integer
  15268. tradeqty:
  15269. description: 成交数量
  15270. type: number
  15271. tradetime:
  15272. description: 成交时间
  15273. type: string
  15274. tradetype:
  15275. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15276. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15277. type: integer
  15278. required:
  15279. - accountid
  15280. - buyorsell
  15281. - goodsid
  15282. - histradedate
  15283. - marketid
  15284. - memberuserid
  15285. - orderid
  15286. - tradeamount
  15287. - tradedate
  15288. - tradeid
  15289. - tradeprice
  15290. - tradeqty
  15291. - tradetime
  15292. type: object
  15293. order.QueryHisTradeOrderDetailRsp:
  15294. properties:
  15295. accountid:
  15296. description: 账户ID[报价币种]
  15297. type: integer
  15298. buildtype:
  15299. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15300. type: integer
  15301. buyorsell:
  15302. description: 买卖 - 0:买 1:卖
  15303. type: integer
  15304. cancelorderid:
  15305. description: 撤单单号(撤单时填写)
  15306. type: string
  15307. cancelqty:
  15308. description: 撤单数量
  15309. type: number
  15310. clientordertime:
  15311. description: 客户端委托时间
  15312. type: string
  15313. clientticket:
  15314. description: 客户端流水号
  15315. type: string
  15316. clienttype:
  15317. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15318. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15319. type: integer
  15320. closeexchagechargevalue:
  15321. description: 平仓交易所手续费设置值
  15322. type: number
  15323. closefeealgorithm:
  15324. description: 平仓手续费收取方式 1:比率 2:固定
  15325. type: integer
  15326. closefreezecharge:
  15327. description: 平仓冻结手续费(先建后平操作,需要记录)
  15328. type: number
  15329. closememberchargevalue:
  15330. description: 平仓会员手续费设置值
  15331. type: number
  15332. closeqty:
  15333. description: 平仓数量(先建后平操作 需要记录)
  15334. type: number
  15335. closetradeqty:
  15336. description: 平仓成交数量(先建后平操作,需要记录)
  15337. type: number
  15338. closeunfreezecharge:
  15339. description: 平仓解冻手续费(先建后平操作,需要记录)
  15340. type: number
  15341. decimalplace:
  15342. description: 商品报价小数位
  15343. type: integer
  15344. delistingtype:
  15345. description: 摘牌类型 - 1:价格最优 2:点选成交
  15346. type: integer
  15347. enumdicname:
  15348. description: 单位名称
  15349. type: string
  15350. freezecharge:
  15351. description: 冻结手续费
  15352. type: number
  15353. freezemargin:
  15354. description: 冻结保证金(冻结交易金额)
  15355. type: number
  15356. gcaccountid:
  15357. description: 账户ID[合约币种]
  15358. type: integer
  15359. goodscode:
  15360. description: 商品代码
  15361. type: string
  15362. goodsid:
  15363. description: 商品ID
  15364. type: integer
  15365. goodsname:
  15366. description: 商品名称
  15367. type: string
  15368. goodunitid:
  15369. description: 商品单位id
  15370. type: integer
  15371. histradedate:
  15372. description: 历史交易日
  15373. type: string
  15374. isconfirmexercise:
  15375. description: 是否确认行权- 0:否 1:是
  15376. type: integer
  15377. ispreexercise:
  15378. description: 是否预申报- 0:否 1:是
  15379. type: integer
  15380. isvaliddata:
  15381. description: 是否有效 - 0:无效 1:有效
  15382. type: integer
  15383. listingselecttype:
  15384. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15385. type: integer
  15386. marginalgorithm:
  15387. description: 保证金收取方式 1:比率 2:固定
  15388. type: integer
  15389. marginvalue:
  15390. description: 即市保证金设置值
  15391. type: number
  15392. marketid:
  15393. description: 市场ID
  15394. type: integer
  15395. marketmaxsub:
  15396. description: 市价最大偏移范围
  15397. type: number
  15398. marketname:
  15399. description: 市场名称
  15400. type: string
  15401. memberuserid:
  15402. description: 所属会员UserID
  15403. type: integer
  15404. openexchagechargevalue:
  15405. description: 建仓交易所手续费设置值
  15406. type: number
  15407. openfeealgorithm:
  15408. description: 建仓手续费收取方式 1:比率 2:固定
  15409. type: integer
  15410. openfreezecharge:
  15411. description: 开仓冻结手续费(先建后平操作,需要记录)
  15412. type: number
  15413. openmemberchargevalue:
  15414. description: 建仓会员手续费设置值
  15415. type: number
  15416. openqty:
  15417. description: 开仓数量(先建后平操作,需要记录)
  15418. type: number
  15419. opentradeqty:
  15420. description: 开仓成交数量(先建后平操作,需要记录)
  15421. type: number
  15422. openunfreezecharge:
  15423. description: 开仓解冻手续费(先建后平操作,需要记录)
  15424. type: number
  15425. operatetype:
  15426. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15427. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15428. 15:管理端协议转让
  15429. type: integer
  15430. operatorid:
  15431. description: 登录账号(LoginID)
  15432. type: integer
  15433. optiontype:
  15434. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15435. type: integer
  15436. orderid:
  15437. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15438. type: string
  15439. orderprice:
  15440. description: 委托价格
  15441. type: number
  15442. orderqty:
  15443. description: 委托数量
  15444. type: number
  15445. ordersrc:
  15446. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15447. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15448. type: integer
  15449. orderstatus:
  15450. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15451. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15452. 16:成交失败违约(荷兰式竞拍专用)
  15453. type: integer
  15454. ordertime:
  15455. description: 委托时间
  15456. type: string
  15457. preexerciseprice:
  15458. description: 预申报价格
  15459. type: number
  15460. premium:
  15461. description: 权利金
  15462. type: number
  15463. preorderid:
  15464. description: 关联预埋单号(止盈止损单时填写)
  15465. type: string
  15466. pricemode:
  15467. description: '取价方式 - 1:市价 2: 限价'
  15468. type: integer
  15469. qtydecimalplace:
  15470. description: 成交量小数位
  15471. type: integer
  15472. quoteid:
  15473. description: 报价单ID
  15474. type: integer
  15475. relatedid:
  15476. description: 关联单号(交割单)
  15477. type: string
  15478. retcode:
  15479. description: 错误代码
  15480. type: integer
  15481. sessionid:
  15482. description: 会话ID
  15483. type: integer
  15484. tradedate:
  15485. description: 交易日(yyyyMMdd)
  15486. type: string
  15487. trademode:
  15488. description: 交易模式
  15489. type: integer
  15490. tradeproperty:
  15491. description: 交易属性
  15492. type: integer
  15493. tradeqty:
  15494. description: 成交数量
  15495. type: number
  15496. unfreezecharge:
  15497. description: 解冻手续费
  15498. type: number
  15499. unfreezemargin:
  15500. description: 解冻保证金
  15501. type: number
  15502. updatetime:
  15503. description: 更新时间
  15504. type: string
  15505. uuid:
  15506. description: 发起端唯一id
  15507. type: string
  15508. validtime:
  15509. description: 有效期限
  15510. type: string
  15511. validtype:
  15512. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15513. type: integer
  15514. volumetype:
  15515. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15516. type: integer
  15517. required:
  15518. - accountid
  15519. - buildtype
  15520. - buyorsell
  15521. - goodsid
  15522. - histradedate
  15523. - marketid
  15524. - memberuserid
  15525. - operatetype
  15526. - orderid
  15527. - orderqty
  15528. - ordertime
  15529. - pricemode
  15530. - tradedate
  15531. - validtype
  15532. type: object
  15533. order.QueryTradeDetailRsp:
  15534. properties:
  15535. accountid:
  15536. description: 账户ID[报价币种]
  15537. type: integer
  15538. advanceratio:
  15539. description: 首付比率
  15540. type: number
  15541. buildtype:
  15542. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15543. type: integer
  15544. buyorsell:
  15545. description: 方向 - 0:买 1:卖
  15546. type: integer
  15547. charge:
  15548. description: 手续费
  15549. type: number
  15550. closecharge:
  15551. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15552. type: number
  15553. closeexchagechargevalue:
  15554. description: 平仓交易所手续费设置值
  15555. type: number
  15556. closefeealgorithm:
  15557. description: 平仓手续费收取方式 1:比率 2:固定
  15558. type: integer
  15559. closememberchargevalue:
  15560. description: 平仓会员手续费设置值
  15561. type: number
  15562. closepl:
  15563. description: 平仓盈亏
  15564. type: number
  15565. closepl2:
  15566. description: 平仓盈亏[逐笔]
  15567. type: number
  15568. closeqty:
  15569. description: 平仓数量(先建后平操作 需要记录)
  15570. type: number
  15571. creditamount:
  15572. description: 授信金额
  15573. type: number
  15574. decimalplace:
  15575. description: 商品报价小数位
  15576. type: integer
  15577. enumdicname:
  15578. description: 单位名称
  15579. type: string
  15580. gcaccountid:
  15581. description: 账户ID[合约币种]
  15582. type: integer
  15583. goodscode:
  15584. description: 商品代码
  15585. type: string
  15586. goodsid:
  15587. description: 商品ID
  15588. type: integer
  15589. goodsname:
  15590. description: 商品名称
  15591. type: string
  15592. goodunitid:
  15593. description: 商品单位id
  15594. type: integer
  15595. intclosepl:
  15596. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15597. type: integer
  15598. isconfirmexercise:
  15599. description: 是否确认行权- 0:否 1:是
  15600. type: integer
  15601. ismain:
  15602. description: 是否主单 - 0:不是 1:是
  15603. type: integer
  15604. ispreexercise:
  15605. description: 是否预申报- 0:否 1:是
  15606. type: integer
  15607. isreckoned:
  15608. description: 是否结算 - 0:未结算 1:已结算
  15609. type: integer
  15610. listingselecttype:
  15611. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15612. type: integer
  15613. marketid:
  15614. description: 市场ID
  15615. type: integer
  15616. marketname:
  15617. description: 市场名称
  15618. type: string
  15619. matchaccountid:
  15620. description: 对手账号id
  15621. type: integer
  15622. memberuserid:
  15623. description: 会员id 个人投资者 需要填写
  15624. type: integer
  15625. opencharge:
  15626. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15627. type: number
  15628. openexchagechargevalue:
  15629. description: 建仓交易所手续费设置值
  15630. type: number
  15631. openfeealgorithm:
  15632. description: 建仓手续费收取方式 1:比率 2:固定
  15633. type: integer
  15634. openmemberchargevalue:
  15635. description: 建仓会员手续费设置值
  15636. type: number
  15637. openqty:
  15638. description: 开仓数量(先建后平操作 需要记录)
  15639. type: number
  15640. optiontype:
  15641. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15642. type: integer
  15643. orderid:
  15644. description: 委托单号
  15645. type: string
  15646. payamount:
  15647. description: 支付金额(付款金额)
  15648. type: number
  15649. performanceplanid:
  15650. description: 履约计划ID[期权]
  15651. type: integer
  15652. performancestatus:
  15653. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15654. type: integer
  15655. preexerciseprice:
  15656. description: 预申报价格
  15657. type: number
  15658. premium:
  15659. description: 权利金 - [持仓单的权利金]
  15660. type: number
  15661. qtydecimalplace:
  15662. description: 商品报价小数位
  15663. type: integer
  15664. recvamount:
  15665. description: 到账金额 = 成交金额 - 手续费
  15666. type: number
  15667. relatedouttradeid:
  15668. description: 关联外部成交单ID
  15669. type: integer
  15670. status:
  15671. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15672. type: integer
  15673. totalamount:
  15674. description: 订单总额 = 成交金额 + 手续费
  15675. type: number
  15676. tradeamount:
  15677. description: 成交金额[账户币种,用于所有权]
  15678. type: number
  15679. tradedate:
  15680. description: 交易日(yyyyMMdd)
  15681. type: string
  15682. tradeid:
  15683. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15684. type: string
  15685. trademode:
  15686. description: 交易模式
  15687. type: integer
  15688. tradeprice:
  15689. description: 成交价格
  15690. type: number
  15691. tradeproperty:
  15692. description: 交易属性
  15693. type: integer
  15694. tradeqty:
  15695. description: 成交数量
  15696. type: number
  15697. tradetime:
  15698. description: 成交时间
  15699. type: string
  15700. tradetype:
  15701. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15702. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15703. type: integer
  15704. required:
  15705. - accountid
  15706. - buyorsell
  15707. - goodsid
  15708. - marketid
  15709. - memberuserid
  15710. - orderid
  15711. - tradeamount
  15712. - tradedate
  15713. - tradeid
  15714. - tradeprice
  15715. - tradeqty
  15716. - tradetime
  15717. type: object
  15718. order.QueryTradeOrderDetailRsp:
  15719. properties:
  15720. accountid:
  15721. description: 账户ID[报价币种]
  15722. type: integer
  15723. buildtype:
  15724. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15725. type: integer
  15726. buyorsell:
  15727. description: 买卖 - 0:买 1:卖
  15728. type: integer
  15729. cancelorderid:
  15730. description: 撤单单号(撤单时填写)
  15731. type: string
  15732. cancelqty:
  15733. description: 撤单数量
  15734. type: number
  15735. clienttype:
  15736. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15737. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15738. type: integer
  15739. closefreezecharge:
  15740. description: 平仓冻结手续费(先建后平操作,需要记录)
  15741. type: number
  15742. closeqty:
  15743. description: 平仓数量(先建后平操作 需要记录)
  15744. type: number
  15745. closetradeqty:
  15746. description: 平仓成交数量(先建后平操作,需要记录)
  15747. type: number
  15748. closeunfreezecharge:
  15749. description: 平仓解冻手续费(先建后平操作,需要记录)
  15750. type: number
  15751. decimalplace:
  15752. description: 商品报价小数位
  15753. type: integer
  15754. delistingtype:
  15755. description: 摘牌类型 - 1:价格最优 2:点选成交
  15756. type: integer
  15757. enableqty:
  15758. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  15759. type: number
  15760. enumdicname:
  15761. description: 单位名称
  15762. type: string
  15763. freezecharge:
  15764. description: 冻结手续费
  15765. type: number
  15766. freezemargin:
  15767. description: 冻结保证金(冻结交易金额)
  15768. type: number
  15769. goodscode:
  15770. description: 商品代码
  15771. type: string
  15772. goodsid:
  15773. description: 商品ID
  15774. type: integer
  15775. goodsname:
  15776. description: 商品名称
  15777. type: string
  15778. goodunitid:
  15779. description: 商品单位id
  15780. type: integer
  15781. listingselecttype:
  15782. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15783. type: integer
  15784. marketid:
  15785. description: 市场ID
  15786. type: integer
  15787. marketname:
  15788. description: 市场名称
  15789. type: string
  15790. openfreezecharge:
  15791. description: 开仓冻结手续费(先建后平操作,需要记录)
  15792. type: number
  15793. openqty:
  15794. description: 开仓数量(先建后平操作,需要记录)
  15795. type: number
  15796. opentradeqty:
  15797. description: 开仓成交数量(先建后平操作,需要记录)
  15798. type: number
  15799. openunfreezecharge:
  15800. description: 开仓解冻手续费(先建后平操作,需要记录)
  15801. type: number
  15802. operatetype:
  15803. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15804. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15805. 15:管理端协议转让
  15806. type: integer
  15807. operatorid:
  15808. description: 登录账号(LoginID)
  15809. type: integer
  15810. orderid:
  15811. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15812. type: string
  15813. orderprice:
  15814. description: 委托价格
  15815. type: number
  15816. orderqty:
  15817. description: 委托数量
  15818. type: number
  15819. ordersrc:
  15820. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15821. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15822. type: integer
  15823. orderstatus:
  15824. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15825. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15826. 16:成交失败违约(荷兰式竞拍专用)
  15827. type: integer
  15828. ordertime:
  15829. description: 委托时间
  15830. type: string
  15831. preorderid:
  15832. description: 关联预埋单号(止盈止损单时填写)
  15833. type: string
  15834. pricemode:
  15835. description: '取价方式 - 1:市价 2: 限价'
  15836. type: integer
  15837. qtydecimalplace:
  15838. description: 商品报价小数位
  15839. type: integer
  15840. relatedid:
  15841. description: 关联单号(交割单)
  15842. type: string
  15843. tradedate:
  15844. description: 交易日(yyyyMMdd)
  15845. type: string
  15846. trademode:
  15847. description: 交易模式
  15848. type: integer
  15849. tradeqty:
  15850. description: 成交数量
  15851. type: number
  15852. unfreezecharge:
  15853. description: 解冻手续费
  15854. type: number
  15855. unfreezemargin:
  15856. description: 解冻保证金
  15857. type: number
  15858. validtime:
  15859. description: 有效期限
  15860. type: string
  15861. validtype:
  15862. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15863. type: integer
  15864. volumetype:
  15865. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15866. type: integer
  15867. required:
  15868. - accountid
  15869. - buildtype
  15870. - buyorsell
  15871. - goodsid
  15872. - marketid
  15873. - operatetype
  15874. - orderqty
  15875. - ordertime
  15876. - pricemode
  15877. - tradedate
  15878. - validtype
  15879. type: object
  15880. order.QueryTradePositionRsp:
  15881. properties:
  15882. accountid:
  15883. description: 资金账户
  15884. type: integer
  15885. agreeunit:
  15886. description: 合约单位
  15887. type: number
  15888. averageprice:
  15889. description: 持仓均价
  15890. type: number
  15891. buyorsell:
  15892. description: 方向 - 0:买 1:卖
  15893. type: integer
  15894. closetotalqty:
  15895. description: 平仓总数量
  15896. type: number
  15897. curholderamount:
  15898. description: 当前持仓总金额[商品币种]
  15899. type: number
  15900. curpositionqty:
  15901. description: 当前持仓总数量
  15902. type: number
  15903. currencyid:
  15904. description: 报价货币ID
  15905. type: integer
  15906. curtdposition:
  15907. description: 期末今日头寸
  15908. type: number
  15909. decimalplace:
  15910. description: 报价小数位
  15911. type: integer
  15912. enableqty:
  15913. description: 可用量
  15914. type: number
  15915. fretdposition:
  15916. description: 冻结今日头寸
  15917. type: number
  15918. frozenqty:
  15919. description: 持仓冻结数量
  15920. type: number
  15921. goodscode:
  15922. description: 商品代码
  15923. type: string
  15924. goodsid:
  15925. description: 商品Id
  15926. type: integer
  15927. goodsname:
  15928. description: 商品名称
  15929. type: string
  15930. goodunit:
  15931. description: 报价单位
  15932. type: string
  15933. goodunitid:
  15934. description: 报价单位ID
  15935. type: integer
  15936. holderamount:
  15937. description: 期初持仓总金额[商品币种]
  15938. type: number
  15939. lastprice:
  15940. description: 最新价
  15941. type: number
  15942. marketamount:
  15943. description: 市值
  15944. type: number
  15945. marketid:
  15946. description: 所属市场ID
  15947. type: integer
  15948. openreqqty:
  15949. description: 开仓申请数量(用于比较最大持仓数量)
  15950. type: number
  15951. opentotalqty:
  15952. description: 开仓总数量
  15953. type: number
  15954. otherfrozenqty:
  15955. description: 持仓其他冻结数量(交割冻结)
  15956. type: number
  15957. positionpl:
  15958. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  15959. * 合约单位
  15960. type: number
  15961. positionplrate:
  15962. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  15963. type: number
  15964. positionqty:
  15965. description: 期初持仓数量
  15966. type: number
  15967. qtydecimalplace:
  15968. description: 成交量小数位
  15969. type: integer
  15970. tnqty:
  15971. description: T+N冻结总量
  15972. type: number
  15973. tnusedqty:
  15974. description: T+N使用量(可以使用T+N的冻结数量)
  15975. type: number
  15976. trademode:
  15977. description: 交易模式
  15978. type: integer
  15979. usedmargin:
  15980. description: 占用保证金[商品币种]
  15981. type: number
  15982. required:
  15983. - goodsid
  15984. type: object
  15985. quote.HistoryData:
  15986. properties:
  15987. c:
  15988. description: 收盘价
  15989. type: number
  15990. f:
  15991. description: 是否补充数据
  15992. type: boolean
  15993. h:
  15994. description: 最高价
  15995. type: number
  15996. hv:
  15997. description: 持仓量
  15998. type: integer
  15999. l:
  16000. description: 最低价
  16001. type: number
  16002. o:
  16003. description: 开盘价
  16004. type: number
  16005. s:
  16006. description: 结算价,日线周期(包括)以上才有
  16007. type: number
  16008. ts:
  16009. description: 时间
  16010. type: string
  16011. tt:
  16012. description: 总金额
  16013. type: number
  16014. tv:
  16015. description: 总量
  16016. type: integer
  16017. type: object
  16018. quote.HistoryTikData:
  16019. properties:
  16020. AV:
  16021. description: 卖量
  16022. type: integer
  16023. Ask:
  16024. description: 卖价
  16025. type: number
  16026. BV:
  16027. description: 买量
  16028. type: integer
  16029. Bid:
  16030. description: 买价
  16031. type: number
  16032. HI:
  16033. description: 单笔持仓
  16034. type: integer
  16035. HV:
  16036. description: 持仓量
  16037. type: integer
  16038. PE:
  16039. description: 现价
  16040. type: number
  16041. TDR:
  16042. description: 交易方向,0:买 1:卖
  16043. type: integer
  16044. TK:
  16045. description: 交易类型
  16046. type: integer
  16047. TS:
  16048. description: 行情时间文本
  16049. type: string
  16050. TT:
  16051. description: 现金额
  16052. type: number
  16053. Vol:
  16054. description: 现量
  16055. type: integer
  16056. type: object
  16057. quote.QueryQuoteDayRsp:
  16058. properties:
  16059. ask:
  16060. description: 卖1
  16061. type: number
  16062. ask2:
  16063. description: 卖2
  16064. type: number
  16065. ask3:
  16066. description: 卖3
  16067. type: number
  16068. ask4:
  16069. description: 卖4
  16070. type: number
  16071. ask5:
  16072. description: 卖5
  16073. type: number
  16074. ask6:
  16075. description: 卖6
  16076. type: number
  16077. ask7:
  16078. description: 卖7
  16079. type: number
  16080. ask8:
  16081. description: 卖8
  16082. type: number
  16083. ask9:
  16084. description: 卖9
  16085. type: number
  16086. ask10:
  16087. description: 卖10
  16088. type: number
  16089. askorderid:
  16090. description: 卖单号1
  16091. type: integer
  16092. askorderid2:
  16093. description: 卖单号2
  16094. type: integer
  16095. askorderid3:
  16096. description: 卖单号3
  16097. type: integer
  16098. askorderid4:
  16099. description: 卖单号4
  16100. type: integer
  16101. askorderid5:
  16102. description: 卖单号5
  16103. type: integer
  16104. askordervolume:
  16105. description: 卖单量1
  16106. type: integer
  16107. askordervolume2:
  16108. description: 卖单量2
  16109. type: integer
  16110. askordervolume3:
  16111. description: 卖单量3
  16112. type: integer
  16113. askordervolume4:
  16114. description: 卖单量4
  16115. type: integer
  16116. askordervolume5:
  16117. description: 卖单量5
  16118. type: integer
  16119. askordervolume6:
  16120. description: 卖单量6
  16121. type: integer
  16122. askordervolume7:
  16123. description: 卖单量7
  16124. type: integer
  16125. askordervolume8:
  16126. description: 卖单量8
  16127. type: integer
  16128. askordervolume9:
  16129. description: 卖单量9
  16130. type: integer
  16131. askordervolume10:
  16132. description: 卖单量10
  16133. type: integer
  16134. askqueueinfo:
  16135. description: 大利市卖港股用
  16136. type: string
  16137. askvolume:
  16138. description: 卖量1
  16139. type: integer
  16140. askvolume2:
  16141. description: 卖量2
  16142. type: integer
  16143. askvolume3:
  16144. description: 卖量3
  16145. type: integer
  16146. askvolume4:
  16147. description: 卖量4
  16148. type: integer
  16149. askvolume5:
  16150. description: 卖量5
  16151. type: integer
  16152. askvolume6:
  16153. description: 卖量6
  16154. type: integer
  16155. askvolume7:
  16156. description: 卖量7
  16157. type: integer
  16158. askvolume8:
  16159. description: 卖量8
  16160. type: integer
  16161. askvolume9:
  16162. description: 卖量9
  16163. type: integer
  16164. askvolume10:
  16165. description: 卖量10
  16166. type: integer
  16167. averageprice:
  16168. description: 均价
  16169. type: number
  16170. bid:
  16171. description: 买1
  16172. type: number
  16173. bid2:
  16174. description: 买2
  16175. type: number
  16176. bid3:
  16177. description: 买3
  16178. type: number
  16179. bid4:
  16180. description: 买4
  16181. type: number
  16182. bid5:
  16183. description: 买5
  16184. type: number
  16185. bid6:
  16186. description: 买6
  16187. type: number
  16188. bid7:
  16189. description: 买7
  16190. type: number
  16191. bid8:
  16192. description: 买8
  16193. type: number
  16194. bid9:
  16195. description: 买9
  16196. type: number
  16197. bid10:
  16198. description: 买10
  16199. type: number
  16200. bidorderid:
  16201. description: 买单号1
  16202. type: integer
  16203. bidorderid2:
  16204. description: 买单号2
  16205. type: integer
  16206. bidorderid3:
  16207. description: 买单号3
  16208. type: integer
  16209. bidorderid4:
  16210. description: 买单号4
  16211. type: integer
  16212. bidorderid5:
  16213. description: 买单号5
  16214. type: integer
  16215. bidordervolume:
  16216. description: 买单量1
  16217. type: integer
  16218. bidordervolume2:
  16219. description: 买单量2
  16220. type: integer
  16221. bidordervolume3:
  16222. description: 买单量3
  16223. type: integer
  16224. bidordervolume4:
  16225. description: 买单量4
  16226. type: integer
  16227. bidordervolume5:
  16228. description: 买单量5
  16229. type: integer
  16230. bidordervolume6:
  16231. description: 买单量6
  16232. type: integer
  16233. bidordervolume7:
  16234. description: 买单量7
  16235. type: integer
  16236. bidordervolume8:
  16237. description: 买单量8
  16238. type: integer
  16239. bidordervolume9:
  16240. description: 买单量9
  16241. type: integer
  16242. bidordervolume10:
  16243. description: 买单量10
  16244. type: integer
  16245. bidqueueinfo:
  16246. description: 大利市买港股用
  16247. type: string
  16248. bidvolume:
  16249. description: 买量1
  16250. type: integer
  16251. bidvolume2:
  16252. description: 买量2
  16253. type: integer
  16254. bidvolume3:
  16255. description: 买量3
  16256. type: integer
  16257. bidvolume4:
  16258. description: 买量4
  16259. type: integer
  16260. bidvolume5:
  16261. description: 买量5
  16262. type: integer
  16263. bidvolume6:
  16264. description: 买量6
  16265. type: integer
  16266. bidvolume7:
  16267. description: 买量7
  16268. type: integer
  16269. bidvolume8:
  16270. description: 买量8
  16271. type: integer
  16272. bidvolume9:
  16273. description: 买量9
  16274. type: integer
  16275. bidvolume10:
  16276. description: 买量10
  16277. type: integer
  16278. calloptionpremiums:
  16279. description: 认购期权1
  16280. type: integer
  16281. calloptionpremiums2:
  16282. description: 认购期权2
  16283. type: integer
  16284. calloptionpremiums3:
  16285. description: 认购期权3
  16286. type: integer
  16287. calloptionpremiums4:
  16288. description: 认购期权4
  16289. type: integer
  16290. calloptionpremiums5:
  16291. description: 认购期权5
  16292. type: integer
  16293. cleartime:
  16294. description: 清盘时间
  16295. type: integer
  16296. exchangecode:
  16297. description: 交易所代码
  16298. type: integer
  16299. exchangedate:
  16300. description: 交易日
  16301. type: integer
  16302. goodscode:
  16303. description: 商品代码
  16304. type: string
  16305. grepmarketprice:
  16306. description: 暗盘价 港股专用
  16307. type: number
  16308. highest:
  16309. description: 最高价
  16310. type: number
  16311. holdincrement:
  16312. description: 单笔持仓
  16313. type: integer
  16314. holdvolume:
  16315. description: 持仓
  16316. type: integer
  16317. iep:
  16318. description: 平衡价 港股专用
  16319. type: number
  16320. iev:
  16321. description: 平衡量 港股专用
  16322. type: number
  16323. inventory:
  16324. description: 库存
  16325. type: integer
  16326. iscleared:
  16327. description: 是否清盘标志
  16328. type: integer
  16329. issettled:
  16330. description: 是否结算标志
  16331. type: integer
  16332. last:
  16333. description: 最新价
  16334. type: number
  16335. lastlot:
  16336. description: 最新成交手数
  16337. type: integer
  16338. lasttime:
  16339. description: 行情时间(只有现价变化行情时间才变化)
  16340. type: string
  16341. lastturnover:
  16342. description: 最新成交金额
  16343. type: number
  16344. lastvolume:
  16345. description: 最新成交量
  16346. type: integer
  16347. limitdown:
  16348. description: 跌停价
  16349. type: number
  16350. limitup:
  16351. description: 涨停价
  16352. type: number
  16353. lowest:
  16354. description: 最低价
  16355. type: number
  16356. nontotalholdervolume:
  16357. description: 非交易持仓量
  16358. type: integer
  16359. nontotallot:
  16360. description: 非交易总手数
  16361. type: integer
  16362. nontotalturnover:
  16363. description: 非交易总金额
  16364. type: integer
  16365. nontotalvolume:
  16366. description: 非交易总量
  16367. type: integer
  16368. opened:
  16369. description: 开盘价
  16370. type: number
  16371. opentime:
  16372. description: 开盘时间
  16373. type: string
  16374. orderid:
  16375. description: 序号
  16376. type: integer
  16377. preclose:
  16378. description: 昨收
  16379. type: number
  16380. preholdvolume:
  16381. description: 昨持仓
  16382. type: integer
  16383. presettle:
  16384. description: 昨结价
  16385. type: number
  16386. publictradetype:
  16387. description: 公共交易标志类型 港股专用
  16388. type: string
  16389. putoptionpremiums:
  16390. description: 认沽期权1
  16391. type: integer
  16392. putoptionpremiums2:
  16393. description: 认沽期权2
  16394. type: integer
  16395. putoptionpremiums3:
  16396. description: 认沽期权3
  16397. type: integer
  16398. putoptionpremiums4:
  16399. description: 认沽期权4
  16400. type: integer
  16401. putoptionpremiums5:
  16402. description: 认沽期权5
  16403. type: integer
  16404. settle:
  16405. description: 结算价
  16406. type: number
  16407. strikeprice:
  16408. description: 发行价
  16409. type: number
  16410. totalaskvolume:
  16411. description: 内盘
  16412. type: integer
  16413. totalbidvolume:
  16414. description: 外盘
  16415. type: integer
  16416. totallot:
  16417. description: 总手数
  16418. type: integer
  16419. totalturnover:
  16420. description: 总金额
  16421. type: number
  16422. totalvolume:
  16423. description: 总量
  16424. type: integer
  16425. utclasttime:
  16426. description: utc的行情时间
  16427. type: string
  16428. type: object
  16429. quote.QueryTSDataRsp:
  16430. properties:
  16431. Count:
  16432. description: 交易日应有数据个数
  16433. type: integer
  16434. decimalPlace:
  16435. description: 小数位
  16436. type: integer
  16437. endTime:
  16438. description: 结束时间
  16439. type: string
  16440. goodsCode:
  16441. description: 商品代码
  16442. type: string
  16443. historyDatas:
  16444. description: 历史数据
  16445. items:
  16446. $ref: '#/definitions/quote.HistoryData'
  16447. type: array
  16448. outGoodsCode:
  16449. description: 外部商品代码
  16450. type: string
  16451. preSettle:
  16452. description: 昨结价
  16453. type: number
  16454. runSteps:
  16455. description: 交易日开休市计划
  16456. items:
  16457. $ref: '#/definitions/quote.TSDataRunStep'
  16458. type: array
  16459. startTime:
  16460. description: 开始时间
  16461. type: string
  16462. tradeDate:
  16463. description: 交易日
  16464. type: string
  16465. type: object
  16466. quote.TSDataRunStep:
  16467. properties:
  16468. end:
  16469. description: 真实结束时间
  16470. type: string
  16471. endflag:
  16472. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  16473. type: integer
  16474. endtime:
  16475. description: 结束时间(HH:mm)
  16476. type: string
  16477. endweekday:
  16478. description: 结束周几
  16479. type: integer
  16480. groupid:
  16481. description: 分组ID
  16482. type: integer
  16483. runstep:
  16484. description: 运行阶段 - 2:连续交易
  16485. type: integer
  16486. sectionid:
  16487. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  16488. 结束时间=结算时间 结束周几=结算周几
  16489. type: integer
  16490. start:
  16491. description: 真实开始时间
  16492. type: string
  16493. startflag:
  16494. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  16495. type: integer
  16496. starttime:
  16497. description: 起始时间(HH:mm)
  16498. type: string
  16499. startweekday:
  16500. description: 起始周几
  16501. type: integer
  16502. tradeweekday:
  16503. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  16504. type: integer
  16505. type: object
  16506. szdz.QueryConvertLogRsp:
  16507. properties:
  16508. accountid:
  16509. description: 资金账户ID
  16510. type: integer
  16511. clientticket:
  16512. description: 客户端流水号
  16513. type: string
  16514. converttype:
  16515. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  16516. type: integer
  16517. createtime:
  16518. description: 记账时间
  16519. type: string
  16520. daymaxvalue:
  16521. description: 配置当日最大转入限制
  16522. type: number
  16523. daymaxvalue2:
  16524. description: 配置当日最大转入限制(转入)
  16525. type: number
  16526. goodscode:
  16527. description: 商品代码
  16528. type: string
  16529. goodsname:
  16530. description: 商品名称
  16531. type: string
  16532. handlestatus:
  16533. description: 处理状态
  16534. type: integer
  16535. innergoodsid:
  16536. description: 内部商品ID
  16537. type: integer
  16538. inratio:
  16539. description: 配置转入比值
  16540. type: integer
  16541. invalue:
  16542. description: 目标值
  16543. type: number
  16544. logid:
  16545. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16546. type: integer
  16547. mobile:
  16548. description: 手机号码(加密存储)
  16549. type: string
  16550. outergoodscode:
  16551. description: 外部商品代码[JD\PD]
  16552. type: string
  16553. outratio:
  16554. description: 配置转出比值
  16555. type: integer
  16556. outvalue:
  16557. description: 源值
  16558. type: number
  16559. pddecimalplace:
  16560. description: PD小数位
  16561. type: integer
  16562. qty:
  16563. description: 数量
  16564. type: string
  16565. remark:
  16566. description: 备注
  16567. type: string
  16568. sessionid:
  16569. description: 会话ID
  16570. type: integer
  16571. timemaxvalue:
  16572. description: 配置单次最大转入限制
  16573. type: number
  16574. timemaxvalue2:
  16575. description: 配置单次最大转入限制(转入)
  16576. type: number
  16577. timeminvalue:
  16578. description: 配置单次最小数量限制
  16579. type: number
  16580. timeminvalue2:
  16581. description: 配置单次最小数量限制(转入)
  16582. type: number
  16583. tradedate:
  16584. description: 交易日(yyyyMMdd)
  16585. type: string
  16586. userid:
  16587. description: 用户ID
  16588. type: integer
  16589. required:
  16590. - logid
  16591. type: object
  16592. szdz.QueryGoodsPickupRsp:
  16593. properties:
  16594. accountid:
  16595. description: 账户ID
  16596. type: integer
  16597. address:
  16598. description: 提货人详细地址
  16599. type: string
  16600. auditer:
  16601. description: 审核人
  16602. type: integer
  16603. audittime:
  16604. description: 审核时间
  16605. type: string
  16606. cardnum:
  16607. description: 提货人证件号码
  16608. type: string
  16609. cardtypeid:
  16610. description: 提货人证件类型
  16611. type: integer
  16612. checkremark:
  16613. description: 审核备注
  16614. type: string
  16615. goodscode:
  16616. description: 商品代码
  16617. type: string
  16618. goodsid:
  16619. description: 商品ID
  16620. type: integer
  16621. goodsname:
  16622. description: 商品名称
  16623. type: string
  16624. handlestatus:
  16625. description: 处理状态
  16626. type: integer
  16627. marketid:
  16628. description: 市场ID
  16629. type: integer
  16630. phonenum:
  16631. description: 提货人联系方式
  16632. type: string
  16633. qty:
  16634. description: 提货数量
  16635. type: number
  16636. recivername:
  16637. description: 提货人姓名
  16638. type: string
  16639. reqtime:
  16640. description: 更新时间
  16641. type: string
  16642. takemode:
  16643. description: 提货方式 - 2:自提 3:配送
  16644. type: integer
  16645. takeorderid:
  16646. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  16647. type: string
  16648. takeorderstatus:
  16649. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16650. type: integer
  16651. takeremark:
  16652. description: 提货备注
  16653. type: string
  16654. tradedate:
  16655. description: 交易日(yyyyMMdd)
  16656. type: string
  16657. userid:
  16658. description: 用户ID
  16659. type: integer
  16660. required:
  16661. - takeorderid
  16662. type: object
  16663. szdz.QueryRecieptOrderRsp:
  16664. properties:
  16665. accountName:
  16666. description: 所属账号名称(已脱敏)
  16667. type: string
  16668. accountid:
  16669. description: 资金账号
  16670. type: integer
  16671. buyorsell:
  16672. description: 方向 - 0:买 1:卖
  16673. type: integer
  16674. enableqty:
  16675. description: 可摘数量
  16676. type: integer
  16677. goodscode:
  16678. description: 商品代码
  16679. type: string
  16680. goodsid:
  16681. description: 商品ID
  16682. type: integer
  16683. goodsname:
  16684. description: 商品名称
  16685. type: string
  16686. orderid:
  16687. description: 委托单号
  16688. type: string
  16689. orderprice:
  16690. description: 委托价格
  16691. type: number
  16692. ordertime:
  16693. description: 委托时间
  16694. type: string
  16695. tradedate:
  16696. description: 交易日(yyyyMMdd)
  16697. type: string
  16698. required:
  16699. - ordertime
  16700. type: object
  16701. szdz.QuerySZDZTradePositionRsp:
  16702. properties:
  16703. accountid:
  16704. description: 账号Id
  16705. type: integer
  16706. agreeunit:
  16707. description: 合约单位
  16708. type: number
  16709. averageprice:
  16710. description: 持仓均价
  16711. type: number
  16712. buyorsell:
  16713. description: 方向 - 0:买 1:卖
  16714. type: integer
  16715. closetotalqty:
  16716. description: 平仓总数量
  16717. type: integer
  16718. curholderamount:
  16719. description: 当前持仓总金额
  16720. type: number
  16721. curpositionqty:
  16722. description: 当前持仓总数量
  16723. type: integer
  16724. currencyid:
  16725. description: 报价货币ID
  16726. type: integer
  16727. curtdposition:
  16728. description: 期末今日头寸
  16729. type: integer
  16730. decimalplace:
  16731. description: 报价小数位
  16732. type: integer
  16733. enableqty:
  16734. description: 可用量
  16735. type: integer
  16736. fretdposition:
  16737. description: 冻结今日头寸
  16738. type: integer
  16739. frozenqty:
  16740. description: 持仓冻结数量
  16741. type: integer
  16742. goodscode:
  16743. description: 商品代码(内部)
  16744. type: string
  16745. goodsid:
  16746. description: 商品Id
  16747. type: integer
  16748. goodsname:
  16749. description: 商品名称
  16750. type: string
  16751. goodunit:
  16752. description: 报价单位
  16753. type: string
  16754. goodunitid:
  16755. description: 报价单位ID
  16756. type: integer
  16757. holderamount:
  16758. description: 期初持仓总金额
  16759. type: number
  16760. marketid:
  16761. description: 市场ID
  16762. type: integer
  16763. openreqqty:
  16764. description: 开仓申请数量
  16765. type: integer
  16766. opentotalqty:
  16767. description: 开仓总数量
  16768. type: integer
  16769. otherfrozenqty:
  16770. description: 持仓其他冻结数量(交割冻结)
  16771. type: integer
  16772. positionqty:
  16773. description: 期初持仓数量
  16774. type: integer
  16775. szdz3freezqty:
  16776. description: 尚志大宗转换冻结总数量
  16777. type: integer
  16778. tnqty:
  16779. description: T+N冻结总量
  16780. type: integer
  16781. tnusedqty:
  16782. description: T+N使用量
  16783. type: integer
  16784. trademode:
  16785. description: 交易模式
  16786. type: integer
  16787. usedmargin:
  16788. description: 占用保证金
  16789. type: number
  16790. type: object
  16791. taaccount.QueryAmountLogRsp:
  16792. properties:
  16793. OPERATETYPENAME:
  16794. description: 资金操作类型名称
  16795. type: string
  16796. accountid:
  16797. description: 资金账户ID
  16798. type: integer
  16799. agoodscode:
  16800. description: 竞拍商品代码
  16801. type: string
  16802. agoodsname:
  16803. description: 竞拍商品名称
  16804. type: string
  16805. amount:
  16806. description: 资金金额
  16807. type: number
  16808. amountadjusttype:
  16809. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16810. type: integer
  16811. autoid:
  16812. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16813. type: integer
  16814. balance:
  16815. description: 期初余额
  16816. type: number
  16817. businesscode:
  16818. description: 业务编号
  16819. type: integer
  16820. createtime:
  16821. description: 发生时间
  16822. type: string
  16823. currencyid:
  16824. description: 币种ID
  16825. type: integer
  16826. currentbalance:
  16827. description: 期末余额(变动后金额)
  16828. type: number
  16829. dgoodscode:
  16830. description: 交割商品代码
  16831. type: string
  16832. dgoodsname:
  16833. description: 交割商品名称
  16834. type: string
  16835. goodscode:
  16836. description: 商品代码
  16837. type: string
  16838. goodsid:
  16839. description: 商品ID
  16840. type: integer
  16841. goodsname:
  16842. description: 商品名称
  16843. type: string
  16844. marketid:
  16845. description: 市场ID
  16846. type: integer
  16847. marketname:
  16848. description: 市场名称
  16849. type: string
  16850. moneyticket:
  16851. description: 资金流水号:银行端流水号
  16852. type: integer
  16853. operatetype:
  16854. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16855. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16856. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16857. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16858. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16859. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16860. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16861. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16862. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16863. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16864. type: integer
  16865. relationorderid:
  16866. description: 关联单号
  16867. type: string
  16868. remark:
  16869. description: 备注
  16870. type: string
  16871. trademode:
  16872. description: 交易模式
  16873. type: integer
  16874. required:
  16875. - accountid
  16876. - amount
  16877. - amountadjusttype
  16878. - autoid
  16879. - balance
  16880. - createtime
  16881. - currentbalance
  16882. - operatetype
  16883. type: object
  16884. taaccount.QueryHisAmountLogRsp:
  16885. properties:
  16886. OPERATETYPENAME:
  16887. description: 资金操作类型名称
  16888. type: string
  16889. accountid:
  16890. description: 资金账户ID
  16891. type: integer
  16892. agoodscode:
  16893. description: 竞拍商品代码
  16894. type: string
  16895. agoodsname:
  16896. description: 竞拍商品名称
  16897. type: string
  16898. amount:
  16899. description: 资金金额
  16900. type: number
  16901. amountadjusttype:
  16902. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16903. type: integer
  16904. autoid:
  16905. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16906. type: integer
  16907. balance:
  16908. description: 期初余额
  16909. type: number
  16910. businesscode:
  16911. description: 业务编号
  16912. type: integer
  16913. createtime:
  16914. description: 发生时间
  16915. type: string
  16916. currencyid:
  16917. description: 币种ID
  16918. type: integer
  16919. currentbalance:
  16920. description: 期末余额(变动后金额)
  16921. type: number
  16922. dgoodscode:
  16923. description: 交割商品代码
  16924. type: string
  16925. dgoodsname:
  16926. description: 交割商品名称
  16927. type: string
  16928. goodscode:
  16929. description: 商品代码
  16930. type: string
  16931. goodsid:
  16932. description: 商品ID
  16933. type: integer
  16934. goodsname:
  16935. description: 商品名称
  16936. type: string
  16937. histradedate:
  16938. description: 历史交易日
  16939. type: string
  16940. isvaliddata:
  16941. description: 是否有效 - 0:无效 1:有效
  16942. type: integer
  16943. marketid:
  16944. description: 市场ID
  16945. type: integer
  16946. marketname:
  16947. description: 市场名称
  16948. type: string
  16949. moneyticket:
  16950. description: 资金流水号:银行端流水号
  16951. type: integer
  16952. operatetype:
  16953. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16954. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16955. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16956. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16957. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16958. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16959. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16960. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16961. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16962. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16963. type: integer
  16964. relationorderid:
  16965. description: 关联单号
  16966. type: string
  16967. remark:
  16968. description: 备注
  16969. type: string
  16970. trademode:
  16971. description: 交易模式
  16972. type: integer
  16973. required:
  16974. - accountid
  16975. - amount
  16976. - amountadjusttype
  16977. - autoid
  16978. - balance
  16979. - createtime
  16980. - currentbalance
  16981. - histradedate
  16982. - operatetype
  16983. type: object
  16984. trade.QueryRecieptOrderRsp:
  16985. properties:
  16986. accountName:
  16987. description: 所属账号名称(已脱敏)
  16988. type: string
  16989. accountid:
  16990. description: 资金账号
  16991. type: integer
  16992. buyorsell:
  16993. description: 方向 - 0:买 1:卖
  16994. type: integer
  16995. enableqty:
  16996. description: 可摘数量
  16997. type: integer
  16998. goodscode:
  16999. description: 商品代码
  17000. type: string
  17001. goodsid:
  17002. description: 商品ID
  17003. type: integer
  17004. goodsname:
  17005. description: 商品名称
  17006. type: string
  17007. orderid:
  17008. description: 委托单号
  17009. type: string
  17010. orderprice:
  17011. description: 委托价格
  17012. type: number
  17013. ordertime:
  17014. description: 委托时间
  17015. type: string
  17016. tradedate:
  17017. description: 交易日(yyyyMMdd)
  17018. type: string
  17019. required:
  17020. - ordertime
  17021. type: object
  17022. user.LoginQueryRsp:
  17023. properties:
  17024. areaRoles:
  17025. description: 所属角色信息
  17026. items:
  17027. $ref: '#/definitions/models.Arearole'
  17028. type: array
  17029. externalExchanges:
  17030. description: 外部交易所
  17031. items:
  17032. $ref: '#/definitions/models.Externalexchange'
  17033. type: array
  17034. goodsgroups:
  17035. description: 商品组
  17036. items:
  17037. $ref: '#/definitions/models.Goodsgroup'
  17038. type: array
  17039. loginAccount:
  17040. $ref: '#/definitions/models.Loginaccount'
  17041. description: 登录账号
  17042. type: object
  17043. markets:
  17044. description: 市场
  17045. items:
  17046. $ref: '#/definitions/models.Market'
  17047. type: array
  17048. systemParams:
  17049. description: 系统参数
  17050. items:
  17051. $ref: '#/definitions/models.Systemparam'
  17052. type: array
  17053. userAccount:
  17054. $ref: '#/definitions/models.Useraccount'
  17055. description: 用户账号
  17056. type: object
  17057. userInfo:
  17058. $ref: '#/definitions/models.Userinfo'
  17059. description: 用户信息
  17060. type: object
  17061. username:
  17062. description: 用户姓名
  17063. type: string
  17064. type: object
  17065. info:
  17066. contact: {}
  17067. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17068. license: {}
  17069. termsOfService: http://www.muchinfo.cn
  17070. title: MTP2.0 查询服务 API
  17071. version: "1.0"
  17072. paths:
  17073. /CPTrade/QueryCPTradeMyBidInfos:
  17074. get:
  17075. parameters:
  17076. - description: 资金账户
  17077. in: query
  17078. name: accountid
  17079. required: true
  17080. type: integer
  17081. - description: 预售市场ID
  17082. in: query
  17083. name: marketid
  17084. type: integer
  17085. - description: 预售商品ID
  17086. in: query
  17087. name: goodsid
  17088. type: integer
  17089. produces:
  17090. - application/json
  17091. responses:
  17092. "200":
  17093. description: OK
  17094. schema:
  17095. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17096. "500":
  17097. description: Internal Server Error
  17098. schema:
  17099. $ref: '#/definitions/app.Response'
  17100. security:
  17101. - ApiKeyAuth: []
  17102. summary: 查询产能预售我的出价信息
  17103. tags:
  17104. - 产能预售
  17105. /CPTrade/QueryCPTradeOrderDetail:
  17106. get:
  17107. parameters:
  17108. - description: 预售商品ID
  17109. in: query
  17110. name: goodsid
  17111. type: integer
  17112. - description: 预售市场ID
  17113. in: query
  17114. name: marketid
  17115. type: integer
  17116. - description: 预售商品ID列表 - 格式:1,2,3
  17117. in: query
  17118. name: goodsids
  17119. type: string
  17120. produces:
  17121. - application/json
  17122. responses:
  17123. "200":
  17124. description: OK
  17125. schema:
  17126. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17127. "500":
  17128. description: Internal Server Error
  17129. schema:
  17130. $ref: '#/definitions/app.Response'
  17131. security:
  17132. - ApiKeyAuth: []
  17133. summary: 查询产能预售委托单信息
  17134. tags:
  17135. - 产能预售
  17136. /CPTrade/QueryMyCPTradeGoods:
  17137. get:
  17138. parameters:
  17139. - description: 资金账户
  17140. in: query
  17141. name: accountid
  17142. required: true
  17143. type: integer
  17144. produces:
  17145. - application/json
  17146. responses:
  17147. "200":
  17148. description: OK
  17149. schema:
  17150. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17151. "500":
  17152. description: Internal Server Error
  17153. schema:
  17154. $ref: '#/definitions/app.Response'
  17155. security:
  17156. - ApiKeyAuth: []
  17157. summary: 查询我的预售信息
  17158. tags:
  17159. - 产能预售
  17160. /CPTrade/QueryPositionCancel:
  17161. get:
  17162. parameters:
  17163. - description: 账户ID
  17164. in: query
  17165. name: userid
  17166. required: true
  17167. type: integer
  17168. - description: 注销ID
  17169. in: query
  17170. name: cancelid
  17171. type: integer
  17172. - description: 资金账户ID
  17173. in: query
  17174. name: accountid
  17175. type: integer
  17176. produces:
  17177. - application/json
  17178. responses:
  17179. "200":
  17180. description: OK
  17181. schema:
  17182. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17183. "500":
  17184. description: Internal Server Error
  17185. schema:
  17186. $ref: '#/definitions/app.Response'
  17187. security:
  17188. - ApiKeyAuth: []
  17189. summary: 查询远期订单注销申请信息
  17190. tags:
  17191. - 产能预售
  17192. /CPTrade/QueryPreasleApply:
  17193. get:
  17194. parameters:
  17195. - description: 账户ID
  17196. in: query
  17197. name: userid
  17198. required: true
  17199. type: integer
  17200. - description: 申请ID
  17201. in: query
  17202. name: applyid
  17203. type: integer
  17204. - description: 资金账户ID
  17205. in: query
  17206. name: accountid
  17207. type: integer
  17208. produces:
  17209. - application/json
  17210. responses:
  17211. "200":
  17212. description: OK
  17213. schema:
  17214. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17215. "500":
  17216. description: Internal Server Error
  17217. schema:
  17218. $ref: '#/definitions/app.Response'
  17219. security:
  17220. - ApiKeyAuth: []
  17221. summary: 查询产能预售申请信息
  17222. tags:
  17223. - 产能预售
  17224. /CPTrade/QueryPresaleGoodsEx:
  17225. get:
  17226. parameters:
  17227. - description: 预售商品ID
  17228. in: query
  17229. name: goodsid
  17230. type: integer
  17231. - description: 预售市场ID
  17232. in: query
  17233. name: marketid
  17234. type: integer
  17235. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17236. in: query
  17237. name: presalemode
  17238. type: integer
  17239. - description: 预售商品ID列表 - 格式:1,2,3
  17240. in: query
  17241. name: goodsids
  17242. type: string
  17243. - description: 预售商品代码
  17244. in: query
  17245. name: goodscode
  17246. type: string
  17247. produces:
  17248. - application/json
  17249. responses:
  17250. "200":
  17251. description: OK
  17252. schema:
  17253. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17254. "500":
  17255. description: Internal Server Error
  17256. schema:
  17257. $ref: '#/definitions/app.Response'
  17258. security:
  17259. - ApiKeyAuth: []
  17260. summary: 查询产能预售商品扩展信息
  17261. tags:
  17262. - 产能预售
  17263. /CPTrade/QueryUserGoodsData:
  17264. get:
  17265. parameters:
  17266. - description: 资金账户ID
  17267. in: query
  17268. name: accountid
  17269. required: true
  17270. type: integer
  17271. produces:
  17272. - application/json
  17273. responses:
  17274. "200":
  17275. description: OK
  17276. schema:
  17277. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17278. "500":
  17279. description: Internal Server Error
  17280. schema:
  17281. $ref: '#/definitions/app.Response'
  17282. security:
  17283. - ApiKeyAuth: []
  17284. summary: 查询远期订单信息
  17285. tags:
  17286. - 产能预售
  17287. /Common/GetAllEnums:
  17288. get:
  17289. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17290. parameters:
  17291. - description: 起始自增ID
  17292. in: query
  17293. name: autoid
  17294. type: integer
  17295. produces:
  17296. - application/json
  17297. responses:
  17298. "200":
  17299. description: OK
  17300. schema:
  17301. $ref: '#/definitions/models.Enumdicitem'
  17302. "500":
  17303. description: Internal Server Error
  17304. schema:
  17305. $ref: '#/definitions/app.Response'
  17306. summary: 获取所有枚举信息
  17307. tags:
  17308. - 通用服务
  17309. /Common/GetClientMenus:
  17310. get:
  17311. parameters:
  17312. - description: 登录账号
  17313. in: query
  17314. name: loginID
  17315. required: true
  17316. type: integer
  17317. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  17318. in: query
  17319. name: clientType
  17320. type: integer
  17321. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  17322. in: query
  17323. name: name
  17324. type: string
  17325. produces:
  17326. - application/json
  17327. responses:
  17328. "200":
  17329. description: OK
  17330. schema:
  17331. items:
  17332. $ref: '#/definitions/common.ClientMenu'
  17333. type: array
  17334. "500":
  17335. description: Internal Server Error
  17336. schema:
  17337. $ref: '#/definitions/app.Response'
  17338. security:
  17339. - ApiKeyAuth: []
  17340. summary: 获取交易端菜单
  17341. tags:
  17342. - 通用服务
  17343. /Common/GetDivisions:
  17344. get:
  17345. produces:
  17346. - application/json
  17347. responses:
  17348. "200":
  17349. description: OK
  17350. schema:
  17351. $ref: '#/definitions/models.Division'
  17352. "500":
  17353. description: Internal Server Error
  17354. schema:
  17355. $ref: '#/definitions/app.Response'
  17356. summary: 查询区域信息
  17357. tags:
  17358. - 通用服务
  17359. /Common/GetServerTime:
  17360. get:
  17361. produces:
  17362. - application/json
  17363. responses:
  17364. "200":
  17365. description: OK
  17366. schema:
  17367. $ref: '#/definitions/app.Response'
  17368. "500":
  17369. description: Internal Server Error
  17370. schema:
  17371. $ref: '#/definitions/app.Response'
  17372. summary: 获取服务器时间
  17373. tags:
  17374. - 通用服务
  17375. /Common/NoticeReaded:
  17376. post:
  17377. parameters:
  17378. - description: 登录账号
  17379. in: query
  17380. name: loginID
  17381. required: true
  17382. type: integer
  17383. - description: 通知公告ID
  17384. in: query
  17385. name: noticeID
  17386. required: true
  17387. type: integer
  17388. produces:
  17389. - application/json
  17390. responses:
  17391. "200":
  17392. description: OK
  17393. schema:
  17394. $ref: '#/definitions/app.Response'
  17395. "500":
  17396. description: Internal Server Error
  17397. schema:
  17398. $ref: '#/definitions/app.Response'
  17399. security:
  17400. - ApiKeyAuth: []
  17401. summary: 通知公告设置已读请求
  17402. tags:
  17403. - 通用服务
  17404. /Common/QueryErrorInfos:
  17405. get:
  17406. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17407. parameters:
  17408. - description: 起始行号前索引
  17409. in: query
  17410. name: rowNumber
  17411. type: string
  17412. produces:
  17413. - application/json
  17414. responses:
  17415. "200":
  17416. description: OK
  17417. schema:
  17418. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17419. "500":
  17420. description: Internal Server Error
  17421. schema:
  17422. $ref: '#/definitions/app.Response'
  17423. summary: 获取数据库错误信息
  17424. tags:
  17425. - 通用服务
  17426. /Common/QueryImageConfigs:
  17427. get:
  17428. parameters:
  17429. - description: 用户id
  17430. in: query
  17431. name: userId
  17432. type: integer
  17433. - description: 类型 - 1:App首页轮播 2:我的
  17434. in: query
  17435. name: imageType
  17436. type: integer
  17437. produces:
  17438. - application/json
  17439. responses:
  17440. "200":
  17441. description: OK
  17442. schema:
  17443. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17444. "500":
  17445. description: Internal Server Error
  17446. schema:
  17447. $ref: '#/definitions/app.Response'
  17448. summary: 查询轮播图配置信息
  17449. tags:
  17450. - 通用服务
  17451. /Common/QueryNotice:
  17452. get:
  17453. parameters:
  17454. - description: 页码
  17455. in: query
  17456. name: page
  17457. type: integer
  17458. - description: 每页条数
  17459. in: query
  17460. name: pagesize
  17461. type: integer
  17462. - description: 登录账号
  17463. in: query
  17464. name: loginID
  17465. required: true
  17466. type: integer
  17467. - description: 消息类型 - 1:公告通知 2:系统消息
  17468. in: query
  17469. name: msgType
  17470. type: integer
  17471. - description: 是否只获取未读信息
  17472. in: query
  17473. name: onlyUnRead
  17474. type: boolean
  17475. - description: 自增ID,传入后会返回这个ID后面的记录
  17476. in: query
  17477. name: lastID
  17478. type: integer
  17479. produces:
  17480. - application/json
  17481. responses:
  17482. "200":
  17483. description: OK
  17484. schema:
  17485. $ref: '#/definitions/common.QueryNoticeRsp'
  17486. "500":
  17487. description: Internal Server Error
  17488. schema:
  17489. $ref: '#/definitions/app.Response'
  17490. security:
  17491. - ApiKeyAuth: []
  17492. summary: 通知公告系统消息查询
  17493. tags:
  17494. - 通用服务
  17495. /Common/QueryProvincesAndCities:
  17496. get:
  17497. parameters:
  17498. - description: 省ID
  17499. in: query
  17500. name: provinceID
  17501. type: integer
  17502. produces:
  17503. - application/json
  17504. responses:
  17505. "200":
  17506. description: OK
  17507. schema:
  17508. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  17509. "500":
  17510. description: Internal Server Error
  17511. schema:
  17512. $ref: '#/definitions/app.Response'
  17513. summary: 查询省市信息(不包括区)
  17514. tags:
  17515. - 通用服务
  17516. /Common/QueryTableDefine:
  17517. get:
  17518. parameters:
  17519. - description: 表key
  17520. in: query
  17521. name: tableKey
  17522. type: string
  17523. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  17524. in: query
  17525. name: tableType
  17526. type: integer
  17527. produces:
  17528. - application/json
  17529. responses:
  17530. "200":
  17531. description: OK
  17532. schema:
  17533. $ref: '#/definitions/common.QueryTableDefineRsp'
  17534. "500":
  17535. description: Internal Server Error
  17536. schema:
  17537. $ref: '#/definitions/app.Response'
  17538. summary: 查询交易端列表头信息
  17539. tags:
  17540. - 通用服务
  17541. /Common/QueryTraderMenu:
  17542. get:
  17543. parameters:
  17544. - description: 登录账号
  17545. in: query
  17546. name: loginid
  17547. required: true
  17548. type: integer
  17549. produces:
  17550. - application/json
  17551. responses:
  17552. "200":
  17553. description: OK
  17554. schema:
  17555. $ref: '#/definitions/common.QueryTraderMenuRsp'
  17556. "500":
  17557. description: Internal Server Error
  17558. schema:
  17559. $ref: '#/definitions/app.Response'
  17560. summary: 查询交易端菜单
  17561. tags:
  17562. - 通用服务
  17563. /Delivery/QueryDeliveryRelation:
  17564. get:
  17565. parameters:
  17566. - description: 商品ID
  17567. in: query
  17568. name: goodsid
  17569. type: integer
  17570. - description: 品种ID
  17571. in: query
  17572. name: deliverygoodsid
  17573. type: integer
  17574. - description: 市场ID
  17575. in: query
  17576. name: marketid
  17577. type: integer
  17578. produces:
  17579. - application/json
  17580. responses:
  17581. "200":
  17582. description: OK
  17583. schema:
  17584. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  17585. "500":
  17586. description: Internal Server Error
  17587. schema:
  17588. $ref: '#/definitions/app.Response'
  17589. security:
  17590. - ApiKeyAuth: []
  17591. summary: 查询商品交割关系表
  17592. tags:
  17593. - 交割服务
  17594. /Ermcp/GetErmcpGoods:
  17595. get:
  17596. parameters:
  17597. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17598. in: query
  17599. name: lastUpdateTime
  17600. type: string
  17601. produces:
  17602. - application/json
  17603. responses:
  17604. "200":
  17605. description: OK
  17606. schema:
  17607. $ref: '#/definitions/models.ErmcpGoods'
  17608. "500":
  17609. description: Internal Server Error
  17610. schema:
  17611. $ref: '#/definitions/app.Response'
  17612. security:
  17613. - ApiKeyAuth: []
  17614. summary: 查询企业风管期货商品信息
  17615. tags:
  17616. - 企业风险管理(app)
  17617. /Ermcp/GetErmcpGoodsSortByPosition:
  17618. get:
  17619. parameters:
  17620. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  17621. in: query
  17622. name: sortIndex
  17623. type: string
  17624. produces:
  17625. - application/json
  17626. responses:
  17627. "200":
  17628. description: OK
  17629. schema:
  17630. $ref: '#/definitions/models.Goodssortbypreposition'
  17631. "500":
  17632. description: Internal Server Error
  17633. schema:
  17634. $ref: '#/definitions/app.Response'
  17635. security:
  17636. - ApiKeyAuth: []
  17637. summary: 查询企业风管期货主力、次主力商品信息
  17638. tags:
  17639. - 企业风险管理(app)
  17640. /Ermcp/GetErmcpOutAccountStatus:
  17641. get:
  17642. parameters:
  17643. - description: 登录账号
  17644. in: query
  17645. name: loginID
  17646. required: true
  17647. type: integer
  17648. produces:
  17649. - application/json
  17650. responses:
  17651. "200":
  17652. description: OK
  17653. schema:
  17654. $ref: '#/definitions/models.Hedgemarketopenlog'
  17655. "500":
  17656. description: Internal Server Error
  17657. schema:
  17658. $ref: '#/definitions/app.Response'
  17659. security:
  17660. - ApiKeyAuth: []
  17661. summary: 获取目标登录账号当前对冲账号在线状态
  17662. tags:
  17663. - 企业风险管理(app)
  17664. /Ermcp/GetErmcpRoleFuncMenuLists:
  17665. get:
  17666. parameters:
  17667. - description: 登录账号
  17668. in: query
  17669. name: loginID
  17670. required: true
  17671. type: integer
  17672. produces:
  17673. - application/json
  17674. responses:
  17675. "200":
  17676. description: OK
  17677. schema:
  17678. $ref: '#/definitions/models.Funcmenulist'
  17679. "500":
  17680. description: Internal Server Error
  17681. schema:
  17682. $ref: '#/definitions/app.Response'
  17683. security:
  17684. - ApiKeyAuth: []
  17685. summary: 获取企业风管终端权限
  17686. tags:
  17687. - 企业风险管理(app)
  17688. /Ermcp/QueryAccMgrBizGroupSet:
  17689. get:
  17690. parameters:
  17691. - description: 用户ID
  17692. in: query
  17693. name: userid
  17694. required: true
  17695. type: integer
  17696. - description: 现货商品id
  17697. in: query
  17698. name: deliverygoodsid
  17699. type: integer
  17700. produces:
  17701. - application/json
  17702. responses:
  17703. "200":
  17704. description: OK
  17705. schema:
  17706. items:
  17707. $ref: '#/definitions/models.ErmcpBizGroupEx'
  17708. type: array
  17709. "500":
  17710. description: Internal Server Error
  17711. schema:
  17712. $ref: '#/definitions/app.Response'
  17713. security:
  17714. - ApiKeyAuth: []
  17715. summary: 查询业务类型分组(账户管理/账户设置)
  17716. tags:
  17717. - 企业风险管理(app)
  17718. /Ermcp/QueryAccMgrLoginUser:
  17719. get:
  17720. parameters:
  17721. - description: 用户ID
  17722. in: query
  17723. name: userid
  17724. required: true
  17725. type: integer
  17726. - description: 用户类型 2-机构 7-企业成员
  17727. in: query
  17728. name: usertype
  17729. type: integer
  17730. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  17731. in: query
  17732. name: querytype
  17733. required: true
  17734. type: integer
  17735. produces:
  17736. - application/json
  17737. responses:
  17738. "200":
  17739. description: OK
  17740. schema:
  17741. items:
  17742. $ref: '#/definitions/models.ErmcpLoginUserEx'
  17743. type: array
  17744. "500":
  17745. description: Internal Server Error
  17746. schema:
  17747. $ref: '#/definitions/app.Response'
  17748. security:
  17749. - ApiKeyAuth: []
  17750. summary: 查询账户管理登录账号(账户管理/登录账号)
  17751. tags:
  17752. - 企业风险管理(app)
  17753. /Ermcp/QueryAccMgrMainAccountInfo:
  17754. get:
  17755. parameters:
  17756. - description: 用户ID
  17757. in: query
  17758. name: userid
  17759. type: integer
  17760. - description: 主账号id
  17761. in: query
  17762. name: accountid
  17763. type: integer
  17764. produces:
  17765. - application/json
  17766. responses:
  17767. "200":
  17768. description: OK
  17769. schema:
  17770. items:
  17771. $ref: '#/definitions/models.MainAccountInfo'
  17772. type: array
  17773. "500":
  17774. description: Internal Server Error
  17775. schema:
  17776. $ref: '#/definitions/app.Response'
  17777. security:
  17778. - ApiKeyAuth: []
  17779. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  17780. tags:
  17781. - 企业风险管理(app)
  17782. /Ermcp/QueryAccMgrRole:
  17783. get:
  17784. parameters:
  17785. - description: 用户ID
  17786. in: query
  17787. name: userid
  17788. required: true
  17789. type: integer
  17790. produces:
  17791. - application/json
  17792. responses:
  17793. "200":
  17794. description: OK
  17795. schema:
  17796. items:
  17797. $ref: '#/definitions/models.ErmcpRole'
  17798. type: array
  17799. "500":
  17800. description: Internal Server Error
  17801. schema:
  17802. $ref: '#/definitions/app.Response'
  17803. security:
  17804. - ApiKeyAuth: []
  17805. summary: 查询账户管理角色设置(账户管理/角色设置)
  17806. tags:
  17807. - 企业风险管理(app)
  17808. /Ermcp/QueryAccMgrRoleMenu:
  17809. get:
  17810. parameters:
  17811. - description: 用户ID
  17812. in: query
  17813. name: userid
  17814. required: true
  17815. type: integer
  17816. - description: 角色id(可多个,逗号隔开)
  17817. in: query
  17818. name: roleid
  17819. type: string
  17820. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  17821. in: query
  17822. name: menutype
  17823. type: integer
  17824. produces:
  17825. - application/json
  17826. responses:
  17827. "200":
  17828. description: OK
  17829. schema:
  17830. items:
  17831. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  17832. type: array
  17833. "500":
  17834. description: Internal Server Error
  17835. schema:
  17836. $ref: '#/definitions/app.Response'
  17837. security:
  17838. - ApiKeyAuth: []
  17839. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  17840. tags:
  17841. - 企业风险管理(app)
  17842. /Ermcp/QueryAccMgrTaAccountInfo:
  17843. get:
  17844. parameters:
  17845. - description: 用户ID
  17846. in: query
  17847. name: userid
  17848. required: true
  17849. type: integer
  17850. - description: 账号id
  17851. in: query
  17852. name: accountid
  17853. type: integer
  17854. produces:
  17855. - application/json
  17856. responses:
  17857. "200":
  17858. description: OK
  17859. schema:
  17860. items:
  17861. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  17862. type: array
  17863. "500":
  17864. description: Internal Server Error
  17865. schema:
  17866. $ref: '#/definitions/app.Response'
  17867. security:
  17868. - ApiKeyAuth: []
  17869. summary: 查询账户管理授信(账户管理/账户设置/授信)
  17870. tags:
  17871. - 企业风险管理(app)
  17872. /Ermcp/QueryAccMgrTaaccount:
  17873. get:
  17874. parameters:
  17875. - description: 用户ID
  17876. in: query
  17877. name: userid
  17878. required: true
  17879. type: integer
  17880. produces:
  17881. - application/json
  17882. responses:
  17883. "200":
  17884. description: OK
  17885. schema:
  17886. items:
  17887. $ref: '#/definitions/models.ErmcpTaAccountEx'
  17888. type: array
  17889. "500":
  17890. description: Internal Server Error
  17891. schema:
  17892. $ref: '#/definitions/app.Response'
  17893. security:
  17894. - ApiKeyAuth: []
  17895. summary: 查询账户管理期货账号(账户管理/期货账号)
  17896. tags:
  17897. - 企业风险管理(app)
  17898. /Ermcp/QueryAvaildGoodsGroup:
  17899. get:
  17900. parameters:
  17901. - description: 所属机构ID
  17902. in: query
  17903. name: userid
  17904. required: true
  17905. type: integer
  17906. produces:
  17907. - application/json
  17908. responses:
  17909. "200":
  17910. description: OK
  17911. schema:
  17912. items:
  17913. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  17914. type: array
  17915. "500":
  17916. description: Internal Server Error
  17917. schema:
  17918. $ref: '#/definitions/app.Response'
  17919. security:
  17920. - ApiKeyAuth: []
  17921. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  17922. tags:
  17923. - 企业风险管理(app)
  17924. /Ermcp/QueryBusinessDj:
  17925. get:
  17926. parameters:
  17927. - description: 用户ID
  17928. in: query
  17929. name: UserId
  17930. required: true
  17931. type: integer
  17932. - description: 用户类型 2-机构 7-企业成员
  17933. in: query
  17934. name: usertype
  17935. type: integer
  17936. - description: 现货合同ID, 不填则查所有
  17937. in: query
  17938. name: relatedid
  17939. type: string
  17940. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17941. in: query
  17942. name: applystatus
  17943. type: string
  17944. produces:
  17945. - application/json
  17946. responses:
  17947. "200":
  17948. description: OK
  17949. schema:
  17950. items:
  17951. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  17952. type: array
  17953. "500":
  17954. description: Internal Server Error
  17955. schema:
  17956. $ref: '#/definitions/app.Response'
  17957. security:
  17958. - ApiKeyAuth: []
  17959. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  17960. tags:
  17961. - 企业风险管理(app)
  17962. /Ermcp/QueryBusinessFp:
  17963. get:
  17964. parameters:
  17965. - description: 用户ID
  17966. in: query
  17967. name: UserId
  17968. required: true
  17969. type: integer
  17970. - description: 用户类型 2-机构 7-企业成员
  17971. in: query
  17972. name: usertype
  17973. type: integer
  17974. - description: 现货合同ID, 不填则查所有
  17975. in: query
  17976. name: relatedid
  17977. type: string
  17978. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17979. in: query
  17980. name: applystatus
  17981. type: string
  17982. produces:
  17983. - application/json
  17984. responses:
  17985. "200":
  17986. description: OK
  17987. schema:
  17988. items:
  17989. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  17990. type: array
  17991. "500":
  17992. description: Internal Server Error
  17993. schema:
  17994. $ref: '#/definitions/app.Response'
  17995. security:
  17996. - ApiKeyAuth: []
  17997. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  17998. tags:
  17999. - 企业风险管理(app)
  18000. /Ermcp/QueryBusinessJs:
  18001. get:
  18002. parameters:
  18003. - description: 用户ID
  18004. in: query
  18005. name: UserId
  18006. required: true
  18007. type: integer
  18008. - description: 用户类型 2-机构 7-企业成员
  18009. in: query
  18010. name: usertype
  18011. type: integer
  18012. - description: 现货合同ID, 不填则查所有
  18013. in: query
  18014. name: relatedid
  18015. type: string
  18016. - description: 操作申请id
  18017. in: query
  18018. name: operateapplyid
  18019. type: string
  18020. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18021. in: query
  18022. name: applystatus
  18023. type: string
  18024. produces:
  18025. - application/json
  18026. responses:
  18027. "200":
  18028. description: OK
  18029. schema:
  18030. items:
  18031. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18032. type: array
  18033. "500":
  18034. description: Internal Server Error
  18035. schema:
  18036. $ref: '#/definitions/app.Response'
  18037. security:
  18038. - ApiKeyAuth: []
  18039. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18040. tags:
  18041. - 企业风险管理(app)
  18042. /Ermcp/QueryBusinessJsEx:
  18043. get:
  18044. parameters:
  18045. - description: 用户ID
  18046. in: query
  18047. name: UserId
  18048. required: true
  18049. type: integer
  18050. - description: 用户类型 2-机构 7-企业成员
  18051. in: query
  18052. name: usertype
  18053. type: integer
  18054. - description: 现货合同ID, 不填则查所有
  18055. in: query
  18056. name: relatedid
  18057. type: string
  18058. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18059. in: query
  18060. name: applystatus
  18061. type: string
  18062. produces:
  18063. - application/json
  18064. responses:
  18065. "200":
  18066. description: OK
  18067. schema:
  18068. items:
  18069. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18070. type: array
  18071. "500":
  18072. description: Internal Server Error
  18073. schema:
  18074. $ref: '#/definitions/app.Response'
  18075. security:
  18076. - ApiKeyAuth: []
  18077. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18078. tags:
  18079. - 企业风险管理(app)
  18080. /Ermcp/QueryBusinessKx:
  18081. get:
  18082. parameters:
  18083. - description: 用户ID
  18084. in: query
  18085. name: UserId
  18086. required: true
  18087. type: integer
  18088. - description: 用户类型 2-机构 7-企业成员
  18089. in: query
  18090. name: usertype
  18091. type: integer
  18092. - description: 现货合同ID, 不填则查所有
  18093. in: query
  18094. name: relatedid
  18095. type: string
  18096. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18097. in: query
  18098. name: applystatus
  18099. type: string
  18100. produces:
  18101. - application/json
  18102. responses:
  18103. "200":
  18104. description: OK
  18105. schema:
  18106. items:
  18107. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18108. type: array
  18109. "500":
  18110. description: Internal Server Error
  18111. schema:
  18112. $ref: '#/definitions/app.Response'
  18113. security:
  18114. - ApiKeyAuth: []
  18115. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18116. tags:
  18117. - 企业风险管理(app)
  18118. /Ermcp/QueryChangeLog:
  18119. get:
  18120. parameters:
  18121. - description: 合同ID
  18122. in: query
  18123. name: RelatedId
  18124. required: true
  18125. type: string
  18126. produces:
  18127. - application/json
  18128. responses:
  18129. "200":
  18130. description: OK
  18131. schema:
  18132. items:
  18133. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18134. type: array
  18135. "500":
  18136. description: Internal Server Error
  18137. schema:
  18138. $ref: '#/definitions/app.Response'
  18139. security:
  18140. - ApiKeyAuth: []
  18141. summary: 查询变更记录
  18142. tags:
  18143. - 企业风险管理(app)
  18144. /Ermcp/QueryErmcpHisOrderDetails:
  18145. get:
  18146. parameters:
  18147. - description: 资金账户ID
  18148. in: query
  18149. name: accountID
  18150. required: true
  18151. type: integer
  18152. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18153. in: query
  18154. name: startDate
  18155. type: string
  18156. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18157. in: query
  18158. name: endDate
  18159. type: string
  18160. produces:
  18161. - application/json
  18162. responses:
  18163. "200":
  18164. description: OK
  18165. schema:
  18166. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18167. "500":
  18168. description: Internal Server Error
  18169. schema:
  18170. $ref: '#/definitions/app.Response'
  18171. security:
  18172. - ApiKeyAuth: []
  18173. summary: 获取企业风管期货历史委托单信息
  18174. tags:
  18175. - 企业风险管理(app)
  18176. /Ermcp/QueryErmcpHisTradeDetails:
  18177. get:
  18178. parameters:
  18179. - description: 资金账户ID
  18180. in: query
  18181. name: accountID
  18182. required: true
  18183. type: integer
  18184. - description: 商品ID
  18185. in: query
  18186. name: goodsID
  18187. type: integer
  18188. - description: 买卖方向,0:买 1:卖
  18189. in: query
  18190. name: buyOrSell
  18191. type: integer
  18192. - description: 关联委托单号
  18193. in: query
  18194. name: orderID
  18195. type: integer
  18196. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18197. in: query
  18198. name: startDate
  18199. type: string
  18200. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18201. in: query
  18202. name: endDate
  18203. type: string
  18204. produces:
  18205. - application/json
  18206. responses:
  18207. "200":
  18208. description: OK
  18209. schema:
  18210. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18211. "500":
  18212. description: Internal Server Error
  18213. schema:
  18214. $ref: '#/definitions/app.Response'
  18215. security:
  18216. - ApiKeyAuth: []
  18217. summary: 获取企业风管期货历史成交单信息
  18218. tags:
  18219. - 企业风险管理(app)
  18220. /Ermcp/QueryErmcpInnerHolderDetails:
  18221. get:
  18222. parameters:
  18223. - description: 资金账户ID
  18224. in: query
  18225. name: accountID
  18226. required: true
  18227. type: integer
  18228. - description: 商品ID
  18229. in: query
  18230. name: goodsID
  18231. type: integer
  18232. - description: 买卖方向,0:买 1:卖
  18233. in: query
  18234. name: buyOrSell
  18235. type: integer
  18236. produces:
  18237. - application/json
  18238. responses:
  18239. "200":
  18240. description: OK
  18241. schema:
  18242. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18243. "500":
  18244. description: Internal Server Error
  18245. schema:
  18246. $ref: '#/definitions/app.Response'
  18247. security:
  18248. - ApiKeyAuth: []
  18249. summary: 获取企业风管期货内部持仓单信息
  18250. tags:
  18251. - 企业风险管理(app)
  18252. /Ermcp/QueryErmcpOrderDetails:
  18253. get:
  18254. parameters:
  18255. - description: 资金账户ID
  18256. in: query
  18257. name: accountID
  18258. required: true
  18259. type: integer
  18260. produces:
  18261. - application/json
  18262. responses:
  18263. "200":
  18264. description: OK
  18265. schema:
  18266. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18267. "500":
  18268. description: Internal Server Error
  18269. schema:
  18270. $ref: '#/definitions/app.Response'
  18271. security:
  18272. - ApiKeyAuth: []
  18273. summary: 获取企业风管期货委托单信息
  18274. tags:
  18275. - 企业风险管理(app)
  18276. /Ermcp/QueryErmcpTradeDetails:
  18277. get:
  18278. parameters:
  18279. - description: 资金账户ID
  18280. in: query
  18281. name: accountID
  18282. required: true
  18283. type: integer
  18284. - description: 商品ID
  18285. in: query
  18286. name: goodsID
  18287. type: integer
  18288. - description: 买卖方向,0:买 1:卖
  18289. in: query
  18290. name: buyOrSell
  18291. type: integer
  18292. - description: 关联委托单号
  18293. in: query
  18294. name: orderID
  18295. type: integer
  18296. produces:
  18297. - application/json
  18298. responses:
  18299. "200":
  18300. description: OK
  18301. schema:
  18302. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  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/QueryErmcpTradePosition:
  18313. get:
  18314. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18315. parameters:
  18316. - description: 资金账户ID
  18317. in: query
  18318. name: accountID
  18319. required: true
  18320. type: integer
  18321. - description: 所属市场ID
  18322. in: query
  18323. name: marketID
  18324. type: integer
  18325. produces:
  18326. - application/json
  18327. responses:
  18328. "200":
  18329. description: OK
  18330. schema:
  18331. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18332. "500":
  18333. description: Internal Server Error
  18334. schema:
  18335. $ref: '#/definitions/app.Response'
  18336. security:
  18337. - ApiKeyAuth: []
  18338. summary: 获取企业风管期货持仓头寸信息
  18339. tags:
  18340. - 企业风险管理(app)
  18341. /Ermcp/QueryExposureDetail:
  18342. get:
  18343. parameters:
  18344. - description: 所属机构ID
  18345. in: query
  18346. name: areaUserId
  18347. required: true
  18348. type: integer
  18349. - description: 套保商品
  18350. in: query
  18351. name: middleGoodsId
  18352. required: true
  18353. type: integer
  18354. produces:
  18355. - application/json
  18356. responses:
  18357. "200":
  18358. description: OK
  18359. schema:
  18360. items:
  18361. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18362. type: array
  18363. "500":
  18364. description: Internal Server Error
  18365. schema:
  18366. $ref: '#/definitions/app.Response'
  18367. security:
  18368. - ApiKeyAuth: []
  18369. summary: 查询敞口现货明细
  18370. tags:
  18371. - 企业风险管理(app)
  18372. /Ermcp/QueryExposureGoods:
  18373. get:
  18374. parameters:
  18375. - description: 套保商品id
  18376. in: query
  18377. name: middlegoodsid
  18378. required: true
  18379. type: integer
  18380. produces:
  18381. - application/json
  18382. responses:
  18383. "200":
  18384. description: OK
  18385. schema:
  18386. items:
  18387. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18388. type: array
  18389. "500":
  18390. description: Internal Server Error
  18391. schema:
  18392. $ref: '#/definitions/app.Response'
  18393. security:
  18394. - ApiKeyAuth: []
  18395. summary: 查询敞口主力合约
  18396. tags:
  18397. - 企业风险管理(app)
  18398. /Ermcp/QueryExposureHedgePosition:
  18399. get:
  18400. parameters:
  18401. - description: 用户id
  18402. in: query
  18403. name: userid
  18404. required: true
  18405. type: integer
  18406. produces:
  18407. - application/json
  18408. responses:
  18409. "200":
  18410. description: OK
  18411. schema:
  18412. items:
  18413. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18414. type: array
  18415. "500":
  18416. description: Internal Server Error
  18417. schema:
  18418. $ref: '#/definitions/app.Response'
  18419. security:
  18420. - ApiKeyAuth: []
  18421. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18422. tags:
  18423. - 企业风险管理(app)
  18424. /Ermcp/QueryExposureHedgePositionDetail:
  18425. get:
  18426. parameters:
  18427. - description: 所属机构ID
  18428. in: query
  18429. name: userid
  18430. required: true
  18431. type: integer
  18432. - description: 商品id
  18433. in: query
  18434. name: goodsId
  18435. required: true
  18436. type: integer
  18437. produces:
  18438. - application/json
  18439. responses:
  18440. "200":
  18441. description: OK
  18442. schema:
  18443. items:
  18444. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18445. type: array
  18446. "500":
  18447. description: Internal Server Error
  18448. schema:
  18449. $ref: '#/definitions/app.Response'
  18450. security:
  18451. - ApiKeyAuth: []
  18452. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18453. tags:
  18454. - 企业风险管理(app)
  18455. /Ermcp/QueryExposureSpot:
  18456. get:
  18457. parameters:
  18458. - description: 所属机构ID
  18459. in: query
  18460. name: areaUserId
  18461. required: true
  18462. type: integer
  18463. produces:
  18464. - application/json
  18465. responses:
  18466. "200":
  18467. description: OK
  18468. schema:
  18469. items:
  18470. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18471. type: array
  18472. "500":
  18473. description: Internal Server Error
  18474. schema:
  18475. $ref: '#/definitions/app.Response'
  18476. security:
  18477. - ApiKeyAuth: []
  18478. summary: 查询敞口现货头寸(敞口/现货头寸)
  18479. tags:
  18480. - 企业风险管理(app)
  18481. /Ermcp/QueryExposureSpotDetail:
  18482. get:
  18483. parameters:
  18484. - description: 所属机构ID
  18485. in: query
  18486. name: areaUserId
  18487. required: true
  18488. type: integer
  18489. - description: 现货品种ID
  18490. in: query
  18491. name: wrstandardId
  18492. required: true
  18493. type: integer
  18494. produces:
  18495. - application/json
  18496. responses:
  18497. "200":
  18498. description: OK
  18499. schema:
  18500. items:
  18501. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  18502. type: array
  18503. "500":
  18504. description: Internal Server Error
  18505. schema:
  18506. $ref: '#/definitions/app.Response'
  18507. security:
  18508. - ApiKeyAuth: []
  18509. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18510. tags:
  18511. - 企业风险管理(app)
  18512. /Ermcp/QueryFuturesCompany:
  18513. get:
  18514. produces:
  18515. - application/json
  18516. responses:
  18517. "200":
  18518. description: OK
  18519. schema:
  18520. items:
  18521. $ref: '#/definitions/models.ErmcpFuturesCompany'
  18522. type: array
  18523. "500":
  18524. description: Internal Server Error
  18525. schema:
  18526. $ref: '#/definitions/app.Response'
  18527. security:
  18528. - ApiKeyAuth: []
  18529. summary: 查询期货公司
  18530. tags:
  18531. - 企业风险管理(app)
  18532. /Ermcp/QueryGGConvertConfig:
  18533. get:
  18534. parameters:
  18535. - description: 品种id(不填则查所有)
  18536. in: query
  18537. name: goodsgroupid
  18538. type: integer
  18539. produces:
  18540. - application/json
  18541. responses:
  18542. "200":
  18543. description: OK
  18544. schema:
  18545. items:
  18546. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  18547. type: array
  18548. "500":
  18549. description: Internal Server Error
  18550. schema:
  18551. $ref: '#/definitions/app.Response'
  18552. security:
  18553. - ApiKeyAuth: []
  18554. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  18555. tags:
  18556. - 企业风险管理(app)
  18557. /Ermcp/QueryGoodsBrand:
  18558. get:
  18559. parameters:
  18560. - description: 用户ID
  18561. in: query
  18562. name: userid
  18563. required: true
  18564. type: integer
  18565. - description: 现货商品ID
  18566. in: query
  18567. name: wrstandardid
  18568. type: integer
  18569. produces:
  18570. - application/json
  18571. responses:
  18572. "200":
  18573. description: OK
  18574. schema:
  18575. items:
  18576. $ref: '#/definitions/models.ErmcpGoodsBrand'
  18577. type: array
  18578. "500":
  18579. description: Internal Server Error
  18580. schema:
  18581. $ref: '#/definitions/app.Response'
  18582. security:
  18583. - ApiKeyAuth: []
  18584. summary: 查询商品品牌
  18585. tags:
  18586. - 企业风险管理(app)
  18587. /Ermcp/QueryGoodsModel:
  18588. get:
  18589. parameters:
  18590. - description: 用户ID
  18591. in: query
  18592. name: userid
  18593. required: true
  18594. type: integer
  18595. produces:
  18596. - application/json
  18597. responses:
  18598. "200":
  18599. description: OK
  18600. schema:
  18601. items:
  18602. $ref: '#/definitions/models.ErmcpGoodsModel'
  18603. type: array
  18604. "500":
  18605. description: Internal Server Error
  18606. schema:
  18607. $ref: '#/definitions/app.Response'
  18608. security:
  18609. - ApiKeyAuth: []
  18610. summary: 查询商品型号
  18611. tags:
  18612. - 企业风险管理(app)
  18613. /Ermcp/QueryHisExposure:
  18614. get:
  18615. parameters:
  18616. - description: 用户id
  18617. in: query
  18618. name: userid
  18619. required: true
  18620. type: integer
  18621. - description: 每个品种记录数
  18622. in: query
  18623. name: lastNum
  18624. required: true
  18625. type: integer
  18626. produces:
  18627. - application/json
  18628. responses:
  18629. "200":
  18630. description: OK
  18631. schema:
  18632. items:
  18633. $ref: '#/definitions/ermcp.HisExposureRsp'
  18634. type: array
  18635. "500":
  18636. description: Internal Server Error
  18637. schema:
  18638. $ref: '#/definitions/app.Response'
  18639. security:
  18640. - ApiKeyAuth: []
  18641. summary: 查询历史敞口(菜单:敞口/历史敞口)
  18642. tags:
  18643. - 企业风险管理(app)
  18644. /Ermcp/QueryMiddleGoods:
  18645. get:
  18646. parameters:
  18647. - description: 所属机构ID
  18648. in: query
  18649. name: userid
  18650. required: true
  18651. type: integer
  18652. - description: 状态 0-停用 1-正常
  18653. in: query
  18654. name: status
  18655. required: true
  18656. type: integer
  18657. produces:
  18658. - application/json
  18659. responses:
  18660. "200":
  18661. description: OK
  18662. schema:
  18663. items:
  18664. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  18665. type: array
  18666. "500":
  18667. description: Internal Server Error
  18668. schema:
  18669. $ref: '#/definitions/app.Response'
  18670. security:
  18671. - ApiKeyAuth: []
  18672. summary: 查询套保品种(菜单:套保品种)
  18673. tags:
  18674. - 企业风险管理(app)
  18675. /Ermcp/QueryMiddleGoodsChangeLog:
  18676. get:
  18677. parameters:
  18678. - description: 所属机构ID
  18679. in: query
  18680. name: userid
  18681. required: true
  18682. type: integer
  18683. - description: 套保品种id
  18684. in: query
  18685. name: middlegoodsid
  18686. required: true
  18687. type: integer
  18688. produces:
  18689. - application/json
  18690. responses:
  18691. "200":
  18692. description: OK
  18693. schema:
  18694. items:
  18695. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  18696. type: array
  18697. "500":
  18698. description: Internal Server Error
  18699. schema:
  18700. $ref: '#/definitions/app.Response'
  18701. security:
  18702. - ApiKeyAuth: []
  18703. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  18704. tags:
  18705. - 企业风险管理(app)
  18706. /Ermcp/QueryMiddleGoodsDetail:
  18707. get:
  18708. parameters:
  18709. - description: 所属机构ID
  18710. in: query
  18711. name: userid
  18712. required: true
  18713. type: integer
  18714. - description: 套保品种id
  18715. in: query
  18716. name: middlegoodsid
  18717. type: integer
  18718. produces:
  18719. - application/json
  18720. responses:
  18721. "200":
  18722. description: OK
  18723. schema:
  18724. items:
  18725. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  18726. type: array
  18727. "500":
  18728. description: Internal Server Error
  18729. schema:
  18730. $ref: '#/definitions/app.Response'
  18731. security:
  18732. - ApiKeyAuth: []
  18733. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  18734. tags:
  18735. - 企业风险管理(app)
  18736. /Ermcp/QueryPendingAuditInfo:
  18737. get:
  18738. parameters:
  18739. - description: 用户ID
  18740. in: query
  18741. name: UserId
  18742. required: true
  18743. type: integer
  18744. produces:
  18745. - application/json
  18746. responses:
  18747. "200":
  18748. description: OK
  18749. schema:
  18750. items:
  18751. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  18752. type: array
  18753. "500":
  18754. description: Internal Server Error
  18755. schema:
  18756. $ref: '#/definitions/app.Response'
  18757. security:
  18758. - ApiKeyAuth: []
  18759. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  18760. tags:
  18761. - 企业风险管理(app)
  18762. /Ermcp/QueryRealtimeExposure:
  18763. get:
  18764. parameters:
  18765. - description: 所属机构ID
  18766. in: query
  18767. name: userid
  18768. required: true
  18769. type: integer
  18770. produces:
  18771. - application/json
  18772. responses:
  18773. "200":
  18774. description: OK
  18775. schema:
  18776. items:
  18777. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  18778. type: array
  18779. "500":
  18780. description: Internal Server Error
  18781. schema:
  18782. $ref: '#/definitions/app.Response'
  18783. security:
  18784. - ApiKeyAuth: []
  18785. summary: 查询实时敞口
  18786. tags:
  18787. - 企业风险管理(app)
  18788. /Ermcp/QueryRealtimeExposurePosition:
  18789. get:
  18790. parameters:
  18791. - description: 用户id
  18792. in: query
  18793. name: userid
  18794. required: true
  18795. type: integer
  18796. - description: 套保商品ID
  18797. in: query
  18798. name: middleGoodsId
  18799. required: true
  18800. type: integer
  18801. produces:
  18802. - application/json
  18803. responses:
  18804. "200":
  18805. description: OK
  18806. schema:
  18807. items:
  18808. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  18809. type: array
  18810. "500":
  18811. description: Internal Server Error
  18812. schema:
  18813. $ref: '#/definitions/app.Response'
  18814. security:
  18815. - ApiKeyAuth: []
  18816. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  18817. tags:
  18818. - 企业风险管理(app)
  18819. /Ermcp/QueryRoleMenu:
  18820. get:
  18821. parameters:
  18822. - description: 登录ID
  18823. in: query
  18824. name: loginid
  18825. required: true
  18826. type: integer
  18827. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  18828. in: query
  18829. name: menutype
  18830. type: integer
  18831. produces:
  18832. - application/json
  18833. responses:
  18834. "200":
  18835. description: OK
  18836. schema:
  18837. items:
  18838. $ref: '#/definitions/models.RoleMenu'
  18839. type: array
  18840. "500":
  18841. description: Internal Server Error
  18842. schema:
  18843. $ref: '#/definitions/app.Response'
  18844. security:
  18845. - ApiKeyAuth: []
  18846. summary: 查询角色菜单和权限
  18847. tags:
  18848. - 企业风险管理(app)
  18849. /Ermcp/QueryTradeConfigTMP:
  18850. get:
  18851. parameters:
  18852. - description: 所属机构id
  18853. in: query
  18854. name: areauserid
  18855. type: integer
  18856. produces:
  18857. - application/json
  18858. responses:
  18859. "200":
  18860. description: OK
  18861. schema:
  18862. items:
  18863. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  18864. type: array
  18865. "500":
  18866. description: Internal Server Error
  18867. schema:
  18868. $ref: '#/definitions/app.Response'
  18869. security:
  18870. - ApiKeyAuth: []
  18871. summary: 查询交易模板配置
  18872. tags:
  18873. - 企业风险管理(app)
  18874. /Ermcp/QueryUserInfo:
  18875. get:
  18876. parameters:
  18877. - description: 所属机构用户ID
  18878. in: query
  18879. name: MemberUserID
  18880. required: true
  18881. type: integer
  18882. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  18883. in: query
  18884. name: queryType
  18885. required: true
  18886. type: integer
  18887. produces:
  18888. - application/json
  18889. responses:
  18890. "200":
  18891. description: OK
  18892. schema:
  18893. items:
  18894. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  18895. type: array
  18896. "500":
  18897. description: Internal Server Error
  18898. schema:
  18899. $ref: '#/definitions/app.Response'
  18900. security:
  18901. - ApiKeyAuth: []
  18902. summary: 查询客户资料
  18903. tags:
  18904. - 企业风险管理(app)
  18905. /Ermcp/QueryWarehouseInfo:
  18906. get:
  18907. parameters:
  18908. - description: 用户ID
  18909. in: query
  18910. name: userid
  18911. required: true
  18912. type: integer
  18913. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  18914. in: query
  18915. name: status
  18916. type: string
  18917. produces:
  18918. - application/json
  18919. responses:
  18920. "200":
  18921. description: OK
  18922. schema:
  18923. items:
  18924. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  18925. type: array
  18926. "500":
  18927. description: Internal Server Error
  18928. schema:
  18929. $ref: '#/definitions/app.Response'
  18930. security:
  18931. - ApiKeyAuth: []
  18932. summary: 查询仓库信息
  18933. tags:
  18934. - 企业风险管理(app)
  18935. /Ermcp3/QryAreaExpourseContractDetail:
  18936. get:
  18937. parameters:
  18938. - description: 用户ID
  18939. in: query
  18940. name: userid
  18941. required: true
  18942. type: integer
  18943. - description: 套保商品id
  18944. in: query
  18945. name: middlegoodsid
  18946. required: true
  18947. type: integer
  18948. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18949. in: query
  18950. name: cycletype
  18951. required: true
  18952. type: integer
  18953. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18954. 全(0)【原值】
  18955. in: query
  18956. name: cycletime
  18957. required: true
  18958. type: string
  18959. produces:
  18960. - application/json
  18961. responses:
  18962. "200":
  18963. description: OK
  18964. schema:
  18965. items:
  18966. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  18967. type: array
  18968. "500":
  18969. description: Internal Server Error
  18970. schema:
  18971. $ref: '#/definitions/app.Response'
  18972. security:
  18973. - ApiKeyAuth: []
  18974. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  18975. tags:
  18976. - 企业风险管理v3(app)
  18977. /Ermcp3/QryAreaExpourseFutuDetail:
  18978. get:
  18979. parameters:
  18980. - description: 用户ID
  18981. in: query
  18982. name: userid
  18983. required: true
  18984. type: integer
  18985. - description: 套保商品id
  18986. in: query
  18987. name: middlegoodsid
  18988. required: true
  18989. type: integer
  18990. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18991. in: query
  18992. name: cycletype
  18993. required: true
  18994. type: integer
  18995. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18996. 全(0)【原值】
  18997. in: query
  18998. name: cycletime
  18999. required: true
  19000. type: string
  19001. produces:
  19002. - application/json
  19003. responses:
  19004. "200":
  19005. description: OK
  19006. schema:
  19007. items:
  19008. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19009. type: array
  19010. "500":
  19011. description: Internal Server Error
  19012. schema:
  19013. $ref: '#/definitions/app.Response'
  19014. security:
  19015. - ApiKeyAuth: []
  19016. summary: 查询敞口期货明细(敞口报表/期货明细)
  19017. tags:
  19018. - 企业风险管理v3(app)
  19019. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19020. get:
  19021. parameters:
  19022. - description: 用户ID
  19023. in: query
  19024. name: userid
  19025. required: true
  19026. type: integer
  19027. - description: 套保商品id
  19028. in: query
  19029. name: middlegoodsid
  19030. required: true
  19031. type: integer
  19032. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19033. in: query
  19034. name: cycletype
  19035. required: true
  19036. type: integer
  19037. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19038. 全(0)【原值】
  19039. in: query
  19040. name: cycletime
  19041. required: true
  19042. type: string
  19043. produces:
  19044. - application/json
  19045. responses:
  19046. "200":
  19047. description: OK
  19048. schema:
  19049. items:
  19050. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19051. type: array
  19052. "500":
  19053. description: Internal Server Error
  19054. schema:
  19055. $ref: '#/definitions/app.Response'
  19056. security:
  19057. - ApiKeyAuth: []
  19058. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19059. tags:
  19060. - 企业风险管理v3(app)
  19061. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19062. get:
  19063. parameters:
  19064. - description: 用户ID
  19065. in: query
  19066. name: userid
  19067. required: true
  19068. type: integer
  19069. - description: 套保商品id
  19070. in: query
  19071. name: middlegoodsid
  19072. required: true
  19073. type: integer
  19074. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19075. in: query
  19076. name: cycletype
  19077. required: true
  19078. type: integer
  19079. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19080. 全(0)【原值】
  19081. in: query
  19082. name: cycletime
  19083. required: true
  19084. type: string
  19085. produces:
  19086. - application/json
  19087. responses:
  19088. "200":
  19089. description: OK
  19090. schema:
  19091. items:
  19092. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19093. type: array
  19094. "500":
  19095. description: Internal Server Error
  19096. schema:
  19097. $ref: '#/definitions/app.Response'
  19098. security:
  19099. - ApiKeyAuth: []
  19100. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19101. tags:
  19102. - 企业风险管理v3(app)
  19103. /Ermcp3/QryAreaExpourseReport:
  19104. get:
  19105. parameters:
  19106. - description: 用户ID
  19107. in: query
  19108. name: userid
  19109. required: true
  19110. type: integer
  19111. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19112. in: query
  19113. name: querytype
  19114. required: true
  19115. type: integer
  19116. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19117. in: query
  19118. name: cycletype
  19119. required: true
  19120. type: integer
  19121. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19122. 全(0)【原值】
  19123. in: query
  19124. name: cycletime
  19125. required: true
  19126. type: string
  19127. produces:
  19128. - application/json
  19129. responses:
  19130. "200":
  19131. description: OK
  19132. schema:
  19133. items:
  19134. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19135. type: array
  19136. "500":
  19137. description: Internal Server Error
  19138. schema:
  19139. $ref: '#/definitions/app.Response'
  19140. security:
  19141. - ApiKeyAuth: []
  19142. summary: 查询敞口报表
  19143. tags:
  19144. - 企业风险管理v3(app)
  19145. /Ermcp3/QryAreaSpotplReport:
  19146. get:
  19147. parameters:
  19148. - description: 用户ID
  19149. in: query
  19150. name: userid
  19151. required: true
  19152. type: integer
  19153. - description: 查询类型 1-报表 2-报表明细
  19154. in: query
  19155. name: querytype
  19156. required: true
  19157. type: integer
  19158. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19159. in: query
  19160. name: cycletype
  19161. required: true
  19162. type: integer
  19163. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19164. 全(0)【原值】
  19165. in: query
  19166. name: cycletime
  19167. required: true
  19168. type: string
  19169. - description: 现货品种id(明细必填)
  19170. in: query
  19171. name: deliverygoodsid
  19172. type: integer
  19173. - description: 币种id(明细必填)
  19174. in: query
  19175. name: currencyid
  19176. type: integer
  19177. produces:
  19178. - application/json
  19179. responses:
  19180. "200":
  19181. description: OK
  19182. schema:
  19183. items:
  19184. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  19185. type: array
  19186. "500":
  19187. description: Internal Server Error
  19188. schema:
  19189. $ref: '#/definitions/app.Response'
  19190. security:
  19191. - ApiKeyAuth: []
  19192. summary: 查询现货报表
  19193. tags:
  19194. - 企业风险管理v3(app)
  19195. /Ermcp3/QryAreaStockReport:
  19196. get:
  19197. parameters:
  19198. - description: 用户ID
  19199. in: query
  19200. name: userid
  19201. required: true
  19202. type: integer
  19203. - description: 查询类型 1-报表 2-报表明细
  19204. in: query
  19205. name: querytype
  19206. required: true
  19207. type: integer
  19208. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19209. in: query
  19210. name: cycletype
  19211. required: true
  19212. type: integer
  19213. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19214. 全(0)【原值】
  19215. in: query
  19216. name: cycletime
  19217. required: true
  19218. type: string
  19219. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19220. in: query
  19221. name: sumfields
  19222. type: string
  19223. - description: 品种ID
  19224. in: query
  19225. name: deliverygoodsid
  19226. type: integer
  19227. - description: 品类ID
  19228. in: query
  19229. name: wrstandardid
  19230. type: integer
  19231. - description: 品牌ID
  19232. in: query
  19233. name: spotgoodsbrandid
  19234. type: integer
  19235. - description: 仓库ID
  19236. in: query
  19237. name: warehouseinfoid
  19238. type: integer
  19239. produces:
  19240. - application/json
  19241. responses:
  19242. "200":
  19243. description: OK
  19244. schema:
  19245. items:
  19246. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19247. type: array
  19248. "500":
  19249. description: Internal Server Error
  19250. schema:
  19251. $ref: '#/definitions/app.Response'
  19252. security:
  19253. - ApiKeyAuth: []
  19254. summary: 查询库存报表
  19255. tags:
  19256. - 企业风险管理v3(app)
  19257. /Ermcp3/QryAreaSumPL:
  19258. get:
  19259. parameters:
  19260. - description: 用户ID
  19261. in: query
  19262. name: userid
  19263. required: true
  19264. type: integer
  19265. - description: 查询类型 1-报表 2-报表明细
  19266. in: query
  19267. name: querytype
  19268. required: true
  19269. type: integer
  19270. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19271. in: query
  19272. name: cycletype
  19273. required: true
  19274. type: integer
  19275. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19276. 全(0)【原值】
  19277. in: query
  19278. name: cycletime
  19279. required: true
  19280. type: string
  19281. - description: 币种id(明细必填)
  19282. in: query
  19283. name: currencyid
  19284. type: integer
  19285. produces:
  19286. - application/json
  19287. responses:
  19288. "200":
  19289. description: OK
  19290. schema:
  19291. items:
  19292. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19293. type: array
  19294. "500":
  19295. description: Internal Server Error
  19296. schema:
  19297. $ref: '#/definitions/app.Response'
  19298. security:
  19299. - ApiKeyAuth: []
  19300. summary: 查询汇总损益表
  19301. tags:
  19302. - 企业风险管理v3(app)
  19303. /Ermcp3/QryFinanceReport:
  19304. get:
  19305. parameters:
  19306. - description: 用户ID
  19307. in: query
  19308. name: userid
  19309. required: true
  19310. type: integer
  19311. - description: 查询类型 1-报表 2-报表明细
  19312. in: query
  19313. name: querytype
  19314. required: true
  19315. type: integer
  19316. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19317. in: query
  19318. name: cycletype
  19319. required: true
  19320. type: integer
  19321. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19322. 全(0)【原值】
  19323. in: query
  19324. name: cycletime
  19325. required: true
  19326. type: string
  19327. - description: 币种id(报表明细必填)
  19328. in: query
  19329. name: currencyid
  19330. type: integer
  19331. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19332. in: query
  19333. name: sumfields
  19334. type: string
  19335. produces:
  19336. - application/json
  19337. responses:
  19338. "200":
  19339. description: OK
  19340. schema:
  19341. items:
  19342. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19343. type: array
  19344. "500":
  19345. description: Internal Server Error
  19346. schema:
  19347. $ref: '#/definitions/app.Response'
  19348. security:
  19349. - ApiKeyAuth: []
  19350. summary: 查询财务报表
  19351. tags:
  19352. - 企业风险管理v3(app)
  19353. /Ermcp3/QryTaFutureDataReport:
  19354. get:
  19355. parameters:
  19356. - description: 用户ID
  19357. in: query
  19358. name: userid
  19359. required: true
  19360. type: integer
  19361. - description: 查询类型 1-报表 2-报表明细
  19362. in: query
  19363. name: querytype
  19364. required: true
  19365. type: integer
  19366. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19367. in: query
  19368. name: cycletype
  19369. required: true
  19370. type: integer
  19371. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19372. 全(0)【原值】
  19373. in: query
  19374. name: cycletime
  19375. required: true
  19376. type: string
  19377. - description: 币种id(查明细必填)
  19378. in: query
  19379. name: currencyid
  19380. type: integer
  19381. - description: 品种id(查明细必填)
  19382. in: query
  19383. name: goodsgroupid
  19384. type: integer
  19385. - description: 商品id(查明细必填)
  19386. in: query
  19387. name: goodsid
  19388. type: integer
  19389. - description: 买卖方向(查明细必填)
  19390. in: query
  19391. name: buyorsell
  19392. type: integer
  19393. produces:
  19394. - application/json
  19395. responses:
  19396. "200":
  19397. description: OK
  19398. schema:
  19399. items:
  19400. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  19401. type: array
  19402. "500":
  19403. description: Internal Server Error
  19404. schema:
  19405. $ref: '#/definitions/app.Response'
  19406. security:
  19407. - ApiKeyAuth: []
  19408. summary: 查询期货报表
  19409. tags:
  19410. - 企业风险管理v3(app)
  19411. /Ermcp3/QueryAreaStock:
  19412. get:
  19413. parameters:
  19414. - description: 用户ID
  19415. in: query
  19416. name: userid
  19417. required: true
  19418. type: integer
  19419. produces:
  19420. - application/json
  19421. responses:
  19422. "200":
  19423. description: OK
  19424. schema:
  19425. items:
  19426. $ref: '#/definitions/models.Ermcp3AreaStock'
  19427. type: array
  19428. "500":
  19429. description: Internal Server Error
  19430. schema:
  19431. $ref: '#/definitions/app.Response'
  19432. security:
  19433. - ApiKeyAuth: []
  19434. summary: 查询机构库存(库存管理/当前库存)
  19435. tags:
  19436. - 企业风险管理v3(app)
  19437. /Ermcp3/QueryAreaStockApply:
  19438. get:
  19439. parameters:
  19440. - description: 用户ID
  19441. in: query
  19442. name: userid
  19443. required: true
  19444. type: integer
  19445. - description: 用户类型 2-机构 7-企业成员
  19446. in: query
  19447. name: usertype
  19448. type: integer
  19449. - description: 现货商品ID
  19450. in: query
  19451. name: deliverygoodsid
  19452. type: integer
  19453. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19454. in: query
  19455. name: inouttype
  19456. type: string
  19457. - description: 合同ID
  19458. in: query
  19459. name: spotcontractid
  19460. type: integer
  19461. - description: 品类ID
  19462. in: query
  19463. name: wrstandardid
  19464. type: integer
  19465. - description: 品牌ID
  19466. in: query
  19467. name: spotgoodsbrandid
  19468. type: integer
  19469. - description: 仓库ID
  19470. in: query
  19471. name: warehouseinfoid
  19472. type: integer
  19473. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19474. in: query
  19475. name: applystatus
  19476. type: string
  19477. produces:
  19478. - application/json
  19479. responses:
  19480. "200":
  19481. description: OK
  19482. schema:
  19483. items:
  19484. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  19485. type: array
  19486. "500":
  19487. description: Internal Server Error
  19488. schema:
  19489. $ref: '#/definitions/app.Response'
  19490. security:
  19491. - ApiKeyAuth: []
  19492. summary: 查询库存申请(出入库记录|库存审核)
  19493. tags:
  19494. - 企业风险管理v3(app)
  19495. /Ermcp3/QueryAreaStockApplySum:
  19496. get:
  19497. parameters:
  19498. - description: 合同ID
  19499. in: query
  19500. name: spotcontractid
  19501. required: true
  19502. type: integer
  19503. produces:
  19504. - application/json
  19505. responses:
  19506. "200":
  19507. description: OK
  19508. schema:
  19509. items:
  19510. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  19511. type: array
  19512. "500":
  19513. description: Internal Server Error
  19514. schema:
  19515. $ref: '#/definitions/app.Response'
  19516. security:
  19517. - ApiKeyAuth: []
  19518. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  19519. tags:
  19520. - 企业风险管理v3(app)
  19521. /Ermcp3/QueryDGFactoryItem:
  19522. get:
  19523. parameters:
  19524. - description: 用户id
  19525. in: query
  19526. name: userid
  19527. type: integer
  19528. - description: 用户类型 2-机构 7-企业成员
  19529. in: query
  19530. name: usertype
  19531. type: integer
  19532. - description: 选择项ID(SEQ_DGFACTORYITEM)
  19533. in: query
  19534. name: dgfactoryitemid
  19535. type: integer
  19536. - description: 现货品种ID
  19537. in: query
  19538. name: deliverygoodsid
  19539. type: integer
  19540. - description: 要素项类型
  19541. in: query
  19542. name: dgfactoryitemtypeid
  19543. type: integer
  19544. - description: 顺序
  19545. in: query
  19546. name: orderindex
  19547. type: integer
  19548. produces:
  19549. - application/json
  19550. responses:
  19551. "200":
  19552. description: OK
  19553. schema:
  19554. items:
  19555. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  19556. type: array
  19557. "500":
  19558. description: Internal Server Error
  19559. schema:
  19560. $ref: '#/definitions/app.Response'
  19561. security:
  19562. - ApiKeyAuth: []
  19563. summary: 查询品种要素定义项
  19564. tags:
  19565. - 企业风险管理v3(app)
  19566. /Ermcp3/QueryDeliveryGoods:
  19567. get:
  19568. parameters:
  19569. - description: 用户id
  19570. in: query
  19571. name: userid
  19572. required: true
  19573. type: integer
  19574. - description: 用户类型 2-机构 7-企业成员
  19575. in: query
  19576. name: usertype
  19577. type: integer
  19578. - description: 排除已配置的业务类型商品 1-套保 2-套利
  19579. in: query
  19580. name: excludecfg
  19581. type: integer
  19582. produces:
  19583. - application/json
  19584. responses:
  19585. "200":
  19586. description: OK
  19587. schema:
  19588. items:
  19589. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  19590. type: array
  19591. "500":
  19592. description: Internal Server Error
  19593. schema:
  19594. $ref: '#/definitions/app.Response'
  19595. security:
  19596. - ApiKeyAuth: []
  19597. summary: 查询现货商品
  19598. tags:
  19599. - 企业风险管理v3(app)
  19600. /Ermcp3/QueryDeliveryGoodsDetail:
  19601. get:
  19602. parameters:
  19603. - description: 用户id
  19604. in: query
  19605. name: userid
  19606. required: true
  19607. type: integer
  19608. - description: 用户类型 2-机构 7-企业成员
  19609. in: query
  19610. name: usertype
  19611. type: integer
  19612. - description: 现货商品id
  19613. in: query
  19614. name: deliverygoodsid
  19615. type: integer
  19616. produces:
  19617. - application/json
  19618. responses:
  19619. "200":
  19620. description: OK
  19621. schema:
  19622. items:
  19623. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  19624. type: array
  19625. "500":
  19626. description: Internal Server Error
  19627. schema:
  19628. $ref: '#/definitions/app.Response'
  19629. security:
  19630. - ApiKeyAuth: []
  19631. summary: 查询现货商品详情
  19632. tags:
  19633. - 企业风险管理v3(app)
  19634. /Ermcp3/QueryExposureDetail:
  19635. get:
  19636. parameters:
  19637. - description: 用户id
  19638. in: query
  19639. name: userid
  19640. required: true
  19641. type: integer
  19642. - description: 用户类型 2-机构 7-企业成员
  19643. in: query
  19644. name: usertype
  19645. type: integer
  19646. - description: 套保商品
  19647. in: query
  19648. name: middlegoodsid
  19649. required: true
  19650. type: integer
  19651. produces:
  19652. - application/json
  19653. responses:
  19654. "200":
  19655. description: OK
  19656. schema:
  19657. items:
  19658. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  19659. type: array
  19660. "500":
  19661. description: Internal Server Error
  19662. schema:
  19663. $ref: '#/definitions/app.Response'
  19664. security:
  19665. - ApiKeyAuth: []
  19666. summary: 查询敞口现货明细
  19667. tags:
  19668. - 企业风险管理v3(app)
  19669. /Ermcp3/QueryExposureSpot:
  19670. get:
  19671. parameters:
  19672. - description: 用户id
  19673. in: query
  19674. name: userid
  19675. required: true
  19676. type: integer
  19677. - description: 用户类型 2-机构 7-企业成员
  19678. in: query
  19679. name: usertype
  19680. type: integer
  19681. produces:
  19682. - application/json
  19683. responses:
  19684. "200":
  19685. description: OK
  19686. schema:
  19687. items:
  19688. $ref: '#/definitions/models.Ermcp3AreaSpot'
  19689. type: array
  19690. "500":
  19691. description: Internal Server Error
  19692. schema:
  19693. $ref: '#/definitions/app.Response'
  19694. security:
  19695. - ApiKeyAuth: []
  19696. summary: 查询敞口现货头寸(敞口/现货头寸)
  19697. tags:
  19698. - 企业风险管理v3(app)
  19699. /Ermcp3/QueryExposureSpotDetail:
  19700. get:
  19701. parameters:
  19702. - description: 用户id
  19703. in: query
  19704. name: userid
  19705. required: true
  19706. type: integer
  19707. - description: 用户类型 2-机构 7-企业成员
  19708. in: query
  19709. name: usertype
  19710. type: integer
  19711. - description: 现货品种ID
  19712. in: query
  19713. name: deliverygoodsid
  19714. required: true
  19715. type: integer
  19716. produces:
  19717. - application/json
  19718. responses:
  19719. "200":
  19720. description: OK
  19721. schema:
  19722. items:
  19723. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  19724. type: array
  19725. "500":
  19726. description: Internal Server Error
  19727. schema:
  19728. $ref: '#/definitions/app.Response'
  19729. security:
  19730. - ApiKeyAuth: []
  19731. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19732. tags:
  19733. - 企业风险管理v3(app)
  19734. /Ermcp3/QueryGoodsGroup:
  19735. get:
  19736. parameters:
  19737. - description: 用户id
  19738. in: query
  19739. name: userid
  19740. required: true
  19741. type: integer
  19742. - description: 用户类型 2-机构 7-企业成员
  19743. in: query
  19744. name: usertype
  19745. type: integer
  19746. - description: 排除套保品中已关联的商品组 1-排除
  19747. in: query
  19748. name: excludecfg
  19749. type: integer
  19750. produces:
  19751. - application/json
  19752. responses:
  19753. "200":
  19754. description: OK
  19755. schema:
  19756. items:
  19757. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  19758. type: array
  19759. "500":
  19760. description: Internal Server Error
  19761. schema:
  19762. $ref: '#/definitions/app.Response'
  19763. security:
  19764. - ApiKeyAuth: []
  19765. summary: 查询期货商品组
  19766. tags:
  19767. - 企业风险管理v3(app)
  19768. /Ermcp3/QueryGoodsWrstandard:
  19769. get:
  19770. parameters:
  19771. - description: 用户id
  19772. in: query
  19773. name: userid
  19774. required: true
  19775. type: integer
  19776. - description: 用户类型 2-机构 7-企业成员
  19777. in: query
  19778. name: usertype
  19779. type: integer
  19780. - description: 现货商品id
  19781. in: query
  19782. name: deliverygoodsid
  19783. type: integer
  19784. produces:
  19785. - application/json
  19786. responses:
  19787. "200":
  19788. description: OK
  19789. schema:
  19790. items:
  19791. $ref: '#/definitions/models.Ermcp3Wrstandard'
  19792. type: array
  19793. "500":
  19794. description: Internal Server Error
  19795. schema:
  19796. $ref: '#/definitions/app.Response'
  19797. security:
  19798. - ApiKeyAuth: []
  19799. summary: 查询商品品类
  19800. tags:
  19801. - 企业风险管理v3(app)
  19802. /Ermcp3/QueryGoodsbrand:
  19803. get:
  19804. parameters:
  19805. - description: 用户id
  19806. in: query
  19807. name: userid
  19808. required: true
  19809. type: integer
  19810. - description: 用户类型 2-机构 7-企业成员
  19811. in: query
  19812. name: usertype
  19813. type: integer
  19814. produces:
  19815. - application/json
  19816. responses:
  19817. "200":
  19818. description: OK
  19819. schema:
  19820. items:
  19821. $ref: '#/definitions/models.Ermcp3Brand'
  19822. type: array
  19823. "500":
  19824. description: Internal Server Error
  19825. schema:
  19826. $ref: '#/definitions/app.Response'
  19827. security:
  19828. - ApiKeyAuth: []
  19829. summary: 查询商品品牌
  19830. tags:
  19831. - 企业风险管理v3(app)
  19832. /Ermcp3/QueryHedgePlan:
  19833. get:
  19834. parameters:
  19835. - description: 用户ID
  19836. in: query
  19837. name: userid
  19838. required: true
  19839. type: integer
  19840. - description: 用户类型 2-机构 7-企业成员
  19841. in: query
  19842. name: usertype
  19843. type: integer
  19844. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  19845. in: query
  19846. name: hedgeplanstatus
  19847. required: true
  19848. type: string
  19849. produces:
  19850. - application/json
  19851. responses:
  19852. "200":
  19853. description: OK
  19854. schema:
  19855. items:
  19856. $ref: '#/definitions/models.Ermcp3HedgePlan'
  19857. type: array
  19858. "500":
  19859. description: Internal Server Error
  19860. schema:
  19861. $ref: '#/definitions/app.Response'
  19862. security:
  19863. - ApiKeyAuth: []
  19864. summary: 查询套保计划
  19865. tags:
  19866. - 企业风险管理v3(app)
  19867. /Ermcp3/QueryMiddleGoodsDetail:
  19868. get:
  19869. parameters:
  19870. - description: 用户id
  19871. in: query
  19872. name: userid
  19873. required: true
  19874. type: integer
  19875. - description: 用户类型 2-机构 7-企业成员
  19876. in: query
  19877. name: usertype
  19878. type: integer
  19879. - description: 套保品种id
  19880. in: query
  19881. name: middlegoodsid
  19882. type: integer
  19883. produces:
  19884. - application/json
  19885. responses:
  19886. "200":
  19887. description: OK
  19888. schema:
  19889. items:
  19890. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  19891. type: array
  19892. "500":
  19893. description: Internal Server Error
  19894. schema:
  19895. $ref: '#/definitions/app.Response'
  19896. security:
  19897. - ApiKeyAuth: []
  19898. summary: 查询套保品种详情(套保品种/商品详情)
  19899. tags:
  19900. - 企业风险管理v3(app)
  19901. /Ermcp3/QueryRootUserAccount:
  19902. get:
  19903. parameters:
  19904. - description: 用户ID
  19905. in: query
  19906. name: userid
  19907. required: true
  19908. type: integer
  19909. produces:
  19910. - application/json
  19911. responses:
  19912. "200":
  19913. description: OK
  19914. schema:
  19915. items:
  19916. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  19917. type: array
  19918. "500":
  19919. description: Internal Server Error
  19920. schema:
  19921. $ref: '#/definitions/app.Response'
  19922. security:
  19923. - ApiKeyAuth: []
  19924. summary: 查询顶级用户信息
  19925. tags:
  19926. - 企业风险管理v3(app)
  19927. /Ermcp3/QuerySpotContract:
  19928. get:
  19929. parameters:
  19930. - description: 用户id
  19931. in: query
  19932. name: userid
  19933. required: true
  19934. type: integer
  19935. - description: 用户类型 2-机构 7-企业成员
  19936. in: query
  19937. name: usertype
  19938. type: integer
  19939. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  19940. in: query
  19941. name: querytype
  19942. required: true
  19943. type: integer
  19944. - description: 合同ID(SpotContractId)
  19945. in: query
  19946. name: contractid
  19947. type: string
  19948. produces:
  19949. - application/json
  19950. responses:
  19951. "200":
  19952. description: OK
  19953. schema:
  19954. items:
  19955. $ref: '#/definitions/models.Ermcp3Contract'
  19956. type: array
  19957. "500":
  19958. description: Internal Server Error
  19959. schema:
  19960. $ref: '#/definitions/app.Response'
  19961. security:
  19962. - ApiKeyAuth: []
  19963. summary: 查询现货合同
  19964. tags:
  19965. - 企业风险管理v3(app)
  19966. /Ermcp3/QuerySpotContractBS:
  19967. get:
  19968. parameters:
  19969. - description: 用户id
  19970. in: query
  19971. name: userid
  19972. required: true
  19973. type: integer
  19974. - description: 用户类型 2-机构 7-企业成员
  19975. in: query
  19976. name: usertype
  19977. type: integer
  19978. - description: 合同类型 1-采购, -1-销售
  19979. in: query
  19980. name: contracttype
  19981. required: true
  19982. type: integer
  19983. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  19984. in: query
  19985. name: querytype
  19986. required: true
  19987. type: integer
  19988. - description: 合同ID(SpotContractId)
  19989. in: query
  19990. name: contractid
  19991. type: string
  19992. produces:
  19993. - application/json
  19994. responses:
  19995. "200":
  19996. description: OK
  19997. schema:
  19998. items:
  19999. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20000. type: array
  20001. "500":
  20002. description: Internal Server Error
  20003. schema:
  20004. $ref: '#/definitions/app.Response'
  20005. security:
  20006. - ApiKeyAuth: []
  20007. summary: 查询合同(采购/销售)
  20008. tags:
  20009. - 企业风险管理v3(app)
  20010. /Ermcp3/QuerySpotGoodsPrice:
  20011. get:
  20012. parameters:
  20013. - description: 用户ID
  20014. in: query
  20015. name: userid
  20016. required: true
  20017. type: integer
  20018. produces:
  20019. - application/json
  20020. responses:
  20021. "200":
  20022. description: OK
  20023. schema:
  20024. items:
  20025. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20026. type: array
  20027. "500":
  20028. description: Internal Server Error
  20029. schema:
  20030. $ref: '#/definitions/app.Response'
  20031. security:
  20032. - ApiKeyAuth: []
  20033. summary: 查询现货市价(现货市价)
  20034. tags:
  20035. - 企业风险管理v3(app)
  20036. /Ermcp3/QuerySpotGoodsPriceLog:
  20037. get:
  20038. parameters:
  20039. - description: 用户ID
  20040. in: query
  20041. name: userid
  20042. required: true
  20043. type: integer
  20044. - description: 现货商品ID
  20045. in: query
  20046. name: deliverygoodsid
  20047. required: true
  20048. type: integer
  20049. - description: 品牌ID
  20050. in: query
  20051. name: brandid
  20052. type: integer
  20053. - description: 品类ID
  20054. in: query
  20055. name: wrstandardid
  20056. type: integer
  20057. produces:
  20058. - application/json
  20059. responses:
  20060. "200":
  20061. description: OK
  20062. schema:
  20063. items:
  20064. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20065. type: array
  20066. "500":
  20067. description: Internal Server Error
  20068. schema:
  20069. $ref: '#/definitions/app.Response'
  20070. security:
  20071. - ApiKeyAuth: []
  20072. summary: 查询现货市价详情(现货市价/详情)
  20073. tags:
  20074. - 企业风险管理v3(app)
  20075. /Erms2/QueryArbitrageStrategy:
  20076. get:
  20077. parameters:
  20078. - description: 账户ID
  20079. in: query
  20080. name: userid
  20081. required: true
  20082. type: integer
  20083. - description: 商品组ID(品种ID)
  20084. in: query
  20085. name: goodsgroupid
  20086. type: string
  20087. produces:
  20088. - application/json
  20089. responses:
  20090. "200":
  20091. description: OK
  20092. schema:
  20093. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20094. "500":
  20095. description: Internal Server Error
  20096. schema:
  20097. $ref: '#/definitions/app.Response'
  20098. security:
  20099. - ApiKeyAuth: []
  20100. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20101. tags:
  20102. - 风险管理
  20103. /Erms2/QueryInnerTradeDetail:
  20104. get:
  20105. parameters:
  20106. - description: 资金账户
  20107. in: query
  20108. name: accountid
  20109. required: true
  20110. type: integer
  20111. produces:
  20112. - application/json
  20113. responses:
  20114. "200":
  20115. description: OK
  20116. schema:
  20117. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20118. "500":
  20119. description: Internal Server Error
  20120. schema:
  20121. $ref: '#/definitions/app.Response'
  20122. security:
  20123. - ApiKeyAuth: []
  20124. summary: 查询内部成交单信息
  20125. tags:
  20126. - 风险管理
  20127. /Erms2/QuerySpotContract:
  20128. get:
  20129. parameters:
  20130. - description: 策略申请ID
  20131. in: query
  20132. name: asapplyid
  20133. required: true
  20134. type: integer
  20135. - description: 现货合同ID
  20136. in: query
  20137. name: spotcontractid
  20138. type: integer
  20139. produces:
  20140. - application/json
  20141. responses:
  20142. "200":
  20143. description: OK
  20144. schema:
  20145. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20146. "500":
  20147. description: Internal Server Error
  20148. schema:
  20149. $ref: '#/definitions/app.Response'
  20150. security:
  20151. - ApiKeyAuth: []
  20152. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20153. tags:
  20154. - 风险管理
  20155. /Erms3/AddErms2ASApply:
  20156. post:
  20157. parameters:
  20158. - description: 申请参数
  20159. in: body
  20160. name: jsonBody
  20161. required: true
  20162. schema:
  20163. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20164. produces:
  20165. - application/json
  20166. responses:
  20167. "200":
  20168. description: OK
  20169. schema:
  20170. $ref: '#/definitions/app.Response'
  20171. "500":
  20172. description: Internal Server Error
  20173. schema:
  20174. $ref: '#/definitions/app.Response'
  20175. security:
  20176. - ApiKeyAuth: []
  20177. summary: 新增期现套利业务申请
  20178. tags:
  20179. - 风险管理v3
  20180. /Erms3/AddErms2SpotTradeApply:
  20181. post:
  20182. parameters:
  20183. - description: 申请参数
  20184. in: body
  20185. name: jsonBody
  20186. required: true
  20187. schema:
  20188. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20189. produces:
  20190. - application/json
  20191. responses:
  20192. "200":
  20193. description: OK
  20194. schema:
  20195. $ref: '#/definitions/app.Response'
  20196. "500":
  20197. description: Internal Server Error
  20198. schema:
  20199. $ref: '#/definitions/app.Response'
  20200. security:
  20201. - ApiKeyAuth: []
  20202. summary: 新增现货贸易业务申请
  20203. tags:
  20204. - 风险管理v3
  20205. /Erms3/AddSpotContractApply:
  20206. post:
  20207. parameters:
  20208. - description: 申请参数
  20209. in: body
  20210. name: jsonBody
  20211. required: true
  20212. schema:
  20213. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20214. produces:
  20215. - application/json
  20216. responses:
  20217. "200":
  20218. description: OK
  20219. schema:
  20220. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20221. "500":
  20222. description: Internal Server Error
  20223. schema:
  20224. $ref: '#/definitions/app.Response'
  20225. security:
  20226. - ApiKeyAuth: []
  20227. summary: 新增现货合同申请
  20228. tags:
  20229. - 风险管理v3
  20230. /Erms3/AddUserInfoApply:
  20231. post:
  20232. parameters:
  20233. - description: 用户信息
  20234. in: body
  20235. name: jsonBody
  20236. required: true
  20237. schema:
  20238. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20239. produces:
  20240. - application/json
  20241. responses:
  20242. "200":
  20243. description: OK
  20244. schema:
  20245. $ref: '#/definitions/app.Response'
  20246. "500":
  20247. description: Internal Server Error
  20248. schema:
  20249. $ref: '#/definitions/app.Response'
  20250. security:
  20251. - ApiKeyAuth: []
  20252. summary: 新增客户申请
  20253. tags:
  20254. - 风险管理v3
  20255. /Erms3/DeleteUserInfoApply:
  20256. get:
  20257. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20258. parameters:
  20259. - description: 用户ID
  20260. in: query
  20261. name: userID
  20262. required: true
  20263. type: integer
  20264. produces:
  20265. - application/json
  20266. responses:
  20267. "200":
  20268. description: OK
  20269. schema:
  20270. $ref: '#/definitions/app.Response'
  20271. "500":
  20272. description: Internal Server Error
  20273. schema:
  20274. $ref: '#/definitions/app.Response'
  20275. security:
  20276. - ApiKeyAuth: []
  20277. summary: 删除客户申请
  20278. tags:
  20279. - 风险管理v3
  20280. /Erms3/ModifyUserInfoApply:
  20281. post:
  20282. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20283. int, "userstate": 2 }'
  20284. parameters:
  20285. - description: 用户信息
  20286. in: body
  20287. name: jsonBody
  20288. required: true
  20289. schema:
  20290. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20291. produces:
  20292. - application/json
  20293. responses:
  20294. "200":
  20295. description: OK
  20296. schema:
  20297. $ref: '#/definitions/app.Response'
  20298. "500":
  20299. description: Internal Server Error
  20300. schema:
  20301. $ref: '#/definitions/app.Response'
  20302. security:
  20303. - ApiKeyAuth: []
  20304. summary: 修改客户申请
  20305. tags:
  20306. - 风险管理v3
  20307. /Erms3/QueryBusinessInfo:
  20308. get:
  20309. parameters:
  20310. - description: 资金账号ID列表,用逗号分隔
  20311. in: query
  20312. name: accountids
  20313. required: true
  20314. type: string
  20315. - description: 状态,0为未结束 1为已结束
  20316. in: query
  20317. name: status
  20318. required: true
  20319. type: integer
  20320. produces:
  20321. - application/json
  20322. responses:
  20323. "200":
  20324. description: OK
  20325. schema:
  20326. items:
  20327. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20328. type: array
  20329. "500":
  20330. description: Internal Server Error
  20331. schema:
  20332. $ref: '#/definitions/app.Response'
  20333. security:
  20334. - ApiKeyAuth: []
  20335. summary: 查询业务表单数据
  20336. tags:
  20337. - 风险管理v3
  20338. /Erms3/QueryPendingAuditContract:
  20339. get:
  20340. parameters:
  20341. - description: 资金账号ID列表,逗号隔开
  20342. in: query
  20343. name: accountids
  20344. required: true
  20345. type: string
  20346. - description: 合同类型 1-采购 -1-销售
  20347. in: query
  20348. name: contracttype
  20349. required: true
  20350. type: integer
  20351. - description: 合同模式 1-普通 2-回购
  20352. in: query
  20353. name: contractmode
  20354. required: true
  20355. type: integer
  20356. produces:
  20357. - application/json
  20358. responses:
  20359. "200":
  20360. description: OK
  20361. schema:
  20362. items:
  20363. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20364. type: array
  20365. "500":
  20366. description: Internal Server Error
  20367. schema:
  20368. $ref: '#/definitions/app.Response'
  20369. security:
  20370. - ApiKeyAuth: []
  20371. summary: 查询待审核合同
  20372. tags:
  20373. - 风险管理v3
  20374. /Erms3/QueryPendingBusiness:
  20375. get:
  20376. parameters:
  20377. - description: 资金账号ID列表,逗号隔开
  20378. in: query
  20379. name: accountids
  20380. required: true
  20381. type: string
  20382. produces:
  20383. - application/json
  20384. responses:
  20385. "200":
  20386. description: OK
  20387. schema:
  20388. items:
  20389. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20390. type: array
  20391. "500":
  20392. description: Internal Server Error
  20393. schema:
  20394. $ref: '#/definitions/app.Response'
  20395. security:
  20396. - ApiKeyAuth: []
  20397. summary: 查询待审核基差贸易业务
  20398. tags:
  20399. - 风险管理v3
  20400. /Erms3/QuerySpotContractAppleForm:
  20401. get:
  20402. parameters:
  20403. - description: 登录账号
  20404. in: query
  20405. name: loginID
  20406. required: true
  20407. type: integer
  20408. produces:
  20409. - application/json
  20410. responses:
  20411. "200":
  20412. description: OK
  20413. schema:
  20414. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20415. "500":
  20416. description: Internal Server Error
  20417. schema:
  20418. $ref: '#/definitions/app.Response'
  20419. security:
  20420. - ApiKeyAuth: []
  20421. summary: 查询合同申请表单数据
  20422. tags:
  20423. - 风险管理v3
  20424. /Erms3/QuerySpotContractDetail:
  20425. get:
  20426. parameters:
  20427. - description: 资金账号ID列表,用逗号分隔
  20428. in: query
  20429. name: accountids
  20430. required: true
  20431. type: string
  20432. - description: 合同类型,1为采购合同 -1为销售合同
  20433. in: query
  20434. name: contracttype
  20435. required: true
  20436. type: integer
  20437. - description: 合同模式,1为普通合同 2为回购销售合同
  20438. in: query
  20439. name: contractmode
  20440. required: true
  20441. type: integer
  20442. - description: 状态,0为履约中 1为已完成
  20443. in: query
  20444. name: status
  20445. required: true
  20446. type: integer
  20447. produces:
  20448. - application/json
  20449. responses:
  20450. "200":
  20451. description: OK
  20452. schema:
  20453. items:
  20454. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20455. type: array
  20456. "500":
  20457. description: Internal Server Error
  20458. schema:
  20459. $ref: '#/definitions/app.Response'
  20460. security:
  20461. - ApiKeyAuth: []
  20462. summary: 查询合同详细信息
  20463. tags:
  20464. - 风险管理v3
  20465. /Erms3/QueryUserInfoApplies:
  20466. get:
  20467. parameters:
  20468. - description: 页码
  20469. in: query
  20470. name: page
  20471. type: integer
  20472. - description: 每页条数
  20473. in: query
  20474. name: pagesize
  20475. type: integer
  20476. - description: 客户名称,支持模糊查询
  20477. in: query
  20478. name: userName
  20479. type: string
  20480. produces:
  20481. - application/json
  20482. responses:
  20483. "200":
  20484. description: OK
  20485. schema:
  20486. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  20487. "500":
  20488. description: Internal Server Error
  20489. schema:
  20490. $ref: '#/definitions/app.Response'
  20491. security:
  20492. - ApiKeyAuth: []
  20493. summary: 客户申请信息查询
  20494. tags:
  20495. - 风险管理v3
  20496. /Erms3/QueryUserInfos:
  20497. get:
  20498. parameters:
  20499. - description: 页码
  20500. in: query
  20501. name: page
  20502. type: integer
  20503. - description: 每页条数
  20504. in: query
  20505. name: pagesize
  20506. type: integer
  20507. - description: 客户名称,支持模糊查询
  20508. in: query
  20509. name: userName
  20510. type: string
  20511. produces:
  20512. - application/json
  20513. responses:
  20514. "200":
  20515. description: OK
  20516. schema:
  20517. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  20518. "500":
  20519. description: Internal Server Error
  20520. schema:
  20521. $ref: '#/definitions/app.Response'
  20522. security:
  20523. - ApiKeyAuth: []
  20524. summary: 客户信息查询
  20525. tags:
  20526. - 风险管理v3
  20527. /HSBY/GetHsbyMyCount:
  20528. get:
  20529. description: 说明: 不包括已完成的数量。
  20530. parameters:
  20531. - description: 资金账户列表,格式:1,2,3
  20532. in: query
  20533. name: accountIDs
  20534. required: true
  20535. type: string
  20536. produces:
  20537. - application/json
  20538. responses:
  20539. "200":
  20540. description: OK
  20541. schema:
  20542. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  20543. "500":
  20544. description: Internal Server Error
  20545. schema:
  20546. $ref: '#/definitions/app.Response'
  20547. security:
  20548. - ApiKeyAuth: []
  20549. summary: 获取我的订单与包裹数量
  20550. tags:
  20551. - 定制【海商报业】
  20552. /HSBY/QueryClientFixedADConfigs:
  20553. get:
  20554. produces:
  20555. - application/json
  20556. responses:
  20557. "200":
  20558. description: OK
  20559. schema:
  20560. $ref: '#/definitions/models.Clientfixedadconfig'
  20561. "500":
  20562. description: Internal Server Error
  20563. schema:
  20564. $ref: '#/definitions/app.Response'
  20565. security:
  20566. - ApiKeyAuth: []
  20567. summary: 获取终端固定广告配置
  20568. tags:
  20569. - 定制【海商报业】
  20570. /HSBY/QueryHsbyBuyMyTradeDetail:
  20571. get:
  20572. parameters:
  20573. - description: 页码
  20574. in: query
  20575. name: page
  20576. type: integer
  20577. - description: 每页条数
  20578. in: query
  20579. name: pagesize
  20580. type: integer
  20581. - description: 资金账户列表,格式:1,2,3
  20582. in: query
  20583. name: accountIDs
  20584. required: true
  20585. type: string
  20586. produces:
  20587. - application/json
  20588. responses:
  20589. "200":
  20590. description: OK
  20591. schema:
  20592. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  20593. "500":
  20594. description: Internal Server Error
  20595. schema:
  20596. $ref: '#/definitions/app.Response'
  20597. security:
  20598. - ApiKeyAuth: []
  20599. summary: 查询"我的订单 - 已完成"单据信息
  20600. tags:
  20601. - 定制【海商报业】
  20602. /HSBY/QueryHsbyGoodsOrderDetails:
  20603. get:
  20604. description: 说明:查询结果已按委托价格和委托时间排序
  20605. parameters:
  20606. - description: 商品ID
  20607. in: query
  20608. name: goodsID
  20609. required: true
  20610. type: integer
  20611. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  20612. in: query
  20613. name: accountIDs
  20614. type: string
  20615. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  20616. in: query
  20617. name: buyOrSell
  20618. type: integer
  20619. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  20620. in: query
  20621. name: price
  20622. type: number
  20623. - description: 档位,不传则默认为3档
  20624. in: query
  20625. name: speed
  20626. type: integer
  20627. produces:
  20628. - application/json
  20629. responses:
  20630. "200":
  20631. description: OK
  20632. schema:
  20633. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  20634. "500":
  20635. description: Internal Server Error
  20636. schema:
  20637. $ref: '#/definitions/app.Response'
  20638. security:
  20639. - ApiKeyAuth: []
  20640. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  20641. tags:
  20642. - 定制【海商报业】
  20643. /HSBY/QueryHsbyListingGoodsDetail:
  20644. get:
  20645. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  20646. parameters:
  20647. - description: 商品ID
  20648. in: query
  20649. name: goodsID
  20650. required: true
  20651. type: integer
  20652. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  20653. in: query
  20654. name: accountID
  20655. type: integer
  20656. produces:
  20657. - application/json
  20658. responses:
  20659. "200":
  20660. description: OK
  20661. schema:
  20662. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  20663. "500":
  20664. description: Internal Server Error
  20665. schema:
  20666. $ref: '#/definitions/app.Response'
  20667. security:
  20668. - ApiKeyAuth: []
  20669. summary: 查询二级市场(挂牌点选)商品信息详情
  20670. tags:
  20671. - 定制【海商报业】
  20672. /HSBY/QueryHsbyMarketGoodsDetail:
  20673. get:
  20674. parameters:
  20675. - description: 委托单号
  20676. in: query
  20677. name: orderID
  20678. required: true
  20679. type: integer
  20680. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  20681. in: query
  20682. name: accountID
  20683. type: integer
  20684. produces:
  20685. - application/json
  20686. responses:
  20687. "200":
  20688. description: OK
  20689. schema:
  20690. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20691. "500":
  20692. description: Internal Server Error
  20693. schema:
  20694. $ref: '#/definitions/app.Response'
  20695. security:
  20696. - ApiKeyAuth: []
  20697. summary: 查询三级市场(商城)商品信息详情
  20698. tags:
  20699. - 定制【海商报业】
  20700. /HSBY/QueryHsbyMarketGoodses:
  20701. get:
  20702. parameters:
  20703. - description: 页码
  20704. in: query
  20705. name: page
  20706. type: integer
  20707. - description: 每页条数
  20708. in: query
  20709. name: pagesize
  20710. type: integer
  20711. - description: 市场ID列表,格式:1,2,3
  20712. in: query
  20713. name: marketIDs
  20714. required: true
  20715. type: string
  20716. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  20717. in: query
  20718. name: accountID
  20719. required: true
  20720. type: integer
  20721. - description: 类别ID
  20722. in: query
  20723. name: categoryID
  20724. type: integer
  20725. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20726. in: query
  20727. name: goodsIDs
  20728. type: string
  20729. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  20730. in: query
  20731. name: couponTypeID
  20732. type: integer
  20733. produces:
  20734. - application/json
  20735. responses:
  20736. "200":
  20737. description: OK
  20738. schema:
  20739. $ref: '#/definitions/models.HsbyMarketGoods'
  20740. "500":
  20741. description: Internal Server Error
  20742. schema:
  20743. $ref: '#/definitions/app.Response'
  20744. security:
  20745. - ApiKeyAuth: []
  20746. summary: 查询特卖商品列表(三级商城)
  20747. tags:
  20748. - 定制【海商报业】
  20749. /HSBY/QueryHsbyMarkets:
  20750. get:
  20751. produces:
  20752. - application/json
  20753. responses:
  20754. "200":
  20755. description: OK
  20756. schema:
  20757. $ref: '#/definitions/models.HsbyMarketInfo'
  20758. "500":
  20759. description: Internal Server Error
  20760. schema:
  20761. $ref: '#/definitions/app.Response'
  20762. security:
  20763. - ApiKeyAuth: []
  20764. summary: 查询海商报业相关市场信息
  20765. tags:
  20766. - 定制【海商报业】
  20767. /HSBY/QueryHsbyMyBuyOrderDetails:
  20768. get:
  20769. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  20770. parameters:
  20771. - description: 资金账户列表,格式:1,2,3
  20772. in: query
  20773. name: accountIDs
  20774. required: true
  20775. type: string
  20776. produces:
  20777. - application/json
  20778. responses:
  20779. "200":
  20780. description: OK
  20781. schema:
  20782. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  20783. "500":
  20784. description: Internal Server Error
  20785. schema:
  20786. $ref: '#/definitions/app.Response'
  20787. security:
  20788. - ApiKeyAuth: []
  20789. summary: 查询“我的订单”信息
  20790. tags:
  20791. - 定制【海商报业】
  20792. /HSBY/QueryHsbyMyGoods:
  20793. get:
  20794. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  20795. parameters:
  20796. - description: 资金账户列表,格式:1,2,3
  20797. in: query
  20798. name: accountIDs
  20799. required: true
  20800. type: string
  20801. produces:
  20802. - application/json
  20803. responses:
  20804. "200":
  20805. description: OK
  20806. schema:
  20807. $ref: '#/definitions/models.HsbyMyGoods'
  20808. "500":
  20809. description: Internal Server Error
  20810. schema:
  20811. $ref: '#/definitions/app.Response'
  20812. security:
  20813. - ApiKeyAuth: []
  20814. summary: 查询“我的商品”信息
  20815. tags:
  20816. - 定制【海商报业】
  20817. /HSBY/QueryHsbyMyPackages:
  20818. get:
  20819. parameters:
  20820. - description: 资金账户列表,格式:1,2,3
  20821. in: query
  20822. name: accountIDs
  20823. required: true
  20824. type: string
  20825. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20826. in: query
  20827. name: takeOrderStatus
  20828. type: integer
  20829. produces:
  20830. - application/json
  20831. responses:
  20832. "200":
  20833. description: OK
  20834. schema:
  20835. $ref: '#/definitions/models.HsbyMyPackage'
  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/QueryHsbyPreGoodsDetail:
  20846. get:
  20847. parameters:
  20848. - description: 商品ID
  20849. in: query
  20850. name: goodsID
  20851. required: true
  20852. type: integer
  20853. - description: 资金账户,主要用于获取预售商品购买上限
  20854. in: query
  20855. name: accountID
  20856. type: integer
  20857. produces:
  20858. - application/json
  20859. responses:
  20860. "200":
  20861. description: OK
  20862. schema:
  20863. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  20864. "500":
  20865. description: Internal Server Error
  20866. schema:
  20867. $ref: '#/definitions/app.Response'
  20868. security:
  20869. - ApiKeyAuth: []
  20870. summary: 查询一级市场(预售)商品信息详情
  20871. tags:
  20872. - 定制【海商报业】
  20873. /HSBY/QueryHsbyPreGoodses:
  20874. get:
  20875. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  20876. parameters:
  20877. - description: 页码
  20878. in: query
  20879. name: page
  20880. type: integer
  20881. - description: 每页条数
  20882. in: query
  20883. name: pagesize
  20884. type: integer
  20885. - description: 市场ID列表,格式:1,2,3
  20886. in: query
  20887. name: marketIDs
  20888. required: true
  20889. type: string
  20890. - description: 目的地(省)ID
  20891. in: query
  20892. name: descProvinceID
  20893. type: integer
  20894. - description: 目的地(市)ID
  20895. in: query
  20896. name: descCityID
  20897. type: integer
  20898. produces:
  20899. - application/json
  20900. responses:
  20901. "200":
  20902. description: OK
  20903. schema:
  20904. $ref: '#/definitions/models.HsbyPreGoods'
  20905. "500":
  20906. description: Internal Server Error
  20907. schema:
  20908. $ref: '#/definitions/app.Response'
  20909. security:
  20910. - ApiKeyAuth: []
  20911. summary: 查询新品上市商品列表(一级市场预售)
  20912. tags:
  20913. - 定制【海商报业】
  20914. /HSBY/QueryHsbySellMyDetails:
  20915. get:
  20916. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  20917. parameters:
  20918. - description: 页码
  20919. in: query
  20920. name: page
  20921. type: integer
  20922. - description: 每页条数
  20923. in: query
  20924. name: pagesize
  20925. type: integer
  20926. - description: 资金账户列表,格式:1,2,3
  20927. in: query
  20928. name: accountIDs
  20929. required: true
  20930. type: string
  20931. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  20932. in: query
  20933. name: orderType
  20934. type: integer
  20935. produces:
  20936. - application/json
  20937. responses:
  20938. "200":
  20939. description: OK
  20940. schema:
  20941. $ref: '#/definitions/models.HsbySellMyDetail'
  20942. "500":
  20943. description: Internal Server Error
  20944. schema:
  20945. $ref: '#/definitions/app.Response'
  20946. security:
  20947. - ApiKeyAuth: []
  20948. summary: 查询"我的闲置"单据信息
  20949. tags:
  20950. - 定制【海商报业】
  20951. /HSBY/QueryHsbyTopGoodses:
  20952. get:
  20953. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  20954. parameters:
  20955. - description: 页码
  20956. in: query
  20957. name: page
  20958. type: integer
  20959. - description: 每页条数
  20960. in: query
  20961. name: pagesize
  20962. type: integer
  20963. - description: 市场ID列表,格式:1,2,3
  20964. in: query
  20965. name: marketIDs
  20966. required: true
  20967. type: string
  20968. - description: 目的地(省)ID
  20969. in: query
  20970. name: descProvinceID
  20971. type: integer
  20972. - description: 目的地(市)ID
  20973. in: query
  20974. name: descCityID
  20975. type: integer
  20976. produces:
  20977. - application/json
  20978. responses:
  20979. "200":
  20980. description: OK
  20981. schema:
  20982. $ref: '#/definitions/models.HsbyTopGoods'
  20983. "500":
  20984. description: Internal Server Error
  20985. schema:
  20986. $ref: '#/definitions/app.Response'
  20987. security:
  20988. - ApiKeyAuth: []
  20989. summary: 查询热卖商品列表(二级市场挂牌点选)
  20990. tags:
  20991. - 定制【海商报业】
  20992. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  20993. get:
  20994. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  20995. parameters:
  20996. - description: 商品ID
  20997. in: query
  20998. name: goodsID
  20999. required: true
  21000. type: integer
  21001. produces:
  21002. - application/json
  21003. responses:
  21004. "200":
  21005. description: OK
  21006. schema:
  21007. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21008. "500":
  21009. description: Internal Server Error
  21010. schema:
  21011. $ref: '#/definitions/app.Response'
  21012. security:
  21013. - ApiKeyAuth: []
  21014. summary: 查询游客三级市场(商城)商品信息详情
  21015. tags:
  21016. - 定制【海商报业】
  21017. /HSBY/QueryHsbyVisitorMarketGoodses:
  21018. get:
  21019. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21020. parameters:
  21021. - description: 页码
  21022. in: query
  21023. name: page
  21024. type: integer
  21025. - description: 每页条数
  21026. in: query
  21027. name: pagesize
  21028. type: integer
  21029. - description: 市场ID列表,格式:1,2,3
  21030. in: query
  21031. name: marketIDs
  21032. required: true
  21033. type: string
  21034. - description: 类别ID
  21035. in: query
  21036. name: categoryID
  21037. type: integer
  21038. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21039. in: query
  21040. name: goodsIDs
  21041. type: string
  21042. produces:
  21043. - application/json
  21044. responses:
  21045. "200":
  21046. description: OK
  21047. schema:
  21048. $ref: '#/definitions/models.HsbyMarketGoods'
  21049. "500":
  21050. description: Internal Server Error
  21051. schema:
  21052. $ref: '#/definitions/app.Response'
  21053. security:
  21054. - ApiKeyAuth: []
  21055. summary: 查询游客特卖商品列表(三级商城)
  21056. tags:
  21057. - 定制【海商报业】
  21058. /HSBY/QueryMyCollectionOrders:
  21059. get:
  21060. parameters:
  21061. - description: 页码
  21062. in: query
  21063. name: page
  21064. type: integer
  21065. - description: 每页条数
  21066. in: query
  21067. name: pagesize
  21068. type: integer
  21069. - description: 资金账户,格式:1,2,3
  21070. in: query
  21071. name: accountIDs
  21072. required: true
  21073. type: string
  21074. produces:
  21075. - application/json
  21076. responses:
  21077. "200":
  21078. description: OK
  21079. schema:
  21080. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21081. "500":
  21082. description: Internal Server Error
  21083. schema:
  21084. $ref: '#/definitions/app.Response'
  21085. security:
  21086. - ApiKeyAuth: []
  21087. summary: 我的闲置中收款信息查询
  21088. tags:
  21089. - 定制【海商报业】
  21090. /HSBY/QueryMyCouponHolds:
  21091. get:
  21092. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21093. parameters:
  21094. - description: 资金账户列表,格式:1,2,3
  21095. in: query
  21096. name: accountIDs
  21097. required: true
  21098. type: string
  21099. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21100. in: query
  21101. name: holdStatus
  21102. type: string
  21103. produces:
  21104. - application/json
  21105. responses:
  21106. "200":
  21107. description: OK
  21108. schema:
  21109. $ref: '#/definitions/models.MyCouponHold'
  21110. "500":
  21111. description: Internal Server Error
  21112. schema:
  21113. $ref: '#/definitions/app.Response'
  21114. security:
  21115. - ApiKeyAuth: []
  21116. summary: 我的优惠卷持仓查询
  21117. tags:
  21118. - 定制【海商报业】
  21119. /HSBY/QueryMyCoupons:
  21120. get:
  21121. parameters:
  21122. - description: 资金账户列表,格式:1,2,3
  21123. in: query
  21124. name: accountIDs
  21125. required: true
  21126. type: string
  21127. - description: 商品ID, 一般与sellUserID配套传入
  21128. in: query
  21129. name: goodsID
  21130. type: integer
  21131. - description: 卖方UserID
  21132. in: query
  21133. name: sellUserID
  21134. type: integer
  21135. produces:
  21136. - application/json
  21137. responses:
  21138. "200":
  21139. description: OK
  21140. schema:
  21141. $ref: '#/definitions/models.MyCoupon'
  21142. "500":
  21143. description: Internal Server Error
  21144. schema:
  21145. $ref: '#/definitions/app.Response'
  21146. security:
  21147. - ApiKeyAuth: []
  21148. summary: 我的优惠卷查询
  21149. tags:
  21150. - 定制【海商报业】
  21151. /HSBY/QueryMyPayOrders:
  21152. get:
  21153. parameters:
  21154. - description: 页码
  21155. in: query
  21156. name: page
  21157. type: integer
  21158. - description: 每页条数
  21159. in: query
  21160. name: pagesize
  21161. type: integer
  21162. - description: 资金账户列表,格式:1,2,3
  21163. in: query
  21164. name: accountIDs
  21165. required: true
  21166. type: string
  21167. - description: 买方委托单号
  21168. in: query
  21169. name: buyOrderID
  21170. type: integer
  21171. - description: 卖方委托单号
  21172. in: query
  21173. name: sellOrderID
  21174. type: integer
  21175. produces:
  21176. - application/json
  21177. responses:
  21178. "200":
  21179. description: OK
  21180. schema:
  21181. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21182. "500":
  21183. description: Internal Server Error
  21184. schema:
  21185. $ref: '#/definitions/app.Response'
  21186. security:
  21187. - ApiKeyAuth: []
  21188. summary: 获取我的订单中待付款信息
  21189. tags:
  21190. - 定制【海商报业】
  21191. /HSBY/QueryMyUsedCoupon:
  21192. get:
  21193. parameters:
  21194. - description: 资金账户列表,格式:1,2,3
  21195. in: query
  21196. name: accountIDs
  21197. required: true
  21198. type: string
  21199. produces:
  21200. - application/json
  21201. responses:
  21202. "200":
  21203. description: OK
  21204. schema:
  21205. $ref: '#/definitions/models.MyUsedCoupon'
  21206. "500":
  21207. description: Internal Server Error
  21208. schema:
  21209. $ref: '#/definitions/app.Response'
  21210. security:
  21211. - ApiKeyAuth: []
  21212. summary: 已使用优惠卷查询
  21213. tags:
  21214. - 定制【海商报业】
  21215. /HSBY/QueryProvincesAndCities:
  21216. get:
  21217. description: 查询结果只包括二级市场商品已关连的省市信息。
  21218. parameters:
  21219. - description: 省ID
  21220. in: query
  21221. name: provinceID
  21222. type: integer
  21223. produces:
  21224. - application/json
  21225. responses:
  21226. "200":
  21227. description: OK
  21228. schema:
  21229. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21230. "500":
  21231. description: Internal Server Error
  21232. schema:
  21233. $ref: '#/definitions/app.Response'
  21234. security:
  21235. - ApiKeyAuth: []
  21236. summary: 查询省市信息(不包括区)
  21237. tags:
  21238. - 定制【海商报业】
  21239. /HSBY/SetHsbyMyPackagesStatus:
  21240. post:
  21241. parameters:
  21242. - description: 提货单号
  21243. in: query
  21244. name: takeOrderID
  21245. required: true
  21246. type: string
  21247. - description: 资金账号
  21248. in: query
  21249. name: accountID
  21250. required: true
  21251. type: integer
  21252. produces:
  21253. - application/json
  21254. responses:
  21255. "200":
  21256. description: OK
  21257. schema:
  21258. $ref: '#/definitions/app.Response'
  21259. "500":
  21260. description: Internal Server Error
  21261. schema:
  21262. $ref: '#/definitions/app.Response'
  21263. security:
  21264. - ApiKeyAuth: []
  21265. summary: 设置我的包裹已收货状态
  21266. tags:
  21267. - 定制【海商报业】
  21268. /Market/GetAllExExchanges:
  21269. get:
  21270. produces:
  21271. - application/json
  21272. responses:
  21273. "200":
  21274. description: OK
  21275. schema:
  21276. $ref: '#/definitions/models.Goods'
  21277. "500":
  21278. description: Internal Server Error
  21279. schema:
  21280. $ref: '#/definitions/app.Response'
  21281. security:
  21282. - ApiKeyAuth: []
  21283. summary: 获取所有外部交易所信息
  21284. tags:
  21285. - 通用市场
  21286. /Market/QueryGoodsesByLoginID:
  21287. get:
  21288. parameters:
  21289. - description: 登录账号
  21290. in: query
  21291. name: loginID
  21292. required: true
  21293. type: integer
  21294. - description: 市场ID列表,格式:1,2,3
  21295. in: query
  21296. name: marketIDs
  21297. type: string
  21298. produces:
  21299. - application/json
  21300. responses:
  21301. "200":
  21302. description: OK
  21303. schema:
  21304. $ref: '#/definitions/models.Goods'
  21305. "500":
  21306. description: Internal Server Error
  21307. schema:
  21308. $ref: '#/definitions/app.Response'
  21309. security:
  21310. - ApiKeyAuth: []
  21311. summary: 获取登录账号有权限的商品信息
  21312. tags:
  21313. - 通用市场
  21314. /Market/QueryMarketRun:
  21315. get:
  21316. parameters:
  21317. - description: 市场ID,不传返回所有
  21318. in: query
  21319. name: marketID
  21320. type: integer
  21321. produces:
  21322. - application/json
  21323. responses:
  21324. "200":
  21325. description: OK
  21326. schema:
  21327. $ref: '#/definitions/models.Marketrun'
  21328. "500":
  21329. description: Internal Server Error
  21330. schema:
  21331. $ref: '#/definitions/app.Response'
  21332. security:
  21333. - ApiKeyAuth: []
  21334. summary: 查询市场运行信息
  21335. tags:
  21336. - 通用市场
  21337. /Market/QueryMarketsByLoginID:
  21338. get:
  21339. parameters:
  21340. - description: 登录账号
  21341. in: query
  21342. name: loginID
  21343. required: true
  21344. type: integer
  21345. produces:
  21346. - application/json
  21347. responses:
  21348. "200":
  21349. description: OK
  21350. schema:
  21351. $ref: '#/definitions/models.Market'
  21352. "500":
  21353. description: Internal Server Error
  21354. schema:
  21355. $ref: '#/definitions/app.Response'
  21356. security:
  21357. - ApiKeyAuth: []
  21358. summary: 获取登录账号有权限的市场信息
  21359. tags:
  21360. - 通用市场
  21361. /Order/QueryHisTradeDetail:
  21362. get:
  21363. parameters:
  21364. - description: 资金账户 - 格式:1,2,3
  21365. in: query
  21366. name: accountID
  21367. required: true
  21368. type: string
  21369. - description: 成交单号
  21370. in: query
  21371. name: tradeID
  21372. type: integer
  21373. - description: 委托单号
  21374. in: query
  21375. name: orderID
  21376. type: integer
  21377. - description: 商品ID
  21378. in: query
  21379. name: goodsID
  21380. type: integer
  21381. - description: 交易模式 - 格式:1,2,3
  21382. in: query
  21383. name: tradeMode
  21384. type: string
  21385. - description: 委托单据类型
  21386. in: query
  21387. name: buildType
  21388. type: integer
  21389. - description: 成交类别 - 格式:1,2,3
  21390. in: query
  21391. name: tradeType
  21392. type: string
  21393. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21394. in: query
  21395. name: startDate
  21396. type: string
  21397. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21398. in: query
  21399. name: endDate
  21400. type: string
  21401. produces:
  21402. - application/json
  21403. responses:
  21404. "200":
  21405. description: OK
  21406. schema:
  21407. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21408. "500":
  21409. description: Internal Server Error
  21410. schema:
  21411. $ref: '#/definitions/app.Response'
  21412. security:
  21413. - ApiKeyAuth: []
  21414. summary: 历史成交单查询(合约市场)
  21415. tags:
  21416. - 通用单据
  21417. /Order/QueryHisTradeOrderDetail:
  21418. get:
  21419. parameters:
  21420. - description: 资金账户 - 格式:1,2,3
  21421. in: query
  21422. name: accountID
  21423. required: true
  21424. type: string
  21425. - description: 交易模式 - 格式:1,2,3
  21426. in: query
  21427. name: tradeMode
  21428. type: string
  21429. - description: 委托状态 - 格式:1,2,3
  21430. in: query
  21431. name: orderStatus
  21432. type: string
  21433. - description: 委托单号
  21434. in: query
  21435. name: orderID
  21436. type: integer
  21437. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21438. in: query
  21439. name: startDate
  21440. type: string
  21441. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21442. in: query
  21443. name: endDate
  21444. type: string
  21445. produces:
  21446. - application/json
  21447. responses:
  21448. "200":
  21449. description: OK
  21450. schema:
  21451. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21452. "500":
  21453. description: Internal Server Error
  21454. schema:
  21455. $ref: '#/definitions/app.Response'
  21456. security:
  21457. - ApiKeyAuth: []
  21458. summary: 历史委托单查询请求(合约市场)
  21459. tags:
  21460. - 通用单据
  21461. /Order/QueryTradeDetail:
  21462. get:
  21463. parameters:
  21464. - description: 资金账户 - 格式:1,2,3
  21465. in: query
  21466. name: accountID
  21467. required: true
  21468. type: string
  21469. - description: 成交单号
  21470. in: query
  21471. name: tradeID
  21472. type: integer
  21473. - description: 委托单号
  21474. in: query
  21475. name: orderID
  21476. type: integer
  21477. - description: 交易模式 - 格式:1,2,3
  21478. in: query
  21479. name: tradeMode
  21480. type: string
  21481. - description: 委托单据类型
  21482. in: query
  21483. name: buildType
  21484. type: integer
  21485. - description: 成交类别 - 格式:1,2,3
  21486. in: query
  21487. name: tradeType
  21488. type: string
  21489. - description: 商品ID
  21490. in: query
  21491. name: goodsID
  21492. type: integer
  21493. produces:
  21494. - application/json
  21495. responses:
  21496. "200":
  21497. description: OK
  21498. schema:
  21499. $ref: '#/definitions/order.QueryTradeDetailRsp'
  21500. "500":
  21501. description: Internal Server Error
  21502. schema:
  21503. $ref: '#/definitions/app.Response'
  21504. security:
  21505. - ApiKeyAuth: []
  21506. summary: 成交单查询(合约市场)
  21507. tags:
  21508. - 通用单据
  21509. /Order/QueryTradeOrderDetail:
  21510. get:
  21511. parameters:
  21512. - description: 资金账户 - 格式:1,2,3
  21513. in: query
  21514. name: accountID
  21515. required: true
  21516. type: string
  21517. - description: 交易模式 - 格式:1,2,3
  21518. in: query
  21519. name: tradeMode
  21520. type: string
  21521. - description: 委托状态 - 格式:1,2,3
  21522. in: query
  21523. name: orderStatus
  21524. type: string
  21525. - description: 委托单号
  21526. in: query
  21527. name: orderID
  21528. type: integer
  21529. produces:
  21530. - application/json
  21531. responses:
  21532. "200":
  21533. description: OK
  21534. schema:
  21535. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  21536. "500":
  21537. description: Internal Server Error
  21538. schema:
  21539. $ref: '#/definitions/app.Response'
  21540. security:
  21541. - ApiKeyAuth: []
  21542. summary: 委托单查询请求(合约市场)
  21543. tags:
  21544. - 通用单据
  21545. /Order/QueryTradePosition:
  21546. get:
  21547. parameters:
  21548. - description: 资金账户 - 格式:1,2,3
  21549. in: query
  21550. name: accountID
  21551. required: true
  21552. type: string
  21553. - description: 交易模式 - 格式:1,2,3
  21554. in: query
  21555. name: tradeMode
  21556. type: string
  21557. produces:
  21558. - application/json
  21559. responses:
  21560. "200":
  21561. description: OK
  21562. schema:
  21563. $ref: '#/definitions/order.QueryTradePositionRsp'
  21564. "500":
  21565. description: Internal Server Error
  21566. schema:
  21567. $ref: '#/definitions/app.Response'
  21568. security:
  21569. - ApiKeyAuth: []
  21570. summary: 持仓汇总查询(合约市场)
  21571. tags:
  21572. - 通用单据
  21573. /Qhj/QueryAccountInOutApply:
  21574. get:
  21575. parameters:
  21576. - description: 用户ID
  21577. in: query
  21578. name: userid
  21579. required: true
  21580. type: integer
  21581. - description: 申请起始日期(格式yyyymmdd)
  21582. in: query
  21583. name: begindate
  21584. type: string
  21585. - description: 申请截止日期(格式yyyymmdd)
  21586. in: query
  21587. name: enddate
  21588. type: string
  21589. - description: 模糊搜索名称
  21590. in: query
  21591. name: likename
  21592. type: string
  21593. produces:
  21594. - application/json
  21595. responses:
  21596. "200":
  21597. description: OK
  21598. schema:
  21599. items:
  21600. $ref: '#/definitions/models.QhjAccountOutInApply'
  21601. type: array
  21602. "500":
  21603. description: Internal Server Error
  21604. schema:
  21605. $ref: '#/definitions/app.Response'
  21606. security:
  21607. - ApiKeyAuth: []
  21608. summary: 查询充值提现
  21609. tags:
  21610. - 大连千海金
  21611. /Qhj/QueryAreaFinanceConfig:
  21612. get:
  21613. parameters:
  21614. - description: 机构用户ID 其他做市关系,都设置为 1
  21615. in: query
  21616. name: userid
  21617. type: integer
  21618. produces:
  21619. - application/json
  21620. responses:
  21621. "200":
  21622. description: OK
  21623. schema:
  21624. items:
  21625. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  21626. type: array
  21627. "500":
  21628. description: Internal Server Error
  21629. schema:
  21630. $ref: '#/definitions/app.Response'
  21631. security:
  21632. - ApiKeyAuth: []
  21633. summary: 查询企业配置表
  21634. tags:
  21635. - 大连千海金
  21636. /Qhj/QueryBankAccountSign:
  21637. get:
  21638. parameters:
  21639. - description: 用户ID
  21640. in: query
  21641. name: userid
  21642. required: true
  21643. type: integer
  21644. produces:
  21645. - application/json
  21646. responses:
  21647. "200":
  21648. description: OK
  21649. schema:
  21650. items:
  21651. $ref: '#/definitions/models.QhjBankAccountSign'
  21652. type: array
  21653. "500":
  21654. description: Internal Server Error
  21655. schema:
  21656. $ref: '#/definitions/app.Response'
  21657. security:
  21658. - ApiKeyAuth: []
  21659. summary: 查询签约银行信息(提现账户管理)
  21660. tags:
  21661. - 大连千海金
  21662. /Qhj/QueryBankInfo:
  21663. get:
  21664. produces:
  21665. - application/json
  21666. responses:
  21667. "200":
  21668. description: OK
  21669. schema:
  21670. items:
  21671. $ref: '#/definitions/models.QhjBankInfo'
  21672. type: array
  21673. "500":
  21674. description: Internal Server Error
  21675. schema:
  21676. $ref: '#/definitions/app.Response'
  21677. security:
  21678. - ApiKeyAuth: []
  21679. summary: 查询开户行
  21680. tags:
  21681. - 大连千海金
  21682. /Qhj/QueryBrokerApply:
  21683. get:
  21684. parameters:
  21685. - description: 所属机构ID
  21686. in: query
  21687. name: userid
  21688. type: integer
  21689. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21690. in: query
  21691. name: filterstatus
  21692. type: string
  21693. produces:
  21694. - application/json
  21695. responses:
  21696. "200":
  21697. description: OK
  21698. schema:
  21699. items:
  21700. $ref: '#/definitions/models.QhjBrokerApply'
  21701. type: array
  21702. "500":
  21703. description: Internal Server Error
  21704. schema:
  21705. $ref: '#/definitions/app.Response'
  21706. security:
  21707. - ApiKeyAuth: []
  21708. summary: 查询经纪人申请
  21709. tags:
  21710. - 大连千海金
  21711. /Qhj/QueryBrokerApplyEx:
  21712. get:
  21713. parameters:
  21714. - description: 所属机构ID
  21715. in: query
  21716. name: userid
  21717. type: integer
  21718. produces:
  21719. - application/json
  21720. responses:
  21721. "200":
  21722. description: OK
  21723. schema:
  21724. items:
  21725. $ref: '#/definitions/models.QhjBrokerApplyEx'
  21726. type: array
  21727. "500":
  21728. description: Internal Server Error
  21729. schema:
  21730. $ref: '#/definitions/app.Response'
  21731. security:
  21732. - ApiKeyAuth: []
  21733. summary: 查询经纪人信息和申请记录
  21734. tags:
  21735. - 大连千海金
  21736. /Qhj/QueryBrokerRewardLog:
  21737. get:
  21738. parameters:
  21739. - description: 用户ID
  21740. in: query
  21741. name: userid
  21742. required: true
  21743. type: integer
  21744. - description: 开始交易日(yyyymmdd)
  21745. in: query
  21746. name: begindate
  21747. type: string
  21748. - description: 结束交易日(yyyymmdd)
  21749. in: query
  21750. name: enddate
  21751. type: string
  21752. produces:
  21753. - application/json
  21754. responses:
  21755. "200":
  21756. description: OK
  21757. schema:
  21758. items:
  21759. $ref: '#/definitions/models.QhjBrokerRewardLog'
  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/QueryContract:
  21771. get:
  21772. parameters:
  21773. - description: 用户ID
  21774. in: query
  21775. name: userid
  21776. type: integer
  21777. - description: scf合同id
  21778. in: query
  21779. name: scfcontractid
  21780. type: integer
  21781. produces:
  21782. - application/json
  21783. responses:
  21784. "200":
  21785. description: OK
  21786. schema:
  21787. items:
  21788. $ref: '#/definitions/models.QhjContract'
  21789. type: array
  21790. "500":
  21791. description: Internal Server Error
  21792. schema:
  21793. $ref: '#/definitions/app.Response'
  21794. security:
  21795. - ApiKeyAuth: []
  21796. summary: 查询融资明细(合同)
  21797. tags:
  21798. - 大连千海金
  21799. /Qhj/QueryContractLog:
  21800. get:
  21801. parameters:
  21802. - description: scf合同id
  21803. in: query
  21804. name: scfcontractid
  21805. required: true
  21806. type: integer
  21807. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  21808. in: query
  21809. name: amounttype
  21810. type: string
  21811. produces:
  21812. - application/json
  21813. responses:
  21814. "200":
  21815. description: OK
  21816. schema:
  21817. items:
  21818. $ref: '#/definitions/models.QhjContractLog'
  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/QueryCusBankSignBank:
  21830. get:
  21831. produces:
  21832. - application/json
  21833. responses:
  21834. "200":
  21835. description: OK
  21836. schema:
  21837. items:
  21838. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  21839. type: array
  21840. "500":
  21841. description: Internal Server Error
  21842. schema:
  21843. $ref: '#/definitions/app.Response'
  21844. security:
  21845. - ApiKeyAuth: []
  21846. summary: 查询托管银行
  21847. tags:
  21848. - 大连千海金
  21849. /Qhj/QueryCustomerInfo:
  21850. get:
  21851. parameters:
  21852. - description: 用户ID
  21853. in: query
  21854. name: userid
  21855. required: true
  21856. type: integer
  21857. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21858. in: query
  21859. name: querytype
  21860. required: true
  21861. type: integer
  21862. - description: 客户类型 1-个人 2-企业
  21863. in: query
  21864. name: userinfotype
  21865. type: integer
  21866. - description: 客户名称(模糊匹配)
  21867. in: query
  21868. name: customername
  21869. type: string
  21870. - description: 昵称(模糊匹配)
  21871. in: query
  21872. name: nickname
  21873. type: string
  21874. - description: 是否包含子级 1-包含
  21875. in: query
  21876. name: includesub
  21877. type: integer
  21878. produces:
  21879. - application/json
  21880. responses:
  21881. "200":
  21882. description: OK
  21883. schema:
  21884. items:
  21885. $ref: '#/definitions/models.QhjCustomer'
  21886. type: array
  21887. "500":
  21888. description: Internal Server Error
  21889. schema:
  21890. $ref: '#/definitions/app.Response'
  21891. security:
  21892. - ApiKeyAuth: []
  21893. summary: 查询客户资料
  21894. tags:
  21895. - 大连千海金
  21896. /Qhj/QueryGoodsEx:
  21897. get:
  21898. parameters:
  21899. - description: 商品id
  21900. in: query
  21901. name: goodsid
  21902. type: integer
  21903. produces:
  21904. - application/json
  21905. responses:
  21906. "200":
  21907. description: OK
  21908. schema:
  21909. items:
  21910. $ref: '#/definitions/models.Qhjgoodsex'
  21911. type: array
  21912. "500":
  21913. description: Internal Server Error
  21914. schema:
  21915. $ref: '#/definitions/app.Response'
  21916. security:
  21917. - ApiKeyAuth: []
  21918. summary: 交易商品扩展表
  21919. tags:
  21920. - 大连千海金
  21921. /Qhj/QueryMyTeam:
  21922. get:
  21923. parameters:
  21924. - description: 用户ID
  21925. in: query
  21926. name: userid
  21927. required: true
  21928. type: integer
  21929. produces:
  21930. - application/json
  21931. responses:
  21932. "200":
  21933. description: OK
  21934. schema:
  21935. items:
  21936. $ref: '#/definitions/models.QhjMyTeamEx'
  21937. type: array
  21938. "500":
  21939. description: Internal Server Error
  21940. schema:
  21941. $ref: '#/definitions/app.Response'
  21942. security:
  21943. - ApiKeyAuth: []
  21944. summary: 查询我的团队
  21945. tags:
  21946. - 大连千海金
  21947. /Qhj/QueryMyTeamOrder:
  21948. get:
  21949. parameters:
  21950. - description: 页码
  21951. in: query
  21952. name: page
  21953. type: integer
  21954. - description: 每页条数
  21955. in: query
  21956. name: pagesize
  21957. type: integer
  21958. - description: 用户ID
  21959. in: query
  21960. name: userid
  21961. required: true
  21962. type: integer
  21963. - description: 交易模式
  21964. in: query
  21965. name: trademode
  21966. type: integer
  21967. - description: 名称(模糊搜索账户)
  21968. in: query
  21969. name: filtername
  21970. type: string
  21971. produces:
  21972. - application/json
  21973. responses:
  21974. "200":
  21975. description: OK
  21976. schema:
  21977. items:
  21978. $ref: '#/definitions/models.QhjTeamOrder'
  21979. type: array
  21980. "500":
  21981. description: Internal Server Error
  21982. schema:
  21983. $ref: '#/definitions/app.Response'
  21984. security:
  21985. - ApiKeyAuth: []
  21986. summary: 查询团队订单(我的团队/团队订单)
  21987. tags:
  21988. - 大连千海金
  21989. /Qhj/QueryParentAreaList:
  21990. get:
  21991. parameters:
  21992. - description: 用户ID
  21993. in: query
  21994. name: userid
  21995. required: true
  21996. type: integer
  21997. produces:
  21998. - application/json
  21999. responses:
  22000. "200":
  22001. description: OK
  22002. schema:
  22003. items:
  22004. $ref: '#/definitions/models.QhjParentAreaList'
  22005. type: array
  22006. "500":
  22007. description: Internal Server Error
  22008. schema:
  22009. $ref: '#/definitions/app.Response'
  22010. security:
  22011. - ApiKeyAuth: []
  22012. summary: 查询所属机构列表
  22013. tags:
  22014. - 大连千海金
  22015. /Qhj/QueryPayOrder:
  22016. get:
  22017. parameters:
  22018. - description: 资金账号id
  22019. in: query
  22020. name: accountid
  22021. required: true
  22022. type: integer
  22023. - description: 成交单号
  22024. in: query
  22025. name: tradeid
  22026. type: integer
  22027. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22028. in: query
  22029. name: payflag
  22030. type: string
  22031. produces:
  22032. - application/json
  22033. responses:
  22034. "200":
  22035. description: OK
  22036. schema:
  22037. items:
  22038. $ref: '#/definitions/models.QhjPayOrder'
  22039. type: array
  22040. "500":
  22041. description: Internal Server Error
  22042. schema:
  22043. $ref: '#/definitions/app.Response'
  22044. security:
  22045. - ApiKeyAuth: []
  22046. summary: 查询待付款单据
  22047. tags:
  22048. - 大连千海金
  22049. /Qhj/QueryPickArea:
  22050. get:
  22051. parameters:
  22052. - description: 用户ID
  22053. in: query
  22054. name: userid
  22055. type: integer
  22056. produces:
  22057. - application/json
  22058. responses:
  22059. "200":
  22060. description: OK
  22061. schema:
  22062. items:
  22063. $ref: '#/definitions/models.QhjPickArea'
  22064. type: array
  22065. "500":
  22066. description: Internal Server Error
  22067. schema:
  22068. $ref: '#/definitions/app.Response'
  22069. security:
  22070. - ApiKeyAuth: []
  22071. summary: 查询提货门店
  22072. tags:
  22073. - 大连千海金
  22074. /Qhj/QueryPickGoods:
  22075. get:
  22076. parameters:
  22077. - description: 交易商品id
  22078. in: query
  22079. name: goodsid
  22080. required: true
  22081. type: integer
  22082. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22083. in: query
  22084. name: status
  22085. type: string
  22086. produces:
  22087. - application/json
  22088. responses:
  22089. "200":
  22090. description: OK
  22091. schema:
  22092. items:
  22093. $ref: '#/definitions/models.QhjPickGoods'
  22094. type: array
  22095. "500":
  22096. description: Internal Server Error
  22097. schema:
  22098. $ref: '#/definitions/app.Response'
  22099. security:
  22100. - ApiKeyAuth: []
  22101. summary: 查询提货商品
  22102. tags:
  22103. - 大连千海金
  22104. /Qhj/QueryRSTriggerLog:
  22105. get:
  22106. parameters:
  22107. - description: 用户ID
  22108. in: query
  22109. name: userid
  22110. type: integer
  22111. - description: 定投策略id
  22112. in: query
  22113. name: regularlystrategyid
  22114. type: integer
  22115. - description: 商品id
  22116. in: query
  22117. name: goodsid
  22118. type: integer
  22119. - description: 开始交易日(yyyymmdd)
  22120. in: query
  22121. name: begindate
  22122. type: string
  22123. - description: 结束交易日(yyyymmdd)
  22124. in: query
  22125. name: enddate
  22126. type: string
  22127. - description: 名称(模糊搜索账户)
  22128. in: query
  22129. name: filtername
  22130. type: string
  22131. produces:
  22132. - application/json
  22133. responses:
  22134. "200":
  22135. description: OK
  22136. schema:
  22137. items:
  22138. $ref: '#/definitions/models.QhjRSTriggerLog'
  22139. type: array
  22140. "500":
  22141. description: Internal Server Error
  22142. schema:
  22143. $ref: '#/definitions/app.Response'
  22144. security:
  22145. - ApiKeyAuth: []
  22146. summary: 查询定投记录(定投管理/详情/定投记录)
  22147. tags:
  22148. - 大连千海金
  22149. /Qhj/QueryRStrategy:
  22150. get:
  22151. parameters:
  22152. - description: 用户ID
  22153. in: query
  22154. name: userid
  22155. type: integer
  22156. - description: 商品id
  22157. in: query
  22158. name: goodsid
  22159. type: integer
  22160. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22161. in: query
  22162. name: status
  22163. type: string
  22164. - description: 名称(模糊搜索账户)
  22165. in: query
  22166. name: filtername
  22167. type: string
  22168. produces:
  22169. - application/json
  22170. responses:
  22171. "200":
  22172. description: OK
  22173. schema:
  22174. items:
  22175. $ref: '#/definitions/models.QhjRStrategy'
  22176. type: array
  22177. "500":
  22178. description: Internal Server Error
  22179. schema:
  22180. $ref: '#/definitions/app.Response'
  22181. security:
  22182. - ApiKeyAuth: []
  22183. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22184. tags:
  22185. - 大连千海金
  22186. /Qhj/QueryReckonPriceLog:
  22187. get:
  22188. parameters:
  22189. - description: 商品ID
  22190. in: query
  22191. name: goodsid
  22192. type: integer
  22193. - description: 交易日 格式(yyyymmdd)
  22194. in: query
  22195. name: tradedate
  22196. type: string
  22197. produces:
  22198. - application/json
  22199. responses:
  22200. "200":
  22201. description: OK
  22202. schema:
  22203. items:
  22204. $ref: '#/definitions/models.QhjReckonPriceLog'
  22205. type: array
  22206. "500":
  22207. description: Internal Server Error
  22208. schema:
  22209. $ref: '#/definitions/app.Response'
  22210. security:
  22211. - ApiKeyAuth: []
  22212. summary: 查询定投价(结算价)
  22213. tags:
  22214. - 大连千海金
  22215. /Qhj/QueryScoreLog:
  22216. get:
  22217. parameters:
  22218. - description: 用户ID
  22219. in: query
  22220. name: userid
  22221. required: true
  22222. type: integer
  22223. - description: 开始交易日(yyyymmdd)
  22224. in: query
  22225. name: begindate
  22226. type: string
  22227. - description: 结束交易日(yyyymmdd)
  22228. in: query
  22229. name: enddate
  22230. type: string
  22231. - description: 最近多少条
  22232. in: query
  22233. name: lastnum
  22234. type: integer
  22235. produces:
  22236. - application/json
  22237. responses:
  22238. "200":
  22239. description: OK
  22240. schema:
  22241. items:
  22242. $ref: '#/definitions/models.QhjScoreLog'
  22243. type: array
  22244. "500":
  22245. description: Internal Server Error
  22246. schema:
  22247. $ref: '#/definitions/app.Response'
  22248. security:
  22249. - ApiKeyAuth: []
  22250. summary: 查询积分流水(我的积分)
  22251. tags:
  22252. - 大连千海金
  22253. /Qhj/QuerySiteColumnDetail:
  22254. get:
  22255. parameters:
  22256. - description: 用户ID
  22257. in: query
  22258. name: userid
  22259. required: true
  22260. type: integer
  22261. produces:
  22262. - application/json
  22263. responses:
  22264. "200":
  22265. description: OK
  22266. schema:
  22267. items:
  22268. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22269. type: array
  22270. "500":
  22271. description: Internal Server Error
  22272. schema:
  22273. $ref: '#/definitions/app.Response'
  22274. security:
  22275. - ApiKeyAuth: []
  22276. summary: 查询资讯
  22277. tags:
  22278. - 大连千海金
  22279. /Qhj/QueryTradeGoodsPickup:
  22280. get:
  22281. parameters:
  22282. - description: 用户ID
  22283. in: query
  22284. name: userid
  22285. required: true
  22286. type: integer
  22287. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22288. 7:已拒绝 8:已撤销
  22289. in: query
  22290. name: takeorderstatus
  22291. type: integer
  22292. produces:
  22293. - application/json
  22294. responses:
  22295. "200":
  22296. description: OK
  22297. schema:
  22298. items:
  22299. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22300. type: array
  22301. "500":
  22302. description: Internal Server Error
  22303. schema:
  22304. $ref: '#/definitions/app.Response'
  22305. security:
  22306. - ApiKeyAuth: []
  22307. summary: 查询提货
  22308. tags:
  22309. - 大连千海金
  22310. /Qhj/QueryUserCollectConfig:
  22311. get:
  22312. parameters:
  22313. - description: 用户ID
  22314. in: query
  22315. name: userid
  22316. required: true
  22317. type: integer
  22318. produces:
  22319. - application/json
  22320. responses:
  22321. "200":
  22322. description: OK
  22323. schema:
  22324. items:
  22325. $ref: '#/definitions/models.UserCollectConfig'
  22326. type: array
  22327. "500":
  22328. description: Internal Server Error
  22329. schema:
  22330. $ref: '#/definitions/app.Response'
  22331. security:
  22332. - ApiKeyAuth: []
  22333. summary: 查询提现账户设置
  22334. tags:
  22335. - 大连千海金
  22336. /Qhj/QueryUserReceiveInfo:
  22337. get:
  22338. parameters:
  22339. - description: 用户ID
  22340. in: query
  22341. name: userid
  22342. required: true
  22343. type: integer
  22344. produces:
  22345. - application/json
  22346. responses:
  22347. "200":
  22348. description: OK
  22349. schema:
  22350. items:
  22351. $ref: '#/definitions/models.UserReceiveInfo'
  22352. type: array
  22353. "500":
  22354. description: Internal Server Error
  22355. schema:
  22356. $ref: '#/definitions/app.Response'
  22357. security:
  22358. - ApiKeyAuth: []
  22359. summary: 查询收货地址信息
  22360. tags:
  22361. - 大连千海金
  22362. /QhjMgr/QueryAccountInOutApply:
  22363. get:
  22364. parameters:
  22365. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22366. in: query
  22367. name: querytype
  22368. required: true
  22369. type: integer
  22370. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22371. in: query
  22372. name: applystatus
  22373. type: integer
  22374. - description: 申请起始日期(格式yyyymmdd)
  22375. in: query
  22376. name: begindate
  22377. type: string
  22378. - description: 申请截止日期(格式yyyymmdd)
  22379. in: query
  22380. name: enddate
  22381. type: string
  22382. - description: 模糊搜索名称
  22383. in: query
  22384. name: likename
  22385. type: string
  22386. produces:
  22387. - application/json
  22388. responses:
  22389. "200":
  22390. description: OK
  22391. schema:
  22392. items:
  22393. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22394. type: array
  22395. "500":
  22396. description: Internal Server Error
  22397. schema:
  22398. $ref: '#/definitions/app.Response'
  22399. security:
  22400. - ApiKeyAuth: []
  22401. summary: 查询充值提现
  22402. tags:
  22403. - 大连千海金(PCWeb)
  22404. /QhjMgr/QueryBrokerApply:
  22405. get:
  22406. parameters:
  22407. - description: 所属机构ID
  22408. in: query
  22409. name: userid
  22410. type: integer
  22411. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22412. in: query
  22413. name: filterstatus
  22414. type: string
  22415. - description: 名称(模糊匹配)
  22416. in: query
  22417. name: filtername
  22418. type: string
  22419. - description: 是否包含子级 1-包含
  22420. in: query
  22421. name: includesub
  22422. type: integer
  22423. produces:
  22424. - application/json
  22425. responses:
  22426. "200":
  22427. description: OK
  22428. schema:
  22429. items:
  22430. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22431. type: array
  22432. "500":
  22433. description: Internal Server Error
  22434. schema:
  22435. $ref: '#/definitions/app.Response'
  22436. security:
  22437. - ApiKeyAuth: []
  22438. summary: 查询经纪人申请
  22439. tags:
  22440. - 大连千海金(PCWeb)
  22441. /QhjMgr/QueryBrokerRewardReport:
  22442. get:
  22443. parameters:
  22444. - description: 所属机构ID
  22445. in: query
  22446. name: userid
  22447. required: true
  22448. type: integer
  22449. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22450. in: query
  22451. name: cycletype
  22452. required: true
  22453. type: integer
  22454. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22455. in: query
  22456. name: cycletime
  22457. required: true
  22458. type: string
  22459. - description: 名称(模糊匹配)
  22460. in: query
  22461. name: filtername
  22462. type: string
  22463. - description: 是否包含子级 1-包含
  22464. in: query
  22465. name: includesub
  22466. type: integer
  22467. produces:
  22468. - application/json
  22469. responses:
  22470. "200":
  22471. description: OK
  22472. schema:
  22473. items:
  22474. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  22475. type: array
  22476. "500":
  22477. description: Internal Server Error
  22478. schema:
  22479. $ref: '#/definitions/app.Response'
  22480. security:
  22481. - ApiKeyAuth: []
  22482. summary: 查询经纪人奖励报表(废弃)
  22483. tags:
  22484. - 大连千海金(PCWeb)
  22485. /QhjMgr/QueryContract:
  22486. get:
  22487. parameters:
  22488. - description: 用户ID
  22489. in: query
  22490. name: userid
  22491. type: integer
  22492. - description: 商品id
  22493. in: query
  22494. name: goodsid
  22495. type: integer
  22496. - description: 名称(模糊搜索账户)
  22497. in: query
  22498. name: filtername
  22499. type: string
  22500. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  22501. in: query
  22502. name: risklevel
  22503. type: string
  22504. - description: 开始交易日(yyyymmdd)
  22505. in: query
  22506. name: begindate
  22507. type: string
  22508. - description: 结束交易日(yyyymmdd)
  22509. in: query
  22510. name: enddate
  22511. type: string
  22512. produces:
  22513. - application/json
  22514. responses:
  22515. "200":
  22516. description: OK
  22517. schema:
  22518. items:
  22519. $ref: '#/definitions/models.QhjMgrContract'
  22520. type: array
  22521. "500":
  22522. description: Internal Server Error
  22523. schema:
  22524. $ref: '#/definitions/app.Response'
  22525. security:
  22526. - ApiKeyAuth: []
  22527. summary: 查询融资信息(合同)
  22528. tags:
  22529. - 大连千海金(PCWeb)
  22530. /QhjMgr/QueryCustomerInfo:
  22531. get:
  22532. parameters:
  22533. - description: 用户ID
  22534. in: query
  22535. name: userid
  22536. required: true
  22537. type: integer
  22538. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22539. in: query
  22540. name: querytype
  22541. required: true
  22542. type: integer
  22543. - description: 客户类型 1-个人 2-企业
  22544. in: query
  22545. name: userinfotype
  22546. type: integer
  22547. - description: 客户名称(模糊匹配)
  22548. in: query
  22549. name: customername
  22550. type: string
  22551. - description: 昵称(模糊匹配)
  22552. in: query
  22553. name: nickname
  22554. type: string
  22555. - description: 是否包含子级 1-包含
  22556. in: query
  22557. name: includesub
  22558. type: integer
  22559. produces:
  22560. - application/json
  22561. responses:
  22562. "200":
  22563. description: OK
  22564. schema:
  22565. items:
  22566. $ref: '#/definitions/models.QhjMgrCustomer'
  22567. type: array
  22568. "500":
  22569. description: Internal Server Error
  22570. schema:
  22571. $ref: '#/definitions/app.Response'
  22572. security:
  22573. - ApiKeyAuth: []
  22574. summary: 查询客户资料
  22575. tags:
  22576. - 大连千海金(PCWeb)
  22577. /QhjMgr/QueryPickGoods:
  22578. get:
  22579. parameters:
  22580. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22581. in: query
  22582. name: status
  22583. type: string
  22584. produces:
  22585. - application/json
  22586. responses:
  22587. "200":
  22588. description: OK
  22589. schema:
  22590. items:
  22591. $ref: '#/definitions/models.QhjMgrPickGoods'
  22592. type: array
  22593. "500":
  22594. description: Internal Server Error
  22595. schema:
  22596. $ref: '#/definitions/app.Response'
  22597. security:
  22598. - ApiKeyAuth: []
  22599. summary: 查询提货商品
  22600. tags:
  22601. - 大连千海金(PCWeb)
  22602. /QhjMgr/QuerySubArea:
  22603. get:
  22604. parameters:
  22605. - description: 用户ID
  22606. in: query
  22607. name: userid
  22608. required: true
  22609. type: integer
  22610. produces:
  22611. - application/json
  22612. responses:
  22613. "200":
  22614. description: OK
  22615. schema:
  22616. items:
  22617. $ref: '#/definitions/models.QhjMgrSubArea'
  22618. type: array
  22619. "500":
  22620. description: Internal Server Error
  22621. schema:
  22622. $ref: '#/definitions/app.Response'
  22623. security:
  22624. - ApiKeyAuth: []
  22625. summary: 查询子机构列表
  22626. tags:
  22627. - 大连千海金(PCWeb)
  22628. /QhjMgr/QueryTradeDetail:
  22629. get:
  22630. parameters:
  22631. - description: 用户ID
  22632. in: query
  22633. name: userid
  22634. required: true
  22635. type: integer
  22636. - description: 用户类型 1-个人 2-企业
  22637. in: query
  22638. name: userinfotype
  22639. type: integer
  22640. - description: 交易模式
  22641. in: query
  22642. name: trademode
  22643. type: integer
  22644. - description: 商品id
  22645. in: query
  22646. name: goodsid
  22647. type: integer
  22648. - description: 名称(模糊搜索账户)
  22649. in: query
  22650. name: filtername
  22651. type: string
  22652. - description: 开始交易日(yyyymmdd)
  22653. in: query
  22654. name: begindate
  22655. type: string
  22656. - description: 结束交易日(yyyymmdd)
  22657. in: query
  22658. name: enddate
  22659. type: string
  22660. - description: 是否包含子级 1-包含
  22661. in: query
  22662. name: includesub
  22663. type: integer
  22664. produces:
  22665. - application/json
  22666. responses:
  22667. "200":
  22668. description: OK
  22669. schema:
  22670. items:
  22671. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  22672. type: array
  22673. "500":
  22674. description: Internal Server Error
  22675. schema:
  22676. $ref: '#/definitions/app.Response'
  22677. security:
  22678. - ApiKeyAuth: []
  22679. summary: 查询成交明细
  22680. tags:
  22681. - 大连千海金(PCWeb)
  22682. /QhjMgr/QueryTradeOrderDetail:
  22683. get:
  22684. parameters:
  22685. - description: 用户ID
  22686. in: query
  22687. name: userid
  22688. required: true
  22689. type: integer
  22690. - description: 用户类型 1-个人 2-企业
  22691. in: query
  22692. name: userinfotype
  22693. type: integer
  22694. - description: 交易模式
  22695. in: query
  22696. name: trademode
  22697. type: integer
  22698. - description: 商品id
  22699. in: query
  22700. name: goodsid
  22701. type: integer
  22702. - description: 名称(模糊搜索账户)
  22703. in: query
  22704. name: filtername
  22705. type: string
  22706. - description: 开始交易日(yyyymmdd)
  22707. in: query
  22708. name: begindate
  22709. type: string
  22710. - description: 结束交易日(yyyymmdd)
  22711. in: query
  22712. name: enddate
  22713. type: string
  22714. - description: 是否包含子级 1-包含
  22715. in: query
  22716. name: includesub
  22717. type: integer
  22718. produces:
  22719. - application/json
  22720. responses:
  22721. "200":
  22722. description: OK
  22723. schema:
  22724. items:
  22725. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  22726. type: array
  22727. "500":
  22728. description: Internal Server Error
  22729. schema:
  22730. $ref: '#/definitions/app.Response'
  22731. security:
  22732. - ApiKeyAuth: []
  22733. summary: 查询委托明细
  22734. tags:
  22735. - 大连千海金(PCWeb)
  22736. /QhjMgr/QueryTradePayOrder:
  22737. get:
  22738. parameters:
  22739. - description: 用户ID
  22740. in: query
  22741. name: userid
  22742. required: true
  22743. type: integer
  22744. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22745. in: query
  22746. name: payflag
  22747. type: string
  22748. - description: 用户类型 1-个人 2-企业
  22749. in: query
  22750. name: userinfotype
  22751. type: integer
  22752. - description: 交易模式
  22753. in: query
  22754. name: trademode
  22755. type: integer
  22756. - description: 商品id
  22757. in: query
  22758. name: goodsid
  22759. type: integer
  22760. - description: 名称(模糊搜索账户)
  22761. in: query
  22762. name: filtername
  22763. type: string
  22764. - description: 开始交易日(yyyymmdd)
  22765. in: query
  22766. name: begindate
  22767. type: string
  22768. - description: 结束交易日(yyyymmdd)
  22769. in: query
  22770. name: enddate
  22771. type: string
  22772. - description: 是否包含子级 1-包含
  22773. in: query
  22774. name: includesub
  22775. type: integer
  22776. produces:
  22777. - application/json
  22778. responses:
  22779. "200":
  22780. description: OK
  22781. schema:
  22782. items:
  22783. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  22784. type: array
  22785. "500":
  22786. description: Internal Server Error
  22787. schema:
  22788. $ref: '#/definitions/app.Response'
  22789. security:
  22790. - ApiKeyAuth: []
  22791. summary: 查询待付款单
  22792. tags:
  22793. - 大连千海金(PCWeb)
  22794. /QhjMgr/QueryTradePosition:
  22795. get:
  22796. parameters:
  22797. - description: 用户ID
  22798. in: query
  22799. name: userid
  22800. required: true
  22801. type: integer
  22802. - description: 用户类型 1-个人 2-企业
  22803. in: query
  22804. name: userinfotype
  22805. type: integer
  22806. - description: 交易模式
  22807. in: query
  22808. name: trademode
  22809. type: integer
  22810. - description: 商品id
  22811. in: query
  22812. name: goodsid
  22813. type: integer
  22814. - description: 名称(模糊搜索账户)
  22815. in: query
  22816. name: filtername
  22817. type: string
  22818. - description: 是否包含子级 1-包含
  22819. in: query
  22820. name: includesub
  22821. type: integer
  22822. produces:
  22823. - application/json
  22824. responses:
  22825. "200":
  22826. description: OK
  22827. schema:
  22828. items:
  22829. $ref: '#/definitions/models.QhjMgrPositionRsp'
  22830. type: array
  22831. "500":
  22832. description: Internal Server Error
  22833. schema:
  22834. $ref: '#/definitions/app.Response'
  22835. security:
  22836. - ApiKeyAuth: []
  22837. summary: 查询持仓汇总
  22838. tags:
  22839. - 大连千海金(PCWeb)
  22840. /QhjSys/QueryAgreementChangeLog:
  22841. get:
  22842. parameters:
  22843. - description: 协议ID
  22844. in: query
  22845. name: agreementid
  22846. type: integer
  22847. - description: 协议版本号
  22848. in: query
  22849. name: agreementversion
  22850. type: integer
  22851. - description: 协议类型 - 1:注册 2:登录 3:交易
  22852. in: query
  22853. name: agreementtype
  22854. type: integer
  22855. - description: 协议编号(模糊匹配)
  22856. in: query
  22857. name: agreementno
  22858. type: string
  22859. - description: 协议名称(模糊匹配)
  22860. in: query
  22861. name: agreementname
  22862. type: string
  22863. produces:
  22864. - application/json
  22865. responses:
  22866. "200":
  22867. description: OK
  22868. schema:
  22869. items:
  22870. $ref: '#/definitions/models.QhjAgreementChangeLog'
  22871. type: array
  22872. "500":
  22873. description: Internal Server Error
  22874. schema:
  22875. $ref: '#/definitions/app.Response'
  22876. security:
  22877. - ApiKeyAuth: []
  22878. summary: 查询协议配置变更流水
  22879. tags:
  22880. - 大连千海金(协议和签约信息)
  22881. /QhjSys/QueryAgreementConfig:
  22882. get:
  22883. parameters:
  22884. - description: 协议ID
  22885. in: query
  22886. name: agreementid
  22887. type: integer
  22888. - description: 协议版本号
  22889. in: query
  22890. name: agreementversion
  22891. type: integer
  22892. - description: 协议类型 - 1:注册 2:登录 3:交易
  22893. in: query
  22894. name: agreementtype
  22895. type: integer
  22896. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  22897. in: query
  22898. name: isvalid
  22899. type: integer
  22900. - description: 协议编号(模糊匹配)
  22901. in: query
  22902. name: agreementno
  22903. type: string
  22904. - description: 协议名称(模糊匹配)
  22905. in: query
  22906. name: agreementname
  22907. type: string
  22908. produces:
  22909. - application/json
  22910. responses:
  22911. "200":
  22912. description: OK
  22913. schema:
  22914. items:
  22915. $ref: '#/definitions/models.QhjAgreementConfig'
  22916. type: array
  22917. "500":
  22918. description: Internal Server Error
  22919. schema:
  22920. $ref: '#/definitions/app.Response'
  22921. security:
  22922. - ApiKeyAuth: []
  22923. summary: 查询协议配置
  22924. tags:
  22925. - 大连千海金(协议和签约信息)
  22926. /QhjSys/QueryCustomerSignStatus:
  22927. get:
  22928. parameters:
  22929. - description: 客户ID
  22930. in: query
  22931. name: userid
  22932. type: integer
  22933. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  22934. in: query
  22935. name: nodetype
  22936. type: integer
  22937. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22938. in: query
  22939. name: goodsid
  22940. type: integer
  22941. - description: 创建交易日(yyyyMMdd)
  22942. in: query
  22943. name: tradedate
  22944. type: string
  22945. - description: 用户名称(模糊匹配)
  22946. in: query
  22947. name: username
  22948. type: string
  22949. produces:
  22950. - application/json
  22951. responses:
  22952. "200":
  22953. description: OK
  22954. schema:
  22955. items:
  22956. $ref: '#/definitions/models.QhjCustomerSignStatus'
  22957. type: array
  22958. "500":
  22959. description: Internal Server Error
  22960. schema:
  22961. $ref: '#/definitions/app.Response'
  22962. security:
  22963. - ApiKeyAuth: []
  22964. summary: 查询客户协议签约状态
  22965. tags:
  22966. - 大连千海金(协议和签约信息)
  22967. /QhjSys/QueryNodeAgreementConfig:
  22968. get:
  22969. parameters:
  22970. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22971. in: query
  22972. name: configid
  22973. type: integer
  22974. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22975. in: query
  22976. name: nodetype
  22977. type: integer
  22978. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22979. in: query
  22980. name: goodsid
  22981. type: integer
  22982. - description: 协议ID
  22983. in: query
  22984. name: agreementid
  22985. type: integer
  22986. - description: 协议类型 - 1:注册 2:登录 3:交易
  22987. in: query
  22988. name: agreementtype
  22989. type: integer
  22990. - description: 协议版本号
  22991. in: query
  22992. name: agreementversion
  22993. type: integer
  22994. - description: 协议编号(模糊匹配)
  22995. in: query
  22996. name: agreementno
  22997. type: string
  22998. - description: 协议名称(模糊匹配)
  22999. in: query
  23000. name: agreementname
  23001. type: string
  23002. produces:
  23003. - application/json
  23004. responses:
  23005. "200":
  23006. description: OK
  23007. schema:
  23008. items:
  23009. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23010. type: array
  23011. "500":
  23012. description: Internal Server Error
  23013. schema:
  23014. $ref: '#/definitions/app.Response'
  23015. security:
  23016. - ApiKeyAuth: []
  23017. summary: 查询协议节点配置
  23018. tags:
  23019. - 大连千海金(协议和签约信息)
  23020. /QhjSys/QueryQhjCustomerSignLog:
  23021. get:
  23022. parameters:
  23023. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23024. in: query
  23025. name: logid
  23026. type: integer
  23027. - description: 客户ID
  23028. in: query
  23029. name: userid
  23030. type: integer
  23031. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23032. in: query
  23033. name: nodetype
  23034. type: integer
  23035. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23036. in: query
  23037. name: goodsid
  23038. type: integer
  23039. - description: 协议ID
  23040. in: query
  23041. name: agreementid
  23042. type: integer
  23043. - description: 用户名称(模糊匹配)
  23044. in: query
  23045. name: username
  23046. type: string
  23047. - description: 协议编号(模糊匹配)
  23048. in: query
  23049. name: agreementno
  23050. type: string
  23051. - description: 协议名称(模糊匹配)
  23052. in: query
  23053. name: agreementname
  23054. type: string
  23055. produces:
  23056. - application/json
  23057. responses:
  23058. "200":
  23059. description: OK
  23060. schema:
  23061. items:
  23062. $ref: '#/definitions/models.QhjCustomerSignLog'
  23063. type: array
  23064. "500":
  23065. description: Internal Server Error
  23066. schema:
  23067. $ref: '#/definitions/app.Response'
  23068. security:
  23069. - ApiKeyAuth: []
  23070. summary: 查询客户协议签约流水
  23071. tags:
  23072. - 大连千海金(协议和签约信息)
  23073. /QhjSys/QueryUserNodeCfgAndStatus:
  23074. get:
  23075. parameters:
  23076. - description: 客户ID
  23077. in: query
  23078. name: userid
  23079. type: integer
  23080. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23081. in: query
  23082. name: configid
  23083. type: integer
  23084. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23085. in: query
  23086. name: nodetype
  23087. type: string
  23088. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23089. in: query
  23090. name: goodsid
  23091. type: integer
  23092. - description: 协议ID
  23093. in: query
  23094. name: agreementid
  23095. type: integer
  23096. - description: 协议类型 - 1:注册 2:登录 3:交易
  23097. in: query
  23098. name: agreementtype
  23099. type: integer
  23100. - description: 协议版本号
  23101. in: query
  23102. name: agreementversion
  23103. type: integer
  23104. - description: 协议编号(模糊匹配)
  23105. in: query
  23106. name: agreementno
  23107. type: string
  23108. - description: 协议名称(模糊匹配)
  23109. in: query
  23110. name: agreementname
  23111. type: string
  23112. produces:
  23113. - application/json
  23114. responses:
  23115. "200":
  23116. description: OK
  23117. schema:
  23118. items:
  23119. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23120. type: array
  23121. "500":
  23122. description: Internal Server Error
  23123. schema:
  23124. $ref: '#/definitions/app.Response'
  23125. security:
  23126. - ApiKeyAuth: []
  23127. summary: 查询用户协议节点配置和状态
  23128. tags:
  23129. - 大连千海金(协议和签约信息)
  23130. /Quote/QueryHistoryDatas:
  23131. get:
  23132. parameters:
  23133. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23134. 日线'
  23135. in: query
  23136. name: cycleType
  23137. required: true
  23138. type: integer
  23139. - description: 商品代码
  23140. in: query
  23141. name: goodsCode
  23142. required: true
  23143. type: string
  23144. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23145. in: query
  23146. name: startTime
  23147. type: string
  23148. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23149. in: query
  23150. name: endTime
  23151. type: string
  23152. - description: 条数
  23153. in: query
  23154. name: count
  23155. type: integer
  23156. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23157. in: query
  23158. name: isAsc
  23159. type: boolean
  23160. produces:
  23161. - application/json
  23162. responses:
  23163. "200":
  23164. description: OK
  23165. schema:
  23166. $ref: '#/definitions/quote.HistoryData'
  23167. "500":
  23168. description: Internal Server Error
  23169. schema:
  23170. $ref: '#/definitions/app.Response'
  23171. security:
  23172. - ApiKeyAuth: []
  23173. summary: 查询行情历史数据
  23174. tags:
  23175. - 行情服务
  23176. /Quote/QueryHistoryTikDatas:
  23177. get:
  23178. parameters:
  23179. - description: 商品代码
  23180. in: query
  23181. name: goodsCode
  23182. required: true
  23183. type: string
  23184. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23185. in: query
  23186. name: startTime
  23187. type: string
  23188. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23189. in: query
  23190. name: endTime
  23191. type: string
  23192. - description: 条数
  23193. in: query
  23194. name: count
  23195. type: integer
  23196. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23197. in: query
  23198. name: isAsc
  23199. type: boolean
  23200. produces:
  23201. - application/json
  23202. responses:
  23203. "200":
  23204. description: OK
  23205. schema:
  23206. $ref: '#/definitions/quote.HistoryTikData'
  23207. "500":
  23208. description: Internal Server Error
  23209. schema:
  23210. $ref: '#/definitions/app.Response'
  23211. security:
  23212. - ApiKeyAuth: []
  23213. summary: 查询行情Tik数据
  23214. tags:
  23215. - 行情服务
  23216. /Quote/QueryQuoteDay:
  23217. get:
  23218. parameters:
  23219. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23220. in: query
  23221. name: goodsCodes
  23222. required: true
  23223. type: string
  23224. produces:
  23225. - application/json
  23226. responses:
  23227. "200":
  23228. description: OK
  23229. schema:
  23230. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23231. "500":
  23232. description: Internal Server Error
  23233. schema:
  23234. $ref: '#/definitions/app.Response'
  23235. security:
  23236. - ApiKeyAuth: []
  23237. summary: 获取商品盘面信息
  23238. tags:
  23239. - 行情服务
  23240. /Quote/QueryTSData:
  23241. get:
  23242. parameters:
  23243. - description: 商品代码
  23244. in: query
  23245. name: goodsCode
  23246. required: true
  23247. type: string
  23248. produces:
  23249. - application/json
  23250. responses:
  23251. "200":
  23252. description: OK
  23253. schema:
  23254. $ref: '#/definitions/quote.QueryTSDataRsp'
  23255. "500":
  23256. description: Internal Server Error
  23257. schema:
  23258. $ref: '#/definitions/app.Response'
  23259. security:
  23260. - ApiKeyAuth: []
  23261. summary: 分时图数据查询
  23262. tags:
  23263. - 行情服务
  23264. /SZDZ/QueryConvertConfig:
  23265. get:
  23266. parameters:
  23267. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23268. 6:交易转花生米(不设置)
  23269. in: query
  23270. name: convertType
  23271. type: integer
  23272. - description: 外部商品代码[JD\PD]
  23273. in: query
  23274. name: outerGoodsCode
  23275. type: string
  23276. - description: 内部商品ID列表[交易],格式:1,2,3
  23277. in: query
  23278. name: innerGoodsIDs
  23279. type: string
  23280. produces:
  23281. - application/json
  23282. responses:
  23283. "200":
  23284. description: OK
  23285. schema:
  23286. $ref: '#/definitions/models.Szdz3convertconfig'
  23287. "500":
  23288. description: Internal Server Error
  23289. schema:
  23290. $ref: '#/definitions/app.Response'
  23291. security:
  23292. - ApiKeyAuth: []
  23293. summary: 查询交易系统转换设置
  23294. tags:
  23295. - 定制【尚志大宗】
  23296. /SZDZ/QueryConvertLog:
  23297. get:
  23298. parameters:
  23299. - description: 资金账户 - 格式:1,2,3
  23300. in: query
  23301. name: accountID
  23302. required: true
  23303. type: string
  23304. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23305. in: query
  23306. name: startDate
  23307. type: string
  23308. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23309. in: query
  23310. name: endDate
  23311. type: string
  23312. produces:
  23313. - application/json
  23314. responses:
  23315. "200":
  23316. description: OK
  23317. schema:
  23318. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23319. "500":
  23320. description: Internal Server Error
  23321. schema:
  23322. $ref: '#/definitions/app.Response'
  23323. security:
  23324. - ApiKeyAuth: []
  23325. summary: 交易系统转换流水查询
  23326. tags:
  23327. - 定制【尚志大宗】
  23328. /SZDZ/QueryGoodsPickup:
  23329. get:
  23330. parameters:
  23331. - description: 资金账户 - 格式:1,2,3
  23332. in: query
  23333. name: accountID
  23334. required: true
  23335. type: string
  23336. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23337. in: query
  23338. name: takeOrderStatus
  23339. type: integer
  23340. produces:
  23341. - application/json
  23342. responses:
  23343. "200":
  23344. description: OK
  23345. schema:
  23346. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23347. "500":
  23348. description: Internal Server Error
  23349. schema:
  23350. $ref: '#/definitions/app.Response'
  23351. security:
  23352. - ApiKeyAuth: []
  23353. summary: 商品提货单查询
  23354. tags:
  23355. - 定制【尚志大宗】
  23356. /SZDZ/QueryRecieptOrder:
  23357. get:
  23358. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23359. parameters:
  23360. - description: 页码
  23361. in: query
  23362. name: page
  23363. type: integer
  23364. - description: 每页条数
  23365. in: query
  23366. name: pagesize
  23367. type: integer
  23368. - description: 商品ID
  23369. in: query
  23370. name: goodsID
  23371. required: true
  23372. type: integer
  23373. - description: 所属账户名称
  23374. in: query
  23375. name: accountName
  23376. type: string
  23377. - description: 市场ID
  23378. in: query
  23379. name: marketID
  23380. type: integer
  23381. - description: 方向 - 0:买 1:卖
  23382. in: query
  23383. name: buyorsell
  23384. required: true
  23385. type: integer
  23386. produces:
  23387. - application/json
  23388. responses:
  23389. "200":
  23390. description: OK
  23391. schema:
  23392. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23393. "500":
  23394. description: Internal Server Error
  23395. schema:
  23396. $ref: '#/definitions/app.Response'
  23397. security:
  23398. - ApiKeyAuth: []
  23399. summary: 点选挂牌委托单据查询(摘牌大厅)
  23400. tags:
  23401. - 定制【尚志大宗】
  23402. /SZDZ/QuerySZDZTradePosition:
  23403. get:
  23404. parameters:
  23405. - description: 资金账户
  23406. in: query
  23407. name: accountID
  23408. required: true
  23409. type: integer
  23410. produces:
  23411. - application/json
  23412. responses:
  23413. "200":
  23414. description: OK
  23415. schema:
  23416. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23417. "500":
  23418. description: Internal Server Error
  23419. schema:
  23420. $ref: '#/definitions/app.Response'
  23421. security:
  23422. - ApiKeyAuth: []
  23423. summary: 持仓汇总查询(尚志大宗)
  23424. tags:
  23425. - 定制【尚志大宗】
  23426. /SZDZ/SearchWhite:
  23427. get:
  23428. parameters:
  23429. - description: 用户ID
  23430. in: query
  23431. name: userID
  23432. required: true
  23433. type: integer
  23434. produces:
  23435. - application/json
  23436. responses:
  23437. "200":
  23438. description: OK
  23439. schema:
  23440. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23441. "500":
  23442. description: Internal Server Error
  23443. schema:
  23444. $ref: '#/definitions/app.Response'
  23445. security:
  23446. - ApiKeyAuth: []
  23447. summary: 搜索白名单
  23448. tags:
  23449. - 定制【尚志大宗】
  23450. /Search/SearchGoodses:
  23451. get:
  23452. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23453. parameters:
  23454. - description: 检索内容
  23455. in: query
  23456. name: content
  23457. required: true
  23458. type: string
  23459. - description: 交易模式,格式:1,2,3
  23460. in: query
  23461. name: tradeModes
  23462. type: string
  23463. produces:
  23464. - application/json
  23465. responses:
  23466. "200":
  23467. description: OK
  23468. schema:
  23469. $ref: '#/definitions/models.SearchGoods'
  23470. "500":
  23471. description: Internal Server Error
  23472. schema:
  23473. $ref: '#/definitions/app.Response'
  23474. summary: 检索商品信息
  23475. tags:
  23476. - 检索服务
  23477. /TaAccount/GetTaAccounts:
  23478. get:
  23479. parameters:
  23480. - description: 登录账户
  23481. in: query
  23482. name: loginID
  23483. required: true
  23484. type: integer
  23485. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  23486. in: query
  23487. name: taAccountType
  23488. type: integer
  23489. produces:
  23490. - application/json
  23491. responses:
  23492. "200":
  23493. description: OK
  23494. schema:
  23495. $ref: '#/definitions/models.Taaccount'
  23496. "500":
  23497. description: Internal Server Error
  23498. schema:
  23499. $ref: '#/definitions/app.Response'
  23500. security:
  23501. - ApiKeyAuth: []
  23502. summary: 获取资金账户信息
  23503. tags:
  23504. - 资金账户
  23505. /TaAccount/QueryAmountLog:
  23506. get:
  23507. parameters:
  23508. - description: 页码
  23509. in: query
  23510. name: page
  23511. type: integer
  23512. - description: 每页条数
  23513. in: query
  23514. name: pagesize
  23515. type: integer
  23516. - description: 资金账户 - 格式:1,2,3
  23517. in: query
  23518. name: accountID
  23519. required: true
  23520. type: string
  23521. - description: 资金操作类型 - 格式:1,2,3
  23522. in: query
  23523. name: OperateType
  23524. type: string
  23525. produces:
  23526. - application/json
  23527. responses:
  23528. "200":
  23529. description: OK
  23530. schema:
  23531. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  23532. "500":
  23533. description: Internal Server Error
  23534. schema:
  23535. $ref: '#/definitions/app.Response'
  23536. security:
  23537. - ApiKeyAuth: []
  23538. summary: 资金流水查询(当前)
  23539. tags:
  23540. - 资金账户
  23541. /TaAccount/QueryHisAmountLog:
  23542. get:
  23543. parameters:
  23544. - description: 页码
  23545. in: query
  23546. name: page
  23547. type: integer
  23548. - description: 每页条数
  23549. in: query
  23550. name: pagesize
  23551. type: integer
  23552. - description: 资金账户 - 格式:1,2,3
  23553. in: query
  23554. name: accountID
  23555. required: true
  23556. type: string
  23557. - description: 资金操作类型 - 格式:1,2,3
  23558. in: query
  23559. name: OperateType
  23560. type: string
  23561. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23562. in: query
  23563. name: startDate
  23564. type: string
  23565. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23566. in: query
  23567. name: endDate
  23568. type: string
  23569. produces:
  23570. - application/json
  23571. responses:
  23572. "200":
  23573. description: OK
  23574. schema:
  23575. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  23576. "500":
  23577. description: Internal Server Error
  23578. schema:
  23579. $ref: '#/definitions/app.Response'
  23580. security:
  23581. - ApiKeyAuth: []
  23582. summary: 资金流水查询(历史)
  23583. tags:
  23584. - 资金账户
  23585. /Trade/QueryRecieptOrder:
  23586. get:
  23587. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23588. parameters:
  23589. - description: 页码
  23590. in: query
  23591. name: page
  23592. type: integer
  23593. - description: 每页条数
  23594. in: query
  23595. name: pagesize
  23596. type: integer
  23597. - description: 商品ID
  23598. in: query
  23599. name: goodsID
  23600. required: true
  23601. type: integer
  23602. - description: 所属账户名称
  23603. in: query
  23604. name: accountName
  23605. type: string
  23606. - description: 市场ID
  23607. in: query
  23608. name: marketID
  23609. type: integer
  23610. - description: 方向 - 0:买 1:卖
  23611. in: query
  23612. name: buyorsell
  23613. required: true
  23614. type: integer
  23615. produces:
  23616. - application/json
  23617. responses:
  23618. "200":
  23619. description: OK
  23620. schema:
  23621. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  23622. "500":
  23623. description: Internal Server Error
  23624. schema:
  23625. $ref: '#/definitions/app.Response'
  23626. security:
  23627. - ApiKeyAuth: []
  23628. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  23629. tags:
  23630. - 通用交易
  23631. /User/AddMessageBoard:
  23632. post:
  23633. parameters:
  23634. - description: 用户ID
  23635. in: query
  23636. name: userID
  23637. required: true
  23638. type: integer
  23639. - description: 留言信息
  23640. in: query
  23641. name: message
  23642. required: true
  23643. type: string
  23644. - description: 联系电话
  23645. in: query
  23646. name: contactNum
  23647. required: true
  23648. type: string
  23649. produces:
  23650. - application/json
  23651. responses:
  23652. "200":
  23653. description: OK
  23654. schema:
  23655. $ref: '#/definitions/app.Response'
  23656. "500":
  23657. description: Internal Server Error
  23658. schema:
  23659. $ref: '#/definitions/app.Response'
  23660. security:
  23661. - ApiKeyAuth: []
  23662. summary: 添加用户留言板信息
  23663. tags:
  23664. - 用户信息
  23665. /User/AddUserFavoriteGoods:
  23666. post:
  23667. parameters:
  23668. - description: 用户ID
  23669. in: query
  23670. name: userID
  23671. required: true
  23672. type: integer
  23673. - description: 商品ID
  23674. in: query
  23675. name: goodsID
  23676. required: true
  23677. type: integer
  23678. produces:
  23679. - application/json
  23680. responses:
  23681. "200":
  23682. description: OK
  23683. schema:
  23684. $ref: '#/definitions/app.Response'
  23685. "500":
  23686. description: Internal Server Error
  23687. schema:
  23688. $ref: '#/definitions/app.Response'
  23689. security:
  23690. - ApiKeyAuth: []
  23691. summary: 添加用户商品收藏信息
  23692. tags:
  23693. - 用户信息
  23694. /User/GetLoginID:
  23695. get:
  23696. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  23697. parameters:
  23698. - description: 登录代码
  23699. in: query
  23700. name: username
  23701. required: true
  23702. type: string
  23703. produces:
  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. summary: 获取登录ID
  23715. tags:
  23716. - 用户信息
  23717. /User/GetUserAccount:
  23718. get:
  23719. parameters:
  23720. - description: 用户ID
  23721. in: query
  23722. name: userID
  23723. required: true
  23724. type: integer
  23725. produces:
  23726. - application/json
  23727. responses:
  23728. "200":
  23729. description: OK
  23730. schema:
  23731. $ref: '#/definitions/models.Useraccount'
  23732. "500":
  23733. description: Internal Server Error
  23734. schema:
  23735. $ref: '#/definitions/app.Response'
  23736. security:
  23737. - ApiKeyAuth: []
  23738. summary: 获取用户账号信息
  23739. tags:
  23740. - 用户信息
  23741. /User/GetUserAuthStatus:
  23742. get:
  23743. parameters:
  23744. - description: 用户ID
  23745. in: query
  23746. name: userID
  23747. required: true
  23748. type: integer
  23749. produces:
  23750. - application/json
  23751. responses:
  23752. "200":
  23753. description: OK
  23754. schema:
  23755. $ref: '#/definitions/app.Response'
  23756. "500":
  23757. description: Internal Server Error
  23758. schema:
  23759. $ref: '#/definitions/app.Response'
  23760. security:
  23761. - ApiKeyAuth: []
  23762. summary: 获取用户实名认证状态
  23763. tags:
  23764. - 用户信息
  23765. /User/LoginQuery:
  23766. get:
  23767. parameters:
  23768. - description: 登录账号
  23769. in: query
  23770. name: loginID
  23771. required: true
  23772. type: integer
  23773. produces:
  23774. - application/json
  23775. responses:
  23776. "200":
  23777. description: OK
  23778. schema:
  23779. $ref: '#/definitions/user.LoginQueryRsp'
  23780. "500":
  23781. description: Internal Server Error
  23782. schema:
  23783. $ref: '#/definitions/app.Response'
  23784. security:
  23785. - ApiKeyAuth: []
  23786. summary: 账户登录后信息查询
  23787. tags:
  23788. - 用户信息
  23789. /User/QueryMessageBoard:
  23790. get:
  23791. parameters:
  23792. - description: 用户ID
  23793. in: query
  23794. name: userID
  23795. required: true
  23796. type: integer
  23797. produces:
  23798. - application/json
  23799. responses:
  23800. "200":
  23801. description: OK
  23802. schema:
  23803. $ref: '#/definitions/models.Messageboard'
  23804. "500":
  23805. description: Internal Server Error
  23806. schema:
  23807. $ref: '#/definitions/app.Response'
  23808. security:
  23809. - ApiKeyAuth: []
  23810. summary: 获取用户留言板信息
  23811. tags:
  23812. - 用户信息
  23813. /User/QueryUserFavoriteGoodses:
  23814. get:
  23815. parameters:
  23816. - description: 用户ID
  23817. in: query
  23818. name: userID
  23819. required: true
  23820. type: integer
  23821. produces:
  23822. - application/json
  23823. responses:
  23824. "200":
  23825. description: OK
  23826. schema:
  23827. $ref: '#/definitions/models.Userfavoritegoods'
  23828. "500":
  23829. description: Internal Server Error
  23830. schema:
  23831. $ref: '#/definitions/app.Response'
  23832. security:
  23833. - ApiKeyAuth: []
  23834. summary: 获取用户商品收藏信息
  23835. tags:
  23836. - 用户信息
  23837. /User/QueryUserInfo:
  23838. get:
  23839. parameters:
  23840. - description: 用户ID
  23841. in: query
  23842. name: userID
  23843. required: true
  23844. type: integer
  23845. - description: 是否解密
  23846. in: query
  23847. name: isDecrypt
  23848. type: boolean
  23849. produces:
  23850. - application/json
  23851. responses:
  23852. "200":
  23853. description: OK
  23854. schema:
  23855. $ref: '#/definitions/models.Userinfo'
  23856. "500":
  23857. description: Internal Server Error
  23858. schema:
  23859. $ref: '#/definitions/app.Response'
  23860. security:
  23861. - ApiKeyAuth: []
  23862. summary: 获取用户信息
  23863. tags:
  23864. - 用户信息
  23865. /User/QueryUserReferNum:
  23866. get:
  23867. parameters:
  23868. - description: 用户ID
  23869. in: query
  23870. name: userID
  23871. required: true
  23872. type: integer
  23873. produces:
  23874. - application/json
  23875. responses:
  23876. "200":
  23877. description: OK
  23878. schema:
  23879. $ref: '#/definitions/app.Response'
  23880. "500":
  23881. description: Internal Server Error
  23882. schema:
  23883. $ref: '#/definitions/app.Response'
  23884. summary: 获取用户邀请码
  23885. tags:
  23886. - 用户信息
  23887. /User/RemoveUserFavoriteGoods:
  23888. post:
  23889. parameters:
  23890. - description: 用户ID
  23891. in: query
  23892. name: userID
  23893. required: true
  23894. type: integer
  23895. - description: 商品ID
  23896. in: query
  23897. name: goodsID
  23898. required: true
  23899. type: integer
  23900. produces:
  23901. - application/json
  23902. responses:
  23903. "200":
  23904. description: OK
  23905. schema:
  23906. $ref: '#/definitions/app.Response'
  23907. "500":
  23908. description: Internal Server Error
  23909. schema:
  23910. $ref: '#/definitions/app.Response'
  23911. security:
  23912. - ApiKeyAuth: []
  23913. summary: 移除用户商品收藏信息
  23914. tags:
  23915. - 用户信息
  23916. /User/UpdateUserAccountStatus:
  23917. post:
  23918. parameters:
  23919. - description: 用户ID
  23920. in: query
  23921. name: userID
  23922. required: true
  23923. type: integer
  23924. - description: 账户状态 - 4:正常 6:注销(停用)
  23925. in: query
  23926. name: accountStatus
  23927. required: true
  23928. type: integer
  23929. produces:
  23930. - application/json
  23931. responses:
  23932. "200":
  23933. description: OK
  23934. schema:
  23935. $ref: '#/definitions/app.Response'
  23936. "500":
  23937. description: Internal Server Error
  23938. schema:
  23939. $ref: '#/definitions/app.Response'
  23940. security:
  23941. - ApiKeyAuth: []
  23942. summary: 更新用户状态
  23943. tags:
  23944. - 用户信息
  23945. /WRTrade/GetAllDeliveryGoods:
  23946. get:
  23947. produces:
  23948. - application/json
  23949. - application/json
  23950. responses:
  23951. "200":
  23952. description: OK
  23953. schema:
  23954. $ref: '#/definitions/app.Response'
  23955. "500":
  23956. description: Internal Server Error
  23957. schema:
  23958. $ref: '#/definitions/app.Response'
  23959. security:
  23960. - ApiKeyAuth: []
  23961. - ApiKeyAuth: []
  23962. summary: 获取带仓单分类的种类信息
  23963. tags:
  23964. - 仓单贸易
  23965. - 仓单贸易
  23966. /WrTrade2/QueryFaProductDetail:
  23967. get:
  23968. description: 页面 买卖大厅 -> 选择融资方案
  23969. parameters:
  23970. - description: 仓单要素id
  23971. in: query
  23972. name: wrfactortypeid
  23973. required: true
  23974. type: integer
  23975. produces:
  23976. - application/json
  23977. responses:
  23978. "200":
  23979. description: OK
  23980. schema:
  23981. items:
  23982. $ref: '#/definitions/models.WrFAProductDetail'
  23983. type: array
  23984. "500":
  23985. description: Internal Server Error
  23986. schema:
  23987. $ref: '#/definitions/app.Response'
  23988. security:
  23989. - ApiKeyAuth: []
  23990. summary: 查询融资产品列表
  23991. tags:
  23992. - 仓单贸易v2
  23993. /WrTrade2/QueryFilterItem:
  23994. get:
  23995. parameters:
  23996. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  23997. in: query
  23998. name: itype
  23999. required: true
  24000. type: string
  24001. produces:
  24002. - application/json
  24003. responses:
  24004. "200":
  24005. description: OK
  24006. schema:
  24007. items:
  24008. $ref: '#/definitions/models.WrFilterItem'
  24009. type: array
  24010. "500":
  24011. description: Internal Server Error
  24012. schema:
  24013. $ref: '#/definitions/app.Response'
  24014. security:
  24015. - ApiKeyAuth: []
  24016. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  24017. tags:
  24018. - 仓单贸易v2
  24019. /WrTrade2/QueryFtDeliveryGoods:
  24020. get:
  24021. produces:
  24022. - application/json
  24023. responses:
  24024. "200":
  24025. description: OK
  24026. schema:
  24027. items:
  24028. $ref: '#/definitions/models.WrFtDeliveryGoods'
  24029. type: array
  24030. "500":
  24031. description: Internal Server Error
  24032. schema:
  24033. $ref: '#/definitions/app.Response'
  24034. security:
  24035. - ApiKeyAuth: []
  24036. summary: 查询品种品类筛选框列表
  24037. tags:
  24038. - 仓单贸易v2
  24039. /WrTrade2/QueryHoldLB:
  24040. get:
  24041. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  24042. parameters:
  24043. - description: 资金账号
  24044. in: query
  24045. name: accountid
  24046. required: true
  24047. type: integer
  24048. - description: 仓库id
  24049. in: query
  24050. name: warehouseid
  24051. type: integer
  24052. - description: 品种id
  24053. in: query
  24054. name: deliverygoodsid
  24055. type: integer
  24056. - description: 品类id
  24057. in: query
  24058. name: wrstandardid
  24059. type: integer
  24060. produces:
  24061. - application/json
  24062. responses:
  24063. "200":
  24064. description: OK
  24065. schema:
  24066. items:
  24067. $ref: '#/definitions/models.WrHoldLB'
  24068. type: array
  24069. "500":
  24070. description: Internal Server Error
  24071. schema:
  24072. $ref: '#/definitions/app.Response'
  24073. security:
  24074. - ApiKeyAuth: []
  24075. summary: 查询仓单持有记录
  24076. tags:
  24077. - 仓单贸易v2
  24078. /WrTrade2/QueryOrderQuote:
  24079. get:
  24080. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  24081. 唯一确定1条记录
  24082. parameters:
  24083. - description: 页码
  24084. in: query
  24085. name: page
  24086. type: integer
  24087. - description: 每页条数
  24088. in: query
  24089. name: pagesize
  24090. type: integer
  24091. - description: 仓单贸易市场id
  24092. in: query
  24093. name: marketid
  24094. type: integer
  24095. - description: 价格方式 - 1:固定价 2-浮动价
  24096. in: query
  24097. name: wrpricetype
  24098. required: true
  24099. type: integer
  24100. - description: 0:仓单预售 1:仓单贸易
  24101. in: query
  24102. name: haswr
  24103. required: true
  24104. type: integer
  24105. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24106. in: query
  24107. name: dgitemname
  24108. type: string
  24109. - description: 仓库id(筛选条件)
  24110. in: query
  24111. name: warehouseid
  24112. type: integer
  24113. - description: 品种id
  24114. in: query
  24115. name: deliverygoodsid
  24116. type: integer
  24117. - description: 品类id
  24118. in: query
  24119. name: wrstandardid
  24120. type: integer
  24121. - description: 仓单要素id
  24122. in: query
  24123. name: wrfactortypeid
  24124. type: integer
  24125. - description: 交收月(yyyy-mm) 仓单预售填写
  24126. in: query
  24127. name: deliverymonth
  24128. type: string
  24129. produces:
  24130. - application/json
  24131. responses:
  24132. "200":
  24133. description: OK
  24134. schema:
  24135. items:
  24136. $ref: '#/definitions/models.WrOrderQuote'
  24137. type: array
  24138. "500":
  24139. description: Internal Server Error
  24140. schema:
  24141. $ref: '#/definitions/app.Response'
  24142. security:
  24143. - ApiKeyAuth: []
  24144. summary: 查询大厅行情列表
  24145. tags:
  24146. - 仓单贸易v2
  24147. /WrTrade2/QueryOrderQuoteDetail:
  24148. get:
  24149. parameters:
  24150. - description: 页码
  24151. in: query
  24152. name: page
  24153. type: integer
  24154. - description: 每页条数
  24155. in: query
  24156. name: pagesize
  24157. type: integer
  24158. - description: 仓单贸易市场id
  24159. in: query
  24160. name: marketid
  24161. type: integer
  24162. - description: 价格方式 - 1:固定价 2-浮动价
  24163. in: query
  24164. name: wrpricetype
  24165. required: true
  24166. type: integer
  24167. - description: 0:仓单预售 1:仓单贸易
  24168. in: query
  24169. name: haswr
  24170. required: true
  24171. type: integer
  24172. - description: 仓单要素id
  24173. in: query
  24174. name: wrfactortypeid
  24175. required: true
  24176. type: integer
  24177. - description: 期货商品id(浮动价方式时填)
  24178. in: query
  24179. name: goodsid
  24180. type: integer
  24181. - description: 买卖方向 0-买 1-卖
  24182. in: query
  24183. name: buyorsell
  24184. required: true
  24185. type: integer
  24186. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24187. in: query
  24188. name: deliverymonth
  24189. type: string
  24190. produces:
  24191. - application/json
  24192. responses:
  24193. "200":
  24194. description: OK
  24195. schema:
  24196. items:
  24197. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24198. type: array
  24199. "500":
  24200. description: Internal Server Error
  24201. schema:
  24202. $ref: '#/definitions/app.Response'
  24203. security:
  24204. - ApiKeyAuth: []
  24205. summary: 查询买卖大厅
  24206. tags:
  24207. - 仓单贸易v2
  24208. /WrTrade2/QueryPerformancePlan:
  24209. get:
  24210. parameters:
  24211. - description: 用户id
  24212. in: query
  24213. name: userid
  24214. required: true
  24215. type: integer
  24216. - description: 买卖方向 0-买 1-卖
  24217. in: query
  24218. name: buyorsell
  24219. required: true
  24220. type: integer
  24221. produces:
  24222. - application/json
  24223. responses:
  24224. "200":
  24225. description: OK
  24226. schema:
  24227. items:
  24228. $ref: '#/definitions/models.WrPerformancePlan'
  24229. type: array
  24230. "500":
  24231. description: Internal Server Error
  24232. schema:
  24233. $ref: '#/definitions/app.Response'
  24234. security:
  24235. - ApiKeyAuth: []
  24236. summary: 查询履约信息
  24237. tags:
  24238. - 仓单贸易v2
  24239. /WrTrade2/QueryWrBuybackDetail:
  24240. get:
  24241. parameters:
  24242. - description: 融资合同id
  24243. in: query
  24244. name: scfcontractid
  24245. type: integer
  24246. produces:
  24247. - application/json
  24248. responses:
  24249. "200":
  24250. description: OK
  24251. schema:
  24252. items:
  24253. $ref: '#/definitions/models.WrBuybackDetail'
  24254. type: array
  24255. "500":
  24256. description: Internal Server Error
  24257. schema:
  24258. $ref: '#/definitions/app.Response'
  24259. security:
  24260. - ApiKeyAuth: []
  24261. summary: 查询仓单回购明细
  24262. tags:
  24263. - 仓单贸易v2
  24264. /WrTrade2/QueryWrDeliveryDetail:
  24265. get:
  24266. parameters:
  24267. - description: 用户id
  24268. in: query
  24269. name: userid
  24270. required: true
  24271. type: integer
  24272. - description: 资金账号id
  24273. in: query
  24274. name: accountid
  24275. type: integer
  24276. produces:
  24277. - application/json
  24278. responses:
  24279. "200":
  24280. description: OK
  24281. schema:
  24282. items:
  24283. $ref: '#/definitions/models.WrDeliveryDetail'
  24284. type: array
  24285. "500":
  24286. description: Internal Server Error
  24287. schema:
  24288. $ref: '#/definitions/app.Response'
  24289. security:
  24290. - ApiKeyAuth: []
  24291. summary: 查询交收
  24292. tags:
  24293. - 仓单贸易v2
  24294. /WrTrade2/QueryWrFactorTypeInfo:
  24295. get:
  24296. parameters:
  24297. - description: 仓单要素id
  24298. in: query
  24299. name: wrfactortypeid
  24300. required: true
  24301. type: integer
  24302. produces:
  24303. - application/json
  24304. responses:
  24305. "200":
  24306. description: OK
  24307. schema:
  24308. items:
  24309. $ref: '#/definitions/models.WrFactorTypeInfo'
  24310. type: array
  24311. "500":
  24312. description: Internal Server Error
  24313. schema:
  24314. $ref: '#/definitions/app.Response'
  24315. security:
  24316. - ApiKeyAuth: []
  24317. summary: 查询仓单要素详细信息
  24318. tags:
  24319. - 仓单贸易v2
  24320. /WrTrade2/QueryWrFactorTypeInfoEx:
  24321. get:
  24322. parameters:
  24323. - description: 仓单要素id
  24324. in: query
  24325. name: wrfactortypeid
  24326. required: true
  24327. type: integer
  24328. produces:
  24329. - application/json
  24330. responses:
  24331. "200":
  24332. description: OK
  24333. schema:
  24334. items:
  24335. $ref: '#/definitions/models.WrTypeItem'
  24336. type: array
  24337. "500":
  24338. description: Internal Server Error
  24339. schema:
  24340. $ref: '#/definitions/app.Response'
  24341. security:
  24342. - ApiKeyAuth: []
  24343. summary: 查询仓单要素详细信息列表项
  24344. tags:
  24345. - 仓单贸易v2
  24346. /WrTrade2/QueryWrFinanceBuyApply:
  24347. get:
  24348. description: 页面 融资信息+ / 申请单
  24349. parameters:
  24350. - description: 用户id
  24351. in: query
  24352. name: userid
  24353. required: true
  24354. type: integer
  24355. produces:
  24356. - application/json
  24357. responses:
  24358. "200":
  24359. description: OK
  24360. schema:
  24361. items:
  24362. $ref: '#/definitions/models.WrFinanceBuyApply'
  24363. type: array
  24364. "500":
  24365. description: Internal Server Error
  24366. schema:
  24367. $ref: '#/definitions/app.Response'
  24368. security:
  24369. - ApiKeyAuth: []
  24370. summary: 查询融资购买申请
  24371. tags:
  24372. - 仓单贸易v2
  24373. /WrTrade2/QueryWrGoodsInfo:
  24374. get:
  24375. parameters:
  24376. - description: 仓单贸易市场id
  24377. in: query
  24378. name: marketid
  24379. type: integer
  24380. - description: 0:仓单预售 1:仓单贸易
  24381. in: query
  24382. name: haswr
  24383. required: true
  24384. type: integer
  24385. - description: 仓单要素id
  24386. in: query
  24387. name: wrfactortypeid
  24388. required: true
  24389. type: integer
  24390. produces:
  24391. - application/json
  24392. responses:
  24393. "200":
  24394. description: OK
  24395. schema:
  24396. items:
  24397. $ref: '#/definitions/models.WrGoodsInfo'
  24398. type: array
  24399. "500":
  24400. description: Internal Server Error
  24401. schema:
  24402. $ref: '#/definitions/app.Response'
  24403. security:
  24404. - ApiKeyAuth: []
  24405. summary: 查询仓单商品信息
  24406. tags:
  24407. - 仓单贸易v2
  24408. /WrTrade2/QueryWrMarketTradeConfig:
  24409. get:
  24410. parameters:
  24411. - description: 市场id
  24412. in: query
  24413. name: marketid
  24414. type: integer
  24415. produces:
  24416. - application/json
  24417. responses:
  24418. "200":
  24419. description: OK
  24420. schema:
  24421. items:
  24422. $ref: '#/definitions/models.WrMarketTradeConfig'
  24423. type: array
  24424. "500":
  24425. description: Internal Server Error
  24426. schema:
  24427. $ref: '#/definitions/app.Response'
  24428. security:
  24429. - ApiKeyAuth: []
  24430. summary: 查询市场交易参数配置
  24431. tags:
  24432. - 仓单贸易v2
  24433. /WrTrade2/QueryWrOrderDetail:
  24434. get:
  24435. description: 页面 现货仓单 | 预售仓单 -> 挂单
  24436. parameters:
  24437. - description: 页码
  24438. in: query
  24439. name: page
  24440. type: integer
  24441. - description: 每页条数
  24442. in: query
  24443. name: pagesize
  24444. type: integer
  24445. - description: 用户id
  24446. in: query
  24447. name: userid
  24448. required: true
  24449. type: integer
  24450. - description: 仓单贸易市场id
  24451. in: query
  24452. name: marketid
  24453. type: integer
  24454. - description: 0:仓单预售 1:仓单贸易
  24455. in: query
  24456. name: haswr
  24457. required: true
  24458. type: integer
  24459. produces:
  24460. - application/json
  24461. responses:
  24462. "200":
  24463. description: OK
  24464. schema:
  24465. items:
  24466. $ref: '#/definitions/models.WrOrderDetail'
  24467. type: array
  24468. "500":
  24469. description: Internal Server Error
  24470. schema:
  24471. $ref: '#/definitions/app.Response'
  24472. security:
  24473. - ApiKeyAuth: []
  24474. summary: 查询仓单委托单(挂单)
  24475. tags:
  24476. - 仓单贸易v2
  24477. /WrTrade2/QueryWrOutInApply:
  24478. get:
  24479. parameters:
  24480. - description: 用户id
  24481. in: query
  24482. name: userid
  24483. required: true
  24484. type: integer
  24485. produces:
  24486. - application/json
  24487. responses:
  24488. "200":
  24489. description: OK
  24490. schema:
  24491. items:
  24492. $ref: '#/definitions/models.WrOutInApply'
  24493. type: array
  24494. "500":
  24495. description: Internal Server Error
  24496. schema:
  24497. $ref: '#/definitions/app.Response'
  24498. security:
  24499. - ApiKeyAuth: []
  24500. summary: 查询提货申请
  24501. tags:
  24502. - 仓单贸易v2
  24503. /WrTrade2/QueryWrPerformancePlanStep:
  24504. get:
  24505. parameters:
  24506. - description: 履约计划id(performanceplanid)
  24507. in: query
  24508. name: planid
  24509. required: true
  24510. type: integer
  24511. - description: 当前步骤id
  24512. in: query
  24513. name: curstepid
  24514. type: integer
  24515. produces:
  24516. - application/json
  24517. responses:
  24518. "200":
  24519. description: OK
  24520. schema:
  24521. items:
  24522. $ref: '#/definitions/models.WrPerformancePlanStep'
  24523. type: array
  24524. "500":
  24525. description: Internal Server Error
  24526. schema:
  24527. $ref: '#/definitions/app.Response'
  24528. security:
  24529. - ApiKeyAuth: []
  24530. summary: 查询履约信息详情
  24531. tags:
  24532. - 仓单贸易v2
  24533. /WrTrade2/QueryWrPosition:
  24534. get:
  24535. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  24536. parameters:
  24537. - description: 用户id
  24538. in: query
  24539. name: userid
  24540. required: true
  24541. type: integer
  24542. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  24543. in: query
  24544. name: querytype
  24545. required: true
  24546. type: integer
  24547. - description: 0:仓单预售 1:仓单贸易
  24548. in: query
  24549. name: haswr
  24550. required: true
  24551. type: integer
  24552. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24553. in: query
  24554. name: dgitemname
  24555. type: string
  24556. - description: 仓库id(筛选条件)
  24557. in: query
  24558. name: warehouseid
  24559. type: integer
  24560. - description: 品种id
  24561. in: query
  24562. name: deliverygoodsid
  24563. type: integer
  24564. - description: 品类id
  24565. in: query
  24566. name: wrstandardid
  24567. type: integer
  24568. produces:
  24569. - application/json
  24570. responses:
  24571. "200":
  24572. description: OK
  24573. schema:
  24574. items:
  24575. $ref: '#/definitions/models.WrPosition'
  24576. type: array
  24577. "500":
  24578. description: Internal Server Error
  24579. schema:
  24580. $ref: '#/definitions/app.Response'
  24581. security:
  24582. - ApiKeyAuth: []
  24583. summary: 查询现货(预售)仓单持仓
  24584. tags:
  24585. - 仓单贸易v2
  24586. /WrTrade2/QueryWrScfContract:
  24587. get:
  24588. parameters:
  24589. - description: 用户id
  24590. in: query
  24591. name: userid
  24592. required: true
  24593. type: integer
  24594. - description: 融资合同id
  24595. in: query
  24596. name: scfcontractid
  24597. type: integer
  24598. produces:
  24599. - application/json
  24600. responses:
  24601. "200":
  24602. description: OK
  24603. schema:
  24604. items:
  24605. $ref: '#/definitions/models.WrScfContract'
  24606. type: array
  24607. "500":
  24608. description: Internal Server Error
  24609. schema:
  24610. $ref: '#/definitions/app.Response'
  24611. security:
  24612. - ApiKeyAuth: []
  24613. summary: 查询仓单贸易融资合同
  24614. tags:
  24615. - 仓单贸易v2
  24616. /WrTrade2/QueryWrScfContractInterest:
  24617. get:
  24618. parameters:
  24619. - description: 融资合同id
  24620. in: query
  24621. name: scfcontractid
  24622. type: integer
  24623. produces:
  24624. - application/json
  24625. responses:
  24626. "200":
  24627. description: OK
  24628. schema:
  24629. items:
  24630. $ref: '#/definitions/models.WrScfContractInterest'
  24631. type: array
  24632. "500":
  24633. description: Internal Server Error
  24634. schema:
  24635. $ref: '#/definitions/app.Response'
  24636. security:
  24637. - ApiKeyAuth: []
  24638. summary: 查询融资合同费用明细
  24639. tags:
  24640. - 仓单贸易v2
  24641. /WrTrade2/QueryWrSpecialMatchOrder:
  24642. get:
  24643. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  24644. parameters:
  24645. - description: 页码
  24646. in: query
  24647. name: page
  24648. type: integer
  24649. - description: 每页条数
  24650. in: query
  24651. name: pagesize
  24652. type: integer
  24653. - description: 用户id
  24654. in: query
  24655. name: userid
  24656. required: true
  24657. type: integer
  24658. - description: 仓单贸易市场id
  24659. in: query
  24660. name: marketid
  24661. type: integer
  24662. - description: 0:仓单预售 1:仓单贸易
  24663. in: query
  24664. name: haswr
  24665. required: true
  24666. type: integer
  24667. produces:
  24668. - application/json
  24669. responses:
  24670. "200":
  24671. description: OK
  24672. schema:
  24673. items:
  24674. $ref: '#/definitions/models.WrSpecialMatchOrder'
  24675. type: array
  24676. "500":
  24677. description: Internal Server Error
  24678. schema:
  24679. $ref: '#/definitions/app.Response'
  24680. security:
  24681. - ApiKeyAuth: []
  24682. summary: 查询指定成交
  24683. tags:
  24684. - 仓单贸易v2
  24685. /WrTrade2/QueryWrStandardFactoryItem:
  24686. get:
  24687. parameters:
  24688. - description: 品类id
  24689. in: query
  24690. name: wrstandardid
  24691. required: true
  24692. type: integer
  24693. produces:
  24694. - application/json
  24695. responses:
  24696. "200":
  24697. description: OK
  24698. schema:
  24699. items:
  24700. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  24701. type: array
  24702. "500":
  24703. description: Internal Server Error
  24704. schema:
  24705. $ref: '#/definitions/app.Response'
  24706. security:
  24707. - ApiKeyAuth: []
  24708. summary: 查询品类要素定义项
  24709. tags:
  24710. - 仓单贸易v2
  24711. /WrTrade2/QueryWrTradeDetail:
  24712. get:
  24713. parameters:
  24714. - description: 页码
  24715. in: query
  24716. name: page
  24717. type: integer
  24718. - description: 每页条数
  24719. in: query
  24720. name: pagesize
  24721. type: integer
  24722. - description: 用户id
  24723. in: query
  24724. name: userid
  24725. required: true
  24726. type: integer
  24727. - description: 仓单贸易市场id
  24728. in: query
  24729. name: marketid
  24730. type: integer
  24731. - description: 0:仓单预售 1:仓单贸易
  24732. in: query
  24733. name: haswr
  24734. required: true
  24735. type: integer
  24736. produces:
  24737. - application/json
  24738. responses:
  24739. "200":
  24740. description: OK
  24741. schema:
  24742. items:
  24743. $ref: '#/definitions/models.WrTradeDetail'
  24744. type: array
  24745. "500":
  24746. description: Internal Server Error
  24747. schema:
  24748. $ref: '#/definitions/app.Response'
  24749. security:
  24750. - ApiKeyAuth: []
  24751. summary: 查询仓单成交明细
  24752. tags:
  24753. - 仓单贸易v2
  24754. securityDefinitions:
  24755. ApiKeyAuth:
  24756. in: header
  24757. name: Authorization
  24758. type: apiKey
  24759. swagger: "2.0"