swagger.yaml 800 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data: {}
  8. msg:
  9. type: string
  10. page:
  11. description: 页码
  12. type: integer
  13. pagesize:
  14. description: 每页条数
  15. type: integer
  16. total:
  17. description: 总条数
  18. type: integer
  19. type: object
  20. common.ClientMenu:
  21. properties:
  22. children:
  23. description: 子菜单列表
  24. items:
  25. $ref: '#/definitions/common.ClientMenu'
  26. type: array
  27. code:
  28. description: ID
  29. type: string
  30. isshow:
  31. description: 是否显示
  32. type: boolean
  33. remark:
  34. description: 备注
  35. type: string
  36. rulekey:
  37. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  38. type: string
  39. sort:
  40. description: 排序
  41. type: integer
  42. title:
  43. description: 标题
  44. type: string
  45. type:
  46. description: 类型,1:菜单 2:按钮
  47. type: integer
  48. url:
  49. description: URL
  50. type: string
  51. type: object
  52. common.PCWebMenu:
  53. properties:
  54. auth:
  55. description: 页面权限列表
  56. items:
  57. $ref: '#/definitions/common.PCWebMenuAuth'
  58. type: array
  59. children:
  60. description: 子菜单列表
  61. items:
  62. $ref: '#/definitions/common.PCWebMenu'
  63. type: array
  64. code:
  65. description: ID,新版本中权限KEY也是这个字段
  66. type: string
  67. component:
  68. description: 路由组件
  69. type: string
  70. isshow:
  71. description: 是否显示
  72. type: boolean
  73. path:
  74. description: 路由路径
  75. type: string
  76. remark:
  77. description: 备注
  78. type: string
  79. rulekey:
  80. description: 权限主键,非空表示需要判断控制,非空值不可重复
  81. type: string
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. url:
  89. description: URL
  90. type: string
  91. type: object
  92. common.PCWebMenuAuth:
  93. properties:
  94. code:
  95. description: ID,新版本中权限KEY也是这个字段
  96. type: string
  97. isshow:
  98. description: 是否显示
  99. type: boolean
  100. label:
  101. description: 标题
  102. type: string
  103. remark:
  104. description: 备注
  105. type: string
  106. rulekey:
  107. description: 权限主键,非空表示需要判断控制,非空值不可重复
  108. type: string
  109. type: object
  110. common.QueryImageConfigsRsp:
  111. properties:
  112. areauserid:
  113. description: 所属机构ID
  114. type: integer
  115. configid:
  116. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  117. type: integer
  118. createdate:
  119. description: 创建时间
  120. type: string
  121. creatorid:
  122. description: 创建人
  123. type: integer
  124. imagedetailpath:
  125. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  126. type: string
  127. imagepath:
  128. description: 图片
  129. type: string
  130. imagetype:
  131. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  132. type: integer
  133. isshow:
  134. description: 是否展示 - 0:不展示 1:展示
  135. type: integer
  136. marketid:
  137. description: 市场ID
  138. type: integer
  139. modifierid:
  140. description: 操作人
  141. type: integer
  142. sort:
  143. description: 排序
  144. type: integer
  145. title:
  146. description: 标题
  147. type: string
  148. trademode:
  149. description: 交易模式
  150. type: integer
  151. updatedate:
  152. description: 修改时间
  153. type: string
  154. url:
  155. description: 链接(地址或商品ID)
  156. type: string
  157. urltype:
  158. description: 链接类型 - 1:直接地址 2:商品ID
  159. type: integer
  160. required:
  161. - configid
  162. type: object
  163. common.QueryNoticeRsp:
  164. properties:
  165. auditoruserid:
  166. description: 审核人
  167. type: integer
  168. auditremark:
  169. description: 审核备注
  170. type: string
  171. audittime:
  172. description: 审核日期
  173. type: string
  174. autoid:
  175. description: 自增ID
  176. type: integer
  177. content:
  178. description: 内容
  179. type: string
  180. createtime:
  181. description: 创建时间
  182. type: string
  183. creatorid:
  184. description: 建仓人
  185. type: integer
  186. endtime:
  187. description: 结束时间
  188. type: string
  189. istop:
  190. description: 是否置顶 - 0:不置顶 1:置顶
  191. type: integer
  192. msgiconurl:
  193. description: 消息图标Url
  194. type: string
  195. msgtype:
  196. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  197. type: integer
  198. publisher:
  199. description: 消息发布者
  200. type: string
  201. readed:
  202. description: 是否已读
  203. type: boolean
  204. scheduletime:
  205. description: 计划发送时间
  206. type: string
  207. sendtype:
  208. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  209. type: integer
  210. sentstatus:
  211. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  212. type: integer
  213. title:
  214. description: 标题
  215. type: string
  216. userid:
  217. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  218. type: integer
  219. required:
  220. - autoid
  221. type: object
  222. common.QueryProvincesAndCitiesRsp:
  223. properties:
  224. cities:
  225. description: 市
  226. items:
  227. $ref: '#/definitions/models.Division'
  228. type: array
  229. province:
  230. $ref: '#/definitions/models.Division'
  231. description: 省
  232. type: object
  233. common.QueryTableDefineRsp:
  234. properties:
  235. columns:
  236. description: 列头信息数组
  237. items:
  238. $ref: '#/definitions/models.Tablecolumnconfig'
  239. type: array
  240. remark:
  241. description: Remark
  242. type: string
  243. tabelmenu:
  244. description: 列表菜单
  245. type: string
  246. tablekey:
  247. description: 列表Key
  248. type: string
  249. tablename:
  250. description: 列表名称
  251. type: string
  252. tabletype:
  253. description: 列表类型 - 1:管理端 2:终端
  254. type: integer
  255. required:
  256. - tablekey
  257. type: object
  258. common.QueryTraderMenuRsp:
  259. properties:
  260. OperationMenu:
  261. description: 功能菜单
  262. items:
  263. $ref: '#/definitions/models.OperationPrimaryMenu'
  264. type: array
  265. QuoteMenu:
  266. description: 报价牌分类菜单
  267. items:
  268. $ref: '#/definitions/models.QuotePrimaryMenu'
  269. type: array
  270. type: object
  271. cptrade.Cptradepositioncancel:
  272. properties:
  273. accountid:
  274. description: 申请人账户ID
  275. type: integer
  276. applystatus:
  277. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  278. type: integer
  279. applytime:
  280. description: 申请时间
  281. type: string
  282. cancelid:
  283. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  284. type: integer
  285. cancelqty:
  286. description: 注销数量
  287. type: integer
  288. createtime:
  289. description: 创建时间
  290. type: string
  291. creatorid:
  292. description: 创建人ID
  293. type: integer
  294. creatorname:
  295. description: 创建人
  296. type: string
  297. goodscode:
  298. description: 订单商品代码
  299. type: string
  300. goodsid:
  301. description: 商品ID
  302. type: integer
  303. goodsname:
  304. description: 订单商品名称
  305. type: string
  306. goodunit:
  307. description: 报价单位
  308. type: string
  309. handlestatus:
  310. description: 处理状态
  311. type: integer
  312. marketid:
  313. description: 市场ID
  314. type: integer
  315. marketname:
  316. description: 市场名称
  317. type: string
  318. tradedate:
  319. description: 交易日(yyyyMMdd)
  320. type: string
  321. userid:
  322. description: 申请人ID
  323. type: integer
  324. required:
  325. - cancelid
  326. type: object
  327. cptrade.Cptradepresaleapply:
  328. properties:
  329. accountid:
  330. description: 申请人账户ID
  331. type: integer
  332. applyid:
  333. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  334. type: integer
  335. applyremark:
  336. description: 申请备注
  337. type: string
  338. applystatus:
  339. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  340. type: integer
  341. applytime:
  342. description: 申请时间
  343. type: string
  344. attachmenturl:
  345. description: 附件地址
  346. type: string
  347. endtime:
  348. description: 预售结束时间
  349. type: string
  350. goodscode:
  351. description: 商品代码
  352. type: string
  353. goodsid:
  354. description: 商品ID
  355. type: integer
  356. goodsname:
  357. description: 商品名称
  358. type: string
  359. goodunit:
  360. description: 报价单位
  361. type: string
  362. handlestatus:
  363. description: 处理状态
  364. type: integer
  365. marketid:
  366. description: 预售市场ID
  367. type: integer
  368. marketname:
  369. description: 预售市场名称
  370. type: string
  371. presaleqty:
  372. description: 预售数量
  373. type: integer
  374. relatedgoodscode:
  375. description: 关联交易合约代码
  376. type: string
  377. relatedgoodsid:
  378. description: 关联交易合约ID
  379. type: integer
  380. relatedgoodsname:
  381. description: 关联交易合约名称
  382. type: string
  383. starttime:
  384. description: 预售开始时间
  385. type: string
  386. tradedate:
  387. description: 交易日(yyyyMMdd)
  388. type: string
  389. trademode:
  390. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  391. type: integer
  392. userid:
  393. description: 申请人ID
  394. type: integer
  395. required:
  396. - applyid
  397. type: object
  398. cptrade.Cptradeusergoodsdata:
  399. properties:
  400. EnabledQty:
  401. description: 可用量
  402. type: integer
  403. GoodsCode:
  404. description: 订单商品代码
  405. type: string
  406. GoodsName:
  407. description: 订单商品名称
  408. type: string
  409. WRStandardCode:
  410. description: 仓单标准代码
  411. type: string
  412. WRStandardName:
  413. description: 仓单标准名称
  414. type: string
  415. accountid:
  416. description: 账户ID
  417. type: integer
  418. cancelqty:
  419. description: 注销量
  420. type: integer
  421. curpresaleqty:
  422. description: 当前预售量
  423. type: integer
  424. deliveryqty:
  425. description: 交割量
  426. type: integer
  427. freezeamount:
  428. description: 冻结金额
  429. type: number
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. goodunit:
  434. description: 报价单位
  435. type: string
  436. hasspotfreeze:
  437. description: 是否有现货冻结 - 0:否 1:有
  438. type: integer
  439. inqty:
  440. description: 转入量(总数量)
  441. type: integer
  442. marketid:
  443. description: 市场ID
  444. type: integer
  445. presaledamount:
  446. description: 已预售总金额
  447. type: integer
  448. presaledqty:
  449. description: 已预售量
  450. type: integer
  451. userid:
  452. description: 用户ID
  453. type: integer
  454. wrstandardid:
  455. description: 仓单标准ID
  456. type: integer
  457. required:
  458. - accountid
  459. - goodsid
  460. type: object
  461. cptrade.QueryCPTradeMyBidRsp:
  462. properties:
  463. accountid:
  464. description: 账户ID[报价币种]
  465. type: integer
  466. goodsid:
  467. description: 商品ID
  468. type: integer
  469. goodunit:
  470. description: 报价单位
  471. type: string
  472. marketid:
  473. description: 市场ID
  474. type: integer
  475. orderid:
  476. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  477. type: integer
  478. orderprice:
  479. description: 委托价格
  480. type: number
  481. orderqty:
  482. description: 委托数量
  483. type: integer
  484. ordertime:
  485. description: 委托时间
  486. type: string
  487. ordertotalprice:
  488. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  489. type: number
  490. ordertotalweight:
  491. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  492. type: integer
  493. totaltotalprice:
  494. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  495. type: number
  496. tradeprice:
  497. description: 成交价格
  498. type: number
  499. tradeqty:
  500. description: 成交数量
  501. type: integer
  502. required:
  503. - accountid
  504. - goodsid
  505. - marketid
  506. - orderid
  507. - orderqty
  508. - ordertime
  509. - tradeprice
  510. - tradeqty
  511. type: object
  512. cptrade.QueryCPTradeOrderDetailRsq:
  513. properties:
  514. accountid:
  515. description: 账户ID[报价币种]
  516. type: integer
  517. buildtype:
  518. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  519. type: integer
  520. buyorsell:
  521. description: 买卖 - 0:买 1:卖
  522. type: integer
  523. cancelorderid:
  524. description: 撤单单号(撤单时填写)
  525. type: integer
  526. cancelqty:
  527. description: 撤单数量
  528. type: integer
  529. clientordertime:
  530. description: 客户端委托时间
  531. type: string
  532. clientticket:
  533. description: 客户端流水号
  534. type: string
  535. clienttype:
  536. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  537. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  538. type: integer
  539. closeexchagechargevalue:
  540. description: 平仓交易所手续费设置值
  541. type: number
  542. closefeealgorithm:
  543. description: 平仓手续费收取方式 1:比率 2:固定
  544. type: integer
  545. closefreezecharge:
  546. description: 平仓冻结手续费(先建后平操作,需要记录)
  547. type: number
  548. closememberchargevalue:
  549. description: 平仓会员手续费设置值
  550. type: number
  551. closeqty:
  552. description: 平仓数量(先建后平操作 需要记录)
  553. type: integer
  554. closetradeqty:
  555. description: 平仓成交数量(先建后平操作,需要记录)
  556. type: integer
  557. closeunfreezecharge:
  558. description: 平仓解冻手续费(先建后平操作,需要记录)
  559. type: number
  560. delistingtype:
  561. description: 摘牌类型 - 1:价格最优 2:点选成交
  562. type: integer
  563. freezecharge:
  564. description: 冻结手续费
  565. type: number
  566. freezemargin:
  567. description: 冻结保证金(冻结交易金额)
  568. type: number
  569. gcaccountid:
  570. description: 账户ID[合约币种]
  571. type: integer
  572. goodsid:
  573. description: 商品ID
  574. type: integer
  575. isconfirmexercise:
  576. description: 是否确认行权- 0:否 1:是
  577. type: integer
  578. ispreexercise:
  579. description: 是否预申报- 0:否 1:是
  580. type: integer
  581. listingselecttype:
  582. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  583. type: integer
  584. marginalgorithm:
  585. description: 保证金收取方式 1:比率 2:固定
  586. type: integer
  587. marginvalue:
  588. description: 即市保证金设置值
  589. type: number
  590. marketid:
  591. description: 市场ID
  592. type: integer
  593. marketmaxsub:
  594. description: 市价最大偏移范围
  595. type: number
  596. memberuserid:
  597. description: 所属会员UserID
  598. type: integer
  599. openexchagechargevalue:
  600. description: 建仓交易所手续费设置值
  601. type: number
  602. openfeealgorithm:
  603. description: 建仓手续费收取方式 1:比率 2:固定
  604. type: integer
  605. openfreezecharge:
  606. description: 开仓冻结手续费(先建后平操作,需要记录)
  607. type: number
  608. openmemberchargevalue:
  609. description: 建仓会员手续费设置值
  610. type: number
  611. openqty:
  612. description: 开仓数量(先建后平操作,需要记录)
  613. type: integer
  614. opentradeqty:
  615. description: 开仓成交数量(先建后平操作,需要记录)
  616. type: integer
  617. openunfreezecharge:
  618. description: 开仓解冻手续费(先建后平操作,需要记录)
  619. type: number
  620. operatetype:
  621. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  622. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  623. 15:管理端协议转让
  624. type: integer
  625. operatorid:
  626. description: 登录账号(LoginID)
  627. type: integer
  628. optiontype:
  629. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  630. type: integer
  631. orderprice:
  632. description: 委托价格
  633. type: number
  634. orderqty:
  635. description: 委托数量
  636. type: integer
  637. ordersrc:
  638. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  639. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  640. type: integer
  641. orderstatus:
  642. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  643. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  644. 16:成交失败违约(荷兰式竞拍专用)
  645. type: integer
  646. ordertime:
  647. description: 委托时间
  648. type: string
  649. preexerciseprice:
  650. description: 预申报价格
  651. type: number
  652. premium:
  653. description: 权利金
  654. type: number
  655. preorderid:
  656. description: 关联预埋单号(止盈止损单时填写)
  657. type: integer
  658. pricemode:
  659. description: '取价方式 - 1:市价 2: 限价'
  660. type: integer
  661. quoteid:
  662. description: 报价单ID
  663. type: integer
  664. relatedid:
  665. description: 关联单号(交割单)
  666. type: integer
  667. retcode:
  668. description: 错误代码
  669. type: integer
  670. sessionid:
  671. description: 会话ID
  672. type: integer
  673. strorderid:
  674. description: 委托单号
  675. type: string
  676. tradedate:
  677. description: 交易日(yyyyMMdd)
  678. type: string
  679. tradeproperty:
  680. description: 交易属性
  681. type: integer
  682. tradeqty:
  683. description: 成交数量
  684. type: integer
  685. unfreezecharge:
  686. description: 解冻手续费
  687. type: number
  688. unfreezemargin:
  689. description: 解冻保证金
  690. type: number
  691. updatetime:
  692. description: 更新时间
  693. type: string
  694. uuid:
  695. description: 发起端唯一id
  696. type: string
  697. validtime:
  698. description: 有效期限
  699. type: string
  700. validtype:
  701. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  702. type: integer
  703. volumetype:
  704. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  705. type: integer
  706. required:
  707. - accountid
  708. - buildtype
  709. - buyorsell
  710. - goodsid
  711. - marketid
  712. - memberuserid
  713. - operatetype
  714. - orderqty
  715. - ordertime
  716. - pricemode
  717. - strorderid
  718. - tradedate
  719. - validtype
  720. type: object
  721. cptrade.QueryMyCPTradeGoodsRsp:
  722. properties:
  723. accountid:
  724. description: 卖方账户ID
  725. type: integer
  726. agreeunit:
  727. description: 合约单位
  728. type: number
  729. applyid:
  730. description: 关联申请ID
  731. type: integer
  732. attachmenturl:
  733. description: 附件地址
  734. type: string
  735. createtime:
  736. description: 创建时间
  737. type: string
  738. currencyid:
  739. description: 报价货币ID
  740. type: integer
  741. decimalplace:
  742. description: 报价小数位
  743. type: integer
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodscode:
  751. description: 商品代码(预售)
  752. type: string
  753. goodsdetail:
  754. description: 详情[大宗]
  755. type: string
  756. goodsid:
  757. description: 商品ID(自增ID SEQ_GOODS)
  758. type: integer
  759. goodsname:
  760. description: 商品名称(预售)
  761. type: string
  762. goodunit:
  763. description: 报价单位
  764. type: string
  765. goodunitid:
  766. description: 报价单位ID
  767. type: integer
  768. marketid:
  769. description: 所属市场ID
  770. type: integer
  771. marketname:
  772. description: 预售市场名称
  773. type: string
  774. presaledamount:
  775. description: 已预售总金额(预售结束时更新)
  776. type: number
  777. presaledqty:
  778. description: 已预售量(预售结束时更新)
  779. type: integer
  780. presalemode:
  781. description: 预售模式 - 1:一口价 2:大宗式竞拍
  782. type: integer
  783. presaleqty:
  784. description: 预售数量
  785. type: integer
  786. refprice:
  787. description: 参考价格[一口价]
  788. type: number
  789. relatedgoodscode:
  790. description: 商品代码(订单)
  791. type: string
  792. relatedgoodsid:
  793. description: 关联交易合约ID
  794. type: integer
  795. relatedgoodsname:
  796. description: 商品名称(订单)
  797. type: string
  798. relatedmarketid:
  799. description: 关联交易合约市场ID
  800. type: integer
  801. sellstatus:
  802. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  803. type: integer
  804. startprice:
  805. description: 起拍价[大宗式竞拍]
  806. type: number
  807. starttime:
  808. description: 预售开始时间
  809. type: string
  810. tradedate:
  811. description: 交易日(yyyyMMdd)
  812. type: string
  813. tradeprice:
  814. description: 成交价[大宗]
  815. type: number
  816. userid:
  817. description: 卖方用户ID
  818. type: integer
  819. required:
  820. - goodscode
  821. - goodsid
  822. - goodsname
  823. - marketid
  824. - relatedgoodscode
  825. - relatedgoodsname
  826. type: object
  827. cptrade.QueryPresaleGoodsExRsp:
  828. properties:
  829. attachmenturl:
  830. description: 附件地址
  831. type: string
  832. createtime:
  833. description: 创建时间
  834. type: string
  835. endtime:
  836. description: 预售结束时间
  837. type: string
  838. floorprice:
  839. description: 底价[大宗式竞拍]
  840. type: number
  841. goodsdetail:
  842. description: 详情[大宗]
  843. type: string
  844. goodsid:
  845. description: 商品ID(预售)
  846. type: integer
  847. goodunit:
  848. description: 报价单位
  849. type: string
  850. marketid:
  851. description: 预售市场ID - 根据预售模式选择市场
  852. type: integer
  853. presaledamount:
  854. description: 已预售总金额(预售结束时更新)
  855. type: number
  856. presaledqty:
  857. description: 已预售量(预售结束时更新)
  858. type: integer
  859. presalemode:
  860. description: 预售模式 - 1:一口价 2:大宗式竞拍
  861. type: integer
  862. presaleqty:
  863. description: 预售数量
  864. type: integer
  865. refprice:
  866. description: 参考价格[一口价]
  867. type: number
  868. relatedgoodsid:
  869. description: 关联交易合约ID
  870. type: integer
  871. relatedmarketid:
  872. description: 关联交易合约市场ID
  873. type: integer
  874. sellstatus:
  875. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  876. type: integer
  877. startprice:
  878. description: 起拍价[大宗式竞拍]
  879. type: number
  880. starttime:
  881. description: 预售开始时间
  882. type: string
  883. tradedate:
  884. description: 交易日(yyyyMMdd)
  885. type: string
  886. tradeprice:
  887. description: 成交价[大宗]
  888. type: number
  889. required:
  890. - goodsid
  891. type: object
  892. delivery.QueryDeliveryRelationRsp:
  893. properties:
  894. begindate:
  895. description: 起始日期(yyyyMMdd)
  896. type: string
  897. buytemplateid:
  898. description: 买履约计划模板ID
  899. type: integer
  900. deliverygoodscode:
  901. description: 品种代码
  902. type: string
  903. deliverygoodsid:
  904. description: 交割商品
  905. type: integer
  906. deliverygoodsname:
  907. description: 品种名称
  908. type: string
  909. deliverymode:
  910. description: 交割方式 - 1:点选式 2:申报式
  911. type: integer
  912. deliverypricerule:
  913. description: 交割价规则- 1:行情价 2:建仓价
  914. type: integer
  915. deliverytype:
  916. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  917. type: integer
  918. enddate:
  919. description: 结束日期(yyyyMMdd)
  920. type: string
  921. enumdicname:
  922. description: 品类单位名称
  923. type: string
  924. goodscode:
  925. description: 商品代码
  926. type: string
  927. goodsid:
  928. description: 交易合约ID
  929. type: integer
  930. goodsname:
  931. description: 商品名称
  932. type: string
  933. marketid:
  934. description: 市场ID
  935. type: integer
  936. mindeliveryqty:
  937. description: 最小交割系数(K)
  938. type: integer
  939. p2deliveryprice:
  940. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  941. type: number
  942. p2deliveryratio:
  943. description: P2合约系数(p)
  944. type: integer
  945. p2goodsid:
  946. description: P2合约ID
  947. type: integer
  948. p2pricemode:
  949. description: P2合约价格方式 - 1:商品价 2:固定值
  950. type: integer
  951. pdeliveryprice:
  952. description: P合约价格(商品价时填写0,固定值时填写固定值)
  953. type: number
  954. pdeliveryratio:
  955. description: P合约系数(n)
  956. type: integer
  957. pgoodscode:
  958. description: p合约代码
  959. type: string
  960. pgoodsid:
  961. description: P合约ID
  962. type: integer
  963. ppricemode:
  964. description: P合约价格方式 - 1:商品价 2:固定值
  965. type: integer
  966. rratio:
  967. description: 兑换系数(R)
  968. type: integer
  969. rratio1:
  970. description: 兑换系数(交易合约)(R1)
  971. type: integer
  972. rratio2:
  973. description: 兑换系数(仓单标准)(R2)
  974. type: integer
  975. selltemplateid:
  976. description: 卖履约计划模板ID
  977. type: integer
  978. wrstandardid:
  979. description: 仓单标准ID
  980. type: integer
  981. xdeliveryratio:
  982. description: 交易合约系数(m)
  983. type: integer
  984. required:
  985. - begindate
  986. - enddate
  987. - goodsid
  988. - mindeliveryqty
  989. - xdeliveryratio
  990. type: object
  991. ermcp.ExposureDetailRsp:
  992. properties:
  993. areauserid:
  994. description: 机构ID
  995. type: integer
  996. changeQty:
  997. description: 套保变动量
  998. type: number
  999. contracttype:
  1000. description: 现货合同类型 - 1:采购 -1:销售
  1001. type: integer
  1002. convertfactor:
  1003. description: 标仓系数
  1004. type: number
  1005. convertratio:
  1006. description: 套保系数
  1007. type: number
  1008. createtime:
  1009. description: 时间
  1010. type: string
  1011. enumdicname:
  1012. description: 现货商品单位名称
  1013. type: string
  1014. logtype:
  1015. description: 类型 - 1:套保计划 2:现货合同
  1016. type: integer
  1017. middlegoodsId:
  1018. description: 套保商品id
  1019. type: integer
  1020. middlegoodscode:
  1021. description: 套保商品代码
  1022. type: string
  1023. middlegoodsname:
  1024. description: 套保商品名称
  1025. type: string
  1026. qty:
  1027. description: 数量
  1028. type: number
  1029. relateNo:
  1030. description: 现货合同/套保计划编号
  1031. type: string
  1032. wrstandardcode:
  1033. description: 现货商品代码
  1034. type: string
  1035. wrstandardid:
  1036. description: 现货商品ID
  1037. type: integer
  1038. wrstandardname:
  1039. description: 现货商品名称
  1040. type: string
  1041. type: object
  1042. ermcp.ExposureHedgePosDetailRsp:
  1043. properties:
  1044. buyorsell:
  1045. description: 买卖方向 0-买 1-卖
  1046. type: integer
  1047. channelbuildtype:
  1048. description: 开平方向 1-建仓 2-平仓
  1049. type: integer
  1050. goodscode:
  1051. description: 商品代码
  1052. type: string
  1053. goodsname:
  1054. description: 商品名称
  1055. type: string
  1056. hedgegoodsid:
  1057. description: 商品id
  1058. type: integer
  1059. tradeqty:
  1060. description: 数量(成交数量)
  1061. type: integer
  1062. tradetime:
  1063. description: 时间(成交时间)
  1064. type: string
  1065. type: object
  1066. ermcp.ExposureHedgePositionRsp:
  1067. properties:
  1068. accountid:
  1069. description: 资金账号[外部母账户]
  1070. type: integer
  1071. curbuyposition:
  1072. description: 期末买头寸
  1073. type: integer
  1074. cursellposition:
  1075. description: 期末卖头寸
  1076. type: integer
  1077. curtdbuyposition:
  1078. description: 期末今日买头寸
  1079. type: integer
  1080. curtdsellposition:
  1081. description: 期末今日卖头寸
  1082. type: integer
  1083. curydbuyposition:
  1084. description: 期末上日买头寸
  1085. type: integer
  1086. curydsellposition:
  1087. description: 期末上日卖头寸
  1088. type: integer
  1089. decreaseqty:
  1090. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1091. type: integer
  1092. fretdbuyposition:
  1093. description: 冻结今日买头寸
  1094. type: integer
  1095. fretdsellposition:
  1096. description: 冻结今日卖头寸
  1097. type: integer
  1098. freydbuyposition:
  1099. description: 冻结上日买头寸
  1100. type: integer
  1101. freydsellposition:
  1102. description: 冻结上日卖头寸
  1103. type: integer
  1104. goodscode:
  1105. description: 商品代码
  1106. type: string
  1107. goodsid:
  1108. description: 商品id
  1109. type: integer
  1110. goodsname:
  1111. description: 商品名称
  1112. type: string
  1113. hedgeaccountcode:
  1114. description: 对冲账号
  1115. type: string
  1116. hedgegoodsid:
  1117. description: 对冲合约ID
  1118. type: integer
  1119. increaseqty:
  1120. description: 增加数量 = 期末买头寸 - 期初买头寸
  1121. type: integer
  1122. marketid:
  1123. description: 市场ID
  1124. type: integer
  1125. relateduserid:
  1126. description: 关联用户id
  1127. type: integer
  1128. totalcurqty:
  1129. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1130. type: integer
  1131. totalydqty:
  1132. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1133. type: integer
  1134. tradedate:
  1135. description: 交易日(yyyyMMdd)
  1136. type: string
  1137. ydbuyposition:
  1138. description: 期初买头寸
  1139. type: integer
  1140. ydsellposition:
  1141. description: 期初卖头寸
  1142. type: integer
  1143. type: object
  1144. ermcp.ExposureSpotDetailRsp:
  1145. properties:
  1146. contracttype:
  1147. description: 合同类型 1-采购 -1-销售
  1148. type: integer
  1149. createtime:
  1150. description: 创建时间
  1151. type: string
  1152. enumdicname:
  1153. description: 现货商品单位名称
  1154. type: string
  1155. logtype:
  1156. description: 记录类型 1-套保 2-现货合同
  1157. type: integer
  1158. qty:
  1159. description: 数量
  1160. type: number
  1161. recordname:
  1162. description: 类型名称
  1163. type: string
  1164. relatedid:
  1165. description: 套保计划ID/现货合同ID
  1166. type: string
  1167. relatedno:
  1168. description: 编号
  1169. type: string
  1170. strtime:
  1171. description: 时间
  1172. type: string
  1173. wrstandardcode:
  1174. description: 现货商品代码
  1175. type: string
  1176. wrstandardname:
  1177. description: 现货商品名称
  1178. type: string
  1179. type: object
  1180. ermcp.ExposureSpotRsp:
  1181. properties:
  1182. areauserid:
  1183. description: 所属机构
  1184. type: integer
  1185. decreaseqty:
  1186. description: 减少数量=-(销售已定价数量+采购计划数量)
  1187. type: number
  1188. increaseqty:
  1189. description: 增加数量=销售计划数量+采购已定价数量
  1190. type: number
  1191. oritoalspotqty:
  1192. description: 昨日数量
  1193. type: number
  1194. totalspotqty:
  1195. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1196. type: number
  1197. updatetime:
  1198. description: 更新时间
  1199. type: string
  1200. wrstandardcode:
  1201. description: 现货品种代码
  1202. type: string
  1203. wrstandardid:
  1204. description: 现货商品ID
  1205. type: integer
  1206. wrstandardname:
  1207. description: 现货品种
  1208. type: string
  1209. type: object
  1210. ermcp.HisExposureRsp:
  1211. properties:
  1212. data:
  1213. description: 历史敞口
  1214. items:
  1215. $ref: '#/definitions/models.ErmcpHisExposure'
  1216. type: array
  1217. enumdicname:
  1218. description: 单位名称
  1219. type: string
  1220. middlegoodscode:
  1221. description: 套保品种代码
  1222. type: string
  1223. middlegoodsid:
  1224. description: 套保品种ID
  1225. type: integer
  1226. middlegoodsname:
  1227. description: 套保品种名称
  1228. type: string
  1229. type: object
  1230. ermcp.PendingAuditCntRsp:
  1231. properties:
  1232. areastockqty:
  1233. description: '待审核数量: 库存申请'
  1234. type: integer
  1235. businessdjqty:
  1236. description: '待审核数量: 点价'
  1237. type: integer
  1238. businessfpqty:
  1239. description: '待审核数量: 发票'
  1240. type: integer
  1241. businessjsqty:
  1242. description: '待审核数量: 结算'
  1243. type: integer
  1244. businesskxqty:
  1245. description: '待审核数量: 款项'
  1246. type: integer
  1247. hedgeplanqty:
  1248. description: '待审核数量: 套保计划'
  1249. type: integer
  1250. spotcontractqty:
  1251. description: '待审核数量: 现货合同'
  1252. type: integer
  1253. userqty:
  1254. description: '待审核数量: 用户'
  1255. type: integer
  1256. type: object
  1257. ermcp.QryAvalidGPRsp:
  1258. properties:
  1259. goodsgroupid:
  1260. description: 期货品种id
  1261. type: integer
  1262. goodsgroupname:
  1263. description: 期货品种名称
  1264. type: string
  1265. goodunitid:
  1266. description: 品种单位id
  1267. type: integer
  1268. goodunitname:
  1269. description: 品种单位名称
  1270. type: string
  1271. outergroupcode:
  1272. description: 期货品种代码
  1273. type: string
  1274. type: object
  1275. ermcp.QryBusinessDjRsp:
  1276. properties:
  1277. amount:
  1278. description: 点价金额=(点价价格+升贴水)*点价数量
  1279. type: number
  1280. applyid:
  1281. description: 申请人
  1282. type: string
  1283. applyname:
  1284. description: 申请人名称
  1285. type: string
  1286. applystatus:
  1287. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1288. type: integer
  1289. applytime:
  1290. description: 申请时间
  1291. type: string
  1292. attachurl:
  1293. description: 附件
  1294. type: string
  1295. auditid:
  1296. description: 审核人ID
  1297. type: string
  1298. auditname:
  1299. description: 审核人名称
  1300. type: string
  1301. auditremark:
  1302. description: 审核备注
  1303. type: string
  1304. audittime:
  1305. description: 审核时间
  1306. type: string
  1307. buyusername:
  1308. description: 采购方名称
  1309. type: string
  1310. contractno:
  1311. description: 合同编号
  1312. type: string
  1313. contractstatus:
  1314. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1315. type: integer
  1316. contracttype:
  1317. description: 现货合同类型 - 1:采购 -1:销售
  1318. type: integer
  1319. deliverygoodscode:
  1320. description: 现货品种代码
  1321. type: string
  1322. deliverygoodsid:
  1323. description: 现货商品ID
  1324. type: integer
  1325. deliverygoodsname:
  1326. description: 现货品种名称
  1327. type: string
  1328. enumdicname:
  1329. description: 单位名称
  1330. type: string
  1331. goodscode:
  1332. description: 点价合约
  1333. type: string
  1334. goodsname:
  1335. description: 商品名称
  1336. type: string
  1337. operateapplyid:
  1338. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1339. type: string
  1340. operateapplytype:
  1341. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1342. type: integer
  1343. pricedPrice:
  1344. description: 点价价格(非必填)
  1345. type: number
  1346. pricedQty:
  1347. description: 点价数量(非必填)
  1348. type: number
  1349. pricemove:
  1350. description: 升贴水
  1351. type: number
  1352. pricetype:
  1353. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1354. type: integer
  1355. relatedid:
  1356. description: 现货合同ID
  1357. type: string
  1358. sellusername:
  1359. description: 销售方名字
  1360. type: string
  1361. userid:
  1362. description: 用户ID
  1363. type: integer
  1364. wrstandardcode:
  1365. description: 品类代码
  1366. type: string
  1367. wrstandardid:
  1368. description: 品类id
  1369. type: integer
  1370. wrstandardname:
  1371. description: 品类名称
  1372. type: string
  1373. type: object
  1374. ermcp.QryBussinessFpRsp:
  1375. properties:
  1376. applyid:
  1377. description: 申请人
  1378. type: string
  1379. applyname:
  1380. description: 申请人名称
  1381. type: string
  1382. applystatus:
  1383. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1384. type: integer
  1385. applytime:
  1386. description: 申请时间
  1387. type: string
  1388. attachurl:
  1389. description: 附件
  1390. type: string
  1391. auditid:
  1392. description: 审核人ID
  1393. type: string
  1394. auditname:
  1395. description: 审核人名称
  1396. type: string
  1397. auditremark:
  1398. description: 审核备注
  1399. type: string
  1400. audittime:
  1401. description: 审核时间
  1402. type: string
  1403. buyusername:
  1404. description: 采购方名称
  1405. type: string
  1406. contractno:
  1407. description: 合同编号
  1408. type: string
  1409. contractstatus:
  1410. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1411. type: integer
  1412. contracttype:
  1413. description: 现货合同类型 - 1:采购 -1:销售
  1414. type: integer
  1415. deliverygoodscode:
  1416. description: 现货品种代码
  1417. type: string
  1418. deliverygoodsid:
  1419. description: 现货商品ID
  1420. type: integer
  1421. deliverygoodsname:
  1422. description: 现货品种名称
  1423. type: string
  1424. enumdicname:
  1425. description: 单位名称
  1426. type: string
  1427. goodscode:
  1428. description: 点价合约
  1429. type: string
  1430. goodsname:
  1431. description: 商品名称
  1432. type: string
  1433. invoiceamount:
  1434. description: 已开收票金额(销售为开票,采购为收票)
  1435. type: number
  1436. operateapplyid:
  1437. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1438. type: string
  1439. operateapplytype:
  1440. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1441. type: integer
  1442. pricemove:
  1443. description: 升贴水
  1444. type: number
  1445. pricetype:
  1446. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1447. type: integer
  1448. relatedid:
  1449. description: 现货合同ID
  1450. type: string
  1451. sellusername:
  1452. description: 销售方名字
  1453. type: string
  1454. userid:
  1455. description: 用户ID
  1456. type: integer
  1457. wrstandardcode:
  1458. description: 品类代码
  1459. type: string
  1460. wrstandardid:
  1461. description: 品类id
  1462. type: integer
  1463. wrstandardname:
  1464. description: 品类名称
  1465. type: string
  1466. type: object
  1467. ermcp.QryBussinessJsExRsp:
  1468. properties:
  1469. applyid:
  1470. description: 申请人
  1471. type: string
  1472. applyname:
  1473. description: 申请人名称
  1474. type: string
  1475. applystatus:
  1476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1477. type: integer
  1478. applytime:
  1479. description: 申请时间
  1480. type: string
  1481. attachurl:
  1482. description: 附件
  1483. type: string
  1484. auditid:
  1485. description: 审核人ID
  1486. type: string
  1487. auditname:
  1488. description: 审核人名称
  1489. type: string
  1490. auditremark:
  1491. description: 审核备注
  1492. type: string
  1493. audittime:
  1494. description: 审核时间
  1495. type: string
  1496. buyusername:
  1497. description: 采购方名称
  1498. type: string
  1499. contractno:
  1500. description: 合同编号
  1501. type: string
  1502. contractstatus:
  1503. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1504. type: integer
  1505. contracttype:
  1506. description: 现货合同类型 - 1:采购 -1:销售
  1507. type: integer
  1508. deliverygoodscode:
  1509. description: 现货品种代码
  1510. type: string
  1511. deliverygoodsid:
  1512. description: 现货商品ID
  1513. type: integer
  1514. deliverygoodsname:
  1515. description: 现货品种名称
  1516. type: string
  1517. enumdicname:
  1518. description: 单位名称
  1519. type: string
  1520. goodscode:
  1521. description: 点价合约
  1522. type: string
  1523. goodsname:
  1524. description: 商品名称
  1525. type: string
  1526. operateapplyid:
  1527. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1528. type: string
  1529. operateapplytype:
  1530. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1531. type: integer
  1532. pricemove:
  1533. description: 升贴水
  1534. type: number
  1535. pricetype:
  1536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1537. type: integer
  1538. reckontype:
  1539. description: 结算类型
  1540. type: string
  1541. reckonvalue:
  1542. description: 值
  1543. type: number
  1544. relatedid:
  1545. description: 现货合同ID
  1546. type: string
  1547. sellusername:
  1548. description: 销售方名字
  1549. type: string
  1550. userid:
  1551. description: 用户ID
  1552. type: integer
  1553. wrstandardcode:
  1554. description: 品类代码
  1555. type: string
  1556. wrstandardid:
  1557. description: 品类id
  1558. type: integer
  1559. wrstandardname:
  1560. description: 品类名称
  1561. type: string
  1562. type: object
  1563. ermcp.QryBussinessJsRsp:
  1564. properties:
  1565. addmargin:
  1566. description: 追加保证金(非必填)
  1567. type: number
  1568. applyid:
  1569. description: 申请人
  1570. type: string
  1571. applyname:
  1572. description: 申请人名称
  1573. type: string
  1574. applystatus:
  1575. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1576. type: integer
  1577. applytime:
  1578. description: 申请时间
  1579. type: string
  1580. attachurl:
  1581. description: 附件
  1582. type: string
  1583. auditid:
  1584. description: 审核人ID
  1585. type: string
  1586. auditname:
  1587. description: 审核人名称
  1588. type: string
  1589. auditremark:
  1590. description: 审核备注
  1591. type: string
  1592. audittime:
  1593. description: 审核时间
  1594. type: string
  1595. buyusername:
  1596. description: 采购方名称
  1597. type: string
  1598. contractno:
  1599. description: 合同编号
  1600. type: string
  1601. contractstatus:
  1602. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1603. type: integer
  1604. contracttype:
  1605. description: 现货合同类型 - 1:采购 -1:销售
  1606. type: integer
  1607. decmargin:
  1608. description: 减少保证金(非必填)
  1609. type: number
  1610. deliverygoodscode:
  1611. description: 现货品种代码
  1612. type: string
  1613. deliverygoodsid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. deliverygoodsname:
  1617. description: 现货品种名称
  1618. type: string
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 品类代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 品类id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 品类名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. auditremark:
  1695. description: 审核备注
  1696. type: string
  1697. audittime:
  1698. description: 审核时间
  1699. type: string
  1700. buyusername:
  1701. description: 采购方名称
  1702. type: string
  1703. contractno:
  1704. description: 合同编号
  1705. type: string
  1706. contractstatus:
  1707. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1708. type: integer
  1709. contracttype:
  1710. description: 现货合同类型 - 1:采购 -1:销售
  1711. type: integer
  1712. deductamount:
  1713. description: 退款(非必填)
  1714. type: number
  1715. deliverygoodscode:
  1716. description: 现货品种代码
  1717. type: string
  1718. deliverygoodsid:
  1719. description: 现货商品ID
  1720. type: integer
  1721. deliverygoodsname:
  1722. description: 现货品种名称
  1723. type: string
  1724. enumdicname:
  1725. description: 单位名称
  1726. type: string
  1727. goodscode:
  1728. description: 点价合约
  1729. type: string
  1730. goodsname:
  1731. description: 商品名称
  1732. type: string
  1733. kxtype:
  1734. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1735. type: integer
  1736. operateapplyid:
  1737. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1738. type: string
  1739. operateapplytype:
  1740. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1741. type: integer
  1742. payamount:
  1743. description: 收付款(非必填)
  1744. type: number
  1745. pricemove:
  1746. description: 升贴水
  1747. type: number
  1748. pricetype:
  1749. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1750. type: integer
  1751. relatedid:
  1752. description: 现货合同ID
  1753. type: string
  1754. sellusername:
  1755. description: 销售方名字
  1756. type: string
  1757. userid:
  1758. description: 用户ID
  1759. type: integer
  1760. wrstandardcode:
  1761. description: 品类代码
  1762. type: string
  1763. wrstandardid:
  1764. description: 品类id
  1765. type: integer
  1766. wrstandardname:
  1767. description: 品类名称
  1768. type: string
  1769. type: object
  1770. ermcp.QryGGCovertCfgRsp:
  1771. properties:
  1772. convertratio:
  1773. description: 折算系数
  1774. type: number
  1775. destgoodsgroupid:
  1776. description: 目标品种ID
  1777. type: integer
  1778. dstcode:
  1779. description: 目录品种代码
  1780. type: string
  1781. dstexchangecode:
  1782. description: 目标期货交易所
  1783. type: string
  1784. dstname:
  1785. description: 目标品种名称
  1786. type: string
  1787. dstunitid:
  1788. description: 目标品种单位ID
  1789. type: integer
  1790. dstunitidname:
  1791. description: 目标品种单位名称
  1792. type: string
  1793. modifytime:
  1794. description: 修改时间
  1795. type: string
  1796. srccode:
  1797. description: 源品种代码
  1798. type: string
  1799. srcexchangecode:
  1800. description: 源期货交易所
  1801. type: string
  1802. srcgoodsgroupid:
  1803. description: 源品种ID
  1804. type: integer
  1805. srcname:
  1806. description: 源品种名称
  1807. type: string
  1808. srcunitid:
  1809. description: 源品种单位ID
  1810. type: integer
  1811. srcunitidname:
  1812. description: 源品种单位名称
  1813. type: string
  1814. type: object
  1815. ermcp.QryMGChangeLogRsp:
  1816. properties:
  1817. aftervalue:
  1818. description: 变更后
  1819. type: number
  1820. applyid:
  1821. description: 操作人
  1822. type: integer
  1823. applyname:
  1824. description: 操作人名称
  1825. type: string
  1826. applysrc:
  1827. description: 操作来源 - 1:管理端 2:终端
  1828. type: integer
  1829. beforevalue:
  1830. description: 变更前
  1831. type: number
  1832. changelogtype:
  1833. description: 变更流水类型 - 1:套保比率变更
  1834. type: integer
  1835. handlestatus:
  1836. description: 处理状态
  1837. type: integer
  1838. logdatetime:
  1839. description: 流水日期
  1840. type: string
  1841. logid:
  1842. description: 流水ID
  1843. type: integer
  1844. logremark:
  1845. description: 流水备注
  1846. type: string
  1847. middlegoodsid:
  1848. description: 套保品种ID
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. updatetime:
  1854. description: 更新时间
  1855. type: string
  1856. type: object
  1857. ermcp.QryMiddleGoodsDetailRsp:
  1858. properties:
  1859. cvList:
  1860. description: 期货品种折算列表
  1861. items:
  1862. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1863. type: array
  1864. mg:
  1865. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1866. description: 套保品种基本信息
  1867. wrcList:
  1868. description: 现货品种列表(现货商品折算配置)
  1869. items:
  1870. $ref: '#/definitions/models.WRSConverTDetail'
  1871. type: array
  1872. type: object
  1873. ermcp.QryMiddleGoodsRsp:
  1874. properties:
  1875. areauserid:
  1876. description: 机构用户ID
  1877. type: integer
  1878. createtime:
  1879. description: 修改时间
  1880. type: string
  1881. enumdicname:
  1882. description: 单位名称
  1883. type: string
  1884. evaluateratio:
  1885. description: 估价系数
  1886. type: number
  1887. goodsgroupid:
  1888. description: 关联期货品种ID
  1889. type: integer
  1890. goodsunitid:
  1891. description: 单位ID
  1892. type: integer
  1893. isvalid:
  1894. description: 状态 0-无效(停用) 1-有效(正常)
  1895. type: integer
  1896. middlegoodscode:
  1897. description: 套保品种代码
  1898. type: string
  1899. middlegoodsid:
  1900. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1901. type: integer
  1902. middlegoodsname:
  1903. description: 套保品种名称
  1904. type: string
  1905. modifytime:
  1906. description: 修改时间
  1907. type: string
  1908. needarbitrageratio:
  1909. description: 套利比例
  1910. type: number
  1911. needhedgeratio:
  1912. description: 套保比率
  1913. type: number
  1914. qtydecimalplace:
  1915. description: 数量小数位
  1916. type: integer
  1917. relatedgoodsid:
  1918. description: 关联交易商品ID
  1919. type: integer
  1920. relatedgoodstype:
  1921. description: 关联商品类型 - 1:期货合约 2:现货品种
  1922. type: integer
  1923. remark:
  1924. description: 备注
  1925. type: string
  1926. type: object
  1927. ermcp.QryOPLogRsp:
  1928. properties:
  1929. aftervalue:
  1930. description: 变更后
  1931. type: number
  1932. applyid:
  1933. description: 操作人ID
  1934. type: string
  1935. applyname:
  1936. description: 操作人名称
  1937. type: string
  1938. beforevalue:
  1939. description: 变更前
  1940. type: number
  1941. biztype:
  1942. description: 业务类型 - 1:套保计划 2:现货合同
  1943. type: integer
  1944. contracttype:
  1945. description: 现货合同类型 - 1:采购 -1:销售
  1946. type: integer
  1947. logvalue:
  1948. description: 数值
  1949. type: number
  1950. operatelogtype:
  1951. description: 操作流水类型
  1952. type: integer
  1953. operatelogtypedesc:
  1954. description: 操作流水类型名称
  1955. type: string
  1956. relatedid:
  1957. description: 现货合同ID\套保计划
  1958. type: string
  1959. updatetime:
  1960. description: 更新时间
  1961. type: string
  1962. type: object
  1963. ermcp.QryUserInfoRsp:
  1964. properties:
  1965. address:
  1966. description: 通讯地址
  1967. type: string
  1968. attachment1:
  1969. description: 附件1
  1970. type: string
  1971. audittime:
  1972. description: 审核时间
  1973. type: string
  1974. cardbackphotourl:
  1975. description: 证件反面图片地址
  1976. type: string
  1977. cardfrontphotourl:
  1978. description: 证件正面图片地址
  1979. type: string
  1980. cardnum:
  1981. description: 证件号码
  1982. type: string
  1983. cardtype:
  1984. description: 证件类型
  1985. type: integer
  1986. cardtypename:
  1987. description: 证件类型名称
  1988. type: string
  1989. cityid:
  1990. description: 市
  1991. type: integer
  1992. contactname:
  1993. description: 联系人
  1994. type: string
  1995. countryid:
  1996. description: 国家
  1997. type: integer
  1998. createtime:
  1999. description: 创建时间
  2000. type: string
  2001. customername:
  2002. description: 企业名称
  2003. type: string
  2004. districtid:
  2005. description: 区域
  2006. type: integer
  2007. email:
  2008. description: 邮件
  2009. type: string
  2010. legalpersonname:
  2011. description: 法人姓名(企业)
  2012. type: string
  2013. memberuserid:
  2014. description: 所属机构ID
  2015. type: integer
  2016. mobile:
  2017. description: 手机号码
  2018. type: string
  2019. modifytime:
  2020. description: 修改时间
  2021. type: string
  2022. nickname:
  2023. description: 昵称
  2024. type: string
  2025. provinceid:
  2026. description: 省
  2027. type: integer
  2028. remark:
  2029. description: 备注
  2030. type: string
  2031. status:
  2032. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2033. type: integer
  2034. statusdesc:
  2035. description: 账户状态中文描述
  2036. type: string
  2037. taxpayernum:
  2038. description: 纳税人识别号
  2039. type: string
  2040. telphone:
  2041. description: 联系电话
  2042. type: string
  2043. userid:
  2044. description: 用户ID
  2045. type: integer
  2046. userinfotype:
  2047. description: 客户类型
  2048. type: string
  2049. type: object
  2050. ermcp.QryWarehouseRsp:
  2051. properties:
  2052. address:
  2053. description: 详细地址
  2054. type: string
  2055. areauserid:
  2056. description: 所属机构
  2057. type: integer
  2058. autoid:
  2059. description: 自增ID(仓库ID)
  2060. type: integer
  2061. cityid:
  2062. description: 市
  2063. type: integer
  2064. contactname:
  2065. description: 联系人
  2066. type: string
  2067. contactnum:
  2068. description: 联系电话
  2069. type: string
  2070. countryid:
  2071. description: 国家
  2072. type: integer
  2073. createtime:
  2074. description: 创建时间
  2075. type: string
  2076. districtid:
  2077. description: 区
  2078. type: integer
  2079. hasvideo:
  2080. description: 是否有视频 - 0:无 1:有
  2081. type: integer
  2082. provinceid:
  2083. description: 省
  2084. type: integer
  2085. remark:
  2086. description: 审核备注
  2087. type: string
  2088. videourl:
  2089. description: 视频地址
  2090. type: string
  2091. warehousecode:
  2092. description: 仓库代码
  2093. type: string
  2094. warehousename:
  2095. description: 仓库名称
  2096. type: string
  2097. warehousestatus:
  2098. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2099. type: integer
  2100. warehousetype:
  2101. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2102. type: integer
  2103. type: object
  2104. ermcp.QueryErmcpTradePositionRsp:
  2105. properties:
  2106. agreeunit:
  2107. description: 合约单位
  2108. type: number
  2109. buyorsell:
  2110. description: 方向 - 0:买 1:卖
  2111. type: integer
  2112. curpositionqty:
  2113. description: 持仓(总仓数量, 期末头寸)
  2114. type: integer
  2115. curtdposition:
  2116. description: 今仓数量(期末今日头寸)
  2117. type: integer
  2118. curtdpositionenabled:
  2119. description: 今仓可用
  2120. type: integer
  2121. decimalplace:
  2122. description: 报价小数位
  2123. type: integer
  2124. enableqty:
  2125. description: 可用(总仓可用)
  2126. type: integer
  2127. exexchangename:
  2128. description: 外部交易所名称
  2129. type: string
  2130. exexehangecode:
  2131. description: 外部交易所代码
  2132. type: string
  2133. exexehangeid:
  2134. description: 外部交易所id
  2135. type: integer
  2136. goodscode:
  2137. description: 商品代码(内部)
  2138. type: string
  2139. goodsid:
  2140. description: 商品ID(自增ID SEQ_GOODS)
  2141. type: integer
  2142. goodsname:
  2143. description: 商品名称
  2144. type: string
  2145. last:
  2146. description: 现价
  2147. type: number
  2148. marketid:
  2149. description: 所属市场ID
  2150. type: integer
  2151. openaverageprice:
  2152. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2153. type: number
  2154. opencost:
  2155. description: 开仓成本
  2156. type: number
  2157. openpl:
  2158. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2159. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2160. type: number
  2161. outgoodscode:
  2162. description: 商品代码(外部)
  2163. type: string
  2164. positionaverageprice:
  2165. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2166. type: number
  2167. positioncost:
  2168. description: 持仓成本
  2169. type: number
  2170. positionpl:
  2171. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2172. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2173. type: number
  2174. positionplrate:
  2175. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2176. type: number
  2177. usedmargin:
  2178. description: 占用保证金
  2179. type: number
  2180. type: object
  2181. ermcp.RealtimeExposurePositionRsp:
  2182. properties:
  2183. agreeunit:
  2184. description: 合约单位
  2185. type: string
  2186. areauserid:
  2187. description: 所属机构id
  2188. type: integer
  2189. convertratio:
  2190. description: 期货品种系数(折算系数)
  2191. type: number
  2192. curqty:
  2193. description: 当前持仓
  2194. type: integer
  2195. diffhedgeqty:
  2196. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2197. type: number
  2198. diffqty:
  2199. description: 持仓变动量=当前持仓-昨日持仓
  2200. type: integer
  2201. goodscode:
  2202. description: 商品代码
  2203. type: string
  2204. goodsid:
  2205. description: 商品id
  2206. type: integer
  2207. goodsname:
  2208. description: 商品名称
  2209. type: string
  2210. middlegoodsid:
  2211. description: 套保商品id
  2212. type: integer
  2213. ydqty:
  2214. description: 昨日持仓
  2215. type: integer
  2216. type: object
  2217. ermcp.RealtimeExposureRsp:
  2218. properties:
  2219. AreaUserID:
  2220. description: 所属机构
  2221. type: integer
  2222. BuyFutureQty:
  2223. description: 买入期货数量
  2224. type: number
  2225. BuyPlanQty:
  2226. description: 采购计划数量
  2227. type: number
  2228. BuyPricedQty:
  2229. description: 采购合同已定价数量
  2230. type: number
  2231. MiddleGoodsCode:
  2232. description: 套保品种代码
  2233. type: string
  2234. MiddleGoodsHedgeRatio:
  2235. description: 套保比例
  2236. type: number
  2237. MiddleGoodsID:
  2238. description: 套保品种
  2239. type: integer
  2240. MiddleGoodsName:
  2241. description: 套保品种名称
  2242. type: string
  2243. NeedHedgeExposoure:
  2244. description: 应套保敞口(套保敞口)
  2245. type: number
  2246. NeedHedgeRatio:
  2247. description: 应套保敞口比例
  2248. type: number
  2249. OriBuyFutureQty:
  2250. description: 期初买入期货数量
  2251. type: number
  2252. OriBuyPlanQty:
  2253. description: 期初采购计划数量
  2254. type: number
  2255. OriBuyPricedQty:
  2256. description: 期初采购合同已定价数量
  2257. type: number
  2258. OriSellFutureQty:
  2259. description: 期初卖出期货数量
  2260. type: number
  2261. OriSellPlanQty:
  2262. description: 期初销售计划数量
  2263. type: number
  2264. OriSellPricedQty:
  2265. description: 期初销售合同已定价数量
  2266. type: number
  2267. OriTotalSpotQty:
  2268. description: 期初现货总量
  2269. type: number
  2270. SellFutureQty:
  2271. description: 卖出期货数量
  2272. type: number
  2273. SellPlanQty:
  2274. description: 销售计划数量
  2275. type: number
  2276. SellPricedQty:
  2277. description: 销售合同已定价数量
  2278. type: number
  2279. TotalExposure:
  2280. description: 总敞口 平安:净敞口
  2281. type: number
  2282. TotalFutureQty:
  2283. description: 期货总量 平安:保值净持仓量
  2284. type: number
  2285. TotalHedgeRatio:
  2286. description: 敞口比例
  2287. type: number
  2288. TotalNeedHedgeQty:
  2289. description: 应套保总量(现货应套保总量)
  2290. type: number
  2291. TotalSpotQty:
  2292. description: 现货总量 平安:采销定价净值
  2293. type: number
  2294. arbitrageqty:
  2295. description: 套利量
  2296. type: number
  2297. diffArbitrageQty:
  2298. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2299. type: number
  2300. diffExposoureQty:
  2301. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2302. type: number
  2303. diffFutuQty:
  2304. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2305. type: number
  2306. diffHedgeQty:
  2307. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2308. type: number
  2309. diffQty:
  2310. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2311. type: number
  2312. diffSpotHedgeQty:
  2313. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2314. type: number
  2315. diffSpotQty:
  2316. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2317. type: number
  2318. enumdicname:
  2319. description: 单位名称
  2320. type: string
  2321. hedgeqty:
  2322. description: 套保量
  2323. type: number
  2324. needarbitrageqty:
  2325. description: 应套利量
  2326. type: number
  2327. needarbitrageratio:
  2328. description: 套利比例
  2329. type: number
  2330. needhedgeqty:
  2331. description: 应套保量
  2332. type: number
  2333. oriarbitrageqty:
  2334. description: 期初套利量
  2335. type: number
  2336. orihedgeqty:
  2337. description: 期初套保量
  2338. type: number
  2339. orineedhedgeexposoure:
  2340. description: 期初套保敞口
  2341. type: number
  2342. oritotalexposure:
  2343. description: 期初总敞口
  2344. type: number
  2345. oritotalfutureqty:
  2346. description: 期初期货总量
  2347. type: number
  2348. oritotalneedhedgeqty:
  2349. description: 期初现货应套保量
  2350. type: number
  2351. type: object
  2352. erms2.QueryArbitrageStrategyRsp:
  2353. properties:
  2354. applybasis:
  2355. description: 申请基差
  2356. type: number
  2357. asapplyid:
  2358. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2359. type: string
  2360. asname:
  2361. description: 策略名称
  2362. type: string
  2363. asno:
  2364. description: 策略编号
  2365. type: string
  2366. basischangepl:
  2367. description: 基差变动损益[结算更新]
  2368. type: number
  2369. biztype:
  2370. description: 业务类型 - 1:正向套利 -1:反向套利
  2371. type: integer
  2372. closetradedate:
  2373. description: 完结交易日(yyyyMMdd)
  2374. type: string
  2375. curbasis:
  2376. description: 当前基差[结算更新]
  2377. type: number
  2378. deliverygoodsid:
  2379. description: 现货品种ID
  2380. type: integer
  2381. futureavgprice:
  2382. description: 期货建仓均价
  2383. type: number
  2384. futurecloseamount:
  2385. description: 期货平仓金额
  2386. type: number
  2387. futurecloseqty:
  2388. description: 期货平仓数量
  2389. type: number
  2390. futureopenamount:
  2391. description: 期货开仓金额
  2392. type: number
  2393. futureopenqty:
  2394. description: 期货开仓数量
  2395. type: number
  2396. futurepl:
  2397. description: 期货总盈亏[结算更新]
  2398. type: number
  2399. futureqty:
  2400. description: 期货持仓数量
  2401. type: number
  2402. futurequote:
  2403. description: 期货额度
  2404. type: number
  2405. goodsgroupid:
  2406. description: 期货品种ID
  2407. type: integer
  2408. marketid:
  2409. description: 市场ID
  2410. type: integer
  2411. netexposure:
  2412. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2413. type: number
  2414. netexposurepl:
  2415. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2416. type: number
  2417. netexposurerate:
  2418. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2419. type: number
  2420. openbasis:
  2421. description: 建仓基差
  2422. type: number
  2423. pricedspotqty:
  2424. description: 已定价现货数量
  2425. type: number
  2426. pricedspotqtynotax:
  2427. description: 已定价现货不含税数量
  2428. type: number
  2429. remark:
  2430. description: 备注
  2431. type: string
  2432. spotavgprice:
  2433. description: 现货均价
  2434. type: number
  2435. spotbuyamount:
  2436. description: 现货采购金额
  2437. type: number
  2438. spotbuyqty:
  2439. description: 现货采购数量
  2440. type: number
  2441. spotpl:
  2442. description: 现货总盈亏[结算更新]
  2443. type: number
  2444. spotquota:
  2445. description: 现货额度
  2446. type: number
  2447. spotsellamount:
  2448. description: 现货销售金额
  2449. type: number
  2450. spotsellqty:
  2451. description: 现货销售数量
  2452. type: number
  2453. spotusedquota:
  2454. description: 现货占用资金
  2455. type: number
  2456. strategystatus:
  2457. description: 策略状态 - 0:未结束 1:已结束
  2458. type: integer
  2459. totalpl:
  2460. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2461. type: number
  2462. tradedate:
  2463. description: 交易日(yyyyMMdd)
  2464. type: string
  2465. updatetime:
  2466. description: 更新时间
  2467. type: string
  2468. usedquota:
  2469. description: 已占用资金
  2470. type: number
  2471. userid:
  2472. description: 所属机构
  2473. type: integer
  2474. required:
  2475. - asapplyid
  2476. type: object
  2477. erms2.QueryInnerTradeDetailRsp:
  2478. properties:
  2479. accountid:
  2480. description: 账号ID
  2481. type: integer
  2482. agreeunit:
  2483. description: 合约单位
  2484. type: number
  2485. asapplyid:
  2486. description: 策略申请ID
  2487. type: integer
  2488. asname:
  2489. description: 策略名称
  2490. type: string
  2491. asno:
  2492. description: 策略编号
  2493. type: string
  2494. buyorsell:
  2495. description: 方向 - 0:买 1:卖
  2496. type: integer
  2497. channelbuildtype:
  2498. description: 委托单据类型 0:无 1:建仓 2:平仓
  2499. type: integer
  2500. closetype:
  2501. description: 平仓方式 - 0:无 1:平今 2:平昨
  2502. type: integer
  2503. decimalplace:
  2504. description: 报价小数位
  2505. type: integer
  2506. detailtype:
  2507. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2508. type: integer
  2509. exexchangecode:
  2510. description: 外部交易所代码
  2511. type: string
  2512. exexchangename:
  2513. description: 外部交易所名称
  2514. type: string
  2515. goodscode:
  2516. description: 商品代码(合约)
  2517. type: string
  2518. goodsgroupid:
  2519. description: 商品组ID(品种ID)
  2520. type: integer
  2521. goodsgroupname:
  2522. description: 商品组名称(品种)
  2523. type: string
  2524. goodsid:
  2525. description: 商品ID
  2526. type: integer
  2527. goodsname:
  2528. description: 商品名称(合约)
  2529. type: string
  2530. goodunit:
  2531. description: 报价单位
  2532. type: string
  2533. marketid:
  2534. description: 市场ID
  2535. type: integer
  2536. orderid:
  2537. description: 委托单号
  2538. type: string
  2539. outgoodscode:
  2540. description: 商品代码(外部)
  2541. type: string
  2542. relatedouttradeid:
  2543. description: 关联外部成交单ID
  2544. type: string
  2545. remark:
  2546. description: 备注
  2547. type: string
  2548. spotcontractid:
  2549. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2550. type: integer
  2551. spotcontractno:
  2552. description: 现货合同编号
  2553. type: string
  2554. tradeid:
  2555. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2556. type: string
  2557. tradeprice:
  2558. description: 成交价格
  2559. type: number
  2560. tradeqty:
  2561. description: 成交数量
  2562. type: integer
  2563. tradetime:
  2564. description: 成交时间
  2565. type: string
  2566. updatetime:
  2567. description: 更新时间
  2568. type: string
  2569. required:
  2570. - asapplyid
  2571. - buyorsell
  2572. - goodscode
  2573. - goodsgroupid
  2574. - goodsgroupname
  2575. - goodsname
  2576. - tradeid
  2577. type: object
  2578. erms2.QuerySpotContractRsp:
  2579. properties:
  2580. accountid:
  2581. description: 资金账户ID
  2582. type: integer
  2583. areauserid:
  2584. description: 所属机构
  2585. type: integer
  2586. closedate:
  2587. description: 终止日期
  2588. type: string
  2589. closeremark:
  2590. description: 结束备注
  2591. type: string
  2592. closetradedate:
  2593. description: 完结交易日(yyyyMMdd)
  2594. type: string
  2595. closetype:
  2596. description: 终止类型 - 1:违约 2:提前终止
  2597. type: integer
  2598. contractamount:
  2599. description: 合同金额
  2600. type: number
  2601. contractattachment:
  2602. description: 合同附件
  2603. type: string
  2604. contractno:
  2605. description: 现货合同编号
  2606. type: string
  2607. contractqty:
  2608. description: 合同数量(数值) (用于计算)
  2609. type: number
  2610. contractqtychar:
  2611. description: 合同数量\已订价数量 (用于显示)
  2612. type: string
  2613. contractstatus:
  2614. description: 合同状态 - 0:未结束 1:已结束
  2615. type: integer
  2616. contracttype:
  2617. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2618. type: integer
  2619. customeraccountid:
  2620. description: 客户资金账户ID
  2621. type: integer
  2622. customeruserid:
  2623. description: 客户ID
  2624. type: integer
  2625. deliverygoodsdesc:
  2626. description: 品种说明
  2627. type: string
  2628. deliverygoodsid:
  2629. description: 现货品种ID
  2630. type: integer
  2631. handlestatus:
  2632. description: 处理状态
  2633. type: integer
  2634. invoiceatt:
  2635. description: 发票附件
  2636. type: string
  2637. invoicedatetime:
  2638. description: 开收票更新时间
  2639. type: string
  2640. invoiceopentime:
  2641. description: 开票时间
  2642. type: string
  2643. invoiceremark:
  2644. description: 发票备注
  2645. type: string
  2646. invoicestatus:
  2647. description: 开收票状态 - 0:未开票 1:已开票
  2648. type: integer
  2649. lastdate:
  2650. description: 交货时间
  2651. type: string
  2652. marketid:
  2653. description: 市场ID
  2654. type: integer
  2655. paydatetime:
  2656. description: 收付款更新时间
  2657. type: string
  2658. payremark:
  2659. description: 收付款备注
  2660. type: string
  2661. paystatus:
  2662. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2663. type: integer
  2664. positionqty:
  2665. description: 头寸数量 - 合同数量去小数部分
  2666. type: integer
  2667. producttype:
  2668. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2669. type: integer
  2670. relatedqty:
  2671. description: 已关联数量
  2672. type: number
  2673. relatedstatus:
  2674. description: 关联完结状态 - 0:未结束 1:已结束
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. signdate:
  2680. description: 签订日期
  2681. type: string
  2682. spotcontractid:
  2683. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2684. type: string
  2685. spotdatetime:
  2686. description: 收发货更新时间
  2687. type: string
  2688. spotprice:
  2689. description: 价格
  2690. type: number
  2691. spotremark:
  2692. description: 收发货备注
  2693. type: string
  2694. spotstatus:
  2695. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2696. type: integer
  2697. tradedate:
  2698. description: 交易日(yyyyMMdd)
  2699. type: string
  2700. userid:
  2701. description: 业务员用户ID
  2702. type: integer
  2703. warehouseid:
  2704. description: 仓库ID
  2705. type: integer
  2706. wrfactortypeid:
  2707. description: 仓单要素类型ID
  2708. type: integer
  2709. wrstandardid:
  2710. description: 仓单标准ID(SEQ_WRSTANDARD)
  2711. type: integer
  2712. required:
  2713. - spotcontractid
  2714. type: object
  2715. erms3.AddErms2ASApplyReq:
  2716. properties:
  2717. applybasis:
  2718. description: 申请基差
  2719. type: number
  2720. applystatus:
  2721. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2722. type: integer
  2723. asapplyid:
  2724. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2725. type: integer
  2726. asname:
  2727. description: 策略名称
  2728. type: string
  2729. asno:
  2730. description: 策略编号
  2731. type: string
  2732. auditid:
  2733. description: 审核人
  2734. type: integer
  2735. auditremark:
  2736. description: 审核备注
  2737. type: string
  2738. audittime:
  2739. description: 审核时间
  2740. type: string
  2741. biztype:
  2742. description: 业务类型 - 1:正向套利 2:反向套利
  2743. type: integer
  2744. createtime:
  2745. description: 创建时间
  2746. type: string
  2747. creatorid:
  2748. description: 创建人
  2749. type: integer
  2750. deliverygoodsid:
  2751. description: 现货品种ID
  2752. type: integer
  2753. futurequote:
  2754. description: 期货额度
  2755. type: number
  2756. goodsgroupid:
  2757. description: 期货品种ID
  2758. type: integer
  2759. marketid:
  2760. description: 市场ID
  2761. type: integer
  2762. remark:
  2763. description: 备注
  2764. type: string
  2765. spotquota:
  2766. description: 现货额度
  2767. type: number
  2768. tradedate:
  2769. description: 交易日(yyyyMMdd)
  2770. type: string
  2771. userid:
  2772. description: 所属机构
  2773. type: integer
  2774. required:
  2775. - asapplyid
  2776. type: object
  2777. erms3.AddErms2SpotTradeApplyReq:
  2778. properties:
  2779. applyjsondetail:
  2780. description: 申请明细(JSON)
  2781. type: string
  2782. applystatus:
  2783. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2784. type: integer
  2785. areauserid:
  2786. description: 所属机构
  2787. type: integer
  2788. auditid:
  2789. description: 审核人
  2790. type: integer
  2791. auditremark:
  2792. description: 审核备注
  2793. type: string
  2794. audittime:
  2795. description: 审核时间
  2796. type: string
  2797. createtime:
  2798. description: 创建时间
  2799. type: string
  2800. creatorid:
  2801. description: 创建人
  2802. type: integer
  2803. deliverygoodsid:
  2804. description: 现货品种ID
  2805. type: integer
  2806. futureaccountid:
  2807. description: 期货资金账户
  2808. type: integer
  2809. goodsgroupid:
  2810. description: 期货品种
  2811. type: integer
  2812. marketid:
  2813. description: 市场ID
  2814. type: integer
  2815. remark:
  2816. description: 备注
  2817. type: string
  2818. spotaccountid:
  2819. description: 现货资金账户
  2820. type: integer
  2821. spottradeid:
  2822. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2823. type: integer
  2824. spottradename:
  2825. description: 业务名称
  2826. type: string
  2827. spottradeno:
  2828. description: 业务编号
  2829. type: string
  2830. tradedate:
  2831. description: 交易日(yyyyMMdd)
  2832. type: string
  2833. wrstandardid:
  2834. description: 仓单标准ID
  2835. type: integer
  2836. required:
  2837. - spottradeid
  2838. type: object
  2839. erms3.AddSpotContractApplyReq:
  2840. properties:
  2841. accountid:
  2842. description: 资金账户ID
  2843. type: integer
  2844. areauserid:
  2845. description: 所属机构
  2846. type: integer
  2847. contractattachment:
  2848. description: 合同附件
  2849. type: string
  2850. contractno:
  2851. description: 现货合同编号
  2852. type: string
  2853. contracttype:
  2854. description: 现货合同类型 - 1:采购 -1:销售
  2855. type: integer
  2856. creatorid:
  2857. description: 申请人
  2858. type: integer
  2859. customeraccountid:
  2860. description: 客户资金账户ID
  2861. type: integer
  2862. customeruserid:
  2863. description: 客户ID
  2864. type: integer
  2865. details:
  2866. description: 明细
  2867. items:
  2868. $ref: '#/definitions/erms3.SoptContractDetail'
  2869. type: array
  2870. orimargin:
  2871. description: 初始保证金
  2872. type: number
  2873. remark:
  2874. description: 备注
  2875. type: string
  2876. signdate:
  2877. description: 签订日期
  2878. type: string
  2879. required:
  2880. - accountid
  2881. - areauserid
  2882. - contractno
  2883. - contracttype
  2884. - customeraccountid
  2885. - customeruserid
  2886. - details
  2887. - orimargin
  2888. - signdate
  2889. type: object
  2890. erms3.AddSpotContractApplyRsp:
  2891. properties:
  2892. contractno:
  2893. description: 现货合同编号
  2894. type: string
  2895. spotcontractid:
  2896. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2897. type: integer
  2898. required:
  2899. - contractno
  2900. type: object
  2901. erms3.AddUserInfoApplyReq:
  2902. properties:
  2903. accountid:
  2904. description: 交易系统帐号Id (加密存储)
  2905. type: integer
  2906. areacode:
  2907. description: 机构代码
  2908. type: string
  2909. areaid:
  2910. description: 机构Id
  2911. type: integer
  2912. attachment1:
  2913. description: 附件1
  2914. type: string
  2915. attachment2:
  2916. description: 附件2
  2917. type: string
  2918. attachment3:
  2919. description: 附件3
  2920. type: string
  2921. attachment4:
  2922. description: 附件4
  2923. type: string
  2924. attachment5:
  2925. description: 附件5
  2926. type: string
  2927. auditedby:
  2928. description: 审核人
  2929. type: string
  2930. auditime:
  2931. description: 审核时间
  2932. type: string
  2933. auditsrc:
  2934. description: 审核来源 - 1:管理端 2:终端
  2935. type: integer
  2936. bankaccount:
  2937. description: 银行帐号 (加密存储)
  2938. type: string
  2939. bankaccountname:
  2940. description: 收款人名称
  2941. type: string
  2942. bankcardbackphotourl:
  2943. description: 银行卡背面照地址
  2944. type: string
  2945. bankcardfrontphotourl:
  2946. description: 银行卡正面照地址
  2947. type: string
  2948. bankid:
  2949. description: 银行编码
  2950. type: string
  2951. bankname:
  2952. description: 银行名称
  2953. type: string
  2954. bankpictureurl:
  2955. description: 银行卡正面地址
  2956. type: string
  2957. biznature:
  2958. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2959. type: integer
  2960. bizscope:
  2961. description: 企业经营范围(企业)
  2962. type: string
  2963. biztype:
  2964. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2965. type: integer
  2966. brokerid:
  2967. description: 经纪人ID(加密存储)
  2968. type: string
  2969. cardaddress:
  2970. description: 证件地址 (加密存储)
  2971. type: string
  2972. cardbackphotourl:
  2973. description: 背面证件照地址
  2974. type: string
  2975. cardfrontphotourl:
  2976. description: 正面证件照地址
  2977. type: string
  2978. cardnum:
  2979. description: 证件号码 (加密存储)
  2980. type: string
  2981. cardtype:
  2982. description: 证件类型
  2983. type: integer
  2984. cityid:
  2985. description: 市
  2986. type: integer
  2987. company:
  2988. description: 公司(个人)
  2989. type: string
  2990. contactcardbackphotourl:
  2991. description: 联系人证件背面图片地址
  2992. type: string
  2993. contactcardfrontphotourl:
  2994. description: 联系人证件正面图片地址
  2995. type: string
  2996. contactname:
  2997. description: 联系人
  2998. type: string
  2999. countryid:
  3000. description: 国家
  3001. type: integer
  3002. createtime:
  3003. description: 开户申请时间
  3004. type: string
  3005. cusbankid:
  3006. description: 签约类型
  3007. type: string
  3008. cusbankname:
  3009. description: 签约类型名称
  3010. type: string
  3011. customername:
  3012. description: 客户名称(企业名称)
  3013. type: string
  3014. districtid:
  3015. description: 地区
  3016. type: integer
  3017. email:
  3018. description: Email地址(加密存储)
  3019. type: string
  3020. halfbodyphotourl:
  3021. description: 半身照地址
  3022. type: string
  3023. headurl:
  3024. description: 头像地址
  3025. type: string
  3026. ipaddress:
  3027. description: IP地址
  3028. type: string
  3029. isvalidate:
  3030. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3031. type: string
  3032. legalcardbackphotourl:
  3033. description: 法人身份证背面照地址
  3034. type: string
  3035. legalcardfrontphotourl:
  3036. description: 法人身份证正面照地址
  3037. type: string
  3038. legalpersonname:
  3039. description: 法人姓名(企业)
  3040. type: string
  3041. logincode:
  3042. description: 登录帐号 (加密存储)
  3043. type: string
  3044. memberareaid:
  3045. description: 所属会员ID
  3046. type: integer
  3047. mobile2:
  3048. description: 手机号码[明文-尚志]
  3049. type: string
  3050. mobilephone:
  3051. description: 手机号码 (加密存储)
  3052. type: string
  3053. modifiedby:
  3054. description: 修改人帐号
  3055. type: integer
  3056. modifiedtime:
  3057. description: 修改时间
  3058. type: string
  3059. nickname:
  3060. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3061. type: string
  3062. openmode:
  3063. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3064. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3065. type: integer
  3066. otherurl:
  3067. description: 其它图片地址[使用分号分隔]
  3068. type: string
  3069. postalcode:
  3070. description: 邮政编码
  3071. type: string
  3072. provinceid:
  3073. description: 省
  3074. type: integer
  3075. proxystatementurl:
  3076. description: 授权委托书
  3077. type: string
  3078. qq:
  3079. description: QQ(加密存储
  3080. type: string
  3081. referral:
  3082. description: 推荐人编码
  3083. type: string
  3084. remark:
  3085. description: 备注
  3086. type: string
  3087. removebeforestatus:
  3088. description: REMOVEBEFORESTATUS
  3089. type: integer
  3090. sex:
  3091. description: 性别 - 0:女 1:男
  3092. type: integer
  3093. signedstatus:
  3094. description: 账户一号签签约状态
  3095. type: integer
  3096. signpdfurl:
  3097. description: 签约pdf文件
  3098. type: string
  3099. subbranch:
  3100. description: 开户支行
  3101. type: string
  3102. taxpayernum:
  3103. description: 纳税人识别号
  3104. type: string
  3105. telphone:
  3106. description: 联系电话(加密存储)
  3107. type: string
  3108. userid:
  3109. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3110. type: integer
  3111. userinfotype:
  3112. description: 用户信息类型 - 1:个人 2:企业
  3113. type: integer
  3114. username:
  3115. description: 用户姓名
  3116. type: string
  3117. userstate:
  3118. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3119. type: integer
  3120. usertype:
  3121. description: 用户类型 - 1:投资者 2:机构
  3122. type: integer
  3123. videourl:
  3124. description: 视频地址
  3125. type: string
  3126. wechat:
  3127. description: 微信号 (加密存储)
  3128. type: string
  3129. required:
  3130. - userid
  3131. type: object
  3132. erms3.CustomerInfo:
  3133. properties:
  3134. accountids:
  3135. description: 资金账户ID列表
  3136. items:
  3137. type: integer
  3138. type: array
  3139. customername:
  3140. description: 名称(企业名称)
  3141. type: string
  3142. mobile:
  3143. description: 手机号码
  3144. type: string
  3145. userid:
  3146. description: 用户ID
  3147. type: integer
  3148. required:
  3149. - userid
  3150. type: object
  3151. erms3.ModifyUserInfoApplyReq:
  3152. properties:
  3153. accountid:
  3154. description: 交易系统帐号Id (加密存储)
  3155. type: integer
  3156. areacode:
  3157. description: 机构代码
  3158. type: string
  3159. areaid:
  3160. description: 机构Id
  3161. type: integer
  3162. attachment1:
  3163. description: 附件1
  3164. type: string
  3165. attachment2:
  3166. description: 附件2
  3167. type: string
  3168. attachment3:
  3169. description: 附件3
  3170. type: string
  3171. attachment4:
  3172. description: 附件4
  3173. type: string
  3174. attachment5:
  3175. description: 附件5
  3176. type: string
  3177. auditedby:
  3178. description: 审核人
  3179. type: string
  3180. auditime:
  3181. description: 审核时间
  3182. type: string
  3183. auditsrc:
  3184. description: 审核来源 - 1:管理端 2:终端
  3185. type: integer
  3186. bankaccount:
  3187. description: 银行帐号 (加密存储)
  3188. type: string
  3189. bankaccountname:
  3190. description: 收款人名称
  3191. type: string
  3192. bankcardbackphotourl:
  3193. description: 银行卡背面照地址
  3194. type: string
  3195. bankcardfrontphotourl:
  3196. description: 银行卡正面照地址
  3197. type: string
  3198. bankid:
  3199. description: 银行编码
  3200. type: string
  3201. bankname:
  3202. description: 银行名称
  3203. type: string
  3204. bankpictureurl:
  3205. description: 银行卡正面地址
  3206. type: string
  3207. biznature:
  3208. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3209. type: integer
  3210. bizscope:
  3211. description: 企业经营范围(企业)
  3212. type: string
  3213. biztype:
  3214. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3215. type: integer
  3216. brokerid:
  3217. description: 经纪人ID(加密存储)
  3218. type: string
  3219. cardaddress:
  3220. description: 证件地址 (加密存储)
  3221. type: string
  3222. cardbackphotourl:
  3223. description: 背面证件照地址
  3224. type: string
  3225. cardfrontphotourl:
  3226. description: 正面证件照地址
  3227. type: string
  3228. cardnum:
  3229. description: 证件号码 (加密存储)
  3230. type: string
  3231. cardtype:
  3232. description: 证件类型
  3233. type: integer
  3234. cityid:
  3235. description: 市
  3236. type: integer
  3237. company:
  3238. description: 公司(个人)
  3239. type: string
  3240. contactcardbackphotourl:
  3241. description: 联系人证件背面图片地址
  3242. type: string
  3243. contactcardfrontphotourl:
  3244. description: 联系人证件正面图片地址
  3245. type: string
  3246. contactname:
  3247. description: 联系人
  3248. type: string
  3249. countryid:
  3250. description: 国家
  3251. type: integer
  3252. createtime:
  3253. description: 开户申请时间
  3254. type: string
  3255. cusbankid:
  3256. description: 签约类型
  3257. type: string
  3258. cusbankname:
  3259. description: 签约类型名称
  3260. type: string
  3261. customername:
  3262. description: 客户名称(企业名称)
  3263. type: string
  3264. districtid:
  3265. description: 地区
  3266. type: integer
  3267. email:
  3268. description: Email地址(加密存储)
  3269. type: string
  3270. halfbodyphotourl:
  3271. description: 半身照地址
  3272. type: string
  3273. headurl:
  3274. description: 头像地址
  3275. type: string
  3276. ipaddress:
  3277. description: IP地址
  3278. type: string
  3279. isvalidate:
  3280. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3281. type: string
  3282. legalcardbackphotourl:
  3283. description: 法人身份证背面照地址
  3284. type: string
  3285. legalcardfrontphotourl:
  3286. description: 法人身份证正面照地址
  3287. type: string
  3288. legalpersonname:
  3289. description: 法人姓名(企业)
  3290. type: string
  3291. logincode:
  3292. description: 登录帐号 (加密存储)
  3293. type: string
  3294. memberareaid:
  3295. description: 所属会员ID
  3296. type: integer
  3297. mobile2:
  3298. description: 手机号码[明文-尚志]
  3299. type: string
  3300. mobilephone:
  3301. description: 手机号码 (加密存储)
  3302. type: string
  3303. modifiedby:
  3304. description: 修改人帐号
  3305. type: integer
  3306. modifiedtime:
  3307. description: 修改时间
  3308. type: string
  3309. nickname:
  3310. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3311. type: string
  3312. openmode:
  3313. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3314. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3315. type: integer
  3316. otherurl:
  3317. description: 其它图片地址[使用分号分隔]
  3318. type: string
  3319. postalcode:
  3320. description: 邮政编码
  3321. type: string
  3322. provinceid:
  3323. description: 省
  3324. type: integer
  3325. proxystatementurl:
  3326. description: 授权委托书
  3327. type: string
  3328. qq:
  3329. description: QQ(加密存储
  3330. type: string
  3331. referral:
  3332. description: 推荐人编码
  3333. type: string
  3334. remark:
  3335. description: 备注
  3336. type: string
  3337. removebeforestatus:
  3338. description: REMOVEBEFORESTATUS
  3339. type: integer
  3340. sex:
  3341. description: 性别 - 0:女 1:男
  3342. type: integer
  3343. signedstatus:
  3344. description: 账户一号签签约状态
  3345. type: integer
  3346. signpdfurl:
  3347. description: 签约pdf文件
  3348. type: string
  3349. subbranch:
  3350. description: 开户支行
  3351. type: string
  3352. taxpayernum:
  3353. description: 纳税人识别号
  3354. type: string
  3355. telphone:
  3356. description: 联系电话(加密存储)
  3357. type: string
  3358. userid:
  3359. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3360. type: integer
  3361. userinfotype:
  3362. description: 用户信息类型 - 1:个人 2:企业
  3363. type: integer
  3364. username:
  3365. description: 用户姓名
  3366. type: string
  3367. userstate:
  3368. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3369. type: integer
  3370. usertype:
  3371. description: 用户类型 - 1:投资者 2:机构
  3372. type: integer
  3373. videourl:
  3374. description: 视频地址
  3375. type: string
  3376. wechat:
  3377. description: 微信号 (加密存储)
  3378. type: string
  3379. required:
  3380. - userid
  3381. type: object
  3382. erms3.QryAuditContractRsp:
  3383. properties:
  3384. accountid:
  3385. description: 交易员ID
  3386. type: string
  3387. applystatus:
  3388. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3389. type: integer
  3390. curdeliveryqty:
  3391. description: 未交收量
  3392. type: integer
  3393. customername:
  3394. description: 采购方ID
  3395. type: string
  3396. deliverygoodsid:
  3397. description: 品种ID
  3398. type: string
  3399. deliveryqty:
  3400. description: 交收量
  3401. type: integer
  3402. enumdicname:
  3403. description: 单位名称
  3404. type: string
  3405. matchaccountid:
  3406. description: 业务员ID
  3407. type: string
  3408. matchcustomername:
  3409. description: 销售方ID
  3410. type: string
  3411. pricedqty:
  3412. description: 定价量
  3413. type: number
  3414. signdate:
  3415. description: 签订日期
  3416. type: string
  3417. spotcontractid:
  3418. description: 合同ID
  3419. type: string
  3420. totaldqty:
  3421. description: 合同量
  3422. type: number
  3423. unpricedqty:
  3424. description: 未定价量
  3425. type: number
  3426. wrstandardname:
  3427. description: 商品名称
  3428. type: string
  3429. required:
  3430. - matchcustomername
  3431. - spotcontractid
  3432. type: object
  3433. erms3.QryPendingBizRsp:
  3434. properties:
  3435. accountid:
  3436. description: 现货账户
  3437. type: string
  3438. areaname:
  3439. description: 所属部门
  3440. type: string
  3441. bizid:
  3442. description: 业务ID
  3443. type: string
  3444. bizname:
  3445. description: 业务名称
  3446. type: string
  3447. status:
  3448. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3449. type: integer
  3450. type:
  3451. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3452. type: integer
  3453. type: object
  3454. erms3.QueryBusinessInfoRsp:
  3455. properties:
  3456. businessid:
  3457. description: 业务ID.
  3458. type: integer
  3459. buyamount:
  3460. description: 采购额.
  3461. type: number
  3462. buyqty:
  3463. description: 采购量.
  3464. type: string
  3465. futurepl:
  3466. description: 期货盈亏.
  3467. type: number
  3468. futureqty:
  3469. description: 期货敞口.
  3470. type: string
  3471. goodsid:
  3472. description: 商品名称/商品代码.
  3473. type: string
  3474. hedgingqty:
  3475. description: 套保量.
  3476. type: string
  3477. sellamount:
  3478. description: 销售额.
  3479. type: number
  3480. sellqty:
  3481. description: 销售量.
  3482. type: string
  3483. spotmarketvalue:
  3484. description: 现货市值.
  3485. type: number
  3486. spotpl:
  3487. description: 浮动权益.
  3488. type: number
  3489. spotqty:
  3490. description: 现货量.
  3491. type: string
  3492. statu:
  3493. description: 状态,0-未结束 1-已结束.
  3494. type: integer
  3495. totalpl:
  3496. description: 总盈亏.
  3497. type: number
  3498. totalqty:
  3499. description: 总敞口.
  3500. type: string
  3501. type:
  3502. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3503. type: integer
  3504. type: object
  3505. erms3.QuerySpotContractAppleFormRsp:
  3506. properties:
  3507. goodses:
  3508. description: 合约列表
  3509. items:
  3510. $ref: '#/definitions/models.GoodsIDAndName'
  3511. type: array
  3512. oppositeusers:
  3513. description: 对方账号列表
  3514. items:
  3515. $ref: '#/definitions/erms3.CustomerInfo'
  3516. type: array
  3517. ouruser:
  3518. $ref: '#/definitions/erms3.CustomerInfo'
  3519. description: 我方账号
  3520. warehouseinfos:
  3521. description: 仓库信息列表
  3522. items:
  3523. $ref: '#/definitions/models.Warehouseinfo'
  3524. type: array
  3525. wrstandards:
  3526. description: 仓单标准列表
  3527. items:
  3528. $ref: '#/definitions/models.WRStandardInfo'
  3529. type: array
  3530. type: object
  3531. erms3.QuerySpotContractInfoRsp:
  3532. properties:
  3533. accountid:
  3534. description: 表示交易员ID.
  3535. type: integer
  3536. curdeliveryqty:
  3537. description: 表示未交收量.
  3538. type: number
  3539. customername:
  3540. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3541. type: string
  3542. deliverygoodsid:
  3543. description: 表示品种ID.
  3544. type: string
  3545. deliveryqty:
  3546. description: 表示交收量.
  3547. type: number
  3548. matchaccountid:
  3549. description: 表示业务员ID.
  3550. type: integer
  3551. matchcustomername:
  3552. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3553. type: string
  3554. priceqty:
  3555. description: 表示定价量.
  3556. type: number
  3557. relatedbizid:
  3558. description: 表示业务ID.
  3559. type: string
  3560. signdate:
  3561. description: 表示签订日期.
  3562. type: string
  3563. spotcontractid:
  3564. description: 合同ID
  3565. type: string
  3566. status:
  3567. description: 表示状态,0-履约中 1-已完成.
  3568. type: integer
  3569. totalqty:
  3570. description: 表示合同量.
  3571. type: number
  3572. unpricedqty:
  3573. description: 表示未定价量.
  3574. type: number
  3575. wrstandardname:
  3576. description: 表示商品ID.
  3577. type: string
  3578. type: object
  3579. erms3.QueryUserInfoAppliesRsp:
  3580. properties:
  3581. biznature:
  3582. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3583. type: integer
  3584. contactname:
  3585. description: 联系人
  3586. type: string
  3587. createtime:
  3588. description: 开户申请时间
  3589. type: string
  3590. userid:
  3591. description: 用户ID(自增ID)
  3592. type: integer
  3593. userinfotype:
  3594. description: 用户信息类型 - 1:个人 2:企业
  3595. type: integer
  3596. username:
  3597. description: 用户姓名
  3598. type: string
  3599. userstate:
  3600. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3601. type: integer
  3602. required:
  3603. - userid
  3604. type: object
  3605. erms3.QueryUserInfosRsp:
  3606. properties:
  3607. biznature:
  3608. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3609. type: integer
  3610. contactname:
  3611. description: 联系人
  3612. type: string
  3613. customername:
  3614. description: 客户名称(企业名称)
  3615. type: string
  3616. userid:
  3617. description: 用户ID
  3618. type: integer
  3619. userinfotype:
  3620. description: 用户信息类型 - 1:个人 2:企业
  3621. type: integer
  3622. userstatus:
  3623. description: 用户状态 - 1:正常 2:注销
  3624. type: integer
  3625. required:
  3626. - userid
  3627. type: object
  3628. erms3.SoptContractDetail:
  3629. properties:
  3630. deliverygoodsdesc:
  3631. description: 现货品种说明
  3632. type: string
  3633. deliverygoodsid:
  3634. description: 现货品种ID
  3635. type: integer
  3636. deliverygoodsname:
  3637. description: 现货品种名称
  3638. type: string
  3639. pointdesc:
  3640. description: 点价描述
  3641. type: string
  3642. producttype:
  3643. description: 产品类型 1:标准仓单 2:等标 3:非标
  3644. type: integer
  3645. producttypename:
  3646. description: 产品类型名称
  3647. type: string
  3648. spotPointOrderVoList:
  3649. description: 点价列表
  3650. items:
  3651. $ref: '#/definitions/erms3.SpotPointOrder'
  3652. type: array
  3653. spotPriceOrderList:
  3654. description: 定价列表
  3655. items:
  3656. $ref: '#/definitions/erms3.SpotPriceOrder'
  3657. type: array
  3658. unitname:
  3659. description: 单位名称
  3660. type: string
  3661. warehouseid:
  3662. description: 仓库ID
  3663. type: integer
  3664. warehousename:
  3665. description: 仓库名称
  3666. type: string
  3667. wrstandardid:
  3668. description: 交易标的ID
  3669. type: integer
  3670. wrstandardname:
  3671. description: 交易标的名称
  3672. type: string
  3673. required:
  3674. - deliverygoodsid
  3675. - producttype
  3676. - unitname
  3677. - warehouseid
  3678. - wrstandardid
  3679. - wrstandardname
  3680. type: object
  3681. erms3.SpotPointOrder:
  3682. properties:
  3683. basic:
  3684. description: 基差
  3685. type: number
  3686. deliveryenddate:
  3687. description: 交收结束日期
  3688. type: string
  3689. deliverystartdate:
  3690. description: 交收开始日期
  3691. type: string
  3692. enddate:
  3693. description: 点价结束日期
  3694. type: string
  3695. goodsid:
  3696. description: 商品ID
  3697. type: integer
  3698. goodsname:
  3699. description: 商品名称
  3700. type: string
  3701. qty:
  3702. description: 数量
  3703. type: number
  3704. startdate:
  3705. description: 点价开始日期
  3706. type: string
  3707. required:
  3708. - basic
  3709. - goodsid
  3710. - qty
  3711. type: object
  3712. erms3.SpotPriceOrder:
  3713. properties:
  3714. amount:
  3715. description: 金额
  3716. type: number
  3717. deliveryenddate:
  3718. description: 交收结束日期
  3719. type: string
  3720. deliverystartdate:
  3721. description: 交收开始日期
  3722. type: string
  3723. price:
  3724. description: 价格
  3725. type: number
  3726. qty:
  3727. description: 数量
  3728. type: number
  3729. required:
  3730. - amount
  3731. - price
  3732. - qty
  3733. type: object
  3734. hsby.GetHsbyMyCountRsp:
  3735. properties:
  3736. myCouponCount:
  3737. description: 我的优惠卷数量
  3738. type: integer
  3739. myOrderDetailListingCount:
  3740. description: 我的订单求购中数量
  3741. type: integer
  3742. myOrderDetailPreCount:
  3743. description: 我的订单抢购中数量
  3744. type: integer
  3745. myPackageUnReceiveCount:
  3746. description: 我的包裹待收货数量
  3747. type: integer
  3748. myPackageUnSendCount:
  3749. description: 我的包裹待发货数量
  3750. type: integer
  3751. myPayOrderCount:
  3752. description: 我的订单待付款数量
  3753. type: integer
  3754. type: object
  3755. hsby.QueryProvincesAndCitiesRsp:
  3756. properties:
  3757. cities:
  3758. description: 市
  3759. items:
  3760. $ref: '#/definitions/models.Division'
  3761. type: array
  3762. province:
  3763. $ref: '#/definitions/models.Division'
  3764. description: 省
  3765. type: object
  3766. models.Arearole:
  3767. properties:
  3768. createtime:
  3769. description: 创建时间
  3770. type: string
  3771. creatorid:
  3772. description: 创建人ID
  3773. type: integer
  3774. fromuserid:
  3775. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3776. type: integer
  3777. isreturnscore:
  3778. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3779. type: integer
  3780. modifierid:
  3781. description: 修改人ID
  3782. type: integer
  3783. modifytime:
  3784. description: 修改时间
  3785. type: string
  3786. orgtype:
  3787. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3788. type: integer
  3789. outuserid:
  3790. description: 外部账户[场外期权做市商]
  3791. type: string
  3792. parentuserid:
  3793. description: 上级组织机构(组织机构)
  3794. type: integer
  3795. roletype:
  3796. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3797. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3798. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3799. type: integer
  3800. rootuserid:
  3801. description: 顶级组织机构用户ID(组织机构)
  3802. type: integer
  3803. shoppassword:
  3804. description: 商城店铺登陆密码(商城店铺角色使用)
  3805. type: string
  3806. sublevelpath:
  3807. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3808. type: string
  3809. suborgtype:
  3810. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3811. type: integer
  3812. tradeaccountid:
  3813. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3814. type: integer
  3815. transurl:
  3816. description: 物流地址(物流机构)
  3817. type: string
  3818. userid:
  3819. description: 机构用户ID其他做市关系,都设置为 1
  3820. type: integer
  3821. required:
  3822. - roletype
  3823. - userid
  3824. type: object
  3825. models.Clientfixedadconfig:
  3826. properties:
  3827. adsort:
  3828. description: 排序
  3829. type: integer
  3830. adtype:
  3831. description: 广告位类型 - 1:新品抢购(HSBY)
  3832. type: integer
  3833. areauserid:
  3834. description: 所属机构ID
  3835. type: integer
  3836. createdate:
  3837. description: 创建时间
  3838. type: string
  3839. creatorid:
  3840. description: 创建人
  3841. type: integer
  3842. imagepath:
  3843. description: 图片
  3844. type: string
  3845. isshow:
  3846. description: 是否展示 - 0:不展示 1:展示
  3847. type: integer
  3848. modifierid:
  3849. description: 操作人
  3850. type: integer
  3851. recsize:
  3852. description: 推荐尺寸
  3853. type: string
  3854. title:
  3855. description: 标题
  3856. type: string
  3857. updatedate:
  3858. description: 更新时间
  3859. type: string
  3860. urlcontent:
  3861. description: 链接(地址或商品ID)
  3862. type: string
  3863. urltype:
  3864. description: 链接类型 - 1:直接地址 2:商品ID
  3865. type: integer
  3866. required:
  3867. - adsort
  3868. - adtype
  3869. type: object
  3870. models.Division:
  3871. properties:
  3872. autoid:
  3873. description: 自增ID
  3874. type: integer
  3875. divisioncode:
  3876. description: 行政代码
  3877. type: string
  3878. divisionlevel:
  3879. description: 行政级别
  3880. type: string
  3881. divisionname:
  3882. description: 行政名称
  3883. type: string
  3884. modifierid:
  3885. description: 修改人
  3886. type: integer
  3887. modifytime:
  3888. description: 修改时间
  3889. type: string
  3890. parentcode:
  3891. description: 上级行政代码
  3892. type: string
  3893. pathname:
  3894. description: 路径名称
  3895. type: string
  3896. postcode:
  3897. description: 邮政编码
  3898. type: string
  3899. separablename:
  3900. description: 可拆分的全称
  3901. type: string
  3902. shortcode:
  3903. description: 地区简码
  3904. type: string
  3905. required:
  3906. - autoid
  3907. - divisioncode
  3908. type: object
  3909. models.Enumdicitem:
  3910. properties:
  3911. autoid:
  3912. description: 自增ID
  3913. type: integer
  3914. bankmappedvalue:
  3915. description: 银行服务对应值
  3916. type: string
  3917. enumdiccode:
  3918. description: 所属枚举代码
  3919. type: string
  3920. enumdicid:
  3921. description: 所属枚举ID
  3922. type: integer
  3923. enumdicname:
  3924. description: 枚举项名称
  3925. type: string
  3926. enumitemname:
  3927. description: 枚举项值
  3928. type: integer
  3929. enumitemstatus:
  3930. description: 枚举项状态 - 1.启用 2.不启用
  3931. type: integer
  3932. enumitemvalue:
  3933. description: 通用值 - [币种通用简写]
  3934. type: string
  3935. param1:
  3936. description: 参数1[币种:币种小数位]
  3937. type: string
  3938. param2:
  3939. description: 参数1[币种:币种显示单位]
  3940. type: string
  3941. remark:
  3942. description: 备注
  3943. type: string
  3944. required:
  3945. - autoid
  3946. - enumdiccode
  3947. - enumdicid
  3948. - enumitemname
  3949. type: object
  3950. models.Ermcp3AreaSpot:
  3951. properties:
  3952. areauserid:
  3953. description: 所属机构
  3954. type: integer
  3955. convertratio:
  3956. description: 套保系数
  3957. type: number
  3958. decreaseqty:
  3959. description: 减少数量=-(销售已定价数量+采购计划数量)
  3960. type: number
  3961. enumdicname:
  3962. description: 单位名称
  3963. type: string
  3964. increaseqty:
  3965. description: 增加数量=销售计划数量+采购已定价数量
  3966. type: number
  3967. oritoalspotqty:
  3968. description: 昨日数量
  3969. type: number
  3970. totalspotqty:
  3971. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3972. type: number
  3973. unitid:
  3974. description: 现货商品单位id
  3975. type: integer
  3976. updatetime:
  3977. description: 更新时间
  3978. type: string
  3979. wrstandardcode:
  3980. description: 现货商品代码
  3981. type: string
  3982. wrstandardid:
  3983. description: 现货商品ID(SEQ_WRSTANDARD)
  3984. type: integer
  3985. wrstandardname:
  3986. description: 现货商品名称
  3987. type: string
  3988. type: object
  3989. models.Ermcp3AreaSpotDetail:
  3990. properties:
  3991. contracttype:
  3992. description: 合同类型 1-采购 -1-销售
  3993. type: integer
  3994. createtime:
  3995. description: 创建时间
  3996. type: string
  3997. enumdicname:
  3998. description: 现货商品单位名称
  3999. type: string
  4000. logtype:
  4001. description: 记录类型 1-套保 2-现货合同
  4002. type: integer
  4003. qty:
  4004. description: 数量
  4005. type: number
  4006. recordname:
  4007. description: 类型名称
  4008. type: string
  4009. relatedid:
  4010. description: 套保计划ID/现货合同ID
  4011. type: string
  4012. relatedno:
  4013. description: 编号
  4014. type: string
  4015. strtime:
  4016. description: 时间
  4017. type: string
  4018. wrstandardcode:
  4019. description: 现货商品代码
  4020. type: string
  4021. wrstandardid:
  4022. description: 现货商品ID(SEQ_WRSTANDARD)
  4023. type: integer
  4024. wrstandardname:
  4025. description: 现货商品名称
  4026. type: string
  4027. type: object
  4028. models.Ermcp3AreaSpotPLReport:
  4029. properties:
  4030. accountid:
  4031. description: 期货账户ID (作废, 默认为0)
  4032. type: integer
  4033. accountname:
  4034. description: 机构名称
  4035. type: string
  4036. actualpl:
  4037. description: 现货损益
  4038. type: number
  4039. areauserid:
  4040. description: 所属机构\交易用户ID
  4041. type: integer
  4042. begindate:
  4043. description: 开始交易日
  4044. type: string
  4045. biztype:
  4046. description: 业务类型 - 1:套保 2:套利
  4047. type: integer
  4048. brandname:
  4049. description: 品牌名称
  4050. type: string
  4051. curamount:
  4052. description: 期末额
  4053. type: number
  4054. curaverageprice:
  4055. description: 期末均价
  4056. type: number
  4057. curbuyamount:
  4058. description: 期末采购总额
  4059. type: number
  4060. curbuyqty:
  4061. description: 期末采购总量
  4062. type: number
  4063. curmarketvalue:
  4064. description: 参考市值(期末市值)
  4065. type: number
  4066. curqty:
  4067. description: 期末量
  4068. type: number
  4069. currencyid:
  4070. description: 结算币种ID【原值】
  4071. type: integer
  4072. currencyname:
  4073. description: 币种名称
  4074. type: string
  4075. cursellamount:
  4076. description: 期末销售总额
  4077. type: number
  4078. cursellqty:
  4079. description: 期末销售总量
  4080. type: number
  4081. curspotprice:
  4082. description: 参考市价(最新价)
  4083. type: number
  4084. cycletime:
  4085. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4086. type: string
  4087. cycletype:
  4088. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4089. type: integer
  4090. deliverygoodscode:
  4091. description: 现货品种代码
  4092. type: string
  4093. deliverygoodsid:
  4094. description: 现货品种ID
  4095. type: integer
  4096. deliverygoodsname:
  4097. description: 现货品种名称
  4098. type: string
  4099. enddate:
  4100. description: 结束交易日
  4101. type: string
  4102. enumdicname:
  4103. description: 现货品种单位名称(作废)
  4104. type: string
  4105. floatpl:
  4106. description: 浮动损益
  4107. type: number
  4108. goodsunitid:
  4109. description: 现货品种单位id(作废)
  4110. type: integer
  4111. oriamount:
  4112. description: 期初额
  4113. type: number
  4114. oriaverageprice:
  4115. description: 期初均价
  4116. type: number
  4117. oribuyamount:
  4118. description: 期初采购总额
  4119. type: number
  4120. oribuyqty:
  4121. description: 期初采购总量
  4122. type: number
  4123. oriqty:
  4124. description: 期初量
  4125. type: number
  4126. orisellamount:
  4127. description: 期初销售总额
  4128. type: number
  4129. orisellqty:
  4130. description: 期初销售总量
  4131. type: number
  4132. reckondate:
  4133. description: 日照时期(yyyyMMdd)
  4134. type: string
  4135. spotgoodsbrandid:
  4136. description: 现货品牌ID
  4137. type: integer
  4138. todaybuyamount:
  4139. description: 今日采购额(今采购额)
  4140. type: number
  4141. todaybuyaverageprice:
  4142. description: 今日采购均价
  4143. type: number
  4144. todaybuyqty:
  4145. description: 今日采购量(今采购量)
  4146. type: number
  4147. todayinqty:
  4148. description: 今日入库量(今入库量)
  4149. type: number
  4150. todayoutqty:
  4151. description: 今日出库量(今出库量)
  4152. type: number
  4153. todaysellamount:
  4154. description: 今日销售额(今销售额)
  4155. type: number
  4156. todaysellaverageprice:
  4157. description: 今日销售均价
  4158. type: number
  4159. todaysellqty:
  4160. description: 今日销售量(今销售量)
  4161. type: number
  4162. unitid:
  4163. description: 品类单位id
  4164. type: integer
  4165. unitidname:
  4166. description: 品类单位名称
  4167. type: string
  4168. updatetime:
  4169. description: 更新时间
  4170. type: string
  4171. wrfactortypeid:
  4172. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4173. type: integer
  4174. wrstandardcode:
  4175. description: 现货商品(品类)代码
  4176. type: string
  4177. wrstandardid:
  4178. description: 现货品类ID
  4179. type: integer
  4180. wrstandardname:
  4181. description: 现货商品(品类)名称
  4182. type: string
  4183. type: object
  4184. models.Ermcp3AreaStock:
  4185. properties:
  4186. brandname:
  4187. description: 品牌名称
  4188. type: string
  4189. curstock:
  4190. description: 期末库存量(今日量)
  4191. type: number
  4192. deliverygoodscode:
  4193. description: 现货品种代码
  4194. type: string
  4195. deliverygoodsid:
  4196. description: 现货品种id
  4197. type: integer
  4198. deliverygoodsname:
  4199. description: 现货品种名称
  4200. type: string
  4201. enumdicname:
  4202. description: 单位名称
  4203. type: string
  4204. goodsunitid:
  4205. description: 现货商品单位id
  4206. type: integer
  4207. oristock:
  4208. description: 期初库存量(昨日量)
  4209. type: number
  4210. spotgoodsbrandid:
  4211. description: 现货品牌ID
  4212. type: integer
  4213. todaybuyinqty:
  4214. description: 今日采购入库量
  4215. type: number
  4216. todayproduceinqty:
  4217. description: 今日生产入库量
  4218. type: number
  4219. todayproduceoutqty:
  4220. description: 今日生产出库量
  4221. type: number
  4222. todayselloutqty:
  4223. description: 今日销售出库量
  4224. type: number
  4225. unitid:
  4226. description: 单位id
  4227. type: integer
  4228. updatetime:
  4229. description: 更新时间
  4230. type: string
  4231. userid:
  4232. description: 机构ID
  4233. type: integer
  4234. username:
  4235. description: 机构名称
  4236. type: string
  4237. warehousecode:
  4238. description: 仓库代码
  4239. type: string
  4240. warehouseinfoid:
  4241. description: 仓库ID
  4242. type: string
  4243. warehousename:
  4244. description: 仓库名称
  4245. type: string
  4246. warehousetype:
  4247. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4248. type: integer
  4249. wrstandardcode:
  4250. description: 品类代码
  4251. type: string
  4252. wrstandardid:
  4253. description: 品类ID
  4254. type: string
  4255. wrstandardname:
  4256. description: 品类名称
  4257. type: string
  4258. required:
  4259. - userid
  4260. type: object
  4261. models.Ermcp3AreaStockApply:
  4262. properties:
  4263. applyid:
  4264. description: 申请人
  4265. type: integer
  4266. applyname:
  4267. description: 申请人名称
  4268. type: string
  4269. applyremark:
  4270. description: 申请备注
  4271. type: string
  4272. applysrc:
  4273. description: 申请来源 - 1:管理端 2:终端
  4274. type: integer
  4275. applystatus:
  4276. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4277. type: integer
  4278. applytime:
  4279. description: 申请时间
  4280. type: string
  4281. auditid:
  4282. description: 审核人
  4283. type: integer
  4284. auditname:
  4285. description: 审核人名称
  4286. type: string
  4287. auditremark:
  4288. description: 审核备注
  4289. type: string
  4290. auditsrc:
  4291. description: 审核来源 - 1:管理端 2:终端
  4292. type: integer
  4293. audittime:
  4294. description: 审核时间
  4295. type: string
  4296. audittradedate:
  4297. description: 审核交易日(yyyyMMdd)
  4298. type: string
  4299. brandname:
  4300. description: 品牌名称
  4301. type: string
  4302. buynickname:
  4303. description: 采购方昵称
  4304. type: string
  4305. buyuserid:
  4306. description: 采购方userid
  4307. type: integer
  4308. buyusername:
  4309. description: 采购方名称
  4310. type: string
  4311. contractno:
  4312. description: 合同编号
  4313. type: string
  4314. contractqty:
  4315. description: 合同量
  4316. type: number
  4317. contracttype:
  4318. description: 现货合同类型 - 1:采购 -1:销售
  4319. type: integer
  4320. deliverygoodscode:
  4321. description: 现货品种代码
  4322. type: string
  4323. deliverygoodsid:
  4324. description: 现货品种id
  4325. type: integer
  4326. deliverygoodsname:
  4327. description: 现货品种名称
  4328. type: string
  4329. detailjson:
  4330. description: 明细数据
  4331. type: string
  4332. enumdicname:
  4333. description: 现货商品单位名称
  4334. type: string
  4335. inoutapplyid:
  4336. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4337. type: string
  4338. inouttype:
  4339. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4340. type: integer
  4341. pricetype:
  4342. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4343. type: integer
  4344. qty:
  4345. description: 数量
  4346. type: number
  4347. sellnickname:
  4348. description: 销售方昵称
  4349. type: string
  4350. selluserid:
  4351. description: 销售方userid
  4352. type: integer
  4353. sellusername:
  4354. description: 销售方名称
  4355. type: string
  4356. spotcontractid:
  4357. description: 关联现货合同ID
  4358. type: string
  4359. spotgoodsbrandid:
  4360. description: 现货品牌ID
  4361. type: integer
  4362. unitid:
  4363. description: 单位id
  4364. type: integer
  4365. userid:
  4366. description: 机构ID
  4367. type: integer
  4368. warehousecode:
  4369. description: 仓库代码
  4370. type: string
  4371. warehouseinfoid:
  4372. description: 现货仓库ID
  4373. type: string
  4374. warehousename:
  4375. description: 仓库名称
  4376. type: string
  4377. warehousetype:
  4378. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4379. type: integer
  4380. wrstandardcode:
  4381. description: 品类代码
  4382. type: string
  4383. wrstandardid:
  4384. description: 品类ID
  4385. type: integer
  4386. wrstandardname:
  4387. description: 品类名称
  4388. type: string
  4389. type: object
  4390. models.Ermcp3AreaStockApplySum:
  4391. properties:
  4392. brandname:
  4393. description: 品牌名称
  4394. type: string
  4395. inouttype:
  4396. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4397. type: integer
  4398. spotcontractid:
  4399. description: 关联现货合同ID
  4400. type: string
  4401. spotgoodsbrandid:
  4402. description: 品牌id
  4403. type: integer
  4404. totalqty:
  4405. description: 总数量
  4406. type: number
  4407. wrstandardid:
  4408. description: 品类id
  4409. type: integer
  4410. wrstandardname:
  4411. description: 品类名称
  4412. type: string
  4413. type: object
  4414. models.Ermcp3AreaStockReportEx:
  4415. properties:
  4416. begindate:
  4417. description: 开始交易日
  4418. type: string
  4419. brandname:
  4420. description: 品牌名称
  4421. type: string
  4422. curstock:
  4423. description: 期末库存量
  4424. type: number
  4425. cycletime:
  4426. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4427. type: string
  4428. cycletype:
  4429. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4430. type: integer
  4431. deliverygoodscode:
  4432. description: 现货品种代码
  4433. type: string
  4434. deliverygoodsid:
  4435. description: 现货品种id
  4436. type: integer
  4437. deliverygoodsname:
  4438. description: 现货品种名称
  4439. type: string
  4440. diffqty:
  4441. description: 库存变化量 = 期末 - 期初
  4442. type: number
  4443. enddate:
  4444. description: 结束交易日
  4445. type: string
  4446. enumdicname:
  4447. description: 单位名称
  4448. type: string
  4449. goodsunitid:
  4450. description: 现货单位id
  4451. type: integer
  4452. oristock:
  4453. description: 期初库存量
  4454. type: number
  4455. reckondate:
  4456. description: 日照时期(yyyyMMdd)
  4457. type: string
  4458. spotgoodsbrandid:
  4459. description: 现货品牌ID
  4460. type: integer
  4461. todaybuyinqty:
  4462. description: 今采购入库量
  4463. type: number
  4464. todayproduceinqty:
  4465. description: 今内部入库量
  4466. type: number
  4467. todayproduceoutqty:
  4468. description: 今内部出库量
  4469. type: number
  4470. todayselloutqty:
  4471. description: 今销售出库量
  4472. type: number
  4473. unbuyinqty:
  4474. description: 采购未入库量(数据库未找到相关字段?)
  4475. type: number
  4476. unitid:
  4477. description: 品类单位id
  4478. type: integer
  4479. unselloutqty:
  4480. description: 销售未出库量(数据库未找到相关字段?)
  4481. type: number
  4482. updatetime:
  4483. description: 更新时间
  4484. type: string
  4485. userid:
  4486. description: 机构ID
  4487. type: integer
  4488. username:
  4489. description: 机构名称
  4490. type: string
  4491. warehousecode:
  4492. description: 仓库代码
  4493. type: string
  4494. warehouseinfoid:
  4495. description: 仓库ID
  4496. type: string
  4497. warehousename:
  4498. description: 仓库名称
  4499. type: string
  4500. warehousetype:
  4501. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4502. type: integer
  4503. wrstandardcode:
  4504. description: 品类代码
  4505. type: string
  4506. wrstandardid:
  4507. description: 品类ID
  4508. type: integer
  4509. wrstandardname:
  4510. description: 品类名称
  4511. type: string
  4512. type: object
  4513. models.Ermcp3ArealSumPL:
  4514. properties:
  4515. accountname:
  4516. description: 机构名称
  4517. type: string
  4518. areauserid:
  4519. description: 所属机构\交易用户ID
  4520. type: integer
  4521. begindate:
  4522. description: 开始交易日
  4523. type: string
  4524. currencyid:
  4525. description: 结算币种ID
  4526. type: integer
  4527. currencyname:
  4528. description: 币种名称
  4529. type: string
  4530. cycletime:
  4531. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4532. type: string
  4533. cycletype:
  4534. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4535. type: integer
  4536. enddate:
  4537. description: 结束交易日
  4538. type: string
  4539. enumdicname:
  4540. description: 单位名称(套保品种)
  4541. type: string
  4542. futureactualpl:
  4543. description: 期货损益
  4544. type: number
  4545. futurefloatpl:
  4546. description: 期货浮动损益
  4547. type: number
  4548. futurespotratio:
  4549. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4550. type: number
  4551. goodsunitid:
  4552. description: 套保品种单位id
  4553. type: integer
  4554. hedgeexposurepl:
  4555. description: 套保敞口损益
  4556. type: number
  4557. middlegoodscode:
  4558. description: 套保品种代码
  4559. type: string
  4560. middlegoodsid:
  4561. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4562. type: integer
  4563. middlegoodsname:
  4564. description: 套保品种名称
  4565. type: string
  4566. reckondate:
  4567. description: 日照时期(yyyyMMdd)
  4568. type: string
  4569. spotactualpl:
  4570. description: 现货损益
  4571. type: number
  4572. spotfloatpl:
  4573. description: 现货浮动损益
  4574. type: number
  4575. sumactualpl:
  4576. description: 实际损益 = (ActualPL + FutureActualPL)
  4577. type: number
  4578. sumpl:
  4579. description: 总敞口损益 | 汇总损益
  4580. type: number
  4581. totalfutureqty:
  4582. description: 期货头寸总量
  4583. type: number
  4584. totalneedhedgeqty:
  4585. description: 应套保总量
  4586. type: number
  4587. totalspotqty:
  4588. description: 现货头寸总量
  4589. type: number
  4590. updatetime:
  4591. description: 更新时间
  4592. type: string
  4593. type: object
  4594. models.Ermcp3Brand:
  4595. properties:
  4596. areauserid:
  4597. description: 用户id
  4598. type: integer
  4599. brandid:
  4600. description: 品牌id
  4601. type: integer
  4602. brandname:
  4603. description: 品牌名称
  4604. type: string
  4605. deliverygoodsid:
  4606. description: 品种ID
  4607. type: integer
  4608. isvalid:
  4609. description: 是否有效
  4610. type: integer
  4611. type: object
  4612. models.Ermcp3Contract:
  4613. properties:
  4614. accountid:
  4615. description: 期货账户id
  4616. type: string
  4617. amount:
  4618. description: 金额 [1:一口价、3:暂定价]
  4619. type: number
  4620. attachment:
  4621. description: 附件
  4622. type: string
  4623. auditremark:
  4624. description: 审核意见
  4625. type: string
  4626. audittime:
  4627. description: 审核时间
  4628. type: string
  4629. biztype:
  4630. description: 业务类型 1-套保 2-套利
  4631. type: integer
  4632. brandname:
  4633. description: 品牌名称
  4634. type: string
  4635. buynickname:
  4636. description: 销售方昵称
  4637. type: string
  4638. buyuserid:
  4639. description: 采购方ID
  4640. type: integer
  4641. buyusername:
  4642. description: 采购方名称
  4643. type: string
  4644. contracctstatus:
  4645. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4646. type: integer
  4647. contractmargin:
  4648. description: 合同保证金
  4649. type: number
  4650. contractno:
  4651. description: 现货合同编号
  4652. type: string
  4653. contracttype:
  4654. description: 现货合同类型 - 1:采购 -1:销售
  4655. type: integer
  4656. convertfactor:
  4657. description: 标仓系数(品类)
  4658. type: number
  4659. createtime:
  4660. description: 创建时间
  4661. type: string
  4662. currencyid:
  4663. description: 币种id
  4664. type: integer
  4665. currencyname:
  4666. description: 币种名称
  4667. type: string
  4668. deliveryenddate:
  4669. description: 交收期(结束)
  4670. type: string
  4671. deliverygoodscode:
  4672. description: 现货品种代码
  4673. type: string
  4674. deliverygoodsid:
  4675. description: 现货品种ID
  4676. type: integer
  4677. deliverygoodsname:
  4678. description: 现货品种名称
  4679. type: string
  4680. deliverystartdate:
  4681. description: 交收期(开始)
  4682. type: string
  4683. enddate:
  4684. description: 点价结束日期 [2:点价 3:暂定价]
  4685. type: string
  4686. enumdicname:
  4687. description: 单位名称
  4688. type: string
  4689. goodscode:
  4690. description: 点价合约代码
  4691. type: string
  4692. goodsid:
  4693. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4694. type: integer
  4695. goodsname:
  4696. description: 点价商品名称
  4697. type: string
  4698. margin:
  4699. description: 当前保证金
  4700. type: number
  4701. meruserid:
  4702. description: 跟单员id
  4703. type: integer
  4704. meruserlogincode:
  4705. description: 跟单员登录代码
  4706. type: string
  4707. merusername:
  4708. description: 跟单员名称
  4709. type: string
  4710. pointdesc:
  4711. description: 点价备注
  4712. type: string
  4713. price:
  4714. description: 价格\暂定价 [1:一口价、3:暂定价]
  4715. type: number
  4716. pricemove:
  4717. description: 升贴水 [2:点价 3:暂定价]
  4718. type: number
  4719. pricetype:
  4720. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4721. type: integer
  4722. producttype:
  4723. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4724. type: integer
  4725. qty:
  4726. description: 数量
  4727. type: number
  4728. remark:
  4729. description: 备注
  4730. type: string
  4731. saleuserid:
  4732. description: 业务员id
  4733. type: integer
  4734. saleuserlogincode:
  4735. description: 业务员登录代码
  4736. type: string
  4737. saleusername:
  4738. description: 业务员名称
  4739. type: string
  4740. sellnickname:
  4741. description: 采购方昵称
  4742. type: string
  4743. selluserid:
  4744. description: 销售方ID
  4745. type: integer
  4746. sellusername:
  4747. description: 销售方名称
  4748. type: string
  4749. spotcontractid:
  4750. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4751. type: string
  4752. spotgoodsbrandid:
  4753. description: 现货品牌ID(DGFactoryItem表的ID)
  4754. type: integer
  4755. spotgoodsdesc:
  4756. description: 商品型号
  4757. type: string
  4758. startdate:
  4759. description: 点价开始日期 [2:点价 3:暂定价]
  4760. type: string
  4761. subjectid:
  4762. description: 交易主体ID
  4763. type: integer
  4764. subjectname:
  4765. description: 交易主体名称
  4766. type: string
  4767. tradeuserid:
  4768. description: 交易员id
  4769. type: integer
  4770. tradeuserlogincode:
  4771. description: 交易员登录代码
  4772. type: string
  4773. tradeusername:
  4774. description: 交易员名称
  4775. type: string
  4776. unitid:
  4777. description: 单位id(取品类上的单位id)
  4778. type: integer
  4779. updatetime:
  4780. description: 更新时间
  4781. type: string
  4782. userid:
  4783. description: 所属机构ID
  4784. type: integer
  4785. vatrate:
  4786. description: 增值税率
  4787. type: number
  4788. wrstandardcode:
  4789. description: 品类代码
  4790. type: string
  4791. wrstandardid:
  4792. description: 品类ID
  4793. type: integer
  4794. wrstandardname:
  4795. description: 品类名称
  4796. type: string
  4797. type: object
  4798. models.Ermcp3ExposureContractDetail:
  4799. properties:
  4800. biztype:
  4801. description: 业务类型 1-套保 2-套利
  4802. type: integer
  4803. brandname:
  4804. description: 品牌名称
  4805. type: string
  4806. buyuserid:
  4807. description: 采购方id
  4808. type: integer
  4809. buyusername:
  4810. description: 采购方名称
  4811. type: string
  4812. contractno:
  4813. description: 合同编号
  4814. type: string
  4815. contracttype:
  4816. description: 现货合同类型 - 1:采购 -1:销售
  4817. type: integer
  4818. convertfactor:
  4819. description: 标仓系数
  4820. type: number
  4821. convertratio:
  4822. description: 折算系数(套保品种)
  4823. type: number
  4824. curqty:
  4825. description: 今定价量
  4826. type: number
  4827. deliverygoodscode:
  4828. description: 现货品种代码
  4829. type: string
  4830. deliverygoodsid:
  4831. description: 现货品种id
  4832. type: integer
  4833. deliverygoodsname:
  4834. description: 现货品种名称
  4835. type: string
  4836. diffhedgeqty:
  4837. description: 套保变动量
  4838. type: number
  4839. diffneedhedgeqty:
  4840. description: 应套保变动量
  4841. type: number
  4842. diffqty:
  4843. description: 套保品种今变动量
  4844. type: number
  4845. enumdicname:
  4846. description: 单位名称
  4847. type: string
  4848. mgunitname:
  4849. description: 套保品种单位名称
  4850. type: string
  4851. middlegoodscode:
  4852. description: 套保品种代码
  4853. type: string
  4854. middlegoodsid:
  4855. description: 套保品种id
  4856. type: integer
  4857. middlegoodsname:
  4858. description: 套保品种名称
  4859. type: string
  4860. needarbitrageratio:
  4861. description: 应套利比例
  4862. type: number
  4863. needhedgeratio:
  4864. description: 应套保比例
  4865. type: number
  4866. pricedqty:
  4867. description: 已定价量
  4868. type: number
  4869. qty:
  4870. description: 合同量
  4871. type: number
  4872. selluserid:
  4873. description: 销售方id
  4874. type: integer
  4875. sellusername:
  4876. description: 销售方名称
  4877. type: string
  4878. spotcontractid:
  4879. description: 合同id
  4880. type: string
  4881. todaypricedqty:
  4882. description: 今定价量
  4883. type: number
  4884. tradedate:
  4885. description: 交易日
  4886. type: string
  4887. unitid:
  4888. description: 品类单位id
  4889. type: integer
  4890. userid:
  4891. description: 机构id
  4892. type: integer
  4893. username:
  4894. description: 交易用户
  4895. type: string
  4896. wrstandardcode:
  4897. description: 现货商品代码
  4898. type: string
  4899. wrstandardid:
  4900. description: 现货商品id
  4901. type: integer
  4902. wrstandardname:
  4903. description: 现货商品名称
  4904. type: string
  4905. type: object
  4906. models.Ermcp3ExposureDetail:
  4907. properties:
  4908. areauserid:
  4909. description: 机构ID
  4910. type: integer
  4911. changeQty:
  4912. description: 套保变动量
  4913. type: number
  4914. contracttype:
  4915. description: 现货合同类型 - 1:采购 -1:销售
  4916. type: integer
  4917. convertfactor:
  4918. description: 标仓系数
  4919. type: number
  4920. convertratio:
  4921. description: 折算系数
  4922. type: number
  4923. createtime:
  4924. description: 时间
  4925. type: string
  4926. enumdicname:
  4927. description: 现货商品单位名称
  4928. type: string
  4929. logtype:
  4930. description: 类型 - 1:套保计划 2:现货合同
  4931. type: integer
  4932. mgunitid:
  4933. description: 套保品种单位id
  4934. type: integer
  4935. mgunitidname:
  4936. description: 套保品种单位名称
  4937. type: string
  4938. middlegoodsId:
  4939. description: 套保商品id
  4940. type: integer
  4941. middlegoodscode:
  4942. description: 套保商品代码
  4943. type: string
  4944. middlegoodsname:
  4945. description: 套保商品名称
  4946. type: string
  4947. qty:
  4948. description: 数量
  4949. type: number
  4950. relateNo:
  4951. description: 现货合同/套保计划编号
  4952. type: string
  4953. unitid:
  4954. description: 现货商品单位id
  4955. type: integer
  4956. wrstandardcode:
  4957. description: 现货商品代码
  4958. type: string
  4959. wrstandardid:
  4960. description: 现货商品ID(SEQ_WRSTANDARD)
  4961. type: integer
  4962. wrstandardname:
  4963. description: 现货商品名称
  4964. type: string
  4965. type: object
  4966. models.Ermcp3ExposureFutuDetail:
  4967. properties:
  4968. accountid:
  4969. description: 交易账户id
  4970. type: integer
  4971. accountname:
  4972. description: 交易账户
  4973. type: string
  4974. begindate:
  4975. description: 开始交易日
  4976. type: string
  4977. buyorsell:
  4978. description: 方向 0-买 1-卖
  4979. type: integer
  4980. diffmgqty:
  4981. description: 套保品种今变化量
  4982. type: number
  4983. diffneedqty:
  4984. description: 应套保总量变化量
  4985. type: number
  4986. difftradeqty:
  4987. description: 交易品种今变化量
  4988. type: number
  4989. enddate:
  4990. description: 结束交易日
  4991. type: string
  4992. enumdicname:
  4993. description: 单位名称
  4994. type: string
  4995. goodscode:
  4996. description: 商品代码
  4997. type: string
  4998. goodsid:
  4999. description: 商品id
  5000. type: integer
  5001. goodsname:
  5002. description: 商品名称
  5003. type: string
  5004. holdqty:
  5005. description: 期末持仓量
  5006. type: number
  5007. middlegoodscode:
  5008. description: 套保商品代码
  5009. type: string
  5010. middlegoodsid:
  5011. description: 套保商品id
  5012. type: integer
  5013. middlegoodsname:
  5014. description: 套保商品名称
  5015. type: string
  5016. oriholdqty:
  5017. description: 期初持仓量
  5018. type: number
  5019. todaycloseqty:
  5020. description: 今平仓量
  5021. type: number
  5022. todayopenqty:
  5023. description: 今开仓量
  5024. type: number
  5025. tradedate:
  5026. description: 交易日
  5027. type: string
  5028. username:
  5029. description: 用户名称(交易用户)
  5030. type: string
  5031. type: object
  5032. models.Ermcp3ExposureHedgeplanDetail:
  5033. properties:
  5034. biztype:
  5035. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5036. type: integer
  5037. changqty:
  5038. description: 应套保总量变化量
  5039. type: number
  5040. contracttype:
  5041. description: 计划类型 - 1:采购 -1:销售
  5042. type: integer
  5043. convertratio:
  5044. description: 折算系数(套保品种)
  5045. type: number
  5046. deliverygoodscode:
  5047. description: 现货商品代码
  5048. type: string
  5049. deliverygoodsid:
  5050. description: 现货商品id
  5051. type: integer
  5052. deliverygoodsname:
  5053. description: 现货商吕名称
  5054. type: string
  5055. dgunitid:
  5056. description: 现货商品单位id
  5057. type: integer
  5058. dgunitidname:
  5059. description: 单位名称(现货商品)
  5060. type: string
  5061. diffqty:
  5062. description: 套保品种今变动量
  5063. type: number
  5064. enumdicname:
  5065. description: 单位名称(品类)
  5066. type: string
  5067. hedgeplanid:
  5068. description: 套保计划id
  5069. type: string
  5070. hedgeplanno:
  5071. description: 套保计划名称
  5072. type: string
  5073. hedgeplanstatus:
  5074. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5075. type: integer
  5076. mgunitidname:
  5077. description: 单位名称(套保商品)
  5078. type: string
  5079. middlegoodscode:
  5080. description: 套保品种代码
  5081. type: string
  5082. middlegoodsid:
  5083. description: 套保品种id
  5084. type: integer
  5085. middlegoodsname:
  5086. description: 套保品种名称
  5087. type: string
  5088. needarbitrageratio:
  5089. description: 应套利比例
  5090. type: number
  5091. needhedgeratio:
  5092. description: 应套保比例
  5093. type: number
  5094. pricedqty:
  5095. description: 已定价量
  5096. type: number
  5097. qty:
  5098. description: 合同量
  5099. type: number
  5100. tradedate:
  5101. description: 交易日(登记日)
  5102. type: string
  5103. unitid:
  5104. description: 品类单位id
  5105. type: integer
  5106. userid:
  5107. description: 机构id
  5108. type: integer
  5109. wrstandardcode:
  5110. description: 品类代码
  5111. type: string
  5112. wrstandardid:
  5113. description: 品类id
  5114. type: integer
  5115. wrstandardname:
  5116. description: 品类名称
  5117. type: string
  5118. type: object
  5119. models.Ermcp3ExposureParamChLog:
  5120. properties:
  5121. accountid:
  5122. description: 期货账户ID (作废, 默认为0)
  5123. type: integer
  5124. aftervalue:
  5125. description: 应套保\套利量变更后(调整后应套保总量)
  5126. type: number
  5127. areauserid:
  5128. description: 所属机构\交易用户ID
  5129. type: integer
  5130. beforevalue:
  5131. description: 应套保\套利量变更前(调整前应套保总量)
  5132. type: number
  5133. begindate:
  5134. description: 开始交易日
  5135. type: string
  5136. changelogtype:
  5137. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5138. type: integer
  5139. curvalue:
  5140. description: 当前套保\套利量(套保总量|套利总量)
  5141. type: number
  5142. diffvalue:
  5143. description: 应套保总量变化量
  5144. type: number
  5145. enddate:
  5146. description: 结束交易日
  5147. type: string
  5148. logdatetime:
  5149. description: 流水日期
  5150. type: string
  5151. logid:
  5152. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5153. type: string
  5154. middlegoodscode:
  5155. description: 套保品种代码
  5156. type: string
  5157. middlegoodsid:
  5158. description: 套保品种
  5159. type: integer
  5160. middlegoodsname:
  5161. description: 套保品种名称
  5162. type: string
  5163. paramaftervalue:
  5164. description: 参数变更后(调整后参数值)
  5165. type: number
  5166. parambeforevalue:
  5167. description: 参数变更前(调整前参数值)
  5168. type: number
  5169. tradedate:
  5170. description: 交易日(yyyyMMdd)
  5171. type: string
  5172. type: object
  5173. models.Ermcp3ExpourseReport:
  5174. properties:
  5175. accountid:
  5176. description: 期货账户ID (作废, 默认为0)
  5177. type: integer
  5178. accountname:
  5179. description: 机构名称
  5180. type: string
  5181. arbitrageqty:
  5182. description: 套利量
  5183. type: number
  5184. areauserid:
  5185. description: 所属机构\交易用户ID
  5186. type: integer
  5187. begindate:
  5188. description: 开始交易日
  5189. type: string
  5190. buyfutureqty:
  5191. description: 买入期货数量
  5192. type: number
  5193. buyplanqty:
  5194. description: 采购计划数量
  5195. type: number
  5196. buypricedqty:
  5197. description: 采购合同已定价数量
  5198. type: number
  5199. cycletime:
  5200. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5201. type: string
  5202. cycletype:
  5203. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5204. type: integer
  5205. diffexposure:
  5206. description: 变动量(套保敞口)
  5207. type: number
  5208. difffutuqty:
  5209. description: 变动量(期货)
  5210. type: number
  5211. diffhedgeqty:
  5212. description: 变动量(现货应套保总量)
  5213. type: number
  5214. diffmgqtya:
  5215. description: 套保变动量
  5216. type: number
  5217. diffmgqtyb:
  5218. description: 套利变动量
  5219. type: number
  5220. diffqty:
  5221. description: 变动量(总敞口)
  5222. type: number
  5223. diffspotqty:
  5224. description: 变动量(现货)
  5225. type: number
  5226. enddate:
  5227. description: 结束交易日
  5228. type: string
  5229. enumdicname:
  5230. description: 单位名称
  5231. type: string
  5232. hedgeqty:
  5233. description: 套保量
  5234. type: number
  5235. mgneedhedgeratio:
  5236. description: 套保比例(套保品的)
  5237. type: number
  5238. middlegoodsid:
  5239. description: 套保品种ID
  5240. type: integer
  5241. middlegoodsname:
  5242. description: 套保商品名称
  5243. type: string
  5244. middlgoodscode:
  5245. description: 套保商品代码
  5246. type: string
  5247. needarbitrageqty:
  5248. description: 应套利量
  5249. type: number
  5250. needarbitrageratio:
  5251. description: 套利比例(套保品的)
  5252. type: number
  5253. needhedgeexposoure:
  5254. description: 应套保敞口(套保敞口)
  5255. type: number
  5256. needhedgeqty:
  5257. description: 应套保量
  5258. type: number
  5259. needhedgeratio:
  5260. description: 应套保敞口比例
  5261. type: number
  5262. oriarbitrageqty:
  5263. description: 期初套利量
  5264. type: number
  5265. oribuyfutureqty:
  5266. description: 期初买入期货数量
  5267. type: number
  5268. oribuyplanqty:
  5269. description: 期初采购计划数量
  5270. type: number
  5271. oribuypricedqty:
  5272. description: 期初采购合同已定价数量
  5273. type: number
  5274. orihedgeqty:
  5275. description: 期初套保量
  5276. type: number
  5277. orineedarbitrageqty:
  5278. description: 期初应套利量
  5279. type: number
  5280. orineedhedgeexposoure:
  5281. description: 期初应套保敞口
  5282. type: number
  5283. orineedhedgeqty:
  5284. description: 期初应套保量
  5285. type: number
  5286. orisellfutureqty:
  5287. description: 期初卖出期货数量
  5288. type: number
  5289. orisellplanqty:
  5290. description: 期初销售计划数量
  5291. type: number
  5292. orisellpricedqty:
  5293. description: 期初销售合同已定价数量
  5294. type: number
  5295. oritotalexposure:
  5296. description: 期初实时总敞口
  5297. type: number
  5298. oritotalfutureqty:
  5299. description: 期初期货头寸总量
  5300. type: number
  5301. oritotalneedhedgeqty:
  5302. description: 期初应套保总量
  5303. type: number
  5304. oritotalspotqty:
  5305. description: 期初现货头寸总量
  5306. type: number
  5307. reckondate:
  5308. description: 日照时期(yyyyMMdd)
  5309. type: string
  5310. sellfutureqty:
  5311. description: 卖出期货数量
  5312. type: number
  5313. sellplanqty:
  5314. description: 销售计划数量
  5315. type: number
  5316. sellpricedqty:
  5317. description: 销售合同已定价数量
  5318. type: number
  5319. totalexposure:
  5320. description: 实时总敞口(总敞口)
  5321. type: number
  5322. totalfutureqty:
  5323. description: 期货头寸总量(期货总量)
  5324. type: number
  5325. totalhedgeratio:
  5326. description: 敞口比例
  5327. type: number
  5328. totalneedhedgeqty:
  5329. description: 应套保总量(现货应套保总量)
  5330. type: number
  5331. totalspotqty:
  5332. description: 现货头寸总量
  5333. type: number
  5334. unitid:
  5335. description: 单位id
  5336. type: integer
  5337. updatetime:
  5338. description: 更新时间
  5339. type: string
  5340. type: object
  5341. models.Ermcp3FinanceReport:
  5342. properties:
  5343. accountname:
  5344. description: 机构名称
  5345. type: string
  5346. areauserid:
  5347. description: 所属机构\交易用户ID
  5348. type: integer
  5349. begindate:
  5350. description: 开始交易日
  5351. type: string
  5352. biztype:
  5353. description: 业务类型 - 1:套保 2:套利
  5354. type: integer
  5355. brandname:
  5356. description: 品牌名称
  5357. type: string
  5358. buypreinvoicedamount:
  5359. description: 采购预收票额(预收票额)
  5360. type: number
  5361. buyprepaidamount:
  5362. description: 采购预付款额(预付货款额)
  5363. type: number
  5364. buytodayinvoiceamount:
  5365. description: 采购今收票额(今收票额)
  5366. type: number
  5367. buytodayrefundamount:
  5368. description: 采购今收退款额(今收退款额)
  5369. type: number
  5370. buytodaysettleamount:
  5371. description: 采购今付款额(今付货款额)
  5372. type: number
  5373. buyuninvoicedamount:
  5374. description: 采购应收票额(应收票额)
  5375. type: number
  5376. buyunpaidamount:
  5377. description: 采购应付款额(应付货款额)
  5378. type: number
  5379. currencyid:
  5380. description: 结算币种ID
  5381. type: integer
  5382. currencyname:
  5383. description: 币种名称
  5384. type: string
  5385. cycletime:
  5386. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5387. type: string
  5388. cycletype:
  5389. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5390. type: integer
  5391. deliverygoodscode:
  5392. description: 现货品种代码
  5393. type: string
  5394. deliverygoodsid:
  5395. description: 现货品种ID
  5396. type: integer
  5397. deliverygoodsname:
  5398. description: 现货品种名称
  5399. type: string
  5400. enddate:
  5401. description: 结束交易日
  5402. type: string
  5403. reckondate:
  5404. description: 日照时期(yyyyMMdd)
  5405. type: string
  5406. sellpreinvoicedamount:
  5407. description: 销售预开票额(预开票额)
  5408. type: number
  5409. sellprepaidamount:
  5410. description: 销售预收款额(预收货款额)
  5411. type: number
  5412. selltodayinvoiceamount:
  5413. description: 销售今开票额(今开票额)
  5414. type: number
  5415. selltodayrefundamount:
  5416. description: 销售今付退款额(今付退款额)
  5417. type: number
  5418. selltodaysettleamount:
  5419. description: 销售今收款额(今收货款额)
  5420. type: number
  5421. selluninvoicedamount:
  5422. description: 销售应开票额(应开票额)
  5423. type: number
  5424. sellunpaidamount:
  5425. description: 销售应收款额(应收货款额)
  5426. type: number
  5427. spotgoodsbrandid:
  5428. description: 现货品牌ID
  5429. type: integer
  5430. todaypaysum:
  5431. description: 今付款合计
  5432. type: number
  5433. todayreceivesum:
  5434. description: 今收款合计
  5435. type: number
  5436. updatetime:
  5437. description: 更新时间
  5438. type: string
  5439. wrfactortypeid:
  5440. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5441. type: integer
  5442. wrstandardcode:
  5443. description: 品类代码
  5444. type: string
  5445. wrstandardid:
  5446. description: 现货商品ID
  5447. type: integer
  5448. wrstandardname:
  5449. description: 品类名称
  5450. type: string
  5451. type: object
  5452. models.Ermcp3GoodsGroup:
  5453. properties:
  5454. agreeunit:
  5455. description: 合约单位
  5456. type: number
  5457. areauserid:
  5458. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5459. type: integer
  5460. canshort:
  5461. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5462. type: integer
  5463. closepricemode:
  5464. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5465. type: integer
  5466. createtime:
  5467. description: 创建时间
  5468. type: string
  5469. creatorid:
  5470. description: 创建人
  5471. type: integer
  5472. currencyid:
  5473. description: 报价货币ID
  5474. type: integer
  5475. decimalplace:
  5476. description: 报价小数位
  5477. type: integer
  5478. enumdicname:
  5479. description: 单位名称
  5480. type: string
  5481. exchangefullname:
  5482. description: 交易所全称
  5483. type: string
  5484. excludecfg:
  5485. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5486. type: integer
  5487. exexchangecode:
  5488. description: 交易所代码
  5489. type: string
  5490. exexchangeid:
  5491. description: 外部交易所ID[通道交易]
  5492. type: integer
  5493. exexchangename:
  5494. description: 交易所名称
  5495. type: string
  5496. goodsgroupid:
  5497. description: 商品组ID(自增ID)
  5498. type: integer
  5499. goodsgroupname:
  5500. description: 商品组名称
  5501. type: string
  5502. goodsgroupstatus:
  5503. description: 商品组状态 - 1:正常 2:注销
  5504. type: integer
  5505. goodunitid:
  5506. description: 报价单位ID
  5507. type: integer
  5508. groupcategroyid:
  5509. description: 品种分类ID
  5510. type: integer
  5511. innerdealmode:
  5512. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5513. type: integer
  5514. marketid:
  5515. description: 所属市场ID
  5516. type: integer
  5517. modifierid:
  5518. description: 修改人
  5519. type: integer
  5520. modifytime:
  5521. description: 修改时间
  5522. type: string
  5523. outerdealmode:
  5524. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5525. type: integer
  5526. outergroupcode:
  5527. description: 外部商品组代码[通道交易]
  5528. type: string
  5529. quoteminunit:
  5530. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5531. type: integer
  5532. quotesourcegroupid:
  5533. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5534. type: integer
  5535. syncgoodsqty:
  5536. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5537. type: integer
  5538. required:
  5539. - areauserid
  5540. type: object
  5541. models.Ermcp3HedgePlan:
  5542. properties:
  5543. accountid:
  5544. description: 资金账号
  5545. type: integer
  5546. areauserid:
  5547. description: 用户ID
  5548. type: integer
  5549. auditid:
  5550. description: 审核id
  5551. type: integer
  5552. auditname:
  5553. description: 审核人名称
  5554. type: string
  5555. auditremark:
  5556. description: 审核备注
  5557. type: string
  5558. auditsrc:
  5559. description: 审核来源 1-管理端 2-终端
  5560. type: integer
  5561. audittime:
  5562. description: 审核时间
  5563. type: string
  5564. contracttype:
  5565. description: 计划类型 - 1:采购 -1:销售
  5566. type: integer
  5567. convertfactor:
  5568. description: 标仓系数
  5569. type: number
  5570. createtime:
  5571. description: 创建时间
  5572. type: string
  5573. currencyid:
  5574. description: 币种id
  5575. type: integer
  5576. currencyname:
  5577. description: 币种名称
  5578. type: string
  5579. deliverygoodscode:
  5580. description: 现货品种代码
  5581. type: string
  5582. deliverygoodsid:
  5583. description: 现货品种ID
  5584. type: integer
  5585. deliverygoodsname:
  5586. description: 现货品种名称
  5587. type: string
  5588. enumdicname:
  5589. description: 单位名称(现货商品)
  5590. type: string
  5591. hedgeplanid:
  5592. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5593. type: string
  5594. hedgeplanno:
  5595. description: 套保计划编号(名称)
  5596. type: string
  5597. hedgeplanstatus:
  5598. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5599. type: integer
  5600. planqty:
  5601. description: 计划数量
  5602. type: number
  5603. plantime:
  5604. description: 计划时间
  5605. type: string
  5606. producttype:
  5607. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5608. type: integer
  5609. remark:
  5610. description: 备注
  5611. type: string
  5612. spotgoodsdesc:
  5613. description: 商品型号
  5614. type: string
  5615. taaccountname:
  5616. description: 资金账号名称
  5617. type: string
  5618. tradeuserid:
  5619. description: 交易用户id
  5620. type: integer
  5621. tradeusername:
  5622. description: 交易用户名称
  5623. type: string
  5624. unitid:
  5625. description: 单位id(现货商品)
  5626. type: integer
  5627. updatetime:
  5628. description: 更新时间
  5629. type: string
  5630. vatrate:
  5631. description: 增值税率
  5632. type: number
  5633. wrstandardcode:
  5634. description: 品类代码
  5635. type: string
  5636. wrstandardid:
  5637. description: 品类id
  5638. type: integer
  5639. wrstandardname:
  5640. description: 品类名称
  5641. type: string
  5642. wrunitid:
  5643. description: 品类单位id
  5644. type: integer
  5645. wrunitidame:
  5646. description: 品类单位名称
  5647. type: string
  5648. type: object
  5649. models.Ermcp3InnerTradeLink:
  5650. properties:
  5651. accountid:
  5652. description: 期货账号代码 | 资金账号ID
  5653. type: integer
  5654. buyorsell:
  5655. description: 方向 - 0:买 1:卖
  5656. type: integer
  5657. channelbuildtype:
  5658. description: 委托单据类型 0:无 1:建仓 2:平仓
  5659. type: integer
  5660. currencyid:
  5661. description: 币种id
  5662. type: integer
  5663. currencyname:
  5664. description: 结算币种 名称
  5665. type: string
  5666. goodscode:
  5667. description: 商品代码
  5668. type: string
  5669. goodsid:
  5670. description: 商品ID
  5671. type: integer
  5672. goodsname:
  5673. description: 商品名称
  5674. type: string
  5675. outtradeid:
  5676. description: 外部成交单号
  5677. type: string
  5678. taname:
  5679. description: 期货账户名称
  5680. type: string
  5681. tradeid:
  5682. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5683. type: string
  5684. tradeprice:
  5685. description: 成交价格
  5686. type: number
  5687. tradeqty:
  5688. description: 期货成交数量
  5689. type: integer
  5690. tradetime:
  5691. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5692. type: string
  5693. username:
  5694. description: 用户名称
  5695. type: string
  5696. type: object
  5697. models.Ermcp3OutTradeLink:
  5698. properties:
  5699. buyorsell:
  5700. description: 买卖方向 - 0:买 1:卖
  5701. type: integer
  5702. channelbuildtype:
  5703. description: 开平标志- 0:无 1:建仓 2:平仓
  5704. type: integer
  5705. currencyname:
  5706. description: 币种名称
  5707. type: string
  5708. exexchangecode:
  5709. description: 交易所代码
  5710. type: string
  5711. exexchangename:
  5712. description: 交易所名称
  5713. type: string
  5714. goodscode:
  5715. description: 合约代码
  5716. type: string
  5717. goodsid:
  5718. description: 合约id
  5719. type: integer
  5720. goodsname:
  5721. description: 合约名称
  5722. type: string
  5723. hasinnerorder:
  5724. description: 是否有内部单关联 - 0:无 1:有
  5725. type: integer
  5726. hedgeaccountcode:
  5727. description: 外部账号 | 对冲账号
  5728. type: string
  5729. outtradeid:
  5730. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5731. type: string
  5732. tradeprice:
  5733. description: 成交价格
  5734. type: number
  5735. tradeqty:
  5736. description: 成交数量
  5737. type: integer
  5738. tradetime:
  5739. description: 成交时间
  5740. type: string
  5741. type: object
  5742. models.Ermcp3PaAreaAuditCfg:
  5743. properties:
  5744. areauserid:
  5745. description: 用户ID
  5746. type: integer
  5747. buyinauditflag:
  5748. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5749. type: integer
  5750. costratioauditflag:
  5751. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5752. type: integer
  5753. customerauditflag:
  5754. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5755. type: integer
  5756. deliveryauditflag:
  5757. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5758. type: integer
  5759. invoiceauditflag:
  5760. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5761. type: integer
  5762. mgneedhedgeratioauditflag:
  5763. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5764. type: integer
  5765. moneyauditflag:
  5766. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5767. type: integer
  5768. operatorid:
  5769. description: 操作人
  5770. type: integer
  5771. operatorsrc:
  5772. description: 操作来源 - 1:管理端 2:终端
  5773. type: integer
  5774. pointpriceauditflag:
  5775. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5776. type: integer
  5777. produceinauditflag:
  5778. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5779. type: integer
  5780. produceoutauditflag:
  5781. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5782. type: integer
  5783. selloutauditflag:
  5784. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5785. type: integer
  5786. sgconvertratioauditflag:
  5787. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5788. type: integer
  5789. sgvtaratioauditflag:
  5790. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5791. type: integer
  5792. spotcontractauditflag:
  5793. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5794. type: integer
  5795. updatetime:
  5796. description: 更新时间
  5797. type: string
  5798. type: object
  5799. models.Ermcp3PaAreaSubject:
  5800. properties:
  5801. areauserid:
  5802. description: 所属机构
  5803. type: integer
  5804. canmodify:
  5805. description: 是否可修改 - 0:否 1:是
  5806. type: integer
  5807. createtime:
  5808. description: 创建时间
  5809. type: string
  5810. creatorid:
  5811. description: 创建人ID
  5812. type: string
  5813. creatorsrc:
  5814. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5815. type: integer
  5816. modifierid:
  5817. description: 修改人
  5818. type: string
  5819. modifiersrc:
  5820. description: 修改人来源 - 1:管理端 2:终端
  5821. type: integer
  5822. modifytime:
  5823. description: 修改时间
  5824. type: string
  5825. parentsubjectid:
  5826. description: 上级主体ID
  5827. type: string
  5828. remark:
  5829. description: 备注
  5830. type: string
  5831. subjectid:
  5832. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5833. type: integer
  5834. subjectname:
  5835. description: 主体名称
  5836. type: string
  5837. subjectstatus:
  5838. description: '主体状态 - 1:正常 2: 停用'
  5839. type: integer
  5840. subjecttype:
  5841. description: 主体类型 - 1:交易主体 2:业务部门
  5842. type: integer
  5843. type: object
  5844. models.Ermcp3PaTradeLink:
  5845. properties:
  5846. accountid:
  5847. description: 期货账户代码 | 账号ID
  5848. type: integer
  5849. agreeunit:
  5850. description: 合约乘数
  5851. type: number
  5852. buyorsell:
  5853. description: 方向 - 0:买 1:卖
  5854. type: integer
  5855. channelbuildtype:
  5856. description: 委托单据类型 0:无 1:建仓 2:平仓
  5857. type: integer
  5858. charge:
  5859. description: 手续费
  5860. type: number
  5861. closepl:
  5862. description: 平仓盈亏
  5863. type: number
  5864. closetype:
  5865. description: 平仓方式 - 0:无 1:平今 2:平昨
  5866. type: integer
  5867. convertratio:
  5868. description: 折算系数
  5869. type: number
  5870. enumdicname:
  5871. description: 单位名称
  5872. type: string
  5873. executeprice:
  5874. description: 执行价 [期权]
  5875. type: integer
  5876. goodscode:
  5877. description: 合约代码
  5878. type: string
  5879. goodsgroupid:
  5880. description: 对冲品种ID[期货合约商品组ID]
  5881. type: integer
  5882. goodsid:
  5883. description: 商品ID
  5884. type: integer
  5885. goodsname:
  5886. description: 合约名称
  5887. type: string
  5888. goodunitid:
  5889. description: 单位id
  5890. type: integer
  5891. hedgeflag:
  5892. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  5893. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5894. type: integer
  5895. marketid:
  5896. description: 市场ID
  5897. type: integer
  5898. middlegoodsid:
  5899. description: 套保品种ID
  5900. type: integer
  5901. middlegoodsqty:
  5902. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5903. type: number
  5904. optioncode:
  5905. description: 期权代码 [期权]
  5906. type: string
  5907. ordertype:
  5908. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5909. type: integer
  5910. ordertypename:
  5911. description: 订单类型
  5912. type: string
  5913. parentaccountid:
  5914. description: 所属母账户
  5915. type: integer
  5916. premium:
  5917. description: 权利金 [期权]
  5918. type: number
  5919. relatedlot:
  5920. description: 已关联数量(已关联数量手) | db:关联手数
  5921. type: number
  5922. relatedouttradeid:
  5923. description: 关联外部成交单ID
  5924. type: string
  5925. relatedqty:
  5926. description: 关联数量
  5927. type: number
  5928. spotcontractid:
  5929. description: 现货合同ID [4:套期保值\10\11]
  5930. type: string
  5931. taname:
  5932. description: 期货账户名称
  5933. type: string
  5934. tradeamount:
  5935. description: 成交金额(账户)
  5936. type: number
  5937. tradedate:
  5938. description: 交易日(yyyyMMdd)
  5939. type: string
  5940. tradeid:
  5941. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5942. type: string
  5943. tradelot:
  5944. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5945. type: integer
  5946. tradeprice:
  5947. description: 成交价格
  5948. type: number
  5949. tradetime:
  5950. description: 时间 | db:成交时间
  5951. type: string
  5952. tradetype:
  5953. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5954. type: integer
  5955. userid:
  5956. description: 所属机构 - 所属母账户的UserID
  5957. type: string
  5958. username:
  5959. description: 用户名称
  5960. type: string
  5961. type: object
  5962. models.Ermcp3ParamChangeApp:
  5963. properties:
  5964. aftervalue:
  5965. description: 变更后
  5966. type: number
  5967. applicationid:
  5968. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5969. type: string
  5970. applyid:
  5971. description: 申请人
  5972. type: string
  5973. applyname:
  5974. description: 申请人名称(代码)
  5975. type: string
  5976. applyremark:
  5977. description: 申请备注
  5978. type: string
  5979. applysrc:
  5980. description: 申请来源 - 1:管理端 2:终端
  5981. type: integer
  5982. applystatus:
  5983. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5984. type: integer
  5985. applytime:
  5986. description: 申请时间
  5987. type: string
  5988. areauserid:
  5989. description: 所属机构用户ID
  5990. type: integer
  5991. auditid:
  5992. description: 审核人
  5993. type: string
  5994. auditname:
  5995. description: 审核人名称(代码)
  5996. type: string
  5997. auditremark:
  5998. description: 审核备注
  5999. type: string
  6000. auditsrc:
  6001. description: 审核来源 - 1:管理端 2:终端
  6002. type: integer
  6003. audittime:
  6004. description: 审核时间
  6005. type: string
  6006. audittradedate:
  6007. description: 审核交易日(yyyyMMdd)
  6008. type: string
  6009. beforevalue:
  6010. description: 变更前
  6011. type: number
  6012. deliverygoodscode:
  6013. description: 品种代码
  6014. type: string
  6015. deliverygoodsid:
  6016. description: 品种id
  6017. type: integer
  6018. deliverygoodsname:
  6019. description: 品种名称
  6020. type: string
  6021. middlegoodscode:
  6022. description: 套保品种代码
  6023. type: string
  6024. middlegoodsid:
  6025. description: 套保品种ID [ParamChangeType = 2,3,4]
  6026. type: integer
  6027. middlegoodsname:
  6028. description: 套保品种名称
  6029. type: string
  6030. operatetype:
  6031. description: 操作类型 - 1:新增 2:修改
  6032. type: integer
  6033. paramchangetype:
  6034. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6035. type: integer
  6036. wrstandardcode:
  6037. description: 现货商品代码
  6038. type: string
  6039. wrstandardid:
  6040. description: 现货商品ID [ParamChangeType = 1,2,3]
  6041. type: integer
  6042. wrstandardname:
  6043. description: 现货商品名称
  6044. type: string
  6045. type: object
  6046. models.Ermcp3RootUserAccount:
  6047. properties:
  6048. accountname:
  6049. description: 账户名称(机构名称)
  6050. type: string
  6051. accountstatus:
  6052. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6053. type: integer
  6054. applysrc:
  6055. description: 申请来源 - 1:管理端 2:终端
  6056. type: integer
  6057. auditremark:
  6058. description: 审核备注
  6059. type: string
  6060. auditsrc:
  6061. description: 审核来源 - 1:管理端 2:终端
  6062. type: integer
  6063. audittime:
  6064. description: 审核时间
  6065. type: string
  6066. audituserid:
  6067. description: 审核人
  6068. type: integer
  6069. broker:
  6070. description: 所属经纪人ID
  6071. type: integer
  6072. canceltime:
  6073. description: 销户时间
  6074. type: string
  6075. canceluserid:
  6076. description: 销户人
  6077. type: integer
  6078. canrecommend:
  6079. description: 是否可推荐 - 0:不可 1;可
  6080. type: integer
  6081. createtime:
  6082. description: 创建时间
  6083. type: string
  6084. creatorid:
  6085. description: 创建人
  6086. type: integer
  6087. hasauth:
  6088. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6089. type: integer
  6090. isanonymous:
  6091. description: 是否匿名下单 - 0:否 1:是
  6092. type: integer
  6093. maxinvestornum:
  6094. description: 最大用户数(经纪会员下投资者个数)
  6095. type: integer
  6096. memberuserid:
  6097. description: 所属会员ID
  6098. type: integer
  6099. modifierid:
  6100. description: 修改人
  6101. type: integer
  6102. modifyremark:
  6103. description: 变更备注
  6104. type: string
  6105. modifystatus:
  6106. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6107. type: integer
  6108. modifytime:
  6109. description: 修改时间
  6110. type: string
  6111. nickname:
  6112. description: 昵称
  6113. type: string
  6114. parenttopuser:
  6115. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6116. type: string
  6117. parentuserid:
  6118. description: 所属机构ID
  6119. type: integer
  6120. reckonaccountid:
  6121. description: 默认结算资金账号ID(机构分润使用) 作废
  6122. type: integer
  6123. refercount:
  6124. description: 推荐总人数
  6125. type: integer
  6126. refereeuserid:
  6127. description: 推荐人ID
  6128. type: integer
  6129. refernum:
  6130. description: 推荐码
  6131. type: string
  6132. rootuserid:
  6133. description: 根用户ID
  6134. type: integer
  6135. subaccountlevel:
  6136. description: 子账户层数
  6137. type: integer
  6138. subarealevelpath:
  6139. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6140. type: string
  6141. userid:
  6142. description: 用户ID
  6143. type: integer
  6144. usertype:
  6145. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6146. type: integer
  6147. type: object
  6148. models.Ermcp3SCMiddleGoods:
  6149. properties:
  6150. biztype:
  6151. description: 业务类型 1:套保 2:套利
  6152. type: integer
  6153. contractno:
  6154. description: 合同编号
  6155. type: string
  6156. contracttype:
  6157. description: 合同类型 1:采购 -1:销售
  6158. type: integer
  6159. convertratio:
  6160. description: 折算系数
  6161. type: number
  6162. customername:
  6163. description: 对手手名称
  6164. type: string
  6165. customeruserid:
  6166. description: 对手id
  6167. type: integer
  6168. deliverygoodscode:
  6169. description: 现货品种代码
  6170. type: string
  6171. deliverygoodsid:
  6172. description: 现货品种ID
  6173. type: integer
  6174. deliverygoodsname:
  6175. description: 现货品种名称
  6176. type: string
  6177. enumdicname:
  6178. description: 现货单位名称
  6179. type: string
  6180. middlegoodsid:
  6181. description: 套保品种ID
  6182. type: integer
  6183. middlegoodspricedqty3:
  6184. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6185. type: number
  6186. needhedgeratio:
  6187. description: 套保比例
  6188. type: number
  6189. pricedqty:
  6190. description: 已定价量
  6191. type: number
  6192. relatedmiddlegoodsqty:
  6193. description: 已关联量(套保品种)(期货)
  6194. type: number
  6195. spotcontractid:
  6196. description: 合同编号
  6197. type: string
  6198. unitid:
  6199. description: 现货单位id
  6200. type: integer
  6201. userid:
  6202. description: 用户id
  6203. type: integer
  6204. vatrate:
  6205. description: 增值税率
  6206. type: number
  6207. wrstandardcode:
  6208. description: 现货商品代码
  6209. type: string
  6210. wrstandardid:
  6211. description: 现货商品id
  6212. type: integer
  6213. wrstandardname:
  6214. description: 现货商品名称
  6215. type: string
  6216. type: object
  6217. models.Ermcp3SCMiddleGoodsReport:
  6218. properties:
  6219. begindate:
  6220. description: 开始交易日
  6221. type: string
  6222. contractno:
  6223. description: 合同编号
  6224. type: string
  6225. contracttype:
  6226. description: 合同类型 1:采购 -1:销售
  6227. type: integer
  6228. convertratio:
  6229. description: 折算系数
  6230. type: number
  6231. cycletime:
  6232. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6233. type: string
  6234. cycletype:
  6235. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6236. type: integer
  6237. deliverygoodscode:
  6238. description: 品种代码
  6239. type: string
  6240. deliverygoodsid:
  6241. description: 现货品种ID
  6242. type: integer
  6243. deliverygoodsname:
  6244. description: 品种名称
  6245. type: string
  6246. diffprice:
  6247. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6248. type: number
  6249. diffqty:
  6250. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6251. type: number
  6252. enddate:
  6253. description: 结束交易日
  6254. type: string
  6255. hedgeplanqty:
  6256. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6257. type: number
  6258. matchname:
  6259. description: 交易对手方(个人:用户名称 企业:简称)
  6260. type: string
  6261. middlegoodscode:
  6262. description: 套保品种代码
  6263. type: string
  6264. middlegoodsid:
  6265. description: 套保品种ID
  6266. type: integer
  6267. middlegoodsname:
  6268. description: 套保品种名称
  6269. type: string
  6270. middlegoodspricedqty:
  6271. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6272. type: number
  6273. middlegoodspricedqty2:
  6274. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6275. type: number
  6276. middlegoodspricedqty3:
  6277. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6278. type: number
  6279. needhedgeratio:
  6280. description: 套保系数
  6281. type: number
  6282. pricedamount:
  6283. description: 已定价额(现货)
  6284. type: number
  6285. pricedamount2:
  6286. description: 已定价额(现货-基价额)
  6287. type: number
  6288. pricedqty:
  6289. description: 已定价量(现货)
  6290. type: number
  6291. reckondate:
  6292. description: 日照时期(yyyyMMdd)
  6293. type: string
  6294. relatedmiddlegoodsamount:
  6295. description: 已关联额(期货)
  6296. type: number
  6297. relatedmiddlegoodsqty:
  6298. description: 已关联量(套保品种)(期货)
  6299. type: number
  6300. spotcontractid:
  6301. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6302. type: string
  6303. todayavgfutuprice:
  6304. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6305. type: number
  6306. todayavgprice:
  6307. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6308. type: number
  6309. todayavgprice2:
  6310. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6311. type: number
  6312. todaypricedamount:
  6313. description: 今日定价额(现货)
  6314. type: number
  6315. todaypricedamount2:
  6316. description: 今日定价额(现货-基价额)
  6317. type: number
  6318. todaypricedqty:
  6319. description: 今日定价量(现货)
  6320. type: number
  6321. todayrelatedfutureqty:
  6322. description: 今日关联量(期货)
  6323. type: number
  6324. todayrelatedmiddlegoodsamount:
  6325. description: 今日关联额(期货)
  6326. type: number
  6327. todayrelatedmiddlegoodsqty:
  6328. description: 今日关联量(套保品-期货)
  6329. type: number
  6330. updatetime:
  6331. description: 更新时间
  6332. type: string
  6333. userid:
  6334. description: 合同所属用户id
  6335. type: integer
  6336. vatrate:
  6337. description: 增值税率
  6338. type: number
  6339. wrstandardcode:
  6340. description: 商品(品类) 代码
  6341. type: string
  6342. wrstandardid:
  6343. description: 现货商品ID
  6344. type: integer
  6345. wrstandardname:
  6346. description: 商品(品类) 名称
  6347. type: string
  6348. type: object
  6349. models.Ermcp3SellBuyContract:
  6350. properties:
  6351. accountid:
  6352. description: 期货账户id
  6353. type: string
  6354. accountname:
  6355. description: 账户名称
  6356. type: string
  6357. attachment:
  6358. description: 附件
  6359. type: string
  6360. audittime:
  6361. description: 审核时间
  6362. type: string
  6363. bizsubjectid:
  6364. description: 归属业务部门ID - SubjectID
  6365. type: integer
  6366. biztype:
  6367. description: 业务类型 1-套保 2-套利
  6368. type: integer
  6369. brandname:
  6370. description: 品牌名称
  6371. type: string
  6372. contracctstatus:
  6373. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6374. type: integer
  6375. contractmargin:
  6376. description: 合同保证金
  6377. type: number
  6378. contractno:
  6379. description: 合同编号
  6380. type: string
  6381. contracttype:
  6382. description: 合同类型 1-采购, -1-销售
  6383. type: integer
  6384. convertfactor:
  6385. description: 标仓系数(品类)
  6386. type: number
  6387. createtime:
  6388. description: 创建时间
  6389. type: string
  6390. currencyid:
  6391. description: 币种id
  6392. type: integer
  6393. currencyname:
  6394. description: 币种名称
  6395. type: string
  6396. daikaiamount:
  6397. description: 应收(开)票额
  6398. type: number
  6399. deliveryenddate:
  6400. description: 交割结束日
  6401. type: string
  6402. deliverygoodscode:
  6403. description: 现货品种代码
  6404. type: string
  6405. deliverygoodsid:
  6406. description: 现货商品ID
  6407. type: integer
  6408. deliverygoodsname:
  6409. description: 现货品种名称
  6410. type: string
  6411. deliverystartdate:
  6412. description: 交割开始日
  6413. type: string
  6414. enddate:
  6415. description: 点价结束日
  6416. type: string
  6417. enumdicname:
  6418. description: 单位名称
  6419. type: string
  6420. goodscode:
  6421. description: 点价商品代码
  6422. type: string
  6423. goodsgroupid:
  6424. description: 点价商品组id
  6425. type: integer
  6426. goodsid:
  6427. description: 点价商品ID
  6428. type: integer
  6429. goodsname:
  6430. description: 点价商品名称
  6431. type: string
  6432. invoiceamount:
  6433. description: 已开票额
  6434. type: number
  6435. loanamount:
  6436. description: 贷款总额=已定价额+调整金额
  6437. type: number
  6438. margin:
  6439. description: 保证金
  6440. type: number
  6441. meruserid:
  6442. description: 跟单员id
  6443. type: integer
  6444. meruserlogincode:
  6445. description: 跟单员登录代码
  6446. type: string
  6447. merusername:
  6448. description: 跟单员名称
  6449. type: string
  6450. nickname:
  6451. description: 账户昵称
  6452. type: string
  6453. orireckonrealqty:
  6454. description: 应交收量
  6455. type: number
  6456. payamount:
  6457. description: 已收付额(收款或付款)
  6458. type: number
  6459. preinvoiceamount:
  6460. description: 预收(开)票额
  6461. type: number
  6462. prepayamount:
  6463. description: 预收付额
  6464. type: number
  6465. price:
  6466. description: 价格
  6467. type: number
  6468. pricedamount:
  6469. description: 已定价额
  6470. type: number
  6471. pricedavg:
  6472. description: 已点均价
  6473. type: number
  6474. pricedqty:
  6475. description: 已定价量
  6476. type: number
  6477. pricemove:
  6478. description: 升贴水
  6479. type: number
  6480. pricetype:
  6481. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6482. type: integer
  6483. producttype:
  6484. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6485. type: integer
  6486. qty:
  6487. description: 合同量
  6488. type: number
  6489. reckonadjustamount:
  6490. description: 调整金额
  6491. type: number
  6492. reckonedamount:
  6493. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6494. type: number
  6495. reckonotheramount:
  6496. description: 其它费用
  6497. type: number
  6498. reckonrealqty:
  6499. description: 已交收量
  6500. type: number
  6501. remark:
  6502. description: 备注
  6503. type: string
  6504. saleuserid:
  6505. description: 业务员id
  6506. type: integer
  6507. saleuserlogincode:
  6508. description: 业务员登录代码
  6509. type: string
  6510. saleusername:
  6511. description: 业务员名称
  6512. type: string
  6513. spotcontractid:
  6514. description: 合同ID
  6515. type: string
  6516. spotgoodsbrandid:
  6517. description: 现货品牌ID(DGFactoryItem表的ID)
  6518. type: integer
  6519. spotgoodsdesc:
  6520. description: 商品型号(商品规格)
  6521. type: string
  6522. startdate:
  6523. description: 点价开始日
  6524. type: string
  6525. subjectid:
  6526. description: 交易主体ID
  6527. type: integer
  6528. subjectname:
  6529. description: 交易主体名称
  6530. type: string
  6531. totalamount:
  6532. description: 合计总额
  6533. type: number
  6534. tradeuserid:
  6535. description: 交易员id
  6536. type: integer
  6537. tradeuserlogincode:
  6538. description: 交易员登录代码
  6539. type: string
  6540. tradeusername:
  6541. description: 交易员名称
  6542. type: string
  6543. unpayamount:
  6544. description: 应收付款额(应支付或应收款)
  6545. type: number
  6546. unpricedqty:
  6547. description: 未定价量
  6548. type: number
  6549. unsureqty:
  6550. description: 未确定量
  6551. type: number
  6552. userid:
  6553. description: 机构ID
  6554. type: integer
  6555. vatrate:
  6556. description: 增值税率
  6557. type: number
  6558. wrstandardcode:
  6559. description: 品类代码
  6560. type: string
  6561. wrstandardid:
  6562. description: 品类ID
  6563. type: integer
  6564. wrstandardname:
  6565. description: 品类名称
  6566. type: string
  6567. type: object
  6568. models.Ermcp3SpotGoodsPrice:
  6569. properties:
  6570. areauserid:
  6571. description: 所属机构id
  6572. type: integer
  6573. brandname:
  6574. description: 品牌名称
  6575. type: string
  6576. currencyid:
  6577. description: 报价货币ID
  6578. type: integer
  6579. currencyname:
  6580. description: 币种名称
  6581. type: string
  6582. deliverygoodscode:
  6583. description: 现货商品代码
  6584. type: string
  6585. deliverygoodsid:
  6586. description: 现货商品id
  6587. type: integer
  6588. deliverygoodsname:
  6589. description: 现货商品名称
  6590. type: string
  6591. enumdicname:
  6592. description: 现货商品单位名称
  6593. type: string
  6594. gbenumdicname:
  6595. description: 品类单位名称
  6596. type: string
  6597. gmunitid:
  6598. description: 品类单位id
  6599. type: integer
  6600. isvalid:
  6601. description: 是否有效 - 0:无效 1:有效
  6602. type: integer
  6603. operateid:
  6604. description: 最后操作人
  6605. type: integer
  6606. operatesrc:
  6607. description: 最后操作来源 - 1:管理端 2:终端
  6608. type: integer
  6609. operatetime:
  6610. description: 最后操作时间
  6611. type: string
  6612. operatorname:
  6613. description: 操作人名称
  6614. type: string
  6615. spotgoodsbrandid:
  6616. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6617. type: integer
  6618. spotgoodsprice:
  6619. description: 现货价格
  6620. type: number
  6621. tradedate:
  6622. description: 交易日(yyyyMMdd)
  6623. type: string
  6624. unitid:
  6625. description: 现货商品单位id
  6626. type: integer
  6627. wrstandardcode:
  6628. description: 品类代码
  6629. type: string
  6630. wrstandardid:
  6631. description: 现货品类ID(通用则为0)
  6632. type: integer
  6633. wrstandardname:
  6634. description: 品类名称
  6635. type: string
  6636. type: object
  6637. models.Ermcp3SpotGoodsPriceLog:
  6638. properties:
  6639. areauserid:
  6640. description: 所属机构id
  6641. type: integer
  6642. brandname:
  6643. description: 品牌名称
  6644. type: string
  6645. currencyid:
  6646. description: 报价货币ID
  6647. type: integer
  6648. deliverygoodscode:
  6649. description: 现货商品代码
  6650. type: string
  6651. deliverygoodsid:
  6652. description: 现货商品id
  6653. type: integer
  6654. deliverygoodsname:
  6655. description: 现货商品名称
  6656. type: string
  6657. enumdicname:
  6658. description: 现货商品单位名称
  6659. type: string
  6660. gbenumdicname:
  6661. description: 品类单位名称
  6662. type: string
  6663. gmunitid:
  6664. description: 品类单位id
  6665. type: integer
  6666. logid:
  6667. description: 日志id
  6668. type: integer
  6669. operateid:
  6670. description: 最后操作人
  6671. type: integer
  6672. operatesrc:
  6673. description: 最后操作来源 - 1:管理端 2:终端
  6674. type: integer
  6675. operatetime:
  6676. description: 最后操作时间
  6677. type: string
  6678. operatorname:
  6679. description: 操作人名称
  6680. type: string
  6681. spotgoodsbrandid:
  6682. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6683. type: integer
  6684. spotgoodsprice:
  6685. description: 现货价格
  6686. type: number
  6687. tradedate:
  6688. description: 交易日(yyyyMMdd)
  6689. type: string
  6690. unitid:
  6691. description: 现货商品单位id
  6692. type: integer
  6693. wrstandardcode:
  6694. description: 品类代码
  6695. type: string
  6696. wrstandardid:
  6697. description: 现货品类ID(通用则为0)
  6698. type: integer
  6699. wrstandardname:
  6700. description: 品类名称
  6701. type: string
  6702. type: object
  6703. models.Ermcp3SubTaaccount:
  6704. properties:
  6705. accountid:
  6706. description: 资金账户ID
  6707. type: integer
  6708. parentaccountcode:
  6709. description: 所属根账号代码(母账号代码)
  6710. type: string
  6711. parentaccountid:
  6712. description: 所属根账号(母账号)
  6713. type: integer
  6714. taname:
  6715. description: 资金账号名称
  6716. type: string
  6717. tradestatus:
  6718. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6719. type: integer
  6720. username:
  6721. description: 交易用户
  6722. type: string
  6723. type: object
  6724. models.Ermcp3TaFutuReDataReport:
  6725. properties:
  6726. accountid:
  6727. description: 交易账户
  6728. type: integer
  6729. accountname:
  6730. description: 交易账号名称
  6731. type: string
  6732. agreeunit:
  6733. description: 商品合约单位
  6734. type: number
  6735. begindate:
  6736. description: 开始交易日
  6737. type: string
  6738. buyorsell:
  6739. description: 持仓方向
  6740. type: integer
  6741. charge:
  6742. description: 手续费
  6743. type: number
  6744. closeavgprice:
  6745. description: 平仓均价
  6746. type: number
  6747. closepl:
  6748. description: 平仓损益
  6749. type: number
  6750. currencyid:
  6751. description: 结算币种ID
  6752. type: integer
  6753. currencyname:
  6754. description: 币种名称
  6755. type: string
  6756. cycletime:
  6757. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6758. type: string
  6759. cycletype:
  6760. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6761. type: integer
  6762. enddate:
  6763. description: 结束交易日
  6764. type: string
  6765. enumdicname:
  6766. description: 单位名称
  6767. type: string
  6768. floatpl:
  6769. description: 浮动损益
  6770. type: number
  6771. goodscode:
  6772. description: 交易合约代码
  6773. type: string
  6774. goodsgroupid:
  6775. description: 交易品种
  6776. type: integer
  6777. goodsgroupname:
  6778. description: 交易品种名称
  6779. type: string
  6780. goodsgroupspotqty:
  6781. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6782. type: number
  6783. goodsid:
  6784. description: 交易合约
  6785. type: integer
  6786. goodsname:
  6787. description: 交易合约名称
  6788. type: string
  6789. goodunitid:
  6790. description: 交易合约单位id
  6791. type: integer
  6792. holdamount:
  6793. description: 期末持仓额
  6794. type: number
  6795. holdqty:
  6796. description: 期末持仓量
  6797. type: number
  6798. lastholdamount:
  6799. description: 当前持仓额
  6800. type: number
  6801. lastprice:
  6802. description: 最新价
  6803. type: number
  6804. middlegoodsid:
  6805. description: 套保品种id
  6806. type: integer
  6807. middlegoodsname:
  6808. description: 套保商品名称
  6809. type: string
  6810. middlegoodsqty:
  6811. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6812. type: number
  6813. middlgoodscode:
  6814. description: 套保商品代码
  6815. type: string
  6816. openamount:
  6817. description: 期末开仓额
  6818. type: number
  6819. openavgprice:
  6820. description: 开仓均价
  6821. type: number
  6822. oriholdamount:
  6823. description: 期初持仓额
  6824. type: number
  6825. oriholdqty:
  6826. description: 期初持仓量
  6827. type: number
  6828. oriopenamount:
  6829. description: 期初开仓额
  6830. type: number
  6831. outergroupcode:
  6832. description: 交易品种代码
  6833. type: string
  6834. qtydecimalplace:
  6835. description: 成交量小数位
  6836. type: integer
  6837. reckondate:
  6838. description: 日照时期(yyyyMMdd)
  6839. type: string
  6840. reckonholdamount:
  6841. description: 结算持仓额
  6842. type: number
  6843. reckonpl:
  6844. description: 结算损益
  6845. type: number
  6846. reckonpl2:
  6847. description: 结算逐笔盈亏
  6848. type: number
  6849. reckonprice:
  6850. description: 结算价
  6851. type: number
  6852. relateduserid:
  6853. description: 账户关联用户ID
  6854. type: integer
  6855. todaycloseamount:
  6856. description: 今平仓额
  6857. type: number
  6858. todaycloseqty:
  6859. description: 今平仓量
  6860. type: number
  6861. todaygoodsgroupspotqty:
  6862. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6863. type: number
  6864. todaymiddlegoodsqty:
  6865. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6866. type: number
  6867. todayopenamount:
  6868. description: 今开仓额
  6869. type: number
  6870. todayopenqty:
  6871. description: 今开仓量
  6872. type: number
  6873. userid:
  6874. description: 账户所属用户ID
  6875. type: integer
  6876. type: object
  6877. models.Ermcp3TradeLinkDetail:
  6878. properties:
  6879. accountid:
  6880. description: 资金账号
  6881. type: integer
  6882. agreeunit:
  6883. description: 合约乘数
  6884. type: number
  6885. areauserid:
  6886. description: 所属机构
  6887. type: string
  6888. bizsubjectid:
  6889. description: 归属业务部门ID - SubjectID
  6890. type: string
  6891. buyorsell:
  6892. description: 方向 - 0:买 1:卖
  6893. type: integer
  6894. channelbuildtype:
  6895. description: 委托单据类型 0:无 1:建仓 2:平仓
  6896. type: integer
  6897. contractno:
  6898. description: 现货编号 (合同编号)
  6899. type: string
  6900. convertratio:
  6901. description: 折算系数
  6902. type: number
  6903. createtime:
  6904. description: 关联时间 | 创建时间
  6905. type: string
  6906. creatorid:
  6907. description: 创建人ID
  6908. type: string
  6909. creatorsrc:
  6910. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6911. type: integer
  6912. enumdicname:
  6913. description: 单位名称
  6914. type: string
  6915. goodscode:
  6916. description: 合约代码
  6917. type: string
  6918. goodsgroupid:
  6919. description: 对冲品种ID[期货合约商品组ID]
  6920. type: integer
  6921. goodsid:
  6922. description: 商品ID
  6923. type: integer
  6924. goodsname:
  6925. description: 合约名称
  6926. type: string
  6927. hedgeflag:
  6928. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  6929. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6930. type: integer
  6931. linkdetailid:
  6932. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6933. type: string
  6934. linkstatus:
  6935. description: 关联状态 - 1:成功 2:失败 3:解绑
  6936. type: integer
  6937. middlegoodscode:
  6938. description: 套保品种代码
  6939. type: string
  6940. middlegoodsid:
  6941. description: 套保品种ID
  6942. type: integer
  6943. middlegoodsname:
  6944. description: 套保品种名称
  6945. type: string
  6946. relatedlot:
  6947. description: 关联手数
  6948. type: number
  6949. relatedmode:
  6950. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6951. type: integer
  6952. relatedqty:
  6953. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6954. type: number
  6955. retcode:
  6956. description: 返回码
  6957. type: integer
  6958. saleuserid:
  6959. description: 业务员ID
  6960. type: string
  6961. spotcontractid:
  6962. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6963. type: string
  6964. taname:
  6965. description: 期货账户
  6966. type: string
  6967. tradedate:
  6968. description: 关联交易日(yyyyMMdd)
  6969. type: string
  6970. tradeid:
  6971. description: 期货订单号 | 内部成交单ID
  6972. type: string
  6973. tradelot:
  6974. description: 成交数量 | 成交手数
  6975. type: integer
  6976. tradeprice:
  6977. description: 成交价格
  6978. type: number
  6979. tradetime:
  6980. description: 期货成交时间
  6981. type: string
  6982. tradetradedate:
  6983. description: 成交交易日(yyyyMMdd)
  6984. type: string
  6985. username:
  6986. description: 用户名称
  6987. type: string
  6988. type: object
  6989. models.Ermcp3Wrstandard:
  6990. properties:
  6991. areauserid:
  6992. description: 所属机构
  6993. type: integer
  6994. cantrade:
  6995. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6996. type: integer
  6997. convertfactor:
  6998. description: 标仓系数
  6999. type: number
  7000. createtime:
  7001. description: 创建时间
  7002. type: string
  7003. creatorid:
  7004. description: 创建人
  7005. type: integer
  7006. deliverygoodsid:
  7007. description: 现货品种ID
  7008. type: integer
  7009. enumdicname:
  7010. description: 品类单位名称
  7011. type: string
  7012. isvalid:
  7013. description: 是否有效 0-无效(停用) 1-有效(正常)
  7014. type: integer
  7015. minivalue:
  7016. description: 最小变动值
  7017. type: integer
  7018. minivaluedp:
  7019. description: 最小变动值小数位
  7020. type: integer
  7021. realminivalue:
  7022. description: 实际最小变动值
  7023. type: integer
  7024. realminivaluedp:
  7025. description: 实际最小变动值小数位
  7026. type: integer
  7027. remark:
  7028. description: 备注
  7029. type: string
  7030. unitid:
  7031. description: 品类单位ID
  7032. type: integer
  7033. updatetime:
  7034. description: 更新时间
  7035. type: string
  7036. wrstandardcode:
  7037. description: 品类代码
  7038. type: string
  7039. wrstandardid:
  7040. description: 品类ID(SEQ_WRSTANDARD)
  7041. type: integer
  7042. wrstandardname:
  7043. description: 品类名称
  7044. type: string
  7045. type: object
  7046. models.ErmcpBizGroupEx:
  7047. properties:
  7048. acclist:
  7049. description: 账号列表
  7050. items:
  7051. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7052. type: array
  7053. bizgroupid:
  7054. description: 业务分组id
  7055. type: integer
  7056. biztype:
  7057. description: 业务类型 1-套保 2-套利
  7058. type: integer
  7059. wrlist:
  7060. description: 现货商品表
  7061. items:
  7062. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7063. type: array
  7064. type: object
  7065. models.ErmcpBizGroupSpotGoods:
  7066. properties:
  7067. areauserid:
  7068. description: 所属机构id
  7069. type: integer
  7070. bizgroupid:
  7071. description: 分组id
  7072. type: integer
  7073. biztype:
  7074. description: 业务类型 1-套保 2-套利
  7075. type: integer
  7076. deliverygoodscode:
  7077. description: 现货商品代码
  7078. type: string
  7079. deliverygoodsid:
  7080. description: 现货商品id
  7081. type: integer
  7082. deliverygoodsname:
  7083. description: 现货商品名称
  7084. type: string
  7085. unitid:
  7086. description: 现货商品单位id
  7087. type: integer
  7088. type: object
  7089. models.ErmcpBizGroupTaAccount:
  7090. properties:
  7091. accountid:
  7092. description: 账号id
  7093. type: integer
  7094. accountname:
  7095. description: 账号名称
  7096. type: string
  7097. areauserid:
  7098. description: 所属机构id
  7099. type: integer
  7100. bizgroupid:
  7101. description: 业务分组id
  7102. type: integer
  7103. ismain:
  7104. description: 是否主账号 1-是 0-否
  7105. type: integer
  7106. type: object
  7107. models.ErmcpDGFactoryItem:
  7108. properties:
  7109. areauserid:
  7110. description: 用户id
  7111. type: integer
  7112. deliverygoodsid:
  7113. description: 现货品种ID
  7114. type: integer
  7115. dgfactoryitemid:
  7116. description: 选择项ID(SEQ_DGFACTORYITEM)
  7117. type: integer
  7118. dgfactoryitemtypeid:
  7119. description: 要素项类型
  7120. type: integer
  7121. dgfactoryitemvalue:
  7122. description: 要素项值(类型为仓库时填写仓库名称)
  7123. type: string
  7124. isvalid:
  7125. description: 是否有效 - 0:无效 1:有效
  7126. type: integer
  7127. orderindex:
  7128. description: 顺序
  7129. type: integer
  7130. warehouseid:
  7131. description: 仓库ID(类型为仓库时填写)
  7132. type: integer
  7133. type: object
  7134. models.ErmcpDeliveryGoods:
  7135. properties:
  7136. agreeunit:
  7137. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7138. type: integer
  7139. areauserid:
  7140. description: 所属机构
  7141. type: integer
  7142. auditflag:
  7143. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7144. type: integer
  7145. categoryid:
  7146. description: 类别ID(SEQ_WRCATEGORY)
  7147. type: integer
  7148. deliverygoodscode:
  7149. description: 现货品种代码
  7150. type: string
  7151. deliverygoodsid:
  7152. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7153. type: integer
  7154. deliverygoodsname:
  7155. description: 现货品种名称
  7156. type: string
  7157. deliverygoodstype:
  7158. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7159. type: integer
  7160. dgstatus:
  7161. description: 品种状态 - 作废 - 0:未激活 1:正常
  7162. type: integer
  7163. enumdicname:
  7164. description: 现货品种单位名称
  7165. type: string
  7166. goodsunitid:
  7167. description: 现货品种单位ID
  7168. type: integer
  7169. isvalid:
  7170. description: 是否有效 - 0:无效 1:有效
  7171. type: integer
  7172. qtydecimalplace:
  7173. description: 成交量小数位
  7174. type: integer
  7175. remark:
  7176. description: 备注
  7177. type: string
  7178. standardqty:
  7179. description: 标准数量(库位数量) [标准品特有]
  7180. type: integer
  7181. standardqtyrange:
  7182. description: 标准数量偏差范围 [标准品特有]
  7183. type: integer
  7184. type: object
  7185. models.ErmcpFuturesCompany:
  7186. properties:
  7187. brokerid:
  7188. description: 经纪公司代码
  7189. type: string
  7190. channeladdress:
  7191. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7192. type: string
  7193. channelid:
  7194. description: 对冲渠道ID
  7195. type: string
  7196. createtime:
  7197. description: 创建时间
  7198. type: string
  7199. creatorid:
  7200. description: 创建人
  7201. type: string
  7202. fcid:
  7203. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7204. type: integer
  7205. fcname:
  7206. description: 期货公司名称
  7207. type: string
  7208. isvalid:
  7209. description: 是否有效 - 0:无效 1:有效
  7210. type: integer
  7211. mhpaddress:
  7212. description: MHP服务地址(IP:Port)
  7213. type: string
  7214. riskrulegroupid:
  7215. description: 风控规则组ID
  7216. type: string
  7217. tradefeetmpid:
  7218. description: 手续费模板ID[TradeConfigTmpType为2]
  7219. type: string
  7220. trademargintmpid:
  7221. description: 保证金模板ID [TradeConfigTmpType为1]
  7222. type: string
  7223. traderatetmpid:
  7224. description: 汇率模板ID[TradeConfigTmpType为3]
  7225. type: string
  7226. updatetime:
  7227. description: 更新时间
  7228. type: string
  7229. updatorid:
  7230. description: 更新人
  7231. type: string
  7232. type: object
  7233. models.ErmcpGGConvertCfg:
  7234. properties:
  7235. convertratio:
  7236. description: 折算系数
  7237. type: number
  7238. destgoodsgroupid:
  7239. description: 目标品种ID
  7240. type: integer
  7241. dstcode:
  7242. description: 目录品种代码
  7243. type: string
  7244. dstexchangecode:
  7245. description: 目标期货交易所
  7246. type: string
  7247. dstname:
  7248. description: 目标品种名称
  7249. type: string
  7250. dstunitid:
  7251. description: 目标品种单位ID
  7252. type: integer
  7253. dstunitidname:
  7254. description: 目标品种单位名称
  7255. type: string
  7256. modifytime:
  7257. description: 修改时间
  7258. type: string
  7259. srccode:
  7260. description: 源品种代码
  7261. type: string
  7262. srcexchangecode:
  7263. description: 源期货交易所
  7264. type: string
  7265. srcgoodsgroupid:
  7266. description: 源品种ID
  7267. type: integer
  7268. srcname:
  7269. description: 源品种名称
  7270. type: string
  7271. srcunitid:
  7272. description: 源品种单位ID
  7273. type: integer
  7274. srcunitidname:
  7275. description: 源品种单位名称
  7276. type: string
  7277. type: object
  7278. models.ErmcpGoods:
  7279. properties:
  7280. agreeunit:
  7281. description: 合约单位
  7282. type: number
  7283. areauserid:
  7284. description: 所属机构
  7285. type: integer
  7286. auditaccountid:
  7287. description: 审核操作员账号
  7288. type: integer
  7289. audittime:
  7290. description: 审核时间
  7291. type: string
  7292. cancelaccountid:
  7293. description: 注销操作员账号
  7294. type: integer
  7295. canceltime:
  7296. description: 注销时间
  7297. type: string
  7298. closepricemode:
  7299. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7300. type: integer
  7301. closepriceparam:
  7302. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7303. type: number
  7304. createtime:
  7305. description: 创建时间
  7306. type: string
  7307. creatorid:
  7308. description: 创建人
  7309. type: integer
  7310. currencyid:
  7311. description: 报价货币ID
  7312. type: integer
  7313. cutmode:
  7314. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7315. type: integer
  7316. decimalplace:
  7317. description: 报价小数位
  7318. type: integer
  7319. delistingdate:
  7320. description: 商品退市时间(状态:退市) -- 已作废
  7321. type: string
  7322. delistingmode:
  7323. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7324. type: integer
  7325. deliveryflag:
  7326. description: 交割标志 - 0:不可交割 1:可交割
  7327. type: integer
  7328. enumdicname:
  7329. description: 单位名称
  7330. type: string
  7331. forceclosemode:
  7332. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7333. type: integer
  7334. forceclosevalue:
  7335. description: 定期强平参数 [收益权]
  7336. type: integer
  7337. goodscode:
  7338. description: 商品代码(内部)
  7339. type: string
  7340. goodscurrencyid:
  7341. description: 合约货币ID
  7342. type: integer
  7343. goodsgroupid:
  7344. description: 所属商品组ID
  7345. type: integer
  7346. goodsid:
  7347. description: 商品ID(自增ID SEQ_GOODS)
  7348. type: integer
  7349. goodsname:
  7350. description: 商品名称
  7351. type: string
  7352. goodsquotetype:
  7353. description: '合约报价类型: 1-直接报价 2-间接报价'
  7354. type: integer
  7355. goodsstatus:
  7356. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7357. type: integer
  7358. goodstradetype:
  7359. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7360. type: integer
  7361. goodunitid:
  7362. description: 报价单位ID
  7363. type: integer
  7364. hasquoter:
  7365. description: 是否有报价商 - 0:无报价商 1:有报价商
  7366. type: integer
  7367. hqprotecttime:
  7368. description: 行情保护时间(秒)
  7369. type: integer
  7370. innerdealmode:
  7371. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7372. type: integer
  7373. isbuylimited:
  7374. description: 是否限制建仓量 - 0:不限制 1:限制
  7375. type: integer
  7376. isvisible:
  7377. description: 游客是否可见 - 0:不可见 1:可见
  7378. type: integer
  7379. lasttradedate:
  7380. description: 最后交易日期(状态:待退市)
  7381. type: string
  7382. listingdate:
  7383. description: 交易开始日期
  7384. type: string
  7385. marketid:
  7386. description: 所属市场ID
  7387. type: integer
  7388. modifierid:
  7389. description: 修改人
  7390. type: integer
  7391. modifystatus:
  7392. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7393. type: integer
  7394. modifytime:
  7395. description: 修改时间
  7396. type: string
  7397. outerdealmode:
  7398. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7399. type: integer
  7400. outgoodscode:
  7401. description: 商品代码(外部)
  7402. type: string
  7403. pictureurl:
  7404. description: 商品图片
  7405. type: string
  7406. qtydecimalplace:
  7407. description: 成交量小数位
  7408. type: integer
  7409. quotegear:
  7410. description: 行情档位(1-10)
  7411. type: integer
  7412. quoteminunit:
  7413. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7414. type: integer
  7415. quoteshowtype:
  7416. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7417. type: integer
  7418. quoteshowtypeinterval:
  7419. description: 行情报价间隔时间(秒)(成交价时为0)
  7420. type: integer
  7421. relatedgoodsid:
  7422. description: 关联参考商品ID
  7423. type: integer
  7424. remark:
  7425. description: 备注
  7426. type: string
  7427. trademode:
  7428. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7429. 21:竞拍-大宗式 22:受托竞价
  7430. type: integer
  7431. required:
  7432. - goodscode
  7433. - goodsid
  7434. - goodsname
  7435. - marketid
  7436. type: object
  7437. models.ErmcpGoodsBrand:
  7438. properties:
  7439. areauserid:
  7440. description: 所属机构
  7441. type: integer
  7442. brandid:
  7443. description: BrandID(SEQ_SPOTGOODSBRAND)
  7444. type: integer
  7445. brandname:
  7446. description: 品牌名称
  7447. type: string
  7448. createtime:
  7449. description: 创建时间
  7450. type: string
  7451. creatorid:
  7452. description: 创建人
  7453. type: integer
  7454. creatorsrc:
  7455. description: 创建人来源 - 1:管理端 2:终端
  7456. type: integer
  7457. deliverygoodsid:
  7458. description: 现货品种ID
  7459. type: integer
  7460. isvalid:
  7461. description: 是否有效 - 0:无效 1:有效
  7462. type: integer
  7463. updatetime:
  7464. description: 更新时间
  7465. type: string
  7466. updatorid:
  7467. description: 更新人
  7468. type: integer
  7469. updatorsrc:
  7470. description: 更新人来源 - 1:管理端 2:终端
  7471. type: integer
  7472. wrstandardid:
  7473. description: 现货商品ID
  7474. type: integer
  7475. type: object
  7476. models.ErmcpGoodsModel:
  7477. properties:
  7478. areauserid:
  7479. description: 所属机构
  7480. type: integer
  7481. convertfactor:
  7482. description: 标仓系数
  7483. type: number
  7484. createtime:
  7485. description: 创建时间
  7486. type: string
  7487. creatorid:
  7488. description: 创建人
  7489. type: integer
  7490. creatorsrc:
  7491. description: 创建人来源 - 1:管理端 2:终端
  7492. type: integer
  7493. deliverygoodsid:
  7494. description: 现货品种ID
  7495. type: integer
  7496. isvalid:
  7497. description: 是否有效 - 0:无效 1:有效
  7498. type: integer
  7499. modelid:
  7500. description: ModelID(SEQ_SPOTGOODSMODEL)
  7501. type: integer
  7502. modelname:
  7503. description: 型号名称
  7504. type: string
  7505. updatetime:
  7506. description: 更新时间
  7507. type: string
  7508. updatorid:
  7509. description: 更新人
  7510. type: integer
  7511. updatorsrc:
  7512. description: 更新人来源 - 1:管理端 2:终端
  7513. type: integer
  7514. wrstandardid:
  7515. description: 现货商品ID
  7516. type: integer
  7517. type: object
  7518. models.ErmcpHisExposure:
  7519. properties:
  7520. needhedgeexposoure:
  7521. description: 应套保敞口
  7522. type: number
  7523. reckondate:
  7524. description: 日照时期(yyyyMMdd)
  7525. type: string
  7526. totalexposure:
  7527. description: 总敞口
  7528. type: number
  7529. type: object
  7530. models.ErmcpLoginTaAccount:
  7531. properties:
  7532. accountid:
  7533. description: 账号id
  7534. type: integer
  7535. accountname:
  7536. description: 账号名称
  7537. type: string
  7538. type: object
  7539. models.ErmcpLoginUser:
  7540. properties:
  7541. acclist:
  7542. description: 关联资金账号
  7543. items:
  7544. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7545. type: array
  7546. accountname:
  7547. description: 用户名称
  7548. type: string
  7549. clientroleid:
  7550. description: 角色id(usertype=2)
  7551. type: integer
  7552. createtime:
  7553. description: 创建时间
  7554. type: string
  7555. logincode:
  7556. description: 登录代码
  7557. type: string
  7558. loginid:
  7559. description: 登录id(LOGINID)
  7560. type: integer
  7561. loginname:
  7562. description: 登录名称(loginaccount表中的accountname字段)
  7563. type: string
  7564. loginstatus:
  7565. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7566. type: integer
  7567. memberuserid:
  7568. description: 所属会员id
  7569. type: integer
  7570. mobile:
  7571. description: 手机号
  7572. type: string
  7573. modifytime:
  7574. description: 修改时间
  7575. type: string
  7576. password:
  7577. description: 密码(不可解密)
  7578. type: string
  7579. rolename:
  7580. description: 角色名称
  7581. type: string
  7582. rolestatus:
  7583. description: 角色状态 1-启用 2-停用
  7584. type: integer
  7585. roletype:
  7586. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7587. type: string
  7588. userid:
  7589. description: 用户id
  7590. type: integer
  7591. usertype:
  7592. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7593. type: integer
  7594. type: object
  7595. models.ErmcpLoginUserEx:
  7596. properties:
  7597. accountstatus:
  7598. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7599. type: integer
  7600. mobile:
  7601. description: 手机号
  7602. type: string
  7603. querytype:
  7604. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7605. type: integer
  7606. roleid:
  7607. description: 角色id(交易账户->用户id)
  7608. type: integer
  7609. rolename:
  7610. description: 角色名称(交易账户->用户名称)
  7611. type: string
  7612. userlist:
  7613. description: 用户列表
  7614. items:
  7615. $ref: '#/definitions/models.ErmcpLoginUser'
  7616. type: array
  7617. usertype:
  7618. description: 用户类型 2-机构 7-企业成员(云平台)
  7619. type: integer
  7620. type: object
  7621. models.ErmcpMiddleGoodsModel:
  7622. properties:
  7623. areauserid:
  7624. description: 机构用户ID
  7625. type: integer
  7626. createtime:
  7627. description: 修改时间
  7628. type: string
  7629. enumdicname:
  7630. description: 单位名称
  7631. type: string
  7632. evaluateratio:
  7633. description: 估价系数
  7634. type: number
  7635. goodsgroupid:
  7636. description: 关联期货品种ID
  7637. type: integer
  7638. goodsunitid:
  7639. description: 单位ID
  7640. type: integer
  7641. isvalid:
  7642. description: 状态 0-无效(停用) 1-有效(正常)
  7643. type: integer
  7644. middlegoodscode:
  7645. description: 套保品种代码
  7646. type: string
  7647. middlegoodsid:
  7648. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7649. type: integer
  7650. middlegoodsname:
  7651. description: 套保品种名称
  7652. type: string
  7653. modifytime:
  7654. description: 修改时间
  7655. type: string
  7656. needarbitrageratio:
  7657. description: 套利比例
  7658. type: number
  7659. needhedgeratio:
  7660. description: 套保比率
  7661. type: number
  7662. qtydecimalplace:
  7663. description: 数量小数位
  7664. type: integer
  7665. relatedgoodsid:
  7666. description: 关联交易商品ID
  7667. type: integer
  7668. relatedgoodstype:
  7669. description: 关联商品类型 - 1:期货合约 2:现货品种
  7670. type: integer
  7671. remark:
  7672. description: 备注
  7673. type: string
  7674. type: object
  7675. models.ErmcpMiddlegoodsRelateGoods:
  7676. properties:
  7677. agreeunit:
  7678. description: 合约乘数
  7679. type: number
  7680. convertratio:
  7681. description: 折算系数
  7682. type: number
  7683. enumdicname:
  7684. description: 单位名称(交易商品)
  7685. type: string
  7686. goodscode:
  7687. description: 交易商品代码
  7688. type: string
  7689. goodsgroupid:
  7690. description: 交易品种id
  7691. type: integer
  7692. goodsid:
  7693. description: 商品Id
  7694. type: integer
  7695. goodsname:
  7696. description: 交易商品名称
  7697. type: string
  7698. goodunitid:
  7699. description: 交易商品单位id
  7700. type: integer
  7701. middlegoodsid:
  7702. description: 套保商品id
  7703. type: integer
  7704. middlegoodsname:
  7705. description: 套保商品名称
  7706. type: string
  7707. middlegoodsswcode:
  7708. description: 套保商品代码
  7709. type: string
  7710. needarbitrageratio:
  7711. description: 应套利比例
  7712. type: number
  7713. needhedgeratio:
  7714. description: 应套保比例
  7715. type: number
  7716. type: object
  7717. models.ErmcpRole:
  7718. properties:
  7719. areauserid:
  7720. description: 所属机构
  7721. type: integer
  7722. autoid:
  7723. description: 角色ID(自增ID)
  7724. type: integer
  7725. modifierid:
  7726. description: 修改人(创建人)
  7727. type: integer
  7728. modifiername:
  7729. description: 修改人名称
  7730. type: string
  7731. modifytime:
  7732. description: 修改时间(创建时间)
  7733. type: string
  7734. rolename:
  7735. description: 角色名称
  7736. type: string
  7737. rolestatus:
  7738. description: 角色状态 - 1:启用 2:停用
  7739. type: integer
  7740. roletype:
  7741. description: 角色类型 - 1- 管理端 2- 交易端
  7742. type: integer
  7743. type: object
  7744. models.ErmcpRoleMenu:
  7745. properties:
  7746. iconame:
  7747. description: 菜单图标
  7748. type: string
  7749. ishadrole:
  7750. description: 是否有权限
  7751. type: boolean
  7752. menutype:
  7753. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7754. type: integer
  7755. parentcode:
  7756. description: 上级资源代码
  7757. type: string
  7758. remark:
  7759. description: 菜单备注
  7760. type: string
  7761. resourcecode:
  7762. description: 菜单代码
  7763. type: string
  7764. resourcelevel:
  7765. description: 级别
  7766. type: integer
  7767. resourcename:
  7768. description: 菜单名称
  7769. type: string
  7770. roleid:
  7771. description: 角色id
  7772. type: integer
  7773. sort:
  7774. description: 排序
  7775. type: integer
  7776. url:
  7777. description: URL
  7778. type: string
  7779. userid:
  7780. description: 用户id
  7781. type: integer
  7782. type: object
  7783. models.ErmcpRoleMenuEx:
  7784. properties:
  7785. menu:
  7786. $ref: '#/definitions/models.ErmcpRoleMenu'
  7787. description: 父级菜单
  7788. subMenu:
  7789. description: 子级菜单
  7790. items:
  7791. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7792. type: array
  7793. type: object
  7794. models.ErmcpTaAccount:
  7795. properties:
  7796. accountid:
  7797. description: 账户id
  7798. type: integer
  7799. accountname:
  7800. description: 账户名称
  7801. type: string
  7802. currencyid:
  7803. description: 币种id
  7804. type: integer
  7805. hedgeaccountcode:
  7806. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7807. type: string
  7808. ismain:
  7809. description: 是否主账户 0-否 1-是
  7810. type: integer
  7811. parentaccountid:
  7812. description: 父账户id
  7813. type: integer
  7814. relateduserid:
  7815. description: 关联userid
  7816. type: integer
  7817. tradefeetmpid:
  7818. description: 手续费模板id
  7819. type: integer
  7820. tradefeetmpname:
  7821. description: 手续费模板名称
  7822. type: string
  7823. trademargintmpid:
  7824. description: 保证金模板id
  7825. type: integer
  7826. trademargintmpname:
  7827. description: 保证金模板名称
  7828. type: string
  7829. traderatetmpid:
  7830. description: 汇率模板id
  7831. type: integer
  7832. traderatetmpname:
  7833. description: 汇率模板名称
  7834. type: string
  7835. tradestatus:
  7836. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7837. type: integer
  7838. userid:
  7839. description: 用户id
  7840. type: integer
  7841. type: object
  7842. models.ErmcpTaAccountEx:
  7843. properties:
  7844. mainAcc:
  7845. $ref: '#/definitions/models.ErmcpTaAccountM'
  7846. description: 主账号
  7847. subacclist:
  7848. description: 子账号列表
  7849. items:
  7850. $ref: '#/definitions/models.ErmcpTaAccount'
  7851. type: array
  7852. type: object
  7853. models.ErmcpTaAccountInfo:
  7854. properties:
  7855. accountid:
  7856. description: 资金账户ID
  7857. type: integer
  7858. accountname:
  7859. description: 账户名称
  7860. type: string
  7861. balance:
  7862. description: 期初余额
  7863. type: number
  7864. capitalbalance:
  7865. description: 本金余额[外部子账户实际出入金余额]
  7866. type: number
  7867. closepl:
  7868. description: 今日平仓盈亏
  7869. type: number
  7870. creditdecrease:
  7871. description: 今日授信减少
  7872. type: number
  7873. creditincrease:
  7874. description: 今日授信增加
  7875. type: number
  7876. curdebt:
  7877. description: 期末欠款
  7878. type: number
  7879. currencyid:
  7880. description: 货币ID
  7881. type: integer
  7882. currentbalance:
  7883. description: 期末余额
  7884. type: number
  7885. freezecharge:
  7886. description: 手续费冻结
  7887. type: number
  7888. freezemargin:
  7889. description: 冻结保证金
  7890. type: number
  7891. fromaccountid:
  7892. description: 所属上级账户
  7893. type: integer
  7894. inamount:
  7895. description: 今日入金金额(包括三方入金)
  7896. type: number
  7897. ismain:
  7898. description: 是否母账号 0:不是母账户 1:是母账户
  7899. type: integer
  7900. mortgagecredit:
  7901. description: 授信金额
  7902. type: number
  7903. oridebt:
  7904. description: 期初欠款
  7905. type: number
  7906. orifreezecharge:
  7907. description: 期初手续费冻结
  7908. type: number
  7909. orifreezemargin:
  7910. description: 期初冻结保证金
  7911. type: number
  7912. orimortgagecredit:
  7913. description: 期初授信金额
  7914. type: number
  7915. oriothercredit:
  7916. description: 期初其它授信金额
  7917. type: number
  7918. oriotherfreezemargin:
  7919. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7920. type: number
  7921. orioutamountfreeze:
  7922. description: 期初出金冻结
  7923. type: number
  7924. oriusedmargin:
  7925. description: 期初占用保证金
  7926. type: number
  7927. othercredit:
  7928. description: 其它授信金额
  7929. type: number
  7930. othercreditdecrease:
  7931. description: 今日其它授信减少
  7932. type: number
  7933. othercreditincrease:
  7934. description: 今日其它授信增加
  7935. type: number
  7936. otherfreezemargin:
  7937. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7938. type: number
  7939. outamount:
  7940. description: 今日出金金额(包括三方出金)
  7941. type: number
  7942. outamountfreeze:
  7943. description: 出金冻结
  7944. type: number
  7945. outthreshold:
  7946. description: 出金阈值
  7947. type: number
  7948. parentaccountid:
  7949. description: 所属根账号
  7950. type: integer
  7951. paycharge:
  7952. description: 今日手续费支出
  7953. type: number
  7954. relateduserid:
  7955. description: 关联用户
  7956. type: integer
  7957. signstatus:
  7958. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7959. type: integer
  7960. sublevelpath:
  7961. description: 账号层级路径(逗号分隔,首尾加逗号)
  7962. type: string
  7963. taaccounttype:
  7964. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7965. type: integer
  7966. thirdinamount:
  7967. description: 今日三方入金
  7968. type: number
  7969. thirdoutamount:
  7970. description: 今日三方出金
  7971. type: number
  7972. tradestatus:
  7973. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7974. type: integer
  7975. transferamount:
  7976. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7977. type: number
  7978. usedmargin:
  7979. description: 占用保证金
  7980. type: number
  7981. userid:
  7982. description: 用户ID
  7983. type: integer
  7984. type: object
  7985. models.ErmcpTaAccountM:
  7986. properties:
  7987. accountid:
  7988. description: 账户id
  7989. type: integer
  7990. accountname:
  7991. description: 账户名称
  7992. type: string
  7993. currencyid:
  7994. description: 币种id
  7995. type: integer
  7996. fcid:
  7997. description: 期货公司id
  7998. type: integer
  7999. fcname:
  8000. description: 期货公司代码
  8001. type: string
  8002. hedgeaccountcode:
  8003. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8004. type: string
  8005. ismain:
  8006. description: 是否主账户 0-否 1-是
  8007. type: integer
  8008. parentaccountid:
  8009. description: 父账户id
  8010. type: integer
  8011. relateduserid:
  8012. description: 关联userid
  8013. type: integer
  8014. tradefeetmpid:
  8015. description: 手续费模板id
  8016. type: integer
  8017. tradefeetmpname:
  8018. description: 手续费模板名称
  8019. type: string
  8020. trademargintmpid:
  8021. description: 保证金模板id
  8022. type: integer
  8023. trademargintmpname:
  8024. description: 保证金模板名称
  8025. type: string
  8026. traderatetmpid:
  8027. description: 汇率模板id
  8028. type: integer
  8029. traderatetmpname:
  8030. description: 汇率模板名称
  8031. type: string
  8032. tradestatus:
  8033. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8034. type: integer
  8035. userid:
  8036. description: 用户id
  8037. type: integer
  8038. type: object
  8039. models.ErmcpTradeConfigTMP:
  8040. properties:
  8041. areauserid:
  8042. description: 所属机构
  8043. type: integer
  8044. basiccurrencyid:
  8045. description: 基本币种ID[汇率] - 目标币种
  8046. type: integer
  8047. mainaccountid:
  8048. description: 主账户ID
  8049. type: integer
  8050. modifierid:
  8051. description: 修改人
  8052. type: integer
  8053. remark:
  8054. description: 备注
  8055. type: string
  8056. tradeconfigtmpid:
  8057. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8058. type: integer
  8059. tradeconfigtmpname:
  8060. description: 交易配置模板名称
  8061. type: string
  8062. tradeconfigtmptype:
  8063. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8064. type: integer
  8065. updatetime:
  8066. description: 更新时间
  8067. type: string
  8068. type: object
  8069. models.Externalexchange:
  8070. properties:
  8071. autoid:
  8072. description: AutoID - SEQ_EXTERNALEXCHANGE
  8073. type: integer
  8074. exchangefullname:
  8075. description: 外部交易所全称
  8076. type: string
  8077. exexchangecode:
  8078. description: 外部交易所代码
  8079. type: string
  8080. exexchangename:
  8081. description: 外部交易所名称(简称)
  8082. type: string
  8083. ismarketprice:
  8084. description: 是否支持市价 - 0:不支持 1:支持
  8085. type: integer
  8086. quotegear:
  8087. description: 行情档位(1-10)
  8088. type: integer
  8089. showbrokerflag:
  8090. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8091. type: integer
  8092. updatetime:
  8093. description: 更新时间
  8094. type: string
  8095. required:
  8096. - autoid
  8097. type: object
  8098. models.Funcmenulist:
  8099. properties:
  8100. iconame:
  8101. description: 菜单图标
  8102. type: string
  8103. menutype:
  8104. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8105. type: integer
  8106. parentcode:
  8107. description: 上级资源代码
  8108. type: string
  8109. remark:
  8110. description: 备注
  8111. type: string
  8112. resourcecode:
  8113. description: 资源代码
  8114. type: string
  8115. resourcelevel:
  8116. description: 级别 1-一级 2-二级 3-三级 4-四级
  8117. type: integer
  8118. resourcename:
  8119. description: 资源名
  8120. type: string
  8121. sort:
  8122. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8123. type: integer
  8124. url:
  8125. description: URL
  8126. type: string
  8127. required:
  8128. - resourcecode
  8129. type: object
  8130. models.Goods:
  8131. properties:
  8132. agreeunit:
  8133. description: 合约单位
  8134. type: number
  8135. areauserid:
  8136. description: 所属机构
  8137. type: integer
  8138. auditaccountid:
  8139. description: 审核操作员账号
  8140. type: integer
  8141. audittime:
  8142. description: 审核时间
  8143. type: string
  8144. cancelaccountid:
  8145. description: 注销操作员账号
  8146. type: integer
  8147. canceltime:
  8148. description: 注销时间
  8149. type: string
  8150. closepricemode:
  8151. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8152. type: integer
  8153. closepriceparam:
  8154. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8155. type: number
  8156. createtime:
  8157. description: 创建时间
  8158. type: string
  8159. creatorid:
  8160. description: 创建人
  8161. type: integer
  8162. currencyid:
  8163. description: 报价货币ID
  8164. type: integer
  8165. cutmode:
  8166. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8167. type: integer
  8168. decimalplace:
  8169. description: 报价小数位
  8170. type: integer
  8171. delistingdate:
  8172. description: 商品退市时间(状态:退市) -- 已作废
  8173. type: string
  8174. delistingmode:
  8175. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8176. type: integer
  8177. deliveryflag:
  8178. description: 交割标志 - 0:不可交割 1:可交割
  8179. type: integer
  8180. forceclosemode:
  8181. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8182. type: integer
  8183. forceclosevalue:
  8184. description: 定期强平参数 [收益权]
  8185. type: integer
  8186. goodscode:
  8187. description: 商品代码(内部)
  8188. type: string
  8189. goodscurrencyid:
  8190. description: 合约货币ID
  8191. type: integer
  8192. goodsgroupid:
  8193. description: 所属商品组ID
  8194. type: integer
  8195. goodsid:
  8196. description: 商品ID(自增ID SEQ_GOODS)
  8197. type: integer
  8198. goodsname:
  8199. description: 商品名称
  8200. type: string
  8201. goodsquotetype:
  8202. description: '合约报价类型: 1-直接报价 2-间接报价'
  8203. type: integer
  8204. goodsstatus:
  8205. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8206. type: integer
  8207. goodstradetype:
  8208. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8209. type: integer
  8210. goodunitid:
  8211. description: 报价单位ID
  8212. type: integer
  8213. hasquoter:
  8214. description: 是否有报价商 - 0:无报价商 1:有报价商
  8215. type: integer
  8216. hqprotecttime:
  8217. description: 行情保护时间(秒)
  8218. type: integer
  8219. innerdealmode:
  8220. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8221. type: integer
  8222. isbuylimited:
  8223. description: 是否限制建仓量 - 0:不限制 1:限制
  8224. type: integer
  8225. isvisible:
  8226. description: 游客是否可见 - 0:不可见 1:可见
  8227. type: integer
  8228. lasttradedate:
  8229. description: 最后交易日期(状态:待退市)
  8230. type: string
  8231. listingdate:
  8232. description: 交易开始日期
  8233. type: string
  8234. marketid:
  8235. description: 所属市场ID
  8236. type: integer
  8237. modifierid:
  8238. description: 修改人
  8239. type: integer
  8240. modifystatus:
  8241. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8242. type: integer
  8243. modifytime:
  8244. description: 修改时间
  8245. type: string
  8246. outerdealmode:
  8247. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8248. type: integer
  8249. outgoodscode:
  8250. description: 商品代码(外部)
  8251. type: string
  8252. pictureurl:
  8253. description: 商品图片
  8254. type: string
  8255. qtydecimalplace:
  8256. description: 成交量小数位
  8257. type: integer
  8258. quotegear:
  8259. description: 行情档位(1-10)
  8260. type: integer
  8261. quoteminunit:
  8262. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8263. type: integer
  8264. quoteshowtype:
  8265. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8266. type: integer
  8267. quoteshowtypeinterval:
  8268. description: 行情报价间隔时间(秒)(成交价时为0)
  8269. type: integer
  8270. remark:
  8271. description: 备注
  8272. type: string
  8273. required:
  8274. - goodscode
  8275. - goodsid
  8276. - goodsname
  8277. - marketid
  8278. type: object
  8279. models.GoodsIDAndName:
  8280. properties:
  8281. goodscode:
  8282. description: 商品代码(内部)
  8283. type: string
  8284. goodsid:
  8285. description: 商品ID(自增ID SEQ_GOODS)
  8286. type: integer
  8287. goodsname:
  8288. description: 商品名称
  8289. type: string
  8290. marketid:
  8291. description: 所属市场ID
  8292. type: integer
  8293. required:
  8294. - goodscode
  8295. - goodsid
  8296. - goodsname
  8297. - marketid
  8298. type: object
  8299. models.Goodsgroup:
  8300. properties:
  8301. agreeunit:
  8302. description: 合约单位
  8303. type: number
  8304. canshort:
  8305. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8306. type: integer
  8307. closepricemode:
  8308. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8309. type: integer
  8310. closepriceparam:
  8311. description: 强平最新价浮动比例 - 方式为2时使用
  8312. type: number
  8313. createtime:
  8314. description: 创建时间
  8315. type: string
  8316. creatorid:
  8317. description: 创建人
  8318. type: integer
  8319. currencyid:
  8320. description: 报价货币ID
  8321. type: integer
  8322. decimalplace:
  8323. description: 报价小数位
  8324. type: integer
  8325. exercisetype:
  8326. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8327. type: integer
  8328. exexchangeid:
  8329. description: 外部交易所ID[通道交易]
  8330. type: integer
  8331. goodsgroupid:
  8332. description: 商品组ID(自增ID)
  8333. type: integer
  8334. goodsgroupname:
  8335. description: 商品组名称
  8336. type: string
  8337. goodsgroupstatus:
  8338. description: 商品组状态 - 1:正常 2:注销
  8339. type: integer
  8340. goodunitid:
  8341. description: 报价单位ID
  8342. type: integer
  8343. innerdealmode:
  8344. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8345. type: integer
  8346. isbuylimited:
  8347. description: 是否限制建仓量 - 0:不限制 1:限制
  8348. type: integer
  8349. marketid:
  8350. description: 所属市场ID
  8351. type: integer
  8352. modifierid:
  8353. description: 修改人
  8354. type: integer
  8355. modifytime:
  8356. description: 修改时间
  8357. type: string
  8358. outerdealmode:
  8359. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8360. type: integer
  8361. outergroupcode:
  8362. description: 外部商品组代码[通道交易]
  8363. type: string
  8364. premiumdecimalplace:
  8365. description: 权利金小数位[场外期权]
  8366. type: integer
  8367. premiumspreadalgorithm:
  8368. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8369. type: integer
  8370. premiumspreadvalue:
  8371. description: 权利金点差值[场外期权]
  8372. type: number
  8373. qtydecimalplace:
  8374. description: 成交量小数位
  8375. type: integer
  8376. quotegear:
  8377. description: 行情档位(1-10)
  8378. type: integer
  8379. quoteminunit:
  8380. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8381. type: integer
  8382. quoterid:
  8383. description: 报价商ID[场外期权]
  8384. type: integer
  8385. quotesourcegroupid:
  8386. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8387. type: integer
  8388. syncgoodsqty:
  8389. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8390. type: integer
  8391. required:
  8392. - goodsgroupid
  8393. - goodsgroupname
  8394. - goodsgroupstatus
  8395. - marketid
  8396. type: object
  8397. models.Goodssortbypreposition:
  8398. properties:
  8399. goodscode:
  8400. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8401. type: string
  8402. goodsgroupcode:
  8403. description: 品种代码
  8404. type: string
  8405. prepositionqty:
  8406. description: 昨持仓量
  8407. type: integer
  8408. sortindex:
  8409. description: 排序
  8410. type: integer
  8411. tradedate:
  8412. description: 交易日
  8413. type: string
  8414. updatetime:
  8415. description: 更新时间
  8416. type: string
  8417. required:
  8418. - goodscode
  8419. - tradedate
  8420. type: object
  8421. models.Hedgeinnerholderdetail:
  8422. properties:
  8423. accountid:
  8424. description: 账号ID
  8425. type: integer
  8426. buyorsell:
  8427. description: 方向 - 0:买 1:卖
  8428. type: integer
  8429. freezeqty:
  8430. description: 冻结数量 - 按单平使用
  8431. type: integer
  8432. goodsid:
  8433. description: 商品ID
  8434. type: integer
  8435. holderamount:
  8436. description: 持仓金额 [商品币种]
  8437. type: number
  8438. holderdays:
  8439. description: 剩余冻结天数
  8440. type: integer
  8441. holderprice:
  8442. description: 持仓价格
  8443. type: number
  8444. holderqty:
  8445. description: 持仓数量
  8446. type: integer
  8447. marketid:
  8448. description: 市场ID
  8449. type: integer
  8450. openprice:
  8451. description: 建仓价格
  8452. type: number
  8453. openqty:
  8454. description: 建仓数量
  8455. type: integer
  8456. parentaccountid:
  8457. description: 所属母账户
  8458. type: integer
  8459. releaseamount:
  8460. description: 释放持仓金额[商品币种]
  8461. type: number
  8462. tradeamount:
  8463. description: 成交金额[账户]
  8464. type: number
  8465. tradedate:
  8466. description: 交易日(yyyyMMdd)
  8467. type: string
  8468. tradeid:
  8469. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8470. type: string
  8471. tradetime:
  8472. description: 交易时间
  8473. type: string
  8474. required:
  8475. - buyorsell
  8476. - tradeid
  8477. type: object
  8478. models.Hedgemarketopenlog:
  8479. properties:
  8480. accountid:
  8481. description: 资金账号[外部母账户]
  8482. type: integer
  8483. fcname:
  8484. description: 期货公司名称
  8485. type: string
  8486. handlestatus:
  8487. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8488. type: integer
  8489. marketid:
  8490. description: 市场ID
  8491. type: integer
  8492. status:
  8493. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8494. type: integer
  8495. tradedate:
  8496. description: 交易日(yyyyMMdd)
  8497. type: string
  8498. updatetime:
  8499. description: 更新时间
  8500. type: string
  8501. required:
  8502. - accountid
  8503. type: object
  8504. models.HsbyBuyMyPayOrder:
  8505. properties:
  8506. agreeunit:
  8507. description: 合约单位
  8508. type: number
  8509. buyaccountid:
  8510. description: 买方账号ID[报价币种]
  8511. type: integer
  8512. buyorderid:
  8513. description: 买方委托单号
  8514. type: string
  8515. createtime:
  8516. description: 创建时间
  8517. type: string
  8518. currencysign:
  8519. description: 货币符号
  8520. type: string
  8521. decimalplace:
  8522. description: 报价小数位
  8523. type: integer
  8524. goodscode:
  8525. description: 商品代码(内部)
  8526. type: string
  8527. goodsid:
  8528. description: 商品ID
  8529. type: integer
  8530. goodsname:
  8531. description: 商品名称
  8532. type: string
  8533. marketid:
  8534. description: 市场ID
  8535. type: integer
  8536. offamount:
  8537. description: 优惠金额
  8538. type: number
  8539. originalamount:
  8540. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8541. type: number
  8542. payamount:
  8543. description: 支付金额 = TradeAmount + TradeCharge
  8544. type: number
  8545. payflag:
  8546. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8547. type: integer
  8548. paylimitedtime:
  8549. description: 支付期限
  8550. type: string
  8551. paytime:
  8552. description: 付款时间
  8553. type: string
  8554. picurls1:
  8555. description: 预售商品介绍图片[多张用逗号分隔]
  8556. type: string
  8557. picurls2:
  8558. description: 挂牌商品介绍图片[多张用逗号分隔]
  8559. type: string
  8560. sellaccountid:
  8561. description: 卖方账号ID[报价币种]
  8562. type: integer
  8563. sellorderid:
  8564. description: 卖方委托单号
  8565. type: string
  8566. tradeamount:
  8567. description: 成交金额
  8568. type: number
  8569. tradecharge:
  8570. description: 成交手续费(买方)
  8571. type: number
  8572. tradedate:
  8573. description: 交易日(yyyyMMdd)
  8574. type: string
  8575. tradeid:
  8576. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8577. type: string
  8578. trademode:
  8579. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8580. 21:竞拍-大宗式 22:受托竞价
  8581. type: integer
  8582. tradeprice:
  8583. description: 成交价格
  8584. type: number
  8585. tradeqty:
  8586. description: 成交数量
  8587. type: integer
  8588. vendorname1:
  8589. description: 预售商品供应商名称
  8590. type: string
  8591. vendorname2:
  8592. description: 挂牌商品供应商名称
  8593. type: string
  8594. required:
  8595. - goodscode
  8596. - goodsname
  8597. - tradeid
  8598. - trademode
  8599. type: object
  8600. models.HsbyBuyMyTradeDetail:
  8601. properties:
  8602. accountid:
  8603. description: 账户ID[报价币种]
  8604. type: integer
  8605. agreeunit:
  8606. description: 合约单位
  8607. type: number
  8608. amount:
  8609. description: 金额 = 价格 * 数量 * 合约单位
  8610. type: number
  8611. buyorsell:
  8612. description: 买卖 - 0:买 1:卖
  8613. type: integer
  8614. currencysign:
  8615. description: 货币符号
  8616. type: string
  8617. decimalplace:
  8618. description: 报价小数位
  8619. type: integer
  8620. goodscode:
  8621. description: 商品代码(内部)
  8622. type: string
  8623. goodsid:
  8624. description: 商品ID
  8625. type: integer
  8626. goodsname:
  8627. description: 商品名称
  8628. type: string
  8629. marketid:
  8630. description: 市场ID
  8631. type: integer
  8632. orderamount:
  8633. description: 委托金额
  8634. type: number
  8635. orderid:
  8636. description: 单号(成交单号)
  8637. type: string
  8638. picurls1:
  8639. description: 预售商品介绍图片[多张用逗号分隔]
  8640. type: string
  8641. picurls2:
  8642. description: 挂牌商品介绍图片[多张用逗号分隔]
  8643. type: string
  8644. price:
  8645. description: 价格
  8646. type: number
  8647. qty:
  8648. description: 数量
  8649. type: integer
  8650. time:
  8651. description: 时间
  8652. type: string
  8653. trademode:
  8654. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8655. 21:竞拍-大宗式 22:受托竞价
  8656. type: integer
  8657. vendorname1:
  8658. description: 预售商品供应商名称
  8659. type: string
  8660. vendorname2:
  8661. description: 挂牌商品供应商名称
  8662. type: string
  8663. required:
  8664. - accountid
  8665. - buyorsell
  8666. - goodscode
  8667. - goodsid
  8668. - goodsname
  8669. - marketid
  8670. - orderid
  8671. - qty
  8672. - time
  8673. - trademode
  8674. type: object
  8675. models.HsbyGoodsOrderDetail:
  8676. properties:
  8677. buyorsell:
  8678. description: 买卖 - 0:买 1:卖
  8679. type: integer
  8680. currencysign:
  8681. description: 货币符号
  8682. type: string
  8683. customername:
  8684. description: 客户名称(企业名称),已脱敏
  8685. type: string
  8686. enableqty:
  8687. description: 可用数量
  8688. type: integer
  8689. goodunit:
  8690. description: 报价单位
  8691. type: string
  8692. orderid:
  8693. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8694. type: string
  8695. orderprice:
  8696. description: 委托价格
  8697. type: number
  8698. ordertime:
  8699. description: 委托时间
  8700. type: string
  8701. required:
  8702. - buyorsell
  8703. - orderid
  8704. - ordertime
  8705. type: object
  8706. models.HsbyListingGoodsDetail:
  8707. properties:
  8708. agreeunit:
  8709. description: 合约单位
  8710. type: number
  8711. buymaxqty:
  8712. description: 购买上限 [71] - 0为不限
  8713. type: integer
  8714. currency:
  8715. description: 货币
  8716. type: string
  8717. currencysign:
  8718. description: 货币符号
  8719. type: string
  8720. decimalplace:
  8721. description: 报价小数位
  8722. type: integer
  8723. desccityid:
  8724. description: 目的地(市)ID
  8725. type: integer
  8726. descprovinceid:
  8727. description: 目的地(省)ID
  8728. type: integer
  8729. goodscode:
  8730. description: 商品代码(内部)
  8731. type: string
  8732. goodsdesc:
  8733. description: 商品详情
  8734. type: string
  8735. goodsid:
  8736. description: 商品ID(自增ID SEQ_GOODS)
  8737. type: integer
  8738. goodsname:
  8739. description: 商品名称
  8740. type: string
  8741. goodsprice:
  8742. description: 商品价格
  8743. type: number
  8744. hotindex:
  8745. description: 景点热度
  8746. type: integer
  8747. last:
  8748. description: 现价
  8749. type: number
  8750. limitdown:
  8751. description: 跌停价
  8752. type: number
  8753. limitup:
  8754. description: 涨停价
  8755. type: number
  8756. lotsize:
  8757. description: 手数最小变动单位
  8758. type: integer
  8759. marketid:
  8760. description: 所属市场ID
  8761. type: integer
  8762. picurls:
  8763. description: 介绍图片[多张用逗号分隔]
  8764. type: string
  8765. quoteminunit:
  8766. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8767. type: integer
  8768. stepvalue:
  8769. description: 价格最小变动单位
  8770. type: number
  8771. trademode:
  8772. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8773. 21:竞拍-大宗式 22:受托竞价
  8774. type: integer
  8775. vendorattr:
  8776. description: 供应商附件(多张,逗号分隔)
  8777. type: string
  8778. vendorname:
  8779. description: 供应商名称
  8780. type: string
  8781. vendorphone:
  8782. description: 供应商客服电话
  8783. type: string
  8784. videourls:
  8785. description: 介绍视频[多张用逗号分隔]
  8786. type: string
  8787. required:
  8788. - goodscode
  8789. - goodsid
  8790. - goodsname
  8791. - marketid
  8792. - trademode
  8793. type: object
  8794. models.HsbyMarketGoods:
  8795. properties:
  8796. accountid:
  8797. description: 账户ID[报价币种]
  8798. type: integer
  8799. agreeunit:
  8800. description: 合约单位
  8801. type: number
  8802. buyorsell:
  8803. description: 买卖 - 0:买 1:卖
  8804. type: integer
  8805. categoryid:
  8806. description: 类别ID(WRCATEGORY)
  8807. type: integer
  8808. currency:
  8809. description: 货币
  8810. type: string
  8811. currencysign:
  8812. description: 货币符号
  8813. type: string
  8814. customername:
  8815. description: 卖家名称
  8816. type: string
  8817. decimalplace:
  8818. description: 报价小数位
  8819. type: integer
  8820. goodscode:
  8821. description: 商品代码(内部)
  8822. type: string
  8823. goodsid:
  8824. description: 商品ID
  8825. type: integer
  8826. goodsname:
  8827. description: 商品名称
  8828. type: string
  8829. goodsprice:
  8830. description: 商品价格
  8831. type: number
  8832. hascoupon:
  8833. description: 是否可用优惠卷
  8834. type: boolean
  8835. hotindex:
  8836. description: 景点热度
  8837. type: integer
  8838. marketid:
  8839. description: 市场ID
  8840. type: integer
  8841. orderid:
  8842. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8843. type: string
  8844. orderprice:
  8845. description: 委托价格
  8846. type: number
  8847. orderstatus:
  8848. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8849. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8850. 16:成交失败违约(荷兰式竞拍专用)
  8851. type: integer
  8852. picurls:
  8853. description: 介绍图片[多张用逗号分隔]
  8854. type: string
  8855. quoteminunit:
  8856. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8857. type: integer
  8858. sellUserID:
  8859. description: 卖方UserID
  8860. type: integer
  8861. trademode:
  8862. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8863. 21:竞拍-大宗式 22:受托竞价
  8864. type: integer
  8865. videourls:
  8866. description: 介绍视频[多张用逗号分隔]
  8867. type: string
  8868. required:
  8869. - accountid
  8870. - buyorsell
  8871. - goodscode
  8872. - goodsid
  8873. - goodsname
  8874. - marketid
  8875. - orderid
  8876. - trademode
  8877. type: object
  8878. models.HsbyMarketGoodsDetail:
  8879. properties:
  8880. accountid:
  8881. description: 账户ID[报价币种]
  8882. type: integer
  8883. agreeunit:
  8884. description: 合约单位
  8885. type: number
  8886. buymaxqty:
  8887. description: 购买上限 [71] - 0为不限
  8888. type: integer
  8889. buyorsell:
  8890. description: 买卖 - 0:买 1:卖
  8891. type: integer
  8892. cancelqty:
  8893. description: 撤单数量
  8894. type: integer
  8895. categoryid:
  8896. description: 类别ID(WRCATEGORY)
  8897. type: integer
  8898. currency:
  8899. description: 货币
  8900. type: string
  8901. currencysign:
  8902. description: 货币符号
  8903. type: string
  8904. customername:
  8905. description: 卖家名称
  8906. type: string
  8907. decimalplace:
  8908. description: 报价小数位
  8909. type: integer
  8910. goodscode:
  8911. description: 商品代码(内部)
  8912. type: string
  8913. goodsdesc:
  8914. description: 商品详情
  8915. type: string
  8916. goodsid:
  8917. description: 商品ID
  8918. type: integer
  8919. goodsname:
  8920. description: 商品名称
  8921. type: string
  8922. goodsprice:
  8923. description: 商品价格
  8924. type: number
  8925. hotindex:
  8926. description: 景点热度
  8927. type: integer
  8928. lotsize:
  8929. description: 手数最小变动单位
  8930. type: integer
  8931. marketid:
  8932. description: 市场ID
  8933. type: integer
  8934. orderid:
  8935. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8936. type: string
  8937. orderprice:
  8938. description: 委托价格
  8939. type: number
  8940. orderqty:
  8941. description: 委托数量
  8942. type: integer
  8943. orderstatus:
  8944. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8945. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8946. 16:成交失败违约(荷兰式竞拍专用)
  8947. type: integer
  8948. picurls:
  8949. description: 介绍图片[多张用逗号分隔]
  8950. type: string
  8951. quoteminunit:
  8952. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8953. type: integer
  8954. sellUserID:
  8955. description: 卖方UserID
  8956. type: integer
  8957. trademode:
  8958. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8959. 21:竞拍-大宗式 22:受托竞价
  8960. type: integer
  8961. tradeqty:
  8962. description: 成交数量
  8963. type: integer
  8964. vendorattr:
  8965. description: 供应商附件(多张,逗号分隔)
  8966. type: string
  8967. vendorname:
  8968. description: 供应商名称
  8969. type: string
  8970. vendorphone:
  8971. description: 供应商客服电话
  8972. type: string
  8973. videourls:
  8974. description: 介绍视频[多张用逗号分隔]
  8975. type: string
  8976. required:
  8977. - accountid
  8978. - buyorsell
  8979. - goodscode
  8980. - goodsid
  8981. - goodsname
  8982. - marketid
  8983. - orderid
  8984. - orderqty
  8985. - trademode
  8986. type: object
  8987. models.HsbyMarketInfo:
  8988. properties:
  8989. marketid:
  8990. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8991. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8992. type: integer
  8993. marketname:
  8994. description: 市场名称
  8995. type: string
  8996. marketstatus:
  8997. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8998. type: integer
  8999. trademode:
  9000. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9001. 21:竞拍-大宗式 22:受托竞价
  9002. type: integer
  9003. required:
  9004. - marketid
  9005. - marketstatus
  9006. - trademode
  9007. type: object
  9008. models.HsbyMyGoods:
  9009. properties:
  9010. accountid:
  9011. description: 账号Id
  9012. type: integer
  9013. agreeunit:
  9014. description: 合约单位
  9015. type: number
  9016. buyaverageprice:
  9017. description: 持仓均价
  9018. type: number
  9019. buycurholderamount:
  9020. description: 买当前持仓总金额[商品币种]
  9021. type: number
  9022. buycurpositionqty:
  9023. description: 买当前持仓总数量
  9024. type: integer
  9025. buymaxqty:
  9026. description: 购买上限 [71] - 0为不限
  9027. type: integer
  9028. currencysign:
  9029. description: 货币符号
  9030. type: string
  9031. decimalplace:
  9032. description: 报价小数位
  9033. type: integer
  9034. enableqty:
  9035. description: 可用数量
  9036. type: integer
  9037. goodscode:
  9038. description: 商品代码(内部)
  9039. type: string
  9040. goodsid:
  9041. description: 商品Id
  9042. type: integer
  9043. goodsname:
  9044. description: 商品名称
  9045. type: string
  9046. goodsprice:
  9047. description: 商品价格
  9048. type: number
  9049. goodsstatus:
  9050. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9051. type: integer
  9052. last:
  9053. description: 现价(仅使用于挂牌点选)
  9054. type: number
  9055. limitdown:
  9056. description: 跌停价(仅使用于挂牌点选)
  9057. type: number
  9058. limitup:
  9059. description: 涨停价(仅使用于挂牌点选)
  9060. type: number
  9061. lotsize:
  9062. description: 手数最小变动单位
  9063. type: integer
  9064. marketid:
  9065. description: 所属市场ID
  9066. type: integer
  9067. picurls:
  9068. description: 介绍图片[多张用逗号分隔]
  9069. type: string
  9070. quoteminunit:
  9071. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9072. type: integer
  9073. stepvalue:
  9074. description: 价格最小变动单位
  9075. type: number
  9076. trademode:
  9077. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9078. 21:竞拍-大宗式 22:受托竞价
  9079. type: integer
  9080. required:
  9081. - accountid
  9082. - goodscode
  9083. - goodsid
  9084. - goodsname
  9085. - marketid
  9086. - trademode
  9087. type: object
  9088. models.HsbyMyPackage:
  9089. properties:
  9090. accountid:
  9091. description: 账户ID
  9092. type: integer
  9093. address:
  9094. description: 提货人详细地址
  9095. type: string
  9096. agreeunit:
  9097. description: 合约单位
  9098. type: number
  9099. amount:
  9100. description: 提货金额
  9101. type: number
  9102. auditer:
  9103. description: 审核人
  9104. type: integer
  9105. audittime:
  9106. description: 审核时间
  9107. type: string
  9108. averageprice:
  9109. description: 均价
  9110. type: number
  9111. cardnum:
  9112. description: 提货人证件号码
  9113. type: string
  9114. cardtypeid:
  9115. description: 提货人证件类型
  9116. type: integer
  9117. checkremark:
  9118. description: 审核备注
  9119. type: string
  9120. currencysign:
  9121. description: 货币符号
  9122. type: string
  9123. decimalplace:
  9124. description: 报价小数位
  9125. type: integer
  9126. goodscode:
  9127. description: 商品代码(内部)
  9128. type: string
  9129. goodsid:
  9130. description: 商品ID
  9131. type: integer
  9132. goodsname:
  9133. description: 商品名称
  9134. type: string
  9135. handlestatus:
  9136. description: 处理状态
  9137. type: integer
  9138. marketid:
  9139. description: 市场ID
  9140. type: integer
  9141. phonenum:
  9142. description: 提货人联系方式
  9143. type: string
  9144. picurls:
  9145. description: 介绍图片[多张用逗号分隔]
  9146. type: string
  9147. qty:
  9148. description: 提货数量
  9149. type: number
  9150. recivername:
  9151. description: 提货人姓名
  9152. type: string
  9153. reqtime:
  9154. description: 更新时间
  9155. type: string
  9156. takemode:
  9157. description: 提货方式 - 2:自提 3:配送
  9158. type: integer
  9159. takeorderid:
  9160. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9161. type: string
  9162. takeorderstatus:
  9163. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9164. type: integer
  9165. takeremark:
  9166. description: 提货备注
  9167. type: string
  9168. tradedate:
  9169. description: 交易日(yyyyMMdd)
  9170. type: string
  9171. trademode:
  9172. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9173. 21:竞拍-大宗式 22:受托竞价
  9174. type: integer
  9175. userid:
  9176. description: 用户ID
  9177. type: integer
  9178. vendorname:
  9179. description: 供应商名称
  9180. type: string
  9181. required:
  9182. - goodscode
  9183. - goodsname
  9184. - takeorderid
  9185. - trademode
  9186. type: object
  9187. models.HsbyPreGoods:
  9188. properties:
  9189. agreeunit:
  9190. description: 合约单位
  9191. type: number
  9192. currency:
  9193. description: 货币
  9194. type: string
  9195. currencysign:
  9196. description: 货币符号
  9197. type: string
  9198. decimalplace:
  9199. description: 报价小数位
  9200. type: integer
  9201. desccityid:
  9202. description: 目的地(市)
  9203. type: integer
  9204. descprovinceid:
  9205. description: 目的地(省)
  9206. type: integer
  9207. enableqty:
  9208. description: 剩余数量
  9209. type: integer
  9210. goodscode:
  9211. description: 商品代码(内部)
  9212. type: string
  9213. goodsid:
  9214. description: 商品ID(自增ID SEQ_GOODS)
  9215. type: integer
  9216. goodsname:
  9217. description: 商品名称
  9218. type: string
  9219. goodsstatus:
  9220. description: 商品状态- 2:未上市 3:上市
  9221. type: integer
  9222. lasttradedate:
  9223. description: 最后交易日期(状态:待退市)
  9224. type: string
  9225. listingdate:
  9226. description: 交易开始日期
  9227. type: string
  9228. marketid:
  9229. description: 所属市场ID
  9230. type: integer
  9231. picurls:
  9232. description: 介绍图片[多张用逗号分隔]
  9233. type: string
  9234. presaledqty:
  9235. description: 已预售量(预售结束时更新)
  9236. type: integer
  9237. presaleqty:
  9238. description: 预售数量
  9239. type: integer
  9240. quoteminunit:
  9241. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9242. type: integer
  9243. refprice:
  9244. description: 参考价格[一口价]
  9245. type: number
  9246. relatedgoodsid:
  9247. description: 关联交易合约ID
  9248. type: integer
  9249. trademode:
  9250. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9251. 21:竞拍-大宗式 22:受托竞价
  9252. type: integer
  9253. videourls:
  9254. description: 介绍视频[多张用逗号分隔]
  9255. type: string
  9256. required:
  9257. - goodscode
  9258. - goodsid
  9259. - goodsname
  9260. - marketid
  9261. - trademode
  9262. type: object
  9263. models.HsbyPreGoodsDetail:
  9264. properties:
  9265. agreeunit:
  9266. description: 合约单位
  9267. type: number
  9268. buymaxqty:
  9269. description: 购买上限 [71] - 0为不限
  9270. type: integer
  9271. currency:
  9272. description: 货币
  9273. type: string
  9274. currencysign:
  9275. description: 货币符号
  9276. type: string
  9277. customername:
  9278. description: 发行单位
  9279. type: string
  9280. decimalplace:
  9281. description: 报价小数位
  9282. type: integer
  9283. desccityid:
  9284. description: 目的地(市)ID
  9285. type: integer
  9286. descprovinceid:
  9287. description: 目的地(省)ID
  9288. type: integer
  9289. enableqty:
  9290. description: 剩余数量
  9291. type: integer
  9292. goodscode:
  9293. description: 商品代码(内部)
  9294. type: string
  9295. goodsdesc:
  9296. description: 商品详情
  9297. type: string
  9298. goodsid:
  9299. description: 商品ID(自增ID SEQ_GOODS)
  9300. type: integer
  9301. goodsname:
  9302. description: 商品名称
  9303. type: string
  9304. goodsstatus:
  9305. description: 商品状态- 2:未上市 3:上市
  9306. type: integer
  9307. goodunit:
  9308. description: 报价单位
  9309. type: string
  9310. lasttradedate:
  9311. description: 最后交易日期(状态:待退市)
  9312. type: string
  9313. listingdate:
  9314. description: 交易开始日期
  9315. type: string
  9316. lotsize:
  9317. description: 手数最小变动单位
  9318. type: integer
  9319. marketid:
  9320. description: 所属市场ID
  9321. type: integer
  9322. picurls:
  9323. description: 介绍图片[多张用逗号分隔]
  9324. type: string
  9325. presaledqty:
  9326. description: 已预售量(预售结束时更新)
  9327. type: integer
  9328. presaleqty:
  9329. description: 预售数量
  9330. type: integer
  9331. quoteminunit:
  9332. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9333. type: integer
  9334. refprice:
  9335. description: 参考价格[一口价]
  9336. type: number
  9337. relatedgoodsid:
  9338. description: 关联交易合约ID
  9339. type: integer
  9340. stepvalue:
  9341. description: 价格最小变动单位
  9342. type: number
  9343. trademode:
  9344. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9345. 21:竞拍-大宗式 22:受托竞价
  9346. type: integer
  9347. vendorattr:
  9348. description: 供应商附件(多张,逗号分隔)
  9349. type: string
  9350. vendorname:
  9351. description: 供应商名称
  9352. type: string
  9353. vendorphone:
  9354. description: 供应商客服电话
  9355. type: string
  9356. videourls:
  9357. description: 介绍视频[多张用逗号分隔]
  9358. type: string
  9359. required:
  9360. - goodscode
  9361. - goodsid
  9362. - goodsname
  9363. - marketid
  9364. - trademode
  9365. type: object
  9366. models.HsbySellCollectionOrder:
  9367. properties:
  9368. agreeunit:
  9369. description: 合约单位
  9370. type: number
  9371. buyaccountid:
  9372. description: 买方账号ID[报价币种]
  9373. type: integer
  9374. buyorderid:
  9375. description: 买方委托单号
  9376. type: string
  9377. createtime:
  9378. description: 创建时间
  9379. type: string
  9380. currencysign:
  9381. description: 货币符号
  9382. type: string
  9383. decimalplace:
  9384. description: 报价小数位
  9385. type: integer
  9386. goodscode:
  9387. description: 商品代码(内部)
  9388. type: string
  9389. goodsid:
  9390. description: 商品ID
  9391. type: integer
  9392. goodsname:
  9393. description: 商品名称
  9394. type: string
  9395. marketid:
  9396. description: 市场ID
  9397. type: integer
  9398. offamount:
  9399. description: 优惠金额
  9400. type: number
  9401. payamount:
  9402. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9403. type: number
  9404. payflag:
  9405. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9406. type: integer
  9407. paylimitedtime:
  9408. description: 支付期限
  9409. type: string
  9410. paytime:
  9411. description: 付款时间
  9412. type: string
  9413. picurls:
  9414. description: 商品介绍图片[多张用逗号分隔]
  9415. type: string
  9416. sellaccountid:
  9417. description: 卖方账号ID[报价币种]
  9418. type: integer
  9419. sellorderid:
  9420. description: 卖方委托单号
  9421. type: string
  9422. tradeamount:
  9423. description: 成交金额
  9424. type: number
  9425. tradecharge:
  9426. description: 成交手续费(买方)
  9427. type: number
  9428. tradedate:
  9429. description: 交易日(yyyyMMdd)
  9430. type: string
  9431. tradeid:
  9432. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9433. type: string
  9434. trademode:
  9435. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9436. 21:竞拍-大宗式 22:受托竞价
  9437. type: integer
  9438. tradeprice:
  9439. description: 成交价格
  9440. type: number
  9441. tradeqty:
  9442. description: 成交数量
  9443. type: integer
  9444. required:
  9445. - goodscode
  9446. - goodsname
  9447. - tradeid
  9448. - trademode
  9449. type: object
  9450. models.HsbySellMyDetail:
  9451. properties:
  9452. accountid:
  9453. description: 账户ID[报价币种]
  9454. type: integer
  9455. agreeunit:
  9456. description: 合约单位
  9457. type: number
  9458. buyorsell:
  9459. description: 买卖 - 0:买 1:卖
  9460. type: integer
  9461. currencysign:
  9462. description: 货币符号
  9463. type: string
  9464. decimalplace:
  9465. description: 报价小数位
  9466. type: integer
  9467. goodscode:
  9468. description: 商品代码(内部)
  9469. type: string
  9470. goodsid:
  9471. description: 商品ID
  9472. type: integer
  9473. goodsname:
  9474. description: 商品名称
  9475. type: string
  9476. marketid:
  9477. description: 市场ID
  9478. type: integer
  9479. orderid:
  9480. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9481. type: string
  9482. ordertype:
  9483. description: 单据类型:0 - 发布中, 1 - 已完成
  9484. type: integer
  9485. picurls:
  9486. description: 介绍图片[多张用逗号分隔]
  9487. type: string
  9488. price:
  9489. description: 价格
  9490. type: number
  9491. qty:
  9492. description: 数量
  9493. type: integer
  9494. time:
  9495. description: 时间
  9496. type: string
  9497. trademode:
  9498. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9499. 21:竞拍-大宗式 22:受托竞价
  9500. type: integer
  9501. vendorname:
  9502. description: 供应商名称
  9503. type: string
  9504. required:
  9505. - accountid
  9506. - buyorsell
  9507. - goodscode
  9508. - goodsid
  9509. - goodsname
  9510. - marketid
  9511. - orderid
  9512. - time
  9513. - trademode
  9514. type: object
  9515. models.HsbyTopGoods:
  9516. properties:
  9517. agreeunit:
  9518. description: 合约单位
  9519. type: number
  9520. currency:
  9521. description: 货币
  9522. type: string
  9523. currencysign:
  9524. description: 货币符号
  9525. type: string
  9526. decimalplace:
  9527. description: 报价小数位
  9528. type: integer
  9529. desccityid:
  9530. description: 目的地(市)
  9531. type: integer
  9532. descprovinceid:
  9533. description: 目的地(省)
  9534. type: integer
  9535. goodscode:
  9536. description: 商品代码(内部)
  9537. type: string
  9538. goodsid:
  9539. description: 商品ID(自增ID SEQ_GOODS)
  9540. type: integer
  9541. goodsname:
  9542. description: 商品名称
  9543. type: string
  9544. hotindex:
  9545. description: 景点热度
  9546. type: integer
  9547. last:
  9548. description: 现价
  9549. type: number
  9550. marketid:
  9551. description: 所属市场ID
  9552. type: integer
  9553. picurls:
  9554. description: 介绍图片[多张用逗号分隔]
  9555. type: string
  9556. quoteminunit:
  9557. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9558. type: integer
  9559. trademode:
  9560. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9561. 21:竞拍-大宗式 22:受托竞价
  9562. type: integer
  9563. videourls:
  9564. description: 介绍视频[多张用逗号分隔]
  9565. type: string
  9566. required:
  9567. - goodscode
  9568. - goodsid
  9569. - goodsname
  9570. - marketid
  9571. - trademode
  9572. type: object
  9573. models.HybsMyBuyOrderDetail:
  9574. properties:
  9575. accountid:
  9576. description: 账户ID[报价币种]
  9577. type: integer
  9578. agreeunit:
  9579. description: 合约单位
  9580. type: number
  9581. buyorsell:
  9582. description: 买卖 - 0:买 1:卖
  9583. type: integer
  9584. cancelqty:
  9585. description: 撤单数量
  9586. type: integer
  9587. currencysign:
  9588. description: 货币符号
  9589. type: string
  9590. decimalplace:
  9591. description: 报价小数位
  9592. type: integer
  9593. goodscode:
  9594. description: 商品代码(内部)
  9595. type: string
  9596. goodsid:
  9597. description: 商品ID
  9598. type: integer
  9599. goodsname:
  9600. description: 商品名称
  9601. type: string
  9602. listingselecttype:
  9603. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9604. type: integer
  9605. marketid:
  9606. description: 市场ID
  9607. type: integer
  9608. mybuystatus:
  9609. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9610. type: integer
  9611. orderamount:
  9612. description: 委托金额
  9613. type: number
  9614. orderid:
  9615. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9616. type: string
  9617. orderprice:
  9618. description: 委托价格
  9619. type: number
  9620. orderqty:
  9621. description: 委托数量
  9622. type: integer
  9623. orderstatus:
  9624. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9625. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9626. 16:成交失败违约(荷兰式竞拍专用)
  9627. type: integer
  9628. ordertime:
  9629. description: 委托时间
  9630. type: string
  9631. picurls1:
  9632. description: 预售商品介绍图片[多张用逗号分隔]
  9633. type: string
  9634. picurls2:
  9635. description: 挂牌商品介绍图片[多张用逗号分隔]
  9636. type: string
  9637. trademode:
  9638. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9639. 21:竞拍-大宗式 22:受托竞价
  9640. type: integer
  9641. tradeqty:
  9642. description: 成交数量
  9643. type: integer
  9644. vendorname1:
  9645. description: 预售商品供应商名称
  9646. type: string
  9647. vendorname2:
  9648. description: 挂牌商品供应商名称
  9649. type: string
  9650. required:
  9651. - accountid
  9652. - buyorsell
  9653. - goodscode
  9654. - goodsid
  9655. - goodsname
  9656. - marketid
  9657. - orderid
  9658. - orderqty
  9659. - ordertime
  9660. - trademode
  9661. type: object
  9662. models.Loginaccount:
  9663. properties:
  9664. accountname:
  9665. description: 账户名称
  9666. type: string
  9667. canoutin:
  9668. description: 是否可出入金 - 0:不可 1:可
  9669. type: integer
  9670. clientroleid:
  9671. description: 终端角色ID
  9672. type: integer
  9673. haslogined:
  9674. description: 是否已登录 - 0:未登录 1:已登录
  9675. type: integer
  9676. hasupdatedpwd:
  9677. description: 是否已更改密码 - 0:未修改 1:已修改
  9678. type: integer
  9679. lastloginip:
  9680. description: 最新登录地址
  9681. type: string
  9682. lastloginmode:
  9683. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9684. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9685. type: integer
  9686. lastloginremark:
  9687. description: 最新登录描述
  9688. type: string
  9689. lastlogintime:
  9690. description: 最新登录时间
  9691. type: string
  9692. logincode:
  9693. description: 登录代码
  9694. type: string
  9695. loginfailnum:
  9696. description: 连续登录失败次数(登录成功时清零)
  9697. type: integer
  9698. loginid:
  9699. description: 登陆账号
  9700. type: integer
  9701. loginport:
  9702. description: 最新登录端口
  9703. type: integer
  9704. loginstatus:
  9705. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9706. type: integer
  9707. loginusertype:
  9708. description: 登录账号类型 - 1:投资者 2:机构交易员
  9709. type: integer
  9710. mobile:
  9711. description: 手机号码(加密存储)
  9712. type: string
  9713. modifierid:
  9714. description: 修改人
  9715. type: integer
  9716. modifysrc:
  9717. description: 审核来源 - 1:管理端 2:终端
  9718. type: integer
  9719. modifytime:
  9720. description: 修改时间
  9721. type: string
  9722. password:
  9723. description: 登陆密码
  9724. type: string
  9725. pwdwrongcount:
  9726. description: 密码错误次数
  9727. type: integer
  9728. relateduserid:
  9729. description: 关联用户ID(机构)
  9730. type: integer
  9731. taaccountrighttype:
  9732. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9733. type: integer
  9734. unfreezetime:
  9735. description: 账户解冻时间
  9736. type: string
  9737. userid:
  9738. description: 用户ID
  9739. type: integer
  9740. required:
  9741. - loginid
  9742. type: object
  9743. models.MainAccountInfo:
  9744. properties:
  9745. accountid:
  9746. description: 账号id
  9747. type: integer
  9748. accountname:
  9749. description: 账号名称(taaccount表中的名称)
  9750. type: string
  9751. appid:
  9752. description: AppID
  9753. type: string
  9754. authcode:
  9755. description: 授权码
  9756. type: string
  9757. brokerid:
  9758. description: 经纪商id
  9759. type: string
  9760. fcid:
  9761. description: 期货公司id
  9762. type: integer
  9763. fcname:
  9764. description: 期货公司代码
  9765. type: string
  9766. hedgeaccountcode:
  9767. description: 外部账号代码(主账号登录代码)
  9768. type: string
  9769. hedgeaccountpwd:
  9770. description: 密码
  9771. type: string
  9772. ismain:
  9773. description: 是否主账号
  9774. type: integer
  9775. relateduserid:
  9776. description: 关联用户id
  9777. type: integer
  9778. userid:
  9779. description: 关联用户id
  9780. type: integer
  9781. type: object
  9782. models.Market:
  9783. properties:
  9784. auctionwrtype:
  9785. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9786. type: integer
  9787. canacceptquote:
  9788. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9789. type: integer
  9790. cangoodsexercise:
  9791. description: '[期权]是否可现货行权- 0:否 1:是'
  9792. type: integer
  9793. cangoodsexercisetype:
  9794. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9795. type: integer
  9796. canmanualquotestrike:
  9797. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9798. type: integer
  9799. canmutistage:
  9800. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9801. type: integer
  9802. canpreexercise:
  9803. description: '[期权]是否可预申报- 0:否 1:是'
  9804. type: integer
  9805. clearinterval:
  9806. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9807. type: integer
  9808. contracttmp:
  9809. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9810. type: string
  9811. exchareaid:
  9812. description: 所属交易所,可以没有
  9813. type: integer
  9814. goodstype:
  9815. description: 商品类型 - 1:交易商品 2:仓单商品
  9816. type: integer
  9817. hasrebate:
  9818. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9819. type: integer
  9820. hastradecredit:
  9821. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9822. type: integer
  9823. haswr:
  9824. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9825. type: integer
  9826. isdeductmargin:
  9827. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9828. type: integer
  9829. isrecordsource:
  9830. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9831. type: integer
  9832. isreleasemargin:
  9833. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9834. type: integer
  9835. marginformula:
  9836. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9837. type: integer
  9838. marginformula2:
  9839. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9840. type: integer
  9841. marketid:
  9842. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9843. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9844. type: integer
  9845. marketname:
  9846. description: 市场名称
  9847. type: string
  9848. marketserviceid:
  9849. description: 市场服务ID
  9850. type: integer
  9851. marketstatus:
  9852. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9853. type: integer
  9854. markettype:
  9855. description: 市场类型- 1:非交易服务 2:交易服务
  9856. type: integer
  9857. matchermode:
  9858. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9859. type: integer
  9860. openmethod:
  9861. description: 开盘模式 - 0 自动 1手动
  9862. type: integer
  9863. otcuserid:
  9864. description: 场外期权做市商[场外期权]
  9865. type: integer
  9866. outersynctime:
  9867. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9868. type: string
  9869. pendingflag:
  9870. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9871. type: integer
  9872. pendingtime:
  9873. description: 待开市时间[通道交易-对冲](HH:mm)
  9874. type: string
  9875. performancetempid:
  9876. description: 履约计划模板ID - 作废
  9877. type: integer
  9878. premiumquotemode:
  9879. description: 权利金报价方式 - 1:自动 2:手动
  9880. type: integer
  9881. rebateratio:
  9882. description: 返利比率[竞价式]
  9883. type: number
  9884. reckonorder:
  9885. description: 结算顺序
  9886. type: integer
  9887. reckonpricealgorithm:
  9888. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9889. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9890. type: integer
  9891. reckonpriceparam:
  9892. description: 结算价参数
  9893. type: integer
  9894. reckontime:
  9895. description: 结算时间[通道交易-对冲](HH:mm)
  9896. type: string
  9897. roleprioritytype:
  9898. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9899. type: integer
  9900. selllistingauditflag:
  9901. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9902. type: integer
  9903. trademarkettype:
  9904. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9905. type: integer
  9906. trademode:
  9907. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9908. 21:竞拍-大宗式 22:受托竞价
  9909. type: integer
  9910. tradeproperty:
  9911. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9912. 8:场外期权
  9913. type: integer
  9914. tradetype:
  9915. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9916. type: integer
  9917. required:
  9918. - marketid
  9919. - marketstatus
  9920. - openmethod
  9921. - reckonpricealgorithm
  9922. - trademode
  9923. - tradeproperty
  9924. type: object
  9925. models.Marketrun:
  9926. properties:
  9927. afternexttradedate:
  9928. description: 下下交易日
  9929. type: string
  9930. clearquoteflag:
  9931. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9932. type: integer
  9933. lastreckondate:
  9934. description: 最新交易日(结算成功)
  9935. type: string
  9936. machinedate:
  9937. description: 机器时间
  9938. type: string
  9939. manualflag:
  9940. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9941. type: integer
  9942. marketid:
  9943. description: 市场ID
  9944. type: integer
  9945. nexttradedate:
  9946. description: 下一交易日
  9947. type: string
  9948. pretradedate:
  9949. description: 上一交易日
  9950. type: string
  9951. reckonflag:
  9952. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9953. type: integer
  9954. runstatus:
  9955. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9956. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9957. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9958. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9959. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9960. 62.今日免清算
  9961. type: integer
  9962. sectionid:
  9963. description: 时间段号[多时段时用]
  9964. type: integer
  9965. tradedate:
  9966. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9967. type: string
  9968. tradedate2:
  9969. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9970. type: string
  9971. updatetime:
  9972. description: 更新时间
  9973. type: string
  9974. required:
  9975. - marketid
  9976. - nexttradedate
  9977. - reckonflag
  9978. - runstatus
  9979. - tradedate
  9980. - tradedate2
  9981. type: object
  9982. models.Messageboard:
  9983. properties:
  9984. contactnum:
  9985. description: 联系电话
  9986. type: string
  9987. createtime:
  9988. description: 创建时间
  9989. type: string
  9990. message:
  9991. description: 留言信息
  9992. type: string
  9993. messageboardid:
  9994. description: 留言簿ID(SEQ_MessageBoard)
  9995. type: integer
  9996. userid:
  9997. description: 用户ID
  9998. type: integer
  9999. required:
  10000. - messageboardid
  10001. type: object
  10002. models.MyCoupon:
  10003. properties:
  10004. accountid:
  10005. description: 资金账户ID
  10006. type: integer
  10007. areauserid:
  10008. description: 所属机构
  10009. type: integer
  10010. conditionvalue:
  10011. description: 条件阈值(可为0)
  10012. type: number
  10013. couponcategroy:
  10014. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10015. type: integer
  10016. couponname:
  10017. description: 优惠券名称
  10018. type: string
  10019. coupontypeid:
  10020. description: 优惠券类型ID
  10021. type: string
  10022. couponvalue:
  10023. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10024. type: number
  10025. curfreezeqty:
  10026. description: 期末冻结数量
  10027. type: integer
  10028. curqty:
  10029. description: 期末数量
  10030. type: integer
  10031. isgeneral:
  10032. description: 是否通用券 - 0:否 1:是
  10033. type: integer
  10034. isunusable:
  10035. description: 是否不可用
  10036. type: boolean
  10037. limitedflag:
  10038. description: 是否指定商品 - 0:不限 1:限制
  10039. type: integer
  10040. limitedgoodsids:
  10041. description: 指定商品IDs[逗号分隔,前后加逗号]
  10042. type: string
  10043. orifreezeqty:
  10044. description: 期初冻结数量
  10045. type: integer
  10046. oriqty:
  10047. description: 期初数量
  10048. type: integer
  10049. reasontype:
  10050. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10051. type: integer
  10052. todaydecrease:
  10053. description: 今日减少
  10054. type: integer
  10055. todayincrease:
  10056. description: 今日增加
  10057. type: integer
  10058. userid:
  10059. description: 用户ID
  10060. type: integer
  10061. userscope:
  10062. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10063. type: string
  10064. required:
  10065. - accountid
  10066. - coupontypeid
  10067. type: object
  10068. models.MyCouponHold:
  10069. properties:
  10070. accountid:
  10071. description: 资金账户ID
  10072. type: integer
  10073. conditionvalue:
  10074. description: 条件阈值(可为0)
  10075. type: number
  10076. couponcategroy:
  10077. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10078. type: integer
  10079. couponholdid:
  10080. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10081. type: string
  10082. couponname:
  10083. description: 优惠券名称
  10084. type: string
  10085. coupontypeid:
  10086. description: 优惠券类型ID - SEQ_COUPONTYPE
  10087. type: string
  10088. couponvalue:
  10089. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10090. type: number
  10091. createtime:
  10092. description: 创建时间
  10093. type: string
  10094. enddate:
  10095. description: 结束日期
  10096. type: string
  10097. giveapplyid:
  10098. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10099. type: integer
  10100. holdstatus:
  10101. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10102. type: integer
  10103. isgeneral:
  10104. description: 是否通用券 - 0:否 1:是
  10105. type: integer
  10106. limitedflag:
  10107. description: 是否指定商品 - 0:不限 1:限制
  10108. type: integer
  10109. limitedgoodsids:
  10110. description: 指定商品IDs[逗号分隔]
  10111. type: string
  10112. qty:
  10113. description: 数量(按1平铺)
  10114. type: integer
  10115. startdate:
  10116. description: 开始日期
  10117. type: string
  10118. userid:
  10119. description: 用户ID
  10120. type: integer
  10121. userscope:
  10122. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10123. type: string
  10124. required:
  10125. - couponholdid
  10126. type: object
  10127. models.MyUsedCoupon:
  10128. properties:
  10129. accountid:
  10130. description: 资金账户ID(买方)
  10131. type: integer
  10132. conditionvalue:
  10133. description: 条件阈值(可为0)
  10134. type: number
  10135. couponcategroy:
  10136. description: 种类 - 1:现金券 2:折扣券
  10137. type: integer
  10138. couponname:
  10139. description: 优惠券名称
  10140. type: string
  10141. coupontypeid:
  10142. description: 优惠券类型ID(买方)
  10143. type: string
  10144. couponvalue:
  10145. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10146. type: number
  10147. createtime:
  10148. description: 创建时间
  10149. type: string
  10150. goodsid:
  10151. description: 商品ID
  10152. type: integer
  10153. handlestatus:
  10154. description: 处理状态
  10155. type: integer
  10156. marketid:
  10157. description: 市场ID
  10158. type: integer
  10159. offamount:
  10160. description: 优惠金额
  10161. type: number
  10162. orderid:
  10163. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10164. type: string
  10165. sellaccountid:
  10166. description: 资金账户ID(卖方)
  10167. type: integer
  10168. tradeamount:
  10169. description: 成交金额
  10170. type: number
  10171. tradeid:
  10172. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10173. type: string
  10174. usedqty:
  10175. description: 使用数量
  10176. type: integer
  10177. required:
  10178. - coupontypeid
  10179. - orderid
  10180. type: object
  10181. models.OperationPrimaryMenu:
  10182. properties:
  10183. Children:
  10184. description: 二级功能菜单
  10185. items:
  10186. $ref: '#/definitions/models.OperationSecondaryMenu'
  10187. type: array
  10188. Key:
  10189. description: 菜单KEY
  10190. type: string
  10191. Label:
  10192. description: 菜单标题
  10193. type: string
  10194. type: object
  10195. models.OperationSecondaryMenu:
  10196. properties:
  10197. Key:
  10198. description: 菜单KEY
  10199. type: string
  10200. Label:
  10201. description: 菜单标题
  10202. type: string
  10203. TabList:
  10204. description: 三级功能菜单
  10205. items:
  10206. $ref: '#/definitions/models.OperationTabMenu'
  10207. type: array
  10208. type: object
  10209. models.OperationTabMenu:
  10210. properties:
  10211. Key:
  10212. description: 菜单KEY
  10213. type: string
  10214. Label:
  10215. description: 菜单标题
  10216. type: string
  10217. type: object
  10218. models.QhjAccountOutInApply:
  10219. properties:
  10220. accountcode:
  10221. description: 资金账号
  10222. type: string
  10223. accountname:
  10224. description: 用户名称(名称)
  10225. type: string
  10226. accountpwd:
  10227. description: 资金密码
  10228. type: string
  10229. accountticket:
  10230. description: 最新账户服务流水号
  10231. type: string
  10232. amount:
  10233. description: 金额
  10234. type: number
  10235. applyremark:
  10236. description: 申请备注
  10237. type: string
  10238. applystatus:
  10239. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10240. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10241. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10242. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10243. type: integer
  10244. auditid:
  10245. description: 审核人
  10246. type: integer
  10247. audittime:
  10248. description: 审核时间
  10249. type: string
  10250. bank_apply_ticket:
  10251. description: 银行申请流水
  10252. type: string
  10253. bankaccountname:
  10254. description: 银行账户名
  10255. type: string
  10256. bankaccountno:
  10257. description: 银行卡号
  10258. type: string
  10259. bankid:
  10260. description: 银行编号
  10261. type: string
  10262. bankticket:
  10263. description: 银行流水
  10264. type: string
  10265. branchbankid:
  10266. description: 银行支行号
  10267. type: string
  10268. branchbankname:
  10269. description: 银行支行名称
  10270. type: string
  10271. capamountout:
  10272. description: 出金(劣后本金) - 外部子账户
  10273. type: number
  10274. certificatephotourl:
  10275. description: 凭证地址
  10276. type: string
  10277. charge:
  10278. description: 手续费
  10279. type: number
  10280. checkerrorflag:
  10281. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10282. type: integer
  10283. currency:
  10284. description: 币种
  10285. type: string
  10286. cusbankid:
  10287. description: 托管银行编号
  10288. type: string
  10289. exchticket:
  10290. description: 银行服务流水号
  10291. type: string
  10292. executetype:
  10293. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10294. 7:外部子账户:入金 8:外部子账户:出金'
  10295. type: integer
  10296. extendinfo:
  10297. description: 扩展信息
  10298. type: string
  10299. extoperateid:
  10300. description: 交易服务流水号
  10301. type: integer
  10302. infamount:
  10303. description: 劣后金额(自有)
  10304. type: number
  10305. logincode:
  10306. description: 登录账号(账号)
  10307. type: string
  10308. netaddr:
  10309. description: 调转网址
  10310. type: string
  10311. priamount:
  10312. description: 优先金额(授信)
  10313. type: number
  10314. reauditid:
  10315. description: 复审人
  10316. type: integer
  10317. reauditremark:
  10318. description: 复审备注
  10319. type: string
  10320. reaudittime:
  10321. description: 复审时间
  10322. type: string
  10323. relatedorderid:
  10324. description: 三方关联ID
  10325. type: string
  10326. remark:
  10327. description: 备注
  10328. type: string
  10329. remark2:
  10330. description: 备注(失败原因)
  10331. type: string
  10332. soucreamount:
  10333. description: 原始出入金金额
  10334. type: number
  10335. soucrecurrencyid:
  10336. description: 原始出入金币种
  10337. type: integer
  10338. tradedate:
  10339. description: 交易日(yyyyMMdd)
  10340. type: string
  10341. updatetime:
  10342. description: 更新时间(申请时间)
  10343. type: string
  10344. userid:
  10345. description: 用户id
  10346. type: integer
  10347. userinfotype:
  10348. description: 账户类型 1-个人 2-企业
  10349. type: integer
  10350. type: object
  10351. models.QhjAgreementChangeLog:
  10352. properties:
  10353. agreementcontent:
  10354. description: 协议内容
  10355. type: string
  10356. agreementfrequency:
  10357. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10358. type: integer
  10359. agreementid:
  10360. description: 协议ID
  10361. type: integer
  10362. agreementname:
  10363. description: 协议名称
  10364. type: string
  10365. agreementno:
  10366. description: 协议编号
  10367. type: string
  10368. agreementtype:
  10369. description: 协议类型 - 1:注册 2:登录 3:交易
  10370. type: integer
  10371. agreementversion:
  10372. description: 协议版本号
  10373. type: integer
  10374. logid:
  10375. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10376. type: integer
  10377. reviserid:
  10378. description: 修改人
  10379. type: integer
  10380. revisersrc:
  10381. description: 修改来源 - 1:管理端 2:终端
  10382. type: integer
  10383. updatetime:
  10384. description: 更新时间
  10385. type: string
  10386. type: object
  10387. models.QhjAgreementConfig:
  10388. properties:
  10389. agreementcontent:
  10390. description: 协议内容
  10391. type: string
  10392. agreementfrequency:
  10393. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10394. type: integer
  10395. agreementid:
  10396. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10397. type: integer
  10398. agreementname:
  10399. description: 协议名称
  10400. type: string
  10401. agreementno:
  10402. description: 协议编号
  10403. type: string
  10404. agreementtype:
  10405. description: 协议类型 - 1:注册 2:登录 3:交易
  10406. type: integer
  10407. agreementversion:
  10408. description: 协议版本号(从1开始每次修改加1)
  10409. type: integer
  10410. createtime:
  10411. description: 创建时间
  10412. type: string
  10413. creatorid:
  10414. description: 创建人
  10415. type: integer
  10416. creatorsrc:
  10417. description: 创建来源 - 1:管理端 2:终端
  10418. type: integer
  10419. isvalid:
  10420. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10421. type: integer
  10422. reviserid:
  10423. description: 修改人
  10424. type: integer
  10425. revisersrc:
  10426. description: 修改来源 - 1:管理端 2:终端
  10427. type: integer
  10428. updatetime:
  10429. description: 更新时间
  10430. type: string
  10431. type: object
  10432. models.QhjAreaFinanceConfig:
  10433. properties:
  10434. additionalratio:
  10435. description: 追加款比例
  10436. type: number
  10437. advanceratio:
  10438. description: 预付款比例
  10439. type: number
  10440. alarmratio:
  10441. description: 告警比例
  10442. type: number
  10443. consumptiondirectreward:
  10444. description: 消费直推奖励值
  10445. type: number
  10446. consumptionenabled:
  10447. description: 是否启用消费奖励 - 0:不启用 1:启用
  10448. type: integer
  10449. consumptionindirectreward:
  10450. description: 消费间推奖励值
  10451. type: number
  10452. consumptionmodel:
  10453. description: 消费奖励方式 - 1:比率 2:固定
  10454. type: integer
  10455. customerservicenum:
  10456. description: 客服电话
  10457. type: string
  10458. dayinterestrate:
  10459. description: 日利率
  10460. type: number
  10461. disableconsumptiontips:
  10462. description: 关闭消费奖励提示
  10463. type: string
  10464. modifierid:
  10465. description: 修改人ID
  10466. type: integer
  10467. modifysrc:
  10468. description: 审核来源 - 1:管理端 2:终端
  10469. type: integer
  10470. modifytime:
  10471. description: 修改时间
  10472. type: string
  10473. promotionvalue:
  10474. description: 推广奖励值(固定)
  10475. type: number
  10476. scoreconfigvalue1:
  10477. description: 提货积分配置1
  10478. type: integer
  10479. scoreconfigvalue2:
  10480. description: 提货积分配置2
  10481. type: integer
  10482. userid:
  10483. description: 机构用户ID其他做市关系,都设置为 1
  10484. type: integer
  10485. username:
  10486. description: 用户名称
  10487. type: string
  10488. type: object
  10489. models.QhjBankAccountSign:
  10490. properties:
  10491. accountcode:
  10492. description: 资金账号
  10493. type: string
  10494. accountname:
  10495. description: 资金账号对应的账号名(UserName)
  10496. type: string
  10497. accountname2:
  10498. description: 资金账号对应的账号名(UserName) - 密文
  10499. type: string
  10500. accounttype:
  10501. description: 账户类型(UserType)
  10502. type: integer
  10503. applicationtime:
  10504. description: 最后一次更新的时间
  10505. type: string
  10506. applyexchticket:
  10507. description: 申请流水
  10508. type: string
  10509. auditid:
  10510. description: 审核人
  10511. type: integer
  10512. audittime:
  10513. description: 审核时间
  10514. type: string
  10515. bankaccountname:
  10516. description: 签约银行卡账号名
  10517. type: string
  10518. bankaccountname2:
  10519. description: 签约银行卡账号名 - 密文
  10520. type: string
  10521. bankaccountno:
  10522. description: 银行卡号
  10523. type: string
  10524. bankaccountno2:
  10525. description: 银行卡号 - 密文
  10526. type: string
  10527. bankaccounttype:
  10528. description: 银行账户类型 - 1-对私; 2-对公
  10529. type: integer
  10530. bankcardtype:
  10531. description: 银行卡类型
  10532. type: integer
  10533. bankchildaccount:
  10534. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10535. type: string
  10536. bankcity:
  10537. description: 开户行城市
  10538. type: string
  10539. bankid:
  10540. description: 签约银行ID
  10541. type: string
  10542. bankname:
  10543. description: 签约银行名称
  10544. type: string
  10545. bankprovince:
  10546. description: 开户行省份
  10547. type: string
  10548. branchbankid:
  10549. description: 签约银行支行号
  10550. type: string
  10551. branchbankname:
  10552. description: 签约银行支行名称
  10553. type: string
  10554. cardno:
  10555. description: 证件号码
  10556. type: string
  10557. cardno2:
  10558. description: 证件号码 - 密文
  10559. type: string
  10560. cardtype:
  10561. description: 证件类型
  10562. type: string
  10563. currency:
  10564. description: 币种
  10565. type: string
  10566. cusbankid:
  10567. description: 托管银行编号
  10568. type: string
  10569. direct:
  10570. description: 方向(可以判断那方先发起的签约)
  10571. type: integer
  10572. exchticket:
  10573. description: 最后一次签约成功的流水号
  10574. type: string
  10575. extendinfo:
  10576. description: 扩展信息(JSON字符串)
  10577. type: string
  10578. mobilephone:
  10579. description: 手机号
  10580. type: string
  10581. mobilephone2:
  10582. description: 手机号 - 密文
  10583. type: string
  10584. netaddr:
  10585. description: 调转网址
  10586. type: string
  10587. relateduserid:
  10588. description: 关联使用者userid
  10589. type: integer
  10590. signstatus:
  10591. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10592. 10:审核拒绝 11:换签待审核
  10593. type: integer
  10594. updatetime:
  10595. description: 更新时间(签解约更新时间)
  10596. type: string
  10597. type: object
  10598. models.QhjBankInfo:
  10599. properties:
  10600. bankid:
  10601. description: 银行ID
  10602. type: string
  10603. bankname:
  10604. description: 银行名称
  10605. type: string
  10606. clearbankno:
  10607. description: 清算系统银行编号
  10608. type: string
  10609. orderindex:
  10610. description: 排序顺序
  10611. type: integer
  10612. status:
  10613. description: 状态 - 0:正常 1:注销
  10614. type: integer
  10615. type: object
  10616. models.QhjBrokerApply:
  10617. properties:
  10618. applicantid:
  10619. description: 申请人
  10620. type: integer
  10621. applysrc:
  10622. description: 申请来源 - 1:管理端 2:终端
  10623. type: integer
  10624. applystatus:
  10625. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10626. type: integer
  10627. applytime:
  10628. description: 申请时间
  10629. type: string
  10630. auditorid:
  10631. description: 审核人
  10632. type: integer
  10633. auditremark:
  10634. description: 审核备注
  10635. type: string
  10636. auditsrc:
  10637. description: 审核来源 - 1:管理端 2:终端
  10638. type: integer
  10639. audittime:
  10640. description: 审核时间
  10641. type: string
  10642. audittradedate:
  10643. description: 审核交易日(yyyyMMdd)
  10644. type: string
  10645. brokerapplyid:
  10646. description: 申请ID(SEQ_BROKERAPPLY)
  10647. type: integer
  10648. cardbackphotourl:
  10649. description: 证件背面图片地址
  10650. type: string
  10651. cardfrontphotourl:
  10652. description: 证件正面图片地址
  10653. type: string
  10654. cardnum:
  10655. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10656. type: string
  10657. customername:
  10658. description: 姓名
  10659. type: string
  10660. logincode:
  10661. description: 登录代码
  10662. type: string
  10663. mobile:
  10664. description: 手机号码
  10665. type: string
  10666. parentuserid:
  10667. description: 所属机构id
  10668. type: integer
  10669. parentusername:
  10670. description: 所属机构名称
  10671. type: string
  10672. refereeuserid:
  10673. description: 推荐人id(经纪人)
  10674. type: integer
  10675. refernum:
  10676. description: 推荐码
  10677. type: string
  10678. remark:
  10679. description: 备注
  10680. type: string
  10681. subarealevelpath:
  10682. description: 层级路径
  10683. type: string
  10684. tradedate:
  10685. description: 交易日(yyyyMMdd)
  10686. type: string
  10687. userid:
  10688. description: 申请人用户ID
  10689. type: integer
  10690. userinfotype:
  10691. description: 用户类型 1-个人 2-企业
  10692. type: integer
  10693. username:
  10694. description: 用户名称
  10695. type: string
  10696. type: object
  10697. models.QhjBrokerApplyEx:
  10698. properties:
  10699. applylist:
  10700. description: 经纪人申请记录(只返回最新一条)
  10701. items:
  10702. $ref: '#/definitions/models.QhjBrokerApply'
  10703. type: array
  10704. canrecommend:
  10705. description: 是否经纪人 0-不是 1-是
  10706. type: integer
  10707. refernum:
  10708. description: 推荐码
  10709. type: string
  10710. userid:
  10711. description: 用户id
  10712. type: integer
  10713. userinfotype:
  10714. description: 用户类型 1-个人 2-企业
  10715. type: integer
  10716. type: object
  10717. models.QhjBrokerRewardLog:
  10718. properties:
  10719. accountid:
  10720. description: 资金账号ID
  10721. type: integer
  10722. createtime:
  10723. description: 创建时间(时间)
  10724. type: string
  10725. handlestatus:
  10726. description: 处理状态
  10727. type: integer
  10728. logid:
  10729. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10730. type: string
  10731. marketid:
  10732. description: 市场ID
  10733. type: integer
  10734. mmaccountid:
  10735. description: 做市商资金账号ID
  10736. type: string
  10737. mmuserid:
  10738. description: 做市商用户ID
  10739. type: string
  10740. rewardamount:
  10741. description: 奖励金额
  10742. type: number
  10743. rewardmodel:
  10744. description: 消费奖励方式 - 1:比率 2:固定
  10745. type: integer
  10746. rewardtype:
  10747. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10748. type: integer
  10749. rewardvalue:
  10750. description: 配置奖励值
  10751. type: number
  10752. srcamount:
  10753. description: 成交金额 [消费奖励] (金额)
  10754. type: number
  10755. srcgoodsid:
  10756. description: 来源商品ID [消费奖励]
  10757. type: string
  10758. srctime:
  10759. description: 来源时间 (成交时间) [消费奖励]
  10760. type: string
  10761. srctradeid:
  10762. description: 来源成交单ID [消费奖励] - 排除提货成交
  10763. type: string
  10764. srcuserid:
  10765. description: 来源用户ID(推广账户)
  10766. type: string
  10767. srcusername:
  10768. description: 推广账户名称
  10769. type: string
  10770. tradedate:
  10771. description: 交易日(yyyyMMdd)
  10772. type: string
  10773. userid:
  10774. description: 经纪人用户ID
  10775. type: integer
  10776. type: object
  10777. models.QhjContract:
  10778. properties:
  10779. contractconfirmtime:
  10780. description: 合同确认时间(时间)
  10781. type: string
  10782. currisklevel:
  10783. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10784. type: integer
  10785. decimalplace:
  10786. description: 商品报价小数位
  10787. type: integer
  10788. enumdicname:
  10789. description: 单位名称
  10790. type: string
  10791. goodscode:
  10792. description: 商品代码
  10793. type: string
  10794. goodsid:
  10795. description: 商品ID [5:融资单]
  10796. type: integer
  10797. goodsname:
  10798. description: 商品名称
  10799. type: string
  10800. goodunitid:
  10801. description: 商品单位id
  10802. type: integer
  10803. initmargin:
  10804. description: 初始保证金(首付款)
  10805. type: number
  10806. lenderamount:
  10807. description: 贷款金额(总额|订单总额)
  10808. type: number
  10809. marginratio:
  10810. description: 保证金比率(首付比例)
  10811. type: number
  10812. payamount:
  10813. description: 已付(已付货款)
  10814. type: number
  10815. reckonrecovermargin:
  10816. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10817. type: number
  10818. recoveredmargin:
  10819. description: 已追缴保证金
  10820. type: number
  10821. remainamount:
  10822. description: 合同剩余金额(融资额)
  10823. type: number
  10824. scfcontractid:
  10825. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10826. type: string
  10827. scfcontractstatus:
  10828. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10829. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10830. type: integer
  10831. scfcontracttype:
  10832. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10833. type: integer
  10834. totalinterest:
  10835. description: 已计总利息(利息)
  10836. type: number
  10837. tradeprice:
  10838. description: 成交价格(成本价格)
  10839. type: number
  10840. userid:
  10841. description: 用户ID
  10842. type: integer
  10843. username:
  10844. description: 用户名称
  10845. type: string
  10846. wrqty:
  10847. description: 仓单数量(数量)
  10848. type: number
  10849. type: object
  10850. models.QhjContractLog:
  10851. properties:
  10852. amount:
  10853. description: 支付金额
  10854. type: number
  10855. amounttype:
  10856. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10857. type: integer
  10858. logid:
  10859. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10860. type: string
  10861. remainamount:
  10862. description: 剩余货款
  10863. type: number
  10864. scfcontractid:
  10865. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10866. type: integer
  10867. updatetime:
  10868. description: 更新时间
  10869. type: string
  10870. type: object
  10871. models.QhjCusBankSignBankEx:
  10872. properties:
  10873. banklst:
  10874. description: 银行列表
  10875. items:
  10876. $ref: '#/definitions/models.QhjBankInfo'
  10877. type: array
  10878. canallot:
  10879. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10880. type: integer
  10881. canallotquery:
  10882. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10883. type: integer
  10884. canbindcard:
  10885. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10886. type: integer
  10887. caninamount:
  10888. description: 是否可入金 - 0:不可 1:可以
  10889. type: integer
  10890. caninamount2:
  10891. description: 是否可入金(网银端) - 0:不可 1:可以
  10892. type: integer
  10893. canmodifybankcard:
  10894. description: 是否可修改银行卡号 - 0:不可 1:可以
  10895. type: integer
  10896. canmodifyphone:
  10897. description: 是否可修改手机号 - 0:不可 1:可以
  10898. type: integer
  10899. canmodifysigninfo:
  10900. description: 是否可修改签约信息 - 0:不可 1:可以
  10901. type: integer
  10902. canoutamount:
  10903. description: 是否可出金 - 0:不可 1:可以
  10904. type: integer
  10905. canoutamount2:
  10906. description: 是否可出金(网银端) - 0:不可 1:可以
  10907. type: integer
  10908. canrelease:
  10909. description: 是否可解约 - 0:不可 1:可以
  10910. type: integer
  10911. canrelease2:
  10912. description: 是否可解约(网银端) - 0:不可 1:可以
  10913. type: integer
  10914. cansign:
  10915. description: 是否可签约 - 0:不可 1:可以
  10916. type: integer
  10917. cansign2:
  10918. description: 是否可签约(网银端) - 0:不可 1:可以
  10919. type: integer
  10920. currency:
  10921. description: 币种
  10922. type: string
  10923. cusbankid:
  10924. description: 托管银行编号(对应清算中心TRAN_NO)
  10925. type: string
  10926. cusbankname:
  10927. description: 银行业务名称
  10928. type: string
  10929. cusbankshortname:
  10930. description: 银行业务简称
  10931. type: string
  10932. exchbankid:
  10933. description: 交易所开户银行ID
  10934. type: string
  10935. exchpaybankaccname:
  10936. description: 交易所支出结算账户户名
  10937. type: string
  10938. exchpaybankaccno:
  10939. description: 交易所支出结算账户
  10940. type: string
  10941. isneedcheck:
  10942. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10943. type: integer
  10944. isneedclear:
  10945. description: 是否需要清算 - 0:不需要 1:需要
  10946. type: integer
  10947. lastcheckstatus:
  10948. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10949. type: integer
  10950. lastchecktime:
  10951. description: 最后对账时间
  10952. type: string
  10953. lastclearstatus:
  10954. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10955. type: integer
  10956. lastcleartime:
  10957. description: 最后清算时间
  10958. type: string
  10959. lastsignintime:
  10960. description: 最后签到时间
  10961. type: string
  10962. lastsignouttime:
  10963. description: 最后签退时间
  10964. type: string
  10965. riskinfo:
  10966. description: 签约风险提示书
  10967. type: string
  10968. signstatus:
  10969. description: 当前签到/签退状态 - 1:签到 2:签退
  10970. type: integer
  10971. tradedate:
  10972. description: 交易日(yyyyMMdd)
  10973. type: string
  10974. updatetime:
  10975. description: 当前签到/签退更新时间
  10976. type: string
  10977. type: object
  10978. models.QhjCustomer:
  10979. properties:
  10980. address:
  10981. description: 通讯地址
  10982. type: string
  10983. attachment1:
  10984. description: 附件1
  10985. type: string
  10986. attachment2:
  10987. description: 附件2
  10988. type: string
  10989. audittime:
  10990. description: 审核时间
  10991. type: string
  10992. cardbackphotourl:
  10993. description: 证件反面图片地址
  10994. type: string
  10995. cardfrontphotourl:
  10996. description: 证件正面图片地址
  10997. type: string
  10998. cardnum:
  10999. description: 证件号码
  11000. type: string
  11001. cardtype:
  11002. description: 证件类型
  11003. type: integer
  11004. cardtypename:
  11005. description: 证件类型名称
  11006. type: string
  11007. cityid:
  11008. description: 市
  11009. type: integer
  11010. cityname:
  11011. description: 城市名称
  11012. type: string
  11013. contactname:
  11014. description: 联系人
  11015. type: string
  11016. countryid:
  11017. description: 国家
  11018. type: integer
  11019. countryname:
  11020. description: 国家名称
  11021. type: string
  11022. createtime:
  11023. description: 创建时间
  11024. type: string
  11025. customername:
  11026. description: 客户名称
  11027. type: string
  11028. districtid:
  11029. description: 区域
  11030. type: integer
  11031. districtname:
  11032. description: 地区名称
  11033. type: string
  11034. email:
  11035. description: 邮件
  11036. type: string
  11037. legalpersonname:
  11038. description: 法人姓名(企业)
  11039. type: string
  11040. logincode:
  11041. description: 登录账号(代码)
  11042. type: string
  11043. memberuserid:
  11044. description: 所属机构ID(所属会员)
  11045. type: integer
  11046. memberusername:
  11047. description: 所属会员名称
  11048. type: string
  11049. mobile:
  11050. description: 手机号码
  11051. type: string
  11052. modifytime:
  11053. description: 修改时间
  11054. type: string
  11055. nickname:
  11056. description: 昵称
  11057. type: string
  11058. parentuserid:
  11059. description: 上级机构(所属机构)
  11060. type: integer
  11061. parentusername:
  11062. description: 所属机构名称
  11063. type: string
  11064. provinceid:
  11065. description: 省
  11066. type: integer
  11067. provincename:
  11068. description: 省名称
  11069. type: string
  11070. proxystatementurl:
  11071. description: 授权委托书
  11072. type: string
  11073. remark:
  11074. description: 备注
  11075. type: string
  11076. status:
  11077. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11078. type: integer
  11079. statusdesc:
  11080. description: 账户状态中文描述
  11081. type: string
  11082. taxpayernum:
  11083. description: 纳税人识别号
  11084. type: string
  11085. telphone:
  11086. description: 联系电话
  11087. type: string
  11088. userid:
  11089. description: 用户ID
  11090. type: integer
  11091. userinfotype:
  11092. description: 客户类型 1-个人 2-企业
  11093. type: integer
  11094. username:
  11095. description: 用户名称
  11096. type: string
  11097. type: object
  11098. models.QhjCustomerSignLog:
  11099. properties:
  11100. agreementcontent:
  11101. description: 协议内容
  11102. type: string
  11103. agreementid:
  11104. description: 协议ID
  11105. type: integer
  11106. agreementname:
  11107. description: 协议名称
  11108. type: string
  11109. agreementno:
  11110. description: 协议编号
  11111. type: string
  11112. agreementtype:
  11113. description: 协议类型 - 1:注册 2:登录 3:交易
  11114. type: integer
  11115. agreementversion:
  11116. description: 协议版本号
  11117. type: integer
  11118. createtime:
  11119. description: 创建时间
  11120. type: string
  11121. goodscode:
  11122. description: 商品代码
  11123. type: string
  11124. goodsid:
  11125. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11126. type: integer
  11127. goodsname:
  11128. description: 商品名称
  11129. type: string
  11130. logid:
  11131. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11132. type: integer
  11133. nodetype:
  11134. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11135. type: integer
  11136. signadressurl:
  11137. description: 签约文件地址
  11138. type: string
  11139. signtimestamp:
  11140. description: 签约状态时间戳
  11141. type: string
  11142. userid:
  11143. description: 客户ID
  11144. type: integer
  11145. username:
  11146. description: 客户名称
  11147. type: string
  11148. type: object
  11149. models.QhjCustomerSignStatus:
  11150. properties:
  11151. createtime:
  11152. description: 创建时间
  11153. type: string
  11154. goodscode:
  11155. description: 商品代码
  11156. type: string
  11157. goodsid:
  11158. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11159. type: integer
  11160. goodsname:
  11161. description: 商品名称
  11162. type: string
  11163. nodetype:
  11164. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11165. type: integer
  11166. signtimestamp:
  11167. description: 签约状态时间戳
  11168. type: string
  11169. tradedate:
  11170. description: 创建交易日(yyyyMMdd)
  11171. type: string
  11172. updatetime:
  11173. description: 更新时间
  11174. type: string
  11175. userid:
  11176. description: 客户ID
  11177. type: integer
  11178. username:
  11179. description: 客户名称
  11180. type: string
  11181. type: object
  11182. models.QhjMgrAccountOutInApply:
  11183. properties:
  11184. accountcode:
  11185. description: 资金账号
  11186. type: string
  11187. accountname:
  11188. description: 用户名称(名称)
  11189. type: string
  11190. accountpwd:
  11191. description: 资金密码
  11192. type: string
  11193. accountticket:
  11194. description: 最新账户服务流水号
  11195. type: string
  11196. amount:
  11197. description: 金额
  11198. type: number
  11199. applyremark:
  11200. description: 申请备注
  11201. type: string
  11202. applystatus:
  11203. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11204. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11205. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11206. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11207. type: integer
  11208. auditid:
  11209. description: 审核人
  11210. type: integer
  11211. audittime:
  11212. description: 审核时间
  11213. type: string
  11214. bank_apply_ticket:
  11215. description: 银行申请流水
  11216. type: string
  11217. bankaccountname:
  11218. description: 银行账户名
  11219. type: string
  11220. bankaccountno:
  11221. description: 银行卡号
  11222. type: string
  11223. bankid:
  11224. description: 银行编号
  11225. type: string
  11226. bankname:
  11227. description: 银行名称
  11228. type: string
  11229. bankticket:
  11230. description: 银行流水
  11231. type: string
  11232. branchbankid:
  11233. description: 银行支行号
  11234. type: string
  11235. branchbankname:
  11236. description: 银行支行名称
  11237. type: string
  11238. capamountout:
  11239. description: 出金(劣后本金) - 外部子账户
  11240. type: number
  11241. certificatephotourl:
  11242. description: 凭证地址
  11243. type: string
  11244. charge:
  11245. description: 手续费
  11246. type: number
  11247. checkerrorflag:
  11248. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11249. type: integer
  11250. currency:
  11251. description: 币种
  11252. type: string
  11253. cusbankid:
  11254. description: 托管银行编号
  11255. type: string
  11256. exchticket:
  11257. description: 银行服务流水号
  11258. type: string
  11259. executetype:
  11260. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11261. 7:外部子账户:入金 8:外部子账户:出金'
  11262. type: integer
  11263. extendinfo:
  11264. description: 扩展信息
  11265. type: string
  11266. extoperateid:
  11267. description: 交易服务流水号
  11268. type: integer
  11269. infamount:
  11270. description: 劣后金额(自有)
  11271. type: number
  11272. logincode:
  11273. description: 登录账号(账号)
  11274. type: string
  11275. netaddr:
  11276. description: 调转网址
  11277. type: string
  11278. priamount:
  11279. description: 优先金额(授信)
  11280. type: number
  11281. reauditid:
  11282. description: 复审人
  11283. type: integer
  11284. reauditremark:
  11285. description: 复审备注
  11286. type: string
  11287. reaudittime:
  11288. description: 复审时间
  11289. type: string
  11290. relatedorderid:
  11291. description: 三方关联ID
  11292. type: string
  11293. remark:
  11294. description: 备注
  11295. type: string
  11296. remark2:
  11297. description: 备注(失败原因)
  11298. type: string
  11299. soucreamount:
  11300. description: 原始出入金金额
  11301. type: number
  11302. soucrecurrencyid:
  11303. description: 原始出入金币种
  11304. type: integer
  11305. tradedate:
  11306. description: 交易日(yyyyMMdd)
  11307. type: string
  11308. updatetime:
  11309. description: 更新时间(申请时间)
  11310. type: string
  11311. userid:
  11312. description: 用户id
  11313. type: integer
  11314. userinfotype:
  11315. description: 账户类型 1-个人 2-企业
  11316. type: integer
  11317. type: object
  11318. models.QhjMgrBrokerApply:
  11319. properties:
  11320. applicantid:
  11321. description: 申请人
  11322. type: integer
  11323. applysrc:
  11324. description: 申请来源 - 1:管理端 2:终端
  11325. type: integer
  11326. applystatus:
  11327. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11328. type: integer
  11329. applytime:
  11330. description: 申请时间
  11331. type: string
  11332. auditorid:
  11333. description: 审核人
  11334. type: integer
  11335. auditremark:
  11336. description: 审核备注
  11337. type: string
  11338. auditsrc:
  11339. description: 审核来源 - 1:管理端 2:终端
  11340. type: integer
  11341. audittime:
  11342. description: 审核时间
  11343. type: string
  11344. audittradedate:
  11345. description: 审核交易日(yyyyMMdd)
  11346. type: string
  11347. brokerapplyid:
  11348. description: 申请ID(SEQ_BROKERAPPLY)
  11349. type: integer
  11350. cardbackphotourl:
  11351. description: 证件背面图片地址
  11352. type: string
  11353. cardfrontphotourl:
  11354. description: 证件正面图片地址
  11355. type: string
  11356. cardnum:
  11357. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11358. type: string
  11359. customername:
  11360. description: 姓名
  11361. type: string
  11362. filterstatus:
  11363. description: 筛选条件
  11364. type: string
  11365. logincode:
  11366. description: 登录代码
  11367. type: string
  11368. mobile:
  11369. description: 手机号码
  11370. type: string
  11371. parentuserid:
  11372. description: 所属机构id
  11373. type: integer
  11374. parentusername:
  11375. description: 所属机构名称
  11376. type: string
  11377. refereeuserid:
  11378. description: 推荐人id(经纪人)
  11379. type: integer
  11380. refernum:
  11381. description: 推荐码
  11382. type: string
  11383. remark:
  11384. description: 备注
  11385. type: string
  11386. subarealevelpath:
  11387. description: 层级路径
  11388. type: string
  11389. tradedate:
  11390. description: 交易日(yyyyMMdd)
  11391. type: string
  11392. userid:
  11393. description: 申请人用户ID
  11394. type: integer
  11395. userinfotype:
  11396. description: 用户类型 1-个人 2-企业
  11397. type: integer
  11398. username:
  11399. description: 用户名称
  11400. type: string
  11401. type: object
  11402. models.QhjMgrBrokerRewardReport:
  11403. properties:
  11404. createtime:
  11405. description: 创建时间(注册时间)
  11406. type: string
  11407. cycletime:
  11408. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11409. type: string
  11410. cycletype:
  11411. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11412. type: integer
  11413. directtotalnum:
  11414. description: 直推总人数【期末】
  11415. type: integer
  11416. indirecttotalnum:
  11417. description: 间推总人数【期末】
  11418. type: integer
  11419. mobile:
  11420. description: 电话号码
  11421. type: string
  11422. refereeuserid:
  11423. description: 推荐人id(经纪人id)
  11424. type: integer
  11425. refereeusername:
  11426. description: 推荐人名称(经纪人) 上级经纪人名称
  11427. type: string
  11428. refernum:
  11429. description: 推荐码
  11430. type: string
  11431. subarealevelpath:
  11432. description: 用户层级路径
  11433. type: string
  11434. todayrewardamount:
  11435. description: 奖励总金额【汇总】
  11436. type: number
  11437. updatetime:
  11438. description: 更新时间
  11439. type: string
  11440. userid:
  11441. description: 经纪人用户ID
  11442. type: integer
  11443. userinfotype:
  11444. description: 用户类型 1-个人 2-企业
  11445. type: integer
  11446. username:
  11447. description: 用户名称
  11448. type: string
  11449. type: object
  11450. models.QhjMgrContract:
  11451. properties:
  11452. contractconfirmtime:
  11453. description: 合同确认时间(时间)
  11454. type: string
  11455. currisklevel:
  11456. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11457. type: integer
  11458. decimalplace:
  11459. description: 商品报价小数位
  11460. type: integer
  11461. enumdicname:
  11462. description: 单位名称
  11463. type: string
  11464. goodscode:
  11465. description: 商品代码
  11466. type: string
  11467. goodsid:
  11468. description: 商品ID [5:融资单]
  11469. type: integer
  11470. goodsname:
  11471. description: 商品名称
  11472. type: string
  11473. goodunitid:
  11474. description: 商品单位id
  11475. type: integer
  11476. initmargin:
  11477. description: 初始保证金(首付款)
  11478. type: number
  11479. lenderamount:
  11480. description: 贷款金额(总额|订单总额)
  11481. type: number
  11482. logincode:
  11483. description: 账号(登录代码)
  11484. type: string
  11485. marginratio:
  11486. description: 保证金比率(首付比例)
  11487. type: number
  11488. mobile:
  11489. description: 电话号码(用户资料里的电话)
  11490. type: string
  11491. payamount:
  11492. description: 已付(已付货款)
  11493. type: number
  11494. reckonrecovermargin:
  11495. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11496. type: number
  11497. recoveredmargin:
  11498. description: 已追缴保证金
  11499. type: number
  11500. remainamount:
  11501. description: 合同剩余金额(融资额)
  11502. type: number
  11503. scfcontractid:
  11504. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11505. type: string
  11506. scfcontractstatus:
  11507. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11508. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11509. type: integer
  11510. scfcontracttype:
  11511. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11512. type: integer
  11513. totalinterest:
  11514. description: 已计总利息(利息)
  11515. type: number
  11516. tradedate:
  11517. description: 交易日
  11518. type: string
  11519. tradeprice:
  11520. description: 成交价格(成本价格)
  11521. type: number
  11522. userid:
  11523. description: 用户ID
  11524. type: integer
  11525. userinfotype:
  11526. description: 用户类型 1-个人 2-企业
  11527. type: integer
  11528. username:
  11529. description: 用户名称
  11530. type: string
  11531. wrqty:
  11532. description: 仓单数量(数量)
  11533. type: number
  11534. type: object
  11535. models.QhjMgrCustomer:
  11536. properties:
  11537. address:
  11538. description: 通讯地址
  11539. type: string
  11540. attachment1:
  11541. description: 附件1
  11542. type: string
  11543. audittime:
  11544. description: 审核时间
  11545. type: string
  11546. birthday:
  11547. description: 生日
  11548. type: string
  11549. brokerid:
  11550. description: 所属客户经理id
  11551. type: integer
  11552. brokername:
  11553. description: 所属客户经理名称
  11554. type: string
  11555. cardbackphotourl:
  11556. description: 证件反面图片地址
  11557. type: string
  11558. cardfrontphotourl:
  11559. description: 证件正面图片地址
  11560. type: string
  11561. cardnum:
  11562. description: 证件号码
  11563. type: string
  11564. cardtype:
  11565. description: 证件类型
  11566. type: integer
  11567. cardtypename:
  11568. description: 证件类型名称
  11569. type: string
  11570. cityid:
  11571. description: 市
  11572. type: integer
  11573. cityname:
  11574. description: 城市名称
  11575. type: string
  11576. contactname:
  11577. description: 联系人
  11578. type: string
  11579. countryid:
  11580. description: 国家
  11581. type: integer
  11582. countryname:
  11583. description: 国家名称
  11584. type: string
  11585. createtime:
  11586. description: 创建时间
  11587. type: string
  11588. customername:
  11589. description: 客户名称
  11590. type: string
  11591. districtid:
  11592. description: 区域
  11593. type: integer
  11594. districtname:
  11595. description: 地区名称
  11596. type: string
  11597. email:
  11598. description: 邮件
  11599. type: string
  11600. legalpersonname:
  11601. description: 法人姓名(企业)
  11602. type: string
  11603. logincode:
  11604. description: 登录账号(代码)
  11605. type: string
  11606. memberuserid:
  11607. description: 所属机构ID(所属会员)
  11608. type: integer
  11609. memberusername:
  11610. description: 所属会员名称
  11611. type: string
  11612. mobile:
  11613. description: 手机号码
  11614. type: string
  11615. modifytime:
  11616. description: 修改时间
  11617. type: string
  11618. nickname:
  11619. description: 昵称
  11620. type: string
  11621. parentuserid:
  11622. description: 上级机构(所属机构)
  11623. type: integer
  11624. parentusername:
  11625. description: 所属机构名称
  11626. type: string
  11627. provinceid:
  11628. description: 省
  11629. type: integer
  11630. provincename:
  11631. description: 省名称
  11632. type: string
  11633. proxystatementurl:
  11634. description: 授权委托书
  11635. type: string
  11636. querytype:
  11637. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11638. type: integer
  11639. remark:
  11640. description: 备注
  11641. type: string
  11642. sex:
  11643. description: 性别 0-女 1-男
  11644. type: integer
  11645. status:
  11646. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11647. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11648. type: integer
  11649. statusdesc:
  11650. description: 账户状态中文描述
  11651. type: string
  11652. taxpayernum:
  11653. description: 纳税人识别号
  11654. type: string
  11655. telphone:
  11656. description: 联系电话
  11657. type: string
  11658. userid:
  11659. description: 用户ID
  11660. type: integer
  11661. userinfotype:
  11662. description: 客户类型 1-个人 2-企业
  11663. type: integer
  11664. username:
  11665. description: 用户名称
  11666. type: string
  11667. type: object
  11668. models.QhjMgrPickGoods:
  11669. properties:
  11670. enumdicname:
  11671. description: 单位名称(提货商品)
  11672. type: string
  11673. goodsid:
  11674. description: 商品id
  11675. type: integer
  11676. imageaddress:
  11677. description: 图片
  11678. type: string
  11679. modifierid:
  11680. description: 修改人
  11681. type: integer
  11682. modifiername:
  11683. description: 修改人名称
  11684. type: string
  11685. modifysrc:
  11686. description: 修改来源 - 1:管理端 2:终端
  11687. type: integer
  11688. pickupgoodsagreeunit:
  11689. description: 合约乘数
  11690. type: number
  11691. pickupgoodsdesc:
  11692. description: 描述
  11693. type: string
  11694. pickupgoodsid:
  11695. description: 提货商品ID
  11696. type: string
  11697. pickupgoodsname:
  11698. description: 提货商品名称
  11699. type: string
  11700. pickupgoodsstatus:
  11701. description: 状态 - 1:正常 2:停用 3:注销
  11702. type: integer
  11703. pickupgoodsunitid:
  11704. description: 单位ID
  11705. type: integer
  11706. pickupratio:
  11707. description: 提货系数
  11708. type: number
  11709. preparedays:
  11710. description: 备货期(天)
  11711. type: integer
  11712. remark:
  11713. description: 备注
  11714. type: string
  11715. updatetime:
  11716. description: 更新时间
  11717. type: string
  11718. type: object
  11719. models.QhjMgrPositionRsp:
  11720. properties:
  11721. accountid:
  11722. description: 账号Id
  11723. type: integer
  11724. accountname:
  11725. description: 用户名称
  11726. type: string
  11727. agreeunit:
  11728. description: 合约乘数
  11729. type: number
  11730. averageprice:
  11731. description: 均价
  11732. type: number
  11733. avialqty:
  11734. description: 可用数量
  11735. type: number
  11736. decimalplace:
  11737. description: 报价小数位
  11738. type: integer
  11739. enumdicname:
  11740. description: 单位名称(商品)
  11741. type: string
  11742. frozenqty:
  11743. description: 冻结数量
  11744. type: number
  11745. goodscode:
  11746. description: 商品代码(内部)
  11747. type: string
  11748. goodsid:
  11749. description: 商品Id
  11750. type: integer
  11751. goodsname:
  11752. description: 商品名称
  11753. type: string
  11754. goodunitid:
  11755. description: 报价单位ID
  11756. type: integer
  11757. holderamount:
  11758. description: 金额
  11759. type: number
  11760. holderqty:
  11761. description: 持有数量
  11762. type: number
  11763. holdertype:
  11764. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11765. type: integer
  11766. logincode:
  11767. description: 登录代码(账户)
  11768. type: string
  11769. marketid:
  11770. description: 市场id
  11771. type: integer
  11772. qtydecimalplace:
  11773. description: 成交量小数位
  11774. type: integer
  11775. trademode:
  11776. description: 交易模式
  11777. type: integer
  11778. userid:
  11779. description: 用户id
  11780. type: integer
  11781. userinfotype:
  11782. description: 账户类型 1-个人 2-企业
  11783. type: integer
  11784. type: object
  11785. models.QhjMgrSubArea:
  11786. properties:
  11787. accountname:
  11788. description: 账户名称(机构名称)
  11789. type: string
  11790. memberuserid:
  11791. description: 所属会员ID
  11792. type: integer
  11793. parenttopuser:
  11794. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11795. type: string
  11796. parentuserid:
  11797. description: 所属机构ID
  11798. type: integer
  11799. rootuserid:
  11800. description: 根用户ID
  11801. type: string
  11802. subaccountlevel:
  11803. description: 子账户层数
  11804. type: integer
  11805. subarealevelpath:
  11806. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11807. type: string
  11808. userid:
  11809. description: 用户ID
  11810. type: integer
  11811. usertype:
  11812. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11813. type: integer
  11814. type: object
  11815. models.QhjMgrTradeDetailRsp:
  11816. properties:
  11817. accountid:
  11818. description: 资金账号
  11819. type: integer
  11820. accountname:
  11821. description: 用户名称
  11822. type: string
  11823. agreeunit:
  11824. description: 合约乘数
  11825. type: number
  11826. buyorsell:
  11827. description: 成交类型(方向) 0:买 1:卖
  11828. type: integer
  11829. decimalplace:
  11830. description: 报价小数位
  11831. type: integer
  11832. enumdicname:
  11833. description: 单位名称(商品)
  11834. type: string
  11835. goodscode:
  11836. description: 商品代码(内部)
  11837. type: string
  11838. goodsid:
  11839. description: 商品id
  11840. type: integer
  11841. goodsname:
  11842. description: 商品名称
  11843. type: string
  11844. goodunitid:
  11845. description: 报价单位ID
  11846. type: integer
  11847. logincode:
  11848. description: 登录代码(账户)
  11849. type: string
  11850. marketid:
  11851. description: 市场id
  11852. type: integer
  11853. orderid:
  11854. description: 关联委托单号
  11855. type: string
  11856. qtydecimalplace:
  11857. description: 成交量小数位
  11858. type: integer
  11859. tradeamount:
  11860. description: 金额
  11861. type: number
  11862. tradedate:
  11863. description: 交易日
  11864. type: string
  11865. tradeid:
  11866. description: 成交单号
  11867. type: string
  11868. trademode:
  11869. description: 交易模式
  11870. type: integer
  11871. tradeprice:
  11872. description: 价格
  11873. type: number
  11874. tradeqty:
  11875. description: 数量
  11876. type: number
  11877. tradetime:
  11878. description: 成交时间
  11879. type: string
  11880. userid:
  11881. description: 用户id
  11882. type: integer
  11883. userinfotype:
  11884. description: 账户类型 1-个人 2-企业
  11885. type: integer
  11886. type: object
  11887. models.QhjMgrTradeOrderDetailRsp:
  11888. properties:
  11889. accountid:
  11890. description: 资金账号
  11891. type: integer
  11892. accountname:
  11893. description: 用户名称
  11894. type: string
  11895. agreeunit:
  11896. description: 合约乘数
  11897. type: number
  11898. amount:
  11899. description: 金额
  11900. type: number
  11901. decimalplace:
  11902. description: 报价小数位
  11903. type: integer
  11904. enumdicname:
  11905. description: 单位名称(商品)
  11906. type: string
  11907. goodscode:
  11908. description: 商品代码(内部)
  11909. type: string
  11910. goodsid:
  11911. description: 商品id
  11912. type: integer
  11913. goodsname:
  11914. description: 商品名称
  11915. type: string
  11916. goodunitid:
  11917. description: 报价单位ID
  11918. type: integer
  11919. logincode:
  11920. description: 登录代码(账户)
  11921. type: string
  11922. marketid:
  11923. description: 市场id
  11924. type: integer
  11925. orderid:
  11926. description: 关联委托单号
  11927. type: string
  11928. orderprice:
  11929. description: 价格
  11930. type: number
  11931. orderqty:
  11932. description: 数量
  11933. type: number
  11934. orderstatus:
  11935. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11936. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11937. 16:成交失败违约(荷兰式竞拍专用)
  11938. type: integer
  11939. ordertime:
  11940. description: 委托时间
  11941. type: string
  11942. qtydecimalplace:
  11943. description: 成交量小数位
  11944. type: integer
  11945. tradedate:
  11946. description: 交易日
  11947. type: string
  11948. trademode:
  11949. description: 交易模式
  11950. type: integer
  11951. userid:
  11952. description: 用户id
  11953. type: integer
  11954. userinfotype:
  11955. description: 账户类型 1-个人 2-企业
  11956. type: integer
  11957. type: object
  11958. models.QhjMgrTradePayOrder:
  11959. properties:
  11960. accountname:
  11961. description: 用户名称
  11962. type: string
  11963. advanceratio:
  11964. description: 首付比率
  11965. type: number
  11966. agreeunit:
  11967. description: 合约乘数
  11968. type: number
  11969. buyaccountid:
  11970. description: 买方账号ID[报价币种]
  11971. type: integer
  11972. buyorderid:
  11973. description: 买方委托单号(关联单号)
  11974. type: string
  11975. createtime:
  11976. description: 创建时间
  11977. type: string
  11978. decimalplace:
  11979. description: 报价小数位
  11980. type: integer
  11981. enumdicname:
  11982. description: 单位名称(商品)
  11983. type: string
  11984. goodscode:
  11985. description: 商品代码(内部)
  11986. type: string
  11987. goodsid:
  11988. description: 商品ID
  11989. type: integer
  11990. goodsname:
  11991. description: 商品名称
  11992. type: string
  11993. goodunitid:
  11994. description: 报价单位ID
  11995. type: integer
  11996. logincode:
  11997. description: 登录代码(账户)
  11998. type: string
  11999. marketid:
  12000. description: 市场id
  12001. type: integer
  12002. offamount:
  12003. description: 优惠金额
  12004. type: number
  12005. operatetype:
  12006. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12007. type: integer
  12008. payamount:
  12009. description: 支付金额(金额)
  12010. type: number
  12011. payflag:
  12012. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12013. type: integer
  12014. paylimitedtime:
  12015. description: 支付期限
  12016. type: string
  12017. paytime:
  12018. description: 付款时间
  12019. type: string
  12020. qtydecimalplace:
  12021. description: 成交量小数位
  12022. type: integer
  12023. sellaccountid:
  12024. description: 卖方账号ID[报价币种]
  12025. type: integer
  12026. sellorderid:
  12027. description: 卖方委托单号
  12028. type: string
  12029. tradeamount:
  12030. description: 成交金额(优惠后金额)
  12031. type: number
  12032. tradecharge:
  12033. description: 成交手续费(买方)
  12034. type: number
  12035. tradedate:
  12036. description: 交易日(yyyyMMdd)
  12037. type: string
  12038. tradeid:
  12039. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12040. type: string
  12041. trademode:
  12042. description: 交易模式
  12043. type: integer
  12044. tradeprice:
  12045. description: 成交价格(价格)
  12046. type: number
  12047. tradeqty:
  12048. description: 成交数量(数量)
  12049. type: number
  12050. tradetime:
  12051. description: 成交时间
  12052. type: string
  12053. userid:
  12054. description: 用户id
  12055. type: integer
  12056. userinfotype:
  12057. description: 账户类型 1-个人 2-企业
  12058. type: integer
  12059. type: object
  12060. models.QhjMyTeamEx:
  12061. properties:
  12062. accountname:
  12063. description: 用户名称
  12064. type: string
  12065. accountstatus:
  12066. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12067. type: integer
  12068. createtime:
  12069. description: 创建时间
  12070. type: string
  12071. mobile:
  12072. description: 手机号码
  12073. type: string
  12074. refereeuserid:
  12075. description: 推荐人id
  12076. type: integer
  12077. refernum:
  12078. description: 推荐码
  12079. type: string
  12080. subList:
  12081. items:
  12082. $ref: '#/definitions/models.QhjMyTeamEx'
  12083. type: array
  12084. userid:
  12085. description: 用户id
  12086. type: integer
  12087. userinfotype:
  12088. description: 用户类型 1-个人 2-企业
  12089. type: integer
  12090. type: object
  12091. models.QhjNodeAgreementConfig:
  12092. properties:
  12093. agreementcontent:
  12094. description: 协议内容
  12095. type: string
  12096. agreementid:
  12097. description: 协议ID
  12098. type: integer
  12099. agreementname:
  12100. description: 协议名称
  12101. type: string
  12102. agreementno:
  12103. description: 协议编号
  12104. type: string
  12105. agreementtype:
  12106. description: 协议类型 - 1:注册 2:登录 3:交易
  12107. type: integer
  12108. agreementversion:
  12109. description: 协议版本号
  12110. type: integer
  12111. configid:
  12112. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12113. type: integer
  12114. createtime:
  12115. description: 创建时间
  12116. type: string
  12117. goodsid:
  12118. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12119. type: integer
  12120. nodetype:
  12121. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12122. type: integer
  12123. type: object
  12124. models.QhjParentAreaList:
  12125. properties:
  12126. accountname:
  12127. description: 账户名称(机构名称)
  12128. type: string
  12129. userid:
  12130. description: 用户ID
  12131. type: integer
  12132. usertype:
  12133. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12134. type: integer
  12135. type: object
  12136. models.QhjPayOrder:
  12137. properties:
  12138. advanceratio:
  12139. description: 首付比率
  12140. type: number
  12141. buyaccountid:
  12142. description: 买方账号ID[报价币种]
  12143. type: integer
  12144. buyorderid:
  12145. description: 买方委托单号
  12146. type: string
  12147. createtime:
  12148. description: 创建时间
  12149. type: string
  12150. decimalplace:
  12151. description: 商品报价小数位
  12152. type: integer
  12153. enumdicname:
  12154. description: 单位名称
  12155. type: string
  12156. goodscode:
  12157. description: 商品代码
  12158. type: string
  12159. goodsid:
  12160. description: 商品ID
  12161. type: integer
  12162. goodsname:
  12163. description: 商品名称
  12164. type: string
  12165. goodunitid:
  12166. description: 商品单位id
  12167. type: integer
  12168. marketid:
  12169. description: 市场ID
  12170. type: integer
  12171. offamount:
  12172. description: 优惠金额
  12173. type: number
  12174. operatetype:
  12175. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12176. type: integer
  12177. payamount:
  12178. description: 支付金额
  12179. type: number
  12180. payflag:
  12181. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12182. type: integer
  12183. paylimitedtime:
  12184. description: 支付期限
  12185. type: string
  12186. paytime:
  12187. description: 付款时间
  12188. type: string
  12189. qtydecimalplace:
  12190. description: 成交量小数位
  12191. type: integer
  12192. sellaccountid:
  12193. description: 卖方账号ID[报价币种]
  12194. type: integer
  12195. sellorderid:
  12196. description: 卖方委托单号
  12197. type: string
  12198. tradeamount:
  12199. description: 成交金额(优惠后金额)
  12200. type: number
  12201. tradecharge:
  12202. description: 成交手续费(买方)
  12203. type: number
  12204. tradedate:
  12205. description: 交易日(yyyyMMdd)
  12206. type: string
  12207. tradeid:
  12208. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12209. type: string
  12210. tradeprice:
  12211. description: 成交价格
  12212. type: number
  12213. tradeqty:
  12214. description: 成交数量
  12215. type: number
  12216. type: object
  12217. models.QhjPickArea:
  12218. properties:
  12219. address:
  12220. description: 详细地址
  12221. type: string
  12222. cityid:
  12223. description: 市
  12224. type: integer
  12225. cityname:
  12226. description: 城市名称
  12227. type: string
  12228. countryid:
  12229. description: 国家
  12230. type: integer
  12231. countryname:
  12232. description: 国家名称
  12233. type: string
  12234. districtid:
  12235. description: 地区
  12236. type: integer
  12237. districtname:
  12238. description: 地区名称
  12239. type: string
  12240. fromuserid:
  12241. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12242. type: integer
  12243. fromusername:
  12244. description: 所属机构名称
  12245. type: string
  12246. provinceid:
  12247. description: 省
  12248. type: integer
  12249. provincename:
  12250. description: 省名称
  12251. type: string
  12252. suborgtype:
  12253. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12254. type: integer
  12255. userid:
  12256. description: 机构用户ID 其他做市关系,都设置为 1
  12257. type: integer
  12258. username:
  12259. description: 机构用户名称(门店门称)
  12260. type: string
  12261. type: object
  12262. models.QhjPickGoods:
  12263. properties:
  12264. enumdicname:
  12265. description: 单位名称(提货商品)
  12266. type: string
  12267. goodsid:
  12268. description: 商品id
  12269. type: integer
  12270. imageaddress:
  12271. description: 图片
  12272. type: string
  12273. modifierid:
  12274. description: 修改人
  12275. type: integer
  12276. modifiername:
  12277. description: 修改人名称
  12278. type: string
  12279. modifysrc:
  12280. description: 修改来源 - 1:管理端 2:终端
  12281. type: integer
  12282. pickupgoodsagreeunit:
  12283. description: 合约乘数
  12284. type: number
  12285. pickupgoodsdesc:
  12286. description: 描述
  12287. type: string
  12288. pickupgoodsid:
  12289. description: 提货商品ID
  12290. type: string
  12291. pickupgoodsname:
  12292. description: 提货商品名称
  12293. type: string
  12294. pickupgoodsstatus:
  12295. description: 状态 - 1:正常 2:停用 3:注销
  12296. type: integer
  12297. pickupgoodsunitid:
  12298. description: 单位ID
  12299. type: integer
  12300. pickupratio:
  12301. description: 提货系数
  12302. type: number
  12303. preparedays:
  12304. description: 备货期(天)
  12305. type: integer
  12306. remark:
  12307. description: 备注
  12308. type: string
  12309. updatetime:
  12310. description: 更新时间
  12311. type: string
  12312. type: object
  12313. models.QhjRSTriggerLog:
  12314. properties:
  12315. accountid:
  12316. description: 用户资金账户
  12317. type: integer
  12318. accountname:
  12319. description: 账号名称(ACCOUNTID对应的名称)
  12320. type: string
  12321. currencyid:
  12322. description: 币种id
  12323. type: integer
  12324. currencyname:
  12325. description: 币种名称
  12326. type: string
  12327. decimalplace:
  12328. description: 商品报价小数位
  12329. type: integer
  12330. enumdicname:
  12331. description: 单位名称
  12332. type: string
  12333. goodscode:
  12334. description: 定投商品代码
  12335. type: string
  12336. goodsid:
  12337. description: 定投商品ID
  12338. type: integer
  12339. goodsname:
  12340. description: 定投商品名称
  12341. type: string
  12342. goodunitid:
  12343. description: 定投商品单位id
  12344. type: integer
  12345. logid:
  12346. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12347. type: string
  12348. logincode:
  12349. description: 账号(登录代码)
  12350. type: string
  12351. qtydecimalplace:
  12352. description: 成交量小数位
  12353. type: integer
  12354. regularlycycle:
  12355. description: 定投频率 - 1:每周 2:每月
  12356. type: integer
  12357. regularlycyclevalue:
  12358. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12359. type: string
  12360. regularlymode:
  12361. description: 定投方式 - 1:按数量 2:按金额
  12362. type: integer
  12363. regularlymodevalue:
  12364. description: 定投方式值 - 数量或金额
  12365. type: number
  12366. regularlystrategyid:
  12367. description: 定投策略ID
  12368. type: integer
  12369. retcode:
  12370. description: 错误码
  12371. type: string
  12372. tradeid:
  12373. description: 成交单ID
  12374. type: string
  12375. triggeramount:
  12376. description: 触发金额
  12377. type: number
  12378. triggerqty:
  12379. description: 触发数量
  12380. type: number
  12381. triggerstatus:
  12382. description: 触发状态 - 1:成功 2:失败
  12383. type: integer
  12384. triggertime:
  12385. description: 触发时间
  12386. type: string
  12387. triggertradedate:
  12388. description: 触发交易日
  12389. type: string
  12390. userid:
  12391. description: 所属用户ID
  12392. type: integer
  12393. userinfotype:
  12394. description: 用户类型 1-个人 2-企业
  12395. type: integer
  12396. username:
  12397. description: 用户名称(userid对应的名称)
  12398. type: string
  12399. type: object
  12400. models.QhjRStrategy:
  12401. properties:
  12402. accountid:
  12403. description: 用户资金账户
  12404. type: integer
  12405. accountname:
  12406. description: 账号名称(ACCOUNTID对应的名称)
  12407. type: string
  12408. currencyid:
  12409. description: 币种id
  12410. type: integer
  12411. currencyname:
  12412. description: 币种名称
  12413. type: string
  12414. decimalplace:
  12415. description: 商品报价小数位
  12416. type: integer
  12417. enumdicname:
  12418. description: 单位名称
  12419. type: string
  12420. goodscode:
  12421. description: 定投商品代码
  12422. type: string
  12423. goodsid:
  12424. description: 定投商品ID
  12425. type: integer
  12426. goodsname:
  12427. description: 定投商品名称
  12428. type: string
  12429. goodunitid:
  12430. description: 定投商品单位id
  12431. type: integer
  12432. lasteffecttradedate:
  12433. description: 最新生效交易日
  12434. type: string
  12435. laststoptradedate:
  12436. description: 最新暂停交易日
  12437. type: string
  12438. lasttriggertradedate:
  12439. description: 最新触发交易日
  12440. type: string
  12441. logincode:
  12442. description: 账号(登录代码)
  12443. type: string
  12444. nexttriggeramount:
  12445. description: 下次触发金额
  12446. type: number
  12447. nexttriggerdate:
  12448. description: 下次触发日期
  12449. type: string
  12450. nexttriggerqty:
  12451. description: 下次触发数量 [按小数位放大值]
  12452. type: number
  12453. qtydecimalplace:
  12454. description: 成交量小数位
  12455. type: integer
  12456. regularlycycle:
  12457. description: 定投频率 - 1:每周 2:每月
  12458. type: integer
  12459. regularlycyclevalue:
  12460. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12461. type: string
  12462. regularlymode:
  12463. description: 定投方式 - 1:按数量 2:按金额
  12464. type: integer
  12465. regularlymodevalue:
  12466. description: 定投方式值 - 数量或金额
  12467. type: number
  12468. regularlystrategyid:
  12469. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12470. type: integer
  12471. regularlystrategystatus:
  12472. description: 策略状态 - 1:正常 2:暂停 3:终止
  12473. type: integer
  12474. remark:
  12475. description: 备注
  12476. type: string
  12477. triggersuccesstimes:
  12478. description: 累计定投成功次数
  12479. type: string
  12480. triggertotalamount:
  12481. description: 累计定投金额(成功)
  12482. type: number
  12483. triggertotalqty:
  12484. description: 累计定投数量(成功) [按小数位放大值]
  12485. type: number
  12486. triggertotaltimes:
  12487. description: 累计定投总次数
  12488. type: string
  12489. updatesrc:
  12490. description: 更新来源 - 1:管理端 2:终端
  12491. type: integer
  12492. updatetime:
  12493. description: 更新时间
  12494. type: string
  12495. updatorid:
  12496. description: 更新人
  12497. type: string
  12498. userid:
  12499. description: 所属用户ID
  12500. type: integer
  12501. userinfotype:
  12502. description: 用户类型 1-个人 2-企业
  12503. type: integer
  12504. username:
  12505. description: 用户名称(userid对应的名称)
  12506. type: string
  12507. type: object
  12508. models.QhjReckonPriceLog:
  12509. properties:
  12510. decimalplace:
  12511. description: 商品报价小数位
  12512. type: integer
  12513. goodscode:
  12514. description: 商品代码
  12515. type: string
  12516. goodsid:
  12517. description: 商品ID
  12518. type: integer
  12519. goodsname:
  12520. description: 商品名称
  12521. type: string
  12522. lastreckonprice:
  12523. description: 上日结算价
  12524. type: number
  12525. nextdnlimitprice:
  12526. description: 下个交易日跌停价
  12527. type: number
  12528. nexttrade:
  12529. description: 下个交易日
  12530. type: string
  12531. nextuplimitprice:
  12532. description: 下个交易日涨停价
  12533. type: number
  12534. reckonprice:
  12535. description: 今日结算价(定投价)
  12536. type: number
  12537. reckontime:
  12538. description: 结算时间
  12539. type: string
  12540. totalholderqty:
  12541. description: 总持仓数
  12542. type: integer
  12543. totalstock:
  12544. description: 总库存
  12545. type: integer
  12546. tradedate:
  12547. description: 交易日
  12548. type: string
  12549. updowncount:
  12550. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12551. type: integer
  12552. updownflag:
  12553. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12554. type: integer
  12555. updownrate:
  12556. description: 今日涨跌幅
  12557. type: number
  12558. updownrate_2d:
  12559. description: 连续两日涨跌幅
  12560. type: number
  12561. updownrate_3d:
  12562. description: 连续三日涨跌幅
  12563. type: number
  12564. type: object
  12565. models.QhjScoreLog:
  12566. properties:
  12567. accountid:
  12568. description: 账户ID
  12569. type: integer
  12570. createtime:
  12571. description: 创建时间(时间)
  12572. type: string
  12573. goodsid:
  12574. description: 商品ID
  12575. type: integer
  12576. hasuploaded:
  12577. description: 是否已同步(千海金) 0:未同步 1;已同步
  12578. type: integer
  12579. logid:
  12580. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12581. type: string
  12582. marketid:
  12583. description: 市场ID
  12584. type: integer
  12585. relatedamount:
  12586. description: 关联金额
  12587. type: number
  12588. relatedorderid:
  12589. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12590. type: string
  12591. scoreconfigvalue1:
  12592. description: 积分配置1
  12593. type: integer
  12594. scoreconfigvalue2:
  12595. description: 积分配置1
  12596. type: integer
  12597. scoretype:
  12598. description: 积分类型 - 1:提货积分
  12599. type: integer
  12600. scorevalue:
  12601. description: 积分
  12602. type: number
  12603. tradedate:
  12604. description: 交易日(yyyyMMdd)
  12605. type: string
  12606. uploadedtime:
  12607. description: 同步时间
  12608. type: string
  12609. userid:
  12610. description: 用户ID
  12611. type: integer
  12612. type: object
  12613. models.QhjSiteColumnDetail:
  12614. properties:
  12615. author:
  12616. description: 作者
  12617. type: string
  12618. brief:
  12619. description: 简介
  12620. type: string
  12621. columnid:
  12622. description: 所属栏目
  12623. type: integer
  12624. context:
  12625. description: 内容
  12626. type: string
  12627. coverimage:
  12628. description: 封面图片
  12629. type: string
  12630. creaedate:
  12631. description: 创建时间
  12632. type: string
  12633. creatorid:
  12634. description: 创建人
  12635. type: integer
  12636. hits:
  12637. description: 点击数
  12638. type: integer
  12639. id:
  12640. description: ID(SEQ_SITE_COLUMNDETAIL)
  12641. type: integer
  12642. isshow:
  12643. description: 是否展示 - 0:不展示 1:展示
  12644. type: integer
  12645. istop:
  12646. description: 是否置顶 - 0:不置 1:置顶
  12647. type: integer
  12648. modifierid:
  12649. description: 操作人
  12650. type: integer
  12651. publishdate:
  12652. description: 发布日期
  12653. type: string
  12654. status:
  12655. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12656. type: integer
  12657. title:
  12658. description: 标题
  12659. type: string
  12660. updatedate:
  12661. description: 修改时间
  12662. type: string
  12663. userid:
  12664. description: 用户ID(默认为0, 核心为为机构用户ID)
  12665. type: integer
  12666. username:
  12667. description: 用户名称
  12668. type: string
  12669. type: object
  12670. models.QhjTeamOrder:
  12671. properties:
  12672. accountid:
  12673. description: 账户ID[报价币种]
  12674. type: integer
  12675. accountname:
  12676. description: 账户名称
  12677. type: string
  12678. agreeunit:
  12679. description: 合约乘数
  12680. type: number
  12681. buyorsell:
  12682. description: 方向 - 0:买 1:卖
  12683. type: integer
  12684. decimalplace:
  12685. description: 报价小数位
  12686. type: integer
  12687. enumdicname:
  12688. description: 单位名称
  12689. type: string
  12690. goodscode:
  12691. description: 商品代码(内部)
  12692. type: string
  12693. goodsid:
  12694. description: 商品ID
  12695. type: integer
  12696. goodsname:
  12697. description: 商品名称
  12698. type: string
  12699. goodunitid:
  12700. description: 报价单位ID
  12701. type: integer
  12702. marketid:
  12703. description: 市场ID
  12704. type: integer
  12705. marketname:
  12706. description: 市场名称
  12707. type: string
  12708. qtydecimalplace:
  12709. description: 成交量小数位
  12710. type: integer
  12711. refereeuserid:
  12712. description: 推荐人ID
  12713. type: integer
  12714. tradeamount:
  12715. description: 成交金额[账户币种,用于所有权]
  12716. type: number
  12717. tradedate:
  12718. description: 交易日(yyyyMMdd)
  12719. type: string
  12720. trademode:
  12721. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12722. 21:竞拍-大宗式 22:受托竞价
  12723. type: integer
  12724. tradeprice:
  12725. description: 成交价格
  12726. type: number
  12727. tradeqty:
  12728. description: 成交数量
  12729. type: number
  12730. tradetime:
  12731. description: 成交时间
  12732. type: string
  12733. userid:
  12734. description: 用户ID
  12735. type: integer
  12736. type: object
  12737. models.QhjTradeGoodsPickup:
  12738. properties:
  12739. accountid:
  12740. description: 账户ID
  12741. type: integer
  12742. address:
  12743. description: 提货人详细地址
  12744. type: string
  12745. amount:
  12746. description: 提货金额
  12747. type: number
  12748. artradedate:
  12749. description: 自动收货交易日(yyyyMMdd)
  12750. type: string
  12751. auditer:
  12752. description: 审核人
  12753. type: integer
  12754. auditsrc:
  12755. description: 更新来源 - 1:管理端 2:终端
  12756. type: integer
  12757. audittime:
  12758. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12759. type: string
  12760. audittradedate:
  12761. description: 审核交易日(yyyyMMdd)
  12762. type: string
  12763. cardnum:
  12764. description: 提货人证件号码
  12765. type: string
  12766. cardtypeid:
  12767. description: 提货人证件类型
  12768. type: integer
  12769. checkremark:
  12770. description: 审核备注
  12771. type: string
  12772. cityid:
  12773. description: 市
  12774. type: integer
  12775. cityname:
  12776. description: 城市名称
  12777. type: string
  12778. confirmtime:
  12779. description: 取货时间 或 收货时间
  12780. type: string
  12781. countryid:
  12782. description: 国家
  12783. type: integer
  12784. countryname:
  12785. description: 国家名称
  12786. type: string
  12787. decimalplace:
  12788. description: 商品报价小数位
  12789. type: integer
  12790. districtid:
  12791. description: 地区
  12792. type: integer
  12793. districtname:
  12794. description: 地区名称
  12795. type: string
  12796. enumdicname:
  12797. description: 单位名称(提货商品)
  12798. type: string
  12799. expresscompany:
  12800. description: 物流公司
  12801. type: string
  12802. expressnum:
  12803. description: 物流单号
  12804. type: string
  12805. goodsagreeunit:
  12806. description: 交易商品乘数
  12807. type: number
  12808. goodscode:
  12809. description: 商品代码
  12810. type: string
  12811. goodsid:
  12812. description: 商品ID
  12813. type: integer
  12814. goodsname:
  12815. description: 商品名称
  12816. type: string
  12817. goodsqty:
  12818. description: 交易商品手数(69模式按成交量小数位放大取整)
  12819. type: number
  12820. handlestatus:
  12821. description: 处理状态
  12822. type: integer
  12823. logincode:
  12824. description: 账号(登录代码, 有可能为空)
  12825. type: string
  12826. marketid:
  12827. description: 市场ID
  12828. type: integer
  12829. phonenum:
  12830. description: 提货人联系方式
  12831. type: string
  12832. pickupgoodsagreeunit:
  12833. description: 提货商品合约乘数
  12834. type: number
  12835. pickupgoodsid:
  12836. description: 提货商品ID
  12837. type: string
  12838. pickupgoodsname:
  12839. description: 提货商品名称
  12840. type: string
  12841. pickupgoodsqty:
  12842. description: 提货商品手数(数量)
  12843. type: number
  12844. pickupgoodsunitid:
  12845. description: 单位ID(提货商品)
  12846. type: integer
  12847. pickupratio:
  12848. description: 提货系数
  12849. type: number
  12850. preparedays:
  12851. description: 备货期(天)-提货单明细表
  12852. type: integer
  12853. provinceid:
  12854. description: 省
  12855. type: integer
  12856. provincename:
  12857. description: 省名称
  12858. type: string
  12859. qty:
  12860. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12861. type: number
  12862. qtydecimalplace:
  12863. description: 商品数量小数位
  12864. type: integer
  12865. recivername:
  12866. description: 提货人姓名
  12867. type: string
  12868. reqtime:
  12869. description: 提货申请时间
  12870. type: string
  12871. storeuserid:
  12872. description: 门店用户ID (千海金)
  12873. type: integer
  12874. storeusername:
  12875. description: 门店用户名称
  12876. type: string
  12877. takemode:
  12878. description: 提货方式 - 2:自提 3:配送(邮寄)
  12879. type: integer
  12880. takeorderid:
  12881. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12882. type: string
  12883. takeorderstatus:
  12884. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12885. 7:已拒绝 8:已撤销
  12886. type: integer
  12887. takeremark:
  12888. description: 提货备注
  12889. type: string
  12890. tradedate:
  12891. description: 交易日(yyyyMMdd)
  12892. type: string
  12893. updatetime:
  12894. description: 更新时间
  12895. type: string
  12896. userid:
  12897. description: 用户ID
  12898. type: integer
  12899. userinfotype:
  12900. description: 客户类型 1-个人 2-企业
  12901. type: integer
  12902. username:
  12903. description: 用户名称
  12904. type: string
  12905. type: object
  12906. models.QhjUserNodeCfgAndStatus:
  12907. properties:
  12908. agreementcontent:
  12909. description: 协议内容
  12910. type: string
  12911. agreementid:
  12912. description: 协议ID
  12913. type: integer
  12914. agreementname:
  12915. description: 协议名称
  12916. type: string
  12917. agreementno:
  12918. description: 协议编号
  12919. type: string
  12920. agreementtype:
  12921. description: 协议类型 - 1:注册 2:登录 3:交易
  12922. type: integer
  12923. agreementversion:
  12924. description: 协议版本号
  12925. type: integer
  12926. configid:
  12927. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12928. type: integer
  12929. createtime:
  12930. description: 创建时间
  12931. type: string
  12932. goodsid:
  12933. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12934. type: integer
  12935. nodetype:
  12936. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12937. type: integer
  12938. signtimestamp:
  12939. description: 签约状态时间戳(最近一次)
  12940. type: string
  12941. tradedate:
  12942. description: 签约交易日(yyyyMMdd)
  12943. type: string
  12944. userid:
  12945. description: 客户ID
  12946. type: integer
  12947. type: object
  12948. models.Qhjgoodsex:
  12949. properties:
  12950. canfinance:
  12951. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12952. type: integer
  12953. canregularlybuy:
  12954. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12955. type: integer
  12956. defaulttradeuserid:
  12957. description: 默认交易用户ID
  12958. type: integer
  12959. deliverygoodsid:
  12960. description: 现货品种ID
  12961. type: integer
  12962. goodsid:
  12963. description: 商品ID(自增ID SEQ_GOODS)
  12964. type: integer
  12965. minamount:
  12966. description: 最小购买金额
  12967. type: number
  12968. regularlybuyminamount:
  12969. description: 定投最小金额
  12970. type: number
  12971. regularlybuyminqty:
  12972. description: 定投最小数量
  12973. type: number
  12974. spotgoodsbrandid:
  12975. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12976. type: integer
  12977. visibilityforenterprise:
  12978. description: 企业客户是否可见 - 0:不可见 1:可见
  12979. type: integer
  12980. visibilityforpersonal:
  12981. description: 个人客户是否可见 - 0:不可见 1:可见
  12982. type: integer
  12983. wrstandardid:
  12984. description: 现货商品ID
  12985. type: integer
  12986. type: object
  12987. models.QueryErrorInfosRsp:
  12988. properties:
  12989. description:
  12990. description: 异常描述
  12991. type: string
  12992. errorcode:
  12993. description: 异常代码
  12994. type: string
  12995. errorid:
  12996. description: 异常ID
  12997. type: integer
  12998. modulecode:
  12999. description: 所属模块
  13000. type: string
  13001. operatecode:
  13002. description: 所属操作
  13003. type: string
  13004. rownumber:
  13005. description: 行号
  13006. type: string
  13007. required:
  13008. - errorid
  13009. type: object
  13010. models.QueryHedgeOrderDetailRsp:
  13011. properties:
  13012. accountid:
  13013. description: 账户ID
  13014. type: integer
  13015. buyorsell:
  13016. description: 买卖 - 0:买 1:卖
  13017. type: integer
  13018. cancellogincode:
  13019. description: 撤单人
  13020. type: string
  13021. channelbuildtype:
  13022. description: 开平标志 - 0:无 1:建仓 2:平仓
  13023. type: integer
  13024. channelinnerorderstatus:
  13025. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13026. 9:全部成交
  13027. type: integer
  13028. channeloperatetype:
  13029. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13030. type: integer
  13031. closetype:
  13032. description: 平仓方式 - 0:无 1:平今 2:平昨
  13033. type: integer
  13034. curexchangerate:
  13035. description: 当前汇率
  13036. type: number
  13037. decimalplace:
  13038. description: 商品报价小数位
  13039. type: integer
  13040. exchangefullname:
  13041. description: 外部交易所全称
  13042. type: string
  13043. goodscode:
  13044. description: 商品代码(内部)
  13045. type: string
  13046. goodsid:
  13047. description: 商品ID
  13048. type: integer
  13049. goodsname:
  13050. description: 商品名称
  13051. type: string
  13052. marketid:
  13053. description: 市场ID
  13054. type: integer
  13055. openfreezemargin:
  13056. description: 冻结保证金(冻结交易金额)
  13057. type: number
  13058. orderid:
  13059. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13060. type: string
  13061. orderlogincode:
  13062. description: 委托人
  13063. type: string
  13064. orderprice:
  13065. description: 委托价格(账户)
  13066. type: number
  13067. orderqty:
  13068. description: 委托数量
  13069. type: integer
  13070. ordertime:
  13071. description: 委托时间
  13072. type: string
  13073. pricemode:
  13074. description: '取价方式 - 1:市价 2: 限价'
  13075. type: integer
  13076. tradedate:
  13077. description: 交易日(yyyyMMdd)
  13078. type: string
  13079. tradeqty:
  13080. description: 成交数量
  13081. type: integer
  13082. type: object
  13083. models.QueryHedgeTradeDetailRsp:
  13084. properties:
  13085. accountid:
  13086. description: 账号ID
  13087. type: integer
  13088. buyorsell:
  13089. description: 方向 - 0:买 1:卖
  13090. type: integer
  13091. channelbuildtype:
  13092. description: 委托单据类型 0:无 1:建仓 2:平仓
  13093. type: integer
  13094. closecharge:
  13095. description: 平仓手续费(账户)
  13096. type: number
  13097. closecharge2:
  13098. description: 平仓手续费(商品)
  13099. type: number
  13100. closepl:
  13101. description: 平仓盈亏(账户)
  13102. type: number
  13103. closepl2:
  13104. description: 平仓盈亏(商品)
  13105. type: number
  13106. closepl3:
  13107. description: 平仓盈亏(账户)(逐笔)
  13108. type: number
  13109. closepl4:
  13110. description: 平仓盈亏(商品)(逐笔)
  13111. type: number
  13112. closetype:
  13113. description: 平仓方式 - 0:无 1:平今 2:平昨
  13114. type: integer
  13115. curexchangerate:
  13116. description: 当前汇率
  13117. type: number
  13118. decimalplace:
  13119. description: 商品报价小数位
  13120. type: integer
  13121. exchangefullname:
  13122. description: 外部交易所全称
  13123. type: string
  13124. goodscode:
  13125. description: 商品代码(内部)
  13126. type: string
  13127. goodsid:
  13128. description: 商品ID
  13129. type: integer
  13130. goodsname:
  13131. description: 商品名称
  13132. type: string
  13133. marketid:
  13134. description: 市场ID
  13135. type: integer
  13136. opencharge:
  13137. description: 建仓手续费(账户)
  13138. type: number
  13139. opencharge2:
  13140. description: 建仓手续费(商品)
  13141. type: number
  13142. orderid:
  13143. description: 委托单号
  13144. type: string
  13145. orderlogincode:
  13146. description: 委托人
  13147. type: string
  13148. tradeamount:
  13149. description: 成交金额(账户)
  13150. type: number
  13151. tradedate:
  13152. description: 交易日(yyyyMMdd)
  13153. type: string
  13154. tradeid:
  13155. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13156. type: string
  13157. tradeprice:
  13158. description: 成交价格
  13159. type: number
  13160. tradeqty:
  13161. description: 成交数量
  13162. type: integer
  13163. tradetime:
  13164. description: 成交时间
  13165. type: string
  13166. tradetype:
  13167. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13168. type: integer
  13169. type: object
  13170. models.QuotePrimaryMenu:
  13171. properties:
  13172. Index:
  13173. description: 序号
  13174. type: integer
  13175. Key:
  13176. description: 键名
  13177. type: string
  13178. Name:
  13179. description: 菜单名称
  13180. type: string
  13181. SubMenus:
  13182. description: 子菜单
  13183. items:
  13184. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13185. type: array
  13186. SubTitleType:
  13187. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13188. type: integer
  13189. TradeModes:
  13190. description: 包含市场交易类型
  13191. type: string
  13192. type: object
  13193. models.QuoteSecondaryMenu:
  13194. properties:
  13195. ExExchangeCode:
  13196. description: 外部交易所代码
  13197. type: string
  13198. ExExchangeID:
  13199. description: 外部交易所ID
  13200. type: integer
  13201. GoodsGroupIDs:
  13202. description: 商品组ID列表
  13203. items:
  13204. type: integer
  13205. type: array
  13206. Index:
  13207. description: 序号
  13208. type: integer
  13209. MarketID:
  13210. description: 市场ID
  13211. type: integer
  13212. MenuTitle:
  13213. description: 菜单标题(市场名称或外部交易所名称)
  13214. type: string
  13215. TradeMode:
  13216. description: 交易模式
  13217. type: integer
  13218. type: object
  13219. models.RoleMenu:
  13220. properties:
  13221. hasright:
  13222. description: 是否有权限 0-没有权限 1-有权限
  13223. type: integer
  13224. iconame:
  13225. description: 菜单图标
  13226. type: string
  13227. menutype:
  13228. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13229. type: integer
  13230. parentcode:
  13231. description: 上级资源代码
  13232. type: string
  13233. remark:
  13234. description: 菜单备注
  13235. type: string
  13236. resourcecode:
  13237. description: 菜单代码
  13238. type: string
  13239. resourcelevel:
  13240. description: 级别
  13241. type: integer
  13242. resourcename:
  13243. description: 菜单名称
  13244. type: string
  13245. roleid:
  13246. description: 角色id
  13247. type: integer
  13248. sort:
  13249. description: 排序
  13250. type: integer
  13251. subMenu:
  13252. description: 子级菜单(结构同上层一样, swag解析不出来)
  13253. items:
  13254. $ref: '#/definitions/models.RoleMenu'
  13255. type: array
  13256. url:
  13257. description: URL
  13258. type: string
  13259. userid:
  13260. description: 用户id
  13261. type: integer
  13262. type: object
  13263. models.SearchGoods:
  13264. properties:
  13265. goodscode:
  13266. description: 商品代码(内部)
  13267. type: string
  13268. goodsid:
  13269. description: 商品ID(自增ID SEQ_GOODS)
  13270. type: integer
  13271. goodsname:
  13272. description: 商品名称
  13273. type: string
  13274. marketid:
  13275. description: 所属市场ID
  13276. type: integer
  13277. marketname:
  13278. description: 市场名称
  13279. type: string
  13280. trademode:
  13281. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13282. 21:竞拍-大宗式 22:受托竞价
  13283. type: integer
  13284. required:
  13285. - goodscode
  13286. - goodsid
  13287. - goodsname
  13288. - marketid
  13289. - trademode
  13290. type: object
  13291. models.Systemparam:
  13292. properties:
  13293. loginid:
  13294. description: 更新用户账号,登录账号
  13295. type: string
  13296. modifyflag:
  13297. description: 修改标志0 不允许修改 1 允许修改
  13298. type: integer
  13299. paramcode:
  13300. description: 参数代码
  13301. type: string
  13302. paramname:
  13303. description: 参数名
  13304. type: string
  13305. paramtype:
  13306. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13307. type: integer
  13308. paramvalue:
  13309. description: 参数值
  13310. type: string
  13311. paramvalue2:
  13312. description: 参数值(CLOB)
  13313. type: string
  13314. regexpress:
  13315. description: 正则表达式
  13316. type: string
  13317. remark:
  13318. description: 备注
  13319. type: string
  13320. serverip:
  13321. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13322. type: string
  13323. showflag:
  13324. description: 是否显示0 不显示 1 显示
  13325. type: integer
  13326. updatetime:
  13327. description: 更新时间
  13328. type: string
  13329. userid:
  13330. description: 更新用户ID
  13331. type: integer
  13332. required:
  13333. - paramcode
  13334. type: object
  13335. models.Szdz3convertconfig:
  13336. properties:
  13337. canin:
  13338. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13339. type: integer
  13340. canout:
  13341. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13342. type: integer
  13343. converttype:
  13344. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13345. 6:交易转花生米(不设置)
  13346. type: integer
  13347. createtime:
  13348. description: 创建时间
  13349. type: string
  13350. creatorid:
  13351. description: 创建人
  13352. type: integer
  13353. daymaxvalue:
  13354. description: 当日最大转入限制
  13355. type: number
  13356. freezedays:
  13357. description: 冻结天数 [5:花生米转交易]
  13358. type: integer
  13359. innergoodsid:
  13360. description: 内部商品ID[交易]
  13361. type: integer
  13362. inratio:
  13363. description: 目标值
  13364. type: integer
  13365. modifierid:
  13366. description: 修改人
  13367. type: integer
  13368. modifytime:
  13369. description: 修改时间
  13370. type: string
  13371. outergoodscode:
  13372. description: 外部商品代码[JD\PD]
  13373. type: string
  13374. outratio:
  13375. description: 源值
  13376. type: integer
  13377. pddecimalplace:
  13378. description: PD小数位
  13379. type: integer
  13380. timemaxvalue:
  13381. description: 单次最大转入限制
  13382. type: number
  13383. timeminvalue:
  13384. description: 单次最小转入限制
  13385. type: number
  13386. required:
  13387. - converttype
  13388. - innergoodsid
  13389. - outergoodscode
  13390. type: object
  13391. models.Szdz3searchwhitelist:
  13392. properties:
  13393. createtime:
  13394. description: 创建时间
  13395. type: string
  13396. creatorid:
  13397. description: 创建人
  13398. type: integer
  13399. modifierid:
  13400. description: 修改人
  13401. type: integer
  13402. modifytime:
  13403. description: 修改时间
  13404. type: string
  13405. userid:
  13406. description: 用户ID
  13407. type: integer
  13408. required:
  13409. - userid
  13410. type: object
  13411. models.TBGoods:
  13412. properties:
  13413. agreeunit:
  13414. description: 合约乘数
  13415. type: number
  13416. enumdicname:
  13417. description: 单位名称
  13418. type: string
  13419. goodscode:
  13420. description: 商品代码(内部)
  13421. type: string
  13422. goodsid:
  13423. description: 商品ID(自增ID SEQ_GOODS)
  13424. type: integer
  13425. goodsname:
  13426. description: 商品名称
  13427. type: string
  13428. type: object
  13429. models.TBGoodsGroup:
  13430. properties:
  13431. GDLST:
  13432. description: 商品列表
  13433. items:
  13434. $ref: '#/definitions/models.TBGoods'
  13435. type: array
  13436. convertratio:
  13437. description: 折算系数
  13438. type: number
  13439. enumdicname:
  13440. description: 单位名称
  13441. type: string
  13442. exexchangecode:
  13443. description: 交易所代码
  13444. type: string
  13445. exexchangename:
  13446. description: 交易所名称
  13447. type: string
  13448. goodsgroupid:
  13449. description: 商品组ID(自增ID)
  13450. type: integer
  13451. goodsgroupname:
  13452. description: 商品组名称
  13453. type: string
  13454. goodunitid:
  13455. description: 报价单位ID
  13456. type: integer
  13457. type: object
  13458. models.TBMiddleGoods:
  13459. properties:
  13460. GPLST:
  13461. description: 期货品种列表
  13462. items:
  13463. $ref: '#/definitions/models.TBGoodsGroup'
  13464. type: array
  13465. WDLST:
  13466. description: 商品信息列表(现货品类)
  13467. items:
  13468. $ref: '#/definitions/models.TBWrstandard'
  13469. type: array
  13470. areauserid:
  13471. description: 机构用户ID
  13472. type: integer
  13473. enumdicname:
  13474. description: 单位名称
  13475. type: string
  13476. goodsunitid:
  13477. description: 套保品种单位id
  13478. type: integer
  13479. middlegoodscode:
  13480. description: 套保品种代码
  13481. type: string
  13482. middlegoodsid:
  13483. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13484. type: integer
  13485. middlegoodsname:
  13486. description: 套保品种名称
  13487. type: string
  13488. needarbitrageratio:
  13489. description: 套利比率
  13490. type: number
  13491. needhedgeratio:
  13492. description: 套保比率
  13493. type: number
  13494. type: object
  13495. models.TBWrstandard:
  13496. properties:
  13497. convertratio:
  13498. description: 折算系数
  13499. type: number
  13500. deliverygoodsname:
  13501. description: 品种名称
  13502. type: string
  13503. enumdicname:
  13504. description: 单位名称
  13505. type: string
  13506. vatrate:
  13507. description: 增值税率
  13508. type: number
  13509. wrstandardcode:
  13510. description: 现货商品代码
  13511. type: string
  13512. wrstandardid:
  13513. description: 现货商品ID(SEQ_WRSTANDARD)
  13514. type: integer
  13515. wrstandardname:
  13516. description: 现货商品名称
  13517. type: string
  13518. type: object
  13519. models.Taaccount:
  13520. properties:
  13521. accountflag:
  13522. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13523. type: integer
  13524. accountid:
  13525. description: 资金账户ID
  13526. type: integer
  13527. accountname:
  13528. description: 账户名称
  13529. type: string
  13530. balance:
  13531. description: 期初余额
  13532. type: number
  13533. capitalbalance:
  13534. description: 本金余额[外部子账户实际出入金余额]
  13535. type: number
  13536. changeflag:
  13537. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13538. type: integer
  13539. changetime:
  13540. description: 账户状态变更时间
  13541. type: string
  13542. closepl:
  13543. description: 今日平仓盈亏
  13544. type: number
  13545. creditdecrease:
  13546. description: 今日授信减少
  13547. type: number
  13548. creditincrease:
  13549. description: 今日授信增加
  13550. type: number
  13551. curamount:
  13552. description: 总市值(从持仓中统计)
  13553. type: number
  13554. currencyid:
  13555. description: 货币ID
  13556. type: integer
  13557. currentbalance:
  13558. description: 期末余额
  13559. type: number
  13560. freezecharge:
  13561. description: 手续费冻结
  13562. type: number
  13563. freezemargin:
  13564. description: 冻结保证金
  13565. type: number
  13566. fromaccountid:
  13567. description: 所属上级账户
  13568. type: integer
  13569. inamount:
  13570. description: 今日入金金额(包括三方入金)
  13571. type: number
  13572. ismain:
  13573. description: 是否母账号 0:不是母账户 1:是母账户
  13574. type: integer
  13575. ismarketaccount:
  13576. description: 是否机构接单账号 0:不是 1:是
  13577. type: integer
  13578. isreckonaccount:
  13579. description: 是否机构分润账号 0:不是 1:是
  13580. type: integer
  13581. mortgagecredit:
  13582. description: 授信金额
  13583. type: number
  13584. orifreezecharge:
  13585. description: 期初手续费冻结
  13586. type: number
  13587. orifreezemargin:
  13588. description: 期初冻结保证金
  13589. type: number
  13590. orimortgagecredit:
  13591. description: 期初授信金额
  13592. type: number
  13593. oriothercredit:
  13594. description: 期初其它授信金额
  13595. type: number
  13596. oriotherfreezemargin:
  13597. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13598. type: number
  13599. orioutamountfreeze:
  13600. description: 期初出金冻结
  13601. type: number
  13602. oriusedmargin:
  13603. description: 期初占用保证金
  13604. type: number
  13605. othercredit:
  13606. description: 其它授信金额
  13607. type: number
  13608. othercreditdecrease:
  13609. description: 今日其它授信减少
  13610. type: number
  13611. othercreditincrease:
  13612. description: 今日其它授信增加
  13613. type: number
  13614. otherfreezemargin:
  13615. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13616. type: number
  13617. otherincome:
  13618. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13619. type: number
  13620. otherpay:
  13621. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13622. type: number
  13623. outamount:
  13624. description: 今日出金金额(包括三方出金)
  13625. type: number
  13626. outamountfreeze:
  13627. description: 出金冻结
  13628. type: number
  13629. outthreshold:
  13630. description: 出金阈值
  13631. type: number
  13632. parentaccountid:
  13633. description: 所属根账号
  13634. type: integer
  13635. paycharge:
  13636. description: 今日手续费支出
  13637. type: number
  13638. relatedaccountstatus:
  13639. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13640. type: integer
  13641. relateduserid:
  13642. description: 关联用户
  13643. type: integer
  13644. remainamount:
  13645. description: 融资额(从融资合同中统计)
  13646. type: number
  13647. serivcegroup:
  13648. description: 服务分组
  13649. type: integer
  13650. signstatus:
  13651. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13652. type: integer
  13653. sublevelpath:
  13654. description: 账号层级路径(逗号分隔,首尾加逗号)
  13655. type: string
  13656. taaccounttype:
  13657. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13658. type: integer
  13659. thirdinamount:
  13660. description: 今日三方入金
  13661. type: number
  13662. thirdoutamount:
  13663. description: 今日三方出金
  13664. type: number
  13665. tradestatus:
  13666. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13667. type: integer
  13668. tradestatuschangetime:
  13669. description: 激活时间
  13670. type: string
  13671. transferamount:
  13672. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13673. type: number
  13674. usedmargin:
  13675. description: 占用保证金
  13676. type: number
  13677. userid:
  13678. description: 用户ID
  13679. type: integer
  13680. required:
  13681. - accountid
  13682. - userid
  13683. type: object
  13684. models.Tablecolumnconfig:
  13685. properties:
  13686. aligntype:
  13687. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13688. type: integer
  13689. autoid:
  13690. description: AutoID
  13691. type: integer
  13692. columnfield:
  13693. description: 列字段
  13694. type: string
  13695. columntitle:
  13696. description: 列Title
  13697. type: string
  13698. columnwidth:
  13699. description: 列宽
  13700. type: string
  13701. formatterstring:
  13702. description: 格式化字符
  13703. type: string
  13704. formattertype:
  13705. description: 格式化类型
  13706. type: string
  13707. groupname:
  13708. description: 表头分组名称
  13709. type: string
  13710. isshow:
  13711. description: 是否显示 - 0:不显示 1:显示
  13712. type: integer
  13713. needsummary:
  13714. description: 是否需要汇总 - 0:不需要 1:需要
  13715. type: integer
  13716. orderindex:
  13717. description: 顺序
  13718. type: integer
  13719. remark:
  13720. description: 备注
  13721. type: string
  13722. summarytype:
  13723. description: 汇总类型 - 1:加总 2:最后一个
  13724. type: integer
  13725. tablekey:
  13726. description: 列表Key
  13727. type: string
  13728. required:
  13729. - autoid
  13730. type: object
  13731. models.TjmdMarketSection:
  13732. properties:
  13733. marketsectionid:
  13734. description: 市场版块ID(SEQ_MARKETSECTION)
  13735. type: integer
  13736. marketsectionname:
  13737. description: 市场版块名称
  13738. type: string
  13739. mlist:
  13740. description: 市场列表(板块下面有多少个市场)
  13741. items:
  13742. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13743. type: array
  13744. orderindex:
  13745. description: 排序
  13746. type: integer
  13747. pictureurl:
  13748. description: 图片url, 规格(90*90)
  13749. type: string
  13750. remark:
  13751. description: 备注
  13752. type: string
  13753. type: object
  13754. models.TjmdMarketSectionConfig:
  13755. properties:
  13756. auctionwrtype:
  13757. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13758. type: integer
  13759. canacceptquote:
  13760. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13761. type: integer
  13762. cangoodsexercise:
  13763. description: '[期权]是否可现货行权- 0:否 1:是'
  13764. type: integer
  13765. cangoodsexercisetype:
  13766. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13767. type: integer
  13768. canmanualquotestrike:
  13769. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13770. type: integer
  13771. canmutistage:
  13772. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13773. type: integer
  13774. canpreexercise:
  13775. description: '[期权]是否可预申报- 0:否 1:是'
  13776. type: integer
  13777. clearinterval:
  13778. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13779. type: integer
  13780. contracttmp:
  13781. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13782. type: string
  13783. exchareaid:
  13784. description: 所属交易所,可以没有
  13785. type: integer
  13786. financemarketid:
  13787. description: 融资回购市场ID [仓单贸易]
  13788. type: integer
  13789. goodstype:
  13790. description: 商品类型 - 1:交易商品 2:仓单商品
  13791. type: integer
  13792. hasrebate:
  13793. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13794. type: integer
  13795. hastradecredit:
  13796. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13797. type: integer
  13798. haswr:
  13799. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13800. type: integer
  13801. isdeductmargin:
  13802. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13803. type: integer
  13804. isrecordsource:
  13805. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13806. type: integer
  13807. isreleasemargin:
  13808. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13809. type: integer
  13810. isupdatereckonprice:
  13811. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13812. type: integer
  13813. listingmode:
  13814. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13815. type: integer
  13816. marginformula:
  13817. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13818. type: integer
  13819. marginformula2:
  13820. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13821. type: integer
  13822. marketid:
  13823. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13824. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13825. type: integer
  13826. marketname:
  13827. description: 市场名称
  13828. type: string
  13829. marketsectionid:
  13830. description: 市场版块ID(SEQ_MARKETSECTION)
  13831. type: integer
  13832. marketserviceid:
  13833. description: 市场服务ID
  13834. type: integer
  13835. marketstatus:
  13836. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13837. type: integer
  13838. markettype:
  13839. description: 市场类型- 1:非交易服务 2:交易服务
  13840. type: integer
  13841. matchermode:
  13842. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13843. type: integer
  13844. nowrquotaflag:
  13845. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13846. type: integer
  13847. openmethod:
  13848. description: 开盘模式 - 0 自动 1手动
  13849. type: integer
  13850. orderindex:
  13851. description: 排序
  13852. type: integer
  13853. otcuserid:
  13854. description: 场外期权做市商[场外期权]
  13855. type: integer
  13856. outersynctime:
  13857. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13858. type: string
  13859. paylaterflag:
  13860. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13861. type: integer
  13862. pendingflag:
  13863. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13864. type: integer
  13865. pendingtime:
  13866. description: 待开市时间[通道交易-对冲](HH:mm)
  13867. type: string
  13868. performancetempid:
  13869. description: 履约计划模板ID - 作废
  13870. type: integer
  13871. premiumquotemode:
  13872. description: 权利金报价方式 - 1:自动 2:手动
  13873. type: integer
  13874. rebateratio:
  13875. description: 返利比率[竞价式]
  13876. type: number
  13877. reckonorder:
  13878. description: 结算顺序
  13879. type: integer
  13880. reckonpricealgorithm:
  13881. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13882. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13883. type: integer
  13884. reckonpriceparam:
  13885. description: 结算价参数
  13886. type: integer
  13887. reckontime:
  13888. description: 结算时间[通道交易-对冲](HH:mm)
  13889. type: string
  13890. roleprioritytype:
  13891. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13892. type: integer
  13893. selllistingauditflag:
  13894. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13895. type: integer
  13896. trademarkettype:
  13897. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13898. type: integer
  13899. trademode:
  13900. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13901. 21:竞拍-大宗式 22:受托竞价
  13902. type: integer
  13903. tradeproperty:
  13904. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13905. 8:场外期权
  13906. type: integer
  13907. tradetype:
  13908. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13909. type: integer
  13910. updatereckonpriceinterval:
  13911. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13912. type: integer
  13913. type: object
  13914. models.TjmdQuoteGoods:
  13915. properties:
  13916. buyqty:
  13917. description: 买量(暂不做, 无值, 保留字段)
  13918. type: number
  13919. decimalplace:
  13920. description: 报价小数位
  13921. type: integer
  13922. goodscode:
  13923. description: 合约代码
  13924. type: string
  13925. goodsgroupid:
  13926. description: 商品组ID(自增ID)
  13927. type: integer
  13928. goodsgroupname:
  13929. description: 商品组名称
  13930. type: string
  13931. goodsid:
  13932. description: 合约id
  13933. type: integer
  13934. goodsname:
  13935. description: 合约名称
  13936. type: string
  13937. refgoodscode:
  13938. description: 标的合约代码
  13939. type: string
  13940. refgoodsid:
  13941. description: 标的合约id
  13942. type: integer
  13943. refgoodsname:
  13944. description: 标的合约名称
  13945. type: string
  13946. sellqty:
  13947. description: 卖量(暂不做, 无值, 保留字段)
  13948. type: number
  13949. type: object
  13950. models.TjmdTodayAccountMargin:
  13951. properties:
  13952. accountid:
  13953. description: 账号ID
  13954. type: integer
  13955. goodsid:
  13956. description: 商品ID
  13957. type: integer
  13958. infoc:
  13959. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13960. description: 配置参数
  13961. marketid:
  13962. description: 市场ID
  13963. type: integer
  13964. type: object
  13965. models.TjmdTradeOrderDetail:
  13966. properties:
  13967. buyorsell:
  13968. description: 买卖方向 0-买 1-卖
  13969. type: integer
  13970. goodsid:
  13971. description: 商品id
  13972. type: integer
  13973. marketmaxsub:
  13974. description: 市价最大偏移范围 [浮动价 - 点差]
  13975. type: number
  13976. orderid:
  13977. description: 委托单号
  13978. type: string
  13979. orderprice:
  13980. description: 委托价格
  13981. type: number
  13982. orderqty:
  13983. description: 委托数量
  13984. type: integer
  13985. pricemode:
  13986. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13987. type: integer
  13988. userid:
  13989. description: 用户id
  13990. type: integer
  13991. username:
  13992. description: 用户名称(已脱敏)
  13993. type: string
  13994. type: object
  13995. models.TjmdTransferApply:
  13996. properties:
  13997. applyid:
  13998. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13999. type: integer
  14000. applystatus:
  14001. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14002. type: integer
  14003. applytime:
  14004. description: 申请时间(时间)
  14005. type: string
  14006. auditremark:
  14007. description: 审核备注(拒绝原因?)
  14008. type: string
  14009. begindate:
  14010. description: 开始交易日(yyyymmdd)
  14011. type: string
  14012. buyorsell:
  14013. description: 买卖 - 0:买 1:卖
  14014. type: integer
  14015. enddate:
  14016. description: 结束交易日(yyyymmdd)
  14017. type: string
  14018. goodscode:
  14019. description: 商品代码
  14020. type: string
  14021. goodsid:
  14022. description: 商品ID
  14023. type: integer
  14024. goodsname:
  14025. description: 商品名称
  14026. type: string
  14027. marketid:
  14028. description: 市场ID
  14029. type: integer
  14030. qty:
  14031. description: 转让数量(数量)
  14032. type: number
  14033. tradeid:
  14034. description: 成交单号(关联持仓)
  14035. type: string
  14036. transferamount:
  14037. description: 转让总金额(金额)
  14038. type: number
  14039. transferprice:
  14040. description: 转让价格(协议价格)
  14041. type: number
  14042. type: object
  14043. models.TradeHolderDetail:
  14044. properties:
  14045. accountid:
  14046. description: 账号ID
  14047. type: integer
  14048. agreeunit:
  14049. description: 合约乘数
  14050. type: number
  14051. buyorsell:
  14052. description: 方向 - 0:买 1:卖
  14053. type: integer
  14054. currencyid:
  14055. description: 商品币种id
  14056. type: integer
  14057. currencyname:
  14058. description: 币种名称
  14059. type: string
  14060. decimalplace:
  14061. description: 商品价格小数位
  14062. type: integer
  14063. enumdicname:
  14064. description: 商品单位名称
  14065. type: string
  14066. expirecycle:
  14067. description: 行权周期(天) - 1:滚动行权时填写
  14068. type: integer
  14069. expiredate:
  14070. description: 行权日(yyyyMMdd) - 到期日
  14071. type: string
  14072. expiretype:
  14073. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14074. type: integer
  14075. freezeqty:
  14076. description: 冻结数量
  14077. type: number
  14078. goodscode:
  14079. description: 商品代码
  14080. type: string
  14081. goodsid:
  14082. description: 商品ID
  14083. type: integer
  14084. goodsname:
  14085. description: 商品名称
  14086. type: string
  14087. goodunitid:
  14088. description: 商品单位id
  14089. type: integer
  14090. holderamount:
  14091. description: 持仓金额
  14092. type: number
  14093. holdercredit:
  14094. description: 持仓授信金额
  14095. type: number
  14096. holderdays:
  14097. description: 剩余冻结天数
  14098. type: integer
  14099. holderprice:
  14100. description: 持仓价格
  14101. type: number
  14102. holderqty:
  14103. description: 持仓数量
  14104. type: number
  14105. isconfirmexercise:
  14106. description: 是否确认行权- 0:否 1:是
  14107. type: integer
  14108. ispreexercise:
  14109. description: 是否预申报- 0:否 1:是 2:不可行权
  14110. type: integer
  14111. marketid:
  14112. description: 市场id
  14113. type: integer
  14114. marketname:
  14115. description: 市场名称
  14116. type: string
  14117. openprice:
  14118. description: 建仓价格
  14119. type: number
  14120. openqty:
  14121. description: 建仓数量
  14122. type: number
  14123. optiontype:
  14124. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14125. type: integer
  14126. preexerciseprice:
  14127. description: 预申报价格
  14128. type: number
  14129. premium:
  14130. description: 权利金
  14131. type: number
  14132. qtydecimalplace:
  14133. description: 商品成交量小数位
  14134. type: integer
  14135. refgoodscode:
  14136. description: 标的合约代码
  14137. type: string
  14138. refgoodsid:
  14139. description: 标的合约id
  14140. type: integer
  14141. releaseamount:
  14142. description: 释放持仓金额
  14143. type: number
  14144. releaseholdercredit:
  14145. description: 释放持仓授信金额
  14146. type: number
  14147. taname:
  14148. description: 资金账号名称
  14149. type: string
  14150. tradeamount:
  14151. description: 成交金额
  14152. type: number
  14153. tradedate:
  14154. description: 交易日(yyyyMMdd)
  14155. type: string
  14156. tradeid:
  14157. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14158. type: string
  14159. trademode:
  14160. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14161. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14162. type: integer
  14163. tradeproperty:
  14164. description: 交易属性
  14165. type: integer
  14166. tradetime:
  14167. description: 交易时间
  14168. type: string
  14169. userid:
  14170. description: 用户id
  14171. type: integer
  14172. username:
  14173. description: 用户名称
  14174. type: string
  14175. type: object
  14176. models.UserCollectConfig:
  14177. properties:
  14178. accountstatus:
  14179. description: 账户状态 - 1:正常 2:停用 3:注销
  14180. type: integer
  14181. collectaccountname:
  14182. description: 收款人账户名称
  14183. type: string
  14184. collectaccountno:
  14185. description: 收款人账户
  14186. type: string
  14187. collectbankname:
  14188. description: 收款人开户行
  14189. type: string
  14190. collectbranchbankname:
  14191. description: 收款人开户支行
  14192. type: string
  14193. collectconfigid:
  14194. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14195. type: string
  14196. remark:
  14197. description: 备注
  14198. type: string
  14199. userid:
  14200. description: 收款人用户ID
  14201. type: integer
  14202. type: object
  14203. models.UserReceiveInfo:
  14204. properties:
  14205. address:
  14206. description: 提货人详细地址
  14207. type: string
  14208. autoid:
  14209. description: AutoID
  14210. type: integer
  14211. cardnum:
  14212. description: 证件号码(加密存储)
  14213. type: string
  14214. cardtypeid:
  14215. description: 证件类型
  14216. type: integer
  14217. cityid:
  14218. description: 市
  14219. type: integer
  14220. cityname:
  14221. description: 城市名称
  14222. type: string
  14223. countryid:
  14224. description: 国家
  14225. type: integer
  14226. countryname:
  14227. description: 国家名称
  14228. type: string
  14229. districtid:
  14230. description: 地区
  14231. type: integer
  14232. districtname:
  14233. description: 地区名称
  14234. type: string
  14235. hasencrypt:
  14236. description: 数据是否已加密 - 0:未加密 1:已加密
  14237. type: integer
  14238. isdefault:
  14239. description: 是否默认地址 - 0:否 1:是
  14240. type: integer
  14241. phonenum:
  14242. description: 提货人联系方式(加密存储)
  14243. type: string
  14244. provinceid:
  14245. description: 省
  14246. type: integer
  14247. provincename:
  14248. description: 省名称
  14249. type: string
  14250. receivername:
  14251. description: 提货人姓名
  14252. type: string
  14253. takeremark:
  14254. description: 提货备注
  14255. type: string
  14256. userid:
  14257. description: 用户ID
  14258. type: integer
  14259. type: object
  14260. models.Useraccount:
  14261. properties:
  14262. accountname:
  14263. description: 账户名称(机构名称)
  14264. type: string
  14265. accountstatus:
  14266. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14267. type: integer
  14268. applysrc:
  14269. description: 申请来源 - 1:管理端 2:终端
  14270. type: integer
  14271. auditremark:
  14272. description: 审核备注
  14273. type: string
  14274. auditsrc:
  14275. description: 审核来源 - 1:管理端 2:终端
  14276. type: integer
  14277. audittime:
  14278. description: 审核时间
  14279. type: string
  14280. audituserid:
  14281. description: 审核人
  14282. type: integer
  14283. broker:
  14284. description: 所属经纪人ID
  14285. type: integer
  14286. canceltime:
  14287. description: 销户时间
  14288. type: string
  14289. canceluserid:
  14290. description: 销户人
  14291. type: integer
  14292. canrecommend:
  14293. description: 是否可推荐 - 0:不可 1;可
  14294. type: integer
  14295. createtime:
  14296. description: 创建时间
  14297. type: string
  14298. creatorid:
  14299. description: 创建人
  14300. type: integer
  14301. hasauth:
  14302. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14303. type: integer
  14304. isanonymous:
  14305. description: 是否匿名下单 - 0:否 1:是
  14306. type: integer
  14307. maxinvestornum:
  14308. description: 最大用户数(经纪会员下投资者个数)
  14309. type: integer
  14310. memberuserid:
  14311. description: 所属会员ID
  14312. type: integer
  14313. modifierid:
  14314. description: 修改人
  14315. type: integer
  14316. modifyremark:
  14317. description: 变更备注
  14318. type: string
  14319. modifystatus:
  14320. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14321. type: integer
  14322. modifytime:
  14323. description: 修改时间
  14324. type: string
  14325. parenttopuser:
  14326. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14327. type: string
  14328. parentuserid:
  14329. description: 所属机构ID
  14330. type: integer
  14331. reckonaccountid:
  14332. description: 默认结算资金账号ID(机构分润使用) 作废
  14333. type: integer
  14334. refercount:
  14335. description: 推荐总人数
  14336. type: integer
  14337. refereeuserid:
  14338. description: 推荐人ID
  14339. type: integer
  14340. refernum:
  14341. description: 推荐码
  14342. type: string
  14343. rootuserid:
  14344. description: 根用户ID
  14345. type: integer
  14346. subaccountlevel:
  14347. description: 子账户层数
  14348. type: integer
  14349. subarealevelpath:
  14350. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14351. type: string
  14352. userid:
  14353. description: 用户ID
  14354. type: integer
  14355. usertype:
  14356. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14357. type: integer
  14358. required:
  14359. - userid
  14360. type: object
  14361. models.Userfavoritegoods:
  14362. properties:
  14363. goodsid:
  14364. description: 商品ID
  14365. type: integer
  14366. required:
  14367. - goodsid
  14368. type: object
  14369. models.Userinfo:
  14370. properties:
  14371. address:
  14372. description: 地址
  14373. type: string
  14374. attachment1:
  14375. description: 附件1
  14376. type: string
  14377. attachment2:
  14378. description: 附件2
  14379. type: string
  14380. bankaccount:
  14381. description: 银行帐号 (加密存储)
  14382. type: string
  14383. bankaccountname:
  14384. description: 收款人名称
  14385. type: string
  14386. bankcardfrontphotourl:
  14387. description: 银行卡正面照地址
  14388. type: string
  14389. bankid:
  14390. description: 银行编码
  14391. type: string
  14392. bankname:
  14393. description: 银行名称
  14394. type: string
  14395. biznature:
  14396. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14397. type: integer
  14398. bizscope:
  14399. description: 企业经营范围(企业)
  14400. type: string
  14401. cardbackphotourl:
  14402. description: 证件背面图片地址
  14403. type: string
  14404. cardfrontphotourl:
  14405. description: 证件正面图片地址
  14406. type: string
  14407. cardnum:
  14408. description: 证件号码(加密存储)
  14409. type: string
  14410. cardtypeid:
  14411. description: 证件类型ID
  14412. type: integer
  14413. cityid:
  14414. description: 市
  14415. type: integer
  14416. company:
  14417. description: 公司(个人)
  14418. type: string
  14419. contactname:
  14420. description: 联系人
  14421. type: string
  14422. countryid:
  14423. description: 国家
  14424. type: integer
  14425. createtime:
  14426. description: 创建时间
  14427. type: string
  14428. creatorid:
  14429. description: 创建人
  14430. type: integer
  14431. customername:
  14432. description: 客户名称(企业名称)
  14433. type: string
  14434. districtid:
  14435. description: 地区
  14436. type: integer
  14437. email:
  14438. description: 邮件(加密存储)
  14439. type: string
  14440. fax:
  14441. description: 传真(加密存储)
  14442. type: string
  14443. halfbodyphotourl:
  14444. description: 半身照地址
  14445. type: string
  14446. hasencrypt:
  14447. description: 数据是否已加密 - 0:未加密 1:已加密
  14448. type: integer
  14449. headurl:
  14450. description: 头像地址
  14451. type: string
  14452. legalcardbackphotourl:
  14453. description: 法人身份证背面照地址
  14454. type: string
  14455. legalcardfrontphotourl:
  14456. description: 法人身份证正面照地址
  14457. type: string
  14458. legalpersonname:
  14459. description: 法人姓名(企业)
  14460. type: string
  14461. mobile:
  14462. description: 手机号码(加密存储)
  14463. type: string
  14464. mobile2:
  14465. description: 手机号码[明文-尚志]
  14466. type: string
  14467. modifierid:
  14468. description: 修改人
  14469. type: integer
  14470. modifiertime:
  14471. description: 修改时间
  14472. type: string
  14473. needinvoice:
  14474. description: 是否需要发票 - 0:不需要 1:需要
  14475. type: integer
  14476. nickname:
  14477. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14478. type: string
  14479. openmode:
  14480. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14481. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14482. type: integer
  14483. otherurl:
  14484. description: 其它图片地址[使用分号分隔]
  14485. type: string
  14486. postalcode:
  14487. description: 邮政编码
  14488. type: string
  14489. provinceid:
  14490. description: 省
  14491. type: integer
  14492. qq:
  14493. description: QQ(加密存储
  14494. type: string
  14495. remark:
  14496. description: 备注
  14497. type: string
  14498. sex:
  14499. description: '用户性别 0: 女 1: 男'
  14500. type: integer
  14501. signpdfurl:
  14502. description: 签约pdf文件
  14503. type: string
  14504. telphone:
  14505. description: 联系电话(加密存储)
  14506. type: string
  14507. userid:
  14508. description: 用户ID
  14509. type: integer
  14510. userinfotype:
  14511. description: 用户信息类型 - 1:个人 2:企业
  14512. type: integer
  14513. userstatus:
  14514. description: 用户状态 - 1:正常 2:注销
  14515. type: integer
  14516. usertype:
  14517. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14518. type: integer
  14519. wechat:
  14520. description: 微信(加密存储)
  14521. type: string
  14522. wskhinfo:
  14523. description: 开户申请信息(JSON)
  14524. type: string
  14525. required:
  14526. - userid
  14527. type: object
  14528. models.WRSConverTDetail:
  14529. properties:
  14530. convertratio:
  14531. description: 套保系数
  14532. type: number
  14533. deliverygoodscode:
  14534. description: 现货商品代码
  14535. type: string
  14536. deliverygoodsid:
  14537. description: 现货品种ID
  14538. type: integer
  14539. deliverygoodsname:
  14540. description: 现货商品名称
  14541. type: string
  14542. enumdicname:
  14543. description: 单位名称
  14544. type: string
  14545. goodsunitid:
  14546. description: 套保品种单位id
  14547. type: integer
  14548. middlegoodscode:
  14549. description: 套保品种代码
  14550. type: string
  14551. middlegoodsid:
  14552. description: 套保品种ID
  14553. type: integer
  14554. middlegoodsname:
  14555. description: 套保品种名称
  14556. type: string
  14557. modifytime:
  14558. description: 修改时间
  14559. type: string
  14560. wrstandardid:
  14561. description: 品类ID
  14562. type: integer
  14563. type: object
  14564. models.WRStandardInfo:
  14565. properties:
  14566. areauserid:
  14567. description: 所属机构
  14568. type: integer
  14569. convertfactor:
  14570. description: 标仓系数
  14571. type: number
  14572. createtime:
  14573. description: 创建时间
  14574. type: string
  14575. creatorid:
  14576. description: 创建人
  14577. type: integer
  14578. deliverygoodsid:
  14579. description: 品种ID
  14580. type: integer
  14581. deliverygoodsname:
  14582. description: 交割商品名称
  14583. type: string
  14584. factoryitemjson:
  14585. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14586. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14587. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14588. 逗号分隔'
  14589. type: string
  14590. isvalid:
  14591. description: 是否有效 - 0:无效 1:有效
  14592. type: integer
  14593. minivalue:
  14594. description: 最小变动值
  14595. type: integer
  14596. minivaluedp:
  14597. description: 最小变动值小数位
  14598. type: integer
  14599. realminivalue:
  14600. description: 实际最小变动值
  14601. type: integer
  14602. realminivaluedp:
  14603. description: 实际最小变动值小数位
  14604. type: integer
  14605. remark:
  14606. description: 备注
  14607. type: string
  14608. unitid:
  14609. description: 单位ID
  14610. type: integer
  14611. unitname:
  14612. description: 单位
  14613. type: string
  14614. updatetime:
  14615. description: 更新时间
  14616. type: string
  14617. updatorid:
  14618. description: 更新人
  14619. type: integer
  14620. wrsstatus:
  14621. description: 状态 - 作废 - 0:未激活 1:正常
  14622. type: integer
  14623. wrstandardcode:
  14624. description: 现货品类代码
  14625. type: string
  14626. wrstandardid:
  14627. description: 现货品类ID(SEQ_WRSTANDARD)
  14628. type: integer
  14629. wrstandardname:
  14630. description: 现货品类名称
  14631. type: string
  14632. required:
  14633. - wrstandardid
  14634. type: object
  14635. models.WRTradeBargainApply:
  14636. properties:
  14637. accountid:
  14638. description: 摘牌资金账号
  14639. type: integer
  14640. applyprice:
  14641. description: 申请价格(议价价格)
  14642. type: string
  14643. applyqty:
  14644. description: 摘牌数量(议价数量)
  14645. type: number
  14646. applyremark:
  14647. description: 申请备注
  14648. type: string
  14649. applystatus:
  14650. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14651. type: integer
  14652. applytime:
  14653. description: 申请时间(议价时间)
  14654. type: string
  14655. begindate:
  14656. description: 开始交易日(yyyymmdd)
  14657. type: string
  14658. buyorsell:
  14659. description: 买卖(挂牌类型) - 0:买 1:卖
  14660. type: integer
  14661. confirmremark:
  14662. description: 确认备注
  14663. type: string
  14664. confirmtime:
  14665. description: 确认时间
  14666. type: string
  14667. confirmuserid:
  14668. description: 确认人
  14669. type: integer
  14670. deliverygoodscode:
  14671. description: 品种代码
  14672. type: string
  14673. deliverygoodsid:
  14674. description: 品种ID
  14675. type: integer
  14676. deliverygoodsname:
  14677. description: 品种名称
  14678. type: string
  14679. deliverymonth:
  14680. description: 交收月
  14681. type: string
  14682. enddate:
  14683. description: 结束交易日(yyyymmdd)
  14684. type: string
  14685. enumdicname:
  14686. description: 单位名称
  14687. type: string
  14688. fixedprice:
  14689. description: 挂牌价格
  14690. type: number
  14691. handlestatus:
  14692. description: 处理状态
  14693. type: integer
  14694. marginvalue:
  14695. description: 履约保证金比例
  14696. type: number
  14697. marketid:
  14698. description: 市场ID
  14699. type: integer
  14700. matchaccountid:
  14701. description: 挂牌方资金账号
  14702. type: integer
  14703. matchuserid:
  14704. description: 挂牌方用户id
  14705. type: integer
  14706. matchusername:
  14707. description: 挂牌方用户名称(已脱敏)
  14708. type: string
  14709. minivalue:
  14710. description: 现货商品最小变动值
  14711. type: integer
  14712. optioncompare:
  14713. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14714. type: string
  14715. orderqty:
  14716. description: 挂牌数量
  14717. type: integer
  14718. refprice:
  14719. description: 参考价格
  14720. type: string
  14721. retcode:
  14722. description: 委托返回代码
  14723. type: integer
  14724. templatename:
  14725. description: 履约方式(履约模板名称)
  14726. type: string
  14727. tradedate:
  14728. description: 交易日(yyyyMMdd)
  14729. type: string
  14730. userid:
  14731. description: 摘牌人用户ID(议价人ID)
  14732. type: integer
  14733. username:
  14734. description: 议价人名字(已脱敏)
  14735. type: string
  14736. validtime:
  14737. description: 有效期限
  14738. type: string
  14739. warehouseid:
  14740. description: 仓库ID
  14741. type: integer
  14742. warehousename:
  14743. description: 仓库名称
  14744. type: string
  14745. wrbargainid:
  14746. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14747. type: string
  14748. wrfactortypeid:
  14749. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14750. type: string
  14751. wrfactortypename:
  14752. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14753. type: string
  14754. wrstandardcode:
  14755. description: 现货商品代码
  14756. type: string
  14757. wrstandardid:
  14758. description: 现货商品ID
  14759. type: integer
  14760. wrstandardname:
  14761. description: 商品名称
  14762. type: string
  14763. wrtradeorderid:
  14764. description: 关联委托单ID
  14765. type: string
  14766. wrtypename:
  14767. description: 商品
  14768. type: string
  14769. type: object
  14770. models.Warehouseinfo:
  14771. properties:
  14772. address:
  14773. description: 详细地址
  14774. type: string
  14775. areauserid:
  14776. description: 所属机构
  14777. type: integer
  14778. autoid:
  14779. description: 自增ID
  14780. type: integer
  14781. cityid:
  14782. description: 市
  14783. type: integer
  14784. contactname:
  14785. description: 联系人
  14786. type: string
  14787. contactnum:
  14788. description: 联系电话
  14789. type: string
  14790. countryid:
  14791. description: 国家
  14792. type: integer
  14793. createtime:
  14794. description: 创建时间
  14795. type: string
  14796. districtid:
  14797. description: 区
  14798. type: integer
  14799. hasvideo:
  14800. description: 是否有视频 - 0:无 1:有
  14801. type: integer
  14802. provinceid:
  14803. description: 省
  14804. type: integer
  14805. remark:
  14806. description: 审核备注
  14807. type: string
  14808. videourl:
  14809. description: 视频地址
  14810. type: string
  14811. warehousecode:
  14812. description: 仓库代码
  14813. type: string
  14814. warehousename:
  14815. description: 仓库名称
  14816. type: string
  14817. warehousestatus:
  14818. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14819. type: integer
  14820. warehousetype:
  14821. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14822. type: integer
  14823. required:
  14824. - autoid
  14825. - warehousecode
  14826. type: object
  14827. models.WrAverageTradePrice:
  14828. properties:
  14829. averageprice:
  14830. description: 成交均价
  14831. type: number
  14832. tradedate:
  14833. description: 交易日yyyymm
  14834. type: string
  14835. type: object
  14836. models.WrBsGoodsInfo:
  14837. properties:
  14838. buyorsell:
  14839. description: 买卖方向 0-买 1-卖
  14840. type: integer
  14841. goodsid:
  14842. description: 交易合约ID
  14843. type: integer
  14844. lstitem:
  14845. description: 商品信息项
  14846. items:
  14847. $ref: '#/definitions/models.WrTypeItem'
  14848. type: array
  14849. lststep:
  14850. description: 履约规则
  14851. items:
  14852. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14853. type: array
  14854. type: object
  14855. models.WrBuybackDetail:
  14856. properties:
  14857. buybackamount:
  14858. description: 回购金额
  14859. type: number
  14860. buybackqty:
  14861. description: 回购数量
  14862. type: number
  14863. buybackreleasemargin:
  14864. description: 回购释放保证金
  14865. type: number
  14866. buybacktime:
  14867. description: 回购时间
  14868. type: string
  14869. errordesc:
  14870. description: 错误描述
  14871. type: string
  14872. handlestatus:
  14873. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14874. type: integer
  14875. relatedwrid:
  14876. description: 关联仓单ID
  14877. type: integer
  14878. scfcontractid:
  14879. description: SCF合同ID
  14880. type: string
  14881. scfwrbuybackid:
  14882. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14883. type: integer
  14884. tradedate:
  14885. description: 交易日(yyyyMMdd)
  14886. type: string
  14887. type: object
  14888. models.WrDeliveryAvalidHoldLB:
  14889. properties:
  14890. accountid:
  14891. description: 资金账号
  14892. type: integer
  14893. avalidqty:
  14894. description: 数量(可点选数量)
  14895. type: number
  14896. deliverygoodsid:
  14897. description: 品种id
  14898. type: integer
  14899. enumdicname:
  14900. description: 单位名称
  14901. type: string
  14902. goodsid:
  14903. description: x合约商品id
  14904. type: integer
  14905. ladingbillid:
  14906. description: 提单id
  14907. type: string
  14908. pgoodscode:
  14909. description: p商品代码(点价合约)
  14910. type: string
  14911. pgoodsid:
  14912. description: p商品id(点价合约)
  14913. type: integer
  14914. pgoodsname:
  14915. description: p商品名称(点价合约)
  14916. type: string
  14917. pricemove:
  14918. description: 升贴水
  14919. type: number
  14920. subnum:
  14921. description: 提单子id
  14922. type: integer
  14923. userid:
  14924. description: 用户id
  14925. type: integer
  14926. username:
  14927. description: 仓单持有人
  14928. type: string
  14929. warehousecode:
  14930. description: 仓库代码
  14931. type: string
  14932. warehouseid:
  14933. description: 仓库id
  14934. type: integer
  14935. warehousename:
  14936. description: 仓库名称
  14937. type: string
  14938. wrfactortypeid:
  14939. description: 仓单要素id
  14940. type: string
  14941. wrstandardcode:
  14942. description: 品代码
  14943. type: string
  14944. wrstandardid:
  14945. description: 品类d
  14946. type: integer
  14947. wrstandardname:
  14948. description: 品类名称
  14949. type: string
  14950. wrtypename:
  14951. description: 商品
  14952. type: string
  14953. xgoodscode:
  14954. description: x合约代码
  14955. type: string
  14956. xgoodsname:
  14957. description: x合约名称
  14958. type: string
  14959. type: object
  14960. models.WrDeliveryDetail:
  14961. properties:
  14962. accountid:
  14963. description: 账号ID
  14964. type: integer
  14965. averageprice:
  14966. description: 交割均价 = 交割金额 / 交割数量
  14967. type: number
  14968. begindate:
  14969. description: 开始交易日(yyyymmdd)
  14970. type: string
  14971. buyorsell:
  14972. description: 方向 - 0:买 1:卖
  14973. type: integer
  14974. deliveryamount:
  14975. description: 货款金额(X总货款+P总货款)
  14976. type: number
  14977. deliveryid:
  14978. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14979. type: string
  14980. deliveryorderid:
  14981. description: 申报单号
  14982. type: string
  14983. deliverypricemove:
  14984. description: 升贴水(升贴水总额)
  14985. type: number
  14986. deliveryqty:
  14987. description: 交收数量(点选数量)
  14988. type: number
  14989. deliverystatus:
  14990. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14991. type: integer
  14992. deliverytime:
  14993. description: 交割时间
  14994. type: string
  14995. deliverytotalamount:
  14996. description: 交收金额
  14997. type: number
  14998. enddate:
  14999. description: 结束交易日(yyyymmdd)
  15000. type: string
  15001. enumdicname:
  15002. description: 单位名称
  15003. type: string
  15004. matchaccountid:
  15005. description: 对手账号ID
  15006. type: integer
  15007. matchusername:
  15008. description: 对手方名称(仓单持有人)
  15009. type: string
  15010. p1goodsremainamount:
  15011. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15012. type: number
  15013. pdeliverycloseqty:
  15014. description: p合约平仓数量
  15015. type: number
  15016. pdeliveryprice:
  15017. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15018. type: number
  15019. pgoodscode:
  15020. description: 商品代码
  15021. type: string
  15022. pgoodsid:
  15023. description: p点选合约id
  15024. type: integer
  15025. pgoodsname:
  15026. description: 商品名称
  15027. type: string
  15028. ppricemode:
  15029. description: 点价价格方式 - 1:商品价 2:固定值
  15030. type: integer
  15031. tradedate:
  15032. description: 交易日(yyyymmdd)
  15033. type: string
  15034. userid:
  15035. description: 用户id
  15036. type: integer
  15037. username:
  15038. description: 用户名称
  15039. type: string
  15040. warehousename:
  15041. description: 仓库名称
  15042. type: string
  15043. wrfactortypeid:
  15044. description: 仓单要素类型ID
  15045. type: string
  15046. wrtypename:
  15047. description: 商品
  15048. type: string
  15049. xdeliverycloseqty:
  15050. description: 合约数量
  15051. type: number
  15052. xgoodsamount:
  15053. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15054. type: number
  15055. xgoodscode:
  15056. description: 商品代码
  15057. type: string
  15058. xgoodsid:
  15059. description: x交易合约ID
  15060. type: integer
  15061. xgoodsname:
  15062. description: 商品名称
  15063. type: string
  15064. type: object
  15065. models.WrDeliveryGoodsSection:
  15066. properties:
  15067. dglst:
  15068. description: 板块商品列表
  15069. items:
  15070. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15071. type: array
  15072. imagepath:
  15073. description: 图片地址
  15074. type: string
  15075. orderindex:
  15076. description: 排序
  15077. type: integer
  15078. sectionid:
  15079. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15080. = 1的版块1 - 云融指数
  15081. type: integer
  15082. sectionname:
  15083. description: 版块名称
  15084. type: string
  15085. sectiontype:
  15086. description: 版块类型 - 1:指数版块 2:普通版块
  15087. type: integer
  15088. type: object
  15089. models.WrDeliveryGoodsSectionConfig:
  15090. properties:
  15091. deliverygoodscode:
  15092. description: 现货商品代码
  15093. type: string
  15094. deliverygoodsid:
  15095. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15096. type: integer
  15097. deliverygoodsname:
  15098. description: 现货商品名称
  15099. type: string
  15100. orderindex:
  15101. description: 排序
  15102. type: integer
  15103. type: object
  15104. models.WrDraftUserInfo:
  15105. properties:
  15106. address:
  15107. description: 地址
  15108. type: string
  15109. attachment1:
  15110. description: 附件1
  15111. type: string
  15112. attachment2:
  15113. description: 附件2
  15114. type: string
  15115. attachment3:
  15116. description: 附件3
  15117. type: string
  15118. attachment4:
  15119. description: 附件4
  15120. type: string
  15121. attachment5:
  15122. description: 附件5
  15123. type: string
  15124. bankaccount:
  15125. description: 银行帐号 (加密存储)
  15126. type: string
  15127. bankaccountname:
  15128. description: 收款人名称
  15129. type: string
  15130. bankcardfrontphotourl:
  15131. description: 银行卡正面照地址
  15132. type: string
  15133. bankid:
  15134. description: 银行编码
  15135. type: string
  15136. bankname:
  15137. description: 银行名称
  15138. type: string
  15139. birthday:
  15140. description: 生日(个人:年月日)
  15141. type: string
  15142. biznature:
  15143. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15144. type: integer
  15145. bizscope:
  15146. description: 企业经营范围(企业)
  15147. type: string
  15148. biztype:
  15149. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  15150. type: integer
  15151. cardbackphotourl:
  15152. description: 证件背面图片地址
  15153. type: string
  15154. cardfrontphotourl:
  15155. description: 证件正面图片地址
  15156. type: string
  15157. cardnum:
  15158. description: 证件号码(加密存储)
  15159. type: string
  15160. cardtypeid:
  15161. description: 证件类型ID
  15162. type: integer
  15163. cityid:
  15164. description: 市
  15165. type: integer
  15166. company:
  15167. description: 公司(个人)
  15168. type: string
  15169. contactcardbackphotourl:
  15170. description: 联系人证件背面图片地址
  15171. type: string
  15172. contactcardfrontphotourl:
  15173. description: 联系人证件正面图片地址
  15174. type: string
  15175. contactname:
  15176. description: 联系人
  15177. type: string
  15178. countryid:
  15179. description: 国家
  15180. type: integer
  15181. createtime:
  15182. description: 创建时间
  15183. type: string
  15184. creatorid:
  15185. description: 创建人
  15186. type: integer
  15187. creditquota:
  15188. description: 授信额度(金瑞)
  15189. type: number
  15190. customername:
  15191. description: 客户名称(企业名称)
  15192. type: string
  15193. districtid:
  15194. description: 地区
  15195. type: integer
  15196. email:
  15197. description: 邮件(加密存储)
  15198. type: string
  15199. fax:
  15200. description: 传真(加密存储)
  15201. type: string
  15202. halfbodyphotourl:
  15203. description: 半身照地址
  15204. type: string
  15205. hasencrypt:
  15206. description: 数据是否已加密 - 0:未加密 1:已加密
  15207. type: integer
  15208. headurl:
  15209. description: 头像地址
  15210. type: string
  15211. legalcardbackphotourl:
  15212. description: 法人身份证背面照地址
  15213. type: string
  15214. legalcardfrontphotourl:
  15215. description: 法人身份证正面照地址
  15216. type: string
  15217. legalpersonname:
  15218. description: 法人姓名(企业)
  15219. type: string
  15220. mobile:
  15221. description: 手机号码(加密存储)
  15222. type: string
  15223. mobile2:
  15224. description: 手机号码[明文-尚志]
  15225. type: string
  15226. modifierid:
  15227. description: 修改人
  15228. type: integer
  15229. modifiertime:
  15230. description: 修改时间
  15231. type: string
  15232. needinvoice:
  15233. description: 是否需要发票 - 0:不需要 1:需要
  15234. type: integer
  15235. nickname:
  15236. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15237. type: string
  15238. openmode:
  15239. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  15240. 6:苹果手机端注册 7:PC交易端注册"
  15241. type: integer
  15242. otherurl:
  15243. description: 其它图片地址[使用分号分隔]
  15244. type: string
  15245. postalcode:
  15246. description: 邮政编码
  15247. type: string
  15248. provinceid:
  15249. description: 省
  15250. type: integer
  15251. proxystatementurl:
  15252. description: 授权委托书
  15253. type: string
  15254. qq:
  15255. description: QQ(加密存储
  15256. type: string
  15257. remark:
  15258. description: 备注
  15259. type: string
  15260. sex:
  15261. description: '用户性别 0: 女 1: 男'
  15262. type: integer
  15263. signpdfurl:
  15264. description: 签约pdf文件
  15265. type: string
  15266. taxpayernum:
  15267. description: 纳税人识别号
  15268. type: string
  15269. telphone:
  15270. description: 联系电话(加密存储)
  15271. type: string
  15272. userid:
  15273. description: 用户ID
  15274. type: integer
  15275. userinfotype:
  15276. description: 用户信息类型 - 1:个人 2:企业
  15277. type: integer
  15278. userstatus:
  15279. description: 用户状态 - 1:正常 2:注销
  15280. type: integer
  15281. usertype:
  15282. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  15283. type: integer
  15284. wechat:
  15285. description: 微信(加密存储)
  15286. type: string
  15287. wskhinfo:
  15288. description: 开户申请信息(JSON)
  15289. type: string
  15290. type: object
  15291. models.WrFAProductDetail:
  15292. properties:
  15293. accountid:
  15294. description: 资金账号
  15295. type: integer
  15296. areauserid:
  15297. description: 金融机构ID
  15298. type: integer
  15299. financingdays:
  15300. description: 天数(天)
  15301. type: integer
  15302. interestminlen:
  15303. description: 最小起息天数
  15304. type: integer
  15305. interestrate:
  15306. description: 利率
  15307. type: number
  15308. interestratemode:
  15309. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15310. type: integer
  15311. interestsettlemode:
  15312. description: 结息方式 - 1:按日结息 3:按月结息
  15313. type: integer
  15314. interestsettlevalue:
  15315. description: 结息方式值
  15316. type: integer
  15317. isautoloan:
  15318. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15319. type: integer
  15320. loantag:
  15321. description: '放款标识: "放款快" 或者为空'
  15322. type: string
  15323. marginratio:
  15324. description: 保证金比率质押率 - [仓单质押]
  15325. type: number
  15326. productdetailid:
  15327. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15328. type: integer
  15329. productid:
  15330. description: 金融产品ID
  15331. type: integer
  15332. productname:
  15333. description: 产品名称
  15334. type: string
  15335. updatetime:
  15336. description: 更新时间
  15337. type: string
  15338. username:
  15339. description: 融出方
  15340. type: string
  15341. type: object
  15342. models.WrFactorTypeInfo:
  15343. properties:
  15344. deliverygoodscode:
  15345. description: 品种代码
  15346. type: string
  15347. deliverygoodsname:
  15348. description: 品种名称
  15349. type: string
  15350. dgfactoryitemid:
  15351. description: 选择项id
  15352. type: integer
  15353. dgfactoryitemtypeid:
  15354. description: 要素选择项ID (1-仓库 2-品牌)
  15355. type: integer
  15356. dgfactoryitemvalue:
  15357. description: 要素项值
  15358. type: string
  15359. itemtypename:
  15360. description: 要素项名称
  15361. type: string
  15362. optioncompare:
  15363. description: 选择比较串
  15364. type: string
  15365. warehouseid:
  15366. description: 仓库id
  15367. type: integer
  15368. wrfactortypeid:
  15369. description: 仓单要素ID
  15370. type: string
  15371. wrfactortypename:
  15372. description: 要素名称
  15373. type: string
  15374. wrfactortypename2:
  15375. description: 要素名称(不含仓库)
  15376. type: string
  15377. wrstandardcode:
  15378. description: 品类代码
  15379. type: string
  15380. wrstandardid:
  15381. description: 品类id
  15382. type: integer
  15383. wrstandardname:
  15384. description: 品类名称
  15385. type: string
  15386. type: object
  15387. models.WrFilterItem:
  15388. properties:
  15389. itemcode:
  15390. description: 代码
  15391. type: string
  15392. itemid:
  15393. description: 项id
  15394. type: integer
  15395. itemname:
  15396. description: 名称
  15397. type: string
  15398. itemtype:
  15399. description: 类型 1-品种 2-品类(商品) 3-仓库
  15400. type: integer
  15401. type: object
  15402. models.WrFinanceBuyApply:
  15403. properties:
  15404. applydate:
  15405. description: 申请时间
  15406. type: string
  15407. applystatus:
  15408. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15409. type: integer
  15410. applyuserid:
  15411. description: 申请人
  15412. type: integer
  15413. auditdate:
  15414. description: 审核时间
  15415. type: string
  15416. auditremark:
  15417. description: 审核备注
  15418. type: string
  15419. audituserid:
  15420. description: 审核人
  15421. type: integer
  15422. buyaccountid:
  15423. description: 买方资金账号
  15424. type: integer
  15425. buyorsell:
  15426. description: 买卖 - 0:买 1:卖
  15427. type: integer
  15428. buyuserid:
  15429. description: 买方用户ID
  15430. type: integer
  15431. buyusername:
  15432. description: 买方名称
  15433. type: string
  15434. buywrtradeorderid:
  15435. description: 融资方买委托单ID
  15436. type: string
  15437. deliverygoodscode:
  15438. description: 品种代码
  15439. type: string
  15440. deliverygoodsid:
  15441. description: 品种ID
  15442. type: integer
  15443. deliverygoodsname:
  15444. description: 品种名称
  15445. type: string
  15446. deliverymonth:
  15447. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15448. type: string
  15449. enumdicname:
  15450. description: 单位名称
  15451. type: string
  15452. financeaccountid:
  15453. description: 融资方资金帐户ID
  15454. type: integer
  15455. financeapplyid:
  15456. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15457. type: string
  15458. financeareauserid:
  15459. description: 融资方用户ID
  15460. type: string
  15461. financename:
  15462. description: 融出方名称
  15463. type: string
  15464. financetype:
  15465. description: 融资类型 1-融资回购
  15466. type: integer
  15467. financingdays:
  15468. description: 天数(天)
  15469. type: integer
  15470. freezebuymargin:
  15471. description: 冻结融资保证金(买方)
  15472. type: number
  15473. handleremark:
  15474. description: 处理备注
  15475. type: string
  15476. handlestatus:
  15477. description: 处理状态
  15478. type: integer
  15479. interestminlen:
  15480. description: 最小起息天数
  15481. type: integer
  15482. interestrate:
  15483. description: 利率
  15484. type: number
  15485. interestratemode:
  15486. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15487. type: integer
  15488. interestsettlemode:
  15489. description: 结息方式 - 1:按日结息 3:按月结息
  15490. type: integer
  15491. interestsettlevalue:
  15492. description: 结息方式值
  15493. type: integer
  15494. isautoloan:
  15495. description: 是否自动放款 - 0:手动 1:自动
  15496. type: integer
  15497. marginratio:
  15498. description: 保证金比率质押率 - [仓单质押]
  15499. type: number
  15500. marketid:
  15501. description: 市场ID
  15502. type: integer
  15503. minivalue:
  15504. description: 现货商品最小变动值
  15505. type: integer
  15506. optioncompare:
  15507. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15508. type: string
  15509. orderqty:
  15510. description: 委托数量(商品数量)
  15511. type: number
  15512. productdetailid:
  15513. description: 产品组合ID
  15514. type: integer
  15515. productid:
  15516. description: 金融产品ID
  15517. type: integer
  15518. productname:
  15519. description: 产品名称
  15520. type: string
  15521. remark:
  15522. description: 备注
  15523. type: string
  15524. scfcontractid:
  15525. description: 仓单回购合同ID
  15526. type: string
  15527. sellaccountid:
  15528. description: 卖方资金账号
  15529. type: integer
  15530. selluserid:
  15531. description: 卖方用户ID
  15532. type: integer
  15533. sellwrtradeorderid:
  15534. description: 卖方委托单ID
  15535. type: string
  15536. tradeamount:
  15537. description: 成交金额(借款金额)
  15538. type: number
  15539. tradedate:
  15540. description: 交易日(yyyyMMdd)
  15541. type: string
  15542. tradeprice:
  15543. description: 成交价格
  15544. type: number
  15545. warehouseid:
  15546. description: 仓库ID
  15547. type: integer
  15548. warehousename:
  15549. description: 仓库名称
  15550. type: string
  15551. wrfactortypeid:
  15552. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15553. type: string
  15554. wrfactortypename:
  15555. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15556. type: string
  15557. wrpricetype:
  15558. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15559. type: integer
  15560. wrstandardcode:
  15561. description: 现货商品代码
  15562. type: string
  15563. wrstandardid:
  15564. description: 现货商品ID
  15565. type: integer
  15566. wrstandardname:
  15567. description: 商品名称
  15568. type: string
  15569. wrtypename:
  15570. description: 商品
  15571. type: string
  15572. type: object
  15573. models.WrFriendApply:
  15574. properties:
  15575. applicantid:
  15576. description: 申请人
  15577. type: integer
  15578. applyname:
  15579. description: 申请人名称
  15580. type: string
  15581. applysrc:
  15582. description: 申请来源 - 1:管理端 2:终端
  15583. type: integer
  15584. applystatus:
  15585. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15586. type: integer
  15587. applytime:
  15588. description: 申请时间
  15589. type: string
  15590. auditname:
  15591. description: 审核人名称
  15592. type: string
  15593. auditorid:
  15594. description: 审核人
  15595. type: integer
  15596. auditremark:
  15597. description: 审核备注
  15598. type: string
  15599. auditsrc:
  15600. description: 审核来源 - 1:管理端 2:终端
  15601. type: integer
  15602. audittime:
  15603. description: 审核时间
  15604. type: string
  15605. friendapplyid:
  15606. description: 申请ID(SEQ_FRIENDAPPLY)
  15607. type: string
  15608. friendname:
  15609. description: 好友名字(已脱敏)
  15610. type: string
  15611. frienduserid:
  15612. description: 好友用户ID
  15613. type: string
  15614. remark:
  15615. description: 备注
  15616. type: string
  15617. userid:
  15618. description: 申请人用户ID
  15619. type: integer
  15620. type: object
  15621. models.WrFtDeliveryGoods:
  15622. properties:
  15623. deliverygoodscode:
  15624. description: 品种代码
  15625. type: string
  15626. deliverygoodsid:
  15627. description: 品种ID
  15628. type: integer
  15629. deliverygoodsname:
  15630. description: 品种名称
  15631. type: string
  15632. wdlst:
  15633. description: 商品列表
  15634. items:
  15635. $ref: '#/definitions/models.WrFtWrstandard'
  15636. type: array
  15637. type: object
  15638. models.WrFtWrstandard:
  15639. properties:
  15640. enumdicname:
  15641. description: 单位名称
  15642. type: string
  15643. minivalue:
  15644. description: 最小变动值
  15645. type: integer
  15646. wrstandardcode:
  15647. description: 现货商品代码
  15648. type: string
  15649. wrstandardid:
  15650. description: 现货商品ID
  15651. type: integer
  15652. wrstandardname:
  15653. description: 商品名称
  15654. type: string
  15655. type: object
  15656. models.WrGoodsInfo:
  15657. properties:
  15658. haswr:
  15659. description: 0:仓单预售 1:仓单贸易
  15660. type: integer
  15661. lstitem:
  15662. description: 商品信息项
  15663. items:
  15664. $ref: '#/definitions/models.WrTypeItem'
  15665. type: array
  15666. lststep:
  15667. description: 履约规则
  15668. items:
  15669. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15670. type: array
  15671. marketid:
  15672. description: 市场id
  15673. type: integer
  15674. type: object
  15675. models.WrGoodsPerformanceStep:
  15676. properties:
  15677. autoid:
  15678. description: AutoID
  15679. type: integer
  15680. isauto:
  15681. description: 是否自动 - 0:不自动 1:自动
  15682. type: integer
  15683. remark:
  15684. description: 备注
  15685. type: string
  15686. stepdate:
  15687. description: 天数信息(T+N)
  15688. type: string
  15689. stepdays:
  15690. description: 距离上一步天数
  15691. type: integer
  15692. stepindex:
  15693. description: 步骤序号
  15694. type: integer
  15695. stepinfo:
  15696. description: 步骤信息(步骤名称+步骤值)
  15697. type: string
  15698. steptypeid:
  15699. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15700. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15701. type: integer
  15702. steptypename:
  15703. description: 步骤名称
  15704. type: string
  15705. stepvalue:
  15706. description: 步骤值
  15707. type: number
  15708. templateid:
  15709. description: 履约计划模板ID
  15710. type: integer
  15711. type: object
  15712. models.WrHoldLB:
  15713. properties:
  15714. accountid:
  15715. description: 持有人帐户ID
  15716. type: integer
  15717. bannerpicurl:
  15718. description: Banner图
  15719. type: string
  15720. createtime:
  15721. description: 创建时间(过户时间)
  15722. type: string
  15723. deliverygoodscode:
  15724. description: 品种代码
  15725. type: string
  15726. deliverygoodsid:
  15727. description: 品种ID
  15728. type: integer
  15729. deliverygoodsname:
  15730. description: 品种名称
  15731. type: string
  15732. enableqty:
  15733. description: 可用数量
  15734. type: number
  15735. enumdicname:
  15736. description: 单位名称
  15737. type: string
  15738. freezerqty:
  15739. description: 冻结数量
  15740. type: number
  15741. ladingbillid:
  15742. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15743. type: string
  15744. minivalue:
  15745. description: 现货商品最小变动值
  15746. type: integer
  15747. optioncompare:
  15748. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15749. type: string
  15750. parentsubnum:
  15751. description: 拆分父子单号
  15752. type: integer
  15753. pledgeqty:
  15754. description: 质押数量
  15755. type: number
  15756. qty:
  15757. description: 数量
  15758. type: number
  15759. subnum:
  15760. description: 提单子单号
  15761. type: integer
  15762. tradedate:
  15763. description: 交易日(yyyyMMdd)
  15764. type: string
  15765. userid:
  15766. description: 持有人ID
  15767. type: integer
  15768. warehouseid:
  15769. description: 仓库ID
  15770. type: integer
  15771. warehousename:
  15772. description: 仓库名称
  15773. type: string
  15774. wrfactortypeid:
  15775. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15776. type: string
  15777. wrfactortypename:
  15778. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15779. type: string
  15780. wrholdeno:
  15781. description: 仓单编号
  15782. type: string
  15783. wrid:
  15784. description: 仓单变更ID
  15785. type: string
  15786. wrstandardcode:
  15787. description: 现货商品代码
  15788. type: string
  15789. wrstandardid:
  15790. description: 现货商品ID
  15791. type: integer
  15792. wrstandardname:
  15793. description: 商品名称
  15794. type: string
  15795. wrtypename:
  15796. description: 商品
  15797. type: string
  15798. type: object
  15799. models.WrMarketTradeConfig:
  15800. properties:
  15801. basisdownratio:
  15802. description: 浮动价基差下限比例(仓单贸易)
  15803. type: number
  15804. basisupratio:
  15805. description: 浮动价基差上限比例(仓单贸易)
  15806. type: number
  15807. buychargealgorithm:
  15808. description: 买方手续费收取方式 1:比率 2:固定
  15809. type: integer
  15810. buychargealgorithm2:
  15811. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15812. type: integer
  15813. buychargealgorithmvalue:
  15814. description: 买方手续费设置值(交易所部分)
  15815. type: number
  15816. buychargealgorithmvalue2:
  15817. description: 买方手续费设置值(会员部分)
  15818. type: number
  15819. buychargealgorithmvalue3:
  15820. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15821. type: number
  15822. buychargealgorithmvalue4:
  15823. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15824. type: number
  15825. buyfirstmarginalgorithm:
  15826. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15827. type: integer
  15828. buyfirstmarginvalue:
  15829. description: 买方出价保证金设置值 - [竞拍]
  15830. type: number
  15831. buymarginalgorithm:
  15832. description: 买方保证金方式 - 1:比率 2:固定
  15833. type: integer
  15834. buymarginvalue:
  15835. description: 买方保证金设置值
  15836. type: number
  15837. buyreleaseratio:
  15838. description: 买方释放比率[2:分步履约]
  15839. type: number
  15840. executemode:
  15841. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15842. type: integer
  15843. executeside:
  15844. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15845. type: integer
  15846. failedchargealgorithm:
  15847. description: 流拍手续费收取方式 1:比率 2:固定
  15848. type: integer
  15849. failedchargevalue:
  15850. description: 流拍手续费设置值
  15851. type: number
  15852. failedchargevalue2:
  15853. description: 流拍卖方手续费设置值
  15854. type: number
  15855. holddays:
  15856. description: 合同期限[2:分步履约]
  15857. type: integer
  15858. marketid:
  15859. description: 市场ID-仓单贸易、竞拍、预售
  15860. type: integer
  15861. minqty:
  15862. description: 最小执行量[2:分步履约]
  15863. type: number
  15864. modifierid:
  15865. description: 修改人
  15866. type: integer
  15867. performancetempid:
  15868. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15869. 立即执行(-1)
  15870. type: integer
  15871. performancetempid2:
  15872. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15873. 立即执行
  15874. type: integer
  15875. performancetempid2s:
  15876. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15877. - 履约方式: 立即执行
  15878. type: string
  15879. performancetempids:
  15880. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15881. - 履约方式: 立即执行(-1)
  15882. type: string
  15883. performanceway:
  15884. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15885. type: integer
  15886. sellchargealgorithm:
  15887. description: 卖方手续费收取方式 1:比率 2:固定
  15888. type: integer
  15889. sellchargealgorithm2:
  15890. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15891. type: integer
  15892. sellchargealgorithmvalue:
  15893. description: 卖方手续费设置值(交易所部分)
  15894. type: number
  15895. sellchargealgorithmvalue2:
  15896. description: 卖方手续费设置值(会员部分)
  15897. type: number
  15898. sellchargealgorithmvalue3:
  15899. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15900. type: number
  15901. sellchargealgorithmvalue4:
  15902. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15903. type: number
  15904. sellmarginalgorithm:
  15905. description: 卖方保证金方式 - 1:比率 2:固定
  15906. type: integer
  15907. sellmarginvalue:
  15908. description: 卖方保证金设置值
  15909. type: number
  15910. sellmarginvalue2:
  15911. description: 卖方保证金设置值(无仓单)
  15912. type: number
  15913. sellreleaseratio:
  15914. description: 卖方释放比率[2:分步履约]
  15915. type: number
  15916. updatetime:
  15917. description: 更新时间
  15918. type: string
  15919. type: object
  15920. models.WrOrderDetail:
  15921. properties:
  15922. accountid:
  15923. description: 交易账号(资金账号)
  15924. type: integer
  15925. allfriendsflag:
  15926. description: 是否全好友可见 - 0:否 1:是
  15927. type: integer
  15928. amount:
  15929. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15930. type: number
  15931. bannerpicurl:
  15932. description: Banner图
  15933. type: string
  15934. begindate:
  15935. description: 开始交易日(yyyymmdd)
  15936. type: string
  15937. buyorsell:
  15938. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15939. type: integer
  15940. canbargain:
  15941. description: 是否可议价 - 0:不可 1:可
  15942. type: integer
  15943. cancelqty:
  15944. description: 撤销数量
  15945. type: number
  15946. canpart:
  15947. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15948. type: integer
  15949. delistminqty:
  15950. description: 起摘数量
  15951. type: integer
  15952. deliverygoodscode:
  15953. description: 品种代码
  15954. type: string
  15955. deliverygoodsid:
  15956. description: 品种ID
  15957. type: integer
  15958. deliverygoodsname:
  15959. description: 品种名称
  15960. type: string
  15961. deliverymonth:
  15962. description: 交收月
  15963. type: string
  15964. enddate:
  15965. description: 结束交易日(yyyymmdd)
  15966. type: string
  15967. enumdicname:
  15968. description: 单位名称
  15969. type: string
  15970. fixedprice:
  15971. description: 固定价格 - [挂牌]
  15972. type: number
  15973. freezecharge:
  15974. description: 冻结手续费
  15975. type: number
  15976. freezemargin:
  15977. description: 冻结保证金(保证金)
  15978. type: number
  15979. futupricemove:
  15980. description: 期货升贴水
  15981. type: number
  15982. futushow:
  15983. description: 期货合约/升贴水
  15984. type: string
  15985. goodscode:
  15986. description: 期货合约
  15987. type: string
  15988. goodsid:
  15989. description: 期货商品id
  15990. type: integer
  15991. goodsname:
  15992. description: 商品名称
  15993. type: string
  15994. haswr:
  15995. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15996. type: integer
  15997. isspecified:
  15998. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15999. type: integer
  16000. ladingbillid:
  16001. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16002. type: string
  16003. marginvalue:
  16004. description: 保证金设置值(履约保证金)
  16005. type: number
  16006. marketid:
  16007. description: 市场ID
  16008. type: integer
  16009. matchusername:
  16010. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16011. type: string
  16012. minivalue:
  16013. description: 现货商品最小变动值
  16014. type: integer
  16015. optioncompare:
  16016. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16017. type: string
  16018. orderqty:
  16019. description: 委托数量
  16020. type: number
  16021. ordertime:
  16022. description: 委托时间(挂牌时间)
  16023. type: string
  16024. performancetemplateid:
  16025. description: 履约模板id
  16026. type: integer
  16027. pricemove:
  16028. description: 升贴水(浮动价时填写) - [挂牌]
  16029. type: number
  16030. taname:
  16031. description: 交易用户名称(资金账号名称)
  16032. type: string
  16033. tradedate:
  16034. description: 交易日(yyyyMMdd)
  16035. type: string
  16036. tradeprice:
  16037. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16038. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16039. type: number
  16040. tradeqty:
  16041. description: 成交数量
  16042. type: number
  16043. userid:
  16044. description: 用户ID
  16045. type: integer
  16046. validtime:
  16047. description: 挂牌有效期
  16048. type: string
  16049. validtype:
  16050. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16051. type: integer
  16052. warehouseid:
  16053. description: 仓库ID
  16054. type: integer
  16055. warehousename:
  16056. description: 仓库名称
  16057. type: string
  16058. wrfactortypeid:
  16059. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16060. type: string
  16061. wrfactortypename:
  16062. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16063. type: string
  16064. wrpricetype:
  16065. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16066. type: integer
  16067. wrstandardcode:
  16068. description: 现货商品代码
  16069. type: string
  16070. wrstandardid:
  16071. description: 现货商品ID
  16072. type: integer
  16073. wrstandardname:
  16074. description: 商品名称
  16075. type: string
  16076. wrtradeorderid:
  16077. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16078. type: string
  16079. wrtradeorderstatus:
  16080. 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:撤单解冻贷款失败
  16081. type: integer
  16082. wrtradetype:
  16083. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16084. type: integer
  16085. wrtypename:
  16086. description: 商品
  16087. type: string
  16088. type: object
  16089. models.WrOrderQuote:
  16090. properties:
  16091. bannerpicurl:
  16092. description: Banner图
  16093. type: string
  16094. buyprice:
  16095. description: 买价
  16096. type: number
  16097. buypricemove:
  16098. description: 买升贴水(基差)
  16099. type: number
  16100. buyqty:
  16101. description: 买量
  16102. type: number
  16103. deliverygoodscode:
  16104. description: 品种代码
  16105. type: string
  16106. deliverygoodsid:
  16107. description: 品种id
  16108. type: integer
  16109. deliverygoodsname:
  16110. description: 品种名称
  16111. type: string
  16112. deliverymonth:
  16113. description: 交收月
  16114. type: string
  16115. enumdicname:
  16116. description: 单位名称
  16117. type: string
  16118. goodscode:
  16119. description: 商品合约(浮动价列表才有)
  16120. type: string
  16121. goodsid:
  16122. description: 商品id(浮动价列表才有)
  16123. type: integer
  16124. minivalue:
  16125. description: 现货商品最小变动值
  16126. type: integer
  16127. pictureurls:
  16128. description: 详情图片(逗号分隔)
  16129. type: string
  16130. sellprice:
  16131. description: 卖价
  16132. type: number
  16133. sellpricemove:
  16134. description: 卖升贴水(基差)
  16135. type: number
  16136. sellqty:
  16137. description: 卖量
  16138. type: number
  16139. thumurls:
  16140. description: 缩略图片(1:1)(逗号分隔)
  16141. type: string
  16142. warehousecode:
  16143. description: 仓库代码
  16144. type: string
  16145. warehouseid:
  16146. description: 仓库id
  16147. type: integer
  16148. warehousename:
  16149. description: 仓库名称
  16150. type: string
  16151. wrfactortypeid:
  16152. description: 仓单要素id
  16153. type: string
  16154. wrfactortypename:
  16155. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16156. type: string
  16157. wrgoodsname:
  16158. description: 商品(商品名称+仓库要素名称 拼接)
  16159. type: string
  16160. wrstandardcode:
  16161. description: 商品代码
  16162. type: string
  16163. wrstandardid:
  16164. description: 商品id
  16165. type: integer
  16166. wrstandardname:
  16167. description: 商品名称
  16168. type: string
  16169. type: object
  16170. models.WrOrderQuoteDetail:
  16171. properties:
  16172. buyorsell:
  16173. description: 买卖 - 0:买 1:卖
  16174. type: integer
  16175. delistminqty:
  16176. description: 起摘数量
  16177. type: number
  16178. deliverymonth:
  16179. description: 交收月
  16180. type: string
  16181. enumdicname:
  16182. description: 单位名称
  16183. type: string
  16184. fixedprice:
  16185. description: 买(卖)价
  16186. type: number
  16187. marketid:
  16188. description: 市场id
  16189. type: integer
  16190. minivalue:
  16191. description: 现货商品最小变动值
  16192. type: integer
  16193. orderqty:
  16194. description: 买(卖)量(=委托量-成交量)
  16195. type: number
  16196. ordertime:
  16197. description: 委托时间
  16198. type: string
  16199. pricemove:
  16200. description: 买(卖)升贴水- 基差
  16201. type: number
  16202. userid:
  16203. description: 购买方(销售方)用户ID
  16204. type: integer
  16205. username:
  16206. description: 购买方(销售方)
  16207. type: string
  16208. wrtradeorderid:
  16209. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16210. type: string
  16211. type: object
  16212. models.WrOutInApply:
  16213. properties:
  16214. applyid:
  16215. description: 申请单id
  16216. type: string
  16217. applystatus:
  16218. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16219. 8:已撤销
  16220. type: integer
  16221. applytime:
  16222. description: 申请时间
  16223. type: string
  16224. applytype:
  16225. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16226. type: integer
  16227. bannerpicurl:
  16228. description: Banner图
  16229. type: string
  16230. begindate:
  16231. description: 开始交易日(yyyymmdd)
  16232. type: string
  16233. deliverygoodscode:
  16234. description: 品种代码
  16235. type: string
  16236. deliverygoodsid:
  16237. description: 品种ID
  16238. type: integer
  16239. deliverygoodsname:
  16240. description: 品种名称
  16241. type: string
  16242. enddate:
  16243. description: 结束交易日(yyyymmdd)
  16244. type: string
  16245. enumdicname:
  16246. description: 单位名称
  16247. type: string
  16248. expresscompany:
  16249. description: 物流公司
  16250. type: string
  16251. expressnum:
  16252. description: 物流单号
  16253. type: string
  16254. minivalue:
  16255. description: 现货商品最小变动值
  16256. type: integer
  16257. optioncompare:
  16258. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16259. type: string
  16260. qty:
  16261. description: 数量
  16262. type: integer
  16263. userid:
  16264. description: 用户id
  16265. type: integer
  16266. warehouseid:
  16267. description: 仓库ID
  16268. type: integer
  16269. warehousename:
  16270. description: 仓库名称
  16271. type: string
  16272. wrfactortypeid:
  16273. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16274. type: string
  16275. wrfactortypename:
  16276. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16277. type: string
  16278. wrstandardcode:
  16279. description: 现货商品代码
  16280. type: string
  16281. wrstandardid:
  16282. description: 现货商品ID
  16283. type: integer
  16284. wrstandardname:
  16285. description: 商品名称
  16286. type: string
  16287. wrtypename:
  16288. description: 商品
  16289. type: string
  16290. type: object
  16291. models.WrPerformancePlan:
  16292. properties:
  16293. activatemonth:
  16294. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16295. type: string
  16296. amount:
  16297. description: 履约金额(总金额)
  16298. type: number
  16299. begindate:
  16300. description: 开始交易日(yyyymmdd)
  16301. type: string
  16302. buyaccountid:
  16303. description: 买方账号
  16304. type: integer
  16305. buyerfreezeamount:
  16306. description: 履约冻结(买履约)
  16307. type: number
  16308. buyerfreezeamountremain:
  16309. description: 履约冻结剩余(买履约)
  16310. type: number
  16311. buyorsell:
  16312. description: 买卖方向 0-买 1-卖
  16313. type: integer
  16314. buypaidamount:
  16315. description: 买方已冻/已扣金额 (已付金额)
  16316. type: number
  16317. buyusername:
  16318. description: 买方名字
  16319. type: string
  16320. contractid:
  16321. description: 合同ID
  16322. type: integer
  16323. createtime:
  16324. description: 创建时间
  16325. type: string
  16326. creatorid:
  16327. description: 创建人
  16328. type: integer
  16329. curstepdeadline:
  16330. description: 当前步骤到期时间
  16331. type: string
  16332. curstepid:
  16333. description: 当前步骤ID
  16334. type: string
  16335. curstepname:
  16336. description: 当前步骤名称
  16337. type: string
  16338. deliverygoodscode:
  16339. description: 品种代码
  16340. type: string
  16341. deliverygoodsid:
  16342. description: 品种ID
  16343. type: integer
  16344. deliverygoodsname:
  16345. description: 品种名称
  16346. type: string
  16347. enddate:
  16348. description: 结束交易日(yyyymmdd)
  16349. type: string
  16350. enumdicname:
  16351. description: 单位名称
  16352. type: string
  16353. expressfee:
  16354. description: 运费
  16355. type: number
  16356. expressfeeconfirmed:
  16357. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16358. type: integer
  16359. hasovershort:
  16360. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16361. type: integer
  16362. haswr:
  16363. description: 类型 0-仓单预售 1-仓单贸易
  16364. type: integer
  16365. marketid:
  16366. description: 市场ID
  16367. type: integer
  16368. middleaccountid:
  16369. description: 中间商资金账号ID
  16370. type: integer
  16371. middleuserid:
  16372. description: 中间商用户ID
  16373. type: integer
  16374. minivalue:
  16375. description: 现货商品最小变动值
  16376. type: integer
  16377. optioncompare:
  16378. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16379. type: string
  16380. overshortamount:
  16381. description: 溢短金额
  16382. type: number
  16383. overshortqty:
  16384. description: 溢短数量
  16385. type: number
  16386. paymenttype:
  16387. description: 付款方式 - 1:冻结 2:扣款
  16388. type: integer
  16389. performanceplanid:
  16390. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16391. type: string
  16392. performancestatus:
  16393. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16394. 9:超时待处理 10:超时关闭
  16395. type: integer
  16396. performancetype:
  16397. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16398. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16399. type: integer
  16400. qty:
  16401. description: 履约数量
  16402. type: number
  16403. relatedorderid:
  16404. description: 关联单号(履约类型的关联单号)
  16405. type: string
  16406. remark:
  16407. description: 备注
  16408. type: string
  16409. sellaccountid:
  16410. description: 卖方账号
  16411. type: integer
  16412. sellerfreezeamount:
  16413. description: 履约冻结(卖履约)
  16414. type: number
  16415. sellerfreezeamountremain:
  16416. description: 履约冻结剩余(卖履约)
  16417. type: number
  16418. sellreceivedamount:
  16419. description: 卖方已收金额
  16420. type: number
  16421. sellusername:
  16422. description: 卖方名字
  16423. type: string
  16424. shipremark:
  16425. description: 发货备注[物流单号]
  16426. type: string
  16427. starttime:
  16428. description: 开始时间
  16429. type: string
  16430. steptypeid:
  16431. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16432. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16433. type: integer
  16434. typename:
  16435. description: 履约类型 名称
  16436. type: string
  16437. unpaidamount:
  16438. description: 剩余款(待支付金额)
  16439. type: number
  16440. userid:
  16441. description: 用户id
  16442. type: integer
  16443. warehouseid:
  16444. description: 仓库ID
  16445. type: integer
  16446. warehousename:
  16447. description: 仓库名称
  16448. type: string
  16449. wrfactortypeid:
  16450. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16451. type: string
  16452. wrfactortypename:
  16453. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16454. type: string
  16455. wrstandardcode:
  16456. description: 现货商品代码
  16457. type: string
  16458. wrstandardid:
  16459. description: 现货商品ID
  16460. type: integer
  16461. wrstandardname:
  16462. description: 商品名称
  16463. type: string
  16464. wrtransferuserid:
  16465. description: 仓单受让用户
  16466. type: integer
  16467. wrtypename:
  16468. description: 商品
  16469. type: string
  16470. required:
  16471. - userid
  16472. type: object
  16473. models.WrPerformancePlanStep:
  16474. properties:
  16475. delaydays:
  16476. description: 延期申请天数
  16477. type: integer
  16478. deliverygoodscode:
  16479. description: 品种代码
  16480. type: string
  16481. deliverygoodsid:
  16482. description: 品种ID
  16483. type: integer
  16484. deliverygoodsname:
  16485. description: 品种名称
  16486. type: string
  16487. endtime:
  16488. description: 结束日期
  16489. type: string
  16490. enumdicname:
  16491. description: 单位名称
  16492. type: string
  16493. executeside:
  16494. description: 步骤执行方 - 1:买方 2:卖方
  16495. type: integer
  16496. handlestatus:
  16497. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16498. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16499. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16500. type: integer
  16501. isauto:
  16502. description: 是否自动 - 0:不自动 1:自动
  16503. type: integer
  16504. islastreceivestep:
  16505. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16506. type: integer
  16507. minivalue:
  16508. description: 现货商品最小变动值
  16509. type: integer
  16510. optioncompare:
  16511. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16512. type: string
  16513. overdays:
  16514. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16515. type: integer
  16516. performancestepid:
  16517. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16518. type: string
  16519. planid:
  16520. description: 所属履约计划ID
  16521. type: string
  16522. realamount:
  16523. description: 实际完成金额
  16524. type: number
  16525. relatedorderid:
  16526. description: 关联单号
  16527. type: string
  16528. remaindays:
  16529. description: 剩余天数
  16530. type: integer
  16531. remark:
  16532. description: 错误备注
  16533. type: string
  16534. starttime:
  16535. description: 开始日期
  16536. type: string
  16537. stepamount:
  16538. description: 步骤金额
  16539. type: number
  16540. stepdays:
  16541. description: 距离上一步天数(分钟)
  16542. type: integer
  16543. stepindex:
  16544. description: 步骤序号
  16545. type: integer
  16546. steplanchtype:
  16547. description: 步骤启动类型 - 1:系统自动 2:手动
  16548. type: integer
  16549. stepremark:
  16550. description: 步骤备注
  16551. type: string
  16552. stepstatus:
  16553. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16554. type: integer
  16555. steptypeid:
  16556. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16557. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16558. type: integer
  16559. steptypename:
  16560. description: 步骤名称
  16561. type: string
  16562. stepvalue:
  16563. description: 步骤值
  16564. type: number
  16565. warehouseid:
  16566. description: 仓库ID
  16567. type: integer
  16568. warehousename:
  16569. description: 仓库名称
  16570. type: string
  16571. wrfactortypeid:
  16572. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16573. type: string
  16574. wrfactortypename:
  16575. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16576. type: string
  16577. wrstandardcode:
  16578. description: 现货商品代码
  16579. type: string
  16580. wrstandardid:
  16581. description: 现货商品ID
  16582. type: integer
  16583. wrstandardname:
  16584. description: 商品名称
  16585. type: string
  16586. wrtypename:
  16587. description: 商品
  16588. type: string
  16589. type: object
  16590. models.WrPerformanceStepType:
  16591. properties:
  16592. canauto:
  16593. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16594. type: integer
  16595. steptypeid:
  16596. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16597. type: integer
  16598. steptypename:
  16599. description: 步骤类型名称
  16600. type: string
  16601. type: object
  16602. models.WrPerformanceTemplateEx:
  16603. properties:
  16604. autoid:
  16605. description: AutoID 模板id
  16606. type: integer
  16607. createtime:
  16608. description: 创建时间
  16609. type: string
  16610. creatorid:
  16611. description: 创建人
  16612. type: integer
  16613. lstStep:
  16614. description: 步骤信息列表
  16615. items:
  16616. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16617. type: array
  16618. paymenttype:
  16619. description: 支付方式 - 1:冻结 2:扣款
  16620. type: integer
  16621. takemode:
  16622. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16623. type: integer
  16624. templatename:
  16625. description: 模板名称
  16626. type: string
  16627. templatetype:
  16628. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16629. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16630. type: integer
  16631. userid:
  16632. description: 所属用户
  16633. type: integer
  16634. type: object
  16635. models.WrPosition:
  16636. properties:
  16637. accountid:
  16638. description: 帐户ID
  16639. type: integer
  16640. buyexcuteqty:
  16641. description: 采购履约中数量
  16642. type: number
  16643. creditcurqty:
  16644. description: 授信当前数量(预售仓单:预售当前量)
  16645. type: number
  16646. creditenableqty:
  16647. description: '授信可用数量(预售仓单: 可用数量)'
  16648. type: number
  16649. creditfreezeqty:
  16650. description: '授信冻结数量(预售仓单: 当前数量)'
  16651. type: number
  16652. credittotalqty:
  16653. description: 授信总数量(预售仓单:预售总量)
  16654. type: number
  16655. credittradeqty:
  16656. description: 授信成交数量(预售仓单:成交总量)
  16657. type: number
  16658. deliverygoodscode:
  16659. description: 品种代码
  16660. type: string
  16661. deliverygoodsid:
  16662. description: 品种ID
  16663. type: integer
  16664. deliverygoodsname:
  16665. description: 品种名称
  16666. type: string
  16667. enalbeqty:
  16668. description: 可用数量
  16669. type: number
  16670. enumdicname:
  16671. description: 单位名称
  16672. type: string
  16673. freezeqty:
  16674. description: 总冻结数量
  16675. type: number
  16676. haswr:
  16677. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16678. type: integer
  16679. minivalue:
  16680. description: 现货商品最小变动值
  16681. type: integer
  16682. modifytime:
  16683. description: 修改时间(过户时间)
  16684. type: string
  16685. optioncompare:
  16686. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16687. type: string
  16688. pledgeqty:
  16689. description: 质押数量
  16690. type: number
  16691. querytype:
  16692. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16693. type: integer
  16694. sellexcuteqty:
  16695. description: 销售履约中数量
  16696. type: number
  16697. totalqty:
  16698. description: 总数量(库存数量)
  16699. type: number
  16700. warehouseid:
  16701. description: 仓库ID
  16702. type: integer
  16703. warehousename:
  16704. description: 仓库名称
  16705. type: string
  16706. wrfactortypeid:
  16707. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16708. type: string
  16709. wrfactortypename:
  16710. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16711. type: string
  16712. wrpositionid:
  16713. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16714. type: string
  16715. wrpositionno:
  16716. description: 仓单编号
  16717. type: string
  16718. wrstandardcode:
  16719. description: 现货商品代码
  16720. type: string
  16721. wrstandardid:
  16722. description: 现货商品ID
  16723. type: integer
  16724. wrstandardname:
  16725. description: 商品名称
  16726. type: string
  16727. wrtypename:
  16728. description: 商品
  16729. type: string
  16730. wruserid:
  16731. description: 持有人ID
  16732. type: integer
  16733. type: object
  16734. models.WrPreSaleInfo:
  16735. properties:
  16736. bannerpicurl:
  16737. description: Banner图
  16738. type: string
  16739. baseqty:
  16740. description: 中签基数
  16741. type: number
  16742. createtime:
  16743. description: 创建时间
  16744. type: string
  16745. deliverygoodsid:
  16746. description: 现货品种ID
  16747. type: integer
  16748. enddate:
  16749. description: 预售结束日期
  16750. type: string
  16751. enumdicname:
  16752. description: 单位名称
  16753. type: string
  16754. lotteryflag:
  16755. description: 摇号标识 - 0:未摇号 1:已摇号
  16756. type: integer
  16757. lotteryqty:
  16758. description: 摇号总量
  16759. type: number
  16760. luckyqty:
  16761. description: 已中签量
  16762. type: number
  16763. marketid:
  16764. description: 市场ID
  16765. type: integer
  16766. maxbuyqty:
  16767. description: 单人最大申购量
  16768. type: number
  16769. maxluckyqty:
  16770. description: 单人最大中签量
  16771. type: number
  16772. pictureurls:
  16773. description: 详情图片(逗号分隔)
  16774. type: string
  16775. placeqty:
  16776. description: 已配售量
  16777. type: number
  16778. presaleapplyid:
  16779. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16780. example: "0"
  16781. type: string
  16782. presaleqty:
  16783. description: 预售总量
  16784. type: number
  16785. presalestatus:
  16786. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16787. type: integer
  16788. sellaccountid:
  16789. description: 发行方资金账户ID
  16790. type: integer
  16791. selluserid:
  16792. description: 发行方用户ID
  16793. type: integer
  16794. sellwrtradeorderid:
  16795. description: 发行方卖委托单ID
  16796. type: string
  16797. startdate:
  16798. description: 预售开始日期
  16799. type: string
  16800. takestartdate:
  16801. description: 提货开始日期
  16802. type: string
  16803. thumurls:
  16804. description: 缩略图片(1:1)(逗号分隔)
  16805. type: string
  16806. tradedate:
  16807. description: 交易日
  16808. type: string
  16809. unitid:
  16810. description: 单位ID
  16811. type: integer
  16812. unitprice:
  16813. description: 商品单价
  16814. type: number
  16815. username:
  16816. description: 发行方用户名称
  16817. type: string
  16818. warehousecode:
  16819. description: 仓库代码(仓库简称)
  16820. type: string
  16821. warehouseid:
  16822. description: 仓库ID
  16823. type: integer
  16824. warehousename:
  16825. description: 仓库名称
  16826. type: string
  16827. wrfactortypeid:
  16828. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16829. example: "0"
  16830. type: string
  16831. wrstandardid:
  16832. description: 现货商品ID
  16833. type: integer
  16834. wrstandardname:
  16835. description: 现货商品名称
  16836. type: string
  16837. type: object
  16838. models.WrQuoteOrderMyq:
  16839. properties:
  16840. buyorsell:
  16841. description: 买卖 - 0:买 1:卖
  16842. type: integer
  16843. canbargain:
  16844. description: 是否可议价 - 0:不可 1:可
  16845. type: integer
  16846. canpart:
  16847. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16848. type: integer
  16849. delistminqty:
  16850. description: 起摘数量
  16851. type: number
  16852. deliverygoodscode:
  16853. description: 品种代码
  16854. type: string
  16855. deliverygoodsid:
  16856. description: 品种ID
  16857. type: integer
  16858. deliverygoodsname:
  16859. description: 品种名称
  16860. type: string
  16861. deliverymonth:
  16862. description: 交收月
  16863. type: string
  16864. enumdicname:
  16865. description: 单位名称
  16866. type: string
  16867. fixedprice:
  16868. description: 买(卖)价
  16869. type: number
  16870. goodscode:
  16871. description: 商品合约代码
  16872. type: string
  16873. marginflag:
  16874. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16875. type: integer
  16876. marginvalue:
  16877. description: 保证金设置值
  16878. type: number
  16879. minivalue:
  16880. description: 现货商品最小变动值
  16881. type: integer
  16882. orderqty:
  16883. description: 买(卖)量(=委托量-成交量)
  16884. type: number
  16885. ordertime:
  16886. description: 委托时间
  16887. type: string
  16888. performancetemplateid:
  16889. description: 履约模板id
  16890. type: integer
  16891. pricemove:
  16892. description: 买(卖)升贴水- 基差
  16893. type: number
  16894. templatename:
  16895. description: 履约模板名称
  16896. type: string
  16897. userid:
  16898. description: 购买方(销售方)用户ID
  16899. type: integer
  16900. username:
  16901. description: 购买方(销售方)
  16902. type: string
  16903. validtime:
  16904. description: 有效期限
  16905. type: string
  16906. validtype:
  16907. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16908. type: integer
  16909. warehousename:
  16910. description: 仓库名称
  16911. type: string
  16912. wrfactortypeid:
  16913. description: 仓单要素id
  16914. type: string
  16915. wrstandardcode:
  16916. description: 现货商品代码
  16917. type: string
  16918. wrstandardid:
  16919. description: 现货商品ID
  16920. type: integer
  16921. wrstandardname:
  16922. description: 商品名称
  16923. type: string
  16924. wrtradeorderid:
  16925. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16926. type: string
  16927. wrtypename:
  16928. description: 商品
  16929. type: string
  16930. type: object
  16931. models.WrReckonSpotGoodsTradeSum:
  16932. properties:
  16933. begindate:
  16934. description: 开始日期(结果含开始日期) yyyymmdd
  16935. type: string
  16936. enddate:
  16937. description: 结束日期(结果含结束日期) yyyymmdd
  16938. type: string
  16939. marketid:
  16940. description: 市场ID
  16941. type: integer
  16942. price:
  16943. description: 价格 = 日成交金额 / 日成交数量
  16944. type: string
  16945. reckondate:
  16946. description: 日期 格式 yyyymmdd
  16947. type: string
  16948. tradeamount:
  16949. description: 日成交金额(当日单方向成交金额)
  16950. type: number
  16951. tradeqty:
  16952. description: 日成交数量(当日单方向成交数量)
  16953. type: number
  16954. wrstandardid:
  16955. description: 现货商品ID
  16956. type: integer
  16957. type: object
  16958. models.WrScfContract:
  16959. properties:
  16960. borroweruserid:
  16961. description: 借款用户ID
  16962. type: integer
  16963. buybackwrpositionqty:
  16964. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16965. type: number
  16966. closeinterest:
  16967. description: 已结利息 -> 已结费用
  16968. type: number
  16969. currisklevel:
  16970. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16971. type: integer
  16972. deadline:
  16973. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16974. type: string
  16975. deliverygoodscode:
  16976. description: 品种代码
  16977. type: string
  16978. deliverygoodsid:
  16979. description: 品种ID
  16980. type: integer
  16981. deliverygoodsname:
  16982. description: 品种名称
  16983. type: string
  16984. enumdicname:
  16985. description: 单位名称
  16986. type: string
  16987. financingdays:
  16988. description: 天数(天)
  16989. type: integer
  16990. initmargin:
  16991. description: 保证金 - [仓单回购]
  16992. type: number
  16993. interestamount:
  16994. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16995. type: number
  16996. interestdebt:
  16997. description: 利息欠款(记录负数) -> 费用欠款
  16998. type: number
  16999. interestminlen:
  17000. description: 最小起息天数
  17001. type: integer
  17002. interestrate:
  17003. description: 利率
  17004. type: number
  17005. interestratemode:
  17006. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17007. type: integer
  17008. interestsettlemode:
  17009. description: 结息方式 - 1:按日结息 3:按月结息
  17010. type: integer
  17011. interestsettlevalue:
  17012. description: 结息方式值
  17013. type: integer
  17014. isautoloan:
  17015. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17016. type: integer
  17017. lastcloseinterestday:
  17018. description: 最近结息日(yyyyMMdd)
  17019. type: string
  17020. lenderamount:
  17021. description: 贷款金额 -> 借款金额
  17022. type: number
  17023. lenderuserid:
  17024. description: 贷款方用户ID -> 融出方用户ID
  17025. type: integer
  17026. lenderusername:
  17027. description: 融出方
  17028. type: string
  17029. marginratio:
  17030. description: 保证金比率质押率 - [仓单质押]
  17031. type: number
  17032. marketid:
  17033. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17034. type: integer
  17035. minivalue:
  17036. description: 现货商品最小变动值
  17037. type: integer
  17038. optioncompare:
  17039. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17040. type: string
  17041. pricemove:
  17042. description: 估值升贴水值
  17043. type: number
  17044. productdetailid:
  17045. description: 产品组合ID
  17046. type: integer
  17047. productid:
  17048. description: 金融产品ID
  17049. type: integer
  17050. productname:
  17051. description: 产品名称
  17052. type: string
  17053. remainamount:
  17054. description: 合同剩余金额 -> 剩余金额
  17055. type: number
  17056. remainwrpositionqty:
  17057. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17058. type: number
  17059. remark:
  17060. description: 备注
  17061. type: string
  17062. scfcontractid:
  17063. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17064. type: string
  17065. scfcontractstatus:
  17066. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17067. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17068. type: integer
  17069. scfcontracttype:
  17070. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17071. type: integer
  17072. startinterestday:
  17073. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17074. type: string
  17075. totalinterest:
  17076. description: 已计利息 -> 已计费用
  17077. type: number
  17078. unpaidinterest:
  17079. description: 未结费用
  17080. type: number
  17081. updatetime:
  17082. description: 更新时间
  17083. type: string
  17084. warehouseid:
  17085. description: 仓库ID
  17086. type: integer
  17087. warehousename:
  17088. description: 仓库名称
  17089. type: string
  17090. wrfactortypeid:
  17091. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17092. type: string
  17093. wrfactortypename:
  17094. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17095. type: string
  17096. wrqty:
  17097. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17098. type: number
  17099. wrstandardcode:
  17100. description: 现货商品代码
  17101. type: string
  17102. wrstandardid:
  17103. description: 现货商品ID
  17104. type: integer
  17105. wrstandardname:
  17106. description: 商品名称
  17107. type: string
  17108. wrtypename:
  17109. description: 商品
  17110. type: string
  17111. type: object
  17112. models.WrScfContractInterest:
  17113. properties:
  17114. closeinterest:
  17115. description: 已结利息
  17116. type: number
  17117. closeintereststatus:
  17118. description: 结息状态 - 1:未结 2:已结
  17119. type: integer
  17120. closetime:
  17121. description: 结息时间
  17122. type: string
  17123. closetradedate:
  17124. description: 结息交易日
  17125. type: string
  17126. creatorid:
  17127. description: 操作人ID
  17128. type: integer
  17129. dayrate:
  17130. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  17131. type: number
  17132. interest:
  17133. description: 利息
  17134. type: number
  17135. interestamount:
  17136. description: 计息金额
  17137. type: number
  17138. interestday:
  17139. description: 计息日(yyyyMMdd)
  17140. type: string
  17141. scfcontractid:
  17142. description: SCF合同ID
  17143. type: string
  17144. scfcontractinterestid:
  17145. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  17146. type: integer
  17147. updatetime:
  17148. description: 更新时间
  17149. type: string
  17150. type: object
  17151. models.WrSearchUser:
  17152. properties:
  17153. userid:
  17154. description: 用户ID
  17155. type: integer
  17156. username:
  17157. description: 用户名称(已脱敏)
  17158. type: string
  17159. username2:
  17160. description: 用户名称(未脱敏)
  17161. type: string
  17162. usertype:
  17163. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17164. type: integer
  17165. required:
  17166. - username
  17167. type: object
  17168. models.WrSiteColumnDetail:
  17169. properties:
  17170. brief:
  17171. description: 简介
  17172. type: string
  17173. context:
  17174. description: 内容
  17175. type: string
  17176. coverimage:
  17177. description: 封面图片
  17178. type: string
  17179. creaedate:
  17180. description: 创建时间
  17181. type: string
  17182. id:
  17183. description: ID(SEQ_SITE_COLUMNDETAIL)
  17184. type: integer
  17185. istop:
  17186. description: 是否置顶 - 0:不置 1:置顶
  17187. type: integer
  17188. publishdate:
  17189. description: 发布日期
  17190. type: string
  17191. title:
  17192. description: 标题
  17193. type: string
  17194. updatedate:
  17195. description: 修改时间
  17196. type: string
  17197. type: object
  17198. models.WrSpecialMatchOrder:
  17199. properties:
  17200. amount:
  17201. description: 金额 = 数量 * 价格
  17202. type: number
  17203. buyorsell:
  17204. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17205. type: integer
  17206. cancelqty:
  17207. description: 撤销数量
  17208. type: number
  17209. deliverygoodscode:
  17210. description: 品种代码
  17211. type: string
  17212. deliverygoodsid:
  17213. description: 品种ID
  17214. type: integer
  17215. deliverygoodsname:
  17216. description: 品种名称
  17217. type: string
  17218. enumdicname:
  17219. description: 单位名称
  17220. type: string
  17221. fixedprice:
  17222. description: 固定价格(价格)
  17223. type: number
  17224. haswr:
  17225. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17226. type: integer
  17227. isspecified:
  17228. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17229. type: integer
  17230. marketid:
  17231. description: 市场ID
  17232. type: integer
  17233. matchuserid:
  17234. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17235. type: integer
  17236. matchusername:
  17237. description: 指定方
  17238. type: string
  17239. minivalue:
  17240. description: 现货商品最小变动值
  17241. type: integer
  17242. optioncompare:
  17243. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17244. type: string
  17245. orderqty:
  17246. description: 委托数量
  17247. type: number
  17248. ordertime:
  17249. description: 委托时间
  17250. type: string
  17251. pricemove:
  17252. description: 升贴水(浮动价时填写) - [挂牌]
  17253. type: number
  17254. tradedate:
  17255. description: 交易日(yyyyMMdd)
  17256. type: string
  17257. tradeprice:
  17258. description: 成交价格
  17259. type: number
  17260. tradeqty:
  17261. description: 成交数量
  17262. type: number
  17263. userid:
  17264. description: 用户ID
  17265. type: integer
  17266. username:
  17267. description: 发起方
  17268. type: string
  17269. warehouseid:
  17270. description: 仓库ID
  17271. type: integer
  17272. warehousename:
  17273. description: 仓库名称
  17274. type: string
  17275. wrfactortypeid:
  17276. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17277. type: string
  17278. wrfactortypename:
  17279. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17280. type: string
  17281. wrpricetype:
  17282. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17283. type: integer
  17284. wrstandardcode:
  17285. description: 现货商品代码
  17286. type: string
  17287. wrstandardid:
  17288. description: 现货商品ID
  17289. type: integer
  17290. wrstandardname:
  17291. description: 商品名称
  17292. type: string
  17293. wrtradeorderid:
  17294. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17295. type: string
  17296. wrtradeorderstatus:
  17297. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17298. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17299. type: integer
  17300. wrtradetype:
  17301. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17302. type: integer
  17303. wrtypename:
  17304. description: 商品
  17305. type: string
  17306. type: object
  17307. models.WrSpotGroupTradeSum:
  17308. properties:
  17309. deliverygoodscode:
  17310. description: 现货品种代码
  17311. type: string
  17312. deliverygoodsid:
  17313. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17314. type: integer
  17315. deliverygoodsname:
  17316. description: 现货品种名称
  17317. type: string
  17318. lastavgprice:
  17319. description: 上上个交易日价格(前2天价格)
  17320. type: string
  17321. lastreckondate:
  17322. description: 上上个交易日(前2天交易日)
  17323. type: string
  17324. reckondate:
  17325. description: 上个交易日(前1天交易日)
  17326. type: string
  17327. todayavgprice:
  17328. description: 上个交易日价格(前1天价格)
  17329. type: string
  17330. updown:
  17331. description: 涨跌
  17332. type: string
  17333. updownratio:
  17334. description: 涨幅(已格式化, 直接显示即可)
  17335. type: string
  17336. type: object
  17337. models.WrSpotGroupTradeSumDetail:
  17338. properties:
  17339. deliverygoodsid:
  17340. description: 现货商品id
  17341. type: integer
  17342. price:
  17343. description: 价格
  17344. type: number
  17345. reckondate:
  17346. description: 日期(yyymmdd, 如:20211031)
  17347. type: string
  17348. type: object
  17349. models.WrSpotGroupTradeSumEx:
  17350. properties:
  17351. lst:
  17352. description: 指数列表
  17353. items:
  17354. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17355. type: array
  17356. prereckondate:
  17357. description: 上上个交易日(yyymmdd)
  17358. type: string
  17359. reckondate:
  17360. description: 上个交易日(yyyymmdd)
  17361. type: string
  17362. type: object
  17363. models.WrStandardFactoryItem:
  17364. properties:
  17365. dgfactoryitemid:
  17366. description: 选择项id
  17367. type: integer
  17368. dgfactoryitemvalue:
  17369. description: 要素项值
  17370. type: string
  17371. warehouseid:
  17372. description: 仓库id
  17373. type: integer
  17374. type: object
  17375. models.WrStandardFactoryItemEx:
  17376. properties:
  17377. dgfactoryitemtypeid:
  17378. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17379. type: integer
  17380. itemlst:
  17381. description: 要素项列表
  17382. items:
  17383. $ref: '#/definitions/models.WrStandardFactoryItem'
  17384. type: array
  17385. itemtypename:
  17386. description: 要素项类型名称
  17387. type: string
  17388. wrstandardid:
  17389. description: 品类
  17390. type: integer
  17391. type: object
  17392. models.WrTradeDetail:
  17393. properties:
  17394. accountid:
  17395. description: 资金账号
  17396. type: integer
  17397. bannerpicurl:
  17398. description: Banner图
  17399. type: string
  17400. begindate:
  17401. description: 开始交易日(yyyymmdd)
  17402. type: string
  17403. buyorsell:
  17404. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17405. type: integer
  17406. chargevalue:
  17407. description: 手续费
  17408. type: number
  17409. deliverygoodscode:
  17410. description: 品种代码
  17411. type: string
  17412. deliverygoodsid:
  17413. description: 品种ID
  17414. type: integer
  17415. deliverygoodsname:
  17416. description: 品种名称
  17417. type: string
  17418. deliverymonth:
  17419. description: 交收月
  17420. type: string
  17421. enddate:
  17422. description: 结束交易日(yyyymmdd)
  17423. type: string
  17424. enumdicname:
  17425. description: 单位名称
  17426. type: string
  17427. haswr:
  17428. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17429. type: integer
  17430. marketid:
  17431. description: 市场ID
  17432. type: integer
  17433. matchaccountid:
  17434. description: 对手账号
  17435. type: integer
  17436. matchusername:
  17437. description: 对手方
  17438. type: string
  17439. minivalue:
  17440. description: 现货商品最小变动值
  17441. type: integer
  17442. optioncompare:
  17443. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17444. type: string
  17445. tradedate:
  17446. description: 交易日(yyyyMMdd)
  17447. type: string
  17448. tradeprice:
  17449. description: 成交价格
  17450. type: number
  17451. tradeqty:
  17452. description: 成交数量
  17453. type: number
  17454. tradetime:
  17455. description: 成交时间
  17456. type: string
  17457. userid:
  17458. description: 用户ID
  17459. type: integer
  17460. warehouseid:
  17461. description: 仓库ID
  17462. type: integer
  17463. warehousename:
  17464. description: 仓库名称
  17465. type: string
  17466. wrfactortypeid:
  17467. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17468. type: string
  17469. wrfactortypename:
  17470. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17471. type: string
  17472. wrstandardcode:
  17473. description: 现货商品代码
  17474. type: string
  17475. wrstandardid:
  17476. description: 现货商品ID
  17477. type: integer
  17478. wrstandardname:
  17479. description: 商品名称
  17480. type: string
  17481. wrtradedetailid:
  17482. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17483. type: string
  17484. wrtradetype:
  17485. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17486. type: integer
  17487. wrtypename:
  17488. description: 商品
  17489. type: string
  17490. type: object
  17491. models.WrTradeOrderDetail:
  17492. properties:
  17493. buyorsell:
  17494. description: 买卖方向 0-买 1-卖
  17495. type: integer
  17496. goodsid:
  17497. description: 商品id
  17498. type: integer
  17499. orderid:
  17500. description: 委托单号
  17501. type: string
  17502. orderprice:
  17503. description: 委托价格
  17504. type: number
  17505. orderqty:
  17506. description: 委托数量
  17507. type: integer
  17508. userid:
  17509. description: 用户id
  17510. type: integer
  17511. username:
  17512. description: 用户名称(已脱敏)
  17513. type: string
  17514. type: object
  17515. models.WrTypeItem:
  17516. properties:
  17517. name:
  17518. description: 名称
  17519. type: string
  17520. value:
  17521. description: 值
  17522. type: string
  17523. type: object
  17524. models.WrUserFriend:
  17525. properties:
  17526. friendname:
  17527. description: 朋友名称(已脱敏)
  17528. type: string
  17529. frienduserid:
  17530. description: 朋友id
  17531. type: integer
  17532. isfriend:
  17533. description: 是否好友 0-不是 1-是
  17534. type: integer
  17535. userid:
  17536. description: 用户id
  17537. type: integer
  17538. type: object
  17539. models.WrUserReceiptInfo:
  17540. properties:
  17541. address:
  17542. description: 地址[发票类型:企业]
  17543. type: string
  17544. autoid:
  17545. description: AutoID
  17546. type: integer
  17547. contactinfo:
  17548. description: 联系方式
  17549. type: string
  17550. idnum:
  17551. description: 身份证号码[发票类型:个人]
  17552. type: string
  17553. isdefault:
  17554. description: 是否默认地址 - 0:否 1:是
  17555. type: integer
  17556. receiptaccount:
  17557. description: 发票帐号[发票类型:企业]
  17558. type: string
  17559. receiptbank:
  17560. description: 发票开户行[发票类型:企业]
  17561. type: string
  17562. receipttype:
  17563. description: 发票类型 - 1:个人 2:企业
  17564. type: integer
  17565. taxpayerid:
  17566. description: 纳税人识别号
  17567. type: string
  17568. userid:
  17569. description: 用户ID
  17570. type: integer
  17571. username:
  17572. description: 户名(个人姓名或企业名称)
  17573. type: string
  17574. type: object
  17575. models.XHBRAND:
  17576. properties:
  17577. brandid:
  17578. description: 品牌id
  17579. type: integer
  17580. brandname:
  17581. description: 品牌名称
  17582. type: string
  17583. isvalid:
  17584. description: 是否有效 0-无效 1-有效
  17585. type: integer
  17586. type: object
  17587. models.XHDeliveryGoods:
  17588. properties:
  17589. areauserid:
  17590. description: 所属机构
  17591. type: integer
  17592. bdlst:
  17593. description: 品牌列表
  17594. items:
  17595. $ref: '#/definitions/models.XHBRAND'
  17596. type: array
  17597. deliverygoodscode:
  17598. description: 现货品种代码
  17599. type: string
  17600. deliverygoodsid:
  17601. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17602. type: integer
  17603. deliverygoodsname:
  17604. description: 现货品种名称
  17605. type: string
  17606. dgstatus:
  17607. description: 品种状态 - 作废 - 0:未激活 1:正常
  17608. type: integer
  17609. filterSubEmpty:
  17610. description: 过滤下级为空的
  17611. type: integer
  17612. isvalid:
  17613. description: 是否有效 - 0:无效 1:有效
  17614. type: integer
  17615. remark:
  17616. description: 备注
  17617. type: string
  17618. unitid:
  17619. description: 单位id(目前看,数据库中是空值)
  17620. type: integer
  17621. wdlst:
  17622. description: 品类(现货商品)列表
  17623. items:
  17624. $ref: '#/definitions/models.XHWrstandard'
  17625. type: array
  17626. type: object
  17627. models.XHMiddleGoods:
  17628. properties:
  17629. GPLST:
  17630. description: 期货品种列表
  17631. items:
  17632. $ref: '#/definitions/models.TBGoodsGroup'
  17633. type: array
  17634. convertratio:
  17635. description: 拆算系数
  17636. type: number
  17637. costratio:
  17638. description: 成本权重
  17639. type: number
  17640. deliverygoodsid:
  17641. description: 现货商品id
  17642. type: integer
  17643. enumdicname:
  17644. description: 单位名称
  17645. type: string
  17646. middlegoodscode:
  17647. description: 套保品种代码
  17648. type: string
  17649. middlegoodsid:
  17650. description: 套保品种id
  17651. type: integer
  17652. middlegoodsname:
  17653. description: 套保品种名称
  17654. type: string
  17655. unitid:
  17656. description: 单位id
  17657. type: integer
  17658. type: object
  17659. models.XHWrstandard:
  17660. properties:
  17661. bannerpicurl:
  17662. description: banner图
  17663. type: string
  17664. deliverygoodsid:
  17665. description: 品种ID
  17666. type: integer
  17667. enumdicname:
  17668. description: 单位名称
  17669. type: string
  17670. mglst:
  17671. description: 套保品列表
  17672. items:
  17673. $ref: '#/definitions/models.XHMiddleGoods'
  17674. type: array
  17675. pictureurls:
  17676. description: 详情图片(逗号分隔)
  17677. type: string
  17678. thumurls:
  17679. description: 缩略图片(1:1)(逗号分隔)
  17680. type: string
  17681. unitid:
  17682. description: 单位id
  17683. type: integer
  17684. vatrate:
  17685. description: 增值税率
  17686. type: number
  17687. wrstandardcode:
  17688. description: 现货商品代码
  17689. type: string
  17690. wrstandardid:
  17691. description: 现货商品ID(SEQ_WRSTANDARD)
  17692. type: integer
  17693. wrstandardname:
  17694. description: 现货商品名称
  17695. type: string
  17696. type: object
  17697. order.QueryHisTradeDetailRsp:
  17698. properties:
  17699. accountid:
  17700. description: 账户ID[报价币种]
  17701. type: integer
  17702. advanceratio:
  17703. description: 首付比率
  17704. type: number
  17705. buildtype:
  17706. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17707. type: integer
  17708. buyorsell:
  17709. description: 方向 - 0:买 1:卖
  17710. type: integer
  17711. charge:
  17712. description: 手续费
  17713. type: number
  17714. closecharge:
  17715. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17716. type: number
  17717. closeexchagechargevalue:
  17718. description: 平仓交易所手续费设置值
  17719. type: number
  17720. closefeealgorithm:
  17721. description: 平仓手续费收取方式 1:比率 2:固定
  17722. type: integer
  17723. closememberchargevalue:
  17724. description: 平仓会员手续费设置值
  17725. type: number
  17726. closepl:
  17727. description: 平仓盈亏
  17728. type: number
  17729. closepl2:
  17730. description: 平仓盈亏[逐笔]
  17731. type: number
  17732. closeqty:
  17733. description: 平仓数量(先建后平操作 需要记录)
  17734. type: number
  17735. creditamount:
  17736. description: 授信金额
  17737. type: number
  17738. decimalplace:
  17739. description: 商品报价小数位
  17740. type: integer
  17741. enumdicname:
  17742. description: 单位名称
  17743. type: string
  17744. gcaccountid:
  17745. description: 账户ID[合约币种]
  17746. type: integer
  17747. goodscode:
  17748. description: 商品代码
  17749. type: string
  17750. goodsid:
  17751. description: 商品ID
  17752. type: integer
  17753. goodsname:
  17754. description: 商品名称
  17755. type: string
  17756. goodunitid:
  17757. description: 商品单位id
  17758. type: integer
  17759. histradedate:
  17760. description: 历史交易日
  17761. type: string
  17762. intclosepl:
  17763. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17764. type: integer
  17765. isconfirmexercise:
  17766. description: 是否确认行权- 0:否 1:是
  17767. type: integer
  17768. ismain:
  17769. description: 是否主单 - 0:不是 1:是
  17770. type: integer
  17771. ispreexercise:
  17772. description: 是否预申报- 0:否 1:是
  17773. type: integer
  17774. isreckoned:
  17775. description: 是否结算 - 0:未结算 1:已结算
  17776. type: integer
  17777. isvaliddata:
  17778. description: 是否有效 - 0:无效 1:有效
  17779. type: integer
  17780. listingselecttype:
  17781. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17782. type: integer
  17783. marketid:
  17784. description: 市场ID
  17785. type: integer
  17786. marketname:
  17787. description: 市场名称
  17788. type: string
  17789. matchaccountid:
  17790. description: 对手账号id
  17791. type: integer
  17792. memberuserid:
  17793. description: 会员id 个人投资者 需要填写
  17794. type: integer
  17795. opencharge:
  17796. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17797. type: number
  17798. openexchagechargevalue:
  17799. description: 建仓交易所手续费设置值
  17800. type: number
  17801. openfeealgorithm:
  17802. description: 建仓手续费收取方式 1:比率 2:固定
  17803. type: integer
  17804. openmemberchargevalue:
  17805. description: 建仓会员手续费设置值
  17806. type: number
  17807. openqty:
  17808. description: 开仓数量(先建后平操作 需要记录)
  17809. type: number
  17810. optiontype:
  17811. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17812. type: integer
  17813. orderid:
  17814. description: 委托单号
  17815. type: string
  17816. payamount:
  17817. description: 支付金额(付款金额)
  17818. type: number
  17819. performanceplanid:
  17820. description: 履约计划ID[期权]
  17821. type: integer
  17822. performancestatus:
  17823. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17824. type: integer
  17825. preexerciseprice:
  17826. description: 预申报价格
  17827. type: number
  17828. premium:
  17829. description: 权利金 - [持仓单的权利金]
  17830. type: number
  17831. qtydecimalplace:
  17832. description: 商品报价小数位
  17833. type: integer
  17834. recvamount:
  17835. description: 到账金额 = 成交金额 - 手续费
  17836. type: number
  17837. relatedouttradeid:
  17838. description: 关联外部成交单ID
  17839. type: integer
  17840. status:
  17841. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17842. type: integer
  17843. totalamount:
  17844. description: 订单总额 = 成交金额 + 手续费
  17845. type: number
  17846. tradeamount:
  17847. description: 成交金额[账户币种,用于所有权]
  17848. type: number
  17849. tradedate:
  17850. description: 交易日(yyyyMMdd)
  17851. type: string
  17852. tradeid:
  17853. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17854. type: string
  17855. trademode:
  17856. description: 交易模式
  17857. type: integer
  17858. tradeprice:
  17859. description: 成交价格
  17860. type: number
  17861. tradeproperty:
  17862. description: 交易属性
  17863. type: integer
  17864. tradeqty:
  17865. description: 成交数量
  17866. type: number
  17867. tradetime:
  17868. description: 成交时间
  17869. type: string
  17870. tradetype:
  17871. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17872. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17873. type: integer
  17874. required:
  17875. - accountid
  17876. - buyorsell
  17877. - goodsid
  17878. - histradedate
  17879. - marketid
  17880. - memberuserid
  17881. - orderid
  17882. - tradeamount
  17883. - tradedate
  17884. - tradeid
  17885. - tradeprice
  17886. - tradeqty
  17887. - tradetime
  17888. type: object
  17889. order.QueryHisTradeOrderDetailRsp:
  17890. properties:
  17891. accountid:
  17892. description: 账户ID[报价币种]
  17893. type: integer
  17894. buildtype:
  17895. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17896. type: integer
  17897. buyorsell:
  17898. description: 买卖 - 0:买 1:卖
  17899. type: integer
  17900. cancelorderid:
  17901. description: 撤单单号(撤单时填写)
  17902. type: string
  17903. cancelqty:
  17904. description: 撤单数量
  17905. type: number
  17906. clientordertime:
  17907. description: 客户端委托时间
  17908. type: string
  17909. clientticket:
  17910. description: 客户端流水号
  17911. type: string
  17912. clienttype:
  17913. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17914. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17915. type: integer
  17916. closeexchagechargevalue:
  17917. description: 平仓交易所手续费设置值
  17918. type: number
  17919. closefeealgorithm:
  17920. description: 平仓手续费收取方式 1:比率 2:固定
  17921. type: integer
  17922. closefreezecharge:
  17923. description: 平仓冻结手续费(先建后平操作,需要记录)
  17924. type: number
  17925. closememberchargevalue:
  17926. description: 平仓会员手续费设置值
  17927. type: number
  17928. closeqty:
  17929. description: 平仓数量(先建后平操作 需要记录)
  17930. type: number
  17931. closetradeqty:
  17932. description: 平仓成交数量(先建后平操作,需要记录)
  17933. type: number
  17934. closeunfreezecharge:
  17935. description: 平仓解冻手续费(先建后平操作,需要记录)
  17936. type: number
  17937. decimalplace:
  17938. description: 商品报价小数位
  17939. type: integer
  17940. delistingtype:
  17941. description: 摘牌类型 - 1:价格最优 2:点选成交
  17942. type: integer
  17943. enumdicname:
  17944. description: 单位名称
  17945. type: string
  17946. freezecharge:
  17947. description: 冻结手续费
  17948. type: number
  17949. freezemargin:
  17950. description: 冻结保证金(冻结交易金额)
  17951. type: number
  17952. gcaccountid:
  17953. description: 账户ID[合约币种]
  17954. type: integer
  17955. goodscode:
  17956. description: 商品代码
  17957. type: string
  17958. goodsid:
  17959. description: 商品ID
  17960. type: integer
  17961. goodsname:
  17962. description: 商品名称
  17963. type: string
  17964. goodunitid:
  17965. description: 商品单位id
  17966. type: integer
  17967. histradedate:
  17968. description: 历史交易日
  17969. type: string
  17970. isconfirmexercise:
  17971. description: 是否确认行权- 0:否 1:是
  17972. type: integer
  17973. ispreexercise:
  17974. description: 是否预申报- 0:否 1:是
  17975. type: integer
  17976. isvaliddata:
  17977. description: 是否有效 - 0:无效 1:有效
  17978. type: integer
  17979. listingselecttype:
  17980. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17981. type: integer
  17982. marginalgorithm:
  17983. description: 保证金收取方式 1:比率 2:固定
  17984. type: integer
  17985. marginvalue:
  17986. description: 即市保证金设置值
  17987. type: number
  17988. marketid:
  17989. description: 市场ID
  17990. type: integer
  17991. marketmaxsub:
  17992. description: 市价最大偏移范围
  17993. type: number
  17994. marketname:
  17995. description: 市场名称
  17996. type: string
  17997. memberuserid:
  17998. description: 所属会员UserID
  17999. type: integer
  18000. openexchagechargevalue:
  18001. description: 建仓交易所手续费设置值
  18002. type: number
  18003. openfeealgorithm:
  18004. description: 建仓手续费收取方式 1:比率 2:固定
  18005. type: integer
  18006. openfreezecharge:
  18007. description: 开仓冻结手续费(先建后平操作,需要记录)
  18008. type: number
  18009. openmemberchargevalue:
  18010. description: 建仓会员手续费设置值
  18011. type: number
  18012. openqty:
  18013. description: 开仓数量(先建后平操作,需要记录)
  18014. type: number
  18015. opentradeqty:
  18016. description: 开仓成交数量(先建后平操作,需要记录)
  18017. type: number
  18018. openunfreezecharge:
  18019. description: 开仓解冻手续费(先建后平操作,需要记录)
  18020. type: number
  18021. operatetype:
  18022. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18023. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18024. 15:管理端协议转让
  18025. type: integer
  18026. operatorid:
  18027. description: 登录账号(LoginID)
  18028. type: integer
  18029. optiontype:
  18030. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18031. type: integer
  18032. orderid:
  18033. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18034. type: string
  18035. orderprice:
  18036. description: 委托价格
  18037. type: number
  18038. orderqty:
  18039. description: 委托数量
  18040. type: number
  18041. ordersrc:
  18042. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18043. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18044. type: integer
  18045. orderstatus:
  18046. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18047. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18048. 16:成交失败违约(荷兰式竞拍专用)
  18049. type: integer
  18050. ordertime:
  18051. description: 委托时间
  18052. type: string
  18053. preexerciseprice:
  18054. description: 预申报价格
  18055. type: number
  18056. premium:
  18057. description: 权利金
  18058. type: number
  18059. preorderid:
  18060. description: 关联预埋单号(止盈止损单时填写)
  18061. type: string
  18062. pricemode:
  18063. description: '取价方式 - 1:市价 2: 限价'
  18064. type: integer
  18065. qtydecimalplace:
  18066. description: 成交量小数位
  18067. type: integer
  18068. quoteid:
  18069. description: 报价单ID
  18070. type: integer
  18071. relatedid:
  18072. description: 关联单号(交割单)
  18073. type: string
  18074. retcode:
  18075. description: 错误代码
  18076. type: integer
  18077. sessionid:
  18078. description: 会话ID
  18079. type: integer
  18080. tradedate:
  18081. description: 交易日(yyyyMMdd)
  18082. type: string
  18083. trademode:
  18084. description: 交易模式
  18085. type: integer
  18086. tradeproperty:
  18087. description: 交易属性
  18088. type: integer
  18089. tradeqty:
  18090. description: 成交数量
  18091. type: number
  18092. unfreezecharge:
  18093. description: 解冻手续费
  18094. type: number
  18095. unfreezemargin:
  18096. description: 解冻保证金
  18097. type: number
  18098. updatetime:
  18099. description: 更新时间
  18100. type: string
  18101. uuid:
  18102. description: 发起端唯一id
  18103. type: string
  18104. validtime:
  18105. description: 有效期限
  18106. type: string
  18107. validtype:
  18108. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18109. type: integer
  18110. volumetype:
  18111. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18112. type: integer
  18113. required:
  18114. - accountid
  18115. - buildtype
  18116. - buyorsell
  18117. - goodsid
  18118. - histradedate
  18119. - marketid
  18120. - memberuserid
  18121. - operatetype
  18122. - orderid
  18123. - orderqty
  18124. - ordertime
  18125. - pricemode
  18126. - tradedate
  18127. - validtype
  18128. type: object
  18129. order.QueryTradeDetailRsp:
  18130. properties:
  18131. accountid:
  18132. description: 账户ID[报价币种]
  18133. type: integer
  18134. advanceratio:
  18135. description: 首付比率
  18136. type: number
  18137. buildtype:
  18138. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18139. type: integer
  18140. buyorsell:
  18141. description: 方向 - 0:买 1:卖
  18142. type: integer
  18143. charge:
  18144. description: 手续费
  18145. type: number
  18146. closecharge:
  18147. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18148. type: number
  18149. closeexchagechargevalue:
  18150. description: 平仓交易所手续费设置值
  18151. type: number
  18152. closefeealgorithm:
  18153. description: 平仓手续费收取方式 1:比率 2:固定
  18154. type: integer
  18155. closememberchargevalue:
  18156. description: 平仓会员手续费设置值
  18157. type: number
  18158. closepl:
  18159. description: 平仓盈亏
  18160. type: number
  18161. closepl2:
  18162. description: 平仓盈亏[逐笔]
  18163. type: number
  18164. closeqty:
  18165. description: 平仓数量(先建后平操作 需要记录)
  18166. type: number
  18167. creditamount:
  18168. description: 授信金额
  18169. type: number
  18170. decimalplace:
  18171. description: 商品报价小数位
  18172. type: integer
  18173. enumdicname:
  18174. description: 单位名称
  18175. type: string
  18176. gcaccountid:
  18177. description: 账户ID[合约币种]
  18178. type: integer
  18179. goodscode:
  18180. description: 商品代码
  18181. type: string
  18182. goodsid:
  18183. description: 商品ID
  18184. type: integer
  18185. goodsname:
  18186. description: 商品名称
  18187. type: string
  18188. goodunitid:
  18189. description: 商品单位id
  18190. type: integer
  18191. intclosepl:
  18192. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18193. type: integer
  18194. isconfirmexercise:
  18195. description: 是否确认行权- 0:否 1:是
  18196. type: integer
  18197. ismain:
  18198. description: 是否主单 - 0:不是 1:是
  18199. type: integer
  18200. ispreexercise:
  18201. description: 是否预申报- 0:否 1:是
  18202. type: integer
  18203. isreckoned:
  18204. description: 是否结算 - 0:未结算 1:已结算
  18205. type: integer
  18206. listingselecttype:
  18207. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18208. type: integer
  18209. marketid:
  18210. description: 市场ID
  18211. type: integer
  18212. marketname:
  18213. description: 市场名称
  18214. type: string
  18215. matchaccountid:
  18216. description: 对手账号id
  18217. type: integer
  18218. memberuserid:
  18219. description: 会员id 个人投资者 需要填写
  18220. type: integer
  18221. opencharge:
  18222. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18223. type: number
  18224. openexchagechargevalue:
  18225. description: 建仓交易所手续费设置值
  18226. type: number
  18227. openfeealgorithm:
  18228. description: 建仓手续费收取方式 1:比率 2:固定
  18229. type: integer
  18230. openmemberchargevalue:
  18231. description: 建仓会员手续费设置值
  18232. type: number
  18233. openqty:
  18234. description: 开仓数量(先建后平操作 需要记录)
  18235. type: number
  18236. optiontype:
  18237. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18238. type: integer
  18239. orderid:
  18240. description: 委托单号
  18241. type: string
  18242. payamount:
  18243. description: 支付金额(付款金额)
  18244. type: number
  18245. performanceplanid:
  18246. description: 履约计划ID[期权]
  18247. type: integer
  18248. performancestatus:
  18249. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18250. type: integer
  18251. preexerciseprice:
  18252. description: 预申报价格
  18253. type: number
  18254. premium:
  18255. description: 权利金 - [持仓单的权利金]
  18256. type: number
  18257. qtydecimalplace:
  18258. description: 商品报价小数位
  18259. type: integer
  18260. recvamount:
  18261. description: 到账金额 = 成交金额 - 手续费
  18262. type: number
  18263. relatedouttradeid:
  18264. description: 关联外部成交单ID
  18265. type: integer
  18266. status:
  18267. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18268. type: integer
  18269. totalamount:
  18270. description: 订单总额 = 成交金额 + 手续费
  18271. type: number
  18272. tradeamount:
  18273. description: 成交金额[账户币种,用于所有权]
  18274. type: number
  18275. tradedate:
  18276. description: 交易日(yyyyMMdd)
  18277. type: string
  18278. tradeid:
  18279. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18280. type: string
  18281. trademode:
  18282. description: 交易模式
  18283. type: integer
  18284. tradeprice:
  18285. description: 成交价格
  18286. type: number
  18287. tradeproperty:
  18288. description: 交易属性
  18289. type: integer
  18290. tradeqty:
  18291. description: 成交数量
  18292. type: number
  18293. tradetime:
  18294. description: 成交时间
  18295. type: string
  18296. tradetype:
  18297. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18298. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18299. type: integer
  18300. required:
  18301. - accountid
  18302. - buyorsell
  18303. - goodsid
  18304. - marketid
  18305. - memberuserid
  18306. - orderid
  18307. - tradeamount
  18308. - tradedate
  18309. - tradeid
  18310. - tradeprice
  18311. - tradeqty
  18312. - tradetime
  18313. type: object
  18314. order.QueryTradeOrderDetailRsp:
  18315. properties:
  18316. accountid:
  18317. description: 账户ID[报价币种]
  18318. type: integer
  18319. buildtype:
  18320. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18321. type: integer
  18322. buyorsell:
  18323. description: 买卖 - 0:买 1:卖
  18324. type: integer
  18325. cancelorderid:
  18326. description: 撤单单号(撤单时填写)
  18327. type: string
  18328. cancelqty:
  18329. description: 撤单数量
  18330. type: number
  18331. clienttype:
  18332. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18333. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18334. type: integer
  18335. closefreezecharge:
  18336. description: 平仓冻结手续费(先建后平操作,需要记录)
  18337. type: number
  18338. closeqty:
  18339. description: 平仓数量(先建后平操作 需要记录)
  18340. type: number
  18341. closetradeqty:
  18342. description: 平仓成交数量(先建后平操作,需要记录)
  18343. type: number
  18344. closeunfreezecharge:
  18345. description: 平仓解冻手续费(先建后平操作,需要记录)
  18346. type: number
  18347. decimalplace:
  18348. description: 商品报价小数位
  18349. type: integer
  18350. delistingtype:
  18351. description: 摘牌类型 - 1:价格最优 2:点选成交
  18352. type: integer
  18353. enableqty:
  18354. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18355. type: number
  18356. enumdicname:
  18357. description: 单位名称
  18358. type: string
  18359. freezecharge:
  18360. description: 冻结手续费
  18361. type: number
  18362. freezemargin:
  18363. description: 冻结保证金(冻结交易金额)
  18364. type: number
  18365. goodscode:
  18366. description: 商品代码
  18367. type: string
  18368. goodsid:
  18369. description: 商品ID
  18370. type: integer
  18371. goodsname:
  18372. description: 商品名称
  18373. type: string
  18374. goodunitid:
  18375. description: 商品单位id
  18376. type: integer
  18377. listingselecttype:
  18378. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18379. type: integer
  18380. marketid:
  18381. description: 市场ID
  18382. type: integer
  18383. marketname:
  18384. description: 市场名称
  18385. type: string
  18386. openfreezecharge:
  18387. description: 开仓冻结手续费(先建后平操作,需要记录)
  18388. type: number
  18389. openqty:
  18390. description: 开仓数量(先建后平操作,需要记录)
  18391. type: number
  18392. opentradeqty:
  18393. description: 开仓成交数量(先建后平操作,需要记录)
  18394. type: number
  18395. openunfreezecharge:
  18396. description: 开仓解冻手续费(先建后平操作,需要记录)
  18397. type: number
  18398. operatetype:
  18399. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18400. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18401. 15:管理端协议转让
  18402. type: integer
  18403. operatorid:
  18404. description: 登录账号(LoginID)
  18405. type: integer
  18406. orderid:
  18407. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18408. type: string
  18409. orderprice:
  18410. description: 委托价格
  18411. type: number
  18412. orderqty:
  18413. description: 委托数量
  18414. type: number
  18415. ordersrc:
  18416. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18417. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18418. type: integer
  18419. orderstatus:
  18420. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18421. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18422. 16:成交失败违约(荷兰式竞拍专用)
  18423. type: integer
  18424. ordertime:
  18425. description: 委托时间
  18426. type: string
  18427. preorderid:
  18428. description: 关联预埋单号(止盈止损单时填写)
  18429. type: string
  18430. pricemode:
  18431. description: '取价方式 - 1:市价 2: 限价'
  18432. type: integer
  18433. qtydecimalplace:
  18434. description: 商品报价小数位
  18435. type: integer
  18436. relatedid:
  18437. description: 关联单号(交割单)
  18438. type: string
  18439. tradedate:
  18440. description: 交易日(yyyyMMdd)
  18441. type: string
  18442. trademode:
  18443. description: 交易模式
  18444. type: integer
  18445. tradeqty:
  18446. description: 成交数量
  18447. type: number
  18448. unfreezecharge:
  18449. description: 解冻手续费
  18450. type: number
  18451. unfreezemargin:
  18452. description: 解冻保证金
  18453. type: number
  18454. validtime:
  18455. description: 有效期限
  18456. type: string
  18457. validtype:
  18458. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18459. type: integer
  18460. volumetype:
  18461. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18462. type: integer
  18463. required:
  18464. - accountid
  18465. - buildtype
  18466. - buyorsell
  18467. - goodsid
  18468. - marketid
  18469. - operatetype
  18470. - orderqty
  18471. - ordertime
  18472. - pricemode
  18473. - tradedate
  18474. - validtype
  18475. type: object
  18476. order.QueryTradePositionRsp:
  18477. properties:
  18478. accountid:
  18479. description: 资金账户
  18480. type: integer
  18481. agreeunit:
  18482. description: 合约单位
  18483. type: number
  18484. averageprice:
  18485. description: 持仓均价
  18486. type: number
  18487. buyorsell:
  18488. description: 方向 - 0:买 1:卖
  18489. type: integer
  18490. closetotalqty:
  18491. description: 平仓总数量
  18492. type: number
  18493. curholderamount:
  18494. description: 当前持仓总金额[商品币种]
  18495. type: number
  18496. curpositionqty:
  18497. description: 当前持仓总数量
  18498. type: number
  18499. currencyid:
  18500. description: 报价货币ID
  18501. type: integer
  18502. curtdposition:
  18503. description: 期末今日头寸
  18504. type: number
  18505. decimalplace:
  18506. description: 报价小数位
  18507. type: integer
  18508. enableqty:
  18509. description: 可用量
  18510. type: number
  18511. fretdposition:
  18512. description: 冻结今日头寸
  18513. type: number
  18514. frozenqty:
  18515. description: 持仓冻结数量
  18516. type: number
  18517. goodscode:
  18518. description: 商品代码
  18519. type: string
  18520. goodsid:
  18521. description: 商品Id
  18522. type: integer
  18523. goodsname:
  18524. description: 商品名称
  18525. type: string
  18526. goodunit:
  18527. description: 报价单位
  18528. type: string
  18529. goodunitid:
  18530. description: 报价单位ID
  18531. type: integer
  18532. holderamount:
  18533. description: 期初持仓总金额[商品币种]
  18534. type: number
  18535. lastprice:
  18536. description: 最新价
  18537. type: number
  18538. marketamount:
  18539. description: 市值
  18540. type: number
  18541. marketid:
  18542. description: 所属市场ID
  18543. type: integer
  18544. openreqqty:
  18545. description: 开仓申请数量(用于比较最大持仓数量)
  18546. type: number
  18547. opentotalqty:
  18548. description: 开仓总数量
  18549. type: number
  18550. otherfrozenqty:
  18551. description: 持仓其他冻结数量(交割冻结)
  18552. type: number
  18553. positionpl:
  18554. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18555. * 合约单位
  18556. type: number
  18557. positionplrate:
  18558. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18559. type: number
  18560. positionqty:
  18561. description: 期初持仓数量
  18562. type: number
  18563. qtydecimalplace:
  18564. description: 成交量小数位
  18565. type: integer
  18566. refgoodscode:
  18567. description: 参考商品代码
  18568. type: string
  18569. refgoodsid:
  18570. description: 参考商品ID
  18571. type: integer
  18572. tnqty:
  18573. description: T+N冻结总量
  18574. type: number
  18575. tnusedqty:
  18576. description: T+N使用量(可以使用T+N的冻结数量)
  18577. type: number
  18578. trademode:
  18579. description: 交易模式
  18580. type: integer
  18581. tradeproperty:
  18582. description: 交易属性
  18583. type: integer
  18584. usedmargin:
  18585. description: 占用保证金[商品币种]
  18586. type: number
  18587. required:
  18588. - goodsid
  18589. type: object
  18590. pb.GoodsMarginCfgStruct:
  18591. properties:
  18592. CustomerTypeID:
  18593. description: 投资者客户类型
  18594. type: integer
  18595. GoodsID:
  18596. description: 商品ID
  18597. type: integer
  18598. IsDefault:
  18599. description: 是否默认标志位
  18600. type: integer
  18601. LockMarginValue:
  18602. description: 锁仓保证金
  18603. type: number
  18604. MarginAlgorithm:
  18605. description: 保证金计算方式
  18606. type: integer
  18607. MarketMarginValue:
  18608. description: 即市保证金值
  18609. type: number
  18610. RealMarginAlgorithm:
  18611. description: 实付保证金计算方式
  18612. type: integer
  18613. RealMarginValue:
  18614. description: 实付比例
  18615. type: number
  18616. ReckonMarginValue:
  18617. description: 结算保证金值
  18618. type: number
  18619. type: object
  18620. quote.HistoryData:
  18621. properties:
  18622. c:
  18623. description: 收盘价
  18624. type: number
  18625. f:
  18626. description: 是否补充数据
  18627. type: boolean
  18628. h:
  18629. description: 最高价
  18630. type: number
  18631. hv:
  18632. description: 持仓量
  18633. type: integer
  18634. l:
  18635. description: 最低价
  18636. type: number
  18637. o:
  18638. description: 开盘价
  18639. type: number
  18640. s:
  18641. description: 结算价,日线周期(包括)以上才有
  18642. type: number
  18643. ts:
  18644. description: 时间
  18645. type: string
  18646. tt:
  18647. description: 总金额
  18648. type: number
  18649. tv:
  18650. description: 总量(成交量)
  18651. type: integer
  18652. type: object
  18653. quote.HistoryTikData:
  18654. properties:
  18655. AV:
  18656. description: 卖量
  18657. type: integer
  18658. Ask:
  18659. description: 卖价
  18660. type: number
  18661. BV:
  18662. description: 买量
  18663. type: integer
  18664. Bid:
  18665. description: 买价
  18666. type: number
  18667. HI:
  18668. description: 单笔持仓
  18669. type: integer
  18670. HV:
  18671. description: 持仓量
  18672. type: integer
  18673. PE:
  18674. description: 现价
  18675. type: number
  18676. TDR:
  18677. description: 交易方向,0:买 1:卖
  18678. type: integer
  18679. TK:
  18680. description: 交易类型
  18681. type: integer
  18682. TS:
  18683. description: 行情时间文本
  18684. type: string
  18685. TT:
  18686. description: 现金额
  18687. type: number
  18688. Vol:
  18689. description: 现量
  18690. type: integer
  18691. type: object
  18692. quote.QueryQuoteDayRsp:
  18693. properties:
  18694. ask:
  18695. description: 卖1
  18696. type: number
  18697. ask2:
  18698. description: 卖2
  18699. type: number
  18700. ask3:
  18701. description: 卖3
  18702. type: number
  18703. ask4:
  18704. description: 卖4
  18705. type: number
  18706. ask5:
  18707. description: 卖5
  18708. type: number
  18709. ask6:
  18710. description: 卖6
  18711. type: number
  18712. ask7:
  18713. description: 卖7
  18714. type: number
  18715. ask8:
  18716. description: 卖8
  18717. type: number
  18718. ask9:
  18719. description: 卖9
  18720. type: number
  18721. ask10:
  18722. description: 卖10
  18723. type: number
  18724. askorderid:
  18725. description: 卖单号1
  18726. type: integer
  18727. askorderid2:
  18728. description: 卖单号2
  18729. type: integer
  18730. askorderid3:
  18731. description: 卖单号3
  18732. type: integer
  18733. askorderid4:
  18734. description: 卖单号4
  18735. type: integer
  18736. askorderid5:
  18737. description: 卖单号5
  18738. type: integer
  18739. askordervolume:
  18740. description: 卖单量1
  18741. type: integer
  18742. askordervolume2:
  18743. description: 卖单量2
  18744. type: integer
  18745. askordervolume3:
  18746. description: 卖单量3
  18747. type: integer
  18748. askordervolume4:
  18749. description: 卖单量4
  18750. type: integer
  18751. askordervolume5:
  18752. description: 卖单量5
  18753. type: integer
  18754. askordervolume6:
  18755. description: 卖单量6
  18756. type: integer
  18757. askordervolume7:
  18758. description: 卖单量7
  18759. type: integer
  18760. askordervolume8:
  18761. description: 卖单量8
  18762. type: integer
  18763. askordervolume9:
  18764. description: 卖单量9
  18765. type: integer
  18766. askordervolume10:
  18767. description: 卖单量10
  18768. type: integer
  18769. askqueueinfo:
  18770. description: 大利市卖港股用
  18771. type: string
  18772. askvolume:
  18773. description: 卖量1
  18774. type: integer
  18775. askvolume2:
  18776. description: 卖量2
  18777. type: integer
  18778. askvolume3:
  18779. description: 卖量3
  18780. type: integer
  18781. askvolume4:
  18782. description: 卖量4
  18783. type: integer
  18784. askvolume5:
  18785. description: 卖量5
  18786. type: integer
  18787. askvolume6:
  18788. description: 卖量6
  18789. type: integer
  18790. askvolume7:
  18791. description: 卖量7
  18792. type: integer
  18793. askvolume8:
  18794. description: 卖量8
  18795. type: integer
  18796. askvolume9:
  18797. description: 卖量9
  18798. type: integer
  18799. askvolume10:
  18800. description: 卖量10
  18801. type: integer
  18802. averageprice:
  18803. description: 均价
  18804. type: number
  18805. bid:
  18806. description: 买1
  18807. type: number
  18808. bid2:
  18809. description: 买2
  18810. type: number
  18811. bid3:
  18812. description: 买3
  18813. type: number
  18814. bid4:
  18815. description: 买4
  18816. type: number
  18817. bid5:
  18818. description: 买5
  18819. type: number
  18820. bid6:
  18821. description: 买6
  18822. type: number
  18823. bid7:
  18824. description: 买7
  18825. type: number
  18826. bid8:
  18827. description: 买8
  18828. type: number
  18829. bid9:
  18830. description: 买9
  18831. type: number
  18832. bid10:
  18833. description: 买10
  18834. type: number
  18835. bidorderid:
  18836. description: 买单号1
  18837. type: integer
  18838. bidorderid2:
  18839. description: 买单号2
  18840. type: integer
  18841. bidorderid3:
  18842. description: 买单号3
  18843. type: integer
  18844. bidorderid4:
  18845. description: 买单号4
  18846. type: integer
  18847. bidorderid5:
  18848. description: 买单号5
  18849. type: integer
  18850. bidordervolume:
  18851. description: 买单量1
  18852. type: integer
  18853. bidordervolume2:
  18854. description: 买单量2
  18855. type: integer
  18856. bidordervolume3:
  18857. description: 买单量3
  18858. type: integer
  18859. bidordervolume4:
  18860. description: 买单量4
  18861. type: integer
  18862. bidordervolume5:
  18863. description: 买单量5
  18864. type: integer
  18865. bidordervolume6:
  18866. description: 买单量6
  18867. type: integer
  18868. bidordervolume7:
  18869. description: 买单量7
  18870. type: integer
  18871. bidordervolume8:
  18872. description: 买单量8
  18873. type: integer
  18874. bidordervolume9:
  18875. description: 买单量9
  18876. type: integer
  18877. bidordervolume10:
  18878. description: 买单量10
  18879. type: integer
  18880. bidqueueinfo:
  18881. description: 大利市买港股用
  18882. type: string
  18883. bidvolume:
  18884. description: 买量1
  18885. type: integer
  18886. bidvolume2:
  18887. description: 买量2
  18888. type: integer
  18889. bidvolume3:
  18890. description: 买量3
  18891. type: integer
  18892. bidvolume4:
  18893. description: 买量4
  18894. type: integer
  18895. bidvolume5:
  18896. description: 买量5
  18897. type: integer
  18898. bidvolume6:
  18899. description: 买量6
  18900. type: integer
  18901. bidvolume7:
  18902. description: 买量7
  18903. type: integer
  18904. bidvolume8:
  18905. description: 买量8
  18906. type: integer
  18907. bidvolume9:
  18908. description: 买量9
  18909. type: integer
  18910. bidvolume10:
  18911. description: 买量10
  18912. type: integer
  18913. calloptionpremiums:
  18914. description: 认购期权1
  18915. type: integer
  18916. calloptionpremiums2:
  18917. description: 认购期权2
  18918. type: integer
  18919. calloptionpremiums3:
  18920. description: 认购期权3
  18921. type: integer
  18922. calloptionpremiums4:
  18923. description: 认购期权4
  18924. type: integer
  18925. calloptionpremiums5:
  18926. description: 认购期权5
  18927. type: integer
  18928. cleartime:
  18929. description: 清盘时间
  18930. type: integer
  18931. exchangecode:
  18932. description: 交易所代码
  18933. type: integer
  18934. exchangedate:
  18935. description: 交易日
  18936. type: integer
  18937. goodscode:
  18938. description: 商品代码
  18939. type: string
  18940. grepmarketprice:
  18941. description: 暗盘价 港股专用
  18942. type: number
  18943. highest:
  18944. description: 最高价
  18945. type: number
  18946. holdincrement:
  18947. description: 单笔持仓
  18948. type: integer
  18949. holdvolume:
  18950. description: 持仓
  18951. type: integer
  18952. iep:
  18953. description: 平衡价 港股专用
  18954. type: number
  18955. iev:
  18956. description: 平衡量 港股专用
  18957. type: number
  18958. inventory:
  18959. description: 库存
  18960. type: integer
  18961. iscleared:
  18962. description: 是否清盘标志
  18963. type: integer
  18964. issettled:
  18965. description: 是否结算标志
  18966. type: integer
  18967. last:
  18968. description: 最新价
  18969. type: number
  18970. lastlot:
  18971. description: 最新成交手数
  18972. type: integer
  18973. lasttime:
  18974. description: 行情时间(只有现价变化行情时间才变化)
  18975. type: string
  18976. lastturnover:
  18977. description: 最新成交金额
  18978. type: number
  18979. lastvolume:
  18980. description: 最新成交量
  18981. type: integer
  18982. limitdown:
  18983. description: 跌停价
  18984. type: number
  18985. limitup:
  18986. description: 涨停价
  18987. type: number
  18988. lowest:
  18989. description: 最低价
  18990. type: number
  18991. nontotalholdervolume:
  18992. description: 非交易持仓量
  18993. type: integer
  18994. nontotallot:
  18995. description: 非交易总手数
  18996. type: integer
  18997. nontotalturnover:
  18998. description: 非交易总金额
  18999. type: integer
  19000. nontotalvolume:
  19001. description: 非交易总量
  19002. type: integer
  19003. opened:
  19004. description: 开盘价
  19005. type: number
  19006. opentime:
  19007. description: 开盘时间
  19008. type: string
  19009. orderid:
  19010. description: 序号
  19011. type: integer
  19012. preclose:
  19013. description: 昨收
  19014. type: number
  19015. preholdvolume:
  19016. description: 昨持仓
  19017. type: integer
  19018. presettle:
  19019. description: 昨结价
  19020. type: number
  19021. publictradetype:
  19022. description: 公共交易标志类型 港股专用
  19023. type: string
  19024. putoptionpremiums:
  19025. description: 认沽期权1
  19026. type: integer
  19027. putoptionpremiums2:
  19028. description: 认沽期权2
  19029. type: integer
  19030. putoptionpremiums3:
  19031. description: 认沽期权3
  19032. type: integer
  19033. putoptionpremiums4:
  19034. description: 认沽期权4
  19035. type: integer
  19036. putoptionpremiums5:
  19037. description: 认沽期权5
  19038. type: integer
  19039. settle:
  19040. description: 结算价
  19041. type: number
  19042. strikeprice:
  19043. description: 发行价
  19044. type: number
  19045. totalaskvolume:
  19046. description: 内盘
  19047. type: integer
  19048. totalbidvolume:
  19049. description: 外盘
  19050. type: integer
  19051. totallot:
  19052. description: 总手数
  19053. type: integer
  19054. totalturnover:
  19055. description: 总金额
  19056. type: number
  19057. totalvolume:
  19058. description: 总量
  19059. type: integer
  19060. utclasttime:
  19061. description: utc的行情时间
  19062. type: string
  19063. type: object
  19064. quote.QueryTSDataRsp:
  19065. properties:
  19066. Count:
  19067. description: 交易日应有数据个数
  19068. type: integer
  19069. decimalPlace:
  19070. description: 小数位
  19071. type: integer
  19072. endTime:
  19073. description: 结束时间
  19074. type: string
  19075. goodsCode:
  19076. description: 商品代码
  19077. type: string
  19078. historyDatas:
  19079. description: 历史数据
  19080. items:
  19081. $ref: '#/definitions/quote.HistoryData'
  19082. type: array
  19083. outGoodsCode:
  19084. description: 外部商品代码
  19085. type: string
  19086. preSettle:
  19087. description: 昨结价
  19088. type: number
  19089. runSteps:
  19090. description: 交易日开休市计划
  19091. items:
  19092. $ref: '#/definitions/quote.TSDataRunStep'
  19093. type: array
  19094. startTime:
  19095. description: 开始时间
  19096. type: string
  19097. tradeDate:
  19098. description: 交易日
  19099. type: string
  19100. type: object
  19101. quote.TSDataRunStep:
  19102. properties:
  19103. end:
  19104. description: 真实结束时间
  19105. type: string
  19106. endflag:
  19107. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  19108. type: integer
  19109. endtime:
  19110. description: 结束时间(HH:mm)
  19111. type: string
  19112. endweekday:
  19113. description: 结束周几
  19114. type: integer
  19115. groupid:
  19116. description: 分组ID
  19117. type: integer
  19118. runstep:
  19119. description: 运行阶段 - 2:连续交易
  19120. type: integer
  19121. sectionid:
  19122. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  19123. 结束时间=结算时间 结束周几=结算周几
  19124. type: integer
  19125. start:
  19126. description: 真实开始时间
  19127. type: string
  19128. startflag:
  19129. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  19130. type: integer
  19131. starttime:
  19132. description: 起始时间(HH:mm)
  19133. type: string
  19134. startweekday:
  19135. description: 起始周几
  19136. type: integer
  19137. tradeweekday:
  19138. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  19139. type: integer
  19140. type: object
  19141. szdz.QueryConvertLogRsp:
  19142. properties:
  19143. accountid:
  19144. description: 资金账户ID
  19145. type: integer
  19146. clientticket:
  19147. description: 客户端流水号
  19148. type: string
  19149. converttype:
  19150. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  19151. type: integer
  19152. createtime:
  19153. description: 记账时间
  19154. type: string
  19155. daymaxvalue:
  19156. description: 配置当日最大转入限制
  19157. type: number
  19158. daymaxvalue2:
  19159. description: 配置当日最大转入限制(转入)
  19160. type: number
  19161. goodscode:
  19162. description: 商品代码
  19163. type: string
  19164. goodsname:
  19165. description: 商品名称
  19166. type: string
  19167. handlestatus:
  19168. description: 处理状态
  19169. type: integer
  19170. innergoodsid:
  19171. description: 内部商品ID
  19172. type: integer
  19173. inratio:
  19174. description: 配置转入比值
  19175. type: integer
  19176. invalue:
  19177. description: 目标值
  19178. type: number
  19179. logid:
  19180. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19181. type: integer
  19182. mobile:
  19183. description: 手机号码(加密存储)
  19184. type: string
  19185. outergoodscode:
  19186. description: 外部商品代码[JD\PD]
  19187. type: string
  19188. outratio:
  19189. description: 配置转出比值
  19190. type: integer
  19191. outvalue:
  19192. description: 源值
  19193. type: number
  19194. pddecimalplace:
  19195. description: PD小数位
  19196. type: integer
  19197. qty:
  19198. description: 数量
  19199. type: string
  19200. remark:
  19201. description: 备注
  19202. type: string
  19203. sessionid:
  19204. description: 会话ID
  19205. type: integer
  19206. timemaxvalue:
  19207. description: 配置单次最大转入限制
  19208. type: number
  19209. timemaxvalue2:
  19210. description: 配置单次最大转入限制(转入)
  19211. type: number
  19212. timeminvalue:
  19213. description: 配置单次最小数量限制
  19214. type: number
  19215. timeminvalue2:
  19216. description: 配置单次最小数量限制(转入)
  19217. type: number
  19218. tradedate:
  19219. description: 交易日(yyyyMMdd)
  19220. type: string
  19221. userid:
  19222. description: 用户ID
  19223. type: integer
  19224. required:
  19225. - logid
  19226. type: object
  19227. szdz.QueryGoodsPickupRsp:
  19228. properties:
  19229. accountid:
  19230. description: 账户ID
  19231. type: integer
  19232. address:
  19233. description: 提货人详细地址
  19234. type: string
  19235. auditer:
  19236. description: 审核人
  19237. type: integer
  19238. audittime:
  19239. description: 审核时间
  19240. type: string
  19241. cardnum:
  19242. description: 提货人证件号码
  19243. type: string
  19244. cardtypeid:
  19245. description: 提货人证件类型
  19246. type: integer
  19247. checkremark:
  19248. description: 审核备注
  19249. type: string
  19250. goodscode:
  19251. description: 商品代码
  19252. type: string
  19253. goodsid:
  19254. description: 商品ID
  19255. type: integer
  19256. goodsname:
  19257. description: 商品名称
  19258. type: string
  19259. handlestatus:
  19260. description: 处理状态
  19261. type: integer
  19262. marketid:
  19263. description: 市场ID
  19264. type: integer
  19265. phonenum:
  19266. description: 提货人联系方式
  19267. type: string
  19268. qty:
  19269. description: 提货数量
  19270. type: number
  19271. recivername:
  19272. description: 提货人姓名
  19273. type: string
  19274. reqtime:
  19275. description: 更新时间
  19276. type: string
  19277. takemode:
  19278. description: 提货方式 - 2:自提 3:配送
  19279. type: integer
  19280. takeorderid:
  19281. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19282. type: string
  19283. takeorderstatus:
  19284. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19285. type: integer
  19286. takeremark:
  19287. description: 提货备注
  19288. type: string
  19289. tradedate:
  19290. description: 交易日(yyyyMMdd)
  19291. type: string
  19292. userid:
  19293. description: 用户ID
  19294. type: integer
  19295. required:
  19296. - takeorderid
  19297. type: object
  19298. szdz.QueryRecieptOrderRsp:
  19299. properties:
  19300. accountName:
  19301. description: 所属账号名称(已脱敏)
  19302. type: string
  19303. accountid:
  19304. description: 资金账号
  19305. type: integer
  19306. buyorsell:
  19307. description: 方向 - 0:买 1:卖
  19308. type: integer
  19309. enableqty:
  19310. description: 可摘数量
  19311. type: integer
  19312. goodscode:
  19313. description: 商品代码
  19314. type: string
  19315. goodsid:
  19316. description: 商品ID
  19317. type: integer
  19318. goodsname:
  19319. description: 商品名称
  19320. type: string
  19321. orderid:
  19322. description: 委托单号
  19323. type: string
  19324. orderprice:
  19325. description: 委托价格
  19326. type: number
  19327. ordertime:
  19328. description: 委托时间
  19329. type: string
  19330. tradedate:
  19331. description: 交易日(yyyyMMdd)
  19332. type: string
  19333. required:
  19334. - ordertime
  19335. type: object
  19336. szdz.QuerySZDZTradePositionRsp:
  19337. properties:
  19338. accountid:
  19339. description: 账号Id
  19340. type: integer
  19341. agreeunit:
  19342. description: 合约单位
  19343. type: number
  19344. averageprice:
  19345. description: 持仓均价
  19346. type: number
  19347. buyorsell:
  19348. description: 方向 - 0:买 1:卖
  19349. type: integer
  19350. closetotalqty:
  19351. description: 平仓总数量
  19352. type: integer
  19353. curholderamount:
  19354. description: 当前持仓总金额
  19355. type: number
  19356. curpositionqty:
  19357. description: 当前持仓总数量
  19358. type: integer
  19359. currencyid:
  19360. description: 报价货币ID
  19361. type: integer
  19362. curtdposition:
  19363. description: 期末今日头寸
  19364. type: integer
  19365. decimalplace:
  19366. description: 报价小数位
  19367. type: integer
  19368. enableqty:
  19369. description: 可用量
  19370. type: integer
  19371. fretdposition:
  19372. description: 冻结今日头寸
  19373. type: integer
  19374. frozenqty:
  19375. description: 持仓冻结数量
  19376. type: integer
  19377. goodscode:
  19378. description: 商品代码(内部)
  19379. type: string
  19380. goodsid:
  19381. description: 商品Id
  19382. type: integer
  19383. goodsname:
  19384. description: 商品名称
  19385. type: string
  19386. goodunit:
  19387. description: 报价单位
  19388. type: string
  19389. goodunitid:
  19390. description: 报价单位ID
  19391. type: integer
  19392. holderamount:
  19393. description: 期初持仓总金额
  19394. type: number
  19395. marketid:
  19396. description: 市场ID
  19397. type: integer
  19398. openreqqty:
  19399. description: 开仓申请数量
  19400. type: integer
  19401. opentotalqty:
  19402. description: 开仓总数量
  19403. type: integer
  19404. otherfrozenqty:
  19405. description: 持仓其他冻结数量(交割冻结)
  19406. type: integer
  19407. positionqty:
  19408. description: 期初持仓数量
  19409. type: integer
  19410. szdz3freezqty:
  19411. description: 尚志大宗转换冻结总数量
  19412. type: integer
  19413. tnqty:
  19414. description: T+N冻结总量
  19415. type: integer
  19416. tnusedqty:
  19417. description: T+N使用量
  19418. type: integer
  19419. trademode:
  19420. description: 交易模式
  19421. type: integer
  19422. usedmargin:
  19423. description: 占用保证金
  19424. type: number
  19425. type: object
  19426. taaccount.QueryAmountLogRsp:
  19427. properties:
  19428. OPERATETYPENAME:
  19429. description: 资金操作类型名称
  19430. type: string
  19431. accountid:
  19432. description: 资金账户ID
  19433. type: integer
  19434. agoodscode:
  19435. description: 竞拍商品代码
  19436. type: string
  19437. agoodsname:
  19438. description: 竞拍商品名称
  19439. type: string
  19440. amount:
  19441. description: 资金金额
  19442. type: number
  19443. amountadjusttype:
  19444. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19445. type: integer
  19446. autoid:
  19447. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19448. type: integer
  19449. balance:
  19450. description: 期初余额
  19451. type: number
  19452. businesscode:
  19453. description: 业务编号
  19454. type: integer
  19455. createtime:
  19456. description: 发生时间
  19457. type: string
  19458. currencyid:
  19459. description: 币种ID
  19460. type: integer
  19461. currentbalance:
  19462. description: 期末余额(变动后金额)
  19463. type: number
  19464. dgoodscode:
  19465. description: 交割商品代码
  19466. type: string
  19467. dgoodsname:
  19468. description: 交割商品名称
  19469. type: string
  19470. goodscode:
  19471. description: 商品代码
  19472. type: string
  19473. goodsid:
  19474. description: 商品ID
  19475. type: integer
  19476. goodsname:
  19477. description: 商品名称
  19478. type: string
  19479. marketid:
  19480. description: 市场ID
  19481. type: integer
  19482. marketname:
  19483. description: 市场名称
  19484. type: string
  19485. moneyticket:
  19486. description: 资金流水号:银行端流水号
  19487. type: integer
  19488. operatetype:
  19489. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19490. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19491. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19492. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19493. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19494. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19495. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19496. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19497. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19498. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19499. type: integer
  19500. relationorderid:
  19501. description: 关联单号
  19502. type: string
  19503. remark:
  19504. description: 备注
  19505. type: string
  19506. trademode:
  19507. description: 交易模式
  19508. type: integer
  19509. required:
  19510. - accountid
  19511. - amount
  19512. - amountadjusttype
  19513. - autoid
  19514. - balance
  19515. - createtime
  19516. - currentbalance
  19517. - operatetype
  19518. type: object
  19519. taaccount.QueryHisAmountLogRsp:
  19520. properties:
  19521. OPERATETYPENAME:
  19522. description: 资金操作类型名称
  19523. type: string
  19524. accountid:
  19525. description: 资金账户ID
  19526. type: integer
  19527. agoodscode:
  19528. description: 竞拍商品代码
  19529. type: string
  19530. agoodsname:
  19531. description: 竞拍商品名称
  19532. type: string
  19533. amount:
  19534. description: 资金金额
  19535. type: number
  19536. amountadjusttype:
  19537. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19538. type: integer
  19539. autoid:
  19540. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19541. type: integer
  19542. balance:
  19543. description: 期初余额
  19544. type: number
  19545. businesscode:
  19546. description: 业务编号
  19547. type: integer
  19548. createtime:
  19549. description: 发生时间
  19550. type: string
  19551. currencyid:
  19552. description: 币种ID
  19553. type: integer
  19554. currentbalance:
  19555. description: 期末余额(变动后金额)
  19556. type: number
  19557. dgoodscode:
  19558. description: 交割商品代码
  19559. type: string
  19560. dgoodsname:
  19561. description: 交割商品名称
  19562. type: string
  19563. goodscode:
  19564. description: 商品代码
  19565. type: string
  19566. goodsid:
  19567. description: 商品ID
  19568. type: integer
  19569. goodsname:
  19570. description: 商品名称
  19571. type: string
  19572. histradedate:
  19573. description: 历史交易日
  19574. type: string
  19575. isvaliddata:
  19576. description: 是否有效 - 0:无效 1:有效
  19577. type: integer
  19578. marketid:
  19579. description: 市场ID
  19580. type: integer
  19581. marketname:
  19582. description: 市场名称
  19583. type: string
  19584. moneyticket:
  19585. description: 资金流水号:银行端流水号
  19586. type: integer
  19587. operatetype:
  19588. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19589. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19590. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19591. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19592. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19593. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19594. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19595. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19596. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19597. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19598. type: integer
  19599. relationorderid:
  19600. description: 关联单号
  19601. type: string
  19602. remark:
  19603. description: 备注
  19604. type: string
  19605. trademode:
  19606. description: 交易模式
  19607. type: integer
  19608. required:
  19609. - accountid
  19610. - amount
  19611. - amountadjusttype
  19612. - autoid
  19613. - balance
  19614. - createtime
  19615. - currentbalance
  19616. - histradedate
  19617. - operatetype
  19618. type: object
  19619. trade.QueryRecieptOrderRsp:
  19620. properties:
  19621. accountName:
  19622. description: 所属账号名称(已脱敏)
  19623. type: string
  19624. accountid:
  19625. description: 资金账号
  19626. type: integer
  19627. buyorsell:
  19628. description: 方向 - 0:买 1:卖
  19629. type: integer
  19630. enableqty:
  19631. description: 可摘数量
  19632. type: integer
  19633. goodscode:
  19634. description: 商品代码
  19635. type: string
  19636. goodsid:
  19637. description: 商品ID
  19638. type: integer
  19639. goodsname:
  19640. description: 商品名称
  19641. type: string
  19642. orderid:
  19643. description: 委托单号
  19644. type: string
  19645. orderprice:
  19646. description: 委托价格
  19647. type: number
  19648. ordertime:
  19649. description: 委托时间
  19650. type: string
  19651. tradedate:
  19652. description: 交易日(yyyyMMdd)
  19653. type: string
  19654. required:
  19655. - ordertime
  19656. type: object
  19657. user.LoginQueryRsp:
  19658. properties:
  19659. areaRoles:
  19660. description: 所属角色信息
  19661. items:
  19662. $ref: '#/definitions/models.Arearole'
  19663. type: array
  19664. externalExchanges:
  19665. description: 外部交易所
  19666. items:
  19667. $ref: '#/definitions/models.Externalexchange'
  19668. type: array
  19669. goodsgroups:
  19670. description: 商品组
  19671. items:
  19672. $ref: '#/definitions/models.Goodsgroup'
  19673. type: array
  19674. loginAccount:
  19675. $ref: '#/definitions/models.Loginaccount'
  19676. description: 登录账号
  19677. markets:
  19678. description: 市场
  19679. items:
  19680. $ref: '#/definitions/models.Market'
  19681. type: array
  19682. systemParams:
  19683. description: 系统参数
  19684. items:
  19685. $ref: '#/definitions/models.Systemparam'
  19686. type: array
  19687. userAccount:
  19688. $ref: '#/definitions/models.Useraccount'
  19689. description: 用户账号
  19690. userInfo:
  19691. $ref: '#/definitions/models.Userinfo'
  19692. description: 用户信息
  19693. username:
  19694. description: 用户姓名
  19695. type: string
  19696. type: object
  19697. info:
  19698. contact: {}
  19699. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19700. termsOfService: http://www.muchinfo.cn
  19701. title: MTP2.0 查询服务 API
  19702. version: "1.0"
  19703. paths:
  19704. /CPTrade/QueryCPTradeMyBidInfos:
  19705. get:
  19706. parameters:
  19707. - description: 资金账户
  19708. in: query
  19709. name: accountid
  19710. required: true
  19711. type: integer
  19712. - description: 预售市场ID
  19713. in: query
  19714. name: marketid
  19715. type: integer
  19716. - description: 预售商品ID
  19717. in: query
  19718. name: goodsid
  19719. type: integer
  19720. produces:
  19721. - application/json
  19722. responses:
  19723. "200":
  19724. description: OK
  19725. schema:
  19726. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19727. "500":
  19728. description: Internal Server Error
  19729. schema:
  19730. $ref: '#/definitions/app.Response'
  19731. security:
  19732. - ApiKeyAuth: []
  19733. summary: 查询产能预售我的出价信息
  19734. tags:
  19735. - 产能预售
  19736. /CPTrade/QueryCPTradeOrderDetail:
  19737. get:
  19738. parameters:
  19739. - description: 预售商品ID
  19740. in: query
  19741. name: goodsid
  19742. type: integer
  19743. - description: 预售市场ID
  19744. in: query
  19745. name: marketid
  19746. type: integer
  19747. - description: 预售商品ID列表 - 格式:1,2,3
  19748. in: query
  19749. name: goodsids
  19750. type: string
  19751. produces:
  19752. - application/json
  19753. responses:
  19754. "200":
  19755. description: OK
  19756. schema:
  19757. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19758. "500":
  19759. description: Internal Server Error
  19760. schema:
  19761. $ref: '#/definitions/app.Response'
  19762. security:
  19763. - ApiKeyAuth: []
  19764. summary: 查询产能预售委托单信息
  19765. tags:
  19766. - 产能预售
  19767. /CPTrade/QueryMyCPTradeGoods:
  19768. get:
  19769. parameters:
  19770. - description: 资金账户
  19771. in: query
  19772. name: accountid
  19773. required: true
  19774. type: integer
  19775. produces:
  19776. - application/json
  19777. responses:
  19778. "200":
  19779. description: OK
  19780. schema:
  19781. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19782. "500":
  19783. description: Internal Server Error
  19784. schema:
  19785. $ref: '#/definitions/app.Response'
  19786. security:
  19787. - ApiKeyAuth: []
  19788. summary: 查询我的预售信息
  19789. tags:
  19790. - 产能预售
  19791. /CPTrade/QueryPositionCancel:
  19792. get:
  19793. parameters:
  19794. - description: 账户ID
  19795. in: query
  19796. name: userid
  19797. required: true
  19798. type: integer
  19799. - description: 注销ID
  19800. in: query
  19801. name: cancelid
  19802. type: integer
  19803. - description: 资金账户ID
  19804. in: query
  19805. name: accountid
  19806. type: integer
  19807. produces:
  19808. - application/json
  19809. responses:
  19810. "200":
  19811. description: OK
  19812. schema:
  19813. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19814. "500":
  19815. description: Internal Server Error
  19816. schema:
  19817. $ref: '#/definitions/app.Response'
  19818. security:
  19819. - ApiKeyAuth: []
  19820. summary: 查询远期订单注销申请信息
  19821. tags:
  19822. - 产能预售
  19823. /CPTrade/QueryPreasleApply:
  19824. get:
  19825. parameters:
  19826. - description: 账户ID
  19827. in: query
  19828. name: userid
  19829. required: true
  19830. type: integer
  19831. - description: 申请ID
  19832. in: query
  19833. name: applyid
  19834. type: integer
  19835. - description: 资金账户ID
  19836. in: query
  19837. name: accountid
  19838. type: integer
  19839. produces:
  19840. - application/json
  19841. responses:
  19842. "200":
  19843. description: OK
  19844. schema:
  19845. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19846. "500":
  19847. description: Internal Server Error
  19848. schema:
  19849. $ref: '#/definitions/app.Response'
  19850. security:
  19851. - ApiKeyAuth: []
  19852. summary: 查询产能预售申请信息
  19853. tags:
  19854. - 产能预售
  19855. /CPTrade/QueryPresaleGoodsEx:
  19856. get:
  19857. parameters:
  19858. - description: 预售商品ID
  19859. in: query
  19860. name: goodsid
  19861. type: integer
  19862. - description: 预售市场ID
  19863. in: query
  19864. name: marketid
  19865. type: integer
  19866. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19867. in: query
  19868. name: presalemode
  19869. type: integer
  19870. - description: 预售商品ID列表 - 格式:1,2,3
  19871. in: query
  19872. name: goodsids
  19873. type: string
  19874. - description: 预售商品代码
  19875. in: query
  19876. name: goodscode
  19877. type: string
  19878. produces:
  19879. - application/json
  19880. responses:
  19881. "200":
  19882. description: OK
  19883. schema:
  19884. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19885. "500":
  19886. description: Internal Server Error
  19887. schema:
  19888. $ref: '#/definitions/app.Response'
  19889. security:
  19890. - ApiKeyAuth: []
  19891. summary: 查询产能预售商品扩展信息
  19892. tags:
  19893. - 产能预售
  19894. /CPTrade/QueryUserGoodsData:
  19895. get:
  19896. parameters:
  19897. - description: 资金账户ID
  19898. in: query
  19899. name: accountid
  19900. required: true
  19901. type: integer
  19902. produces:
  19903. - application/json
  19904. responses:
  19905. "200":
  19906. description: OK
  19907. schema:
  19908. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19909. "500":
  19910. description: Internal Server Error
  19911. schema:
  19912. $ref: '#/definitions/app.Response'
  19913. security:
  19914. - ApiKeyAuth: []
  19915. summary: 查询远期订单信息
  19916. tags:
  19917. - 产能预售
  19918. /Common/GetAllEnums:
  19919. get:
  19920. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19921. parameters:
  19922. - description: 起始自增ID
  19923. in: query
  19924. name: autoid
  19925. type: integer
  19926. produces:
  19927. - application/json
  19928. responses:
  19929. "200":
  19930. description: OK
  19931. schema:
  19932. $ref: '#/definitions/models.Enumdicitem'
  19933. "500":
  19934. description: Internal Server Error
  19935. schema:
  19936. $ref: '#/definitions/app.Response'
  19937. summary: 获取所有枚举信息
  19938. tags:
  19939. - 通用服务
  19940. /Common/GetClientMenus:
  19941. get:
  19942. parameters:
  19943. - description: 登录账号
  19944. in: query
  19945. name: loginID
  19946. required: true
  19947. type: integer
  19948. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19949. in: query
  19950. name: clientType
  19951. type: integer
  19952. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19953. in: query
  19954. name: name
  19955. type: string
  19956. produces:
  19957. - application/json
  19958. responses:
  19959. "200":
  19960. description: OK
  19961. schema:
  19962. items:
  19963. $ref: '#/definitions/common.ClientMenu'
  19964. type: array
  19965. "500":
  19966. description: Internal Server Error
  19967. schema:
  19968. $ref: '#/definitions/app.Response'
  19969. security:
  19970. - ApiKeyAuth: []
  19971. summary: 获取交易端菜单
  19972. tags:
  19973. - 通用服务
  19974. /Common/GetDivisions:
  19975. get:
  19976. produces:
  19977. - application/json
  19978. responses:
  19979. "200":
  19980. description: OK
  19981. schema:
  19982. $ref: '#/definitions/models.Division'
  19983. "500":
  19984. description: Internal Server Error
  19985. schema:
  19986. $ref: '#/definitions/app.Response'
  19987. summary: 查询区域信息
  19988. tags:
  19989. - 通用服务
  19990. /Common/GetPCWebMenus:
  19991. get:
  19992. parameters:
  19993. - description: 登录账号
  19994. in: query
  19995. name: loginID
  19996. required: true
  19997. type: integer
  19998. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19999. in: query
  20000. name: name
  20001. type: string
  20002. produces:
  20003. - application/json
  20004. responses:
  20005. "200":
  20006. description: OK
  20007. schema:
  20008. items:
  20009. $ref: '#/definitions/common.PCWebMenu'
  20010. type: array
  20011. "500":
  20012. description: Internal Server Error
  20013. schema:
  20014. $ref: '#/definitions/app.Response'
  20015. security:
  20016. - ApiKeyAuth: []
  20017. summary: 获取PCWeb交易端菜单
  20018. tags:
  20019. - 通用服务
  20020. /Common/GetServerTime:
  20021. get:
  20022. produces:
  20023. - application/json
  20024. responses:
  20025. "200":
  20026. description: OK
  20027. schema:
  20028. $ref: '#/definitions/app.Response'
  20029. "500":
  20030. description: Internal Server Error
  20031. schema:
  20032. $ref: '#/definitions/app.Response'
  20033. summary: 获取服务器时间
  20034. tags:
  20035. - 通用服务
  20036. /Common/NoticeReaded:
  20037. post:
  20038. parameters:
  20039. - description: 登录账号
  20040. in: query
  20041. name: loginID
  20042. required: true
  20043. type: integer
  20044. - description: 通知公告ID
  20045. in: query
  20046. name: noticeID
  20047. required: true
  20048. type: integer
  20049. produces:
  20050. - application/json
  20051. responses:
  20052. "200":
  20053. description: OK
  20054. schema:
  20055. $ref: '#/definitions/app.Response'
  20056. "500":
  20057. description: Internal Server Error
  20058. schema:
  20059. $ref: '#/definitions/app.Response'
  20060. security:
  20061. - ApiKeyAuth: []
  20062. summary: 通知公告设置已读请求
  20063. tags:
  20064. - 通用服务
  20065. /Common/QueryErrorInfos:
  20066. get:
  20067. description: 如果传入rowNumber,则返回此rowNumber后的数据
  20068. parameters:
  20069. - description: 起始行号前索引
  20070. in: query
  20071. name: rowNumber
  20072. type: string
  20073. produces:
  20074. - application/json
  20075. responses:
  20076. "200":
  20077. description: OK
  20078. schema:
  20079. $ref: '#/definitions/models.QueryErrorInfosRsp'
  20080. "500":
  20081. description: Internal Server Error
  20082. schema:
  20083. $ref: '#/definitions/app.Response'
  20084. summary: 获取数据库错误信息
  20085. tags:
  20086. - 通用服务
  20087. /Common/QueryImageConfigs:
  20088. get:
  20089. parameters:
  20090. - description: 用户id
  20091. in: query
  20092. name: userId
  20093. type: integer
  20094. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  20095. in: query
  20096. name: imageType
  20097. type: integer
  20098. produces:
  20099. - application/json
  20100. responses:
  20101. "200":
  20102. description: OK
  20103. schema:
  20104. $ref: '#/definitions/common.QueryImageConfigsRsp'
  20105. "500":
  20106. description: Internal Server Error
  20107. schema:
  20108. $ref: '#/definitions/app.Response'
  20109. summary: 查询轮播图配置信息
  20110. tags:
  20111. - 通用服务
  20112. /Common/QueryNotice:
  20113. get:
  20114. parameters:
  20115. - description: 页码
  20116. in: query
  20117. name: page
  20118. type: integer
  20119. - description: 每页条数
  20120. in: query
  20121. name: pagesize
  20122. type: integer
  20123. - description: 登录账号
  20124. in: query
  20125. name: loginID
  20126. required: true
  20127. type: integer
  20128. - description: 消息类型 - 1:公告通知 2:系统消息
  20129. in: query
  20130. name: msgType
  20131. type: integer
  20132. - description: 是否只获取未读信息
  20133. in: query
  20134. name: onlyUnRead
  20135. type: boolean
  20136. - description: 自增ID,传入后会返回这个ID后面的记录
  20137. in: query
  20138. name: lastID
  20139. type: integer
  20140. produces:
  20141. - application/json
  20142. responses:
  20143. "200":
  20144. description: OK
  20145. schema:
  20146. $ref: '#/definitions/common.QueryNoticeRsp'
  20147. "500":
  20148. description: Internal Server Error
  20149. schema:
  20150. $ref: '#/definitions/app.Response'
  20151. security:
  20152. - ApiKeyAuth: []
  20153. summary: 通知公告系统消息查询
  20154. tags:
  20155. - 通用服务
  20156. /Common/QueryProvincesAndCities:
  20157. get:
  20158. parameters:
  20159. - description: 省ID
  20160. in: query
  20161. name: provinceID
  20162. type: integer
  20163. produces:
  20164. - application/json
  20165. responses:
  20166. "200":
  20167. description: OK
  20168. schema:
  20169. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  20170. "500":
  20171. description: Internal Server Error
  20172. schema:
  20173. $ref: '#/definitions/app.Response'
  20174. summary: 查询省市信息(不包括区)
  20175. tags:
  20176. - 通用服务
  20177. /Common/QueryTableDefine:
  20178. get:
  20179. parameters:
  20180. - description: 表key
  20181. in: query
  20182. name: tableKey
  20183. type: string
  20184. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  20185. in: query
  20186. name: tableType
  20187. type: integer
  20188. produces:
  20189. - application/json
  20190. responses:
  20191. "200":
  20192. description: OK
  20193. schema:
  20194. $ref: '#/definitions/common.QueryTableDefineRsp'
  20195. "500":
  20196. description: Internal Server Error
  20197. schema:
  20198. $ref: '#/definitions/app.Response'
  20199. summary: 查询交易端列表头信息
  20200. tags:
  20201. - 通用服务
  20202. /Common/QueryTraderMenu:
  20203. get:
  20204. parameters:
  20205. - description: 登录账号
  20206. in: query
  20207. name: loginid
  20208. required: true
  20209. type: integer
  20210. produces:
  20211. - application/json
  20212. responses:
  20213. "200":
  20214. description: OK
  20215. schema:
  20216. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20217. "500":
  20218. description: Internal Server Error
  20219. schema:
  20220. $ref: '#/definitions/app.Response'
  20221. summary: 查询交易端菜单
  20222. tags:
  20223. - 通用服务
  20224. /Delivery/QueryDeliveryRelation:
  20225. get:
  20226. parameters:
  20227. - description: 商品ID
  20228. in: query
  20229. name: goodsid
  20230. type: integer
  20231. - description: 品种ID
  20232. in: query
  20233. name: deliverygoodsid
  20234. type: integer
  20235. - description: 市场ID
  20236. in: query
  20237. name: marketid
  20238. type: integer
  20239. produces:
  20240. - application/json
  20241. responses:
  20242. "200":
  20243. description: OK
  20244. schema:
  20245. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20246. "500":
  20247. description: Internal Server Error
  20248. schema:
  20249. $ref: '#/definitions/app.Response'
  20250. security:
  20251. - ApiKeyAuth: []
  20252. summary: 查询商品交割关系表
  20253. tags:
  20254. - 交割服务
  20255. /Ermcp/GetErmcpGoods:
  20256. get:
  20257. parameters:
  20258. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20259. in: query
  20260. name: userid
  20261. type: integer
  20262. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20263. in: query
  20264. name: lastUpdateTime
  20265. type: string
  20266. produces:
  20267. - application/json
  20268. responses:
  20269. "200":
  20270. description: OK
  20271. schema:
  20272. $ref: '#/definitions/models.ErmcpGoods'
  20273. "500":
  20274. description: Internal Server Error
  20275. schema:
  20276. $ref: '#/definitions/app.Response'
  20277. security:
  20278. - ApiKeyAuth: []
  20279. summary: 查询企业风管期货商品信息
  20280. tags:
  20281. - 企业风险管理(app)
  20282. /Ermcp/GetErmcpGoodsSortByPosition:
  20283. get:
  20284. parameters:
  20285. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20286. in: query
  20287. name: sortIndex
  20288. type: string
  20289. produces:
  20290. - application/json
  20291. responses:
  20292. "200":
  20293. description: OK
  20294. schema:
  20295. $ref: '#/definitions/models.Goodssortbypreposition'
  20296. "500":
  20297. description: Internal Server Error
  20298. schema:
  20299. $ref: '#/definitions/app.Response'
  20300. security:
  20301. - ApiKeyAuth: []
  20302. summary: 查询企业风管期货主力、次主力商品信息
  20303. tags:
  20304. - 企业风险管理(app)
  20305. /Ermcp/GetErmcpOutAccountStatus:
  20306. get:
  20307. parameters:
  20308. - description: 登录账号
  20309. in: query
  20310. name: loginID
  20311. required: true
  20312. type: integer
  20313. produces:
  20314. - application/json
  20315. responses:
  20316. "200":
  20317. description: OK
  20318. schema:
  20319. $ref: '#/definitions/models.Hedgemarketopenlog'
  20320. "500":
  20321. description: Internal Server Error
  20322. schema:
  20323. $ref: '#/definitions/app.Response'
  20324. security:
  20325. - ApiKeyAuth: []
  20326. summary: 获取目标登录账号当前对冲账号在线状态
  20327. tags:
  20328. - 企业风险管理(app)
  20329. /Ermcp/GetErmcpRoleFuncMenuLists:
  20330. get:
  20331. parameters:
  20332. - description: 登录账号
  20333. in: query
  20334. name: loginID
  20335. required: true
  20336. type: integer
  20337. produces:
  20338. - application/json
  20339. responses:
  20340. "200":
  20341. description: OK
  20342. schema:
  20343. $ref: '#/definitions/models.Funcmenulist'
  20344. "500":
  20345. description: Internal Server Error
  20346. schema:
  20347. $ref: '#/definitions/app.Response'
  20348. security:
  20349. - ApiKeyAuth: []
  20350. summary: 获取企业风管终端权限
  20351. tags:
  20352. - 企业风险管理(app)
  20353. /Ermcp/QueryAccMgrBizGroupSet:
  20354. get:
  20355. parameters:
  20356. - description: 用户ID
  20357. in: query
  20358. name: userid
  20359. required: true
  20360. type: integer
  20361. - description: 现货商品id
  20362. in: query
  20363. name: deliverygoodsid
  20364. type: integer
  20365. produces:
  20366. - application/json
  20367. responses:
  20368. "200":
  20369. description: OK
  20370. schema:
  20371. items:
  20372. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20373. type: array
  20374. "500":
  20375. description: Internal Server Error
  20376. schema:
  20377. $ref: '#/definitions/app.Response'
  20378. security:
  20379. - ApiKeyAuth: []
  20380. summary: 查询业务类型分组(账户管理/账户设置)
  20381. tags:
  20382. - 企业风险管理(app)
  20383. /Ermcp/QueryAccMgrLoginUser:
  20384. get:
  20385. parameters:
  20386. - description: 用户ID
  20387. in: query
  20388. name: userid
  20389. required: true
  20390. type: integer
  20391. - description: 用户类型 2-机构 7-企业成员
  20392. in: query
  20393. name: usertype
  20394. type: integer
  20395. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20396. in: query
  20397. name: querytype
  20398. required: true
  20399. type: integer
  20400. produces:
  20401. - application/json
  20402. responses:
  20403. "200":
  20404. description: OK
  20405. schema:
  20406. items:
  20407. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20408. type: array
  20409. "500":
  20410. description: Internal Server Error
  20411. schema:
  20412. $ref: '#/definitions/app.Response'
  20413. security:
  20414. - ApiKeyAuth: []
  20415. summary: 查询账户管理登录账号(账户管理/登录账号)
  20416. tags:
  20417. - 企业风险管理(app)
  20418. /Ermcp/QueryAccMgrMainAccountInfo:
  20419. get:
  20420. parameters:
  20421. - description: 用户ID
  20422. in: query
  20423. name: userid
  20424. type: integer
  20425. - description: 主账号id
  20426. in: query
  20427. name: accountid
  20428. type: integer
  20429. produces:
  20430. - application/json
  20431. responses:
  20432. "200":
  20433. description: OK
  20434. schema:
  20435. items:
  20436. $ref: '#/definitions/models.MainAccountInfo'
  20437. type: array
  20438. "500":
  20439. description: Internal Server Error
  20440. schema:
  20441. $ref: '#/definitions/app.Response'
  20442. security:
  20443. - ApiKeyAuth: []
  20444. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20445. tags:
  20446. - 企业风险管理(app)
  20447. /Ermcp/QueryAccMgrRole:
  20448. get:
  20449. parameters:
  20450. - description: 用户ID
  20451. in: query
  20452. name: userid
  20453. required: true
  20454. type: integer
  20455. produces:
  20456. - application/json
  20457. responses:
  20458. "200":
  20459. description: OK
  20460. schema:
  20461. items:
  20462. $ref: '#/definitions/models.ErmcpRole'
  20463. type: array
  20464. "500":
  20465. description: Internal Server Error
  20466. schema:
  20467. $ref: '#/definitions/app.Response'
  20468. security:
  20469. - ApiKeyAuth: []
  20470. summary: 查询账户管理角色设置(账户管理/角色设置)
  20471. tags:
  20472. - 企业风险管理(app)
  20473. /Ermcp/QueryAccMgrRoleMenu:
  20474. get:
  20475. parameters:
  20476. - description: 用户ID
  20477. in: query
  20478. name: userid
  20479. required: true
  20480. type: integer
  20481. - description: 角色id(可多个,逗号隔开)
  20482. in: query
  20483. name: roleid
  20484. type: string
  20485. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20486. in: query
  20487. name: menutype
  20488. type: integer
  20489. produces:
  20490. - application/json
  20491. responses:
  20492. "200":
  20493. description: OK
  20494. schema:
  20495. items:
  20496. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20497. type: array
  20498. "500":
  20499. description: Internal Server Error
  20500. schema:
  20501. $ref: '#/definitions/app.Response'
  20502. security:
  20503. - ApiKeyAuth: []
  20504. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20505. tags:
  20506. - 企业风险管理(app)
  20507. /Ermcp/QueryAccMgrTaAccountInfo:
  20508. get:
  20509. parameters:
  20510. - description: 用户ID
  20511. in: query
  20512. name: userid
  20513. required: true
  20514. type: integer
  20515. - description: 账号id
  20516. in: query
  20517. name: accountid
  20518. type: integer
  20519. produces:
  20520. - application/json
  20521. responses:
  20522. "200":
  20523. description: OK
  20524. schema:
  20525. items:
  20526. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20527. type: array
  20528. "500":
  20529. description: Internal Server Error
  20530. schema:
  20531. $ref: '#/definitions/app.Response'
  20532. security:
  20533. - ApiKeyAuth: []
  20534. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20535. tags:
  20536. - 企业风险管理(app)
  20537. /Ermcp/QueryAccMgrTaaccount:
  20538. get:
  20539. parameters:
  20540. - description: 用户ID
  20541. in: query
  20542. name: userid
  20543. required: true
  20544. type: integer
  20545. produces:
  20546. - application/json
  20547. responses:
  20548. "200":
  20549. description: OK
  20550. schema:
  20551. items:
  20552. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20553. type: array
  20554. "500":
  20555. description: Internal Server Error
  20556. schema:
  20557. $ref: '#/definitions/app.Response'
  20558. security:
  20559. - ApiKeyAuth: []
  20560. summary: 查询账户管理期货账号(账户管理/期货账号)
  20561. tags:
  20562. - 企业风险管理(app)
  20563. /Ermcp/QueryAvaildGoodsGroup:
  20564. get:
  20565. parameters:
  20566. - description: 所属机构ID
  20567. in: query
  20568. name: userid
  20569. required: true
  20570. type: integer
  20571. produces:
  20572. - application/json
  20573. responses:
  20574. "200":
  20575. description: OK
  20576. schema:
  20577. items:
  20578. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20579. type: array
  20580. "500":
  20581. description: Internal Server Error
  20582. schema:
  20583. $ref: '#/definitions/app.Response'
  20584. security:
  20585. - ApiKeyAuth: []
  20586. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20587. tags:
  20588. - 企业风险管理(app)
  20589. /Ermcp/QueryBusinessDj:
  20590. get:
  20591. parameters:
  20592. - description: 用户ID
  20593. in: query
  20594. name: UserId
  20595. required: true
  20596. type: integer
  20597. - description: 用户类型 2-机构 7-企业成员
  20598. in: query
  20599. name: usertype
  20600. type: integer
  20601. - description: 现货合同ID, 不填则查所有
  20602. in: query
  20603. name: relatedid
  20604. type: string
  20605. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20606. in: query
  20607. name: applystatus
  20608. type: string
  20609. produces:
  20610. - application/json
  20611. responses:
  20612. "200":
  20613. description: OK
  20614. schema:
  20615. items:
  20616. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20617. type: array
  20618. "500":
  20619. description: Internal Server Error
  20620. schema:
  20621. $ref: '#/definitions/app.Response'
  20622. security:
  20623. - ApiKeyAuth: []
  20624. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20625. tags:
  20626. - 企业风险管理(app)
  20627. /Ermcp/QueryBusinessFp:
  20628. get:
  20629. parameters:
  20630. - description: 用户ID
  20631. in: query
  20632. name: UserId
  20633. required: true
  20634. type: integer
  20635. - description: 用户类型 2-机构 7-企业成员
  20636. in: query
  20637. name: usertype
  20638. type: integer
  20639. - description: 现货合同ID, 不填则查所有
  20640. in: query
  20641. name: relatedid
  20642. type: string
  20643. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20644. in: query
  20645. name: applystatus
  20646. type: string
  20647. produces:
  20648. - application/json
  20649. responses:
  20650. "200":
  20651. description: OK
  20652. schema:
  20653. items:
  20654. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20655. type: array
  20656. "500":
  20657. description: Internal Server Error
  20658. schema:
  20659. $ref: '#/definitions/app.Response'
  20660. security:
  20661. - ApiKeyAuth: []
  20662. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20663. tags:
  20664. - 企业风险管理(app)
  20665. /Ermcp/QueryBusinessJs:
  20666. get:
  20667. parameters:
  20668. - description: 用户ID
  20669. in: query
  20670. name: UserId
  20671. required: true
  20672. type: integer
  20673. - description: 用户类型 2-机构 7-企业成员
  20674. in: query
  20675. name: usertype
  20676. type: integer
  20677. - description: 现货合同ID, 不填则查所有
  20678. in: query
  20679. name: relatedid
  20680. type: string
  20681. - description: 操作申请id
  20682. in: query
  20683. name: operateapplyid
  20684. type: string
  20685. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20686. in: query
  20687. name: applystatus
  20688. type: string
  20689. produces:
  20690. - application/json
  20691. responses:
  20692. "200":
  20693. description: OK
  20694. schema:
  20695. items:
  20696. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20697. type: array
  20698. "500":
  20699. description: Internal Server Error
  20700. schema:
  20701. $ref: '#/definitions/app.Response'
  20702. security:
  20703. - ApiKeyAuth: []
  20704. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20705. tags:
  20706. - 企业风险管理(app)
  20707. /Ermcp/QueryBusinessJsEx:
  20708. get:
  20709. parameters:
  20710. - description: 用户ID
  20711. in: query
  20712. name: UserId
  20713. required: true
  20714. type: integer
  20715. - description: 用户类型 2-机构 7-企业成员
  20716. in: query
  20717. name: usertype
  20718. type: integer
  20719. - description: 现货合同ID, 不填则查所有
  20720. in: query
  20721. name: relatedid
  20722. type: string
  20723. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20724. in: query
  20725. name: applystatus
  20726. type: string
  20727. produces:
  20728. - application/json
  20729. responses:
  20730. "200":
  20731. description: OK
  20732. schema:
  20733. items:
  20734. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20735. type: array
  20736. "500":
  20737. description: Internal Server Error
  20738. schema:
  20739. $ref: '#/definitions/app.Response'
  20740. security:
  20741. - ApiKeyAuth: []
  20742. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20743. tags:
  20744. - 企业风险管理(app)
  20745. /Ermcp/QueryBusinessKx:
  20746. get:
  20747. parameters:
  20748. - description: 用户ID
  20749. in: query
  20750. name: UserId
  20751. required: true
  20752. type: integer
  20753. - description: 用户类型 2-机构 7-企业成员
  20754. in: query
  20755. name: usertype
  20756. type: integer
  20757. - description: 现货合同ID, 不填则查所有
  20758. in: query
  20759. name: relatedid
  20760. type: string
  20761. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20762. in: query
  20763. name: applystatus
  20764. type: string
  20765. produces:
  20766. - application/json
  20767. responses:
  20768. "200":
  20769. description: OK
  20770. schema:
  20771. items:
  20772. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20773. type: array
  20774. "500":
  20775. description: Internal Server Error
  20776. schema:
  20777. $ref: '#/definitions/app.Response'
  20778. security:
  20779. - ApiKeyAuth: []
  20780. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20781. tags:
  20782. - 企业风险管理(app)
  20783. /Ermcp/QueryChangeLog:
  20784. get:
  20785. parameters:
  20786. - description: 合同ID
  20787. in: query
  20788. name: RelatedId
  20789. required: true
  20790. type: string
  20791. produces:
  20792. - application/json
  20793. responses:
  20794. "200":
  20795. description: OK
  20796. schema:
  20797. items:
  20798. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20799. type: array
  20800. "500":
  20801. description: Internal Server Error
  20802. schema:
  20803. $ref: '#/definitions/app.Response'
  20804. security:
  20805. - ApiKeyAuth: []
  20806. summary: 查询变更记录
  20807. tags:
  20808. - 企业风险管理(app)
  20809. /Ermcp/QueryErmcpHisOrderDetails:
  20810. get:
  20811. parameters:
  20812. - description: 资金账户ID
  20813. in: query
  20814. name: accountID
  20815. required: true
  20816. type: integer
  20817. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20818. in: query
  20819. name: startDate
  20820. type: string
  20821. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20822. in: query
  20823. name: endDate
  20824. type: string
  20825. produces:
  20826. - application/json
  20827. responses:
  20828. "200":
  20829. description: OK
  20830. schema:
  20831. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20832. "500":
  20833. description: Internal Server Error
  20834. schema:
  20835. $ref: '#/definitions/app.Response'
  20836. security:
  20837. - ApiKeyAuth: []
  20838. summary: 获取企业风管期货历史委托单信息
  20839. tags:
  20840. - 企业风险管理(app)
  20841. /Ermcp/QueryErmcpHisTradeDetails:
  20842. get:
  20843. parameters:
  20844. - description: 资金账户ID
  20845. in: query
  20846. name: accountID
  20847. required: true
  20848. type: integer
  20849. - description: 商品ID
  20850. in: query
  20851. name: goodsID
  20852. type: integer
  20853. - description: 买卖方向,0:买 1:卖
  20854. in: query
  20855. name: buyOrSell
  20856. type: integer
  20857. - description: 关联委托单号
  20858. in: query
  20859. name: orderID
  20860. type: integer
  20861. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20862. in: query
  20863. name: startDate
  20864. type: string
  20865. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20866. in: query
  20867. name: endDate
  20868. type: string
  20869. produces:
  20870. - application/json
  20871. responses:
  20872. "200":
  20873. description: OK
  20874. schema:
  20875. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20876. "500":
  20877. description: Internal Server Error
  20878. schema:
  20879. $ref: '#/definitions/app.Response'
  20880. security:
  20881. - ApiKeyAuth: []
  20882. summary: 获取企业风管期货历史成交单信息
  20883. tags:
  20884. - 企业风险管理(app)
  20885. /Ermcp/QueryErmcpInnerHolderDetails:
  20886. get:
  20887. parameters:
  20888. - description: 资金账户ID
  20889. in: query
  20890. name: accountID
  20891. required: true
  20892. type: integer
  20893. - description: 商品ID
  20894. in: query
  20895. name: goodsID
  20896. type: integer
  20897. - description: 买卖方向,0:买 1:卖
  20898. in: query
  20899. name: buyOrSell
  20900. type: integer
  20901. produces:
  20902. - application/json
  20903. responses:
  20904. "200":
  20905. description: OK
  20906. schema:
  20907. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20908. "500":
  20909. description: Internal Server Error
  20910. schema:
  20911. $ref: '#/definitions/app.Response'
  20912. security:
  20913. - ApiKeyAuth: []
  20914. summary: 获取企业风管期货内部持仓单信息
  20915. tags:
  20916. - 企业风险管理(app)
  20917. /Ermcp/QueryErmcpOrderDetails:
  20918. get:
  20919. parameters:
  20920. - description: 资金账户ID
  20921. in: query
  20922. name: accountID
  20923. required: true
  20924. type: integer
  20925. produces:
  20926. - application/json
  20927. responses:
  20928. "200":
  20929. description: OK
  20930. schema:
  20931. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20932. "500":
  20933. description: Internal Server Error
  20934. schema:
  20935. $ref: '#/definitions/app.Response'
  20936. security:
  20937. - ApiKeyAuth: []
  20938. summary: 获取企业风管期货委托单信息
  20939. tags:
  20940. - 企业风险管理(app)
  20941. /Ermcp/QueryErmcpTradeDetails:
  20942. get:
  20943. parameters:
  20944. - description: 资金账户ID
  20945. in: query
  20946. name: accountID
  20947. required: true
  20948. type: integer
  20949. - description: 商品ID
  20950. in: query
  20951. name: goodsID
  20952. type: integer
  20953. - description: 买卖方向,0:买 1:卖
  20954. in: query
  20955. name: buyOrSell
  20956. type: integer
  20957. - description: 关联委托单号
  20958. in: query
  20959. name: orderID
  20960. type: integer
  20961. produces:
  20962. - application/json
  20963. responses:
  20964. "200":
  20965. description: OK
  20966. schema:
  20967. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20968. "500":
  20969. description: Internal Server Error
  20970. schema:
  20971. $ref: '#/definitions/app.Response'
  20972. security:
  20973. - ApiKeyAuth: []
  20974. summary: 获取企业风管期货成交单信息
  20975. tags:
  20976. - 企业风险管理(app)
  20977. /Ermcp/QueryErmcpTradePosition:
  20978. get:
  20979. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20980. parameters:
  20981. - description: 资金账户ID
  20982. in: query
  20983. name: accountID
  20984. required: true
  20985. type: integer
  20986. - description: 所属市场ID
  20987. in: query
  20988. name: marketID
  20989. type: integer
  20990. produces:
  20991. - application/json
  20992. responses:
  20993. "200":
  20994. description: OK
  20995. schema:
  20996. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20997. "500":
  20998. description: Internal Server Error
  20999. schema:
  21000. $ref: '#/definitions/app.Response'
  21001. security:
  21002. - ApiKeyAuth: []
  21003. summary: 获取企业风管期货持仓头寸信息
  21004. tags:
  21005. - 企业风险管理(app)
  21006. /Ermcp/QueryExposureDetail:
  21007. get:
  21008. parameters:
  21009. - description: 所属机构ID
  21010. in: query
  21011. name: areaUserId
  21012. required: true
  21013. type: integer
  21014. - description: 套保商品
  21015. in: query
  21016. name: middleGoodsId
  21017. required: true
  21018. type: integer
  21019. produces:
  21020. - application/json
  21021. responses:
  21022. "200":
  21023. description: OK
  21024. schema:
  21025. items:
  21026. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  21027. type: array
  21028. "500":
  21029. description: Internal Server Error
  21030. schema:
  21031. $ref: '#/definitions/app.Response'
  21032. security:
  21033. - ApiKeyAuth: []
  21034. summary: 查询敞口现货明细
  21035. tags:
  21036. - 企业风险管理(app)
  21037. /Ermcp/QueryExposureGoods:
  21038. get:
  21039. parameters:
  21040. - description: 套保商品id
  21041. in: query
  21042. name: middlegoodsid
  21043. required: true
  21044. type: integer
  21045. produces:
  21046. - application/json
  21047. responses:
  21048. "200":
  21049. description: OK
  21050. schema:
  21051. items:
  21052. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  21053. type: array
  21054. "500":
  21055. description: Internal Server Error
  21056. schema:
  21057. $ref: '#/definitions/app.Response'
  21058. security:
  21059. - ApiKeyAuth: []
  21060. summary: 查询敞口主力合约
  21061. tags:
  21062. - 企业风险管理(app)
  21063. /Ermcp/QueryExposureHedgePosition:
  21064. get:
  21065. parameters:
  21066. - description: 用户id
  21067. in: query
  21068. name: userid
  21069. required: true
  21070. type: integer
  21071. produces:
  21072. - application/json
  21073. responses:
  21074. "200":
  21075. description: OK
  21076. schema:
  21077. items:
  21078. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  21079. type: array
  21080. "500":
  21081. description: Internal Server Error
  21082. schema:
  21083. $ref: '#/definitions/app.Response'
  21084. security:
  21085. - ApiKeyAuth: []
  21086. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  21087. tags:
  21088. - 企业风险管理(app)
  21089. /Ermcp/QueryExposureHedgePositionDetail:
  21090. get:
  21091. parameters:
  21092. - description: 所属机构ID
  21093. in: query
  21094. name: userid
  21095. required: true
  21096. type: integer
  21097. - description: 商品id
  21098. in: query
  21099. name: goodsId
  21100. required: true
  21101. type: integer
  21102. produces:
  21103. - application/json
  21104. responses:
  21105. "200":
  21106. description: OK
  21107. schema:
  21108. items:
  21109. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  21110. type: array
  21111. "500":
  21112. description: Internal Server Error
  21113. schema:
  21114. $ref: '#/definitions/app.Response'
  21115. security:
  21116. - ApiKeyAuth: []
  21117. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  21118. tags:
  21119. - 企业风险管理(app)
  21120. /Ermcp/QueryExposureSpot:
  21121. get:
  21122. parameters:
  21123. - description: 所属机构ID
  21124. in: query
  21125. name: areaUserId
  21126. required: true
  21127. type: integer
  21128. produces:
  21129. - application/json
  21130. responses:
  21131. "200":
  21132. description: OK
  21133. schema:
  21134. items:
  21135. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  21136. type: array
  21137. "500":
  21138. description: Internal Server Error
  21139. schema:
  21140. $ref: '#/definitions/app.Response'
  21141. security:
  21142. - ApiKeyAuth: []
  21143. summary: 查询敞口现货头寸(敞口/现货头寸)
  21144. tags:
  21145. - 企业风险管理(app)
  21146. /Ermcp/QueryExposureSpotDetail:
  21147. get:
  21148. parameters:
  21149. - description: 所属机构ID
  21150. in: query
  21151. name: areaUserId
  21152. required: true
  21153. type: integer
  21154. - description: 现货品种ID
  21155. in: query
  21156. name: wrstandardId
  21157. required: true
  21158. type: integer
  21159. produces:
  21160. - application/json
  21161. responses:
  21162. "200":
  21163. description: OK
  21164. schema:
  21165. items:
  21166. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  21167. type: array
  21168. "500":
  21169. description: Internal Server Error
  21170. schema:
  21171. $ref: '#/definitions/app.Response'
  21172. security:
  21173. - ApiKeyAuth: []
  21174. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21175. tags:
  21176. - 企业风险管理(app)
  21177. /Ermcp/QueryFuturesCompany:
  21178. get:
  21179. produces:
  21180. - application/json
  21181. responses:
  21182. "200":
  21183. description: OK
  21184. schema:
  21185. items:
  21186. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21187. type: array
  21188. "500":
  21189. description: Internal Server Error
  21190. schema:
  21191. $ref: '#/definitions/app.Response'
  21192. security:
  21193. - ApiKeyAuth: []
  21194. summary: 查询期货公司
  21195. tags:
  21196. - 企业风险管理(app)
  21197. /Ermcp/QueryGGConvertConfig:
  21198. get:
  21199. parameters:
  21200. - description: 品种id(不填则查所有)
  21201. in: query
  21202. name: goodsgroupid
  21203. type: integer
  21204. produces:
  21205. - application/json
  21206. responses:
  21207. "200":
  21208. description: OK
  21209. schema:
  21210. items:
  21211. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21212. type: array
  21213. "500":
  21214. description: Internal Server Error
  21215. schema:
  21216. $ref: '#/definitions/app.Response'
  21217. security:
  21218. - ApiKeyAuth: []
  21219. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21220. tags:
  21221. - 企业风险管理(app)
  21222. /Ermcp/QueryGoodsBrand:
  21223. get:
  21224. parameters:
  21225. - description: 用户ID
  21226. in: query
  21227. name: userid
  21228. required: true
  21229. type: integer
  21230. - description: 现货商品ID
  21231. in: query
  21232. name: wrstandardid
  21233. type: integer
  21234. produces:
  21235. - application/json
  21236. responses:
  21237. "200":
  21238. description: OK
  21239. schema:
  21240. items:
  21241. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21242. type: array
  21243. "500":
  21244. description: Internal Server Error
  21245. schema:
  21246. $ref: '#/definitions/app.Response'
  21247. security:
  21248. - ApiKeyAuth: []
  21249. summary: 查询商品品牌
  21250. tags:
  21251. - 企业风险管理(app)
  21252. /Ermcp/QueryGoodsModel:
  21253. get:
  21254. parameters:
  21255. - description: 用户ID
  21256. in: query
  21257. name: userid
  21258. required: true
  21259. type: integer
  21260. produces:
  21261. - application/json
  21262. responses:
  21263. "200":
  21264. description: OK
  21265. schema:
  21266. items:
  21267. $ref: '#/definitions/models.ErmcpGoodsModel'
  21268. type: array
  21269. "500":
  21270. description: Internal Server Error
  21271. schema:
  21272. $ref: '#/definitions/app.Response'
  21273. security:
  21274. - ApiKeyAuth: []
  21275. summary: 查询商品型号
  21276. tags:
  21277. - 企业风险管理(app)
  21278. /Ermcp/QueryHisExposure:
  21279. get:
  21280. parameters:
  21281. - description: 用户id
  21282. in: query
  21283. name: userid
  21284. required: true
  21285. type: integer
  21286. - description: 每个品种记录数
  21287. in: query
  21288. name: lastNum
  21289. required: true
  21290. type: integer
  21291. produces:
  21292. - application/json
  21293. responses:
  21294. "200":
  21295. description: OK
  21296. schema:
  21297. items:
  21298. $ref: '#/definitions/ermcp.HisExposureRsp'
  21299. type: array
  21300. "500":
  21301. description: Internal Server Error
  21302. schema:
  21303. $ref: '#/definitions/app.Response'
  21304. security:
  21305. - ApiKeyAuth: []
  21306. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21307. tags:
  21308. - 企业风险管理(app)
  21309. /Ermcp/QueryMiddleGoods:
  21310. get:
  21311. parameters:
  21312. - description: 所属机构ID
  21313. in: query
  21314. name: userid
  21315. required: true
  21316. type: integer
  21317. - description: 状态 0-停用 1-正常
  21318. in: query
  21319. name: status
  21320. required: true
  21321. type: integer
  21322. produces:
  21323. - application/json
  21324. responses:
  21325. "200":
  21326. description: OK
  21327. schema:
  21328. items:
  21329. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21330. type: array
  21331. "500":
  21332. description: Internal Server Error
  21333. schema:
  21334. $ref: '#/definitions/app.Response'
  21335. security:
  21336. - ApiKeyAuth: []
  21337. summary: 查询套保品种(菜单:套保品种)
  21338. tags:
  21339. - 企业风险管理(app)
  21340. /Ermcp/QueryMiddleGoodsChangeLog:
  21341. get:
  21342. parameters:
  21343. - description: 所属机构ID
  21344. in: query
  21345. name: userid
  21346. required: true
  21347. type: integer
  21348. - description: 套保品种id
  21349. in: query
  21350. name: middlegoodsid
  21351. required: true
  21352. type: integer
  21353. produces:
  21354. - application/json
  21355. responses:
  21356. "200":
  21357. description: OK
  21358. schema:
  21359. items:
  21360. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21361. type: array
  21362. "500":
  21363. description: Internal Server Error
  21364. schema:
  21365. $ref: '#/definitions/app.Response'
  21366. security:
  21367. - ApiKeyAuth: []
  21368. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21369. tags:
  21370. - 企业风险管理(app)
  21371. /Ermcp/QueryMiddleGoodsDetail:
  21372. get:
  21373. parameters:
  21374. - description: 所属机构ID
  21375. in: query
  21376. name: userid
  21377. required: true
  21378. type: integer
  21379. - description: 套保品种id
  21380. in: query
  21381. name: middlegoodsid
  21382. type: integer
  21383. produces:
  21384. - application/json
  21385. responses:
  21386. "200":
  21387. description: OK
  21388. schema:
  21389. items:
  21390. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21391. type: array
  21392. "500":
  21393. description: Internal Server Error
  21394. schema:
  21395. $ref: '#/definitions/app.Response'
  21396. security:
  21397. - ApiKeyAuth: []
  21398. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21399. tags:
  21400. - 企业风险管理(app)
  21401. /Ermcp/QueryPendingAuditInfo:
  21402. get:
  21403. parameters:
  21404. - description: 用户ID
  21405. in: query
  21406. name: UserId
  21407. required: true
  21408. type: integer
  21409. produces:
  21410. - application/json
  21411. responses:
  21412. "200":
  21413. description: OK
  21414. schema:
  21415. items:
  21416. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21417. type: array
  21418. "500":
  21419. description: Internal Server Error
  21420. schema:
  21421. $ref: '#/definitions/app.Response'
  21422. security:
  21423. - ApiKeyAuth: []
  21424. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21425. tags:
  21426. - 企业风险管理(app)
  21427. /Ermcp/QueryRealtimeExposure:
  21428. get:
  21429. parameters:
  21430. - description: 所属机构ID
  21431. in: query
  21432. name: userid
  21433. required: true
  21434. type: integer
  21435. produces:
  21436. - application/json
  21437. responses:
  21438. "200":
  21439. description: OK
  21440. schema:
  21441. items:
  21442. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21443. type: array
  21444. "500":
  21445. description: Internal Server Error
  21446. schema:
  21447. $ref: '#/definitions/app.Response'
  21448. security:
  21449. - ApiKeyAuth: []
  21450. summary: 查询实时敞口
  21451. tags:
  21452. - 企业风险管理(app)
  21453. /Ermcp/QueryRealtimeExposurePosition:
  21454. get:
  21455. parameters:
  21456. - description: 用户id
  21457. in: query
  21458. name: userid
  21459. required: true
  21460. type: integer
  21461. - description: 套保商品ID
  21462. in: query
  21463. name: middleGoodsId
  21464. required: true
  21465. type: integer
  21466. produces:
  21467. - application/json
  21468. responses:
  21469. "200":
  21470. description: OK
  21471. schema:
  21472. items:
  21473. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21474. type: array
  21475. "500":
  21476. description: Internal Server Error
  21477. schema:
  21478. $ref: '#/definitions/app.Response'
  21479. security:
  21480. - ApiKeyAuth: []
  21481. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21482. tags:
  21483. - 企业风险管理(app)
  21484. /Ermcp/QueryRoleMenu:
  21485. get:
  21486. parameters:
  21487. - description: 登录ID
  21488. in: query
  21489. name: loginid
  21490. required: true
  21491. type: integer
  21492. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21493. in: query
  21494. name: menutype
  21495. type: integer
  21496. produces:
  21497. - application/json
  21498. responses:
  21499. "200":
  21500. description: OK
  21501. schema:
  21502. items:
  21503. $ref: '#/definitions/models.RoleMenu'
  21504. type: array
  21505. "500":
  21506. description: Internal Server Error
  21507. schema:
  21508. $ref: '#/definitions/app.Response'
  21509. security:
  21510. - ApiKeyAuth: []
  21511. summary: 查询角色菜单和权限
  21512. tags:
  21513. - 企业风险管理(app)
  21514. /Ermcp/QueryTradeConfigTMP:
  21515. get:
  21516. parameters:
  21517. - description: 所属机构id
  21518. in: query
  21519. name: areauserid
  21520. type: integer
  21521. produces:
  21522. - application/json
  21523. responses:
  21524. "200":
  21525. description: OK
  21526. schema:
  21527. items:
  21528. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21529. type: array
  21530. "500":
  21531. description: Internal Server Error
  21532. schema:
  21533. $ref: '#/definitions/app.Response'
  21534. security:
  21535. - ApiKeyAuth: []
  21536. summary: 查询交易模板配置
  21537. tags:
  21538. - 企业风险管理(app)
  21539. /Ermcp/QueryUserInfo:
  21540. get:
  21541. parameters:
  21542. - description: 所属机构用户ID
  21543. in: query
  21544. name: MemberUserID
  21545. required: true
  21546. type: integer
  21547. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21548. in: query
  21549. name: queryType
  21550. required: true
  21551. type: integer
  21552. produces:
  21553. - application/json
  21554. responses:
  21555. "200":
  21556. description: OK
  21557. schema:
  21558. items:
  21559. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21560. type: array
  21561. "500":
  21562. description: Internal Server Error
  21563. schema:
  21564. $ref: '#/definitions/app.Response'
  21565. security:
  21566. - ApiKeyAuth: []
  21567. summary: 查询客户资料
  21568. tags:
  21569. - 企业风险管理(app)
  21570. /Ermcp/QueryWarehouseInfo:
  21571. get:
  21572. parameters:
  21573. - description: 用户ID
  21574. in: query
  21575. name: userid
  21576. required: true
  21577. type: integer
  21578. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21579. in: query
  21580. name: status
  21581. type: string
  21582. produces:
  21583. - application/json
  21584. responses:
  21585. "200":
  21586. description: OK
  21587. schema:
  21588. items:
  21589. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21590. type: array
  21591. "500":
  21592. description: Internal Server Error
  21593. schema:
  21594. $ref: '#/definitions/app.Response'
  21595. security:
  21596. - ApiKeyAuth: []
  21597. summary: 查询仓库信息
  21598. tags:
  21599. - 企业风险管理(app)
  21600. /Ermcp3/QryAreaExpourseContractDetail:
  21601. get:
  21602. parameters:
  21603. - description: 用户ID
  21604. in: query
  21605. name: userid
  21606. required: true
  21607. type: integer
  21608. - description: 套保商品id
  21609. in: query
  21610. name: middlegoodsid
  21611. required: true
  21612. type: integer
  21613. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21614. in: query
  21615. name: cycletype
  21616. required: true
  21617. type: integer
  21618. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21619. 全(0)【原值】
  21620. in: query
  21621. name: cycletime
  21622. required: true
  21623. type: string
  21624. produces:
  21625. - application/json
  21626. responses:
  21627. "200":
  21628. description: OK
  21629. schema:
  21630. items:
  21631. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  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/QryAreaExpourseFutuDetail:
  21643. get:
  21644. parameters:
  21645. - description: 用户ID
  21646. in: query
  21647. name: userid
  21648. required: true
  21649. type: integer
  21650. - description: 套保商品id
  21651. in: query
  21652. name: middlegoodsid
  21653. required: true
  21654. type: integer
  21655. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21656. in: query
  21657. name: cycletype
  21658. required: true
  21659. type: integer
  21660. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21661. 全(0)【原值】
  21662. in: query
  21663. name: cycletime
  21664. required: true
  21665. type: string
  21666. produces:
  21667. - application/json
  21668. responses:
  21669. "200":
  21670. description: OK
  21671. schema:
  21672. items:
  21673. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21674. type: array
  21675. "500":
  21676. description: Internal Server Error
  21677. schema:
  21678. $ref: '#/definitions/app.Response'
  21679. security:
  21680. - ApiKeyAuth: []
  21681. summary: 查询敞口期货明细(敞口报表/期货明细)
  21682. tags:
  21683. - 企业风险管理v3(app)
  21684. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21685. get:
  21686. parameters:
  21687. - description: 用户ID
  21688. in: query
  21689. name: userid
  21690. required: true
  21691. type: integer
  21692. - description: 套保商品id
  21693. in: query
  21694. name: middlegoodsid
  21695. required: true
  21696. type: integer
  21697. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21698. in: query
  21699. name: cycletype
  21700. required: true
  21701. type: integer
  21702. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21703. 全(0)【原值】
  21704. in: query
  21705. name: cycletime
  21706. required: true
  21707. type: string
  21708. produces:
  21709. - application/json
  21710. responses:
  21711. "200":
  21712. description: OK
  21713. schema:
  21714. items:
  21715. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21716. type: array
  21717. "500":
  21718. description: Internal Server Error
  21719. schema:
  21720. $ref: '#/definitions/app.Response'
  21721. security:
  21722. - ApiKeyAuth: []
  21723. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21724. tags:
  21725. - 企业风险管理v3(app)
  21726. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21727. get:
  21728. parameters:
  21729. - description: 用户ID
  21730. in: query
  21731. name: userid
  21732. required: true
  21733. type: integer
  21734. - description: 套保商品id
  21735. in: query
  21736. name: middlegoodsid
  21737. required: true
  21738. type: integer
  21739. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21740. in: query
  21741. name: cycletype
  21742. required: true
  21743. type: integer
  21744. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21745. 全(0)【原值】
  21746. in: query
  21747. name: cycletime
  21748. required: true
  21749. type: string
  21750. produces:
  21751. - application/json
  21752. responses:
  21753. "200":
  21754. description: OK
  21755. schema:
  21756. items:
  21757. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21758. type: array
  21759. "500":
  21760. description: Internal Server Error
  21761. schema:
  21762. $ref: '#/definitions/app.Response'
  21763. security:
  21764. - ApiKeyAuth: []
  21765. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21766. tags:
  21767. - 企业风险管理v3(app)
  21768. /Ermcp3/QryAreaExpourseReport:
  21769. get:
  21770. parameters:
  21771. - description: 用户ID
  21772. in: query
  21773. name: userid
  21774. required: true
  21775. type: integer
  21776. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21777. in: query
  21778. name: querytype
  21779. required: true
  21780. type: integer
  21781. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21782. in: query
  21783. name: cycletype
  21784. required: true
  21785. type: integer
  21786. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21787. 全(0)【原值】
  21788. in: query
  21789. name: cycletime
  21790. required: true
  21791. type: string
  21792. produces:
  21793. - application/json
  21794. responses:
  21795. "200":
  21796. description: OK
  21797. schema:
  21798. items:
  21799. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21800. type: array
  21801. "500":
  21802. description: Internal Server Error
  21803. schema:
  21804. $ref: '#/definitions/app.Response'
  21805. security:
  21806. - ApiKeyAuth: []
  21807. summary: 查询敞口报表
  21808. tags:
  21809. - 企业风险管理v3(app)
  21810. /Ermcp3/QryAreaSpotplReport:
  21811. get:
  21812. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21813. parameters:
  21814. - description: 用户ID
  21815. in: query
  21816. name: userid
  21817. required: true
  21818. type: integer
  21819. - description: 查询类型 1-报表 2-报表明细
  21820. in: query
  21821. name: querytype
  21822. required: true
  21823. type: integer
  21824. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21825. in: query
  21826. name: cycletype
  21827. required: true
  21828. type: integer
  21829. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21830. 全(0)【原值】
  21831. in: query
  21832. name: cycletime
  21833. required: true
  21834. type: string
  21835. - description: 现货品种id(明细必填)
  21836. in: query
  21837. name: deliverygoodsid
  21838. type: integer
  21839. - description: 币种id(明细必填)
  21840. in: query
  21841. name: currencyid
  21842. type: integer
  21843. - description: 日/周/月报表汇总维度 1:品种+品类
  21844. in: query
  21845. name: sumflag
  21846. type: integer
  21847. produces:
  21848. - application/json
  21849. responses:
  21850. "200":
  21851. description: OK
  21852. schema:
  21853. items:
  21854. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21855. type: array
  21856. "500":
  21857. description: Internal Server Error
  21858. schema:
  21859. $ref: '#/definitions/app.Response'
  21860. security:
  21861. - ApiKeyAuth: []
  21862. summary: 查询现货报表
  21863. tags:
  21864. - 企业风险管理v3(app)
  21865. /Ermcp3/QryAreaStockReport:
  21866. get:
  21867. parameters:
  21868. - description: 用户ID
  21869. in: query
  21870. name: userid
  21871. required: true
  21872. type: integer
  21873. - description: 查询类型 1-报表 2-报表明细
  21874. in: query
  21875. name: querytype
  21876. required: true
  21877. type: integer
  21878. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21879. in: query
  21880. name: cycletype
  21881. required: true
  21882. type: integer
  21883. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21884. 全(0)【原值】
  21885. in: query
  21886. name: cycletime
  21887. required: true
  21888. type: string
  21889. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21890. in: query
  21891. name: sumfields
  21892. type: string
  21893. - description: 品种ID
  21894. in: query
  21895. name: deliverygoodsid
  21896. type: integer
  21897. - description: 品类ID
  21898. in: query
  21899. name: wrstandardid
  21900. type: integer
  21901. - description: 品牌ID
  21902. in: query
  21903. name: spotgoodsbrandid
  21904. type: integer
  21905. - description: 仓库ID
  21906. in: query
  21907. name: warehouseinfoid
  21908. type: integer
  21909. produces:
  21910. - application/json
  21911. responses:
  21912. "200":
  21913. description: OK
  21914. schema:
  21915. items:
  21916. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21917. type: array
  21918. "500":
  21919. description: Internal Server Error
  21920. schema:
  21921. $ref: '#/definitions/app.Response'
  21922. security:
  21923. - ApiKeyAuth: []
  21924. summary: 查询库存报表
  21925. tags:
  21926. - 企业风险管理v3(app)
  21927. /Ermcp3/QryAreaSumPL:
  21928. get:
  21929. parameters:
  21930. - description: 用户ID
  21931. in: query
  21932. name: userid
  21933. required: true
  21934. type: integer
  21935. - description: 查询类型 1-报表 2-报表明细
  21936. in: query
  21937. name: querytype
  21938. required: true
  21939. type: integer
  21940. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21941. in: query
  21942. name: cycletype
  21943. required: true
  21944. type: integer
  21945. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21946. 全(0)【原值】
  21947. in: query
  21948. name: cycletime
  21949. required: true
  21950. type: string
  21951. - description: 币种id(明细必填)
  21952. in: query
  21953. name: currencyid
  21954. type: integer
  21955. produces:
  21956. - application/json
  21957. responses:
  21958. "200":
  21959. description: OK
  21960. schema:
  21961. items:
  21962. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21963. type: array
  21964. "500":
  21965. description: Internal Server Error
  21966. schema:
  21967. $ref: '#/definitions/app.Response'
  21968. security:
  21969. - ApiKeyAuth: []
  21970. summary: 查询汇总损益表
  21971. tags:
  21972. - 企业风险管理v3(app)
  21973. /Ermcp3/QryFinanceReport:
  21974. get:
  21975. parameters:
  21976. - description: 用户ID
  21977. in: query
  21978. name: userid
  21979. required: true
  21980. type: integer
  21981. - description: 查询类型 1-报表 2-报表明细
  21982. in: query
  21983. name: querytype
  21984. required: true
  21985. type: integer
  21986. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21987. in: query
  21988. name: cycletype
  21989. required: true
  21990. type: integer
  21991. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21992. 全(0)【原值】
  21993. in: query
  21994. name: cycletime
  21995. required: true
  21996. type: string
  21997. - description: 币种id(报表明细必填)
  21998. in: query
  21999. name: currencyid
  22000. type: integer
  22001. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22002. in: query
  22003. name: sumfields
  22004. type: string
  22005. produces:
  22006. - application/json
  22007. responses:
  22008. "200":
  22009. description: OK
  22010. schema:
  22011. items:
  22012. $ref: '#/definitions/models.Ermcp3FinanceReport'
  22013. type: array
  22014. "500":
  22015. description: Internal Server Error
  22016. schema:
  22017. $ref: '#/definitions/app.Response'
  22018. security:
  22019. - ApiKeyAuth: []
  22020. summary: 查询财务报表
  22021. tags:
  22022. - 企业风险管理v3(app)
  22023. /Ermcp3/QrySCMiddleGoodsReport:
  22024. get:
  22025. parameters:
  22026. - description: 用户ID
  22027. in: query
  22028. name: userid
  22029. required: true
  22030. type: integer
  22031. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22032. in: query
  22033. name: cycletype
  22034. required: true
  22035. type: integer
  22036. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22037. 全(0)【原值】
  22038. in: query
  22039. name: cycletime
  22040. required: true
  22041. type: string
  22042. - description: 合同id
  22043. in: query
  22044. name: spotcontractid
  22045. type: integer
  22046. - description: 套保品种id
  22047. in: query
  22048. name: middlegoodsid
  22049. type: integer
  22050. - description: 现货品种id
  22051. in: query
  22052. name: deliverygoodsid
  22053. type: integer
  22054. - description: 现货商品id
  22055. in: query
  22056. name: wrstandardid
  22057. type: integer
  22058. - description: 合同编号(模糊匹配)
  22059. in: query
  22060. name: contractno
  22061. type: string
  22062. produces:
  22063. - application/json
  22064. responses:
  22065. "200":
  22066. description: OK
  22067. schema:
  22068. items:
  22069. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  22070. type: array
  22071. "500":
  22072. description: Internal Server Error
  22073. schema:
  22074. $ref: '#/definitions/app.Response'
  22075. security:
  22076. - ApiKeyAuth: []
  22077. summary: 查询定价报表
  22078. tags:
  22079. - 企业风险管理v3(app)
  22080. /Ermcp3/QryTaFutureDataReport:
  22081. get:
  22082. parameters:
  22083. - description: 用户ID
  22084. in: query
  22085. name: userid
  22086. required: true
  22087. type: integer
  22088. - description: 查询类型 1-报表 2-报表明细
  22089. in: query
  22090. name: querytype
  22091. required: true
  22092. type: integer
  22093. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22094. in: query
  22095. name: cycletype
  22096. required: true
  22097. type: integer
  22098. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22099. 全(0)【原值】
  22100. in: query
  22101. name: cycletime
  22102. required: true
  22103. type: string
  22104. - description: 币种id(查明细必填)
  22105. in: query
  22106. name: currencyid
  22107. type: integer
  22108. - description: 品种id(查明细必填)
  22109. in: query
  22110. name: goodsgroupid
  22111. type: integer
  22112. - description: 商品id(查明细必填)
  22113. in: query
  22114. name: goodsid
  22115. type: integer
  22116. - description: 买卖方向(查明细必填)
  22117. in: query
  22118. name: buyorsell
  22119. type: integer
  22120. produces:
  22121. - application/json
  22122. responses:
  22123. "200":
  22124. description: OK
  22125. schema:
  22126. items:
  22127. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  22128. type: array
  22129. "500":
  22130. description: Internal Server Error
  22131. schema:
  22132. $ref: '#/definitions/app.Response'
  22133. security:
  22134. - ApiKeyAuth: []
  22135. summary: 查询期货报表
  22136. tags:
  22137. - 企业风险管理v3(app)
  22138. /Ermcp3/QueryAreaStock:
  22139. get:
  22140. parameters:
  22141. - description: 用户ID
  22142. in: query
  22143. name: userid
  22144. required: true
  22145. type: integer
  22146. produces:
  22147. - application/json
  22148. responses:
  22149. "200":
  22150. description: OK
  22151. schema:
  22152. items:
  22153. $ref: '#/definitions/models.Ermcp3AreaStock'
  22154. type: array
  22155. "500":
  22156. description: Internal Server Error
  22157. schema:
  22158. $ref: '#/definitions/app.Response'
  22159. security:
  22160. - ApiKeyAuth: []
  22161. summary: 查询机构库存(库存管理/当前库存)
  22162. tags:
  22163. - 企业风险管理v3(app)
  22164. /Ermcp3/QueryAreaStockApply:
  22165. get:
  22166. parameters:
  22167. - description: 用户ID
  22168. in: query
  22169. name: userid
  22170. required: true
  22171. type: integer
  22172. - description: 用户类型 2-机构 7-企业成员
  22173. in: query
  22174. name: usertype
  22175. type: integer
  22176. - description: 现货商品ID
  22177. in: query
  22178. name: deliverygoodsid
  22179. type: integer
  22180. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  22181. in: query
  22182. name: inouttype
  22183. type: string
  22184. - description: 合同ID
  22185. in: query
  22186. name: spotcontractid
  22187. type: integer
  22188. - description: 品类ID
  22189. in: query
  22190. name: wrstandardid
  22191. type: integer
  22192. - description: 品牌ID
  22193. in: query
  22194. name: spotgoodsbrandid
  22195. type: integer
  22196. - description: 仓库ID
  22197. in: query
  22198. name: warehouseinfoid
  22199. type: integer
  22200. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22201. in: query
  22202. name: applystatus
  22203. type: string
  22204. produces:
  22205. - application/json
  22206. responses:
  22207. "200":
  22208. description: OK
  22209. schema:
  22210. items:
  22211. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22212. type: array
  22213. "500":
  22214. description: Internal Server Error
  22215. schema:
  22216. $ref: '#/definitions/app.Response'
  22217. security:
  22218. - ApiKeyAuth: []
  22219. summary: 查询库存申请(出入库记录|库存审核)
  22220. tags:
  22221. - 企业风险管理v3(app)
  22222. /Ermcp3/QueryAreaStockApplySum:
  22223. get:
  22224. parameters:
  22225. - description: 合同ID
  22226. in: query
  22227. name: spotcontractid
  22228. required: true
  22229. type: integer
  22230. produces:
  22231. - application/json
  22232. responses:
  22233. "200":
  22234. description: OK
  22235. schema:
  22236. items:
  22237. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22238. type: array
  22239. "500":
  22240. description: Internal Server Error
  22241. schema:
  22242. $ref: '#/definitions/app.Response'
  22243. security:
  22244. - ApiKeyAuth: []
  22245. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22246. tags:
  22247. - 企业风险管理v3(app)
  22248. /Ermcp3/QueryDGFactoryItem:
  22249. get:
  22250. parameters:
  22251. - description: 用户id
  22252. in: query
  22253. name: userid
  22254. type: integer
  22255. - description: 用户类型 2-机构 7-企业成员
  22256. in: query
  22257. name: usertype
  22258. type: integer
  22259. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22260. in: query
  22261. name: dgfactoryitemid
  22262. type: integer
  22263. - description: 现货品种ID
  22264. in: query
  22265. name: deliverygoodsid
  22266. type: integer
  22267. - description: 要素项类型
  22268. in: query
  22269. name: dgfactoryitemtypeid
  22270. type: integer
  22271. - description: 顺序
  22272. in: query
  22273. name: orderindex
  22274. type: integer
  22275. produces:
  22276. - application/json
  22277. responses:
  22278. "200":
  22279. description: OK
  22280. schema:
  22281. items:
  22282. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22283. type: array
  22284. "500":
  22285. description: Internal Server Error
  22286. schema:
  22287. $ref: '#/definitions/app.Response'
  22288. security:
  22289. - ApiKeyAuth: []
  22290. summary: 查询品种要素定义项
  22291. tags:
  22292. - 企业风险管理v3(app)
  22293. /Ermcp3/QueryDeliveryGoods:
  22294. get:
  22295. parameters:
  22296. - description: 用户id
  22297. in: query
  22298. name: userid
  22299. required: true
  22300. type: integer
  22301. - description: 用户类型 2-机构 7-企业成员
  22302. in: query
  22303. name: usertype
  22304. type: integer
  22305. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22306. in: query
  22307. name: excludecfg
  22308. type: integer
  22309. produces:
  22310. - application/json
  22311. responses:
  22312. "200":
  22313. description: OK
  22314. schema:
  22315. items:
  22316. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22317. type: array
  22318. "500":
  22319. description: Internal Server Error
  22320. schema:
  22321. $ref: '#/definitions/app.Response'
  22322. security:
  22323. - ApiKeyAuth: []
  22324. summary: 查询现货商品
  22325. tags:
  22326. - 企业风险管理v3(app)
  22327. /Ermcp3/QueryDeliveryGoodsDetail:
  22328. get:
  22329. parameters:
  22330. - description: 用户id
  22331. in: query
  22332. name: userid
  22333. required: true
  22334. type: integer
  22335. - description: 用户类型 2-机构 7-企业成员
  22336. in: query
  22337. name: usertype
  22338. type: integer
  22339. - description: 现货商品id
  22340. in: query
  22341. name: deliverygoodsid
  22342. type: integer
  22343. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22344. in: query
  22345. name: filtersubempty
  22346. type: integer
  22347. produces:
  22348. - application/json
  22349. responses:
  22350. "200":
  22351. description: OK
  22352. schema:
  22353. items:
  22354. $ref: '#/definitions/models.XHDeliveryGoods'
  22355. type: array
  22356. "500":
  22357. description: Internal Server Error
  22358. schema:
  22359. $ref: '#/definitions/app.Response'
  22360. security:
  22361. - ApiKeyAuth: []
  22362. summary: 查询现货商品详情
  22363. tags:
  22364. - 企业风险管理v3(app)
  22365. /Ermcp3/QueryExposureDetail:
  22366. get:
  22367. parameters:
  22368. - description: 用户id
  22369. in: query
  22370. name: userid
  22371. required: true
  22372. type: integer
  22373. - description: 用户类型 2-机构 7-企业成员
  22374. in: query
  22375. name: usertype
  22376. type: integer
  22377. - description: 套保商品
  22378. in: query
  22379. name: middlegoodsid
  22380. required: true
  22381. type: integer
  22382. produces:
  22383. - application/json
  22384. responses:
  22385. "200":
  22386. description: OK
  22387. schema:
  22388. items:
  22389. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22390. type: array
  22391. "500":
  22392. description: Internal Server Error
  22393. schema:
  22394. $ref: '#/definitions/app.Response'
  22395. security:
  22396. - ApiKeyAuth: []
  22397. summary: 查询敞口现货明细
  22398. tags:
  22399. - 企业风险管理v3(app)
  22400. /Ermcp3/QueryExposureSpot:
  22401. get:
  22402. parameters:
  22403. - description: 用户id
  22404. in: query
  22405. name: userid
  22406. required: true
  22407. type: integer
  22408. - description: 用户类型 2-机构 7-企业成员
  22409. in: query
  22410. name: usertype
  22411. type: integer
  22412. produces:
  22413. - application/json
  22414. responses:
  22415. "200":
  22416. description: OK
  22417. schema:
  22418. items:
  22419. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22420. type: array
  22421. "500":
  22422. description: Internal Server Error
  22423. schema:
  22424. $ref: '#/definitions/app.Response'
  22425. security:
  22426. - ApiKeyAuth: []
  22427. summary: 查询敞口现货头寸(敞口/现货头寸)
  22428. tags:
  22429. - 企业风险管理v3(app)
  22430. /Ermcp3/QueryExposureSpotDetail:
  22431. get:
  22432. parameters:
  22433. - description: 用户id
  22434. in: query
  22435. name: userid
  22436. required: true
  22437. type: integer
  22438. - description: 用户类型 2-机构 7-企业成员
  22439. in: query
  22440. name: usertype
  22441. type: integer
  22442. - description: 现货商品ID
  22443. in: query
  22444. name: wrstandardid
  22445. required: true
  22446. type: integer
  22447. produces:
  22448. - application/json
  22449. responses:
  22450. "200":
  22451. description: OK
  22452. schema:
  22453. items:
  22454. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22455. type: array
  22456. "500":
  22457. description: Internal Server Error
  22458. schema:
  22459. $ref: '#/definitions/app.Response'
  22460. security:
  22461. - ApiKeyAuth: []
  22462. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22463. tags:
  22464. - 企业风险管理v3(app)
  22465. /Ermcp3/QueryGoodsGroup:
  22466. get:
  22467. parameters:
  22468. - description: 用户id
  22469. in: query
  22470. name: userid
  22471. required: true
  22472. type: integer
  22473. - description: 用户类型 2-机构 7-企业成员
  22474. in: query
  22475. name: usertype
  22476. type: integer
  22477. - description: 排除套保品中已关联的商品组 1-排除
  22478. in: query
  22479. name: excludecfg
  22480. type: integer
  22481. produces:
  22482. - application/json
  22483. responses:
  22484. "200":
  22485. description: OK
  22486. schema:
  22487. items:
  22488. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22489. type: array
  22490. "500":
  22491. description: Internal Server Error
  22492. schema:
  22493. $ref: '#/definitions/app.Response'
  22494. security:
  22495. - ApiKeyAuth: []
  22496. summary: 查询期货商品组
  22497. tags:
  22498. - 企业风险管理v3(app)
  22499. /Ermcp3/QueryGoodsWrstandard:
  22500. get:
  22501. parameters:
  22502. - description: 用户id
  22503. in: query
  22504. name: userid
  22505. required: true
  22506. type: integer
  22507. - description: 用户类型 2-机构 7-企业成员
  22508. in: query
  22509. name: usertype
  22510. type: integer
  22511. - description: 现货商品id
  22512. in: query
  22513. name: deliverygoodsid
  22514. type: integer
  22515. produces:
  22516. - application/json
  22517. responses:
  22518. "200":
  22519. description: OK
  22520. schema:
  22521. items:
  22522. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22523. type: array
  22524. "500":
  22525. description: Internal Server Error
  22526. schema:
  22527. $ref: '#/definitions/app.Response'
  22528. security:
  22529. - ApiKeyAuth: []
  22530. summary: 查询商品品类
  22531. tags:
  22532. - 企业风险管理v3(app)
  22533. /Ermcp3/QueryGoodsbrand:
  22534. get:
  22535. parameters:
  22536. - description: 用户id
  22537. in: query
  22538. name: userid
  22539. required: true
  22540. type: integer
  22541. - description: 用户类型 2-机构 7-企业成员
  22542. in: query
  22543. name: usertype
  22544. type: integer
  22545. produces:
  22546. - application/json
  22547. responses:
  22548. "200":
  22549. description: OK
  22550. schema:
  22551. items:
  22552. $ref: '#/definitions/models.Ermcp3Brand'
  22553. type: array
  22554. "500":
  22555. description: Internal Server Error
  22556. schema:
  22557. $ref: '#/definitions/app.Response'
  22558. security:
  22559. - ApiKeyAuth: []
  22560. summary: 查询商品品牌
  22561. tags:
  22562. - 企业风险管理v3(app)
  22563. /Ermcp3/QueryHedgePlan:
  22564. get:
  22565. parameters:
  22566. - description: 用户ID
  22567. in: query
  22568. name: userid
  22569. required: true
  22570. type: integer
  22571. - description: 用户类型 2-机构 7-企业成员
  22572. in: query
  22573. name: usertype
  22574. type: integer
  22575. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22576. in: query
  22577. name: hedgeplanstatus
  22578. required: true
  22579. type: string
  22580. produces:
  22581. - application/json
  22582. responses:
  22583. "200":
  22584. description: OK
  22585. schema:
  22586. items:
  22587. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22588. type: array
  22589. "500":
  22590. description: Internal Server Error
  22591. schema:
  22592. $ref: '#/definitions/app.Response'
  22593. security:
  22594. - ApiKeyAuth: []
  22595. summary: 查询套保计划
  22596. tags:
  22597. - 企业风险管理v3(app)
  22598. /Ermcp3/QueryInnerTradeLink:
  22599. get:
  22600. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22601. parameters:
  22602. - description: 外部成交单号
  22603. in: query
  22604. name: outtradeid
  22605. required: true
  22606. type: integer
  22607. produces:
  22608. - application/json
  22609. responses:
  22610. "200":
  22611. description: OK
  22612. schema:
  22613. items:
  22614. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22615. type: array
  22616. "500":
  22617. description: Internal Server Error
  22618. schema:
  22619. $ref: '#/definitions/app.Response'
  22620. security:
  22621. - ApiKeyAuth: []
  22622. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22623. tags:
  22624. - 企业风险管理v3(app)
  22625. /Ermcp3/QueryMiddleGoodsDetail:
  22626. get:
  22627. parameters:
  22628. - description: 用户id
  22629. in: query
  22630. name: userid
  22631. required: true
  22632. type: integer
  22633. - description: 用户类型 2-机构 7-企业成员
  22634. in: query
  22635. name: usertype
  22636. type: integer
  22637. - description: 套保品种id
  22638. in: query
  22639. name: middlegoodsid
  22640. type: integer
  22641. produces:
  22642. - application/json
  22643. responses:
  22644. "200":
  22645. description: OK
  22646. schema:
  22647. items:
  22648. $ref: '#/definitions/models.TBMiddleGoods'
  22649. type: array
  22650. "500":
  22651. description: Internal Server Error
  22652. schema:
  22653. $ref: '#/definitions/app.Response'
  22654. security:
  22655. - ApiKeyAuth: []
  22656. summary: 查询套保品种详情(套保品种/商品详情)
  22657. tags:
  22658. - 企业风险管理v3(app)
  22659. /Ermcp3/QueryOutTradeLink:
  22660. get:
  22661. description: 页面 app 现货->期现关联->外部成交单关联
  22662. parameters:
  22663. - description: 用户ID(填登录用户的userid)
  22664. in: query
  22665. name: userid
  22666. required: true
  22667. type: integer
  22668. - description: 外部订单号(模糊匹配)
  22669. in: query
  22670. name: outtradeid
  22671. type: string
  22672. - description: 合约名称/代码(模糊匹配)
  22673. in: query
  22674. name: goodsname
  22675. type: string
  22676. - description: 关联状态 0-未关联 1-已关联
  22677. in: query
  22678. name: hasinnerorder
  22679. type: integer
  22680. produces:
  22681. - application/json
  22682. responses:
  22683. "200":
  22684. description: OK
  22685. schema:
  22686. items:
  22687. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22688. type: array
  22689. "500":
  22690. description: Internal Server Error
  22691. schema:
  22692. $ref: '#/definitions/app.Response'
  22693. security:
  22694. - ApiKeyAuth: []
  22695. summary: 查询外部成交单关联
  22696. tags:
  22697. - 企业风险管理v3(app)
  22698. /Ermcp3/QueryPaAreaAuditCfg:
  22699. get:
  22700. parameters:
  22701. - description: 用户id
  22702. in: query
  22703. name: userid
  22704. required: true
  22705. type: integer
  22706. produces:
  22707. - application/json
  22708. responses:
  22709. "200":
  22710. description: OK
  22711. schema:
  22712. items:
  22713. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22714. type: array
  22715. "500":
  22716. description: Internal Server Error
  22717. schema:
  22718. $ref: '#/definitions/app.Response'
  22719. security:
  22720. - ApiKeyAuth: []
  22721. summary: 查询审核设置
  22722. tags:
  22723. - 企业风险管理v3(app)
  22724. /Ermcp3/QueryPaAreaSubject:
  22725. get:
  22726. parameters:
  22727. - description: 用户id
  22728. in: query
  22729. name: userid
  22730. required: true
  22731. type: integer
  22732. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22733. in: query
  22734. name: subjectid
  22735. type: integer
  22736. - description: 主体类型 - 1:交易主体 2:业务部门
  22737. in: query
  22738. name: subjecttype
  22739. type: integer
  22740. - description: '主体状态 - 1:正常 2: 停用'
  22741. in: query
  22742. name: subjectstatus
  22743. type: integer
  22744. produces:
  22745. - application/json
  22746. responses:
  22747. "200":
  22748. description: OK
  22749. schema:
  22750. items:
  22751. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22752. type: array
  22753. "500":
  22754. description: Internal Server Error
  22755. schema:
  22756. $ref: '#/definitions/app.Response'
  22757. security:
  22758. - ApiKeyAuth: []
  22759. summary: 查询交易主体
  22760. tags:
  22761. - 企业风险管理v3(app)
  22762. /Ermcp3/QueryPaTradeLink:
  22763. get:
  22764. description: 页面 app 现货->期现关联->期现单据关联
  22765. parameters:
  22766. - description: 用户ID
  22767. in: query
  22768. name: userid
  22769. required: true
  22770. type: integer
  22771. produces:
  22772. - application/json
  22773. responses:
  22774. "200":
  22775. description: OK
  22776. schema:
  22777. items:
  22778. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22779. type: array
  22780. "500":
  22781. description: Internal Server Error
  22782. schema:
  22783. $ref: '#/definitions/app.Response'
  22784. security:
  22785. - ApiKeyAuth: []
  22786. summary: 查询期现单据关联
  22787. tags:
  22788. - 企业风险管理v3(app)
  22789. /Ermcp3/QueryPaTradeLinkDetail:
  22790. get:
  22791. description: 页面 app 现货->期现关联->关联记录
  22792. parameters:
  22793. - description: 用户ID(填登录用户的userid)
  22794. in: query
  22795. name: userid
  22796. required: true
  22797. type: integer
  22798. - description: 关联状态 1:成功 2:失败 3:解绑
  22799. in: query
  22800. name: linkstatus
  22801. type: integer
  22802. - description: 期货订单号(模糊匹配)
  22803. in: query
  22804. name: tradeid
  22805. type: string
  22806. - description: 现货编号(模糊匹配)
  22807. in: query
  22808. name: contractno
  22809. type: string
  22810. - description: 期货账户(模糊匹配)
  22811. in: query
  22812. name: taname
  22813. type: string
  22814. produces:
  22815. - application/json
  22816. responses:
  22817. "200":
  22818. description: OK
  22819. schema:
  22820. items:
  22821. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22822. type: array
  22823. "500":
  22824. description: Internal Server Error
  22825. schema:
  22826. $ref: '#/definitions/app.Response'
  22827. security:
  22828. - ApiKeyAuth: []
  22829. summary: 查询期现关联记录
  22830. tags:
  22831. - 企业风险管理v3(app)
  22832. /Ermcp3/QueryParamChangeApp:
  22833. get:
  22834. description: |-
  22835. 原型页面:
  22836. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22837. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22838. parameters:
  22839. - description: 用户ID
  22840. in: query
  22841. name: userid
  22842. required: true
  22843. type: integer
  22844. - description: 现货品种id
  22845. in: query
  22846. name: deliverygoodsid
  22847. type: integer
  22848. - description: 现货商品id
  22849. in: query
  22850. name: wrstandardid
  22851. type: integer
  22852. - description: 套保商品id
  22853. in: query
  22854. name: middlegoodsid
  22855. type: integer
  22856. - description: 操作类型 1:新增 2:修改
  22857. in: query
  22858. name: operatetype
  22859. type: integer
  22860. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22861. in: query
  22862. name: paramchangetype
  22863. type: integer
  22864. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22865. in: query
  22866. name: ftstatus
  22867. type: string
  22868. produces:
  22869. - application/json
  22870. responses:
  22871. "200":
  22872. description: OK
  22873. schema:
  22874. items:
  22875. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22876. type: array
  22877. "500":
  22878. description: Internal Server Error
  22879. schema:
  22880. $ref: '#/definitions/app.Response'
  22881. security:
  22882. - ApiKeyAuth: []
  22883. summary: 查询现货商品参数变更申请(流水)
  22884. tags:
  22885. - 企业风险管理v3(app)
  22886. /Ermcp3/QueryRootUserAccount:
  22887. get:
  22888. parameters:
  22889. - description: 用户ID
  22890. in: query
  22891. name: userid
  22892. required: true
  22893. type: integer
  22894. produces:
  22895. - application/json
  22896. responses:
  22897. "200":
  22898. description: OK
  22899. schema:
  22900. items:
  22901. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22902. type: array
  22903. "500":
  22904. description: Internal Server Error
  22905. schema:
  22906. $ref: '#/definitions/app.Response'
  22907. security:
  22908. - ApiKeyAuth: []
  22909. summary: 查询顶级用户信息
  22910. tags:
  22911. - 企业风险管理v3(app)
  22912. /Ermcp3/QuerySCMiddleGoods:
  22913. get:
  22914. description: |-
  22915. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22916. 现货编号 即 合同编号
  22917. parameters:
  22918. - description: 用户ID(填登录用户的userid)
  22919. in: query
  22920. name: userid
  22921. required: true
  22922. type: integer
  22923. - description: 买卖方向 0-买 1-卖
  22924. in: query
  22925. name: buyorsell
  22926. required: true
  22927. type: integer
  22928. - description: 商品组id
  22929. in: query
  22930. name: goodsgroupid
  22931. required: true
  22932. type: integer
  22933. - description: 业务类型 1:套保 2:套利
  22934. in: query
  22935. name: biztype
  22936. type: integer
  22937. - description: 现货编号(模糊匹配)
  22938. in: query
  22939. name: contractno
  22940. type: string
  22941. - description: 对手方(模糊匹配)
  22942. in: query
  22943. name: customername
  22944. type: string
  22945. - description: 现货商品名称(模糊匹配)
  22946. in: query
  22947. name: wrstandardname
  22948. type: string
  22949. produces:
  22950. - application/json
  22951. responses:
  22952. "200":
  22953. description: OK
  22954. schema:
  22955. items:
  22956. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22957. type: array
  22958. "500":
  22959. description: Internal Server Error
  22960. schema:
  22961. $ref: '#/definitions/app.Response'
  22962. security:
  22963. - ApiKeyAuth: []
  22964. summary: 查询现货订单
  22965. tags:
  22966. - 企业风险管理v3(app)
  22967. /Ermcp3/QuerySpotContract:
  22968. get:
  22969. parameters:
  22970. - description: 用户id(当指定contractid, userid可不填)
  22971. in: query
  22972. name: userid
  22973. required: true
  22974. type: integer
  22975. - description: 用户类型 2-机构 7-企业成员
  22976. in: query
  22977. name: usertype
  22978. type: integer
  22979. - description: 合同类型 1-采购, -1-销售
  22980. in: query
  22981. name: contracttype
  22982. type: integer
  22983. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22984. in: query
  22985. name: querytype
  22986. type: string
  22987. - description: 合同ID(SpotContractId)
  22988. in: query
  22989. name: contractid
  22990. type: string
  22991. - description: 合同编号(模糊匹配)
  22992. in: query
  22993. name: contractno
  22994. type: string
  22995. - description: 商品名称(模糊匹配)
  22996. in: query
  22997. name: wrstandardname
  22998. type: string
  22999. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23000. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23001. in: query
  23002. name: status
  23003. type: string
  23004. - description: 是否只查今日的合同 1-查今日合同
  23005. in: query
  23006. name: istoday
  23007. type: integer
  23008. produces:
  23009. - application/json
  23010. responses:
  23011. "200":
  23012. description: OK
  23013. schema:
  23014. items:
  23015. $ref: '#/definitions/models.Ermcp3Contract'
  23016. type: array
  23017. "500":
  23018. description: Internal Server Error
  23019. schema:
  23020. $ref: '#/definitions/app.Response'
  23021. security:
  23022. - ApiKeyAuth: []
  23023. summary: 查询现货合同
  23024. tags:
  23025. - 企业风险管理v3(app)
  23026. /Ermcp3/QuerySpotContractBS:
  23027. get:
  23028. parameters:
  23029. - description: 用户id
  23030. in: query
  23031. name: userid
  23032. required: true
  23033. type: integer
  23034. - description: 用户类型 2-机构 7-企业成员
  23035. in: query
  23036. name: usertype
  23037. type: integer
  23038. - description: 合同类型 1-采购, -1-销售
  23039. in: query
  23040. name: contracttype
  23041. required: true
  23042. type: integer
  23043. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  23044. in: query
  23045. name: querytype
  23046. type: integer
  23047. - description: 合同ID(SpotContractId)
  23048. in: query
  23049. name: contractid
  23050. type: string
  23051. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23052. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23053. in: query
  23054. name: status
  23055. type: string
  23056. - description: 是否只查今日的合同 1-查今日合同
  23057. in: query
  23058. name: istoday
  23059. type: integer
  23060. produces:
  23061. - application/json
  23062. responses:
  23063. "200":
  23064. description: OK
  23065. schema:
  23066. items:
  23067. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  23068. type: array
  23069. "500":
  23070. description: Internal Server Error
  23071. schema:
  23072. $ref: '#/definitions/app.Response'
  23073. security:
  23074. - ApiKeyAuth: []
  23075. summary: 查询合同(采购/销售)
  23076. tags:
  23077. - 企业风险管理v3(app)
  23078. /Ermcp3/QuerySpotGoodsPrice:
  23079. get:
  23080. parameters:
  23081. - description: 用户ID
  23082. in: query
  23083. name: userid
  23084. required: true
  23085. type: integer
  23086. produces:
  23087. - application/json
  23088. responses:
  23089. "200":
  23090. description: OK
  23091. schema:
  23092. items:
  23093. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  23094. type: array
  23095. "500":
  23096. description: Internal Server Error
  23097. schema:
  23098. $ref: '#/definitions/app.Response'
  23099. security:
  23100. - ApiKeyAuth: []
  23101. summary: 查询现货市价(现货市价)
  23102. tags:
  23103. - 企业风险管理v3(app)
  23104. /Ermcp3/QuerySpotGoodsPriceLog:
  23105. get:
  23106. parameters:
  23107. - description: 用户ID
  23108. in: query
  23109. name: userid
  23110. required: true
  23111. type: integer
  23112. - description: 现货商品ID
  23113. in: query
  23114. name: deliverygoodsid
  23115. required: true
  23116. type: integer
  23117. - description: 品牌ID
  23118. in: query
  23119. name: brandid
  23120. type: integer
  23121. - description: 品类ID
  23122. in: query
  23123. name: wrstandardid
  23124. type: integer
  23125. produces:
  23126. - application/json
  23127. responses:
  23128. "200":
  23129. description: OK
  23130. schema:
  23131. items:
  23132. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23133. type: array
  23134. "500":
  23135. description: Internal Server Error
  23136. schema:
  23137. $ref: '#/definitions/app.Response'
  23138. security:
  23139. - ApiKeyAuth: []
  23140. summary: 查询现货市价详情(现货市价/详情)
  23141. tags:
  23142. - 企业风险管理v3(app)
  23143. /Ermcp3/QuerySubTaaccount:
  23144. get:
  23145. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23146. parameters:
  23147. - description: 母账号id
  23148. in: query
  23149. name: parentaccountid
  23150. type: integer
  23151. - description: 母账号代码
  23152. in: query
  23153. name: parentaccountcode
  23154. type: string
  23155. produces:
  23156. - application/json
  23157. responses:
  23158. "200":
  23159. description: OK
  23160. schema:
  23161. items:
  23162. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23163. type: array
  23164. "500":
  23165. description: Internal Server Error
  23166. schema:
  23167. $ref: '#/definitions/app.Response'
  23168. security:
  23169. - ApiKeyAuth: []
  23170. summary: 查询期货子账户
  23171. tags:
  23172. - 企业风险管理v3(app)
  23173. /Erms2/QueryArbitrageStrategy:
  23174. get:
  23175. parameters:
  23176. - description: 账户ID
  23177. in: query
  23178. name: userid
  23179. required: true
  23180. type: integer
  23181. - description: 商品组ID(品种ID)
  23182. in: query
  23183. name: goodsgroupid
  23184. type: string
  23185. produces:
  23186. - application/json
  23187. responses:
  23188. "200":
  23189. description: OK
  23190. schema:
  23191. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23192. "500":
  23193. description: Internal Server Error
  23194. schema:
  23195. $ref: '#/definitions/app.Response'
  23196. security:
  23197. - ApiKeyAuth: []
  23198. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23199. tags:
  23200. - 风险管理
  23201. /Erms2/QueryInnerTradeDetail:
  23202. get:
  23203. parameters:
  23204. - description: 资金账户
  23205. in: query
  23206. name: accountid
  23207. required: true
  23208. type: integer
  23209. produces:
  23210. - application/json
  23211. responses:
  23212. "200":
  23213. description: OK
  23214. schema:
  23215. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23216. "500":
  23217. description: Internal Server Error
  23218. schema:
  23219. $ref: '#/definitions/app.Response'
  23220. security:
  23221. - ApiKeyAuth: []
  23222. summary: 查询内部成交单信息
  23223. tags:
  23224. - 风险管理
  23225. /Erms2/QuerySpotContract:
  23226. get:
  23227. parameters:
  23228. - description: 策略申请ID
  23229. in: query
  23230. name: asapplyid
  23231. required: true
  23232. type: integer
  23233. - description: 现货合同ID
  23234. in: query
  23235. name: spotcontractid
  23236. type: integer
  23237. produces:
  23238. - application/json
  23239. responses:
  23240. "200":
  23241. description: OK
  23242. schema:
  23243. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23244. "500":
  23245. description: Internal Server Error
  23246. schema:
  23247. $ref: '#/definitions/app.Response'
  23248. security:
  23249. - ApiKeyAuth: []
  23250. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23251. tags:
  23252. - 风险管理
  23253. /Erms3/AddErms2ASApply:
  23254. post:
  23255. parameters:
  23256. - description: 申请参数
  23257. in: body
  23258. name: jsonBody
  23259. required: true
  23260. schema:
  23261. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23262. produces:
  23263. - application/json
  23264. responses:
  23265. "200":
  23266. description: OK
  23267. schema:
  23268. $ref: '#/definitions/app.Response'
  23269. "500":
  23270. description: Internal Server Error
  23271. schema:
  23272. $ref: '#/definitions/app.Response'
  23273. security:
  23274. - ApiKeyAuth: []
  23275. summary: 新增期现套利业务申请
  23276. tags:
  23277. - 风险管理v3
  23278. /Erms3/AddErms2SpotTradeApply:
  23279. post:
  23280. parameters:
  23281. - description: 申请参数
  23282. in: body
  23283. name: jsonBody
  23284. required: true
  23285. schema:
  23286. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23287. produces:
  23288. - application/json
  23289. responses:
  23290. "200":
  23291. description: OK
  23292. schema:
  23293. $ref: '#/definitions/app.Response'
  23294. "500":
  23295. description: Internal Server Error
  23296. schema:
  23297. $ref: '#/definitions/app.Response'
  23298. security:
  23299. - ApiKeyAuth: []
  23300. summary: 新增现货贸易业务申请
  23301. tags:
  23302. - 风险管理v3
  23303. /Erms3/AddSpotContractApply:
  23304. post:
  23305. parameters:
  23306. - description: 申请参数
  23307. in: body
  23308. name: jsonBody
  23309. required: true
  23310. schema:
  23311. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23312. produces:
  23313. - application/json
  23314. responses:
  23315. "200":
  23316. description: OK
  23317. schema:
  23318. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23319. "500":
  23320. description: Internal Server Error
  23321. schema:
  23322. $ref: '#/definitions/app.Response'
  23323. security:
  23324. - ApiKeyAuth: []
  23325. summary: 新增现货合同申请
  23326. tags:
  23327. - 风险管理v3
  23328. /Erms3/AddUserInfoApply:
  23329. post:
  23330. parameters:
  23331. - description: 用户信息
  23332. in: body
  23333. name: jsonBody
  23334. required: true
  23335. schema:
  23336. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23337. produces:
  23338. - application/json
  23339. responses:
  23340. "200":
  23341. description: OK
  23342. schema:
  23343. $ref: '#/definitions/app.Response'
  23344. "500":
  23345. description: Internal Server Error
  23346. schema:
  23347. $ref: '#/definitions/app.Response'
  23348. security:
  23349. - ApiKeyAuth: []
  23350. summary: 新增客户申请
  23351. tags:
  23352. - 风险管理v3
  23353. /Erms3/DeleteUserInfoApply:
  23354. get:
  23355. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23356. parameters:
  23357. - description: 用户ID
  23358. in: query
  23359. name: userID
  23360. required: true
  23361. type: integer
  23362. produces:
  23363. - application/json
  23364. responses:
  23365. "200":
  23366. description: OK
  23367. schema:
  23368. $ref: '#/definitions/app.Response'
  23369. "500":
  23370. description: Internal Server Error
  23371. schema:
  23372. $ref: '#/definitions/app.Response'
  23373. security:
  23374. - ApiKeyAuth: []
  23375. summary: 删除客户申请
  23376. tags:
  23377. - 风险管理v3
  23378. /Erms3/ModifyUserInfoApply:
  23379. post:
  23380. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23381. int, "userstate": 2 }'
  23382. parameters:
  23383. - description: 用户信息
  23384. in: body
  23385. name: jsonBody
  23386. required: true
  23387. schema:
  23388. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23389. produces:
  23390. - application/json
  23391. responses:
  23392. "200":
  23393. description: OK
  23394. schema:
  23395. $ref: '#/definitions/app.Response'
  23396. "500":
  23397. description: Internal Server Error
  23398. schema:
  23399. $ref: '#/definitions/app.Response'
  23400. security:
  23401. - ApiKeyAuth: []
  23402. summary: 修改客户申请
  23403. tags:
  23404. - 风险管理v3
  23405. /Erms3/QueryBusinessInfo:
  23406. get:
  23407. parameters:
  23408. - description: 资金账号ID列表,用逗号分隔
  23409. in: query
  23410. name: accountids
  23411. required: true
  23412. type: string
  23413. - description: 状态,0为未结束 1为已结束
  23414. in: query
  23415. name: status
  23416. required: true
  23417. type: integer
  23418. produces:
  23419. - application/json
  23420. responses:
  23421. "200":
  23422. description: OK
  23423. schema:
  23424. items:
  23425. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23426. type: array
  23427. "500":
  23428. description: Internal Server Error
  23429. schema:
  23430. $ref: '#/definitions/app.Response'
  23431. security:
  23432. - ApiKeyAuth: []
  23433. summary: 查询业务表单数据
  23434. tags:
  23435. - 风险管理v3
  23436. /Erms3/QueryPendingAuditContract:
  23437. get:
  23438. parameters:
  23439. - description: 资金账号ID列表,逗号隔开
  23440. in: query
  23441. name: accountids
  23442. required: true
  23443. type: string
  23444. - description: 合同类型 1-采购 -1-销售
  23445. in: query
  23446. name: contracttype
  23447. required: true
  23448. type: integer
  23449. - description: 合同模式 1-普通 2-回购
  23450. in: query
  23451. name: contractmode
  23452. required: true
  23453. type: integer
  23454. produces:
  23455. - application/json
  23456. responses:
  23457. "200":
  23458. description: OK
  23459. schema:
  23460. items:
  23461. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23462. type: array
  23463. "500":
  23464. description: Internal Server Error
  23465. schema:
  23466. $ref: '#/definitions/app.Response'
  23467. security:
  23468. - ApiKeyAuth: []
  23469. summary: 查询待审核合同
  23470. tags:
  23471. - 风险管理v3
  23472. /Erms3/QueryPendingBusiness:
  23473. get:
  23474. parameters:
  23475. - description: 资金账号ID列表,逗号隔开
  23476. in: query
  23477. name: accountids
  23478. required: true
  23479. type: string
  23480. produces:
  23481. - application/json
  23482. responses:
  23483. "200":
  23484. description: OK
  23485. schema:
  23486. items:
  23487. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23488. type: array
  23489. "500":
  23490. description: Internal Server Error
  23491. schema:
  23492. $ref: '#/definitions/app.Response'
  23493. security:
  23494. - ApiKeyAuth: []
  23495. summary: 查询待审核基差贸易业务
  23496. tags:
  23497. - 风险管理v3
  23498. /Erms3/QuerySpotContractAppleForm:
  23499. get:
  23500. parameters:
  23501. - description: 登录账号
  23502. in: query
  23503. name: loginID
  23504. required: true
  23505. type: integer
  23506. produces:
  23507. - application/json
  23508. responses:
  23509. "200":
  23510. description: OK
  23511. schema:
  23512. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23513. "500":
  23514. description: Internal Server Error
  23515. schema:
  23516. $ref: '#/definitions/app.Response'
  23517. security:
  23518. - ApiKeyAuth: []
  23519. summary: 查询合同申请表单数据
  23520. tags:
  23521. - 风险管理v3
  23522. /Erms3/QuerySpotContractDetail:
  23523. get:
  23524. parameters:
  23525. - description: 资金账号ID列表,用逗号分隔
  23526. in: query
  23527. name: accountids
  23528. required: true
  23529. type: string
  23530. - description: 合同类型,1为采购合同 -1为销售合同
  23531. in: query
  23532. name: contracttype
  23533. required: true
  23534. type: integer
  23535. - description: 合同模式,1为普通合同 2为回购销售合同
  23536. in: query
  23537. name: contractmode
  23538. required: true
  23539. type: integer
  23540. - description: 状态,0为履约中 1为已完成
  23541. in: query
  23542. name: status
  23543. required: true
  23544. type: integer
  23545. produces:
  23546. - application/json
  23547. responses:
  23548. "200":
  23549. description: OK
  23550. schema:
  23551. items:
  23552. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23553. type: array
  23554. "500":
  23555. description: Internal Server Error
  23556. schema:
  23557. $ref: '#/definitions/app.Response'
  23558. security:
  23559. - ApiKeyAuth: []
  23560. summary: 查询合同详细信息
  23561. tags:
  23562. - 风险管理v3
  23563. /Erms3/QueryUserInfoApplies:
  23564. get:
  23565. parameters:
  23566. - description: 页码
  23567. in: query
  23568. name: page
  23569. type: integer
  23570. - description: 每页条数
  23571. in: query
  23572. name: pagesize
  23573. type: integer
  23574. - description: 客户名称,支持模糊查询
  23575. in: query
  23576. name: userName
  23577. type: string
  23578. produces:
  23579. - application/json
  23580. responses:
  23581. "200":
  23582. description: OK
  23583. schema:
  23584. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23585. "500":
  23586. description: Internal Server Error
  23587. schema:
  23588. $ref: '#/definitions/app.Response'
  23589. security:
  23590. - ApiKeyAuth: []
  23591. summary: 客户申请信息查询
  23592. tags:
  23593. - 风险管理v3
  23594. /Erms3/QueryUserInfos:
  23595. get:
  23596. parameters:
  23597. - description: 页码
  23598. in: query
  23599. name: page
  23600. type: integer
  23601. - description: 每页条数
  23602. in: query
  23603. name: pagesize
  23604. type: integer
  23605. - description: 客户名称,支持模糊查询
  23606. in: query
  23607. name: userName
  23608. type: string
  23609. produces:
  23610. - application/json
  23611. responses:
  23612. "200":
  23613. description: OK
  23614. schema:
  23615. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23616. "500":
  23617. description: Internal Server Error
  23618. schema:
  23619. $ref: '#/definitions/app.Response'
  23620. security:
  23621. - ApiKeyAuth: []
  23622. summary: 客户信息查询
  23623. tags:
  23624. - 风险管理v3
  23625. /HSBY/GetHsbyMyCount:
  23626. get:
  23627. description: 说明: 不包括已完成的数量。
  23628. parameters:
  23629. - description: 资金账户列表,格式:1,2,3
  23630. in: query
  23631. name: accountIDs
  23632. required: true
  23633. type: string
  23634. produces:
  23635. - application/json
  23636. responses:
  23637. "200":
  23638. description: OK
  23639. schema:
  23640. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23641. "500":
  23642. description: Internal Server Error
  23643. schema:
  23644. $ref: '#/definitions/app.Response'
  23645. security:
  23646. - ApiKeyAuth: []
  23647. summary: 获取我的订单与包裹数量
  23648. tags:
  23649. - 定制【海商报业】
  23650. /HSBY/QueryClientFixedADConfigs:
  23651. get:
  23652. produces:
  23653. - application/json
  23654. responses:
  23655. "200":
  23656. description: OK
  23657. schema:
  23658. $ref: '#/definitions/models.Clientfixedadconfig'
  23659. "500":
  23660. description: Internal Server Error
  23661. schema:
  23662. $ref: '#/definitions/app.Response'
  23663. security:
  23664. - ApiKeyAuth: []
  23665. summary: 获取终端固定广告配置
  23666. tags:
  23667. - 定制【海商报业】
  23668. /HSBY/QueryHsbyBuyMyTradeDetail:
  23669. get:
  23670. parameters:
  23671. - description: 页码
  23672. in: query
  23673. name: page
  23674. type: integer
  23675. - description: 每页条数
  23676. in: query
  23677. name: pagesize
  23678. type: integer
  23679. - description: 资金账户列表,格式:1,2,3
  23680. in: query
  23681. name: accountIDs
  23682. required: true
  23683. type: string
  23684. produces:
  23685. - application/json
  23686. responses:
  23687. "200":
  23688. description: OK
  23689. schema:
  23690. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23691. "500":
  23692. description: Internal Server Error
  23693. schema:
  23694. $ref: '#/definitions/app.Response'
  23695. security:
  23696. - ApiKeyAuth: []
  23697. summary: 查询"我的订单 - 已完成"单据信息
  23698. tags:
  23699. - 定制【海商报业】
  23700. /HSBY/QueryHsbyGoodsOrderDetails:
  23701. get:
  23702. description: 说明:查询结果已按委托价格和委托时间排序
  23703. parameters:
  23704. - description: 商品ID
  23705. in: query
  23706. name: goodsID
  23707. required: true
  23708. type: integer
  23709. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23710. in: query
  23711. name: accountIDs
  23712. type: string
  23713. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23714. in: query
  23715. name: buyOrSell
  23716. type: integer
  23717. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23718. in: query
  23719. name: price
  23720. type: number
  23721. - description: 档位,不传则默认为3档
  23722. in: query
  23723. name: speed
  23724. type: integer
  23725. produces:
  23726. - application/json
  23727. responses:
  23728. "200":
  23729. description: OK
  23730. schema:
  23731. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23732. "500":
  23733. description: Internal Server Error
  23734. schema:
  23735. $ref: '#/definitions/app.Response'
  23736. security:
  23737. - ApiKeyAuth: []
  23738. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23739. tags:
  23740. - 定制【海商报业】
  23741. /HSBY/QueryHsbyListingGoodsDetail:
  23742. get:
  23743. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23744. parameters:
  23745. - description: 商品ID
  23746. in: query
  23747. name: goodsID
  23748. required: true
  23749. type: integer
  23750. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23751. in: query
  23752. name: accountID
  23753. type: integer
  23754. produces:
  23755. - application/json
  23756. responses:
  23757. "200":
  23758. description: OK
  23759. schema:
  23760. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23761. "500":
  23762. description: Internal Server Error
  23763. schema:
  23764. $ref: '#/definitions/app.Response'
  23765. security:
  23766. - ApiKeyAuth: []
  23767. summary: 查询二级市场(挂牌点选)商品信息详情
  23768. tags:
  23769. - 定制【海商报业】
  23770. /HSBY/QueryHsbyMarketGoodsDetail:
  23771. get:
  23772. parameters:
  23773. - description: 委托单号
  23774. in: query
  23775. name: orderID
  23776. required: true
  23777. type: integer
  23778. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23779. in: query
  23780. name: accountID
  23781. type: integer
  23782. produces:
  23783. - application/json
  23784. responses:
  23785. "200":
  23786. description: OK
  23787. schema:
  23788. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23789. "500":
  23790. description: Internal Server Error
  23791. schema:
  23792. $ref: '#/definitions/app.Response'
  23793. security:
  23794. - ApiKeyAuth: []
  23795. summary: 查询三级市场(商城)商品信息详情
  23796. tags:
  23797. - 定制【海商报业】
  23798. /HSBY/QueryHsbyMarketGoodses:
  23799. get:
  23800. parameters:
  23801. - description: 页码
  23802. in: query
  23803. name: page
  23804. type: integer
  23805. - description: 每页条数
  23806. in: query
  23807. name: pagesize
  23808. type: integer
  23809. - description: 市场ID列表,格式:1,2,3
  23810. in: query
  23811. name: marketIDs
  23812. required: true
  23813. type: string
  23814. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23815. in: query
  23816. name: accountID
  23817. required: true
  23818. type: integer
  23819. - description: 类别ID
  23820. in: query
  23821. name: categoryID
  23822. type: integer
  23823. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23824. in: query
  23825. name: goodsIDs
  23826. type: string
  23827. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23828. in: query
  23829. name: couponTypeID
  23830. type: integer
  23831. produces:
  23832. - application/json
  23833. responses:
  23834. "200":
  23835. description: OK
  23836. schema:
  23837. $ref: '#/definitions/models.HsbyMarketGoods'
  23838. "500":
  23839. description: Internal Server Error
  23840. schema:
  23841. $ref: '#/definitions/app.Response'
  23842. security:
  23843. - ApiKeyAuth: []
  23844. summary: 查询特卖商品列表(三级商城)
  23845. tags:
  23846. - 定制【海商报业】
  23847. /HSBY/QueryHsbyMarkets:
  23848. get:
  23849. produces:
  23850. - application/json
  23851. responses:
  23852. "200":
  23853. description: OK
  23854. schema:
  23855. $ref: '#/definitions/models.HsbyMarketInfo'
  23856. "500":
  23857. description: Internal Server Error
  23858. schema:
  23859. $ref: '#/definitions/app.Response'
  23860. security:
  23861. - ApiKeyAuth: []
  23862. summary: 查询海商报业相关市场信息
  23863. tags:
  23864. - 定制【海商报业】
  23865. /HSBY/QueryHsbyMyBuyOrderDetails:
  23866. get:
  23867. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23868. parameters:
  23869. - description: 资金账户列表,格式:1,2,3
  23870. in: query
  23871. name: accountIDs
  23872. required: true
  23873. type: string
  23874. produces:
  23875. - application/json
  23876. responses:
  23877. "200":
  23878. description: OK
  23879. schema:
  23880. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23881. "500":
  23882. description: Internal Server Error
  23883. schema:
  23884. $ref: '#/definitions/app.Response'
  23885. security:
  23886. - ApiKeyAuth: []
  23887. summary: 查询“我的订单”信息
  23888. tags:
  23889. - 定制【海商报业】
  23890. /HSBY/QueryHsbyMyGoods:
  23891. get:
  23892. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23893. parameters:
  23894. - description: 资金账户列表,格式:1,2,3
  23895. in: query
  23896. name: accountIDs
  23897. required: true
  23898. type: string
  23899. produces:
  23900. - application/json
  23901. responses:
  23902. "200":
  23903. description: OK
  23904. schema:
  23905. $ref: '#/definitions/models.HsbyMyGoods'
  23906. "500":
  23907. description: Internal Server Error
  23908. schema:
  23909. $ref: '#/definitions/app.Response'
  23910. security:
  23911. - ApiKeyAuth: []
  23912. summary: 查询“我的商品”信息
  23913. tags:
  23914. - 定制【海商报业】
  23915. /HSBY/QueryHsbyMyPackages:
  23916. get:
  23917. parameters:
  23918. - description: 资金账户列表,格式:1,2,3
  23919. in: query
  23920. name: accountIDs
  23921. required: true
  23922. type: string
  23923. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23924. in: query
  23925. name: takeOrderStatus
  23926. type: integer
  23927. produces:
  23928. - application/json
  23929. responses:
  23930. "200":
  23931. description: OK
  23932. schema:
  23933. $ref: '#/definitions/models.HsbyMyPackage'
  23934. "500":
  23935. description: Internal Server Error
  23936. schema:
  23937. $ref: '#/definitions/app.Response'
  23938. security:
  23939. - ApiKeyAuth: []
  23940. summary: 查询我的包裹信息
  23941. tags:
  23942. - 定制【海商报业】
  23943. /HSBY/QueryHsbyPreGoodsDetail:
  23944. get:
  23945. parameters:
  23946. - description: 商品ID
  23947. in: query
  23948. name: goodsID
  23949. required: true
  23950. type: integer
  23951. - description: 资金账户,主要用于获取预售商品购买上限
  23952. in: query
  23953. name: accountID
  23954. type: integer
  23955. produces:
  23956. - application/json
  23957. responses:
  23958. "200":
  23959. description: OK
  23960. schema:
  23961. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23962. "500":
  23963. description: Internal Server Error
  23964. schema:
  23965. $ref: '#/definitions/app.Response'
  23966. security:
  23967. - ApiKeyAuth: []
  23968. summary: 查询一级市场(预售)商品信息详情
  23969. tags:
  23970. - 定制【海商报业】
  23971. /HSBY/QueryHsbyPreGoodses:
  23972. get:
  23973. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23974. parameters:
  23975. - description: 页码
  23976. in: query
  23977. name: page
  23978. type: integer
  23979. - description: 每页条数
  23980. in: query
  23981. name: pagesize
  23982. type: integer
  23983. - description: 市场ID列表,格式:1,2,3
  23984. in: query
  23985. name: marketIDs
  23986. required: true
  23987. type: string
  23988. - description: 目的地(省)ID
  23989. in: query
  23990. name: descProvinceID
  23991. type: integer
  23992. - description: 目的地(市)ID
  23993. in: query
  23994. name: descCityID
  23995. type: integer
  23996. produces:
  23997. - application/json
  23998. responses:
  23999. "200":
  24000. description: OK
  24001. schema:
  24002. $ref: '#/definitions/models.HsbyPreGoods'
  24003. "500":
  24004. description: Internal Server Error
  24005. schema:
  24006. $ref: '#/definitions/app.Response'
  24007. security:
  24008. - ApiKeyAuth: []
  24009. summary: 查询新品上市商品列表(一级市场预售)
  24010. tags:
  24011. - 定制【海商报业】
  24012. /HSBY/QueryHsbySellMyDetails:
  24013. get:
  24014. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  24015. parameters:
  24016. - description: 页码
  24017. in: query
  24018. name: page
  24019. type: integer
  24020. - description: 每页条数
  24021. in: query
  24022. name: pagesize
  24023. type: integer
  24024. - description: 资金账户列表,格式:1,2,3
  24025. in: query
  24026. name: accountIDs
  24027. required: true
  24028. type: string
  24029. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  24030. in: query
  24031. name: orderType
  24032. type: integer
  24033. produces:
  24034. - application/json
  24035. responses:
  24036. "200":
  24037. description: OK
  24038. schema:
  24039. $ref: '#/definitions/models.HsbySellMyDetail'
  24040. "500":
  24041. description: Internal Server Error
  24042. schema:
  24043. $ref: '#/definitions/app.Response'
  24044. security:
  24045. - ApiKeyAuth: []
  24046. summary: 查询"我的闲置"单据信息
  24047. tags:
  24048. - 定制【海商报业】
  24049. /HSBY/QueryHsbyTopGoodses:
  24050. get:
  24051. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  24052. parameters:
  24053. - description: 页码
  24054. in: query
  24055. name: page
  24056. type: integer
  24057. - description: 每页条数
  24058. in: query
  24059. name: pagesize
  24060. type: integer
  24061. - description: 市场ID列表,格式:1,2,3
  24062. in: query
  24063. name: marketIDs
  24064. required: true
  24065. type: string
  24066. - description: 目的地(省)ID
  24067. in: query
  24068. name: descProvinceID
  24069. type: integer
  24070. - description: 目的地(市)ID
  24071. in: query
  24072. name: descCityID
  24073. type: integer
  24074. produces:
  24075. - application/json
  24076. responses:
  24077. "200":
  24078. description: OK
  24079. schema:
  24080. $ref: '#/definitions/models.HsbyTopGoods'
  24081. "500":
  24082. description: Internal Server Error
  24083. schema:
  24084. $ref: '#/definitions/app.Response'
  24085. security:
  24086. - ApiKeyAuth: []
  24087. summary: 查询热卖商品列表(二级市场挂牌点选)
  24088. tags:
  24089. - 定制【海商报业】
  24090. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  24091. get:
  24092. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  24093. parameters:
  24094. - description: 商品ID
  24095. in: query
  24096. name: goodsID
  24097. required: true
  24098. type: integer
  24099. produces:
  24100. - application/json
  24101. responses:
  24102. "200":
  24103. description: OK
  24104. schema:
  24105. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24106. "500":
  24107. description: Internal Server Error
  24108. schema:
  24109. $ref: '#/definitions/app.Response'
  24110. security:
  24111. - ApiKeyAuth: []
  24112. summary: 查询游客三级市场(商城)商品信息详情
  24113. tags:
  24114. - 定制【海商报业】
  24115. /HSBY/QueryHsbyVisitorMarketGoodses:
  24116. get:
  24117. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  24118. parameters:
  24119. - description: 页码
  24120. in: query
  24121. name: page
  24122. type: integer
  24123. - description: 每页条数
  24124. in: query
  24125. name: pagesize
  24126. type: integer
  24127. - description: 市场ID列表,格式:1,2,3
  24128. in: query
  24129. name: marketIDs
  24130. required: true
  24131. type: string
  24132. - description: 类别ID
  24133. in: query
  24134. name: categoryID
  24135. type: integer
  24136. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24137. in: query
  24138. name: goodsIDs
  24139. type: string
  24140. produces:
  24141. - application/json
  24142. responses:
  24143. "200":
  24144. description: OK
  24145. schema:
  24146. $ref: '#/definitions/models.HsbyMarketGoods'
  24147. "500":
  24148. description: Internal Server Error
  24149. schema:
  24150. $ref: '#/definitions/app.Response'
  24151. security:
  24152. - ApiKeyAuth: []
  24153. summary: 查询游客特卖商品列表(三级商城)
  24154. tags:
  24155. - 定制【海商报业】
  24156. /HSBY/QueryMyCollectionOrders:
  24157. get:
  24158. parameters:
  24159. - description: 页码
  24160. in: query
  24161. name: page
  24162. type: integer
  24163. - description: 每页条数
  24164. in: query
  24165. name: pagesize
  24166. type: integer
  24167. - description: 资金账户,格式:1,2,3
  24168. in: query
  24169. name: accountIDs
  24170. required: true
  24171. type: string
  24172. produces:
  24173. - application/json
  24174. responses:
  24175. "200":
  24176. description: OK
  24177. schema:
  24178. $ref: '#/definitions/models.HsbySellCollectionOrder'
  24179. "500":
  24180. description: Internal Server Error
  24181. schema:
  24182. $ref: '#/definitions/app.Response'
  24183. security:
  24184. - ApiKeyAuth: []
  24185. summary: 我的闲置中收款信息查询
  24186. tags:
  24187. - 定制【海商报业】
  24188. /HSBY/QueryMyCouponHolds:
  24189. get:
  24190. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  24191. parameters:
  24192. - description: 资金账户列表,格式:1,2,3
  24193. in: query
  24194. name: accountIDs
  24195. required: true
  24196. type: string
  24197. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  24198. in: query
  24199. name: holdStatus
  24200. type: string
  24201. produces:
  24202. - application/json
  24203. responses:
  24204. "200":
  24205. description: OK
  24206. schema:
  24207. $ref: '#/definitions/models.MyCouponHold'
  24208. "500":
  24209. description: Internal Server Error
  24210. schema:
  24211. $ref: '#/definitions/app.Response'
  24212. security:
  24213. - ApiKeyAuth: []
  24214. summary: 我的优惠卷持仓查询
  24215. tags:
  24216. - 定制【海商报业】
  24217. /HSBY/QueryMyCoupons:
  24218. get:
  24219. parameters:
  24220. - description: 资金账户列表,格式:1,2,3
  24221. in: query
  24222. name: accountIDs
  24223. required: true
  24224. type: string
  24225. - description: 商品ID, 一般与sellUserID配套传入
  24226. in: query
  24227. name: goodsID
  24228. type: integer
  24229. - description: 卖方UserID
  24230. in: query
  24231. name: sellUserID
  24232. type: integer
  24233. produces:
  24234. - application/json
  24235. responses:
  24236. "200":
  24237. description: OK
  24238. schema:
  24239. $ref: '#/definitions/models.MyCoupon'
  24240. "500":
  24241. description: Internal Server Error
  24242. schema:
  24243. $ref: '#/definitions/app.Response'
  24244. security:
  24245. - ApiKeyAuth: []
  24246. summary: 我的优惠卷查询
  24247. tags:
  24248. - 定制【海商报业】
  24249. /HSBY/QueryMyPayOrders:
  24250. get:
  24251. parameters:
  24252. - description: 页码
  24253. in: query
  24254. name: page
  24255. type: integer
  24256. - description: 每页条数
  24257. in: query
  24258. name: pagesize
  24259. type: integer
  24260. - description: 资金账户列表,格式:1,2,3
  24261. in: query
  24262. name: accountIDs
  24263. required: true
  24264. type: string
  24265. - description: 买方委托单号
  24266. in: query
  24267. name: buyOrderID
  24268. type: integer
  24269. - description: 卖方委托单号
  24270. in: query
  24271. name: sellOrderID
  24272. type: integer
  24273. produces:
  24274. - application/json
  24275. responses:
  24276. "200":
  24277. description: OK
  24278. schema:
  24279. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24280. "500":
  24281. description: Internal Server Error
  24282. schema:
  24283. $ref: '#/definitions/app.Response'
  24284. security:
  24285. - ApiKeyAuth: []
  24286. summary: 获取我的订单中待付款信息
  24287. tags:
  24288. - 定制【海商报业】
  24289. /HSBY/QueryMyUsedCoupon:
  24290. get:
  24291. parameters:
  24292. - description: 资金账户列表,格式:1,2,3
  24293. in: query
  24294. name: accountIDs
  24295. required: true
  24296. type: string
  24297. produces:
  24298. - application/json
  24299. responses:
  24300. "200":
  24301. description: OK
  24302. schema:
  24303. $ref: '#/definitions/models.MyUsedCoupon'
  24304. "500":
  24305. description: Internal Server Error
  24306. schema:
  24307. $ref: '#/definitions/app.Response'
  24308. security:
  24309. - ApiKeyAuth: []
  24310. summary: 已使用优惠卷查询
  24311. tags:
  24312. - 定制【海商报业】
  24313. /HSBY/QueryProvincesAndCities:
  24314. get:
  24315. description: 查询结果只包括二级市场商品已关连的省市信息。
  24316. parameters:
  24317. - description: 省ID
  24318. in: query
  24319. name: provinceID
  24320. type: integer
  24321. produces:
  24322. - application/json
  24323. responses:
  24324. "200":
  24325. description: OK
  24326. schema:
  24327. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24328. "500":
  24329. description: Internal Server Error
  24330. schema:
  24331. $ref: '#/definitions/app.Response'
  24332. security:
  24333. - ApiKeyAuth: []
  24334. summary: 查询省市信息(不包括区)
  24335. tags:
  24336. - 定制【海商报业】
  24337. /HSBY/SetHsbyMyPackagesStatus:
  24338. post:
  24339. parameters:
  24340. - description: 提货单号
  24341. in: query
  24342. name: takeOrderID
  24343. required: true
  24344. type: string
  24345. - description: 资金账号
  24346. in: query
  24347. name: accountID
  24348. required: true
  24349. type: integer
  24350. produces:
  24351. - application/json
  24352. responses:
  24353. "200":
  24354. description: OK
  24355. schema:
  24356. $ref: '#/definitions/app.Response'
  24357. "500":
  24358. description: Internal Server Error
  24359. schema:
  24360. $ref: '#/definitions/app.Response'
  24361. security:
  24362. - ApiKeyAuth: []
  24363. summary: 设置我的包裹已收货状态
  24364. tags:
  24365. - 定制【海商报业】
  24366. /Market/GetAllExExchanges:
  24367. get:
  24368. produces:
  24369. - application/json
  24370. responses:
  24371. "200":
  24372. description: OK
  24373. schema:
  24374. $ref: '#/definitions/models.Goods'
  24375. "500":
  24376. description: Internal Server Error
  24377. schema:
  24378. $ref: '#/definitions/app.Response'
  24379. security:
  24380. - ApiKeyAuth: []
  24381. summary: 获取所有外部交易所信息
  24382. tags:
  24383. - 通用市场
  24384. /Market/QueryGoodsesByLoginID:
  24385. get:
  24386. parameters:
  24387. - description: 登录账号
  24388. in: query
  24389. name: loginID
  24390. required: true
  24391. type: integer
  24392. - description: 市场ID列表,格式:1,2,3
  24393. in: query
  24394. name: marketIDs
  24395. type: string
  24396. produces:
  24397. - application/json
  24398. responses:
  24399. "200":
  24400. description: OK
  24401. schema:
  24402. $ref: '#/definitions/models.Goods'
  24403. "500":
  24404. description: Internal Server Error
  24405. schema:
  24406. $ref: '#/definitions/app.Response'
  24407. security:
  24408. - ApiKeyAuth: []
  24409. summary: 获取登录账号有权限的商品信息
  24410. tags:
  24411. - 通用市场
  24412. /Market/QueryMarketRun:
  24413. get:
  24414. parameters:
  24415. - description: 市场ID,不传返回所有
  24416. in: query
  24417. name: marketID
  24418. type: integer
  24419. produces:
  24420. - application/json
  24421. responses:
  24422. "200":
  24423. description: OK
  24424. schema:
  24425. $ref: '#/definitions/models.Marketrun'
  24426. "500":
  24427. description: Internal Server Error
  24428. schema:
  24429. $ref: '#/definitions/app.Response'
  24430. security:
  24431. - ApiKeyAuth: []
  24432. summary: 查询市场运行信息
  24433. tags:
  24434. - 通用市场
  24435. /Market/QueryMarketsByLoginID:
  24436. get:
  24437. parameters:
  24438. - description: 登录账号
  24439. in: query
  24440. name: loginID
  24441. required: true
  24442. type: integer
  24443. produces:
  24444. - application/json
  24445. responses:
  24446. "200":
  24447. description: OK
  24448. schema:
  24449. $ref: '#/definitions/models.Market'
  24450. "500":
  24451. description: Internal Server Error
  24452. schema:
  24453. $ref: '#/definitions/app.Response'
  24454. security:
  24455. - ApiKeyAuth: []
  24456. summary: 获取登录账号有权限的市场信息
  24457. tags:
  24458. - 通用市场
  24459. /Order/QueryHisTradeDetail:
  24460. get:
  24461. parameters:
  24462. - description: 资金账户 - 格式:1,2,3
  24463. in: query
  24464. name: accountID
  24465. required: true
  24466. type: string
  24467. - description: 成交单号
  24468. in: query
  24469. name: tradeID
  24470. type: integer
  24471. - description: 委托单号
  24472. in: query
  24473. name: orderID
  24474. type: integer
  24475. - description: 商品ID
  24476. in: query
  24477. name: goodsID
  24478. type: integer
  24479. - description: 交易模式 - 格式:1,2,3
  24480. in: query
  24481. name: tradeMode
  24482. type: string
  24483. - description: 委托单据类型
  24484. in: query
  24485. name: buildType
  24486. type: integer
  24487. - description: 成交类别 - 格式:1,2,3
  24488. in: query
  24489. name: tradeType
  24490. type: string
  24491. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24492. in: query
  24493. name: startDate
  24494. type: string
  24495. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24496. in: query
  24497. name: endDate
  24498. type: string
  24499. produces:
  24500. - application/json
  24501. responses:
  24502. "200":
  24503. description: OK
  24504. schema:
  24505. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24506. "500":
  24507. description: Internal Server Error
  24508. schema:
  24509. $ref: '#/definitions/app.Response'
  24510. security:
  24511. - ApiKeyAuth: []
  24512. summary: 历史成交单查询(合约市场)
  24513. tags:
  24514. - 通用单据
  24515. /Order/QueryHisTradeOrderDetail:
  24516. get:
  24517. parameters:
  24518. - description: 资金账户 - 格式:1,2,3
  24519. in: query
  24520. name: accountID
  24521. required: true
  24522. type: string
  24523. - description: 交易模式 - 格式:1,2,3
  24524. in: query
  24525. name: tradeMode
  24526. type: string
  24527. - description: 委托状态 - 格式:1,2,3
  24528. in: query
  24529. name: orderStatus
  24530. type: string
  24531. - description: 委托单号
  24532. in: query
  24533. name: orderID
  24534. type: integer
  24535. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24536. in: query
  24537. name: startDate
  24538. type: string
  24539. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24540. in: query
  24541. name: endDate
  24542. type: string
  24543. produces:
  24544. - application/json
  24545. responses:
  24546. "200":
  24547. description: OK
  24548. schema:
  24549. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24550. "500":
  24551. description: Internal Server Error
  24552. schema:
  24553. $ref: '#/definitions/app.Response'
  24554. security:
  24555. - ApiKeyAuth: []
  24556. summary: 历史委托单查询请求(合约市场)
  24557. tags:
  24558. - 通用单据
  24559. /Order/QueryTradeDetail:
  24560. get:
  24561. parameters:
  24562. - description: 资金账户 - 格式:1,2,3
  24563. in: query
  24564. name: accountID
  24565. required: true
  24566. type: string
  24567. - description: 成交单号
  24568. in: query
  24569. name: tradeID
  24570. type: integer
  24571. - description: 委托单号
  24572. in: query
  24573. name: orderID
  24574. type: integer
  24575. - description: 交易模式 - 格式:1,2,3
  24576. in: query
  24577. name: tradeMode
  24578. type: string
  24579. - description: 委托单据类型
  24580. in: query
  24581. name: buildType
  24582. type: integer
  24583. - description: 成交类别 - 格式:1,2,3
  24584. in: query
  24585. name: tradeType
  24586. type: string
  24587. - description: 商品ID
  24588. in: query
  24589. name: goodsID
  24590. type: integer
  24591. produces:
  24592. - application/json
  24593. responses:
  24594. "200":
  24595. description: OK
  24596. schema:
  24597. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24598. "500":
  24599. description: Internal Server Error
  24600. schema:
  24601. $ref: '#/definitions/app.Response'
  24602. security:
  24603. - ApiKeyAuth: []
  24604. summary: 成交单查询(合约市场)
  24605. tags:
  24606. - 通用单据
  24607. /Order/QueryTradeHolderDetail:
  24608. get:
  24609. parameters:
  24610. - description: 用户id
  24611. in: query
  24612. name: userid
  24613. type: integer
  24614. - description: 资金账号, 格式 1,2,3
  24615. in: query
  24616. name: accids
  24617. type: string
  24618. - description: 交易模式, 格式 1,2,3
  24619. in: query
  24620. name: trademodes
  24621. type: string
  24622. - description: 市场id, 格式 1,2,3
  24623. in: query
  24624. name: marketids
  24625. type: string
  24626. - description: 商品id
  24627. in: query
  24628. name: goodsid
  24629. type: integer
  24630. - description: 买卖方向 0-买 1-卖
  24631. in: query
  24632. name: buyorsell
  24633. type: integer
  24634. produces:
  24635. - application/json
  24636. responses:
  24637. "200":
  24638. description: OK
  24639. schema:
  24640. items:
  24641. $ref: '#/definitions/models.TradeHolderDetail'
  24642. type: array
  24643. "500":
  24644. description: Internal Server Error
  24645. schema:
  24646. $ref: '#/definitions/app.Response'
  24647. security:
  24648. - ApiKeyAuth: []
  24649. summary: 查询持仓明细
  24650. tags:
  24651. - 通用单据
  24652. /Order/QueryTradeOrderDetail:
  24653. get:
  24654. parameters:
  24655. - description: 资金账户 - 格式:1,2,3
  24656. in: query
  24657. name: accountID
  24658. required: true
  24659. type: string
  24660. - description: 交易模式 - 格式:1,2,3
  24661. in: query
  24662. name: tradeMode
  24663. type: string
  24664. - description: 委托状态 - 格式:1,2,3
  24665. in: query
  24666. name: orderStatus
  24667. type: string
  24668. - description: 委托单号
  24669. in: query
  24670. name: orderID
  24671. type: integer
  24672. produces:
  24673. - application/json
  24674. responses:
  24675. "200":
  24676. description: OK
  24677. schema:
  24678. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24679. "500":
  24680. description: Internal Server Error
  24681. schema:
  24682. $ref: '#/definitions/app.Response'
  24683. security:
  24684. - ApiKeyAuth: []
  24685. summary: 委托单查询请求(合约市场)
  24686. tags:
  24687. - 通用单据
  24688. /Order/QueryTradePosition:
  24689. get:
  24690. parameters:
  24691. - description: 资金账户 - 格式:1,2,3
  24692. in: query
  24693. name: accountID
  24694. required: true
  24695. type: string
  24696. - description: 交易模式 - 格式:1,2,3
  24697. in: query
  24698. name: tradeMode
  24699. type: string
  24700. produces:
  24701. - application/json
  24702. responses:
  24703. "200":
  24704. description: OK
  24705. schema:
  24706. $ref: '#/definitions/order.QueryTradePositionRsp'
  24707. "500":
  24708. description: Internal Server Error
  24709. schema:
  24710. $ref: '#/definitions/app.Response'
  24711. security:
  24712. - ApiKeyAuth: []
  24713. summary: 持仓汇总查询(合约市场)
  24714. tags:
  24715. - 通用单据
  24716. /Qhj/QueryAccountInOutApply:
  24717. get:
  24718. parameters:
  24719. - description: 用户ID
  24720. in: query
  24721. name: userid
  24722. required: true
  24723. type: integer
  24724. - description: 申请起始日期(格式yyyymmdd)
  24725. in: query
  24726. name: begindate
  24727. type: string
  24728. - description: 申请截止日期(格式yyyymmdd)
  24729. in: query
  24730. name: enddate
  24731. type: string
  24732. - description: 模糊搜索名称
  24733. in: query
  24734. name: likename
  24735. type: string
  24736. produces:
  24737. - application/json
  24738. responses:
  24739. "200":
  24740. description: OK
  24741. schema:
  24742. items:
  24743. $ref: '#/definitions/models.QhjAccountOutInApply'
  24744. type: array
  24745. "500":
  24746. description: Internal Server Error
  24747. schema:
  24748. $ref: '#/definitions/app.Response'
  24749. security:
  24750. - ApiKeyAuth: []
  24751. summary: 查询充值提现
  24752. tags:
  24753. - 大连千海金
  24754. /Qhj/QueryAreaFinanceConfig:
  24755. get:
  24756. parameters:
  24757. - description: 机构用户ID 其他做市关系,都设置为 1
  24758. in: query
  24759. name: userid
  24760. type: integer
  24761. produces:
  24762. - application/json
  24763. responses:
  24764. "200":
  24765. description: OK
  24766. schema:
  24767. items:
  24768. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24769. type: array
  24770. "500":
  24771. description: Internal Server Error
  24772. schema:
  24773. $ref: '#/definitions/app.Response'
  24774. security:
  24775. - ApiKeyAuth: []
  24776. summary: 查询企业配置表
  24777. tags:
  24778. - 大连千海金
  24779. /Qhj/QueryBankAccountSign:
  24780. get:
  24781. parameters:
  24782. - description: 用户ID
  24783. in: query
  24784. name: userid
  24785. required: true
  24786. type: integer
  24787. produces:
  24788. - application/json
  24789. responses:
  24790. "200":
  24791. description: OK
  24792. schema:
  24793. items:
  24794. $ref: '#/definitions/models.QhjBankAccountSign'
  24795. type: array
  24796. "500":
  24797. description: Internal Server Error
  24798. schema:
  24799. $ref: '#/definitions/app.Response'
  24800. security:
  24801. - ApiKeyAuth: []
  24802. summary: 查询签约银行信息(提现账户管理)
  24803. tags:
  24804. - 大连千海金
  24805. /Qhj/QueryBankInfo:
  24806. get:
  24807. produces:
  24808. - application/json
  24809. responses:
  24810. "200":
  24811. description: OK
  24812. schema:
  24813. items:
  24814. $ref: '#/definitions/models.QhjBankInfo'
  24815. type: array
  24816. "500":
  24817. description: Internal Server Error
  24818. schema:
  24819. $ref: '#/definitions/app.Response'
  24820. security:
  24821. - ApiKeyAuth: []
  24822. summary: 查询开户行
  24823. tags:
  24824. - 大连千海金
  24825. /Qhj/QueryBrokerApply:
  24826. get:
  24827. parameters:
  24828. - description: 所属机构ID
  24829. in: query
  24830. name: userid
  24831. type: integer
  24832. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24833. in: query
  24834. name: filterstatus
  24835. type: string
  24836. produces:
  24837. - application/json
  24838. responses:
  24839. "200":
  24840. description: OK
  24841. schema:
  24842. items:
  24843. $ref: '#/definitions/models.QhjBrokerApply'
  24844. type: array
  24845. "500":
  24846. description: Internal Server Error
  24847. schema:
  24848. $ref: '#/definitions/app.Response'
  24849. security:
  24850. - ApiKeyAuth: []
  24851. summary: 查询经纪人申请
  24852. tags:
  24853. - 大连千海金
  24854. /Qhj/QueryBrokerApplyEx:
  24855. get:
  24856. parameters:
  24857. - description: 所属机构ID
  24858. in: query
  24859. name: userid
  24860. type: integer
  24861. produces:
  24862. - application/json
  24863. responses:
  24864. "200":
  24865. description: OK
  24866. schema:
  24867. items:
  24868. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24869. type: array
  24870. "500":
  24871. description: Internal Server Error
  24872. schema:
  24873. $ref: '#/definitions/app.Response'
  24874. security:
  24875. - ApiKeyAuth: []
  24876. summary: 查询经纪人信息和申请记录
  24877. tags:
  24878. - 大连千海金
  24879. /Qhj/QueryBrokerRewardLog:
  24880. get:
  24881. parameters:
  24882. - description: 用户ID
  24883. in: query
  24884. name: userid
  24885. required: true
  24886. type: integer
  24887. - description: 开始交易日(yyyymmdd)
  24888. in: query
  24889. name: begindate
  24890. type: string
  24891. - description: 结束交易日(yyyymmdd)
  24892. in: query
  24893. name: enddate
  24894. type: string
  24895. produces:
  24896. - application/json
  24897. responses:
  24898. "200":
  24899. description: OK
  24900. schema:
  24901. items:
  24902. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24903. type: array
  24904. "500":
  24905. description: Internal Server Error
  24906. schema:
  24907. $ref: '#/definitions/app.Response'
  24908. security:
  24909. - ApiKeyAuth: []
  24910. summary: 查询奖励流水(我的奖励)
  24911. tags:
  24912. - 大连千海金
  24913. /Qhj/QueryContract:
  24914. get:
  24915. parameters:
  24916. - description: 用户ID
  24917. in: query
  24918. name: userid
  24919. type: integer
  24920. - description: scf合同id
  24921. in: query
  24922. name: scfcontractid
  24923. type: integer
  24924. produces:
  24925. - application/json
  24926. responses:
  24927. "200":
  24928. description: OK
  24929. schema:
  24930. items:
  24931. $ref: '#/definitions/models.QhjContract'
  24932. type: array
  24933. "500":
  24934. description: Internal Server Error
  24935. schema:
  24936. $ref: '#/definitions/app.Response'
  24937. security:
  24938. - ApiKeyAuth: []
  24939. summary: 查询融资明细(合同)
  24940. tags:
  24941. - 大连千海金
  24942. /Qhj/QueryContractLog:
  24943. get:
  24944. parameters:
  24945. - description: scf合同id
  24946. in: query
  24947. name: scfcontractid
  24948. required: true
  24949. type: integer
  24950. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24951. in: query
  24952. name: amounttype
  24953. type: string
  24954. produces:
  24955. - application/json
  24956. responses:
  24957. "200":
  24958. description: OK
  24959. schema:
  24960. items:
  24961. $ref: '#/definitions/models.QhjContractLog'
  24962. type: array
  24963. "500":
  24964. description: Internal Server Error
  24965. schema:
  24966. $ref: '#/definitions/app.Response'
  24967. security:
  24968. - ApiKeyAuth: []
  24969. summary: 查询融资明细流水(融资明细详情页中的流水)
  24970. tags:
  24971. - 大连千海金
  24972. /Qhj/QueryCusBankSignBank:
  24973. get:
  24974. produces:
  24975. - application/json
  24976. responses:
  24977. "200":
  24978. description: OK
  24979. schema:
  24980. items:
  24981. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24982. type: array
  24983. "500":
  24984. description: Internal Server Error
  24985. schema:
  24986. $ref: '#/definitions/app.Response'
  24987. security:
  24988. - ApiKeyAuth: []
  24989. summary: 查询托管银行
  24990. tags:
  24991. - 大连千海金
  24992. /Qhj/QueryCustomerInfo:
  24993. get:
  24994. parameters:
  24995. - description: 用户ID
  24996. in: query
  24997. name: userid
  24998. required: true
  24999. type: integer
  25000. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25001. in: query
  25002. name: querytype
  25003. required: true
  25004. type: integer
  25005. - description: 客户类型 1-个人 2-企业
  25006. in: query
  25007. name: userinfotype
  25008. type: integer
  25009. - description: 客户名称(模糊匹配)
  25010. in: query
  25011. name: customername
  25012. type: string
  25013. - description: 昵称(模糊匹配)
  25014. in: query
  25015. name: nickname
  25016. type: string
  25017. - description: 是否包含子级 1-包含
  25018. in: query
  25019. name: includesub
  25020. type: integer
  25021. produces:
  25022. - application/json
  25023. responses:
  25024. "200":
  25025. description: OK
  25026. schema:
  25027. items:
  25028. $ref: '#/definitions/models.QhjCustomer'
  25029. type: array
  25030. "500":
  25031. description: Internal Server Error
  25032. schema:
  25033. $ref: '#/definitions/app.Response'
  25034. security:
  25035. - ApiKeyAuth: []
  25036. summary: 查询客户资料
  25037. tags:
  25038. - 大连千海金
  25039. /Qhj/QueryGoodsEx:
  25040. get:
  25041. parameters:
  25042. - description: 商品id
  25043. in: query
  25044. name: goodsid
  25045. type: integer
  25046. produces:
  25047. - application/json
  25048. responses:
  25049. "200":
  25050. description: OK
  25051. schema:
  25052. items:
  25053. $ref: '#/definitions/models.Qhjgoodsex'
  25054. type: array
  25055. "500":
  25056. description: Internal Server Error
  25057. schema:
  25058. $ref: '#/definitions/app.Response'
  25059. security:
  25060. - ApiKeyAuth: []
  25061. summary: 交易商品扩展表
  25062. tags:
  25063. - 大连千海金
  25064. /Qhj/QueryMyTeam:
  25065. get:
  25066. parameters:
  25067. - description: 用户ID
  25068. in: query
  25069. name: userid
  25070. required: true
  25071. type: integer
  25072. produces:
  25073. - application/json
  25074. responses:
  25075. "200":
  25076. description: OK
  25077. schema:
  25078. items:
  25079. $ref: '#/definitions/models.QhjMyTeamEx'
  25080. type: array
  25081. "500":
  25082. description: Internal Server Error
  25083. schema:
  25084. $ref: '#/definitions/app.Response'
  25085. security:
  25086. - ApiKeyAuth: []
  25087. summary: 查询我的团队
  25088. tags:
  25089. - 大连千海金
  25090. /Qhj/QueryMyTeamOrder:
  25091. get:
  25092. parameters:
  25093. - description: 页码
  25094. in: query
  25095. name: page
  25096. type: integer
  25097. - description: 每页条数
  25098. in: query
  25099. name: pagesize
  25100. type: integer
  25101. - description: 用户ID
  25102. in: query
  25103. name: userid
  25104. required: true
  25105. type: integer
  25106. - description: 交易模式
  25107. in: query
  25108. name: trademode
  25109. type: integer
  25110. - description: 名称(模糊搜索账户)
  25111. in: query
  25112. name: filtername
  25113. type: string
  25114. produces:
  25115. - application/json
  25116. responses:
  25117. "200":
  25118. description: OK
  25119. schema:
  25120. items:
  25121. $ref: '#/definitions/models.QhjTeamOrder'
  25122. type: array
  25123. "500":
  25124. description: Internal Server Error
  25125. schema:
  25126. $ref: '#/definitions/app.Response'
  25127. security:
  25128. - ApiKeyAuth: []
  25129. summary: 查询团队订单(我的团队/团队订单)
  25130. tags:
  25131. - 大连千海金
  25132. /Qhj/QueryParentAreaList:
  25133. get:
  25134. parameters:
  25135. - description: 用户ID
  25136. in: query
  25137. name: userid
  25138. required: true
  25139. type: integer
  25140. produces:
  25141. - application/json
  25142. responses:
  25143. "200":
  25144. description: OK
  25145. schema:
  25146. items:
  25147. $ref: '#/definitions/models.QhjParentAreaList'
  25148. type: array
  25149. "500":
  25150. description: Internal Server Error
  25151. schema:
  25152. $ref: '#/definitions/app.Response'
  25153. security:
  25154. - ApiKeyAuth: []
  25155. summary: 查询所属机构列表
  25156. tags:
  25157. - 大连千海金
  25158. /Qhj/QueryPayOrder:
  25159. get:
  25160. parameters:
  25161. - description: 资金账号id
  25162. in: query
  25163. name: accountid
  25164. required: true
  25165. type: integer
  25166. - description: 成交单号
  25167. in: query
  25168. name: tradeid
  25169. type: integer
  25170. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25171. in: query
  25172. name: payflag
  25173. type: string
  25174. produces:
  25175. - application/json
  25176. responses:
  25177. "200":
  25178. description: OK
  25179. schema:
  25180. items:
  25181. $ref: '#/definitions/models.QhjPayOrder'
  25182. type: array
  25183. "500":
  25184. description: Internal Server Error
  25185. schema:
  25186. $ref: '#/definitions/app.Response'
  25187. security:
  25188. - ApiKeyAuth: []
  25189. summary: 查询待付款单据
  25190. tags:
  25191. - 大连千海金
  25192. /Qhj/QueryPickArea:
  25193. get:
  25194. parameters:
  25195. - description: 用户ID
  25196. in: query
  25197. name: userid
  25198. type: integer
  25199. produces:
  25200. - application/json
  25201. responses:
  25202. "200":
  25203. description: OK
  25204. schema:
  25205. items:
  25206. $ref: '#/definitions/models.QhjPickArea'
  25207. type: array
  25208. "500":
  25209. description: Internal Server Error
  25210. schema:
  25211. $ref: '#/definitions/app.Response'
  25212. security:
  25213. - ApiKeyAuth: []
  25214. summary: 查询提货门店
  25215. tags:
  25216. - 大连千海金
  25217. /Qhj/QueryPickGoods:
  25218. get:
  25219. parameters:
  25220. - description: 交易商品id
  25221. in: query
  25222. name: goodsid
  25223. required: true
  25224. type: integer
  25225. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25226. in: query
  25227. name: status
  25228. type: string
  25229. produces:
  25230. - application/json
  25231. responses:
  25232. "200":
  25233. description: OK
  25234. schema:
  25235. items:
  25236. $ref: '#/definitions/models.QhjPickGoods'
  25237. type: array
  25238. "500":
  25239. description: Internal Server Error
  25240. schema:
  25241. $ref: '#/definitions/app.Response'
  25242. security:
  25243. - ApiKeyAuth: []
  25244. summary: 查询提货商品
  25245. tags:
  25246. - 大连千海金
  25247. /Qhj/QueryRSTriggerLog:
  25248. get:
  25249. parameters:
  25250. - description: 用户ID
  25251. in: query
  25252. name: userid
  25253. type: integer
  25254. - description: 定投策略id
  25255. in: query
  25256. name: regularlystrategyid
  25257. type: integer
  25258. - description: 商品id
  25259. in: query
  25260. name: goodsid
  25261. type: integer
  25262. - description: 开始交易日(yyyymmdd)
  25263. in: query
  25264. name: begindate
  25265. type: string
  25266. - description: 结束交易日(yyyymmdd)
  25267. in: query
  25268. name: enddate
  25269. type: string
  25270. - description: 名称(模糊搜索账户)
  25271. in: query
  25272. name: filtername
  25273. type: string
  25274. produces:
  25275. - application/json
  25276. responses:
  25277. "200":
  25278. description: OK
  25279. schema:
  25280. items:
  25281. $ref: '#/definitions/models.QhjRSTriggerLog'
  25282. type: array
  25283. "500":
  25284. description: Internal Server Error
  25285. schema:
  25286. $ref: '#/definitions/app.Response'
  25287. security:
  25288. - ApiKeyAuth: []
  25289. summary: 查询定投记录(定投管理/详情/定投记录)
  25290. tags:
  25291. - 大连千海金
  25292. /Qhj/QueryRStrategy:
  25293. get:
  25294. parameters:
  25295. - description: 用户ID
  25296. in: query
  25297. name: userid
  25298. type: integer
  25299. - description: 商品id
  25300. in: query
  25301. name: goodsid
  25302. type: integer
  25303. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25304. in: query
  25305. name: status
  25306. type: string
  25307. - description: 名称(模糊搜索账户)
  25308. in: query
  25309. name: filtername
  25310. type: string
  25311. produces:
  25312. - application/json
  25313. responses:
  25314. "200":
  25315. description: OK
  25316. schema:
  25317. items:
  25318. $ref: '#/definitions/models.QhjRStrategy'
  25319. type: array
  25320. "500":
  25321. description: Internal Server Error
  25322. schema:
  25323. $ref: '#/definitions/app.Response'
  25324. security:
  25325. - ApiKeyAuth: []
  25326. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25327. tags:
  25328. - 大连千海金
  25329. /Qhj/QueryReckonPriceLog:
  25330. get:
  25331. parameters:
  25332. - description: 商品ID
  25333. in: query
  25334. name: goodsid
  25335. type: integer
  25336. - description: 交易日 格式(yyyymmdd)
  25337. in: query
  25338. name: tradedate
  25339. type: string
  25340. produces:
  25341. - application/json
  25342. responses:
  25343. "200":
  25344. description: OK
  25345. schema:
  25346. items:
  25347. $ref: '#/definitions/models.QhjReckonPriceLog'
  25348. type: array
  25349. "500":
  25350. description: Internal Server Error
  25351. schema:
  25352. $ref: '#/definitions/app.Response'
  25353. security:
  25354. - ApiKeyAuth: []
  25355. summary: 查询定投价(结算价)
  25356. tags:
  25357. - 大连千海金
  25358. /Qhj/QueryScoreLog:
  25359. get:
  25360. parameters:
  25361. - description: 用户ID
  25362. in: query
  25363. name: userid
  25364. required: true
  25365. type: integer
  25366. - description: 开始交易日(yyyymmdd)
  25367. in: query
  25368. name: begindate
  25369. type: string
  25370. - description: 结束交易日(yyyymmdd)
  25371. in: query
  25372. name: enddate
  25373. type: string
  25374. - description: 最近多少条
  25375. in: query
  25376. name: lastnum
  25377. type: integer
  25378. produces:
  25379. - application/json
  25380. responses:
  25381. "200":
  25382. description: OK
  25383. schema:
  25384. items:
  25385. $ref: '#/definitions/models.QhjScoreLog'
  25386. type: array
  25387. "500":
  25388. description: Internal Server Error
  25389. schema:
  25390. $ref: '#/definitions/app.Response'
  25391. security:
  25392. - ApiKeyAuth: []
  25393. summary: 查询积分流水(我的积分)
  25394. tags:
  25395. - 大连千海金
  25396. /Qhj/QuerySiteColumnDetail:
  25397. get:
  25398. parameters:
  25399. - description: 用户ID
  25400. in: query
  25401. name: userid
  25402. required: true
  25403. type: integer
  25404. produces:
  25405. - application/json
  25406. responses:
  25407. "200":
  25408. description: OK
  25409. schema:
  25410. items:
  25411. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25412. type: array
  25413. "500":
  25414. description: Internal Server Error
  25415. schema:
  25416. $ref: '#/definitions/app.Response'
  25417. security:
  25418. - ApiKeyAuth: []
  25419. summary: 查询资讯
  25420. tags:
  25421. - 大连千海金
  25422. /Qhj/QueryTradeGoodsPickup:
  25423. get:
  25424. parameters:
  25425. - description: 用户ID
  25426. in: query
  25427. name: userid
  25428. required: true
  25429. type: integer
  25430. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25431. 7:已拒绝 8:已撤销
  25432. in: query
  25433. name: takeorderstatus
  25434. type: integer
  25435. produces:
  25436. - application/json
  25437. responses:
  25438. "200":
  25439. description: OK
  25440. schema:
  25441. items:
  25442. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25443. type: array
  25444. "500":
  25445. description: Internal Server Error
  25446. schema:
  25447. $ref: '#/definitions/app.Response'
  25448. security:
  25449. - ApiKeyAuth: []
  25450. summary: 查询提货
  25451. tags:
  25452. - 大连千海金
  25453. /Qhj/QueryUserCollectConfig:
  25454. get:
  25455. parameters:
  25456. - description: 用户ID
  25457. in: query
  25458. name: userid
  25459. required: true
  25460. type: integer
  25461. produces:
  25462. - application/json
  25463. responses:
  25464. "200":
  25465. description: OK
  25466. schema:
  25467. items:
  25468. $ref: '#/definitions/models.UserCollectConfig'
  25469. type: array
  25470. "500":
  25471. description: Internal Server Error
  25472. schema:
  25473. $ref: '#/definitions/app.Response'
  25474. security:
  25475. - ApiKeyAuth: []
  25476. summary: 查询提现账户设置
  25477. tags:
  25478. - 大连千海金
  25479. /Qhj/QueryUserReceiveInfo:
  25480. get:
  25481. parameters:
  25482. - description: 用户ID
  25483. in: query
  25484. name: userid
  25485. required: true
  25486. type: integer
  25487. produces:
  25488. - application/json
  25489. responses:
  25490. "200":
  25491. description: OK
  25492. schema:
  25493. items:
  25494. $ref: '#/definitions/models.UserReceiveInfo'
  25495. type: array
  25496. "500":
  25497. description: Internal Server Error
  25498. schema:
  25499. $ref: '#/definitions/app.Response'
  25500. security:
  25501. - ApiKeyAuth: []
  25502. summary: 查询收货地址信息
  25503. tags:
  25504. - 大连千海金
  25505. /QhjMgr/QueryAccountInOutApply:
  25506. get:
  25507. parameters:
  25508. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25509. in: query
  25510. name: querytype
  25511. required: true
  25512. type: integer
  25513. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25514. in: query
  25515. name: applystatus
  25516. type: integer
  25517. - description: 申请起始日期(格式yyyymmdd)
  25518. in: query
  25519. name: begindate
  25520. type: string
  25521. - description: 申请截止日期(格式yyyymmdd)
  25522. in: query
  25523. name: enddate
  25524. type: string
  25525. - description: 模糊搜索名称
  25526. in: query
  25527. name: likename
  25528. type: string
  25529. produces:
  25530. - application/json
  25531. responses:
  25532. "200":
  25533. description: OK
  25534. schema:
  25535. items:
  25536. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25537. type: array
  25538. "500":
  25539. description: Internal Server Error
  25540. schema:
  25541. $ref: '#/definitions/app.Response'
  25542. security:
  25543. - ApiKeyAuth: []
  25544. summary: 查询充值提现
  25545. tags:
  25546. - 大连千海金(PCWeb)
  25547. /QhjMgr/QueryBrokerApply:
  25548. get:
  25549. parameters:
  25550. - description: 所属机构ID
  25551. in: query
  25552. name: userid
  25553. type: integer
  25554. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25555. in: query
  25556. name: filterstatus
  25557. type: string
  25558. - description: 名称(模糊匹配)
  25559. in: query
  25560. name: filtername
  25561. type: string
  25562. - description: 是否包含子级 1-包含
  25563. in: query
  25564. name: includesub
  25565. type: integer
  25566. produces:
  25567. - application/json
  25568. responses:
  25569. "200":
  25570. description: OK
  25571. schema:
  25572. items:
  25573. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25574. type: array
  25575. "500":
  25576. description: Internal Server Error
  25577. schema:
  25578. $ref: '#/definitions/app.Response'
  25579. security:
  25580. - ApiKeyAuth: []
  25581. summary: 查询经纪人申请
  25582. tags:
  25583. - 大连千海金(PCWeb)
  25584. /QhjMgr/QueryBrokerRewardReport:
  25585. get:
  25586. parameters:
  25587. - description: 所属机构ID
  25588. in: query
  25589. name: userid
  25590. required: true
  25591. type: integer
  25592. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25593. in: query
  25594. name: cycletype
  25595. required: true
  25596. type: integer
  25597. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25598. in: query
  25599. name: cycletime
  25600. required: true
  25601. type: string
  25602. - description: 名称(模糊匹配)
  25603. in: query
  25604. name: filtername
  25605. type: string
  25606. - description: 是否包含子级 1-包含
  25607. in: query
  25608. name: includesub
  25609. type: integer
  25610. produces:
  25611. - application/json
  25612. responses:
  25613. "200":
  25614. description: OK
  25615. schema:
  25616. items:
  25617. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25618. type: array
  25619. "500":
  25620. description: Internal Server Error
  25621. schema:
  25622. $ref: '#/definitions/app.Response'
  25623. security:
  25624. - ApiKeyAuth: []
  25625. summary: 查询经纪人奖励报表(废弃)
  25626. tags:
  25627. - 大连千海金(PCWeb)
  25628. /QhjMgr/QueryContract:
  25629. get:
  25630. parameters:
  25631. - description: 用户ID
  25632. in: query
  25633. name: userid
  25634. type: integer
  25635. - description: 商品id
  25636. in: query
  25637. name: goodsid
  25638. type: integer
  25639. - description: 名称(模糊搜索账户)
  25640. in: query
  25641. name: filtername
  25642. type: string
  25643. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25644. in: query
  25645. name: risklevel
  25646. type: string
  25647. - description: 开始交易日(yyyymmdd)
  25648. in: query
  25649. name: begindate
  25650. type: string
  25651. - description: 结束交易日(yyyymmdd)
  25652. in: query
  25653. name: enddate
  25654. type: string
  25655. produces:
  25656. - application/json
  25657. responses:
  25658. "200":
  25659. description: OK
  25660. schema:
  25661. items:
  25662. $ref: '#/definitions/models.QhjMgrContract'
  25663. type: array
  25664. "500":
  25665. description: Internal Server Error
  25666. schema:
  25667. $ref: '#/definitions/app.Response'
  25668. security:
  25669. - ApiKeyAuth: []
  25670. summary: 查询融资信息(合同)
  25671. tags:
  25672. - 大连千海金(PCWeb)
  25673. /QhjMgr/QueryCustomerInfo:
  25674. get:
  25675. parameters:
  25676. - description: 用户ID
  25677. in: query
  25678. name: userid
  25679. required: true
  25680. type: integer
  25681. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25682. in: query
  25683. name: querytype
  25684. required: true
  25685. type: integer
  25686. - description: 客户类型 1-个人 2-企业
  25687. in: query
  25688. name: userinfotype
  25689. type: integer
  25690. - description: 客户名称(模糊匹配)
  25691. in: query
  25692. name: customername
  25693. type: string
  25694. - description: 昵称(模糊匹配)
  25695. in: query
  25696. name: nickname
  25697. type: string
  25698. - description: 所属客户经理(模糊匹配)
  25699. in: query
  25700. name: brokername
  25701. type: string
  25702. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  25703. 如0503 -5月3日)
  25704. in: query
  25705. name: birthday
  25706. type: string
  25707. - description: 是否包含子级 1-包含
  25708. in: query
  25709. name: includesub
  25710. type: integer
  25711. produces:
  25712. - application/json
  25713. responses:
  25714. "200":
  25715. description: OK
  25716. schema:
  25717. items:
  25718. $ref: '#/definitions/models.QhjMgrCustomer'
  25719. type: array
  25720. "500":
  25721. description: Internal Server Error
  25722. schema:
  25723. $ref: '#/definitions/app.Response'
  25724. security:
  25725. - ApiKeyAuth: []
  25726. summary: 查询客户资料
  25727. tags:
  25728. - 大连千海金(PCWeb)
  25729. /QhjMgr/QueryPickGoods:
  25730. get:
  25731. parameters:
  25732. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25733. in: query
  25734. name: status
  25735. type: string
  25736. produces:
  25737. - application/json
  25738. responses:
  25739. "200":
  25740. description: OK
  25741. schema:
  25742. items:
  25743. $ref: '#/definitions/models.QhjMgrPickGoods'
  25744. type: array
  25745. "500":
  25746. description: Internal Server Error
  25747. schema:
  25748. $ref: '#/definitions/app.Response'
  25749. security:
  25750. - ApiKeyAuth: []
  25751. summary: 查询提货商品
  25752. tags:
  25753. - 大连千海金(PCWeb)
  25754. /QhjMgr/QuerySubArea:
  25755. get:
  25756. parameters:
  25757. - description: 用户ID
  25758. in: query
  25759. name: userid
  25760. required: true
  25761. type: integer
  25762. produces:
  25763. - application/json
  25764. responses:
  25765. "200":
  25766. description: OK
  25767. schema:
  25768. items:
  25769. $ref: '#/definitions/models.QhjMgrSubArea'
  25770. type: array
  25771. "500":
  25772. description: Internal Server Error
  25773. schema:
  25774. $ref: '#/definitions/app.Response'
  25775. security:
  25776. - ApiKeyAuth: []
  25777. summary: 查询子机构列表
  25778. tags:
  25779. - 大连千海金(PCWeb)
  25780. /QhjMgr/QueryTradeDetail:
  25781. get:
  25782. parameters:
  25783. - description: 用户ID
  25784. in: query
  25785. name: userid
  25786. required: true
  25787. type: integer
  25788. - description: 用户类型 1-个人 2-企业
  25789. in: query
  25790. name: userinfotype
  25791. type: integer
  25792. - description: 交易模式
  25793. in: query
  25794. name: trademode
  25795. type: integer
  25796. - description: 商品id
  25797. in: query
  25798. name: goodsid
  25799. type: integer
  25800. - description: 名称(模糊搜索账户)
  25801. in: query
  25802. name: filtername
  25803. type: string
  25804. - description: 开始交易日(yyyymmdd)
  25805. in: query
  25806. name: begindate
  25807. type: string
  25808. - description: 结束交易日(yyyymmdd)
  25809. in: query
  25810. name: enddate
  25811. type: string
  25812. - description: 是否包含子级 1-包含
  25813. in: query
  25814. name: includesub
  25815. type: integer
  25816. produces:
  25817. - application/json
  25818. responses:
  25819. "200":
  25820. description: OK
  25821. schema:
  25822. items:
  25823. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25824. type: array
  25825. "500":
  25826. description: Internal Server Error
  25827. schema:
  25828. $ref: '#/definitions/app.Response'
  25829. security:
  25830. - ApiKeyAuth: []
  25831. summary: 查询成交明细
  25832. tags:
  25833. - 大连千海金(PCWeb)
  25834. /QhjMgr/QueryTradeOrderDetail:
  25835. get:
  25836. parameters:
  25837. - description: 用户ID
  25838. in: query
  25839. name: userid
  25840. required: true
  25841. type: integer
  25842. - description: 用户类型 1-个人 2-企业
  25843. in: query
  25844. name: userinfotype
  25845. type: integer
  25846. - description: 交易模式
  25847. in: query
  25848. name: trademode
  25849. type: integer
  25850. - description: 商品id
  25851. in: query
  25852. name: goodsid
  25853. type: integer
  25854. - description: 名称(模糊搜索账户)
  25855. in: query
  25856. name: filtername
  25857. type: string
  25858. - description: 开始交易日(yyyymmdd)
  25859. in: query
  25860. name: begindate
  25861. type: string
  25862. - description: 结束交易日(yyyymmdd)
  25863. in: query
  25864. name: enddate
  25865. type: string
  25866. - description: 是否包含子级 1-包含
  25867. in: query
  25868. name: includesub
  25869. type: integer
  25870. produces:
  25871. - application/json
  25872. responses:
  25873. "200":
  25874. description: OK
  25875. schema:
  25876. items:
  25877. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25878. type: array
  25879. "500":
  25880. description: Internal Server Error
  25881. schema:
  25882. $ref: '#/definitions/app.Response'
  25883. security:
  25884. - ApiKeyAuth: []
  25885. summary: 查询委托明细
  25886. tags:
  25887. - 大连千海金(PCWeb)
  25888. /QhjMgr/QueryTradePayOrder:
  25889. get:
  25890. parameters:
  25891. - description: 用户ID
  25892. in: query
  25893. name: userid
  25894. required: true
  25895. type: integer
  25896. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25897. in: query
  25898. name: payflag
  25899. type: string
  25900. - description: 用户类型 1-个人 2-企业
  25901. in: query
  25902. name: userinfotype
  25903. type: integer
  25904. - description: 交易模式
  25905. in: query
  25906. name: trademode
  25907. type: integer
  25908. - description: 商品id
  25909. in: query
  25910. name: goodsid
  25911. type: integer
  25912. - description: 名称(模糊搜索账户)
  25913. in: query
  25914. name: filtername
  25915. type: string
  25916. - description: 开始交易日(yyyymmdd)
  25917. in: query
  25918. name: begindate
  25919. type: string
  25920. - description: 结束交易日(yyyymmdd)
  25921. in: query
  25922. name: enddate
  25923. type: string
  25924. - description: 是否包含子级 1-包含
  25925. in: query
  25926. name: includesub
  25927. type: integer
  25928. produces:
  25929. - application/json
  25930. responses:
  25931. "200":
  25932. description: OK
  25933. schema:
  25934. items:
  25935. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25936. type: array
  25937. "500":
  25938. description: Internal Server Error
  25939. schema:
  25940. $ref: '#/definitions/app.Response'
  25941. security:
  25942. - ApiKeyAuth: []
  25943. summary: 查询待付款单
  25944. tags:
  25945. - 大连千海金(PCWeb)
  25946. /QhjMgr/QueryTradePosition:
  25947. get:
  25948. parameters:
  25949. - description: 用户ID
  25950. in: query
  25951. name: userid
  25952. required: true
  25953. type: integer
  25954. - description: 用户类型 1-个人 2-企业
  25955. in: query
  25956. name: userinfotype
  25957. type: integer
  25958. - description: 交易模式
  25959. in: query
  25960. name: trademode
  25961. type: integer
  25962. - description: 商品id
  25963. in: query
  25964. name: goodsid
  25965. type: integer
  25966. - description: 名称(模糊搜索账户)
  25967. in: query
  25968. name: filtername
  25969. type: string
  25970. - description: 是否包含子级 1-包含
  25971. in: query
  25972. name: includesub
  25973. type: integer
  25974. produces:
  25975. - application/json
  25976. responses:
  25977. "200":
  25978. description: OK
  25979. schema:
  25980. items:
  25981. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25982. type: array
  25983. "500":
  25984. description: Internal Server Error
  25985. schema:
  25986. $ref: '#/definitions/app.Response'
  25987. security:
  25988. - ApiKeyAuth: []
  25989. summary: 查询持仓汇总
  25990. tags:
  25991. - 大连千海金(PCWeb)
  25992. /QhjSys/QueryAgreementChangeLog:
  25993. get:
  25994. parameters:
  25995. - description: 协议ID
  25996. in: query
  25997. name: agreementid
  25998. type: integer
  25999. - description: 协议版本号
  26000. in: query
  26001. name: agreementversion
  26002. type: integer
  26003. - description: 协议类型 - 1:注册 2:登录 3:交易
  26004. in: query
  26005. name: agreementtype
  26006. type: integer
  26007. - description: 协议编号(模糊匹配)
  26008. in: query
  26009. name: agreementno
  26010. type: string
  26011. - description: 协议名称(模糊匹配)
  26012. in: query
  26013. name: agreementname
  26014. type: string
  26015. produces:
  26016. - application/json
  26017. responses:
  26018. "200":
  26019. description: OK
  26020. schema:
  26021. items:
  26022. $ref: '#/definitions/models.QhjAgreementChangeLog'
  26023. type: array
  26024. "500":
  26025. description: Internal Server Error
  26026. schema:
  26027. $ref: '#/definitions/app.Response'
  26028. security:
  26029. - ApiKeyAuth: []
  26030. summary: 查询协议配置变更流水
  26031. tags:
  26032. - 大连千海金(协议和签约信息)
  26033. /QhjSys/QueryAgreementConfig:
  26034. get:
  26035. parameters:
  26036. - description: 协议ID
  26037. in: query
  26038. name: agreementid
  26039. type: integer
  26040. - description: 协议版本号
  26041. in: query
  26042. name: agreementversion
  26043. type: integer
  26044. - description: 协议类型 - 1:注册 2:登录 3:交易
  26045. in: query
  26046. name: agreementtype
  26047. type: integer
  26048. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  26049. in: query
  26050. name: isvalid
  26051. type: integer
  26052. - description: 协议编号(模糊匹配)
  26053. in: query
  26054. name: agreementno
  26055. type: string
  26056. - description: 协议名称(模糊匹配)
  26057. in: query
  26058. name: agreementname
  26059. type: string
  26060. produces:
  26061. - application/json
  26062. responses:
  26063. "200":
  26064. description: OK
  26065. schema:
  26066. items:
  26067. $ref: '#/definitions/models.QhjAgreementConfig'
  26068. type: array
  26069. "500":
  26070. description: Internal Server Error
  26071. schema:
  26072. $ref: '#/definitions/app.Response'
  26073. security:
  26074. - ApiKeyAuth: []
  26075. summary: 查询协议配置
  26076. tags:
  26077. - 大连千海金(协议和签约信息)
  26078. /QhjSys/QueryCustomerSignStatus:
  26079. get:
  26080. parameters:
  26081. - description: 客户ID
  26082. in: query
  26083. name: userid
  26084. type: integer
  26085. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  26086. in: query
  26087. name: nodetype
  26088. type: integer
  26089. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26090. in: query
  26091. name: goodsid
  26092. type: integer
  26093. - description: 创建交易日(yyyyMMdd)
  26094. in: query
  26095. name: tradedate
  26096. type: string
  26097. - description: 用户名称(模糊匹配)
  26098. in: query
  26099. name: username
  26100. type: string
  26101. produces:
  26102. - application/json
  26103. responses:
  26104. "200":
  26105. description: OK
  26106. schema:
  26107. items:
  26108. $ref: '#/definitions/models.QhjCustomerSignStatus'
  26109. type: array
  26110. "500":
  26111. description: Internal Server Error
  26112. schema:
  26113. $ref: '#/definitions/app.Response'
  26114. security:
  26115. - ApiKeyAuth: []
  26116. summary: 查询客户协议签约状态
  26117. tags:
  26118. - 大连千海金(协议和签约信息)
  26119. /QhjSys/QueryNodeAgreementConfig:
  26120. get:
  26121. parameters:
  26122. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26123. in: query
  26124. name: configid
  26125. type: integer
  26126. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26127. in: query
  26128. name: nodetype
  26129. type: integer
  26130. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26131. in: query
  26132. name: goodsid
  26133. type: integer
  26134. - description: 协议ID
  26135. in: query
  26136. name: agreementid
  26137. type: integer
  26138. - description: 协议类型 - 1:注册 2:登录 3:交易
  26139. in: query
  26140. name: agreementtype
  26141. type: integer
  26142. - description: 协议版本号
  26143. in: query
  26144. name: agreementversion
  26145. type: integer
  26146. - description: 协议编号(模糊匹配)
  26147. in: query
  26148. name: agreementno
  26149. type: string
  26150. - description: 协议名称(模糊匹配)
  26151. in: query
  26152. name: agreementname
  26153. type: string
  26154. produces:
  26155. - application/json
  26156. responses:
  26157. "200":
  26158. description: OK
  26159. schema:
  26160. items:
  26161. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  26162. type: array
  26163. "500":
  26164. description: Internal Server Error
  26165. schema:
  26166. $ref: '#/definitions/app.Response'
  26167. security:
  26168. - ApiKeyAuth: []
  26169. summary: 查询协议节点配置
  26170. tags:
  26171. - 大连千海金(协议和签约信息)
  26172. /QhjSys/QueryQhjCustomerSignLog:
  26173. get:
  26174. parameters:
  26175. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  26176. in: query
  26177. name: logid
  26178. type: integer
  26179. - description: 客户ID
  26180. in: query
  26181. name: userid
  26182. type: integer
  26183. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26184. in: query
  26185. name: nodetype
  26186. type: integer
  26187. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26188. in: query
  26189. name: goodsid
  26190. type: integer
  26191. - description: 协议ID
  26192. in: query
  26193. name: agreementid
  26194. type: integer
  26195. - description: 用户名称(模糊匹配)
  26196. in: query
  26197. name: username
  26198. type: string
  26199. - description: 协议编号(模糊匹配)
  26200. in: query
  26201. name: agreementno
  26202. type: string
  26203. - description: 协议名称(模糊匹配)
  26204. in: query
  26205. name: agreementname
  26206. type: string
  26207. produces:
  26208. - application/json
  26209. responses:
  26210. "200":
  26211. description: OK
  26212. schema:
  26213. items:
  26214. $ref: '#/definitions/models.QhjCustomerSignLog'
  26215. type: array
  26216. "500":
  26217. description: Internal Server Error
  26218. schema:
  26219. $ref: '#/definitions/app.Response'
  26220. security:
  26221. - ApiKeyAuth: []
  26222. summary: 查询客户协议签约流水
  26223. tags:
  26224. - 大连千海金(协议和签约信息)
  26225. /QhjSys/QueryUserNodeCfgAndStatus:
  26226. get:
  26227. parameters:
  26228. - description: 客户ID
  26229. in: query
  26230. name: userid
  26231. type: integer
  26232. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26233. in: query
  26234. name: configid
  26235. type: integer
  26236. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26237. in: query
  26238. name: nodetype
  26239. type: string
  26240. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26241. in: query
  26242. name: goodsid
  26243. type: integer
  26244. - description: 协议ID
  26245. in: query
  26246. name: agreementid
  26247. type: integer
  26248. - description: 协议类型 - 1:注册 2:登录 3:交易
  26249. in: query
  26250. name: agreementtype
  26251. type: integer
  26252. - description: 协议版本号
  26253. in: query
  26254. name: agreementversion
  26255. type: integer
  26256. - description: 协议编号(模糊匹配)
  26257. in: query
  26258. name: agreementno
  26259. type: string
  26260. - description: 协议名称(模糊匹配)
  26261. in: query
  26262. name: agreementname
  26263. type: string
  26264. produces:
  26265. - application/json
  26266. responses:
  26267. "200":
  26268. description: OK
  26269. schema:
  26270. items:
  26271. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26272. type: array
  26273. "500":
  26274. description: Internal Server Error
  26275. schema:
  26276. $ref: '#/definitions/app.Response'
  26277. security:
  26278. - ApiKeyAuth: []
  26279. summary: 查询用户协议节点配置和状态
  26280. tags:
  26281. - 大连千海金(协议和签约信息)
  26282. /Quote/QueryHistoryDatas:
  26283. get:
  26284. parameters:
  26285. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26286. 日线 12:周线 13:月线 14:年线'
  26287. in: query
  26288. name: cycleType
  26289. required: true
  26290. type: integer
  26291. - description: 商品代码
  26292. in: query
  26293. name: goodsCode
  26294. required: true
  26295. type: string
  26296. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26297. in: query
  26298. name: startTime
  26299. type: string
  26300. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26301. in: query
  26302. name: endTime
  26303. type: string
  26304. - description: 条数
  26305. in: query
  26306. name: count
  26307. type: integer
  26308. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26309. in: query
  26310. name: isAsc
  26311. type: boolean
  26312. produces:
  26313. - application/json
  26314. responses:
  26315. "200":
  26316. description: OK
  26317. schema:
  26318. $ref: '#/definitions/quote.HistoryData'
  26319. "500":
  26320. description: Internal Server Error
  26321. schema:
  26322. $ref: '#/definitions/app.Response'
  26323. security:
  26324. - ApiKeyAuth: []
  26325. summary: 查询行情历史数据
  26326. tags:
  26327. - 行情服务
  26328. /Quote/QueryHistoryTikDatas:
  26329. get:
  26330. parameters:
  26331. - description: 商品代码
  26332. in: query
  26333. name: goodsCode
  26334. required: true
  26335. type: string
  26336. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26337. in: query
  26338. name: startTime
  26339. type: string
  26340. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26341. in: query
  26342. name: endTime
  26343. type: string
  26344. - description: 条数
  26345. in: query
  26346. name: count
  26347. type: integer
  26348. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26349. in: query
  26350. name: isAsc
  26351. type: boolean
  26352. produces:
  26353. - application/json
  26354. responses:
  26355. "200":
  26356. description: OK
  26357. schema:
  26358. $ref: '#/definitions/quote.HistoryTikData'
  26359. "500":
  26360. description: Internal Server Error
  26361. schema:
  26362. $ref: '#/definitions/app.Response'
  26363. security:
  26364. - ApiKeyAuth: []
  26365. summary: 查询行情Tik数据
  26366. tags:
  26367. - 行情服务
  26368. /Quote/QueryQuoteDay:
  26369. get:
  26370. parameters:
  26371. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26372. in: query
  26373. name: goodsCodes
  26374. type: string
  26375. produces:
  26376. - application/json
  26377. responses:
  26378. "200":
  26379. description: OK
  26380. schema:
  26381. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26382. "500":
  26383. description: Internal Server Error
  26384. schema:
  26385. $ref: '#/definitions/app.Response'
  26386. security:
  26387. - ApiKeyAuth: []
  26388. summary: 获取商品盘面信息
  26389. tags:
  26390. - 行情服务
  26391. /Quote/QueryTSData:
  26392. get:
  26393. parameters:
  26394. - description: 商品代码
  26395. in: query
  26396. name: goodsCode
  26397. required: true
  26398. type: string
  26399. produces:
  26400. - application/json
  26401. responses:
  26402. "200":
  26403. description: OK
  26404. schema:
  26405. $ref: '#/definitions/quote.QueryTSDataRsp'
  26406. "500":
  26407. description: Internal Server Error
  26408. schema:
  26409. $ref: '#/definitions/app.Response'
  26410. security:
  26411. - ApiKeyAuth: []
  26412. summary: 分时图数据查询
  26413. tags:
  26414. - 行情服务
  26415. /SZDZ/QueryConvertConfig:
  26416. get:
  26417. parameters:
  26418. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26419. 6:交易转花生米(不设置)
  26420. in: query
  26421. name: convertType
  26422. type: integer
  26423. - description: 外部商品代码[JD\PD]
  26424. in: query
  26425. name: outerGoodsCode
  26426. type: string
  26427. - description: 内部商品ID列表[交易],格式:1,2,3
  26428. in: query
  26429. name: innerGoodsIDs
  26430. type: string
  26431. produces:
  26432. - application/json
  26433. responses:
  26434. "200":
  26435. description: OK
  26436. schema:
  26437. $ref: '#/definitions/models.Szdz3convertconfig'
  26438. "500":
  26439. description: Internal Server Error
  26440. schema:
  26441. $ref: '#/definitions/app.Response'
  26442. security:
  26443. - ApiKeyAuth: []
  26444. summary: 查询交易系统转换设置
  26445. tags:
  26446. - 定制【尚志大宗】
  26447. /SZDZ/QueryConvertLog:
  26448. get:
  26449. parameters:
  26450. - description: 资金账户 - 格式:1,2,3
  26451. in: query
  26452. name: accountID
  26453. required: true
  26454. type: string
  26455. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26456. in: query
  26457. name: startDate
  26458. type: string
  26459. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26460. in: query
  26461. name: endDate
  26462. type: string
  26463. produces:
  26464. - application/json
  26465. responses:
  26466. "200":
  26467. description: OK
  26468. schema:
  26469. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26470. "500":
  26471. description: Internal Server Error
  26472. schema:
  26473. $ref: '#/definitions/app.Response'
  26474. security:
  26475. - ApiKeyAuth: []
  26476. summary: 交易系统转换流水查询
  26477. tags:
  26478. - 定制【尚志大宗】
  26479. /SZDZ/QueryGoodsPickup:
  26480. get:
  26481. parameters:
  26482. - description: 资金账户 - 格式:1,2,3
  26483. in: query
  26484. name: accountID
  26485. required: true
  26486. type: string
  26487. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26488. in: query
  26489. name: takeOrderStatus
  26490. type: integer
  26491. produces:
  26492. - application/json
  26493. responses:
  26494. "200":
  26495. description: OK
  26496. schema:
  26497. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26498. "500":
  26499. description: Internal Server Error
  26500. schema:
  26501. $ref: '#/definitions/app.Response'
  26502. security:
  26503. - ApiKeyAuth: []
  26504. summary: 商品提货单查询
  26505. tags:
  26506. - 定制【尚志大宗】
  26507. /SZDZ/QueryRecieptOrder:
  26508. get:
  26509. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26510. parameters:
  26511. - description: 页码
  26512. in: query
  26513. name: page
  26514. type: integer
  26515. - description: 每页条数
  26516. in: query
  26517. name: pagesize
  26518. type: integer
  26519. - description: 商品ID
  26520. in: query
  26521. name: goodsID
  26522. required: true
  26523. type: integer
  26524. - description: 所属账户名称
  26525. in: query
  26526. name: accountName
  26527. type: string
  26528. - description: 市场ID
  26529. in: query
  26530. name: marketID
  26531. type: integer
  26532. - description: 方向 - 0:买 1:卖
  26533. in: query
  26534. name: buyorsell
  26535. required: true
  26536. type: integer
  26537. produces:
  26538. - application/json
  26539. responses:
  26540. "200":
  26541. description: OK
  26542. schema:
  26543. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26544. "500":
  26545. description: Internal Server Error
  26546. schema:
  26547. $ref: '#/definitions/app.Response'
  26548. security:
  26549. - ApiKeyAuth: []
  26550. summary: 点选挂牌委托单据查询(摘牌大厅)
  26551. tags:
  26552. - 定制【尚志大宗】
  26553. /SZDZ/QuerySZDZTradePosition:
  26554. get:
  26555. parameters:
  26556. - description: 资金账户
  26557. in: query
  26558. name: accountID
  26559. required: true
  26560. type: integer
  26561. produces:
  26562. - application/json
  26563. responses:
  26564. "200":
  26565. description: OK
  26566. schema:
  26567. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26568. "500":
  26569. description: Internal Server Error
  26570. schema:
  26571. $ref: '#/definitions/app.Response'
  26572. security:
  26573. - ApiKeyAuth: []
  26574. summary: 持仓汇总查询(尚志大宗)
  26575. tags:
  26576. - 定制【尚志大宗】
  26577. /SZDZ/SearchWhite:
  26578. get:
  26579. parameters:
  26580. - description: 用户ID
  26581. in: query
  26582. name: userID
  26583. required: true
  26584. type: integer
  26585. produces:
  26586. - application/json
  26587. responses:
  26588. "200":
  26589. description: OK
  26590. schema:
  26591. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26592. "500":
  26593. description: Internal Server Error
  26594. schema:
  26595. $ref: '#/definitions/app.Response'
  26596. security:
  26597. - ApiKeyAuth: []
  26598. summary: 搜索白名单
  26599. tags:
  26600. - 定制【尚志大宗】
  26601. /Search/SearchGoodses:
  26602. get:
  26603. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26604. parameters:
  26605. - description: 检索内容
  26606. in: query
  26607. name: content
  26608. required: true
  26609. type: string
  26610. - description: 交易模式,格式:1,2,3
  26611. in: query
  26612. name: tradeModes
  26613. type: string
  26614. produces:
  26615. - application/json
  26616. responses:
  26617. "200":
  26618. description: OK
  26619. schema:
  26620. $ref: '#/definitions/models.SearchGoods'
  26621. "500":
  26622. description: Internal Server Error
  26623. schema:
  26624. $ref: '#/definitions/app.Response'
  26625. summary: 检索商品信息
  26626. tags:
  26627. - 检索服务
  26628. /TaAccount/GetTaAccounts:
  26629. get:
  26630. parameters:
  26631. - description: 登录账户
  26632. in: query
  26633. name: loginID
  26634. required: true
  26635. type: integer
  26636. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26637. in: query
  26638. name: taAccountType
  26639. type: integer
  26640. produces:
  26641. - application/json
  26642. responses:
  26643. "200":
  26644. description: OK
  26645. schema:
  26646. $ref: '#/definitions/models.Taaccount'
  26647. "500":
  26648. description: Internal Server Error
  26649. schema:
  26650. $ref: '#/definitions/app.Response'
  26651. security:
  26652. - ApiKeyAuth: []
  26653. summary: 获取资金账户信息
  26654. tags:
  26655. - 资金账户
  26656. /TaAccount/QueryAmountLog:
  26657. get:
  26658. parameters:
  26659. - description: 页码
  26660. in: query
  26661. name: page
  26662. type: integer
  26663. - description: 每页条数
  26664. in: query
  26665. name: pagesize
  26666. type: integer
  26667. - description: 资金账户 - 格式:1,2,3
  26668. in: query
  26669. name: accountID
  26670. required: true
  26671. type: string
  26672. - description: 资金操作类型 - 格式:1,2,3
  26673. in: query
  26674. name: OperateType
  26675. type: string
  26676. produces:
  26677. - application/json
  26678. responses:
  26679. "200":
  26680. description: OK
  26681. schema:
  26682. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26683. "500":
  26684. description: Internal Server Error
  26685. schema:
  26686. $ref: '#/definitions/app.Response'
  26687. security:
  26688. - ApiKeyAuth: []
  26689. summary: 资金流水查询(当前)
  26690. tags:
  26691. - 资金账户
  26692. /TaAccount/QueryHisAmountLog:
  26693. get:
  26694. parameters:
  26695. - description: 页码
  26696. in: query
  26697. name: page
  26698. type: integer
  26699. - description: 每页条数
  26700. in: query
  26701. name: pagesize
  26702. type: integer
  26703. - description: 资金账户 - 格式:1,2,3
  26704. in: query
  26705. name: accountID
  26706. required: true
  26707. type: string
  26708. - description: 资金操作类型 - 格式:1,2,3
  26709. in: query
  26710. name: OperateType
  26711. type: string
  26712. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26713. in: query
  26714. name: startDate
  26715. type: string
  26716. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26717. in: query
  26718. name: endDate
  26719. type: string
  26720. produces:
  26721. - application/json
  26722. responses:
  26723. "200":
  26724. description: OK
  26725. schema:
  26726. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26727. "500":
  26728. description: Internal Server Error
  26729. schema:
  26730. $ref: '#/definitions/app.Response'
  26731. security:
  26732. - ApiKeyAuth: []
  26733. summary: 资金流水查询(历史)
  26734. tags:
  26735. - 资金账户
  26736. /Tjmd/QueryQuoteGoodsList:
  26737. get:
  26738. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26739. parameters:
  26740. - description: 用户类型
  26741. in: query
  26742. name: usertype
  26743. required: true
  26744. type: integer
  26745. - description: 市场id, 格式 1,2,3
  26746. in: query
  26747. name: marketids
  26748. type: string
  26749. - description: 商品组id
  26750. in: query
  26751. name: goodsgroupid
  26752. type: integer
  26753. - description: 商品id
  26754. in: query
  26755. name: goodsid
  26756. type: integer
  26757. produces:
  26758. - application/json
  26759. responses:
  26760. "200":
  26761. description: OK
  26762. schema:
  26763. items:
  26764. $ref: '#/definitions/models.TjmdQuoteGoods'
  26765. type: array
  26766. "500":
  26767. description: Internal Server Error
  26768. schema:
  26769. $ref: '#/definitions/app.Response'
  26770. security:
  26771. - ApiKeyAuth: []
  26772. summary: 查询掉期报价列表
  26773. tags:
  26774. - 天津麦顿
  26775. /Tjmd/QueryTjmdMarketSection:
  26776. get:
  26777. produces:
  26778. - application/json
  26779. responses:
  26780. "200":
  26781. description: OK
  26782. schema:
  26783. items:
  26784. $ref: '#/definitions/models.TjmdMarketSection'
  26785. type: array
  26786. "500":
  26787. description: Internal Server Error
  26788. schema:
  26789. $ref: '#/definitions/app.Response'
  26790. security:
  26791. - ApiKeyAuth: []
  26792. summary: 查询市场板块
  26793. tags:
  26794. - 天津麦顿
  26795. /Tjmd/QueryTjmdTodayAccountMargin:
  26796. get:
  26797. parameters:
  26798. - description: 市场id
  26799. in: query
  26800. name: marketid
  26801. type: string
  26802. - description: 商品id
  26803. in: query
  26804. name: goodsid
  26805. type: string
  26806. - description: 资金账号
  26807. in: query
  26808. name: accountid
  26809. type: string
  26810. produces:
  26811. - application/json
  26812. responses:
  26813. "200":
  26814. description: OK
  26815. schema:
  26816. items:
  26817. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26818. type: array
  26819. "500":
  26820. description: Internal Server Error
  26821. schema:
  26822. $ref: '#/definitions/app.Response'
  26823. security:
  26824. - ApiKeyAuth: []
  26825. summary: 查询今日账户保证金配置
  26826. tags:
  26827. - 天津麦顿
  26828. /Tjmd/QueryTjmdTradeOrderDetail:
  26829. get:
  26830. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26831. parameters:
  26832. - description: 页码
  26833. in: query
  26834. name: page
  26835. type: integer
  26836. - description: 每页条数
  26837. in: query
  26838. name: pagesize
  26839. type: integer
  26840. - description: 用户id
  26841. in: query
  26842. name: userid
  26843. required: true
  26844. type: integer
  26845. - description: 用户类型
  26846. in: query
  26847. name: usertype
  26848. required: true
  26849. type: integer
  26850. - description: 市场id, 格式 1,2,3
  26851. in: query
  26852. name: marketids
  26853. type: string
  26854. - description: 商品id
  26855. in: query
  26856. name: goodsid
  26857. required: true
  26858. type: integer
  26859. - description: 买卖方向 0-买 1-卖
  26860. in: query
  26861. name: buyorsell
  26862. required: true
  26863. type: integer
  26864. produces:
  26865. - application/json
  26866. responses:
  26867. "200":
  26868. description: OK
  26869. schema:
  26870. items:
  26871. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26872. type: array
  26873. "500":
  26874. description: Internal Server Error
  26875. schema:
  26876. $ref: '#/definitions/app.Response'
  26877. security:
  26878. - ApiKeyAuth: []
  26879. summary: 查询掉期买卖大厅
  26880. tags:
  26881. - 天津麦顿
  26882. /Tjmd/QueryTjmdTransferApply:
  26883. get:
  26884. parameters:
  26885. - description: 类型 1-我的申请 2-对方申请
  26886. in: query
  26887. name: applytype
  26888. required: true
  26889. type: integer
  26890. - description: 市场id, 格式 1,2,3
  26891. in: query
  26892. name: marketids
  26893. type: string
  26894. - description: 资金账号, 格式 25000000001,25000000003
  26895. in: query
  26896. name: accountids
  26897. type: string
  26898. - description: 开始交易日(yyyymmdd)
  26899. in: query
  26900. name: begindate
  26901. type: string
  26902. - description: 结束交易日(yyyymmdd)
  26903. in: query
  26904. name: enddate
  26905. type: string
  26906. produces:
  26907. - application/json
  26908. responses:
  26909. "200":
  26910. description: OK
  26911. schema:
  26912. items:
  26913. $ref: '#/definitions/models.TjmdTransferApply'
  26914. type: array
  26915. "500":
  26916. description: Internal Server Error
  26917. schema:
  26918. $ref: '#/definitions/app.Response'
  26919. security:
  26920. - ApiKeyAuth: []
  26921. summary: 查询掉期协议单
  26922. tags:
  26923. - 天津麦顿
  26924. /Trade/QueryRecieptOrder:
  26925. get:
  26926. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26927. parameters:
  26928. - description: 页码
  26929. in: query
  26930. name: page
  26931. type: integer
  26932. - description: 每页条数
  26933. in: query
  26934. name: pagesize
  26935. type: integer
  26936. - description: 商品ID
  26937. in: query
  26938. name: goodsID
  26939. required: true
  26940. type: integer
  26941. - description: 所属账户名称
  26942. in: query
  26943. name: accountName
  26944. type: string
  26945. - description: 市场ID
  26946. in: query
  26947. name: marketID
  26948. type: integer
  26949. - description: 方向 - 0:买 1:卖
  26950. in: query
  26951. name: buyorsell
  26952. required: true
  26953. type: integer
  26954. produces:
  26955. - application/json
  26956. responses:
  26957. "200":
  26958. description: OK
  26959. schema:
  26960. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26961. "500":
  26962. description: Internal Server Error
  26963. schema:
  26964. $ref: '#/definitions/app.Response'
  26965. security:
  26966. - ApiKeyAuth: []
  26967. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26968. tags:
  26969. - 通用交易
  26970. /User/AddMessageBoard:
  26971. post:
  26972. parameters:
  26973. - description: 用户ID
  26974. in: query
  26975. name: userID
  26976. required: true
  26977. type: integer
  26978. - description: 留言信息
  26979. in: query
  26980. name: message
  26981. required: true
  26982. type: string
  26983. - description: 联系电话
  26984. in: query
  26985. name: contactNum
  26986. required: true
  26987. type: string
  26988. produces:
  26989. - application/json
  26990. responses:
  26991. "200":
  26992. description: OK
  26993. schema:
  26994. $ref: '#/definitions/app.Response'
  26995. "500":
  26996. description: Internal Server Error
  26997. schema:
  26998. $ref: '#/definitions/app.Response'
  26999. security:
  27000. - ApiKeyAuth: []
  27001. summary: 添加用户留言板信息
  27002. tags:
  27003. - 用户信息
  27004. /User/AddUserFavoriteGoods:
  27005. post:
  27006. parameters:
  27007. - description: 用户ID
  27008. in: query
  27009. name: userID
  27010. required: true
  27011. type: integer
  27012. - description: 商品ID
  27013. in: query
  27014. name: goodsID
  27015. required: true
  27016. type: integer
  27017. produces:
  27018. - application/json
  27019. responses:
  27020. "200":
  27021. description: OK
  27022. schema:
  27023. $ref: '#/definitions/app.Response'
  27024. "500":
  27025. description: Internal Server Error
  27026. schema:
  27027. $ref: '#/definitions/app.Response'
  27028. security:
  27029. - ApiKeyAuth: []
  27030. summary: 添加用户商品收藏信息
  27031. tags:
  27032. - 用户信息
  27033. /User/GetLoginID:
  27034. get:
  27035. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  27036. parameters:
  27037. - description: 登录代码
  27038. in: query
  27039. name: username
  27040. required: true
  27041. type: string
  27042. produces:
  27043. - application/json
  27044. responses:
  27045. "200":
  27046. description: OK
  27047. schema:
  27048. $ref: '#/definitions/app.Response'
  27049. "500":
  27050. description: Internal Server Error
  27051. schema:
  27052. $ref: '#/definitions/app.Response'
  27053. summary: 获取登录ID
  27054. tags:
  27055. - 用户信息
  27056. /User/GetUserAccount:
  27057. get:
  27058. parameters:
  27059. - description: 用户ID
  27060. in: query
  27061. name: userID
  27062. required: true
  27063. type: integer
  27064. produces:
  27065. - application/json
  27066. responses:
  27067. "200":
  27068. description: OK
  27069. schema:
  27070. $ref: '#/definitions/models.Useraccount'
  27071. "500":
  27072. description: Internal Server Error
  27073. schema:
  27074. $ref: '#/definitions/app.Response'
  27075. security:
  27076. - ApiKeyAuth: []
  27077. summary: 获取用户账号信息
  27078. tags:
  27079. - 用户信息
  27080. /User/GetUserAuthStatus:
  27081. get:
  27082. parameters:
  27083. - description: 用户ID
  27084. in: query
  27085. name: userID
  27086. required: true
  27087. type: integer
  27088. produces:
  27089. - application/json
  27090. responses:
  27091. "200":
  27092. description: OK
  27093. schema:
  27094. $ref: '#/definitions/app.Response'
  27095. "500":
  27096. description: Internal Server Error
  27097. schema:
  27098. $ref: '#/definitions/app.Response'
  27099. security:
  27100. - ApiKeyAuth: []
  27101. summary: 获取用户实名认证状态
  27102. tags:
  27103. - 用户信息
  27104. /User/LoginQuery:
  27105. get:
  27106. parameters:
  27107. - description: 登录账号
  27108. in: query
  27109. name: loginID
  27110. required: true
  27111. type: integer
  27112. produces:
  27113. - application/json
  27114. responses:
  27115. "200":
  27116. description: OK
  27117. schema:
  27118. $ref: '#/definitions/user.LoginQueryRsp'
  27119. "500":
  27120. description: Internal Server Error
  27121. schema:
  27122. $ref: '#/definitions/app.Response'
  27123. security:
  27124. - ApiKeyAuth: []
  27125. summary: 账户登录后信息查询
  27126. tags:
  27127. - 用户信息
  27128. /User/QueryMessageBoard:
  27129. get:
  27130. parameters:
  27131. - description: 用户ID
  27132. in: query
  27133. name: userID
  27134. required: true
  27135. type: integer
  27136. produces:
  27137. - application/json
  27138. responses:
  27139. "200":
  27140. description: OK
  27141. schema:
  27142. $ref: '#/definitions/models.Messageboard'
  27143. "500":
  27144. description: Internal Server Error
  27145. schema:
  27146. $ref: '#/definitions/app.Response'
  27147. security:
  27148. - ApiKeyAuth: []
  27149. summary: 获取用户留言板信息
  27150. tags:
  27151. - 用户信息
  27152. /User/QueryUserFavoriteGoodses:
  27153. get:
  27154. parameters:
  27155. - description: 用户ID
  27156. in: query
  27157. name: userID
  27158. required: true
  27159. type: integer
  27160. produces:
  27161. - application/json
  27162. responses:
  27163. "200":
  27164. description: OK
  27165. schema:
  27166. $ref: '#/definitions/models.Userfavoritegoods'
  27167. "500":
  27168. description: Internal Server Error
  27169. schema:
  27170. $ref: '#/definitions/app.Response'
  27171. security:
  27172. - ApiKeyAuth: []
  27173. summary: 获取用户商品收藏信息
  27174. tags:
  27175. - 用户信息
  27176. /User/QueryUserInfo:
  27177. get:
  27178. parameters:
  27179. - description: 用户ID
  27180. in: query
  27181. name: userID
  27182. required: true
  27183. type: integer
  27184. - description: 是否解密
  27185. in: query
  27186. name: isDecrypt
  27187. type: boolean
  27188. produces:
  27189. - application/json
  27190. responses:
  27191. "200":
  27192. description: OK
  27193. schema:
  27194. $ref: '#/definitions/models.Userinfo'
  27195. "500":
  27196. description: Internal Server Error
  27197. schema:
  27198. $ref: '#/definitions/app.Response'
  27199. security:
  27200. - ApiKeyAuth: []
  27201. summary: 获取用户信息
  27202. tags:
  27203. - 用户信息
  27204. /User/QueryUserReferNum:
  27205. get:
  27206. parameters:
  27207. - description: 用户ID
  27208. in: query
  27209. name: userID
  27210. required: true
  27211. type: integer
  27212. produces:
  27213. - application/json
  27214. responses:
  27215. "200":
  27216. description: OK
  27217. schema:
  27218. $ref: '#/definitions/app.Response'
  27219. "500":
  27220. description: Internal Server Error
  27221. schema:
  27222. $ref: '#/definitions/app.Response'
  27223. summary: 获取用户邀请码
  27224. tags:
  27225. - 用户信息
  27226. /User/RemoveUserFavoriteGoods:
  27227. post:
  27228. parameters:
  27229. - description: 用户ID
  27230. in: query
  27231. name: userID
  27232. required: true
  27233. type: integer
  27234. - description: 商品ID
  27235. in: query
  27236. name: goodsID
  27237. required: true
  27238. type: integer
  27239. produces:
  27240. - application/json
  27241. responses:
  27242. "200":
  27243. description: OK
  27244. schema:
  27245. $ref: '#/definitions/app.Response'
  27246. "500":
  27247. description: Internal Server Error
  27248. schema:
  27249. $ref: '#/definitions/app.Response'
  27250. security:
  27251. - ApiKeyAuth: []
  27252. summary: 移除用户商品收藏信息
  27253. tags:
  27254. - 用户信息
  27255. /User/UpdateUserAccountStatus:
  27256. post:
  27257. parameters:
  27258. - description: 用户ID
  27259. in: query
  27260. name: userID
  27261. required: true
  27262. type: integer
  27263. - description: 账户状态 - 4:正常 6:注销(停用)
  27264. in: query
  27265. name: accountStatus
  27266. required: true
  27267. type: integer
  27268. produces:
  27269. - application/json
  27270. responses:
  27271. "200":
  27272. description: OK
  27273. schema:
  27274. $ref: '#/definitions/app.Response'
  27275. "500":
  27276. description: Internal Server Error
  27277. schema:
  27278. $ref: '#/definitions/app.Response'
  27279. security:
  27280. - ApiKeyAuth: []
  27281. summary: 更新用户状态
  27282. tags:
  27283. - 用户信息
  27284. /WRTrade/GetAllDeliveryGoods:
  27285. get:
  27286. produces:
  27287. - application/json
  27288. responses:
  27289. "200":
  27290. description: OK
  27291. schema:
  27292. $ref: '#/definitions/app.Response'
  27293. "500":
  27294. description: Internal Server Error
  27295. schema:
  27296. $ref: '#/definitions/app.Response'
  27297. security:
  27298. - ApiKeyAuth: []
  27299. summary: 获取带仓单分类的种类信息
  27300. tags:
  27301. - 仓单贸易
  27302. - 仓单贸易
  27303. /WrTrade2/QueryDeliveryGoodsSection:
  27304. get:
  27305. produces:
  27306. - application/json
  27307. responses:
  27308. "200":
  27309. description: OK
  27310. schema:
  27311. items:
  27312. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27313. type: array
  27314. "500":
  27315. description: Internal Server Error
  27316. schema:
  27317. $ref: '#/definitions/app.Response'
  27318. security:
  27319. - ApiKeyAuth: []
  27320. summary: 查询板块(分类)
  27321. tags:
  27322. - 仓单贸易v2
  27323. /WrTrade2/QueryFaProductDetail:
  27324. get:
  27325. description: 页面 买卖大厅 -> 选择融资方案
  27326. parameters:
  27327. - description: 仓单要素id
  27328. in: query
  27329. name: wrfactortypeid
  27330. required: true
  27331. type: integer
  27332. produces:
  27333. - application/json
  27334. responses:
  27335. "200":
  27336. description: OK
  27337. schema:
  27338. items:
  27339. $ref: '#/definitions/models.WrFAProductDetail'
  27340. type: array
  27341. "500":
  27342. description: Internal Server Error
  27343. schema:
  27344. $ref: '#/definitions/app.Response'
  27345. security:
  27346. - ApiKeyAuth: []
  27347. summary: 查询融资产品列表
  27348. tags:
  27349. - 仓单贸易v2
  27350. /WrTrade2/QueryFilterItem:
  27351. get:
  27352. parameters:
  27353. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27354. in: query
  27355. name: itype
  27356. required: true
  27357. type: string
  27358. produces:
  27359. - application/json
  27360. responses:
  27361. "200":
  27362. description: OK
  27363. schema:
  27364. items:
  27365. $ref: '#/definitions/models.WrFilterItem'
  27366. type: array
  27367. "500":
  27368. description: Internal Server Error
  27369. schema:
  27370. $ref: '#/definitions/app.Response'
  27371. security:
  27372. - ApiKeyAuth: []
  27373. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27374. tags:
  27375. - 仓单贸易v2
  27376. /WrTrade2/QueryFtDeliveryGoods:
  27377. get:
  27378. produces:
  27379. - application/json
  27380. responses:
  27381. "200":
  27382. description: OK
  27383. schema:
  27384. items:
  27385. $ref: '#/definitions/models.WrFtDeliveryGoods'
  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/QueryHoldLB:
  27397. get:
  27398. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27399. parameters:
  27400. - description: 资金账号
  27401. in: query
  27402. name: accountid
  27403. required: true
  27404. type: integer
  27405. - description: 仓库id
  27406. in: query
  27407. name: warehouseid
  27408. type: integer
  27409. - description: 品种id
  27410. in: query
  27411. name: deliverygoodsid
  27412. type: integer
  27413. - description: 品类id
  27414. in: query
  27415. name: wrstandardid
  27416. type: integer
  27417. - description: 仓单要素id
  27418. in: query
  27419. name: wrfactortypeid
  27420. type: integer
  27421. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27422. in: query
  27423. name: dgitemname
  27424. type: string
  27425. produces:
  27426. - application/json
  27427. responses:
  27428. "200":
  27429. description: OK
  27430. schema:
  27431. items:
  27432. $ref: '#/definitions/models.WrHoldLB'
  27433. type: array
  27434. "500":
  27435. description: Internal Server Error
  27436. schema:
  27437. $ref: '#/definitions/app.Response'
  27438. security:
  27439. - ApiKeyAuth: []
  27440. summary: 查询仓单持有记录
  27441. tags:
  27442. - 仓单贸易v2
  27443. /WrTrade2/QueryOrderQuote:
  27444. get:
  27445. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27446. 唯一确定1条记录
  27447. parameters:
  27448. - description: 页码
  27449. in: query
  27450. name: page
  27451. type: integer
  27452. - description: 每页条数
  27453. in: query
  27454. name: pagesize
  27455. type: integer
  27456. - description: 仓单贸易市场id
  27457. in: query
  27458. name: marketid
  27459. type: integer
  27460. - description: 价格方式 - 1:固定价 2-浮动价
  27461. in: query
  27462. name: wrpricetype
  27463. required: true
  27464. type: integer
  27465. - description: 0:仓单预售 1:仓单贸易
  27466. in: query
  27467. name: haswr
  27468. type: integer
  27469. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27470. in: query
  27471. name: dgitemname
  27472. type: string
  27473. - description: 仓库id(筛选条件)
  27474. in: query
  27475. name: warehouseid
  27476. type: integer
  27477. - description: 品种id
  27478. in: query
  27479. name: deliverygoodsid
  27480. type: integer
  27481. - description: 品类id
  27482. in: query
  27483. name: wrstandardid
  27484. type: integer
  27485. - description: 仓单要素id
  27486. in: query
  27487. name: wrfactortypeid
  27488. type: integer
  27489. - description: 交收月(yyyy-mm) 仓单预售填写
  27490. in: query
  27491. name: deliverymonth
  27492. type: string
  27493. produces:
  27494. - application/json
  27495. responses:
  27496. "200":
  27497. description: OK
  27498. schema:
  27499. items:
  27500. $ref: '#/definitions/models.WrOrderQuote'
  27501. type: array
  27502. "500":
  27503. description: Internal Server Error
  27504. schema:
  27505. $ref: '#/definitions/app.Response'
  27506. security:
  27507. - ApiKeyAuth: []
  27508. summary: 查询大厅行情列表
  27509. tags:
  27510. - 仓单贸易v2
  27511. /WrTrade2/QueryOrderQuoteDetail:
  27512. get:
  27513. parameters:
  27514. - description: 页码
  27515. in: query
  27516. name: page
  27517. type: integer
  27518. - description: 每页条数
  27519. in: query
  27520. name: pagesize
  27521. type: integer
  27522. - description: 仓单贸易市场id
  27523. in: query
  27524. name: marketid
  27525. type: integer
  27526. - description: 价格方式 - 1:固定价 2-浮动价
  27527. in: query
  27528. name: wrpricetype
  27529. required: true
  27530. type: integer
  27531. - description: 0:仓单预售 1:仓单贸易
  27532. in: query
  27533. name: haswr
  27534. type: integer
  27535. - description: 仓单要素id
  27536. in: query
  27537. name: wrfactortypeid
  27538. required: true
  27539. type: integer
  27540. - description: 期货商品id(浮动价方式时填)
  27541. in: query
  27542. name: goodsid
  27543. type: integer
  27544. - description: 买卖方向 0-买 1-卖
  27545. in: query
  27546. name: buyorsell
  27547. required: true
  27548. type: integer
  27549. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27550. in: query
  27551. name: deliverymonth
  27552. type: string
  27553. produces:
  27554. - application/json
  27555. responses:
  27556. "200":
  27557. description: OK
  27558. schema:
  27559. items:
  27560. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27561. type: array
  27562. "500":
  27563. description: Internal Server Error
  27564. schema:
  27565. $ref: '#/definitions/app.Response'
  27566. security:
  27567. - ApiKeyAuth: []
  27568. summary: 查询买卖大厅
  27569. tags:
  27570. - 仓单贸易v2
  27571. /WrTrade2/QueryOrderQuoteMyq:
  27572. get:
  27573. parameters:
  27574. - description: 页码
  27575. in: query
  27576. name: page
  27577. type: integer
  27578. - description: 每页条数
  27579. in: query
  27580. name: pagesize
  27581. type: integer
  27582. - description: 用户id
  27583. in: query
  27584. name: userid
  27585. required: true
  27586. type: integer
  27587. - description: 仓单贸易市场id
  27588. in: query
  27589. name: marketid
  27590. type: integer
  27591. - description: 0:仓单预售 1:仓单贸易
  27592. in: query
  27593. name: haswr
  27594. type: integer
  27595. - description: 买卖方向 0-买 1-卖
  27596. in: query
  27597. name: buyorsell
  27598. required: true
  27599. type: integer
  27600. - description: 品种id
  27601. in: query
  27602. name: deliverygoodsid
  27603. type: integer
  27604. - description: 品类id
  27605. in: query
  27606. name: wrstandardid
  27607. type: integer
  27608. - description: 交收月(yyyy-mm) 仓单预售填写
  27609. in: query
  27610. name: deliverymonth
  27611. type: string
  27612. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27613. in: query
  27614. name: dgitemname
  27615. type: string
  27616. produces:
  27617. - application/json
  27618. responses:
  27619. "200":
  27620. description: OK
  27621. schema:
  27622. items:
  27623. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27624. type: array
  27625. "500":
  27626. description: Internal Server Error
  27627. schema:
  27628. $ref: '#/definitions/app.Response'
  27629. security:
  27630. - ApiKeyAuth: []
  27631. summary: 查询贸易圈挂牌大厅
  27632. tags:
  27633. - 仓单贸易v2
  27634. /WrTrade2/QueryPerformancePlan:
  27635. get:
  27636. parameters:
  27637. - description: 用户id
  27638. in: query
  27639. name: userid
  27640. required: true
  27641. type: integer
  27642. - description: 买卖方向 0-买 1-卖
  27643. in: query
  27644. name: buyorsell
  27645. required: true
  27646. type: integer
  27647. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  27648. 8:释放冻结失败 9:超时待处理 10:超时关闭
  27649. in: query
  27650. name: status
  27651. type: string
  27652. - description: 开始交易日(yyyymmdd)
  27653. in: query
  27654. name: begindate
  27655. type: string
  27656. - description: 结束交易日(yyyymmdd)
  27657. in: query
  27658. name: enddate
  27659. type: string
  27660. produces:
  27661. - application/json
  27662. responses:
  27663. "200":
  27664. description: OK
  27665. schema:
  27666. items:
  27667. $ref: '#/definitions/models.WrPerformancePlan'
  27668. type: array
  27669. "500":
  27670. description: Internal Server Error
  27671. schema:
  27672. $ref: '#/definitions/app.Response'
  27673. security:
  27674. - ApiKeyAuth: []
  27675. summary: 查询履约信息
  27676. tags:
  27677. - 仓单贸易v2
  27678. /WrTrade2/QueryPermancePlanTmp:
  27679. get:
  27680. description: |-
  27681. 返回指定用户的模板和公共模板(用户id为空)
  27682. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27683. parameters:
  27684. - description: 用户id
  27685. in: query
  27686. name: userid
  27687. type: integer
  27688. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  27689. (无仓单) 5:挂牌期权 6:竞拍-降价式
  27690. in: query
  27691. name: tmptype
  27692. type: string
  27693. - description: 是否包含公共模板(用户id为空的) 1-包含
  27694. in: query
  27695. name: includepub
  27696. type: integer
  27697. - description: 市场id(天津麦顿指定此参数,其它不用)
  27698. in: query
  27699. name: marketid
  27700. type: integer
  27701. produces:
  27702. - application/json
  27703. responses:
  27704. "200":
  27705. description: OK
  27706. schema:
  27707. items:
  27708. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27709. type: array
  27710. "500":
  27711. description: Internal Server Error
  27712. schema:
  27713. $ref: '#/definitions/app.Response'
  27714. security:
  27715. - ApiKeyAuth: []
  27716. summary: 查询履约模板
  27717. tags:
  27718. - 仓单贸易v2
  27719. /WrTrade2/QuerySiteColumnDetail:
  27720. get:
  27721. parameters:
  27722. - description: 页码
  27723. in: query
  27724. name: page
  27725. type: integer
  27726. - description: 每页条数
  27727. in: query
  27728. name: pagesize
  27729. type: integer
  27730. - description: 所属栏目id
  27731. in: query
  27732. name: columnid
  27733. type: integer
  27734. produces:
  27735. - application/json
  27736. responses:
  27737. "200":
  27738. description: OK
  27739. schema:
  27740. items:
  27741. $ref: '#/definitions/models.WrSiteColumnDetail'
  27742. type: array
  27743. "500":
  27744. description: Internal Server Error
  27745. schema:
  27746. $ref: '#/definitions/app.Response'
  27747. security:
  27748. - ApiKeyAuth: []
  27749. summary: 查询资讯
  27750. tags:
  27751. - 仓单贸易v2
  27752. /WrTrade2/QuerySpotGroupTradeSum:
  27753. get:
  27754. produces:
  27755. - application/json
  27756. responses:
  27757. "200":
  27758. description: OK
  27759. schema:
  27760. items:
  27761. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27762. type: array
  27763. "500":
  27764. description: Internal Server Error
  27765. schema:
  27766. $ref: '#/definitions/app.Response'
  27767. security:
  27768. - ApiKeyAuth: []
  27769. summary: 查询指数
  27770. tags:
  27771. - 仓单贸易v2
  27772. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27773. get:
  27774. description: 查询的结果将会按日期 从小到大 排序
  27775. parameters:
  27776. - description: 现货商品id
  27777. in: query
  27778. name: deliverygoodsid
  27779. required: true
  27780. type: integer
  27781. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27782. in: query
  27783. name: lastnum
  27784. type: integer
  27785. produces:
  27786. - application/json
  27787. responses:
  27788. "200":
  27789. description: OK
  27790. schema:
  27791. items:
  27792. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27793. type: array
  27794. "500":
  27795. description: Internal Server Error
  27796. schema:
  27797. $ref: '#/definitions/app.Response'
  27798. security:
  27799. - ApiKeyAuth: []
  27800. summary: 查询指数详细(价格走势图)
  27801. tags:
  27802. - 仓单贸易v2
  27803. /WrTrade2/QueryWrAverageTradePrice:
  27804. get:
  27805. parameters:
  27806. - description: 页码
  27807. in: query
  27808. name: page
  27809. type: integer
  27810. - description: 每页条数
  27811. in: query
  27812. name: pagesize
  27813. type: integer
  27814. - description: 0:仓单预售 1:仓单贸易
  27815. in: query
  27816. name: haswr
  27817. required: true
  27818. type: integer
  27819. - description: 仓单要素id
  27820. in: query
  27821. name: wrfactortypeid
  27822. required: true
  27823. type: integer
  27824. produces:
  27825. - application/json
  27826. responses:
  27827. "200":
  27828. description: OK
  27829. schema:
  27830. items:
  27831. $ref: '#/definitions/models.WrAverageTradePrice'
  27832. type: array
  27833. "500":
  27834. description: Internal Server Error
  27835. schema:
  27836. $ref: '#/definitions/app.Response'
  27837. security:
  27838. - ApiKeyAuth: []
  27839. summary: 查询成交价(历史走势)
  27840. tags:
  27841. - 仓单贸易v2
  27842. /WrTrade2/QueryWrBsGoodsInfo:
  27843. get:
  27844. description: 合约交易/买卖大厅/详情
  27845. parameters:
  27846. - description: 商品id
  27847. in: query
  27848. name: goodsid
  27849. required: true
  27850. type: integer
  27851. produces:
  27852. - application/json
  27853. responses:
  27854. "200":
  27855. description: OK
  27856. schema:
  27857. items:
  27858. $ref: '#/definitions/models.WrBsGoodsInfo'
  27859. type: array
  27860. "500":
  27861. description: Internal Server Error
  27862. schema:
  27863. $ref: '#/definitions/app.Response'
  27864. security:
  27865. - ApiKeyAuth: []
  27866. summary: 查询合约交易买卖大厅详情
  27867. tags:
  27868. - 仓单贸易v2
  27869. /WrTrade2/QueryWrBuybackDetail:
  27870. get:
  27871. parameters:
  27872. - description: 融资合同id
  27873. in: query
  27874. name: scfcontractid
  27875. type: integer
  27876. produces:
  27877. - application/json
  27878. responses:
  27879. "200":
  27880. description: OK
  27881. schema:
  27882. items:
  27883. $ref: '#/definitions/models.WrBuybackDetail'
  27884. type: array
  27885. "500":
  27886. description: Internal Server Error
  27887. schema:
  27888. $ref: '#/definitions/app.Response'
  27889. security:
  27890. - ApiKeyAuth: []
  27891. summary: 查询仓单回购明细
  27892. tags:
  27893. - 仓单贸易v2
  27894. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27895. get:
  27896. parameters:
  27897. - description: 资金账号
  27898. in: query
  27899. name: accountid
  27900. required: true
  27901. type: integer
  27902. - description: 商品id
  27903. in: query
  27904. name: goodsid
  27905. required: true
  27906. type: integer
  27907. produces:
  27908. - application/json
  27909. responses:
  27910. "200":
  27911. description: OK
  27912. schema:
  27913. items:
  27914. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27915. type: array
  27916. "500":
  27917. description: Internal Server Error
  27918. schema:
  27919. $ref: '#/definitions/app.Response'
  27920. security:
  27921. - ApiKeyAuth: []
  27922. summary: 查询合约交收可点选仓单
  27923. tags:
  27924. - 仓单贸易v2
  27925. /WrTrade2/QueryWrDeliveryDetail:
  27926. get:
  27927. parameters:
  27928. - description: 用户id
  27929. in: query
  27930. name: userid
  27931. required: true
  27932. type: integer
  27933. - description: 资金账号id
  27934. in: query
  27935. name: accountid
  27936. type: integer
  27937. - description: 开始交易日(yyyymmdd)
  27938. in: query
  27939. name: begindate
  27940. type: string
  27941. - description: 结束交易日(yyyymmdd)
  27942. in: query
  27943. name: enddate
  27944. type: string
  27945. produces:
  27946. - application/json
  27947. responses:
  27948. "200":
  27949. description: OK
  27950. schema:
  27951. items:
  27952. $ref: '#/definitions/models.WrDeliveryDetail'
  27953. type: array
  27954. "500":
  27955. description: Internal Server Error
  27956. schema:
  27957. $ref: '#/definitions/app.Response'
  27958. security:
  27959. - ApiKeyAuth: []
  27960. summary: 查询交收
  27961. tags:
  27962. - 仓单贸易v2
  27963. /WrTrade2/QueryWrDraftUserInfo:
  27964. get:
  27965. parameters:
  27966. - description: 用户ID
  27967. in: query
  27968. name: userid
  27969. required: true
  27970. type: integer
  27971. - description: 用户状态 1:正常 2:注销
  27972. in: query
  27973. name: userstatus
  27974. type: integer
  27975. produces:
  27976. - application/json
  27977. responses:
  27978. "200":
  27979. description: OK
  27980. schema:
  27981. items:
  27982. $ref: '#/definitions/models.WrDraftUserInfo'
  27983. type: array
  27984. "500":
  27985. description: Internal Server Error
  27986. schema:
  27987. $ref: '#/definitions/app.Response'
  27988. security:
  27989. - ApiKeyAuth: []
  27990. summary: 查询实名认证信息
  27991. tags:
  27992. - 仓单贸易v2
  27993. /WrTrade2/QueryWrFactorTypeInfo:
  27994. get:
  27995. parameters:
  27996. - description: 仓单要素id
  27997. in: query
  27998. name: wrfactortypeid
  27999. required: true
  28000. type: integer
  28001. produces:
  28002. - application/json
  28003. responses:
  28004. "200":
  28005. description: OK
  28006. schema:
  28007. items:
  28008. $ref: '#/definitions/models.WrFactorTypeInfo'
  28009. type: array
  28010. "500":
  28011. description: Internal Server Error
  28012. schema:
  28013. $ref: '#/definitions/app.Response'
  28014. security:
  28015. - ApiKeyAuth: []
  28016. summary: 查询仓单要素详细信息
  28017. tags:
  28018. - 仓单贸易v2
  28019. /WrTrade2/QueryWrFactorTypeInfoEx:
  28020. get:
  28021. parameters:
  28022. - description: 仓单要素id
  28023. in: query
  28024. name: wrfactortypeid
  28025. required: true
  28026. type: integer
  28027. produces:
  28028. - application/json
  28029. responses:
  28030. "200":
  28031. description: OK
  28032. schema:
  28033. items:
  28034. $ref: '#/definitions/models.WrTypeItem'
  28035. type: array
  28036. "500":
  28037. description: Internal Server Error
  28038. schema:
  28039. $ref: '#/definitions/app.Response'
  28040. security:
  28041. - ApiKeyAuth: []
  28042. summary: 查询仓单要素详细信息列表项
  28043. tags:
  28044. - 仓单贸易v2
  28045. /WrTrade2/QueryWrFinanceBuyApply:
  28046. get:
  28047. description: 页面 融资信息+ / 申请单
  28048. parameters:
  28049. - description: 用户id
  28050. in: query
  28051. name: userid
  28052. required: true
  28053. type: integer
  28054. produces:
  28055. - application/json
  28056. responses:
  28057. "200":
  28058. description: OK
  28059. schema:
  28060. items:
  28061. $ref: '#/definitions/models.WrFinanceBuyApply'
  28062. type: array
  28063. "500":
  28064. description: Internal Server Error
  28065. schema:
  28066. $ref: '#/definitions/app.Response'
  28067. security:
  28068. - ApiKeyAuth: []
  28069. summary: 查询融资购买申请
  28070. tags:
  28071. - 仓单贸易v2
  28072. /WrTrade2/QueryWrFriendApply:
  28073. get:
  28074. parameters:
  28075. - description: 用户id
  28076. in: query
  28077. name: userid
  28078. required: true
  28079. type: integer
  28080. produces:
  28081. - application/json
  28082. responses:
  28083. "200":
  28084. description: OK
  28085. schema:
  28086. items:
  28087. $ref: '#/definitions/models.WrFriendApply'
  28088. type: array
  28089. "500":
  28090. description: Internal Server Error
  28091. schema:
  28092. $ref: '#/definitions/app.Response'
  28093. security:
  28094. - ApiKeyAuth: []
  28095. summary: 查询好友申请记录
  28096. tags:
  28097. - 仓单贸易v2
  28098. /WrTrade2/QueryWrGoodsInfo:
  28099. get:
  28100. parameters:
  28101. - description: 仓单贸易市场id
  28102. in: query
  28103. name: marketid
  28104. type: integer
  28105. - description: 0:仓单预售 1:仓单贸易
  28106. in: query
  28107. name: haswr
  28108. required: true
  28109. type: integer
  28110. - description: 仓单要素id
  28111. in: query
  28112. name: wrfactortypeid
  28113. required: true
  28114. type: integer
  28115. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  28116. in: query
  28117. name: tmplateid
  28118. type: integer
  28119. produces:
  28120. - application/json
  28121. responses:
  28122. "200":
  28123. description: OK
  28124. schema:
  28125. items:
  28126. $ref: '#/definitions/models.WrGoodsInfo'
  28127. type: array
  28128. "500":
  28129. description: Internal Server Error
  28130. schema:
  28131. $ref: '#/definitions/app.Response'
  28132. security:
  28133. - ApiKeyAuth: []
  28134. summary: 查询仓单商品信息
  28135. tags:
  28136. - 仓单贸易v2
  28137. /WrTrade2/QueryWrMarketTradeConfig:
  28138. get:
  28139. parameters:
  28140. - description: 市场id
  28141. in: query
  28142. name: marketid
  28143. type: integer
  28144. produces:
  28145. - application/json
  28146. responses:
  28147. "200":
  28148. description: OK
  28149. schema:
  28150. items:
  28151. $ref: '#/definitions/models.WrMarketTradeConfig'
  28152. type: array
  28153. "500":
  28154. description: Internal Server Error
  28155. schema:
  28156. $ref: '#/definitions/app.Response'
  28157. security:
  28158. - ApiKeyAuth: []
  28159. summary: 查询市场交易参数配置
  28160. tags:
  28161. - 仓单贸易v2
  28162. /WrTrade2/QueryWrOrderDetail:
  28163. get:
  28164. description: 页面 现货仓单 | 预售仓单 -> 委托单
  28165. parameters:
  28166. - description: 页码
  28167. in: query
  28168. name: page
  28169. type: integer
  28170. - description: 每页条数
  28171. in: query
  28172. name: pagesize
  28173. type: integer
  28174. - description: 用户id
  28175. in: query
  28176. name: userid
  28177. required: true
  28178. type: integer
  28179. - description: 仓单贸易市场id
  28180. in: query
  28181. name: marketid
  28182. type: integer
  28183. - description: 0:仓单预售 1:仓单贸易
  28184. in: query
  28185. name: haswr
  28186. required: true
  28187. type: integer
  28188. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  28189. in: query
  28190. name: bcancel
  28191. type: integer
  28192. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  28193. in: query
  28194. name: wrtradetype
  28195. type: integer
  28196. - description: 开始交易日(yyyymmdd)
  28197. in: query
  28198. name: begindate
  28199. type: string
  28200. - description: 结束交易日(yyyymmdd)
  28201. in: query
  28202. name: enddate
  28203. type: string
  28204. produces:
  28205. - application/json
  28206. responses:
  28207. "200":
  28208. description: OK
  28209. schema:
  28210. items:
  28211. $ref: '#/definitions/models.WrOrderDetail'
  28212. type: array
  28213. "500":
  28214. description: Internal Server Error
  28215. schema:
  28216. $ref: '#/definitions/app.Response'
  28217. security:
  28218. - ApiKeyAuth: []
  28219. summary: 查询仓单委托单
  28220. tags:
  28221. - 仓单贸易v2
  28222. /WrTrade2/QueryWrOutInApply:
  28223. get:
  28224. parameters:
  28225. - description: 用户id
  28226. in: query
  28227. name: userid
  28228. required: true
  28229. type: integer
  28230. - description: 开始交易日(yyyymmdd)
  28231. in: query
  28232. name: begindate
  28233. type: string
  28234. - description: 结束交易日(yyyymmdd)
  28235. in: query
  28236. name: enddate
  28237. type: string
  28238. produces:
  28239. - application/json
  28240. responses:
  28241. "200":
  28242. description: OK
  28243. schema:
  28244. items:
  28245. $ref: '#/definitions/models.WrOutInApply'
  28246. type: array
  28247. "500":
  28248. description: Internal Server Error
  28249. schema:
  28250. $ref: '#/definitions/app.Response'
  28251. security:
  28252. - ApiKeyAuth: []
  28253. summary: 查询提货申请
  28254. tags:
  28255. - 仓单贸易v2
  28256. /WrTrade2/QueryWrPerformancePlanStep:
  28257. get:
  28258. parameters:
  28259. - description: 履约计划id(performanceplanid)
  28260. in: query
  28261. name: planid
  28262. required: true
  28263. type: integer
  28264. - description: 当前步骤id
  28265. in: query
  28266. name: curstepid
  28267. type: integer
  28268. produces:
  28269. - application/json
  28270. responses:
  28271. "200":
  28272. description: OK
  28273. schema:
  28274. items:
  28275. $ref: '#/definitions/models.WrPerformancePlanStep'
  28276. type: array
  28277. "500":
  28278. description: Internal Server Error
  28279. schema:
  28280. $ref: '#/definitions/app.Response'
  28281. security:
  28282. - ApiKeyAuth: []
  28283. summary: 查询履约信息详情
  28284. tags:
  28285. - 仓单贸易v2
  28286. /WrTrade2/QueryWrPerformanceStepType:
  28287. get:
  28288. produces:
  28289. - application/json
  28290. responses:
  28291. "200":
  28292. description: OK
  28293. schema:
  28294. items:
  28295. $ref: '#/definitions/models.WrPerformanceStepType'
  28296. type: array
  28297. "500":
  28298. description: Internal Server Error
  28299. schema:
  28300. $ref: '#/definitions/app.Response'
  28301. security:
  28302. - ApiKeyAuth: []
  28303. summary: 查询履约步骤枚举
  28304. tags:
  28305. - 仓单贸易v2
  28306. /WrTrade2/QueryWrPosition:
  28307. get:
  28308. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28309. parameters:
  28310. - description: 用户id
  28311. in: query
  28312. name: userid
  28313. required: true
  28314. type: integer
  28315. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28316. in: query
  28317. name: querytype
  28318. required: true
  28319. type: integer
  28320. - description: 0:仓单预售 1:仓单贸易
  28321. in: query
  28322. name: haswr
  28323. required: true
  28324. type: integer
  28325. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28326. in: query
  28327. name: dgitemname
  28328. type: string
  28329. - description: 仓库id(筛选条件)
  28330. in: query
  28331. name: warehouseid
  28332. type: integer
  28333. - description: 品种id
  28334. in: query
  28335. name: deliverygoodsid
  28336. type: integer
  28337. - description: 品类id
  28338. in: query
  28339. name: wrstandardid
  28340. type: integer
  28341. produces:
  28342. - application/json
  28343. responses:
  28344. "200":
  28345. description: OK
  28346. schema:
  28347. items:
  28348. $ref: '#/definitions/models.WrPosition'
  28349. type: array
  28350. "500":
  28351. description: Internal Server Error
  28352. schema:
  28353. $ref: '#/definitions/app.Response'
  28354. security:
  28355. - ApiKeyAuth: []
  28356. summary: 查询现货(预售)仓单持仓
  28357. tags:
  28358. - 仓单贸易v2
  28359. /WrTrade2/QueryWrPreSaleInfo:
  28360. get:
  28361. parameters:
  28362. - description: 市场id
  28363. in: query
  28364. name: marketid
  28365. type: integer
  28366. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28367. in: query
  28368. name: presalestatus
  28369. type: string
  28370. - description: 摇号标识 - 0:未摇号 1:已摇号
  28371. in: query
  28372. name: lotteryflag
  28373. type: integer
  28374. - description: 最近多少条记录(按创建时间倒序)
  28375. in: query
  28376. name: lastnum
  28377. type: integer
  28378. produces:
  28379. - application/json
  28380. responses:
  28381. "200":
  28382. description: OK
  28383. schema:
  28384. items:
  28385. $ref: '#/definitions/models.WrPreSaleInfo'
  28386. type: array
  28387. "500":
  28388. description: Internal Server Error
  28389. schema:
  28390. $ref: '#/definitions/app.Response'
  28391. security:
  28392. - ApiKeyAuth: []
  28393. summary: 查询新品发布
  28394. tags:
  28395. - 仓单贸易v2
  28396. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  28397. get:
  28398. parameters:
  28399. - description: 市场id
  28400. in: query
  28401. name: marketid
  28402. required: true
  28403. type: integer
  28404. - description: 现货商品id
  28405. in: query
  28406. name: wrstandardid
  28407. required: true
  28408. type: integer
  28409. - description: 开始交易日(yyyymmdd)
  28410. in: query
  28411. name: begindate
  28412. type: string
  28413. - description: 结束交易日(yyyymmdd)
  28414. in: query
  28415. name: enddate
  28416. type: string
  28417. - description: 最近多少条记录(按交易日倒序)
  28418. in: query
  28419. name: lastnum
  28420. type: integer
  28421. produces:
  28422. - application/json
  28423. responses:
  28424. "200":
  28425. description: OK
  28426. schema:
  28427. items:
  28428. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28429. type: array
  28430. "500":
  28431. description: Internal Server Error
  28432. schema:
  28433. $ref: '#/definitions/app.Response'
  28434. security:
  28435. - ApiKeyAuth: []
  28436. summary: 查询价格走势
  28437. tags:
  28438. - 仓单贸易v2
  28439. /WrTrade2/QueryWrScfContract:
  28440. get:
  28441. parameters:
  28442. - description: 用户id
  28443. in: query
  28444. name: userid
  28445. required: true
  28446. type: integer
  28447. - description: 融资合同id
  28448. in: query
  28449. name: scfcontractid
  28450. type: integer
  28451. produces:
  28452. - application/json
  28453. responses:
  28454. "200":
  28455. description: OK
  28456. schema:
  28457. items:
  28458. $ref: '#/definitions/models.WrScfContract'
  28459. type: array
  28460. "500":
  28461. description: Internal Server Error
  28462. schema:
  28463. $ref: '#/definitions/app.Response'
  28464. security:
  28465. - ApiKeyAuth: []
  28466. summary: 查询仓单贸易融资合同
  28467. tags:
  28468. - 仓单贸易v2
  28469. /WrTrade2/QueryWrScfContractInterest:
  28470. get:
  28471. parameters:
  28472. - description: 融资合同id
  28473. in: query
  28474. name: scfcontractid
  28475. type: integer
  28476. produces:
  28477. - application/json
  28478. responses:
  28479. "200":
  28480. description: OK
  28481. schema:
  28482. items:
  28483. $ref: '#/definitions/models.WrScfContractInterest'
  28484. type: array
  28485. "500":
  28486. description: Internal Server Error
  28487. schema:
  28488. $ref: '#/definitions/app.Response'
  28489. security:
  28490. - ApiKeyAuth: []
  28491. summary: 查询融资合同费用明细
  28492. tags:
  28493. - 仓单贸易v2
  28494. /WrTrade2/QueryWrSearchUser:
  28495. get:
  28496. parameters:
  28497. - description: 用户名称(模糊匹配)
  28498. in: query
  28499. name: username
  28500. required: true
  28501. type: string
  28502. produces:
  28503. - application/json
  28504. responses:
  28505. "200":
  28506. description: OK
  28507. schema:
  28508. items:
  28509. $ref: '#/definitions/models.WrSearchUser'
  28510. type: array
  28511. "500":
  28512. description: Internal Server Error
  28513. schema:
  28514. $ref: '#/definitions/app.Response'
  28515. security:
  28516. - ApiKeyAuth: []
  28517. summary: 查询用户
  28518. tags:
  28519. - 仓单贸易v2
  28520. /WrTrade2/QueryWrSpecialMatchOrder:
  28521. get:
  28522. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28523. parameters:
  28524. - description: 页码
  28525. in: query
  28526. name: page
  28527. type: integer
  28528. - description: 每页条数
  28529. in: query
  28530. name: pagesize
  28531. type: integer
  28532. - description: 用户id
  28533. in: query
  28534. name: userid
  28535. required: true
  28536. type: integer
  28537. - description: 仓单贸易市场id
  28538. in: query
  28539. name: marketid
  28540. type: integer
  28541. - description: 0:仓单预售 1:仓单贸易
  28542. in: query
  28543. name: haswr
  28544. required: true
  28545. type: integer
  28546. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28547. in: query
  28548. name: isspecified
  28549. type: integer
  28550. produces:
  28551. - application/json
  28552. responses:
  28553. "200":
  28554. description: OK
  28555. schema:
  28556. items:
  28557. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28558. type: array
  28559. "500":
  28560. description: Internal Server Error
  28561. schema:
  28562. $ref: '#/definitions/app.Response'
  28563. security:
  28564. - ApiKeyAuth: []
  28565. summary: 查询指定成交
  28566. tags:
  28567. - 仓单贸易v2
  28568. /WrTrade2/QueryWrStandardFactoryItem:
  28569. get:
  28570. parameters:
  28571. - description: 品类id
  28572. in: query
  28573. name: wrstandardid
  28574. required: true
  28575. type: integer
  28576. produces:
  28577. - application/json
  28578. responses:
  28579. "200":
  28580. description: OK
  28581. schema:
  28582. items:
  28583. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28584. type: array
  28585. "500":
  28586. description: Internal Server Error
  28587. schema:
  28588. $ref: '#/definitions/app.Response'
  28589. security:
  28590. - ApiKeyAuth: []
  28591. summary: 查询品类要素定义项
  28592. tags:
  28593. - 仓单贸易v2
  28594. /WrTrade2/QueryWrTradeBargainApply:
  28595. get:
  28596. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28597. 议价->对方议价 填写matchuserid=登录用户id
  28598. parameters:
  28599. - description: 议价人id(摘牌方)
  28600. in: query
  28601. name: userid
  28602. type: integer
  28603. - description: 挂牌方id(查对方议价时,填写此项)
  28604. in: query
  28605. name: matchuserid
  28606. type: integer
  28607. - description: 关联委托单id
  28608. in: query
  28609. name: wrtradeorderid
  28610. type: integer
  28611. - description: 0:仓单预售 1:仓单贸易
  28612. in: query
  28613. name: haswr
  28614. required: true
  28615. type: integer
  28616. - description: 开始交易日(yyyymmdd)
  28617. in: query
  28618. name: begindate
  28619. type: string
  28620. - description: 结束交易日(yyyymmdd)
  28621. in: query
  28622. name: enddate
  28623. type: string
  28624. produces:
  28625. - application/json
  28626. responses:
  28627. "200":
  28628. description: OK
  28629. schema:
  28630. items:
  28631. $ref: '#/definitions/models.WRTradeBargainApply'
  28632. type: array
  28633. "500":
  28634. description: Internal Server Error
  28635. schema:
  28636. $ref: '#/definitions/app.Response'
  28637. security:
  28638. - ApiKeyAuth: []
  28639. summary: 查询议价单
  28640. tags:
  28641. - 仓单贸易v2
  28642. /WrTrade2/QueryWrTradeDetail:
  28643. get:
  28644. parameters:
  28645. - description: 页码
  28646. in: query
  28647. name: page
  28648. type: integer
  28649. - description: 每页条数
  28650. in: query
  28651. name: pagesize
  28652. type: integer
  28653. - description: 用户id
  28654. in: query
  28655. name: userid
  28656. required: true
  28657. type: integer
  28658. - description: 仓单贸易市场id
  28659. in: query
  28660. name: marketid
  28661. type: integer
  28662. - description: 0:仓单预售 1:仓单贸易
  28663. in: query
  28664. name: haswr
  28665. required: true
  28666. type: integer
  28667. - description: 开始交易日(yyyymmdd)
  28668. in: query
  28669. name: begindate
  28670. type: string
  28671. - description: 结束交易日(yyyymmdd)
  28672. in: query
  28673. name: enddate
  28674. type: string
  28675. produces:
  28676. - application/json
  28677. responses:
  28678. "200":
  28679. description: OK
  28680. schema:
  28681. items:
  28682. $ref: '#/definitions/models.WrTradeDetail'
  28683. type: array
  28684. "500":
  28685. description: Internal Server Error
  28686. schema:
  28687. $ref: '#/definitions/app.Response'
  28688. security:
  28689. - ApiKeyAuth: []
  28690. summary: 查询仓单成交明细
  28691. tags:
  28692. - 仓单贸易v2
  28693. /WrTrade2/QueryWrTradeOrderDetail:
  28694. get:
  28695. parameters:
  28696. - description: 页码
  28697. in: query
  28698. name: page
  28699. type: integer
  28700. - description: 每页条数
  28701. in: query
  28702. name: pagesize
  28703. type: integer
  28704. - description: 商品id
  28705. in: query
  28706. name: goodsid
  28707. required: true
  28708. type: integer
  28709. - description: 买卖方向 0-买 1-卖
  28710. in: query
  28711. name: buyorsell
  28712. required: true
  28713. type: integer
  28714. produces:
  28715. - application/json
  28716. responses:
  28717. "200":
  28718. description: OK
  28719. schema:
  28720. items:
  28721. $ref: '#/definitions/models.WrTradeOrderDetail'
  28722. type: array
  28723. "500":
  28724. description: Internal Server Error
  28725. schema:
  28726. $ref: '#/definitions/app.Response'
  28727. security:
  28728. - ApiKeyAuth: []
  28729. summary: 查询合约交易买卖大厅
  28730. tags:
  28731. - 仓单贸易v2
  28732. /WrTrade2/QueryWrUserFriend:
  28733. get:
  28734. parameters:
  28735. - description: 用户id
  28736. in: query
  28737. name: userid
  28738. required: true
  28739. type: integer
  28740. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28741. in: query
  28742. name: newuserid
  28743. type: integer
  28744. produces:
  28745. - application/json
  28746. responses:
  28747. "200":
  28748. description: OK
  28749. schema:
  28750. items:
  28751. $ref: '#/definitions/models.WrUserFriend'
  28752. type: array
  28753. "500":
  28754. description: Internal Server Error
  28755. schema:
  28756. $ref: '#/definitions/app.Response'
  28757. security:
  28758. - ApiKeyAuth: []
  28759. summary: 查询我的朋友
  28760. tags:
  28761. - 仓单贸易v2
  28762. /WrTrade2/QueryWrUserReceiptInfo:
  28763. get:
  28764. parameters:
  28765. - description: 用户id
  28766. in: query
  28767. name: userid
  28768. type: integer
  28769. - description: 发票类型 - 1:个人 2:企业
  28770. in: query
  28771. name: receipttype
  28772. type: integer
  28773. produces:
  28774. - application/json
  28775. responses:
  28776. "200":
  28777. description: OK
  28778. schema:
  28779. items:
  28780. $ref: '#/definitions/models.WrUserReceiptInfo'
  28781. type: array
  28782. "500":
  28783. description: Internal Server Error
  28784. schema:
  28785. $ref: '#/definitions/app.Response'
  28786. security:
  28787. - ApiKeyAuth: []
  28788. summary: 查询发票信息
  28789. tags:
  28790. - 仓单贸易v2
  28791. /ZJ/GetBankTip:
  28792. get:
  28793. produces:
  28794. - application/json
  28795. responses:
  28796. "200":
  28797. description: OK
  28798. schema:
  28799. type: string
  28800. "500":
  28801. description: Internal Server Error
  28802. schema:
  28803. $ref: '#/definitions/app.Response'
  28804. summary: 获取中江网银端出入金提示信息
  28805. tags:
  28806. - 中江
  28807. /ZJ/GetCusBankChannels:
  28808. get:
  28809. produces:
  28810. - application/json
  28811. responses:
  28812. "200":
  28813. description: OK
  28814. schema:
  28815. items:
  28816. type: string
  28817. type: array
  28818. "500":
  28819. description: Internal Server Error
  28820. schema:
  28821. $ref: '#/definitions/app.Response'
  28822. summary: 获取中江出入金渠道显示列表
  28823. tags:
  28824. - 中江
  28825. securityDefinitions:
  28826. ApiKeyAuth:
  28827. in: header
  28828. name: Authorization
  28829. type: apiKey
  28830. swagger: "2.0"