swagger.yaml 840 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. accountid:
  2185. description: 资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)
  2186. type: integer
  2187. agreeunit:
  2188. description: 合约单位
  2189. type: string
  2190. areauserid:
  2191. description: 所属机构id
  2192. type: integer
  2193. convertratio:
  2194. description: 期货品种系数(折算系数)
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodsid:
  2218. description: 套保商品id
  2219. type: integer
  2220. ydqty:
  2221. description: 昨日持仓
  2222. type: integer
  2223. type: object
  2224. ermcp.RealtimeExposureRsp:
  2225. properties:
  2226. AreaUserID:
  2227. description: 所属机构
  2228. type: integer
  2229. BuyFutureQty:
  2230. description: 买入期货数量
  2231. type: number
  2232. BuyPlanQty:
  2233. description: 采购计划数量
  2234. type: number
  2235. BuyPricedQty:
  2236. description: 采购合同已定价数量
  2237. type: number
  2238. MiddleGoodsCode:
  2239. description: 套保品种代码
  2240. type: string
  2241. MiddleGoodsHedgeRatio:
  2242. description: 套保比例
  2243. type: number
  2244. MiddleGoodsID:
  2245. description: 套保品种
  2246. type: integer
  2247. MiddleGoodsName:
  2248. description: 套保品种名称
  2249. type: string
  2250. NeedHedgeExposoure:
  2251. description: 应套保敞口(套保敞口)
  2252. type: number
  2253. NeedHedgeRatio:
  2254. description: 应套保敞口比例
  2255. type: number
  2256. OriBuyFutureQty:
  2257. description: 期初买入期货数量
  2258. type: number
  2259. OriBuyPlanQty:
  2260. description: 期初采购计划数量
  2261. type: number
  2262. OriBuyPricedQty:
  2263. description: 期初采购合同已定价数量
  2264. type: number
  2265. OriSellFutureQty:
  2266. description: 期初卖出期货数量
  2267. type: number
  2268. OriSellPlanQty:
  2269. description: 期初销售计划数量
  2270. type: number
  2271. OriSellPricedQty:
  2272. description: 期初销售合同已定价数量
  2273. type: number
  2274. OriTotalSpotQty:
  2275. description: 期初现货总量
  2276. type: number
  2277. SellFutureQty:
  2278. description: 卖出期货数量
  2279. type: number
  2280. SellPlanQty:
  2281. description: 销售计划数量
  2282. type: number
  2283. SellPricedQty:
  2284. description: 销售合同已定价数量
  2285. type: number
  2286. TotalExposure:
  2287. description: 总敞口 平安:净敞口
  2288. type: number
  2289. TotalFutureQty:
  2290. description: 期货总量 平安:保值净持仓量
  2291. type: number
  2292. TotalHedgeRatio:
  2293. description: 敞口比例
  2294. type: number
  2295. TotalNeedHedgeQty:
  2296. description: 应套保总量(现货应套保总量)
  2297. type: number
  2298. TotalSpotQty:
  2299. description: 现货总量 平安:采销定价净值
  2300. type: number
  2301. arbitrageqty:
  2302. description: 套利量
  2303. type: number
  2304. diffArbitrageQty:
  2305. description: 套利变动量
  2306. type: number
  2307. diffExposoureQty:
  2308. description: 变动量(套保敞口)
  2309. type: number
  2310. diffFutuQty:
  2311. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2312. type: number
  2313. diffHedgeQty:
  2314. description: 套保变动量
  2315. type: number
  2316. diffQty:
  2317. description: 变动量(总敞口) 平安:净敞口今日变动
  2318. type: number
  2319. diffSpotHedgeQty:
  2320. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2321. type: number
  2322. diffSpotQty:
  2323. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2324. type: number
  2325. enumdicname:
  2326. description: 单位名称
  2327. type: string
  2328. hedgeqty:
  2329. description: 套保量
  2330. type: number
  2331. needarbitrageqty:
  2332. description: 应套利量
  2333. type: number
  2334. needarbitrageratio:
  2335. description: 套利比例
  2336. type: number
  2337. needhedgeqty:
  2338. description: 应套保量
  2339. type: number
  2340. oriarbitrageqty:
  2341. description: 期初套利量
  2342. type: number
  2343. orihedgeqty:
  2344. description: 期初套保量
  2345. type: number
  2346. orineedhedgeexposoure:
  2347. description: 期初套保敞口
  2348. type: number
  2349. oritotalexposure:
  2350. description: 期初总敞口
  2351. type: number
  2352. oritotalfutureqty:
  2353. description: 期初期货总量
  2354. type: number
  2355. oritotalneedhedgeqty:
  2356. description: 期初现货应套保量
  2357. type: number
  2358. type: object
  2359. erms2.QueryArbitrageStrategyRsp:
  2360. properties:
  2361. applybasis:
  2362. description: 申请基差
  2363. type: number
  2364. asapplyid:
  2365. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2366. type: string
  2367. asname:
  2368. description: 策略名称
  2369. type: string
  2370. asno:
  2371. description: 策略编号
  2372. type: string
  2373. basischangepl:
  2374. description: 基差变动损益[结算更新]
  2375. type: number
  2376. biztype:
  2377. description: 业务类型 - 1:正向套利 -1:反向套利
  2378. type: integer
  2379. closetradedate:
  2380. description: 完结交易日(yyyyMMdd)
  2381. type: string
  2382. curbasis:
  2383. description: 当前基差[结算更新]
  2384. type: number
  2385. deliverygoodsid:
  2386. description: 现货品种ID
  2387. type: integer
  2388. futureavgprice:
  2389. description: 期货建仓均价
  2390. type: number
  2391. futurecloseamount:
  2392. description: 期货平仓金额
  2393. type: number
  2394. futurecloseqty:
  2395. description: 期货平仓数量
  2396. type: number
  2397. futureopenamount:
  2398. description: 期货开仓金额
  2399. type: number
  2400. futureopenqty:
  2401. description: 期货开仓数量
  2402. type: number
  2403. futurepl:
  2404. description: 期货总盈亏[结算更新]
  2405. type: number
  2406. futureqty:
  2407. description: 期货持仓数量
  2408. type: number
  2409. futurequote:
  2410. description: 期货额度
  2411. type: number
  2412. goodsgroupid:
  2413. description: 期货品种ID
  2414. type: integer
  2415. marketid:
  2416. description: 市场ID
  2417. type: integer
  2418. netexposure:
  2419. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2420. type: number
  2421. netexposurepl:
  2422. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2423. type: number
  2424. netexposurerate:
  2425. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2426. type: number
  2427. openbasis:
  2428. description: 建仓基差
  2429. type: number
  2430. pricedspotqty:
  2431. description: 已定价现货数量
  2432. type: number
  2433. pricedspotqtynotax:
  2434. description: 已定价现货不含税数量
  2435. type: number
  2436. remark:
  2437. description: 备注
  2438. type: string
  2439. spotavgprice:
  2440. description: 现货均价
  2441. type: number
  2442. spotbuyamount:
  2443. description: 现货采购金额
  2444. type: number
  2445. spotbuyqty:
  2446. description: 现货采购数量
  2447. type: number
  2448. spotpl:
  2449. description: 现货总盈亏[结算更新]
  2450. type: number
  2451. spotquota:
  2452. description: 现货额度
  2453. type: number
  2454. spotsellamount:
  2455. description: 现货销售金额
  2456. type: number
  2457. spotsellqty:
  2458. description: 现货销售数量
  2459. type: number
  2460. spotusedquota:
  2461. description: 现货占用资金
  2462. type: number
  2463. strategystatus:
  2464. description: 策略状态 - 0:未结束 1:已结束
  2465. type: integer
  2466. totalpl:
  2467. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2468. type: number
  2469. tradedate:
  2470. description: 交易日(yyyyMMdd)
  2471. type: string
  2472. updatetime:
  2473. description: 更新时间
  2474. type: string
  2475. usedquota:
  2476. description: 已占用资金
  2477. type: number
  2478. userid:
  2479. description: 所属机构
  2480. type: integer
  2481. required:
  2482. - asapplyid
  2483. type: object
  2484. erms2.QueryInnerTradeDetailRsp:
  2485. properties:
  2486. accountid:
  2487. description: 账号ID
  2488. type: integer
  2489. agreeunit:
  2490. description: 合约单位
  2491. type: number
  2492. asapplyid:
  2493. description: 策略申请ID
  2494. type: integer
  2495. asname:
  2496. description: 策略名称
  2497. type: string
  2498. asno:
  2499. description: 策略编号
  2500. type: string
  2501. buyorsell:
  2502. description: 方向 - 0:买 1:卖
  2503. type: integer
  2504. channelbuildtype:
  2505. description: 委托单据类型 0:无 1:建仓 2:平仓
  2506. type: integer
  2507. closetype:
  2508. description: 平仓方式 - 0:无 1:平今 2:平昨
  2509. type: integer
  2510. decimalplace:
  2511. description: 报价小数位
  2512. type: integer
  2513. detailtype:
  2514. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2515. type: integer
  2516. exexchangecode:
  2517. description: 外部交易所代码
  2518. type: string
  2519. exexchangename:
  2520. description: 外部交易所名称
  2521. type: string
  2522. goodscode:
  2523. description: 商品代码(合约)
  2524. type: string
  2525. goodsgroupid:
  2526. description: 商品组ID(品种ID)
  2527. type: integer
  2528. goodsgroupname:
  2529. description: 商品组名称(品种)
  2530. type: string
  2531. goodsid:
  2532. description: 商品ID
  2533. type: integer
  2534. goodsname:
  2535. description: 商品名称(合约)
  2536. type: string
  2537. goodunit:
  2538. description: 报价单位
  2539. type: string
  2540. marketid:
  2541. description: 市场ID
  2542. type: integer
  2543. orderid:
  2544. description: 委托单号
  2545. type: string
  2546. outgoodscode:
  2547. description: 商品代码(外部)
  2548. type: string
  2549. relatedouttradeid:
  2550. description: 关联外部成交单ID
  2551. type: string
  2552. remark:
  2553. description: 备注
  2554. type: string
  2555. spotcontractid:
  2556. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2557. type: integer
  2558. spotcontractno:
  2559. description: 现货合同编号
  2560. type: string
  2561. tradeid:
  2562. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2563. type: string
  2564. tradeprice:
  2565. description: 成交价格
  2566. type: number
  2567. tradeqty:
  2568. description: 成交数量
  2569. type: integer
  2570. tradetime:
  2571. description: 成交时间
  2572. type: string
  2573. updatetime:
  2574. description: 更新时间
  2575. type: string
  2576. required:
  2577. - asapplyid
  2578. - buyorsell
  2579. - goodscode
  2580. - goodsgroupid
  2581. - goodsgroupname
  2582. - goodsname
  2583. - tradeid
  2584. type: object
  2585. erms2.QuerySpotContractRsp:
  2586. properties:
  2587. accountid:
  2588. description: 资金账户ID
  2589. type: integer
  2590. areauserid:
  2591. description: 所属机构
  2592. type: integer
  2593. closedate:
  2594. description: 终止日期
  2595. type: string
  2596. closeremark:
  2597. description: 结束备注
  2598. type: string
  2599. closetradedate:
  2600. description: 完结交易日(yyyyMMdd)
  2601. type: string
  2602. closetype:
  2603. description: 终止类型 - 1:违约 2:提前终止
  2604. type: integer
  2605. contractamount:
  2606. description: 合同金额
  2607. type: number
  2608. contractattachment:
  2609. description: 合同附件
  2610. type: string
  2611. contractno:
  2612. description: 现货合同编号
  2613. type: string
  2614. contractqty:
  2615. description: 合同数量(数值) (用于计算)
  2616. type: number
  2617. contractqtychar:
  2618. description: 合同数量\已订价数量 (用于显示)
  2619. type: string
  2620. contractstatus:
  2621. description: 合同状态 - 0:未结束 1:已结束
  2622. type: integer
  2623. contracttype:
  2624. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2625. type: integer
  2626. customeraccountid:
  2627. description: 客户资金账户ID
  2628. type: integer
  2629. customeruserid:
  2630. description: 客户ID
  2631. type: integer
  2632. deliverygoodsdesc:
  2633. description: 品种说明
  2634. type: string
  2635. deliverygoodsid:
  2636. description: 现货品种ID
  2637. type: integer
  2638. handlestatus:
  2639. description: 处理状态
  2640. type: integer
  2641. invoiceatt:
  2642. description: 发票附件
  2643. type: string
  2644. invoicedatetime:
  2645. description: 开收票更新时间
  2646. type: string
  2647. invoiceopentime:
  2648. description: 开票时间
  2649. type: string
  2650. invoiceremark:
  2651. description: 发票备注
  2652. type: string
  2653. invoicestatus:
  2654. description: 开收票状态 - 0:未开票 1:已开票
  2655. type: integer
  2656. lastdate:
  2657. description: 交货时间
  2658. type: string
  2659. marketid:
  2660. description: 市场ID
  2661. type: integer
  2662. paydatetime:
  2663. description: 收付款更新时间
  2664. type: string
  2665. payremark:
  2666. description: 收付款备注
  2667. type: string
  2668. paystatus:
  2669. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2670. type: integer
  2671. positionqty:
  2672. description: 头寸数量 - 合同数量去小数部分
  2673. type: integer
  2674. producttype:
  2675. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2676. type: integer
  2677. relatedqty:
  2678. description: 已关联数量
  2679. type: number
  2680. relatedstatus:
  2681. description: 关联完结状态 - 0:未结束 1:已结束
  2682. type: integer
  2683. remark:
  2684. description: 备注
  2685. type: string
  2686. signdate:
  2687. description: 签订日期
  2688. type: string
  2689. spotcontractid:
  2690. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2691. type: string
  2692. spotdatetime:
  2693. description: 收发货更新时间
  2694. type: string
  2695. spotprice:
  2696. description: 价格
  2697. type: number
  2698. spotremark:
  2699. description: 收发货备注
  2700. type: string
  2701. spotstatus:
  2702. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2703. type: integer
  2704. tradedate:
  2705. description: 交易日(yyyyMMdd)
  2706. type: string
  2707. userid:
  2708. description: 业务员用户ID
  2709. type: integer
  2710. warehouseid:
  2711. description: 仓库ID
  2712. type: integer
  2713. wrfactortypeid:
  2714. description: 仓单要素类型ID
  2715. type: integer
  2716. wrstandardid:
  2717. description: 仓单标准ID(SEQ_WRSTANDARD)
  2718. type: integer
  2719. required:
  2720. - spotcontractid
  2721. type: object
  2722. erms3.AddErms2ASApplyReq:
  2723. properties:
  2724. applybasis:
  2725. description: 申请基差
  2726. type: number
  2727. applystatus:
  2728. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2729. type: integer
  2730. asapplyid:
  2731. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2732. type: integer
  2733. asname:
  2734. description: 策略名称
  2735. type: string
  2736. asno:
  2737. description: 策略编号
  2738. type: string
  2739. auditid:
  2740. description: 审核人
  2741. type: integer
  2742. auditremark:
  2743. description: 审核备注
  2744. type: string
  2745. audittime:
  2746. description: 审核时间
  2747. type: string
  2748. biztype:
  2749. description: 业务类型 - 1:正向套利 2:反向套利
  2750. type: integer
  2751. createtime:
  2752. description: 创建时间
  2753. type: string
  2754. creatorid:
  2755. description: 创建人
  2756. type: integer
  2757. deliverygoodsid:
  2758. description: 现货品种ID
  2759. type: integer
  2760. futurequote:
  2761. description: 期货额度
  2762. type: number
  2763. goodsgroupid:
  2764. description: 期货品种ID
  2765. type: integer
  2766. marketid:
  2767. description: 市场ID
  2768. type: integer
  2769. remark:
  2770. description: 备注
  2771. type: string
  2772. spotquota:
  2773. description: 现货额度
  2774. type: number
  2775. tradedate:
  2776. description: 交易日(yyyyMMdd)
  2777. type: string
  2778. userid:
  2779. description: 所属机构
  2780. type: integer
  2781. required:
  2782. - asapplyid
  2783. type: object
  2784. erms3.AddErms2SpotTradeApplyReq:
  2785. properties:
  2786. applyjsondetail:
  2787. description: 申请明细(JSON)
  2788. type: string
  2789. applystatus:
  2790. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2791. type: integer
  2792. areauserid:
  2793. description: 所属机构
  2794. type: integer
  2795. auditid:
  2796. description: 审核人
  2797. type: integer
  2798. auditremark:
  2799. description: 审核备注
  2800. type: string
  2801. audittime:
  2802. description: 审核时间
  2803. type: string
  2804. createtime:
  2805. description: 创建时间
  2806. type: string
  2807. creatorid:
  2808. description: 创建人
  2809. type: integer
  2810. deliverygoodsid:
  2811. description: 现货品种ID
  2812. type: integer
  2813. futureaccountid:
  2814. description: 期货资金账户
  2815. type: integer
  2816. goodsgroupid:
  2817. description: 期货品种
  2818. type: integer
  2819. marketid:
  2820. description: 市场ID
  2821. type: integer
  2822. remark:
  2823. description: 备注
  2824. type: string
  2825. spotaccountid:
  2826. description: 现货资金账户
  2827. type: integer
  2828. spottradeid:
  2829. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2830. type: integer
  2831. spottradename:
  2832. description: 业务名称
  2833. type: string
  2834. spottradeno:
  2835. description: 业务编号
  2836. type: string
  2837. tradedate:
  2838. description: 交易日(yyyyMMdd)
  2839. type: string
  2840. wrstandardid:
  2841. description: 仓单标准ID
  2842. type: integer
  2843. required:
  2844. - spottradeid
  2845. type: object
  2846. erms3.AddSpotContractApplyReq:
  2847. properties:
  2848. accountid:
  2849. description: 资金账户ID
  2850. type: integer
  2851. areauserid:
  2852. description: 所属机构
  2853. type: integer
  2854. contractattachment:
  2855. description: 合同附件
  2856. type: string
  2857. contractno:
  2858. description: 现货合同编号
  2859. type: string
  2860. contracttype:
  2861. description: 现货合同类型 - 1:采购 -1:销售
  2862. type: integer
  2863. creatorid:
  2864. description: 申请人
  2865. type: integer
  2866. customeraccountid:
  2867. description: 客户资金账户ID
  2868. type: integer
  2869. customeruserid:
  2870. description: 客户ID
  2871. type: integer
  2872. details:
  2873. description: 明细
  2874. items:
  2875. $ref: '#/definitions/erms3.SoptContractDetail'
  2876. type: array
  2877. orimargin:
  2878. description: 初始保证金
  2879. type: number
  2880. remark:
  2881. description: 备注
  2882. type: string
  2883. signdate:
  2884. description: 签订日期
  2885. type: string
  2886. required:
  2887. - accountid
  2888. - areauserid
  2889. - contractno
  2890. - contracttype
  2891. - customeraccountid
  2892. - customeruserid
  2893. - details
  2894. - orimargin
  2895. - signdate
  2896. type: object
  2897. erms3.AddSpotContractApplyRsp:
  2898. properties:
  2899. contractno:
  2900. description: 现货合同编号
  2901. type: string
  2902. spotcontractid:
  2903. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2904. type: integer
  2905. required:
  2906. - contractno
  2907. type: object
  2908. erms3.AddUserInfoApplyReq:
  2909. properties:
  2910. accountid:
  2911. description: 交易系统帐号Id (加密存储)
  2912. type: integer
  2913. areacode:
  2914. description: 机构代码
  2915. type: string
  2916. areaid:
  2917. description: 机构Id
  2918. type: integer
  2919. attachment1:
  2920. description: 附件1
  2921. type: string
  2922. attachment2:
  2923. description: 附件2
  2924. type: string
  2925. attachment3:
  2926. description: 附件3
  2927. type: string
  2928. attachment4:
  2929. description: 附件4
  2930. type: string
  2931. attachment5:
  2932. description: 附件5
  2933. type: string
  2934. auditedby:
  2935. description: 审核人
  2936. type: string
  2937. auditime:
  2938. description: 审核时间
  2939. type: string
  2940. auditsrc:
  2941. description: 审核来源 - 1:管理端 2:终端
  2942. type: integer
  2943. bankaccount:
  2944. description: 银行帐号 (加密存储)
  2945. type: string
  2946. bankaccountname:
  2947. description: 收款人名称
  2948. type: string
  2949. bankcardbackphotourl:
  2950. description: 银行卡背面照地址
  2951. type: string
  2952. bankcardfrontphotourl:
  2953. description: 银行卡正面照地址
  2954. type: string
  2955. bankid:
  2956. description: 银行编码
  2957. type: string
  2958. bankname:
  2959. description: 银行名称
  2960. type: string
  2961. bankpictureurl:
  2962. description: 银行卡正面地址
  2963. type: string
  2964. biznature:
  2965. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2966. type: integer
  2967. bizscope:
  2968. description: 企业经营范围(企业)
  2969. type: string
  2970. biztype:
  2971. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2972. type: integer
  2973. brokerid:
  2974. description: 经纪人ID(加密存储)
  2975. type: string
  2976. cardaddress:
  2977. description: 证件地址 (加密存储)
  2978. type: string
  2979. cardbackphotourl:
  2980. description: 背面证件照地址
  2981. type: string
  2982. cardfrontphotourl:
  2983. description: 正面证件照地址
  2984. type: string
  2985. cardnum:
  2986. description: 证件号码 (加密存储)
  2987. type: string
  2988. cardtype:
  2989. description: 证件类型
  2990. type: integer
  2991. cityid:
  2992. description: 市
  2993. type: integer
  2994. company:
  2995. description: 公司(个人)
  2996. type: string
  2997. contactcardbackphotourl:
  2998. description: 联系人证件背面图片地址
  2999. type: string
  3000. contactcardfrontphotourl:
  3001. description: 联系人证件正面图片地址
  3002. type: string
  3003. contactname:
  3004. description: 联系人
  3005. type: string
  3006. countryid:
  3007. description: 国家
  3008. type: integer
  3009. createtime:
  3010. description: 开户申请时间
  3011. type: string
  3012. cusbankid:
  3013. description: 签约类型
  3014. type: string
  3015. cusbankname:
  3016. description: 签约类型名称
  3017. type: string
  3018. customername:
  3019. description: 客户名称(企业名称)
  3020. type: string
  3021. districtid:
  3022. description: 地区
  3023. type: integer
  3024. email:
  3025. description: Email地址(加密存储)
  3026. type: string
  3027. halfbodyphotourl:
  3028. description: 半身照地址
  3029. type: string
  3030. headurl:
  3031. description: 头像地址
  3032. type: string
  3033. ipaddress:
  3034. description: IP地址
  3035. type: string
  3036. isvalidate:
  3037. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3038. type: string
  3039. legalcardbackphotourl:
  3040. description: 法人身份证背面照地址
  3041. type: string
  3042. legalcardfrontphotourl:
  3043. description: 法人身份证正面照地址
  3044. type: string
  3045. legalpersonname:
  3046. description: 法人姓名(企业)
  3047. type: string
  3048. logincode:
  3049. description: 登录帐号 (加密存储)
  3050. type: string
  3051. memberareaid:
  3052. description: 所属会员ID
  3053. type: integer
  3054. mobile2:
  3055. description: 手机号码[明文-尚志]
  3056. type: string
  3057. mobilephone:
  3058. description: 手机号码 (加密存储)
  3059. type: string
  3060. modifiedby:
  3061. description: 修改人帐号
  3062. type: integer
  3063. modifiedtime:
  3064. description: 修改时间
  3065. type: string
  3066. nickname:
  3067. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3068. type: string
  3069. openmode:
  3070. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3071. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3072. type: integer
  3073. otherurl:
  3074. description: 其它图片地址[使用分号分隔]
  3075. type: string
  3076. postalcode:
  3077. description: 邮政编码
  3078. type: string
  3079. provinceid:
  3080. description: 省
  3081. type: integer
  3082. proxystatementurl:
  3083. description: 授权委托书
  3084. type: string
  3085. qq:
  3086. description: QQ(加密存储
  3087. type: string
  3088. referral:
  3089. description: 推荐人编码
  3090. type: string
  3091. remark:
  3092. description: 备注
  3093. type: string
  3094. removebeforestatus:
  3095. description: REMOVEBEFORESTATUS
  3096. type: integer
  3097. sex:
  3098. description: 性别 - 0:女 1:男
  3099. type: integer
  3100. signedstatus:
  3101. description: 账户一号签签约状态
  3102. type: integer
  3103. signpdfurl:
  3104. description: 签约pdf文件
  3105. type: string
  3106. subbranch:
  3107. description: 开户支行
  3108. type: string
  3109. taxpayernum:
  3110. description: 纳税人识别号
  3111. type: string
  3112. telphone:
  3113. description: 联系电话(加密存储)
  3114. type: string
  3115. userid:
  3116. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3117. type: integer
  3118. userinfotype:
  3119. description: 用户信息类型 - 1:个人 2:企业
  3120. type: integer
  3121. username:
  3122. description: 用户姓名
  3123. type: string
  3124. userstate:
  3125. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3126. type: integer
  3127. usertype:
  3128. description: 用户类型 - 1:投资者 2:机构
  3129. type: integer
  3130. videourl:
  3131. description: 视频地址
  3132. type: string
  3133. wechat:
  3134. description: 微信号 (加密存储)
  3135. type: string
  3136. required:
  3137. - userid
  3138. type: object
  3139. erms3.CustomerInfo:
  3140. properties:
  3141. accountids:
  3142. description: 资金账户ID列表
  3143. items:
  3144. type: integer
  3145. type: array
  3146. customername:
  3147. description: 名称(企业名称)
  3148. type: string
  3149. mobile:
  3150. description: 手机号码
  3151. type: string
  3152. userid:
  3153. description: 用户ID
  3154. type: integer
  3155. required:
  3156. - userid
  3157. type: object
  3158. erms3.ModifyUserInfoApplyReq:
  3159. properties:
  3160. accountid:
  3161. description: 交易系统帐号Id (加密存储)
  3162. type: integer
  3163. areacode:
  3164. description: 机构代码
  3165. type: string
  3166. areaid:
  3167. description: 机构Id
  3168. type: integer
  3169. attachment1:
  3170. description: 附件1
  3171. type: string
  3172. attachment2:
  3173. description: 附件2
  3174. type: string
  3175. attachment3:
  3176. description: 附件3
  3177. type: string
  3178. attachment4:
  3179. description: 附件4
  3180. type: string
  3181. attachment5:
  3182. description: 附件5
  3183. type: string
  3184. auditedby:
  3185. description: 审核人
  3186. type: string
  3187. auditime:
  3188. description: 审核时间
  3189. type: string
  3190. auditsrc:
  3191. description: 审核来源 - 1:管理端 2:终端
  3192. type: integer
  3193. bankaccount:
  3194. description: 银行帐号 (加密存储)
  3195. type: string
  3196. bankaccountname:
  3197. description: 收款人名称
  3198. type: string
  3199. bankcardbackphotourl:
  3200. description: 银行卡背面照地址
  3201. type: string
  3202. bankcardfrontphotourl:
  3203. description: 银行卡正面照地址
  3204. type: string
  3205. bankid:
  3206. description: 银行编码
  3207. type: string
  3208. bankname:
  3209. description: 银行名称
  3210. type: string
  3211. bankpictureurl:
  3212. description: 银行卡正面地址
  3213. type: string
  3214. biznature:
  3215. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3216. type: integer
  3217. bizscope:
  3218. description: 企业经营范围(企业)
  3219. type: string
  3220. biztype:
  3221. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3222. type: integer
  3223. brokerid:
  3224. description: 经纪人ID(加密存储)
  3225. type: string
  3226. cardaddress:
  3227. description: 证件地址 (加密存储)
  3228. type: string
  3229. cardbackphotourl:
  3230. description: 背面证件照地址
  3231. type: string
  3232. cardfrontphotourl:
  3233. description: 正面证件照地址
  3234. type: string
  3235. cardnum:
  3236. description: 证件号码 (加密存储)
  3237. type: string
  3238. cardtype:
  3239. description: 证件类型
  3240. type: integer
  3241. cityid:
  3242. description: 市
  3243. type: integer
  3244. company:
  3245. description: 公司(个人)
  3246. type: string
  3247. contactcardbackphotourl:
  3248. description: 联系人证件背面图片地址
  3249. type: string
  3250. contactcardfrontphotourl:
  3251. description: 联系人证件正面图片地址
  3252. type: string
  3253. contactname:
  3254. description: 联系人
  3255. type: string
  3256. countryid:
  3257. description: 国家
  3258. type: integer
  3259. createtime:
  3260. description: 开户申请时间
  3261. type: string
  3262. cusbankid:
  3263. description: 签约类型
  3264. type: string
  3265. cusbankname:
  3266. description: 签约类型名称
  3267. type: string
  3268. customername:
  3269. description: 客户名称(企业名称)
  3270. type: string
  3271. districtid:
  3272. description: 地区
  3273. type: integer
  3274. email:
  3275. description: Email地址(加密存储)
  3276. type: string
  3277. halfbodyphotourl:
  3278. description: 半身照地址
  3279. type: string
  3280. headurl:
  3281. description: 头像地址
  3282. type: string
  3283. ipaddress:
  3284. description: IP地址
  3285. type: string
  3286. isvalidate:
  3287. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3288. type: string
  3289. legalcardbackphotourl:
  3290. description: 法人身份证背面照地址
  3291. type: string
  3292. legalcardfrontphotourl:
  3293. description: 法人身份证正面照地址
  3294. type: string
  3295. legalpersonname:
  3296. description: 法人姓名(企业)
  3297. type: string
  3298. logincode:
  3299. description: 登录帐号 (加密存储)
  3300. type: string
  3301. memberareaid:
  3302. description: 所属会员ID
  3303. type: integer
  3304. mobile2:
  3305. description: 手机号码[明文-尚志]
  3306. type: string
  3307. mobilephone:
  3308. description: 手机号码 (加密存储)
  3309. type: string
  3310. modifiedby:
  3311. description: 修改人帐号
  3312. type: integer
  3313. modifiedtime:
  3314. description: 修改时间
  3315. type: string
  3316. nickname:
  3317. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3318. type: string
  3319. openmode:
  3320. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3321. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3322. type: integer
  3323. otherurl:
  3324. description: 其它图片地址[使用分号分隔]
  3325. type: string
  3326. postalcode:
  3327. description: 邮政编码
  3328. type: string
  3329. provinceid:
  3330. description: 省
  3331. type: integer
  3332. proxystatementurl:
  3333. description: 授权委托书
  3334. type: string
  3335. qq:
  3336. description: QQ(加密存储
  3337. type: string
  3338. referral:
  3339. description: 推荐人编码
  3340. type: string
  3341. remark:
  3342. description: 备注
  3343. type: string
  3344. removebeforestatus:
  3345. description: REMOVEBEFORESTATUS
  3346. type: integer
  3347. sex:
  3348. description: 性别 - 0:女 1:男
  3349. type: integer
  3350. signedstatus:
  3351. description: 账户一号签签约状态
  3352. type: integer
  3353. signpdfurl:
  3354. description: 签约pdf文件
  3355. type: string
  3356. subbranch:
  3357. description: 开户支行
  3358. type: string
  3359. taxpayernum:
  3360. description: 纳税人识别号
  3361. type: string
  3362. telphone:
  3363. description: 联系电话(加密存储)
  3364. type: string
  3365. userid:
  3366. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3367. type: integer
  3368. userinfotype:
  3369. description: 用户信息类型 - 1:个人 2:企业
  3370. type: integer
  3371. username:
  3372. description: 用户姓名
  3373. type: string
  3374. userstate:
  3375. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3376. type: integer
  3377. usertype:
  3378. description: 用户类型 - 1:投资者 2:机构
  3379. type: integer
  3380. videourl:
  3381. description: 视频地址
  3382. type: string
  3383. wechat:
  3384. description: 微信号 (加密存储)
  3385. type: string
  3386. required:
  3387. - userid
  3388. type: object
  3389. erms3.QryAuditContractRsp:
  3390. properties:
  3391. accountid:
  3392. description: 交易员ID
  3393. type: string
  3394. applystatus:
  3395. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3396. type: integer
  3397. curdeliveryqty:
  3398. description: 未交收量
  3399. type: integer
  3400. customername:
  3401. description: 采购方ID
  3402. type: string
  3403. deliverygoodsid:
  3404. description: 品种ID
  3405. type: string
  3406. deliveryqty:
  3407. description: 交收量
  3408. type: integer
  3409. enumdicname:
  3410. description: 单位名称
  3411. type: string
  3412. matchaccountid:
  3413. description: 业务员ID
  3414. type: string
  3415. matchcustomername:
  3416. description: 销售方ID
  3417. type: string
  3418. pricedqty:
  3419. description: 定价量
  3420. type: number
  3421. signdate:
  3422. description: 签订日期
  3423. type: string
  3424. spotcontractid:
  3425. description: 合同ID
  3426. type: string
  3427. totaldqty:
  3428. description: 合同量
  3429. type: number
  3430. unpricedqty:
  3431. description: 未定价量
  3432. type: number
  3433. wrstandardname:
  3434. description: 商品名称
  3435. type: string
  3436. required:
  3437. - matchcustomername
  3438. - spotcontractid
  3439. type: object
  3440. erms3.QryPendingBizRsp:
  3441. properties:
  3442. accountid:
  3443. description: 现货账户
  3444. type: string
  3445. areaname:
  3446. description: 所属部门
  3447. type: string
  3448. bizid:
  3449. description: 业务ID
  3450. type: string
  3451. bizname:
  3452. description: 业务名称
  3453. type: string
  3454. status:
  3455. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3456. type: integer
  3457. type:
  3458. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3459. type: integer
  3460. type: object
  3461. erms3.QueryBusinessInfoRsp:
  3462. properties:
  3463. businessid:
  3464. description: 业务ID.
  3465. type: integer
  3466. buyamount:
  3467. description: 采购额.
  3468. type: number
  3469. buyqty:
  3470. description: 采购量.
  3471. type: string
  3472. futurepl:
  3473. description: 期货盈亏.
  3474. type: number
  3475. futureqty:
  3476. description: 期货敞口.
  3477. type: string
  3478. goodsid:
  3479. description: 商品名称/商品代码.
  3480. type: string
  3481. hedgingqty:
  3482. description: 套保量.
  3483. type: string
  3484. sellamount:
  3485. description: 销售额.
  3486. type: number
  3487. sellqty:
  3488. description: 销售量.
  3489. type: string
  3490. spotmarketvalue:
  3491. description: 现货市值.
  3492. type: number
  3493. spotpl:
  3494. description: 浮动权益.
  3495. type: number
  3496. spotqty:
  3497. description: 现货量.
  3498. type: string
  3499. statu:
  3500. description: 状态,0-未结束 1-已结束.
  3501. type: integer
  3502. totalpl:
  3503. description: 总盈亏.
  3504. type: number
  3505. totalqty:
  3506. description: 总敞口.
  3507. type: string
  3508. type:
  3509. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3510. type: integer
  3511. type: object
  3512. erms3.QuerySpotContractAppleFormRsp:
  3513. properties:
  3514. goodses:
  3515. description: 合约列表
  3516. items:
  3517. $ref: '#/definitions/models.GoodsIDAndName'
  3518. type: array
  3519. oppositeusers:
  3520. description: 对方账号列表
  3521. items:
  3522. $ref: '#/definitions/erms3.CustomerInfo'
  3523. type: array
  3524. ouruser:
  3525. $ref: '#/definitions/erms3.CustomerInfo'
  3526. description: 我方账号
  3527. warehouseinfos:
  3528. description: 仓库信息列表
  3529. items:
  3530. $ref: '#/definitions/models.Warehouseinfo'
  3531. type: array
  3532. wrstandards:
  3533. description: 仓单标准列表
  3534. items:
  3535. $ref: '#/definitions/models.WRStandardInfo'
  3536. type: array
  3537. type: object
  3538. erms3.QuerySpotContractInfoRsp:
  3539. properties:
  3540. accountid:
  3541. description: 表示交易员ID.
  3542. type: integer
  3543. curdeliveryqty:
  3544. description: 表示未交收量.
  3545. type: number
  3546. customername:
  3547. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3548. type: string
  3549. deliverygoodsid:
  3550. description: 表示品种ID.
  3551. type: string
  3552. deliveryqty:
  3553. description: 表示交收量.
  3554. type: number
  3555. matchaccountid:
  3556. description: 表示业务员ID.
  3557. type: integer
  3558. matchcustomername:
  3559. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3560. type: string
  3561. priceqty:
  3562. description: 表示定价量.
  3563. type: number
  3564. relatedbizid:
  3565. description: 表示业务ID.
  3566. type: string
  3567. signdate:
  3568. description: 表示签订日期.
  3569. type: string
  3570. spotcontractid:
  3571. description: 合同ID
  3572. type: string
  3573. status:
  3574. description: 表示状态,0-履约中 1-已完成.
  3575. type: integer
  3576. totalqty:
  3577. description: 表示合同量.
  3578. type: number
  3579. unpricedqty:
  3580. description: 表示未定价量.
  3581. type: number
  3582. wrstandardname:
  3583. description: 表示商品ID.
  3584. type: string
  3585. type: object
  3586. erms3.QueryUserInfoAppliesRsp:
  3587. properties:
  3588. biznature:
  3589. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3590. type: integer
  3591. contactname:
  3592. description: 联系人
  3593. type: string
  3594. createtime:
  3595. description: 开户申请时间
  3596. type: string
  3597. userid:
  3598. description: 用户ID(自增ID)
  3599. type: integer
  3600. userinfotype:
  3601. description: 用户信息类型 - 1:个人 2:企业
  3602. type: integer
  3603. username:
  3604. description: 用户姓名
  3605. type: string
  3606. userstate:
  3607. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3608. type: integer
  3609. required:
  3610. - userid
  3611. type: object
  3612. erms3.QueryUserInfosRsp:
  3613. properties:
  3614. biznature:
  3615. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3616. type: integer
  3617. contactname:
  3618. description: 联系人
  3619. type: string
  3620. customername:
  3621. description: 客户名称(企业名称)
  3622. type: string
  3623. userid:
  3624. description: 用户ID
  3625. type: integer
  3626. userinfotype:
  3627. description: 用户信息类型 - 1:个人 2:企业
  3628. type: integer
  3629. userstatus:
  3630. description: 用户状态 - 1:正常 2:注销
  3631. type: integer
  3632. required:
  3633. - userid
  3634. type: object
  3635. erms3.SoptContractDetail:
  3636. properties:
  3637. deliverygoodsdesc:
  3638. description: 现货品种说明
  3639. type: string
  3640. deliverygoodsid:
  3641. description: 现货品种ID
  3642. type: integer
  3643. deliverygoodsname:
  3644. description: 现货品种名称
  3645. type: string
  3646. pointdesc:
  3647. description: 点价描述
  3648. type: string
  3649. producttype:
  3650. description: 产品类型 1:标准仓单 2:等标 3:非标
  3651. type: integer
  3652. producttypename:
  3653. description: 产品类型名称
  3654. type: string
  3655. spotPointOrderVoList:
  3656. description: 点价列表
  3657. items:
  3658. $ref: '#/definitions/erms3.SpotPointOrder'
  3659. type: array
  3660. spotPriceOrderList:
  3661. description: 定价列表
  3662. items:
  3663. $ref: '#/definitions/erms3.SpotPriceOrder'
  3664. type: array
  3665. unitname:
  3666. description: 单位名称
  3667. type: string
  3668. warehouseid:
  3669. description: 仓库ID
  3670. type: integer
  3671. warehousename:
  3672. description: 仓库名称
  3673. type: string
  3674. wrstandardid:
  3675. description: 交易标的ID
  3676. type: integer
  3677. wrstandardname:
  3678. description: 交易标的名称
  3679. type: string
  3680. required:
  3681. - deliverygoodsid
  3682. - producttype
  3683. - unitname
  3684. - warehouseid
  3685. - wrstandardid
  3686. - wrstandardname
  3687. type: object
  3688. erms3.SpotPointOrder:
  3689. properties:
  3690. basic:
  3691. description: 基差
  3692. type: number
  3693. deliveryenddate:
  3694. description: 交收结束日期
  3695. type: string
  3696. deliverystartdate:
  3697. description: 交收开始日期
  3698. type: string
  3699. enddate:
  3700. description: 点价结束日期
  3701. type: string
  3702. goodsid:
  3703. description: 商品ID
  3704. type: integer
  3705. goodsname:
  3706. description: 商品名称
  3707. type: string
  3708. qty:
  3709. description: 数量
  3710. type: number
  3711. startdate:
  3712. description: 点价开始日期
  3713. type: string
  3714. required:
  3715. - basic
  3716. - goodsid
  3717. - qty
  3718. type: object
  3719. erms3.SpotPriceOrder:
  3720. properties:
  3721. amount:
  3722. description: 金额
  3723. type: number
  3724. deliveryenddate:
  3725. description: 交收结束日期
  3726. type: string
  3727. deliverystartdate:
  3728. description: 交收开始日期
  3729. type: string
  3730. price:
  3731. description: 价格
  3732. type: number
  3733. qty:
  3734. description: 数量
  3735. type: number
  3736. required:
  3737. - amount
  3738. - price
  3739. - qty
  3740. type: object
  3741. hsby.GetHsbyMyCountRsp:
  3742. properties:
  3743. myCouponCount:
  3744. description: 我的优惠卷数量
  3745. type: integer
  3746. myOrderDetailListingCount:
  3747. description: 我的订单求购中数量
  3748. type: integer
  3749. myOrderDetailPreCount:
  3750. description: 我的订单抢购中数量
  3751. type: integer
  3752. myPackageUnReceiveCount:
  3753. description: 我的包裹待收货数量
  3754. type: integer
  3755. myPackageUnSendCount:
  3756. description: 我的包裹待发货数量
  3757. type: integer
  3758. myPayOrderCount:
  3759. description: 我的订单待付款数量
  3760. type: integer
  3761. type: object
  3762. hsby.QueryProvincesAndCitiesRsp:
  3763. properties:
  3764. cities:
  3765. description: 市
  3766. items:
  3767. $ref: '#/definitions/models.Division'
  3768. type: array
  3769. province:
  3770. $ref: '#/definitions/models.Division'
  3771. description: 省
  3772. type: object
  3773. models.Arearole:
  3774. properties:
  3775. createtime:
  3776. description: 创建时间
  3777. type: string
  3778. creatorid:
  3779. description: 创建人ID
  3780. type: integer
  3781. fromuserid:
  3782. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3783. type: integer
  3784. isreturnscore:
  3785. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3786. type: integer
  3787. modifierid:
  3788. description: 修改人ID
  3789. type: integer
  3790. modifytime:
  3791. description: 修改时间
  3792. type: string
  3793. orgtype:
  3794. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3795. type: integer
  3796. outuserid:
  3797. description: 外部账户[场外期权做市商]
  3798. type: string
  3799. parentuserid:
  3800. description: 上级组织机构(组织机构)
  3801. type: integer
  3802. roletype:
  3803. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3804. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3805. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3806. type: integer
  3807. rootuserid:
  3808. description: 顶级组织机构用户ID(组织机构)
  3809. type: integer
  3810. shoppassword:
  3811. description: 商城店铺登陆密码(商城店铺角色使用)
  3812. type: string
  3813. sublevelpath:
  3814. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3815. type: string
  3816. suborgtype:
  3817. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3818. type: integer
  3819. tradeaccountid:
  3820. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3821. type: integer
  3822. transurl:
  3823. description: 物流地址(物流机构)
  3824. type: string
  3825. userid:
  3826. description: 机构用户ID其他做市关系,都设置为 1
  3827. type: integer
  3828. required:
  3829. - roletype
  3830. - userid
  3831. type: object
  3832. models.Clientfixedadconfig:
  3833. properties:
  3834. adsort:
  3835. description: 排序
  3836. type: integer
  3837. adtype:
  3838. description: 广告位类型 - 1:新品抢购(HSBY)
  3839. type: integer
  3840. areauserid:
  3841. description: 所属机构ID
  3842. type: integer
  3843. createdate:
  3844. description: 创建时间
  3845. type: string
  3846. creatorid:
  3847. description: 创建人
  3848. type: integer
  3849. imagepath:
  3850. description: 图片
  3851. type: string
  3852. isshow:
  3853. description: 是否展示 - 0:不展示 1:展示
  3854. type: integer
  3855. modifierid:
  3856. description: 操作人
  3857. type: integer
  3858. recsize:
  3859. description: 推荐尺寸
  3860. type: string
  3861. title:
  3862. description: 标题
  3863. type: string
  3864. updatedate:
  3865. description: 更新时间
  3866. type: string
  3867. urlcontent:
  3868. description: 链接(地址或商品ID)
  3869. type: string
  3870. urltype:
  3871. description: 链接类型 - 1:直接地址 2:商品ID
  3872. type: integer
  3873. required:
  3874. - adsort
  3875. - adtype
  3876. type: object
  3877. models.DgFactoryItem:
  3878. properties:
  3879. dgfactoryitemid:
  3880. description: 选择项ID(SEQ_DGFACTORYITEM)
  3881. type: integer
  3882. dgfactoryitemtypeid:
  3883. description: 要素项类型
  3884. type: integer
  3885. dgfactoryitemvalue:
  3886. description: 要素项值(类型为仓库时填写仓库名称)
  3887. type: string
  3888. orderindex:
  3889. description: 顺序
  3890. type: integer
  3891. type: object
  3892. models.Division:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. divisioncode:
  3898. description: 行政代码
  3899. type: string
  3900. divisionlevel:
  3901. description: 行政级别
  3902. type: string
  3903. divisionname:
  3904. description: 行政名称
  3905. type: string
  3906. modifierid:
  3907. description: 修改人
  3908. type: integer
  3909. modifytime:
  3910. description: 修改时间
  3911. type: string
  3912. parentcode:
  3913. description: 上级行政代码
  3914. type: string
  3915. pathname:
  3916. description: 路径名称
  3917. type: string
  3918. postcode:
  3919. description: 邮政编码
  3920. type: string
  3921. separablename:
  3922. description: 可拆分的全称
  3923. type: string
  3924. shortcode:
  3925. description: 地区简码
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - divisioncode
  3930. type: object
  3931. models.Enumdicitem:
  3932. properties:
  3933. autoid:
  3934. description: 自增ID
  3935. type: integer
  3936. bankmappedvalue:
  3937. description: 银行服务对应值
  3938. type: string
  3939. enumdiccode:
  3940. description: 所属枚举代码
  3941. type: string
  3942. enumdicid:
  3943. description: 所属枚举ID
  3944. type: integer
  3945. enumdicname:
  3946. description: 枚举项名称
  3947. type: string
  3948. enumitemname:
  3949. description: 枚举项值
  3950. type: integer
  3951. enumitemstatus:
  3952. description: 枚举项状态 - 1.启用 2.不启用
  3953. type: integer
  3954. enumitemvalue:
  3955. description: 通用值 - [币种通用简写]
  3956. type: string
  3957. param1:
  3958. description: 参数1[币种:币种小数位]
  3959. type: string
  3960. param2:
  3961. description: 参数1[币种:币种显示单位]
  3962. type: string
  3963. remark:
  3964. description: 备注
  3965. type: string
  3966. required:
  3967. - autoid
  3968. - enumdiccode
  3969. - enumdicid
  3970. - enumitemname
  3971. type: object
  3972. models.Ermcp2hedgeditem:
  3973. properties:
  3974. accountName:
  3975. description: 套期主体
  3976. type: string
  3977. applyid:
  3978. description: 申请人
  3979. type: integer
  3980. applysrc:
  3981. description: 申请来源 - 1:管理端 2:终端
  3982. type: integer
  3983. areauserid:
  3984. description: 企业ID
  3985. type: integer
  3986. auditid:
  3987. description: 审核人
  3988. type: integer
  3989. auditremark:
  3990. description: 审核备注
  3991. type: string
  3992. auditsrc:
  3993. description: 审核来源 - 1:管理端 2:终端
  3994. type: integer
  3995. audittime:
  3996. description: 审核时间
  3997. type: string
  3998. audittradedate:
  3999. description: 审核交易日(yyyyMMdd)
  4000. type: string
  4001. createtime:
  4002. description: 申请时间
  4003. type: string
  4004. curprice:
  4005. description: 当前市场价
  4006. type: number
  4007. curstock:
  4008. description: 期末库存量 = 采购总量 - 销售总量
  4009. type: number
  4010. deliverygoodsid:
  4011. description: 现货品种ID
  4012. type: integer
  4013. enddate:
  4014. description: 完成日期
  4015. type: string
  4016. endtradedate:
  4017. description: 完成交易日
  4018. type: string
  4019. enumdicname:
  4020. description: 单位
  4021. type: string
  4022. exeamount:
  4023. description: 执行市价总额
  4024. type: number
  4025. exeavgprice:
  4026. description: 执行市场均价= 执行市价总额 / 执行现货量
  4027. type: number
  4028. execontractamount:
  4029. description: 执行定价总额
  4030. type: number
  4031. exeqty:
  4032. description: 执行现货量
  4033. type: number
  4034. exerestamount:
  4035. description: 执行剩余市价总额【现货贸易】
  4036. type: number
  4037. futurefloatpl:
  4038. description: 期货浮动损益
  4039. type: number
  4040. futurehedgepl:
  4041. description: 期货实际损益
  4042. type: number
  4043. futurehedgeplchange:
  4044. description: 期货实际损益变动
  4045. type: number
  4046. futurepl:
  4047. description: 期货套期损益
  4048. type: number
  4049. futureplchange:
  4050. description: 期货套期损益变动
  4051. type: number
  4052. hedgeamount:
  4053. description: 套期市价总额
  4054. type: number
  4055. hedgecontractamount:
  4056. description: 套期定价总额 【定价采购合同】【现货贸易】
  4057. type: number
  4058. hedgeditemid:
  4059. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4060. type: string
  4061. hedgeditemname:
  4062. description: 项目名称
  4063. type: string
  4064. hedgeditemnum:
  4065. description: 项目编号
  4066. type: string
  4067. hedgeditemstatus:
  4068. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4069. type: integer
  4070. hedgedtype:
  4071. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4072. type: integer
  4073. hedgeqty:
  4074. description: 套期现货量
  4075. type: number
  4076. hedgerate:
  4077. description: 套保比率
  4078. type: number
  4079. hedgerestamount:
  4080. description: 套期剩余市价总额【现货贸易】
  4081. type: number
  4082. hedgesumpl:
  4083. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4084. type: number
  4085. middlegoodslist:
  4086. description: 套期商品列表
  4087. items:
  4088. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4089. type: array
  4090. oriavgprice:
  4091. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4092. type: number
  4093. orifuturehedgepl:
  4094. description: 期初期货实际损益
  4095. type: number
  4096. orifuturepl:
  4097. description: 期初期货套期损益
  4098. type: number
  4099. orispothedgepl:
  4100. description: 期初现货实际损益
  4101. type: number
  4102. orispotpl:
  4103. description: 期初现货套期损益
  4104. type: number
  4105. planenddate:
  4106. description: 计划结束日期
  4107. type: string
  4108. planstartdate:
  4109. description: 计划开始日期
  4110. type: string
  4111. remark:
  4112. description: 备注
  4113. type: string
  4114. spotbookamount:
  4115. description: 现货账面总额
  4116. type: number
  4117. spotfloatpl:
  4118. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4119. type: number
  4120. spothedgepl:
  4121. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4122. type: number
  4123. spothedgeplchange:
  4124. description: 现货实际损益变动
  4125. type: number
  4126. spotpl:
  4127. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4128. type: number
  4129. spotplchange:
  4130. description: 现货套期损益变动
  4131. type: number
  4132. spottradepl:
  4133. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4134. type: number
  4135. sumobspl:
  4136. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4137. type: number
  4138. tradeuserid:
  4139. description: 交易用户ID
  4140. type: integer
  4141. unexeqty:
  4142. description: 未执行现货量 = 套期现货量 - 执行现货量
  4143. type: number
  4144. updatetime:
  4145. description: 更新时间
  4146. type: string
  4147. vatpl:
  4148. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4149. type: number
  4150. vatrate:
  4151. description: 增值税
  4152. type: number
  4153. wrstandardid:
  4154. description: 现货商品ID
  4155. type: integer
  4156. wrstandardname:
  4157. description: 商品名称
  4158. type: string
  4159. type: object
  4160. models.Ermcp2hedgeditemspot:
  4161. properties:
  4162. areauserid:
  4163. description: 企业ID
  4164. type: integer
  4165. createtime:
  4166. description: 创建时间
  4167. type: string
  4168. customeruserid:
  4169. description: 对手方 【3:采购合同 4:销售合同】
  4170. type: integer
  4171. deliverygoodsid:
  4172. description: 现货品种ID
  4173. type: integer
  4174. enumdicname:
  4175. description: 单位
  4176. type: string
  4177. hedgeditemid:
  4178. description: 被套期项目ID
  4179. type: string
  4180. hedgeditemspotid:
  4181. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4182. type: string
  4183. hedgedtype:
  4184. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4185. type: integer
  4186. hedgeplanno:
  4187. description: 计划编号
  4188. type: string
  4189. oriavgprice:
  4190. description: 期初市场价[当初市场价]
  4191. type: number
  4192. relatedamount:
  4193. description: 市价总额 = 关联数量 * 期初市场价
  4194. type: number
  4195. relatedhedgeplanid:
  4196. description: 关联计划ID 【1:采购计划 2:销售计划】
  4197. type: integer
  4198. relatedqty:
  4199. description: 关联数量[数量]
  4200. type: number
  4201. relatedspotcontractid:
  4202. description: 关联合同ID 【3:采购合同 4:销售合同】
  4203. type: integer
  4204. relatedtype:
  4205. description: 关联类型 - 1:套期关联 2:执行关联
  4206. type: integer
  4207. spotgoodsbrandid:
  4208. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4209. type: integer
  4210. spotpricedamount:
  4211. description: 定价总额
  4212. type: number
  4213. spotpricedavgprice:
  4214. description: 现货均价 = 定价总额 / 关联数量
  4215. type: number
  4216. spottype:
  4217. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4218. type: integer
  4219. tradeuserid:
  4220. description: 交易用户ID
  4221. type: integer
  4222. wrstandardid:
  4223. description: 现货商品ID
  4224. type: integer
  4225. wrstandardname:
  4226. description: 现货商品
  4227. type: string
  4228. required:
  4229. - hedgeditemid
  4230. type: object
  4231. models.Ermcp2hedgeditemspotDetail:
  4232. properties:
  4233. accountName:
  4234. description: 对手方
  4235. type: string
  4236. areauserid:
  4237. description: 企业ID
  4238. type: integer
  4239. brandname:
  4240. description: 品牌
  4241. type: string
  4242. contractno:
  4243. description: 合同编号
  4244. type: string
  4245. createtime:
  4246. description: 创建时间
  4247. type: string
  4248. customeruserid:
  4249. description: 对手方 【3:采购合同 4:销售合同】
  4250. type: integer
  4251. deliverygoodsid:
  4252. description: 现货品种ID
  4253. type: integer
  4254. enumdicname:
  4255. description: 单位
  4256. type: string
  4257. hedgeditemid:
  4258. description: 被套期项目ID
  4259. type: string
  4260. hedgeditemspotid:
  4261. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4262. type: string
  4263. hedgedtype:
  4264. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4265. type: integer
  4266. oriavgprice:
  4267. description: 期初市场价[当初市场价]
  4268. type: number
  4269. relatedamount:
  4270. description: 市价总额 = 关联数量 * 期初市场价
  4271. type: number
  4272. relatedhedgeplanid:
  4273. description: 关联计划ID 【1:采购计划 2:销售计划】
  4274. type: integer
  4275. relatedqty:
  4276. description: 关联数量[数量]
  4277. type: number
  4278. relatedspotcontractid:
  4279. description: 关联合同ID 【3:采购合同 4:销售合同】
  4280. type: integer
  4281. relatedtype:
  4282. description: 关联类型 - 1:套期关联 2:执行关联
  4283. type: integer
  4284. spotgoodsbrandid:
  4285. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4286. type: integer
  4287. spotpricedamount:
  4288. description: 定价总额[金额]
  4289. type: number
  4290. spotpricedavgprice:
  4291. description: 现货均价 = 定价总额 / 关联数量
  4292. type: number
  4293. spottype:
  4294. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4295. type: integer
  4296. tradeuserid:
  4297. description: 交易用户ID
  4298. type: integer
  4299. wrstandardid:
  4300. description: 现货商品ID
  4301. type: integer
  4302. wrstandardname:
  4303. description: 现货商品
  4304. type: string
  4305. required:
  4306. - hedgeditemid
  4307. type: object
  4308. models.Ermcp2himiddlegoods:
  4309. properties:
  4310. futurehedgeqty:
  4311. description: 期货持仓套期量
  4312. type: number
  4313. hedgeditemid:
  4314. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4315. type: integer
  4316. hiexpsoure:
  4317. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4318. type: number
  4319. middlegoodscode:
  4320. description: 套保商品代码
  4321. type: string
  4322. middlegoodsid:
  4323. description: 套保品种ID
  4324. type: integer
  4325. middlegoodsname:
  4326. description: 套保商品名称
  4327. type: string
  4328. unexehedgeqty:
  4329. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4330. type: number
  4331. required:
  4332. - hedgeditemid
  4333. - middlegoodsid
  4334. type: object
  4335. models.Ermcp3AreaSpot:
  4336. properties:
  4337. areauserid:
  4338. description: 所属机构
  4339. type: integer
  4340. convertratio:
  4341. description: 套保系数
  4342. type: number
  4343. decreaseqty:
  4344. description: 减少数量=-(销售已定价数量+采购计划数量)
  4345. type: number
  4346. enumdicname:
  4347. description: 单位名称
  4348. type: string
  4349. increaseqty:
  4350. description: 增加数量=销售计划数量+采购已定价数量
  4351. type: number
  4352. oritoalspotqty:
  4353. description: 昨日数量
  4354. type: number
  4355. totalspotqty:
  4356. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4357. type: number
  4358. unitid:
  4359. description: 现货商品单位id
  4360. type: integer
  4361. updatetime:
  4362. description: 更新时间
  4363. type: string
  4364. wrstandardcode:
  4365. description: 现货商品代码
  4366. type: string
  4367. wrstandardid:
  4368. description: 现货商品ID(SEQ_WRSTANDARD)
  4369. type: integer
  4370. wrstandardname:
  4371. description: 现货商品名称
  4372. type: string
  4373. type: object
  4374. models.Ermcp3AreaSpotDetail:
  4375. properties:
  4376. contracttype:
  4377. description: 合同类型 1-采购 -1-销售
  4378. type: integer
  4379. createtime:
  4380. description: 创建时间
  4381. type: string
  4382. enumdicname:
  4383. description: 现货商品单位名称
  4384. type: string
  4385. logtype:
  4386. description: 记录类型 1-套保 2-现货合同
  4387. type: integer
  4388. qty:
  4389. description: 数量
  4390. type: number
  4391. recordname:
  4392. description: 类型名称
  4393. type: string
  4394. relatedid:
  4395. description: 套保计划ID/现货合同ID
  4396. type: string
  4397. relatedno:
  4398. description: 编号
  4399. type: string
  4400. strtime:
  4401. description: 时间
  4402. type: string
  4403. wrstandardcode:
  4404. description: 现货商品代码
  4405. type: string
  4406. wrstandardid:
  4407. description: 现货商品ID(SEQ_WRSTANDARD)
  4408. type: integer
  4409. wrstandardname:
  4410. description: 现货商品名称
  4411. type: string
  4412. type: object
  4413. models.Ermcp3AreaSpotPLReport:
  4414. properties:
  4415. accountid:
  4416. description: 期货账户ID (作废, 默认为0)
  4417. type: integer
  4418. accountname:
  4419. description: 机构名称
  4420. type: string
  4421. actualpl:
  4422. description: 现货损益
  4423. type: number
  4424. areauserid:
  4425. description: 所属机构\交易用户ID
  4426. type: integer
  4427. begindate:
  4428. description: 开始交易日
  4429. type: string
  4430. biztype:
  4431. description: 业务类型 - 1:套保 2:套利
  4432. type: integer
  4433. brandname:
  4434. description: 品牌名称
  4435. type: string
  4436. curamount:
  4437. description: 期末额
  4438. type: number
  4439. curaverageprice:
  4440. description: 期末均价
  4441. type: number
  4442. curbuyamount:
  4443. description: 期末采购总额
  4444. type: number
  4445. curbuyqty:
  4446. description: 期末采购总量
  4447. type: number
  4448. curmarketvalue:
  4449. description: 参考市值(期末市值)
  4450. type: number
  4451. curqty:
  4452. description: 期末量
  4453. type: number
  4454. currencyid:
  4455. description: 结算币种ID【原值】
  4456. type: integer
  4457. currencyname:
  4458. description: 币种名称
  4459. type: string
  4460. cursellamount:
  4461. description: 期末销售总额
  4462. type: number
  4463. cursellqty:
  4464. description: 期末销售总量
  4465. type: number
  4466. curspotprice:
  4467. description: 参考市价(最新价)
  4468. type: number
  4469. cycletime:
  4470. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4471. type: string
  4472. cycletype:
  4473. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4474. type: integer
  4475. deliverygoodscode:
  4476. description: 现货品种代码
  4477. type: string
  4478. deliverygoodsid:
  4479. description: 现货品种ID
  4480. type: integer
  4481. deliverygoodsname:
  4482. description: 现货品种名称
  4483. type: string
  4484. enddate:
  4485. description: 结束交易日
  4486. type: string
  4487. enumdicname:
  4488. description: 现货品种单位名称(作废)
  4489. type: string
  4490. floatpl:
  4491. description: 浮动损益
  4492. type: number
  4493. goodsunitid:
  4494. description: 现货品种单位id(作废)
  4495. type: integer
  4496. oriamount:
  4497. description: 期初额
  4498. type: number
  4499. oriaverageprice:
  4500. description: 期初均价
  4501. type: number
  4502. oribuyamount:
  4503. description: 期初采购总额
  4504. type: number
  4505. oribuyqty:
  4506. description: 期初采购总量
  4507. type: number
  4508. oriqty:
  4509. description: 期初量
  4510. type: number
  4511. orisellamount:
  4512. description: 期初销售总额
  4513. type: number
  4514. orisellqty:
  4515. description: 期初销售总量
  4516. type: number
  4517. reckondate:
  4518. description: 日照时期(yyyyMMdd)
  4519. type: string
  4520. spotgoodsbrandid:
  4521. description: 现货品牌ID
  4522. type: integer
  4523. todaybuyamount:
  4524. description: 今日采购额(今采购额)
  4525. type: number
  4526. todaybuyaverageprice:
  4527. description: 今日采购均价
  4528. type: number
  4529. todaybuyqty:
  4530. description: 今日采购量(今采购量)
  4531. type: number
  4532. todayinqty:
  4533. description: 今日入库量(今入库量)
  4534. type: number
  4535. todayoutqty:
  4536. description: 今日出库量(今出库量)
  4537. type: number
  4538. todaysellamount:
  4539. description: 今日销售额(今销售额)
  4540. type: number
  4541. todaysellaverageprice:
  4542. description: 今日销售均价
  4543. type: number
  4544. todaysellqty:
  4545. description: 今日销售量(今销售量)
  4546. type: number
  4547. unitid:
  4548. description: 品类单位id
  4549. type: integer
  4550. unitidname:
  4551. description: 品类单位名称
  4552. type: string
  4553. updatetime:
  4554. description: 更新时间
  4555. type: string
  4556. wrfactortypeid:
  4557. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4558. type: integer
  4559. wrstandardcode:
  4560. description: 现货商品(品类)代码
  4561. type: string
  4562. wrstandardid:
  4563. description: 现货品类ID
  4564. type: integer
  4565. wrstandardname:
  4566. description: 现货商品(品类)名称
  4567. type: string
  4568. type: object
  4569. models.Ermcp3AreaStock:
  4570. properties:
  4571. brandname:
  4572. description: 品牌名称
  4573. type: string
  4574. curstock:
  4575. description: 期末库存量(今日量)
  4576. type: number
  4577. deliverygoodscode:
  4578. description: 现货品种代码
  4579. type: string
  4580. deliverygoodsid:
  4581. description: 现货品种id
  4582. type: integer
  4583. deliverygoodsname:
  4584. description: 现货品种名称
  4585. type: string
  4586. enumdicname:
  4587. description: 单位名称
  4588. type: string
  4589. goodsunitid:
  4590. description: 现货商品单位id
  4591. type: integer
  4592. oristock:
  4593. description: 期初库存量(昨日量)
  4594. type: number
  4595. spotgoodsbrandid:
  4596. description: 现货品牌ID
  4597. type: integer
  4598. todaybuyinqty:
  4599. description: 今日采购入库量
  4600. type: number
  4601. todayproduceinqty:
  4602. description: 今日生产入库量
  4603. type: number
  4604. todayproduceoutqty:
  4605. description: 今日生产出库量
  4606. type: number
  4607. todayselloutqty:
  4608. description: 今日销售出库量
  4609. type: number
  4610. unitid:
  4611. description: 单位id
  4612. type: integer
  4613. updatetime:
  4614. description: 更新时间
  4615. type: string
  4616. userid:
  4617. description: 机构ID
  4618. type: integer
  4619. username:
  4620. description: 机构名称
  4621. type: string
  4622. warehousecode:
  4623. description: 仓库代码
  4624. type: string
  4625. warehouseinfoid:
  4626. description: 仓库ID
  4627. type: string
  4628. warehousename:
  4629. description: 仓库名称
  4630. type: string
  4631. warehousetype:
  4632. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4633. type: integer
  4634. wrstandardcode:
  4635. description: 品类代码
  4636. type: string
  4637. wrstandardid:
  4638. description: 品类ID
  4639. type: string
  4640. wrstandardname:
  4641. description: 品类名称
  4642. type: string
  4643. required:
  4644. - userid
  4645. type: object
  4646. models.Ermcp3AreaStockApply:
  4647. properties:
  4648. applyid:
  4649. description: 申请人
  4650. type: integer
  4651. applyname:
  4652. description: 申请人名称
  4653. type: string
  4654. applyremark:
  4655. description: 申请备注
  4656. type: string
  4657. applysrc:
  4658. description: 申请来源 - 1:管理端 2:终端
  4659. type: integer
  4660. applystatus:
  4661. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4662. type: integer
  4663. applytime:
  4664. description: 申请时间
  4665. type: string
  4666. auditid:
  4667. description: 审核人
  4668. type: integer
  4669. auditname:
  4670. description: 审核人名称
  4671. type: string
  4672. auditremark:
  4673. description: 审核备注
  4674. type: string
  4675. auditsrc:
  4676. description: 审核来源 - 1:管理端 2:终端
  4677. type: integer
  4678. audittime:
  4679. description: 审核时间
  4680. type: string
  4681. audittradedate:
  4682. description: 审核交易日(yyyyMMdd)
  4683. type: string
  4684. brandname:
  4685. description: 品牌名称
  4686. type: string
  4687. buynickname:
  4688. description: 采购方昵称
  4689. type: string
  4690. buyuserid:
  4691. description: 采购方userid
  4692. type: integer
  4693. buyusername:
  4694. description: 采购方名称
  4695. type: string
  4696. contractno:
  4697. description: 合同编号
  4698. type: string
  4699. contractqty:
  4700. description: 合同量
  4701. type: number
  4702. contracttype:
  4703. description: 现货合同类型 - 1:采购 -1:销售
  4704. type: integer
  4705. deliverygoodscode:
  4706. description: 现货品种代码
  4707. type: string
  4708. deliverygoodsid:
  4709. description: 现货品种id
  4710. type: integer
  4711. deliverygoodsname:
  4712. description: 现货品种名称
  4713. type: string
  4714. detailjson:
  4715. description: 明细数据
  4716. type: string
  4717. enumdicname:
  4718. description: 现货商品单位名称
  4719. type: string
  4720. inoutapplyid:
  4721. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4722. type: string
  4723. inouttype:
  4724. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4725. type: integer
  4726. pricetype:
  4727. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4728. type: integer
  4729. qty:
  4730. description: 数量
  4731. type: number
  4732. sellnickname:
  4733. description: 销售方昵称
  4734. type: string
  4735. selluserid:
  4736. description: 销售方userid
  4737. type: integer
  4738. sellusername:
  4739. description: 销售方名称
  4740. type: string
  4741. spotcontractid:
  4742. description: 关联现货合同ID
  4743. type: string
  4744. spotgoodsbrandid:
  4745. description: 现货品牌ID
  4746. type: integer
  4747. unitid:
  4748. description: 单位id
  4749. type: integer
  4750. userid:
  4751. description: 机构ID
  4752. type: integer
  4753. warehousecode:
  4754. description: 仓库代码
  4755. type: string
  4756. warehouseinfoid:
  4757. description: 现货仓库ID
  4758. type: string
  4759. warehousename:
  4760. description: 仓库名称
  4761. type: string
  4762. warehousetype:
  4763. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4764. type: integer
  4765. wrstandardcode:
  4766. description: 品类代码
  4767. type: string
  4768. wrstandardid:
  4769. description: 品类ID
  4770. type: integer
  4771. wrstandardname:
  4772. description: 品类名称
  4773. type: string
  4774. type: object
  4775. models.Ermcp3AreaStockApplySum:
  4776. properties:
  4777. brandname:
  4778. description: 品牌名称
  4779. type: string
  4780. inouttype:
  4781. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4782. type: integer
  4783. spotcontractid:
  4784. description: 关联现货合同ID
  4785. type: string
  4786. spotgoodsbrandid:
  4787. description: 品牌id
  4788. type: integer
  4789. totalqty:
  4790. description: 总数量
  4791. type: number
  4792. wrstandardid:
  4793. description: 品类id
  4794. type: integer
  4795. wrstandardname:
  4796. description: 品类名称
  4797. type: string
  4798. type: object
  4799. models.Ermcp3AreaStockReportEx:
  4800. properties:
  4801. begindate:
  4802. description: 开始交易日
  4803. type: string
  4804. brandname:
  4805. description: 品牌名称
  4806. type: string
  4807. curstock:
  4808. description: 期末库存量
  4809. type: number
  4810. cycletime:
  4811. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4812. type: string
  4813. cycletype:
  4814. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4815. type: integer
  4816. deliverygoodscode:
  4817. description: 现货品种代码
  4818. type: string
  4819. deliverygoodsid:
  4820. description: 现货品种id
  4821. type: integer
  4822. deliverygoodsname:
  4823. description: 现货品种名称
  4824. type: string
  4825. diffqty:
  4826. description: 库存变化量 = 期末 - 期初
  4827. type: number
  4828. enddate:
  4829. description: 结束交易日
  4830. type: string
  4831. enumdicname:
  4832. description: 单位名称
  4833. type: string
  4834. goodsunitid:
  4835. description: 现货单位id
  4836. type: integer
  4837. oristock:
  4838. description: 期初库存量
  4839. type: number
  4840. reckondate:
  4841. description: 日照时期(yyyyMMdd)
  4842. type: string
  4843. spotgoodsbrandid:
  4844. description: 现货品牌ID
  4845. type: integer
  4846. todaybuyinqty:
  4847. description: 今采购入库量
  4848. type: number
  4849. todayproduceinqty:
  4850. description: 今内部入库量
  4851. type: number
  4852. todayproduceoutqty:
  4853. description: 今内部出库量
  4854. type: number
  4855. todayselloutqty:
  4856. description: 今销售出库量
  4857. type: number
  4858. unbuyinqty:
  4859. description: 采购未入库量(数据库未找到相关字段?)
  4860. type: number
  4861. unitid:
  4862. description: 品类单位id
  4863. type: integer
  4864. unselloutqty:
  4865. description: 销售未出库量(数据库未找到相关字段?)
  4866. type: number
  4867. updatetime:
  4868. description: 更新时间
  4869. type: string
  4870. userid:
  4871. description: 机构ID
  4872. type: integer
  4873. username:
  4874. description: 机构名称
  4875. type: string
  4876. warehousecode:
  4877. description: 仓库代码
  4878. type: string
  4879. warehouseinfoid:
  4880. description: 仓库ID
  4881. type: string
  4882. warehousename:
  4883. description: 仓库名称
  4884. type: string
  4885. warehousetype:
  4886. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4887. type: integer
  4888. wrstandardcode:
  4889. description: 品类代码
  4890. type: string
  4891. wrstandardid:
  4892. description: 品类ID
  4893. type: integer
  4894. wrstandardname:
  4895. description: 品类名称
  4896. type: string
  4897. type: object
  4898. models.Ermcp3ArealSumPL:
  4899. properties:
  4900. accountname:
  4901. description: 机构名称
  4902. type: string
  4903. areauserid:
  4904. description: 所属机构\交易用户ID
  4905. type: integer
  4906. begindate:
  4907. description: 开始交易日
  4908. type: string
  4909. currencyid:
  4910. description: 结算币种ID
  4911. type: integer
  4912. currencyname:
  4913. description: 币种名称
  4914. type: string
  4915. cycletime:
  4916. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4917. type: string
  4918. cycletype:
  4919. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4920. type: integer
  4921. enddate:
  4922. description: 结束交易日
  4923. type: string
  4924. enumdicname:
  4925. description: 单位名称(套保品种)
  4926. type: string
  4927. futureactualpl:
  4928. description: 期货损益
  4929. type: number
  4930. futurefloatpl:
  4931. description: 期货浮动损益
  4932. type: number
  4933. futurespotratio:
  4934. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4935. type: number
  4936. goodsunitid:
  4937. description: 套保品种单位id
  4938. type: integer
  4939. hedgeexposurepl:
  4940. description: 套保敞口损益
  4941. type: number
  4942. middlegoodscode:
  4943. description: 套保品种代码
  4944. type: string
  4945. middlegoodsid:
  4946. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4947. type: integer
  4948. middlegoodsname:
  4949. description: 套保品种名称
  4950. type: string
  4951. reckondate:
  4952. description: 日照时期(yyyyMMdd)
  4953. type: string
  4954. spotactualpl:
  4955. description: 现货损益
  4956. type: number
  4957. spotfloatpl:
  4958. description: 现货浮动损益
  4959. type: number
  4960. sumactualpl:
  4961. description: 实际损益 = (ActualPL + FutureActualPL)
  4962. type: number
  4963. sumpl:
  4964. description: 总敞口损益 | 汇总损益
  4965. type: number
  4966. totalfutureqty:
  4967. description: 期货头寸总量
  4968. type: number
  4969. totalneedhedgeqty:
  4970. description: 应套保总量
  4971. type: number
  4972. totalspotqty:
  4973. description: 现货头寸总量
  4974. type: number
  4975. updatetime:
  4976. description: 更新时间
  4977. type: string
  4978. type: object
  4979. models.Ermcp3Brand:
  4980. properties:
  4981. areauserid:
  4982. description: 用户id
  4983. type: integer
  4984. brandid:
  4985. description: 品牌id
  4986. type: integer
  4987. brandname:
  4988. description: 品牌名称
  4989. type: string
  4990. deliverygoodsid:
  4991. description: 品种ID
  4992. type: integer
  4993. isvalid:
  4994. description: 是否有效
  4995. type: integer
  4996. type: object
  4997. models.Ermcp3Contract:
  4998. properties:
  4999. accountid:
  5000. description: 期货账户id
  5001. type: string
  5002. amount:
  5003. description: 金额 [1:一口价、3:暂定价]
  5004. type: number
  5005. attachment:
  5006. description: 附件
  5007. type: string
  5008. auditremark:
  5009. description: 审核意见
  5010. type: string
  5011. audittime:
  5012. description: 审核时间
  5013. type: string
  5014. biztype:
  5015. description: 业务类型 1-套保 2-套利
  5016. type: integer
  5017. brandname:
  5018. description: 品牌名称
  5019. type: string
  5020. buynickname:
  5021. description: 销售方昵称
  5022. type: string
  5023. buyuserid:
  5024. description: 采购方ID
  5025. type: integer
  5026. buyusername:
  5027. description: 采购方名称
  5028. type: string
  5029. contracctstatus:
  5030. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5031. type: integer
  5032. contractmargin:
  5033. description: 合同保证金
  5034. type: number
  5035. contractno:
  5036. description: 现货合同编号
  5037. type: string
  5038. contracttype:
  5039. description: 现货合同类型 - 1:采购 -1:销售
  5040. type: integer
  5041. convertfactor:
  5042. description: 标仓系数(品类)
  5043. type: number
  5044. createtime:
  5045. description: 创建时间
  5046. type: string
  5047. currencyid:
  5048. description: 币种id
  5049. type: integer
  5050. currencyname:
  5051. description: 币种名称
  5052. type: string
  5053. deliveryenddate:
  5054. description: 交收期(结束)
  5055. type: string
  5056. deliverygoodscode:
  5057. description: 现货品种代码
  5058. type: string
  5059. deliverygoodsid:
  5060. description: 现货品种ID
  5061. type: integer
  5062. deliverygoodsname:
  5063. description: 现货品种名称
  5064. type: string
  5065. deliverystartdate:
  5066. description: 交收期(开始)
  5067. type: string
  5068. enddate:
  5069. description: 点价结束日期 [2:点价 3:暂定价]
  5070. type: string
  5071. enumdicname:
  5072. description: 单位名称
  5073. type: string
  5074. goodscode:
  5075. description: 点价合约代码
  5076. type: string
  5077. goodsid:
  5078. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5079. type: integer
  5080. goodsname:
  5081. description: 点价商品名称
  5082. type: string
  5083. margin:
  5084. description: 当前保证金
  5085. type: number
  5086. meruserid:
  5087. description: 跟单员id
  5088. type: integer
  5089. meruserlogincode:
  5090. description: 跟单员登录代码
  5091. type: string
  5092. merusername:
  5093. description: 跟单员名称
  5094. type: string
  5095. pointdesc:
  5096. description: 点价备注
  5097. type: string
  5098. price:
  5099. description: 价格\暂定价 [1:一口价、3:暂定价]
  5100. type: number
  5101. pricemove:
  5102. description: 升贴水 [2:点价 3:暂定价]
  5103. type: number
  5104. pricetype:
  5105. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5106. type: integer
  5107. producttype:
  5108. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5109. type: integer
  5110. qty:
  5111. description: 数量
  5112. type: number
  5113. remark:
  5114. description: 备注
  5115. type: string
  5116. saleuserid:
  5117. description: 业务员id
  5118. type: integer
  5119. saleuserlogincode:
  5120. description: 业务员登录代码
  5121. type: string
  5122. saleusername:
  5123. description: 业务员名称
  5124. type: string
  5125. sellnickname:
  5126. description: 采购方昵称
  5127. type: string
  5128. selluserid:
  5129. description: 销售方ID
  5130. type: integer
  5131. sellusername:
  5132. description: 销售方名称
  5133. type: string
  5134. spotcontractid:
  5135. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5136. type: string
  5137. spotgoodsbrandid:
  5138. description: 现货品牌ID(DGFactoryItem表的ID)
  5139. type: integer
  5140. spotgoodsdesc:
  5141. description: 商品型号
  5142. type: string
  5143. startdate:
  5144. description: 点价开始日期 [2:点价 3:暂定价]
  5145. type: string
  5146. subjectid:
  5147. description: 交易主体ID
  5148. type: integer
  5149. subjectname:
  5150. description: 交易主体名称
  5151. type: string
  5152. tradeuserid:
  5153. description: 交易员id
  5154. type: integer
  5155. tradeuserlogincode:
  5156. description: 交易员登录代码
  5157. type: string
  5158. tradeusername:
  5159. description: 交易员名称
  5160. type: string
  5161. unitid:
  5162. description: 单位id(取品类上的单位id)
  5163. type: integer
  5164. updatetime:
  5165. description: 更新时间
  5166. type: string
  5167. userid:
  5168. description: 所属机构ID
  5169. type: integer
  5170. vatrate:
  5171. description: 增值税率
  5172. type: number
  5173. wrstandardcode:
  5174. description: 品类代码
  5175. type: string
  5176. wrstandardid:
  5177. description: 品类ID
  5178. type: integer
  5179. wrstandardname:
  5180. description: 品类名称
  5181. type: string
  5182. type: object
  5183. models.Ermcp3ContractMiddleGoodsCfg:
  5184. properties:
  5185. agreeunit:
  5186. description: 合约乘数
  5187. type: number
  5188. convertratio:
  5189. description: 期货品种系数
  5190. type: number
  5191. covertqty:
  5192. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5193. type: integer
  5194. middlegoodsid:
  5195. description: 套保品种ID
  5196. type: integer
  5197. middlegoodspricedqty3:
  5198. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5199. example: "0"
  5200. type: string
  5201. pendingpricedqty:
  5202. description: 待点价量
  5203. example: "0"
  5204. type: string
  5205. relatedmiddlegoodsqty:
  5206. description: 已关联量(套保品种-期货)
  5207. example: "0"
  5208. type: string
  5209. spotcontractid:
  5210. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5211. type: string
  5212. type: object
  5213. models.Ermcp3ExposureContractDetail:
  5214. properties:
  5215. biztype:
  5216. description: 业务类型 1-套保 2-套利
  5217. type: integer
  5218. brandname:
  5219. description: 品牌名称
  5220. type: string
  5221. buyuserid:
  5222. description: 采购方id
  5223. type: integer
  5224. buyusername:
  5225. description: 采购方名称
  5226. type: string
  5227. contractno:
  5228. description: 合同编号
  5229. type: string
  5230. contracttype:
  5231. description: 现货合同类型 - 1:采购 -1:销售
  5232. type: integer
  5233. convertfactor:
  5234. description: 标仓系数
  5235. type: number
  5236. convertratio:
  5237. description: 折算系数(套保品种)
  5238. type: number
  5239. curqty:
  5240. description: 今定价量
  5241. type: number
  5242. deliverygoodscode:
  5243. description: 现货品种代码
  5244. type: string
  5245. deliverygoodsid:
  5246. description: 现货品种id
  5247. type: integer
  5248. deliverygoodsname:
  5249. description: 现货品种名称
  5250. type: string
  5251. diffhedgeqty:
  5252. description: 套保变动量
  5253. type: number
  5254. diffneedhedgeqty:
  5255. description: 应套保变动量
  5256. type: number
  5257. diffqty:
  5258. description: 套保品种今变动量
  5259. type: number
  5260. enumdicname:
  5261. description: 单位名称
  5262. type: string
  5263. mgunitname:
  5264. description: 套保品种单位名称
  5265. type: string
  5266. middlegoodscode:
  5267. description: 套保品种代码
  5268. type: string
  5269. middlegoodsid:
  5270. description: 套保品种id
  5271. type: integer
  5272. middlegoodsname:
  5273. description: 套保品种名称
  5274. type: string
  5275. needarbitrageratio:
  5276. description: 应套利比例
  5277. type: number
  5278. needhedgeratio:
  5279. description: 应套保比例
  5280. type: number
  5281. pricedqty:
  5282. description: 已定价量
  5283. type: number
  5284. qty:
  5285. description: 合同量
  5286. type: number
  5287. reckondate:
  5288. description: 交易日(reckondate)
  5289. type: string
  5290. selluserid:
  5291. description: 销售方id
  5292. type: integer
  5293. sellusername:
  5294. description: 销售方名称
  5295. type: string
  5296. spotcontractid:
  5297. description: 合同id
  5298. type: string
  5299. todaypricedqty:
  5300. description: 今定价量
  5301. type: number
  5302. tradedate:
  5303. description: 交易日
  5304. type: string
  5305. unitid:
  5306. description: 品类单位id
  5307. type: integer
  5308. userid:
  5309. description: 机构id
  5310. type: integer
  5311. username:
  5312. description: 交易用户
  5313. type: string
  5314. wrstandardcode:
  5315. description: 现货商品代码
  5316. type: string
  5317. wrstandardid:
  5318. description: 现货商品id
  5319. type: integer
  5320. wrstandardname:
  5321. description: 现货商品名称
  5322. type: string
  5323. type: object
  5324. models.Ermcp3ExposureDetail:
  5325. properties:
  5326. areauserid:
  5327. description: 机构ID
  5328. type: integer
  5329. changeQty:
  5330. description: 套保变动量
  5331. type: number
  5332. contracttype:
  5333. description: 现货合同类型 - 1:采购 -1:销售
  5334. type: integer
  5335. convertfactor:
  5336. description: 标仓系数
  5337. type: number
  5338. convertratio:
  5339. description: 折算系数
  5340. type: number
  5341. createtime:
  5342. description: 时间
  5343. type: string
  5344. enumdicname:
  5345. description: 现货商品单位名称
  5346. type: string
  5347. logtype:
  5348. description: 类型 - 1:套保计划 2:现货合同
  5349. type: integer
  5350. mgunitid:
  5351. description: 套保品种单位id
  5352. type: integer
  5353. mgunitidname:
  5354. description: 套保品种单位名称
  5355. type: string
  5356. middlegoodsId:
  5357. description: 套保商品id
  5358. type: integer
  5359. middlegoodscode:
  5360. description: 套保商品代码
  5361. type: string
  5362. middlegoodsname:
  5363. description: 套保商品名称
  5364. type: string
  5365. qty:
  5366. description: 数量
  5367. type: number
  5368. relateNo:
  5369. description: 现货合同/套保计划编号
  5370. type: string
  5371. unitid:
  5372. description: 现货商品单位id
  5373. type: integer
  5374. wrstandardcode:
  5375. description: 现货商品代码
  5376. type: string
  5377. wrstandardid:
  5378. description: 现货商品ID(SEQ_WRSTANDARD)
  5379. type: integer
  5380. wrstandardname:
  5381. description: 现货商品名称
  5382. type: string
  5383. type: object
  5384. models.Ermcp3ExposureFutuDetail:
  5385. properties:
  5386. accountid:
  5387. description: 交易账户id
  5388. type: integer
  5389. accountname:
  5390. description: 交易账户
  5391. type: string
  5392. begindate:
  5393. description: 开始交易日
  5394. type: string
  5395. buyorsell:
  5396. description: 方向 0-买 1-卖
  5397. type: integer
  5398. diffmgqty:
  5399. description: 套保品种今变化量
  5400. type: number
  5401. diffneedqty:
  5402. description: 应套保总量变化量
  5403. type: number
  5404. difftradeqty:
  5405. description: 交易品种今变化量
  5406. type: number
  5407. enddate:
  5408. description: 结束交易日
  5409. type: string
  5410. enumdicname:
  5411. description: 单位名称
  5412. type: string
  5413. goodscode:
  5414. description: 商品代码
  5415. type: string
  5416. goodsid:
  5417. description: 商品id
  5418. type: integer
  5419. goodsname:
  5420. description: 商品名称
  5421. type: string
  5422. holdqty:
  5423. description: 期末持仓量
  5424. type: number
  5425. middlegoodscode:
  5426. description: 套保商品代码
  5427. type: string
  5428. middlegoodsid:
  5429. description: 套保商品id
  5430. type: integer
  5431. middlegoodsname:
  5432. description: 套保商品名称
  5433. type: string
  5434. oriholdqty:
  5435. description: 期初持仓量
  5436. type: number
  5437. reckondate:
  5438. description: 交易日(RECKONDATE)
  5439. type: string
  5440. todaycloseqty:
  5441. description: 今平仓量
  5442. type: number
  5443. todayopenqty:
  5444. description: 今开仓量
  5445. type: number
  5446. tradedate:
  5447. description: 交易日(RECKONDATE)
  5448. type: string
  5449. username:
  5450. description: 用户名称(交易用户)
  5451. type: string
  5452. type: object
  5453. models.Ermcp3ExposureHedgeplanDetail:
  5454. properties:
  5455. biztype:
  5456. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5457. type: integer
  5458. changqty:
  5459. description: 应套保总量变化量
  5460. type: number
  5461. contracttype:
  5462. description: 计划类型 - 1:采购 -1:销售
  5463. type: integer
  5464. convertratio:
  5465. description: 折算系数(套保品种)
  5466. type: number
  5467. deliverygoodscode:
  5468. description: 现货商品代码
  5469. type: string
  5470. deliverygoodsid:
  5471. description: 现货商品id
  5472. type: integer
  5473. deliverygoodsname:
  5474. description: 现货商吕名称
  5475. type: string
  5476. dgunitid:
  5477. description: 现货商品单位id
  5478. type: integer
  5479. dgunitidname:
  5480. description: 单位名称(现货商品)
  5481. type: string
  5482. diffqty:
  5483. description: 套保品种今变动量
  5484. type: number
  5485. enumdicname:
  5486. description: 单位名称(品类)
  5487. type: string
  5488. hedgeplanid:
  5489. description: 套保计划id
  5490. type: string
  5491. hedgeplanno:
  5492. description: 套保计划名称
  5493. type: string
  5494. hedgeplanstatus:
  5495. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5496. type: integer
  5497. mgunitidname:
  5498. description: 单位名称(套保商品)
  5499. type: string
  5500. middlegoodscode:
  5501. description: 套保品种代码
  5502. type: string
  5503. middlegoodsid:
  5504. description: 套保品种id
  5505. type: integer
  5506. middlegoodsname:
  5507. description: 套保品种名称
  5508. type: string
  5509. needarbitrageratio:
  5510. description: 应套利比例
  5511. type: number
  5512. needhedgeratio:
  5513. description: 应套保比例
  5514. type: number
  5515. pricedqty:
  5516. description: 已定价量
  5517. type: number
  5518. qty:
  5519. description: 合同量
  5520. type: number
  5521. reckondate:
  5522. description: 交易日(reckondate)
  5523. type: string
  5524. tradedate:
  5525. description: 交易日(登记日)
  5526. type: string
  5527. unitid:
  5528. description: 品类单位id
  5529. type: integer
  5530. userid:
  5531. description: 机构id
  5532. type: integer
  5533. wrstandardcode:
  5534. description: 品类代码
  5535. type: string
  5536. wrstandardid:
  5537. description: 品类id
  5538. type: integer
  5539. wrstandardname:
  5540. description: 品类名称
  5541. type: string
  5542. type: object
  5543. models.Ermcp3ExposureParamChLog:
  5544. properties:
  5545. accountid:
  5546. description: 期货账户ID (作废, 默认为0)
  5547. type: integer
  5548. aftervalue:
  5549. description: 应套保\套利量变更后(调整后应套保总量)
  5550. type: number
  5551. areauserid:
  5552. description: 所属机构\交易用户ID
  5553. type: integer
  5554. beforevalue:
  5555. description: 应套保\套利量变更前(调整前应套保总量)
  5556. type: number
  5557. begindate:
  5558. description: 开始交易日
  5559. type: string
  5560. changelogtype:
  5561. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5562. type: integer
  5563. curvalue:
  5564. description: 当前套保\套利量(套保总量|套利总量)
  5565. type: number
  5566. diffvalue:
  5567. description: 应套保总量变化量
  5568. type: number
  5569. enddate:
  5570. description: 结束交易日
  5571. type: string
  5572. logdatetime:
  5573. description: 流水日期
  5574. type: string
  5575. logid:
  5576. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5577. type: string
  5578. middlegoodscode:
  5579. description: 套保品种代码
  5580. type: string
  5581. middlegoodsid:
  5582. description: 套保品种
  5583. type: integer
  5584. middlegoodsname:
  5585. description: 套保品种名称
  5586. type: string
  5587. paramaftervalue:
  5588. description: 参数变更后(调整后参数值)
  5589. type: number
  5590. parambeforevalue:
  5591. description: 参数变更前(调整前参数值)
  5592. type: number
  5593. reckondate:
  5594. description: 交易日(reckondate)
  5595. type: string
  5596. tradedate:
  5597. description: 交易日(yyyyMMdd)
  5598. type: string
  5599. type: object
  5600. models.Ermcp3ExpourseReport:
  5601. properties:
  5602. accountid:
  5603. description: 期货账户ID (作废, 默认为0)
  5604. type: integer
  5605. accountname:
  5606. description: 机构名称
  5607. type: string
  5608. arbitrageqty:
  5609. description: 套利量
  5610. type: number
  5611. areauserid:
  5612. description: 所属机构\交易用户ID
  5613. type: integer
  5614. begindate:
  5615. description: 开始交易日
  5616. type: string
  5617. buyfutureqty:
  5618. description: 买入期货数量
  5619. type: number
  5620. buyplanqty:
  5621. description: 采购计划数量
  5622. type: number
  5623. buypricedqty:
  5624. description: 采购合同已定价数量
  5625. type: number
  5626. cycletime:
  5627. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5628. type: string
  5629. cycletype:
  5630. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5631. type: integer
  5632. diffexposure:
  5633. description: 变动量(套保敞口)
  5634. type: number
  5635. difffutuqty:
  5636. description: 变动量(期货)
  5637. type: number
  5638. diffhedgeqty:
  5639. description: 变动量(现货应套保总量)
  5640. type: number
  5641. diffmgqtya:
  5642. description: 套保变动量
  5643. type: number
  5644. diffmgqtyb:
  5645. description: 套利变动量
  5646. type: number
  5647. diffneedqty:
  5648. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5649. type: number
  5650. diffqty:
  5651. description: 变动量(总敞口)
  5652. type: number
  5653. diffspotqty:
  5654. description: 变动量(现货) | 除税变动量
  5655. type: number
  5656. enddate:
  5657. description: 结束交易日
  5658. type: string
  5659. enumdicname:
  5660. description: 单位名称
  5661. type: string
  5662. hedgeqty:
  5663. description: 套保量
  5664. type: number
  5665. mgneedhedgeratio:
  5666. description: 套保比例(套保品的)
  5667. type: number
  5668. middlegoodsid:
  5669. description: 套保品种ID
  5670. type: integer
  5671. middlegoodsname:
  5672. description: 套保商品名称
  5673. type: string
  5674. middlgoodscode:
  5675. description: 套保商品代码
  5676. type: string
  5677. needarbitrageqty:
  5678. description: 应套利量
  5679. type: number
  5680. needarbitrageratio:
  5681. description: 套利比例(套保品的)
  5682. type: number
  5683. needhedgeexposoure:
  5684. description: 应套保敞口(套保敞口)
  5685. type: number
  5686. needhedgeqty:
  5687. description: 应套保量
  5688. type: number
  5689. needhedgeratio:
  5690. description: 应套保敞口比例
  5691. type: number
  5692. needqty:
  5693. description: 应套总量 = 应套保量 + 应套利量
  5694. type: number
  5695. oriarbitrageqty:
  5696. description: 期初套利量
  5697. type: number
  5698. oribuyfutureqty:
  5699. description: 期初买入期货数量
  5700. type: number
  5701. oribuyplanqty:
  5702. description: 期初采购计划数量
  5703. type: number
  5704. oribuypricedqty:
  5705. description: 期初采购合同已定价数量
  5706. type: number
  5707. orihedgeqty:
  5708. description: 期初套保量
  5709. type: number
  5710. orineedarbitrageqty:
  5711. description: 期初应套利量
  5712. type: number
  5713. orineedhedgeexposoure:
  5714. description: 期初应套保敞口
  5715. type: number
  5716. orineedhedgeqty:
  5717. description: 期初应套保量
  5718. type: number
  5719. orisellfutureqty:
  5720. description: 期初卖出期货数量
  5721. type: number
  5722. orisellplanqty:
  5723. description: 期初销售计划数量
  5724. type: number
  5725. orisellpricedqty:
  5726. description: 期初销售合同已定价数量
  5727. type: number
  5728. oritotalexposure:
  5729. description: 期初实时总敞口
  5730. type: number
  5731. oritotalfutureqty:
  5732. description: 期初期货头寸总量
  5733. type: number
  5734. oritotalneedhedgeqty:
  5735. description: 期初应套保总量
  5736. type: number
  5737. oritotalspotqty:
  5738. description: 期初现货头寸总量
  5739. type: number
  5740. reckondate:
  5741. description: 日照时期(yyyyMMdd)
  5742. type: string
  5743. sellfutureqty:
  5744. description: 卖出期货数量
  5745. type: number
  5746. sellplanqty:
  5747. description: 销售计划数量
  5748. type: number
  5749. sellpricedqty:
  5750. description: 销售合同已定价数量
  5751. type: number
  5752. totalexposure:
  5753. description: 实时总敞口(总敞口)
  5754. type: number
  5755. totalfutureqty:
  5756. description: 期货头寸总量(期货总量)
  5757. type: number
  5758. totalhedgeratio:
  5759. description: 敞口比例
  5760. type: number
  5761. totalneedhedgeqty:
  5762. description: 应套保总量(现货应套保总量)
  5763. type: number
  5764. totalspotqty:
  5765. description: 现货头寸总量 | 除税总量
  5766. type: number
  5767. unitid:
  5768. description: 单位id
  5769. type: integer
  5770. updatetime:
  5771. description: 更新时间
  5772. type: string
  5773. type: object
  5774. models.Ermcp3FinanceReport:
  5775. properties:
  5776. accountname:
  5777. description: 机构名称
  5778. type: string
  5779. areauserid:
  5780. description: 所属机构\交易用户ID
  5781. type: integer
  5782. begindate:
  5783. description: 开始交易日
  5784. type: string
  5785. biztype:
  5786. description: 业务类型 - 1:套保 2:套利
  5787. type: integer
  5788. brandname:
  5789. description: 品牌名称
  5790. type: string
  5791. buypreinvoicedamount:
  5792. description: 采购预收票额(预收票额)
  5793. type: number
  5794. buyprepaidamount:
  5795. description: 采购预付款额(预付货款额)
  5796. type: number
  5797. buytodayinvoiceamount:
  5798. description: 采购今收票额(今收票额)
  5799. type: number
  5800. buytodayrefundamount:
  5801. description: 采购今收退款额(今收退款额)
  5802. type: number
  5803. buytodaysettleamount:
  5804. description: 采购今付款额(今付货款额)
  5805. type: number
  5806. buyuninvoicedamount:
  5807. description: 采购应收票额(应收票额)
  5808. type: number
  5809. buyunpaidamount:
  5810. description: 采购应付款额(应付货款额)
  5811. type: number
  5812. currencyid:
  5813. description: 结算币种ID
  5814. type: integer
  5815. currencyname:
  5816. description: 币种名称
  5817. type: string
  5818. cycletime:
  5819. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5820. type: string
  5821. cycletype:
  5822. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5823. type: integer
  5824. deliverygoodscode:
  5825. description: 现货品种代码
  5826. type: string
  5827. deliverygoodsid:
  5828. description: 现货品种ID
  5829. type: integer
  5830. deliverygoodsname:
  5831. description: 现货品种名称
  5832. type: string
  5833. enddate:
  5834. description: 结束交易日
  5835. type: string
  5836. reckondate:
  5837. description: 日照时期(yyyyMMdd)
  5838. type: string
  5839. sellpreinvoicedamount:
  5840. description: 销售预开票额(预开票额)
  5841. type: number
  5842. sellprepaidamount:
  5843. description: 销售预收款额(预收货款额)
  5844. type: number
  5845. selltodayinvoiceamount:
  5846. description: 销售今开票额(今开票额)
  5847. type: number
  5848. selltodayrefundamount:
  5849. description: 销售今付退款额(今付退款额)
  5850. type: number
  5851. selltodaysettleamount:
  5852. description: 销售今收款额(今收货款额)
  5853. type: number
  5854. selluninvoicedamount:
  5855. description: 销售应开票额(应开票额)
  5856. type: number
  5857. sellunpaidamount:
  5858. description: 销售应收款额(应收货款额)
  5859. type: number
  5860. spotgoodsbrandid:
  5861. description: 现货品牌ID
  5862. type: integer
  5863. todaypaysum:
  5864. description: 今付款合计
  5865. type: number
  5866. todayreceivesum:
  5867. description: 今收款合计
  5868. type: number
  5869. updatetime:
  5870. description: 更新时间
  5871. type: string
  5872. wrfactortypeid:
  5873. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5874. type: integer
  5875. wrstandardcode:
  5876. description: 品类代码
  5877. type: string
  5878. wrstandardid:
  5879. description: 现货商品ID
  5880. type: integer
  5881. wrstandardname:
  5882. description: 品类名称
  5883. type: string
  5884. type: object
  5885. models.Ermcp3GoodsGroup:
  5886. properties:
  5887. agreeunit:
  5888. description: 合约单位
  5889. type: number
  5890. areauserid:
  5891. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5892. type: integer
  5893. canshort:
  5894. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5895. type: integer
  5896. closepricemode:
  5897. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5898. type: integer
  5899. createtime:
  5900. description: 创建时间
  5901. type: string
  5902. creatorid:
  5903. description: 创建人
  5904. type: integer
  5905. currencyid:
  5906. description: 报价货币ID
  5907. type: integer
  5908. decimalplace:
  5909. description: 报价小数位
  5910. type: integer
  5911. enumdicname:
  5912. description: 单位名称
  5913. type: string
  5914. exchangefullname:
  5915. description: 交易所全称
  5916. type: string
  5917. excludecfg:
  5918. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5919. type: integer
  5920. exexchangecode:
  5921. description: 交易所代码
  5922. type: string
  5923. exexchangeid:
  5924. description: 外部交易所ID[通道交易]
  5925. type: integer
  5926. exexchangename:
  5927. description: 交易所名称
  5928. type: string
  5929. goodsgroupid:
  5930. description: 商品组ID(自增ID)
  5931. type: integer
  5932. goodsgroupname:
  5933. description: 商品组名称
  5934. type: string
  5935. goodsgroupstatus:
  5936. description: 商品组状态 - 1:正常 2:注销
  5937. type: integer
  5938. goodunitid:
  5939. description: 报价单位ID
  5940. type: integer
  5941. groupcategroyid:
  5942. description: 品种分类ID
  5943. type: integer
  5944. innerdealmode:
  5945. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5946. type: integer
  5947. marketid:
  5948. description: 所属市场ID
  5949. type: integer
  5950. modifierid:
  5951. description: 修改人
  5952. type: integer
  5953. modifytime:
  5954. description: 修改时间
  5955. type: string
  5956. outerdealmode:
  5957. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5958. type: integer
  5959. outergroupcode:
  5960. description: 外部商品组代码[通道交易]
  5961. type: string
  5962. quoteminunit:
  5963. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5964. type: integer
  5965. quotesourcegroupid:
  5966. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5967. type: integer
  5968. syncgoodsqty:
  5969. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5970. type: integer
  5971. required:
  5972. - areauserid
  5973. type: object
  5974. models.Ermcp3HPMiddleGoods:
  5975. properties:
  5976. biztype:
  5977. description: 业务类型 1:套保 2:套利
  5978. type: integer
  5979. contracttype:
  5980. description: 合同类型 1:采购 -1:销售
  5981. type: integer
  5982. convertratio:
  5983. description: 折算系数
  5984. type: number
  5985. customername:
  5986. description: 对手手名称
  5987. type: string
  5988. customeruserid:
  5989. description: 对手id
  5990. type: integer
  5991. enumdicname:
  5992. description: 现货单位名称
  5993. type: string
  5994. hedgeplanid:
  5995. description: 计划id
  5996. type: string
  5997. hedgeplanno:
  5998. description: 计划编号
  5999. type: string
  6000. middlegoodsid:
  6001. description: 套保品种ID
  6002. type: integer
  6003. middlegoodsplanqty3:
  6004. description: 应套保计划量
  6005. type: number
  6006. needhedgeratio:
  6007. description: 套保比例
  6008. type: number
  6009. pricedqty:
  6010. description: 已定价量
  6011. type: number
  6012. relatedmiddlegoodsqty:
  6013. description: 已关联量(套保品种)(期货)
  6014. type: number
  6015. unitid:
  6016. description: 现货单位id
  6017. type: integer
  6018. userid:
  6019. description: 用户id
  6020. type: integer
  6021. vatrate:
  6022. description: 增值税率
  6023. type: number
  6024. wrstandardcode:
  6025. description: 现货商品代码
  6026. type: string
  6027. wrstandardid:
  6028. description: 现货商品id
  6029. type: integer
  6030. wrstandardname:
  6031. description: 现货商品名称
  6032. type: string
  6033. type: object
  6034. models.Ermcp3HedgePlan:
  6035. properties:
  6036. accountid:
  6037. description: 资金账号
  6038. type: integer
  6039. areauserid:
  6040. description: 用户ID
  6041. type: integer
  6042. auditid:
  6043. description: 审核id
  6044. type: integer
  6045. auditname:
  6046. description: 审核人名称
  6047. type: string
  6048. auditremark:
  6049. description: 审核备注
  6050. type: string
  6051. auditsrc:
  6052. description: 审核来源 1-管理端 2-终端
  6053. type: integer
  6054. audittime:
  6055. description: 审核时间
  6056. type: string
  6057. contracttype:
  6058. description: 计划类型 - 1:采购 -1:销售
  6059. type: integer
  6060. convertfactor:
  6061. description: 标仓系数
  6062. type: number
  6063. createtime:
  6064. description: 创建时间
  6065. type: string
  6066. currencyid:
  6067. description: 币种id
  6068. type: integer
  6069. currencyname:
  6070. description: 币种名称
  6071. type: string
  6072. deliverygoodscode:
  6073. description: 现货品种代码
  6074. type: string
  6075. deliverygoodsid:
  6076. description: 现货品种ID
  6077. type: integer
  6078. deliverygoodsname:
  6079. description: 现货品种名称
  6080. type: string
  6081. enumdicname:
  6082. description: 单位名称(现货商品)
  6083. type: string
  6084. hedgeplanid:
  6085. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6086. type: string
  6087. hedgeplanno:
  6088. description: 套保计划编号(名称)
  6089. type: string
  6090. hedgeplanstatus:
  6091. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6092. type: integer
  6093. planqty:
  6094. description: 计划数量
  6095. type: number
  6096. plantime:
  6097. description: 计划时间
  6098. type: string
  6099. producttype:
  6100. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6101. type: integer
  6102. remark:
  6103. description: 备注
  6104. type: string
  6105. spotgoodsdesc:
  6106. description: 商品型号
  6107. type: string
  6108. taaccountname:
  6109. description: 资金账号名称
  6110. type: string
  6111. tradeuserid:
  6112. description: 交易用户id
  6113. type: integer
  6114. tradeusername:
  6115. description: 交易用户名称
  6116. type: string
  6117. unitid:
  6118. description: 单位id(现货商品)
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. vatrate:
  6124. description: 增值税率
  6125. type: number
  6126. wrstandardcode:
  6127. description: 品类代码
  6128. type: string
  6129. wrstandardid:
  6130. description: 品类id
  6131. type: integer
  6132. wrstandardname:
  6133. description: 品类名称
  6134. type: string
  6135. wrunitid:
  6136. description: 品类单位id
  6137. type: integer
  6138. wrunitidame:
  6139. description: 品类单位名称
  6140. type: string
  6141. type: object
  6142. models.Ermcp3InnerTradeLink:
  6143. properties:
  6144. accountid:
  6145. description: 期货账号代码 | 资金账号ID
  6146. type: integer
  6147. buyorsell:
  6148. description: 方向 - 0:买 1:卖
  6149. type: integer
  6150. channelbuildtype:
  6151. description: 委托单据类型 0:无 1:建仓 2:平仓
  6152. type: integer
  6153. currencyid:
  6154. description: 币种id
  6155. type: integer
  6156. currencyname:
  6157. description: 结算币种 名称
  6158. type: string
  6159. goodscode:
  6160. description: 商品代码
  6161. type: string
  6162. goodsid:
  6163. description: 商品ID
  6164. type: integer
  6165. goodsname:
  6166. description: 商品名称
  6167. type: string
  6168. outtradeid:
  6169. description: 外部成交单号
  6170. type: string
  6171. taname:
  6172. description: 期货账户名称
  6173. type: string
  6174. tradeid:
  6175. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6176. type: string
  6177. tradeprice:
  6178. description: 成交价格
  6179. type: number
  6180. tradeqty:
  6181. description: 期货成交数量
  6182. type: integer
  6183. tradetime:
  6184. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6185. type: string
  6186. username:
  6187. description: 用户名称
  6188. type: string
  6189. type: object
  6190. models.Ermcp3OutTradeLink:
  6191. properties:
  6192. buyorsell:
  6193. description: 买卖方向 - 0:买 1:卖
  6194. type: integer
  6195. channelbuildtype:
  6196. description: 开平标志- 0:无 1:建仓 2:平仓
  6197. type: integer
  6198. currencyname:
  6199. description: 币种名称
  6200. type: string
  6201. exexchangecode:
  6202. description: 交易所代码
  6203. type: string
  6204. exexchangename:
  6205. description: 交易所名称
  6206. type: string
  6207. goodscode:
  6208. description: 合约代码
  6209. type: string
  6210. goodsid:
  6211. description: 合约id
  6212. type: integer
  6213. goodsname:
  6214. description: 合约名称
  6215. type: string
  6216. hasinnerorder:
  6217. description: 是否有内部单关联 - 0:无 1:有
  6218. type: integer
  6219. hedgeaccountcode:
  6220. description: 外部账号 | 对冲账号
  6221. type: string
  6222. outtradeid:
  6223. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6224. type: string
  6225. tradeprice:
  6226. description: 成交价格
  6227. type: number
  6228. tradeqty:
  6229. description: 成交数量
  6230. type: integer
  6231. tradetime:
  6232. description: 成交时间
  6233. type: string
  6234. type: object
  6235. models.Ermcp3PaAreaAuditCfg:
  6236. properties:
  6237. areauserid:
  6238. description: 用户ID
  6239. type: integer
  6240. buyinauditflag:
  6241. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6242. type: integer
  6243. costratioauditflag:
  6244. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6245. type: integer
  6246. customerauditflag:
  6247. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6248. type: integer
  6249. deliveryauditflag:
  6250. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6251. type: integer
  6252. invoiceauditflag:
  6253. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6254. type: integer
  6255. mgneedhedgeratioauditflag:
  6256. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6257. type: integer
  6258. moneyauditflag:
  6259. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6260. type: integer
  6261. operatorid:
  6262. description: 操作人
  6263. type: integer
  6264. operatorsrc:
  6265. description: 操作来源 - 1:管理端 2:终端
  6266. type: integer
  6267. pointpriceauditflag:
  6268. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6269. type: integer
  6270. produceinauditflag:
  6271. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6272. type: integer
  6273. produceoutauditflag:
  6274. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6275. type: integer
  6276. selloutauditflag:
  6277. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6278. type: integer
  6279. sgconvertratioauditflag:
  6280. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6281. type: integer
  6282. sgvtaratioauditflag:
  6283. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6284. type: integer
  6285. spotcontractauditflag:
  6286. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6287. type: integer
  6288. updatetime:
  6289. description: 更新时间
  6290. type: string
  6291. type: object
  6292. models.Ermcp3PaAreaSubject:
  6293. properties:
  6294. areauserid:
  6295. description: 所属机构
  6296. type: integer
  6297. canmodify:
  6298. description: 是否可修改 - 0:否 1:是
  6299. type: integer
  6300. createtime:
  6301. description: 创建时间
  6302. type: string
  6303. creatorid:
  6304. description: 创建人ID
  6305. type: string
  6306. creatorsrc:
  6307. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6308. type: integer
  6309. modifierid:
  6310. description: 修改人
  6311. type: string
  6312. modifiersrc:
  6313. description: 修改人来源 - 1:管理端 2:终端
  6314. type: integer
  6315. modifytime:
  6316. description: 修改时间
  6317. type: string
  6318. parentsubjectid:
  6319. description: 上级主体ID
  6320. type: string
  6321. remark:
  6322. description: 备注
  6323. type: string
  6324. subjectid:
  6325. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6326. type: integer
  6327. subjectname:
  6328. description: 主体名称
  6329. type: string
  6330. subjectstatus:
  6331. description: '主体状态 - 1:正常 2: 停用'
  6332. type: integer
  6333. subjecttype:
  6334. description: 主体类型 - 1:交易主体 2:业务部门
  6335. type: integer
  6336. type: object
  6337. models.Ermcp3PaTradeLink:
  6338. properties:
  6339. accountid:
  6340. description: 期货账户代码 | 账号ID
  6341. type: integer
  6342. agreeunit:
  6343. description: 合约乘数
  6344. type: number
  6345. buyorsell:
  6346. description: 方向 - 0:买 1:卖
  6347. type: integer
  6348. channelbuildtype:
  6349. description: 委托单据类型 0:无 1:建仓 2:平仓
  6350. type: integer
  6351. charge:
  6352. description: 手续费
  6353. type: number
  6354. closepl:
  6355. description: 平仓盈亏
  6356. type: number
  6357. closetype:
  6358. description: 平仓方式 - 0:无 1:平今 2:平昨
  6359. type: integer
  6360. convertratio:
  6361. description: 折算系数
  6362. type: number
  6363. enumdicname:
  6364. description: 单位名称
  6365. type: string
  6366. executeprice:
  6367. description: 执行价 [期权]
  6368. type: integer
  6369. goodscode:
  6370. description: 合约代码
  6371. type: string
  6372. goodsgroupid:
  6373. description: 对冲品种ID[期货合约商品组ID]
  6374. type: integer
  6375. goodsid:
  6376. description: 商品ID
  6377. type: integer
  6378. goodsname:
  6379. description: 合约名称
  6380. type: string
  6381. goodunitid:
  6382. description: 单位id
  6383. type: integer
  6384. hedgeflag:
  6385. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6386. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6387. type: integer
  6388. marketid:
  6389. description: 市场ID
  6390. type: integer
  6391. middlegoodsid:
  6392. description: 套保品种ID
  6393. type: integer
  6394. middlegoodsqty:
  6395. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6396. type: number
  6397. optioncode:
  6398. description: 期权代码 [期权]
  6399. type: string
  6400. ordertype:
  6401. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6402. type: integer
  6403. ordertypename:
  6404. description: 订单类型
  6405. type: string
  6406. parentaccountid:
  6407. description: 所属母账户
  6408. type: integer
  6409. premium:
  6410. description: 权利金 [期权]
  6411. type: number
  6412. relatedlot:
  6413. description: 已关联数量(已关联数量手) | db:关联手数
  6414. type: number
  6415. relatedouttradeid:
  6416. description: 关联外部成交单ID
  6417. type: string
  6418. relatedqty:
  6419. description: 关联数量
  6420. type: number
  6421. spotcontractid:
  6422. description: 现货合同ID [4:套期保值\10\11]
  6423. type: string
  6424. taname:
  6425. description: 期货账户名称
  6426. type: string
  6427. tradeamount:
  6428. description: 成交金额(账户)
  6429. type: number
  6430. tradedate:
  6431. description: 交易日(yyyyMMdd)
  6432. type: string
  6433. tradeid:
  6434. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6435. type: string
  6436. tradelot:
  6437. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6438. type: integer
  6439. tradeprice:
  6440. description: 成交价格
  6441. type: number
  6442. tradetime:
  6443. description: 时间 | db:成交时间
  6444. type: string
  6445. tradetype:
  6446. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6447. type: integer
  6448. userid:
  6449. description: 所属机构 - 所属母账户的UserID
  6450. type: string
  6451. username:
  6452. description: 用户名称
  6453. type: string
  6454. type: object
  6455. models.Ermcp3ParamChangeApp:
  6456. properties:
  6457. aftervalue:
  6458. description: 变更后
  6459. type: number
  6460. applicationid:
  6461. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6462. type: string
  6463. applyid:
  6464. description: 申请人
  6465. type: string
  6466. applyname:
  6467. description: 申请人名称(代码)
  6468. type: string
  6469. applyremark:
  6470. description: 申请备注
  6471. type: string
  6472. applysrc:
  6473. description: 申请来源 - 1:管理端 2:终端
  6474. type: integer
  6475. applystatus:
  6476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6477. type: integer
  6478. applytime:
  6479. description: 申请时间
  6480. type: string
  6481. areauserid:
  6482. description: 所属机构用户ID
  6483. type: integer
  6484. auditid:
  6485. description: 审核人
  6486. type: string
  6487. auditname:
  6488. description: 审核人名称(代码)
  6489. type: string
  6490. auditremark:
  6491. description: 审核备注
  6492. type: string
  6493. auditsrc:
  6494. description: 审核来源 - 1:管理端 2:终端
  6495. type: integer
  6496. audittime:
  6497. description: 审核时间
  6498. type: string
  6499. audittradedate:
  6500. description: 审核交易日(yyyyMMdd)
  6501. type: string
  6502. beforevalue:
  6503. description: 变更前
  6504. type: number
  6505. deliverygoodscode:
  6506. description: 品种代码
  6507. type: string
  6508. deliverygoodsid:
  6509. description: 品种id
  6510. type: integer
  6511. deliverygoodsname:
  6512. description: 品种名称
  6513. type: string
  6514. middlegoodscode:
  6515. description: 套保品种代码
  6516. type: string
  6517. middlegoodsid:
  6518. description: 套保品种ID [ParamChangeType = 2,3,4]
  6519. type: integer
  6520. middlegoodsname:
  6521. description: 套保品种名称
  6522. type: string
  6523. operatetype:
  6524. description: 操作类型 - 1:新增 2:修改
  6525. type: integer
  6526. paramchangetype:
  6527. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6528. type: integer
  6529. wrstandardcode:
  6530. description: 现货商品代码
  6531. type: string
  6532. wrstandardid:
  6533. description: 现货商品ID [ParamChangeType = 1,2,3]
  6534. type: integer
  6535. wrstandardname:
  6536. description: 现货商品名称
  6537. type: string
  6538. type: object
  6539. models.Ermcp3RootUserAccount:
  6540. properties:
  6541. accountname:
  6542. description: 账户名称(机构名称)
  6543. type: string
  6544. accountstatus:
  6545. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6546. type: integer
  6547. applysrc:
  6548. description: 申请来源 - 1:管理端 2:终端
  6549. type: integer
  6550. auditremark:
  6551. description: 审核备注
  6552. type: string
  6553. auditsrc:
  6554. description: 审核来源 - 1:管理端 2:终端
  6555. type: integer
  6556. audittime:
  6557. description: 审核时间
  6558. type: string
  6559. audituserid:
  6560. description: 审核人
  6561. type: integer
  6562. broker:
  6563. description: 所属经纪人ID
  6564. type: integer
  6565. canceltime:
  6566. description: 销户时间
  6567. type: string
  6568. canceluserid:
  6569. description: 销户人
  6570. type: integer
  6571. canrecommend:
  6572. description: 是否可推荐 - 0:不可 1;可
  6573. type: integer
  6574. createtime:
  6575. description: 创建时间
  6576. type: string
  6577. creatorid:
  6578. description: 创建人
  6579. type: integer
  6580. hasauth:
  6581. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6582. type: integer
  6583. isanonymous:
  6584. description: 是否匿名下单 - 0:否 1:是
  6585. type: integer
  6586. maxinvestornum:
  6587. description: 最大用户数(经纪会员下投资者个数)
  6588. type: integer
  6589. memberuserid:
  6590. description: 所属会员ID
  6591. type: integer
  6592. modifierid:
  6593. description: 修改人
  6594. type: integer
  6595. modifyremark:
  6596. description: 变更备注
  6597. type: string
  6598. modifystatus:
  6599. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6600. type: integer
  6601. modifytime:
  6602. description: 修改时间
  6603. type: string
  6604. nickname:
  6605. description: 昵称
  6606. type: string
  6607. parenttopuser:
  6608. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6609. type: string
  6610. parentuserid:
  6611. description: 所属机构ID
  6612. type: integer
  6613. reckonaccountid:
  6614. description: 默认结算资金账号ID(机构分润使用) 作废
  6615. type: integer
  6616. refercount:
  6617. description: 推荐总人数
  6618. type: integer
  6619. refereeuserid:
  6620. description: 推荐人ID
  6621. type: integer
  6622. refernum:
  6623. description: 推荐码
  6624. type: string
  6625. rootuserid:
  6626. description: 根用户ID
  6627. type: integer
  6628. subaccountlevel:
  6629. description: 子账户层数
  6630. type: integer
  6631. subarealevelpath:
  6632. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6633. type: string
  6634. userid:
  6635. description: 用户ID
  6636. type: integer
  6637. usertype:
  6638. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6639. type: integer
  6640. type: object
  6641. models.Ermcp3SCMiddleGoods:
  6642. properties:
  6643. biztype:
  6644. description: 业务类型 1:套保 2:套利
  6645. type: integer
  6646. contractno:
  6647. description: 合同编号
  6648. type: string
  6649. contracttype:
  6650. description: 合同类型 1:采购 -1:销售
  6651. type: integer
  6652. convertratio:
  6653. description: 折算系数
  6654. type: number
  6655. customername:
  6656. description: 对手手名称
  6657. type: string
  6658. customeruserid:
  6659. description: 对手id
  6660. type: integer
  6661. deliverygoodscode:
  6662. description: 现货品种代码
  6663. type: string
  6664. deliverygoodsid:
  6665. description: 现货品种ID
  6666. type: integer
  6667. deliverygoodsname:
  6668. description: 现货品种名称
  6669. type: string
  6670. enumdicname:
  6671. description: 现货单位名称
  6672. type: string
  6673. middlegoodsid:
  6674. description: 套保品种ID
  6675. type: integer
  6676. middlegoodspricedqty3:
  6677. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6678. type: number
  6679. needhedgeratio:
  6680. description: 套保比例
  6681. type: number
  6682. pricedqty:
  6683. description: 已定价量
  6684. type: number
  6685. relatedmiddlegoodsqty:
  6686. description: 已关联量(套保品种)(期货)
  6687. type: number
  6688. spotcontractid:
  6689. description: 合同编号
  6690. type: string
  6691. unitid:
  6692. description: 现货单位id
  6693. type: integer
  6694. userid:
  6695. description: 用户id
  6696. type: integer
  6697. vatrate:
  6698. description: 增值税率
  6699. type: number
  6700. wrstandardcode:
  6701. description: 现货商品代码
  6702. type: string
  6703. wrstandardid:
  6704. description: 现货商品id
  6705. type: integer
  6706. wrstandardname:
  6707. description: 现货商品名称
  6708. type: string
  6709. type: object
  6710. models.Ermcp3SCMiddleGoodsReport:
  6711. properties:
  6712. begindate:
  6713. description: 开始交易日
  6714. type: string
  6715. contractno:
  6716. description: 合同编号
  6717. type: string
  6718. contracttype:
  6719. description: 合同类型 1:采购 -1:销售
  6720. type: integer
  6721. convertratio:
  6722. description: 折算系数
  6723. type: number
  6724. cycletime:
  6725. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6726. type: string
  6727. cycletype:
  6728. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6729. type: integer
  6730. deliverygoodscode:
  6731. description: 品种代码
  6732. type: string
  6733. deliverygoodsid:
  6734. description: 现货品种ID
  6735. type: integer
  6736. deliverygoodsname:
  6737. description: 品种名称
  6738. type: string
  6739. diffprice:
  6740. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6741. type: number
  6742. diffqty:
  6743. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6744. type: number
  6745. enddate:
  6746. description: 结束交易日
  6747. type: string
  6748. hedgeplanqty:
  6749. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6750. type: number
  6751. matchname:
  6752. description: 交易对手方(个人:用户名称 企业:简称)
  6753. type: string
  6754. matchnickname:
  6755. description: 交易对手方昵称
  6756. type: string
  6757. middlegoodscode:
  6758. description: 套保品种代码
  6759. type: string
  6760. middlegoodsid:
  6761. description: 套保品种ID
  6762. type: integer
  6763. middlegoodsname:
  6764. description: 套保品种名称
  6765. type: string
  6766. middlegoodspricedqty:
  6767. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6768. type: number
  6769. middlegoodspricedqty2:
  6770. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6771. type: number
  6772. middlegoodspricedqty3:
  6773. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6774. type: number
  6775. needhedgeratio:
  6776. description: 套保系数
  6777. type: number
  6778. pricedamount:
  6779. description: 已定价额(现货)
  6780. type: number
  6781. pricedamount2:
  6782. description: 已定价额(现货-基价额)
  6783. type: number
  6784. pricedqty:
  6785. description: 已定价量(现货)
  6786. type: number
  6787. reckondate:
  6788. description: 日照时期(yyyyMMdd)
  6789. type: string
  6790. relatedmiddlegoodsamount:
  6791. description: 已关联额(期货)
  6792. type: number
  6793. relatedmiddlegoodsqty:
  6794. description: 已关联量(套保品种)(期货)
  6795. type: number
  6796. spotcontractid:
  6797. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6798. type: string
  6799. todayavgfutuprice:
  6800. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6801. type: number
  6802. todayavgprice:
  6803. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6804. type: number
  6805. todayavgprice2:
  6806. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6807. type: number
  6808. todaypricedamount:
  6809. description: 今日定价额(现货)
  6810. type: number
  6811. todaypricedamount2:
  6812. description: 今日定价额(现货-基价额)
  6813. type: number
  6814. todaypricedqty:
  6815. description: 今日定价量(现货)
  6816. type: number
  6817. todayrelatedfutureqty:
  6818. description: 今日关联量(期货)
  6819. type: number
  6820. todayrelatedmiddlegoodsamount:
  6821. description: 今日关联额(期货)
  6822. type: number
  6823. todayrelatedmiddlegoodsqty:
  6824. description: 今日关联量(套保品-期货)
  6825. type: number
  6826. updatetime:
  6827. description: 更新时间
  6828. type: string
  6829. userid:
  6830. description: 合同所属用户id
  6831. type: integer
  6832. vatrate:
  6833. description: 增值税率
  6834. type: number
  6835. wrstandardcode:
  6836. description: 商品(品类) 代码
  6837. type: string
  6838. wrstandardid:
  6839. description: 现货商品ID
  6840. type: integer
  6841. wrstandardname:
  6842. description: 商品(品类) 名称
  6843. type: string
  6844. type: object
  6845. models.Ermcp3SellBuyContract:
  6846. properties:
  6847. accountid:
  6848. description: 期货账户id
  6849. type: string
  6850. accountname:
  6851. description: 账户名称
  6852. type: string
  6853. attachment:
  6854. description: 附件
  6855. type: string
  6856. audittime:
  6857. description: 审核时间
  6858. type: string
  6859. bizsubjectid:
  6860. description: 归属业务部门ID - SubjectID
  6861. type: integer
  6862. biztype:
  6863. description: 业务类型 1-套保 2-套利
  6864. type: integer
  6865. brandname:
  6866. description: 品牌名称
  6867. type: string
  6868. contracctstatus:
  6869. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6870. type: integer
  6871. contractmargin:
  6872. description: 合同保证金
  6873. type: number
  6874. contractno:
  6875. description: 合同编号
  6876. type: string
  6877. contracttype:
  6878. description: 合同类型 1-采购, -1-销售
  6879. type: integer
  6880. convertfactor:
  6881. description: 标仓系数(品类)
  6882. type: number
  6883. createtime:
  6884. description: 创建时间
  6885. type: string
  6886. currencyid:
  6887. description: 币种id
  6888. type: integer
  6889. currencyname:
  6890. description: 币种名称
  6891. type: string
  6892. daikaiamount:
  6893. description: 应收(开)票额 | 未收票额
  6894. type: number
  6895. deliveryenddate:
  6896. description: 交割结束日
  6897. type: string
  6898. deliverygoodscode:
  6899. description: 现货品种代码
  6900. type: string
  6901. deliverygoodsid:
  6902. description: 现货商品ID
  6903. type: integer
  6904. deliverygoodsname:
  6905. description: 现货品种名称
  6906. type: string
  6907. deliverystartdate:
  6908. description: 交割开始日
  6909. type: string
  6910. enddate:
  6911. description: 点价结束日
  6912. type: string
  6913. enumdicname:
  6914. description: 单位名称
  6915. type: string
  6916. goodscode:
  6917. description: 点价商品代码
  6918. type: string
  6919. goodsgroupid:
  6920. description: 点价商品组id
  6921. type: integer
  6922. goodsid:
  6923. description: 点价商品ID
  6924. type: integer
  6925. goodsname:
  6926. description: 点价商品名称
  6927. type: string
  6928. invoiceamount:
  6929. description: 已开票额
  6930. type: number
  6931. loanamount:
  6932. description: 贷款总额=已定价额+调整金额
  6933. type: number
  6934. margin:
  6935. description: 保证金
  6936. type: number
  6937. meruserid:
  6938. description: 跟单员id
  6939. type: integer
  6940. meruserlogincode:
  6941. description: 跟单员登录代码
  6942. type: string
  6943. merusername:
  6944. description: 跟单员名称
  6945. type: string
  6946. nickname:
  6947. description: 账户昵称
  6948. type: string
  6949. orireckonrealqty:
  6950. description: 应交收量
  6951. type: number
  6952. payamount:
  6953. description: 已收付额(收款或付款)
  6954. type: number
  6955. preinvoiceamount:
  6956. description: 预收(开)票额
  6957. type: number
  6958. prepayamount:
  6959. description: 预收付额
  6960. type: number
  6961. price:
  6962. description: 价格
  6963. type: number
  6964. pricedamount:
  6965. description: 已定价额
  6966. type: number
  6967. pricedavg:
  6968. description: 已点均价
  6969. type: number
  6970. pricedqty:
  6971. description: 已定价量
  6972. type: number
  6973. pricemove:
  6974. description: 升贴水
  6975. type: number
  6976. pricetype:
  6977. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6978. type: integer
  6979. producttype:
  6980. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6981. type: integer
  6982. qty:
  6983. description: 合同量
  6984. type: number
  6985. reckonadjustamount:
  6986. description: 调整金额
  6987. type: number
  6988. reckonedamount:
  6989. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6990. type: number
  6991. reckonotheramount:
  6992. description: 其它费用
  6993. type: number
  6994. reckonrealqty:
  6995. description: 已交收量
  6996. type: number
  6997. remark:
  6998. description: 备注
  6999. type: string
  7000. saleuserid:
  7001. description: 业务员id
  7002. type: integer
  7003. saleuserlogincode:
  7004. description: 业务员登录代码
  7005. type: string
  7006. saleusername:
  7007. description: 业务员名称
  7008. type: string
  7009. spotcontractid:
  7010. description: 合同ID
  7011. type: string
  7012. spotgoodsbrandid:
  7013. description: 现货品牌ID(DGFactoryItem表的ID)
  7014. type: integer
  7015. spotgoodsdesc:
  7016. description: 商品型号(商品规格)
  7017. type: string
  7018. startdate:
  7019. description: 点价开始日
  7020. type: string
  7021. subjectid:
  7022. description: 交易主体ID
  7023. type: integer
  7024. subjectname:
  7025. description: 交易主体名称
  7026. type: string
  7027. totalamount:
  7028. description: 合计总额
  7029. type: number
  7030. tradeuserid:
  7031. description: 交易员id
  7032. type: integer
  7033. tradeuserlogincode:
  7034. description: 交易员登录代码
  7035. type: string
  7036. tradeusername:
  7037. description: 交易员名称
  7038. type: string
  7039. unpayamount:
  7040. description: 应收付款额(应支付或应收款) | 未付款额
  7041. type: number
  7042. unpricedqty:
  7043. description: 未定价量
  7044. type: number
  7045. unsureqty:
  7046. description: 未确定量 | 未交收量
  7047. type: number
  7048. userid:
  7049. description: 机构ID
  7050. type: integer
  7051. vatrate:
  7052. description: 增值税率
  7053. type: number
  7054. wrstandardcode:
  7055. description: 品类代码
  7056. type: string
  7057. wrstandardid:
  7058. description: 品类ID
  7059. type: integer
  7060. wrstandardname:
  7061. description: 品类名称
  7062. type: string
  7063. type: object
  7064. models.Ermcp3SpotGoodsPrice:
  7065. properties:
  7066. areauserid:
  7067. description: 所属机构id
  7068. type: integer
  7069. brandname:
  7070. description: 品牌名称
  7071. type: string
  7072. currencyid:
  7073. description: 报价货币ID
  7074. type: integer
  7075. currencyname:
  7076. description: 币种名称
  7077. type: string
  7078. deliverygoodscode:
  7079. description: 现货商品代码
  7080. type: string
  7081. deliverygoodsid:
  7082. description: 现货商品id
  7083. type: integer
  7084. deliverygoodsname:
  7085. description: 现货商品名称
  7086. type: string
  7087. enumdicname:
  7088. description: 现货商品单位名称
  7089. type: string
  7090. gbenumdicname:
  7091. description: 品类单位名称
  7092. type: string
  7093. gmunitid:
  7094. description: 品类单位id
  7095. type: integer
  7096. isvalid:
  7097. description: 是否有效 - 0:无效 1:有效
  7098. type: integer
  7099. operateid:
  7100. description: 最后操作人
  7101. type: integer
  7102. operatesrc:
  7103. description: 最后操作来源 - 1:管理端 2:终端
  7104. type: integer
  7105. operatetime:
  7106. description: 最后操作时间
  7107. type: string
  7108. operatorname:
  7109. description: 操作人名称
  7110. type: string
  7111. spotgoodsbrandid:
  7112. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7113. type: integer
  7114. spotgoodsprice:
  7115. description: 现货价格
  7116. type: number
  7117. tradedate:
  7118. description: 交易日(yyyyMMdd)
  7119. type: string
  7120. unitid:
  7121. description: 现货商品单位id
  7122. type: integer
  7123. wrstandardcode:
  7124. description: 品类代码
  7125. type: string
  7126. wrstandardid:
  7127. description: 现货品类ID(通用则为0)
  7128. type: integer
  7129. wrstandardname:
  7130. description: 品类名称
  7131. type: string
  7132. type: object
  7133. models.Ermcp3SpotGoodsPriceLog:
  7134. properties:
  7135. areauserid:
  7136. description: 所属机构id
  7137. type: integer
  7138. brandname:
  7139. description: 品牌名称
  7140. type: string
  7141. currencyid:
  7142. description: 报价货币ID
  7143. type: integer
  7144. deliverygoodscode:
  7145. description: 现货商品代码
  7146. type: string
  7147. deliverygoodsid:
  7148. description: 现货商品id
  7149. type: integer
  7150. deliverygoodsname:
  7151. description: 现货商品名称
  7152. type: string
  7153. enumdicname:
  7154. description: 现货商品单位名称
  7155. type: string
  7156. gbenumdicname:
  7157. description: 品类单位名称
  7158. type: string
  7159. gmunitid:
  7160. description: 品类单位id
  7161. type: integer
  7162. logid:
  7163. description: 日志id
  7164. type: integer
  7165. operateid:
  7166. description: 最后操作人
  7167. type: integer
  7168. operatesrc:
  7169. description: 最后操作来源 - 1:管理端 2:终端
  7170. type: integer
  7171. operatetime:
  7172. description: 最后操作时间
  7173. type: string
  7174. operatorname:
  7175. description: 操作人名称
  7176. type: string
  7177. spotgoodsbrandid:
  7178. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7179. type: integer
  7180. spotgoodsprice:
  7181. description: 现货价格
  7182. type: number
  7183. tradedate:
  7184. description: 交易日(yyyyMMdd)
  7185. type: string
  7186. unitid:
  7187. description: 现货商品单位id
  7188. type: integer
  7189. wrstandardcode:
  7190. description: 品类代码
  7191. type: string
  7192. wrstandardid:
  7193. description: 现货品类ID(通用则为0)
  7194. type: integer
  7195. wrstandardname:
  7196. description: 品类名称
  7197. type: string
  7198. type: object
  7199. models.Ermcp3SubTaaccount:
  7200. properties:
  7201. accountid:
  7202. description: 资金账户ID
  7203. type: integer
  7204. parentaccountcode:
  7205. description: 所属根账号代码(母账号代码)
  7206. type: string
  7207. parentaccountid:
  7208. description: 所属根账号(母账号)
  7209. type: integer
  7210. taname:
  7211. description: 资金账号名称
  7212. type: string
  7213. tradestatus:
  7214. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7215. type: integer
  7216. username:
  7217. description: 交易用户
  7218. type: string
  7219. type: object
  7220. models.Ermcp3TaFutuReDataReport:
  7221. properties:
  7222. accountid:
  7223. description: 交易账户
  7224. type: integer
  7225. accountname:
  7226. description: 交易账号名称
  7227. type: string
  7228. agreeunit:
  7229. description: 商品合约单位
  7230. type: number
  7231. begindate:
  7232. description: 开始交易日
  7233. type: string
  7234. buyorsell:
  7235. description: 持仓方向
  7236. type: integer
  7237. charge:
  7238. description: 手续费
  7239. type: number
  7240. closeavgprice:
  7241. description: 平仓均价
  7242. type: number
  7243. closepl:
  7244. description: 平仓损益
  7245. type: number
  7246. currencyid:
  7247. description: 结算币种ID
  7248. type: integer
  7249. currencyname:
  7250. description: 币种名称
  7251. type: string
  7252. cycletime:
  7253. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7254. type: string
  7255. cycletype:
  7256. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7257. type: integer
  7258. enddate:
  7259. description: 结束交易日
  7260. type: string
  7261. enumdicname:
  7262. description: 单位名称
  7263. type: string
  7264. floatpl:
  7265. description: 浮动损益
  7266. type: number
  7267. goodscode:
  7268. description: 交易合约代码
  7269. type: string
  7270. goodsgroupid:
  7271. description: 交易品种
  7272. type: integer
  7273. goodsgroupname:
  7274. description: 交易品种名称
  7275. type: string
  7276. goodsgroupspotqty:
  7277. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7278. type: number
  7279. goodsid:
  7280. description: 交易合约
  7281. type: integer
  7282. goodsname:
  7283. description: 交易合约名称
  7284. type: string
  7285. goodunitid:
  7286. description: 交易合约单位id
  7287. type: integer
  7288. holdamount:
  7289. description: 期末持仓额
  7290. type: number
  7291. holdqty:
  7292. description: 期末持仓量
  7293. type: number
  7294. lastholdamount:
  7295. description: 当前持仓额
  7296. type: number
  7297. lastprice:
  7298. description: 最新价
  7299. type: number
  7300. middlegoodsid:
  7301. description: 套保品种id
  7302. type: integer
  7303. middlegoodsname:
  7304. description: 套保商品名称
  7305. type: string
  7306. middlegoodsqty:
  7307. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7308. type: number
  7309. middlgoodscode:
  7310. description: 套保商品代码
  7311. type: string
  7312. openamount:
  7313. description: 期末开仓额
  7314. type: number
  7315. openavgprice:
  7316. description: 开仓均价
  7317. type: number
  7318. oriholdamount:
  7319. description: 期初持仓额
  7320. type: number
  7321. oriholdqty:
  7322. description: 期初持仓量
  7323. type: number
  7324. oriopenamount:
  7325. description: 期初开仓额
  7326. type: number
  7327. outergroupcode:
  7328. description: 交易品种代码
  7329. type: string
  7330. qtydecimalplace:
  7331. description: 成交量小数位
  7332. type: integer
  7333. reckondate:
  7334. description: 日照时期(yyyyMMdd)
  7335. type: string
  7336. reckonholdamount:
  7337. description: 结算持仓额
  7338. type: number
  7339. reckonpl:
  7340. description: 结算损益
  7341. type: number
  7342. reckonpl2:
  7343. description: 结算逐笔盈亏
  7344. type: number
  7345. reckonprice:
  7346. description: 结算价
  7347. type: number
  7348. relateduserid:
  7349. description: 账户关联用户ID
  7350. type: integer
  7351. todaycloseamount:
  7352. description: 今平仓额
  7353. type: number
  7354. todaycloseqty:
  7355. description: 今平仓量
  7356. type: number
  7357. todaygoodsgroupspotqty:
  7358. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7359. type: number
  7360. todaymiddlegoodsqty:
  7361. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7362. type: number
  7363. todayopenamount:
  7364. description: 今开仓额
  7365. type: number
  7366. todayopenqty:
  7367. description: 今开仓量
  7368. type: number
  7369. userid:
  7370. description: 账户所属用户ID
  7371. type: integer
  7372. type: object
  7373. models.Ermcp3TradeLinkDetail:
  7374. properties:
  7375. accountid:
  7376. description: 资金账号
  7377. type: integer
  7378. agreeunit:
  7379. description: 合约乘数
  7380. type: number
  7381. areauserid:
  7382. description: 所属机构
  7383. type: string
  7384. bizsubjectid:
  7385. description: 归属业务部门ID - SubjectID
  7386. type: string
  7387. buyorsell:
  7388. description: 方向 - 0:买 1:卖
  7389. type: integer
  7390. channelbuildtype:
  7391. description: 委托单据类型 0:无 1:建仓 2:平仓
  7392. type: integer
  7393. contractno:
  7394. description: 现货编号 (合同编号)
  7395. type: string
  7396. convertratio:
  7397. description: 折算系数
  7398. type: number
  7399. createtime:
  7400. description: 关联时间 | 创建时间
  7401. type: string
  7402. creatorid:
  7403. description: 创建人ID
  7404. type: string
  7405. creatorsrc:
  7406. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7407. type: integer
  7408. enumdicname:
  7409. description: 单位名称
  7410. type: string
  7411. goodscode:
  7412. description: 合约代码
  7413. type: string
  7414. goodsgroupid:
  7415. description: 对冲品种ID[期货合约商品组ID]
  7416. type: integer
  7417. goodsid:
  7418. description: 商品ID
  7419. type: integer
  7420. goodsname:
  7421. description: 合约名称
  7422. type: string
  7423. hedgeflag:
  7424. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7425. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7426. type: integer
  7427. linkdetailid:
  7428. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7429. type: string
  7430. linkstatus:
  7431. description: 关联状态 - 1:成功 2:失败 3:解绑
  7432. type: integer
  7433. middlegoodscode:
  7434. description: 套保品种代码
  7435. type: string
  7436. middlegoodsid:
  7437. description: 套保品种ID
  7438. type: integer
  7439. middlegoodsname:
  7440. description: 套保品种名称
  7441. type: string
  7442. relatedlot:
  7443. description: 关联手数
  7444. type: number
  7445. relatedmode:
  7446. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7447. type: integer
  7448. relatedqty:
  7449. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7450. type: number
  7451. retcode:
  7452. description: 返回码
  7453. type: integer
  7454. saleuserid:
  7455. description: 业务员ID
  7456. type: string
  7457. spotcontractid:
  7458. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7459. type: string
  7460. taname:
  7461. description: 期货账户
  7462. type: string
  7463. tradedate:
  7464. description: 关联交易日(yyyyMMdd)
  7465. type: string
  7466. tradeid:
  7467. description: 期货订单号 | 内部成交单ID
  7468. type: string
  7469. tradelot:
  7470. description: 成交数量 | 成交手数
  7471. type: integer
  7472. tradeprice:
  7473. description: 成交价格
  7474. type: number
  7475. tradetime:
  7476. description: 期货成交时间
  7477. type: string
  7478. tradetradedate:
  7479. description: 成交交易日(yyyyMMdd)
  7480. type: string
  7481. username:
  7482. description: 用户名称
  7483. type: string
  7484. type: object
  7485. models.Ermcp3Wrstandard:
  7486. properties:
  7487. areauserid:
  7488. description: 所属机构
  7489. type: integer
  7490. cantrade:
  7491. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7492. type: integer
  7493. convertfactor:
  7494. description: 标仓系数
  7495. type: number
  7496. createtime:
  7497. description: 创建时间
  7498. type: string
  7499. creatorid:
  7500. description: 创建人
  7501. type: integer
  7502. deliverygoodsid:
  7503. description: 现货品种ID
  7504. type: integer
  7505. enumdicname:
  7506. description: 品类单位名称
  7507. type: string
  7508. isvalid:
  7509. description: 是否有效 0-无效(停用) 1-有效(正常)
  7510. type: integer
  7511. minivalue:
  7512. description: 最小变动值
  7513. type: integer
  7514. minivaluedp:
  7515. description: 最小变动值小数位
  7516. type: integer
  7517. realminivalue:
  7518. description: 实际最小变动值
  7519. type: integer
  7520. realminivaluedp:
  7521. description: 实际最小变动值小数位
  7522. type: integer
  7523. remark:
  7524. description: 备注
  7525. type: string
  7526. unitid:
  7527. description: 品类单位ID
  7528. type: integer
  7529. updatetime:
  7530. description: 更新时间
  7531. type: string
  7532. wrstandardcode:
  7533. description: 品类代码
  7534. type: string
  7535. wrstandardid:
  7536. description: 品类ID(SEQ_WRSTANDARD)
  7537. type: integer
  7538. wrstandardname:
  7539. description: 品类名称
  7540. type: string
  7541. type: object
  7542. models.ErmcpBizGroupEx:
  7543. properties:
  7544. acclist:
  7545. description: 账号列表
  7546. items:
  7547. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7548. type: array
  7549. bizgroupid:
  7550. description: 业务分组id
  7551. type: integer
  7552. biztype:
  7553. description: 业务类型 1-套保 2-套利
  7554. type: integer
  7555. wrlist:
  7556. description: 现货商品表
  7557. items:
  7558. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7559. type: array
  7560. type: object
  7561. models.ErmcpBizGroupSpotGoods:
  7562. properties:
  7563. areauserid:
  7564. description: 所属机构id
  7565. type: integer
  7566. bizgroupid:
  7567. description: 分组id
  7568. type: integer
  7569. biztype:
  7570. description: 业务类型 1-套保 2-套利
  7571. type: integer
  7572. deliverygoodscode:
  7573. description: 现货商品代码
  7574. type: string
  7575. deliverygoodsid:
  7576. description: 现货商品id
  7577. type: integer
  7578. deliverygoodsname:
  7579. description: 现货商品名称
  7580. type: string
  7581. unitid:
  7582. description: 现货商品单位id
  7583. type: integer
  7584. type: object
  7585. models.ErmcpBizGroupTaAccount:
  7586. properties:
  7587. accountid:
  7588. description: 账号id
  7589. type: integer
  7590. accountname:
  7591. description: 账号名称
  7592. type: string
  7593. areauserid:
  7594. description: 所属机构id
  7595. type: integer
  7596. bizgroupid:
  7597. description: 业务分组id
  7598. type: integer
  7599. ismain:
  7600. description: 是否主账号 1-是 0-否
  7601. type: integer
  7602. type: object
  7603. models.ErmcpDGFactoryItem:
  7604. properties:
  7605. areauserid:
  7606. description: 用户id
  7607. type: integer
  7608. deliverygoodsid:
  7609. description: 现货品种ID
  7610. type: integer
  7611. dgfactoryitemid:
  7612. description: 选择项ID(SEQ_DGFACTORYITEM)
  7613. type: integer
  7614. dgfactoryitemtypeid:
  7615. description: 要素项类型
  7616. type: integer
  7617. dgfactoryitemvalue:
  7618. description: 要素项值(类型为仓库时填写仓库名称)
  7619. type: string
  7620. isvalid:
  7621. description: 是否有效 - 0:无效 1:有效
  7622. type: integer
  7623. orderindex:
  7624. description: 顺序
  7625. type: integer
  7626. warehouseid:
  7627. description: 仓库ID(类型为仓库时填写)
  7628. type: integer
  7629. type: object
  7630. models.ErmcpDeliveryGoods:
  7631. properties:
  7632. agreeunit:
  7633. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7634. type: integer
  7635. areauserid:
  7636. description: 所属机构
  7637. type: integer
  7638. auditflag:
  7639. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7640. type: integer
  7641. categoryid:
  7642. description: 类别ID(SEQ_WRCATEGORY)
  7643. type: integer
  7644. deliverygoodscode:
  7645. description: 现货品种代码
  7646. type: string
  7647. deliverygoodsid:
  7648. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7649. type: integer
  7650. deliverygoodsname:
  7651. description: 现货品种名称
  7652. type: string
  7653. deliverygoodstype:
  7654. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7655. type: integer
  7656. dgstatus:
  7657. description: 品种状态 - 作废 - 0:未激活 1:正常
  7658. type: integer
  7659. enumdicname:
  7660. description: 现货品种单位名称
  7661. type: string
  7662. goodsunitid:
  7663. description: 现货品种单位ID
  7664. type: integer
  7665. isvalid:
  7666. description: 是否有效 - 0:无效 1:有效
  7667. type: integer
  7668. qtydecimalplace:
  7669. description: 成交量小数位
  7670. type: integer
  7671. remark:
  7672. description: 备注
  7673. type: string
  7674. standardqty:
  7675. description: 标准数量(库位数量) [标准品特有]
  7676. type: integer
  7677. standardqtyrange:
  7678. description: 标准数量偏差范围 [标准品特有]
  7679. type: integer
  7680. type: object
  7681. models.ErmcpFuturesCompany:
  7682. properties:
  7683. brokerid:
  7684. description: 经纪公司代码
  7685. type: string
  7686. channeladdress:
  7687. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7688. type: string
  7689. channelid:
  7690. description: 对冲渠道ID
  7691. type: string
  7692. createtime:
  7693. description: 创建时间
  7694. type: string
  7695. creatorid:
  7696. description: 创建人
  7697. type: string
  7698. fcid:
  7699. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7700. type: integer
  7701. fcname:
  7702. description: 期货公司名称
  7703. type: string
  7704. isvalid:
  7705. description: 是否有效 - 0:无效 1:有效
  7706. type: integer
  7707. mhpaddress:
  7708. description: MHP服务地址(IP:Port)
  7709. type: string
  7710. riskrulegroupid:
  7711. description: 风控规则组ID
  7712. type: string
  7713. tradefeetmpid:
  7714. description: 手续费模板ID[TradeConfigTmpType为2]
  7715. type: string
  7716. trademargintmpid:
  7717. description: 保证金模板ID [TradeConfigTmpType为1]
  7718. type: string
  7719. traderatetmpid:
  7720. description: 汇率模板ID[TradeConfigTmpType为3]
  7721. type: string
  7722. updatetime:
  7723. description: 更新时间
  7724. type: string
  7725. updatorid:
  7726. description: 更新人
  7727. type: string
  7728. type: object
  7729. models.ErmcpGGConvertCfg:
  7730. properties:
  7731. convertratio:
  7732. description: 折算系数
  7733. type: number
  7734. destgoodsgroupid:
  7735. description: 目标品种ID
  7736. type: integer
  7737. dstcode:
  7738. description: 目录品种代码
  7739. type: string
  7740. dstexchangecode:
  7741. description: 目标期货交易所
  7742. type: string
  7743. dstname:
  7744. description: 目标品种名称
  7745. type: string
  7746. dstunitid:
  7747. description: 目标品种单位ID
  7748. type: integer
  7749. dstunitidname:
  7750. description: 目标品种单位名称
  7751. type: string
  7752. modifytime:
  7753. description: 修改时间
  7754. type: string
  7755. srccode:
  7756. description: 源品种代码
  7757. type: string
  7758. srcexchangecode:
  7759. description: 源期货交易所
  7760. type: string
  7761. srcgoodsgroupid:
  7762. description: 源品种ID
  7763. type: integer
  7764. srcname:
  7765. description: 源品种名称
  7766. type: string
  7767. srcunitid:
  7768. description: 源品种单位ID
  7769. type: integer
  7770. srcunitidname:
  7771. description: 源品种单位名称
  7772. type: string
  7773. type: object
  7774. models.ErmcpGoods:
  7775. properties:
  7776. agreeunit:
  7777. description: 合约单位
  7778. type: number
  7779. areauserid:
  7780. description: 所属机构
  7781. type: integer
  7782. auditaccountid:
  7783. description: 审核操作员账号
  7784. type: integer
  7785. audittime:
  7786. description: 审核时间
  7787. type: string
  7788. cancelaccountid:
  7789. description: 注销操作员账号
  7790. type: integer
  7791. canceltime:
  7792. description: 注销时间
  7793. type: string
  7794. closepricemode:
  7795. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7796. type: integer
  7797. closepriceparam:
  7798. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7799. type: number
  7800. createtime:
  7801. description: 创建时间
  7802. type: string
  7803. creatorid:
  7804. description: 创建人
  7805. type: integer
  7806. currencyid:
  7807. description: 报价货币ID
  7808. type: integer
  7809. cutmode:
  7810. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7811. type: integer
  7812. decimalplace:
  7813. description: 报价小数位
  7814. type: integer
  7815. delistingdate:
  7816. description: 商品退市时间(状态:退市) -- 已作废
  7817. type: string
  7818. delistingmode:
  7819. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7820. type: integer
  7821. deliveryflag:
  7822. description: 交割标志 - 0:不可交割 1:可交割
  7823. type: integer
  7824. enumdicname:
  7825. description: 单位名称
  7826. type: string
  7827. forceclosemode:
  7828. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7829. type: integer
  7830. forceclosevalue:
  7831. description: 定期强平参数 [收益权]
  7832. type: integer
  7833. goodscode:
  7834. description: 商品代码(内部)
  7835. type: string
  7836. goodscurrencyid:
  7837. description: 合约货币ID
  7838. type: integer
  7839. goodsgroupid:
  7840. description: 所属商品组ID
  7841. type: integer
  7842. goodsid:
  7843. description: 商品ID(自增ID SEQ_GOODS)
  7844. type: integer
  7845. goodsname:
  7846. description: 商品名称
  7847. type: string
  7848. goodsquotetype:
  7849. description: '合约报价类型: 1-直接报价 2-间接报价'
  7850. type: integer
  7851. goodsstatus:
  7852. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7853. type: integer
  7854. goodstradetype:
  7855. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7856. type: integer
  7857. goodunitid:
  7858. description: 报价单位ID
  7859. type: integer
  7860. hasquoter:
  7861. description: 是否有报价商 - 0:无报价商 1:有报价商
  7862. type: integer
  7863. hqprotecttime:
  7864. description: 行情保护时间(秒)
  7865. type: integer
  7866. innerdealmode:
  7867. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7868. type: integer
  7869. isbuylimited:
  7870. description: 是否限制建仓量 - 0:不限制 1:限制
  7871. type: integer
  7872. isvisible:
  7873. description: 游客是否可见 - 0:不可见 1:可见
  7874. type: integer
  7875. lasttradedate:
  7876. description: 最后交易日期(状态:待退市)
  7877. type: string
  7878. listingdate:
  7879. description: 交易开始日期
  7880. type: string
  7881. marketid:
  7882. description: 所属市场ID
  7883. type: integer
  7884. modifierid:
  7885. description: 修改人
  7886. type: integer
  7887. modifystatus:
  7888. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7889. type: integer
  7890. modifytime:
  7891. description: 修改时间
  7892. type: string
  7893. outerdealmode:
  7894. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7895. type: integer
  7896. outgoodscode:
  7897. description: 商品代码(外部)
  7898. type: string
  7899. pictureurl:
  7900. description: 商品图片
  7901. type: string
  7902. qtydecimalplace:
  7903. description: 成交量小数位
  7904. type: integer
  7905. quotegear:
  7906. description: 行情档位(1-10)
  7907. type: integer
  7908. quoteminunit:
  7909. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7910. type: integer
  7911. quoteshowtype:
  7912. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7913. type: integer
  7914. quoteshowtypeinterval:
  7915. description: 行情报价间隔时间(秒)(成交价时为0)
  7916. type: integer
  7917. relatedgoodsid:
  7918. description: 关联参考商品ID
  7919. type: integer
  7920. remark:
  7921. description: 备注
  7922. type: string
  7923. trademode:
  7924. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7925. 21:竞拍-大宗式 22:受托竞价
  7926. type: integer
  7927. required:
  7928. - goodscode
  7929. - goodsid
  7930. - goodsname
  7931. - marketid
  7932. type: object
  7933. models.ErmcpGoodsBrand:
  7934. properties:
  7935. areauserid:
  7936. description: 所属机构
  7937. type: integer
  7938. brandid:
  7939. description: BrandID(SEQ_SPOTGOODSBRAND)
  7940. type: integer
  7941. brandname:
  7942. description: 品牌名称
  7943. type: string
  7944. createtime:
  7945. description: 创建时间
  7946. type: string
  7947. creatorid:
  7948. description: 创建人
  7949. type: integer
  7950. creatorsrc:
  7951. description: 创建人来源 - 1:管理端 2:终端
  7952. type: integer
  7953. deliverygoodsid:
  7954. description: 现货品种ID
  7955. type: integer
  7956. isvalid:
  7957. description: 是否有效 - 0:无效 1:有效
  7958. type: integer
  7959. updatetime:
  7960. description: 更新时间
  7961. type: string
  7962. updatorid:
  7963. description: 更新人
  7964. type: integer
  7965. updatorsrc:
  7966. description: 更新人来源 - 1:管理端 2:终端
  7967. type: integer
  7968. wrstandardid:
  7969. description: 现货商品ID
  7970. type: integer
  7971. type: object
  7972. models.ErmcpGoodsModel:
  7973. properties:
  7974. areauserid:
  7975. description: 所属机构
  7976. type: integer
  7977. convertfactor:
  7978. description: 标仓系数
  7979. type: number
  7980. createtime:
  7981. description: 创建时间
  7982. type: string
  7983. creatorid:
  7984. description: 创建人
  7985. type: integer
  7986. creatorsrc:
  7987. description: 创建人来源 - 1:管理端 2:终端
  7988. type: integer
  7989. deliverygoodsid:
  7990. description: 现货品种ID
  7991. type: integer
  7992. isvalid:
  7993. description: 是否有效 - 0:无效 1:有效
  7994. type: integer
  7995. modelid:
  7996. description: ModelID(SEQ_SPOTGOODSMODEL)
  7997. type: integer
  7998. modelname:
  7999. description: 型号名称
  8000. type: string
  8001. updatetime:
  8002. description: 更新时间
  8003. type: string
  8004. updatorid:
  8005. description: 更新人
  8006. type: integer
  8007. updatorsrc:
  8008. description: 更新人来源 - 1:管理端 2:终端
  8009. type: integer
  8010. wrstandardid:
  8011. description: 现货商品ID
  8012. type: integer
  8013. type: object
  8014. models.ErmcpHisExposure:
  8015. properties:
  8016. needhedgeexposoure:
  8017. description: 应套保敞口
  8018. type: number
  8019. reckondate:
  8020. description: 日照时期(yyyyMMdd)
  8021. type: string
  8022. totalexposure:
  8023. description: 总敞口
  8024. type: number
  8025. type: object
  8026. models.ErmcpLoginTaAccount:
  8027. properties:
  8028. accountid:
  8029. description: 账号id
  8030. type: integer
  8031. accountname:
  8032. description: 账号名称
  8033. type: string
  8034. type: object
  8035. models.ErmcpLoginUser:
  8036. properties:
  8037. acclist:
  8038. description: 关联资金账号
  8039. items:
  8040. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8041. type: array
  8042. accountname:
  8043. description: 用户名称
  8044. type: string
  8045. clientroleid:
  8046. description: 角色id(usertype=2)
  8047. type: integer
  8048. createtime:
  8049. description: 创建时间
  8050. type: string
  8051. logincode:
  8052. description: 登录代码
  8053. type: string
  8054. loginid:
  8055. description: 登录id(LOGINID)
  8056. type: integer
  8057. loginname:
  8058. description: 登录名称(loginaccount表中的accountname字段)
  8059. type: string
  8060. loginstatus:
  8061. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8062. type: integer
  8063. memberuserid:
  8064. description: 所属会员id
  8065. type: integer
  8066. mobile:
  8067. description: 手机号
  8068. type: string
  8069. modifytime:
  8070. description: 修改时间
  8071. type: string
  8072. password:
  8073. description: 密码(不可解密)
  8074. type: string
  8075. rolename:
  8076. description: 角色名称
  8077. type: string
  8078. rolestatus:
  8079. description: 角色状态 1-启用 2-停用
  8080. type: integer
  8081. roletype:
  8082. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8083. type: string
  8084. userid:
  8085. description: 用户id
  8086. type: integer
  8087. usertype:
  8088. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8089. type: integer
  8090. type: object
  8091. models.ErmcpLoginUserEx:
  8092. properties:
  8093. accountstatus:
  8094. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8095. type: integer
  8096. mobile:
  8097. description: 手机号
  8098. type: string
  8099. querytype:
  8100. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8101. type: integer
  8102. roleid:
  8103. description: 角色id(交易账户->用户id)
  8104. type: integer
  8105. rolename:
  8106. description: 角色名称(交易账户->用户名称)
  8107. type: string
  8108. userlist:
  8109. description: 用户列表
  8110. items:
  8111. $ref: '#/definitions/models.ErmcpLoginUser'
  8112. type: array
  8113. usertype:
  8114. description: 用户类型 2-机构 7-企业成员(云平台)
  8115. type: integer
  8116. type: object
  8117. models.ErmcpMiddleGoodsModel:
  8118. properties:
  8119. areauserid:
  8120. description: 机构用户ID
  8121. type: integer
  8122. createtime:
  8123. description: 修改时间
  8124. type: string
  8125. enumdicname:
  8126. description: 单位名称
  8127. type: string
  8128. evaluateratio:
  8129. description: 估价系数
  8130. type: number
  8131. goodsgroupid:
  8132. description: 关联期货品种ID
  8133. type: integer
  8134. goodsunitid:
  8135. description: 单位ID
  8136. type: integer
  8137. isvalid:
  8138. description: 状态 0-无效(停用) 1-有效(正常)
  8139. type: integer
  8140. middlegoodscode:
  8141. description: 套保品种代码
  8142. type: string
  8143. middlegoodsid:
  8144. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8145. type: integer
  8146. middlegoodsname:
  8147. description: 套保品种名称
  8148. type: string
  8149. modifytime:
  8150. description: 修改时间
  8151. type: string
  8152. needarbitrageratio:
  8153. description: 套利比例
  8154. type: number
  8155. needhedgeratio:
  8156. description: 套保比率
  8157. type: number
  8158. qtydecimalplace:
  8159. description: 数量小数位
  8160. type: integer
  8161. relatedgoodsid:
  8162. description: 关联交易商品ID
  8163. type: integer
  8164. relatedgoodstype:
  8165. description: 关联商品类型 - 1:期货合约 2:现货品种
  8166. type: integer
  8167. remark:
  8168. description: 备注
  8169. type: string
  8170. type: object
  8171. models.ErmcpMiddlegoodsRelateGoods:
  8172. properties:
  8173. agreeunit:
  8174. description: 合约乘数
  8175. type: number
  8176. convertratio:
  8177. description: 折算系数
  8178. type: number
  8179. enumdicname:
  8180. description: 单位名称(交易商品)
  8181. type: string
  8182. goodscode:
  8183. description: 交易商品代码
  8184. type: string
  8185. goodsgroupid:
  8186. description: 交易品种id
  8187. type: integer
  8188. goodsid:
  8189. description: 商品Id
  8190. type: integer
  8191. goodsname:
  8192. description: 交易商品名称
  8193. type: string
  8194. goodunitid:
  8195. description: 交易商品单位id
  8196. type: integer
  8197. middlegoodsid:
  8198. description: 套保商品id
  8199. type: integer
  8200. middlegoodsname:
  8201. description: 套保商品名称
  8202. type: string
  8203. middlegoodsswcode:
  8204. description: 套保商品代码
  8205. type: string
  8206. needarbitrageratio:
  8207. description: 应套利比例
  8208. type: number
  8209. needhedgeratio:
  8210. description: 应套保比例
  8211. type: number
  8212. type: object
  8213. models.ErmcpRole:
  8214. properties:
  8215. areauserid:
  8216. description: 所属机构
  8217. type: integer
  8218. autoid:
  8219. description: 角色ID(自增ID)
  8220. type: integer
  8221. modifierid:
  8222. description: 修改人(创建人)
  8223. type: integer
  8224. modifiername:
  8225. description: 修改人名称
  8226. type: string
  8227. modifytime:
  8228. description: 修改时间(创建时间)
  8229. type: string
  8230. rolename:
  8231. description: 角色名称
  8232. type: string
  8233. rolestatus:
  8234. description: 角色状态 - 1:启用 2:停用
  8235. type: integer
  8236. roletype:
  8237. description: 角色类型 - 1- 管理端 2- 交易端
  8238. type: integer
  8239. type: object
  8240. models.ErmcpRoleMenu:
  8241. properties:
  8242. iconame:
  8243. description: 菜单图标
  8244. type: string
  8245. ishadrole:
  8246. description: 是否有权限
  8247. type: boolean
  8248. menutype:
  8249. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8250. type: integer
  8251. parentcode:
  8252. description: 上级资源代码
  8253. type: string
  8254. remark:
  8255. description: 菜单备注
  8256. type: string
  8257. resourcecode:
  8258. description: 菜单代码
  8259. type: string
  8260. resourcelevel:
  8261. description: 级别
  8262. type: integer
  8263. resourcename:
  8264. description: 菜单名称
  8265. type: string
  8266. roleid:
  8267. description: 角色id
  8268. type: integer
  8269. sort:
  8270. description: 排序
  8271. type: integer
  8272. url:
  8273. description: URL
  8274. type: string
  8275. userid:
  8276. description: 用户id
  8277. type: integer
  8278. type: object
  8279. models.ErmcpRoleMenuEx:
  8280. properties:
  8281. menu:
  8282. $ref: '#/definitions/models.ErmcpRoleMenu'
  8283. description: 父级菜单
  8284. subMenu:
  8285. description: 子级菜单
  8286. items:
  8287. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8288. type: array
  8289. type: object
  8290. models.ErmcpTaAccount:
  8291. properties:
  8292. accountid:
  8293. description: 账户id
  8294. type: integer
  8295. accountname:
  8296. description: 账户名称
  8297. type: string
  8298. currencyid:
  8299. description: 币种id
  8300. type: integer
  8301. hedgeaccountcode:
  8302. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8303. type: string
  8304. ismain:
  8305. description: 是否主账户 0-否 1-是
  8306. type: integer
  8307. parentaccountid:
  8308. description: 父账户id
  8309. type: integer
  8310. relateduserid:
  8311. description: 关联userid
  8312. type: integer
  8313. tradefeetmpid:
  8314. description: 手续费模板id
  8315. type: integer
  8316. tradefeetmpname:
  8317. description: 手续费模板名称
  8318. type: string
  8319. trademargintmpid:
  8320. description: 保证金模板id
  8321. type: integer
  8322. trademargintmpname:
  8323. description: 保证金模板名称
  8324. type: string
  8325. traderatetmpid:
  8326. description: 汇率模板id
  8327. type: integer
  8328. traderatetmpname:
  8329. description: 汇率模板名称
  8330. type: string
  8331. tradestatus:
  8332. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8333. type: integer
  8334. userid:
  8335. description: 用户id
  8336. type: integer
  8337. type: object
  8338. models.ErmcpTaAccountEx:
  8339. properties:
  8340. mainAcc:
  8341. $ref: '#/definitions/models.ErmcpTaAccountM'
  8342. description: 主账号
  8343. subacclist:
  8344. description: 子账号列表
  8345. items:
  8346. $ref: '#/definitions/models.ErmcpTaAccount'
  8347. type: array
  8348. type: object
  8349. models.ErmcpTaAccountInfo:
  8350. properties:
  8351. accountid:
  8352. description: 资金账户ID
  8353. type: integer
  8354. accountname:
  8355. description: 账户名称
  8356. type: string
  8357. balance:
  8358. description: 期初余额
  8359. type: number
  8360. capitalbalance:
  8361. description: 本金余额[外部子账户实际出入金余额]
  8362. type: number
  8363. closepl:
  8364. description: 今日平仓盈亏
  8365. type: number
  8366. creditdecrease:
  8367. description: 今日授信减少
  8368. type: number
  8369. creditincrease:
  8370. description: 今日授信增加
  8371. type: number
  8372. curdebt:
  8373. description: 期末欠款
  8374. type: number
  8375. currencyid:
  8376. description: 货币ID
  8377. type: integer
  8378. currentbalance:
  8379. description: 期末余额
  8380. type: number
  8381. freezecharge:
  8382. description: 手续费冻结
  8383. type: number
  8384. freezemargin:
  8385. description: 冻结保证金
  8386. type: number
  8387. fromaccountid:
  8388. description: 所属上级账户
  8389. type: integer
  8390. inamount:
  8391. description: 今日入金金额(包括三方入金)
  8392. type: number
  8393. ismain:
  8394. description: 是否母账号 0:不是母账户 1:是母账户
  8395. type: integer
  8396. mortgagecredit:
  8397. description: 授信金额
  8398. type: number
  8399. oridebt:
  8400. description: 期初欠款
  8401. type: number
  8402. orifreezecharge:
  8403. description: 期初手续费冻结
  8404. type: number
  8405. orifreezemargin:
  8406. description: 期初冻结保证金
  8407. type: number
  8408. orimortgagecredit:
  8409. description: 期初授信金额
  8410. type: number
  8411. oriothercredit:
  8412. description: 期初其它授信金额
  8413. type: number
  8414. oriotherfreezemargin:
  8415. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8416. type: number
  8417. orioutamountfreeze:
  8418. description: 期初出金冻结
  8419. type: number
  8420. oriusedmargin:
  8421. description: 期初占用保证金
  8422. type: number
  8423. othercredit:
  8424. description: 其它授信金额
  8425. type: number
  8426. othercreditdecrease:
  8427. description: 今日其它授信减少
  8428. type: number
  8429. othercreditincrease:
  8430. description: 今日其它授信增加
  8431. type: number
  8432. otherfreezemargin:
  8433. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8434. type: number
  8435. outamount:
  8436. description: 今日出金金额(包括三方出金)
  8437. type: number
  8438. outamountfreeze:
  8439. description: 出金冻结
  8440. type: number
  8441. outthreshold:
  8442. description: 出金阈值
  8443. type: number
  8444. parentaccountid:
  8445. description: 所属根账号
  8446. type: integer
  8447. paycharge:
  8448. description: 今日手续费支出
  8449. type: number
  8450. relateduserid:
  8451. description: 关联用户
  8452. type: integer
  8453. signstatus:
  8454. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8455. type: integer
  8456. sublevelpath:
  8457. description: 账号层级路径(逗号分隔,首尾加逗号)
  8458. type: string
  8459. taaccounttype:
  8460. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8461. type: integer
  8462. thirdinamount:
  8463. description: 今日三方入金
  8464. type: number
  8465. thirdoutamount:
  8466. description: 今日三方出金
  8467. type: number
  8468. tradestatus:
  8469. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8470. type: integer
  8471. transferamount:
  8472. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8473. type: number
  8474. usedmargin:
  8475. description: 占用保证金
  8476. type: number
  8477. userid:
  8478. description: 用户ID
  8479. type: integer
  8480. type: object
  8481. models.ErmcpTaAccountM:
  8482. properties:
  8483. accountid:
  8484. description: 账户id
  8485. type: integer
  8486. accountname:
  8487. description: 账户名称
  8488. type: string
  8489. currencyid:
  8490. description: 币种id
  8491. type: integer
  8492. fcid:
  8493. description: 期货公司id
  8494. type: integer
  8495. fcname:
  8496. description: 期货公司代码
  8497. type: string
  8498. hedgeaccountcode:
  8499. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8500. type: string
  8501. ismain:
  8502. description: 是否主账户 0-否 1-是
  8503. type: integer
  8504. parentaccountid:
  8505. description: 父账户id
  8506. type: integer
  8507. relateduserid:
  8508. description: 关联userid
  8509. type: integer
  8510. tradefeetmpid:
  8511. description: 手续费模板id
  8512. type: integer
  8513. tradefeetmpname:
  8514. description: 手续费模板名称
  8515. type: string
  8516. trademargintmpid:
  8517. description: 保证金模板id
  8518. type: integer
  8519. trademargintmpname:
  8520. description: 保证金模板名称
  8521. type: string
  8522. traderatetmpid:
  8523. description: 汇率模板id
  8524. type: integer
  8525. traderatetmpname:
  8526. description: 汇率模板名称
  8527. type: string
  8528. tradestatus:
  8529. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8530. type: integer
  8531. userid:
  8532. description: 用户id
  8533. type: integer
  8534. type: object
  8535. models.ErmcpTradeConfigTMP:
  8536. properties:
  8537. areauserid:
  8538. description: 所属机构
  8539. type: integer
  8540. basiccurrencyid:
  8541. description: 基本币种ID[汇率] - 目标币种
  8542. type: integer
  8543. mainaccountid:
  8544. description: 主账户ID
  8545. type: integer
  8546. modifierid:
  8547. description: 修改人
  8548. type: integer
  8549. remark:
  8550. description: 备注
  8551. type: string
  8552. tradeconfigtmpid:
  8553. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8554. type: integer
  8555. tradeconfigtmpname:
  8556. description: 交易配置模板名称
  8557. type: string
  8558. tradeconfigtmptype:
  8559. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8560. type: integer
  8561. updatetime:
  8562. description: 更新时间
  8563. type: string
  8564. type: object
  8565. models.Ermcpjrlinkpos:
  8566. properties:
  8567. areauserid:
  8568. description: 所属企业
  8569. type: integer
  8570. averageprice:
  8571. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  8572. type: number
  8573. closepl:
  8574. description: 总平仓盈亏 [期货损益]
  8575. type: number
  8576. executeprice:
  8577. description: 执行价 - 1:期货单 为 0
  8578. type: integer
  8579. futurehedgeqty:
  8580. description: 期货套期量
  8581. type: number
  8582. goodsid:
  8583. description: 期货合约
  8584. type: integer
  8585. middlegoodscode:
  8586. description: 套保商品代码
  8587. type: string
  8588. middlegoodsname:
  8589. description: 套保商品名称
  8590. type: string
  8591. netqty:
  8592. description: 净头寸
  8593. type: number
  8594. optioncode:
  8595. description: 期权代码
  8596. type: string
  8597. ordertype:
  8598. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  8599. type: integer
  8600. reckonpl:
  8601. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  8602. type: number
  8603. spotcontractid:
  8604. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  8605. type: string
  8606. todayfutureclosepl:
  8607. description: 今日平仓盈亏
  8608. type: number
  8609. totalbuyamount:
  8610. description: 买金额 [期货]
  8611. type: number
  8612. totalbuyholdamount:
  8613. description: 买持仓总金额[期货]
  8614. type: number
  8615. totalbuyqty:
  8616. description: 买数量
  8617. type: number
  8618. totalcharge:
  8619. description: 手续费
  8620. type: number
  8621. totalpremium:
  8622. description: 权利金 [期权]
  8623. type: number
  8624. totalsellamount:
  8625. description: 卖金额 [期货]
  8626. type: number
  8627. totalsellholdamount:
  8628. description: 卖持仓总金额[期货]
  8629. type: number
  8630. totalsellqty:
  8631. description: 卖数量
  8632. type: number
  8633. updatetime:
  8634. description: 更新时间
  8635. type: string
  8636. required:
  8637. - spotcontractid
  8638. type: object
  8639. models.Ermcppatradelinkdetail:
  8640. properties:
  8641. agreeunit:
  8642. description: 合约乘数
  8643. type: number
  8644. amount:
  8645. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  8646. type: number
  8647. areauserid:
  8648. description: 所属机构
  8649. type: integer
  8650. bizsubjectid:
  8651. description: 归属业务部门ID - SubjectID
  8652. type: integer
  8653. buyorsell:
  8654. description: 方向 - 0:买 1:卖
  8655. type: integer
  8656. convertratio:
  8657. description: 品种系数
  8658. type: number
  8659. createtime:
  8660. description: 创建时间
  8661. type: string
  8662. creatorid:
  8663. description: 创建人ID
  8664. type: integer
  8665. creatorsrc:
  8666. description: 创建人来源 - 1:管理端 2:终端 3:交易
  8667. type: integer
  8668. goodsgroupid:
  8669. description: 对冲品种ID[期货合约商品组ID]
  8670. type: integer
  8671. goodsid:
  8672. description: 商品ID
  8673. type: integer
  8674. hedgeditemid:
  8675. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  8676. type: integer
  8677. hedgeflag:
  8678. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  8679. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  8680. type: integer
  8681. linkdetailid:
  8682. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  8683. type: string
  8684. linkstatus:
  8685. description: 关联状态 - 1:成功 2:失败 3:解绑
  8686. type: integer
  8687. middlegoodsid:
  8688. description: 套保品种ID
  8689. type: integer
  8690. name:
  8691. description: 账户名/子账户
  8692. type: string
  8693. optioncode:
  8694. description: '[期货合约]期权代码 [期权]'
  8695. type: string
  8696. ordertype:
  8697. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  8698. type: integer
  8699. relatedlot:
  8700. description: '[数量]关联手数'
  8701. type: number
  8702. relatedmode:
  8703. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  8704. type: integer
  8705. relatedqty:
  8706. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  8707. type: number
  8708. retcode:
  8709. description: 返回码
  8710. type: integer
  8711. saleuserid:
  8712. description: 业务员ID
  8713. type: integer
  8714. tradedate:
  8715. description: 关联交易日(yyyyMMdd)
  8716. type: string
  8717. tradeid:
  8718. description: '[成交单号]内部成交单ID'
  8719. type: string
  8720. tradelot:
  8721. description: 成交手数
  8722. type: integer
  8723. tradeprice:
  8724. description: '[价格]成交价格'
  8725. type: number
  8726. tradetime:
  8727. description: 日期时间
  8728. type: string
  8729. tradetradedate:
  8730. description: 成交交易日(yyyyMMdd)
  8731. type: string
  8732. required:
  8733. - hedgeditemid
  8734. type: object
  8735. models.Externalexchange:
  8736. properties:
  8737. autoid:
  8738. description: AutoID - SEQ_EXTERNALEXCHANGE
  8739. type: integer
  8740. exchangefullname:
  8741. description: 外部交易所全称
  8742. type: string
  8743. exexchangecode:
  8744. description: 外部交易所代码
  8745. type: string
  8746. exexchangename:
  8747. description: 外部交易所名称(简称)
  8748. type: string
  8749. ismarketprice:
  8750. description: 是否支持市价 - 0:不支持 1:支持
  8751. type: integer
  8752. quotegear:
  8753. description: 行情档位(1-10)
  8754. type: integer
  8755. showbrokerflag:
  8756. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8757. type: integer
  8758. updatetime:
  8759. description: 更新时间
  8760. type: string
  8761. required:
  8762. - autoid
  8763. type: object
  8764. models.Funcmenulist:
  8765. properties:
  8766. iconame:
  8767. description: 菜单图标
  8768. type: string
  8769. menutype:
  8770. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8771. type: integer
  8772. parentcode:
  8773. description: 上级资源代码
  8774. type: string
  8775. remark:
  8776. description: 备注
  8777. type: string
  8778. resourcecode:
  8779. description: 资源代码
  8780. type: string
  8781. resourcelevel:
  8782. description: 级别 1-一级 2-二级 3-三级 4-四级
  8783. type: integer
  8784. resourcename:
  8785. description: 资源名
  8786. type: string
  8787. sort:
  8788. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8789. type: integer
  8790. url:
  8791. description: URL
  8792. type: string
  8793. required:
  8794. - resourcecode
  8795. type: object
  8796. models.Goods:
  8797. properties:
  8798. agreeunit:
  8799. description: 合约单位
  8800. type: number
  8801. areauserid:
  8802. description: 所属机构
  8803. type: integer
  8804. auditaccountid:
  8805. description: 审核操作员账号
  8806. type: integer
  8807. audittime:
  8808. description: 审核时间
  8809. type: string
  8810. cancelaccountid:
  8811. description: 注销操作员账号
  8812. type: integer
  8813. canceltime:
  8814. description: 注销时间
  8815. type: string
  8816. closepricemode:
  8817. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8818. type: integer
  8819. closepriceparam:
  8820. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8821. type: number
  8822. createtime:
  8823. description: 创建时间
  8824. type: string
  8825. creatorid:
  8826. description: 创建人
  8827. type: integer
  8828. currencyid:
  8829. description: 报价货币ID
  8830. type: integer
  8831. cutmode:
  8832. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8833. type: integer
  8834. decimalplace:
  8835. description: 报价小数位
  8836. type: integer
  8837. delistingdate:
  8838. description: 商品退市时间(状态:退市) -- 已作废
  8839. type: string
  8840. delistingmode:
  8841. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8842. type: integer
  8843. deliveryflag:
  8844. description: 交割标志 - 0:不可交割 1:可交割
  8845. type: integer
  8846. forceclosemode:
  8847. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8848. type: integer
  8849. forceclosevalue:
  8850. description: 定期强平参数 [收益权]
  8851. type: integer
  8852. goodscode:
  8853. description: 商品代码(内部)
  8854. type: string
  8855. goodscurrencyid:
  8856. description: 合约货币ID
  8857. type: integer
  8858. goodsgroupid:
  8859. description: 所属商品组ID
  8860. type: integer
  8861. goodsid:
  8862. description: 商品ID(自增ID SEQ_GOODS)
  8863. type: integer
  8864. goodsname:
  8865. description: 商品名称
  8866. type: string
  8867. goodsquotetype:
  8868. description: '合约报价类型: 1-直接报价 2-间接报价'
  8869. type: integer
  8870. goodsstatus:
  8871. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8872. type: integer
  8873. goodstradetype:
  8874. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8875. type: integer
  8876. goodunitid:
  8877. description: 报价单位ID
  8878. type: integer
  8879. hasquoter:
  8880. description: 是否有报价商 - 0:无报价商 1:有报价商
  8881. type: integer
  8882. hqprotecttime:
  8883. description: 行情保护时间(秒)
  8884. type: integer
  8885. innerdealmode:
  8886. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8887. type: integer
  8888. isbuylimited:
  8889. description: 是否限制建仓量 - 0:不限制 1:限制
  8890. type: integer
  8891. isvisible:
  8892. description: 游客是否可见 - 0:不可见 1:可见
  8893. type: integer
  8894. lasttradedate:
  8895. description: 最后交易日期(状态:待退市)
  8896. type: string
  8897. listingdate:
  8898. description: 交易开始日期
  8899. type: string
  8900. marketid:
  8901. description: 所属市场ID
  8902. type: integer
  8903. modifierid:
  8904. description: 修改人
  8905. type: integer
  8906. modifystatus:
  8907. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8908. type: integer
  8909. modifytime:
  8910. description: 修改时间
  8911. type: string
  8912. outerdealmode:
  8913. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8914. type: integer
  8915. outgoodscode:
  8916. description: 商品代码(外部)
  8917. type: string
  8918. pictureurl:
  8919. description: 商品图片
  8920. type: string
  8921. qtydecimalplace:
  8922. description: 成交量小数位
  8923. type: integer
  8924. quotegear:
  8925. description: 行情档位(1-10)
  8926. type: integer
  8927. quoteminunit:
  8928. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8929. type: integer
  8930. quoteshowtype:
  8931. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8932. type: integer
  8933. quoteshowtypeinterval:
  8934. description: 行情报价间隔时间(秒)(成交价时为0)
  8935. type: integer
  8936. remark:
  8937. description: 备注
  8938. type: string
  8939. required:
  8940. - goodscode
  8941. - goodsid
  8942. - goodsname
  8943. - marketid
  8944. type: object
  8945. models.GoodsIDAndName:
  8946. properties:
  8947. goodscode:
  8948. description: 商品代码(内部)
  8949. type: string
  8950. goodsid:
  8951. description: 商品ID(自增ID SEQ_GOODS)
  8952. type: integer
  8953. goodsname:
  8954. description: 商品名称
  8955. type: string
  8956. marketid:
  8957. description: 所属市场ID
  8958. type: integer
  8959. required:
  8960. - goodscode
  8961. - goodsid
  8962. - goodsname
  8963. - marketid
  8964. type: object
  8965. models.Goodsgroup:
  8966. properties:
  8967. agreeunit:
  8968. description: 合约单位
  8969. type: number
  8970. canshort:
  8971. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8972. type: integer
  8973. closepricemode:
  8974. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8975. type: integer
  8976. closepriceparam:
  8977. description: 强平最新价浮动比例 - 方式为2时使用
  8978. type: number
  8979. createtime:
  8980. description: 创建时间
  8981. type: string
  8982. creatorid:
  8983. description: 创建人
  8984. type: integer
  8985. currencyid:
  8986. description: 报价货币ID
  8987. type: integer
  8988. decimalplace:
  8989. description: 报价小数位
  8990. type: integer
  8991. exercisetype:
  8992. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8993. type: integer
  8994. exexchangeid:
  8995. description: 外部交易所ID[通道交易]
  8996. type: integer
  8997. goodsgroupid:
  8998. description: 商品组ID(自增ID)
  8999. type: integer
  9000. goodsgroupname:
  9001. description: 商品组名称
  9002. type: string
  9003. goodsgroupstatus:
  9004. description: 商品组状态 - 1:正常 2:注销
  9005. type: integer
  9006. goodunitid:
  9007. description: 报价单位ID
  9008. type: integer
  9009. innerdealmode:
  9010. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9011. type: integer
  9012. isbuylimited:
  9013. description: 是否限制建仓量 - 0:不限制 1:限制
  9014. type: integer
  9015. marketid:
  9016. description: 所属市场ID
  9017. type: integer
  9018. modifierid:
  9019. description: 修改人
  9020. type: integer
  9021. modifytime:
  9022. description: 修改时间
  9023. type: string
  9024. outerdealmode:
  9025. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9026. type: integer
  9027. outergroupcode:
  9028. description: 外部商品组代码[通道交易]
  9029. type: string
  9030. premiumdecimalplace:
  9031. description: 权利金小数位[场外期权]
  9032. type: integer
  9033. premiumspreadalgorithm:
  9034. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9035. type: integer
  9036. premiumspreadvalue:
  9037. description: 权利金点差值[场外期权]
  9038. type: number
  9039. qtydecimalplace:
  9040. description: 成交量小数位
  9041. type: integer
  9042. quotegear:
  9043. description: 行情档位(1-10)
  9044. type: integer
  9045. quoteminunit:
  9046. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9047. type: integer
  9048. quoterid:
  9049. description: 报价商ID[场外期权]
  9050. type: integer
  9051. quotesourcegroupid:
  9052. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9053. type: integer
  9054. syncgoodsqty:
  9055. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9056. type: integer
  9057. required:
  9058. - goodsgroupid
  9059. - goodsgroupname
  9060. - goodsgroupstatus
  9061. - marketid
  9062. type: object
  9063. models.Goodssortbypreposition:
  9064. properties:
  9065. goodscode:
  9066. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9067. type: string
  9068. goodsgroupcode:
  9069. description: 品种代码
  9070. type: string
  9071. prepositionqty:
  9072. description: 昨持仓量
  9073. type: integer
  9074. sortindex:
  9075. description: 排序
  9076. type: integer
  9077. tradedate:
  9078. description: 交易日
  9079. type: string
  9080. updatetime:
  9081. description: 更新时间
  9082. type: string
  9083. required:
  9084. - goodscode
  9085. - tradedate
  9086. type: object
  9087. models.Hedgeinnerholderdetail:
  9088. properties:
  9089. accountid:
  9090. description: 账号ID
  9091. type: integer
  9092. buyorsell:
  9093. description: 方向 - 0:买 1:卖
  9094. type: integer
  9095. freezeqty:
  9096. description: 冻结数量 - 按单平使用
  9097. type: integer
  9098. goodsid:
  9099. description: 商品ID
  9100. type: integer
  9101. holderamount:
  9102. description: 持仓金额 [商品币种]
  9103. type: number
  9104. holderdays:
  9105. description: 剩余冻结天数
  9106. type: integer
  9107. holderprice:
  9108. description: 持仓价格
  9109. type: number
  9110. holderqty:
  9111. description: 持仓数量
  9112. type: integer
  9113. marketid:
  9114. description: 市场ID
  9115. type: integer
  9116. openprice:
  9117. description: 建仓价格
  9118. type: number
  9119. openqty:
  9120. description: 建仓数量
  9121. type: integer
  9122. parentaccountid:
  9123. description: 所属母账户
  9124. type: integer
  9125. releaseamount:
  9126. description: 释放持仓金额[商品币种]
  9127. type: number
  9128. tradeamount:
  9129. description: 成交金额[账户]
  9130. type: number
  9131. tradedate:
  9132. description: 交易日(yyyyMMdd)
  9133. type: string
  9134. tradeid:
  9135. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9136. type: string
  9137. tradetime:
  9138. description: 交易时间
  9139. type: string
  9140. required:
  9141. - buyorsell
  9142. - tradeid
  9143. type: object
  9144. models.Hedgemarketopenlog:
  9145. properties:
  9146. accountid:
  9147. description: 资金账号[外部母账户]
  9148. type: integer
  9149. fcname:
  9150. description: 期货公司名称
  9151. type: string
  9152. handlestatus:
  9153. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9154. type: integer
  9155. marketid:
  9156. description: 市场ID
  9157. type: integer
  9158. status:
  9159. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9160. type: integer
  9161. tradedate:
  9162. description: 交易日(yyyyMMdd)
  9163. type: string
  9164. updatetime:
  9165. description: 更新时间
  9166. type: string
  9167. required:
  9168. - accountid
  9169. type: object
  9170. models.HsbyBuyMyPayOrder:
  9171. properties:
  9172. agreeunit:
  9173. description: 合约单位
  9174. type: number
  9175. buyaccountid:
  9176. description: 买方账号ID[报价币种]
  9177. type: integer
  9178. buyorderid:
  9179. description: 买方委托单号
  9180. type: string
  9181. createtime:
  9182. description: 创建时间
  9183. type: string
  9184. currencysign:
  9185. description: 货币符号
  9186. type: string
  9187. decimalplace:
  9188. description: 报价小数位
  9189. type: integer
  9190. goodscode:
  9191. description: 商品代码(内部)
  9192. type: string
  9193. goodsid:
  9194. description: 商品ID
  9195. type: integer
  9196. goodsname:
  9197. description: 商品名称
  9198. type: string
  9199. marketid:
  9200. description: 市场ID
  9201. type: integer
  9202. offamount:
  9203. description: 优惠金额
  9204. type: number
  9205. originalamount:
  9206. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9207. type: number
  9208. payamount:
  9209. description: 支付金额 = TradeAmount + TradeCharge
  9210. type: number
  9211. payflag:
  9212. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9213. type: integer
  9214. paylimitedtime:
  9215. description: 支付期限
  9216. type: string
  9217. paytime:
  9218. description: 付款时间
  9219. type: string
  9220. picurls1:
  9221. description: 预售商品介绍图片[多张用逗号分隔]
  9222. type: string
  9223. picurls2:
  9224. description: 挂牌商品介绍图片[多张用逗号分隔]
  9225. type: string
  9226. sellaccountid:
  9227. description: 卖方账号ID[报价币种]
  9228. type: integer
  9229. sellorderid:
  9230. description: 卖方委托单号
  9231. type: string
  9232. tradeamount:
  9233. description: 成交金额
  9234. type: number
  9235. tradecharge:
  9236. description: 成交手续费(买方)
  9237. type: number
  9238. tradedate:
  9239. description: 交易日(yyyyMMdd)
  9240. type: string
  9241. tradeid:
  9242. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9243. type: string
  9244. trademode:
  9245. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9246. 21:竞拍-大宗式 22:受托竞价
  9247. type: integer
  9248. tradeprice:
  9249. description: 成交价格
  9250. type: number
  9251. tradeqty:
  9252. description: 成交数量
  9253. type: integer
  9254. vendorname1:
  9255. description: 预售商品供应商名称
  9256. type: string
  9257. vendorname2:
  9258. description: 挂牌商品供应商名称
  9259. type: string
  9260. required:
  9261. - goodscode
  9262. - goodsname
  9263. - tradeid
  9264. - trademode
  9265. type: object
  9266. models.HsbyBuyMyTradeDetail:
  9267. properties:
  9268. accountid:
  9269. description: 账户ID[报价币种]
  9270. type: integer
  9271. agreeunit:
  9272. description: 合约单位
  9273. type: number
  9274. amount:
  9275. description: 金额 = 价格 * 数量 * 合约单位
  9276. type: number
  9277. buyorsell:
  9278. description: 买卖 - 0:买 1:卖
  9279. type: integer
  9280. currencysign:
  9281. description: 货币符号
  9282. type: string
  9283. decimalplace:
  9284. description: 报价小数位
  9285. type: integer
  9286. goodscode:
  9287. description: 商品代码(内部)
  9288. type: string
  9289. goodsid:
  9290. description: 商品ID
  9291. type: integer
  9292. goodsname:
  9293. description: 商品名称
  9294. type: string
  9295. marketid:
  9296. description: 市场ID
  9297. type: integer
  9298. orderamount:
  9299. description: 委托金额
  9300. type: number
  9301. orderid:
  9302. description: 单号(成交单号)
  9303. type: string
  9304. picurls1:
  9305. description: 预售商品介绍图片[多张用逗号分隔]
  9306. type: string
  9307. picurls2:
  9308. description: 挂牌商品介绍图片[多张用逗号分隔]
  9309. type: string
  9310. price:
  9311. description: 价格
  9312. type: number
  9313. qty:
  9314. description: 数量
  9315. type: integer
  9316. time:
  9317. description: 时间
  9318. type: string
  9319. trademode:
  9320. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9321. 21:竞拍-大宗式 22:受托竞价
  9322. type: integer
  9323. vendorname1:
  9324. description: 预售商品供应商名称
  9325. type: string
  9326. vendorname2:
  9327. description: 挂牌商品供应商名称
  9328. type: string
  9329. required:
  9330. - accountid
  9331. - buyorsell
  9332. - goodscode
  9333. - goodsid
  9334. - goodsname
  9335. - marketid
  9336. - orderid
  9337. - qty
  9338. - time
  9339. - trademode
  9340. type: object
  9341. models.HsbyGoodsOrderDetail:
  9342. properties:
  9343. buyorsell:
  9344. description: 买卖 - 0:买 1:卖
  9345. type: integer
  9346. currencysign:
  9347. description: 货币符号
  9348. type: string
  9349. customername:
  9350. description: 客户名称(企业名称),已脱敏
  9351. type: string
  9352. enableqty:
  9353. description: 可用数量
  9354. type: integer
  9355. goodunit:
  9356. description: 报价单位
  9357. type: string
  9358. orderid:
  9359. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9360. type: string
  9361. orderprice:
  9362. description: 委托价格
  9363. type: number
  9364. ordertime:
  9365. description: 委托时间
  9366. type: string
  9367. required:
  9368. - buyorsell
  9369. - orderid
  9370. - ordertime
  9371. type: object
  9372. models.HsbyListingGoodsDetail:
  9373. properties:
  9374. agreeunit:
  9375. description: 合约单位
  9376. type: number
  9377. buymaxqty:
  9378. description: 购买上限 [71] - 0为不限
  9379. type: integer
  9380. currency:
  9381. description: 货币
  9382. type: string
  9383. currencysign:
  9384. description: 货币符号
  9385. type: string
  9386. decimalplace:
  9387. description: 报价小数位
  9388. type: integer
  9389. desccityid:
  9390. description: 目的地(市)ID
  9391. type: integer
  9392. descprovinceid:
  9393. description: 目的地(省)ID
  9394. type: integer
  9395. goodscode:
  9396. description: 商品代码(内部)
  9397. type: string
  9398. goodsdesc:
  9399. description: 商品详情
  9400. type: string
  9401. goodsid:
  9402. description: 商品ID(自增ID SEQ_GOODS)
  9403. type: integer
  9404. goodsname:
  9405. description: 商品名称
  9406. type: string
  9407. goodsprice:
  9408. description: 商品价格
  9409. type: number
  9410. hotindex:
  9411. description: 景点热度
  9412. type: integer
  9413. last:
  9414. description: 现价
  9415. type: number
  9416. limitdown:
  9417. description: 跌停价
  9418. type: number
  9419. limitup:
  9420. description: 涨停价
  9421. type: number
  9422. lotsize:
  9423. description: 手数最小变动单位
  9424. type: integer
  9425. marketid:
  9426. description: 所属市场ID
  9427. type: integer
  9428. picurls:
  9429. description: 介绍图片[多张用逗号分隔]
  9430. type: string
  9431. quoteminunit:
  9432. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9433. type: integer
  9434. stepvalue:
  9435. description: 价格最小变动单位
  9436. type: number
  9437. trademode:
  9438. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9439. 21:竞拍-大宗式 22:受托竞价
  9440. type: integer
  9441. vendorattr:
  9442. description: 供应商附件(多张,逗号分隔)
  9443. type: string
  9444. vendorname:
  9445. description: 供应商名称
  9446. type: string
  9447. vendorphone:
  9448. description: 供应商客服电话
  9449. type: string
  9450. videourls:
  9451. description: 介绍视频[多张用逗号分隔]
  9452. type: string
  9453. required:
  9454. - goodscode
  9455. - goodsid
  9456. - goodsname
  9457. - marketid
  9458. - trademode
  9459. type: object
  9460. models.HsbyMarketGoods:
  9461. properties:
  9462. accountid:
  9463. description: 账户ID[报价币种]
  9464. type: integer
  9465. agreeunit:
  9466. description: 合约单位
  9467. type: number
  9468. buyorsell:
  9469. description: 买卖 - 0:买 1:卖
  9470. type: integer
  9471. categoryid:
  9472. description: 类别ID(WRCATEGORY)
  9473. type: integer
  9474. currency:
  9475. description: 货币
  9476. type: string
  9477. currencysign:
  9478. description: 货币符号
  9479. type: string
  9480. customername:
  9481. description: 卖家名称
  9482. type: string
  9483. decimalplace:
  9484. description: 报价小数位
  9485. type: integer
  9486. goodscode:
  9487. description: 商品代码(内部)
  9488. type: string
  9489. goodsid:
  9490. description: 商品ID
  9491. type: integer
  9492. goodsname:
  9493. description: 商品名称
  9494. type: string
  9495. goodsprice:
  9496. description: 商品价格
  9497. type: number
  9498. hascoupon:
  9499. description: 是否可用优惠卷
  9500. type: boolean
  9501. hotindex:
  9502. description: 景点热度
  9503. type: integer
  9504. marketid:
  9505. description: 市场ID
  9506. type: integer
  9507. orderid:
  9508. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9509. type: string
  9510. orderprice:
  9511. description: 委托价格
  9512. type: number
  9513. orderstatus:
  9514. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9515. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9516. 16:成交失败违约(荷兰式竞拍专用)
  9517. type: integer
  9518. picurls:
  9519. description: 介绍图片[多张用逗号分隔]
  9520. type: string
  9521. quoteminunit:
  9522. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9523. type: integer
  9524. sellUserID:
  9525. description: 卖方UserID
  9526. type: integer
  9527. trademode:
  9528. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9529. 21:竞拍-大宗式 22:受托竞价
  9530. type: integer
  9531. videourls:
  9532. description: 介绍视频[多张用逗号分隔]
  9533. type: string
  9534. required:
  9535. - accountid
  9536. - buyorsell
  9537. - goodscode
  9538. - goodsid
  9539. - goodsname
  9540. - marketid
  9541. - orderid
  9542. - trademode
  9543. type: object
  9544. models.HsbyMarketGoodsDetail:
  9545. properties:
  9546. accountid:
  9547. description: 账户ID[报价币种]
  9548. type: integer
  9549. agreeunit:
  9550. description: 合约单位
  9551. type: number
  9552. buymaxqty:
  9553. description: 购买上限 [71] - 0为不限
  9554. type: integer
  9555. buyorsell:
  9556. description: 买卖 - 0:买 1:卖
  9557. type: integer
  9558. cancelqty:
  9559. description: 撤单数量
  9560. type: integer
  9561. categoryid:
  9562. description: 类别ID(WRCATEGORY)
  9563. type: integer
  9564. currency:
  9565. description: 货币
  9566. type: string
  9567. currencysign:
  9568. description: 货币符号
  9569. type: string
  9570. customername:
  9571. description: 卖家名称
  9572. type: string
  9573. decimalplace:
  9574. description: 报价小数位
  9575. type: integer
  9576. goodscode:
  9577. description: 商品代码(内部)
  9578. type: string
  9579. goodsdesc:
  9580. description: 商品详情
  9581. type: string
  9582. goodsid:
  9583. description: 商品ID
  9584. type: integer
  9585. goodsname:
  9586. description: 商品名称
  9587. type: string
  9588. goodsprice:
  9589. description: 商品价格
  9590. type: number
  9591. hotindex:
  9592. description: 景点热度
  9593. type: integer
  9594. lotsize:
  9595. description: 手数最小变动单位
  9596. type: integer
  9597. marketid:
  9598. description: 市场ID
  9599. type: integer
  9600. orderid:
  9601. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9602. type: string
  9603. orderprice:
  9604. description: 委托价格
  9605. type: number
  9606. orderqty:
  9607. description: 委托数量
  9608. type: integer
  9609. orderstatus:
  9610. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9611. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9612. 16:成交失败违约(荷兰式竞拍专用)
  9613. type: integer
  9614. picurls:
  9615. description: 介绍图片[多张用逗号分隔]
  9616. type: string
  9617. quoteminunit:
  9618. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9619. type: integer
  9620. sellUserID:
  9621. description: 卖方UserID
  9622. type: integer
  9623. trademode:
  9624. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9625. 21:竞拍-大宗式 22:受托竞价
  9626. type: integer
  9627. tradeqty:
  9628. description: 成交数量
  9629. type: integer
  9630. vendorattr:
  9631. description: 供应商附件(多张,逗号分隔)
  9632. type: string
  9633. vendorname:
  9634. description: 供应商名称
  9635. type: string
  9636. vendorphone:
  9637. description: 供应商客服电话
  9638. type: string
  9639. videourls:
  9640. description: 介绍视频[多张用逗号分隔]
  9641. type: string
  9642. required:
  9643. - accountid
  9644. - buyorsell
  9645. - goodscode
  9646. - goodsid
  9647. - goodsname
  9648. - marketid
  9649. - orderid
  9650. - orderqty
  9651. - trademode
  9652. type: object
  9653. models.HsbyMarketInfo:
  9654. properties:
  9655. marketid:
  9656. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9657. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9658. type: integer
  9659. marketname:
  9660. description: 市场名称
  9661. type: string
  9662. marketstatus:
  9663. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9664. type: integer
  9665. trademode:
  9666. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9667. 21:竞拍-大宗式 22:受托竞价
  9668. type: integer
  9669. required:
  9670. - marketid
  9671. - marketstatus
  9672. - trademode
  9673. type: object
  9674. models.HsbyMyGoods:
  9675. properties:
  9676. accountid:
  9677. description: 账号Id
  9678. type: integer
  9679. agreeunit:
  9680. description: 合约单位
  9681. type: number
  9682. buyaverageprice:
  9683. description: 持仓均价
  9684. type: number
  9685. buycurholderamount:
  9686. description: 买当前持仓总金额[商品币种]
  9687. type: number
  9688. buycurpositionqty:
  9689. description: 买当前持仓总数量
  9690. type: integer
  9691. buymaxqty:
  9692. description: 购买上限 [71] - 0为不限
  9693. type: integer
  9694. currencysign:
  9695. description: 货币符号
  9696. type: string
  9697. decimalplace:
  9698. description: 报价小数位
  9699. type: integer
  9700. enableqty:
  9701. description: 可用数量
  9702. type: integer
  9703. goodscode:
  9704. description: 商品代码(内部)
  9705. type: string
  9706. goodsid:
  9707. description: 商品Id
  9708. type: integer
  9709. goodsname:
  9710. description: 商品名称
  9711. type: string
  9712. goodsprice:
  9713. description: 商品价格
  9714. type: number
  9715. goodsstatus:
  9716. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9717. type: integer
  9718. last:
  9719. description: 现价(仅使用于挂牌点选)
  9720. type: number
  9721. limitdown:
  9722. description: 跌停价(仅使用于挂牌点选)
  9723. type: number
  9724. limitup:
  9725. description: 涨停价(仅使用于挂牌点选)
  9726. type: number
  9727. lotsize:
  9728. description: 手数最小变动单位
  9729. type: integer
  9730. marketid:
  9731. description: 所属市场ID
  9732. type: integer
  9733. picurls:
  9734. description: 介绍图片[多张用逗号分隔]
  9735. type: string
  9736. quoteminunit:
  9737. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9738. type: integer
  9739. stepvalue:
  9740. description: 价格最小变动单位
  9741. type: number
  9742. trademode:
  9743. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9744. 21:竞拍-大宗式 22:受托竞价
  9745. type: integer
  9746. required:
  9747. - accountid
  9748. - goodscode
  9749. - goodsid
  9750. - goodsname
  9751. - marketid
  9752. - trademode
  9753. type: object
  9754. models.HsbyMyPackage:
  9755. properties:
  9756. accountid:
  9757. description: 账户ID
  9758. type: integer
  9759. address:
  9760. description: 提货人详细地址
  9761. type: string
  9762. agreeunit:
  9763. description: 合约单位
  9764. type: number
  9765. amount:
  9766. description: 提货金额
  9767. type: number
  9768. auditer:
  9769. description: 审核人
  9770. type: integer
  9771. audittime:
  9772. description: 审核时间
  9773. type: string
  9774. averageprice:
  9775. description: 均价
  9776. type: number
  9777. cardnum:
  9778. description: 提货人证件号码
  9779. type: string
  9780. cardtypeid:
  9781. description: 提货人证件类型
  9782. type: integer
  9783. checkremark:
  9784. description: 审核备注
  9785. type: string
  9786. currencysign:
  9787. description: 货币符号
  9788. type: string
  9789. decimalplace:
  9790. description: 报价小数位
  9791. type: integer
  9792. goodscode:
  9793. description: 商品代码(内部)
  9794. type: string
  9795. goodsid:
  9796. description: 商品ID
  9797. type: integer
  9798. goodsname:
  9799. description: 商品名称
  9800. type: string
  9801. handlestatus:
  9802. description: 处理状态
  9803. type: integer
  9804. marketid:
  9805. description: 市场ID
  9806. type: integer
  9807. phonenum:
  9808. description: 提货人联系方式
  9809. type: string
  9810. picurls:
  9811. description: 介绍图片[多张用逗号分隔]
  9812. type: string
  9813. qty:
  9814. description: 提货数量
  9815. type: number
  9816. recivername:
  9817. description: 提货人姓名
  9818. type: string
  9819. reqtime:
  9820. description: 更新时间
  9821. type: string
  9822. takemode:
  9823. description: 提货方式 - 2:自提 3:配送
  9824. type: integer
  9825. takeorderid:
  9826. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9827. type: string
  9828. takeorderstatus:
  9829. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9830. type: integer
  9831. takeremark:
  9832. description: 提货备注
  9833. type: string
  9834. tradedate:
  9835. description: 交易日(yyyyMMdd)
  9836. type: string
  9837. trademode:
  9838. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9839. 21:竞拍-大宗式 22:受托竞价
  9840. type: integer
  9841. userid:
  9842. description: 用户ID
  9843. type: integer
  9844. vendorname:
  9845. description: 供应商名称
  9846. type: string
  9847. required:
  9848. - goodscode
  9849. - goodsname
  9850. - takeorderid
  9851. - trademode
  9852. type: object
  9853. models.HsbyPreGoods:
  9854. properties:
  9855. agreeunit:
  9856. description: 合约单位
  9857. type: number
  9858. currency:
  9859. description: 货币
  9860. type: string
  9861. currencysign:
  9862. description: 货币符号
  9863. type: string
  9864. decimalplace:
  9865. description: 报价小数位
  9866. type: integer
  9867. desccityid:
  9868. description: 目的地(市)
  9869. type: integer
  9870. descprovinceid:
  9871. description: 目的地(省)
  9872. type: integer
  9873. enableqty:
  9874. description: 剩余数量
  9875. type: integer
  9876. goodscode:
  9877. description: 商品代码(内部)
  9878. type: string
  9879. goodsid:
  9880. description: 商品ID(自增ID SEQ_GOODS)
  9881. type: integer
  9882. goodsname:
  9883. description: 商品名称
  9884. type: string
  9885. goodsstatus:
  9886. description: 商品状态- 2:未上市 3:上市
  9887. type: integer
  9888. lasttradedate:
  9889. description: 最后交易日期(状态:待退市)
  9890. type: string
  9891. listingdate:
  9892. description: 交易开始日期
  9893. type: string
  9894. marketid:
  9895. description: 所属市场ID
  9896. type: integer
  9897. picurls:
  9898. description: 介绍图片[多张用逗号分隔]
  9899. type: string
  9900. presaledqty:
  9901. description: 已预售量(预售结束时更新)
  9902. type: integer
  9903. presaleqty:
  9904. description: 预售数量
  9905. type: integer
  9906. quoteminunit:
  9907. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9908. type: integer
  9909. refprice:
  9910. description: 参考价格[一口价]
  9911. type: number
  9912. relatedgoodsid:
  9913. description: 关联交易合约ID
  9914. type: integer
  9915. trademode:
  9916. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9917. 21:竞拍-大宗式 22:受托竞价
  9918. type: integer
  9919. videourls:
  9920. description: 介绍视频[多张用逗号分隔]
  9921. type: string
  9922. required:
  9923. - goodscode
  9924. - goodsid
  9925. - goodsname
  9926. - marketid
  9927. - trademode
  9928. type: object
  9929. models.HsbyPreGoodsDetail:
  9930. properties:
  9931. agreeunit:
  9932. description: 合约单位
  9933. type: number
  9934. buymaxqty:
  9935. description: 购买上限 [71] - 0为不限
  9936. type: integer
  9937. currency:
  9938. description: 货币
  9939. type: string
  9940. currencysign:
  9941. description: 货币符号
  9942. type: string
  9943. customername:
  9944. description: 发行单位
  9945. type: string
  9946. decimalplace:
  9947. description: 报价小数位
  9948. type: integer
  9949. desccityid:
  9950. description: 目的地(市)ID
  9951. type: integer
  9952. descprovinceid:
  9953. description: 目的地(省)ID
  9954. type: integer
  9955. enableqty:
  9956. description: 剩余数量
  9957. type: integer
  9958. goodscode:
  9959. description: 商品代码(内部)
  9960. type: string
  9961. goodsdesc:
  9962. description: 商品详情
  9963. type: string
  9964. goodsid:
  9965. description: 商品ID(自增ID SEQ_GOODS)
  9966. type: integer
  9967. goodsname:
  9968. description: 商品名称
  9969. type: string
  9970. goodsstatus:
  9971. description: 商品状态- 2:未上市 3:上市
  9972. type: integer
  9973. goodunit:
  9974. description: 报价单位
  9975. type: string
  9976. lasttradedate:
  9977. description: 最后交易日期(状态:待退市)
  9978. type: string
  9979. listingdate:
  9980. description: 交易开始日期
  9981. type: string
  9982. lotsize:
  9983. description: 手数最小变动单位
  9984. type: integer
  9985. marketid:
  9986. description: 所属市场ID
  9987. type: integer
  9988. picurls:
  9989. description: 介绍图片[多张用逗号分隔]
  9990. type: string
  9991. presaledqty:
  9992. description: 已预售量(预售结束时更新)
  9993. type: integer
  9994. presaleqty:
  9995. description: 预售数量
  9996. type: integer
  9997. quoteminunit:
  9998. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9999. type: integer
  10000. refprice:
  10001. description: 参考价格[一口价]
  10002. type: number
  10003. relatedgoodsid:
  10004. description: 关联交易合约ID
  10005. type: integer
  10006. stepvalue:
  10007. description: 价格最小变动单位
  10008. type: number
  10009. trademode:
  10010. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10011. 21:竞拍-大宗式 22:受托竞价
  10012. type: integer
  10013. vendorattr:
  10014. description: 供应商附件(多张,逗号分隔)
  10015. type: string
  10016. vendorname:
  10017. description: 供应商名称
  10018. type: string
  10019. vendorphone:
  10020. description: 供应商客服电话
  10021. type: string
  10022. videourls:
  10023. description: 介绍视频[多张用逗号分隔]
  10024. type: string
  10025. required:
  10026. - goodscode
  10027. - goodsid
  10028. - goodsname
  10029. - marketid
  10030. - trademode
  10031. type: object
  10032. models.HsbySellCollectionOrder:
  10033. properties:
  10034. agreeunit:
  10035. description: 合约单位
  10036. type: number
  10037. buyaccountid:
  10038. description: 买方账号ID[报价币种]
  10039. type: integer
  10040. buyorderid:
  10041. description: 买方委托单号
  10042. type: string
  10043. createtime:
  10044. description: 创建时间
  10045. type: string
  10046. currencysign:
  10047. description: 货币符号
  10048. type: string
  10049. decimalplace:
  10050. description: 报价小数位
  10051. type: integer
  10052. goodscode:
  10053. description: 商品代码(内部)
  10054. type: string
  10055. goodsid:
  10056. description: 商品ID
  10057. type: integer
  10058. goodsname:
  10059. description: 商品名称
  10060. type: string
  10061. marketid:
  10062. description: 市场ID
  10063. type: integer
  10064. offamount:
  10065. description: 优惠金额
  10066. type: number
  10067. payamount:
  10068. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10069. type: number
  10070. payflag:
  10071. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10072. type: integer
  10073. paylimitedtime:
  10074. description: 支付期限
  10075. type: string
  10076. paytime:
  10077. description: 付款时间
  10078. type: string
  10079. picurls:
  10080. description: 商品介绍图片[多张用逗号分隔]
  10081. type: string
  10082. sellaccountid:
  10083. description: 卖方账号ID[报价币种]
  10084. type: integer
  10085. sellorderid:
  10086. description: 卖方委托单号
  10087. type: string
  10088. tradeamount:
  10089. description: 成交金额
  10090. type: number
  10091. tradecharge:
  10092. description: 成交手续费(买方)
  10093. type: number
  10094. tradedate:
  10095. description: 交易日(yyyyMMdd)
  10096. type: string
  10097. tradeid:
  10098. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10099. type: string
  10100. trademode:
  10101. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10102. 21:竞拍-大宗式 22:受托竞价
  10103. type: integer
  10104. tradeprice:
  10105. description: 成交价格
  10106. type: number
  10107. tradeqty:
  10108. description: 成交数量
  10109. type: integer
  10110. required:
  10111. - goodscode
  10112. - goodsname
  10113. - tradeid
  10114. - trademode
  10115. type: object
  10116. models.HsbySellMyDetail:
  10117. properties:
  10118. accountid:
  10119. description: 账户ID[报价币种]
  10120. type: integer
  10121. agreeunit:
  10122. description: 合约单位
  10123. type: number
  10124. buyorsell:
  10125. description: 买卖 - 0:买 1:卖
  10126. type: integer
  10127. currencysign:
  10128. description: 货币符号
  10129. type: string
  10130. decimalplace:
  10131. description: 报价小数位
  10132. type: integer
  10133. goodscode:
  10134. description: 商品代码(内部)
  10135. type: string
  10136. goodsid:
  10137. description: 商品ID
  10138. type: integer
  10139. goodsname:
  10140. description: 商品名称
  10141. type: string
  10142. marketid:
  10143. description: 市场ID
  10144. type: integer
  10145. orderid:
  10146. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10147. type: string
  10148. ordertype:
  10149. description: 单据类型:0 - 发布中, 1 - 已完成
  10150. type: integer
  10151. picurls:
  10152. description: 介绍图片[多张用逗号分隔]
  10153. type: string
  10154. price:
  10155. description: 价格
  10156. type: number
  10157. qty:
  10158. description: 数量
  10159. type: integer
  10160. time:
  10161. description: 时间
  10162. type: string
  10163. trademode:
  10164. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10165. 21:竞拍-大宗式 22:受托竞价
  10166. type: integer
  10167. vendorname:
  10168. description: 供应商名称
  10169. type: string
  10170. required:
  10171. - accountid
  10172. - buyorsell
  10173. - goodscode
  10174. - goodsid
  10175. - goodsname
  10176. - marketid
  10177. - orderid
  10178. - time
  10179. - trademode
  10180. type: object
  10181. models.HsbyTopGoods:
  10182. properties:
  10183. agreeunit:
  10184. description: 合约单位
  10185. type: number
  10186. currency:
  10187. description: 货币
  10188. type: string
  10189. currencysign:
  10190. description: 货币符号
  10191. type: string
  10192. decimalplace:
  10193. description: 报价小数位
  10194. type: integer
  10195. desccityid:
  10196. description: 目的地(市)
  10197. type: integer
  10198. descprovinceid:
  10199. description: 目的地(省)
  10200. type: integer
  10201. goodscode:
  10202. description: 商品代码(内部)
  10203. type: string
  10204. goodsid:
  10205. description: 商品ID(自增ID SEQ_GOODS)
  10206. type: integer
  10207. goodsname:
  10208. description: 商品名称
  10209. type: string
  10210. hotindex:
  10211. description: 景点热度
  10212. type: integer
  10213. last:
  10214. description: 现价
  10215. type: number
  10216. marketid:
  10217. description: 所属市场ID
  10218. type: integer
  10219. picurls:
  10220. description: 介绍图片[多张用逗号分隔]
  10221. type: string
  10222. quoteminunit:
  10223. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10224. type: integer
  10225. trademode:
  10226. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10227. 21:竞拍-大宗式 22:受托竞价
  10228. type: integer
  10229. videourls:
  10230. description: 介绍视频[多张用逗号分隔]
  10231. type: string
  10232. required:
  10233. - goodscode
  10234. - goodsid
  10235. - goodsname
  10236. - marketid
  10237. - trademode
  10238. type: object
  10239. models.HybsMyBuyOrderDetail:
  10240. properties:
  10241. accountid:
  10242. description: 账户ID[报价币种]
  10243. type: integer
  10244. agreeunit:
  10245. description: 合约单位
  10246. type: number
  10247. buyorsell:
  10248. description: 买卖 - 0:买 1:卖
  10249. type: integer
  10250. cancelqty:
  10251. description: 撤单数量
  10252. type: integer
  10253. currencysign:
  10254. description: 货币符号
  10255. type: string
  10256. decimalplace:
  10257. description: 报价小数位
  10258. type: integer
  10259. goodscode:
  10260. description: 商品代码(内部)
  10261. type: string
  10262. goodsid:
  10263. description: 商品ID
  10264. type: integer
  10265. goodsname:
  10266. description: 商品名称
  10267. type: string
  10268. listingselecttype:
  10269. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10270. type: integer
  10271. marketid:
  10272. description: 市场ID
  10273. type: integer
  10274. mybuystatus:
  10275. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10276. type: integer
  10277. orderamount:
  10278. description: 委托金额
  10279. type: number
  10280. orderid:
  10281. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10282. type: string
  10283. orderprice:
  10284. description: 委托价格
  10285. type: number
  10286. orderqty:
  10287. description: 委托数量
  10288. type: integer
  10289. orderstatus:
  10290. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10291. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10292. 16:成交失败违约(荷兰式竞拍专用)
  10293. type: integer
  10294. ordertime:
  10295. description: 委托时间
  10296. type: string
  10297. picurls1:
  10298. description: 预售商品介绍图片[多张用逗号分隔]
  10299. type: string
  10300. picurls2:
  10301. description: 挂牌商品介绍图片[多张用逗号分隔]
  10302. type: string
  10303. trademode:
  10304. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10305. 21:竞拍-大宗式 22:受托竞价
  10306. type: integer
  10307. tradeqty:
  10308. description: 成交数量
  10309. type: integer
  10310. vendorname1:
  10311. description: 预售商品供应商名称
  10312. type: string
  10313. vendorname2:
  10314. description: 挂牌商品供应商名称
  10315. type: string
  10316. required:
  10317. - accountid
  10318. - buyorsell
  10319. - goodscode
  10320. - goodsid
  10321. - goodsname
  10322. - marketid
  10323. - orderid
  10324. - orderqty
  10325. - ordertime
  10326. - trademode
  10327. type: object
  10328. models.InternalUncorrelatedTradeDetail:
  10329. properties:
  10330. accountname:
  10331. description: 套期主体
  10332. type: string
  10333. agreeunit:
  10334. description: 合约乘数
  10335. type: number
  10336. areauserid:
  10337. description: 所属机构
  10338. type: integer
  10339. bizsubjectid:
  10340. description: 归属业务部门ID - SubjectID
  10341. type: integer
  10342. buyorsell:
  10343. description: 方向 - 0:买 1:卖
  10344. type: integer
  10345. convertratio:
  10346. description: 品种系数
  10347. type: number
  10348. createtime:
  10349. description: 创建时间
  10350. type: string
  10351. creatorid:
  10352. description: 创建人ID
  10353. type: integer
  10354. creatorsrc:
  10355. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10356. type: integer
  10357. enableqty:
  10358. description: 项目可关联手数 = 成交手数 - 关联数量
  10359. type: number
  10360. goodscode:
  10361. description: 合约代码
  10362. type: string
  10363. goodsgroupid:
  10364. description: 对冲品种ID[期货合约商品组ID]
  10365. type: integer
  10366. goodsid:
  10367. description: 商品ID
  10368. type: integer
  10369. goodsname:
  10370. description: 合约名称
  10371. type: string
  10372. hedgeditemid:
  10373. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10374. type: integer
  10375. hedgeflag:
  10376. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10377. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10378. type: integer
  10379. linkdetailid:
  10380. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10381. type: string
  10382. linkstatus:
  10383. description: 关联状态 - 1:成功 2:失败 3:解绑
  10384. type: integer
  10385. middlegoodsid:
  10386. description: 套保品种ID
  10387. type: integer
  10388. relatedlot:
  10389. description: '[数量]关联手数'
  10390. type: number
  10391. relatedmode:
  10392. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10393. type: integer
  10394. relatedqty:
  10395. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  10396. type: number
  10397. retcode:
  10398. description: 返回码
  10399. type: integer
  10400. saleuserid:
  10401. description: 业务员ID
  10402. type: integer
  10403. tradedate:
  10404. description: 关联交易日(yyyyMMdd)
  10405. type: string
  10406. tradeid:
  10407. description: 成交单号
  10408. type: string
  10409. tradelot:
  10410. description: 成交手数
  10411. type: integer
  10412. tradeprice:
  10413. description: 成交价
  10414. type: number
  10415. tradetime:
  10416. description: 成交时间
  10417. type: string
  10418. tradetradedate:
  10419. description: 成交交易日(yyyyMMdd)
  10420. type: string
  10421. userid:
  10422. description: 用户编号
  10423. type: integer
  10424. required:
  10425. - userid
  10426. type: object
  10427. models.Loginaccount:
  10428. properties:
  10429. accountname:
  10430. description: 账户名称
  10431. type: string
  10432. canoutin:
  10433. description: 是否可出入金 - 0:不可 1:可
  10434. type: integer
  10435. clientroleid:
  10436. description: 终端角色ID
  10437. type: integer
  10438. haslogined:
  10439. description: 是否已登录 - 0:未登录 1:已登录
  10440. type: integer
  10441. hasupdatedpwd:
  10442. description: 是否已更改密码 - 0:未修改 1:已修改
  10443. type: integer
  10444. lastloginip:
  10445. description: 最新登录地址
  10446. type: string
  10447. lastloginmode:
  10448. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10449. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10450. type: integer
  10451. lastloginremark:
  10452. description: 最新登录描述
  10453. type: string
  10454. lastlogintime:
  10455. description: 最新登录时间
  10456. type: string
  10457. logincode:
  10458. description: 登录代码
  10459. type: string
  10460. loginfailnum:
  10461. description: 连续登录失败次数(登录成功时清零)
  10462. type: integer
  10463. loginid:
  10464. description: 登陆账号
  10465. type: integer
  10466. loginport:
  10467. description: 最新登录端口
  10468. type: integer
  10469. loginstatus:
  10470. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10471. type: integer
  10472. loginusertype:
  10473. description: 登录账号类型 - 1:投资者 2:机构交易员
  10474. type: integer
  10475. mobile:
  10476. description: 手机号码(加密存储)
  10477. type: string
  10478. modifierid:
  10479. description: 修改人
  10480. type: integer
  10481. modifysrc:
  10482. description: 审核来源 - 1:管理端 2:终端
  10483. type: integer
  10484. modifytime:
  10485. description: 修改时间
  10486. type: string
  10487. password:
  10488. description: 登陆密码
  10489. type: string
  10490. pwdwrongcount:
  10491. description: 密码错误次数
  10492. type: integer
  10493. relateduserid:
  10494. description: 关联用户ID(机构)
  10495. type: integer
  10496. taaccountrighttype:
  10497. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10498. type: integer
  10499. unfreezetime:
  10500. description: 账户解冻时间
  10501. type: string
  10502. userid:
  10503. description: 用户ID
  10504. type: integer
  10505. required:
  10506. - loginid
  10507. type: object
  10508. models.MainAccountInfo:
  10509. properties:
  10510. accountid:
  10511. description: 账号id
  10512. type: integer
  10513. accountname:
  10514. description: 账号名称(taaccount表中的名称)
  10515. type: string
  10516. appid:
  10517. description: AppID
  10518. type: string
  10519. authcode:
  10520. description: 授权码
  10521. type: string
  10522. brokerid:
  10523. description: 经纪商id
  10524. type: string
  10525. fcid:
  10526. description: 期货公司id
  10527. type: integer
  10528. fcname:
  10529. description: 期货公司代码
  10530. type: string
  10531. hedgeaccountcode:
  10532. description: 外部账号代码(主账号登录代码)
  10533. type: string
  10534. hedgeaccountpwd:
  10535. description: 密码
  10536. type: string
  10537. ismain:
  10538. description: 是否主账号
  10539. type: integer
  10540. relateduserid:
  10541. description: 关联用户id
  10542. type: integer
  10543. userid:
  10544. description: 关联用户id
  10545. type: integer
  10546. type: object
  10547. models.Market:
  10548. properties:
  10549. auctionwrtype:
  10550. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10551. type: integer
  10552. canacceptquote:
  10553. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10554. type: integer
  10555. cangoodsexercise:
  10556. description: '[期权]是否可现货行权- 0:否 1:是'
  10557. type: integer
  10558. cangoodsexercisetype:
  10559. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10560. type: integer
  10561. canmanualquotestrike:
  10562. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10563. type: integer
  10564. canmutistage:
  10565. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10566. type: integer
  10567. canpreexercise:
  10568. description: '[期权]是否可预申报- 0:否 1:是'
  10569. type: integer
  10570. clearinterval:
  10571. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10572. type: integer
  10573. contracttmp:
  10574. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10575. type: string
  10576. exchareaid:
  10577. description: 所属交易所,可以没有
  10578. type: integer
  10579. goodstype:
  10580. description: 商品类型 - 1:交易商品 2:仓单商品
  10581. type: integer
  10582. hasrebate:
  10583. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10584. type: integer
  10585. hastradecredit:
  10586. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10587. type: integer
  10588. haswr:
  10589. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10590. type: integer
  10591. isdeductmargin:
  10592. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10593. type: integer
  10594. isrecordsource:
  10595. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10596. type: integer
  10597. isreleasemargin:
  10598. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10599. type: integer
  10600. marginformula:
  10601. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10602. type: integer
  10603. marginformula2:
  10604. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10605. type: integer
  10606. marketid:
  10607. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10608. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10609. type: integer
  10610. marketname:
  10611. description: 市场名称
  10612. type: string
  10613. marketserviceid:
  10614. description: 市场服务ID
  10615. type: integer
  10616. marketstatus:
  10617. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10618. type: integer
  10619. markettype:
  10620. description: 市场类型- 1:非交易服务 2:交易服务
  10621. type: integer
  10622. matchermode:
  10623. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10624. type: integer
  10625. openmethod:
  10626. description: 开盘模式 - 0 自动 1手动
  10627. type: integer
  10628. otcuserid:
  10629. description: 场外期权做市商[场外期权]
  10630. type: integer
  10631. outersynctime:
  10632. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10633. type: string
  10634. pendingflag:
  10635. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10636. type: integer
  10637. pendingtime:
  10638. description: 待开市时间[通道交易-对冲](HH:mm)
  10639. type: string
  10640. performancetempid:
  10641. description: 履约计划模板ID - 作废
  10642. type: integer
  10643. premiumquotemode:
  10644. description: 权利金报价方式 - 1:自动 2:手动
  10645. type: integer
  10646. rebateratio:
  10647. description: 返利比率[竞价式]
  10648. type: number
  10649. reckonorder:
  10650. description: 结算顺序
  10651. type: integer
  10652. reckonpricealgorithm:
  10653. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10654. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10655. type: integer
  10656. reckonpriceparam:
  10657. description: 结算价参数
  10658. type: integer
  10659. reckontime:
  10660. description: 结算时间[通道交易-对冲](HH:mm)
  10661. type: string
  10662. roleprioritytype:
  10663. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10664. type: integer
  10665. selllistingauditflag:
  10666. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10667. type: integer
  10668. trademarkettype:
  10669. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10670. type: integer
  10671. trademode:
  10672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10673. 21:竞拍-大宗式 22:受托竞价
  10674. type: integer
  10675. tradeproperty:
  10676. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10677. 8:场外期权
  10678. type: integer
  10679. tradetype:
  10680. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10681. type: integer
  10682. required:
  10683. - marketid
  10684. - marketstatus
  10685. - openmethod
  10686. - reckonpricealgorithm
  10687. - trademode
  10688. - tradeproperty
  10689. type: object
  10690. models.Marketrun:
  10691. properties:
  10692. afternexttradedate:
  10693. description: 下下交易日
  10694. type: string
  10695. clearquoteflag:
  10696. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10697. type: integer
  10698. lastreckondate:
  10699. description: 最新交易日(结算成功)
  10700. type: string
  10701. machinedate:
  10702. description: 机器时间
  10703. type: string
  10704. manualflag:
  10705. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10706. type: integer
  10707. marketid:
  10708. description: 市场ID
  10709. type: integer
  10710. nexttradedate:
  10711. description: 下一交易日
  10712. type: string
  10713. pretradedate:
  10714. description: 上一交易日
  10715. type: string
  10716. reckonflag:
  10717. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10718. type: integer
  10719. runstatus:
  10720. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10721. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10722. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10723. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10724. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10725. 62.今日免清算
  10726. type: integer
  10727. sectionid:
  10728. description: 时间段号[多时段时用]
  10729. type: integer
  10730. tradedate:
  10731. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10732. type: string
  10733. tradedate2:
  10734. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10735. type: string
  10736. updatetime:
  10737. description: 更新时间
  10738. type: string
  10739. required:
  10740. - marketid
  10741. - nexttradedate
  10742. - reckonflag
  10743. - runstatus
  10744. - tradedate
  10745. - tradedate2
  10746. type: object
  10747. models.Messageboard:
  10748. properties:
  10749. contactnum:
  10750. description: 联系电话
  10751. type: string
  10752. createtime:
  10753. description: 创建时间
  10754. type: string
  10755. message:
  10756. description: 留言信息
  10757. type: string
  10758. messageboardid:
  10759. description: 留言簿ID(SEQ_MessageBoard)
  10760. type: integer
  10761. userid:
  10762. description: 用户ID
  10763. type: integer
  10764. required:
  10765. - messageboardid
  10766. type: object
  10767. models.MyCoupon:
  10768. properties:
  10769. accountid:
  10770. description: 资金账户ID
  10771. type: integer
  10772. areauserid:
  10773. description: 所属机构
  10774. type: integer
  10775. conditionvalue:
  10776. description: 条件阈值(可为0)
  10777. type: number
  10778. couponcategroy:
  10779. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10780. type: integer
  10781. couponname:
  10782. description: 优惠券名称
  10783. type: string
  10784. coupontypeid:
  10785. description: 优惠券类型ID
  10786. type: string
  10787. couponvalue:
  10788. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10789. type: number
  10790. curfreezeqty:
  10791. description: 期末冻结数量
  10792. type: integer
  10793. curqty:
  10794. description: 期末数量
  10795. type: integer
  10796. isgeneral:
  10797. description: 是否通用券 - 0:否 1:是
  10798. type: integer
  10799. isunusable:
  10800. description: 是否不可用
  10801. type: boolean
  10802. limitedflag:
  10803. description: 是否指定商品 - 0:不限 1:限制
  10804. type: integer
  10805. limitedgoodsids:
  10806. description: 指定商品IDs[逗号分隔,前后加逗号]
  10807. type: string
  10808. orifreezeqty:
  10809. description: 期初冻结数量
  10810. type: integer
  10811. oriqty:
  10812. description: 期初数量
  10813. type: integer
  10814. reasontype:
  10815. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10816. type: integer
  10817. todaydecrease:
  10818. description: 今日减少
  10819. type: integer
  10820. todayincrease:
  10821. description: 今日增加
  10822. type: integer
  10823. userid:
  10824. description: 用户ID
  10825. type: integer
  10826. userscope:
  10827. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10828. type: string
  10829. required:
  10830. - accountid
  10831. - coupontypeid
  10832. type: object
  10833. models.MyCouponHold:
  10834. properties:
  10835. accountid:
  10836. description: 资金账户ID
  10837. type: integer
  10838. conditionvalue:
  10839. description: 条件阈值(可为0)
  10840. type: number
  10841. couponcategroy:
  10842. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10843. type: integer
  10844. couponholdid:
  10845. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10846. type: string
  10847. couponname:
  10848. description: 优惠券名称
  10849. type: string
  10850. coupontypeid:
  10851. description: 优惠券类型ID - SEQ_COUPONTYPE
  10852. type: string
  10853. couponvalue:
  10854. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10855. type: number
  10856. createtime:
  10857. description: 创建时间
  10858. type: string
  10859. enddate:
  10860. description: 结束日期
  10861. type: string
  10862. giveapplyid:
  10863. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10864. type: integer
  10865. holdstatus:
  10866. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10867. type: integer
  10868. isgeneral:
  10869. description: 是否通用券 - 0:否 1:是
  10870. type: integer
  10871. limitedflag:
  10872. description: 是否指定商品 - 0:不限 1:限制
  10873. type: integer
  10874. limitedgoodsids:
  10875. description: 指定商品IDs[逗号分隔]
  10876. type: string
  10877. qty:
  10878. description: 数量(按1平铺)
  10879. type: integer
  10880. startdate:
  10881. description: 开始日期
  10882. type: string
  10883. userid:
  10884. description: 用户ID
  10885. type: integer
  10886. userscope:
  10887. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10888. type: string
  10889. required:
  10890. - couponholdid
  10891. type: object
  10892. models.MyUsedCoupon:
  10893. properties:
  10894. accountid:
  10895. description: 资金账户ID(买方)
  10896. type: integer
  10897. conditionvalue:
  10898. description: 条件阈值(可为0)
  10899. type: number
  10900. couponcategroy:
  10901. description: 种类 - 1:现金券 2:折扣券
  10902. type: integer
  10903. couponname:
  10904. description: 优惠券名称
  10905. type: string
  10906. coupontypeid:
  10907. description: 优惠券类型ID(买方)
  10908. type: string
  10909. couponvalue:
  10910. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10911. type: number
  10912. createtime:
  10913. description: 创建时间
  10914. type: string
  10915. goodsid:
  10916. description: 商品ID
  10917. type: integer
  10918. handlestatus:
  10919. description: 处理状态
  10920. type: integer
  10921. marketid:
  10922. description: 市场ID
  10923. type: integer
  10924. offamount:
  10925. description: 优惠金额
  10926. type: number
  10927. orderid:
  10928. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10929. type: string
  10930. sellaccountid:
  10931. description: 资金账户ID(卖方)
  10932. type: integer
  10933. tradeamount:
  10934. description: 成交金额
  10935. type: number
  10936. tradeid:
  10937. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10938. type: string
  10939. usedqty:
  10940. description: 使用数量
  10941. type: integer
  10942. required:
  10943. - coupontypeid
  10944. - orderid
  10945. type: object
  10946. models.OperationPrimaryMenu:
  10947. properties:
  10948. Children:
  10949. description: 二级功能菜单
  10950. items:
  10951. $ref: '#/definitions/models.OperationSecondaryMenu'
  10952. type: array
  10953. Key:
  10954. description: 菜单KEY
  10955. type: string
  10956. Label:
  10957. description: 菜单标题
  10958. type: string
  10959. type: object
  10960. models.OperationSecondaryMenu:
  10961. properties:
  10962. Key:
  10963. description: 菜单KEY
  10964. type: string
  10965. Label:
  10966. description: 菜单标题
  10967. type: string
  10968. TabList:
  10969. description: 三级功能菜单
  10970. items:
  10971. $ref: '#/definitions/models.OperationTabMenu'
  10972. type: array
  10973. type: object
  10974. models.OperationTabMenu:
  10975. properties:
  10976. Key:
  10977. description: 菜单KEY
  10978. type: string
  10979. Label:
  10980. description: 菜单标题
  10981. type: string
  10982. type: object
  10983. models.QhjAccountOutInApply:
  10984. properties:
  10985. accountcode:
  10986. description: 资金账号
  10987. type: string
  10988. accountname:
  10989. description: 用户名称(名称)
  10990. type: string
  10991. accountpwd:
  10992. description: 资金密码
  10993. type: string
  10994. accountticket:
  10995. description: 最新账户服务流水号
  10996. type: string
  10997. amount:
  10998. description: 金额
  10999. type: number
  11000. applyremark:
  11001. description: 申请备注
  11002. type: string
  11003. applystatus:
  11004. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11005. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11006. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11007. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11008. type: integer
  11009. auditid:
  11010. description: 审核人
  11011. type: integer
  11012. audittime:
  11013. description: 审核时间
  11014. type: string
  11015. bank_apply_ticket:
  11016. description: 银行申请流水
  11017. type: string
  11018. bankaccountname:
  11019. description: 银行账户名
  11020. type: string
  11021. bankaccountno:
  11022. description: 银行卡号
  11023. type: string
  11024. bankid:
  11025. description: 银行编号
  11026. type: string
  11027. bankticket:
  11028. description: 银行流水
  11029. type: string
  11030. branchbankid:
  11031. description: 银行支行号
  11032. type: string
  11033. branchbankname:
  11034. description: 银行支行名称
  11035. type: string
  11036. capamountout:
  11037. description: 出金(劣后本金) - 外部子账户
  11038. type: number
  11039. certificatephotourl:
  11040. description: 凭证地址
  11041. type: string
  11042. charge:
  11043. description: 手续费
  11044. type: number
  11045. checkerrorflag:
  11046. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11047. type: integer
  11048. currency:
  11049. description: 币种
  11050. type: string
  11051. cusbankid:
  11052. description: 托管银行编号
  11053. type: string
  11054. exchticket:
  11055. description: 银行服务流水号
  11056. type: string
  11057. executetype:
  11058. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11059. 7:外部子账户:入金 8:外部子账户:出金'
  11060. type: integer
  11061. extendinfo:
  11062. description: 扩展信息
  11063. type: string
  11064. extoperateid:
  11065. description: 交易服务流水号
  11066. type: integer
  11067. infamount:
  11068. description: 劣后金额(自有)
  11069. type: number
  11070. logincode:
  11071. description: 登录账号(账号)
  11072. type: string
  11073. netaddr:
  11074. description: 调转网址
  11075. type: string
  11076. priamount:
  11077. description: 优先金额(授信)
  11078. type: number
  11079. reauditid:
  11080. description: 复审人
  11081. type: integer
  11082. reauditremark:
  11083. description: 复审备注
  11084. type: string
  11085. reaudittime:
  11086. description: 复审时间
  11087. type: string
  11088. relatedorderid:
  11089. description: 三方关联ID
  11090. type: string
  11091. remark:
  11092. description: 备注
  11093. type: string
  11094. remark2:
  11095. description: 备注(失败原因)
  11096. type: string
  11097. soucreamount:
  11098. description: 原始出入金金额
  11099. type: number
  11100. soucrecurrencyid:
  11101. description: 原始出入金币种
  11102. type: integer
  11103. tradedate:
  11104. description: 交易日(yyyyMMdd)
  11105. type: string
  11106. updatetime:
  11107. description: 更新时间(申请时间)
  11108. type: string
  11109. userid:
  11110. description: 用户id
  11111. type: integer
  11112. userinfotype:
  11113. description: 账户类型 1-个人 2-企业
  11114. type: integer
  11115. type: object
  11116. models.QhjAgreementChangeLog:
  11117. properties:
  11118. agreementcontent:
  11119. description: 协议内容
  11120. type: string
  11121. agreementfrequency:
  11122. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11123. type: integer
  11124. agreementid:
  11125. description: 协议ID
  11126. type: integer
  11127. agreementname:
  11128. description: 协议名称
  11129. type: string
  11130. agreementno:
  11131. description: 协议编号
  11132. type: string
  11133. agreementtype:
  11134. description: 协议类型 - 1:注册 2:登录 3:交易
  11135. type: integer
  11136. agreementversion:
  11137. description: 协议版本号
  11138. type: integer
  11139. logid:
  11140. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  11141. type: integer
  11142. reviserid:
  11143. description: 修改人
  11144. type: integer
  11145. revisersrc:
  11146. description: 修改来源 - 1:管理端 2:终端
  11147. type: integer
  11148. updatetime:
  11149. description: 更新时间
  11150. type: string
  11151. type: object
  11152. models.QhjAgreementConfig:
  11153. properties:
  11154. agreementcontent:
  11155. description: 协议内容
  11156. type: string
  11157. agreementfrequency:
  11158. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11159. type: integer
  11160. agreementid:
  11161. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  11162. type: integer
  11163. agreementname:
  11164. description: 协议名称
  11165. type: string
  11166. agreementno:
  11167. description: 协议编号
  11168. type: string
  11169. agreementtype:
  11170. description: 协议类型 - 1:注册 2:登录 3:交易
  11171. type: integer
  11172. agreementversion:
  11173. description: 协议版本号(从1开始每次修改加1)
  11174. type: integer
  11175. createtime:
  11176. description: 创建时间
  11177. type: string
  11178. creatorid:
  11179. description: 创建人
  11180. type: integer
  11181. creatorsrc:
  11182. description: 创建来源 - 1:管理端 2:终端
  11183. type: integer
  11184. isvalid:
  11185. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  11186. type: integer
  11187. reviserid:
  11188. description: 修改人
  11189. type: integer
  11190. revisersrc:
  11191. description: 修改来源 - 1:管理端 2:终端
  11192. type: integer
  11193. updatetime:
  11194. description: 更新时间
  11195. type: string
  11196. type: object
  11197. models.QhjAreaFinanceConfig:
  11198. properties:
  11199. additionalratio:
  11200. description: 追加款比例
  11201. type: number
  11202. advanceratio:
  11203. description: 预付款比例
  11204. type: number
  11205. alarmratio:
  11206. description: 告警比例
  11207. type: number
  11208. consumptiondirectreward:
  11209. description: 消费直推奖励值
  11210. type: number
  11211. consumptionenabled:
  11212. description: 是否启用消费奖励 - 0:不启用 1:启用
  11213. type: integer
  11214. consumptionindirectreward:
  11215. description: 消费间推奖励值
  11216. type: number
  11217. consumptionmodel:
  11218. description: 消费奖励方式 - 1:比率 2:固定
  11219. type: integer
  11220. customerservicenum:
  11221. description: 客服电话
  11222. type: string
  11223. dayinterestrate:
  11224. description: 日利率
  11225. type: number
  11226. disableconsumptiontips:
  11227. description: 关闭消费奖励提示
  11228. type: string
  11229. modifierid:
  11230. description: 修改人ID
  11231. type: integer
  11232. modifysrc:
  11233. description: 审核来源 - 1:管理端 2:终端
  11234. type: integer
  11235. modifytime:
  11236. description: 修改时间
  11237. type: string
  11238. promotionvalue:
  11239. description: 推广奖励值(固定)
  11240. type: number
  11241. scoreconfigvalue1:
  11242. description: 提货积分配置1
  11243. type: integer
  11244. scoreconfigvalue2:
  11245. description: 提货积分配置2
  11246. type: integer
  11247. userid:
  11248. description: 机构用户ID其他做市关系,都设置为 1
  11249. type: integer
  11250. username:
  11251. description: 用户名称
  11252. type: string
  11253. type: object
  11254. models.QhjBankAccountSign:
  11255. properties:
  11256. accountcode:
  11257. description: 资金账号
  11258. type: string
  11259. accountname:
  11260. description: 资金账号对应的账号名(UserName)
  11261. type: string
  11262. accountname2:
  11263. description: 资金账号对应的账号名(UserName) - 密文
  11264. type: string
  11265. accounttype:
  11266. description: 账户类型(UserType)
  11267. type: integer
  11268. applicationtime:
  11269. description: 最后一次更新的时间
  11270. type: string
  11271. applyexchticket:
  11272. description: 申请流水
  11273. type: string
  11274. auditid:
  11275. description: 审核人
  11276. type: integer
  11277. audittime:
  11278. description: 审核时间
  11279. type: string
  11280. bankaccountname:
  11281. description: 签约银行卡账号名
  11282. type: string
  11283. bankaccountname2:
  11284. description: 签约银行卡账号名 - 密文
  11285. type: string
  11286. bankaccountno:
  11287. description: 银行卡号
  11288. type: string
  11289. bankaccountno2:
  11290. description: 银行卡号 - 密文
  11291. type: string
  11292. bankaccounttype:
  11293. description: 银行账户类型 - 1-对私; 2-对公
  11294. type: integer
  11295. bankcardtype:
  11296. description: 银行卡类型
  11297. type: integer
  11298. bankchildaccount:
  11299. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  11300. type: string
  11301. bankcity:
  11302. description: 开户行城市
  11303. type: string
  11304. bankid:
  11305. description: 签约银行ID
  11306. type: string
  11307. bankname:
  11308. description: 签约银行名称
  11309. type: string
  11310. bankprovince:
  11311. description: 开户行省份
  11312. type: string
  11313. branchbankid:
  11314. description: 签约银行支行号
  11315. type: string
  11316. branchbankname:
  11317. description: 签约银行支行名称
  11318. type: string
  11319. cardno:
  11320. description: 证件号码
  11321. type: string
  11322. cardno2:
  11323. description: 证件号码 - 密文
  11324. type: string
  11325. cardtype:
  11326. description: 证件类型
  11327. type: string
  11328. currency:
  11329. description: 币种
  11330. type: string
  11331. cusbankid:
  11332. description: 托管银行编号
  11333. type: string
  11334. direct:
  11335. description: 方向(可以判断那方先发起的签约)
  11336. type: integer
  11337. exchticket:
  11338. description: 最后一次签约成功的流水号
  11339. type: string
  11340. extendinfo:
  11341. description: 扩展信息(JSON字符串)
  11342. type: string
  11343. mobilephone:
  11344. description: 手机号
  11345. type: string
  11346. mobilephone2:
  11347. description: 手机号 - 密文
  11348. type: string
  11349. netaddr:
  11350. description: 调转网址
  11351. type: string
  11352. relateduserid:
  11353. description: 关联使用者userid
  11354. type: integer
  11355. signstatus:
  11356. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  11357. 10:审核拒绝 11:换签待审核
  11358. type: integer
  11359. updatetime:
  11360. description: 更新时间(签解约更新时间)
  11361. type: string
  11362. type: object
  11363. models.QhjBankInfo:
  11364. properties:
  11365. bankid:
  11366. description: 银行ID
  11367. type: string
  11368. bankname:
  11369. description: 银行名称
  11370. type: string
  11371. clearbankno:
  11372. description: 清算系统银行编号
  11373. type: string
  11374. orderindex:
  11375. description: 排序顺序
  11376. type: integer
  11377. status:
  11378. description: 状态 - 0:正常 1:注销
  11379. type: integer
  11380. type: object
  11381. models.QhjBrokerApply:
  11382. properties:
  11383. applicantid:
  11384. description: 申请人
  11385. type: integer
  11386. applysrc:
  11387. description: 申请来源 - 1:管理端 2:终端
  11388. type: integer
  11389. applystatus:
  11390. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11391. type: integer
  11392. applytime:
  11393. description: 申请时间
  11394. type: string
  11395. auditorid:
  11396. description: 审核人
  11397. type: integer
  11398. auditremark:
  11399. description: 审核备注
  11400. type: string
  11401. auditsrc:
  11402. description: 审核来源 - 1:管理端 2:终端
  11403. type: integer
  11404. audittime:
  11405. description: 审核时间
  11406. type: string
  11407. audittradedate:
  11408. description: 审核交易日(yyyyMMdd)
  11409. type: string
  11410. brokerapplyid:
  11411. description: 申请ID(SEQ_BROKERAPPLY)
  11412. type: integer
  11413. cardbackphotourl:
  11414. description: 证件背面图片地址
  11415. type: string
  11416. cardfrontphotourl:
  11417. description: 证件正面图片地址
  11418. type: string
  11419. cardnum:
  11420. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11421. type: string
  11422. customername:
  11423. description: 姓名
  11424. type: string
  11425. logincode:
  11426. description: 登录代码
  11427. type: string
  11428. mobile:
  11429. description: 手机号码
  11430. type: string
  11431. parentuserid:
  11432. description: 所属机构id
  11433. type: integer
  11434. parentusername:
  11435. description: 所属机构名称
  11436. type: string
  11437. refereeuserid:
  11438. description: 推荐人id(经纪人)
  11439. type: integer
  11440. refernum:
  11441. description: 推荐码
  11442. type: string
  11443. remark:
  11444. description: 备注
  11445. type: string
  11446. subarealevelpath:
  11447. description: 层级路径
  11448. type: string
  11449. tradedate:
  11450. description: 交易日(yyyyMMdd)
  11451. type: string
  11452. userid:
  11453. description: 申请人用户ID
  11454. type: integer
  11455. userinfotype:
  11456. description: 用户类型 1-个人 2-企业
  11457. type: integer
  11458. username:
  11459. description: 用户名称
  11460. type: string
  11461. type: object
  11462. models.QhjBrokerApplyEx:
  11463. properties:
  11464. applylist:
  11465. description: 经纪人申请记录(只返回最新一条)
  11466. items:
  11467. $ref: '#/definitions/models.QhjBrokerApply'
  11468. type: array
  11469. canrecommend:
  11470. description: 是否经纪人 0-不是 1-是
  11471. type: integer
  11472. refernum:
  11473. description: 推荐码
  11474. type: string
  11475. userid:
  11476. description: 用户id
  11477. type: integer
  11478. userinfotype:
  11479. description: 用户类型 1-个人 2-企业
  11480. type: integer
  11481. type: object
  11482. models.QhjBrokerRewardLog:
  11483. properties:
  11484. accountid:
  11485. description: 资金账号ID
  11486. type: integer
  11487. createtime:
  11488. description: 创建时间(时间)
  11489. type: string
  11490. handlestatus:
  11491. description: 处理状态
  11492. type: integer
  11493. logid:
  11494. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11495. type: string
  11496. marketid:
  11497. description: 市场ID
  11498. type: integer
  11499. mmaccountid:
  11500. description: 做市商资金账号ID
  11501. type: string
  11502. mmuserid:
  11503. description: 做市商用户ID
  11504. type: string
  11505. rewardamount:
  11506. description: 奖励金额
  11507. type: number
  11508. rewardmodel:
  11509. description: 消费奖励方式 - 1:比率 2:固定
  11510. type: integer
  11511. rewardtype:
  11512. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  11513. type: integer
  11514. rewardvalue:
  11515. description: 配置奖励值
  11516. type: number
  11517. srcamount:
  11518. description: 成交金额 [消费奖励] (金额)
  11519. type: number
  11520. srcgoodsid:
  11521. description: 来源商品ID [消费奖励]
  11522. type: string
  11523. srctime:
  11524. description: 来源时间 (成交时间) [消费奖励]
  11525. type: string
  11526. srctradeid:
  11527. description: 来源成交单ID [消费奖励] - 排除提货成交
  11528. type: string
  11529. srcuserid:
  11530. description: 来源用户ID(推广账户)
  11531. type: string
  11532. srcusername:
  11533. description: 推广账户名称
  11534. type: string
  11535. tradedate:
  11536. description: 交易日(yyyyMMdd)
  11537. type: string
  11538. userid:
  11539. description: 经纪人用户ID
  11540. type: integer
  11541. type: object
  11542. models.QhjContract:
  11543. properties:
  11544. contractconfirmtime:
  11545. description: 合同确认时间(时间)
  11546. type: string
  11547. currisklevel:
  11548. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11549. type: integer
  11550. decimalplace:
  11551. description: 商品报价小数位
  11552. type: integer
  11553. enumdicname:
  11554. description: 单位名称
  11555. type: string
  11556. goodscode:
  11557. description: 商品代码
  11558. type: string
  11559. goodsid:
  11560. description: 商品ID [5:融资单]
  11561. type: integer
  11562. goodsname:
  11563. description: 商品名称
  11564. type: string
  11565. goodunitid:
  11566. description: 商品单位id
  11567. type: integer
  11568. initmargin:
  11569. description: 初始保证金(首付款)
  11570. type: number
  11571. lenderamount:
  11572. description: 贷款金额(总额|订单总额)
  11573. type: number
  11574. marginratio:
  11575. description: 保证金比率(首付比例)
  11576. type: number
  11577. payamount:
  11578. description: 已付(已付货款)
  11579. type: number
  11580. reckonrecovermargin:
  11581. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11582. type: number
  11583. recoveredmargin:
  11584. description: 已追缴保证金
  11585. type: number
  11586. remainamount:
  11587. description: 合同剩余金额(融资额)
  11588. type: number
  11589. scfcontractid:
  11590. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11591. type: string
  11592. scfcontractstatus:
  11593. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11594. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11595. type: integer
  11596. scfcontracttype:
  11597. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11598. type: integer
  11599. totalinterest:
  11600. description: 已计总利息(利息)
  11601. type: number
  11602. tradeprice:
  11603. description: 成交价格(成本价格)
  11604. type: number
  11605. userid:
  11606. description: 用户ID
  11607. type: integer
  11608. username:
  11609. description: 用户名称
  11610. type: string
  11611. wrqty:
  11612. description: 仓单数量(数量)
  11613. type: number
  11614. type: object
  11615. models.QhjContractLog:
  11616. properties:
  11617. amount:
  11618. description: 支付金额
  11619. type: number
  11620. amounttype:
  11621. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  11622. type: integer
  11623. logid:
  11624. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11625. type: string
  11626. remainamount:
  11627. description: 剩余货款
  11628. type: number
  11629. scfcontractid:
  11630. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11631. type: integer
  11632. updatetime:
  11633. description: 更新时间
  11634. type: string
  11635. type: object
  11636. models.QhjCusBankSignBankEx:
  11637. properties:
  11638. banklst:
  11639. description: 银行列表
  11640. items:
  11641. $ref: '#/definitions/models.QhjBankInfo'
  11642. type: array
  11643. canallot:
  11644. description: 是否支持跨行调拨 - 0:不支持 1:支持
  11645. type: integer
  11646. canallotquery:
  11647. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  11648. type: integer
  11649. canbindcard:
  11650. description: 是否可绑卡与解卡 - 0:不可 1:可以
  11651. type: integer
  11652. caninamount:
  11653. description: 是否可入金 - 0:不可 1:可以
  11654. type: integer
  11655. caninamount2:
  11656. description: 是否可入金(网银端) - 0:不可 1:可以
  11657. type: integer
  11658. canmodifybankcard:
  11659. description: 是否可修改银行卡号 - 0:不可 1:可以
  11660. type: integer
  11661. canmodifyphone:
  11662. description: 是否可修改手机号 - 0:不可 1:可以
  11663. type: integer
  11664. canmodifysigninfo:
  11665. description: 是否可修改签约信息 - 0:不可 1:可以
  11666. type: integer
  11667. canoutamount:
  11668. description: 是否可出金 - 0:不可 1:可以
  11669. type: integer
  11670. canoutamount2:
  11671. description: 是否可出金(网银端) - 0:不可 1:可以
  11672. type: integer
  11673. canrelease:
  11674. description: 是否可解约 - 0:不可 1:可以
  11675. type: integer
  11676. canrelease2:
  11677. description: 是否可解约(网银端) - 0:不可 1:可以
  11678. type: integer
  11679. cansign:
  11680. description: 是否可签约 - 0:不可 1:可以
  11681. type: integer
  11682. cansign2:
  11683. description: 是否可签约(网银端) - 0:不可 1:可以
  11684. type: integer
  11685. currency:
  11686. description: 币种
  11687. type: string
  11688. cusbankid:
  11689. description: 托管银行编号(对应清算中心TRAN_NO)
  11690. type: string
  11691. cusbankname:
  11692. description: 银行业务名称
  11693. type: string
  11694. cusbankshortname:
  11695. description: 银行业务简称
  11696. type: string
  11697. exchbankid:
  11698. description: 交易所开户银行ID
  11699. type: string
  11700. exchpaybankaccname:
  11701. description: 交易所支出结算账户户名
  11702. type: string
  11703. exchpaybankaccno:
  11704. description: 交易所支出结算账户
  11705. type: string
  11706. isneedcheck:
  11707. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  11708. type: integer
  11709. isneedclear:
  11710. description: 是否需要清算 - 0:不需要 1:需要
  11711. type: integer
  11712. lastcheckstatus:
  11713. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  11714. type: integer
  11715. lastchecktime:
  11716. description: 最后对账时间
  11717. type: string
  11718. lastclearstatus:
  11719. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  11720. type: integer
  11721. lastcleartime:
  11722. description: 最后清算时间
  11723. type: string
  11724. lastsignintime:
  11725. description: 最后签到时间
  11726. type: string
  11727. lastsignouttime:
  11728. description: 最后签退时间
  11729. type: string
  11730. riskinfo:
  11731. description: 签约风险提示书
  11732. type: string
  11733. signstatus:
  11734. description: 当前签到/签退状态 - 1:签到 2:签退
  11735. type: integer
  11736. tradedate:
  11737. description: 交易日(yyyyMMdd)
  11738. type: string
  11739. updatetime:
  11740. description: 当前签到/签退更新时间
  11741. type: string
  11742. type: object
  11743. models.QhjCustomer:
  11744. properties:
  11745. address:
  11746. description: 通讯地址
  11747. type: string
  11748. attachment1:
  11749. description: 附件1
  11750. type: string
  11751. attachment2:
  11752. description: 附件2
  11753. type: string
  11754. audittime:
  11755. description: 审核时间
  11756. type: string
  11757. cardbackphotourl:
  11758. description: 证件反面图片地址
  11759. type: string
  11760. cardfrontphotourl:
  11761. description: 证件正面图片地址
  11762. type: string
  11763. cardnum:
  11764. description: 证件号码
  11765. type: string
  11766. cardtype:
  11767. description: 证件类型
  11768. type: integer
  11769. cardtypename:
  11770. description: 证件类型名称
  11771. type: string
  11772. cityid:
  11773. description: 市
  11774. type: integer
  11775. cityname:
  11776. description: 城市名称
  11777. type: string
  11778. contactname:
  11779. description: 联系人
  11780. type: string
  11781. countryid:
  11782. description: 国家
  11783. type: integer
  11784. countryname:
  11785. description: 国家名称
  11786. type: string
  11787. createtime:
  11788. description: 创建时间
  11789. type: string
  11790. customername:
  11791. description: 客户名称
  11792. type: string
  11793. districtid:
  11794. description: 区域
  11795. type: integer
  11796. districtname:
  11797. description: 地区名称
  11798. type: string
  11799. email:
  11800. description: 邮件
  11801. type: string
  11802. legalpersonname:
  11803. description: 法人姓名(企业)
  11804. type: string
  11805. logincode:
  11806. description: 登录账号(代码)
  11807. type: string
  11808. memberuserid:
  11809. description: 所属机构ID(所属会员)
  11810. type: integer
  11811. memberusername:
  11812. description: 所属会员名称
  11813. type: string
  11814. mobile:
  11815. description: 手机号码
  11816. type: string
  11817. modifytime:
  11818. description: 修改时间
  11819. type: string
  11820. nickname:
  11821. description: 昵称
  11822. type: string
  11823. parentuserid:
  11824. description: 上级机构(所属机构)
  11825. type: integer
  11826. parentusername:
  11827. description: 所属机构名称
  11828. type: string
  11829. provinceid:
  11830. description: 省
  11831. type: integer
  11832. provincename:
  11833. description: 省名称
  11834. type: string
  11835. proxystatementurl:
  11836. description: 授权委托书
  11837. type: string
  11838. remark:
  11839. description: 备注
  11840. type: string
  11841. status:
  11842. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11843. type: integer
  11844. statusdesc:
  11845. description: 账户状态中文描述
  11846. type: string
  11847. taxpayernum:
  11848. description: 纳税人识别号
  11849. type: string
  11850. telphone:
  11851. description: 联系电话
  11852. type: string
  11853. userid:
  11854. description: 用户ID
  11855. type: integer
  11856. userinfotype:
  11857. description: 客户类型 1-个人 2-企业
  11858. type: integer
  11859. username:
  11860. description: 用户名称
  11861. type: string
  11862. type: object
  11863. models.QhjCustomerSignLog:
  11864. properties:
  11865. agreementcontent:
  11866. description: 协议内容
  11867. type: string
  11868. agreementid:
  11869. description: 协议ID
  11870. type: integer
  11871. agreementname:
  11872. description: 协议名称
  11873. type: string
  11874. agreementno:
  11875. description: 协议编号
  11876. type: string
  11877. agreementtype:
  11878. description: 协议类型 - 1:注册 2:登录 3:交易
  11879. type: integer
  11880. agreementversion:
  11881. description: 协议版本号
  11882. type: integer
  11883. createtime:
  11884. description: 创建时间
  11885. type: string
  11886. goodscode:
  11887. description: 商品代码
  11888. type: string
  11889. goodsid:
  11890. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11891. type: integer
  11892. goodsname:
  11893. description: 商品名称
  11894. type: string
  11895. logid:
  11896. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11897. type: integer
  11898. nodetype:
  11899. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11900. type: integer
  11901. signadressurl:
  11902. description: 签约文件地址
  11903. type: string
  11904. signtimestamp:
  11905. description: 签约状态时间戳
  11906. type: string
  11907. userid:
  11908. description: 客户ID
  11909. type: integer
  11910. username:
  11911. description: 客户名称
  11912. type: string
  11913. type: object
  11914. models.QhjCustomerSignStatus:
  11915. properties:
  11916. createtime:
  11917. description: 创建时间
  11918. type: string
  11919. goodscode:
  11920. description: 商品代码
  11921. type: string
  11922. goodsid:
  11923. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11924. type: integer
  11925. goodsname:
  11926. description: 商品名称
  11927. type: string
  11928. nodetype:
  11929. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11930. type: integer
  11931. signtimestamp:
  11932. description: 签约状态时间戳
  11933. type: string
  11934. tradedate:
  11935. description: 创建交易日(yyyyMMdd)
  11936. type: string
  11937. updatetime:
  11938. description: 更新时间
  11939. type: string
  11940. userid:
  11941. description: 客户ID
  11942. type: integer
  11943. username:
  11944. description: 客户名称
  11945. type: string
  11946. type: object
  11947. models.QhjMgrAccountOutInApply:
  11948. properties:
  11949. accountcode:
  11950. description: 资金账号
  11951. type: string
  11952. accountname:
  11953. description: 用户名称(名称)
  11954. type: string
  11955. accountpwd:
  11956. description: 资金密码
  11957. type: string
  11958. accountticket:
  11959. description: 最新账户服务流水号
  11960. type: string
  11961. amount:
  11962. description: 金额
  11963. type: number
  11964. applyremark:
  11965. description: 申请备注
  11966. type: string
  11967. applystatus:
  11968. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11969. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11970. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11971. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11972. type: integer
  11973. auditid:
  11974. description: 审核人
  11975. type: integer
  11976. audittime:
  11977. description: 审核时间
  11978. type: string
  11979. bank_apply_ticket:
  11980. description: 银行申请流水
  11981. type: string
  11982. bankaccountname:
  11983. description: 银行账户名
  11984. type: string
  11985. bankaccountno:
  11986. description: 银行卡号
  11987. type: string
  11988. bankid:
  11989. description: 银行编号
  11990. type: string
  11991. bankname:
  11992. description: 银行名称
  11993. type: string
  11994. bankticket:
  11995. description: 银行流水
  11996. type: string
  11997. branchbankid:
  11998. description: 银行支行号
  11999. type: string
  12000. branchbankname:
  12001. description: 银行支行名称
  12002. type: string
  12003. capamountout:
  12004. description: 出金(劣后本金) - 外部子账户
  12005. type: number
  12006. certificatephotourl:
  12007. description: 凭证地址
  12008. type: string
  12009. charge:
  12010. description: 手续费
  12011. type: number
  12012. checkerrorflag:
  12013. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12014. type: integer
  12015. currency:
  12016. description: 币种
  12017. type: string
  12018. cusbankid:
  12019. description: 托管银行编号
  12020. type: string
  12021. exchticket:
  12022. description: 银行服务流水号
  12023. type: string
  12024. executetype:
  12025. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12026. 7:外部子账户:入金 8:外部子账户:出金'
  12027. type: integer
  12028. extendinfo:
  12029. description: 扩展信息
  12030. type: string
  12031. extoperateid:
  12032. description: 交易服务流水号
  12033. type: integer
  12034. infamount:
  12035. description: 劣后金额(自有)
  12036. type: number
  12037. logincode:
  12038. description: 登录账号(账号)
  12039. type: string
  12040. netaddr:
  12041. description: 调转网址
  12042. type: string
  12043. priamount:
  12044. description: 优先金额(授信)
  12045. type: number
  12046. reauditid:
  12047. description: 复审人
  12048. type: integer
  12049. reauditremark:
  12050. description: 复审备注
  12051. type: string
  12052. reaudittime:
  12053. description: 复审时间
  12054. type: string
  12055. relatedorderid:
  12056. description: 三方关联ID
  12057. type: string
  12058. remark:
  12059. description: 备注
  12060. type: string
  12061. remark2:
  12062. description: 备注(失败原因)
  12063. type: string
  12064. soucreamount:
  12065. description: 原始出入金金额
  12066. type: number
  12067. soucrecurrencyid:
  12068. description: 原始出入金币种
  12069. type: integer
  12070. tradedate:
  12071. description: 交易日(yyyyMMdd)
  12072. type: string
  12073. updatetime:
  12074. description: 更新时间(申请时间)
  12075. type: string
  12076. userid:
  12077. description: 用户id
  12078. type: integer
  12079. userinfotype:
  12080. description: 账户类型 1-个人 2-企业
  12081. type: integer
  12082. type: object
  12083. models.QhjMgrBrokerApply:
  12084. properties:
  12085. applicantid:
  12086. description: 申请人
  12087. type: integer
  12088. applysrc:
  12089. description: 申请来源 - 1:管理端 2:终端
  12090. type: integer
  12091. applystatus:
  12092. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12093. type: integer
  12094. applytime:
  12095. description: 申请时间
  12096. type: string
  12097. auditorid:
  12098. description: 审核人
  12099. type: integer
  12100. auditremark:
  12101. description: 审核备注
  12102. type: string
  12103. auditsrc:
  12104. description: 审核来源 - 1:管理端 2:终端
  12105. type: integer
  12106. audittime:
  12107. description: 审核时间
  12108. type: string
  12109. audittradedate:
  12110. description: 审核交易日(yyyyMMdd)
  12111. type: string
  12112. brokerapplyid:
  12113. description: 申请ID(SEQ_BROKERAPPLY)
  12114. type: integer
  12115. cardbackphotourl:
  12116. description: 证件背面图片地址
  12117. type: string
  12118. cardfrontphotourl:
  12119. description: 证件正面图片地址
  12120. type: string
  12121. cardnum:
  12122. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12123. type: string
  12124. customername:
  12125. description: 姓名
  12126. type: string
  12127. filterstatus:
  12128. description: 筛选条件
  12129. type: string
  12130. logincode:
  12131. description: 登录代码
  12132. type: string
  12133. mobile:
  12134. description: 手机号码
  12135. type: string
  12136. parentuserid:
  12137. description: 所属机构id
  12138. type: integer
  12139. parentusername:
  12140. description: 所属机构名称
  12141. type: string
  12142. refereeuserid:
  12143. description: 推荐人id(经纪人)
  12144. type: integer
  12145. refernum:
  12146. description: 推荐码
  12147. type: string
  12148. remark:
  12149. description: 备注
  12150. type: string
  12151. subarealevelpath:
  12152. description: 层级路径
  12153. type: string
  12154. tradedate:
  12155. description: 交易日(yyyyMMdd)
  12156. type: string
  12157. userid:
  12158. description: 申请人用户ID
  12159. type: integer
  12160. userinfotype:
  12161. description: 用户类型 1-个人 2-企业
  12162. type: integer
  12163. username:
  12164. description: 用户名称
  12165. type: string
  12166. type: object
  12167. models.QhjMgrBrokerRewardReport:
  12168. properties:
  12169. createtime:
  12170. description: 创建时间(注册时间)
  12171. type: string
  12172. cycletime:
  12173. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  12174. type: string
  12175. cycletype:
  12176. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  12177. type: integer
  12178. directtotalnum:
  12179. description: 直推总人数【期末】
  12180. type: integer
  12181. indirecttotalnum:
  12182. description: 间推总人数【期末】
  12183. type: integer
  12184. mobile:
  12185. description: 电话号码
  12186. type: string
  12187. refereeuserid:
  12188. description: 推荐人id(经纪人id)
  12189. type: integer
  12190. refereeusername:
  12191. description: 推荐人名称(经纪人) 上级经纪人名称
  12192. type: string
  12193. refernum:
  12194. description: 推荐码
  12195. type: string
  12196. subarealevelpath:
  12197. description: 用户层级路径
  12198. type: string
  12199. todayrewardamount:
  12200. description: 奖励总金额【汇总】
  12201. type: number
  12202. updatetime:
  12203. description: 更新时间
  12204. type: string
  12205. userid:
  12206. description: 经纪人用户ID
  12207. type: integer
  12208. userinfotype:
  12209. description: 用户类型 1-个人 2-企业
  12210. type: integer
  12211. username:
  12212. description: 用户名称
  12213. type: string
  12214. type: object
  12215. models.QhjMgrContract:
  12216. properties:
  12217. contractconfirmtime:
  12218. description: 合同确认时间(时间)
  12219. type: string
  12220. currisklevel:
  12221. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12222. type: integer
  12223. decimalplace:
  12224. description: 商品报价小数位
  12225. type: integer
  12226. enumdicname:
  12227. description: 单位名称
  12228. type: string
  12229. goodscode:
  12230. description: 商品代码
  12231. type: string
  12232. goodsid:
  12233. description: 商品ID [5:融资单]
  12234. type: integer
  12235. goodsname:
  12236. description: 商品名称
  12237. type: string
  12238. goodunitid:
  12239. description: 商品单位id
  12240. type: integer
  12241. initmargin:
  12242. description: 初始保证金(首付款)
  12243. type: number
  12244. lenderamount:
  12245. description: 贷款金额(总额|订单总额)
  12246. type: number
  12247. logincode:
  12248. description: 账号(登录代码)
  12249. type: string
  12250. marginratio:
  12251. description: 保证金比率(首付比例)
  12252. type: number
  12253. mobile:
  12254. description: 电话号码(用户资料里的电话)
  12255. type: string
  12256. payamount:
  12257. description: 已付(已付货款)
  12258. type: number
  12259. reckonrecovermargin:
  12260. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12261. type: number
  12262. recoveredmargin:
  12263. description: 已追缴保证金
  12264. type: number
  12265. remainamount:
  12266. description: 合同剩余金额(融资额)
  12267. type: number
  12268. scfcontractid:
  12269. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12270. type: string
  12271. scfcontractstatus:
  12272. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12273. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12274. type: integer
  12275. scfcontracttype:
  12276. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12277. type: integer
  12278. totalinterest:
  12279. description: 已计总利息(利息)
  12280. type: number
  12281. tradedate:
  12282. description: 交易日
  12283. type: string
  12284. tradeprice:
  12285. description: 成交价格(成本价格)
  12286. type: number
  12287. userid:
  12288. description: 用户ID
  12289. type: integer
  12290. userinfotype:
  12291. description: 用户类型 1-个人 2-企业
  12292. type: integer
  12293. username:
  12294. description: 用户名称
  12295. type: string
  12296. wrqty:
  12297. description: 仓单数量(数量)
  12298. type: number
  12299. type: object
  12300. models.QhjMgrCustomer:
  12301. properties:
  12302. address:
  12303. description: 通讯地址
  12304. type: string
  12305. attachment1:
  12306. description: 附件1
  12307. type: string
  12308. audittime:
  12309. description: 审核时间
  12310. type: string
  12311. birthday:
  12312. description: 生日
  12313. type: string
  12314. brokerid:
  12315. description: 所属客户经理id
  12316. type: integer
  12317. brokername:
  12318. description: 所属客户经理名称
  12319. type: string
  12320. cardbackphotourl:
  12321. description: 证件反面图片地址
  12322. type: string
  12323. cardfrontphotourl:
  12324. description: 证件正面图片地址
  12325. type: string
  12326. cardnum:
  12327. description: 证件号码
  12328. type: string
  12329. cardtype:
  12330. description: 证件类型
  12331. type: integer
  12332. cardtypename:
  12333. description: 证件类型名称
  12334. type: string
  12335. cityid:
  12336. description: 市
  12337. type: integer
  12338. cityname:
  12339. description: 城市名称
  12340. type: string
  12341. contactname:
  12342. description: 联系人
  12343. type: string
  12344. countryid:
  12345. description: 国家
  12346. type: integer
  12347. countryname:
  12348. description: 国家名称
  12349. type: string
  12350. createtime:
  12351. description: 创建时间
  12352. type: string
  12353. customername:
  12354. description: 客户名称
  12355. type: string
  12356. districtid:
  12357. description: 区域
  12358. type: integer
  12359. districtname:
  12360. description: 地区名称
  12361. type: string
  12362. email:
  12363. description: 邮件
  12364. type: string
  12365. legalpersonname:
  12366. description: 法人姓名(企业)
  12367. type: string
  12368. logincode:
  12369. description: 登录账号(代码)
  12370. type: string
  12371. memberuserid:
  12372. description: 所属机构ID(所属会员)
  12373. type: integer
  12374. memberusername:
  12375. description: 所属会员名称
  12376. type: string
  12377. mobile:
  12378. description: 手机号码
  12379. type: string
  12380. modifytime:
  12381. description: 修改时间
  12382. type: string
  12383. nickname:
  12384. description: 昵称
  12385. type: string
  12386. parentuserid:
  12387. description: 上级机构(所属机构)
  12388. type: integer
  12389. parentusername:
  12390. description: 所属机构名称
  12391. type: string
  12392. provinceid:
  12393. description: 省
  12394. type: integer
  12395. provincename:
  12396. description: 省名称
  12397. type: string
  12398. proxystatementurl:
  12399. description: 授权委托书
  12400. type: string
  12401. querytype:
  12402. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  12403. type: integer
  12404. remark:
  12405. description: 备注
  12406. type: string
  12407. sex:
  12408. description: 性别 0-女 1-男
  12409. type: integer
  12410. status:
  12411. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  12412. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  12413. type: integer
  12414. statusdesc:
  12415. description: 账户状态中文描述
  12416. type: string
  12417. taxpayernum:
  12418. description: 纳税人识别号
  12419. type: string
  12420. telphone:
  12421. description: 联系电话
  12422. type: string
  12423. userid:
  12424. description: 用户ID
  12425. type: integer
  12426. userinfotype:
  12427. description: 客户类型 1-个人 2-企业
  12428. type: integer
  12429. username:
  12430. description: 用户名称
  12431. type: string
  12432. type: object
  12433. models.QhjMgrPickGoods:
  12434. properties:
  12435. enumdicname:
  12436. description: 单位名称(提货商品)
  12437. type: string
  12438. goodsid:
  12439. description: 商品id
  12440. type: integer
  12441. imageaddress:
  12442. description: 图片
  12443. type: string
  12444. modifierid:
  12445. description: 修改人
  12446. type: integer
  12447. modifiername:
  12448. description: 修改人名称
  12449. type: string
  12450. modifysrc:
  12451. description: 修改来源 - 1:管理端 2:终端
  12452. type: integer
  12453. pickupgoodsagreeunit:
  12454. description: 合约乘数
  12455. type: number
  12456. pickupgoodsdesc:
  12457. description: 描述
  12458. type: string
  12459. pickupgoodsid:
  12460. description: 提货商品ID
  12461. type: string
  12462. pickupgoodsname:
  12463. description: 提货商品名称
  12464. type: string
  12465. pickupgoodsstatus:
  12466. description: 状态 - 1:正常 2:停用 3:注销
  12467. type: integer
  12468. pickupgoodsunitid:
  12469. description: 单位ID
  12470. type: integer
  12471. pickupratio:
  12472. description: 提货系数
  12473. type: number
  12474. preparedays:
  12475. description: 备货期(天)
  12476. type: integer
  12477. remark:
  12478. description: 备注
  12479. type: string
  12480. updatetime:
  12481. description: 更新时间
  12482. type: string
  12483. type: object
  12484. models.QhjMgrPositionRsp:
  12485. properties:
  12486. accountid:
  12487. description: 账号Id
  12488. type: integer
  12489. accountname:
  12490. description: 用户名称
  12491. type: string
  12492. agreeunit:
  12493. description: 合约乘数
  12494. type: number
  12495. averageprice:
  12496. description: 均价
  12497. type: number
  12498. avialqty:
  12499. description: 可用数量
  12500. type: number
  12501. decimalplace:
  12502. description: 报价小数位
  12503. type: integer
  12504. enumdicname:
  12505. description: 单位名称(商品)
  12506. type: string
  12507. frozenqty:
  12508. description: 冻结数量
  12509. type: number
  12510. goodscode:
  12511. description: 商品代码(内部)
  12512. type: string
  12513. goodsid:
  12514. description: 商品Id
  12515. type: integer
  12516. goodsname:
  12517. description: 商品名称
  12518. type: string
  12519. goodunitid:
  12520. description: 报价单位ID
  12521. type: integer
  12522. holderamount:
  12523. description: 金额
  12524. type: number
  12525. holderqty:
  12526. description: 持有数量
  12527. type: number
  12528. holdertype:
  12529. description: 持仓类别 - 1:单边持仓 2:双边持仓
  12530. type: integer
  12531. logincode:
  12532. description: 登录代码(账户)
  12533. type: string
  12534. marketid:
  12535. description: 市场id
  12536. type: integer
  12537. qtydecimalplace:
  12538. description: 成交量小数位
  12539. type: integer
  12540. trademode:
  12541. description: 交易模式
  12542. type: integer
  12543. userid:
  12544. description: 用户id
  12545. type: integer
  12546. userinfotype:
  12547. description: 账户类型 1-个人 2-企业
  12548. type: integer
  12549. type: object
  12550. models.QhjMgrSubArea:
  12551. properties:
  12552. accountname:
  12553. description: 账户名称(机构名称)
  12554. type: string
  12555. memberuserid:
  12556. description: 所属会员ID
  12557. type: integer
  12558. parenttopuser:
  12559. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12560. type: string
  12561. parentuserid:
  12562. description: 所属机构ID
  12563. type: integer
  12564. rootuserid:
  12565. description: 根用户ID
  12566. type: string
  12567. subaccountlevel:
  12568. description: 子账户层数
  12569. type: integer
  12570. subarealevelpath:
  12571. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12572. type: string
  12573. userid:
  12574. description: 用户ID
  12575. type: integer
  12576. usertype:
  12577. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12578. type: integer
  12579. type: object
  12580. models.QhjMgrTradeDetailRsp:
  12581. properties:
  12582. accountid:
  12583. description: 资金账号
  12584. type: integer
  12585. accountname:
  12586. description: 用户名称
  12587. type: string
  12588. agreeunit:
  12589. description: 合约乘数
  12590. type: number
  12591. buyorsell:
  12592. description: 成交类型(方向) 0:买 1:卖
  12593. type: integer
  12594. decimalplace:
  12595. description: 报价小数位
  12596. type: integer
  12597. enumdicname:
  12598. description: 单位名称(商品)
  12599. type: string
  12600. goodscode:
  12601. description: 商品代码(内部)
  12602. type: string
  12603. goodsid:
  12604. description: 商品id
  12605. type: integer
  12606. goodsname:
  12607. description: 商品名称
  12608. type: string
  12609. goodunitid:
  12610. description: 报价单位ID
  12611. type: integer
  12612. logincode:
  12613. description: 登录代码(账户)
  12614. type: string
  12615. marketid:
  12616. description: 市场id
  12617. type: integer
  12618. orderid:
  12619. description: 关联委托单号
  12620. type: string
  12621. qtydecimalplace:
  12622. description: 成交量小数位
  12623. type: integer
  12624. tradeamount:
  12625. description: 金额
  12626. type: number
  12627. tradedate:
  12628. description: 交易日
  12629. type: string
  12630. tradeid:
  12631. description: 成交单号
  12632. type: string
  12633. trademode:
  12634. description: 交易模式
  12635. type: integer
  12636. tradeprice:
  12637. description: 价格
  12638. type: number
  12639. tradeqty:
  12640. description: 数量
  12641. type: number
  12642. tradetime:
  12643. description: 成交时间
  12644. type: string
  12645. userid:
  12646. description: 用户id
  12647. type: integer
  12648. userinfotype:
  12649. description: 账户类型 1-个人 2-企业
  12650. type: integer
  12651. type: object
  12652. models.QhjMgrTradeOrderDetailRsp:
  12653. properties:
  12654. accountid:
  12655. description: 资金账号
  12656. type: integer
  12657. accountname:
  12658. description: 用户名称
  12659. type: string
  12660. agreeunit:
  12661. description: 合约乘数
  12662. type: number
  12663. amount:
  12664. description: 金额
  12665. type: number
  12666. decimalplace:
  12667. description: 报价小数位
  12668. type: integer
  12669. enumdicname:
  12670. description: 单位名称(商品)
  12671. type: string
  12672. goodscode:
  12673. description: 商品代码(内部)
  12674. type: string
  12675. goodsid:
  12676. description: 商品id
  12677. type: integer
  12678. goodsname:
  12679. description: 商品名称
  12680. type: string
  12681. goodunitid:
  12682. description: 报价单位ID
  12683. type: integer
  12684. logincode:
  12685. description: 登录代码(账户)
  12686. type: string
  12687. marketid:
  12688. description: 市场id
  12689. type: integer
  12690. orderid:
  12691. description: 关联委托单号
  12692. type: string
  12693. orderprice:
  12694. description: 价格
  12695. type: number
  12696. orderqty:
  12697. description: 数量
  12698. type: number
  12699. orderstatus:
  12700. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12701. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12702. 16:成交失败违约(荷兰式竞拍专用)
  12703. type: integer
  12704. ordertime:
  12705. description: 委托时间
  12706. type: string
  12707. qtydecimalplace:
  12708. description: 成交量小数位
  12709. type: integer
  12710. tradedate:
  12711. description: 交易日
  12712. type: string
  12713. trademode:
  12714. description: 交易模式
  12715. type: integer
  12716. userid:
  12717. description: 用户id
  12718. type: integer
  12719. userinfotype:
  12720. description: 账户类型 1-个人 2-企业
  12721. type: integer
  12722. type: object
  12723. models.QhjMgrTradePayOrder:
  12724. properties:
  12725. accountname:
  12726. description: 用户名称
  12727. type: string
  12728. advanceratio:
  12729. description: 首付比率
  12730. type: number
  12731. agreeunit:
  12732. description: 合约乘数
  12733. type: number
  12734. buyaccountid:
  12735. description: 买方账号ID[报价币种]
  12736. type: integer
  12737. buyorderid:
  12738. description: 买方委托单号(关联单号)
  12739. type: string
  12740. createtime:
  12741. description: 创建时间
  12742. type: string
  12743. decimalplace:
  12744. description: 报价小数位
  12745. type: integer
  12746. enumdicname:
  12747. description: 单位名称(商品)
  12748. type: string
  12749. goodscode:
  12750. description: 商品代码(内部)
  12751. type: string
  12752. goodsid:
  12753. description: 商品ID
  12754. type: integer
  12755. goodsname:
  12756. description: 商品名称
  12757. type: string
  12758. goodunitid:
  12759. description: 报价单位ID
  12760. type: integer
  12761. logincode:
  12762. description: 登录代码(账户)
  12763. type: string
  12764. marketid:
  12765. description: 市场id
  12766. type: integer
  12767. offamount:
  12768. description: 优惠金额
  12769. type: number
  12770. operatetype:
  12771. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12772. type: integer
  12773. payamount:
  12774. description: 支付金额(金额)
  12775. type: number
  12776. payflag:
  12777. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12778. type: integer
  12779. paylimitedtime:
  12780. description: 支付期限
  12781. type: string
  12782. paytime:
  12783. description: 付款时间
  12784. type: string
  12785. qtydecimalplace:
  12786. description: 成交量小数位
  12787. type: integer
  12788. sellaccountid:
  12789. description: 卖方账号ID[报价币种]
  12790. type: integer
  12791. sellorderid:
  12792. description: 卖方委托单号
  12793. type: string
  12794. tradeamount:
  12795. description: 成交金额(优惠后金额)
  12796. type: number
  12797. tradecharge:
  12798. description: 成交手续费(买方)
  12799. type: number
  12800. tradedate:
  12801. description: 交易日(yyyyMMdd)
  12802. type: string
  12803. tradeid:
  12804. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12805. type: string
  12806. trademode:
  12807. description: 交易模式
  12808. type: integer
  12809. tradeprice:
  12810. description: 成交价格(价格)
  12811. type: number
  12812. tradeqty:
  12813. description: 成交数量(数量)
  12814. type: number
  12815. tradetime:
  12816. description: 成交时间
  12817. type: string
  12818. userid:
  12819. description: 用户id
  12820. type: integer
  12821. userinfotype:
  12822. description: 账户类型 1-个人 2-企业
  12823. type: integer
  12824. type: object
  12825. models.QhjMyTeamEx:
  12826. properties:
  12827. accountname:
  12828. description: 用户名称
  12829. type: string
  12830. accountstatus:
  12831. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12832. type: integer
  12833. createtime:
  12834. description: 创建时间
  12835. type: string
  12836. mobile:
  12837. description: 手机号码
  12838. type: string
  12839. refereeuserid:
  12840. description: 推荐人id
  12841. type: integer
  12842. refernum:
  12843. description: 推荐码
  12844. type: string
  12845. subList:
  12846. items:
  12847. $ref: '#/definitions/models.QhjMyTeamEx'
  12848. type: array
  12849. userid:
  12850. description: 用户id
  12851. type: integer
  12852. userinfotype:
  12853. description: 用户类型 1-个人 2-企业
  12854. type: integer
  12855. type: object
  12856. models.QhjNodeAgreementConfig:
  12857. properties:
  12858. agreementcontent:
  12859. description: 协议内容
  12860. type: string
  12861. agreementid:
  12862. description: 协议ID
  12863. type: integer
  12864. agreementname:
  12865. description: 协议名称
  12866. type: string
  12867. agreementno:
  12868. description: 协议编号
  12869. type: string
  12870. agreementtype:
  12871. description: 协议类型 - 1:注册 2:登录 3:交易
  12872. type: integer
  12873. agreementversion:
  12874. description: 协议版本号
  12875. type: integer
  12876. configid:
  12877. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12878. type: integer
  12879. createtime:
  12880. description: 创建时间
  12881. type: string
  12882. goodsid:
  12883. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12884. type: integer
  12885. nodetype:
  12886. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12887. type: integer
  12888. type: object
  12889. models.QhjParentAreaList:
  12890. properties:
  12891. accountname:
  12892. description: 账户名称(机构名称)
  12893. type: string
  12894. userid:
  12895. description: 用户ID
  12896. type: integer
  12897. usertype:
  12898. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12899. type: integer
  12900. type: object
  12901. models.QhjPayOrder:
  12902. properties:
  12903. advanceratio:
  12904. description: 首付比率
  12905. type: number
  12906. buyaccountid:
  12907. description: 买方账号ID[报价币种]
  12908. type: integer
  12909. buyorderid:
  12910. description: 买方委托单号
  12911. type: string
  12912. createtime:
  12913. description: 创建时间
  12914. type: string
  12915. decimalplace:
  12916. description: 商品报价小数位
  12917. type: integer
  12918. enumdicname:
  12919. description: 单位名称
  12920. type: string
  12921. goodscode:
  12922. description: 商品代码
  12923. type: string
  12924. goodsid:
  12925. description: 商品ID
  12926. type: integer
  12927. goodsname:
  12928. description: 商品名称
  12929. type: string
  12930. goodunitid:
  12931. description: 商品单位id
  12932. type: integer
  12933. marketid:
  12934. description: 市场ID
  12935. type: integer
  12936. offamount:
  12937. description: 优惠金额
  12938. type: number
  12939. operatetype:
  12940. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12941. type: integer
  12942. payamount:
  12943. description: 支付金额
  12944. type: number
  12945. payflag:
  12946. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12947. type: integer
  12948. paylimitedtime:
  12949. description: 支付期限
  12950. type: string
  12951. paytime:
  12952. description: 付款时间
  12953. type: string
  12954. qtydecimalplace:
  12955. description: 成交量小数位
  12956. type: integer
  12957. sellaccountid:
  12958. description: 卖方账号ID[报价币种]
  12959. type: integer
  12960. sellorderid:
  12961. description: 卖方委托单号
  12962. type: string
  12963. tradeamount:
  12964. description: 成交金额(优惠后金额)
  12965. type: number
  12966. tradecharge:
  12967. description: 成交手续费(买方)
  12968. type: number
  12969. tradedate:
  12970. description: 交易日(yyyyMMdd)
  12971. type: string
  12972. tradeid:
  12973. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12974. type: string
  12975. tradeprice:
  12976. description: 成交价格
  12977. type: number
  12978. tradeqty:
  12979. description: 成交数量
  12980. type: number
  12981. type: object
  12982. models.QhjPickArea:
  12983. properties:
  12984. address:
  12985. description: 详细地址
  12986. type: string
  12987. cityid:
  12988. description: 市
  12989. type: integer
  12990. cityname:
  12991. description: 城市名称
  12992. type: string
  12993. countryid:
  12994. description: 国家
  12995. type: integer
  12996. countryname:
  12997. description: 国家名称
  12998. type: string
  12999. districtid:
  13000. description: 地区
  13001. type: integer
  13002. districtname:
  13003. description: 地区名称
  13004. type: string
  13005. fromuserid:
  13006. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13007. type: integer
  13008. fromusername:
  13009. description: 所属机构名称
  13010. type: string
  13011. provinceid:
  13012. description: 省
  13013. type: integer
  13014. provincename:
  13015. description: 省名称
  13016. type: string
  13017. suborgtype:
  13018. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13019. type: integer
  13020. userid:
  13021. description: 机构用户ID 其他做市关系,都设置为 1
  13022. type: integer
  13023. username:
  13024. description: 机构用户名称(门店门称)
  13025. type: string
  13026. type: object
  13027. models.QhjPickGoods:
  13028. properties:
  13029. enumdicname:
  13030. description: 单位名称(提货商品)
  13031. type: string
  13032. goodsid:
  13033. description: 商品id
  13034. type: integer
  13035. imageaddress:
  13036. description: 图片
  13037. type: string
  13038. modifierid:
  13039. description: 修改人
  13040. type: integer
  13041. modifiername:
  13042. description: 修改人名称
  13043. type: string
  13044. modifysrc:
  13045. description: 修改来源 - 1:管理端 2:终端
  13046. type: integer
  13047. pickupgoodsagreeunit:
  13048. description: 合约乘数
  13049. type: number
  13050. pickupgoodsdesc:
  13051. description: 描述
  13052. type: string
  13053. pickupgoodsid:
  13054. description: 提货商品ID
  13055. type: string
  13056. pickupgoodsname:
  13057. description: 提货商品名称
  13058. type: string
  13059. pickupgoodsstatus:
  13060. description: 状态 - 1:正常 2:停用 3:注销
  13061. type: integer
  13062. pickupgoodsunitid:
  13063. description: 单位ID
  13064. type: integer
  13065. pickupratio:
  13066. description: 提货系数
  13067. type: number
  13068. preparedays:
  13069. description: 备货期(天)
  13070. type: integer
  13071. remark:
  13072. description: 备注
  13073. type: string
  13074. updatetime:
  13075. description: 更新时间
  13076. type: string
  13077. type: object
  13078. models.QhjRSTriggerLog:
  13079. properties:
  13080. accountid:
  13081. description: 用户资金账户
  13082. type: integer
  13083. accountname:
  13084. description: 账号名称(ACCOUNTID对应的名称)
  13085. type: string
  13086. currencyid:
  13087. description: 币种id
  13088. type: integer
  13089. currencyname:
  13090. description: 币种名称
  13091. type: string
  13092. decimalplace:
  13093. description: 商品报价小数位
  13094. type: integer
  13095. enumdicname:
  13096. description: 单位名称
  13097. type: string
  13098. goodscode:
  13099. description: 定投商品代码
  13100. type: string
  13101. goodsid:
  13102. description: 定投商品ID
  13103. type: integer
  13104. goodsname:
  13105. description: 定投商品名称
  13106. type: string
  13107. goodunitid:
  13108. description: 定投商品单位id
  13109. type: integer
  13110. logid:
  13111. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13112. type: string
  13113. logincode:
  13114. description: 账号(登录代码)
  13115. type: string
  13116. qtydecimalplace:
  13117. description: 成交量小数位
  13118. type: integer
  13119. regularlycycle:
  13120. description: 定投频率 - 1:每周 2:每月
  13121. type: integer
  13122. regularlycyclevalue:
  13123. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13124. type: string
  13125. regularlymode:
  13126. description: 定投方式 - 1:按数量 2:按金额
  13127. type: integer
  13128. regularlymodevalue:
  13129. description: 定投方式值 - 数量或金额
  13130. type: number
  13131. regularlystrategyid:
  13132. description: 定投策略ID
  13133. type: integer
  13134. retcode:
  13135. description: 错误码
  13136. type: string
  13137. tradeid:
  13138. description: 成交单ID
  13139. type: string
  13140. triggeramount:
  13141. description: 触发金额
  13142. type: number
  13143. triggerqty:
  13144. description: 触发数量
  13145. type: number
  13146. triggerstatus:
  13147. description: 触发状态 - 1:成功 2:失败
  13148. type: integer
  13149. triggertime:
  13150. description: 触发时间
  13151. type: string
  13152. triggertradedate:
  13153. description: 触发交易日
  13154. type: string
  13155. userid:
  13156. description: 所属用户ID
  13157. type: integer
  13158. userinfotype:
  13159. description: 用户类型 1-个人 2-企业
  13160. type: integer
  13161. username:
  13162. description: 用户名称(userid对应的名称)
  13163. type: string
  13164. type: object
  13165. models.QhjRStrategy:
  13166. properties:
  13167. accountid:
  13168. description: 用户资金账户
  13169. type: integer
  13170. accountname:
  13171. description: 账号名称(ACCOUNTID对应的名称)
  13172. type: string
  13173. currencyid:
  13174. description: 币种id
  13175. type: integer
  13176. currencyname:
  13177. description: 币种名称
  13178. type: string
  13179. decimalplace:
  13180. description: 商品报价小数位
  13181. type: integer
  13182. enumdicname:
  13183. description: 单位名称
  13184. type: string
  13185. goodscode:
  13186. description: 定投商品代码
  13187. type: string
  13188. goodsid:
  13189. description: 定投商品ID
  13190. type: integer
  13191. goodsname:
  13192. description: 定投商品名称
  13193. type: string
  13194. goodunitid:
  13195. description: 定投商品单位id
  13196. type: integer
  13197. lasteffecttradedate:
  13198. description: 最新生效交易日
  13199. type: string
  13200. laststoptradedate:
  13201. description: 最新暂停交易日
  13202. type: string
  13203. lasttriggertradedate:
  13204. description: 最新触发交易日
  13205. type: string
  13206. logincode:
  13207. description: 账号(登录代码)
  13208. type: string
  13209. nexttriggeramount:
  13210. description: 下次触发金额
  13211. type: number
  13212. nexttriggerdate:
  13213. description: 下次触发日期
  13214. type: string
  13215. nexttriggerqty:
  13216. description: 下次触发数量 [按小数位放大值]
  13217. type: number
  13218. qtydecimalplace:
  13219. description: 成交量小数位
  13220. type: integer
  13221. regularlycycle:
  13222. description: 定投频率 - 1:每周 2:每月
  13223. type: integer
  13224. regularlycyclevalue:
  13225. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13226. type: string
  13227. regularlymode:
  13228. description: 定投方式 - 1:按数量 2:按金额
  13229. type: integer
  13230. regularlymodevalue:
  13231. description: 定投方式值 - 数量或金额
  13232. type: number
  13233. regularlystrategyid:
  13234. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  13235. type: integer
  13236. regularlystrategystatus:
  13237. description: 策略状态 - 1:正常 2:暂停 3:终止
  13238. type: integer
  13239. remark:
  13240. description: 备注
  13241. type: string
  13242. triggersuccesstimes:
  13243. description: 累计定投成功次数
  13244. type: string
  13245. triggertotalamount:
  13246. description: 累计定投金额(成功)
  13247. type: number
  13248. triggertotalqty:
  13249. description: 累计定投数量(成功) [按小数位放大值]
  13250. type: number
  13251. triggertotaltimes:
  13252. description: 累计定投总次数
  13253. type: string
  13254. updatesrc:
  13255. description: 更新来源 - 1:管理端 2:终端
  13256. type: integer
  13257. updatetime:
  13258. description: 更新时间
  13259. type: string
  13260. updatorid:
  13261. description: 更新人
  13262. type: string
  13263. userid:
  13264. description: 所属用户ID
  13265. type: integer
  13266. userinfotype:
  13267. description: 用户类型 1-个人 2-企业
  13268. type: integer
  13269. username:
  13270. description: 用户名称(userid对应的名称)
  13271. type: string
  13272. type: object
  13273. models.QhjReckonPriceLog:
  13274. properties:
  13275. decimalplace:
  13276. description: 商品报价小数位
  13277. type: integer
  13278. goodscode:
  13279. description: 商品代码
  13280. type: string
  13281. goodsid:
  13282. description: 商品ID
  13283. type: integer
  13284. goodsname:
  13285. description: 商品名称
  13286. type: string
  13287. lastreckonprice:
  13288. description: 上日结算价
  13289. type: number
  13290. nextdnlimitprice:
  13291. description: 下个交易日跌停价
  13292. type: number
  13293. nexttrade:
  13294. description: 下个交易日
  13295. type: string
  13296. nextuplimitprice:
  13297. description: 下个交易日涨停价
  13298. type: number
  13299. reckonprice:
  13300. description: 今日结算价(定投价)
  13301. type: number
  13302. reckontime:
  13303. description: 结算时间
  13304. type: string
  13305. totalholderqty:
  13306. description: 总持仓数
  13307. type: integer
  13308. totalstock:
  13309. description: 总库存
  13310. type: integer
  13311. tradedate:
  13312. description: 交易日
  13313. type: string
  13314. updowncount:
  13315. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  13316. type: integer
  13317. updownflag:
  13318. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  13319. type: integer
  13320. updownrate:
  13321. description: 今日涨跌幅
  13322. type: number
  13323. updownrate_2d:
  13324. description: 连续两日涨跌幅
  13325. type: number
  13326. updownrate_3d:
  13327. description: 连续三日涨跌幅
  13328. type: number
  13329. type: object
  13330. models.QhjScoreLog:
  13331. properties:
  13332. accountid:
  13333. description: 账户ID
  13334. type: integer
  13335. createtime:
  13336. description: 创建时间(时间)
  13337. type: string
  13338. goodsid:
  13339. description: 商品ID
  13340. type: integer
  13341. hasuploaded:
  13342. description: 是否已同步(千海金) 0:未同步 1;已同步
  13343. type: integer
  13344. logid:
  13345. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13346. type: string
  13347. marketid:
  13348. description: 市场ID
  13349. type: integer
  13350. relatedamount:
  13351. description: 关联金额
  13352. type: number
  13353. relatedorderid:
  13354. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  13355. type: string
  13356. scoreconfigvalue1:
  13357. description: 积分配置1
  13358. type: integer
  13359. scoreconfigvalue2:
  13360. description: 积分配置1
  13361. type: integer
  13362. scoretype:
  13363. description: 积分类型 - 1:提货积分
  13364. type: integer
  13365. scorevalue:
  13366. description: 积分
  13367. type: number
  13368. tradedate:
  13369. description: 交易日(yyyyMMdd)
  13370. type: string
  13371. uploadedtime:
  13372. description: 同步时间
  13373. type: string
  13374. userid:
  13375. description: 用户ID
  13376. type: integer
  13377. type: object
  13378. models.QhjSiteColumnDetail:
  13379. properties:
  13380. author:
  13381. description: 作者
  13382. type: string
  13383. brief:
  13384. description: 简介
  13385. type: string
  13386. columnid:
  13387. description: 所属栏目
  13388. type: integer
  13389. context:
  13390. description: 内容
  13391. type: string
  13392. coverimage:
  13393. description: 封面图片
  13394. type: string
  13395. creaedate:
  13396. description: 创建时间
  13397. type: string
  13398. creatorid:
  13399. description: 创建人
  13400. type: integer
  13401. hits:
  13402. description: 点击数
  13403. type: integer
  13404. id:
  13405. description: ID(SEQ_SITE_COLUMNDETAIL)
  13406. type: integer
  13407. isshow:
  13408. description: 是否展示 - 0:不展示 1:展示
  13409. type: integer
  13410. istop:
  13411. description: 是否置顶 - 0:不置 1:置顶
  13412. type: integer
  13413. modifierid:
  13414. description: 操作人
  13415. type: integer
  13416. publishdate:
  13417. description: 发布日期
  13418. type: string
  13419. status:
  13420. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  13421. type: integer
  13422. title:
  13423. description: 标题
  13424. type: string
  13425. updatedate:
  13426. description: 修改时间
  13427. type: string
  13428. userid:
  13429. description: 用户ID(默认为0, 核心为为机构用户ID)
  13430. type: integer
  13431. username:
  13432. description: 用户名称
  13433. type: string
  13434. type: object
  13435. models.QhjTeamOrder:
  13436. properties:
  13437. accountid:
  13438. description: 账户ID[报价币种]
  13439. type: integer
  13440. accountname:
  13441. description: 账户名称
  13442. type: string
  13443. agreeunit:
  13444. description: 合约乘数
  13445. type: number
  13446. buyorsell:
  13447. description: 方向 - 0:买 1:卖
  13448. type: integer
  13449. decimalplace:
  13450. description: 报价小数位
  13451. type: integer
  13452. enumdicname:
  13453. description: 单位名称
  13454. type: string
  13455. goodscode:
  13456. description: 商品代码(内部)
  13457. type: string
  13458. goodsid:
  13459. description: 商品ID
  13460. type: integer
  13461. goodsname:
  13462. description: 商品名称
  13463. type: string
  13464. goodunitid:
  13465. description: 报价单位ID
  13466. type: integer
  13467. marketid:
  13468. description: 市场ID
  13469. type: integer
  13470. marketname:
  13471. description: 市场名称
  13472. type: string
  13473. qtydecimalplace:
  13474. description: 成交量小数位
  13475. type: integer
  13476. refereeuserid:
  13477. description: 推荐人ID
  13478. type: integer
  13479. tradeamount:
  13480. description: 成交金额[账户币种,用于所有权]
  13481. type: number
  13482. tradedate:
  13483. description: 交易日(yyyyMMdd)
  13484. type: string
  13485. trademode:
  13486. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13487. 21:竞拍-大宗式 22:受托竞价
  13488. type: integer
  13489. tradeprice:
  13490. description: 成交价格
  13491. type: number
  13492. tradeqty:
  13493. description: 成交数量
  13494. type: number
  13495. tradetime:
  13496. description: 成交时间
  13497. type: string
  13498. userid:
  13499. description: 用户ID
  13500. type: integer
  13501. type: object
  13502. models.QhjTradeGoodsPickup:
  13503. properties:
  13504. accountid:
  13505. description: 账户ID
  13506. type: integer
  13507. address:
  13508. description: 提货人详细地址
  13509. type: string
  13510. amount:
  13511. description: 提货金额
  13512. type: number
  13513. artradedate:
  13514. description: 自动收货交易日(yyyyMMdd)
  13515. type: string
  13516. auditer:
  13517. description: 审核人
  13518. type: integer
  13519. auditsrc:
  13520. description: 更新来源 - 1:管理端 2:终端
  13521. type: integer
  13522. audittime:
  13523. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  13524. type: string
  13525. audittradedate:
  13526. description: 审核交易日(yyyyMMdd)
  13527. type: string
  13528. cardnum:
  13529. description: 提货人证件号码
  13530. type: string
  13531. cardtypeid:
  13532. description: 提货人证件类型
  13533. type: integer
  13534. checkremark:
  13535. description: 审核备注
  13536. type: string
  13537. cityid:
  13538. description: 市
  13539. type: integer
  13540. cityname:
  13541. description: 城市名称
  13542. type: string
  13543. confirmtime:
  13544. description: 取货时间 或 收货时间
  13545. type: string
  13546. countryid:
  13547. description: 国家
  13548. type: integer
  13549. countryname:
  13550. description: 国家名称
  13551. type: string
  13552. decimalplace:
  13553. description: 商品报价小数位
  13554. type: integer
  13555. districtid:
  13556. description: 地区
  13557. type: integer
  13558. districtname:
  13559. description: 地区名称
  13560. type: string
  13561. enumdicname:
  13562. description: 单位名称(提货商品)
  13563. type: string
  13564. expresscompany:
  13565. description: 物流公司
  13566. type: string
  13567. expressnum:
  13568. description: 物流单号
  13569. type: string
  13570. goodsagreeunit:
  13571. description: 交易商品乘数
  13572. type: number
  13573. goodscode:
  13574. description: 商品代码
  13575. type: string
  13576. goodsid:
  13577. description: 商品ID
  13578. type: integer
  13579. goodsname:
  13580. description: 商品名称
  13581. type: string
  13582. goodsqty:
  13583. description: 交易商品手数(69模式按成交量小数位放大取整)
  13584. type: number
  13585. handlestatus:
  13586. description: 处理状态
  13587. type: integer
  13588. logincode:
  13589. description: 账号(登录代码, 有可能为空)
  13590. type: string
  13591. marketid:
  13592. description: 市场ID
  13593. type: integer
  13594. phonenum:
  13595. description: 提货人联系方式
  13596. type: string
  13597. pickupgoodsagreeunit:
  13598. description: 提货商品合约乘数
  13599. type: number
  13600. pickupgoodsid:
  13601. description: 提货商品ID
  13602. type: string
  13603. pickupgoodsname:
  13604. description: 提货商品名称
  13605. type: string
  13606. pickupgoodsqty:
  13607. description: 提货商品手数(数量)
  13608. type: number
  13609. pickupgoodsunitid:
  13610. description: 单位ID(提货商品)
  13611. type: integer
  13612. pickupratio:
  13613. description: 提货系数
  13614. type: number
  13615. preparedays:
  13616. description: 备货期(天)-提货单明细表
  13617. type: integer
  13618. provinceid:
  13619. description: 省
  13620. type: integer
  13621. provincename:
  13622. description: 省名称
  13623. type: string
  13624. qty:
  13625. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  13626. type: number
  13627. qtydecimalplace:
  13628. description: 商品数量小数位
  13629. type: integer
  13630. recivername:
  13631. description: 提货人姓名
  13632. type: string
  13633. reqtime:
  13634. description: 提货申请时间
  13635. type: string
  13636. storeuserid:
  13637. description: 门店用户ID (千海金)
  13638. type: integer
  13639. storeusername:
  13640. description: 门店用户名称
  13641. type: string
  13642. takemode:
  13643. description: 提货方式 - 2:自提 3:配送(邮寄)
  13644. type: integer
  13645. takeorderid:
  13646. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13647. type: string
  13648. takeorderstatus:
  13649. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  13650. 7:已拒绝 8:已撤销
  13651. type: integer
  13652. takeremark:
  13653. description: 提货备注
  13654. type: string
  13655. tradedate:
  13656. description: 交易日(yyyyMMdd)
  13657. type: string
  13658. updatetime:
  13659. description: 更新时间
  13660. type: string
  13661. userid:
  13662. description: 用户ID
  13663. type: integer
  13664. userinfotype:
  13665. description: 客户类型 1-个人 2-企业
  13666. type: integer
  13667. username:
  13668. description: 用户名称
  13669. type: string
  13670. type: object
  13671. models.QhjUserNodeCfgAndStatus:
  13672. properties:
  13673. agreementcontent:
  13674. description: 协议内容
  13675. type: string
  13676. agreementid:
  13677. description: 协议ID
  13678. type: integer
  13679. agreementname:
  13680. description: 协议名称
  13681. type: string
  13682. agreementno:
  13683. description: 协议编号
  13684. type: string
  13685. agreementtype:
  13686. description: 协议类型 - 1:注册 2:登录 3:交易
  13687. type: integer
  13688. agreementversion:
  13689. description: 协议版本号
  13690. type: integer
  13691. configid:
  13692. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13693. type: integer
  13694. createtime:
  13695. description: 创建时间
  13696. type: string
  13697. goodsid:
  13698. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13699. type: integer
  13700. nodetype:
  13701. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13702. type: integer
  13703. signtimestamp:
  13704. description: 签约状态时间戳(最近一次)
  13705. type: string
  13706. tradedate:
  13707. description: 签约交易日(yyyyMMdd)
  13708. type: string
  13709. userid:
  13710. description: 客户ID
  13711. type: integer
  13712. type: object
  13713. models.Qhjgoodsex:
  13714. properties:
  13715. canfinance:
  13716. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  13717. type: integer
  13718. canregularlybuy:
  13719. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  13720. type: integer
  13721. defaulttradeuserid:
  13722. description: 默认交易用户ID
  13723. type: integer
  13724. deliverygoodsid:
  13725. description: 现货品种ID
  13726. type: integer
  13727. goodsid:
  13728. description: 商品ID(自增ID SEQ_GOODS)
  13729. type: integer
  13730. minamount:
  13731. description: 最小购买金额
  13732. type: number
  13733. regularlybuyminamount:
  13734. description: 定投最小金额
  13735. type: number
  13736. regularlybuyminqty:
  13737. description: 定投最小数量
  13738. type: number
  13739. spotgoodsbrandid:
  13740. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13741. type: integer
  13742. visibilityforenterprise:
  13743. description: 企业客户是否可见 - 0:不可见 1:可见
  13744. type: integer
  13745. visibilityforpersonal:
  13746. description: 个人客户是否可见 - 0:不可见 1:可见
  13747. type: integer
  13748. wrstandardid:
  13749. description: 现货商品ID
  13750. type: integer
  13751. type: object
  13752. models.QueryErrorInfosRsp:
  13753. properties:
  13754. description:
  13755. description: 异常描述
  13756. type: string
  13757. errorcode:
  13758. description: 异常代码
  13759. type: string
  13760. errorid:
  13761. description: 异常ID
  13762. type: integer
  13763. modulecode:
  13764. description: 所属模块
  13765. type: string
  13766. operatecode:
  13767. description: 所属操作
  13768. type: string
  13769. rownumber:
  13770. description: 行号
  13771. type: string
  13772. required:
  13773. - errorid
  13774. type: object
  13775. models.QueryHedgeOrderDetailRsp:
  13776. properties:
  13777. accountid:
  13778. description: 账户ID
  13779. type: integer
  13780. buyorsell:
  13781. description: 买卖 - 0:买 1:卖
  13782. type: integer
  13783. cancellogincode:
  13784. description: 撤单人
  13785. type: string
  13786. channelbuildtype:
  13787. description: 开平标志 - 0:无 1:建仓 2:平仓
  13788. type: integer
  13789. channelinnerorderstatus:
  13790. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13791. 9:全部成交
  13792. type: integer
  13793. channeloperatetype:
  13794. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13795. type: integer
  13796. closetype:
  13797. description: 平仓方式 - 0:无 1:平今 2:平昨
  13798. type: integer
  13799. curexchangerate:
  13800. description: 当前汇率
  13801. type: number
  13802. decimalplace:
  13803. description: 商品报价小数位
  13804. type: integer
  13805. exchangefullname:
  13806. description: 外部交易所全称
  13807. type: string
  13808. goodscode:
  13809. description: 商品代码(内部)
  13810. type: string
  13811. goodsid:
  13812. description: 商品ID
  13813. type: integer
  13814. goodsname:
  13815. description: 商品名称
  13816. type: string
  13817. marketid:
  13818. description: 市场ID
  13819. type: integer
  13820. openfreezemargin:
  13821. description: 冻结保证金(冻结交易金额)
  13822. type: number
  13823. orderid:
  13824. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13825. type: string
  13826. orderlogincode:
  13827. description: 委托人
  13828. type: string
  13829. orderprice:
  13830. description: 委托价格(账户)
  13831. type: number
  13832. orderqty:
  13833. description: 委托数量
  13834. type: integer
  13835. ordertime:
  13836. description: 委托时间
  13837. type: string
  13838. pricemode:
  13839. description: '取价方式 - 1:市价 2: 限价'
  13840. type: integer
  13841. tradedate:
  13842. description: 交易日(yyyyMMdd)
  13843. type: string
  13844. tradeqty:
  13845. description: 成交数量
  13846. type: integer
  13847. type: object
  13848. models.QueryHedgeTradeDetailRsp:
  13849. properties:
  13850. accountid:
  13851. description: 账号ID
  13852. type: integer
  13853. buyorsell:
  13854. description: 方向 - 0:买 1:卖
  13855. type: integer
  13856. channelbuildtype:
  13857. description: 委托单据类型 0:无 1:建仓 2:平仓
  13858. type: integer
  13859. closecharge:
  13860. description: 平仓手续费(账户)
  13861. type: number
  13862. closecharge2:
  13863. description: 平仓手续费(商品)
  13864. type: number
  13865. closepl:
  13866. description: 平仓盈亏(账户)
  13867. type: number
  13868. closepl2:
  13869. description: 平仓盈亏(商品)
  13870. type: number
  13871. closepl3:
  13872. description: 平仓盈亏(账户)(逐笔)
  13873. type: number
  13874. closepl4:
  13875. description: 平仓盈亏(商品)(逐笔)
  13876. type: number
  13877. closetype:
  13878. description: 平仓方式 - 0:无 1:平今 2:平昨
  13879. type: integer
  13880. curexchangerate:
  13881. description: 当前汇率
  13882. type: number
  13883. decimalplace:
  13884. description: 商品报价小数位
  13885. type: integer
  13886. exchangefullname:
  13887. description: 外部交易所全称
  13888. type: string
  13889. goodscode:
  13890. description: 商品代码(内部)
  13891. type: string
  13892. goodsid:
  13893. description: 商品ID
  13894. type: integer
  13895. goodsname:
  13896. description: 商品名称
  13897. type: string
  13898. marketid:
  13899. description: 市场ID
  13900. type: integer
  13901. opencharge:
  13902. description: 建仓手续费(账户)
  13903. type: number
  13904. opencharge2:
  13905. description: 建仓手续费(商品)
  13906. type: number
  13907. orderid:
  13908. description: 委托单号
  13909. type: string
  13910. orderlogincode:
  13911. description: 委托人
  13912. type: string
  13913. tradeamount:
  13914. description: 成交金额(账户)
  13915. type: number
  13916. tradedate:
  13917. description: 交易日(yyyyMMdd)
  13918. type: string
  13919. tradeid:
  13920. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13921. type: string
  13922. tradeprice:
  13923. description: 成交价格
  13924. type: number
  13925. tradeqty:
  13926. description: 成交数量
  13927. type: integer
  13928. tradetime:
  13929. description: 成交时间
  13930. type: string
  13931. tradetype:
  13932. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13933. type: integer
  13934. type: object
  13935. models.QuotePrimaryMenu:
  13936. properties:
  13937. Index:
  13938. description: 序号
  13939. type: integer
  13940. Key:
  13941. description: 键名
  13942. type: string
  13943. Name:
  13944. description: 菜单名称
  13945. type: string
  13946. SubMenus:
  13947. description: 子菜单
  13948. items:
  13949. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13950. type: array
  13951. SubTitleType:
  13952. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13953. type: integer
  13954. TradeModes:
  13955. description: 包含市场交易类型
  13956. type: string
  13957. type: object
  13958. models.QuoteSecondaryMenu:
  13959. properties:
  13960. ExExchangeCode:
  13961. description: 外部交易所代码
  13962. type: string
  13963. ExExchangeID:
  13964. description: 外部交易所ID
  13965. type: integer
  13966. GoodsGroupIDs:
  13967. description: 商品组ID列表
  13968. items:
  13969. type: integer
  13970. type: array
  13971. Index:
  13972. description: 序号
  13973. type: integer
  13974. MarketID:
  13975. description: 市场ID
  13976. type: integer
  13977. MenuTitle:
  13978. description: 菜单标题(市场名称或外部交易所名称)
  13979. type: string
  13980. TradeMode:
  13981. description: 交易模式
  13982. type: integer
  13983. type: object
  13984. models.RelatedTaAccount:
  13985. properties:
  13986. accountid:
  13987. description: 资金账户ID
  13988. type: integer
  13989. type: object
  13990. models.RoleMenu:
  13991. properties:
  13992. hasright:
  13993. description: 是否有权限 0-没有权限 1-有权限
  13994. type: integer
  13995. iconame:
  13996. description: 菜单图标
  13997. type: string
  13998. menutype:
  13999. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14000. type: integer
  14001. parentcode:
  14002. description: 上级资源代码
  14003. type: string
  14004. remark:
  14005. description: 菜单备注
  14006. type: string
  14007. resourcecode:
  14008. description: 菜单代码
  14009. type: string
  14010. resourcelevel:
  14011. description: 级别
  14012. type: integer
  14013. resourcename:
  14014. description: 菜单名称
  14015. type: string
  14016. roleid:
  14017. description: 角色id
  14018. type: integer
  14019. sort:
  14020. description: 排序
  14021. type: integer
  14022. subMenu:
  14023. description: 子级菜单(结构同上层一样, swag解析不出来)
  14024. items:
  14025. $ref: '#/definitions/models.RoleMenu'
  14026. type: array
  14027. url:
  14028. description: URL
  14029. type: string
  14030. userid:
  14031. description: 用户id
  14032. type: integer
  14033. type: object
  14034. models.SearchGoods:
  14035. properties:
  14036. goodscode:
  14037. description: 商品代码(内部)
  14038. type: string
  14039. goodsid:
  14040. description: 商品ID(自增ID SEQ_GOODS)
  14041. type: integer
  14042. goodsname:
  14043. description: 商品名称
  14044. type: string
  14045. marketid:
  14046. description: 所属市场ID
  14047. type: integer
  14048. marketname:
  14049. description: 市场名称
  14050. type: string
  14051. trademode:
  14052. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14053. 21:竞拍-大宗式 22:受托竞价
  14054. type: integer
  14055. required:
  14056. - goodscode
  14057. - goodsid
  14058. - goodsname
  14059. - marketid
  14060. - trademode
  14061. type: object
  14062. models.Systemparam:
  14063. properties:
  14064. loginid:
  14065. description: 更新用户账号,登录账号
  14066. type: string
  14067. modifyflag:
  14068. description: 修改标志0 不允许修改 1 允许修改
  14069. type: integer
  14070. paramcode:
  14071. description: 参数代码
  14072. type: string
  14073. paramname:
  14074. description: 参数名
  14075. type: string
  14076. paramtype:
  14077. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  14078. type: integer
  14079. paramvalue:
  14080. description: 参数值
  14081. type: string
  14082. paramvalue2:
  14083. description: 参数值(CLOB)
  14084. type: string
  14085. regexpress:
  14086. description: 正则表达式
  14087. type: string
  14088. remark:
  14089. description: 备注
  14090. type: string
  14091. serverip:
  14092. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  14093. type: string
  14094. showflag:
  14095. description: 是否显示0 不显示 1 显示
  14096. type: integer
  14097. updatetime:
  14098. description: 更新时间
  14099. type: string
  14100. userid:
  14101. description: 更新用户ID
  14102. type: integer
  14103. required:
  14104. - paramcode
  14105. type: object
  14106. models.Szdz3convertconfig:
  14107. properties:
  14108. canin:
  14109. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14110. type: integer
  14111. canout:
  14112. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14113. type: integer
  14114. converttype:
  14115. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14116. 6:交易转花生米(不设置)
  14117. type: integer
  14118. createtime:
  14119. description: 创建时间
  14120. type: string
  14121. creatorid:
  14122. description: 创建人
  14123. type: integer
  14124. daymaxvalue:
  14125. description: 当日最大转入限制
  14126. type: number
  14127. freezedays:
  14128. description: 冻结天数 [5:花生米转交易]
  14129. type: integer
  14130. innergoodsid:
  14131. description: 内部商品ID[交易]
  14132. type: integer
  14133. inratio:
  14134. description: 目标值
  14135. type: integer
  14136. modifierid:
  14137. description: 修改人
  14138. type: integer
  14139. modifytime:
  14140. description: 修改时间
  14141. type: string
  14142. outergoodscode:
  14143. description: 外部商品代码[JD\PD]
  14144. type: string
  14145. outratio:
  14146. description: 源值
  14147. type: integer
  14148. pddecimalplace:
  14149. description: PD小数位
  14150. type: integer
  14151. timemaxvalue:
  14152. description: 单次最大转入限制
  14153. type: number
  14154. timeminvalue:
  14155. description: 单次最小转入限制
  14156. type: number
  14157. required:
  14158. - converttype
  14159. - innergoodsid
  14160. - outergoodscode
  14161. type: object
  14162. models.Szdz3searchwhitelist:
  14163. properties:
  14164. createtime:
  14165. description: 创建时间
  14166. type: string
  14167. creatorid:
  14168. description: 创建人
  14169. type: integer
  14170. modifierid:
  14171. description: 修改人
  14172. type: integer
  14173. modifytime:
  14174. description: 修改时间
  14175. type: string
  14176. userid:
  14177. description: 用户ID
  14178. type: integer
  14179. required:
  14180. - userid
  14181. type: object
  14182. models.TBGoods:
  14183. properties:
  14184. agreeunit:
  14185. description: 合约乘数
  14186. type: number
  14187. enumdicname:
  14188. description: 单位名称
  14189. type: string
  14190. goodscode:
  14191. description: 商品代码(内部)
  14192. type: string
  14193. goodsid:
  14194. description: 商品ID(自增ID SEQ_GOODS)
  14195. type: integer
  14196. goodsname:
  14197. description: 商品名称
  14198. type: string
  14199. type: object
  14200. models.TBGoodsGroup:
  14201. properties:
  14202. GDLST:
  14203. description: 商品列表
  14204. items:
  14205. $ref: '#/definitions/models.TBGoods'
  14206. type: array
  14207. convertratio:
  14208. description: 折算系数
  14209. type: number
  14210. enumdicname:
  14211. description: 单位名称
  14212. type: string
  14213. exexchangecode:
  14214. description: 交易所代码
  14215. type: string
  14216. exexchangename:
  14217. description: 交易所名称
  14218. type: string
  14219. goodsgroupid:
  14220. description: 商品组ID(自增ID)
  14221. type: integer
  14222. goodsgroupname:
  14223. description: 商品组名称
  14224. type: string
  14225. goodunitid:
  14226. description: 报价单位ID
  14227. type: integer
  14228. type: object
  14229. models.TBMiddleGoods:
  14230. properties:
  14231. GPLST:
  14232. description: 期货品种列表
  14233. items:
  14234. $ref: '#/definitions/models.TBGoodsGroup'
  14235. type: array
  14236. WDLST:
  14237. description: 商品信息列表(现货品类)
  14238. items:
  14239. $ref: '#/definitions/models.TBWrstandard'
  14240. type: array
  14241. areauserid:
  14242. description: 机构用户ID
  14243. type: integer
  14244. enumdicname:
  14245. description: 单位名称
  14246. type: string
  14247. goodsunitid:
  14248. description: 套保品种单位id
  14249. type: integer
  14250. middlegoodscode:
  14251. description: 套保品种代码
  14252. type: string
  14253. middlegoodsid:
  14254. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  14255. type: integer
  14256. middlegoodsname:
  14257. description: 套保品种名称
  14258. type: string
  14259. needarbitrageratio:
  14260. description: 套利比率
  14261. type: number
  14262. needhedgeratio:
  14263. description: 套保比率
  14264. type: number
  14265. type: object
  14266. models.TBWrstandard:
  14267. properties:
  14268. convertratio:
  14269. description: 折算系数
  14270. type: number
  14271. deliverygoodsname:
  14272. description: 品种名称
  14273. type: string
  14274. enumdicname:
  14275. description: 单位名称
  14276. type: string
  14277. vatrate:
  14278. description: 增值税率
  14279. type: number
  14280. wrstandardcode:
  14281. description: 现货商品代码
  14282. type: string
  14283. wrstandardid:
  14284. description: 现货商品ID(SEQ_WRSTANDARD)
  14285. type: integer
  14286. wrstandardname:
  14287. description: 现货商品名称
  14288. type: string
  14289. type: object
  14290. models.Taaccount:
  14291. properties:
  14292. accountflag:
  14293. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  14294. type: integer
  14295. accountid:
  14296. description: 资金账户ID
  14297. type: integer
  14298. accountname:
  14299. description: 账户名称
  14300. type: string
  14301. balance:
  14302. description: 期初余额
  14303. type: number
  14304. capitalbalance:
  14305. description: 本金余额[外部子账户实际出入金余额]
  14306. type: number
  14307. changeflag:
  14308. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  14309. type: integer
  14310. changetime:
  14311. description: 账户状态变更时间
  14312. type: string
  14313. closepl:
  14314. description: 今日平仓盈亏
  14315. type: number
  14316. creditdecrease:
  14317. description: 今日授信减少
  14318. type: number
  14319. creditincrease:
  14320. description: 今日授信增加
  14321. type: number
  14322. curamount:
  14323. description: 总市值(从持仓中统计)
  14324. type: number
  14325. currencyid:
  14326. description: 货币ID
  14327. type: integer
  14328. currentbalance:
  14329. description: 期末余额
  14330. type: number
  14331. freezecharge:
  14332. description: 手续费冻结
  14333. type: number
  14334. freezemargin:
  14335. description: 冻结保证金
  14336. type: number
  14337. fromaccountid:
  14338. description: 所属上级账户
  14339. type: integer
  14340. inamount:
  14341. description: 今日入金金额(包括三方入金)
  14342. type: number
  14343. ismain:
  14344. description: 是否母账号 0:不是母账户 1:是母账户
  14345. type: integer
  14346. ismarketaccount:
  14347. description: 是否机构接单账号 0:不是 1:是
  14348. type: integer
  14349. isreckonaccount:
  14350. description: 是否机构分润账号 0:不是 1:是
  14351. type: integer
  14352. mortgagecredit:
  14353. description: 授信金额
  14354. type: number
  14355. orifreezecharge:
  14356. description: 期初手续费冻结
  14357. type: number
  14358. orifreezemargin:
  14359. description: 期初冻结保证金
  14360. type: number
  14361. orimortgagecredit:
  14362. description: 期初授信金额
  14363. type: number
  14364. oriothercredit:
  14365. description: 期初其它授信金额
  14366. type: number
  14367. oriotherfreezemargin:
  14368. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  14369. type: number
  14370. orioutamountfreeze:
  14371. description: 期初出金冻结
  14372. type: number
  14373. oriusedmargin:
  14374. description: 期初占用保证金
  14375. type: number
  14376. othercredit:
  14377. description: 其它授信金额
  14378. type: number
  14379. othercreditdecrease:
  14380. description: 今日其它授信减少
  14381. type: number
  14382. othercreditincrease:
  14383. description: 今日其它授信增加
  14384. type: number
  14385. otherfreezemargin:
  14386. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  14387. type: number
  14388. otherincome:
  14389. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  14390. type: number
  14391. otherpay:
  14392. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  14393. type: number
  14394. outamount:
  14395. description: 今日出金金额(包括三方出金)
  14396. type: number
  14397. outamountfreeze:
  14398. description: 出金冻结
  14399. type: number
  14400. outthreshold:
  14401. description: 出金阈值
  14402. type: number
  14403. parentaccountid:
  14404. description: 所属根账号
  14405. type: integer
  14406. paycharge:
  14407. description: 今日手续费支出
  14408. type: number
  14409. relatedaccountstatus:
  14410. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  14411. type: integer
  14412. relateduserid:
  14413. description: 关联用户
  14414. type: integer
  14415. remainamount:
  14416. description: 融资额(从融资合同中统计)
  14417. type: number
  14418. serivcegroup:
  14419. description: 服务分组
  14420. type: integer
  14421. signstatus:
  14422. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14423. type: integer
  14424. sublevelpath:
  14425. description: 账号层级路径(逗号分隔,首尾加逗号)
  14426. type: string
  14427. taaccounttype:
  14428. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  14429. type: integer
  14430. thirdinamount:
  14431. description: 今日三方入金
  14432. type: number
  14433. thirdoutamount:
  14434. description: 今日三方出金
  14435. type: number
  14436. tradestatus:
  14437. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  14438. type: integer
  14439. tradestatuschangetime:
  14440. description: 激活时间
  14441. type: string
  14442. transferamount:
  14443. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  14444. type: number
  14445. usedmargin:
  14446. description: 占用保证金
  14447. type: number
  14448. userid:
  14449. description: 用户ID
  14450. type: integer
  14451. required:
  14452. - accountid
  14453. - userid
  14454. type: object
  14455. models.Tablecolumnconfig:
  14456. properties:
  14457. aligntype:
  14458. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  14459. type: integer
  14460. autoid:
  14461. description: AutoID
  14462. type: integer
  14463. columnfield:
  14464. description: 列字段
  14465. type: string
  14466. columntitle:
  14467. description: 列Title
  14468. type: string
  14469. columnwidth:
  14470. description: 列宽
  14471. type: string
  14472. formatterstring:
  14473. description: 格式化字符
  14474. type: string
  14475. formattertype:
  14476. description: 格式化类型
  14477. type: string
  14478. groupname:
  14479. description: 表头分组名称
  14480. type: string
  14481. isshow:
  14482. description: 是否显示 - 0:不显示 1:显示
  14483. type: integer
  14484. needsummary:
  14485. description: 是否需要汇总 - 0:不需要 1:需要
  14486. type: integer
  14487. orderindex:
  14488. description: 顺序
  14489. type: integer
  14490. remark:
  14491. description: 备注
  14492. type: string
  14493. summarytype:
  14494. description: 汇总类型 - 1:加总 2:最后一个
  14495. type: integer
  14496. tablekey:
  14497. description: 列表Key
  14498. type: string
  14499. required:
  14500. - autoid
  14501. type: object
  14502. models.TjmdHolderDetailTradeInfo:
  14503. properties:
  14504. agreeunit:
  14505. description: 合约乘数
  14506. type: number
  14507. buyaccountid:
  14508. description: 买方账户
  14509. type: string
  14510. buyusername:
  14511. description: 买方
  14512. type: string
  14513. delistingdate:
  14514. description: 最后结算日
  14515. type: string
  14516. expiredate:
  14517. description: 到期结算价定价日
  14518. type: string
  14519. exprieprice:
  14520. description: 到期清算价格
  14521. type: string
  14522. goodscode:
  14523. description: 商品代码
  14524. type: string
  14525. goodsid:
  14526. description: 商品ID
  14527. type: integer
  14528. goodsname:
  14529. description: 商品名称(交易标的)
  14530. type: string
  14531. lasttradedate:
  14532. description: 最后交易日
  14533. type: string
  14534. listingdate:
  14535. description: 开始交易日
  14536. type: string
  14537. openprice:
  14538. description: 成交价
  14539. type: number
  14540. openqty:
  14541. description: 交易数量
  14542. type: integer
  14543. sellaccountid:
  14544. description: 卖方账户
  14545. type: string
  14546. sellusername:
  14547. description: 卖方
  14548. type: string
  14549. tradeamount:
  14550. description: 初始名义价值
  14551. type: number
  14552. tradedate:
  14553. description: 成交日期
  14554. type: string
  14555. tradeid:
  14556. description: 成交编号
  14557. type: string
  14558. type: object
  14559. models.TjmdMarketSection:
  14560. properties:
  14561. marketsectionid:
  14562. description: 市场版块ID(SEQ_MARKETSECTION)
  14563. type: integer
  14564. marketsectionname:
  14565. description: 市场版块名称
  14566. type: string
  14567. mlist:
  14568. description: 市场列表(板块下面有多少个市场)
  14569. items:
  14570. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  14571. type: array
  14572. orderindex:
  14573. description: 排序
  14574. type: integer
  14575. pictureurl:
  14576. description: 图片url, 规格(90*90)
  14577. type: string
  14578. remark:
  14579. description: 备注
  14580. type: string
  14581. type: object
  14582. models.TjmdMarketSectionConfig:
  14583. properties:
  14584. auctionwrtype:
  14585. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  14586. type: integer
  14587. canacceptquote:
  14588. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  14589. type: integer
  14590. cangoodsexercise:
  14591. description: '[期权]是否可现货行权- 0:否 1:是'
  14592. type: integer
  14593. cangoodsexercisetype:
  14594. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  14595. type: integer
  14596. canmanualquotestrike:
  14597. description: 是否可手动报行权价- 0:否 1:是 [期权]
  14598. type: integer
  14599. canmutistage:
  14600. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  14601. type: integer
  14602. canpreexercise:
  14603. description: '[期权]是否可预申报- 0:否 1:是'
  14604. type: integer
  14605. clearinterval:
  14606. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  14607. type: integer
  14608. contracttmp:
  14609. description: 合同模板[荷兰式][竞价式][仓单贸易]
  14610. type: string
  14611. exchareaid:
  14612. description: 所属交易所,可以没有
  14613. type: integer
  14614. financemarketid:
  14615. description: 融资回购市场ID [仓单贸易]
  14616. type: integer
  14617. goodstype:
  14618. description: 商品类型 - 1:交易商品 2:仓单商品
  14619. type: integer
  14620. hasrebate:
  14621. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  14622. type: integer
  14623. hastradecredit:
  14624. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  14625. type: integer
  14626. haswr:
  14627. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  14628. type: integer
  14629. isdeductmargin:
  14630. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  14631. type: integer
  14632. isrecordsource:
  14633. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  14634. type: integer
  14635. isreleasemargin:
  14636. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  14637. type: integer
  14638. isupdatereckonprice:
  14639. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  14640. type: integer
  14641. listingmode:
  14642. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14643. type: integer
  14644. marginformula:
  14645. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14646. type: integer
  14647. marginformula2:
  14648. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14649. type: integer
  14650. marketid:
  14651. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  14652. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  14653. type: integer
  14654. marketname:
  14655. description: 市场名称
  14656. type: string
  14657. marketsectionid:
  14658. description: 市场版块ID(SEQ_MARKETSECTION)
  14659. type: integer
  14660. marketserviceid:
  14661. description: 市场服务ID
  14662. type: integer
  14663. marketstatus:
  14664. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  14665. type: integer
  14666. markettype:
  14667. description: 市场类型- 1:非交易服务 2:交易服务
  14668. type: integer
  14669. matchermode:
  14670. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  14671. type: integer
  14672. nowrquotaflag:
  14673. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  14674. type: integer
  14675. openmethod:
  14676. description: 开盘模式 - 0 自动 1手动
  14677. type: integer
  14678. orderindex:
  14679. description: 排序
  14680. type: integer
  14681. otcuserid:
  14682. description: 场外期权做市商[场外期权]
  14683. type: integer
  14684. outersynctime:
  14685. description: 外部同步时间点(h24:mi:ss)[场外期权]
  14686. type: string
  14687. paylaterflag:
  14688. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  14689. type: integer
  14690. pendingflag:
  14691. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  14692. type: integer
  14693. pendingtime:
  14694. description: 待开市时间[通道交易-对冲](HH:mm)
  14695. type: string
  14696. performancetempid:
  14697. description: 履约计划模板ID - 作废
  14698. type: integer
  14699. premiumquotemode:
  14700. description: 权利金报价方式 - 1:自动 2:手动
  14701. type: integer
  14702. rebateratio:
  14703. description: 返利比率[竞价式]
  14704. type: number
  14705. reckonorder:
  14706. description: 结算顺序
  14707. type: integer
  14708. reckonpricealgorithm:
  14709. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  14710. 6.卖一价 7.买一卖一均价 8.外部结算价'
  14711. type: integer
  14712. reckonpriceparam:
  14713. description: 结算价参数
  14714. type: integer
  14715. reckontime:
  14716. description: 结算时间[通道交易-对冲](HH:mm)
  14717. type: string
  14718. roleprioritytype:
  14719. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  14720. type: integer
  14721. selllistingauditflag:
  14722. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  14723. type: integer
  14724. trademarkettype:
  14725. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  14726. type: integer
  14727. trademode:
  14728. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14729. 21:竞拍-大宗式 22:受托竞价
  14730. type: integer
  14731. tradeproperty:
  14732. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  14733. 8:场外期权
  14734. type: integer
  14735. tradetype:
  14736. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  14737. type: integer
  14738. updatereckonpriceinterval:
  14739. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  14740. type: integer
  14741. type: object
  14742. models.TjmdQuoteGoods:
  14743. properties:
  14744. buyqty:
  14745. description: 买量(暂不做, 无值, 保留字段)
  14746. type: number
  14747. decimalplace:
  14748. description: 报价小数位
  14749. type: integer
  14750. goodscode:
  14751. description: 合约代码
  14752. type: string
  14753. goodsgroupid:
  14754. description: 商品组ID(自增ID)
  14755. type: integer
  14756. goodsgroupname:
  14757. description: 商品组名称
  14758. type: string
  14759. goodsid:
  14760. description: 合约id
  14761. type: integer
  14762. goodsname:
  14763. description: 合约名称
  14764. type: string
  14765. refgoodscode:
  14766. description: 标的合约代码
  14767. type: string
  14768. refgoodsid:
  14769. description: 标的合约id
  14770. type: integer
  14771. refgoodsname:
  14772. description: 标的合约名称
  14773. type: string
  14774. sellqty:
  14775. description: 卖量(暂不做, 无值, 保留字段)
  14776. type: number
  14777. type: object
  14778. models.TjmdTodayAccountMargin:
  14779. properties:
  14780. accountid:
  14781. description: 账号ID
  14782. type: integer
  14783. goodsid:
  14784. description: 商品ID
  14785. type: integer
  14786. infoc:
  14787. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  14788. description: 配置参数
  14789. marketid:
  14790. description: 市场ID
  14791. type: integer
  14792. type: object
  14793. models.TjmdTradeOrderDetail:
  14794. properties:
  14795. buyorsell:
  14796. description: 买卖方向 0-买 1-卖
  14797. type: integer
  14798. goodsid:
  14799. description: 商品id
  14800. type: integer
  14801. marketmaxsub:
  14802. description: 市价最大偏移范围 [浮动价 - 点差]
  14803. type: number
  14804. orderid:
  14805. description: 委托单号
  14806. type: string
  14807. orderprice:
  14808. description: 委托价格
  14809. type: number
  14810. orderqty:
  14811. description: 委托数量
  14812. type: integer
  14813. pricemode:
  14814. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14815. type: integer
  14816. userid:
  14817. description: 用户id
  14818. type: integer
  14819. username:
  14820. description: 用户名称(已脱敏)
  14821. type: string
  14822. type: object
  14823. models.TjmdTransferApply:
  14824. properties:
  14825. applyid:
  14826. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14827. type: integer
  14828. applystatus:
  14829. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14830. type: integer
  14831. applytime:
  14832. description: 申请时间(时间)
  14833. type: string
  14834. auditremark:
  14835. description: 审核备注(拒绝原因?)
  14836. type: string
  14837. begindate:
  14838. description: 开始交易日(yyyymmdd)
  14839. type: string
  14840. buyorsell:
  14841. description: 买卖 - 0:买 1:卖
  14842. type: integer
  14843. enddate:
  14844. description: 结束交易日(yyyymmdd)
  14845. type: string
  14846. goodscode:
  14847. description: 商品代码
  14848. type: string
  14849. goodsid:
  14850. description: 商品ID
  14851. type: integer
  14852. goodsname:
  14853. description: 商品名称
  14854. type: string
  14855. marketid:
  14856. description: 市场ID
  14857. type: integer
  14858. qty:
  14859. description: 转让数量(数量)
  14860. type: number
  14861. tradeid:
  14862. description: 成交单号(关联持仓)
  14863. type: string
  14864. transferamount:
  14865. description: 转让总金额(金额)
  14866. type: number
  14867. transferprice:
  14868. description: 转让价格(协议价格)
  14869. type: number
  14870. type: object
  14871. models.TradeHolderDetail:
  14872. properties:
  14873. accountid:
  14874. description: 账号ID
  14875. type: integer
  14876. agreeunit:
  14877. description: 合约乘数
  14878. type: number
  14879. buyorsell:
  14880. description: 方向 - 0:买 1:卖
  14881. type: integer
  14882. currencyid:
  14883. description: 商品币种id
  14884. type: integer
  14885. currencyname:
  14886. description: 币种名称
  14887. type: string
  14888. decimalplace:
  14889. description: 商品价格小数位
  14890. type: integer
  14891. enumdicname:
  14892. description: 商品单位名称
  14893. type: string
  14894. expirecycle:
  14895. description: 行权周期(天) - 1:滚动行权时填写
  14896. type: integer
  14897. expiredate:
  14898. description: 行权日(yyyyMMdd) - 到期日
  14899. type: string
  14900. expiretype:
  14901. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14902. type: integer
  14903. freezeqty:
  14904. description: 冻结数量
  14905. type: number
  14906. goodscode:
  14907. description: 商品代码
  14908. type: string
  14909. goodsid:
  14910. description: 商品ID
  14911. type: integer
  14912. goodsname:
  14913. description: 商品名称
  14914. type: string
  14915. goodunitid:
  14916. description: 商品单位id
  14917. type: integer
  14918. holderamount:
  14919. description: 持仓金额
  14920. type: number
  14921. holdercredit:
  14922. description: 持仓授信金额
  14923. type: number
  14924. holderdays:
  14925. description: 剩余冻结天数
  14926. type: integer
  14927. holderprice:
  14928. description: 持仓价格
  14929. type: number
  14930. holderqty:
  14931. description: 持仓数量
  14932. type: number
  14933. isconfirmexercise:
  14934. description: 是否确认行权- 0:否 1:是
  14935. type: integer
  14936. ispreexercise:
  14937. description: 是否预申报- 0:否 1:是 2:不可行权
  14938. type: integer
  14939. marketid:
  14940. description: 市场id
  14941. type: integer
  14942. marketname:
  14943. description: 市场名称
  14944. type: string
  14945. openprice:
  14946. description: 建仓价格
  14947. type: number
  14948. openqty:
  14949. description: 建仓数量
  14950. type: number
  14951. optiontype:
  14952. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14953. type: integer
  14954. preexerciseprice:
  14955. description: 预申报价格
  14956. type: number
  14957. premium:
  14958. description: 权利金
  14959. type: number
  14960. qtydecimalplace:
  14961. description: 商品成交量小数位
  14962. type: integer
  14963. refgoodscode:
  14964. description: 标的合约代码
  14965. type: string
  14966. refgoodsid:
  14967. description: 标的合约id
  14968. type: integer
  14969. releaseamount:
  14970. description: 释放持仓金额
  14971. type: number
  14972. releaseholdercredit:
  14973. description: 释放持仓授信金额
  14974. type: number
  14975. taname:
  14976. description: 资金账号名称
  14977. type: string
  14978. tradeamount:
  14979. description: 成交金额
  14980. type: number
  14981. tradedate:
  14982. description: 交易日(yyyyMMdd)
  14983. type: string
  14984. tradeid:
  14985. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14986. type: string
  14987. trademode:
  14988. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14989. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14990. type: integer
  14991. tradeproperty:
  14992. description: 交易属性
  14993. type: integer
  14994. tradetime:
  14995. description: 交易时间
  14996. type: string
  14997. userid:
  14998. description: 用户id
  14999. type: integer
  15000. username:
  15001. description: 用户名称
  15002. type: string
  15003. type: object
  15004. models.UserCollectConfig:
  15005. properties:
  15006. accountstatus:
  15007. description: 账户状态 - 1:正常 2:停用 3:注销
  15008. type: integer
  15009. collectaccountname:
  15010. description: 收款人账户名称
  15011. type: string
  15012. collectaccountno:
  15013. description: 收款人账户
  15014. type: string
  15015. collectbankname:
  15016. description: 收款人开户行
  15017. type: string
  15018. collectbranchbankname:
  15019. description: 收款人开户支行
  15020. type: string
  15021. collectconfigid:
  15022. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  15023. type: string
  15024. remark:
  15025. description: 备注
  15026. type: string
  15027. userid:
  15028. description: 收款人用户ID
  15029. type: integer
  15030. type: object
  15031. models.UserReceiveInfo:
  15032. properties:
  15033. address:
  15034. description: 提货人详细地址
  15035. type: string
  15036. autoid:
  15037. description: AutoID
  15038. type: integer
  15039. cardnum:
  15040. description: 证件号码(加密存储)
  15041. type: string
  15042. cardtypeid:
  15043. description: 证件类型
  15044. type: integer
  15045. cityid:
  15046. description: 市
  15047. type: integer
  15048. cityname:
  15049. description: 城市名称
  15050. type: string
  15051. countryid:
  15052. description: 国家
  15053. type: integer
  15054. countryname:
  15055. description: 国家名称
  15056. type: string
  15057. districtid:
  15058. description: 地区
  15059. type: integer
  15060. districtname:
  15061. description: 地区名称
  15062. type: string
  15063. hasencrypt:
  15064. description: 数据是否已加密 - 0:未加密 1:已加密
  15065. type: integer
  15066. isdefault:
  15067. description: 是否默认地址 - 0:否 1:是
  15068. type: integer
  15069. phonenum:
  15070. description: 提货人联系方式(加密存储)
  15071. type: string
  15072. provinceid:
  15073. description: 省
  15074. type: integer
  15075. provincename:
  15076. description: 省名称
  15077. type: string
  15078. receivername:
  15079. description: 提货人姓名
  15080. type: string
  15081. takeremark:
  15082. description: 提货备注
  15083. type: string
  15084. userid:
  15085. description: 用户ID
  15086. type: integer
  15087. type: object
  15088. models.Useraccount:
  15089. properties:
  15090. accountname:
  15091. description: 账户名称(机构名称)
  15092. type: string
  15093. accountstatus:
  15094. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  15095. type: integer
  15096. applysrc:
  15097. description: 申请来源 - 1:管理端 2:终端
  15098. type: integer
  15099. auditremark:
  15100. description: 审核备注
  15101. type: string
  15102. auditsrc:
  15103. description: 审核来源 - 1:管理端 2:终端
  15104. type: integer
  15105. audittime:
  15106. description: 审核时间
  15107. type: string
  15108. audituserid:
  15109. description: 审核人
  15110. type: integer
  15111. broker:
  15112. description: 所属经纪人ID
  15113. type: integer
  15114. canceltime:
  15115. description: 销户时间
  15116. type: string
  15117. canceluserid:
  15118. description: 销户人
  15119. type: integer
  15120. canrecommend:
  15121. description: 是否可推荐 - 0:不可 1;可
  15122. type: integer
  15123. createtime:
  15124. description: 创建时间
  15125. type: string
  15126. creatorid:
  15127. description: 创建人
  15128. type: integer
  15129. hasauth:
  15130. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  15131. type: integer
  15132. isanonymous:
  15133. description: 是否匿名下单 - 0:否 1:是
  15134. type: integer
  15135. maxinvestornum:
  15136. description: 最大用户数(经纪会员下投资者个数)
  15137. type: integer
  15138. memberuserid:
  15139. description: 所属会员ID
  15140. type: integer
  15141. modifierid:
  15142. description: 修改人
  15143. type: integer
  15144. modifyremark:
  15145. description: 变更备注
  15146. type: string
  15147. modifystatus:
  15148. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  15149. type: integer
  15150. modifytime:
  15151. description: 修改时间
  15152. type: string
  15153. parenttopuser:
  15154. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  15155. type: string
  15156. parentuserid:
  15157. description: 所属机构ID
  15158. type: integer
  15159. reckonaccountid:
  15160. description: 默认结算资金账号ID(机构分润使用) 作废
  15161. type: integer
  15162. refercount:
  15163. description: 推荐总人数
  15164. type: integer
  15165. refereeuserid:
  15166. description: 推荐人ID
  15167. type: integer
  15168. refernum:
  15169. description: 推荐码
  15170. type: string
  15171. rootuserid:
  15172. description: 根用户ID
  15173. type: integer
  15174. subaccountlevel:
  15175. description: 子账户层数
  15176. type: integer
  15177. subarealevelpath:
  15178. description: 子机构层级路径(逗号分隔,首尾加逗号)
  15179. type: string
  15180. userid:
  15181. description: 用户ID
  15182. type: integer
  15183. usertype:
  15184. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  15185. type: integer
  15186. required:
  15187. - userid
  15188. type: object
  15189. models.Userfavoritegoods:
  15190. properties:
  15191. goodsid:
  15192. description: 商品ID
  15193. type: integer
  15194. required:
  15195. - goodsid
  15196. type: object
  15197. models.Userinfo:
  15198. properties:
  15199. address:
  15200. description: 地址
  15201. type: string
  15202. attachment1:
  15203. description: 附件1
  15204. type: string
  15205. attachment2:
  15206. description: 附件2
  15207. type: string
  15208. bankaccount:
  15209. description: 银行帐号 (加密存储)
  15210. type: string
  15211. bankaccountname:
  15212. description: 收款人名称
  15213. type: string
  15214. bankcardfrontphotourl:
  15215. description: 银行卡正面照地址
  15216. type: string
  15217. bankid:
  15218. description: 银行编码
  15219. type: string
  15220. bankname:
  15221. description: 银行名称
  15222. type: string
  15223. biznature:
  15224. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15225. type: integer
  15226. bizscope:
  15227. description: 企业经营范围(企业)
  15228. type: string
  15229. cardbackphotourl:
  15230. description: 证件背面图片地址
  15231. type: string
  15232. cardfrontphotourl:
  15233. description: 证件正面图片地址
  15234. type: string
  15235. cardnum:
  15236. description: 证件号码(加密存储)
  15237. type: string
  15238. cardtypeid:
  15239. description: 证件类型ID
  15240. type: integer
  15241. cityid:
  15242. description: 市
  15243. type: integer
  15244. company:
  15245. description: 公司(个人)
  15246. type: string
  15247. contactname:
  15248. description: 联系人
  15249. type: string
  15250. countryid:
  15251. description: 国家
  15252. type: integer
  15253. createtime:
  15254. description: 创建时间
  15255. type: string
  15256. creatorid:
  15257. description: 创建人
  15258. type: integer
  15259. customername:
  15260. description: 客户名称(企业名称)
  15261. type: string
  15262. districtid:
  15263. description: 地区
  15264. type: integer
  15265. email:
  15266. description: 邮件(加密存储)
  15267. type: string
  15268. fax:
  15269. description: 传真(加密存储)
  15270. type: string
  15271. halfbodyphotourl:
  15272. description: 半身照地址
  15273. type: string
  15274. hasencrypt:
  15275. description: 数据是否已加密 - 0:未加密 1:已加密
  15276. type: integer
  15277. headurl:
  15278. description: 头像地址
  15279. type: string
  15280. legalcardbackphotourl:
  15281. description: 法人身份证背面照地址
  15282. type: string
  15283. legalcardfrontphotourl:
  15284. description: 法人身份证正面照地址
  15285. type: string
  15286. legalpersonname:
  15287. description: 法人姓名(企业)
  15288. type: string
  15289. mobile:
  15290. description: 手机号码(加密存储)
  15291. type: string
  15292. mobile2:
  15293. description: 手机号码[明文-尚志]
  15294. type: string
  15295. modifierid:
  15296. description: 修改人
  15297. type: integer
  15298. modifiertime:
  15299. description: 修改时间
  15300. type: string
  15301. needinvoice:
  15302. description: 是否需要发票 - 0:不需要 1:需要
  15303. type: integer
  15304. nickname:
  15305. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15306. type: string
  15307. openmode:
  15308. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  15309. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  15310. type: integer
  15311. otherurl:
  15312. description: 其它图片地址[使用分号分隔]
  15313. type: string
  15314. postalcode:
  15315. description: 邮政编码
  15316. type: string
  15317. provinceid:
  15318. description: 省
  15319. type: integer
  15320. qq:
  15321. description: QQ(加密存储
  15322. type: string
  15323. remark:
  15324. description: 备注
  15325. type: string
  15326. sex:
  15327. description: '用户性别 0: 女 1: 男'
  15328. type: integer
  15329. signpdfurl:
  15330. description: 签约pdf文件
  15331. type: string
  15332. telphone:
  15333. description: 联系电话(加密存储)
  15334. type: string
  15335. userid:
  15336. description: 用户ID
  15337. type: integer
  15338. userinfotype:
  15339. description: 用户信息类型 - 1:个人 2:企业
  15340. type: integer
  15341. userstatus:
  15342. description: 用户状态 - 1:正常 2:注销
  15343. type: integer
  15344. usertype:
  15345. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  15346. type: integer
  15347. wechat:
  15348. description: 微信(加密存储)
  15349. type: string
  15350. wskhinfo:
  15351. description: 开户申请信息(JSON)
  15352. type: string
  15353. required:
  15354. - userid
  15355. type: object
  15356. models.WRSConverTDetail:
  15357. properties:
  15358. convertratio:
  15359. description: 套保系数
  15360. type: number
  15361. deliverygoodscode:
  15362. description: 现货商品代码
  15363. type: string
  15364. deliverygoodsid:
  15365. description: 现货品种ID
  15366. type: integer
  15367. deliverygoodsname:
  15368. description: 现货商品名称
  15369. type: string
  15370. enumdicname:
  15371. description: 单位名称
  15372. type: string
  15373. goodsunitid:
  15374. description: 套保品种单位id
  15375. type: integer
  15376. middlegoodscode:
  15377. description: 套保品种代码
  15378. type: string
  15379. middlegoodsid:
  15380. description: 套保品种ID
  15381. type: integer
  15382. middlegoodsname:
  15383. description: 套保品种名称
  15384. type: string
  15385. modifytime:
  15386. description: 修改时间
  15387. type: string
  15388. wrstandardid:
  15389. description: 品类ID
  15390. type: integer
  15391. type: object
  15392. models.WRStandardInfo:
  15393. properties:
  15394. areauserid:
  15395. description: 所属机构
  15396. type: integer
  15397. convertfactor:
  15398. description: 标仓系数
  15399. type: number
  15400. createtime:
  15401. description: 创建时间
  15402. type: string
  15403. creatorid:
  15404. description: 创建人
  15405. type: integer
  15406. deliverygoodsid:
  15407. description: 品种ID
  15408. type: integer
  15409. deliverygoodsname:
  15410. description: 交割商品名称
  15411. type: string
  15412. factoryitemjson:
  15413. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  15414. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  15415. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  15416. 逗号分隔'
  15417. type: string
  15418. isvalid:
  15419. description: 是否有效 - 0:无效 1:有效
  15420. type: integer
  15421. minivalue:
  15422. description: 最小变动值
  15423. type: integer
  15424. minivaluedp:
  15425. description: 最小变动值小数位
  15426. type: integer
  15427. realminivalue:
  15428. description: 实际最小变动值
  15429. type: integer
  15430. realminivaluedp:
  15431. description: 实际最小变动值小数位
  15432. type: integer
  15433. remark:
  15434. description: 备注
  15435. type: string
  15436. unitid:
  15437. description: 单位ID
  15438. type: integer
  15439. unitname:
  15440. description: 单位
  15441. type: string
  15442. updatetime:
  15443. description: 更新时间
  15444. type: string
  15445. updatorid:
  15446. description: 更新人
  15447. type: integer
  15448. wrsstatus:
  15449. description: 状态 - 作废 - 0:未激活 1:正常
  15450. type: integer
  15451. wrstandardcode:
  15452. description: 现货品类代码
  15453. type: string
  15454. wrstandardid:
  15455. description: 现货品类ID(SEQ_WRSTANDARD)
  15456. type: integer
  15457. wrstandardname:
  15458. description: 现货品类名称
  15459. type: string
  15460. required:
  15461. - wrstandardid
  15462. type: object
  15463. models.WRTradeBargainApply:
  15464. properties:
  15465. accountid:
  15466. description: 摘牌资金账号
  15467. type: integer
  15468. applyprice:
  15469. description: 申请价格(议价价格)
  15470. type: string
  15471. applyqty:
  15472. description: 摘牌数量(议价数量)
  15473. type: number
  15474. applyremark:
  15475. description: 申请备注
  15476. type: string
  15477. applystatus:
  15478. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  15479. type: integer
  15480. applytime:
  15481. description: 申请时间(议价时间)
  15482. type: string
  15483. begindate:
  15484. description: 开始交易日(yyyymmdd)
  15485. type: string
  15486. buyorsell:
  15487. description: 买卖(挂牌类型) - 0:买 1:卖
  15488. type: integer
  15489. confirmremark:
  15490. description: 确认备注
  15491. type: string
  15492. confirmtime:
  15493. description: 确认时间
  15494. type: string
  15495. confirmuserid:
  15496. description: 确认人
  15497. type: integer
  15498. deliverygoodscode:
  15499. description: 品种代码
  15500. type: string
  15501. deliverygoodsid:
  15502. description: 品种ID
  15503. type: integer
  15504. deliverygoodsname:
  15505. description: 品种名称
  15506. type: string
  15507. deliverymonth:
  15508. description: 交收月
  15509. type: string
  15510. enddate:
  15511. description: 结束交易日(yyyymmdd)
  15512. type: string
  15513. enumdicname:
  15514. description: 单位名称
  15515. type: string
  15516. fixedprice:
  15517. description: 挂牌价格
  15518. type: number
  15519. handlestatus:
  15520. description: 处理状态
  15521. type: integer
  15522. marginvalue:
  15523. description: 履约保证金比例
  15524. type: number
  15525. marketid:
  15526. description: 市场ID
  15527. type: integer
  15528. matchaccountid:
  15529. description: 挂牌方资金账号
  15530. type: integer
  15531. matchuserid:
  15532. description: 挂牌方用户id
  15533. type: integer
  15534. matchusername:
  15535. description: 挂牌方用户名称(已脱敏)
  15536. type: string
  15537. minivalue:
  15538. description: 现货商品最小变动值
  15539. type: integer
  15540. optioncompare:
  15541. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15542. type: string
  15543. orderqty:
  15544. description: 挂牌数量
  15545. type: integer
  15546. refprice:
  15547. description: 参考价格
  15548. type: string
  15549. retcode:
  15550. description: 委托返回代码
  15551. type: integer
  15552. templatename:
  15553. description: 履约方式(履约模板名称)
  15554. type: string
  15555. tradedate:
  15556. description: 交易日(yyyyMMdd)
  15557. type: string
  15558. userid:
  15559. description: 摘牌人用户ID(议价人ID)
  15560. type: integer
  15561. username:
  15562. description: 议价人名字(已脱敏)
  15563. type: string
  15564. validtime:
  15565. description: 有效期限
  15566. type: string
  15567. warehouseid:
  15568. description: 仓库ID
  15569. type: integer
  15570. warehousename:
  15571. description: 仓库名称
  15572. type: string
  15573. wrbargainid:
  15574. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  15575. type: string
  15576. wrfactortypeid:
  15577. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15578. type: string
  15579. wrfactortypename:
  15580. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15581. type: string
  15582. wrstandardcode:
  15583. description: 现货商品代码
  15584. type: string
  15585. wrstandardid:
  15586. description: 现货商品ID
  15587. type: integer
  15588. wrstandardname:
  15589. description: 商品名称
  15590. type: string
  15591. wrtradeorderid:
  15592. description: 关联委托单ID
  15593. type: string
  15594. wrtypename:
  15595. description: 商品
  15596. type: string
  15597. type: object
  15598. models.Warehouseinfo:
  15599. properties:
  15600. address:
  15601. description: 详细地址
  15602. type: string
  15603. areauserid:
  15604. description: 所属机构
  15605. type: integer
  15606. autoid:
  15607. description: 自增ID
  15608. type: integer
  15609. cityid:
  15610. description: 市
  15611. type: integer
  15612. contactname:
  15613. description: 联系人
  15614. type: string
  15615. contactnum:
  15616. description: 联系电话
  15617. type: string
  15618. countryid:
  15619. description: 国家
  15620. type: integer
  15621. createtime:
  15622. description: 创建时间
  15623. type: string
  15624. districtid:
  15625. description: 区
  15626. type: integer
  15627. hasvideo:
  15628. description: 是否有视频 - 0:无 1:有
  15629. type: integer
  15630. provinceid:
  15631. description: 省
  15632. type: integer
  15633. remark:
  15634. description: 审核备注
  15635. type: string
  15636. videourl:
  15637. description: 视频地址
  15638. type: string
  15639. warehousecode:
  15640. description: 仓库代码
  15641. type: string
  15642. warehousename:
  15643. description: 仓库名称
  15644. type: string
  15645. warehousestatus:
  15646. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  15647. type: integer
  15648. warehousetype:
  15649. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  15650. type: integer
  15651. required:
  15652. - autoid
  15653. - warehousecode
  15654. type: object
  15655. models.WrAverageTradePrice:
  15656. properties:
  15657. averageprice:
  15658. description: 成交均价
  15659. type: number
  15660. tradedate:
  15661. description: 交易日yyyymm
  15662. type: string
  15663. type: object
  15664. models.WrBrandAndYears:
  15665. properties:
  15666. brandlst:
  15667. description: 品牌列表
  15668. items:
  15669. $ref: '#/definitions/models.DgFactoryItem'
  15670. type: array
  15671. yearslst:
  15672. description: 年份列表
  15673. items:
  15674. $ref: '#/definitions/models.DgFactoryItem'
  15675. type: array
  15676. type: object
  15677. models.WrBsGoodsInfo:
  15678. properties:
  15679. buyorsell:
  15680. description: 买卖方向 0-买 1-卖
  15681. type: integer
  15682. goodsid:
  15683. description: 交易合约ID
  15684. type: integer
  15685. lstitem:
  15686. description: 商品信息项
  15687. items:
  15688. $ref: '#/definitions/models.WrTypeItem'
  15689. type: array
  15690. lststep:
  15691. description: 履约规则
  15692. items:
  15693. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15694. type: array
  15695. type: object
  15696. models.WrBuybackDetail:
  15697. properties:
  15698. buybackamount:
  15699. description: 回购金额
  15700. type: number
  15701. buybackqty:
  15702. description: 回购数量
  15703. type: number
  15704. buybackreleasemargin:
  15705. description: 回购释放保证金
  15706. type: number
  15707. buybacktime:
  15708. description: 回购时间
  15709. type: string
  15710. errordesc:
  15711. description: 错误描述
  15712. type: string
  15713. handlestatus:
  15714. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  15715. type: integer
  15716. relatedwrid:
  15717. description: 关联仓单ID
  15718. type: integer
  15719. scfcontractid:
  15720. description: SCF合同ID
  15721. type: string
  15722. scfwrbuybackid:
  15723. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  15724. type: integer
  15725. tradedate:
  15726. description: 交易日(yyyyMMdd)
  15727. type: string
  15728. type: object
  15729. models.WrClientAdSpaceConfig:
  15730. properties:
  15731. adspaceid:
  15732. description: 广告位ID
  15733. type: integer
  15734. adspacename:
  15735. description: 广告位名称
  15736. type: string
  15737. adspacetype:
  15738. description: 广告位类型 - 1:固定广告位
  15739. type: integer
  15740. areauserid:
  15741. description: 所属机构ID
  15742. type: integer
  15743. createdate:
  15744. description: 创建时间
  15745. type: string
  15746. imagepath:
  15747. description: 图片
  15748. type: string
  15749. modifierid:
  15750. description: 操作人
  15751. type: integer
  15752. recsize:
  15753. description: 推荐尺寸
  15754. type: string
  15755. title:
  15756. description: 标题
  15757. type: string
  15758. updatedate:
  15759. description: 更新时间
  15760. type: string
  15761. urlcontent:
  15762. description: 链接(地址\商品ID\功能菜单Key\appid)
  15763. type: string
  15764. urltype:
  15765. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  15766. type: integer
  15767. type: object
  15768. models.WrDeliveryAvalidHoldLB:
  15769. properties:
  15770. accountid:
  15771. description: 资金账号
  15772. type: integer
  15773. avalidqty:
  15774. description: 数量(可点选数量)
  15775. type: number
  15776. deliverygoodsid:
  15777. description: 品种id
  15778. type: integer
  15779. enumdicname:
  15780. description: 单位名称
  15781. type: string
  15782. goodsid:
  15783. description: x合约商品id
  15784. type: integer
  15785. ladingbillid:
  15786. description: 提单id
  15787. type: string
  15788. pgoodscode:
  15789. description: p商品代码(点价合约)
  15790. type: string
  15791. pgoodsid:
  15792. description: p商品id(点价合约)
  15793. type: integer
  15794. pgoodsname:
  15795. description: p商品名称(点价合约)
  15796. type: string
  15797. pricemove:
  15798. description: 升贴水
  15799. type: number
  15800. subnum:
  15801. description: 提单子id
  15802. type: integer
  15803. userid:
  15804. description: 用户id
  15805. type: integer
  15806. username:
  15807. description: 仓单持有人
  15808. type: string
  15809. warehousecode:
  15810. description: 仓库代码
  15811. type: string
  15812. warehouseid:
  15813. description: 仓库id
  15814. type: integer
  15815. warehousename:
  15816. description: 仓库名称
  15817. type: string
  15818. wrfactortypeid:
  15819. description: 仓单要素id
  15820. type: string
  15821. wrstandardcode:
  15822. description: 品代码
  15823. type: string
  15824. wrstandardid:
  15825. description: 品类d
  15826. type: integer
  15827. wrstandardname:
  15828. description: 品类名称
  15829. type: string
  15830. wrtypename:
  15831. description: 商品
  15832. type: string
  15833. xgoodscode:
  15834. description: x合约代码
  15835. type: string
  15836. xgoodsname:
  15837. description: x合约名称
  15838. type: string
  15839. type: object
  15840. models.WrDeliveryDetail:
  15841. properties:
  15842. accountid:
  15843. description: 账号ID
  15844. type: integer
  15845. averageprice:
  15846. description: 交割均价 = 交割金额 / 交割数量
  15847. type: number
  15848. begindate:
  15849. description: 开始交易日(yyyymmdd)
  15850. type: string
  15851. buyorsell:
  15852. description: 方向 - 0:买 1:卖
  15853. type: integer
  15854. deliveryamount:
  15855. description: 货款金额(X总货款+P总货款)
  15856. type: number
  15857. deliveryid:
  15858. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  15859. type: string
  15860. deliveryorderid:
  15861. description: 申报单号
  15862. type: string
  15863. deliverypricemove:
  15864. description: 升贴水(升贴水总额)
  15865. type: number
  15866. deliveryqty:
  15867. description: 交收数量(点选数量)
  15868. type: number
  15869. deliverystatus:
  15870. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  15871. type: integer
  15872. deliverytime:
  15873. description: 交割时间
  15874. type: string
  15875. deliverytotalamount:
  15876. description: 交收金额
  15877. type: number
  15878. enddate:
  15879. description: 结束交易日(yyyymmdd)
  15880. type: string
  15881. enumdicname:
  15882. description: 单位名称
  15883. type: string
  15884. matchaccountid:
  15885. description: 对手账号ID
  15886. type: integer
  15887. matchusername:
  15888. description: 对手方名称(仓单持有人)
  15889. type: string
  15890. p1goodsremainamount:
  15891. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15892. type: number
  15893. pdeliverycloseqty:
  15894. description: p合约平仓数量
  15895. type: number
  15896. pdeliveryprice:
  15897. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15898. type: number
  15899. pgoodscode:
  15900. description: 商品代码
  15901. type: string
  15902. pgoodsid:
  15903. description: p点选合约id
  15904. type: integer
  15905. pgoodsname:
  15906. description: 商品名称
  15907. type: string
  15908. ppricemode:
  15909. description: 点价价格方式 - 1:商品价 2:固定值
  15910. type: integer
  15911. tradedate:
  15912. description: 交易日(yyyymmdd)
  15913. type: string
  15914. userid:
  15915. description: 用户id
  15916. type: integer
  15917. username:
  15918. description: 用户名称
  15919. type: string
  15920. warehousename:
  15921. description: 仓库名称
  15922. type: string
  15923. wrfactortypeid:
  15924. description: 仓单要素类型ID
  15925. type: string
  15926. wrtypename:
  15927. description: 商品
  15928. type: string
  15929. xdeliverycloseqty:
  15930. description: 合约数量
  15931. type: number
  15932. xgoodsamount:
  15933. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15934. type: number
  15935. xgoodscode:
  15936. description: 商品代码
  15937. type: string
  15938. xgoodsid:
  15939. description: x交易合约ID
  15940. type: integer
  15941. xgoodsname:
  15942. description: 商品名称
  15943. type: string
  15944. type: object
  15945. models.WrDeliveryGoodsSection:
  15946. properties:
  15947. dglst:
  15948. description: 板块商品列表
  15949. items:
  15950. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15951. type: array
  15952. imagepath:
  15953. description: 图片地址
  15954. type: string
  15955. orderindex:
  15956. description: 排序
  15957. type: integer
  15958. sectionid:
  15959. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15960. = 1的版块1 - 云融指数
  15961. type: integer
  15962. sectionname:
  15963. description: 版块名称
  15964. type: string
  15965. sectiontype:
  15966. description: 版块类型 - 1:指数版块 2:普通版块
  15967. type: integer
  15968. type: object
  15969. models.WrDeliveryGoodsSectionConfig:
  15970. properties:
  15971. deliverygoodscode:
  15972. description: 现货商品代码
  15973. type: string
  15974. deliverygoodsid:
  15975. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15976. type: integer
  15977. deliverygoodsname:
  15978. description: 现货商品名称
  15979. type: string
  15980. orderindex:
  15981. description: 排序
  15982. type: integer
  15983. type: object
  15984. models.WrDraftUserInfo:
  15985. properties:
  15986. address:
  15987. description: 地址
  15988. type: string
  15989. attachment1:
  15990. description: 附件1
  15991. type: string
  15992. attachment2:
  15993. description: 附件2
  15994. type: string
  15995. attachment3:
  15996. description: 附件3
  15997. type: string
  15998. attachment4:
  15999. description: 附件4
  16000. type: string
  16001. attachment5:
  16002. description: 附件5
  16003. type: string
  16004. bankaccount:
  16005. description: 银行帐号 (加密存储)
  16006. type: string
  16007. bankaccountname:
  16008. description: 收款人名称
  16009. type: string
  16010. bankcardfrontphotourl:
  16011. description: 银行卡正面照地址
  16012. type: string
  16013. bankid:
  16014. description: 银行编码
  16015. type: string
  16016. bankname:
  16017. description: 银行名称
  16018. type: string
  16019. birthday:
  16020. description: 生日(个人:年月日)
  16021. type: string
  16022. biznature:
  16023. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16024. type: integer
  16025. bizscope:
  16026. description: 企业经营范围(企业)
  16027. type: string
  16028. biztype:
  16029. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  16030. type: integer
  16031. cardbackphotourl:
  16032. description: 证件背面图片地址
  16033. type: string
  16034. cardfrontphotourl:
  16035. description: 证件正面图片地址
  16036. type: string
  16037. cardnum:
  16038. description: 证件号码(加密存储)
  16039. type: string
  16040. cardtypeid:
  16041. description: 证件类型ID
  16042. type: integer
  16043. cityid:
  16044. description: 市
  16045. type: integer
  16046. company:
  16047. description: 公司(个人)
  16048. type: string
  16049. contactcardbackphotourl:
  16050. description: 联系人证件背面图片地址
  16051. type: string
  16052. contactcardfrontphotourl:
  16053. description: 联系人证件正面图片地址
  16054. type: string
  16055. contactname:
  16056. description: 联系人
  16057. type: string
  16058. countryid:
  16059. description: 国家
  16060. type: integer
  16061. createtime:
  16062. description: 创建时间
  16063. type: string
  16064. creatorid:
  16065. description: 创建人
  16066. type: integer
  16067. creditquota:
  16068. description: 授信额度(金瑞)
  16069. type: number
  16070. customername:
  16071. description: 客户名称(企业名称)
  16072. type: string
  16073. districtid:
  16074. description: 地区
  16075. type: integer
  16076. email:
  16077. description: 邮件(加密存储)
  16078. type: string
  16079. fax:
  16080. description: 传真(加密存储)
  16081. type: string
  16082. halfbodyphotourl:
  16083. description: 半身照地址
  16084. type: string
  16085. hasencrypt:
  16086. description: 数据是否已加密 - 0:未加密 1:已加密
  16087. type: integer
  16088. headurl:
  16089. description: 头像地址
  16090. type: string
  16091. legalcardbackphotourl:
  16092. description: 法人身份证背面照地址
  16093. type: string
  16094. legalcardfrontphotourl:
  16095. description: 法人身份证正面照地址
  16096. type: string
  16097. legalpersonname:
  16098. description: 法人姓名(企业)
  16099. type: string
  16100. mobile:
  16101. description: 手机号码(加密存储)
  16102. type: string
  16103. mobile2:
  16104. description: 手机号码[明文-尚志]
  16105. type: string
  16106. modifierid:
  16107. description: 修改人
  16108. type: integer
  16109. modifiertime:
  16110. description: 修改时间
  16111. type: string
  16112. needinvoice:
  16113. description: 是否需要发票 - 0:不需要 1:需要
  16114. type: integer
  16115. nickname:
  16116. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16117. type: string
  16118. openmode:
  16119. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  16120. 6:苹果手机端注册 7:PC交易端注册"
  16121. type: integer
  16122. otherurl:
  16123. description: 其它图片地址[使用分号分隔]
  16124. type: string
  16125. postalcode:
  16126. description: 邮政编码
  16127. type: string
  16128. provinceid:
  16129. description: 省
  16130. type: integer
  16131. proxystatementurl:
  16132. description: 授权委托书
  16133. type: string
  16134. qq:
  16135. description: QQ(加密存储
  16136. type: string
  16137. remark:
  16138. description: 备注
  16139. type: string
  16140. sex:
  16141. description: '用户性别 0: 女 1: 男'
  16142. type: integer
  16143. signpdfurl:
  16144. description: 签约pdf文件
  16145. type: string
  16146. taxpayernum:
  16147. description: 纳税人识别号
  16148. type: string
  16149. telphone:
  16150. description: 联系电话(加密存储)
  16151. type: string
  16152. userid:
  16153. description: 用户ID
  16154. type: integer
  16155. userinfotype:
  16156. description: 用户信息类型 - 1:个人 2:企业
  16157. type: integer
  16158. userstatus:
  16159. description: 用户状态 - 1:正常 2:注销
  16160. type: integer
  16161. usertype:
  16162. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  16163. type: integer
  16164. wechat:
  16165. description: 微信(加密存储)
  16166. type: string
  16167. wskhinfo:
  16168. description: 开户申请信息(JSON)
  16169. type: string
  16170. type: object
  16171. models.WrFAProductDetail:
  16172. properties:
  16173. accountid:
  16174. description: 资金账号
  16175. type: integer
  16176. areauserid:
  16177. description: 金融机构ID
  16178. type: integer
  16179. financingdays:
  16180. description: 天数(天)
  16181. type: integer
  16182. interestminlen:
  16183. description: 最小起息天数
  16184. type: integer
  16185. interestrate:
  16186. description: 利率
  16187. type: number
  16188. interestratemode:
  16189. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16190. type: integer
  16191. interestsettlemode:
  16192. description: 结息方式 - 1:按日结息 3:按月结息
  16193. type: integer
  16194. interestsettlevalue:
  16195. description: 结息方式值
  16196. type: integer
  16197. isautoloan:
  16198. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  16199. type: integer
  16200. loantag:
  16201. description: '放款标识: "放款快" 或者为空'
  16202. type: string
  16203. marginratio:
  16204. description: 保证金比率质押率 - [仓单质押]
  16205. type: number
  16206. productdetailid:
  16207. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  16208. type: integer
  16209. productid:
  16210. description: 金融产品ID
  16211. type: integer
  16212. productname:
  16213. description: 产品名称
  16214. type: string
  16215. updatetime:
  16216. description: 更新时间
  16217. type: string
  16218. username:
  16219. description: 融出方
  16220. type: string
  16221. type: object
  16222. models.WrFactorTypeInfo:
  16223. properties:
  16224. deliverygoodscode:
  16225. description: 品种代码
  16226. type: string
  16227. deliverygoodsname:
  16228. description: 品种名称
  16229. type: string
  16230. dgfactoryitemid:
  16231. description: 选择项id
  16232. type: integer
  16233. dgfactoryitemtypeid:
  16234. description: 要素选择项ID (1-仓库 2-品牌)
  16235. type: integer
  16236. dgfactoryitemvalue:
  16237. description: 要素项值
  16238. type: string
  16239. itemtypename:
  16240. description: 要素项名称
  16241. type: string
  16242. optioncompare:
  16243. description: 选择比较串
  16244. type: string
  16245. warehouseid:
  16246. description: 仓库id
  16247. type: integer
  16248. wrfactortypeid:
  16249. description: 仓单要素ID
  16250. type: string
  16251. wrfactortypename:
  16252. description: 要素名称
  16253. type: string
  16254. wrfactortypename2:
  16255. description: 要素名称(不含仓库)
  16256. type: string
  16257. wrstandardcode:
  16258. description: 品类代码
  16259. type: string
  16260. wrstandardid:
  16261. description: 品类id
  16262. type: integer
  16263. wrstandardname:
  16264. description: 品类名称
  16265. type: string
  16266. type: object
  16267. models.WrFilterItem:
  16268. properties:
  16269. itemcode:
  16270. description: 代码
  16271. type: string
  16272. itemid:
  16273. description: 项id
  16274. type: integer
  16275. itemname:
  16276. description: 名称
  16277. type: string
  16278. itemtype:
  16279. description: 类型 1-品种 2-品类(商品) 3-仓库
  16280. type: integer
  16281. type: object
  16282. models.WrFinanceBuyApply:
  16283. properties:
  16284. applydate:
  16285. description: 申请时间
  16286. type: string
  16287. applystatus:
  16288. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  16289. type: integer
  16290. applyuserid:
  16291. description: 申请人
  16292. type: integer
  16293. auditdate:
  16294. description: 审核时间
  16295. type: string
  16296. auditremark:
  16297. description: 审核备注
  16298. type: string
  16299. audituserid:
  16300. description: 审核人
  16301. type: integer
  16302. buyaccountid:
  16303. description: 买方资金账号
  16304. type: integer
  16305. buyorsell:
  16306. description: 买卖 - 0:买 1:卖
  16307. type: integer
  16308. buyuserid:
  16309. description: 买方用户ID
  16310. type: integer
  16311. buyusername:
  16312. description: 买方名称
  16313. type: string
  16314. buywrtradeorderid:
  16315. description: 融资方买委托单ID
  16316. type: string
  16317. deliverygoodscode:
  16318. description: 品种代码
  16319. type: string
  16320. deliverygoodsid:
  16321. description: 品种ID
  16322. type: integer
  16323. deliverygoodsname:
  16324. description: 品种名称
  16325. type: string
  16326. deliverymonth:
  16327. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  16328. type: string
  16329. enumdicname:
  16330. description: 单位名称
  16331. type: string
  16332. financeaccountid:
  16333. description: 融资方资金帐户ID
  16334. type: integer
  16335. financeapplyid:
  16336. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16337. type: string
  16338. financeareauserid:
  16339. description: 融资方用户ID
  16340. type: string
  16341. financename:
  16342. description: 融出方名称
  16343. type: string
  16344. financetype:
  16345. description: 融资类型 1-融资回购
  16346. type: integer
  16347. financingdays:
  16348. description: 天数(天)
  16349. type: integer
  16350. freezebuymargin:
  16351. description: 冻结融资保证金(买方)
  16352. type: number
  16353. handleremark:
  16354. description: 处理备注
  16355. type: string
  16356. handlestatus:
  16357. description: 处理状态
  16358. type: integer
  16359. interestminlen:
  16360. description: 最小起息天数
  16361. type: integer
  16362. interestrate:
  16363. description: 利率
  16364. type: number
  16365. interestratemode:
  16366. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16367. type: integer
  16368. interestsettlemode:
  16369. description: 结息方式 - 1:按日结息 3:按月结息
  16370. type: integer
  16371. interestsettlevalue:
  16372. description: 结息方式值
  16373. type: integer
  16374. isautoloan:
  16375. description: 是否自动放款 - 0:手动 1:自动
  16376. type: integer
  16377. marginratio:
  16378. description: 保证金比率质押率 - [仓单质押]
  16379. type: number
  16380. marketid:
  16381. description: 市场ID
  16382. type: integer
  16383. minivalue:
  16384. description: 现货商品最小变动值
  16385. type: integer
  16386. optioncompare:
  16387. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16388. type: string
  16389. orderqty:
  16390. description: 委托数量(商品数量)
  16391. type: number
  16392. productdetailid:
  16393. description: 产品组合ID
  16394. type: integer
  16395. productid:
  16396. description: 金融产品ID
  16397. type: integer
  16398. productname:
  16399. description: 产品名称
  16400. type: string
  16401. remark:
  16402. description: 备注
  16403. type: string
  16404. scfcontractid:
  16405. description: 仓单回购合同ID
  16406. type: string
  16407. sellaccountid:
  16408. description: 卖方资金账号
  16409. type: integer
  16410. selluserid:
  16411. description: 卖方用户ID
  16412. type: integer
  16413. sellwrtradeorderid:
  16414. description: 卖方委托单ID
  16415. type: string
  16416. tradeamount:
  16417. description: 成交金额(借款金额)
  16418. type: number
  16419. tradedate:
  16420. description: 交易日(yyyyMMdd)
  16421. type: string
  16422. tradeprice:
  16423. description: 成交价格
  16424. type: number
  16425. warehouseid:
  16426. description: 仓库ID
  16427. type: integer
  16428. warehousename:
  16429. description: 仓库名称
  16430. type: string
  16431. wrfactortypeid:
  16432. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16433. type: string
  16434. wrfactortypename:
  16435. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16436. type: string
  16437. wrpricetype:
  16438. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  16439. type: integer
  16440. wrstandardcode:
  16441. description: 现货商品代码
  16442. type: string
  16443. wrstandardid:
  16444. description: 现货商品ID
  16445. type: integer
  16446. wrstandardname:
  16447. description: 商品名称
  16448. type: string
  16449. wrtypename:
  16450. description: 商品
  16451. type: string
  16452. type: object
  16453. models.WrFriendApply:
  16454. properties:
  16455. applicantid:
  16456. description: 申请人
  16457. type: integer
  16458. applyname:
  16459. description: 申请人名称
  16460. type: string
  16461. applysrc:
  16462. description: 申请来源 - 1:管理端 2:终端
  16463. type: integer
  16464. applystatus:
  16465. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16466. type: integer
  16467. applytime:
  16468. description: 申请时间
  16469. type: string
  16470. auditname:
  16471. description: 审核人名称
  16472. type: string
  16473. auditorid:
  16474. description: 审核人
  16475. type: integer
  16476. auditremark:
  16477. description: 审核备注
  16478. type: string
  16479. auditsrc:
  16480. description: 审核来源 - 1:管理端 2:终端
  16481. type: integer
  16482. audittime:
  16483. description: 审核时间
  16484. type: string
  16485. friendapplyid:
  16486. description: 申请ID(SEQ_FRIENDAPPLY)
  16487. type: string
  16488. friendname:
  16489. description: 好友名字(已脱敏)
  16490. type: string
  16491. frienduserid:
  16492. description: 好友用户ID
  16493. type: string
  16494. remark:
  16495. description: 备注
  16496. type: string
  16497. userid:
  16498. description: 申请人用户ID
  16499. type: integer
  16500. type: object
  16501. models.WrFtDeliveryGoods:
  16502. properties:
  16503. deliverygoodscode:
  16504. description: 品种代码
  16505. type: string
  16506. deliverygoodsid:
  16507. description: 品种ID
  16508. type: integer
  16509. deliverygoodsname:
  16510. description: 品种名称
  16511. type: string
  16512. wdlst:
  16513. description: 商品列表
  16514. items:
  16515. $ref: '#/definitions/models.WrFtWrstandard'
  16516. type: array
  16517. type: object
  16518. models.WrFtWrstandard:
  16519. properties:
  16520. enumdicname:
  16521. description: 单位名称
  16522. type: string
  16523. minivalue:
  16524. description: 最小变动值
  16525. type: integer
  16526. wrstandardcode:
  16527. description: 现货商品代码
  16528. type: string
  16529. wrstandardid:
  16530. description: 现货商品ID
  16531. type: integer
  16532. wrstandardname:
  16533. description: 商品名称
  16534. type: string
  16535. type: object
  16536. models.WrGoodsInfo:
  16537. properties:
  16538. haswr:
  16539. description: 0:仓单预售 1:仓单贸易
  16540. type: integer
  16541. lstitem:
  16542. description: 商品信息项
  16543. items:
  16544. $ref: '#/definitions/models.WrTypeItem'
  16545. type: array
  16546. lststep:
  16547. description: 履约规则
  16548. items:
  16549. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16550. type: array
  16551. marketid:
  16552. description: 市场id
  16553. type: integer
  16554. type: object
  16555. models.WrGoodsPerformanceStep:
  16556. properties:
  16557. autoid:
  16558. description: AutoID
  16559. type: integer
  16560. isauto:
  16561. description: 是否自动 - 0:不自动 1:自动
  16562. type: integer
  16563. remark:
  16564. description: 备注
  16565. type: string
  16566. stepdate:
  16567. description: 天数信息(T+N)
  16568. type: string
  16569. stepdays:
  16570. description: 距离上一步天数
  16571. type: integer
  16572. stepindex:
  16573. description: 步骤序号
  16574. type: integer
  16575. stepinfo:
  16576. description: 步骤信息(步骤名称+步骤值)
  16577. type: string
  16578. steptypeid:
  16579. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16580. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16581. type: integer
  16582. steptypename:
  16583. description: 步骤名称
  16584. type: string
  16585. stepvalue:
  16586. description: 步骤值
  16587. type: number
  16588. templateid:
  16589. description: 履约计划模板ID
  16590. type: integer
  16591. type: object
  16592. models.WrHoldLB:
  16593. properties:
  16594. accountid:
  16595. description: 持有人帐户ID
  16596. type: integer
  16597. bannerpicurl:
  16598. description: Banner图
  16599. type: string
  16600. createtime:
  16601. description: 创建时间(过户时间)
  16602. type: string
  16603. deliverygoodscode:
  16604. description: 品种代码
  16605. type: string
  16606. deliverygoodsid:
  16607. description: 品种ID
  16608. type: integer
  16609. deliverygoodsname:
  16610. description: 品种名称
  16611. type: string
  16612. enableqty:
  16613. description: 可用数量
  16614. type: number
  16615. enumdicname:
  16616. description: 单位名称
  16617. type: string
  16618. freezerqty:
  16619. description: 冻结数量
  16620. type: number
  16621. ladingbillid:
  16622. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16623. type: string
  16624. minivalue:
  16625. description: 现货商品最小变动值
  16626. type: integer
  16627. optioncompare:
  16628. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16629. type: string
  16630. parentsubnum:
  16631. description: 拆分父子单号
  16632. type: integer
  16633. pledgeqty:
  16634. description: 质押数量
  16635. type: number
  16636. qty:
  16637. description: 数量
  16638. type: number
  16639. subnum:
  16640. description: 提单子单号
  16641. type: integer
  16642. thumurls:
  16643. description: 缩略图
  16644. type: string
  16645. tradedate:
  16646. description: 交易日(yyyyMMdd)
  16647. type: string
  16648. userid:
  16649. description: 持有人ID
  16650. type: integer
  16651. warehouseid:
  16652. description: 仓库ID
  16653. type: integer
  16654. warehousename:
  16655. description: 仓库名称
  16656. type: string
  16657. wrfactortypeid:
  16658. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16659. type: string
  16660. wrfactortypename:
  16661. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16662. type: string
  16663. wrholdeno:
  16664. description: 仓单编号
  16665. type: string
  16666. wrid:
  16667. description: 仓单变更ID
  16668. type: string
  16669. wrstandardcode:
  16670. description: 现货商品代码
  16671. type: string
  16672. wrstandardid:
  16673. description: 现货商品ID
  16674. type: integer
  16675. wrstandardname:
  16676. description: 商品名称
  16677. type: string
  16678. wrtypename:
  16679. description: 商品
  16680. type: string
  16681. type: object
  16682. models.WrMarketTradeConfig:
  16683. properties:
  16684. basisdownratio:
  16685. description: 浮动价基差下限比例(仓单贸易)
  16686. type: number
  16687. basisupratio:
  16688. description: 浮动价基差上限比例(仓单贸易)
  16689. type: number
  16690. buychargealgorithm:
  16691. description: 买方手续费收取方式 1:比率 2:固定
  16692. type: integer
  16693. buychargealgorithm2:
  16694. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  16695. type: integer
  16696. buychargealgorithmvalue:
  16697. description: 买方手续费设置值(交易所部分)
  16698. type: number
  16699. buychargealgorithmvalue2:
  16700. description: 买方手续费设置值(会员部分)
  16701. type: number
  16702. buychargealgorithmvalue3:
  16703. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  16704. type: number
  16705. buychargealgorithmvalue4:
  16706. description: 回购买方手续费设置值(会员部分) --77:现货商城
  16707. type: number
  16708. buyfirstmarginalgorithm:
  16709. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  16710. type: integer
  16711. buyfirstmarginvalue:
  16712. description: 买方出价保证金设置值 - [竞拍]
  16713. type: number
  16714. buymarginalgorithm:
  16715. description: 买方保证金方式 - 1:比率 2:固定
  16716. type: integer
  16717. buymarginvalue:
  16718. description: 买方保证金设置值
  16719. type: number
  16720. buyreleaseratio:
  16721. description: 买方释放比率[2:分步履约]
  16722. type: number
  16723. executemode:
  16724. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  16725. type: integer
  16726. executeside:
  16727. description: 执行方[2:分步履约] - 1:买方 2:卖方
  16728. type: integer
  16729. failedchargealgorithm:
  16730. description: 流拍手续费收取方式 1:比率 2:固定
  16731. type: integer
  16732. failedchargevalue:
  16733. description: 流拍手续费设置值
  16734. type: number
  16735. failedchargevalue2:
  16736. description: 流拍卖方手续费设置值
  16737. type: number
  16738. holddays:
  16739. description: 合同期限[2:分步履约]
  16740. type: integer
  16741. listingmode:
  16742. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16743. type: integer
  16744. marketid:
  16745. description: 市场ID-仓单贸易、竞拍、预售
  16746. type: integer
  16747. minqty:
  16748. description: 最小执行量[2:分步履约]
  16749. type: number
  16750. modifierid:
  16751. description: 修改人
  16752. type: integer
  16753. nowrquotaflag:
  16754. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  16755. type: integer
  16756. performancetempid:
  16757. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16758. 立即执行(-1)
  16759. type: integer
  16760. performancetempid2:
  16761. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16762. 立即执行
  16763. type: integer
  16764. performancetempid2s:
  16765. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16766. - 履约方式: 立即执行
  16767. type: string
  16768. performancetempids:
  16769. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16770. - 履约方式: 立即执行(-1)
  16771. type: string
  16772. performanceway:
  16773. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  16774. type: integer
  16775. sellchargealgorithm:
  16776. description: 卖方手续费收取方式 1:比率 2:固定
  16777. type: integer
  16778. sellchargealgorithm2:
  16779. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  16780. type: integer
  16781. sellchargealgorithmvalue:
  16782. description: 卖方手续费设置值(交易所部分)
  16783. type: number
  16784. sellchargealgorithmvalue2:
  16785. description: 卖方手续费设置值(会员部分)
  16786. type: number
  16787. sellchargealgorithmvalue3:
  16788. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  16789. type: number
  16790. sellchargealgorithmvalue4:
  16791. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  16792. type: number
  16793. sellmarginalgorithm:
  16794. description: 卖方保证金方式 - 1:比率 2:固定
  16795. type: integer
  16796. sellmarginvalue:
  16797. description: 卖方保证金设置值
  16798. type: number
  16799. sellmarginvalue2:
  16800. description: 卖方保证金设置值(无仓单)
  16801. type: number
  16802. sellreleaseratio:
  16803. description: 卖方释放比率[2:分步履约]
  16804. type: number
  16805. updatetime:
  16806. description: 更新时间
  16807. type: string
  16808. type: object
  16809. models.WrOrderDetail:
  16810. properties:
  16811. accountid:
  16812. description: 交易账号(资金账号)
  16813. type: integer
  16814. allfriendsflag:
  16815. description: 是否全好友可见 - 0:否 1:是
  16816. type: integer
  16817. amount:
  16818. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16819. type: number
  16820. bannerpicurl:
  16821. description: Banner图
  16822. type: string
  16823. begindate:
  16824. description: 开始交易日(yyyymmdd)
  16825. type: string
  16826. buyorsell:
  16827. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16828. type: integer
  16829. canbargain:
  16830. description: 是否可议价 - 0:不可 1:可
  16831. type: integer
  16832. cancelqty:
  16833. description: 撤销数量
  16834. type: number
  16835. canpart:
  16836. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16837. type: integer
  16838. delistminqty:
  16839. description: 起摘数量
  16840. type: integer
  16841. deliverygoodscode:
  16842. description: 品种代码
  16843. type: string
  16844. deliverygoodsid:
  16845. description: 品种ID
  16846. type: integer
  16847. deliverygoodsname:
  16848. description: 品种名称
  16849. type: string
  16850. deliverymonth:
  16851. description: 交收月
  16852. type: string
  16853. enddate:
  16854. description: 结束交易日(yyyymmdd)
  16855. type: string
  16856. enumdicname:
  16857. description: 单位名称
  16858. type: string
  16859. fixedprice:
  16860. description: 固定价格 - [挂牌]
  16861. type: number
  16862. freezecharge:
  16863. description: 冻结手续费
  16864. type: number
  16865. freezemargin:
  16866. description: 冻结保证金(保证金)
  16867. type: number
  16868. futupricemove:
  16869. description: 期货升贴水
  16870. type: number
  16871. futushow:
  16872. description: 期货合约/升贴水
  16873. type: string
  16874. goodscode:
  16875. description: 期货合约
  16876. type: string
  16877. goodsid:
  16878. description: 期货商品id
  16879. type: integer
  16880. goodsname:
  16881. description: 商品名称
  16882. type: string
  16883. haswr:
  16884. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16885. type: integer
  16886. isspecified:
  16887. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  16888. type: integer
  16889. ladingbillid:
  16890. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16891. type: string
  16892. marginvalue:
  16893. description: 保证金设置值(履约保证金)
  16894. type: number
  16895. marketid:
  16896. description: 市场ID
  16897. type: integer
  16898. matchusername:
  16899. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16900. type: string
  16901. minivalue:
  16902. description: 现货商品最小变动值
  16903. type: integer
  16904. optioncompare:
  16905. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16906. type: string
  16907. orderqty:
  16908. description: 委托数量
  16909. type: number
  16910. ordertime:
  16911. description: 委托时间(挂牌时间)
  16912. type: string
  16913. performancetemplateid:
  16914. description: 履约模板id
  16915. type: integer
  16916. pricemove:
  16917. description: 升贴水(浮动价时填写) - [挂牌]
  16918. type: number
  16919. taname:
  16920. description: 交易用户名称(资金账号名称)
  16921. type: string
  16922. thumurls:
  16923. description: 缩略图
  16924. type: string
  16925. tradedate:
  16926. description: 交易日(yyyyMMdd)
  16927. type: string
  16928. tradeprice:
  16929. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16930. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16931. type: number
  16932. tradeqty:
  16933. description: 成交数量
  16934. type: number
  16935. userid:
  16936. description: 用户ID
  16937. type: integer
  16938. validtime:
  16939. description: 挂牌有效期
  16940. type: string
  16941. validtype:
  16942. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16943. type: integer
  16944. warehouseid:
  16945. description: 仓库ID
  16946. type: integer
  16947. warehousename:
  16948. description: 仓库名称
  16949. type: string
  16950. wrfactortypeid:
  16951. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16952. type: string
  16953. wrfactortypename:
  16954. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16955. type: string
  16956. wrpricetype:
  16957. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16958. type: integer
  16959. wrstandardcode:
  16960. description: 现货商品代码
  16961. type: string
  16962. wrstandardid:
  16963. description: 现货商品ID
  16964. type: integer
  16965. wrstandardname:
  16966. description: 商品名称
  16967. type: string
  16968. wrtradeorderid:
  16969. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16970. type: string
  16971. wrtradeorderstatus:
  16972. 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:撤单解冻贷款失败
  16973. type: integer
  16974. wrtradetype:
  16975. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16976. type: integer
  16977. wrtypename:
  16978. description: 商品
  16979. type: string
  16980. type: object
  16981. models.WrOrderQuote:
  16982. properties:
  16983. bannerpicurl:
  16984. description: Banner图
  16985. type: string
  16986. buyprice:
  16987. description: 买价
  16988. type: number
  16989. buypricemove:
  16990. description: 买升贴水(基差)
  16991. type: number
  16992. buyqty:
  16993. description: 买量
  16994. type: number
  16995. deliverygoodscode:
  16996. description: 品种代码
  16997. type: string
  16998. deliverygoodsid:
  16999. description: 品种id
  17000. type: integer
  17001. deliverygoodsname:
  17002. description: 品种名称
  17003. type: string
  17004. deliverymonth:
  17005. description: 交收月
  17006. type: string
  17007. enumdicname:
  17008. description: 单位名称
  17009. type: string
  17010. goodscode:
  17011. description: 商品合约(浮动价列表才有)
  17012. type: string
  17013. goodsid:
  17014. description: 商品id(浮动价列表才有)
  17015. type: integer
  17016. minivalue:
  17017. description: 现货商品最小变动值
  17018. type: integer
  17019. pictureurls:
  17020. description: 详情图片(逗号分隔)
  17021. type: string
  17022. sellprice:
  17023. description: 卖价
  17024. type: number
  17025. sellpricemove:
  17026. description: 卖升贴水(基差)
  17027. type: number
  17028. sellqty:
  17029. description: 卖量
  17030. type: number
  17031. thumurls:
  17032. description: 缩略图片(1:1)(逗号分隔)
  17033. type: string
  17034. warehousecode:
  17035. description: 仓库代码
  17036. type: string
  17037. warehouseid:
  17038. description: 仓库id
  17039. type: integer
  17040. warehousename:
  17041. description: 仓库名称
  17042. type: string
  17043. wrfactortypeid:
  17044. description: 仓单要素id
  17045. type: string
  17046. wrfactortypename:
  17047. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17048. type: string
  17049. wrgoodsname:
  17050. description: 商品(商品名称+仓库要素名称 拼接)
  17051. type: string
  17052. wrstandardcode:
  17053. description: 商品代码
  17054. type: string
  17055. wrstandardid:
  17056. description: 商品id
  17057. type: integer
  17058. wrstandardname:
  17059. description: 商品名称
  17060. type: string
  17061. type: object
  17062. models.WrOrderQuoteDetail:
  17063. properties:
  17064. buyorsell:
  17065. description: 买卖 - 0:买 1:卖
  17066. type: integer
  17067. delistminqty:
  17068. description: 起摘数量
  17069. type: number
  17070. deliverymonth:
  17071. description: 交收月
  17072. type: string
  17073. enumdicname:
  17074. description: 单位名称
  17075. type: string
  17076. fixedprice:
  17077. description: 买(卖)价
  17078. type: number
  17079. marketid:
  17080. description: 市场id
  17081. type: integer
  17082. minivalue:
  17083. description: 现货商品最小变动值
  17084. type: integer
  17085. orderqty:
  17086. description: 买(卖)量(=委托量-成交量)
  17087. type: number
  17088. ordertime:
  17089. description: 委托时间
  17090. type: string
  17091. pricemove:
  17092. description: 买(卖)升贴水- 基差
  17093. type: number
  17094. userid:
  17095. description: 购买方(销售方)用户ID
  17096. type: integer
  17097. username:
  17098. description: 购买方(销售方)
  17099. type: string
  17100. wrtradeorderid:
  17101. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17102. type: string
  17103. type: object
  17104. models.WrOutInApply:
  17105. properties:
  17106. applyid:
  17107. description: 申请单id
  17108. type: string
  17109. applystatus:
  17110. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  17111. 8:已撤销
  17112. type: integer
  17113. applytime:
  17114. description: 申请时间
  17115. type: string
  17116. applytype:
  17117. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  17118. type: integer
  17119. bannerpicurl:
  17120. description: Banner图
  17121. type: string
  17122. begindate:
  17123. description: 开始交易日(yyyymmdd)
  17124. type: string
  17125. deliverygoodscode:
  17126. description: 品种代码
  17127. type: string
  17128. deliverygoodsid:
  17129. description: 品种ID
  17130. type: integer
  17131. deliverygoodsname:
  17132. description: 品种名称
  17133. type: string
  17134. enddate:
  17135. description: 结束交易日(yyyymmdd)
  17136. type: string
  17137. enumdicname:
  17138. description: 单位名称
  17139. type: string
  17140. expresscompany:
  17141. description: 物流公司
  17142. type: string
  17143. expressnum:
  17144. description: 物流单号
  17145. type: string
  17146. minivalue:
  17147. description: 现货商品最小变动值
  17148. type: integer
  17149. optioncompare:
  17150. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17151. type: string
  17152. qty:
  17153. description: 数量
  17154. type: integer
  17155. userid:
  17156. description: 用户id
  17157. type: integer
  17158. warehouseid:
  17159. description: 仓库ID
  17160. type: integer
  17161. warehousename:
  17162. description: 仓库名称
  17163. type: string
  17164. wrfactortypeid:
  17165. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17166. type: string
  17167. wrfactortypename:
  17168. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17169. type: string
  17170. wrstandardcode:
  17171. description: 现货商品代码
  17172. type: string
  17173. wrstandardid:
  17174. description: 现货商品ID
  17175. type: integer
  17176. wrstandardname:
  17177. description: 商品名称
  17178. type: string
  17179. wrtypename:
  17180. description: 商品
  17181. type: string
  17182. type: object
  17183. models.WrPerformancePlan:
  17184. properties:
  17185. activatemonth:
  17186. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  17187. type: string
  17188. amount:
  17189. description: 履约金额(总金额)
  17190. type: number
  17191. begindate:
  17192. description: 开始交易日(yyyymmdd)
  17193. type: string
  17194. buyaccountid:
  17195. description: 买方账号
  17196. type: integer
  17197. buyerfreezeamount:
  17198. description: 履约冻结(买履约)
  17199. type: number
  17200. buyerfreezeamountremain:
  17201. description: 履约冻结剩余(买履约)
  17202. type: number
  17203. buyorsell:
  17204. description: 买卖方向 0-买 1-卖
  17205. type: integer
  17206. buypaidamount:
  17207. description: 买方已冻/已扣金额 (已付金额)
  17208. type: number
  17209. buyusername:
  17210. description: 买方名字
  17211. type: string
  17212. contractid:
  17213. description: 合同ID
  17214. type: integer
  17215. createtime:
  17216. description: 创建时间
  17217. type: string
  17218. creatorid:
  17219. description: 创建人
  17220. type: integer
  17221. curstepdeadline:
  17222. description: 当前步骤到期时间
  17223. type: string
  17224. curstepid:
  17225. description: 当前步骤ID
  17226. type: string
  17227. curstepname:
  17228. description: 当前步骤名称
  17229. type: string
  17230. deliverygoodscode:
  17231. description: 品种代码
  17232. type: string
  17233. deliverygoodsid:
  17234. description: 品种ID
  17235. type: integer
  17236. deliverygoodsname:
  17237. description: 品种名称
  17238. type: string
  17239. enddate:
  17240. description: 结束交易日(yyyymmdd)
  17241. type: string
  17242. enumdicname:
  17243. description: 单位名称
  17244. type: string
  17245. expressfee:
  17246. description: 运费
  17247. type: number
  17248. expressfeeconfirmed:
  17249. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  17250. type: integer
  17251. hasovershort:
  17252. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  17253. type: integer
  17254. haswr:
  17255. description: 类型 0-仓单预售 1-仓单贸易
  17256. type: integer
  17257. marketid:
  17258. description: 市场ID
  17259. type: integer
  17260. middleaccountid:
  17261. description: 中间商资金账号ID
  17262. type: integer
  17263. middleuserid:
  17264. description: 中间商用户ID
  17265. type: integer
  17266. minivalue:
  17267. description: 现货商品最小变动值
  17268. type: integer
  17269. optioncompare:
  17270. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17271. type: string
  17272. overshortamount:
  17273. description: 溢短金额
  17274. type: number
  17275. overshortqty:
  17276. description: 溢短数量
  17277. type: number
  17278. paymenttype:
  17279. description: 付款方式 - 1:冻结 2:扣款
  17280. type: integer
  17281. performanceplanid:
  17282. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  17283. type: string
  17284. performancestatus:
  17285. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  17286. 9:超时待处理 10:超时关闭
  17287. type: integer
  17288. performancetype:
  17289. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  17290. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  17291. type: integer
  17292. qty:
  17293. description: 履约数量
  17294. type: number
  17295. relatedorderid:
  17296. description: 关联单号(履约类型的关联单号)
  17297. type: string
  17298. remark:
  17299. description: 备注
  17300. type: string
  17301. sellaccountid:
  17302. description: 卖方账号
  17303. type: integer
  17304. sellerfreezeamount:
  17305. description: 履约冻结(卖履约)
  17306. type: number
  17307. sellerfreezeamountremain:
  17308. description: 履约冻结剩余(卖履约)
  17309. type: number
  17310. sellreceivedamount:
  17311. description: 卖方已收金额
  17312. type: number
  17313. sellusername:
  17314. description: 卖方名字
  17315. type: string
  17316. shipremark:
  17317. description: 发货备注[物流单号]
  17318. type: string
  17319. starttime:
  17320. description: 开始时间
  17321. type: string
  17322. steptypeid:
  17323. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17324. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17325. type: integer
  17326. typename:
  17327. description: 履约类型 名称
  17328. type: string
  17329. unpaidamount:
  17330. description: 剩余款(待支付金额)
  17331. type: number
  17332. userid:
  17333. description: 用户id
  17334. type: integer
  17335. warehouseid:
  17336. description: 仓库ID
  17337. type: integer
  17338. warehousename:
  17339. description: 仓库名称
  17340. type: string
  17341. wrfactortypeid:
  17342. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17343. type: string
  17344. wrfactortypename:
  17345. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17346. type: string
  17347. wrstandardcode:
  17348. description: 现货商品代码
  17349. type: string
  17350. wrstandardid:
  17351. description: 现货商品ID
  17352. type: integer
  17353. wrstandardname:
  17354. description: 商品名称
  17355. type: string
  17356. wrtransferuserid:
  17357. description: 仓单受让用户
  17358. type: integer
  17359. wrtypename:
  17360. description: 商品
  17361. type: string
  17362. required:
  17363. - userid
  17364. type: object
  17365. models.WrPerformancePlanStep:
  17366. properties:
  17367. delaydays:
  17368. description: 延期申请天数
  17369. type: integer
  17370. deliverygoodscode:
  17371. description: 品种代码
  17372. type: string
  17373. deliverygoodsid:
  17374. description: 品种ID
  17375. type: integer
  17376. deliverygoodsname:
  17377. description: 品种名称
  17378. type: string
  17379. endtime:
  17380. description: 结束日期
  17381. type: string
  17382. enumdicname:
  17383. description: 单位名称
  17384. type: string
  17385. executeside:
  17386. description: 步骤执行方 - 1:买方 2:卖方
  17387. type: integer
  17388. handlestatus:
  17389. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  17390. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  17391. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  17392. type: integer
  17393. isauto:
  17394. description: 是否自动 - 0:不自动 1:自动
  17395. type: integer
  17396. islastreceivestep:
  17397. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  17398. type: integer
  17399. minivalue:
  17400. description: 现货商品最小变动值
  17401. type: integer
  17402. optioncompare:
  17403. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17404. type: string
  17405. overdays:
  17406. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  17407. type: integer
  17408. performancestepid:
  17409. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  17410. type: string
  17411. planid:
  17412. description: 所属履约计划ID
  17413. type: string
  17414. realamount:
  17415. description: 实际完成金额
  17416. type: number
  17417. relatedorderid:
  17418. description: 关联单号
  17419. type: string
  17420. remaindays:
  17421. description: 剩余天数
  17422. type: integer
  17423. remark:
  17424. description: 错误备注
  17425. type: string
  17426. starttime:
  17427. description: 开始日期
  17428. type: string
  17429. stepamount:
  17430. description: 步骤金额
  17431. type: number
  17432. stepdays:
  17433. description: 距离上一步天数(分钟)
  17434. type: integer
  17435. stepindex:
  17436. description: 步骤序号
  17437. type: integer
  17438. steplanchtype:
  17439. description: 步骤启动类型 - 1:系统自动 2:手动
  17440. type: integer
  17441. stepremark:
  17442. description: 步骤备注
  17443. type: string
  17444. stepstatus:
  17445. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  17446. type: integer
  17447. steptypeid:
  17448. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17449. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17450. type: integer
  17451. steptypename:
  17452. description: 步骤名称
  17453. type: string
  17454. stepvalue:
  17455. description: 步骤值
  17456. type: number
  17457. warehouseid:
  17458. description: 仓库ID
  17459. type: integer
  17460. warehousename:
  17461. description: 仓库名称
  17462. type: string
  17463. wrfactortypeid:
  17464. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17465. type: string
  17466. wrfactortypename:
  17467. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17468. type: string
  17469. wrstandardcode:
  17470. description: 现货商品代码
  17471. type: string
  17472. wrstandardid:
  17473. description: 现货商品ID
  17474. type: integer
  17475. wrstandardname:
  17476. description: 商品名称
  17477. type: string
  17478. wrtypename:
  17479. description: 商品
  17480. type: string
  17481. type: object
  17482. models.WrPerformanceStepType:
  17483. properties:
  17484. canauto:
  17485. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  17486. type: integer
  17487. steptypeid:
  17488. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  17489. type: integer
  17490. steptypename:
  17491. description: 步骤类型名称
  17492. type: string
  17493. type: object
  17494. models.WrPerformanceTemplateEx:
  17495. properties:
  17496. autoid:
  17497. description: AutoID 模板id
  17498. type: integer
  17499. createtime:
  17500. description: 创建时间
  17501. type: string
  17502. creatorid:
  17503. description: 创建人
  17504. type: integer
  17505. lstStep:
  17506. description: 步骤信息列表
  17507. items:
  17508. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17509. type: array
  17510. paymenttype:
  17511. description: 支付方式 - 1:冻结 2:扣款
  17512. type: integer
  17513. takemode:
  17514. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  17515. type: integer
  17516. templatename:
  17517. description: 模板名称
  17518. type: string
  17519. templatetype:
  17520. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  17521. (无仓单) 5:挂牌期权 6:竞拍-降价式
  17522. type: integer
  17523. userid:
  17524. description: 所属用户
  17525. type: integer
  17526. type: object
  17527. models.WrPosition:
  17528. properties:
  17529. accountid:
  17530. description: 帐户ID
  17531. type: integer
  17532. buyexcuteqty:
  17533. description: 采购履约中数量
  17534. type: number
  17535. creditcurqty:
  17536. description: 授信当前数量(预售仓单:预售当前量)
  17537. type: number
  17538. creditenableqty:
  17539. description: '授信可用数量(预售仓单: 可用数量)'
  17540. type: number
  17541. creditfreezeqty:
  17542. description: '授信冻结数量(预售仓单: 当前数量)'
  17543. type: number
  17544. credittotalqty:
  17545. description: 授信总数量(预售仓单:预售总量)
  17546. type: number
  17547. credittradeqty:
  17548. description: 授信成交数量(预售仓单:成交总量)
  17549. type: number
  17550. deliverygoodscode:
  17551. description: 品种代码
  17552. type: string
  17553. deliverygoodsid:
  17554. description: 品种ID
  17555. type: integer
  17556. deliverygoodsname:
  17557. description: 品种名称
  17558. type: string
  17559. enalbeqty:
  17560. description: 可用数量
  17561. type: number
  17562. enumdicname:
  17563. description: 单位名称
  17564. type: string
  17565. freezeqty:
  17566. description: 总冻结数量
  17567. type: number
  17568. haswr:
  17569. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17570. type: integer
  17571. minivalue:
  17572. description: 现货商品最小变动值
  17573. type: integer
  17574. modifytime:
  17575. description: 修改时间(过户时间)
  17576. type: string
  17577. optioncompare:
  17578. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17579. type: string
  17580. pledgeqty:
  17581. description: 质押数量
  17582. type: number
  17583. querytype:
  17584. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  17585. type: integer
  17586. sellexcuteqty:
  17587. description: 销售履约中数量
  17588. type: number
  17589. totalqty:
  17590. description: 总数量(库存数量)
  17591. type: number
  17592. warehouseid:
  17593. description: 仓库ID
  17594. type: integer
  17595. warehousename:
  17596. description: 仓库名称
  17597. type: string
  17598. wrfactortypeid:
  17599. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17600. type: string
  17601. wrfactortypename:
  17602. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17603. type: string
  17604. wrpositionid:
  17605. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  17606. type: string
  17607. wrpositionno:
  17608. description: 仓单编号
  17609. type: string
  17610. wrstandardcode:
  17611. description: 现货商品代码
  17612. type: string
  17613. wrstandardid:
  17614. description: 现货商品ID
  17615. type: integer
  17616. wrstandardname:
  17617. description: 商品名称
  17618. type: string
  17619. wrtypename:
  17620. description: 商品
  17621. type: string
  17622. wruserid:
  17623. description: 持有人ID
  17624. type: integer
  17625. type: object
  17626. models.WrPreSaleInfo:
  17627. properties:
  17628. bannerpicurl:
  17629. description: Banner图
  17630. type: string
  17631. baseqty:
  17632. description: 中签基数
  17633. type: number
  17634. createtime:
  17635. description: 创建时间
  17636. type: string
  17637. deliverygoodsid:
  17638. description: 现货品种ID
  17639. type: integer
  17640. enddate:
  17641. description: 预售结束日期
  17642. type: string
  17643. enumdicname:
  17644. description: 单位名称
  17645. type: string
  17646. lotteryflag:
  17647. description: 摇号标识 - 0:未摇号 1:已摇号
  17648. type: integer
  17649. lotteryqty:
  17650. description: 摇号总量
  17651. type: number
  17652. luckyqty:
  17653. description: 已中签量
  17654. type: number
  17655. marketid:
  17656. description: 市场ID
  17657. type: integer
  17658. maxbuyqty:
  17659. description: 单人最大申购量
  17660. type: number
  17661. maxluckyqty:
  17662. description: 单人最大中签量
  17663. type: number
  17664. pictureurls:
  17665. description: 详情图片(逗号分隔)
  17666. type: string
  17667. placeqty:
  17668. description: 已配售量
  17669. type: number
  17670. presaleapplyid:
  17671. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17672. example: "0"
  17673. type: string
  17674. presaleqty:
  17675. description: 预售总量
  17676. type: number
  17677. presalestatus:
  17678. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  17679. type: integer
  17680. sellaccountid:
  17681. description: 发行方资金账户ID
  17682. type: integer
  17683. selluserid:
  17684. description: 发行方用户ID
  17685. type: integer
  17686. sellwrtradeorderid:
  17687. description: 发行方卖委托单ID
  17688. type: string
  17689. startdate:
  17690. description: 预售开始日期
  17691. type: string
  17692. takestartdate:
  17693. description: 提货开始日期
  17694. type: string
  17695. thumurls:
  17696. description: 缩略图片(1:1)(逗号分隔)
  17697. type: string
  17698. tradedate:
  17699. description: 交易日
  17700. type: string
  17701. unitid:
  17702. description: 单位ID
  17703. type: integer
  17704. unitprice:
  17705. description: 商品单价
  17706. type: number
  17707. username:
  17708. description: 发行方用户名称
  17709. type: string
  17710. warehousecode:
  17711. description: 仓库代码(仓库简称)
  17712. type: string
  17713. warehouseid:
  17714. description: 仓库ID
  17715. type: integer
  17716. warehousename:
  17717. description: 仓库名称
  17718. type: string
  17719. wrfactortypeid:
  17720. description: 仓单要素类型ID - 根据现货商品\仓库生成
  17721. example: "0"
  17722. type: string
  17723. wrstandardid:
  17724. description: 现货商品ID
  17725. type: integer
  17726. wrstandardname:
  17727. description: 现货商品名称
  17728. type: string
  17729. type: object
  17730. models.WrQuoteOrderMyq:
  17731. properties:
  17732. buyorsell:
  17733. description: 买卖 - 0:买 1:卖
  17734. type: integer
  17735. canbargain:
  17736. description: 是否可议价 - 0:不可 1:可
  17737. type: integer
  17738. canpart:
  17739. description: 是否允许部份摘牌 - 0:不允许 1:允许
  17740. type: integer
  17741. delistminqty:
  17742. description: 起摘数量
  17743. type: number
  17744. deliverygoodscode:
  17745. description: 品种代码
  17746. type: string
  17747. deliverygoodsid:
  17748. description: 品种ID
  17749. type: integer
  17750. deliverygoodsname:
  17751. description: 品种名称
  17752. type: string
  17753. deliverymonth:
  17754. description: 交收月
  17755. type: string
  17756. enumdicname:
  17757. description: 单位名称
  17758. type: string
  17759. fixedprice:
  17760. description: 买(卖)价
  17761. type: number
  17762. goodscode:
  17763. description: 商品合约代码
  17764. type: string
  17765. marginflag:
  17766. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  17767. type: integer
  17768. marginvalue:
  17769. description: 保证金设置值
  17770. type: number
  17771. minivalue:
  17772. description: 现货商品最小变动值
  17773. type: integer
  17774. orderqty:
  17775. description: 买(卖)量(=委托量-成交量)
  17776. type: number
  17777. ordertime:
  17778. description: 委托时间
  17779. type: string
  17780. performancetemplateid:
  17781. description: 履约模板id
  17782. type: integer
  17783. pricemove:
  17784. description: 买(卖)升贴水- 基差
  17785. type: number
  17786. templatename:
  17787. description: 履约模板名称
  17788. type: string
  17789. userid:
  17790. description: 购买方(销售方)用户ID
  17791. type: integer
  17792. username:
  17793. description: 购买方(销售方)
  17794. type: string
  17795. validtime:
  17796. description: 有效期限
  17797. type: string
  17798. validtype:
  17799. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17800. type: integer
  17801. warehousename:
  17802. description: 仓库名称
  17803. type: string
  17804. wrfactortypeid:
  17805. description: 仓单要素id
  17806. type: string
  17807. wrstandardcode:
  17808. description: 现货商品代码
  17809. type: string
  17810. wrstandardid:
  17811. description: 现货商品ID
  17812. type: integer
  17813. wrstandardname:
  17814. description: 商品名称
  17815. type: string
  17816. wrtradeorderid:
  17817. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17818. type: string
  17819. wrtypename:
  17820. description: 商品
  17821. type: string
  17822. type: object
  17823. models.WrReckonSpotGoodsTradeSum:
  17824. properties:
  17825. begindate:
  17826. description: 开始日期(结果含开始日期) yyyymmdd
  17827. type: string
  17828. enddate:
  17829. description: 结束日期(结果含结束日期) yyyymmdd
  17830. type: string
  17831. istoday:
  17832. description: 是否当日
  17833. type: boolean
  17834. marketid:
  17835. description: 市场ID
  17836. type: integer
  17837. price:
  17838. description: 价格 = 日成交金额 / 日成交数量
  17839. type: string
  17840. reckondate:
  17841. description: 日期 格式 yyyymmdd
  17842. type: string
  17843. tradeamount:
  17844. description: 日成交金额(当日单方向成交金额)
  17845. type: number
  17846. tradeqty:
  17847. description: 日成交数量(当日单方向成交数量)
  17848. type: number
  17849. wrstandardid:
  17850. description: 现货商品ID
  17851. type: integer
  17852. type: object
  17853. models.WrScfContract:
  17854. properties:
  17855. borroweruserid:
  17856. description: 借款用户ID
  17857. type: integer
  17858. buybackwrpositionqty:
  17859. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  17860. type: number
  17861. closeinterest:
  17862. description: 已结利息 -> 已结费用
  17863. type: number
  17864. currisklevel:
  17865. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17866. type: integer
  17867. deadline:
  17868. description: 截止日期(yyyyMMdd) -> 借款到期时间
  17869. type: string
  17870. deliverygoodscode:
  17871. description: 品种代码
  17872. type: string
  17873. deliverygoodsid:
  17874. description: 品种ID
  17875. type: integer
  17876. deliverygoodsname:
  17877. description: 品种名称
  17878. type: string
  17879. enumdicname:
  17880. description: 单位名称
  17881. type: string
  17882. financingdays:
  17883. description: 天数(天)
  17884. type: integer
  17885. initmargin:
  17886. description: 保证金 - [仓单回购]
  17887. type: number
  17888. interestamount:
  17889. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  17890. type: number
  17891. interestdebt:
  17892. description: 利息欠款(记录负数) -> 费用欠款
  17893. type: number
  17894. interestminlen:
  17895. description: 最小起息天数
  17896. type: integer
  17897. interestrate:
  17898. description: 利率
  17899. type: number
  17900. interestratemode:
  17901. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17902. type: integer
  17903. interestsettlemode:
  17904. description: 结息方式 - 1:按日结息 3:按月结息
  17905. type: integer
  17906. interestsettlevalue:
  17907. description: 结息方式值
  17908. type: integer
  17909. isautoloan:
  17910. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17911. type: integer
  17912. lastcloseinterestday:
  17913. description: 最近结息日(yyyyMMdd)
  17914. type: string
  17915. lenderamount:
  17916. description: 贷款金额 -> 借款金额
  17917. type: number
  17918. lenderuserid:
  17919. description: 贷款方用户ID -> 融出方用户ID
  17920. type: integer
  17921. lenderusername:
  17922. description: 融出方
  17923. type: string
  17924. marginratio:
  17925. description: 保证金比率质押率 - [仓单质押]
  17926. type: number
  17927. marketid:
  17928. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17929. type: integer
  17930. minivalue:
  17931. description: 现货商品最小变动值
  17932. type: integer
  17933. optioncompare:
  17934. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17935. type: string
  17936. pricemove:
  17937. description: 估值升贴水值
  17938. type: number
  17939. productdetailid:
  17940. description: 产品组合ID
  17941. type: integer
  17942. productid:
  17943. description: 金融产品ID
  17944. type: integer
  17945. productname:
  17946. description: 产品名称
  17947. type: string
  17948. remainamount:
  17949. description: 合同剩余金额 -> 剩余金额
  17950. type: number
  17951. remainwrpositionqty:
  17952. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17953. type: number
  17954. remark:
  17955. description: 备注
  17956. type: string
  17957. scfcontractid:
  17958. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17959. type: string
  17960. scfcontractstatus:
  17961. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17962. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17963. type: integer
  17964. scfcontracttype:
  17965. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17966. type: integer
  17967. startinterestday:
  17968. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17969. type: string
  17970. totalinterest:
  17971. description: 已计利息 -> 已计费用
  17972. type: number
  17973. unpaidinterest:
  17974. description: 未结费用
  17975. type: number
  17976. updatetime:
  17977. description: 更新时间
  17978. type: string
  17979. warehouseid:
  17980. description: 仓库ID
  17981. type: integer
  17982. warehousename:
  17983. description: 仓库名称
  17984. type: string
  17985. wrfactortypeid:
  17986. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17987. type: string
  17988. wrfactortypename:
  17989. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17990. type: string
  17991. wrqty:
  17992. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17993. type: number
  17994. wrstandardcode:
  17995. description: 现货商品代码
  17996. type: string
  17997. wrstandardid:
  17998. description: 现货商品ID
  17999. type: integer
  18000. wrstandardname:
  18001. description: 商品名称
  18002. type: string
  18003. wrtypename:
  18004. description: 商品
  18005. type: string
  18006. type: object
  18007. models.WrScfContractInterest:
  18008. properties:
  18009. closeinterest:
  18010. description: 已结利息
  18011. type: number
  18012. closeintereststatus:
  18013. description: 结息状态 - 1:未结 2:已结
  18014. type: integer
  18015. closetime:
  18016. description: 结息时间
  18017. type: string
  18018. closetradedate:
  18019. description: 结息交易日
  18020. type: string
  18021. creatorid:
  18022. description: 操作人ID
  18023. type: integer
  18024. dayrate:
  18025. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  18026. type: number
  18027. interest:
  18028. description: 利息
  18029. type: number
  18030. interestamount:
  18031. description: 计息金额
  18032. type: number
  18033. interestday:
  18034. description: 计息日(yyyyMMdd)
  18035. type: string
  18036. scfcontractid:
  18037. description: SCF合同ID
  18038. type: string
  18039. scfcontractinterestid:
  18040. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  18041. type: integer
  18042. updatetime:
  18043. description: 更新时间
  18044. type: string
  18045. type: object
  18046. models.WrSearchUser:
  18047. properties:
  18048. userid:
  18049. description: 用户ID
  18050. type: integer
  18051. username:
  18052. description: 用户名称(已脱敏)
  18053. type: string
  18054. username2:
  18055. description: 用户名称(未脱敏)
  18056. type: string
  18057. usertype:
  18058. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18059. type: integer
  18060. required:
  18061. - username
  18062. type: object
  18063. models.WrSiteColumnDetail:
  18064. properties:
  18065. brief:
  18066. description: 简介
  18067. type: string
  18068. context:
  18069. description: 内容
  18070. type: string
  18071. coverimage:
  18072. description: 封面图片
  18073. type: string
  18074. creaedate:
  18075. description: 创建时间
  18076. type: string
  18077. id:
  18078. description: ID(SEQ_SITE_COLUMNDETAIL)
  18079. type: integer
  18080. istop:
  18081. description: 是否置顶 - 0:不置 1:置顶
  18082. type: integer
  18083. publishdate:
  18084. description: 发布日期
  18085. type: string
  18086. title:
  18087. description: 标题
  18088. type: string
  18089. updatedate:
  18090. description: 修改时间
  18091. type: string
  18092. type: object
  18093. models.WrSpecialMatchOrder:
  18094. properties:
  18095. amount:
  18096. description: 金额 = 数量 * 价格
  18097. type: number
  18098. buyorsell:
  18099. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18100. type: integer
  18101. cancelqty:
  18102. description: 撤销数量
  18103. type: number
  18104. deliverygoodscode:
  18105. description: 品种代码
  18106. type: string
  18107. deliverygoodsid:
  18108. description: 品种ID
  18109. type: integer
  18110. deliverygoodsname:
  18111. description: 品种名称
  18112. type: string
  18113. enumdicname:
  18114. description: 单位名称
  18115. type: string
  18116. fixedprice:
  18117. description: 固定价格(价格)
  18118. type: number
  18119. haswr:
  18120. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18121. type: integer
  18122. isspecified:
  18123. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  18124. type: integer
  18125. marketid:
  18126. description: 市场ID
  18127. type: integer
  18128. matchuserid:
  18129. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  18130. type: integer
  18131. matchusername:
  18132. description: 指定方
  18133. type: string
  18134. minivalue:
  18135. description: 现货商品最小变动值
  18136. type: integer
  18137. optioncompare:
  18138. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18139. type: string
  18140. orderqty:
  18141. description: 委托数量
  18142. type: number
  18143. ordertime:
  18144. description: 委托时间
  18145. type: string
  18146. pricemove:
  18147. description: 升贴水(浮动价时填写) - [挂牌]
  18148. type: number
  18149. tradedate:
  18150. description: 交易日(yyyyMMdd)
  18151. type: string
  18152. tradeprice:
  18153. description: 成交价格
  18154. type: number
  18155. tradeqty:
  18156. description: 成交数量
  18157. type: number
  18158. userid:
  18159. description: 用户ID
  18160. type: integer
  18161. username:
  18162. description: 发起方
  18163. type: string
  18164. warehouseid:
  18165. description: 仓库ID
  18166. type: integer
  18167. warehousename:
  18168. description: 仓库名称
  18169. type: string
  18170. wrfactortypeid:
  18171. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18172. type: string
  18173. wrfactortypename:
  18174. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18175. type: string
  18176. wrpricetype:
  18177. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18178. type: integer
  18179. wrstandardcode:
  18180. description: 现货商品代码
  18181. type: string
  18182. wrstandardid:
  18183. description: 现货商品ID
  18184. type: integer
  18185. wrstandardname:
  18186. description: 商品名称
  18187. type: string
  18188. wrtradeorderid:
  18189. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18190. type: string
  18191. wrtradeorderstatus:
  18192. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  18193. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  18194. type: integer
  18195. wrtradetype:
  18196. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18197. type: integer
  18198. wrtypename:
  18199. description: 商品
  18200. type: string
  18201. type: object
  18202. models.WrSpotGroupTradeSum:
  18203. properties:
  18204. deliverygoodscode:
  18205. description: 现货品种代码
  18206. type: string
  18207. deliverygoodsid:
  18208. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18209. type: integer
  18210. deliverygoodsname:
  18211. description: 现货品种名称
  18212. type: string
  18213. lastavgprice:
  18214. description: 上上个交易日价格(前2天价格)
  18215. type: string
  18216. lastreckondate:
  18217. description: 上上个交易日(前2天交易日)
  18218. type: string
  18219. reckondate:
  18220. description: 上个交易日(前1天交易日)
  18221. type: string
  18222. todayavgprice:
  18223. description: 上个交易日价格(前1天价格)
  18224. type: string
  18225. updown:
  18226. description: 涨跌
  18227. type: string
  18228. updownratio:
  18229. description: 涨幅(已格式化, 直接显示即可)
  18230. type: string
  18231. type: object
  18232. models.WrSpotGroupTradeSumDetail:
  18233. properties:
  18234. deliverygoodsid:
  18235. description: 现货商品id
  18236. type: integer
  18237. price:
  18238. description: 价格
  18239. type: number
  18240. reckondate:
  18241. description: 日期(yyymmdd, 如:20211031)
  18242. type: string
  18243. type: object
  18244. models.WrSpotGroupTradeSumEx:
  18245. properties:
  18246. lst:
  18247. description: 指数列表
  18248. items:
  18249. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  18250. type: array
  18251. prereckondate:
  18252. description: 上上个交易日(yyymmdd)
  18253. type: string
  18254. reckondate:
  18255. description: 上个交易日(yyyymmdd)
  18256. type: string
  18257. type: object
  18258. models.WrStandardFactoryItem:
  18259. properties:
  18260. dgfactoryitemid:
  18261. description: 选择项id
  18262. type: integer
  18263. dgfactoryitemvalue:
  18264. description: 要素项值
  18265. type: string
  18266. warehouseid:
  18267. description: 仓库id
  18268. type: integer
  18269. type: object
  18270. models.WrStandardFactoryItemEx:
  18271. properties:
  18272. dgfactoryitemtypeid:
  18273. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  18274. type: integer
  18275. itemlst:
  18276. description: 要素项列表
  18277. items:
  18278. $ref: '#/definitions/models.WrStandardFactoryItem'
  18279. type: array
  18280. itemtypename:
  18281. description: 要素项类型名称
  18282. type: string
  18283. wrstandardid:
  18284. description: 品类
  18285. type: integer
  18286. type: object
  18287. models.WrTradeDetail:
  18288. properties:
  18289. accountid:
  18290. description: 资金账号
  18291. type: integer
  18292. bannerpicurl:
  18293. description: Banner图
  18294. type: string
  18295. begindate:
  18296. description: 开始交易日(yyyymmdd)
  18297. type: string
  18298. buyorsell:
  18299. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18300. type: integer
  18301. chargevalue:
  18302. description: 手续费
  18303. type: number
  18304. deliverygoodscode:
  18305. description: 品种代码
  18306. type: string
  18307. deliverygoodsid:
  18308. description: 品种ID
  18309. type: integer
  18310. deliverygoodsname:
  18311. description: 品种名称
  18312. type: string
  18313. deliverymonth:
  18314. description: 交收月
  18315. type: string
  18316. enddate:
  18317. description: 结束交易日(yyyymmdd)
  18318. type: string
  18319. enumdicname:
  18320. description: 单位名称
  18321. type: string
  18322. haswr:
  18323. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18324. type: integer
  18325. marketid:
  18326. description: 市场ID
  18327. type: integer
  18328. matchaccountid:
  18329. description: 对手账号
  18330. type: integer
  18331. matchusername:
  18332. description: 对手方
  18333. type: string
  18334. minivalue:
  18335. description: 现货商品最小变动值
  18336. type: integer
  18337. optioncompare:
  18338. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18339. type: string
  18340. thumurls:
  18341. description: 缩略图
  18342. type: string
  18343. tradedate:
  18344. description: 交易日(yyyyMMdd)
  18345. type: string
  18346. tradeprice:
  18347. description: 成交价格
  18348. type: number
  18349. tradeqty:
  18350. description: 成交数量
  18351. type: number
  18352. tradetime:
  18353. description: 成交时间
  18354. type: string
  18355. userid:
  18356. description: 用户ID
  18357. type: integer
  18358. warehouseid:
  18359. description: 仓库ID
  18360. type: integer
  18361. warehousename:
  18362. description: 仓库名称
  18363. type: string
  18364. wrfactortypeid:
  18365. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18366. type: string
  18367. wrfactortypename:
  18368. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18369. type: string
  18370. wrstandardcode:
  18371. description: 现货商品代码
  18372. type: string
  18373. wrstandardid:
  18374. description: 现货商品ID
  18375. type: integer
  18376. wrstandardname:
  18377. description: 商品名称
  18378. type: string
  18379. wrtradedetailid:
  18380. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  18381. type: string
  18382. wrtradetype:
  18383. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18384. type: integer
  18385. wrtypename:
  18386. description: 商品
  18387. type: string
  18388. type: object
  18389. models.WrTradeOrderDetail:
  18390. properties:
  18391. buyorsell:
  18392. description: 买卖方向 0-买 1-卖
  18393. type: integer
  18394. goodsid:
  18395. description: 商品id
  18396. type: integer
  18397. orderid:
  18398. description: 委托单号
  18399. type: string
  18400. orderprice:
  18401. description: 委托价格
  18402. type: number
  18403. orderqty:
  18404. description: 委托数量
  18405. type: integer
  18406. userid:
  18407. description: 用户id
  18408. type: integer
  18409. username:
  18410. description: 用户名称(已脱敏)
  18411. type: string
  18412. type: object
  18413. models.WrTypeItem:
  18414. properties:
  18415. name:
  18416. description: 名称
  18417. type: string
  18418. value:
  18419. description: 值
  18420. type: string
  18421. type: object
  18422. models.WrUserFriend:
  18423. properties:
  18424. friendname:
  18425. description: 朋友名称(已脱敏)
  18426. type: string
  18427. frienduserid:
  18428. description: 朋友id
  18429. type: integer
  18430. isfriend:
  18431. description: 是否好友 0-不是 1-是
  18432. type: integer
  18433. userid:
  18434. description: 用户id
  18435. type: integer
  18436. type: object
  18437. models.WrUserReceiptInfo:
  18438. properties:
  18439. address:
  18440. description: 地址[发票类型:企业]
  18441. type: string
  18442. autoid:
  18443. description: AutoID
  18444. type: integer
  18445. contactinfo:
  18446. description: 联系方式
  18447. type: string
  18448. idnum:
  18449. description: 身份证号码[发票类型:个人]
  18450. type: string
  18451. isdefault:
  18452. description: 是否默认地址 - 0:否 1:是
  18453. type: integer
  18454. receiptaccount:
  18455. description: 发票帐号[发票类型:企业]
  18456. type: string
  18457. receiptbank:
  18458. description: 发票开户行[发票类型:企业]
  18459. type: string
  18460. receipttype:
  18461. description: 发票类型 - 1:个人 2:企业
  18462. type: integer
  18463. taxpayerid:
  18464. description: 纳税人识别号
  18465. type: string
  18466. userid:
  18467. description: 用户ID
  18468. type: integer
  18469. username:
  18470. description: 户名(个人姓名或企业名称)
  18471. type: string
  18472. type: object
  18473. models.XHBRAND:
  18474. properties:
  18475. brandid:
  18476. description: 品牌id
  18477. type: integer
  18478. brandname:
  18479. description: 品牌名称
  18480. type: string
  18481. isvalid:
  18482. description: 是否有效 0-无效 1-有效
  18483. type: integer
  18484. type: object
  18485. models.XHDeliveryGoods:
  18486. properties:
  18487. areauserid:
  18488. description: 所属机构
  18489. type: integer
  18490. bdlst:
  18491. description: 品牌列表
  18492. items:
  18493. $ref: '#/definitions/models.XHBRAND'
  18494. type: array
  18495. deliverygoodscode:
  18496. description: 现货品种代码
  18497. type: string
  18498. deliverygoodsid:
  18499. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18500. type: integer
  18501. deliverygoodsname:
  18502. description: 现货品种名称
  18503. type: string
  18504. dgstatus:
  18505. description: 品种状态 - 作废 - 0:未激活 1:正常
  18506. type: integer
  18507. filterSubEmpty:
  18508. description: 过滤下级为空的
  18509. type: integer
  18510. isvalid:
  18511. description: 是否有效 - 0:无效 1:有效
  18512. type: integer
  18513. remark:
  18514. description: 备注
  18515. type: string
  18516. unitid:
  18517. description: 单位id(目前看,数据库中是空值)
  18518. type: integer
  18519. wdlst:
  18520. description: 品类(现货商品)列表
  18521. items:
  18522. $ref: '#/definitions/models.XHWrstandard'
  18523. type: array
  18524. type: object
  18525. models.XHMiddleGoods:
  18526. properties:
  18527. GPLST:
  18528. description: 期货品种列表
  18529. items:
  18530. $ref: '#/definitions/models.TBGoodsGroup'
  18531. type: array
  18532. convertratio:
  18533. description: 拆算系数
  18534. type: number
  18535. costratio:
  18536. description: 成本权重
  18537. type: number
  18538. deliverygoodsid:
  18539. description: 现货商品id
  18540. type: integer
  18541. enumdicname:
  18542. description: 单位名称
  18543. type: string
  18544. middlegoodscode:
  18545. description: 套保品种代码
  18546. type: string
  18547. middlegoodsid:
  18548. description: 套保品种id
  18549. type: integer
  18550. middlegoodsname:
  18551. description: 套保品种名称
  18552. type: string
  18553. unitid:
  18554. description: 单位id
  18555. type: integer
  18556. type: object
  18557. models.XHWrstandard:
  18558. properties:
  18559. bannerpicurl:
  18560. description: banner图
  18561. type: string
  18562. deliverygoodsid:
  18563. description: 品种ID
  18564. type: integer
  18565. enumdicname:
  18566. description: 单位名称
  18567. type: string
  18568. mglst:
  18569. description: 套保品列表
  18570. items:
  18571. $ref: '#/definitions/models.XHMiddleGoods'
  18572. type: array
  18573. pictureurls:
  18574. description: 详情图片(逗号分隔)
  18575. type: string
  18576. thumurls:
  18577. description: 缩略图片(1:1)(逗号分隔)
  18578. type: string
  18579. unitid:
  18580. description: 单位id
  18581. type: integer
  18582. vatrate:
  18583. description: 增值税率
  18584. type: number
  18585. wrstandardcode:
  18586. description: 现货商品代码
  18587. type: string
  18588. wrstandardid:
  18589. description: 现货商品ID(SEQ_WRSTANDARD)
  18590. type: integer
  18591. wrstandardname:
  18592. description: 现货商品名称
  18593. type: string
  18594. type: object
  18595. models.XhcpSellBackApplyEx:
  18596. properties:
  18597. applyremark:
  18598. description: 申请备注
  18599. type: string
  18600. expirytype:
  18601. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18602. type: integer
  18603. goodsspec:
  18604. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18605. type: integer
  18606. holeflag:
  18607. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18608. type: integer
  18609. isunopened:
  18610. description: 是否原封 - 1:否 2:是
  18611. type: integer
  18612. mpflag:
  18613. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18614. type: integer
  18615. openflag:
  18616. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18617. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18618. type: integer
  18619. phonenum:
  18620. description: 联系电话
  18621. type: string
  18622. userid:
  18623. description: 所属用户ID
  18624. type: integer
  18625. zpflag:
  18626. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18627. type: integer
  18628. required:
  18629. - userid
  18630. type: object
  18631. models.Xhcpsellbackapply:
  18632. properties:
  18633. applyid:
  18634. description: 申请人
  18635. type: integer
  18636. applyremark:
  18637. description: 申请备注
  18638. type: string
  18639. applysrc:
  18640. description: 申请来源 - 1:管理端 2:终端
  18641. type: integer
  18642. applystatus:
  18643. description: 申请状态 - 1:待确认 2:已处理
  18644. type: integer
  18645. applytime:
  18646. description: 申请时间
  18647. type: string
  18648. auditremark:
  18649. description: 审核备注
  18650. type: string
  18651. auditsrc:
  18652. description: 审核来源 - 1:管理端 2:终端
  18653. type: integer
  18654. expirytype:
  18655. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18656. type: integer
  18657. goodsspec:
  18658. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18659. type: integer
  18660. holeflag:
  18661. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18662. type: integer
  18663. isunopened:
  18664. description: 是否原封 - 1:否 2:是
  18665. type: integer
  18666. mpflag:
  18667. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18668. type: integer
  18669. openflag:
  18670. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18671. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18672. type: integer
  18673. phonenum:
  18674. description: 联系电话
  18675. type: string
  18676. sellbackapplyid:
  18677. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  18678. type: string
  18679. userid:
  18680. description: 所属用户ID
  18681. type: integer
  18682. zpflag:
  18683. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18684. type: integer
  18685. required:
  18686. - userid
  18687. type: object
  18688. order.QueryHisTradeDetailRsp:
  18689. properties:
  18690. accountid:
  18691. description: 账户ID[报价币种]
  18692. type: integer
  18693. advanceratio:
  18694. description: 首付比率
  18695. type: number
  18696. buildtype:
  18697. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18698. type: integer
  18699. buyorsell:
  18700. description: 方向 - 0:买 1:卖
  18701. type: integer
  18702. charge:
  18703. description: 手续费
  18704. type: number
  18705. closecharge:
  18706. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18707. type: number
  18708. closeexchagechargevalue:
  18709. description: 平仓交易所手续费设置值
  18710. type: number
  18711. closefeealgorithm:
  18712. description: 平仓手续费收取方式 1:比率 2:固定
  18713. type: integer
  18714. closememberchargevalue:
  18715. description: 平仓会员手续费设置值
  18716. type: number
  18717. closepl:
  18718. description: 平仓盈亏
  18719. type: number
  18720. closepl2:
  18721. description: 平仓盈亏[逐笔]
  18722. type: number
  18723. closeqty:
  18724. description: 平仓数量(先建后平操作 需要记录)
  18725. type: number
  18726. creditamount:
  18727. description: 授信金额
  18728. type: number
  18729. decimalplace:
  18730. description: 商品报价小数位
  18731. type: integer
  18732. enumdicname:
  18733. description: 单位名称
  18734. type: string
  18735. gcaccountid:
  18736. description: 账户ID[合约币种]
  18737. type: integer
  18738. goodscode:
  18739. description: 商品代码
  18740. type: string
  18741. goodsid:
  18742. description: 商品ID
  18743. type: integer
  18744. goodsname:
  18745. description: 商品名称
  18746. type: string
  18747. goodunitid:
  18748. description: 商品单位id
  18749. type: integer
  18750. histradedate:
  18751. description: 历史交易日
  18752. type: string
  18753. intclosepl:
  18754. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18755. type: integer
  18756. isconfirmexercise:
  18757. description: 是否确认行权- 0:否 1:是
  18758. type: integer
  18759. ismain:
  18760. description: 是否主单 - 0:不是 1:是
  18761. type: integer
  18762. ispreexercise:
  18763. description: 是否预申报- 0:否 1:是
  18764. type: integer
  18765. isreckoned:
  18766. description: 是否结算 - 0:未结算 1:已结算
  18767. type: integer
  18768. isvaliddata:
  18769. description: 是否有效 - 0:无效 1:有效
  18770. type: integer
  18771. listingselecttype:
  18772. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18773. type: integer
  18774. marketid:
  18775. description: 市场ID
  18776. type: integer
  18777. marketname:
  18778. description: 市场名称
  18779. type: string
  18780. matchaccountid:
  18781. description: 对手账号id
  18782. type: integer
  18783. memberuserid:
  18784. description: 会员id 个人投资者 需要填写
  18785. type: integer
  18786. opencharge:
  18787. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18788. type: number
  18789. openexchagechargevalue:
  18790. description: 建仓交易所手续费设置值
  18791. type: number
  18792. openfeealgorithm:
  18793. description: 建仓手续费收取方式 1:比率 2:固定
  18794. type: integer
  18795. openmemberchargevalue:
  18796. description: 建仓会员手续费设置值
  18797. type: number
  18798. openqty:
  18799. description: 开仓数量(先建后平操作 需要记录)
  18800. type: number
  18801. optiontype:
  18802. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18803. type: integer
  18804. orderid:
  18805. description: 委托单号
  18806. type: string
  18807. payamount:
  18808. description: 支付金额(付款金额)
  18809. type: number
  18810. performanceplanid:
  18811. description: 履约计划ID[期权]
  18812. type: integer
  18813. performancestatus:
  18814. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18815. type: integer
  18816. preexerciseprice:
  18817. description: 预申报价格
  18818. type: number
  18819. premium:
  18820. description: 权利金 - [持仓单的权利金]
  18821. type: number
  18822. qtydecimalplace:
  18823. description: 商品报价小数位
  18824. type: integer
  18825. recvamount:
  18826. description: 到账金额 = 成交金额 - 手续费
  18827. type: number
  18828. relatedouttradeid:
  18829. description: 关联外部成交单ID
  18830. type: integer
  18831. status:
  18832. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18833. type: integer
  18834. totalamount:
  18835. description: 订单总额 = 成交金额 + 手续费
  18836. type: number
  18837. tradeamount:
  18838. description: 成交金额[账户币种,用于所有权]
  18839. type: number
  18840. tradedate:
  18841. description: 交易日(yyyyMMdd)
  18842. type: string
  18843. tradeid:
  18844. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18845. type: string
  18846. trademode:
  18847. description: 交易模式
  18848. type: integer
  18849. tradeprice:
  18850. description: 成交价格
  18851. type: number
  18852. tradeproperty:
  18853. description: 交易属性
  18854. type: integer
  18855. tradeqty:
  18856. description: 成交数量
  18857. type: number
  18858. tradetime:
  18859. description: 成交时间
  18860. type: string
  18861. tradetype:
  18862. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18863. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18864. type: integer
  18865. required:
  18866. - accountid
  18867. - buyorsell
  18868. - goodsid
  18869. - histradedate
  18870. - marketid
  18871. - memberuserid
  18872. - orderid
  18873. - tradeamount
  18874. - tradedate
  18875. - tradeid
  18876. - tradeprice
  18877. - tradeqty
  18878. - tradetime
  18879. type: object
  18880. order.QueryHisTradeOrderDetailRsp:
  18881. properties:
  18882. accountid:
  18883. description: 账户ID[报价币种]
  18884. type: integer
  18885. buildtype:
  18886. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18887. type: integer
  18888. buyorsell:
  18889. description: 买卖 - 0:买 1:卖
  18890. type: integer
  18891. cancelorderid:
  18892. description: 撤单单号(撤单时填写)
  18893. type: string
  18894. cancelqty:
  18895. description: 撤单数量
  18896. type: number
  18897. clientordertime:
  18898. description: 客户端委托时间
  18899. type: string
  18900. clientticket:
  18901. description: 客户端流水号
  18902. type: string
  18903. clienttype:
  18904. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18905. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18906. type: integer
  18907. closeexchagechargevalue:
  18908. description: 平仓交易所手续费设置值
  18909. type: number
  18910. closefeealgorithm:
  18911. description: 平仓手续费收取方式 1:比率 2:固定
  18912. type: integer
  18913. closefreezecharge:
  18914. description: 平仓冻结手续费(先建后平操作,需要记录)
  18915. type: number
  18916. closememberchargevalue:
  18917. description: 平仓会员手续费设置值
  18918. type: number
  18919. closeqty:
  18920. description: 平仓数量(先建后平操作 需要记录)
  18921. type: number
  18922. closetradeqty:
  18923. description: 平仓成交数量(先建后平操作,需要记录)
  18924. type: number
  18925. closeunfreezecharge:
  18926. description: 平仓解冻手续费(先建后平操作,需要记录)
  18927. type: number
  18928. decimalplace:
  18929. description: 商品报价小数位
  18930. type: integer
  18931. delistingtype:
  18932. description: 摘牌类型 - 1:价格最优 2:点选成交
  18933. type: integer
  18934. enumdicname:
  18935. description: 单位名称
  18936. type: string
  18937. freezecharge:
  18938. description: 冻结手续费
  18939. type: number
  18940. freezemargin:
  18941. description: 冻结保证金(冻结交易金额)
  18942. type: number
  18943. gcaccountid:
  18944. description: 账户ID[合约币种]
  18945. type: integer
  18946. goodscode:
  18947. description: 商品代码
  18948. type: string
  18949. goodsid:
  18950. description: 商品ID
  18951. type: integer
  18952. goodsname:
  18953. description: 商品名称
  18954. type: string
  18955. goodunitid:
  18956. description: 商品单位id
  18957. type: integer
  18958. histradedate:
  18959. description: 历史交易日
  18960. type: string
  18961. isconfirmexercise:
  18962. description: 是否确认行权- 0:否 1:是
  18963. type: integer
  18964. ispreexercise:
  18965. description: 是否预申报- 0:否 1:是
  18966. type: integer
  18967. isvaliddata:
  18968. description: 是否有效 - 0:无效 1:有效
  18969. type: integer
  18970. listingselecttype:
  18971. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18972. type: integer
  18973. marginalgorithm:
  18974. description: 保证金收取方式 1:比率 2:固定
  18975. type: integer
  18976. marginvalue:
  18977. description: 即市保证金设置值
  18978. type: number
  18979. marketid:
  18980. description: 市场ID
  18981. type: integer
  18982. marketmaxsub:
  18983. description: 市价最大偏移范围
  18984. type: number
  18985. marketname:
  18986. description: 市场名称
  18987. type: string
  18988. memberuserid:
  18989. description: 所属会员UserID
  18990. type: integer
  18991. openexchagechargevalue:
  18992. description: 建仓交易所手续费设置值
  18993. type: number
  18994. openfeealgorithm:
  18995. description: 建仓手续费收取方式 1:比率 2:固定
  18996. type: integer
  18997. openfreezecharge:
  18998. description: 开仓冻结手续费(先建后平操作,需要记录)
  18999. type: number
  19000. openmemberchargevalue:
  19001. description: 建仓会员手续费设置值
  19002. type: number
  19003. openqty:
  19004. description: 开仓数量(先建后平操作,需要记录)
  19005. type: number
  19006. opentradeqty:
  19007. description: 开仓成交数量(先建后平操作,需要记录)
  19008. type: number
  19009. openunfreezecharge:
  19010. description: 开仓解冻手续费(先建后平操作,需要记录)
  19011. type: number
  19012. operatetype:
  19013. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19014. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19015. 15:管理端协议转让
  19016. type: integer
  19017. operatorid:
  19018. description: 登录账号(LoginID)
  19019. type: integer
  19020. optiontype:
  19021. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19022. type: integer
  19023. orderid:
  19024. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19025. type: string
  19026. orderprice:
  19027. description: 委托价格
  19028. type: number
  19029. orderqty:
  19030. description: 委托数量
  19031. type: number
  19032. ordersrc:
  19033. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19034. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19035. type: integer
  19036. orderstatus:
  19037. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19038. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19039. 16:成交失败违约(荷兰式竞拍专用)
  19040. type: integer
  19041. ordertime:
  19042. description: 委托时间
  19043. type: string
  19044. preexerciseprice:
  19045. description: 预申报价格
  19046. type: number
  19047. premium:
  19048. description: 权利金
  19049. type: number
  19050. preorderid:
  19051. description: 关联预埋单号(止盈止损单时填写)
  19052. type: string
  19053. pricemode:
  19054. description: '取价方式 - 1:市价 2: 限价'
  19055. type: integer
  19056. qtydecimalplace:
  19057. description: 成交量小数位
  19058. type: integer
  19059. quoteid:
  19060. description: 报价单ID
  19061. type: integer
  19062. relatedid:
  19063. description: 关联单号(交割单)
  19064. type: string
  19065. retcode:
  19066. description: 错误代码
  19067. type: integer
  19068. sessionid:
  19069. description: 会话ID
  19070. type: integer
  19071. tradedate:
  19072. description: 交易日(yyyyMMdd)
  19073. type: string
  19074. trademode:
  19075. description: 交易模式
  19076. type: integer
  19077. tradeproperty:
  19078. description: 交易属性
  19079. type: integer
  19080. tradeqty:
  19081. description: 成交数量
  19082. type: number
  19083. unfreezecharge:
  19084. description: 解冻手续费
  19085. type: number
  19086. unfreezemargin:
  19087. description: 解冻保证金
  19088. type: number
  19089. updatetime:
  19090. description: 更新时间
  19091. type: string
  19092. uuid:
  19093. description: 发起端唯一id
  19094. type: string
  19095. validtime:
  19096. description: 有效期限
  19097. type: string
  19098. validtype:
  19099. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19100. type: integer
  19101. volumetype:
  19102. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19103. type: integer
  19104. required:
  19105. - accountid
  19106. - buildtype
  19107. - buyorsell
  19108. - goodsid
  19109. - histradedate
  19110. - marketid
  19111. - memberuserid
  19112. - operatetype
  19113. - orderid
  19114. - orderqty
  19115. - ordertime
  19116. - pricemode
  19117. - tradedate
  19118. - validtype
  19119. type: object
  19120. order.QueryTradeDetailRsp:
  19121. properties:
  19122. accountid:
  19123. description: 账户ID[报价币种]
  19124. type: integer
  19125. advanceratio:
  19126. description: 首付比率
  19127. type: number
  19128. buildtype:
  19129. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19130. type: integer
  19131. buyorsell:
  19132. description: 方向 - 0:买 1:卖
  19133. type: integer
  19134. charge:
  19135. description: 手续费
  19136. type: number
  19137. closecharge:
  19138. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19139. type: number
  19140. closeexchagechargevalue:
  19141. description: 平仓交易所手续费设置值
  19142. type: number
  19143. closefeealgorithm:
  19144. description: 平仓手续费收取方式 1:比率 2:固定
  19145. type: integer
  19146. closememberchargevalue:
  19147. description: 平仓会员手续费设置值
  19148. type: number
  19149. closepl:
  19150. description: 平仓盈亏
  19151. type: number
  19152. closepl2:
  19153. description: 平仓盈亏[逐笔]
  19154. type: number
  19155. closeqty:
  19156. description: 平仓数量(先建后平操作 需要记录)
  19157. type: number
  19158. creditamount:
  19159. description: 授信金额
  19160. type: number
  19161. decimalplace:
  19162. description: 商品报价小数位
  19163. type: integer
  19164. enumdicname:
  19165. description: 单位名称
  19166. type: string
  19167. gcaccountid:
  19168. description: 账户ID[合约币种]
  19169. type: integer
  19170. goodscode:
  19171. description: 商品代码
  19172. type: string
  19173. goodsid:
  19174. description: 商品ID
  19175. type: integer
  19176. goodsname:
  19177. description: 商品名称
  19178. type: string
  19179. goodunitid:
  19180. description: 商品单位id
  19181. type: integer
  19182. intclosepl:
  19183. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19184. type: integer
  19185. isconfirmexercise:
  19186. description: 是否确认行权- 0:否 1:是
  19187. type: integer
  19188. ismain:
  19189. description: 是否主单 - 0:不是 1:是
  19190. type: integer
  19191. ispreexercise:
  19192. description: 是否预申报- 0:否 1:是
  19193. type: integer
  19194. isreckoned:
  19195. description: 是否结算 - 0:未结算 1:已结算
  19196. type: integer
  19197. listingselecttype:
  19198. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19199. type: integer
  19200. marketid:
  19201. description: 市场ID
  19202. type: integer
  19203. marketname:
  19204. description: 市场名称
  19205. type: string
  19206. matchaccountid:
  19207. description: 对手账号id
  19208. type: integer
  19209. memberuserid:
  19210. description: 会员id 个人投资者 需要填写
  19211. type: integer
  19212. opencharge:
  19213. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19214. type: number
  19215. openexchagechargevalue:
  19216. description: 建仓交易所手续费设置值
  19217. type: number
  19218. openfeealgorithm:
  19219. description: 建仓手续费收取方式 1:比率 2:固定
  19220. type: integer
  19221. openmemberchargevalue:
  19222. description: 建仓会员手续费设置值
  19223. type: number
  19224. openqty:
  19225. description: 开仓数量(先建后平操作 需要记录)
  19226. type: number
  19227. optiontype:
  19228. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19229. type: integer
  19230. orderid:
  19231. description: 委托单号
  19232. type: string
  19233. payamount:
  19234. description: 支付金额(付款金额)
  19235. type: number
  19236. performanceplanid:
  19237. description: 履约计划ID[期权]
  19238. type: integer
  19239. performancestatus:
  19240. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19241. type: integer
  19242. preexerciseprice:
  19243. description: 预申报价格
  19244. type: number
  19245. premium:
  19246. description: 权利金 - [持仓单的权利金]
  19247. type: number
  19248. qtydecimalplace:
  19249. description: 商品报价小数位
  19250. type: integer
  19251. recvamount:
  19252. description: 到账金额 = 成交金额 - 手续费
  19253. type: number
  19254. relatedouttradeid:
  19255. description: 关联外部成交单ID
  19256. type: integer
  19257. status:
  19258. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19259. type: integer
  19260. totalamount:
  19261. description: 订单总额 = 成交金额 + 手续费
  19262. type: number
  19263. tradeamount:
  19264. description: 成交金额[账户币种,用于所有权]
  19265. type: number
  19266. tradedate:
  19267. description: 交易日(yyyyMMdd)
  19268. type: string
  19269. tradeid:
  19270. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19271. type: string
  19272. trademode:
  19273. description: 交易模式
  19274. type: integer
  19275. tradeprice:
  19276. description: 成交价格
  19277. type: number
  19278. tradeproperty:
  19279. description: 交易属性
  19280. type: integer
  19281. tradeqty:
  19282. description: 成交数量
  19283. type: number
  19284. tradetime:
  19285. description: 成交时间
  19286. type: string
  19287. tradetype:
  19288. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19289. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19290. type: integer
  19291. required:
  19292. - accountid
  19293. - buyorsell
  19294. - goodsid
  19295. - marketid
  19296. - memberuserid
  19297. - orderid
  19298. - tradeamount
  19299. - tradedate
  19300. - tradeid
  19301. - tradeprice
  19302. - tradeqty
  19303. - tradetime
  19304. type: object
  19305. order.QueryTradeOrderDetailRsp:
  19306. properties:
  19307. accountid:
  19308. description: 账户ID[报价币种]
  19309. type: integer
  19310. buildtype:
  19311. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19312. type: integer
  19313. buyorsell:
  19314. description: 买卖 - 0:买 1:卖
  19315. type: integer
  19316. cancelorderid:
  19317. description: 撤单单号(撤单时填写)
  19318. type: string
  19319. cancelqty:
  19320. description: 撤单数量
  19321. type: number
  19322. clienttype:
  19323. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19324. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19325. type: integer
  19326. closefreezecharge:
  19327. description: 平仓冻结手续费(先建后平操作,需要记录)
  19328. type: number
  19329. closeqty:
  19330. description: 平仓数量(先建后平操作 需要记录)
  19331. type: number
  19332. closetradeqty:
  19333. description: 平仓成交数量(先建后平操作,需要记录)
  19334. type: number
  19335. closeunfreezecharge:
  19336. description: 平仓解冻手续费(先建后平操作,需要记录)
  19337. type: number
  19338. decimalplace:
  19339. description: 商品报价小数位
  19340. type: integer
  19341. delistingtype:
  19342. description: 摘牌类型 - 1:价格最优 2:点选成交
  19343. type: integer
  19344. enableqty:
  19345. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  19346. type: number
  19347. enumdicname:
  19348. description: 单位名称
  19349. type: string
  19350. freezecharge:
  19351. description: 冻结手续费
  19352. type: number
  19353. freezemargin:
  19354. description: 冻结保证金(冻结交易金额)
  19355. type: number
  19356. goodscode:
  19357. description: 商品代码
  19358. type: string
  19359. goodsid:
  19360. description: 商品ID
  19361. type: integer
  19362. goodsname:
  19363. description: 商品名称
  19364. type: string
  19365. goodunitid:
  19366. description: 商品单位id
  19367. type: integer
  19368. listingselecttype:
  19369. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19370. type: integer
  19371. marketid:
  19372. description: 市场ID
  19373. type: integer
  19374. marketname:
  19375. description: 市场名称
  19376. type: string
  19377. openfreezecharge:
  19378. description: 开仓冻结手续费(先建后平操作,需要记录)
  19379. type: number
  19380. openqty:
  19381. description: 开仓数量(先建后平操作,需要记录)
  19382. type: number
  19383. opentradeqty:
  19384. description: 开仓成交数量(先建后平操作,需要记录)
  19385. type: number
  19386. openunfreezecharge:
  19387. description: 开仓解冻手续费(先建后平操作,需要记录)
  19388. type: number
  19389. operatetype:
  19390. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19391. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19392. 15:管理端协议转让
  19393. type: integer
  19394. operatorid:
  19395. description: 登录账号(LoginID)
  19396. type: integer
  19397. orderid:
  19398. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19399. type: string
  19400. orderprice:
  19401. description: 委托价格
  19402. type: number
  19403. orderqty:
  19404. description: 委托数量
  19405. type: number
  19406. ordersrc:
  19407. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19408. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19409. type: integer
  19410. orderstatus:
  19411. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19412. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19413. 16:成交失败违约(荷兰式竞拍专用)
  19414. type: integer
  19415. ordertime:
  19416. description: 委托时间
  19417. type: string
  19418. preorderid:
  19419. description: 关联预埋单号(止盈止损单时填写)
  19420. type: string
  19421. pricemode:
  19422. description: '取价方式 - 1:市价 2: 限价'
  19423. type: integer
  19424. qtydecimalplace:
  19425. description: 商品报价小数位
  19426. type: integer
  19427. relatedid:
  19428. description: 关联单号(交割单)
  19429. type: string
  19430. tradedate:
  19431. description: 交易日(yyyyMMdd)
  19432. type: string
  19433. trademode:
  19434. description: 交易模式
  19435. type: integer
  19436. tradeqty:
  19437. description: 成交数量
  19438. type: number
  19439. unfreezecharge:
  19440. description: 解冻手续费
  19441. type: number
  19442. unfreezemargin:
  19443. description: 解冻保证金
  19444. type: number
  19445. validtime:
  19446. description: 有效期限
  19447. type: string
  19448. validtype:
  19449. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19450. type: integer
  19451. volumetype:
  19452. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19453. type: integer
  19454. required:
  19455. - accountid
  19456. - buildtype
  19457. - buyorsell
  19458. - goodsid
  19459. - marketid
  19460. - operatetype
  19461. - orderqty
  19462. - ordertime
  19463. - pricemode
  19464. - tradedate
  19465. - validtype
  19466. type: object
  19467. order.QueryTradePositionRsp:
  19468. properties:
  19469. accountid:
  19470. description: 资金账户
  19471. type: integer
  19472. agreeunit:
  19473. description: 合约单位
  19474. type: number
  19475. averageprice:
  19476. description: 持仓均价
  19477. type: number
  19478. buyorsell:
  19479. description: 方向 - 0:买 1:卖
  19480. type: integer
  19481. closetotalqty:
  19482. description: 平仓总数量
  19483. type: number
  19484. curholderamount:
  19485. description: 当前持仓总金额[商品币种]
  19486. type: number
  19487. curpositionqty:
  19488. description: 当前持仓总数量
  19489. type: number
  19490. currencyid:
  19491. description: 报价货币ID
  19492. type: integer
  19493. curtdposition:
  19494. description: 期末今日头寸
  19495. type: number
  19496. decimalplace:
  19497. description: 报价小数位
  19498. type: integer
  19499. enableqty:
  19500. description: 可用量
  19501. type: number
  19502. fretdposition:
  19503. description: 冻结今日头寸
  19504. type: number
  19505. frozenqty:
  19506. description: 持仓冻结数量
  19507. type: number
  19508. goodscode:
  19509. description: 商品代码
  19510. type: string
  19511. goodsid:
  19512. description: 商品Id
  19513. type: integer
  19514. goodsname:
  19515. description: 商品名称
  19516. type: string
  19517. goodunit:
  19518. description: 报价单位
  19519. type: string
  19520. goodunitid:
  19521. description: 报价单位ID
  19522. type: integer
  19523. holderamount:
  19524. description: 期初持仓总金额[商品币种]
  19525. type: number
  19526. lastprice:
  19527. description: 最新价
  19528. type: number
  19529. marketamount:
  19530. description: 市值
  19531. type: number
  19532. marketid:
  19533. description: 所属市场ID
  19534. type: integer
  19535. openreqqty:
  19536. description: 开仓申请数量(用于比较最大持仓数量)
  19537. type: number
  19538. opentotalqty:
  19539. description: 开仓总数量
  19540. type: number
  19541. otherfrozenqty:
  19542. description: 持仓其他冻结数量(交割冻结)
  19543. type: number
  19544. positionpl:
  19545. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  19546. * 合约单位
  19547. type: number
  19548. positionplrate:
  19549. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  19550. type: number
  19551. positionqty:
  19552. description: 期初持仓数量
  19553. type: number
  19554. qtydecimalplace:
  19555. description: 成交量小数位
  19556. type: integer
  19557. refgoodscode:
  19558. description: 参考商品代码
  19559. type: string
  19560. refgoodsid:
  19561. description: 参考商品ID
  19562. type: integer
  19563. tnqty:
  19564. description: T+N冻结总量
  19565. type: number
  19566. tnusedqty:
  19567. description: T+N使用量(可以使用T+N的冻结数量)
  19568. type: number
  19569. trademode:
  19570. description: 交易模式
  19571. type: integer
  19572. tradeproperty:
  19573. description: 交易属性
  19574. type: integer
  19575. usedmargin:
  19576. description: 占用保证金[商品币种]
  19577. type: number
  19578. required:
  19579. - goodsid
  19580. type: object
  19581. pb.GoodsMarginCfgStruct:
  19582. properties:
  19583. CustomerTypeID:
  19584. description: 投资者客户类型
  19585. type: integer
  19586. GoodsID:
  19587. description: 商品ID
  19588. type: integer
  19589. IsDefault:
  19590. description: 是否默认标志位
  19591. type: integer
  19592. LockMarginValue:
  19593. description: 锁仓保证金
  19594. type: number
  19595. MarginAlgorithm:
  19596. description: 保证金计算方式
  19597. type: integer
  19598. MarketMarginValue:
  19599. description: 即市保证金值
  19600. type: number
  19601. RealMarginAlgorithm:
  19602. description: 实付保证金计算方式
  19603. type: integer
  19604. RealMarginValue:
  19605. description: 实付比例
  19606. type: number
  19607. ReckonMarginValue:
  19608. description: 结算保证金值
  19609. type: number
  19610. type: object
  19611. quote.HistoryData:
  19612. properties:
  19613. c:
  19614. description: 收盘价
  19615. type: number
  19616. f:
  19617. description: 是否补充数据
  19618. type: boolean
  19619. h:
  19620. description: 最高价
  19621. type: number
  19622. hv:
  19623. description: 持仓量
  19624. type: integer
  19625. l:
  19626. description: 最低价
  19627. type: number
  19628. o:
  19629. description: 开盘价
  19630. type: number
  19631. s:
  19632. description: 结算价,日线周期(包括)以上才有
  19633. type: number
  19634. ts:
  19635. description: 时间
  19636. type: string
  19637. tt:
  19638. description: 总金额
  19639. type: number
  19640. tv:
  19641. description: 总量(成交量)
  19642. type: integer
  19643. type: object
  19644. quote.HistoryTikData:
  19645. properties:
  19646. AV:
  19647. description: 卖量
  19648. type: integer
  19649. Ask:
  19650. description: 卖价
  19651. type: number
  19652. BV:
  19653. description: 买量
  19654. type: integer
  19655. Bid:
  19656. description: 买价
  19657. type: number
  19658. HI:
  19659. description: 单笔持仓
  19660. type: integer
  19661. HV:
  19662. description: 持仓量
  19663. type: integer
  19664. PE:
  19665. description: 现价
  19666. type: number
  19667. TDR:
  19668. description: 交易方向,0:买 1:卖
  19669. type: integer
  19670. TK:
  19671. description: 交易类型
  19672. type: integer
  19673. TS:
  19674. description: 行情时间文本
  19675. type: string
  19676. TT:
  19677. description: 现金额
  19678. type: number
  19679. Vol:
  19680. description: 现量
  19681. type: integer
  19682. type: object
  19683. quote.QueryQuoteDayRsp:
  19684. properties:
  19685. ask:
  19686. description: 卖1
  19687. type: number
  19688. ask2:
  19689. description: 卖2
  19690. type: number
  19691. ask3:
  19692. description: 卖3
  19693. type: number
  19694. ask4:
  19695. description: 卖4
  19696. type: number
  19697. ask5:
  19698. description: 卖5
  19699. type: number
  19700. ask6:
  19701. description: 卖6
  19702. type: number
  19703. ask7:
  19704. description: 卖7
  19705. type: number
  19706. ask8:
  19707. description: 卖8
  19708. type: number
  19709. ask9:
  19710. description: 卖9
  19711. type: number
  19712. ask10:
  19713. description: 卖10
  19714. type: number
  19715. askorderid:
  19716. description: 卖单号1
  19717. type: integer
  19718. askorderid2:
  19719. description: 卖单号2
  19720. type: integer
  19721. askorderid3:
  19722. description: 卖单号3
  19723. type: integer
  19724. askorderid4:
  19725. description: 卖单号4
  19726. type: integer
  19727. askorderid5:
  19728. description: 卖单号5
  19729. type: integer
  19730. askordervolume:
  19731. description: 卖单量1
  19732. type: integer
  19733. askordervolume2:
  19734. description: 卖单量2
  19735. type: integer
  19736. askordervolume3:
  19737. description: 卖单量3
  19738. type: integer
  19739. askordervolume4:
  19740. description: 卖单量4
  19741. type: integer
  19742. askordervolume5:
  19743. description: 卖单量5
  19744. type: integer
  19745. askordervolume6:
  19746. description: 卖单量6
  19747. type: integer
  19748. askordervolume7:
  19749. description: 卖单量7
  19750. type: integer
  19751. askordervolume8:
  19752. description: 卖单量8
  19753. type: integer
  19754. askordervolume9:
  19755. description: 卖单量9
  19756. type: integer
  19757. askordervolume10:
  19758. description: 卖单量10
  19759. type: integer
  19760. askqueueinfo:
  19761. description: 大利市卖港股用
  19762. type: string
  19763. askvolume:
  19764. description: 卖量1
  19765. type: integer
  19766. askvolume2:
  19767. description: 卖量2
  19768. type: integer
  19769. askvolume3:
  19770. description: 卖量3
  19771. type: integer
  19772. askvolume4:
  19773. description: 卖量4
  19774. type: integer
  19775. askvolume5:
  19776. description: 卖量5
  19777. type: integer
  19778. askvolume6:
  19779. description: 卖量6
  19780. type: integer
  19781. askvolume7:
  19782. description: 卖量7
  19783. type: integer
  19784. askvolume8:
  19785. description: 卖量8
  19786. type: integer
  19787. askvolume9:
  19788. description: 卖量9
  19789. type: integer
  19790. askvolume10:
  19791. description: 卖量10
  19792. type: integer
  19793. averageprice:
  19794. description: 均价
  19795. type: number
  19796. bid:
  19797. description: 买1
  19798. type: number
  19799. bid2:
  19800. description: 买2
  19801. type: number
  19802. bid3:
  19803. description: 买3
  19804. type: number
  19805. bid4:
  19806. description: 买4
  19807. type: number
  19808. bid5:
  19809. description: 买5
  19810. type: number
  19811. bid6:
  19812. description: 买6
  19813. type: number
  19814. bid7:
  19815. description: 买7
  19816. type: number
  19817. bid8:
  19818. description: 买8
  19819. type: number
  19820. bid9:
  19821. description: 买9
  19822. type: number
  19823. bid10:
  19824. description: 买10
  19825. type: number
  19826. bidorderid:
  19827. description: 买单号1
  19828. type: integer
  19829. bidorderid2:
  19830. description: 买单号2
  19831. type: integer
  19832. bidorderid3:
  19833. description: 买单号3
  19834. type: integer
  19835. bidorderid4:
  19836. description: 买单号4
  19837. type: integer
  19838. bidorderid5:
  19839. description: 买单号5
  19840. type: integer
  19841. bidordervolume:
  19842. description: 买单量1
  19843. type: integer
  19844. bidordervolume2:
  19845. description: 买单量2
  19846. type: integer
  19847. bidordervolume3:
  19848. description: 买单量3
  19849. type: integer
  19850. bidordervolume4:
  19851. description: 买单量4
  19852. type: integer
  19853. bidordervolume5:
  19854. description: 买单量5
  19855. type: integer
  19856. bidordervolume6:
  19857. description: 买单量6
  19858. type: integer
  19859. bidordervolume7:
  19860. description: 买单量7
  19861. type: integer
  19862. bidordervolume8:
  19863. description: 买单量8
  19864. type: integer
  19865. bidordervolume9:
  19866. description: 买单量9
  19867. type: integer
  19868. bidordervolume10:
  19869. description: 买单量10
  19870. type: integer
  19871. bidqueueinfo:
  19872. description: 大利市买港股用
  19873. type: string
  19874. bidvolume:
  19875. description: 买量1
  19876. type: integer
  19877. bidvolume2:
  19878. description: 买量2
  19879. type: integer
  19880. bidvolume3:
  19881. description: 买量3
  19882. type: integer
  19883. bidvolume4:
  19884. description: 买量4
  19885. type: integer
  19886. bidvolume5:
  19887. description: 买量5
  19888. type: integer
  19889. bidvolume6:
  19890. description: 买量6
  19891. type: integer
  19892. bidvolume7:
  19893. description: 买量7
  19894. type: integer
  19895. bidvolume8:
  19896. description: 买量8
  19897. type: integer
  19898. bidvolume9:
  19899. description: 买量9
  19900. type: integer
  19901. bidvolume10:
  19902. description: 买量10
  19903. type: integer
  19904. calloptionpremiums:
  19905. description: 认购期权1
  19906. type: integer
  19907. calloptionpremiums2:
  19908. description: 认购期权2
  19909. type: integer
  19910. calloptionpremiums3:
  19911. description: 认购期权3
  19912. type: integer
  19913. calloptionpremiums4:
  19914. description: 认购期权4
  19915. type: integer
  19916. calloptionpremiums5:
  19917. description: 认购期权5
  19918. type: integer
  19919. cleartime:
  19920. description: 清盘时间
  19921. type: integer
  19922. exchangecode:
  19923. description: 交易所代码
  19924. type: integer
  19925. exchangedate:
  19926. description: 交易日
  19927. type: integer
  19928. goodscode:
  19929. description: 商品代码
  19930. type: string
  19931. grepmarketprice:
  19932. description: 暗盘价 港股专用
  19933. type: number
  19934. highest:
  19935. description: 最高价
  19936. type: number
  19937. holdincrement:
  19938. description: 单笔持仓
  19939. type: integer
  19940. holdvolume:
  19941. description: 持仓
  19942. type: integer
  19943. iep:
  19944. description: 平衡价 港股专用
  19945. type: number
  19946. iev:
  19947. description: 平衡量 港股专用
  19948. type: number
  19949. inventory:
  19950. description: 库存
  19951. type: integer
  19952. iscleared:
  19953. description: 是否清盘标志
  19954. type: integer
  19955. issettled:
  19956. description: 是否结算标志
  19957. type: integer
  19958. last:
  19959. description: 最新价
  19960. type: number
  19961. lastlot:
  19962. description: 最新成交手数
  19963. type: integer
  19964. lasttime:
  19965. description: 行情时间(只有现价变化行情时间才变化)
  19966. type: string
  19967. lastturnover:
  19968. description: 最新成交金额
  19969. type: number
  19970. lastvolume:
  19971. description: 最新成交量
  19972. type: integer
  19973. limitdown:
  19974. description: 跌停价
  19975. type: number
  19976. limitup:
  19977. description: 涨停价
  19978. type: number
  19979. lowest:
  19980. description: 最低价
  19981. type: number
  19982. nontotalholdervolume:
  19983. description: 非交易持仓量
  19984. type: integer
  19985. nontotallot:
  19986. description: 非交易总手数
  19987. type: integer
  19988. nontotalturnover:
  19989. description: 非交易总金额
  19990. type: integer
  19991. nontotalvolume:
  19992. description: 非交易总量
  19993. type: integer
  19994. opened:
  19995. description: 开盘价
  19996. type: number
  19997. opentime:
  19998. description: 开盘时间
  19999. type: string
  20000. orderid:
  20001. description: 序号
  20002. type: integer
  20003. preclose:
  20004. description: 昨收
  20005. type: number
  20006. preholdvolume:
  20007. description: 昨持仓
  20008. type: integer
  20009. presettle:
  20010. description: 昨结价
  20011. type: number
  20012. publictradetype:
  20013. description: 公共交易标志类型 港股专用
  20014. type: string
  20015. putoptionpremiums:
  20016. description: 认沽期权1
  20017. type: integer
  20018. putoptionpremiums2:
  20019. description: 认沽期权2
  20020. type: integer
  20021. putoptionpremiums3:
  20022. description: 认沽期权3
  20023. type: integer
  20024. putoptionpremiums4:
  20025. description: 认沽期权4
  20026. type: integer
  20027. putoptionpremiums5:
  20028. description: 认沽期权5
  20029. type: integer
  20030. settle:
  20031. description: 结算价
  20032. type: number
  20033. strikeprice:
  20034. description: 发行价
  20035. type: number
  20036. totalaskvolume:
  20037. description: 内盘
  20038. type: integer
  20039. totalbidvolume:
  20040. description: 外盘
  20041. type: integer
  20042. totallot:
  20043. description: 总手数
  20044. type: integer
  20045. totalturnover:
  20046. description: 总金额
  20047. type: number
  20048. totalvolume:
  20049. description: 总量
  20050. type: integer
  20051. utclasttime:
  20052. description: utc的行情时间
  20053. type: string
  20054. type: object
  20055. quote.QueryTSDataRsp:
  20056. properties:
  20057. Count:
  20058. description: 交易日应有数据个数
  20059. type: integer
  20060. decimalPlace:
  20061. description: 小数位
  20062. type: integer
  20063. endTime:
  20064. description: 结束时间
  20065. type: string
  20066. goodsCode:
  20067. description: 商品代码
  20068. type: string
  20069. historyDatas:
  20070. description: 历史数据
  20071. items:
  20072. $ref: '#/definitions/quote.HistoryData'
  20073. type: array
  20074. outGoodsCode:
  20075. description: 外部商品代码
  20076. type: string
  20077. preSettle:
  20078. description: 昨结价
  20079. type: number
  20080. runSteps:
  20081. description: 交易日开休市计划
  20082. items:
  20083. $ref: '#/definitions/quote.TSDataRunStep'
  20084. type: array
  20085. startTime:
  20086. description: 开始时间
  20087. type: string
  20088. tradeDate:
  20089. description: 交易日
  20090. type: string
  20091. type: object
  20092. quote.TSDataRunStep:
  20093. properties:
  20094. end:
  20095. description: 真实结束时间
  20096. type: string
  20097. endflag:
  20098. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  20099. type: integer
  20100. endtime:
  20101. description: 结束时间(HH:mm)
  20102. type: string
  20103. endweekday:
  20104. description: 结束周几
  20105. type: integer
  20106. groupid:
  20107. description: 分组ID
  20108. type: integer
  20109. runstep:
  20110. description: 运行阶段 - 2:连续交易
  20111. type: integer
  20112. sectionid:
  20113. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  20114. 结束时间=结算时间 结束周几=结算周几
  20115. type: integer
  20116. start:
  20117. description: 真实开始时间
  20118. type: string
  20119. startflag:
  20120. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  20121. type: integer
  20122. starttime:
  20123. description: 起始时间(HH:mm)
  20124. type: string
  20125. startweekday:
  20126. description: 起始周几
  20127. type: integer
  20128. tradeweekday:
  20129. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  20130. type: integer
  20131. type: object
  20132. szdz.QueryConvertLogRsp:
  20133. properties:
  20134. accountid:
  20135. description: 资金账户ID
  20136. type: integer
  20137. clientticket:
  20138. description: 客户端流水号
  20139. type: string
  20140. converttype:
  20141. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  20142. type: integer
  20143. createtime:
  20144. description: 记账时间
  20145. type: string
  20146. daymaxvalue:
  20147. description: 配置当日最大转入限制
  20148. type: number
  20149. daymaxvalue2:
  20150. description: 配置当日最大转入限制(转入)
  20151. type: number
  20152. goodscode:
  20153. description: 商品代码
  20154. type: string
  20155. goodsname:
  20156. description: 商品名称
  20157. type: string
  20158. handlestatus:
  20159. description: 处理状态
  20160. type: integer
  20161. innergoodsid:
  20162. description: 内部商品ID
  20163. type: integer
  20164. inratio:
  20165. description: 配置转入比值
  20166. type: integer
  20167. invalue:
  20168. description: 目标值
  20169. type: number
  20170. logid:
  20171. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20172. type: integer
  20173. mobile:
  20174. description: 手机号码(加密存储)
  20175. type: string
  20176. outergoodscode:
  20177. description: 外部商品代码[JD\PD]
  20178. type: string
  20179. outratio:
  20180. description: 配置转出比值
  20181. type: integer
  20182. outvalue:
  20183. description: 源值
  20184. type: number
  20185. pddecimalplace:
  20186. description: PD小数位
  20187. type: integer
  20188. qty:
  20189. description: 数量
  20190. type: string
  20191. remark:
  20192. description: 备注
  20193. type: string
  20194. sessionid:
  20195. description: 会话ID
  20196. type: integer
  20197. timemaxvalue:
  20198. description: 配置单次最大转入限制
  20199. type: number
  20200. timemaxvalue2:
  20201. description: 配置单次最大转入限制(转入)
  20202. type: number
  20203. timeminvalue:
  20204. description: 配置单次最小数量限制
  20205. type: number
  20206. timeminvalue2:
  20207. description: 配置单次最小数量限制(转入)
  20208. type: number
  20209. tradedate:
  20210. description: 交易日(yyyyMMdd)
  20211. type: string
  20212. userid:
  20213. description: 用户ID
  20214. type: integer
  20215. required:
  20216. - logid
  20217. type: object
  20218. szdz.QueryGoodsPickupRsp:
  20219. properties:
  20220. accountid:
  20221. description: 账户ID
  20222. type: integer
  20223. address:
  20224. description: 提货人详细地址
  20225. type: string
  20226. auditer:
  20227. description: 审核人
  20228. type: integer
  20229. audittime:
  20230. description: 审核时间
  20231. type: string
  20232. cardnum:
  20233. description: 提货人证件号码
  20234. type: string
  20235. cardtypeid:
  20236. description: 提货人证件类型
  20237. type: integer
  20238. checkremark:
  20239. description: 审核备注
  20240. type: string
  20241. goodscode:
  20242. description: 商品代码
  20243. type: string
  20244. goodsid:
  20245. description: 商品ID
  20246. type: integer
  20247. goodsname:
  20248. description: 商品名称
  20249. type: string
  20250. handlestatus:
  20251. description: 处理状态
  20252. type: integer
  20253. marketid:
  20254. description: 市场ID
  20255. type: integer
  20256. phonenum:
  20257. description: 提货人联系方式
  20258. type: string
  20259. qty:
  20260. description: 提货数量
  20261. type: number
  20262. recivername:
  20263. description: 提货人姓名
  20264. type: string
  20265. reqtime:
  20266. description: 更新时间
  20267. type: string
  20268. takemode:
  20269. description: 提货方式 - 2:自提 3:配送
  20270. type: integer
  20271. takeorderid:
  20272. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  20273. type: string
  20274. takeorderstatus:
  20275. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20276. type: integer
  20277. takeremark:
  20278. description: 提货备注
  20279. type: string
  20280. tradedate:
  20281. description: 交易日(yyyyMMdd)
  20282. type: string
  20283. userid:
  20284. description: 用户ID
  20285. type: integer
  20286. required:
  20287. - takeorderid
  20288. type: object
  20289. szdz.QueryRecieptOrderRsp:
  20290. properties:
  20291. accountName:
  20292. description: 所属账号名称(已脱敏)
  20293. type: string
  20294. accountid:
  20295. description: 资金账号
  20296. type: integer
  20297. buyorsell:
  20298. description: 方向 - 0:买 1:卖
  20299. type: integer
  20300. enableqty:
  20301. description: 可摘数量
  20302. type: integer
  20303. goodscode:
  20304. description: 商品代码
  20305. type: string
  20306. goodsid:
  20307. description: 商品ID
  20308. type: integer
  20309. goodsname:
  20310. description: 商品名称
  20311. type: string
  20312. orderid:
  20313. description: 委托单号
  20314. type: string
  20315. orderprice:
  20316. description: 委托价格
  20317. type: number
  20318. ordertime:
  20319. description: 委托时间
  20320. type: string
  20321. tradedate:
  20322. description: 交易日(yyyyMMdd)
  20323. type: string
  20324. required:
  20325. - ordertime
  20326. type: object
  20327. szdz.QuerySZDZTradePositionRsp:
  20328. properties:
  20329. accountid:
  20330. description: 账号Id
  20331. type: integer
  20332. agreeunit:
  20333. description: 合约单位
  20334. type: number
  20335. averageprice:
  20336. description: 持仓均价
  20337. type: number
  20338. buyorsell:
  20339. description: 方向 - 0:买 1:卖
  20340. type: integer
  20341. closetotalqty:
  20342. description: 平仓总数量
  20343. type: integer
  20344. curholderamount:
  20345. description: 当前持仓总金额
  20346. type: number
  20347. curpositionqty:
  20348. description: 当前持仓总数量
  20349. type: integer
  20350. currencyid:
  20351. description: 报价货币ID
  20352. type: integer
  20353. curtdposition:
  20354. description: 期末今日头寸
  20355. type: integer
  20356. decimalplace:
  20357. description: 报价小数位
  20358. type: integer
  20359. enableqty:
  20360. description: 可用量
  20361. type: integer
  20362. fretdposition:
  20363. description: 冻结今日头寸
  20364. type: integer
  20365. frozenqty:
  20366. description: 持仓冻结数量
  20367. type: integer
  20368. goodscode:
  20369. description: 商品代码(内部)
  20370. type: string
  20371. goodsid:
  20372. description: 商品Id
  20373. type: integer
  20374. goodsname:
  20375. description: 商品名称
  20376. type: string
  20377. goodunit:
  20378. description: 报价单位
  20379. type: string
  20380. goodunitid:
  20381. description: 报价单位ID
  20382. type: integer
  20383. holderamount:
  20384. description: 期初持仓总金额
  20385. type: number
  20386. marketid:
  20387. description: 市场ID
  20388. type: integer
  20389. openreqqty:
  20390. description: 开仓申请数量
  20391. type: integer
  20392. opentotalqty:
  20393. description: 开仓总数量
  20394. type: integer
  20395. otherfrozenqty:
  20396. description: 持仓其他冻结数量(交割冻结)
  20397. type: integer
  20398. positionqty:
  20399. description: 期初持仓数量
  20400. type: integer
  20401. szdz3freezqty:
  20402. description: 尚志大宗转换冻结总数量
  20403. type: integer
  20404. tnqty:
  20405. description: T+N冻结总量
  20406. type: integer
  20407. tnusedqty:
  20408. description: T+N使用量
  20409. type: integer
  20410. trademode:
  20411. description: 交易模式
  20412. type: integer
  20413. usedmargin:
  20414. description: 占用保证金
  20415. type: number
  20416. type: object
  20417. taaccount.QueryAmountLogRsp:
  20418. properties:
  20419. OPERATETYPENAME:
  20420. description: 资金操作类型名称
  20421. type: string
  20422. accountid:
  20423. description: 资金账户ID
  20424. type: integer
  20425. agoodscode:
  20426. description: 竞拍商品代码
  20427. type: string
  20428. agoodsname:
  20429. description: 竞拍商品名称
  20430. type: string
  20431. amount:
  20432. description: 资金金额
  20433. type: number
  20434. amountadjusttype:
  20435. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20436. type: integer
  20437. autoid:
  20438. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20439. type: integer
  20440. balance:
  20441. description: 期初余额
  20442. type: number
  20443. businesscode:
  20444. description: 业务编号
  20445. type: integer
  20446. createtime:
  20447. description: 发生时间
  20448. type: string
  20449. currencyid:
  20450. description: 币种ID
  20451. type: integer
  20452. currentbalance:
  20453. description: 期末余额(变动后金额)
  20454. type: number
  20455. dgoodscode:
  20456. description: 交割商品代码
  20457. type: string
  20458. dgoodsname:
  20459. description: 交割商品名称
  20460. type: string
  20461. goodscode:
  20462. description: 商品代码
  20463. type: string
  20464. goodsid:
  20465. description: 商品ID
  20466. type: integer
  20467. goodsname:
  20468. description: 商品名称
  20469. type: string
  20470. marketid:
  20471. description: 市场ID
  20472. type: integer
  20473. marketname:
  20474. description: 市场名称
  20475. type: string
  20476. moneyticket:
  20477. description: 资金流水号:银行端流水号
  20478. type: integer
  20479. operatetype:
  20480. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20481. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20482. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20483. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20484. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20485. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20486. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20487. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20488. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20489. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20490. type: integer
  20491. relationorderid:
  20492. description: 关联单号
  20493. type: string
  20494. remark:
  20495. description: 备注
  20496. type: string
  20497. trademode:
  20498. description: 交易模式
  20499. type: integer
  20500. required:
  20501. - accountid
  20502. - amount
  20503. - amountadjusttype
  20504. - autoid
  20505. - balance
  20506. - createtime
  20507. - currentbalance
  20508. - operatetype
  20509. type: object
  20510. taaccount.QueryHisAmountLogRsp:
  20511. properties:
  20512. OPERATETYPENAME:
  20513. description: 资金操作类型名称
  20514. type: string
  20515. accountid:
  20516. description: 资金账户ID
  20517. type: integer
  20518. agoodscode:
  20519. description: 竞拍商品代码
  20520. type: string
  20521. agoodsname:
  20522. description: 竞拍商品名称
  20523. type: string
  20524. amount:
  20525. description: 资金金额
  20526. type: number
  20527. amountadjusttype:
  20528. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20529. type: integer
  20530. autoid:
  20531. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20532. type: integer
  20533. balance:
  20534. description: 期初余额
  20535. type: number
  20536. businesscode:
  20537. description: 业务编号
  20538. type: integer
  20539. createtime:
  20540. description: 发生时间
  20541. type: string
  20542. currencyid:
  20543. description: 币种ID
  20544. type: integer
  20545. currentbalance:
  20546. description: 期末余额(变动后金额)
  20547. type: number
  20548. dgoodscode:
  20549. description: 交割商品代码
  20550. type: string
  20551. dgoodsname:
  20552. description: 交割商品名称
  20553. type: string
  20554. goodscode:
  20555. description: 商品代码
  20556. type: string
  20557. goodsid:
  20558. description: 商品ID
  20559. type: integer
  20560. goodsname:
  20561. description: 商品名称
  20562. type: string
  20563. histradedate:
  20564. description: 历史交易日
  20565. type: string
  20566. isvaliddata:
  20567. description: 是否有效 - 0:无效 1:有效
  20568. type: integer
  20569. marketid:
  20570. description: 市场ID
  20571. type: integer
  20572. marketname:
  20573. description: 市场名称
  20574. type: string
  20575. moneyticket:
  20576. description: 资金流水号:银行端流水号
  20577. type: integer
  20578. operatetype:
  20579. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20580. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20581. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20582. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20583. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20584. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20585. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20586. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20587. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20588. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20589. type: integer
  20590. relationorderid:
  20591. description: 关联单号
  20592. type: string
  20593. remark:
  20594. description: 备注
  20595. type: string
  20596. trademode:
  20597. description: 交易模式
  20598. type: integer
  20599. required:
  20600. - accountid
  20601. - amount
  20602. - amountadjusttype
  20603. - autoid
  20604. - balance
  20605. - createtime
  20606. - currentbalance
  20607. - histradedate
  20608. - operatetype
  20609. type: object
  20610. trade.QueryRecieptOrderRsp:
  20611. properties:
  20612. accountName:
  20613. description: 所属账号名称(已脱敏)
  20614. type: string
  20615. accountid:
  20616. description: 资金账号
  20617. type: integer
  20618. buyorsell:
  20619. description: 方向 - 0:买 1:卖
  20620. type: integer
  20621. enableqty:
  20622. description: 可摘数量
  20623. type: integer
  20624. goodscode:
  20625. description: 商品代码
  20626. type: string
  20627. goodsid:
  20628. description: 商品ID
  20629. type: integer
  20630. goodsname:
  20631. description: 商品名称
  20632. type: string
  20633. orderid:
  20634. description: 委托单号
  20635. type: string
  20636. orderprice:
  20637. description: 委托价格
  20638. type: number
  20639. ordertime:
  20640. description: 委托时间
  20641. type: string
  20642. tradedate:
  20643. description: 交易日(yyyyMMdd)
  20644. type: string
  20645. required:
  20646. - ordertime
  20647. type: object
  20648. user.LoginQueryRsp:
  20649. properties:
  20650. areaRoles:
  20651. description: 所属角色信息
  20652. items:
  20653. $ref: '#/definitions/models.Arearole'
  20654. type: array
  20655. externalExchanges:
  20656. description: 外部交易所
  20657. items:
  20658. $ref: '#/definitions/models.Externalexchange'
  20659. type: array
  20660. goodsgroups:
  20661. description: 商品组
  20662. items:
  20663. $ref: '#/definitions/models.Goodsgroup'
  20664. type: array
  20665. loginAccount:
  20666. $ref: '#/definitions/models.Loginaccount'
  20667. description: 登录账号
  20668. markets:
  20669. description: 市场
  20670. items:
  20671. $ref: '#/definitions/models.Market'
  20672. type: array
  20673. systemParams:
  20674. description: 系统参数
  20675. items:
  20676. $ref: '#/definitions/models.Systemparam'
  20677. type: array
  20678. userAccount:
  20679. $ref: '#/definitions/models.Useraccount'
  20680. description: 用户账号
  20681. userInfo:
  20682. $ref: '#/definitions/models.Userinfo'
  20683. description: 用户信息
  20684. username:
  20685. description: 用户姓名
  20686. type: string
  20687. type: object
  20688. info:
  20689. contact: {}
  20690. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  20691. termsOfService: http://www.muchinfo.cn
  20692. title: MTP2.0 查询服务 API
  20693. version: "1.0"
  20694. paths:
  20695. /CPTrade/QueryCPTradeMyBidInfos:
  20696. get:
  20697. parameters:
  20698. - description: 资金账户
  20699. in: query
  20700. name: accountid
  20701. required: true
  20702. type: integer
  20703. - description: 预售市场ID
  20704. in: query
  20705. name: marketid
  20706. type: integer
  20707. - description: 预售商品ID
  20708. in: query
  20709. name: goodsid
  20710. type: integer
  20711. produces:
  20712. - application/json
  20713. responses:
  20714. "200":
  20715. description: OK
  20716. schema:
  20717. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  20718. "500":
  20719. description: Internal Server Error
  20720. schema:
  20721. $ref: '#/definitions/app.Response'
  20722. security:
  20723. - ApiKeyAuth: []
  20724. summary: 查询产能预售我的出价信息
  20725. tags:
  20726. - 产能预售
  20727. /CPTrade/QueryCPTradeOrderDetail:
  20728. get:
  20729. parameters:
  20730. - description: 预售商品ID
  20731. in: query
  20732. name: goodsid
  20733. type: integer
  20734. - description: 预售市场ID
  20735. in: query
  20736. name: marketid
  20737. type: integer
  20738. - description: 预售商品ID列表 - 格式:1,2,3
  20739. in: query
  20740. name: goodsids
  20741. type: string
  20742. produces:
  20743. - application/json
  20744. responses:
  20745. "200":
  20746. description: OK
  20747. schema:
  20748. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  20749. "500":
  20750. description: Internal Server Error
  20751. schema:
  20752. $ref: '#/definitions/app.Response'
  20753. security:
  20754. - ApiKeyAuth: []
  20755. summary: 查询产能预售委托单信息
  20756. tags:
  20757. - 产能预售
  20758. /CPTrade/QueryMyCPTradeGoods:
  20759. get:
  20760. parameters:
  20761. - description: 资金账户
  20762. in: query
  20763. name: accountid
  20764. required: true
  20765. type: integer
  20766. produces:
  20767. - application/json
  20768. responses:
  20769. "200":
  20770. description: OK
  20771. schema:
  20772. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  20773. "500":
  20774. description: Internal Server Error
  20775. schema:
  20776. $ref: '#/definitions/app.Response'
  20777. security:
  20778. - ApiKeyAuth: []
  20779. summary: 查询我的预售信息
  20780. tags:
  20781. - 产能预售
  20782. /CPTrade/QueryPositionCancel:
  20783. get:
  20784. parameters:
  20785. - description: 账户ID
  20786. in: query
  20787. name: userid
  20788. required: true
  20789. type: integer
  20790. - description: 注销ID
  20791. in: query
  20792. name: cancelid
  20793. type: integer
  20794. - description: 资金账户ID
  20795. in: query
  20796. name: accountid
  20797. type: integer
  20798. produces:
  20799. - application/json
  20800. responses:
  20801. "200":
  20802. description: OK
  20803. schema:
  20804. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  20805. "500":
  20806. description: Internal Server Error
  20807. schema:
  20808. $ref: '#/definitions/app.Response'
  20809. security:
  20810. - ApiKeyAuth: []
  20811. summary: 查询远期订单注销申请信息
  20812. tags:
  20813. - 产能预售
  20814. /CPTrade/QueryPreasleApply:
  20815. get:
  20816. parameters:
  20817. - description: 账户ID
  20818. in: query
  20819. name: userid
  20820. required: true
  20821. type: integer
  20822. - description: 申请ID
  20823. in: query
  20824. name: applyid
  20825. type: integer
  20826. - description: 资金账户ID
  20827. in: query
  20828. name: accountid
  20829. type: integer
  20830. produces:
  20831. - application/json
  20832. responses:
  20833. "200":
  20834. description: OK
  20835. schema:
  20836. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  20837. "500":
  20838. description: Internal Server Error
  20839. schema:
  20840. $ref: '#/definitions/app.Response'
  20841. security:
  20842. - ApiKeyAuth: []
  20843. summary: 查询产能预售申请信息
  20844. tags:
  20845. - 产能预售
  20846. /CPTrade/QueryPresaleGoodsEx:
  20847. get:
  20848. parameters:
  20849. - description: 预售商品ID
  20850. in: query
  20851. name: goodsid
  20852. type: integer
  20853. - description: 预售市场ID
  20854. in: query
  20855. name: marketid
  20856. type: integer
  20857. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  20858. in: query
  20859. name: presalemode
  20860. type: integer
  20861. - description: 预售商品ID列表 - 格式:1,2,3
  20862. in: query
  20863. name: goodsids
  20864. type: string
  20865. - description: 预售商品代码
  20866. in: query
  20867. name: goodscode
  20868. type: string
  20869. produces:
  20870. - application/json
  20871. responses:
  20872. "200":
  20873. description: OK
  20874. schema:
  20875. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  20876. "500":
  20877. description: Internal Server Error
  20878. schema:
  20879. $ref: '#/definitions/app.Response'
  20880. security:
  20881. - ApiKeyAuth: []
  20882. summary: 查询产能预售商品扩展信息
  20883. tags:
  20884. - 产能预售
  20885. /CPTrade/QueryUserGoodsData:
  20886. get:
  20887. parameters:
  20888. - description: 资金账户ID
  20889. in: query
  20890. name: accountid
  20891. required: true
  20892. type: integer
  20893. produces:
  20894. - application/json
  20895. responses:
  20896. "200":
  20897. description: OK
  20898. schema:
  20899. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  20900. "500":
  20901. description: Internal Server Error
  20902. schema:
  20903. $ref: '#/definitions/app.Response'
  20904. security:
  20905. - ApiKeyAuth: []
  20906. summary: 查询远期订单信息
  20907. tags:
  20908. - 产能预售
  20909. /Common/GetAllEnums:
  20910. get:
  20911. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  20912. parameters:
  20913. - description: 起始自增ID
  20914. in: query
  20915. name: autoid
  20916. type: integer
  20917. produces:
  20918. - application/json
  20919. responses:
  20920. "200":
  20921. description: OK
  20922. schema:
  20923. $ref: '#/definitions/models.Enumdicitem'
  20924. "500":
  20925. description: Internal Server Error
  20926. schema:
  20927. $ref: '#/definitions/app.Response'
  20928. summary: 获取所有枚举信息
  20929. tags:
  20930. - 通用服务
  20931. /Common/GetClientMenus:
  20932. get:
  20933. parameters:
  20934. - description: 登录账号
  20935. in: query
  20936. name: loginID
  20937. required: true
  20938. type: integer
  20939. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  20940. in: query
  20941. name: clientType
  20942. type: integer
  20943. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  20944. in: query
  20945. name: name
  20946. type: string
  20947. produces:
  20948. - application/json
  20949. responses:
  20950. "200":
  20951. description: OK
  20952. schema:
  20953. items:
  20954. $ref: '#/definitions/common.ClientMenu'
  20955. type: array
  20956. "500":
  20957. description: Internal Server Error
  20958. schema:
  20959. $ref: '#/definitions/app.Response'
  20960. security:
  20961. - ApiKeyAuth: []
  20962. summary: 获取交易端菜单
  20963. tags:
  20964. - 通用服务
  20965. /Common/GetDivisions:
  20966. get:
  20967. produces:
  20968. - application/json
  20969. responses:
  20970. "200":
  20971. description: OK
  20972. schema:
  20973. $ref: '#/definitions/models.Division'
  20974. "500":
  20975. description: Internal Server Error
  20976. schema:
  20977. $ref: '#/definitions/app.Response'
  20978. summary: 查询区域信息
  20979. tags:
  20980. - 通用服务
  20981. /Common/GetPCWebMenus:
  20982. get:
  20983. parameters:
  20984. - description: 登录账号
  20985. in: query
  20986. name: loginID
  20987. required: true
  20988. type: integer
  20989. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  20990. in: query
  20991. name: name
  20992. type: string
  20993. produces:
  20994. - application/json
  20995. responses:
  20996. "200":
  20997. description: OK
  20998. schema:
  20999. items:
  21000. $ref: '#/definitions/common.PCWebMenu'
  21001. type: array
  21002. "500":
  21003. description: Internal Server Error
  21004. schema:
  21005. $ref: '#/definitions/app.Response'
  21006. security:
  21007. - ApiKeyAuth: []
  21008. summary: 获取PCWeb交易端菜单
  21009. tags:
  21010. - 通用服务
  21011. /Common/GetServerTime:
  21012. get:
  21013. produces:
  21014. - application/json
  21015. responses:
  21016. "200":
  21017. description: OK
  21018. schema:
  21019. $ref: '#/definitions/app.Response'
  21020. "500":
  21021. description: Internal Server Error
  21022. schema:
  21023. $ref: '#/definitions/app.Response'
  21024. summary: 获取服务器时间
  21025. tags:
  21026. - 通用服务
  21027. /Common/NoticeReaded:
  21028. post:
  21029. parameters:
  21030. - description: 登录账号
  21031. in: query
  21032. name: loginID
  21033. required: true
  21034. type: integer
  21035. - description: 通知公告ID
  21036. in: query
  21037. name: noticeID
  21038. required: true
  21039. type: integer
  21040. produces:
  21041. - application/json
  21042. responses:
  21043. "200":
  21044. description: OK
  21045. schema:
  21046. $ref: '#/definitions/app.Response'
  21047. "500":
  21048. description: Internal Server Error
  21049. schema:
  21050. $ref: '#/definitions/app.Response'
  21051. security:
  21052. - ApiKeyAuth: []
  21053. summary: 通知公告设置已读请求
  21054. tags:
  21055. - 通用服务
  21056. /Common/QueryErrorInfos:
  21057. get:
  21058. description: 如果传入rowNumber,则返回此rowNumber后的数据
  21059. parameters:
  21060. - description: 起始行号前索引
  21061. in: query
  21062. name: rowNumber
  21063. type: string
  21064. produces:
  21065. - application/json
  21066. responses:
  21067. "200":
  21068. description: OK
  21069. schema:
  21070. $ref: '#/definitions/models.QueryErrorInfosRsp'
  21071. "500":
  21072. description: Internal Server Error
  21073. schema:
  21074. $ref: '#/definitions/app.Response'
  21075. summary: 获取数据库错误信息
  21076. tags:
  21077. - 通用服务
  21078. /Common/QueryImageConfigs:
  21079. get:
  21080. parameters:
  21081. - description: 用户id
  21082. in: query
  21083. name: userId
  21084. type: integer
  21085. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  21086. in: query
  21087. name: imageType
  21088. type: integer
  21089. produces:
  21090. - application/json
  21091. responses:
  21092. "200":
  21093. description: OK
  21094. schema:
  21095. $ref: '#/definitions/common.QueryImageConfigsRsp'
  21096. "500":
  21097. description: Internal Server Error
  21098. schema:
  21099. $ref: '#/definitions/app.Response'
  21100. summary: 查询轮播图配置信息
  21101. tags:
  21102. - 通用服务
  21103. /Common/QueryNotice:
  21104. get:
  21105. parameters:
  21106. - description: 页码
  21107. in: query
  21108. name: page
  21109. type: integer
  21110. - description: 每页条数
  21111. in: query
  21112. name: pagesize
  21113. type: integer
  21114. - description: 登录账号
  21115. in: query
  21116. name: loginID
  21117. required: true
  21118. type: integer
  21119. - description: 消息类型 - 1:公告通知 2:系统消息
  21120. in: query
  21121. name: msgType
  21122. type: integer
  21123. - description: 是否只获取未读信息
  21124. in: query
  21125. name: onlyUnRead
  21126. type: boolean
  21127. - description: 自增ID,传入后会返回这个ID后面的记录
  21128. in: query
  21129. name: lastID
  21130. type: integer
  21131. produces:
  21132. - application/json
  21133. responses:
  21134. "200":
  21135. description: OK
  21136. schema:
  21137. $ref: '#/definitions/common.QueryNoticeRsp'
  21138. "500":
  21139. description: Internal Server Error
  21140. schema:
  21141. $ref: '#/definitions/app.Response'
  21142. security:
  21143. - ApiKeyAuth: []
  21144. summary: 通知公告系统消息查询
  21145. tags:
  21146. - 通用服务
  21147. /Common/QueryProvincesAndCities:
  21148. get:
  21149. parameters:
  21150. - description: 省ID
  21151. in: query
  21152. name: provinceID
  21153. type: integer
  21154. produces:
  21155. - application/json
  21156. responses:
  21157. "200":
  21158. description: OK
  21159. schema:
  21160. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  21161. "500":
  21162. description: Internal Server Error
  21163. schema:
  21164. $ref: '#/definitions/app.Response'
  21165. summary: 查询省市信息(不包括区)
  21166. tags:
  21167. - 通用服务
  21168. /Common/QueryTableDefine:
  21169. get:
  21170. parameters:
  21171. - description: 表key
  21172. in: query
  21173. name: tableKey
  21174. type: string
  21175. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  21176. in: query
  21177. name: tableType
  21178. type: integer
  21179. produces:
  21180. - application/json
  21181. responses:
  21182. "200":
  21183. description: OK
  21184. schema:
  21185. $ref: '#/definitions/common.QueryTableDefineRsp'
  21186. "500":
  21187. description: Internal Server Error
  21188. schema:
  21189. $ref: '#/definitions/app.Response'
  21190. summary: 查询交易端列表头信息
  21191. tags:
  21192. - 通用服务
  21193. /Common/QueryTraderMenu:
  21194. get:
  21195. parameters:
  21196. - description: 登录账号
  21197. in: query
  21198. name: loginid
  21199. required: true
  21200. type: integer
  21201. produces:
  21202. - application/json
  21203. responses:
  21204. "200":
  21205. description: OK
  21206. schema:
  21207. $ref: '#/definitions/common.QueryTraderMenuRsp'
  21208. "500":
  21209. description: Internal Server Error
  21210. schema:
  21211. $ref: '#/definitions/app.Response'
  21212. summary: 查询交易端菜单
  21213. tags:
  21214. - 通用服务
  21215. /Delivery/QueryDeliveryRelation:
  21216. get:
  21217. parameters:
  21218. - description: 商品ID
  21219. in: query
  21220. name: goodsid
  21221. type: integer
  21222. - description: 品种ID
  21223. in: query
  21224. name: deliverygoodsid
  21225. type: integer
  21226. - description: 市场ID
  21227. in: query
  21228. name: marketid
  21229. type: integer
  21230. produces:
  21231. - application/json
  21232. responses:
  21233. "200":
  21234. description: OK
  21235. schema:
  21236. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  21237. "500":
  21238. description: Internal Server Error
  21239. schema:
  21240. $ref: '#/definitions/app.Response'
  21241. security:
  21242. - ApiKeyAuth: []
  21243. summary: 查询商品交割关系表
  21244. tags:
  21245. - 交割服务
  21246. /Ermcp/GetErmcpGoods:
  21247. get:
  21248. parameters:
  21249. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  21250. in: query
  21251. name: userid
  21252. type: integer
  21253. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21254. in: query
  21255. name: lastUpdateTime
  21256. type: string
  21257. produces:
  21258. - application/json
  21259. responses:
  21260. "200":
  21261. description: OK
  21262. schema:
  21263. $ref: '#/definitions/models.ErmcpGoods'
  21264. "500":
  21265. description: Internal Server Error
  21266. schema:
  21267. $ref: '#/definitions/app.Response'
  21268. security:
  21269. - ApiKeyAuth: []
  21270. summary: 查询企业风管期货商品信息
  21271. tags:
  21272. - 企业风险管理(app)
  21273. /Ermcp/GetErmcpGoodsSortByPosition:
  21274. get:
  21275. parameters:
  21276. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  21277. in: query
  21278. name: sortIndex
  21279. type: string
  21280. produces:
  21281. - application/json
  21282. responses:
  21283. "200":
  21284. description: OK
  21285. schema:
  21286. $ref: '#/definitions/models.Goodssortbypreposition'
  21287. "500":
  21288. description: Internal Server Error
  21289. schema:
  21290. $ref: '#/definitions/app.Response'
  21291. security:
  21292. - ApiKeyAuth: []
  21293. summary: 查询企业风管期货主力、次主力商品信息
  21294. tags:
  21295. - 企业风险管理(app)
  21296. /Ermcp/GetErmcpOutAccountStatus:
  21297. get:
  21298. parameters:
  21299. - description: 登录账号
  21300. in: query
  21301. name: loginID
  21302. required: true
  21303. type: integer
  21304. produces:
  21305. - application/json
  21306. responses:
  21307. "200":
  21308. description: OK
  21309. schema:
  21310. $ref: '#/definitions/models.Hedgemarketopenlog'
  21311. "500":
  21312. description: Internal Server Error
  21313. schema:
  21314. $ref: '#/definitions/app.Response'
  21315. security:
  21316. - ApiKeyAuth: []
  21317. summary: 获取目标登录账号当前对冲账号在线状态
  21318. tags:
  21319. - 企业风险管理(app)
  21320. /Ermcp/GetErmcpRoleFuncMenuLists:
  21321. get:
  21322. parameters:
  21323. - description: 登录账号
  21324. in: query
  21325. name: loginID
  21326. required: true
  21327. type: integer
  21328. produces:
  21329. - application/json
  21330. responses:
  21331. "200":
  21332. description: OK
  21333. schema:
  21334. $ref: '#/definitions/models.Funcmenulist'
  21335. "500":
  21336. description: Internal Server Error
  21337. schema:
  21338. $ref: '#/definitions/app.Response'
  21339. security:
  21340. - ApiKeyAuth: []
  21341. summary: 获取企业风管终端权限
  21342. tags:
  21343. - 企业风险管理(app)
  21344. /Ermcp/QueryAccMgrBizGroupSet:
  21345. get:
  21346. parameters:
  21347. - description: 用户ID
  21348. in: query
  21349. name: userid
  21350. required: true
  21351. type: integer
  21352. - description: 现货商品id
  21353. in: query
  21354. name: deliverygoodsid
  21355. type: integer
  21356. produces:
  21357. - application/json
  21358. responses:
  21359. "200":
  21360. description: OK
  21361. schema:
  21362. items:
  21363. $ref: '#/definitions/models.ErmcpBizGroupEx'
  21364. type: array
  21365. "500":
  21366. description: Internal Server Error
  21367. schema:
  21368. $ref: '#/definitions/app.Response'
  21369. security:
  21370. - ApiKeyAuth: []
  21371. summary: 查询业务类型分组(账户管理/账户设置)
  21372. tags:
  21373. - 企业风险管理(app)
  21374. /Ermcp/QueryAccMgrLoginUser:
  21375. get:
  21376. parameters:
  21377. - description: 用户ID
  21378. in: query
  21379. name: userid
  21380. required: true
  21381. type: integer
  21382. - description: 用户类型 2-机构 7-企业成员
  21383. in: query
  21384. name: usertype
  21385. type: integer
  21386. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  21387. in: query
  21388. name: querytype
  21389. required: true
  21390. type: integer
  21391. produces:
  21392. - application/json
  21393. responses:
  21394. "200":
  21395. description: OK
  21396. schema:
  21397. items:
  21398. $ref: '#/definitions/models.ErmcpLoginUserEx'
  21399. type: array
  21400. "500":
  21401. description: Internal Server Error
  21402. schema:
  21403. $ref: '#/definitions/app.Response'
  21404. security:
  21405. - ApiKeyAuth: []
  21406. summary: 查询账户管理登录账号(账户管理/登录账号)
  21407. tags:
  21408. - 企业风险管理(app)
  21409. /Ermcp/QueryAccMgrMainAccountInfo:
  21410. get:
  21411. parameters:
  21412. - description: 用户ID
  21413. in: query
  21414. name: userid
  21415. type: integer
  21416. - description: 主账号id
  21417. in: query
  21418. name: accountid
  21419. type: integer
  21420. produces:
  21421. - application/json
  21422. responses:
  21423. "200":
  21424. description: OK
  21425. schema:
  21426. items:
  21427. $ref: '#/definitions/models.MainAccountInfo'
  21428. type: array
  21429. "500":
  21430. description: Internal Server Error
  21431. schema:
  21432. $ref: '#/definitions/app.Response'
  21433. security:
  21434. - ApiKeyAuth: []
  21435. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  21436. tags:
  21437. - 企业风险管理(app)
  21438. /Ermcp/QueryAccMgrRole:
  21439. get:
  21440. parameters:
  21441. - description: 用户ID
  21442. in: query
  21443. name: userid
  21444. required: true
  21445. type: integer
  21446. produces:
  21447. - application/json
  21448. responses:
  21449. "200":
  21450. description: OK
  21451. schema:
  21452. items:
  21453. $ref: '#/definitions/models.ErmcpRole'
  21454. type: array
  21455. "500":
  21456. description: Internal Server Error
  21457. schema:
  21458. $ref: '#/definitions/app.Response'
  21459. security:
  21460. - ApiKeyAuth: []
  21461. summary: 查询账户管理角色设置(账户管理/角色设置)
  21462. tags:
  21463. - 企业风险管理(app)
  21464. /Ermcp/QueryAccMgrRoleMenu:
  21465. get:
  21466. parameters:
  21467. - description: 用户ID
  21468. in: query
  21469. name: userid
  21470. required: true
  21471. type: integer
  21472. - description: 角色id(可多个,逗号隔开)
  21473. in: query
  21474. name: roleid
  21475. type: string
  21476. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  21477. in: query
  21478. name: menutype
  21479. type: integer
  21480. produces:
  21481. - application/json
  21482. responses:
  21483. "200":
  21484. description: OK
  21485. schema:
  21486. items:
  21487. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  21488. type: array
  21489. "500":
  21490. description: Internal Server Error
  21491. schema:
  21492. $ref: '#/definitions/app.Response'
  21493. security:
  21494. - ApiKeyAuth: []
  21495. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  21496. tags:
  21497. - 企业风险管理(app)
  21498. /Ermcp/QueryAccMgrTaAccountInfo:
  21499. get:
  21500. parameters:
  21501. - description: 用户ID
  21502. in: query
  21503. name: userid
  21504. required: true
  21505. type: integer
  21506. - description: 账号id
  21507. in: query
  21508. name: accountid
  21509. type: integer
  21510. produces:
  21511. - application/json
  21512. responses:
  21513. "200":
  21514. description: OK
  21515. schema:
  21516. items:
  21517. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  21518. type: array
  21519. "500":
  21520. description: Internal Server Error
  21521. schema:
  21522. $ref: '#/definitions/app.Response'
  21523. security:
  21524. - ApiKeyAuth: []
  21525. summary: 查询账户管理授信(账户管理/账户设置/授信)
  21526. tags:
  21527. - 企业风险管理(app)
  21528. /Ermcp/QueryAccMgrTaaccount:
  21529. get:
  21530. parameters:
  21531. - description: 用户ID
  21532. in: query
  21533. name: userid
  21534. required: true
  21535. type: integer
  21536. produces:
  21537. - application/json
  21538. responses:
  21539. "200":
  21540. description: OK
  21541. schema:
  21542. items:
  21543. $ref: '#/definitions/models.ErmcpTaAccountEx'
  21544. type: array
  21545. "500":
  21546. description: Internal Server Error
  21547. schema:
  21548. $ref: '#/definitions/app.Response'
  21549. security:
  21550. - ApiKeyAuth: []
  21551. summary: 查询账户管理期货账号(账户管理/期货账号)
  21552. tags:
  21553. - 企业风险管理(app)
  21554. /Ermcp/QueryAvaildGoodsGroup:
  21555. get:
  21556. parameters:
  21557. - description: 所属机构ID
  21558. in: query
  21559. name: userid
  21560. required: true
  21561. type: integer
  21562. produces:
  21563. - application/json
  21564. responses:
  21565. "200":
  21566. description: OK
  21567. schema:
  21568. items:
  21569. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  21570. type: array
  21571. "500":
  21572. description: Internal Server Error
  21573. schema:
  21574. $ref: '#/definitions/app.Response'
  21575. security:
  21576. - ApiKeyAuth: []
  21577. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  21578. tags:
  21579. - 企业风险管理(app)
  21580. /Ermcp/QueryBusinessDj:
  21581. get:
  21582. parameters:
  21583. - description: 用户ID
  21584. in: query
  21585. name: UserId
  21586. required: true
  21587. type: integer
  21588. - description: 用户类型 2-机构 7-企业成员
  21589. in: query
  21590. name: usertype
  21591. type: integer
  21592. - description: 现货合同ID, 不填则查所有
  21593. in: query
  21594. name: relatedid
  21595. type: string
  21596. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21597. in: query
  21598. name: applystatus
  21599. type: string
  21600. produces:
  21601. - application/json
  21602. responses:
  21603. "200":
  21604. description: OK
  21605. schema:
  21606. items:
  21607. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  21608. type: array
  21609. "500":
  21610. description: Internal Server Error
  21611. schema:
  21612. $ref: '#/definitions/app.Response'
  21613. security:
  21614. - ApiKeyAuth: []
  21615. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  21616. tags:
  21617. - 企业风险管理(app)
  21618. /Ermcp/QueryBusinessFp:
  21619. get:
  21620. parameters:
  21621. - description: 用户ID
  21622. in: query
  21623. name: UserId
  21624. required: true
  21625. type: integer
  21626. - description: 用户类型 2-机构 7-企业成员
  21627. in: query
  21628. name: usertype
  21629. type: integer
  21630. - description: 现货合同ID, 不填则查所有
  21631. in: query
  21632. name: relatedid
  21633. type: string
  21634. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21635. in: query
  21636. name: applystatus
  21637. type: string
  21638. produces:
  21639. - application/json
  21640. responses:
  21641. "200":
  21642. description: OK
  21643. schema:
  21644. items:
  21645. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  21646. type: array
  21647. "500":
  21648. description: Internal Server Error
  21649. schema:
  21650. $ref: '#/definitions/app.Response'
  21651. security:
  21652. - ApiKeyAuth: []
  21653. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  21654. tags:
  21655. - 企业风险管理(app)
  21656. /Ermcp/QueryBusinessJs:
  21657. get:
  21658. parameters:
  21659. - description: 用户ID
  21660. in: query
  21661. name: UserId
  21662. required: true
  21663. type: integer
  21664. - description: 用户类型 2-机构 7-企业成员
  21665. in: query
  21666. name: usertype
  21667. type: integer
  21668. - description: 现货合同ID, 不填则查所有
  21669. in: query
  21670. name: relatedid
  21671. type: string
  21672. - description: 操作申请id
  21673. in: query
  21674. name: operateapplyid
  21675. type: string
  21676. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21677. in: query
  21678. name: applystatus
  21679. type: string
  21680. produces:
  21681. - application/json
  21682. responses:
  21683. "200":
  21684. description: OK
  21685. schema:
  21686. items:
  21687. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  21688. type: array
  21689. "500":
  21690. description: Internal Server Error
  21691. schema:
  21692. $ref: '#/definitions/app.Response'
  21693. security:
  21694. - ApiKeyAuth: []
  21695. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  21696. tags:
  21697. - 企业风险管理(app)
  21698. /Ermcp/QueryBusinessJsEx:
  21699. get:
  21700. parameters:
  21701. - description: 用户ID
  21702. in: query
  21703. name: UserId
  21704. required: true
  21705. type: integer
  21706. - description: 用户类型 2-机构 7-企业成员
  21707. in: query
  21708. name: usertype
  21709. type: integer
  21710. - description: 现货合同ID, 不填则查所有
  21711. in: query
  21712. name: relatedid
  21713. type: string
  21714. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21715. in: query
  21716. name: applystatus
  21717. type: string
  21718. produces:
  21719. - application/json
  21720. responses:
  21721. "200":
  21722. description: OK
  21723. schema:
  21724. items:
  21725. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  21726. type: array
  21727. "500":
  21728. description: Internal Server Error
  21729. schema:
  21730. $ref: '#/definitions/app.Response'
  21731. security:
  21732. - ApiKeyAuth: []
  21733. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  21734. tags:
  21735. - 企业风险管理(app)
  21736. /Ermcp/QueryBusinessKx:
  21737. get:
  21738. parameters:
  21739. - description: 用户ID
  21740. in: query
  21741. name: UserId
  21742. required: true
  21743. type: integer
  21744. - description: 用户类型 2-机构 7-企业成员
  21745. in: query
  21746. name: usertype
  21747. type: integer
  21748. - description: 现货合同ID, 不填则查所有
  21749. in: query
  21750. name: relatedid
  21751. type: string
  21752. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21753. in: query
  21754. name: applystatus
  21755. type: string
  21756. produces:
  21757. - application/json
  21758. responses:
  21759. "200":
  21760. description: OK
  21761. schema:
  21762. items:
  21763. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  21764. type: array
  21765. "500":
  21766. description: Internal Server Error
  21767. schema:
  21768. $ref: '#/definitions/app.Response'
  21769. security:
  21770. - ApiKeyAuth: []
  21771. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  21772. tags:
  21773. - 企业风险管理(app)
  21774. /Ermcp/QueryChangeLog:
  21775. get:
  21776. parameters:
  21777. - description: 合同ID
  21778. in: query
  21779. name: RelatedId
  21780. required: true
  21781. type: string
  21782. produces:
  21783. - application/json
  21784. responses:
  21785. "200":
  21786. description: OK
  21787. schema:
  21788. items:
  21789. $ref: '#/definitions/ermcp.QryOPLogRsp'
  21790. type: array
  21791. "500":
  21792. description: Internal Server Error
  21793. schema:
  21794. $ref: '#/definitions/app.Response'
  21795. security:
  21796. - ApiKeyAuth: []
  21797. summary: 查询变更记录
  21798. tags:
  21799. - 企业风险管理(app)
  21800. /Ermcp/QueryErmcpHisOrderDetails:
  21801. get:
  21802. parameters:
  21803. - description: 资金账户ID
  21804. in: query
  21805. name: accountID
  21806. required: true
  21807. type: integer
  21808. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21809. in: query
  21810. name: startDate
  21811. type: string
  21812. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21813. in: query
  21814. name: endDate
  21815. type: string
  21816. produces:
  21817. - application/json
  21818. responses:
  21819. "200":
  21820. description: OK
  21821. schema:
  21822. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21823. "500":
  21824. description: Internal Server Error
  21825. schema:
  21826. $ref: '#/definitions/app.Response'
  21827. security:
  21828. - ApiKeyAuth: []
  21829. summary: 获取企业风管期货历史委托单信息
  21830. tags:
  21831. - 企业风险管理(app)
  21832. /Ermcp/QueryErmcpHisTradeDetails:
  21833. get:
  21834. parameters:
  21835. - description: 资金账户ID
  21836. in: query
  21837. name: accountID
  21838. required: true
  21839. type: integer
  21840. - description: 商品ID
  21841. in: query
  21842. name: goodsID
  21843. type: integer
  21844. - description: 买卖方向,0:买 1:卖
  21845. in: query
  21846. name: buyOrSell
  21847. type: integer
  21848. - description: 关联委托单号
  21849. in: query
  21850. name: orderID
  21851. type: integer
  21852. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21853. in: query
  21854. name: startDate
  21855. type: string
  21856. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21857. in: query
  21858. name: endDate
  21859. type: string
  21860. produces:
  21861. - application/json
  21862. responses:
  21863. "200":
  21864. description: OK
  21865. schema:
  21866. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21867. "500":
  21868. description: Internal Server Error
  21869. schema:
  21870. $ref: '#/definitions/app.Response'
  21871. security:
  21872. - ApiKeyAuth: []
  21873. summary: 获取企业风管期货历史成交单信息
  21874. tags:
  21875. - 企业风险管理(app)
  21876. /Ermcp/QueryErmcpInnerHolderDetails:
  21877. get:
  21878. parameters:
  21879. - description: 资金账户ID
  21880. in: query
  21881. name: accountID
  21882. required: true
  21883. type: integer
  21884. - description: 商品ID
  21885. in: query
  21886. name: goodsID
  21887. type: integer
  21888. - description: 买卖方向,0:买 1:卖
  21889. in: query
  21890. name: buyOrSell
  21891. type: integer
  21892. produces:
  21893. - application/json
  21894. responses:
  21895. "200":
  21896. description: OK
  21897. schema:
  21898. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  21899. "500":
  21900. description: Internal Server Error
  21901. schema:
  21902. $ref: '#/definitions/app.Response'
  21903. security:
  21904. - ApiKeyAuth: []
  21905. summary: 获取企业风管期货内部持仓单信息
  21906. tags:
  21907. - 企业风险管理(app)
  21908. /Ermcp/QueryErmcpOrderDetails:
  21909. get:
  21910. parameters:
  21911. - description: 资金账户ID
  21912. in: query
  21913. name: accountID
  21914. required: true
  21915. type: integer
  21916. produces:
  21917. - application/json
  21918. responses:
  21919. "200":
  21920. description: OK
  21921. schema:
  21922. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21923. "500":
  21924. description: Internal Server Error
  21925. schema:
  21926. $ref: '#/definitions/app.Response'
  21927. security:
  21928. - ApiKeyAuth: []
  21929. summary: 获取企业风管期货委托单信息
  21930. tags:
  21931. - 企业风险管理(app)
  21932. /Ermcp/QueryErmcpTradeDetails:
  21933. get:
  21934. parameters:
  21935. - description: 资金账户ID
  21936. in: query
  21937. name: accountID
  21938. required: true
  21939. type: integer
  21940. - description: 商品ID
  21941. in: query
  21942. name: goodsID
  21943. type: integer
  21944. - description: 买卖方向,0:买 1:卖
  21945. in: query
  21946. name: buyOrSell
  21947. type: integer
  21948. - description: 关联委托单号
  21949. in: query
  21950. name: orderID
  21951. type: integer
  21952. produces:
  21953. - application/json
  21954. responses:
  21955. "200":
  21956. description: OK
  21957. schema:
  21958. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21959. "500":
  21960. description: Internal Server Error
  21961. schema:
  21962. $ref: '#/definitions/app.Response'
  21963. security:
  21964. - ApiKeyAuth: []
  21965. summary: 获取企业风管期货成交单信息
  21966. tags:
  21967. - 企业风险管理(app)
  21968. /Ermcp/QueryErmcpTradePosition:
  21969. get:
  21970. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  21971. parameters:
  21972. - description: 资金账户ID
  21973. in: query
  21974. name: accountID
  21975. required: true
  21976. type: integer
  21977. - description: 所属市场ID
  21978. in: query
  21979. name: marketID
  21980. type: integer
  21981. produces:
  21982. - application/json
  21983. responses:
  21984. "200":
  21985. description: OK
  21986. schema:
  21987. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  21988. "500":
  21989. description: Internal Server Error
  21990. schema:
  21991. $ref: '#/definitions/app.Response'
  21992. security:
  21993. - ApiKeyAuth: []
  21994. summary: 获取企业风管期货持仓头寸信息
  21995. tags:
  21996. - 企业风险管理(app)
  21997. /Ermcp/QueryExposureDetail:
  21998. get:
  21999. parameters:
  22000. - description: 所属机构ID
  22001. in: query
  22002. name: areaUserId
  22003. required: true
  22004. type: integer
  22005. - description: 套保商品
  22006. in: query
  22007. name: middleGoodsId
  22008. required: true
  22009. type: integer
  22010. produces:
  22011. - application/json
  22012. responses:
  22013. "200":
  22014. description: OK
  22015. schema:
  22016. items:
  22017. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  22018. type: array
  22019. "500":
  22020. description: Internal Server Error
  22021. schema:
  22022. $ref: '#/definitions/app.Response'
  22023. security:
  22024. - ApiKeyAuth: []
  22025. summary: 查询敞口现货明细
  22026. tags:
  22027. - 企业风险管理(app)
  22028. /Ermcp/QueryExposureGoods:
  22029. get:
  22030. parameters:
  22031. - description: 套保商品id
  22032. in: query
  22033. name: middlegoodsid
  22034. required: true
  22035. type: integer
  22036. produces:
  22037. - application/json
  22038. responses:
  22039. "200":
  22040. description: OK
  22041. schema:
  22042. items:
  22043. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  22044. type: array
  22045. "500":
  22046. description: Internal Server Error
  22047. schema:
  22048. $ref: '#/definitions/app.Response'
  22049. security:
  22050. - ApiKeyAuth: []
  22051. summary: 查询敞口主力合约
  22052. tags:
  22053. - 企业风险管理(app)
  22054. /Ermcp/QueryExposureHedgePosition:
  22055. get:
  22056. parameters:
  22057. - description: 用户id
  22058. in: query
  22059. name: userid
  22060. required: true
  22061. type: integer
  22062. produces:
  22063. - application/json
  22064. responses:
  22065. "200":
  22066. description: OK
  22067. schema:
  22068. items:
  22069. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  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. - 企业风险管理(app)
  22080. /Ermcp/QueryExposureHedgePositionDetail:
  22081. get:
  22082. parameters:
  22083. - description: 所属机构ID
  22084. in: query
  22085. name: userid
  22086. required: true
  22087. type: integer
  22088. - description: 商品id
  22089. in: query
  22090. name: goodsId
  22091. required: true
  22092. type: integer
  22093. produces:
  22094. - application/json
  22095. responses:
  22096. "200":
  22097. description: OK
  22098. schema:
  22099. items:
  22100. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  22101. type: array
  22102. "500":
  22103. description: Internal Server Error
  22104. schema:
  22105. $ref: '#/definitions/app.Response'
  22106. security:
  22107. - ApiKeyAuth: []
  22108. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  22109. tags:
  22110. - 企业风险管理(app)
  22111. /Ermcp/QueryExposureSpot:
  22112. get:
  22113. parameters:
  22114. - description: 所属机构ID
  22115. in: query
  22116. name: areaUserId
  22117. required: true
  22118. type: integer
  22119. produces:
  22120. - application/json
  22121. responses:
  22122. "200":
  22123. description: OK
  22124. schema:
  22125. items:
  22126. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  22127. type: array
  22128. "500":
  22129. description: Internal Server Error
  22130. schema:
  22131. $ref: '#/definitions/app.Response'
  22132. security:
  22133. - ApiKeyAuth: []
  22134. summary: 查询敞口现货头寸(敞口/现货头寸)
  22135. tags:
  22136. - 企业风险管理(app)
  22137. /Ermcp/QueryExposureSpotDetail:
  22138. get:
  22139. parameters:
  22140. - description: 所属机构ID
  22141. in: query
  22142. name: areaUserId
  22143. required: true
  22144. type: integer
  22145. - description: 现货品种ID
  22146. in: query
  22147. name: wrstandardId
  22148. required: true
  22149. type: integer
  22150. produces:
  22151. - application/json
  22152. responses:
  22153. "200":
  22154. description: OK
  22155. schema:
  22156. items:
  22157. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  22158. type: array
  22159. "500":
  22160. description: Internal Server Error
  22161. schema:
  22162. $ref: '#/definitions/app.Response'
  22163. security:
  22164. - ApiKeyAuth: []
  22165. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22166. tags:
  22167. - 企业风险管理(app)
  22168. /Ermcp/QueryFuturesCompany:
  22169. get:
  22170. produces:
  22171. - application/json
  22172. responses:
  22173. "200":
  22174. description: OK
  22175. schema:
  22176. items:
  22177. $ref: '#/definitions/models.ErmcpFuturesCompany'
  22178. type: array
  22179. "500":
  22180. description: Internal Server Error
  22181. schema:
  22182. $ref: '#/definitions/app.Response'
  22183. security:
  22184. - ApiKeyAuth: []
  22185. summary: 查询期货公司
  22186. tags:
  22187. - 企业风险管理(app)
  22188. /Ermcp/QueryGGConvertConfig:
  22189. get:
  22190. parameters:
  22191. - description: 品种id(不填则查所有)
  22192. in: query
  22193. name: goodsgroupid
  22194. type: integer
  22195. produces:
  22196. - application/json
  22197. responses:
  22198. "200":
  22199. description: OK
  22200. schema:
  22201. items:
  22202. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  22203. type: array
  22204. "500":
  22205. description: Internal Server Error
  22206. schema:
  22207. $ref: '#/definitions/app.Response'
  22208. security:
  22209. - ApiKeyAuth: []
  22210. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  22211. tags:
  22212. - 企业风险管理(app)
  22213. /Ermcp/QueryGoodsBrand:
  22214. get:
  22215. parameters:
  22216. - description: 用户ID
  22217. in: query
  22218. name: userid
  22219. required: true
  22220. type: integer
  22221. - description: 现货商品ID
  22222. in: query
  22223. name: wrstandardid
  22224. type: integer
  22225. produces:
  22226. - application/json
  22227. responses:
  22228. "200":
  22229. description: OK
  22230. schema:
  22231. items:
  22232. $ref: '#/definitions/models.ErmcpGoodsBrand'
  22233. type: array
  22234. "500":
  22235. description: Internal Server Error
  22236. schema:
  22237. $ref: '#/definitions/app.Response'
  22238. security:
  22239. - ApiKeyAuth: []
  22240. summary: 查询商品品牌
  22241. tags:
  22242. - 企业风险管理(app)
  22243. /Ermcp/QueryGoodsModel:
  22244. get:
  22245. parameters:
  22246. - description: 用户ID
  22247. in: query
  22248. name: userid
  22249. required: true
  22250. type: integer
  22251. produces:
  22252. - application/json
  22253. responses:
  22254. "200":
  22255. description: OK
  22256. schema:
  22257. items:
  22258. $ref: '#/definitions/models.ErmcpGoodsModel'
  22259. type: array
  22260. "500":
  22261. description: Internal Server Error
  22262. schema:
  22263. $ref: '#/definitions/app.Response'
  22264. security:
  22265. - ApiKeyAuth: []
  22266. summary: 查询商品型号
  22267. tags:
  22268. - 企业风险管理(app)
  22269. /Ermcp/QueryHisExposure:
  22270. get:
  22271. parameters:
  22272. - description: 用户id
  22273. in: query
  22274. name: userid
  22275. required: true
  22276. type: integer
  22277. - description: 每个品种记录数
  22278. in: query
  22279. name: lastNum
  22280. required: true
  22281. type: integer
  22282. produces:
  22283. - application/json
  22284. responses:
  22285. "200":
  22286. description: OK
  22287. schema:
  22288. items:
  22289. $ref: '#/definitions/ermcp.HisExposureRsp'
  22290. type: array
  22291. "500":
  22292. description: Internal Server Error
  22293. schema:
  22294. $ref: '#/definitions/app.Response'
  22295. security:
  22296. - ApiKeyAuth: []
  22297. summary: 查询历史敞口(菜单:敞口/历史敞口)
  22298. tags:
  22299. - 企业风险管理(app)
  22300. /Ermcp/QueryMiddleGoods:
  22301. get:
  22302. parameters:
  22303. - description: 所属机构ID
  22304. in: query
  22305. name: userid
  22306. required: true
  22307. type: integer
  22308. - description: 状态 0-停用 1-正常
  22309. in: query
  22310. name: status
  22311. required: true
  22312. type: integer
  22313. produces:
  22314. - application/json
  22315. responses:
  22316. "200":
  22317. description: OK
  22318. schema:
  22319. items:
  22320. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  22321. type: array
  22322. "500":
  22323. description: Internal Server Error
  22324. schema:
  22325. $ref: '#/definitions/app.Response'
  22326. security:
  22327. - ApiKeyAuth: []
  22328. summary: 查询套保品种(菜单:套保品种)
  22329. tags:
  22330. - 企业风险管理(app)
  22331. /Ermcp/QueryMiddleGoodsChangeLog:
  22332. get:
  22333. parameters:
  22334. - description: 所属机构ID
  22335. in: query
  22336. name: userid
  22337. required: true
  22338. type: integer
  22339. - description: 套保品种id
  22340. in: query
  22341. name: middlegoodsid
  22342. required: true
  22343. type: integer
  22344. produces:
  22345. - application/json
  22346. responses:
  22347. "200":
  22348. description: OK
  22349. schema:
  22350. items:
  22351. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  22352. type: array
  22353. "500":
  22354. description: Internal Server Error
  22355. schema:
  22356. $ref: '#/definitions/app.Response'
  22357. security:
  22358. - ApiKeyAuth: []
  22359. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  22360. tags:
  22361. - 企业风险管理(app)
  22362. /Ermcp/QueryMiddleGoodsDetail:
  22363. get:
  22364. parameters:
  22365. - description: 所属机构ID
  22366. in: query
  22367. name: userid
  22368. required: true
  22369. type: integer
  22370. - description: 套保品种id
  22371. in: query
  22372. name: middlegoodsid
  22373. type: integer
  22374. produces:
  22375. - application/json
  22376. responses:
  22377. "200":
  22378. description: OK
  22379. schema:
  22380. items:
  22381. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  22382. type: array
  22383. "500":
  22384. description: Internal Server Error
  22385. schema:
  22386. $ref: '#/definitions/app.Response'
  22387. security:
  22388. - ApiKeyAuth: []
  22389. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  22390. tags:
  22391. - 企业风险管理(app)
  22392. /Ermcp/QueryPendingAuditInfo:
  22393. get:
  22394. parameters:
  22395. - description: 用户ID
  22396. in: query
  22397. name: UserId
  22398. required: true
  22399. type: integer
  22400. produces:
  22401. - application/json
  22402. responses:
  22403. "200":
  22404. description: OK
  22405. schema:
  22406. items:
  22407. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  22408. type: array
  22409. "500":
  22410. description: Internal Server Error
  22411. schema:
  22412. $ref: '#/definitions/app.Response'
  22413. security:
  22414. - ApiKeyAuth: []
  22415. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  22416. tags:
  22417. - 企业风险管理(app)
  22418. /Ermcp/QueryRealtimeExposure:
  22419. get:
  22420. parameters:
  22421. - description: 所属机构ID
  22422. in: query
  22423. name: userid
  22424. required: true
  22425. type: integer
  22426. produces:
  22427. - application/json
  22428. responses:
  22429. "200":
  22430. description: OK
  22431. schema:
  22432. items:
  22433. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  22434. type: array
  22435. "500":
  22436. description: Internal Server Error
  22437. schema:
  22438. $ref: '#/definitions/app.Response'
  22439. security:
  22440. - ApiKeyAuth: []
  22441. summary: 查询实时敞口
  22442. tags:
  22443. - 企业风险管理(app)
  22444. /Ermcp/QueryRealtimeExposurePosition:
  22445. get:
  22446. parameters:
  22447. - description: 用户id
  22448. in: query
  22449. name: userid
  22450. required: true
  22451. type: integer
  22452. - description: 套保商品ID
  22453. in: query
  22454. name: middleGoodsId
  22455. required: true
  22456. type: integer
  22457. produces:
  22458. - application/json
  22459. responses:
  22460. "200":
  22461. description: OK
  22462. schema:
  22463. items:
  22464. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  22465. type: array
  22466. "500":
  22467. description: Internal Server Error
  22468. schema:
  22469. $ref: '#/definitions/app.Response'
  22470. security:
  22471. - ApiKeyAuth: []
  22472. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  22473. tags:
  22474. - 企业风险管理(app)
  22475. /Ermcp/QueryRoleMenu:
  22476. get:
  22477. parameters:
  22478. - description: 登录ID
  22479. in: query
  22480. name: loginid
  22481. required: true
  22482. type: integer
  22483. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  22484. in: query
  22485. name: menutype
  22486. type: integer
  22487. produces:
  22488. - application/json
  22489. responses:
  22490. "200":
  22491. description: OK
  22492. schema:
  22493. items:
  22494. $ref: '#/definitions/models.RoleMenu'
  22495. type: array
  22496. "500":
  22497. description: Internal Server Error
  22498. schema:
  22499. $ref: '#/definitions/app.Response'
  22500. security:
  22501. - ApiKeyAuth: []
  22502. summary: 查询角色菜单和权限
  22503. tags:
  22504. - 企业风险管理(app)
  22505. /Ermcp/QueryTradeConfigTMP:
  22506. get:
  22507. parameters:
  22508. - description: 所属机构id
  22509. in: query
  22510. name: areauserid
  22511. type: integer
  22512. produces:
  22513. - application/json
  22514. responses:
  22515. "200":
  22516. description: OK
  22517. schema:
  22518. items:
  22519. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  22520. type: array
  22521. "500":
  22522. description: Internal Server Error
  22523. schema:
  22524. $ref: '#/definitions/app.Response'
  22525. security:
  22526. - ApiKeyAuth: []
  22527. summary: 查询交易模板配置
  22528. tags:
  22529. - 企业风险管理(app)
  22530. /Ermcp/QueryUserInfo:
  22531. get:
  22532. parameters:
  22533. - description: 所属机构用户ID
  22534. in: query
  22535. name: MemberUserID
  22536. required: true
  22537. type: integer
  22538. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  22539. in: query
  22540. name: queryType
  22541. required: true
  22542. type: integer
  22543. produces:
  22544. - application/json
  22545. responses:
  22546. "200":
  22547. description: OK
  22548. schema:
  22549. items:
  22550. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  22551. type: array
  22552. "500":
  22553. description: Internal Server Error
  22554. schema:
  22555. $ref: '#/definitions/app.Response'
  22556. security:
  22557. - ApiKeyAuth: []
  22558. summary: 查询客户资料
  22559. tags:
  22560. - 企业风险管理(app)
  22561. /Ermcp/QueryWarehouseInfo:
  22562. get:
  22563. parameters:
  22564. - description: 用户ID
  22565. in: query
  22566. name: userid
  22567. required: true
  22568. type: integer
  22569. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  22570. in: query
  22571. name: status
  22572. type: string
  22573. produces:
  22574. - application/json
  22575. responses:
  22576. "200":
  22577. description: OK
  22578. schema:
  22579. items:
  22580. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  22581. type: array
  22582. "500":
  22583. description: Internal Server Error
  22584. schema:
  22585. $ref: '#/definitions/app.Response'
  22586. security:
  22587. - ApiKeyAuth: []
  22588. summary: 查询仓库信息
  22589. tags:
  22590. - 企业风险管理(app)
  22591. /Ermcp3/QryAreaExpourseContractDetail:
  22592. get:
  22593. parameters:
  22594. - description: 用户ID
  22595. in: query
  22596. name: userid
  22597. required: true
  22598. type: integer
  22599. - description: 套保商品id
  22600. in: query
  22601. name: middlegoodsid
  22602. required: true
  22603. type: integer
  22604. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22605. in: query
  22606. name: cycletype
  22607. required: true
  22608. type: integer
  22609. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22610. 全(0)【原值】
  22611. in: query
  22612. name: cycletime
  22613. required: true
  22614. type: string
  22615. produces:
  22616. - application/json
  22617. responses:
  22618. "200":
  22619. description: OK
  22620. schema:
  22621. items:
  22622. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  22623. type: array
  22624. "500":
  22625. description: Internal Server Error
  22626. schema:
  22627. $ref: '#/definitions/app.Response'
  22628. security:
  22629. - ApiKeyAuth: []
  22630. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  22631. tags:
  22632. - 企业风险管理v3(app)
  22633. /Ermcp3/QryAreaExpourseFutuDetail:
  22634. get:
  22635. parameters:
  22636. - description: 用户ID
  22637. in: query
  22638. name: userid
  22639. required: true
  22640. type: integer
  22641. - description: 套保商品id
  22642. in: query
  22643. name: middlegoodsid
  22644. required: true
  22645. type: integer
  22646. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22647. in: query
  22648. name: cycletype
  22649. required: true
  22650. type: integer
  22651. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22652. 全(0)【原值】
  22653. in: query
  22654. name: cycletime
  22655. required: true
  22656. type: string
  22657. produces:
  22658. - application/json
  22659. responses:
  22660. "200":
  22661. description: OK
  22662. schema:
  22663. items:
  22664. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  22665. type: array
  22666. "500":
  22667. description: Internal Server Error
  22668. schema:
  22669. $ref: '#/definitions/app.Response'
  22670. security:
  22671. - ApiKeyAuth: []
  22672. summary: 查询敞口期货明细(敞口报表/期货明细)
  22673. tags:
  22674. - 企业风险管理v3(app)
  22675. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  22676. get:
  22677. parameters:
  22678. - description: 用户ID
  22679. in: query
  22680. name: userid
  22681. required: true
  22682. type: integer
  22683. - description: 套保商品id
  22684. in: query
  22685. name: middlegoodsid
  22686. required: true
  22687. type: integer
  22688. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22689. in: query
  22690. name: cycletype
  22691. required: true
  22692. type: integer
  22693. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22694. 全(0)【原值】
  22695. in: query
  22696. name: cycletime
  22697. required: true
  22698. type: string
  22699. produces:
  22700. - application/json
  22701. responses:
  22702. "200":
  22703. description: OK
  22704. schema:
  22705. items:
  22706. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  22707. type: array
  22708. "500":
  22709. description: Internal Server Error
  22710. schema:
  22711. $ref: '#/definitions/app.Response'
  22712. security:
  22713. - ApiKeyAuth: []
  22714. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  22715. tags:
  22716. - 企业风险管理v3(app)
  22717. /Ermcp3/QryAreaExpourseParamChLogDetail:
  22718. get:
  22719. parameters:
  22720. - description: 用户ID
  22721. in: query
  22722. name: userid
  22723. required: true
  22724. type: integer
  22725. - description: 套保商品id
  22726. in: query
  22727. name: middlegoodsid
  22728. required: true
  22729. type: integer
  22730. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22731. in: query
  22732. name: cycletype
  22733. required: true
  22734. type: integer
  22735. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22736. 全(0)【原值】
  22737. in: query
  22738. name: cycletime
  22739. required: true
  22740. type: string
  22741. produces:
  22742. - application/json
  22743. responses:
  22744. "200":
  22745. description: OK
  22746. schema:
  22747. items:
  22748. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  22749. type: array
  22750. "500":
  22751. description: Internal Server Error
  22752. schema:
  22753. $ref: '#/definitions/app.Response'
  22754. security:
  22755. - ApiKeyAuth: []
  22756. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  22757. tags:
  22758. - 企业风险管理v3(app)
  22759. /Ermcp3/QryAreaExpourseReport:
  22760. get:
  22761. parameters:
  22762. - description: 用户ID
  22763. in: query
  22764. name: userid
  22765. required: true
  22766. type: integer
  22767. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  22768. in: query
  22769. name: querytype
  22770. required: true
  22771. type: integer
  22772. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22773. in: query
  22774. name: cycletype
  22775. required: true
  22776. type: integer
  22777. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22778. 全(0)【原值】
  22779. in: query
  22780. name: cycletime
  22781. required: true
  22782. type: string
  22783. produces:
  22784. - application/json
  22785. responses:
  22786. "200":
  22787. description: OK
  22788. schema:
  22789. items:
  22790. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  22791. type: array
  22792. "500":
  22793. description: Internal Server Error
  22794. schema:
  22795. $ref: '#/definitions/app.Response'
  22796. security:
  22797. - ApiKeyAuth: []
  22798. summary: 查询敞口报表
  22799. tags:
  22800. - 企业风险管理v3(app)
  22801. /Ermcp3/QryAreaSpotplReport:
  22802. get:
  22803. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  22804. parameters:
  22805. - description: 用户ID
  22806. in: query
  22807. name: userid
  22808. required: true
  22809. type: integer
  22810. - description: 查询类型 1-报表 2-报表明细
  22811. in: query
  22812. name: querytype
  22813. required: true
  22814. type: integer
  22815. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22816. in: query
  22817. name: cycletype
  22818. required: true
  22819. type: integer
  22820. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22821. 全(0)【原值】
  22822. in: query
  22823. name: cycletime
  22824. required: true
  22825. type: string
  22826. - description: 现货品种id(明细必填)
  22827. in: query
  22828. name: deliverygoodsid
  22829. type: integer
  22830. - description: 币种id(明细必填)
  22831. in: query
  22832. name: currencyid
  22833. type: integer
  22834. - description: 日/周/月报表汇总维度 1:品种+品类
  22835. in: query
  22836. name: sumflag
  22837. type: integer
  22838. produces:
  22839. - application/json
  22840. responses:
  22841. "200":
  22842. description: OK
  22843. schema:
  22844. items:
  22845. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  22846. type: array
  22847. "500":
  22848. description: Internal Server Error
  22849. schema:
  22850. $ref: '#/definitions/app.Response'
  22851. security:
  22852. - ApiKeyAuth: []
  22853. summary: 查询现货报表
  22854. tags:
  22855. - 企业风险管理v3(app)
  22856. /Ermcp3/QryAreaStockReport:
  22857. get:
  22858. parameters:
  22859. - description: 用户ID
  22860. in: query
  22861. name: userid
  22862. required: true
  22863. type: integer
  22864. - description: 查询类型 1-报表 2-报表明细
  22865. in: query
  22866. name: querytype
  22867. required: true
  22868. type: integer
  22869. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22870. in: query
  22871. name: cycletype
  22872. required: true
  22873. type: integer
  22874. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22875. 全(0)【原值】
  22876. in: query
  22877. name: cycletime
  22878. required: true
  22879. type: string
  22880. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  22881. in: query
  22882. name: sumfields
  22883. type: string
  22884. - description: 品种ID
  22885. in: query
  22886. name: deliverygoodsid
  22887. type: integer
  22888. - description: 品类ID
  22889. in: query
  22890. name: wrstandardid
  22891. type: integer
  22892. - description: 品牌ID
  22893. in: query
  22894. name: spotgoodsbrandid
  22895. type: integer
  22896. - description: 仓库ID
  22897. in: query
  22898. name: warehouseinfoid
  22899. type: integer
  22900. produces:
  22901. - application/json
  22902. responses:
  22903. "200":
  22904. description: OK
  22905. schema:
  22906. items:
  22907. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  22908. type: array
  22909. "500":
  22910. description: Internal Server Error
  22911. schema:
  22912. $ref: '#/definitions/app.Response'
  22913. security:
  22914. - ApiKeyAuth: []
  22915. summary: 查询库存报表
  22916. tags:
  22917. - 企业风险管理v3(app)
  22918. /Ermcp3/QryAreaSumPL:
  22919. get:
  22920. parameters:
  22921. - description: 用户ID
  22922. in: query
  22923. name: userid
  22924. required: true
  22925. type: integer
  22926. - description: 查询类型 1-报表 2-报表明细
  22927. in: query
  22928. name: querytype
  22929. required: true
  22930. type: integer
  22931. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22932. in: query
  22933. name: cycletype
  22934. required: true
  22935. type: integer
  22936. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22937. 全(0)【原值】
  22938. in: query
  22939. name: cycletime
  22940. required: true
  22941. type: string
  22942. - description: 币种id(明细必填)
  22943. in: query
  22944. name: currencyid
  22945. type: integer
  22946. produces:
  22947. - application/json
  22948. responses:
  22949. "200":
  22950. description: OK
  22951. schema:
  22952. items:
  22953. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  22954. type: array
  22955. "500":
  22956. description: Internal Server Error
  22957. schema:
  22958. $ref: '#/definitions/app.Response'
  22959. security:
  22960. - ApiKeyAuth: []
  22961. summary: 查询汇总损益表
  22962. tags:
  22963. - 企业风险管理v3(app)
  22964. /Ermcp3/QryFinanceReport:
  22965. get:
  22966. parameters:
  22967. - description: 用户ID
  22968. in: query
  22969. name: userid
  22970. required: true
  22971. type: integer
  22972. - description: 查询类型 1-报表 2-报表明细
  22973. in: query
  22974. name: querytype
  22975. required: true
  22976. type: integer
  22977. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22978. in: query
  22979. name: cycletype
  22980. required: true
  22981. type: integer
  22982. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22983. 全(0)【原值】
  22984. in: query
  22985. name: cycletime
  22986. required: true
  22987. type: string
  22988. - description: 币种id(报表明细必填)
  22989. in: query
  22990. name: currencyid
  22991. type: integer
  22992. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22993. in: query
  22994. name: sumfields
  22995. type: string
  22996. produces:
  22997. - application/json
  22998. responses:
  22999. "200":
  23000. description: OK
  23001. schema:
  23002. items:
  23003. $ref: '#/definitions/models.Ermcp3FinanceReport'
  23004. type: array
  23005. "500":
  23006. description: Internal Server Error
  23007. schema:
  23008. $ref: '#/definitions/app.Response'
  23009. security:
  23010. - ApiKeyAuth: []
  23011. summary: 查询财务报表
  23012. tags:
  23013. - 企业风险管理v3(app)
  23014. /Ermcp3/QrySCMiddleGoodsReport:
  23015. get:
  23016. parameters:
  23017. - description: 用户ID
  23018. in: query
  23019. name: userid
  23020. required: true
  23021. type: integer
  23022. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23023. in: query
  23024. name: cycletype
  23025. required: true
  23026. type: integer
  23027. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23028. 全(0)【原值】
  23029. in: query
  23030. name: cycletime
  23031. required: true
  23032. type: string
  23033. - description: 合同id
  23034. in: query
  23035. name: spotcontractid
  23036. type: integer
  23037. - description: 套保品种id
  23038. in: query
  23039. name: middlegoodsid
  23040. type: integer
  23041. - description: 现货品种id
  23042. in: query
  23043. name: deliverygoodsid
  23044. type: integer
  23045. - description: 现货商品id
  23046. in: query
  23047. name: wrstandardid
  23048. type: integer
  23049. - description: 合同编号(模糊匹配)
  23050. in: query
  23051. name: contractno
  23052. type: string
  23053. produces:
  23054. - application/json
  23055. responses:
  23056. "200":
  23057. description: OK
  23058. schema:
  23059. items:
  23060. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  23061. type: array
  23062. "500":
  23063. description: Internal Server Error
  23064. schema:
  23065. $ref: '#/definitions/app.Response'
  23066. security:
  23067. - ApiKeyAuth: []
  23068. summary: 查询定价报表
  23069. tags:
  23070. - 企业风险管理v3(app)
  23071. /Ermcp3/QryTaFutureDataReport:
  23072. get:
  23073. parameters:
  23074. - description: 用户ID
  23075. in: query
  23076. name: userid
  23077. required: true
  23078. type: integer
  23079. - description: 查询类型 1-报表 2-报表明细
  23080. in: query
  23081. name: querytype
  23082. required: true
  23083. type: integer
  23084. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23085. in: query
  23086. name: cycletype
  23087. required: true
  23088. type: integer
  23089. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23090. 全(0)【原值】
  23091. in: query
  23092. name: cycletime
  23093. required: true
  23094. type: string
  23095. - description: 币种id(查明细必填)
  23096. in: query
  23097. name: currencyid
  23098. type: integer
  23099. - description: 品种id(查明细必填)
  23100. in: query
  23101. name: goodsgroupid
  23102. type: integer
  23103. - description: 商品id(查明细必填)
  23104. in: query
  23105. name: goodsid
  23106. type: integer
  23107. - description: 买卖方向(查明细必填)
  23108. in: query
  23109. name: buyorsell
  23110. type: integer
  23111. produces:
  23112. - application/json
  23113. responses:
  23114. "200":
  23115. description: OK
  23116. schema:
  23117. items:
  23118. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  23119. type: array
  23120. "500":
  23121. description: Internal Server Error
  23122. schema:
  23123. $ref: '#/definitions/app.Response'
  23124. security:
  23125. - ApiKeyAuth: []
  23126. summary: 查询期货报表
  23127. tags:
  23128. - 企业风险管理v3(app)
  23129. /Ermcp3/QueryAreaStock:
  23130. get:
  23131. parameters:
  23132. - description: 用户ID
  23133. in: query
  23134. name: userid
  23135. required: true
  23136. type: integer
  23137. produces:
  23138. - application/json
  23139. responses:
  23140. "200":
  23141. description: OK
  23142. schema:
  23143. items:
  23144. $ref: '#/definitions/models.Ermcp3AreaStock'
  23145. type: array
  23146. "500":
  23147. description: Internal Server Error
  23148. schema:
  23149. $ref: '#/definitions/app.Response'
  23150. security:
  23151. - ApiKeyAuth: []
  23152. summary: 查询机构库存(库存管理/当前库存)
  23153. tags:
  23154. - 企业风险管理v3(app)
  23155. /Ermcp3/QueryAreaStockApply:
  23156. get:
  23157. parameters:
  23158. - description: 用户ID
  23159. in: query
  23160. name: userid
  23161. required: true
  23162. type: integer
  23163. - description: 用户类型 2-机构 7-企业成员
  23164. in: query
  23165. name: usertype
  23166. type: integer
  23167. - description: 现货商品ID
  23168. in: query
  23169. name: deliverygoodsid
  23170. type: integer
  23171. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  23172. in: query
  23173. name: inouttype
  23174. type: string
  23175. - description: 合同ID
  23176. in: query
  23177. name: spotcontractid
  23178. type: integer
  23179. - description: 品类ID
  23180. in: query
  23181. name: wrstandardid
  23182. type: integer
  23183. - description: 品牌ID
  23184. in: query
  23185. name: spotgoodsbrandid
  23186. type: integer
  23187. - description: 仓库ID
  23188. in: query
  23189. name: warehouseinfoid
  23190. type: integer
  23191. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23192. in: query
  23193. name: applystatus
  23194. type: string
  23195. produces:
  23196. - application/json
  23197. responses:
  23198. "200":
  23199. description: OK
  23200. schema:
  23201. items:
  23202. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  23203. type: array
  23204. "500":
  23205. description: Internal Server Error
  23206. schema:
  23207. $ref: '#/definitions/app.Response'
  23208. security:
  23209. - ApiKeyAuth: []
  23210. summary: 查询库存申请(出入库记录|库存审核)
  23211. tags:
  23212. - 企业风险管理v3(app)
  23213. /Ermcp3/QueryAreaStockApplySum:
  23214. get:
  23215. parameters:
  23216. - description: 合同ID
  23217. in: query
  23218. name: spotcontractid
  23219. required: true
  23220. type: integer
  23221. produces:
  23222. - application/json
  23223. responses:
  23224. "200":
  23225. description: OK
  23226. schema:
  23227. items:
  23228. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  23229. type: array
  23230. "500":
  23231. description: Internal Server Error
  23232. schema:
  23233. $ref: '#/definitions/app.Response'
  23234. security:
  23235. - ApiKeyAuth: []
  23236. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  23237. tags:
  23238. - 企业风险管理v3(app)
  23239. /Ermcp3/QueryDGFactoryItem:
  23240. get:
  23241. parameters:
  23242. - description: 用户id
  23243. in: query
  23244. name: userid
  23245. type: integer
  23246. - description: 用户类型 2-机构 7-企业成员
  23247. in: query
  23248. name: usertype
  23249. type: integer
  23250. - description: 选择项ID(SEQ_DGFACTORYITEM)
  23251. in: query
  23252. name: dgfactoryitemid
  23253. type: integer
  23254. - description: 现货品种ID
  23255. in: query
  23256. name: deliverygoodsid
  23257. type: integer
  23258. - description: 要素项类型
  23259. in: query
  23260. name: dgfactoryitemtypeid
  23261. type: integer
  23262. - description: 顺序
  23263. in: query
  23264. name: orderindex
  23265. type: integer
  23266. produces:
  23267. - application/json
  23268. responses:
  23269. "200":
  23270. description: OK
  23271. schema:
  23272. items:
  23273. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  23274. type: array
  23275. "500":
  23276. description: Internal Server Error
  23277. schema:
  23278. $ref: '#/definitions/app.Response'
  23279. security:
  23280. - ApiKeyAuth: []
  23281. summary: 查询品种要素定义项
  23282. tags:
  23283. - 企业风险管理v3(app)
  23284. /Ermcp3/QueryDeliveryGoods:
  23285. get:
  23286. parameters:
  23287. - description: 用户id
  23288. in: query
  23289. name: userid
  23290. required: true
  23291. type: integer
  23292. - description: 用户类型 2-机构 7-企业成员
  23293. in: query
  23294. name: usertype
  23295. type: integer
  23296. - description: 排除已配置的业务类型商品 1-套保 2-套利
  23297. in: query
  23298. name: excludecfg
  23299. type: integer
  23300. produces:
  23301. - application/json
  23302. responses:
  23303. "200":
  23304. description: OK
  23305. schema:
  23306. items:
  23307. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  23308. type: array
  23309. "500":
  23310. description: Internal Server Error
  23311. schema:
  23312. $ref: '#/definitions/app.Response'
  23313. security:
  23314. - ApiKeyAuth: []
  23315. summary: 查询现货商品
  23316. tags:
  23317. - 企业风险管理v3(app)
  23318. /Ermcp3/QueryDeliveryGoodsDetail:
  23319. get:
  23320. parameters:
  23321. - description: 用户id
  23322. in: query
  23323. name: userid
  23324. required: true
  23325. type: integer
  23326. - description: 用户类型 2-机构 7-企业成员
  23327. in: query
  23328. name: usertype
  23329. type: integer
  23330. - description: 现货商品id
  23331. in: query
  23332. name: deliverygoodsid
  23333. type: integer
  23334. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  23335. in: query
  23336. name: filtersubempty
  23337. type: integer
  23338. produces:
  23339. - application/json
  23340. responses:
  23341. "200":
  23342. description: OK
  23343. schema:
  23344. items:
  23345. $ref: '#/definitions/models.XHDeliveryGoods'
  23346. type: array
  23347. "500":
  23348. description: Internal Server Error
  23349. schema:
  23350. $ref: '#/definitions/app.Response'
  23351. security:
  23352. - ApiKeyAuth: []
  23353. summary: 查询现货商品详情
  23354. tags:
  23355. - 企业风险管理v3(app)
  23356. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  23357. get:
  23358. parameters:
  23359. - description: 合同id
  23360. in: query
  23361. name: spotcontractid
  23362. required: true
  23363. type: string
  23364. produces:
  23365. - application/json
  23366. responses:
  23367. "200":
  23368. description: OK
  23369. schema:
  23370. items:
  23371. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  23372. type: array
  23373. "500":
  23374. description: Internal Server Error
  23375. schema:
  23376. $ref: '#/definitions/app.Response'
  23377. security:
  23378. - ApiKeyAuth: []
  23379. summary: 查询现货合同期现配置信息
  23380. tags:
  23381. - 企业风险管理v3(app)
  23382. /Ermcp3/QueryExposureDetail:
  23383. get:
  23384. parameters:
  23385. - description: 用户id
  23386. in: query
  23387. name: userid
  23388. required: true
  23389. type: integer
  23390. - description: 用户类型 2-机构 7-企业成员
  23391. in: query
  23392. name: usertype
  23393. type: integer
  23394. - description: 套保商品
  23395. in: query
  23396. name: middlegoodsid
  23397. required: true
  23398. type: integer
  23399. produces:
  23400. - application/json
  23401. responses:
  23402. "200":
  23403. description: OK
  23404. schema:
  23405. items:
  23406. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  23407. type: array
  23408. "500":
  23409. description: Internal Server Error
  23410. schema:
  23411. $ref: '#/definitions/app.Response'
  23412. security:
  23413. - ApiKeyAuth: []
  23414. summary: 查询敞口现货明细
  23415. tags:
  23416. - 企业风险管理v3(app)
  23417. /Ermcp3/QueryExposureSpot:
  23418. get:
  23419. parameters:
  23420. - description: 用户id
  23421. in: query
  23422. name: userid
  23423. required: true
  23424. type: integer
  23425. - description: 用户类型 2-机构 7-企业成员
  23426. in: query
  23427. name: usertype
  23428. type: integer
  23429. produces:
  23430. - application/json
  23431. responses:
  23432. "200":
  23433. description: OK
  23434. schema:
  23435. items:
  23436. $ref: '#/definitions/models.Ermcp3AreaSpot'
  23437. type: array
  23438. "500":
  23439. description: Internal Server Error
  23440. schema:
  23441. $ref: '#/definitions/app.Response'
  23442. security:
  23443. - ApiKeyAuth: []
  23444. summary: 查询敞口现货头寸(敞口/现货头寸)
  23445. tags:
  23446. - 企业风险管理v3(app)
  23447. /Ermcp3/QueryExposureSpotDetail:
  23448. get:
  23449. parameters:
  23450. - description: 用户id
  23451. in: query
  23452. name: userid
  23453. required: true
  23454. type: integer
  23455. - description: 用户类型 2-机构 7-企业成员
  23456. in: query
  23457. name: usertype
  23458. type: integer
  23459. - description: 现货商品ID
  23460. in: query
  23461. name: wrstandardid
  23462. required: true
  23463. type: integer
  23464. produces:
  23465. - application/json
  23466. responses:
  23467. "200":
  23468. description: OK
  23469. schema:
  23470. items:
  23471. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  23472. type: array
  23473. "500":
  23474. description: Internal Server Error
  23475. schema:
  23476. $ref: '#/definitions/app.Response'
  23477. security:
  23478. - ApiKeyAuth: []
  23479. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23480. tags:
  23481. - 企业风险管理v3(app)
  23482. /Ermcp3/QueryGoodsGroup:
  23483. get:
  23484. parameters:
  23485. - description: 用户id
  23486. in: query
  23487. name: userid
  23488. required: true
  23489. type: integer
  23490. - description: 用户类型 2-机构 7-企业成员
  23491. in: query
  23492. name: usertype
  23493. type: integer
  23494. - description: 排除套保品中已关联的商品组 1-排除
  23495. in: query
  23496. name: excludecfg
  23497. type: integer
  23498. produces:
  23499. - application/json
  23500. responses:
  23501. "200":
  23502. description: OK
  23503. schema:
  23504. items:
  23505. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  23506. type: array
  23507. "500":
  23508. description: Internal Server Error
  23509. schema:
  23510. $ref: '#/definitions/app.Response'
  23511. security:
  23512. - ApiKeyAuth: []
  23513. summary: 查询期货商品组
  23514. tags:
  23515. - 企业风险管理v3(app)
  23516. /Ermcp3/QueryGoodsWrstandard:
  23517. get:
  23518. parameters:
  23519. - description: 用户id
  23520. in: query
  23521. name: userid
  23522. required: true
  23523. type: integer
  23524. - description: 用户类型 2-机构 7-企业成员
  23525. in: query
  23526. name: usertype
  23527. type: integer
  23528. - description: 现货商品id
  23529. in: query
  23530. name: deliverygoodsid
  23531. type: integer
  23532. produces:
  23533. - application/json
  23534. responses:
  23535. "200":
  23536. description: OK
  23537. schema:
  23538. items:
  23539. $ref: '#/definitions/models.Ermcp3Wrstandard'
  23540. type: array
  23541. "500":
  23542. description: Internal Server Error
  23543. schema:
  23544. $ref: '#/definitions/app.Response'
  23545. security:
  23546. - ApiKeyAuth: []
  23547. summary: 查询商品品类
  23548. tags:
  23549. - 企业风险管理v3(app)
  23550. /Ermcp3/QueryGoodsbrand:
  23551. get:
  23552. parameters:
  23553. - description: 用户id
  23554. in: query
  23555. name: userid
  23556. required: true
  23557. type: integer
  23558. - description: 用户类型 2-机构 7-企业成员
  23559. in: query
  23560. name: usertype
  23561. type: integer
  23562. produces:
  23563. - application/json
  23564. responses:
  23565. "200":
  23566. description: OK
  23567. schema:
  23568. items:
  23569. $ref: '#/definitions/models.Ermcp3Brand'
  23570. type: array
  23571. "500":
  23572. description: Internal Server Error
  23573. schema:
  23574. $ref: '#/definitions/app.Response'
  23575. security:
  23576. - ApiKeyAuth: []
  23577. summary: 查询商品品牌
  23578. tags:
  23579. - 企业风险管理v3(app)
  23580. /Ermcp3/QueryHPMiddleGoods:
  23581. get:
  23582. parameters:
  23583. - description: 用户ID(填登录用户的userid)
  23584. in: query
  23585. name: userid
  23586. required: true
  23587. type: integer
  23588. - description: 买卖方向 0-买 1-卖
  23589. in: query
  23590. name: buyorsell
  23591. required: true
  23592. type: integer
  23593. - description: 商品组id
  23594. in: query
  23595. name: goodsgroupid
  23596. required: true
  23597. type: integer
  23598. - description: 套保计划编号(模糊匹配)
  23599. in: query
  23600. name: hedgeplanno
  23601. type: string
  23602. - description: 现货商品名称(模糊匹配)
  23603. in: query
  23604. name: wrstandardname
  23605. type: string
  23606. produces:
  23607. - application/json
  23608. responses:
  23609. "200":
  23610. description: OK
  23611. schema:
  23612. items:
  23613. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  23614. type: array
  23615. "500":
  23616. description: Internal Server Error
  23617. schema:
  23618. $ref: '#/definitions/app.Response'
  23619. security:
  23620. - ApiKeyAuth: []
  23621. summary: 查询可关联套保计划
  23622. tags:
  23623. - 企业风险管理v3(app)
  23624. /Ermcp3/QueryHedgePlan:
  23625. get:
  23626. parameters:
  23627. - description: 用户ID
  23628. in: query
  23629. name: userid
  23630. required: true
  23631. type: integer
  23632. - description: 用户类型 2-机构 7-企业成员
  23633. in: query
  23634. name: usertype
  23635. type: integer
  23636. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23637. in: query
  23638. name: hedgeplanstatus
  23639. required: true
  23640. type: string
  23641. produces:
  23642. - application/json
  23643. responses:
  23644. "200":
  23645. description: OK
  23646. schema:
  23647. items:
  23648. $ref: '#/definitions/models.Ermcp3HedgePlan'
  23649. type: array
  23650. "500":
  23651. description: Internal Server Error
  23652. schema:
  23653. $ref: '#/definitions/app.Response'
  23654. security:
  23655. - ApiKeyAuth: []
  23656. summary: 查询套保计划
  23657. tags:
  23658. - 企业风险管理v3(app)
  23659. /Ermcp3/QueryInnerTradeLink:
  23660. get:
  23661. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  23662. parameters:
  23663. - description: 外部成交单号
  23664. in: query
  23665. name: outtradeid
  23666. required: true
  23667. type: integer
  23668. produces:
  23669. - application/json
  23670. responses:
  23671. "200":
  23672. description: OK
  23673. schema:
  23674. items:
  23675. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  23676. type: array
  23677. "500":
  23678. description: Internal Server Error
  23679. schema:
  23680. $ref: '#/definitions/app.Response'
  23681. security:
  23682. - ApiKeyAuth: []
  23683. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  23684. tags:
  23685. - 企业风险管理v3(app)
  23686. /Ermcp3/QueryMiddleGoodsDetail:
  23687. get:
  23688. parameters:
  23689. - description: 用户id
  23690. in: query
  23691. name: userid
  23692. required: true
  23693. type: integer
  23694. - description: 用户类型 2-机构 7-企业成员
  23695. in: query
  23696. name: usertype
  23697. type: integer
  23698. - description: 套保品种id
  23699. in: query
  23700. name: middlegoodsid
  23701. type: integer
  23702. produces:
  23703. - application/json
  23704. responses:
  23705. "200":
  23706. description: OK
  23707. schema:
  23708. items:
  23709. $ref: '#/definitions/models.TBMiddleGoods'
  23710. type: array
  23711. "500":
  23712. description: Internal Server Error
  23713. schema:
  23714. $ref: '#/definitions/app.Response'
  23715. security:
  23716. - ApiKeyAuth: []
  23717. summary: 查询套保品种详情(套保品种/商品详情)
  23718. tags:
  23719. - 企业风险管理v3(app)
  23720. /Ermcp3/QueryOutTradeLink:
  23721. get:
  23722. description: 页面 app 现货->期现关联->外部成交单关联
  23723. parameters:
  23724. - description: 用户ID(填登录用户的userid)
  23725. in: query
  23726. name: userid
  23727. required: true
  23728. type: integer
  23729. - description: 外部订单号(模糊匹配)
  23730. in: query
  23731. name: outtradeid
  23732. type: string
  23733. - description: 合约名称/代码(模糊匹配)
  23734. in: query
  23735. name: goodsname
  23736. type: string
  23737. - description: 关联状态 0-未关联 1-已关联
  23738. in: query
  23739. name: hasinnerorder
  23740. type: integer
  23741. produces:
  23742. - application/json
  23743. responses:
  23744. "200":
  23745. description: OK
  23746. schema:
  23747. items:
  23748. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  23749. type: array
  23750. "500":
  23751. description: Internal Server Error
  23752. schema:
  23753. $ref: '#/definitions/app.Response'
  23754. security:
  23755. - ApiKeyAuth: []
  23756. summary: 查询外部成交单关联
  23757. tags:
  23758. - 企业风险管理v3(app)
  23759. /Ermcp3/QueryPaAreaAuditCfg:
  23760. get:
  23761. parameters:
  23762. - description: 用户id
  23763. in: query
  23764. name: userid
  23765. required: true
  23766. type: integer
  23767. produces:
  23768. - application/json
  23769. responses:
  23770. "200":
  23771. description: OK
  23772. schema:
  23773. items:
  23774. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  23775. type: array
  23776. "500":
  23777. description: Internal Server Error
  23778. schema:
  23779. $ref: '#/definitions/app.Response'
  23780. security:
  23781. - ApiKeyAuth: []
  23782. summary: 查询审核设置
  23783. tags:
  23784. - 企业风险管理v3(app)
  23785. /Ermcp3/QueryPaAreaSubject:
  23786. get:
  23787. parameters:
  23788. - description: 用户id
  23789. in: query
  23790. name: userid
  23791. required: true
  23792. type: integer
  23793. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  23794. in: query
  23795. name: subjectid
  23796. type: integer
  23797. - description: 主体类型 - 1:交易主体 2:业务部门
  23798. in: query
  23799. name: subjecttype
  23800. type: integer
  23801. - description: '主体状态 - 1:正常 2: 停用'
  23802. in: query
  23803. name: subjectstatus
  23804. type: integer
  23805. produces:
  23806. - application/json
  23807. responses:
  23808. "200":
  23809. description: OK
  23810. schema:
  23811. items:
  23812. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  23813. type: array
  23814. "500":
  23815. description: Internal Server Error
  23816. schema:
  23817. $ref: '#/definitions/app.Response'
  23818. security:
  23819. - ApiKeyAuth: []
  23820. summary: 查询交易主体
  23821. tags:
  23822. - 企业风险管理v3(app)
  23823. /Ermcp3/QueryPaTradeLink:
  23824. get:
  23825. description: 页面 app 现货->期现关联->期现单据关联
  23826. parameters:
  23827. - description: 用户ID
  23828. in: query
  23829. name: userid
  23830. required: true
  23831. type: integer
  23832. produces:
  23833. - application/json
  23834. responses:
  23835. "200":
  23836. description: OK
  23837. schema:
  23838. items:
  23839. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  23840. type: array
  23841. "500":
  23842. description: Internal Server Error
  23843. schema:
  23844. $ref: '#/definitions/app.Response'
  23845. security:
  23846. - ApiKeyAuth: []
  23847. summary: 查询期现单据关联
  23848. tags:
  23849. - 企业风险管理v3(app)
  23850. /Ermcp3/QueryPaTradeLinkDetail:
  23851. get:
  23852. description: 页面 app 现货->期现关联->关联记录
  23853. parameters:
  23854. - description: 用户ID(填登录用户的userid)
  23855. in: query
  23856. name: userid
  23857. required: true
  23858. type: integer
  23859. - description: 关联状态 1:成功 2:失败 3:解绑
  23860. in: query
  23861. name: linkstatus
  23862. type: integer
  23863. - description: 期货订单号(模糊匹配)
  23864. in: query
  23865. name: tradeid
  23866. type: string
  23867. - description: 现货编号(模糊匹配)
  23868. in: query
  23869. name: contractno
  23870. type: string
  23871. - description: 期货账户(模糊匹配)
  23872. in: query
  23873. name: taname
  23874. type: string
  23875. produces:
  23876. - application/json
  23877. responses:
  23878. "200":
  23879. description: OK
  23880. schema:
  23881. items:
  23882. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  23883. type: array
  23884. "500":
  23885. description: Internal Server Error
  23886. schema:
  23887. $ref: '#/definitions/app.Response'
  23888. security:
  23889. - ApiKeyAuth: []
  23890. summary: 查询期现关联记录
  23891. tags:
  23892. - 企业风险管理v3(app)
  23893. /Ermcp3/QueryParamChangeApp:
  23894. get:
  23895. description: |-
  23896. 原型页面:
  23897. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  23898. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  23899. parameters:
  23900. - description: 用户ID
  23901. in: query
  23902. name: userid
  23903. required: true
  23904. type: integer
  23905. - description: 现货品种id
  23906. in: query
  23907. name: deliverygoodsid
  23908. type: integer
  23909. - description: 现货商品id
  23910. in: query
  23911. name: wrstandardid
  23912. type: integer
  23913. - description: 套保商品id
  23914. in: query
  23915. name: middlegoodsid
  23916. type: integer
  23917. - description: 操作类型 1:新增 2:修改
  23918. in: query
  23919. name: operatetype
  23920. type: integer
  23921. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  23922. in: query
  23923. name: paramchangetype
  23924. type: integer
  23925. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23926. in: query
  23927. name: ftstatus
  23928. type: string
  23929. produces:
  23930. - application/json
  23931. responses:
  23932. "200":
  23933. description: OK
  23934. schema:
  23935. items:
  23936. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  23937. type: array
  23938. "500":
  23939. description: Internal Server Error
  23940. schema:
  23941. $ref: '#/definitions/app.Response'
  23942. security:
  23943. - ApiKeyAuth: []
  23944. summary: 查询现货商品参数变更申请(流水)
  23945. tags:
  23946. - 企业风险管理v3(app)
  23947. /Ermcp3/QueryRootUserAccount:
  23948. get:
  23949. parameters:
  23950. - description: 用户ID
  23951. in: query
  23952. name: userid
  23953. required: true
  23954. type: integer
  23955. produces:
  23956. - application/json
  23957. responses:
  23958. "200":
  23959. description: OK
  23960. schema:
  23961. items:
  23962. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  23963. type: array
  23964. "500":
  23965. description: Internal Server Error
  23966. schema:
  23967. $ref: '#/definitions/app.Response'
  23968. security:
  23969. - ApiKeyAuth: []
  23970. summary: 查询顶级用户信息
  23971. tags:
  23972. - 企业风险管理v3(app)
  23973. /Ermcp3/QuerySCMiddleGoods:
  23974. get:
  23975. description: |-
  23976. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  23977. 现货编号 即 合同编号
  23978. parameters:
  23979. - description: 用户ID(填登录用户的userid)
  23980. in: query
  23981. name: userid
  23982. required: true
  23983. type: integer
  23984. - description: 买卖方向 0-买 1-卖
  23985. in: query
  23986. name: buyorsell
  23987. required: true
  23988. type: integer
  23989. - description: 商品组id
  23990. in: query
  23991. name: goodsgroupid
  23992. required: true
  23993. type: integer
  23994. - description: 业务类型 1:套保 2:套利
  23995. in: query
  23996. name: biztype
  23997. type: integer
  23998. - description: 现货编号(模糊匹配)
  23999. in: query
  24000. name: contractno
  24001. type: string
  24002. - description: 对手方(模糊匹配)
  24003. in: query
  24004. name: customername
  24005. type: string
  24006. - description: 现货商品名称(模糊匹配)
  24007. in: query
  24008. name: wrstandardname
  24009. type: string
  24010. produces:
  24011. - application/json
  24012. responses:
  24013. "200":
  24014. description: OK
  24015. schema:
  24016. items:
  24017. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  24018. type: array
  24019. "500":
  24020. description: Internal Server Error
  24021. schema:
  24022. $ref: '#/definitions/app.Response'
  24023. security:
  24024. - ApiKeyAuth: []
  24025. summary: 查询现货订单
  24026. tags:
  24027. - 企业风险管理v3(app)
  24028. /Ermcp3/QuerySpotContract:
  24029. get:
  24030. parameters:
  24031. - description: 用户id(当指定contractid, userid可不填)
  24032. in: query
  24033. name: userid
  24034. required: true
  24035. type: integer
  24036. - description: 用户类型 2-机构 7-企业成员
  24037. in: query
  24038. name: usertype
  24039. type: integer
  24040. - description: 合同类型 1-采购, -1-销售
  24041. in: query
  24042. name: contracttype
  24043. type: integer
  24044. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  24045. in: query
  24046. name: querytype
  24047. type: string
  24048. - description: 合同ID(SpotContractId)
  24049. in: query
  24050. name: contractid
  24051. type: string
  24052. - description: 合同编号(模糊匹配)
  24053. in: query
  24054. name: contractno
  24055. type: string
  24056. - description: 商品名称(模糊匹配)
  24057. in: query
  24058. name: wrstandardname
  24059. type: string
  24060. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24061. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24062. in: query
  24063. name: status
  24064. type: string
  24065. - description: 是否只查今日的合同 1-查今日合同
  24066. in: query
  24067. name: istoday
  24068. type: integer
  24069. produces:
  24070. - application/json
  24071. responses:
  24072. "200":
  24073. description: OK
  24074. schema:
  24075. items:
  24076. $ref: '#/definitions/models.Ermcp3Contract'
  24077. type: array
  24078. "500":
  24079. description: Internal Server Error
  24080. schema:
  24081. $ref: '#/definitions/app.Response'
  24082. security:
  24083. - ApiKeyAuth: []
  24084. summary: 查询现货合同
  24085. tags:
  24086. - 企业风险管理v3(app)
  24087. /Ermcp3/QuerySpotContractBS:
  24088. get:
  24089. parameters:
  24090. - description: 用户id
  24091. in: query
  24092. name: userid
  24093. required: true
  24094. type: integer
  24095. - description: 用户类型 2-机构 7-企业成员
  24096. in: query
  24097. name: usertype
  24098. type: integer
  24099. - description: 合同类型 1-采购, -1-销售
  24100. in: query
  24101. name: contracttype
  24102. required: true
  24103. type: integer
  24104. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  24105. in: query
  24106. name: querytype
  24107. type: integer
  24108. - description: 合同ID(SpotContractId)
  24109. in: query
  24110. name: contractid
  24111. type: string
  24112. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24113. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24114. in: query
  24115. name: status
  24116. type: string
  24117. - description: 是否只查今日的合同 1-查今日合同
  24118. in: query
  24119. name: istoday
  24120. type: integer
  24121. produces:
  24122. - application/json
  24123. responses:
  24124. "200":
  24125. description: OK
  24126. schema:
  24127. items:
  24128. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  24129. type: array
  24130. "500":
  24131. description: Internal Server Error
  24132. schema:
  24133. $ref: '#/definitions/app.Response'
  24134. security:
  24135. - ApiKeyAuth: []
  24136. summary: 查询合同(采购/销售)
  24137. tags:
  24138. - 企业风险管理v3(app)
  24139. /Ermcp3/QuerySpotGoodsPrice:
  24140. get:
  24141. parameters:
  24142. - description: 用户ID
  24143. in: query
  24144. name: userid
  24145. required: true
  24146. type: integer
  24147. produces:
  24148. - application/json
  24149. responses:
  24150. "200":
  24151. description: OK
  24152. schema:
  24153. items:
  24154. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  24155. type: array
  24156. "500":
  24157. description: Internal Server Error
  24158. schema:
  24159. $ref: '#/definitions/app.Response'
  24160. security:
  24161. - ApiKeyAuth: []
  24162. summary: 查询现货市价(现货市价)
  24163. tags:
  24164. - 企业风险管理v3(app)
  24165. /Ermcp3/QuerySpotGoodsPriceLog:
  24166. get:
  24167. parameters:
  24168. - description: 用户ID
  24169. in: query
  24170. name: userid
  24171. required: true
  24172. type: integer
  24173. - description: 现货商品ID
  24174. in: query
  24175. name: deliverygoodsid
  24176. required: true
  24177. type: integer
  24178. - description: 品牌ID
  24179. in: query
  24180. name: brandid
  24181. type: integer
  24182. - description: 品类ID
  24183. in: query
  24184. name: wrstandardid
  24185. type: integer
  24186. produces:
  24187. - application/json
  24188. responses:
  24189. "200":
  24190. description: OK
  24191. schema:
  24192. items:
  24193. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  24194. type: array
  24195. "500":
  24196. description: Internal Server Error
  24197. schema:
  24198. $ref: '#/definitions/app.Response'
  24199. security:
  24200. - ApiKeyAuth: []
  24201. summary: 查询现货市价详情(现货市价/详情)
  24202. tags:
  24203. - 企业风险管理v3(app)
  24204. /Ermcp3/QuerySubTaaccount:
  24205. get:
  24206. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  24207. parameters:
  24208. - description: 母账号id
  24209. in: query
  24210. name: parentaccountid
  24211. type: integer
  24212. - description: 母账号代码
  24213. in: query
  24214. name: parentaccountcode
  24215. type: string
  24216. produces:
  24217. - application/json
  24218. responses:
  24219. "200":
  24220. description: OK
  24221. schema:
  24222. items:
  24223. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  24224. type: array
  24225. "500":
  24226. description: Internal Server Error
  24227. schema:
  24228. $ref: '#/definitions/app.Response'
  24229. security:
  24230. - ApiKeyAuth: []
  24231. summary: 查询期货子账户
  24232. tags:
  24233. - 企业风险管理v3(app)
  24234. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  24235. get:
  24236. parameters:
  24237. - description: 套期项目ID
  24238. in: query
  24239. name: hedgeditemid
  24240. required: true
  24241. type: integer
  24242. produces:
  24243. - application/json
  24244. responses:
  24245. "200":
  24246. description: OK
  24247. schema:
  24248. items:
  24249. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  24250. type: array
  24251. "500":
  24252. description: Internal Server Error
  24253. schema:
  24254. $ref: '#/definitions/app.Response'
  24255. security:
  24256. - ApiKeyAuth: []
  24257. summary: 现货成交明细查询
  24258. tags:
  24259. - 企业风险管理v8
  24260. /Ermcp8/QueryERMCP2HedgedItemspot:
  24261. get:
  24262. parameters:
  24263. - description: 套期项目ID
  24264. in: query
  24265. name: hedgeditemid
  24266. required: true
  24267. type: integer
  24268. produces:
  24269. - application/json
  24270. responses:
  24271. "200":
  24272. description: OK
  24273. schema:
  24274. items:
  24275. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  24276. type: array
  24277. "500":
  24278. description: Internal Server Error
  24279. schema:
  24280. $ref: '#/definitions/app.Response'
  24281. security:
  24282. - ApiKeyAuth: []
  24283. summary: 套期计划明细查询
  24284. tags:
  24285. - 企业风险管理v8
  24286. /Ermcp8/QueryERMCPJRLinkPos:
  24287. get:
  24288. parameters:
  24289. - description: 套期项目ID
  24290. in: query
  24291. name: hedgeditemid
  24292. required: true
  24293. type: integer
  24294. produces:
  24295. - application/json
  24296. responses:
  24297. "200":
  24298. description: OK
  24299. schema:
  24300. items:
  24301. $ref: '#/definitions/models.Ermcpjrlinkpos'
  24302. type: array
  24303. "500":
  24304. description: Internal Server Error
  24305. schema:
  24306. $ref: '#/definitions/app.Response'
  24307. security:
  24308. - ApiKeyAuth: []
  24309. summary: 期货持仓明细查询
  24310. tags:
  24311. - 企业风险管理v8
  24312. /Ermcp8/QueryERMCPPatradeLinkDetail:
  24313. get:
  24314. parameters:
  24315. - description: 套期项目ID
  24316. in: query
  24317. name: hedgeditemid
  24318. required: true
  24319. type: integer
  24320. produces:
  24321. - application/json
  24322. responses:
  24323. "200":
  24324. description: OK
  24325. schema:
  24326. items:
  24327. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  24328. type: array
  24329. "500":
  24330. description: Internal Server Error
  24331. schema:
  24332. $ref: '#/definitions/app.Response'
  24333. security:
  24334. - ApiKeyAuth: []
  24335. summary: 期货成交单明细查询
  24336. tags:
  24337. - 企业风险管理v8
  24338. /Ermcp8/QueryErmcp2HedgedItem:
  24339. get:
  24340. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  24341. parameters:
  24342. - description: 用户ID
  24343. in: query
  24344. name: userid
  24345. required: true
  24346. type: string
  24347. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  24348. in: query
  24349. name: hedgedtype
  24350. type: integer
  24351. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24352. in: query
  24353. name: hedgeditemstatus
  24354. type: integer
  24355. produces:
  24356. - application/json
  24357. responses:
  24358. "200":
  24359. description: OK
  24360. schema:
  24361. items:
  24362. $ref: '#/definitions/models.Ermcp2hedgeditem'
  24363. type: array
  24364. "500":
  24365. description: Internal Server Error
  24366. schema:
  24367. $ref: '#/definitions/app.Response'
  24368. security:
  24369. - ApiKeyAuth: []
  24370. summary: 查询被套期项目信息
  24371. tags:
  24372. - 企业风险管理v8
  24373. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  24374. get:
  24375. parameters:
  24376. - description: 用户编号
  24377. in: query
  24378. name: userid
  24379. required: true
  24380. type: integer
  24381. - description: 起始日期(格式yyyymmdd)
  24382. in: query
  24383. name: begindate
  24384. type: string
  24385. - description: 终止日期(格式yyyymmdd)
  24386. in: query
  24387. name: enddate
  24388. type: string
  24389. - description: 合约代码
  24390. in: query
  24391. name: goodscode
  24392. type: string
  24393. - description: 合约名称
  24394. in: query
  24395. name: goodsname
  24396. type: string
  24397. - description: 成交单号
  24398. in: query
  24399. name: tradeid
  24400. type: integer
  24401. - description: 方向 - 0:买 1:卖
  24402. in: query
  24403. name: buyorsell
  24404. type: integer
  24405. - description: 套期主体
  24406. in: query
  24407. name: accountname
  24408. required: true
  24409. type: string
  24410. produces:
  24411. - application/json
  24412. responses:
  24413. "200":
  24414. description: OK
  24415. schema:
  24416. items:
  24417. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  24418. type: array
  24419. "500":
  24420. description: Internal Server Error
  24421. schema:
  24422. $ref: '#/definitions/app.Response'
  24423. security:
  24424. - ApiKeyAuth: []
  24425. summary: 内部未关联成交单查询
  24426. tags:
  24427. - 企业风险管理v8
  24428. /Erms2/QueryArbitrageStrategy:
  24429. get:
  24430. parameters:
  24431. - description: 账户ID
  24432. in: query
  24433. name: userid
  24434. required: true
  24435. type: integer
  24436. - description: 商品组ID(品种ID)
  24437. in: query
  24438. name: goodsgroupid
  24439. type: string
  24440. produces:
  24441. - application/json
  24442. responses:
  24443. "200":
  24444. description: OK
  24445. schema:
  24446. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  24447. "500":
  24448. description: Internal Server Error
  24449. schema:
  24450. $ref: '#/definitions/app.Response'
  24451. security:
  24452. - ApiKeyAuth: []
  24453. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  24454. tags:
  24455. - 风险管理
  24456. /Erms2/QueryInnerTradeDetail:
  24457. get:
  24458. parameters:
  24459. - description: 资金账户
  24460. in: query
  24461. name: accountid
  24462. required: true
  24463. type: integer
  24464. produces:
  24465. - application/json
  24466. responses:
  24467. "200":
  24468. description: OK
  24469. schema:
  24470. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  24471. "500":
  24472. description: Internal Server Error
  24473. schema:
  24474. $ref: '#/definitions/app.Response'
  24475. security:
  24476. - ApiKeyAuth: []
  24477. summary: 查询内部成交单信息
  24478. tags:
  24479. - 风险管理
  24480. /Erms2/QuerySpotContract:
  24481. get:
  24482. parameters:
  24483. - description: 策略申请ID
  24484. in: query
  24485. name: asapplyid
  24486. required: true
  24487. type: integer
  24488. - description: 现货合同ID
  24489. in: query
  24490. name: spotcontractid
  24491. type: integer
  24492. produces:
  24493. - application/json
  24494. responses:
  24495. "200":
  24496. description: OK
  24497. schema:
  24498. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  24499. "500":
  24500. description: Internal Server Error
  24501. schema:
  24502. $ref: '#/definitions/app.Response'
  24503. security:
  24504. - ApiKeyAuth: []
  24505. summary: 查询现货合同表信息(指定策略ID、未结束的)
  24506. tags:
  24507. - 风险管理
  24508. /Erms3/AddErms2ASApply:
  24509. post:
  24510. parameters:
  24511. - description: 申请参数
  24512. in: body
  24513. name: jsonBody
  24514. required: true
  24515. schema:
  24516. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  24517. produces:
  24518. - application/json
  24519. responses:
  24520. "200":
  24521. description: OK
  24522. schema:
  24523. $ref: '#/definitions/app.Response'
  24524. "500":
  24525. description: Internal Server Error
  24526. schema:
  24527. $ref: '#/definitions/app.Response'
  24528. security:
  24529. - ApiKeyAuth: []
  24530. summary: 新增期现套利业务申请
  24531. tags:
  24532. - 风险管理v3
  24533. /Erms3/AddErms2SpotTradeApply:
  24534. post:
  24535. parameters:
  24536. - description: 申请参数
  24537. in: body
  24538. name: jsonBody
  24539. required: true
  24540. schema:
  24541. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  24542. produces:
  24543. - application/json
  24544. responses:
  24545. "200":
  24546. description: OK
  24547. schema:
  24548. $ref: '#/definitions/app.Response'
  24549. "500":
  24550. description: Internal Server Error
  24551. schema:
  24552. $ref: '#/definitions/app.Response'
  24553. security:
  24554. - ApiKeyAuth: []
  24555. summary: 新增现货贸易业务申请
  24556. tags:
  24557. - 风险管理v3
  24558. /Erms3/AddSpotContractApply:
  24559. post:
  24560. parameters:
  24561. - description: 申请参数
  24562. in: body
  24563. name: jsonBody
  24564. required: true
  24565. schema:
  24566. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  24567. produces:
  24568. - application/json
  24569. responses:
  24570. "200":
  24571. description: OK
  24572. schema:
  24573. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  24574. "500":
  24575. description: Internal Server Error
  24576. schema:
  24577. $ref: '#/definitions/app.Response'
  24578. security:
  24579. - ApiKeyAuth: []
  24580. summary: 新增现货合同申请
  24581. tags:
  24582. - 风险管理v3
  24583. /Erms3/AddUserInfoApply:
  24584. post:
  24585. parameters:
  24586. - description: 用户信息
  24587. in: body
  24588. name: jsonBody
  24589. required: true
  24590. schema:
  24591. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  24592. produces:
  24593. - application/json
  24594. responses:
  24595. "200":
  24596. description: OK
  24597. schema:
  24598. $ref: '#/definitions/app.Response'
  24599. "500":
  24600. description: Internal Server Error
  24601. schema:
  24602. $ref: '#/definitions/app.Response'
  24603. security:
  24604. - ApiKeyAuth: []
  24605. summary: 新增客户申请
  24606. tags:
  24607. - 风险管理v3
  24608. /Erms3/DeleteUserInfoApply:
  24609. get:
  24610. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  24611. parameters:
  24612. - description: 用户ID
  24613. in: query
  24614. name: userID
  24615. required: true
  24616. type: integer
  24617. produces:
  24618. - application/json
  24619. responses:
  24620. "200":
  24621. description: OK
  24622. schema:
  24623. $ref: '#/definitions/app.Response'
  24624. "500":
  24625. description: Internal Server Error
  24626. schema:
  24627. $ref: '#/definitions/app.Response'
  24628. security:
  24629. - ApiKeyAuth: []
  24630. summary: 删除客户申请
  24631. tags:
  24632. - 风险管理v3
  24633. /Erms3/ModifyUserInfoApply:
  24634. post:
  24635. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  24636. int, "userstate": 2 }'
  24637. parameters:
  24638. - description: 用户信息
  24639. in: body
  24640. name: jsonBody
  24641. required: true
  24642. schema:
  24643. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  24644. produces:
  24645. - application/json
  24646. responses:
  24647. "200":
  24648. description: OK
  24649. schema:
  24650. $ref: '#/definitions/app.Response'
  24651. "500":
  24652. description: Internal Server Error
  24653. schema:
  24654. $ref: '#/definitions/app.Response'
  24655. security:
  24656. - ApiKeyAuth: []
  24657. summary: 修改客户申请
  24658. tags:
  24659. - 风险管理v3
  24660. /Erms3/QueryBusinessInfo:
  24661. get:
  24662. parameters:
  24663. - description: 资金账号ID列表,用逗号分隔
  24664. in: query
  24665. name: accountids
  24666. required: true
  24667. type: string
  24668. - description: 状态,0为未结束 1为已结束
  24669. in: query
  24670. name: status
  24671. required: true
  24672. type: integer
  24673. produces:
  24674. - application/json
  24675. responses:
  24676. "200":
  24677. description: OK
  24678. schema:
  24679. items:
  24680. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  24681. type: array
  24682. "500":
  24683. description: Internal Server Error
  24684. schema:
  24685. $ref: '#/definitions/app.Response'
  24686. security:
  24687. - ApiKeyAuth: []
  24688. summary: 查询业务表单数据
  24689. tags:
  24690. - 风险管理v3
  24691. /Erms3/QueryPendingAuditContract:
  24692. get:
  24693. parameters:
  24694. - description: 资金账号ID列表,逗号隔开
  24695. in: query
  24696. name: accountids
  24697. required: true
  24698. type: string
  24699. - description: 合同类型 1-采购 -1-销售
  24700. in: query
  24701. name: contracttype
  24702. required: true
  24703. type: integer
  24704. - description: 合同模式 1-普通 2-回购
  24705. in: query
  24706. name: contractmode
  24707. required: true
  24708. type: integer
  24709. produces:
  24710. - application/json
  24711. responses:
  24712. "200":
  24713. description: OK
  24714. schema:
  24715. items:
  24716. $ref: '#/definitions/erms3.QryAuditContractRsp'
  24717. type: array
  24718. "500":
  24719. description: Internal Server Error
  24720. schema:
  24721. $ref: '#/definitions/app.Response'
  24722. security:
  24723. - ApiKeyAuth: []
  24724. summary: 查询待审核合同
  24725. tags:
  24726. - 风险管理v3
  24727. /Erms3/QueryPendingBusiness:
  24728. get:
  24729. parameters:
  24730. - description: 资金账号ID列表,逗号隔开
  24731. in: query
  24732. name: accountids
  24733. required: true
  24734. type: string
  24735. produces:
  24736. - application/json
  24737. responses:
  24738. "200":
  24739. description: OK
  24740. schema:
  24741. items:
  24742. $ref: '#/definitions/erms3.QryPendingBizRsp'
  24743. type: array
  24744. "500":
  24745. description: Internal Server Error
  24746. schema:
  24747. $ref: '#/definitions/app.Response'
  24748. security:
  24749. - ApiKeyAuth: []
  24750. summary: 查询待审核基差贸易业务
  24751. tags:
  24752. - 风险管理v3
  24753. /Erms3/QuerySpotContractAppleForm:
  24754. get:
  24755. parameters:
  24756. - description: 登录账号
  24757. in: query
  24758. name: loginID
  24759. required: true
  24760. type: integer
  24761. produces:
  24762. - application/json
  24763. responses:
  24764. "200":
  24765. description: OK
  24766. schema:
  24767. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  24768. "500":
  24769. description: Internal Server Error
  24770. schema:
  24771. $ref: '#/definitions/app.Response'
  24772. security:
  24773. - ApiKeyAuth: []
  24774. summary: 查询合同申请表单数据
  24775. tags:
  24776. - 风险管理v3
  24777. /Erms3/QuerySpotContractDetail:
  24778. get:
  24779. parameters:
  24780. - description: 资金账号ID列表,用逗号分隔
  24781. in: query
  24782. name: accountids
  24783. required: true
  24784. type: string
  24785. - description: 合同类型,1为采购合同 -1为销售合同
  24786. in: query
  24787. name: contracttype
  24788. required: true
  24789. type: integer
  24790. - description: 合同模式,1为普通合同 2为回购销售合同
  24791. in: query
  24792. name: contractmode
  24793. required: true
  24794. type: integer
  24795. - description: 状态,0为履约中 1为已完成
  24796. in: query
  24797. name: status
  24798. required: true
  24799. type: integer
  24800. produces:
  24801. - application/json
  24802. responses:
  24803. "200":
  24804. description: OK
  24805. schema:
  24806. items:
  24807. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  24808. type: array
  24809. "500":
  24810. description: Internal Server Error
  24811. schema:
  24812. $ref: '#/definitions/app.Response'
  24813. security:
  24814. - ApiKeyAuth: []
  24815. summary: 查询合同详细信息
  24816. tags:
  24817. - 风险管理v3
  24818. /Erms3/QueryUserInfoApplies:
  24819. get:
  24820. parameters:
  24821. - description: 页码
  24822. in: query
  24823. name: page
  24824. type: integer
  24825. - description: 每页条数
  24826. in: query
  24827. name: pagesize
  24828. type: integer
  24829. - description: 客户名称,支持模糊查询
  24830. in: query
  24831. name: userName
  24832. type: string
  24833. produces:
  24834. - application/json
  24835. responses:
  24836. "200":
  24837. description: OK
  24838. schema:
  24839. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  24840. "500":
  24841. description: Internal Server Error
  24842. schema:
  24843. $ref: '#/definitions/app.Response'
  24844. security:
  24845. - ApiKeyAuth: []
  24846. summary: 客户申请信息查询
  24847. tags:
  24848. - 风险管理v3
  24849. /Erms3/QueryUserInfos:
  24850. get:
  24851. parameters:
  24852. - description: 页码
  24853. in: query
  24854. name: page
  24855. type: integer
  24856. - description: 每页条数
  24857. in: query
  24858. name: pagesize
  24859. type: integer
  24860. - description: 客户名称,支持模糊查询
  24861. in: query
  24862. name: userName
  24863. type: string
  24864. produces:
  24865. - application/json
  24866. responses:
  24867. "200":
  24868. description: OK
  24869. schema:
  24870. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  24871. "500":
  24872. description: Internal Server Error
  24873. schema:
  24874. $ref: '#/definitions/app.Response'
  24875. security:
  24876. - ApiKeyAuth: []
  24877. summary: 客户信息查询
  24878. tags:
  24879. - 风险管理v3
  24880. /HSBY/GetHsbyMyCount:
  24881. get:
  24882. description: 说明: 不包括已完成的数量。
  24883. parameters:
  24884. - description: 资金账户列表,格式:1,2,3
  24885. in: query
  24886. name: accountIDs
  24887. required: true
  24888. type: string
  24889. produces:
  24890. - application/json
  24891. responses:
  24892. "200":
  24893. description: OK
  24894. schema:
  24895. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  24896. "500":
  24897. description: Internal Server Error
  24898. schema:
  24899. $ref: '#/definitions/app.Response'
  24900. security:
  24901. - ApiKeyAuth: []
  24902. summary: 获取我的订单与包裹数量
  24903. tags:
  24904. - 定制【海商报业】
  24905. /HSBY/QueryClientFixedADConfigs:
  24906. get:
  24907. produces:
  24908. - application/json
  24909. responses:
  24910. "200":
  24911. description: OK
  24912. schema:
  24913. $ref: '#/definitions/models.Clientfixedadconfig'
  24914. "500":
  24915. description: Internal Server Error
  24916. schema:
  24917. $ref: '#/definitions/app.Response'
  24918. security:
  24919. - ApiKeyAuth: []
  24920. summary: 获取终端固定广告配置
  24921. tags:
  24922. - 定制【海商报业】
  24923. /HSBY/QueryHsbyBuyMyTradeDetail:
  24924. get:
  24925. parameters:
  24926. - description: 页码
  24927. in: query
  24928. name: page
  24929. type: integer
  24930. - description: 每页条数
  24931. in: query
  24932. name: pagesize
  24933. type: integer
  24934. - description: 资金账户列表,格式:1,2,3
  24935. in: query
  24936. name: accountIDs
  24937. required: true
  24938. type: string
  24939. produces:
  24940. - application/json
  24941. responses:
  24942. "200":
  24943. description: OK
  24944. schema:
  24945. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  24946. "500":
  24947. description: Internal Server Error
  24948. schema:
  24949. $ref: '#/definitions/app.Response'
  24950. security:
  24951. - ApiKeyAuth: []
  24952. summary: 查询"我的订单 - 已完成"单据信息
  24953. tags:
  24954. - 定制【海商报业】
  24955. /HSBY/QueryHsbyGoodsOrderDetails:
  24956. get:
  24957. description: 说明:查询结果已按委托价格和委托时间排序
  24958. parameters:
  24959. - description: 商品ID
  24960. in: query
  24961. name: goodsID
  24962. required: true
  24963. type: integer
  24964. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  24965. in: query
  24966. name: accountIDs
  24967. type: string
  24968. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  24969. in: query
  24970. name: buyOrSell
  24971. type: integer
  24972. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  24973. in: query
  24974. name: price
  24975. type: number
  24976. - description: 档位,不传则默认为3档
  24977. in: query
  24978. name: speed
  24979. type: integer
  24980. produces:
  24981. - application/json
  24982. responses:
  24983. "200":
  24984. description: OK
  24985. schema:
  24986. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  24987. "500":
  24988. description: Internal Server Error
  24989. schema:
  24990. $ref: '#/definitions/app.Response'
  24991. security:
  24992. - ApiKeyAuth: []
  24993. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  24994. tags:
  24995. - 定制【海商报业】
  24996. /HSBY/QueryHsbyListingGoodsDetail:
  24997. get:
  24998. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  24999. parameters:
  25000. - description: 商品ID
  25001. in: query
  25002. name: goodsID
  25003. required: true
  25004. type: integer
  25005. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  25006. in: query
  25007. name: accountID
  25008. type: integer
  25009. produces:
  25010. - application/json
  25011. responses:
  25012. "200":
  25013. description: OK
  25014. schema:
  25015. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  25016. "500":
  25017. description: Internal Server Error
  25018. schema:
  25019. $ref: '#/definitions/app.Response'
  25020. security:
  25021. - ApiKeyAuth: []
  25022. summary: 查询二级市场(挂牌点选)商品信息详情
  25023. tags:
  25024. - 定制【海商报业】
  25025. /HSBY/QueryHsbyMarketGoodsDetail:
  25026. get:
  25027. parameters:
  25028. - description: 委托单号
  25029. in: query
  25030. name: orderID
  25031. required: true
  25032. type: integer
  25033. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  25034. in: query
  25035. name: accountID
  25036. type: integer
  25037. produces:
  25038. - application/json
  25039. responses:
  25040. "200":
  25041. description: OK
  25042. schema:
  25043. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25044. "500":
  25045. description: Internal Server Error
  25046. schema:
  25047. $ref: '#/definitions/app.Response'
  25048. security:
  25049. - ApiKeyAuth: []
  25050. summary: 查询三级市场(商城)商品信息详情
  25051. tags:
  25052. - 定制【海商报业】
  25053. /HSBY/QueryHsbyMarketGoodses:
  25054. get:
  25055. parameters:
  25056. - description: 页码
  25057. in: query
  25058. name: page
  25059. type: integer
  25060. - description: 每页条数
  25061. in: query
  25062. name: pagesize
  25063. type: integer
  25064. - description: 市场ID列表,格式:1,2,3
  25065. in: query
  25066. name: marketIDs
  25067. required: true
  25068. type: string
  25069. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  25070. in: query
  25071. name: accountID
  25072. required: true
  25073. type: integer
  25074. - description: 类别ID
  25075. in: query
  25076. name: categoryID
  25077. type: integer
  25078. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25079. in: query
  25080. name: goodsIDs
  25081. type: string
  25082. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  25083. in: query
  25084. name: couponTypeID
  25085. type: integer
  25086. produces:
  25087. - application/json
  25088. responses:
  25089. "200":
  25090. description: OK
  25091. schema:
  25092. $ref: '#/definitions/models.HsbyMarketGoods'
  25093. "500":
  25094. description: Internal Server Error
  25095. schema:
  25096. $ref: '#/definitions/app.Response'
  25097. security:
  25098. - ApiKeyAuth: []
  25099. summary: 查询特卖商品列表(三级商城)
  25100. tags:
  25101. - 定制【海商报业】
  25102. /HSBY/QueryHsbyMarkets:
  25103. get:
  25104. produces:
  25105. - application/json
  25106. responses:
  25107. "200":
  25108. description: OK
  25109. schema:
  25110. $ref: '#/definitions/models.HsbyMarketInfo'
  25111. "500":
  25112. description: Internal Server Error
  25113. schema:
  25114. $ref: '#/definitions/app.Response'
  25115. security:
  25116. - ApiKeyAuth: []
  25117. summary: 查询海商报业相关市场信息
  25118. tags:
  25119. - 定制【海商报业】
  25120. /HSBY/QueryHsbyMyBuyOrderDetails:
  25121. get:
  25122. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  25123. parameters:
  25124. - description: 资金账户列表,格式:1,2,3
  25125. in: query
  25126. name: accountIDs
  25127. required: true
  25128. type: string
  25129. produces:
  25130. - application/json
  25131. responses:
  25132. "200":
  25133. description: OK
  25134. schema:
  25135. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  25136. "500":
  25137. description: Internal Server Error
  25138. schema:
  25139. $ref: '#/definitions/app.Response'
  25140. security:
  25141. - ApiKeyAuth: []
  25142. summary: 查询“我的订单”信息
  25143. tags:
  25144. - 定制【海商报业】
  25145. /HSBY/QueryHsbyMyGoods:
  25146. get:
  25147. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  25148. parameters:
  25149. - description: 资金账户列表,格式:1,2,3
  25150. in: query
  25151. name: accountIDs
  25152. required: true
  25153. type: string
  25154. produces:
  25155. - application/json
  25156. responses:
  25157. "200":
  25158. description: OK
  25159. schema:
  25160. $ref: '#/definitions/models.HsbyMyGoods'
  25161. "500":
  25162. description: Internal Server Error
  25163. schema:
  25164. $ref: '#/definitions/app.Response'
  25165. security:
  25166. - ApiKeyAuth: []
  25167. summary: 查询“我的商品”信息
  25168. tags:
  25169. - 定制【海商报业】
  25170. /HSBY/QueryHsbyMyPackages:
  25171. get:
  25172. parameters:
  25173. - description: 资金账户列表,格式:1,2,3
  25174. in: query
  25175. name: accountIDs
  25176. required: true
  25177. type: string
  25178. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25179. in: query
  25180. name: takeOrderStatus
  25181. type: integer
  25182. produces:
  25183. - application/json
  25184. responses:
  25185. "200":
  25186. description: OK
  25187. schema:
  25188. $ref: '#/definitions/models.HsbyMyPackage'
  25189. "500":
  25190. description: Internal Server Error
  25191. schema:
  25192. $ref: '#/definitions/app.Response'
  25193. security:
  25194. - ApiKeyAuth: []
  25195. summary: 查询我的包裹信息
  25196. tags:
  25197. - 定制【海商报业】
  25198. /HSBY/QueryHsbyPreGoodsDetail:
  25199. get:
  25200. parameters:
  25201. - description: 商品ID
  25202. in: query
  25203. name: goodsID
  25204. required: true
  25205. type: integer
  25206. - description: 资金账户,主要用于获取预售商品购买上限
  25207. in: query
  25208. name: accountID
  25209. type: integer
  25210. produces:
  25211. - application/json
  25212. responses:
  25213. "200":
  25214. description: OK
  25215. schema:
  25216. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  25217. "500":
  25218. description: Internal Server Error
  25219. schema:
  25220. $ref: '#/definitions/app.Response'
  25221. security:
  25222. - ApiKeyAuth: []
  25223. summary: 查询一级市场(预售)商品信息详情
  25224. tags:
  25225. - 定制【海商报业】
  25226. /HSBY/QueryHsbyPreGoodses:
  25227. get:
  25228. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  25229. parameters:
  25230. - description: 页码
  25231. in: query
  25232. name: page
  25233. type: integer
  25234. - description: 每页条数
  25235. in: query
  25236. name: pagesize
  25237. type: integer
  25238. - description: 市场ID列表,格式:1,2,3
  25239. in: query
  25240. name: marketIDs
  25241. required: true
  25242. type: string
  25243. - description: 目的地(省)ID
  25244. in: query
  25245. name: descProvinceID
  25246. type: integer
  25247. - description: 目的地(市)ID
  25248. in: query
  25249. name: descCityID
  25250. type: integer
  25251. produces:
  25252. - application/json
  25253. responses:
  25254. "200":
  25255. description: OK
  25256. schema:
  25257. $ref: '#/definitions/models.HsbyPreGoods'
  25258. "500":
  25259. description: Internal Server Error
  25260. schema:
  25261. $ref: '#/definitions/app.Response'
  25262. security:
  25263. - ApiKeyAuth: []
  25264. summary: 查询新品上市商品列表(一级市场预售)
  25265. tags:
  25266. - 定制【海商报业】
  25267. /HSBY/QueryHsbySellMyDetails:
  25268. get:
  25269. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  25270. parameters:
  25271. - description: 页码
  25272. in: query
  25273. name: page
  25274. type: integer
  25275. - description: 每页条数
  25276. in: query
  25277. name: pagesize
  25278. type: integer
  25279. - description: 资金账户列表,格式:1,2,3
  25280. in: query
  25281. name: accountIDs
  25282. required: true
  25283. type: string
  25284. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  25285. in: query
  25286. name: orderType
  25287. type: integer
  25288. produces:
  25289. - application/json
  25290. responses:
  25291. "200":
  25292. description: OK
  25293. schema:
  25294. $ref: '#/definitions/models.HsbySellMyDetail'
  25295. "500":
  25296. description: Internal Server Error
  25297. schema:
  25298. $ref: '#/definitions/app.Response'
  25299. security:
  25300. - ApiKeyAuth: []
  25301. summary: 查询"我的闲置"单据信息
  25302. tags:
  25303. - 定制【海商报业】
  25304. /HSBY/QueryHsbyTopGoodses:
  25305. get:
  25306. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  25307. parameters:
  25308. - description: 页码
  25309. in: query
  25310. name: page
  25311. type: integer
  25312. - description: 每页条数
  25313. in: query
  25314. name: pagesize
  25315. type: integer
  25316. - description: 市场ID列表,格式:1,2,3
  25317. in: query
  25318. name: marketIDs
  25319. required: true
  25320. type: string
  25321. - description: 目的地(省)ID
  25322. in: query
  25323. name: descProvinceID
  25324. type: integer
  25325. - description: 目的地(市)ID
  25326. in: query
  25327. name: descCityID
  25328. type: integer
  25329. produces:
  25330. - application/json
  25331. responses:
  25332. "200":
  25333. description: OK
  25334. schema:
  25335. $ref: '#/definitions/models.HsbyTopGoods'
  25336. "500":
  25337. description: Internal Server Error
  25338. schema:
  25339. $ref: '#/definitions/app.Response'
  25340. security:
  25341. - ApiKeyAuth: []
  25342. summary: 查询热卖商品列表(二级市场挂牌点选)
  25343. tags:
  25344. - 定制【海商报业】
  25345. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  25346. get:
  25347. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  25348. parameters:
  25349. - description: 商品ID
  25350. in: query
  25351. name: goodsID
  25352. required: true
  25353. type: integer
  25354. produces:
  25355. - application/json
  25356. responses:
  25357. "200":
  25358. description: OK
  25359. schema:
  25360. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25361. "500":
  25362. description: Internal Server Error
  25363. schema:
  25364. $ref: '#/definitions/app.Response'
  25365. security:
  25366. - ApiKeyAuth: []
  25367. summary: 查询游客三级市场(商城)商品信息详情
  25368. tags:
  25369. - 定制【海商报业】
  25370. /HSBY/QueryHsbyVisitorMarketGoodses:
  25371. get:
  25372. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  25373. parameters:
  25374. - description: 页码
  25375. in: query
  25376. name: page
  25377. type: integer
  25378. - description: 每页条数
  25379. in: query
  25380. name: pagesize
  25381. type: integer
  25382. - description: 市场ID列表,格式:1,2,3
  25383. in: query
  25384. name: marketIDs
  25385. required: true
  25386. type: string
  25387. - description: 类别ID
  25388. in: query
  25389. name: categoryID
  25390. type: integer
  25391. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25392. in: query
  25393. name: goodsIDs
  25394. type: string
  25395. produces:
  25396. - application/json
  25397. responses:
  25398. "200":
  25399. description: OK
  25400. schema:
  25401. $ref: '#/definitions/models.HsbyMarketGoods'
  25402. "500":
  25403. description: Internal Server Error
  25404. schema:
  25405. $ref: '#/definitions/app.Response'
  25406. security:
  25407. - ApiKeyAuth: []
  25408. summary: 查询游客特卖商品列表(三级商城)
  25409. tags:
  25410. - 定制【海商报业】
  25411. /HSBY/QueryMyCollectionOrders:
  25412. get:
  25413. parameters:
  25414. - description: 页码
  25415. in: query
  25416. name: page
  25417. type: integer
  25418. - description: 每页条数
  25419. in: query
  25420. name: pagesize
  25421. type: integer
  25422. - description: 资金账户,格式:1,2,3
  25423. in: query
  25424. name: accountIDs
  25425. required: true
  25426. type: string
  25427. produces:
  25428. - application/json
  25429. responses:
  25430. "200":
  25431. description: OK
  25432. schema:
  25433. $ref: '#/definitions/models.HsbySellCollectionOrder'
  25434. "500":
  25435. description: Internal Server Error
  25436. schema:
  25437. $ref: '#/definitions/app.Response'
  25438. security:
  25439. - ApiKeyAuth: []
  25440. summary: 我的闲置中收款信息查询
  25441. tags:
  25442. - 定制【海商报业】
  25443. /HSBY/QueryMyCouponHolds:
  25444. get:
  25445. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  25446. parameters:
  25447. - description: 资金账户列表,格式:1,2,3
  25448. in: query
  25449. name: accountIDs
  25450. required: true
  25451. type: string
  25452. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  25453. in: query
  25454. name: holdStatus
  25455. type: string
  25456. produces:
  25457. - application/json
  25458. responses:
  25459. "200":
  25460. description: OK
  25461. schema:
  25462. $ref: '#/definitions/models.MyCouponHold'
  25463. "500":
  25464. description: Internal Server Error
  25465. schema:
  25466. $ref: '#/definitions/app.Response'
  25467. security:
  25468. - ApiKeyAuth: []
  25469. summary: 我的优惠卷持仓查询
  25470. tags:
  25471. - 定制【海商报业】
  25472. /HSBY/QueryMyCoupons:
  25473. get:
  25474. parameters:
  25475. - description: 资金账户列表,格式:1,2,3
  25476. in: query
  25477. name: accountIDs
  25478. required: true
  25479. type: string
  25480. - description: 商品ID, 一般与sellUserID配套传入
  25481. in: query
  25482. name: goodsID
  25483. type: integer
  25484. - description: 卖方UserID
  25485. in: query
  25486. name: sellUserID
  25487. type: integer
  25488. produces:
  25489. - application/json
  25490. responses:
  25491. "200":
  25492. description: OK
  25493. schema:
  25494. $ref: '#/definitions/models.MyCoupon'
  25495. "500":
  25496. description: Internal Server Error
  25497. schema:
  25498. $ref: '#/definitions/app.Response'
  25499. security:
  25500. - ApiKeyAuth: []
  25501. summary: 我的优惠卷查询
  25502. tags:
  25503. - 定制【海商报业】
  25504. /HSBY/QueryMyPayOrders:
  25505. get:
  25506. parameters:
  25507. - description: 页码
  25508. in: query
  25509. name: page
  25510. type: integer
  25511. - description: 每页条数
  25512. in: query
  25513. name: pagesize
  25514. type: integer
  25515. - description: 资金账户列表,格式:1,2,3
  25516. in: query
  25517. name: accountIDs
  25518. required: true
  25519. type: string
  25520. - description: 买方委托单号
  25521. in: query
  25522. name: buyOrderID
  25523. type: integer
  25524. - description: 卖方委托单号
  25525. in: query
  25526. name: sellOrderID
  25527. type: integer
  25528. produces:
  25529. - application/json
  25530. responses:
  25531. "200":
  25532. description: OK
  25533. schema:
  25534. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  25535. "500":
  25536. description: Internal Server Error
  25537. schema:
  25538. $ref: '#/definitions/app.Response'
  25539. security:
  25540. - ApiKeyAuth: []
  25541. summary: 获取我的订单中待付款信息
  25542. tags:
  25543. - 定制【海商报业】
  25544. /HSBY/QueryMyUsedCoupon:
  25545. get:
  25546. parameters:
  25547. - description: 资金账户列表,格式:1,2,3
  25548. in: query
  25549. name: accountIDs
  25550. required: true
  25551. type: string
  25552. produces:
  25553. - application/json
  25554. responses:
  25555. "200":
  25556. description: OK
  25557. schema:
  25558. $ref: '#/definitions/models.MyUsedCoupon'
  25559. "500":
  25560. description: Internal Server Error
  25561. schema:
  25562. $ref: '#/definitions/app.Response'
  25563. security:
  25564. - ApiKeyAuth: []
  25565. summary: 已使用优惠卷查询
  25566. tags:
  25567. - 定制【海商报业】
  25568. /HSBY/QueryProvincesAndCities:
  25569. get:
  25570. description: 查询结果只包括二级市场商品已关连的省市信息。
  25571. parameters:
  25572. - description: 省ID
  25573. in: query
  25574. name: provinceID
  25575. type: integer
  25576. produces:
  25577. - application/json
  25578. responses:
  25579. "200":
  25580. description: OK
  25581. schema:
  25582. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  25583. "500":
  25584. description: Internal Server Error
  25585. schema:
  25586. $ref: '#/definitions/app.Response'
  25587. security:
  25588. - ApiKeyAuth: []
  25589. summary: 查询省市信息(不包括区)
  25590. tags:
  25591. - 定制【海商报业】
  25592. /HSBY/SetHsbyMyPackagesStatus:
  25593. post:
  25594. parameters:
  25595. - description: 提货单号
  25596. in: query
  25597. name: takeOrderID
  25598. required: true
  25599. type: string
  25600. - description: 资金账号
  25601. in: query
  25602. name: accountID
  25603. required: true
  25604. type: integer
  25605. produces:
  25606. - application/json
  25607. responses:
  25608. "200":
  25609. description: OK
  25610. schema:
  25611. $ref: '#/definitions/app.Response'
  25612. "500":
  25613. description: Internal Server Error
  25614. schema:
  25615. $ref: '#/definitions/app.Response'
  25616. security:
  25617. - ApiKeyAuth: []
  25618. summary: 设置我的包裹已收货状态
  25619. tags:
  25620. - 定制【海商报业】
  25621. /Market/GetAllExExchanges:
  25622. get:
  25623. produces:
  25624. - application/json
  25625. responses:
  25626. "200":
  25627. description: OK
  25628. schema:
  25629. $ref: '#/definitions/models.Goods'
  25630. "500":
  25631. description: Internal Server Error
  25632. schema:
  25633. $ref: '#/definitions/app.Response'
  25634. security:
  25635. - ApiKeyAuth: []
  25636. summary: 获取所有外部交易所信息
  25637. tags:
  25638. - 通用市场
  25639. /Market/QueryGoodsesByLoginID:
  25640. get:
  25641. parameters:
  25642. - description: 登录账号
  25643. in: query
  25644. name: loginID
  25645. required: true
  25646. type: integer
  25647. - description: 市场ID列表,格式:1,2,3
  25648. in: query
  25649. name: marketIDs
  25650. type: string
  25651. produces:
  25652. - application/json
  25653. responses:
  25654. "200":
  25655. description: OK
  25656. schema:
  25657. $ref: '#/definitions/models.Goods'
  25658. "500":
  25659. description: Internal Server Error
  25660. schema:
  25661. $ref: '#/definitions/app.Response'
  25662. security:
  25663. - ApiKeyAuth: []
  25664. summary: 获取登录账号有权限的商品信息
  25665. tags:
  25666. - 通用市场
  25667. /Market/QueryMarketRun:
  25668. get:
  25669. parameters:
  25670. - description: 市场ID,不传返回所有
  25671. in: query
  25672. name: marketID
  25673. type: integer
  25674. produces:
  25675. - application/json
  25676. responses:
  25677. "200":
  25678. description: OK
  25679. schema:
  25680. $ref: '#/definitions/models.Marketrun'
  25681. "500":
  25682. description: Internal Server Error
  25683. schema:
  25684. $ref: '#/definitions/app.Response'
  25685. security:
  25686. - ApiKeyAuth: []
  25687. summary: 查询市场运行信息
  25688. tags:
  25689. - 通用市场
  25690. /Market/QueryMarketsByLoginID:
  25691. get:
  25692. parameters:
  25693. - description: 登录账号
  25694. in: query
  25695. name: loginID
  25696. required: true
  25697. type: integer
  25698. produces:
  25699. - application/json
  25700. responses:
  25701. "200":
  25702. description: OK
  25703. schema:
  25704. $ref: '#/definitions/models.Market'
  25705. "500":
  25706. description: Internal Server Error
  25707. schema:
  25708. $ref: '#/definitions/app.Response'
  25709. security:
  25710. - ApiKeyAuth: []
  25711. summary: 获取登录账号有权限的市场信息
  25712. tags:
  25713. - 通用市场
  25714. /Order/QueryHisTradeDetail:
  25715. get:
  25716. parameters:
  25717. - description: 资金账户 - 格式:1,2,3
  25718. in: query
  25719. name: accountID
  25720. required: true
  25721. type: string
  25722. - description: 成交单号
  25723. in: query
  25724. name: tradeID
  25725. type: integer
  25726. - description: 委托单号
  25727. in: query
  25728. name: orderID
  25729. type: integer
  25730. - description: 商品ID
  25731. in: query
  25732. name: goodsID
  25733. type: integer
  25734. - description: 交易模式 - 格式:1,2,3
  25735. in: query
  25736. name: tradeMode
  25737. type: string
  25738. - description: 委托单据类型
  25739. in: query
  25740. name: buildType
  25741. type: integer
  25742. - description: 成交类别 - 格式:1,2,3
  25743. in: query
  25744. name: tradeType
  25745. type: string
  25746. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25747. in: query
  25748. name: startDate
  25749. type: string
  25750. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25751. in: query
  25752. name: endDate
  25753. type: string
  25754. produces:
  25755. - application/json
  25756. responses:
  25757. "200":
  25758. description: OK
  25759. schema:
  25760. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  25761. "500":
  25762. description: Internal Server Error
  25763. schema:
  25764. $ref: '#/definitions/app.Response'
  25765. security:
  25766. - ApiKeyAuth: []
  25767. summary: 历史成交单查询(合约市场)
  25768. tags:
  25769. - 通用单据
  25770. /Order/QueryHisTradeOrderDetail:
  25771. get:
  25772. parameters:
  25773. - description: 资金账户 - 格式:1,2,3
  25774. in: query
  25775. name: accountID
  25776. required: true
  25777. type: string
  25778. - description: 交易模式 - 格式:1,2,3
  25779. in: query
  25780. name: tradeMode
  25781. type: string
  25782. - description: 委托状态 - 格式:1,2,3
  25783. in: query
  25784. name: orderStatus
  25785. type: string
  25786. - description: 委托单号
  25787. in: query
  25788. name: orderID
  25789. type: integer
  25790. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25791. in: query
  25792. name: startDate
  25793. type: string
  25794. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25795. in: query
  25796. name: endDate
  25797. type: string
  25798. produces:
  25799. - application/json
  25800. responses:
  25801. "200":
  25802. description: OK
  25803. schema:
  25804. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  25805. "500":
  25806. description: Internal Server Error
  25807. schema:
  25808. $ref: '#/definitions/app.Response'
  25809. security:
  25810. - ApiKeyAuth: []
  25811. summary: 历史委托单查询请求(合约市场)
  25812. tags:
  25813. - 通用单据
  25814. /Order/QueryTradeDetail:
  25815. get:
  25816. parameters:
  25817. - description: 资金账户 - 格式:1,2,3
  25818. in: query
  25819. name: accountID
  25820. required: true
  25821. type: string
  25822. - description: 成交单号
  25823. in: query
  25824. name: tradeID
  25825. type: integer
  25826. - description: 委托单号
  25827. in: query
  25828. name: orderID
  25829. type: integer
  25830. - description: 交易模式 - 格式:1,2,3
  25831. in: query
  25832. name: tradeMode
  25833. type: string
  25834. - description: 委托单据类型
  25835. in: query
  25836. name: buildType
  25837. type: integer
  25838. - description: 成交类别 - 格式:1,2,3
  25839. in: query
  25840. name: tradeType
  25841. type: string
  25842. - description: 商品ID
  25843. in: query
  25844. name: goodsID
  25845. type: integer
  25846. produces:
  25847. - application/json
  25848. responses:
  25849. "200":
  25850. description: OK
  25851. schema:
  25852. $ref: '#/definitions/order.QueryTradeDetailRsp'
  25853. "500":
  25854. description: Internal Server Error
  25855. schema:
  25856. $ref: '#/definitions/app.Response'
  25857. security:
  25858. - ApiKeyAuth: []
  25859. summary: 成交单查询(合约市场)
  25860. tags:
  25861. - 通用单据
  25862. /Order/QueryTradeHolderDetail:
  25863. get:
  25864. parameters:
  25865. - description: 用户id
  25866. in: query
  25867. name: userid
  25868. type: integer
  25869. - description: 资金账号, 格式 1,2,3
  25870. in: query
  25871. name: accids
  25872. type: string
  25873. - description: 交易模式, 格式 1,2,3
  25874. in: query
  25875. name: trademodes
  25876. type: string
  25877. - description: 市场id, 格式 1,2,3
  25878. in: query
  25879. name: marketids
  25880. type: string
  25881. - description: 商品id
  25882. in: query
  25883. name: goodsid
  25884. type: integer
  25885. - description: 买卖方向 0-买 1-卖
  25886. in: query
  25887. name: buyorsell
  25888. type: integer
  25889. produces:
  25890. - application/json
  25891. responses:
  25892. "200":
  25893. description: OK
  25894. schema:
  25895. items:
  25896. $ref: '#/definitions/models.TradeHolderDetail'
  25897. type: array
  25898. "500":
  25899. description: Internal Server Error
  25900. schema:
  25901. $ref: '#/definitions/app.Response'
  25902. security:
  25903. - ApiKeyAuth: []
  25904. summary: 查询持仓明细
  25905. tags:
  25906. - 通用单据
  25907. /Order/QueryTradeOrderDetail:
  25908. get:
  25909. parameters:
  25910. - description: 资金账户 - 格式:1,2,3
  25911. in: query
  25912. name: accountID
  25913. required: true
  25914. type: string
  25915. - description: 交易模式 - 格式:1,2,3
  25916. in: query
  25917. name: tradeMode
  25918. type: string
  25919. - description: 委托状态 - 格式:1,2,3
  25920. in: query
  25921. name: orderStatus
  25922. type: string
  25923. - description: 委托单号
  25924. in: query
  25925. name: orderID
  25926. type: integer
  25927. produces:
  25928. - application/json
  25929. responses:
  25930. "200":
  25931. description: OK
  25932. schema:
  25933. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  25934. "500":
  25935. description: Internal Server Error
  25936. schema:
  25937. $ref: '#/definitions/app.Response'
  25938. security:
  25939. - ApiKeyAuth: []
  25940. summary: 委托单查询请求(合约市场)
  25941. tags:
  25942. - 通用单据
  25943. /Order/QueryTradePosition:
  25944. get:
  25945. parameters:
  25946. - description: 资金账户 - 格式:1,2,3
  25947. in: query
  25948. name: accountID
  25949. required: true
  25950. type: string
  25951. - description: 交易模式 - 格式:1,2,3
  25952. in: query
  25953. name: tradeMode
  25954. type: string
  25955. produces:
  25956. - application/json
  25957. responses:
  25958. "200":
  25959. description: OK
  25960. schema:
  25961. $ref: '#/definitions/order.QueryTradePositionRsp'
  25962. "500":
  25963. description: Internal Server Error
  25964. schema:
  25965. $ref: '#/definitions/app.Response'
  25966. security:
  25967. - ApiKeyAuth: []
  25968. summary: 持仓汇总查询(合约市场)
  25969. tags:
  25970. - 通用单据
  25971. /Qhj/QueryAccountInOutApply:
  25972. get:
  25973. parameters:
  25974. - description: 用户ID
  25975. in: query
  25976. name: userid
  25977. required: true
  25978. type: integer
  25979. - description: 申请起始日期(格式yyyymmdd)
  25980. in: query
  25981. name: begindate
  25982. type: string
  25983. - description: 申请截止日期(格式yyyymmdd)
  25984. in: query
  25985. name: enddate
  25986. type: string
  25987. - description: 模糊搜索名称
  25988. in: query
  25989. name: likename
  25990. type: string
  25991. produces:
  25992. - application/json
  25993. responses:
  25994. "200":
  25995. description: OK
  25996. schema:
  25997. items:
  25998. $ref: '#/definitions/models.QhjAccountOutInApply'
  25999. type: array
  26000. "500":
  26001. description: Internal Server Error
  26002. schema:
  26003. $ref: '#/definitions/app.Response'
  26004. security:
  26005. - ApiKeyAuth: []
  26006. summary: 查询充值提现
  26007. tags:
  26008. - 大连千海金
  26009. /Qhj/QueryAreaFinanceConfig:
  26010. get:
  26011. parameters:
  26012. - description: 机构用户ID 其他做市关系,都设置为 1
  26013. in: query
  26014. name: userid
  26015. type: integer
  26016. produces:
  26017. - application/json
  26018. responses:
  26019. "200":
  26020. description: OK
  26021. schema:
  26022. items:
  26023. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  26024. type: array
  26025. "500":
  26026. description: Internal Server Error
  26027. schema:
  26028. $ref: '#/definitions/app.Response'
  26029. security:
  26030. - ApiKeyAuth: []
  26031. summary: 查询企业配置表
  26032. tags:
  26033. - 大连千海金
  26034. /Qhj/QueryBankAccountSign:
  26035. get:
  26036. parameters:
  26037. - description: 用户ID
  26038. in: query
  26039. name: userid
  26040. required: true
  26041. type: integer
  26042. produces:
  26043. - application/json
  26044. responses:
  26045. "200":
  26046. description: OK
  26047. schema:
  26048. items:
  26049. $ref: '#/definitions/models.QhjBankAccountSign'
  26050. type: array
  26051. "500":
  26052. description: Internal Server Error
  26053. schema:
  26054. $ref: '#/definitions/app.Response'
  26055. security:
  26056. - ApiKeyAuth: []
  26057. summary: 查询签约银行信息(提现账户管理)
  26058. tags:
  26059. - 大连千海金
  26060. /Qhj/QueryBankInfo:
  26061. get:
  26062. produces:
  26063. - application/json
  26064. responses:
  26065. "200":
  26066. description: OK
  26067. schema:
  26068. items:
  26069. $ref: '#/definitions/models.QhjBankInfo'
  26070. type: array
  26071. "500":
  26072. description: Internal Server Error
  26073. schema:
  26074. $ref: '#/definitions/app.Response'
  26075. security:
  26076. - ApiKeyAuth: []
  26077. summary: 查询开户行
  26078. tags:
  26079. - 大连千海金
  26080. /Qhj/QueryBrokerApply:
  26081. get:
  26082. parameters:
  26083. - description: 所属机构ID
  26084. in: query
  26085. name: userid
  26086. type: integer
  26087. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26088. in: query
  26089. name: filterstatus
  26090. type: string
  26091. produces:
  26092. - application/json
  26093. responses:
  26094. "200":
  26095. description: OK
  26096. schema:
  26097. items:
  26098. $ref: '#/definitions/models.QhjBrokerApply'
  26099. type: array
  26100. "500":
  26101. description: Internal Server Error
  26102. schema:
  26103. $ref: '#/definitions/app.Response'
  26104. security:
  26105. - ApiKeyAuth: []
  26106. summary: 查询经纪人申请
  26107. tags:
  26108. - 大连千海金
  26109. /Qhj/QueryBrokerApplyEx:
  26110. get:
  26111. parameters:
  26112. - description: 所属机构ID
  26113. in: query
  26114. name: userid
  26115. type: integer
  26116. produces:
  26117. - application/json
  26118. responses:
  26119. "200":
  26120. description: OK
  26121. schema:
  26122. items:
  26123. $ref: '#/definitions/models.QhjBrokerApplyEx'
  26124. type: array
  26125. "500":
  26126. description: Internal Server Error
  26127. schema:
  26128. $ref: '#/definitions/app.Response'
  26129. security:
  26130. - ApiKeyAuth: []
  26131. summary: 查询经纪人信息和申请记录
  26132. tags:
  26133. - 大连千海金
  26134. /Qhj/QueryBrokerRewardLog:
  26135. get:
  26136. parameters:
  26137. - description: 用户ID
  26138. in: query
  26139. name: userid
  26140. required: true
  26141. type: integer
  26142. - description: 开始交易日(yyyymmdd)
  26143. in: query
  26144. name: begindate
  26145. type: string
  26146. - description: 结束交易日(yyyymmdd)
  26147. in: query
  26148. name: enddate
  26149. type: string
  26150. produces:
  26151. - application/json
  26152. responses:
  26153. "200":
  26154. description: OK
  26155. schema:
  26156. items:
  26157. $ref: '#/definitions/models.QhjBrokerRewardLog'
  26158. type: array
  26159. "500":
  26160. description: Internal Server Error
  26161. schema:
  26162. $ref: '#/definitions/app.Response'
  26163. security:
  26164. - ApiKeyAuth: []
  26165. summary: 查询奖励流水(我的奖励)
  26166. tags:
  26167. - 大连千海金
  26168. /Qhj/QueryContract:
  26169. get:
  26170. parameters:
  26171. - description: 用户ID
  26172. in: query
  26173. name: userid
  26174. type: integer
  26175. - description: scf合同id
  26176. in: query
  26177. name: scfcontractid
  26178. type: integer
  26179. produces:
  26180. - application/json
  26181. responses:
  26182. "200":
  26183. description: OK
  26184. schema:
  26185. items:
  26186. $ref: '#/definitions/models.QhjContract'
  26187. type: array
  26188. "500":
  26189. description: Internal Server Error
  26190. schema:
  26191. $ref: '#/definitions/app.Response'
  26192. security:
  26193. - ApiKeyAuth: []
  26194. summary: 查询融资明细(合同)
  26195. tags:
  26196. - 大连千海金
  26197. /Qhj/QueryContractLog:
  26198. get:
  26199. parameters:
  26200. - description: scf合同id
  26201. in: query
  26202. name: scfcontractid
  26203. required: true
  26204. type: integer
  26205. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  26206. in: query
  26207. name: amounttype
  26208. type: string
  26209. produces:
  26210. - application/json
  26211. responses:
  26212. "200":
  26213. description: OK
  26214. schema:
  26215. items:
  26216. $ref: '#/definitions/models.QhjContractLog'
  26217. type: array
  26218. "500":
  26219. description: Internal Server Error
  26220. schema:
  26221. $ref: '#/definitions/app.Response'
  26222. security:
  26223. - ApiKeyAuth: []
  26224. summary: 查询融资明细流水(融资明细详情页中的流水)
  26225. tags:
  26226. - 大连千海金
  26227. /Qhj/QueryCusBankSignBank:
  26228. get:
  26229. produces:
  26230. - application/json
  26231. responses:
  26232. "200":
  26233. description: OK
  26234. schema:
  26235. items:
  26236. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  26237. type: array
  26238. "500":
  26239. description: Internal Server Error
  26240. schema:
  26241. $ref: '#/definitions/app.Response'
  26242. security:
  26243. - ApiKeyAuth: []
  26244. summary: 查询托管银行
  26245. tags:
  26246. - 大连千海金
  26247. /Qhj/QueryCustomerInfo:
  26248. get:
  26249. parameters:
  26250. - description: 用户ID
  26251. in: query
  26252. name: userid
  26253. required: true
  26254. type: integer
  26255. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26256. in: query
  26257. name: querytype
  26258. required: true
  26259. type: integer
  26260. - description: 客户类型 1-个人 2-企业
  26261. in: query
  26262. name: userinfotype
  26263. type: integer
  26264. - description: 客户名称(模糊匹配)
  26265. in: query
  26266. name: customername
  26267. type: string
  26268. - description: 昵称(模糊匹配)
  26269. in: query
  26270. name: nickname
  26271. type: string
  26272. - description: 是否包含子级 1-包含
  26273. in: query
  26274. name: includesub
  26275. type: integer
  26276. produces:
  26277. - application/json
  26278. responses:
  26279. "200":
  26280. description: OK
  26281. schema:
  26282. items:
  26283. $ref: '#/definitions/models.QhjCustomer'
  26284. type: array
  26285. "500":
  26286. description: Internal Server Error
  26287. schema:
  26288. $ref: '#/definitions/app.Response'
  26289. security:
  26290. - ApiKeyAuth: []
  26291. summary: 查询客户资料
  26292. tags:
  26293. - 大连千海金
  26294. /Qhj/QueryGoodsEx:
  26295. get:
  26296. parameters:
  26297. - description: 商品id
  26298. in: query
  26299. name: goodsid
  26300. type: integer
  26301. produces:
  26302. - application/json
  26303. responses:
  26304. "200":
  26305. description: OK
  26306. schema:
  26307. items:
  26308. $ref: '#/definitions/models.Qhjgoodsex'
  26309. type: array
  26310. "500":
  26311. description: Internal Server Error
  26312. schema:
  26313. $ref: '#/definitions/app.Response'
  26314. security:
  26315. - ApiKeyAuth: []
  26316. summary: 交易商品扩展表
  26317. tags:
  26318. - 大连千海金
  26319. /Qhj/QueryMyTeam:
  26320. get:
  26321. parameters:
  26322. - description: 用户ID
  26323. in: query
  26324. name: userid
  26325. required: true
  26326. type: integer
  26327. produces:
  26328. - application/json
  26329. responses:
  26330. "200":
  26331. description: OK
  26332. schema:
  26333. items:
  26334. $ref: '#/definitions/models.QhjMyTeamEx'
  26335. type: array
  26336. "500":
  26337. description: Internal Server Error
  26338. schema:
  26339. $ref: '#/definitions/app.Response'
  26340. security:
  26341. - ApiKeyAuth: []
  26342. summary: 查询我的团队
  26343. tags:
  26344. - 大连千海金
  26345. /Qhj/QueryMyTeamOrder:
  26346. get:
  26347. parameters:
  26348. - description: 页码
  26349. in: query
  26350. name: page
  26351. type: integer
  26352. - description: 每页条数
  26353. in: query
  26354. name: pagesize
  26355. type: integer
  26356. - description: 用户ID
  26357. in: query
  26358. name: userid
  26359. required: true
  26360. type: integer
  26361. - description: 交易模式
  26362. in: query
  26363. name: trademode
  26364. type: integer
  26365. - description: 名称(模糊搜索账户)
  26366. in: query
  26367. name: filtername
  26368. type: string
  26369. produces:
  26370. - application/json
  26371. responses:
  26372. "200":
  26373. description: OK
  26374. schema:
  26375. items:
  26376. $ref: '#/definitions/models.QhjTeamOrder'
  26377. type: array
  26378. "500":
  26379. description: Internal Server Error
  26380. schema:
  26381. $ref: '#/definitions/app.Response'
  26382. security:
  26383. - ApiKeyAuth: []
  26384. summary: 查询团队订单(我的团队/团队订单)
  26385. tags:
  26386. - 大连千海金
  26387. /Qhj/QueryParentAreaList:
  26388. get:
  26389. parameters:
  26390. - description: 用户ID
  26391. in: query
  26392. name: userid
  26393. required: true
  26394. type: integer
  26395. produces:
  26396. - application/json
  26397. responses:
  26398. "200":
  26399. description: OK
  26400. schema:
  26401. items:
  26402. $ref: '#/definitions/models.QhjParentAreaList'
  26403. type: array
  26404. "500":
  26405. description: Internal Server Error
  26406. schema:
  26407. $ref: '#/definitions/app.Response'
  26408. security:
  26409. - ApiKeyAuth: []
  26410. summary: 查询所属机构列表
  26411. tags:
  26412. - 大连千海金
  26413. /Qhj/QueryPayOrder:
  26414. get:
  26415. parameters:
  26416. - description: 资金账号id
  26417. in: query
  26418. name: accountid
  26419. required: true
  26420. type: integer
  26421. - description: 成交单号
  26422. in: query
  26423. name: tradeid
  26424. type: integer
  26425. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26426. in: query
  26427. name: payflag
  26428. type: string
  26429. produces:
  26430. - application/json
  26431. responses:
  26432. "200":
  26433. description: OK
  26434. schema:
  26435. items:
  26436. $ref: '#/definitions/models.QhjPayOrder'
  26437. type: array
  26438. "500":
  26439. description: Internal Server Error
  26440. schema:
  26441. $ref: '#/definitions/app.Response'
  26442. security:
  26443. - ApiKeyAuth: []
  26444. summary: 查询待付款单据
  26445. tags:
  26446. - 大连千海金
  26447. /Qhj/QueryPickArea:
  26448. get:
  26449. parameters:
  26450. - description: 用户ID
  26451. in: query
  26452. name: userid
  26453. type: integer
  26454. produces:
  26455. - application/json
  26456. responses:
  26457. "200":
  26458. description: OK
  26459. schema:
  26460. items:
  26461. $ref: '#/definitions/models.QhjPickArea'
  26462. type: array
  26463. "500":
  26464. description: Internal Server Error
  26465. schema:
  26466. $ref: '#/definitions/app.Response'
  26467. security:
  26468. - ApiKeyAuth: []
  26469. summary: 查询提货门店
  26470. tags:
  26471. - 大连千海金
  26472. /Qhj/QueryPickGoods:
  26473. get:
  26474. parameters:
  26475. - description: 交易商品id
  26476. in: query
  26477. name: goodsid
  26478. required: true
  26479. type: integer
  26480. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26481. in: query
  26482. name: status
  26483. type: string
  26484. produces:
  26485. - application/json
  26486. responses:
  26487. "200":
  26488. description: OK
  26489. schema:
  26490. items:
  26491. $ref: '#/definitions/models.QhjPickGoods'
  26492. type: array
  26493. "500":
  26494. description: Internal Server Error
  26495. schema:
  26496. $ref: '#/definitions/app.Response'
  26497. security:
  26498. - ApiKeyAuth: []
  26499. summary: 查询提货商品
  26500. tags:
  26501. - 大连千海金
  26502. /Qhj/QueryRSTriggerLog:
  26503. get:
  26504. parameters:
  26505. - description: 用户ID
  26506. in: query
  26507. name: userid
  26508. type: integer
  26509. - description: 定投策略id
  26510. in: query
  26511. name: regularlystrategyid
  26512. type: integer
  26513. - description: 商品id
  26514. in: query
  26515. name: goodsid
  26516. type: integer
  26517. - description: 开始交易日(yyyymmdd)
  26518. in: query
  26519. name: begindate
  26520. type: string
  26521. - description: 结束交易日(yyyymmdd)
  26522. in: query
  26523. name: enddate
  26524. type: string
  26525. - description: 名称(模糊搜索账户)
  26526. in: query
  26527. name: filtername
  26528. type: string
  26529. produces:
  26530. - application/json
  26531. responses:
  26532. "200":
  26533. description: OK
  26534. schema:
  26535. items:
  26536. $ref: '#/definitions/models.QhjRSTriggerLog'
  26537. type: array
  26538. "500":
  26539. description: Internal Server Error
  26540. schema:
  26541. $ref: '#/definitions/app.Response'
  26542. security:
  26543. - ApiKeyAuth: []
  26544. summary: 查询定投记录(定投管理/详情/定投记录)
  26545. tags:
  26546. - 大连千海金
  26547. /Qhj/QueryRStrategy:
  26548. get:
  26549. parameters:
  26550. - description: 用户ID
  26551. in: query
  26552. name: userid
  26553. type: integer
  26554. - description: 商品id
  26555. in: query
  26556. name: goodsid
  26557. type: integer
  26558. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  26559. in: query
  26560. name: status
  26561. type: string
  26562. - description: 名称(模糊搜索账户)
  26563. in: query
  26564. name: filtername
  26565. type: string
  26566. produces:
  26567. - application/json
  26568. responses:
  26569. "200":
  26570. description: OK
  26571. schema:
  26572. items:
  26573. $ref: '#/definitions/models.QhjRStrategy'
  26574. type: array
  26575. "500":
  26576. description: Internal Server Error
  26577. schema:
  26578. $ref: '#/definitions/app.Response'
  26579. security:
  26580. - ApiKeyAuth: []
  26581. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  26582. tags:
  26583. - 大连千海金
  26584. /Qhj/QueryReckonPriceLog:
  26585. get:
  26586. parameters:
  26587. - description: 商品ID
  26588. in: query
  26589. name: goodsid
  26590. type: integer
  26591. - description: 交易日 格式(yyyymmdd)
  26592. in: query
  26593. name: tradedate
  26594. type: string
  26595. produces:
  26596. - application/json
  26597. responses:
  26598. "200":
  26599. description: OK
  26600. schema:
  26601. items:
  26602. $ref: '#/definitions/models.QhjReckonPriceLog'
  26603. type: array
  26604. "500":
  26605. description: Internal Server Error
  26606. schema:
  26607. $ref: '#/definitions/app.Response'
  26608. security:
  26609. - ApiKeyAuth: []
  26610. summary: 查询定投价(结算价)
  26611. tags:
  26612. - 大连千海金
  26613. /Qhj/QueryScoreLog:
  26614. get:
  26615. parameters:
  26616. - description: 用户ID
  26617. in: query
  26618. name: userid
  26619. required: true
  26620. type: integer
  26621. - description: 开始交易日(yyyymmdd)
  26622. in: query
  26623. name: begindate
  26624. type: string
  26625. - description: 结束交易日(yyyymmdd)
  26626. in: query
  26627. name: enddate
  26628. type: string
  26629. - description: 最近多少条
  26630. in: query
  26631. name: lastnum
  26632. type: integer
  26633. produces:
  26634. - application/json
  26635. responses:
  26636. "200":
  26637. description: OK
  26638. schema:
  26639. items:
  26640. $ref: '#/definitions/models.QhjScoreLog'
  26641. type: array
  26642. "500":
  26643. description: Internal Server Error
  26644. schema:
  26645. $ref: '#/definitions/app.Response'
  26646. security:
  26647. - ApiKeyAuth: []
  26648. summary: 查询积分流水(我的积分)
  26649. tags:
  26650. - 大连千海金
  26651. /Qhj/QuerySiteColumnDetail:
  26652. get:
  26653. parameters:
  26654. - description: 用户ID
  26655. in: query
  26656. name: userid
  26657. required: true
  26658. type: integer
  26659. produces:
  26660. - application/json
  26661. responses:
  26662. "200":
  26663. description: OK
  26664. schema:
  26665. items:
  26666. $ref: '#/definitions/models.QhjSiteColumnDetail'
  26667. type: array
  26668. "500":
  26669. description: Internal Server Error
  26670. schema:
  26671. $ref: '#/definitions/app.Response'
  26672. security:
  26673. - ApiKeyAuth: []
  26674. summary: 查询资讯
  26675. tags:
  26676. - 大连千海金
  26677. /Qhj/QueryTradeGoodsPickup:
  26678. get:
  26679. parameters:
  26680. - description: 用户ID
  26681. in: query
  26682. name: userid
  26683. required: true
  26684. type: integer
  26685. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  26686. 7:已拒绝 8:已撤销
  26687. in: query
  26688. name: takeorderstatus
  26689. type: integer
  26690. produces:
  26691. - application/json
  26692. responses:
  26693. "200":
  26694. description: OK
  26695. schema:
  26696. items:
  26697. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  26698. type: array
  26699. "500":
  26700. description: Internal Server Error
  26701. schema:
  26702. $ref: '#/definitions/app.Response'
  26703. security:
  26704. - ApiKeyAuth: []
  26705. summary: 查询提货
  26706. tags:
  26707. - 大连千海金
  26708. /Qhj/QueryUserCollectConfig:
  26709. get:
  26710. parameters:
  26711. - description: 用户ID
  26712. in: query
  26713. name: userid
  26714. required: true
  26715. type: integer
  26716. produces:
  26717. - application/json
  26718. responses:
  26719. "200":
  26720. description: OK
  26721. schema:
  26722. items:
  26723. $ref: '#/definitions/models.UserCollectConfig'
  26724. type: array
  26725. "500":
  26726. description: Internal Server Error
  26727. schema:
  26728. $ref: '#/definitions/app.Response'
  26729. security:
  26730. - ApiKeyAuth: []
  26731. summary: 查询提现账户设置
  26732. tags:
  26733. - 大连千海金
  26734. /Qhj/QueryUserReceiveInfo:
  26735. get:
  26736. parameters:
  26737. - description: 用户ID
  26738. in: query
  26739. name: userid
  26740. required: true
  26741. type: integer
  26742. produces:
  26743. - application/json
  26744. responses:
  26745. "200":
  26746. description: OK
  26747. schema:
  26748. items:
  26749. $ref: '#/definitions/models.UserReceiveInfo'
  26750. type: array
  26751. "500":
  26752. description: Internal Server Error
  26753. schema:
  26754. $ref: '#/definitions/app.Response'
  26755. security:
  26756. - ApiKeyAuth: []
  26757. summary: 查询收货地址信息
  26758. tags:
  26759. - 大连千海金
  26760. /QhjMgr/QueryAccountInOutApply:
  26761. get:
  26762. parameters:
  26763. - description: 查询类型 1-提现(出金) 2-充值(出金)
  26764. in: query
  26765. name: querytype
  26766. required: true
  26767. type: integer
  26768. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  26769. in: query
  26770. name: applystatus
  26771. type: integer
  26772. - description: 申请起始日期(格式yyyymmdd)
  26773. in: query
  26774. name: begindate
  26775. type: string
  26776. - description: 申请截止日期(格式yyyymmdd)
  26777. in: query
  26778. name: enddate
  26779. type: string
  26780. - description: 模糊搜索名称
  26781. in: query
  26782. name: likename
  26783. type: string
  26784. produces:
  26785. - application/json
  26786. responses:
  26787. "200":
  26788. description: OK
  26789. schema:
  26790. items:
  26791. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  26792. type: array
  26793. "500":
  26794. description: Internal Server Error
  26795. schema:
  26796. $ref: '#/definitions/app.Response'
  26797. security:
  26798. - ApiKeyAuth: []
  26799. summary: 查询充值提现
  26800. tags:
  26801. - 大连千海金(PCWeb)
  26802. /QhjMgr/QueryBrokerApply:
  26803. get:
  26804. parameters:
  26805. - description: 所属机构ID
  26806. in: query
  26807. name: userid
  26808. type: integer
  26809. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26810. in: query
  26811. name: filterstatus
  26812. type: string
  26813. - description: 名称(模糊匹配)
  26814. in: query
  26815. name: filtername
  26816. type: string
  26817. - description: 是否包含子级 1-包含
  26818. in: query
  26819. name: includesub
  26820. type: integer
  26821. produces:
  26822. - application/json
  26823. responses:
  26824. "200":
  26825. description: OK
  26826. schema:
  26827. items:
  26828. $ref: '#/definitions/models.QhjMgrBrokerApply'
  26829. type: array
  26830. "500":
  26831. description: Internal Server Error
  26832. schema:
  26833. $ref: '#/definitions/app.Response'
  26834. security:
  26835. - ApiKeyAuth: []
  26836. summary: 查询经纪人申请
  26837. tags:
  26838. - 大连千海金(PCWeb)
  26839. /QhjMgr/QueryBrokerRewardReport:
  26840. get:
  26841. parameters:
  26842. - description: 所属机构ID
  26843. in: query
  26844. name: userid
  26845. required: true
  26846. type: integer
  26847. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26848. in: query
  26849. name: cycletype
  26850. required: true
  26851. type: integer
  26852. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  26853. in: query
  26854. name: cycletime
  26855. required: true
  26856. type: string
  26857. - description: 名称(模糊匹配)
  26858. in: query
  26859. name: filtername
  26860. type: string
  26861. - description: 是否包含子级 1-包含
  26862. in: query
  26863. name: includesub
  26864. type: integer
  26865. produces:
  26866. - application/json
  26867. responses:
  26868. "200":
  26869. description: OK
  26870. schema:
  26871. items:
  26872. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  26873. type: array
  26874. "500":
  26875. description: Internal Server Error
  26876. schema:
  26877. $ref: '#/definitions/app.Response'
  26878. security:
  26879. - ApiKeyAuth: []
  26880. summary: 查询经纪人奖励报表(废弃)
  26881. tags:
  26882. - 大连千海金(PCWeb)
  26883. /QhjMgr/QueryContract:
  26884. get:
  26885. parameters:
  26886. - description: 用户ID
  26887. in: query
  26888. name: userid
  26889. type: integer
  26890. - description: 商品id
  26891. in: query
  26892. name: goodsid
  26893. type: integer
  26894. - description: 名称(模糊搜索账户)
  26895. in: query
  26896. name: filtername
  26897. type: string
  26898. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  26899. in: query
  26900. name: risklevel
  26901. type: string
  26902. - description: 开始交易日(yyyymmdd)
  26903. in: query
  26904. name: begindate
  26905. type: string
  26906. - description: 结束交易日(yyyymmdd)
  26907. in: query
  26908. name: enddate
  26909. type: string
  26910. produces:
  26911. - application/json
  26912. responses:
  26913. "200":
  26914. description: OK
  26915. schema:
  26916. items:
  26917. $ref: '#/definitions/models.QhjMgrContract'
  26918. type: array
  26919. "500":
  26920. description: Internal Server Error
  26921. schema:
  26922. $ref: '#/definitions/app.Response'
  26923. security:
  26924. - ApiKeyAuth: []
  26925. summary: 查询融资信息(合同)
  26926. tags:
  26927. - 大连千海金(PCWeb)
  26928. /QhjMgr/QueryCustomerInfo:
  26929. get:
  26930. parameters:
  26931. - description: 用户ID
  26932. in: query
  26933. name: userid
  26934. required: true
  26935. type: integer
  26936. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26937. in: query
  26938. name: querytype
  26939. required: true
  26940. type: integer
  26941. - description: 客户类型 1-个人 2-企业
  26942. in: query
  26943. name: userinfotype
  26944. type: integer
  26945. - description: 客户名称(模糊匹配)
  26946. in: query
  26947. name: customername
  26948. type: string
  26949. - description: 昵称(模糊匹配)
  26950. in: query
  26951. name: nickname
  26952. type: string
  26953. - description: 所属客户经理(模糊匹配)
  26954. in: query
  26955. name: brokername
  26956. type: string
  26957. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  26958. 如0503 -5月3日)
  26959. in: query
  26960. name: birthday
  26961. type: string
  26962. - description: 是否包含子级 1-包含
  26963. in: query
  26964. name: includesub
  26965. type: integer
  26966. produces:
  26967. - application/json
  26968. responses:
  26969. "200":
  26970. description: OK
  26971. schema:
  26972. items:
  26973. $ref: '#/definitions/models.QhjMgrCustomer'
  26974. type: array
  26975. "500":
  26976. description: Internal Server Error
  26977. schema:
  26978. $ref: '#/definitions/app.Response'
  26979. security:
  26980. - ApiKeyAuth: []
  26981. summary: 查询客户资料
  26982. tags:
  26983. - 大连千海金(PCWeb)
  26984. /QhjMgr/QueryPickGoods:
  26985. get:
  26986. parameters:
  26987. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26988. in: query
  26989. name: status
  26990. type: string
  26991. produces:
  26992. - application/json
  26993. responses:
  26994. "200":
  26995. description: OK
  26996. schema:
  26997. items:
  26998. $ref: '#/definitions/models.QhjMgrPickGoods'
  26999. type: array
  27000. "500":
  27001. description: Internal Server Error
  27002. schema:
  27003. $ref: '#/definitions/app.Response'
  27004. security:
  27005. - ApiKeyAuth: []
  27006. summary: 查询提货商品
  27007. tags:
  27008. - 大连千海金(PCWeb)
  27009. /QhjMgr/QuerySubArea:
  27010. get:
  27011. parameters:
  27012. - description: 用户ID
  27013. in: query
  27014. name: userid
  27015. required: true
  27016. type: integer
  27017. produces:
  27018. - application/json
  27019. responses:
  27020. "200":
  27021. description: OK
  27022. schema:
  27023. items:
  27024. $ref: '#/definitions/models.QhjMgrSubArea'
  27025. type: array
  27026. "500":
  27027. description: Internal Server Error
  27028. schema:
  27029. $ref: '#/definitions/app.Response'
  27030. security:
  27031. - ApiKeyAuth: []
  27032. summary: 查询子机构列表
  27033. tags:
  27034. - 大连千海金(PCWeb)
  27035. /QhjMgr/QueryTradeDetail:
  27036. get:
  27037. parameters:
  27038. - description: 用户ID
  27039. in: query
  27040. name: userid
  27041. required: true
  27042. type: integer
  27043. - description: 用户类型 1-个人 2-企业
  27044. in: query
  27045. name: userinfotype
  27046. type: integer
  27047. - description: 交易模式
  27048. in: query
  27049. name: trademode
  27050. type: integer
  27051. - description: 商品id
  27052. in: query
  27053. name: goodsid
  27054. type: integer
  27055. - description: 名称(模糊搜索账户)
  27056. in: query
  27057. name: filtername
  27058. type: string
  27059. - description: 开始交易日(yyyymmdd)
  27060. in: query
  27061. name: begindate
  27062. type: string
  27063. - description: 结束交易日(yyyymmdd)
  27064. in: query
  27065. name: enddate
  27066. type: string
  27067. - description: 是否包含子级 1-包含
  27068. in: query
  27069. name: includesub
  27070. type: integer
  27071. produces:
  27072. - application/json
  27073. responses:
  27074. "200":
  27075. description: OK
  27076. schema:
  27077. items:
  27078. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  27079. type: array
  27080. "500":
  27081. description: Internal Server Error
  27082. schema:
  27083. $ref: '#/definitions/app.Response'
  27084. security:
  27085. - ApiKeyAuth: []
  27086. summary: 查询成交明细
  27087. tags:
  27088. - 大连千海金(PCWeb)
  27089. /QhjMgr/QueryTradeOrderDetail:
  27090. get:
  27091. parameters:
  27092. - description: 用户ID
  27093. in: query
  27094. name: userid
  27095. required: true
  27096. type: integer
  27097. - description: 用户类型 1-个人 2-企业
  27098. in: query
  27099. name: userinfotype
  27100. type: integer
  27101. - description: 交易模式
  27102. in: query
  27103. name: trademode
  27104. type: integer
  27105. - description: 商品id
  27106. in: query
  27107. name: goodsid
  27108. type: integer
  27109. - description: 名称(模糊搜索账户)
  27110. in: query
  27111. name: filtername
  27112. type: string
  27113. - description: 开始交易日(yyyymmdd)
  27114. in: query
  27115. name: begindate
  27116. type: string
  27117. - description: 结束交易日(yyyymmdd)
  27118. in: query
  27119. name: enddate
  27120. type: string
  27121. - description: 是否包含子级 1-包含
  27122. in: query
  27123. name: includesub
  27124. type: integer
  27125. produces:
  27126. - application/json
  27127. responses:
  27128. "200":
  27129. description: OK
  27130. schema:
  27131. items:
  27132. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  27133. type: array
  27134. "500":
  27135. description: Internal Server Error
  27136. schema:
  27137. $ref: '#/definitions/app.Response'
  27138. security:
  27139. - ApiKeyAuth: []
  27140. summary: 查询委托明细
  27141. tags:
  27142. - 大连千海金(PCWeb)
  27143. /QhjMgr/QueryTradePayOrder:
  27144. get:
  27145. parameters:
  27146. - description: 用户ID
  27147. in: query
  27148. name: userid
  27149. required: true
  27150. type: integer
  27151. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27152. in: query
  27153. name: payflag
  27154. type: string
  27155. - description: 用户类型 1-个人 2-企业
  27156. in: query
  27157. name: userinfotype
  27158. type: integer
  27159. - description: 交易模式
  27160. in: query
  27161. name: trademode
  27162. type: integer
  27163. - description: 商品id
  27164. in: query
  27165. name: goodsid
  27166. type: integer
  27167. - description: 名称(模糊搜索账户)
  27168. in: query
  27169. name: filtername
  27170. type: string
  27171. - description: 开始交易日(yyyymmdd)
  27172. in: query
  27173. name: begindate
  27174. type: string
  27175. - description: 结束交易日(yyyymmdd)
  27176. in: query
  27177. name: enddate
  27178. type: string
  27179. - description: 是否包含子级 1-包含
  27180. in: query
  27181. name: includesub
  27182. type: integer
  27183. produces:
  27184. - application/json
  27185. responses:
  27186. "200":
  27187. description: OK
  27188. schema:
  27189. items:
  27190. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  27191. type: array
  27192. "500":
  27193. description: Internal Server Error
  27194. schema:
  27195. $ref: '#/definitions/app.Response'
  27196. security:
  27197. - ApiKeyAuth: []
  27198. summary: 查询待付款单
  27199. tags:
  27200. - 大连千海金(PCWeb)
  27201. /QhjMgr/QueryTradePosition:
  27202. get:
  27203. parameters:
  27204. - description: 用户ID
  27205. in: query
  27206. name: userid
  27207. required: true
  27208. type: integer
  27209. - description: 用户类型 1-个人 2-企业
  27210. in: query
  27211. name: userinfotype
  27212. type: integer
  27213. - description: 交易模式
  27214. in: query
  27215. name: trademode
  27216. type: integer
  27217. - description: 商品id
  27218. in: query
  27219. name: goodsid
  27220. type: integer
  27221. - description: 名称(模糊搜索账户)
  27222. in: query
  27223. name: filtername
  27224. type: string
  27225. - description: 是否包含子级 1-包含
  27226. in: query
  27227. name: includesub
  27228. type: integer
  27229. produces:
  27230. - application/json
  27231. responses:
  27232. "200":
  27233. description: OK
  27234. schema:
  27235. items:
  27236. $ref: '#/definitions/models.QhjMgrPositionRsp'
  27237. type: array
  27238. "500":
  27239. description: Internal Server Error
  27240. schema:
  27241. $ref: '#/definitions/app.Response'
  27242. security:
  27243. - ApiKeyAuth: []
  27244. summary: 查询持仓汇总
  27245. tags:
  27246. - 大连千海金(PCWeb)
  27247. /QhjSys/QueryAgreementChangeLog:
  27248. get:
  27249. parameters:
  27250. - description: 协议ID
  27251. in: query
  27252. name: agreementid
  27253. type: integer
  27254. - description: 协议版本号
  27255. in: query
  27256. name: agreementversion
  27257. type: integer
  27258. - description: 协议类型 - 1:注册 2:登录 3:交易
  27259. in: query
  27260. name: agreementtype
  27261. type: integer
  27262. - description: 协议编号(模糊匹配)
  27263. in: query
  27264. name: agreementno
  27265. type: string
  27266. - description: 协议名称(模糊匹配)
  27267. in: query
  27268. name: agreementname
  27269. type: string
  27270. produces:
  27271. - application/json
  27272. responses:
  27273. "200":
  27274. description: OK
  27275. schema:
  27276. items:
  27277. $ref: '#/definitions/models.QhjAgreementChangeLog'
  27278. type: array
  27279. "500":
  27280. description: Internal Server Error
  27281. schema:
  27282. $ref: '#/definitions/app.Response'
  27283. security:
  27284. - ApiKeyAuth: []
  27285. summary: 查询协议配置变更流水
  27286. tags:
  27287. - 大连千海金(协议和签约信息)
  27288. /QhjSys/QueryAgreementConfig:
  27289. get:
  27290. parameters:
  27291. - description: 协议ID
  27292. in: query
  27293. name: agreementid
  27294. type: integer
  27295. - description: 协议版本号
  27296. in: query
  27297. name: agreementversion
  27298. type: integer
  27299. - description: 协议类型 - 1:注册 2:登录 3:交易
  27300. in: query
  27301. name: agreementtype
  27302. type: integer
  27303. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  27304. in: query
  27305. name: isvalid
  27306. type: integer
  27307. - description: 协议编号(模糊匹配)
  27308. in: query
  27309. name: agreementno
  27310. type: string
  27311. - description: 协议名称(模糊匹配)
  27312. in: query
  27313. name: agreementname
  27314. type: string
  27315. produces:
  27316. - application/json
  27317. responses:
  27318. "200":
  27319. description: OK
  27320. schema:
  27321. items:
  27322. $ref: '#/definitions/models.QhjAgreementConfig'
  27323. type: array
  27324. "500":
  27325. description: Internal Server Error
  27326. schema:
  27327. $ref: '#/definitions/app.Response'
  27328. security:
  27329. - ApiKeyAuth: []
  27330. summary: 查询协议配置
  27331. tags:
  27332. - 大连千海金(协议和签约信息)
  27333. /QhjSys/QueryCustomerSignStatus:
  27334. get:
  27335. parameters:
  27336. - description: 客户ID
  27337. in: query
  27338. name: userid
  27339. type: integer
  27340. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  27341. in: query
  27342. name: nodetype
  27343. type: integer
  27344. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27345. in: query
  27346. name: goodsid
  27347. type: integer
  27348. - description: 创建交易日(yyyyMMdd)
  27349. in: query
  27350. name: tradedate
  27351. type: string
  27352. - description: 用户名称(模糊匹配)
  27353. in: query
  27354. name: username
  27355. type: string
  27356. produces:
  27357. - application/json
  27358. responses:
  27359. "200":
  27360. description: OK
  27361. schema:
  27362. items:
  27363. $ref: '#/definitions/models.QhjCustomerSignStatus'
  27364. type: array
  27365. "500":
  27366. description: Internal Server Error
  27367. schema:
  27368. $ref: '#/definitions/app.Response'
  27369. security:
  27370. - ApiKeyAuth: []
  27371. summary: 查询客户协议签约状态
  27372. tags:
  27373. - 大连千海金(协议和签约信息)
  27374. /QhjSys/QueryNodeAgreementConfig:
  27375. get:
  27376. parameters:
  27377. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27378. in: query
  27379. name: configid
  27380. type: integer
  27381. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27382. in: query
  27383. name: nodetype
  27384. type: integer
  27385. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27386. in: query
  27387. name: goodsid
  27388. type: integer
  27389. - description: 协议ID
  27390. in: query
  27391. name: agreementid
  27392. type: integer
  27393. - description: 协议类型 - 1:注册 2:登录 3:交易
  27394. in: query
  27395. name: agreementtype
  27396. type: integer
  27397. - description: 协议版本号
  27398. in: query
  27399. name: agreementversion
  27400. type: integer
  27401. - description: 协议编号(模糊匹配)
  27402. in: query
  27403. name: agreementno
  27404. type: string
  27405. - description: 协议名称(模糊匹配)
  27406. in: query
  27407. name: agreementname
  27408. type: string
  27409. produces:
  27410. - application/json
  27411. responses:
  27412. "200":
  27413. description: OK
  27414. schema:
  27415. items:
  27416. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  27417. type: array
  27418. "500":
  27419. description: Internal Server Error
  27420. schema:
  27421. $ref: '#/definitions/app.Response'
  27422. security:
  27423. - ApiKeyAuth: []
  27424. summary: 查询协议节点配置
  27425. tags:
  27426. - 大连千海金(协议和签约信息)
  27427. /QhjSys/QueryQhjCustomerSignLog:
  27428. get:
  27429. parameters:
  27430. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  27431. in: query
  27432. name: logid
  27433. type: integer
  27434. - description: 客户ID
  27435. in: query
  27436. name: userid
  27437. type: integer
  27438. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27439. in: query
  27440. name: nodetype
  27441. type: integer
  27442. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27443. in: query
  27444. name: goodsid
  27445. type: integer
  27446. - description: 协议ID
  27447. in: query
  27448. name: agreementid
  27449. type: integer
  27450. - description: 用户名称(模糊匹配)
  27451. in: query
  27452. name: username
  27453. type: string
  27454. - description: 协议编号(模糊匹配)
  27455. in: query
  27456. name: agreementno
  27457. type: string
  27458. - description: 协议名称(模糊匹配)
  27459. in: query
  27460. name: agreementname
  27461. type: string
  27462. produces:
  27463. - application/json
  27464. responses:
  27465. "200":
  27466. description: OK
  27467. schema:
  27468. items:
  27469. $ref: '#/definitions/models.QhjCustomerSignLog'
  27470. type: array
  27471. "500":
  27472. description: Internal Server Error
  27473. schema:
  27474. $ref: '#/definitions/app.Response'
  27475. security:
  27476. - ApiKeyAuth: []
  27477. summary: 查询客户协议签约流水
  27478. tags:
  27479. - 大连千海金(协议和签约信息)
  27480. /QhjSys/QueryUserNodeCfgAndStatus:
  27481. get:
  27482. parameters:
  27483. - description: 客户ID
  27484. in: query
  27485. name: userid
  27486. type: integer
  27487. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27488. in: query
  27489. name: configid
  27490. type: integer
  27491. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27492. in: query
  27493. name: nodetype
  27494. type: string
  27495. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27496. in: query
  27497. name: goodsid
  27498. type: integer
  27499. - description: 协议ID
  27500. in: query
  27501. name: agreementid
  27502. type: integer
  27503. - description: 协议类型 - 1:注册 2:登录 3:交易
  27504. in: query
  27505. name: agreementtype
  27506. type: integer
  27507. - description: 协议版本号
  27508. in: query
  27509. name: agreementversion
  27510. type: integer
  27511. - description: 协议编号(模糊匹配)
  27512. in: query
  27513. name: agreementno
  27514. type: string
  27515. - description: 协议名称(模糊匹配)
  27516. in: query
  27517. name: agreementname
  27518. type: string
  27519. produces:
  27520. - application/json
  27521. responses:
  27522. "200":
  27523. description: OK
  27524. schema:
  27525. items:
  27526. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  27527. type: array
  27528. "500":
  27529. description: Internal Server Error
  27530. schema:
  27531. $ref: '#/definitions/app.Response'
  27532. security:
  27533. - ApiKeyAuth: []
  27534. summary: 查询用户协议节点配置和状态
  27535. tags:
  27536. - 大连千海金(协议和签约信息)
  27537. /Quote/QueryHistoryDatas:
  27538. get:
  27539. parameters:
  27540. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  27541. 日线 12:周线 13:月线 14:年线'
  27542. in: query
  27543. name: cycleType
  27544. required: true
  27545. type: integer
  27546. - description: 商品代码
  27547. in: query
  27548. name: goodsCode
  27549. required: true
  27550. type: string
  27551. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27552. in: query
  27553. name: startTime
  27554. type: string
  27555. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  27556. in: query
  27557. name: endTime
  27558. type: string
  27559. - description: 条数
  27560. in: query
  27561. name: count
  27562. type: integer
  27563. - description: 是否按时间顺序排序(默认为时间倒序排序)
  27564. in: query
  27565. name: isAsc
  27566. type: boolean
  27567. produces:
  27568. - application/json
  27569. responses:
  27570. "200":
  27571. description: OK
  27572. schema:
  27573. $ref: '#/definitions/quote.HistoryData'
  27574. "500":
  27575. description: Internal Server Error
  27576. schema:
  27577. $ref: '#/definitions/app.Response'
  27578. security:
  27579. - ApiKeyAuth: []
  27580. summary: 查询行情历史数据
  27581. tags:
  27582. - 行情服务
  27583. /Quote/QueryHistoryTikDatas:
  27584. get:
  27585. parameters:
  27586. - description: 商品代码
  27587. in: query
  27588. name: goodsCode
  27589. required: true
  27590. type: string
  27591. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27592. in: query
  27593. name: startTime
  27594. type: string
  27595. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  27596. in: query
  27597. name: endTime
  27598. type: string
  27599. - description: 条数
  27600. in: query
  27601. name: count
  27602. type: integer
  27603. - description: 是否按时间顺序排序(默认为时间倒序排序)
  27604. in: query
  27605. name: isAsc
  27606. type: boolean
  27607. produces:
  27608. - application/json
  27609. responses:
  27610. "200":
  27611. description: OK
  27612. schema:
  27613. $ref: '#/definitions/quote.HistoryTikData'
  27614. "500":
  27615. description: Internal Server Error
  27616. schema:
  27617. $ref: '#/definitions/app.Response'
  27618. security:
  27619. - ApiKeyAuth: []
  27620. summary: 查询行情Tik数据
  27621. tags:
  27622. - 行情服务
  27623. /Quote/QueryQuoteDay:
  27624. get:
  27625. parameters:
  27626. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  27627. in: query
  27628. name: goodsCodes
  27629. type: string
  27630. produces:
  27631. - application/json
  27632. responses:
  27633. "200":
  27634. description: OK
  27635. schema:
  27636. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  27637. "500":
  27638. description: Internal Server Error
  27639. schema:
  27640. $ref: '#/definitions/app.Response'
  27641. security:
  27642. - ApiKeyAuth: []
  27643. summary: 获取商品盘面信息
  27644. tags:
  27645. - 行情服务
  27646. /Quote/QueryTSData:
  27647. get:
  27648. parameters:
  27649. - description: 商品代码
  27650. in: query
  27651. name: goodsCode
  27652. required: true
  27653. type: string
  27654. produces:
  27655. - application/json
  27656. responses:
  27657. "200":
  27658. description: OK
  27659. schema:
  27660. $ref: '#/definitions/quote.QueryTSDataRsp'
  27661. "500":
  27662. description: Internal Server Error
  27663. schema:
  27664. $ref: '#/definitions/app.Response'
  27665. security:
  27666. - ApiKeyAuth: []
  27667. summary: 分时图数据查询
  27668. tags:
  27669. - 行情服务
  27670. /SZDZ/QueryConvertConfig:
  27671. get:
  27672. parameters:
  27673. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  27674. 6:交易转花生米(不设置)
  27675. in: query
  27676. name: convertType
  27677. type: integer
  27678. - description: 外部商品代码[JD\PD]
  27679. in: query
  27680. name: outerGoodsCode
  27681. type: string
  27682. - description: 内部商品ID列表[交易],格式:1,2,3
  27683. in: query
  27684. name: innerGoodsIDs
  27685. type: string
  27686. produces:
  27687. - application/json
  27688. responses:
  27689. "200":
  27690. description: OK
  27691. schema:
  27692. $ref: '#/definitions/models.Szdz3convertconfig'
  27693. "500":
  27694. description: Internal Server Error
  27695. schema:
  27696. $ref: '#/definitions/app.Response'
  27697. security:
  27698. - ApiKeyAuth: []
  27699. summary: 查询交易系统转换设置
  27700. tags:
  27701. - 定制【尚志大宗】
  27702. /SZDZ/QueryConvertLog:
  27703. get:
  27704. parameters:
  27705. - description: 资金账户 - 格式:1,2,3
  27706. in: query
  27707. name: accountID
  27708. required: true
  27709. type: string
  27710. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27711. in: query
  27712. name: startDate
  27713. type: string
  27714. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27715. in: query
  27716. name: endDate
  27717. type: string
  27718. produces:
  27719. - application/json
  27720. responses:
  27721. "200":
  27722. description: OK
  27723. schema:
  27724. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  27725. "500":
  27726. description: Internal Server Error
  27727. schema:
  27728. $ref: '#/definitions/app.Response'
  27729. security:
  27730. - ApiKeyAuth: []
  27731. summary: 交易系统转换流水查询
  27732. tags:
  27733. - 定制【尚志大宗】
  27734. /SZDZ/QueryGoodsPickup:
  27735. get:
  27736. parameters:
  27737. - description: 资金账户 - 格式:1,2,3
  27738. in: query
  27739. name: accountID
  27740. required: true
  27741. type: string
  27742. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  27743. in: query
  27744. name: takeOrderStatus
  27745. type: integer
  27746. produces:
  27747. - application/json
  27748. responses:
  27749. "200":
  27750. description: OK
  27751. schema:
  27752. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  27753. "500":
  27754. description: Internal Server Error
  27755. schema:
  27756. $ref: '#/definitions/app.Response'
  27757. security:
  27758. - ApiKeyAuth: []
  27759. summary: 商品提货单查询
  27760. tags:
  27761. - 定制【尚志大宗】
  27762. /SZDZ/QueryRecieptOrder:
  27763. get:
  27764. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27765. parameters:
  27766. - description: 页码
  27767. in: query
  27768. name: page
  27769. type: integer
  27770. - description: 每页条数
  27771. in: query
  27772. name: pagesize
  27773. type: integer
  27774. - description: 商品ID
  27775. in: query
  27776. name: goodsID
  27777. required: true
  27778. type: integer
  27779. - description: 所属账户名称
  27780. in: query
  27781. name: accountName
  27782. type: string
  27783. - description: 市场ID
  27784. in: query
  27785. name: marketID
  27786. type: integer
  27787. - description: 方向 - 0:买 1:卖
  27788. in: query
  27789. name: buyorsell
  27790. required: true
  27791. type: integer
  27792. produces:
  27793. - application/json
  27794. responses:
  27795. "200":
  27796. description: OK
  27797. schema:
  27798. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  27799. "500":
  27800. description: Internal Server Error
  27801. schema:
  27802. $ref: '#/definitions/app.Response'
  27803. security:
  27804. - ApiKeyAuth: []
  27805. summary: 点选挂牌委托单据查询(摘牌大厅)
  27806. tags:
  27807. - 定制【尚志大宗】
  27808. /SZDZ/QuerySZDZTradePosition:
  27809. get:
  27810. parameters:
  27811. - description: 资金账户
  27812. in: query
  27813. name: accountID
  27814. required: true
  27815. type: integer
  27816. produces:
  27817. - application/json
  27818. responses:
  27819. "200":
  27820. description: OK
  27821. schema:
  27822. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  27823. "500":
  27824. description: Internal Server Error
  27825. schema:
  27826. $ref: '#/definitions/app.Response'
  27827. security:
  27828. - ApiKeyAuth: []
  27829. summary: 持仓汇总查询(尚志大宗)
  27830. tags:
  27831. - 定制【尚志大宗】
  27832. /SZDZ/SearchWhite:
  27833. get:
  27834. parameters:
  27835. - description: 用户ID
  27836. in: query
  27837. name: userID
  27838. required: true
  27839. type: integer
  27840. produces:
  27841. - application/json
  27842. responses:
  27843. "200":
  27844. description: OK
  27845. schema:
  27846. $ref: '#/definitions/models.Szdz3searchwhitelist'
  27847. "500":
  27848. description: Internal Server Error
  27849. schema:
  27850. $ref: '#/definitions/app.Response'
  27851. security:
  27852. - ApiKeyAuth: []
  27853. summary: 搜索白名单
  27854. tags:
  27855. - 定制【尚志大宗】
  27856. /Search/SearchGoodses:
  27857. get:
  27858. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  27859. parameters:
  27860. - description: 检索内容
  27861. in: query
  27862. name: content
  27863. required: true
  27864. type: string
  27865. - description: 交易模式,格式:1,2,3
  27866. in: query
  27867. name: tradeModes
  27868. type: string
  27869. produces:
  27870. - application/json
  27871. responses:
  27872. "200":
  27873. description: OK
  27874. schema:
  27875. $ref: '#/definitions/models.SearchGoods'
  27876. "500":
  27877. description: Internal Server Error
  27878. schema:
  27879. $ref: '#/definitions/app.Response'
  27880. summary: 检索商品信息
  27881. tags:
  27882. - 检索服务
  27883. /TaAccount/GetTaAccounts:
  27884. get:
  27885. parameters:
  27886. - description: 登录账户
  27887. in: query
  27888. name: loginID
  27889. required: true
  27890. type: integer
  27891. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  27892. in: query
  27893. name: taAccountType
  27894. type: integer
  27895. produces:
  27896. - application/json
  27897. responses:
  27898. "200":
  27899. description: OK
  27900. schema:
  27901. $ref: '#/definitions/models.Taaccount'
  27902. "500":
  27903. description: Internal Server Error
  27904. schema:
  27905. $ref: '#/definitions/app.Response'
  27906. security:
  27907. - ApiKeyAuth: []
  27908. summary: 获取资金账户信息
  27909. tags:
  27910. - 资金账户
  27911. /TaAccount/QueryAmountLog:
  27912. get:
  27913. parameters:
  27914. - description: 页码
  27915. in: query
  27916. name: page
  27917. type: integer
  27918. - description: 每页条数
  27919. in: query
  27920. name: pagesize
  27921. type: integer
  27922. - description: 资金账户 - 格式:1,2,3
  27923. in: query
  27924. name: accountID
  27925. required: true
  27926. type: string
  27927. - description: 资金操作类型 - 格式:1,2,3
  27928. in: query
  27929. name: OperateType
  27930. type: string
  27931. produces:
  27932. - application/json
  27933. responses:
  27934. "200":
  27935. description: OK
  27936. schema:
  27937. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  27938. "500":
  27939. description: Internal Server Error
  27940. schema:
  27941. $ref: '#/definitions/app.Response'
  27942. security:
  27943. - ApiKeyAuth: []
  27944. summary: 资金流水查询(当前)
  27945. tags:
  27946. - 资金账户
  27947. /TaAccount/QueryHisAmountLog:
  27948. get:
  27949. parameters:
  27950. - description: 页码
  27951. in: query
  27952. name: page
  27953. type: integer
  27954. - description: 每页条数
  27955. in: query
  27956. name: pagesize
  27957. type: integer
  27958. - description: 资金账户 - 格式:1,2,3
  27959. in: query
  27960. name: accountID
  27961. required: true
  27962. type: string
  27963. - description: 资金操作类型 - 格式:1,2,3
  27964. in: query
  27965. name: OperateType
  27966. type: string
  27967. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27968. in: query
  27969. name: startDate
  27970. type: string
  27971. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27972. in: query
  27973. name: endDate
  27974. type: string
  27975. produces:
  27976. - application/json
  27977. responses:
  27978. "200":
  27979. description: OK
  27980. schema:
  27981. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  27982. "500":
  27983. description: Internal Server Error
  27984. schema:
  27985. $ref: '#/definitions/app.Response'
  27986. security:
  27987. - ApiKeyAuth: []
  27988. summary: 资金流水查询(历史)
  27989. tags:
  27990. - 资金账户
  27991. /TaAccount/QueryRelatedTaAccount:
  27992. get:
  27993. parameters:
  27994. - description: 关联UserID
  27995. in: query
  27996. name: relateduserid
  27997. required: true
  27998. type: integer
  27999. produces:
  28000. - application/json
  28001. responses:
  28002. "200":
  28003. description: OK
  28004. schema:
  28005. items:
  28006. $ref: '#/definitions/models.RelatedTaAccount'
  28007. type: array
  28008. "500":
  28009. description: Internal Server Error
  28010. schema:
  28011. $ref: '#/definitions/app.Response'
  28012. security:
  28013. - ApiKeyAuth: []
  28014. summary: 查询关联资金账户信息
  28015. tags:
  28016. - 资金账户
  28017. /Tjmd/QueryQuoteGoodsList:
  28018. get:
  28019. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  28020. parameters:
  28021. - description: 用户类型
  28022. in: query
  28023. name: usertype
  28024. required: true
  28025. type: integer
  28026. - description: 市场id, 格式 1,2,3
  28027. in: query
  28028. name: marketids
  28029. type: string
  28030. - description: 商品组id
  28031. in: query
  28032. name: goodsgroupid
  28033. type: integer
  28034. - description: 商品id
  28035. in: query
  28036. name: goodsid
  28037. type: integer
  28038. produces:
  28039. - application/json
  28040. responses:
  28041. "200":
  28042. description: OK
  28043. schema:
  28044. items:
  28045. $ref: '#/definitions/models.TjmdQuoteGoods'
  28046. type: array
  28047. "500":
  28048. description: Internal Server Error
  28049. schema:
  28050. $ref: '#/definitions/app.Response'
  28051. security:
  28052. - ApiKeyAuth: []
  28053. summary: 查询掉期报价列表
  28054. tags:
  28055. - 天津麦顿
  28056. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  28057. get:
  28058. parameters:
  28059. - description: 成交单号
  28060. in: query
  28061. name: tradeid
  28062. required: true
  28063. type: string
  28064. produces:
  28065. - application/json
  28066. responses:
  28067. "200":
  28068. description: OK
  28069. schema:
  28070. items:
  28071. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  28072. type: array
  28073. "500":
  28074. description: Internal Server Error
  28075. schema:
  28076. $ref: '#/definitions/app.Response'
  28077. security:
  28078. - ApiKeyAuth: []
  28079. summary: 掉期商品订单详情(交易确认书)
  28080. tags:
  28081. - 天津麦顿
  28082. /Tjmd/QueryTjmdMarketSection:
  28083. get:
  28084. produces:
  28085. - application/json
  28086. responses:
  28087. "200":
  28088. description: OK
  28089. schema:
  28090. items:
  28091. $ref: '#/definitions/models.TjmdMarketSection'
  28092. type: array
  28093. "500":
  28094. description: Internal Server Error
  28095. schema:
  28096. $ref: '#/definitions/app.Response'
  28097. security:
  28098. - ApiKeyAuth: []
  28099. summary: 查询市场板块
  28100. tags:
  28101. - 天津麦顿
  28102. /Tjmd/QueryTjmdTodayAccountMargin:
  28103. get:
  28104. parameters:
  28105. - description: 市场id
  28106. in: query
  28107. name: marketid
  28108. type: string
  28109. - description: 商品id
  28110. in: query
  28111. name: goodsid
  28112. type: string
  28113. - description: 资金账号
  28114. in: query
  28115. name: accountid
  28116. type: string
  28117. produces:
  28118. - application/json
  28119. responses:
  28120. "200":
  28121. description: OK
  28122. schema:
  28123. items:
  28124. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  28125. type: array
  28126. "500":
  28127. description: Internal Server Error
  28128. schema:
  28129. $ref: '#/definitions/app.Response'
  28130. security:
  28131. - ApiKeyAuth: []
  28132. summary: 查询今日账户保证金配置
  28133. tags:
  28134. - 天津麦顿
  28135. /Tjmd/QueryTjmdTradeOrderDetail:
  28136. get:
  28137. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  28138. parameters:
  28139. - description: 页码
  28140. in: query
  28141. name: page
  28142. type: integer
  28143. - description: 每页条数
  28144. in: query
  28145. name: pagesize
  28146. type: integer
  28147. - description: 用户id
  28148. in: query
  28149. name: userid
  28150. required: true
  28151. type: integer
  28152. - description: 用户类型
  28153. in: query
  28154. name: usertype
  28155. required: true
  28156. type: integer
  28157. - description: 市场id, 格式 1,2,3
  28158. in: query
  28159. name: marketids
  28160. type: string
  28161. - description: 商品id
  28162. in: query
  28163. name: goodsid
  28164. required: true
  28165. type: integer
  28166. - description: 买卖方向 0-买 1-卖
  28167. in: query
  28168. name: buyorsell
  28169. required: true
  28170. type: integer
  28171. produces:
  28172. - application/json
  28173. responses:
  28174. "200":
  28175. description: OK
  28176. schema:
  28177. items:
  28178. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  28179. type: array
  28180. "500":
  28181. description: Internal Server Error
  28182. schema:
  28183. $ref: '#/definitions/app.Response'
  28184. security:
  28185. - ApiKeyAuth: []
  28186. summary: 查询掉期买卖大厅
  28187. tags:
  28188. - 天津麦顿
  28189. /Tjmd/QueryTjmdTransferApply:
  28190. get:
  28191. parameters:
  28192. - description: 类型 1-我的申请 2-对方申请
  28193. in: query
  28194. name: applytype
  28195. required: true
  28196. type: integer
  28197. - description: 市场id, 格式 1,2,3
  28198. in: query
  28199. name: marketids
  28200. type: string
  28201. - description: 资金账号, 格式 25000000001,25000000003
  28202. in: query
  28203. name: accountids
  28204. type: string
  28205. - description: 开始交易日(yyyymmdd)
  28206. in: query
  28207. name: begindate
  28208. type: string
  28209. - description: 结束交易日(yyyymmdd)
  28210. in: query
  28211. name: enddate
  28212. type: string
  28213. produces:
  28214. - application/json
  28215. responses:
  28216. "200":
  28217. description: OK
  28218. schema:
  28219. items:
  28220. $ref: '#/definitions/models.TjmdTransferApply'
  28221. type: array
  28222. "500":
  28223. description: Internal Server Error
  28224. schema:
  28225. $ref: '#/definitions/app.Response'
  28226. security:
  28227. - ApiKeyAuth: []
  28228. summary: 查询掉期协议单
  28229. tags:
  28230. - 天津麦顿
  28231. /Trade/QueryRecieptOrder:
  28232. get:
  28233. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  28234. parameters:
  28235. - description: 页码
  28236. in: query
  28237. name: page
  28238. type: integer
  28239. - description: 每页条数
  28240. in: query
  28241. name: pagesize
  28242. type: integer
  28243. - description: 商品ID
  28244. in: query
  28245. name: goodsID
  28246. required: true
  28247. type: integer
  28248. - description: 所属账户名称
  28249. in: query
  28250. name: accountName
  28251. type: string
  28252. - description: 市场ID
  28253. in: query
  28254. name: marketID
  28255. type: integer
  28256. - description: 方向 - 0:买 1:卖
  28257. in: query
  28258. name: buyorsell
  28259. required: true
  28260. type: integer
  28261. produces:
  28262. - application/json
  28263. responses:
  28264. "200":
  28265. description: OK
  28266. schema:
  28267. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  28268. "500":
  28269. description: Internal Server Error
  28270. schema:
  28271. $ref: '#/definitions/app.Response'
  28272. security:
  28273. - ApiKeyAuth: []
  28274. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  28275. tags:
  28276. - 通用交易
  28277. /User/AddMessageBoard:
  28278. post:
  28279. parameters:
  28280. - description: 用户ID
  28281. in: query
  28282. name: userID
  28283. required: true
  28284. type: integer
  28285. - description: 留言信息
  28286. in: query
  28287. name: message
  28288. required: true
  28289. type: string
  28290. - description: 联系电话
  28291. in: query
  28292. name: contactNum
  28293. required: true
  28294. type: string
  28295. produces:
  28296. - application/json
  28297. responses:
  28298. "200":
  28299. description: OK
  28300. schema:
  28301. $ref: '#/definitions/app.Response'
  28302. "500":
  28303. description: Internal Server Error
  28304. schema:
  28305. $ref: '#/definitions/app.Response'
  28306. security:
  28307. - ApiKeyAuth: []
  28308. summary: 添加用户留言板信息
  28309. tags:
  28310. - 用户信息
  28311. /User/AddUserFavoriteGoods:
  28312. post:
  28313. parameters:
  28314. - description: 用户ID
  28315. in: query
  28316. name: userID
  28317. required: true
  28318. type: integer
  28319. - description: 商品ID
  28320. in: query
  28321. name: goodsID
  28322. required: true
  28323. type: integer
  28324. produces:
  28325. - application/json
  28326. responses:
  28327. "200":
  28328. description: OK
  28329. schema:
  28330. $ref: '#/definitions/app.Response'
  28331. "500":
  28332. description: Internal Server Error
  28333. schema:
  28334. $ref: '#/definitions/app.Response'
  28335. security:
  28336. - ApiKeyAuth: []
  28337. summary: 添加用户商品收藏信息
  28338. tags:
  28339. - 用户信息
  28340. /User/GetLoginID:
  28341. get:
  28342. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  28343. parameters:
  28344. - description: 登录代码
  28345. in: query
  28346. name: username
  28347. required: true
  28348. type: string
  28349. produces:
  28350. - application/json
  28351. responses:
  28352. "200":
  28353. description: OK
  28354. schema:
  28355. $ref: '#/definitions/app.Response'
  28356. "500":
  28357. description: Internal Server Error
  28358. schema:
  28359. $ref: '#/definitions/app.Response'
  28360. summary: 获取登录ID
  28361. tags:
  28362. - 用户信息
  28363. /User/GetUserAccount:
  28364. get:
  28365. parameters:
  28366. - description: 用户ID
  28367. in: query
  28368. name: userID
  28369. required: true
  28370. type: integer
  28371. produces:
  28372. - application/json
  28373. responses:
  28374. "200":
  28375. description: OK
  28376. schema:
  28377. $ref: '#/definitions/models.Useraccount'
  28378. "500":
  28379. description: Internal Server Error
  28380. schema:
  28381. $ref: '#/definitions/app.Response'
  28382. security:
  28383. - ApiKeyAuth: []
  28384. summary: 获取用户账号信息
  28385. tags:
  28386. - 用户信息
  28387. /User/GetUserAuthStatus:
  28388. get:
  28389. parameters:
  28390. - description: 用户ID
  28391. in: query
  28392. name: userID
  28393. required: true
  28394. type: integer
  28395. produces:
  28396. - application/json
  28397. responses:
  28398. "200":
  28399. description: OK
  28400. schema:
  28401. $ref: '#/definitions/app.Response'
  28402. "500":
  28403. description: Internal Server Error
  28404. schema:
  28405. $ref: '#/definitions/app.Response'
  28406. security:
  28407. - ApiKeyAuth: []
  28408. summary: 获取用户实名认证状态
  28409. tags:
  28410. - 用户信息
  28411. /User/LoginQuery:
  28412. get:
  28413. parameters:
  28414. - description: 登录账号
  28415. in: query
  28416. name: loginID
  28417. required: true
  28418. type: integer
  28419. produces:
  28420. - application/json
  28421. responses:
  28422. "200":
  28423. description: OK
  28424. schema:
  28425. $ref: '#/definitions/user.LoginQueryRsp'
  28426. "500":
  28427. description: Internal Server Error
  28428. schema:
  28429. $ref: '#/definitions/app.Response'
  28430. security:
  28431. - ApiKeyAuth: []
  28432. summary: 账户登录后信息查询
  28433. tags:
  28434. - 用户信息
  28435. /User/QueryMessageBoard:
  28436. get:
  28437. parameters:
  28438. - description: 用户ID
  28439. in: query
  28440. name: userID
  28441. required: true
  28442. type: integer
  28443. produces:
  28444. - application/json
  28445. responses:
  28446. "200":
  28447. description: OK
  28448. schema:
  28449. $ref: '#/definitions/models.Messageboard'
  28450. "500":
  28451. description: Internal Server Error
  28452. schema:
  28453. $ref: '#/definitions/app.Response'
  28454. security:
  28455. - ApiKeyAuth: []
  28456. summary: 获取用户留言板信息
  28457. tags:
  28458. - 用户信息
  28459. /User/QueryUserFavoriteGoodses:
  28460. get:
  28461. parameters:
  28462. - description: 用户ID
  28463. in: query
  28464. name: userID
  28465. required: true
  28466. type: integer
  28467. produces:
  28468. - application/json
  28469. responses:
  28470. "200":
  28471. description: OK
  28472. schema:
  28473. $ref: '#/definitions/models.Userfavoritegoods'
  28474. "500":
  28475. description: Internal Server Error
  28476. schema:
  28477. $ref: '#/definitions/app.Response'
  28478. security:
  28479. - ApiKeyAuth: []
  28480. summary: 获取用户商品收藏信息
  28481. tags:
  28482. - 用户信息
  28483. /User/QueryUserInfo:
  28484. get:
  28485. parameters:
  28486. - description: 用户ID
  28487. in: query
  28488. name: userID
  28489. required: true
  28490. type: integer
  28491. - description: 是否解密
  28492. in: query
  28493. name: isDecrypt
  28494. type: boolean
  28495. produces:
  28496. - application/json
  28497. responses:
  28498. "200":
  28499. description: OK
  28500. schema:
  28501. $ref: '#/definitions/models.Userinfo'
  28502. "500":
  28503. description: Internal Server Error
  28504. schema:
  28505. $ref: '#/definitions/app.Response'
  28506. security:
  28507. - ApiKeyAuth: []
  28508. summary: 获取用户信息
  28509. tags:
  28510. - 用户信息
  28511. /User/QueryUserReferNum:
  28512. get:
  28513. parameters:
  28514. - description: 用户ID
  28515. in: query
  28516. name: userID
  28517. required: true
  28518. type: integer
  28519. produces:
  28520. - application/json
  28521. responses:
  28522. "200":
  28523. description: OK
  28524. schema:
  28525. $ref: '#/definitions/app.Response'
  28526. "500":
  28527. description: Internal Server Error
  28528. schema:
  28529. $ref: '#/definitions/app.Response'
  28530. summary: 获取用户邀请码
  28531. tags:
  28532. - 用户信息
  28533. /User/RemoveUserFavoriteGoods:
  28534. post:
  28535. parameters:
  28536. - description: 用户ID
  28537. in: query
  28538. name: userID
  28539. required: true
  28540. type: integer
  28541. - description: 商品ID
  28542. in: query
  28543. name: goodsID
  28544. required: true
  28545. type: integer
  28546. produces:
  28547. - application/json
  28548. responses:
  28549. "200":
  28550. description: OK
  28551. schema:
  28552. $ref: '#/definitions/app.Response'
  28553. "500":
  28554. description: Internal Server Error
  28555. schema:
  28556. $ref: '#/definitions/app.Response'
  28557. security:
  28558. - ApiKeyAuth: []
  28559. summary: 移除用户商品收藏信息
  28560. tags:
  28561. - 用户信息
  28562. /User/UpdateUserAccountStatus:
  28563. post:
  28564. parameters:
  28565. - description: 用户ID
  28566. in: query
  28567. name: userID
  28568. required: true
  28569. type: integer
  28570. - description: 账户状态 - 4:正常 6:注销(停用)
  28571. in: query
  28572. name: accountStatus
  28573. required: true
  28574. type: integer
  28575. produces:
  28576. - application/json
  28577. responses:
  28578. "200":
  28579. description: OK
  28580. schema:
  28581. $ref: '#/definitions/app.Response'
  28582. "500":
  28583. description: Internal Server Error
  28584. schema:
  28585. $ref: '#/definitions/app.Response'
  28586. security:
  28587. - ApiKeyAuth: []
  28588. summary: 更新用户状态
  28589. tags:
  28590. - 用户信息
  28591. /WRTrade/GetAllDeliveryGoods:
  28592. get:
  28593. produces:
  28594. - application/json
  28595. responses:
  28596. "200":
  28597. description: OK
  28598. schema:
  28599. $ref: '#/definitions/app.Response'
  28600. "500":
  28601. description: Internal Server Error
  28602. schema:
  28603. $ref: '#/definitions/app.Response'
  28604. security:
  28605. - ApiKeyAuth: []
  28606. summary: 获取带仓单分类的种类信息
  28607. tags:
  28608. - 仓单贸易
  28609. - 仓单贸易
  28610. /WrTrade2/InsertXhcpSellBackApply:
  28611. post:
  28612. parameters:
  28613. - description: 回收申请
  28614. in: body
  28615. name: jsonBody
  28616. required: true
  28617. schema:
  28618. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  28619. produces:
  28620. - application/json
  28621. responses:
  28622. "200":
  28623. description: OK
  28624. schema:
  28625. $ref: '#/definitions/app.Response'
  28626. "500":
  28627. description: Internal Server Error
  28628. schema:
  28629. $ref: '#/definitions/app.Response'
  28630. security:
  28631. - ApiKeyAuth: []
  28632. summary: 新增回收申请(新会陈皮)
  28633. tags:
  28634. - 仓单贸易v2
  28635. /WrTrade2/QueryDeliveryGoodsSection:
  28636. get:
  28637. produces:
  28638. - application/json
  28639. responses:
  28640. "200":
  28641. description: OK
  28642. schema:
  28643. items:
  28644. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  28645. type: array
  28646. "500":
  28647. description: Internal Server Error
  28648. schema:
  28649. $ref: '#/definitions/app.Response'
  28650. security:
  28651. - ApiKeyAuth: []
  28652. summary: 查询板块(分类)
  28653. tags:
  28654. - 仓单贸易v2
  28655. /WrTrade2/QueryFaProductDetail:
  28656. get:
  28657. description: 页面 买卖大厅 -> 选择融资方案
  28658. parameters:
  28659. - description: 仓单要素id
  28660. in: query
  28661. name: wrfactortypeid
  28662. required: true
  28663. type: integer
  28664. produces:
  28665. - application/json
  28666. responses:
  28667. "200":
  28668. description: OK
  28669. schema:
  28670. items:
  28671. $ref: '#/definitions/models.WrFAProductDetail'
  28672. type: array
  28673. "500":
  28674. description: Internal Server Error
  28675. schema:
  28676. $ref: '#/definitions/app.Response'
  28677. security:
  28678. - ApiKeyAuth: []
  28679. summary: 查询融资产品列表
  28680. tags:
  28681. - 仓单贸易v2
  28682. /WrTrade2/QueryFilterItem:
  28683. get:
  28684. parameters:
  28685. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  28686. in: query
  28687. name: itype
  28688. required: true
  28689. type: string
  28690. produces:
  28691. - application/json
  28692. responses:
  28693. "200":
  28694. description: OK
  28695. schema:
  28696. items:
  28697. $ref: '#/definitions/models.WrFilterItem'
  28698. type: array
  28699. "500":
  28700. description: Internal Server Error
  28701. schema:
  28702. $ref: '#/definitions/app.Response'
  28703. security:
  28704. - ApiKeyAuth: []
  28705. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  28706. tags:
  28707. - 仓单贸易v2
  28708. /WrTrade2/QueryFtDeliveryGoods:
  28709. get:
  28710. produces:
  28711. - application/json
  28712. responses:
  28713. "200":
  28714. description: OK
  28715. schema:
  28716. items:
  28717. $ref: '#/definitions/models.WrFtDeliveryGoods'
  28718. type: array
  28719. "500":
  28720. description: Internal Server Error
  28721. schema:
  28722. $ref: '#/definitions/app.Response'
  28723. security:
  28724. - ApiKeyAuth: []
  28725. summary: 查询品种品类筛选框列表
  28726. tags:
  28727. - 仓单贸易v2
  28728. /WrTrade2/QueryHoldLB:
  28729. get:
  28730. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  28731. parameters:
  28732. - description: 资金账号
  28733. in: query
  28734. name: accountid
  28735. required: true
  28736. type: integer
  28737. - description: 仓库id
  28738. in: query
  28739. name: warehouseid
  28740. type: integer
  28741. - description: 品种id
  28742. in: query
  28743. name: deliverygoodsid
  28744. type: integer
  28745. - description: 品类id
  28746. in: query
  28747. name: wrstandardid
  28748. type: integer
  28749. - description: 仓单要素id
  28750. in: query
  28751. name: wrfactortypeid
  28752. type: integer
  28753. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28754. in: query
  28755. name: dgitemname
  28756. type: string
  28757. produces:
  28758. - application/json
  28759. responses:
  28760. "200":
  28761. description: OK
  28762. schema:
  28763. items:
  28764. $ref: '#/definitions/models.WrHoldLB'
  28765. type: array
  28766. "500":
  28767. description: Internal Server Error
  28768. schema:
  28769. $ref: '#/definitions/app.Response'
  28770. security:
  28771. - ApiKeyAuth: []
  28772. summary: 查询仓单持有记录
  28773. tags:
  28774. - 仓单贸易v2
  28775. /WrTrade2/QueryOrderQuote:
  28776. get:
  28777. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  28778. 唯一确定1条记录
  28779. parameters:
  28780. - description: 页码
  28781. in: query
  28782. name: page
  28783. type: integer
  28784. - description: 每页条数
  28785. in: query
  28786. name: pagesize
  28787. type: integer
  28788. - description: 仓单贸易市场id
  28789. in: query
  28790. name: marketid
  28791. type: integer
  28792. - description: 价格方式 - 1:固定价 2-浮动价
  28793. in: query
  28794. name: wrpricetype
  28795. required: true
  28796. type: integer
  28797. - description: 0:仓单预售 1:仓单贸易
  28798. in: query
  28799. name: haswr
  28800. type: integer
  28801. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28802. in: query
  28803. name: dgitemname
  28804. type: string
  28805. - description: 仓库id(筛选条件)
  28806. in: query
  28807. name: warehouseid
  28808. type: integer
  28809. - description: 品种id
  28810. in: query
  28811. name: deliverygoodsid
  28812. type: integer
  28813. - description: 品类id
  28814. in: query
  28815. name: wrstandardid
  28816. type: integer
  28817. - description: 品牌id(dgfactoryitemid)
  28818. in: query
  28819. name: brandid
  28820. type: integer
  28821. - description: 年份id(dgfactoryitemid)
  28822. in: query
  28823. name: yearsid
  28824. type: integer
  28825. - description: 仓单要素id
  28826. in: query
  28827. name: wrfactortypeid
  28828. type: integer
  28829. - description: 交收月(yyyy-mm) 仓单预售填写
  28830. in: query
  28831. name: deliverymonth
  28832. type: string
  28833. produces:
  28834. - application/json
  28835. responses:
  28836. "200":
  28837. description: OK
  28838. schema:
  28839. items:
  28840. $ref: '#/definitions/models.WrOrderQuote'
  28841. type: array
  28842. "500":
  28843. description: Internal Server Error
  28844. schema:
  28845. $ref: '#/definitions/app.Response'
  28846. security:
  28847. - ApiKeyAuth: []
  28848. summary: 查询大厅行情列表
  28849. tags:
  28850. - 仓单贸易v2
  28851. /WrTrade2/QueryOrderQuoteDetail:
  28852. get:
  28853. parameters:
  28854. - description: 页码
  28855. in: query
  28856. name: page
  28857. type: integer
  28858. - description: 每页条数
  28859. in: query
  28860. name: pagesize
  28861. type: integer
  28862. - description: 仓单贸易市场id
  28863. in: query
  28864. name: marketid
  28865. type: integer
  28866. - description: 价格方式 - 1:固定价 2-浮动价
  28867. in: query
  28868. name: wrpricetype
  28869. required: true
  28870. type: integer
  28871. - description: 0:仓单预售 1:仓单贸易
  28872. in: query
  28873. name: haswr
  28874. type: integer
  28875. - description: 仓单要素id
  28876. in: query
  28877. name: wrfactortypeid
  28878. required: true
  28879. type: integer
  28880. - description: 期货商品id(浮动价方式时填)
  28881. in: query
  28882. name: goodsid
  28883. type: integer
  28884. - description: 买卖方向 0-买 1-卖
  28885. in: query
  28886. name: buyorsell
  28887. required: true
  28888. type: integer
  28889. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  28890. in: query
  28891. name: deliverymonth
  28892. type: string
  28893. produces:
  28894. - application/json
  28895. responses:
  28896. "200":
  28897. description: OK
  28898. schema:
  28899. items:
  28900. $ref: '#/definitions/models.WrOrderQuoteDetail'
  28901. type: array
  28902. "500":
  28903. description: Internal Server Error
  28904. schema:
  28905. $ref: '#/definitions/app.Response'
  28906. security:
  28907. - ApiKeyAuth: []
  28908. summary: 查询买卖大厅
  28909. tags:
  28910. - 仓单贸易v2
  28911. /WrTrade2/QueryOrderQuoteMyq:
  28912. get:
  28913. parameters:
  28914. - description: 页码
  28915. in: query
  28916. name: page
  28917. type: integer
  28918. - description: 每页条数
  28919. in: query
  28920. name: pagesize
  28921. type: integer
  28922. - description: 用户id
  28923. in: query
  28924. name: userid
  28925. required: true
  28926. type: integer
  28927. - description: 仓单贸易市场id
  28928. in: query
  28929. name: marketid
  28930. type: integer
  28931. - description: 0:仓单预售 1:仓单贸易
  28932. in: query
  28933. name: haswr
  28934. type: integer
  28935. - description: 买卖方向 0-买 1-卖
  28936. in: query
  28937. name: buyorsell
  28938. required: true
  28939. type: integer
  28940. - description: 品种id
  28941. in: query
  28942. name: deliverygoodsid
  28943. type: integer
  28944. - description: 品类id
  28945. in: query
  28946. name: wrstandardid
  28947. type: integer
  28948. - description: 交收月(yyyy-mm) 仓单预售填写
  28949. in: query
  28950. name: deliverymonth
  28951. type: string
  28952. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28953. in: query
  28954. name: dgitemname
  28955. type: string
  28956. produces:
  28957. - application/json
  28958. responses:
  28959. "200":
  28960. description: OK
  28961. schema:
  28962. items:
  28963. $ref: '#/definitions/models.WrQuoteOrderMyq'
  28964. type: array
  28965. "500":
  28966. description: Internal Server Error
  28967. schema:
  28968. $ref: '#/definitions/app.Response'
  28969. security:
  28970. - ApiKeyAuth: []
  28971. summary: 查询贸易圈挂牌大厅
  28972. tags:
  28973. - 仓单贸易v2
  28974. /WrTrade2/QueryPerformancePlan:
  28975. get:
  28976. parameters:
  28977. - description: 用户id
  28978. in: query
  28979. name: userid
  28980. required: true
  28981. type: integer
  28982. - description: 买卖方向 0-买 1-卖
  28983. in: query
  28984. name: buyorsell
  28985. required: true
  28986. type: integer
  28987. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  28988. 8:释放冻结失败 9:超时待处理 10:超时关闭
  28989. in: query
  28990. name: status
  28991. type: string
  28992. - description: 开始交易日(yyyymmdd)
  28993. in: query
  28994. name: begindate
  28995. type: string
  28996. - description: 结束交易日(yyyymmdd)
  28997. in: query
  28998. name: enddate
  28999. type: string
  29000. produces:
  29001. - application/json
  29002. responses:
  29003. "200":
  29004. description: OK
  29005. schema:
  29006. items:
  29007. $ref: '#/definitions/models.WrPerformancePlan'
  29008. type: array
  29009. "500":
  29010. description: Internal Server Error
  29011. schema:
  29012. $ref: '#/definitions/app.Response'
  29013. security:
  29014. - ApiKeyAuth: []
  29015. summary: 查询履约信息
  29016. tags:
  29017. - 仓单贸易v2
  29018. /WrTrade2/QueryPermancePlanTmp:
  29019. get:
  29020. description: |-
  29021. 返回指定用户的模板和公共模板(用户id为空)
  29022. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  29023. parameters:
  29024. - description: 用户id
  29025. in: query
  29026. name: userid
  29027. type: integer
  29028. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  29029. (无仓单) 5:挂牌期权 6:竞拍-降价式
  29030. in: query
  29031. name: tmptype
  29032. type: string
  29033. - description: 是否包含公共模板(用户id为空的) 1-包含
  29034. in: query
  29035. name: includepub
  29036. type: integer
  29037. - description: 市场id(天津麦顿指定此参数,其它不用)
  29038. in: query
  29039. name: marketid
  29040. type: integer
  29041. produces:
  29042. - application/json
  29043. responses:
  29044. "200":
  29045. description: OK
  29046. schema:
  29047. items:
  29048. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  29049. type: array
  29050. "500":
  29051. description: Internal Server Error
  29052. schema:
  29053. $ref: '#/definitions/app.Response'
  29054. security:
  29055. - ApiKeyAuth: []
  29056. summary: 查询履约模板
  29057. tags:
  29058. - 仓单贸易v2
  29059. /WrTrade2/QuerySiteColumnDetail:
  29060. get:
  29061. parameters:
  29062. - description: 页码
  29063. in: query
  29064. name: page
  29065. type: integer
  29066. - description: 每页条数
  29067. in: query
  29068. name: pagesize
  29069. type: integer
  29070. - description: 所属栏目id
  29071. in: query
  29072. name: columnid
  29073. type: integer
  29074. produces:
  29075. - application/json
  29076. responses:
  29077. "200":
  29078. description: OK
  29079. schema:
  29080. items:
  29081. $ref: '#/definitions/models.WrSiteColumnDetail'
  29082. type: array
  29083. "500":
  29084. description: Internal Server Error
  29085. schema:
  29086. $ref: '#/definitions/app.Response'
  29087. security:
  29088. - ApiKeyAuth: []
  29089. summary: 查询资讯
  29090. tags:
  29091. - 仓单贸易v2
  29092. /WrTrade2/QuerySpotGroupTradeSum:
  29093. get:
  29094. produces:
  29095. - application/json
  29096. responses:
  29097. "200":
  29098. description: OK
  29099. schema:
  29100. items:
  29101. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  29102. type: array
  29103. "500":
  29104. description: Internal Server Error
  29105. schema:
  29106. $ref: '#/definitions/app.Response'
  29107. security:
  29108. - ApiKeyAuth: []
  29109. summary: 查询指数
  29110. tags:
  29111. - 仓单贸易v2
  29112. /WrTrade2/QuerySpotGroupTradeSumDetail:
  29113. get:
  29114. description: 查询的结果将会按日期 从小到大 排序
  29115. parameters:
  29116. - description: 现货商品id
  29117. in: query
  29118. name: deliverygoodsid
  29119. required: true
  29120. type: integer
  29121. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  29122. in: query
  29123. name: lastnum
  29124. type: integer
  29125. produces:
  29126. - application/json
  29127. responses:
  29128. "200":
  29129. description: OK
  29130. schema:
  29131. items:
  29132. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  29133. type: array
  29134. "500":
  29135. description: Internal Server Error
  29136. schema:
  29137. $ref: '#/definitions/app.Response'
  29138. security:
  29139. - ApiKeyAuth: []
  29140. summary: 查询指数详细(价格走势图)
  29141. tags:
  29142. - 仓单贸易v2
  29143. /WrTrade2/QueryWrAverageTradePrice:
  29144. get:
  29145. parameters:
  29146. - description: 页码
  29147. in: query
  29148. name: page
  29149. type: integer
  29150. - description: 每页条数
  29151. in: query
  29152. name: pagesize
  29153. type: integer
  29154. - description: 0:仓单预售 1:仓单贸易
  29155. in: query
  29156. name: haswr
  29157. required: true
  29158. type: integer
  29159. - description: 仓单要素id
  29160. in: query
  29161. name: wrfactortypeid
  29162. required: true
  29163. type: integer
  29164. produces:
  29165. - application/json
  29166. responses:
  29167. "200":
  29168. description: OK
  29169. schema:
  29170. items:
  29171. $ref: '#/definitions/models.WrAverageTradePrice'
  29172. type: array
  29173. "500":
  29174. description: Internal Server Error
  29175. schema:
  29176. $ref: '#/definitions/app.Response'
  29177. security:
  29178. - ApiKeyAuth: []
  29179. summary: 查询成交价(历史走势)
  29180. tags:
  29181. - 仓单贸易v2
  29182. /WrTrade2/QueryWrBrandAndYears:
  29183. get:
  29184. produces:
  29185. - application/json
  29186. responses:
  29187. "200":
  29188. description: OK
  29189. schema:
  29190. items:
  29191. $ref: '#/definitions/models.WrBrandAndYears'
  29192. type: array
  29193. "500":
  29194. description: Internal Server Error
  29195. schema:
  29196. $ref: '#/definitions/app.Response'
  29197. security:
  29198. - ApiKeyAuth: []
  29199. summary: 查询品牌和年份
  29200. tags:
  29201. - 仓单贸易v2
  29202. /WrTrade2/QueryWrBsGoodsInfo:
  29203. get:
  29204. description: 合约交易/买卖大厅/详情
  29205. parameters:
  29206. - description: 商品id
  29207. in: query
  29208. name: goodsid
  29209. required: true
  29210. type: integer
  29211. produces:
  29212. - application/json
  29213. responses:
  29214. "200":
  29215. description: OK
  29216. schema:
  29217. items:
  29218. $ref: '#/definitions/models.WrBsGoodsInfo'
  29219. type: array
  29220. "500":
  29221. description: Internal Server Error
  29222. schema:
  29223. $ref: '#/definitions/app.Response'
  29224. security:
  29225. - ApiKeyAuth: []
  29226. summary: 查询合约交易买卖大厅详情
  29227. tags:
  29228. - 仓单贸易v2
  29229. /WrTrade2/QueryWrBuybackDetail:
  29230. get:
  29231. parameters:
  29232. - description: 融资合同id
  29233. in: query
  29234. name: scfcontractid
  29235. type: integer
  29236. produces:
  29237. - application/json
  29238. responses:
  29239. "200":
  29240. description: OK
  29241. schema:
  29242. items:
  29243. $ref: '#/definitions/models.WrBuybackDetail'
  29244. type: array
  29245. "500":
  29246. description: Internal Server Error
  29247. schema:
  29248. $ref: '#/definitions/app.Response'
  29249. security:
  29250. - ApiKeyAuth: []
  29251. summary: 查询仓单回购明细
  29252. tags:
  29253. - 仓单贸易v2
  29254. /WrTrade2/QueryWrClientAdSpaceConfig:
  29255. get:
  29256. produces:
  29257. - application/json
  29258. responses:
  29259. "200":
  29260. description: OK
  29261. schema:
  29262. items:
  29263. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  29264. type: array
  29265. "500":
  29266. description: Internal Server Error
  29267. schema:
  29268. $ref: '#/definitions/app.Response'
  29269. security:
  29270. - ApiKeyAuth: []
  29271. summary: 查询固定广告配置
  29272. tags:
  29273. - 仓单贸易v2
  29274. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  29275. get:
  29276. parameters:
  29277. - description: 资金账号
  29278. in: query
  29279. name: accountid
  29280. required: true
  29281. type: integer
  29282. - description: 商品id
  29283. in: query
  29284. name: goodsid
  29285. required: true
  29286. type: integer
  29287. produces:
  29288. - application/json
  29289. responses:
  29290. "200":
  29291. description: OK
  29292. schema:
  29293. items:
  29294. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  29295. type: array
  29296. "500":
  29297. description: Internal Server Error
  29298. schema:
  29299. $ref: '#/definitions/app.Response'
  29300. security:
  29301. - ApiKeyAuth: []
  29302. summary: 查询合约交收可点选仓单
  29303. tags:
  29304. - 仓单贸易v2
  29305. /WrTrade2/QueryWrDeliveryDetail:
  29306. get:
  29307. parameters:
  29308. - description: 用户id
  29309. in: query
  29310. name: userid
  29311. required: true
  29312. type: integer
  29313. - description: 资金账号id
  29314. in: query
  29315. name: accountid
  29316. type: integer
  29317. - description: 开始交易日(yyyymmdd)
  29318. in: query
  29319. name: begindate
  29320. type: string
  29321. - description: 结束交易日(yyyymmdd)
  29322. in: query
  29323. name: enddate
  29324. type: string
  29325. produces:
  29326. - application/json
  29327. responses:
  29328. "200":
  29329. description: OK
  29330. schema:
  29331. items:
  29332. $ref: '#/definitions/models.WrDeliveryDetail'
  29333. type: array
  29334. "500":
  29335. description: Internal Server Error
  29336. schema:
  29337. $ref: '#/definitions/app.Response'
  29338. security:
  29339. - ApiKeyAuth: []
  29340. summary: 查询交收
  29341. tags:
  29342. - 仓单贸易v2
  29343. /WrTrade2/QueryWrDraftUserInfo:
  29344. get:
  29345. parameters:
  29346. - description: 用户ID
  29347. in: query
  29348. name: userid
  29349. required: true
  29350. type: integer
  29351. - description: 用户状态 1:正常 2:注销
  29352. in: query
  29353. name: userstatus
  29354. type: integer
  29355. produces:
  29356. - application/json
  29357. responses:
  29358. "200":
  29359. description: OK
  29360. schema:
  29361. items:
  29362. $ref: '#/definitions/models.WrDraftUserInfo'
  29363. type: array
  29364. "500":
  29365. description: Internal Server Error
  29366. schema:
  29367. $ref: '#/definitions/app.Response'
  29368. security:
  29369. - ApiKeyAuth: []
  29370. summary: 查询实名认证信息
  29371. tags:
  29372. - 仓单贸易v2
  29373. /WrTrade2/QueryWrFactorTypeInfo:
  29374. get:
  29375. parameters:
  29376. - description: 仓单要素id
  29377. in: query
  29378. name: wrfactortypeid
  29379. required: true
  29380. type: integer
  29381. produces:
  29382. - application/json
  29383. responses:
  29384. "200":
  29385. description: OK
  29386. schema:
  29387. items:
  29388. $ref: '#/definitions/models.WrFactorTypeInfo'
  29389. type: array
  29390. "500":
  29391. description: Internal Server Error
  29392. schema:
  29393. $ref: '#/definitions/app.Response'
  29394. security:
  29395. - ApiKeyAuth: []
  29396. summary: 查询仓单要素详细信息
  29397. tags:
  29398. - 仓单贸易v2
  29399. /WrTrade2/QueryWrFactorTypeInfoEx:
  29400. get:
  29401. parameters:
  29402. - description: 仓单要素id
  29403. in: query
  29404. name: wrfactortypeid
  29405. required: true
  29406. type: integer
  29407. produces:
  29408. - application/json
  29409. responses:
  29410. "200":
  29411. description: OK
  29412. schema:
  29413. items:
  29414. $ref: '#/definitions/models.WrTypeItem'
  29415. type: array
  29416. "500":
  29417. description: Internal Server Error
  29418. schema:
  29419. $ref: '#/definitions/app.Response'
  29420. security:
  29421. - ApiKeyAuth: []
  29422. summary: 查询仓单要素详细信息列表项
  29423. tags:
  29424. - 仓单贸易v2
  29425. /WrTrade2/QueryWrFinanceBuyApply:
  29426. get:
  29427. description: 页面 融资信息+ / 申请单
  29428. parameters:
  29429. - description: 用户id
  29430. in: query
  29431. name: userid
  29432. required: true
  29433. type: integer
  29434. produces:
  29435. - application/json
  29436. responses:
  29437. "200":
  29438. description: OK
  29439. schema:
  29440. items:
  29441. $ref: '#/definitions/models.WrFinanceBuyApply'
  29442. type: array
  29443. "500":
  29444. description: Internal Server Error
  29445. schema:
  29446. $ref: '#/definitions/app.Response'
  29447. security:
  29448. - ApiKeyAuth: []
  29449. summary: 查询融资购买申请
  29450. tags:
  29451. - 仓单贸易v2
  29452. /WrTrade2/QueryWrFriendApply:
  29453. get:
  29454. parameters:
  29455. - description: 用户id
  29456. in: query
  29457. name: userid
  29458. required: true
  29459. type: integer
  29460. produces:
  29461. - application/json
  29462. responses:
  29463. "200":
  29464. description: OK
  29465. schema:
  29466. items:
  29467. $ref: '#/definitions/models.WrFriendApply'
  29468. type: array
  29469. "500":
  29470. description: Internal Server Error
  29471. schema:
  29472. $ref: '#/definitions/app.Response'
  29473. security:
  29474. - ApiKeyAuth: []
  29475. summary: 查询好友申请记录
  29476. tags:
  29477. - 仓单贸易v2
  29478. /WrTrade2/QueryWrGoodsInfo:
  29479. get:
  29480. parameters:
  29481. - description: 仓单贸易市场id
  29482. in: query
  29483. name: marketid
  29484. type: integer
  29485. - description: 0:仓单预售 1:仓单贸易
  29486. in: query
  29487. name: haswr
  29488. required: true
  29489. type: integer
  29490. - description: 仓单要素id
  29491. in: query
  29492. name: wrfactortypeid
  29493. required: true
  29494. type: integer
  29495. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  29496. in: query
  29497. name: tmplateid
  29498. type: integer
  29499. produces:
  29500. - application/json
  29501. responses:
  29502. "200":
  29503. description: OK
  29504. schema:
  29505. items:
  29506. $ref: '#/definitions/models.WrGoodsInfo'
  29507. type: array
  29508. "500":
  29509. description: Internal Server Error
  29510. schema:
  29511. $ref: '#/definitions/app.Response'
  29512. security:
  29513. - ApiKeyAuth: []
  29514. summary: 查询仓单商品信息
  29515. tags:
  29516. - 仓单贸易v2
  29517. /WrTrade2/QueryWrMarketTradeConfig:
  29518. get:
  29519. parameters:
  29520. - description: 市场id
  29521. in: query
  29522. name: marketid
  29523. type: integer
  29524. produces:
  29525. - application/json
  29526. responses:
  29527. "200":
  29528. description: OK
  29529. schema:
  29530. items:
  29531. $ref: '#/definitions/models.WrMarketTradeConfig'
  29532. type: array
  29533. "500":
  29534. description: Internal Server Error
  29535. schema:
  29536. $ref: '#/definitions/app.Response'
  29537. security:
  29538. - ApiKeyAuth: []
  29539. summary: 查询市场交易参数配置
  29540. tags:
  29541. - 仓单贸易v2
  29542. /WrTrade2/QueryWrOrderDetail:
  29543. get:
  29544. description: 页面 现货仓单 | 预售仓单 -> 委托单
  29545. parameters:
  29546. - description: 页码
  29547. in: query
  29548. name: page
  29549. type: integer
  29550. - description: 每页条数
  29551. in: query
  29552. name: pagesize
  29553. type: integer
  29554. - description: 用户id
  29555. in: query
  29556. name: userid
  29557. required: true
  29558. type: integer
  29559. - description: 仓单贸易市场id
  29560. in: query
  29561. name: marketid
  29562. type: integer
  29563. - description: 0:仓单预售 1:仓单贸易
  29564. in: query
  29565. name: haswr
  29566. required: true
  29567. type: integer
  29568. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  29569. in: query
  29570. name: bcancel
  29571. type: integer
  29572. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  29573. in: query
  29574. name: wrtradetype
  29575. type: integer
  29576. - description: 开始交易日(yyyymmdd)
  29577. in: query
  29578. name: begindate
  29579. type: string
  29580. - description: 结束交易日(yyyymmdd)
  29581. in: query
  29582. name: enddate
  29583. type: string
  29584. produces:
  29585. - application/json
  29586. responses:
  29587. "200":
  29588. description: OK
  29589. schema:
  29590. items:
  29591. $ref: '#/definitions/models.WrOrderDetail'
  29592. type: array
  29593. "500":
  29594. description: Internal Server Error
  29595. schema:
  29596. $ref: '#/definitions/app.Response'
  29597. security:
  29598. - ApiKeyAuth: []
  29599. summary: 查询仓单委托单
  29600. tags:
  29601. - 仓单贸易v2
  29602. /WrTrade2/QueryWrOutInApply:
  29603. get:
  29604. parameters:
  29605. - description: 用户id
  29606. in: query
  29607. name: userid
  29608. required: true
  29609. type: integer
  29610. - description: 开始交易日(yyyymmdd)
  29611. in: query
  29612. name: begindate
  29613. type: string
  29614. - description: 结束交易日(yyyymmdd)
  29615. in: query
  29616. name: enddate
  29617. type: string
  29618. produces:
  29619. - application/json
  29620. responses:
  29621. "200":
  29622. description: OK
  29623. schema:
  29624. items:
  29625. $ref: '#/definitions/models.WrOutInApply'
  29626. type: array
  29627. "500":
  29628. description: Internal Server Error
  29629. schema:
  29630. $ref: '#/definitions/app.Response'
  29631. security:
  29632. - ApiKeyAuth: []
  29633. summary: 查询提货申请
  29634. tags:
  29635. - 仓单贸易v2
  29636. /WrTrade2/QueryWrPerformancePlanStep:
  29637. get:
  29638. parameters:
  29639. - description: 履约计划id(performanceplanid)
  29640. in: query
  29641. name: planid
  29642. required: true
  29643. type: integer
  29644. - description: 当前步骤id
  29645. in: query
  29646. name: curstepid
  29647. type: integer
  29648. produces:
  29649. - application/json
  29650. responses:
  29651. "200":
  29652. description: OK
  29653. schema:
  29654. items:
  29655. $ref: '#/definitions/models.WrPerformancePlanStep'
  29656. type: array
  29657. "500":
  29658. description: Internal Server Error
  29659. schema:
  29660. $ref: '#/definitions/app.Response'
  29661. security:
  29662. - ApiKeyAuth: []
  29663. summary: 查询履约信息详情
  29664. tags:
  29665. - 仓单贸易v2
  29666. /WrTrade2/QueryWrPerformanceStepType:
  29667. get:
  29668. produces:
  29669. - application/json
  29670. responses:
  29671. "200":
  29672. description: OK
  29673. schema:
  29674. items:
  29675. $ref: '#/definitions/models.WrPerformanceStepType'
  29676. type: array
  29677. "500":
  29678. description: Internal Server Error
  29679. schema:
  29680. $ref: '#/definitions/app.Response'
  29681. security:
  29682. - ApiKeyAuth: []
  29683. summary: 查询履约步骤枚举
  29684. tags:
  29685. - 仓单贸易v2
  29686. /WrTrade2/QueryWrPosition:
  29687. get:
  29688. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  29689. parameters:
  29690. - description: 用户id
  29691. in: query
  29692. name: userid
  29693. required: true
  29694. type: integer
  29695. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  29696. in: query
  29697. name: querytype
  29698. required: true
  29699. type: integer
  29700. - description: 0:仓单预售 1:仓单贸易
  29701. in: query
  29702. name: haswr
  29703. required: true
  29704. type: integer
  29705. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29706. in: query
  29707. name: dgitemname
  29708. type: string
  29709. - description: 仓库id(筛选条件)
  29710. in: query
  29711. name: warehouseid
  29712. type: integer
  29713. - description: 品种id
  29714. in: query
  29715. name: deliverygoodsid
  29716. type: integer
  29717. - description: 品类id
  29718. in: query
  29719. name: wrstandardid
  29720. type: integer
  29721. produces:
  29722. - application/json
  29723. responses:
  29724. "200":
  29725. description: OK
  29726. schema:
  29727. items:
  29728. $ref: '#/definitions/models.WrPosition'
  29729. type: array
  29730. "500":
  29731. description: Internal Server Error
  29732. schema:
  29733. $ref: '#/definitions/app.Response'
  29734. security:
  29735. - ApiKeyAuth: []
  29736. summary: 查询现货(预售)仓单持仓
  29737. tags:
  29738. - 仓单贸易v2
  29739. /WrTrade2/QueryWrPreSaleInfo:
  29740. get:
  29741. parameters:
  29742. - description: 市场id
  29743. in: query
  29744. name: marketid
  29745. type: integer
  29746. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  29747. in: query
  29748. name: presalestatus
  29749. type: string
  29750. - description: 摇号标识 - 0:未摇号 1:已摇号
  29751. in: query
  29752. name: lotteryflag
  29753. type: integer
  29754. - description: 最近多少条记录(按创建时间倒序)
  29755. in: query
  29756. name: lastnum
  29757. type: integer
  29758. produces:
  29759. - application/json
  29760. responses:
  29761. "200":
  29762. description: OK
  29763. schema:
  29764. items:
  29765. $ref: '#/definitions/models.WrPreSaleInfo'
  29766. type: array
  29767. "500":
  29768. description: Internal Server Error
  29769. schema:
  29770. $ref: '#/definitions/app.Response'
  29771. security:
  29772. - ApiKeyAuth: []
  29773. summary: 查询新品发布
  29774. tags:
  29775. - 仓单贸易v2
  29776. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  29777. get:
  29778. parameters:
  29779. - description: 市场id
  29780. in: query
  29781. name: marketid
  29782. required: true
  29783. type: integer
  29784. - description: 现货商品id
  29785. in: query
  29786. name: wrstandardid
  29787. required: true
  29788. type: integer
  29789. - description: 开始交易日(yyyymmdd)
  29790. in: query
  29791. name: begindate
  29792. type: string
  29793. - description: 结束交易日(yyyymmdd)
  29794. in: query
  29795. name: enddate
  29796. type: string
  29797. - description: 最近多少条记录(按交易日倒序)
  29798. in: query
  29799. name: lastnum
  29800. type: integer
  29801. - description: 是否今日
  29802. in: query
  29803. name: istoday
  29804. type: boolean
  29805. produces:
  29806. - application/json
  29807. responses:
  29808. "200":
  29809. description: OK
  29810. schema:
  29811. items:
  29812. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  29813. type: array
  29814. "500":
  29815. description: Internal Server Error
  29816. schema:
  29817. $ref: '#/definitions/app.Response'
  29818. security:
  29819. - ApiKeyAuth: []
  29820. summary: 查询价格走势
  29821. tags:
  29822. - 仓单贸易v2
  29823. /WrTrade2/QueryWrScfContract:
  29824. get:
  29825. parameters:
  29826. - description: 用户id
  29827. in: query
  29828. name: userid
  29829. required: true
  29830. type: integer
  29831. - description: 融资合同id
  29832. in: query
  29833. name: scfcontractid
  29834. type: integer
  29835. produces:
  29836. - application/json
  29837. responses:
  29838. "200":
  29839. description: OK
  29840. schema:
  29841. items:
  29842. $ref: '#/definitions/models.WrScfContract'
  29843. type: array
  29844. "500":
  29845. description: Internal Server Error
  29846. schema:
  29847. $ref: '#/definitions/app.Response'
  29848. security:
  29849. - ApiKeyAuth: []
  29850. summary: 查询仓单贸易融资合同
  29851. tags:
  29852. - 仓单贸易v2
  29853. /WrTrade2/QueryWrScfContractInterest:
  29854. get:
  29855. parameters:
  29856. - description: 融资合同id
  29857. in: query
  29858. name: scfcontractid
  29859. type: integer
  29860. produces:
  29861. - application/json
  29862. responses:
  29863. "200":
  29864. description: OK
  29865. schema:
  29866. items:
  29867. $ref: '#/definitions/models.WrScfContractInterest'
  29868. type: array
  29869. "500":
  29870. description: Internal Server Error
  29871. schema:
  29872. $ref: '#/definitions/app.Response'
  29873. security:
  29874. - ApiKeyAuth: []
  29875. summary: 查询融资合同费用明细
  29876. tags:
  29877. - 仓单贸易v2
  29878. /WrTrade2/QueryWrSearchUser:
  29879. get:
  29880. parameters:
  29881. - description: 用户名称(模糊匹配)
  29882. in: query
  29883. name: username
  29884. required: true
  29885. type: string
  29886. produces:
  29887. - application/json
  29888. responses:
  29889. "200":
  29890. description: OK
  29891. schema:
  29892. items:
  29893. $ref: '#/definitions/models.WrSearchUser'
  29894. type: array
  29895. "500":
  29896. description: Internal Server Error
  29897. schema:
  29898. $ref: '#/definitions/app.Response'
  29899. security:
  29900. - ApiKeyAuth: []
  29901. summary: 查询用户
  29902. tags:
  29903. - 仓单贸易v2
  29904. /WrTrade2/QueryWrSpecialMatchOrder:
  29905. get:
  29906. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  29907. parameters:
  29908. - description: 页码
  29909. in: query
  29910. name: page
  29911. type: integer
  29912. - description: 每页条数
  29913. in: query
  29914. name: pagesize
  29915. type: integer
  29916. - description: 用户id
  29917. in: query
  29918. name: userid
  29919. required: true
  29920. type: integer
  29921. - description: 仓单贸易市场id
  29922. in: query
  29923. name: marketid
  29924. type: integer
  29925. - description: 0:仓单预售 1:仓单贸易
  29926. in: query
  29927. name: haswr
  29928. required: true
  29929. type: integer
  29930. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  29931. in: query
  29932. name: isspecified
  29933. type: integer
  29934. produces:
  29935. - application/json
  29936. responses:
  29937. "200":
  29938. description: OK
  29939. schema:
  29940. items:
  29941. $ref: '#/definitions/models.WrSpecialMatchOrder'
  29942. type: array
  29943. "500":
  29944. description: Internal Server Error
  29945. schema:
  29946. $ref: '#/definitions/app.Response'
  29947. security:
  29948. - ApiKeyAuth: []
  29949. summary: 查询指定成交
  29950. tags:
  29951. - 仓单贸易v2
  29952. /WrTrade2/QueryWrStandardFactoryItem:
  29953. get:
  29954. parameters:
  29955. - description: 品类id
  29956. in: query
  29957. name: wrstandardid
  29958. required: true
  29959. type: integer
  29960. produces:
  29961. - application/json
  29962. responses:
  29963. "200":
  29964. description: OK
  29965. schema:
  29966. items:
  29967. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  29968. type: array
  29969. "500":
  29970. description: Internal Server Error
  29971. schema:
  29972. $ref: '#/definitions/app.Response'
  29973. security:
  29974. - ApiKeyAuth: []
  29975. summary: 查询品类要素定义项
  29976. tags:
  29977. - 仓单贸易v2
  29978. /WrTrade2/QueryWrTradeBargainApply:
  29979. get:
  29980. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  29981. 议价->对方议价 填写matchuserid=登录用户id
  29982. parameters:
  29983. - description: 议价人id(摘牌方)
  29984. in: query
  29985. name: userid
  29986. type: integer
  29987. - description: 挂牌方id(查对方议价时,填写此项)
  29988. in: query
  29989. name: matchuserid
  29990. type: integer
  29991. - description: 关联委托单id
  29992. in: query
  29993. name: wrtradeorderid
  29994. type: integer
  29995. - description: 0:仓单预售 1:仓单贸易
  29996. in: query
  29997. name: haswr
  29998. required: true
  29999. type: integer
  30000. - description: 开始交易日(yyyymmdd)
  30001. in: query
  30002. name: begindate
  30003. type: string
  30004. - description: 结束交易日(yyyymmdd)
  30005. in: query
  30006. name: enddate
  30007. type: string
  30008. produces:
  30009. - application/json
  30010. responses:
  30011. "200":
  30012. description: OK
  30013. schema:
  30014. items:
  30015. $ref: '#/definitions/models.WRTradeBargainApply'
  30016. type: array
  30017. "500":
  30018. description: Internal Server Error
  30019. schema:
  30020. $ref: '#/definitions/app.Response'
  30021. security:
  30022. - ApiKeyAuth: []
  30023. summary: 查询议价单
  30024. tags:
  30025. - 仓单贸易v2
  30026. /WrTrade2/QueryWrTradeDetail:
  30027. get:
  30028. parameters:
  30029. - description: 页码
  30030. in: query
  30031. name: page
  30032. type: integer
  30033. - description: 每页条数
  30034. in: query
  30035. name: pagesize
  30036. type: integer
  30037. - description: 用户id
  30038. in: query
  30039. name: userid
  30040. required: true
  30041. type: integer
  30042. - description: 仓单贸易市场id
  30043. in: query
  30044. name: marketid
  30045. type: integer
  30046. - description: 0:仓单预售 1:仓单贸易
  30047. in: query
  30048. name: haswr
  30049. required: true
  30050. type: integer
  30051. - description: 开始交易日(yyyymmdd)
  30052. in: query
  30053. name: begindate
  30054. type: string
  30055. - description: 结束交易日(yyyymmdd)
  30056. in: query
  30057. name: enddate
  30058. type: string
  30059. produces:
  30060. - application/json
  30061. responses:
  30062. "200":
  30063. description: OK
  30064. schema:
  30065. items:
  30066. $ref: '#/definitions/models.WrTradeDetail'
  30067. type: array
  30068. "500":
  30069. description: Internal Server Error
  30070. schema:
  30071. $ref: '#/definitions/app.Response'
  30072. security:
  30073. - ApiKeyAuth: []
  30074. summary: 查询仓单成交明细
  30075. tags:
  30076. - 仓单贸易v2
  30077. /WrTrade2/QueryWrTradeOrderDetail:
  30078. get:
  30079. parameters:
  30080. - description: 页码
  30081. in: query
  30082. name: page
  30083. type: integer
  30084. - description: 每页条数
  30085. in: query
  30086. name: pagesize
  30087. type: integer
  30088. - description: 商品id
  30089. in: query
  30090. name: goodsid
  30091. required: true
  30092. type: integer
  30093. - description: 买卖方向 0-买 1-卖
  30094. in: query
  30095. name: buyorsell
  30096. required: true
  30097. type: integer
  30098. produces:
  30099. - application/json
  30100. responses:
  30101. "200":
  30102. description: OK
  30103. schema:
  30104. items:
  30105. $ref: '#/definitions/models.WrTradeOrderDetail'
  30106. type: array
  30107. "500":
  30108. description: Internal Server Error
  30109. schema:
  30110. $ref: '#/definitions/app.Response'
  30111. security:
  30112. - ApiKeyAuth: []
  30113. summary: 查询合约交易买卖大厅
  30114. tags:
  30115. - 仓单贸易v2
  30116. /WrTrade2/QueryWrUserFriend:
  30117. get:
  30118. parameters:
  30119. - description: 用户id
  30120. in: query
  30121. name: userid
  30122. required: true
  30123. type: integer
  30124. - description: 新朋友userid, 如果填写了此项则查找新朋友
  30125. in: query
  30126. name: newuserid
  30127. type: integer
  30128. produces:
  30129. - application/json
  30130. responses:
  30131. "200":
  30132. description: OK
  30133. schema:
  30134. items:
  30135. $ref: '#/definitions/models.WrUserFriend'
  30136. type: array
  30137. "500":
  30138. description: Internal Server Error
  30139. schema:
  30140. $ref: '#/definitions/app.Response'
  30141. security:
  30142. - ApiKeyAuth: []
  30143. summary: 查询我的朋友
  30144. tags:
  30145. - 仓单贸易v2
  30146. /WrTrade2/QueryWrUserReceiptInfo:
  30147. get:
  30148. parameters:
  30149. - description: 用户id
  30150. in: query
  30151. name: userid
  30152. type: integer
  30153. - description: 发票类型 - 1:个人 2:企业
  30154. in: query
  30155. name: receipttype
  30156. type: integer
  30157. produces:
  30158. - application/json
  30159. responses:
  30160. "200":
  30161. description: OK
  30162. schema:
  30163. items:
  30164. $ref: '#/definitions/models.WrUserReceiptInfo'
  30165. type: array
  30166. "500":
  30167. description: Internal Server Error
  30168. schema:
  30169. $ref: '#/definitions/app.Response'
  30170. security:
  30171. - ApiKeyAuth: []
  30172. summary: 查询发票信息
  30173. tags:
  30174. - 仓单贸易v2
  30175. /WrTrade2/QueryXhcpSellBackApply:
  30176. get:
  30177. parameters:
  30178. - description: 用户ID
  30179. in: query
  30180. name: userid
  30181. required: true
  30182. type: integer
  30183. produces:
  30184. - application/json
  30185. responses:
  30186. "200":
  30187. description: OK
  30188. schema:
  30189. items:
  30190. $ref: '#/definitions/models.Xhcpsellbackapply'
  30191. type: array
  30192. "500":
  30193. description: Internal Server Error
  30194. schema:
  30195. $ref: '#/definitions/app.Response'
  30196. security:
  30197. - ApiKeyAuth: []
  30198. summary: 查询我的回收申请(新会陈皮)
  30199. tags:
  30200. - 仓单贸易v2
  30201. /ZJ/GetBankTip:
  30202. get:
  30203. produces:
  30204. - application/json
  30205. responses:
  30206. "200":
  30207. description: OK
  30208. schema:
  30209. type: string
  30210. "500":
  30211. description: Internal Server Error
  30212. schema:
  30213. $ref: '#/definitions/app.Response'
  30214. summary: 获取中江网银端出入金提示信息
  30215. tags:
  30216. - 中江
  30217. /ZJ/GetCusBankChannels:
  30218. get:
  30219. produces:
  30220. - application/json
  30221. responses:
  30222. "200":
  30223. description: OK
  30224. schema:
  30225. items:
  30226. type: string
  30227. type: array
  30228. "500":
  30229. description: Internal Server Error
  30230. schema:
  30231. $ref: '#/definitions/app.Response'
  30232. summary: 获取中江出入金渠道显示列表
  30233. tags:
  30234. - 中江
  30235. securityDefinitions:
  30236. ApiKeyAuth:
  30237. in: header
  30238. name: Authorization
  30239. type: apiKey
  30240. swagger: "2.0"