swagger.yaml 764 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642
  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.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. requireauth:
  81. description: 是否需要权限判断
  82. type: boolean
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. requireauth:
  108. description: 是否需要权限判断
  109. type: boolean
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagepath:
  126. description: 图片
  127. type: string
  128. imagetype:
  129. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  130. type: integer
  131. isshow:
  132. description: 是否展示 - 0:不展示 1:展示
  133. type: integer
  134. marketid:
  135. description: 市场ID
  136. type: integer
  137. modifierid:
  138. description: 操作人
  139. type: integer
  140. sort:
  141. description: 排序
  142. type: integer
  143. title:
  144. description: 标题
  145. type: string
  146. trademode:
  147. description: 交易模式
  148. type: integer
  149. updatedate:
  150. description: 修改时间
  151. type: string
  152. url:
  153. description: 链接(地址或商品ID)
  154. type: string
  155. urltype:
  156. description: 链接类型 - 1:直接地址 2:商品ID
  157. type: integer
  158. required:
  159. - configid
  160. type: object
  161. common.QueryNoticeRsp:
  162. properties:
  163. auditoruserid:
  164. description: 审核人
  165. type: integer
  166. auditremark:
  167. description: 审核备注
  168. type: string
  169. audittime:
  170. description: 审核日期
  171. type: string
  172. autoid:
  173. description: 自增ID
  174. type: integer
  175. content:
  176. description: 内容
  177. type: string
  178. createtime:
  179. description: 创建时间
  180. type: string
  181. creatorid:
  182. description: 建仓人
  183. type: integer
  184. endtime:
  185. description: 结束时间
  186. type: string
  187. istop:
  188. description: 是否置顶 - 0:不置顶 1:置顶
  189. type: integer
  190. msgiconurl:
  191. description: 消息图标Url
  192. type: string
  193. msgtype:
  194. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  195. type: integer
  196. publisher:
  197. description: 消息发布者
  198. type: string
  199. readed:
  200. description: 是否已读
  201. type: boolean
  202. scheduletime:
  203. description: 计划发送时间
  204. type: string
  205. sendtype:
  206. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  207. type: integer
  208. sentstatus:
  209. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  210. type: integer
  211. title:
  212. description: 标题
  213. type: string
  214. userid:
  215. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  216. type: integer
  217. required:
  218. - autoid
  219. type: object
  220. common.QueryProvincesAndCitiesRsp:
  221. properties:
  222. cities:
  223. description: 市
  224. items:
  225. $ref: '#/definitions/models.Division'
  226. type: array
  227. province:
  228. $ref: '#/definitions/models.Division'
  229. description: 省
  230. type: object
  231. common.QueryTableDefineRsp:
  232. properties:
  233. columns:
  234. description: 列头信息数组
  235. items:
  236. $ref: '#/definitions/models.Tablecolumnconfig'
  237. type: array
  238. remark:
  239. description: Remark
  240. type: string
  241. tabelmenu:
  242. description: 列表菜单
  243. type: string
  244. tablekey:
  245. description: 列表Key
  246. type: string
  247. tablename:
  248. description: 列表名称
  249. type: string
  250. tabletype:
  251. description: 列表类型 - 1:管理端 2:终端
  252. type: integer
  253. required:
  254. - tablekey
  255. type: object
  256. common.QueryTraderMenuRsp:
  257. properties:
  258. OperationMenu:
  259. description: 功能菜单
  260. items:
  261. $ref: '#/definitions/models.OperationPrimaryMenu'
  262. type: array
  263. QuoteMenu:
  264. description: 报价牌分类菜单
  265. items:
  266. $ref: '#/definitions/models.QuotePrimaryMenu'
  267. type: array
  268. type: object
  269. cptrade.Cptradepositioncancel:
  270. properties:
  271. accountid:
  272. description: 申请人账户ID
  273. type: integer
  274. applystatus:
  275. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  276. type: integer
  277. applytime:
  278. description: 申请时间
  279. type: string
  280. cancelid:
  281. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  282. type: integer
  283. cancelqty:
  284. description: 注销数量
  285. type: integer
  286. createtime:
  287. description: 创建时间
  288. type: string
  289. creatorid:
  290. description: 创建人ID
  291. type: integer
  292. creatorname:
  293. description: 创建人
  294. type: string
  295. goodscode:
  296. description: 订单商品代码
  297. type: string
  298. goodsid:
  299. description: 商品ID
  300. type: integer
  301. goodsname:
  302. description: 订单商品名称
  303. type: string
  304. goodunit:
  305. description: 报价单位
  306. type: string
  307. handlestatus:
  308. description: 处理状态
  309. type: integer
  310. marketid:
  311. description: 市场ID
  312. type: integer
  313. marketname:
  314. description: 市场名称
  315. type: string
  316. tradedate:
  317. description: 交易日(yyyyMMdd)
  318. type: string
  319. userid:
  320. description: 申请人ID
  321. type: integer
  322. required:
  323. - cancelid
  324. type: object
  325. cptrade.Cptradepresaleapply:
  326. properties:
  327. accountid:
  328. description: 申请人账户ID
  329. type: integer
  330. applyid:
  331. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  332. type: integer
  333. applyremark:
  334. description: 申请备注
  335. type: string
  336. applystatus:
  337. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  338. type: integer
  339. applytime:
  340. description: 申请时间
  341. type: string
  342. attachmenturl:
  343. description: 附件地址
  344. type: string
  345. endtime:
  346. description: 预售结束时间
  347. type: string
  348. goodscode:
  349. description: 商品代码
  350. type: string
  351. goodsid:
  352. description: 商品ID
  353. type: integer
  354. goodsname:
  355. description: 商品名称
  356. type: string
  357. goodunit:
  358. description: 报价单位
  359. type: string
  360. handlestatus:
  361. description: 处理状态
  362. type: integer
  363. marketid:
  364. description: 预售市场ID
  365. type: integer
  366. marketname:
  367. description: 预售市场名称
  368. type: string
  369. presaleqty:
  370. description: 预售数量
  371. type: integer
  372. relatedgoodscode:
  373. description: 关联交易合约代码
  374. type: string
  375. relatedgoodsid:
  376. description: 关联交易合约ID
  377. type: integer
  378. relatedgoodsname:
  379. description: 关联交易合约名称
  380. type: string
  381. starttime:
  382. description: 预售开始时间
  383. type: string
  384. tradedate:
  385. description: 交易日(yyyyMMdd)
  386. type: string
  387. trademode:
  388. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  389. type: integer
  390. userid:
  391. description: 申请人ID
  392. type: integer
  393. required:
  394. - applyid
  395. type: object
  396. cptrade.Cptradeusergoodsdata:
  397. properties:
  398. EnabledQty:
  399. description: 可用量
  400. type: integer
  401. GoodsCode:
  402. description: 订单商品代码
  403. type: string
  404. GoodsName:
  405. description: 订单商品名称
  406. type: string
  407. WRStandardCode:
  408. description: 仓单标准代码
  409. type: string
  410. WRStandardName:
  411. description: 仓单标准名称
  412. type: string
  413. accountid:
  414. description: 账户ID
  415. type: integer
  416. cancelqty:
  417. description: 注销量
  418. type: integer
  419. curpresaleqty:
  420. description: 当前预售量
  421. type: integer
  422. deliveryqty:
  423. description: 交割量
  424. type: integer
  425. freezeamount:
  426. description: 冻结金额
  427. type: number
  428. goodsid:
  429. description: 商品ID
  430. type: integer
  431. goodunit:
  432. description: 报价单位
  433. type: string
  434. hasspotfreeze:
  435. description: 是否有现货冻结 - 0:否 1:有
  436. type: integer
  437. inqty:
  438. description: 转入量(总数量)
  439. type: integer
  440. marketid:
  441. description: 市场ID
  442. type: integer
  443. presaledamount:
  444. description: 已预售总金额
  445. type: integer
  446. presaledqty:
  447. description: 已预售量
  448. type: integer
  449. userid:
  450. description: 用户ID
  451. type: integer
  452. wrstandardid:
  453. description: 仓单标准ID
  454. type: integer
  455. required:
  456. - accountid
  457. - goodsid
  458. type: object
  459. cptrade.QueryCPTradeMyBidRsp:
  460. properties:
  461. accountid:
  462. description: 账户ID[报价币种]
  463. type: integer
  464. goodsid:
  465. description: 商品ID
  466. type: integer
  467. goodunit:
  468. description: 报价单位
  469. type: string
  470. marketid:
  471. description: 市场ID
  472. type: integer
  473. orderid:
  474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  475. type: integer
  476. orderprice:
  477. description: 委托价格
  478. type: number
  479. orderqty:
  480. description: 委托数量
  481. type: integer
  482. ordertime:
  483. description: 委托时间
  484. type: string
  485. ordertotalprice:
  486. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  487. type: number
  488. ordertotalweight:
  489. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  490. type: integer
  491. totaltotalprice:
  492. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  493. type: number
  494. tradeprice:
  495. description: 成交价格
  496. type: number
  497. tradeqty:
  498. description: 成交数量
  499. type: integer
  500. required:
  501. - accountid
  502. - goodsid
  503. - marketid
  504. - orderid
  505. - orderqty
  506. - ordertime
  507. - tradeprice
  508. - tradeqty
  509. type: object
  510. cptrade.QueryCPTradeOrderDetailRsq:
  511. properties:
  512. accountid:
  513. description: 账户ID[报价币种]
  514. type: integer
  515. buildtype:
  516. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  517. type: integer
  518. buyorsell:
  519. description: 买卖 - 0:买 1:卖
  520. type: integer
  521. cancelorderid:
  522. description: 撤单单号(撤单时填写)
  523. type: integer
  524. cancelqty:
  525. description: 撤单数量
  526. type: integer
  527. clientordertime:
  528. description: 客户端委托时间
  529. type: string
  530. clientticket:
  531. description: 客户端流水号
  532. type: string
  533. clienttype:
  534. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  535. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  536. type: integer
  537. closeexchagechargevalue:
  538. description: 平仓交易所手续费设置值
  539. type: number
  540. closefeealgorithm:
  541. description: 平仓手续费收取方式 1:比率 2:固定
  542. type: integer
  543. closefreezecharge:
  544. description: 平仓冻结手续费(先建后平操作,需要记录)
  545. type: number
  546. closememberchargevalue:
  547. description: 平仓会员手续费设置值
  548. type: number
  549. closeqty:
  550. description: 平仓数量(先建后平操作 需要记录)
  551. type: integer
  552. closetradeqty:
  553. description: 平仓成交数量(先建后平操作,需要记录)
  554. type: integer
  555. closeunfreezecharge:
  556. description: 平仓解冻手续费(先建后平操作,需要记录)
  557. type: number
  558. delistingtype:
  559. description: 摘牌类型 - 1:价格最优 2:点选成交
  560. type: integer
  561. freezecharge:
  562. description: 冻结手续费
  563. type: number
  564. freezemargin:
  565. description: 冻结保证金(冻结交易金额)
  566. type: number
  567. gcaccountid:
  568. description: 账户ID[合约币种]
  569. type: integer
  570. goodsid:
  571. description: 商品ID
  572. type: integer
  573. isconfirmexercise:
  574. description: 是否确认行权- 0:否 1:是
  575. type: integer
  576. ispreexercise:
  577. description: 是否预申报- 0:否 1:是
  578. type: integer
  579. listingselecttype:
  580. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  581. type: integer
  582. marginalgorithm:
  583. description: 保证金收取方式 1:比率 2:固定
  584. type: integer
  585. marginvalue:
  586. description: 即市保证金设置值
  587. type: number
  588. marketid:
  589. description: 市场ID
  590. type: integer
  591. marketmaxsub:
  592. description: 市价最大偏移范围
  593. type: number
  594. memberuserid:
  595. description: 所属会员UserID
  596. type: integer
  597. openexchagechargevalue:
  598. description: 建仓交易所手续费设置值
  599. type: number
  600. openfeealgorithm:
  601. description: 建仓手续费收取方式 1:比率 2:固定
  602. type: integer
  603. openfreezecharge:
  604. description: 开仓冻结手续费(先建后平操作,需要记录)
  605. type: number
  606. openmemberchargevalue:
  607. description: 建仓会员手续费设置值
  608. type: number
  609. openqty:
  610. description: 开仓数量(先建后平操作,需要记录)
  611. type: integer
  612. opentradeqty:
  613. description: 开仓成交数量(先建后平操作,需要记录)
  614. type: integer
  615. openunfreezecharge:
  616. description: 开仓解冻手续费(先建后平操作,需要记录)
  617. type: number
  618. operatetype:
  619. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  620. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  621. 15:管理端协议转让
  622. type: integer
  623. operatorid:
  624. description: 登录账号(LoginID)
  625. type: integer
  626. optiontype:
  627. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  628. type: integer
  629. orderprice:
  630. description: 委托价格
  631. type: number
  632. orderqty:
  633. description: 委托数量
  634. type: integer
  635. ordersrc:
  636. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  637. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  638. type: integer
  639. orderstatus:
  640. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  641. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  642. 16:成交失败违约(荷兰式竞拍专用)
  643. type: integer
  644. ordertime:
  645. description: 委托时间
  646. type: string
  647. preexerciseprice:
  648. description: 预申报价格
  649. type: number
  650. premium:
  651. description: 权利金
  652. type: number
  653. preorderid:
  654. description: 关联预埋单号(止盈止损单时填写)
  655. type: integer
  656. pricemode:
  657. description: '取价方式 - 1:市价 2: 限价'
  658. type: integer
  659. quoteid:
  660. description: 报价单ID
  661. type: integer
  662. relatedid:
  663. description: 关联单号(交割单)
  664. type: integer
  665. retcode:
  666. description: 错误代码
  667. type: integer
  668. sessionid:
  669. description: 会话ID
  670. type: integer
  671. strorderid:
  672. description: 委托单号
  673. type: string
  674. tradedate:
  675. description: 交易日(yyyyMMdd)
  676. type: string
  677. tradeproperty:
  678. description: 交易属性
  679. type: integer
  680. tradeqty:
  681. description: 成交数量
  682. type: integer
  683. unfreezecharge:
  684. description: 解冻手续费
  685. type: number
  686. unfreezemargin:
  687. description: 解冻保证金
  688. type: number
  689. updatetime:
  690. description: 更新时间
  691. type: string
  692. uuid:
  693. description: 发起端唯一id
  694. type: string
  695. validtime:
  696. description: 有效期限
  697. type: string
  698. validtype:
  699. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  700. type: integer
  701. volumetype:
  702. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  703. type: integer
  704. required:
  705. - accountid
  706. - buildtype
  707. - buyorsell
  708. - goodsid
  709. - marketid
  710. - memberuserid
  711. - operatetype
  712. - orderqty
  713. - ordertime
  714. - pricemode
  715. - strorderid
  716. - tradedate
  717. - validtype
  718. type: object
  719. cptrade.QueryMyCPTradeGoodsRsp:
  720. properties:
  721. accountid:
  722. description: 卖方账户ID
  723. type: integer
  724. agreeunit:
  725. description: 合约单位
  726. type: number
  727. applyid:
  728. description: 关联申请ID
  729. type: integer
  730. attachmenturl:
  731. description: 附件地址
  732. type: string
  733. createtime:
  734. description: 创建时间
  735. type: string
  736. currencyid:
  737. description: 报价货币ID
  738. type: integer
  739. decimalplace:
  740. description: 报价小数位
  741. type: integer
  742. endtime:
  743. description: 预售结束时间
  744. type: string
  745. floorprice:
  746. description: 底价[大宗式竞拍]
  747. type: number
  748. goodscode:
  749. description: 商品代码(预售)
  750. type: string
  751. goodsdetail:
  752. description: 详情[大宗]
  753. type: string
  754. goodsid:
  755. description: 商品ID(自增ID SEQ_GOODS)
  756. type: integer
  757. goodsname:
  758. description: 商品名称(预售)
  759. type: string
  760. goodunit:
  761. description: 报价单位
  762. type: string
  763. goodunitid:
  764. description: 报价单位ID
  765. type: integer
  766. marketid:
  767. description: 所属市场ID
  768. type: integer
  769. marketname:
  770. description: 预售市场名称
  771. type: string
  772. presaledamount:
  773. description: 已预售总金额(预售结束时更新)
  774. type: number
  775. presaledqty:
  776. description: 已预售量(预售结束时更新)
  777. type: integer
  778. presalemode:
  779. description: 预售模式 - 1:一口价 2:大宗式竞拍
  780. type: integer
  781. presaleqty:
  782. description: 预售数量
  783. type: integer
  784. refprice:
  785. description: 参考价格[一口价]
  786. type: number
  787. relatedgoodscode:
  788. description: 商品代码(订单)
  789. type: string
  790. relatedgoodsid:
  791. description: 关联交易合约ID
  792. type: integer
  793. relatedgoodsname:
  794. description: 商品名称(订单)
  795. type: string
  796. relatedmarketid:
  797. description: 关联交易合约市场ID
  798. type: integer
  799. sellstatus:
  800. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  801. type: integer
  802. startprice:
  803. description: 起拍价[大宗式竞拍]
  804. type: number
  805. starttime:
  806. description: 预售开始时间
  807. type: string
  808. tradedate:
  809. description: 交易日(yyyyMMdd)
  810. type: string
  811. tradeprice:
  812. description: 成交价[大宗]
  813. type: number
  814. userid:
  815. description: 卖方用户ID
  816. type: integer
  817. required:
  818. - goodscode
  819. - goodsid
  820. - goodsname
  821. - marketid
  822. - relatedgoodscode
  823. - relatedgoodsname
  824. type: object
  825. cptrade.QueryPresaleGoodsExRsp:
  826. properties:
  827. attachmenturl:
  828. description: 附件地址
  829. type: string
  830. createtime:
  831. description: 创建时间
  832. type: string
  833. endtime:
  834. description: 预售结束时间
  835. type: string
  836. floorprice:
  837. description: 底价[大宗式竞拍]
  838. type: number
  839. goodsdetail:
  840. description: 详情[大宗]
  841. type: string
  842. goodsid:
  843. description: 商品ID(预售)
  844. type: integer
  845. goodunit:
  846. description: 报价单位
  847. type: string
  848. marketid:
  849. description: 预售市场ID - 根据预售模式选择市场
  850. type: integer
  851. presaledamount:
  852. description: 已预售总金额(预售结束时更新)
  853. type: number
  854. presaledqty:
  855. description: 已预售量(预售结束时更新)
  856. type: integer
  857. presalemode:
  858. description: 预售模式 - 1:一口价 2:大宗式竞拍
  859. type: integer
  860. presaleqty:
  861. description: 预售数量
  862. type: integer
  863. refprice:
  864. description: 参考价格[一口价]
  865. type: number
  866. relatedgoodsid:
  867. description: 关联交易合约ID
  868. type: integer
  869. relatedmarketid:
  870. description: 关联交易合约市场ID
  871. type: integer
  872. sellstatus:
  873. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  874. type: integer
  875. startprice:
  876. description: 起拍价[大宗式竞拍]
  877. type: number
  878. starttime:
  879. description: 预售开始时间
  880. type: string
  881. tradedate:
  882. description: 交易日(yyyyMMdd)
  883. type: string
  884. tradeprice:
  885. description: 成交价[大宗]
  886. type: number
  887. required:
  888. - goodsid
  889. type: object
  890. delivery.QueryDeliveryRelationRsp:
  891. properties:
  892. begindate:
  893. description: 起始日期(yyyyMMdd)
  894. type: string
  895. buytemplateid:
  896. description: 买履约计划模板ID
  897. type: integer
  898. deliverygoodscode:
  899. description: 品种代码
  900. type: string
  901. deliverygoodsid:
  902. description: 交割商品
  903. type: integer
  904. deliverygoodsname:
  905. description: 品种名称
  906. type: string
  907. deliverymode:
  908. description: 交割方式 - 1:点选式 2:申报式
  909. type: integer
  910. deliverypricerule:
  911. description: 交割价规则- 1:行情价 2:建仓价
  912. type: integer
  913. deliverytype:
  914. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  915. type: integer
  916. enddate:
  917. description: 结束日期(yyyyMMdd)
  918. type: string
  919. enumdicname:
  920. description: 品类单位名称
  921. type: string
  922. goodscode:
  923. description: 商品代码
  924. type: string
  925. goodsid:
  926. description: 交易合约ID
  927. type: integer
  928. goodsname:
  929. description: 商品名称
  930. type: string
  931. marketid:
  932. description: 市场ID
  933. type: integer
  934. mindeliveryqty:
  935. description: 最小交割系数(K)
  936. type: integer
  937. p2deliveryprice:
  938. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  939. type: number
  940. p2deliveryratio:
  941. description: P2合约系数(p)
  942. type: integer
  943. p2goodsid:
  944. description: P2合约ID
  945. type: integer
  946. p2pricemode:
  947. description: P2合约价格方式 - 1:商品价 2:固定值
  948. type: integer
  949. pdeliveryprice:
  950. description: P合约价格(商品价时填写0,固定值时填写固定值)
  951. type: number
  952. pdeliveryratio:
  953. description: P合约系数(n)
  954. type: integer
  955. pgoodscode:
  956. description: p合约代码
  957. type: string
  958. pgoodsid:
  959. description: P合约ID
  960. type: integer
  961. ppricemode:
  962. description: P合约价格方式 - 1:商品价 2:固定值
  963. type: integer
  964. rratio:
  965. description: 兑换系数(R)
  966. type: integer
  967. rratio1:
  968. description: 兑换系数(交易合约)(R1)
  969. type: integer
  970. rratio2:
  971. description: 兑换系数(仓单标准)(R2)
  972. type: integer
  973. selltemplateid:
  974. description: 卖履约计划模板ID
  975. type: integer
  976. wrstandardid:
  977. description: 仓单标准ID
  978. type: integer
  979. xdeliveryratio:
  980. description: 交易合约系数(m)
  981. type: integer
  982. required:
  983. - begindate
  984. - enddate
  985. - goodsid
  986. - mindeliveryqty
  987. - xdeliveryratio
  988. type: object
  989. ermcp.ExposureDetailRsp:
  990. properties:
  991. areauserid:
  992. description: 机构ID
  993. type: integer
  994. changeQty:
  995. description: 套保变动量
  996. type: number
  997. contracttype:
  998. description: 现货合同类型 - 1:采购 -1:销售
  999. type: integer
  1000. convertfactor:
  1001. description: 标仓系数
  1002. type: number
  1003. convertratio:
  1004. description: 套保系数
  1005. type: number
  1006. createtime:
  1007. description: 时间
  1008. type: string
  1009. enumdicname:
  1010. description: 现货商品单位名称
  1011. type: string
  1012. logtype:
  1013. description: 类型 - 1:套保计划 2:现货合同
  1014. type: integer
  1015. middlegoodsId:
  1016. description: 套保商品id
  1017. type: integer
  1018. middlegoodscode:
  1019. description: 套保商品代码
  1020. type: string
  1021. middlegoodsname:
  1022. description: 套保商品名称
  1023. type: string
  1024. qty:
  1025. description: 数量
  1026. type: number
  1027. relateNo:
  1028. description: 现货合同/套保计划编号
  1029. type: string
  1030. wrstandardcode:
  1031. description: 现货商品代码
  1032. type: string
  1033. wrstandardid:
  1034. description: 现货商品ID
  1035. type: integer
  1036. wrstandardname:
  1037. description: 现货商品名称
  1038. type: string
  1039. type: object
  1040. ermcp.ExposureHedgePosDetailRsp:
  1041. properties:
  1042. buyorsell:
  1043. description: 买卖方向 0-买 1-卖
  1044. type: integer
  1045. channelbuildtype:
  1046. description: 开平方向 1-建仓 2-平仓
  1047. type: integer
  1048. goodscode:
  1049. description: 商品代码
  1050. type: string
  1051. goodsname:
  1052. description: 商品名称
  1053. type: string
  1054. hedgegoodsid:
  1055. description: 商品id
  1056. type: integer
  1057. tradeqty:
  1058. description: 数量(成交数量)
  1059. type: integer
  1060. tradetime:
  1061. description: 时间(成交时间)
  1062. type: string
  1063. type: object
  1064. ermcp.ExposureHedgePositionRsp:
  1065. properties:
  1066. accountid:
  1067. description: 资金账号[外部母账户]
  1068. type: integer
  1069. curbuyposition:
  1070. description: 期末买头寸
  1071. type: integer
  1072. cursellposition:
  1073. description: 期末卖头寸
  1074. type: integer
  1075. curtdbuyposition:
  1076. description: 期末今日买头寸
  1077. type: integer
  1078. curtdsellposition:
  1079. description: 期末今日卖头寸
  1080. type: integer
  1081. curydbuyposition:
  1082. description: 期末上日买头寸
  1083. type: integer
  1084. curydsellposition:
  1085. description: 期末上日卖头寸
  1086. type: integer
  1087. decreaseqty:
  1088. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1089. type: integer
  1090. fretdbuyposition:
  1091. description: 冻结今日买头寸
  1092. type: integer
  1093. fretdsellposition:
  1094. description: 冻结今日卖头寸
  1095. type: integer
  1096. freydbuyposition:
  1097. description: 冻结上日买头寸
  1098. type: integer
  1099. freydsellposition:
  1100. description: 冻结上日卖头寸
  1101. type: integer
  1102. goodscode:
  1103. description: 商品代码
  1104. type: string
  1105. goodsid:
  1106. description: 商品id
  1107. type: integer
  1108. goodsname:
  1109. description: 商品名称
  1110. type: string
  1111. hedgeaccountcode:
  1112. description: 对冲账号
  1113. type: string
  1114. hedgegoodsid:
  1115. description: 对冲合约ID
  1116. type: integer
  1117. increaseqty:
  1118. description: 增加数量 = 期末买头寸 - 期初买头寸
  1119. type: integer
  1120. marketid:
  1121. description: 市场ID
  1122. type: integer
  1123. relateduserid:
  1124. description: 关联用户id
  1125. type: integer
  1126. totalcurqty:
  1127. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1128. type: integer
  1129. totalydqty:
  1130. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1131. type: integer
  1132. tradedate:
  1133. description: 交易日(yyyyMMdd)
  1134. type: string
  1135. ydbuyposition:
  1136. description: 期初买头寸
  1137. type: integer
  1138. ydsellposition:
  1139. description: 期初卖头寸
  1140. type: integer
  1141. type: object
  1142. ermcp.ExposureSpotDetailRsp:
  1143. properties:
  1144. contracttype:
  1145. description: 合同类型 1-采购 -1-销售
  1146. type: integer
  1147. createtime:
  1148. description: 创建时间
  1149. type: string
  1150. enumdicname:
  1151. description: 现货商品单位名称
  1152. type: string
  1153. logtype:
  1154. description: 记录类型 1-套保 2-现货合同
  1155. type: integer
  1156. qty:
  1157. description: 数量
  1158. type: number
  1159. recordname:
  1160. description: 类型名称
  1161. type: string
  1162. relatedid:
  1163. description: 套保计划ID/现货合同ID
  1164. type: string
  1165. relatedno:
  1166. description: 编号
  1167. type: string
  1168. strtime:
  1169. description: 时间
  1170. type: string
  1171. wrstandardcode:
  1172. description: 现货商品代码
  1173. type: string
  1174. wrstandardname:
  1175. description: 现货商品名称
  1176. type: string
  1177. type: object
  1178. ermcp.ExposureSpotRsp:
  1179. properties:
  1180. areauserid:
  1181. description: 所属机构
  1182. type: integer
  1183. decreaseqty:
  1184. description: 减少数量=-(销售已定价数量+采购计划数量)
  1185. type: number
  1186. increaseqty:
  1187. description: 增加数量=销售计划数量+采购已定价数量
  1188. type: number
  1189. oritoalspotqty:
  1190. description: 昨日数量
  1191. type: number
  1192. totalspotqty:
  1193. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1194. type: number
  1195. updatetime:
  1196. description: 更新时间
  1197. type: string
  1198. wrstandardcode:
  1199. description: 现货品种代码
  1200. type: string
  1201. wrstandardid:
  1202. description: 现货商品ID
  1203. type: integer
  1204. wrstandardname:
  1205. description: 现货品种
  1206. type: string
  1207. type: object
  1208. ermcp.HisExposureRsp:
  1209. properties:
  1210. data:
  1211. description: 历史敞口
  1212. items:
  1213. $ref: '#/definitions/models.ErmcpHisExposure'
  1214. type: array
  1215. enumdicname:
  1216. description: 单位名称
  1217. type: string
  1218. middlegoodscode:
  1219. description: 套保品种代码
  1220. type: string
  1221. middlegoodsid:
  1222. description: 套保品种ID
  1223. type: integer
  1224. middlegoodsname:
  1225. description: 套保品种名称
  1226. type: string
  1227. type: object
  1228. ermcp.PendingAuditCntRsp:
  1229. properties:
  1230. areastockqty:
  1231. description: '待审核数量: 库存申请'
  1232. type: integer
  1233. businessdjqty:
  1234. description: '待审核数量: 点价'
  1235. type: integer
  1236. businessfpqty:
  1237. description: '待审核数量: 发票'
  1238. type: integer
  1239. businessjsqty:
  1240. description: '待审核数量: 结算'
  1241. type: integer
  1242. businesskxqty:
  1243. description: '待审核数量: 款项'
  1244. type: integer
  1245. hedgeplanqty:
  1246. description: '待审核数量: 套保计划'
  1247. type: integer
  1248. spotcontractqty:
  1249. description: '待审核数量: 现货合同'
  1250. type: integer
  1251. userqty:
  1252. description: '待审核数量: 用户'
  1253. type: integer
  1254. type: object
  1255. ermcp.QryAvalidGPRsp:
  1256. properties:
  1257. goodsgroupid:
  1258. description: 期货品种id
  1259. type: integer
  1260. goodsgroupname:
  1261. description: 期货品种名称
  1262. type: string
  1263. goodunitid:
  1264. description: 品种单位id
  1265. type: integer
  1266. goodunitname:
  1267. description: 品种单位名称
  1268. type: string
  1269. outergroupcode:
  1270. description: 期货品种代码
  1271. type: string
  1272. type: object
  1273. ermcp.QryBusinessDjRsp:
  1274. properties:
  1275. amount:
  1276. description: 点价金额=(点价价格+升贴水)*点价数量
  1277. type: number
  1278. applyid:
  1279. description: 申请人
  1280. type: string
  1281. applyname:
  1282. description: 申请人名称
  1283. type: string
  1284. applystatus:
  1285. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1286. type: integer
  1287. applytime:
  1288. description: 申请时间
  1289. type: string
  1290. attachurl:
  1291. description: 附件
  1292. type: string
  1293. auditid:
  1294. description: 审核人ID
  1295. type: string
  1296. auditname:
  1297. description: 审核人名称
  1298. type: string
  1299. audittime:
  1300. description: 审核时间
  1301. type: string
  1302. buyusername:
  1303. description: 采购方名称
  1304. type: string
  1305. contractno:
  1306. description: 合同编号
  1307. type: string
  1308. contractstatus:
  1309. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1310. type: integer
  1311. contracttype:
  1312. description: 现货合同类型 - 1:采购 -1:销售
  1313. type: integer
  1314. deliverygoodscode:
  1315. description: 现货品种代码
  1316. type: string
  1317. deliverygoodsid:
  1318. description: 现货商品ID
  1319. type: integer
  1320. deliverygoodsname:
  1321. description: 现货品种名称
  1322. type: string
  1323. enumdicname:
  1324. description: 单位名称
  1325. type: string
  1326. goodscode:
  1327. description: 点价合约
  1328. type: string
  1329. goodsname:
  1330. description: 商品名称
  1331. type: string
  1332. operateapplyid:
  1333. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1334. type: string
  1335. operateapplytype:
  1336. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1337. type: integer
  1338. pricedPrice:
  1339. description: 点价价格(非必填)
  1340. type: number
  1341. pricedQty:
  1342. description: 点价数量(非必填)
  1343. type: number
  1344. pricemove:
  1345. description: 升贴水
  1346. type: number
  1347. pricetype:
  1348. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1349. type: integer
  1350. relatedid:
  1351. description: 现货合同ID
  1352. type: string
  1353. sellusername:
  1354. description: 销售方名字
  1355. type: string
  1356. userid:
  1357. description: 用户ID
  1358. type: integer
  1359. wrstandardcode:
  1360. description: 品类代码
  1361. type: string
  1362. wrstandardid:
  1363. description: 品类id
  1364. type: integer
  1365. wrstandardname:
  1366. description: 品类名称
  1367. type: string
  1368. type: object
  1369. ermcp.QryBussinessFpRsp:
  1370. properties:
  1371. applyid:
  1372. description: 申请人
  1373. type: string
  1374. applyname:
  1375. description: 申请人名称
  1376. type: string
  1377. applystatus:
  1378. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1379. type: integer
  1380. applytime:
  1381. description: 申请时间
  1382. type: string
  1383. attachurl:
  1384. description: 附件
  1385. type: string
  1386. auditid:
  1387. description: 审核人ID
  1388. type: string
  1389. auditname:
  1390. description: 审核人名称
  1391. type: string
  1392. audittime:
  1393. description: 审核时间
  1394. type: string
  1395. buyusername:
  1396. description: 采购方名称
  1397. type: string
  1398. contractno:
  1399. description: 合同编号
  1400. type: string
  1401. contractstatus:
  1402. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1403. type: integer
  1404. contracttype:
  1405. description: 现货合同类型 - 1:采购 -1:销售
  1406. type: integer
  1407. deliverygoodscode:
  1408. description: 现货品种代码
  1409. type: string
  1410. deliverygoodsid:
  1411. description: 现货商品ID
  1412. type: integer
  1413. deliverygoodsname:
  1414. description: 现货品种名称
  1415. type: string
  1416. enumdicname:
  1417. description: 单位名称
  1418. type: string
  1419. goodscode:
  1420. description: 点价合约
  1421. type: string
  1422. goodsname:
  1423. description: 商品名称
  1424. type: string
  1425. invoiceAmount:
  1426. description: 已开收票金额(销售为开票,采购为收票)
  1427. type: number
  1428. operateapplyid:
  1429. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1430. type: string
  1431. operateapplytype:
  1432. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1433. type: integer
  1434. pricemove:
  1435. description: 升贴水
  1436. type: number
  1437. pricetype:
  1438. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1439. type: integer
  1440. relatedid:
  1441. description: 现货合同ID
  1442. type: string
  1443. sellusername:
  1444. description: 销售方名字
  1445. type: string
  1446. userid:
  1447. description: 用户ID
  1448. type: integer
  1449. wrstandardcode:
  1450. description: 品类代码
  1451. type: string
  1452. wrstandardid:
  1453. description: 品类id
  1454. type: integer
  1455. wrstandardname:
  1456. description: 品类名称
  1457. type: string
  1458. type: object
  1459. ermcp.QryBussinessJsExRsp:
  1460. properties:
  1461. applyid:
  1462. description: 申请人
  1463. type: string
  1464. applyname:
  1465. description: 申请人名称
  1466. type: string
  1467. applystatus:
  1468. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1469. type: integer
  1470. applytime:
  1471. description: 申请时间
  1472. type: string
  1473. attachurl:
  1474. description: 附件
  1475. type: string
  1476. auditid:
  1477. description: 审核人ID
  1478. type: string
  1479. auditname:
  1480. description: 审核人名称
  1481. type: string
  1482. audittime:
  1483. description: 审核时间
  1484. type: string
  1485. buyusername:
  1486. description: 采购方名称
  1487. type: string
  1488. contractno:
  1489. description: 合同编号
  1490. type: string
  1491. contractstatus:
  1492. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1493. type: integer
  1494. contracttype:
  1495. description: 现货合同类型 - 1:采购 -1:销售
  1496. type: integer
  1497. deliverygoodscode:
  1498. description: 现货品种代码
  1499. type: string
  1500. deliverygoodsid:
  1501. description: 现货商品ID
  1502. type: integer
  1503. deliverygoodsname:
  1504. description: 现货品种名称
  1505. type: string
  1506. enumdicname:
  1507. description: 单位名称
  1508. type: string
  1509. goodscode:
  1510. description: 点价合约
  1511. type: string
  1512. goodsname:
  1513. description: 商品名称
  1514. type: string
  1515. operateapplyid:
  1516. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1517. type: string
  1518. operateapplytype:
  1519. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1520. type: integer
  1521. pricemove:
  1522. description: 升贴水
  1523. type: number
  1524. pricetype:
  1525. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1526. type: integer
  1527. reckontype:
  1528. description: 结算类型
  1529. type: string
  1530. reckonvalue:
  1531. description: 值
  1532. type: number
  1533. relatedid:
  1534. description: 现货合同ID
  1535. type: string
  1536. sellusername:
  1537. description: 销售方名字
  1538. type: string
  1539. userid:
  1540. description: 用户ID
  1541. type: integer
  1542. wrstandardcode:
  1543. description: 品类代码
  1544. type: string
  1545. wrstandardid:
  1546. description: 品类id
  1547. type: integer
  1548. wrstandardname:
  1549. description: 品类名称
  1550. type: string
  1551. type: object
  1552. ermcp.QryBussinessJsRsp:
  1553. properties:
  1554. addmargin:
  1555. description: 追加保证金(非必填)
  1556. type: number
  1557. applyid:
  1558. description: 申请人
  1559. type: string
  1560. applyname:
  1561. description: 申请人名称
  1562. type: string
  1563. applystatus:
  1564. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1565. type: integer
  1566. applytime:
  1567. description: 申请时间
  1568. type: string
  1569. attachurl:
  1570. description: 附件
  1571. type: string
  1572. auditid:
  1573. description: 审核人ID
  1574. type: string
  1575. auditname:
  1576. description: 审核人名称
  1577. type: string
  1578. audittime:
  1579. description: 审核时间
  1580. type: string
  1581. buyusername:
  1582. description: 采购方名称
  1583. type: string
  1584. contractno:
  1585. description: 合同编号
  1586. type: string
  1587. contractstatus:
  1588. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1589. type: integer
  1590. contracttype:
  1591. description: 现货合同类型 - 1:采购 -1:销售
  1592. type: integer
  1593. decmargin:
  1594. description: 减少保证金(非必填)
  1595. type: number
  1596. deliverygoodscode:
  1597. description: 现货品种代码
  1598. type: string
  1599. deliverygoodsid:
  1600. description: 现货商品ID
  1601. type: integer
  1602. deliverygoodsname:
  1603. description: 现货品种名称
  1604. type: string
  1605. enumdicname:
  1606. description: 单位名称
  1607. type: string
  1608. goodscode:
  1609. description: 点价合约
  1610. type: string
  1611. goodsname:
  1612. description: 商品名称
  1613. type: string
  1614. operateapplyid:
  1615. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1616. type: string
  1617. operateapplytype:
  1618. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1619. type: integer
  1620. pricemove:
  1621. description: 升贴水
  1622. type: number
  1623. pricetype:
  1624. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1625. type: integer
  1626. reckonadjustamount:
  1627. description: 结算调整金额(非必填)
  1628. type: number
  1629. reckonosamount:
  1630. description: 结算溢短金额(非必填)
  1631. type: number
  1632. reckonotheramount:
  1633. description: 结算其他费用(非必填)
  1634. type: number
  1635. reckonrealqty:
  1636. description: 结算实际数量(非必填)
  1637. type: number
  1638. relatedid:
  1639. description: 现货合同ID
  1640. type: string
  1641. sellusername:
  1642. description: 销售方名字
  1643. type: string
  1644. userid:
  1645. description: 用户ID
  1646. type: integer
  1647. wrstandardcode:
  1648. description: 品类代码
  1649. type: string
  1650. wrstandardid:
  1651. description: 品类id
  1652. type: integer
  1653. wrstandardname:
  1654. description: 品类名称
  1655. type: string
  1656. type: object
  1657. ermcp.QryBussinessKxRsp:
  1658. properties:
  1659. applyid:
  1660. description: 申请人
  1661. type: string
  1662. applyname:
  1663. description: 申请人名称
  1664. type: string
  1665. applystatus:
  1666. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1667. type: integer
  1668. applytime:
  1669. description: 申请时间
  1670. type: string
  1671. attachurl:
  1672. description: 附件
  1673. type: string
  1674. auditid:
  1675. description: 审核人ID
  1676. type: string
  1677. auditname:
  1678. description: 审核人名称
  1679. type: string
  1680. audittime:
  1681. description: 审核时间
  1682. type: string
  1683. buyusername:
  1684. description: 采购方名称
  1685. type: string
  1686. contractno:
  1687. description: 合同编号
  1688. type: string
  1689. contractstatus:
  1690. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1691. type: integer
  1692. contracttype:
  1693. description: 现货合同类型 - 1:采购 -1:销售
  1694. type: integer
  1695. deductamount:
  1696. description: 退款(非必填)
  1697. type: number
  1698. deliverygoodscode:
  1699. description: 现货品种代码
  1700. type: string
  1701. deliverygoodsid:
  1702. description: 现货商品ID
  1703. type: integer
  1704. deliverygoodsname:
  1705. description: 现货品种名称
  1706. type: string
  1707. enumdicname:
  1708. description: 单位名称
  1709. type: string
  1710. goodscode:
  1711. description: 点价合约
  1712. type: string
  1713. goodsname:
  1714. description: 商品名称
  1715. type: string
  1716. kxtype:
  1717. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1718. type: integer
  1719. operateapplyid:
  1720. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1721. type: string
  1722. operateapplytype:
  1723. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1724. type: integer
  1725. payamount:
  1726. description: 收付款(非必填)
  1727. type: number
  1728. pricemove:
  1729. description: 升贴水
  1730. type: number
  1731. pricetype:
  1732. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1733. type: integer
  1734. relatedid:
  1735. description: 现货合同ID
  1736. type: string
  1737. sellusername:
  1738. description: 销售方名字
  1739. type: string
  1740. userid:
  1741. description: 用户ID
  1742. type: integer
  1743. wrstandardcode:
  1744. description: 品类代码
  1745. type: string
  1746. wrstandardid:
  1747. description: 品类id
  1748. type: integer
  1749. wrstandardname:
  1750. description: 品类名称
  1751. type: string
  1752. type: object
  1753. ermcp.QryGGCovertCfgRsp:
  1754. properties:
  1755. convertratio:
  1756. description: 折算系数
  1757. type: number
  1758. destgoodsgroupid:
  1759. description: 目标品种ID
  1760. type: integer
  1761. dstcode:
  1762. description: 目录品种代码
  1763. type: string
  1764. dstexchangecode:
  1765. description: 目标期货交易所
  1766. type: string
  1767. dstname:
  1768. description: 目标品种名称
  1769. type: string
  1770. dstunitid:
  1771. description: 目标品种单位ID
  1772. type: integer
  1773. dstunitidname:
  1774. description: 目标品种单位名称
  1775. type: string
  1776. modifytime:
  1777. description: 修改时间
  1778. type: string
  1779. srccode:
  1780. description: 源品种代码
  1781. type: string
  1782. srcexchangecode:
  1783. description: 源期货交易所
  1784. type: string
  1785. srcgoodsgroupid:
  1786. description: 源品种ID
  1787. type: integer
  1788. srcname:
  1789. description: 源品种名称
  1790. type: string
  1791. srcunitid:
  1792. description: 源品种单位ID
  1793. type: integer
  1794. srcunitidname:
  1795. description: 源品种单位名称
  1796. type: string
  1797. type: object
  1798. ermcp.QryMGChangeLogRsp:
  1799. properties:
  1800. aftervalue:
  1801. description: 变更后
  1802. type: number
  1803. applyid:
  1804. description: 操作人
  1805. type: integer
  1806. applyname:
  1807. description: 操作人名称
  1808. type: string
  1809. applysrc:
  1810. description: 操作来源 - 1:管理端 2:终端
  1811. type: integer
  1812. beforevalue:
  1813. description: 变更前
  1814. type: number
  1815. changelogtype:
  1816. description: 变更流水类型 - 1:套保比率变更
  1817. type: integer
  1818. handlestatus:
  1819. description: 处理状态
  1820. type: integer
  1821. logdatetime:
  1822. description: 流水日期
  1823. type: string
  1824. logid:
  1825. description: 流水ID
  1826. type: integer
  1827. logremark:
  1828. description: 流水备注
  1829. type: string
  1830. middlegoodsid:
  1831. description: 套保品种ID
  1832. type: integer
  1833. tradedate:
  1834. description: 交易日(yyyyMMdd)
  1835. type: string
  1836. updatetime:
  1837. description: 更新时间
  1838. type: string
  1839. type: object
  1840. ermcp.QryMiddleGoodsDetailRsp:
  1841. properties:
  1842. cvList:
  1843. description: 期货品种折算列表
  1844. items:
  1845. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1846. type: array
  1847. mg:
  1848. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1849. description: 套保品种基本信息
  1850. wrcList:
  1851. description: 现货品种列表(现货商品折算配置)
  1852. items:
  1853. $ref: '#/definitions/models.WRSConverTDetail'
  1854. type: array
  1855. type: object
  1856. ermcp.QryMiddleGoodsRsp:
  1857. properties:
  1858. areauserid:
  1859. description: 机构用户ID
  1860. type: integer
  1861. createtime:
  1862. description: 修改时间
  1863. type: string
  1864. enumdicname:
  1865. description: 单位名称
  1866. type: string
  1867. evaluateratio:
  1868. description: 估价系数
  1869. type: number
  1870. goodsgroupid:
  1871. description: 关联期货品种ID
  1872. type: integer
  1873. goodsunitid:
  1874. description: 单位ID
  1875. type: integer
  1876. isvalid:
  1877. description: 状态 0-无效(停用) 1-有效(正常)
  1878. type: integer
  1879. middlegoodscode:
  1880. description: 套保品种代码
  1881. type: string
  1882. middlegoodsid:
  1883. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1884. type: integer
  1885. middlegoodsname:
  1886. description: 套保品种名称
  1887. type: string
  1888. modifytime:
  1889. description: 修改时间
  1890. type: string
  1891. needarbitrageratio:
  1892. description: 套利比例
  1893. type: number
  1894. needhedgeratio:
  1895. description: 套保比率
  1896. type: number
  1897. qtydecimalplace:
  1898. description: 数量小数位
  1899. type: integer
  1900. relatedgoodsid:
  1901. description: 关联交易商品ID
  1902. type: integer
  1903. relatedgoodstype:
  1904. description: 关联商品类型 - 1:期货合约 2:现货品种
  1905. type: integer
  1906. remark:
  1907. description: 备注
  1908. type: string
  1909. type: object
  1910. ermcp.QryOPLogRsp:
  1911. properties:
  1912. aftervalue:
  1913. description: 变更后
  1914. type: number
  1915. applyid:
  1916. description: 操作人ID
  1917. type: string
  1918. applyname:
  1919. description: 操作人名称
  1920. type: string
  1921. beforevalue:
  1922. description: 变更前
  1923. type: number
  1924. biztype:
  1925. description: 业务类型 - 1:套保计划 2:现货合同
  1926. type: integer
  1927. contracttype:
  1928. description: 现货合同类型 - 1:采购 -1:销售
  1929. type: integer
  1930. logvalue:
  1931. description: 数值
  1932. type: number
  1933. operatelogtype:
  1934. description: 操作流水类型
  1935. type: integer
  1936. operatelogtypedesc:
  1937. description: 操作流水类型名称
  1938. type: string
  1939. relatedid:
  1940. description: 现货合同ID\套保计划
  1941. type: string
  1942. updatetime:
  1943. description: 更新时间
  1944. type: string
  1945. type: object
  1946. ermcp.QryUserInfoRsp:
  1947. properties:
  1948. address:
  1949. description: 通讯地址
  1950. type: string
  1951. attachment1:
  1952. description: 附件1
  1953. type: string
  1954. audittime:
  1955. description: 审核时间
  1956. type: string
  1957. cardbackphotourl:
  1958. description: 证件反面图片地址
  1959. type: string
  1960. cardfrontphotourl:
  1961. description: 证件正面图片地址
  1962. type: string
  1963. cardnum:
  1964. description: 证件号码
  1965. type: string
  1966. cardtype:
  1967. description: 证件类型
  1968. type: integer
  1969. cardtypename:
  1970. description: 证件类型名称
  1971. type: string
  1972. cityid:
  1973. description: 市
  1974. type: integer
  1975. contactname:
  1976. description: 联系人
  1977. type: string
  1978. countryid:
  1979. description: 国家
  1980. type: integer
  1981. createtime:
  1982. description: 创建时间
  1983. type: string
  1984. customername:
  1985. description: 企业名称
  1986. type: string
  1987. districtid:
  1988. description: 区域
  1989. type: integer
  1990. email:
  1991. description: 邮件
  1992. type: string
  1993. legalpersonname:
  1994. description: 法人姓名(企业)
  1995. type: string
  1996. memberuserid:
  1997. description: 所属机构ID
  1998. type: integer
  1999. mobile:
  2000. description: 手机号码
  2001. type: string
  2002. modifytime:
  2003. description: 修改时间
  2004. type: string
  2005. nickname:
  2006. description: 昵称
  2007. type: string
  2008. provinceid:
  2009. description: 省
  2010. type: integer
  2011. remark:
  2012. description: 备注
  2013. type: string
  2014. status:
  2015. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2016. type: integer
  2017. statusdesc:
  2018. description: 账户状态中文描述
  2019. type: string
  2020. taxpayernum:
  2021. description: 纳税人识别号
  2022. type: string
  2023. telphone:
  2024. description: 联系电话
  2025. type: string
  2026. userid:
  2027. description: 用户ID
  2028. type: integer
  2029. userinfotype:
  2030. description: 客户类型
  2031. type: string
  2032. type: object
  2033. ermcp.QryWarehouseRsp:
  2034. properties:
  2035. address:
  2036. description: 详细地址
  2037. type: string
  2038. areauserid:
  2039. description: 所属机构
  2040. type: integer
  2041. autoid:
  2042. description: 自增ID(仓库ID)
  2043. type: integer
  2044. cityid:
  2045. description: 市
  2046. type: integer
  2047. contactname:
  2048. description: 联系人
  2049. type: string
  2050. contactnum:
  2051. description: 联系电话
  2052. type: string
  2053. countryid:
  2054. description: 国家
  2055. type: integer
  2056. createtime:
  2057. description: 创建时间
  2058. type: string
  2059. districtid:
  2060. description: 区
  2061. type: integer
  2062. hasvideo:
  2063. description: 是否有视频 - 0:无 1:有
  2064. type: integer
  2065. provinceid:
  2066. description: 省
  2067. type: integer
  2068. remark:
  2069. description: 审核备注
  2070. type: string
  2071. videourl:
  2072. description: 视频地址
  2073. type: string
  2074. warehousecode:
  2075. description: 仓库代码
  2076. type: string
  2077. warehousename:
  2078. description: 仓库名称
  2079. type: string
  2080. warehousestatus:
  2081. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2082. type: integer
  2083. warehousetype:
  2084. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2085. type: integer
  2086. type: object
  2087. ermcp.QueryErmcpTradePositionRsp:
  2088. properties:
  2089. agreeunit:
  2090. description: 合约单位
  2091. type: number
  2092. buyorsell:
  2093. description: 方向 - 0:买 1:卖
  2094. type: integer
  2095. curpositionqty:
  2096. description: 持仓(总仓数量, 期末头寸)
  2097. type: integer
  2098. curtdposition:
  2099. description: 今仓数量(期末今日头寸)
  2100. type: integer
  2101. curtdpositionenabled:
  2102. description: 今仓可用
  2103. type: integer
  2104. decimalplace:
  2105. description: 报价小数位
  2106. type: integer
  2107. enableqty:
  2108. description: 可用(总仓可用)
  2109. type: integer
  2110. exexchangename:
  2111. description: 外部交易所名称
  2112. type: string
  2113. goodscode:
  2114. description: 商品代码(内部)
  2115. type: string
  2116. goodsid:
  2117. description: 商品ID(自增ID SEQ_GOODS)
  2118. type: integer
  2119. goodsname:
  2120. description: 商品名称
  2121. type: string
  2122. last:
  2123. description: 现价
  2124. type: number
  2125. marketid:
  2126. description: 所属市场ID
  2127. type: integer
  2128. openaverageprice:
  2129. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2130. type: number
  2131. opencost:
  2132. description: 开仓成本
  2133. type: number
  2134. openpl:
  2135. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2136. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2137. type: number
  2138. outgoodscode:
  2139. description: 商品代码(外部)
  2140. type: string
  2141. positionaverageprice:
  2142. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2143. type: number
  2144. positioncost:
  2145. description: 持仓成本
  2146. type: number
  2147. positionpl:
  2148. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2149. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2150. type: number
  2151. positionplrate:
  2152. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2153. type: number
  2154. usedmargin:
  2155. description: 占用保证金
  2156. type: number
  2157. type: object
  2158. ermcp.RealtimeExposurePositionRsp:
  2159. properties:
  2160. agreeunit:
  2161. description: 合约单位
  2162. type: string
  2163. areauserid:
  2164. description: 所属机构id
  2165. type: integer
  2166. convertratio:
  2167. description: 期货品种系数(折算系数)
  2168. type: number
  2169. curqty:
  2170. description: 当前持仓
  2171. type: integer
  2172. diffhedgeqty:
  2173. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2174. type: number
  2175. diffqty:
  2176. description: 持仓变动量=当前持仓-昨日持仓
  2177. type: integer
  2178. goodscode:
  2179. description: 商品代码
  2180. type: string
  2181. goodsid:
  2182. description: 商品id
  2183. type: integer
  2184. goodsname:
  2185. description: 商品名称
  2186. type: string
  2187. middlegoodsid:
  2188. description: 套保商品id
  2189. type: integer
  2190. ydqty:
  2191. description: 昨日持仓
  2192. type: integer
  2193. type: object
  2194. ermcp.RealtimeExposureRsp:
  2195. properties:
  2196. AreaUserID:
  2197. description: 所属机构
  2198. type: integer
  2199. BuyFutureQty:
  2200. description: 买入期货数量
  2201. type: number
  2202. BuyPlanQty:
  2203. description: 采购计划数量
  2204. type: number
  2205. BuyPricedQty:
  2206. description: 采购合同已定价数量
  2207. type: number
  2208. MiddleGoodsCode:
  2209. description: 套保品种代码
  2210. type: string
  2211. MiddleGoodsHedgeRatio:
  2212. description: 套保比例
  2213. type: number
  2214. MiddleGoodsID:
  2215. description: 套保品种
  2216. type: integer
  2217. MiddleGoodsName:
  2218. description: 套保品种名称
  2219. type: string
  2220. NeedHedgeExposoure:
  2221. description: 应套保敞口(套保敞口)
  2222. type: number
  2223. NeedHedgeRatio:
  2224. description: 应套保敞口比例
  2225. type: number
  2226. OriBuyFutureQty:
  2227. description: 期初买入期货数量
  2228. type: number
  2229. OriBuyPlanQty:
  2230. description: 期初采购计划数量
  2231. type: number
  2232. OriBuyPricedQty:
  2233. description: 期初采购合同已定价数量
  2234. type: number
  2235. OriSellFutureQty:
  2236. description: 期初卖出期货数量
  2237. type: number
  2238. OriSellPlanQty:
  2239. description: 期初销售计划数量
  2240. type: number
  2241. OriSellPricedQty:
  2242. description: 期初销售合同已定价数量
  2243. type: number
  2244. SellFutureQty:
  2245. description: 卖出期货数量
  2246. type: number
  2247. SellPlanQty:
  2248. description: 销售计划数量
  2249. type: number
  2250. SellPricedQty:
  2251. description: 销售合同已定价数量
  2252. type: number
  2253. TotalExposure:
  2254. description: 总敞口 平安:净敞口
  2255. type: number
  2256. TotalFutureQty:
  2257. description: 期货总量 平安:保值净持仓量
  2258. type: number
  2259. TotalHedgeRatio:
  2260. description: 敞口比例
  2261. type: number
  2262. TotalNeedHedgeQty:
  2263. description: 应套保总量(现货应套保总量)
  2264. type: number
  2265. TotalSpotQty:
  2266. description: 现货总量 平安:采销定价净值
  2267. type: number
  2268. arbitrageqty:
  2269. description: 套利量
  2270. type: number
  2271. diffArbitrageQty:
  2272. description: 套利变动量
  2273. type: number
  2274. diffExposoureQty:
  2275. description: 变动量(套保敞口)
  2276. type: number
  2277. diffFutuQty:
  2278. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2279. type: number
  2280. diffHedgeQty:
  2281. description: 套保变动量
  2282. type: number
  2283. diffQty:
  2284. description: 变动量(总敞口) 平安:净敞口今日变动
  2285. type: number
  2286. diffSpotHedgeQty:
  2287. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2288. type: number
  2289. diffSpotQty:
  2290. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2291. type: number
  2292. enumdicname:
  2293. description: 单位名称
  2294. type: string
  2295. hedgeqty:
  2296. description: 套保量
  2297. type: number
  2298. needarbitrageqty:
  2299. description: 应套利量
  2300. type: number
  2301. needarbitrageratio:
  2302. description: 套利比例
  2303. type: number
  2304. needhedgeqty:
  2305. description: 应套保量
  2306. type: number
  2307. oriTotalFutuQty:
  2308. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2309. type: number
  2310. oriTotalSpotQty:
  2311. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2312. type: number
  2313. oriarbitrageqty:
  2314. description: 期初套利量
  2315. type: number
  2316. orihedgeqty:
  2317. description: 期初套保量
  2318. type: number
  2319. orineedhedgeexposoure:
  2320. description: 期初套保敞口
  2321. type: number
  2322. oritotalexposure:
  2323. description: 期初总敞口
  2324. type: number
  2325. oritotalfutureqty:
  2326. description: 期初期货总量
  2327. type: number
  2328. oritotalneedhedgeqty:
  2329. description: 期初现货应套保量
  2330. type: number
  2331. type: object
  2332. erms2.QueryArbitrageStrategyRsp:
  2333. properties:
  2334. applybasis:
  2335. description: 申请基差
  2336. type: number
  2337. asapplyid:
  2338. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2339. type: string
  2340. asname:
  2341. description: 策略名称
  2342. type: string
  2343. asno:
  2344. description: 策略编号
  2345. type: string
  2346. basischangepl:
  2347. description: 基差变动损益[结算更新]
  2348. type: number
  2349. biztype:
  2350. description: 业务类型 - 1:正向套利 -1:反向套利
  2351. type: integer
  2352. closetradedate:
  2353. description: 完结交易日(yyyyMMdd)
  2354. type: string
  2355. curbasis:
  2356. description: 当前基差[结算更新]
  2357. type: number
  2358. deliverygoodsid:
  2359. description: 现货品种ID
  2360. type: integer
  2361. futureavgprice:
  2362. description: 期货建仓均价
  2363. type: number
  2364. futurecloseamount:
  2365. description: 期货平仓金额
  2366. type: number
  2367. futurecloseqty:
  2368. description: 期货平仓数量
  2369. type: number
  2370. futureopenamount:
  2371. description: 期货开仓金额
  2372. type: number
  2373. futureopenqty:
  2374. description: 期货开仓数量
  2375. type: number
  2376. futurepl:
  2377. description: 期货总盈亏[结算更新]
  2378. type: number
  2379. futureqty:
  2380. description: 期货持仓数量
  2381. type: number
  2382. futurequote:
  2383. description: 期货额度
  2384. type: number
  2385. goodsgroupid:
  2386. description: 期货品种ID
  2387. type: integer
  2388. marketid:
  2389. description: 市场ID
  2390. type: integer
  2391. netexposure:
  2392. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2393. type: number
  2394. netexposurepl:
  2395. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2396. type: number
  2397. netexposurerate:
  2398. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2399. type: number
  2400. openbasis:
  2401. description: 建仓基差
  2402. type: number
  2403. pricedspotqty:
  2404. description: 已定价现货数量
  2405. type: number
  2406. pricedspotqtynotax:
  2407. description: 已定价现货不含税数量
  2408. type: number
  2409. remark:
  2410. description: 备注
  2411. type: string
  2412. spotavgprice:
  2413. description: 现货均价
  2414. type: number
  2415. spotbuyamount:
  2416. description: 现货采购金额
  2417. type: number
  2418. spotbuyqty:
  2419. description: 现货采购数量
  2420. type: number
  2421. spotpl:
  2422. description: 现货总盈亏[结算更新]
  2423. type: number
  2424. spotquota:
  2425. description: 现货额度
  2426. type: number
  2427. spotsellamount:
  2428. description: 现货销售金额
  2429. type: number
  2430. spotsellqty:
  2431. description: 现货销售数量
  2432. type: number
  2433. spotusedquota:
  2434. description: 现货占用资金
  2435. type: number
  2436. strategystatus:
  2437. description: 策略状态 - 0:未结束 1:已结束
  2438. type: integer
  2439. totalpl:
  2440. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2441. type: number
  2442. tradedate:
  2443. description: 交易日(yyyyMMdd)
  2444. type: string
  2445. updatetime:
  2446. description: 更新时间
  2447. type: string
  2448. usedquota:
  2449. description: 已占用资金
  2450. type: number
  2451. userid:
  2452. description: 所属机构
  2453. type: integer
  2454. required:
  2455. - asapplyid
  2456. type: object
  2457. erms2.QueryInnerTradeDetailRsp:
  2458. properties:
  2459. accountid:
  2460. description: 账号ID
  2461. type: integer
  2462. agreeunit:
  2463. description: 合约单位
  2464. type: number
  2465. asapplyid:
  2466. description: 策略申请ID
  2467. type: integer
  2468. asname:
  2469. description: 策略名称
  2470. type: string
  2471. asno:
  2472. description: 策略编号
  2473. type: string
  2474. buyorsell:
  2475. description: 方向 - 0:买 1:卖
  2476. type: integer
  2477. channelbuildtype:
  2478. description: 委托单据类型 0:无 1:建仓 2:平仓
  2479. type: integer
  2480. closetype:
  2481. description: 平仓方式 - 0:无 1:平今 2:平昨
  2482. type: integer
  2483. decimalplace:
  2484. description: 报价小数位
  2485. type: integer
  2486. detailtype:
  2487. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2488. type: integer
  2489. exexchangecode:
  2490. description: 外部交易所代码
  2491. type: string
  2492. exexchangename:
  2493. description: 外部交易所名称
  2494. type: string
  2495. goodscode:
  2496. description: 商品代码(合约)
  2497. type: string
  2498. goodsgroupid:
  2499. description: 商品组ID(品种ID)
  2500. type: integer
  2501. goodsgroupname:
  2502. description: 商品组名称(品种)
  2503. type: string
  2504. goodsid:
  2505. description: 商品ID
  2506. type: integer
  2507. goodsname:
  2508. description: 商品名称(合约)
  2509. type: string
  2510. goodunit:
  2511. description: 报价单位
  2512. type: string
  2513. marketid:
  2514. description: 市场ID
  2515. type: integer
  2516. orderid:
  2517. description: 委托单号
  2518. type: string
  2519. outgoodscode:
  2520. description: 商品代码(外部)
  2521. type: string
  2522. relatedouttradeid:
  2523. description: 关联外部成交单ID
  2524. type: string
  2525. remark:
  2526. description: 备注
  2527. type: string
  2528. spotcontractid:
  2529. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2530. type: integer
  2531. spotcontractno:
  2532. description: 现货合同编号
  2533. type: string
  2534. tradeid:
  2535. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2536. type: string
  2537. tradeprice:
  2538. description: 成交价格
  2539. type: number
  2540. tradeqty:
  2541. description: 成交数量
  2542. type: integer
  2543. tradetime:
  2544. description: 成交时间
  2545. type: string
  2546. updatetime:
  2547. description: 更新时间
  2548. type: string
  2549. required:
  2550. - asapplyid
  2551. - buyorsell
  2552. - goodscode
  2553. - goodsgroupid
  2554. - goodsgroupname
  2555. - goodsname
  2556. - tradeid
  2557. type: object
  2558. erms2.QuerySpotContractRsp:
  2559. properties:
  2560. accountid:
  2561. description: 资金账户ID
  2562. type: integer
  2563. areauserid:
  2564. description: 所属机构
  2565. type: integer
  2566. closedate:
  2567. description: 终止日期
  2568. type: string
  2569. closeremark:
  2570. description: 结束备注
  2571. type: string
  2572. closetradedate:
  2573. description: 完结交易日(yyyyMMdd)
  2574. type: string
  2575. closetype:
  2576. description: 终止类型 - 1:违约 2:提前终止
  2577. type: integer
  2578. contractamount:
  2579. description: 合同金额
  2580. type: number
  2581. contractattachment:
  2582. description: 合同附件
  2583. type: string
  2584. contractno:
  2585. description: 现货合同编号
  2586. type: string
  2587. contractqty:
  2588. description: 合同数量(数值) (用于计算)
  2589. type: number
  2590. contractqtychar:
  2591. description: 合同数量\已订价数量 (用于显示)
  2592. type: string
  2593. contractstatus:
  2594. description: 合同状态 - 0:未结束 1:已结束
  2595. type: integer
  2596. contracttype:
  2597. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2598. type: integer
  2599. customeraccountid:
  2600. description: 客户资金账户ID
  2601. type: integer
  2602. customeruserid:
  2603. description: 客户ID
  2604. type: integer
  2605. deliverygoodsdesc:
  2606. description: 品种说明
  2607. type: string
  2608. deliverygoodsid:
  2609. description: 现货品种ID
  2610. type: integer
  2611. handlestatus:
  2612. description: 处理状态
  2613. type: integer
  2614. invoiceatt:
  2615. description: 发票附件
  2616. type: string
  2617. invoicedatetime:
  2618. description: 开收票更新时间
  2619. type: string
  2620. invoiceopentime:
  2621. description: 开票时间
  2622. type: string
  2623. invoiceremark:
  2624. description: 发票备注
  2625. type: string
  2626. invoicestatus:
  2627. description: 开收票状态 - 0:未开票 1:已开票
  2628. type: integer
  2629. lastdate:
  2630. description: 交货时间
  2631. type: string
  2632. marketid:
  2633. description: 市场ID
  2634. type: integer
  2635. paydatetime:
  2636. description: 收付款更新时间
  2637. type: string
  2638. payremark:
  2639. description: 收付款备注
  2640. type: string
  2641. paystatus:
  2642. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2643. type: integer
  2644. positionqty:
  2645. description: 头寸数量 - 合同数量去小数部分
  2646. type: integer
  2647. producttype:
  2648. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2649. type: integer
  2650. relatedqty:
  2651. description: 已关联数量
  2652. type: number
  2653. relatedstatus:
  2654. description: 关联完结状态 - 0:未结束 1:已结束
  2655. type: integer
  2656. remark:
  2657. description: 备注
  2658. type: string
  2659. signdate:
  2660. description: 签订日期
  2661. type: string
  2662. spotcontractid:
  2663. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2664. type: string
  2665. spotdatetime:
  2666. description: 收发货更新时间
  2667. type: string
  2668. spotprice:
  2669. description: 价格
  2670. type: number
  2671. spotremark:
  2672. description: 收发货备注
  2673. type: string
  2674. spotstatus:
  2675. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2676. type: integer
  2677. tradedate:
  2678. description: 交易日(yyyyMMdd)
  2679. type: string
  2680. userid:
  2681. description: 业务员用户ID
  2682. type: integer
  2683. warehouseid:
  2684. description: 仓库ID
  2685. type: integer
  2686. wrfactortypeid:
  2687. description: 仓单要素类型ID
  2688. type: integer
  2689. wrstandardid:
  2690. description: 仓单标准ID(SEQ_WRSTANDARD)
  2691. type: integer
  2692. required:
  2693. - spotcontractid
  2694. type: object
  2695. erms3.AddErms2ASApplyReq:
  2696. properties:
  2697. applybasis:
  2698. description: 申请基差
  2699. type: number
  2700. applystatus:
  2701. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2702. type: integer
  2703. asapplyid:
  2704. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2705. type: integer
  2706. asname:
  2707. description: 策略名称
  2708. type: string
  2709. asno:
  2710. description: 策略编号
  2711. type: string
  2712. auditid:
  2713. description: 审核人
  2714. type: integer
  2715. auditremark:
  2716. description: 审核备注
  2717. type: string
  2718. audittime:
  2719. description: 审核时间
  2720. type: string
  2721. biztype:
  2722. description: 业务类型 - 1:正向套利 2:反向套利
  2723. type: integer
  2724. createtime:
  2725. description: 创建时间
  2726. type: string
  2727. creatorid:
  2728. description: 创建人
  2729. type: integer
  2730. deliverygoodsid:
  2731. description: 现货品种ID
  2732. type: integer
  2733. futurequote:
  2734. description: 期货额度
  2735. type: number
  2736. goodsgroupid:
  2737. description: 期货品种ID
  2738. type: integer
  2739. marketid:
  2740. description: 市场ID
  2741. type: integer
  2742. remark:
  2743. description: 备注
  2744. type: string
  2745. spotquota:
  2746. description: 现货额度
  2747. type: number
  2748. tradedate:
  2749. description: 交易日(yyyyMMdd)
  2750. type: string
  2751. userid:
  2752. description: 所属机构
  2753. type: integer
  2754. required:
  2755. - asapplyid
  2756. type: object
  2757. erms3.AddErms2SpotTradeApplyReq:
  2758. properties:
  2759. applyjsondetail:
  2760. description: 申请明细(JSON)
  2761. type: string
  2762. applystatus:
  2763. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2764. type: integer
  2765. areauserid:
  2766. description: 所属机构
  2767. type: integer
  2768. auditid:
  2769. description: 审核人
  2770. type: integer
  2771. auditremark:
  2772. description: 审核备注
  2773. type: string
  2774. audittime:
  2775. description: 审核时间
  2776. type: string
  2777. createtime:
  2778. description: 创建时间
  2779. type: string
  2780. creatorid:
  2781. description: 创建人
  2782. type: integer
  2783. deliverygoodsid:
  2784. description: 现货品种ID
  2785. type: integer
  2786. futureaccountid:
  2787. description: 期货资金账户
  2788. type: integer
  2789. goodsgroupid:
  2790. description: 期货品种
  2791. type: integer
  2792. marketid:
  2793. description: 市场ID
  2794. type: integer
  2795. remark:
  2796. description: 备注
  2797. type: string
  2798. spotaccountid:
  2799. description: 现货资金账户
  2800. type: integer
  2801. spottradeid:
  2802. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2803. type: integer
  2804. spottradename:
  2805. description: 业务名称
  2806. type: string
  2807. spottradeno:
  2808. description: 业务编号
  2809. type: string
  2810. tradedate:
  2811. description: 交易日(yyyyMMdd)
  2812. type: string
  2813. wrstandardid:
  2814. description: 仓单标准ID
  2815. type: integer
  2816. required:
  2817. - spottradeid
  2818. type: object
  2819. erms3.AddSpotContractApplyReq:
  2820. properties:
  2821. accountid:
  2822. description: 资金账户ID
  2823. type: integer
  2824. areauserid:
  2825. description: 所属机构
  2826. type: integer
  2827. contractattachment:
  2828. description: 合同附件
  2829. type: string
  2830. contractno:
  2831. description: 现货合同编号
  2832. type: string
  2833. contracttype:
  2834. description: 现货合同类型 - 1:采购 -1:销售
  2835. type: integer
  2836. creatorid:
  2837. description: 申请人
  2838. type: integer
  2839. customeraccountid:
  2840. description: 客户资金账户ID
  2841. type: integer
  2842. customeruserid:
  2843. description: 客户ID
  2844. type: integer
  2845. details:
  2846. description: 明细
  2847. items:
  2848. $ref: '#/definitions/erms3.SoptContractDetail'
  2849. type: array
  2850. orimargin:
  2851. description: 初始保证金
  2852. type: number
  2853. remark:
  2854. description: 备注
  2855. type: string
  2856. signdate:
  2857. description: 签订日期
  2858. type: string
  2859. required:
  2860. - accountid
  2861. - areauserid
  2862. - contractno
  2863. - contracttype
  2864. - customeraccountid
  2865. - customeruserid
  2866. - details
  2867. - orimargin
  2868. - signdate
  2869. type: object
  2870. erms3.AddSpotContractApplyRsp:
  2871. properties:
  2872. contractno:
  2873. description: 现货合同编号
  2874. type: string
  2875. spotcontractid:
  2876. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2877. type: integer
  2878. required:
  2879. - contractno
  2880. type: object
  2881. erms3.AddUserInfoApplyReq:
  2882. properties:
  2883. accountid:
  2884. description: 交易系统帐号Id (加密存储)
  2885. type: integer
  2886. areacode:
  2887. description: 机构代码
  2888. type: string
  2889. areaid:
  2890. description: 机构Id
  2891. type: integer
  2892. attachment1:
  2893. description: 附件1
  2894. type: string
  2895. attachment2:
  2896. description: 附件2
  2897. type: string
  2898. attachment3:
  2899. description: 附件3
  2900. type: string
  2901. attachment4:
  2902. description: 附件4
  2903. type: string
  2904. attachment5:
  2905. description: 附件5
  2906. type: string
  2907. auditedby:
  2908. description: 审核人
  2909. type: string
  2910. auditime:
  2911. description: 审核时间
  2912. type: string
  2913. auditsrc:
  2914. description: 审核来源 - 1:管理端 2:终端
  2915. type: integer
  2916. bankaccount:
  2917. description: 银行帐号 (加密存储)
  2918. type: string
  2919. bankaccountname:
  2920. description: 收款人名称
  2921. type: string
  2922. bankcardbackphotourl:
  2923. description: 银行卡背面照地址
  2924. type: string
  2925. bankcardfrontphotourl:
  2926. description: 银行卡正面照地址
  2927. type: string
  2928. bankid:
  2929. description: 银行编码
  2930. type: string
  2931. bankname:
  2932. description: 银行名称
  2933. type: string
  2934. bankpictureurl:
  2935. description: 银行卡正面地址
  2936. type: string
  2937. biznature:
  2938. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2939. type: integer
  2940. bizscope:
  2941. description: 企业经营范围(企业)
  2942. type: string
  2943. biztype:
  2944. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2945. type: integer
  2946. brokerid:
  2947. description: 经纪人ID(加密存储)
  2948. type: string
  2949. cardaddress:
  2950. description: 证件地址 (加密存储)
  2951. type: string
  2952. cardbackphotourl:
  2953. description: 背面证件照地址
  2954. type: string
  2955. cardfrontphotourl:
  2956. description: 正面证件照地址
  2957. type: string
  2958. cardnum:
  2959. description: 证件号码 (加密存储)
  2960. type: string
  2961. cardtype:
  2962. description: 证件类型
  2963. type: integer
  2964. cityid:
  2965. description: 市
  2966. type: integer
  2967. company:
  2968. description: 公司(个人)
  2969. type: string
  2970. contactcardbackphotourl:
  2971. description: 联系人证件背面图片地址
  2972. type: string
  2973. contactcardfrontphotourl:
  2974. description: 联系人证件正面图片地址
  2975. type: string
  2976. contactname:
  2977. description: 联系人
  2978. type: string
  2979. countryid:
  2980. description: 国家
  2981. type: integer
  2982. createtime:
  2983. description: 开户申请时间
  2984. type: string
  2985. cusbankid:
  2986. description: 签约类型
  2987. type: string
  2988. cusbankname:
  2989. description: 签约类型名称
  2990. type: string
  2991. customername:
  2992. description: 客户名称(企业名称)
  2993. type: string
  2994. districtid:
  2995. description: 地区
  2996. type: integer
  2997. email:
  2998. description: Email地址(加密存储)
  2999. type: string
  3000. halfbodyphotourl:
  3001. description: 半身照地址
  3002. type: string
  3003. headurl:
  3004. description: 头像地址
  3005. type: string
  3006. ipaddress:
  3007. description: IP地址
  3008. type: string
  3009. isvalidate:
  3010. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3011. type: string
  3012. legalcardbackphotourl:
  3013. description: 法人身份证背面照地址
  3014. type: string
  3015. legalcardfrontphotourl:
  3016. description: 法人身份证正面照地址
  3017. type: string
  3018. legalpersonname:
  3019. description: 法人姓名(企业)
  3020. type: string
  3021. logincode:
  3022. description: 登录帐号 (加密存储)
  3023. type: string
  3024. memberareaid:
  3025. description: 所属会员ID
  3026. type: integer
  3027. mobile2:
  3028. description: 手机号码[明文-尚志]
  3029. type: string
  3030. mobilephone:
  3031. description: 手机号码 (加密存储)
  3032. type: string
  3033. modifiedby:
  3034. description: 修改人帐号
  3035. type: integer
  3036. modifiedtime:
  3037. description: 修改时间
  3038. type: string
  3039. nickname:
  3040. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3041. type: string
  3042. openmode:
  3043. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3044. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3045. type: integer
  3046. otherurl:
  3047. description: 其它图片地址[使用分号分隔]
  3048. type: string
  3049. postalcode:
  3050. description: 邮政编码
  3051. type: string
  3052. provinceid:
  3053. description: 省
  3054. type: integer
  3055. proxystatementurl:
  3056. description: 授权委托书
  3057. type: string
  3058. qq:
  3059. description: QQ(加密存储
  3060. type: string
  3061. referral:
  3062. description: 推荐人编码
  3063. type: string
  3064. remark:
  3065. description: 备注
  3066. type: string
  3067. removebeforestatus:
  3068. description: REMOVEBEFORESTATUS
  3069. type: integer
  3070. sex:
  3071. description: 性别 - 0:女 1:男
  3072. type: integer
  3073. signedstatus:
  3074. description: 账户一号签签约状态
  3075. type: integer
  3076. signpdfurl:
  3077. description: 签约pdf文件
  3078. type: string
  3079. subbranch:
  3080. description: 开户支行
  3081. type: string
  3082. taxpayernum:
  3083. description: 纳税人识别号
  3084. type: string
  3085. telphone:
  3086. description: 联系电话(加密存储)
  3087. type: string
  3088. userid:
  3089. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3090. type: integer
  3091. userinfotype:
  3092. description: 用户信息类型 - 1:个人 2:企业
  3093. type: integer
  3094. username:
  3095. description: 用户姓名
  3096. type: string
  3097. userstate:
  3098. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3099. type: integer
  3100. usertype:
  3101. description: 用户类型 - 1:投资者 2:机构
  3102. type: integer
  3103. videourl:
  3104. description: 视频地址
  3105. type: string
  3106. wechat:
  3107. description: 微信号 (加密存储)
  3108. type: string
  3109. required:
  3110. - userid
  3111. type: object
  3112. erms3.CustomerInfo:
  3113. properties:
  3114. accountids:
  3115. description: 资金账户ID列表
  3116. items:
  3117. type: integer
  3118. type: array
  3119. customername:
  3120. description: 名称(企业名称)
  3121. type: string
  3122. mobile:
  3123. description: 手机号码
  3124. type: string
  3125. userid:
  3126. description: 用户ID
  3127. type: integer
  3128. required:
  3129. - userid
  3130. type: object
  3131. erms3.ModifyUserInfoApplyReq:
  3132. properties:
  3133. accountid:
  3134. description: 交易系统帐号Id (加密存储)
  3135. type: integer
  3136. areacode:
  3137. description: 机构代码
  3138. type: string
  3139. areaid:
  3140. description: 机构Id
  3141. type: integer
  3142. attachment1:
  3143. description: 附件1
  3144. type: string
  3145. attachment2:
  3146. description: 附件2
  3147. type: string
  3148. attachment3:
  3149. description: 附件3
  3150. type: string
  3151. attachment4:
  3152. description: 附件4
  3153. type: string
  3154. attachment5:
  3155. description: 附件5
  3156. type: string
  3157. auditedby:
  3158. description: 审核人
  3159. type: string
  3160. auditime:
  3161. description: 审核时间
  3162. type: string
  3163. auditsrc:
  3164. description: 审核来源 - 1:管理端 2:终端
  3165. type: integer
  3166. bankaccount:
  3167. description: 银行帐号 (加密存储)
  3168. type: string
  3169. bankaccountname:
  3170. description: 收款人名称
  3171. type: string
  3172. bankcardbackphotourl:
  3173. description: 银行卡背面照地址
  3174. type: string
  3175. bankcardfrontphotourl:
  3176. description: 银行卡正面照地址
  3177. type: string
  3178. bankid:
  3179. description: 银行编码
  3180. type: string
  3181. bankname:
  3182. description: 银行名称
  3183. type: string
  3184. bankpictureurl:
  3185. description: 银行卡正面地址
  3186. type: string
  3187. biznature:
  3188. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3189. type: integer
  3190. bizscope:
  3191. description: 企业经营范围(企业)
  3192. type: string
  3193. biztype:
  3194. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3195. type: integer
  3196. brokerid:
  3197. description: 经纪人ID(加密存储)
  3198. type: string
  3199. cardaddress:
  3200. description: 证件地址 (加密存储)
  3201. type: string
  3202. cardbackphotourl:
  3203. description: 背面证件照地址
  3204. type: string
  3205. cardfrontphotourl:
  3206. description: 正面证件照地址
  3207. type: string
  3208. cardnum:
  3209. description: 证件号码 (加密存储)
  3210. type: string
  3211. cardtype:
  3212. description: 证件类型
  3213. type: integer
  3214. cityid:
  3215. description: 市
  3216. type: integer
  3217. company:
  3218. description: 公司(个人)
  3219. type: string
  3220. contactcardbackphotourl:
  3221. description: 联系人证件背面图片地址
  3222. type: string
  3223. contactcardfrontphotourl:
  3224. description: 联系人证件正面图片地址
  3225. type: string
  3226. contactname:
  3227. description: 联系人
  3228. type: string
  3229. countryid:
  3230. description: 国家
  3231. type: integer
  3232. createtime:
  3233. description: 开户申请时间
  3234. type: string
  3235. cusbankid:
  3236. description: 签约类型
  3237. type: string
  3238. cusbankname:
  3239. description: 签约类型名称
  3240. type: string
  3241. customername:
  3242. description: 客户名称(企业名称)
  3243. type: string
  3244. districtid:
  3245. description: 地区
  3246. type: integer
  3247. email:
  3248. description: Email地址(加密存储)
  3249. type: string
  3250. halfbodyphotourl:
  3251. description: 半身照地址
  3252. type: string
  3253. headurl:
  3254. description: 头像地址
  3255. type: string
  3256. ipaddress:
  3257. description: IP地址
  3258. type: string
  3259. isvalidate:
  3260. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3261. type: string
  3262. legalcardbackphotourl:
  3263. description: 法人身份证背面照地址
  3264. type: string
  3265. legalcardfrontphotourl:
  3266. description: 法人身份证正面照地址
  3267. type: string
  3268. legalpersonname:
  3269. description: 法人姓名(企业)
  3270. type: string
  3271. logincode:
  3272. description: 登录帐号 (加密存储)
  3273. type: string
  3274. memberareaid:
  3275. description: 所属会员ID
  3276. type: integer
  3277. mobile2:
  3278. description: 手机号码[明文-尚志]
  3279. type: string
  3280. mobilephone:
  3281. description: 手机号码 (加密存储)
  3282. type: string
  3283. modifiedby:
  3284. description: 修改人帐号
  3285. type: integer
  3286. modifiedtime:
  3287. description: 修改时间
  3288. type: string
  3289. nickname:
  3290. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3291. type: string
  3292. openmode:
  3293. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3294. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3295. type: integer
  3296. otherurl:
  3297. description: 其它图片地址[使用分号分隔]
  3298. type: string
  3299. postalcode:
  3300. description: 邮政编码
  3301. type: string
  3302. provinceid:
  3303. description: 省
  3304. type: integer
  3305. proxystatementurl:
  3306. description: 授权委托书
  3307. type: string
  3308. qq:
  3309. description: QQ(加密存储
  3310. type: string
  3311. referral:
  3312. description: 推荐人编码
  3313. type: string
  3314. remark:
  3315. description: 备注
  3316. type: string
  3317. removebeforestatus:
  3318. description: REMOVEBEFORESTATUS
  3319. type: integer
  3320. sex:
  3321. description: 性别 - 0:女 1:男
  3322. type: integer
  3323. signedstatus:
  3324. description: 账户一号签签约状态
  3325. type: integer
  3326. signpdfurl:
  3327. description: 签约pdf文件
  3328. type: string
  3329. subbranch:
  3330. description: 开户支行
  3331. type: string
  3332. taxpayernum:
  3333. description: 纳税人识别号
  3334. type: string
  3335. telphone:
  3336. description: 联系电话(加密存储)
  3337. type: string
  3338. userid:
  3339. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3340. type: integer
  3341. userinfotype:
  3342. description: 用户信息类型 - 1:个人 2:企业
  3343. type: integer
  3344. username:
  3345. description: 用户姓名
  3346. type: string
  3347. userstate:
  3348. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3349. type: integer
  3350. usertype:
  3351. description: 用户类型 - 1:投资者 2:机构
  3352. type: integer
  3353. videourl:
  3354. description: 视频地址
  3355. type: string
  3356. wechat:
  3357. description: 微信号 (加密存储)
  3358. type: string
  3359. required:
  3360. - userid
  3361. type: object
  3362. erms3.QryAuditContractRsp:
  3363. properties:
  3364. accountid:
  3365. description: 交易员ID
  3366. type: string
  3367. applystatus:
  3368. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3369. type: integer
  3370. curdeliveryqty:
  3371. description: 未交收量
  3372. type: integer
  3373. customername:
  3374. description: 采购方ID
  3375. type: string
  3376. deliverygoodsid:
  3377. description: 品种ID
  3378. type: string
  3379. deliveryqty:
  3380. description: 交收量
  3381. type: integer
  3382. enumdicname:
  3383. description: 单位名称
  3384. type: string
  3385. matchaccountid:
  3386. description: 业务员ID
  3387. type: string
  3388. matchcustomername:
  3389. description: 销售方ID
  3390. type: string
  3391. pricedqty:
  3392. description: 定价量
  3393. type: number
  3394. signdate:
  3395. description: 签订日期
  3396. type: string
  3397. spotcontractid:
  3398. description: 合同ID
  3399. type: string
  3400. totaldqty:
  3401. description: 合同量
  3402. type: number
  3403. unpricedqty:
  3404. description: 未定价量
  3405. type: number
  3406. wrstandardname:
  3407. description: 商品名称
  3408. type: string
  3409. required:
  3410. - matchcustomername
  3411. - spotcontractid
  3412. type: object
  3413. erms3.QryPendingBizRsp:
  3414. properties:
  3415. accountid:
  3416. description: 现货账户
  3417. type: string
  3418. areaname:
  3419. description: 所属部门
  3420. type: string
  3421. bizid:
  3422. description: 业务ID
  3423. type: string
  3424. bizname:
  3425. description: 业务名称
  3426. type: string
  3427. status:
  3428. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3429. type: integer
  3430. type:
  3431. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3432. type: integer
  3433. type: object
  3434. erms3.QueryBusinessInfoRsp:
  3435. properties:
  3436. businessid:
  3437. description: 业务ID.
  3438. type: integer
  3439. buyamount:
  3440. description: 采购额.
  3441. type: number
  3442. buyqty:
  3443. description: 采购量.
  3444. type: string
  3445. futurepl:
  3446. description: 期货盈亏.
  3447. type: number
  3448. futureqty:
  3449. description: 期货敞口.
  3450. type: string
  3451. goodsid:
  3452. description: 商品名称/商品代码.
  3453. type: string
  3454. hedgingqty:
  3455. description: 套保量.
  3456. type: string
  3457. sellamount:
  3458. description: 销售额.
  3459. type: number
  3460. sellqty:
  3461. description: 销售量.
  3462. type: string
  3463. spotmarketvalue:
  3464. description: 现货市值.
  3465. type: number
  3466. spotpl:
  3467. description: 浮动权益.
  3468. type: number
  3469. spotqty:
  3470. description: 现货量.
  3471. type: string
  3472. statu:
  3473. description: 状态,0-未结束 1-已结束.
  3474. type: integer
  3475. totalpl:
  3476. description: 总盈亏.
  3477. type: number
  3478. totalqty:
  3479. description: 总敞口.
  3480. type: string
  3481. type:
  3482. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3483. type: integer
  3484. type: object
  3485. erms3.QuerySpotContractAppleFormRsp:
  3486. properties:
  3487. goodses:
  3488. description: 合约列表
  3489. items:
  3490. $ref: '#/definitions/models.GoodsIDAndName'
  3491. type: array
  3492. oppositeusers:
  3493. description: 对方账号列表
  3494. items:
  3495. $ref: '#/definitions/erms3.CustomerInfo'
  3496. type: array
  3497. ouruser:
  3498. $ref: '#/definitions/erms3.CustomerInfo'
  3499. description: 我方账号
  3500. warehouseinfos:
  3501. description: 仓库信息列表
  3502. items:
  3503. $ref: '#/definitions/models.Warehouseinfo'
  3504. type: array
  3505. wrstandards:
  3506. description: 仓单标准列表
  3507. items:
  3508. $ref: '#/definitions/models.WRStandardInfo'
  3509. type: array
  3510. type: object
  3511. erms3.QuerySpotContractInfoRsp:
  3512. properties:
  3513. accountid:
  3514. description: 表示交易员ID.
  3515. type: integer
  3516. curdeliveryqty:
  3517. description: 表示未交收量.
  3518. type: number
  3519. customername:
  3520. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3521. type: string
  3522. deliverygoodsid:
  3523. description: 表示品种ID.
  3524. type: string
  3525. deliveryqty:
  3526. description: 表示交收量.
  3527. type: number
  3528. matchaccountid:
  3529. description: 表示业务员ID.
  3530. type: integer
  3531. matchcustomername:
  3532. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3533. type: string
  3534. priceqty:
  3535. description: 表示定价量.
  3536. type: number
  3537. relatedbizid:
  3538. description: 表示业务ID.
  3539. type: string
  3540. signdate:
  3541. description: 表示签订日期.
  3542. type: string
  3543. spotcontractid:
  3544. description: 合同ID
  3545. type: string
  3546. status:
  3547. description: 表示状态,0-履约中 1-已完成.
  3548. type: integer
  3549. totalqty:
  3550. description: 表示合同量.
  3551. type: number
  3552. unpricedqty:
  3553. description: 表示未定价量.
  3554. type: number
  3555. wrstandardname:
  3556. description: 表示商品ID.
  3557. type: string
  3558. type: object
  3559. erms3.QueryUserInfoAppliesRsp:
  3560. properties:
  3561. biznature:
  3562. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3563. type: integer
  3564. contactname:
  3565. description: 联系人
  3566. type: string
  3567. createtime:
  3568. description: 开户申请时间
  3569. type: string
  3570. userid:
  3571. description: 用户ID(自增ID)
  3572. type: integer
  3573. userinfotype:
  3574. description: 用户信息类型 - 1:个人 2:企业
  3575. type: integer
  3576. username:
  3577. description: 用户姓名
  3578. type: string
  3579. userstate:
  3580. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3581. type: integer
  3582. required:
  3583. - userid
  3584. type: object
  3585. erms3.QueryUserInfosRsp:
  3586. properties:
  3587. biznature:
  3588. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3589. type: integer
  3590. contactname:
  3591. description: 联系人
  3592. type: string
  3593. customername:
  3594. description: 客户名称(企业名称)
  3595. type: string
  3596. userid:
  3597. description: 用户ID
  3598. type: integer
  3599. userinfotype:
  3600. description: 用户信息类型 - 1:个人 2:企业
  3601. type: integer
  3602. userstatus:
  3603. description: 用户状态 - 1:正常 2:注销
  3604. type: integer
  3605. required:
  3606. - userid
  3607. type: object
  3608. erms3.SoptContractDetail:
  3609. properties:
  3610. deliverygoodsdesc:
  3611. description: 现货品种说明
  3612. type: string
  3613. deliverygoodsid:
  3614. description: 现货品种ID
  3615. type: integer
  3616. deliverygoodsname:
  3617. description: 现货品种名称
  3618. type: string
  3619. pointdesc:
  3620. description: 点价描述
  3621. type: string
  3622. producttype:
  3623. description: 产品类型 1:标准仓单 2:等标 3:非标
  3624. type: integer
  3625. producttypename:
  3626. description: 产品类型名称
  3627. type: string
  3628. spotPointOrderVoList:
  3629. description: 点价列表
  3630. items:
  3631. $ref: '#/definitions/erms3.SpotPointOrder'
  3632. type: array
  3633. spotPriceOrderList:
  3634. description: 定价列表
  3635. items:
  3636. $ref: '#/definitions/erms3.SpotPriceOrder'
  3637. type: array
  3638. unitname:
  3639. description: 单位名称
  3640. type: string
  3641. warehouseid:
  3642. description: 仓库ID
  3643. type: integer
  3644. warehousename:
  3645. description: 仓库名称
  3646. type: string
  3647. wrstandardid:
  3648. description: 交易标的ID
  3649. type: integer
  3650. wrstandardname:
  3651. description: 交易标的名称
  3652. type: string
  3653. required:
  3654. - deliverygoodsid
  3655. - producttype
  3656. - unitname
  3657. - warehouseid
  3658. - wrstandardid
  3659. - wrstandardname
  3660. type: object
  3661. erms3.SpotPointOrder:
  3662. properties:
  3663. basic:
  3664. description: 基差
  3665. type: number
  3666. deliveryenddate:
  3667. description: 交收结束日期
  3668. type: string
  3669. deliverystartdate:
  3670. description: 交收开始日期
  3671. type: string
  3672. enddate:
  3673. description: 点价结束日期
  3674. type: string
  3675. goodsid:
  3676. description: 商品ID
  3677. type: integer
  3678. goodsname:
  3679. description: 商品名称
  3680. type: string
  3681. qty:
  3682. description: 数量
  3683. type: number
  3684. startdate:
  3685. description: 点价开始日期
  3686. type: string
  3687. required:
  3688. - basic
  3689. - goodsid
  3690. - qty
  3691. type: object
  3692. erms3.SpotPriceOrder:
  3693. properties:
  3694. amount:
  3695. description: 金额
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. price:
  3704. description: 价格
  3705. type: number
  3706. qty:
  3707. description: 数量
  3708. type: number
  3709. required:
  3710. - amount
  3711. - price
  3712. - qty
  3713. type: object
  3714. hsby.GetHsbyMyCountRsp:
  3715. properties:
  3716. myCouponCount:
  3717. description: 我的优惠卷数量
  3718. type: integer
  3719. myOrderDetailListingCount:
  3720. description: 我的订单求购中数量
  3721. type: integer
  3722. myOrderDetailPreCount:
  3723. description: 我的订单抢购中数量
  3724. type: integer
  3725. myPackageUnReceiveCount:
  3726. description: 我的包裹待收货数量
  3727. type: integer
  3728. myPackageUnSendCount:
  3729. description: 我的包裹待发货数量
  3730. type: integer
  3731. myPayOrderCount:
  3732. description: 我的订单待付款数量
  3733. type: integer
  3734. type: object
  3735. hsby.QueryProvincesAndCitiesRsp:
  3736. properties:
  3737. cities:
  3738. description: 市
  3739. items:
  3740. $ref: '#/definitions/models.Division'
  3741. type: array
  3742. province:
  3743. $ref: '#/definitions/models.Division'
  3744. description: 省
  3745. type: object
  3746. models.Arearole:
  3747. properties:
  3748. createtime:
  3749. description: 创建时间
  3750. type: string
  3751. creatorid:
  3752. description: 创建人ID
  3753. type: integer
  3754. fromuserid:
  3755. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3756. type: integer
  3757. isreturnscore:
  3758. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3759. type: integer
  3760. modifierid:
  3761. description: 修改人ID
  3762. type: integer
  3763. modifytime:
  3764. description: 修改时间
  3765. type: string
  3766. orgtype:
  3767. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3768. type: integer
  3769. outuserid:
  3770. description: 外部账户[场外期权做市商]
  3771. type: string
  3772. parentuserid:
  3773. description: 上级组织机构(组织机构)
  3774. type: integer
  3775. roletype:
  3776. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3777. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3778. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3779. type: integer
  3780. rootuserid:
  3781. description: 顶级组织机构用户ID(组织机构)
  3782. type: integer
  3783. shoppassword:
  3784. description: 商城店铺登陆密码(商城店铺角色使用)
  3785. type: string
  3786. sublevelpath:
  3787. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3788. type: string
  3789. suborgtype:
  3790. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3791. type: integer
  3792. tradeaccountid:
  3793. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3794. type: integer
  3795. transurl:
  3796. description: 物流地址(物流机构)
  3797. type: string
  3798. userid:
  3799. description: 机构用户ID其他做市关系,都设置为 1
  3800. type: integer
  3801. required:
  3802. - roletype
  3803. - userid
  3804. type: object
  3805. models.Clientfixedadconfig:
  3806. properties:
  3807. adsort:
  3808. description: 排序
  3809. type: integer
  3810. adtype:
  3811. description: 广告位类型 - 1:新品抢购(HSBY)
  3812. type: integer
  3813. areauserid:
  3814. description: 所属机构ID
  3815. type: integer
  3816. createdate:
  3817. description: 创建时间
  3818. type: string
  3819. creatorid:
  3820. description: 创建人
  3821. type: integer
  3822. imagepath:
  3823. description: 图片
  3824. type: string
  3825. isshow:
  3826. description: 是否展示 - 0:不展示 1:展示
  3827. type: integer
  3828. modifierid:
  3829. description: 操作人
  3830. type: integer
  3831. recsize:
  3832. description: 推荐尺寸
  3833. type: string
  3834. title:
  3835. description: 标题
  3836. type: string
  3837. updatedate:
  3838. description: 更新时间
  3839. type: string
  3840. urlcontent:
  3841. description: 链接(地址或商品ID)
  3842. type: string
  3843. urltype:
  3844. description: 链接类型 - 1:直接地址 2:商品ID
  3845. type: integer
  3846. required:
  3847. - adsort
  3848. - adtype
  3849. type: object
  3850. models.Division:
  3851. properties:
  3852. autoid:
  3853. description: 自增ID
  3854. type: integer
  3855. divisioncode:
  3856. description: 行政代码
  3857. type: string
  3858. divisionlevel:
  3859. description: 行政级别
  3860. type: string
  3861. divisionname:
  3862. description: 行政名称
  3863. type: string
  3864. modifierid:
  3865. description: 修改人
  3866. type: integer
  3867. modifytime:
  3868. description: 修改时间
  3869. type: string
  3870. parentcode:
  3871. description: 上级行政代码
  3872. type: string
  3873. pathname:
  3874. description: 路径名称
  3875. type: string
  3876. postcode:
  3877. description: 邮政编码
  3878. type: string
  3879. separablename:
  3880. description: 可拆分的全称
  3881. type: string
  3882. shortcode:
  3883. description: 地区简码
  3884. type: string
  3885. required:
  3886. - autoid
  3887. - divisioncode
  3888. type: object
  3889. models.Enumdicitem:
  3890. properties:
  3891. autoid:
  3892. description: 自增ID
  3893. type: integer
  3894. bankmappedvalue:
  3895. description: 银行服务对应值
  3896. type: string
  3897. enumdiccode:
  3898. description: 所属枚举代码
  3899. type: string
  3900. enumdicid:
  3901. description: 所属枚举ID
  3902. type: integer
  3903. enumdicname:
  3904. description: 枚举项名称
  3905. type: string
  3906. enumitemname:
  3907. description: 枚举项值
  3908. type: integer
  3909. enumitemstatus:
  3910. description: 枚举项状态 - 1.启用 2.不启用
  3911. type: integer
  3912. enumitemvalue:
  3913. description: 通用值 - [币种通用简写]
  3914. type: string
  3915. param1:
  3916. description: 参数1[币种:币种小数位]
  3917. type: string
  3918. param2:
  3919. description: 参数1[币种:币种显示单位]
  3920. type: string
  3921. remark:
  3922. description: 备注
  3923. type: string
  3924. required:
  3925. - autoid
  3926. - enumdiccode
  3927. - enumdicid
  3928. - enumitemname
  3929. type: object
  3930. models.Ermcp3AreaSpot:
  3931. properties:
  3932. areauserid:
  3933. description: 所属机构
  3934. type: integer
  3935. convertratio:
  3936. description: 套保系数
  3937. type: number
  3938. decreaseqty:
  3939. description: 减少数量=-(销售已定价数量+采购计划数量)
  3940. type: number
  3941. enumdicname:
  3942. description: 单位名称
  3943. type: string
  3944. increaseqty:
  3945. description: 增加数量=销售计划数量+采购已定价数量
  3946. type: number
  3947. oritoalspotqty:
  3948. description: 昨日数量
  3949. type: number
  3950. totalspotqty:
  3951. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3952. type: number
  3953. unitid:
  3954. description: 现货商品单位id
  3955. type: integer
  3956. updatetime:
  3957. description: 更新时间
  3958. type: string
  3959. wrstandardcode:
  3960. description: 现货商品代码
  3961. type: string
  3962. wrstandardid:
  3963. description: 现货商品ID(SEQ_WRSTANDARD)
  3964. type: integer
  3965. wrstandardname:
  3966. description: 现货商品名称
  3967. type: string
  3968. type: object
  3969. models.Ermcp3AreaSpotDetail:
  3970. properties:
  3971. contracttype:
  3972. description: 合同类型 1-采购 -1-销售
  3973. type: integer
  3974. createtime:
  3975. description: 创建时间
  3976. type: string
  3977. enumdicname:
  3978. description: 现货商品单位名称
  3979. type: string
  3980. logtype:
  3981. description: 记录类型 1-套保 2-现货合同
  3982. type: integer
  3983. qty:
  3984. description: 数量
  3985. type: number
  3986. recordname:
  3987. description: 类型名称
  3988. type: string
  3989. relatedid:
  3990. description: 套保计划ID/现货合同ID
  3991. type: string
  3992. relatedno:
  3993. description: 编号
  3994. type: string
  3995. strtime:
  3996. description: 时间
  3997. type: string
  3998. wrstandardcode:
  3999. description: 现货商品代码
  4000. type: string
  4001. wrstandardid:
  4002. description: 现货商品ID(SEQ_WRSTANDARD)
  4003. type: integer
  4004. wrstandardname:
  4005. description: 现货商品名称
  4006. type: string
  4007. type: object
  4008. models.Ermcp3AreaSpotPLReport:
  4009. properties:
  4010. accountid:
  4011. description: 期货账户ID (作废, 默认为0)
  4012. type: integer
  4013. accountname:
  4014. description: 机构名称
  4015. type: string
  4016. actualpl:
  4017. description: 现货损益
  4018. type: number
  4019. areauserid:
  4020. description: 所属机构\交易用户ID
  4021. type: integer
  4022. begindate:
  4023. description: 开始交易日
  4024. type: string
  4025. biztype:
  4026. description: 业务类型 - 1:套保 2:套利
  4027. type: integer
  4028. brandname:
  4029. description: 品牌名称
  4030. type: string
  4031. curamount:
  4032. description: 期末额
  4033. type: number
  4034. curaverageprice:
  4035. description: 期末均价
  4036. type: number
  4037. curbuyamount:
  4038. description: 期末采购总额
  4039. type: number
  4040. curbuyqty:
  4041. description: 期末采购总量
  4042. type: number
  4043. curmarketvalue:
  4044. description: 参考市值(期末市值)
  4045. type: number
  4046. curqty:
  4047. description: 期末量
  4048. type: number
  4049. currencyid:
  4050. description: 结算币种ID【原值】
  4051. type: integer
  4052. currencyname:
  4053. description: 币种名称
  4054. type: string
  4055. cursellamount:
  4056. description: 期末销售总额
  4057. type: number
  4058. cursellqty:
  4059. description: 期末销售总量
  4060. type: number
  4061. curspotprice:
  4062. description: 参考市价(最新价)
  4063. type: number
  4064. cycletime:
  4065. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4066. type: string
  4067. cycletype:
  4068. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4069. type: integer
  4070. deliverygoodscode:
  4071. description: 现货商品代码
  4072. type: string
  4073. deliverygoodsid:
  4074. description: 现货品种ID
  4075. type: integer
  4076. deliverygoodsname:
  4077. description: 现货商品名称
  4078. type: string
  4079. enddate:
  4080. description: 结束交易日
  4081. type: string
  4082. enumdicname:
  4083. description: 现货商品单位名称
  4084. type: string
  4085. floatpl:
  4086. description: 浮动损益
  4087. type: number
  4088. goodsunitid:
  4089. description: 现货商品单位id
  4090. type: integer
  4091. oriamount:
  4092. description: 期初额
  4093. type: number
  4094. oriaverageprice:
  4095. description: 期初均价
  4096. type: number
  4097. oribuyamount:
  4098. description: 期初采购总额
  4099. type: number
  4100. oribuyqty:
  4101. description: 期初采购总量
  4102. type: number
  4103. oriqty:
  4104. description: 期初量
  4105. type: number
  4106. orisellamount:
  4107. description: 期初销售总额
  4108. type: number
  4109. orisellqty:
  4110. description: 期初销售总量
  4111. type: number
  4112. reckondate:
  4113. description: 日照时期(yyyyMMdd)
  4114. type: string
  4115. spotgoodsbrandid:
  4116. description: 现货品牌ID
  4117. type: integer
  4118. todaybuyamount:
  4119. description: 今日采购额(今采购额)
  4120. type: number
  4121. todaybuyaverageprice:
  4122. description: 今日采购均价
  4123. type: number
  4124. todaybuyqty:
  4125. description: 今日采购量(今采购量)
  4126. type: number
  4127. todayinqty:
  4128. description: 今日入库量(今入库量)
  4129. type: number
  4130. todayoutqty:
  4131. description: 今日出库量(今出库量)
  4132. type: number
  4133. todaysellamount:
  4134. description: 今日销售额(今销售额)
  4135. type: number
  4136. todaysellaverageprice:
  4137. description: 今日销售均价
  4138. type: number
  4139. todaysellqty:
  4140. description: 今日销售量(今销售量)
  4141. type: number
  4142. unitid:
  4143. description: 品类单位id
  4144. type: integer
  4145. unitidname:
  4146. description: 品类单位名称
  4147. type: string
  4148. updatetime:
  4149. description: 更新时间
  4150. type: string
  4151. wrfactortypeid:
  4152. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4153. type: integer
  4154. wrstandardcode:
  4155. description: 品类代码
  4156. type: string
  4157. wrstandardid:
  4158. description: 现货品类ID
  4159. type: integer
  4160. wrstandardname:
  4161. description: 品类名称
  4162. type: string
  4163. type: object
  4164. models.Ermcp3AreaStock:
  4165. properties:
  4166. brandname:
  4167. description: 品牌名称
  4168. type: string
  4169. curstock:
  4170. description: 期末库存量(今日量)
  4171. type: number
  4172. deliverygoodscode:
  4173. description: 现货品种代码
  4174. type: string
  4175. deliverygoodsid:
  4176. description: 现货品种id
  4177. type: integer
  4178. deliverygoodsname:
  4179. description: 现货品种名称
  4180. type: string
  4181. enumdicname:
  4182. description: 单位名称
  4183. type: string
  4184. goodsunitid:
  4185. description: 现货商品单位id
  4186. type: integer
  4187. oristock:
  4188. description: 期初库存量(昨日量)
  4189. type: number
  4190. spotgoodsbrandid:
  4191. description: 现货品牌ID
  4192. type: integer
  4193. todaybuyinqty:
  4194. description: 今日采购入库量
  4195. type: number
  4196. todayproduceinqty:
  4197. description: 今日生产入库量
  4198. type: number
  4199. todayproduceoutqty:
  4200. description: 今日生产出库量
  4201. type: number
  4202. todayselloutqty:
  4203. description: 今日销售出库量
  4204. type: number
  4205. unitid:
  4206. description: 单位id
  4207. type: integer
  4208. updatetime:
  4209. description: 更新时间
  4210. type: string
  4211. userid:
  4212. description: 机构ID
  4213. type: integer
  4214. username:
  4215. description: 机构名称
  4216. type: string
  4217. warehousecode:
  4218. description: 仓库代码
  4219. type: string
  4220. warehouseinfoid:
  4221. description: 仓库ID
  4222. type: string
  4223. warehousename:
  4224. description: 仓库名称
  4225. type: string
  4226. warehousetype:
  4227. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4228. type: integer
  4229. wrstandardcode:
  4230. description: 品类代码
  4231. type: string
  4232. wrstandardid:
  4233. description: 品类ID
  4234. type: string
  4235. wrstandardname:
  4236. description: 品类名称
  4237. type: string
  4238. required:
  4239. - userid
  4240. type: object
  4241. models.Ermcp3AreaStockApply:
  4242. properties:
  4243. applyid:
  4244. description: 申请人
  4245. type: integer
  4246. applyname:
  4247. description: 申请人名称
  4248. type: string
  4249. applyremark:
  4250. description: 申请备注
  4251. type: string
  4252. applysrc:
  4253. description: 申请来源 - 1:管理端 2:终端
  4254. type: integer
  4255. applystatus:
  4256. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4257. type: integer
  4258. applytime:
  4259. description: 申请时间
  4260. type: string
  4261. auditid:
  4262. description: 审核人
  4263. type: integer
  4264. auditname:
  4265. description: 审核人名称
  4266. type: string
  4267. auditremark:
  4268. description: 审核备注
  4269. type: string
  4270. auditsrc:
  4271. description: 审核来源 - 1:管理端 2:终端
  4272. type: integer
  4273. audittime:
  4274. description: 审核时间
  4275. type: string
  4276. audittradedate:
  4277. description: 审核交易日(yyyyMMdd)
  4278. type: string
  4279. brandname:
  4280. description: 品牌名称
  4281. type: string
  4282. buynickname:
  4283. description: 采购方昵称
  4284. type: string
  4285. buyuserid:
  4286. description: 采购方userid
  4287. type: integer
  4288. buyusername:
  4289. description: 采购方名称
  4290. type: string
  4291. contractno:
  4292. description: 合同编号
  4293. type: string
  4294. contractqty:
  4295. description: 合同量
  4296. type: number
  4297. contracttype:
  4298. description: 现货合同类型 - 1:采购 -1:销售
  4299. type: integer
  4300. deliverygoodscode:
  4301. description: 现货品种代码
  4302. type: string
  4303. deliverygoodsid:
  4304. description: 现货品种id
  4305. type: integer
  4306. deliverygoodsname:
  4307. description: 现货品种名称
  4308. type: string
  4309. detailjson:
  4310. description: 明细数据
  4311. type: string
  4312. enumdicname:
  4313. description: 现货商品单位名称
  4314. type: string
  4315. inoutapplyid:
  4316. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4317. type: string
  4318. inouttype:
  4319. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4320. type: integer
  4321. pricetype:
  4322. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4323. type: integer
  4324. qty:
  4325. description: 数量
  4326. type: number
  4327. sellnickname:
  4328. description: 销售方昵称
  4329. type: string
  4330. selluserid:
  4331. description: 销售方userid
  4332. type: integer
  4333. sellusername:
  4334. description: 销售方名称
  4335. type: string
  4336. spotcontractid:
  4337. description: 关联现货合同ID
  4338. type: string
  4339. spotgoodsbrandid:
  4340. description: 现货品牌ID
  4341. type: integer
  4342. unitid:
  4343. description: 单位id
  4344. type: integer
  4345. userid:
  4346. description: 机构ID
  4347. type: integer
  4348. warehousecode:
  4349. description: 仓库代码
  4350. type: string
  4351. warehouseinfoid:
  4352. description: 现货仓库ID
  4353. type: string
  4354. warehousename:
  4355. description: 仓库名称
  4356. type: string
  4357. warehousetype:
  4358. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4359. type: integer
  4360. wrstandardcode:
  4361. description: 品类代码
  4362. type: string
  4363. wrstandardid:
  4364. description: 品类ID
  4365. type: integer
  4366. wrstandardname:
  4367. description: 品类名称
  4368. type: string
  4369. type: object
  4370. models.Ermcp3AreaStockApplySum:
  4371. properties:
  4372. brandname:
  4373. description: 品牌名称
  4374. type: string
  4375. inouttype:
  4376. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4377. type: integer
  4378. spotcontractid:
  4379. description: 关联现货合同ID
  4380. type: string
  4381. spotgoodsbrandid:
  4382. description: 品牌id
  4383. type: integer
  4384. totalqty:
  4385. description: 总数量
  4386. type: number
  4387. wrstandardid:
  4388. description: 品类id
  4389. type: integer
  4390. wrstandardname:
  4391. description: 品类名称
  4392. type: string
  4393. type: object
  4394. models.Ermcp3AreaStockReportEx:
  4395. properties:
  4396. begindate:
  4397. description: 开始交易日
  4398. type: string
  4399. brandname:
  4400. description: 品牌名称
  4401. type: string
  4402. curstock:
  4403. description: 期末库存量
  4404. type: number
  4405. cycletime:
  4406. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4407. type: string
  4408. cycletype:
  4409. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4410. type: integer
  4411. deliverygoodscode:
  4412. description: 现货品种代码
  4413. type: string
  4414. deliverygoodsid:
  4415. description: 现货品种id
  4416. type: integer
  4417. deliverygoodsname:
  4418. description: 现货品种名称
  4419. type: string
  4420. diffqty:
  4421. description: 库存变化量 = 期末 - 期初
  4422. type: number
  4423. enddate:
  4424. description: 结束交易日
  4425. type: string
  4426. enumdicname:
  4427. description: 单位名称
  4428. type: string
  4429. goodsunitid:
  4430. description: 现货单位id
  4431. type: integer
  4432. oristock:
  4433. description: 期初库存量
  4434. type: number
  4435. reckondate:
  4436. description: 日照时期(yyyyMMdd)
  4437. type: string
  4438. spotgoodsbrandid:
  4439. description: 现货品牌ID
  4440. type: integer
  4441. todaybuyinqty:
  4442. description: 今采购入库量
  4443. type: number
  4444. todayproduceinqty:
  4445. description: 今内部入库量
  4446. type: number
  4447. todayproduceoutqty:
  4448. description: 今内部出库量
  4449. type: number
  4450. todayselloutqty:
  4451. description: 今销售出库量
  4452. type: number
  4453. unbuyinqty:
  4454. description: 采购未入库量(数据库未找到相关字段?)
  4455. type: number
  4456. unitid:
  4457. description: 品类单位id
  4458. type: integer
  4459. unselloutqty:
  4460. description: 销售未出库量(数据库未找到相关字段?)
  4461. type: number
  4462. updatetime:
  4463. description: 更新时间
  4464. type: string
  4465. userid:
  4466. description: 机构ID
  4467. type: integer
  4468. username:
  4469. description: 机构名称
  4470. type: string
  4471. warehousecode:
  4472. description: 仓库代码
  4473. type: string
  4474. warehouseinfoid:
  4475. description: 仓库ID
  4476. type: string
  4477. warehousename:
  4478. description: 仓库名称
  4479. type: string
  4480. warehousetype:
  4481. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4482. type: integer
  4483. wrstandardcode:
  4484. description: 品类代码
  4485. type: string
  4486. wrstandardid:
  4487. description: 品类ID
  4488. type: integer
  4489. wrstandardname:
  4490. description: 品类名称
  4491. type: string
  4492. type: object
  4493. models.Ermcp3ArealSumPL:
  4494. properties:
  4495. accountname:
  4496. description: 机构名称
  4497. type: string
  4498. areauserid:
  4499. description: 所属机构\交易用户ID
  4500. type: integer
  4501. begindate:
  4502. description: 开始交易日
  4503. type: string
  4504. currencyid:
  4505. description: 结算币种ID
  4506. type: integer
  4507. currencyname:
  4508. description: 币种名称
  4509. type: string
  4510. cycletime:
  4511. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4512. type: string
  4513. cycletype:
  4514. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4515. type: integer
  4516. enddate:
  4517. description: 结束交易日
  4518. type: string
  4519. enumdicname:
  4520. description: 单位名称(套保品种)
  4521. type: string
  4522. futureactualpl:
  4523. description: 期货损益
  4524. type: number
  4525. futurefloatpl:
  4526. description: 期货浮动损益
  4527. type: number
  4528. futurespotratio:
  4529. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4530. type: number
  4531. goodsunitid:
  4532. description: 套保品种单位id
  4533. type: integer
  4534. hedgeexposurepl:
  4535. description: 套保敞口损益
  4536. type: number
  4537. middlegoodscode:
  4538. description: 套保品种代码
  4539. type: string
  4540. middlegoodsid:
  4541. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4542. type: integer
  4543. middlegoodsname:
  4544. description: 套保品种名称
  4545. type: string
  4546. reckondate:
  4547. description: 日照时期(yyyyMMdd)
  4548. type: string
  4549. spotactualpl:
  4550. description: 现货损益
  4551. type: number
  4552. spotfloatpl:
  4553. description: 现货浮动损益
  4554. type: number
  4555. sumactualpl:
  4556. description: 实际损益 = (ActualPL + FutureActualPL)
  4557. type: number
  4558. sumpl:
  4559. description: 总敞口损益 | 汇总损益
  4560. type: number
  4561. totalfutureqty:
  4562. description: 期货头寸总量
  4563. type: number
  4564. totalneedhedgeqty:
  4565. description: 应套保总量
  4566. type: number
  4567. totalspotqty:
  4568. description: 现货头寸总量
  4569. type: number
  4570. updatetime:
  4571. description: 更新时间
  4572. type: string
  4573. type: object
  4574. models.Ermcp3Brand:
  4575. properties:
  4576. areauserid:
  4577. description: 用户id
  4578. type: integer
  4579. brandid:
  4580. description: 品牌id
  4581. type: integer
  4582. brandname:
  4583. description: 品牌名称
  4584. type: string
  4585. deliverygoodsid:
  4586. description: 品种ID
  4587. type: integer
  4588. isvalid:
  4589. description: 是否有效
  4590. type: integer
  4591. type: object
  4592. models.Ermcp3Contract:
  4593. properties:
  4594. accountid:
  4595. description: 期货账户id
  4596. type: string
  4597. amount:
  4598. description: 金额 [1:一口价、3:暂定价]
  4599. type: number
  4600. attachment:
  4601. description: 附件
  4602. type: string
  4603. auditremark:
  4604. description: 审核意见
  4605. type: string
  4606. audittime:
  4607. description: 审核时间
  4608. type: string
  4609. biztype:
  4610. description: 业务类型 1-套保 2-套利
  4611. type: integer
  4612. brandname:
  4613. description: 品牌名称
  4614. type: string
  4615. buynickname:
  4616. description: 销售方昵称
  4617. type: string
  4618. buyuserid:
  4619. description: 采购方ID
  4620. type: integer
  4621. buyusername:
  4622. description: 采购方名称
  4623. type: string
  4624. contracctstatus:
  4625. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4626. type: integer
  4627. contractmargin:
  4628. description: 合同保证金
  4629. type: number
  4630. contractno:
  4631. description: 现货合同编号
  4632. type: string
  4633. contracttype:
  4634. description: 现货合同类型 - 1:采购 -1:销售
  4635. type: integer
  4636. convertfactor:
  4637. description: 标仓系数(品类)
  4638. type: number
  4639. createtime:
  4640. description: 创建时间
  4641. type: string
  4642. currencyid:
  4643. description: 币种id
  4644. type: integer
  4645. currencyname:
  4646. description: 币种名称
  4647. type: string
  4648. deliveryenddate:
  4649. description: 交收期(结束)
  4650. type: string
  4651. deliverygoodscode:
  4652. description: 现货品种代码
  4653. type: string
  4654. deliverygoodsid:
  4655. description: 现货品种ID
  4656. type: integer
  4657. deliverygoodsname:
  4658. description: 现货品种名称
  4659. type: string
  4660. deliverystartdate:
  4661. description: 交收期(开始)
  4662. type: string
  4663. enddate:
  4664. description: 点价结束日期 [2:点价 3:暂定价]
  4665. type: string
  4666. enumdicname:
  4667. description: 单位名称
  4668. type: string
  4669. goodscode:
  4670. description: 点价合约代码
  4671. type: string
  4672. goodsid:
  4673. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4674. type: integer
  4675. goodsname:
  4676. description: 点价商品名称
  4677. type: string
  4678. margin:
  4679. description: 当前保证金
  4680. type: number
  4681. meruserid:
  4682. description: 跟单员id
  4683. type: integer
  4684. meruserlogincode:
  4685. description: 跟单员登录代码
  4686. type: string
  4687. merusername:
  4688. description: 跟单员名称
  4689. type: string
  4690. price:
  4691. description: 价格\暂定价 [1:一口价、3:暂定价]
  4692. type: number
  4693. pricemove:
  4694. description: 升贴水 [2:点价 3:暂定价]
  4695. type: number
  4696. pricetype:
  4697. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4698. type: integer
  4699. producttype:
  4700. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4701. type: integer
  4702. qty:
  4703. description: 数量
  4704. type: number
  4705. remark:
  4706. description: 备注
  4707. type: string
  4708. saleuserid:
  4709. description: 业务员id
  4710. type: integer
  4711. saleuserlogincode:
  4712. description: 业务员登录代码
  4713. type: string
  4714. saleusername:
  4715. description: 业务员名称
  4716. type: string
  4717. sellnickname:
  4718. description: 采购方昵称
  4719. type: string
  4720. selluserid:
  4721. description: 销售方ID
  4722. type: integer
  4723. sellusername:
  4724. description: 销售方名称
  4725. type: string
  4726. spotcontractid:
  4727. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4728. type: string
  4729. spotgoodsbrandid:
  4730. description: 现货品牌ID(DGFactoryItem表的ID)
  4731. type: integer
  4732. spotgoodsdesc:
  4733. description: 商品型号
  4734. type: string
  4735. startdate:
  4736. description: 点价开始日期 [2:点价 3:暂定价]
  4737. type: string
  4738. subjectid:
  4739. description: 交易主体ID
  4740. type: string
  4741. subjectname:
  4742. description: 交易主体名称
  4743. type: string
  4744. tradeuserid:
  4745. description: 交易员id
  4746. type: integer
  4747. tradeuserlogincode:
  4748. description: 交易员登录代码
  4749. type: string
  4750. tradeusername:
  4751. description: 交易员名称
  4752. type: string
  4753. unitid:
  4754. description: 单位id(取品类上的单位id)
  4755. type: integer
  4756. updatetime:
  4757. description: 更新时间
  4758. type: string
  4759. userid:
  4760. description: 所属机构ID
  4761. type: integer
  4762. vatrate:
  4763. description: 增值税率
  4764. type: number
  4765. wrstandardcode:
  4766. description: 品类代码
  4767. type: string
  4768. wrstandardid:
  4769. description: 品类ID
  4770. type: integer
  4771. wrstandardname:
  4772. description: 品类名称
  4773. type: string
  4774. type: object
  4775. models.Ermcp3ExposureContractDetail:
  4776. properties:
  4777. biztype:
  4778. description: 业务类型 1-套保 2-套利
  4779. type: integer
  4780. brandname:
  4781. description: 品牌名称
  4782. type: string
  4783. buyuserid:
  4784. description: 采购方id
  4785. type: integer
  4786. buyusername:
  4787. description: 采购方名称
  4788. type: string
  4789. contractno:
  4790. description: 合同编号
  4791. type: string
  4792. contracttype:
  4793. description: 现货合同类型 - 1:采购 -1:销售
  4794. type: integer
  4795. convertfactor:
  4796. description: 标仓系数
  4797. type: number
  4798. convertratio:
  4799. description: 折算系数(套保品种)
  4800. type: number
  4801. curqty:
  4802. description: 今定价量
  4803. type: number
  4804. deliverygoodscode:
  4805. description: 现货商品代码
  4806. type: string
  4807. deliverygoodsid:
  4808. description: 现货商品id
  4809. type: integer
  4810. deliverygoodsname:
  4811. description: 现货商品名称
  4812. type: string
  4813. diffhedgeqty:
  4814. description: 套保变动量
  4815. type: number
  4816. diffneedhedgeqty:
  4817. description: 应套保变动量
  4818. type: number
  4819. diffqty:
  4820. description: 套保品种今变动量
  4821. type: number
  4822. enumdicname:
  4823. description: 单位名称
  4824. type: string
  4825. mgunitname:
  4826. description: 套保品种单位名称
  4827. type: string
  4828. middlegoodscode:
  4829. description: 套保品种代码
  4830. type: string
  4831. middlegoodsid:
  4832. description: 套保品种id
  4833. type: integer
  4834. middlegoodsname:
  4835. description: 套保品种名称
  4836. type: string
  4837. needarbitrageratio:
  4838. description: 应套利比例
  4839. type: number
  4840. needhedgeratio:
  4841. description: 应套保比例
  4842. type: number
  4843. pricedqty:
  4844. description: 已定价量
  4845. type: number
  4846. qty:
  4847. description: 合同量
  4848. type: number
  4849. selluserid:
  4850. description: 销售方id
  4851. type: integer
  4852. sellusername:
  4853. description: 销售方名称
  4854. type: string
  4855. spotcontractid:
  4856. description: 合同id
  4857. type: string
  4858. todaypricedqty:
  4859. description: 今定价量
  4860. type: number
  4861. tradedate:
  4862. description: 交易日
  4863. type: string
  4864. unitid:
  4865. description: 品类单位id
  4866. type: integer
  4867. userid:
  4868. description: 机构id
  4869. type: integer
  4870. username:
  4871. description: 交易用户
  4872. type: string
  4873. wrstandardcode:
  4874. description: 品类代码
  4875. type: string
  4876. wrstandardid:
  4877. description: 品类id
  4878. type: integer
  4879. wrstandardname:
  4880. description: 品类名称
  4881. type: string
  4882. type: object
  4883. models.Ermcp3ExposureDetail:
  4884. properties:
  4885. areauserid:
  4886. description: 机构ID
  4887. type: integer
  4888. changeQty:
  4889. description: 套保变动量
  4890. type: number
  4891. contracttype:
  4892. description: 现货合同类型 - 1:采购 -1:销售
  4893. type: integer
  4894. convertfactor:
  4895. description: 标仓系数
  4896. type: number
  4897. convertratio:
  4898. description: 折算系数
  4899. type: number
  4900. createtime:
  4901. description: 时间
  4902. type: string
  4903. enumdicname:
  4904. description: 现货商品单位名称
  4905. type: string
  4906. logtype:
  4907. description: 类型 - 1:套保计划 2:现货合同
  4908. type: integer
  4909. mgunitid:
  4910. description: 套保品种单位id
  4911. type: integer
  4912. mgunitidname:
  4913. description: 套保品种单位名称
  4914. type: string
  4915. middlegoodsId:
  4916. description: 套保商品id
  4917. type: integer
  4918. middlegoodscode:
  4919. description: 套保商品代码
  4920. type: string
  4921. middlegoodsname:
  4922. description: 套保商品名称
  4923. type: string
  4924. qty:
  4925. description: 数量
  4926. type: number
  4927. relateNo:
  4928. description: 现货合同/套保计划编号
  4929. type: string
  4930. unitid:
  4931. description: 现货商品单位id
  4932. type: integer
  4933. wrstandardcode:
  4934. description: 现货商品代码
  4935. type: string
  4936. wrstandardid:
  4937. description: 现货商品ID(SEQ_WRSTANDARD)
  4938. type: integer
  4939. wrstandardname:
  4940. description: 现货商品名称
  4941. type: string
  4942. type: object
  4943. models.Ermcp3ExposureFutuDetail:
  4944. properties:
  4945. accountid:
  4946. description: 交易账户id
  4947. type: integer
  4948. accountname:
  4949. description: 交易账户
  4950. type: string
  4951. begindate:
  4952. description: 开始交易日
  4953. type: string
  4954. buyorsell:
  4955. description: 方向 0-买 1-卖
  4956. type: integer
  4957. diffmgqty:
  4958. description: 套保品种今变化量
  4959. type: number
  4960. diffneedqty:
  4961. description: 应套保总量变化量
  4962. type: number
  4963. difftradeqty:
  4964. description: 交易品种今变化量
  4965. type: number
  4966. enddate:
  4967. description: 结束交易日
  4968. type: string
  4969. enumdicname:
  4970. description: 单位名称
  4971. type: string
  4972. goodscode:
  4973. description: 商品代码
  4974. type: string
  4975. goodsid:
  4976. description: 商品id
  4977. type: integer
  4978. goodsname:
  4979. description: 商品名称
  4980. type: string
  4981. holdqty:
  4982. description: 期末持仓量
  4983. type: number
  4984. middlegoodscode:
  4985. description: 套保商品代码
  4986. type: string
  4987. middlegoodsid:
  4988. description: 套保商品id
  4989. type: integer
  4990. middlegoodsname:
  4991. description: 套保商品名称
  4992. type: string
  4993. oriholdqty:
  4994. description: 期初持仓量
  4995. type: number
  4996. todaycloseqty:
  4997. description: 今平仓量
  4998. type: number
  4999. todayopenqty:
  5000. description: 今开仓量
  5001. type: number
  5002. tradedate:
  5003. description: 交易日
  5004. type: string
  5005. type: object
  5006. models.Ermcp3ExposureHedgeplanDetail:
  5007. properties:
  5008. biztype:
  5009. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5010. type: integer
  5011. changqty:
  5012. description: 应套保总量变化量
  5013. type: number
  5014. contracttype:
  5015. description: 计划类型 - 1:采购 -1:销售
  5016. type: integer
  5017. convertratio:
  5018. description: 折算系数(套保品种)
  5019. type: number
  5020. deliverygoodscode:
  5021. description: 现货商品代码
  5022. type: string
  5023. deliverygoodsid:
  5024. description: 现货商品id
  5025. type: integer
  5026. deliverygoodsname:
  5027. description: 现货商吕名称
  5028. type: string
  5029. dgunitid:
  5030. description: 现货商品单位id
  5031. type: integer
  5032. dgunitidname:
  5033. description: 单位名称(现货商品)
  5034. type: string
  5035. diffqty:
  5036. description: 套保品种今变动量
  5037. type: number
  5038. enumdicname:
  5039. description: 单位名称(品类)
  5040. type: string
  5041. hedgeplanid:
  5042. description: 套保计划id
  5043. type: string
  5044. hedgeplanno:
  5045. description: 套保计划名称
  5046. type: string
  5047. hedgeplanstatus:
  5048. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5049. type: integer
  5050. mgunitidname:
  5051. description: 单位名称(套保商品)
  5052. type: string
  5053. middlegoodscode:
  5054. description: 套保品种代码
  5055. type: string
  5056. middlegoodsid:
  5057. description: 套保品种id
  5058. type: integer
  5059. middlegoodsname:
  5060. description: 套保品种名称
  5061. type: string
  5062. needarbitrageratio:
  5063. description: 应套利比例
  5064. type: number
  5065. needhedgeratio:
  5066. description: 应套保比例
  5067. type: number
  5068. pricedqty:
  5069. description: 已定价量
  5070. type: number
  5071. qty:
  5072. description: 合同量
  5073. type: number
  5074. tradedate:
  5075. description: 交易日(登记日)
  5076. type: string
  5077. unitid:
  5078. description: 品类单位id
  5079. type: integer
  5080. userid:
  5081. description: 机构id
  5082. type: integer
  5083. wrstandardcode:
  5084. description: 品类代码
  5085. type: string
  5086. wrstandardid:
  5087. description: 品类id
  5088. type: integer
  5089. wrstandardname:
  5090. description: 品类名称
  5091. type: string
  5092. type: object
  5093. models.Ermcp3ExposureParamChLog:
  5094. properties:
  5095. accountid:
  5096. description: 期货账户ID (作废, 默认为0)
  5097. type: integer
  5098. aftervalue:
  5099. description: 应套保\套利量变更后(调整后应套保总量)
  5100. type: number
  5101. areauserid:
  5102. description: 所属机构\交易用户ID
  5103. type: integer
  5104. beforevalue:
  5105. description: 应套保\套利量变更前(调整前应套保总量)
  5106. type: number
  5107. begindate:
  5108. description: 开始交易日
  5109. type: string
  5110. changelogtype:
  5111. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5112. type: integer
  5113. curvalue:
  5114. description: 当前套保\套利量(套保总量|套利总量)
  5115. type: number
  5116. diffvalue:
  5117. description: 应套保总量变化量
  5118. type: number
  5119. enddate:
  5120. description: 结束交易日
  5121. type: string
  5122. logdatetime:
  5123. description: 流水日期
  5124. type: string
  5125. logid:
  5126. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5127. type: string
  5128. middlegoodscode:
  5129. description: 套保品种代码
  5130. type: string
  5131. middlegoodsid:
  5132. description: 套保品种
  5133. type: integer
  5134. middlegoodsname:
  5135. description: 套保品种名称
  5136. type: string
  5137. paramaftervalue:
  5138. description: 参数变更后(调整后参数值)
  5139. type: number
  5140. parambeforevalue:
  5141. description: 参数变更前(调整前参数值)
  5142. type: number
  5143. tradedate:
  5144. description: 交易日(yyyyMMdd)
  5145. type: string
  5146. type: object
  5147. models.Ermcp3ExpourseReport:
  5148. properties:
  5149. accountid:
  5150. description: 期货账户ID (作废, 默认为0)
  5151. type: integer
  5152. accountname:
  5153. description: 机构名称
  5154. type: string
  5155. arbitrageqty:
  5156. description: 套利量
  5157. type: number
  5158. areauserid:
  5159. description: 所属机构\交易用户ID
  5160. type: integer
  5161. begindate:
  5162. description: 开始交易日
  5163. type: string
  5164. buyfutureqty:
  5165. description: 买入期货数量
  5166. type: number
  5167. buyplanqty:
  5168. description: 采购计划数量
  5169. type: number
  5170. buypricedqty:
  5171. description: 采购合同已定价数量
  5172. type: number
  5173. cycletime:
  5174. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5175. type: string
  5176. cycletype:
  5177. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5178. type: integer
  5179. diffexposure:
  5180. description: 变动量(套保敞口)
  5181. type: number
  5182. difffutuqty:
  5183. description: 变动量(期货)
  5184. type: number
  5185. diffhedgeqty:
  5186. description: 变动量(现货应套保总量)
  5187. type: number
  5188. diffmgqtya:
  5189. description: 套保变动量
  5190. type: number
  5191. diffmgqtyb:
  5192. description: 套利变动量
  5193. type: number
  5194. diffqty:
  5195. description: 变动量(总敞口)
  5196. type: number
  5197. diffspotqty:
  5198. description: 变动量(现货)
  5199. type: number
  5200. enddate:
  5201. description: 结束交易日
  5202. type: string
  5203. enumdicname:
  5204. description: 单位名称
  5205. type: string
  5206. hedgeqty:
  5207. description: 套保量
  5208. type: number
  5209. mgneedhedgeratio:
  5210. description: 套保比例(套保品的)
  5211. type: number
  5212. middlegoodsid:
  5213. description: 套保品种ID
  5214. type: integer
  5215. middlegoodsname:
  5216. description: 套保商品名称
  5217. type: string
  5218. middlgoodscode:
  5219. description: 套保商品代码
  5220. type: string
  5221. needarbitrageqty:
  5222. description: 应套利量
  5223. type: number
  5224. needarbitrageratio:
  5225. description: 套利比例(套保品的)
  5226. type: number
  5227. needhedgeexposoure:
  5228. description: 应套保敞口(套保敞口)
  5229. type: number
  5230. needhedgeqty:
  5231. description: 应套保量
  5232. type: number
  5233. needhedgeratio:
  5234. description: 应套保敞口比例
  5235. type: number
  5236. oriarbitrageqty:
  5237. description: 期初套利量
  5238. type: number
  5239. oribuyfutureqty:
  5240. description: 期初买入期货数量
  5241. type: number
  5242. oribuyplanqty:
  5243. description: 期初采购计划数量
  5244. type: number
  5245. oribuypricedqty:
  5246. description: 期初采购合同已定价数量
  5247. type: number
  5248. orihedgeqty:
  5249. description: 期初套保量
  5250. type: number
  5251. orineedarbitrageqty:
  5252. description: 期初应套利量
  5253. type: number
  5254. orineedhedgeexposoure:
  5255. description: 期初应套保敞口
  5256. type: number
  5257. orineedhedgeqty:
  5258. description: 期初应套保量
  5259. type: number
  5260. orisellfutureqty:
  5261. description: 期初卖出期货数量
  5262. type: number
  5263. orisellplanqty:
  5264. description: 期初销售计划数量
  5265. type: number
  5266. orisellpricedqty:
  5267. description: 期初销售合同已定价数量
  5268. type: number
  5269. oritotalexposure:
  5270. description: 期初实时总敞口
  5271. type: number
  5272. oritotalfutureqty:
  5273. description: 期初期货头寸总量
  5274. type: number
  5275. oritotalneedhedgeqty:
  5276. description: 期初应套保总量
  5277. type: number
  5278. oritotalspotqty:
  5279. description: 期初现货头寸总量
  5280. type: number
  5281. reckondate:
  5282. description: 日照时期(yyyyMMdd)
  5283. type: string
  5284. sellfutureqty:
  5285. description: 卖出期货数量
  5286. type: number
  5287. sellplanqty:
  5288. description: 销售计划数量
  5289. type: number
  5290. sellpricedqty:
  5291. description: 销售合同已定价数量
  5292. type: number
  5293. totalexposure:
  5294. description: 实时总敞口(总敞口)
  5295. type: number
  5296. totalfutureqty:
  5297. description: 期货头寸总量(期货总量)
  5298. type: number
  5299. totalhedgeratio:
  5300. description: 敞口比例
  5301. type: number
  5302. totalneedhedgeqty:
  5303. description: 应套保总量(现货应套保总量)
  5304. type: number
  5305. totalspotqty:
  5306. description: 现货头寸总量
  5307. type: number
  5308. unitid:
  5309. description: 单位id
  5310. type: integer
  5311. updatetime:
  5312. description: 更新时间
  5313. type: string
  5314. type: object
  5315. models.Ermcp3FinanceReport:
  5316. properties:
  5317. accountname:
  5318. description: 机构名称
  5319. type: string
  5320. areauserid:
  5321. description: 所属机构\交易用户ID
  5322. type: integer
  5323. begindate:
  5324. description: 开始交易日
  5325. type: string
  5326. biztype:
  5327. description: 业务类型 - 1:套保 2:套利
  5328. type: integer
  5329. brandname:
  5330. description: 品牌名称
  5331. type: string
  5332. buypreinvoicedamount:
  5333. description: 采购预收票额(预收票额)
  5334. type: number
  5335. buyprepaidamount:
  5336. description: 采购预付款额(预付货款额)
  5337. type: number
  5338. buytodayinvoiceamount:
  5339. description: 采购今收票额(今收票额)
  5340. type: number
  5341. buytodayrefundamount:
  5342. description: 采购今收退款额(今收退款额)
  5343. type: number
  5344. buytodaysettleamount:
  5345. description: 采购今付款额(今付货款额)
  5346. type: number
  5347. buyuninvoicedamount:
  5348. description: 采购应收票额(应收票额)
  5349. type: number
  5350. buyunpaidamount:
  5351. description: 采购应付款额(应付货款额)
  5352. type: number
  5353. currencyid:
  5354. description: 结算币种ID
  5355. type: integer
  5356. currencyname:
  5357. description: 币种名称
  5358. type: string
  5359. cycletime:
  5360. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5361. type: string
  5362. cycletype:
  5363. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5364. type: integer
  5365. deliverygoodscode:
  5366. description: 现货品种代码
  5367. type: string
  5368. deliverygoodsid:
  5369. description: 现货品种ID
  5370. type: integer
  5371. deliverygoodsname:
  5372. description: 现货品种名称
  5373. type: string
  5374. enddate:
  5375. description: 结束交易日
  5376. type: string
  5377. reckondate:
  5378. description: 日照时期(yyyyMMdd)
  5379. type: string
  5380. sellpreinvoicedamount:
  5381. description: 销售预开票额(预开票额)
  5382. type: number
  5383. sellprepaidamount:
  5384. description: 销售预收款额(预收货款额)
  5385. type: number
  5386. selltodayinvoiceamount:
  5387. description: 销售今开票额(今开票额)
  5388. type: number
  5389. selltodayrefundamount:
  5390. description: 销售今付退款额(今付退款额)
  5391. type: number
  5392. selltodaysettleamount:
  5393. description: 销售今收款额(今收货款额)
  5394. type: number
  5395. selluninvoicedamount:
  5396. description: 销售应开票额(应开票额)
  5397. type: number
  5398. sellunpaidamount:
  5399. description: 销售应收款额(应收货款额)
  5400. type: number
  5401. spotgoodsbrandid:
  5402. description: 现货品牌ID
  5403. type: integer
  5404. todaypaysum:
  5405. description: 今付款合计
  5406. type: number
  5407. todayreceivesum:
  5408. description: 今收款合计
  5409. type: number
  5410. updatetime:
  5411. description: 更新时间
  5412. type: string
  5413. wrfactortypeid:
  5414. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5415. type: integer
  5416. wrstandardcode:
  5417. description: 品类代码
  5418. type: string
  5419. wrstandardid:
  5420. description: 现货商品ID
  5421. type: integer
  5422. wrstandardname:
  5423. description: 品类名称
  5424. type: string
  5425. type: object
  5426. models.Ermcp3GoodsGroup:
  5427. properties:
  5428. agreeunit:
  5429. description: 合约单位
  5430. type: number
  5431. areauserid:
  5432. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5433. type: integer
  5434. canshort:
  5435. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5436. type: integer
  5437. closepricemode:
  5438. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5439. type: integer
  5440. createtime:
  5441. description: 创建时间
  5442. type: string
  5443. creatorid:
  5444. description: 创建人
  5445. type: integer
  5446. currencyid:
  5447. description: 报价货币ID
  5448. type: integer
  5449. decimalplace:
  5450. description: 报价小数位
  5451. type: integer
  5452. enumdicname:
  5453. description: 单位名称
  5454. type: string
  5455. exchangefullname:
  5456. description: 交易所全称
  5457. type: string
  5458. excludecfg:
  5459. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5460. type: integer
  5461. exexchangecode:
  5462. description: 交易所代码
  5463. type: string
  5464. exexchangeid:
  5465. description: 外部交易所ID[通道交易]
  5466. type: integer
  5467. exexchangename:
  5468. description: 交易所名称
  5469. type: string
  5470. goodsgroupid:
  5471. description: 商品组ID(自增ID)
  5472. type: integer
  5473. goodsgroupname:
  5474. description: 商品组名称
  5475. type: string
  5476. goodsgroupstatus:
  5477. description: 商品组状态 - 1:正常 2:注销
  5478. type: integer
  5479. goodunitid:
  5480. description: 报价单位ID
  5481. type: integer
  5482. groupcategroyid:
  5483. description: 品种分类ID
  5484. type: integer
  5485. innerdealmode:
  5486. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5487. type: integer
  5488. marketid:
  5489. description: 所属市场ID
  5490. type: integer
  5491. modifierid:
  5492. description: 修改人
  5493. type: integer
  5494. modifytime:
  5495. description: 修改时间
  5496. type: string
  5497. outerdealmode:
  5498. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5499. type: integer
  5500. outergroupcode:
  5501. description: 外部商品组代码[通道交易]
  5502. type: string
  5503. quoteminunit:
  5504. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5505. type: integer
  5506. quotesourcegroupid:
  5507. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5508. type: integer
  5509. syncgoodsqty:
  5510. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5511. type: integer
  5512. required:
  5513. - areauserid
  5514. type: object
  5515. models.Ermcp3HedgePlan:
  5516. properties:
  5517. accountid:
  5518. description: 资金账号
  5519. type: integer
  5520. areauserid:
  5521. description: 用户ID
  5522. type: integer
  5523. auditid:
  5524. description: 审核id
  5525. type: integer
  5526. auditname:
  5527. description: 审核人名称
  5528. type: string
  5529. auditremark:
  5530. description: 审核备注
  5531. type: string
  5532. auditsrc:
  5533. description: 审核来源 1-管理端 2-终端
  5534. type: integer
  5535. audittime:
  5536. description: 审核时间
  5537. type: string
  5538. contracttype:
  5539. description: 计划类型 - 1:采购 -1:销售
  5540. type: integer
  5541. convertfactor:
  5542. description: 标仓系数
  5543. type: number
  5544. createtime:
  5545. description: 创建时间
  5546. type: string
  5547. currencyid:
  5548. description: 币种id
  5549. type: integer
  5550. currencyname:
  5551. description: 币种名称
  5552. type: string
  5553. deliverygoodscode:
  5554. description: 现货品种代码
  5555. type: string
  5556. deliverygoodsid:
  5557. description: 现货品种ID
  5558. type: integer
  5559. deliverygoodsname:
  5560. description: 现货品种名称
  5561. type: string
  5562. enumdicname:
  5563. description: 单位名称(现货商品)
  5564. type: string
  5565. hedgeplanid:
  5566. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5567. type: string
  5568. hedgeplanno:
  5569. description: 套保计划编号(名称)
  5570. type: string
  5571. hedgeplanstatus:
  5572. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5573. type: integer
  5574. planqty:
  5575. description: 计划数量
  5576. type: number
  5577. plantime:
  5578. description: 计划时间
  5579. type: string
  5580. producttype:
  5581. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5582. type: integer
  5583. remark:
  5584. description: 备注
  5585. type: string
  5586. spotgoodsdesc:
  5587. description: 商品型号
  5588. type: string
  5589. taaccountname:
  5590. description: 资金账号名称
  5591. type: string
  5592. tradeuserid:
  5593. description: 交易用户id
  5594. type: integer
  5595. tradeusername:
  5596. description: 交易用户名称
  5597. type: string
  5598. unitid:
  5599. description: 单位id(现货商品)
  5600. type: integer
  5601. updatetime:
  5602. description: 更新时间
  5603. type: string
  5604. vatrate:
  5605. description: 增值税率
  5606. type: number
  5607. wrstandardcode:
  5608. description: 品类代码
  5609. type: string
  5610. wrstandardid:
  5611. description: 品类id
  5612. type: integer
  5613. wrstandardname:
  5614. description: 品类名称
  5615. type: string
  5616. wrunitid:
  5617. description: 品类单位id
  5618. type: integer
  5619. wrunitidame:
  5620. description: 品类单位名称
  5621. type: string
  5622. type: object
  5623. models.Ermcp3InnerTradeLink:
  5624. properties:
  5625. accountid:
  5626. description: 期货账号代码 | 资金账号ID
  5627. type: integer
  5628. buyorsell:
  5629. description: 方向 - 0:买 1:卖
  5630. type: integer
  5631. channelbuildtype:
  5632. description: 委托单据类型 0:无 1:建仓 2:平仓
  5633. type: integer
  5634. currencyid:
  5635. description: 币种id
  5636. type: integer
  5637. currencyname:
  5638. description: 结算币种 名称
  5639. type: string
  5640. goodscode:
  5641. description: 商品代码
  5642. type: string
  5643. goodsid:
  5644. description: 商品ID
  5645. type: integer
  5646. goodsname:
  5647. description: 商品名称
  5648. type: string
  5649. outtradeid:
  5650. description: 外部成交单号
  5651. type: string
  5652. taname:
  5653. description: 期货账户名称
  5654. type: string
  5655. tradeid:
  5656. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5657. type: string
  5658. tradeprice:
  5659. description: 成交价格
  5660. type: number
  5661. tradeqty:
  5662. description: 期货成交数量
  5663. type: integer
  5664. tradetime:
  5665. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5666. type: string
  5667. username:
  5668. description: 用户名称
  5669. type: string
  5670. type: object
  5671. models.Ermcp3OutTradeLink:
  5672. properties:
  5673. buyorsell:
  5674. description: 买卖方向 - 0:买 1:卖
  5675. type: integer
  5676. channelbuildtype:
  5677. description: 开平标志- 0:无 1:建仓 2:平仓
  5678. type: integer
  5679. currencyname:
  5680. description: 币种名称
  5681. type: string
  5682. exexchangecode:
  5683. description: 交易所代码
  5684. type: string
  5685. exexchangename:
  5686. description: 交易所名称
  5687. type: string
  5688. goodscode:
  5689. description: 合约代码
  5690. type: string
  5691. goodsid:
  5692. description: 合约id
  5693. type: integer
  5694. goodsname:
  5695. description: 合约名称
  5696. type: string
  5697. hasinnerorder:
  5698. description: 是否有内部单关联 - 0:无 1:有
  5699. type: integer
  5700. hedgeaccountcode:
  5701. description: 外部账号 | 对冲账号
  5702. type: string
  5703. outtradeid:
  5704. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5705. type: string
  5706. tradeprice:
  5707. description: 成交价格
  5708. type: number
  5709. tradeqty:
  5710. description: 成交数量
  5711. type: integer
  5712. tradetime:
  5713. description: 成交时间
  5714. type: string
  5715. type: object
  5716. models.Ermcp3PaAreaAuditCfg:
  5717. properties:
  5718. areauserid:
  5719. description: 用户ID
  5720. type: integer
  5721. buyinauditflag:
  5722. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5723. type: integer
  5724. costratioauditflag:
  5725. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5726. type: integer
  5727. customerauditflag:
  5728. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5729. type: integer
  5730. deliveryauditflag:
  5731. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5732. type: integer
  5733. invoiceauditflag:
  5734. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. mgneedhedgeratioauditflag:
  5737. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. moneyauditflag:
  5740. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. operatorid:
  5743. description: 操作人
  5744. type: integer
  5745. operatorsrc:
  5746. description: 操作来源 - 1:管理端 2:终端
  5747. type: integer
  5748. pointpriceauditflag:
  5749. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. produceinauditflag:
  5752. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. produceoutauditflag:
  5755. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5756. type: integer
  5757. selloutauditflag:
  5758. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5759. type: integer
  5760. sgconvertratioauditflag:
  5761. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. sgvtaratioauditflag:
  5764. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. spotcontractauditflag:
  5767. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. updatetime:
  5770. description: 更新时间
  5771. type: string
  5772. type: object
  5773. models.Ermcp3PaAreaSubject:
  5774. properties:
  5775. areauserid:
  5776. description: 所属机构
  5777. type: integer
  5778. canmodify:
  5779. description: 是否可修改 - 0:否 1:是
  5780. type: integer
  5781. createtime:
  5782. description: 创建时间
  5783. type: string
  5784. creatorid:
  5785. description: 创建人ID
  5786. type: string
  5787. creatorsrc:
  5788. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5789. type: integer
  5790. modifierid:
  5791. description: 修改人
  5792. type: string
  5793. modifiersrc:
  5794. description: 修改人来源 - 1:管理端 2:终端
  5795. type: integer
  5796. modifytime:
  5797. description: 修改时间
  5798. type: string
  5799. parentsubjectid:
  5800. description: 上级主体ID
  5801. type: string
  5802. remark:
  5803. description: 备注
  5804. type: string
  5805. subjectid:
  5806. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5807. type: integer
  5808. subjectname:
  5809. description: 主体名称
  5810. type: string
  5811. subjectstatus:
  5812. description: '主体状态 - 1:正常 2: 停用'
  5813. type: integer
  5814. subjecttype:
  5815. description: 主体类型 - 1:交易主体 2:业务部门
  5816. type: integer
  5817. type: object
  5818. models.Ermcp3PaTradeLink:
  5819. properties:
  5820. accountid:
  5821. description: 期货账户代码 | 账号ID
  5822. type: integer
  5823. agreeunit:
  5824. description: 合约乘数
  5825. type: number
  5826. buyorsell:
  5827. description: 方向 - 0:买 1:卖
  5828. type: integer
  5829. channelbuildtype:
  5830. description: 委托单据类型 0:无 1:建仓 2:平仓
  5831. type: integer
  5832. charge:
  5833. description: 手续费
  5834. type: number
  5835. closepl:
  5836. description: 平仓盈亏
  5837. type: number
  5838. closetype:
  5839. description: 平仓方式 - 0:无 1:平今 2:平昨
  5840. type: integer
  5841. convertratio:
  5842. description: 折算系数
  5843. type: number
  5844. enumdicname:
  5845. description: 单位名称
  5846. type: string
  5847. executeprice:
  5848. description: 执行价 [期权]
  5849. type: integer
  5850. goodscode:
  5851. description: 合约代码
  5852. type: string
  5853. goodsgroupid:
  5854. description: 对冲品种ID[期货合约商品组ID]
  5855. type: integer
  5856. goodsid:
  5857. description: 商品ID
  5858. type: integer
  5859. goodsname:
  5860. description: 合约名称
  5861. type: string
  5862. goodunitid:
  5863. description: 单位id
  5864. type: integer
  5865. hedgeflag:
  5866. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  5867. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5868. type: integer
  5869. marketid:
  5870. description: 市场ID
  5871. type: integer
  5872. middlegoodsid:
  5873. description: 套保品种ID
  5874. type: integer
  5875. middlegoodsqty:
  5876. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5877. type: number
  5878. optioncode:
  5879. description: 期权代码 [期权]
  5880. type: string
  5881. ordertype:
  5882. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5883. type: integer
  5884. ordertypename:
  5885. description: 订单类型
  5886. type: string
  5887. parentaccountid:
  5888. description: 所属母账户
  5889. type: integer
  5890. premium:
  5891. description: 权利金 [期权]
  5892. type: number
  5893. relatedlot:
  5894. description: 已关联数量(已关联数量手) | db:关联手数
  5895. type: number
  5896. relatedouttradeid:
  5897. description: 关联外部成交单ID
  5898. type: string
  5899. relatedqty:
  5900. description: 关联数量
  5901. type: number
  5902. spotcontractid:
  5903. description: 现货合同ID [4:套期保值\10\11]
  5904. type: string
  5905. taname:
  5906. description: 期货账户名称
  5907. type: string
  5908. tradeamount:
  5909. description: 成交金额(账户)
  5910. type: number
  5911. tradedate:
  5912. description: 交易日(yyyyMMdd)
  5913. type: string
  5914. tradeid:
  5915. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5916. type: string
  5917. tradelot:
  5918. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5919. type: integer
  5920. tradeprice:
  5921. description: 成交价格
  5922. type: number
  5923. tradetime:
  5924. description: 时间 | db:成交时间
  5925. type: string
  5926. tradetype:
  5927. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5928. type: integer
  5929. userid:
  5930. description: 所属机构 - 所属母账户的UserID
  5931. type: string
  5932. username:
  5933. description: 用户名称
  5934. type: string
  5935. type: object
  5936. models.Ermcp3ParamChangeApp:
  5937. properties:
  5938. aftervalue:
  5939. description: 变更后
  5940. type: number
  5941. applicationid:
  5942. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5943. type: string
  5944. applyid:
  5945. description: 申请人
  5946. type: string
  5947. applyname:
  5948. description: 申请人名称(代码)
  5949. type: string
  5950. applyremark:
  5951. description: 申请备注
  5952. type: string
  5953. applysrc:
  5954. description: 申请来源 - 1:管理端 2:终端
  5955. type: integer
  5956. applystatus:
  5957. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5958. type: integer
  5959. applytime:
  5960. description: 申请时间
  5961. type: string
  5962. areauserid:
  5963. description: 所属机构用户ID
  5964. type: integer
  5965. auditid:
  5966. description: 审核人
  5967. type: string
  5968. auditname:
  5969. description: 审核人名称(代码)
  5970. type: string
  5971. auditremark:
  5972. description: 审核备注
  5973. type: string
  5974. auditsrc:
  5975. description: 审核来源 - 1:管理端 2:终端
  5976. type: integer
  5977. audittime:
  5978. description: 审核时间
  5979. type: string
  5980. audittradedate:
  5981. description: 审核交易日(yyyyMMdd)
  5982. type: string
  5983. beforevalue:
  5984. description: 变更前
  5985. type: number
  5986. deliverygoodscode:
  5987. description: 品种代码
  5988. type: string
  5989. deliverygoodsid:
  5990. description: 品种id
  5991. type: integer
  5992. deliverygoodsname:
  5993. description: 品种名称
  5994. type: string
  5995. middlegoodscode:
  5996. description: 套保品种代码
  5997. type: string
  5998. middlegoodsid:
  5999. description: 套保品种ID [ParamChangeType = 2,3,4]
  6000. type: integer
  6001. middlegoodsname:
  6002. description: 套保品种名称
  6003. type: string
  6004. operatetype:
  6005. description: 操作类型 - 1:新增 2:修改
  6006. type: integer
  6007. paramchangetype:
  6008. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6009. type: integer
  6010. wrstandardcode:
  6011. description: 现货商品代码
  6012. type: string
  6013. wrstandardid:
  6014. description: 现货商品ID [ParamChangeType = 1,2,3]
  6015. type: integer
  6016. wrstandardname:
  6017. description: 现货商品名称
  6018. type: string
  6019. type: object
  6020. models.Ermcp3RootUserAccount:
  6021. properties:
  6022. accountname:
  6023. description: 账户名称(机构名称)
  6024. type: string
  6025. accountstatus:
  6026. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6027. type: integer
  6028. applysrc:
  6029. description: 申请来源 - 1:管理端 2:终端
  6030. type: integer
  6031. auditremark:
  6032. description: 审核备注
  6033. type: string
  6034. auditsrc:
  6035. description: 审核来源 - 1:管理端 2:终端
  6036. type: integer
  6037. audittime:
  6038. description: 审核时间
  6039. type: string
  6040. audituserid:
  6041. description: 审核人
  6042. type: integer
  6043. broker:
  6044. description: 所属经纪人ID
  6045. type: integer
  6046. canceltime:
  6047. description: 销户时间
  6048. type: string
  6049. canceluserid:
  6050. description: 销户人
  6051. type: integer
  6052. canrecommend:
  6053. description: 是否可推荐 - 0:不可 1;可
  6054. type: integer
  6055. createtime:
  6056. description: 创建时间
  6057. type: string
  6058. creatorid:
  6059. description: 创建人
  6060. type: integer
  6061. hasauth:
  6062. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6063. type: integer
  6064. isanonymous:
  6065. description: 是否匿名下单 - 0:否 1:是
  6066. type: integer
  6067. maxinvestornum:
  6068. description: 最大用户数(经纪会员下投资者个数)
  6069. type: integer
  6070. memberuserid:
  6071. description: 所属会员ID
  6072. type: integer
  6073. modifierid:
  6074. description: 修改人
  6075. type: integer
  6076. modifyremark:
  6077. description: 变更备注
  6078. type: string
  6079. modifystatus:
  6080. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6081. type: integer
  6082. modifytime:
  6083. description: 修改时间
  6084. type: string
  6085. parenttopuser:
  6086. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6087. type: string
  6088. parentuserid:
  6089. description: 所属机构ID
  6090. type: integer
  6091. reckonaccountid:
  6092. description: 默认结算资金账号ID(机构分润使用) 作废
  6093. type: integer
  6094. refercount:
  6095. description: 推荐总人数
  6096. type: integer
  6097. refereeuserid:
  6098. description: 推荐人ID
  6099. type: integer
  6100. refernum:
  6101. description: 推荐码
  6102. type: string
  6103. rootuserid:
  6104. description: 根用户ID
  6105. type: integer
  6106. subaccountlevel:
  6107. description: 子账户层数
  6108. type: integer
  6109. subarealevelpath:
  6110. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6111. type: string
  6112. userid:
  6113. description: 用户ID
  6114. type: integer
  6115. usertype:
  6116. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6117. type: integer
  6118. type: object
  6119. models.Ermcp3SCMiddleGoods:
  6120. properties:
  6121. contractno:
  6122. description: 合同编号
  6123. type: string
  6124. contracttype:
  6125. description: 合同类型 1:采购 -1:销售
  6126. type: integer
  6127. customername:
  6128. description: 对手手名称
  6129. type: string
  6130. customeruserid:
  6131. description: 对手id
  6132. type: integer
  6133. deliverygoodscode:
  6134. description: 现货品种代码
  6135. type: string
  6136. deliverygoodsid:
  6137. description: 现货品种ID
  6138. type: integer
  6139. deliverygoodsname:
  6140. description: 现货品种名称
  6141. type: string
  6142. enumdicname:
  6143. description: 现货单位名称
  6144. type: string
  6145. middlegoodsid:
  6146. description: 套保品种ID
  6147. type: integer
  6148. middlegoodspricedqty3:
  6149. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6150. type: number
  6151. needhedgeratio:
  6152. description: 套保比例
  6153. type: number
  6154. pricedqty:
  6155. description: 已定价量
  6156. type: number
  6157. relatedmiddlegoodsqty:
  6158. description: 已关联量(套保品种)(期货)
  6159. type: number
  6160. spotcontractid:
  6161. description: 合同编号
  6162. type: string
  6163. unitid:
  6164. description: 现货单位id
  6165. type: integer
  6166. userid:
  6167. description: 用户id
  6168. type: integer
  6169. vatrate:
  6170. description: 增值税率
  6171. type: number
  6172. wrstandardcode:
  6173. description: 现货商品代码
  6174. type: string
  6175. wrstandardid:
  6176. description: 现货商品id
  6177. type: integer
  6178. wrstandardname:
  6179. description: 现货商品名称
  6180. type: string
  6181. type: object
  6182. models.Ermcp3SCMiddleGoodsReport:
  6183. properties:
  6184. begindate:
  6185. description: 开始交易日
  6186. type: string
  6187. contractno:
  6188. description: 合同编号
  6189. type: string
  6190. contracttype:
  6191. description: 合同类型 1:采购 -1:销售
  6192. type: integer
  6193. convertratio:
  6194. description: 折算系数
  6195. type: number
  6196. cycletime:
  6197. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6198. type: string
  6199. cycletype:
  6200. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6201. type: integer
  6202. deliverygoodscode:
  6203. description: 品种代码
  6204. type: string
  6205. deliverygoodsid:
  6206. description: 现货品种ID
  6207. type: integer
  6208. deliverygoodsname:
  6209. description: 品种名称
  6210. type: string
  6211. diffprice:
  6212. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6213. type: number
  6214. diffqty:
  6215. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6216. type: number
  6217. enddate:
  6218. description: 结束交易日
  6219. type: string
  6220. hedgeplanqty:
  6221. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6222. type: number
  6223. matchname:
  6224. description: 交易对手方(个人:用户名称 企业:简称)
  6225. type: string
  6226. middlegoodscode:
  6227. description: 套保品种代码
  6228. type: string
  6229. middlegoodsid:
  6230. description: 套保品种ID
  6231. type: integer
  6232. middlegoodsname:
  6233. description: 套保品种名称
  6234. type: string
  6235. middlegoodspricedqty:
  6236. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6237. type: number
  6238. middlegoodspricedqty2:
  6239. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6240. type: number
  6241. middlegoodspricedqty3:
  6242. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6243. type: number
  6244. needhedgeratio:
  6245. description: 套保系数
  6246. type: number
  6247. pricedamount:
  6248. description: 已定价额(现货)
  6249. type: number
  6250. pricedamount2:
  6251. description: 已定价额(现货-基价额)
  6252. type: number
  6253. pricedqty:
  6254. description: 已定价量(现货)
  6255. type: number
  6256. reckondate:
  6257. description: 日照时期(yyyyMMdd)
  6258. type: string
  6259. relatedmiddlegoodsamount:
  6260. description: 已关联额(期货)
  6261. type: number
  6262. relatedmiddlegoodsqty:
  6263. description: 已关联量(套保品种)(期货)
  6264. type: number
  6265. spotcontractid:
  6266. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6267. type: string
  6268. todayavgfutuprice:
  6269. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty
  6270. type: number
  6271. todayavgprice:
  6272. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6273. type: number
  6274. todayavgprice2:
  6275. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6276. type: number
  6277. todaypricedamount:
  6278. description: 今日定价额(现货)
  6279. type: number
  6280. todaypricedamount2:
  6281. description: 今日定价额(现货-基价额)
  6282. type: number
  6283. todaypricedqty:
  6284. description: 今日定价量(现货)
  6285. type: number
  6286. todayrelatedmiddlegoodsamount:
  6287. description: 今日关联额(期货)
  6288. type: number
  6289. todayrelatedmiddlegoodsqty:
  6290. description: 今日关联量(期货)
  6291. type: number
  6292. updatetime:
  6293. description: 更新时间
  6294. type: string
  6295. userid:
  6296. description: 合同所属用户id
  6297. type: integer
  6298. vatrate:
  6299. description: 增值税率
  6300. type: number
  6301. wrstandardcode:
  6302. description: 商品(品类) 代码
  6303. type: string
  6304. wrstandardid:
  6305. description: 现货商品ID
  6306. type: integer
  6307. wrstandardname:
  6308. description: 商品(品类) 名称
  6309. type: string
  6310. type: object
  6311. models.Ermcp3SellBuyContract:
  6312. properties:
  6313. accountid:
  6314. description: 期货账户id
  6315. type: string
  6316. accountname:
  6317. description: 账户名称
  6318. type: string
  6319. attachment:
  6320. description: 附件
  6321. type: string
  6322. audittime:
  6323. description: 审核时间
  6324. type: string
  6325. biztype:
  6326. description: 业务类型 1-套保 2-套利
  6327. type: integer
  6328. brandname:
  6329. description: 品牌名称
  6330. type: string
  6331. contracctstatus:
  6332. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6333. type: integer
  6334. contractmargin:
  6335. description: 合同保证金
  6336. type: number
  6337. contractno:
  6338. description: 合同编号
  6339. type: string
  6340. contracttype:
  6341. description: 合同类型 1-采购, -1-销售
  6342. type: integer
  6343. convertfactor:
  6344. description: 标仓系数(品类)
  6345. type: number
  6346. createtime:
  6347. description: 创建时间
  6348. type: string
  6349. currencyid:
  6350. description: 币种id
  6351. type: integer
  6352. currencyname:
  6353. description: 币种名称
  6354. type: string
  6355. daikaiamount:
  6356. description: 应收(开)票额
  6357. type: number
  6358. deliveryenddate:
  6359. description: 交割结束日
  6360. type: string
  6361. deliverygoodscode:
  6362. description: 现货品种代码
  6363. type: string
  6364. deliverygoodsid:
  6365. description: 现货商品ID
  6366. type: integer
  6367. deliverygoodsname:
  6368. description: 现货品种名称
  6369. type: string
  6370. deliverystartdate:
  6371. description: 交割开始日
  6372. type: string
  6373. enddate:
  6374. description: 点价结束日
  6375. type: string
  6376. enumdicname:
  6377. description: 单位名称
  6378. type: string
  6379. goodscode:
  6380. description: 点价商品代码
  6381. type: string
  6382. goodsid:
  6383. description: 点价商品ID
  6384. type: integer
  6385. goodsname:
  6386. description: 点价商品名称
  6387. type: string
  6388. invoiceamount:
  6389. description: 已开票额
  6390. type: number
  6391. loanamount:
  6392. description: 贷款总额=已定价额+调整金额
  6393. type: number
  6394. margin:
  6395. description: 保证金
  6396. type: number
  6397. meruserid:
  6398. description: 跟单员id
  6399. type: integer
  6400. meruserlogincode:
  6401. description: 跟单员登录代码
  6402. type: string
  6403. merusername:
  6404. description: 跟单员名称
  6405. type: string
  6406. nickname:
  6407. description: 账户昵称
  6408. type: string
  6409. payamount:
  6410. description: 已收付额(收款或付款)
  6411. type: number
  6412. preinvoiceamount:
  6413. description: 预收(开)票额
  6414. type: number
  6415. prepayamount:
  6416. description: 预收付额
  6417. type: number
  6418. price:
  6419. description: 价格
  6420. type: number
  6421. pricedamount:
  6422. description: 已定价额
  6423. type: number
  6424. pricedavg:
  6425. description: 已点均价
  6426. type: number
  6427. pricedqty:
  6428. description: 已定价量
  6429. type: number
  6430. pricemove:
  6431. description: 升贴水
  6432. type: number
  6433. pricetype:
  6434. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6435. type: integer
  6436. producttype:
  6437. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6438. type: integer
  6439. qty:
  6440. description: 合同量
  6441. type: number
  6442. reckonadjustamount:
  6443. description: 调整金额
  6444. type: number
  6445. reckonedamount:
  6446. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6447. type: number
  6448. reckonotheramount:
  6449. description: 其它费用
  6450. type: number
  6451. reckonrealqty:
  6452. description: 已确定量
  6453. type: number
  6454. remark:
  6455. description: 备注
  6456. type: string
  6457. saleuserid:
  6458. description: 业务员id
  6459. type: integer
  6460. saleuserlogincode:
  6461. description: 业务员登录代码
  6462. type: string
  6463. saleusername:
  6464. description: 业务员名称
  6465. type: string
  6466. spotcontractid:
  6467. description: 合同ID
  6468. type: string
  6469. spotgoodsbrandid:
  6470. description: 现货品牌ID(DGFactoryItem表的ID)
  6471. type: integer
  6472. spotgoodsdesc:
  6473. description: 商品型号(商品规格)
  6474. type: string
  6475. startdate:
  6476. description: 点价开始日
  6477. type: string
  6478. subjectid:
  6479. description: 交易主体ID
  6480. type: string
  6481. subjectname:
  6482. description: 交易主体名称
  6483. type: string
  6484. totalamount:
  6485. description: 合计总额
  6486. type: number
  6487. tradeuserid:
  6488. description: 交易员id
  6489. type: integer
  6490. tradeuserlogincode:
  6491. description: 交易员登录代码
  6492. type: string
  6493. tradeusername:
  6494. description: 交易员名称
  6495. type: string
  6496. unpayamount:
  6497. description: 应收付款额(应支付或应收款)
  6498. type: number
  6499. unpricedqty:
  6500. description: 未定价量
  6501. type: number
  6502. unsureqty:
  6503. description: 未确定量
  6504. type: number
  6505. userid:
  6506. description: 机构ID
  6507. type: integer
  6508. vatrate:
  6509. description: 增值税率
  6510. type: number
  6511. wrstandardcode:
  6512. description: 品类代码
  6513. type: string
  6514. wrstandardid:
  6515. description: 品类ID
  6516. type: integer
  6517. wrstandardname:
  6518. description: 品类名称
  6519. type: string
  6520. type: object
  6521. models.Ermcp3SpotGoodsPrice:
  6522. properties:
  6523. areauserid:
  6524. description: 所属机构id
  6525. type: integer
  6526. brandname:
  6527. description: 品牌名称
  6528. type: string
  6529. currencyid:
  6530. description: 报价货币ID
  6531. type: integer
  6532. currencyname:
  6533. description: 币种名称
  6534. type: string
  6535. deliverygoodscode:
  6536. description: 现货商品代码
  6537. type: string
  6538. deliverygoodsid:
  6539. description: 现货商品id
  6540. type: integer
  6541. deliverygoodsname:
  6542. description: 现货商品名称
  6543. type: string
  6544. enumdicname:
  6545. description: 现货商品单位名称
  6546. type: string
  6547. gbenumdicname:
  6548. description: 品类单位名称
  6549. type: string
  6550. gmunitid:
  6551. description: 品类单位id
  6552. type: integer
  6553. isvalid:
  6554. description: 是否有效 - 0:无效 1:有效
  6555. type: integer
  6556. operateid:
  6557. description: 最后操作人
  6558. type: integer
  6559. operatesrc:
  6560. description: 最后操作来源 - 1:管理端 2:终端
  6561. type: integer
  6562. operatetime:
  6563. description: 最后操作时间
  6564. type: string
  6565. operatorname:
  6566. description: 操作人名称
  6567. type: string
  6568. spotgoodsbrandid:
  6569. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6570. type: integer
  6571. spotgoodsprice:
  6572. description: 现货价格
  6573. type: number
  6574. tradedate:
  6575. description: 交易日(yyyyMMdd)
  6576. type: string
  6577. unitid:
  6578. description: 现货商品单位id
  6579. type: integer
  6580. wrstandardcode:
  6581. description: 品类代码
  6582. type: string
  6583. wrstandardid:
  6584. description: 现货品类ID(通用则为0)
  6585. type: integer
  6586. wrstandardname:
  6587. description: 品类名称
  6588. type: string
  6589. type: object
  6590. models.Ermcp3SpotGoodsPriceLog:
  6591. properties:
  6592. areauserid:
  6593. description: 所属机构id
  6594. type: integer
  6595. brandname:
  6596. description: 品牌名称
  6597. type: string
  6598. currencyid:
  6599. description: 报价货币ID
  6600. type: integer
  6601. deliverygoodscode:
  6602. description: 现货商品代码
  6603. type: string
  6604. deliverygoodsid:
  6605. description: 现货商品id
  6606. type: integer
  6607. deliverygoodsname:
  6608. description: 现货商品名称
  6609. type: string
  6610. enumdicname:
  6611. description: 现货商品单位名称
  6612. type: string
  6613. gbenumdicname:
  6614. description: 品类单位名称
  6615. type: string
  6616. gmunitid:
  6617. description: 品类单位id
  6618. type: integer
  6619. logid:
  6620. description: 日志id
  6621. type: integer
  6622. operateid:
  6623. description: 最后操作人
  6624. type: integer
  6625. operatesrc:
  6626. description: 最后操作来源 - 1:管理端 2:终端
  6627. type: integer
  6628. operatetime:
  6629. description: 最后操作时间
  6630. type: string
  6631. operatorname:
  6632. description: 操作人名称
  6633. type: string
  6634. spotgoodsbrandid:
  6635. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6636. type: integer
  6637. spotgoodsprice:
  6638. description: 现货价格
  6639. type: number
  6640. tradedate:
  6641. description: 交易日(yyyyMMdd)
  6642. type: string
  6643. unitid:
  6644. description: 现货商品单位id
  6645. type: integer
  6646. wrstandardcode:
  6647. description: 品类代码
  6648. type: string
  6649. wrstandardid:
  6650. description: 现货品类ID(通用则为0)
  6651. type: integer
  6652. wrstandardname:
  6653. description: 品类名称
  6654. type: string
  6655. type: object
  6656. models.Ermcp3SubTaaccount:
  6657. properties:
  6658. accountid:
  6659. description: 资金账户ID
  6660. type: integer
  6661. parentaccountcode:
  6662. description: 所属根账号代码(母账号代码)
  6663. type: string
  6664. parentaccountid:
  6665. description: 所属根账号(母账号)
  6666. type: integer
  6667. taname:
  6668. description: 资金账号名称
  6669. type: string
  6670. tradestatus:
  6671. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6672. type: integer
  6673. username:
  6674. description: 交易用户
  6675. type: string
  6676. type: object
  6677. models.Ermcp3TaFutuReDataReport:
  6678. properties:
  6679. accountid:
  6680. description: 交易账户
  6681. type: integer
  6682. accountname:
  6683. description: 交易账号名称
  6684. type: string
  6685. agreeunit:
  6686. description: 商品合约单位
  6687. type: number
  6688. begindate:
  6689. description: 开始交易日
  6690. type: string
  6691. buyorsell:
  6692. description: 持仓方向
  6693. type: integer
  6694. charge:
  6695. description: 手续费
  6696. type: number
  6697. closeavgprice:
  6698. description: 平仓均价
  6699. type: number
  6700. closepl:
  6701. description: 平仓损益
  6702. type: number
  6703. currencyid:
  6704. description: 结算币种ID
  6705. type: integer
  6706. currencyname:
  6707. description: 币种名称
  6708. type: string
  6709. cycletime:
  6710. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6711. type: string
  6712. cycletype:
  6713. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6714. type: integer
  6715. enddate:
  6716. description: 结束交易日
  6717. type: string
  6718. enumdicname:
  6719. description: 单位名称
  6720. type: string
  6721. floatpl:
  6722. description: 浮动损益
  6723. type: number
  6724. goodscode:
  6725. description: 交易合约代码
  6726. type: string
  6727. goodsgroupid:
  6728. description: 交易品种
  6729. type: integer
  6730. goodsgroupname:
  6731. description: 交易品种名称
  6732. type: string
  6733. goodsgroupspotqty:
  6734. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6735. type: number
  6736. goodsid:
  6737. description: 交易合约
  6738. type: integer
  6739. goodsname:
  6740. description: 交易合约名称
  6741. type: string
  6742. goodunitid:
  6743. description: 交易合约单位id
  6744. type: integer
  6745. holdamount:
  6746. description: 期末持仓额
  6747. type: number
  6748. holdqty:
  6749. description: 期末持仓量
  6750. type: number
  6751. lastholdamount:
  6752. description: 当前持仓额
  6753. type: number
  6754. lastprice:
  6755. description: 最新价
  6756. type: number
  6757. middlegoodsid:
  6758. description: 套保品种id
  6759. type: integer
  6760. middlegoodsname:
  6761. description: 套保商品名称
  6762. type: string
  6763. middlegoodsqty:
  6764. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6765. type: number
  6766. middlgoodscode:
  6767. description: 套保商品代码
  6768. type: string
  6769. openamount:
  6770. description: 期末开仓额
  6771. type: number
  6772. openavgprice:
  6773. description: 开仓均价
  6774. type: number
  6775. oriholdamount:
  6776. description: 期初持仓额
  6777. type: number
  6778. oriholdqty:
  6779. description: 期初持仓量
  6780. type: number
  6781. oriopenamount:
  6782. description: 期初开仓额
  6783. type: number
  6784. outergroupcode:
  6785. description: 交易品种代码
  6786. type: string
  6787. qtydecimalplace:
  6788. description: 成交量小数位
  6789. type: integer
  6790. reckondate:
  6791. description: 日照时期(yyyyMMdd)
  6792. type: string
  6793. reckonholdamount:
  6794. description: 结算持仓额
  6795. type: number
  6796. reckonpl:
  6797. description: 结算损益
  6798. type: number
  6799. reckonpl2:
  6800. description: 结算逐笔盈亏
  6801. type: number
  6802. reckonprice:
  6803. description: 结算价
  6804. type: number
  6805. relateduserid:
  6806. description: 账户关联用户ID
  6807. type: integer
  6808. todaycloseamount:
  6809. description: 今平仓额
  6810. type: number
  6811. todaycloseqty:
  6812. description: 今平仓量
  6813. type: number
  6814. todaygoodsgroupspotqty:
  6815. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6816. type: number
  6817. todaymiddlegoodsqty:
  6818. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6819. type: number
  6820. todayopenamount:
  6821. description: 今开仓额
  6822. type: number
  6823. todayopenqty:
  6824. description: 今开仓量
  6825. type: number
  6826. userid:
  6827. description: 账户所属用户ID
  6828. type: integer
  6829. type: object
  6830. models.Ermcp3TradeLinkDetail:
  6831. properties:
  6832. accountid:
  6833. description: 资金账号
  6834. type: integer
  6835. agreeunit:
  6836. description: 合约乘数
  6837. type: number
  6838. areauserid:
  6839. description: 所属机构
  6840. type: string
  6841. bizsubjectid:
  6842. description: 归属业务部门ID - SubjectID
  6843. type: string
  6844. buyorsell:
  6845. description: 方向 - 0:买 1:卖
  6846. type: integer
  6847. channelbuildtype:
  6848. description: 委托单据类型 0:无 1:建仓 2:平仓
  6849. type: integer
  6850. contractno:
  6851. description: 现货编号 (合同编号)
  6852. type: string
  6853. convertratio:
  6854. description: 折算系数
  6855. type: number
  6856. createtime:
  6857. description: 关联时间 | 创建时间
  6858. type: string
  6859. creatorid:
  6860. description: 创建人ID
  6861. type: string
  6862. creatorsrc:
  6863. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6864. type: integer
  6865. enumdicname:
  6866. description: 单位名称
  6867. type: string
  6868. goodscode:
  6869. description: 合约代码
  6870. type: string
  6871. goodsgroupid:
  6872. description: 对冲品种ID[期货合约商品组ID]
  6873. type: integer
  6874. goodsid:
  6875. description: 商品ID
  6876. type: integer
  6877. goodsname:
  6878. description: 合约名称
  6879. type: string
  6880. hedgeflag:
  6881. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  6882. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6883. type: integer
  6884. linkdetailid:
  6885. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6886. type: string
  6887. linkstatus:
  6888. description: 关联状态 - 1:成功 2:失败
  6889. type: integer
  6890. middlegoodsid:
  6891. description: 套保品种ID
  6892. type: integer
  6893. relatedlot:
  6894. description: 关联手数
  6895. type: number
  6896. relatedmode:
  6897. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6898. type: integer
  6899. relatedqty:
  6900. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6901. type: number
  6902. retcode:
  6903. description: 返回码
  6904. type: integer
  6905. saleuserid:
  6906. description: 业务员ID
  6907. type: string
  6908. spotcontractid:
  6909. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6910. type: string
  6911. taname:
  6912. description: 期货账户
  6913. type: string
  6914. tradedate:
  6915. description: 关联交易日(yyyyMMdd)
  6916. type: string
  6917. tradeid:
  6918. description: 期货订单号 | 内部成交单ID
  6919. type: string
  6920. tradelot:
  6921. description: 成交数量 | 成交手数
  6922. type: integer
  6923. tradeprice:
  6924. description: 成交价格
  6925. type: number
  6926. tradetime:
  6927. description: 期货成交时间
  6928. type: string
  6929. tradetradedate:
  6930. description: 成交交易日(yyyyMMdd)
  6931. type: string
  6932. username:
  6933. description: 用户名称
  6934. type: string
  6935. type: object
  6936. models.Ermcp3Wrstandard:
  6937. properties:
  6938. areauserid:
  6939. description: 所属机构
  6940. type: integer
  6941. cantrade:
  6942. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6943. type: integer
  6944. convertfactor:
  6945. description: 标仓系数
  6946. type: number
  6947. createtime:
  6948. description: 创建时间
  6949. type: string
  6950. creatorid:
  6951. description: 创建人
  6952. type: integer
  6953. deliverygoodsid:
  6954. description: 现货品种ID
  6955. type: integer
  6956. enumdicname:
  6957. description: 品类单位名称
  6958. type: string
  6959. isvalid:
  6960. description: 是否有效 0-无效(停用) 1-有效(正常)
  6961. type: integer
  6962. minivalue:
  6963. description: 最小变动值
  6964. type: integer
  6965. minivaluedp:
  6966. description: 最小变动值小数位
  6967. type: integer
  6968. realminivalue:
  6969. description: 实际最小变动值
  6970. type: integer
  6971. realminivaluedp:
  6972. description: 实际最小变动值小数位
  6973. type: integer
  6974. remark:
  6975. description: 备注
  6976. type: string
  6977. unitid:
  6978. description: 品类单位ID
  6979. type: integer
  6980. updatetime:
  6981. description: 更新时间
  6982. type: string
  6983. wrstandardcode:
  6984. description: 品类代码
  6985. type: string
  6986. wrstandardid:
  6987. description: 品类ID(SEQ_WRSTANDARD)
  6988. type: integer
  6989. wrstandardname:
  6990. description: 品类名称
  6991. type: string
  6992. type: object
  6993. models.ErmcpBizGroupEx:
  6994. properties:
  6995. acclist:
  6996. description: 账号列表
  6997. items:
  6998. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6999. type: array
  7000. bizgroupid:
  7001. description: 业务分组id
  7002. type: integer
  7003. biztype:
  7004. description: 业务类型 1-套保 2-套利
  7005. type: integer
  7006. wrlist:
  7007. description: 现货商品表
  7008. items:
  7009. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7010. type: array
  7011. type: object
  7012. models.ErmcpBizGroupSpotGoods:
  7013. properties:
  7014. areauserid:
  7015. description: 所属机构id
  7016. type: integer
  7017. bizgroupid:
  7018. description: 分组id
  7019. type: integer
  7020. biztype:
  7021. description: 业务类型 1-套保 2-套利
  7022. type: integer
  7023. deliverygoodscode:
  7024. description: 现货商品代码
  7025. type: string
  7026. deliverygoodsid:
  7027. description: 现货商品id
  7028. type: integer
  7029. deliverygoodsname:
  7030. description: 现货商品名称
  7031. type: string
  7032. unitid:
  7033. description: 现货商品单位id
  7034. type: integer
  7035. type: object
  7036. models.ErmcpBizGroupTaAccount:
  7037. properties:
  7038. accountid:
  7039. description: 账号id
  7040. type: integer
  7041. accountname:
  7042. description: 账号名称
  7043. type: string
  7044. areauserid:
  7045. description: 所属机构id
  7046. type: integer
  7047. bizgroupid:
  7048. description: 业务分组id
  7049. type: integer
  7050. ismain:
  7051. description: 是否主账号 1-是 0-否
  7052. type: integer
  7053. type: object
  7054. models.ErmcpDGFactoryItem:
  7055. properties:
  7056. areauserid:
  7057. description: 用户id
  7058. type: integer
  7059. deliverygoodsid:
  7060. description: 现货品种ID
  7061. type: integer
  7062. dgfactoryitemid:
  7063. description: 选择项ID(SEQ_DGFACTORYITEM)
  7064. type: integer
  7065. dgfactoryitemtypeid:
  7066. description: 要素项类型
  7067. type: integer
  7068. dgfactoryitemvalue:
  7069. description: 要素项值(类型为仓库时填写仓库名称)
  7070. type: string
  7071. isvalid:
  7072. description: 是否有效 - 0:无效 1:有效
  7073. type: integer
  7074. orderindex:
  7075. description: 顺序
  7076. type: integer
  7077. warehouseid:
  7078. description: 仓库ID(类型为仓库时填写)
  7079. type: integer
  7080. type: object
  7081. models.ErmcpDeliveryGoods:
  7082. properties:
  7083. agreeunit:
  7084. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7085. type: integer
  7086. areauserid:
  7087. description: 所属机构
  7088. type: integer
  7089. auditflag:
  7090. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7091. type: integer
  7092. categoryid:
  7093. description: 类别ID(SEQ_WRCATEGORY)
  7094. type: integer
  7095. deliverygoodscode:
  7096. description: 现货品种代码
  7097. type: string
  7098. deliverygoodsid:
  7099. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7100. type: integer
  7101. deliverygoodsname:
  7102. description: 现货品种名称
  7103. type: string
  7104. deliverygoodstype:
  7105. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7106. type: integer
  7107. dgstatus:
  7108. description: 品种状态 - 作废 - 0:未激活 1:正常
  7109. type: integer
  7110. enumdicname:
  7111. description: 现货品种单位名称
  7112. type: string
  7113. goodsunitid:
  7114. description: 现货品种单位ID
  7115. type: integer
  7116. isvalid:
  7117. description: 是否有效 - 0:无效 1:有效
  7118. type: integer
  7119. qtydecimalplace:
  7120. description: 成交量小数位
  7121. type: integer
  7122. remark:
  7123. description: 备注
  7124. type: string
  7125. standardqty:
  7126. description: 标准数量(库位数量) [标准品特有]
  7127. type: integer
  7128. standardqtyrange:
  7129. description: 标准数量偏差范围 [标准品特有]
  7130. type: integer
  7131. type: object
  7132. models.ErmcpFuturesCompany:
  7133. properties:
  7134. brokerid:
  7135. description: 经纪公司代码
  7136. type: string
  7137. channeladdress:
  7138. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7139. type: string
  7140. channelid:
  7141. description: 对冲渠道ID
  7142. type: string
  7143. createtime:
  7144. description: 创建时间
  7145. type: string
  7146. creatorid:
  7147. description: 创建人
  7148. type: string
  7149. fcid:
  7150. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7151. type: integer
  7152. fcname:
  7153. description: 期货公司名称
  7154. type: string
  7155. isvalid:
  7156. description: 是否有效 - 0:无效 1:有效
  7157. type: integer
  7158. mhpaddress:
  7159. description: MHP服务地址(IP:Port)
  7160. type: string
  7161. riskrulegroupid:
  7162. description: 风控规则组ID
  7163. type: string
  7164. tradefeetmpid:
  7165. description: 手续费模板ID[TradeConfigTmpType为2]
  7166. type: string
  7167. trademargintmpid:
  7168. description: 保证金模板ID [TradeConfigTmpType为1]
  7169. type: string
  7170. traderatetmpid:
  7171. description: 汇率模板ID[TradeConfigTmpType为3]
  7172. type: string
  7173. updatetime:
  7174. description: 更新时间
  7175. type: string
  7176. updatorid:
  7177. description: 更新人
  7178. type: string
  7179. type: object
  7180. models.ErmcpGGConvertCfg:
  7181. properties:
  7182. convertratio:
  7183. description: 折算系数
  7184. type: number
  7185. destgoodsgroupid:
  7186. description: 目标品种ID
  7187. type: integer
  7188. dstcode:
  7189. description: 目录品种代码
  7190. type: string
  7191. dstexchangecode:
  7192. description: 目标期货交易所
  7193. type: string
  7194. dstname:
  7195. description: 目标品种名称
  7196. type: string
  7197. dstunitid:
  7198. description: 目标品种单位ID
  7199. type: integer
  7200. dstunitidname:
  7201. description: 目标品种单位名称
  7202. type: string
  7203. modifytime:
  7204. description: 修改时间
  7205. type: string
  7206. srccode:
  7207. description: 源品种代码
  7208. type: string
  7209. srcexchangecode:
  7210. description: 源期货交易所
  7211. type: string
  7212. srcgoodsgroupid:
  7213. description: 源品种ID
  7214. type: integer
  7215. srcname:
  7216. description: 源品种名称
  7217. type: string
  7218. srcunitid:
  7219. description: 源品种单位ID
  7220. type: integer
  7221. srcunitidname:
  7222. description: 源品种单位名称
  7223. type: string
  7224. type: object
  7225. models.ErmcpGoods:
  7226. properties:
  7227. agreeunit:
  7228. description: 合约单位
  7229. type: number
  7230. areauserid:
  7231. description: 所属机构
  7232. type: integer
  7233. auditaccountid:
  7234. description: 审核操作员账号
  7235. type: integer
  7236. audittime:
  7237. description: 审核时间
  7238. type: string
  7239. cancelaccountid:
  7240. description: 注销操作员账号
  7241. type: integer
  7242. canceltime:
  7243. description: 注销时间
  7244. type: string
  7245. closepricemode:
  7246. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7247. type: integer
  7248. closepriceparam:
  7249. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7250. type: number
  7251. createtime:
  7252. description: 创建时间
  7253. type: string
  7254. creatorid:
  7255. description: 创建人
  7256. type: integer
  7257. currencyid:
  7258. description: 报价货币ID
  7259. type: integer
  7260. cutmode:
  7261. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7262. type: integer
  7263. decimalplace:
  7264. description: 报价小数位
  7265. type: integer
  7266. delistingdate:
  7267. description: 商品退市时间(状态:退市) -- 已作废
  7268. type: string
  7269. delistingmode:
  7270. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7271. type: integer
  7272. deliveryflag:
  7273. description: 交割标志 - 0:不可交割 1:可交割
  7274. type: integer
  7275. enumdicname:
  7276. description: 单位名称
  7277. type: string
  7278. forceclosemode:
  7279. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7280. type: integer
  7281. forceclosevalue:
  7282. description: 定期强平参数 [收益权]
  7283. type: integer
  7284. goodscode:
  7285. description: 商品代码(内部)
  7286. type: string
  7287. goodscurrencyid:
  7288. description: 合约货币ID
  7289. type: integer
  7290. goodsgroupid:
  7291. description: 所属商品组ID
  7292. type: integer
  7293. goodsid:
  7294. description: 商品ID(自增ID SEQ_GOODS)
  7295. type: integer
  7296. goodsname:
  7297. description: 商品名称
  7298. type: string
  7299. goodsquotetype:
  7300. description: '合约报价类型: 1-直接报价 2-间接报价'
  7301. type: integer
  7302. goodsstatus:
  7303. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7304. type: integer
  7305. goodstradetype:
  7306. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7307. type: integer
  7308. goodunitid:
  7309. description: 报价单位ID
  7310. type: integer
  7311. hasquoter:
  7312. description: 是否有报价商 - 0:无报价商 1:有报价商
  7313. type: integer
  7314. hqprotecttime:
  7315. description: 行情保护时间(秒)
  7316. type: integer
  7317. innerdealmode:
  7318. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7319. type: integer
  7320. isbuylimited:
  7321. description: 是否限制建仓量 - 0:不限制 1:限制
  7322. type: integer
  7323. isvisible:
  7324. description: 游客是否可见 - 0:不可见 1:可见
  7325. type: integer
  7326. lasttradedate:
  7327. description: 最后交易日期(状态:待退市)
  7328. type: string
  7329. listingdate:
  7330. description: 交易开始日期
  7331. type: string
  7332. marketid:
  7333. description: 所属市场ID
  7334. type: integer
  7335. modifierid:
  7336. description: 修改人
  7337. type: integer
  7338. modifystatus:
  7339. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7340. type: integer
  7341. modifytime:
  7342. description: 修改时间
  7343. type: string
  7344. outerdealmode:
  7345. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7346. type: integer
  7347. outgoodscode:
  7348. description: 商品代码(外部)
  7349. type: string
  7350. pictureurl:
  7351. description: 商品图片
  7352. type: string
  7353. qtydecimalplace:
  7354. description: 成交量小数位
  7355. type: integer
  7356. quotegear:
  7357. description: 行情档位(1-10)
  7358. type: integer
  7359. quoteminunit:
  7360. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7361. type: integer
  7362. quoteshowtype:
  7363. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7364. type: integer
  7365. quoteshowtypeinterval:
  7366. description: 行情报价间隔时间(秒)(成交价时为0)
  7367. type: integer
  7368. relatedgoodsid:
  7369. description: 关联参考商品ID
  7370. type: integer
  7371. remark:
  7372. description: 备注
  7373. type: string
  7374. trademode:
  7375. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7376. 21:竞拍-大宗式 22:受托竞价
  7377. type: integer
  7378. required:
  7379. - goodscode
  7380. - goodsid
  7381. - goodsname
  7382. - marketid
  7383. type: object
  7384. models.ErmcpGoodsBrand:
  7385. properties:
  7386. areauserid:
  7387. description: 所属机构
  7388. type: integer
  7389. brandid:
  7390. description: BrandID(SEQ_SPOTGOODSBRAND)
  7391. type: integer
  7392. brandname:
  7393. description: 品牌名称
  7394. type: string
  7395. createtime:
  7396. description: 创建时间
  7397. type: string
  7398. creatorid:
  7399. description: 创建人
  7400. type: integer
  7401. creatorsrc:
  7402. description: 创建人来源 - 1:管理端 2:终端
  7403. type: integer
  7404. deliverygoodsid:
  7405. description: 现货品种ID
  7406. type: integer
  7407. isvalid:
  7408. description: 是否有效 - 0:无效 1:有效
  7409. type: integer
  7410. updatetime:
  7411. description: 更新时间
  7412. type: string
  7413. updatorid:
  7414. description: 更新人
  7415. type: integer
  7416. updatorsrc:
  7417. description: 更新人来源 - 1:管理端 2:终端
  7418. type: integer
  7419. wrstandardid:
  7420. description: 现货商品ID
  7421. type: integer
  7422. type: object
  7423. models.ErmcpGoodsModel:
  7424. properties:
  7425. areauserid:
  7426. description: 所属机构
  7427. type: integer
  7428. convertfactor:
  7429. description: 标仓系数
  7430. type: number
  7431. createtime:
  7432. description: 创建时间
  7433. type: string
  7434. creatorid:
  7435. description: 创建人
  7436. type: integer
  7437. creatorsrc:
  7438. description: 创建人来源 - 1:管理端 2:终端
  7439. type: integer
  7440. deliverygoodsid:
  7441. description: 现货品种ID
  7442. type: integer
  7443. isvalid:
  7444. description: 是否有效 - 0:无效 1:有效
  7445. type: integer
  7446. modelid:
  7447. description: ModelID(SEQ_SPOTGOODSMODEL)
  7448. type: integer
  7449. modelname:
  7450. description: 型号名称
  7451. type: string
  7452. updatetime:
  7453. description: 更新时间
  7454. type: string
  7455. updatorid:
  7456. description: 更新人
  7457. type: integer
  7458. updatorsrc:
  7459. description: 更新人来源 - 1:管理端 2:终端
  7460. type: integer
  7461. wrstandardid:
  7462. description: 现货商品ID
  7463. type: integer
  7464. type: object
  7465. models.ErmcpHisExposure:
  7466. properties:
  7467. needhedgeexposoure:
  7468. description: 应套保敞口
  7469. type: number
  7470. reckondate:
  7471. description: 日照时期(yyyyMMdd)
  7472. type: string
  7473. totalexposure:
  7474. description: 总敞口
  7475. type: number
  7476. type: object
  7477. models.ErmcpLoginTaAccount:
  7478. properties:
  7479. accountid:
  7480. description: 账号id
  7481. type: integer
  7482. accountname:
  7483. description: 账号名称
  7484. type: string
  7485. type: object
  7486. models.ErmcpLoginUser:
  7487. properties:
  7488. acclist:
  7489. description: 关联资金账号
  7490. items:
  7491. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7492. type: array
  7493. accountname:
  7494. description: 用户名称
  7495. type: string
  7496. clientroleid:
  7497. description: 角色id(usertype=2)
  7498. type: integer
  7499. createtime:
  7500. description: 创建时间
  7501. type: string
  7502. logincode:
  7503. description: 登录代码
  7504. type: string
  7505. loginid:
  7506. description: 登录id(LOGINID)
  7507. type: integer
  7508. loginname:
  7509. description: 登录名称(loginaccount表中的accountname字段)
  7510. type: string
  7511. loginstatus:
  7512. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7513. type: integer
  7514. memberuserid:
  7515. description: 所属会员id
  7516. type: integer
  7517. mobile:
  7518. description: 手机号
  7519. type: string
  7520. modifytime:
  7521. description: 修改时间
  7522. type: string
  7523. password:
  7524. description: 密码(不可解密)
  7525. type: string
  7526. rolename:
  7527. description: 角色名称
  7528. type: string
  7529. rolestatus:
  7530. description: 角色状态 1-启用 2-停用
  7531. type: integer
  7532. roletype:
  7533. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7534. type: string
  7535. userid:
  7536. description: 用户id
  7537. type: integer
  7538. usertype:
  7539. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7540. type: integer
  7541. type: object
  7542. models.ErmcpLoginUserEx:
  7543. properties:
  7544. accountstatus:
  7545. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7546. type: integer
  7547. mobile:
  7548. description: 手机号
  7549. type: string
  7550. querytype:
  7551. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7552. type: integer
  7553. roleid:
  7554. description: 角色id(交易账户->用户id)
  7555. type: integer
  7556. rolename:
  7557. description: 角色名称(交易账户->用户名称)
  7558. type: string
  7559. userlist:
  7560. description: 用户列表
  7561. items:
  7562. $ref: '#/definitions/models.ErmcpLoginUser'
  7563. type: array
  7564. usertype:
  7565. description: 用户类型 2-机构 7-企业成员(云平台)
  7566. type: integer
  7567. type: object
  7568. models.ErmcpMiddleGoodsModel:
  7569. properties:
  7570. areauserid:
  7571. description: 机构用户ID
  7572. type: integer
  7573. createtime:
  7574. description: 修改时间
  7575. type: string
  7576. enumdicname:
  7577. description: 单位名称
  7578. type: string
  7579. evaluateratio:
  7580. description: 估价系数
  7581. type: number
  7582. goodsgroupid:
  7583. description: 关联期货品种ID
  7584. type: integer
  7585. goodsunitid:
  7586. description: 单位ID
  7587. type: integer
  7588. isvalid:
  7589. description: 状态 0-无效(停用) 1-有效(正常)
  7590. type: integer
  7591. middlegoodscode:
  7592. description: 套保品种代码
  7593. type: string
  7594. middlegoodsid:
  7595. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7596. type: integer
  7597. middlegoodsname:
  7598. description: 套保品种名称
  7599. type: string
  7600. modifytime:
  7601. description: 修改时间
  7602. type: string
  7603. needarbitrageratio:
  7604. description: 套利比例
  7605. type: number
  7606. needhedgeratio:
  7607. description: 套保比率
  7608. type: number
  7609. qtydecimalplace:
  7610. description: 数量小数位
  7611. type: integer
  7612. relatedgoodsid:
  7613. description: 关联交易商品ID
  7614. type: integer
  7615. relatedgoodstype:
  7616. description: 关联商品类型 - 1:期货合约 2:现货品种
  7617. type: integer
  7618. remark:
  7619. description: 备注
  7620. type: string
  7621. type: object
  7622. models.ErmcpMiddlegoodsRelateGoods:
  7623. properties:
  7624. agreeunit:
  7625. description: 合约乘数
  7626. type: number
  7627. convertratio:
  7628. description: 折算系数
  7629. type: number
  7630. enumdicname:
  7631. description: 单位名称(交易商品)
  7632. type: string
  7633. goodscode:
  7634. description: 交易商品代码
  7635. type: string
  7636. goodsgroupid:
  7637. description: 交易品种id
  7638. type: integer
  7639. goodsid:
  7640. description: 商品Id
  7641. type: integer
  7642. goodsname:
  7643. description: 交易商品名称
  7644. type: string
  7645. goodunitid:
  7646. description: 交易商品单位id
  7647. type: integer
  7648. middlegoodsid:
  7649. description: 套保商品id
  7650. type: integer
  7651. middlegoodsname:
  7652. description: 套保商品名称
  7653. type: string
  7654. middlegoodsswcode:
  7655. description: 套保商品代码
  7656. type: string
  7657. needarbitrageratio:
  7658. description: 应套利比例
  7659. type: number
  7660. needhedgeratio:
  7661. description: 应套保比例
  7662. type: number
  7663. type: object
  7664. models.ErmcpRole:
  7665. properties:
  7666. areauserid:
  7667. description: 所属机构
  7668. type: integer
  7669. autoid:
  7670. description: 角色ID(自增ID)
  7671. type: integer
  7672. modifierid:
  7673. description: 修改人(创建人)
  7674. type: integer
  7675. modifiername:
  7676. description: 修改人名称
  7677. type: string
  7678. modifytime:
  7679. description: 修改时间(创建时间)
  7680. type: string
  7681. rolename:
  7682. description: 角色名称
  7683. type: string
  7684. rolestatus:
  7685. description: 角色状态 - 1:启用 2:停用
  7686. type: integer
  7687. roletype:
  7688. description: 角色类型 - 1- 管理端 2- 交易端
  7689. type: integer
  7690. type: object
  7691. models.ErmcpRoleMenu:
  7692. properties:
  7693. iconame:
  7694. description: 菜单图标
  7695. type: string
  7696. ishadrole:
  7697. description: 是否有权限
  7698. type: boolean
  7699. menutype:
  7700. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7701. type: integer
  7702. parentcode:
  7703. description: 上级资源代码
  7704. type: string
  7705. remark:
  7706. description: 菜单备注
  7707. type: string
  7708. resourcecode:
  7709. description: 菜单代码
  7710. type: string
  7711. resourcelevel:
  7712. description: 级别
  7713. type: integer
  7714. resourcename:
  7715. description: 菜单名称
  7716. type: string
  7717. roleid:
  7718. description: 角色id
  7719. type: integer
  7720. sort:
  7721. description: 排序
  7722. type: integer
  7723. url:
  7724. description: URL
  7725. type: string
  7726. userid:
  7727. description: 用户id
  7728. type: integer
  7729. type: object
  7730. models.ErmcpRoleMenuEx:
  7731. properties:
  7732. menu:
  7733. $ref: '#/definitions/models.ErmcpRoleMenu'
  7734. description: 父级菜单
  7735. subMenu:
  7736. description: 子级菜单
  7737. items:
  7738. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7739. type: array
  7740. type: object
  7741. models.ErmcpTaAccount:
  7742. properties:
  7743. accountid:
  7744. description: 账户id
  7745. type: integer
  7746. accountname:
  7747. description: 账户名称
  7748. type: string
  7749. currencyid:
  7750. description: 币种id
  7751. type: integer
  7752. hedgeaccountcode:
  7753. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7754. type: string
  7755. ismain:
  7756. description: 是否主账户 0-否 1-是
  7757. type: integer
  7758. parentaccountid:
  7759. description: 父账户id
  7760. type: integer
  7761. relateduserid:
  7762. description: 关联userid
  7763. type: integer
  7764. tradefeetmpid:
  7765. description: 手续费模板id
  7766. type: integer
  7767. tradefeetmpname:
  7768. description: 手续费模板名称
  7769. type: string
  7770. trademargintmpid:
  7771. description: 保证金模板id
  7772. type: integer
  7773. trademargintmpname:
  7774. description: 保证金模板名称
  7775. type: string
  7776. traderatetmpid:
  7777. description: 汇率模板id
  7778. type: integer
  7779. traderatetmpname:
  7780. description: 汇率模板名称
  7781. type: string
  7782. tradestatus:
  7783. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7784. type: integer
  7785. userid:
  7786. description: 用户id
  7787. type: integer
  7788. type: object
  7789. models.ErmcpTaAccountEx:
  7790. properties:
  7791. mainAcc:
  7792. $ref: '#/definitions/models.ErmcpTaAccountM'
  7793. description: 主账号
  7794. subacclist:
  7795. description: 子账号列表
  7796. items:
  7797. $ref: '#/definitions/models.ErmcpTaAccount'
  7798. type: array
  7799. type: object
  7800. models.ErmcpTaAccountInfo:
  7801. properties:
  7802. accountid:
  7803. description: 资金账户ID
  7804. type: integer
  7805. accountname:
  7806. description: 账户名称
  7807. type: string
  7808. balance:
  7809. description: 期初余额
  7810. type: number
  7811. capitalbalance:
  7812. description: 本金余额[外部子账户实际出入金余额]
  7813. type: number
  7814. closepl:
  7815. description: 今日平仓盈亏
  7816. type: number
  7817. creditdecrease:
  7818. description: 今日授信减少
  7819. type: number
  7820. creditincrease:
  7821. description: 今日授信增加
  7822. type: number
  7823. curdebt:
  7824. description: 期末欠款
  7825. type: number
  7826. currencyid:
  7827. description: 货币ID
  7828. type: integer
  7829. currentbalance:
  7830. description: 期末余额
  7831. type: number
  7832. freezecharge:
  7833. description: 手续费冻结
  7834. type: number
  7835. freezemargin:
  7836. description: 冻结保证金
  7837. type: number
  7838. fromaccountid:
  7839. description: 所属上级账户
  7840. type: integer
  7841. inamount:
  7842. description: 今日入金金额(包括三方入金)
  7843. type: number
  7844. ismain:
  7845. description: 是否母账号 0:不是母账户 1:是母账户
  7846. type: integer
  7847. mortgagecredit:
  7848. description: 授信金额
  7849. type: number
  7850. oridebt:
  7851. description: 期初欠款
  7852. type: number
  7853. orifreezecharge:
  7854. description: 期初手续费冻结
  7855. type: number
  7856. orifreezemargin:
  7857. description: 期初冻结保证金
  7858. type: number
  7859. orimortgagecredit:
  7860. description: 期初授信金额
  7861. type: number
  7862. oriothercredit:
  7863. description: 期初其它授信金额
  7864. type: number
  7865. oriotherfreezemargin:
  7866. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7867. type: number
  7868. orioutamountfreeze:
  7869. description: 期初出金冻结
  7870. type: number
  7871. oriusedmargin:
  7872. description: 期初占用保证金
  7873. type: number
  7874. othercredit:
  7875. description: 其它授信金额
  7876. type: number
  7877. othercreditdecrease:
  7878. description: 今日其它授信减少
  7879. type: number
  7880. othercreditincrease:
  7881. description: 今日其它授信增加
  7882. type: number
  7883. otherfreezemargin:
  7884. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7885. type: number
  7886. outamount:
  7887. description: 今日出金金额(包括三方出金)
  7888. type: number
  7889. outamountfreeze:
  7890. description: 出金冻结
  7891. type: number
  7892. outthreshold:
  7893. description: 出金阈值
  7894. type: number
  7895. parentaccountid:
  7896. description: 所属根账号
  7897. type: integer
  7898. paycharge:
  7899. description: 今日手续费支出
  7900. type: number
  7901. relateduserid:
  7902. description: 关联用户
  7903. type: integer
  7904. signstatus:
  7905. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7906. type: integer
  7907. sublevelpath:
  7908. description: 账号层级路径(逗号分隔,首尾加逗号)
  7909. type: string
  7910. taaccounttype:
  7911. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7912. type: integer
  7913. thirdinamount:
  7914. description: 今日三方入金
  7915. type: number
  7916. thirdoutamount:
  7917. description: 今日三方出金
  7918. type: number
  7919. tradestatus:
  7920. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7921. type: integer
  7922. transferamount:
  7923. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7924. type: number
  7925. usedmargin:
  7926. description: 占用保证金
  7927. type: number
  7928. userid:
  7929. description: 用户ID
  7930. type: integer
  7931. type: object
  7932. models.ErmcpTaAccountM:
  7933. properties:
  7934. accountid:
  7935. description: 账户id
  7936. type: integer
  7937. accountname:
  7938. description: 账户名称
  7939. type: string
  7940. currencyid:
  7941. description: 币种id
  7942. type: integer
  7943. fcid:
  7944. description: 期货公司id
  7945. type: integer
  7946. fcname:
  7947. description: 期货公司代码
  7948. type: string
  7949. hedgeaccountcode:
  7950. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7951. type: string
  7952. ismain:
  7953. description: 是否主账户 0-否 1-是
  7954. type: integer
  7955. parentaccountid:
  7956. description: 父账户id
  7957. type: integer
  7958. relateduserid:
  7959. description: 关联userid
  7960. type: integer
  7961. tradefeetmpid:
  7962. description: 手续费模板id
  7963. type: integer
  7964. tradefeetmpname:
  7965. description: 手续费模板名称
  7966. type: string
  7967. trademargintmpid:
  7968. description: 保证金模板id
  7969. type: integer
  7970. trademargintmpname:
  7971. description: 保证金模板名称
  7972. type: string
  7973. traderatetmpid:
  7974. description: 汇率模板id
  7975. type: integer
  7976. traderatetmpname:
  7977. description: 汇率模板名称
  7978. type: string
  7979. tradestatus:
  7980. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7981. type: integer
  7982. userid:
  7983. description: 用户id
  7984. type: integer
  7985. type: object
  7986. models.ErmcpTradeConfigTMP:
  7987. properties:
  7988. areauserid:
  7989. description: 所属机构
  7990. type: integer
  7991. basiccurrencyid:
  7992. description: 基本币种ID[汇率] - 目标币种
  7993. type: integer
  7994. mainaccountid:
  7995. description: 主账户ID
  7996. type: integer
  7997. modifierid:
  7998. description: 修改人
  7999. type: integer
  8000. remark:
  8001. description: 备注
  8002. type: string
  8003. tradeconfigtmpid:
  8004. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8005. type: integer
  8006. tradeconfigtmpname:
  8007. description: 交易配置模板名称
  8008. type: string
  8009. tradeconfigtmptype:
  8010. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8011. type: integer
  8012. updatetime:
  8013. description: 更新时间
  8014. type: string
  8015. type: object
  8016. models.Externalexchange:
  8017. properties:
  8018. autoid:
  8019. description: AutoID - SEQ_EXTERNALEXCHANGE
  8020. type: integer
  8021. exchangefullname:
  8022. description: 外部交易所全称
  8023. type: string
  8024. exexchangecode:
  8025. description: 外部交易所代码
  8026. type: string
  8027. exexchangename:
  8028. description: 外部交易所名称(简称)
  8029. type: string
  8030. ismarketprice:
  8031. description: 是否支持市价 - 0:不支持 1:支持
  8032. type: integer
  8033. quotegear:
  8034. description: 行情档位(1-10)
  8035. type: integer
  8036. showbrokerflag:
  8037. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8038. type: integer
  8039. updatetime:
  8040. description: 更新时间
  8041. type: string
  8042. required:
  8043. - autoid
  8044. type: object
  8045. models.Funcmenulist:
  8046. properties:
  8047. iconame:
  8048. description: 菜单图标
  8049. type: string
  8050. menutype:
  8051. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8052. type: integer
  8053. parentcode:
  8054. description: 上级资源代码
  8055. type: string
  8056. remark:
  8057. description: 备注
  8058. type: string
  8059. resourcecode:
  8060. description: 资源代码
  8061. type: string
  8062. resourcelevel:
  8063. description: 级别 1-一级 2-二级 3-三级 4-四级
  8064. type: integer
  8065. resourcename:
  8066. description: 资源名
  8067. type: string
  8068. sort:
  8069. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8070. type: integer
  8071. url:
  8072. description: URL
  8073. type: string
  8074. required:
  8075. - resourcecode
  8076. type: object
  8077. models.Goods:
  8078. properties:
  8079. agreeunit:
  8080. description: 合约单位
  8081. type: number
  8082. areauserid:
  8083. description: 所属机构
  8084. type: integer
  8085. auditaccountid:
  8086. description: 审核操作员账号
  8087. type: integer
  8088. audittime:
  8089. description: 审核时间
  8090. type: string
  8091. cancelaccountid:
  8092. description: 注销操作员账号
  8093. type: integer
  8094. canceltime:
  8095. description: 注销时间
  8096. type: string
  8097. closepricemode:
  8098. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8099. type: integer
  8100. closepriceparam:
  8101. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8102. type: number
  8103. createtime:
  8104. description: 创建时间
  8105. type: string
  8106. creatorid:
  8107. description: 创建人
  8108. type: integer
  8109. currencyid:
  8110. description: 报价货币ID
  8111. type: integer
  8112. cutmode:
  8113. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8114. type: integer
  8115. decimalplace:
  8116. description: 报价小数位
  8117. type: integer
  8118. delistingdate:
  8119. description: 商品退市时间(状态:退市) -- 已作废
  8120. type: string
  8121. delistingmode:
  8122. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8123. type: integer
  8124. deliveryflag:
  8125. description: 交割标志 - 0:不可交割 1:可交割
  8126. type: integer
  8127. forceclosemode:
  8128. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8129. type: integer
  8130. forceclosevalue:
  8131. description: 定期强平参数 [收益权]
  8132. type: integer
  8133. goodscode:
  8134. description: 商品代码(内部)
  8135. type: string
  8136. goodscurrencyid:
  8137. description: 合约货币ID
  8138. type: integer
  8139. goodsgroupid:
  8140. description: 所属商品组ID
  8141. type: integer
  8142. goodsid:
  8143. description: 商品ID(自增ID SEQ_GOODS)
  8144. type: integer
  8145. goodsname:
  8146. description: 商品名称
  8147. type: string
  8148. goodsquotetype:
  8149. description: '合约报价类型: 1-直接报价 2-间接报价'
  8150. type: integer
  8151. goodsstatus:
  8152. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8153. type: integer
  8154. goodstradetype:
  8155. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8156. type: integer
  8157. goodunitid:
  8158. description: 报价单位ID
  8159. type: integer
  8160. hasquoter:
  8161. description: 是否有报价商 - 0:无报价商 1:有报价商
  8162. type: integer
  8163. hqprotecttime:
  8164. description: 行情保护时间(秒)
  8165. type: integer
  8166. innerdealmode:
  8167. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8168. type: integer
  8169. isbuylimited:
  8170. description: 是否限制建仓量 - 0:不限制 1:限制
  8171. type: integer
  8172. isvisible:
  8173. description: 游客是否可见 - 0:不可见 1:可见
  8174. type: integer
  8175. lasttradedate:
  8176. description: 最后交易日期(状态:待退市)
  8177. type: string
  8178. listingdate:
  8179. description: 交易开始日期
  8180. type: string
  8181. marketid:
  8182. description: 所属市场ID
  8183. type: integer
  8184. modifierid:
  8185. description: 修改人
  8186. type: integer
  8187. modifystatus:
  8188. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8189. type: integer
  8190. modifytime:
  8191. description: 修改时间
  8192. type: string
  8193. outerdealmode:
  8194. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8195. type: integer
  8196. outgoodscode:
  8197. description: 商品代码(外部)
  8198. type: string
  8199. pictureurl:
  8200. description: 商品图片
  8201. type: string
  8202. qtydecimalplace:
  8203. description: 成交量小数位
  8204. type: integer
  8205. quotegear:
  8206. description: 行情档位(1-10)
  8207. type: integer
  8208. quoteminunit:
  8209. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8210. type: integer
  8211. quoteshowtype:
  8212. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8213. type: integer
  8214. quoteshowtypeinterval:
  8215. description: 行情报价间隔时间(秒)(成交价时为0)
  8216. type: integer
  8217. remark:
  8218. description: 备注
  8219. type: string
  8220. required:
  8221. - goodscode
  8222. - goodsid
  8223. - goodsname
  8224. - marketid
  8225. type: object
  8226. models.GoodsIDAndName:
  8227. properties:
  8228. goodscode:
  8229. description: 商品代码(内部)
  8230. type: string
  8231. goodsid:
  8232. description: 商品ID(自增ID SEQ_GOODS)
  8233. type: integer
  8234. goodsname:
  8235. description: 商品名称
  8236. type: string
  8237. marketid:
  8238. description: 所属市场ID
  8239. type: integer
  8240. required:
  8241. - goodscode
  8242. - goodsid
  8243. - goodsname
  8244. - marketid
  8245. type: object
  8246. models.Goodsgroup:
  8247. properties:
  8248. agreeunit:
  8249. description: 合约单位
  8250. type: number
  8251. canshort:
  8252. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8253. type: integer
  8254. closepricemode:
  8255. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8256. type: integer
  8257. closepriceparam:
  8258. description: 强平最新价浮动比例 - 方式为2时使用
  8259. type: number
  8260. createtime:
  8261. description: 创建时间
  8262. type: string
  8263. creatorid:
  8264. description: 创建人
  8265. type: integer
  8266. currencyid:
  8267. description: 报价货币ID
  8268. type: integer
  8269. decimalplace:
  8270. description: 报价小数位
  8271. type: integer
  8272. exercisetype:
  8273. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8274. type: integer
  8275. exexchangeid:
  8276. description: 外部交易所ID[通道交易]
  8277. type: integer
  8278. goodsgroupid:
  8279. description: 商品组ID(自增ID)
  8280. type: integer
  8281. goodsgroupname:
  8282. description: 商品组名称
  8283. type: string
  8284. goodsgroupstatus:
  8285. description: 商品组状态 - 1:正常 2:注销
  8286. type: integer
  8287. goodunitid:
  8288. description: 报价单位ID
  8289. type: integer
  8290. innerdealmode:
  8291. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8292. type: integer
  8293. isbuylimited:
  8294. description: 是否限制建仓量 - 0:不限制 1:限制
  8295. type: integer
  8296. marketid:
  8297. description: 所属市场ID
  8298. type: integer
  8299. modifierid:
  8300. description: 修改人
  8301. type: integer
  8302. modifytime:
  8303. description: 修改时间
  8304. type: string
  8305. outerdealmode:
  8306. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8307. type: integer
  8308. outergroupcode:
  8309. description: 外部商品组代码[通道交易]
  8310. type: string
  8311. premiumdecimalplace:
  8312. description: 权利金小数位[场外期权]
  8313. type: integer
  8314. premiumspreadalgorithm:
  8315. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8316. type: integer
  8317. premiumspreadvalue:
  8318. description: 权利金点差值[场外期权]
  8319. type: number
  8320. qtydecimalplace:
  8321. description: 成交量小数位
  8322. type: integer
  8323. quotegear:
  8324. description: 行情档位(1-10)
  8325. type: integer
  8326. quoteminunit:
  8327. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8328. type: integer
  8329. quoterid:
  8330. description: 报价商ID[场外期权]
  8331. type: integer
  8332. quotesourcegroupid:
  8333. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8334. type: integer
  8335. syncgoodsqty:
  8336. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8337. type: integer
  8338. required:
  8339. - goodsgroupid
  8340. - goodsgroupname
  8341. - goodsgroupstatus
  8342. - marketid
  8343. type: object
  8344. models.Goodssortbypreposition:
  8345. properties:
  8346. goodscode:
  8347. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8348. type: string
  8349. goodsgroupcode:
  8350. description: 品种代码
  8351. type: string
  8352. prepositionqty:
  8353. description: 昨持仓量
  8354. type: integer
  8355. sortindex:
  8356. description: 排序
  8357. type: integer
  8358. tradedate:
  8359. description: 交易日
  8360. type: string
  8361. updatetime:
  8362. description: 更新时间
  8363. type: string
  8364. required:
  8365. - goodscode
  8366. - tradedate
  8367. type: object
  8368. models.Hedgeinnerholderdetail:
  8369. properties:
  8370. accountid:
  8371. description: 账号ID
  8372. type: integer
  8373. buyorsell:
  8374. description: 方向 - 0:买 1:卖
  8375. type: integer
  8376. freezeqty:
  8377. description: 冻结数量 - 按单平使用
  8378. type: integer
  8379. goodsid:
  8380. description: 商品ID
  8381. type: integer
  8382. holderamount:
  8383. description: 持仓金额 [商品币种]
  8384. type: number
  8385. holderdays:
  8386. description: 剩余冻结天数
  8387. type: integer
  8388. holderprice:
  8389. description: 持仓价格
  8390. type: number
  8391. holderqty:
  8392. description: 持仓数量
  8393. type: integer
  8394. marketid:
  8395. description: 市场ID
  8396. type: integer
  8397. openprice:
  8398. description: 建仓价格
  8399. type: number
  8400. openqty:
  8401. description: 建仓数量
  8402. type: integer
  8403. parentaccountid:
  8404. description: 所属母账户
  8405. type: integer
  8406. releaseamount:
  8407. description: 释放持仓金额[商品币种]
  8408. type: number
  8409. tradeamount:
  8410. description: 成交金额[账户]
  8411. type: number
  8412. tradedate:
  8413. description: 交易日(yyyyMMdd)
  8414. type: string
  8415. tradeid:
  8416. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8417. type: string
  8418. tradetime:
  8419. description: 交易时间
  8420. type: string
  8421. required:
  8422. - buyorsell
  8423. - tradeid
  8424. type: object
  8425. models.Hedgemarketopenlog:
  8426. properties:
  8427. accountid:
  8428. description: 资金账号[外部母账户]
  8429. type: integer
  8430. fcname:
  8431. description: 期货公司名称
  8432. type: string
  8433. handlestatus:
  8434. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8435. type: integer
  8436. marketid:
  8437. description: 市场ID
  8438. type: integer
  8439. status:
  8440. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8441. type: integer
  8442. tradedate:
  8443. description: 交易日(yyyyMMdd)
  8444. type: string
  8445. updatetime:
  8446. description: 更新时间
  8447. type: string
  8448. required:
  8449. - accountid
  8450. type: object
  8451. models.HsbyBuyMyPayOrder:
  8452. properties:
  8453. agreeunit:
  8454. description: 合约单位
  8455. type: number
  8456. buyaccountid:
  8457. description: 买方账号ID[报价币种]
  8458. type: integer
  8459. buyorderid:
  8460. description: 买方委托单号
  8461. type: string
  8462. createtime:
  8463. description: 创建时间
  8464. type: string
  8465. currencysign:
  8466. description: 货币符号
  8467. type: string
  8468. decimalplace:
  8469. description: 报价小数位
  8470. type: integer
  8471. goodscode:
  8472. description: 商品代码(内部)
  8473. type: string
  8474. goodsid:
  8475. description: 商品ID
  8476. type: integer
  8477. goodsname:
  8478. description: 商品名称
  8479. type: string
  8480. marketid:
  8481. description: 市场ID
  8482. type: integer
  8483. offamount:
  8484. description: 优惠金额
  8485. type: number
  8486. originalamount:
  8487. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8488. type: number
  8489. payamount:
  8490. description: 支付金额 = TradeAmount + TradeCharge
  8491. type: number
  8492. payflag:
  8493. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8494. type: integer
  8495. paylimitedtime:
  8496. description: 支付期限
  8497. type: string
  8498. paytime:
  8499. description: 付款时间
  8500. type: string
  8501. picurls1:
  8502. description: 预售商品介绍图片[多张用逗号分隔]
  8503. type: string
  8504. picurls2:
  8505. description: 挂牌商品介绍图片[多张用逗号分隔]
  8506. type: string
  8507. sellaccountid:
  8508. description: 卖方账号ID[报价币种]
  8509. type: integer
  8510. sellorderid:
  8511. description: 卖方委托单号
  8512. type: string
  8513. tradeamount:
  8514. description: 成交金额
  8515. type: number
  8516. tradecharge:
  8517. description: 成交手续费(买方)
  8518. type: number
  8519. tradedate:
  8520. description: 交易日(yyyyMMdd)
  8521. type: string
  8522. tradeid:
  8523. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8524. type: string
  8525. trademode:
  8526. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8527. 21:竞拍-大宗式 22:受托竞价
  8528. type: integer
  8529. tradeprice:
  8530. description: 成交价格
  8531. type: number
  8532. tradeqty:
  8533. description: 成交数量
  8534. type: integer
  8535. vendorname1:
  8536. description: 预售商品供应商名称
  8537. type: string
  8538. vendorname2:
  8539. description: 挂牌商品供应商名称
  8540. type: string
  8541. required:
  8542. - goodscode
  8543. - goodsname
  8544. - tradeid
  8545. - trademode
  8546. type: object
  8547. models.HsbyBuyMyTradeDetail:
  8548. properties:
  8549. accountid:
  8550. description: 账户ID[报价币种]
  8551. type: integer
  8552. agreeunit:
  8553. description: 合约单位
  8554. type: number
  8555. amount:
  8556. description: 金额 = 价格 * 数量 * 合约单位
  8557. type: number
  8558. buyorsell:
  8559. description: 买卖 - 0:买 1:卖
  8560. type: integer
  8561. currencysign:
  8562. description: 货币符号
  8563. type: string
  8564. decimalplace:
  8565. description: 报价小数位
  8566. type: integer
  8567. goodscode:
  8568. description: 商品代码(内部)
  8569. type: string
  8570. goodsid:
  8571. description: 商品ID
  8572. type: integer
  8573. goodsname:
  8574. description: 商品名称
  8575. type: string
  8576. marketid:
  8577. description: 市场ID
  8578. type: integer
  8579. orderamount:
  8580. description: 委托金额
  8581. type: number
  8582. orderid:
  8583. description: 单号(成交单号)
  8584. type: string
  8585. picurls1:
  8586. description: 预售商品介绍图片[多张用逗号分隔]
  8587. type: string
  8588. picurls2:
  8589. description: 挂牌商品介绍图片[多张用逗号分隔]
  8590. type: string
  8591. price:
  8592. description: 价格
  8593. type: number
  8594. qty:
  8595. description: 数量
  8596. type: integer
  8597. time:
  8598. description: 时间
  8599. type: string
  8600. trademode:
  8601. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8602. 21:竞拍-大宗式 22:受托竞价
  8603. type: integer
  8604. vendorname1:
  8605. description: 预售商品供应商名称
  8606. type: string
  8607. vendorname2:
  8608. description: 挂牌商品供应商名称
  8609. type: string
  8610. required:
  8611. - accountid
  8612. - buyorsell
  8613. - goodscode
  8614. - goodsid
  8615. - goodsname
  8616. - marketid
  8617. - orderid
  8618. - qty
  8619. - time
  8620. - trademode
  8621. type: object
  8622. models.HsbyGoodsOrderDetail:
  8623. properties:
  8624. buyorsell:
  8625. description: 买卖 - 0:买 1:卖
  8626. type: integer
  8627. currencysign:
  8628. description: 货币符号
  8629. type: string
  8630. customername:
  8631. description: 客户名称(企业名称),已脱敏
  8632. type: string
  8633. enableqty:
  8634. description: 可用数量
  8635. type: integer
  8636. goodunit:
  8637. description: 报价单位
  8638. type: string
  8639. orderid:
  8640. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8641. type: string
  8642. orderprice:
  8643. description: 委托价格
  8644. type: number
  8645. ordertime:
  8646. description: 委托时间
  8647. type: string
  8648. required:
  8649. - buyorsell
  8650. - orderid
  8651. - ordertime
  8652. type: object
  8653. models.HsbyListingGoodsDetail:
  8654. properties:
  8655. agreeunit:
  8656. description: 合约单位
  8657. type: number
  8658. buymaxqty:
  8659. description: 购买上限 [71] - 0为不限
  8660. type: integer
  8661. currency:
  8662. description: 货币
  8663. type: string
  8664. currencysign:
  8665. description: 货币符号
  8666. type: string
  8667. decimalplace:
  8668. description: 报价小数位
  8669. type: integer
  8670. desccityid:
  8671. description: 目的地(市)ID
  8672. type: integer
  8673. descprovinceid:
  8674. description: 目的地(省)ID
  8675. type: integer
  8676. goodscode:
  8677. description: 商品代码(内部)
  8678. type: string
  8679. goodsdesc:
  8680. description: 商品详情
  8681. type: string
  8682. goodsid:
  8683. description: 商品ID(自增ID SEQ_GOODS)
  8684. type: integer
  8685. goodsname:
  8686. description: 商品名称
  8687. type: string
  8688. goodsprice:
  8689. description: 商品价格
  8690. type: number
  8691. hotindex:
  8692. description: 景点热度
  8693. type: integer
  8694. last:
  8695. description: 现价
  8696. type: number
  8697. limitdown:
  8698. description: 跌停价
  8699. type: number
  8700. limitup:
  8701. description: 涨停价
  8702. type: number
  8703. lotsize:
  8704. description: 手数最小变动单位
  8705. type: integer
  8706. marketid:
  8707. description: 所属市场ID
  8708. type: integer
  8709. picurls:
  8710. description: 介绍图片[多张用逗号分隔]
  8711. type: string
  8712. quoteminunit:
  8713. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8714. type: integer
  8715. stepvalue:
  8716. description: 价格最小变动单位
  8717. type: number
  8718. trademode:
  8719. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8720. 21:竞拍-大宗式 22:受托竞价
  8721. type: integer
  8722. vendorattr:
  8723. description: 供应商附件(多张,逗号分隔)
  8724. type: string
  8725. vendorname:
  8726. description: 供应商名称
  8727. type: string
  8728. vendorphone:
  8729. description: 供应商客服电话
  8730. type: string
  8731. videourls:
  8732. description: 介绍视频[多张用逗号分隔]
  8733. type: string
  8734. required:
  8735. - goodscode
  8736. - goodsid
  8737. - goodsname
  8738. - marketid
  8739. - trademode
  8740. type: object
  8741. models.HsbyMarketGoods:
  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. categoryid:
  8753. description: 类别ID(WRCATEGORY)
  8754. type: integer
  8755. currency:
  8756. description: 货币
  8757. type: string
  8758. currencysign:
  8759. description: 货币符号
  8760. type: string
  8761. customername:
  8762. description: 卖家名称
  8763. type: string
  8764. decimalplace:
  8765. description: 报价小数位
  8766. type: integer
  8767. goodscode:
  8768. description: 商品代码(内部)
  8769. type: string
  8770. goodsid:
  8771. description: 商品ID
  8772. type: integer
  8773. goodsname:
  8774. description: 商品名称
  8775. type: string
  8776. goodsprice:
  8777. description: 商品价格
  8778. type: number
  8779. hascoupon:
  8780. description: 是否可用优惠卷
  8781. type: boolean
  8782. hotindex:
  8783. description: 景点热度
  8784. type: integer
  8785. marketid:
  8786. description: 市场ID
  8787. type: integer
  8788. orderid:
  8789. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8790. type: string
  8791. orderprice:
  8792. description: 委托价格
  8793. type: number
  8794. orderstatus:
  8795. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8796. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8797. 16:成交失败违约(荷兰式竞拍专用)
  8798. type: integer
  8799. picurls:
  8800. description: 介绍图片[多张用逗号分隔]
  8801. type: string
  8802. quoteminunit:
  8803. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8804. type: integer
  8805. sellUserID:
  8806. description: 卖方UserID
  8807. type: integer
  8808. trademode:
  8809. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8810. 21:竞拍-大宗式 22:受托竞价
  8811. type: integer
  8812. videourls:
  8813. description: 介绍视频[多张用逗号分隔]
  8814. type: string
  8815. required:
  8816. - accountid
  8817. - buyorsell
  8818. - goodscode
  8819. - goodsid
  8820. - goodsname
  8821. - marketid
  8822. - orderid
  8823. - trademode
  8824. type: object
  8825. models.HsbyMarketGoodsDetail:
  8826. properties:
  8827. accountid:
  8828. description: 账户ID[报价币种]
  8829. type: integer
  8830. agreeunit:
  8831. description: 合约单位
  8832. type: number
  8833. buymaxqty:
  8834. description: 购买上限 [71] - 0为不限
  8835. type: integer
  8836. buyorsell:
  8837. description: 买卖 - 0:买 1:卖
  8838. type: integer
  8839. cancelqty:
  8840. description: 撤单数量
  8841. type: integer
  8842. categoryid:
  8843. description: 类别ID(WRCATEGORY)
  8844. type: integer
  8845. currency:
  8846. description: 货币
  8847. type: string
  8848. currencysign:
  8849. description: 货币符号
  8850. type: string
  8851. customername:
  8852. description: 卖家名称
  8853. type: string
  8854. decimalplace:
  8855. description: 报价小数位
  8856. type: integer
  8857. goodscode:
  8858. description: 商品代码(内部)
  8859. type: string
  8860. goodsdesc:
  8861. description: 商品详情
  8862. type: string
  8863. goodsid:
  8864. description: 商品ID
  8865. type: integer
  8866. goodsname:
  8867. description: 商品名称
  8868. type: string
  8869. goodsprice:
  8870. description: 商品价格
  8871. type: number
  8872. hotindex:
  8873. description: 景点热度
  8874. type: integer
  8875. lotsize:
  8876. description: 手数最小变动单位
  8877. type: integer
  8878. marketid:
  8879. description: 市场ID
  8880. type: integer
  8881. orderid:
  8882. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8883. type: string
  8884. orderprice:
  8885. description: 委托价格
  8886. type: number
  8887. orderqty:
  8888. description: 委托数量
  8889. type: integer
  8890. orderstatus:
  8891. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8892. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8893. 16:成交失败违约(荷兰式竞拍专用)
  8894. type: integer
  8895. picurls:
  8896. description: 介绍图片[多张用逗号分隔]
  8897. type: string
  8898. quoteminunit:
  8899. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8900. type: integer
  8901. sellUserID:
  8902. description: 卖方UserID
  8903. type: integer
  8904. trademode:
  8905. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8906. 21:竞拍-大宗式 22:受托竞价
  8907. type: integer
  8908. tradeqty:
  8909. description: 成交数量
  8910. type: integer
  8911. vendorattr:
  8912. description: 供应商附件(多张,逗号分隔)
  8913. type: string
  8914. vendorname:
  8915. description: 供应商名称
  8916. type: string
  8917. vendorphone:
  8918. description: 供应商客服电话
  8919. type: string
  8920. videourls:
  8921. description: 介绍视频[多张用逗号分隔]
  8922. type: string
  8923. required:
  8924. - accountid
  8925. - buyorsell
  8926. - goodscode
  8927. - goodsid
  8928. - goodsname
  8929. - marketid
  8930. - orderid
  8931. - orderqty
  8932. - trademode
  8933. type: object
  8934. models.HsbyMarketInfo:
  8935. properties:
  8936. marketid:
  8937. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8938. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8939. type: integer
  8940. marketname:
  8941. description: 市场名称
  8942. type: string
  8943. marketstatus:
  8944. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8945. type: integer
  8946. trademode:
  8947. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8948. 21:竞拍-大宗式 22:受托竞价
  8949. type: integer
  8950. required:
  8951. - marketid
  8952. - marketstatus
  8953. - trademode
  8954. type: object
  8955. models.HsbyMyGoods:
  8956. properties:
  8957. accountid:
  8958. description: 账号Id
  8959. type: integer
  8960. agreeunit:
  8961. description: 合约单位
  8962. type: number
  8963. buyaverageprice:
  8964. description: 持仓均价
  8965. type: number
  8966. buycurholderamount:
  8967. description: 买当前持仓总金额[商品币种]
  8968. type: number
  8969. buycurpositionqty:
  8970. description: 买当前持仓总数量
  8971. type: integer
  8972. buymaxqty:
  8973. description: 购买上限 [71] - 0为不限
  8974. type: integer
  8975. currencysign:
  8976. description: 货币符号
  8977. type: string
  8978. decimalplace:
  8979. description: 报价小数位
  8980. type: integer
  8981. enableqty:
  8982. description: 可用数量
  8983. type: integer
  8984. goodscode:
  8985. description: 商品代码(内部)
  8986. type: string
  8987. goodsid:
  8988. description: 商品Id
  8989. type: integer
  8990. goodsname:
  8991. description: 商品名称
  8992. type: string
  8993. goodsprice:
  8994. description: 商品价格
  8995. type: number
  8996. goodsstatus:
  8997. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8998. type: integer
  8999. last:
  9000. description: 现价(仅使用于挂牌点选)
  9001. type: number
  9002. limitdown:
  9003. description: 跌停价(仅使用于挂牌点选)
  9004. type: number
  9005. limitup:
  9006. description: 涨停价(仅使用于挂牌点选)
  9007. type: number
  9008. lotsize:
  9009. description: 手数最小变动单位
  9010. type: integer
  9011. marketid:
  9012. description: 所属市场ID
  9013. type: integer
  9014. picurls:
  9015. description: 介绍图片[多张用逗号分隔]
  9016. type: string
  9017. quoteminunit:
  9018. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9019. type: integer
  9020. stepvalue:
  9021. description: 价格最小变动单位
  9022. type: number
  9023. trademode:
  9024. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9025. 21:竞拍-大宗式 22:受托竞价
  9026. type: integer
  9027. required:
  9028. - accountid
  9029. - goodscode
  9030. - goodsid
  9031. - goodsname
  9032. - marketid
  9033. - trademode
  9034. type: object
  9035. models.HsbyMyPackage:
  9036. properties:
  9037. accountid:
  9038. description: 账户ID
  9039. type: integer
  9040. address:
  9041. description: 提货人详细地址
  9042. type: string
  9043. agreeunit:
  9044. description: 合约单位
  9045. type: number
  9046. amount:
  9047. description: 提货金额
  9048. type: number
  9049. auditer:
  9050. description: 审核人
  9051. type: integer
  9052. audittime:
  9053. description: 审核时间
  9054. type: string
  9055. averageprice:
  9056. description: 均价
  9057. type: number
  9058. cardnum:
  9059. description: 提货人证件号码
  9060. type: string
  9061. cardtypeid:
  9062. description: 提货人证件类型
  9063. type: integer
  9064. checkremark:
  9065. description: 审核备注
  9066. type: string
  9067. currencysign:
  9068. description: 货币符号
  9069. type: string
  9070. decimalplace:
  9071. description: 报价小数位
  9072. type: integer
  9073. goodscode:
  9074. description: 商品代码(内部)
  9075. type: string
  9076. goodsid:
  9077. description: 商品ID
  9078. type: integer
  9079. goodsname:
  9080. description: 商品名称
  9081. type: string
  9082. handlestatus:
  9083. description: 处理状态
  9084. type: integer
  9085. marketid:
  9086. description: 市场ID
  9087. type: integer
  9088. phonenum:
  9089. description: 提货人联系方式
  9090. type: string
  9091. picurls:
  9092. description: 介绍图片[多张用逗号分隔]
  9093. type: string
  9094. qty:
  9095. description: 提货数量
  9096. type: number
  9097. recivername:
  9098. description: 提货人姓名
  9099. type: string
  9100. reqtime:
  9101. description: 更新时间
  9102. type: string
  9103. takemode:
  9104. description: 提货方式 - 2:自提 3:配送
  9105. type: integer
  9106. takeorderid:
  9107. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9108. type: string
  9109. takeorderstatus:
  9110. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9111. type: integer
  9112. takeremark:
  9113. description: 提货备注
  9114. type: string
  9115. tradedate:
  9116. description: 交易日(yyyyMMdd)
  9117. type: string
  9118. trademode:
  9119. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9120. 21:竞拍-大宗式 22:受托竞价
  9121. type: integer
  9122. userid:
  9123. description: 用户ID
  9124. type: integer
  9125. vendorname:
  9126. description: 供应商名称
  9127. type: string
  9128. required:
  9129. - goodscode
  9130. - goodsname
  9131. - takeorderid
  9132. - trademode
  9133. type: object
  9134. models.HsbyPreGoods:
  9135. properties:
  9136. agreeunit:
  9137. description: 合约单位
  9138. type: number
  9139. currency:
  9140. description: 货币
  9141. type: string
  9142. currencysign:
  9143. description: 货币符号
  9144. type: string
  9145. decimalplace:
  9146. description: 报价小数位
  9147. type: integer
  9148. desccityid:
  9149. description: 目的地(市)
  9150. type: integer
  9151. descprovinceid:
  9152. description: 目的地(省)
  9153. type: integer
  9154. enableqty:
  9155. description: 剩余数量
  9156. type: integer
  9157. goodscode:
  9158. description: 商品代码(内部)
  9159. type: string
  9160. goodsid:
  9161. description: 商品ID(自增ID SEQ_GOODS)
  9162. type: integer
  9163. goodsname:
  9164. description: 商品名称
  9165. type: string
  9166. goodsstatus:
  9167. description: 商品状态- 2:未上市 3:上市
  9168. type: integer
  9169. lasttradedate:
  9170. description: 最后交易日期(状态:待退市)
  9171. type: string
  9172. listingdate:
  9173. description: 交易开始日期
  9174. type: string
  9175. marketid:
  9176. description: 所属市场ID
  9177. type: integer
  9178. picurls:
  9179. description: 介绍图片[多张用逗号分隔]
  9180. type: string
  9181. presaledqty:
  9182. description: 已预售量(预售结束时更新)
  9183. type: integer
  9184. presaleqty:
  9185. description: 预售数量
  9186. type: integer
  9187. quoteminunit:
  9188. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9189. type: integer
  9190. refprice:
  9191. description: 参考价格[一口价]
  9192. type: number
  9193. relatedgoodsid:
  9194. description: 关联交易合约ID
  9195. type: integer
  9196. trademode:
  9197. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9198. 21:竞拍-大宗式 22:受托竞价
  9199. type: integer
  9200. videourls:
  9201. description: 介绍视频[多张用逗号分隔]
  9202. type: string
  9203. required:
  9204. - goodscode
  9205. - goodsid
  9206. - goodsname
  9207. - marketid
  9208. - trademode
  9209. type: object
  9210. models.HsbyPreGoodsDetail:
  9211. properties:
  9212. agreeunit:
  9213. description: 合约单位
  9214. type: number
  9215. buymaxqty:
  9216. description: 购买上限 [71] - 0为不限
  9217. type: integer
  9218. currency:
  9219. description: 货币
  9220. type: string
  9221. currencysign:
  9222. description: 货币符号
  9223. type: string
  9224. customername:
  9225. description: 发行单位
  9226. type: string
  9227. decimalplace:
  9228. description: 报价小数位
  9229. type: integer
  9230. desccityid:
  9231. description: 目的地(市)ID
  9232. type: integer
  9233. descprovinceid:
  9234. description: 目的地(省)ID
  9235. type: integer
  9236. enableqty:
  9237. description: 剩余数量
  9238. type: integer
  9239. goodscode:
  9240. description: 商品代码(内部)
  9241. type: string
  9242. goodsdesc:
  9243. description: 商品详情
  9244. type: string
  9245. goodsid:
  9246. description: 商品ID(自增ID SEQ_GOODS)
  9247. type: integer
  9248. goodsname:
  9249. description: 商品名称
  9250. type: string
  9251. goodsstatus:
  9252. description: 商品状态- 2:未上市 3:上市
  9253. type: integer
  9254. goodunit:
  9255. description: 报价单位
  9256. type: string
  9257. lasttradedate:
  9258. description: 最后交易日期(状态:待退市)
  9259. type: string
  9260. listingdate:
  9261. description: 交易开始日期
  9262. type: string
  9263. lotsize:
  9264. description: 手数最小变动单位
  9265. type: integer
  9266. marketid:
  9267. description: 所属市场ID
  9268. type: integer
  9269. picurls:
  9270. description: 介绍图片[多张用逗号分隔]
  9271. type: string
  9272. presaledqty:
  9273. description: 已预售量(预售结束时更新)
  9274. type: integer
  9275. presaleqty:
  9276. description: 预售数量
  9277. type: integer
  9278. quoteminunit:
  9279. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9280. type: integer
  9281. refprice:
  9282. description: 参考价格[一口价]
  9283. type: number
  9284. relatedgoodsid:
  9285. description: 关联交易合约ID
  9286. type: integer
  9287. stepvalue:
  9288. description: 价格最小变动单位
  9289. type: number
  9290. trademode:
  9291. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9292. 21:竞拍-大宗式 22:受托竞价
  9293. type: integer
  9294. vendorattr:
  9295. description: 供应商附件(多张,逗号分隔)
  9296. type: string
  9297. vendorname:
  9298. description: 供应商名称
  9299. type: string
  9300. vendorphone:
  9301. description: 供应商客服电话
  9302. type: string
  9303. videourls:
  9304. description: 介绍视频[多张用逗号分隔]
  9305. type: string
  9306. required:
  9307. - goodscode
  9308. - goodsid
  9309. - goodsname
  9310. - marketid
  9311. - trademode
  9312. type: object
  9313. models.HsbySellCollectionOrder:
  9314. properties:
  9315. agreeunit:
  9316. description: 合约单位
  9317. type: number
  9318. buyaccountid:
  9319. description: 买方账号ID[报价币种]
  9320. type: integer
  9321. buyorderid:
  9322. description: 买方委托单号
  9323. type: string
  9324. createtime:
  9325. description: 创建时间
  9326. type: string
  9327. currencysign:
  9328. description: 货币符号
  9329. type: string
  9330. decimalplace:
  9331. description: 报价小数位
  9332. type: integer
  9333. goodscode:
  9334. description: 商品代码(内部)
  9335. type: string
  9336. goodsid:
  9337. description: 商品ID
  9338. type: integer
  9339. goodsname:
  9340. description: 商品名称
  9341. type: string
  9342. marketid:
  9343. description: 市场ID
  9344. type: integer
  9345. offamount:
  9346. description: 优惠金额
  9347. type: number
  9348. payamount:
  9349. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9350. type: number
  9351. payflag:
  9352. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9353. type: integer
  9354. paylimitedtime:
  9355. description: 支付期限
  9356. type: string
  9357. paytime:
  9358. description: 付款时间
  9359. type: string
  9360. picurls:
  9361. description: 商品介绍图片[多张用逗号分隔]
  9362. type: string
  9363. sellaccountid:
  9364. description: 卖方账号ID[报价币种]
  9365. type: integer
  9366. sellorderid:
  9367. description: 卖方委托单号
  9368. type: string
  9369. tradeamount:
  9370. description: 成交金额
  9371. type: number
  9372. tradecharge:
  9373. description: 成交手续费(买方)
  9374. type: number
  9375. tradedate:
  9376. description: 交易日(yyyyMMdd)
  9377. type: string
  9378. tradeid:
  9379. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9380. type: string
  9381. trademode:
  9382. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9383. 21:竞拍-大宗式 22:受托竞价
  9384. type: integer
  9385. tradeprice:
  9386. description: 成交价格
  9387. type: number
  9388. tradeqty:
  9389. description: 成交数量
  9390. type: integer
  9391. required:
  9392. - goodscode
  9393. - goodsname
  9394. - tradeid
  9395. - trademode
  9396. type: object
  9397. models.HsbySellMyDetail:
  9398. properties:
  9399. accountid:
  9400. description: 账户ID[报价币种]
  9401. type: integer
  9402. agreeunit:
  9403. description: 合约单位
  9404. type: number
  9405. buyorsell:
  9406. description: 买卖 - 0:买 1:卖
  9407. type: integer
  9408. currencysign:
  9409. description: 货币符号
  9410. type: string
  9411. decimalplace:
  9412. description: 报价小数位
  9413. type: integer
  9414. goodscode:
  9415. description: 商品代码(内部)
  9416. type: string
  9417. goodsid:
  9418. description: 商品ID
  9419. type: integer
  9420. goodsname:
  9421. description: 商品名称
  9422. type: string
  9423. marketid:
  9424. description: 市场ID
  9425. type: integer
  9426. orderid:
  9427. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9428. type: string
  9429. ordertype:
  9430. description: 单据类型:0 - 发布中, 1 - 已完成
  9431. type: integer
  9432. picurls:
  9433. description: 介绍图片[多张用逗号分隔]
  9434. type: string
  9435. price:
  9436. description: 价格
  9437. type: number
  9438. qty:
  9439. description: 数量
  9440. type: integer
  9441. time:
  9442. description: 时间
  9443. type: string
  9444. trademode:
  9445. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9446. 21:竞拍-大宗式 22:受托竞价
  9447. type: integer
  9448. vendorname:
  9449. description: 供应商名称
  9450. type: string
  9451. required:
  9452. - accountid
  9453. - buyorsell
  9454. - goodscode
  9455. - goodsid
  9456. - goodsname
  9457. - marketid
  9458. - orderid
  9459. - time
  9460. - trademode
  9461. type: object
  9462. models.HsbyTopGoods:
  9463. properties:
  9464. agreeunit:
  9465. description: 合约单位
  9466. type: number
  9467. currency:
  9468. description: 货币
  9469. type: string
  9470. currencysign:
  9471. description: 货币符号
  9472. type: string
  9473. decimalplace:
  9474. description: 报价小数位
  9475. type: integer
  9476. desccityid:
  9477. description: 目的地(市)
  9478. type: integer
  9479. descprovinceid:
  9480. description: 目的地(省)
  9481. type: integer
  9482. goodscode:
  9483. description: 商品代码(内部)
  9484. type: string
  9485. goodsid:
  9486. description: 商品ID(自增ID SEQ_GOODS)
  9487. type: integer
  9488. goodsname:
  9489. description: 商品名称
  9490. type: string
  9491. hotindex:
  9492. description: 景点热度
  9493. type: integer
  9494. last:
  9495. description: 现价
  9496. type: number
  9497. marketid:
  9498. description: 所属市场ID
  9499. type: integer
  9500. picurls:
  9501. description: 介绍图片[多张用逗号分隔]
  9502. type: string
  9503. quoteminunit:
  9504. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9505. type: integer
  9506. trademode:
  9507. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9508. 21:竞拍-大宗式 22:受托竞价
  9509. type: integer
  9510. videourls:
  9511. description: 介绍视频[多张用逗号分隔]
  9512. type: string
  9513. required:
  9514. - goodscode
  9515. - goodsid
  9516. - goodsname
  9517. - marketid
  9518. - trademode
  9519. type: object
  9520. models.HybsMyBuyOrderDetail:
  9521. properties:
  9522. accountid:
  9523. description: 账户ID[报价币种]
  9524. type: integer
  9525. agreeunit:
  9526. description: 合约单位
  9527. type: number
  9528. buyorsell:
  9529. description: 买卖 - 0:买 1:卖
  9530. type: integer
  9531. cancelqty:
  9532. description: 撤单数量
  9533. type: integer
  9534. currencysign:
  9535. description: 货币符号
  9536. type: string
  9537. decimalplace:
  9538. description: 报价小数位
  9539. type: integer
  9540. goodscode:
  9541. description: 商品代码(内部)
  9542. type: string
  9543. goodsid:
  9544. description: 商品ID
  9545. type: integer
  9546. goodsname:
  9547. description: 商品名称
  9548. type: string
  9549. listingselecttype:
  9550. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9551. type: integer
  9552. marketid:
  9553. description: 市场ID
  9554. type: integer
  9555. mybuystatus:
  9556. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9557. type: integer
  9558. orderamount:
  9559. description: 委托金额
  9560. type: number
  9561. orderid:
  9562. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9563. type: string
  9564. orderprice:
  9565. description: 委托价格
  9566. type: number
  9567. orderqty:
  9568. description: 委托数量
  9569. type: integer
  9570. orderstatus:
  9571. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9572. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9573. 16:成交失败违约(荷兰式竞拍专用)
  9574. type: integer
  9575. ordertime:
  9576. description: 委托时间
  9577. type: string
  9578. picurls1:
  9579. description: 预售商品介绍图片[多张用逗号分隔]
  9580. type: string
  9581. picurls2:
  9582. description: 挂牌商品介绍图片[多张用逗号分隔]
  9583. type: string
  9584. trademode:
  9585. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9586. 21:竞拍-大宗式 22:受托竞价
  9587. type: integer
  9588. tradeqty:
  9589. description: 成交数量
  9590. type: integer
  9591. vendorname1:
  9592. description: 预售商品供应商名称
  9593. type: string
  9594. vendorname2:
  9595. description: 挂牌商品供应商名称
  9596. type: string
  9597. required:
  9598. - accountid
  9599. - buyorsell
  9600. - goodscode
  9601. - goodsid
  9602. - goodsname
  9603. - marketid
  9604. - orderid
  9605. - orderqty
  9606. - ordertime
  9607. - trademode
  9608. type: object
  9609. models.Loginaccount:
  9610. properties:
  9611. accountname:
  9612. description: 账户名称
  9613. type: string
  9614. canoutin:
  9615. description: 是否可出入金 - 0:不可 1:可
  9616. type: integer
  9617. clientroleid:
  9618. description: 终端角色ID
  9619. type: integer
  9620. haslogined:
  9621. description: 是否已登录 - 0:未登录 1:已登录
  9622. type: integer
  9623. hasupdatedpwd:
  9624. description: 是否已更改密码 - 0:未修改 1:已修改
  9625. type: integer
  9626. lastloginip:
  9627. description: 最新登录地址
  9628. type: string
  9629. lastloginmode:
  9630. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9631. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9632. type: integer
  9633. lastloginremark:
  9634. description: 最新登录描述
  9635. type: string
  9636. lastlogintime:
  9637. description: 最新登录时间
  9638. type: string
  9639. logincode:
  9640. description: 登录代码
  9641. type: string
  9642. loginfailnum:
  9643. description: 连续登录失败次数(登录成功时清零)
  9644. type: integer
  9645. loginid:
  9646. description: 登陆账号
  9647. type: integer
  9648. loginport:
  9649. description: 最新登录端口
  9650. type: integer
  9651. loginstatus:
  9652. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9653. type: integer
  9654. loginusertype:
  9655. description: 登录账号类型 - 1:投资者 2:机构交易员
  9656. type: integer
  9657. mobile:
  9658. description: 手机号码(加密存储)
  9659. type: string
  9660. modifierid:
  9661. description: 修改人
  9662. type: integer
  9663. modifysrc:
  9664. description: 审核来源 - 1:管理端 2:终端
  9665. type: integer
  9666. modifytime:
  9667. description: 修改时间
  9668. type: string
  9669. password:
  9670. description: 登陆密码
  9671. type: string
  9672. pwdwrongcount:
  9673. description: 密码错误次数
  9674. type: integer
  9675. relateduserid:
  9676. description: 关联用户ID(机构)
  9677. type: integer
  9678. taaccountrighttype:
  9679. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9680. type: integer
  9681. unfreezetime:
  9682. description: 账户解冻时间
  9683. type: string
  9684. userid:
  9685. description: 用户ID
  9686. type: integer
  9687. required:
  9688. - loginid
  9689. type: object
  9690. models.MainAccountInfo:
  9691. properties:
  9692. accountid:
  9693. description: 账号id
  9694. type: integer
  9695. accountname:
  9696. description: 账号名称(taaccount表中的名称)
  9697. type: string
  9698. appid:
  9699. description: AppID
  9700. type: string
  9701. authcode:
  9702. description: 授权码
  9703. type: string
  9704. brokerid:
  9705. description: 经纪商id
  9706. type: string
  9707. fcid:
  9708. description: 期货公司id
  9709. type: integer
  9710. fcname:
  9711. description: 期货公司代码
  9712. type: string
  9713. hedgeaccountcode:
  9714. description: 外部账号代码(主账号登录代码)
  9715. type: string
  9716. hedgeaccountpwd:
  9717. description: 密码
  9718. type: string
  9719. ismain:
  9720. description: 是否主账号
  9721. type: integer
  9722. relateduserid:
  9723. description: 关联用户id
  9724. type: integer
  9725. userid:
  9726. description: 关联用户id
  9727. type: integer
  9728. type: object
  9729. models.Market:
  9730. properties:
  9731. auctionwrtype:
  9732. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9733. type: integer
  9734. canacceptquote:
  9735. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9736. type: integer
  9737. cangoodsexercise:
  9738. description: '[期权]是否可现货行权- 0:否 1:是'
  9739. type: integer
  9740. cangoodsexercisetype:
  9741. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9742. type: integer
  9743. canmanualquotestrike:
  9744. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9745. type: integer
  9746. canmutistage:
  9747. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9748. type: integer
  9749. canpreexercise:
  9750. description: '[期权]是否可预申报- 0:否 1:是'
  9751. type: integer
  9752. clearinterval:
  9753. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9754. type: integer
  9755. contracttmp:
  9756. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9757. type: string
  9758. exchareaid:
  9759. description: 所属交易所,可以没有
  9760. type: integer
  9761. goodstype:
  9762. description: 商品类型 - 1:交易商品 2:仓单商品
  9763. type: integer
  9764. hasrebate:
  9765. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9766. type: integer
  9767. hastradecredit:
  9768. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9769. type: integer
  9770. haswr:
  9771. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9772. type: integer
  9773. isdeductmargin:
  9774. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9775. type: integer
  9776. isrecordsource:
  9777. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9778. type: integer
  9779. isreleasemargin:
  9780. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9781. type: integer
  9782. marginformula:
  9783. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9784. type: integer
  9785. marginformula2:
  9786. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9787. type: integer
  9788. marketid:
  9789. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9790. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9791. type: integer
  9792. marketname:
  9793. description: 市场名称
  9794. type: string
  9795. marketserviceid:
  9796. description: 市场服务ID
  9797. type: integer
  9798. marketstatus:
  9799. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9800. type: integer
  9801. markettype:
  9802. description: 市场类型- 1:非交易服务 2:交易服务
  9803. type: integer
  9804. matchermode:
  9805. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9806. type: integer
  9807. openmethod:
  9808. description: 开盘模式 - 0 自动 1手动
  9809. type: integer
  9810. otcuserid:
  9811. description: 场外期权做市商[场外期权]
  9812. type: integer
  9813. outersynctime:
  9814. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9815. type: string
  9816. pendingflag:
  9817. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9818. type: integer
  9819. pendingtime:
  9820. description: 待开市时间[通道交易-对冲](HH:mm)
  9821. type: string
  9822. performancetempid:
  9823. description: 履约计划模板ID - 作废
  9824. type: integer
  9825. premiumquotemode:
  9826. description: 权利金报价方式 - 1:自动 2:手动
  9827. type: integer
  9828. rebateratio:
  9829. description: 返利比率[竞价式]
  9830. type: number
  9831. reckonorder:
  9832. description: 结算顺序
  9833. type: integer
  9834. reckonpricealgorithm:
  9835. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9836. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9837. type: integer
  9838. reckonpriceparam:
  9839. description: 结算价参数
  9840. type: integer
  9841. reckontime:
  9842. description: 结算时间[通道交易-对冲](HH:mm)
  9843. type: string
  9844. roleprioritytype:
  9845. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9846. type: integer
  9847. selllistingauditflag:
  9848. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9849. type: integer
  9850. trademarkettype:
  9851. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9852. type: integer
  9853. trademode:
  9854. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9855. 21:竞拍-大宗式 22:受托竞价
  9856. type: integer
  9857. tradeproperty:
  9858. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9859. 8:场外期权
  9860. type: integer
  9861. tradetype:
  9862. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9863. type: integer
  9864. required:
  9865. - marketid
  9866. - marketstatus
  9867. - openmethod
  9868. - reckonpricealgorithm
  9869. - trademode
  9870. - tradeproperty
  9871. type: object
  9872. models.Marketrun:
  9873. properties:
  9874. afternexttradedate:
  9875. description: 下下交易日
  9876. type: string
  9877. clearquoteflag:
  9878. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9879. type: integer
  9880. lastreckondate:
  9881. description: 最新交易日(结算成功)
  9882. type: string
  9883. machinedate:
  9884. description: 机器时间
  9885. type: string
  9886. manualflag:
  9887. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9888. type: integer
  9889. marketid:
  9890. description: 市场ID
  9891. type: integer
  9892. nexttradedate:
  9893. description: 下一交易日
  9894. type: string
  9895. pretradedate:
  9896. description: 上一交易日
  9897. type: string
  9898. reckonflag:
  9899. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9900. type: integer
  9901. runstatus:
  9902. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9903. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9904. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9905. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9906. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9907. 62.今日免清算
  9908. type: integer
  9909. sectionid:
  9910. description: 时间段号[多时段时用]
  9911. type: integer
  9912. tradedate:
  9913. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9914. type: string
  9915. tradedate2:
  9916. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9917. type: string
  9918. updatetime:
  9919. description: 更新时间
  9920. type: string
  9921. required:
  9922. - marketid
  9923. - nexttradedate
  9924. - reckonflag
  9925. - runstatus
  9926. - tradedate
  9927. - tradedate2
  9928. type: object
  9929. models.Messageboard:
  9930. properties:
  9931. contactnum:
  9932. description: 联系电话
  9933. type: string
  9934. createtime:
  9935. description: 创建时间
  9936. type: string
  9937. message:
  9938. description: 留言信息
  9939. type: string
  9940. messageboardid:
  9941. description: 留言簿ID(SEQ_MessageBoard)
  9942. type: integer
  9943. userid:
  9944. description: 用户ID
  9945. type: integer
  9946. required:
  9947. - messageboardid
  9948. type: object
  9949. models.MyCoupon:
  9950. properties:
  9951. accountid:
  9952. description: 资金账户ID
  9953. type: integer
  9954. areauserid:
  9955. description: 所属机构
  9956. type: integer
  9957. conditionvalue:
  9958. description: 条件阈值(可为0)
  9959. type: number
  9960. couponcategroy:
  9961. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9962. type: integer
  9963. couponname:
  9964. description: 优惠券名称
  9965. type: string
  9966. coupontypeid:
  9967. description: 优惠券类型ID
  9968. type: string
  9969. couponvalue:
  9970. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9971. type: number
  9972. curfreezeqty:
  9973. description: 期末冻结数量
  9974. type: integer
  9975. curqty:
  9976. description: 期末数量
  9977. type: integer
  9978. isgeneral:
  9979. description: 是否通用券 - 0:否 1:是
  9980. type: integer
  9981. isunusable:
  9982. description: 是否不可用
  9983. type: boolean
  9984. limitedflag:
  9985. description: 是否指定商品 - 0:不限 1:限制
  9986. type: integer
  9987. limitedgoodsids:
  9988. description: 指定商品IDs[逗号分隔,前后加逗号]
  9989. type: string
  9990. orifreezeqty:
  9991. description: 期初冻结数量
  9992. type: integer
  9993. oriqty:
  9994. description: 期初数量
  9995. type: integer
  9996. reasontype:
  9997. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9998. type: integer
  9999. todaydecrease:
  10000. description: 今日减少
  10001. type: integer
  10002. todayincrease:
  10003. description: 今日增加
  10004. type: integer
  10005. userid:
  10006. description: 用户ID
  10007. type: integer
  10008. userscope:
  10009. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10010. type: string
  10011. required:
  10012. - accountid
  10013. - coupontypeid
  10014. type: object
  10015. models.MyCouponHold:
  10016. properties:
  10017. accountid:
  10018. description: 资金账户ID
  10019. type: integer
  10020. conditionvalue:
  10021. description: 条件阈值(可为0)
  10022. type: number
  10023. couponcategroy:
  10024. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10025. type: integer
  10026. couponholdid:
  10027. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10028. type: string
  10029. couponname:
  10030. description: 优惠券名称
  10031. type: string
  10032. coupontypeid:
  10033. description: 优惠券类型ID - SEQ_COUPONTYPE
  10034. type: string
  10035. couponvalue:
  10036. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10037. type: number
  10038. createtime:
  10039. description: 创建时间
  10040. type: string
  10041. enddate:
  10042. description: 结束日期
  10043. type: string
  10044. giveapplyid:
  10045. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10046. type: integer
  10047. holdstatus:
  10048. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10049. type: integer
  10050. isgeneral:
  10051. description: 是否通用券 - 0:否 1:是
  10052. type: integer
  10053. limitedflag:
  10054. description: 是否指定商品 - 0:不限 1:限制
  10055. type: integer
  10056. limitedgoodsids:
  10057. description: 指定商品IDs[逗号分隔]
  10058. type: string
  10059. qty:
  10060. description: 数量(按1平铺)
  10061. type: integer
  10062. startdate:
  10063. description: 开始日期
  10064. type: string
  10065. userid:
  10066. description: 用户ID
  10067. type: integer
  10068. userscope:
  10069. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10070. type: string
  10071. required:
  10072. - couponholdid
  10073. type: object
  10074. models.MyUsedCoupon:
  10075. properties:
  10076. accountid:
  10077. description: 资金账户ID(买方)
  10078. type: integer
  10079. conditionvalue:
  10080. description: 条件阈值(可为0)
  10081. type: number
  10082. couponcategroy:
  10083. description: 种类 - 1:现金券 2:折扣券
  10084. type: integer
  10085. couponname:
  10086. description: 优惠券名称
  10087. type: string
  10088. coupontypeid:
  10089. description: 优惠券类型ID(买方)
  10090. type: string
  10091. couponvalue:
  10092. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10093. type: number
  10094. createtime:
  10095. description: 创建时间
  10096. type: string
  10097. goodsid:
  10098. description: 商品ID
  10099. type: integer
  10100. handlestatus:
  10101. description: 处理状态
  10102. type: integer
  10103. marketid:
  10104. description: 市场ID
  10105. type: integer
  10106. offamount:
  10107. description: 优惠金额
  10108. type: number
  10109. orderid:
  10110. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10111. type: string
  10112. sellaccountid:
  10113. description: 资金账户ID(卖方)
  10114. type: integer
  10115. tradeamount:
  10116. description: 成交金额
  10117. type: number
  10118. tradeid:
  10119. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10120. type: string
  10121. usedqty:
  10122. description: 使用数量
  10123. type: integer
  10124. required:
  10125. - coupontypeid
  10126. - orderid
  10127. type: object
  10128. models.OperationPrimaryMenu:
  10129. properties:
  10130. Children:
  10131. description: 二级功能菜单
  10132. items:
  10133. $ref: '#/definitions/models.OperationSecondaryMenu'
  10134. type: array
  10135. Key:
  10136. description: 菜单KEY
  10137. type: string
  10138. Label:
  10139. description: 菜单标题
  10140. type: string
  10141. type: object
  10142. models.OperationSecondaryMenu:
  10143. properties:
  10144. Key:
  10145. description: 菜单KEY
  10146. type: string
  10147. Label:
  10148. description: 菜单标题
  10149. type: string
  10150. TabList:
  10151. description: 三级功能菜单
  10152. items:
  10153. $ref: '#/definitions/models.OperationTabMenu'
  10154. type: array
  10155. type: object
  10156. models.OperationTabMenu:
  10157. properties:
  10158. Key:
  10159. description: 菜单KEY
  10160. type: string
  10161. Label:
  10162. description: 菜单标题
  10163. type: string
  10164. type: object
  10165. models.QhjAccountOutInApply:
  10166. properties:
  10167. accountcode:
  10168. description: 资金账号
  10169. type: string
  10170. accountname:
  10171. description: 用户名称(名称)
  10172. type: string
  10173. accountpwd:
  10174. description: 资金密码
  10175. type: string
  10176. accountticket:
  10177. description: 最新账户服务流水号
  10178. type: string
  10179. amount:
  10180. description: 金额
  10181. type: number
  10182. applyremark:
  10183. description: 申请备注
  10184. type: string
  10185. applystatus:
  10186. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10187. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10188. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10189. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10190. type: integer
  10191. auditid:
  10192. description: 审核人
  10193. type: integer
  10194. audittime:
  10195. description: 审核时间
  10196. type: string
  10197. bank_apply_ticket:
  10198. description: 银行申请流水
  10199. type: string
  10200. bankaccountname:
  10201. description: 银行账户名
  10202. type: string
  10203. bankaccountno:
  10204. description: 银行卡号
  10205. type: string
  10206. bankid:
  10207. description: 银行编号
  10208. type: string
  10209. bankticket:
  10210. description: 银行流水
  10211. type: string
  10212. branchbankid:
  10213. description: 银行支行号
  10214. type: string
  10215. branchbankname:
  10216. description: 银行支行名称
  10217. type: string
  10218. capamountout:
  10219. description: 出金(劣后本金) - 外部子账户
  10220. type: number
  10221. certificatephotourl:
  10222. description: 凭证地址
  10223. type: string
  10224. charge:
  10225. description: 手续费
  10226. type: number
  10227. checkerrorflag:
  10228. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10229. type: integer
  10230. currency:
  10231. description: 币种
  10232. type: string
  10233. cusbankid:
  10234. description: 托管银行编号
  10235. type: string
  10236. exchticket:
  10237. description: 银行服务流水号
  10238. type: string
  10239. executetype:
  10240. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10241. 7:外部子账户:入金 8:外部子账户:出金'
  10242. type: integer
  10243. extendinfo:
  10244. description: 扩展信息
  10245. type: string
  10246. extoperateid:
  10247. description: 交易服务流水号
  10248. type: integer
  10249. infamount:
  10250. description: 劣后金额(自有)
  10251. type: number
  10252. logincode:
  10253. description: 登录账号(账号)
  10254. type: string
  10255. netaddr:
  10256. description: 调转网址
  10257. type: string
  10258. priamount:
  10259. description: 优先金额(授信)
  10260. type: number
  10261. reauditid:
  10262. description: 复审人
  10263. type: integer
  10264. reauditremark:
  10265. description: 复审备注
  10266. type: string
  10267. reaudittime:
  10268. description: 复审时间
  10269. type: string
  10270. relatedorderid:
  10271. description: 三方关联ID
  10272. type: string
  10273. remark:
  10274. description: 备注
  10275. type: string
  10276. remark2:
  10277. description: 备注(失败原因)
  10278. type: string
  10279. soucreamount:
  10280. description: 原始出入金金额
  10281. type: number
  10282. soucrecurrencyid:
  10283. description: 原始出入金币种
  10284. type: integer
  10285. tradedate:
  10286. description: 交易日(yyyyMMdd)
  10287. type: string
  10288. updatetime:
  10289. description: 更新时间(申请时间)
  10290. type: string
  10291. userid:
  10292. description: 用户id
  10293. type: integer
  10294. userinfotype:
  10295. description: 账户类型 1-个人 2-企业
  10296. type: integer
  10297. type: object
  10298. models.QhjAgreementChangeLog:
  10299. properties:
  10300. agreementcontent:
  10301. description: 协议内容
  10302. type: string
  10303. agreementfrequency:
  10304. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10305. type: integer
  10306. agreementid:
  10307. description: 协议ID
  10308. type: integer
  10309. agreementname:
  10310. description: 协议名称
  10311. type: string
  10312. agreementno:
  10313. description: 协议编号
  10314. type: string
  10315. agreementtype:
  10316. description: 协议类型 - 1:注册 2:登录 3:交易
  10317. type: integer
  10318. agreementversion:
  10319. description: 协议版本号
  10320. type: integer
  10321. logid:
  10322. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10323. type: integer
  10324. reviserid:
  10325. description: 修改人
  10326. type: integer
  10327. revisersrc:
  10328. description: 修改来源 - 1:管理端 2:终端
  10329. type: integer
  10330. updatetime:
  10331. description: 更新时间
  10332. type: string
  10333. type: object
  10334. models.QhjAgreementConfig:
  10335. properties:
  10336. agreementcontent:
  10337. description: 协议内容
  10338. type: string
  10339. agreementfrequency:
  10340. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10341. type: integer
  10342. agreementid:
  10343. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10344. type: integer
  10345. agreementname:
  10346. description: 协议名称
  10347. type: string
  10348. agreementno:
  10349. description: 协议编号
  10350. type: string
  10351. agreementtype:
  10352. description: 协议类型 - 1:注册 2:登录 3:交易
  10353. type: integer
  10354. agreementversion:
  10355. description: 协议版本号(从1开始每次修改加1)
  10356. type: integer
  10357. createtime:
  10358. description: 创建时间
  10359. type: string
  10360. creatorid:
  10361. description: 创建人
  10362. type: integer
  10363. creatorsrc:
  10364. description: 创建来源 - 1:管理端 2:终端
  10365. type: integer
  10366. isvalid:
  10367. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10368. type: integer
  10369. reviserid:
  10370. description: 修改人
  10371. type: integer
  10372. revisersrc:
  10373. description: 修改来源 - 1:管理端 2:终端
  10374. type: integer
  10375. updatetime:
  10376. description: 更新时间
  10377. type: string
  10378. type: object
  10379. models.QhjAreaFinanceConfig:
  10380. properties:
  10381. additionalratio:
  10382. description: 追加款比例
  10383. type: number
  10384. advanceratio:
  10385. description: 预付款比例
  10386. type: number
  10387. alarmratio:
  10388. description: 告警比例
  10389. type: number
  10390. consumptiondirectreward:
  10391. description: 消费直推奖励值
  10392. type: number
  10393. consumptionenabled:
  10394. description: 是否启用消费奖励 - 0:不启用 1:启用
  10395. type: integer
  10396. consumptionindirectreward:
  10397. description: 消费间推奖励值
  10398. type: number
  10399. consumptionmodel:
  10400. description: 消费奖励方式 - 1:比率 2:固定
  10401. type: integer
  10402. customerservicenum:
  10403. description: 客服电话
  10404. type: string
  10405. dayinterestrate:
  10406. description: 日利率
  10407. type: number
  10408. disableconsumptiontips:
  10409. description: 关闭消费奖励提示
  10410. type: string
  10411. modifierid:
  10412. description: 修改人ID
  10413. type: integer
  10414. modifysrc:
  10415. description: 审核来源 - 1:管理端 2:终端
  10416. type: integer
  10417. modifytime:
  10418. description: 修改时间
  10419. type: string
  10420. promotionvalue:
  10421. description: 推广奖励值(固定)
  10422. type: number
  10423. scoreconfigvalue1:
  10424. description: 提货积分配置1
  10425. type: integer
  10426. scoreconfigvalue2:
  10427. description: 提货积分配置2
  10428. type: integer
  10429. userid:
  10430. description: 机构用户ID其他做市关系,都设置为 1
  10431. type: integer
  10432. username:
  10433. description: 用户名称
  10434. type: string
  10435. type: object
  10436. models.QhjBankAccountSign:
  10437. properties:
  10438. accountcode:
  10439. description: 资金账号
  10440. type: string
  10441. accountname:
  10442. description: 资金账号对应的账号名(UserName)
  10443. type: string
  10444. accountname2:
  10445. description: 资金账号对应的账号名(UserName) - 密文
  10446. type: string
  10447. accounttype:
  10448. description: 账户类型(UserType)
  10449. type: integer
  10450. applicationtime:
  10451. description: 最后一次更新的时间
  10452. type: string
  10453. applyexchticket:
  10454. description: 申请流水
  10455. type: string
  10456. auditid:
  10457. description: 审核人
  10458. type: integer
  10459. audittime:
  10460. description: 审核时间
  10461. type: string
  10462. bankaccountname:
  10463. description: 签约银行卡账号名
  10464. type: string
  10465. bankaccountname2:
  10466. description: 签约银行卡账号名 - 密文
  10467. type: string
  10468. bankaccountno:
  10469. description: 银行卡号
  10470. type: string
  10471. bankaccountno2:
  10472. description: 银行卡号 - 密文
  10473. type: string
  10474. bankaccounttype:
  10475. description: 银行账户类型 - 1-对私; 2-对公
  10476. type: integer
  10477. bankcardtype:
  10478. description: 银行卡类型
  10479. type: integer
  10480. bankchildaccount:
  10481. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10482. type: string
  10483. bankcity:
  10484. description: 开户行城市
  10485. type: string
  10486. bankid:
  10487. description: 签约银行ID
  10488. type: string
  10489. bankname:
  10490. description: 签约银行名称
  10491. type: string
  10492. bankprovince:
  10493. description: 开户行省份
  10494. type: string
  10495. branchbankid:
  10496. description: 签约银行支行号
  10497. type: string
  10498. branchbankname:
  10499. description: 签约银行支行名称
  10500. type: string
  10501. cardno:
  10502. description: 证件号码
  10503. type: string
  10504. cardno2:
  10505. description: 证件号码 - 密文
  10506. type: string
  10507. cardtype:
  10508. description: 证件类型
  10509. type: string
  10510. currency:
  10511. description: 币种
  10512. type: string
  10513. cusbankid:
  10514. description: 托管银行编号
  10515. type: string
  10516. direct:
  10517. description: 方向(可以判断那方先发起的签约)
  10518. type: integer
  10519. exchticket:
  10520. description: 最后一次签约成功的流水号
  10521. type: string
  10522. extendinfo:
  10523. description: 扩展信息(JSON字符串)
  10524. type: string
  10525. mobilephone:
  10526. description: 手机号
  10527. type: string
  10528. mobilephone2:
  10529. description: 手机号 - 密文
  10530. type: string
  10531. netaddr:
  10532. description: 调转网址
  10533. type: string
  10534. relateduserid:
  10535. description: 关联使用者userid
  10536. type: integer
  10537. signstatus:
  10538. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10539. 10:审核拒绝 11:换签待审核
  10540. type: integer
  10541. updatetime:
  10542. description: 更新时间(签解约更新时间)
  10543. type: string
  10544. type: object
  10545. models.QhjBankInfo:
  10546. properties:
  10547. bankid:
  10548. description: 银行ID
  10549. type: string
  10550. bankname:
  10551. description: 银行名称
  10552. type: string
  10553. clearbankno:
  10554. description: 清算系统银行编号
  10555. type: string
  10556. orderindex:
  10557. description: 排序顺序
  10558. type: integer
  10559. status:
  10560. description: 状态 - 0:正常 1:注销
  10561. type: integer
  10562. type: object
  10563. models.QhjBrokerApply:
  10564. properties:
  10565. applicantid:
  10566. description: 申请人
  10567. type: integer
  10568. applysrc:
  10569. description: 申请来源 - 1:管理端 2:终端
  10570. type: integer
  10571. applystatus:
  10572. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10573. type: integer
  10574. applytime:
  10575. description: 申请时间
  10576. type: string
  10577. auditorid:
  10578. description: 审核人
  10579. type: integer
  10580. auditremark:
  10581. description: 审核备注
  10582. type: string
  10583. auditsrc:
  10584. description: 审核来源 - 1:管理端 2:终端
  10585. type: integer
  10586. audittime:
  10587. description: 审核时间
  10588. type: string
  10589. audittradedate:
  10590. description: 审核交易日(yyyyMMdd)
  10591. type: string
  10592. brokerapplyid:
  10593. description: 申请ID(SEQ_BROKERAPPLY)
  10594. type: integer
  10595. cardbackphotourl:
  10596. description: 证件背面图片地址
  10597. type: string
  10598. cardfrontphotourl:
  10599. description: 证件正面图片地址
  10600. type: string
  10601. cardnum:
  10602. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10603. type: string
  10604. customername:
  10605. description: 姓名
  10606. type: string
  10607. logincode:
  10608. description: 登录代码
  10609. type: string
  10610. mobile:
  10611. description: 手机号码
  10612. type: string
  10613. parentuserid:
  10614. description: 所属机构id
  10615. type: integer
  10616. parentusername:
  10617. description: 所属机构名称
  10618. type: string
  10619. refereeuserid:
  10620. description: 推荐人id(经纪人)
  10621. type: integer
  10622. refernum:
  10623. description: 推荐码
  10624. type: string
  10625. remark:
  10626. description: 备注
  10627. type: string
  10628. subarealevelpath:
  10629. description: 层级路径
  10630. type: string
  10631. tradedate:
  10632. description: 交易日(yyyyMMdd)
  10633. type: string
  10634. userid:
  10635. description: 申请人用户ID
  10636. type: integer
  10637. userinfotype:
  10638. description: 用户类型 1-个人 2-企业
  10639. type: integer
  10640. username:
  10641. description: 用户名称
  10642. type: string
  10643. type: object
  10644. models.QhjBrokerApplyEx:
  10645. properties:
  10646. applylist:
  10647. description: 经纪人申请记录(只返回最新一条)
  10648. items:
  10649. $ref: '#/definitions/models.QhjBrokerApply'
  10650. type: array
  10651. canrecommend:
  10652. description: 是否经纪人 0-不是 1-是
  10653. type: integer
  10654. refernum:
  10655. description: 推荐码
  10656. type: string
  10657. userid:
  10658. description: 用户id
  10659. type: integer
  10660. userinfotype:
  10661. description: 用户类型 1-个人 2-企业
  10662. type: integer
  10663. type: object
  10664. models.QhjBrokerRewardLog:
  10665. properties:
  10666. accountid:
  10667. description: 资金账号ID
  10668. type: integer
  10669. createtime:
  10670. description: 创建时间(时间)
  10671. type: string
  10672. handlestatus:
  10673. description: 处理状态
  10674. type: integer
  10675. logid:
  10676. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10677. type: string
  10678. marketid:
  10679. description: 市场ID
  10680. type: integer
  10681. mmaccountid:
  10682. description: 做市商资金账号ID
  10683. type: string
  10684. mmuserid:
  10685. description: 做市商用户ID
  10686. type: string
  10687. rewardamount:
  10688. description: 奖励金额
  10689. type: number
  10690. rewardmodel:
  10691. description: 消费奖励方式 - 1:比率 2:固定
  10692. type: integer
  10693. rewardtype:
  10694. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10695. type: integer
  10696. rewardvalue:
  10697. description: 配置奖励值
  10698. type: number
  10699. srcamount:
  10700. description: 成交金额 [消费奖励] (金额)
  10701. type: number
  10702. srcgoodsid:
  10703. description: 来源商品ID [消费奖励]
  10704. type: string
  10705. srctime:
  10706. description: 来源时间 (成交时间) [消费奖励]
  10707. type: string
  10708. srctradeid:
  10709. description: 来源成交单ID [消费奖励] - 排除提货成交
  10710. type: string
  10711. srcuserid:
  10712. description: 来源用户ID(推广账户)
  10713. type: string
  10714. srcusername:
  10715. description: 推广账户名称
  10716. type: string
  10717. tradedate:
  10718. description: 交易日(yyyyMMdd)
  10719. type: string
  10720. userid:
  10721. description: 经纪人用户ID
  10722. type: integer
  10723. type: object
  10724. models.QhjContract:
  10725. properties:
  10726. contractconfirmtime:
  10727. description: 合同确认时间(时间)
  10728. type: string
  10729. currisklevel:
  10730. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10731. type: integer
  10732. decimalplace:
  10733. description: 商品报价小数位
  10734. type: integer
  10735. enumdicname:
  10736. description: 单位名称
  10737. type: string
  10738. goodscode:
  10739. description: 商品代码
  10740. type: string
  10741. goodsid:
  10742. description: 商品ID [5:融资单]
  10743. type: integer
  10744. goodsname:
  10745. description: 商品名称
  10746. type: string
  10747. goodunitid:
  10748. description: 商品单位id
  10749. type: integer
  10750. initmargin:
  10751. description: 初始保证金(首付款)
  10752. type: number
  10753. lenderamount:
  10754. description: 贷款金额(总额|订单总额)
  10755. type: number
  10756. marginratio:
  10757. description: 保证金比率(首付比例)
  10758. type: number
  10759. payamount:
  10760. description: 已付(已付货款)
  10761. type: number
  10762. reckonrecovermargin:
  10763. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10764. type: number
  10765. recoveredmargin:
  10766. description: 已追缴保证金
  10767. type: number
  10768. remainamount:
  10769. description: 合同剩余金额(融资额)
  10770. type: number
  10771. scfcontractid:
  10772. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10773. type: string
  10774. scfcontractstatus:
  10775. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10776. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10777. type: integer
  10778. scfcontracttype:
  10779. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10780. type: integer
  10781. totalinterest:
  10782. description: 已计总利息(利息)
  10783. type: number
  10784. tradeprice:
  10785. description: 成交价格(成本价格)
  10786. type: number
  10787. userid:
  10788. description: 用户ID
  10789. type: integer
  10790. username:
  10791. description: 用户名称
  10792. type: string
  10793. wrqty:
  10794. description: 仓单数量(数量)
  10795. type: number
  10796. type: object
  10797. models.QhjContractLog:
  10798. properties:
  10799. amount:
  10800. description: 支付金额
  10801. type: number
  10802. amounttype:
  10803. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10804. type: integer
  10805. logid:
  10806. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10807. type: string
  10808. remainamount:
  10809. description: 剩余货款
  10810. type: number
  10811. scfcontractid:
  10812. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10813. type: integer
  10814. updatetime:
  10815. description: 更新时间
  10816. type: string
  10817. type: object
  10818. models.QhjCusBankSignBankEx:
  10819. properties:
  10820. banklst:
  10821. description: 银行列表
  10822. items:
  10823. $ref: '#/definitions/models.QhjBankInfo'
  10824. type: array
  10825. canallot:
  10826. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10827. type: integer
  10828. canallotquery:
  10829. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10830. type: integer
  10831. canbindcard:
  10832. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10833. type: integer
  10834. caninamount:
  10835. description: 是否可入金 - 0:不可 1:可以
  10836. type: integer
  10837. caninamount2:
  10838. description: 是否可入金(网银端) - 0:不可 1:可以
  10839. type: integer
  10840. canmodifybankcard:
  10841. description: 是否可修改银行卡号 - 0:不可 1:可以
  10842. type: integer
  10843. canmodifyphone:
  10844. description: 是否可修改手机号 - 0:不可 1:可以
  10845. type: integer
  10846. canmodifysigninfo:
  10847. description: 是否可修改签约信息 - 0:不可 1:可以
  10848. type: integer
  10849. canoutamount:
  10850. description: 是否可出金 - 0:不可 1:可以
  10851. type: integer
  10852. canoutamount2:
  10853. description: 是否可出金(网银端) - 0:不可 1:可以
  10854. type: integer
  10855. canrelease:
  10856. description: 是否可解约 - 0:不可 1:可以
  10857. type: integer
  10858. canrelease2:
  10859. description: 是否可解约(网银端) - 0:不可 1:可以
  10860. type: integer
  10861. cansign:
  10862. description: 是否可签约 - 0:不可 1:可以
  10863. type: integer
  10864. cansign2:
  10865. description: 是否可签约(网银端) - 0:不可 1:可以
  10866. type: integer
  10867. currency:
  10868. description: 币种
  10869. type: string
  10870. cusbankid:
  10871. description: 托管银行编号(对应清算中心TRAN_NO)
  10872. type: string
  10873. cusbankname:
  10874. description: 银行业务名称
  10875. type: string
  10876. cusbankshortname:
  10877. description: 银行业务简称
  10878. type: string
  10879. exchbankid:
  10880. description: 交易所开户银行ID
  10881. type: string
  10882. exchpaybankaccname:
  10883. description: 交易所支出结算账户户名
  10884. type: string
  10885. exchpaybankaccno:
  10886. description: 交易所支出结算账户
  10887. type: string
  10888. isneedcheck:
  10889. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10890. type: integer
  10891. isneedclear:
  10892. description: 是否需要清算 - 0:不需要 1:需要
  10893. type: integer
  10894. lastcheckstatus:
  10895. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10896. type: integer
  10897. lastchecktime:
  10898. description: 最后对账时间
  10899. type: string
  10900. lastclearstatus:
  10901. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10902. type: integer
  10903. lastcleartime:
  10904. description: 最后清算时间
  10905. type: string
  10906. lastsignintime:
  10907. description: 最后签到时间
  10908. type: string
  10909. lastsignouttime:
  10910. description: 最后签退时间
  10911. type: string
  10912. riskinfo:
  10913. description: 签约风险提示书
  10914. type: string
  10915. signstatus:
  10916. description: 当前签到/签退状态 - 1:签到 2:签退
  10917. type: integer
  10918. tradedate:
  10919. description: 交易日(yyyyMMdd)
  10920. type: string
  10921. updatetime:
  10922. description: 当前签到/签退更新时间
  10923. type: string
  10924. type: object
  10925. models.QhjCustomer:
  10926. properties:
  10927. address:
  10928. description: 通讯地址
  10929. type: string
  10930. attachment1:
  10931. description: 附件1
  10932. type: string
  10933. audittime:
  10934. description: 审核时间
  10935. type: string
  10936. cardbackphotourl:
  10937. description: 证件反面图片地址
  10938. type: string
  10939. cardfrontphotourl:
  10940. description: 证件正面图片地址
  10941. type: string
  10942. cardnum:
  10943. description: 证件号码
  10944. type: string
  10945. cardtype:
  10946. description: 证件类型
  10947. type: integer
  10948. cardtypename:
  10949. description: 证件类型名称
  10950. type: string
  10951. cityid:
  10952. description: 市
  10953. type: integer
  10954. cityname:
  10955. description: 城市名称
  10956. type: string
  10957. contactname:
  10958. description: 联系人
  10959. type: string
  10960. countryid:
  10961. description: 国家
  10962. type: integer
  10963. countryname:
  10964. description: 国家名称
  10965. type: string
  10966. createtime:
  10967. description: 创建时间
  10968. type: string
  10969. customername:
  10970. description: 客户名称
  10971. type: string
  10972. districtid:
  10973. description: 区域
  10974. type: integer
  10975. districtname:
  10976. description: 地区名称
  10977. type: string
  10978. email:
  10979. description: 邮件
  10980. type: string
  10981. legalpersonname:
  10982. description: 法人姓名(企业)
  10983. type: string
  10984. logincode:
  10985. description: 登录账号(代码)
  10986. type: string
  10987. memberuserid:
  10988. description: 所属机构ID(所属会员)
  10989. type: integer
  10990. memberusername:
  10991. description: 所属会员名称
  10992. type: string
  10993. mobile:
  10994. description: 手机号码
  10995. type: string
  10996. modifytime:
  10997. description: 修改时间
  10998. type: string
  10999. nickname:
  11000. description: 昵称
  11001. type: string
  11002. parentuserid:
  11003. description: 上级机构(所属机构)
  11004. type: integer
  11005. parentusername:
  11006. description: 所属机构名称
  11007. type: string
  11008. provinceid:
  11009. description: 省
  11010. type: integer
  11011. provincename:
  11012. description: 省名称
  11013. type: string
  11014. proxystatementurl:
  11015. description: 授权委托书
  11016. type: string
  11017. remark:
  11018. description: 备注
  11019. type: string
  11020. status:
  11021. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11022. type: integer
  11023. statusdesc:
  11024. description: 账户状态中文描述
  11025. type: string
  11026. taxpayernum:
  11027. description: 纳税人识别号
  11028. type: string
  11029. telphone:
  11030. description: 联系电话
  11031. type: string
  11032. userid:
  11033. description: 用户ID
  11034. type: integer
  11035. userinfotype:
  11036. description: 客户类型 1-个人 2-企业
  11037. type: integer
  11038. username:
  11039. description: 用户名称
  11040. type: string
  11041. type: object
  11042. models.QhjCustomerSignLog:
  11043. properties:
  11044. agreementcontent:
  11045. description: 协议内容
  11046. type: string
  11047. agreementid:
  11048. description: 协议ID
  11049. type: integer
  11050. agreementname:
  11051. description: 协议名称
  11052. type: string
  11053. agreementno:
  11054. description: 协议编号
  11055. type: string
  11056. agreementtype:
  11057. description: 协议类型 - 1:注册 2:登录 3:交易
  11058. type: integer
  11059. agreementversion:
  11060. description: 协议版本号
  11061. type: integer
  11062. createtime:
  11063. description: 创建时间
  11064. type: string
  11065. goodscode:
  11066. description: 商品代码
  11067. type: string
  11068. goodsid:
  11069. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11070. type: integer
  11071. goodsname:
  11072. description: 商品名称
  11073. type: string
  11074. logid:
  11075. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11076. type: integer
  11077. nodetype:
  11078. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11079. type: integer
  11080. signadressurl:
  11081. description: 签约文件地址
  11082. type: string
  11083. signtimestamp:
  11084. description: 签约状态时间戳
  11085. type: string
  11086. userid:
  11087. description: 客户ID
  11088. type: integer
  11089. username:
  11090. description: 客户名称
  11091. type: string
  11092. type: object
  11093. models.QhjCustomerSignStatus:
  11094. properties:
  11095. createtime:
  11096. description: 创建时间
  11097. type: string
  11098. goodscode:
  11099. description: 商品代码
  11100. type: string
  11101. goodsid:
  11102. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11103. type: integer
  11104. goodsname:
  11105. description: 商品名称
  11106. type: string
  11107. nodetype:
  11108. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11109. type: integer
  11110. signtimestamp:
  11111. description: 签约状态时间戳
  11112. type: string
  11113. tradedate:
  11114. description: 创建交易日(yyyyMMdd)
  11115. type: string
  11116. updatetime:
  11117. description: 更新时间
  11118. type: string
  11119. userid:
  11120. description: 客户ID
  11121. type: integer
  11122. username:
  11123. description: 客户名称
  11124. type: string
  11125. type: object
  11126. models.QhjMgrAccountOutInApply:
  11127. properties:
  11128. accountcode:
  11129. description: 资金账号
  11130. type: string
  11131. accountname:
  11132. description: 用户名称(名称)
  11133. type: string
  11134. accountpwd:
  11135. description: 资金密码
  11136. type: string
  11137. accountticket:
  11138. description: 最新账户服务流水号
  11139. type: string
  11140. amount:
  11141. description: 金额
  11142. type: number
  11143. applyremark:
  11144. description: 申请备注
  11145. type: string
  11146. applystatus:
  11147. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11148. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11149. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11150. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11151. type: integer
  11152. auditid:
  11153. description: 审核人
  11154. type: integer
  11155. audittime:
  11156. description: 审核时间
  11157. type: string
  11158. bank_apply_ticket:
  11159. description: 银行申请流水
  11160. type: string
  11161. bankaccountname:
  11162. description: 银行账户名
  11163. type: string
  11164. bankaccountno:
  11165. description: 银行卡号
  11166. type: string
  11167. bankid:
  11168. description: 银行编号
  11169. type: string
  11170. bankname:
  11171. description: 银行名称
  11172. type: string
  11173. bankticket:
  11174. description: 银行流水
  11175. type: string
  11176. branchbankid:
  11177. description: 银行支行号
  11178. type: string
  11179. branchbankname:
  11180. description: 银行支行名称
  11181. type: string
  11182. capamountout:
  11183. description: 出金(劣后本金) - 外部子账户
  11184. type: number
  11185. certificatephotourl:
  11186. description: 凭证地址
  11187. type: string
  11188. charge:
  11189. description: 手续费
  11190. type: number
  11191. checkerrorflag:
  11192. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11193. type: integer
  11194. currency:
  11195. description: 币种
  11196. type: string
  11197. cusbankid:
  11198. description: 托管银行编号
  11199. type: string
  11200. exchticket:
  11201. description: 银行服务流水号
  11202. type: string
  11203. executetype:
  11204. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11205. 7:外部子账户:入金 8:外部子账户:出金'
  11206. type: integer
  11207. extendinfo:
  11208. description: 扩展信息
  11209. type: string
  11210. extoperateid:
  11211. description: 交易服务流水号
  11212. type: integer
  11213. infamount:
  11214. description: 劣后金额(自有)
  11215. type: number
  11216. logincode:
  11217. description: 登录账号(账号)
  11218. type: string
  11219. netaddr:
  11220. description: 调转网址
  11221. type: string
  11222. priamount:
  11223. description: 优先金额(授信)
  11224. type: number
  11225. reauditid:
  11226. description: 复审人
  11227. type: integer
  11228. reauditremark:
  11229. description: 复审备注
  11230. type: string
  11231. reaudittime:
  11232. description: 复审时间
  11233. type: string
  11234. relatedorderid:
  11235. description: 三方关联ID
  11236. type: string
  11237. remark:
  11238. description: 备注
  11239. type: string
  11240. remark2:
  11241. description: 备注(失败原因)
  11242. type: string
  11243. soucreamount:
  11244. description: 原始出入金金额
  11245. type: number
  11246. soucrecurrencyid:
  11247. description: 原始出入金币种
  11248. type: integer
  11249. tradedate:
  11250. description: 交易日(yyyyMMdd)
  11251. type: string
  11252. updatetime:
  11253. description: 更新时间(申请时间)
  11254. type: string
  11255. userid:
  11256. description: 用户id
  11257. type: integer
  11258. userinfotype:
  11259. description: 账户类型 1-个人 2-企业
  11260. type: integer
  11261. type: object
  11262. models.QhjMgrBrokerApply:
  11263. properties:
  11264. applicantid:
  11265. description: 申请人
  11266. type: integer
  11267. applysrc:
  11268. description: 申请来源 - 1:管理端 2:终端
  11269. type: integer
  11270. applystatus:
  11271. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11272. type: integer
  11273. applytime:
  11274. description: 申请时间
  11275. type: string
  11276. auditorid:
  11277. description: 审核人
  11278. type: integer
  11279. auditremark:
  11280. description: 审核备注
  11281. type: string
  11282. auditsrc:
  11283. description: 审核来源 - 1:管理端 2:终端
  11284. type: integer
  11285. audittime:
  11286. description: 审核时间
  11287. type: string
  11288. audittradedate:
  11289. description: 审核交易日(yyyyMMdd)
  11290. type: string
  11291. brokerapplyid:
  11292. description: 申请ID(SEQ_BROKERAPPLY)
  11293. type: integer
  11294. cardbackphotourl:
  11295. description: 证件背面图片地址
  11296. type: string
  11297. cardfrontphotourl:
  11298. description: 证件正面图片地址
  11299. type: string
  11300. cardnum:
  11301. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11302. type: string
  11303. customername:
  11304. description: 姓名
  11305. type: string
  11306. filterstatus:
  11307. description: 筛选条件
  11308. type: string
  11309. logincode:
  11310. description: 登录代码
  11311. type: string
  11312. mobile:
  11313. description: 手机号码
  11314. type: string
  11315. parentuserid:
  11316. description: 所属机构id
  11317. type: integer
  11318. parentusername:
  11319. description: 所属机构名称
  11320. type: string
  11321. refereeuserid:
  11322. description: 推荐人id(经纪人)
  11323. type: integer
  11324. refernum:
  11325. description: 推荐码
  11326. type: string
  11327. remark:
  11328. description: 备注
  11329. type: string
  11330. subarealevelpath:
  11331. description: 层级路径
  11332. type: string
  11333. tradedate:
  11334. description: 交易日(yyyyMMdd)
  11335. type: string
  11336. userid:
  11337. description: 申请人用户ID
  11338. type: integer
  11339. userinfotype:
  11340. description: 用户类型 1-个人 2-企业
  11341. type: integer
  11342. username:
  11343. description: 用户名称
  11344. type: string
  11345. type: object
  11346. models.QhjMgrBrokerRewardReport:
  11347. properties:
  11348. createtime:
  11349. description: 创建时间(注册时间)
  11350. type: string
  11351. cycletime:
  11352. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11353. type: string
  11354. cycletype:
  11355. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11356. type: integer
  11357. directtotalnum:
  11358. description: 直推总人数【期末】
  11359. type: integer
  11360. indirecttotalnum:
  11361. description: 间推总人数【期末】
  11362. type: integer
  11363. mobile:
  11364. description: 电话号码
  11365. type: string
  11366. refereeuserid:
  11367. description: 推荐人id(经纪人id)
  11368. type: integer
  11369. refereeusername:
  11370. description: 推荐人名称(经纪人) 上级经纪人名称
  11371. type: string
  11372. refernum:
  11373. description: 推荐码
  11374. type: string
  11375. subarealevelpath:
  11376. description: 用户层级路径
  11377. type: string
  11378. todayrewardamount:
  11379. description: 奖励总金额【汇总】
  11380. type: number
  11381. updatetime:
  11382. description: 更新时间
  11383. type: string
  11384. userid:
  11385. description: 经纪人用户ID
  11386. type: integer
  11387. userinfotype:
  11388. description: 用户类型 1-个人 2-企业
  11389. type: integer
  11390. username:
  11391. description: 用户名称
  11392. type: string
  11393. type: object
  11394. models.QhjMgrContract:
  11395. properties:
  11396. contractconfirmtime:
  11397. description: 合同确认时间(时间)
  11398. type: string
  11399. currisklevel:
  11400. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11401. type: integer
  11402. decimalplace:
  11403. description: 商品报价小数位
  11404. type: integer
  11405. enumdicname:
  11406. description: 单位名称
  11407. type: string
  11408. goodscode:
  11409. description: 商品代码
  11410. type: string
  11411. goodsid:
  11412. description: 商品ID [5:融资单]
  11413. type: integer
  11414. goodsname:
  11415. description: 商品名称
  11416. type: string
  11417. goodunitid:
  11418. description: 商品单位id
  11419. type: integer
  11420. initmargin:
  11421. description: 初始保证金(首付款)
  11422. type: number
  11423. lenderamount:
  11424. description: 贷款金额(总额|订单总额)
  11425. type: number
  11426. logincode:
  11427. description: 账号(登录代码)
  11428. type: string
  11429. marginratio:
  11430. description: 保证金比率(首付比例)
  11431. type: number
  11432. mobile:
  11433. description: 电话号码(用户资料里的电话)
  11434. type: string
  11435. payamount:
  11436. description: 已付(已付货款)
  11437. type: number
  11438. reckonrecovermargin:
  11439. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11440. type: number
  11441. recoveredmargin:
  11442. description: 已追缴保证金
  11443. type: number
  11444. remainamount:
  11445. description: 合同剩余金额(融资额)
  11446. type: number
  11447. scfcontractid:
  11448. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11449. type: string
  11450. scfcontractstatus:
  11451. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11452. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11453. type: integer
  11454. scfcontracttype:
  11455. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11456. type: integer
  11457. totalinterest:
  11458. description: 已计总利息(利息)
  11459. type: number
  11460. tradedate:
  11461. description: 交易日
  11462. type: string
  11463. tradeprice:
  11464. description: 成交价格(成本价格)
  11465. type: number
  11466. userid:
  11467. description: 用户ID
  11468. type: integer
  11469. userinfotype:
  11470. description: 用户类型 1-个人 2-企业
  11471. type: integer
  11472. username:
  11473. description: 用户名称
  11474. type: string
  11475. wrqty:
  11476. description: 仓单数量(数量)
  11477. type: number
  11478. type: object
  11479. models.QhjMgrCustomer:
  11480. properties:
  11481. address:
  11482. description: 通讯地址
  11483. type: string
  11484. attachment1:
  11485. description: 附件1
  11486. type: string
  11487. audittime:
  11488. description: 审核时间
  11489. type: string
  11490. birthday:
  11491. description: 生日
  11492. type: string
  11493. brokerid:
  11494. description: 所属客户经理id
  11495. type: integer
  11496. brokername:
  11497. description: 所属客户经理名称
  11498. type: string
  11499. cardbackphotourl:
  11500. description: 证件反面图片地址
  11501. type: string
  11502. cardfrontphotourl:
  11503. description: 证件正面图片地址
  11504. type: string
  11505. cardnum:
  11506. description: 证件号码
  11507. type: string
  11508. cardtype:
  11509. description: 证件类型
  11510. type: integer
  11511. cardtypename:
  11512. description: 证件类型名称
  11513. type: string
  11514. cityid:
  11515. description: 市
  11516. type: integer
  11517. cityname:
  11518. description: 城市名称
  11519. type: string
  11520. contactname:
  11521. description: 联系人
  11522. type: string
  11523. countryid:
  11524. description: 国家
  11525. type: integer
  11526. countryname:
  11527. description: 国家名称
  11528. type: string
  11529. createtime:
  11530. description: 创建时间
  11531. type: string
  11532. customername:
  11533. description: 客户名称
  11534. type: string
  11535. districtid:
  11536. description: 区域
  11537. type: integer
  11538. districtname:
  11539. description: 地区名称
  11540. type: string
  11541. email:
  11542. description: 邮件
  11543. type: string
  11544. legalpersonname:
  11545. description: 法人姓名(企业)
  11546. type: string
  11547. logincode:
  11548. description: 登录账号(代码)
  11549. type: string
  11550. memberuserid:
  11551. description: 所属机构ID(所属会员)
  11552. type: integer
  11553. memberusername:
  11554. description: 所属会员名称
  11555. type: string
  11556. mobile:
  11557. description: 手机号码
  11558. type: string
  11559. modifytime:
  11560. description: 修改时间
  11561. type: string
  11562. nickname:
  11563. description: 昵称
  11564. type: string
  11565. parentuserid:
  11566. description: 上级机构(所属机构)
  11567. type: integer
  11568. parentusername:
  11569. description: 所属机构名称
  11570. type: string
  11571. provinceid:
  11572. description: 省
  11573. type: integer
  11574. provincename:
  11575. description: 省名称
  11576. type: string
  11577. proxystatementurl:
  11578. description: 授权委托书
  11579. type: string
  11580. querytype:
  11581. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11582. type: integer
  11583. remark:
  11584. description: 备注
  11585. type: string
  11586. sex:
  11587. description: 性别 0-女 1-男
  11588. type: integer
  11589. status:
  11590. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11591. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11592. type: integer
  11593. statusdesc:
  11594. description: 账户状态中文描述
  11595. type: string
  11596. taxpayernum:
  11597. description: 纳税人识别号
  11598. type: string
  11599. telphone:
  11600. description: 联系电话
  11601. type: string
  11602. userid:
  11603. description: 用户ID
  11604. type: integer
  11605. userinfotype:
  11606. description: 客户类型 1-个人 2-企业
  11607. type: integer
  11608. username:
  11609. description: 用户名称
  11610. type: string
  11611. type: object
  11612. models.QhjMgrPickGoods:
  11613. properties:
  11614. enumdicname:
  11615. description: 单位名称(提货商品)
  11616. type: string
  11617. goodsid:
  11618. description: 商品id
  11619. type: integer
  11620. imageaddress:
  11621. description: 图片
  11622. type: string
  11623. modifierid:
  11624. description: 修改人
  11625. type: integer
  11626. modifiername:
  11627. description: 修改人名称
  11628. type: string
  11629. modifysrc:
  11630. description: 修改来源 - 1:管理端 2:终端
  11631. type: integer
  11632. pickupgoodsagreeunit:
  11633. description: 合约乘数
  11634. type: number
  11635. pickupgoodsdesc:
  11636. description: 描述
  11637. type: string
  11638. pickupgoodsid:
  11639. description: 提货商品ID
  11640. type: string
  11641. pickupgoodsname:
  11642. description: 提货商品名称
  11643. type: string
  11644. pickupgoodsstatus:
  11645. description: 状态 - 1:正常 2:停用 3:注销
  11646. type: integer
  11647. pickupgoodsunitid:
  11648. description: 单位ID
  11649. type: integer
  11650. pickupratio:
  11651. description: 提货系数
  11652. type: number
  11653. preparedays:
  11654. description: 备货期(天)
  11655. type: integer
  11656. remark:
  11657. description: 备注
  11658. type: string
  11659. updatetime:
  11660. description: 更新时间
  11661. type: string
  11662. type: object
  11663. models.QhjMgrPositionRsp:
  11664. properties:
  11665. accountid:
  11666. description: 账号Id
  11667. type: integer
  11668. accountname:
  11669. description: 用户名称
  11670. type: string
  11671. agreeunit:
  11672. description: 合约乘数
  11673. type: number
  11674. averageprice:
  11675. description: 均价
  11676. type: number
  11677. avialqty:
  11678. description: 可用数量
  11679. type: number
  11680. decimalplace:
  11681. description: 报价小数位
  11682. type: integer
  11683. enumdicname:
  11684. description: 单位名称(商品)
  11685. type: string
  11686. frozenqty:
  11687. description: 冻结数量
  11688. type: number
  11689. goodscode:
  11690. description: 商品代码(内部)
  11691. type: string
  11692. goodsid:
  11693. description: 商品Id
  11694. type: integer
  11695. goodsname:
  11696. description: 商品名称
  11697. type: string
  11698. goodunitid:
  11699. description: 报价单位ID
  11700. type: integer
  11701. holderamount:
  11702. description: 金额
  11703. type: number
  11704. holderqty:
  11705. description: 持有数量
  11706. type: number
  11707. holdertype:
  11708. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11709. type: integer
  11710. logincode:
  11711. description: 登录代码(账户)
  11712. type: string
  11713. marketid:
  11714. description: 市场id
  11715. type: integer
  11716. qtydecimalplace:
  11717. description: 成交量小数位
  11718. type: integer
  11719. trademode:
  11720. description: 交易模式
  11721. type: integer
  11722. userid:
  11723. description: 用户id
  11724. type: integer
  11725. userinfotype:
  11726. description: 账户类型 1-个人 2-企业
  11727. type: integer
  11728. type: object
  11729. models.QhjMgrSubArea:
  11730. properties:
  11731. accountname:
  11732. description: 账户名称(机构名称)
  11733. type: string
  11734. memberuserid:
  11735. description: 所属会员ID
  11736. type: integer
  11737. parenttopuser:
  11738. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11739. type: string
  11740. parentuserid:
  11741. description: 所属机构ID
  11742. type: integer
  11743. rootuserid:
  11744. description: 根用户ID
  11745. type: string
  11746. subaccountlevel:
  11747. description: 子账户层数
  11748. type: integer
  11749. subarealevelpath:
  11750. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11751. type: string
  11752. userid:
  11753. description: 用户ID
  11754. type: integer
  11755. usertype:
  11756. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11757. type: integer
  11758. type: object
  11759. models.QhjMgrTradeDetailRsp:
  11760. properties:
  11761. accountid:
  11762. description: 资金账号
  11763. type: integer
  11764. accountname:
  11765. description: 用户名称
  11766. type: string
  11767. agreeunit:
  11768. description: 合约乘数
  11769. type: number
  11770. buyorsell:
  11771. description: 成交类型(方向) 0:买 1:卖
  11772. type: integer
  11773. decimalplace:
  11774. description: 报价小数位
  11775. type: integer
  11776. enumdicname:
  11777. description: 单位名称(商品)
  11778. type: string
  11779. goodscode:
  11780. description: 商品代码(内部)
  11781. type: string
  11782. goodsid:
  11783. description: 商品id
  11784. type: integer
  11785. goodsname:
  11786. description: 商品名称
  11787. type: string
  11788. goodunitid:
  11789. description: 报价单位ID
  11790. type: integer
  11791. logincode:
  11792. description: 登录代码(账户)
  11793. type: string
  11794. marketid:
  11795. description: 市场id
  11796. type: integer
  11797. orderid:
  11798. description: 关联委托单号
  11799. type: string
  11800. qtydecimalplace:
  11801. description: 成交量小数位
  11802. type: integer
  11803. tradeamount:
  11804. description: 金额
  11805. type: number
  11806. tradedate:
  11807. description: 交易日
  11808. type: string
  11809. tradeid:
  11810. description: 成交单号
  11811. type: string
  11812. trademode:
  11813. description: 交易模式
  11814. type: integer
  11815. tradeprice:
  11816. description: 价格
  11817. type: number
  11818. tradeqty:
  11819. description: 数量
  11820. type: number
  11821. tradetime:
  11822. description: 成交时间
  11823. type: string
  11824. userid:
  11825. description: 用户id
  11826. type: integer
  11827. userinfotype:
  11828. description: 账户类型 1-个人 2-企业
  11829. type: integer
  11830. type: object
  11831. models.QhjMgrTradeOrderDetailRsp:
  11832. properties:
  11833. accountid:
  11834. description: 资金账号
  11835. type: integer
  11836. accountname:
  11837. description: 用户名称
  11838. type: string
  11839. agreeunit:
  11840. description: 合约乘数
  11841. type: number
  11842. amount:
  11843. description: 金额
  11844. type: number
  11845. decimalplace:
  11846. description: 报价小数位
  11847. type: integer
  11848. enumdicname:
  11849. description: 单位名称(商品)
  11850. type: string
  11851. goodscode:
  11852. description: 商品代码(内部)
  11853. type: string
  11854. goodsid:
  11855. description: 商品id
  11856. type: integer
  11857. goodsname:
  11858. description: 商品名称
  11859. type: string
  11860. goodunitid:
  11861. description: 报价单位ID
  11862. type: integer
  11863. logincode:
  11864. description: 登录代码(账户)
  11865. type: string
  11866. marketid:
  11867. description: 市场id
  11868. type: integer
  11869. orderid:
  11870. description: 关联委托单号
  11871. type: string
  11872. orderprice:
  11873. description: 价格
  11874. type: number
  11875. orderqty:
  11876. description: 数量
  11877. type: number
  11878. orderstatus:
  11879. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11880. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11881. 16:成交失败违约(荷兰式竞拍专用)
  11882. type: integer
  11883. ordertime:
  11884. description: 委托时间
  11885. type: string
  11886. qtydecimalplace:
  11887. description: 成交量小数位
  11888. type: integer
  11889. tradedate:
  11890. description: 交易日
  11891. type: string
  11892. trademode:
  11893. description: 交易模式
  11894. type: integer
  11895. userid:
  11896. description: 用户id
  11897. type: integer
  11898. userinfotype:
  11899. description: 账户类型 1-个人 2-企业
  11900. type: integer
  11901. type: object
  11902. models.QhjMgrTradePayOrder:
  11903. properties:
  11904. accountname:
  11905. description: 用户名称
  11906. type: string
  11907. advanceratio:
  11908. description: 首付比率
  11909. type: number
  11910. agreeunit:
  11911. description: 合约乘数
  11912. type: number
  11913. buyaccountid:
  11914. description: 买方账号ID[报价币种]
  11915. type: integer
  11916. buyorderid:
  11917. description: 买方委托单号(关联单号)
  11918. type: string
  11919. createtime:
  11920. description: 创建时间
  11921. type: string
  11922. decimalplace:
  11923. description: 报价小数位
  11924. type: integer
  11925. enumdicname:
  11926. description: 单位名称(商品)
  11927. type: string
  11928. goodscode:
  11929. description: 商品代码(内部)
  11930. type: string
  11931. goodsid:
  11932. description: 商品ID
  11933. type: integer
  11934. goodsname:
  11935. description: 商品名称
  11936. type: string
  11937. goodunitid:
  11938. description: 报价单位ID
  11939. type: integer
  11940. logincode:
  11941. description: 登录代码(账户)
  11942. type: string
  11943. marketid:
  11944. description: 市场id
  11945. type: integer
  11946. offamount:
  11947. description: 优惠金额
  11948. type: number
  11949. operatetype:
  11950. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11951. type: integer
  11952. payamount:
  11953. description: 支付金额(金额)
  11954. type: number
  11955. payflag:
  11956. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11957. type: integer
  11958. paylimitedtime:
  11959. description: 支付期限
  11960. type: string
  11961. paytime:
  11962. description: 付款时间
  11963. type: string
  11964. qtydecimalplace:
  11965. description: 成交量小数位
  11966. type: integer
  11967. sellaccountid:
  11968. description: 卖方账号ID[报价币种]
  11969. type: integer
  11970. sellorderid:
  11971. description: 卖方委托单号
  11972. type: string
  11973. tradeamount:
  11974. description: 成交金额(优惠后金额)
  11975. type: number
  11976. tradecharge:
  11977. description: 成交手续费(买方)
  11978. type: number
  11979. tradedate:
  11980. description: 交易日(yyyyMMdd)
  11981. type: string
  11982. tradeid:
  11983. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11984. type: string
  11985. trademode:
  11986. description: 交易模式
  11987. type: integer
  11988. tradeprice:
  11989. description: 成交价格(价格)
  11990. type: number
  11991. tradeqty:
  11992. description: 成交数量(数量)
  11993. type: number
  11994. tradetime:
  11995. description: 成交时间
  11996. type: string
  11997. userid:
  11998. description: 用户id
  11999. type: integer
  12000. userinfotype:
  12001. description: 账户类型 1-个人 2-企业
  12002. type: integer
  12003. type: object
  12004. models.QhjMyTeamEx:
  12005. properties:
  12006. accountname:
  12007. description: 用户名称
  12008. type: string
  12009. accountstatus:
  12010. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12011. type: integer
  12012. createtime:
  12013. description: 创建时间
  12014. type: string
  12015. mobile:
  12016. description: 手机号码
  12017. type: string
  12018. refereeuserid:
  12019. description: 推荐人id
  12020. type: integer
  12021. refernum:
  12022. description: 推荐码
  12023. type: string
  12024. subList:
  12025. items:
  12026. $ref: '#/definitions/models.QhjMyTeamEx'
  12027. type: array
  12028. userid:
  12029. description: 用户id
  12030. type: integer
  12031. userinfotype:
  12032. description: 用户类型 1-个人 2-企业
  12033. type: integer
  12034. type: object
  12035. models.QhjNodeAgreementConfig:
  12036. properties:
  12037. agreementcontent:
  12038. description: 协议内容
  12039. type: string
  12040. agreementid:
  12041. description: 协议ID
  12042. type: integer
  12043. agreementname:
  12044. description: 协议名称
  12045. type: string
  12046. agreementno:
  12047. description: 协议编号
  12048. type: string
  12049. agreementtype:
  12050. description: 协议类型 - 1:注册 2:登录 3:交易
  12051. type: integer
  12052. agreementversion:
  12053. description: 协议版本号
  12054. type: integer
  12055. configid:
  12056. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12057. type: integer
  12058. createtime:
  12059. description: 创建时间
  12060. type: string
  12061. goodsid:
  12062. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12063. type: integer
  12064. nodetype:
  12065. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12066. type: integer
  12067. type: object
  12068. models.QhjParentAreaList:
  12069. properties:
  12070. accountname:
  12071. description: 账户名称(机构名称)
  12072. type: string
  12073. userid:
  12074. description: 用户ID
  12075. type: integer
  12076. usertype:
  12077. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12078. type: integer
  12079. type: object
  12080. models.QhjPayOrder:
  12081. properties:
  12082. advanceratio:
  12083. description: 首付比率
  12084. type: number
  12085. buyaccountid:
  12086. description: 买方账号ID[报价币种]
  12087. type: integer
  12088. buyorderid:
  12089. description: 买方委托单号
  12090. type: string
  12091. createtime:
  12092. description: 创建时间
  12093. type: string
  12094. decimalplace:
  12095. description: 商品报价小数位
  12096. type: integer
  12097. enumdicname:
  12098. description: 单位名称
  12099. type: string
  12100. goodscode:
  12101. description: 商品代码
  12102. type: string
  12103. goodsid:
  12104. description: 商品ID
  12105. type: integer
  12106. goodsname:
  12107. description: 商品名称
  12108. type: string
  12109. goodunitid:
  12110. description: 商品单位id
  12111. type: integer
  12112. marketid:
  12113. description: 市场ID
  12114. type: integer
  12115. offamount:
  12116. description: 优惠金额
  12117. type: number
  12118. operatetype:
  12119. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12120. type: integer
  12121. payamount:
  12122. description: 支付金额
  12123. type: number
  12124. payflag:
  12125. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12126. type: integer
  12127. paylimitedtime:
  12128. description: 支付期限
  12129. type: string
  12130. paytime:
  12131. description: 付款时间
  12132. type: string
  12133. qtydecimalplace:
  12134. description: 成交量小数位
  12135. type: integer
  12136. sellaccountid:
  12137. description: 卖方账号ID[报价币种]
  12138. type: integer
  12139. sellorderid:
  12140. description: 卖方委托单号
  12141. type: string
  12142. tradeamount:
  12143. description: 成交金额(优惠后金额)
  12144. type: number
  12145. tradecharge:
  12146. description: 成交手续费(买方)
  12147. type: number
  12148. tradedate:
  12149. description: 交易日(yyyyMMdd)
  12150. type: string
  12151. tradeid:
  12152. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12153. type: string
  12154. tradeprice:
  12155. description: 成交价格
  12156. type: number
  12157. tradeqty:
  12158. description: 成交数量
  12159. type: number
  12160. type: object
  12161. models.QhjPickArea:
  12162. properties:
  12163. address:
  12164. description: 详细地址
  12165. type: string
  12166. cityid:
  12167. description: 市
  12168. type: integer
  12169. cityname:
  12170. description: 城市名称
  12171. type: string
  12172. countryid:
  12173. description: 国家
  12174. type: integer
  12175. countryname:
  12176. description: 国家名称
  12177. type: string
  12178. districtid:
  12179. description: 地区
  12180. type: integer
  12181. districtname:
  12182. description: 地区名称
  12183. type: string
  12184. fromuserid:
  12185. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12186. type: integer
  12187. fromusername:
  12188. description: 所属机构名称
  12189. type: string
  12190. provinceid:
  12191. description: 省
  12192. type: integer
  12193. provincename:
  12194. description: 省名称
  12195. type: string
  12196. suborgtype:
  12197. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12198. type: integer
  12199. userid:
  12200. description: 机构用户ID 其他做市关系,都设置为 1
  12201. type: integer
  12202. username:
  12203. description: 机构用户名称(门店门称)
  12204. type: string
  12205. type: object
  12206. models.QhjPickGoods:
  12207. properties:
  12208. enumdicname:
  12209. description: 单位名称(提货商品)
  12210. type: string
  12211. goodsid:
  12212. description: 商品id
  12213. type: integer
  12214. imageaddress:
  12215. description: 图片
  12216. type: string
  12217. modifierid:
  12218. description: 修改人
  12219. type: integer
  12220. modifiername:
  12221. description: 修改人名称
  12222. type: string
  12223. modifysrc:
  12224. description: 修改来源 - 1:管理端 2:终端
  12225. type: integer
  12226. pickupgoodsagreeunit:
  12227. description: 合约乘数
  12228. type: number
  12229. pickupgoodsdesc:
  12230. description: 描述
  12231. type: string
  12232. pickupgoodsid:
  12233. description: 提货商品ID
  12234. type: string
  12235. pickupgoodsname:
  12236. description: 提货商品名称
  12237. type: string
  12238. pickupgoodsstatus:
  12239. description: 状态 - 1:正常 2:停用 3:注销
  12240. type: integer
  12241. pickupgoodsunitid:
  12242. description: 单位ID
  12243. type: integer
  12244. pickupratio:
  12245. description: 提货系数
  12246. type: number
  12247. preparedays:
  12248. description: 备货期(天)
  12249. type: integer
  12250. remark:
  12251. description: 备注
  12252. type: string
  12253. updatetime:
  12254. description: 更新时间
  12255. type: string
  12256. type: object
  12257. models.QhjRSTriggerLog:
  12258. properties:
  12259. accountid:
  12260. description: 用户资金账户
  12261. type: integer
  12262. accountname:
  12263. description: 账号名称(ACCOUNTID对应的名称)
  12264. type: string
  12265. currencyid:
  12266. description: 币种id
  12267. type: integer
  12268. currencyname:
  12269. description: 币种名称
  12270. type: string
  12271. decimalplace:
  12272. description: 商品报价小数位
  12273. type: integer
  12274. enumdicname:
  12275. description: 单位名称
  12276. type: string
  12277. goodscode:
  12278. description: 定投商品代码
  12279. type: string
  12280. goodsid:
  12281. description: 定投商品ID
  12282. type: integer
  12283. goodsname:
  12284. description: 定投商品名称
  12285. type: string
  12286. goodunitid:
  12287. description: 定投商品单位id
  12288. type: integer
  12289. logid:
  12290. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12291. type: string
  12292. logincode:
  12293. description: 账号(登录代码)
  12294. type: string
  12295. qtydecimalplace:
  12296. description: 成交量小数位
  12297. type: integer
  12298. regularlycycle:
  12299. description: 定投频率 - 1:每周 2:每月
  12300. type: integer
  12301. regularlycyclevalue:
  12302. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12303. type: string
  12304. regularlymode:
  12305. description: 定投方式 - 1:按数量 2:按金额
  12306. type: integer
  12307. regularlymodevalue:
  12308. description: 定投方式值 - 数量或金额
  12309. type: number
  12310. regularlystrategyid:
  12311. description: 定投策略ID
  12312. type: integer
  12313. retcode:
  12314. description: 错误码
  12315. type: string
  12316. tradeid:
  12317. description: 成交单ID
  12318. type: string
  12319. triggeramount:
  12320. description: 触发金额
  12321. type: number
  12322. triggerqty:
  12323. description: 触发数量
  12324. type: number
  12325. triggerstatus:
  12326. description: 触发状态 - 1:成功 2:失败
  12327. type: integer
  12328. triggertime:
  12329. description: 触发时间
  12330. type: string
  12331. triggertradedate:
  12332. description: 触发交易日
  12333. type: string
  12334. userid:
  12335. description: 所属用户ID
  12336. type: integer
  12337. userinfotype:
  12338. description: 用户类型 1-个人 2-企业
  12339. type: integer
  12340. username:
  12341. description: 用户名称(userid对应的名称)
  12342. type: string
  12343. type: object
  12344. models.QhjRStrategy:
  12345. properties:
  12346. accountid:
  12347. description: 用户资金账户
  12348. type: integer
  12349. accountname:
  12350. description: 账号名称(ACCOUNTID对应的名称)
  12351. type: string
  12352. currencyid:
  12353. description: 币种id
  12354. type: integer
  12355. currencyname:
  12356. description: 币种名称
  12357. type: string
  12358. decimalplace:
  12359. description: 商品报价小数位
  12360. type: integer
  12361. enumdicname:
  12362. description: 单位名称
  12363. type: string
  12364. goodscode:
  12365. description: 定投商品代码
  12366. type: string
  12367. goodsid:
  12368. description: 定投商品ID
  12369. type: integer
  12370. goodsname:
  12371. description: 定投商品名称
  12372. type: string
  12373. goodunitid:
  12374. description: 定投商品单位id
  12375. type: integer
  12376. lasteffecttradedate:
  12377. description: 最新生效交易日
  12378. type: string
  12379. laststoptradedate:
  12380. description: 最新暂停交易日
  12381. type: string
  12382. lasttriggertradedate:
  12383. description: 最新触发交易日
  12384. type: string
  12385. logincode:
  12386. description: 账号(登录代码)
  12387. type: string
  12388. nexttriggeramount:
  12389. description: 下次触发金额
  12390. type: number
  12391. nexttriggerdate:
  12392. description: 下次触发日期
  12393. type: string
  12394. nexttriggerqty:
  12395. description: 下次触发数量 [按小数位放大值]
  12396. type: number
  12397. qtydecimalplace:
  12398. description: 成交量小数位
  12399. type: integer
  12400. regularlycycle:
  12401. description: 定投频率 - 1:每周 2:每月
  12402. type: integer
  12403. regularlycyclevalue:
  12404. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12405. type: string
  12406. regularlymode:
  12407. description: 定投方式 - 1:按数量 2:按金额
  12408. type: integer
  12409. regularlymodevalue:
  12410. description: 定投方式值 - 数量或金额
  12411. type: number
  12412. regularlystrategyid:
  12413. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12414. type: integer
  12415. regularlystrategystatus:
  12416. description: 策略状态 - 1:正常 2:暂停 3:终止
  12417. type: integer
  12418. remark:
  12419. description: 备注
  12420. type: string
  12421. triggersuccesstimes:
  12422. description: 累计定投成功次数
  12423. type: string
  12424. triggertotalamount:
  12425. description: 累计定投金额(成功)
  12426. type: number
  12427. triggertotalqty:
  12428. description: 累计定投数量(成功) [按小数位放大值]
  12429. type: number
  12430. triggertotaltimes:
  12431. description: 累计定投总次数
  12432. type: string
  12433. updatesrc:
  12434. description: 更新来源 - 1:管理端 2:终端
  12435. type: integer
  12436. updatetime:
  12437. description: 更新时间
  12438. type: string
  12439. updatorid:
  12440. description: 更新人
  12441. type: string
  12442. userid:
  12443. description: 所属用户ID
  12444. type: integer
  12445. userinfotype:
  12446. description: 用户类型 1-个人 2-企业
  12447. type: integer
  12448. username:
  12449. description: 用户名称(userid对应的名称)
  12450. type: string
  12451. type: object
  12452. models.QhjReckonPriceLog:
  12453. properties:
  12454. decimalplace:
  12455. description: 商品报价小数位
  12456. type: integer
  12457. goodscode:
  12458. description: 商品代码
  12459. type: string
  12460. goodsid:
  12461. description: 商品ID
  12462. type: integer
  12463. goodsname:
  12464. description: 商品名称
  12465. type: string
  12466. lastreckonprice:
  12467. description: 上日结算价
  12468. type: number
  12469. nextdnlimitprice:
  12470. description: 下个交易日跌停价
  12471. type: number
  12472. nexttrade:
  12473. description: 下个交易日
  12474. type: string
  12475. nextuplimitprice:
  12476. description: 下个交易日涨停价
  12477. type: number
  12478. reckonprice:
  12479. description: 今日结算价(定投价)
  12480. type: number
  12481. reckontime:
  12482. description: 结算时间
  12483. type: string
  12484. totalholderqty:
  12485. description: 总持仓数
  12486. type: integer
  12487. totalstock:
  12488. description: 总库存
  12489. type: integer
  12490. tradedate:
  12491. description: 交易日
  12492. type: string
  12493. updowncount:
  12494. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12495. type: integer
  12496. updownflag:
  12497. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12498. type: integer
  12499. updownrate:
  12500. description: 今日涨跌幅
  12501. type: number
  12502. updownrate_2d:
  12503. description: 连续两日涨跌幅
  12504. type: number
  12505. updownrate_3d:
  12506. description: 连续三日涨跌幅
  12507. type: number
  12508. type: object
  12509. models.QhjScoreLog:
  12510. properties:
  12511. accountid:
  12512. description: 账户ID
  12513. type: integer
  12514. createtime:
  12515. description: 创建时间(时间)
  12516. type: string
  12517. goodsid:
  12518. description: 商品ID
  12519. type: integer
  12520. hasuploaded:
  12521. description: 是否已同步(千海金) 0:未同步 1;已同步
  12522. type: integer
  12523. logid:
  12524. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12525. type: string
  12526. marketid:
  12527. description: 市场ID
  12528. type: integer
  12529. relatedamount:
  12530. description: 关联金额
  12531. type: number
  12532. relatedorderid:
  12533. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12534. type: string
  12535. scoreconfigvalue1:
  12536. description: 积分配置1
  12537. type: integer
  12538. scoreconfigvalue2:
  12539. description: 积分配置1
  12540. type: integer
  12541. scoretype:
  12542. description: 积分类型 - 1:提货积分
  12543. type: integer
  12544. scorevalue:
  12545. description: 积分
  12546. type: number
  12547. tradedate:
  12548. description: 交易日(yyyyMMdd)
  12549. type: string
  12550. uploadedtime:
  12551. description: 同步时间
  12552. type: string
  12553. userid:
  12554. description: 用户ID
  12555. type: integer
  12556. type: object
  12557. models.QhjSiteColumnDetail:
  12558. properties:
  12559. author:
  12560. description: 作者
  12561. type: string
  12562. brief:
  12563. description: 简介
  12564. type: string
  12565. columnid:
  12566. description: 所属栏目
  12567. type: integer
  12568. context:
  12569. description: 内容
  12570. type: string
  12571. coverimage:
  12572. description: 封面图片
  12573. type: string
  12574. creaedate:
  12575. description: 创建时间
  12576. type: string
  12577. creatorid:
  12578. description: 创建人
  12579. type: integer
  12580. hits:
  12581. description: 点击数
  12582. type: integer
  12583. id:
  12584. description: ID(SEQ_SITE_COLUMNDETAIL)
  12585. type: integer
  12586. isshow:
  12587. description: 是否展示 - 0:不展示 1:展示
  12588. type: integer
  12589. istop:
  12590. description: 是否置顶 - 0:不置 1:置顶
  12591. type: integer
  12592. modifierid:
  12593. description: 操作人
  12594. type: integer
  12595. publishdate:
  12596. description: 发布日期
  12597. type: string
  12598. status:
  12599. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12600. type: integer
  12601. title:
  12602. description: 标题
  12603. type: string
  12604. updatedate:
  12605. description: 修改时间
  12606. type: string
  12607. userid:
  12608. description: 用户ID(默认为0, 核心为为机构用户ID)
  12609. type: integer
  12610. username:
  12611. description: 用户名称
  12612. type: string
  12613. type: object
  12614. models.QhjTeamOrder:
  12615. properties:
  12616. accountid:
  12617. description: 账户ID[报价币种]
  12618. type: integer
  12619. accountname:
  12620. description: 账户名称
  12621. type: string
  12622. agreeunit:
  12623. description: 合约乘数
  12624. type: number
  12625. buyorsell:
  12626. description: 方向 - 0:买 1:卖
  12627. type: integer
  12628. decimalplace:
  12629. description: 报价小数位
  12630. type: integer
  12631. enumdicname:
  12632. description: 单位名称
  12633. type: string
  12634. goodscode:
  12635. description: 商品代码(内部)
  12636. type: string
  12637. goodsid:
  12638. description: 商品ID
  12639. type: integer
  12640. goodsname:
  12641. description: 商品名称
  12642. type: string
  12643. goodunitid:
  12644. description: 报价单位ID
  12645. type: integer
  12646. marketid:
  12647. description: 市场ID
  12648. type: integer
  12649. marketname:
  12650. description: 市场名称
  12651. type: string
  12652. qtydecimalplace:
  12653. description: 成交量小数位
  12654. type: integer
  12655. refereeuserid:
  12656. description: 推荐人ID
  12657. type: integer
  12658. tradeamount:
  12659. description: 成交金额[账户币种,用于所有权]
  12660. type: number
  12661. tradedate:
  12662. description: 交易日(yyyyMMdd)
  12663. type: string
  12664. trademode:
  12665. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12666. 21:竞拍-大宗式 22:受托竞价
  12667. type: integer
  12668. tradeprice:
  12669. description: 成交价格
  12670. type: number
  12671. tradeqty:
  12672. description: 成交数量
  12673. type: number
  12674. tradetime:
  12675. description: 成交时间
  12676. type: string
  12677. userid:
  12678. description: 用户ID
  12679. type: integer
  12680. type: object
  12681. models.QhjTradeGoodsPickup:
  12682. properties:
  12683. accountid:
  12684. description: 账户ID
  12685. type: integer
  12686. address:
  12687. description: 提货人详细地址
  12688. type: string
  12689. amount:
  12690. description: 提货金额
  12691. type: number
  12692. artradedate:
  12693. description: 自动收货交易日(yyyyMMdd)
  12694. type: string
  12695. auditer:
  12696. description: 审核人
  12697. type: integer
  12698. auditsrc:
  12699. description: 更新来源 - 1:管理端 2:终端
  12700. type: integer
  12701. audittime:
  12702. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12703. type: string
  12704. audittradedate:
  12705. description: 审核交易日(yyyyMMdd)
  12706. type: string
  12707. cardnum:
  12708. description: 提货人证件号码
  12709. type: string
  12710. cardtypeid:
  12711. description: 提货人证件类型
  12712. type: integer
  12713. checkremark:
  12714. description: 审核备注
  12715. type: string
  12716. cityid:
  12717. description: 市
  12718. type: integer
  12719. cityname:
  12720. description: 城市名称
  12721. type: string
  12722. confirmtime:
  12723. description: 取货时间 或 收货时间
  12724. type: string
  12725. countryid:
  12726. description: 国家
  12727. type: integer
  12728. countryname:
  12729. description: 国家名称
  12730. type: string
  12731. decimalplace:
  12732. description: 商品报价小数位
  12733. type: integer
  12734. districtid:
  12735. description: 地区
  12736. type: integer
  12737. districtname:
  12738. description: 地区名称
  12739. type: string
  12740. enumdicname:
  12741. description: 单位名称(提货商品)
  12742. type: string
  12743. expresscompany:
  12744. description: 物流公司
  12745. type: string
  12746. expressnum:
  12747. description: 物流单号
  12748. type: string
  12749. goodsagreeunit:
  12750. description: 交易商品乘数
  12751. type: number
  12752. goodscode:
  12753. description: 商品代码
  12754. type: string
  12755. goodsid:
  12756. description: 商品ID
  12757. type: integer
  12758. goodsname:
  12759. description: 商品名称
  12760. type: string
  12761. goodsqty:
  12762. description: 交易商品手数(69模式按成交量小数位放大取整)
  12763. type: number
  12764. handlestatus:
  12765. description: 处理状态
  12766. type: integer
  12767. logincode:
  12768. description: 账号(登录代码, 有可能为空)
  12769. type: string
  12770. marketid:
  12771. description: 市场ID
  12772. type: integer
  12773. phonenum:
  12774. description: 提货人联系方式
  12775. type: string
  12776. pickupgoodsagreeunit:
  12777. description: 提货商品合约乘数
  12778. type: number
  12779. pickupgoodsid:
  12780. description: 提货商品ID
  12781. type: string
  12782. pickupgoodsname:
  12783. description: 提货商品名称
  12784. type: string
  12785. pickupgoodsqty:
  12786. description: 提货商品手数(数量)
  12787. type: number
  12788. pickupgoodsunitid:
  12789. description: 单位ID(提货商品)
  12790. type: integer
  12791. pickupratio:
  12792. description: 提货系数
  12793. type: number
  12794. preparedays:
  12795. description: 备货期(天)-提货单明细表
  12796. type: integer
  12797. provinceid:
  12798. description: 省
  12799. type: integer
  12800. provincename:
  12801. description: 省名称
  12802. type: string
  12803. qty:
  12804. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12805. type: number
  12806. qtydecimalplace:
  12807. description: 商品数量小数位
  12808. type: integer
  12809. recivername:
  12810. description: 提货人姓名
  12811. type: string
  12812. reqtime:
  12813. description: 提货申请时间
  12814. type: string
  12815. storeuserid:
  12816. description: 门店用户ID (千海金)
  12817. type: integer
  12818. storeusername:
  12819. description: 门店用户名称
  12820. type: string
  12821. takemode:
  12822. description: 提货方式 - 2:自提 3:配送(邮寄)
  12823. type: integer
  12824. takeorderid:
  12825. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12826. type: string
  12827. takeorderstatus:
  12828. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12829. 7:已拒绝 8:已撤销
  12830. type: integer
  12831. takeremark:
  12832. description: 提货备注
  12833. type: string
  12834. tradedate:
  12835. description: 交易日(yyyyMMdd)
  12836. type: string
  12837. updatetime:
  12838. description: 更新时间
  12839. type: string
  12840. userid:
  12841. description: 用户ID
  12842. type: integer
  12843. userinfotype:
  12844. description: 客户类型 1-个人 2-企业
  12845. type: integer
  12846. username:
  12847. description: 用户名称
  12848. type: string
  12849. type: object
  12850. models.QhjUserNodeCfgAndStatus:
  12851. properties:
  12852. agreementcontent:
  12853. description: 协议内容
  12854. type: string
  12855. agreementid:
  12856. description: 协议ID
  12857. type: integer
  12858. agreementname:
  12859. description: 协议名称
  12860. type: string
  12861. agreementno:
  12862. description: 协议编号
  12863. type: string
  12864. agreementtype:
  12865. description: 协议类型 - 1:注册 2:登录 3:交易
  12866. type: integer
  12867. agreementversion:
  12868. description: 协议版本号
  12869. type: integer
  12870. configid:
  12871. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12872. type: integer
  12873. createtime:
  12874. description: 创建时间
  12875. type: string
  12876. goodsid:
  12877. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12878. type: integer
  12879. nodetype:
  12880. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12881. type: integer
  12882. signtimestamp:
  12883. description: 签约状态时间戳(最近一次)
  12884. type: string
  12885. tradedate:
  12886. description: 签约交易日(yyyyMMdd)
  12887. type: string
  12888. userid:
  12889. description: 客户ID
  12890. type: integer
  12891. type: object
  12892. models.Qhjgoodsex:
  12893. properties:
  12894. canfinance:
  12895. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12896. type: integer
  12897. canregularlybuy:
  12898. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12899. type: integer
  12900. defaulttradeuserid:
  12901. description: 默认交易用户ID
  12902. type: integer
  12903. deliverygoodsid:
  12904. description: 现货品种ID
  12905. type: integer
  12906. goodsid:
  12907. description: 商品ID(自增ID SEQ_GOODS)
  12908. type: integer
  12909. minamount:
  12910. description: 最小购买金额
  12911. type: number
  12912. regularlybuyminamount:
  12913. description: 定投最小金额
  12914. type: number
  12915. regularlybuyminqty:
  12916. description: 定投最小数量
  12917. type: number
  12918. spotgoodsbrandid:
  12919. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12920. type: integer
  12921. visibilityforenterprise:
  12922. description: 企业客户是否可见 - 0:不可见 1:可见
  12923. type: integer
  12924. visibilityforpersonal:
  12925. description: 个人客户是否可见 - 0:不可见 1:可见
  12926. type: integer
  12927. wrstandardid:
  12928. description: 现货商品ID
  12929. type: integer
  12930. type: object
  12931. models.QueryErrorInfosRsp:
  12932. properties:
  12933. description:
  12934. description: 异常描述
  12935. type: string
  12936. errorcode:
  12937. description: 异常代码
  12938. type: string
  12939. errorid:
  12940. description: 异常ID
  12941. type: integer
  12942. modulecode:
  12943. description: 所属模块
  12944. type: string
  12945. operatecode:
  12946. description: 所属操作
  12947. type: string
  12948. rownumber:
  12949. description: 行号
  12950. type: string
  12951. required:
  12952. - errorid
  12953. type: object
  12954. models.QueryHedgeOrderDetailRsp:
  12955. properties:
  12956. accountid:
  12957. description: 账户ID
  12958. type: integer
  12959. buyorsell:
  12960. description: 买卖 - 0:买 1:卖
  12961. type: integer
  12962. cancellogincode:
  12963. description: 撤单人
  12964. type: string
  12965. channelbuildtype:
  12966. description: 开平标志 - 0:无 1:建仓 2:平仓
  12967. type: integer
  12968. channelinnerorderstatus:
  12969. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12970. 9:全部成交
  12971. type: integer
  12972. channeloperatetype:
  12973. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12974. type: integer
  12975. closetype:
  12976. description: 平仓方式 - 0:无 1:平今 2:平昨
  12977. type: integer
  12978. curexchangerate:
  12979. description: 当前汇率
  12980. type: number
  12981. exchangefullname:
  12982. description: 外部交易所全称
  12983. type: string
  12984. goodscode:
  12985. description: 商品代码(内部)
  12986. type: string
  12987. goodsid:
  12988. description: 商品ID
  12989. type: integer
  12990. goodsname:
  12991. description: 商品名称
  12992. type: string
  12993. marketid:
  12994. description: 市场ID
  12995. type: integer
  12996. openfreezemargin:
  12997. description: 冻结保证金(冻结交易金额)
  12998. type: number
  12999. orderid:
  13000. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13001. type: string
  13002. orderlogincode:
  13003. description: 委托人
  13004. type: string
  13005. orderprice:
  13006. description: 委托价格(账户)
  13007. type: number
  13008. orderqty:
  13009. description: 委托数量
  13010. type: integer
  13011. ordertime:
  13012. description: 委托时间
  13013. type: string
  13014. pricemode:
  13015. description: '取价方式 - 1:市价 2: 限价'
  13016. type: integer
  13017. tradedate:
  13018. description: 交易日(yyyyMMdd)
  13019. type: string
  13020. tradeqty:
  13021. description: 成交数量
  13022. type: integer
  13023. type: object
  13024. models.QueryHedgeTradeDetailRsp:
  13025. properties:
  13026. accountid:
  13027. description: 账号ID
  13028. type: integer
  13029. buyorsell:
  13030. description: 方向 - 0:买 1:卖
  13031. type: integer
  13032. channelbuildtype:
  13033. description: 委托单据类型 0:无 1:建仓 2:平仓
  13034. type: integer
  13035. closecharge:
  13036. description: 平仓手续费(账户)
  13037. type: number
  13038. closecharge2:
  13039. description: 平仓手续费(商品)
  13040. type: number
  13041. closepl:
  13042. description: 平仓盈亏(账户)
  13043. type: number
  13044. closepl2:
  13045. description: 平仓盈亏(商品)
  13046. type: number
  13047. closepl3:
  13048. description: 平仓盈亏(账户)(逐笔)
  13049. type: number
  13050. closepl4:
  13051. description: 平仓盈亏(商品)(逐笔)
  13052. type: number
  13053. closetype:
  13054. description: 平仓方式 - 0:无 1:平今 2:平昨
  13055. type: integer
  13056. curexchangerate:
  13057. description: 当前汇率
  13058. type: number
  13059. exchangefullname:
  13060. description: 外部交易所全称
  13061. type: string
  13062. goodscode:
  13063. description: 商品代码(内部)
  13064. type: string
  13065. goodsid:
  13066. description: 商品ID
  13067. type: integer
  13068. goodsname:
  13069. description: 商品名称
  13070. type: string
  13071. marketid:
  13072. description: 市场ID
  13073. type: integer
  13074. opencharge:
  13075. description: 建仓手续费(账户)
  13076. type: number
  13077. opencharge2:
  13078. description: 建仓手续费(商品)
  13079. type: number
  13080. orderid:
  13081. description: 委托单号
  13082. type: string
  13083. orderlogincode:
  13084. description: 委托人
  13085. type: string
  13086. tradeamount:
  13087. description: 成交金额(账户)
  13088. type: number
  13089. tradedate:
  13090. description: 交易日(yyyyMMdd)
  13091. type: string
  13092. tradeid:
  13093. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13094. type: string
  13095. tradeprice:
  13096. description: 成交价格
  13097. type: number
  13098. tradeqty:
  13099. description: 成交数量
  13100. type: integer
  13101. tradetime:
  13102. description: 成交时间
  13103. type: string
  13104. tradetype:
  13105. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13106. type: integer
  13107. type: object
  13108. models.QuotePrimaryMenu:
  13109. properties:
  13110. Index:
  13111. description: 序号
  13112. type: integer
  13113. Key:
  13114. description: 键名
  13115. type: string
  13116. Name:
  13117. description: 菜单名称
  13118. type: string
  13119. SubMenus:
  13120. description: 子菜单
  13121. items:
  13122. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13123. type: array
  13124. SubTitleType:
  13125. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13126. type: integer
  13127. TradeModes:
  13128. description: 包含市场交易类型
  13129. type: string
  13130. type: object
  13131. models.QuoteSecondaryMenu:
  13132. properties:
  13133. ExExchangeCode:
  13134. description: 外部交易所代码
  13135. type: string
  13136. ExExchangeID:
  13137. description: 外部交易所ID
  13138. type: integer
  13139. GoodsGroupIDs:
  13140. description: 商品组ID列表
  13141. items:
  13142. type: integer
  13143. type: array
  13144. Index:
  13145. description: 序号
  13146. type: integer
  13147. MarketID:
  13148. description: 市场ID
  13149. type: integer
  13150. MenuTitle:
  13151. description: 菜单标题(市场名称或外部交易所名称)
  13152. type: string
  13153. TradeMode:
  13154. description: 交易模式
  13155. type: integer
  13156. type: object
  13157. models.RoleMenu:
  13158. properties:
  13159. hasright:
  13160. description: 是否有权限 0-没有权限 1-有权限
  13161. type: integer
  13162. iconame:
  13163. description: 菜单图标
  13164. type: string
  13165. menutype:
  13166. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13167. type: integer
  13168. parentcode:
  13169. description: 上级资源代码
  13170. type: string
  13171. remark:
  13172. description: 菜单备注
  13173. type: string
  13174. resourcecode:
  13175. description: 菜单代码
  13176. type: string
  13177. resourcelevel:
  13178. description: 级别
  13179. type: integer
  13180. resourcename:
  13181. description: 菜单名称
  13182. type: string
  13183. roleid:
  13184. description: 角色id
  13185. type: integer
  13186. sort:
  13187. description: 排序
  13188. type: integer
  13189. subMenu:
  13190. description: 子级菜单(结构同上层一样, swag解析不出来)
  13191. items:
  13192. $ref: '#/definitions/models.RoleMenu'
  13193. type: array
  13194. url:
  13195. description: URL
  13196. type: string
  13197. userid:
  13198. description: 用户id
  13199. type: integer
  13200. type: object
  13201. models.SearchGoods:
  13202. properties:
  13203. goodscode:
  13204. description: 商品代码(内部)
  13205. type: string
  13206. goodsid:
  13207. description: 商品ID(自增ID SEQ_GOODS)
  13208. type: integer
  13209. goodsname:
  13210. description: 商品名称
  13211. type: string
  13212. marketid:
  13213. description: 所属市场ID
  13214. type: integer
  13215. marketname:
  13216. description: 市场名称
  13217. type: string
  13218. trademode:
  13219. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13220. 21:竞拍-大宗式 22:受托竞价
  13221. type: integer
  13222. required:
  13223. - goodscode
  13224. - goodsid
  13225. - goodsname
  13226. - marketid
  13227. - trademode
  13228. type: object
  13229. models.Systemparam:
  13230. properties:
  13231. loginid:
  13232. description: 更新用户账号,登录账号
  13233. type: string
  13234. modifyflag:
  13235. description: 修改标志0 不允许修改 1 允许修改
  13236. type: integer
  13237. paramcode:
  13238. description: 参数代码
  13239. type: string
  13240. paramname:
  13241. description: 参数名
  13242. type: string
  13243. paramtype:
  13244. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13245. type: integer
  13246. paramvalue:
  13247. description: 参数值
  13248. type: string
  13249. paramvalue2:
  13250. description: 参数值(CLOB)
  13251. type: string
  13252. regexpress:
  13253. description: 正则表达式
  13254. type: string
  13255. remark:
  13256. description: 备注
  13257. type: string
  13258. serverip:
  13259. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13260. type: string
  13261. showflag:
  13262. description: 是否显示0 不显示 1 显示
  13263. type: integer
  13264. updatetime:
  13265. description: 更新时间
  13266. type: string
  13267. userid:
  13268. description: 更新用户ID
  13269. type: integer
  13270. required:
  13271. - paramcode
  13272. type: object
  13273. models.Szdz3convertconfig:
  13274. properties:
  13275. canin:
  13276. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13277. type: integer
  13278. canout:
  13279. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13280. type: integer
  13281. converttype:
  13282. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13283. 6:交易转花生米(不设置)
  13284. type: integer
  13285. createtime:
  13286. description: 创建时间
  13287. type: string
  13288. creatorid:
  13289. description: 创建人
  13290. type: integer
  13291. daymaxvalue:
  13292. description: 当日最大转入限制
  13293. type: number
  13294. freezedays:
  13295. description: 冻结天数 [5:花生米转交易]
  13296. type: integer
  13297. innergoodsid:
  13298. description: 内部商品ID[交易]
  13299. type: integer
  13300. inratio:
  13301. description: 目标值
  13302. type: integer
  13303. modifierid:
  13304. description: 修改人
  13305. type: integer
  13306. modifytime:
  13307. description: 修改时间
  13308. type: string
  13309. outergoodscode:
  13310. description: 外部商品代码[JD\PD]
  13311. type: string
  13312. outratio:
  13313. description: 源值
  13314. type: integer
  13315. pddecimalplace:
  13316. description: PD小数位
  13317. type: integer
  13318. timemaxvalue:
  13319. description: 单次最大转入限制
  13320. type: number
  13321. timeminvalue:
  13322. description: 单次最小转入限制
  13323. type: number
  13324. required:
  13325. - converttype
  13326. - innergoodsid
  13327. - outergoodscode
  13328. type: object
  13329. models.Szdz3searchwhitelist:
  13330. properties:
  13331. createtime:
  13332. description: 创建时间
  13333. type: string
  13334. creatorid:
  13335. description: 创建人
  13336. type: integer
  13337. modifierid:
  13338. description: 修改人
  13339. type: integer
  13340. modifytime:
  13341. description: 修改时间
  13342. type: string
  13343. userid:
  13344. description: 用户ID
  13345. type: integer
  13346. required:
  13347. - userid
  13348. type: object
  13349. models.TBGoods:
  13350. properties:
  13351. agreeunit:
  13352. description: 合约乘数
  13353. type: number
  13354. enumdicname:
  13355. description: 单位名称
  13356. type: string
  13357. goodscode:
  13358. description: 商品代码(内部)
  13359. type: string
  13360. goodsid:
  13361. description: 商品ID(自增ID SEQ_GOODS)
  13362. type: integer
  13363. goodsname:
  13364. description: 商品名称
  13365. type: string
  13366. type: object
  13367. models.TBGoodsGroup:
  13368. properties:
  13369. convertratio:
  13370. description: 折算系数
  13371. type: number
  13372. enumdicname:
  13373. description: 单位名称
  13374. type: string
  13375. exexchangecode:
  13376. description: 交易所代码
  13377. type: string
  13378. exexchangename:
  13379. description: 交易所名称
  13380. type: string
  13381. gdlst:
  13382. description: 商品列表
  13383. items:
  13384. $ref: '#/definitions/models.TBGoods'
  13385. type: array
  13386. goodsgroupid:
  13387. description: 商品组ID(自增ID)
  13388. type: integer
  13389. goodsgroupname:
  13390. description: 商品组名称
  13391. type: string
  13392. goodunitid:
  13393. description: 报价单位ID
  13394. type: integer
  13395. type: object
  13396. models.TBMiddleGoods:
  13397. properties:
  13398. areauserid:
  13399. description: 机构用户ID
  13400. type: integer
  13401. enumdicname:
  13402. description: 单位名称
  13403. type: string
  13404. gplst:
  13405. description: 期货品种列表
  13406. items:
  13407. $ref: '#/definitions/models.TBGoodsGroup'
  13408. type: array
  13409. middlegoodscode:
  13410. description: 套保品种代码
  13411. type: string
  13412. middlegoodsid:
  13413. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13414. type: integer
  13415. middlegoodsname:
  13416. description: 套保品种名称
  13417. type: string
  13418. needarbitrageratio:
  13419. description: 套利比率
  13420. type: number
  13421. needhedgeratio:
  13422. description: 套保比率
  13423. type: number
  13424. wdlst:
  13425. description: 商品信息列表(现货品类)
  13426. items:
  13427. $ref: '#/definitions/models.TBWrstandard'
  13428. type: array
  13429. type: object
  13430. models.TBWrstandard:
  13431. properties:
  13432. convertratio:
  13433. description: 折算系数
  13434. type: number
  13435. deliverygoodsname:
  13436. description: 品种名称
  13437. type: string
  13438. enumdicname:
  13439. description: 单位名称
  13440. type: string
  13441. vatrate:
  13442. description: 增值税率
  13443. type: number
  13444. wrstandardcode:
  13445. description: 现货商品代码
  13446. type: string
  13447. wrstandardid:
  13448. description: 现货商品ID(SEQ_WRSTANDARD)
  13449. type: integer
  13450. wrstandardname:
  13451. description: 现货商品名称
  13452. type: string
  13453. type: object
  13454. models.Taaccount:
  13455. properties:
  13456. accountflag:
  13457. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13458. type: integer
  13459. accountid:
  13460. description: 资金账户ID
  13461. type: integer
  13462. accountname:
  13463. description: 账户名称
  13464. type: string
  13465. balance:
  13466. description: 期初余额
  13467. type: number
  13468. capitalbalance:
  13469. description: 本金余额[外部子账户实际出入金余额]
  13470. type: number
  13471. changeflag:
  13472. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13473. type: integer
  13474. changetime:
  13475. description: 账户状态变更时间
  13476. type: string
  13477. closepl:
  13478. description: 今日平仓盈亏
  13479. type: number
  13480. creditdecrease:
  13481. description: 今日授信减少
  13482. type: number
  13483. creditincrease:
  13484. description: 今日授信增加
  13485. type: number
  13486. curamount:
  13487. description: 总市值(从持仓中统计)
  13488. type: number
  13489. currencyid:
  13490. description: 货币ID
  13491. type: integer
  13492. currentbalance:
  13493. description: 期末余额
  13494. type: number
  13495. freezecharge:
  13496. description: 手续费冻结
  13497. type: number
  13498. freezemargin:
  13499. description: 冻结保证金
  13500. type: number
  13501. fromaccountid:
  13502. description: 所属上级账户
  13503. type: integer
  13504. inamount:
  13505. description: 今日入金金额(包括三方入金)
  13506. type: number
  13507. ismain:
  13508. description: 是否母账号 0:不是母账户 1:是母账户
  13509. type: integer
  13510. ismarketaccount:
  13511. description: 是否机构接单账号 0:不是 1:是
  13512. type: integer
  13513. isreckonaccount:
  13514. description: 是否机构分润账号 0:不是 1:是
  13515. type: integer
  13516. mortgagecredit:
  13517. description: 授信金额
  13518. type: number
  13519. orifreezecharge:
  13520. description: 期初手续费冻结
  13521. type: number
  13522. orifreezemargin:
  13523. description: 期初冻结保证金
  13524. type: number
  13525. orimortgagecredit:
  13526. description: 期初授信金额
  13527. type: number
  13528. oriothercredit:
  13529. description: 期初其它授信金额
  13530. type: number
  13531. oriotherfreezemargin:
  13532. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13533. type: number
  13534. orioutamountfreeze:
  13535. description: 期初出金冻结
  13536. type: number
  13537. oriusedmargin:
  13538. description: 期初占用保证金
  13539. type: number
  13540. othercredit:
  13541. description: 其它授信金额
  13542. type: number
  13543. othercreditdecrease:
  13544. description: 今日其它授信减少
  13545. type: number
  13546. othercreditincrease:
  13547. description: 今日其它授信增加
  13548. type: number
  13549. otherfreezemargin:
  13550. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13551. type: number
  13552. otherincome:
  13553. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13554. type: number
  13555. otherpay:
  13556. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13557. type: number
  13558. outamount:
  13559. description: 今日出金金额(包括三方出金)
  13560. type: number
  13561. outamountfreeze:
  13562. description: 出金冻结
  13563. type: number
  13564. outthreshold:
  13565. description: 出金阈值
  13566. type: number
  13567. parentaccountid:
  13568. description: 所属根账号
  13569. type: integer
  13570. paycharge:
  13571. description: 今日手续费支出
  13572. type: number
  13573. relatedaccountstatus:
  13574. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13575. type: integer
  13576. relateduserid:
  13577. description: 关联用户
  13578. type: integer
  13579. remainamount:
  13580. description: 融资额(从融资合同中统计)
  13581. type: number
  13582. serivcegroup:
  13583. description: 服务分组
  13584. type: integer
  13585. signstatus:
  13586. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13587. type: integer
  13588. sublevelpath:
  13589. description: 账号层级路径(逗号分隔,首尾加逗号)
  13590. type: string
  13591. taaccounttype:
  13592. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13593. type: integer
  13594. thirdinamount:
  13595. description: 今日三方入金
  13596. type: number
  13597. thirdoutamount:
  13598. description: 今日三方出金
  13599. type: number
  13600. tradestatus:
  13601. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13602. type: integer
  13603. tradestatuschangetime:
  13604. description: 激活时间
  13605. type: string
  13606. transferamount:
  13607. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13608. type: number
  13609. usedmargin:
  13610. description: 占用保证金
  13611. type: number
  13612. userid:
  13613. description: 用户ID
  13614. type: integer
  13615. required:
  13616. - accountid
  13617. - userid
  13618. type: object
  13619. models.Tablecolumnconfig:
  13620. properties:
  13621. aligntype:
  13622. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13623. type: integer
  13624. autoid:
  13625. description: AutoID
  13626. type: integer
  13627. columnfield:
  13628. description: 列字段
  13629. type: string
  13630. columntitle:
  13631. description: 列Title
  13632. type: string
  13633. columnwidth:
  13634. description: 列宽
  13635. type: string
  13636. formatterstring:
  13637. description: 格式化字符
  13638. type: string
  13639. formattertype:
  13640. description: 格式化类型
  13641. type: string
  13642. groupname:
  13643. description: 表头分组名称
  13644. type: string
  13645. isshow:
  13646. description: 是否显示 - 0:不显示 1:显示
  13647. type: integer
  13648. needsummary:
  13649. description: 是否需要汇总 - 0:不需要 1:需要
  13650. type: integer
  13651. orderindex:
  13652. description: 顺序
  13653. type: integer
  13654. remark:
  13655. description: 备注
  13656. type: string
  13657. summarytype:
  13658. description: 汇总类型 - 1:加总 2:最后一个
  13659. type: integer
  13660. tablekey:
  13661. description: 列表Key
  13662. type: string
  13663. required:
  13664. - autoid
  13665. type: object
  13666. models.TjmdQuoteGoods:
  13667. properties:
  13668. buyqty:
  13669. description: 买量(暂不做, 无值, 保留字段)
  13670. type: number
  13671. goodscode:
  13672. description: 合约代码
  13673. type: string
  13674. goodsgroupid:
  13675. description: 商品组ID(自增ID)
  13676. type: integer
  13677. goodsgroupname:
  13678. description: 商品组名称
  13679. type: string
  13680. goodsid:
  13681. description: 合约id
  13682. type: integer
  13683. goodsname:
  13684. description: 合约名称
  13685. type: string
  13686. refgoodscode:
  13687. description: 标的合约代码
  13688. type: string
  13689. refgoodsid:
  13690. description: 标的合约id
  13691. type: integer
  13692. refgoodsname:
  13693. description: 标的合约名称
  13694. type: string
  13695. sellqty:
  13696. description: 卖量(暂不做, 无值, 保留字段)
  13697. type: number
  13698. type: object
  13699. models.TjmdTodayAccountMargin:
  13700. properties:
  13701. accountid:
  13702. description: 账号ID
  13703. type: integer
  13704. goodsid:
  13705. description: 商品ID
  13706. type: integer
  13707. infoc:
  13708. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13709. description: 配置参数
  13710. marketid:
  13711. description: 市场ID
  13712. type: integer
  13713. type: object
  13714. models.TjmdTradeOrderDetail:
  13715. properties:
  13716. buyorsell:
  13717. description: 买卖方向 0-买 1-卖
  13718. type: integer
  13719. goodsid:
  13720. description: 商品id
  13721. type: integer
  13722. marketmaxsub:
  13723. description: 市价最大偏移范围 [浮动价 - 点差]
  13724. type: number
  13725. orderid:
  13726. description: 委托单号
  13727. type: string
  13728. orderprice:
  13729. description: 委托价格
  13730. type: number
  13731. orderqty:
  13732. description: 委托数量
  13733. type: integer
  13734. pricemode:
  13735. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13736. type: integer
  13737. userid:
  13738. description: 用户id
  13739. type: integer
  13740. username:
  13741. description: 用户名称(已脱敏)
  13742. type: string
  13743. type: object
  13744. models.TjmdTransferApply:
  13745. properties:
  13746. applyid:
  13747. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13748. type: integer
  13749. applystatus:
  13750. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13751. type: integer
  13752. applytime:
  13753. description: 申请时间(时间)
  13754. type: string
  13755. auditremark:
  13756. description: 审核备注(拒绝原因?)
  13757. type: string
  13758. buyorsell:
  13759. description: 买卖 - 0:买 1:卖
  13760. type: integer
  13761. goodscode:
  13762. description: 商品代码
  13763. type: string
  13764. goodsid:
  13765. description: 商品ID
  13766. type: integer
  13767. goodsname:
  13768. description: 商品名称
  13769. type: string
  13770. marketid:
  13771. description: 市场ID
  13772. type: integer
  13773. qty:
  13774. description: 转让数量(数量)
  13775. type: number
  13776. tradeid:
  13777. description: 成交单号(关联持仓)
  13778. type: string
  13779. transferamount:
  13780. description: 转让总金额(金额)
  13781. type: number
  13782. transferprice:
  13783. description: 转让价格(协议价格)
  13784. type: number
  13785. type: object
  13786. models.TradeHolderDetail:
  13787. properties:
  13788. accountid:
  13789. description: 账号ID
  13790. type: integer
  13791. agreeunit:
  13792. description: 合约乘数
  13793. type: number
  13794. buyorsell:
  13795. description: 方向 - 0:买 1:卖
  13796. type: integer
  13797. currencyid:
  13798. description: 商品币种id
  13799. type: integer
  13800. currencyname:
  13801. description: 币种名称
  13802. type: string
  13803. decimalplace:
  13804. description: 商品价格小数位
  13805. type: integer
  13806. enumdicname:
  13807. description: 商品单位名称
  13808. type: string
  13809. expirecycle:
  13810. description: 行权周期(天) - 1:滚动行权时填写
  13811. type: integer
  13812. expiredate:
  13813. description: 行权日(yyyyMMdd) - 到期日
  13814. type: string
  13815. expiretype:
  13816. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13817. type: integer
  13818. freezeqty:
  13819. description: 冻结数量
  13820. type: number
  13821. goodscode:
  13822. description: 商品代码
  13823. type: string
  13824. goodsid:
  13825. description: 商品ID
  13826. type: integer
  13827. goodsname:
  13828. description: 商品名称
  13829. type: string
  13830. goodunitid:
  13831. description: 商品单位id
  13832. type: integer
  13833. holderamount:
  13834. description: 持仓金额
  13835. type: number
  13836. holdercredit:
  13837. description: 持仓授信金额
  13838. type: number
  13839. holderdays:
  13840. description: 剩余冻结天数
  13841. type: integer
  13842. holderprice:
  13843. description: 持仓价格
  13844. type: number
  13845. holderqty:
  13846. description: 持仓数量
  13847. type: number
  13848. isconfirmexercise:
  13849. description: 是否确认行权- 0:否 1:是
  13850. type: integer
  13851. ispreexercise:
  13852. description: 是否预申报- 0:否 1:是 2:不可行权
  13853. type: integer
  13854. marketid:
  13855. description: 市场id
  13856. type: integer
  13857. marketname:
  13858. description: 市场名称
  13859. type: string
  13860. openprice:
  13861. description: 建仓价格
  13862. type: number
  13863. openqty:
  13864. description: 建仓数量
  13865. type: number
  13866. optiontype:
  13867. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13868. type: integer
  13869. preexerciseprice:
  13870. description: 预申报价格
  13871. type: number
  13872. premium:
  13873. description: 权利金
  13874. type: number
  13875. qtydecimalplace:
  13876. description: 商品成交量小数位
  13877. type: integer
  13878. refgoodscode:
  13879. description: 标的合约代码
  13880. type: string
  13881. refgoodsid:
  13882. description: 标的合约id
  13883. type: integer
  13884. releaseamount:
  13885. description: 释放持仓金额
  13886. type: number
  13887. releaseholdercredit:
  13888. description: 释放持仓授信金额
  13889. type: number
  13890. taname:
  13891. description: 资金账号名称
  13892. type: string
  13893. tradeamount:
  13894. description: 成交金额
  13895. type: number
  13896. tradedate:
  13897. description: 交易日(yyyyMMdd)
  13898. type: string
  13899. tradeid:
  13900. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13901. type: string
  13902. trademode:
  13903. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13904. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13905. type: integer
  13906. tradeproperty:
  13907. description: 交易属性
  13908. type: integer
  13909. tradetime:
  13910. description: 交易时间
  13911. type: string
  13912. userid:
  13913. description: 用户id
  13914. type: integer
  13915. username:
  13916. description: 用户名称
  13917. type: string
  13918. type: object
  13919. models.UserCollectConfig:
  13920. properties:
  13921. accountstatus:
  13922. description: 账户状态 - 1:正常 2:停用 3:注销
  13923. type: integer
  13924. collectaccountname:
  13925. description: 收款人账户名称
  13926. type: string
  13927. collectaccountno:
  13928. description: 收款人账户
  13929. type: string
  13930. collectbankname:
  13931. description: 收款人开户行
  13932. type: string
  13933. collectbranchbankname:
  13934. description: 收款人开户支行
  13935. type: string
  13936. collectconfigid:
  13937. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13938. type: string
  13939. remark:
  13940. description: 备注
  13941. type: string
  13942. userid:
  13943. description: 收款人用户ID
  13944. type: integer
  13945. type: object
  13946. models.UserReceiveInfo:
  13947. properties:
  13948. address:
  13949. description: 提货人详细地址
  13950. type: string
  13951. autoid:
  13952. description: AutoID
  13953. type: integer
  13954. cardnum:
  13955. description: 证件号码(加密存储)
  13956. type: string
  13957. cardtypeid:
  13958. description: 证件类型
  13959. type: integer
  13960. cityid:
  13961. description: 市
  13962. type: integer
  13963. cityname:
  13964. description: 城市名称
  13965. type: string
  13966. countryid:
  13967. description: 国家
  13968. type: integer
  13969. countryname:
  13970. description: 国家名称
  13971. type: string
  13972. districtid:
  13973. description: 地区
  13974. type: integer
  13975. districtname:
  13976. description: 地区名称
  13977. type: string
  13978. hasencrypt:
  13979. description: 数据是否已加密 - 0:未加密 1:已加密
  13980. type: integer
  13981. isdefault:
  13982. description: 是否默认地址 - 0:否 1:是
  13983. type: integer
  13984. phonenum:
  13985. description: 提货人联系方式(加密存储)
  13986. type: string
  13987. provinceid:
  13988. description: 省
  13989. type: integer
  13990. provincename:
  13991. description: 省名称
  13992. type: string
  13993. receivername:
  13994. description: 提货人姓名
  13995. type: string
  13996. takeremark:
  13997. description: 提货备注
  13998. type: string
  13999. userid:
  14000. description: 用户ID
  14001. type: integer
  14002. type: object
  14003. models.Useraccount:
  14004. properties:
  14005. accountname:
  14006. description: 账户名称(机构名称)
  14007. type: string
  14008. accountstatus:
  14009. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14010. type: integer
  14011. applysrc:
  14012. description: 申请来源 - 1:管理端 2:终端
  14013. type: integer
  14014. auditremark:
  14015. description: 审核备注
  14016. type: string
  14017. auditsrc:
  14018. description: 审核来源 - 1:管理端 2:终端
  14019. type: integer
  14020. audittime:
  14021. description: 审核时间
  14022. type: string
  14023. audituserid:
  14024. description: 审核人
  14025. type: integer
  14026. broker:
  14027. description: 所属经纪人ID
  14028. type: integer
  14029. canceltime:
  14030. description: 销户时间
  14031. type: string
  14032. canceluserid:
  14033. description: 销户人
  14034. type: integer
  14035. canrecommend:
  14036. description: 是否可推荐 - 0:不可 1;可
  14037. type: integer
  14038. createtime:
  14039. description: 创建时间
  14040. type: string
  14041. creatorid:
  14042. description: 创建人
  14043. type: integer
  14044. hasauth:
  14045. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14046. type: integer
  14047. isanonymous:
  14048. description: 是否匿名下单 - 0:否 1:是
  14049. type: integer
  14050. maxinvestornum:
  14051. description: 最大用户数(经纪会员下投资者个数)
  14052. type: integer
  14053. memberuserid:
  14054. description: 所属会员ID
  14055. type: integer
  14056. modifierid:
  14057. description: 修改人
  14058. type: integer
  14059. modifyremark:
  14060. description: 变更备注
  14061. type: string
  14062. modifystatus:
  14063. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14064. type: integer
  14065. modifytime:
  14066. description: 修改时间
  14067. type: string
  14068. parenttopuser:
  14069. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14070. type: string
  14071. parentuserid:
  14072. description: 所属机构ID
  14073. type: integer
  14074. reckonaccountid:
  14075. description: 默认结算资金账号ID(机构分润使用) 作废
  14076. type: integer
  14077. refercount:
  14078. description: 推荐总人数
  14079. type: integer
  14080. refereeuserid:
  14081. description: 推荐人ID
  14082. type: integer
  14083. refernum:
  14084. description: 推荐码
  14085. type: string
  14086. rootuserid:
  14087. description: 根用户ID
  14088. type: integer
  14089. subaccountlevel:
  14090. description: 子账户层数
  14091. type: integer
  14092. subarealevelpath:
  14093. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14094. type: string
  14095. userid:
  14096. description: 用户ID
  14097. type: integer
  14098. usertype:
  14099. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14100. type: integer
  14101. required:
  14102. - userid
  14103. type: object
  14104. models.Userfavoritegoods:
  14105. properties:
  14106. goodsid:
  14107. description: 商品ID
  14108. type: integer
  14109. required:
  14110. - goodsid
  14111. type: object
  14112. models.Userinfo:
  14113. properties:
  14114. address:
  14115. description: 地址
  14116. type: string
  14117. attachment1:
  14118. description: 附件1
  14119. type: string
  14120. attachment2:
  14121. description: 附件2
  14122. type: string
  14123. bankaccount:
  14124. description: 银行帐号 (加密存储)
  14125. type: string
  14126. bankaccountname:
  14127. description: 收款人名称
  14128. type: string
  14129. bankcardfrontphotourl:
  14130. description: 银行卡正面照地址
  14131. type: string
  14132. bankid:
  14133. description: 银行编码
  14134. type: string
  14135. bankname:
  14136. description: 银行名称
  14137. type: string
  14138. biznature:
  14139. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14140. type: integer
  14141. bizscope:
  14142. description: 企业经营范围(企业)
  14143. type: string
  14144. cardbackphotourl:
  14145. description: 证件背面图片地址
  14146. type: string
  14147. cardfrontphotourl:
  14148. description: 证件正面图片地址
  14149. type: string
  14150. cardnum:
  14151. description: 证件号码(加密存储)
  14152. type: string
  14153. cardtypeid:
  14154. description: 证件类型ID
  14155. type: integer
  14156. cityid:
  14157. description: 市
  14158. type: integer
  14159. company:
  14160. description: 公司(个人)
  14161. type: string
  14162. contactname:
  14163. description: 联系人
  14164. type: string
  14165. countryid:
  14166. description: 国家
  14167. type: integer
  14168. createtime:
  14169. description: 创建时间
  14170. type: string
  14171. creatorid:
  14172. description: 创建人
  14173. type: integer
  14174. customername:
  14175. description: 客户名称(企业名称)
  14176. type: string
  14177. districtid:
  14178. description: 地区
  14179. type: integer
  14180. email:
  14181. description: 邮件(加密存储)
  14182. type: string
  14183. fax:
  14184. description: 传真(加密存储)
  14185. type: string
  14186. halfbodyphotourl:
  14187. description: 半身照地址
  14188. type: string
  14189. hasencrypt:
  14190. description: 数据是否已加密 - 0:未加密 1:已加密
  14191. type: integer
  14192. headurl:
  14193. description: 头像地址
  14194. type: string
  14195. legalcardbackphotourl:
  14196. description: 法人身份证背面照地址
  14197. type: string
  14198. legalcardfrontphotourl:
  14199. description: 法人身份证正面照地址
  14200. type: string
  14201. legalpersonname:
  14202. description: 法人姓名(企业)
  14203. type: string
  14204. mobile:
  14205. description: 手机号码(加密存储)
  14206. type: string
  14207. mobile2:
  14208. description: 手机号码[明文-尚志]
  14209. type: string
  14210. modifierid:
  14211. description: 修改人
  14212. type: integer
  14213. modifiertime:
  14214. description: 修改时间
  14215. type: string
  14216. needinvoice:
  14217. description: 是否需要发票 - 0:不需要 1:需要
  14218. type: integer
  14219. nickname:
  14220. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14221. type: string
  14222. openmode:
  14223. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14224. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14225. type: integer
  14226. otherurl:
  14227. description: 其它图片地址[使用分号分隔]
  14228. type: string
  14229. postalcode:
  14230. description: 邮政编码
  14231. type: string
  14232. provinceid:
  14233. description: 省
  14234. type: integer
  14235. qq:
  14236. description: QQ(加密存储
  14237. type: string
  14238. remark:
  14239. description: 备注
  14240. type: string
  14241. sex:
  14242. description: '用户性别 0: 女 1: 男'
  14243. type: integer
  14244. signpdfurl:
  14245. description: 签约pdf文件
  14246. type: string
  14247. telphone:
  14248. description: 联系电话(加密存储)
  14249. type: string
  14250. userid:
  14251. description: 用户ID
  14252. type: integer
  14253. userinfotype:
  14254. description: 用户信息类型 - 1:个人 2:企业
  14255. type: integer
  14256. userstatus:
  14257. description: 用户状态 - 1:正常 2:注销
  14258. type: integer
  14259. usertype:
  14260. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14261. type: integer
  14262. wechat:
  14263. description: 微信(加密存储)
  14264. type: string
  14265. wskhinfo:
  14266. description: 开户申请信息(JSON)
  14267. type: string
  14268. required:
  14269. - userid
  14270. type: object
  14271. models.WRSConverTDetail:
  14272. properties:
  14273. convertratio:
  14274. description: 套保系数
  14275. type: number
  14276. deliverygoodscode:
  14277. description: 现货商品代码
  14278. type: string
  14279. deliverygoodsid:
  14280. description: 现货品种ID
  14281. type: integer
  14282. deliverygoodsname:
  14283. description: 现货商品名称
  14284. type: string
  14285. enumdicname:
  14286. description: 单位名称
  14287. type: string
  14288. goodsunitid:
  14289. description: 套保品种单位id
  14290. type: integer
  14291. middlegoodscode:
  14292. description: 套保品种代码
  14293. type: string
  14294. middlegoodsid:
  14295. description: 套保品种ID
  14296. type: integer
  14297. middlegoodsname:
  14298. description: 套保品种名称
  14299. type: string
  14300. modifytime:
  14301. description: 修改时间
  14302. type: string
  14303. wrstandardid:
  14304. description: 品类ID
  14305. type: integer
  14306. type: object
  14307. models.WRStandardInfo:
  14308. properties:
  14309. areauserid:
  14310. description: 所属机构
  14311. type: integer
  14312. convertfactor:
  14313. description: 标仓系数
  14314. type: number
  14315. createtime:
  14316. description: 创建时间
  14317. type: string
  14318. creatorid:
  14319. description: 创建人
  14320. type: integer
  14321. deliverygoodsid:
  14322. description: 品种ID
  14323. type: integer
  14324. deliverygoodsname:
  14325. description: 交割商品名称
  14326. type: string
  14327. factoryitemjson:
  14328. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14329. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14330. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14331. 逗号分隔'
  14332. type: string
  14333. isvalid:
  14334. description: 是否有效 - 0:无效 1:有效
  14335. type: integer
  14336. minivalue:
  14337. description: 最小变动值
  14338. type: integer
  14339. minivaluedp:
  14340. description: 最小变动值小数位
  14341. type: integer
  14342. realminivalue:
  14343. description: 实际最小变动值
  14344. type: integer
  14345. realminivaluedp:
  14346. description: 实际最小变动值小数位
  14347. type: integer
  14348. remark:
  14349. description: 备注
  14350. type: string
  14351. unitid:
  14352. description: 单位ID
  14353. type: integer
  14354. unitname:
  14355. description: 单位
  14356. type: string
  14357. updatetime:
  14358. description: 更新时间
  14359. type: string
  14360. updatorid:
  14361. description: 更新人
  14362. type: integer
  14363. wrsstatus:
  14364. description: 状态 - 作废 - 0:未激活 1:正常
  14365. type: integer
  14366. wrstandardcode:
  14367. description: 现货品类代码
  14368. type: string
  14369. wrstandardid:
  14370. description: 现货品类ID(SEQ_WRSTANDARD)
  14371. type: integer
  14372. wrstandardname:
  14373. description: 现货品类名称
  14374. type: string
  14375. required:
  14376. - wrstandardid
  14377. type: object
  14378. models.WRTradeBargainApply:
  14379. properties:
  14380. accountid:
  14381. description: 摘牌资金账号
  14382. type: integer
  14383. applyprice:
  14384. description: 申请价格(议价价格)
  14385. type: string
  14386. applyqty:
  14387. description: 摘牌数量(议价数量)
  14388. type: number
  14389. applyremark:
  14390. description: 申请备注
  14391. type: string
  14392. applystatus:
  14393. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14394. type: integer
  14395. applytime:
  14396. description: 申请时间(议价时间)
  14397. type: string
  14398. buyorsell:
  14399. description: 买卖(挂牌类型) - 0:买 1:卖
  14400. type: integer
  14401. confirmremark:
  14402. description: 确认备注
  14403. type: string
  14404. confirmtime:
  14405. description: 确认时间
  14406. type: string
  14407. confirmuserid:
  14408. description: 确认人
  14409. type: integer
  14410. deliverygoodscode:
  14411. description: 品种代码
  14412. type: string
  14413. deliverygoodsid:
  14414. description: 品种ID
  14415. type: integer
  14416. deliverygoodsname:
  14417. description: 品种名称
  14418. type: string
  14419. deliverymonth:
  14420. description: 交收月
  14421. type: string
  14422. enumdicname:
  14423. description: 单位名称
  14424. type: string
  14425. fixedprice:
  14426. description: 挂牌价格
  14427. type: number
  14428. handlestatus:
  14429. description: 处理状态
  14430. type: integer
  14431. marginvalue:
  14432. description: 履约保证金比例
  14433. type: number
  14434. marketid:
  14435. description: 市场ID
  14436. type: integer
  14437. matchaccountid:
  14438. description: 挂牌方资金账号
  14439. type: integer
  14440. matchuserid:
  14441. description: 挂牌方用户id
  14442. type: integer
  14443. matchusername:
  14444. description: 挂牌方用户名称(已脱敏)
  14445. type: string
  14446. minivalue:
  14447. description: 现货商品最小变动值
  14448. type: integer
  14449. optioncompare:
  14450. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14451. type: string
  14452. orderqty:
  14453. description: 挂牌数量
  14454. type: integer
  14455. refprice:
  14456. description: 参考价格
  14457. type: string
  14458. retcode:
  14459. description: 委托返回代码
  14460. type: integer
  14461. templatename:
  14462. description: 履约方式(履约模板名称)
  14463. type: string
  14464. tradedate:
  14465. description: 交易日(yyyyMMdd)
  14466. type: string
  14467. userid:
  14468. description: 摘牌人用户ID(议价人ID)
  14469. type: integer
  14470. username:
  14471. description: 议价人名字(已脱敏)
  14472. type: string
  14473. validtime:
  14474. description: 有效期限
  14475. type: string
  14476. warehouseid:
  14477. description: 仓库ID
  14478. type: integer
  14479. warehousename:
  14480. description: 仓库名称
  14481. type: string
  14482. wrbargainid:
  14483. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14484. type: string
  14485. wrfactortypeid:
  14486. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14487. type: string
  14488. wrfactortypename:
  14489. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14490. type: string
  14491. wrstandardcode:
  14492. description: 现货商品代码
  14493. type: string
  14494. wrstandardid:
  14495. description: 现货商品ID
  14496. type: integer
  14497. wrstandardname:
  14498. description: 商品名称
  14499. type: string
  14500. wrtradeorderid:
  14501. description: 关联委托单ID
  14502. type: string
  14503. wrtypename:
  14504. description: 商品
  14505. type: string
  14506. type: object
  14507. models.Warehouseinfo:
  14508. properties:
  14509. address:
  14510. description: 详细地址
  14511. type: string
  14512. areauserid:
  14513. description: 所属机构
  14514. type: integer
  14515. autoid:
  14516. description: 自增ID
  14517. type: integer
  14518. cityid:
  14519. description: 市
  14520. type: integer
  14521. contactname:
  14522. description: 联系人
  14523. type: string
  14524. contactnum:
  14525. description: 联系电话
  14526. type: string
  14527. countryid:
  14528. description: 国家
  14529. type: integer
  14530. createtime:
  14531. description: 创建时间
  14532. type: string
  14533. districtid:
  14534. description: 区
  14535. type: integer
  14536. hasvideo:
  14537. description: 是否有视频 - 0:无 1:有
  14538. type: integer
  14539. provinceid:
  14540. description: 省
  14541. type: integer
  14542. remark:
  14543. description: 审核备注
  14544. type: string
  14545. videourl:
  14546. description: 视频地址
  14547. type: string
  14548. warehousecode:
  14549. description: 仓库代码
  14550. type: string
  14551. warehousename:
  14552. description: 仓库名称
  14553. type: string
  14554. warehousestatus:
  14555. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14556. type: integer
  14557. warehousetype:
  14558. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14559. type: integer
  14560. required:
  14561. - autoid
  14562. - warehousecode
  14563. type: object
  14564. models.WrAverageTradePrice:
  14565. properties:
  14566. averageprice:
  14567. description: 成交均价
  14568. type: number
  14569. tradedate:
  14570. description: 交易日yyyymm
  14571. type: string
  14572. type: object
  14573. models.WrBsGoodsInfo:
  14574. properties:
  14575. buyorsell:
  14576. description: 买卖方向 0-买 1-卖
  14577. type: integer
  14578. goodsid:
  14579. description: 交易合约ID
  14580. type: integer
  14581. lstitem:
  14582. description: 商品信息项
  14583. items:
  14584. $ref: '#/definitions/models.WrTypeItem'
  14585. type: array
  14586. lststep:
  14587. description: 履约规则
  14588. items:
  14589. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14590. type: array
  14591. type: object
  14592. models.WrBuybackDetail:
  14593. properties:
  14594. buybackamount:
  14595. description: 回购金额
  14596. type: number
  14597. buybackqty:
  14598. description: 回购数量
  14599. type: number
  14600. buybackreleasemargin:
  14601. description: 回购释放保证金
  14602. type: number
  14603. buybacktime:
  14604. description: 回购时间
  14605. type: string
  14606. errordesc:
  14607. description: 错误描述
  14608. type: string
  14609. handlestatus:
  14610. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14611. type: integer
  14612. relatedwrid:
  14613. description: 关联仓单ID
  14614. type: integer
  14615. scfcontractid:
  14616. description: SCF合同ID
  14617. type: string
  14618. scfwrbuybackid:
  14619. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14620. type: integer
  14621. tradedate:
  14622. description: 交易日(yyyyMMdd)
  14623. type: string
  14624. type: object
  14625. models.WrDeliveryAvalidHoldLB:
  14626. properties:
  14627. accountid:
  14628. description: 资金账号
  14629. type: integer
  14630. avalidqty:
  14631. description: 数量(可点选数量)
  14632. type: number
  14633. deliverygoodsid:
  14634. description: 品种id
  14635. type: integer
  14636. enumdicname:
  14637. description: 单位名称
  14638. type: string
  14639. goodsid:
  14640. description: x合约商品id
  14641. type: integer
  14642. ladingbillid:
  14643. description: 提单id
  14644. type: string
  14645. pgoodscode:
  14646. description: p商品代码(点价合约)
  14647. type: string
  14648. pgoodsid:
  14649. description: p商品id(点价合约)
  14650. type: integer
  14651. pgoodsname:
  14652. description: p商品名称(点价合约)
  14653. type: string
  14654. pricemove:
  14655. description: 升贴水
  14656. type: number
  14657. subnum:
  14658. description: 提单子id
  14659. type: integer
  14660. userid:
  14661. description: 用户id
  14662. type: integer
  14663. username:
  14664. description: 仓单持有人
  14665. type: string
  14666. warehousecode:
  14667. description: 仓库代码
  14668. type: string
  14669. warehouseid:
  14670. description: 仓库id
  14671. type: integer
  14672. warehousename:
  14673. description: 仓库名称
  14674. type: string
  14675. wrfactortypeid:
  14676. description: 仓单要素id
  14677. type: string
  14678. wrstandardcode:
  14679. description: 品代码
  14680. type: string
  14681. wrstandardid:
  14682. description: 品类d
  14683. type: integer
  14684. wrstandardname:
  14685. description: 品类名称
  14686. type: string
  14687. wrtypename:
  14688. description: 商品
  14689. type: string
  14690. xgoodscode:
  14691. description: x合约代码
  14692. type: string
  14693. xgoodsname:
  14694. description: x合约名称
  14695. type: string
  14696. type: object
  14697. models.WrDeliveryDetail:
  14698. properties:
  14699. accountid:
  14700. description: 账号ID
  14701. type: integer
  14702. averageprice:
  14703. description: 交割均价 = 交割金额 / 交割数量
  14704. type: number
  14705. buyorsell:
  14706. description: 方向 - 0:买 1:卖
  14707. type: integer
  14708. deliveryamount:
  14709. description: 货款金额(X总货款+P总货款)
  14710. type: number
  14711. deliveryid:
  14712. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14713. type: string
  14714. deliveryorderid:
  14715. description: 申报单号
  14716. type: string
  14717. deliverypricemove:
  14718. description: 升贴水(升贴水总额)
  14719. type: number
  14720. deliveryqty:
  14721. description: 交收数量(点选数量)
  14722. type: number
  14723. deliverystatus:
  14724. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14725. type: integer
  14726. deliverytime:
  14727. description: 交割时间
  14728. type: string
  14729. deliverytotalamount:
  14730. description: 交收金额
  14731. type: number
  14732. enumdicname:
  14733. description: 单位名称
  14734. type: string
  14735. matchaccountid:
  14736. description: 对手账号ID
  14737. type: integer
  14738. matchusername:
  14739. description: 对手方名称(仓单持有人)
  14740. type: string
  14741. p1goodsremainamount:
  14742. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14743. type: number
  14744. pdeliverycloseqty:
  14745. description: p合约平仓数量
  14746. type: number
  14747. pdeliveryprice:
  14748. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14749. type: number
  14750. pgoodscode:
  14751. description: 商品代码
  14752. type: string
  14753. pgoodsid:
  14754. description: p点选合约id
  14755. type: integer
  14756. pgoodsname:
  14757. description: 商品名称
  14758. type: string
  14759. ppricemode:
  14760. description: 点价价格方式 - 1:商品价 2:固定值
  14761. type: integer
  14762. tradedate:
  14763. description: 交易日(yyyymmdd)
  14764. type: string
  14765. userid:
  14766. description: 用户id
  14767. type: integer
  14768. username:
  14769. description: 用户名称
  14770. type: string
  14771. warehousename:
  14772. description: 仓库名称
  14773. type: string
  14774. wrfactortypeid:
  14775. description: 仓单要素类型ID
  14776. type: string
  14777. wrtypename:
  14778. description: 商品
  14779. type: string
  14780. xdeliverycloseqty:
  14781. description: 合约数量
  14782. type: number
  14783. xgoodsamount:
  14784. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14785. type: number
  14786. xgoodscode:
  14787. description: 商品代码
  14788. type: string
  14789. xgoodsid:
  14790. description: x交易合约ID
  14791. type: integer
  14792. xgoodsname:
  14793. description: 商品名称
  14794. type: string
  14795. type: object
  14796. models.WrFAProductDetail:
  14797. properties:
  14798. accountid:
  14799. description: 资金账号
  14800. type: integer
  14801. areauserid:
  14802. description: 金融机构ID
  14803. type: integer
  14804. financingdays:
  14805. description: 天数(天)
  14806. type: integer
  14807. interestminlen:
  14808. description: 最小起息天数
  14809. type: integer
  14810. interestrate:
  14811. description: 利率
  14812. type: number
  14813. interestratemode:
  14814. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14815. type: integer
  14816. interestsettlemode:
  14817. description: 结息方式 - 1:按日结息 3:按月结息
  14818. type: integer
  14819. interestsettlevalue:
  14820. description: 结息方式值
  14821. type: integer
  14822. isautoloan:
  14823. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14824. type: integer
  14825. loantag:
  14826. description: '放款标识: "放款快" 或者为空'
  14827. type: string
  14828. marginratio:
  14829. description: 保证金比率质押率 - [仓单质押]
  14830. type: number
  14831. productdetailid:
  14832. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14833. type: integer
  14834. productid:
  14835. description: 金融产品ID
  14836. type: integer
  14837. productname:
  14838. description: 产品名称
  14839. type: string
  14840. updatetime:
  14841. description: 更新时间
  14842. type: string
  14843. username:
  14844. description: 融出方
  14845. type: string
  14846. type: object
  14847. models.WrFactorTypeInfo:
  14848. properties:
  14849. deliverygoodscode:
  14850. description: 品种代码
  14851. type: string
  14852. deliverygoodsname:
  14853. description: 品种名称
  14854. type: string
  14855. dgfactoryitemid:
  14856. description: 选择项id
  14857. type: integer
  14858. dgfactoryitemtypeid:
  14859. description: 要素选择项ID (1-仓库 2-品牌)
  14860. type: integer
  14861. dgfactoryitemvalue:
  14862. description: 要素项值
  14863. type: string
  14864. itemtypename:
  14865. description: 要素项名称
  14866. type: string
  14867. optioncompare:
  14868. description: 选择比较串
  14869. type: string
  14870. warehouseid:
  14871. description: 仓库id
  14872. type: integer
  14873. wrfactortypeid:
  14874. description: 仓单要素ID
  14875. type: string
  14876. wrfactortypename:
  14877. description: 要素名称
  14878. type: string
  14879. wrfactortypename2:
  14880. description: 要素名称(不含仓库)
  14881. type: string
  14882. wrstandardcode:
  14883. description: 品类代码
  14884. type: string
  14885. wrstandardid:
  14886. description: 品类id
  14887. type: integer
  14888. wrstandardname:
  14889. description: 品类名称
  14890. type: string
  14891. type: object
  14892. models.WrFilterItem:
  14893. properties:
  14894. itemcode:
  14895. description: 代码
  14896. type: string
  14897. itemid:
  14898. description: 项id
  14899. type: integer
  14900. itemname:
  14901. description: 名称
  14902. type: string
  14903. itemtype:
  14904. description: 类型 1-品种 2-品类(商品) 3-仓库
  14905. type: integer
  14906. type: object
  14907. models.WrFinanceBuyApply:
  14908. properties:
  14909. applydate:
  14910. description: 申请时间
  14911. type: string
  14912. applystatus:
  14913. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14914. type: integer
  14915. applyuserid:
  14916. description: 申请人
  14917. type: integer
  14918. auditdate:
  14919. description: 审核时间
  14920. type: string
  14921. auditremark:
  14922. description: 审核备注
  14923. type: string
  14924. audituserid:
  14925. description: 审核人
  14926. type: integer
  14927. buyaccountid:
  14928. description: 买方资金账号
  14929. type: integer
  14930. buyorsell:
  14931. description: 买卖 - 0:买 1:卖
  14932. type: integer
  14933. buyuserid:
  14934. description: 买方用户ID
  14935. type: integer
  14936. buyusername:
  14937. description: 买方名称
  14938. type: string
  14939. buywrtradeorderid:
  14940. description: 融资方买委托单ID
  14941. type: string
  14942. deliverygoodscode:
  14943. description: 品种代码
  14944. type: string
  14945. deliverygoodsid:
  14946. description: 品种ID
  14947. type: integer
  14948. deliverygoodsname:
  14949. description: 品种名称
  14950. type: string
  14951. deliverymonth:
  14952. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14953. type: string
  14954. enumdicname:
  14955. description: 单位名称
  14956. type: string
  14957. financeaccountid:
  14958. description: 融资方资金帐户ID
  14959. type: integer
  14960. financeapplyid:
  14961. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14962. type: string
  14963. financeareauserid:
  14964. description: 融资方用户ID
  14965. type: string
  14966. financename:
  14967. description: 融出方名称
  14968. type: string
  14969. financetype:
  14970. description: 融资类型 1-融资回购
  14971. type: integer
  14972. financingdays:
  14973. description: 天数(天)
  14974. type: integer
  14975. freezebuymargin:
  14976. description: 冻结融资保证金(买方)
  14977. type: number
  14978. handleremark:
  14979. description: 处理备注
  14980. type: string
  14981. handlestatus:
  14982. description: 处理状态
  14983. type: integer
  14984. interestminlen:
  14985. description: 最小起息天数
  14986. type: integer
  14987. interestrate:
  14988. description: 利率
  14989. type: number
  14990. interestratemode:
  14991. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14992. type: integer
  14993. interestsettlemode:
  14994. description: 结息方式 - 1:按日结息 3:按月结息
  14995. type: integer
  14996. interestsettlevalue:
  14997. description: 结息方式值
  14998. type: integer
  14999. isautoloan:
  15000. description: 是否自动放款 - 0:手动 1:自动
  15001. type: integer
  15002. marginratio:
  15003. description: 保证金比率质押率 - [仓单质押]
  15004. type: number
  15005. marketid:
  15006. description: 市场ID
  15007. type: integer
  15008. minivalue:
  15009. description: 现货商品最小变动值
  15010. type: integer
  15011. optioncompare:
  15012. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15013. type: string
  15014. orderqty:
  15015. description: 委托数量(商品数量)
  15016. type: number
  15017. productdetailid:
  15018. description: 产品组合ID
  15019. type: integer
  15020. productid:
  15021. description: 金融产品ID
  15022. type: integer
  15023. productname:
  15024. description: 产品名称
  15025. type: string
  15026. remark:
  15027. description: 备注
  15028. type: string
  15029. scfcontractid:
  15030. description: 仓单回购合同ID
  15031. type: string
  15032. sellaccountid:
  15033. description: 卖方资金账号
  15034. type: integer
  15035. selluserid:
  15036. description: 卖方用户ID
  15037. type: integer
  15038. sellwrtradeorderid:
  15039. description: 卖方委托单ID
  15040. type: string
  15041. tradeamount:
  15042. description: 成交金额(借款金额)
  15043. type: number
  15044. tradedate:
  15045. description: 交易日(yyyyMMdd)
  15046. type: string
  15047. tradeprice:
  15048. description: 成交价格
  15049. type: number
  15050. warehouseid:
  15051. description: 仓库ID
  15052. type: integer
  15053. warehousename:
  15054. description: 仓库名称
  15055. type: string
  15056. wrfactortypeid:
  15057. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15058. type: string
  15059. wrfactortypename:
  15060. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15061. type: string
  15062. wrpricetype:
  15063. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15064. type: integer
  15065. wrstandardcode:
  15066. description: 现货商品代码
  15067. type: string
  15068. wrstandardid:
  15069. description: 现货商品ID
  15070. type: integer
  15071. wrstandardname:
  15072. description: 商品名称
  15073. type: string
  15074. wrtypename:
  15075. description: 商品
  15076. type: string
  15077. type: object
  15078. models.WrFriendApply:
  15079. properties:
  15080. applicantid:
  15081. description: 申请人
  15082. type: integer
  15083. applyname:
  15084. description: 申请人名称
  15085. type: string
  15086. applysrc:
  15087. description: 申请来源 - 1:管理端 2:终端
  15088. type: integer
  15089. applystatus:
  15090. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15091. type: integer
  15092. applytime:
  15093. description: 申请时间
  15094. type: string
  15095. auditname:
  15096. description: 审核人名称
  15097. type: string
  15098. auditorid:
  15099. description: 审核人
  15100. type: integer
  15101. auditremark:
  15102. description: 审核备注
  15103. type: string
  15104. auditsrc:
  15105. description: 审核来源 - 1:管理端 2:终端
  15106. type: integer
  15107. audittime:
  15108. description: 审核时间
  15109. type: string
  15110. friendapplyid:
  15111. description: 申请ID(SEQ_FRIENDAPPLY)
  15112. type: string
  15113. friendname:
  15114. description: 好友名字(已脱敏)
  15115. type: string
  15116. frienduserid:
  15117. description: 好友用户ID
  15118. type: string
  15119. remark:
  15120. description: 备注
  15121. type: string
  15122. userid:
  15123. description: 申请人用户ID
  15124. type: integer
  15125. type: object
  15126. models.WrFtDeliveryGoods:
  15127. properties:
  15128. deliverygoodscode:
  15129. description: 品种代码
  15130. type: string
  15131. deliverygoodsid:
  15132. description: 品种ID
  15133. type: integer
  15134. deliverygoodsname:
  15135. description: 品种名称
  15136. type: string
  15137. wdlst:
  15138. description: 商品列表
  15139. items:
  15140. $ref: '#/definitions/models.WrFtWrstandard'
  15141. type: array
  15142. type: object
  15143. models.WrFtWrstandard:
  15144. properties:
  15145. enumdicname:
  15146. description: 单位名称
  15147. type: string
  15148. minivalue:
  15149. description: 最小变动值
  15150. type: integer
  15151. wrstandardcode:
  15152. description: 现货商品代码
  15153. type: string
  15154. wrstandardid:
  15155. description: 现货商品ID
  15156. type: integer
  15157. wrstandardname:
  15158. description: 商品名称
  15159. type: string
  15160. type: object
  15161. models.WrGoodsInfo:
  15162. properties:
  15163. haswr:
  15164. description: 0:仓单预售 1:仓单贸易
  15165. type: integer
  15166. lstitem:
  15167. description: 商品信息项
  15168. items:
  15169. $ref: '#/definitions/models.WrTypeItem'
  15170. type: array
  15171. lststep:
  15172. description: 履约规则
  15173. items:
  15174. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15175. type: array
  15176. marketid:
  15177. description: 市场id
  15178. type: integer
  15179. type: object
  15180. models.WrGoodsPerformanceStep:
  15181. properties:
  15182. autoid:
  15183. description: AutoID
  15184. type: integer
  15185. isauto:
  15186. description: 是否自动 - 0:不自动 1:自动
  15187. type: integer
  15188. remark:
  15189. description: 备注
  15190. type: string
  15191. stepdate:
  15192. description: 天数信息(T+N)
  15193. type: string
  15194. stepdays:
  15195. description: 距离上一步天数
  15196. type: integer
  15197. stepindex:
  15198. description: 步骤序号
  15199. type: integer
  15200. stepinfo:
  15201. description: 步骤信息(步骤名称+步骤值)
  15202. type: string
  15203. steptypeid:
  15204. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15205. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15206. type: integer
  15207. steptypename:
  15208. description: 步骤名称
  15209. type: string
  15210. stepvalue:
  15211. description: 步骤值
  15212. type: number
  15213. templateid:
  15214. description: 履约计划模板ID
  15215. type: integer
  15216. type: object
  15217. models.WrHoldLB:
  15218. properties:
  15219. accountid:
  15220. description: 持有人帐户ID
  15221. type: integer
  15222. createtime:
  15223. description: 创建时间(过户时间)
  15224. type: string
  15225. deliverygoodscode:
  15226. description: 品种代码
  15227. type: string
  15228. deliverygoodsid:
  15229. description: 品种ID
  15230. type: integer
  15231. deliverygoodsname:
  15232. description: 品种名称
  15233. type: string
  15234. enableqty:
  15235. description: 可用数量
  15236. type: number
  15237. enumdicname:
  15238. description: 单位名称
  15239. type: string
  15240. freezerqty:
  15241. description: 冻结数量
  15242. type: number
  15243. ladingbillid:
  15244. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15245. type: string
  15246. minivalue:
  15247. description: 现货商品最小变动值
  15248. type: integer
  15249. optioncompare:
  15250. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15251. type: string
  15252. parentsubnum:
  15253. description: 拆分父子单号
  15254. type: integer
  15255. pledgeqty:
  15256. description: 质押数量
  15257. type: number
  15258. qty:
  15259. description: 数量
  15260. type: number
  15261. subnum:
  15262. description: 提单子单号
  15263. type: integer
  15264. tradedate:
  15265. description: 交易日(yyyyMMdd)
  15266. type: string
  15267. userid:
  15268. description: 持有人ID
  15269. type: integer
  15270. warehouseid:
  15271. description: 仓库ID
  15272. type: integer
  15273. warehousename:
  15274. description: 仓库名称
  15275. type: string
  15276. wrfactortypeid:
  15277. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15278. type: string
  15279. wrfactortypename:
  15280. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15281. type: string
  15282. wrholdeno:
  15283. description: 仓单编号
  15284. type: string
  15285. wrid:
  15286. description: 仓单变更ID
  15287. type: string
  15288. wrstandardcode:
  15289. description: 现货商品代码
  15290. type: string
  15291. wrstandardid:
  15292. description: 现货商品ID
  15293. type: integer
  15294. wrstandardname:
  15295. description: 商品名称
  15296. type: string
  15297. wrtypename:
  15298. description: 商品
  15299. type: string
  15300. type: object
  15301. models.WrMarketTradeConfig:
  15302. properties:
  15303. basisdownratio:
  15304. description: 浮动价基差下限比例(仓单贸易)
  15305. type: number
  15306. basisupratio:
  15307. description: 浮动价基差上限比例(仓单贸易)
  15308. type: number
  15309. buychargealgorithm:
  15310. description: 买方手续费收取方式 1:比率 2:固定
  15311. type: integer
  15312. buychargealgorithm2:
  15313. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15314. type: integer
  15315. buychargealgorithmvalue:
  15316. description: 买方手续费设置值(交易所部分)
  15317. type: number
  15318. buychargealgorithmvalue2:
  15319. description: 买方手续费设置值(会员部分)
  15320. type: number
  15321. buychargealgorithmvalue3:
  15322. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15323. type: number
  15324. buychargealgorithmvalue4:
  15325. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15326. type: number
  15327. buyfirstmarginalgorithm:
  15328. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15329. type: integer
  15330. buyfirstmarginvalue:
  15331. description: 买方出价保证金设置值 - [竞拍]
  15332. type: number
  15333. buymarginalgorithm:
  15334. description: 买方保证金方式 - 1:比率 2:固定
  15335. type: integer
  15336. buymarginvalue:
  15337. description: 买方保证金设置值
  15338. type: number
  15339. buyreleaseratio:
  15340. description: 买方释放比率[2:分步履约]
  15341. type: number
  15342. executemode:
  15343. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15344. type: integer
  15345. executeside:
  15346. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15347. type: integer
  15348. failedchargealgorithm:
  15349. description: 流拍手续费收取方式 1:比率 2:固定
  15350. type: integer
  15351. failedchargevalue:
  15352. description: 流拍手续费设置值
  15353. type: number
  15354. failedchargevalue2:
  15355. description: 流拍卖方手续费设置值
  15356. type: number
  15357. holddays:
  15358. description: 合同期限[2:分步履约]
  15359. type: integer
  15360. marketid:
  15361. description: 市场ID-仓单贸易、竞拍、预售
  15362. type: integer
  15363. minqty:
  15364. description: 最小执行量[2:分步履约]
  15365. type: number
  15366. modifierid:
  15367. description: 修改人
  15368. type: integer
  15369. performancetempid:
  15370. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15371. 立即执行(-1)
  15372. type: integer
  15373. performancetempid2:
  15374. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15375. 立即执行
  15376. type: integer
  15377. performanceway:
  15378. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15379. type: integer
  15380. sellchargealgorithm:
  15381. description: 卖方手续费收取方式 1:比率 2:固定
  15382. type: integer
  15383. sellchargealgorithm2:
  15384. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15385. type: integer
  15386. sellchargealgorithmvalue:
  15387. description: 卖方手续费设置值(交易所部分)
  15388. type: number
  15389. sellchargealgorithmvalue2:
  15390. description: 卖方手续费设置值(会员部分)
  15391. type: number
  15392. sellchargealgorithmvalue3:
  15393. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15394. type: number
  15395. sellchargealgorithmvalue4:
  15396. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15397. type: number
  15398. sellmarginalgorithm:
  15399. description: 卖方保证金方式 - 1:比率 2:固定
  15400. type: integer
  15401. sellmarginvalue:
  15402. description: 卖方保证金设置值
  15403. type: number
  15404. sellmarginvalue2:
  15405. description: 卖方保证金设置值(无仓单)
  15406. type: number
  15407. sellreleaseratio:
  15408. description: 卖方释放比率[2:分步履约]
  15409. type: number
  15410. updatetime:
  15411. description: 更新时间
  15412. type: string
  15413. type: object
  15414. models.WrOrderDetail:
  15415. properties:
  15416. accountid:
  15417. description: 交易账号(资金账号)
  15418. type: integer
  15419. allfriendsflag:
  15420. description: 是否全好友可见 - 0:否 1:是
  15421. type: integer
  15422. amount:
  15423. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15424. type: number
  15425. buyorsell:
  15426. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15427. type: integer
  15428. canbargain:
  15429. description: 是否可议价 - 0:不可 1:可
  15430. type: integer
  15431. cancelqty:
  15432. description: 撤销数量
  15433. type: number
  15434. canpart:
  15435. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15436. type: integer
  15437. delistminqty:
  15438. description: 起摘数量
  15439. type: integer
  15440. deliverygoodscode:
  15441. description: 品种代码
  15442. type: string
  15443. deliverygoodsid:
  15444. description: 品种ID
  15445. type: integer
  15446. deliverygoodsname:
  15447. description: 品种名称
  15448. type: string
  15449. deliverymonth:
  15450. description: 交收月
  15451. type: string
  15452. enumdicname:
  15453. description: 单位名称
  15454. type: string
  15455. fixedprice:
  15456. description: 固定价格 - [挂牌]
  15457. type: number
  15458. freezemargin:
  15459. description: 冻结保证金(保证金)
  15460. type: number
  15461. futupricemove:
  15462. description: 期货升贴水
  15463. type: number
  15464. futushow:
  15465. description: 期货合约/升贴水
  15466. type: string
  15467. goodscode:
  15468. description: 期货合约
  15469. type: string
  15470. goodsid:
  15471. description: 期货商品id
  15472. type: integer
  15473. goodsname:
  15474. description: 商品名称
  15475. type: string
  15476. haswr:
  15477. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15478. type: integer
  15479. isspecified:
  15480. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15481. type: integer
  15482. ladingbillid:
  15483. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15484. type: string
  15485. marginvalue:
  15486. description: 保证金设置值(履约保证金)
  15487. type: number
  15488. marketid:
  15489. description: 市场ID
  15490. type: integer
  15491. matchusername:
  15492. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15493. type: string
  15494. minivalue:
  15495. description: 现货商品最小变动值
  15496. type: integer
  15497. optioncompare:
  15498. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15499. type: string
  15500. orderqty:
  15501. description: 委托数量
  15502. type: number
  15503. ordertime:
  15504. description: 委托时间(挂牌时间)
  15505. type: string
  15506. performancetemplateid:
  15507. description: 履约模板id
  15508. type: integer
  15509. pricemove:
  15510. description: 升贴水(浮动价时填写) - [挂牌]
  15511. type: number
  15512. taname:
  15513. description: 交易用户名称(资金账号名称)
  15514. type: string
  15515. tradedate:
  15516. description: 交易日(yyyyMMdd)
  15517. type: string
  15518. tradeprice:
  15519. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15520. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15521. type: number
  15522. tradeqty:
  15523. description: 成交数量
  15524. type: number
  15525. userid:
  15526. description: 用户ID
  15527. type: integer
  15528. validtime:
  15529. description: 挂牌有效期
  15530. type: string
  15531. warehouseid:
  15532. description: 仓库ID
  15533. type: integer
  15534. warehousename:
  15535. description: 仓库名称
  15536. type: string
  15537. wrfactortypeid:
  15538. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15539. type: string
  15540. wrfactortypename:
  15541. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15542. type: string
  15543. wrpricetype:
  15544. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15545. type: integer
  15546. wrstandardcode:
  15547. description: 现货商品代码
  15548. type: string
  15549. wrstandardid:
  15550. description: 现货商品ID
  15551. type: integer
  15552. wrstandardname:
  15553. description: 商品名称
  15554. type: string
  15555. wrtradeorderid:
  15556. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15557. type: string
  15558. wrtradeorderstatus:
  15559. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  15560. type: integer
  15561. wrtradetype:
  15562. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15563. type: integer
  15564. wrtypename:
  15565. description: 商品
  15566. type: string
  15567. type: object
  15568. models.WrOrderQuote:
  15569. properties:
  15570. buyprice:
  15571. description: 买价
  15572. type: number
  15573. buypricemove:
  15574. description: 买升贴水(基差)
  15575. type: number
  15576. buyqty:
  15577. description: 买量
  15578. type: number
  15579. deliverygoodscode:
  15580. description: 品种代码
  15581. type: string
  15582. deliverygoodsid:
  15583. description: 品种id
  15584. type: integer
  15585. deliverygoodsname:
  15586. description: 品种名称
  15587. type: string
  15588. deliverymonth:
  15589. description: 交收月
  15590. type: string
  15591. enumdicname:
  15592. description: 单位名称
  15593. type: string
  15594. goodscode:
  15595. description: 商品合约(浮动价列表才有)
  15596. type: string
  15597. goodsid:
  15598. description: 商品id(浮动价列表才有)
  15599. type: integer
  15600. minivalue:
  15601. description: 现货商品最小变动值
  15602. type: integer
  15603. sellprice:
  15604. description: 卖价
  15605. type: number
  15606. sellpricemove:
  15607. description: 卖升贴水(基差)
  15608. type: number
  15609. sellqty:
  15610. description: 卖量
  15611. type: number
  15612. warehousecode:
  15613. description: 仓库代码
  15614. type: string
  15615. warehouseid:
  15616. description: 仓库id
  15617. type: integer
  15618. warehousename:
  15619. description: 仓库名称
  15620. type: string
  15621. wrfactortypeid:
  15622. description: 仓单要素id
  15623. type: string
  15624. wrfactortypename:
  15625. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15626. type: string
  15627. wrgoodsname:
  15628. description: 商品(商品名称+仓库要素名称 拼接)
  15629. type: string
  15630. wrstandardcode:
  15631. description: 商品代码
  15632. type: string
  15633. wrstandardid:
  15634. description: 商品id
  15635. type: integer
  15636. wrstandardname:
  15637. description: 商品名称
  15638. type: string
  15639. type: object
  15640. models.WrOrderQuoteDetail:
  15641. properties:
  15642. buyorsell:
  15643. description: 买卖 - 0:买 1:卖
  15644. type: integer
  15645. delistminqty:
  15646. description: 起摘数量
  15647. type: number
  15648. deliverymonth:
  15649. description: 交收月
  15650. type: string
  15651. enumdicname:
  15652. description: 单位名称
  15653. type: string
  15654. fixedprice:
  15655. description: 买(卖)价
  15656. type: number
  15657. minivalue:
  15658. description: 现货商品最小变动值
  15659. type: integer
  15660. orderqty:
  15661. description: 买(卖)量(=委托量-成交量)
  15662. type: number
  15663. ordertime:
  15664. description: 委托时间
  15665. type: string
  15666. pricemove:
  15667. description: 买(卖)升贴水- 基差
  15668. type: number
  15669. userid:
  15670. description: 购买方(销售方)用户ID
  15671. type: integer
  15672. username:
  15673. description: 购买方(销售方)
  15674. type: string
  15675. wrtradeorderid:
  15676. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15677. type: string
  15678. type: object
  15679. models.WrOutInApply:
  15680. properties:
  15681. applyid:
  15682. description: 申请单id
  15683. type: string
  15684. applystatus:
  15685. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  15686. 8:已撤销
  15687. type: integer
  15688. applytime:
  15689. description: 申请时间
  15690. type: string
  15691. applytype:
  15692. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15693. type: integer
  15694. deliverygoodscode:
  15695. description: 品种代码
  15696. type: string
  15697. deliverygoodsid:
  15698. description: 品种ID
  15699. type: integer
  15700. deliverygoodsname:
  15701. description: 品种名称
  15702. type: string
  15703. enumdicname:
  15704. description: 单位名称
  15705. type: string
  15706. expresscompany:
  15707. description: 物流公司
  15708. type: string
  15709. expressnum:
  15710. description: 物流单号
  15711. type: string
  15712. minivalue:
  15713. description: 现货商品最小变动值
  15714. type: integer
  15715. optioncompare:
  15716. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15717. type: string
  15718. qty:
  15719. description: 数量
  15720. type: integer
  15721. userid:
  15722. description: 用户id
  15723. type: integer
  15724. warehouseid:
  15725. description: 仓库ID
  15726. type: integer
  15727. warehousename:
  15728. description: 仓库名称
  15729. type: string
  15730. wrfactortypeid:
  15731. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15732. type: string
  15733. wrfactortypename:
  15734. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15735. type: string
  15736. wrstandardcode:
  15737. description: 现货商品代码
  15738. type: string
  15739. wrstandardid:
  15740. description: 现货商品ID
  15741. type: integer
  15742. wrstandardname:
  15743. description: 商品名称
  15744. type: string
  15745. wrtypename:
  15746. description: 商品
  15747. type: string
  15748. type: object
  15749. models.WrPerformancePlan:
  15750. properties:
  15751. activatemonth:
  15752. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15753. type: string
  15754. amount:
  15755. description: 履约金额(总金额)
  15756. type: number
  15757. buyaccountid:
  15758. description: 买方账号
  15759. type: integer
  15760. buyerfreezeamount:
  15761. description: 履约冻结(买履约)
  15762. type: number
  15763. buyerfreezeamountremain:
  15764. description: 履约冻结剩余(买履约)
  15765. type: number
  15766. buyorsell:
  15767. description: 买卖方向 0-买 1-卖
  15768. type: integer
  15769. buypaidamount:
  15770. description: 买方已冻/已扣金额 (已付金额)
  15771. type: number
  15772. buyusername:
  15773. description: 买方名字
  15774. type: string
  15775. contractid:
  15776. description: 合同ID
  15777. type: integer
  15778. createtime:
  15779. description: 创建时间
  15780. type: string
  15781. creatorid:
  15782. description: 创建人
  15783. type: integer
  15784. curstepdeadline:
  15785. description: 当前步骤到期时间
  15786. type: string
  15787. curstepid:
  15788. description: 当前步骤ID
  15789. type: string
  15790. curstepname:
  15791. description: 当前步骤名称
  15792. type: string
  15793. deliverygoodscode:
  15794. description: 品种代码
  15795. type: string
  15796. deliverygoodsid:
  15797. description: 品种ID
  15798. type: integer
  15799. deliverygoodsname:
  15800. description: 品种名称
  15801. type: string
  15802. enumdicname:
  15803. description: 单位名称
  15804. type: string
  15805. expressfee:
  15806. description: 运费
  15807. type: number
  15808. expressfeeconfirmed:
  15809. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15810. type: integer
  15811. hasovershort:
  15812. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15813. type: integer
  15814. haswr:
  15815. description: 类型 0-仓单预售 1-仓单贸易
  15816. type: integer
  15817. marketid:
  15818. description: 市场ID
  15819. type: integer
  15820. middleaccountid:
  15821. description: 中间商资金账号ID
  15822. type: integer
  15823. middleuserid:
  15824. description: 中间商用户ID
  15825. type: integer
  15826. minivalue:
  15827. description: 现货商品最小变动值
  15828. type: integer
  15829. optioncompare:
  15830. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15831. type: string
  15832. overshortamount:
  15833. description: 溢短金额
  15834. type: number
  15835. overshortqty:
  15836. description: 溢短数量
  15837. type: number
  15838. paymenttype:
  15839. description: 付款方式 - 1:冻结 2:扣款
  15840. type: integer
  15841. performanceplanid:
  15842. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15843. type: string
  15844. performancestatus:
  15845. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15846. 9:超时待处理 10:超时关闭
  15847. type: integer
  15848. performancetype:
  15849. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15850. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15851. type: integer
  15852. qty:
  15853. description: 履约数量
  15854. type: number
  15855. relatedorderid:
  15856. description: 关联单号(履约类型的关联单号)
  15857. type: string
  15858. remark:
  15859. description: 备注
  15860. type: string
  15861. sellaccountid:
  15862. description: 卖方账号
  15863. type: integer
  15864. sellerfreezeamount:
  15865. description: 履约冻结(卖履约)
  15866. type: number
  15867. sellerfreezeamountremain:
  15868. description: 履约冻结剩余(卖履约)
  15869. type: number
  15870. sellreceivedamount:
  15871. description: 卖方已收金额
  15872. type: number
  15873. sellusername:
  15874. description: 卖方名字
  15875. type: string
  15876. shipremark:
  15877. description: 发货备注[物流单号]
  15878. type: string
  15879. starttime:
  15880. description: 开始时间
  15881. type: string
  15882. steptypeid:
  15883. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15884. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15885. type: integer
  15886. typename:
  15887. description: 履约类型 名称
  15888. type: string
  15889. unpaidamount:
  15890. description: 剩余款(待支付金额)
  15891. type: number
  15892. userid:
  15893. description: 用户id
  15894. type: integer
  15895. warehouseid:
  15896. description: 仓库ID
  15897. type: integer
  15898. warehousename:
  15899. description: 仓库名称
  15900. type: string
  15901. wrfactortypeid:
  15902. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15903. type: string
  15904. wrfactortypename:
  15905. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15906. type: string
  15907. wrstandardcode:
  15908. description: 现货商品代码
  15909. type: string
  15910. wrstandardid:
  15911. description: 现货商品ID
  15912. type: integer
  15913. wrstandardname:
  15914. description: 商品名称
  15915. type: string
  15916. wrtransferuserid:
  15917. description: 仓单受让用户
  15918. type: integer
  15919. wrtypename:
  15920. description: 商品
  15921. type: string
  15922. required:
  15923. - userid
  15924. type: object
  15925. models.WrPerformancePlanStep:
  15926. properties:
  15927. delaydays:
  15928. description: 延期申请天数
  15929. type: integer
  15930. deliverygoodscode:
  15931. description: 品种代码
  15932. type: string
  15933. deliverygoodsid:
  15934. description: 品种ID
  15935. type: integer
  15936. deliverygoodsname:
  15937. description: 品种名称
  15938. type: string
  15939. endtime:
  15940. description: 结束日期
  15941. type: string
  15942. enumdicname:
  15943. description: 单位名称
  15944. type: string
  15945. executeside:
  15946. description: 步骤执行方 - 1:买方 2:卖方
  15947. type: integer
  15948. handlestatus:
  15949. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15950. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15951. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15952. type: integer
  15953. isauto:
  15954. description: 是否自动 - 0:不自动 1:自动
  15955. type: integer
  15956. islastreceivestep:
  15957. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15958. type: integer
  15959. minivalue:
  15960. description: 现货商品最小变动值
  15961. type: integer
  15962. optioncompare:
  15963. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15964. type: string
  15965. overdays:
  15966. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15967. type: integer
  15968. performancestepid:
  15969. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15970. type: string
  15971. planid:
  15972. description: 所属履约计划ID
  15973. type: string
  15974. realamount:
  15975. description: 实际完成金额
  15976. type: number
  15977. relatedorderid:
  15978. description: 关联单号
  15979. type: string
  15980. remaindays:
  15981. description: 剩余天数
  15982. type: integer
  15983. remark:
  15984. description: 错误备注
  15985. type: string
  15986. starttime:
  15987. description: 开始日期
  15988. type: string
  15989. stepamount:
  15990. description: 步骤金额
  15991. type: number
  15992. stepdays:
  15993. description: 距离上一步天数(分钟)
  15994. type: integer
  15995. stepindex:
  15996. description: 步骤序号
  15997. type: integer
  15998. steplanchtype:
  15999. description: 步骤启动类型 - 1:系统自动 2:手动
  16000. type: integer
  16001. stepremark:
  16002. description: 步骤备注
  16003. type: string
  16004. stepstatus:
  16005. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16006. type: integer
  16007. steptypeid:
  16008. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16009. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16010. type: integer
  16011. steptypename:
  16012. description: 步骤名称
  16013. type: string
  16014. stepvalue:
  16015. description: 步骤值
  16016. type: number
  16017. warehouseid:
  16018. description: 仓库ID
  16019. type: integer
  16020. warehousename:
  16021. description: 仓库名称
  16022. type: string
  16023. wrfactortypeid:
  16024. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16025. type: string
  16026. wrfactortypename:
  16027. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16028. type: string
  16029. wrstandardcode:
  16030. description: 现货商品代码
  16031. type: string
  16032. wrstandardid:
  16033. description: 现货商品ID
  16034. type: integer
  16035. wrstandardname:
  16036. description: 商品名称
  16037. type: string
  16038. wrtypename:
  16039. description: 商品
  16040. type: string
  16041. type: object
  16042. models.WrPerformanceStepType:
  16043. properties:
  16044. canauto:
  16045. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16046. type: integer
  16047. steptypeid:
  16048. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16049. type: integer
  16050. steptypename:
  16051. description: 步骤类型名称
  16052. type: string
  16053. type: object
  16054. models.WrPerformanceTemplateEx:
  16055. properties:
  16056. autoid:
  16057. description: AutoID 模板id
  16058. type: integer
  16059. createtime:
  16060. description: 创建时间
  16061. type: string
  16062. creatorid:
  16063. description: 创建人
  16064. type: integer
  16065. lstStep:
  16066. description: 步骤信息列表
  16067. items:
  16068. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16069. type: array
  16070. paymenttype:
  16071. description: 支付方式 - 1:冻结 2:扣款
  16072. type: integer
  16073. takemode:
  16074. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16075. type: integer
  16076. templatename:
  16077. description: 模板名称
  16078. type: string
  16079. templatetype:
  16080. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16081. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16082. type: integer
  16083. userid:
  16084. description: 所属用户
  16085. type: integer
  16086. type: object
  16087. models.WrPosition:
  16088. properties:
  16089. accountid:
  16090. description: 帐户ID
  16091. type: integer
  16092. buyexcuteqty:
  16093. description: 采购履约中数量
  16094. type: number
  16095. creditcurqty:
  16096. description: 授信当前数量(预售仓单:预售当前量)
  16097. type: number
  16098. creditenableqty:
  16099. description: '授信可用数量(预售仓单: 可用数量)'
  16100. type: number
  16101. creditfreezeqty:
  16102. description: '授信冻结数量(预售仓单: 当前数量)'
  16103. type: number
  16104. credittotalqty:
  16105. description: 授信总数量(预售仓单:预售总量)
  16106. type: number
  16107. credittradeqty:
  16108. description: 授信成交数量(预售仓单:成交总量)
  16109. type: number
  16110. deliverygoodscode:
  16111. description: 品种代码
  16112. type: string
  16113. deliverygoodsid:
  16114. description: 品种ID
  16115. type: integer
  16116. deliverygoodsname:
  16117. description: 品种名称
  16118. type: string
  16119. enalbeqty:
  16120. description: 可用数量
  16121. type: number
  16122. enumdicname:
  16123. description: 单位名称
  16124. type: string
  16125. freezeqty:
  16126. description: 总冻结数量
  16127. type: number
  16128. haswr:
  16129. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16130. type: integer
  16131. minivalue:
  16132. description: 现货商品最小变动值
  16133. type: integer
  16134. modifytime:
  16135. description: 修改时间(过户时间)
  16136. type: string
  16137. optioncompare:
  16138. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16139. type: string
  16140. pledgeqty:
  16141. description: 质押数量
  16142. type: number
  16143. querytype:
  16144. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16145. type: integer
  16146. sellexcuteqty:
  16147. description: 销售履约中数量
  16148. type: number
  16149. totalqty:
  16150. description: 总数量(库存数量)
  16151. type: number
  16152. warehouseid:
  16153. description: 仓库ID
  16154. type: integer
  16155. warehousename:
  16156. description: 仓库名称
  16157. type: string
  16158. wrfactortypeid:
  16159. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16160. type: string
  16161. wrfactortypename:
  16162. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16163. type: string
  16164. wrpositionid:
  16165. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16166. type: string
  16167. wrpositionno:
  16168. description: 仓单编号
  16169. type: string
  16170. wrstandardcode:
  16171. description: 现货商品代码
  16172. type: string
  16173. wrstandardid:
  16174. description: 现货商品ID
  16175. type: integer
  16176. wrstandardname:
  16177. description: 商品名称
  16178. type: string
  16179. wrtypename:
  16180. description: 商品
  16181. type: string
  16182. wruserid:
  16183. description: 持有人ID
  16184. type: integer
  16185. type: object
  16186. models.WrQuoteOrderMyq:
  16187. properties:
  16188. buyorsell:
  16189. description: 买卖 - 0:买 1:卖
  16190. type: integer
  16191. canbargain:
  16192. description: 是否可议价 - 0:不可 1:可
  16193. type: integer
  16194. canpart:
  16195. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16196. type: integer
  16197. delistminqty:
  16198. description: 起摘数量
  16199. type: number
  16200. deliverygoodscode:
  16201. description: 品种代码
  16202. type: string
  16203. deliverygoodsid:
  16204. description: 品种ID
  16205. type: integer
  16206. deliverygoodsname:
  16207. description: 品种名称
  16208. type: string
  16209. deliverymonth:
  16210. description: 交收月
  16211. type: string
  16212. enumdicname:
  16213. description: 单位名称
  16214. type: string
  16215. fixedprice:
  16216. description: 买(卖)价
  16217. type: number
  16218. goodscode:
  16219. description: 商品合约代码
  16220. type: string
  16221. marginflag:
  16222. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16223. type: integer
  16224. marginvalue:
  16225. description: 保证金设置值
  16226. type: number
  16227. minivalue:
  16228. description: 现货商品最小变动值
  16229. type: integer
  16230. orderqty:
  16231. description: 买(卖)量(=委托量-成交量)
  16232. type: number
  16233. ordertime:
  16234. description: 委托时间
  16235. type: string
  16236. performancetemplateid:
  16237. description: 履约模板id
  16238. type: integer
  16239. pricemove:
  16240. description: 买(卖)升贴水- 基差
  16241. type: number
  16242. templatename:
  16243. description: 履约模板名称
  16244. type: string
  16245. userid:
  16246. description: 购买方(销售方)用户ID
  16247. type: integer
  16248. username:
  16249. description: 购买方(销售方)
  16250. type: string
  16251. validtime:
  16252. description: 有效期限
  16253. type: string
  16254. validtype:
  16255. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16256. type: integer
  16257. warehousename:
  16258. description: 仓库名称
  16259. type: string
  16260. wrfactortypeid:
  16261. description: 仓单要素id
  16262. type: string
  16263. wrstandardcode:
  16264. description: 现货商品代码
  16265. type: string
  16266. wrstandardid:
  16267. description: 现货商品ID
  16268. type: integer
  16269. wrstandardname:
  16270. description: 商品名称
  16271. type: string
  16272. wrtradeorderid:
  16273. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16274. type: string
  16275. wrtypename:
  16276. description: 商品
  16277. type: string
  16278. type: object
  16279. models.WrScfContract:
  16280. properties:
  16281. borroweruserid:
  16282. description: 借款用户ID
  16283. type: integer
  16284. buybackwrpositionqty:
  16285. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16286. type: number
  16287. closeinterest:
  16288. description: 已结利息 -> 已结费用
  16289. type: number
  16290. currisklevel:
  16291. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16292. type: integer
  16293. deadline:
  16294. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16295. type: string
  16296. deliverygoodscode:
  16297. description: 品种代码
  16298. type: string
  16299. deliverygoodsid:
  16300. description: 品种ID
  16301. type: integer
  16302. deliverygoodsname:
  16303. description: 品种名称
  16304. type: string
  16305. enumdicname:
  16306. description: 单位名称
  16307. type: string
  16308. financingdays:
  16309. description: 天数(天)
  16310. type: integer
  16311. initmargin:
  16312. description: 保证金 - [仓单回购]
  16313. type: number
  16314. interestamount:
  16315. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16316. type: number
  16317. interestdebt:
  16318. description: 利息欠款(记录负数) -> 费用欠款
  16319. type: number
  16320. interestminlen:
  16321. description: 最小起息天数
  16322. type: integer
  16323. interestrate:
  16324. description: 利率
  16325. type: number
  16326. interestratemode:
  16327. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16328. type: integer
  16329. interestsettlemode:
  16330. description: 结息方式 - 1:按日结息 3:按月结息
  16331. type: integer
  16332. interestsettlevalue:
  16333. description: 结息方式值
  16334. type: integer
  16335. isautoloan:
  16336. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16337. type: integer
  16338. lastcloseinterestday:
  16339. description: 最近结息日(yyyyMMdd)
  16340. type: string
  16341. lenderamount:
  16342. description: 贷款金额 -> 借款金额
  16343. type: number
  16344. lenderuserid:
  16345. description: 贷款方用户ID -> 融出方用户ID
  16346. type: integer
  16347. lenderusername:
  16348. description: 融出方
  16349. type: string
  16350. marginratio:
  16351. description: 保证金比率质押率 - [仓单质押]
  16352. type: number
  16353. marketid:
  16354. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16355. type: integer
  16356. minivalue:
  16357. description: 现货商品最小变动值
  16358. type: integer
  16359. optioncompare:
  16360. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16361. type: string
  16362. pricemove:
  16363. description: 估值升贴水值
  16364. type: number
  16365. productdetailid:
  16366. description: 产品组合ID
  16367. type: integer
  16368. productid:
  16369. description: 金融产品ID
  16370. type: integer
  16371. productname:
  16372. description: 产品名称
  16373. type: string
  16374. remainamount:
  16375. description: 合同剩余金额 -> 剩余金额
  16376. type: number
  16377. remainwrpositionqty:
  16378. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16379. type: number
  16380. remark:
  16381. description: 备注
  16382. type: string
  16383. scfcontractid:
  16384. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16385. type: string
  16386. scfcontractstatus:
  16387. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16388. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16389. type: integer
  16390. scfcontracttype:
  16391. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16392. type: integer
  16393. startinterestday:
  16394. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16395. type: string
  16396. totalinterest:
  16397. description: 已计利息 -> 已计费用
  16398. type: number
  16399. unpaidinterest:
  16400. description: 未结费用
  16401. type: number
  16402. updatetime:
  16403. description: 更新时间
  16404. type: string
  16405. warehouseid:
  16406. description: 仓库ID
  16407. type: integer
  16408. warehousename:
  16409. description: 仓库名称
  16410. type: string
  16411. wrfactortypeid:
  16412. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16413. type: string
  16414. wrfactortypename:
  16415. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16416. type: string
  16417. wrqty:
  16418. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16419. type: number
  16420. wrstandardcode:
  16421. description: 现货商品代码
  16422. type: string
  16423. wrstandardid:
  16424. description: 现货商品ID
  16425. type: integer
  16426. wrstandardname:
  16427. description: 商品名称
  16428. type: string
  16429. wrtypename:
  16430. description: 商品
  16431. type: string
  16432. type: object
  16433. models.WrScfContractInterest:
  16434. properties:
  16435. closeinterest:
  16436. description: 已结利息
  16437. type: number
  16438. closeintereststatus:
  16439. description: 结息状态 - 1:未结 2:已结
  16440. type: integer
  16441. closetime:
  16442. description: 结息时间
  16443. type: string
  16444. closetradedate:
  16445. description: 结息交易日
  16446. type: string
  16447. creatorid:
  16448. description: 操作人ID
  16449. type: integer
  16450. dayrate:
  16451. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16452. type: number
  16453. interest:
  16454. description: 利息
  16455. type: number
  16456. interestamount:
  16457. description: 计息金额
  16458. type: number
  16459. interestday:
  16460. description: 计息日(yyyyMMdd)
  16461. type: string
  16462. scfcontractid:
  16463. description: SCF合同ID
  16464. type: string
  16465. scfcontractinterestid:
  16466. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16467. type: integer
  16468. updatetime:
  16469. description: 更新时间
  16470. type: string
  16471. type: object
  16472. models.WrSpecialMatchOrder:
  16473. properties:
  16474. amount:
  16475. description: 金额 = 数量 * 价格
  16476. type: number
  16477. buyorsell:
  16478. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16479. type: integer
  16480. cancelqty:
  16481. description: 撤销数量
  16482. type: number
  16483. deliverygoodscode:
  16484. description: 品种代码
  16485. type: string
  16486. deliverygoodsid:
  16487. description: 品种ID
  16488. type: integer
  16489. deliverygoodsname:
  16490. description: 品种名称
  16491. type: string
  16492. enumdicname:
  16493. description: 单位名称
  16494. type: string
  16495. fixedprice:
  16496. description: 固定价格(价格)
  16497. type: number
  16498. haswr:
  16499. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16500. type: integer
  16501. marketid:
  16502. description: 市场ID
  16503. type: integer
  16504. matchuserid:
  16505. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16506. type: integer
  16507. matchusername:
  16508. description: 指定方
  16509. type: string
  16510. minivalue:
  16511. description: 现货商品最小变动值
  16512. type: integer
  16513. optioncompare:
  16514. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16515. type: string
  16516. orderqty:
  16517. description: 委托数量
  16518. type: number
  16519. ordertime:
  16520. description: 委托时间
  16521. type: string
  16522. pricemove:
  16523. description: 升贴水(浮动价时填写) - [挂牌]
  16524. type: number
  16525. tradedate:
  16526. description: 交易日(yyyyMMdd)
  16527. type: string
  16528. tradeprice:
  16529. description: 成交价格
  16530. type: number
  16531. tradeqty:
  16532. description: 成交数量
  16533. type: number
  16534. userid:
  16535. description: 用户ID
  16536. type: integer
  16537. username:
  16538. description: 发起方
  16539. type: string
  16540. warehouseid:
  16541. description: 仓库ID
  16542. type: integer
  16543. warehousename:
  16544. description: 仓库名称
  16545. type: string
  16546. wrfactortypeid:
  16547. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16548. type: string
  16549. wrfactortypename:
  16550. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16551. type: string
  16552. wrpricetype:
  16553. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16554. type: integer
  16555. wrstandardcode:
  16556. description: 现货商品代码
  16557. type: string
  16558. wrstandardid:
  16559. description: 现货商品ID
  16560. type: integer
  16561. wrstandardname:
  16562. description: 商品名称
  16563. type: string
  16564. wrtradeorderid:
  16565. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16566. type: string
  16567. wrtradeorderstatus:
  16568. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16569. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16570. type: integer
  16571. wrtradetype:
  16572. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16573. type: integer
  16574. wrtypename:
  16575. description: 商品
  16576. type: string
  16577. type: object
  16578. models.WrStandardFactoryItem:
  16579. properties:
  16580. dgfactoryitemid:
  16581. description: 选择项id
  16582. type: integer
  16583. dgfactoryitemvalue:
  16584. description: 要素项值
  16585. type: string
  16586. warehouseid:
  16587. description: 仓库id
  16588. type: integer
  16589. type: object
  16590. models.WrStandardFactoryItemEx:
  16591. properties:
  16592. dgfactoryitemtypeid:
  16593. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16594. type: integer
  16595. itemlst:
  16596. description: 要素项列表
  16597. items:
  16598. $ref: '#/definitions/models.WrStandardFactoryItem'
  16599. type: array
  16600. itemtypename:
  16601. description: 要素项类型名称
  16602. type: string
  16603. wrstandardid:
  16604. description: 品类
  16605. type: integer
  16606. type: object
  16607. models.WrTradeDetail:
  16608. properties:
  16609. accountid:
  16610. description: 资金账号
  16611. type: integer
  16612. buyorsell:
  16613. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16614. type: integer
  16615. chargevalue:
  16616. description: 手续费
  16617. type: number
  16618. deliverygoodscode:
  16619. description: 品种代码
  16620. type: string
  16621. deliverygoodsid:
  16622. description: 品种ID
  16623. type: integer
  16624. deliverygoodsname:
  16625. description: 品种名称
  16626. type: string
  16627. deliverymonth:
  16628. description: 交收月
  16629. type: string
  16630. enumdicname:
  16631. description: 单位名称
  16632. type: string
  16633. haswr:
  16634. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16635. type: integer
  16636. marketid:
  16637. description: 市场ID
  16638. type: integer
  16639. matchaccountid:
  16640. description: 对手账号
  16641. type: integer
  16642. matchusername:
  16643. description: 对手方
  16644. type: string
  16645. minivalue:
  16646. description: 现货商品最小变动值
  16647. type: integer
  16648. optioncompare:
  16649. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16650. type: string
  16651. tradedate:
  16652. description: 交易日(yyyyMMdd)
  16653. type: string
  16654. tradeprice:
  16655. description: 成交价格
  16656. type: number
  16657. tradeqty:
  16658. description: 成交数量
  16659. type: number
  16660. tradetime:
  16661. description: 成交时间
  16662. type: string
  16663. userid:
  16664. description: 用户ID
  16665. type: integer
  16666. warehouseid:
  16667. description: 仓库ID
  16668. type: integer
  16669. warehousename:
  16670. description: 仓库名称
  16671. type: string
  16672. wrfactortypeid:
  16673. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16674. type: string
  16675. wrfactortypename:
  16676. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16677. type: string
  16678. wrstandardcode:
  16679. description: 现货商品代码
  16680. type: string
  16681. wrstandardid:
  16682. description: 现货商品ID
  16683. type: integer
  16684. wrstandardname:
  16685. description: 商品名称
  16686. type: string
  16687. wrtradedetailid:
  16688. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16689. type: string
  16690. wrtradetype:
  16691. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16692. type: integer
  16693. wrtypename:
  16694. description: 商品
  16695. type: string
  16696. type: object
  16697. models.WrTradeOrderDetail:
  16698. properties:
  16699. buyorsell:
  16700. description: 买卖方向 0-买 1-卖
  16701. type: integer
  16702. goodsid:
  16703. description: 商品id
  16704. type: integer
  16705. orderid:
  16706. description: 委托单号
  16707. type: string
  16708. orderprice:
  16709. description: 委托价格
  16710. type: number
  16711. orderqty:
  16712. description: 委托数量
  16713. type: integer
  16714. userid:
  16715. description: 用户id
  16716. type: integer
  16717. username:
  16718. description: 用户名称(已脱敏)
  16719. type: string
  16720. type: object
  16721. models.WrTypeItem:
  16722. properties:
  16723. name:
  16724. description: 名称
  16725. type: string
  16726. value:
  16727. description: 值
  16728. type: string
  16729. type: object
  16730. models.WrUserFriend:
  16731. properties:
  16732. friendname:
  16733. description: 朋友名称(已脱敏)
  16734. type: string
  16735. frienduserid:
  16736. description: 朋友id
  16737. type: integer
  16738. isfriend:
  16739. description: 是否好友 0-不是 1-是
  16740. type: integer
  16741. userid:
  16742. description: 用户id
  16743. type: integer
  16744. type: object
  16745. models.WrUserReceiptInfo:
  16746. properties:
  16747. address:
  16748. description: 地址[发票类型:企业]
  16749. type: string
  16750. autoid:
  16751. description: AutoID
  16752. type: integer
  16753. contactinfo:
  16754. description: 联系方式
  16755. type: string
  16756. idnum:
  16757. description: 身份证号码[发票类型:个人]
  16758. type: string
  16759. isdefault:
  16760. description: 是否默认地址 - 0:否 1:是
  16761. type: integer
  16762. receiptaccount:
  16763. description: 发票帐号[发票类型:企业]
  16764. type: string
  16765. receiptbank:
  16766. description: 发票开户行[发票类型:企业]
  16767. type: string
  16768. receipttype:
  16769. description: 发票类型 - 1:个人 2:企业
  16770. type: integer
  16771. taxpayerid:
  16772. description: 纳税人识别号
  16773. type: string
  16774. userid:
  16775. description: 用户ID
  16776. type: integer
  16777. username:
  16778. description: 户名(个人姓名或企业名称)
  16779. type: string
  16780. type: object
  16781. models.XHBRAND:
  16782. properties:
  16783. brandid:
  16784. description: 品牌id
  16785. type: integer
  16786. brandname:
  16787. description: 品牌名称
  16788. type: string
  16789. isvalid:
  16790. description: 是否有效 0-无效 1-有效
  16791. type: integer
  16792. type: object
  16793. models.XHDeliveryGoods:
  16794. properties:
  16795. areauserid:
  16796. description: 所属机构
  16797. type: integer
  16798. bdlst:
  16799. description: 品牌列表
  16800. items:
  16801. $ref: '#/definitions/models.XHBRAND'
  16802. type: array
  16803. deliverygoodscode:
  16804. description: 现货品种代码
  16805. type: string
  16806. deliverygoodsid:
  16807. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16808. type: integer
  16809. deliverygoodsname:
  16810. description: 现货品种名称
  16811. type: string
  16812. dgstatus:
  16813. description: 品种状态 - 作废 - 0:未激活 1:正常
  16814. type: integer
  16815. isvalid:
  16816. description: 是否有效 - 0:无效 1:有效
  16817. type: integer
  16818. remark:
  16819. description: 备注
  16820. type: string
  16821. unitid:
  16822. description: 单位id(目前看,数据库中是空值)
  16823. type: integer
  16824. wdlst:
  16825. description: 品类(现货商品)列表
  16826. items:
  16827. $ref: '#/definitions/models.XHWrstandard'
  16828. type: array
  16829. type: object
  16830. models.XHMiddleGoods:
  16831. properties:
  16832. convertratio:
  16833. description: 拆算系数
  16834. type: number
  16835. costratio:
  16836. description: 成本权重
  16837. type: number
  16838. deliverygoodsid:
  16839. description: 现货商品id
  16840. type: integer
  16841. enumdicname:
  16842. description: 单位名称
  16843. type: string
  16844. gplst:
  16845. description: 期货品种列表
  16846. items:
  16847. $ref: '#/definitions/models.TBGoodsGroup'
  16848. type: array
  16849. middlegoodscode:
  16850. description: 套保品种代码
  16851. type: string
  16852. middlegoodsid:
  16853. description: 套保品种id
  16854. type: integer
  16855. middlegoodsname:
  16856. description: 套保品种名称
  16857. type: string
  16858. unitid:
  16859. description: 单位id
  16860. type: integer
  16861. type: object
  16862. models.XHWrstandard:
  16863. properties:
  16864. deliverygoodsid:
  16865. description: 品种ID
  16866. type: integer
  16867. enumdicname:
  16868. description: 单位名称
  16869. type: string
  16870. mglst:
  16871. description: 套保品列表
  16872. items:
  16873. $ref: '#/definitions/models.XHMiddleGoods'
  16874. type: array
  16875. unitid:
  16876. description: 单位id
  16877. type: integer
  16878. vatrate:
  16879. description: 增值税率
  16880. type: number
  16881. wrstandardcode:
  16882. description: 现货商品代码
  16883. type: string
  16884. wrstandardid:
  16885. description: 现货商品ID(SEQ_WRSTANDARD)
  16886. type: integer
  16887. wrstandardname:
  16888. description: 现货商品名称
  16889. type: string
  16890. type: object
  16891. order.QueryHisTradeDetailRsp:
  16892. properties:
  16893. accountid:
  16894. description: 账户ID[报价币种]
  16895. type: integer
  16896. advanceratio:
  16897. description: 首付比率
  16898. type: number
  16899. buildtype:
  16900. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16901. type: integer
  16902. buyorsell:
  16903. description: 方向 - 0:买 1:卖
  16904. type: integer
  16905. charge:
  16906. description: 手续费
  16907. type: number
  16908. closecharge:
  16909. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16910. type: number
  16911. closeexchagechargevalue:
  16912. description: 平仓交易所手续费设置值
  16913. type: number
  16914. closefeealgorithm:
  16915. description: 平仓手续费收取方式 1:比率 2:固定
  16916. type: integer
  16917. closememberchargevalue:
  16918. description: 平仓会员手续费设置值
  16919. type: number
  16920. closepl:
  16921. description: 平仓盈亏
  16922. type: number
  16923. closepl2:
  16924. description: 平仓盈亏[逐笔]
  16925. type: number
  16926. closeqty:
  16927. description: 平仓数量(先建后平操作 需要记录)
  16928. type: number
  16929. creditamount:
  16930. description: 授信金额
  16931. type: number
  16932. decimalplace:
  16933. description: 商品报价小数位
  16934. type: integer
  16935. enumdicname:
  16936. description: 单位名称
  16937. type: string
  16938. gcaccountid:
  16939. description: 账户ID[合约币种]
  16940. type: integer
  16941. goodscode:
  16942. description: 商品代码
  16943. type: string
  16944. goodsid:
  16945. description: 商品ID
  16946. type: integer
  16947. goodsname:
  16948. description: 商品名称
  16949. type: string
  16950. goodunitid:
  16951. description: 商品单位id
  16952. type: integer
  16953. histradedate:
  16954. description: 历史交易日
  16955. type: string
  16956. intclosepl:
  16957. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16958. type: integer
  16959. isconfirmexercise:
  16960. description: 是否确认行权- 0:否 1:是
  16961. type: integer
  16962. ismain:
  16963. description: 是否主单 - 0:不是 1:是
  16964. type: integer
  16965. ispreexercise:
  16966. description: 是否预申报- 0:否 1:是
  16967. type: integer
  16968. isreckoned:
  16969. description: 是否结算 - 0:未结算 1:已结算
  16970. type: integer
  16971. isvaliddata:
  16972. description: 是否有效 - 0:无效 1:有效
  16973. type: integer
  16974. listingselecttype:
  16975. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16976. type: integer
  16977. marketid:
  16978. description: 市场ID
  16979. type: integer
  16980. marketname:
  16981. description: 市场名称
  16982. type: string
  16983. matchaccountid:
  16984. description: 对手账号id
  16985. type: integer
  16986. memberuserid:
  16987. description: 会员id 个人投资者 需要填写
  16988. type: integer
  16989. opencharge:
  16990. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16991. type: number
  16992. openexchagechargevalue:
  16993. description: 建仓交易所手续费设置值
  16994. type: number
  16995. openfeealgorithm:
  16996. description: 建仓手续费收取方式 1:比率 2:固定
  16997. type: integer
  16998. openmemberchargevalue:
  16999. description: 建仓会员手续费设置值
  17000. type: number
  17001. openqty:
  17002. description: 开仓数量(先建后平操作 需要记录)
  17003. type: number
  17004. optiontype:
  17005. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17006. type: integer
  17007. orderid:
  17008. description: 委托单号
  17009. type: string
  17010. payamount:
  17011. description: 支付金额(付款金额)
  17012. type: number
  17013. performanceplanid:
  17014. description: 履约计划ID[期权]
  17015. type: integer
  17016. performancestatus:
  17017. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17018. type: integer
  17019. preexerciseprice:
  17020. description: 预申报价格
  17021. type: number
  17022. premium:
  17023. description: 权利金 - [持仓单的权利金]
  17024. type: number
  17025. qtydecimalplace:
  17026. description: 商品报价小数位
  17027. type: integer
  17028. recvamount:
  17029. description: 到账金额 = 成交金额 - 手续费
  17030. type: number
  17031. relatedouttradeid:
  17032. description: 关联外部成交单ID
  17033. type: integer
  17034. status:
  17035. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17036. type: integer
  17037. totalamount:
  17038. description: 订单总额 = 成交金额 + 手续费
  17039. type: number
  17040. tradeamount:
  17041. description: 成交金额[账户币种,用于所有权]
  17042. type: number
  17043. tradedate:
  17044. description: 交易日(yyyyMMdd)
  17045. type: string
  17046. tradeid:
  17047. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17048. type: string
  17049. trademode:
  17050. description: 交易模式
  17051. type: integer
  17052. tradeprice:
  17053. description: 成交价格
  17054. type: number
  17055. tradeproperty:
  17056. description: 交易属性
  17057. type: integer
  17058. tradeqty:
  17059. description: 成交数量
  17060. type: number
  17061. tradetime:
  17062. description: 成交时间
  17063. type: string
  17064. tradetype:
  17065. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17066. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17067. type: integer
  17068. required:
  17069. - accountid
  17070. - buyorsell
  17071. - goodsid
  17072. - histradedate
  17073. - marketid
  17074. - memberuserid
  17075. - orderid
  17076. - tradeamount
  17077. - tradedate
  17078. - tradeid
  17079. - tradeprice
  17080. - tradeqty
  17081. - tradetime
  17082. type: object
  17083. order.QueryHisTradeOrderDetailRsp:
  17084. properties:
  17085. accountid:
  17086. description: 账户ID[报价币种]
  17087. type: integer
  17088. buildtype:
  17089. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17090. type: integer
  17091. buyorsell:
  17092. description: 买卖 - 0:买 1:卖
  17093. type: integer
  17094. cancelorderid:
  17095. description: 撤单单号(撤单时填写)
  17096. type: string
  17097. cancelqty:
  17098. description: 撤单数量
  17099. type: number
  17100. clientordertime:
  17101. description: 客户端委托时间
  17102. type: string
  17103. clientticket:
  17104. description: 客户端流水号
  17105. type: string
  17106. clienttype:
  17107. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17108. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17109. type: integer
  17110. closeexchagechargevalue:
  17111. description: 平仓交易所手续费设置值
  17112. type: number
  17113. closefeealgorithm:
  17114. description: 平仓手续费收取方式 1:比率 2:固定
  17115. type: integer
  17116. closefreezecharge:
  17117. description: 平仓冻结手续费(先建后平操作,需要记录)
  17118. type: number
  17119. closememberchargevalue:
  17120. description: 平仓会员手续费设置值
  17121. type: number
  17122. closeqty:
  17123. description: 平仓数量(先建后平操作 需要记录)
  17124. type: number
  17125. closetradeqty:
  17126. description: 平仓成交数量(先建后平操作,需要记录)
  17127. type: number
  17128. closeunfreezecharge:
  17129. description: 平仓解冻手续费(先建后平操作,需要记录)
  17130. type: number
  17131. decimalplace:
  17132. description: 商品报价小数位
  17133. type: integer
  17134. delistingtype:
  17135. description: 摘牌类型 - 1:价格最优 2:点选成交
  17136. type: integer
  17137. enumdicname:
  17138. description: 单位名称
  17139. type: string
  17140. freezecharge:
  17141. description: 冻结手续费
  17142. type: number
  17143. freezemargin:
  17144. description: 冻结保证金(冻结交易金额)
  17145. type: number
  17146. gcaccountid:
  17147. description: 账户ID[合约币种]
  17148. type: integer
  17149. goodscode:
  17150. description: 商品代码
  17151. type: string
  17152. goodsid:
  17153. description: 商品ID
  17154. type: integer
  17155. goodsname:
  17156. description: 商品名称
  17157. type: string
  17158. goodunitid:
  17159. description: 商品单位id
  17160. type: integer
  17161. histradedate:
  17162. description: 历史交易日
  17163. type: string
  17164. isconfirmexercise:
  17165. description: 是否确认行权- 0:否 1:是
  17166. type: integer
  17167. ispreexercise:
  17168. description: 是否预申报- 0:否 1:是
  17169. type: integer
  17170. isvaliddata:
  17171. description: 是否有效 - 0:无效 1:有效
  17172. type: integer
  17173. listingselecttype:
  17174. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17175. type: integer
  17176. marginalgorithm:
  17177. description: 保证金收取方式 1:比率 2:固定
  17178. type: integer
  17179. marginvalue:
  17180. description: 即市保证金设置值
  17181. type: number
  17182. marketid:
  17183. description: 市场ID
  17184. type: integer
  17185. marketmaxsub:
  17186. description: 市价最大偏移范围
  17187. type: number
  17188. marketname:
  17189. description: 市场名称
  17190. type: string
  17191. memberuserid:
  17192. description: 所属会员UserID
  17193. type: integer
  17194. openexchagechargevalue:
  17195. description: 建仓交易所手续费设置值
  17196. type: number
  17197. openfeealgorithm:
  17198. description: 建仓手续费收取方式 1:比率 2:固定
  17199. type: integer
  17200. openfreezecharge:
  17201. description: 开仓冻结手续费(先建后平操作,需要记录)
  17202. type: number
  17203. openmemberchargevalue:
  17204. description: 建仓会员手续费设置值
  17205. type: number
  17206. openqty:
  17207. description: 开仓数量(先建后平操作,需要记录)
  17208. type: number
  17209. opentradeqty:
  17210. description: 开仓成交数量(先建后平操作,需要记录)
  17211. type: number
  17212. openunfreezecharge:
  17213. description: 开仓解冻手续费(先建后平操作,需要记录)
  17214. type: number
  17215. operatetype:
  17216. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17217. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17218. 15:管理端协议转让
  17219. type: integer
  17220. operatorid:
  17221. description: 登录账号(LoginID)
  17222. type: integer
  17223. optiontype:
  17224. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17225. type: integer
  17226. orderid:
  17227. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17228. type: string
  17229. orderprice:
  17230. description: 委托价格
  17231. type: number
  17232. orderqty:
  17233. description: 委托数量
  17234. type: number
  17235. ordersrc:
  17236. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17237. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17238. type: integer
  17239. orderstatus:
  17240. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17241. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17242. 16:成交失败违约(荷兰式竞拍专用)
  17243. type: integer
  17244. ordertime:
  17245. description: 委托时间
  17246. type: string
  17247. preexerciseprice:
  17248. description: 预申报价格
  17249. type: number
  17250. premium:
  17251. description: 权利金
  17252. type: number
  17253. preorderid:
  17254. description: 关联预埋单号(止盈止损单时填写)
  17255. type: string
  17256. pricemode:
  17257. description: '取价方式 - 1:市价 2: 限价'
  17258. type: integer
  17259. qtydecimalplace:
  17260. description: 成交量小数位
  17261. type: integer
  17262. quoteid:
  17263. description: 报价单ID
  17264. type: integer
  17265. relatedid:
  17266. description: 关联单号(交割单)
  17267. type: string
  17268. retcode:
  17269. description: 错误代码
  17270. type: integer
  17271. sessionid:
  17272. description: 会话ID
  17273. type: integer
  17274. tradedate:
  17275. description: 交易日(yyyyMMdd)
  17276. type: string
  17277. trademode:
  17278. description: 交易模式
  17279. type: integer
  17280. tradeproperty:
  17281. description: 交易属性
  17282. type: integer
  17283. tradeqty:
  17284. description: 成交数量
  17285. type: number
  17286. unfreezecharge:
  17287. description: 解冻手续费
  17288. type: number
  17289. unfreezemargin:
  17290. description: 解冻保证金
  17291. type: number
  17292. updatetime:
  17293. description: 更新时间
  17294. type: string
  17295. uuid:
  17296. description: 发起端唯一id
  17297. type: string
  17298. validtime:
  17299. description: 有效期限
  17300. type: string
  17301. validtype:
  17302. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17303. type: integer
  17304. volumetype:
  17305. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17306. type: integer
  17307. required:
  17308. - accountid
  17309. - buildtype
  17310. - buyorsell
  17311. - goodsid
  17312. - histradedate
  17313. - marketid
  17314. - memberuserid
  17315. - operatetype
  17316. - orderid
  17317. - orderqty
  17318. - ordertime
  17319. - pricemode
  17320. - tradedate
  17321. - validtype
  17322. type: object
  17323. order.QueryTradeDetailRsp:
  17324. properties:
  17325. accountid:
  17326. description: 账户ID[报价币种]
  17327. type: integer
  17328. advanceratio:
  17329. description: 首付比率
  17330. type: number
  17331. buildtype:
  17332. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17333. type: integer
  17334. buyorsell:
  17335. description: 方向 - 0:买 1:卖
  17336. type: integer
  17337. charge:
  17338. description: 手续费
  17339. type: number
  17340. closecharge:
  17341. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17342. type: number
  17343. closeexchagechargevalue:
  17344. description: 平仓交易所手续费设置值
  17345. type: number
  17346. closefeealgorithm:
  17347. description: 平仓手续费收取方式 1:比率 2:固定
  17348. type: integer
  17349. closememberchargevalue:
  17350. description: 平仓会员手续费设置值
  17351. type: number
  17352. closepl:
  17353. description: 平仓盈亏
  17354. type: number
  17355. closepl2:
  17356. description: 平仓盈亏[逐笔]
  17357. type: number
  17358. closeqty:
  17359. description: 平仓数量(先建后平操作 需要记录)
  17360. type: number
  17361. creditamount:
  17362. description: 授信金额
  17363. type: number
  17364. decimalplace:
  17365. description: 商品报价小数位
  17366. type: integer
  17367. enumdicname:
  17368. description: 单位名称
  17369. type: string
  17370. gcaccountid:
  17371. description: 账户ID[合约币种]
  17372. type: integer
  17373. goodscode:
  17374. description: 商品代码
  17375. type: string
  17376. goodsid:
  17377. description: 商品ID
  17378. type: integer
  17379. goodsname:
  17380. description: 商品名称
  17381. type: string
  17382. goodunitid:
  17383. description: 商品单位id
  17384. type: integer
  17385. intclosepl:
  17386. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17387. type: integer
  17388. isconfirmexercise:
  17389. description: 是否确认行权- 0:否 1:是
  17390. type: integer
  17391. ismain:
  17392. description: 是否主单 - 0:不是 1:是
  17393. type: integer
  17394. ispreexercise:
  17395. description: 是否预申报- 0:否 1:是
  17396. type: integer
  17397. isreckoned:
  17398. description: 是否结算 - 0:未结算 1:已结算
  17399. type: integer
  17400. listingselecttype:
  17401. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17402. type: integer
  17403. marketid:
  17404. description: 市场ID
  17405. type: integer
  17406. marketname:
  17407. description: 市场名称
  17408. type: string
  17409. matchaccountid:
  17410. description: 对手账号id
  17411. type: integer
  17412. memberuserid:
  17413. description: 会员id 个人投资者 需要填写
  17414. type: integer
  17415. opencharge:
  17416. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17417. type: number
  17418. openexchagechargevalue:
  17419. description: 建仓交易所手续费设置值
  17420. type: number
  17421. openfeealgorithm:
  17422. description: 建仓手续费收取方式 1:比率 2:固定
  17423. type: integer
  17424. openmemberchargevalue:
  17425. description: 建仓会员手续费设置值
  17426. type: number
  17427. openqty:
  17428. description: 开仓数量(先建后平操作 需要记录)
  17429. type: number
  17430. optiontype:
  17431. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17432. type: integer
  17433. orderid:
  17434. description: 委托单号
  17435. type: string
  17436. payamount:
  17437. description: 支付金额(付款金额)
  17438. type: number
  17439. performanceplanid:
  17440. description: 履约计划ID[期权]
  17441. type: integer
  17442. performancestatus:
  17443. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17444. type: integer
  17445. preexerciseprice:
  17446. description: 预申报价格
  17447. type: number
  17448. premium:
  17449. description: 权利金 - [持仓单的权利金]
  17450. type: number
  17451. qtydecimalplace:
  17452. description: 商品报价小数位
  17453. type: integer
  17454. recvamount:
  17455. description: 到账金额 = 成交金额 - 手续费
  17456. type: number
  17457. relatedouttradeid:
  17458. description: 关联外部成交单ID
  17459. type: integer
  17460. status:
  17461. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17462. type: integer
  17463. totalamount:
  17464. description: 订单总额 = 成交金额 + 手续费
  17465. type: number
  17466. tradeamount:
  17467. description: 成交金额[账户币种,用于所有权]
  17468. type: number
  17469. tradedate:
  17470. description: 交易日(yyyyMMdd)
  17471. type: string
  17472. tradeid:
  17473. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17474. type: string
  17475. trademode:
  17476. description: 交易模式
  17477. type: integer
  17478. tradeprice:
  17479. description: 成交价格
  17480. type: number
  17481. tradeproperty:
  17482. description: 交易属性
  17483. type: integer
  17484. tradeqty:
  17485. description: 成交数量
  17486. type: number
  17487. tradetime:
  17488. description: 成交时间
  17489. type: string
  17490. tradetype:
  17491. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17492. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17493. type: integer
  17494. required:
  17495. - accountid
  17496. - buyorsell
  17497. - goodsid
  17498. - marketid
  17499. - memberuserid
  17500. - orderid
  17501. - tradeamount
  17502. - tradedate
  17503. - tradeid
  17504. - tradeprice
  17505. - tradeqty
  17506. - tradetime
  17507. type: object
  17508. order.QueryTradeOrderDetailRsp:
  17509. properties:
  17510. accountid:
  17511. description: 账户ID[报价币种]
  17512. type: integer
  17513. buildtype:
  17514. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17515. type: integer
  17516. buyorsell:
  17517. description: 买卖 - 0:买 1:卖
  17518. type: integer
  17519. cancelorderid:
  17520. description: 撤单单号(撤单时填写)
  17521. type: string
  17522. cancelqty:
  17523. description: 撤单数量
  17524. type: number
  17525. clienttype:
  17526. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17527. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17528. type: integer
  17529. closefreezecharge:
  17530. description: 平仓冻结手续费(先建后平操作,需要记录)
  17531. type: number
  17532. closeqty:
  17533. description: 平仓数量(先建后平操作 需要记录)
  17534. type: number
  17535. closetradeqty:
  17536. description: 平仓成交数量(先建后平操作,需要记录)
  17537. type: number
  17538. closeunfreezecharge:
  17539. description: 平仓解冻手续费(先建后平操作,需要记录)
  17540. type: number
  17541. decimalplace:
  17542. description: 商品报价小数位
  17543. type: integer
  17544. delistingtype:
  17545. description: 摘牌类型 - 1:价格最优 2:点选成交
  17546. type: integer
  17547. enableqty:
  17548. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17549. type: number
  17550. enumdicname:
  17551. description: 单位名称
  17552. type: string
  17553. freezecharge:
  17554. description: 冻结手续费
  17555. type: number
  17556. freezemargin:
  17557. description: 冻结保证金(冻结交易金额)
  17558. type: number
  17559. goodscode:
  17560. description: 商品代码
  17561. type: string
  17562. goodsid:
  17563. description: 商品ID
  17564. type: integer
  17565. goodsname:
  17566. description: 商品名称
  17567. type: string
  17568. goodunitid:
  17569. description: 商品单位id
  17570. type: integer
  17571. listingselecttype:
  17572. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17573. type: integer
  17574. marketid:
  17575. description: 市场ID
  17576. type: integer
  17577. marketname:
  17578. description: 市场名称
  17579. type: string
  17580. openfreezecharge:
  17581. description: 开仓冻结手续费(先建后平操作,需要记录)
  17582. type: number
  17583. openqty:
  17584. description: 开仓数量(先建后平操作,需要记录)
  17585. type: number
  17586. opentradeqty:
  17587. description: 开仓成交数量(先建后平操作,需要记录)
  17588. type: number
  17589. openunfreezecharge:
  17590. description: 开仓解冻手续费(先建后平操作,需要记录)
  17591. type: number
  17592. operatetype:
  17593. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17594. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17595. 15:管理端协议转让
  17596. type: integer
  17597. operatorid:
  17598. description: 登录账号(LoginID)
  17599. type: integer
  17600. orderid:
  17601. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17602. type: string
  17603. orderprice:
  17604. description: 委托价格
  17605. type: number
  17606. orderqty:
  17607. description: 委托数量
  17608. type: number
  17609. ordersrc:
  17610. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17611. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17612. type: integer
  17613. orderstatus:
  17614. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17615. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17616. 16:成交失败违约(荷兰式竞拍专用)
  17617. type: integer
  17618. ordertime:
  17619. description: 委托时间
  17620. type: string
  17621. preorderid:
  17622. description: 关联预埋单号(止盈止损单时填写)
  17623. type: string
  17624. pricemode:
  17625. description: '取价方式 - 1:市价 2: 限价'
  17626. type: integer
  17627. qtydecimalplace:
  17628. description: 商品报价小数位
  17629. type: integer
  17630. relatedid:
  17631. description: 关联单号(交割单)
  17632. type: string
  17633. tradedate:
  17634. description: 交易日(yyyyMMdd)
  17635. type: string
  17636. trademode:
  17637. description: 交易模式
  17638. type: integer
  17639. tradeqty:
  17640. description: 成交数量
  17641. type: number
  17642. unfreezecharge:
  17643. description: 解冻手续费
  17644. type: number
  17645. unfreezemargin:
  17646. description: 解冻保证金
  17647. type: number
  17648. validtime:
  17649. description: 有效期限
  17650. type: string
  17651. validtype:
  17652. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17653. type: integer
  17654. volumetype:
  17655. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17656. type: integer
  17657. required:
  17658. - accountid
  17659. - buildtype
  17660. - buyorsell
  17661. - goodsid
  17662. - marketid
  17663. - operatetype
  17664. - orderqty
  17665. - ordertime
  17666. - pricemode
  17667. - tradedate
  17668. - validtype
  17669. type: object
  17670. order.QueryTradePositionRsp:
  17671. properties:
  17672. accountid:
  17673. description: 资金账户
  17674. type: integer
  17675. agreeunit:
  17676. description: 合约单位
  17677. type: number
  17678. averageprice:
  17679. description: 持仓均价
  17680. type: number
  17681. buyorsell:
  17682. description: 方向 - 0:买 1:卖
  17683. type: integer
  17684. closetotalqty:
  17685. description: 平仓总数量
  17686. type: number
  17687. curholderamount:
  17688. description: 当前持仓总金额[商品币种]
  17689. type: number
  17690. curpositionqty:
  17691. description: 当前持仓总数量
  17692. type: number
  17693. currencyid:
  17694. description: 报价货币ID
  17695. type: integer
  17696. curtdposition:
  17697. description: 期末今日头寸
  17698. type: number
  17699. decimalplace:
  17700. description: 报价小数位
  17701. type: integer
  17702. enableqty:
  17703. description: 可用量
  17704. type: number
  17705. fretdposition:
  17706. description: 冻结今日头寸
  17707. type: number
  17708. frozenqty:
  17709. description: 持仓冻结数量
  17710. type: number
  17711. goodscode:
  17712. description: 商品代码
  17713. type: string
  17714. goodsid:
  17715. description: 商品Id
  17716. type: integer
  17717. goodsname:
  17718. description: 商品名称
  17719. type: string
  17720. goodunit:
  17721. description: 报价单位
  17722. type: string
  17723. goodunitid:
  17724. description: 报价单位ID
  17725. type: integer
  17726. holderamount:
  17727. description: 期初持仓总金额[商品币种]
  17728. type: number
  17729. lastprice:
  17730. description: 最新价
  17731. type: number
  17732. marketamount:
  17733. description: 市值
  17734. type: number
  17735. marketid:
  17736. description: 所属市场ID
  17737. type: integer
  17738. openreqqty:
  17739. description: 开仓申请数量(用于比较最大持仓数量)
  17740. type: number
  17741. opentotalqty:
  17742. description: 开仓总数量
  17743. type: number
  17744. otherfrozenqty:
  17745. description: 持仓其他冻结数量(交割冻结)
  17746. type: number
  17747. positionpl:
  17748. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  17749. * 合约单位
  17750. type: number
  17751. positionplrate:
  17752. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17753. type: number
  17754. positionqty:
  17755. description: 期初持仓数量
  17756. type: number
  17757. qtydecimalplace:
  17758. description: 成交量小数位
  17759. type: integer
  17760. refgoodscode:
  17761. description: 参考商品代码
  17762. type: string
  17763. refgoodsid:
  17764. description: 参考商品ID
  17765. type: integer
  17766. tnqty:
  17767. description: T+N冻结总量
  17768. type: number
  17769. tnusedqty:
  17770. description: T+N使用量(可以使用T+N的冻结数量)
  17771. type: number
  17772. trademode:
  17773. description: 交易模式
  17774. type: integer
  17775. tradeproperty:
  17776. description: 交易属性
  17777. type: integer
  17778. usedmargin:
  17779. description: 占用保证金[商品币种]
  17780. type: number
  17781. required:
  17782. - goodsid
  17783. type: object
  17784. pb.GoodsMarginCfgStruct:
  17785. properties:
  17786. CustomerTypeID:
  17787. description: 投资者客户类型
  17788. type: integer
  17789. GoodsID:
  17790. description: 商品ID
  17791. type: integer
  17792. IsDefault:
  17793. description: 是否默认标志位
  17794. type: integer
  17795. LockMarginValue:
  17796. description: 锁仓保证金
  17797. type: number
  17798. MarginAlgorithm:
  17799. description: 保证金计算方式
  17800. type: integer
  17801. MarketMarginValue:
  17802. description: 即市保证金值
  17803. type: number
  17804. RealMarginAlgorithm:
  17805. description: 实付保证金计算方式
  17806. type: integer
  17807. RealMarginValue:
  17808. description: 实付比例
  17809. type: number
  17810. ReckonMarginValue:
  17811. description: 结算保证金值
  17812. type: number
  17813. type: object
  17814. quote.HistoryData:
  17815. properties:
  17816. c:
  17817. description: 收盘价
  17818. type: number
  17819. f:
  17820. description: 是否补充数据
  17821. type: boolean
  17822. h:
  17823. description: 最高价
  17824. type: number
  17825. hv:
  17826. description: 持仓量
  17827. type: integer
  17828. l:
  17829. description: 最低价
  17830. type: number
  17831. o:
  17832. description: 开盘价
  17833. type: number
  17834. s:
  17835. description: 结算价,日线周期(包括)以上才有
  17836. type: number
  17837. ts:
  17838. description: 时间
  17839. type: string
  17840. tt:
  17841. description: 总金额
  17842. type: number
  17843. tv:
  17844. description: 总量(成交量)
  17845. type: integer
  17846. type: object
  17847. quote.HistoryTikData:
  17848. properties:
  17849. AV:
  17850. description: 卖量
  17851. type: integer
  17852. Ask:
  17853. description: 卖价
  17854. type: number
  17855. BV:
  17856. description: 买量
  17857. type: integer
  17858. Bid:
  17859. description: 买价
  17860. type: number
  17861. HI:
  17862. description: 单笔持仓
  17863. type: integer
  17864. HV:
  17865. description: 持仓量
  17866. type: integer
  17867. PE:
  17868. description: 现价
  17869. type: number
  17870. TDR:
  17871. description: 交易方向,0:买 1:卖
  17872. type: integer
  17873. TK:
  17874. description: 交易类型
  17875. type: integer
  17876. TS:
  17877. description: 行情时间文本
  17878. type: string
  17879. TT:
  17880. description: 现金额
  17881. type: number
  17882. Vol:
  17883. description: 现量
  17884. type: integer
  17885. type: object
  17886. quote.QueryQuoteDayRsp:
  17887. properties:
  17888. ask:
  17889. description: 卖1
  17890. type: number
  17891. ask2:
  17892. description: 卖2
  17893. type: number
  17894. ask3:
  17895. description: 卖3
  17896. type: number
  17897. ask4:
  17898. description: 卖4
  17899. type: number
  17900. ask5:
  17901. description: 卖5
  17902. type: number
  17903. ask6:
  17904. description: 卖6
  17905. type: number
  17906. ask7:
  17907. description: 卖7
  17908. type: number
  17909. ask8:
  17910. description: 卖8
  17911. type: number
  17912. ask9:
  17913. description: 卖9
  17914. type: number
  17915. ask10:
  17916. description: 卖10
  17917. type: number
  17918. askorderid:
  17919. description: 卖单号1
  17920. type: integer
  17921. askorderid2:
  17922. description: 卖单号2
  17923. type: integer
  17924. askorderid3:
  17925. description: 卖单号3
  17926. type: integer
  17927. askorderid4:
  17928. description: 卖单号4
  17929. type: integer
  17930. askorderid5:
  17931. description: 卖单号5
  17932. type: integer
  17933. askordervolume:
  17934. description: 卖单量1
  17935. type: integer
  17936. askordervolume2:
  17937. description: 卖单量2
  17938. type: integer
  17939. askordervolume3:
  17940. description: 卖单量3
  17941. type: integer
  17942. askordervolume4:
  17943. description: 卖单量4
  17944. type: integer
  17945. askordervolume5:
  17946. description: 卖单量5
  17947. type: integer
  17948. askordervolume6:
  17949. description: 卖单量6
  17950. type: integer
  17951. askordervolume7:
  17952. description: 卖单量7
  17953. type: integer
  17954. askordervolume8:
  17955. description: 卖单量8
  17956. type: integer
  17957. askordervolume9:
  17958. description: 卖单量9
  17959. type: integer
  17960. askordervolume10:
  17961. description: 卖单量10
  17962. type: integer
  17963. askqueueinfo:
  17964. description: 大利市卖港股用
  17965. type: string
  17966. askvolume:
  17967. description: 卖量1
  17968. type: integer
  17969. askvolume2:
  17970. description: 卖量2
  17971. type: integer
  17972. askvolume3:
  17973. description: 卖量3
  17974. type: integer
  17975. askvolume4:
  17976. description: 卖量4
  17977. type: integer
  17978. askvolume5:
  17979. description: 卖量5
  17980. type: integer
  17981. askvolume6:
  17982. description: 卖量6
  17983. type: integer
  17984. askvolume7:
  17985. description: 卖量7
  17986. type: integer
  17987. askvolume8:
  17988. description: 卖量8
  17989. type: integer
  17990. askvolume9:
  17991. description: 卖量9
  17992. type: integer
  17993. askvolume10:
  17994. description: 卖量10
  17995. type: integer
  17996. averageprice:
  17997. description: 均价
  17998. type: number
  17999. bid:
  18000. description: 买1
  18001. type: number
  18002. bid2:
  18003. description: 买2
  18004. type: number
  18005. bid3:
  18006. description: 买3
  18007. type: number
  18008. bid4:
  18009. description: 买4
  18010. type: number
  18011. bid5:
  18012. description: 买5
  18013. type: number
  18014. bid6:
  18015. description: 买6
  18016. type: number
  18017. bid7:
  18018. description: 买7
  18019. type: number
  18020. bid8:
  18021. description: 买8
  18022. type: number
  18023. bid9:
  18024. description: 买9
  18025. type: number
  18026. bid10:
  18027. description: 买10
  18028. type: number
  18029. bidorderid:
  18030. description: 买单号1
  18031. type: integer
  18032. bidorderid2:
  18033. description: 买单号2
  18034. type: integer
  18035. bidorderid3:
  18036. description: 买单号3
  18037. type: integer
  18038. bidorderid4:
  18039. description: 买单号4
  18040. type: integer
  18041. bidorderid5:
  18042. description: 买单号5
  18043. type: integer
  18044. bidordervolume:
  18045. description: 买单量1
  18046. type: integer
  18047. bidordervolume2:
  18048. description: 买单量2
  18049. type: integer
  18050. bidordervolume3:
  18051. description: 买单量3
  18052. type: integer
  18053. bidordervolume4:
  18054. description: 买单量4
  18055. type: integer
  18056. bidordervolume5:
  18057. description: 买单量5
  18058. type: integer
  18059. bidordervolume6:
  18060. description: 买单量6
  18061. type: integer
  18062. bidordervolume7:
  18063. description: 买单量7
  18064. type: integer
  18065. bidordervolume8:
  18066. description: 买单量8
  18067. type: integer
  18068. bidordervolume9:
  18069. description: 买单量9
  18070. type: integer
  18071. bidordervolume10:
  18072. description: 买单量10
  18073. type: integer
  18074. bidqueueinfo:
  18075. description: 大利市买港股用
  18076. type: string
  18077. bidvolume:
  18078. description: 买量1
  18079. type: integer
  18080. bidvolume2:
  18081. description: 买量2
  18082. type: integer
  18083. bidvolume3:
  18084. description: 买量3
  18085. type: integer
  18086. bidvolume4:
  18087. description: 买量4
  18088. type: integer
  18089. bidvolume5:
  18090. description: 买量5
  18091. type: integer
  18092. bidvolume6:
  18093. description: 买量6
  18094. type: integer
  18095. bidvolume7:
  18096. description: 买量7
  18097. type: integer
  18098. bidvolume8:
  18099. description: 买量8
  18100. type: integer
  18101. bidvolume9:
  18102. description: 买量9
  18103. type: integer
  18104. bidvolume10:
  18105. description: 买量10
  18106. type: integer
  18107. calloptionpremiums:
  18108. description: 认购期权1
  18109. type: integer
  18110. calloptionpremiums2:
  18111. description: 认购期权2
  18112. type: integer
  18113. calloptionpremiums3:
  18114. description: 认购期权3
  18115. type: integer
  18116. calloptionpremiums4:
  18117. description: 认购期权4
  18118. type: integer
  18119. calloptionpremiums5:
  18120. description: 认购期权5
  18121. type: integer
  18122. cleartime:
  18123. description: 清盘时间
  18124. type: integer
  18125. exchangecode:
  18126. description: 交易所代码
  18127. type: integer
  18128. exchangedate:
  18129. description: 交易日
  18130. type: integer
  18131. goodscode:
  18132. description: 商品代码
  18133. type: string
  18134. grepmarketprice:
  18135. description: 暗盘价 港股专用
  18136. type: number
  18137. highest:
  18138. description: 最高价
  18139. type: number
  18140. holdincrement:
  18141. description: 单笔持仓
  18142. type: integer
  18143. holdvolume:
  18144. description: 持仓
  18145. type: integer
  18146. iep:
  18147. description: 平衡价 港股专用
  18148. type: number
  18149. iev:
  18150. description: 平衡量 港股专用
  18151. type: number
  18152. inventory:
  18153. description: 库存
  18154. type: integer
  18155. iscleared:
  18156. description: 是否清盘标志
  18157. type: integer
  18158. issettled:
  18159. description: 是否结算标志
  18160. type: integer
  18161. last:
  18162. description: 最新价
  18163. type: number
  18164. lastlot:
  18165. description: 最新成交手数
  18166. type: integer
  18167. lasttime:
  18168. description: 行情时间(只有现价变化行情时间才变化)
  18169. type: string
  18170. lastturnover:
  18171. description: 最新成交金额
  18172. type: number
  18173. lastvolume:
  18174. description: 最新成交量
  18175. type: integer
  18176. limitdown:
  18177. description: 跌停价
  18178. type: number
  18179. limitup:
  18180. description: 涨停价
  18181. type: number
  18182. lowest:
  18183. description: 最低价
  18184. type: number
  18185. nontotalholdervolume:
  18186. description: 非交易持仓量
  18187. type: integer
  18188. nontotallot:
  18189. description: 非交易总手数
  18190. type: integer
  18191. nontotalturnover:
  18192. description: 非交易总金额
  18193. type: integer
  18194. nontotalvolume:
  18195. description: 非交易总量
  18196. type: integer
  18197. opened:
  18198. description: 开盘价
  18199. type: number
  18200. opentime:
  18201. description: 开盘时间
  18202. type: string
  18203. orderid:
  18204. description: 序号
  18205. type: integer
  18206. preclose:
  18207. description: 昨收
  18208. type: number
  18209. preholdvolume:
  18210. description: 昨持仓
  18211. type: integer
  18212. presettle:
  18213. description: 昨结价
  18214. type: number
  18215. publictradetype:
  18216. description: 公共交易标志类型 港股专用
  18217. type: string
  18218. putoptionpremiums:
  18219. description: 认沽期权1
  18220. type: integer
  18221. putoptionpremiums2:
  18222. description: 认沽期权2
  18223. type: integer
  18224. putoptionpremiums3:
  18225. description: 认沽期权3
  18226. type: integer
  18227. putoptionpremiums4:
  18228. description: 认沽期权4
  18229. type: integer
  18230. putoptionpremiums5:
  18231. description: 认沽期权5
  18232. type: integer
  18233. settle:
  18234. description: 结算价
  18235. type: number
  18236. strikeprice:
  18237. description: 发行价
  18238. type: number
  18239. totalaskvolume:
  18240. description: 内盘
  18241. type: integer
  18242. totalbidvolume:
  18243. description: 外盘
  18244. type: integer
  18245. totallot:
  18246. description: 总手数
  18247. type: integer
  18248. totalturnover:
  18249. description: 总金额
  18250. type: number
  18251. totalvolume:
  18252. description: 总量
  18253. type: integer
  18254. utclasttime:
  18255. description: utc的行情时间
  18256. type: string
  18257. type: object
  18258. quote.QueryTSDataRsp:
  18259. properties:
  18260. Count:
  18261. description: 交易日应有数据个数
  18262. type: integer
  18263. decimalPlace:
  18264. description: 小数位
  18265. type: integer
  18266. endTime:
  18267. description: 结束时间
  18268. type: string
  18269. goodsCode:
  18270. description: 商品代码
  18271. type: string
  18272. historyDatas:
  18273. description: 历史数据
  18274. items:
  18275. $ref: '#/definitions/quote.HistoryData'
  18276. type: array
  18277. outGoodsCode:
  18278. description: 外部商品代码
  18279. type: string
  18280. preSettle:
  18281. description: 昨结价
  18282. type: number
  18283. runSteps:
  18284. description: 交易日开休市计划
  18285. items:
  18286. $ref: '#/definitions/quote.TSDataRunStep'
  18287. type: array
  18288. startTime:
  18289. description: 开始时间
  18290. type: string
  18291. tradeDate:
  18292. description: 交易日
  18293. type: string
  18294. type: object
  18295. quote.TSDataRunStep:
  18296. properties:
  18297. end:
  18298. description: 真实结束时间
  18299. type: string
  18300. endflag:
  18301. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18302. type: integer
  18303. endtime:
  18304. description: 结束时间(HH:mm)
  18305. type: string
  18306. endweekday:
  18307. description: 结束周几
  18308. type: integer
  18309. groupid:
  18310. description: 分组ID
  18311. type: integer
  18312. runstep:
  18313. description: 运行阶段 - 2:连续交易
  18314. type: integer
  18315. sectionid:
  18316. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18317. 结束时间=结算时间 结束周几=结算周几
  18318. type: integer
  18319. start:
  18320. description: 真实开始时间
  18321. type: string
  18322. startflag:
  18323. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18324. type: integer
  18325. starttime:
  18326. description: 起始时间(HH:mm)
  18327. type: string
  18328. startweekday:
  18329. description: 起始周几
  18330. type: integer
  18331. tradeweekday:
  18332. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18333. type: integer
  18334. type: object
  18335. szdz.QueryConvertLogRsp:
  18336. properties:
  18337. accountid:
  18338. description: 资金账户ID
  18339. type: integer
  18340. clientticket:
  18341. description: 客户端流水号
  18342. type: string
  18343. converttype:
  18344. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18345. type: integer
  18346. createtime:
  18347. description: 记账时间
  18348. type: string
  18349. daymaxvalue:
  18350. description: 配置当日最大转入限制
  18351. type: number
  18352. daymaxvalue2:
  18353. description: 配置当日最大转入限制(转入)
  18354. type: number
  18355. goodscode:
  18356. description: 商品代码
  18357. type: string
  18358. goodsname:
  18359. description: 商品名称
  18360. type: string
  18361. handlestatus:
  18362. description: 处理状态
  18363. type: integer
  18364. innergoodsid:
  18365. description: 内部商品ID
  18366. type: integer
  18367. inratio:
  18368. description: 配置转入比值
  18369. type: integer
  18370. invalue:
  18371. description: 目标值
  18372. type: number
  18373. logid:
  18374. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18375. type: integer
  18376. mobile:
  18377. description: 手机号码(加密存储)
  18378. type: string
  18379. outergoodscode:
  18380. description: 外部商品代码[JD\PD]
  18381. type: string
  18382. outratio:
  18383. description: 配置转出比值
  18384. type: integer
  18385. outvalue:
  18386. description: 源值
  18387. type: number
  18388. pddecimalplace:
  18389. description: PD小数位
  18390. type: integer
  18391. qty:
  18392. description: 数量
  18393. type: string
  18394. remark:
  18395. description: 备注
  18396. type: string
  18397. sessionid:
  18398. description: 会话ID
  18399. type: integer
  18400. timemaxvalue:
  18401. description: 配置单次最大转入限制
  18402. type: number
  18403. timemaxvalue2:
  18404. description: 配置单次最大转入限制(转入)
  18405. type: number
  18406. timeminvalue:
  18407. description: 配置单次最小数量限制
  18408. type: number
  18409. timeminvalue2:
  18410. description: 配置单次最小数量限制(转入)
  18411. type: number
  18412. tradedate:
  18413. description: 交易日(yyyyMMdd)
  18414. type: string
  18415. userid:
  18416. description: 用户ID
  18417. type: integer
  18418. required:
  18419. - logid
  18420. type: object
  18421. szdz.QueryGoodsPickupRsp:
  18422. properties:
  18423. accountid:
  18424. description: 账户ID
  18425. type: integer
  18426. address:
  18427. description: 提货人详细地址
  18428. type: string
  18429. auditer:
  18430. description: 审核人
  18431. type: integer
  18432. audittime:
  18433. description: 审核时间
  18434. type: string
  18435. cardnum:
  18436. description: 提货人证件号码
  18437. type: string
  18438. cardtypeid:
  18439. description: 提货人证件类型
  18440. type: integer
  18441. checkremark:
  18442. description: 审核备注
  18443. type: string
  18444. goodscode:
  18445. description: 商品代码
  18446. type: string
  18447. goodsid:
  18448. description: 商品ID
  18449. type: integer
  18450. goodsname:
  18451. description: 商品名称
  18452. type: string
  18453. handlestatus:
  18454. description: 处理状态
  18455. type: integer
  18456. marketid:
  18457. description: 市场ID
  18458. type: integer
  18459. phonenum:
  18460. description: 提货人联系方式
  18461. type: string
  18462. qty:
  18463. description: 提货数量
  18464. type: number
  18465. recivername:
  18466. description: 提货人姓名
  18467. type: string
  18468. reqtime:
  18469. description: 更新时间
  18470. type: string
  18471. takemode:
  18472. description: 提货方式 - 2:自提 3:配送
  18473. type: integer
  18474. takeorderid:
  18475. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18476. type: string
  18477. takeorderstatus:
  18478. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18479. type: integer
  18480. takeremark:
  18481. description: 提货备注
  18482. type: string
  18483. tradedate:
  18484. description: 交易日(yyyyMMdd)
  18485. type: string
  18486. userid:
  18487. description: 用户ID
  18488. type: integer
  18489. required:
  18490. - takeorderid
  18491. type: object
  18492. szdz.QueryRecieptOrderRsp:
  18493. properties:
  18494. accountName:
  18495. description: 所属账号名称(已脱敏)
  18496. type: string
  18497. accountid:
  18498. description: 资金账号
  18499. type: integer
  18500. buyorsell:
  18501. description: 方向 - 0:买 1:卖
  18502. type: integer
  18503. enableqty:
  18504. description: 可摘数量
  18505. type: integer
  18506. goodscode:
  18507. description: 商品代码
  18508. type: string
  18509. goodsid:
  18510. description: 商品ID
  18511. type: integer
  18512. goodsname:
  18513. description: 商品名称
  18514. type: string
  18515. orderid:
  18516. description: 委托单号
  18517. type: string
  18518. orderprice:
  18519. description: 委托价格
  18520. type: number
  18521. ordertime:
  18522. description: 委托时间
  18523. type: string
  18524. tradedate:
  18525. description: 交易日(yyyyMMdd)
  18526. type: string
  18527. required:
  18528. - ordertime
  18529. type: object
  18530. szdz.QuerySZDZTradePositionRsp:
  18531. properties:
  18532. accountid:
  18533. description: 账号Id
  18534. type: integer
  18535. agreeunit:
  18536. description: 合约单位
  18537. type: number
  18538. averageprice:
  18539. description: 持仓均价
  18540. type: number
  18541. buyorsell:
  18542. description: 方向 - 0:买 1:卖
  18543. type: integer
  18544. closetotalqty:
  18545. description: 平仓总数量
  18546. type: integer
  18547. curholderamount:
  18548. description: 当前持仓总金额
  18549. type: number
  18550. curpositionqty:
  18551. description: 当前持仓总数量
  18552. type: integer
  18553. currencyid:
  18554. description: 报价货币ID
  18555. type: integer
  18556. curtdposition:
  18557. description: 期末今日头寸
  18558. type: integer
  18559. decimalplace:
  18560. description: 报价小数位
  18561. type: integer
  18562. enableqty:
  18563. description: 可用量
  18564. type: integer
  18565. fretdposition:
  18566. description: 冻结今日头寸
  18567. type: integer
  18568. frozenqty:
  18569. description: 持仓冻结数量
  18570. type: integer
  18571. goodscode:
  18572. description: 商品代码(内部)
  18573. type: string
  18574. goodsid:
  18575. description: 商品Id
  18576. type: integer
  18577. goodsname:
  18578. description: 商品名称
  18579. type: string
  18580. goodunit:
  18581. description: 报价单位
  18582. type: string
  18583. goodunitid:
  18584. description: 报价单位ID
  18585. type: integer
  18586. holderamount:
  18587. description: 期初持仓总金额
  18588. type: number
  18589. marketid:
  18590. description: 市场ID
  18591. type: integer
  18592. openreqqty:
  18593. description: 开仓申请数量
  18594. type: integer
  18595. opentotalqty:
  18596. description: 开仓总数量
  18597. type: integer
  18598. otherfrozenqty:
  18599. description: 持仓其他冻结数量(交割冻结)
  18600. type: integer
  18601. positionqty:
  18602. description: 期初持仓数量
  18603. type: integer
  18604. szdz3freezqty:
  18605. description: 尚志大宗转换冻结总数量
  18606. type: integer
  18607. tnqty:
  18608. description: T+N冻结总量
  18609. type: integer
  18610. tnusedqty:
  18611. description: T+N使用量
  18612. type: integer
  18613. trademode:
  18614. description: 交易模式
  18615. type: integer
  18616. usedmargin:
  18617. description: 占用保证金
  18618. type: number
  18619. type: object
  18620. taaccount.QueryAmountLogRsp:
  18621. properties:
  18622. OPERATETYPENAME:
  18623. description: 资金操作类型名称
  18624. type: string
  18625. accountid:
  18626. description: 资金账户ID
  18627. type: integer
  18628. agoodscode:
  18629. description: 竞拍商品代码
  18630. type: string
  18631. agoodsname:
  18632. description: 竞拍商品名称
  18633. type: string
  18634. amount:
  18635. description: 资金金额
  18636. type: number
  18637. amountadjusttype:
  18638. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18639. type: integer
  18640. autoid:
  18641. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18642. type: integer
  18643. balance:
  18644. description: 期初余额
  18645. type: number
  18646. businesscode:
  18647. description: 业务编号
  18648. type: integer
  18649. createtime:
  18650. description: 发生时间
  18651. type: string
  18652. currencyid:
  18653. description: 币种ID
  18654. type: integer
  18655. currentbalance:
  18656. description: 期末余额(变动后金额)
  18657. type: number
  18658. dgoodscode:
  18659. description: 交割商品代码
  18660. type: string
  18661. dgoodsname:
  18662. description: 交割商品名称
  18663. type: string
  18664. goodscode:
  18665. description: 商品代码
  18666. type: string
  18667. goodsid:
  18668. description: 商品ID
  18669. type: integer
  18670. goodsname:
  18671. description: 商品名称
  18672. type: string
  18673. marketid:
  18674. description: 市场ID
  18675. type: integer
  18676. marketname:
  18677. description: 市场名称
  18678. type: string
  18679. moneyticket:
  18680. description: 资金流水号:银行端流水号
  18681. type: integer
  18682. operatetype:
  18683. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18684. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18685. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18686. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18687. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18688. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18689. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18690. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18691. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18692. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18693. type: integer
  18694. relationorderid:
  18695. description: 关联单号
  18696. type: string
  18697. remark:
  18698. description: 备注
  18699. type: string
  18700. trademode:
  18701. description: 交易模式
  18702. type: integer
  18703. required:
  18704. - accountid
  18705. - amount
  18706. - amountadjusttype
  18707. - autoid
  18708. - balance
  18709. - createtime
  18710. - currentbalance
  18711. - operatetype
  18712. type: object
  18713. taaccount.QueryHisAmountLogRsp:
  18714. properties:
  18715. OPERATETYPENAME:
  18716. description: 资金操作类型名称
  18717. type: string
  18718. accountid:
  18719. description: 资金账户ID
  18720. type: integer
  18721. agoodscode:
  18722. description: 竞拍商品代码
  18723. type: string
  18724. agoodsname:
  18725. description: 竞拍商品名称
  18726. type: string
  18727. amount:
  18728. description: 资金金额
  18729. type: number
  18730. amountadjusttype:
  18731. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18732. type: integer
  18733. autoid:
  18734. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18735. type: integer
  18736. balance:
  18737. description: 期初余额
  18738. type: number
  18739. businesscode:
  18740. description: 业务编号
  18741. type: integer
  18742. createtime:
  18743. description: 发生时间
  18744. type: string
  18745. currencyid:
  18746. description: 币种ID
  18747. type: integer
  18748. currentbalance:
  18749. description: 期末余额(变动后金额)
  18750. type: number
  18751. dgoodscode:
  18752. description: 交割商品代码
  18753. type: string
  18754. dgoodsname:
  18755. description: 交割商品名称
  18756. type: string
  18757. goodscode:
  18758. description: 商品代码
  18759. type: string
  18760. goodsid:
  18761. description: 商品ID
  18762. type: integer
  18763. goodsname:
  18764. description: 商品名称
  18765. type: string
  18766. histradedate:
  18767. description: 历史交易日
  18768. type: string
  18769. isvaliddata:
  18770. description: 是否有效 - 0:无效 1:有效
  18771. type: integer
  18772. marketid:
  18773. description: 市场ID
  18774. type: integer
  18775. marketname:
  18776. description: 市场名称
  18777. type: string
  18778. moneyticket:
  18779. description: 资金流水号:银行端流水号
  18780. type: integer
  18781. operatetype:
  18782. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18783. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18784. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18785. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18786. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18787. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18788. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18789. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18790. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18791. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18792. type: integer
  18793. relationorderid:
  18794. description: 关联单号
  18795. type: string
  18796. remark:
  18797. description: 备注
  18798. type: string
  18799. trademode:
  18800. description: 交易模式
  18801. type: integer
  18802. required:
  18803. - accountid
  18804. - amount
  18805. - amountadjusttype
  18806. - autoid
  18807. - balance
  18808. - createtime
  18809. - currentbalance
  18810. - histradedate
  18811. - operatetype
  18812. type: object
  18813. trade.QueryRecieptOrderRsp:
  18814. properties:
  18815. accountName:
  18816. description: 所属账号名称(已脱敏)
  18817. type: string
  18818. accountid:
  18819. description: 资金账号
  18820. type: integer
  18821. buyorsell:
  18822. description: 方向 - 0:买 1:卖
  18823. type: integer
  18824. enableqty:
  18825. description: 可摘数量
  18826. type: integer
  18827. goodscode:
  18828. description: 商品代码
  18829. type: string
  18830. goodsid:
  18831. description: 商品ID
  18832. type: integer
  18833. goodsname:
  18834. description: 商品名称
  18835. type: string
  18836. orderid:
  18837. description: 委托单号
  18838. type: string
  18839. orderprice:
  18840. description: 委托价格
  18841. type: number
  18842. ordertime:
  18843. description: 委托时间
  18844. type: string
  18845. tradedate:
  18846. description: 交易日(yyyyMMdd)
  18847. type: string
  18848. required:
  18849. - ordertime
  18850. type: object
  18851. user.LoginQueryRsp:
  18852. properties:
  18853. areaRoles:
  18854. description: 所属角色信息
  18855. items:
  18856. $ref: '#/definitions/models.Arearole'
  18857. type: array
  18858. externalExchanges:
  18859. description: 外部交易所
  18860. items:
  18861. $ref: '#/definitions/models.Externalexchange'
  18862. type: array
  18863. goodsgroups:
  18864. description: 商品组
  18865. items:
  18866. $ref: '#/definitions/models.Goodsgroup'
  18867. type: array
  18868. loginAccount:
  18869. $ref: '#/definitions/models.Loginaccount'
  18870. description: 登录账号
  18871. markets:
  18872. description: 市场
  18873. items:
  18874. $ref: '#/definitions/models.Market'
  18875. type: array
  18876. systemParams:
  18877. description: 系统参数
  18878. items:
  18879. $ref: '#/definitions/models.Systemparam'
  18880. type: array
  18881. userAccount:
  18882. $ref: '#/definitions/models.Useraccount'
  18883. description: 用户账号
  18884. userInfo:
  18885. $ref: '#/definitions/models.Userinfo'
  18886. description: 用户信息
  18887. username:
  18888. description: 用户姓名
  18889. type: string
  18890. type: object
  18891. info:
  18892. contact: {}
  18893. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18894. termsOfService: http://www.muchinfo.cn
  18895. title: MTP2.0 查询服务 API
  18896. version: "1.0"
  18897. paths:
  18898. /CPTrade/QueryCPTradeMyBidInfos:
  18899. get:
  18900. parameters:
  18901. - description: 资金账户
  18902. in: query
  18903. name: accountid
  18904. required: true
  18905. type: integer
  18906. - description: 预售市场ID
  18907. in: query
  18908. name: marketid
  18909. type: integer
  18910. - description: 预售商品ID
  18911. in: query
  18912. name: goodsid
  18913. type: integer
  18914. produces:
  18915. - application/json
  18916. responses:
  18917. "200":
  18918. description: OK
  18919. schema:
  18920. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18921. "500":
  18922. description: Internal Server Error
  18923. schema:
  18924. $ref: '#/definitions/app.Response'
  18925. security:
  18926. - ApiKeyAuth: []
  18927. summary: 查询产能预售我的出价信息
  18928. tags:
  18929. - 产能预售
  18930. /CPTrade/QueryCPTradeOrderDetail:
  18931. get:
  18932. parameters:
  18933. - description: 预售商品ID
  18934. in: query
  18935. name: goodsid
  18936. type: integer
  18937. - description: 预售市场ID
  18938. in: query
  18939. name: marketid
  18940. type: integer
  18941. - description: 预售商品ID列表 - 格式:1,2,3
  18942. in: query
  18943. name: goodsids
  18944. type: string
  18945. produces:
  18946. - application/json
  18947. responses:
  18948. "200":
  18949. description: OK
  18950. schema:
  18951. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18952. "500":
  18953. description: Internal Server Error
  18954. schema:
  18955. $ref: '#/definitions/app.Response'
  18956. security:
  18957. - ApiKeyAuth: []
  18958. summary: 查询产能预售委托单信息
  18959. tags:
  18960. - 产能预售
  18961. /CPTrade/QueryMyCPTradeGoods:
  18962. get:
  18963. parameters:
  18964. - description: 资金账户
  18965. in: query
  18966. name: accountid
  18967. required: true
  18968. type: integer
  18969. produces:
  18970. - application/json
  18971. responses:
  18972. "200":
  18973. description: OK
  18974. schema:
  18975. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18976. "500":
  18977. description: Internal Server Error
  18978. schema:
  18979. $ref: '#/definitions/app.Response'
  18980. security:
  18981. - ApiKeyAuth: []
  18982. summary: 查询我的预售信息
  18983. tags:
  18984. - 产能预售
  18985. /CPTrade/QueryPositionCancel:
  18986. get:
  18987. parameters:
  18988. - description: 账户ID
  18989. in: query
  18990. name: userid
  18991. required: true
  18992. type: integer
  18993. - description: 注销ID
  18994. in: query
  18995. name: cancelid
  18996. type: integer
  18997. - description: 资金账户ID
  18998. in: query
  18999. name: accountid
  19000. type: integer
  19001. produces:
  19002. - application/json
  19003. responses:
  19004. "200":
  19005. description: OK
  19006. schema:
  19007. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19008. "500":
  19009. description: Internal Server Error
  19010. schema:
  19011. $ref: '#/definitions/app.Response'
  19012. security:
  19013. - ApiKeyAuth: []
  19014. summary: 查询远期订单注销申请信息
  19015. tags:
  19016. - 产能预售
  19017. /CPTrade/QueryPreasleApply:
  19018. get:
  19019. parameters:
  19020. - description: 账户ID
  19021. in: query
  19022. name: userid
  19023. required: true
  19024. type: integer
  19025. - description: 申请ID
  19026. in: query
  19027. name: applyid
  19028. type: integer
  19029. - description: 资金账户ID
  19030. in: query
  19031. name: accountid
  19032. type: integer
  19033. produces:
  19034. - application/json
  19035. responses:
  19036. "200":
  19037. description: OK
  19038. schema:
  19039. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19040. "500":
  19041. description: Internal Server Error
  19042. schema:
  19043. $ref: '#/definitions/app.Response'
  19044. security:
  19045. - ApiKeyAuth: []
  19046. summary: 查询产能预售申请信息
  19047. tags:
  19048. - 产能预售
  19049. /CPTrade/QueryPresaleGoodsEx:
  19050. get:
  19051. parameters:
  19052. - description: 预售商品ID
  19053. in: query
  19054. name: goodsid
  19055. type: integer
  19056. - description: 预售市场ID
  19057. in: query
  19058. name: marketid
  19059. type: integer
  19060. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19061. in: query
  19062. name: presalemode
  19063. type: integer
  19064. - description: 预售商品ID列表 - 格式:1,2,3
  19065. in: query
  19066. name: goodsids
  19067. type: string
  19068. - description: 预售商品代码
  19069. in: query
  19070. name: goodscode
  19071. type: string
  19072. produces:
  19073. - application/json
  19074. responses:
  19075. "200":
  19076. description: OK
  19077. schema:
  19078. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19079. "500":
  19080. description: Internal Server Error
  19081. schema:
  19082. $ref: '#/definitions/app.Response'
  19083. security:
  19084. - ApiKeyAuth: []
  19085. summary: 查询产能预售商品扩展信息
  19086. tags:
  19087. - 产能预售
  19088. /CPTrade/QueryUserGoodsData:
  19089. get:
  19090. parameters:
  19091. - description: 资金账户ID
  19092. in: query
  19093. name: accountid
  19094. required: true
  19095. type: integer
  19096. produces:
  19097. - application/json
  19098. responses:
  19099. "200":
  19100. description: OK
  19101. schema:
  19102. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19103. "500":
  19104. description: Internal Server Error
  19105. schema:
  19106. $ref: '#/definitions/app.Response'
  19107. security:
  19108. - ApiKeyAuth: []
  19109. summary: 查询远期订单信息
  19110. tags:
  19111. - 产能预售
  19112. /Common/GetAllEnums:
  19113. get:
  19114. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19115. parameters:
  19116. - description: 起始自增ID
  19117. in: query
  19118. name: autoid
  19119. type: integer
  19120. produces:
  19121. - application/json
  19122. responses:
  19123. "200":
  19124. description: OK
  19125. schema:
  19126. $ref: '#/definitions/models.Enumdicitem'
  19127. "500":
  19128. description: Internal Server Error
  19129. schema:
  19130. $ref: '#/definitions/app.Response'
  19131. summary: 获取所有枚举信息
  19132. tags:
  19133. - 通用服务
  19134. /Common/GetClientMenus:
  19135. get:
  19136. parameters:
  19137. - description: 登录账号
  19138. in: query
  19139. name: loginID
  19140. required: true
  19141. type: integer
  19142. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19143. in: query
  19144. name: clientType
  19145. type: integer
  19146. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19147. in: query
  19148. name: name
  19149. type: string
  19150. produces:
  19151. - application/json
  19152. responses:
  19153. "200":
  19154. description: OK
  19155. schema:
  19156. items:
  19157. $ref: '#/definitions/common.ClientMenu'
  19158. type: array
  19159. "500":
  19160. description: Internal Server Error
  19161. schema:
  19162. $ref: '#/definitions/app.Response'
  19163. security:
  19164. - ApiKeyAuth: []
  19165. summary: 获取交易端菜单
  19166. tags:
  19167. - 通用服务
  19168. /Common/GetDivisions:
  19169. get:
  19170. produces:
  19171. - application/json
  19172. responses:
  19173. "200":
  19174. description: OK
  19175. schema:
  19176. $ref: '#/definitions/models.Division'
  19177. "500":
  19178. description: Internal Server Error
  19179. schema:
  19180. $ref: '#/definitions/app.Response'
  19181. summary: 查询区域信息
  19182. tags:
  19183. - 通用服务
  19184. /Common/GetPCWebMenus:
  19185. get:
  19186. parameters:
  19187. - description: 登录账号
  19188. in: query
  19189. name: loginID
  19190. required: true
  19191. type: integer
  19192. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19193. in: query
  19194. name: name
  19195. type: string
  19196. produces:
  19197. - application/json
  19198. responses:
  19199. "200":
  19200. description: OK
  19201. schema:
  19202. items:
  19203. $ref: '#/definitions/common.PCWebMenu'
  19204. type: array
  19205. "500":
  19206. description: Internal Server Error
  19207. schema:
  19208. $ref: '#/definitions/app.Response'
  19209. security:
  19210. - ApiKeyAuth: []
  19211. summary: 获取PCWeb交易端菜单
  19212. tags:
  19213. - 通用服务
  19214. /Common/GetServerTime:
  19215. get:
  19216. produces:
  19217. - application/json
  19218. responses:
  19219. "200":
  19220. description: OK
  19221. schema:
  19222. $ref: '#/definitions/app.Response'
  19223. "500":
  19224. description: Internal Server Error
  19225. schema:
  19226. $ref: '#/definitions/app.Response'
  19227. summary: 获取服务器时间
  19228. tags:
  19229. - 通用服务
  19230. /Common/NoticeReaded:
  19231. post:
  19232. parameters:
  19233. - description: 登录账号
  19234. in: query
  19235. name: loginID
  19236. required: true
  19237. type: integer
  19238. - description: 通知公告ID
  19239. in: query
  19240. name: noticeID
  19241. required: true
  19242. type: integer
  19243. produces:
  19244. - application/json
  19245. responses:
  19246. "200":
  19247. description: OK
  19248. schema:
  19249. $ref: '#/definitions/app.Response'
  19250. "500":
  19251. description: Internal Server Error
  19252. schema:
  19253. $ref: '#/definitions/app.Response'
  19254. security:
  19255. - ApiKeyAuth: []
  19256. summary: 通知公告设置已读请求
  19257. tags:
  19258. - 通用服务
  19259. /Common/QueryErrorInfos:
  19260. get:
  19261. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19262. parameters:
  19263. - description: 起始行号前索引
  19264. in: query
  19265. name: rowNumber
  19266. type: string
  19267. produces:
  19268. - application/json
  19269. responses:
  19270. "200":
  19271. description: OK
  19272. schema:
  19273. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19274. "500":
  19275. description: Internal Server Error
  19276. schema:
  19277. $ref: '#/definitions/app.Response'
  19278. summary: 获取数据库错误信息
  19279. tags:
  19280. - 通用服务
  19281. /Common/QueryImageConfigs:
  19282. get:
  19283. parameters:
  19284. - description: 用户id
  19285. in: query
  19286. name: userId
  19287. type: integer
  19288. - description: 类型 - 1:App首页轮播 2:我的
  19289. in: query
  19290. name: imageType
  19291. type: integer
  19292. produces:
  19293. - application/json
  19294. responses:
  19295. "200":
  19296. description: OK
  19297. schema:
  19298. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19299. "500":
  19300. description: Internal Server Error
  19301. schema:
  19302. $ref: '#/definitions/app.Response'
  19303. summary: 查询轮播图配置信息
  19304. tags:
  19305. - 通用服务
  19306. /Common/QueryNotice:
  19307. get:
  19308. parameters:
  19309. - description: 页码
  19310. in: query
  19311. name: page
  19312. type: integer
  19313. - description: 每页条数
  19314. in: query
  19315. name: pagesize
  19316. type: integer
  19317. - description: 登录账号
  19318. in: query
  19319. name: loginID
  19320. required: true
  19321. type: integer
  19322. - description: 消息类型 - 1:公告通知 2:系统消息
  19323. in: query
  19324. name: msgType
  19325. type: integer
  19326. - description: 是否只获取未读信息
  19327. in: query
  19328. name: onlyUnRead
  19329. type: boolean
  19330. - description: 自增ID,传入后会返回这个ID后面的记录
  19331. in: query
  19332. name: lastID
  19333. type: integer
  19334. produces:
  19335. - application/json
  19336. responses:
  19337. "200":
  19338. description: OK
  19339. schema:
  19340. $ref: '#/definitions/common.QueryNoticeRsp'
  19341. "500":
  19342. description: Internal Server Error
  19343. schema:
  19344. $ref: '#/definitions/app.Response'
  19345. security:
  19346. - ApiKeyAuth: []
  19347. summary: 通知公告系统消息查询
  19348. tags:
  19349. - 通用服务
  19350. /Common/QueryProvincesAndCities:
  19351. get:
  19352. parameters:
  19353. - description: 省ID
  19354. in: query
  19355. name: provinceID
  19356. type: integer
  19357. produces:
  19358. - application/json
  19359. responses:
  19360. "200":
  19361. description: OK
  19362. schema:
  19363. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19364. "500":
  19365. description: Internal Server Error
  19366. schema:
  19367. $ref: '#/definitions/app.Response'
  19368. summary: 查询省市信息(不包括区)
  19369. tags:
  19370. - 通用服务
  19371. /Common/QueryTableDefine:
  19372. get:
  19373. parameters:
  19374. - description: 表key
  19375. in: query
  19376. name: tableKey
  19377. type: string
  19378. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19379. in: query
  19380. name: tableType
  19381. type: integer
  19382. produces:
  19383. - application/json
  19384. responses:
  19385. "200":
  19386. description: OK
  19387. schema:
  19388. $ref: '#/definitions/common.QueryTableDefineRsp'
  19389. "500":
  19390. description: Internal Server Error
  19391. schema:
  19392. $ref: '#/definitions/app.Response'
  19393. summary: 查询交易端列表头信息
  19394. tags:
  19395. - 通用服务
  19396. /Common/QueryTraderMenu:
  19397. get:
  19398. parameters:
  19399. - description: 登录账号
  19400. in: query
  19401. name: loginid
  19402. required: true
  19403. type: integer
  19404. produces:
  19405. - application/json
  19406. responses:
  19407. "200":
  19408. description: OK
  19409. schema:
  19410. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19411. "500":
  19412. description: Internal Server Error
  19413. schema:
  19414. $ref: '#/definitions/app.Response'
  19415. summary: 查询交易端菜单
  19416. tags:
  19417. - 通用服务
  19418. /Delivery/QueryDeliveryRelation:
  19419. get:
  19420. parameters:
  19421. - description: 商品ID
  19422. in: query
  19423. name: goodsid
  19424. type: integer
  19425. - description: 品种ID
  19426. in: query
  19427. name: deliverygoodsid
  19428. type: integer
  19429. - description: 市场ID
  19430. in: query
  19431. name: marketid
  19432. type: integer
  19433. produces:
  19434. - application/json
  19435. responses:
  19436. "200":
  19437. description: OK
  19438. schema:
  19439. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19440. "500":
  19441. description: Internal Server Error
  19442. schema:
  19443. $ref: '#/definitions/app.Response'
  19444. security:
  19445. - ApiKeyAuth: []
  19446. summary: 查询商品交割关系表
  19447. tags:
  19448. - 交割服务
  19449. /Ermcp/GetErmcpGoods:
  19450. get:
  19451. parameters:
  19452. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19453. in: query
  19454. name: lastUpdateTime
  19455. type: string
  19456. produces:
  19457. - application/json
  19458. responses:
  19459. "200":
  19460. description: OK
  19461. schema:
  19462. $ref: '#/definitions/models.ErmcpGoods'
  19463. "500":
  19464. description: Internal Server Error
  19465. schema:
  19466. $ref: '#/definitions/app.Response'
  19467. security:
  19468. - ApiKeyAuth: []
  19469. summary: 查询企业风管期货商品信息
  19470. tags:
  19471. - 企业风险管理(app)
  19472. /Ermcp/GetErmcpGoodsSortByPosition:
  19473. get:
  19474. parameters:
  19475. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19476. in: query
  19477. name: sortIndex
  19478. type: string
  19479. produces:
  19480. - application/json
  19481. responses:
  19482. "200":
  19483. description: OK
  19484. schema:
  19485. $ref: '#/definitions/models.Goodssortbypreposition'
  19486. "500":
  19487. description: Internal Server Error
  19488. schema:
  19489. $ref: '#/definitions/app.Response'
  19490. security:
  19491. - ApiKeyAuth: []
  19492. summary: 查询企业风管期货主力、次主力商品信息
  19493. tags:
  19494. - 企业风险管理(app)
  19495. /Ermcp/GetErmcpOutAccountStatus:
  19496. get:
  19497. parameters:
  19498. - description: 登录账号
  19499. in: query
  19500. name: loginID
  19501. required: true
  19502. type: integer
  19503. produces:
  19504. - application/json
  19505. responses:
  19506. "200":
  19507. description: OK
  19508. schema:
  19509. $ref: '#/definitions/models.Hedgemarketopenlog'
  19510. "500":
  19511. description: Internal Server Error
  19512. schema:
  19513. $ref: '#/definitions/app.Response'
  19514. security:
  19515. - ApiKeyAuth: []
  19516. summary: 获取目标登录账号当前对冲账号在线状态
  19517. tags:
  19518. - 企业风险管理(app)
  19519. /Ermcp/GetErmcpRoleFuncMenuLists:
  19520. get:
  19521. parameters:
  19522. - description: 登录账号
  19523. in: query
  19524. name: loginID
  19525. required: true
  19526. type: integer
  19527. produces:
  19528. - application/json
  19529. responses:
  19530. "200":
  19531. description: OK
  19532. schema:
  19533. $ref: '#/definitions/models.Funcmenulist'
  19534. "500":
  19535. description: Internal Server Error
  19536. schema:
  19537. $ref: '#/definitions/app.Response'
  19538. security:
  19539. - ApiKeyAuth: []
  19540. summary: 获取企业风管终端权限
  19541. tags:
  19542. - 企业风险管理(app)
  19543. /Ermcp/QueryAccMgrBizGroupSet:
  19544. get:
  19545. parameters:
  19546. - description: 用户ID
  19547. in: query
  19548. name: userid
  19549. required: true
  19550. type: integer
  19551. - description: 现货商品id
  19552. in: query
  19553. name: deliverygoodsid
  19554. type: integer
  19555. produces:
  19556. - application/json
  19557. responses:
  19558. "200":
  19559. description: OK
  19560. schema:
  19561. items:
  19562. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19563. type: array
  19564. "500":
  19565. description: Internal Server Error
  19566. schema:
  19567. $ref: '#/definitions/app.Response'
  19568. security:
  19569. - ApiKeyAuth: []
  19570. summary: 查询业务类型分组(账户管理/账户设置)
  19571. tags:
  19572. - 企业风险管理(app)
  19573. /Ermcp/QueryAccMgrLoginUser:
  19574. get:
  19575. parameters:
  19576. - description: 用户ID
  19577. in: query
  19578. name: userid
  19579. required: true
  19580. type: integer
  19581. - description: 用户类型 2-机构 7-企业成员
  19582. in: query
  19583. name: usertype
  19584. type: integer
  19585. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19586. in: query
  19587. name: querytype
  19588. required: true
  19589. type: integer
  19590. produces:
  19591. - application/json
  19592. responses:
  19593. "200":
  19594. description: OK
  19595. schema:
  19596. items:
  19597. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19598. type: array
  19599. "500":
  19600. description: Internal Server Error
  19601. schema:
  19602. $ref: '#/definitions/app.Response'
  19603. security:
  19604. - ApiKeyAuth: []
  19605. summary: 查询账户管理登录账号(账户管理/登录账号)
  19606. tags:
  19607. - 企业风险管理(app)
  19608. /Ermcp/QueryAccMgrMainAccountInfo:
  19609. get:
  19610. parameters:
  19611. - description: 用户ID
  19612. in: query
  19613. name: userid
  19614. type: integer
  19615. - description: 主账号id
  19616. in: query
  19617. name: accountid
  19618. type: integer
  19619. produces:
  19620. - application/json
  19621. responses:
  19622. "200":
  19623. description: OK
  19624. schema:
  19625. items:
  19626. $ref: '#/definitions/models.MainAccountInfo'
  19627. type: array
  19628. "500":
  19629. description: Internal Server Error
  19630. schema:
  19631. $ref: '#/definitions/app.Response'
  19632. security:
  19633. - ApiKeyAuth: []
  19634. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19635. tags:
  19636. - 企业风险管理(app)
  19637. /Ermcp/QueryAccMgrRole:
  19638. get:
  19639. parameters:
  19640. - description: 用户ID
  19641. in: query
  19642. name: userid
  19643. required: true
  19644. type: integer
  19645. produces:
  19646. - application/json
  19647. responses:
  19648. "200":
  19649. description: OK
  19650. schema:
  19651. items:
  19652. $ref: '#/definitions/models.ErmcpRole'
  19653. type: array
  19654. "500":
  19655. description: Internal Server Error
  19656. schema:
  19657. $ref: '#/definitions/app.Response'
  19658. security:
  19659. - ApiKeyAuth: []
  19660. summary: 查询账户管理角色设置(账户管理/角色设置)
  19661. tags:
  19662. - 企业风险管理(app)
  19663. /Ermcp/QueryAccMgrRoleMenu:
  19664. get:
  19665. parameters:
  19666. - description: 用户ID
  19667. in: query
  19668. name: userid
  19669. required: true
  19670. type: integer
  19671. - description: 角色id(可多个,逗号隔开)
  19672. in: query
  19673. name: roleid
  19674. type: string
  19675. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19676. in: query
  19677. name: menutype
  19678. type: integer
  19679. produces:
  19680. - application/json
  19681. responses:
  19682. "200":
  19683. description: OK
  19684. schema:
  19685. items:
  19686. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19687. type: array
  19688. "500":
  19689. description: Internal Server Error
  19690. schema:
  19691. $ref: '#/definitions/app.Response'
  19692. security:
  19693. - ApiKeyAuth: []
  19694. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19695. tags:
  19696. - 企业风险管理(app)
  19697. /Ermcp/QueryAccMgrTaAccountInfo:
  19698. get:
  19699. parameters:
  19700. - description: 用户ID
  19701. in: query
  19702. name: userid
  19703. required: true
  19704. type: integer
  19705. - description: 账号id
  19706. in: query
  19707. name: accountid
  19708. type: integer
  19709. produces:
  19710. - application/json
  19711. responses:
  19712. "200":
  19713. description: OK
  19714. schema:
  19715. items:
  19716. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19717. type: array
  19718. "500":
  19719. description: Internal Server Error
  19720. schema:
  19721. $ref: '#/definitions/app.Response'
  19722. security:
  19723. - ApiKeyAuth: []
  19724. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19725. tags:
  19726. - 企业风险管理(app)
  19727. /Ermcp/QueryAccMgrTaaccount:
  19728. get:
  19729. parameters:
  19730. - description: 用户ID
  19731. in: query
  19732. name: userid
  19733. required: true
  19734. type: integer
  19735. produces:
  19736. - application/json
  19737. responses:
  19738. "200":
  19739. description: OK
  19740. schema:
  19741. items:
  19742. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19743. type: array
  19744. "500":
  19745. description: Internal Server Error
  19746. schema:
  19747. $ref: '#/definitions/app.Response'
  19748. security:
  19749. - ApiKeyAuth: []
  19750. summary: 查询账户管理期货账号(账户管理/期货账号)
  19751. tags:
  19752. - 企业风险管理(app)
  19753. /Ermcp/QueryAvaildGoodsGroup:
  19754. get:
  19755. parameters:
  19756. - description: 所属机构ID
  19757. in: query
  19758. name: userid
  19759. required: true
  19760. type: integer
  19761. produces:
  19762. - application/json
  19763. responses:
  19764. "200":
  19765. description: OK
  19766. schema:
  19767. items:
  19768. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19769. type: array
  19770. "500":
  19771. description: Internal Server Error
  19772. schema:
  19773. $ref: '#/definitions/app.Response'
  19774. security:
  19775. - ApiKeyAuth: []
  19776. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19777. tags:
  19778. - 企业风险管理(app)
  19779. /Ermcp/QueryBusinessDj:
  19780. get:
  19781. parameters:
  19782. - description: 用户ID
  19783. in: query
  19784. name: UserId
  19785. required: true
  19786. type: integer
  19787. - description: 用户类型 2-机构 7-企业成员
  19788. in: query
  19789. name: usertype
  19790. type: integer
  19791. - description: 现货合同ID, 不填则查所有
  19792. in: query
  19793. name: relatedid
  19794. type: string
  19795. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19796. in: query
  19797. name: applystatus
  19798. type: string
  19799. produces:
  19800. - application/json
  19801. responses:
  19802. "200":
  19803. description: OK
  19804. schema:
  19805. items:
  19806. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19807. type: array
  19808. "500":
  19809. description: Internal Server Error
  19810. schema:
  19811. $ref: '#/definitions/app.Response'
  19812. security:
  19813. - ApiKeyAuth: []
  19814. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19815. tags:
  19816. - 企业风险管理(app)
  19817. /Ermcp/QueryBusinessFp:
  19818. get:
  19819. parameters:
  19820. - description: 用户ID
  19821. in: query
  19822. name: UserId
  19823. required: true
  19824. type: integer
  19825. - description: 用户类型 2-机构 7-企业成员
  19826. in: query
  19827. name: usertype
  19828. type: integer
  19829. - description: 现货合同ID, 不填则查所有
  19830. in: query
  19831. name: relatedid
  19832. type: string
  19833. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19834. in: query
  19835. name: applystatus
  19836. type: string
  19837. produces:
  19838. - application/json
  19839. responses:
  19840. "200":
  19841. description: OK
  19842. schema:
  19843. items:
  19844. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19845. type: array
  19846. "500":
  19847. description: Internal Server Error
  19848. schema:
  19849. $ref: '#/definitions/app.Response'
  19850. security:
  19851. - ApiKeyAuth: []
  19852. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19853. tags:
  19854. - 企业风险管理(app)
  19855. /Ermcp/QueryBusinessJs:
  19856. get:
  19857. parameters:
  19858. - description: 用户ID
  19859. in: query
  19860. name: UserId
  19861. required: true
  19862. type: integer
  19863. - description: 用户类型 2-机构 7-企业成员
  19864. in: query
  19865. name: usertype
  19866. type: integer
  19867. - description: 现货合同ID, 不填则查所有
  19868. in: query
  19869. name: relatedid
  19870. type: string
  19871. - description: 操作申请id
  19872. in: query
  19873. name: operateapplyid
  19874. type: string
  19875. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19876. in: query
  19877. name: applystatus
  19878. type: string
  19879. produces:
  19880. - application/json
  19881. responses:
  19882. "200":
  19883. description: OK
  19884. schema:
  19885. items:
  19886. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19887. type: array
  19888. "500":
  19889. description: Internal Server Error
  19890. schema:
  19891. $ref: '#/definitions/app.Response'
  19892. security:
  19893. - ApiKeyAuth: []
  19894. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19895. tags:
  19896. - 企业风险管理(app)
  19897. /Ermcp/QueryBusinessJsEx:
  19898. get:
  19899. parameters:
  19900. - description: 用户ID
  19901. in: query
  19902. name: UserId
  19903. required: true
  19904. type: integer
  19905. - description: 用户类型 2-机构 7-企业成员
  19906. in: query
  19907. name: usertype
  19908. type: integer
  19909. - description: 现货合同ID, 不填则查所有
  19910. in: query
  19911. name: relatedid
  19912. type: string
  19913. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19914. in: query
  19915. name: applystatus
  19916. type: string
  19917. produces:
  19918. - application/json
  19919. responses:
  19920. "200":
  19921. description: OK
  19922. schema:
  19923. items:
  19924. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19925. type: array
  19926. "500":
  19927. description: Internal Server Error
  19928. schema:
  19929. $ref: '#/definitions/app.Response'
  19930. security:
  19931. - ApiKeyAuth: []
  19932. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19933. tags:
  19934. - 企业风险管理(app)
  19935. /Ermcp/QueryBusinessKx:
  19936. get:
  19937. parameters:
  19938. - description: 用户ID
  19939. in: query
  19940. name: UserId
  19941. required: true
  19942. type: integer
  19943. - description: 用户类型 2-机构 7-企业成员
  19944. in: query
  19945. name: usertype
  19946. type: integer
  19947. - description: 现货合同ID, 不填则查所有
  19948. in: query
  19949. name: relatedid
  19950. type: string
  19951. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19952. in: query
  19953. name: applystatus
  19954. type: string
  19955. produces:
  19956. - application/json
  19957. responses:
  19958. "200":
  19959. description: OK
  19960. schema:
  19961. items:
  19962. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19963. type: array
  19964. "500":
  19965. description: Internal Server Error
  19966. schema:
  19967. $ref: '#/definitions/app.Response'
  19968. security:
  19969. - ApiKeyAuth: []
  19970. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19971. tags:
  19972. - 企业风险管理(app)
  19973. /Ermcp/QueryChangeLog:
  19974. get:
  19975. parameters:
  19976. - description: 合同ID
  19977. in: query
  19978. name: RelatedId
  19979. required: true
  19980. type: string
  19981. produces:
  19982. - application/json
  19983. responses:
  19984. "200":
  19985. description: OK
  19986. schema:
  19987. items:
  19988. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19989. type: array
  19990. "500":
  19991. description: Internal Server Error
  19992. schema:
  19993. $ref: '#/definitions/app.Response'
  19994. security:
  19995. - ApiKeyAuth: []
  19996. summary: 查询变更记录
  19997. tags:
  19998. - 企业风险管理(app)
  19999. /Ermcp/QueryErmcpHisOrderDetails:
  20000. get:
  20001. parameters:
  20002. - description: 资金账户ID
  20003. in: query
  20004. name: accountID
  20005. required: true
  20006. type: integer
  20007. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20008. in: query
  20009. name: startDate
  20010. type: string
  20011. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20012. in: query
  20013. name: endDate
  20014. type: string
  20015. produces:
  20016. - application/json
  20017. responses:
  20018. "200":
  20019. description: OK
  20020. schema:
  20021. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20022. "500":
  20023. description: Internal Server Error
  20024. schema:
  20025. $ref: '#/definitions/app.Response'
  20026. security:
  20027. - ApiKeyAuth: []
  20028. summary: 获取企业风管期货历史委托单信息
  20029. tags:
  20030. - 企业风险管理(app)
  20031. /Ermcp/QueryErmcpHisTradeDetails:
  20032. get:
  20033. parameters:
  20034. - description: 资金账户ID
  20035. in: query
  20036. name: accountID
  20037. required: true
  20038. type: integer
  20039. - description: 商品ID
  20040. in: query
  20041. name: goodsID
  20042. type: integer
  20043. - description: 买卖方向,0:买 1:卖
  20044. in: query
  20045. name: buyOrSell
  20046. type: integer
  20047. - description: 关联委托单号
  20048. in: query
  20049. name: orderID
  20050. type: integer
  20051. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20052. in: query
  20053. name: startDate
  20054. type: string
  20055. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20056. in: query
  20057. name: endDate
  20058. type: string
  20059. produces:
  20060. - application/json
  20061. responses:
  20062. "200":
  20063. description: OK
  20064. schema:
  20065. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20066. "500":
  20067. description: Internal Server Error
  20068. schema:
  20069. $ref: '#/definitions/app.Response'
  20070. security:
  20071. - ApiKeyAuth: []
  20072. summary: 获取企业风管期货历史成交单信息
  20073. tags:
  20074. - 企业风险管理(app)
  20075. /Ermcp/QueryErmcpInnerHolderDetails:
  20076. get:
  20077. parameters:
  20078. - description: 资金账户ID
  20079. in: query
  20080. name: accountID
  20081. required: true
  20082. type: integer
  20083. - description: 商品ID
  20084. in: query
  20085. name: goodsID
  20086. type: integer
  20087. - description: 买卖方向,0:买 1:卖
  20088. in: query
  20089. name: buyOrSell
  20090. type: integer
  20091. produces:
  20092. - application/json
  20093. responses:
  20094. "200":
  20095. description: OK
  20096. schema:
  20097. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20098. "500":
  20099. description: Internal Server Error
  20100. schema:
  20101. $ref: '#/definitions/app.Response'
  20102. security:
  20103. - ApiKeyAuth: []
  20104. summary: 获取企业风管期货内部持仓单信息
  20105. tags:
  20106. - 企业风险管理(app)
  20107. /Ermcp/QueryErmcpOrderDetails:
  20108. get:
  20109. parameters:
  20110. - description: 资金账户ID
  20111. in: query
  20112. name: accountID
  20113. required: true
  20114. type: integer
  20115. produces:
  20116. - application/json
  20117. responses:
  20118. "200":
  20119. description: OK
  20120. schema:
  20121. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20122. "500":
  20123. description: Internal Server Error
  20124. schema:
  20125. $ref: '#/definitions/app.Response'
  20126. security:
  20127. - ApiKeyAuth: []
  20128. summary: 获取企业风管期货委托单信息
  20129. tags:
  20130. - 企业风险管理(app)
  20131. /Ermcp/QueryErmcpTradeDetails:
  20132. get:
  20133. parameters:
  20134. - description: 资金账户ID
  20135. in: query
  20136. name: accountID
  20137. required: true
  20138. type: integer
  20139. - description: 商品ID
  20140. in: query
  20141. name: goodsID
  20142. type: integer
  20143. - description: 买卖方向,0:买 1:卖
  20144. in: query
  20145. name: buyOrSell
  20146. type: integer
  20147. - description: 关联委托单号
  20148. in: query
  20149. name: orderID
  20150. type: integer
  20151. produces:
  20152. - application/json
  20153. responses:
  20154. "200":
  20155. description: OK
  20156. schema:
  20157. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20158. "500":
  20159. description: Internal Server Error
  20160. schema:
  20161. $ref: '#/definitions/app.Response'
  20162. security:
  20163. - ApiKeyAuth: []
  20164. summary: 获取企业风管期货成交单信息
  20165. tags:
  20166. - 企业风险管理(app)
  20167. /Ermcp/QueryErmcpTradePosition:
  20168. get:
  20169. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20170. parameters:
  20171. - description: 资金账户ID
  20172. in: query
  20173. name: accountID
  20174. required: true
  20175. type: integer
  20176. - description: 所属市场ID
  20177. in: query
  20178. name: marketID
  20179. type: integer
  20180. produces:
  20181. - application/json
  20182. responses:
  20183. "200":
  20184. description: OK
  20185. schema:
  20186. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20187. "500":
  20188. description: Internal Server Error
  20189. schema:
  20190. $ref: '#/definitions/app.Response'
  20191. security:
  20192. - ApiKeyAuth: []
  20193. summary: 获取企业风管期货持仓头寸信息
  20194. tags:
  20195. - 企业风险管理(app)
  20196. /Ermcp/QueryExposureDetail:
  20197. get:
  20198. parameters:
  20199. - description: 所属机构ID
  20200. in: query
  20201. name: areaUserId
  20202. required: true
  20203. type: integer
  20204. - description: 套保商品
  20205. in: query
  20206. name: middleGoodsId
  20207. required: true
  20208. type: integer
  20209. produces:
  20210. - application/json
  20211. responses:
  20212. "200":
  20213. description: OK
  20214. schema:
  20215. items:
  20216. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20217. type: array
  20218. "500":
  20219. description: Internal Server Error
  20220. schema:
  20221. $ref: '#/definitions/app.Response'
  20222. security:
  20223. - ApiKeyAuth: []
  20224. summary: 查询敞口现货明细
  20225. tags:
  20226. - 企业风险管理(app)
  20227. /Ermcp/QueryExposureGoods:
  20228. get:
  20229. parameters:
  20230. - description: 套保商品id
  20231. in: query
  20232. name: middlegoodsid
  20233. required: true
  20234. type: integer
  20235. produces:
  20236. - application/json
  20237. responses:
  20238. "200":
  20239. description: OK
  20240. schema:
  20241. items:
  20242. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20243. type: array
  20244. "500":
  20245. description: Internal Server Error
  20246. schema:
  20247. $ref: '#/definitions/app.Response'
  20248. security:
  20249. - ApiKeyAuth: []
  20250. summary: 查询敞口主力合约
  20251. tags:
  20252. - 企业风险管理(app)
  20253. /Ermcp/QueryExposureHedgePosition:
  20254. get:
  20255. parameters:
  20256. - description: 用户id
  20257. in: query
  20258. name: userid
  20259. required: true
  20260. type: integer
  20261. produces:
  20262. - application/json
  20263. responses:
  20264. "200":
  20265. description: OK
  20266. schema:
  20267. items:
  20268. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20269. type: array
  20270. "500":
  20271. description: Internal Server Error
  20272. schema:
  20273. $ref: '#/definitions/app.Response'
  20274. security:
  20275. - ApiKeyAuth: []
  20276. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20277. tags:
  20278. - 企业风险管理(app)
  20279. /Ermcp/QueryExposureHedgePositionDetail:
  20280. get:
  20281. parameters:
  20282. - description: 所属机构ID
  20283. in: query
  20284. name: userid
  20285. required: true
  20286. type: integer
  20287. - description: 商品id
  20288. in: query
  20289. name: goodsId
  20290. required: true
  20291. type: integer
  20292. produces:
  20293. - application/json
  20294. responses:
  20295. "200":
  20296. description: OK
  20297. schema:
  20298. items:
  20299. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20300. type: array
  20301. "500":
  20302. description: Internal Server Error
  20303. schema:
  20304. $ref: '#/definitions/app.Response'
  20305. security:
  20306. - ApiKeyAuth: []
  20307. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20308. tags:
  20309. - 企业风险管理(app)
  20310. /Ermcp/QueryExposureSpot:
  20311. get:
  20312. parameters:
  20313. - description: 所属机构ID
  20314. in: query
  20315. name: areaUserId
  20316. required: true
  20317. type: integer
  20318. produces:
  20319. - application/json
  20320. responses:
  20321. "200":
  20322. description: OK
  20323. schema:
  20324. items:
  20325. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20326. type: array
  20327. "500":
  20328. description: Internal Server Error
  20329. schema:
  20330. $ref: '#/definitions/app.Response'
  20331. security:
  20332. - ApiKeyAuth: []
  20333. summary: 查询敞口现货头寸(敞口/现货头寸)
  20334. tags:
  20335. - 企业风险管理(app)
  20336. /Ermcp/QueryExposureSpotDetail:
  20337. get:
  20338. parameters:
  20339. - description: 所属机构ID
  20340. in: query
  20341. name: areaUserId
  20342. required: true
  20343. type: integer
  20344. - description: 现货品种ID
  20345. in: query
  20346. name: wrstandardId
  20347. required: true
  20348. type: integer
  20349. produces:
  20350. - application/json
  20351. responses:
  20352. "200":
  20353. description: OK
  20354. schema:
  20355. items:
  20356. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20357. type: array
  20358. "500":
  20359. description: Internal Server Error
  20360. schema:
  20361. $ref: '#/definitions/app.Response'
  20362. security:
  20363. - ApiKeyAuth: []
  20364. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20365. tags:
  20366. - 企业风险管理(app)
  20367. /Ermcp/QueryFuturesCompany:
  20368. get:
  20369. produces:
  20370. - application/json
  20371. responses:
  20372. "200":
  20373. description: OK
  20374. schema:
  20375. items:
  20376. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20377. type: array
  20378. "500":
  20379. description: Internal Server Error
  20380. schema:
  20381. $ref: '#/definitions/app.Response'
  20382. security:
  20383. - ApiKeyAuth: []
  20384. summary: 查询期货公司
  20385. tags:
  20386. - 企业风险管理(app)
  20387. /Ermcp/QueryGGConvertConfig:
  20388. get:
  20389. parameters:
  20390. - description: 品种id(不填则查所有)
  20391. in: query
  20392. name: goodsgroupid
  20393. type: integer
  20394. produces:
  20395. - application/json
  20396. responses:
  20397. "200":
  20398. description: OK
  20399. schema:
  20400. items:
  20401. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20402. type: array
  20403. "500":
  20404. description: Internal Server Error
  20405. schema:
  20406. $ref: '#/definitions/app.Response'
  20407. security:
  20408. - ApiKeyAuth: []
  20409. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20410. tags:
  20411. - 企业风险管理(app)
  20412. /Ermcp/QueryGoodsBrand:
  20413. get:
  20414. parameters:
  20415. - description: 用户ID
  20416. in: query
  20417. name: userid
  20418. required: true
  20419. type: integer
  20420. - description: 现货商品ID
  20421. in: query
  20422. name: wrstandardid
  20423. type: integer
  20424. produces:
  20425. - application/json
  20426. responses:
  20427. "200":
  20428. description: OK
  20429. schema:
  20430. items:
  20431. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20432. type: array
  20433. "500":
  20434. description: Internal Server Error
  20435. schema:
  20436. $ref: '#/definitions/app.Response'
  20437. security:
  20438. - ApiKeyAuth: []
  20439. summary: 查询商品品牌
  20440. tags:
  20441. - 企业风险管理(app)
  20442. /Ermcp/QueryGoodsModel:
  20443. get:
  20444. parameters:
  20445. - description: 用户ID
  20446. in: query
  20447. name: userid
  20448. required: true
  20449. type: integer
  20450. produces:
  20451. - application/json
  20452. responses:
  20453. "200":
  20454. description: OK
  20455. schema:
  20456. items:
  20457. $ref: '#/definitions/models.ErmcpGoodsModel'
  20458. type: array
  20459. "500":
  20460. description: Internal Server Error
  20461. schema:
  20462. $ref: '#/definitions/app.Response'
  20463. security:
  20464. - ApiKeyAuth: []
  20465. summary: 查询商品型号
  20466. tags:
  20467. - 企业风险管理(app)
  20468. /Ermcp/QueryHisExposure:
  20469. get:
  20470. parameters:
  20471. - description: 用户id
  20472. in: query
  20473. name: userid
  20474. required: true
  20475. type: integer
  20476. - description: 每个品种记录数
  20477. in: query
  20478. name: lastNum
  20479. required: true
  20480. type: integer
  20481. produces:
  20482. - application/json
  20483. responses:
  20484. "200":
  20485. description: OK
  20486. schema:
  20487. items:
  20488. $ref: '#/definitions/ermcp.HisExposureRsp'
  20489. type: array
  20490. "500":
  20491. description: Internal Server Error
  20492. schema:
  20493. $ref: '#/definitions/app.Response'
  20494. security:
  20495. - ApiKeyAuth: []
  20496. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20497. tags:
  20498. - 企业风险管理(app)
  20499. /Ermcp/QueryMiddleGoods:
  20500. get:
  20501. parameters:
  20502. - description: 所属机构ID
  20503. in: query
  20504. name: userid
  20505. required: true
  20506. type: integer
  20507. - description: 状态 0-停用 1-正常
  20508. in: query
  20509. name: status
  20510. required: true
  20511. type: integer
  20512. produces:
  20513. - application/json
  20514. responses:
  20515. "200":
  20516. description: OK
  20517. schema:
  20518. items:
  20519. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20520. type: array
  20521. "500":
  20522. description: Internal Server Error
  20523. schema:
  20524. $ref: '#/definitions/app.Response'
  20525. security:
  20526. - ApiKeyAuth: []
  20527. summary: 查询套保品种(菜单:套保品种)
  20528. tags:
  20529. - 企业风险管理(app)
  20530. /Ermcp/QueryMiddleGoodsChangeLog:
  20531. get:
  20532. parameters:
  20533. - description: 所属机构ID
  20534. in: query
  20535. name: userid
  20536. required: true
  20537. type: integer
  20538. - description: 套保品种id
  20539. in: query
  20540. name: middlegoodsid
  20541. required: true
  20542. type: integer
  20543. produces:
  20544. - application/json
  20545. responses:
  20546. "200":
  20547. description: OK
  20548. schema:
  20549. items:
  20550. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20551. type: array
  20552. "500":
  20553. description: Internal Server Error
  20554. schema:
  20555. $ref: '#/definitions/app.Response'
  20556. security:
  20557. - ApiKeyAuth: []
  20558. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20559. tags:
  20560. - 企业风险管理(app)
  20561. /Ermcp/QueryMiddleGoodsDetail:
  20562. get:
  20563. parameters:
  20564. - description: 所属机构ID
  20565. in: query
  20566. name: userid
  20567. required: true
  20568. type: integer
  20569. - description: 套保品种id
  20570. in: query
  20571. name: middlegoodsid
  20572. type: integer
  20573. produces:
  20574. - application/json
  20575. responses:
  20576. "200":
  20577. description: OK
  20578. schema:
  20579. items:
  20580. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20581. type: array
  20582. "500":
  20583. description: Internal Server Error
  20584. schema:
  20585. $ref: '#/definitions/app.Response'
  20586. security:
  20587. - ApiKeyAuth: []
  20588. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20589. tags:
  20590. - 企业风险管理(app)
  20591. /Ermcp/QueryPendingAuditInfo:
  20592. get:
  20593. parameters:
  20594. - description: 用户ID
  20595. in: query
  20596. name: UserId
  20597. required: true
  20598. type: integer
  20599. produces:
  20600. - application/json
  20601. responses:
  20602. "200":
  20603. description: OK
  20604. schema:
  20605. items:
  20606. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20607. type: array
  20608. "500":
  20609. description: Internal Server Error
  20610. schema:
  20611. $ref: '#/definitions/app.Response'
  20612. security:
  20613. - ApiKeyAuth: []
  20614. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20615. tags:
  20616. - 企业风险管理(app)
  20617. /Ermcp/QueryRealtimeExposure:
  20618. get:
  20619. parameters:
  20620. - description: 所属机构ID
  20621. in: query
  20622. name: userid
  20623. required: true
  20624. type: integer
  20625. produces:
  20626. - application/json
  20627. responses:
  20628. "200":
  20629. description: OK
  20630. schema:
  20631. items:
  20632. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20633. type: array
  20634. "500":
  20635. description: Internal Server Error
  20636. schema:
  20637. $ref: '#/definitions/app.Response'
  20638. security:
  20639. - ApiKeyAuth: []
  20640. summary: 查询实时敞口
  20641. tags:
  20642. - 企业风险管理(app)
  20643. /Ermcp/QueryRealtimeExposurePosition:
  20644. get:
  20645. parameters:
  20646. - description: 用户id
  20647. in: query
  20648. name: userid
  20649. required: true
  20650. type: integer
  20651. - description: 套保商品ID
  20652. in: query
  20653. name: middleGoodsId
  20654. required: true
  20655. type: integer
  20656. produces:
  20657. - application/json
  20658. responses:
  20659. "200":
  20660. description: OK
  20661. schema:
  20662. items:
  20663. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20664. type: array
  20665. "500":
  20666. description: Internal Server Error
  20667. schema:
  20668. $ref: '#/definitions/app.Response'
  20669. security:
  20670. - ApiKeyAuth: []
  20671. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20672. tags:
  20673. - 企业风险管理(app)
  20674. /Ermcp/QueryRoleMenu:
  20675. get:
  20676. parameters:
  20677. - description: 登录ID
  20678. in: query
  20679. name: loginid
  20680. required: true
  20681. type: integer
  20682. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20683. in: query
  20684. name: menutype
  20685. type: integer
  20686. produces:
  20687. - application/json
  20688. responses:
  20689. "200":
  20690. description: OK
  20691. schema:
  20692. items:
  20693. $ref: '#/definitions/models.RoleMenu'
  20694. type: array
  20695. "500":
  20696. description: Internal Server Error
  20697. schema:
  20698. $ref: '#/definitions/app.Response'
  20699. security:
  20700. - ApiKeyAuth: []
  20701. summary: 查询角色菜单和权限
  20702. tags:
  20703. - 企业风险管理(app)
  20704. /Ermcp/QueryTradeConfigTMP:
  20705. get:
  20706. parameters:
  20707. - description: 所属机构id
  20708. in: query
  20709. name: areauserid
  20710. type: integer
  20711. produces:
  20712. - application/json
  20713. responses:
  20714. "200":
  20715. description: OK
  20716. schema:
  20717. items:
  20718. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20719. type: array
  20720. "500":
  20721. description: Internal Server Error
  20722. schema:
  20723. $ref: '#/definitions/app.Response'
  20724. security:
  20725. - ApiKeyAuth: []
  20726. summary: 查询交易模板配置
  20727. tags:
  20728. - 企业风险管理(app)
  20729. /Ermcp/QueryUserInfo:
  20730. get:
  20731. parameters:
  20732. - description: 所属机构用户ID
  20733. in: query
  20734. name: MemberUserID
  20735. required: true
  20736. type: integer
  20737. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20738. in: query
  20739. name: queryType
  20740. required: true
  20741. type: integer
  20742. produces:
  20743. - application/json
  20744. responses:
  20745. "200":
  20746. description: OK
  20747. schema:
  20748. items:
  20749. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20750. type: array
  20751. "500":
  20752. description: Internal Server Error
  20753. schema:
  20754. $ref: '#/definitions/app.Response'
  20755. security:
  20756. - ApiKeyAuth: []
  20757. summary: 查询客户资料
  20758. tags:
  20759. - 企业风险管理(app)
  20760. /Ermcp/QueryWarehouseInfo:
  20761. get:
  20762. parameters:
  20763. - description: 用户ID
  20764. in: query
  20765. name: userid
  20766. required: true
  20767. type: integer
  20768. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20769. in: query
  20770. name: status
  20771. type: string
  20772. produces:
  20773. - application/json
  20774. responses:
  20775. "200":
  20776. description: OK
  20777. schema:
  20778. items:
  20779. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20780. type: array
  20781. "500":
  20782. description: Internal Server Error
  20783. schema:
  20784. $ref: '#/definitions/app.Response'
  20785. security:
  20786. - ApiKeyAuth: []
  20787. summary: 查询仓库信息
  20788. tags:
  20789. - 企业风险管理(app)
  20790. /Ermcp3/QryAreaExpourseContractDetail:
  20791. get:
  20792. parameters:
  20793. - description: 用户ID
  20794. in: query
  20795. name: userid
  20796. required: true
  20797. type: integer
  20798. - description: 套保商品id
  20799. in: query
  20800. name: middlegoodsid
  20801. required: true
  20802. type: integer
  20803. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20804. in: query
  20805. name: cycletype
  20806. required: true
  20807. type: integer
  20808. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20809. 全(0)【原值】
  20810. in: query
  20811. name: cycletime
  20812. required: true
  20813. type: string
  20814. produces:
  20815. - application/json
  20816. responses:
  20817. "200":
  20818. description: OK
  20819. schema:
  20820. items:
  20821. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20822. type: array
  20823. "500":
  20824. description: Internal Server Error
  20825. schema:
  20826. $ref: '#/definitions/app.Response'
  20827. security:
  20828. - ApiKeyAuth: []
  20829. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20830. tags:
  20831. - 企业风险管理v3(app)
  20832. /Ermcp3/QryAreaExpourseFutuDetail:
  20833. get:
  20834. parameters:
  20835. - description: 用户ID
  20836. in: query
  20837. name: userid
  20838. required: true
  20839. type: integer
  20840. - description: 套保商品id
  20841. in: query
  20842. name: middlegoodsid
  20843. required: true
  20844. type: integer
  20845. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20846. in: query
  20847. name: cycletype
  20848. required: true
  20849. type: integer
  20850. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20851. 全(0)【原值】
  20852. in: query
  20853. name: cycletime
  20854. required: true
  20855. type: string
  20856. produces:
  20857. - application/json
  20858. responses:
  20859. "200":
  20860. description: OK
  20861. schema:
  20862. items:
  20863. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20864. type: array
  20865. "500":
  20866. description: Internal Server Error
  20867. schema:
  20868. $ref: '#/definitions/app.Response'
  20869. security:
  20870. - ApiKeyAuth: []
  20871. summary: 查询敞口期货明细(敞口报表/期货明细)
  20872. tags:
  20873. - 企业风险管理v3(app)
  20874. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20875. get:
  20876. parameters:
  20877. - description: 用户ID
  20878. in: query
  20879. name: userid
  20880. required: true
  20881. type: integer
  20882. - description: 套保商品id
  20883. in: query
  20884. name: middlegoodsid
  20885. required: true
  20886. type: integer
  20887. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20888. in: query
  20889. name: cycletype
  20890. required: true
  20891. type: integer
  20892. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20893. 全(0)【原值】
  20894. in: query
  20895. name: cycletime
  20896. required: true
  20897. type: string
  20898. produces:
  20899. - application/json
  20900. responses:
  20901. "200":
  20902. description: OK
  20903. schema:
  20904. items:
  20905. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20906. type: array
  20907. "500":
  20908. description: Internal Server Error
  20909. schema:
  20910. $ref: '#/definitions/app.Response'
  20911. security:
  20912. - ApiKeyAuth: []
  20913. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20914. tags:
  20915. - 企业风险管理v3(app)
  20916. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20917. get:
  20918. parameters:
  20919. - description: 用户ID
  20920. in: query
  20921. name: userid
  20922. required: true
  20923. type: integer
  20924. - description: 套保商品id
  20925. in: query
  20926. name: middlegoodsid
  20927. required: true
  20928. type: integer
  20929. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20930. in: query
  20931. name: cycletype
  20932. required: true
  20933. type: integer
  20934. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20935. 全(0)【原值】
  20936. in: query
  20937. name: cycletime
  20938. required: true
  20939. type: string
  20940. produces:
  20941. - application/json
  20942. responses:
  20943. "200":
  20944. description: OK
  20945. schema:
  20946. items:
  20947. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20948. type: array
  20949. "500":
  20950. description: Internal Server Error
  20951. schema:
  20952. $ref: '#/definitions/app.Response'
  20953. security:
  20954. - ApiKeyAuth: []
  20955. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20956. tags:
  20957. - 企业风险管理v3(app)
  20958. /Ermcp3/QryAreaExpourseReport:
  20959. get:
  20960. parameters:
  20961. - description: 用户ID
  20962. in: query
  20963. name: userid
  20964. required: true
  20965. type: integer
  20966. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20967. in: query
  20968. name: querytype
  20969. required: true
  20970. type: integer
  20971. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20972. in: query
  20973. name: cycletype
  20974. required: true
  20975. type: integer
  20976. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20977. 全(0)【原值】
  20978. in: query
  20979. name: cycletime
  20980. required: true
  20981. type: string
  20982. produces:
  20983. - application/json
  20984. responses:
  20985. "200":
  20986. description: OK
  20987. schema:
  20988. items:
  20989. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20990. type: array
  20991. "500":
  20992. description: Internal Server Error
  20993. schema:
  20994. $ref: '#/definitions/app.Response'
  20995. security:
  20996. - ApiKeyAuth: []
  20997. summary: 查询敞口报表
  20998. tags:
  20999. - 企业风险管理v3(app)
  21000. /Ermcp3/QryAreaSpotplReport:
  21001. get:
  21002. parameters:
  21003. - description: 用户ID
  21004. in: query
  21005. name: userid
  21006. required: true
  21007. type: integer
  21008. - description: 查询类型 1-报表 2-报表明细
  21009. in: query
  21010. name: querytype
  21011. required: true
  21012. type: integer
  21013. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21014. in: query
  21015. name: cycletype
  21016. required: true
  21017. type: integer
  21018. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21019. 全(0)【原值】
  21020. in: query
  21021. name: cycletime
  21022. required: true
  21023. type: string
  21024. - description: 现货品种id(明细必填)
  21025. in: query
  21026. name: deliverygoodsid
  21027. type: integer
  21028. - description: 币种id(明细必填)
  21029. in: query
  21030. name: currencyid
  21031. type: integer
  21032. produces:
  21033. - application/json
  21034. responses:
  21035. "200":
  21036. description: OK
  21037. schema:
  21038. items:
  21039. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21040. type: array
  21041. "500":
  21042. description: Internal Server Error
  21043. schema:
  21044. $ref: '#/definitions/app.Response'
  21045. security:
  21046. - ApiKeyAuth: []
  21047. summary: 查询现货报表
  21048. tags:
  21049. - 企业风险管理v3(app)
  21050. /Ermcp3/QryAreaStockReport:
  21051. get:
  21052. parameters:
  21053. - description: 用户ID
  21054. in: query
  21055. name: userid
  21056. required: true
  21057. type: integer
  21058. - description: 查询类型 1-报表 2-报表明细
  21059. in: query
  21060. name: querytype
  21061. required: true
  21062. type: integer
  21063. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21064. in: query
  21065. name: cycletype
  21066. required: true
  21067. type: integer
  21068. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21069. 全(0)【原值】
  21070. in: query
  21071. name: cycletime
  21072. required: true
  21073. type: string
  21074. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21075. in: query
  21076. name: sumfields
  21077. type: string
  21078. - description: 品种ID
  21079. in: query
  21080. name: deliverygoodsid
  21081. type: integer
  21082. - description: 品类ID
  21083. in: query
  21084. name: wrstandardid
  21085. type: integer
  21086. - description: 品牌ID
  21087. in: query
  21088. name: spotgoodsbrandid
  21089. type: integer
  21090. - description: 仓库ID
  21091. in: query
  21092. name: warehouseinfoid
  21093. type: integer
  21094. produces:
  21095. - application/json
  21096. responses:
  21097. "200":
  21098. description: OK
  21099. schema:
  21100. items:
  21101. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21102. type: array
  21103. "500":
  21104. description: Internal Server Error
  21105. schema:
  21106. $ref: '#/definitions/app.Response'
  21107. security:
  21108. - ApiKeyAuth: []
  21109. summary: 查询库存报表
  21110. tags:
  21111. - 企业风险管理v3(app)
  21112. /Ermcp3/QryAreaSumPL:
  21113. get:
  21114. parameters:
  21115. - description: 用户ID
  21116. in: query
  21117. name: userid
  21118. required: true
  21119. type: integer
  21120. - description: 查询类型 1-报表 2-报表明细
  21121. in: query
  21122. name: querytype
  21123. required: true
  21124. type: integer
  21125. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21126. in: query
  21127. name: cycletype
  21128. required: true
  21129. type: integer
  21130. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21131. 全(0)【原值】
  21132. in: query
  21133. name: cycletime
  21134. required: true
  21135. type: string
  21136. - description: 币种id(明细必填)
  21137. in: query
  21138. name: currencyid
  21139. type: integer
  21140. produces:
  21141. - application/json
  21142. responses:
  21143. "200":
  21144. description: OK
  21145. schema:
  21146. items:
  21147. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21148. type: array
  21149. "500":
  21150. description: Internal Server Error
  21151. schema:
  21152. $ref: '#/definitions/app.Response'
  21153. security:
  21154. - ApiKeyAuth: []
  21155. summary: 查询汇总损益表
  21156. tags:
  21157. - 企业风险管理v3(app)
  21158. /Ermcp3/QryFinanceReport:
  21159. get:
  21160. parameters:
  21161. - description: 用户ID
  21162. in: query
  21163. name: userid
  21164. required: true
  21165. type: integer
  21166. - description: 查询类型 1-报表 2-报表明细
  21167. in: query
  21168. name: querytype
  21169. required: true
  21170. type: integer
  21171. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21172. in: query
  21173. name: cycletype
  21174. required: true
  21175. type: integer
  21176. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21177. 全(0)【原值】
  21178. in: query
  21179. name: cycletime
  21180. required: true
  21181. type: string
  21182. - description: 币种id(报表明细必填)
  21183. in: query
  21184. name: currencyid
  21185. type: integer
  21186. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21187. in: query
  21188. name: sumfields
  21189. type: string
  21190. produces:
  21191. - application/json
  21192. responses:
  21193. "200":
  21194. description: OK
  21195. schema:
  21196. items:
  21197. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21198. type: array
  21199. "500":
  21200. description: Internal Server Error
  21201. schema:
  21202. $ref: '#/definitions/app.Response'
  21203. security:
  21204. - ApiKeyAuth: []
  21205. summary: 查询财务报表
  21206. tags:
  21207. - 企业风险管理v3(app)
  21208. /Ermcp3/QrySCMiddleGoodsReport:
  21209. get:
  21210. parameters:
  21211. - description: 用户ID
  21212. in: query
  21213. name: userid
  21214. required: true
  21215. type: integer
  21216. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21217. in: query
  21218. name: cycletype
  21219. required: true
  21220. type: integer
  21221. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21222. 全(0)【原值】
  21223. in: query
  21224. name: cycletime
  21225. required: true
  21226. type: string
  21227. - description: 现货合同id
  21228. in: query
  21229. name: spotcontractid
  21230. type: integer
  21231. - description: 套保品种id
  21232. in: query
  21233. name: middlegoodsid
  21234. type: integer
  21235. - description: 现货品种id
  21236. in: query
  21237. name: deliverygoodsid
  21238. type: integer
  21239. - description: 现货商品id
  21240. in: query
  21241. name: wrstandardid
  21242. type: integer
  21243. produces:
  21244. - application/json
  21245. responses:
  21246. "200":
  21247. description: OK
  21248. schema:
  21249. items:
  21250. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21251. type: array
  21252. "500":
  21253. description: Internal Server Error
  21254. schema:
  21255. $ref: '#/definitions/app.Response'
  21256. security:
  21257. - ApiKeyAuth: []
  21258. summary: 查询定价报表
  21259. tags:
  21260. - 企业风险管理v3(app)
  21261. /Ermcp3/QryTaFutureDataReport:
  21262. get:
  21263. parameters:
  21264. - description: 用户ID
  21265. in: query
  21266. name: userid
  21267. required: true
  21268. type: integer
  21269. - description: 查询类型 1-报表 2-报表明细
  21270. in: query
  21271. name: querytype
  21272. required: true
  21273. type: integer
  21274. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21275. in: query
  21276. name: cycletype
  21277. required: true
  21278. type: integer
  21279. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21280. 全(0)【原值】
  21281. in: query
  21282. name: cycletime
  21283. required: true
  21284. type: string
  21285. - description: 币种id(查明细必填)
  21286. in: query
  21287. name: currencyid
  21288. type: integer
  21289. - description: 品种id(查明细必填)
  21290. in: query
  21291. name: goodsgroupid
  21292. type: integer
  21293. - description: 商品id(查明细必填)
  21294. in: query
  21295. name: goodsid
  21296. type: integer
  21297. - description: 买卖方向(查明细必填)
  21298. in: query
  21299. name: buyorsell
  21300. type: integer
  21301. produces:
  21302. - application/json
  21303. responses:
  21304. "200":
  21305. description: OK
  21306. schema:
  21307. items:
  21308. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21309. type: array
  21310. "500":
  21311. description: Internal Server Error
  21312. schema:
  21313. $ref: '#/definitions/app.Response'
  21314. security:
  21315. - ApiKeyAuth: []
  21316. summary: 查询期货报表
  21317. tags:
  21318. - 企业风险管理v3(app)
  21319. /Ermcp3/QueryAreaStock:
  21320. get:
  21321. parameters:
  21322. - description: 用户ID
  21323. in: query
  21324. name: userid
  21325. required: true
  21326. type: integer
  21327. produces:
  21328. - application/json
  21329. responses:
  21330. "200":
  21331. description: OK
  21332. schema:
  21333. items:
  21334. $ref: '#/definitions/models.Ermcp3AreaStock'
  21335. type: array
  21336. "500":
  21337. description: Internal Server Error
  21338. schema:
  21339. $ref: '#/definitions/app.Response'
  21340. security:
  21341. - ApiKeyAuth: []
  21342. summary: 查询机构库存(库存管理/当前库存)
  21343. tags:
  21344. - 企业风险管理v3(app)
  21345. /Ermcp3/QueryAreaStockApply:
  21346. get:
  21347. parameters:
  21348. - description: 用户ID
  21349. in: query
  21350. name: userid
  21351. required: true
  21352. type: integer
  21353. - description: 用户类型 2-机构 7-企业成员
  21354. in: query
  21355. name: usertype
  21356. type: integer
  21357. - description: 现货商品ID
  21358. in: query
  21359. name: deliverygoodsid
  21360. type: integer
  21361. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21362. in: query
  21363. name: inouttype
  21364. type: string
  21365. - description: 合同ID
  21366. in: query
  21367. name: spotcontractid
  21368. type: integer
  21369. - description: 品类ID
  21370. in: query
  21371. name: wrstandardid
  21372. type: integer
  21373. - description: 品牌ID
  21374. in: query
  21375. name: spotgoodsbrandid
  21376. type: integer
  21377. - description: 仓库ID
  21378. in: query
  21379. name: warehouseinfoid
  21380. type: integer
  21381. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21382. in: query
  21383. name: applystatus
  21384. type: string
  21385. produces:
  21386. - application/json
  21387. responses:
  21388. "200":
  21389. description: OK
  21390. schema:
  21391. items:
  21392. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21393. type: array
  21394. "500":
  21395. description: Internal Server Error
  21396. schema:
  21397. $ref: '#/definitions/app.Response'
  21398. security:
  21399. - ApiKeyAuth: []
  21400. summary: 查询库存申请(出入库记录|库存审核)
  21401. tags:
  21402. - 企业风险管理v3(app)
  21403. /Ermcp3/QueryAreaStockApplySum:
  21404. get:
  21405. parameters:
  21406. - description: 合同ID
  21407. in: query
  21408. name: spotcontractid
  21409. required: true
  21410. type: integer
  21411. produces:
  21412. - application/json
  21413. responses:
  21414. "200":
  21415. description: OK
  21416. schema:
  21417. items:
  21418. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21419. type: array
  21420. "500":
  21421. description: Internal Server Error
  21422. schema:
  21423. $ref: '#/definitions/app.Response'
  21424. security:
  21425. - ApiKeyAuth: []
  21426. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21427. tags:
  21428. - 企业风险管理v3(app)
  21429. /Ermcp3/QueryDGFactoryItem:
  21430. get:
  21431. parameters:
  21432. - description: 用户id
  21433. in: query
  21434. name: userid
  21435. type: integer
  21436. - description: 用户类型 2-机构 7-企业成员
  21437. in: query
  21438. name: usertype
  21439. type: integer
  21440. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21441. in: query
  21442. name: dgfactoryitemid
  21443. type: integer
  21444. - description: 现货品种ID
  21445. in: query
  21446. name: deliverygoodsid
  21447. type: integer
  21448. - description: 要素项类型
  21449. in: query
  21450. name: dgfactoryitemtypeid
  21451. type: integer
  21452. - description: 顺序
  21453. in: query
  21454. name: orderindex
  21455. type: integer
  21456. produces:
  21457. - application/json
  21458. responses:
  21459. "200":
  21460. description: OK
  21461. schema:
  21462. items:
  21463. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21464. type: array
  21465. "500":
  21466. description: Internal Server Error
  21467. schema:
  21468. $ref: '#/definitions/app.Response'
  21469. security:
  21470. - ApiKeyAuth: []
  21471. summary: 查询品种要素定义项
  21472. tags:
  21473. - 企业风险管理v3(app)
  21474. /Ermcp3/QueryDeliveryGoods:
  21475. get:
  21476. parameters:
  21477. - description: 用户id
  21478. in: query
  21479. name: userid
  21480. required: true
  21481. type: integer
  21482. - description: 用户类型 2-机构 7-企业成员
  21483. in: query
  21484. name: usertype
  21485. type: integer
  21486. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21487. in: query
  21488. name: excludecfg
  21489. type: integer
  21490. produces:
  21491. - application/json
  21492. responses:
  21493. "200":
  21494. description: OK
  21495. schema:
  21496. items:
  21497. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21498. type: array
  21499. "500":
  21500. description: Internal Server Error
  21501. schema:
  21502. $ref: '#/definitions/app.Response'
  21503. security:
  21504. - ApiKeyAuth: []
  21505. summary: 查询现货商品
  21506. tags:
  21507. - 企业风险管理v3(app)
  21508. /Ermcp3/QueryDeliveryGoodsDetail:
  21509. get:
  21510. parameters:
  21511. - description: 用户id
  21512. in: query
  21513. name: userid
  21514. required: true
  21515. type: integer
  21516. - description: 用户类型 2-机构 7-企业成员
  21517. in: query
  21518. name: usertype
  21519. type: integer
  21520. - description: 现货商品id
  21521. in: query
  21522. name: deliverygoodsid
  21523. type: integer
  21524. produces:
  21525. - application/json
  21526. responses:
  21527. "200":
  21528. description: OK
  21529. schema:
  21530. items:
  21531. $ref: '#/definitions/models.XHDeliveryGoods'
  21532. type: array
  21533. "500":
  21534. description: Internal Server Error
  21535. schema:
  21536. $ref: '#/definitions/app.Response'
  21537. security:
  21538. - ApiKeyAuth: []
  21539. summary: 查询现货商品详情
  21540. tags:
  21541. - 企业风险管理v3(app)
  21542. /Ermcp3/QueryExposureDetail:
  21543. get:
  21544. parameters:
  21545. - description: 用户id
  21546. in: query
  21547. name: userid
  21548. required: true
  21549. type: integer
  21550. - description: 用户类型 2-机构 7-企业成员
  21551. in: query
  21552. name: usertype
  21553. type: integer
  21554. - description: 套保商品
  21555. in: query
  21556. name: middlegoodsid
  21557. required: true
  21558. type: integer
  21559. produces:
  21560. - application/json
  21561. responses:
  21562. "200":
  21563. description: OK
  21564. schema:
  21565. items:
  21566. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21567. type: array
  21568. "500":
  21569. description: Internal Server Error
  21570. schema:
  21571. $ref: '#/definitions/app.Response'
  21572. security:
  21573. - ApiKeyAuth: []
  21574. summary: 查询敞口现货明细
  21575. tags:
  21576. - 企业风险管理v3(app)
  21577. /Ermcp3/QueryExposureSpot:
  21578. get:
  21579. parameters:
  21580. - description: 用户id
  21581. in: query
  21582. name: userid
  21583. required: true
  21584. type: integer
  21585. - description: 用户类型 2-机构 7-企业成员
  21586. in: query
  21587. name: usertype
  21588. type: integer
  21589. produces:
  21590. - application/json
  21591. responses:
  21592. "200":
  21593. description: OK
  21594. schema:
  21595. items:
  21596. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21597. type: array
  21598. "500":
  21599. description: Internal Server Error
  21600. schema:
  21601. $ref: '#/definitions/app.Response'
  21602. security:
  21603. - ApiKeyAuth: []
  21604. summary: 查询敞口现货头寸(敞口/现货头寸)
  21605. tags:
  21606. - 企业风险管理v3(app)
  21607. /Ermcp3/QueryExposureSpotDetail:
  21608. get:
  21609. parameters:
  21610. - description: 用户id
  21611. in: query
  21612. name: userid
  21613. required: true
  21614. type: integer
  21615. - description: 用户类型 2-机构 7-企业成员
  21616. in: query
  21617. name: usertype
  21618. type: integer
  21619. - description: 现货商品ID
  21620. in: query
  21621. name: wrstandardid
  21622. required: true
  21623. type: integer
  21624. produces:
  21625. - application/json
  21626. responses:
  21627. "200":
  21628. description: OK
  21629. schema:
  21630. items:
  21631. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21632. type: array
  21633. "500":
  21634. description: Internal Server Error
  21635. schema:
  21636. $ref: '#/definitions/app.Response'
  21637. security:
  21638. - ApiKeyAuth: []
  21639. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21640. tags:
  21641. - 企业风险管理v3(app)
  21642. /Ermcp3/QueryGoodsGroup:
  21643. get:
  21644. parameters:
  21645. - description: 用户id
  21646. in: query
  21647. name: userid
  21648. required: true
  21649. type: integer
  21650. - description: 用户类型 2-机构 7-企业成员
  21651. in: query
  21652. name: usertype
  21653. type: integer
  21654. - description: 排除套保品中已关联的商品组 1-排除
  21655. in: query
  21656. name: excludecfg
  21657. type: integer
  21658. produces:
  21659. - application/json
  21660. responses:
  21661. "200":
  21662. description: OK
  21663. schema:
  21664. items:
  21665. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21666. type: array
  21667. "500":
  21668. description: Internal Server Error
  21669. schema:
  21670. $ref: '#/definitions/app.Response'
  21671. security:
  21672. - ApiKeyAuth: []
  21673. summary: 查询期货商品组
  21674. tags:
  21675. - 企业风险管理v3(app)
  21676. /Ermcp3/QueryGoodsWrstandard:
  21677. get:
  21678. parameters:
  21679. - description: 用户id
  21680. in: query
  21681. name: userid
  21682. required: true
  21683. type: integer
  21684. - description: 用户类型 2-机构 7-企业成员
  21685. in: query
  21686. name: usertype
  21687. type: integer
  21688. - description: 现货商品id
  21689. in: query
  21690. name: deliverygoodsid
  21691. type: integer
  21692. produces:
  21693. - application/json
  21694. responses:
  21695. "200":
  21696. description: OK
  21697. schema:
  21698. items:
  21699. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21700. type: array
  21701. "500":
  21702. description: Internal Server Error
  21703. schema:
  21704. $ref: '#/definitions/app.Response'
  21705. security:
  21706. - ApiKeyAuth: []
  21707. summary: 查询商品品类
  21708. tags:
  21709. - 企业风险管理v3(app)
  21710. /Ermcp3/QueryGoodsbrand:
  21711. get:
  21712. parameters:
  21713. - description: 用户id
  21714. in: query
  21715. name: userid
  21716. required: true
  21717. type: integer
  21718. - description: 用户类型 2-机构 7-企业成员
  21719. in: query
  21720. name: usertype
  21721. type: integer
  21722. produces:
  21723. - application/json
  21724. responses:
  21725. "200":
  21726. description: OK
  21727. schema:
  21728. items:
  21729. $ref: '#/definitions/models.Ermcp3Brand'
  21730. type: array
  21731. "500":
  21732. description: Internal Server Error
  21733. schema:
  21734. $ref: '#/definitions/app.Response'
  21735. security:
  21736. - ApiKeyAuth: []
  21737. summary: 查询商品品牌
  21738. tags:
  21739. - 企业风险管理v3(app)
  21740. /Ermcp3/QueryHedgePlan:
  21741. get:
  21742. parameters:
  21743. - description: 用户ID
  21744. in: query
  21745. name: userid
  21746. required: true
  21747. type: integer
  21748. - description: 用户类型 2-机构 7-企业成员
  21749. in: query
  21750. name: usertype
  21751. type: integer
  21752. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21753. in: query
  21754. name: hedgeplanstatus
  21755. required: true
  21756. type: string
  21757. produces:
  21758. - application/json
  21759. responses:
  21760. "200":
  21761. description: OK
  21762. schema:
  21763. items:
  21764. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21765. type: array
  21766. "500":
  21767. description: Internal Server Error
  21768. schema:
  21769. $ref: '#/definitions/app.Response'
  21770. security:
  21771. - ApiKeyAuth: []
  21772. summary: 查询套保计划
  21773. tags:
  21774. - 企业风险管理v3(app)
  21775. /Ermcp3/QueryInnerTradeLink:
  21776. get:
  21777. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21778. parameters:
  21779. - description: 外部成交单号
  21780. in: query
  21781. name: outtradeid
  21782. required: true
  21783. type: integer
  21784. produces:
  21785. - application/json
  21786. responses:
  21787. "200":
  21788. description: OK
  21789. schema:
  21790. items:
  21791. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21792. type: array
  21793. "500":
  21794. description: Internal Server Error
  21795. schema:
  21796. $ref: '#/definitions/app.Response'
  21797. security:
  21798. - ApiKeyAuth: []
  21799. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21800. tags:
  21801. - 企业风险管理v3(app)
  21802. /Ermcp3/QueryMiddleGoodsDetail:
  21803. get:
  21804. parameters:
  21805. - description: 用户id
  21806. in: query
  21807. name: userid
  21808. required: true
  21809. type: integer
  21810. - description: 用户类型 2-机构 7-企业成员
  21811. in: query
  21812. name: usertype
  21813. type: integer
  21814. - description: 套保品种id
  21815. in: query
  21816. name: middlegoodsid
  21817. type: integer
  21818. produces:
  21819. - application/json
  21820. responses:
  21821. "200":
  21822. description: OK
  21823. schema:
  21824. items:
  21825. $ref: '#/definitions/models.TBMiddleGoods'
  21826. type: array
  21827. "500":
  21828. description: Internal Server Error
  21829. schema:
  21830. $ref: '#/definitions/app.Response'
  21831. security:
  21832. - ApiKeyAuth: []
  21833. summary: 查询套保品种详情(套保品种/商品详情)
  21834. tags:
  21835. - 企业风险管理v3(app)
  21836. /Ermcp3/QueryOutTradeLink:
  21837. get:
  21838. description: 页面 app 现货->期现关联->外部成交单关联
  21839. parameters:
  21840. - description: 用户ID(填登录用户的userid)
  21841. in: query
  21842. name: userid
  21843. required: true
  21844. type: integer
  21845. - description: 外部订单号(模糊匹配)
  21846. in: query
  21847. name: outtradeid
  21848. type: string
  21849. - description: 合约名称/代码(模糊匹配)
  21850. in: query
  21851. name: goodsname
  21852. type: string
  21853. - description: 关联状态 0-未关联 1-已关联
  21854. in: query
  21855. name: hasinnerorder
  21856. type: integer
  21857. produces:
  21858. - application/json
  21859. responses:
  21860. "200":
  21861. description: OK
  21862. schema:
  21863. items:
  21864. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21865. type: array
  21866. "500":
  21867. description: Internal Server Error
  21868. schema:
  21869. $ref: '#/definitions/app.Response'
  21870. security:
  21871. - ApiKeyAuth: []
  21872. summary: 查询外部成交单关联
  21873. tags:
  21874. - 企业风险管理v3(app)
  21875. /Ermcp3/QueryPaAreaAuditCfg:
  21876. get:
  21877. parameters:
  21878. - description: 用户id
  21879. in: query
  21880. name: userid
  21881. required: true
  21882. type: integer
  21883. produces:
  21884. - application/json
  21885. responses:
  21886. "200":
  21887. description: OK
  21888. schema:
  21889. items:
  21890. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21891. type: array
  21892. "500":
  21893. description: Internal Server Error
  21894. schema:
  21895. $ref: '#/definitions/app.Response'
  21896. security:
  21897. - ApiKeyAuth: []
  21898. summary: 查询审核设置
  21899. tags:
  21900. - 企业风险管理v3(app)
  21901. /Ermcp3/QueryPaAreaSubject:
  21902. get:
  21903. parameters:
  21904. - description: 用户id
  21905. in: query
  21906. name: userid
  21907. required: true
  21908. type: integer
  21909. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21910. in: query
  21911. name: subjectid
  21912. type: integer
  21913. - description: 主体类型 - 1:交易主体 2:业务部门
  21914. in: query
  21915. name: subjecttype
  21916. type: integer
  21917. - description: '主体状态 - 1:正常 2: 停用'
  21918. in: query
  21919. name: subjectstatus
  21920. type: integer
  21921. produces:
  21922. - application/json
  21923. responses:
  21924. "200":
  21925. description: OK
  21926. schema:
  21927. items:
  21928. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21929. type: array
  21930. "500":
  21931. description: Internal Server Error
  21932. schema:
  21933. $ref: '#/definitions/app.Response'
  21934. security:
  21935. - ApiKeyAuth: []
  21936. summary: 查询交易主体
  21937. tags:
  21938. - 企业风险管理v3(app)
  21939. /Ermcp3/QueryPaTradeLink:
  21940. get:
  21941. description: 页面 app 现货->期现关联->期现单据关联
  21942. parameters:
  21943. - description: 用户ID
  21944. in: query
  21945. name: userid
  21946. required: true
  21947. type: integer
  21948. produces:
  21949. - application/json
  21950. responses:
  21951. "200":
  21952. description: OK
  21953. schema:
  21954. items:
  21955. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21956. type: array
  21957. "500":
  21958. description: Internal Server Error
  21959. schema:
  21960. $ref: '#/definitions/app.Response'
  21961. security:
  21962. - ApiKeyAuth: []
  21963. summary: 查询期现单据关联
  21964. tags:
  21965. - 企业风险管理v3(app)
  21966. /Ermcp3/QueryPaTradeLinkDetail:
  21967. get:
  21968. description: 页面 app 现货->期现关联->关联记录
  21969. parameters:
  21970. - description: 用户ID(填登录用户的userid)
  21971. in: query
  21972. name: userid
  21973. required: true
  21974. type: integer
  21975. - description: 期货订单号(模糊匹配)
  21976. in: query
  21977. name: tradeid
  21978. type: string
  21979. - description: 现货编号(模糊匹配)
  21980. in: query
  21981. name: contractno
  21982. type: string
  21983. - description: 期货账户(模糊匹配)
  21984. in: query
  21985. name: taname
  21986. type: string
  21987. produces:
  21988. - application/json
  21989. responses:
  21990. "200":
  21991. description: OK
  21992. schema:
  21993. items:
  21994. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  21995. type: array
  21996. "500":
  21997. description: Internal Server Error
  21998. schema:
  21999. $ref: '#/definitions/app.Response'
  22000. security:
  22001. - ApiKeyAuth: []
  22002. summary: 查询期现关联记录
  22003. tags:
  22004. - 企业风险管理v3(app)
  22005. /Ermcp3/QueryParamChangeApp:
  22006. get:
  22007. description: |-
  22008. 原型页面:
  22009. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22010. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22011. parameters:
  22012. - description: 用户ID
  22013. in: query
  22014. name: userid
  22015. required: true
  22016. type: integer
  22017. - description: 现货品种id
  22018. in: query
  22019. name: deliverygoodsid
  22020. type: integer
  22021. - description: 现货商品id
  22022. in: query
  22023. name: wrstandardid
  22024. type: integer
  22025. - description: 套保商品id
  22026. in: query
  22027. name: middlegoodsid
  22028. type: integer
  22029. - description: 操作类型 1:新增 2:修改
  22030. in: query
  22031. name: operatetype
  22032. type: integer
  22033. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22034. in: query
  22035. name: paramchangetype
  22036. type: integer
  22037. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22038. in: query
  22039. name: ftstatus
  22040. type: string
  22041. produces:
  22042. - application/json
  22043. responses:
  22044. "200":
  22045. description: OK
  22046. schema:
  22047. items:
  22048. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22049. type: array
  22050. "500":
  22051. description: Internal Server Error
  22052. schema:
  22053. $ref: '#/definitions/app.Response'
  22054. security:
  22055. - ApiKeyAuth: []
  22056. summary: 查询现货商品参数变更申请(流水)
  22057. tags:
  22058. - 企业风险管理v3(app)
  22059. /Ermcp3/QueryRootUserAccount:
  22060. get:
  22061. parameters:
  22062. - description: 用户ID
  22063. in: query
  22064. name: userid
  22065. required: true
  22066. type: integer
  22067. produces:
  22068. - application/json
  22069. responses:
  22070. "200":
  22071. description: OK
  22072. schema:
  22073. items:
  22074. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22075. type: array
  22076. "500":
  22077. description: Internal Server Error
  22078. schema:
  22079. $ref: '#/definitions/app.Response'
  22080. security:
  22081. - ApiKeyAuth: []
  22082. summary: 查询顶级用户信息
  22083. tags:
  22084. - 企业风险管理v3(app)
  22085. /Ermcp3/QuerySCMiddleGoods:
  22086. get:
  22087. description: |-
  22088. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22089. 现货编号 即 合同编号
  22090. parameters:
  22091. - description: 用户ID(填登录用户的userid)
  22092. in: query
  22093. name: userid
  22094. required: true
  22095. type: integer
  22096. - description: 买卖方向 0-买 1-卖
  22097. in: query
  22098. name: buyorsell
  22099. required: true
  22100. type: integer
  22101. - description: 商品组id
  22102. in: query
  22103. name: goodsgroupid
  22104. required: true
  22105. type: integer
  22106. - description: 现货编号(模糊匹配)
  22107. in: query
  22108. name: contractno
  22109. type: string
  22110. - description: 对手方(模糊匹配)
  22111. in: query
  22112. name: customername
  22113. type: string
  22114. - description: 现货商品名称(模糊匹配)
  22115. in: query
  22116. name: wrstandardname
  22117. type: string
  22118. produces:
  22119. - application/json
  22120. responses:
  22121. "200":
  22122. description: OK
  22123. schema:
  22124. items:
  22125. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22126. type: array
  22127. "500":
  22128. description: Internal Server Error
  22129. schema:
  22130. $ref: '#/definitions/app.Response'
  22131. security:
  22132. - ApiKeyAuth: []
  22133. summary: 查询现货订单
  22134. tags:
  22135. - 企业风险管理v3(app)
  22136. /Ermcp3/QuerySpotContract:
  22137. get:
  22138. parameters:
  22139. - description: 用户id(当指定contractid, userid可不填)
  22140. in: query
  22141. name: userid
  22142. required: true
  22143. type: integer
  22144. - description: 用户类型 2-机构 7-企业成员
  22145. in: query
  22146. name: usertype
  22147. type: integer
  22148. - description: 合同类型 1-采购, -1-销售
  22149. in: query
  22150. name: contracttype
  22151. type: integer
  22152. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)
  22153. in: query
  22154. name: querytype
  22155. required: true
  22156. type: integer
  22157. - description: 合同ID(SpotContractId)
  22158. in: query
  22159. name: contractid
  22160. type: string
  22161. produces:
  22162. - application/json
  22163. responses:
  22164. "200":
  22165. description: OK
  22166. schema:
  22167. items:
  22168. $ref: '#/definitions/models.Ermcp3Contract'
  22169. type: array
  22170. "500":
  22171. description: Internal Server Error
  22172. schema:
  22173. $ref: '#/definitions/app.Response'
  22174. security:
  22175. - ApiKeyAuth: []
  22176. summary: 查询现货合同
  22177. tags:
  22178. - 企业风险管理v3(app)
  22179. /Ermcp3/QuerySpotContractBS:
  22180. get:
  22181. parameters:
  22182. - description: 用户id
  22183. in: query
  22184. name: userid
  22185. required: true
  22186. type: integer
  22187. - description: 用户类型 2-机构 7-企业成员
  22188. in: query
  22189. name: usertype
  22190. type: integer
  22191. - description: 合同类型 1-采购, -1-销售
  22192. in: query
  22193. name: contracttype
  22194. required: true
  22195. type: integer
  22196. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22197. in: query
  22198. name: querytype
  22199. required: true
  22200. type: integer
  22201. - description: 合同ID(SpotContractId)
  22202. in: query
  22203. name: contractid
  22204. type: string
  22205. produces:
  22206. - application/json
  22207. responses:
  22208. "200":
  22209. description: OK
  22210. schema:
  22211. items:
  22212. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22213. type: array
  22214. "500":
  22215. description: Internal Server Error
  22216. schema:
  22217. $ref: '#/definitions/app.Response'
  22218. security:
  22219. - ApiKeyAuth: []
  22220. summary: 查询合同(采购/销售)
  22221. tags:
  22222. - 企业风险管理v3(app)
  22223. /Ermcp3/QuerySpotGoodsPrice:
  22224. get:
  22225. parameters:
  22226. - description: 用户ID
  22227. in: query
  22228. name: userid
  22229. required: true
  22230. type: integer
  22231. produces:
  22232. - application/json
  22233. responses:
  22234. "200":
  22235. description: OK
  22236. schema:
  22237. items:
  22238. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22239. type: array
  22240. "500":
  22241. description: Internal Server Error
  22242. schema:
  22243. $ref: '#/definitions/app.Response'
  22244. security:
  22245. - ApiKeyAuth: []
  22246. summary: 查询现货市价(现货市价)
  22247. tags:
  22248. - 企业风险管理v3(app)
  22249. /Ermcp3/QuerySpotGoodsPriceLog:
  22250. get:
  22251. parameters:
  22252. - description: 用户ID
  22253. in: query
  22254. name: userid
  22255. required: true
  22256. type: integer
  22257. - description: 现货商品ID
  22258. in: query
  22259. name: deliverygoodsid
  22260. required: true
  22261. type: integer
  22262. - description: 品牌ID
  22263. in: query
  22264. name: brandid
  22265. type: integer
  22266. - description: 品类ID
  22267. in: query
  22268. name: wrstandardid
  22269. type: integer
  22270. produces:
  22271. - application/json
  22272. responses:
  22273. "200":
  22274. description: OK
  22275. schema:
  22276. items:
  22277. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22278. type: array
  22279. "500":
  22280. description: Internal Server Error
  22281. schema:
  22282. $ref: '#/definitions/app.Response'
  22283. security:
  22284. - ApiKeyAuth: []
  22285. summary: 查询现货市价详情(现货市价/详情)
  22286. tags:
  22287. - 企业风险管理v3(app)
  22288. /Ermcp3/QuerySubTaaccount:
  22289. get:
  22290. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22291. parameters:
  22292. - description: 母账号id
  22293. in: query
  22294. name: parentaccountid
  22295. type: integer
  22296. - description: 母账号代码
  22297. in: query
  22298. name: parentaccountcode
  22299. type: string
  22300. produces:
  22301. - application/json
  22302. responses:
  22303. "200":
  22304. description: OK
  22305. schema:
  22306. items:
  22307. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22308. type: array
  22309. "500":
  22310. description: Internal Server Error
  22311. schema:
  22312. $ref: '#/definitions/app.Response'
  22313. security:
  22314. - ApiKeyAuth: []
  22315. summary: 查询期货子账户
  22316. tags:
  22317. - 企业风险管理v3(app)
  22318. /Erms2/QueryArbitrageStrategy:
  22319. get:
  22320. parameters:
  22321. - description: 账户ID
  22322. in: query
  22323. name: userid
  22324. required: true
  22325. type: integer
  22326. - description: 商品组ID(品种ID)
  22327. in: query
  22328. name: goodsgroupid
  22329. type: string
  22330. produces:
  22331. - application/json
  22332. responses:
  22333. "200":
  22334. description: OK
  22335. schema:
  22336. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22337. "500":
  22338. description: Internal Server Error
  22339. schema:
  22340. $ref: '#/definitions/app.Response'
  22341. security:
  22342. - ApiKeyAuth: []
  22343. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22344. tags:
  22345. - 风险管理
  22346. /Erms2/QueryInnerTradeDetail:
  22347. get:
  22348. parameters:
  22349. - description: 资金账户
  22350. in: query
  22351. name: accountid
  22352. required: true
  22353. type: integer
  22354. produces:
  22355. - application/json
  22356. responses:
  22357. "200":
  22358. description: OK
  22359. schema:
  22360. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22361. "500":
  22362. description: Internal Server Error
  22363. schema:
  22364. $ref: '#/definitions/app.Response'
  22365. security:
  22366. - ApiKeyAuth: []
  22367. summary: 查询内部成交单信息
  22368. tags:
  22369. - 风险管理
  22370. /Erms2/QuerySpotContract:
  22371. get:
  22372. parameters:
  22373. - description: 策略申请ID
  22374. in: query
  22375. name: asapplyid
  22376. required: true
  22377. type: integer
  22378. - description: 现货合同ID
  22379. in: query
  22380. name: spotcontractid
  22381. type: integer
  22382. produces:
  22383. - application/json
  22384. responses:
  22385. "200":
  22386. description: OK
  22387. schema:
  22388. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22389. "500":
  22390. description: Internal Server Error
  22391. schema:
  22392. $ref: '#/definitions/app.Response'
  22393. security:
  22394. - ApiKeyAuth: []
  22395. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22396. tags:
  22397. - 风险管理
  22398. /Erms3/AddErms2ASApply:
  22399. post:
  22400. parameters:
  22401. - description: 申请参数
  22402. in: body
  22403. name: jsonBody
  22404. required: true
  22405. schema:
  22406. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22407. produces:
  22408. - application/json
  22409. responses:
  22410. "200":
  22411. description: OK
  22412. schema:
  22413. $ref: '#/definitions/app.Response'
  22414. "500":
  22415. description: Internal Server Error
  22416. schema:
  22417. $ref: '#/definitions/app.Response'
  22418. security:
  22419. - ApiKeyAuth: []
  22420. summary: 新增期现套利业务申请
  22421. tags:
  22422. - 风险管理v3
  22423. /Erms3/AddErms2SpotTradeApply:
  22424. post:
  22425. parameters:
  22426. - description: 申请参数
  22427. in: body
  22428. name: jsonBody
  22429. required: true
  22430. schema:
  22431. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22432. produces:
  22433. - application/json
  22434. responses:
  22435. "200":
  22436. description: OK
  22437. schema:
  22438. $ref: '#/definitions/app.Response'
  22439. "500":
  22440. description: Internal Server Error
  22441. schema:
  22442. $ref: '#/definitions/app.Response'
  22443. security:
  22444. - ApiKeyAuth: []
  22445. summary: 新增现货贸易业务申请
  22446. tags:
  22447. - 风险管理v3
  22448. /Erms3/AddSpotContractApply:
  22449. post:
  22450. parameters:
  22451. - description: 申请参数
  22452. in: body
  22453. name: jsonBody
  22454. required: true
  22455. schema:
  22456. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22457. produces:
  22458. - application/json
  22459. responses:
  22460. "200":
  22461. description: OK
  22462. schema:
  22463. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22464. "500":
  22465. description: Internal Server Error
  22466. schema:
  22467. $ref: '#/definitions/app.Response'
  22468. security:
  22469. - ApiKeyAuth: []
  22470. summary: 新增现货合同申请
  22471. tags:
  22472. - 风险管理v3
  22473. /Erms3/AddUserInfoApply:
  22474. post:
  22475. parameters:
  22476. - description: 用户信息
  22477. in: body
  22478. name: jsonBody
  22479. required: true
  22480. schema:
  22481. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22482. produces:
  22483. - application/json
  22484. responses:
  22485. "200":
  22486. description: OK
  22487. schema:
  22488. $ref: '#/definitions/app.Response'
  22489. "500":
  22490. description: Internal Server Error
  22491. schema:
  22492. $ref: '#/definitions/app.Response'
  22493. security:
  22494. - ApiKeyAuth: []
  22495. summary: 新增客户申请
  22496. tags:
  22497. - 风险管理v3
  22498. /Erms3/DeleteUserInfoApply:
  22499. get:
  22500. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22501. parameters:
  22502. - description: 用户ID
  22503. in: query
  22504. name: userID
  22505. required: true
  22506. type: integer
  22507. produces:
  22508. - application/json
  22509. responses:
  22510. "200":
  22511. description: OK
  22512. schema:
  22513. $ref: '#/definitions/app.Response'
  22514. "500":
  22515. description: Internal Server Error
  22516. schema:
  22517. $ref: '#/definitions/app.Response'
  22518. security:
  22519. - ApiKeyAuth: []
  22520. summary: 删除客户申请
  22521. tags:
  22522. - 风险管理v3
  22523. /Erms3/ModifyUserInfoApply:
  22524. post:
  22525. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  22526. int, "userstate": 2 }'
  22527. parameters:
  22528. - description: 用户信息
  22529. in: body
  22530. name: jsonBody
  22531. required: true
  22532. schema:
  22533. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22534. produces:
  22535. - application/json
  22536. responses:
  22537. "200":
  22538. description: OK
  22539. schema:
  22540. $ref: '#/definitions/app.Response'
  22541. "500":
  22542. description: Internal Server Error
  22543. schema:
  22544. $ref: '#/definitions/app.Response'
  22545. security:
  22546. - ApiKeyAuth: []
  22547. summary: 修改客户申请
  22548. tags:
  22549. - 风险管理v3
  22550. /Erms3/QueryBusinessInfo:
  22551. get:
  22552. parameters:
  22553. - description: 资金账号ID列表,用逗号分隔
  22554. in: query
  22555. name: accountids
  22556. required: true
  22557. type: string
  22558. - description: 状态,0为未结束 1为已结束
  22559. in: query
  22560. name: status
  22561. required: true
  22562. type: integer
  22563. produces:
  22564. - application/json
  22565. responses:
  22566. "200":
  22567. description: OK
  22568. schema:
  22569. items:
  22570. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22571. type: array
  22572. "500":
  22573. description: Internal Server Error
  22574. schema:
  22575. $ref: '#/definitions/app.Response'
  22576. security:
  22577. - ApiKeyAuth: []
  22578. summary: 查询业务表单数据
  22579. tags:
  22580. - 风险管理v3
  22581. /Erms3/QueryPendingAuditContract:
  22582. get:
  22583. parameters:
  22584. - description: 资金账号ID列表,逗号隔开
  22585. in: query
  22586. name: accountids
  22587. required: true
  22588. type: string
  22589. - description: 合同类型 1-采购 -1-销售
  22590. in: query
  22591. name: contracttype
  22592. required: true
  22593. type: integer
  22594. - description: 合同模式 1-普通 2-回购
  22595. in: query
  22596. name: contractmode
  22597. required: true
  22598. type: integer
  22599. produces:
  22600. - application/json
  22601. responses:
  22602. "200":
  22603. description: OK
  22604. schema:
  22605. items:
  22606. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22607. type: array
  22608. "500":
  22609. description: Internal Server Error
  22610. schema:
  22611. $ref: '#/definitions/app.Response'
  22612. security:
  22613. - ApiKeyAuth: []
  22614. summary: 查询待审核合同
  22615. tags:
  22616. - 风险管理v3
  22617. /Erms3/QueryPendingBusiness:
  22618. get:
  22619. parameters:
  22620. - description: 资金账号ID列表,逗号隔开
  22621. in: query
  22622. name: accountids
  22623. required: true
  22624. type: string
  22625. produces:
  22626. - application/json
  22627. responses:
  22628. "200":
  22629. description: OK
  22630. schema:
  22631. items:
  22632. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22633. type: array
  22634. "500":
  22635. description: Internal Server Error
  22636. schema:
  22637. $ref: '#/definitions/app.Response'
  22638. security:
  22639. - ApiKeyAuth: []
  22640. summary: 查询待审核基差贸易业务
  22641. tags:
  22642. - 风险管理v3
  22643. /Erms3/QuerySpotContractAppleForm:
  22644. get:
  22645. parameters:
  22646. - description: 登录账号
  22647. in: query
  22648. name: loginID
  22649. required: true
  22650. type: integer
  22651. produces:
  22652. - application/json
  22653. responses:
  22654. "200":
  22655. description: OK
  22656. schema:
  22657. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22658. "500":
  22659. description: Internal Server Error
  22660. schema:
  22661. $ref: '#/definitions/app.Response'
  22662. security:
  22663. - ApiKeyAuth: []
  22664. summary: 查询合同申请表单数据
  22665. tags:
  22666. - 风险管理v3
  22667. /Erms3/QuerySpotContractDetail:
  22668. get:
  22669. parameters:
  22670. - description: 资金账号ID列表,用逗号分隔
  22671. in: query
  22672. name: accountids
  22673. required: true
  22674. type: string
  22675. - description: 合同类型,1为采购合同 -1为销售合同
  22676. in: query
  22677. name: contracttype
  22678. required: true
  22679. type: integer
  22680. - description: 合同模式,1为普通合同 2为回购销售合同
  22681. in: query
  22682. name: contractmode
  22683. required: true
  22684. type: integer
  22685. - description: 状态,0为履约中 1为已完成
  22686. in: query
  22687. name: status
  22688. required: true
  22689. type: integer
  22690. produces:
  22691. - application/json
  22692. responses:
  22693. "200":
  22694. description: OK
  22695. schema:
  22696. items:
  22697. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22698. type: array
  22699. "500":
  22700. description: Internal Server Error
  22701. schema:
  22702. $ref: '#/definitions/app.Response'
  22703. security:
  22704. - ApiKeyAuth: []
  22705. summary: 查询合同详细信息
  22706. tags:
  22707. - 风险管理v3
  22708. /Erms3/QueryUserInfoApplies:
  22709. get:
  22710. parameters:
  22711. - description: 页码
  22712. in: query
  22713. name: page
  22714. type: integer
  22715. - description: 每页条数
  22716. in: query
  22717. name: pagesize
  22718. type: integer
  22719. - description: 客户名称,支持模糊查询
  22720. in: query
  22721. name: userName
  22722. type: string
  22723. produces:
  22724. - application/json
  22725. responses:
  22726. "200":
  22727. description: OK
  22728. schema:
  22729. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22730. "500":
  22731. description: Internal Server Error
  22732. schema:
  22733. $ref: '#/definitions/app.Response'
  22734. security:
  22735. - ApiKeyAuth: []
  22736. summary: 客户申请信息查询
  22737. tags:
  22738. - 风险管理v3
  22739. /Erms3/QueryUserInfos:
  22740. get:
  22741. parameters:
  22742. - description: 页码
  22743. in: query
  22744. name: page
  22745. type: integer
  22746. - description: 每页条数
  22747. in: query
  22748. name: pagesize
  22749. type: integer
  22750. - description: 客户名称,支持模糊查询
  22751. in: query
  22752. name: userName
  22753. type: string
  22754. produces:
  22755. - application/json
  22756. responses:
  22757. "200":
  22758. description: OK
  22759. schema:
  22760. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22761. "500":
  22762. description: Internal Server Error
  22763. schema:
  22764. $ref: '#/definitions/app.Response'
  22765. security:
  22766. - ApiKeyAuth: []
  22767. summary: 客户信息查询
  22768. tags:
  22769. - 风险管理v3
  22770. /HSBY/GetHsbyMyCount:
  22771. get:
  22772. description: 说明: 不包括已完成的数量。
  22773. parameters:
  22774. - description: 资金账户列表,格式:1,2,3
  22775. in: query
  22776. name: accountIDs
  22777. required: true
  22778. type: string
  22779. produces:
  22780. - application/json
  22781. responses:
  22782. "200":
  22783. description: OK
  22784. schema:
  22785. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22786. "500":
  22787. description: Internal Server Error
  22788. schema:
  22789. $ref: '#/definitions/app.Response'
  22790. security:
  22791. - ApiKeyAuth: []
  22792. summary: 获取我的订单与包裹数量
  22793. tags:
  22794. - 定制【海商报业】
  22795. /HSBY/QueryClientFixedADConfigs:
  22796. get:
  22797. produces:
  22798. - application/json
  22799. responses:
  22800. "200":
  22801. description: OK
  22802. schema:
  22803. $ref: '#/definitions/models.Clientfixedadconfig'
  22804. "500":
  22805. description: Internal Server Error
  22806. schema:
  22807. $ref: '#/definitions/app.Response'
  22808. security:
  22809. - ApiKeyAuth: []
  22810. summary: 获取终端固定广告配置
  22811. tags:
  22812. - 定制【海商报业】
  22813. /HSBY/QueryHsbyBuyMyTradeDetail:
  22814. get:
  22815. parameters:
  22816. - description: 页码
  22817. in: query
  22818. name: page
  22819. type: integer
  22820. - description: 每页条数
  22821. in: query
  22822. name: pagesize
  22823. type: integer
  22824. - description: 资金账户列表,格式:1,2,3
  22825. in: query
  22826. name: accountIDs
  22827. required: true
  22828. type: string
  22829. produces:
  22830. - application/json
  22831. responses:
  22832. "200":
  22833. description: OK
  22834. schema:
  22835. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22836. "500":
  22837. description: Internal Server Error
  22838. schema:
  22839. $ref: '#/definitions/app.Response'
  22840. security:
  22841. - ApiKeyAuth: []
  22842. summary: 查询"我的订单 - 已完成"单据信息
  22843. tags:
  22844. - 定制【海商报业】
  22845. /HSBY/QueryHsbyGoodsOrderDetails:
  22846. get:
  22847. description: 说明:查询结果已按委托价格和委托时间排序
  22848. parameters:
  22849. - description: 商品ID
  22850. in: query
  22851. name: goodsID
  22852. required: true
  22853. type: integer
  22854. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22855. in: query
  22856. name: accountIDs
  22857. type: string
  22858. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22859. in: query
  22860. name: buyOrSell
  22861. type: integer
  22862. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22863. in: query
  22864. name: price
  22865. type: number
  22866. - description: 档位,不传则默认为3档
  22867. in: query
  22868. name: speed
  22869. type: integer
  22870. produces:
  22871. - application/json
  22872. responses:
  22873. "200":
  22874. description: OK
  22875. schema:
  22876. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22877. "500":
  22878. description: Internal Server Error
  22879. schema:
  22880. $ref: '#/definitions/app.Response'
  22881. security:
  22882. - ApiKeyAuth: []
  22883. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22884. tags:
  22885. - 定制【海商报业】
  22886. /HSBY/QueryHsbyListingGoodsDetail:
  22887. get:
  22888. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22889. parameters:
  22890. - description: 商品ID
  22891. in: query
  22892. name: goodsID
  22893. required: true
  22894. type: integer
  22895. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22896. in: query
  22897. name: accountID
  22898. type: integer
  22899. produces:
  22900. - application/json
  22901. responses:
  22902. "200":
  22903. description: OK
  22904. schema:
  22905. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22906. "500":
  22907. description: Internal Server Error
  22908. schema:
  22909. $ref: '#/definitions/app.Response'
  22910. security:
  22911. - ApiKeyAuth: []
  22912. summary: 查询二级市场(挂牌点选)商品信息详情
  22913. tags:
  22914. - 定制【海商报业】
  22915. /HSBY/QueryHsbyMarketGoodsDetail:
  22916. get:
  22917. parameters:
  22918. - description: 委托单号
  22919. in: query
  22920. name: orderID
  22921. required: true
  22922. type: integer
  22923. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22924. in: query
  22925. name: accountID
  22926. type: integer
  22927. produces:
  22928. - application/json
  22929. responses:
  22930. "200":
  22931. description: OK
  22932. schema:
  22933. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22934. "500":
  22935. description: Internal Server Error
  22936. schema:
  22937. $ref: '#/definitions/app.Response'
  22938. security:
  22939. - ApiKeyAuth: []
  22940. summary: 查询三级市场(商城)商品信息详情
  22941. tags:
  22942. - 定制【海商报业】
  22943. /HSBY/QueryHsbyMarketGoodses:
  22944. get:
  22945. parameters:
  22946. - description: 页码
  22947. in: query
  22948. name: page
  22949. type: integer
  22950. - description: 每页条数
  22951. in: query
  22952. name: pagesize
  22953. type: integer
  22954. - description: 市场ID列表,格式:1,2,3
  22955. in: query
  22956. name: marketIDs
  22957. required: true
  22958. type: string
  22959. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22960. in: query
  22961. name: accountID
  22962. required: true
  22963. type: integer
  22964. - description: 类别ID
  22965. in: query
  22966. name: categoryID
  22967. type: integer
  22968. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22969. in: query
  22970. name: goodsIDs
  22971. type: string
  22972. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  22973. in: query
  22974. name: couponTypeID
  22975. type: integer
  22976. produces:
  22977. - application/json
  22978. responses:
  22979. "200":
  22980. description: OK
  22981. schema:
  22982. $ref: '#/definitions/models.HsbyMarketGoods'
  22983. "500":
  22984. description: Internal Server Error
  22985. schema:
  22986. $ref: '#/definitions/app.Response'
  22987. security:
  22988. - ApiKeyAuth: []
  22989. summary: 查询特卖商品列表(三级商城)
  22990. tags:
  22991. - 定制【海商报业】
  22992. /HSBY/QueryHsbyMarkets:
  22993. get:
  22994. produces:
  22995. - application/json
  22996. responses:
  22997. "200":
  22998. description: OK
  22999. schema:
  23000. $ref: '#/definitions/models.HsbyMarketInfo'
  23001. "500":
  23002. description: Internal Server Error
  23003. schema:
  23004. $ref: '#/definitions/app.Response'
  23005. security:
  23006. - ApiKeyAuth: []
  23007. summary: 查询海商报业相关市场信息
  23008. tags:
  23009. - 定制【海商报业】
  23010. /HSBY/QueryHsbyMyBuyOrderDetails:
  23011. get:
  23012. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23013. parameters:
  23014. - description: 资金账户列表,格式:1,2,3
  23015. in: query
  23016. name: accountIDs
  23017. required: true
  23018. type: string
  23019. produces:
  23020. - application/json
  23021. responses:
  23022. "200":
  23023. description: OK
  23024. schema:
  23025. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23026. "500":
  23027. description: Internal Server Error
  23028. schema:
  23029. $ref: '#/definitions/app.Response'
  23030. security:
  23031. - ApiKeyAuth: []
  23032. summary: 查询“我的订单”信息
  23033. tags:
  23034. - 定制【海商报业】
  23035. /HSBY/QueryHsbyMyGoods:
  23036. get:
  23037. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23038. parameters:
  23039. - description: 资金账户列表,格式:1,2,3
  23040. in: query
  23041. name: accountIDs
  23042. required: true
  23043. type: string
  23044. produces:
  23045. - application/json
  23046. responses:
  23047. "200":
  23048. description: OK
  23049. schema:
  23050. $ref: '#/definitions/models.HsbyMyGoods'
  23051. "500":
  23052. description: Internal Server Error
  23053. schema:
  23054. $ref: '#/definitions/app.Response'
  23055. security:
  23056. - ApiKeyAuth: []
  23057. summary: 查询“我的商品”信息
  23058. tags:
  23059. - 定制【海商报业】
  23060. /HSBY/QueryHsbyMyPackages:
  23061. get:
  23062. parameters:
  23063. - description: 资金账户列表,格式:1,2,3
  23064. in: query
  23065. name: accountIDs
  23066. required: true
  23067. type: string
  23068. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23069. in: query
  23070. name: takeOrderStatus
  23071. type: integer
  23072. produces:
  23073. - application/json
  23074. responses:
  23075. "200":
  23076. description: OK
  23077. schema:
  23078. $ref: '#/definitions/models.HsbyMyPackage'
  23079. "500":
  23080. description: Internal Server Error
  23081. schema:
  23082. $ref: '#/definitions/app.Response'
  23083. security:
  23084. - ApiKeyAuth: []
  23085. summary: 查询我的包裹信息
  23086. tags:
  23087. - 定制【海商报业】
  23088. /HSBY/QueryHsbyPreGoodsDetail:
  23089. get:
  23090. parameters:
  23091. - description: 商品ID
  23092. in: query
  23093. name: goodsID
  23094. required: true
  23095. type: integer
  23096. - description: 资金账户,主要用于获取预售商品购买上限
  23097. in: query
  23098. name: accountID
  23099. type: integer
  23100. produces:
  23101. - application/json
  23102. responses:
  23103. "200":
  23104. description: OK
  23105. schema:
  23106. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23107. "500":
  23108. description: Internal Server Error
  23109. schema:
  23110. $ref: '#/definitions/app.Response'
  23111. security:
  23112. - ApiKeyAuth: []
  23113. summary: 查询一级市场(预售)商品信息详情
  23114. tags:
  23115. - 定制【海商报业】
  23116. /HSBY/QueryHsbyPreGoodses:
  23117. get:
  23118. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23119. parameters:
  23120. - description: 页码
  23121. in: query
  23122. name: page
  23123. type: integer
  23124. - description: 每页条数
  23125. in: query
  23126. name: pagesize
  23127. type: integer
  23128. - description: 市场ID列表,格式:1,2,3
  23129. in: query
  23130. name: marketIDs
  23131. required: true
  23132. type: string
  23133. - description: 目的地(省)ID
  23134. in: query
  23135. name: descProvinceID
  23136. type: integer
  23137. - description: 目的地(市)ID
  23138. in: query
  23139. name: descCityID
  23140. type: integer
  23141. produces:
  23142. - application/json
  23143. responses:
  23144. "200":
  23145. description: OK
  23146. schema:
  23147. $ref: '#/definitions/models.HsbyPreGoods'
  23148. "500":
  23149. description: Internal Server Error
  23150. schema:
  23151. $ref: '#/definitions/app.Response'
  23152. security:
  23153. - ApiKeyAuth: []
  23154. summary: 查询新品上市商品列表(一级市场预售)
  23155. tags:
  23156. - 定制【海商报业】
  23157. /HSBY/QueryHsbySellMyDetails:
  23158. get:
  23159. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23160. parameters:
  23161. - description: 页码
  23162. in: query
  23163. name: page
  23164. type: integer
  23165. - description: 每页条数
  23166. in: query
  23167. name: pagesize
  23168. type: integer
  23169. - description: 资金账户列表,格式:1,2,3
  23170. in: query
  23171. name: accountIDs
  23172. required: true
  23173. type: string
  23174. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23175. in: query
  23176. name: orderType
  23177. type: integer
  23178. produces:
  23179. - application/json
  23180. responses:
  23181. "200":
  23182. description: OK
  23183. schema:
  23184. $ref: '#/definitions/models.HsbySellMyDetail'
  23185. "500":
  23186. description: Internal Server Error
  23187. schema:
  23188. $ref: '#/definitions/app.Response'
  23189. security:
  23190. - ApiKeyAuth: []
  23191. summary: 查询"我的闲置"单据信息
  23192. tags:
  23193. - 定制【海商报业】
  23194. /HSBY/QueryHsbyTopGoodses:
  23195. get:
  23196. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23197. parameters:
  23198. - description: 页码
  23199. in: query
  23200. name: page
  23201. type: integer
  23202. - description: 每页条数
  23203. in: query
  23204. name: pagesize
  23205. type: integer
  23206. - description: 市场ID列表,格式:1,2,3
  23207. in: query
  23208. name: marketIDs
  23209. required: true
  23210. type: string
  23211. - description: 目的地(省)ID
  23212. in: query
  23213. name: descProvinceID
  23214. type: integer
  23215. - description: 目的地(市)ID
  23216. in: query
  23217. name: descCityID
  23218. type: integer
  23219. produces:
  23220. - application/json
  23221. responses:
  23222. "200":
  23223. description: OK
  23224. schema:
  23225. $ref: '#/definitions/models.HsbyTopGoods'
  23226. "500":
  23227. description: Internal Server Error
  23228. schema:
  23229. $ref: '#/definitions/app.Response'
  23230. security:
  23231. - ApiKeyAuth: []
  23232. summary: 查询热卖商品列表(二级市场挂牌点选)
  23233. tags:
  23234. - 定制【海商报业】
  23235. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23236. get:
  23237. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23238. parameters:
  23239. - description: 商品ID
  23240. in: query
  23241. name: goodsID
  23242. required: true
  23243. type: integer
  23244. produces:
  23245. - application/json
  23246. responses:
  23247. "200":
  23248. description: OK
  23249. schema:
  23250. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23251. "500":
  23252. description: Internal Server Error
  23253. schema:
  23254. $ref: '#/definitions/app.Response'
  23255. security:
  23256. - ApiKeyAuth: []
  23257. summary: 查询游客三级市场(商城)商品信息详情
  23258. tags:
  23259. - 定制【海商报业】
  23260. /HSBY/QueryHsbyVisitorMarketGoodses:
  23261. get:
  23262. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23263. parameters:
  23264. - description: 页码
  23265. in: query
  23266. name: page
  23267. type: integer
  23268. - description: 每页条数
  23269. in: query
  23270. name: pagesize
  23271. type: integer
  23272. - description: 市场ID列表,格式:1,2,3
  23273. in: query
  23274. name: marketIDs
  23275. required: true
  23276. type: string
  23277. - description: 类别ID
  23278. in: query
  23279. name: categoryID
  23280. type: integer
  23281. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23282. in: query
  23283. name: goodsIDs
  23284. type: string
  23285. produces:
  23286. - application/json
  23287. responses:
  23288. "200":
  23289. description: OK
  23290. schema:
  23291. $ref: '#/definitions/models.HsbyMarketGoods'
  23292. "500":
  23293. description: Internal Server Error
  23294. schema:
  23295. $ref: '#/definitions/app.Response'
  23296. security:
  23297. - ApiKeyAuth: []
  23298. summary: 查询游客特卖商品列表(三级商城)
  23299. tags:
  23300. - 定制【海商报业】
  23301. /HSBY/QueryMyCollectionOrders:
  23302. get:
  23303. parameters:
  23304. - description: 页码
  23305. in: query
  23306. name: page
  23307. type: integer
  23308. - description: 每页条数
  23309. in: query
  23310. name: pagesize
  23311. type: integer
  23312. - description: 资金账户,格式:1,2,3
  23313. in: query
  23314. name: accountIDs
  23315. required: true
  23316. type: string
  23317. produces:
  23318. - application/json
  23319. responses:
  23320. "200":
  23321. description: OK
  23322. schema:
  23323. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23324. "500":
  23325. description: Internal Server Error
  23326. schema:
  23327. $ref: '#/definitions/app.Response'
  23328. security:
  23329. - ApiKeyAuth: []
  23330. summary: 我的闲置中收款信息查询
  23331. tags:
  23332. - 定制【海商报业】
  23333. /HSBY/QueryMyCouponHolds:
  23334. get:
  23335. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23336. parameters:
  23337. - description: 资金账户列表,格式:1,2,3
  23338. in: query
  23339. name: accountIDs
  23340. required: true
  23341. type: string
  23342. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23343. in: query
  23344. name: holdStatus
  23345. type: string
  23346. produces:
  23347. - application/json
  23348. responses:
  23349. "200":
  23350. description: OK
  23351. schema:
  23352. $ref: '#/definitions/models.MyCouponHold'
  23353. "500":
  23354. description: Internal Server Error
  23355. schema:
  23356. $ref: '#/definitions/app.Response'
  23357. security:
  23358. - ApiKeyAuth: []
  23359. summary: 我的优惠卷持仓查询
  23360. tags:
  23361. - 定制【海商报业】
  23362. /HSBY/QueryMyCoupons:
  23363. get:
  23364. parameters:
  23365. - description: 资金账户列表,格式:1,2,3
  23366. in: query
  23367. name: accountIDs
  23368. required: true
  23369. type: string
  23370. - description: 商品ID, 一般与sellUserID配套传入
  23371. in: query
  23372. name: goodsID
  23373. type: integer
  23374. - description: 卖方UserID
  23375. in: query
  23376. name: sellUserID
  23377. type: integer
  23378. produces:
  23379. - application/json
  23380. responses:
  23381. "200":
  23382. description: OK
  23383. schema:
  23384. $ref: '#/definitions/models.MyCoupon'
  23385. "500":
  23386. description: Internal Server Error
  23387. schema:
  23388. $ref: '#/definitions/app.Response'
  23389. security:
  23390. - ApiKeyAuth: []
  23391. summary: 我的优惠卷查询
  23392. tags:
  23393. - 定制【海商报业】
  23394. /HSBY/QueryMyPayOrders:
  23395. get:
  23396. parameters:
  23397. - description: 页码
  23398. in: query
  23399. name: page
  23400. type: integer
  23401. - description: 每页条数
  23402. in: query
  23403. name: pagesize
  23404. type: integer
  23405. - description: 资金账户列表,格式:1,2,3
  23406. in: query
  23407. name: accountIDs
  23408. required: true
  23409. type: string
  23410. - description: 买方委托单号
  23411. in: query
  23412. name: buyOrderID
  23413. type: integer
  23414. - description: 卖方委托单号
  23415. in: query
  23416. name: sellOrderID
  23417. type: integer
  23418. produces:
  23419. - application/json
  23420. responses:
  23421. "200":
  23422. description: OK
  23423. schema:
  23424. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23425. "500":
  23426. description: Internal Server Error
  23427. schema:
  23428. $ref: '#/definitions/app.Response'
  23429. security:
  23430. - ApiKeyAuth: []
  23431. summary: 获取我的订单中待付款信息
  23432. tags:
  23433. - 定制【海商报业】
  23434. /HSBY/QueryMyUsedCoupon:
  23435. get:
  23436. parameters:
  23437. - description: 资金账户列表,格式:1,2,3
  23438. in: query
  23439. name: accountIDs
  23440. required: true
  23441. type: string
  23442. produces:
  23443. - application/json
  23444. responses:
  23445. "200":
  23446. description: OK
  23447. schema:
  23448. $ref: '#/definitions/models.MyUsedCoupon'
  23449. "500":
  23450. description: Internal Server Error
  23451. schema:
  23452. $ref: '#/definitions/app.Response'
  23453. security:
  23454. - ApiKeyAuth: []
  23455. summary: 已使用优惠卷查询
  23456. tags:
  23457. - 定制【海商报业】
  23458. /HSBY/QueryProvincesAndCities:
  23459. get:
  23460. description: 查询结果只包括二级市场商品已关连的省市信息。
  23461. parameters:
  23462. - description: 省ID
  23463. in: query
  23464. name: provinceID
  23465. type: integer
  23466. produces:
  23467. - application/json
  23468. responses:
  23469. "200":
  23470. description: OK
  23471. schema:
  23472. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23473. "500":
  23474. description: Internal Server Error
  23475. schema:
  23476. $ref: '#/definitions/app.Response'
  23477. security:
  23478. - ApiKeyAuth: []
  23479. summary: 查询省市信息(不包括区)
  23480. tags:
  23481. - 定制【海商报业】
  23482. /HSBY/SetHsbyMyPackagesStatus:
  23483. post:
  23484. parameters:
  23485. - description: 提货单号
  23486. in: query
  23487. name: takeOrderID
  23488. required: true
  23489. type: string
  23490. - description: 资金账号
  23491. in: query
  23492. name: accountID
  23493. required: true
  23494. type: integer
  23495. produces:
  23496. - application/json
  23497. responses:
  23498. "200":
  23499. description: OK
  23500. schema:
  23501. $ref: '#/definitions/app.Response'
  23502. "500":
  23503. description: Internal Server Error
  23504. schema:
  23505. $ref: '#/definitions/app.Response'
  23506. security:
  23507. - ApiKeyAuth: []
  23508. summary: 设置我的包裹已收货状态
  23509. tags:
  23510. - 定制【海商报业】
  23511. /Market/GetAllExExchanges:
  23512. get:
  23513. produces:
  23514. - application/json
  23515. responses:
  23516. "200":
  23517. description: OK
  23518. schema:
  23519. $ref: '#/definitions/models.Goods'
  23520. "500":
  23521. description: Internal Server Error
  23522. schema:
  23523. $ref: '#/definitions/app.Response'
  23524. security:
  23525. - ApiKeyAuth: []
  23526. summary: 获取所有外部交易所信息
  23527. tags:
  23528. - 通用市场
  23529. /Market/QueryGoodsesByLoginID:
  23530. get:
  23531. parameters:
  23532. - description: 登录账号
  23533. in: query
  23534. name: loginID
  23535. required: true
  23536. type: integer
  23537. - description: 市场ID列表,格式:1,2,3
  23538. in: query
  23539. name: marketIDs
  23540. type: string
  23541. produces:
  23542. - application/json
  23543. responses:
  23544. "200":
  23545. description: OK
  23546. schema:
  23547. $ref: '#/definitions/models.Goods'
  23548. "500":
  23549. description: Internal Server Error
  23550. schema:
  23551. $ref: '#/definitions/app.Response'
  23552. security:
  23553. - ApiKeyAuth: []
  23554. summary: 获取登录账号有权限的商品信息
  23555. tags:
  23556. - 通用市场
  23557. /Market/QueryMarketRun:
  23558. get:
  23559. parameters:
  23560. - description: 市场ID,不传返回所有
  23561. in: query
  23562. name: marketID
  23563. type: integer
  23564. produces:
  23565. - application/json
  23566. responses:
  23567. "200":
  23568. description: OK
  23569. schema:
  23570. $ref: '#/definitions/models.Marketrun'
  23571. "500":
  23572. description: Internal Server Error
  23573. schema:
  23574. $ref: '#/definitions/app.Response'
  23575. security:
  23576. - ApiKeyAuth: []
  23577. summary: 查询市场运行信息
  23578. tags:
  23579. - 通用市场
  23580. /Market/QueryMarketsByLoginID:
  23581. get:
  23582. parameters:
  23583. - description: 登录账号
  23584. in: query
  23585. name: loginID
  23586. required: true
  23587. type: integer
  23588. produces:
  23589. - application/json
  23590. responses:
  23591. "200":
  23592. description: OK
  23593. schema:
  23594. $ref: '#/definitions/models.Market'
  23595. "500":
  23596. description: Internal Server Error
  23597. schema:
  23598. $ref: '#/definitions/app.Response'
  23599. security:
  23600. - ApiKeyAuth: []
  23601. summary: 获取登录账号有权限的市场信息
  23602. tags:
  23603. - 通用市场
  23604. /Order/QueryHisTradeDetail:
  23605. get:
  23606. parameters:
  23607. - description: 资金账户 - 格式:1,2,3
  23608. in: query
  23609. name: accountID
  23610. required: true
  23611. type: string
  23612. - description: 成交单号
  23613. in: query
  23614. name: tradeID
  23615. type: integer
  23616. - description: 委托单号
  23617. in: query
  23618. name: orderID
  23619. type: integer
  23620. - description: 商品ID
  23621. in: query
  23622. name: goodsID
  23623. type: integer
  23624. - description: 交易模式 - 格式:1,2,3
  23625. in: query
  23626. name: tradeMode
  23627. type: string
  23628. - description: 委托单据类型
  23629. in: query
  23630. name: buildType
  23631. type: integer
  23632. - description: 成交类别 - 格式:1,2,3
  23633. in: query
  23634. name: tradeType
  23635. type: string
  23636. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23637. in: query
  23638. name: startDate
  23639. type: string
  23640. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23641. in: query
  23642. name: endDate
  23643. type: string
  23644. produces:
  23645. - application/json
  23646. responses:
  23647. "200":
  23648. description: OK
  23649. schema:
  23650. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23651. "500":
  23652. description: Internal Server Error
  23653. schema:
  23654. $ref: '#/definitions/app.Response'
  23655. security:
  23656. - ApiKeyAuth: []
  23657. summary: 历史成交单查询(合约市场)
  23658. tags:
  23659. - 通用单据
  23660. /Order/QueryHisTradeOrderDetail:
  23661. get:
  23662. parameters:
  23663. - description: 资金账户 - 格式:1,2,3
  23664. in: query
  23665. name: accountID
  23666. required: true
  23667. type: string
  23668. - description: 交易模式 - 格式:1,2,3
  23669. in: query
  23670. name: tradeMode
  23671. type: string
  23672. - description: 委托状态 - 格式:1,2,3
  23673. in: query
  23674. name: orderStatus
  23675. type: string
  23676. - description: 委托单号
  23677. in: query
  23678. name: orderID
  23679. type: integer
  23680. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23681. in: query
  23682. name: startDate
  23683. type: string
  23684. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23685. in: query
  23686. name: endDate
  23687. type: string
  23688. produces:
  23689. - application/json
  23690. responses:
  23691. "200":
  23692. description: OK
  23693. schema:
  23694. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23695. "500":
  23696. description: Internal Server Error
  23697. schema:
  23698. $ref: '#/definitions/app.Response'
  23699. security:
  23700. - ApiKeyAuth: []
  23701. summary: 历史委托单查询请求(合约市场)
  23702. tags:
  23703. - 通用单据
  23704. /Order/QueryTradeDetail:
  23705. get:
  23706. parameters:
  23707. - description: 资金账户 - 格式:1,2,3
  23708. in: query
  23709. name: accountID
  23710. required: true
  23711. type: string
  23712. - description: 成交单号
  23713. in: query
  23714. name: tradeID
  23715. type: integer
  23716. - description: 委托单号
  23717. in: query
  23718. name: orderID
  23719. type: integer
  23720. - description: 交易模式 - 格式:1,2,3
  23721. in: query
  23722. name: tradeMode
  23723. type: string
  23724. - description: 委托单据类型
  23725. in: query
  23726. name: buildType
  23727. type: integer
  23728. - description: 成交类别 - 格式:1,2,3
  23729. in: query
  23730. name: tradeType
  23731. type: string
  23732. - description: 商品ID
  23733. in: query
  23734. name: goodsID
  23735. type: integer
  23736. produces:
  23737. - application/json
  23738. responses:
  23739. "200":
  23740. description: OK
  23741. schema:
  23742. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23743. "500":
  23744. description: Internal Server Error
  23745. schema:
  23746. $ref: '#/definitions/app.Response'
  23747. security:
  23748. - ApiKeyAuth: []
  23749. summary: 成交单查询(合约市场)
  23750. tags:
  23751. - 通用单据
  23752. /Order/QueryTradeHolderDetail:
  23753. get:
  23754. parameters:
  23755. - description: 用户id
  23756. in: query
  23757. name: userid
  23758. type: integer
  23759. - description: 资金账号, 格式 1,2,3
  23760. in: query
  23761. name: accids
  23762. type: string
  23763. - description: 交易模式, 格式 1,2,3
  23764. in: query
  23765. name: trademodes
  23766. type: string
  23767. - description: 市场id, 格式 1,2,3
  23768. in: query
  23769. name: marketids
  23770. type: string
  23771. - description: 商品id
  23772. in: query
  23773. name: goodsid
  23774. type: integer
  23775. - description: 买卖方向 0-买 1-卖
  23776. in: query
  23777. name: buyorsell
  23778. type: integer
  23779. produces:
  23780. - application/json
  23781. responses:
  23782. "200":
  23783. description: OK
  23784. schema:
  23785. items:
  23786. $ref: '#/definitions/models.TradeHolderDetail'
  23787. type: array
  23788. "500":
  23789. description: Internal Server Error
  23790. schema:
  23791. $ref: '#/definitions/app.Response'
  23792. security:
  23793. - ApiKeyAuth: []
  23794. summary: 查询持仓明细
  23795. tags:
  23796. - 通用单据
  23797. /Order/QueryTradeOrderDetail:
  23798. get:
  23799. parameters:
  23800. - description: 资金账户 - 格式:1,2,3
  23801. in: query
  23802. name: accountID
  23803. required: true
  23804. type: string
  23805. - description: 交易模式 - 格式:1,2,3
  23806. in: query
  23807. name: tradeMode
  23808. type: string
  23809. - description: 委托状态 - 格式:1,2,3
  23810. in: query
  23811. name: orderStatus
  23812. type: string
  23813. - description: 委托单号
  23814. in: query
  23815. name: orderID
  23816. type: integer
  23817. produces:
  23818. - application/json
  23819. responses:
  23820. "200":
  23821. description: OK
  23822. schema:
  23823. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23824. "500":
  23825. description: Internal Server Error
  23826. schema:
  23827. $ref: '#/definitions/app.Response'
  23828. security:
  23829. - ApiKeyAuth: []
  23830. summary: 委托单查询请求(合约市场)
  23831. tags:
  23832. - 通用单据
  23833. /Order/QueryTradePosition:
  23834. get:
  23835. parameters:
  23836. - description: 资金账户 - 格式:1,2,3
  23837. in: query
  23838. name: accountID
  23839. required: true
  23840. type: string
  23841. - description: 交易模式 - 格式:1,2,3
  23842. in: query
  23843. name: tradeMode
  23844. type: string
  23845. produces:
  23846. - application/json
  23847. responses:
  23848. "200":
  23849. description: OK
  23850. schema:
  23851. $ref: '#/definitions/order.QueryTradePositionRsp'
  23852. "500":
  23853. description: Internal Server Error
  23854. schema:
  23855. $ref: '#/definitions/app.Response'
  23856. security:
  23857. - ApiKeyAuth: []
  23858. summary: 持仓汇总查询(合约市场)
  23859. tags:
  23860. - 通用单据
  23861. /Qhj/QueryAccountInOutApply:
  23862. get:
  23863. parameters:
  23864. - description: 用户ID
  23865. in: query
  23866. name: userid
  23867. required: true
  23868. type: integer
  23869. - description: 申请起始日期(格式yyyymmdd)
  23870. in: query
  23871. name: begindate
  23872. type: string
  23873. - description: 申请截止日期(格式yyyymmdd)
  23874. in: query
  23875. name: enddate
  23876. type: string
  23877. - description: 模糊搜索名称
  23878. in: query
  23879. name: likename
  23880. type: string
  23881. produces:
  23882. - application/json
  23883. responses:
  23884. "200":
  23885. description: OK
  23886. schema:
  23887. items:
  23888. $ref: '#/definitions/models.QhjAccountOutInApply'
  23889. type: array
  23890. "500":
  23891. description: Internal Server Error
  23892. schema:
  23893. $ref: '#/definitions/app.Response'
  23894. security:
  23895. - ApiKeyAuth: []
  23896. summary: 查询充值提现
  23897. tags:
  23898. - 大连千海金
  23899. /Qhj/QueryAreaFinanceConfig:
  23900. get:
  23901. parameters:
  23902. - description: 机构用户ID 其他做市关系,都设置为 1
  23903. in: query
  23904. name: userid
  23905. type: integer
  23906. produces:
  23907. - application/json
  23908. responses:
  23909. "200":
  23910. description: OK
  23911. schema:
  23912. items:
  23913. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23914. type: array
  23915. "500":
  23916. description: Internal Server Error
  23917. schema:
  23918. $ref: '#/definitions/app.Response'
  23919. security:
  23920. - ApiKeyAuth: []
  23921. summary: 查询企业配置表
  23922. tags:
  23923. - 大连千海金
  23924. /Qhj/QueryBankAccountSign:
  23925. get:
  23926. parameters:
  23927. - description: 用户ID
  23928. in: query
  23929. name: userid
  23930. required: true
  23931. type: integer
  23932. produces:
  23933. - application/json
  23934. responses:
  23935. "200":
  23936. description: OK
  23937. schema:
  23938. items:
  23939. $ref: '#/definitions/models.QhjBankAccountSign'
  23940. type: array
  23941. "500":
  23942. description: Internal Server Error
  23943. schema:
  23944. $ref: '#/definitions/app.Response'
  23945. security:
  23946. - ApiKeyAuth: []
  23947. summary: 查询签约银行信息(提现账户管理)
  23948. tags:
  23949. - 大连千海金
  23950. /Qhj/QueryBankInfo:
  23951. get:
  23952. produces:
  23953. - application/json
  23954. responses:
  23955. "200":
  23956. description: OK
  23957. schema:
  23958. items:
  23959. $ref: '#/definitions/models.QhjBankInfo'
  23960. type: array
  23961. "500":
  23962. description: Internal Server Error
  23963. schema:
  23964. $ref: '#/definitions/app.Response'
  23965. security:
  23966. - ApiKeyAuth: []
  23967. summary: 查询开户行
  23968. tags:
  23969. - 大连千海金
  23970. /Qhj/QueryBrokerApply:
  23971. get:
  23972. parameters:
  23973. - description: 所属机构ID
  23974. in: query
  23975. name: userid
  23976. type: integer
  23977. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23978. in: query
  23979. name: filterstatus
  23980. type: string
  23981. produces:
  23982. - application/json
  23983. responses:
  23984. "200":
  23985. description: OK
  23986. schema:
  23987. items:
  23988. $ref: '#/definitions/models.QhjBrokerApply'
  23989. type: array
  23990. "500":
  23991. description: Internal Server Error
  23992. schema:
  23993. $ref: '#/definitions/app.Response'
  23994. security:
  23995. - ApiKeyAuth: []
  23996. summary: 查询经纪人申请
  23997. tags:
  23998. - 大连千海金
  23999. /Qhj/QueryBrokerApplyEx:
  24000. get:
  24001. parameters:
  24002. - description: 所属机构ID
  24003. in: query
  24004. name: userid
  24005. type: integer
  24006. produces:
  24007. - application/json
  24008. responses:
  24009. "200":
  24010. description: OK
  24011. schema:
  24012. items:
  24013. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24014. type: array
  24015. "500":
  24016. description: Internal Server Error
  24017. schema:
  24018. $ref: '#/definitions/app.Response'
  24019. security:
  24020. - ApiKeyAuth: []
  24021. summary: 查询经纪人信息和申请记录
  24022. tags:
  24023. - 大连千海金
  24024. /Qhj/QueryBrokerRewardLog:
  24025. get:
  24026. parameters:
  24027. - description: 用户ID
  24028. in: query
  24029. name: userid
  24030. required: true
  24031. type: integer
  24032. - description: 开始交易日(yyyymmdd)
  24033. in: query
  24034. name: begindate
  24035. type: string
  24036. - description: 结束交易日(yyyymmdd)
  24037. in: query
  24038. name: enddate
  24039. type: string
  24040. produces:
  24041. - application/json
  24042. responses:
  24043. "200":
  24044. description: OK
  24045. schema:
  24046. items:
  24047. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24048. type: array
  24049. "500":
  24050. description: Internal Server Error
  24051. schema:
  24052. $ref: '#/definitions/app.Response'
  24053. security:
  24054. - ApiKeyAuth: []
  24055. summary: 查询奖励流水(我的奖励)
  24056. tags:
  24057. - 大连千海金
  24058. /Qhj/QueryContract:
  24059. get:
  24060. parameters:
  24061. - description: 用户ID
  24062. in: query
  24063. name: userid
  24064. type: integer
  24065. - description: scf合同id
  24066. in: query
  24067. name: scfcontractid
  24068. type: integer
  24069. produces:
  24070. - application/json
  24071. responses:
  24072. "200":
  24073. description: OK
  24074. schema:
  24075. items:
  24076. $ref: '#/definitions/models.QhjContract'
  24077. type: array
  24078. "500":
  24079. description: Internal Server Error
  24080. schema:
  24081. $ref: '#/definitions/app.Response'
  24082. security:
  24083. - ApiKeyAuth: []
  24084. summary: 查询融资明细(合同)
  24085. tags:
  24086. - 大连千海金
  24087. /Qhj/QueryContractLog:
  24088. get:
  24089. parameters:
  24090. - description: scf合同id
  24091. in: query
  24092. name: scfcontractid
  24093. required: true
  24094. type: integer
  24095. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24096. in: query
  24097. name: amounttype
  24098. type: string
  24099. produces:
  24100. - application/json
  24101. responses:
  24102. "200":
  24103. description: OK
  24104. schema:
  24105. items:
  24106. $ref: '#/definitions/models.QhjContractLog'
  24107. type: array
  24108. "500":
  24109. description: Internal Server Error
  24110. schema:
  24111. $ref: '#/definitions/app.Response'
  24112. security:
  24113. - ApiKeyAuth: []
  24114. summary: 查询融资明细流水(融资明细详情页中的流水)
  24115. tags:
  24116. - 大连千海金
  24117. /Qhj/QueryCusBankSignBank:
  24118. get:
  24119. produces:
  24120. - application/json
  24121. responses:
  24122. "200":
  24123. description: OK
  24124. schema:
  24125. items:
  24126. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24127. type: array
  24128. "500":
  24129. description: Internal Server Error
  24130. schema:
  24131. $ref: '#/definitions/app.Response'
  24132. security:
  24133. - ApiKeyAuth: []
  24134. summary: 查询托管银行
  24135. tags:
  24136. - 大连千海金
  24137. /Qhj/QueryCustomerInfo:
  24138. get:
  24139. parameters:
  24140. - description: 用户ID
  24141. in: query
  24142. name: userid
  24143. required: true
  24144. type: integer
  24145. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24146. in: query
  24147. name: querytype
  24148. required: true
  24149. type: integer
  24150. - description: 客户类型 1-个人 2-企业
  24151. in: query
  24152. name: userinfotype
  24153. type: integer
  24154. - description: 客户名称(模糊匹配)
  24155. in: query
  24156. name: customername
  24157. type: string
  24158. - description: 昵称(模糊匹配)
  24159. in: query
  24160. name: nickname
  24161. type: string
  24162. - description: 是否包含子级 1-包含
  24163. in: query
  24164. name: includesub
  24165. type: integer
  24166. produces:
  24167. - application/json
  24168. responses:
  24169. "200":
  24170. description: OK
  24171. schema:
  24172. items:
  24173. $ref: '#/definitions/models.QhjCustomer'
  24174. type: array
  24175. "500":
  24176. description: Internal Server Error
  24177. schema:
  24178. $ref: '#/definitions/app.Response'
  24179. security:
  24180. - ApiKeyAuth: []
  24181. summary: 查询客户资料
  24182. tags:
  24183. - 大连千海金
  24184. /Qhj/QueryGoodsEx:
  24185. get:
  24186. parameters:
  24187. - description: 商品id
  24188. in: query
  24189. name: goodsid
  24190. type: integer
  24191. produces:
  24192. - application/json
  24193. responses:
  24194. "200":
  24195. description: OK
  24196. schema:
  24197. items:
  24198. $ref: '#/definitions/models.Qhjgoodsex'
  24199. type: array
  24200. "500":
  24201. description: Internal Server Error
  24202. schema:
  24203. $ref: '#/definitions/app.Response'
  24204. security:
  24205. - ApiKeyAuth: []
  24206. summary: 交易商品扩展表
  24207. tags:
  24208. - 大连千海金
  24209. /Qhj/QueryMyTeam:
  24210. get:
  24211. parameters:
  24212. - description: 用户ID
  24213. in: query
  24214. name: userid
  24215. required: true
  24216. type: integer
  24217. produces:
  24218. - application/json
  24219. responses:
  24220. "200":
  24221. description: OK
  24222. schema:
  24223. items:
  24224. $ref: '#/definitions/models.QhjMyTeamEx'
  24225. type: array
  24226. "500":
  24227. description: Internal Server Error
  24228. schema:
  24229. $ref: '#/definitions/app.Response'
  24230. security:
  24231. - ApiKeyAuth: []
  24232. summary: 查询我的团队
  24233. tags:
  24234. - 大连千海金
  24235. /Qhj/QueryMyTeamOrder:
  24236. get:
  24237. parameters:
  24238. - description: 页码
  24239. in: query
  24240. name: page
  24241. type: integer
  24242. - description: 每页条数
  24243. in: query
  24244. name: pagesize
  24245. type: integer
  24246. - description: 用户ID
  24247. in: query
  24248. name: userid
  24249. required: true
  24250. type: integer
  24251. - description: 交易模式
  24252. in: query
  24253. name: trademode
  24254. type: integer
  24255. - description: 名称(模糊搜索账户)
  24256. in: query
  24257. name: filtername
  24258. type: string
  24259. produces:
  24260. - application/json
  24261. responses:
  24262. "200":
  24263. description: OK
  24264. schema:
  24265. items:
  24266. $ref: '#/definitions/models.QhjTeamOrder'
  24267. type: array
  24268. "500":
  24269. description: Internal Server Error
  24270. schema:
  24271. $ref: '#/definitions/app.Response'
  24272. security:
  24273. - ApiKeyAuth: []
  24274. summary: 查询团队订单(我的团队/团队订单)
  24275. tags:
  24276. - 大连千海金
  24277. /Qhj/QueryParentAreaList:
  24278. get:
  24279. parameters:
  24280. - description: 用户ID
  24281. in: query
  24282. name: userid
  24283. required: true
  24284. type: integer
  24285. produces:
  24286. - application/json
  24287. responses:
  24288. "200":
  24289. description: OK
  24290. schema:
  24291. items:
  24292. $ref: '#/definitions/models.QhjParentAreaList'
  24293. type: array
  24294. "500":
  24295. description: Internal Server Error
  24296. schema:
  24297. $ref: '#/definitions/app.Response'
  24298. security:
  24299. - ApiKeyAuth: []
  24300. summary: 查询所属机构列表
  24301. tags:
  24302. - 大连千海金
  24303. /Qhj/QueryPayOrder:
  24304. get:
  24305. parameters:
  24306. - description: 资金账号id
  24307. in: query
  24308. name: accountid
  24309. required: true
  24310. type: integer
  24311. - description: 成交单号
  24312. in: query
  24313. name: tradeid
  24314. type: integer
  24315. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24316. in: query
  24317. name: payflag
  24318. type: string
  24319. produces:
  24320. - application/json
  24321. responses:
  24322. "200":
  24323. description: OK
  24324. schema:
  24325. items:
  24326. $ref: '#/definitions/models.QhjPayOrder'
  24327. type: array
  24328. "500":
  24329. description: Internal Server Error
  24330. schema:
  24331. $ref: '#/definitions/app.Response'
  24332. security:
  24333. - ApiKeyAuth: []
  24334. summary: 查询待付款单据
  24335. tags:
  24336. - 大连千海金
  24337. /Qhj/QueryPickArea:
  24338. get:
  24339. parameters:
  24340. - description: 用户ID
  24341. in: query
  24342. name: userid
  24343. type: integer
  24344. produces:
  24345. - application/json
  24346. responses:
  24347. "200":
  24348. description: OK
  24349. schema:
  24350. items:
  24351. $ref: '#/definitions/models.QhjPickArea'
  24352. type: array
  24353. "500":
  24354. description: Internal Server Error
  24355. schema:
  24356. $ref: '#/definitions/app.Response'
  24357. security:
  24358. - ApiKeyAuth: []
  24359. summary: 查询提货门店
  24360. tags:
  24361. - 大连千海金
  24362. /Qhj/QueryPickGoods:
  24363. get:
  24364. parameters:
  24365. - description: 交易商品id
  24366. in: query
  24367. name: goodsid
  24368. required: true
  24369. type: integer
  24370. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24371. in: query
  24372. name: status
  24373. type: string
  24374. produces:
  24375. - application/json
  24376. responses:
  24377. "200":
  24378. description: OK
  24379. schema:
  24380. items:
  24381. $ref: '#/definitions/models.QhjPickGoods'
  24382. type: array
  24383. "500":
  24384. description: Internal Server Error
  24385. schema:
  24386. $ref: '#/definitions/app.Response'
  24387. security:
  24388. - ApiKeyAuth: []
  24389. summary: 查询提货商品
  24390. tags:
  24391. - 大连千海金
  24392. /Qhj/QueryRSTriggerLog:
  24393. get:
  24394. parameters:
  24395. - description: 用户ID
  24396. in: query
  24397. name: userid
  24398. type: integer
  24399. - description: 定投策略id
  24400. in: query
  24401. name: regularlystrategyid
  24402. type: integer
  24403. - description: 商品id
  24404. in: query
  24405. name: goodsid
  24406. type: integer
  24407. - description: 开始交易日(yyyymmdd)
  24408. in: query
  24409. name: begindate
  24410. type: string
  24411. - description: 结束交易日(yyyymmdd)
  24412. in: query
  24413. name: enddate
  24414. type: string
  24415. - description: 名称(模糊搜索账户)
  24416. in: query
  24417. name: filtername
  24418. type: string
  24419. produces:
  24420. - application/json
  24421. responses:
  24422. "200":
  24423. description: OK
  24424. schema:
  24425. items:
  24426. $ref: '#/definitions/models.QhjRSTriggerLog'
  24427. type: array
  24428. "500":
  24429. description: Internal Server Error
  24430. schema:
  24431. $ref: '#/definitions/app.Response'
  24432. security:
  24433. - ApiKeyAuth: []
  24434. summary: 查询定投记录(定投管理/详情/定投记录)
  24435. tags:
  24436. - 大连千海金
  24437. /Qhj/QueryRStrategy:
  24438. get:
  24439. parameters:
  24440. - description: 用户ID
  24441. in: query
  24442. name: userid
  24443. type: integer
  24444. - description: 商品id
  24445. in: query
  24446. name: goodsid
  24447. type: integer
  24448. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24449. in: query
  24450. name: status
  24451. type: string
  24452. - description: 名称(模糊搜索账户)
  24453. in: query
  24454. name: filtername
  24455. type: string
  24456. produces:
  24457. - application/json
  24458. responses:
  24459. "200":
  24460. description: OK
  24461. schema:
  24462. items:
  24463. $ref: '#/definitions/models.QhjRStrategy'
  24464. type: array
  24465. "500":
  24466. description: Internal Server Error
  24467. schema:
  24468. $ref: '#/definitions/app.Response'
  24469. security:
  24470. - ApiKeyAuth: []
  24471. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24472. tags:
  24473. - 大连千海金
  24474. /Qhj/QueryReckonPriceLog:
  24475. get:
  24476. parameters:
  24477. - description: 商品ID
  24478. in: query
  24479. name: goodsid
  24480. type: integer
  24481. - description: 交易日 格式(yyyymmdd)
  24482. in: query
  24483. name: tradedate
  24484. type: string
  24485. produces:
  24486. - application/json
  24487. responses:
  24488. "200":
  24489. description: OK
  24490. schema:
  24491. items:
  24492. $ref: '#/definitions/models.QhjReckonPriceLog'
  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. - 大连千海金
  24503. /Qhj/QueryScoreLog:
  24504. get:
  24505. parameters:
  24506. - description: 用户ID
  24507. in: query
  24508. name: userid
  24509. required: true
  24510. type: integer
  24511. - description: 开始交易日(yyyymmdd)
  24512. in: query
  24513. name: begindate
  24514. type: string
  24515. - description: 结束交易日(yyyymmdd)
  24516. in: query
  24517. name: enddate
  24518. type: string
  24519. - description: 最近多少条
  24520. in: query
  24521. name: lastnum
  24522. type: integer
  24523. produces:
  24524. - application/json
  24525. responses:
  24526. "200":
  24527. description: OK
  24528. schema:
  24529. items:
  24530. $ref: '#/definitions/models.QhjScoreLog'
  24531. type: array
  24532. "500":
  24533. description: Internal Server Error
  24534. schema:
  24535. $ref: '#/definitions/app.Response'
  24536. security:
  24537. - ApiKeyAuth: []
  24538. summary: 查询积分流水(我的积分)
  24539. tags:
  24540. - 大连千海金
  24541. /Qhj/QuerySiteColumnDetail:
  24542. get:
  24543. parameters:
  24544. - description: 用户ID
  24545. in: query
  24546. name: userid
  24547. required: true
  24548. type: integer
  24549. produces:
  24550. - application/json
  24551. responses:
  24552. "200":
  24553. description: OK
  24554. schema:
  24555. items:
  24556. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24557. type: array
  24558. "500":
  24559. description: Internal Server Error
  24560. schema:
  24561. $ref: '#/definitions/app.Response'
  24562. security:
  24563. - ApiKeyAuth: []
  24564. summary: 查询资讯
  24565. tags:
  24566. - 大连千海金
  24567. /Qhj/QueryTradeGoodsPickup:
  24568. get:
  24569. parameters:
  24570. - description: 用户ID
  24571. in: query
  24572. name: userid
  24573. required: true
  24574. type: integer
  24575. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  24576. 7:已拒绝 8:已撤销
  24577. in: query
  24578. name: takeorderstatus
  24579. type: integer
  24580. produces:
  24581. - application/json
  24582. responses:
  24583. "200":
  24584. description: OK
  24585. schema:
  24586. items:
  24587. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24588. type: array
  24589. "500":
  24590. description: Internal Server Error
  24591. schema:
  24592. $ref: '#/definitions/app.Response'
  24593. security:
  24594. - ApiKeyAuth: []
  24595. summary: 查询提货
  24596. tags:
  24597. - 大连千海金
  24598. /Qhj/QueryUserCollectConfig:
  24599. get:
  24600. parameters:
  24601. - description: 用户ID
  24602. in: query
  24603. name: userid
  24604. required: true
  24605. type: integer
  24606. produces:
  24607. - application/json
  24608. responses:
  24609. "200":
  24610. description: OK
  24611. schema:
  24612. items:
  24613. $ref: '#/definitions/models.UserCollectConfig'
  24614. type: array
  24615. "500":
  24616. description: Internal Server Error
  24617. schema:
  24618. $ref: '#/definitions/app.Response'
  24619. security:
  24620. - ApiKeyAuth: []
  24621. summary: 查询提现账户设置
  24622. tags:
  24623. - 大连千海金
  24624. /Qhj/QueryUserReceiveInfo:
  24625. get:
  24626. parameters:
  24627. - description: 用户ID
  24628. in: query
  24629. name: userid
  24630. required: true
  24631. type: integer
  24632. produces:
  24633. - application/json
  24634. responses:
  24635. "200":
  24636. description: OK
  24637. schema:
  24638. items:
  24639. $ref: '#/definitions/models.UserReceiveInfo'
  24640. type: array
  24641. "500":
  24642. description: Internal Server Error
  24643. schema:
  24644. $ref: '#/definitions/app.Response'
  24645. security:
  24646. - ApiKeyAuth: []
  24647. summary: 查询收货地址信息
  24648. tags:
  24649. - 大连千海金
  24650. /QhjMgr/QueryAccountInOutApply:
  24651. get:
  24652. parameters:
  24653. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24654. in: query
  24655. name: querytype
  24656. required: true
  24657. type: integer
  24658. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24659. in: query
  24660. name: applystatus
  24661. type: integer
  24662. - description: 申请起始日期(格式yyyymmdd)
  24663. in: query
  24664. name: begindate
  24665. type: string
  24666. - description: 申请截止日期(格式yyyymmdd)
  24667. in: query
  24668. name: enddate
  24669. type: string
  24670. - description: 模糊搜索名称
  24671. in: query
  24672. name: likename
  24673. type: string
  24674. produces:
  24675. - application/json
  24676. responses:
  24677. "200":
  24678. description: OK
  24679. schema:
  24680. items:
  24681. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24682. type: array
  24683. "500":
  24684. description: Internal Server Error
  24685. schema:
  24686. $ref: '#/definitions/app.Response'
  24687. security:
  24688. - ApiKeyAuth: []
  24689. summary: 查询充值提现
  24690. tags:
  24691. - 大连千海金(PCWeb)
  24692. /QhjMgr/QueryBrokerApply:
  24693. get:
  24694. parameters:
  24695. - description: 所属机构ID
  24696. in: query
  24697. name: userid
  24698. type: integer
  24699. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24700. in: query
  24701. name: filterstatus
  24702. type: string
  24703. - description: 名称(模糊匹配)
  24704. in: query
  24705. name: filtername
  24706. type: string
  24707. - description: 是否包含子级 1-包含
  24708. in: query
  24709. name: includesub
  24710. type: integer
  24711. produces:
  24712. - application/json
  24713. responses:
  24714. "200":
  24715. description: OK
  24716. schema:
  24717. items:
  24718. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24719. type: array
  24720. "500":
  24721. description: Internal Server Error
  24722. schema:
  24723. $ref: '#/definitions/app.Response'
  24724. security:
  24725. - ApiKeyAuth: []
  24726. summary: 查询经纪人申请
  24727. tags:
  24728. - 大连千海金(PCWeb)
  24729. /QhjMgr/QueryBrokerRewardReport:
  24730. get:
  24731. parameters:
  24732. - description: 所属机构ID
  24733. in: query
  24734. name: userid
  24735. required: true
  24736. type: integer
  24737. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24738. in: query
  24739. name: cycletype
  24740. required: true
  24741. type: integer
  24742. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24743. in: query
  24744. name: cycletime
  24745. required: true
  24746. type: string
  24747. - description: 名称(模糊匹配)
  24748. in: query
  24749. name: filtername
  24750. type: string
  24751. - description: 是否包含子级 1-包含
  24752. in: query
  24753. name: includesub
  24754. type: integer
  24755. produces:
  24756. - application/json
  24757. responses:
  24758. "200":
  24759. description: OK
  24760. schema:
  24761. items:
  24762. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24763. type: array
  24764. "500":
  24765. description: Internal Server Error
  24766. schema:
  24767. $ref: '#/definitions/app.Response'
  24768. security:
  24769. - ApiKeyAuth: []
  24770. summary: 查询经纪人奖励报表(废弃)
  24771. tags:
  24772. - 大连千海金(PCWeb)
  24773. /QhjMgr/QueryContract:
  24774. get:
  24775. parameters:
  24776. - description: 用户ID
  24777. in: query
  24778. name: userid
  24779. type: integer
  24780. - description: 商品id
  24781. in: query
  24782. name: goodsid
  24783. type: integer
  24784. - description: 名称(模糊搜索账户)
  24785. in: query
  24786. name: filtername
  24787. type: string
  24788. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24789. in: query
  24790. name: risklevel
  24791. type: string
  24792. - description: 开始交易日(yyyymmdd)
  24793. in: query
  24794. name: begindate
  24795. type: string
  24796. - description: 结束交易日(yyyymmdd)
  24797. in: query
  24798. name: enddate
  24799. type: string
  24800. produces:
  24801. - application/json
  24802. responses:
  24803. "200":
  24804. description: OK
  24805. schema:
  24806. items:
  24807. $ref: '#/definitions/models.QhjMgrContract'
  24808. type: array
  24809. "500":
  24810. description: Internal Server Error
  24811. schema:
  24812. $ref: '#/definitions/app.Response'
  24813. security:
  24814. - ApiKeyAuth: []
  24815. summary: 查询融资信息(合同)
  24816. tags:
  24817. - 大连千海金(PCWeb)
  24818. /QhjMgr/QueryCustomerInfo:
  24819. get:
  24820. parameters:
  24821. - description: 用户ID
  24822. in: query
  24823. name: userid
  24824. required: true
  24825. type: integer
  24826. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24827. in: query
  24828. name: querytype
  24829. required: true
  24830. type: integer
  24831. - description: 客户类型 1-个人 2-企业
  24832. in: query
  24833. name: userinfotype
  24834. type: integer
  24835. - description: 客户名称(模糊匹配)
  24836. in: query
  24837. name: customername
  24838. type: string
  24839. - description: 昵称(模糊匹配)
  24840. in: query
  24841. name: nickname
  24842. type: string
  24843. - description: 所属客户经理(模糊匹配)
  24844. in: query
  24845. name: brokername
  24846. type: string
  24847. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  24848. 如0503 -5月3日)
  24849. in: query
  24850. name: birthday
  24851. type: string
  24852. - description: 是否包含子级 1-包含
  24853. in: query
  24854. name: includesub
  24855. type: integer
  24856. produces:
  24857. - application/json
  24858. responses:
  24859. "200":
  24860. description: OK
  24861. schema:
  24862. items:
  24863. $ref: '#/definitions/models.QhjMgrCustomer'
  24864. type: array
  24865. "500":
  24866. description: Internal Server Error
  24867. schema:
  24868. $ref: '#/definitions/app.Response'
  24869. security:
  24870. - ApiKeyAuth: []
  24871. summary: 查询客户资料
  24872. tags:
  24873. - 大连千海金(PCWeb)
  24874. /QhjMgr/QueryPickGoods:
  24875. get:
  24876. parameters:
  24877. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24878. in: query
  24879. name: status
  24880. type: string
  24881. produces:
  24882. - application/json
  24883. responses:
  24884. "200":
  24885. description: OK
  24886. schema:
  24887. items:
  24888. $ref: '#/definitions/models.QhjMgrPickGoods'
  24889. type: array
  24890. "500":
  24891. description: Internal Server Error
  24892. schema:
  24893. $ref: '#/definitions/app.Response'
  24894. security:
  24895. - ApiKeyAuth: []
  24896. summary: 查询提货商品
  24897. tags:
  24898. - 大连千海金(PCWeb)
  24899. /QhjMgr/QuerySubArea:
  24900. get:
  24901. parameters:
  24902. - description: 用户ID
  24903. in: query
  24904. name: userid
  24905. required: true
  24906. type: integer
  24907. produces:
  24908. - application/json
  24909. responses:
  24910. "200":
  24911. description: OK
  24912. schema:
  24913. items:
  24914. $ref: '#/definitions/models.QhjMgrSubArea'
  24915. type: array
  24916. "500":
  24917. description: Internal Server Error
  24918. schema:
  24919. $ref: '#/definitions/app.Response'
  24920. security:
  24921. - ApiKeyAuth: []
  24922. summary: 查询子机构列表
  24923. tags:
  24924. - 大连千海金(PCWeb)
  24925. /QhjMgr/QueryTradeDetail:
  24926. get:
  24927. parameters:
  24928. - description: 用户ID
  24929. in: query
  24930. name: userid
  24931. required: true
  24932. type: integer
  24933. - description: 用户类型 1-个人 2-企业
  24934. in: query
  24935. name: userinfotype
  24936. type: integer
  24937. - description: 交易模式
  24938. in: query
  24939. name: trademode
  24940. type: integer
  24941. - description: 商品id
  24942. in: query
  24943. name: goodsid
  24944. type: integer
  24945. - description: 名称(模糊搜索账户)
  24946. in: query
  24947. name: filtername
  24948. type: string
  24949. - description: 开始交易日(yyyymmdd)
  24950. in: query
  24951. name: begindate
  24952. type: string
  24953. - description: 结束交易日(yyyymmdd)
  24954. in: query
  24955. name: enddate
  24956. type: string
  24957. - description: 是否包含子级 1-包含
  24958. in: query
  24959. name: includesub
  24960. type: integer
  24961. produces:
  24962. - application/json
  24963. responses:
  24964. "200":
  24965. description: OK
  24966. schema:
  24967. items:
  24968. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24969. type: array
  24970. "500":
  24971. description: Internal Server Error
  24972. schema:
  24973. $ref: '#/definitions/app.Response'
  24974. security:
  24975. - ApiKeyAuth: []
  24976. summary: 查询成交明细
  24977. tags:
  24978. - 大连千海金(PCWeb)
  24979. /QhjMgr/QueryTradeOrderDetail:
  24980. get:
  24981. parameters:
  24982. - description: 用户ID
  24983. in: query
  24984. name: userid
  24985. required: true
  24986. type: integer
  24987. - description: 用户类型 1-个人 2-企业
  24988. in: query
  24989. name: userinfotype
  24990. type: integer
  24991. - description: 交易模式
  24992. in: query
  24993. name: trademode
  24994. type: integer
  24995. - description: 商品id
  24996. in: query
  24997. name: goodsid
  24998. type: integer
  24999. - description: 名称(模糊搜索账户)
  25000. in: query
  25001. name: filtername
  25002. type: string
  25003. - description: 开始交易日(yyyymmdd)
  25004. in: query
  25005. name: begindate
  25006. type: string
  25007. - description: 结束交易日(yyyymmdd)
  25008. in: query
  25009. name: enddate
  25010. type: string
  25011. - description: 是否包含子级 1-包含
  25012. in: query
  25013. name: includesub
  25014. type: integer
  25015. produces:
  25016. - application/json
  25017. responses:
  25018. "200":
  25019. description: OK
  25020. schema:
  25021. items:
  25022. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25023. type: array
  25024. "500":
  25025. description: Internal Server Error
  25026. schema:
  25027. $ref: '#/definitions/app.Response'
  25028. security:
  25029. - ApiKeyAuth: []
  25030. summary: 查询委托明细
  25031. tags:
  25032. - 大连千海金(PCWeb)
  25033. /QhjMgr/QueryTradePayOrder:
  25034. get:
  25035. parameters:
  25036. - description: 用户ID
  25037. in: query
  25038. name: userid
  25039. required: true
  25040. type: integer
  25041. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25042. in: query
  25043. name: payflag
  25044. type: string
  25045. - description: 用户类型 1-个人 2-企业
  25046. in: query
  25047. name: userinfotype
  25048. type: integer
  25049. - description: 交易模式
  25050. in: query
  25051. name: trademode
  25052. type: integer
  25053. - description: 商品id
  25054. in: query
  25055. name: goodsid
  25056. type: integer
  25057. - description: 名称(模糊搜索账户)
  25058. in: query
  25059. name: filtername
  25060. type: string
  25061. - description: 开始交易日(yyyymmdd)
  25062. in: query
  25063. name: begindate
  25064. type: string
  25065. - description: 结束交易日(yyyymmdd)
  25066. in: query
  25067. name: enddate
  25068. type: string
  25069. - description: 是否包含子级 1-包含
  25070. in: query
  25071. name: includesub
  25072. type: integer
  25073. produces:
  25074. - application/json
  25075. responses:
  25076. "200":
  25077. description: OK
  25078. schema:
  25079. items:
  25080. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25081. type: array
  25082. "500":
  25083. description: Internal Server Error
  25084. schema:
  25085. $ref: '#/definitions/app.Response'
  25086. security:
  25087. - ApiKeyAuth: []
  25088. summary: 查询待付款单
  25089. tags:
  25090. - 大连千海金(PCWeb)
  25091. /QhjMgr/QueryTradePosition:
  25092. get:
  25093. parameters:
  25094. - description: 用户ID
  25095. in: query
  25096. name: userid
  25097. required: true
  25098. type: integer
  25099. - description: 用户类型 1-个人 2-企业
  25100. in: query
  25101. name: userinfotype
  25102. type: integer
  25103. - description: 交易模式
  25104. in: query
  25105. name: trademode
  25106. type: integer
  25107. - description: 商品id
  25108. in: query
  25109. name: goodsid
  25110. type: integer
  25111. - description: 名称(模糊搜索账户)
  25112. in: query
  25113. name: filtername
  25114. type: string
  25115. - description: 是否包含子级 1-包含
  25116. in: query
  25117. name: includesub
  25118. type: integer
  25119. produces:
  25120. - application/json
  25121. responses:
  25122. "200":
  25123. description: OK
  25124. schema:
  25125. items:
  25126. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25127. type: array
  25128. "500":
  25129. description: Internal Server Error
  25130. schema:
  25131. $ref: '#/definitions/app.Response'
  25132. security:
  25133. - ApiKeyAuth: []
  25134. summary: 查询持仓汇总
  25135. tags:
  25136. - 大连千海金(PCWeb)
  25137. /QhjSys/QueryAgreementChangeLog:
  25138. get:
  25139. parameters:
  25140. - description: 协议ID
  25141. in: query
  25142. name: agreementid
  25143. type: integer
  25144. - description: 协议版本号
  25145. in: query
  25146. name: agreementversion
  25147. type: integer
  25148. - description: 协议类型 - 1:注册 2:登录 3:交易
  25149. in: query
  25150. name: agreementtype
  25151. type: integer
  25152. - description: 协议编号(模糊匹配)
  25153. in: query
  25154. name: agreementno
  25155. type: string
  25156. - description: 协议名称(模糊匹配)
  25157. in: query
  25158. name: agreementname
  25159. type: string
  25160. produces:
  25161. - application/json
  25162. responses:
  25163. "200":
  25164. description: OK
  25165. schema:
  25166. items:
  25167. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25168. type: array
  25169. "500":
  25170. description: Internal Server Error
  25171. schema:
  25172. $ref: '#/definitions/app.Response'
  25173. security:
  25174. - ApiKeyAuth: []
  25175. summary: 查询协议配置变更流水
  25176. tags:
  25177. - 大连千海金(协议和签约信息)
  25178. /QhjSys/QueryAgreementConfig:
  25179. get:
  25180. parameters:
  25181. - description: 协议ID
  25182. in: query
  25183. name: agreementid
  25184. type: integer
  25185. - description: 协议版本号
  25186. in: query
  25187. name: agreementversion
  25188. type: integer
  25189. - description: 协议类型 - 1:注册 2:登录 3:交易
  25190. in: query
  25191. name: agreementtype
  25192. type: integer
  25193. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25194. in: query
  25195. name: isvalid
  25196. type: integer
  25197. - description: 协议编号(模糊匹配)
  25198. in: query
  25199. name: agreementno
  25200. type: string
  25201. - description: 协议名称(模糊匹配)
  25202. in: query
  25203. name: agreementname
  25204. type: string
  25205. produces:
  25206. - application/json
  25207. responses:
  25208. "200":
  25209. description: OK
  25210. schema:
  25211. items:
  25212. $ref: '#/definitions/models.QhjAgreementConfig'
  25213. type: array
  25214. "500":
  25215. description: Internal Server Error
  25216. schema:
  25217. $ref: '#/definitions/app.Response'
  25218. security:
  25219. - ApiKeyAuth: []
  25220. summary: 查询协议配置
  25221. tags:
  25222. - 大连千海金(协议和签约信息)
  25223. /QhjSys/QueryCustomerSignStatus:
  25224. get:
  25225. parameters:
  25226. - description: 客户ID
  25227. in: query
  25228. name: userid
  25229. type: integer
  25230. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25231. in: query
  25232. name: nodetype
  25233. type: integer
  25234. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25235. in: query
  25236. name: goodsid
  25237. type: integer
  25238. - description: 创建交易日(yyyyMMdd)
  25239. in: query
  25240. name: tradedate
  25241. type: string
  25242. - description: 用户名称(模糊匹配)
  25243. in: query
  25244. name: username
  25245. type: string
  25246. produces:
  25247. - application/json
  25248. responses:
  25249. "200":
  25250. description: OK
  25251. schema:
  25252. items:
  25253. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25254. type: array
  25255. "500":
  25256. description: Internal Server Error
  25257. schema:
  25258. $ref: '#/definitions/app.Response'
  25259. security:
  25260. - ApiKeyAuth: []
  25261. summary: 查询客户协议签约状态
  25262. tags:
  25263. - 大连千海金(协议和签约信息)
  25264. /QhjSys/QueryNodeAgreementConfig:
  25265. get:
  25266. parameters:
  25267. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25268. in: query
  25269. name: configid
  25270. type: integer
  25271. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25272. in: query
  25273. name: nodetype
  25274. type: integer
  25275. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25276. in: query
  25277. name: goodsid
  25278. type: integer
  25279. - description: 协议ID
  25280. in: query
  25281. name: agreementid
  25282. type: integer
  25283. - description: 协议类型 - 1:注册 2:登录 3:交易
  25284. in: query
  25285. name: agreementtype
  25286. type: integer
  25287. - description: 协议版本号
  25288. in: query
  25289. name: agreementversion
  25290. type: integer
  25291. - description: 协议编号(模糊匹配)
  25292. in: query
  25293. name: agreementno
  25294. type: string
  25295. - description: 协议名称(模糊匹配)
  25296. in: query
  25297. name: agreementname
  25298. type: string
  25299. produces:
  25300. - application/json
  25301. responses:
  25302. "200":
  25303. description: OK
  25304. schema:
  25305. items:
  25306. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25307. type: array
  25308. "500":
  25309. description: Internal Server Error
  25310. schema:
  25311. $ref: '#/definitions/app.Response'
  25312. security:
  25313. - ApiKeyAuth: []
  25314. summary: 查询协议节点配置
  25315. tags:
  25316. - 大连千海金(协议和签约信息)
  25317. /QhjSys/QueryQhjCustomerSignLog:
  25318. get:
  25319. parameters:
  25320. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25321. in: query
  25322. name: logid
  25323. type: integer
  25324. - description: 客户ID
  25325. in: query
  25326. name: userid
  25327. type: integer
  25328. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25329. in: query
  25330. name: nodetype
  25331. type: integer
  25332. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25333. in: query
  25334. name: goodsid
  25335. type: integer
  25336. - description: 协议ID
  25337. in: query
  25338. name: agreementid
  25339. type: integer
  25340. - description: 用户名称(模糊匹配)
  25341. in: query
  25342. name: username
  25343. type: string
  25344. - description: 协议编号(模糊匹配)
  25345. in: query
  25346. name: agreementno
  25347. type: string
  25348. - description: 协议名称(模糊匹配)
  25349. in: query
  25350. name: agreementname
  25351. type: string
  25352. produces:
  25353. - application/json
  25354. responses:
  25355. "200":
  25356. description: OK
  25357. schema:
  25358. items:
  25359. $ref: '#/definitions/models.QhjCustomerSignLog'
  25360. type: array
  25361. "500":
  25362. description: Internal Server Error
  25363. schema:
  25364. $ref: '#/definitions/app.Response'
  25365. security:
  25366. - ApiKeyAuth: []
  25367. summary: 查询客户协议签约流水
  25368. tags:
  25369. - 大连千海金(协议和签约信息)
  25370. /QhjSys/QueryUserNodeCfgAndStatus:
  25371. get:
  25372. parameters:
  25373. - description: 客户ID
  25374. in: query
  25375. name: userid
  25376. type: integer
  25377. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25378. in: query
  25379. name: configid
  25380. type: integer
  25381. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25382. in: query
  25383. name: nodetype
  25384. type: string
  25385. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25386. in: query
  25387. name: goodsid
  25388. type: integer
  25389. - description: 协议ID
  25390. in: query
  25391. name: agreementid
  25392. type: integer
  25393. - description: 协议类型 - 1:注册 2:登录 3:交易
  25394. in: query
  25395. name: agreementtype
  25396. type: integer
  25397. - description: 协议版本号
  25398. in: query
  25399. name: agreementversion
  25400. type: integer
  25401. - description: 协议编号(模糊匹配)
  25402. in: query
  25403. name: agreementno
  25404. type: string
  25405. - description: 协议名称(模糊匹配)
  25406. in: query
  25407. name: agreementname
  25408. type: string
  25409. produces:
  25410. - application/json
  25411. responses:
  25412. "200":
  25413. description: OK
  25414. schema:
  25415. items:
  25416. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25417. type: array
  25418. "500":
  25419. description: Internal Server Error
  25420. schema:
  25421. $ref: '#/definitions/app.Response'
  25422. security:
  25423. - ApiKeyAuth: []
  25424. summary: 查询用户协议节点配置和状态
  25425. tags:
  25426. - 大连千海金(协议和签约信息)
  25427. /Quote/QueryHistoryDatas:
  25428. get:
  25429. parameters:
  25430. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  25431. 日线'
  25432. in: query
  25433. name: cycleType
  25434. required: true
  25435. type: integer
  25436. - description: 商品代码
  25437. in: query
  25438. name: goodsCode
  25439. required: true
  25440. type: string
  25441. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25442. in: query
  25443. name: startTime
  25444. type: string
  25445. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25446. in: query
  25447. name: endTime
  25448. type: string
  25449. - description: 条数
  25450. in: query
  25451. name: count
  25452. type: integer
  25453. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25454. in: query
  25455. name: isAsc
  25456. type: boolean
  25457. produces:
  25458. - application/json
  25459. responses:
  25460. "200":
  25461. description: OK
  25462. schema:
  25463. $ref: '#/definitions/quote.HistoryData'
  25464. "500":
  25465. description: Internal Server Error
  25466. schema:
  25467. $ref: '#/definitions/app.Response'
  25468. security:
  25469. - ApiKeyAuth: []
  25470. summary: 查询行情历史数据
  25471. tags:
  25472. - 行情服务
  25473. /Quote/QueryHistoryTikDatas:
  25474. get:
  25475. parameters:
  25476. - description: 商品代码
  25477. in: query
  25478. name: goodsCode
  25479. required: true
  25480. type: string
  25481. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25482. in: query
  25483. name: startTime
  25484. type: string
  25485. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25486. in: query
  25487. name: endTime
  25488. type: string
  25489. - description: 条数
  25490. in: query
  25491. name: count
  25492. type: integer
  25493. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25494. in: query
  25495. name: isAsc
  25496. type: boolean
  25497. produces:
  25498. - application/json
  25499. responses:
  25500. "200":
  25501. description: OK
  25502. schema:
  25503. $ref: '#/definitions/quote.HistoryTikData'
  25504. "500":
  25505. description: Internal Server Error
  25506. schema:
  25507. $ref: '#/definitions/app.Response'
  25508. security:
  25509. - ApiKeyAuth: []
  25510. summary: 查询行情Tik数据
  25511. tags:
  25512. - 行情服务
  25513. /Quote/QueryQuoteDay:
  25514. get:
  25515. parameters:
  25516. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25517. in: query
  25518. name: goodsCodes
  25519. required: true
  25520. type: string
  25521. produces:
  25522. - application/json
  25523. responses:
  25524. "200":
  25525. description: OK
  25526. schema:
  25527. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25528. "500":
  25529. description: Internal Server Error
  25530. schema:
  25531. $ref: '#/definitions/app.Response'
  25532. security:
  25533. - ApiKeyAuth: []
  25534. summary: 获取商品盘面信息
  25535. tags:
  25536. - 行情服务
  25537. /Quote/QueryTSData:
  25538. get:
  25539. parameters:
  25540. - description: 商品代码
  25541. in: query
  25542. name: goodsCode
  25543. required: true
  25544. type: string
  25545. produces:
  25546. - application/json
  25547. responses:
  25548. "200":
  25549. description: OK
  25550. schema:
  25551. $ref: '#/definitions/quote.QueryTSDataRsp'
  25552. "500":
  25553. description: Internal Server Error
  25554. schema:
  25555. $ref: '#/definitions/app.Response'
  25556. security:
  25557. - ApiKeyAuth: []
  25558. summary: 分时图数据查询
  25559. tags:
  25560. - 行情服务
  25561. /SZDZ/QueryConvertConfig:
  25562. get:
  25563. parameters:
  25564. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  25565. 6:交易转花生米(不设置)
  25566. in: query
  25567. name: convertType
  25568. type: integer
  25569. - description: 外部商品代码[JD\PD]
  25570. in: query
  25571. name: outerGoodsCode
  25572. type: string
  25573. - description: 内部商品ID列表[交易],格式:1,2,3
  25574. in: query
  25575. name: innerGoodsIDs
  25576. type: string
  25577. produces:
  25578. - application/json
  25579. responses:
  25580. "200":
  25581. description: OK
  25582. schema:
  25583. $ref: '#/definitions/models.Szdz3convertconfig'
  25584. "500":
  25585. description: Internal Server Error
  25586. schema:
  25587. $ref: '#/definitions/app.Response'
  25588. security:
  25589. - ApiKeyAuth: []
  25590. summary: 查询交易系统转换设置
  25591. tags:
  25592. - 定制【尚志大宗】
  25593. /SZDZ/QueryConvertLog:
  25594. get:
  25595. parameters:
  25596. - description: 资金账户 - 格式:1,2,3
  25597. in: query
  25598. name: accountID
  25599. required: true
  25600. type: string
  25601. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25602. in: query
  25603. name: startDate
  25604. type: string
  25605. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25606. in: query
  25607. name: endDate
  25608. type: string
  25609. produces:
  25610. - application/json
  25611. responses:
  25612. "200":
  25613. description: OK
  25614. schema:
  25615. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25616. "500":
  25617. description: Internal Server Error
  25618. schema:
  25619. $ref: '#/definitions/app.Response'
  25620. security:
  25621. - ApiKeyAuth: []
  25622. summary: 交易系统转换流水查询
  25623. tags:
  25624. - 定制【尚志大宗】
  25625. /SZDZ/QueryGoodsPickup:
  25626. get:
  25627. parameters:
  25628. - description: 资金账户 - 格式:1,2,3
  25629. in: query
  25630. name: accountID
  25631. required: true
  25632. type: string
  25633. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25634. in: query
  25635. name: takeOrderStatus
  25636. type: integer
  25637. produces:
  25638. - application/json
  25639. responses:
  25640. "200":
  25641. description: OK
  25642. schema:
  25643. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25644. "500":
  25645. description: Internal Server Error
  25646. schema:
  25647. $ref: '#/definitions/app.Response'
  25648. security:
  25649. - ApiKeyAuth: []
  25650. summary: 商品提货单查询
  25651. tags:
  25652. - 定制【尚志大宗】
  25653. /SZDZ/QueryRecieptOrder:
  25654. get:
  25655. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25656. parameters:
  25657. - description: 页码
  25658. in: query
  25659. name: page
  25660. type: integer
  25661. - description: 每页条数
  25662. in: query
  25663. name: pagesize
  25664. type: integer
  25665. - description: 商品ID
  25666. in: query
  25667. name: goodsID
  25668. required: true
  25669. type: integer
  25670. - description: 所属账户名称
  25671. in: query
  25672. name: accountName
  25673. type: string
  25674. - description: 市场ID
  25675. in: query
  25676. name: marketID
  25677. type: integer
  25678. - description: 方向 - 0:买 1:卖
  25679. in: query
  25680. name: buyorsell
  25681. required: true
  25682. type: integer
  25683. produces:
  25684. - application/json
  25685. responses:
  25686. "200":
  25687. description: OK
  25688. schema:
  25689. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25690. "500":
  25691. description: Internal Server Error
  25692. schema:
  25693. $ref: '#/definitions/app.Response'
  25694. security:
  25695. - ApiKeyAuth: []
  25696. summary: 点选挂牌委托单据查询(摘牌大厅)
  25697. tags:
  25698. - 定制【尚志大宗】
  25699. /SZDZ/QuerySZDZTradePosition:
  25700. get:
  25701. parameters:
  25702. - description: 资金账户
  25703. in: query
  25704. name: accountID
  25705. required: true
  25706. type: integer
  25707. produces:
  25708. - application/json
  25709. responses:
  25710. "200":
  25711. description: OK
  25712. schema:
  25713. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25714. "500":
  25715. description: Internal Server Error
  25716. schema:
  25717. $ref: '#/definitions/app.Response'
  25718. security:
  25719. - ApiKeyAuth: []
  25720. summary: 持仓汇总查询(尚志大宗)
  25721. tags:
  25722. - 定制【尚志大宗】
  25723. /SZDZ/SearchWhite:
  25724. get:
  25725. parameters:
  25726. - description: 用户ID
  25727. in: query
  25728. name: userID
  25729. required: true
  25730. type: integer
  25731. produces:
  25732. - application/json
  25733. responses:
  25734. "200":
  25735. description: OK
  25736. schema:
  25737. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25738. "500":
  25739. description: Internal Server Error
  25740. schema:
  25741. $ref: '#/definitions/app.Response'
  25742. security:
  25743. - ApiKeyAuth: []
  25744. summary: 搜索白名单
  25745. tags:
  25746. - 定制【尚志大宗】
  25747. /Search/SearchGoodses:
  25748. get:
  25749. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25750. parameters:
  25751. - description: 检索内容
  25752. in: query
  25753. name: content
  25754. required: true
  25755. type: string
  25756. - description: 交易模式,格式:1,2,3
  25757. in: query
  25758. name: tradeModes
  25759. type: string
  25760. produces:
  25761. - application/json
  25762. responses:
  25763. "200":
  25764. description: OK
  25765. schema:
  25766. $ref: '#/definitions/models.SearchGoods'
  25767. "500":
  25768. description: Internal Server Error
  25769. schema:
  25770. $ref: '#/definitions/app.Response'
  25771. summary: 检索商品信息
  25772. tags:
  25773. - 检索服务
  25774. /TaAccount/GetTaAccounts:
  25775. get:
  25776. parameters:
  25777. - description: 登录账户
  25778. in: query
  25779. name: loginID
  25780. required: true
  25781. type: integer
  25782. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25783. in: query
  25784. name: taAccountType
  25785. type: integer
  25786. produces:
  25787. - application/json
  25788. responses:
  25789. "200":
  25790. description: OK
  25791. schema:
  25792. $ref: '#/definitions/models.Taaccount'
  25793. "500":
  25794. description: Internal Server Error
  25795. schema:
  25796. $ref: '#/definitions/app.Response'
  25797. security:
  25798. - ApiKeyAuth: []
  25799. summary: 获取资金账户信息
  25800. tags:
  25801. - 资金账户
  25802. /TaAccount/QueryAmountLog:
  25803. get:
  25804. parameters:
  25805. - description: 页码
  25806. in: query
  25807. name: page
  25808. type: integer
  25809. - description: 每页条数
  25810. in: query
  25811. name: pagesize
  25812. type: integer
  25813. - description: 资金账户 - 格式:1,2,3
  25814. in: query
  25815. name: accountID
  25816. required: true
  25817. type: string
  25818. - description: 资金操作类型 - 格式:1,2,3
  25819. in: query
  25820. name: OperateType
  25821. type: string
  25822. produces:
  25823. - application/json
  25824. responses:
  25825. "200":
  25826. description: OK
  25827. schema:
  25828. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25829. "500":
  25830. description: Internal Server Error
  25831. schema:
  25832. $ref: '#/definitions/app.Response'
  25833. security:
  25834. - ApiKeyAuth: []
  25835. summary: 资金流水查询(当前)
  25836. tags:
  25837. - 资金账户
  25838. /TaAccount/QueryHisAmountLog:
  25839. get:
  25840. parameters:
  25841. - description: 页码
  25842. in: query
  25843. name: page
  25844. type: integer
  25845. - description: 每页条数
  25846. in: query
  25847. name: pagesize
  25848. type: integer
  25849. - description: 资金账户 - 格式:1,2,3
  25850. in: query
  25851. name: accountID
  25852. required: true
  25853. type: string
  25854. - description: 资金操作类型 - 格式:1,2,3
  25855. in: query
  25856. name: OperateType
  25857. type: string
  25858. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25859. in: query
  25860. name: startDate
  25861. type: string
  25862. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25863. in: query
  25864. name: endDate
  25865. type: string
  25866. produces:
  25867. - application/json
  25868. responses:
  25869. "200":
  25870. description: OK
  25871. schema:
  25872. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25873. "500":
  25874. description: Internal Server Error
  25875. schema:
  25876. $ref: '#/definitions/app.Response'
  25877. security:
  25878. - ApiKeyAuth: []
  25879. summary: 资金流水查询(历史)
  25880. tags:
  25881. - 资金账户
  25882. /Tjmd/QueryQuoteGoodsList:
  25883. get:
  25884. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25885. parameters:
  25886. - description: 用户类型
  25887. in: query
  25888. name: usertype
  25889. required: true
  25890. type: integer
  25891. - description: 市场id, 格式 1,2,3
  25892. in: query
  25893. name: marketids
  25894. type: string
  25895. - description: 商品组id
  25896. in: query
  25897. name: goodsgroupid
  25898. type: integer
  25899. - description: 商品id
  25900. in: query
  25901. name: goodsid
  25902. type: integer
  25903. produces:
  25904. - application/json
  25905. responses:
  25906. "200":
  25907. description: OK
  25908. schema:
  25909. items:
  25910. $ref: '#/definitions/models.TjmdQuoteGoods'
  25911. type: array
  25912. "500":
  25913. description: Internal Server Error
  25914. schema:
  25915. $ref: '#/definitions/app.Response'
  25916. security:
  25917. - ApiKeyAuth: []
  25918. summary: 查询掉期报价列表
  25919. tags:
  25920. - 天津麦顿
  25921. /Tjmd/QueryTjmdTodayAccountMargin:
  25922. get:
  25923. parameters:
  25924. - description: 市场id
  25925. in: query
  25926. name: marketid
  25927. type: string
  25928. - description: 商品id
  25929. in: query
  25930. name: goodsid
  25931. type: string
  25932. - description: 资金账号
  25933. in: query
  25934. name: accountid
  25935. type: string
  25936. produces:
  25937. - application/json
  25938. responses:
  25939. "200":
  25940. description: OK
  25941. schema:
  25942. items:
  25943. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25944. type: array
  25945. "500":
  25946. description: Internal Server Error
  25947. schema:
  25948. $ref: '#/definitions/app.Response'
  25949. security:
  25950. - ApiKeyAuth: []
  25951. summary: 查询今日账户保证金配置
  25952. tags:
  25953. - 天津麦顿
  25954. /Tjmd/QueryTjmdTradeOrderDetail:
  25955. get:
  25956. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25957. parameters:
  25958. - description: 页码
  25959. in: query
  25960. name: page
  25961. type: integer
  25962. - description: 每页条数
  25963. in: query
  25964. name: pagesize
  25965. type: integer
  25966. - description: 用户id
  25967. in: query
  25968. name: userid
  25969. required: true
  25970. type: integer
  25971. - description: 用户类型
  25972. in: query
  25973. name: usertype
  25974. required: true
  25975. type: integer
  25976. - description: 市场id, 格式 1,2,3
  25977. in: query
  25978. name: marketids
  25979. type: string
  25980. - description: 商品id
  25981. in: query
  25982. name: goodsid
  25983. required: true
  25984. type: integer
  25985. - description: 买卖方向 0-买 1-卖
  25986. in: query
  25987. name: buyorsell
  25988. required: true
  25989. type: integer
  25990. produces:
  25991. - application/json
  25992. responses:
  25993. "200":
  25994. description: OK
  25995. schema:
  25996. items:
  25997. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25998. type: array
  25999. "500":
  26000. description: Internal Server Error
  26001. schema:
  26002. $ref: '#/definitions/app.Response'
  26003. security:
  26004. - ApiKeyAuth: []
  26005. summary: 查询掉期买卖大厅
  26006. tags:
  26007. - 天津麦顿
  26008. /Tjmd/QueryTjmdTransferApply:
  26009. get:
  26010. parameters:
  26011. - description: 类型 1-我的申请 2-对方申请
  26012. in: query
  26013. name: applytype
  26014. required: true
  26015. type: integer
  26016. - description: 市场id, 格式 1,2,3
  26017. in: query
  26018. name: marketids
  26019. type: string
  26020. - description: 资金账号, 格式 25000000001,25000000003
  26021. in: query
  26022. name: accountids
  26023. type: string
  26024. produces:
  26025. - application/json
  26026. responses:
  26027. "200":
  26028. description: OK
  26029. schema:
  26030. items:
  26031. $ref: '#/definitions/models.TjmdTransferApply'
  26032. type: array
  26033. "500":
  26034. description: Internal Server Error
  26035. schema:
  26036. $ref: '#/definitions/app.Response'
  26037. security:
  26038. - ApiKeyAuth: []
  26039. summary: 查询掉期协议单
  26040. tags:
  26041. - 天津麦顿
  26042. /Trade/QueryRecieptOrder:
  26043. get:
  26044. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26045. parameters:
  26046. - description: 页码
  26047. in: query
  26048. name: page
  26049. type: integer
  26050. - description: 每页条数
  26051. in: query
  26052. name: pagesize
  26053. type: integer
  26054. - description: 商品ID
  26055. in: query
  26056. name: goodsID
  26057. required: true
  26058. type: integer
  26059. - description: 所属账户名称
  26060. in: query
  26061. name: accountName
  26062. type: string
  26063. - description: 市场ID
  26064. in: query
  26065. name: marketID
  26066. type: integer
  26067. - description: 方向 - 0:买 1:卖
  26068. in: query
  26069. name: buyorsell
  26070. required: true
  26071. type: integer
  26072. produces:
  26073. - application/json
  26074. responses:
  26075. "200":
  26076. description: OK
  26077. schema:
  26078. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26079. "500":
  26080. description: Internal Server Error
  26081. schema:
  26082. $ref: '#/definitions/app.Response'
  26083. security:
  26084. - ApiKeyAuth: []
  26085. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26086. tags:
  26087. - 通用交易
  26088. /User/AddMessageBoard:
  26089. post:
  26090. parameters:
  26091. - description: 用户ID
  26092. in: query
  26093. name: userID
  26094. required: true
  26095. type: integer
  26096. - description: 留言信息
  26097. in: query
  26098. name: message
  26099. required: true
  26100. type: string
  26101. - description: 联系电话
  26102. in: query
  26103. name: contactNum
  26104. required: true
  26105. type: string
  26106. produces:
  26107. - application/json
  26108. responses:
  26109. "200":
  26110. description: OK
  26111. schema:
  26112. $ref: '#/definitions/app.Response'
  26113. "500":
  26114. description: Internal Server Error
  26115. schema:
  26116. $ref: '#/definitions/app.Response'
  26117. security:
  26118. - ApiKeyAuth: []
  26119. summary: 添加用户留言板信息
  26120. tags:
  26121. - 用户信息
  26122. /User/AddUserFavoriteGoods:
  26123. post:
  26124. parameters:
  26125. - description: 用户ID
  26126. in: query
  26127. name: userID
  26128. required: true
  26129. type: integer
  26130. - description: 商品ID
  26131. in: query
  26132. name: goodsID
  26133. required: true
  26134. type: integer
  26135. produces:
  26136. - application/json
  26137. responses:
  26138. "200":
  26139. description: OK
  26140. schema:
  26141. $ref: '#/definitions/app.Response'
  26142. "500":
  26143. description: Internal Server Error
  26144. schema:
  26145. $ref: '#/definitions/app.Response'
  26146. security:
  26147. - ApiKeyAuth: []
  26148. summary: 添加用户商品收藏信息
  26149. tags:
  26150. - 用户信息
  26151. /User/GetLoginID:
  26152. get:
  26153. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26154. parameters:
  26155. - description: 登录代码
  26156. in: query
  26157. name: username
  26158. required: true
  26159. type: string
  26160. produces:
  26161. - application/json
  26162. responses:
  26163. "200":
  26164. description: OK
  26165. schema:
  26166. $ref: '#/definitions/app.Response'
  26167. "500":
  26168. description: Internal Server Error
  26169. schema:
  26170. $ref: '#/definitions/app.Response'
  26171. summary: 获取登录ID
  26172. tags:
  26173. - 用户信息
  26174. /User/GetUserAccount:
  26175. get:
  26176. parameters:
  26177. - description: 用户ID
  26178. in: query
  26179. name: userID
  26180. required: true
  26181. type: integer
  26182. produces:
  26183. - application/json
  26184. responses:
  26185. "200":
  26186. description: OK
  26187. schema:
  26188. $ref: '#/definitions/models.Useraccount'
  26189. "500":
  26190. description: Internal Server Error
  26191. schema:
  26192. $ref: '#/definitions/app.Response'
  26193. security:
  26194. - ApiKeyAuth: []
  26195. summary: 获取用户账号信息
  26196. tags:
  26197. - 用户信息
  26198. /User/GetUserAuthStatus:
  26199. get:
  26200. parameters:
  26201. - description: 用户ID
  26202. in: query
  26203. name: userID
  26204. required: true
  26205. type: integer
  26206. produces:
  26207. - application/json
  26208. responses:
  26209. "200":
  26210. description: OK
  26211. schema:
  26212. $ref: '#/definitions/app.Response'
  26213. "500":
  26214. description: Internal Server Error
  26215. schema:
  26216. $ref: '#/definitions/app.Response'
  26217. security:
  26218. - ApiKeyAuth: []
  26219. summary: 获取用户实名认证状态
  26220. tags:
  26221. - 用户信息
  26222. /User/LoginQuery:
  26223. get:
  26224. parameters:
  26225. - description: 登录账号
  26226. in: query
  26227. name: loginID
  26228. required: true
  26229. type: integer
  26230. produces:
  26231. - application/json
  26232. responses:
  26233. "200":
  26234. description: OK
  26235. schema:
  26236. $ref: '#/definitions/user.LoginQueryRsp'
  26237. "500":
  26238. description: Internal Server Error
  26239. schema:
  26240. $ref: '#/definitions/app.Response'
  26241. security:
  26242. - ApiKeyAuth: []
  26243. summary: 账户登录后信息查询
  26244. tags:
  26245. - 用户信息
  26246. /User/QueryMessageBoard:
  26247. get:
  26248. parameters:
  26249. - description: 用户ID
  26250. in: query
  26251. name: userID
  26252. required: true
  26253. type: integer
  26254. produces:
  26255. - application/json
  26256. responses:
  26257. "200":
  26258. description: OK
  26259. schema:
  26260. $ref: '#/definitions/models.Messageboard'
  26261. "500":
  26262. description: Internal Server Error
  26263. schema:
  26264. $ref: '#/definitions/app.Response'
  26265. security:
  26266. - ApiKeyAuth: []
  26267. summary: 获取用户留言板信息
  26268. tags:
  26269. - 用户信息
  26270. /User/QueryUserFavoriteGoodses:
  26271. get:
  26272. parameters:
  26273. - description: 用户ID
  26274. in: query
  26275. name: userID
  26276. required: true
  26277. type: integer
  26278. produces:
  26279. - application/json
  26280. responses:
  26281. "200":
  26282. description: OK
  26283. schema:
  26284. $ref: '#/definitions/models.Userfavoritegoods'
  26285. "500":
  26286. description: Internal Server Error
  26287. schema:
  26288. $ref: '#/definitions/app.Response'
  26289. security:
  26290. - ApiKeyAuth: []
  26291. summary: 获取用户商品收藏信息
  26292. tags:
  26293. - 用户信息
  26294. /User/QueryUserInfo:
  26295. get:
  26296. parameters:
  26297. - description: 用户ID
  26298. in: query
  26299. name: userID
  26300. required: true
  26301. type: integer
  26302. - description: 是否解密
  26303. in: query
  26304. name: isDecrypt
  26305. type: boolean
  26306. produces:
  26307. - application/json
  26308. responses:
  26309. "200":
  26310. description: OK
  26311. schema:
  26312. $ref: '#/definitions/models.Userinfo'
  26313. "500":
  26314. description: Internal Server Error
  26315. schema:
  26316. $ref: '#/definitions/app.Response'
  26317. security:
  26318. - ApiKeyAuth: []
  26319. summary: 获取用户信息
  26320. tags:
  26321. - 用户信息
  26322. /User/QueryUserReferNum:
  26323. get:
  26324. parameters:
  26325. - description: 用户ID
  26326. in: query
  26327. name: userID
  26328. required: true
  26329. type: integer
  26330. produces:
  26331. - application/json
  26332. responses:
  26333. "200":
  26334. description: OK
  26335. schema:
  26336. $ref: '#/definitions/app.Response'
  26337. "500":
  26338. description: Internal Server Error
  26339. schema:
  26340. $ref: '#/definitions/app.Response'
  26341. summary: 获取用户邀请码
  26342. tags:
  26343. - 用户信息
  26344. /User/RemoveUserFavoriteGoods:
  26345. post:
  26346. parameters:
  26347. - description: 用户ID
  26348. in: query
  26349. name: userID
  26350. required: true
  26351. type: integer
  26352. - description: 商品ID
  26353. in: query
  26354. name: goodsID
  26355. required: true
  26356. type: integer
  26357. produces:
  26358. - application/json
  26359. responses:
  26360. "200":
  26361. description: OK
  26362. schema:
  26363. $ref: '#/definitions/app.Response'
  26364. "500":
  26365. description: Internal Server Error
  26366. schema:
  26367. $ref: '#/definitions/app.Response'
  26368. security:
  26369. - ApiKeyAuth: []
  26370. summary: 移除用户商品收藏信息
  26371. tags:
  26372. - 用户信息
  26373. /User/UpdateUserAccountStatus:
  26374. post:
  26375. parameters:
  26376. - description: 用户ID
  26377. in: query
  26378. name: userID
  26379. required: true
  26380. type: integer
  26381. - description: 账户状态 - 4:正常 6:注销(停用)
  26382. in: query
  26383. name: accountStatus
  26384. required: true
  26385. type: integer
  26386. produces:
  26387. - application/json
  26388. responses:
  26389. "200":
  26390. description: OK
  26391. schema:
  26392. $ref: '#/definitions/app.Response'
  26393. "500":
  26394. description: Internal Server Error
  26395. schema:
  26396. $ref: '#/definitions/app.Response'
  26397. security:
  26398. - ApiKeyAuth: []
  26399. summary: 更新用户状态
  26400. tags:
  26401. - 用户信息
  26402. /WRTrade/GetAllDeliveryGoods:
  26403. get:
  26404. produces:
  26405. - application/json
  26406. - application/json
  26407. responses:
  26408. "200":
  26409. description: OK
  26410. schema:
  26411. $ref: '#/definitions/app.Response'
  26412. "500":
  26413. description: Internal Server Error
  26414. schema:
  26415. $ref: '#/definitions/app.Response'
  26416. security:
  26417. - ApiKeyAuth: []
  26418. - ApiKeyAuth: []
  26419. summary: 获取带仓单分类的种类信息
  26420. tags:
  26421. - 仓单贸易
  26422. - 仓单贸易
  26423. /WrTrade2/QueryFaProductDetail:
  26424. get:
  26425. description: 页面 买卖大厅 -> 选择融资方案
  26426. parameters:
  26427. - description: 仓单要素id
  26428. in: query
  26429. name: wrfactortypeid
  26430. required: true
  26431. type: integer
  26432. produces:
  26433. - application/json
  26434. responses:
  26435. "200":
  26436. description: OK
  26437. schema:
  26438. items:
  26439. $ref: '#/definitions/models.WrFAProductDetail'
  26440. type: array
  26441. "500":
  26442. description: Internal Server Error
  26443. schema:
  26444. $ref: '#/definitions/app.Response'
  26445. security:
  26446. - ApiKeyAuth: []
  26447. summary: 查询融资产品列表
  26448. tags:
  26449. - 仓单贸易v2
  26450. /WrTrade2/QueryFilterItem:
  26451. get:
  26452. parameters:
  26453. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26454. in: query
  26455. name: itype
  26456. required: true
  26457. type: string
  26458. produces:
  26459. - application/json
  26460. responses:
  26461. "200":
  26462. description: OK
  26463. schema:
  26464. items:
  26465. $ref: '#/definitions/models.WrFilterItem'
  26466. type: array
  26467. "500":
  26468. description: Internal Server Error
  26469. schema:
  26470. $ref: '#/definitions/app.Response'
  26471. security:
  26472. - ApiKeyAuth: []
  26473. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26474. tags:
  26475. - 仓单贸易v2
  26476. /WrTrade2/QueryFtDeliveryGoods:
  26477. get:
  26478. produces:
  26479. - application/json
  26480. responses:
  26481. "200":
  26482. description: OK
  26483. schema:
  26484. items:
  26485. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26486. type: array
  26487. "500":
  26488. description: Internal Server Error
  26489. schema:
  26490. $ref: '#/definitions/app.Response'
  26491. security:
  26492. - ApiKeyAuth: []
  26493. summary: 查询品种品类筛选框列表
  26494. tags:
  26495. - 仓单贸易v2
  26496. /WrTrade2/QueryHoldLB:
  26497. get:
  26498. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26499. parameters:
  26500. - description: 资金账号
  26501. in: query
  26502. name: accountid
  26503. required: true
  26504. type: integer
  26505. - description: 仓库id
  26506. in: query
  26507. name: warehouseid
  26508. type: integer
  26509. - description: 品种id
  26510. in: query
  26511. name: deliverygoodsid
  26512. type: integer
  26513. - description: 品类id
  26514. in: query
  26515. name: wrstandardid
  26516. type: integer
  26517. - description: 仓单要素id
  26518. in: query
  26519. name: wrfactortypeid
  26520. type: integer
  26521. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26522. in: query
  26523. name: dgitemname
  26524. type: string
  26525. produces:
  26526. - application/json
  26527. responses:
  26528. "200":
  26529. description: OK
  26530. schema:
  26531. items:
  26532. $ref: '#/definitions/models.WrHoldLB'
  26533. type: array
  26534. "500":
  26535. description: Internal Server Error
  26536. schema:
  26537. $ref: '#/definitions/app.Response'
  26538. security:
  26539. - ApiKeyAuth: []
  26540. summary: 查询仓单持有记录
  26541. tags:
  26542. - 仓单贸易v2
  26543. /WrTrade2/QueryOrderQuote:
  26544. get:
  26545. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  26546. 唯一确定1条记录
  26547. parameters:
  26548. - description: 页码
  26549. in: query
  26550. name: page
  26551. type: integer
  26552. - description: 每页条数
  26553. in: query
  26554. name: pagesize
  26555. type: integer
  26556. - description: 仓单贸易市场id
  26557. in: query
  26558. name: marketid
  26559. type: integer
  26560. - description: 价格方式 - 1:固定价 2-浮动价
  26561. in: query
  26562. name: wrpricetype
  26563. required: true
  26564. type: integer
  26565. - description: 0:仓单预售 1:仓单贸易
  26566. in: query
  26567. name: haswr
  26568. required: true
  26569. type: integer
  26570. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26571. in: query
  26572. name: dgitemname
  26573. type: string
  26574. - description: 仓库id(筛选条件)
  26575. in: query
  26576. name: warehouseid
  26577. type: integer
  26578. - description: 品种id
  26579. in: query
  26580. name: deliverygoodsid
  26581. type: integer
  26582. - description: 品类id
  26583. in: query
  26584. name: wrstandardid
  26585. type: integer
  26586. - description: 仓单要素id
  26587. in: query
  26588. name: wrfactortypeid
  26589. type: integer
  26590. - description: 交收月(yyyy-mm) 仓单预售填写
  26591. in: query
  26592. name: deliverymonth
  26593. type: string
  26594. produces:
  26595. - application/json
  26596. responses:
  26597. "200":
  26598. description: OK
  26599. schema:
  26600. items:
  26601. $ref: '#/definitions/models.WrOrderQuote'
  26602. type: array
  26603. "500":
  26604. description: Internal Server Error
  26605. schema:
  26606. $ref: '#/definitions/app.Response'
  26607. security:
  26608. - ApiKeyAuth: []
  26609. summary: 查询大厅行情列表
  26610. tags:
  26611. - 仓单贸易v2
  26612. /WrTrade2/QueryOrderQuoteDetail:
  26613. get:
  26614. parameters:
  26615. - description: 页码
  26616. in: query
  26617. name: page
  26618. type: integer
  26619. - description: 每页条数
  26620. in: query
  26621. name: pagesize
  26622. type: integer
  26623. - description: 仓单贸易市场id
  26624. in: query
  26625. name: marketid
  26626. type: integer
  26627. - description: 价格方式 - 1:固定价 2-浮动价
  26628. in: query
  26629. name: wrpricetype
  26630. required: true
  26631. type: integer
  26632. - description: 0:仓单预售 1:仓单贸易
  26633. in: query
  26634. name: haswr
  26635. required: true
  26636. type: integer
  26637. - description: 仓单要素id
  26638. in: query
  26639. name: wrfactortypeid
  26640. required: true
  26641. type: integer
  26642. - description: 期货商品id(浮动价方式时填)
  26643. in: query
  26644. name: goodsid
  26645. type: integer
  26646. - description: 买卖方向 0-买 1-卖
  26647. in: query
  26648. name: buyorsell
  26649. required: true
  26650. type: integer
  26651. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26652. in: query
  26653. name: deliverymonth
  26654. type: string
  26655. produces:
  26656. - application/json
  26657. responses:
  26658. "200":
  26659. description: OK
  26660. schema:
  26661. items:
  26662. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26663. type: array
  26664. "500":
  26665. description: Internal Server Error
  26666. schema:
  26667. $ref: '#/definitions/app.Response'
  26668. security:
  26669. - ApiKeyAuth: []
  26670. summary: 查询买卖大厅
  26671. tags:
  26672. - 仓单贸易v2
  26673. /WrTrade2/QueryOrderQuoteMyq:
  26674. get:
  26675. parameters:
  26676. - description: 页码
  26677. in: query
  26678. name: page
  26679. type: integer
  26680. - description: 每页条数
  26681. in: query
  26682. name: pagesize
  26683. type: integer
  26684. - description: 用户id
  26685. in: query
  26686. name: userid
  26687. required: true
  26688. type: integer
  26689. - description: 仓单贸易市场id
  26690. in: query
  26691. name: marketid
  26692. type: integer
  26693. - description: 0:仓单预售 1:仓单贸易
  26694. in: query
  26695. name: haswr
  26696. required: true
  26697. type: integer
  26698. - description: 买卖方向 0-买 1-卖
  26699. in: query
  26700. name: buyorsell
  26701. required: true
  26702. type: integer
  26703. - description: 品种id
  26704. in: query
  26705. name: deliverygoodsid
  26706. type: integer
  26707. - description: 品类id
  26708. in: query
  26709. name: wrstandardid
  26710. type: integer
  26711. - description: 交收月(yyyy-mm) 仓单预售填写
  26712. in: query
  26713. name: deliverymonth
  26714. type: string
  26715. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26716. in: query
  26717. name: dgitemname
  26718. type: string
  26719. produces:
  26720. - application/json
  26721. responses:
  26722. "200":
  26723. description: OK
  26724. schema:
  26725. items:
  26726. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26727. type: array
  26728. "500":
  26729. description: Internal Server Error
  26730. schema:
  26731. $ref: '#/definitions/app.Response'
  26732. security:
  26733. - ApiKeyAuth: []
  26734. summary: 查询贸易圈挂牌大厅
  26735. tags:
  26736. - 仓单贸易v2
  26737. /WrTrade2/QueryPerformancePlan:
  26738. get:
  26739. parameters:
  26740. - description: 用户id
  26741. in: query
  26742. name: userid
  26743. required: true
  26744. type: integer
  26745. - description: 买卖方向 0-买 1-卖
  26746. in: query
  26747. name: buyorsell
  26748. required: true
  26749. type: integer
  26750. produces:
  26751. - application/json
  26752. responses:
  26753. "200":
  26754. description: OK
  26755. schema:
  26756. items:
  26757. $ref: '#/definitions/models.WrPerformancePlan'
  26758. type: array
  26759. "500":
  26760. description: Internal Server Error
  26761. schema:
  26762. $ref: '#/definitions/app.Response'
  26763. security:
  26764. - ApiKeyAuth: []
  26765. summary: 查询履约信息
  26766. tags:
  26767. - 仓单贸易v2
  26768. /WrTrade2/QueryPermancePlanTmp:
  26769. get:
  26770. description: 返回指定用户的模板和公共模板(用户id为空)
  26771. parameters:
  26772. - description: 用户id
  26773. in: query
  26774. name: userid
  26775. type: integer
  26776. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  26777. (无仓单) 5:挂牌期权 6:竞拍-降价式
  26778. in: query
  26779. name: tmptype
  26780. type: string
  26781. - description: 是否包含公共模板(用户id为空的) 1-包含
  26782. in: query
  26783. name: includepub
  26784. type: integer
  26785. produces:
  26786. - application/json
  26787. responses:
  26788. "200":
  26789. description: OK
  26790. schema:
  26791. items:
  26792. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26793. type: array
  26794. "500":
  26795. description: Internal Server Error
  26796. schema:
  26797. $ref: '#/definitions/app.Response'
  26798. security:
  26799. - ApiKeyAuth: []
  26800. summary: 查询履约模板
  26801. tags:
  26802. - 仓单贸易v2
  26803. /WrTrade2/QueryWrAverageTradePrice:
  26804. get:
  26805. parameters:
  26806. - description: 页码
  26807. in: query
  26808. name: page
  26809. type: integer
  26810. - description: 每页条数
  26811. in: query
  26812. name: pagesize
  26813. type: integer
  26814. - description: 0:仓单预售 1:仓单贸易
  26815. in: query
  26816. name: haswr
  26817. required: true
  26818. type: integer
  26819. - description: 仓单要素id
  26820. in: query
  26821. name: wrfactortypeid
  26822. required: true
  26823. type: integer
  26824. produces:
  26825. - application/json
  26826. responses:
  26827. "200":
  26828. description: OK
  26829. schema:
  26830. items:
  26831. $ref: '#/definitions/models.WrAverageTradePrice'
  26832. type: array
  26833. "500":
  26834. description: Internal Server Error
  26835. schema:
  26836. $ref: '#/definitions/app.Response'
  26837. security:
  26838. - ApiKeyAuth: []
  26839. summary: 查询成交价(历史走势)
  26840. tags:
  26841. - 仓单贸易v2
  26842. /WrTrade2/QueryWrBsGoodsInfo:
  26843. get:
  26844. description: 合约交易/买卖大厅/详情
  26845. parameters:
  26846. - description: 商品id
  26847. in: query
  26848. name: goodsid
  26849. required: true
  26850. type: integer
  26851. produces:
  26852. - application/json
  26853. responses:
  26854. "200":
  26855. description: OK
  26856. schema:
  26857. items:
  26858. $ref: '#/definitions/models.WrBsGoodsInfo'
  26859. type: array
  26860. "500":
  26861. description: Internal Server Error
  26862. schema:
  26863. $ref: '#/definitions/app.Response'
  26864. security:
  26865. - ApiKeyAuth: []
  26866. summary: 查询合约交易买卖大厅详情
  26867. tags:
  26868. - 仓单贸易v2
  26869. /WrTrade2/QueryWrBuybackDetail:
  26870. get:
  26871. parameters:
  26872. - description: 融资合同id
  26873. in: query
  26874. name: scfcontractid
  26875. type: integer
  26876. produces:
  26877. - application/json
  26878. responses:
  26879. "200":
  26880. description: OK
  26881. schema:
  26882. items:
  26883. $ref: '#/definitions/models.WrBuybackDetail'
  26884. type: array
  26885. "500":
  26886. description: Internal Server Error
  26887. schema:
  26888. $ref: '#/definitions/app.Response'
  26889. security:
  26890. - ApiKeyAuth: []
  26891. summary: 查询仓单回购明细
  26892. tags:
  26893. - 仓单贸易v2
  26894. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26895. get:
  26896. parameters:
  26897. - description: 资金账号
  26898. in: query
  26899. name: accountid
  26900. required: true
  26901. type: integer
  26902. - description: 商品id
  26903. in: query
  26904. name: goodsid
  26905. required: true
  26906. type: integer
  26907. produces:
  26908. - application/json
  26909. responses:
  26910. "200":
  26911. description: OK
  26912. schema:
  26913. items:
  26914. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26915. type: array
  26916. "500":
  26917. description: Internal Server Error
  26918. schema:
  26919. $ref: '#/definitions/app.Response'
  26920. security:
  26921. - ApiKeyAuth: []
  26922. summary: 查询合约交收可点选仓单
  26923. tags:
  26924. - 仓单贸易v2
  26925. /WrTrade2/QueryWrDeliveryDetail:
  26926. get:
  26927. parameters:
  26928. - description: 用户id
  26929. in: query
  26930. name: userid
  26931. required: true
  26932. type: integer
  26933. - description: 资金账号id
  26934. in: query
  26935. name: accountid
  26936. type: integer
  26937. produces:
  26938. - application/json
  26939. responses:
  26940. "200":
  26941. description: OK
  26942. schema:
  26943. items:
  26944. $ref: '#/definitions/models.WrDeliveryDetail'
  26945. type: array
  26946. "500":
  26947. description: Internal Server Error
  26948. schema:
  26949. $ref: '#/definitions/app.Response'
  26950. security:
  26951. - ApiKeyAuth: []
  26952. summary: 查询交收
  26953. tags:
  26954. - 仓单贸易v2
  26955. /WrTrade2/QueryWrFactorTypeInfo:
  26956. get:
  26957. parameters:
  26958. - description: 仓单要素id
  26959. in: query
  26960. name: wrfactortypeid
  26961. required: true
  26962. type: integer
  26963. produces:
  26964. - application/json
  26965. responses:
  26966. "200":
  26967. description: OK
  26968. schema:
  26969. items:
  26970. $ref: '#/definitions/models.WrFactorTypeInfo'
  26971. type: array
  26972. "500":
  26973. description: Internal Server Error
  26974. schema:
  26975. $ref: '#/definitions/app.Response'
  26976. security:
  26977. - ApiKeyAuth: []
  26978. summary: 查询仓单要素详细信息
  26979. tags:
  26980. - 仓单贸易v2
  26981. /WrTrade2/QueryWrFactorTypeInfoEx:
  26982. get:
  26983. parameters:
  26984. - description: 仓单要素id
  26985. in: query
  26986. name: wrfactortypeid
  26987. required: true
  26988. type: integer
  26989. produces:
  26990. - application/json
  26991. responses:
  26992. "200":
  26993. description: OK
  26994. schema:
  26995. items:
  26996. $ref: '#/definitions/models.WrTypeItem'
  26997. type: array
  26998. "500":
  26999. description: Internal Server Error
  27000. schema:
  27001. $ref: '#/definitions/app.Response'
  27002. security:
  27003. - ApiKeyAuth: []
  27004. summary: 查询仓单要素详细信息列表项
  27005. tags:
  27006. - 仓单贸易v2
  27007. /WrTrade2/QueryWrFinanceBuyApply:
  27008. get:
  27009. description: 页面 融资信息+ / 申请单
  27010. parameters:
  27011. - description: 用户id
  27012. in: query
  27013. name: userid
  27014. required: true
  27015. type: integer
  27016. produces:
  27017. - application/json
  27018. responses:
  27019. "200":
  27020. description: OK
  27021. schema:
  27022. items:
  27023. $ref: '#/definitions/models.WrFinanceBuyApply'
  27024. type: array
  27025. "500":
  27026. description: Internal Server Error
  27027. schema:
  27028. $ref: '#/definitions/app.Response'
  27029. security:
  27030. - ApiKeyAuth: []
  27031. summary: 查询融资购买申请
  27032. tags:
  27033. - 仓单贸易v2
  27034. /WrTrade2/QueryWrFriendApply:
  27035. get:
  27036. parameters:
  27037. - description: 用户id
  27038. in: query
  27039. name: userid
  27040. required: true
  27041. type: integer
  27042. produces:
  27043. - application/json
  27044. responses:
  27045. "200":
  27046. description: OK
  27047. schema:
  27048. items:
  27049. $ref: '#/definitions/models.WrFriendApply'
  27050. type: array
  27051. "500":
  27052. description: Internal Server Error
  27053. schema:
  27054. $ref: '#/definitions/app.Response'
  27055. security:
  27056. - ApiKeyAuth: []
  27057. summary: 查询好友申请记录
  27058. tags:
  27059. - 仓单贸易v2
  27060. /WrTrade2/QueryWrGoodsInfo:
  27061. get:
  27062. parameters:
  27063. - description: 仓单贸易市场id
  27064. in: query
  27065. name: marketid
  27066. type: integer
  27067. - description: 0:仓单预售 1:仓单贸易
  27068. in: query
  27069. name: haswr
  27070. required: true
  27071. type: integer
  27072. - description: 仓单要素id
  27073. in: query
  27074. name: wrfactortypeid
  27075. required: true
  27076. type: integer
  27077. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27078. in: query
  27079. name: tmplateid
  27080. type: integer
  27081. produces:
  27082. - application/json
  27083. responses:
  27084. "200":
  27085. description: OK
  27086. schema:
  27087. items:
  27088. $ref: '#/definitions/models.WrGoodsInfo'
  27089. type: array
  27090. "500":
  27091. description: Internal Server Error
  27092. schema:
  27093. $ref: '#/definitions/app.Response'
  27094. security:
  27095. - ApiKeyAuth: []
  27096. summary: 查询仓单商品信息
  27097. tags:
  27098. - 仓单贸易v2
  27099. /WrTrade2/QueryWrMarketTradeConfig:
  27100. get:
  27101. parameters:
  27102. - description: 市场id
  27103. in: query
  27104. name: marketid
  27105. type: integer
  27106. produces:
  27107. - application/json
  27108. responses:
  27109. "200":
  27110. description: OK
  27111. schema:
  27112. items:
  27113. $ref: '#/definitions/models.WrMarketTradeConfig'
  27114. type: array
  27115. "500":
  27116. description: Internal Server Error
  27117. schema:
  27118. $ref: '#/definitions/app.Response'
  27119. security:
  27120. - ApiKeyAuth: []
  27121. summary: 查询市场交易参数配置
  27122. tags:
  27123. - 仓单贸易v2
  27124. /WrTrade2/QueryWrOrderDetail:
  27125. get:
  27126. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27127. parameters:
  27128. - description: 页码
  27129. in: query
  27130. name: page
  27131. type: integer
  27132. - description: 每页条数
  27133. in: query
  27134. name: pagesize
  27135. type: integer
  27136. - description: 用户id
  27137. in: query
  27138. name: userid
  27139. required: true
  27140. type: integer
  27141. - description: 仓单贸易市场id
  27142. in: query
  27143. name: marketid
  27144. type: integer
  27145. - description: 0:仓单预售 1:仓单贸易
  27146. in: query
  27147. name: haswr
  27148. required: true
  27149. type: integer
  27150. produces:
  27151. - application/json
  27152. responses:
  27153. "200":
  27154. description: OK
  27155. schema:
  27156. items:
  27157. $ref: '#/definitions/models.WrOrderDetail'
  27158. type: array
  27159. "500":
  27160. description: Internal Server Error
  27161. schema:
  27162. $ref: '#/definitions/app.Response'
  27163. security:
  27164. - ApiKeyAuth: []
  27165. summary: 查询仓单委托单(挂单)
  27166. tags:
  27167. - 仓单贸易v2
  27168. /WrTrade2/QueryWrOutInApply:
  27169. get:
  27170. parameters:
  27171. - description: 用户id
  27172. in: query
  27173. name: userid
  27174. required: true
  27175. type: integer
  27176. produces:
  27177. - application/json
  27178. responses:
  27179. "200":
  27180. description: OK
  27181. schema:
  27182. items:
  27183. $ref: '#/definitions/models.WrOutInApply'
  27184. type: array
  27185. "500":
  27186. description: Internal Server Error
  27187. schema:
  27188. $ref: '#/definitions/app.Response'
  27189. security:
  27190. - ApiKeyAuth: []
  27191. summary: 查询提货申请
  27192. tags:
  27193. - 仓单贸易v2
  27194. /WrTrade2/QueryWrPerformancePlanStep:
  27195. get:
  27196. parameters:
  27197. - description: 履约计划id(performanceplanid)
  27198. in: query
  27199. name: planid
  27200. required: true
  27201. type: integer
  27202. - description: 当前步骤id
  27203. in: query
  27204. name: curstepid
  27205. type: integer
  27206. produces:
  27207. - application/json
  27208. responses:
  27209. "200":
  27210. description: OK
  27211. schema:
  27212. items:
  27213. $ref: '#/definitions/models.WrPerformancePlanStep'
  27214. type: array
  27215. "500":
  27216. description: Internal Server Error
  27217. schema:
  27218. $ref: '#/definitions/app.Response'
  27219. security:
  27220. - ApiKeyAuth: []
  27221. summary: 查询履约信息详情
  27222. tags:
  27223. - 仓单贸易v2
  27224. /WrTrade2/QueryWrPerformanceStepType:
  27225. get:
  27226. produces:
  27227. - application/json
  27228. responses:
  27229. "200":
  27230. description: OK
  27231. schema:
  27232. items:
  27233. $ref: '#/definitions/models.WrPerformanceStepType'
  27234. type: array
  27235. "500":
  27236. description: Internal Server Error
  27237. schema:
  27238. $ref: '#/definitions/app.Response'
  27239. security:
  27240. - ApiKeyAuth: []
  27241. summary: 查询履约步骤枚举
  27242. tags:
  27243. - 仓单贸易v2
  27244. /WrTrade2/QueryWrPosition:
  27245. get:
  27246. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27247. parameters:
  27248. - description: 用户id
  27249. in: query
  27250. name: userid
  27251. required: true
  27252. type: integer
  27253. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27254. in: query
  27255. name: querytype
  27256. required: true
  27257. type: integer
  27258. - description: 0:仓单预售 1:仓单贸易
  27259. in: query
  27260. name: haswr
  27261. required: true
  27262. type: integer
  27263. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27264. in: query
  27265. name: dgitemname
  27266. type: string
  27267. - description: 仓库id(筛选条件)
  27268. in: query
  27269. name: warehouseid
  27270. type: integer
  27271. - description: 品种id
  27272. in: query
  27273. name: deliverygoodsid
  27274. type: integer
  27275. - description: 品类id
  27276. in: query
  27277. name: wrstandardid
  27278. type: integer
  27279. produces:
  27280. - application/json
  27281. responses:
  27282. "200":
  27283. description: OK
  27284. schema:
  27285. items:
  27286. $ref: '#/definitions/models.WrPosition'
  27287. type: array
  27288. "500":
  27289. description: Internal Server Error
  27290. schema:
  27291. $ref: '#/definitions/app.Response'
  27292. security:
  27293. - ApiKeyAuth: []
  27294. summary: 查询现货(预售)仓单持仓
  27295. tags:
  27296. - 仓单贸易v2
  27297. /WrTrade2/QueryWrScfContract:
  27298. get:
  27299. parameters:
  27300. - description: 用户id
  27301. in: query
  27302. name: userid
  27303. required: true
  27304. type: integer
  27305. - description: 融资合同id
  27306. in: query
  27307. name: scfcontractid
  27308. type: integer
  27309. produces:
  27310. - application/json
  27311. responses:
  27312. "200":
  27313. description: OK
  27314. schema:
  27315. items:
  27316. $ref: '#/definitions/models.WrScfContract'
  27317. type: array
  27318. "500":
  27319. description: Internal Server Error
  27320. schema:
  27321. $ref: '#/definitions/app.Response'
  27322. security:
  27323. - ApiKeyAuth: []
  27324. summary: 查询仓单贸易融资合同
  27325. tags:
  27326. - 仓单贸易v2
  27327. /WrTrade2/QueryWrScfContractInterest:
  27328. get:
  27329. parameters:
  27330. - description: 融资合同id
  27331. in: query
  27332. name: scfcontractid
  27333. type: integer
  27334. produces:
  27335. - application/json
  27336. responses:
  27337. "200":
  27338. description: OK
  27339. schema:
  27340. items:
  27341. $ref: '#/definitions/models.WrScfContractInterest'
  27342. type: array
  27343. "500":
  27344. description: Internal Server Error
  27345. schema:
  27346. $ref: '#/definitions/app.Response'
  27347. security:
  27348. - ApiKeyAuth: []
  27349. summary: 查询融资合同费用明细
  27350. tags:
  27351. - 仓单贸易v2
  27352. /WrTrade2/QueryWrSpecialMatchOrder:
  27353. get:
  27354. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27355. parameters:
  27356. - description: 页码
  27357. in: query
  27358. name: page
  27359. type: integer
  27360. - description: 每页条数
  27361. in: query
  27362. name: pagesize
  27363. type: integer
  27364. - description: 用户id
  27365. in: query
  27366. name: userid
  27367. required: true
  27368. type: integer
  27369. - description: 仓单贸易市场id
  27370. in: query
  27371. name: marketid
  27372. type: integer
  27373. - description: 0:仓单预售 1:仓单贸易
  27374. in: query
  27375. name: haswr
  27376. required: true
  27377. type: integer
  27378. produces:
  27379. - application/json
  27380. responses:
  27381. "200":
  27382. description: OK
  27383. schema:
  27384. items:
  27385. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27386. type: array
  27387. "500":
  27388. description: Internal Server Error
  27389. schema:
  27390. $ref: '#/definitions/app.Response'
  27391. security:
  27392. - ApiKeyAuth: []
  27393. summary: 查询指定成交
  27394. tags:
  27395. - 仓单贸易v2
  27396. /WrTrade2/QueryWrStandardFactoryItem:
  27397. get:
  27398. parameters:
  27399. - description: 品类id
  27400. in: query
  27401. name: wrstandardid
  27402. required: true
  27403. type: integer
  27404. produces:
  27405. - application/json
  27406. responses:
  27407. "200":
  27408. description: OK
  27409. schema:
  27410. items:
  27411. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27412. type: array
  27413. "500":
  27414. description: Internal Server Error
  27415. schema:
  27416. $ref: '#/definitions/app.Response'
  27417. security:
  27418. - ApiKeyAuth: []
  27419. summary: 查询品类要素定义项
  27420. tags:
  27421. - 仓单贸易v2
  27422. /WrTrade2/QueryWrTradeBargainApply:
  27423. get:
  27424. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  27425. 议价->对方议价 填写matchuserid=登录用户id
  27426. parameters:
  27427. - description: 议价人id(摘牌方)
  27428. in: query
  27429. name: userid
  27430. type: integer
  27431. - description: 挂牌方id(查对方议价时,填写此项)
  27432. in: query
  27433. name: matchuserid
  27434. type: integer
  27435. - description: 关联委托单id
  27436. in: query
  27437. name: wrtradeorderid
  27438. type: integer
  27439. - description: 0:仓单预售 1:仓单贸易
  27440. in: query
  27441. name: haswr
  27442. required: true
  27443. type: integer
  27444. produces:
  27445. - application/json
  27446. responses:
  27447. "200":
  27448. description: OK
  27449. schema:
  27450. items:
  27451. $ref: '#/definitions/models.WRTradeBargainApply'
  27452. type: array
  27453. "500":
  27454. description: Internal Server Error
  27455. schema:
  27456. $ref: '#/definitions/app.Response'
  27457. security:
  27458. - ApiKeyAuth: []
  27459. summary: 查询议价单
  27460. tags:
  27461. - 仓单贸易v2
  27462. /WrTrade2/QueryWrTradeDetail:
  27463. get:
  27464. parameters:
  27465. - description: 页码
  27466. in: query
  27467. name: page
  27468. type: integer
  27469. - description: 每页条数
  27470. in: query
  27471. name: pagesize
  27472. type: integer
  27473. - description: 用户id
  27474. in: query
  27475. name: userid
  27476. required: true
  27477. type: integer
  27478. - description: 仓单贸易市场id
  27479. in: query
  27480. name: marketid
  27481. type: integer
  27482. - description: 0:仓单预售 1:仓单贸易
  27483. in: query
  27484. name: haswr
  27485. required: true
  27486. type: integer
  27487. produces:
  27488. - application/json
  27489. responses:
  27490. "200":
  27491. description: OK
  27492. schema:
  27493. items:
  27494. $ref: '#/definitions/models.WrTradeDetail'
  27495. type: array
  27496. "500":
  27497. description: Internal Server Error
  27498. schema:
  27499. $ref: '#/definitions/app.Response'
  27500. security:
  27501. - ApiKeyAuth: []
  27502. summary: 查询仓单成交明细
  27503. tags:
  27504. - 仓单贸易v2
  27505. /WrTrade2/QueryWrTradeOrderDetail:
  27506. get:
  27507. parameters:
  27508. - description: 页码
  27509. in: query
  27510. name: page
  27511. type: integer
  27512. - description: 每页条数
  27513. in: query
  27514. name: pagesize
  27515. type: integer
  27516. - description: 商品id
  27517. in: query
  27518. name: goodsid
  27519. required: true
  27520. type: integer
  27521. - description: 买卖方向 0-买 1-卖
  27522. in: query
  27523. name: buyorsell
  27524. required: true
  27525. type: integer
  27526. produces:
  27527. - application/json
  27528. responses:
  27529. "200":
  27530. description: OK
  27531. schema:
  27532. items:
  27533. $ref: '#/definitions/models.WrTradeOrderDetail'
  27534. type: array
  27535. "500":
  27536. description: Internal Server Error
  27537. schema:
  27538. $ref: '#/definitions/app.Response'
  27539. security:
  27540. - ApiKeyAuth: []
  27541. summary: 查询合约交易买卖大厅
  27542. tags:
  27543. - 仓单贸易v2
  27544. /WrTrade2/QueryWrUserFriend:
  27545. get:
  27546. parameters:
  27547. - description: 用户id
  27548. in: query
  27549. name: userid
  27550. required: true
  27551. type: integer
  27552. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27553. in: query
  27554. name: newuserid
  27555. type: integer
  27556. produces:
  27557. - application/json
  27558. responses:
  27559. "200":
  27560. description: OK
  27561. schema:
  27562. items:
  27563. $ref: '#/definitions/models.WrUserFriend'
  27564. type: array
  27565. "500":
  27566. description: Internal Server Error
  27567. schema:
  27568. $ref: '#/definitions/app.Response'
  27569. security:
  27570. - ApiKeyAuth: []
  27571. summary: 查询我的朋友
  27572. tags:
  27573. - 仓单贸易v2
  27574. /WrTrade2/QueryWrUserReceiptInfo:
  27575. get:
  27576. parameters:
  27577. - description: 用户id
  27578. in: query
  27579. name: userid
  27580. type: integer
  27581. - description: 发票类型 - 1:个人 2:企业
  27582. in: query
  27583. name: receipttype
  27584. type: integer
  27585. produces:
  27586. - application/json
  27587. responses:
  27588. "200":
  27589. description: OK
  27590. schema:
  27591. items:
  27592. $ref: '#/definitions/models.WrUserReceiptInfo'
  27593. type: array
  27594. "500":
  27595. description: Internal Server Error
  27596. schema:
  27597. $ref: '#/definitions/app.Response'
  27598. security:
  27599. - ApiKeyAuth: []
  27600. summary: 查询发票信息
  27601. tags:
  27602. - 仓单贸易v2
  27603. /ZJ/GetBankTip:
  27604. get:
  27605. produces:
  27606. - application/json
  27607. responses:
  27608. "200":
  27609. description: OK
  27610. schema:
  27611. type: string
  27612. "500":
  27613. description: Internal Server Error
  27614. schema:
  27615. $ref: '#/definitions/app.Response'
  27616. summary: 获取中江网银端出入金提示信息
  27617. tags:
  27618. - 中江
  27619. /ZJ/GetCusBankChannels:
  27620. get:
  27621. produces:
  27622. - application/json
  27623. responses:
  27624. "200":
  27625. description: OK
  27626. schema:
  27627. items:
  27628. type: string
  27629. type: array
  27630. "500":
  27631. description: Internal Server Error
  27632. schema:
  27633. $ref: '#/definitions/app.Response'
  27634. summary: 获取中江出入金渠道显示列表
  27635. tags:
  27636. - 中江
  27637. securityDefinitions:
  27638. ApiKeyAuth:
  27639. in: header
  27640. name: Authorization
  27641. type: apiKey
  27642. swagger: "2.0"