swagger.yaml 819 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513
  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.Ermcp2himiddlegoods:
  4161. properties:
  4162. futurehedgeqty:
  4163. description: 期货持仓套期量
  4164. type: number
  4165. hedgeditemid:
  4166. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4167. type: integer
  4168. hiexpsoure:
  4169. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4170. type: number
  4171. middlegoodscode:
  4172. description: 套保商品代码
  4173. type: string
  4174. middlegoodsid:
  4175. description: 套保品种ID
  4176. type: integer
  4177. middlegoodsname:
  4178. description: 套保商品名称
  4179. type: string
  4180. unexehedgeqty:
  4181. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4182. type: number
  4183. required:
  4184. - hedgeditemid
  4185. - middlegoodsid
  4186. type: object
  4187. models.Ermcp3AreaSpot:
  4188. properties:
  4189. areauserid:
  4190. description: 所属机构
  4191. type: integer
  4192. convertratio:
  4193. description: 套保系数
  4194. type: number
  4195. decreaseqty:
  4196. description: 减少数量=-(销售已定价数量+采购计划数量)
  4197. type: number
  4198. enumdicname:
  4199. description: 单位名称
  4200. type: string
  4201. increaseqty:
  4202. description: 增加数量=销售计划数量+采购已定价数量
  4203. type: number
  4204. oritoalspotqty:
  4205. description: 昨日数量
  4206. type: number
  4207. totalspotqty:
  4208. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4209. type: number
  4210. unitid:
  4211. description: 现货商品单位id
  4212. type: integer
  4213. updatetime:
  4214. description: 更新时间
  4215. type: string
  4216. wrstandardcode:
  4217. description: 现货商品代码
  4218. type: string
  4219. wrstandardid:
  4220. description: 现货商品ID(SEQ_WRSTANDARD)
  4221. type: integer
  4222. wrstandardname:
  4223. description: 现货商品名称
  4224. type: string
  4225. type: object
  4226. models.Ermcp3AreaSpotDetail:
  4227. properties:
  4228. contracttype:
  4229. description: 合同类型 1-采购 -1-销售
  4230. type: integer
  4231. createtime:
  4232. description: 创建时间
  4233. type: string
  4234. enumdicname:
  4235. description: 现货商品单位名称
  4236. type: string
  4237. logtype:
  4238. description: 记录类型 1-套保 2-现货合同
  4239. type: integer
  4240. qty:
  4241. description: 数量
  4242. type: number
  4243. recordname:
  4244. description: 类型名称
  4245. type: string
  4246. relatedid:
  4247. description: 套保计划ID/现货合同ID
  4248. type: string
  4249. relatedno:
  4250. description: 编号
  4251. type: string
  4252. strtime:
  4253. description: 时间
  4254. type: string
  4255. wrstandardcode:
  4256. description: 现货商品代码
  4257. type: string
  4258. wrstandardid:
  4259. description: 现货商品ID(SEQ_WRSTANDARD)
  4260. type: integer
  4261. wrstandardname:
  4262. description: 现货商品名称
  4263. type: string
  4264. type: object
  4265. models.Ermcp3AreaSpotPLReport:
  4266. properties:
  4267. accountid:
  4268. description: 期货账户ID (作废, 默认为0)
  4269. type: integer
  4270. accountname:
  4271. description: 机构名称
  4272. type: string
  4273. actualpl:
  4274. description: 现货损益
  4275. type: number
  4276. areauserid:
  4277. description: 所属机构\交易用户ID
  4278. type: integer
  4279. begindate:
  4280. description: 开始交易日
  4281. type: string
  4282. biztype:
  4283. description: 业务类型 - 1:套保 2:套利
  4284. type: integer
  4285. brandname:
  4286. description: 品牌名称
  4287. type: string
  4288. curamount:
  4289. description: 期末额
  4290. type: number
  4291. curaverageprice:
  4292. description: 期末均价
  4293. type: number
  4294. curbuyamount:
  4295. description: 期末采购总额
  4296. type: number
  4297. curbuyqty:
  4298. description: 期末采购总量
  4299. type: number
  4300. curmarketvalue:
  4301. description: 参考市值(期末市值)
  4302. type: number
  4303. curqty:
  4304. description: 期末量
  4305. type: number
  4306. currencyid:
  4307. description: 结算币种ID【原值】
  4308. type: integer
  4309. currencyname:
  4310. description: 币种名称
  4311. type: string
  4312. cursellamount:
  4313. description: 期末销售总额
  4314. type: number
  4315. cursellqty:
  4316. description: 期末销售总量
  4317. type: number
  4318. curspotprice:
  4319. description: 参考市价(最新价)
  4320. type: number
  4321. cycletime:
  4322. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4323. type: string
  4324. cycletype:
  4325. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4326. type: integer
  4327. deliverygoodscode:
  4328. description: 现货品种代码
  4329. type: string
  4330. deliverygoodsid:
  4331. description: 现货品种ID
  4332. type: integer
  4333. deliverygoodsname:
  4334. description: 现货品种名称
  4335. type: string
  4336. enddate:
  4337. description: 结束交易日
  4338. type: string
  4339. enumdicname:
  4340. description: 现货品种单位名称(作废)
  4341. type: string
  4342. floatpl:
  4343. description: 浮动损益
  4344. type: number
  4345. goodsunitid:
  4346. description: 现货品种单位id(作废)
  4347. type: integer
  4348. oriamount:
  4349. description: 期初额
  4350. type: number
  4351. oriaverageprice:
  4352. description: 期初均价
  4353. type: number
  4354. oribuyamount:
  4355. description: 期初采购总额
  4356. type: number
  4357. oribuyqty:
  4358. description: 期初采购总量
  4359. type: number
  4360. oriqty:
  4361. description: 期初量
  4362. type: number
  4363. orisellamount:
  4364. description: 期初销售总额
  4365. type: number
  4366. orisellqty:
  4367. description: 期初销售总量
  4368. type: number
  4369. reckondate:
  4370. description: 日照时期(yyyyMMdd)
  4371. type: string
  4372. spotgoodsbrandid:
  4373. description: 现货品牌ID
  4374. type: integer
  4375. todaybuyamount:
  4376. description: 今日采购额(今采购额)
  4377. type: number
  4378. todaybuyaverageprice:
  4379. description: 今日采购均价
  4380. type: number
  4381. todaybuyqty:
  4382. description: 今日采购量(今采购量)
  4383. type: number
  4384. todayinqty:
  4385. description: 今日入库量(今入库量)
  4386. type: number
  4387. todayoutqty:
  4388. description: 今日出库量(今出库量)
  4389. type: number
  4390. todaysellamount:
  4391. description: 今日销售额(今销售额)
  4392. type: number
  4393. todaysellaverageprice:
  4394. description: 今日销售均价
  4395. type: number
  4396. todaysellqty:
  4397. description: 今日销售量(今销售量)
  4398. type: number
  4399. unitid:
  4400. description: 品类单位id
  4401. type: integer
  4402. unitidname:
  4403. description: 品类单位名称
  4404. type: string
  4405. updatetime:
  4406. description: 更新时间
  4407. type: string
  4408. wrfactortypeid:
  4409. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4410. type: integer
  4411. wrstandardcode:
  4412. description: 现货商品(品类)代码
  4413. type: string
  4414. wrstandardid:
  4415. description: 现货品类ID
  4416. type: integer
  4417. wrstandardname:
  4418. description: 现货商品(品类)名称
  4419. type: string
  4420. type: object
  4421. models.Ermcp3AreaStock:
  4422. properties:
  4423. brandname:
  4424. description: 品牌名称
  4425. type: string
  4426. curstock:
  4427. description: 期末库存量(今日量)
  4428. type: number
  4429. deliverygoodscode:
  4430. description: 现货品种代码
  4431. type: string
  4432. deliverygoodsid:
  4433. description: 现货品种id
  4434. type: integer
  4435. deliverygoodsname:
  4436. description: 现货品种名称
  4437. type: string
  4438. enumdicname:
  4439. description: 单位名称
  4440. type: string
  4441. goodsunitid:
  4442. description: 现货商品单位id
  4443. type: integer
  4444. oristock:
  4445. description: 期初库存量(昨日量)
  4446. type: number
  4447. spotgoodsbrandid:
  4448. description: 现货品牌ID
  4449. type: integer
  4450. todaybuyinqty:
  4451. description: 今日采购入库量
  4452. type: number
  4453. todayproduceinqty:
  4454. description: 今日生产入库量
  4455. type: number
  4456. todayproduceoutqty:
  4457. description: 今日生产出库量
  4458. type: number
  4459. todayselloutqty:
  4460. description: 今日销售出库量
  4461. type: number
  4462. unitid:
  4463. description: 单位id
  4464. type: integer
  4465. updatetime:
  4466. description: 更新时间
  4467. type: string
  4468. userid:
  4469. description: 机构ID
  4470. type: integer
  4471. username:
  4472. description: 机构名称
  4473. type: string
  4474. warehousecode:
  4475. description: 仓库代码
  4476. type: string
  4477. warehouseinfoid:
  4478. description: 仓库ID
  4479. type: string
  4480. warehousename:
  4481. description: 仓库名称
  4482. type: string
  4483. warehousetype:
  4484. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4485. type: integer
  4486. wrstandardcode:
  4487. description: 品类代码
  4488. type: string
  4489. wrstandardid:
  4490. description: 品类ID
  4491. type: string
  4492. wrstandardname:
  4493. description: 品类名称
  4494. type: string
  4495. required:
  4496. - userid
  4497. type: object
  4498. models.Ermcp3AreaStockApply:
  4499. properties:
  4500. applyid:
  4501. description: 申请人
  4502. type: integer
  4503. applyname:
  4504. description: 申请人名称
  4505. type: string
  4506. applyremark:
  4507. description: 申请备注
  4508. type: string
  4509. applysrc:
  4510. description: 申请来源 - 1:管理端 2:终端
  4511. type: integer
  4512. applystatus:
  4513. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4514. type: integer
  4515. applytime:
  4516. description: 申请时间
  4517. type: string
  4518. auditid:
  4519. description: 审核人
  4520. type: integer
  4521. auditname:
  4522. description: 审核人名称
  4523. type: string
  4524. auditremark:
  4525. description: 审核备注
  4526. type: string
  4527. auditsrc:
  4528. description: 审核来源 - 1:管理端 2:终端
  4529. type: integer
  4530. audittime:
  4531. description: 审核时间
  4532. type: string
  4533. audittradedate:
  4534. description: 审核交易日(yyyyMMdd)
  4535. type: string
  4536. brandname:
  4537. description: 品牌名称
  4538. type: string
  4539. buynickname:
  4540. description: 采购方昵称
  4541. type: string
  4542. buyuserid:
  4543. description: 采购方userid
  4544. type: integer
  4545. buyusername:
  4546. description: 采购方名称
  4547. type: string
  4548. contractno:
  4549. description: 合同编号
  4550. type: string
  4551. contractqty:
  4552. description: 合同量
  4553. type: number
  4554. contracttype:
  4555. description: 现货合同类型 - 1:采购 -1:销售
  4556. type: integer
  4557. deliverygoodscode:
  4558. description: 现货品种代码
  4559. type: string
  4560. deliverygoodsid:
  4561. description: 现货品种id
  4562. type: integer
  4563. deliverygoodsname:
  4564. description: 现货品种名称
  4565. type: string
  4566. detailjson:
  4567. description: 明细数据
  4568. type: string
  4569. enumdicname:
  4570. description: 现货商品单位名称
  4571. type: string
  4572. inoutapplyid:
  4573. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4574. type: string
  4575. inouttype:
  4576. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4577. type: integer
  4578. pricetype:
  4579. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4580. type: integer
  4581. qty:
  4582. description: 数量
  4583. type: number
  4584. sellnickname:
  4585. description: 销售方昵称
  4586. type: string
  4587. selluserid:
  4588. description: 销售方userid
  4589. type: integer
  4590. sellusername:
  4591. description: 销售方名称
  4592. type: string
  4593. spotcontractid:
  4594. description: 关联现货合同ID
  4595. type: string
  4596. spotgoodsbrandid:
  4597. description: 现货品牌ID
  4598. type: integer
  4599. unitid:
  4600. description: 单位id
  4601. type: integer
  4602. userid:
  4603. description: 机构ID
  4604. type: integer
  4605. warehousecode:
  4606. description: 仓库代码
  4607. type: string
  4608. warehouseinfoid:
  4609. description: 现货仓库ID
  4610. type: string
  4611. warehousename:
  4612. description: 仓库名称
  4613. type: string
  4614. warehousetype:
  4615. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4616. type: integer
  4617. wrstandardcode:
  4618. description: 品类代码
  4619. type: string
  4620. wrstandardid:
  4621. description: 品类ID
  4622. type: integer
  4623. wrstandardname:
  4624. description: 品类名称
  4625. type: string
  4626. type: object
  4627. models.Ermcp3AreaStockApplySum:
  4628. properties:
  4629. brandname:
  4630. description: 品牌名称
  4631. type: string
  4632. inouttype:
  4633. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4634. type: integer
  4635. spotcontractid:
  4636. description: 关联现货合同ID
  4637. type: string
  4638. spotgoodsbrandid:
  4639. description: 品牌id
  4640. type: integer
  4641. totalqty:
  4642. description: 总数量
  4643. type: number
  4644. wrstandardid:
  4645. description: 品类id
  4646. type: integer
  4647. wrstandardname:
  4648. description: 品类名称
  4649. type: string
  4650. type: object
  4651. models.Ermcp3AreaStockReportEx:
  4652. properties:
  4653. begindate:
  4654. description: 开始交易日
  4655. type: string
  4656. brandname:
  4657. description: 品牌名称
  4658. type: string
  4659. curstock:
  4660. description: 期末库存量
  4661. type: number
  4662. cycletime:
  4663. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4664. type: string
  4665. cycletype:
  4666. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4667. type: integer
  4668. deliverygoodscode:
  4669. description: 现货品种代码
  4670. type: string
  4671. deliverygoodsid:
  4672. description: 现货品种id
  4673. type: integer
  4674. deliverygoodsname:
  4675. description: 现货品种名称
  4676. type: string
  4677. diffqty:
  4678. description: 库存变化量 = 期末 - 期初
  4679. type: number
  4680. enddate:
  4681. description: 结束交易日
  4682. type: string
  4683. enumdicname:
  4684. description: 单位名称
  4685. type: string
  4686. goodsunitid:
  4687. description: 现货单位id
  4688. type: integer
  4689. oristock:
  4690. description: 期初库存量
  4691. type: number
  4692. reckondate:
  4693. description: 日照时期(yyyyMMdd)
  4694. type: string
  4695. spotgoodsbrandid:
  4696. description: 现货品牌ID
  4697. type: integer
  4698. todaybuyinqty:
  4699. description: 今采购入库量
  4700. type: number
  4701. todayproduceinqty:
  4702. description: 今内部入库量
  4703. type: number
  4704. todayproduceoutqty:
  4705. description: 今内部出库量
  4706. type: number
  4707. todayselloutqty:
  4708. description: 今销售出库量
  4709. type: number
  4710. unbuyinqty:
  4711. description: 采购未入库量(数据库未找到相关字段?)
  4712. type: number
  4713. unitid:
  4714. description: 品类单位id
  4715. type: integer
  4716. unselloutqty:
  4717. description: 销售未出库量(数据库未找到相关字段?)
  4718. type: number
  4719. updatetime:
  4720. description: 更新时间
  4721. type: string
  4722. userid:
  4723. description: 机构ID
  4724. type: integer
  4725. username:
  4726. description: 机构名称
  4727. type: string
  4728. warehousecode:
  4729. description: 仓库代码
  4730. type: string
  4731. warehouseinfoid:
  4732. description: 仓库ID
  4733. type: string
  4734. warehousename:
  4735. description: 仓库名称
  4736. type: string
  4737. warehousetype:
  4738. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4739. type: integer
  4740. wrstandardcode:
  4741. description: 品类代码
  4742. type: string
  4743. wrstandardid:
  4744. description: 品类ID
  4745. type: integer
  4746. wrstandardname:
  4747. description: 品类名称
  4748. type: string
  4749. type: object
  4750. models.Ermcp3ArealSumPL:
  4751. properties:
  4752. accountname:
  4753. description: 机构名称
  4754. type: string
  4755. areauserid:
  4756. description: 所属机构\交易用户ID
  4757. type: integer
  4758. begindate:
  4759. description: 开始交易日
  4760. type: string
  4761. currencyid:
  4762. description: 结算币种ID
  4763. type: integer
  4764. currencyname:
  4765. description: 币种名称
  4766. type: string
  4767. cycletime:
  4768. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4769. type: string
  4770. cycletype:
  4771. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4772. type: integer
  4773. enddate:
  4774. description: 结束交易日
  4775. type: string
  4776. enumdicname:
  4777. description: 单位名称(套保品种)
  4778. type: string
  4779. futureactualpl:
  4780. description: 期货损益
  4781. type: number
  4782. futurefloatpl:
  4783. description: 期货浮动损益
  4784. type: number
  4785. futurespotratio:
  4786. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4787. type: number
  4788. goodsunitid:
  4789. description: 套保品种单位id
  4790. type: integer
  4791. hedgeexposurepl:
  4792. description: 套保敞口损益
  4793. type: number
  4794. middlegoodscode:
  4795. description: 套保品种代码
  4796. type: string
  4797. middlegoodsid:
  4798. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4799. type: integer
  4800. middlegoodsname:
  4801. description: 套保品种名称
  4802. type: string
  4803. reckondate:
  4804. description: 日照时期(yyyyMMdd)
  4805. type: string
  4806. spotactualpl:
  4807. description: 现货损益
  4808. type: number
  4809. spotfloatpl:
  4810. description: 现货浮动损益
  4811. type: number
  4812. sumactualpl:
  4813. description: 实际损益 = (ActualPL + FutureActualPL)
  4814. type: number
  4815. sumpl:
  4816. description: 总敞口损益 | 汇总损益
  4817. type: number
  4818. totalfutureqty:
  4819. description: 期货头寸总量
  4820. type: number
  4821. totalneedhedgeqty:
  4822. description: 应套保总量
  4823. type: number
  4824. totalspotqty:
  4825. description: 现货头寸总量
  4826. type: number
  4827. updatetime:
  4828. description: 更新时间
  4829. type: string
  4830. type: object
  4831. models.Ermcp3Brand:
  4832. properties:
  4833. areauserid:
  4834. description: 用户id
  4835. type: integer
  4836. brandid:
  4837. description: 品牌id
  4838. type: integer
  4839. brandname:
  4840. description: 品牌名称
  4841. type: string
  4842. deliverygoodsid:
  4843. description: 品种ID
  4844. type: integer
  4845. isvalid:
  4846. description: 是否有效
  4847. type: integer
  4848. type: object
  4849. models.Ermcp3Contract:
  4850. properties:
  4851. accountid:
  4852. description: 期货账户id
  4853. type: string
  4854. amount:
  4855. description: 金额 [1:一口价、3:暂定价]
  4856. type: number
  4857. attachment:
  4858. description: 附件
  4859. type: string
  4860. auditremark:
  4861. description: 审核意见
  4862. type: string
  4863. audittime:
  4864. description: 审核时间
  4865. type: string
  4866. biztype:
  4867. description: 业务类型 1-套保 2-套利
  4868. type: integer
  4869. brandname:
  4870. description: 品牌名称
  4871. type: string
  4872. buynickname:
  4873. description: 销售方昵称
  4874. type: string
  4875. buyuserid:
  4876. description: 采购方ID
  4877. type: integer
  4878. buyusername:
  4879. description: 采购方名称
  4880. type: string
  4881. contracctstatus:
  4882. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4883. type: integer
  4884. contractmargin:
  4885. description: 合同保证金
  4886. type: number
  4887. contractno:
  4888. description: 现货合同编号
  4889. type: string
  4890. contracttype:
  4891. description: 现货合同类型 - 1:采购 -1:销售
  4892. type: integer
  4893. convertfactor:
  4894. description: 标仓系数(品类)
  4895. type: number
  4896. createtime:
  4897. description: 创建时间
  4898. type: string
  4899. currencyid:
  4900. description: 币种id
  4901. type: integer
  4902. currencyname:
  4903. description: 币种名称
  4904. type: string
  4905. deliveryenddate:
  4906. description: 交收期(结束)
  4907. type: string
  4908. deliverygoodscode:
  4909. description: 现货品种代码
  4910. type: string
  4911. deliverygoodsid:
  4912. description: 现货品种ID
  4913. type: integer
  4914. deliverygoodsname:
  4915. description: 现货品种名称
  4916. type: string
  4917. deliverystartdate:
  4918. description: 交收期(开始)
  4919. type: string
  4920. enddate:
  4921. description: 点价结束日期 [2:点价 3:暂定价]
  4922. type: string
  4923. enumdicname:
  4924. description: 单位名称
  4925. type: string
  4926. goodscode:
  4927. description: 点价合约代码
  4928. type: string
  4929. goodsid:
  4930. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4931. type: integer
  4932. goodsname:
  4933. description: 点价商品名称
  4934. type: string
  4935. margin:
  4936. description: 当前保证金
  4937. type: number
  4938. meruserid:
  4939. description: 跟单员id
  4940. type: integer
  4941. meruserlogincode:
  4942. description: 跟单员登录代码
  4943. type: string
  4944. merusername:
  4945. description: 跟单员名称
  4946. type: string
  4947. pointdesc:
  4948. description: 点价备注
  4949. type: string
  4950. price:
  4951. description: 价格\暂定价 [1:一口价、3:暂定价]
  4952. type: number
  4953. pricemove:
  4954. description: 升贴水 [2:点价 3:暂定价]
  4955. type: number
  4956. pricetype:
  4957. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4958. type: integer
  4959. producttype:
  4960. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4961. type: integer
  4962. qty:
  4963. description: 数量
  4964. type: number
  4965. remark:
  4966. description: 备注
  4967. type: string
  4968. saleuserid:
  4969. description: 业务员id
  4970. type: integer
  4971. saleuserlogincode:
  4972. description: 业务员登录代码
  4973. type: string
  4974. saleusername:
  4975. description: 业务员名称
  4976. type: string
  4977. sellnickname:
  4978. description: 采购方昵称
  4979. type: string
  4980. selluserid:
  4981. description: 销售方ID
  4982. type: integer
  4983. sellusername:
  4984. description: 销售方名称
  4985. type: string
  4986. spotcontractid:
  4987. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4988. type: string
  4989. spotgoodsbrandid:
  4990. description: 现货品牌ID(DGFactoryItem表的ID)
  4991. type: integer
  4992. spotgoodsdesc:
  4993. description: 商品型号
  4994. type: string
  4995. startdate:
  4996. description: 点价开始日期 [2:点价 3:暂定价]
  4997. type: string
  4998. subjectid:
  4999. description: 交易主体ID
  5000. type: integer
  5001. subjectname:
  5002. description: 交易主体名称
  5003. type: string
  5004. tradeuserid:
  5005. description: 交易员id
  5006. type: integer
  5007. tradeuserlogincode:
  5008. description: 交易员登录代码
  5009. type: string
  5010. tradeusername:
  5011. description: 交易员名称
  5012. type: string
  5013. unitid:
  5014. description: 单位id(取品类上的单位id)
  5015. type: integer
  5016. updatetime:
  5017. description: 更新时间
  5018. type: string
  5019. userid:
  5020. description: 所属机构ID
  5021. type: integer
  5022. vatrate:
  5023. description: 增值税率
  5024. type: number
  5025. wrstandardcode:
  5026. description: 品类代码
  5027. type: string
  5028. wrstandardid:
  5029. description: 品类ID
  5030. type: integer
  5031. wrstandardname:
  5032. description: 品类名称
  5033. type: string
  5034. type: object
  5035. models.Ermcp3ContractMiddleGoodsCfg:
  5036. properties:
  5037. agreeunit:
  5038. description: 合约乘数
  5039. type: number
  5040. convertratio:
  5041. description: 期货品种系数
  5042. type: number
  5043. covertqty:
  5044. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5045. type: integer
  5046. middlegoodsid:
  5047. description: 套保品种ID
  5048. type: integer
  5049. middlegoodspricedqty3:
  5050. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5051. example: "0"
  5052. type: string
  5053. pendingpricedqty:
  5054. description: 待点价量
  5055. example: "0"
  5056. type: string
  5057. relatedmiddlegoodsqty:
  5058. description: 已关联量(套保品种-期货)
  5059. example: "0"
  5060. type: string
  5061. spotcontractid:
  5062. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5063. type: string
  5064. type: object
  5065. models.Ermcp3ExposureContractDetail:
  5066. properties:
  5067. biztype:
  5068. description: 业务类型 1-套保 2-套利
  5069. type: integer
  5070. brandname:
  5071. description: 品牌名称
  5072. type: string
  5073. buyuserid:
  5074. description: 采购方id
  5075. type: integer
  5076. buyusername:
  5077. description: 采购方名称
  5078. type: string
  5079. contractno:
  5080. description: 合同编号
  5081. type: string
  5082. contracttype:
  5083. description: 现货合同类型 - 1:采购 -1:销售
  5084. type: integer
  5085. convertfactor:
  5086. description: 标仓系数
  5087. type: number
  5088. convertratio:
  5089. description: 折算系数(套保品种)
  5090. type: number
  5091. curqty:
  5092. description: 今定价量
  5093. type: number
  5094. deliverygoodscode:
  5095. description: 现货品种代码
  5096. type: string
  5097. deliverygoodsid:
  5098. description: 现货品种id
  5099. type: integer
  5100. deliverygoodsname:
  5101. description: 现货品种名称
  5102. type: string
  5103. diffhedgeqty:
  5104. description: 套保变动量
  5105. type: number
  5106. diffneedhedgeqty:
  5107. description: 应套保变动量
  5108. type: number
  5109. diffqty:
  5110. description: 套保品种今变动量
  5111. type: number
  5112. enumdicname:
  5113. description: 单位名称
  5114. type: string
  5115. mgunitname:
  5116. description: 套保品种单位名称
  5117. type: string
  5118. middlegoodscode:
  5119. description: 套保品种代码
  5120. type: string
  5121. middlegoodsid:
  5122. description: 套保品种id
  5123. type: integer
  5124. middlegoodsname:
  5125. description: 套保品种名称
  5126. type: string
  5127. needarbitrageratio:
  5128. description: 应套利比例
  5129. type: number
  5130. needhedgeratio:
  5131. description: 应套保比例
  5132. type: number
  5133. pricedqty:
  5134. description: 已定价量
  5135. type: number
  5136. qty:
  5137. description: 合同量
  5138. type: number
  5139. reckondate:
  5140. description: 交易日(reckondate)
  5141. type: string
  5142. selluserid:
  5143. description: 销售方id
  5144. type: integer
  5145. sellusername:
  5146. description: 销售方名称
  5147. type: string
  5148. spotcontractid:
  5149. description: 合同id
  5150. type: string
  5151. todaypricedqty:
  5152. description: 今定价量
  5153. type: number
  5154. tradedate:
  5155. description: 交易日
  5156. type: string
  5157. unitid:
  5158. description: 品类单位id
  5159. type: integer
  5160. userid:
  5161. description: 机构id
  5162. type: integer
  5163. username:
  5164. description: 交易用户
  5165. type: string
  5166. wrstandardcode:
  5167. description: 现货商品代码
  5168. type: string
  5169. wrstandardid:
  5170. description: 现货商品id
  5171. type: integer
  5172. wrstandardname:
  5173. description: 现货商品名称
  5174. type: string
  5175. type: object
  5176. models.Ermcp3ExposureDetail:
  5177. properties:
  5178. areauserid:
  5179. description: 机构ID
  5180. type: integer
  5181. changeQty:
  5182. description: 套保变动量
  5183. type: number
  5184. contracttype:
  5185. description: 现货合同类型 - 1:采购 -1:销售
  5186. type: integer
  5187. convertfactor:
  5188. description: 标仓系数
  5189. type: number
  5190. convertratio:
  5191. description: 折算系数
  5192. type: number
  5193. createtime:
  5194. description: 时间
  5195. type: string
  5196. enumdicname:
  5197. description: 现货商品单位名称
  5198. type: string
  5199. logtype:
  5200. description: 类型 - 1:套保计划 2:现货合同
  5201. type: integer
  5202. mgunitid:
  5203. description: 套保品种单位id
  5204. type: integer
  5205. mgunitidname:
  5206. description: 套保品种单位名称
  5207. type: string
  5208. middlegoodsId:
  5209. description: 套保商品id
  5210. type: integer
  5211. middlegoodscode:
  5212. description: 套保商品代码
  5213. type: string
  5214. middlegoodsname:
  5215. description: 套保商品名称
  5216. type: string
  5217. qty:
  5218. description: 数量
  5219. type: number
  5220. relateNo:
  5221. description: 现货合同/套保计划编号
  5222. type: string
  5223. unitid:
  5224. description: 现货商品单位id
  5225. type: integer
  5226. wrstandardcode:
  5227. description: 现货商品代码
  5228. type: string
  5229. wrstandardid:
  5230. description: 现货商品ID(SEQ_WRSTANDARD)
  5231. type: integer
  5232. wrstandardname:
  5233. description: 现货商品名称
  5234. type: string
  5235. type: object
  5236. models.Ermcp3ExposureFutuDetail:
  5237. properties:
  5238. accountid:
  5239. description: 交易账户id
  5240. type: integer
  5241. accountname:
  5242. description: 交易账户
  5243. type: string
  5244. begindate:
  5245. description: 开始交易日
  5246. type: string
  5247. buyorsell:
  5248. description: 方向 0-买 1-卖
  5249. type: integer
  5250. diffmgqty:
  5251. description: 套保品种今变化量
  5252. type: number
  5253. diffneedqty:
  5254. description: 应套保总量变化量
  5255. type: number
  5256. difftradeqty:
  5257. description: 交易品种今变化量
  5258. type: number
  5259. enddate:
  5260. description: 结束交易日
  5261. type: string
  5262. enumdicname:
  5263. description: 单位名称
  5264. type: string
  5265. goodscode:
  5266. description: 商品代码
  5267. type: string
  5268. goodsid:
  5269. description: 商品id
  5270. type: integer
  5271. goodsname:
  5272. description: 商品名称
  5273. type: string
  5274. holdqty:
  5275. description: 期末持仓量
  5276. type: number
  5277. middlegoodscode:
  5278. description: 套保商品代码
  5279. type: string
  5280. middlegoodsid:
  5281. description: 套保商品id
  5282. type: integer
  5283. middlegoodsname:
  5284. description: 套保商品名称
  5285. type: string
  5286. oriholdqty:
  5287. description: 期初持仓量
  5288. type: number
  5289. reckondate:
  5290. description: 交易日(RECKONDATE)
  5291. type: string
  5292. todaycloseqty:
  5293. description: 今平仓量
  5294. type: number
  5295. todayopenqty:
  5296. description: 今开仓量
  5297. type: number
  5298. tradedate:
  5299. description: 交易日(RECKONDATE)
  5300. type: string
  5301. username:
  5302. description: 用户名称(交易用户)
  5303. type: string
  5304. type: object
  5305. models.Ermcp3ExposureHedgeplanDetail:
  5306. properties:
  5307. biztype:
  5308. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5309. type: integer
  5310. changqty:
  5311. description: 应套保总量变化量
  5312. type: number
  5313. contracttype:
  5314. description: 计划类型 - 1:采购 -1:销售
  5315. type: integer
  5316. convertratio:
  5317. description: 折算系数(套保品种)
  5318. type: number
  5319. deliverygoodscode:
  5320. description: 现货商品代码
  5321. type: string
  5322. deliverygoodsid:
  5323. description: 现货商品id
  5324. type: integer
  5325. deliverygoodsname:
  5326. description: 现货商吕名称
  5327. type: string
  5328. dgunitid:
  5329. description: 现货商品单位id
  5330. type: integer
  5331. dgunitidname:
  5332. description: 单位名称(现货商品)
  5333. type: string
  5334. diffqty:
  5335. description: 套保品种今变动量
  5336. type: number
  5337. enumdicname:
  5338. description: 单位名称(品类)
  5339. type: string
  5340. hedgeplanid:
  5341. description: 套保计划id
  5342. type: string
  5343. hedgeplanno:
  5344. description: 套保计划名称
  5345. type: string
  5346. hedgeplanstatus:
  5347. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5348. type: integer
  5349. mgunitidname:
  5350. description: 单位名称(套保商品)
  5351. type: string
  5352. middlegoodscode:
  5353. description: 套保品种代码
  5354. type: string
  5355. middlegoodsid:
  5356. description: 套保品种id
  5357. type: integer
  5358. middlegoodsname:
  5359. description: 套保品种名称
  5360. type: string
  5361. needarbitrageratio:
  5362. description: 应套利比例
  5363. type: number
  5364. needhedgeratio:
  5365. description: 应套保比例
  5366. type: number
  5367. pricedqty:
  5368. description: 已定价量
  5369. type: number
  5370. qty:
  5371. description: 合同量
  5372. type: number
  5373. reckondate:
  5374. description: 交易日(reckondate)
  5375. type: string
  5376. tradedate:
  5377. description: 交易日(登记日)
  5378. type: string
  5379. unitid:
  5380. description: 品类单位id
  5381. type: integer
  5382. userid:
  5383. description: 机构id
  5384. type: integer
  5385. wrstandardcode:
  5386. description: 品类代码
  5387. type: string
  5388. wrstandardid:
  5389. description: 品类id
  5390. type: integer
  5391. wrstandardname:
  5392. description: 品类名称
  5393. type: string
  5394. type: object
  5395. models.Ermcp3ExposureParamChLog:
  5396. properties:
  5397. accountid:
  5398. description: 期货账户ID (作废, 默认为0)
  5399. type: integer
  5400. aftervalue:
  5401. description: 应套保\套利量变更后(调整后应套保总量)
  5402. type: number
  5403. areauserid:
  5404. description: 所属机构\交易用户ID
  5405. type: integer
  5406. beforevalue:
  5407. description: 应套保\套利量变更前(调整前应套保总量)
  5408. type: number
  5409. begindate:
  5410. description: 开始交易日
  5411. type: string
  5412. changelogtype:
  5413. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5414. type: integer
  5415. curvalue:
  5416. description: 当前套保\套利量(套保总量|套利总量)
  5417. type: number
  5418. diffvalue:
  5419. description: 应套保总量变化量
  5420. type: number
  5421. enddate:
  5422. description: 结束交易日
  5423. type: string
  5424. logdatetime:
  5425. description: 流水日期
  5426. type: string
  5427. logid:
  5428. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5429. type: string
  5430. middlegoodscode:
  5431. description: 套保品种代码
  5432. type: string
  5433. middlegoodsid:
  5434. description: 套保品种
  5435. type: integer
  5436. middlegoodsname:
  5437. description: 套保品种名称
  5438. type: string
  5439. paramaftervalue:
  5440. description: 参数变更后(调整后参数值)
  5441. type: number
  5442. parambeforevalue:
  5443. description: 参数变更前(调整前参数值)
  5444. type: number
  5445. reckondate:
  5446. description: 交易日(reckondate)
  5447. type: string
  5448. tradedate:
  5449. description: 交易日(yyyyMMdd)
  5450. type: string
  5451. type: object
  5452. models.Ermcp3ExpourseReport:
  5453. properties:
  5454. accountid:
  5455. description: 期货账户ID (作废, 默认为0)
  5456. type: integer
  5457. accountname:
  5458. description: 机构名称
  5459. type: string
  5460. arbitrageqty:
  5461. description: 套利量
  5462. type: number
  5463. areauserid:
  5464. description: 所属机构\交易用户ID
  5465. type: integer
  5466. begindate:
  5467. description: 开始交易日
  5468. type: string
  5469. buyfutureqty:
  5470. description: 买入期货数量
  5471. type: number
  5472. buyplanqty:
  5473. description: 采购计划数量
  5474. type: number
  5475. buypricedqty:
  5476. description: 采购合同已定价数量
  5477. type: number
  5478. cycletime:
  5479. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5480. type: string
  5481. cycletype:
  5482. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5483. type: integer
  5484. diffexposure:
  5485. description: 变动量(套保敞口)
  5486. type: number
  5487. difffutuqty:
  5488. description: 变动量(期货)
  5489. type: number
  5490. diffhedgeqty:
  5491. description: 变动量(现货应套保总量)
  5492. type: number
  5493. diffmgqtya:
  5494. description: 套保变动量
  5495. type: number
  5496. diffmgqtyb:
  5497. description: 套利变动量
  5498. type: number
  5499. diffneedqty:
  5500. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5501. type: number
  5502. diffqty:
  5503. description: 变动量(总敞口)
  5504. type: number
  5505. diffspotqty:
  5506. description: 变动量(现货) | 除税变动量
  5507. type: number
  5508. enddate:
  5509. description: 结束交易日
  5510. type: string
  5511. enumdicname:
  5512. description: 单位名称
  5513. type: string
  5514. hedgeqty:
  5515. description: 套保量
  5516. type: number
  5517. mgneedhedgeratio:
  5518. description: 套保比例(套保品的)
  5519. type: number
  5520. middlegoodsid:
  5521. description: 套保品种ID
  5522. type: integer
  5523. middlegoodsname:
  5524. description: 套保商品名称
  5525. type: string
  5526. middlgoodscode:
  5527. description: 套保商品代码
  5528. type: string
  5529. needarbitrageqty:
  5530. description: 应套利量
  5531. type: number
  5532. needarbitrageratio:
  5533. description: 套利比例(套保品的)
  5534. type: number
  5535. needhedgeexposoure:
  5536. description: 应套保敞口(套保敞口)
  5537. type: number
  5538. needhedgeqty:
  5539. description: 应套保量
  5540. type: number
  5541. needhedgeratio:
  5542. description: 应套保敞口比例
  5543. type: number
  5544. needqty:
  5545. description: 应套总量 = 应套保量 + 应套利量
  5546. type: number
  5547. oriarbitrageqty:
  5548. description: 期初套利量
  5549. type: number
  5550. oribuyfutureqty:
  5551. description: 期初买入期货数量
  5552. type: number
  5553. oribuyplanqty:
  5554. description: 期初采购计划数量
  5555. type: number
  5556. oribuypricedqty:
  5557. description: 期初采购合同已定价数量
  5558. type: number
  5559. orihedgeqty:
  5560. description: 期初套保量
  5561. type: number
  5562. orineedarbitrageqty:
  5563. description: 期初应套利量
  5564. type: number
  5565. orineedhedgeexposoure:
  5566. description: 期初应套保敞口
  5567. type: number
  5568. orineedhedgeqty:
  5569. description: 期初应套保量
  5570. type: number
  5571. orisellfutureqty:
  5572. description: 期初卖出期货数量
  5573. type: number
  5574. orisellplanqty:
  5575. description: 期初销售计划数量
  5576. type: number
  5577. orisellpricedqty:
  5578. description: 期初销售合同已定价数量
  5579. type: number
  5580. oritotalexposure:
  5581. description: 期初实时总敞口
  5582. type: number
  5583. oritotalfutureqty:
  5584. description: 期初期货头寸总量
  5585. type: number
  5586. oritotalneedhedgeqty:
  5587. description: 期初应套保总量
  5588. type: number
  5589. oritotalspotqty:
  5590. description: 期初现货头寸总量
  5591. type: number
  5592. reckondate:
  5593. description: 日照时期(yyyyMMdd)
  5594. type: string
  5595. sellfutureqty:
  5596. description: 卖出期货数量
  5597. type: number
  5598. sellplanqty:
  5599. description: 销售计划数量
  5600. type: number
  5601. sellpricedqty:
  5602. description: 销售合同已定价数量
  5603. type: number
  5604. totalexposure:
  5605. description: 实时总敞口(总敞口)
  5606. type: number
  5607. totalfutureqty:
  5608. description: 期货头寸总量(期货总量)
  5609. type: number
  5610. totalhedgeratio:
  5611. description: 敞口比例
  5612. type: number
  5613. totalneedhedgeqty:
  5614. description: 应套保总量(现货应套保总量)
  5615. type: number
  5616. totalspotqty:
  5617. description: 现货头寸总量 | 除税总量
  5618. type: number
  5619. unitid:
  5620. description: 单位id
  5621. type: integer
  5622. updatetime:
  5623. description: 更新时间
  5624. type: string
  5625. type: object
  5626. models.Ermcp3FinanceReport:
  5627. properties:
  5628. accountname:
  5629. description: 机构名称
  5630. type: string
  5631. areauserid:
  5632. description: 所属机构\交易用户ID
  5633. type: integer
  5634. begindate:
  5635. description: 开始交易日
  5636. type: string
  5637. biztype:
  5638. description: 业务类型 - 1:套保 2:套利
  5639. type: integer
  5640. brandname:
  5641. description: 品牌名称
  5642. type: string
  5643. buypreinvoicedamount:
  5644. description: 采购预收票额(预收票额)
  5645. type: number
  5646. buyprepaidamount:
  5647. description: 采购预付款额(预付货款额)
  5648. type: number
  5649. buytodayinvoiceamount:
  5650. description: 采购今收票额(今收票额)
  5651. type: number
  5652. buytodayrefundamount:
  5653. description: 采购今收退款额(今收退款额)
  5654. type: number
  5655. buytodaysettleamount:
  5656. description: 采购今付款额(今付货款额)
  5657. type: number
  5658. buyuninvoicedamount:
  5659. description: 采购应收票额(应收票额)
  5660. type: number
  5661. buyunpaidamount:
  5662. description: 采购应付款额(应付货款额)
  5663. type: number
  5664. currencyid:
  5665. description: 结算币种ID
  5666. type: integer
  5667. currencyname:
  5668. description: 币种名称
  5669. type: string
  5670. cycletime:
  5671. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5672. type: string
  5673. cycletype:
  5674. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5675. type: integer
  5676. deliverygoodscode:
  5677. description: 现货品种代码
  5678. type: string
  5679. deliverygoodsid:
  5680. description: 现货品种ID
  5681. type: integer
  5682. deliverygoodsname:
  5683. description: 现货品种名称
  5684. type: string
  5685. enddate:
  5686. description: 结束交易日
  5687. type: string
  5688. reckondate:
  5689. description: 日照时期(yyyyMMdd)
  5690. type: string
  5691. sellpreinvoicedamount:
  5692. description: 销售预开票额(预开票额)
  5693. type: number
  5694. sellprepaidamount:
  5695. description: 销售预收款额(预收货款额)
  5696. type: number
  5697. selltodayinvoiceamount:
  5698. description: 销售今开票额(今开票额)
  5699. type: number
  5700. selltodayrefundamount:
  5701. description: 销售今付退款额(今付退款额)
  5702. type: number
  5703. selltodaysettleamount:
  5704. description: 销售今收款额(今收货款额)
  5705. type: number
  5706. selluninvoicedamount:
  5707. description: 销售应开票额(应开票额)
  5708. type: number
  5709. sellunpaidamount:
  5710. description: 销售应收款额(应收货款额)
  5711. type: number
  5712. spotgoodsbrandid:
  5713. description: 现货品牌ID
  5714. type: integer
  5715. todaypaysum:
  5716. description: 今付款合计
  5717. type: number
  5718. todayreceivesum:
  5719. description: 今收款合计
  5720. type: number
  5721. updatetime:
  5722. description: 更新时间
  5723. type: string
  5724. wrfactortypeid:
  5725. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5726. type: integer
  5727. wrstandardcode:
  5728. description: 品类代码
  5729. type: string
  5730. wrstandardid:
  5731. description: 现货商品ID
  5732. type: integer
  5733. wrstandardname:
  5734. description: 品类名称
  5735. type: string
  5736. type: object
  5737. models.Ermcp3GoodsGroup:
  5738. properties:
  5739. agreeunit:
  5740. description: 合约单位
  5741. type: number
  5742. areauserid:
  5743. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5744. type: integer
  5745. canshort:
  5746. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5747. type: integer
  5748. closepricemode:
  5749. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5750. type: integer
  5751. createtime:
  5752. description: 创建时间
  5753. type: string
  5754. creatorid:
  5755. description: 创建人
  5756. type: integer
  5757. currencyid:
  5758. description: 报价货币ID
  5759. type: integer
  5760. decimalplace:
  5761. description: 报价小数位
  5762. type: integer
  5763. enumdicname:
  5764. description: 单位名称
  5765. type: string
  5766. exchangefullname:
  5767. description: 交易所全称
  5768. type: string
  5769. excludecfg:
  5770. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5771. type: integer
  5772. exexchangecode:
  5773. description: 交易所代码
  5774. type: string
  5775. exexchangeid:
  5776. description: 外部交易所ID[通道交易]
  5777. type: integer
  5778. exexchangename:
  5779. description: 交易所名称
  5780. type: string
  5781. goodsgroupid:
  5782. description: 商品组ID(自增ID)
  5783. type: integer
  5784. goodsgroupname:
  5785. description: 商品组名称
  5786. type: string
  5787. goodsgroupstatus:
  5788. description: 商品组状态 - 1:正常 2:注销
  5789. type: integer
  5790. goodunitid:
  5791. description: 报价单位ID
  5792. type: integer
  5793. groupcategroyid:
  5794. description: 品种分类ID
  5795. type: integer
  5796. innerdealmode:
  5797. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5798. type: integer
  5799. marketid:
  5800. description: 所属市场ID
  5801. type: integer
  5802. modifierid:
  5803. description: 修改人
  5804. type: integer
  5805. modifytime:
  5806. description: 修改时间
  5807. type: string
  5808. outerdealmode:
  5809. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5810. type: integer
  5811. outergroupcode:
  5812. description: 外部商品组代码[通道交易]
  5813. type: string
  5814. quoteminunit:
  5815. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5816. type: integer
  5817. quotesourcegroupid:
  5818. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5819. type: integer
  5820. syncgoodsqty:
  5821. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5822. type: integer
  5823. required:
  5824. - areauserid
  5825. type: object
  5826. models.Ermcp3HPMiddleGoods:
  5827. properties:
  5828. biztype:
  5829. description: 业务类型 1:套保 2:套利
  5830. type: integer
  5831. contracttype:
  5832. description: 合同类型 1:采购 -1:销售
  5833. type: integer
  5834. convertratio:
  5835. description: 折算系数
  5836. type: number
  5837. customername:
  5838. description: 对手手名称
  5839. type: string
  5840. customeruserid:
  5841. description: 对手id
  5842. type: integer
  5843. enumdicname:
  5844. description: 现货单位名称
  5845. type: string
  5846. hedgeplanid:
  5847. description: 计划id
  5848. type: string
  5849. hedgeplanno:
  5850. description: 计划编号
  5851. type: string
  5852. middlegoodsid:
  5853. description: 套保品种ID
  5854. type: integer
  5855. middlegoodsplanqty3:
  5856. description: 应套保计划量
  5857. type: number
  5858. needhedgeratio:
  5859. description: 套保比例
  5860. type: number
  5861. pricedqty:
  5862. description: 已定价量
  5863. type: number
  5864. relatedmiddlegoodsqty:
  5865. description: 已关联量(套保品种)(期货)
  5866. type: number
  5867. unitid:
  5868. description: 现货单位id
  5869. type: integer
  5870. userid:
  5871. description: 用户id
  5872. type: integer
  5873. vatrate:
  5874. description: 增值税率
  5875. type: number
  5876. wrstandardcode:
  5877. description: 现货商品代码
  5878. type: string
  5879. wrstandardid:
  5880. description: 现货商品id
  5881. type: integer
  5882. wrstandardname:
  5883. description: 现货商品名称
  5884. type: string
  5885. type: object
  5886. models.Ermcp3HedgePlan:
  5887. properties:
  5888. accountid:
  5889. description: 资金账号
  5890. type: integer
  5891. areauserid:
  5892. description: 用户ID
  5893. type: integer
  5894. auditid:
  5895. description: 审核id
  5896. type: integer
  5897. auditname:
  5898. description: 审核人名称
  5899. type: string
  5900. auditremark:
  5901. description: 审核备注
  5902. type: string
  5903. auditsrc:
  5904. description: 审核来源 1-管理端 2-终端
  5905. type: integer
  5906. audittime:
  5907. description: 审核时间
  5908. type: string
  5909. contracttype:
  5910. description: 计划类型 - 1:采购 -1:销售
  5911. type: integer
  5912. convertfactor:
  5913. description: 标仓系数
  5914. type: number
  5915. createtime:
  5916. description: 创建时间
  5917. type: string
  5918. currencyid:
  5919. description: 币种id
  5920. type: integer
  5921. currencyname:
  5922. description: 币种名称
  5923. type: string
  5924. deliverygoodscode:
  5925. description: 现货品种代码
  5926. type: string
  5927. deliverygoodsid:
  5928. description: 现货品种ID
  5929. type: integer
  5930. deliverygoodsname:
  5931. description: 现货品种名称
  5932. type: string
  5933. enumdicname:
  5934. description: 单位名称(现货商品)
  5935. type: string
  5936. hedgeplanid:
  5937. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5938. type: string
  5939. hedgeplanno:
  5940. description: 套保计划编号(名称)
  5941. type: string
  5942. hedgeplanstatus:
  5943. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5944. type: integer
  5945. planqty:
  5946. description: 计划数量
  5947. type: number
  5948. plantime:
  5949. description: 计划时间
  5950. type: string
  5951. producttype:
  5952. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5953. type: integer
  5954. remark:
  5955. description: 备注
  5956. type: string
  5957. spotgoodsdesc:
  5958. description: 商品型号
  5959. type: string
  5960. taaccountname:
  5961. description: 资金账号名称
  5962. type: string
  5963. tradeuserid:
  5964. description: 交易用户id
  5965. type: integer
  5966. tradeusername:
  5967. description: 交易用户名称
  5968. type: string
  5969. unitid:
  5970. description: 单位id(现货商品)
  5971. type: integer
  5972. updatetime:
  5973. description: 更新时间
  5974. type: string
  5975. vatrate:
  5976. description: 增值税率
  5977. type: number
  5978. wrstandardcode:
  5979. description: 品类代码
  5980. type: string
  5981. wrstandardid:
  5982. description: 品类id
  5983. type: integer
  5984. wrstandardname:
  5985. description: 品类名称
  5986. type: string
  5987. wrunitid:
  5988. description: 品类单位id
  5989. type: integer
  5990. wrunitidame:
  5991. description: 品类单位名称
  5992. type: string
  5993. type: object
  5994. models.Ermcp3InnerTradeLink:
  5995. properties:
  5996. accountid:
  5997. description: 期货账号代码 | 资金账号ID
  5998. type: integer
  5999. buyorsell:
  6000. description: 方向 - 0:买 1:卖
  6001. type: integer
  6002. channelbuildtype:
  6003. description: 委托单据类型 0:无 1:建仓 2:平仓
  6004. type: integer
  6005. currencyid:
  6006. description: 币种id
  6007. type: integer
  6008. currencyname:
  6009. description: 结算币种 名称
  6010. type: string
  6011. goodscode:
  6012. description: 商品代码
  6013. type: string
  6014. goodsid:
  6015. description: 商品ID
  6016. type: integer
  6017. goodsname:
  6018. description: 商品名称
  6019. type: string
  6020. outtradeid:
  6021. description: 外部成交单号
  6022. type: string
  6023. taname:
  6024. description: 期货账户名称
  6025. type: string
  6026. tradeid:
  6027. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6028. type: string
  6029. tradeprice:
  6030. description: 成交价格
  6031. type: number
  6032. tradeqty:
  6033. description: 期货成交数量
  6034. type: integer
  6035. tradetime:
  6036. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6037. type: string
  6038. username:
  6039. description: 用户名称
  6040. type: string
  6041. type: object
  6042. models.Ermcp3OutTradeLink:
  6043. properties:
  6044. buyorsell:
  6045. description: 买卖方向 - 0:买 1:卖
  6046. type: integer
  6047. channelbuildtype:
  6048. description: 开平标志- 0:无 1:建仓 2:平仓
  6049. type: integer
  6050. currencyname:
  6051. description: 币种名称
  6052. type: string
  6053. exexchangecode:
  6054. description: 交易所代码
  6055. type: string
  6056. exexchangename:
  6057. description: 交易所名称
  6058. type: string
  6059. goodscode:
  6060. description: 合约代码
  6061. type: string
  6062. goodsid:
  6063. description: 合约id
  6064. type: integer
  6065. goodsname:
  6066. description: 合约名称
  6067. type: string
  6068. hasinnerorder:
  6069. description: 是否有内部单关联 - 0:无 1:有
  6070. type: integer
  6071. hedgeaccountcode:
  6072. description: 外部账号 | 对冲账号
  6073. type: string
  6074. outtradeid:
  6075. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6076. type: string
  6077. tradeprice:
  6078. description: 成交价格
  6079. type: number
  6080. tradeqty:
  6081. description: 成交数量
  6082. type: integer
  6083. tradetime:
  6084. description: 成交时间
  6085. type: string
  6086. type: object
  6087. models.Ermcp3PaAreaAuditCfg:
  6088. properties:
  6089. areauserid:
  6090. description: 用户ID
  6091. type: integer
  6092. buyinauditflag:
  6093. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6094. type: integer
  6095. costratioauditflag:
  6096. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6097. type: integer
  6098. customerauditflag:
  6099. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6100. type: integer
  6101. deliveryauditflag:
  6102. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6103. type: integer
  6104. invoiceauditflag:
  6105. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6106. type: integer
  6107. mgneedhedgeratioauditflag:
  6108. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6109. type: integer
  6110. moneyauditflag:
  6111. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6112. type: integer
  6113. operatorid:
  6114. description: 操作人
  6115. type: integer
  6116. operatorsrc:
  6117. description: 操作来源 - 1:管理端 2:终端
  6118. type: integer
  6119. pointpriceauditflag:
  6120. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6121. type: integer
  6122. produceinauditflag:
  6123. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6124. type: integer
  6125. produceoutauditflag:
  6126. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6127. type: integer
  6128. selloutauditflag:
  6129. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6130. type: integer
  6131. sgconvertratioauditflag:
  6132. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6133. type: integer
  6134. sgvtaratioauditflag:
  6135. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6136. type: integer
  6137. spotcontractauditflag:
  6138. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6139. type: integer
  6140. updatetime:
  6141. description: 更新时间
  6142. type: string
  6143. type: object
  6144. models.Ermcp3PaAreaSubject:
  6145. properties:
  6146. areauserid:
  6147. description: 所属机构
  6148. type: integer
  6149. canmodify:
  6150. description: 是否可修改 - 0:否 1:是
  6151. type: integer
  6152. createtime:
  6153. description: 创建时间
  6154. type: string
  6155. creatorid:
  6156. description: 创建人ID
  6157. type: string
  6158. creatorsrc:
  6159. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6160. type: integer
  6161. modifierid:
  6162. description: 修改人
  6163. type: string
  6164. modifiersrc:
  6165. description: 修改人来源 - 1:管理端 2:终端
  6166. type: integer
  6167. modifytime:
  6168. description: 修改时间
  6169. type: string
  6170. parentsubjectid:
  6171. description: 上级主体ID
  6172. type: string
  6173. remark:
  6174. description: 备注
  6175. type: string
  6176. subjectid:
  6177. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6178. type: integer
  6179. subjectname:
  6180. description: 主体名称
  6181. type: string
  6182. subjectstatus:
  6183. description: '主体状态 - 1:正常 2: 停用'
  6184. type: integer
  6185. subjecttype:
  6186. description: 主体类型 - 1:交易主体 2:业务部门
  6187. type: integer
  6188. type: object
  6189. models.Ermcp3PaTradeLink:
  6190. properties:
  6191. accountid:
  6192. description: 期货账户代码 | 账号ID
  6193. type: integer
  6194. agreeunit:
  6195. description: 合约乘数
  6196. type: number
  6197. buyorsell:
  6198. description: 方向 - 0:买 1:卖
  6199. type: integer
  6200. channelbuildtype:
  6201. description: 委托单据类型 0:无 1:建仓 2:平仓
  6202. type: integer
  6203. charge:
  6204. description: 手续费
  6205. type: number
  6206. closepl:
  6207. description: 平仓盈亏
  6208. type: number
  6209. closetype:
  6210. description: 平仓方式 - 0:无 1:平今 2:平昨
  6211. type: integer
  6212. convertratio:
  6213. description: 折算系数
  6214. type: number
  6215. enumdicname:
  6216. description: 单位名称
  6217. type: string
  6218. executeprice:
  6219. description: 执行价 [期权]
  6220. type: integer
  6221. goodscode:
  6222. description: 合约代码
  6223. type: string
  6224. goodsgroupid:
  6225. description: 对冲品种ID[期货合约商品组ID]
  6226. type: integer
  6227. goodsid:
  6228. description: 商品ID
  6229. type: integer
  6230. goodsname:
  6231. description: 合约名称
  6232. type: string
  6233. goodunitid:
  6234. description: 单位id
  6235. type: integer
  6236. hedgeflag:
  6237. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6238. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6239. type: integer
  6240. marketid:
  6241. description: 市场ID
  6242. type: integer
  6243. middlegoodsid:
  6244. description: 套保品种ID
  6245. type: integer
  6246. middlegoodsqty:
  6247. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6248. type: number
  6249. optioncode:
  6250. description: 期权代码 [期权]
  6251. type: string
  6252. ordertype:
  6253. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6254. type: integer
  6255. ordertypename:
  6256. description: 订单类型
  6257. type: string
  6258. parentaccountid:
  6259. description: 所属母账户
  6260. type: integer
  6261. premium:
  6262. description: 权利金 [期权]
  6263. type: number
  6264. relatedlot:
  6265. description: 已关联数量(已关联数量手) | db:关联手数
  6266. type: number
  6267. relatedouttradeid:
  6268. description: 关联外部成交单ID
  6269. type: string
  6270. relatedqty:
  6271. description: 关联数量
  6272. type: number
  6273. spotcontractid:
  6274. description: 现货合同ID [4:套期保值\10\11]
  6275. type: string
  6276. taname:
  6277. description: 期货账户名称
  6278. type: string
  6279. tradeamount:
  6280. description: 成交金额(账户)
  6281. type: number
  6282. tradedate:
  6283. description: 交易日(yyyyMMdd)
  6284. type: string
  6285. tradeid:
  6286. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6287. type: string
  6288. tradelot:
  6289. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6290. type: integer
  6291. tradeprice:
  6292. description: 成交价格
  6293. type: number
  6294. tradetime:
  6295. description: 时间 | db:成交时间
  6296. type: string
  6297. tradetype:
  6298. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6299. type: integer
  6300. userid:
  6301. description: 所属机构 - 所属母账户的UserID
  6302. type: string
  6303. username:
  6304. description: 用户名称
  6305. type: string
  6306. type: object
  6307. models.Ermcp3ParamChangeApp:
  6308. properties:
  6309. aftervalue:
  6310. description: 变更后
  6311. type: number
  6312. applicationid:
  6313. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6314. type: string
  6315. applyid:
  6316. description: 申请人
  6317. type: string
  6318. applyname:
  6319. description: 申请人名称(代码)
  6320. type: string
  6321. applyremark:
  6322. description: 申请备注
  6323. type: string
  6324. applysrc:
  6325. description: 申请来源 - 1:管理端 2:终端
  6326. type: integer
  6327. applystatus:
  6328. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6329. type: integer
  6330. applytime:
  6331. description: 申请时间
  6332. type: string
  6333. areauserid:
  6334. description: 所属机构用户ID
  6335. type: integer
  6336. auditid:
  6337. description: 审核人
  6338. type: string
  6339. auditname:
  6340. description: 审核人名称(代码)
  6341. type: string
  6342. auditremark:
  6343. description: 审核备注
  6344. type: string
  6345. auditsrc:
  6346. description: 审核来源 - 1:管理端 2:终端
  6347. type: integer
  6348. audittime:
  6349. description: 审核时间
  6350. type: string
  6351. audittradedate:
  6352. description: 审核交易日(yyyyMMdd)
  6353. type: string
  6354. beforevalue:
  6355. description: 变更前
  6356. type: number
  6357. deliverygoodscode:
  6358. description: 品种代码
  6359. type: string
  6360. deliverygoodsid:
  6361. description: 品种id
  6362. type: integer
  6363. deliverygoodsname:
  6364. description: 品种名称
  6365. type: string
  6366. middlegoodscode:
  6367. description: 套保品种代码
  6368. type: string
  6369. middlegoodsid:
  6370. description: 套保品种ID [ParamChangeType = 2,3,4]
  6371. type: integer
  6372. middlegoodsname:
  6373. description: 套保品种名称
  6374. type: string
  6375. operatetype:
  6376. description: 操作类型 - 1:新增 2:修改
  6377. type: integer
  6378. paramchangetype:
  6379. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6380. type: integer
  6381. wrstandardcode:
  6382. description: 现货商品代码
  6383. type: string
  6384. wrstandardid:
  6385. description: 现货商品ID [ParamChangeType = 1,2,3]
  6386. type: integer
  6387. wrstandardname:
  6388. description: 现货商品名称
  6389. type: string
  6390. type: object
  6391. models.Ermcp3RootUserAccount:
  6392. properties:
  6393. accountname:
  6394. description: 账户名称(机构名称)
  6395. type: string
  6396. accountstatus:
  6397. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6398. type: integer
  6399. applysrc:
  6400. description: 申请来源 - 1:管理端 2:终端
  6401. type: integer
  6402. auditremark:
  6403. description: 审核备注
  6404. type: string
  6405. auditsrc:
  6406. description: 审核来源 - 1:管理端 2:终端
  6407. type: integer
  6408. audittime:
  6409. description: 审核时间
  6410. type: string
  6411. audituserid:
  6412. description: 审核人
  6413. type: integer
  6414. broker:
  6415. description: 所属经纪人ID
  6416. type: integer
  6417. canceltime:
  6418. description: 销户时间
  6419. type: string
  6420. canceluserid:
  6421. description: 销户人
  6422. type: integer
  6423. canrecommend:
  6424. description: 是否可推荐 - 0:不可 1;可
  6425. type: integer
  6426. createtime:
  6427. description: 创建时间
  6428. type: string
  6429. creatorid:
  6430. description: 创建人
  6431. type: integer
  6432. hasauth:
  6433. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6434. type: integer
  6435. isanonymous:
  6436. description: 是否匿名下单 - 0:否 1:是
  6437. type: integer
  6438. maxinvestornum:
  6439. description: 最大用户数(经纪会员下投资者个数)
  6440. type: integer
  6441. memberuserid:
  6442. description: 所属会员ID
  6443. type: integer
  6444. modifierid:
  6445. description: 修改人
  6446. type: integer
  6447. modifyremark:
  6448. description: 变更备注
  6449. type: string
  6450. modifystatus:
  6451. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6452. type: integer
  6453. modifytime:
  6454. description: 修改时间
  6455. type: string
  6456. nickname:
  6457. description: 昵称
  6458. type: string
  6459. parenttopuser:
  6460. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6461. type: string
  6462. parentuserid:
  6463. description: 所属机构ID
  6464. type: integer
  6465. reckonaccountid:
  6466. description: 默认结算资金账号ID(机构分润使用) 作废
  6467. type: integer
  6468. refercount:
  6469. description: 推荐总人数
  6470. type: integer
  6471. refereeuserid:
  6472. description: 推荐人ID
  6473. type: integer
  6474. refernum:
  6475. description: 推荐码
  6476. type: string
  6477. rootuserid:
  6478. description: 根用户ID
  6479. type: integer
  6480. subaccountlevel:
  6481. description: 子账户层数
  6482. type: integer
  6483. subarealevelpath:
  6484. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6485. type: string
  6486. userid:
  6487. description: 用户ID
  6488. type: integer
  6489. usertype:
  6490. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6491. type: integer
  6492. type: object
  6493. models.Ermcp3SCMiddleGoods:
  6494. properties:
  6495. biztype:
  6496. description: 业务类型 1:套保 2:套利
  6497. type: integer
  6498. contractno:
  6499. description: 合同编号
  6500. type: string
  6501. contracttype:
  6502. description: 合同类型 1:采购 -1:销售
  6503. type: integer
  6504. convertratio:
  6505. description: 折算系数
  6506. type: number
  6507. customername:
  6508. description: 对手手名称
  6509. type: string
  6510. customeruserid:
  6511. description: 对手id
  6512. type: integer
  6513. deliverygoodscode:
  6514. description: 现货品种代码
  6515. type: string
  6516. deliverygoodsid:
  6517. description: 现货品种ID
  6518. type: integer
  6519. deliverygoodsname:
  6520. description: 现货品种名称
  6521. type: string
  6522. enumdicname:
  6523. description: 现货单位名称
  6524. type: string
  6525. middlegoodsid:
  6526. description: 套保品种ID
  6527. type: integer
  6528. middlegoodspricedqty3:
  6529. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6530. type: number
  6531. needhedgeratio:
  6532. description: 套保比例
  6533. type: number
  6534. pricedqty:
  6535. description: 已定价量
  6536. type: number
  6537. relatedmiddlegoodsqty:
  6538. description: 已关联量(套保品种)(期货)
  6539. type: number
  6540. spotcontractid:
  6541. description: 合同编号
  6542. type: string
  6543. unitid:
  6544. description: 现货单位id
  6545. type: integer
  6546. userid:
  6547. description: 用户id
  6548. type: integer
  6549. vatrate:
  6550. description: 增值税率
  6551. type: number
  6552. wrstandardcode:
  6553. description: 现货商品代码
  6554. type: string
  6555. wrstandardid:
  6556. description: 现货商品id
  6557. type: integer
  6558. wrstandardname:
  6559. description: 现货商品名称
  6560. type: string
  6561. type: object
  6562. models.Ermcp3SCMiddleGoodsReport:
  6563. properties:
  6564. begindate:
  6565. description: 开始交易日
  6566. type: string
  6567. contractno:
  6568. description: 合同编号
  6569. type: string
  6570. contracttype:
  6571. description: 合同类型 1:采购 -1:销售
  6572. type: integer
  6573. convertratio:
  6574. description: 折算系数
  6575. type: number
  6576. cycletime:
  6577. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6578. type: string
  6579. cycletype:
  6580. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6581. type: integer
  6582. deliverygoodscode:
  6583. description: 品种代码
  6584. type: string
  6585. deliverygoodsid:
  6586. description: 现货品种ID
  6587. type: integer
  6588. deliverygoodsname:
  6589. description: 品种名称
  6590. type: string
  6591. diffprice:
  6592. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6593. type: number
  6594. diffqty:
  6595. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6596. type: number
  6597. enddate:
  6598. description: 结束交易日
  6599. type: string
  6600. hedgeplanqty:
  6601. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6602. type: number
  6603. matchname:
  6604. description: 交易对手方(个人:用户名称 企业:简称)
  6605. type: string
  6606. matchnickname:
  6607. description: 交易对手方昵称
  6608. type: string
  6609. middlegoodscode:
  6610. description: 套保品种代码
  6611. type: string
  6612. middlegoodsid:
  6613. description: 套保品种ID
  6614. type: integer
  6615. middlegoodsname:
  6616. description: 套保品种名称
  6617. type: string
  6618. middlegoodspricedqty:
  6619. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6620. type: number
  6621. middlegoodspricedqty2:
  6622. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6623. type: number
  6624. middlegoodspricedqty3:
  6625. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6626. type: number
  6627. needhedgeratio:
  6628. description: 套保系数
  6629. type: number
  6630. pricedamount:
  6631. description: 已定价额(现货)
  6632. type: number
  6633. pricedamount2:
  6634. description: 已定价额(现货-基价额)
  6635. type: number
  6636. pricedqty:
  6637. description: 已定价量(现货)
  6638. type: number
  6639. reckondate:
  6640. description: 日照时期(yyyyMMdd)
  6641. type: string
  6642. relatedmiddlegoodsamount:
  6643. description: 已关联额(期货)
  6644. type: number
  6645. relatedmiddlegoodsqty:
  6646. description: 已关联量(套保品种)(期货)
  6647. type: number
  6648. spotcontractid:
  6649. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6650. type: string
  6651. todayavgfutuprice:
  6652. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6653. type: number
  6654. todayavgprice:
  6655. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6656. type: number
  6657. todayavgprice2:
  6658. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6659. type: number
  6660. todaypricedamount:
  6661. description: 今日定价额(现货)
  6662. type: number
  6663. todaypricedamount2:
  6664. description: 今日定价额(现货-基价额)
  6665. type: number
  6666. todaypricedqty:
  6667. description: 今日定价量(现货)
  6668. type: number
  6669. todayrelatedfutureqty:
  6670. description: 今日关联量(期货)
  6671. type: number
  6672. todayrelatedmiddlegoodsamount:
  6673. description: 今日关联额(期货)
  6674. type: number
  6675. todayrelatedmiddlegoodsqty:
  6676. description: 今日关联量(套保品-期货)
  6677. type: number
  6678. updatetime:
  6679. description: 更新时间
  6680. type: string
  6681. userid:
  6682. description: 合同所属用户id
  6683. type: integer
  6684. vatrate:
  6685. description: 增值税率
  6686. type: number
  6687. wrstandardcode:
  6688. description: 商品(品类) 代码
  6689. type: string
  6690. wrstandardid:
  6691. description: 现货商品ID
  6692. type: integer
  6693. wrstandardname:
  6694. description: 商品(品类) 名称
  6695. type: string
  6696. type: object
  6697. models.Ermcp3SellBuyContract:
  6698. properties:
  6699. accountid:
  6700. description: 期货账户id
  6701. type: string
  6702. accountname:
  6703. description: 账户名称
  6704. type: string
  6705. attachment:
  6706. description: 附件
  6707. type: string
  6708. audittime:
  6709. description: 审核时间
  6710. type: string
  6711. bizsubjectid:
  6712. description: 归属业务部门ID - SubjectID
  6713. type: integer
  6714. biztype:
  6715. description: 业务类型 1-套保 2-套利
  6716. type: integer
  6717. brandname:
  6718. description: 品牌名称
  6719. type: string
  6720. contracctstatus:
  6721. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6722. type: integer
  6723. contractmargin:
  6724. description: 合同保证金
  6725. type: number
  6726. contractno:
  6727. description: 合同编号
  6728. type: string
  6729. contracttype:
  6730. description: 合同类型 1-采购, -1-销售
  6731. type: integer
  6732. convertfactor:
  6733. description: 标仓系数(品类)
  6734. type: number
  6735. createtime:
  6736. description: 创建时间
  6737. type: string
  6738. currencyid:
  6739. description: 币种id
  6740. type: integer
  6741. currencyname:
  6742. description: 币种名称
  6743. type: string
  6744. daikaiamount:
  6745. description: 应收(开)票额 | 未收票额
  6746. type: number
  6747. deliveryenddate:
  6748. description: 交割结束日
  6749. type: string
  6750. deliverygoodscode:
  6751. description: 现货品种代码
  6752. type: string
  6753. deliverygoodsid:
  6754. description: 现货商品ID
  6755. type: integer
  6756. deliverygoodsname:
  6757. description: 现货品种名称
  6758. type: string
  6759. deliverystartdate:
  6760. description: 交割开始日
  6761. type: string
  6762. enddate:
  6763. description: 点价结束日
  6764. type: string
  6765. enumdicname:
  6766. description: 单位名称
  6767. type: string
  6768. goodscode:
  6769. description: 点价商品代码
  6770. type: string
  6771. goodsgroupid:
  6772. description: 点价商品组id
  6773. type: integer
  6774. goodsid:
  6775. description: 点价商品ID
  6776. type: integer
  6777. goodsname:
  6778. description: 点价商品名称
  6779. type: string
  6780. invoiceamount:
  6781. description: 已开票额
  6782. type: number
  6783. loanamount:
  6784. description: 贷款总额=已定价额+调整金额
  6785. type: number
  6786. margin:
  6787. description: 保证金
  6788. type: number
  6789. meruserid:
  6790. description: 跟单员id
  6791. type: integer
  6792. meruserlogincode:
  6793. description: 跟单员登录代码
  6794. type: string
  6795. merusername:
  6796. description: 跟单员名称
  6797. type: string
  6798. nickname:
  6799. description: 账户昵称
  6800. type: string
  6801. orireckonrealqty:
  6802. description: 应交收量
  6803. type: number
  6804. payamount:
  6805. description: 已收付额(收款或付款)
  6806. type: number
  6807. preinvoiceamount:
  6808. description: 预收(开)票额
  6809. type: number
  6810. prepayamount:
  6811. description: 预收付额
  6812. type: number
  6813. price:
  6814. description: 价格
  6815. type: number
  6816. pricedamount:
  6817. description: 已定价额
  6818. type: number
  6819. pricedavg:
  6820. description: 已点均价
  6821. type: number
  6822. pricedqty:
  6823. description: 已定价量
  6824. type: number
  6825. pricemove:
  6826. description: 升贴水
  6827. type: number
  6828. pricetype:
  6829. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6830. type: integer
  6831. producttype:
  6832. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6833. type: integer
  6834. qty:
  6835. description: 合同量
  6836. type: number
  6837. reckonadjustamount:
  6838. description: 调整金额
  6839. type: number
  6840. reckonedamount:
  6841. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6842. type: number
  6843. reckonotheramount:
  6844. description: 其它费用
  6845. type: number
  6846. reckonrealqty:
  6847. description: 已交收量
  6848. type: number
  6849. remark:
  6850. description: 备注
  6851. type: string
  6852. saleuserid:
  6853. description: 业务员id
  6854. type: integer
  6855. saleuserlogincode:
  6856. description: 业务员登录代码
  6857. type: string
  6858. saleusername:
  6859. description: 业务员名称
  6860. type: string
  6861. spotcontractid:
  6862. description: 合同ID
  6863. type: string
  6864. spotgoodsbrandid:
  6865. description: 现货品牌ID(DGFactoryItem表的ID)
  6866. type: integer
  6867. spotgoodsdesc:
  6868. description: 商品型号(商品规格)
  6869. type: string
  6870. startdate:
  6871. description: 点价开始日
  6872. type: string
  6873. subjectid:
  6874. description: 交易主体ID
  6875. type: integer
  6876. subjectname:
  6877. description: 交易主体名称
  6878. type: string
  6879. totalamount:
  6880. description: 合计总额
  6881. type: number
  6882. tradeuserid:
  6883. description: 交易员id
  6884. type: integer
  6885. tradeuserlogincode:
  6886. description: 交易员登录代码
  6887. type: string
  6888. tradeusername:
  6889. description: 交易员名称
  6890. type: string
  6891. unpayamount:
  6892. description: 应收付款额(应支付或应收款) | 未付款额
  6893. type: number
  6894. unpricedqty:
  6895. description: 未定价量
  6896. type: number
  6897. unsureqty:
  6898. description: 未确定量 | 未交收量
  6899. type: number
  6900. userid:
  6901. description: 机构ID
  6902. type: integer
  6903. vatrate:
  6904. description: 增值税率
  6905. type: number
  6906. wrstandardcode:
  6907. description: 品类代码
  6908. type: string
  6909. wrstandardid:
  6910. description: 品类ID
  6911. type: integer
  6912. wrstandardname:
  6913. description: 品类名称
  6914. type: string
  6915. type: object
  6916. models.Ermcp3SpotGoodsPrice:
  6917. properties:
  6918. areauserid:
  6919. description: 所属机构id
  6920. type: integer
  6921. brandname:
  6922. description: 品牌名称
  6923. type: string
  6924. currencyid:
  6925. description: 报价货币ID
  6926. type: integer
  6927. currencyname:
  6928. description: 币种名称
  6929. type: string
  6930. deliverygoodscode:
  6931. description: 现货商品代码
  6932. type: string
  6933. deliverygoodsid:
  6934. description: 现货商品id
  6935. type: integer
  6936. deliverygoodsname:
  6937. description: 现货商品名称
  6938. type: string
  6939. enumdicname:
  6940. description: 现货商品单位名称
  6941. type: string
  6942. gbenumdicname:
  6943. description: 品类单位名称
  6944. type: string
  6945. gmunitid:
  6946. description: 品类单位id
  6947. type: integer
  6948. isvalid:
  6949. description: 是否有效 - 0:无效 1:有效
  6950. type: integer
  6951. operateid:
  6952. description: 最后操作人
  6953. type: integer
  6954. operatesrc:
  6955. description: 最后操作来源 - 1:管理端 2:终端
  6956. type: integer
  6957. operatetime:
  6958. description: 最后操作时间
  6959. type: string
  6960. operatorname:
  6961. description: 操作人名称
  6962. type: string
  6963. spotgoodsbrandid:
  6964. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6965. type: integer
  6966. spotgoodsprice:
  6967. description: 现货价格
  6968. type: number
  6969. tradedate:
  6970. description: 交易日(yyyyMMdd)
  6971. type: string
  6972. unitid:
  6973. description: 现货商品单位id
  6974. type: integer
  6975. wrstandardcode:
  6976. description: 品类代码
  6977. type: string
  6978. wrstandardid:
  6979. description: 现货品类ID(通用则为0)
  6980. type: integer
  6981. wrstandardname:
  6982. description: 品类名称
  6983. type: string
  6984. type: object
  6985. models.Ermcp3SpotGoodsPriceLog:
  6986. properties:
  6987. areauserid:
  6988. description: 所属机构id
  6989. type: integer
  6990. brandname:
  6991. description: 品牌名称
  6992. type: string
  6993. currencyid:
  6994. description: 报价货币ID
  6995. type: integer
  6996. deliverygoodscode:
  6997. description: 现货商品代码
  6998. type: string
  6999. deliverygoodsid:
  7000. description: 现货商品id
  7001. type: integer
  7002. deliverygoodsname:
  7003. description: 现货商品名称
  7004. type: string
  7005. enumdicname:
  7006. description: 现货商品单位名称
  7007. type: string
  7008. gbenumdicname:
  7009. description: 品类单位名称
  7010. type: string
  7011. gmunitid:
  7012. description: 品类单位id
  7013. type: integer
  7014. logid:
  7015. description: 日志id
  7016. type: integer
  7017. operateid:
  7018. description: 最后操作人
  7019. type: integer
  7020. operatesrc:
  7021. description: 最后操作来源 - 1:管理端 2:终端
  7022. type: integer
  7023. operatetime:
  7024. description: 最后操作时间
  7025. type: string
  7026. operatorname:
  7027. description: 操作人名称
  7028. type: string
  7029. spotgoodsbrandid:
  7030. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7031. type: integer
  7032. spotgoodsprice:
  7033. description: 现货价格
  7034. type: number
  7035. tradedate:
  7036. description: 交易日(yyyyMMdd)
  7037. type: string
  7038. unitid:
  7039. description: 现货商品单位id
  7040. type: integer
  7041. wrstandardcode:
  7042. description: 品类代码
  7043. type: string
  7044. wrstandardid:
  7045. description: 现货品类ID(通用则为0)
  7046. type: integer
  7047. wrstandardname:
  7048. description: 品类名称
  7049. type: string
  7050. type: object
  7051. models.Ermcp3SubTaaccount:
  7052. properties:
  7053. accountid:
  7054. description: 资金账户ID
  7055. type: integer
  7056. parentaccountcode:
  7057. description: 所属根账号代码(母账号代码)
  7058. type: string
  7059. parentaccountid:
  7060. description: 所属根账号(母账号)
  7061. type: integer
  7062. taname:
  7063. description: 资金账号名称
  7064. type: string
  7065. tradestatus:
  7066. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7067. type: integer
  7068. username:
  7069. description: 交易用户
  7070. type: string
  7071. type: object
  7072. models.Ermcp3TaFutuReDataReport:
  7073. properties:
  7074. accountid:
  7075. description: 交易账户
  7076. type: integer
  7077. accountname:
  7078. description: 交易账号名称
  7079. type: string
  7080. agreeunit:
  7081. description: 商品合约单位
  7082. type: number
  7083. begindate:
  7084. description: 开始交易日
  7085. type: string
  7086. buyorsell:
  7087. description: 持仓方向
  7088. type: integer
  7089. charge:
  7090. description: 手续费
  7091. type: number
  7092. closeavgprice:
  7093. description: 平仓均价
  7094. type: number
  7095. closepl:
  7096. description: 平仓损益
  7097. type: number
  7098. currencyid:
  7099. description: 结算币种ID
  7100. type: integer
  7101. currencyname:
  7102. description: 币种名称
  7103. type: string
  7104. cycletime:
  7105. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7106. type: string
  7107. cycletype:
  7108. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7109. type: integer
  7110. enddate:
  7111. description: 结束交易日
  7112. type: string
  7113. enumdicname:
  7114. description: 单位名称
  7115. type: string
  7116. floatpl:
  7117. description: 浮动损益
  7118. type: number
  7119. goodscode:
  7120. description: 交易合约代码
  7121. type: string
  7122. goodsgroupid:
  7123. description: 交易品种
  7124. type: integer
  7125. goodsgroupname:
  7126. description: 交易品种名称
  7127. type: string
  7128. goodsgroupspotqty:
  7129. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7130. type: number
  7131. goodsid:
  7132. description: 交易合约
  7133. type: integer
  7134. goodsname:
  7135. description: 交易合约名称
  7136. type: string
  7137. goodunitid:
  7138. description: 交易合约单位id
  7139. type: integer
  7140. holdamount:
  7141. description: 期末持仓额
  7142. type: number
  7143. holdqty:
  7144. description: 期末持仓量
  7145. type: number
  7146. lastholdamount:
  7147. description: 当前持仓额
  7148. type: number
  7149. lastprice:
  7150. description: 最新价
  7151. type: number
  7152. middlegoodsid:
  7153. description: 套保品种id
  7154. type: integer
  7155. middlegoodsname:
  7156. description: 套保商品名称
  7157. type: string
  7158. middlegoodsqty:
  7159. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7160. type: number
  7161. middlgoodscode:
  7162. description: 套保商品代码
  7163. type: string
  7164. openamount:
  7165. description: 期末开仓额
  7166. type: number
  7167. openavgprice:
  7168. description: 开仓均价
  7169. type: number
  7170. oriholdamount:
  7171. description: 期初持仓额
  7172. type: number
  7173. oriholdqty:
  7174. description: 期初持仓量
  7175. type: number
  7176. oriopenamount:
  7177. description: 期初开仓额
  7178. type: number
  7179. outergroupcode:
  7180. description: 交易品种代码
  7181. type: string
  7182. qtydecimalplace:
  7183. description: 成交量小数位
  7184. type: integer
  7185. reckondate:
  7186. description: 日照时期(yyyyMMdd)
  7187. type: string
  7188. reckonholdamount:
  7189. description: 结算持仓额
  7190. type: number
  7191. reckonpl:
  7192. description: 结算损益
  7193. type: number
  7194. reckonpl2:
  7195. description: 结算逐笔盈亏
  7196. type: number
  7197. reckonprice:
  7198. description: 结算价
  7199. type: number
  7200. relateduserid:
  7201. description: 账户关联用户ID
  7202. type: integer
  7203. todaycloseamount:
  7204. description: 今平仓额
  7205. type: number
  7206. todaycloseqty:
  7207. description: 今平仓量
  7208. type: number
  7209. todaygoodsgroupspotqty:
  7210. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7211. type: number
  7212. todaymiddlegoodsqty:
  7213. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7214. type: number
  7215. todayopenamount:
  7216. description: 今开仓额
  7217. type: number
  7218. todayopenqty:
  7219. description: 今开仓量
  7220. type: number
  7221. userid:
  7222. description: 账户所属用户ID
  7223. type: integer
  7224. type: object
  7225. models.Ermcp3TradeLinkDetail:
  7226. properties:
  7227. accountid:
  7228. description: 资金账号
  7229. type: integer
  7230. agreeunit:
  7231. description: 合约乘数
  7232. type: number
  7233. areauserid:
  7234. description: 所属机构
  7235. type: string
  7236. bizsubjectid:
  7237. description: 归属业务部门ID - SubjectID
  7238. type: string
  7239. buyorsell:
  7240. description: 方向 - 0:买 1:卖
  7241. type: integer
  7242. channelbuildtype:
  7243. description: 委托单据类型 0:无 1:建仓 2:平仓
  7244. type: integer
  7245. contractno:
  7246. description: 现货编号 (合同编号)
  7247. type: string
  7248. convertratio:
  7249. description: 折算系数
  7250. type: number
  7251. createtime:
  7252. description: 关联时间 | 创建时间
  7253. type: string
  7254. creatorid:
  7255. description: 创建人ID
  7256. type: string
  7257. creatorsrc:
  7258. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7259. type: integer
  7260. enumdicname:
  7261. description: 单位名称
  7262. type: string
  7263. goodscode:
  7264. description: 合约代码
  7265. type: string
  7266. goodsgroupid:
  7267. description: 对冲品种ID[期货合约商品组ID]
  7268. type: integer
  7269. goodsid:
  7270. description: 商品ID
  7271. type: integer
  7272. goodsname:
  7273. description: 合约名称
  7274. type: string
  7275. hedgeflag:
  7276. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7277. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7278. type: integer
  7279. linkdetailid:
  7280. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7281. type: string
  7282. linkstatus:
  7283. description: 关联状态 - 1:成功 2:失败 3:解绑
  7284. type: integer
  7285. middlegoodscode:
  7286. description: 套保品种代码
  7287. type: string
  7288. middlegoodsid:
  7289. description: 套保品种ID
  7290. type: integer
  7291. middlegoodsname:
  7292. description: 套保品种名称
  7293. type: string
  7294. relatedlot:
  7295. description: 关联手数
  7296. type: number
  7297. relatedmode:
  7298. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7299. type: integer
  7300. relatedqty:
  7301. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7302. type: number
  7303. retcode:
  7304. description: 返回码
  7305. type: integer
  7306. saleuserid:
  7307. description: 业务员ID
  7308. type: string
  7309. spotcontractid:
  7310. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7311. type: string
  7312. taname:
  7313. description: 期货账户
  7314. type: string
  7315. tradedate:
  7316. description: 关联交易日(yyyyMMdd)
  7317. type: string
  7318. tradeid:
  7319. description: 期货订单号 | 内部成交单ID
  7320. type: string
  7321. tradelot:
  7322. description: 成交数量 | 成交手数
  7323. type: integer
  7324. tradeprice:
  7325. description: 成交价格
  7326. type: number
  7327. tradetime:
  7328. description: 期货成交时间
  7329. type: string
  7330. tradetradedate:
  7331. description: 成交交易日(yyyyMMdd)
  7332. type: string
  7333. username:
  7334. description: 用户名称
  7335. type: string
  7336. type: object
  7337. models.Ermcp3Wrstandard:
  7338. properties:
  7339. areauserid:
  7340. description: 所属机构
  7341. type: integer
  7342. cantrade:
  7343. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7344. type: integer
  7345. convertfactor:
  7346. description: 标仓系数
  7347. type: number
  7348. createtime:
  7349. description: 创建时间
  7350. type: string
  7351. creatorid:
  7352. description: 创建人
  7353. type: integer
  7354. deliverygoodsid:
  7355. description: 现货品种ID
  7356. type: integer
  7357. enumdicname:
  7358. description: 品类单位名称
  7359. type: string
  7360. isvalid:
  7361. description: 是否有效 0-无效(停用) 1-有效(正常)
  7362. type: integer
  7363. minivalue:
  7364. description: 最小变动值
  7365. type: integer
  7366. minivaluedp:
  7367. description: 最小变动值小数位
  7368. type: integer
  7369. realminivalue:
  7370. description: 实际最小变动值
  7371. type: integer
  7372. realminivaluedp:
  7373. description: 实际最小变动值小数位
  7374. type: integer
  7375. remark:
  7376. description: 备注
  7377. type: string
  7378. unitid:
  7379. description: 品类单位ID
  7380. type: integer
  7381. updatetime:
  7382. description: 更新时间
  7383. type: string
  7384. wrstandardcode:
  7385. description: 品类代码
  7386. type: string
  7387. wrstandardid:
  7388. description: 品类ID(SEQ_WRSTANDARD)
  7389. type: integer
  7390. wrstandardname:
  7391. description: 品类名称
  7392. type: string
  7393. type: object
  7394. models.ErmcpBizGroupEx:
  7395. properties:
  7396. acclist:
  7397. description: 账号列表
  7398. items:
  7399. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7400. type: array
  7401. bizgroupid:
  7402. description: 业务分组id
  7403. type: integer
  7404. biztype:
  7405. description: 业务类型 1-套保 2-套利
  7406. type: integer
  7407. wrlist:
  7408. description: 现货商品表
  7409. items:
  7410. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7411. type: array
  7412. type: object
  7413. models.ErmcpBizGroupSpotGoods:
  7414. properties:
  7415. areauserid:
  7416. description: 所属机构id
  7417. type: integer
  7418. bizgroupid:
  7419. description: 分组id
  7420. type: integer
  7421. biztype:
  7422. description: 业务类型 1-套保 2-套利
  7423. type: integer
  7424. deliverygoodscode:
  7425. description: 现货商品代码
  7426. type: string
  7427. deliverygoodsid:
  7428. description: 现货商品id
  7429. type: integer
  7430. deliverygoodsname:
  7431. description: 现货商品名称
  7432. type: string
  7433. unitid:
  7434. description: 现货商品单位id
  7435. type: integer
  7436. type: object
  7437. models.ErmcpBizGroupTaAccount:
  7438. properties:
  7439. accountid:
  7440. description: 账号id
  7441. type: integer
  7442. accountname:
  7443. description: 账号名称
  7444. type: string
  7445. areauserid:
  7446. description: 所属机构id
  7447. type: integer
  7448. bizgroupid:
  7449. description: 业务分组id
  7450. type: integer
  7451. ismain:
  7452. description: 是否主账号 1-是 0-否
  7453. type: integer
  7454. type: object
  7455. models.ErmcpDGFactoryItem:
  7456. properties:
  7457. areauserid:
  7458. description: 用户id
  7459. type: integer
  7460. deliverygoodsid:
  7461. description: 现货品种ID
  7462. type: integer
  7463. dgfactoryitemid:
  7464. description: 选择项ID(SEQ_DGFACTORYITEM)
  7465. type: integer
  7466. dgfactoryitemtypeid:
  7467. description: 要素项类型
  7468. type: integer
  7469. dgfactoryitemvalue:
  7470. description: 要素项值(类型为仓库时填写仓库名称)
  7471. type: string
  7472. isvalid:
  7473. description: 是否有效 - 0:无效 1:有效
  7474. type: integer
  7475. orderindex:
  7476. description: 顺序
  7477. type: integer
  7478. warehouseid:
  7479. description: 仓库ID(类型为仓库时填写)
  7480. type: integer
  7481. type: object
  7482. models.ErmcpDeliveryGoods:
  7483. properties:
  7484. agreeunit:
  7485. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7486. type: integer
  7487. areauserid:
  7488. description: 所属机构
  7489. type: integer
  7490. auditflag:
  7491. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7492. type: integer
  7493. categoryid:
  7494. description: 类别ID(SEQ_WRCATEGORY)
  7495. type: integer
  7496. deliverygoodscode:
  7497. description: 现货品种代码
  7498. type: string
  7499. deliverygoodsid:
  7500. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7501. type: integer
  7502. deliverygoodsname:
  7503. description: 现货品种名称
  7504. type: string
  7505. deliverygoodstype:
  7506. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7507. type: integer
  7508. dgstatus:
  7509. description: 品种状态 - 作废 - 0:未激活 1:正常
  7510. type: integer
  7511. enumdicname:
  7512. description: 现货品种单位名称
  7513. type: string
  7514. goodsunitid:
  7515. description: 现货品种单位ID
  7516. type: integer
  7517. isvalid:
  7518. description: 是否有效 - 0:无效 1:有效
  7519. type: integer
  7520. qtydecimalplace:
  7521. description: 成交量小数位
  7522. type: integer
  7523. remark:
  7524. description: 备注
  7525. type: string
  7526. standardqty:
  7527. description: 标准数量(库位数量) [标准品特有]
  7528. type: integer
  7529. standardqtyrange:
  7530. description: 标准数量偏差范围 [标准品特有]
  7531. type: integer
  7532. type: object
  7533. models.ErmcpFuturesCompany:
  7534. properties:
  7535. brokerid:
  7536. description: 经纪公司代码
  7537. type: string
  7538. channeladdress:
  7539. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7540. type: string
  7541. channelid:
  7542. description: 对冲渠道ID
  7543. type: string
  7544. createtime:
  7545. description: 创建时间
  7546. type: string
  7547. creatorid:
  7548. description: 创建人
  7549. type: string
  7550. fcid:
  7551. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7552. type: integer
  7553. fcname:
  7554. description: 期货公司名称
  7555. type: string
  7556. isvalid:
  7557. description: 是否有效 - 0:无效 1:有效
  7558. type: integer
  7559. mhpaddress:
  7560. description: MHP服务地址(IP:Port)
  7561. type: string
  7562. riskrulegroupid:
  7563. description: 风控规则组ID
  7564. type: string
  7565. tradefeetmpid:
  7566. description: 手续费模板ID[TradeConfigTmpType为2]
  7567. type: string
  7568. trademargintmpid:
  7569. description: 保证金模板ID [TradeConfigTmpType为1]
  7570. type: string
  7571. traderatetmpid:
  7572. description: 汇率模板ID[TradeConfigTmpType为3]
  7573. type: string
  7574. updatetime:
  7575. description: 更新时间
  7576. type: string
  7577. updatorid:
  7578. description: 更新人
  7579. type: string
  7580. type: object
  7581. models.ErmcpGGConvertCfg:
  7582. properties:
  7583. convertratio:
  7584. description: 折算系数
  7585. type: number
  7586. destgoodsgroupid:
  7587. description: 目标品种ID
  7588. type: integer
  7589. dstcode:
  7590. description: 目录品种代码
  7591. type: string
  7592. dstexchangecode:
  7593. description: 目标期货交易所
  7594. type: string
  7595. dstname:
  7596. description: 目标品种名称
  7597. type: string
  7598. dstunitid:
  7599. description: 目标品种单位ID
  7600. type: integer
  7601. dstunitidname:
  7602. description: 目标品种单位名称
  7603. type: string
  7604. modifytime:
  7605. description: 修改时间
  7606. type: string
  7607. srccode:
  7608. description: 源品种代码
  7609. type: string
  7610. srcexchangecode:
  7611. description: 源期货交易所
  7612. type: string
  7613. srcgoodsgroupid:
  7614. description: 源品种ID
  7615. type: integer
  7616. srcname:
  7617. description: 源品种名称
  7618. type: string
  7619. srcunitid:
  7620. description: 源品种单位ID
  7621. type: integer
  7622. srcunitidname:
  7623. description: 源品种单位名称
  7624. type: string
  7625. type: object
  7626. models.ErmcpGoods:
  7627. properties:
  7628. agreeunit:
  7629. description: 合约单位
  7630. type: number
  7631. areauserid:
  7632. description: 所属机构
  7633. type: integer
  7634. auditaccountid:
  7635. description: 审核操作员账号
  7636. type: integer
  7637. audittime:
  7638. description: 审核时间
  7639. type: string
  7640. cancelaccountid:
  7641. description: 注销操作员账号
  7642. type: integer
  7643. canceltime:
  7644. description: 注销时间
  7645. type: string
  7646. closepricemode:
  7647. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7648. type: integer
  7649. closepriceparam:
  7650. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7651. type: number
  7652. createtime:
  7653. description: 创建时间
  7654. type: string
  7655. creatorid:
  7656. description: 创建人
  7657. type: integer
  7658. currencyid:
  7659. description: 报价货币ID
  7660. type: integer
  7661. cutmode:
  7662. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7663. type: integer
  7664. decimalplace:
  7665. description: 报价小数位
  7666. type: integer
  7667. delistingdate:
  7668. description: 商品退市时间(状态:退市) -- 已作废
  7669. type: string
  7670. delistingmode:
  7671. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7672. type: integer
  7673. deliveryflag:
  7674. description: 交割标志 - 0:不可交割 1:可交割
  7675. type: integer
  7676. enumdicname:
  7677. description: 单位名称
  7678. type: string
  7679. forceclosemode:
  7680. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7681. type: integer
  7682. forceclosevalue:
  7683. description: 定期强平参数 [收益权]
  7684. type: integer
  7685. goodscode:
  7686. description: 商品代码(内部)
  7687. type: string
  7688. goodscurrencyid:
  7689. description: 合约货币ID
  7690. type: integer
  7691. goodsgroupid:
  7692. description: 所属商品组ID
  7693. type: integer
  7694. goodsid:
  7695. description: 商品ID(自增ID SEQ_GOODS)
  7696. type: integer
  7697. goodsname:
  7698. description: 商品名称
  7699. type: string
  7700. goodsquotetype:
  7701. description: '合约报价类型: 1-直接报价 2-间接报价'
  7702. type: integer
  7703. goodsstatus:
  7704. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7705. type: integer
  7706. goodstradetype:
  7707. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7708. type: integer
  7709. goodunitid:
  7710. description: 报价单位ID
  7711. type: integer
  7712. hasquoter:
  7713. description: 是否有报价商 - 0:无报价商 1:有报价商
  7714. type: integer
  7715. hqprotecttime:
  7716. description: 行情保护时间(秒)
  7717. type: integer
  7718. innerdealmode:
  7719. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7720. type: integer
  7721. isbuylimited:
  7722. description: 是否限制建仓量 - 0:不限制 1:限制
  7723. type: integer
  7724. isvisible:
  7725. description: 游客是否可见 - 0:不可见 1:可见
  7726. type: integer
  7727. lasttradedate:
  7728. description: 最后交易日期(状态:待退市)
  7729. type: string
  7730. listingdate:
  7731. description: 交易开始日期
  7732. type: string
  7733. marketid:
  7734. description: 所属市场ID
  7735. type: integer
  7736. modifierid:
  7737. description: 修改人
  7738. type: integer
  7739. modifystatus:
  7740. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7741. type: integer
  7742. modifytime:
  7743. description: 修改时间
  7744. type: string
  7745. outerdealmode:
  7746. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7747. type: integer
  7748. outgoodscode:
  7749. description: 商品代码(外部)
  7750. type: string
  7751. pictureurl:
  7752. description: 商品图片
  7753. type: string
  7754. qtydecimalplace:
  7755. description: 成交量小数位
  7756. type: integer
  7757. quotegear:
  7758. description: 行情档位(1-10)
  7759. type: integer
  7760. quoteminunit:
  7761. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7762. type: integer
  7763. quoteshowtype:
  7764. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7765. type: integer
  7766. quoteshowtypeinterval:
  7767. description: 行情报价间隔时间(秒)(成交价时为0)
  7768. type: integer
  7769. relatedgoodsid:
  7770. description: 关联参考商品ID
  7771. type: integer
  7772. remark:
  7773. description: 备注
  7774. type: string
  7775. trademode:
  7776. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7777. 21:竞拍-大宗式 22:受托竞价
  7778. type: integer
  7779. required:
  7780. - goodscode
  7781. - goodsid
  7782. - goodsname
  7783. - marketid
  7784. type: object
  7785. models.ErmcpGoodsBrand:
  7786. properties:
  7787. areauserid:
  7788. description: 所属机构
  7789. type: integer
  7790. brandid:
  7791. description: BrandID(SEQ_SPOTGOODSBRAND)
  7792. type: integer
  7793. brandname:
  7794. description: 品牌名称
  7795. type: string
  7796. createtime:
  7797. description: 创建时间
  7798. type: string
  7799. creatorid:
  7800. description: 创建人
  7801. type: integer
  7802. creatorsrc:
  7803. description: 创建人来源 - 1:管理端 2:终端
  7804. type: integer
  7805. deliverygoodsid:
  7806. description: 现货品种ID
  7807. type: integer
  7808. isvalid:
  7809. description: 是否有效 - 0:无效 1:有效
  7810. type: integer
  7811. updatetime:
  7812. description: 更新时间
  7813. type: string
  7814. updatorid:
  7815. description: 更新人
  7816. type: integer
  7817. updatorsrc:
  7818. description: 更新人来源 - 1:管理端 2:终端
  7819. type: integer
  7820. wrstandardid:
  7821. description: 现货商品ID
  7822. type: integer
  7823. type: object
  7824. models.ErmcpGoodsModel:
  7825. properties:
  7826. areauserid:
  7827. description: 所属机构
  7828. type: integer
  7829. convertfactor:
  7830. description: 标仓系数
  7831. type: number
  7832. createtime:
  7833. description: 创建时间
  7834. type: string
  7835. creatorid:
  7836. description: 创建人
  7837. type: integer
  7838. creatorsrc:
  7839. description: 创建人来源 - 1:管理端 2:终端
  7840. type: integer
  7841. deliverygoodsid:
  7842. description: 现货品种ID
  7843. type: integer
  7844. isvalid:
  7845. description: 是否有效 - 0:无效 1:有效
  7846. type: integer
  7847. modelid:
  7848. description: ModelID(SEQ_SPOTGOODSMODEL)
  7849. type: integer
  7850. modelname:
  7851. description: 型号名称
  7852. type: string
  7853. updatetime:
  7854. description: 更新时间
  7855. type: string
  7856. updatorid:
  7857. description: 更新人
  7858. type: integer
  7859. updatorsrc:
  7860. description: 更新人来源 - 1:管理端 2:终端
  7861. type: integer
  7862. wrstandardid:
  7863. description: 现货商品ID
  7864. type: integer
  7865. type: object
  7866. models.ErmcpHisExposure:
  7867. properties:
  7868. needhedgeexposoure:
  7869. description: 应套保敞口
  7870. type: number
  7871. reckondate:
  7872. description: 日照时期(yyyyMMdd)
  7873. type: string
  7874. totalexposure:
  7875. description: 总敞口
  7876. type: number
  7877. type: object
  7878. models.ErmcpLoginTaAccount:
  7879. properties:
  7880. accountid:
  7881. description: 账号id
  7882. type: integer
  7883. accountname:
  7884. description: 账号名称
  7885. type: string
  7886. type: object
  7887. models.ErmcpLoginUser:
  7888. properties:
  7889. acclist:
  7890. description: 关联资金账号
  7891. items:
  7892. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7893. type: array
  7894. accountname:
  7895. description: 用户名称
  7896. type: string
  7897. clientroleid:
  7898. description: 角色id(usertype=2)
  7899. type: integer
  7900. createtime:
  7901. description: 创建时间
  7902. type: string
  7903. logincode:
  7904. description: 登录代码
  7905. type: string
  7906. loginid:
  7907. description: 登录id(LOGINID)
  7908. type: integer
  7909. loginname:
  7910. description: 登录名称(loginaccount表中的accountname字段)
  7911. type: string
  7912. loginstatus:
  7913. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7914. type: integer
  7915. memberuserid:
  7916. description: 所属会员id
  7917. type: integer
  7918. mobile:
  7919. description: 手机号
  7920. type: string
  7921. modifytime:
  7922. description: 修改时间
  7923. type: string
  7924. password:
  7925. description: 密码(不可解密)
  7926. type: string
  7927. rolename:
  7928. description: 角色名称
  7929. type: string
  7930. rolestatus:
  7931. description: 角色状态 1-启用 2-停用
  7932. type: integer
  7933. roletype:
  7934. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7935. type: string
  7936. userid:
  7937. description: 用户id
  7938. type: integer
  7939. usertype:
  7940. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7941. type: integer
  7942. type: object
  7943. models.ErmcpLoginUserEx:
  7944. properties:
  7945. accountstatus:
  7946. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7947. type: integer
  7948. mobile:
  7949. description: 手机号
  7950. type: string
  7951. querytype:
  7952. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7953. type: integer
  7954. roleid:
  7955. description: 角色id(交易账户->用户id)
  7956. type: integer
  7957. rolename:
  7958. description: 角色名称(交易账户->用户名称)
  7959. type: string
  7960. userlist:
  7961. description: 用户列表
  7962. items:
  7963. $ref: '#/definitions/models.ErmcpLoginUser'
  7964. type: array
  7965. usertype:
  7966. description: 用户类型 2-机构 7-企业成员(云平台)
  7967. type: integer
  7968. type: object
  7969. models.ErmcpMiddleGoodsModel:
  7970. properties:
  7971. areauserid:
  7972. description: 机构用户ID
  7973. type: integer
  7974. createtime:
  7975. description: 修改时间
  7976. type: string
  7977. enumdicname:
  7978. description: 单位名称
  7979. type: string
  7980. evaluateratio:
  7981. description: 估价系数
  7982. type: number
  7983. goodsgroupid:
  7984. description: 关联期货品种ID
  7985. type: integer
  7986. goodsunitid:
  7987. description: 单位ID
  7988. type: integer
  7989. isvalid:
  7990. description: 状态 0-无效(停用) 1-有效(正常)
  7991. type: integer
  7992. middlegoodscode:
  7993. description: 套保品种代码
  7994. type: string
  7995. middlegoodsid:
  7996. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7997. type: integer
  7998. middlegoodsname:
  7999. description: 套保品种名称
  8000. type: string
  8001. modifytime:
  8002. description: 修改时间
  8003. type: string
  8004. needarbitrageratio:
  8005. description: 套利比例
  8006. type: number
  8007. needhedgeratio:
  8008. description: 套保比率
  8009. type: number
  8010. qtydecimalplace:
  8011. description: 数量小数位
  8012. type: integer
  8013. relatedgoodsid:
  8014. description: 关联交易商品ID
  8015. type: integer
  8016. relatedgoodstype:
  8017. description: 关联商品类型 - 1:期货合约 2:现货品种
  8018. type: integer
  8019. remark:
  8020. description: 备注
  8021. type: string
  8022. type: object
  8023. models.ErmcpMiddlegoodsRelateGoods:
  8024. properties:
  8025. agreeunit:
  8026. description: 合约乘数
  8027. type: number
  8028. convertratio:
  8029. description: 折算系数
  8030. type: number
  8031. enumdicname:
  8032. description: 单位名称(交易商品)
  8033. type: string
  8034. goodscode:
  8035. description: 交易商品代码
  8036. type: string
  8037. goodsgroupid:
  8038. description: 交易品种id
  8039. type: integer
  8040. goodsid:
  8041. description: 商品Id
  8042. type: integer
  8043. goodsname:
  8044. description: 交易商品名称
  8045. type: string
  8046. goodunitid:
  8047. description: 交易商品单位id
  8048. type: integer
  8049. middlegoodsid:
  8050. description: 套保商品id
  8051. type: integer
  8052. middlegoodsname:
  8053. description: 套保商品名称
  8054. type: string
  8055. middlegoodsswcode:
  8056. description: 套保商品代码
  8057. type: string
  8058. needarbitrageratio:
  8059. description: 应套利比例
  8060. type: number
  8061. needhedgeratio:
  8062. description: 应套保比例
  8063. type: number
  8064. type: object
  8065. models.ErmcpRole:
  8066. properties:
  8067. areauserid:
  8068. description: 所属机构
  8069. type: integer
  8070. autoid:
  8071. description: 角色ID(自增ID)
  8072. type: integer
  8073. modifierid:
  8074. description: 修改人(创建人)
  8075. type: integer
  8076. modifiername:
  8077. description: 修改人名称
  8078. type: string
  8079. modifytime:
  8080. description: 修改时间(创建时间)
  8081. type: string
  8082. rolename:
  8083. description: 角色名称
  8084. type: string
  8085. rolestatus:
  8086. description: 角色状态 - 1:启用 2:停用
  8087. type: integer
  8088. roletype:
  8089. description: 角色类型 - 1- 管理端 2- 交易端
  8090. type: integer
  8091. type: object
  8092. models.ErmcpRoleMenu:
  8093. properties:
  8094. iconame:
  8095. description: 菜单图标
  8096. type: string
  8097. ishadrole:
  8098. description: 是否有权限
  8099. type: boolean
  8100. menutype:
  8101. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8102. type: integer
  8103. parentcode:
  8104. description: 上级资源代码
  8105. type: string
  8106. remark:
  8107. description: 菜单备注
  8108. type: string
  8109. resourcecode:
  8110. description: 菜单代码
  8111. type: string
  8112. resourcelevel:
  8113. description: 级别
  8114. type: integer
  8115. resourcename:
  8116. description: 菜单名称
  8117. type: string
  8118. roleid:
  8119. description: 角色id
  8120. type: integer
  8121. sort:
  8122. description: 排序
  8123. type: integer
  8124. url:
  8125. description: URL
  8126. type: string
  8127. userid:
  8128. description: 用户id
  8129. type: integer
  8130. type: object
  8131. models.ErmcpRoleMenuEx:
  8132. properties:
  8133. menu:
  8134. $ref: '#/definitions/models.ErmcpRoleMenu'
  8135. description: 父级菜单
  8136. subMenu:
  8137. description: 子级菜单
  8138. items:
  8139. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8140. type: array
  8141. type: object
  8142. models.ErmcpTaAccount:
  8143. properties:
  8144. accountid:
  8145. description: 账户id
  8146. type: integer
  8147. accountname:
  8148. description: 账户名称
  8149. type: string
  8150. currencyid:
  8151. description: 币种id
  8152. type: integer
  8153. hedgeaccountcode:
  8154. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8155. type: string
  8156. ismain:
  8157. description: 是否主账户 0-否 1-是
  8158. type: integer
  8159. parentaccountid:
  8160. description: 父账户id
  8161. type: integer
  8162. relateduserid:
  8163. description: 关联userid
  8164. type: integer
  8165. tradefeetmpid:
  8166. description: 手续费模板id
  8167. type: integer
  8168. tradefeetmpname:
  8169. description: 手续费模板名称
  8170. type: string
  8171. trademargintmpid:
  8172. description: 保证金模板id
  8173. type: integer
  8174. trademargintmpname:
  8175. description: 保证金模板名称
  8176. type: string
  8177. traderatetmpid:
  8178. description: 汇率模板id
  8179. type: integer
  8180. traderatetmpname:
  8181. description: 汇率模板名称
  8182. type: string
  8183. tradestatus:
  8184. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8185. type: integer
  8186. userid:
  8187. description: 用户id
  8188. type: integer
  8189. type: object
  8190. models.ErmcpTaAccountEx:
  8191. properties:
  8192. mainAcc:
  8193. $ref: '#/definitions/models.ErmcpTaAccountM'
  8194. description: 主账号
  8195. subacclist:
  8196. description: 子账号列表
  8197. items:
  8198. $ref: '#/definitions/models.ErmcpTaAccount'
  8199. type: array
  8200. type: object
  8201. models.ErmcpTaAccountInfo:
  8202. properties:
  8203. accountid:
  8204. description: 资金账户ID
  8205. type: integer
  8206. accountname:
  8207. description: 账户名称
  8208. type: string
  8209. balance:
  8210. description: 期初余额
  8211. type: number
  8212. capitalbalance:
  8213. description: 本金余额[外部子账户实际出入金余额]
  8214. type: number
  8215. closepl:
  8216. description: 今日平仓盈亏
  8217. type: number
  8218. creditdecrease:
  8219. description: 今日授信减少
  8220. type: number
  8221. creditincrease:
  8222. description: 今日授信增加
  8223. type: number
  8224. curdebt:
  8225. description: 期末欠款
  8226. type: number
  8227. currencyid:
  8228. description: 货币ID
  8229. type: integer
  8230. currentbalance:
  8231. description: 期末余额
  8232. type: number
  8233. freezecharge:
  8234. description: 手续费冻结
  8235. type: number
  8236. freezemargin:
  8237. description: 冻结保证金
  8238. type: number
  8239. fromaccountid:
  8240. description: 所属上级账户
  8241. type: integer
  8242. inamount:
  8243. description: 今日入金金额(包括三方入金)
  8244. type: number
  8245. ismain:
  8246. description: 是否母账号 0:不是母账户 1:是母账户
  8247. type: integer
  8248. mortgagecredit:
  8249. description: 授信金额
  8250. type: number
  8251. oridebt:
  8252. description: 期初欠款
  8253. type: number
  8254. orifreezecharge:
  8255. description: 期初手续费冻结
  8256. type: number
  8257. orifreezemargin:
  8258. description: 期初冻结保证金
  8259. type: number
  8260. orimortgagecredit:
  8261. description: 期初授信金额
  8262. type: number
  8263. oriothercredit:
  8264. description: 期初其它授信金额
  8265. type: number
  8266. oriotherfreezemargin:
  8267. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8268. type: number
  8269. orioutamountfreeze:
  8270. description: 期初出金冻结
  8271. type: number
  8272. oriusedmargin:
  8273. description: 期初占用保证金
  8274. type: number
  8275. othercredit:
  8276. description: 其它授信金额
  8277. type: number
  8278. othercreditdecrease:
  8279. description: 今日其它授信减少
  8280. type: number
  8281. othercreditincrease:
  8282. description: 今日其它授信增加
  8283. type: number
  8284. otherfreezemargin:
  8285. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8286. type: number
  8287. outamount:
  8288. description: 今日出金金额(包括三方出金)
  8289. type: number
  8290. outamountfreeze:
  8291. description: 出金冻结
  8292. type: number
  8293. outthreshold:
  8294. description: 出金阈值
  8295. type: number
  8296. parentaccountid:
  8297. description: 所属根账号
  8298. type: integer
  8299. paycharge:
  8300. description: 今日手续费支出
  8301. type: number
  8302. relateduserid:
  8303. description: 关联用户
  8304. type: integer
  8305. signstatus:
  8306. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8307. type: integer
  8308. sublevelpath:
  8309. description: 账号层级路径(逗号分隔,首尾加逗号)
  8310. type: string
  8311. taaccounttype:
  8312. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8313. type: integer
  8314. thirdinamount:
  8315. description: 今日三方入金
  8316. type: number
  8317. thirdoutamount:
  8318. description: 今日三方出金
  8319. type: number
  8320. tradestatus:
  8321. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8322. type: integer
  8323. transferamount:
  8324. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8325. type: number
  8326. usedmargin:
  8327. description: 占用保证金
  8328. type: number
  8329. userid:
  8330. description: 用户ID
  8331. type: integer
  8332. type: object
  8333. models.ErmcpTaAccountM:
  8334. properties:
  8335. accountid:
  8336. description: 账户id
  8337. type: integer
  8338. accountname:
  8339. description: 账户名称
  8340. type: string
  8341. currencyid:
  8342. description: 币种id
  8343. type: integer
  8344. fcid:
  8345. description: 期货公司id
  8346. type: integer
  8347. fcname:
  8348. description: 期货公司代码
  8349. type: string
  8350. hedgeaccountcode:
  8351. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8352. type: string
  8353. ismain:
  8354. description: 是否主账户 0-否 1-是
  8355. type: integer
  8356. parentaccountid:
  8357. description: 父账户id
  8358. type: integer
  8359. relateduserid:
  8360. description: 关联userid
  8361. type: integer
  8362. tradefeetmpid:
  8363. description: 手续费模板id
  8364. type: integer
  8365. tradefeetmpname:
  8366. description: 手续费模板名称
  8367. type: string
  8368. trademargintmpid:
  8369. description: 保证金模板id
  8370. type: integer
  8371. trademargintmpname:
  8372. description: 保证金模板名称
  8373. type: string
  8374. traderatetmpid:
  8375. description: 汇率模板id
  8376. type: integer
  8377. traderatetmpname:
  8378. description: 汇率模板名称
  8379. type: string
  8380. tradestatus:
  8381. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8382. type: integer
  8383. userid:
  8384. description: 用户id
  8385. type: integer
  8386. type: object
  8387. models.ErmcpTradeConfigTMP:
  8388. properties:
  8389. areauserid:
  8390. description: 所属机构
  8391. type: integer
  8392. basiccurrencyid:
  8393. description: 基本币种ID[汇率] - 目标币种
  8394. type: integer
  8395. mainaccountid:
  8396. description: 主账户ID
  8397. type: integer
  8398. modifierid:
  8399. description: 修改人
  8400. type: integer
  8401. remark:
  8402. description: 备注
  8403. type: string
  8404. tradeconfigtmpid:
  8405. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8406. type: integer
  8407. tradeconfigtmpname:
  8408. description: 交易配置模板名称
  8409. type: string
  8410. tradeconfigtmptype:
  8411. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8412. type: integer
  8413. updatetime:
  8414. description: 更新时间
  8415. type: string
  8416. type: object
  8417. models.Externalexchange:
  8418. properties:
  8419. autoid:
  8420. description: AutoID - SEQ_EXTERNALEXCHANGE
  8421. type: integer
  8422. exchangefullname:
  8423. description: 外部交易所全称
  8424. type: string
  8425. exexchangecode:
  8426. description: 外部交易所代码
  8427. type: string
  8428. exexchangename:
  8429. description: 外部交易所名称(简称)
  8430. type: string
  8431. ismarketprice:
  8432. description: 是否支持市价 - 0:不支持 1:支持
  8433. type: integer
  8434. quotegear:
  8435. description: 行情档位(1-10)
  8436. type: integer
  8437. showbrokerflag:
  8438. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8439. type: integer
  8440. updatetime:
  8441. description: 更新时间
  8442. type: string
  8443. required:
  8444. - autoid
  8445. type: object
  8446. models.Funcmenulist:
  8447. properties:
  8448. iconame:
  8449. description: 菜单图标
  8450. type: string
  8451. menutype:
  8452. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8453. type: integer
  8454. parentcode:
  8455. description: 上级资源代码
  8456. type: string
  8457. remark:
  8458. description: 备注
  8459. type: string
  8460. resourcecode:
  8461. description: 资源代码
  8462. type: string
  8463. resourcelevel:
  8464. description: 级别 1-一级 2-二级 3-三级 4-四级
  8465. type: integer
  8466. resourcename:
  8467. description: 资源名
  8468. type: string
  8469. sort:
  8470. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8471. type: integer
  8472. url:
  8473. description: URL
  8474. type: string
  8475. required:
  8476. - resourcecode
  8477. type: object
  8478. models.Goods:
  8479. properties:
  8480. agreeunit:
  8481. description: 合约单位
  8482. type: number
  8483. areauserid:
  8484. description: 所属机构
  8485. type: integer
  8486. auditaccountid:
  8487. description: 审核操作员账号
  8488. type: integer
  8489. audittime:
  8490. description: 审核时间
  8491. type: string
  8492. cancelaccountid:
  8493. description: 注销操作员账号
  8494. type: integer
  8495. canceltime:
  8496. description: 注销时间
  8497. type: string
  8498. closepricemode:
  8499. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8500. type: integer
  8501. closepriceparam:
  8502. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8503. type: number
  8504. createtime:
  8505. description: 创建时间
  8506. type: string
  8507. creatorid:
  8508. description: 创建人
  8509. type: integer
  8510. currencyid:
  8511. description: 报价货币ID
  8512. type: integer
  8513. cutmode:
  8514. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8515. type: integer
  8516. decimalplace:
  8517. description: 报价小数位
  8518. type: integer
  8519. delistingdate:
  8520. description: 商品退市时间(状态:退市) -- 已作废
  8521. type: string
  8522. delistingmode:
  8523. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8524. type: integer
  8525. deliveryflag:
  8526. description: 交割标志 - 0:不可交割 1:可交割
  8527. type: integer
  8528. forceclosemode:
  8529. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8530. type: integer
  8531. forceclosevalue:
  8532. description: 定期强平参数 [收益权]
  8533. type: integer
  8534. goodscode:
  8535. description: 商品代码(内部)
  8536. type: string
  8537. goodscurrencyid:
  8538. description: 合约货币ID
  8539. type: integer
  8540. goodsgroupid:
  8541. description: 所属商品组ID
  8542. type: integer
  8543. goodsid:
  8544. description: 商品ID(自增ID SEQ_GOODS)
  8545. type: integer
  8546. goodsname:
  8547. description: 商品名称
  8548. type: string
  8549. goodsquotetype:
  8550. description: '合约报价类型: 1-直接报价 2-间接报价'
  8551. type: integer
  8552. goodsstatus:
  8553. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8554. type: integer
  8555. goodstradetype:
  8556. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8557. type: integer
  8558. goodunitid:
  8559. description: 报价单位ID
  8560. type: integer
  8561. hasquoter:
  8562. description: 是否有报价商 - 0:无报价商 1:有报价商
  8563. type: integer
  8564. hqprotecttime:
  8565. description: 行情保护时间(秒)
  8566. type: integer
  8567. innerdealmode:
  8568. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8569. type: integer
  8570. isbuylimited:
  8571. description: 是否限制建仓量 - 0:不限制 1:限制
  8572. type: integer
  8573. isvisible:
  8574. description: 游客是否可见 - 0:不可见 1:可见
  8575. type: integer
  8576. lasttradedate:
  8577. description: 最后交易日期(状态:待退市)
  8578. type: string
  8579. listingdate:
  8580. description: 交易开始日期
  8581. type: string
  8582. marketid:
  8583. description: 所属市场ID
  8584. type: integer
  8585. modifierid:
  8586. description: 修改人
  8587. type: integer
  8588. modifystatus:
  8589. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8590. type: integer
  8591. modifytime:
  8592. description: 修改时间
  8593. type: string
  8594. outerdealmode:
  8595. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8596. type: integer
  8597. outgoodscode:
  8598. description: 商品代码(外部)
  8599. type: string
  8600. pictureurl:
  8601. description: 商品图片
  8602. type: string
  8603. qtydecimalplace:
  8604. description: 成交量小数位
  8605. type: integer
  8606. quotegear:
  8607. description: 行情档位(1-10)
  8608. type: integer
  8609. quoteminunit:
  8610. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8611. type: integer
  8612. quoteshowtype:
  8613. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8614. type: integer
  8615. quoteshowtypeinterval:
  8616. description: 行情报价间隔时间(秒)(成交价时为0)
  8617. type: integer
  8618. remark:
  8619. description: 备注
  8620. type: string
  8621. required:
  8622. - goodscode
  8623. - goodsid
  8624. - goodsname
  8625. - marketid
  8626. type: object
  8627. models.GoodsIDAndName:
  8628. properties:
  8629. goodscode:
  8630. description: 商品代码(内部)
  8631. type: string
  8632. goodsid:
  8633. description: 商品ID(自增ID SEQ_GOODS)
  8634. type: integer
  8635. goodsname:
  8636. description: 商品名称
  8637. type: string
  8638. marketid:
  8639. description: 所属市场ID
  8640. type: integer
  8641. required:
  8642. - goodscode
  8643. - goodsid
  8644. - goodsname
  8645. - marketid
  8646. type: object
  8647. models.Goodsgroup:
  8648. properties:
  8649. agreeunit:
  8650. description: 合约单位
  8651. type: number
  8652. canshort:
  8653. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8654. type: integer
  8655. closepricemode:
  8656. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8657. type: integer
  8658. closepriceparam:
  8659. description: 强平最新价浮动比例 - 方式为2时使用
  8660. type: number
  8661. createtime:
  8662. description: 创建时间
  8663. type: string
  8664. creatorid:
  8665. description: 创建人
  8666. type: integer
  8667. currencyid:
  8668. description: 报价货币ID
  8669. type: integer
  8670. decimalplace:
  8671. description: 报价小数位
  8672. type: integer
  8673. exercisetype:
  8674. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8675. type: integer
  8676. exexchangeid:
  8677. description: 外部交易所ID[通道交易]
  8678. type: integer
  8679. goodsgroupid:
  8680. description: 商品组ID(自增ID)
  8681. type: integer
  8682. goodsgroupname:
  8683. description: 商品组名称
  8684. type: string
  8685. goodsgroupstatus:
  8686. description: 商品组状态 - 1:正常 2:注销
  8687. type: integer
  8688. goodunitid:
  8689. description: 报价单位ID
  8690. type: integer
  8691. innerdealmode:
  8692. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8693. type: integer
  8694. isbuylimited:
  8695. description: 是否限制建仓量 - 0:不限制 1:限制
  8696. type: integer
  8697. marketid:
  8698. description: 所属市场ID
  8699. type: integer
  8700. modifierid:
  8701. description: 修改人
  8702. type: integer
  8703. modifytime:
  8704. description: 修改时间
  8705. type: string
  8706. outerdealmode:
  8707. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8708. type: integer
  8709. outergroupcode:
  8710. description: 外部商品组代码[通道交易]
  8711. type: string
  8712. premiumdecimalplace:
  8713. description: 权利金小数位[场外期权]
  8714. type: integer
  8715. premiumspreadalgorithm:
  8716. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8717. type: integer
  8718. premiumspreadvalue:
  8719. description: 权利金点差值[场外期权]
  8720. type: number
  8721. qtydecimalplace:
  8722. description: 成交量小数位
  8723. type: integer
  8724. quotegear:
  8725. description: 行情档位(1-10)
  8726. type: integer
  8727. quoteminunit:
  8728. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8729. type: integer
  8730. quoterid:
  8731. description: 报价商ID[场外期权]
  8732. type: integer
  8733. quotesourcegroupid:
  8734. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8735. type: integer
  8736. syncgoodsqty:
  8737. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8738. type: integer
  8739. required:
  8740. - goodsgroupid
  8741. - goodsgroupname
  8742. - goodsgroupstatus
  8743. - marketid
  8744. type: object
  8745. models.Goodssortbypreposition:
  8746. properties:
  8747. goodscode:
  8748. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8749. type: string
  8750. goodsgroupcode:
  8751. description: 品种代码
  8752. type: string
  8753. prepositionqty:
  8754. description: 昨持仓量
  8755. type: integer
  8756. sortindex:
  8757. description: 排序
  8758. type: integer
  8759. tradedate:
  8760. description: 交易日
  8761. type: string
  8762. updatetime:
  8763. description: 更新时间
  8764. type: string
  8765. required:
  8766. - goodscode
  8767. - tradedate
  8768. type: object
  8769. models.Hedgeinnerholderdetail:
  8770. properties:
  8771. accountid:
  8772. description: 账号ID
  8773. type: integer
  8774. buyorsell:
  8775. description: 方向 - 0:买 1:卖
  8776. type: integer
  8777. freezeqty:
  8778. description: 冻结数量 - 按单平使用
  8779. type: integer
  8780. goodsid:
  8781. description: 商品ID
  8782. type: integer
  8783. holderamount:
  8784. description: 持仓金额 [商品币种]
  8785. type: number
  8786. holderdays:
  8787. description: 剩余冻结天数
  8788. type: integer
  8789. holderprice:
  8790. description: 持仓价格
  8791. type: number
  8792. holderqty:
  8793. description: 持仓数量
  8794. type: integer
  8795. marketid:
  8796. description: 市场ID
  8797. type: integer
  8798. openprice:
  8799. description: 建仓价格
  8800. type: number
  8801. openqty:
  8802. description: 建仓数量
  8803. type: integer
  8804. parentaccountid:
  8805. description: 所属母账户
  8806. type: integer
  8807. releaseamount:
  8808. description: 释放持仓金额[商品币种]
  8809. type: number
  8810. tradeamount:
  8811. description: 成交金额[账户]
  8812. type: number
  8813. tradedate:
  8814. description: 交易日(yyyyMMdd)
  8815. type: string
  8816. tradeid:
  8817. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8818. type: string
  8819. tradetime:
  8820. description: 交易时间
  8821. type: string
  8822. required:
  8823. - buyorsell
  8824. - tradeid
  8825. type: object
  8826. models.Hedgemarketopenlog:
  8827. properties:
  8828. accountid:
  8829. description: 资金账号[外部母账户]
  8830. type: integer
  8831. fcname:
  8832. description: 期货公司名称
  8833. type: string
  8834. handlestatus:
  8835. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8836. type: integer
  8837. marketid:
  8838. description: 市场ID
  8839. type: integer
  8840. status:
  8841. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8842. type: integer
  8843. tradedate:
  8844. description: 交易日(yyyyMMdd)
  8845. type: string
  8846. updatetime:
  8847. description: 更新时间
  8848. type: string
  8849. required:
  8850. - accountid
  8851. type: object
  8852. models.HsbyBuyMyPayOrder:
  8853. properties:
  8854. agreeunit:
  8855. description: 合约单位
  8856. type: number
  8857. buyaccountid:
  8858. description: 买方账号ID[报价币种]
  8859. type: integer
  8860. buyorderid:
  8861. description: 买方委托单号
  8862. type: string
  8863. createtime:
  8864. description: 创建时间
  8865. type: string
  8866. currencysign:
  8867. description: 货币符号
  8868. type: string
  8869. decimalplace:
  8870. description: 报价小数位
  8871. type: integer
  8872. goodscode:
  8873. description: 商品代码(内部)
  8874. type: string
  8875. goodsid:
  8876. description: 商品ID
  8877. type: integer
  8878. goodsname:
  8879. description: 商品名称
  8880. type: string
  8881. marketid:
  8882. description: 市场ID
  8883. type: integer
  8884. offamount:
  8885. description: 优惠金额
  8886. type: number
  8887. originalamount:
  8888. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8889. type: number
  8890. payamount:
  8891. description: 支付金额 = TradeAmount + TradeCharge
  8892. type: number
  8893. payflag:
  8894. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8895. type: integer
  8896. paylimitedtime:
  8897. description: 支付期限
  8898. type: string
  8899. paytime:
  8900. description: 付款时间
  8901. type: string
  8902. picurls1:
  8903. description: 预售商品介绍图片[多张用逗号分隔]
  8904. type: string
  8905. picurls2:
  8906. description: 挂牌商品介绍图片[多张用逗号分隔]
  8907. type: string
  8908. sellaccountid:
  8909. description: 卖方账号ID[报价币种]
  8910. type: integer
  8911. sellorderid:
  8912. description: 卖方委托单号
  8913. type: string
  8914. tradeamount:
  8915. description: 成交金额
  8916. type: number
  8917. tradecharge:
  8918. description: 成交手续费(买方)
  8919. type: number
  8920. tradedate:
  8921. description: 交易日(yyyyMMdd)
  8922. type: string
  8923. tradeid:
  8924. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8925. type: string
  8926. trademode:
  8927. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8928. 21:竞拍-大宗式 22:受托竞价
  8929. type: integer
  8930. tradeprice:
  8931. description: 成交价格
  8932. type: number
  8933. tradeqty:
  8934. description: 成交数量
  8935. type: integer
  8936. vendorname1:
  8937. description: 预售商品供应商名称
  8938. type: string
  8939. vendorname2:
  8940. description: 挂牌商品供应商名称
  8941. type: string
  8942. required:
  8943. - goodscode
  8944. - goodsname
  8945. - tradeid
  8946. - trademode
  8947. type: object
  8948. models.HsbyBuyMyTradeDetail:
  8949. properties:
  8950. accountid:
  8951. description: 账户ID[报价币种]
  8952. type: integer
  8953. agreeunit:
  8954. description: 合约单位
  8955. type: number
  8956. amount:
  8957. description: 金额 = 价格 * 数量 * 合约单位
  8958. type: number
  8959. buyorsell:
  8960. description: 买卖 - 0:买 1:卖
  8961. type: integer
  8962. currencysign:
  8963. description: 货币符号
  8964. type: string
  8965. decimalplace:
  8966. description: 报价小数位
  8967. type: integer
  8968. goodscode:
  8969. description: 商品代码(内部)
  8970. type: string
  8971. goodsid:
  8972. description: 商品ID
  8973. type: integer
  8974. goodsname:
  8975. description: 商品名称
  8976. type: string
  8977. marketid:
  8978. description: 市场ID
  8979. type: integer
  8980. orderamount:
  8981. description: 委托金额
  8982. type: number
  8983. orderid:
  8984. description: 单号(成交单号)
  8985. type: string
  8986. picurls1:
  8987. description: 预售商品介绍图片[多张用逗号分隔]
  8988. type: string
  8989. picurls2:
  8990. description: 挂牌商品介绍图片[多张用逗号分隔]
  8991. type: string
  8992. price:
  8993. description: 价格
  8994. type: number
  8995. qty:
  8996. description: 数量
  8997. type: integer
  8998. time:
  8999. description: 时间
  9000. type: string
  9001. trademode:
  9002. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9003. 21:竞拍-大宗式 22:受托竞价
  9004. type: integer
  9005. vendorname1:
  9006. description: 预售商品供应商名称
  9007. type: string
  9008. vendorname2:
  9009. description: 挂牌商品供应商名称
  9010. type: string
  9011. required:
  9012. - accountid
  9013. - buyorsell
  9014. - goodscode
  9015. - goodsid
  9016. - goodsname
  9017. - marketid
  9018. - orderid
  9019. - qty
  9020. - time
  9021. - trademode
  9022. type: object
  9023. models.HsbyGoodsOrderDetail:
  9024. properties:
  9025. buyorsell:
  9026. description: 买卖 - 0:买 1:卖
  9027. type: integer
  9028. currencysign:
  9029. description: 货币符号
  9030. type: string
  9031. customername:
  9032. description: 客户名称(企业名称),已脱敏
  9033. type: string
  9034. enableqty:
  9035. description: 可用数量
  9036. type: integer
  9037. goodunit:
  9038. description: 报价单位
  9039. type: string
  9040. orderid:
  9041. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9042. type: string
  9043. orderprice:
  9044. description: 委托价格
  9045. type: number
  9046. ordertime:
  9047. description: 委托时间
  9048. type: string
  9049. required:
  9050. - buyorsell
  9051. - orderid
  9052. - ordertime
  9053. type: object
  9054. models.HsbyListingGoodsDetail:
  9055. properties:
  9056. agreeunit:
  9057. description: 合约单位
  9058. type: number
  9059. buymaxqty:
  9060. description: 购买上限 [71] - 0为不限
  9061. type: integer
  9062. currency:
  9063. description: 货币
  9064. type: string
  9065. currencysign:
  9066. description: 货币符号
  9067. type: string
  9068. decimalplace:
  9069. description: 报价小数位
  9070. type: integer
  9071. desccityid:
  9072. description: 目的地(市)ID
  9073. type: integer
  9074. descprovinceid:
  9075. description: 目的地(省)ID
  9076. type: integer
  9077. goodscode:
  9078. description: 商品代码(内部)
  9079. type: string
  9080. goodsdesc:
  9081. description: 商品详情
  9082. type: string
  9083. goodsid:
  9084. description: 商品ID(自增ID SEQ_GOODS)
  9085. type: integer
  9086. goodsname:
  9087. description: 商品名称
  9088. type: string
  9089. goodsprice:
  9090. description: 商品价格
  9091. type: number
  9092. hotindex:
  9093. description: 景点热度
  9094. type: integer
  9095. last:
  9096. description: 现价
  9097. type: number
  9098. limitdown:
  9099. description: 跌停价
  9100. type: number
  9101. limitup:
  9102. description: 涨停价
  9103. type: number
  9104. lotsize:
  9105. description: 手数最小变动单位
  9106. type: integer
  9107. marketid:
  9108. description: 所属市场ID
  9109. type: integer
  9110. picurls:
  9111. description: 介绍图片[多张用逗号分隔]
  9112. type: string
  9113. quoteminunit:
  9114. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9115. type: integer
  9116. stepvalue:
  9117. description: 价格最小变动单位
  9118. type: number
  9119. trademode:
  9120. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9121. 21:竞拍-大宗式 22:受托竞价
  9122. type: integer
  9123. vendorattr:
  9124. description: 供应商附件(多张,逗号分隔)
  9125. type: string
  9126. vendorname:
  9127. description: 供应商名称
  9128. type: string
  9129. vendorphone:
  9130. description: 供应商客服电话
  9131. type: string
  9132. videourls:
  9133. description: 介绍视频[多张用逗号分隔]
  9134. type: string
  9135. required:
  9136. - goodscode
  9137. - goodsid
  9138. - goodsname
  9139. - marketid
  9140. - trademode
  9141. type: object
  9142. models.HsbyMarketGoods:
  9143. properties:
  9144. accountid:
  9145. description: 账户ID[报价币种]
  9146. type: integer
  9147. agreeunit:
  9148. description: 合约单位
  9149. type: number
  9150. buyorsell:
  9151. description: 买卖 - 0:买 1:卖
  9152. type: integer
  9153. categoryid:
  9154. description: 类别ID(WRCATEGORY)
  9155. type: integer
  9156. currency:
  9157. description: 货币
  9158. type: string
  9159. currencysign:
  9160. description: 货币符号
  9161. type: string
  9162. customername:
  9163. description: 卖家名称
  9164. type: string
  9165. decimalplace:
  9166. description: 报价小数位
  9167. type: integer
  9168. goodscode:
  9169. description: 商品代码(内部)
  9170. type: string
  9171. goodsid:
  9172. description: 商品ID
  9173. type: integer
  9174. goodsname:
  9175. description: 商品名称
  9176. type: string
  9177. goodsprice:
  9178. description: 商品价格
  9179. type: number
  9180. hascoupon:
  9181. description: 是否可用优惠卷
  9182. type: boolean
  9183. hotindex:
  9184. description: 景点热度
  9185. type: integer
  9186. marketid:
  9187. description: 市场ID
  9188. type: integer
  9189. orderid:
  9190. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9191. type: string
  9192. orderprice:
  9193. description: 委托价格
  9194. type: number
  9195. orderstatus:
  9196. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9197. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9198. 16:成交失败违约(荷兰式竞拍专用)
  9199. type: integer
  9200. picurls:
  9201. description: 介绍图片[多张用逗号分隔]
  9202. type: string
  9203. quoteminunit:
  9204. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9205. type: integer
  9206. sellUserID:
  9207. description: 卖方UserID
  9208. type: integer
  9209. trademode:
  9210. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9211. 21:竞拍-大宗式 22:受托竞价
  9212. type: integer
  9213. videourls:
  9214. description: 介绍视频[多张用逗号分隔]
  9215. type: string
  9216. required:
  9217. - accountid
  9218. - buyorsell
  9219. - goodscode
  9220. - goodsid
  9221. - goodsname
  9222. - marketid
  9223. - orderid
  9224. - trademode
  9225. type: object
  9226. models.HsbyMarketGoodsDetail:
  9227. properties:
  9228. accountid:
  9229. description: 账户ID[报价币种]
  9230. type: integer
  9231. agreeunit:
  9232. description: 合约单位
  9233. type: number
  9234. buymaxqty:
  9235. description: 购买上限 [71] - 0为不限
  9236. type: integer
  9237. buyorsell:
  9238. description: 买卖 - 0:买 1:卖
  9239. type: integer
  9240. cancelqty:
  9241. description: 撤单数量
  9242. type: integer
  9243. categoryid:
  9244. description: 类别ID(WRCATEGORY)
  9245. type: integer
  9246. currency:
  9247. description: 货币
  9248. type: string
  9249. currencysign:
  9250. description: 货币符号
  9251. type: string
  9252. customername:
  9253. description: 卖家名称
  9254. type: string
  9255. decimalplace:
  9256. description: 报价小数位
  9257. type: integer
  9258. goodscode:
  9259. description: 商品代码(内部)
  9260. type: string
  9261. goodsdesc:
  9262. description: 商品详情
  9263. type: string
  9264. goodsid:
  9265. description: 商品ID
  9266. type: integer
  9267. goodsname:
  9268. description: 商品名称
  9269. type: string
  9270. goodsprice:
  9271. description: 商品价格
  9272. type: number
  9273. hotindex:
  9274. description: 景点热度
  9275. type: integer
  9276. lotsize:
  9277. description: 手数最小变动单位
  9278. type: integer
  9279. marketid:
  9280. description: 市场ID
  9281. type: integer
  9282. orderid:
  9283. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9284. type: string
  9285. orderprice:
  9286. description: 委托价格
  9287. type: number
  9288. orderqty:
  9289. description: 委托数量
  9290. type: integer
  9291. orderstatus:
  9292. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9293. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9294. 16:成交失败违约(荷兰式竞拍专用)
  9295. type: integer
  9296. picurls:
  9297. description: 介绍图片[多张用逗号分隔]
  9298. type: string
  9299. quoteminunit:
  9300. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9301. type: integer
  9302. sellUserID:
  9303. description: 卖方UserID
  9304. type: integer
  9305. trademode:
  9306. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9307. 21:竞拍-大宗式 22:受托竞价
  9308. type: integer
  9309. tradeqty:
  9310. description: 成交数量
  9311. type: integer
  9312. vendorattr:
  9313. description: 供应商附件(多张,逗号分隔)
  9314. type: string
  9315. vendorname:
  9316. description: 供应商名称
  9317. type: string
  9318. vendorphone:
  9319. description: 供应商客服电话
  9320. type: string
  9321. videourls:
  9322. description: 介绍视频[多张用逗号分隔]
  9323. type: string
  9324. required:
  9325. - accountid
  9326. - buyorsell
  9327. - goodscode
  9328. - goodsid
  9329. - goodsname
  9330. - marketid
  9331. - orderid
  9332. - orderqty
  9333. - trademode
  9334. type: object
  9335. models.HsbyMarketInfo:
  9336. properties:
  9337. marketid:
  9338. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9339. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9340. type: integer
  9341. marketname:
  9342. description: 市场名称
  9343. type: string
  9344. marketstatus:
  9345. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9346. type: integer
  9347. trademode:
  9348. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9349. 21:竞拍-大宗式 22:受托竞价
  9350. type: integer
  9351. required:
  9352. - marketid
  9353. - marketstatus
  9354. - trademode
  9355. type: object
  9356. models.HsbyMyGoods:
  9357. properties:
  9358. accountid:
  9359. description: 账号Id
  9360. type: integer
  9361. agreeunit:
  9362. description: 合约单位
  9363. type: number
  9364. buyaverageprice:
  9365. description: 持仓均价
  9366. type: number
  9367. buycurholderamount:
  9368. description: 买当前持仓总金额[商品币种]
  9369. type: number
  9370. buycurpositionqty:
  9371. description: 买当前持仓总数量
  9372. type: integer
  9373. buymaxqty:
  9374. description: 购买上限 [71] - 0为不限
  9375. type: integer
  9376. currencysign:
  9377. description: 货币符号
  9378. type: string
  9379. decimalplace:
  9380. description: 报价小数位
  9381. type: integer
  9382. enableqty:
  9383. description: 可用数量
  9384. type: integer
  9385. goodscode:
  9386. description: 商品代码(内部)
  9387. type: string
  9388. goodsid:
  9389. description: 商品Id
  9390. type: integer
  9391. goodsname:
  9392. description: 商品名称
  9393. type: string
  9394. goodsprice:
  9395. description: 商品价格
  9396. type: number
  9397. goodsstatus:
  9398. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9399. type: integer
  9400. last:
  9401. description: 现价(仅使用于挂牌点选)
  9402. type: number
  9403. limitdown:
  9404. description: 跌停价(仅使用于挂牌点选)
  9405. type: number
  9406. limitup:
  9407. description: 涨停价(仅使用于挂牌点选)
  9408. type: number
  9409. lotsize:
  9410. description: 手数最小变动单位
  9411. type: integer
  9412. marketid:
  9413. description: 所属市场ID
  9414. type: integer
  9415. picurls:
  9416. description: 介绍图片[多张用逗号分隔]
  9417. type: string
  9418. quoteminunit:
  9419. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9420. type: integer
  9421. stepvalue:
  9422. description: 价格最小变动单位
  9423. type: number
  9424. trademode:
  9425. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9426. 21:竞拍-大宗式 22:受托竞价
  9427. type: integer
  9428. required:
  9429. - accountid
  9430. - goodscode
  9431. - goodsid
  9432. - goodsname
  9433. - marketid
  9434. - trademode
  9435. type: object
  9436. models.HsbyMyPackage:
  9437. properties:
  9438. accountid:
  9439. description: 账户ID
  9440. type: integer
  9441. address:
  9442. description: 提货人详细地址
  9443. type: string
  9444. agreeunit:
  9445. description: 合约单位
  9446. type: number
  9447. amount:
  9448. description: 提货金额
  9449. type: number
  9450. auditer:
  9451. description: 审核人
  9452. type: integer
  9453. audittime:
  9454. description: 审核时间
  9455. type: string
  9456. averageprice:
  9457. description: 均价
  9458. type: number
  9459. cardnum:
  9460. description: 提货人证件号码
  9461. type: string
  9462. cardtypeid:
  9463. description: 提货人证件类型
  9464. type: integer
  9465. checkremark:
  9466. description: 审核备注
  9467. type: string
  9468. currencysign:
  9469. description: 货币符号
  9470. type: string
  9471. decimalplace:
  9472. description: 报价小数位
  9473. type: integer
  9474. goodscode:
  9475. description: 商品代码(内部)
  9476. type: string
  9477. goodsid:
  9478. description: 商品ID
  9479. type: integer
  9480. goodsname:
  9481. description: 商品名称
  9482. type: string
  9483. handlestatus:
  9484. description: 处理状态
  9485. type: integer
  9486. marketid:
  9487. description: 市场ID
  9488. type: integer
  9489. phonenum:
  9490. description: 提货人联系方式
  9491. type: string
  9492. picurls:
  9493. description: 介绍图片[多张用逗号分隔]
  9494. type: string
  9495. qty:
  9496. description: 提货数量
  9497. type: number
  9498. recivername:
  9499. description: 提货人姓名
  9500. type: string
  9501. reqtime:
  9502. description: 更新时间
  9503. type: string
  9504. takemode:
  9505. description: 提货方式 - 2:自提 3:配送
  9506. type: integer
  9507. takeorderid:
  9508. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9509. type: string
  9510. takeorderstatus:
  9511. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9512. type: integer
  9513. takeremark:
  9514. description: 提货备注
  9515. type: string
  9516. tradedate:
  9517. description: 交易日(yyyyMMdd)
  9518. type: string
  9519. trademode:
  9520. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9521. 21:竞拍-大宗式 22:受托竞价
  9522. type: integer
  9523. userid:
  9524. description: 用户ID
  9525. type: integer
  9526. vendorname:
  9527. description: 供应商名称
  9528. type: string
  9529. required:
  9530. - goodscode
  9531. - goodsname
  9532. - takeorderid
  9533. - trademode
  9534. type: object
  9535. models.HsbyPreGoods:
  9536. properties:
  9537. agreeunit:
  9538. description: 合约单位
  9539. type: number
  9540. currency:
  9541. description: 货币
  9542. type: string
  9543. currencysign:
  9544. description: 货币符号
  9545. type: string
  9546. decimalplace:
  9547. description: 报价小数位
  9548. type: integer
  9549. desccityid:
  9550. description: 目的地(市)
  9551. type: integer
  9552. descprovinceid:
  9553. description: 目的地(省)
  9554. type: integer
  9555. enableqty:
  9556. description: 剩余数量
  9557. type: integer
  9558. goodscode:
  9559. description: 商品代码(内部)
  9560. type: string
  9561. goodsid:
  9562. description: 商品ID(自增ID SEQ_GOODS)
  9563. type: integer
  9564. goodsname:
  9565. description: 商品名称
  9566. type: string
  9567. goodsstatus:
  9568. description: 商品状态- 2:未上市 3:上市
  9569. type: integer
  9570. lasttradedate:
  9571. description: 最后交易日期(状态:待退市)
  9572. type: string
  9573. listingdate:
  9574. description: 交易开始日期
  9575. type: string
  9576. marketid:
  9577. description: 所属市场ID
  9578. type: integer
  9579. picurls:
  9580. description: 介绍图片[多张用逗号分隔]
  9581. type: string
  9582. presaledqty:
  9583. description: 已预售量(预售结束时更新)
  9584. type: integer
  9585. presaleqty:
  9586. description: 预售数量
  9587. type: integer
  9588. quoteminunit:
  9589. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9590. type: integer
  9591. refprice:
  9592. description: 参考价格[一口价]
  9593. type: number
  9594. relatedgoodsid:
  9595. description: 关联交易合约ID
  9596. type: integer
  9597. trademode:
  9598. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9599. 21:竞拍-大宗式 22:受托竞价
  9600. type: integer
  9601. videourls:
  9602. description: 介绍视频[多张用逗号分隔]
  9603. type: string
  9604. required:
  9605. - goodscode
  9606. - goodsid
  9607. - goodsname
  9608. - marketid
  9609. - trademode
  9610. type: object
  9611. models.HsbyPreGoodsDetail:
  9612. properties:
  9613. agreeunit:
  9614. description: 合约单位
  9615. type: number
  9616. buymaxqty:
  9617. description: 购买上限 [71] - 0为不限
  9618. type: integer
  9619. currency:
  9620. description: 货币
  9621. type: string
  9622. currencysign:
  9623. description: 货币符号
  9624. type: string
  9625. customername:
  9626. description: 发行单位
  9627. type: string
  9628. decimalplace:
  9629. description: 报价小数位
  9630. type: integer
  9631. desccityid:
  9632. description: 目的地(市)ID
  9633. type: integer
  9634. descprovinceid:
  9635. description: 目的地(省)ID
  9636. type: integer
  9637. enableqty:
  9638. description: 剩余数量
  9639. type: integer
  9640. goodscode:
  9641. description: 商品代码(内部)
  9642. type: string
  9643. goodsdesc:
  9644. description: 商品详情
  9645. type: string
  9646. goodsid:
  9647. description: 商品ID(自增ID SEQ_GOODS)
  9648. type: integer
  9649. goodsname:
  9650. description: 商品名称
  9651. type: string
  9652. goodsstatus:
  9653. description: 商品状态- 2:未上市 3:上市
  9654. type: integer
  9655. goodunit:
  9656. description: 报价单位
  9657. type: string
  9658. lasttradedate:
  9659. description: 最后交易日期(状态:待退市)
  9660. type: string
  9661. listingdate:
  9662. description: 交易开始日期
  9663. type: string
  9664. lotsize:
  9665. description: 手数最小变动单位
  9666. type: integer
  9667. marketid:
  9668. description: 所属市场ID
  9669. type: integer
  9670. picurls:
  9671. description: 介绍图片[多张用逗号分隔]
  9672. type: string
  9673. presaledqty:
  9674. description: 已预售量(预售结束时更新)
  9675. type: integer
  9676. presaleqty:
  9677. description: 预售数量
  9678. type: integer
  9679. quoteminunit:
  9680. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9681. type: integer
  9682. refprice:
  9683. description: 参考价格[一口价]
  9684. type: number
  9685. relatedgoodsid:
  9686. description: 关联交易合约ID
  9687. type: integer
  9688. stepvalue:
  9689. description: 价格最小变动单位
  9690. type: number
  9691. trademode:
  9692. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9693. 21:竞拍-大宗式 22:受托竞价
  9694. type: integer
  9695. vendorattr:
  9696. description: 供应商附件(多张,逗号分隔)
  9697. type: string
  9698. vendorname:
  9699. description: 供应商名称
  9700. type: string
  9701. vendorphone:
  9702. description: 供应商客服电话
  9703. type: string
  9704. videourls:
  9705. description: 介绍视频[多张用逗号分隔]
  9706. type: string
  9707. required:
  9708. - goodscode
  9709. - goodsid
  9710. - goodsname
  9711. - marketid
  9712. - trademode
  9713. type: object
  9714. models.HsbySellCollectionOrder:
  9715. properties:
  9716. agreeunit:
  9717. description: 合约单位
  9718. type: number
  9719. buyaccountid:
  9720. description: 买方账号ID[报价币种]
  9721. type: integer
  9722. buyorderid:
  9723. description: 买方委托单号
  9724. type: string
  9725. createtime:
  9726. description: 创建时间
  9727. type: string
  9728. currencysign:
  9729. description: 货币符号
  9730. type: string
  9731. decimalplace:
  9732. description: 报价小数位
  9733. type: integer
  9734. goodscode:
  9735. description: 商品代码(内部)
  9736. type: string
  9737. goodsid:
  9738. description: 商品ID
  9739. type: integer
  9740. goodsname:
  9741. description: 商品名称
  9742. type: string
  9743. marketid:
  9744. description: 市场ID
  9745. type: integer
  9746. offamount:
  9747. description: 优惠金额
  9748. type: number
  9749. payamount:
  9750. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9751. type: number
  9752. payflag:
  9753. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9754. type: integer
  9755. paylimitedtime:
  9756. description: 支付期限
  9757. type: string
  9758. paytime:
  9759. description: 付款时间
  9760. type: string
  9761. picurls:
  9762. description: 商品介绍图片[多张用逗号分隔]
  9763. type: string
  9764. sellaccountid:
  9765. description: 卖方账号ID[报价币种]
  9766. type: integer
  9767. sellorderid:
  9768. description: 卖方委托单号
  9769. type: string
  9770. tradeamount:
  9771. description: 成交金额
  9772. type: number
  9773. tradecharge:
  9774. description: 成交手续费(买方)
  9775. type: number
  9776. tradedate:
  9777. description: 交易日(yyyyMMdd)
  9778. type: string
  9779. tradeid:
  9780. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9781. type: string
  9782. trademode:
  9783. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9784. 21:竞拍-大宗式 22:受托竞价
  9785. type: integer
  9786. tradeprice:
  9787. description: 成交价格
  9788. type: number
  9789. tradeqty:
  9790. description: 成交数量
  9791. type: integer
  9792. required:
  9793. - goodscode
  9794. - goodsname
  9795. - tradeid
  9796. - trademode
  9797. type: object
  9798. models.HsbySellMyDetail:
  9799. properties:
  9800. accountid:
  9801. description: 账户ID[报价币种]
  9802. type: integer
  9803. agreeunit:
  9804. description: 合约单位
  9805. type: number
  9806. buyorsell:
  9807. description: 买卖 - 0:买 1:卖
  9808. type: integer
  9809. currencysign:
  9810. description: 货币符号
  9811. type: string
  9812. decimalplace:
  9813. description: 报价小数位
  9814. type: integer
  9815. goodscode:
  9816. description: 商品代码(内部)
  9817. type: string
  9818. goodsid:
  9819. description: 商品ID
  9820. type: integer
  9821. goodsname:
  9822. description: 商品名称
  9823. type: string
  9824. marketid:
  9825. description: 市场ID
  9826. type: integer
  9827. orderid:
  9828. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9829. type: string
  9830. ordertype:
  9831. description: 单据类型:0 - 发布中, 1 - 已完成
  9832. type: integer
  9833. picurls:
  9834. description: 介绍图片[多张用逗号分隔]
  9835. type: string
  9836. price:
  9837. description: 价格
  9838. type: number
  9839. qty:
  9840. description: 数量
  9841. type: integer
  9842. time:
  9843. description: 时间
  9844. type: string
  9845. trademode:
  9846. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9847. 21:竞拍-大宗式 22:受托竞价
  9848. type: integer
  9849. vendorname:
  9850. description: 供应商名称
  9851. type: string
  9852. required:
  9853. - accountid
  9854. - buyorsell
  9855. - goodscode
  9856. - goodsid
  9857. - goodsname
  9858. - marketid
  9859. - orderid
  9860. - time
  9861. - trademode
  9862. type: object
  9863. models.HsbyTopGoods:
  9864. properties:
  9865. agreeunit:
  9866. description: 合约单位
  9867. type: number
  9868. currency:
  9869. description: 货币
  9870. type: string
  9871. currencysign:
  9872. description: 货币符号
  9873. type: string
  9874. decimalplace:
  9875. description: 报价小数位
  9876. type: integer
  9877. desccityid:
  9878. description: 目的地(市)
  9879. type: integer
  9880. descprovinceid:
  9881. description: 目的地(省)
  9882. type: integer
  9883. goodscode:
  9884. description: 商品代码(内部)
  9885. type: string
  9886. goodsid:
  9887. description: 商品ID(自增ID SEQ_GOODS)
  9888. type: integer
  9889. goodsname:
  9890. description: 商品名称
  9891. type: string
  9892. hotindex:
  9893. description: 景点热度
  9894. type: integer
  9895. last:
  9896. description: 现价
  9897. type: number
  9898. marketid:
  9899. description: 所属市场ID
  9900. type: integer
  9901. picurls:
  9902. description: 介绍图片[多张用逗号分隔]
  9903. type: string
  9904. quoteminunit:
  9905. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9906. type: integer
  9907. trademode:
  9908. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9909. 21:竞拍-大宗式 22:受托竞价
  9910. type: integer
  9911. videourls:
  9912. description: 介绍视频[多张用逗号分隔]
  9913. type: string
  9914. required:
  9915. - goodscode
  9916. - goodsid
  9917. - goodsname
  9918. - marketid
  9919. - trademode
  9920. type: object
  9921. models.HybsMyBuyOrderDetail:
  9922. properties:
  9923. accountid:
  9924. description: 账户ID[报价币种]
  9925. type: integer
  9926. agreeunit:
  9927. description: 合约单位
  9928. type: number
  9929. buyorsell:
  9930. description: 买卖 - 0:买 1:卖
  9931. type: integer
  9932. cancelqty:
  9933. description: 撤单数量
  9934. type: integer
  9935. currencysign:
  9936. description: 货币符号
  9937. type: string
  9938. decimalplace:
  9939. description: 报价小数位
  9940. type: integer
  9941. goodscode:
  9942. description: 商品代码(内部)
  9943. type: string
  9944. goodsid:
  9945. description: 商品ID
  9946. type: integer
  9947. goodsname:
  9948. description: 商品名称
  9949. type: string
  9950. listingselecttype:
  9951. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9952. type: integer
  9953. marketid:
  9954. description: 市场ID
  9955. type: integer
  9956. mybuystatus:
  9957. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9958. type: integer
  9959. orderamount:
  9960. description: 委托金额
  9961. type: number
  9962. orderid:
  9963. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9964. type: string
  9965. orderprice:
  9966. description: 委托价格
  9967. type: number
  9968. orderqty:
  9969. description: 委托数量
  9970. type: integer
  9971. orderstatus:
  9972. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9973. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9974. 16:成交失败违约(荷兰式竞拍专用)
  9975. type: integer
  9976. ordertime:
  9977. description: 委托时间
  9978. type: string
  9979. picurls1:
  9980. description: 预售商品介绍图片[多张用逗号分隔]
  9981. type: string
  9982. picurls2:
  9983. description: 挂牌商品介绍图片[多张用逗号分隔]
  9984. type: string
  9985. trademode:
  9986. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9987. 21:竞拍-大宗式 22:受托竞价
  9988. type: integer
  9989. tradeqty:
  9990. description: 成交数量
  9991. type: integer
  9992. vendorname1:
  9993. description: 预售商品供应商名称
  9994. type: string
  9995. vendorname2:
  9996. description: 挂牌商品供应商名称
  9997. type: string
  9998. required:
  9999. - accountid
  10000. - buyorsell
  10001. - goodscode
  10002. - goodsid
  10003. - goodsname
  10004. - marketid
  10005. - orderid
  10006. - orderqty
  10007. - ordertime
  10008. - trademode
  10009. type: object
  10010. models.Loginaccount:
  10011. properties:
  10012. accountname:
  10013. description: 账户名称
  10014. type: string
  10015. canoutin:
  10016. description: 是否可出入金 - 0:不可 1:可
  10017. type: integer
  10018. clientroleid:
  10019. description: 终端角色ID
  10020. type: integer
  10021. haslogined:
  10022. description: 是否已登录 - 0:未登录 1:已登录
  10023. type: integer
  10024. hasupdatedpwd:
  10025. description: 是否已更改密码 - 0:未修改 1:已修改
  10026. type: integer
  10027. lastloginip:
  10028. description: 最新登录地址
  10029. type: string
  10030. lastloginmode:
  10031. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10032. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10033. type: integer
  10034. lastloginremark:
  10035. description: 最新登录描述
  10036. type: string
  10037. lastlogintime:
  10038. description: 最新登录时间
  10039. type: string
  10040. logincode:
  10041. description: 登录代码
  10042. type: string
  10043. loginfailnum:
  10044. description: 连续登录失败次数(登录成功时清零)
  10045. type: integer
  10046. loginid:
  10047. description: 登陆账号
  10048. type: integer
  10049. loginport:
  10050. description: 最新登录端口
  10051. type: integer
  10052. loginstatus:
  10053. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10054. type: integer
  10055. loginusertype:
  10056. description: 登录账号类型 - 1:投资者 2:机构交易员
  10057. type: integer
  10058. mobile:
  10059. description: 手机号码(加密存储)
  10060. type: string
  10061. modifierid:
  10062. description: 修改人
  10063. type: integer
  10064. modifysrc:
  10065. description: 审核来源 - 1:管理端 2:终端
  10066. type: integer
  10067. modifytime:
  10068. description: 修改时间
  10069. type: string
  10070. password:
  10071. description: 登陆密码
  10072. type: string
  10073. pwdwrongcount:
  10074. description: 密码错误次数
  10075. type: integer
  10076. relateduserid:
  10077. description: 关联用户ID(机构)
  10078. type: integer
  10079. taaccountrighttype:
  10080. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10081. type: integer
  10082. unfreezetime:
  10083. description: 账户解冻时间
  10084. type: string
  10085. userid:
  10086. description: 用户ID
  10087. type: integer
  10088. required:
  10089. - loginid
  10090. type: object
  10091. models.MainAccountInfo:
  10092. properties:
  10093. accountid:
  10094. description: 账号id
  10095. type: integer
  10096. accountname:
  10097. description: 账号名称(taaccount表中的名称)
  10098. type: string
  10099. appid:
  10100. description: AppID
  10101. type: string
  10102. authcode:
  10103. description: 授权码
  10104. type: string
  10105. brokerid:
  10106. description: 经纪商id
  10107. type: string
  10108. fcid:
  10109. description: 期货公司id
  10110. type: integer
  10111. fcname:
  10112. description: 期货公司代码
  10113. type: string
  10114. hedgeaccountcode:
  10115. description: 外部账号代码(主账号登录代码)
  10116. type: string
  10117. hedgeaccountpwd:
  10118. description: 密码
  10119. type: string
  10120. ismain:
  10121. description: 是否主账号
  10122. type: integer
  10123. relateduserid:
  10124. description: 关联用户id
  10125. type: integer
  10126. userid:
  10127. description: 关联用户id
  10128. type: integer
  10129. type: object
  10130. models.Market:
  10131. properties:
  10132. auctionwrtype:
  10133. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10134. type: integer
  10135. canacceptquote:
  10136. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10137. type: integer
  10138. cangoodsexercise:
  10139. description: '[期权]是否可现货行权- 0:否 1:是'
  10140. type: integer
  10141. cangoodsexercisetype:
  10142. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10143. type: integer
  10144. canmanualquotestrike:
  10145. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10146. type: integer
  10147. canmutistage:
  10148. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10149. type: integer
  10150. canpreexercise:
  10151. description: '[期权]是否可预申报- 0:否 1:是'
  10152. type: integer
  10153. clearinterval:
  10154. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10155. type: integer
  10156. contracttmp:
  10157. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10158. type: string
  10159. exchareaid:
  10160. description: 所属交易所,可以没有
  10161. type: integer
  10162. goodstype:
  10163. description: 商品类型 - 1:交易商品 2:仓单商品
  10164. type: integer
  10165. hasrebate:
  10166. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10167. type: integer
  10168. hastradecredit:
  10169. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10170. type: integer
  10171. haswr:
  10172. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10173. type: integer
  10174. isdeductmargin:
  10175. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10176. type: integer
  10177. isrecordsource:
  10178. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10179. type: integer
  10180. isreleasemargin:
  10181. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10182. type: integer
  10183. marginformula:
  10184. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10185. type: integer
  10186. marginformula2:
  10187. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10188. type: integer
  10189. marketid:
  10190. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10191. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10192. type: integer
  10193. marketname:
  10194. description: 市场名称
  10195. type: string
  10196. marketserviceid:
  10197. description: 市场服务ID
  10198. type: integer
  10199. marketstatus:
  10200. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10201. type: integer
  10202. markettype:
  10203. description: 市场类型- 1:非交易服务 2:交易服务
  10204. type: integer
  10205. matchermode:
  10206. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10207. type: integer
  10208. openmethod:
  10209. description: 开盘模式 - 0 自动 1手动
  10210. type: integer
  10211. otcuserid:
  10212. description: 场外期权做市商[场外期权]
  10213. type: integer
  10214. outersynctime:
  10215. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10216. type: string
  10217. pendingflag:
  10218. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10219. type: integer
  10220. pendingtime:
  10221. description: 待开市时间[通道交易-对冲](HH:mm)
  10222. type: string
  10223. performancetempid:
  10224. description: 履约计划模板ID - 作废
  10225. type: integer
  10226. premiumquotemode:
  10227. description: 权利金报价方式 - 1:自动 2:手动
  10228. type: integer
  10229. rebateratio:
  10230. description: 返利比率[竞价式]
  10231. type: number
  10232. reckonorder:
  10233. description: 结算顺序
  10234. type: integer
  10235. reckonpricealgorithm:
  10236. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10237. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10238. type: integer
  10239. reckonpriceparam:
  10240. description: 结算价参数
  10241. type: integer
  10242. reckontime:
  10243. description: 结算时间[通道交易-对冲](HH:mm)
  10244. type: string
  10245. roleprioritytype:
  10246. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10247. type: integer
  10248. selllistingauditflag:
  10249. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10250. type: integer
  10251. trademarkettype:
  10252. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10253. type: integer
  10254. trademode:
  10255. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10256. 21:竞拍-大宗式 22:受托竞价
  10257. type: integer
  10258. tradeproperty:
  10259. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10260. 8:场外期权
  10261. type: integer
  10262. tradetype:
  10263. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10264. type: integer
  10265. required:
  10266. - marketid
  10267. - marketstatus
  10268. - openmethod
  10269. - reckonpricealgorithm
  10270. - trademode
  10271. - tradeproperty
  10272. type: object
  10273. models.Marketrun:
  10274. properties:
  10275. afternexttradedate:
  10276. description: 下下交易日
  10277. type: string
  10278. clearquoteflag:
  10279. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10280. type: integer
  10281. lastreckondate:
  10282. description: 最新交易日(结算成功)
  10283. type: string
  10284. machinedate:
  10285. description: 机器时间
  10286. type: string
  10287. manualflag:
  10288. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10289. type: integer
  10290. marketid:
  10291. description: 市场ID
  10292. type: integer
  10293. nexttradedate:
  10294. description: 下一交易日
  10295. type: string
  10296. pretradedate:
  10297. description: 上一交易日
  10298. type: string
  10299. reckonflag:
  10300. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10301. type: integer
  10302. runstatus:
  10303. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10304. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10305. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10306. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10307. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10308. 62.今日免清算
  10309. type: integer
  10310. sectionid:
  10311. description: 时间段号[多时段时用]
  10312. type: integer
  10313. tradedate:
  10314. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10315. type: string
  10316. tradedate2:
  10317. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10318. type: string
  10319. updatetime:
  10320. description: 更新时间
  10321. type: string
  10322. required:
  10323. - marketid
  10324. - nexttradedate
  10325. - reckonflag
  10326. - runstatus
  10327. - tradedate
  10328. - tradedate2
  10329. type: object
  10330. models.Messageboard:
  10331. properties:
  10332. contactnum:
  10333. description: 联系电话
  10334. type: string
  10335. createtime:
  10336. description: 创建时间
  10337. type: string
  10338. message:
  10339. description: 留言信息
  10340. type: string
  10341. messageboardid:
  10342. description: 留言簿ID(SEQ_MessageBoard)
  10343. type: integer
  10344. userid:
  10345. description: 用户ID
  10346. type: integer
  10347. required:
  10348. - messageboardid
  10349. type: object
  10350. models.MyCoupon:
  10351. properties:
  10352. accountid:
  10353. description: 资金账户ID
  10354. type: integer
  10355. areauserid:
  10356. description: 所属机构
  10357. type: integer
  10358. conditionvalue:
  10359. description: 条件阈值(可为0)
  10360. type: number
  10361. couponcategroy:
  10362. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10363. type: integer
  10364. couponname:
  10365. description: 优惠券名称
  10366. type: string
  10367. coupontypeid:
  10368. description: 优惠券类型ID
  10369. type: string
  10370. couponvalue:
  10371. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10372. type: number
  10373. curfreezeqty:
  10374. description: 期末冻结数量
  10375. type: integer
  10376. curqty:
  10377. description: 期末数量
  10378. type: integer
  10379. isgeneral:
  10380. description: 是否通用券 - 0:否 1:是
  10381. type: integer
  10382. isunusable:
  10383. description: 是否不可用
  10384. type: boolean
  10385. limitedflag:
  10386. description: 是否指定商品 - 0:不限 1:限制
  10387. type: integer
  10388. limitedgoodsids:
  10389. description: 指定商品IDs[逗号分隔,前后加逗号]
  10390. type: string
  10391. orifreezeqty:
  10392. description: 期初冻结数量
  10393. type: integer
  10394. oriqty:
  10395. description: 期初数量
  10396. type: integer
  10397. reasontype:
  10398. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10399. type: integer
  10400. todaydecrease:
  10401. description: 今日减少
  10402. type: integer
  10403. todayincrease:
  10404. description: 今日增加
  10405. type: integer
  10406. userid:
  10407. description: 用户ID
  10408. type: integer
  10409. userscope:
  10410. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10411. type: string
  10412. required:
  10413. - accountid
  10414. - coupontypeid
  10415. type: object
  10416. models.MyCouponHold:
  10417. properties:
  10418. accountid:
  10419. description: 资金账户ID
  10420. type: integer
  10421. conditionvalue:
  10422. description: 条件阈值(可为0)
  10423. type: number
  10424. couponcategroy:
  10425. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10426. type: integer
  10427. couponholdid:
  10428. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10429. type: string
  10430. couponname:
  10431. description: 优惠券名称
  10432. type: string
  10433. coupontypeid:
  10434. description: 优惠券类型ID - SEQ_COUPONTYPE
  10435. type: string
  10436. couponvalue:
  10437. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10438. type: number
  10439. createtime:
  10440. description: 创建时间
  10441. type: string
  10442. enddate:
  10443. description: 结束日期
  10444. type: string
  10445. giveapplyid:
  10446. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10447. type: integer
  10448. holdstatus:
  10449. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10450. type: integer
  10451. isgeneral:
  10452. description: 是否通用券 - 0:否 1:是
  10453. type: integer
  10454. limitedflag:
  10455. description: 是否指定商品 - 0:不限 1:限制
  10456. type: integer
  10457. limitedgoodsids:
  10458. description: 指定商品IDs[逗号分隔]
  10459. type: string
  10460. qty:
  10461. description: 数量(按1平铺)
  10462. type: integer
  10463. startdate:
  10464. description: 开始日期
  10465. type: string
  10466. userid:
  10467. description: 用户ID
  10468. type: integer
  10469. userscope:
  10470. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10471. type: string
  10472. required:
  10473. - couponholdid
  10474. type: object
  10475. models.MyUsedCoupon:
  10476. properties:
  10477. accountid:
  10478. description: 资金账户ID(买方)
  10479. type: integer
  10480. conditionvalue:
  10481. description: 条件阈值(可为0)
  10482. type: number
  10483. couponcategroy:
  10484. description: 种类 - 1:现金券 2:折扣券
  10485. type: integer
  10486. couponname:
  10487. description: 优惠券名称
  10488. type: string
  10489. coupontypeid:
  10490. description: 优惠券类型ID(买方)
  10491. type: string
  10492. couponvalue:
  10493. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10494. type: number
  10495. createtime:
  10496. description: 创建时间
  10497. type: string
  10498. goodsid:
  10499. description: 商品ID
  10500. type: integer
  10501. handlestatus:
  10502. description: 处理状态
  10503. type: integer
  10504. marketid:
  10505. description: 市场ID
  10506. type: integer
  10507. offamount:
  10508. description: 优惠金额
  10509. type: number
  10510. orderid:
  10511. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10512. type: string
  10513. sellaccountid:
  10514. description: 资金账户ID(卖方)
  10515. type: integer
  10516. tradeamount:
  10517. description: 成交金额
  10518. type: number
  10519. tradeid:
  10520. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10521. type: string
  10522. usedqty:
  10523. description: 使用数量
  10524. type: integer
  10525. required:
  10526. - coupontypeid
  10527. - orderid
  10528. type: object
  10529. models.OperationPrimaryMenu:
  10530. properties:
  10531. Children:
  10532. description: 二级功能菜单
  10533. items:
  10534. $ref: '#/definitions/models.OperationSecondaryMenu'
  10535. type: array
  10536. Key:
  10537. description: 菜单KEY
  10538. type: string
  10539. Label:
  10540. description: 菜单标题
  10541. type: string
  10542. type: object
  10543. models.OperationSecondaryMenu:
  10544. properties:
  10545. Key:
  10546. description: 菜单KEY
  10547. type: string
  10548. Label:
  10549. description: 菜单标题
  10550. type: string
  10551. TabList:
  10552. description: 三级功能菜单
  10553. items:
  10554. $ref: '#/definitions/models.OperationTabMenu'
  10555. type: array
  10556. type: object
  10557. models.OperationTabMenu:
  10558. properties:
  10559. Key:
  10560. description: 菜单KEY
  10561. type: string
  10562. Label:
  10563. description: 菜单标题
  10564. type: string
  10565. type: object
  10566. models.QhjAccountOutInApply:
  10567. properties:
  10568. accountcode:
  10569. description: 资金账号
  10570. type: string
  10571. accountname:
  10572. description: 用户名称(名称)
  10573. type: string
  10574. accountpwd:
  10575. description: 资金密码
  10576. type: string
  10577. accountticket:
  10578. description: 最新账户服务流水号
  10579. type: string
  10580. amount:
  10581. description: 金额
  10582. type: number
  10583. applyremark:
  10584. description: 申请备注
  10585. type: string
  10586. applystatus:
  10587. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10588. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10589. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10590. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10591. type: integer
  10592. auditid:
  10593. description: 审核人
  10594. type: integer
  10595. audittime:
  10596. description: 审核时间
  10597. type: string
  10598. bank_apply_ticket:
  10599. description: 银行申请流水
  10600. type: string
  10601. bankaccountname:
  10602. description: 银行账户名
  10603. type: string
  10604. bankaccountno:
  10605. description: 银行卡号
  10606. type: string
  10607. bankid:
  10608. description: 银行编号
  10609. type: string
  10610. bankticket:
  10611. description: 银行流水
  10612. type: string
  10613. branchbankid:
  10614. description: 银行支行号
  10615. type: string
  10616. branchbankname:
  10617. description: 银行支行名称
  10618. type: string
  10619. capamountout:
  10620. description: 出金(劣后本金) - 外部子账户
  10621. type: number
  10622. certificatephotourl:
  10623. description: 凭证地址
  10624. type: string
  10625. charge:
  10626. description: 手续费
  10627. type: number
  10628. checkerrorflag:
  10629. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10630. type: integer
  10631. currency:
  10632. description: 币种
  10633. type: string
  10634. cusbankid:
  10635. description: 托管银行编号
  10636. type: string
  10637. exchticket:
  10638. description: 银行服务流水号
  10639. type: string
  10640. executetype:
  10641. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10642. 7:外部子账户:入金 8:外部子账户:出金'
  10643. type: integer
  10644. extendinfo:
  10645. description: 扩展信息
  10646. type: string
  10647. extoperateid:
  10648. description: 交易服务流水号
  10649. type: integer
  10650. infamount:
  10651. description: 劣后金额(自有)
  10652. type: number
  10653. logincode:
  10654. description: 登录账号(账号)
  10655. type: string
  10656. netaddr:
  10657. description: 调转网址
  10658. type: string
  10659. priamount:
  10660. description: 优先金额(授信)
  10661. type: number
  10662. reauditid:
  10663. description: 复审人
  10664. type: integer
  10665. reauditremark:
  10666. description: 复审备注
  10667. type: string
  10668. reaudittime:
  10669. description: 复审时间
  10670. type: string
  10671. relatedorderid:
  10672. description: 三方关联ID
  10673. type: string
  10674. remark:
  10675. description: 备注
  10676. type: string
  10677. remark2:
  10678. description: 备注(失败原因)
  10679. type: string
  10680. soucreamount:
  10681. description: 原始出入金金额
  10682. type: number
  10683. soucrecurrencyid:
  10684. description: 原始出入金币种
  10685. type: integer
  10686. tradedate:
  10687. description: 交易日(yyyyMMdd)
  10688. type: string
  10689. updatetime:
  10690. description: 更新时间(申请时间)
  10691. type: string
  10692. userid:
  10693. description: 用户id
  10694. type: integer
  10695. userinfotype:
  10696. description: 账户类型 1-个人 2-企业
  10697. type: integer
  10698. type: object
  10699. models.QhjAgreementChangeLog:
  10700. properties:
  10701. agreementcontent:
  10702. description: 协议内容
  10703. type: string
  10704. agreementfrequency:
  10705. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10706. type: integer
  10707. agreementid:
  10708. description: 协议ID
  10709. type: integer
  10710. agreementname:
  10711. description: 协议名称
  10712. type: string
  10713. agreementno:
  10714. description: 协议编号
  10715. type: string
  10716. agreementtype:
  10717. description: 协议类型 - 1:注册 2:登录 3:交易
  10718. type: integer
  10719. agreementversion:
  10720. description: 协议版本号
  10721. type: integer
  10722. logid:
  10723. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10724. type: integer
  10725. reviserid:
  10726. description: 修改人
  10727. type: integer
  10728. revisersrc:
  10729. description: 修改来源 - 1:管理端 2:终端
  10730. type: integer
  10731. updatetime:
  10732. description: 更新时间
  10733. type: string
  10734. type: object
  10735. models.QhjAgreementConfig:
  10736. properties:
  10737. agreementcontent:
  10738. description: 协议内容
  10739. type: string
  10740. agreementfrequency:
  10741. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10742. type: integer
  10743. agreementid:
  10744. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10745. type: integer
  10746. agreementname:
  10747. description: 协议名称
  10748. type: string
  10749. agreementno:
  10750. description: 协议编号
  10751. type: string
  10752. agreementtype:
  10753. description: 协议类型 - 1:注册 2:登录 3:交易
  10754. type: integer
  10755. agreementversion:
  10756. description: 协议版本号(从1开始每次修改加1)
  10757. type: integer
  10758. createtime:
  10759. description: 创建时间
  10760. type: string
  10761. creatorid:
  10762. description: 创建人
  10763. type: integer
  10764. creatorsrc:
  10765. description: 创建来源 - 1:管理端 2:终端
  10766. type: integer
  10767. isvalid:
  10768. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10769. type: integer
  10770. reviserid:
  10771. description: 修改人
  10772. type: integer
  10773. revisersrc:
  10774. description: 修改来源 - 1:管理端 2:终端
  10775. type: integer
  10776. updatetime:
  10777. description: 更新时间
  10778. type: string
  10779. type: object
  10780. models.QhjAreaFinanceConfig:
  10781. properties:
  10782. additionalratio:
  10783. description: 追加款比例
  10784. type: number
  10785. advanceratio:
  10786. description: 预付款比例
  10787. type: number
  10788. alarmratio:
  10789. description: 告警比例
  10790. type: number
  10791. consumptiondirectreward:
  10792. description: 消费直推奖励值
  10793. type: number
  10794. consumptionenabled:
  10795. description: 是否启用消费奖励 - 0:不启用 1:启用
  10796. type: integer
  10797. consumptionindirectreward:
  10798. description: 消费间推奖励值
  10799. type: number
  10800. consumptionmodel:
  10801. description: 消费奖励方式 - 1:比率 2:固定
  10802. type: integer
  10803. customerservicenum:
  10804. description: 客服电话
  10805. type: string
  10806. dayinterestrate:
  10807. description: 日利率
  10808. type: number
  10809. disableconsumptiontips:
  10810. description: 关闭消费奖励提示
  10811. type: string
  10812. modifierid:
  10813. description: 修改人ID
  10814. type: integer
  10815. modifysrc:
  10816. description: 审核来源 - 1:管理端 2:终端
  10817. type: integer
  10818. modifytime:
  10819. description: 修改时间
  10820. type: string
  10821. promotionvalue:
  10822. description: 推广奖励值(固定)
  10823. type: number
  10824. scoreconfigvalue1:
  10825. description: 提货积分配置1
  10826. type: integer
  10827. scoreconfigvalue2:
  10828. description: 提货积分配置2
  10829. type: integer
  10830. userid:
  10831. description: 机构用户ID其他做市关系,都设置为 1
  10832. type: integer
  10833. username:
  10834. description: 用户名称
  10835. type: string
  10836. type: object
  10837. models.QhjBankAccountSign:
  10838. properties:
  10839. accountcode:
  10840. description: 资金账号
  10841. type: string
  10842. accountname:
  10843. description: 资金账号对应的账号名(UserName)
  10844. type: string
  10845. accountname2:
  10846. description: 资金账号对应的账号名(UserName) - 密文
  10847. type: string
  10848. accounttype:
  10849. description: 账户类型(UserType)
  10850. type: integer
  10851. applicationtime:
  10852. description: 最后一次更新的时间
  10853. type: string
  10854. applyexchticket:
  10855. description: 申请流水
  10856. type: string
  10857. auditid:
  10858. description: 审核人
  10859. type: integer
  10860. audittime:
  10861. description: 审核时间
  10862. type: string
  10863. bankaccountname:
  10864. description: 签约银行卡账号名
  10865. type: string
  10866. bankaccountname2:
  10867. description: 签约银行卡账号名 - 密文
  10868. type: string
  10869. bankaccountno:
  10870. description: 银行卡号
  10871. type: string
  10872. bankaccountno2:
  10873. description: 银行卡号 - 密文
  10874. type: string
  10875. bankaccounttype:
  10876. description: 银行账户类型 - 1-对私; 2-对公
  10877. type: integer
  10878. bankcardtype:
  10879. description: 银行卡类型
  10880. type: integer
  10881. bankchildaccount:
  10882. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10883. type: string
  10884. bankcity:
  10885. description: 开户行城市
  10886. type: string
  10887. bankid:
  10888. description: 签约银行ID
  10889. type: string
  10890. bankname:
  10891. description: 签约银行名称
  10892. type: string
  10893. bankprovince:
  10894. description: 开户行省份
  10895. type: string
  10896. branchbankid:
  10897. description: 签约银行支行号
  10898. type: string
  10899. branchbankname:
  10900. description: 签约银行支行名称
  10901. type: string
  10902. cardno:
  10903. description: 证件号码
  10904. type: string
  10905. cardno2:
  10906. description: 证件号码 - 密文
  10907. type: string
  10908. cardtype:
  10909. description: 证件类型
  10910. type: string
  10911. currency:
  10912. description: 币种
  10913. type: string
  10914. cusbankid:
  10915. description: 托管银行编号
  10916. type: string
  10917. direct:
  10918. description: 方向(可以判断那方先发起的签约)
  10919. type: integer
  10920. exchticket:
  10921. description: 最后一次签约成功的流水号
  10922. type: string
  10923. extendinfo:
  10924. description: 扩展信息(JSON字符串)
  10925. type: string
  10926. mobilephone:
  10927. description: 手机号
  10928. type: string
  10929. mobilephone2:
  10930. description: 手机号 - 密文
  10931. type: string
  10932. netaddr:
  10933. description: 调转网址
  10934. type: string
  10935. relateduserid:
  10936. description: 关联使用者userid
  10937. type: integer
  10938. signstatus:
  10939. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10940. 10:审核拒绝 11:换签待审核
  10941. type: integer
  10942. updatetime:
  10943. description: 更新时间(签解约更新时间)
  10944. type: string
  10945. type: object
  10946. models.QhjBankInfo:
  10947. properties:
  10948. bankid:
  10949. description: 银行ID
  10950. type: string
  10951. bankname:
  10952. description: 银行名称
  10953. type: string
  10954. clearbankno:
  10955. description: 清算系统银行编号
  10956. type: string
  10957. orderindex:
  10958. description: 排序顺序
  10959. type: integer
  10960. status:
  10961. description: 状态 - 0:正常 1:注销
  10962. type: integer
  10963. type: object
  10964. models.QhjBrokerApply:
  10965. properties:
  10966. applicantid:
  10967. description: 申请人
  10968. type: integer
  10969. applysrc:
  10970. description: 申请来源 - 1:管理端 2:终端
  10971. type: integer
  10972. applystatus:
  10973. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10974. type: integer
  10975. applytime:
  10976. description: 申请时间
  10977. type: string
  10978. auditorid:
  10979. description: 审核人
  10980. type: integer
  10981. auditremark:
  10982. description: 审核备注
  10983. type: string
  10984. auditsrc:
  10985. description: 审核来源 - 1:管理端 2:终端
  10986. type: integer
  10987. audittime:
  10988. description: 审核时间
  10989. type: string
  10990. audittradedate:
  10991. description: 审核交易日(yyyyMMdd)
  10992. type: string
  10993. brokerapplyid:
  10994. description: 申请ID(SEQ_BROKERAPPLY)
  10995. type: integer
  10996. cardbackphotourl:
  10997. description: 证件背面图片地址
  10998. type: string
  10999. cardfrontphotourl:
  11000. description: 证件正面图片地址
  11001. type: string
  11002. cardnum:
  11003. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11004. type: string
  11005. customername:
  11006. description: 姓名
  11007. type: string
  11008. logincode:
  11009. description: 登录代码
  11010. type: string
  11011. mobile:
  11012. description: 手机号码
  11013. type: string
  11014. parentuserid:
  11015. description: 所属机构id
  11016. type: integer
  11017. parentusername:
  11018. description: 所属机构名称
  11019. type: string
  11020. refereeuserid:
  11021. description: 推荐人id(经纪人)
  11022. type: integer
  11023. refernum:
  11024. description: 推荐码
  11025. type: string
  11026. remark:
  11027. description: 备注
  11028. type: string
  11029. subarealevelpath:
  11030. description: 层级路径
  11031. type: string
  11032. tradedate:
  11033. description: 交易日(yyyyMMdd)
  11034. type: string
  11035. userid:
  11036. description: 申请人用户ID
  11037. type: integer
  11038. userinfotype:
  11039. description: 用户类型 1-个人 2-企业
  11040. type: integer
  11041. username:
  11042. description: 用户名称
  11043. type: string
  11044. type: object
  11045. models.QhjBrokerApplyEx:
  11046. properties:
  11047. applylist:
  11048. description: 经纪人申请记录(只返回最新一条)
  11049. items:
  11050. $ref: '#/definitions/models.QhjBrokerApply'
  11051. type: array
  11052. canrecommend:
  11053. description: 是否经纪人 0-不是 1-是
  11054. type: integer
  11055. refernum:
  11056. description: 推荐码
  11057. type: string
  11058. userid:
  11059. description: 用户id
  11060. type: integer
  11061. userinfotype:
  11062. description: 用户类型 1-个人 2-企业
  11063. type: integer
  11064. type: object
  11065. models.QhjBrokerRewardLog:
  11066. properties:
  11067. accountid:
  11068. description: 资金账号ID
  11069. type: integer
  11070. createtime:
  11071. description: 创建时间(时间)
  11072. type: string
  11073. handlestatus:
  11074. description: 处理状态
  11075. type: integer
  11076. logid:
  11077. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11078. type: string
  11079. marketid:
  11080. description: 市场ID
  11081. type: integer
  11082. mmaccountid:
  11083. description: 做市商资金账号ID
  11084. type: string
  11085. mmuserid:
  11086. description: 做市商用户ID
  11087. type: string
  11088. rewardamount:
  11089. description: 奖励金额
  11090. type: number
  11091. rewardmodel:
  11092. description: 消费奖励方式 - 1:比率 2:固定
  11093. type: integer
  11094. rewardtype:
  11095. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  11096. type: integer
  11097. rewardvalue:
  11098. description: 配置奖励值
  11099. type: number
  11100. srcamount:
  11101. description: 成交金额 [消费奖励] (金额)
  11102. type: number
  11103. srcgoodsid:
  11104. description: 来源商品ID [消费奖励]
  11105. type: string
  11106. srctime:
  11107. description: 来源时间 (成交时间) [消费奖励]
  11108. type: string
  11109. srctradeid:
  11110. description: 来源成交单ID [消费奖励] - 排除提货成交
  11111. type: string
  11112. srcuserid:
  11113. description: 来源用户ID(推广账户)
  11114. type: string
  11115. srcusername:
  11116. description: 推广账户名称
  11117. type: string
  11118. tradedate:
  11119. description: 交易日(yyyyMMdd)
  11120. type: string
  11121. userid:
  11122. description: 经纪人用户ID
  11123. type: integer
  11124. type: object
  11125. models.QhjContract:
  11126. properties:
  11127. contractconfirmtime:
  11128. description: 合同确认时间(时间)
  11129. type: string
  11130. currisklevel:
  11131. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11132. type: integer
  11133. decimalplace:
  11134. description: 商品报价小数位
  11135. type: integer
  11136. enumdicname:
  11137. description: 单位名称
  11138. type: string
  11139. goodscode:
  11140. description: 商品代码
  11141. type: string
  11142. goodsid:
  11143. description: 商品ID [5:融资单]
  11144. type: integer
  11145. goodsname:
  11146. description: 商品名称
  11147. type: string
  11148. goodunitid:
  11149. description: 商品单位id
  11150. type: integer
  11151. initmargin:
  11152. description: 初始保证金(首付款)
  11153. type: number
  11154. lenderamount:
  11155. description: 贷款金额(总额|订单总额)
  11156. type: number
  11157. marginratio:
  11158. description: 保证金比率(首付比例)
  11159. type: number
  11160. payamount:
  11161. description: 已付(已付货款)
  11162. type: number
  11163. reckonrecovermargin:
  11164. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11165. type: number
  11166. recoveredmargin:
  11167. description: 已追缴保证金
  11168. type: number
  11169. remainamount:
  11170. description: 合同剩余金额(融资额)
  11171. type: number
  11172. scfcontractid:
  11173. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11174. type: string
  11175. scfcontractstatus:
  11176. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11177. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11178. type: integer
  11179. scfcontracttype:
  11180. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11181. type: integer
  11182. totalinterest:
  11183. description: 已计总利息(利息)
  11184. type: number
  11185. tradeprice:
  11186. description: 成交价格(成本价格)
  11187. type: number
  11188. userid:
  11189. description: 用户ID
  11190. type: integer
  11191. username:
  11192. description: 用户名称
  11193. type: string
  11194. wrqty:
  11195. description: 仓单数量(数量)
  11196. type: number
  11197. type: object
  11198. models.QhjContractLog:
  11199. properties:
  11200. amount:
  11201. description: 支付金额
  11202. type: number
  11203. amounttype:
  11204. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  11205. type: integer
  11206. logid:
  11207. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11208. type: string
  11209. remainamount:
  11210. description: 剩余货款
  11211. type: number
  11212. scfcontractid:
  11213. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11214. type: integer
  11215. updatetime:
  11216. description: 更新时间
  11217. type: string
  11218. type: object
  11219. models.QhjCusBankSignBankEx:
  11220. properties:
  11221. banklst:
  11222. description: 银行列表
  11223. items:
  11224. $ref: '#/definitions/models.QhjBankInfo'
  11225. type: array
  11226. canallot:
  11227. description: 是否支持跨行调拨 - 0:不支持 1:支持
  11228. type: integer
  11229. canallotquery:
  11230. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  11231. type: integer
  11232. canbindcard:
  11233. description: 是否可绑卡与解卡 - 0:不可 1:可以
  11234. type: integer
  11235. caninamount:
  11236. description: 是否可入金 - 0:不可 1:可以
  11237. type: integer
  11238. caninamount2:
  11239. description: 是否可入金(网银端) - 0:不可 1:可以
  11240. type: integer
  11241. canmodifybankcard:
  11242. description: 是否可修改银行卡号 - 0:不可 1:可以
  11243. type: integer
  11244. canmodifyphone:
  11245. description: 是否可修改手机号 - 0:不可 1:可以
  11246. type: integer
  11247. canmodifysigninfo:
  11248. description: 是否可修改签约信息 - 0:不可 1:可以
  11249. type: integer
  11250. canoutamount:
  11251. description: 是否可出金 - 0:不可 1:可以
  11252. type: integer
  11253. canoutamount2:
  11254. description: 是否可出金(网银端) - 0:不可 1:可以
  11255. type: integer
  11256. canrelease:
  11257. description: 是否可解约 - 0:不可 1:可以
  11258. type: integer
  11259. canrelease2:
  11260. description: 是否可解约(网银端) - 0:不可 1:可以
  11261. type: integer
  11262. cansign:
  11263. description: 是否可签约 - 0:不可 1:可以
  11264. type: integer
  11265. cansign2:
  11266. description: 是否可签约(网银端) - 0:不可 1:可以
  11267. type: integer
  11268. currency:
  11269. description: 币种
  11270. type: string
  11271. cusbankid:
  11272. description: 托管银行编号(对应清算中心TRAN_NO)
  11273. type: string
  11274. cusbankname:
  11275. description: 银行业务名称
  11276. type: string
  11277. cusbankshortname:
  11278. description: 银行业务简称
  11279. type: string
  11280. exchbankid:
  11281. description: 交易所开户银行ID
  11282. type: string
  11283. exchpaybankaccname:
  11284. description: 交易所支出结算账户户名
  11285. type: string
  11286. exchpaybankaccno:
  11287. description: 交易所支出结算账户
  11288. type: string
  11289. isneedcheck:
  11290. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  11291. type: integer
  11292. isneedclear:
  11293. description: 是否需要清算 - 0:不需要 1:需要
  11294. type: integer
  11295. lastcheckstatus:
  11296. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  11297. type: integer
  11298. lastchecktime:
  11299. description: 最后对账时间
  11300. type: string
  11301. lastclearstatus:
  11302. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  11303. type: integer
  11304. lastcleartime:
  11305. description: 最后清算时间
  11306. type: string
  11307. lastsignintime:
  11308. description: 最后签到时间
  11309. type: string
  11310. lastsignouttime:
  11311. description: 最后签退时间
  11312. type: string
  11313. riskinfo:
  11314. description: 签约风险提示书
  11315. type: string
  11316. signstatus:
  11317. description: 当前签到/签退状态 - 1:签到 2:签退
  11318. type: integer
  11319. tradedate:
  11320. description: 交易日(yyyyMMdd)
  11321. type: string
  11322. updatetime:
  11323. description: 当前签到/签退更新时间
  11324. type: string
  11325. type: object
  11326. models.QhjCustomer:
  11327. properties:
  11328. address:
  11329. description: 通讯地址
  11330. type: string
  11331. attachment1:
  11332. description: 附件1
  11333. type: string
  11334. attachment2:
  11335. description: 附件2
  11336. type: string
  11337. audittime:
  11338. description: 审核时间
  11339. type: string
  11340. cardbackphotourl:
  11341. description: 证件反面图片地址
  11342. type: string
  11343. cardfrontphotourl:
  11344. description: 证件正面图片地址
  11345. type: string
  11346. cardnum:
  11347. description: 证件号码
  11348. type: string
  11349. cardtype:
  11350. description: 证件类型
  11351. type: integer
  11352. cardtypename:
  11353. description: 证件类型名称
  11354. type: string
  11355. cityid:
  11356. description: 市
  11357. type: integer
  11358. cityname:
  11359. description: 城市名称
  11360. type: string
  11361. contactname:
  11362. description: 联系人
  11363. type: string
  11364. countryid:
  11365. description: 国家
  11366. type: integer
  11367. countryname:
  11368. description: 国家名称
  11369. type: string
  11370. createtime:
  11371. description: 创建时间
  11372. type: string
  11373. customername:
  11374. description: 客户名称
  11375. type: string
  11376. districtid:
  11377. description: 区域
  11378. type: integer
  11379. districtname:
  11380. description: 地区名称
  11381. type: string
  11382. email:
  11383. description: 邮件
  11384. type: string
  11385. legalpersonname:
  11386. description: 法人姓名(企业)
  11387. type: string
  11388. logincode:
  11389. description: 登录账号(代码)
  11390. type: string
  11391. memberuserid:
  11392. description: 所属机构ID(所属会员)
  11393. type: integer
  11394. memberusername:
  11395. description: 所属会员名称
  11396. type: string
  11397. mobile:
  11398. description: 手机号码
  11399. type: string
  11400. modifytime:
  11401. description: 修改时间
  11402. type: string
  11403. nickname:
  11404. description: 昵称
  11405. type: string
  11406. parentuserid:
  11407. description: 上级机构(所属机构)
  11408. type: integer
  11409. parentusername:
  11410. description: 所属机构名称
  11411. type: string
  11412. provinceid:
  11413. description: 省
  11414. type: integer
  11415. provincename:
  11416. description: 省名称
  11417. type: string
  11418. proxystatementurl:
  11419. description: 授权委托书
  11420. type: string
  11421. remark:
  11422. description: 备注
  11423. type: string
  11424. status:
  11425. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11426. type: integer
  11427. statusdesc:
  11428. description: 账户状态中文描述
  11429. type: string
  11430. taxpayernum:
  11431. description: 纳税人识别号
  11432. type: string
  11433. telphone:
  11434. description: 联系电话
  11435. type: string
  11436. userid:
  11437. description: 用户ID
  11438. type: integer
  11439. userinfotype:
  11440. description: 客户类型 1-个人 2-企业
  11441. type: integer
  11442. username:
  11443. description: 用户名称
  11444. type: string
  11445. type: object
  11446. models.QhjCustomerSignLog:
  11447. properties:
  11448. agreementcontent:
  11449. description: 协议内容
  11450. type: string
  11451. agreementid:
  11452. description: 协议ID
  11453. type: integer
  11454. agreementname:
  11455. description: 协议名称
  11456. type: string
  11457. agreementno:
  11458. description: 协议编号
  11459. type: string
  11460. agreementtype:
  11461. description: 协议类型 - 1:注册 2:登录 3:交易
  11462. type: integer
  11463. agreementversion:
  11464. description: 协议版本号
  11465. type: integer
  11466. createtime:
  11467. description: 创建时间
  11468. type: string
  11469. goodscode:
  11470. description: 商品代码
  11471. type: string
  11472. goodsid:
  11473. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11474. type: integer
  11475. goodsname:
  11476. description: 商品名称
  11477. type: string
  11478. logid:
  11479. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11480. type: integer
  11481. nodetype:
  11482. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11483. type: integer
  11484. signadressurl:
  11485. description: 签约文件地址
  11486. type: string
  11487. signtimestamp:
  11488. description: 签约状态时间戳
  11489. type: string
  11490. userid:
  11491. description: 客户ID
  11492. type: integer
  11493. username:
  11494. description: 客户名称
  11495. type: string
  11496. type: object
  11497. models.QhjCustomerSignStatus:
  11498. properties:
  11499. createtime:
  11500. description: 创建时间
  11501. type: string
  11502. goodscode:
  11503. description: 商品代码
  11504. type: string
  11505. goodsid:
  11506. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11507. type: integer
  11508. goodsname:
  11509. description: 商品名称
  11510. type: string
  11511. nodetype:
  11512. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11513. type: integer
  11514. signtimestamp:
  11515. description: 签约状态时间戳
  11516. type: string
  11517. tradedate:
  11518. description: 创建交易日(yyyyMMdd)
  11519. type: string
  11520. updatetime:
  11521. description: 更新时间
  11522. type: string
  11523. userid:
  11524. description: 客户ID
  11525. type: integer
  11526. username:
  11527. description: 客户名称
  11528. type: string
  11529. type: object
  11530. models.QhjMgrAccountOutInApply:
  11531. properties:
  11532. accountcode:
  11533. description: 资金账号
  11534. type: string
  11535. accountname:
  11536. description: 用户名称(名称)
  11537. type: string
  11538. accountpwd:
  11539. description: 资金密码
  11540. type: string
  11541. accountticket:
  11542. description: 最新账户服务流水号
  11543. type: string
  11544. amount:
  11545. description: 金额
  11546. type: number
  11547. applyremark:
  11548. description: 申请备注
  11549. type: string
  11550. applystatus:
  11551. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11552. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11553. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11554. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11555. type: integer
  11556. auditid:
  11557. description: 审核人
  11558. type: integer
  11559. audittime:
  11560. description: 审核时间
  11561. type: string
  11562. bank_apply_ticket:
  11563. description: 银行申请流水
  11564. type: string
  11565. bankaccountname:
  11566. description: 银行账户名
  11567. type: string
  11568. bankaccountno:
  11569. description: 银行卡号
  11570. type: string
  11571. bankid:
  11572. description: 银行编号
  11573. type: string
  11574. bankname:
  11575. description: 银行名称
  11576. type: string
  11577. bankticket:
  11578. description: 银行流水
  11579. type: string
  11580. branchbankid:
  11581. description: 银行支行号
  11582. type: string
  11583. branchbankname:
  11584. description: 银行支行名称
  11585. type: string
  11586. capamountout:
  11587. description: 出金(劣后本金) - 外部子账户
  11588. type: number
  11589. certificatephotourl:
  11590. description: 凭证地址
  11591. type: string
  11592. charge:
  11593. description: 手续费
  11594. type: number
  11595. checkerrorflag:
  11596. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11597. type: integer
  11598. currency:
  11599. description: 币种
  11600. type: string
  11601. cusbankid:
  11602. description: 托管银行编号
  11603. type: string
  11604. exchticket:
  11605. description: 银行服务流水号
  11606. type: string
  11607. executetype:
  11608. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11609. 7:外部子账户:入金 8:外部子账户:出金'
  11610. type: integer
  11611. extendinfo:
  11612. description: 扩展信息
  11613. type: string
  11614. extoperateid:
  11615. description: 交易服务流水号
  11616. type: integer
  11617. infamount:
  11618. description: 劣后金额(自有)
  11619. type: number
  11620. logincode:
  11621. description: 登录账号(账号)
  11622. type: string
  11623. netaddr:
  11624. description: 调转网址
  11625. type: string
  11626. priamount:
  11627. description: 优先金额(授信)
  11628. type: number
  11629. reauditid:
  11630. description: 复审人
  11631. type: integer
  11632. reauditremark:
  11633. description: 复审备注
  11634. type: string
  11635. reaudittime:
  11636. description: 复审时间
  11637. type: string
  11638. relatedorderid:
  11639. description: 三方关联ID
  11640. type: string
  11641. remark:
  11642. description: 备注
  11643. type: string
  11644. remark2:
  11645. description: 备注(失败原因)
  11646. type: string
  11647. soucreamount:
  11648. description: 原始出入金金额
  11649. type: number
  11650. soucrecurrencyid:
  11651. description: 原始出入金币种
  11652. type: integer
  11653. tradedate:
  11654. description: 交易日(yyyyMMdd)
  11655. type: string
  11656. updatetime:
  11657. description: 更新时间(申请时间)
  11658. type: string
  11659. userid:
  11660. description: 用户id
  11661. type: integer
  11662. userinfotype:
  11663. description: 账户类型 1-个人 2-企业
  11664. type: integer
  11665. type: object
  11666. models.QhjMgrBrokerApply:
  11667. properties:
  11668. applicantid:
  11669. description: 申请人
  11670. type: integer
  11671. applysrc:
  11672. description: 申请来源 - 1:管理端 2:终端
  11673. type: integer
  11674. applystatus:
  11675. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11676. type: integer
  11677. applytime:
  11678. description: 申请时间
  11679. type: string
  11680. auditorid:
  11681. description: 审核人
  11682. type: integer
  11683. auditremark:
  11684. description: 审核备注
  11685. type: string
  11686. auditsrc:
  11687. description: 审核来源 - 1:管理端 2:终端
  11688. type: integer
  11689. audittime:
  11690. description: 审核时间
  11691. type: string
  11692. audittradedate:
  11693. description: 审核交易日(yyyyMMdd)
  11694. type: string
  11695. brokerapplyid:
  11696. description: 申请ID(SEQ_BROKERAPPLY)
  11697. type: integer
  11698. cardbackphotourl:
  11699. description: 证件背面图片地址
  11700. type: string
  11701. cardfrontphotourl:
  11702. description: 证件正面图片地址
  11703. type: string
  11704. cardnum:
  11705. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11706. type: string
  11707. customername:
  11708. description: 姓名
  11709. type: string
  11710. filterstatus:
  11711. description: 筛选条件
  11712. type: string
  11713. logincode:
  11714. description: 登录代码
  11715. type: string
  11716. mobile:
  11717. description: 手机号码
  11718. type: string
  11719. parentuserid:
  11720. description: 所属机构id
  11721. type: integer
  11722. parentusername:
  11723. description: 所属机构名称
  11724. type: string
  11725. refereeuserid:
  11726. description: 推荐人id(经纪人)
  11727. type: integer
  11728. refernum:
  11729. description: 推荐码
  11730. type: string
  11731. remark:
  11732. description: 备注
  11733. type: string
  11734. subarealevelpath:
  11735. description: 层级路径
  11736. type: string
  11737. tradedate:
  11738. description: 交易日(yyyyMMdd)
  11739. type: string
  11740. userid:
  11741. description: 申请人用户ID
  11742. type: integer
  11743. userinfotype:
  11744. description: 用户类型 1-个人 2-企业
  11745. type: integer
  11746. username:
  11747. description: 用户名称
  11748. type: string
  11749. type: object
  11750. models.QhjMgrBrokerRewardReport:
  11751. properties:
  11752. createtime:
  11753. description: 创建时间(注册时间)
  11754. type: string
  11755. cycletime:
  11756. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11757. type: string
  11758. cycletype:
  11759. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11760. type: integer
  11761. directtotalnum:
  11762. description: 直推总人数【期末】
  11763. type: integer
  11764. indirecttotalnum:
  11765. description: 间推总人数【期末】
  11766. type: integer
  11767. mobile:
  11768. description: 电话号码
  11769. type: string
  11770. refereeuserid:
  11771. description: 推荐人id(经纪人id)
  11772. type: integer
  11773. refereeusername:
  11774. description: 推荐人名称(经纪人) 上级经纪人名称
  11775. type: string
  11776. refernum:
  11777. description: 推荐码
  11778. type: string
  11779. subarealevelpath:
  11780. description: 用户层级路径
  11781. type: string
  11782. todayrewardamount:
  11783. description: 奖励总金额【汇总】
  11784. type: number
  11785. updatetime:
  11786. description: 更新时间
  11787. type: string
  11788. userid:
  11789. description: 经纪人用户ID
  11790. type: integer
  11791. userinfotype:
  11792. description: 用户类型 1-个人 2-企业
  11793. type: integer
  11794. username:
  11795. description: 用户名称
  11796. type: string
  11797. type: object
  11798. models.QhjMgrContract:
  11799. properties:
  11800. contractconfirmtime:
  11801. description: 合同确认时间(时间)
  11802. type: string
  11803. currisklevel:
  11804. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11805. type: integer
  11806. decimalplace:
  11807. description: 商品报价小数位
  11808. type: integer
  11809. enumdicname:
  11810. description: 单位名称
  11811. type: string
  11812. goodscode:
  11813. description: 商品代码
  11814. type: string
  11815. goodsid:
  11816. description: 商品ID [5:融资单]
  11817. type: integer
  11818. goodsname:
  11819. description: 商品名称
  11820. type: string
  11821. goodunitid:
  11822. description: 商品单位id
  11823. type: integer
  11824. initmargin:
  11825. description: 初始保证金(首付款)
  11826. type: number
  11827. lenderamount:
  11828. description: 贷款金额(总额|订单总额)
  11829. type: number
  11830. logincode:
  11831. description: 账号(登录代码)
  11832. type: string
  11833. marginratio:
  11834. description: 保证金比率(首付比例)
  11835. type: number
  11836. mobile:
  11837. description: 电话号码(用户资料里的电话)
  11838. type: string
  11839. payamount:
  11840. description: 已付(已付货款)
  11841. type: number
  11842. reckonrecovermargin:
  11843. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11844. type: number
  11845. recoveredmargin:
  11846. description: 已追缴保证金
  11847. type: number
  11848. remainamount:
  11849. description: 合同剩余金额(融资额)
  11850. type: number
  11851. scfcontractid:
  11852. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11853. type: string
  11854. scfcontractstatus:
  11855. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11856. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11857. type: integer
  11858. scfcontracttype:
  11859. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11860. type: integer
  11861. totalinterest:
  11862. description: 已计总利息(利息)
  11863. type: number
  11864. tradedate:
  11865. description: 交易日
  11866. type: string
  11867. tradeprice:
  11868. description: 成交价格(成本价格)
  11869. type: number
  11870. userid:
  11871. description: 用户ID
  11872. type: integer
  11873. userinfotype:
  11874. description: 用户类型 1-个人 2-企业
  11875. type: integer
  11876. username:
  11877. description: 用户名称
  11878. type: string
  11879. wrqty:
  11880. description: 仓单数量(数量)
  11881. type: number
  11882. type: object
  11883. models.QhjMgrCustomer:
  11884. properties:
  11885. address:
  11886. description: 通讯地址
  11887. type: string
  11888. attachment1:
  11889. description: 附件1
  11890. type: string
  11891. audittime:
  11892. description: 审核时间
  11893. type: string
  11894. birthday:
  11895. description: 生日
  11896. type: string
  11897. brokerid:
  11898. description: 所属客户经理id
  11899. type: integer
  11900. brokername:
  11901. description: 所属客户经理名称
  11902. type: string
  11903. cardbackphotourl:
  11904. description: 证件反面图片地址
  11905. type: string
  11906. cardfrontphotourl:
  11907. description: 证件正面图片地址
  11908. type: string
  11909. cardnum:
  11910. description: 证件号码
  11911. type: string
  11912. cardtype:
  11913. description: 证件类型
  11914. type: integer
  11915. cardtypename:
  11916. description: 证件类型名称
  11917. type: string
  11918. cityid:
  11919. description: 市
  11920. type: integer
  11921. cityname:
  11922. description: 城市名称
  11923. type: string
  11924. contactname:
  11925. description: 联系人
  11926. type: string
  11927. countryid:
  11928. description: 国家
  11929. type: integer
  11930. countryname:
  11931. description: 国家名称
  11932. type: string
  11933. createtime:
  11934. description: 创建时间
  11935. type: string
  11936. customername:
  11937. description: 客户名称
  11938. type: string
  11939. districtid:
  11940. description: 区域
  11941. type: integer
  11942. districtname:
  11943. description: 地区名称
  11944. type: string
  11945. email:
  11946. description: 邮件
  11947. type: string
  11948. legalpersonname:
  11949. description: 法人姓名(企业)
  11950. type: string
  11951. logincode:
  11952. description: 登录账号(代码)
  11953. type: string
  11954. memberuserid:
  11955. description: 所属机构ID(所属会员)
  11956. type: integer
  11957. memberusername:
  11958. description: 所属会员名称
  11959. type: string
  11960. mobile:
  11961. description: 手机号码
  11962. type: string
  11963. modifytime:
  11964. description: 修改时间
  11965. type: string
  11966. nickname:
  11967. description: 昵称
  11968. type: string
  11969. parentuserid:
  11970. description: 上级机构(所属机构)
  11971. type: integer
  11972. parentusername:
  11973. description: 所属机构名称
  11974. type: string
  11975. provinceid:
  11976. description: 省
  11977. type: integer
  11978. provincename:
  11979. description: 省名称
  11980. type: string
  11981. proxystatementurl:
  11982. description: 授权委托书
  11983. type: string
  11984. querytype:
  11985. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11986. type: integer
  11987. remark:
  11988. description: 备注
  11989. type: string
  11990. sex:
  11991. description: 性别 0-女 1-男
  11992. type: integer
  11993. status:
  11994. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11995. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11996. type: integer
  11997. statusdesc:
  11998. description: 账户状态中文描述
  11999. type: string
  12000. taxpayernum:
  12001. description: 纳税人识别号
  12002. type: string
  12003. telphone:
  12004. description: 联系电话
  12005. type: string
  12006. userid:
  12007. description: 用户ID
  12008. type: integer
  12009. userinfotype:
  12010. description: 客户类型 1-个人 2-企业
  12011. type: integer
  12012. username:
  12013. description: 用户名称
  12014. type: string
  12015. type: object
  12016. models.QhjMgrPickGoods:
  12017. properties:
  12018. enumdicname:
  12019. description: 单位名称(提货商品)
  12020. type: string
  12021. goodsid:
  12022. description: 商品id
  12023. type: integer
  12024. imageaddress:
  12025. description: 图片
  12026. type: string
  12027. modifierid:
  12028. description: 修改人
  12029. type: integer
  12030. modifiername:
  12031. description: 修改人名称
  12032. type: string
  12033. modifysrc:
  12034. description: 修改来源 - 1:管理端 2:终端
  12035. type: integer
  12036. pickupgoodsagreeunit:
  12037. description: 合约乘数
  12038. type: number
  12039. pickupgoodsdesc:
  12040. description: 描述
  12041. type: string
  12042. pickupgoodsid:
  12043. description: 提货商品ID
  12044. type: string
  12045. pickupgoodsname:
  12046. description: 提货商品名称
  12047. type: string
  12048. pickupgoodsstatus:
  12049. description: 状态 - 1:正常 2:停用 3:注销
  12050. type: integer
  12051. pickupgoodsunitid:
  12052. description: 单位ID
  12053. type: integer
  12054. pickupratio:
  12055. description: 提货系数
  12056. type: number
  12057. preparedays:
  12058. description: 备货期(天)
  12059. type: integer
  12060. remark:
  12061. description: 备注
  12062. type: string
  12063. updatetime:
  12064. description: 更新时间
  12065. type: string
  12066. type: object
  12067. models.QhjMgrPositionRsp:
  12068. properties:
  12069. accountid:
  12070. description: 账号Id
  12071. type: integer
  12072. accountname:
  12073. description: 用户名称
  12074. type: string
  12075. agreeunit:
  12076. description: 合约乘数
  12077. type: number
  12078. averageprice:
  12079. description: 均价
  12080. type: number
  12081. avialqty:
  12082. description: 可用数量
  12083. type: number
  12084. decimalplace:
  12085. description: 报价小数位
  12086. type: integer
  12087. enumdicname:
  12088. description: 单位名称(商品)
  12089. type: string
  12090. frozenqty:
  12091. description: 冻结数量
  12092. type: number
  12093. goodscode:
  12094. description: 商品代码(内部)
  12095. type: string
  12096. goodsid:
  12097. description: 商品Id
  12098. type: integer
  12099. goodsname:
  12100. description: 商品名称
  12101. type: string
  12102. goodunitid:
  12103. description: 报价单位ID
  12104. type: integer
  12105. holderamount:
  12106. description: 金额
  12107. type: number
  12108. holderqty:
  12109. description: 持有数量
  12110. type: number
  12111. holdertype:
  12112. description: 持仓类别 - 1:单边持仓 2:双边持仓
  12113. type: integer
  12114. logincode:
  12115. description: 登录代码(账户)
  12116. type: string
  12117. marketid:
  12118. description: 市场id
  12119. type: integer
  12120. qtydecimalplace:
  12121. description: 成交量小数位
  12122. type: integer
  12123. trademode:
  12124. description: 交易模式
  12125. type: integer
  12126. userid:
  12127. description: 用户id
  12128. type: integer
  12129. userinfotype:
  12130. description: 账户类型 1-个人 2-企业
  12131. type: integer
  12132. type: object
  12133. models.QhjMgrSubArea:
  12134. properties:
  12135. accountname:
  12136. description: 账户名称(机构名称)
  12137. type: string
  12138. memberuserid:
  12139. description: 所属会员ID
  12140. type: integer
  12141. parenttopuser:
  12142. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12143. type: string
  12144. parentuserid:
  12145. description: 所属机构ID
  12146. type: integer
  12147. rootuserid:
  12148. description: 根用户ID
  12149. type: string
  12150. subaccountlevel:
  12151. description: 子账户层数
  12152. type: integer
  12153. subarealevelpath:
  12154. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12155. type: string
  12156. userid:
  12157. description: 用户ID
  12158. type: integer
  12159. usertype:
  12160. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12161. type: integer
  12162. type: object
  12163. models.QhjMgrTradeDetailRsp:
  12164. properties:
  12165. accountid:
  12166. description: 资金账号
  12167. type: integer
  12168. accountname:
  12169. description: 用户名称
  12170. type: string
  12171. agreeunit:
  12172. description: 合约乘数
  12173. type: number
  12174. buyorsell:
  12175. description: 成交类型(方向) 0:买 1:卖
  12176. type: integer
  12177. decimalplace:
  12178. description: 报价小数位
  12179. type: integer
  12180. enumdicname:
  12181. description: 单位名称(商品)
  12182. type: string
  12183. goodscode:
  12184. description: 商品代码(内部)
  12185. type: string
  12186. goodsid:
  12187. description: 商品id
  12188. type: integer
  12189. goodsname:
  12190. description: 商品名称
  12191. type: string
  12192. goodunitid:
  12193. description: 报价单位ID
  12194. type: integer
  12195. logincode:
  12196. description: 登录代码(账户)
  12197. type: string
  12198. marketid:
  12199. description: 市场id
  12200. type: integer
  12201. orderid:
  12202. description: 关联委托单号
  12203. type: string
  12204. qtydecimalplace:
  12205. description: 成交量小数位
  12206. type: integer
  12207. tradeamount:
  12208. description: 金额
  12209. type: number
  12210. tradedate:
  12211. description: 交易日
  12212. type: string
  12213. tradeid:
  12214. description: 成交单号
  12215. type: string
  12216. trademode:
  12217. description: 交易模式
  12218. type: integer
  12219. tradeprice:
  12220. description: 价格
  12221. type: number
  12222. tradeqty:
  12223. description: 数量
  12224. type: number
  12225. tradetime:
  12226. description: 成交时间
  12227. type: string
  12228. userid:
  12229. description: 用户id
  12230. type: integer
  12231. userinfotype:
  12232. description: 账户类型 1-个人 2-企业
  12233. type: integer
  12234. type: object
  12235. models.QhjMgrTradeOrderDetailRsp:
  12236. properties:
  12237. accountid:
  12238. description: 资金账号
  12239. type: integer
  12240. accountname:
  12241. description: 用户名称
  12242. type: string
  12243. agreeunit:
  12244. description: 合约乘数
  12245. type: number
  12246. amount:
  12247. description: 金额
  12248. type: number
  12249. decimalplace:
  12250. description: 报价小数位
  12251. type: integer
  12252. enumdicname:
  12253. description: 单位名称(商品)
  12254. type: string
  12255. goodscode:
  12256. description: 商品代码(内部)
  12257. type: string
  12258. goodsid:
  12259. description: 商品id
  12260. type: integer
  12261. goodsname:
  12262. description: 商品名称
  12263. type: string
  12264. goodunitid:
  12265. description: 报价单位ID
  12266. type: integer
  12267. logincode:
  12268. description: 登录代码(账户)
  12269. type: string
  12270. marketid:
  12271. description: 市场id
  12272. type: integer
  12273. orderid:
  12274. description: 关联委托单号
  12275. type: string
  12276. orderprice:
  12277. description: 价格
  12278. type: number
  12279. orderqty:
  12280. description: 数量
  12281. type: number
  12282. orderstatus:
  12283. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12284. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12285. 16:成交失败违约(荷兰式竞拍专用)
  12286. type: integer
  12287. ordertime:
  12288. description: 委托时间
  12289. type: string
  12290. qtydecimalplace:
  12291. description: 成交量小数位
  12292. type: integer
  12293. tradedate:
  12294. description: 交易日
  12295. type: string
  12296. trademode:
  12297. description: 交易模式
  12298. type: integer
  12299. userid:
  12300. description: 用户id
  12301. type: integer
  12302. userinfotype:
  12303. description: 账户类型 1-个人 2-企业
  12304. type: integer
  12305. type: object
  12306. models.QhjMgrTradePayOrder:
  12307. properties:
  12308. accountname:
  12309. description: 用户名称
  12310. type: string
  12311. advanceratio:
  12312. description: 首付比率
  12313. type: number
  12314. agreeunit:
  12315. description: 合约乘数
  12316. type: number
  12317. buyaccountid:
  12318. description: 买方账号ID[报价币种]
  12319. type: integer
  12320. buyorderid:
  12321. description: 买方委托单号(关联单号)
  12322. type: string
  12323. createtime:
  12324. description: 创建时间
  12325. type: string
  12326. decimalplace:
  12327. description: 报价小数位
  12328. type: integer
  12329. enumdicname:
  12330. description: 单位名称(商品)
  12331. type: string
  12332. goodscode:
  12333. description: 商品代码(内部)
  12334. type: string
  12335. goodsid:
  12336. description: 商品ID
  12337. type: integer
  12338. goodsname:
  12339. description: 商品名称
  12340. type: string
  12341. goodunitid:
  12342. description: 报价单位ID
  12343. type: integer
  12344. logincode:
  12345. description: 登录代码(账户)
  12346. type: string
  12347. marketid:
  12348. description: 市场id
  12349. type: integer
  12350. offamount:
  12351. description: 优惠金额
  12352. type: number
  12353. operatetype:
  12354. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12355. type: integer
  12356. payamount:
  12357. description: 支付金额(金额)
  12358. type: number
  12359. payflag:
  12360. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12361. type: integer
  12362. paylimitedtime:
  12363. description: 支付期限
  12364. type: string
  12365. paytime:
  12366. description: 付款时间
  12367. type: string
  12368. qtydecimalplace:
  12369. description: 成交量小数位
  12370. type: integer
  12371. sellaccountid:
  12372. description: 卖方账号ID[报价币种]
  12373. type: integer
  12374. sellorderid:
  12375. description: 卖方委托单号
  12376. type: string
  12377. tradeamount:
  12378. description: 成交金额(优惠后金额)
  12379. type: number
  12380. tradecharge:
  12381. description: 成交手续费(买方)
  12382. type: number
  12383. tradedate:
  12384. description: 交易日(yyyyMMdd)
  12385. type: string
  12386. tradeid:
  12387. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12388. type: string
  12389. trademode:
  12390. description: 交易模式
  12391. type: integer
  12392. tradeprice:
  12393. description: 成交价格(价格)
  12394. type: number
  12395. tradeqty:
  12396. description: 成交数量(数量)
  12397. type: number
  12398. tradetime:
  12399. description: 成交时间
  12400. type: string
  12401. userid:
  12402. description: 用户id
  12403. type: integer
  12404. userinfotype:
  12405. description: 账户类型 1-个人 2-企业
  12406. type: integer
  12407. type: object
  12408. models.QhjMyTeamEx:
  12409. properties:
  12410. accountname:
  12411. description: 用户名称
  12412. type: string
  12413. accountstatus:
  12414. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12415. type: integer
  12416. createtime:
  12417. description: 创建时间
  12418. type: string
  12419. mobile:
  12420. description: 手机号码
  12421. type: string
  12422. refereeuserid:
  12423. description: 推荐人id
  12424. type: integer
  12425. refernum:
  12426. description: 推荐码
  12427. type: string
  12428. subList:
  12429. items:
  12430. $ref: '#/definitions/models.QhjMyTeamEx'
  12431. type: array
  12432. userid:
  12433. description: 用户id
  12434. type: integer
  12435. userinfotype:
  12436. description: 用户类型 1-个人 2-企业
  12437. type: integer
  12438. type: object
  12439. models.QhjNodeAgreementConfig:
  12440. properties:
  12441. agreementcontent:
  12442. description: 协议内容
  12443. type: string
  12444. agreementid:
  12445. description: 协议ID
  12446. type: integer
  12447. agreementname:
  12448. description: 协议名称
  12449. type: string
  12450. agreementno:
  12451. description: 协议编号
  12452. type: string
  12453. agreementtype:
  12454. description: 协议类型 - 1:注册 2:登录 3:交易
  12455. type: integer
  12456. agreementversion:
  12457. description: 协议版本号
  12458. type: integer
  12459. configid:
  12460. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12461. type: integer
  12462. createtime:
  12463. description: 创建时间
  12464. type: string
  12465. goodsid:
  12466. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12467. type: integer
  12468. nodetype:
  12469. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12470. type: integer
  12471. type: object
  12472. models.QhjParentAreaList:
  12473. properties:
  12474. accountname:
  12475. description: 账户名称(机构名称)
  12476. type: string
  12477. userid:
  12478. description: 用户ID
  12479. type: integer
  12480. usertype:
  12481. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12482. type: integer
  12483. type: object
  12484. models.QhjPayOrder:
  12485. properties:
  12486. advanceratio:
  12487. description: 首付比率
  12488. type: number
  12489. buyaccountid:
  12490. description: 买方账号ID[报价币种]
  12491. type: integer
  12492. buyorderid:
  12493. description: 买方委托单号
  12494. type: string
  12495. createtime:
  12496. description: 创建时间
  12497. type: string
  12498. decimalplace:
  12499. description: 商品报价小数位
  12500. type: integer
  12501. enumdicname:
  12502. description: 单位名称
  12503. type: string
  12504. goodscode:
  12505. description: 商品代码
  12506. type: string
  12507. goodsid:
  12508. description: 商品ID
  12509. type: integer
  12510. goodsname:
  12511. description: 商品名称
  12512. type: string
  12513. goodunitid:
  12514. description: 商品单位id
  12515. type: integer
  12516. marketid:
  12517. description: 市场ID
  12518. type: integer
  12519. offamount:
  12520. description: 优惠金额
  12521. type: number
  12522. operatetype:
  12523. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12524. type: integer
  12525. payamount:
  12526. description: 支付金额
  12527. type: number
  12528. payflag:
  12529. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12530. type: integer
  12531. paylimitedtime:
  12532. description: 支付期限
  12533. type: string
  12534. paytime:
  12535. description: 付款时间
  12536. type: string
  12537. qtydecimalplace:
  12538. description: 成交量小数位
  12539. type: integer
  12540. sellaccountid:
  12541. description: 卖方账号ID[报价币种]
  12542. type: integer
  12543. sellorderid:
  12544. description: 卖方委托单号
  12545. type: string
  12546. tradeamount:
  12547. description: 成交金额(优惠后金额)
  12548. type: number
  12549. tradecharge:
  12550. description: 成交手续费(买方)
  12551. type: number
  12552. tradedate:
  12553. description: 交易日(yyyyMMdd)
  12554. type: string
  12555. tradeid:
  12556. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12557. type: string
  12558. tradeprice:
  12559. description: 成交价格
  12560. type: number
  12561. tradeqty:
  12562. description: 成交数量
  12563. type: number
  12564. type: object
  12565. models.QhjPickArea:
  12566. properties:
  12567. address:
  12568. description: 详细地址
  12569. type: string
  12570. cityid:
  12571. description: 市
  12572. type: integer
  12573. cityname:
  12574. description: 城市名称
  12575. type: string
  12576. countryid:
  12577. description: 国家
  12578. type: integer
  12579. countryname:
  12580. description: 国家名称
  12581. type: string
  12582. districtid:
  12583. description: 地区
  12584. type: integer
  12585. districtname:
  12586. description: 地区名称
  12587. type: string
  12588. fromuserid:
  12589. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12590. type: integer
  12591. fromusername:
  12592. description: 所属机构名称
  12593. type: string
  12594. provinceid:
  12595. description: 省
  12596. type: integer
  12597. provincename:
  12598. description: 省名称
  12599. type: string
  12600. suborgtype:
  12601. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12602. type: integer
  12603. userid:
  12604. description: 机构用户ID 其他做市关系,都设置为 1
  12605. type: integer
  12606. username:
  12607. description: 机构用户名称(门店门称)
  12608. type: string
  12609. type: object
  12610. models.QhjPickGoods:
  12611. properties:
  12612. enumdicname:
  12613. description: 单位名称(提货商品)
  12614. type: string
  12615. goodsid:
  12616. description: 商品id
  12617. type: integer
  12618. imageaddress:
  12619. description: 图片
  12620. type: string
  12621. modifierid:
  12622. description: 修改人
  12623. type: integer
  12624. modifiername:
  12625. description: 修改人名称
  12626. type: string
  12627. modifysrc:
  12628. description: 修改来源 - 1:管理端 2:终端
  12629. type: integer
  12630. pickupgoodsagreeunit:
  12631. description: 合约乘数
  12632. type: number
  12633. pickupgoodsdesc:
  12634. description: 描述
  12635. type: string
  12636. pickupgoodsid:
  12637. description: 提货商品ID
  12638. type: string
  12639. pickupgoodsname:
  12640. description: 提货商品名称
  12641. type: string
  12642. pickupgoodsstatus:
  12643. description: 状态 - 1:正常 2:停用 3:注销
  12644. type: integer
  12645. pickupgoodsunitid:
  12646. description: 单位ID
  12647. type: integer
  12648. pickupratio:
  12649. description: 提货系数
  12650. type: number
  12651. preparedays:
  12652. description: 备货期(天)
  12653. type: integer
  12654. remark:
  12655. description: 备注
  12656. type: string
  12657. updatetime:
  12658. description: 更新时间
  12659. type: string
  12660. type: object
  12661. models.QhjRSTriggerLog:
  12662. properties:
  12663. accountid:
  12664. description: 用户资金账户
  12665. type: integer
  12666. accountname:
  12667. description: 账号名称(ACCOUNTID对应的名称)
  12668. type: string
  12669. currencyid:
  12670. description: 币种id
  12671. type: integer
  12672. currencyname:
  12673. description: 币种名称
  12674. type: string
  12675. decimalplace:
  12676. description: 商品报价小数位
  12677. type: integer
  12678. enumdicname:
  12679. description: 单位名称
  12680. type: string
  12681. goodscode:
  12682. description: 定投商品代码
  12683. type: string
  12684. goodsid:
  12685. description: 定投商品ID
  12686. type: integer
  12687. goodsname:
  12688. description: 定投商品名称
  12689. type: string
  12690. goodunitid:
  12691. description: 定投商品单位id
  12692. type: integer
  12693. logid:
  12694. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12695. type: string
  12696. logincode:
  12697. description: 账号(登录代码)
  12698. type: string
  12699. qtydecimalplace:
  12700. description: 成交量小数位
  12701. type: integer
  12702. regularlycycle:
  12703. description: 定投频率 - 1:每周 2:每月
  12704. type: integer
  12705. regularlycyclevalue:
  12706. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12707. type: string
  12708. regularlymode:
  12709. description: 定投方式 - 1:按数量 2:按金额
  12710. type: integer
  12711. regularlymodevalue:
  12712. description: 定投方式值 - 数量或金额
  12713. type: number
  12714. regularlystrategyid:
  12715. description: 定投策略ID
  12716. type: integer
  12717. retcode:
  12718. description: 错误码
  12719. type: string
  12720. tradeid:
  12721. description: 成交单ID
  12722. type: string
  12723. triggeramount:
  12724. description: 触发金额
  12725. type: number
  12726. triggerqty:
  12727. description: 触发数量
  12728. type: number
  12729. triggerstatus:
  12730. description: 触发状态 - 1:成功 2:失败
  12731. type: integer
  12732. triggertime:
  12733. description: 触发时间
  12734. type: string
  12735. triggertradedate:
  12736. description: 触发交易日
  12737. type: string
  12738. userid:
  12739. description: 所属用户ID
  12740. type: integer
  12741. userinfotype:
  12742. description: 用户类型 1-个人 2-企业
  12743. type: integer
  12744. username:
  12745. description: 用户名称(userid对应的名称)
  12746. type: string
  12747. type: object
  12748. models.QhjRStrategy:
  12749. properties:
  12750. accountid:
  12751. description: 用户资金账户
  12752. type: integer
  12753. accountname:
  12754. description: 账号名称(ACCOUNTID对应的名称)
  12755. type: string
  12756. currencyid:
  12757. description: 币种id
  12758. type: integer
  12759. currencyname:
  12760. description: 币种名称
  12761. type: string
  12762. decimalplace:
  12763. description: 商品报价小数位
  12764. type: integer
  12765. enumdicname:
  12766. description: 单位名称
  12767. type: string
  12768. goodscode:
  12769. description: 定投商品代码
  12770. type: string
  12771. goodsid:
  12772. description: 定投商品ID
  12773. type: integer
  12774. goodsname:
  12775. description: 定投商品名称
  12776. type: string
  12777. goodunitid:
  12778. description: 定投商品单位id
  12779. type: integer
  12780. lasteffecttradedate:
  12781. description: 最新生效交易日
  12782. type: string
  12783. laststoptradedate:
  12784. description: 最新暂停交易日
  12785. type: string
  12786. lasttriggertradedate:
  12787. description: 最新触发交易日
  12788. type: string
  12789. logincode:
  12790. description: 账号(登录代码)
  12791. type: string
  12792. nexttriggeramount:
  12793. description: 下次触发金额
  12794. type: number
  12795. nexttriggerdate:
  12796. description: 下次触发日期
  12797. type: string
  12798. nexttriggerqty:
  12799. description: 下次触发数量 [按小数位放大值]
  12800. type: number
  12801. qtydecimalplace:
  12802. description: 成交量小数位
  12803. type: integer
  12804. regularlycycle:
  12805. description: 定投频率 - 1:每周 2:每月
  12806. type: integer
  12807. regularlycyclevalue:
  12808. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12809. type: string
  12810. regularlymode:
  12811. description: 定投方式 - 1:按数量 2:按金额
  12812. type: integer
  12813. regularlymodevalue:
  12814. description: 定投方式值 - 数量或金额
  12815. type: number
  12816. regularlystrategyid:
  12817. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12818. type: integer
  12819. regularlystrategystatus:
  12820. description: 策略状态 - 1:正常 2:暂停 3:终止
  12821. type: integer
  12822. remark:
  12823. description: 备注
  12824. type: string
  12825. triggersuccesstimes:
  12826. description: 累计定投成功次数
  12827. type: string
  12828. triggertotalamount:
  12829. description: 累计定投金额(成功)
  12830. type: number
  12831. triggertotalqty:
  12832. description: 累计定投数量(成功) [按小数位放大值]
  12833. type: number
  12834. triggertotaltimes:
  12835. description: 累计定投总次数
  12836. type: string
  12837. updatesrc:
  12838. description: 更新来源 - 1:管理端 2:终端
  12839. type: integer
  12840. updatetime:
  12841. description: 更新时间
  12842. type: string
  12843. updatorid:
  12844. description: 更新人
  12845. type: string
  12846. userid:
  12847. description: 所属用户ID
  12848. type: integer
  12849. userinfotype:
  12850. description: 用户类型 1-个人 2-企业
  12851. type: integer
  12852. username:
  12853. description: 用户名称(userid对应的名称)
  12854. type: string
  12855. type: object
  12856. models.QhjReckonPriceLog:
  12857. properties:
  12858. decimalplace:
  12859. description: 商品报价小数位
  12860. type: integer
  12861. goodscode:
  12862. description: 商品代码
  12863. type: string
  12864. goodsid:
  12865. description: 商品ID
  12866. type: integer
  12867. goodsname:
  12868. description: 商品名称
  12869. type: string
  12870. lastreckonprice:
  12871. description: 上日结算价
  12872. type: number
  12873. nextdnlimitprice:
  12874. description: 下个交易日跌停价
  12875. type: number
  12876. nexttrade:
  12877. description: 下个交易日
  12878. type: string
  12879. nextuplimitprice:
  12880. description: 下个交易日涨停价
  12881. type: number
  12882. reckonprice:
  12883. description: 今日结算价(定投价)
  12884. type: number
  12885. reckontime:
  12886. description: 结算时间
  12887. type: string
  12888. totalholderqty:
  12889. description: 总持仓数
  12890. type: integer
  12891. totalstock:
  12892. description: 总库存
  12893. type: integer
  12894. tradedate:
  12895. description: 交易日
  12896. type: string
  12897. updowncount:
  12898. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12899. type: integer
  12900. updownflag:
  12901. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12902. type: integer
  12903. updownrate:
  12904. description: 今日涨跌幅
  12905. type: number
  12906. updownrate_2d:
  12907. description: 连续两日涨跌幅
  12908. type: number
  12909. updownrate_3d:
  12910. description: 连续三日涨跌幅
  12911. type: number
  12912. type: object
  12913. models.QhjScoreLog:
  12914. properties:
  12915. accountid:
  12916. description: 账户ID
  12917. type: integer
  12918. createtime:
  12919. description: 创建时间(时间)
  12920. type: string
  12921. goodsid:
  12922. description: 商品ID
  12923. type: integer
  12924. hasuploaded:
  12925. description: 是否已同步(千海金) 0:未同步 1;已同步
  12926. type: integer
  12927. logid:
  12928. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12929. type: string
  12930. marketid:
  12931. description: 市场ID
  12932. type: integer
  12933. relatedamount:
  12934. description: 关联金额
  12935. type: number
  12936. relatedorderid:
  12937. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12938. type: string
  12939. scoreconfigvalue1:
  12940. description: 积分配置1
  12941. type: integer
  12942. scoreconfigvalue2:
  12943. description: 积分配置1
  12944. type: integer
  12945. scoretype:
  12946. description: 积分类型 - 1:提货积分
  12947. type: integer
  12948. scorevalue:
  12949. description: 积分
  12950. type: number
  12951. tradedate:
  12952. description: 交易日(yyyyMMdd)
  12953. type: string
  12954. uploadedtime:
  12955. description: 同步时间
  12956. type: string
  12957. userid:
  12958. description: 用户ID
  12959. type: integer
  12960. type: object
  12961. models.QhjSiteColumnDetail:
  12962. properties:
  12963. author:
  12964. description: 作者
  12965. type: string
  12966. brief:
  12967. description: 简介
  12968. type: string
  12969. columnid:
  12970. description: 所属栏目
  12971. type: integer
  12972. context:
  12973. description: 内容
  12974. type: string
  12975. coverimage:
  12976. description: 封面图片
  12977. type: string
  12978. creaedate:
  12979. description: 创建时间
  12980. type: string
  12981. creatorid:
  12982. description: 创建人
  12983. type: integer
  12984. hits:
  12985. description: 点击数
  12986. type: integer
  12987. id:
  12988. description: ID(SEQ_SITE_COLUMNDETAIL)
  12989. type: integer
  12990. isshow:
  12991. description: 是否展示 - 0:不展示 1:展示
  12992. type: integer
  12993. istop:
  12994. description: 是否置顶 - 0:不置 1:置顶
  12995. type: integer
  12996. modifierid:
  12997. description: 操作人
  12998. type: integer
  12999. publishdate:
  13000. description: 发布日期
  13001. type: string
  13002. status:
  13003. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  13004. type: integer
  13005. title:
  13006. description: 标题
  13007. type: string
  13008. updatedate:
  13009. description: 修改时间
  13010. type: string
  13011. userid:
  13012. description: 用户ID(默认为0, 核心为为机构用户ID)
  13013. type: integer
  13014. username:
  13015. description: 用户名称
  13016. type: string
  13017. type: object
  13018. models.QhjTeamOrder:
  13019. properties:
  13020. accountid:
  13021. description: 账户ID[报价币种]
  13022. type: integer
  13023. accountname:
  13024. description: 账户名称
  13025. type: string
  13026. agreeunit:
  13027. description: 合约乘数
  13028. type: number
  13029. buyorsell:
  13030. description: 方向 - 0:买 1:卖
  13031. type: integer
  13032. decimalplace:
  13033. description: 报价小数位
  13034. type: integer
  13035. enumdicname:
  13036. description: 单位名称
  13037. type: string
  13038. goodscode:
  13039. description: 商品代码(内部)
  13040. type: string
  13041. goodsid:
  13042. description: 商品ID
  13043. type: integer
  13044. goodsname:
  13045. description: 商品名称
  13046. type: string
  13047. goodunitid:
  13048. description: 报价单位ID
  13049. type: integer
  13050. marketid:
  13051. description: 市场ID
  13052. type: integer
  13053. marketname:
  13054. description: 市场名称
  13055. type: string
  13056. qtydecimalplace:
  13057. description: 成交量小数位
  13058. type: integer
  13059. refereeuserid:
  13060. description: 推荐人ID
  13061. type: integer
  13062. tradeamount:
  13063. description: 成交金额[账户币种,用于所有权]
  13064. type: number
  13065. tradedate:
  13066. description: 交易日(yyyyMMdd)
  13067. type: string
  13068. trademode:
  13069. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13070. 21:竞拍-大宗式 22:受托竞价
  13071. type: integer
  13072. tradeprice:
  13073. description: 成交价格
  13074. type: number
  13075. tradeqty:
  13076. description: 成交数量
  13077. type: number
  13078. tradetime:
  13079. description: 成交时间
  13080. type: string
  13081. userid:
  13082. description: 用户ID
  13083. type: integer
  13084. type: object
  13085. models.QhjTradeGoodsPickup:
  13086. properties:
  13087. accountid:
  13088. description: 账户ID
  13089. type: integer
  13090. address:
  13091. description: 提货人详细地址
  13092. type: string
  13093. amount:
  13094. description: 提货金额
  13095. type: number
  13096. artradedate:
  13097. description: 自动收货交易日(yyyyMMdd)
  13098. type: string
  13099. auditer:
  13100. description: 审核人
  13101. type: integer
  13102. auditsrc:
  13103. description: 更新来源 - 1:管理端 2:终端
  13104. type: integer
  13105. audittime:
  13106. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  13107. type: string
  13108. audittradedate:
  13109. description: 审核交易日(yyyyMMdd)
  13110. type: string
  13111. cardnum:
  13112. description: 提货人证件号码
  13113. type: string
  13114. cardtypeid:
  13115. description: 提货人证件类型
  13116. type: integer
  13117. checkremark:
  13118. description: 审核备注
  13119. type: string
  13120. cityid:
  13121. description: 市
  13122. type: integer
  13123. cityname:
  13124. description: 城市名称
  13125. type: string
  13126. confirmtime:
  13127. description: 取货时间 或 收货时间
  13128. type: string
  13129. countryid:
  13130. description: 国家
  13131. type: integer
  13132. countryname:
  13133. description: 国家名称
  13134. type: string
  13135. decimalplace:
  13136. description: 商品报价小数位
  13137. type: integer
  13138. districtid:
  13139. description: 地区
  13140. type: integer
  13141. districtname:
  13142. description: 地区名称
  13143. type: string
  13144. enumdicname:
  13145. description: 单位名称(提货商品)
  13146. type: string
  13147. expresscompany:
  13148. description: 物流公司
  13149. type: string
  13150. expressnum:
  13151. description: 物流单号
  13152. type: string
  13153. goodsagreeunit:
  13154. description: 交易商品乘数
  13155. type: number
  13156. goodscode:
  13157. description: 商品代码
  13158. type: string
  13159. goodsid:
  13160. description: 商品ID
  13161. type: integer
  13162. goodsname:
  13163. description: 商品名称
  13164. type: string
  13165. goodsqty:
  13166. description: 交易商品手数(69模式按成交量小数位放大取整)
  13167. type: number
  13168. handlestatus:
  13169. description: 处理状态
  13170. type: integer
  13171. logincode:
  13172. description: 账号(登录代码, 有可能为空)
  13173. type: string
  13174. marketid:
  13175. description: 市场ID
  13176. type: integer
  13177. phonenum:
  13178. description: 提货人联系方式
  13179. type: string
  13180. pickupgoodsagreeunit:
  13181. description: 提货商品合约乘数
  13182. type: number
  13183. pickupgoodsid:
  13184. description: 提货商品ID
  13185. type: string
  13186. pickupgoodsname:
  13187. description: 提货商品名称
  13188. type: string
  13189. pickupgoodsqty:
  13190. description: 提货商品手数(数量)
  13191. type: number
  13192. pickupgoodsunitid:
  13193. description: 单位ID(提货商品)
  13194. type: integer
  13195. pickupratio:
  13196. description: 提货系数
  13197. type: number
  13198. preparedays:
  13199. description: 备货期(天)-提货单明细表
  13200. type: integer
  13201. provinceid:
  13202. description: 省
  13203. type: integer
  13204. provincename:
  13205. description: 省名称
  13206. type: string
  13207. qty:
  13208. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  13209. type: number
  13210. qtydecimalplace:
  13211. description: 商品数量小数位
  13212. type: integer
  13213. recivername:
  13214. description: 提货人姓名
  13215. type: string
  13216. reqtime:
  13217. description: 提货申请时间
  13218. type: string
  13219. storeuserid:
  13220. description: 门店用户ID (千海金)
  13221. type: integer
  13222. storeusername:
  13223. description: 门店用户名称
  13224. type: string
  13225. takemode:
  13226. description: 提货方式 - 2:自提 3:配送(邮寄)
  13227. type: integer
  13228. takeorderid:
  13229. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13230. type: string
  13231. takeorderstatus:
  13232. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  13233. 7:已拒绝 8:已撤销
  13234. type: integer
  13235. takeremark:
  13236. description: 提货备注
  13237. type: string
  13238. tradedate:
  13239. description: 交易日(yyyyMMdd)
  13240. type: string
  13241. updatetime:
  13242. description: 更新时间
  13243. type: string
  13244. userid:
  13245. description: 用户ID
  13246. type: integer
  13247. userinfotype:
  13248. description: 客户类型 1-个人 2-企业
  13249. type: integer
  13250. username:
  13251. description: 用户名称
  13252. type: string
  13253. type: object
  13254. models.QhjUserNodeCfgAndStatus:
  13255. properties:
  13256. agreementcontent:
  13257. description: 协议内容
  13258. type: string
  13259. agreementid:
  13260. description: 协议ID
  13261. type: integer
  13262. agreementname:
  13263. description: 协议名称
  13264. type: string
  13265. agreementno:
  13266. description: 协议编号
  13267. type: string
  13268. agreementtype:
  13269. description: 协议类型 - 1:注册 2:登录 3:交易
  13270. type: integer
  13271. agreementversion:
  13272. description: 协议版本号
  13273. type: integer
  13274. configid:
  13275. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13276. type: integer
  13277. createtime:
  13278. description: 创建时间
  13279. type: string
  13280. goodsid:
  13281. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13282. type: integer
  13283. nodetype:
  13284. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13285. type: integer
  13286. signtimestamp:
  13287. description: 签约状态时间戳(最近一次)
  13288. type: string
  13289. tradedate:
  13290. description: 签约交易日(yyyyMMdd)
  13291. type: string
  13292. userid:
  13293. description: 客户ID
  13294. type: integer
  13295. type: object
  13296. models.Qhjgoodsex:
  13297. properties:
  13298. canfinance:
  13299. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  13300. type: integer
  13301. canregularlybuy:
  13302. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  13303. type: integer
  13304. defaulttradeuserid:
  13305. description: 默认交易用户ID
  13306. type: integer
  13307. deliverygoodsid:
  13308. description: 现货品种ID
  13309. type: integer
  13310. goodsid:
  13311. description: 商品ID(自增ID SEQ_GOODS)
  13312. type: integer
  13313. minamount:
  13314. description: 最小购买金额
  13315. type: number
  13316. regularlybuyminamount:
  13317. description: 定投最小金额
  13318. type: number
  13319. regularlybuyminqty:
  13320. description: 定投最小数量
  13321. type: number
  13322. spotgoodsbrandid:
  13323. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13324. type: integer
  13325. visibilityforenterprise:
  13326. description: 企业客户是否可见 - 0:不可见 1:可见
  13327. type: integer
  13328. visibilityforpersonal:
  13329. description: 个人客户是否可见 - 0:不可见 1:可见
  13330. type: integer
  13331. wrstandardid:
  13332. description: 现货商品ID
  13333. type: integer
  13334. type: object
  13335. models.QueryErrorInfosRsp:
  13336. properties:
  13337. description:
  13338. description: 异常描述
  13339. type: string
  13340. errorcode:
  13341. description: 异常代码
  13342. type: string
  13343. errorid:
  13344. description: 异常ID
  13345. type: integer
  13346. modulecode:
  13347. description: 所属模块
  13348. type: string
  13349. operatecode:
  13350. description: 所属操作
  13351. type: string
  13352. rownumber:
  13353. description: 行号
  13354. type: string
  13355. required:
  13356. - errorid
  13357. type: object
  13358. models.QueryHedgeOrderDetailRsp:
  13359. properties:
  13360. accountid:
  13361. description: 账户ID
  13362. type: integer
  13363. buyorsell:
  13364. description: 买卖 - 0:买 1:卖
  13365. type: integer
  13366. cancellogincode:
  13367. description: 撤单人
  13368. type: string
  13369. channelbuildtype:
  13370. description: 开平标志 - 0:无 1:建仓 2:平仓
  13371. type: integer
  13372. channelinnerorderstatus:
  13373. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13374. 9:全部成交
  13375. type: integer
  13376. channeloperatetype:
  13377. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13378. type: integer
  13379. closetype:
  13380. description: 平仓方式 - 0:无 1:平今 2:平昨
  13381. type: integer
  13382. curexchangerate:
  13383. description: 当前汇率
  13384. type: number
  13385. decimalplace:
  13386. description: 商品报价小数位
  13387. type: integer
  13388. exchangefullname:
  13389. description: 外部交易所全称
  13390. type: string
  13391. goodscode:
  13392. description: 商品代码(内部)
  13393. type: string
  13394. goodsid:
  13395. description: 商品ID
  13396. type: integer
  13397. goodsname:
  13398. description: 商品名称
  13399. type: string
  13400. marketid:
  13401. description: 市场ID
  13402. type: integer
  13403. openfreezemargin:
  13404. description: 冻结保证金(冻结交易金额)
  13405. type: number
  13406. orderid:
  13407. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13408. type: string
  13409. orderlogincode:
  13410. description: 委托人
  13411. type: string
  13412. orderprice:
  13413. description: 委托价格(账户)
  13414. type: number
  13415. orderqty:
  13416. description: 委托数量
  13417. type: integer
  13418. ordertime:
  13419. description: 委托时间
  13420. type: string
  13421. pricemode:
  13422. description: '取价方式 - 1:市价 2: 限价'
  13423. type: integer
  13424. tradedate:
  13425. description: 交易日(yyyyMMdd)
  13426. type: string
  13427. tradeqty:
  13428. description: 成交数量
  13429. type: integer
  13430. type: object
  13431. models.QueryHedgeTradeDetailRsp:
  13432. properties:
  13433. accountid:
  13434. description: 账号ID
  13435. type: integer
  13436. buyorsell:
  13437. description: 方向 - 0:买 1:卖
  13438. type: integer
  13439. channelbuildtype:
  13440. description: 委托单据类型 0:无 1:建仓 2:平仓
  13441. type: integer
  13442. closecharge:
  13443. description: 平仓手续费(账户)
  13444. type: number
  13445. closecharge2:
  13446. description: 平仓手续费(商品)
  13447. type: number
  13448. closepl:
  13449. description: 平仓盈亏(账户)
  13450. type: number
  13451. closepl2:
  13452. description: 平仓盈亏(商品)
  13453. type: number
  13454. closepl3:
  13455. description: 平仓盈亏(账户)(逐笔)
  13456. type: number
  13457. closepl4:
  13458. description: 平仓盈亏(商品)(逐笔)
  13459. type: number
  13460. closetype:
  13461. description: 平仓方式 - 0:无 1:平今 2:平昨
  13462. type: integer
  13463. curexchangerate:
  13464. description: 当前汇率
  13465. type: number
  13466. decimalplace:
  13467. description: 商品报价小数位
  13468. type: integer
  13469. exchangefullname:
  13470. description: 外部交易所全称
  13471. type: string
  13472. goodscode:
  13473. description: 商品代码(内部)
  13474. type: string
  13475. goodsid:
  13476. description: 商品ID
  13477. type: integer
  13478. goodsname:
  13479. description: 商品名称
  13480. type: string
  13481. marketid:
  13482. description: 市场ID
  13483. type: integer
  13484. opencharge:
  13485. description: 建仓手续费(账户)
  13486. type: number
  13487. opencharge2:
  13488. description: 建仓手续费(商品)
  13489. type: number
  13490. orderid:
  13491. description: 委托单号
  13492. type: string
  13493. orderlogincode:
  13494. description: 委托人
  13495. type: string
  13496. tradeamount:
  13497. description: 成交金额(账户)
  13498. type: number
  13499. tradedate:
  13500. description: 交易日(yyyyMMdd)
  13501. type: string
  13502. tradeid:
  13503. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13504. type: string
  13505. tradeprice:
  13506. description: 成交价格
  13507. type: number
  13508. tradeqty:
  13509. description: 成交数量
  13510. type: integer
  13511. tradetime:
  13512. description: 成交时间
  13513. type: string
  13514. tradetype:
  13515. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13516. type: integer
  13517. type: object
  13518. models.QuotePrimaryMenu:
  13519. properties:
  13520. Index:
  13521. description: 序号
  13522. type: integer
  13523. Key:
  13524. description: 键名
  13525. type: string
  13526. Name:
  13527. description: 菜单名称
  13528. type: string
  13529. SubMenus:
  13530. description: 子菜单
  13531. items:
  13532. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13533. type: array
  13534. SubTitleType:
  13535. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13536. type: integer
  13537. TradeModes:
  13538. description: 包含市场交易类型
  13539. type: string
  13540. type: object
  13541. models.QuoteSecondaryMenu:
  13542. properties:
  13543. ExExchangeCode:
  13544. description: 外部交易所代码
  13545. type: string
  13546. ExExchangeID:
  13547. description: 外部交易所ID
  13548. type: integer
  13549. GoodsGroupIDs:
  13550. description: 商品组ID列表
  13551. items:
  13552. type: integer
  13553. type: array
  13554. Index:
  13555. description: 序号
  13556. type: integer
  13557. MarketID:
  13558. description: 市场ID
  13559. type: integer
  13560. MenuTitle:
  13561. description: 菜单标题(市场名称或外部交易所名称)
  13562. type: string
  13563. TradeMode:
  13564. description: 交易模式
  13565. type: integer
  13566. type: object
  13567. models.RelatedTaAccount:
  13568. properties:
  13569. accountid:
  13570. description: 资金账户ID
  13571. type: integer
  13572. type: object
  13573. models.RoleMenu:
  13574. properties:
  13575. hasright:
  13576. description: 是否有权限 0-没有权限 1-有权限
  13577. type: integer
  13578. iconame:
  13579. description: 菜单图标
  13580. type: string
  13581. menutype:
  13582. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13583. type: integer
  13584. parentcode:
  13585. description: 上级资源代码
  13586. type: string
  13587. remark:
  13588. description: 菜单备注
  13589. type: string
  13590. resourcecode:
  13591. description: 菜单代码
  13592. type: string
  13593. resourcelevel:
  13594. description: 级别
  13595. type: integer
  13596. resourcename:
  13597. description: 菜单名称
  13598. type: string
  13599. roleid:
  13600. description: 角色id
  13601. type: integer
  13602. sort:
  13603. description: 排序
  13604. type: integer
  13605. subMenu:
  13606. description: 子级菜单(结构同上层一样, swag解析不出来)
  13607. items:
  13608. $ref: '#/definitions/models.RoleMenu'
  13609. type: array
  13610. url:
  13611. description: URL
  13612. type: string
  13613. userid:
  13614. description: 用户id
  13615. type: integer
  13616. type: object
  13617. models.SearchGoods:
  13618. properties:
  13619. goodscode:
  13620. description: 商品代码(内部)
  13621. type: string
  13622. goodsid:
  13623. description: 商品ID(自增ID SEQ_GOODS)
  13624. type: integer
  13625. goodsname:
  13626. description: 商品名称
  13627. type: string
  13628. marketid:
  13629. description: 所属市场ID
  13630. type: integer
  13631. marketname:
  13632. description: 市场名称
  13633. type: string
  13634. trademode:
  13635. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13636. 21:竞拍-大宗式 22:受托竞价
  13637. type: integer
  13638. required:
  13639. - goodscode
  13640. - goodsid
  13641. - goodsname
  13642. - marketid
  13643. - trademode
  13644. type: object
  13645. models.Systemparam:
  13646. properties:
  13647. loginid:
  13648. description: 更新用户账号,登录账号
  13649. type: string
  13650. modifyflag:
  13651. description: 修改标志0 不允许修改 1 允许修改
  13652. type: integer
  13653. paramcode:
  13654. description: 参数代码
  13655. type: string
  13656. paramname:
  13657. description: 参数名
  13658. type: string
  13659. paramtype:
  13660. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13661. type: integer
  13662. paramvalue:
  13663. description: 参数值
  13664. type: string
  13665. paramvalue2:
  13666. description: 参数值(CLOB)
  13667. type: string
  13668. regexpress:
  13669. description: 正则表达式
  13670. type: string
  13671. remark:
  13672. description: 备注
  13673. type: string
  13674. serverip:
  13675. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13676. type: string
  13677. showflag:
  13678. description: 是否显示0 不显示 1 显示
  13679. type: integer
  13680. updatetime:
  13681. description: 更新时间
  13682. type: string
  13683. userid:
  13684. description: 更新用户ID
  13685. type: integer
  13686. required:
  13687. - paramcode
  13688. type: object
  13689. models.Szdz3convertconfig:
  13690. properties:
  13691. canin:
  13692. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13693. type: integer
  13694. canout:
  13695. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13696. type: integer
  13697. converttype:
  13698. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13699. 6:交易转花生米(不设置)
  13700. type: integer
  13701. createtime:
  13702. description: 创建时间
  13703. type: string
  13704. creatorid:
  13705. description: 创建人
  13706. type: integer
  13707. daymaxvalue:
  13708. description: 当日最大转入限制
  13709. type: number
  13710. freezedays:
  13711. description: 冻结天数 [5:花生米转交易]
  13712. type: integer
  13713. innergoodsid:
  13714. description: 内部商品ID[交易]
  13715. type: integer
  13716. inratio:
  13717. description: 目标值
  13718. type: integer
  13719. modifierid:
  13720. description: 修改人
  13721. type: integer
  13722. modifytime:
  13723. description: 修改时间
  13724. type: string
  13725. outergoodscode:
  13726. description: 外部商品代码[JD\PD]
  13727. type: string
  13728. outratio:
  13729. description: 源值
  13730. type: integer
  13731. pddecimalplace:
  13732. description: PD小数位
  13733. type: integer
  13734. timemaxvalue:
  13735. description: 单次最大转入限制
  13736. type: number
  13737. timeminvalue:
  13738. description: 单次最小转入限制
  13739. type: number
  13740. required:
  13741. - converttype
  13742. - innergoodsid
  13743. - outergoodscode
  13744. type: object
  13745. models.Szdz3searchwhitelist:
  13746. properties:
  13747. createtime:
  13748. description: 创建时间
  13749. type: string
  13750. creatorid:
  13751. description: 创建人
  13752. type: integer
  13753. modifierid:
  13754. description: 修改人
  13755. type: integer
  13756. modifytime:
  13757. description: 修改时间
  13758. type: string
  13759. userid:
  13760. description: 用户ID
  13761. type: integer
  13762. required:
  13763. - userid
  13764. type: object
  13765. models.TBGoods:
  13766. properties:
  13767. agreeunit:
  13768. description: 合约乘数
  13769. type: number
  13770. enumdicname:
  13771. description: 单位名称
  13772. type: string
  13773. goodscode:
  13774. description: 商品代码(内部)
  13775. type: string
  13776. goodsid:
  13777. description: 商品ID(自增ID SEQ_GOODS)
  13778. type: integer
  13779. goodsname:
  13780. description: 商品名称
  13781. type: string
  13782. type: object
  13783. models.TBGoodsGroup:
  13784. properties:
  13785. GDLST:
  13786. description: 商品列表
  13787. items:
  13788. $ref: '#/definitions/models.TBGoods'
  13789. type: array
  13790. convertratio:
  13791. description: 折算系数
  13792. type: number
  13793. enumdicname:
  13794. description: 单位名称
  13795. type: string
  13796. exexchangecode:
  13797. description: 交易所代码
  13798. type: string
  13799. exexchangename:
  13800. description: 交易所名称
  13801. type: string
  13802. goodsgroupid:
  13803. description: 商品组ID(自增ID)
  13804. type: integer
  13805. goodsgroupname:
  13806. description: 商品组名称
  13807. type: string
  13808. goodunitid:
  13809. description: 报价单位ID
  13810. type: integer
  13811. type: object
  13812. models.TBMiddleGoods:
  13813. properties:
  13814. GPLST:
  13815. description: 期货品种列表
  13816. items:
  13817. $ref: '#/definitions/models.TBGoodsGroup'
  13818. type: array
  13819. WDLST:
  13820. description: 商品信息列表(现货品类)
  13821. items:
  13822. $ref: '#/definitions/models.TBWrstandard'
  13823. type: array
  13824. areauserid:
  13825. description: 机构用户ID
  13826. type: integer
  13827. enumdicname:
  13828. description: 单位名称
  13829. type: string
  13830. goodsunitid:
  13831. description: 套保品种单位id
  13832. type: integer
  13833. middlegoodscode:
  13834. description: 套保品种代码
  13835. type: string
  13836. middlegoodsid:
  13837. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13838. type: integer
  13839. middlegoodsname:
  13840. description: 套保品种名称
  13841. type: string
  13842. needarbitrageratio:
  13843. description: 套利比率
  13844. type: number
  13845. needhedgeratio:
  13846. description: 套保比率
  13847. type: number
  13848. type: object
  13849. models.TBWrstandard:
  13850. properties:
  13851. convertratio:
  13852. description: 折算系数
  13853. type: number
  13854. deliverygoodsname:
  13855. description: 品种名称
  13856. type: string
  13857. enumdicname:
  13858. description: 单位名称
  13859. type: string
  13860. vatrate:
  13861. description: 增值税率
  13862. type: number
  13863. wrstandardcode:
  13864. description: 现货商品代码
  13865. type: string
  13866. wrstandardid:
  13867. description: 现货商品ID(SEQ_WRSTANDARD)
  13868. type: integer
  13869. wrstandardname:
  13870. description: 现货商品名称
  13871. type: string
  13872. type: object
  13873. models.Taaccount:
  13874. properties:
  13875. accountflag:
  13876. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13877. type: integer
  13878. accountid:
  13879. description: 资金账户ID
  13880. type: integer
  13881. accountname:
  13882. description: 账户名称
  13883. type: string
  13884. balance:
  13885. description: 期初余额
  13886. type: number
  13887. capitalbalance:
  13888. description: 本金余额[外部子账户实际出入金余额]
  13889. type: number
  13890. changeflag:
  13891. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13892. type: integer
  13893. changetime:
  13894. description: 账户状态变更时间
  13895. type: string
  13896. closepl:
  13897. description: 今日平仓盈亏
  13898. type: number
  13899. creditdecrease:
  13900. description: 今日授信减少
  13901. type: number
  13902. creditincrease:
  13903. description: 今日授信增加
  13904. type: number
  13905. curamount:
  13906. description: 总市值(从持仓中统计)
  13907. type: number
  13908. currencyid:
  13909. description: 货币ID
  13910. type: integer
  13911. currentbalance:
  13912. description: 期末余额
  13913. type: number
  13914. freezecharge:
  13915. description: 手续费冻结
  13916. type: number
  13917. freezemargin:
  13918. description: 冻结保证金
  13919. type: number
  13920. fromaccountid:
  13921. description: 所属上级账户
  13922. type: integer
  13923. inamount:
  13924. description: 今日入金金额(包括三方入金)
  13925. type: number
  13926. ismain:
  13927. description: 是否母账号 0:不是母账户 1:是母账户
  13928. type: integer
  13929. ismarketaccount:
  13930. description: 是否机构接单账号 0:不是 1:是
  13931. type: integer
  13932. isreckonaccount:
  13933. description: 是否机构分润账号 0:不是 1:是
  13934. type: integer
  13935. mortgagecredit:
  13936. description: 授信金额
  13937. type: number
  13938. orifreezecharge:
  13939. description: 期初手续费冻结
  13940. type: number
  13941. orifreezemargin:
  13942. description: 期初冻结保证金
  13943. type: number
  13944. orimortgagecredit:
  13945. description: 期初授信金额
  13946. type: number
  13947. oriothercredit:
  13948. description: 期初其它授信金额
  13949. type: number
  13950. oriotherfreezemargin:
  13951. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13952. type: number
  13953. orioutamountfreeze:
  13954. description: 期初出金冻结
  13955. type: number
  13956. oriusedmargin:
  13957. description: 期初占用保证金
  13958. type: number
  13959. othercredit:
  13960. description: 其它授信金额
  13961. type: number
  13962. othercreditdecrease:
  13963. description: 今日其它授信减少
  13964. type: number
  13965. othercreditincrease:
  13966. description: 今日其它授信增加
  13967. type: number
  13968. otherfreezemargin:
  13969. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13970. type: number
  13971. otherincome:
  13972. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13973. type: number
  13974. otherpay:
  13975. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13976. type: number
  13977. outamount:
  13978. description: 今日出金金额(包括三方出金)
  13979. type: number
  13980. outamountfreeze:
  13981. description: 出金冻结
  13982. type: number
  13983. outthreshold:
  13984. description: 出金阈值
  13985. type: number
  13986. parentaccountid:
  13987. description: 所属根账号
  13988. type: integer
  13989. paycharge:
  13990. description: 今日手续费支出
  13991. type: number
  13992. relatedaccountstatus:
  13993. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13994. type: integer
  13995. relateduserid:
  13996. description: 关联用户
  13997. type: integer
  13998. remainamount:
  13999. description: 融资额(从融资合同中统计)
  14000. type: number
  14001. serivcegroup:
  14002. description: 服务分组
  14003. type: integer
  14004. signstatus:
  14005. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14006. type: integer
  14007. sublevelpath:
  14008. description: 账号层级路径(逗号分隔,首尾加逗号)
  14009. type: string
  14010. taaccounttype:
  14011. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  14012. type: integer
  14013. thirdinamount:
  14014. description: 今日三方入金
  14015. type: number
  14016. thirdoutamount:
  14017. description: 今日三方出金
  14018. type: number
  14019. tradestatus:
  14020. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  14021. type: integer
  14022. tradestatuschangetime:
  14023. description: 激活时间
  14024. type: string
  14025. transferamount:
  14026. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  14027. type: number
  14028. usedmargin:
  14029. description: 占用保证金
  14030. type: number
  14031. userid:
  14032. description: 用户ID
  14033. type: integer
  14034. required:
  14035. - accountid
  14036. - userid
  14037. type: object
  14038. models.Tablecolumnconfig:
  14039. properties:
  14040. aligntype:
  14041. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  14042. type: integer
  14043. autoid:
  14044. description: AutoID
  14045. type: integer
  14046. columnfield:
  14047. description: 列字段
  14048. type: string
  14049. columntitle:
  14050. description: 列Title
  14051. type: string
  14052. columnwidth:
  14053. description: 列宽
  14054. type: string
  14055. formatterstring:
  14056. description: 格式化字符
  14057. type: string
  14058. formattertype:
  14059. description: 格式化类型
  14060. type: string
  14061. groupname:
  14062. description: 表头分组名称
  14063. type: string
  14064. isshow:
  14065. description: 是否显示 - 0:不显示 1:显示
  14066. type: integer
  14067. needsummary:
  14068. description: 是否需要汇总 - 0:不需要 1:需要
  14069. type: integer
  14070. orderindex:
  14071. description: 顺序
  14072. type: integer
  14073. remark:
  14074. description: 备注
  14075. type: string
  14076. summarytype:
  14077. description: 汇总类型 - 1:加总 2:最后一个
  14078. type: integer
  14079. tablekey:
  14080. description: 列表Key
  14081. type: string
  14082. required:
  14083. - autoid
  14084. type: object
  14085. models.TjmdHolderDetailTradeInfo:
  14086. properties:
  14087. agreeunit:
  14088. description: 合约乘数
  14089. type: number
  14090. buyaccountid:
  14091. description: 买方账户
  14092. type: string
  14093. buyusername:
  14094. description: 买方
  14095. type: string
  14096. delistingdate:
  14097. description: 最后结算日
  14098. type: string
  14099. expiredate:
  14100. description: 到期结算价定价日
  14101. type: string
  14102. exprieprice:
  14103. description: 到期清算价格
  14104. type: string
  14105. goodscode:
  14106. description: 商品代码
  14107. type: string
  14108. goodsid:
  14109. description: 商品ID
  14110. type: integer
  14111. goodsname:
  14112. description: 商品名称(交易标的)
  14113. type: string
  14114. lasttradedate:
  14115. description: 最后交易日
  14116. type: string
  14117. listingdate:
  14118. description: 开始交易日
  14119. type: string
  14120. openprice:
  14121. description: 成交价
  14122. type: number
  14123. openqty:
  14124. description: 交易数量
  14125. type: integer
  14126. sellaccountid:
  14127. description: 卖方账户
  14128. type: string
  14129. sellusername:
  14130. description: 卖方
  14131. type: string
  14132. tradeamount:
  14133. description: 初始名义价值
  14134. type: number
  14135. tradedate:
  14136. description: 成交日期
  14137. type: string
  14138. tradeid:
  14139. description: 成交编号
  14140. type: string
  14141. type: object
  14142. models.TjmdMarketSection:
  14143. properties:
  14144. marketsectionid:
  14145. description: 市场版块ID(SEQ_MARKETSECTION)
  14146. type: integer
  14147. marketsectionname:
  14148. description: 市场版块名称
  14149. type: string
  14150. mlist:
  14151. description: 市场列表(板块下面有多少个市场)
  14152. items:
  14153. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  14154. type: array
  14155. orderindex:
  14156. description: 排序
  14157. type: integer
  14158. pictureurl:
  14159. description: 图片url, 规格(90*90)
  14160. type: string
  14161. remark:
  14162. description: 备注
  14163. type: string
  14164. type: object
  14165. models.TjmdMarketSectionConfig:
  14166. properties:
  14167. auctionwrtype:
  14168. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  14169. type: integer
  14170. canacceptquote:
  14171. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  14172. type: integer
  14173. cangoodsexercise:
  14174. description: '[期权]是否可现货行权- 0:否 1:是'
  14175. type: integer
  14176. cangoodsexercisetype:
  14177. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  14178. type: integer
  14179. canmanualquotestrike:
  14180. description: 是否可手动报行权价- 0:否 1:是 [期权]
  14181. type: integer
  14182. canmutistage:
  14183. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  14184. type: integer
  14185. canpreexercise:
  14186. description: '[期权]是否可预申报- 0:否 1:是'
  14187. type: integer
  14188. clearinterval:
  14189. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  14190. type: integer
  14191. contracttmp:
  14192. description: 合同模板[荷兰式][竞价式][仓单贸易]
  14193. type: string
  14194. exchareaid:
  14195. description: 所属交易所,可以没有
  14196. type: integer
  14197. financemarketid:
  14198. description: 融资回购市场ID [仓单贸易]
  14199. type: integer
  14200. goodstype:
  14201. description: 商品类型 - 1:交易商品 2:仓单商品
  14202. type: integer
  14203. hasrebate:
  14204. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  14205. type: integer
  14206. hastradecredit:
  14207. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  14208. type: integer
  14209. haswr:
  14210. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  14211. type: integer
  14212. isdeductmargin:
  14213. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  14214. type: integer
  14215. isrecordsource:
  14216. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  14217. type: integer
  14218. isreleasemargin:
  14219. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  14220. type: integer
  14221. isupdatereckonprice:
  14222. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  14223. type: integer
  14224. listingmode:
  14225. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14226. type: integer
  14227. marginformula:
  14228. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14229. type: integer
  14230. marginformula2:
  14231. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14232. type: integer
  14233. marketid:
  14234. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  14235. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  14236. type: integer
  14237. marketname:
  14238. description: 市场名称
  14239. type: string
  14240. marketsectionid:
  14241. description: 市场版块ID(SEQ_MARKETSECTION)
  14242. type: integer
  14243. marketserviceid:
  14244. description: 市场服务ID
  14245. type: integer
  14246. marketstatus:
  14247. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  14248. type: integer
  14249. markettype:
  14250. description: 市场类型- 1:非交易服务 2:交易服务
  14251. type: integer
  14252. matchermode:
  14253. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  14254. type: integer
  14255. nowrquotaflag:
  14256. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  14257. type: integer
  14258. openmethod:
  14259. description: 开盘模式 - 0 自动 1手动
  14260. type: integer
  14261. orderindex:
  14262. description: 排序
  14263. type: integer
  14264. otcuserid:
  14265. description: 场外期权做市商[场外期权]
  14266. type: integer
  14267. outersynctime:
  14268. description: 外部同步时间点(h24:mi:ss)[场外期权]
  14269. type: string
  14270. paylaterflag:
  14271. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  14272. type: integer
  14273. pendingflag:
  14274. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  14275. type: integer
  14276. pendingtime:
  14277. description: 待开市时间[通道交易-对冲](HH:mm)
  14278. type: string
  14279. performancetempid:
  14280. description: 履约计划模板ID - 作废
  14281. type: integer
  14282. premiumquotemode:
  14283. description: 权利金报价方式 - 1:自动 2:手动
  14284. type: integer
  14285. rebateratio:
  14286. description: 返利比率[竞价式]
  14287. type: number
  14288. reckonorder:
  14289. description: 结算顺序
  14290. type: integer
  14291. reckonpricealgorithm:
  14292. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  14293. 6.卖一价 7.买一卖一均价 8.外部结算价'
  14294. type: integer
  14295. reckonpriceparam:
  14296. description: 结算价参数
  14297. type: integer
  14298. reckontime:
  14299. description: 结算时间[通道交易-对冲](HH:mm)
  14300. type: string
  14301. roleprioritytype:
  14302. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  14303. type: integer
  14304. selllistingauditflag:
  14305. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  14306. type: integer
  14307. trademarkettype:
  14308. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  14309. type: integer
  14310. trademode:
  14311. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14312. 21:竞拍-大宗式 22:受托竞价
  14313. type: integer
  14314. tradeproperty:
  14315. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  14316. 8:场外期权
  14317. type: integer
  14318. tradetype:
  14319. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  14320. type: integer
  14321. updatereckonpriceinterval:
  14322. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  14323. type: integer
  14324. type: object
  14325. models.TjmdQuoteGoods:
  14326. properties:
  14327. buyqty:
  14328. description: 买量(暂不做, 无值, 保留字段)
  14329. type: number
  14330. decimalplace:
  14331. description: 报价小数位
  14332. type: integer
  14333. goodscode:
  14334. description: 合约代码
  14335. type: string
  14336. goodsgroupid:
  14337. description: 商品组ID(自增ID)
  14338. type: integer
  14339. goodsgroupname:
  14340. description: 商品组名称
  14341. type: string
  14342. goodsid:
  14343. description: 合约id
  14344. type: integer
  14345. goodsname:
  14346. description: 合约名称
  14347. type: string
  14348. refgoodscode:
  14349. description: 标的合约代码
  14350. type: string
  14351. refgoodsid:
  14352. description: 标的合约id
  14353. type: integer
  14354. refgoodsname:
  14355. description: 标的合约名称
  14356. type: string
  14357. sellqty:
  14358. description: 卖量(暂不做, 无值, 保留字段)
  14359. type: number
  14360. type: object
  14361. models.TjmdTodayAccountMargin:
  14362. properties:
  14363. accountid:
  14364. description: 账号ID
  14365. type: integer
  14366. goodsid:
  14367. description: 商品ID
  14368. type: integer
  14369. infoc:
  14370. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  14371. description: 配置参数
  14372. marketid:
  14373. description: 市场ID
  14374. type: integer
  14375. type: object
  14376. models.TjmdTradeOrderDetail:
  14377. properties:
  14378. buyorsell:
  14379. description: 买卖方向 0-买 1-卖
  14380. type: integer
  14381. goodsid:
  14382. description: 商品id
  14383. type: integer
  14384. marketmaxsub:
  14385. description: 市价最大偏移范围 [浮动价 - 点差]
  14386. type: number
  14387. orderid:
  14388. description: 委托单号
  14389. type: string
  14390. orderprice:
  14391. description: 委托价格
  14392. type: number
  14393. orderqty:
  14394. description: 委托数量
  14395. type: integer
  14396. pricemode:
  14397. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14398. type: integer
  14399. userid:
  14400. description: 用户id
  14401. type: integer
  14402. username:
  14403. description: 用户名称(已脱敏)
  14404. type: string
  14405. type: object
  14406. models.TjmdTransferApply:
  14407. properties:
  14408. applyid:
  14409. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14410. type: integer
  14411. applystatus:
  14412. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14413. type: integer
  14414. applytime:
  14415. description: 申请时间(时间)
  14416. type: string
  14417. auditremark:
  14418. description: 审核备注(拒绝原因?)
  14419. type: string
  14420. begindate:
  14421. description: 开始交易日(yyyymmdd)
  14422. type: string
  14423. buyorsell:
  14424. description: 买卖 - 0:买 1:卖
  14425. type: integer
  14426. enddate:
  14427. description: 结束交易日(yyyymmdd)
  14428. type: string
  14429. goodscode:
  14430. description: 商品代码
  14431. type: string
  14432. goodsid:
  14433. description: 商品ID
  14434. type: integer
  14435. goodsname:
  14436. description: 商品名称
  14437. type: string
  14438. marketid:
  14439. description: 市场ID
  14440. type: integer
  14441. qty:
  14442. description: 转让数量(数量)
  14443. type: number
  14444. tradeid:
  14445. description: 成交单号(关联持仓)
  14446. type: string
  14447. transferamount:
  14448. description: 转让总金额(金额)
  14449. type: number
  14450. transferprice:
  14451. description: 转让价格(协议价格)
  14452. type: number
  14453. type: object
  14454. models.TradeHolderDetail:
  14455. properties:
  14456. accountid:
  14457. description: 账号ID
  14458. type: integer
  14459. agreeunit:
  14460. description: 合约乘数
  14461. type: number
  14462. buyorsell:
  14463. description: 方向 - 0:买 1:卖
  14464. type: integer
  14465. currencyid:
  14466. description: 商品币种id
  14467. type: integer
  14468. currencyname:
  14469. description: 币种名称
  14470. type: string
  14471. decimalplace:
  14472. description: 商品价格小数位
  14473. type: integer
  14474. enumdicname:
  14475. description: 商品单位名称
  14476. type: string
  14477. expirecycle:
  14478. description: 行权周期(天) - 1:滚动行权时填写
  14479. type: integer
  14480. expiredate:
  14481. description: 行权日(yyyyMMdd) - 到期日
  14482. type: string
  14483. expiretype:
  14484. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14485. type: integer
  14486. freezeqty:
  14487. description: 冻结数量
  14488. type: number
  14489. goodscode:
  14490. description: 商品代码
  14491. type: string
  14492. goodsid:
  14493. description: 商品ID
  14494. type: integer
  14495. goodsname:
  14496. description: 商品名称
  14497. type: string
  14498. goodunitid:
  14499. description: 商品单位id
  14500. type: integer
  14501. holderamount:
  14502. description: 持仓金额
  14503. type: number
  14504. holdercredit:
  14505. description: 持仓授信金额
  14506. type: number
  14507. holderdays:
  14508. description: 剩余冻结天数
  14509. type: integer
  14510. holderprice:
  14511. description: 持仓价格
  14512. type: number
  14513. holderqty:
  14514. description: 持仓数量
  14515. type: number
  14516. isconfirmexercise:
  14517. description: 是否确认行权- 0:否 1:是
  14518. type: integer
  14519. ispreexercise:
  14520. description: 是否预申报- 0:否 1:是 2:不可行权
  14521. type: integer
  14522. marketid:
  14523. description: 市场id
  14524. type: integer
  14525. marketname:
  14526. description: 市场名称
  14527. type: string
  14528. openprice:
  14529. description: 建仓价格
  14530. type: number
  14531. openqty:
  14532. description: 建仓数量
  14533. type: number
  14534. optiontype:
  14535. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14536. type: integer
  14537. preexerciseprice:
  14538. description: 预申报价格
  14539. type: number
  14540. premium:
  14541. description: 权利金
  14542. type: number
  14543. qtydecimalplace:
  14544. description: 商品成交量小数位
  14545. type: integer
  14546. refgoodscode:
  14547. description: 标的合约代码
  14548. type: string
  14549. refgoodsid:
  14550. description: 标的合约id
  14551. type: integer
  14552. releaseamount:
  14553. description: 释放持仓金额
  14554. type: number
  14555. releaseholdercredit:
  14556. description: 释放持仓授信金额
  14557. type: number
  14558. taname:
  14559. description: 资金账号名称
  14560. type: string
  14561. tradeamount:
  14562. description: 成交金额
  14563. type: number
  14564. tradedate:
  14565. description: 交易日(yyyyMMdd)
  14566. type: string
  14567. tradeid:
  14568. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14569. type: string
  14570. trademode:
  14571. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14572. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14573. type: integer
  14574. tradeproperty:
  14575. description: 交易属性
  14576. type: integer
  14577. tradetime:
  14578. description: 交易时间
  14579. type: string
  14580. userid:
  14581. description: 用户id
  14582. type: integer
  14583. username:
  14584. description: 用户名称
  14585. type: string
  14586. type: object
  14587. models.UserCollectConfig:
  14588. properties:
  14589. accountstatus:
  14590. description: 账户状态 - 1:正常 2:停用 3:注销
  14591. type: integer
  14592. collectaccountname:
  14593. description: 收款人账户名称
  14594. type: string
  14595. collectaccountno:
  14596. description: 收款人账户
  14597. type: string
  14598. collectbankname:
  14599. description: 收款人开户行
  14600. type: string
  14601. collectbranchbankname:
  14602. description: 收款人开户支行
  14603. type: string
  14604. collectconfigid:
  14605. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14606. type: string
  14607. remark:
  14608. description: 备注
  14609. type: string
  14610. userid:
  14611. description: 收款人用户ID
  14612. type: integer
  14613. type: object
  14614. models.UserReceiveInfo:
  14615. properties:
  14616. address:
  14617. description: 提货人详细地址
  14618. type: string
  14619. autoid:
  14620. description: AutoID
  14621. type: integer
  14622. cardnum:
  14623. description: 证件号码(加密存储)
  14624. type: string
  14625. cardtypeid:
  14626. description: 证件类型
  14627. type: integer
  14628. cityid:
  14629. description: 市
  14630. type: integer
  14631. cityname:
  14632. description: 城市名称
  14633. type: string
  14634. countryid:
  14635. description: 国家
  14636. type: integer
  14637. countryname:
  14638. description: 国家名称
  14639. type: string
  14640. districtid:
  14641. description: 地区
  14642. type: integer
  14643. districtname:
  14644. description: 地区名称
  14645. type: string
  14646. hasencrypt:
  14647. description: 数据是否已加密 - 0:未加密 1:已加密
  14648. type: integer
  14649. isdefault:
  14650. description: 是否默认地址 - 0:否 1:是
  14651. type: integer
  14652. phonenum:
  14653. description: 提货人联系方式(加密存储)
  14654. type: string
  14655. provinceid:
  14656. description: 省
  14657. type: integer
  14658. provincename:
  14659. description: 省名称
  14660. type: string
  14661. receivername:
  14662. description: 提货人姓名
  14663. type: string
  14664. takeremark:
  14665. description: 提货备注
  14666. type: string
  14667. userid:
  14668. description: 用户ID
  14669. type: integer
  14670. type: object
  14671. models.Useraccount:
  14672. properties:
  14673. accountname:
  14674. description: 账户名称(机构名称)
  14675. type: string
  14676. accountstatus:
  14677. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14678. type: integer
  14679. applysrc:
  14680. description: 申请来源 - 1:管理端 2:终端
  14681. type: integer
  14682. auditremark:
  14683. description: 审核备注
  14684. type: string
  14685. auditsrc:
  14686. description: 审核来源 - 1:管理端 2:终端
  14687. type: integer
  14688. audittime:
  14689. description: 审核时间
  14690. type: string
  14691. audituserid:
  14692. description: 审核人
  14693. type: integer
  14694. broker:
  14695. description: 所属经纪人ID
  14696. type: integer
  14697. canceltime:
  14698. description: 销户时间
  14699. type: string
  14700. canceluserid:
  14701. description: 销户人
  14702. type: integer
  14703. canrecommend:
  14704. description: 是否可推荐 - 0:不可 1;可
  14705. type: integer
  14706. createtime:
  14707. description: 创建时间
  14708. type: string
  14709. creatorid:
  14710. description: 创建人
  14711. type: integer
  14712. hasauth:
  14713. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14714. type: integer
  14715. isanonymous:
  14716. description: 是否匿名下单 - 0:否 1:是
  14717. type: integer
  14718. maxinvestornum:
  14719. description: 最大用户数(经纪会员下投资者个数)
  14720. type: integer
  14721. memberuserid:
  14722. description: 所属会员ID
  14723. type: integer
  14724. modifierid:
  14725. description: 修改人
  14726. type: integer
  14727. modifyremark:
  14728. description: 变更备注
  14729. type: string
  14730. modifystatus:
  14731. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14732. type: integer
  14733. modifytime:
  14734. description: 修改时间
  14735. type: string
  14736. parenttopuser:
  14737. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14738. type: string
  14739. parentuserid:
  14740. description: 所属机构ID
  14741. type: integer
  14742. reckonaccountid:
  14743. description: 默认结算资金账号ID(机构分润使用) 作废
  14744. type: integer
  14745. refercount:
  14746. description: 推荐总人数
  14747. type: integer
  14748. refereeuserid:
  14749. description: 推荐人ID
  14750. type: integer
  14751. refernum:
  14752. description: 推荐码
  14753. type: string
  14754. rootuserid:
  14755. description: 根用户ID
  14756. type: integer
  14757. subaccountlevel:
  14758. description: 子账户层数
  14759. type: integer
  14760. subarealevelpath:
  14761. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14762. type: string
  14763. userid:
  14764. description: 用户ID
  14765. type: integer
  14766. usertype:
  14767. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14768. type: integer
  14769. required:
  14770. - userid
  14771. type: object
  14772. models.Userfavoritegoods:
  14773. properties:
  14774. goodsid:
  14775. description: 商品ID
  14776. type: integer
  14777. required:
  14778. - goodsid
  14779. type: object
  14780. models.Userinfo:
  14781. properties:
  14782. address:
  14783. description: 地址
  14784. type: string
  14785. attachment1:
  14786. description: 附件1
  14787. type: string
  14788. attachment2:
  14789. description: 附件2
  14790. type: string
  14791. bankaccount:
  14792. description: 银行帐号 (加密存储)
  14793. type: string
  14794. bankaccountname:
  14795. description: 收款人名称
  14796. type: string
  14797. bankcardfrontphotourl:
  14798. description: 银行卡正面照地址
  14799. type: string
  14800. bankid:
  14801. description: 银行编码
  14802. type: string
  14803. bankname:
  14804. description: 银行名称
  14805. type: string
  14806. biznature:
  14807. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14808. type: integer
  14809. bizscope:
  14810. description: 企业经营范围(企业)
  14811. type: string
  14812. cardbackphotourl:
  14813. description: 证件背面图片地址
  14814. type: string
  14815. cardfrontphotourl:
  14816. description: 证件正面图片地址
  14817. type: string
  14818. cardnum:
  14819. description: 证件号码(加密存储)
  14820. type: string
  14821. cardtypeid:
  14822. description: 证件类型ID
  14823. type: integer
  14824. cityid:
  14825. description: 市
  14826. type: integer
  14827. company:
  14828. description: 公司(个人)
  14829. type: string
  14830. contactname:
  14831. description: 联系人
  14832. type: string
  14833. countryid:
  14834. description: 国家
  14835. type: integer
  14836. createtime:
  14837. description: 创建时间
  14838. type: string
  14839. creatorid:
  14840. description: 创建人
  14841. type: integer
  14842. customername:
  14843. description: 客户名称(企业名称)
  14844. type: string
  14845. districtid:
  14846. description: 地区
  14847. type: integer
  14848. email:
  14849. description: 邮件(加密存储)
  14850. type: string
  14851. fax:
  14852. description: 传真(加密存储)
  14853. type: string
  14854. halfbodyphotourl:
  14855. description: 半身照地址
  14856. type: string
  14857. hasencrypt:
  14858. description: 数据是否已加密 - 0:未加密 1:已加密
  14859. type: integer
  14860. headurl:
  14861. description: 头像地址
  14862. type: string
  14863. legalcardbackphotourl:
  14864. description: 法人身份证背面照地址
  14865. type: string
  14866. legalcardfrontphotourl:
  14867. description: 法人身份证正面照地址
  14868. type: string
  14869. legalpersonname:
  14870. description: 法人姓名(企业)
  14871. type: string
  14872. mobile:
  14873. description: 手机号码(加密存储)
  14874. type: string
  14875. mobile2:
  14876. description: 手机号码[明文-尚志]
  14877. type: string
  14878. modifierid:
  14879. description: 修改人
  14880. type: integer
  14881. modifiertime:
  14882. description: 修改时间
  14883. type: string
  14884. needinvoice:
  14885. description: 是否需要发票 - 0:不需要 1:需要
  14886. type: integer
  14887. nickname:
  14888. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14889. type: string
  14890. openmode:
  14891. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14892. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14893. type: integer
  14894. otherurl:
  14895. description: 其它图片地址[使用分号分隔]
  14896. type: string
  14897. postalcode:
  14898. description: 邮政编码
  14899. type: string
  14900. provinceid:
  14901. description: 省
  14902. type: integer
  14903. qq:
  14904. description: QQ(加密存储
  14905. type: string
  14906. remark:
  14907. description: 备注
  14908. type: string
  14909. sex:
  14910. description: '用户性别 0: 女 1: 男'
  14911. type: integer
  14912. signpdfurl:
  14913. description: 签约pdf文件
  14914. type: string
  14915. telphone:
  14916. description: 联系电话(加密存储)
  14917. type: string
  14918. userid:
  14919. description: 用户ID
  14920. type: integer
  14921. userinfotype:
  14922. description: 用户信息类型 - 1:个人 2:企业
  14923. type: integer
  14924. userstatus:
  14925. description: 用户状态 - 1:正常 2:注销
  14926. type: integer
  14927. usertype:
  14928. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14929. type: integer
  14930. wechat:
  14931. description: 微信(加密存储)
  14932. type: string
  14933. wskhinfo:
  14934. description: 开户申请信息(JSON)
  14935. type: string
  14936. required:
  14937. - userid
  14938. type: object
  14939. models.WRSConverTDetail:
  14940. properties:
  14941. convertratio:
  14942. description: 套保系数
  14943. type: number
  14944. deliverygoodscode:
  14945. description: 现货商品代码
  14946. type: string
  14947. deliverygoodsid:
  14948. description: 现货品种ID
  14949. type: integer
  14950. deliverygoodsname:
  14951. description: 现货商品名称
  14952. type: string
  14953. enumdicname:
  14954. description: 单位名称
  14955. type: string
  14956. goodsunitid:
  14957. description: 套保品种单位id
  14958. type: integer
  14959. middlegoodscode:
  14960. description: 套保品种代码
  14961. type: string
  14962. middlegoodsid:
  14963. description: 套保品种ID
  14964. type: integer
  14965. middlegoodsname:
  14966. description: 套保品种名称
  14967. type: string
  14968. modifytime:
  14969. description: 修改时间
  14970. type: string
  14971. wrstandardid:
  14972. description: 品类ID
  14973. type: integer
  14974. type: object
  14975. models.WRStandardInfo:
  14976. properties:
  14977. areauserid:
  14978. description: 所属机构
  14979. type: integer
  14980. convertfactor:
  14981. description: 标仓系数
  14982. type: number
  14983. createtime:
  14984. description: 创建时间
  14985. type: string
  14986. creatorid:
  14987. description: 创建人
  14988. type: integer
  14989. deliverygoodsid:
  14990. description: 品种ID
  14991. type: integer
  14992. deliverygoodsname:
  14993. description: 交割商品名称
  14994. type: string
  14995. factoryitemjson:
  14996. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14997. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14998. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14999. 逗号分隔'
  15000. type: string
  15001. isvalid:
  15002. description: 是否有效 - 0:无效 1:有效
  15003. type: integer
  15004. minivalue:
  15005. description: 最小变动值
  15006. type: integer
  15007. minivaluedp:
  15008. description: 最小变动值小数位
  15009. type: integer
  15010. realminivalue:
  15011. description: 实际最小变动值
  15012. type: integer
  15013. realminivaluedp:
  15014. description: 实际最小变动值小数位
  15015. type: integer
  15016. remark:
  15017. description: 备注
  15018. type: string
  15019. unitid:
  15020. description: 单位ID
  15021. type: integer
  15022. unitname:
  15023. description: 单位
  15024. type: string
  15025. updatetime:
  15026. description: 更新时间
  15027. type: string
  15028. updatorid:
  15029. description: 更新人
  15030. type: integer
  15031. wrsstatus:
  15032. description: 状态 - 作废 - 0:未激活 1:正常
  15033. type: integer
  15034. wrstandardcode:
  15035. description: 现货品类代码
  15036. type: string
  15037. wrstandardid:
  15038. description: 现货品类ID(SEQ_WRSTANDARD)
  15039. type: integer
  15040. wrstandardname:
  15041. description: 现货品类名称
  15042. type: string
  15043. required:
  15044. - wrstandardid
  15045. type: object
  15046. models.WRTradeBargainApply:
  15047. properties:
  15048. accountid:
  15049. description: 摘牌资金账号
  15050. type: integer
  15051. applyprice:
  15052. description: 申请价格(议价价格)
  15053. type: string
  15054. applyqty:
  15055. description: 摘牌数量(议价数量)
  15056. type: number
  15057. applyremark:
  15058. description: 申请备注
  15059. type: string
  15060. applystatus:
  15061. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  15062. type: integer
  15063. applytime:
  15064. description: 申请时间(议价时间)
  15065. type: string
  15066. begindate:
  15067. description: 开始交易日(yyyymmdd)
  15068. type: string
  15069. buyorsell:
  15070. description: 买卖(挂牌类型) - 0:买 1:卖
  15071. type: integer
  15072. confirmremark:
  15073. description: 确认备注
  15074. type: string
  15075. confirmtime:
  15076. description: 确认时间
  15077. type: string
  15078. confirmuserid:
  15079. description: 确认人
  15080. type: integer
  15081. deliverygoodscode:
  15082. description: 品种代码
  15083. type: string
  15084. deliverygoodsid:
  15085. description: 品种ID
  15086. type: integer
  15087. deliverygoodsname:
  15088. description: 品种名称
  15089. type: string
  15090. deliverymonth:
  15091. description: 交收月
  15092. type: string
  15093. enddate:
  15094. description: 结束交易日(yyyymmdd)
  15095. type: string
  15096. enumdicname:
  15097. description: 单位名称
  15098. type: string
  15099. fixedprice:
  15100. description: 挂牌价格
  15101. type: number
  15102. handlestatus:
  15103. description: 处理状态
  15104. type: integer
  15105. marginvalue:
  15106. description: 履约保证金比例
  15107. type: number
  15108. marketid:
  15109. description: 市场ID
  15110. type: integer
  15111. matchaccountid:
  15112. description: 挂牌方资金账号
  15113. type: integer
  15114. matchuserid:
  15115. description: 挂牌方用户id
  15116. type: integer
  15117. matchusername:
  15118. description: 挂牌方用户名称(已脱敏)
  15119. type: string
  15120. minivalue:
  15121. description: 现货商品最小变动值
  15122. type: integer
  15123. optioncompare:
  15124. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15125. type: string
  15126. orderqty:
  15127. description: 挂牌数量
  15128. type: integer
  15129. refprice:
  15130. description: 参考价格
  15131. type: string
  15132. retcode:
  15133. description: 委托返回代码
  15134. type: integer
  15135. templatename:
  15136. description: 履约方式(履约模板名称)
  15137. type: string
  15138. tradedate:
  15139. description: 交易日(yyyyMMdd)
  15140. type: string
  15141. userid:
  15142. description: 摘牌人用户ID(议价人ID)
  15143. type: integer
  15144. username:
  15145. description: 议价人名字(已脱敏)
  15146. type: string
  15147. validtime:
  15148. description: 有效期限
  15149. type: string
  15150. warehouseid:
  15151. description: 仓库ID
  15152. type: integer
  15153. warehousename:
  15154. description: 仓库名称
  15155. type: string
  15156. wrbargainid:
  15157. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  15158. type: string
  15159. wrfactortypeid:
  15160. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15161. type: string
  15162. wrfactortypename:
  15163. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15164. type: string
  15165. wrstandardcode:
  15166. description: 现货商品代码
  15167. type: string
  15168. wrstandardid:
  15169. description: 现货商品ID
  15170. type: integer
  15171. wrstandardname:
  15172. description: 商品名称
  15173. type: string
  15174. wrtradeorderid:
  15175. description: 关联委托单ID
  15176. type: string
  15177. wrtypename:
  15178. description: 商品
  15179. type: string
  15180. type: object
  15181. models.Warehouseinfo:
  15182. properties:
  15183. address:
  15184. description: 详细地址
  15185. type: string
  15186. areauserid:
  15187. description: 所属机构
  15188. type: integer
  15189. autoid:
  15190. description: 自增ID
  15191. type: integer
  15192. cityid:
  15193. description: 市
  15194. type: integer
  15195. contactname:
  15196. description: 联系人
  15197. type: string
  15198. contactnum:
  15199. description: 联系电话
  15200. type: string
  15201. countryid:
  15202. description: 国家
  15203. type: integer
  15204. createtime:
  15205. description: 创建时间
  15206. type: string
  15207. districtid:
  15208. description: 区
  15209. type: integer
  15210. hasvideo:
  15211. description: 是否有视频 - 0:无 1:有
  15212. type: integer
  15213. provinceid:
  15214. description: 省
  15215. type: integer
  15216. remark:
  15217. description: 审核备注
  15218. type: string
  15219. videourl:
  15220. description: 视频地址
  15221. type: string
  15222. warehousecode:
  15223. description: 仓库代码
  15224. type: string
  15225. warehousename:
  15226. description: 仓库名称
  15227. type: string
  15228. warehousestatus:
  15229. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  15230. type: integer
  15231. warehousetype:
  15232. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  15233. type: integer
  15234. required:
  15235. - autoid
  15236. - warehousecode
  15237. type: object
  15238. models.WrAverageTradePrice:
  15239. properties:
  15240. averageprice:
  15241. description: 成交均价
  15242. type: number
  15243. tradedate:
  15244. description: 交易日yyyymm
  15245. type: string
  15246. type: object
  15247. models.WrBrandAndYears:
  15248. properties:
  15249. brandlst:
  15250. description: 品牌列表
  15251. items:
  15252. $ref: '#/definitions/models.DgFactoryItem'
  15253. type: array
  15254. yearslst:
  15255. description: 年份列表
  15256. items:
  15257. $ref: '#/definitions/models.DgFactoryItem'
  15258. type: array
  15259. type: object
  15260. models.WrBsGoodsInfo:
  15261. properties:
  15262. buyorsell:
  15263. description: 买卖方向 0-买 1-卖
  15264. type: integer
  15265. goodsid:
  15266. description: 交易合约ID
  15267. type: integer
  15268. lstitem:
  15269. description: 商品信息项
  15270. items:
  15271. $ref: '#/definitions/models.WrTypeItem'
  15272. type: array
  15273. lststep:
  15274. description: 履约规则
  15275. items:
  15276. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15277. type: array
  15278. type: object
  15279. models.WrBuybackDetail:
  15280. properties:
  15281. buybackamount:
  15282. description: 回购金额
  15283. type: number
  15284. buybackqty:
  15285. description: 回购数量
  15286. type: number
  15287. buybackreleasemargin:
  15288. description: 回购释放保证金
  15289. type: number
  15290. buybacktime:
  15291. description: 回购时间
  15292. type: string
  15293. errordesc:
  15294. description: 错误描述
  15295. type: string
  15296. handlestatus:
  15297. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  15298. type: integer
  15299. relatedwrid:
  15300. description: 关联仓单ID
  15301. type: integer
  15302. scfcontractid:
  15303. description: SCF合同ID
  15304. type: string
  15305. scfwrbuybackid:
  15306. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  15307. type: integer
  15308. tradedate:
  15309. description: 交易日(yyyyMMdd)
  15310. type: string
  15311. type: object
  15312. models.WrClientAdSpaceConfig:
  15313. properties:
  15314. adspaceid:
  15315. description: 广告位ID
  15316. type: integer
  15317. adspacename:
  15318. description: 广告位名称
  15319. type: string
  15320. adspacetype:
  15321. description: 广告位类型 - 1:固定广告位
  15322. type: integer
  15323. areauserid:
  15324. description: 所属机构ID
  15325. type: integer
  15326. createdate:
  15327. description: 创建时间
  15328. type: string
  15329. imagepath:
  15330. description: 图片
  15331. type: string
  15332. modifierid:
  15333. description: 操作人
  15334. type: integer
  15335. recsize:
  15336. description: 推荐尺寸
  15337. type: string
  15338. title:
  15339. description: 标题
  15340. type: string
  15341. updatedate:
  15342. description: 更新时间
  15343. type: string
  15344. urlcontent:
  15345. description: 链接(地址\商品ID\功能菜单Key\appid)
  15346. type: string
  15347. urltype:
  15348. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  15349. type: integer
  15350. type: object
  15351. models.WrDeliveryAvalidHoldLB:
  15352. properties:
  15353. accountid:
  15354. description: 资金账号
  15355. type: integer
  15356. avalidqty:
  15357. description: 数量(可点选数量)
  15358. type: number
  15359. deliverygoodsid:
  15360. description: 品种id
  15361. type: integer
  15362. enumdicname:
  15363. description: 单位名称
  15364. type: string
  15365. goodsid:
  15366. description: x合约商品id
  15367. type: integer
  15368. ladingbillid:
  15369. description: 提单id
  15370. type: string
  15371. pgoodscode:
  15372. description: p商品代码(点价合约)
  15373. type: string
  15374. pgoodsid:
  15375. description: p商品id(点价合约)
  15376. type: integer
  15377. pgoodsname:
  15378. description: p商品名称(点价合约)
  15379. type: string
  15380. pricemove:
  15381. description: 升贴水
  15382. type: number
  15383. subnum:
  15384. description: 提单子id
  15385. type: integer
  15386. userid:
  15387. description: 用户id
  15388. type: integer
  15389. username:
  15390. description: 仓单持有人
  15391. type: string
  15392. warehousecode:
  15393. description: 仓库代码
  15394. type: string
  15395. warehouseid:
  15396. description: 仓库id
  15397. type: integer
  15398. warehousename:
  15399. description: 仓库名称
  15400. type: string
  15401. wrfactortypeid:
  15402. description: 仓单要素id
  15403. type: string
  15404. wrstandardcode:
  15405. description: 品代码
  15406. type: string
  15407. wrstandardid:
  15408. description: 品类d
  15409. type: integer
  15410. wrstandardname:
  15411. description: 品类名称
  15412. type: string
  15413. wrtypename:
  15414. description: 商品
  15415. type: string
  15416. xgoodscode:
  15417. description: x合约代码
  15418. type: string
  15419. xgoodsname:
  15420. description: x合约名称
  15421. type: string
  15422. type: object
  15423. models.WrDeliveryDetail:
  15424. properties:
  15425. accountid:
  15426. description: 账号ID
  15427. type: integer
  15428. averageprice:
  15429. description: 交割均价 = 交割金额 / 交割数量
  15430. type: number
  15431. begindate:
  15432. description: 开始交易日(yyyymmdd)
  15433. type: string
  15434. buyorsell:
  15435. description: 方向 - 0:买 1:卖
  15436. type: integer
  15437. deliveryamount:
  15438. description: 货款金额(X总货款+P总货款)
  15439. type: number
  15440. deliveryid:
  15441. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  15442. type: string
  15443. deliveryorderid:
  15444. description: 申报单号
  15445. type: string
  15446. deliverypricemove:
  15447. description: 升贴水(升贴水总额)
  15448. type: number
  15449. deliveryqty:
  15450. description: 交收数量(点选数量)
  15451. type: number
  15452. deliverystatus:
  15453. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  15454. type: integer
  15455. deliverytime:
  15456. description: 交割时间
  15457. type: string
  15458. deliverytotalamount:
  15459. description: 交收金额
  15460. type: number
  15461. enddate:
  15462. description: 结束交易日(yyyymmdd)
  15463. type: string
  15464. enumdicname:
  15465. description: 单位名称
  15466. type: string
  15467. matchaccountid:
  15468. description: 对手账号ID
  15469. type: integer
  15470. matchusername:
  15471. description: 对手方名称(仓单持有人)
  15472. type: string
  15473. p1goodsremainamount:
  15474. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15475. type: number
  15476. pdeliverycloseqty:
  15477. description: p合约平仓数量
  15478. type: number
  15479. pdeliveryprice:
  15480. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15481. type: number
  15482. pgoodscode:
  15483. description: 商品代码
  15484. type: string
  15485. pgoodsid:
  15486. description: p点选合约id
  15487. type: integer
  15488. pgoodsname:
  15489. description: 商品名称
  15490. type: string
  15491. ppricemode:
  15492. description: 点价价格方式 - 1:商品价 2:固定值
  15493. type: integer
  15494. tradedate:
  15495. description: 交易日(yyyymmdd)
  15496. type: string
  15497. userid:
  15498. description: 用户id
  15499. type: integer
  15500. username:
  15501. description: 用户名称
  15502. type: string
  15503. warehousename:
  15504. description: 仓库名称
  15505. type: string
  15506. wrfactortypeid:
  15507. description: 仓单要素类型ID
  15508. type: string
  15509. wrtypename:
  15510. description: 商品
  15511. type: string
  15512. xdeliverycloseqty:
  15513. description: 合约数量
  15514. type: number
  15515. xgoodsamount:
  15516. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15517. type: number
  15518. xgoodscode:
  15519. description: 商品代码
  15520. type: string
  15521. xgoodsid:
  15522. description: x交易合约ID
  15523. type: integer
  15524. xgoodsname:
  15525. description: 商品名称
  15526. type: string
  15527. type: object
  15528. models.WrDeliveryGoodsSection:
  15529. properties:
  15530. dglst:
  15531. description: 板块商品列表
  15532. items:
  15533. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15534. type: array
  15535. imagepath:
  15536. description: 图片地址
  15537. type: string
  15538. orderindex:
  15539. description: 排序
  15540. type: integer
  15541. sectionid:
  15542. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15543. = 1的版块1 - 云融指数
  15544. type: integer
  15545. sectionname:
  15546. description: 版块名称
  15547. type: string
  15548. sectiontype:
  15549. description: 版块类型 - 1:指数版块 2:普通版块
  15550. type: integer
  15551. type: object
  15552. models.WrDeliveryGoodsSectionConfig:
  15553. properties:
  15554. deliverygoodscode:
  15555. description: 现货商品代码
  15556. type: string
  15557. deliverygoodsid:
  15558. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15559. type: integer
  15560. deliverygoodsname:
  15561. description: 现货商品名称
  15562. type: string
  15563. orderindex:
  15564. description: 排序
  15565. type: integer
  15566. type: object
  15567. models.WrDraftUserInfo:
  15568. properties:
  15569. address:
  15570. description: 地址
  15571. type: string
  15572. attachment1:
  15573. description: 附件1
  15574. type: string
  15575. attachment2:
  15576. description: 附件2
  15577. type: string
  15578. attachment3:
  15579. description: 附件3
  15580. type: string
  15581. attachment4:
  15582. description: 附件4
  15583. type: string
  15584. attachment5:
  15585. description: 附件5
  15586. type: string
  15587. bankaccount:
  15588. description: 银行帐号 (加密存储)
  15589. type: string
  15590. bankaccountname:
  15591. description: 收款人名称
  15592. type: string
  15593. bankcardfrontphotourl:
  15594. description: 银行卡正面照地址
  15595. type: string
  15596. bankid:
  15597. description: 银行编码
  15598. type: string
  15599. bankname:
  15600. description: 银行名称
  15601. type: string
  15602. birthday:
  15603. description: 生日(个人:年月日)
  15604. type: string
  15605. biznature:
  15606. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15607. type: integer
  15608. bizscope:
  15609. description: 企业经营范围(企业)
  15610. type: string
  15611. biztype:
  15612. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  15613. type: integer
  15614. cardbackphotourl:
  15615. description: 证件背面图片地址
  15616. type: string
  15617. cardfrontphotourl:
  15618. description: 证件正面图片地址
  15619. type: string
  15620. cardnum:
  15621. description: 证件号码(加密存储)
  15622. type: string
  15623. cardtypeid:
  15624. description: 证件类型ID
  15625. type: integer
  15626. cityid:
  15627. description: 市
  15628. type: integer
  15629. company:
  15630. description: 公司(个人)
  15631. type: string
  15632. contactcardbackphotourl:
  15633. description: 联系人证件背面图片地址
  15634. type: string
  15635. contactcardfrontphotourl:
  15636. description: 联系人证件正面图片地址
  15637. type: string
  15638. contactname:
  15639. description: 联系人
  15640. type: string
  15641. countryid:
  15642. description: 国家
  15643. type: integer
  15644. createtime:
  15645. description: 创建时间
  15646. type: string
  15647. creatorid:
  15648. description: 创建人
  15649. type: integer
  15650. creditquota:
  15651. description: 授信额度(金瑞)
  15652. type: number
  15653. customername:
  15654. description: 客户名称(企业名称)
  15655. type: string
  15656. districtid:
  15657. description: 地区
  15658. type: integer
  15659. email:
  15660. description: 邮件(加密存储)
  15661. type: string
  15662. fax:
  15663. description: 传真(加密存储)
  15664. type: string
  15665. halfbodyphotourl:
  15666. description: 半身照地址
  15667. type: string
  15668. hasencrypt:
  15669. description: 数据是否已加密 - 0:未加密 1:已加密
  15670. type: integer
  15671. headurl:
  15672. description: 头像地址
  15673. type: string
  15674. legalcardbackphotourl:
  15675. description: 法人身份证背面照地址
  15676. type: string
  15677. legalcardfrontphotourl:
  15678. description: 法人身份证正面照地址
  15679. type: string
  15680. legalpersonname:
  15681. description: 法人姓名(企业)
  15682. type: string
  15683. mobile:
  15684. description: 手机号码(加密存储)
  15685. type: string
  15686. mobile2:
  15687. description: 手机号码[明文-尚志]
  15688. type: string
  15689. modifierid:
  15690. description: 修改人
  15691. type: integer
  15692. modifiertime:
  15693. description: 修改时间
  15694. type: string
  15695. needinvoice:
  15696. description: 是否需要发票 - 0:不需要 1:需要
  15697. type: integer
  15698. nickname:
  15699. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15700. type: string
  15701. openmode:
  15702. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  15703. 6:苹果手机端注册 7:PC交易端注册"
  15704. type: integer
  15705. otherurl:
  15706. description: 其它图片地址[使用分号分隔]
  15707. type: string
  15708. postalcode:
  15709. description: 邮政编码
  15710. type: string
  15711. provinceid:
  15712. description: 省
  15713. type: integer
  15714. proxystatementurl:
  15715. description: 授权委托书
  15716. type: string
  15717. qq:
  15718. description: QQ(加密存储
  15719. type: string
  15720. remark:
  15721. description: 备注
  15722. type: string
  15723. sex:
  15724. description: '用户性别 0: 女 1: 男'
  15725. type: integer
  15726. signpdfurl:
  15727. description: 签约pdf文件
  15728. type: string
  15729. taxpayernum:
  15730. description: 纳税人识别号
  15731. type: string
  15732. telphone:
  15733. description: 联系电话(加密存储)
  15734. type: string
  15735. userid:
  15736. description: 用户ID
  15737. type: integer
  15738. userinfotype:
  15739. description: 用户信息类型 - 1:个人 2:企业
  15740. type: integer
  15741. userstatus:
  15742. description: 用户状态 - 1:正常 2:注销
  15743. type: integer
  15744. usertype:
  15745. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  15746. type: integer
  15747. wechat:
  15748. description: 微信(加密存储)
  15749. type: string
  15750. wskhinfo:
  15751. description: 开户申请信息(JSON)
  15752. type: string
  15753. type: object
  15754. models.WrFAProductDetail:
  15755. properties:
  15756. accountid:
  15757. description: 资金账号
  15758. type: integer
  15759. areauserid:
  15760. description: 金融机构ID
  15761. type: integer
  15762. financingdays:
  15763. description: 天数(天)
  15764. type: integer
  15765. interestminlen:
  15766. description: 最小起息天数
  15767. type: integer
  15768. interestrate:
  15769. description: 利率
  15770. type: number
  15771. interestratemode:
  15772. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15773. type: integer
  15774. interestsettlemode:
  15775. description: 结息方式 - 1:按日结息 3:按月结息
  15776. type: integer
  15777. interestsettlevalue:
  15778. description: 结息方式值
  15779. type: integer
  15780. isautoloan:
  15781. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15782. type: integer
  15783. loantag:
  15784. description: '放款标识: "放款快" 或者为空'
  15785. type: string
  15786. marginratio:
  15787. description: 保证金比率质押率 - [仓单质押]
  15788. type: number
  15789. productdetailid:
  15790. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15791. type: integer
  15792. productid:
  15793. description: 金融产品ID
  15794. type: integer
  15795. productname:
  15796. description: 产品名称
  15797. type: string
  15798. updatetime:
  15799. description: 更新时间
  15800. type: string
  15801. username:
  15802. description: 融出方
  15803. type: string
  15804. type: object
  15805. models.WrFactorTypeInfo:
  15806. properties:
  15807. deliverygoodscode:
  15808. description: 品种代码
  15809. type: string
  15810. deliverygoodsname:
  15811. description: 品种名称
  15812. type: string
  15813. dgfactoryitemid:
  15814. description: 选择项id
  15815. type: integer
  15816. dgfactoryitemtypeid:
  15817. description: 要素选择项ID (1-仓库 2-品牌)
  15818. type: integer
  15819. dgfactoryitemvalue:
  15820. description: 要素项值
  15821. type: string
  15822. itemtypename:
  15823. description: 要素项名称
  15824. type: string
  15825. optioncompare:
  15826. description: 选择比较串
  15827. type: string
  15828. warehouseid:
  15829. description: 仓库id
  15830. type: integer
  15831. wrfactortypeid:
  15832. description: 仓单要素ID
  15833. type: string
  15834. wrfactortypename:
  15835. description: 要素名称
  15836. type: string
  15837. wrfactortypename2:
  15838. description: 要素名称(不含仓库)
  15839. type: string
  15840. wrstandardcode:
  15841. description: 品类代码
  15842. type: string
  15843. wrstandardid:
  15844. description: 品类id
  15845. type: integer
  15846. wrstandardname:
  15847. description: 品类名称
  15848. type: string
  15849. type: object
  15850. models.WrFilterItem:
  15851. properties:
  15852. itemcode:
  15853. description: 代码
  15854. type: string
  15855. itemid:
  15856. description: 项id
  15857. type: integer
  15858. itemname:
  15859. description: 名称
  15860. type: string
  15861. itemtype:
  15862. description: 类型 1-品种 2-品类(商品) 3-仓库
  15863. type: integer
  15864. type: object
  15865. models.WrFinanceBuyApply:
  15866. properties:
  15867. applydate:
  15868. description: 申请时间
  15869. type: string
  15870. applystatus:
  15871. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15872. type: integer
  15873. applyuserid:
  15874. description: 申请人
  15875. type: integer
  15876. auditdate:
  15877. description: 审核时间
  15878. type: string
  15879. auditremark:
  15880. description: 审核备注
  15881. type: string
  15882. audituserid:
  15883. description: 审核人
  15884. type: integer
  15885. buyaccountid:
  15886. description: 买方资金账号
  15887. type: integer
  15888. buyorsell:
  15889. description: 买卖 - 0:买 1:卖
  15890. type: integer
  15891. buyuserid:
  15892. description: 买方用户ID
  15893. type: integer
  15894. buyusername:
  15895. description: 买方名称
  15896. type: string
  15897. buywrtradeorderid:
  15898. description: 融资方买委托单ID
  15899. type: string
  15900. deliverygoodscode:
  15901. description: 品种代码
  15902. type: string
  15903. deliverygoodsid:
  15904. description: 品种ID
  15905. type: integer
  15906. deliverygoodsname:
  15907. description: 品种名称
  15908. type: string
  15909. deliverymonth:
  15910. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15911. type: string
  15912. enumdicname:
  15913. description: 单位名称
  15914. type: string
  15915. financeaccountid:
  15916. description: 融资方资金帐户ID
  15917. type: integer
  15918. financeapplyid:
  15919. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15920. type: string
  15921. financeareauserid:
  15922. description: 融资方用户ID
  15923. type: string
  15924. financename:
  15925. description: 融出方名称
  15926. type: string
  15927. financetype:
  15928. description: 融资类型 1-融资回购
  15929. type: integer
  15930. financingdays:
  15931. description: 天数(天)
  15932. type: integer
  15933. freezebuymargin:
  15934. description: 冻结融资保证金(买方)
  15935. type: number
  15936. handleremark:
  15937. description: 处理备注
  15938. type: string
  15939. handlestatus:
  15940. description: 处理状态
  15941. type: integer
  15942. interestminlen:
  15943. description: 最小起息天数
  15944. type: integer
  15945. interestrate:
  15946. description: 利率
  15947. type: number
  15948. interestratemode:
  15949. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15950. type: integer
  15951. interestsettlemode:
  15952. description: 结息方式 - 1:按日结息 3:按月结息
  15953. type: integer
  15954. interestsettlevalue:
  15955. description: 结息方式值
  15956. type: integer
  15957. isautoloan:
  15958. description: 是否自动放款 - 0:手动 1:自动
  15959. type: integer
  15960. marginratio:
  15961. description: 保证金比率质押率 - [仓单质押]
  15962. type: number
  15963. marketid:
  15964. description: 市场ID
  15965. type: integer
  15966. minivalue:
  15967. description: 现货商品最小变动值
  15968. type: integer
  15969. optioncompare:
  15970. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15971. type: string
  15972. orderqty:
  15973. description: 委托数量(商品数量)
  15974. type: number
  15975. productdetailid:
  15976. description: 产品组合ID
  15977. type: integer
  15978. productid:
  15979. description: 金融产品ID
  15980. type: integer
  15981. productname:
  15982. description: 产品名称
  15983. type: string
  15984. remark:
  15985. description: 备注
  15986. type: string
  15987. scfcontractid:
  15988. description: 仓单回购合同ID
  15989. type: string
  15990. sellaccountid:
  15991. description: 卖方资金账号
  15992. type: integer
  15993. selluserid:
  15994. description: 卖方用户ID
  15995. type: integer
  15996. sellwrtradeorderid:
  15997. description: 卖方委托单ID
  15998. type: string
  15999. tradeamount:
  16000. description: 成交金额(借款金额)
  16001. type: number
  16002. tradedate:
  16003. description: 交易日(yyyyMMdd)
  16004. type: string
  16005. tradeprice:
  16006. description: 成交价格
  16007. type: number
  16008. warehouseid:
  16009. description: 仓库ID
  16010. type: integer
  16011. warehousename:
  16012. description: 仓库名称
  16013. type: string
  16014. wrfactortypeid:
  16015. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16016. type: string
  16017. wrfactortypename:
  16018. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16019. type: string
  16020. wrpricetype:
  16021. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  16022. type: integer
  16023. wrstandardcode:
  16024. description: 现货商品代码
  16025. type: string
  16026. wrstandardid:
  16027. description: 现货商品ID
  16028. type: integer
  16029. wrstandardname:
  16030. description: 商品名称
  16031. type: string
  16032. wrtypename:
  16033. description: 商品
  16034. type: string
  16035. type: object
  16036. models.WrFriendApply:
  16037. properties:
  16038. applicantid:
  16039. description: 申请人
  16040. type: integer
  16041. applyname:
  16042. description: 申请人名称
  16043. type: string
  16044. applysrc:
  16045. description: 申请来源 - 1:管理端 2:终端
  16046. type: integer
  16047. applystatus:
  16048. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16049. type: integer
  16050. applytime:
  16051. description: 申请时间
  16052. type: string
  16053. auditname:
  16054. description: 审核人名称
  16055. type: string
  16056. auditorid:
  16057. description: 审核人
  16058. type: integer
  16059. auditremark:
  16060. description: 审核备注
  16061. type: string
  16062. auditsrc:
  16063. description: 审核来源 - 1:管理端 2:终端
  16064. type: integer
  16065. audittime:
  16066. description: 审核时间
  16067. type: string
  16068. friendapplyid:
  16069. description: 申请ID(SEQ_FRIENDAPPLY)
  16070. type: string
  16071. friendname:
  16072. description: 好友名字(已脱敏)
  16073. type: string
  16074. frienduserid:
  16075. description: 好友用户ID
  16076. type: string
  16077. remark:
  16078. description: 备注
  16079. type: string
  16080. userid:
  16081. description: 申请人用户ID
  16082. type: integer
  16083. type: object
  16084. models.WrFtDeliveryGoods:
  16085. properties:
  16086. deliverygoodscode:
  16087. description: 品种代码
  16088. type: string
  16089. deliverygoodsid:
  16090. description: 品种ID
  16091. type: integer
  16092. deliverygoodsname:
  16093. description: 品种名称
  16094. type: string
  16095. wdlst:
  16096. description: 商品列表
  16097. items:
  16098. $ref: '#/definitions/models.WrFtWrstandard'
  16099. type: array
  16100. type: object
  16101. models.WrFtWrstandard:
  16102. properties:
  16103. enumdicname:
  16104. description: 单位名称
  16105. type: string
  16106. minivalue:
  16107. description: 最小变动值
  16108. type: integer
  16109. wrstandardcode:
  16110. description: 现货商品代码
  16111. type: string
  16112. wrstandardid:
  16113. description: 现货商品ID
  16114. type: integer
  16115. wrstandardname:
  16116. description: 商品名称
  16117. type: string
  16118. type: object
  16119. models.WrGoodsInfo:
  16120. properties:
  16121. haswr:
  16122. description: 0:仓单预售 1:仓单贸易
  16123. type: integer
  16124. lstitem:
  16125. description: 商品信息项
  16126. items:
  16127. $ref: '#/definitions/models.WrTypeItem'
  16128. type: array
  16129. lststep:
  16130. description: 履约规则
  16131. items:
  16132. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16133. type: array
  16134. marketid:
  16135. description: 市场id
  16136. type: integer
  16137. type: object
  16138. models.WrGoodsPerformanceStep:
  16139. properties:
  16140. autoid:
  16141. description: AutoID
  16142. type: integer
  16143. isauto:
  16144. description: 是否自动 - 0:不自动 1:自动
  16145. type: integer
  16146. remark:
  16147. description: 备注
  16148. type: string
  16149. stepdate:
  16150. description: 天数信息(T+N)
  16151. type: string
  16152. stepdays:
  16153. description: 距离上一步天数
  16154. type: integer
  16155. stepindex:
  16156. description: 步骤序号
  16157. type: integer
  16158. stepinfo:
  16159. description: 步骤信息(步骤名称+步骤值)
  16160. type: string
  16161. steptypeid:
  16162. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16163. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16164. type: integer
  16165. steptypename:
  16166. description: 步骤名称
  16167. type: string
  16168. stepvalue:
  16169. description: 步骤值
  16170. type: number
  16171. templateid:
  16172. description: 履约计划模板ID
  16173. type: integer
  16174. type: object
  16175. models.WrHoldLB:
  16176. properties:
  16177. accountid:
  16178. description: 持有人帐户ID
  16179. type: integer
  16180. bannerpicurl:
  16181. description: Banner图
  16182. type: string
  16183. createtime:
  16184. description: 创建时间(过户时间)
  16185. type: string
  16186. deliverygoodscode:
  16187. description: 品种代码
  16188. type: string
  16189. deliverygoodsid:
  16190. description: 品种ID
  16191. type: integer
  16192. deliverygoodsname:
  16193. description: 品种名称
  16194. type: string
  16195. enableqty:
  16196. description: 可用数量
  16197. type: number
  16198. enumdicname:
  16199. description: 单位名称
  16200. type: string
  16201. freezerqty:
  16202. description: 冻结数量
  16203. type: number
  16204. ladingbillid:
  16205. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16206. type: string
  16207. minivalue:
  16208. description: 现货商品最小变动值
  16209. type: integer
  16210. optioncompare:
  16211. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16212. type: string
  16213. parentsubnum:
  16214. description: 拆分父子单号
  16215. type: integer
  16216. pledgeqty:
  16217. description: 质押数量
  16218. type: number
  16219. qty:
  16220. description: 数量
  16221. type: number
  16222. subnum:
  16223. description: 提单子单号
  16224. type: integer
  16225. thumurls:
  16226. description: 缩略图
  16227. type: string
  16228. tradedate:
  16229. description: 交易日(yyyyMMdd)
  16230. type: string
  16231. userid:
  16232. description: 持有人ID
  16233. type: integer
  16234. warehouseid:
  16235. description: 仓库ID
  16236. type: integer
  16237. warehousename:
  16238. description: 仓库名称
  16239. type: string
  16240. wrfactortypeid:
  16241. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16242. type: string
  16243. wrfactortypename:
  16244. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16245. type: string
  16246. wrholdeno:
  16247. description: 仓单编号
  16248. type: string
  16249. wrid:
  16250. description: 仓单变更ID
  16251. type: string
  16252. wrstandardcode:
  16253. description: 现货商品代码
  16254. type: string
  16255. wrstandardid:
  16256. description: 现货商品ID
  16257. type: integer
  16258. wrstandardname:
  16259. description: 商品名称
  16260. type: string
  16261. wrtypename:
  16262. description: 商品
  16263. type: string
  16264. type: object
  16265. models.WrMarketTradeConfig:
  16266. properties:
  16267. basisdownratio:
  16268. description: 浮动价基差下限比例(仓单贸易)
  16269. type: number
  16270. basisupratio:
  16271. description: 浮动价基差上限比例(仓单贸易)
  16272. type: number
  16273. buychargealgorithm:
  16274. description: 买方手续费收取方式 1:比率 2:固定
  16275. type: integer
  16276. buychargealgorithm2:
  16277. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  16278. type: integer
  16279. buychargealgorithmvalue:
  16280. description: 买方手续费设置值(交易所部分)
  16281. type: number
  16282. buychargealgorithmvalue2:
  16283. description: 买方手续费设置值(会员部分)
  16284. type: number
  16285. buychargealgorithmvalue3:
  16286. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  16287. type: number
  16288. buychargealgorithmvalue4:
  16289. description: 回购买方手续费设置值(会员部分) --77:现货商城
  16290. type: number
  16291. buyfirstmarginalgorithm:
  16292. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  16293. type: integer
  16294. buyfirstmarginvalue:
  16295. description: 买方出价保证金设置值 - [竞拍]
  16296. type: number
  16297. buymarginalgorithm:
  16298. description: 买方保证金方式 - 1:比率 2:固定
  16299. type: integer
  16300. buymarginvalue:
  16301. description: 买方保证金设置值
  16302. type: number
  16303. buyreleaseratio:
  16304. description: 买方释放比率[2:分步履约]
  16305. type: number
  16306. executemode:
  16307. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  16308. type: integer
  16309. executeside:
  16310. description: 执行方[2:分步履约] - 1:买方 2:卖方
  16311. type: integer
  16312. failedchargealgorithm:
  16313. description: 流拍手续费收取方式 1:比率 2:固定
  16314. type: integer
  16315. failedchargevalue:
  16316. description: 流拍手续费设置值
  16317. type: number
  16318. failedchargevalue2:
  16319. description: 流拍卖方手续费设置值
  16320. type: number
  16321. holddays:
  16322. description: 合同期限[2:分步履约]
  16323. type: integer
  16324. listingmode:
  16325. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16326. type: integer
  16327. marketid:
  16328. description: 市场ID-仓单贸易、竞拍、预售
  16329. type: integer
  16330. minqty:
  16331. description: 最小执行量[2:分步履约]
  16332. type: number
  16333. modifierid:
  16334. description: 修改人
  16335. type: integer
  16336. nowrquotaflag:
  16337. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  16338. type: integer
  16339. performancetempid:
  16340. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16341. 立即执行(-1)
  16342. type: integer
  16343. performancetempid2:
  16344. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16345. 立即执行
  16346. type: integer
  16347. performancetempid2s:
  16348. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16349. - 履约方式: 立即执行
  16350. type: string
  16351. performancetempids:
  16352. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16353. - 履约方式: 立即执行(-1)
  16354. type: string
  16355. performanceway:
  16356. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  16357. type: integer
  16358. sellchargealgorithm:
  16359. description: 卖方手续费收取方式 1:比率 2:固定
  16360. type: integer
  16361. sellchargealgorithm2:
  16362. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  16363. type: integer
  16364. sellchargealgorithmvalue:
  16365. description: 卖方手续费设置值(交易所部分)
  16366. type: number
  16367. sellchargealgorithmvalue2:
  16368. description: 卖方手续费设置值(会员部分)
  16369. type: number
  16370. sellchargealgorithmvalue3:
  16371. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  16372. type: number
  16373. sellchargealgorithmvalue4:
  16374. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  16375. type: number
  16376. sellmarginalgorithm:
  16377. description: 卖方保证金方式 - 1:比率 2:固定
  16378. type: integer
  16379. sellmarginvalue:
  16380. description: 卖方保证金设置值
  16381. type: number
  16382. sellmarginvalue2:
  16383. description: 卖方保证金设置值(无仓单)
  16384. type: number
  16385. sellreleaseratio:
  16386. description: 卖方释放比率[2:分步履约]
  16387. type: number
  16388. updatetime:
  16389. description: 更新时间
  16390. type: string
  16391. type: object
  16392. models.WrOrderDetail:
  16393. properties:
  16394. accountid:
  16395. description: 交易账号(资金账号)
  16396. type: integer
  16397. allfriendsflag:
  16398. description: 是否全好友可见 - 0:否 1:是
  16399. type: integer
  16400. amount:
  16401. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16402. type: number
  16403. bannerpicurl:
  16404. description: Banner图
  16405. type: string
  16406. begindate:
  16407. description: 开始交易日(yyyymmdd)
  16408. type: string
  16409. buyorsell:
  16410. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16411. type: integer
  16412. canbargain:
  16413. description: 是否可议价 - 0:不可 1:可
  16414. type: integer
  16415. cancelqty:
  16416. description: 撤销数量
  16417. type: number
  16418. canpart:
  16419. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16420. type: integer
  16421. delistminqty:
  16422. description: 起摘数量
  16423. type: integer
  16424. deliverygoodscode:
  16425. description: 品种代码
  16426. type: string
  16427. deliverygoodsid:
  16428. description: 品种ID
  16429. type: integer
  16430. deliverygoodsname:
  16431. description: 品种名称
  16432. type: string
  16433. deliverymonth:
  16434. description: 交收月
  16435. type: string
  16436. enddate:
  16437. description: 结束交易日(yyyymmdd)
  16438. type: string
  16439. enumdicname:
  16440. description: 单位名称
  16441. type: string
  16442. fixedprice:
  16443. description: 固定价格 - [挂牌]
  16444. type: number
  16445. freezecharge:
  16446. description: 冻结手续费
  16447. type: number
  16448. freezemargin:
  16449. description: 冻结保证金(保证金)
  16450. type: number
  16451. futupricemove:
  16452. description: 期货升贴水
  16453. type: number
  16454. futushow:
  16455. description: 期货合约/升贴水
  16456. type: string
  16457. goodscode:
  16458. description: 期货合约
  16459. type: string
  16460. goodsid:
  16461. description: 期货商品id
  16462. type: integer
  16463. goodsname:
  16464. description: 商品名称
  16465. type: string
  16466. haswr:
  16467. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16468. type: integer
  16469. isspecified:
  16470. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  16471. type: integer
  16472. ladingbillid:
  16473. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16474. type: string
  16475. marginvalue:
  16476. description: 保证金设置值(履约保证金)
  16477. type: number
  16478. marketid:
  16479. description: 市场ID
  16480. type: integer
  16481. matchusername:
  16482. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16483. type: string
  16484. minivalue:
  16485. description: 现货商品最小变动值
  16486. type: integer
  16487. optioncompare:
  16488. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16489. type: string
  16490. orderqty:
  16491. description: 委托数量
  16492. type: number
  16493. ordertime:
  16494. description: 委托时间(挂牌时间)
  16495. type: string
  16496. performancetemplateid:
  16497. description: 履约模板id
  16498. type: integer
  16499. pricemove:
  16500. description: 升贴水(浮动价时填写) - [挂牌]
  16501. type: number
  16502. taname:
  16503. description: 交易用户名称(资金账号名称)
  16504. type: string
  16505. thumurls:
  16506. description: 缩略图
  16507. type: string
  16508. tradedate:
  16509. description: 交易日(yyyyMMdd)
  16510. type: string
  16511. tradeprice:
  16512. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16513. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16514. type: number
  16515. tradeqty:
  16516. description: 成交数量
  16517. type: number
  16518. userid:
  16519. description: 用户ID
  16520. type: integer
  16521. validtime:
  16522. description: 挂牌有效期
  16523. type: string
  16524. validtype:
  16525. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16526. type: integer
  16527. warehouseid:
  16528. description: 仓库ID
  16529. type: integer
  16530. warehousename:
  16531. description: 仓库名称
  16532. type: string
  16533. wrfactortypeid:
  16534. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16535. type: string
  16536. wrfactortypename:
  16537. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16538. type: string
  16539. wrpricetype:
  16540. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16541. type: integer
  16542. wrstandardcode:
  16543. description: 现货商品代码
  16544. type: string
  16545. wrstandardid:
  16546. description: 现货商品ID
  16547. type: integer
  16548. wrstandardname:
  16549. description: 商品名称
  16550. type: string
  16551. wrtradeorderid:
  16552. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16553. type: string
  16554. wrtradeorderstatus:
  16555. 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:撤单解冻贷款失败
  16556. type: integer
  16557. wrtradetype:
  16558. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16559. type: integer
  16560. wrtypename:
  16561. description: 商品
  16562. type: string
  16563. type: object
  16564. models.WrOrderQuote:
  16565. properties:
  16566. bannerpicurl:
  16567. description: Banner图
  16568. type: string
  16569. buyprice:
  16570. description: 买价
  16571. type: number
  16572. buypricemove:
  16573. description: 买升贴水(基差)
  16574. type: number
  16575. buyqty:
  16576. description: 买量
  16577. type: number
  16578. deliverygoodscode:
  16579. description: 品种代码
  16580. type: string
  16581. deliverygoodsid:
  16582. description: 品种id
  16583. type: integer
  16584. deliverygoodsname:
  16585. description: 品种名称
  16586. type: string
  16587. deliverymonth:
  16588. description: 交收月
  16589. type: string
  16590. enumdicname:
  16591. description: 单位名称
  16592. type: string
  16593. goodscode:
  16594. description: 商品合约(浮动价列表才有)
  16595. type: string
  16596. goodsid:
  16597. description: 商品id(浮动价列表才有)
  16598. type: integer
  16599. minivalue:
  16600. description: 现货商品最小变动值
  16601. type: integer
  16602. pictureurls:
  16603. description: 详情图片(逗号分隔)
  16604. type: string
  16605. sellprice:
  16606. description: 卖价
  16607. type: number
  16608. sellpricemove:
  16609. description: 卖升贴水(基差)
  16610. type: number
  16611. sellqty:
  16612. description: 卖量
  16613. type: number
  16614. thumurls:
  16615. description: 缩略图片(1:1)(逗号分隔)
  16616. type: string
  16617. warehousecode:
  16618. description: 仓库代码
  16619. type: string
  16620. warehouseid:
  16621. description: 仓库id
  16622. type: integer
  16623. warehousename:
  16624. description: 仓库名称
  16625. type: string
  16626. wrfactortypeid:
  16627. description: 仓单要素id
  16628. type: string
  16629. wrfactortypename:
  16630. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16631. type: string
  16632. wrgoodsname:
  16633. description: 商品(商品名称+仓库要素名称 拼接)
  16634. type: string
  16635. wrstandardcode:
  16636. description: 商品代码
  16637. type: string
  16638. wrstandardid:
  16639. description: 商品id
  16640. type: integer
  16641. wrstandardname:
  16642. description: 商品名称
  16643. type: string
  16644. type: object
  16645. models.WrOrderQuoteDetail:
  16646. properties:
  16647. buyorsell:
  16648. description: 买卖 - 0:买 1:卖
  16649. type: integer
  16650. delistminqty:
  16651. description: 起摘数量
  16652. type: number
  16653. deliverymonth:
  16654. description: 交收月
  16655. type: string
  16656. enumdicname:
  16657. description: 单位名称
  16658. type: string
  16659. fixedprice:
  16660. description: 买(卖)价
  16661. type: number
  16662. marketid:
  16663. description: 市场id
  16664. type: integer
  16665. minivalue:
  16666. description: 现货商品最小变动值
  16667. type: integer
  16668. orderqty:
  16669. description: 买(卖)量(=委托量-成交量)
  16670. type: number
  16671. ordertime:
  16672. description: 委托时间
  16673. type: string
  16674. pricemove:
  16675. description: 买(卖)升贴水- 基差
  16676. type: number
  16677. userid:
  16678. description: 购买方(销售方)用户ID
  16679. type: integer
  16680. username:
  16681. description: 购买方(销售方)
  16682. type: string
  16683. wrtradeorderid:
  16684. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16685. type: string
  16686. type: object
  16687. models.WrOutInApply:
  16688. properties:
  16689. applyid:
  16690. description: 申请单id
  16691. type: string
  16692. applystatus:
  16693. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16694. 8:已撤销
  16695. type: integer
  16696. applytime:
  16697. description: 申请时间
  16698. type: string
  16699. applytype:
  16700. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16701. type: integer
  16702. bannerpicurl:
  16703. description: Banner图
  16704. type: string
  16705. begindate:
  16706. description: 开始交易日(yyyymmdd)
  16707. type: string
  16708. deliverygoodscode:
  16709. description: 品种代码
  16710. type: string
  16711. deliverygoodsid:
  16712. description: 品种ID
  16713. type: integer
  16714. deliverygoodsname:
  16715. description: 品种名称
  16716. type: string
  16717. enddate:
  16718. description: 结束交易日(yyyymmdd)
  16719. type: string
  16720. enumdicname:
  16721. description: 单位名称
  16722. type: string
  16723. expresscompany:
  16724. description: 物流公司
  16725. type: string
  16726. expressnum:
  16727. description: 物流单号
  16728. type: string
  16729. minivalue:
  16730. description: 现货商品最小变动值
  16731. type: integer
  16732. optioncompare:
  16733. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16734. type: string
  16735. qty:
  16736. description: 数量
  16737. type: integer
  16738. userid:
  16739. description: 用户id
  16740. type: integer
  16741. warehouseid:
  16742. description: 仓库ID
  16743. type: integer
  16744. warehousename:
  16745. description: 仓库名称
  16746. type: string
  16747. wrfactortypeid:
  16748. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16749. type: string
  16750. wrfactortypename:
  16751. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16752. type: string
  16753. wrstandardcode:
  16754. description: 现货商品代码
  16755. type: string
  16756. wrstandardid:
  16757. description: 现货商品ID
  16758. type: integer
  16759. wrstandardname:
  16760. description: 商品名称
  16761. type: string
  16762. wrtypename:
  16763. description: 商品
  16764. type: string
  16765. type: object
  16766. models.WrPerformancePlan:
  16767. properties:
  16768. activatemonth:
  16769. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16770. type: string
  16771. amount:
  16772. description: 履约金额(总金额)
  16773. type: number
  16774. begindate:
  16775. description: 开始交易日(yyyymmdd)
  16776. type: string
  16777. buyaccountid:
  16778. description: 买方账号
  16779. type: integer
  16780. buyerfreezeamount:
  16781. description: 履约冻结(买履约)
  16782. type: number
  16783. buyerfreezeamountremain:
  16784. description: 履约冻结剩余(买履约)
  16785. type: number
  16786. buyorsell:
  16787. description: 买卖方向 0-买 1-卖
  16788. type: integer
  16789. buypaidamount:
  16790. description: 买方已冻/已扣金额 (已付金额)
  16791. type: number
  16792. buyusername:
  16793. description: 买方名字
  16794. type: string
  16795. contractid:
  16796. description: 合同ID
  16797. type: integer
  16798. createtime:
  16799. description: 创建时间
  16800. type: string
  16801. creatorid:
  16802. description: 创建人
  16803. type: integer
  16804. curstepdeadline:
  16805. description: 当前步骤到期时间
  16806. type: string
  16807. curstepid:
  16808. description: 当前步骤ID
  16809. type: string
  16810. curstepname:
  16811. description: 当前步骤名称
  16812. type: string
  16813. deliverygoodscode:
  16814. description: 品种代码
  16815. type: string
  16816. deliverygoodsid:
  16817. description: 品种ID
  16818. type: integer
  16819. deliverygoodsname:
  16820. description: 品种名称
  16821. type: string
  16822. enddate:
  16823. description: 结束交易日(yyyymmdd)
  16824. type: string
  16825. enumdicname:
  16826. description: 单位名称
  16827. type: string
  16828. expressfee:
  16829. description: 运费
  16830. type: number
  16831. expressfeeconfirmed:
  16832. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16833. type: integer
  16834. hasovershort:
  16835. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16836. type: integer
  16837. haswr:
  16838. description: 类型 0-仓单预售 1-仓单贸易
  16839. type: integer
  16840. marketid:
  16841. description: 市场ID
  16842. type: integer
  16843. middleaccountid:
  16844. description: 中间商资金账号ID
  16845. type: integer
  16846. middleuserid:
  16847. description: 中间商用户ID
  16848. type: integer
  16849. minivalue:
  16850. description: 现货商品最小变动值
  16851. type: integer
  16852. optioncompare:
  16853. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16854. type: string
  16855. overshortamount:
  16856. description: 溢短金额
  16857. type: number
  16858. overshortqty:
  16859. description: 溢短数量
  16860. type: number
  16861. paymenttype:
  16862. description: 付款方式 - 1:冻结 2:扣款
  16863. type: integer
  16864. performanceplanid:
  16865. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16866. type: string
  16867. performancestatus:
  16868. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16869. 9:超时待处理 10:超时关闭
  16870. type: integer
  16871. performancetype:
  16872. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16873. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16874. type: integer
  16875. qty:
  16876. description: 履约数量
  16877. type: number
  16878. relatedorderid:
  16879. description: 关联单号(履约类型的关联单号)
  16880. type: string
  16881. remark:
  16882. description: 备注
  16883. type: string
  16884. sellaccountid:
  16885. description: 卖方账号
  16886. type: integer
  16887. sellerfreezeamount:
  16888. description: 履约冻结(卖履约)
  16889. type: number
  16890. sellerfreezeamountremain:
  16891. description: 履约冻结剩余(卖履约)
  16892. type: number
  16893. sellreceivedamount:
  16894. description: 卖方已收金额
  16895. type: number
  16896. sellusername:
  16897. description: 卖方名字
  16898. type: string
  16899. shipremark:
  16900. description: 发货备注[物流单号]
  16901. type: string
  16902. starttime:
  16903. description: 开始时间
  16904. type: string
  16905. steptypeid:
  16906. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16907. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16908. type: integer
  16909. typename:
  16910. description: 履约类型 名称
  16911. type: string
  16912. unpaidamount:
  16913. description: 剩余款(待支付金额)
  16914. type: number
  16915. userid:
  16916. description: 用户id
  16917. type: integer
  16918. warehouseid:
  16919. description: 仓库ID
  16920. type: integer
  16921. warehousename:
  16922. description: 仓库名称
  16923. type: string
  16924. wrfactortypeid:
  16925. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16926. type: string
  16927. wrfactortypename:
  16928. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16929. type: string
  16930. wrstandardcode:
  16931. description: 现货商品代码
  16932. type: string
  16933. wrstandardid:
  16934. description: 现货商品ID
  16935. type: integer
  16936. wrstandardname:
  16937. description: 商品名称
  16938. type: string
  16939. wrtransferuserid:
  16940. description: 仓单受让用户
  16941. type: integer
  16942. wrtypename:
  16943. description: 商品
  16944. type: string
  16945. required:
  16946. - userid
  16947. type: object
  16948. models.WrPerformancePlanStep:
  16949. properties:
  16950. delaydays:
  16951. description: 延期申请天数
  16952. type: integer
  16953. deliverygoodscode:
  16954. description: 品种代码
  16955. type: string
  16956. deliverygoodsid:
  16957. description: 品种ID
  16958. type: integer
  16959. deliverygoodsname:
  16960. description: 品种名称
  16961. type: string
  16962. endtime:
  16963. description: 结束日期
  16964. type: string
  16965. enumdicname:
  16966. description: 单位名称
  16967. type: string
  16968. executeside:
  16969. description: 步骤执行方 - 1:买方 2:卖方
  16970. type: integer
  16971. handlestatus:
  16972. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16973. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16974. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16975. type: integer
  16976. isauto:
  16977. description: 是否自动 - 0:不自动 1:自动
  16978. type: integer
  16979. islastreceivestep:
  16980. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16981. type: integer
  16982. minivalue:
  16983. description: 现货商品最小变动值
  16984. type: integer
  16985. optioncompare:
  16986. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16987. type: string
  16988. overdays:
  16989. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16990. type: integer
  16991. performancestepid:
  16992. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16993. type: string
  16994. planid:
  16995. description: 所属履约计划ID
  16996. type: string
  16997. realamount:
  16998. description: 实际完成金额
  16999. type: number
  17000. relatedorderid:
  17001. description: 关联单号
  17002. type: string
  17003. remaindays:
  17004. description: 剩余天数
  17005. type: integer
  17006. remark:
  17007. description: 错误备注
  17008. type: string
  17009. starttime:
  17010. description: 开始日期
  17011. type: string
  17012. stepamount:
  17013. description: 步骤金额
  17014. type: number
  17015. stepdays:
  17016. description: 距离上一步天数(分钟)
  17017. type: integer
  17018. stepindex:
  17019. description: 步骤序号
  17020. type: integer
  17021. steplanchtype:
  17022. description: 步骤启动类型 - 1:系统自动 2:手动
  17023. type: integer
  17024. stepremark:
  17025. description: 步骤备注
  17026. type: string
  17027. stepstatus:
  17028. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  17029. type: integer
  17030. steptypeid:
  17031. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17032. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17033. type: integer
  17034. steptypename:
  17035. description: 步骤名称
  17036. type: string
  17037. stepvalue:
  17038. description: 步骤值
  17039. type: number
  17040. warehouseid:
  17041. description: 仓库ID
  17042. type: integer
  17043. warehousename:
  17044. description: 仓库名称
  17045. type: string
  17046. wrfactortypeid:
  17047. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17048. type: string
  17049. wrfactortypename:
  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. wrtypename:
  17062. description: 商品
  17063. type: string
  17064. type: object
  17065. models.WrPerformanceStepType:
  17066. properties:
  17067. canauto:
  17068. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  17069. type: integer
  17070. steptypeid:
  17071. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  17072. type: integer
  17073. steptypename:
  17074. description: 步骤类型名称
  17075. type: string
  17076. type: object
  17077. models.WrPerformanceTemplateEx:
  17078. properties:
  17079. autoid:
  17080. description: AutoID 模板id
  17081. type: integer
  17082. createtime:
  17083. description: 创建时间
  17084. type: string
  17085. creatorid:
  17086. description: 创建人
  17087. type: integer
  17088. lstStep:
  17089. description: 步骤信息列表
  17090. items:
  17091. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17092. type: array
  17093. paymenttype:
  17094. description: 支付方式 - 1:冻结 2:扣款
  17095. type: integer
  17096. takemode:
  17097. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  17098. type: integer
  17099. templatename:
  17100. description: 模板名称
  17101. type: string
  17102. templatetype:
  17103. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  17104. (无仓单) 5:挂牌期权 6:竞拍-降价式
  17105. type: integer
  17106. userid:
  17107. description: 所属用户
  17108. type: integer
  17109. type: object
  17110. models.WrPosition:
  17111. properties:
  17112. accountid:
  17113. description: 帐户ID
  17114. type: integer
  17115. buyexcuteqty:
  17116. description: 采购履约中数量
  17117. type: number
  17118. creditcurqty:
  17119. description: 授信当前数量(预售仓单:预售当前量)
  17120. type: number
  17121. creditenableqty:
  17122. description: '授信可用数量(预售仓单: 可用数量)'
  17123. type: number
  17124. creditfreezeqty:
  17125. description: '授信冻结数量(预售仓单: 当前数量)'
  17126. type: number
  17127. credittotalqty:
  17128. description: 授信总数量(预售仓单:预售总量)
  17129. type: number
  17130. credittradeqty:
  17131. description: 授信成交数量(预售仓单:成交总量)
  17132. type: number
  17133. deliverygoodscode:
  17134. description: 品种代码
  17135. type: string
  17136. deliverygoodsid:
  17137. description: 品种ID
  17138. type: integer
  17139. deliverygoodsname:
  17140. description: 品种名称
  17141. type: string
  17142. enalbeqty:
  17143. description: 可用数量
  17144. type: number
  17145. enumdicname:
  17146. description: 单位名称
  17147. type: string
  17148. freezeqty:
  17149. description: 总冻结数量
  17150. type: number
  17151. haswr:
  17152. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17153. type: integer
  17154. minivalue:
  17155. description: 现货商品最小变动值
  17156. type: integer
  17157. modifytime:
  17158. description: 修改时间(过户时间)
  17159. type: string
  17160. optioncompare:
  17161. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17162. type: string
  17163. pledgeqty:
  17164. description: 质押数量
  17165. type: number
  17166. querytype:
  17167. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  17168. type: integer
  17169. sellexcuteqty:
  17170. description: 销售履约中数量
  17171. type: number
  17172. totalqty:
  17173. description: 总数量(库存数量)
  17174. type: number
  17175. warehouseid:
  17176. description: 仓库ID
  17177. type: integer
  17178. warehousename:
  17179. description: 仓库名称
  17180. type: string
  17181. wrfactortypeid:
  17182. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17183. type: string
  17184. wrfactortypename:
  17185. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17186. type: string
  17187. wrpositionid:
  17188. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  17189. type: string
  17190. wrpositionno:
  17191. description: 仓单编号
  17192. type: string
  17193. wrstandardcode:
  17194. description: 现货商品代码
  17195. type: string
  17196. wrstandardid:
  17197. description: 现货商品ID
  17198. type: integer
  17199. wrstandardname:
  17200. description: 商品名称
  17201. type: string
  17202. wrtypename:
  17203. description: 商品
  17204. type: string
  17205. wruserid:
  17206. description: 持有人ID
  17207. type: integer
  17208. type: object
  17209. models.WrPreSaleInfo:
  17210. properties:
  17211. bannerpicurl:
  17212. description: Banner图
  17213. type: string
  17214. baseqty:
  17215. description: 中签基数
  17216. type: number
  17217. createtime:
  17218. description: 创建时间
  17219. type: string
  17220. deliverygoodsid:
  17221. description: 现货品种ID
  17222. type: integer
  17223. enddate:
  17224. description: 预售结束日期
  17225. type: string
  17226. enumdicname:
  17227. description: 单位名称
  17228. type: string
  17229. lotteryflag:
  17230. description: 摇号标识 - 0:未摇号 1:已摇号
  17231. type: integer
  17232. lotteryqty:
  17233. description: 摇号总量
  17234. type: number
  17235. luckyqty:
  17236. description: 已中签量
  17237. type: number
  17238. marketid:
  17239. description: 市场ID
  17240. type: integer
  17241. maxbuyqty:
  17242. description: 单人最大申购量
  17243. type: number
  17244. maxluckyqty:
  17245. description: 单人最大中签量
  17246. type: number
  17247. pictureurls:
  17248. description: 详情图片(逗号分隔)
  17249. type: string
  17250. placeqty:
  17251. description: 已配售量
  17252. type: number
  17253. presaleapplyid:
  17254. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17255. example: "0"
  17256. type: string
  17257. presaleqty:
  17258. description: 预售总量
  17259. type: number
  17260. presalestatus:
  17261. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  17262. type: integer
  17263. sellaccountid:
  17264. description: 发行方资金账户ID
  17265. type: integer
  17266. selluserid:
  17267. description: 发行方用户ID
  17268. type: integer
  17269. sellwrtradeorderid:
  17270. description: 发行方卖委托单ID
  17271. type: string
  17272. startdate:
  17273. description: 预售开始日期
  17274. type: string
  17275. takestartdate:
  17276. description: 提货开始日期
  17277. type: string
  17278. thumurls:
  17279. description: 缩略图片(1:1)(逗号分隔)
  17280. type: string
  17281. tradedate:
  17282. description: 交易日
  17283. type: string
  17284. unitid:
  17285. description: 单位ID
  17286. type: integer
  17287. unitprice:
  17288. description: 商品单价
  17289. type: number
  17290. username:
  17291. description: 发行方用户名称
  17292. type: string
  17293. warehousecode:
  17294. description: 仓库代码(仓库简称)
  17295. type: string
  17296. warehouseid:
  17297. description: 仓库ID
  17298. type: integer
  17299. warehousename:
  17300. description: 仓库名称
  17301. type: string
  17302. wrfactortypeid:
  17303. description: 仓单要素类型ID - 根据现货商品\仓库生成
  17304. example: "0"
  17305. type: string
  17306. wrstandardid:
  17307. description: 现货商品ID
  17308. type: integer
  17309. wrstandardname:
  17310. description: 现货商品名称
  17311. type: string
  17312. type: object
  17313. models.WrQuoteOrderMyq:
  17314. properties:
  17315. buyorsell:
  17316. description: 买卖 - 0:买 1:卖
  17317. type: integer
  17318. canbargain:
  17319. description: 是否可议价 - 0:不可 1:可
  17320. type: integer
  17321. canpart:
  17322. description: 是否允许部份摘牌 - 0:不允许 1:允许
  17323. type: integer
  17324. delistminqty:
  17325. description: 起摘数量
  17326. type: number
  17327. deliverygoodscode:
  17328. description: 品种代码
  17329. type: string
  17330. deliverygoodsid:
  17331. description: 品种ID
  17332. type: integer
  17333. deliverygoodsname:
  17334. description: 品种名称
  17335. type: string
  17336. deliverymonth:
  17337. description: 交收月
  17338. type: string
  17339. enumdicname:
  17340. description: 单位名称
  17341. type: string
  17342. fixedprice:
  17343. description: 买(卖)价
  17344. type: number
  17345. goodscode:
  17346. description: 商品合约代码
  17347. type: string
  17348. marginflag:
  17349. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  17350. type: integer
  17351. marginvalue:
  17352. description: 保证金设置值
  17353. type: number
  17354. minivalue:
  17355. description: 现货商品最小变动值
  17356. type: integer
  17357. orderqty:
  17358. description: 买(卖)量(=委托量-成交量)
  17359. type: number
  17360. ordertime:
  17361. description: 委托时间
  17362. type: string
  17363. performancetemplateid:
  17364. description: 履约模板id
  17365. type: integer
  17366. pricemove:
  17367. description: 买(卖)升贴水- 基差
  17368. type: number
  17369. templatename:
  17370. description: 履约模板名称
  17371. type: string
  17372. userid:
  17373. description: 购买方(销售方)用户ID
  17374. type: integer
  17375. username:
  17376. description: 购买方(销售方)
  17377. type: string
  17378. validtime:
  17379. description: 有效期限
  17380. type: string
  17381. validtype:
  17382. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17383. type: integer
  17384. warehousename:
  17385. description: 仓库名称
  17386. type: string
  17387. wrfactortypeid:
  17388. description: 仓单要素id
  17389. type: string
  17390. wrstandardcode:
  17391. description: 现货商品代码
  17392. type: string
  17393. wrstandardid:
  17394. description: 现货商品ID
  17395. type: integer
  17396. wrstandardname:
  17397. description: 商品名称
  17398. type: string
  17399. wrtradeorderid:
  17400. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17401. type: string
  17402. wrtypename:
  17403. description: 商品
  17404. type: string
  17405. type: object
  17406. models.WrReckonSpotGoodsTradeSum:
  17407. properties:
  17408. begindate:
  17409. description: 开始日期(结果含开始日期) yyyymmdd
  17410. type: string
  17411. enddate:
  17412. description: 结束日期(结果含结束日期) yyyymmdd
  17413. type: string
  17414. marketid:
  17415. description: 市场ID
  17416. type: integer
  17417. price:
  17418. description: 价格 = 日成交金额 / 日成交数量
  17419. type: string
  17420. reckondate:
  17421. description: 日期 格式 yyyymmdd
  17422. type: string
  17423. tradeamount:
  17424. description: 日成交金额(当日单方向成交金额)
  17425. type: number
  17426. tradeqty:
  17427. description: 日成交数量(当日单方向成交数量)
  17428. type: number
  17429. wrstandardid:
  17430. description: 现货商品ID
  17431. type: integer
  17432. type: object
  17433. models.WrScfContract:
  17434. properties:
  17435. borroweruserid:
  17436. description: 借款用户ID
  17437. type: integer
  17438. buybackwrpositionqty:
  17439. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  17440. type: number
  17441. closeinterest:
  17442. description: 已结利息 -> 已结费用
  17443. type: number
  17444. currisklevel:
  17445. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17446. type: integer
  17447. deadline:
  17448. description: 截止日期(yyyyMMdd) -> 借款到期时间
  17449. type: string
  17450. deliverygoodscode:
  17451. description: 品种代码
  17452. type: string
  17453. deliverygoodsid:
  17454. description: 品种ID
  17455. type: integer
  17456. deliverygoodsname:
  17457. description: 品种名称
  17458. type: string
  17459. enumdicname:
  17460. description: 单位名称
  17461. type: string
  17462. financingdays:
  17463. description: 天数(天)
  17464. type: integer
  17465. initmargin:
  17466. description: 保证金 - [仓单回购]
  17467. type: number
  17468. interestamount:
  17469. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  17470. type: number
  17471. interestdebt:
  17472. description: 利息欠款(记录负数) -> 费用欠款
  17473. type: number
  17474. interestminlen:
  17475. description: 最小起息天数
  17476. type: integer
  17477. interestrate:
  17478. description: 利率
  17479. type: number
  17480. interestratemode:
  17481. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17482. type: integer
  17483. interestsettlemode:
  17484. description: 结息方式 - 1:按日结息 3:按月结息
  17485. type: integer
  17486. interestsettlevalue:
  17487. description: 结息方式值
  17488. type: integer
  17489. isautoloan:
  17490. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17491. type: integer
  17492. lastcloseinterestday:
  17493. description: 最近结息日(yyyyMMdd)
  17494. type: string
  17495. lenderamount:
  17496. description: 贷款金额 -> 借款金额
  17497. type: number
  17498. lenderuserid:
  17499. description: 贷款方用户ID -> 融出方用户ID
  17500. type: integer
  17501. lenderusername:
  17502. description: 融出方
  17503. type: string
  17504. marginratio:
  17505. description: 保证金比率质押率 - [仓单质押]
  17506. type: number
  17507. marketid:
  17508. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17509. type: integer
  17510. minivalue:
  17511. description: 现货商品最小变动值
  17512. type: integer
  17513. optioncompare:
  17514. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17515. type: string
  17516. pricemove:
  17517. description: 估值升贴水值
  17518. type: number
  17519. productdetailid:
  17520. description: 产品组合ID
  17521. type: integer
  17522. productid:
  17523. description: 金融产品ID
  17524. type: integer
  17525. productname:
  17526. description: 产品名称
  17527. type: string
  17528. remainamount:
  17529. description: 合同剩余金额 -> 剩余金额
  17530. type: number
  17531. remainwrpositionqty:
  17532. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17533. type: number
  17534. remark:
  17535. description: 备注
  17536. type: string
  17537. scfcontractid:
  17538. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17539. type: string
  17540. scfcontractstatus:
  17541. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17542. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17543. type: integer
  17544. scfcontracttype:
  17545. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17546. type: integer
  17547. startinterestday:
  17548. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17549. type: string
  17550. totalinterest:
  17551. description: 已计利息 -> 已计费用
  17552. type: number
  17553. unpaidinterest:
  17554. description: 未结费用
  17555. type: number
  17556. updatetime:
  17557. description: 更新时间
  17558. type: string
  17559. warehouseid:
  17560. description: 仓库ID
  17561. type: integer
  17562. warehousename:
  17563. description: 仓库名称
  17564. type: string
  17565. wrfactortypeid:
  17566. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17567. type: string
  17568. wrfactortypename:
  17569. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17570. type: string
  17571. wrqty:
  17572. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17573. type: number
  17574. wrstandardcode:
  17575. description: 现货商品代码
  17576. type: string
  17577. wrstandardid:
  17578. description: 现货商品ID
  17579. type: integer
  17580. wrstandardname:
  17581. description: 商品名称
  17582. type: string
  17583. wrtypename:
  17584. description: 商品
  17585. type: string
  17586. type: object
  17587. models.WrScfContractInterest:
  17588. properties:
  17589. closeinterest:
  17590. description: 已结利息
  17591. type: number
  17592. closeintereststatus:
  17593. description: 结息状态 - 1:未结 2:已结
  17594. type: integer
  17595. closetime:
  17596. description: 结息时间
  17597. type: string
  17598. closetradedate:
  17599. description: 结息交易日
  17600. type: string
  17601. creatorid:
  17602. description: 操作人ID
  17603. type: integer
  17604. dayrate:
  17605. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  17606. type: number
  17607. interest:
  17608. description: 利息
  17609. type: number
  17610. interestamount:
  17611. description: 计息金额
  17612. type: number
  17613. interestday:
  17614. description: 计息日(yyyyMMdd)
  17615. type: string
  17616. scfcontractid:
  17617. description: SCF合同ID
  17618. type: string
  17619. scfcontractinterestid:
  17620. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  17621. type: integer
  17622. updatetime:
  17623. description: 更新时间
  17624. type: string
  17625. type: object
  17626. models.WrSearchUser:
  17627. properties:
  17628. userid:
  17629. description: 用户ID
  17630. type: integer
  17631. username:
  17632. description: 用户名称(已脱敏)
  17633. type: string
  17634. username2:
  17635. description: 用户名称(未脱敏)
  17636. type: string
  17637. usertype:
  17638. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17639. type: integer
  17640. required:
  17641. - username
  17642. type: object
  17643. models.WrSiteColumnDetail:
  17644. properties:
  17645. brief:
  17646. description: 简介
  17647. type: string
  17648. context:
  17649. description: 内容
  17650. type: string
  17651. coverimage:
  17652. description: 封面图片
  17653. type: string
  17654. creaedate:
  17655. description: 创建时间
  17656. type: string
  17657. id:
  17658. description: ID(SEQ_SITE_COLUMNDETAIL)
  17659. type: integer
  17660. istop:
  17661. description: 是否置顶 - 0:不置 1:置顶
  17662. type: integer
  17663. publishdate:
  17664. description: 发布日期
  17665. type: string
  17666. title:
  17667. description: 标题
  17668. type: string
  17669. updatedate:
  17670. description: 修改时间
  17671. type: string
  17672. type: object
  17673. models.WrSpecialMatchOrder:
  17674. properties:
  17675. amount:
  17676. description: 金额 = 数量 * 价格
  17677. type: number
  17678. buyorsell:
  17679. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17680. type: integer
  17681. cancelqty:
  17682. description: 撤销数量
  17683. type: number
  17684. deliverygoodscode:
  17685. description: 品种代码
  17686. type: string
  17687. deliverygoodsid:
  17688. description: 品种ID
  17689. type: integer
  17690. deliverygoodsname:
  17691. description: 品种名称
  17692. type: string
  17693. enumdicname:
  17694. description: 单位名称
  17695. type: string
  17696. fixedprice:
  17697. description: 固定价格(价格)
  17698. type: number
  17699. haswr:
  17700. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17701. type: integer
  17702. isspecified:
  17703. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17704. type: integer
  17705. marketid:
  17706. description: 市场ID
  17707. type: integer
  17708. matchuserid:
  17709. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17710. type: integer
  17711. matchusername:
  17712. description: 指定方
  17713. type: string
  17714. minivalue:
  17715. description: 现货商品最小变动值
  17716. type: integer
  17717. optioncompare:
  17718. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17719. type: string
  17720. orderqty:
  17721. description: 委托数量
  17722. type: number
  17723. ordertime:
  17724. description: 委托时间
  17725. type: string
  17726. pricemove:
  17727. description: 升贴水(浮动价时填写) - [挂牌]
  17728. type: number
  17729. tradedate:
  17730. description: 交易日(yyyyMMdd)
  17731. type: string
  17732. tradeprice:
  17733. description: 成交价格
  17734. type: number
  17735. tradeqty:
  17736. description: 成交数量
  17737. type: number
  17738. userid:
  17739. description: 用户ID
  17740. type: integer
  17741. username:
  17742. description: 发起方
  17743. type: string
  17744. warehouseid:
  17745. description: 仓库ID
  17746. type: integer
  17747. warehousename:
  17748. description: 仓库名称
  17749. type: string
  17750. wrfactortypeid:
  17751. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17752. type: string
  17753. wrfactortypename:
  17754. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17755. type: string
  17756. wrpricetype:
  17757. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17758. type: integer
  17759. wrstandardcode:
  17760. description: 现货商品代码
  17761. type: string
  17762. wrstandardid:
  17763. description: 现货商品ID
  17764. type: integer
  17765. wrstandardname:
  17766. description: 商品名称
  17767. type: string
  17768. wrtradeorderid:
  17769. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17770. type: string
  17771. wrtradeorderstatus:
  17772. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17773. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17774. type: integer
  17775. wrtradetype:
  17776. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17777. type: integer
  17778. wrtypename:
  17779. description: 商品
  17780. type: string
  17781. type: object
  17782. models.WrSpotGroupTradeSum:
  17783. properties:
  17784. deliverygoodscode:
  17785. description: 现货品种代码
  17786. type: string
  17787. deliverygoodsid:
  17788. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17789. type: integer
  17790. deliverygoodsname:
  17791. description: 现货品种名称
  17792. type: string
  17793. lastavgprice:
  17794. description: 上上个交易日价格(前2天价格)
  17795. type: string
  17796. lastreckondate:
  17797. description: 上上个交易日(前2天交易日)
  17798. type: string
  17799. reckondate:
  17800. description: 上个交易日(前1天交易日)
  17801. type: string
  17802. todayavgprice:
  17803. description: 上个交易日价格(前1天价格)
  17804. type: string
  17805. updown:
  17806. description: 涨跌
  17807. type: string
  17808. updownratio:
  17809. description: 涨幅(已格式化, 直接显示即可)
  17810. type: string
  17811. type: object
  17812. models.WrSpotGroupTradeSumDetail:
  17813. properties:
  17814. deliverygoodsid:
  17815. description: 现货商品id
  17816. type: integer
  17817. price:
  17818. description: 价格
  17819. type: number
  17820. reckondate:
  17821. description: 日期(yyymmdd, 如:20211031)
  17822. type: string
  17823. type: object
  17824. models.WrSpotGroupTradeSumEx:
  17825. properties:
  17826. lst:
  17827. description: 指数列表
  17828. items:
  17829. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17830. type: array
  17831. prereckondate:
  17832. description: 上上个交易日(yyymmdd)
  17833. type: string
  17834. reckondate:
  17835. description: 上个交易日(yyyymmdd)
  17836. type: string
  17837. type: object
  17838. models.WrStandardFactoryItem:
  17839. properties:
  17840. dgfactoryitemid:
  17841. description: 选择项id
  17842. type: integer
  17843. dgfactoryitemvalue:
  17844. description: 要素项值
  17845. type: string
  17846. warehouseid:
  17847. description: 仓库id
  17848. type: integer
  17849. type: object
  17850. models.WrStandardFactoryItemEx:
  17851. properties:
  17852. dgfactoryitemtypeid:
  17853. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17854. type: integer
  17855. itemlst:
  17856. description: 要素项列表
  17857. items:
  17858. $ref: '#/definitions/models.WrStandardFactoryItem'
  17859. type: array
  17860. itemtypename:
  17861. description: 要素项类型名称
  17862. type: string
  17863. wrstandardid:
  17864. description: 品类
  17865. type: integer
  17866. type: object
  17867. models.WrTradeDetail:
  17868. properties:
  17869. accountid:
  17870. description: 资金账号
  17871. type: integer
  17872. bannerpicurl:
  17873. description: Banner图
  17874. type: string
  17875. begindate:
  17876. description: 开始交易日(yyyymmdd)
  17877. type: string
  17878. buyorsell:
  17879. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17880. type: integer
  17881. chargevalue:
  17882. description: 手续费
  17883. type: number
  17884. deliverygoodscode:
  17885. description: 品种代码
  17886. type: string
  17887. deliverygoodsid:
  17888. description: 品种ID
  17889. type: integer
  17890. deliverygoodsname:
  17891. description: 品种名称
  17892. type: string
  17893. deliverymonth:
  17894. description: 交收月
  17895. type: string
  17896. enddate:
  17897. description: 结束交易日(yyyymmdd)
  17898. type: string
  17899. enumdicname:
  17900. description: 单位名称
  17901. type: string
  17902. haswr:
  17903. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17904. type: integer
  17905. marketid:
  17906. description: 市场ID
  17907. type: integer
  17908. matchaccountid:
  17909. description: 对手账号
  17910. type: integer
  17911. matchusername:
  17912. description: 对手方
  17913. type: string
  17914. minivalue:
  17915. description: 现货商品最小变动值
  17916. type: integer
  17917. optioncompare:
  17918. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17919. type: string
  17920. thumurls:
  17921. description: 缩略图
  17922. type: string
  17923. tradedate:
  17924. description: 交易日(yyyyMMdd)
  17925. type: string
  17926. tradeprice:
  17927. description: 成交价格
  17928. type: number
  17929. tradeqty:
  17930. description: 成交数量
  17931. type: number
  17932. tradetime:
  17933. description: 成交时间
  17934. type: string
  17935. userid:
  17936. description: 用户ID
  17937. type: integer
  17938. warehouseid:
  17939. description: 仓库ID
  17940. type: integer
  17941. warehousename:
  17942. description: 仓库名称
  17943. type: string
  17944. wrfactortypeid:
  17945. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17946. type: string
  17947. wrfactortypename:
  17948. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17949. type: string
  17950. wrstandardcode:
  17951. description: 现货商品代码
  17952. type: string
  17953. wrstandardid:
  17954. description: 现货商品ID
  17955. type: integer
  17956. wrstandardname:
  17957. description: 商品名称
  17958. type: string
  17959. wrtradedetailid:
  17960. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17961. type: string
  17962. wrtradetype:
  17963. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17964. type: integer
  17965. wrtypename:
  17966. description: 商品
  17967. type: string
  17968. type: object
  17969. models.WrTradeOrderDetail:
  17970. properties:
  17971. buyorsell:
  17972. description: 买卖方向 0-买 1-卖
  17973. type: integer
  17974. goodsid:
  17975. description: 商品id
  17976. type: integer
  17977. orderid:
  17978. description: 委托单号
  17979. type: string
  17980. orderprice:
  17981. description: 委托价格
  17982. type: number
  17983. orderqty:
  17984. description: 委托数量
  17985. type: integer
  17986. userid:
  17987. description: 用户id
  17988. type: integer
  17989. username:
  17990. description: 用户名称(已脱敏)
  17991. type: string
  17992. type: object
  17993. models.WrTypeItem:
  17994. properties:
  17995. name:
  17996. description: 名称
  17997. type: string
  17998. value:
  17999. description: 值
  18000. type: string
  18001. type: object
  18002. models.WrUserFriend:
  18003. properties:
  18004. friendname:
  18005. description: 朋友名称(已脱敏)
  18006. type: string
  18007. frienduserid:
  18008. description: 朋友id
  18009. type: integer
  18010. isfriend:
  18011. description: 是否好友 0-不是 1-是
  18012. type: integer
  18013. userid:
  18014. description: 用户id
  18015. type: integer
  18016. type: object
  18017. models.WrUserReceiptInfo:
  18018. properties:
  18019. address:
  18020. description: 地址[发票类型:企业]
  18021. type: string
  18022. autoid:
  18023. description: AutoID
  18024. type: integer
  18025. contactinfo:
  18026. description: 联系方式
  18027. type: string
  18028. idnum:
  18029. description: 身份证号码[发票类型:个人]
  18030. type: string
  18031. isdefault:
  18032. description: 是否默认地址 - 0:否 1:是
  18033. type: integer
  18034. receiptaccount:
  18035. description: 发票帐号[发票类型:企业]
  18036. type: string
  18037. receiptbank:
  18038. description: 发票开户行[发票类型:企业]
  18039. type: string
  18040. receipttype:
  18041. description: 发票类型 - 1:个人 2:企业
  18042. type: integer
  18043. taxpayerid:
  18044. description: 纳税人识别号
  18045. type: string
  18046. userid:
  18047. description: 用户ID
  18048. type: integer
  18049. username:
  18050. description: 户名(个人姓名或企业名称)
  18051. type: string
  18052. type: object
  18053. models.XHBRAND:
  18054. properties:
  18055. brandid:
  18056. description: 品牌id
  18057. type: integer
  18058. brandname:
  18059. description: 品牌名称
  18060. type: string
  18061. isvalid:
  18062. description: 是否有效 0-无效 1-有效
  18063. type: integer
  18064. type: object
  18065. models.XHDeliveryGoods:
  18066. properties:
  18067. areauserid:
  18068. description: 所属机构
  18069. type: integer
  18070. bdlst:
  18071. description: 品牌列表
  18072. items:
  18073. $ref: '#/definitions/models.XHBRAND'
  18074. type: array
  18075. deliverygoodscode:
  18076. description: 现货品种代码
  18077. type: string
  18078. deliverygoodsid:
  18079. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18080. type: integer
  18081. deliverygoodsname:
  18082. description: 现货品种名称
  18083. type: string
  18084. dgstatus:
  18085. description: 品种状态 - 作废 - 0:未激活 1:正常
  18086. type: integer
  18087. filterSubEmpty:
  18088. description: 过滤下级为空的
  18089. type: integer
  18090. isvalid:
  18091. description: 是否有效 - 0:无效 1:有效
  18092. type: integer
  18093. remark:
  18094. description: 备注
  18095. type: string
  18096. unitid:
  18097. description: 单位id(目前看,数据库中是空值)
  18098. type: integer
  18099. wdlst:
  18100. description: 品类(现货商品)列表
  18101. items:
  18102. $ref: '#/definitions/models.XHWrstandard'
  18103. type: array
  18104. type: object
  18105. models.XHMiddleGoods:
  18106. properties:
  18107. GPLST:
  18108. description: 期货品种列表
  18109. items:
  18110. $ref: '#/definitions/models.TBGoodsGroup'
  18111. type: array
  18112. convertratio:
  18113. description: 拆算系数
  18114. type: number
  18115. costratio:
  18116. description: 成本权重
  18117. type: number
  18118. deliverygoodsid:
  18119. description: 现货商品id
  18120. type: integer
  18121. enumdicname:
  18122. description: 单位名称
  18123. type: string
  18124. middlegoodscode:
  18125. description: 套保品种代码
  18126. type: string
  18127. middlegoodsid:
  18128. description: 套保品种id
  18129. type: integer
  18130. middlegoodsname:
  18131. description: 套保品种名称
  18132. type: string
  18133. unitid:
  18134. description: 单位id
  18135. type: integer
  18136. type: object
  18137. models.XHWrstandard:
  18138. properties:
  18139. bannerpicurl:
  18140. description: banner图
  18141. type: string
  18142. deliverygoodsid:
  18143. description: 品种ID
  18144. type: integer
  18145. enumdicname:
  18146. description: 单位名称
  18147. type: string
  18148. mglst:
  18149. description: 套保品列表
  18150. items:
  18151. $ref: '#/definitions/models.XHMiddleGoods'
  18152. type: array
  18153. pictureurls:
  18154. description: 详情图片(逗号分隔)
  18155. type: string
  18156. thumurls:
  18157. description: 缩略图片(1:1)(逗号分隔)
  18158. type: string
  18159. unitid:
  18160. description: 单位id
  18161. type: integer
  18162. vatrate:
  18163. description: 增值税率
  18164. type: number
  18165. wrstandardcode:
  18166. description: 现货商品代码
  18167. type: string
  18168. wrstandardid:
  18169. description: 现货商品ID(SEQ_WRSTANDARD)
  18170. type: integer
  18171. wrstandardname:
  18172. description: 现货商品名称
  18173. type: string
  18174. type: object
  18175. order.QueryHisTradeDetailRsp:
  18176. properties:
  18177. accountid:
  18178. description: 账户ID[报价币种]
  18179. type: integer
  18180. advanceratio:
  18181. description: 首付比率
  18182. type: number
  18183. buildtype:
  18184. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18185. type: integer
  18186. buyorsell:
  18187. description: 方向 - 0:买 1:卖
  18188. type: integer
  18189. charge:
  18190. description: 手续费
  18191. type: number
  18192. closecharge:
  18193. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18194. type: number
  18195. closeexchagechargevalue:
  18196. description: 平仓交易所手续费设置值
  18197. type: number
  18198. closefeealgorithm:
  18199. description: 平仓手续费收取方式 1:比率 2:固定
  18200. type: integer
  18201. closememberchargevalue:
  18202. description: 平仓会员手续费设置值
  18203. type: number
  18204. closepl:
  18205. description: 平仓盈亏
  18206. type: number
  18207. closepl2:
  18208. description: 平仓盈亏[逐笔]
  18209. type: number
  18210. closeqty:
  18211. description: 平仓数量(先建后平操作 需要记录)
  18212. type: number
  18213. creditamount:
  18214. description: 授信金额
  18215. type: number
  18216. decimalplace:
  18217. description: 商品报价小数位
  18218. type: integer
  18219. enumdicname:
  18220. description: 单位名称
  18221. type: string
  18222. gcaccountid:
  18223. description: 账户ID[合约币种]
  18224. type: integer
  18225. goodscode:
  18226. description: 商品代码
  18227. type: string
  18228. goodsid:
  18229. description: 商品ID
  18230. type: integer
  18231. goodsname:
  18232. description: 商品名称
  18233. type: string
  18234. goodunitid:
  18235. description: 商品单位id
  18236. type: integer
  18237. histradedate:
  18238. description: 历史交易日
  18239. type: string
  18240. intclosepl:
  18241. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18242. type: integer
  18243. isconfirmexercise:
  18244. description: 是否确认行权- 0:否 1:是
  18245. type: integer
  18246. ismain:
  18247. description: 是否主单 - 0:不是 1:是
  18248. type: integer
  18249. ispreexercise:
  18250. description: 是否预申报- 0:否 1:是
  18251. type: integer
  18252. isreckoned:
  18253. description: 是否结算 - 0:未结算 1:已结算
  18254. type: integer
  18255. isvaliddata:
  18256. description: 是否有效 - 0:无效 1:有效
  18257. type: integer
  18258. listingselecttype:
  18259. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18260. type: integer
  18261. marketid:
  18262. description: 市场ID
  18263. type: integer
  18264. marketname:
  18265. description: 市场名称
  18266. type: string
  18267. matchaccountid:
  18268. description: 对手账号id
  18269. type: integer
  18270. memberuserid:
  18271. description: 会员id 个人投资者 需要填写
  18272. type: integer
  18273. opencharge:
  18274. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18275. type: number
  18276. openexchagechargevalue:
  18277. description: 建仓交易所手续费设置值
  18278. type: number
  18279. openfeealgorithm:
  18280. description: 建仓手续费收取方式 1:比率 2:固定
  18281. type: integer
  18282. openmemberchargevalue:
  18283. description: 建仓会员手续费设置值
  18284. type: number
  18285. openqty:
  18286. description: 开仓数量(先建后平操作 需要记录)
  18287. type: number
  18288. optiontype:
  18289. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18290. type: integer
  18291. orderid:
  18292. description: 委托单号
  18293. type: string
  18294. payamount:
  18295. description: 支付金额(付款金额)
  18296. type: number
  18297. performanceplanid:
  18298. description: 履约计划ID[期权]
  18299. type: integer
  18300. performancestatus:
  18301. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18302. type: integer
  18303. preexerciseprice:
  18304. description: 预申报价格
  18305. type: number
  18306. premium:
  18307. description: 权利金 - [持仓单的权利金]
  18308. type: number
  18309. qtydecimalplace:
  18310. description: 商品报价小数位
  18311. type: integer
  18312. recvamount:
  18313. description: 到账金额 = 成交金额 - 手续费
  18314. type: number
  18315. relatedouttradeid:
  18316. description: 关联外部成交单ID
  18317. type: integer
  18318. status:
  18319. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18320. type: integer
  18321. totalamount:
  18322. description: 订单总额 = 成交金额 + 手续费
  18323. type: number
  18324. tradeamount:
  18325. description: 成交金额[账户币种,用于所有权]
  18326. type: number
  18327. tradedate:
  18328. description: 交易日(yyyyMMdd)
  18329. type: string
  18330. tradeid:
  18331. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18332. type: string
  18333. trademode:
  18334. description: 交易模式
  18335. type: integer
  18336. tradeprice:
  18337. description: 成交价格
  18338. type: number
  18339. tradeproperty:
  18340. description: 交易属性
  18341. type: integer
  18342. tradeqty:
  18343. description: 成交数量
  18344. type: number
  18345. tradetime:
  18346. description: 成交时间
  18347. type: string
  18348. tradetype:
  18349. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18350. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18351. type: integer
  18352. required:
  18353. - accountid
  18354. - buyorsell
  18355. - goodsid
  18356. - histradedate
  18357. - marketid
  18358. - memberuserid
  18359. - orderid
  18360. - tradeamount
  18361. - tradedate
  18362. - tradeid
  18363. - tradeprice
  18364. - tradeqty
  18365. - tradetime
  18366. type: object
  18367. order.QueryHisTradeOrderDetailRsp:
  18368. properties:
  18369. accountid:
  18370. description: 账户ID[报价币种]
  18371. type: integer
  18372. buildtype:
  18373. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18374. type: integer
  18375. buyorsell:
  18376. description: 买卖 - 0:买 1:卖
  18377. type: integer
  18378. cancelorderid:
  18379. description: 撤单单号(撤单时填写)
  18380. type: string
  18381. cancelqty:
  18382. description: 撤单数量
  18383. type: number
  18384. clientordertime:
  18385. description: 客户端委托时间
  18386. type: string
  18387. clientticket:
  18388. description: 客户端流水号
  18389. type: string
  18390. clienttype:
  18391. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18392. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18393. type: integer
  18394. closeexchagechargevalue:
  18395. description: 平仓交易所手续费设置值
  18396. type: number
  18397. closefeealgorithm:
  18398. description: 平仓手续费收取方式 1:比率 2:固定
  18399. type: integer
  18400. closefreezecharge:
  18401. description: 平仓冻结手续费(先建后平操作,需要记录)
  18402. type: number
  18403. closememberchargevalue:
  18404. description: 平仓会员手续费设置值
  18405. type: number
  18406. closeqty:
  18407. description: 平仓数量(先建后平操作 需要记录)
  18408. type: number
  18409. closetradeqty:
  18410. description: 平仓成交数量(先建后平操作,需要记录)
  18411. type: number
  18412. closeunfreezecharge:
  18413. description: 平仓解冻手续费(先建后平操作,需要记录)
  18414. type: number
  18415. decimalplace:
  18416. description: 商品报价小数位
  18417. type: integer
  18418. delistingtype:
  18419. description: 摘牌类型 - 1:价格最优 2:点选成交
  18420. type: integer
  18421. enumdicname:
  18422. description: 单位名称
  18423. type: string
  18424. freezecharge:
  18425. description: 冻结手续费
  18426. type: number
  18427. freezemargin:
  18428. description: 冻结保证金(冻结交易金额)
  18429. type: number
  18430. gcaccountid:
  18431. description: 账户ID[合约币种]
  18432. type: integer
  18433. goodscode:
  18434. description: 商品代码
  18435. type: string
  18436. goodsid:
  18437. description: 商品ID
  18438. type: integer
  18439. goodsname:
  18440. description: 商品名称
  18441. type: string
  18442. goodunitid:
  18443. description: 商品单位id
  18444. type: integer
  18445. histradedate:
  18446. description: 历史交易日
  18447. type: string
  18448. isconfirmexercise:
  18449. description: 是否确认行权- 0:否 1:是
  18450. type: integer
  18451. ispreexercise:
  18452. description: 是否预申报- 0:否 1:是
  18453. type: integer
  18454. isvaliddata:
  18455. description: 是否有效 - 0:无效 1:有效
  18456. type: integer
  18457. listingselecttype:
  18458. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18459. type: integer
  18460. marginalgorithm:
  18461. description: 保证金收取方式 1:比率 2:固定
  18462. type: integer
  18463. marginvalue:
  18464. description: 即市保证金设置值
  18465. type: number
  18466. marketid:
  18467. description: 市场ID
  18468. type: integer
  18469. marketmaxsub:
  18470. description: 市价最大偏移范围
  18471. type: number
  18472. marketname:
  18473. description: 市场名称
  18474. type: string
  18475. memberuserid:
  18476. description: 所属会员UserID
  18477. type: integer
  18478. openexchagechargevalue:
  18479. description: 建仓交易所手续费设置值
  18480. type: number
  18481. openfeealgorithm:
  18482. description: 建仓手续费收取方式 1:比率 2:固定
  18483. type: integer
  18484. openfreezecharge:
  18485. description: 开仓冻结手续费(先建后平操作,需要记录)
  18486. type: number
  18487. openmemberchargevalue:
  18488. description: 建仓会员手续费设置值
  18489. type: number
  18490. openqty:
  18491. description: 开仓数量(先建后平操作,需要记录)
  18492. type: number
  18493. opentradeqty:
  18494. description: 开仓成交数量(先建后平操作,需要记录)
  18495. type: number
  18496. openunfreezecharge:
  18497. description: 开仓解冻手续费(先建后平操作,需要记录)
  18498. type: number
  18499. operatetype:
  18500. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18501. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18502. 15:管理端协议转让
  18503. type: integer
  18504. operatorid:
  18505. description: 登录账号(LoginID)
  18506. type: integer
  18507. optiontype:
  18508. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18509. type: integer
  18510. orderid:
  18511. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18512. type: string
  18513. orderprice:
  18514. description: 委托价格
  18515. type: number
  18516. orderqty:
  18517. description: 委托数量
  18518. type: number
  18519. ordersrc:
  18520. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18521. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18522. type: integer
  18523. orderstatus:
  18524. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18525. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18526. 16:成交失败违约(荷兰式竞拍专用)
  18527. type: integer
  18528. ordertime:
  18529. description: 委托时间
  18530. type: string
  18531. preexerciseprice:
  18532. description: 预申报价格
  18533. type: number
  18534. premium:
  18535. description: 权利金
  18536. type: number
  18537. preorderid:
  18538. description: 关联预埋单号(止盈止损单时填写)
  18539. type: string
  18540. pricemode:
  18541. description: '取价方式 - 1:市价 2: 限价'
  18542. type: integer
  18543. qtydecimalplace:
  18544. description: 成交量小数位
  18545. type: integer
  18546. quoteid:
  18547. description: 报价单ID
  18548. type: integer
  18549. relatedid:
  18550. description: 关联单号(交割单)
  18551. type: string
  18552. retcode:
  18553. description: 错误代码
  18554. type: integer
  18555. sessionid:
  18556. description: 会话ID
  18557. type: integer
  18558. tradedate:
  18559. description: 交易日(yyyyMMdd)
  18560. type: string
  18561. trademode:
  18562. description: 交易模式
  18563. type: integer
  18564. tradeproperty:
  18565. description: 交易属性
  18566. type: integer
  18567. tradeqty:
  18568. description: 成交数量
  18569. type: number
  18570. unfreezecharge:
  18571. description: 解冻手续费
  18572. type: number
  18573. unfreezemargin:
  18574. description: 解冻保证金
  18575. type: number
  18576. updatetime:
  18577. description: 更新时间
  18578. type: string
  18579. uuid:
  18580. description: 发起端唯一id
  18581. type: string
  18582. validtime:
  18583. description: 有效期限
  18584. type: string
  18585. validtype:
  18586. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18587. type: integer
  18588. volumetype:
  18589. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18590. type: integer
  18591. required:
  18592. - accountid
  18593. - buildtype
  18594. - buyorsell
  18595. - goodsid
  18596. - histradedate
  18597. - marketid
  18598. - memberuserid
  18599. - operatetype
  18600. - orderid
  18601. - orderqty
  18602. - ordertime
  18603. - pricemode
  18604. - tradedate
  18605. - validtype
  18606. type: object
  18607. order.QueryTradeDetailRsp:
  18608. properties:
  18609. accountid:
  18610. description: 账户ID[报价币种]
  18611. type: integer
  18612. advanceratio:
  18613. description: 首付比率
  18614. type: number
  18615. buildtype:
  18616. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18617. type: integer
  18618. buyorsell:
  18619. description: 方向 - 0:买 1:卖
  18620. type: integer
  18621. charge:
  18622. description: 手续费
  18623. type: number
  18624. closecharge:
  18625. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18626. type: number
  18627. closeexchagechargevalue:
  18628. description: 平仓交易所手续费设置值
  18629. type: number
  18630. closefeealgorithm:
  18631. description: 平仓手续费收取方式 1:比率 2:固定
  18632. type: integer
  18633. closememberchargevalue:
  18634. description: 平仓会员手续费设置值
  18635. type: number
  18636. closepl:
  18637. description: 平仓盈亏
  18638. type: number
  18639. closepl2:
  18640. description: 平仓盈亏[逐笔]
  18641. type: number
  18642. closeqty:
  18643. description: 平仓数量(先建后平操作 需要记录)
  18644. type: number
  18645. creditamount:
  18646. description: 授信金额
  18647. type: number
  18648. decimalplace:
  18649. description: 商品报价小数位
  18650. type: integer
  18651. enumdicname:
  18652. description: 单位名称
  18653. type: string
  18654. gcaccountid:
  18655. description: 账户ID[合约币种]
  18656. type: integer
  18657. goodscode:
  18658. description: 商品代码
  18659. type: string
  18660. goodsid:
  18661. description: 商品ID
  18662. type: integer
  18663. goodsname:
  18664. description: 商品名称
  18665. type: string
  18666. goodunitid:
  18667. description: 商品单位id
  18668. type: integer
  18669. intclosepl:
  18670. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18671. type: integer
  18672. isconfirmexercise:
  18673. description: 是否确认行权- 0:否 1:是
  18674. type: integer
  18675. ismain:
  18676. description: 是否主单 - 0:不是 1:是
  18677. type: integer
  18678. ispreexercise:
  18679. description: 是否预申报- 0:否 1:是
  18680. type: integer
  18681. isreckoned:
  18682. description: 是否结算 - 0:未结算 1:已结算
  18683. type: integer
  18684. listingselecttype:
  18685. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18686. type: integer
  18687. marketid:
  18688. description: 市场ID
  18689. type: integer
  18690. marketname:
  18691. description: 市场名称
  18692. type: string
  18693. matchaccountid:
  18694. description: 对手账号id
  18695. type: integer
  18696. memberuserid:
  18697. description: 会员id 个人投资者 需要填写
  18698. type: integer
  18699. opencharge:
  18700. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18701. type: number
  18702. openexchagechargevalue:
  18703. description: 建仓交易所手续费设置值
  18704. type: number
  18705. openfeealgorithm:
  18706. description: 建仓手续费收取方式 1:比率 2:固定
  18707. type: integer
  18708. openmemberchargevalue:
  18709. description: 建仓会员手续费设置值
  18710. type: number
  18711. openqty:
  18712. description: 开仓数量(先建后平操作 需要记录)
  18713. type: number
  18714. optiontype:
  18715. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18716. type: integer
  18717. orderid:
  18718. description: 委托单号
  18719. type: string
  18720. payamount:
  18721. description: 支付金额(付款金额)
  18722. type: number
  18723. performanceplanid:
  18724. description: 履约计划ID[期权]
  18725. type: integer
  18726. performancestatus:
  18727. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18728. type: integer
  18729. preexerciseprice:
  18730. description: 预申报价格
  18731. type: number
  18732. premium:
  18733. description: 权利金 - [持仓单的权利金]
  18734. type: number
  18735. qtydecimalplace:
  18736. description: 商品报价小数位
  18737. type: integer
  18738. recvamount:
  18739. description: 到账金额 = 成交金额 - 手续费
  18740. type: number
  18741. relatedouttradeid:
  18742. description: 关联外部成交单ID
  18743. type: integer
  18744. status:
  18745. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18746. type: integer
  18747. totalamount:
  18748. description: 订单总额 = 成交金额 + 手续费
  18749. type: number
  18750. tradeamount:
  18751. description: 成交金额[账户币种,用于所有权]
  18752. type: number
  18753. tradedate:
  18754. description: 交易日(yyyyMMdd)
  18755. type: string
  18756. tradeid:
  18757. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18758. type: string
  18759. trademode:
  18760. description: 交易模式
  18761. type: integer
  18762. tradeprice:
  18763. description: 成交价格
  18764. type: number
  18765. tradeproperty:
  18766. description: 交易属性
  18767. type: integer
  18768. tradeqty:
  18769. description: 成交数量
  18770. type: number
  18771. tradetime:
  18772. description: 成交时间
  18773. type: string
  18774. tradetype:
  18775. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18776. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18777. type: integer
  18778. required:
  18779. - accountid
  18780. - buyorsell
  18781. - goodsid
  18782. - marketid
  18783. - memberuserid
  18784. - orderid
  18785. - tradeamount
  18786. - tradedate
  18787. - tradeid
  18788. - tradeprice
  18789. - tradeqty
  18790. - tradetime
  18791. type: object
  18792. order.QueryTradeOrderDetailRsp:
  18793. properties:
  18794. accountid:
  18795. description: 账户ID[报价币种]
  18796. type: integer
  18797. buildtype:
  18798. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18799. type: integer
  18800. buyorsell:
  18801. description: 买卖 - 0:买 1:卖
  18802. type: integer
  18803. cancelorderid:
  18804. description: 撤单单号(撤单时填写)
  18805. type: string
  18806. cancelqty:
  18807. description: 撤单数量
  18808. type: number
  18809. clienttype:
  18810. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18811. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18812. type: integer
  18813. closefreezecharge:
  18814. description: 平仓冻结手续费(先建后平操作,需要记录)
  18815. type: number
  18816. closeqty:
  18817. description: 平仓数量(先建后平操作 需要记录)
  18818. type: number
  18819. closetradeqty:
  18820. description: 平仓成交数量(先建后平操作,需要记录)
  18821. type: number
  18822. closeunfreezecharge:
  18823. description: 平仓解冻手续费(先建后平操作,需要记录)
  18824. type: number
  18825. decimalplace:
  18826. description: 商品报价小数位
  18827. type: integer
  18828. delistingtype:
  18829. description: 摘牌类型 - 1:价格最优 2:点选成交
  18830. type: integer
  18831. enableqty:
  18832. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18833. type: number
  18834. enumdicname:
  18835. description: 单位名称
  18836. type: string
  18837. freezecharge:
  18838. description: 冻结手续费
  18839. type: number
  18840. freezemargin:
  18841. description: 冻结保证金(冻结交易金额)
  18842. type: number
  18843. goodscode:
  18844. description: 商品代码
  18845. type: string
  18846. goodsid:
  18847. description: 商品ID
  18848. type: integer
  18849. goodsname:
  18850. description: 商品名称
  18851. type: string
  18852. goodunitid:
  18853. description: 商品单位id
  18854. type: integer
  18855. listingselecttype:
  18856. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18857. type: integer
  18858. marketid:
  18859. description: 市场ID
  18860. type: integer
  18861. marketname:
  18862. description: 市场名称
  18863. type: string
  18864. openfreezecharge:
  18865. description: 开仓冻结手续费(先建后平操作,需要记录)
  18866. type: number
  18867. openqty:
  18868. description: 开仓数量(先建后平操作,需要记录)
  18869. type: number
  18870. opentradeqty:
  18871. description: 开仓成交数量(先建后平操作,需要记录)
  18872. type: number
  18873. openunfreezecharge:
  18874. description: 开仓解冻手续费(先建后平操作,需要记录)
  18875. type: number
  18876. operatetype:
  18877. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18878. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18879. 15:管理端协议转让
  18880. type: integer
  18881. operatorid:
  18882. description: 登录账号(LoginID)
  18883. type: integer
  18884. orderid:
  18885. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18886. type: string
  18887. orderprice:
  18888. description: 委托价格
  18889. type: number
  18890. orderqty:
  18891. description: 委托数量
  18892. type: number
  18893. ordersrc:
  18894. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18895. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18896. type: integer
  18897. orderstatus:
  18898. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18899. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18900. 16:成交失败违约(荷兰式竞拍专用)
  18901. type: integer
  18902. ordertime:
  18903. description: 委托时间
  18904. type: string
  18905. preorderid:
  18906. description: 关联预埋单号(止盈止损单时填写)
  18907. type: string
  18908. pricemode:
  18909. description: '取价方式 - 1:市价 2: 限价'
  18910. type: integer
  18911. qtydecimalplace:
  18912. description: 商品报价小数位
  18913. type: integer
  18914. relatedid:
  18915. description: 关联单号(交割单)
  18916. type: string
  18917. tradedate:
  18918. description: 交易日(yyyyMMdd)
  18919. type: string
  18920. trademode:
  18921. description: 交易模式
  18922. type: integer
  18923. tradeqty:
  18924. description: 成交数量
  18925. type: number
  18926. unfreezecharge:
  18927. description: 解冻手续费
  18928. type: number
  18929. unfreezemargin:
  18930. description: 解冻保证金
  18931. type: number
  18932. validtime:
  18933. description: 有效期限
  18934. type: string
  18935. validtype:
  18936. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18937. type: integer
  18938. volumetype:
  18939. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18940. type: integer
  18941. required:
  18942. - accountid
  18943. - buildtype
  18944. - buyorsell
  18945. - goodsid
  18946. - marketid
  18947. - operatetype
  18948. - orderqty
  18949. - ordertime
  18950. - pricemode
  18951. - tradedate
  18952. - validtype
  18953. type: object
  18954. order.QueryTradePositionRsp:
  18955. properties:
  18956. accountid:
  18957. description: 资金账户
  18958. type: integer
  18959. agreeunit:
  18960. description: 合约单位
  18961. type: number
  18962. averageprice:
  18963. description: 持仓均价
  18964. type: number
  18965. buyorsell:
  18966. description: 方向 - 0:买 1:卖
  18967. type: integer
  18968. closetotalqty:
  18969. description: 平仓总数量
  18970. type: number
  18971. curholderamount:
  18972. description: 当前持仓总金额[商品币种]
  18973. type: number
  18974. curpositionqty:
  18975. description: 当前持仓总数量
  18976. type: number
  18977. currencyid:
  18978. description: 报价货币ID
  18979. type: integer
  18980. curtdposition:
  18981. description: 期末今日头寸
  18982. type: number
  18983. decimalplace:
  18984. description: 报价小数位
  18985. type: integer
  18986. enableqty:
  18987. description: 可用量
  18988. type: number
  18989. fretdposition:
  18990. description: 冻结今日头寸
  18991. type: number
  18992. frozenqty:
  18993. description: 持仓冻结数量
  18994. type: number
  18995. goodscode:
  18996. description: 商品代码
  18997. type: string
  18998. goodsid:
  18999. description: 商品Id
  19000. type: integer
  19001. goodsname:
  19002. description: 商品名称
  19003. type: string
  19004. goodunit:
  19005. description: 报价单位
  19006. type: string
  19007. goodunitid:
  19008. description: 报价单位ID
  19009. type: integer
  19010. holderamount:
  19011. description: 期初持仓总金额[商品币种]
  19012. type: number
  19013. lastprice:
  19014. description: 最新价
  19015. type: number
  19016. marketamount:
  19017. description: 市值
  19018. type: number
  19019. marketid:
  19020. description: 所属市场ID
  19021. type: integer
  19022. openreqqty:
  19023. description: 开仓申请数量(用于比较最大持仓数量)
  19024. type: number
  19025. opentotalqty:
  19026. description: 开仓总数量
  19027. type: number
  19028. otherfrozenqty:
  19029. description: 持仓其他冻结数量(交割冻结)
  19030. type: number
  19031. positionpl:
  19032. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  19033. * 合约单位
  19034. type: number
  19035. positionplrate:
  19036. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  19037. type: number
  19038. positionqty:
  19039. description: 期初持仓数量
  19040. type: number
  19041. qtydecimalplace:
  19042. description: 成交量小数位
  19043. type: integer
  19044. refgoodscode:
  19045. description: 参考商品代码
  19046. type: string
  19047. refgoodsid:
  19048. description: 参考商品ID
  19049. type: integer
  19050. tnqty:
  19051. description: T+N冻结总量
  19052. type: number
  19053. tnusedqty:
  19054. description: T+N使用量(可以使用T+N的冻结数量)
  19055. type: number
  19056. trademode:
  19057. description: 交易模式
  19058. type: integer
  19059. tradeproperty:
  19060. description: 交易属性
  19061. type: integer
  19062. usedmargin:
  19063. description: 占用保证金[商品币种]
  19064. type: number
  19065. required:
  19066. - goodsid
  19067. type: object
  19068. pb.GoodsMarginCfgStruct:
  19069. properties:
  19070. CustomerTypeID:
  19071. description: 投资者客户类型
  19072. type: integer
  19073. GoodsID:
  19074. description: 商品ID
  19075. type: integer
  19076. IsDefault:
  19077. description: 是否默认标志位
  19078. type: integer
  19079. LockMarginValue:
  19080. description: 锁仓保证金
  19081. type: number
  19082. MarginAlgorithm:
  19083. description: 保证金计算方式
  19084. type: integer
  19085. MarketMarginValue:
  19086. description: 即市保证金值
  19087. type: number
  19088. RealMarginAlgorithm:
  19089. description: 实付保证金计算方式
  19090. type: integer
  19091. RealMarginValue:
  19092. description: 实付比例
  19093. type: number
  19094. ReckonMarginValue:
  19095. description: 结算保证金值
  19096. type: number
  19097. type: object
  19098. quote.HistoryData:
  19099. properties:
  19100. c:
  19101. description: 收盘价
  19102. type: number
  19103. f:
  19104. description: 是否补充数据
  19105. type: boolean
  19106. h:
  19107. description: 最高价
  19108. type: number
  19109. hv:
  19110. description: 持仓量
  19111. type: integer
  19112. l:
  19113. description: 最低价
  19114. type: number
  19115. o:
  19116. description: 开盘价
  19117. type: number
  19118. s:
  19119. description: 结算价,日线周期(包括)以上才有
  19120. type: number
  19121. ts:
  19122. description: 时间
  19123. type: string
  19124. tt:
  19125. description: 总金额
  19126. type: number
  19127. tv:
  19128. description: 总量(成交量)
  19129. type: integer
  19130. type: object
  19131. quote.HistoryTikData:
  19132. properties:
  19133. AV:
  19134. description: 卖量
  19135. type: integer
  19136. Ask:
  19137. description: 卖价
  19138. type: number
  19139. BV:
  19140. description: 买量
  19141. type: integer
  19142. Bid:
  19143. description: 买价
  19144. type: number
  19145. HI:
  19146. description: 单笔持仓
  19147. type: integer
  19148. HV:
  19149. description: 持仓量
  19150. type: integer
  19151. PE:
  19152. description: 现价
  19153. type: number
  19154. TDR:
  19155. description: 交易方向,0:买 1:卖
  19156. type: integer
  19157. TK:
  19158. description: 交易类型
  19159. type: integer
  19160. TS:
  19161. description: 行情时间文本
  19162. type: string
  19163. TT:
  19164. description: 现金额
  19165. type: number
  19166. Vol:
  19167. description: 现量
  19168. type: integer
  19169. type: object
  19170. quote.QueryQuoteDayRsp:
  19171. properties:
  19172. ask:
  19173. description: 卖1
  19174. type: number
  19175. ask2:
  19176. description: 卖2
  19177. type: number
  19178. ask3:
  19179. description: 卖3
  19180. type: number
  19181. ask4:
  19182. description: 卖4
  19183. type: number
  19184. ask5:
  19185. description: 卖5
  19186. type: number
  19187. ask6:
  19188. description: 卖6
  19189. type: number
  19190. ask7:
  19191. description: 卖7
  19192. type: number
  19193. ask8:
  19194. description: 卖8
  19195. type: number
  19196. ask9:
  19197. description: 卖9
  19198. type: number
  19199. ask10:
  19200. description: 卖10
  19201. type: number
  19202. askorderid:
  19203. description: 卖单号1
  19204. type: integer
  19205. askorderid2:
  19206. description: 卖单号2
  19207. type: integer
  19208. askorderid3:
  19209. description: 卖单号3
  19210. type: integer
  19211. askorderid4:
  19212. description: 卖单号4
  19213. type: integer
  19214. askorderid5:
  19215. description: 卖单号5
  19216. type: integer
  19217. askordervolume:
  19218. description: 卖单量1
  19219. type: integer
  19220. askordervolume2:
  19221. description: 卖单量2
  19222. type: integer
  19223. askordervolume3:
  19224. description: 卖单量3
  19225. type: integer
  19226. askordervolume4:
  19227. description: 卖单量4
  19228. type: integer
  19229. askordervolume5:
  19230. description: 卖单量5
  19231. type: integer
  19232. askordervolume6:
  19233. description: 卖单量6
  19234. type: integer
  19235. askordervolume7:
  19236. description: 卖单量7
  19237. type: integer
  19238. askordervolume8:
  19239. description: 卖单量8
  19240. type: integer
  19241. askordervolume9:
  19242. description: 卖单量9
  19243. type: integer
  19244. askordervolume10:
  19245. description: 卖单量10
  19246. type: integer
  19247. askqueueinfo:
  19248. description: 大利市卖港股用
  19249. type: string
  19250. askvolume:
  19251. description: 卖量1
  19252. type: integer
  19253. askvolume2:
  19254. description: 卖量2
  19255. type: integer
  19256. askvolume3:
  19257. description: 卖量3
  19258. type: integer
  19259. askvolume4:
  19260. description: 卖量4
  19261. type: integer
  19262. askvolume5:
  19263. description: 卖量5
  19264. type: integer
  19265. askvolume6:
  19266. description: 卖量6
  19267. type: integer
  19268. askvolume7:
  19269. description: 卖量7
  19270. type: integer
  19271. askvolume8:
  19272. description: 卖量8
  19273. type: integer
  19274. askvolume9:
  19275. description: 卖量9
  19276. type: integer
  19277. askvolume10:
  19278. description: 卖量10
  19279. type: integer
  19280. averageprice:
  19281. description: 均价
  19282. type: number
  19283. bid:
  19284. description: 买1
  19285. type: number
  19286. bid2:
  19287. description: 买2
  19288. type: number
  19289. bid3:
  19290. description: 买3
  19291. type: number
  19292. bid4:
  19293. description: 买4
  19294. type: number
  19295. bid5:
  19296. description: 买5
  19297. type: number
  19298. bid6:
  19299. description: 买6
  19300. type: number
  19301. bid7:
  19302. description: 买7
  19303. type: number
  19304. bid8:
  19305. description: 买8
  19306. type: number
  19307. bid9:
  19308. description: 买9
  19309. type: number
  19310. bid10:
  19311. description: 买10
  19312. type: number
  19313. bidorderid:
  19314. description: 买单号1
  19315. type: integer
  19316. bidorderid2:
  19317. description: 买单号2
  19318. type: integer
  19319. bidorderid3:
  19320. description: 买单号3
  19321. type: integer
  19322. bidorderid4:
  19323. description: 买单号4
  19324. type: integer
  19325. bidorderid5:
  19326. description: 买单号5
  19327. type: integer
  19328. bidordervolume:
  19329. description: 买单量1
  19330. type: integer
  19331. bidordervolume2:
  19332. description: 买单量2
  19333. type: integer
  19334. bidordervolume3:
  19335. description: 买单量3
  19336. type: integer
  19337. bidordervolume4:
  19338. description: 买单量4
  19339. type: integer
  19340. bidordervolume5:
  19341. description: 买单量5
  19342. type: integer
  19343. bidordervolume6:
  19344. description: 买单量6
  19345. type: integer
  19346. bidordervolume7:
  19347. description: 买单量7
  19348. type: integer
  19349. bidordervolume8:
  19350. description: 买单量8
  19351. type: integer
  19352. bidordervolume9:
  19353. description: 买单量9
  19354. type: integer
  19355. bidordervolume10:
  19356. description: 买单量10
  19357. type: integer
  19358. bidqueueinfo:
  19359. description: 大利市买港股用
  19360. type: string
  19361. bidvolume:
  19362. description: 买量1
  19363. type: integer
  19364. bidvolume2:
  19365. description: 买量2
  19366. type: integer
  19367. bidvolume3:
  19368. description: 买量3
  19369. type: integer
  19370. bidvolume4:
  19371. description: 买量4
  19372. type: integer
  19373. bidvolume5:
  19374. description: 买量5
  19375. type: integer
  19376. bidvolume6:
  19377. description: 买量6
  19378. type: integer
  19379. bidvolume7:
  19380. description: 买量7
  19381. type: integer
  19382. bidvolume8:
  19383. description: 买量8
  19384. type: integer
  19385. bidvolume9:
  19386. description: 买量9
  19387. type: integer
  19388. bidvolume10:
  19389. description: 买量10
  19390. type: integer
  19391. calloptionpremiums:
  19392. description: 认购期权1
  19393. type: integer
  19394. calloptionpremiums2:
  19395. description: 认购期权2
  19396. type: integer
  19397. calloptionpremiums3:
  19398. description: 认购期权3
  19399. type: integer
  19400. calloptionpremiums4:
  19401. description: 认购期权4
  19402. type: integer
  19403. calloptionpremiums5:
  19404. description: 认购期权5
  19405. type: integer
  19406. cleartime:
  19407. description: 清盘时间
  19408. type: integer
  19409. exchangecode:
  19410. description: 交易所代码
  19411. type: integer
  19412. exchangedate:
  19413. description: 交易日
  19414. type: integer
  19415. goodscode:
  19416. description: 商品代码
  19417. type: string
  19418. grepmarketprice:
  19419. description: 暗盘价 港股专用
  19420. type: number
  19421. highest:
  19422. description: 最高价
  19423. type: number
  19424. holdincrement:
  19425. description: 单笔持仓
  19426. type: integer
  19427. holdvolume:
  19428. description: 持仓
  19429. type: integer
  19430. iep:
  19431. description: 平衡价 港股专用
  19432. type: number
  19433. iev:
  19434. description: 平衡量 港股专用
  19435. type: number
  19436. inventory:
  19437. description: 库存
  19438. type: integer
  19439. iscleared:
  19440. description: 是否清盘标志
  19441. type: integer
  19442. issettled:
  19443. description: 是否结算标志
  19444. type: integer
  19445. last:
  19446. description: 最新价
  19447. type: number
  19448. lastlot:
  19449. description: 最新成交手数
  19450. type: integer
  19451. lasttime:
  19452. description: 行情时间(只有现价变化行情时间才变化)
  19453. type: string
  19454. lastturnover:
  19455. description: 最新成交金额
  19456. type: number
  19457. lastvolume:
  19458. description: 最新成交量
  19459. type: integer
  19460. limitdown:
  19461. description: 跌停价
  19462. type: number
  19463. limitup:
  19464. description: 涨停价
  19465. type: number
  19466. lowest:
  19467. description: 最低价
  19468. type: number
  19469. nontotalholdervolume:
  19470. description: 非交易持仓量
  19471. type: integer
  19472. nontotallot:
  19473. description: 非交易总手数
  19474. type: integer
  19475. nontotalturnover:
  19476. description: 非交易总金额
  19477. type: integer
  19478. nontotalvolume:
  19479. description: 非交易总量
  19480. type: integer
  19481. opened:
  19482. description: 开盘价
  19483. type: number
  19484. opentime:
  19485. description: 开盘时间
  19486. type: string
  19487. orderid:
  19488. description: 序号
  19489. type: integer
  19490. preclose:
  19491. description: 昨收
  19492. type: number
  19493. preholdvolume:
  19494. description: 昨持仓
  19495. type: integer
  19496. presettle:
  19497. description: 昨结价
  19498. type: number
  19499. publictradetype:
  19500. description: 公共交易标志类型 港股专用
  19501. type: string
  19502. putoptionpremiums:
  19503. description: 认沽期权1
  19504. type: integer
  19505. putoptionpremiums2:
  19506. description: 认沽期权2
  19507. type: integer
  19508. putoptionpremiums3:
  19509. description: 认沽期权3
  19510. type: integer
  19511. putoptionpremiums4:
  19512. description: 认沽期权4
  19513. type: integer
  19514. putoptionpremiums5:
  19515. description: 认沽期权5
  19516. type: integer
  19517. settle:
  19518. description: 结算价
  19519. type: number
  19520. strikeprice:
  19521. description: 发行价
  19522. type: number
  19523. totalaskvolume:
  19524. description: 内盘
  19525. type: integer
  19526. totalbidvolume:
  19527. description: 外盘
  19528. type: integer
  19529. totallot:
  19530. description: 总手数
  19531. type: integer
  19532. totalturnover:
  19533. description: 总金额
  19534. type: number
  19535. totalvolume:
  19536. description: 总量
  19537. type: integer
  19538. utclasttime:
  19539. description: utc的行情时间
  19540. type: string
  19541. type: object
  19542. quote.QueryTSDataRsp:
  19543. properties:
  19544. Count:
  19545. description: 交易日应有数据个数
  19546. type: integer
  19547. decimalPlace:
  19548. description: 小数位
  19549. type: integer
  19550. endTime:
  19551. description: 结束时间
  19552. type: string
  19553. goodsCode:
  19554. description: 商品代码
  19555. type: string
  19556. historyDatas:
  19557. description: 历史数据
  19558. items:
  19559. $ref: '#/definitions/quote.HistoryData'
  19560. type: array
  19561. outGoodsCode:
  19562. description: 外部商品代码
  19563. type: string
  19564. preSettle:
  19565. description: 昨结价
  19566. type: number
  19567. runSteps:
  19568. description: 交易日开休市计划
  19569. items:
  19570. $ref: '#/definitions/quote.TSDataRunStep'
  19571. type: array
  19572. startTime:
  19573. description: 开始时间
  19574. type: string
  19575. tradeDate:
  19576. description: 交易日
  19577. type: string
  19578. type: object
  19579. quote.TSDataRunStep:
  19580. properties:
  19581. end:
  19582. description: 真实结束时间
  19583. type: string
  19584. endflag:
  19585. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  19586. type: integer
  19587. endtime:
  19588. description: 结束时间(HH:mm)
  19589. type: string
  19590. endweekday:
  19591. description: 结束周几
  19592. type: integer
  19593. groupid:
  19594. description: 分组ID
  19595. type: integer
  19596. runstep:
  19597. description: 运行阶段 - 2:连续交易
  19598. type: integer
  19599. sectionid:
  19600. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  19601. 结束时间=结算时间 结束周几=结算周几
  19602. type: integer
  19603. start:
  19604. description: 真实开始时间
  19605. type: string
  19606. startflag:
  19607. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  19608. type: integer
  19609. starttime:
  19610. description: 起始时间(HH:mm)
  19611. type: string
  19612. startweekday:
  19613. description: 起始周几
  19614. type: integer
  19615. tradeweekday:
  19616. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  19617. type: integer
  19618. type: object
  19619. szdz.QueryConvertLogRsp:
  19620. properties:
  19621. accountid:
  19622. description: 资金账户ID
  19623. type: integer
  19624. clientticket:
  19625. description: 客户端流水号
  19626. type: string
  19627. converttype:
  19628. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  19629. type: integer
  19630. createtime:
  19631. description: 记账时间
  19632. type: string
  19633. daymaxvalue:
  19634. description: 配置当日最大转入限制
  19635. type: number
  19636. daymaxvalue2:
  19637. description: 配置当日最大转入限制(转入)
  19638. type: number
  19639. goodscode:
  19640. description: 商品代码
  19641. type: string
  19642. goodsname:
  19643. description: 商品名称
  19644. type: string
  19645. handlestatus:
  19646. description: 处理状态
  19647. type: integer
  19648. innergoodsid:
  19649. description: 内部商品ID
  19650. type: integer
  19651. inratio:
  19652. description: 配置转入比值
  19653. type: integer
  19654. invalue:
  19655. description: 目标值
  19656. type: number
  19657. logid:
  19658. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19659. type: integer
  19660. mobile:
  19661. description: 手机号码(加密存储)
  19662. type: string
  19663. outergoodscode:
  19664. description: 外部商品代码[JD\PD]
  19665. type: string
  19666. outratio:
  19667. description: 配置转出比值
  19668. type: integer
  19669. outvalue:
  19670. description: 源值
  19671. type: number
  19672. pddecimalplace:
  19673. description: PD小数位
  19674. type: integer
  19675. qty:
  19676. description: 数量
  19677. type: string
  19678. remark:
  19679. description: 备注
  19680. type: string
  19681. sessionid:
  19682. description: 会话ID
  19683. type: integer
  19684. timemaxvalue:
  19685. description: 配置单次最大转入限制
  19686. type: number
  19687. timemaxvalue2:
  19688. description: 配置单次最大转入限制(转入)
  19689. type: number
  19690. timeminvalue:
  19691. description: 配置单次最小数量限制
  19692. type: number
  19693. timeminvalue2:
  19694. description: 配置单次最小数量限制(转入)
  19695. type: number
  19696. tradedate:
  19697. description: 交易日(yyyyMMdd)
  19698. type: string
  19699. userid:
  19700. description: 用户ID
  19701. type: integer
  19702. required:
  19703. - logid
  19704. type: object
  19705. szdz.QueryGoodsPickupRsp:
  19706. properties:
  19707. accountid:
  19708. description: 账户ID
  19709. type: integer
  19710. address:
  19711. description: 提货人详细地址
  19712. type: string
  19713. auditer:
  19714. description: 审核人
  19715. type: integer
  19716. audittime:
  19717. description: 审核时间
  19718. type: string
  19719. cardnum:
  19720. description: 提货人证件号码
  19721. type: string
  19722. cardtypeid:
  19723. description: 提货人证件类型
  19724. type: integer
  19725. checkremark:
  19726. description: 审核备注
  19727. type: string
  19728. goodscode:
  19729. description: 商品代码
  19730. type: string
  19731. goodsid:
  19732. description: 商品ID
  19733. type: integer
  19734. goodsname:
  19735. description: 商品名称
  19736. type: string
  19737. handlestatus:
  19738. description: 处理状态
  19739. type: integer
  19740. marketid:
  19741. description: 市场ID
  19742. type: integer
  19743. phonenum:
  19744. description: 提货人联系方式
  19745. type: string
  19746. qty:
  19747. description: 提货数量
  19748. type: number
  19749. recivername:
  19750. description: 提货人姓名
  19751. type: string
  19752. reqtime:
  19753. description: 更新时间
  19754. type: string
  19755. takemode:
  19756. description: 提货方式 - 2:自提 3:配送
  19757. type: integer
  19758. takeorderid:
  19759. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19760. type: string
  19761. takeorderstatus:
  19762. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19763. type: integer
  19764. takeremark:
  19765. description: 提货备注
  19766. type: string
  19767. tradedate:
  19768. description: 交易日(yyyyMMdd)
  19769. type: string
  19770. userid:
  19771. description: 用户ID
  19772. type: integer
  19773. required:
  19774. - takeorderid
  19775. type: object
  19776. szdz.QueryRecieptOrderRsp:
  19777. properties:
  19778. accountName:
  19779. description: 所属账号名称(已脱敏)
  19780. type: string
  19781. accountid:
  19782. description: 资金账号
  19783. type: integer
  19784. buyorsell:
  19785. description: 方向 - 0:买 1:卖
  19786. type: integer
  19787. enableqty:
  19788. description: 可摘数量
  19789. type: integer
  19790. goodscode:
  19791. description: 商品代码
  19792. type: string
  19793. goodsid:
  19794. description: 商品ID
  19795. type: integer
  19796. goodsname:
  19797. description: 商品名称
  19798. type: string
  19799. orderid:
  19800. description: 委托单号
  19801. type: string
  19802. orderprice:
  19803. description: 委托价格
  19804. type: number
  19805. ordertime:
  19806. description: 委托时间
  19807. type: string
  19808. tradedate:
  19809. description: 交易日(yyyyMMdd)
  19810. type: string
  19811. required:
  19812. - ordertime
  19813. type: object
  19814. szdz.QuerySZDZTradePositionRsp:
  19815. properties:
  19816. accountid:
  19817. description: 账号Id
  19818. type: integer
  19819. agreeunit:
  19820. description: 合约单位
  19821. type: number
  19822. averageprice:
  19823. description: 持仓均价
  19824. type: number
  19825. buyorsell:
  19826. description: 方向 - 0:买 1:卖
  19827. type: integer
  19828. closetotalqty:
  19829. description: 平仓总数量
  19830. type: integer
  19831. curholderamount:
  19832. description: 当前持仓总金额
  19833. type: number
  19834. curpositionqty:
  19835. description: 当前持仓总数量
  19836. type: integer
  19837. currencyid:
  19838. description: 报价货币ID
  19839. type: integer
  19840. curtdposition:
  19841. description: 期末今日头寸
  19842. type: integer
  19843. decimalplace:
  19844. description: 报价小数位
  19845. type: integer
  19846. enableqty:
  19847. description: 可用量
  19848. type: integer
  19849. fretdposition:
  19850. description: 冻结今日头寸
  19851. type: integer
  19852. frozenqty:
  19853. description: 持仓冻结数量
  19854. type: integer
  19855. goodscode:
  19856. description: 商品代码(内部)
  19857. type: string
  19858. goodsid:
  19859. description: 商品Id
  19860. type: integer
  19861. goodsname:
  19862. description: 商品名称
  19863. type: string
  19864. goodunit:
  19865. description: 报价单位
  19866. type: string
  19867. goodunitid:
  19868. description: 报价单位ID
  19869. type: integer
  19870. holderamount:
  19871. description: 期初持仓总金额
  19872. type: number
  19873. marketid:
  19874. description: 市场ID
  19875. type: integer
  19876. openreqqty:
  19877. description: 开仓申请数量
  19878. type: integer
  19879. opentotalqty:
  19880. description: 开仓总数量
  19881. type: integer
  19882. otherfrozenqty:
  19883. description: 持仓其他冻结数量(交割冻结)
  19884. type: integer
  19885. positionqty:
  19886. description: 期初持仓数量
  19887. type: integer
  19888. szdz3freezqty:
  19889. description: 尚志大宗转换冻结总数量
  19890. type: integer
  19891. tnqty:
  19892. description: T+N冻结总量
  19893. type: integer
  19894. tnusedqty:
  19895. description: T+N使用量
  19896. type: integer
  19897. trademode:
  19898. description: 交易模式
  19899. type: integer
  19900. usedmargin:
  19901. description: 占用保证金
  19902. type: number
  19903. type: object
  19904. taaccount.QueryAmountLogRsp:
  19905. properties:
  19906. OPERATETYPENAME:
  19907. description: 资金操作类型名称
  19908. type: string
  19909. accountid:
  19910. description: 资金账户ID
  19911. type: integer
  19912. agoodscode:
  19913. description: 竞拍商品代码
  19914. type: string
  19915. agoodsname:
  19916. description: 竞拍商品名称
  19917. type: string
  19918. amount:
  19919. description: 资金金额
  19920. type: number
  19921. amountadjusttype:
  19922. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19923. type: integer
  19924. autoid:
  19925. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19926. type: integer
  19927. balance:
  19928. description: 期初余额
  19929. type: number
  19930. businesscode:
  19931. description: 业务编号
  19932. type: integer
  19933. createtime:
  19934. description: 发生时间
  19935. type: string
  19936. currencyid:
  19937. description: 币种ID
  19938. type: integer
  19939. currentbalance:
  19940. description: 期末余额(变动后金额)
  19941. type: number
  19942. dgoodscode:
  19943. description: 交割商品代码
  19944. type: string
  19945. dgoodsname:
  19946. description: 交割商品名称
  19947. type: string
  19948. goodscode:
  19949. description: 商品代码
  19950. type: string
  19951. goodsid:
  19952. description: 商品ID
  19953. type: integer
  19954. goodsname:
  19955. description: 商品名称
  19956. type: string
  19957. marketid:
  19958. description: 市场ID
  19959. type: integer
  19960. marketname:
  19961. description: 市场名称
  19962. type: string
  19963. moneyticket:
  19964. description: 资金流水号:银行端流水号
  19965. type: integer
  19966. operatetype:
  19967. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19968. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19969. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19970. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19971. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19972. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19973. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19974. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19975. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19976. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19977. type: integer
  19978. relationorderid:
  19979. description: 关联单号
  19980. type: string
  19981. remark:
  19982. description: 备注
  19983. type: string
  19984. trademode:
  19985. description: 交易模式
  19986. type: integer
  19987. required:
  19988. - accountid
  19989. - amount
  19990. - amountadjusttype
  19991. - autoid
  19992. - balance
  19993. - createtime
  19994. - currentbalance
  19995. - operatetype
  19996. type: object
  19997. taaccount.QueryHisAmountLogRsp:
  19998. properties:
  19999. OPERATETYPENAME:
  20000. description: 资金操作类型名称
  20001. type: string
  20002. accountid:
  20003. description: 资金账户ID
  20004. type: integer
  20005. agoodscode:
  20006. description: 竞拍商品代码
  20007. type: string
  20008. agoodsname:
  20009. description: 竞拍商品名称
  20010. type: string
  20011. amount:
  20012. description: 资金金额
  20013. type: number
  20014. amountadjusttype:
  20015. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20016. type: integer
  20017. autoid:
  20018. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20019. type: integer
  20020. balance:
  20021. description: 期初余额
  20022. type: number
  20023. businesscode:
  20024. description: 业务编号
  20025. type: integer
  20026. createtime:
  20027. description: 发生时间
  20028. type: string
  20029. currencyid:
  20030. description: 币种ID
  20031. type: integer
  20032. currentbalance:
  20033. description: 期末余额(变动后金额)
  20034. type: number
  20035. dgoodscode:
  20036. description: 交割商品代码
  20037. type: string
  20038. dgoodsname:
  20039. description: 交割商品名称
  20040. type: string
  20041. goodscode:
  20042. description: 商品代码
  20043. type: string
  20044. goodsid:
  20045. description: 商品ID
  20046. type: integer
  20047. goodsname:
  20048. description: 商品名称
  20049. type: string
  20050. histradedate:
  20051. description: 历史交易日
  20052. type: string
  20053. isvaliddata:
  20054. description: 是否有效 - 0:无效 1:有效
  20055. type: integer
  20056. marketid:
  20057. description: 市场ID
  20058. type: integer
  20059. marketname:
  20060. description: 市场名称
  20061. type: string
  20062. moneyticket:
  20063. description: 资金流水号:银行端流水号
  20064. type: integer
  20065. operatetype:
  20066. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20067. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20068. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20069. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20070. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20071. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20072. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20073. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20074. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20075. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20076. type: integer
  20077. relationorderid:
  20078. description: 关联单号
  20079. type: string
  20080. remark:
  20081. description: 备注
  20082. type: string
  20083. trademode:
  20084. description: 交易模式
  20085. type: integer
  20086. required:
  20087. - accountid
  20088. - amount
  20089. - amountadjusttype
  20090. - autoid
  20091. - balance
  20092. - createtime
  20093. - currentbalance
  20094. - histradedate
  20095. - operatetype
  20096. type: object
  20097. trade.QueryRecieptOrderRsp:
  20098. properties:
  20099. accountName:
  20100. description: 所属账号名称(已脱敏)
  20101. type: string
  20102. accountid:
  20103. description: 资金账号
  20104. type: integer
  20105. buyorsell:
  20106. description: 方向 - 0:买 1:卖
  20107. type: integer
  20108. enableqty:
  20109. description: 可摘数量
  20110. type: integer
  20111. goodscode:
  20112. description: 商品代码
  20113. type: string
  20114. goodsid:
  20115. description: 商品ID
  20116. type: integer
  20117. goodsname:
  20118. description: 商品名称
  20119. type: string
  20120. orderid:
  20121. description: 委托单号
  20122. type: string
  20123. orderprice:
  20124. description: 委托价格
  20125. type: number
  20126. ordertime:
  20127. description: 委托时间
  20128. type: string
  20129. tradedate:
  20130. description: 交易日(yyyyMMdd)
  20131. type: string
  20132. required:
  20133. - ordertime
  20134. type: object
  20135. user.LoginQueryRsp:
  20136. properties:
  20137. areaRoles:
  20138. description: 所属角色信息
  20139. items:
  20140. $ref: '#/definitions/models.Arearole'
  20141. type: array
  20142. externalExchanges:
  20143. description: 外部交易所
  20144. items:
  20145. $ref: '#/definitions/models.Externalexchange'
  20146. type: array
  20147. goodsgroups:
  20148. description: 商品组
  20149. items:
  20150. $ref: '#/definitions/models.Goodsgroup'
  20151. type: array
  20152. loginAccount:
  20153. $ref: '#/definitions/models.Loginaccount'
  20154. description: 登录账号
  20155. markets:
  20156. description: 市场
  20157. items:
  20158. $ref: '#/definitions/models.Market'
  20159. type: array
  20160. systemParams:
  20161. description: 系统参数
  20162. items:
  20163. $ref: '#/definitions/models.Systemparam'
  20164. type: array
  20165. userAccount:
  20166. $ref: '#/definitions/models.Useraccount'
  20167. description: 用户账号
  20168. userInfo:
  20169. $ref: '#/definitions/models.Userinfo'
  20170. description: 用户信息
  20171. username:
  20172. description: 用户姓名
  20173. type: string
  20174. type: object
  20175. info:
  20176. contact: {}
  20177. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  20178. termsOfService: http://www.muchinfo.cn
  20179. title: MTP2.0 查询服务 API
  20180. version: "1.0"
  20181. paths:
  20182. /CPTrade/QueryCPTradeMyBidInfos:
  20183. get:
  20184. parameters:
  20185. - description: 资金账户
  20186. in: query
  20187. name: accountid
  20188. required: true
  20189. type: integer
  20190. - description: 预售市场ID
  20191. in: query
  20192. name: marketid
  20193. type: integer
  20194. - description: 预售商品ID
  20195. in: query
  20196. name: goodsid
  20197. type: integer
  20198. produces:
  20199. - application/json
  20200. responses:
  20201. "200":
  20202. description: OK
  20203. schema:
  20204. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  20205. "500":
  20206. description: Internal Server Error
  20207. schema:
  20208. $ref: '#/definitions/app.Response'
  20209. security:
  20210. - ApiKeyAuth: []
  20211. summary: 查询产能预售我的出价信息
  20212. tags:
  20213. - 产能预售
  20214. /CPTrade/QueryCPTradeOrderDetail:
  20215. get:
  20216. parameters:
  20217. - description: 预售商品ID
  20218. in: query
  20219. name: goodsid
  20220. type: integer
  20221. - description: 预售市场ID
  20222. in: query
  20223. name: marketid
  20224. type: integer
  20225. - description: 预售商品ID列表 - 格式:1,2,3
  20226. in: query
  20227. name: goodsids
  20228. type: string
  20229. produces:
  20230. - application/json
  20231. responses:
  20232. "200":
  20233. description: OK
  20234. schema:
  20235. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  20236. "500":
  20237. description: Internal Server Error
  20238. schema:
  20239. $ref: '#/definitions/app.Response'
  20240. security:
  20241. - ApiKeyAuth: []
  20242. summary: 查询产能预售委托单信息
  20243. tags:
  20244. - 产能预售
  20245. /CPTrade/QueryMyCPTradeGoods:
  20246. get:
  20247. parameters:
  20248. - description: 资金账户
  20249. in: query
  20250. name: accountid
  20251. required: true
  20252. type: integer
  20253. produces:
  20254. - application/json
  20255. responses:
  20256. "200":
  20257. description: OK
  20258. schema:
  20259. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  20260. "500":
  20261. description: Internal Server Error
  20262. schema:
  20263. $ref: '#/definitions/app.Response'
  20264. security:
  20265. - ApiKeyAuth: []
  20266. summary: 查询我的预售信息
  20267. tags:
  20268. - 产能预售
  20269. /CPTrade/QueryPositionCancel:
  20270. get:
  20271. parameters:
  20272. - description: 账户ID
  20273. in: query
  20274. name: userid
  20275. required: true
  20276. type: integer
  20277. - description: 注销ID
  20278. in: query
  20279. name: cancelid
  20280. type: integer
  20281. - description: 资金账户ID
  20282. in: query
  20283. name: accountid
  20284. type: integer
  20285. produces:
  20286. - application/json
  20287. responses:
  20288. "200":
  20289. description: OK
  20290. schema:
  20291. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  20292. "500":
  20293. description: Internal Server Error
  20294. schema:
  20295. $ref: '#/definitions/app.Response'
  20296. security:
  20297. - ApiKeyAuth: []
  20298. summary: 查询远期订单注销申请信息
  20299. tags:
  20300. - 产能预售
  20301. /CPTrade/QueryPreasleApply:
  20302. get:
  20303. parameters:
  20304. - description: 账户ID
  20305. in: query
  20306. name: userid
  20307. required: true
  20308. type: integer
  20309. - description: 申请ID
  20310. in: query
  20311. name: applyid
  20312. type: integer
  20313. - description: 资金账户ID
  20314. in: query
  20315. name: accountid
  20316. type: integer
  20317. produces:
  20318. - application/json
  20319. responses:
  20320. "200":
  20321. description: OK
  20322. schema:
  20323. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  20324. "500":
  20325. description: Internal Server Error
  20326. schema:
  20327. $ref: '#/definitions/app.Response'
  20328. security:
  20329. - ApiKeyAuth: []
  20330. summary: 查询产能预售申请信息
  20331. tags:
  20332. - 产能预售
  20333. /CPTrade/QueryPresaleGoodsEx:
  20334. get:
  20335. parameters:
  20336. - description: 预售商品ID
  20337. in: query
  20338. name: goodsid
  20339. type: integer
  20340. - description: 预售市场ID
  20341. in: query
  20342. name: marketid
  20343. type: integer
  20344. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  20345. in: query
  20346. name: presalemode
  20347. type: integer
  20348. - description: 预售商品ID列表 - 格式:1,2,3
  20349. in: query
  20350. name: goodsids
  20351. type: string
  20352. - description: 预售商品代码
  20353. in: query
  20354. name: goodscode
  20355. type: string
  20356. produces:
  20357. - application/json
  20358. responses:
  20359. "200":
  20360. description: OK
  20361. schema:
  20362. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  20363. "500":
  20364. description: Internal Server Error
  20365. schema:
  20366. $ref: '#/definitions/app.Response'
  20367. security:
  20368. - ApiKeyAuth: []
  20369. summary: 查询产能预售商品扩展信息
  20370. tags:
  20371. - 产能预售
  20372. /CPTrade/QueryUserGoodsData:
  20373. get:
  20374. parameters:
  20375. - description: 资金账户ID
  20376. in: query
  20377. name: accountid
  20378. required: true
  20379. type: integer
  20380. produces:
  20381. - application/json
  20382. responses:
  20383. "200":
  20384. description: OK
  20385. schema:
  20386. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  20387. "500":
  20388. description: Internal Server Error
  20389. schema:
  20390. $ref: '#/definitions/app.Response'
  20391. security:
  20392. - ApiKeyAuth: []
  20393. summary: 查询远期订单信息
  20394. tags:
  20395. - 产能预售
  20396. /Common/GetAllEnums:
  20397. get:
  20398. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  20399. parameters:
  20400. - description: 起始自增ID
  20401. in: query
  20402. name: autoid
  20403. type: integer
  20404. produces:
  20405. - application/json
  20406. responses:
  20407. "200":
  20408. description: OK
  20409. schema:
  20410. $ref: '#/definitions/models.Enumdicitem'
  20411. "500":
  20412. description: Internal Server Error
  20413. schema:
  20414. $ref: '#/definitions/app.Response'
  20415. summary: 获取所有枚举信息
  20416. tags:
  20417. - 通用服务
  20418. /Common/GetClientMenus:
  20419. get:
  20420. parameters:
  20421. - description: 登录账号
  20422. in: query
  20423. name: loginID
  20424. required: true
  20425. type: integer
  20426. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  20427. in: query
  20428. name: clientType
  20429. type: integer
  20430. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  20431. in: query
  20432. name: name
  20433. type: string
  20434. produces:
  20435. - application/json
  20436. responses:
  20437. "200":
  20438. description: OK
  20439. schema:
  20440. items:
  20441. $ref: '#/definitions/common.ClientMenu'
  20442. type: array
  20443. "500":
  20444. description: Internal Server Error
  20445. schema:
  20446. $ref: '#/definitions/app.Response'
  20447. security:
  20448. - ApiKeyAuth: []
  20449. summary: 获取交易端菜单
  20450. tags:
  20451. - 通用服务
  20452. /Common/GetDivisions:
  20453. get:
  20454. produces:
  20455. - application/json
  20456. responses:
  20457. "200":
  20458. description: OK
  20459. schema:
  20460. $ref: '#/definitions/models.Division'
  20461. "500":
  20462. description: Internal Server Error
  20463. schema:
  20464. $ref: '#/definitions/app.Response'
  20465. summary: 查询区域信息
  20466. tags:
  20467. - 通用服务
  20468. /Common/GetPCWebMenus:
  20469. get:
  20470. parameters:
  20471. - description: 登录账号
  20472. in: query
  20473. name: loginID
  20474. required: true
  20475. type: integer
  20476. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  20477. in: query
  20478. name: name
  20479. type: string
  20480. produces:
  20481. - application/json
  20482. responses:
  20483. "200":
  20484. description: OK
  20485. schema:
  20486. items:
  20487. $ref: '#/definitions/common.PCWebMenu'
  20488. type: array
  20489. "500":
  20490. description: Internal Server Error
  20491. schema:
  20492. $ref: '#/definitions/app.Response'
  20493. security:
  20494. - ApiKeyAuth: []
  20495. summary: 获取PCWeb交易端菜单
  20496. tags:
  20497. - 通用服务
  20498. /Common/GetServerTime:
  20499. get:
  20500. produces:
  20501. - application/json
  20502. responses:
  20503. "200":
  20504. description: OK
  20505. schema:
  20506. $ref: '#/definitions/app.Response'
  20507. "500":
  20508. description: Internal Server Error
  20509. schema:
  20510. $ref: '#/definitions/app.Response'
  20511. summary: 获取服务器时间
  20512. tags:
  20513. - 通用服务
  20514. /Common/NoticeReaded:
  20515. post:
  20516. parameters:
  20517. - description: 登录账号
  20518. in: query
  20519. name: loginID
  20520. required: true
  20521. type: integer
  20522. - description: 通知公告ID
  20523. in: query
  20524. name: noticeID
  20525. required: true
  20526. type: integer
  20527. produces:
  20528. - application/json
  20529. responses:
  20530. "200":
  20531. description: OK
  20532. schema:
  20533. $ref: '#/definitions/app.Response'
  20534. "500":
  20535. description: Internal Server Error
  20536. schema:
  20537. $ref: '#/definitions/app.Response'
  20538. security:
  20539. - ApiKeyAuth: []
  20540. summary: 通知公告设置已读请求
  20541. tags:
  20542. - 通用服务
  20543. /Common/QueryErrorInfos:
  20544. get:
  20545. description: 如果传入rowNumber,则返回此rowNumber后的数据
  20546. parameters:
  20547. - description: 起始行号前索引
  20548. in: query
  20549. name: rowNumber
  20550. type: string
  20551. produces:
  20552. - application/json
  20553. responses:
  20554. "200":
  20555. description: OK
  20556. schema:
  20557. $ref: '#/definitions/models.QueryErrorInfosRsp'
  20558. "500":
  20559. description: Internal Server Error
  20560. schema:
  20561. $ref: '#/definitions/app.Response'
  20562. summary: 获取数据库错误信息
  20563. tags:
  20564. - 通用服务
  20565. /Common/QueryImageConfigs:
  20566. get:
  20567. parameters:
  20568. - description: 用户id
  20569. in: query
  20570. name: userId
  20571. type: integer
  20572. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  20573. in: query
  20574. name: imageType
  20575. type: integer
  20576. produces:
  20577. - application/json
  20578. responses:
  20579. "200":
  20580. description: OK
  20581. schema:
  20582. $ref: '#/definitions/common.QueryImageConfigsRsp'
  20583. "500":
  20584. description: Internal Server Error
  20585. schema:
  20586. $ref: '#/definitions/app.Response'
  20587. summary: 查询轮播图配置信息
  20588. tags:
  20589. - 通用服务
  20590. /Common/QueryNotice:
  20591. get:
  20592. parameters:
  20593. - description: 页码
  20594. in: query
  20595. name: page
  20596. type: integer
  20597. - description: 每页条数
  20598. in: query
  20599. name: pagesize
  20600. type: integer
  20601. - description: 登录账号
  20602. in: query
  20603. name: loginID
  20604. required: true
  20605. type: integer
  20606. - description: 消息类型 - 1:公告通知 2:系统消息
  20607. in: query
  20608. name: msgType
  20609. type: integer
  20610. - description: 是否只获取未读信息
  20611. in: query
  20612. name: onlyUnRead
  20613. type: boolean
  20614. - description: 自增ID,传入后会返回这个ID后面的记录
  20615. in: query
  20616. name: lastID
  20617. type: integer
  20618. produces:
  20619. - application/json
  20620. responses:
  20621. "200":
  20622. description: OK
  20623. schema:
  20624. $ref: '#/definitions/common.QueryNoticeRsp'
  20625. "500":
  20626. description: Internal Server Error
  20627. schema:
  20628. $ref: '#/definitions/app.Response'
  20629. security:
  20630. - ApiKeyAuth: []
  20631. summary: 通知公告系统消息查询
  20632. tags:
  20633. - 通用服务
  20634. /Common/QueryProvincesAndCities:
  20635. get:
  20636. parameters:
  20637. - description: 省ID
  20638. in: query
  20639. name: provinceID
  20640. type: integer
  20641. produces:
  20642. - application/json
  20643. responses:
  20644. "200":
  20645. description: OK
  20646. schema:
  20647. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  20648. "500":
  20649. description: Internal Server Error
  20650. schema:
  20651. $ref: '#/definitions/app.Response'
  20652. summary: 查询省市信息(不包括区)
  20653. tags:
  20654. - 通用服务
  20655. /Common/QueryTableDefine:
  20656. get:
  20657. parameters:
  20658. - description: 表key
  20659. in: query
  20660. name: tableKey
  20661. type: string
  20662. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  20663. in: query
  20664. name: tableType
  20665. type: integer
  20666. produces:
  20667. - application/json
  20668. responses:
  20669. "200":
  20670. description: OK
  20671. schema:
  20672. $ref: '#/definitions/common.QueryTableDefineRsp'
  20673. "500":
  20674. description: Internal Server Error
  20675. schema:
  20676. $ref: '#/definitions/app.Response'
  20677. summary: 查询交易端列表头信息
  20678. tags:
  20679. - 通用服务
  20680. /Common/QueryTraderMenu:
  20681. get:
  20682. parameters:
  20683. - description: 登录账号
  20684. in: query
  20685. name: loginid
  20686. required: true
  20687. type: integer
  20688. produces:
  20689. - application/json
  20690. responses:
  20691. "200":
  20692. description: OK
  20693. schema:
  20694. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20695. "500":
  20696. description: Internal Server Error
  20697. schema:
  20698. $ref: '#/definitions/app.Response'
  20699. summary: 查询交易端菜单
  20700. tags:
  20701. - 通用服务
  20702. /Delivery/QueryDeliveryRelation:
  20703. get:
  20704. parameters:
  20705. - description: 商品ID
  20706. in: query
  20707. name: goodsid
  20708. type: integer
  20709. - description: 品种ID
  20710. in: query
  20711. name: deliverygoodsid
  20712. type: integer
  20713. - description: 市场ID
  20714. in: query
  20715. name: marketid
  20716. type: integer
  20717. produces:
  20718. - application/json
  20719. responses:
  20720. "200":
  20721. description: OK
  20722. schema:
  20723. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20724. "500":
  20725. description: Internal Server Error
  20726. schema:
  20727. $ref: '#/definitions/app.Response'
  20728. security:
  20729. - ApiKeyAuth: []
  20730. summary: 查询商品交割关系表
  20731. tags:
  20732. - 交割服务
  20733. /Ermcp/GetErmcpGoods:
  20734. get:
  20735. parameters:
  20736. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20737. in: query
  20738. name: userid
  20739. type: integer
  20740. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20741. in: query
  20742. name: lastUpdateTime
  20743. type: string
  20744. produces:
  20745. - application/json
  20746. responses:
  20747. "200":
  20748. description: OK
  20749. schema:
  20750. $ref: '#/definitions/models.ErmcpGoods'
  20751. "500":
  20752. description: Internal Server Error
  20753. schema:
  20754. $ref: '#/definitions/app.Response'
  20755. security:
  20756. - ApiKeyAuth: []
  20757. summary: 查询企业风管期货商品信息
  20758. tags:
  20759. - 企业风险管理(app)
  20760. /Ermcp/GetErmcpGoodsSortByPosition:
  20761. get:
  20762. parameters:
  20763. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20764. in: query
  20765. name: sortIndex
  20766. type: string
  20767. produces:
  20768. - application/json
  20769. responses:
  20770. "200":
  20771. description: OK
  20772. schema:
  20773. $ref: '#/definitions/models.Goodssortbypreposition'
  20774. "500":
  20775. description: Internal Server Error
  20776. schema:
  20777. $ref: '#/definitions/app.Response'
  20778. security:
  20779. - ApiKeyAuth: []
  20780. summary: 查询企业风管期货主力、次主力商品信息
  20781. tags:
  20782. - 企业风险管理(app)
  20783. /Ermcp/GetErmcpOutAccountStatus:
  20784. get:
  20785. parameters:
  20786. - description: 登录账号
  20787. in: query
  20788. name: loginID
  20789. required: true
  20790. type: integer
  20791. produces:
  20792. - application/json
  20793. responses:
  20794. "200":
  20795. description: OK
  20796. schema:
  20797. $ref: '#/definitions/models.Hedgemarketopenlog'
  20798. "500":
  20799. description: Internal Server Error
  20800. schema:
  20801. $ref: '#/definitions/app.Response'
  20802. security:
  20803. - ApiKeyAuth: []
  20804. summary: 获取目标登录账号当前对冲账号在线状态
  20805. tags:
  20806. - 企业风险管理(app)
  20807. /Ermcp/GetErmcpRoleFuncMenuLists:
  20808. get:
  20809. parameters:
  20810. - description: 登录账号
  20811. in: query
  20812. name: loginID
  20813. required: true
  20814. type: integer
  20815. produces:
  20816. - application/json
  20817. responses:
  20818. "200":
  20819. description: OK
  20820. schema:
  20821. $ref: '#/definitions/models.Funcmenulist'
  20822. "500":
  20823. description: Internal Server Error
  20824. schema:
  20825. $ref: '#/definitions/app.Response'
  20826. security:
  20827. - ApiKeyAuth: []
  20828. summary: 获取企业风管终端权限
  20829. tags:
  20830. - 企业风险管理(app)
  20831. /Ermcp/QueryAccMgrBizGroupSet:
  20832. get:
  20833. parameters:
  20834. - description: 用户ID
  20835. in: query
  20836. name: userid
  20837. required: true
  20838. type: integer
  20839. - description: 现货商品id
  20840. in: query
  20841. name: deliverygoodsid
  20842. type: integer
  20843. produces:
  20844. - application/json
  20845. responses:
  20846. "200":
  20847. description: OK
  20848. schema:
  20849. items:
  20850. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20851. type: array
  20852. "500":
  20853. description: Internal Server Error
  20854. schema:
  20855. $ref: '#/definitions/app.Response'
  20856. security:
  20857. - ApiKeyAuth: []
  20858. summary: 查询业务类型分组(账户管理/账户设置)
  20859. tags:
  20860. - 企业风险管理(app)
  20861. /Ermcp/QueryAccMgrLoginUser:
  20862. get:
  20863. parameters:
  20864. - description: 用户ID
  20865. in: query
  20866. name: userid
  20867. required: true
  20868. type: integer
  20869. - description: 用户类型 2-机构 7-企业成员
  20870. in: query
  20871. name: usertype
  20872. type: integer
  20873. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20874. in: query
  20875. name: querytype
  20876. required: true
  20877. type: integer
  20878. produces:
  20879. - application/json
  20880. responses:
  20881. "200":
  20882. description: OK
  20883. schema:
  20884. items:
  20885. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20886. type: array
  20887. "500":
  20888. description: Internal Server Error
  20889. schema:
  20890. $ref: '#/definitions/app.Response'
  20891. security:
  20892. - ApiKeyAuth: []
  20893. summary: 查询账户管理登录账号(账户管理/登录账号)
  20894. tags:
  20895. - 企业风险管理(app)
  20896. /Ermcp/QueryAccMgrMainAccountInfo:
  20897. get:
  20898. parameters:
  20899. - description: 用户ID
  20900. in: query
  20901. name: userid
  20902. type: integer
  20903. - description: 主账号id
  20904. in: query
  20905. name: accountid
  20906. type: integer
  20907. produces:
  20908. - application/json
  20909. responses:
  20910. "200":
  20911. description: OK
  20912. schema:
  20913. items:
  20914. $ref: '#/definitions/models.MainAccountInfo'
  20915. type: array
  20916. "500":
  20917. description: Internal Server Error
  20918. schema:
  20919. $ref: '#/definitions/app.Response'
  20920. security:
  20921. - ApiKeyAuth: []
  20922. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20923. tags:
  20924. - 企业风险管理(app)
  20925. /Ermcp/QueryAccMgrRole:
  20926. get:
  20927. parameters:
  20928. - description: 用户ID
  20929. in: query
  20930. name: userid
  20931. required: true
  20932. type: integer
  20933. produces:
  20934. - application/json
  20935. responses:
  20936. "200":
  20937. description: OK
  20938. schema:
  20939. items:
  20940. $ref: '#/definitions/models.ErmcpRole'
  20941. type: array
  20942. "500":
  20943. description: Internal Server Error
  20944. schema:
  20945. $ref: '#/definitions/app.Response'
  20946. security:
  20947. - ApiKeyAuth: []
  20948. summary: 查询账户管理角色设置(账户管理/角色设置)
  20949. tags:
  20950. - 企业风险管理(app)
  20951. /Ermcp/QueryAccMgrRoleMenu:
  20952. get:
  20953. parameters:
  20954. - description: 用户ID
  20955. in: query
  20956. name: userid
  20957. required: true
  20958. type: integer
  20959. - description: 角色id(可多个,逗号隔开)
  20960. in: query
  20961. name: roleid
  20962. type: string
  20963. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20964. in: query
  20965. name: menutype
  20966. type: integer
  20967. produces:
  20968. - application/json
  20969. responses:
  20970. "200":
  20971. description: OK
  20972. schema:
  20973. items:
  20974. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20975. type: array
  20976. "500":
  20977. description: Internal Server Error
  20978. schema:
  20979. $ref: '#/definitions/app.Response'
  20980. security:
  20981. - ApiKeyAuth: []
  20982. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20983. tags:
  20984. - 企业风险管理(app)
  20985. /Ermcp/QueryAccMgrTaAccountInfo:
  20986. get:
  20987. parameters:
  20988. - description: 用户ID
  20989. in: query
  20990. name: userid
  20991. required: true
  20992. type: integer
  20993. - description: 账号id
  20994. in: query
  20995. name: accountid
  20996. type: integer
  20997. produces:
  20998. - application/json
  20999. responses:
  21000. "200":
  21001. description: OK
  21002. schema:
  21003. items:
  21004. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  21005. type: array
  21006. "500":
  21007. description: Internal Server Error
  21008. schema:
  21009. $ref: '#/definitions/app.Response'
  21010. security:
  21011. - ApiKeyAuth: []
  21012. summary: 查询账户管理授信(账户管理/账户设置/授信)
  21013. tags:
  21014. - 企业风险管理(app)
  21015. /Ermcp/QueryAccMgrTaaccount:
  21016. get:
  21017. parameters:
  21018. - description: 用户ID
  21019. in: query
  21020. name: userid
  21021. required: true
  21022. type: integer
  21023. produces:
  21024. - application/json
  21025. responses:
  21026. "200":
  21027. description: OK
  21028. schema:
  21029. items:
  21030. $ref: '#/definitions/models.ErmcpTaAccountEx'
  21031. type: array
  21032. "500":
  21033. description: Internal Server Error
  21034. schema:
  21035. $ref: '#/definitions/app.Response'
  21036. security:
  21037. - ApiKeyAuth: []
  21038. summary: 查询账户管理期货账号(账户管理/期货账号)
  21039. tags:
  21040. - 企业风险管理(app)
  21041. /Ermcp/QueryAvaildGoodsGroup:
  21042. get:
  21043. parameters:
  21044. - description: 所属机构ID
  21045. in: query
  21046. name: userid
  21047. required: true
  21048. type: integer
  21049. produces:
  21050. - application/json
  21051. responses:
  21052. "200":
  21053. description: OK
  21054. schema:
  21055. items:
  21056. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  21057. type: array
  21058. "500":
  21059. description: Internal Server Error
  21060. schema:
  21061. $ref: '#/definitions/app.Response'
  21062. security:
  21063. - ApiKeyAuth: []
  21064. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  21065. tags:
  21066. - 企业风险管理(app)
  21067. /Ermcp/QueryBusinessDj:
  21068. get:
  21069. parameters:
  21070. - description: 用户ID
  21071. in: query
  21072. name: UserId
  21073. required: true
  21074. type: integer
  21075. - description: 用户类型 2-机构 7-企业成员
  21076. in: query
  21077. name: usertype
  21078. type: integer
  21079. - description: 现货合同ID, 不填则查所有
  21080. in: query
  21081. name: relatedid
  21082. type: string
  21083. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21084. in: query
  21085. name: applystatus
  21086. type: string
  21087. produces:
  21088. - application/json
  21089. responses:
  21090. "200":
  21091. description: OK
  21092. schema:
  21093. items:
  21094. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  21095. type: array
  21096. "500":
  21097. description: Internal Server Error
  21098. schema:
  21099. $ref: '#/definitions/app.Response'
  21100. security:
  21101. - ApiKeyAuth: []
  21102. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  21103. tags:
  21104. - 企业风险管理(app)
  21105. /Ermcp/QueryBusinessFp:
  21106. get:
  21107. parameters:
  21108. - description: 用户ID
  21109. in: query
  21110. name: UserId
  21111. required: true
  21112. type: integer
  21113. - description: 用户类型 2-机构 7-企业成员
  21114. in: query
  21115. name: usertype
  21116. type: integer
  21117. - description: 现货合同ID, 不填则查所有
  21118. in: query
  21119. name: relatedid
  21120. type: string
  21121. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21122. in: query
  21123. name: applystatus
  21124. type: string
  21125. produces:
  21126. - application/json
  21127. responses:
  21128. "200":
  21129. description: OK
  21130. schema:
  21131. items:
  21132. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  21133. type: array
  21134. "500":
  21135. description: Internal Server Error
  21136. schema:
  21137. $ref: '#/definitions/app.Response'
  21138. security:
  21139. - ApiKeyAuth: []
  21140. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  21141. tags:
  21142. - 企业风险管理(app)
  21143. /Ermcp/QueryBusinessJs:
  21144. get:
  21145. parameters:
  21146. - description: 用户ID
  21147. in: query
  21148. name: UserId
  21149. required: true
  21150. type: integer
  21151. - description: 用户类型 2-机构 7-企业成员
  21152. in: query
  21153. name: usertype
  21154. type: integer
  21155. - description: 现货合同ID, 不填则查所有
  21156. in: query
  21157. name: relatedid
  21158. type: string
  21159. - description: 操作申请id
  21160. in: query
  21161. name: operateapplyid
  21162. type: string
  21163. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21164. in: query
  21165. name: applystatus
  21166. type: string
  21167. produces:
  21168. - application/json
  21169. responses:
  21170. "200":
  21171. description: OK
  21172. schema:
  21173. items:
  21174. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  21175. type: array
  21176. "500":
  21177. description: Internal Server Error
  21178. schema:
  21179. $ref: '#/definitions/app.Response'
  21180. security:
  21181. - ApiKeyAuth: []
  21182. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  21183. tags:
  21184. - 企业风险管理(app)
  21185. /Ermcp/QueryBusinessJsEx:
  21186. get:
  21187. parameters:
  21188. - description: 用户ID
  21189. in: query
  21190. name: UserId
  21191. required: true
  21192. type: integer
  21193. - description: 用户类型 2-机构 7-企业成员
  21194. in: query
  21195. name: usertype
  21196. type: integer
  21197. - description: 现货合同ID, 不填则查所有
  21198. in: query
  21199. name: relatedid
  21200. type: string
  21201. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21202. in: query
  21203. name: applystatus
  21204. type: string
  21205. produces:
  21206. - application/json
  21207. responses:
  21208. "200":
  21209. description: OK
  21210. schema:
  21211. items:
  21212. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  21213. type: array
  21214. "500":
  21215. description: Internal Server Error
  21216. schema:
  21217. $ref: '#/definitions/app.Response'
  21218. security:
  21219. - ApiKeyAuth: []
  21220. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  21221. tags:
  21222. - 企业风险管理(app)
  21223. /Ermcp/QueryBusinessKx:
  21224. get:
  21225. parameters:
  21226. - description: 用户ID
  21227. in: query
  21228. name: UserId
  21229. required: true
  21230. type: integer
  21231. - description: 用户类型 2-机构 7-企业成员
  21232. in: query
  21233. name: usertype
  21234. type: integer
  21235. - description: 现货合同ID, 不填则查所有
  21236. in: query
  21237. name: relatedid
  21238. type: string
  21239. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21240. in: query
  21241. name: applystatus
  21242. type: string
  21243. produces:
  21244. - application/json
  21245. responses:
  21246. "200":
  21247. description: OK
  21248. schema:
  21249. items:
  21250. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  21251. type: array
  21252. "500":
  21253. description: Internal Server Error
  21254. schema:
  21255. $ref: '#/definitions/app.Response'
  21256. security:
  21257. - ApiKeyAuth: []
  21258. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  21259. tags:
  21260. - 企业风险管理(app)
  21261. /Ermcp/QueryChangeLog:
  21262. get:
  21263. parameters:
  21264. - description: 合同ID
  21265. in: query
  21266. name: RelatedId
  21267. required: true
  21268. type: string
  21269. produces:
  21270. - application/json
  21271. responses:
  21272. "200":
  21273. description: OK
  21274. schema:
  21275. items:
  21276. $ref: '#/definitions/ermcp.QryOPLogRsp'
  21277. type: array
  21278. "500":
  21279. description: Internal Server Error
  21280. schema:
  21281. $ref: '#/definitions/app.Response'
  21282. security:
  21283. - ApiKeyAuth: []
  21284. summary: 查询变更记录
  21285. tags:
  21286. - 企业风险管理(app)
  21287. /Ermcp/QueryErmcpHisOrderDetails:
  21288. get:
  21289. parameters:
  21290. - description: 资金账户ID
  21291. in: query
  21292. name: accountID
  21293. required: true
  21294. type: integer
  21295. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21296. in: query
  21297. name: startDate
  21298. type: string
  21299. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21300. in: query
  21301. name: endDate
  21302. type: string
  21303. produces:
  21304. - application/json
  21305. responses:
  21306. "200":
  21307. description: OK
  21308. schema:
  21309. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21310. "500":
  21311. description: Internal Server Error
  21312. schema:
  21313. $ref: '#/definitions/app.Response'
  21314. security:
  21315. - ApiKeyAuth: []
  21316. summary: 获取企业风管期货历史委托单信息
  21317. tags:
  21318. - 企业风险管理(app)
  21319. /Ermcp/QueryErmcpHisTradeDetails:
  21320. get:
  21321. parameters:
  21322. - description: 资金账户ID
  21323. in: query
  21324. name: accountID
  21325. required: true
  21326. type: integer
  21327. - description: 商品ID
  21328. in: query
  21329. name: goodsID
  21330. type: integer
  21331. - description: 买卖方向,0:买 1:卖
  21332. in: query
  21333. name: buyOrSell
  21334. type: integer
  21335. - description: 关联委托单号
  21336. in: query
  21337. name: orderID
  21338. type: integer
  21339. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21340. in: query
  21341. name: startDate
  21342. type: string
  21343. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21344. in: query
  21345. name: endDate
  21346. type: string
  21347. produces:
  21348. - application/json
  21349. responses:
  21350. "200":
  21351. description: OK
  21352. schema:
  21353. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21354. "500":
  21355. description: Internal Server Error
  21356. schema:
  21357. $ref: '#/definitions/app.Response'
  21358. security:
  21359. - ApiKeyAuth: []
  21360. summary: 获取企业风管期货历史成交单信息
  21361. tags:
  21362. - 企业风险管理(app)
  21363. /Ermcp/QueryErmcpInnerHolderDetails:
  21364. get:
  21365. parameters:
  21366. - description: 资金账户ID
  21367. in: query
  21368. name: accountID
  21369. required: true
  21370. type: integer
  21371. - description: 商品ID
  21372. in: query
  21373. name: goodsID
  21374. type: integer
  21375. - description: 买卖方向,0:买 1:卖
  21376. in: query
  21377. name: buyOrSell
  21378. type: integer
  21379. produces:
  21380. - application/json
  21381. responses:
  21382. "200":
  21383. description: OK
  21384. schema:
  21385. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  21386. "500":
  21387. description: Internal Server Error
  21388. schema:
  21389. $ref: '#/definitions/app.Response'
  21390. security:
  21391. - ApiKeyAuth: []
  21392. summary: 获取企业风管期货内部持仓单信息
  21393. tags:
  21394. - 企业风险管理(app)
  21395. /Ermcp/QueryErmcpOrderDetails:
  21396. get:
  21397. parameters:
  21398. - description: 资金账户ID
  21399. in: query
  21400. name: accountID
  21401. required: true
  21402. type: integer
  21403. produces:
  21404. - application/json
  21405. responses:
  21406. "200":
  21407. description: OK
  21408. schema:
  21409. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21410. "500":
  21411. description: Internal Server Error
  21412. schema:
  21413. $ref: '#/definitions/app.Response'
  21414. security:
  21415. - ApiKeyAuth: []
  21416. summary: 获取企业风管期货委托单信息
  21417. tags:
  21418. - 企业风险管理(app)
  21419. /Ermcp/QueryErmcpTradeDetails:
  21420. get:
  21421. parameters:
  21422. - description: 资金账户ID
  21423. in: query
  21424. name: accountID
  21425. required: true
  21426. type: integer
  21427. - description: 商品ID
  21428. in: query
  21429. name: goodsID
  21430. type: integer
  21431. - description: 买卖方向,0:买 1:卖
  21432. in: query
  21433. name: buyOrSell
  21434. type: integer
  21435. - description: 关联委托单号
  21436. in: query
  21437. name: orderID
  21438. type: integer
  21439. produces:
  21440. - application/json
  21441. responses:
  21442. "200":
  21443. description: OK
  21444. schema:
  21445. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21446. "500":
  21447. description: Internal Server Error
  21448. schema:
  21449. $ref: '#/definitions/app.Response'
  21450. security:
  21451. - ApiKeyAuth: []
  21452. summary: 获取企业风管期货成交单信息
  21453. tags:
  21454. - 企业风险管理(app)
  21455. /Ermcp/QueryErmcpTradePosition:
  21456. get:
  21457. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  21458. parameters:
  21459. - description: 资金账户ID
  21460. in: query
  21461. name: accountID
  21462. required: true
  21463. type: integer
  21464. - description: 所属市场ID
  21465. in: query
  21466. name: marketID
  21467. type: integer
  21468. produces:
  21469. - application/json
  21470. responses:
  21471. "200":
  21472. description: OK
  21473. schema:
  21474. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  21475. "500":
  21476. description: Internal Server Error
  21477. schema:
  21478. $ref: '#/definitions/app.Response'
  21479. security:
  21480. - ApiKeyAuth: []
  21481. summary: 获取企业风管期货持仓头寸信息
  21482. tags:
  21483. - 企业风险管理(app)
  21484. /Ermcp/QueryExposureDetail:
  21485. get:
  21486. parameters:
  21487. - description: 所属机构ID
  21488. in: query
  21489. name: areaUserId
  21490. required: true
  21491. type: integer
  21492. - description: 套保商品
  21493. in: query
  21494. name: middleGoodsId
  21495. required: true
  21496. type: integer
  21497. produces:
  21498. - application/json
  21499. responses:
  21500. "200":
  21501. description: OK
  21502. schema:
  21503. items:
  21504. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  21505. type: array
  21506. "500":
  21507. description: Internal Server Error
  21508. schema:
  21509. $ref: '#/definitions/app.Response'
  21510. security:
  21511. - ApiKeyAuth: []
  21512. summary: 查询敞口现货明细
  21513. tags:
  21514. - 企业风险管理(app)
  21515. /Ermcp/QueryExposureGoods:
  21516. get:
  21517. parameters:
  21518. - description: 套保商品id
  21519. in: query
  21520. name: middlegoodsid
  21521. required: true
  21522. type: integer
  21523. produces:
  21524. - application/json
  21525. responses:
  21526. "200":
  21527. description: OK
  21528. schema:
  21529. items:
  21530. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  21531. type: array
  21532. "500":
  21533. description: Internal Server Error
  21534. schema:
  21535. $ref: '#/definitions/app.Response'
  21536. security:
  21537. - ApiKeyAuth: []
  21538. summary: 查询敞口主力合约
  21539. tags:
  21540. - 企业风险管理(app)
  21541. /Ermcp/QueryExposureHedgePosition:
  21542. get:
  21543. parameters:
  21544. - description: 用户id
  21545. in: query
  21546. name: userid
  21547. required: true
  21548. type: integer
  21549. produces:
  21550. - application/json
  21551. responses:
  21552. "200":
  21553. description: OK
  21554. schema:
  21555. items:
  21556. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  21557. type: array
  21558. "500":
  21559. description: Internal Server Error
  21560. schema:
  21561. $ref: '#/definitions/app.Response'
  21562. security:
  21563. - ApiKeyAuth: []
  21564. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  21565. tags:
  21566. - 企业风险管理(app)
  21567. /Ermcp/QueryExposureHedgePositionDetail:
  21568. get:
  21569. parameters:
  21570. - description: 所属机构ID
  21571. in: query
  21572. name: userid
  21573. required: true
  21574. type: integer
  21575. - description: 商品id
  21576. in: query
  21577. name: goodsId
  21578. required: true
  21579. type: integer
  21580. produces:
  21581. - application/json
  21582. responses:
  21583. "200":
  21584. description: OK
  21585. schema:
  21586. items:
  21587. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  21588. type: array
  21589. "500":
  21590. description: Internal Server Error
  21591. schema:
  21592. $ref: '#/definitions/app.Response'
  21593. security:
  21594. - ApiKeyAuth: []
  21595. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  21596. tags:
  21597. - 企业风险管理(app)
  21598. /Ermcp/QueryExposureSpot:
  21599. get:
  21600. parameters:
  21601. - description: 所属机构ID
  21602. in: query
  21603. name: areaUserId
  21604. required: true
  21605. type: integer
  21606. produces:
  21607. - application/json
  21608. responses:
  21609. "200":
  21610. description: OK
  21611. schema:
  21612. items:
  21613. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  21614. type: array
  21615. "500":
  21616. description: Internal Server Error
  21617. schema:
  21618. $ref: '#/definitions/app.Response'
  21619. security:
  21620. - ApiKeyAuth: []
  21621. summary: 查询敞口现货头寸(敞口/现货头寸)
  21622. tags:
  21623. - 企业风险管理(app)
  21624. /Ermcp/QueryExposureSpotDetail:
  21625. get:
  21626. parameters:
  21627. - description: 所属机构ID
  21628. in: query
  21629. name: areaUserId
  21630. required: true
  21631. type: integer
  21632. - description: 现货品种ID
  21633. in: query
  21634. name: wrstandardId
  21635. required: true
  21636. type: integer
  21637. produces:
  21638. - application/json
  21639. responses:
  21640. "200":
  21641. description: OK
  21642. schema:
  21643. items:
  21644. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  21645. type: array
  21646. "500":
  21647. description: Internal Server Error
  21648. schema:
  21649. $ref: '#/definitions/app.Response'
  21650. security:
  21651. - ApiKeyAuth: []
  21652. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21653. tags:
  21654. - 企业风险管理(app)
  21655. /Ermcp/QueryFuturesCompany:
  21656. get:
  21657. produces:
  21658. - application/json
  21659. responses:
  21660. "200":
  21661. description: OK
  21662. schema:
  21663. items:
  21664. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21665. type: array
  21666. "500":
  21667. description: Internal Server Error
  21668. schema:
  21669. $ref: '#/definitions/app.Response'
  21670. security:
  21671. - ApiKeyAuth: []
  21672. summary: 查询期货公司
  21673. tags:
  21674. - 企业风险管理(app)
  21675. /Ermcp/QueryGGConvertConfig:
  21676. get:
  21677. parameters:
  21678. - description: 品种id(不填则查所有)
  21679. in: query
  21680. name: goodsgroupid
  21681. type: integer
  21682. produces:
  21683. - application/json
  21684. responses:
  21685. "200":
  21686. description: OK
  21687. schema:
  21688. items:
  21689. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21690. type: array
  21691. "500":
  21692. description: Internal Server Error
  21693. schema:
  21694. $ref: '#/definitions/app.Response'
  21695. security:
  21696. - ApiKeyAuth: []
  21697. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21698. tags:
  21699. - 企业风险管理(app)
  21700. /Ermcp/QueryGoodsBrand:
  21701. get:
  21702. parameters:
  21703. - description: 用户ID
  21704. in: query
  21705. name: userid
  21706. required: true
  21707. type: integer
  21708. - description: 现货商品ID
  21709. in: query
  21710. name: wrstandardid
  21711. type: integer
  21712. produces:
  21713. - application/json
  21714. responses:
  21715. "200":
  21716. description: OK
  21717. schema:
  21718. items:
  21719. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21720. type: array
  21721. "500":
  21722. description: Internal Server Error
  21723. schema:
  21724. $ref: '#/definitions/app.Response'
  21725. security:
  21726. - ApiKeyAuth: []
  21727. summary: 查询商品品牌
  21728. tags:
  21729. - 企业风险管理(app)
  21730. /Ermcp/QueryGoodsModel:
  21731. get:
  21732. parameters:
  21733. - description: 用户ID
  21734. in: query
  21735. name: userid
  21736. required: true
  21737. type: integer
  21738. produces:
  21739. - application/json
  21740. responses:
  21741. "200":
  21742. description: OK
  21743. schema:
  21744. items:
  21745. $ref: '#/definitions/models.ErmcpGoodsModel'
  21746. type: array
  21747. "500":
  21748. description: Internal Server Error
  21749. schema:
  21750. $ref: '#/definitions/app.Response'
  21751. security:
  21752. - ApiKeyAuth: []
  21753. summary: 查询商品型号
  21754. tags:
  21755. - 企业风险管理(app)
  21756. /Ermcp/QueryHisExposure:
  21757. get:
  21758. parameters:
  21759. - description: 用户id
  21760. in: query
  21761. name: userid
  21762. required: true
  21763. type: integer
  21764. - description: 每个品种记录数
  21765. in: query
  21766. name: lastNum
  21767. required: true
  21768. type: integer
  21769. produces:
  21770. - application/json
  21771. responses:
  21772. "200":
  21773. description: OK
  21774. schema:
  21775. items:
  21776. $ref: '#/definitions/ermcp.HisExposureRsp'
  21777. type: array
  21778. "500":
  21779. description: Internal Server Error
  21780. schema:
  21781. $ref: '#/definitions/app.Response'
  21782. security:
  21783. - ApiKeyAuth: []
  21784. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21785. tags:
  21786. - 企业风险管理(app)
  21787. /Ermcp/QueryMiddleGoods:
  21788. get:
  21789. parameters:
  21790. - description: 所属机构ID
  21791. in: query
  21792. name: userid
  21793. required: true
  21794. type: integer
  21795. - description: 状态 0-停用 1-正常
  21796. in: query
  21797. name: status
  21798. required: true
  21799. type: integer
  21800. produces:
  21801. - application/json
  21802. responses:
  21803. "200":
  21804. description: OK
  21805. schema:
  21806. items:
  21807. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21808. type: array
  21809. "500":
  21810. description: Internal Server Error
  21811. schema:
  21812. $ref: '#/definitions/app.Response'
  21813. security:
  21814. - ApiKeyAuth: []
  21815. summary: 查询套保品种(菜单:套保品种)
  21816. tags:
  21817. - 企业风险管理(app)
  21818. /Ermcp/QueryMiddleGoodsChangeLog:
  21819. get:
  21820. parameters:
  21821. - description: 所属机构ID
  21822. in: query
  21823. name: userid
  21824. required: true
  21825. type: integer
  21826. - description: 套保品种id
  21827. in: query
  21828. name: middlegoodsid
  21829. required: true
  21830. type: integer
  21831. produces:
  21832. - application/json
  21833. responses:
  21834. "200":
  21835. description: OK
  21836. schema:
  21837. items:
  21838. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21839. type: array
  21840. "500":
  21841. description: Internal Server Error
  21842. schema:
  21843. $ref: '#/definitions/app.Response'
  21844. security:
  21845. - ApiKeyAuth: []
  21846. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21847. tags:
  21848. - 企业风险管理(app)
  21849. /Ermcp/QueryMiddleGoodsDetail:
  21850. get:
  21851. parameters:
  21852. - description: 所属机构ID
  21853. in: query
  21854. name: userid
  21855. required: true
  21856. type: integer
  21857. - description: 套保品种id
  21858. in: query
  21859. name: middlegoodsid
  21860. type: integer
  21861. produces:
  21862. - application/json
  21863. responses:
  21864. "200":
  21865. description: OK
  21866. schema:
  21867. items:
  21868. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21869. type: array
  21870. "500":
  21871. description: Internal Server Error
  21872. schema:
  21873. $ref: '#/definitions/app.Response'
  21874. security:
  21875. - ApiKeyAuth: []
  21876. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21877. tags:
  21878. - 企业风险管理(app)
  21879. /Ermcp/QueryPendingAuditInfo:
  21880. get:
  21881. parameters:
  21882. - description: 用户ID
  21883. in: query
  21884. name: UserId
  21885. required: true
  21886. type: integer
  21887. produces:
  21888. - application/json
  21889. responses:
  21890. "200":
  21891. description: OK
  21892. schema:
  21893. items:
  21894. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21895. type: array
  21896. "500":
  21897. description: Internal Server Error
  21898. schema:
  21899. $ref: '#/definitions/app.Response'
  21900. security:
  21901. - ApiKeyAuth: []
  21902. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21903. tags:
  21904. - 企业风险管理(app)
  21905. /Ermcp/QueryRealtimeExposure:
  21906. get:
  21907. parameters:
  21908. - description: 所属机构ID
  21909. in: query
  21910. name: userid
  21911. required: true
  21912. type: integer
  21913. produces:
  21914. - application/json
  21915. responses:
  21916. "200":
  21917. description: OK
  21918. schema:
  21919. items:
  21920. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21921. type: array
  21922. "500":
  21923. description: Internal Server Error
  21924. schema:
  21925. $ref: '#/definitions/app.Response'
  21926. security:
  21927. - ApiKeyAuth: []
  21928. summary: 查询实时敞口
  21929. tags:
  21930. - 企业风险管理(app)
  21931. /Ermcp/QueryRealtimeExposurePosition:
  21932. get:
  21933. parameters:
  21934. - description: 用户id
  21935. in: query
  21936. name: userid
  21937. required: true
  21938. type: integer
  21939. - description: 套保商品ID
  21940. in: query
  21941. name: middleGoodsId
  21942. required: true
  21943. type: integer
  21944. produces:
  21945. - application/json
  21946. responses:
  21947. "200":
  21948. description: OK
  21949. schema:
  21950. items:
  21951. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21952. type: array
  21953. "500":
  21954. description: Internal Server Error
  21955. schema:
  21956. $ref: '#/definitions/app.Response'
  21957. security:
  21958. - ApiKeyAuth: []
  21959. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21960. tags:
  21961. - 企业风险管理(app)
  21962. /Ermcp/QueryRoleMenu:
  21963. get:
  21964. parameters:
  21965. - description: 登录ID
  21966. in: query
  21967. name: loginid
  21968. required: true
  21969. type: integer
  21970. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21971. in: query
  21972. name: menutype
  21973. type: integer
  21974. produces:
  21975. - application/json
  21976. responses:
  21977. "200":
  21978. description: OK
  21979. schema:
  21980. items:
  21981. $ref: '#/definitions/models.RoleMenu'
  21982. type: array
  21983. "500":
  21984. description: Internal Server Error
  21985. schema:
  21986. $ref: '#/definitions/app.Response'
  21987. security:
  21988. - ApiKeyAuth: []
  21989. summary: 查询角色菜单和权限
  21990. tags:
  21991. - 企业风险管理(app)
  21992. /Ermcp/QueryTradeConfigTMP:
  21993. get:
  21994. parameters:
  21995. - description: 所属机构id
  21996. in: query
  21997. name: areauserid
  21998. type: integer
  21999. produces:
  22000. - application/json
  22001. responses:
  22002. "200":
  22003. description: OK
  22004. schema:
  22005. items:
  22006. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  22007. type: array
  22008. "500":
  22009. description: Internal Server Error
  22010. schema:
  22011. $ref: '#/definitions/app.Response'
  22012. security:
  22013. - ApiKeyAuth: []
  22014. summary: 查询交易模板配置
  22015. tags:
  22016. - 企业风险管理(app)
  22017. /Ermcp/QueryUserInfo:
  22018. get:
  22019. parameters:
  22020. - description: 所属机构用户ID
  22021. in: query
  22022. name: MemberUserID
  22023. required: true
  22024. type: integer
  22025. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  22026. in: query
  22027. name: queryType
  22028. required: true
  22029. type: integer
  22030. produces:
  22031. - application/json
  22032. responses:
  22033. "200":
  22034. description: OK
  22035. schema:
  22036. items:
  22037. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  22038. type: array
  22039. "500":
  22040. description: Internal Server Error
  22041. schema:
  22042. $ref: '#/definitions/app.Response'
  22043. security:
  22044. - ApiKeyAuth: []
  22045. summary: 查询客户资料
  22046. tags:
  22047. - 企业风险管理(app)
  22048. /Ermcp/QueryWarehouseInfo:
  22049. get:
  22050. parameters:
  22051. - description: 用户ID
  22052. in: query
  22053. name: userid
  22054. required: true
  22055. type: integer
  22056. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  22057. in: query
  22058. name: status
  22059. type: string
  22060. produces:
  22061. - application/json
  22062. responses:
  22063. "200":
  22064. description: OK
  22065. schema:
  22066. items:
  22067. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  22068. type: array
  22069. "500":
  22070. description: Internal Server Error
  22071. schema:
  22072. $ref: '#/definitions/app.Response'
  22073. security:
  22074. - ApiKeyAuth: []
  22075. summary: 查询仓库信息
  22076. tags:
  22077. - 企业风险管理(app)
  22078. /Ermcp3/QryAreaExpourseContractDetail:
  22079. get:
  22080. parameters:
  22081. - description: 用户ID
  22082. in: query
  22083. name: userid
  22084. required: true
  22085. type: integer
  22086. - description: 套保商品id
  22087. in: query
  22088. name: middlegoodsid
  22089. required: true
  22090. type: integer
  22091. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22092. in: query
  22093. name: cycletype
  22094. required: true
  22095. type: integer
  22096. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22097. 全(0)【原值】
  22098. in: query
  22099. name: cycletime
  22100. required: true
  22101. type: string
  22102. produces:
  22103. - application/json
  22104. responses:
  22105. "200":
  22106. description: OK
  22107. schema:
  22108. items:
  22109. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  22110. type: array
  22111. "500":
  22112. description: Internal Server Error
  22113. schema:
  22114. $ref: '#/definitions/app.Response'
  22115. security:
  22116. - ApiKeyAuth: []
  22117. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  22118. tags:
  22119. - 企业风险管理v3(app)
  22120. /Ermcp3/QryAreaExpourseFutuDetail:
  22121. get:
  22122. parameters:
  22123. - description: 用户ID
  22124. in: query
  22125. name: userid
  22126. required: true
  22127. type: integer
  22128. - description: 套保商品id
  22129. in: query
  22130. name: middlegoodsid
  22131. required: true
  22132. type: integer
  22133. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22134. in: query
  22135. name: cycletype
  22136. required: true
  22137. type: integer
  22138. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22139. 全(0)【原值】
  22140. in: query
  22141. name: cycletime
  22142. required: true
  22143. type: string
  22144. produces:
  22145. - application/json
  22146. responses:
  22147. "200":
  22148. description: OK
  22149. schema:
  22150. items:
  22151. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  22152. type: array
  22153. "500":
  22154. description: Internal Server Error
  22155. schema:
  22156. $ref: '#/definitions/app.Response'
  22157. security:
  22158. - ApiKeyAuth: []
  22159. summary: 查询敞口期货明细(敞口报表/期货明细)
  22160. tags:
  22161. - 企业风险管理v3(app)
  22162. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  22163. get:
  22164. parameters:
  22165. - description: 用户ID
  22166. in: query
  22167. name: userid
  22168. required: true
  22169. type: integer
  22170. - description: 套保商品id
  22171. in: query
  22172. name: middlegoodsid
  22173. required: true
  22174. type: integer
  22175. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22176. in: query
  22177. name: cycletype
  22178. required: true
  22179. type: integer
  22180. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22181. 全(0)【原值】
  22182. in: query
  22183. name: cycletime
  22184. required: true
  22185. type: string
  22186. produces:
  22187. - application/json
  22188. responses:
  22189. "200":
  22190. description: OK
  22191. schema:
  22192. items:
  22193. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  22194. type: array
  22195. "500":
  22196. description: Internal Server Error
  22197. schema:
  22198. $ref: '#/definitions/app.Response'
  22199. security:
  22200. - ApiKeyAuth: []
  22201. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  22202. tags:
  22203. - 企业风险管理v3(app)
  22204. /Ermcp3/QryAreaExpourseParamChLogDetail:
  22205. get:
  22206. parameters:
  22207. - description: 用户ID
  22208. in: query
  22209. name: userid
  22210. required: true
  22211. type: integer
  22212. - description: 套保商品id
  22213. in: query
  22214. name: middlegoodsid
  22215. required: true
  22216. type: integer
  22217. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22218. in: query
  22219. name: cycletype
  22220. required: true
  22221. type: integer
  22222. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22223. 全(0)【原值】
  22224. in: query
  22225. name: cycletime
  22226. required: true
  22227. type: string
  22228. produces:
  22229. - application/json
  22230. responses:
  22231. "200":
  22232. description: OK
  22233. schema:
  22234. items:
  22235. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  22236. type: array
  22237. "500":
  22238. description: Internal Server Error
  22239. schema:
  22240. $ref: '#/definitions/app.Response'
  22241. security:
  22242. - ApiKeyAuth: []
  22243. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  22244. tags:
  22245. - 企业风险管理v3(app)
  22246. /Ermcp3/QryAreaExpourseReport:
  22247. get:
  22248. parameters:
  22249. - description: 用户ID
  22250. in: query
  22251. name: userid
  22252. required: true
  22253. type: integer
  22254. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  22255. in: query
  22256. name: querytype
  22257. required: true
  22258. type: integer
  22259. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22260. in: query
  22261. name: cycletype
  22262. required: true
  22263. type: integer
  22264. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22265. 全(0)【原值】
  22266. in: query
  22267. name: cycletime
  22268. required: true
  22269. type: string
  22270. produces:
  22271. - application/json
  22272. responses:
  22273. "200":
  22274. description: OK
  22275. schema:
  22276. items:
  22277. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  22278. type: array
  22279. "500":
  22280. description: Internal Server Error
  22281. schema:
  22282. $ref: '#/definitions/app.Response'
  22283. security:
  22284. - ApiKeyAuth: []
  22285. summary: 查询敞口报表
  22286. tags:
  22287. - 企业风险管理v3(app)
  22288. /Ermcp3/QryAreaSpotplReport:
  22289. get:
  22290. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  22291. parameters:
  22292. - description: 用户ID
  22293. in: query
  22294. name: userid
  22295. required: true
  22296. type: integer
  22297. - description: 查询类型 1-报表 2-报表明细
  22298. in: query
  22299. name: querytype
  22300. required: true
  22301. type: integer
  22302. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22303. in: query
  22304. name: cycletype
  22305. required: true
  22306. type: integer
  22307. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22308. 全(0)【原值】
  22309. in: query
  22310. name: cycletime
  22311. required: true
  22312. type: string
  22313. - description: 现货品种id(明细必填)
  22314. in: query
  22315. name: deliverygoodsid
  22316. type: integer
  22317. - description: 币种id(明细必填)
  22318. in: query
  22319. name: currencyid
  22320. type: integer
  22321. - description: 日/周/月报表汇总维度 1:品种+品类
  22322. in: query
  22323. name: sumflag
  22324. type: integer
  22325. produces:
  22326. - application/json
  22327. responses:
  22328. "200":
  22329. description: OK
  22330. schema:
  22331. items:
  22332. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  22333. type: array
  22334. "500":
  22335. description: Internal Server Error
  22336. schema:
  22337. $ref: '#/definitions/app.Response'
  22338. security:
  22339. - ApiKeyAuth: []
  22340. summary: 查询现货报表
  22341. tags:
  22342. - 企业风险管理v3(app)
  22343. /Ermcp3/QryAreaStockReport:
  22344. get:
  22345. parameters:
  22346. - description: 用户ID
  22347. in: query
  22348. name: userid
  22349. required: true
  22350. type: integer
  22351. - description: 查询类型 1-报表 2-报表明细
  22352. in: query
  22353. name: querytype
  22354. required: true
  22355. type: integer
  22356. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22357. in: query
  22358. name: cycletype
  22359. required: true
  22360. type: integer
  22361. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22362. 全(0)【原值】
  22363. in: query
  22364. name: cycletime
  22365. required: true
  22366. type: string
  22367. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  22368. in: query
  22369. name: sumfields
  22370. type: string
  22371. - description: 品种ID
  22372. in: query
  22373. name: deliverygoodsid
  22374. type: integer
  22375. - description: 品类ID
  22376. in: query
  22377. name: wrstandardid
  22378. type: integer
  22379. - description: 品牌ID
  22380. in: query
  22381. name: spotgoodsbrandid
  22382. type: integer
  22383. - description: 仓库ID
  22384. in: query
  22385. name: warehouseinfoid
  22386. type: integer
  22387. produces:
  22388. - application/json
  22389. responses:
  22390. "200":
  22391. description: OK
  22392. schema:
  22393. items:
  22394. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  22395. type: array
  22396. "500":
  22397. description: Internal Server Error
  22398. schema:
  22399. $ref: '#/definitions/app.Response'
  22400. security:
  22401. - ApiKeyAuth: []
  22402. summary: 查询库存报表
  22403. tags:
  22404. - 企业风险管理v3(app)
  22405. /Ermcp3/QryAreaSumPL:
  22406. get:
  22407. parameters:
  22408. - description: 用户ID
  22409. in: query
  22410. name: userid
  22411. required: true
  22412. type: integer
  22413. - description: 查询类型 1-报表 2-报表明细
  22414. in: query
  22415. name: querytype
  22416. required: true
  22417. type: integer
  22418. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22419. in: query
  22420. name: cycletype
  22421. required: true
  22422. type: integer
  22423. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22424. 全(0)【原值】
  22425. in: query
  22426. name: cycletime
  22427. required: true
  22428. type: string
  22429. - description: 币种id(明细必填)
  22430. in: query
  22431. name: currencyid
  22432. type: integer
  22433. produces:
  22434. - application/json
  22435. responses:
  22436. "200":
  22437. description: OK
  22438. schema:
  22439. items:
  22440. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  22441. type: array
  22442. "500":
  22443. description: Internal Server Error
  22444. schema:
  22445. $ref: '#/definitions/app.Response'
  22446. security:
  22447. - ApiKeyAuth: []
  22448. summary: 查询汇总损益表
  22449. tags:
  22450. - 企业风险管理v3(app)
  22451. /Ermcp3/QryFinanceReport:
  22452. get:
  22453. parameters:
  22454. - description: 用户ID
  22455. in: query
  22456. name: userid
  22457. required: true
  22458. type: integer
  22459. - description: 查询类型 1-报表 2-报表明细
  22460. in: query
  22461. name: querytype
  22462. required: true
  22463. type: integer
  22464. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22465. in: query
  22466. name: cycletype
  22467. required: true
  22468. type: integer
  22469. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22470. 全(0)【原值】
  22471. in: query
  22472. name: cycletime
  22473. required: true
  22474. type: string
  22475. - description: 币种id(报表明细必填)
  22476. in: query
  22477. name: currencyid
  22478. type: integer
  22479. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22480. in: query
  22481. name: sumfields
  22482. type: string
  22483. produces:
  22484. - application/json
  22485. responses:
  22486. "200":
  22487. description: OK
  22488. schema:
  22489. items:
  22490. $ref: '#/definitions/models.Ermcp3FinanceReport'
  22491. type: array
  22492. "500":
  22493. description: Internal Server Error
  22494. schema:
  22495. $ref: '#/definitions/app.Response'
  22496. security:
  22497. - ApiKeyAuth: []
  22498. summary: 查询财务报表
  22499. tags:
  22500. - 企业风险管理v3(app)
  22501. /Ermcp3/QrySCMiddleGoodsReport:
  22502. get:
  22503. parameters:
  22504. - description: 用户ID
  22505. in: query
  22506. name: userid
  22507. required: true
  22508. type: integer
  22509. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22510. in: query
  22511. name: cycletype
  22512. required: true
  22513. type: integer
  22514. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22515. 全(0)【原值】
  22516. in: query
  22517. name: cycletime
  22518. required: true
  22519. type: string
  22520. - description: 合同id
  22521. in: query
  22522. name: spotcontractid
  22523. type: integer
  22524. - description: 套保品种id
  22525. in: query
  22526. name: middlegoodsid
  22527. type: integer
  22528. - description: 现货品种id
  22529. in: query
  22530. name: deliverygoodsid
  22531. type: integer
  22532. - description: 现货商品id
  22533. in: query
  22534. name: wrstandardid
  22535. type: integer
  22536. - description: 合同编号(模糊匹配)
  22537. in: query
  22538. name: contractno
  22539. type: string
  22540. produces:
  22541. - application/json
  22542. responses:
  22543. "200":
  22544. description: OK
  22545. schema:
  22546. items:
  22547. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  22548. type: array
  22549. "500":
  22550. description: Internal Server Error
  22551. schema:
  22552. $ref: '#/definitions/app.Response'
  22553. security:
  22554. - ApiKeyAuth: []
  22555. summary: 查询定价报表
  22556. tags:
  22557. - 企业风险管理v3(app)
  22558. /Ermcp3/QryTaFutureDataReport:
  22559. get:
  22560. parameters:
  22561. - description: 用户ID
  22562. in: query
  22563. name: userid
  22564. required: true
  22565. type: integer
  22566. - description: 查询类型 1-报表 2-报表明细
  22567. in: query
  22568. name: querytype
  22569. required: true
  22570. type: integer
  22571. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22572. in: query
  22573. name: cycletype
  22574. required: true
  22575. type: integer
  22576. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22577. 全(0)【原值】
  22578. in: query
  22579. name: cycletime
  22580. required: true
  22581. type: string
  22582. - description: 币种id(查明细必填)
  22583. in: query
  22584. name: currencyid
  22585. type: integer
  22586. - description: 品种id(查明细必填)
  22587. in: query
  22588. name: goodsgroupid
  22589. type: integer
  22590. - description: 商品id(查明细必填)
  22591. in: query
  22592. name: goodsid
  22593. type: integer
  22594. - description: 买卖方向(查明细必填)
  22595. in: query
  22596. name: buyorsell
  22597. type: integer
  22598. produces:
  22599. - application/json
  22600. responses:
  22601. "200":
  22602. description: OK
  22603. schema:
  22604. items:
  22605. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  22606. type: array
  22607. "500":
  22608. description: Internal Server Error
  22609. schema:
  22610. $ref: '#/definitions/app.Response'
  22611. security:
  22612. - ApiKeyAuth: []
  22613. summary: 查询期货报表
  22614. tags:
  22615. - 企业风险管理v3(app)
  22616. /Ermcp3/QueryAreaStock:
  22617. get:
  22618. parameters:
  22619. - description: 用户ID
  22620. in: query
  22621. name: userid
  22622. required: true
  22623. type: integer
  22624. produces:
  22625. - application/json
  22626. responses:
  22627. "200":
  22628. description: OK
  22629. schema:
  22630. items:
  22631. $ref: '#/definitions/models.Ermcp3AreaStock'
  22632. type: array
  22633. "500":
  22634. description: Internal Server Error
  22635. schema:
  22636. $ref: '#/definitions/app.Response'
  22637. security:
  22638. - ApiKeyAuth: []
  22639. summary: 查询机构库存(库存管理/当前库存)
  22640. tags:
  22641. - 企业风险管理v3(app)
  22642. /Ermcp3/QueryAreaStockApply:
  22643. get:
  22644. parameters:
  22645. - description: 用户ID
  22646. in: query
  22647. name: userid
  22648. required: true
  22649. type: integer
  22650. - description: 用户类型 2-机构 7-企业成员
  22651. in: query
  22652. name: usertype
  22653. type: integer
  22654. - description: 现货商品ID
  22655. in: query
  22656. name: deliverygoodsid
  22657. type: integer
  22658. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  22659. in: query
  22660. name: inouttype
  22661. type: string
  22662. - description: 合同ID
  22663. in: query
  22664. name: spotcontractid
  22665. type: integer
  22666. - description: 品类ID
  22667. in: query
  22668. name: wrstandardid
  22669. type: integer
  22670. - description: 品牌ID
  22671. in: query
  22672. name: spotgoodsbrandid
  22673. type: integer
  22674. - description: 仓库ID
  22675. in: query
  22676. name: warehouseinfoid
  22677. type: integer
  22678. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22679. in: query
  22680. name: applystatus
  22681. type: string
  22682. produces:
  22683. - application/json
  22684. responses:
  22685. "200":
  22686. description: OK
  22687. schema:
  22688. items:
  22689. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22690. type: array
  22691. "500":
  22692. description: Internal Server Error
  22693. schema:
  22694. $ref: '#/definitions/app.Response'
  22695. security:
  22696. - ApiKeyAuth: []
  22697. summary: 查询库存申请(出入库记录|库存审核)
  22698. tags:
  22699. - 企业风险管理v3(app)
  22700. /Ermcp3/QueryAreaStockApplySum:
  22701. get:
  22702. parameters:
  22703. - description: 合同ID
  22704. in: query
  22705. name: spotcontractid
  22706. required: true
  22707. type: integer
  22708. produces:
  22709. - application/json
  22710. responses:
  22711. "200":
  22712. description: OK
  22713. schema:
  22714. items:
  22715. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22716. type: array
  22717. "500":
  22718. description: Internal Server Error
  22719. schema:
  22720. $ref: '#/definitions/app.Response'
  22721. security:
  22722. - ApiKeyAuth: []
  22723. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22724. tags:
  22725. - 企业风险管理v3(app)
  22726. /Ermcp3/QueryDGFactoryItem:
  22727. get:
  22728. parameters:
  22729. - description: 用户id
  22730. in: query
  22731. name: userid
  22732. type: integer
  22733. - description: 用户类型 2-机构 7-企业成员
  22734. in: query
  22735. name: usertype
  22736. type: integer
  22737. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22738. in: query
  22739. name: dgfactoryitemid
  22740. type: integer
  22741. - description: 现货品种ID
  22742. in: query
  22743. name: deliverygoodsid
  22744. type: integer
  22745. - description: 要素项类型
  22746. in: query
  22747. name: dgfactoryitemtypeid
  22748. type: integer
  22749. - description: 顺序
  22750. in: query
  22751. name: orderindex
  22752. type: integer
  22753. produces:
  22754. - application/json
  22755. responses:
  22756. "200":
  22757. description: OK
  22758. schema:
  22759. items:
  22760. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22761. type: array
  22762. "500":
  22763. description: Internal Server Error
  22764. schema:
  22765. $ref: '#/definitions/app.Response'
  22766. security:
  22767. - ApiKeyAuth: []
  22768. summary: 查询品种要素定义项
  22769. tags:
  22770. - 企业风险管理v3(app)
  22771. /Ermcp3/QueryDeliveryGoods:
  22772. get:
  22773. parameters:
  22774. - description: 用户id
  22775. in: query
  22776. name: userid
  22777. required: true
  22778. type: integer
  22779. - description: 用户类型 2-机构 7-企业成员
  22780. in: query
  22781. name: usertype
  22782. type: integer
  22783. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22784. in: query
  22785. name: excludecfg
  22786. type: integer
  22787. produces:
  22788. - application/json
  22789. responses:
  22790. "200":
  22791. description: OK
  22792. schema:
  22793. items:
  22794. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22795. type: array
  22796. "500":
  22797. description: Internal Server Error
  22798. schema:
  22799. $ref: '#/definitions/app.Response'
  22800. security:
  22801. - ApiKeyAuth: []
  22802. summary: 查询现货商品
  22803. tags:
  22804. - 企业风险管理v3(app)
  22805. /Ermcp3/QueryDeliveryGoodsDetail:
  22806. get:
  22807. parameters:
  22808. - description: 用户id
  22809. in: query
  22810. name: userid
  22811. required: true
  22812. type: integer
  22813. - description: 用户类型 2-机构 7-企业成员
  22814. in: query
  22815. name: usertype
  22816. type: integer
  22817. - description: 现货商品id
  22818. in: query
  22819. name: deliverygoodsid
  22820. type: integer
  22821. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22822. in: query
  22823. name: filtersubempty
  22824. type: integer
  22825. produces:
  22826. - application/json
  22827. responses:
  22828. "200":
  22829. description: OK
  22830. schema:
  22831. items:
  22832. $ref: '#/definitions/models.XHDeliveryGoods'
  22833. type: array
  22834. "500":
  22835. description: Internal Server Error
  22836. schema:
  22837. $ref: '#/definitions/app.Response'
  22838. security:
  22839. - ApiKeyAuth: []
  22840. summary: 查询现货商品详情
  22841. tags:
  22842. - 企业风险管理v3(app)
  22843. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  22844. get:
  22845. parameters:
  22846. - description: 合同id
  22847. in: query
  22848. name: spotcontractid
  22849. required: true
  22850. type: string
  22851. produces:
  22852. - application/json
  22853. responses:
  22854. "200":
  22855. description: OK
  22856. schema:
  22857. items:
  22858. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  22859. type: array
  22860. "500":
  22861. description: Internal Server Error
  22862. schema:
  22863. $ref: '#/definitions/app.Response'
  22864. security:
  22865. - ApiKeyAuth: []
  22866. summary: 查询现货合同期现配置信息
  22867. tags:
  22868. - 企业风险管理v3(app)
  22869. /Ermcp3/QueryExposureDetail:
  22870. get:
  22871. parameters:
  22872. - description: 用户id
  22873. in: query
  22874. name: userid
  22875. required: true
  22876. type: integer
  22877. - description: 用户类型 2-机构 7-企业成员
  22878. in: query
  22879. name: usertype
  22880. type: integer
  22881. - description: 套保商品
  22882. in: query
  22883. name: middlegoodsid
  22884. required: true
  22885. type: integer
  22886. produces:
  22887. - application/json
  22888. responses:
  22889. "200":
  22890. description: OK
  22891. schema:
  22892. items:
  22893. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22894. type: array
  22895. "500":
  22896. description: Internal Server Error
  22897. schema:
  22898. $ref: '#/definitions/app.Response'
  22899. security:
  22900. - ApiKeyAuth: []
  22901. summary: 查询敞口现货明细
  22902. tags:
  22903. - 企业风险管理v3(app)
  22904. /Ermcp3/QueryExposureSpot:
  22905. get:
  22906. parameters:
  22907. - description: 用户id
  22908. in: query
  22909. name: userid
  22910. required: true
  22911. type: integer
  22912. - description: 用户类型 2-机构 7-企业成员
  22913. in: query
  22914. name: usertype
  22915. type: integer
  22916. produces:
  22917. - application/json
  22918. responses:
  22919. "200":
  22920. description: OK
  22921. schema:
  22922. items:
  22923. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22924. type: array
  22925. "500":
  22926. description: Internal Server Error
  22927. schema:
  22928. $ref: '#/definitions/app.Response'
  22929. security:
  22930. - ApiKeyAuth: []
  22931. summary: 查询敞口现货头寸(敞口/现货头寸)
  22932. tags:
  22933. - 企业风险管理v3(app)
  22934. /Ermcp3/QueryExposureSpotDetail:
  22935. get:
  22936. parameters:
  22937. - description: 用户id
  22938. in: query
  22939. name: userid
  22940. required: true
  22941. type: integer
  22942. - description: 用户类型 2-机构 7-企业成员
  22943. in: query
  22944. name: usertype
  22945. type: integer
  22946. - description: 现货商品ID
  22947. in: query
  22948. name: wrstandardid
  22949. required: true
  22950. type: integer
  22951. produces:
  22952. - application/json
  22953. responses:
  22954. "200":
  22955. description: OK
  22956. schema:
  22957. items:
  22958. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22959. type: array
  22960. "500":
  22961. description: Internal Server Error
  22962. schema:
  22963. $ref: '#/definitions/app.Response'
  22964. security:
  22965. - ApiKeyAuth: []
  22966. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22967. tags:
  22968. - 企业风险管理v3(app)
  22969. /Ermcp3/QueryGoodsGroup:
  22970. get:
  22971. parameters:
  22972. - description: 用户id
  22973. in: query
  22974. name: userid
  22975. required: true
  22976. type: integer
  22977. - description: 用户类型 2-机构 7-企业成员
  22978. in: query
  22979. name: usertype
  22980. type: integer
  22981. - description: 排除套保品中已关联的商品组 1-排除
  22982. in: query
  22983. name: excludecfg
  22984. type: integer
  22985. produces:
  22986. - application/json
  22987. responses:
  22988. "200":
  22989. description: OK
  22990. schema:
  22991. items:
  22992. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22993. type: array
  22994. "500":
  22995. description: Internal Server Error
  22996. schema:
  22997. $ref: '#/definitions/app.Response'
  22998. security:
  22999. - ApiKeyAuth: []
  23000. summary: 查询期货商品组
  23001. tags:
  23002. - 企业风险管理v3(app)
  23003. /Ermcp3/QueryGoodsWrstandard:
  23004. get:
  23005. parameters:
  23006. - description: 用户id
  23007. in: query
  23008. name: userid
  23009. required: true
  23010. type: integer
  23011. - description: 用户类型 2-机构 7-企业成员
  23012. in: query
  23013. name: usertype
  23014. type: integer
  23015. - description: 现货商品id
  23016. in: query
  23017. name: deliverygoodsid
  23018. type: integer
  23019. produces:
  23020. - application/json
  23021. responses:
  23022. "200":
  23023. description: OK
  23024. schema:
  23025. items:
  23026. $ref: '#/definitions/models.Ermcp3Wrstandard'
  23027. type: array
  23028. "500":
  23029. description: Internal Server Error
  23030. schema:
  23031. $ref: '#/definitions/app.Response'
  23032. security:
  23033. - ApiKeyAuth: []
  23034. summary: 查询商品品类
  23035. tags:
  23036. - 企业风险管理v3(app)
  23037. /Ermcp3/QueryGoodsbrand:
  23038. get:
  23039. parameters:
  23040. - description: 用户id
  23041. in: query
  23042. name: userid
  23043. required: true
  23044. type: integer
  23045. - description: 用户类型 2-机构 7-企业成员
  23046. in: query
  23047. name: usertype
  23048. type: integer
  23049. produces:
  23050. - application/json
  23051. responses:
  23052. "200":
  23053. description: OK
  23054. schema:
  23055. items:
  23056. $ref: '#/definitions/models.Ermcp3Brand'
  23057. type: array
  23058. "500":
  23059. description: Internal Server Error
  23060. schema:
  23061. $ref: '#/definitions/app.Response'
  23062. security:
  23063. - ApiKeyAuth: []
  23064. summary: 查询商品品牌
  23065. tags:
  23066. - 企业风险管理v3(app)
  23067. /Ermcp3/QueryHPMiddleGoods:
  23068. get:
  23069. parameters:
  23070. - description: 用户ID(填登录用户的userid)
  23071. in: query
  23072. name: userid
  23073. required: true
  23074. type: integer
  23075. - description: 买卖方向 0-买 1-卖
  23076. in: query
  23077. name: buyorsell
  23078. required: true
  23079. type: integer
  23080. - description: 商品组id
  23081. in: query
  23082. name: goodsgroupid
  23083. required: true
  23084. type: integer
  23085. - description: 套保计划编号(模糊匹配)
  23086. in: query
  23087. name: hedgeplanno
  23088. type: string
  23089. - description: 现货商品名称(模糊匹配)
  23090. in: query
  23091. name: wrstandardname
  23092. type: string
  23093. produces:
  23094. - application/json
  23095. responses:
  23096. "200":
  23097. description: OK
  23098. schema:
  23099. items:
  23100. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  23101. type: array
  23102. "500":
  23103. description: Internal Server Error
  23104. schema:
  23105. $ref: '#/definitions/app.Response'
  23106. security:
  23107. - ApiKeyAuth: []
  23108. summary: 查询可关联套保计划
  23109. tags:
  23110. - 企业风险管理v3(app)
  23111. /Ermcp3/QueryHedgePlan:
  23112. get:
  23113. parameters:
  23114. - description: 用户ID
  23115. in: query
  23116. name: userid
  23117. required: true
  23118. type: integer
  23119. - description: 用户类型 2-机构 7-企业成员
  23120. in: query
  23121. name: usertype
  23122. type: integer
  23123. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23124. in: query
  23125. name: hedgeplanstatus
  23126. required: true
  23127. type: string
  23128. produces:
  23129. - application/json
  23130. responses:
  23131. "200":
  23132. description: OK
  23133. schema:
  23134. items:
  23135. $ref: '#/definitions/models.Ermcp3HedgePlan'
  23136. type: array
  23137. "500":
  23138. description: Internal Server Error
  23139. schema:
  23140. $ref: '#/definitions/app.Response'
  23141. security:
  23142. - ApiKeyAuth: []
  23143. summary: 查询套保计划
  23144. tags:
  23145. - 企业风险管理v3(app)
  23146. /Ermcp3/QueryInnerTradeLink:
  23147. get:
  23148. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  23149. parameters:
  23150. - description: 外部成交单号
  23151. in: query
  23152. name: outtradeid
  23153. required: true
  23154. type: integer
  23155. produces:
  23156. - application/json
  23157. responses:
  23158. "200":
  23159. description: OK
  23160. schema:
  23161. items:
  23162. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  23163. type: array
  23164. "500":
  23165. description: Internal Server Error
  23166. schema:
  23167. $ref: '#/definitions/app.Response'
  23168. security:
  23169. - ApiKeyAuth: []
  23170. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  23171. tags:
  23172. - 企业风险管理v3(app)
  23173. /Ermcp3/QueryMiddleGoodsDetail:
  23174. get:
  23175. parameters:
  23176. - description: 用户id
  23177. in: query
  23178. name: userid
  23179. required: true
  23180. type: integer
  23181. - description: 用户类型 2-机构 7-企业成员
  23182. in: query
  23183. name: usertype
  23184. type: integer
  23185. - description: 套保品种id
  23186. in: query
  23187. name: middlegoodsid
  23188. type: integer
  23189. produces:
  23190. - application/json
  23191. responses:
  23192. "200":
  23193. description: OK
  23194. schema:
  23195. items:
  23196. $ref: '#/definitions/models.TBMiddleGoods'
  23197. type: array
  23198. "500":
  23199. description: Internal Server Error
  23200. schema:
  23201. $ref: '#/definitions/app.Response'
  23202. security:
  23203. - ApiKeyAuth: []
  23204. summary: 查询套保品种详情(套保品种/商品详情)
  23205. tags:
  23206. - 企业风险管理v3(app)
  23207. /Ermcp3/QueryOutTradeLink:
  23208. get:
  23209. description: 页面 app 现货->期现关联->外部成交单关联
  23210. parameters:
  23211. - description: 用户ID(填登录用户的userid)
  23212. in: query
  23213. name: userid
  23214. required: true
  23215. type: integer
  23216. - description: 外部订单号(模糊匹配)
  23217. in: query
  23218. name: outtradeid
  23219. type: string
  23220. - description: 合约名称/代码(模糊匹配)
  23221. in: query
  23222. name: goodsname
  23223. type: string
  23224. - description: 关联状态 0-未关联 1-已关联
  23225. in: query
  23226. name: hasinnerorder
  23227. type: integer
  23228. produces:
  23229. - application/json
  23230. responses:
  23231. "200":
  23232. description: OK
  23233. schema:
  23234. items:
  23235. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  23236. type: array
  23237. "500":
  23238. description: Internal Server Error
  23239. schema:
  23240. $ref: '#/definitions/app.Response'
  23241. security:
  23242. - ApiKeyAuth: []
  23243. summary: 查询外部成交单关联
  23244. tags:
  23245. - 企业风险管理v3(app)
  23246. /Ermcp3/QueryPaAreaAuditCfg:
  23247. get:
  23248. parameters:
  23249. - description: 用户id
  23250. in: query
  23251. name: userid
  23252. required: true
  23253. type: integer
  23254. produces:
  23255. - application/json
  23256. responses:
  23257. "200":
  23258. description: OK
  23259. schema:
  23260. items:
  23261. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  23262. type: array
  23263. "500":
  23264. description: Internal Server Error
  23265. schema:
  23266. $ref: '#/definitions/app.Response'
  23267. security:
  23268. - ApiKeyAuth: []
  23269. summary: 查询审核设置
  23270. tags:
  23271. - 企业风险管理v3(app)
  23272. /Ermcp3/QueryPaAreaSubject:
  23273. get:
  23274. parameters:
  23275. - description: 用户id
  23276. in: query
  23277. name: userid
  23278. required: true
  23279. type: integer
  23280. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  23281. in: query
  23282. name: subjectid
  23283. type: integer
  23284. - description: 主体类型 - 1:交易主体 2:业务部门
  23285. in: query
  23286. name: subjecttype
  23287. type: integer
  23288. - description: '主体状态 - 1:正常 2: 停用'
  23289. in: query
  23290. name: subjectstatus
  23291. type: integer
  23292. produces:
  23293. - application/json
  23294. responses:
  23295. "200":
  23296. description: OK
  23297. schema:
  23298. items:
  23299. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  23300. type: array
  23301. "500":
  23302. description: Internal Server Error
  23303. schema:
  23304. $ref: '#/definitions/app.Response'
  23305. security:
  23306. - ApiKeyAuth: []
  23307. summary: 查询交易主体
  23308. tags:
  23309. - 企业风险管理v3(app)
  23310. /Ermcp3/QueryPaTradeLink:
  23311. get:
  23312. description: 页面 app 现货->期现关联->期现单据关联
  23313. parameters:
  23314. - description: 用户ID
  23315. in: query
  23316. name: userid
  23317. required: true
  23318. type: integer
  23319. produces:
  23320. - application/json
  23321. responses:
  23322. "200":
  23323. description: OK
  23324. schema:
  23325. items:
  23326. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  23327. type: array
  23328. "500":
  23329. description: Internal Server Error
  23330. schema:
  23331. $ref: '#/definitions/app.Response'
  23332. security:
  23333. - ApiKeyAuth: []
  23334. summary: 查询期现单据关联
  23335. tags:
  23336. - 企业风险管理v3(app)
  23337. /Ermcp3/QueryPaTradeLinkDetail:
  23338. get:
  23339. description: 页面 app 现货->期现关联->关联记录
  23340. parameters:
  23341. - description: 用户ID(填登录用户的userid)
  23342. in: query
  23343. name: userid
  23344. required: true
  23345. type: integer
  23346. - description: 关联状态 1:成功 2:失败 3:解绑
  23347. in: query
  23348. name: linkstatus
  23349. type: integer
  23350. - description: 期货订单号(模糊匹配)
  23351. in: query
  23352. name: tradeid
  23353. type: string
  23354. - description: 现货编号(模糊匹配)
  23355. in: query
  23356. name: contractno
  23357. type: string
  23358. - description: 期货账户(模糊匹配)
  23359. in: query
  23360. name: taname
  23361. type: string
  23362. produces:
  23363. - application/json
  23364. responses:
  23365. "200":
  23366. description: OK
  23367. schema:
  23368. items:
  23369. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  23370. type: array
  23371. "500":
  23372. description: Internal Server Error
  23373. schema:
  23374. $ref: '#/definitions/app.Response'
  23375. security:
  23376. - ApiKeyAuth: []
  23377. summary: 查询期现关联记录
  23378. tags:
  23379. - 企业风险管理v3(app)
  23380. /Ermcp3/QueryParamChangeApp:
  23381. get:
  23382. description: |-
  23383. 原型页面:
  23384. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  23385. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  23386. parameters:
  23387. - description: 用户ID
  23388. in: query
  23389. name: userid
  23390. required: true
  23391. type: integer
  23392. - description: 现货品种id
  23393. in: query
  23394. name: deliverygoodsid
  23395. type: integer
  23396. - description: 现货商品id
  23397. in: query
  23398. name: wrstandardid
  23399. type: integer
  23400. - description: 套保商品id
  23401. in: query
  23402. name: middlegoodsid
  23403. type: integer
  23404. - description: 操作类型 1:新增 2:修改
  23405. in: query
  23406. name: operatetype
  23407. type: integer
  23408. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  23409. in: query
  23410. name: paramchangetype
  23411. type: integer
  23412. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23413. in: query
  23414. name: ftstatus
  23415. type: string
  23416. produces:
  23417. - application/json
  23418. responses:
  23419. "200":
  23420. description: OK
  23421. schema:
  23422. items:
  23423. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  23424. type: array
  23425. "500":
  23426. description: Internal Server Error
  23427. schema:
  23428. $ref: '#/definitions/app.Response'
  23429. security:
  23430. - ApiKeyAuth: []
  23431. summary: 查询现货商品参数变更申请(流水)
  23432. tags:
  23433. - 企业风险管理v3(app)
  23434. /Ermcp3/QueryRootUserAccount:
  23435. get:
  23436. parameters:
  23437. - description: 用户ID
  23438. in: query
  23439. name: userid
  23440. required: true
  23441. type: integer
  23442. produces:
  23443. - application/json
  23444. responses:
  23445. "200":
  23446. description: OK
  23447. schema:
  23448. items:
  23449. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  23450. type: array
  23451. "500":
  23452. description: Internal Server Error
  23453. schema:
  23454. $ref: '#/definitions/app.Response'
  23455. security:
  23456. - ApiKeyAuth: []
  23457. summary: 查询顶级用户信息
  23458. tags:
  23459. - 企业风险管理v3(app)
  23460. /Ermcp3/QuerySCMiddleGoods:
  23461. get:
  23462. description: |-
  23463. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  23464. 现货编号 即 合同编号
  23465. parameters:
  23466. - description: 用户ID(填登录用户的userid)
  23467. in: query
  23468. name: userid
  23469. required: true
  23470. type: integer
  23471. - description: 买卖方向 0-买 1-卖
  23472. in: query
  23473. name: buyorsell
  23474. required: true
  23475. type: integer
  23476. - description: 商品组id
  23477. in: query
  23478. name: goodsgroupid
  23479. required: true
  23480. type: integer
  23481. - description: 业务类型 1:套保 2:套利
  23482. in: query
  23483. name: biztype
  23484. type: integer
  23485. - description: 现货编号(模糊匹配)
  23486. in: query
  23487. name: contractno
  23488. type: string
  23489. - description: 对手方(模糊匹配)
  23490. in: query
  23491. name: customername
  23492. type: string
  23493. - description: 现货商品名称(模糊匹配)
  23494. in: query
  23495. name: wrstandardname
  23496. type: string
  23497. produces:
  23498. - application/json
  23499. responses:
  23500. "200":
  23501. description: OK
  23502. schema:
  23503. items:
  23504. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  23505. type: array
  23506. "500":
  23507. description: Internal Server Error
  23508. schema:
  23509. $ref: '#/definitions/app.Response'
  23510. security:
  23511. - ApiKeyAuth: []
  23512. summary: 查询现货订单
  23513. tags:
  23514. - 企业风险管理v3(app)
  23515. /Ermcp3/QuerySpotContract:
  23516. get:
  23517. parameters:
  23518. - description: 用户id(当指定contractid, userid可不填)
  23519. in: query
  23520. name: userid
  23521. required: true
  23522. type: integer
  23523. - description: 用户类型 2-机构 7-企业成员
  23524. in: query
  23525. name: usertype
  23526. type: integer
  23527. - description: 合同类型 1-采购, -1-销售
  23528. in: query
  23529. name: contracttype
  23530. type: integer
  23531. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  23532. in: query
  23533. name: querytype
  23534. type: string
  23535. - description: 合同ID(SpotContractId)
  23536. in: query
  23537. name: contractid
  23538. type: string
  23539. - description: 合同编号(模糊匹配)
  23540. in: query
  23541. name: contractno
  23542. type: string
  23543. - description: 商品名称(模糊匹配)
  23544. in: query
  23545. name: wrstandardname
  23546. type: string
  23547. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23548. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23549. in: query
  23550. name: status
  23551. type: string
  23552. - description: 是否只查今日的合同 1-查今日合同
  23553. in: query
  23554. name: istoday
  23555. type: integer
  23556. produces:
  23557. - application/json
  23558. responses:
  23559. "200":
  23560. description: OK
  23561. schema:
  23562. items:
  23563. $ref: '#/definitions/models.Ermcp3Contract'
  23564. type: array
  23565. "500":
  23566. description: Internal Server Error
  23567. schema:
  23568. $ref: '#/definitions/app.Response'
  23569. security:
  23570. - ApiKeyAuth: []
  23571. summary: 查询现货合同
  23572. tags:
  23573. - 企业风险管理v3(app)
  23574. /Ermcp3/QuerySpotContractBS:
  23575. get:
  23576. parameters:
  23577. - description: 用户id
  23578. in: query
  23579. name: userid
  23580. required: true
  23581. type: integer
  23582. - description: 用户类型 2-机构 7-企业成员
  23583. in: query
  23584. name: usertype
  23585. type: integer
  23586. - description: 合同类型 1-采购, -1-销售
  23587. in: query
  23588. name: contracttype
  23589. required: true
  23590. type: integer
  23591. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  23592. in: query
  23593. name: querytype
  23594. type: integer
  23595. - description: 合同ID(SpotContractId)
  23596. in: query
  23597. name: contractid
  23598. type: string
  23599. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23600. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23601. in: query
  23602. name: status
  23603. type: string
  23604. - description: 是否只查今日的合同 1-查今日合同
  23605. in: query
  23606. name: istoday
  23607. type: integer
  23608. produces:
  23609. - application/json
  23610. responses:
  23611. "200":
  23612. description: OK
  23613. schema:
  23614. items:
  23615. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  23616. type: array
  23617. "500":
  23618. description: Internal Server Error
  23619. schema:
  23620. $ref: '#/definitions/app.Response'
  23621. security:
  23622. - ApiKeyAuth: []
  23623. summary: 查询合同(采购/销售)
  23624. tags:
  23625. - 企业风险管理v3(app)
  23626. /Ermcp3/QuerySpotGoodsPrice:
  23627. get:
  23628. parameters:
  23629. - description: 用户ID
  23630. in: query
  23631. name: userid
  23632. required: true
  23633. type: integer
  23634. produces:
  23635. - application/json
  23636. responses:
  23637. "200":
  23638. description: OK
  23639. schema:
  23640. items:
  23641. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  23642. type: array
  23643. "500":
  23644. description: Internal Server Error
  23645. schema:
  23646. $ref: '#/definitions/app.Response'
  23647. security:
  23648. - ApiKeyAuth: []
  23649. summary: 查询现货市价(现货市价)
  23650. tags:
  23651. - 企业风险管理v3(app)
  23652. /Ermcp3/QuerySpotGoodsPriceLog:
  23653. get:
  23654. parameters:
  23655. - description: 用户ID
  23656. in: query
  23657. name: userid
  23658. required: true
  23659. type: integer
  23660. - description: 现货商品ID
  23661. in: query
  23662. name: deliverygoodsid
  23663. required: true
  23664. type: integer
  23665. - description: 品牌ID
  23666. in: query
  23667. name: brandid
  23668. type: integer
  23669. - description: 品类ID
  23670. in: query
  23671. name: wrstandardid
  23672. type: integer
  23673. produces:
  23674. - application/json
  23675. responses:
  23676. "200":
  23677. description: OK
  23678. schema:
  23679. items:
  23680. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23681. type: array
  23682. "500":
  23683. description: Internal Server Error
  23684. schema:
  23685. $ref: '#/definitions/app.Response'
  23686. security:
  23687. - ApiKeyAuth: []
  23688. summary: 查询现货市价详情(现货市价/详情)
  23689. tags:
  23690. - 企业风险管理v3(app)
  23691. /Ermcp3/QuerySubTaaccount:
  23692. get:
  23693. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23694. parameters:
  23695. - description: 母账号id
  23696. in: query
  23697. name: parentaccountid
  23698. type: integer
  23699. - description: 母账号代码
  23700. in: query
  23701. name: parentaccountcode
  23702. type: string
  23703. produces:
  23704. - application/json
  23705. responses:
  23706. "200":
  23707. description: OK
  23708. schema:
  23709. items:
  23710. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23711. type: array
  23712. "500":
  23713. description: Internal Server Error
  23714. schema:
  23715. $ref: '#/definitions/app.Response'
  23716. security:
  23717. - ApiKeyAuth: []
  23718. summary: 查询期货子账户
  23719. tags:
  23720. - 企业风险管理v3(app)
  23721. /Ermcp8/QueryErmcp2HedgedItem:
  23722. get:
  23723. description: '已完成项目查询: 项目状态 = 3:正常完结 or 5:异常完结'
  23724. parameters:
  23725. - description: 用户ID
  23726. in: query
  23727. name: userid
  23728. required: true
  23729. type: string
  23730. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  23731. in: query
  23732. name: HedgedType
  23733. type: integer
  23734. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23735. in: query
  23736. name: HedgedItemStatus
  23737. type: integer
  23738. produces:
  23739. - application/json
  23740. responses:
  23741. "200":
  23742. description: OK
  23743. schema:
  23744. items:
  23745. $ref: '#/definitions/models.Ermcp2hedgeditem'
  23746. type: array
  23747. "500":
  23748. description: Internal Server Error
  23749. schema:
  23750. $ref: '#/definitions/app.Response'
  23751. security:
  23752. - ApiKeyAuth: []
  23753. summary: 查询被套期项目信息
  23754. tags:
  23755. - 企业风险管理v8
  23756. /Erms2/QueryArbitrageStrategy:
  23757. get:
  23758. parameters:
  23759. - description: 账户ID
  23760. in: query
  23761. name: userid
  23762. required: true
  23763. type: integer
  23764. - description: 商品组ID(品种ID)
  23765. in: query
  23766. name: goodsgroupid
  23767. type: string
  23768. produces:
  23769. - application/json
  23770. responses:
  23771. "200":
  23772. description: OK
  23773. schema:
  23774. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23775. "500":
  23776. description: Internal Server Error
  23777. schema:
  23778. $ref: '#/definitions/app.Response'
  23779. security:
  23780. - ApiKeyAuth: []
  23781. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23782. tags:
  23783. - 风险管理
  23784. /Erms2/QueryInnerTradeDetail:
  23785. get:
  23786. parameters:
  23787. - description: 资金账户
  23788. in: query
  23789. name: accountid
  23790. required: true
  23791. type: integer
  23792. produces:
  23793. - application/json
  23794. responses:
  23795. "200":
  23796. description: OK
  23797. schema:
  23798. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23799. "500":
  23800. description: Internal Server Error
  23801. schema:
  23802. $ref: '#/definitions/app.Response'
  23803. security:
  23804. - ApiKeyAuth: []
  23805. summary: 查询内部成交单信息
  23806. tags:
  23807. - 风险管理
  23808. /Erms2/QuerySpotContract:
  23809. get:
  23810. parameters:
  23811. - description: 策略申请ID
  23812. in: query
  23813. name: asapplyid
  23814. required: true
  23815. type: integer
  23816. - description: 现货合同ID
  23817. in: query
  23818. name: spotcontractid
  23819. type: integer
  23820. produces:
  23821. - application/json
  23822. responses:
  23823. "200":
  23824. description: OK
  23825. schema:
  23826. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23827. "500":
  23828. description: Internal Server Error
  23829. schema:
  23830. $ref: '#/definitions/app.Response'
  23831. security:
  23832. - ApiKeyAuth: []
  23833. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23834. tags:
  23835. - 风险管理
  23836. /Erms3/AddErms2ASApply:
  23837. post:
  23838. parameters:
  23839. - description: 申请参数
  23840. in: body
  23841. name: jsonBody
  23842. required: true
  23843. schema:
  23844. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23845. produces:
  23846. - application/json
  23847. responses:
  23848. "200":
  23849. description: OK
  23850. schema:
  23851. $ref: '#/definitions/app.Response'
  23852. "500":
  23853. description: Internal Server Error
  23854. schema:
  23855. $ref: '#/definitions/app.Response'
  23856. security:
  23857. - ApiKeyAuth: []
  23858. summary: 新增期现套利业务申请
  23859. tags:
  23860. - 风险管理v3
  23861. /Erms3/AddErms2SpotTradeApply:
  23862. post:
  23863. parameters:
  23864. - description: 申请参数
  23865. in: body
  23866. name: jsonBody
  23867. required: true
  23868. schema:
  23869. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23870. produces:
  23871. - application/json
  23872. responses:
  23873. "200":
  23874. description: OK
  23875. schema:
  23876. $ref: '#/definitions/app.Response'
  23877. "500":
  23878. description: Internal Server Error
  23879. schema:
  23880. $ref: '#/definitions/app.Response'
  23881. security:
  23882. - ApiKeyAuth: []
  23883. summary: 新增现货贸易业务申请
  23884. tags:
  23885. - 风险管理v3
  23886. /Erms3/AddSpotContractApply:
  23887. post:
  23888. parameters:
  23889. - description: 申请参数
  23890. in: body
  23891. name: jsonBody
  23892. required: true
  23893. schema:
  23894. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23895. produces:
  23896. - application/json
  23897. responses:
  23898. "200":
  23899. description: OK
  23900. schema:
  23901. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23902. "500":
  23903. description: Internal Server Error
  23904. schema:
  23905. $ref: '#/definitions/app.Response'
  23906. security:
  23907. - ApiKeyAuth: []
  23908. summary: 新增现货合同申请
  23909. tags:
  23910. - 风险管理v3
  23911. /Erms3/AddUserInfoApply:
  23912. post:
  23913. parameters:
  23914. - description: 用户信息
  23915. in: body
  23916. name: jsonBody
  23917. required: true
  23918. schema:
  23919. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23920. produces:
  23921. - application/json
  23922. responses:
  23923. "200":
  23924. description: OK
  23925. schema:
  23926. $ref: '#/definitions/app.Response'
  23927. "500":
  23928. description: Internal Server Error
  23929. schema:
  23930. $ref: '#/definitions/app.Response'
  23931. security:
  23932. - ApiKeyAuth: []
  23933. summary: 新增客户申请
  23934. tags:
  23935. - 风险管理v3
  23936. /Erms3/DeleteUserInfoApply:
  23937. get:
  23938. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23939. parameters:
  23940. - description: 用户ID
  23941. in: query
  23942. name: userID
  23943. required: true
  23944. type: integer
  23945. produces:
  23946. - application/json
  23947. responses:
  23948. "200":
  23949. description: OK
  23950. schema:
  23951. $ref: '#/definitions/app.Response'
  23952. "500":
  23953. description: Internal Server Error
  23954. schema:
  23955. $ref: '#/definitions/app.Response'
  23956. security:
  23957. - ApiKeyAuth: []
  23958. summary: 删除客户申请
  23959. tags:
  23960. - 风险管理v3
  23961. /Erms3/ModifyUserInfoApply:
  23962. post:
  23963. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23964. int, "userstate": 2 }'
  23965. parameters:
  23966. - description: 用户信息
  23967. in: body
  23968. name: jsonBody
  23969. required: true
  23970. schema:
  23971. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23972. produces:
  23973. - application/json
  23974. responses:
  23975. "200":
  23976. description: OK
  23977. schema:
  23978. $ref: '#/definitions/app.Response'
  23979. "500":
  23980. description: Internal Server Error
  23981. schema:
  23982. $ref: '#/definitions/app.Response'
  23983. security:
  23984. - ApiKeyAuth: []
  23985. summary: 修改客户申请
  23986. tags:
  23987. - 风险管理v3
  23988. /Erms3/QueryBusinessInfo:
  23989. get:
  23990. parameters:
  23991. - description: 资金账号ID列表,用逗号分隔
  23992. in: query
  23993. name: accountids
  23994. required: true
  23995. type: string
  23996. - description: 状态,0为未结束 1为已结束
  23997. in: query
  23998. name: status
  23999. required: true
  24000. type: integer
  24001. produces:
  24002. - application/json
  24003. responses:
  24004. "200":
  24005. description: OK
  24006. schema:
  24007. items:
  24008. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  24009. type: array
  24010. "500":
  24011. description: Internal Server Error
  24012. schema:
  24013. $ref: '#/definitions/app.Response'
  24014. security:
  24015. - ApiKeyAuth: []
  24016. summary: 查询业务表单数据
  24017. tags:
  24018. - 风险管理v3
  24019. /Erms3/QueryPendingAuditContract:
  24020. get:
  24021. parameters:
  24022. - description: 资金账号ID列表,逗号隔开
  24023. in: query
  24024. name: accountids
  24025. required: true
  24026. type: string
  24027. - description: 合同类型 1-采购 -1-销售
  24028. in: query
  24029. name: contracttype
  24030. required: true
  24031. type: integer
  24032. - description: 合同模式 1-普通 2-回购
  24033. in: query
  24034. name: contractmode
  24035. required: true
  24036. type: integer
  24037. produces:
  24038. - application/json
  24039. responses:
  24040. "200":
  24041. description: OK
  24042. schema:
  24043. items:
  24044. $ref: '#/definitions/erms3.QryAuditContractRsp'
  24045. type: array
  24046. "500":
  24047. description: Internal Server Error
  24048. schema:
  24049. $ref: '#/definitions/app.Response'
  24050. security:
  24051. - ApiKeyAuth: []
  24052. summary: 查询待审核合同
  24053. tags:
  24054. - 风险管理v3
  24055. /Erms3/QueryPendingBusiness:
  24056. get:
  24057. parameters:
  24058. - description: 资金账号ID列表,逗号隔开
  24059. in: query
  24060. name: accountids
  24061. required: true
  24062. type: string
  24063. produces:
  24064. - application/json
  24065. responses:
  24066. "200":
  24067. description: OK
  24068. schema:
  24069. items:
  24070. $ref: '#/definitions/erms3.QryPendingBizRsp'
  24071. type: array
  24072. "500":
  24073. description: Internal Server Error
  24074. schema:
  24075. $ref: '#/definitions/app.Response'
  24076. security:
  24077. - ApiKeyAuth: []
  24078. summary: 查询待审核基差贸易业务
  24079. tags:
  24080. - 风险管理v3
  24081. /Erms3/QuerySpotContractAppleForm:
  24082. get:
  24083. parameters:
  24084. - description: 登录账号
  24085. in: query
  24086. name: loginID
  24087. required: true
  24088. type: integer
  24089. produces:
  24090. - application/json
  24091. responses:
  24092. "200":
  24093. description: OK
  24094. schema:
  24095. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  24096. "500":
  24097. description: Internal Server Error
  24098. schema:
  24099. $ref: '#/definitions/app.Response'
  24100. security:
  24101. - ApiKeyAuth: []
  24102. summary: 查询合同申请表单数据
  24103. tags:
  24104. - 风险管理v3
  24105. /Erms3/QuerySpotContractDetail:
  24106. get:
  24107. parameters:
  24108. - description: 资金账号ID列表,用逗号分隔
  24109. in: query
  24110. name: accountids
  24111. required: true
  24112. type: string
  24113. - description: 合同类型,1为采购合同 -1为销售合同
  24114. in: query
  24115. name: contracttype
  24116. required: true
  24117. type: integer
  24118. - description: 合同模式,1为普通合同 2为回购销售合同
  24119. in: query
  24120. name: contractmode
  24121. required: true
  24122. type: integer
  24123. - description: 状态,0为履约中 1为已完成
  24124. in: query
  24125. name: status
  24126. required: true
  24127. type: integer
  24128. produces:
  24129. - application/json
  24130. responses:
  24131. "200":
  24132. description: OK
  24133. schema:
  24134. items:
  24135. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  24136. type: array
  24137. "500":
  24138. description: Internal Server Error
  24139. schema:
  24140. $ref: '#/definitions/app.Response'
  24141. security:
  24142. - ApiKeyAuth: []
  24143. summary: 查询合同详细信息
  24144. tags:
  24145. - 风险管理v3
  24146. /Erms3/QueryUserInfoApplies:
  24147. get:
  24148. parameters:
  24149. - description: 页码
  24150. in: query
  24151. name: page
  24152. type: integer
  24153. - description: 每页条数
  24154. in: query
  24155. name: pagesize
  24156. type: integer
  24157. - description: 客户名称,支持模糊查询
  24158. in: query
  24159. name: userName
  24160. type: string
  24161. produces:
  24162. - application/json
  24163. responses:
  24164. "200":
  24165. description: OK
  24166. schema:
  24167. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  24168. "500":
  24169. description: Internal Server Error
  24170. schema:
  24171. $ref: '#/definitions/app.Response'
  24172. security:
  24173. - ApiKeyAuth: []
  24174. summary: 客户申请信息查询
  24175. tags:
  24176. - 风险管理v3
  24177. /Erms3/QueryUserInfos:
  24178. get:
  24179. parameters:
  24180. - description: 页码
  24181. in: query
  24182. name: page
  24183. type: integer
  24184. - description: 每页条数
  24185. in: query
  24186. name: pagesize
  24187. type: integer
  24188. - description: 客户名称,支持模糊查询
  24189. in: query
  24190. name: userName
  24191. type: string
  24192. produces:
  24193. - application/json
  24194. responses:
  24195. "200":
  24196. description: OK
  24197. schema:
  24198. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  24199. "500":
  24200. description: Internal Server Error
  24201. schema:
  24202. $ref: '#/definitions/app.Response'
  24203. security:
  24204. - ApiKeyAuth: []
  24205. summary: 客户信息查询
  24206. tags:
  24207. - 风险管理v3
  24208. /HSBY/GetHsbyMyCount:
  24209. get:
  24210. description: 说明: 不包括已完成的数量。
  24211. parameters:
  24212. - description: 资金账户列表,格式:1,2,3
  24213. in: query
  24214. name: accountIDs
  24215. required: true
  24216. type: string
  24217. produces:
  24218. - application/json
  24219. responses:
  24220. "200":
  24221. description: OK
  24222. schema:
  24223. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  24224. "500":
  24225. description: Internal Server Error
  24226. schema:
  24227. $ref: '#/definitions/app.Response'
  24228. security:
  24229. - ApiKeyAuth: []
  24230. summary: 获取我的订单与包裹数量
  24231. tags:
  24232. - 定制【海商报业】
  24233. /HSBY/QueryClientFixedADConfigs:
  24234. get:
  24235. produces:
  24236. - application/json
  24237. responses:
  24238. "200":
  24239. description: OK
  24240. schema:
  24241. $ref: '#/definitions/models.Clientfixedadconfig'
  24242. "500":
  24243. description: Internal Server Error
  24244. schema:
  24245. $ref: '#/definitions/app.Response'
  24246. security:
  24247. - ApiKeyAuth: []
  24248. summary: 获取终端固定广告配置
  24249. tags:
  24250. - 定制【海商报业】
  24251. /HSBY/QueryHsbyBuyMyTradeDetail:
  24252. get:
  24253. parameters:
  24254. - description: 页码
  24255. in: query
  24256. name: page
  24257. type: integer
  24258. - description: 每页条数
  24259. in: query
  24260. name: pagesize
  24261. type: integer
  24262. - description: 资金账户列表,格式:1,2,3
  24263. in: query
  24264. name: accountIDs
  24265. required: true
  24266. type: string
  24267. produces:
  24268. - application/json
  24269. responses:
  24270. "200":
  24271. description: OK
  24272. schema:
  24273. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  24274. "500":
  24275. description: Internal Server Error
  24276. schema:
  24277. $ref: '#/definitions/app.Response'
  24278. security:
  24279. - ApiKeyAuth: []
  24280. summary: 查询"我的订单 - 已完成"单据信息
  24281. tags:
  24282. - 定制【海商报业】
  24283. /HSBY/QueryHsbyGoodsOrderDetails:
  24284. get:
  24285. description: 说明:查询结果已按委托价格和委托时间排序
  24286. parameters:
  24287. - description: 商品ID
  24288. in: query
  24289. name: goodsID
  24290. required: true
  24291. type: integer
  24292. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  24293. in: query
  24294. name: accountIDs
  24295. type: string
  24296. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  24297. in: query
  24298. name: buyOrSell
  24299. type: integer
  24300. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  24301. in: query
  24302. name: price
  24303. type: number
  24304. - description: 档位,不传则默认为3档
  24305. in: query
  24306. name: speed
  24307. type: integer
  24308. produces:
  24309. - application/json
  24310. responses:
  24311. "200":
  24312. description: OK
  24313. schema:
  24314. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  24315. "500":
  24316. description: Internal Server Error
  24317. schema:
  24318. $ref: '#/definitions/app.Response'
  24319. security:
  24320. - ApiKeyAuth: []
  24321. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  24322. tags:
  24323. - 定制【海商报业】
  24324. /HSBY/QueryHsbyListingGoodsDetail:
  24325. get:
  24326. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  24327. parameters:
  24328. - description: 商品ID
  24329. in: query
  24330. name: goodsID
  24331. required: true
  24332. type: integer
  24333. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  24334. in: query
  24335. name: accountID
  24336. type: integer
  24337. produces:
  24338. - application/json
  24339. responses:
  24340. "200":
  24341. description: OK
  24342. schema:
  24343. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  24344. "500":
  24345. description: Internal Server Error
  24346. schema:
  24347. $ref: '#/definitions/app.Response'
  24348. security:
  24349. - ApiKeyAuth: []
  24350. summary: 查询二级市场(挂牌点选)商品信息详情
  24351. tags:
  24352. - 定制【海商报业】
  24353. /HSBY/QueryHsbyMarketGoodsDetail:
  24354. get:
  24355. parameters:
  24356. - description: 委托单号
  24357. in: query
  24358. name: orderID
  24359. required: true
  24360. type: integer
  24361. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  24362. in: query
  24363. name: accountID
  24364. type: integer
  24365. produces:
  24366. - application/json
  24367. responses:
  24368. "200":
  24369. description: OK
  24370. schema:
  24371. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24372. "500":
  24373. description: Internal Server Error
  24374. schema:
  24375. $ref: '#/definitions/app.Response'
  24376. security:
  24377. - ApiKeyAuth: []
  24378. summary: 查询三级市场(商城)商品信息详情
  24379. tags:
  24380. - 定制【海商报业】
  24381. /HSBY/QueryHsbyMarketGoodses:
  24382. get:
  24383. parameters:
  24384. - description: 页码
  24385. in: query
  24386. name: page
  24387. type: integer
  24388. - description: 每页条数
  24389. in: query
  24390. name: pagesize
  24391. type: integer
  24392. - description: 市场ID列表,格式:1,2,3
  24393. in: query
  24394. name: marketIDs
  24395. required: true
  24396. type: string
  24397. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  24398. in: query
  24399. name: accountID
  24400. required: true
  24401. type: integer
  24402. - description: 类别ID
  24403. in: query
  24404. name: categoryID
  24405. type: integer
  24406. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24407. in: query
  24408. name: goodsIDs
  24409. type: string
  24410. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  24411. in: query
  24412. name: couponTypeID
  24413. type: integer
  24414. produces:
  24415. - application/json
  24416. responses:
  24417. "200":
  24418. description: OK
  24419. schema:
  24420. $ref: '#/definitions/models.HsbyMarketGoods'
  24421. "500":
  24422. description: Internal Server Error
  24423. schema:
  24424. $ref: '#/definitions/app.Response'
  24425. security:
  24426. - ApiKeyAuth: []
  24427. summary: 查询特卖商品列表(三级商城)
  24428. tags:
  24429. - 定制【海商报业】
  24430. /HSBY/QueryHsbyMarkets:
  24431. get:
  24432. produces:
  24433. - application/json
  24434. responses:
  24435. "200":
  24436. description: OK
  24437. schema:
  24438. $ref: '#/definitions/models.HsbyMarketInfo'
  24439. "500":
  24440. description: Internal Server Error
  24441. schema:
  24442. $ref: '#/definitions/app.Response'
  24443. security:
  24444. - ApiKeyAuth: []
  24445. summary: 查询海商报业相关市场信息
  24446. tags:
  24447. - 定制【海商报业】
  24448. /HSBY/QueryHsbyMyBuyOrderDetails:
  24449. get:
  24450. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  24451. parameters:
  24452. - description: 资金账户列表,格式:1,2,3
  24453. in: query
  24454. name: accountIDs
  24455. required: true
  24456. type: string
  24457. produces:
  24458. - application/json
  24459. responses:
  24460. "200":
  24461. description: OK
  24462. schema:
  24463. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  24464. "500":
  24465. description: Internal Server Error
  24466. schema:
  24467. $ref: '#/definitions/app.Response'
  24468. security:
  24469. - ApiKeyAuth: []
  24470. summary: 查询“我的订单”信息
  24471. tags:
  24472. - 定制【海商报业】
  24473. /HSBY/QueryHsbyMyGoods:
  24474. get:
  24475. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  24476. parameters:
  24477. - description: 资金账户列表,格式:1,2,3
  24478. in: query
  24479. name: accountIDs
  24480. required: true
  24481. type: string
  24482. produces:
  24483. - application/json
  24484. responses:
  24485. "200":
  24486. description: OK
  24487. schema:
  24488. $ref: '#/definitions/models.HsbyMyGoods'
  24489. "500":
  24490. description: Internal Server Error
  24491. schema:
  24492. $ref: '#/definitions/app.Response'
  24493. security:
  24494. - ApiKeyAuth: []
  24495. summary: 查询“我的商品”信息
  24496. tags:
  24497. - 定制【海商报业】
  24498. /HSBY/QueryHsbyMyPackages:
  24499. get:
  24500. parameters:
  24501. - description: 资金账户列表,格式:1,2,3
  24502. in: query
  24503. name: accountIDs
  24504. required: true
  24505. type: string
  24506. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24507. in: query
  24508. name: takeOrderStatus
  24509. type: integer
  24510. produces:
  24511. - application/json
  24512. responses:
  24513. "200":
  24514. description: OK
  24515. schema:
  24516. $ref: '#/definitions/models.HsbyMyPackage'
  24517. "500":
  24518. description: Internal Server Error
  24519. schema:
  24520. $ref: '#/definitions/app.Response'
  24521. security:
  24522. - ApiKeyAuth: []
  24523. summary: 查询我的包裹信息
  24524. tags:
  24525. - 定制【海商报业】
  24526. /HSBY/QueryHsbyPreGoodsDetail:
  24527. get:
  24528. parameters:
  24529. - description: 商品ID
  24530. in: query
  24531. name: goodsID
  24532. required: true
  24533. type: integer
  24534. - description: 资金账户,主要用于获取预售商品购买上限
  24535. in: query
  24536. name: accountID
  24537. type: integer
  24538. produces:
  24539. - application/json
  24540. responses:
  24541. "200":
  24542. description: OK
  24543. schema:
  24544. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  24545. "500":
  24546. description: Internal Server Error
  24547. schema:
  24548. $ref: '#/definitions/app.Response'
  24549. security:
  24550. - ApiKeyAuth: []
  24551. summary: 查询一级市场(预售)商品信息详情
  24552. tags:
  24553. - 定制【海商报业】
  24554. /HSBY/QueryHsbyPreGoodses:
  24555. get:
  24556. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  24557. parameters:
  24558. - description: 页码
  24559. in: query
  24560. name: page
  24561. type: integer
  24562. - description: 每页条数
  24563. in: query
  24564. name: pagesize
  24565. type: integer
  24566. - description: 市场ID列表,格式:1,2,3
  24567. in: query
  24568. name: marketIDs
  24569. required: true
  24570. type: string
  24571. - description: 目的地(省)ID
  24572. in: query
  24573. name: descProvinceID
  24574. type: integer
  24575. - description: 目的地(市)ID
  24576. in: query
  24577. name: descCityID
  24578. type: integer
  24579. produces:
  24580. - application/json
  24581. responses:
  24582. "200":
  24583. description: OK
  24584. schema:
  24585. $ref: '#/definitions/models.HsbyPreGoods'
  24586. "500":
  24587. description: Internal Server Error
  24588. schema:
  24589. $ref: '#/definitions/app.Response'
  24590. security:
  24591. - ApiKeyAuth: []
  24592. summary: 查询新品上市商品列表(一级市场预售)
  24593. tags:
  24594. - 定制【海商报业】
  24595. /HSBY/QueryHsbySellMyDetails:
  24596. get:
  24597. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  24598. parameters:
  24599. - description: 页码
  24600. in: query
  24601. name: page
  24602. type: integer
  24603. - description: 每页条数
  24604. in: query
  24605. name: pagesize
  24606. type: integer
  24607. - description: 资金账户列表,格式:1,2,3
  24608. in: query
  24609. name: accountIDs
  24610. required: true
  24611. type: string
  24612. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  24613. in: query
  24614. name: orderType
  24615. type: integer
  24616. produces:
  24617. - application/json
  24618. responses:
  24619. "200":
  24620. description: OK
  24621. schema:
  24622. $ref: '#/definitions/models.HsbySellMyDetail'
  24623. "500":
  24624. description: Internal Server Error
  24625. schema:
  24626. $ref: '#/definitions/app.Response'
  24627. security:
  24628. - ApiKeyAuth: []
  24629. summary: 查询"我的闲置"单据信息
  24630. tags:
  24631. - 定制【海商报业】
  24632. /HSBY/QueryHsbyTopGoodses:
  24633. get:
  24634. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  24635. parameters:
  24636. - description: 页码
  24637. in: query
  24638. name: page
  24639. type: integer
  24640. - description: 每页条数
  24641. in: query
  24642. name: pagesize
  24643. type: integer
  24644. - description: 市场ID列表,格式:1,2,3
  24645. in: query
  24646. name: marketIDs
  24647. required: true
  24648. type: string
  24649. - description: 目的地(省)ID
  24650. in: query
  24651. name: descProvinceID
  24652. type: integer
  24653. - description: 目的地(市)ID
  24654. in: query
  24655. name: descCityID
  24656. type: integer
  24657. produces:
  24658. - application/json
  24659. responses:
  24660. "200":
  24661. description: OK
  24662. schema:
  24663. $ref: '#/definitions/models.HsbyTopGoods'
  24664. "500":
  24665. description: Internal Server Error
  24666. schema:
  24667. $ref: '#/definitions/app.Response'
  24668. security:
  24669. - ApiKeyAuth: []
  24670. summary: 查询热卖商品列表(二级市场挂牌点选)
  24671. tags:
  24672. - 定制【海商报业】
  24673. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  24674. get:
  24675. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  24676. parameters:
  24677. - description: 商品ID
  24678. in: query
  24679. name: goodsID
  24680. required: true
  24681. type: integer
  24682. produces:
  24683. - application/json
  24684. responses:
  24685. "200":
  24686. description: OK
  24687. schema:
  24688. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24689. "500":
  24690. description: Internal Server Error
  24691. schema:
  24692. $ref: '#/definitions/app.Response'
  24693. security:
  24694. - ApiKeyAuth: []
  24695. summary: 查询游客三级市场(商城)商品信息详情
  24696. tags:
  24697. - 定制【海商报业】
  24698. /HSBY/QueryHsbyVisitorMarketGoodses:
  24699. get:
  24700. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  24701. parameters:
  24702. - description: 页码
  24703. in: query
  24704. name: page
  24705. type: integer
  24706. - description: 每页条数
  24707. in: query
  24708. name: pagesize
  24709. type: integer
  24710. - description: 市场ID列表,格式:1,2,3
  24711. in: query
  24712. name: marketIDs
  24713. required: true
  24714. type: string
  24715. - description: 类别ID
  24716. in: query
  24717. name: categoryID
  24718. type: integer
  24719. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24720. in: query
  24721. name: goodsIDs
  24722. type: string
  24723. produces:
  24724. - application/json
  24725. responses:
  24726. "200":
  24727. description: OK
  24728. schema:
  24729. $ref: '#/definitions/models.HsbyMarketGoods'
  24730. "500":
  24731. description: Internal Server Error
  24732. schema:
  24733. $ref: '#/definitions/app.Response'
  24734. security:
  24735. - ApiKeyAuth: []
  24736. summary: 查询游客特卖商品列表(三级商城)
  24737. tags:
  24738. - 定制【海商报业】
  24739. /HSBY/QueryMyCollectionOrders:
  24740. get:
  24741. parameters:
  24742. - description: 页码
  24743. in: query
  24744. name: page
  24745. type: integer
  24746. - description: 每页条数
  24747. in: query
  24748. name: pagesize
  24749. type: integer
  24750. - description: 资金账户,格式:1,2,3
  24751. in: query
  24752. name: accountIDs
  24753. required: true
  24754. type: string
  24755. produces:
  24756. - application/json
  24757. responses:
  24758. "200":
  24759. description: OK
  24760. schema:
  24761. $ref: '#/definitions/models.HsbySellCollectionOrder'
  24762. "500":
  24763. description: Internal Server Error
  24764. schema:
  24765. $ref: '#/definitions/app.Response'
  24766. security:
  24767. - ApiKeyAuth: []
  24768. summary: 我的闲置中收款信息查询
  24769. tags:
  24770. - 定制【海商报业】
  24771. /HSBY/QueryMyCouponHolds:
  24772. get:
  24773. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  24774. parameters:
  24775. - description: 资金账户列表,格式:1,2,3
  24776. in: query
  24777. name: accountIDs
  24778. required: true
  24779. type: string
  24780. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  24781. in: query
  24782. name: holdStatus
  24783. type: string
  24784. produces:
  24785. - application/json
  24786. responses:
  24787. "200":
  24788. description: OK
  24789. schema:
  24790. $ref: '#/definitions/models.MyCouponHold'
  24791. "500":
  24792. description: Internal Server Error
  24793. schema:
  24794. $ref: '#/definitions/app.Response'
  24795. security:
  24796. - ApiKeyAuth: []
  24797. summary: 我的优惠卷持仓查询
  24798. tags:
  24799. - 定制【海商报业】
  24800. /HSBY/QueryMyCoupons:
  24801. get:
  24802. parameters:
  24803. - description: 资金账户列表,格式:1,2,3
  24804. in: query
  24805. name: accountIDs
  24806. required: true
  24807. type: string
  24808. - description: 商品ID, 一般与sellUserID配套传入
  24809. in: query
  24810. name: goodsID
  24811. type: integer
  24812. - description: 卖方UserID
  24813. in: query
  24814. name: sellUserID
  24815. type: integer
  24816. produces:
  24817. - application/json
  24818. responses:
  24819. "200":
  24820. description: OK
  24821. schema:
  24822. $ref: '#/definitions/models.MyCoupon'
  24823. "500":
  24824. description: Internal Server Error
  24825. schema:
  24826. $ref: '#/definitions/app.Response'
  24827. security:
  24828. - ApiKeyAuth: []
  24829. summary: 我的优惠卷查询
  24830. tags:
  24831. - 定制【海商报业】
  24832. /HSBY/QueryMyPayOrders:
  24833. get:
  24834. parameters:
  24835. - description: 页码
  24836. in: query
  24837. name: page
  24838. type: integer
  24839. - description: 每页条数
  24840. in: query
  24841. name: pagesize
  24842. type: integer
  24843. - description: 资金账户列表,格式:1,2,3
  24844. in: query
  24845. name: accountIDs
  24846. required: true
  24847. type: string
  24848. - description: 买方委托单号
  24849. in: query
  24850. name: buyOrderID
  24851. type: integer
  24852. - description: 卖方委托单号
  24853. in: query
  24854. name: sellOrderID
  24855. type: integer
  24856. produces:
  24857. - application/json
  24858. responses:
  24859. "200":
  24860. description: OK
  24861. schema:
  24862. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24863. "500":
  24864. description: Internal Server Error
  24865. schema:
  24866. $ref: '#/definitions/app.Response'
  24867. security:
  24868. - ApiKeyAuth: []
  24869. summary: 获取我的订单中待付款信息
  24870. tags:
  24871. - 定制【海商报业】
  24872. /HSBY/QueryMyUsedCoupon:
  24873. get:
  24874. parameters:
  24875. - description: 资金账户列表,格式:1,2,3
  24876. in: query
  24877. name: accountIDs
  24878. required: true
  24879. type: string
  24880. produces:
  24881. - application/json
  24882. responses:
  24883. "200":
  24884. description: OK
  24885. schema:
  24886. $ref: '#/definitions/models.MyUsedCoupon'
  24887. "500":
  24888. description: Internal Server Error
  24889. schema:
  24890. $ref: '#/definitions/app.Response'
  24891. security:
  24892. - ApiKeyAuth: []
  24893. summary: 已使用优惠卷查询
  24894. tags:
  24895. - 定制【海商报业】
  24896. /HSBY/QueryProvincesAndCities:
  24897. get:
  24898. description: 查询结果只包括二级市场商品已关连的省市信息。
  24899. parameters:
  24900. - description: 省ID
  24901. in: query
  24902. name: provinceID
  24903. type: integer
  24904. produces:
  24905. - application/json
  24906. responses:
  24907. "200":
  24908. description: OK
  24909. schema:
  24910. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24911. "500":
  24912. description: Internal Server Error
  24913. schema:
  24914. $ref: '#/definitions/app.Response'
  24915. security:
  24916. - ApiKeyAuth: []
  24917. summary: 查询省市信息(不包括区)
  24918. tags:
  24919. - 定制【海商报业】
  24920. /HSBY/SetHsbyMyPackagesStatus:
  24921. post:
  24922. parameters:
  24923. - description: 提货单号
  24924. in: query
  24925. name: takeOrderID
  24926. required: true
  24927. type: string
  24928. - description: 资金账号
  24929. in: query
  24930. name: accountID
  24931. required: true
  24932. type: integer
  24933. produces:
  24934. - application/json
  24935. responses:
  24936. "200":
  24937. description: OK
  24938. schema:
  24939. $ref: '#/definitions/app.Response'
  24940. "500":
  24941. description: Internal Server Error
  24942. schema:
  24943. $ref: '#/definitions/app.Response'
  24944. security:
  24945. - ApiKeyAuth: []
  24946. summary: 设置我的包裹已收货状态
  24947. tags:
  24948. - 定制【海商报业】
  24949. /Market/GetAllExExchanges:
  24950. get:
  24951. produces:
  24952. - application/json
  24953. responses:
  24954. "200":
  24955. description: OK
  24956. schema:
  24957. $ref: '#/definitions/models.Goods'
  24958. "500":
  24959. description: Internal Server Error
  24960. schema:
  24961. $ref: '#/definitions/app.Response'
  24962. security:
  24963. - ApiKeyAuth: []
  24964. summary: 获取所有外部交易所信息
  24965. tags:
  24966. - 通用市场
  24967. /Market/QueryGoodsesByLoginID:
  24968. get:
  24969. parameters:
  24970. - description: 登录账号
  24971. in: query
  24972. name: loginID
  24973. required: true
  24974. type: integer
  24975. - description: 市场ID列表,格式:1,2,3
  24976. in: query
  24977. name: marketIDs
  24978. type: string
  24979. produces:
  24980. - application/json
  24981. responses:
  24982. "200":
  24983. description: OK
  24984. schema:
  24985. $ref: '#/definitions/models.Goods'
  24986. "500":
  24987. description: Internal Server Error
  24988. schema:
  24989. $ref: '#/definitions/app.Response'
  24990. security:
  24991. - ApiKeyAuth: []
  24992. summary: 获取登录账号有权限的商品信息
  24993. tags:
  24994. - 通用市场
  24995. /Market/QueryMarketRun:
  24996. get:
  24997. parameters:
  24998. - description: 市场ID,不传返回所有
  24999. in: query
  25000. name: marketID
  25001. type: integer
  25002. produces:
  25003. - application/json
  25004. responses:
  25005. "200":
  25006. description: OK
  25007. schema:
  25008. $ref: '#/definitions/models.Marketrun'
  25009. "500":
  25010. description: Internal Server Error
  25011. schema:
  25012. $ref: '#/definitions/app.Response'
  25013. security:
  25014. - ApiKeyAuth: []
  25015. summary: 查询市场运行信息
  25016. tags:
  25017. - 通用市场
  25018. /Market/QueryMarketsByLoginID:
  25019. get:
  25020. parameters:
  25021. - description: 登录账号
  25022. in: query
  25023. name: loginID
  25024. required: true
  25025. type: integer
  25026. produces:
  25027. - application/json
  25028. responses:
  25029. "200":
  25030. description: OK
  25031. schema:
  25032. $ref: '#/definitions/models.Market'
  25033. "500":
  25034. description: Internal Server Error
  25035. schema:
  25036. $ref: '#/definitions/app.Response'
  25037. security:
  25038. - ApiKeyAuth: []
  25039. summary: 获取登录账号有权限的市场信息
  25040. tags:
  25041. - 通用市场
  25042. /Order/QueryHisTradeDetail:
  25043. get:
  25044. parameters:
  25045. - description: 资金账户 - 格式:1,2,3
  25046. in: query
  25047. name: accountID
  25048. required: true
  25049. type: string
  25050. - description: 成交单号
  25051. in: query
  25052. name: tradeID
  25053. type: integer
  25054. - description: 委托单号
  25055. in: query
  25056. name: orderID
  25057. type: integer
  25058. - description: 商品ID
  25059. in: query
  25060. name: goodsID
  25061. type: integer
  25062. - description: 交易模式 - 格式:1,2,3
  25063. in: query
  25064. name: tradeMode
  25065. type: string
  25066. - description: 委托单据类型
  25067. in: query
  25068. name: buildType
  25069. type: integer
  25070. - description: 成交类别 - 格式:1,2,3
  25071. in: query
  25072. name: tradeType
  25073. type: string
  25074. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25075. in: query
  25076. name: startDate
  25077. type: string
  25078. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25079. in: query
  25080. name: endDate
  25081. type: string
  25082. produces:
  25083. - application/json
  25084. responses:
  25085. "200":
  25086. description: OK
  25087. schema:
  25088. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  25089. "500":
  25090. description: Internal Server Error
  25091. schema:
  25092. $ref: '#/definitions/app.Response'
  25093. security:
  25094. - ApiKeyAuth: []
  25095. summary: 历史成交单查询(合约市场)
  25096. tags:
  25097. - 通用单据
  25098. /Order/QueryHisTradeOrderDetail:
  25099. get:
  25100. parameters:
  25101. - description: 资金账户 - 格式:1,2,3
  25102. in: query
  25103. name: accountID
  25104. required: true
  25105. type: string
  25106. - description: 交易模式 - 格式:1,2,3
  25107. in: query
  25108. name: tradeMode
  25109. type: string
  25110. - description: 委托状态 - 格式:1,2,3
  25111. in: query
  25112. name: orderStatus
  25113. type: string
  25114. - description: 委托单号
  25115. in: query
  25116. name: orderID
  25117. type: integer
  25118. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25119. in: query
  25120. name: startDate
  25121. type: string
  25122. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25123. in: query
  25124. name: endDate
  25125. type: string
  25126. produces:
  25127. - application/json
  25128. responses:
  25129. "200":
  25130. description: OK
  25131. schema:
  25132. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  25133. "500":
  25134. description: Internal Server Error
  25135. schema:
  25136. $ref: '#/definitions/app.Response'
  25137. security:
  25138. - ApiKeyAuth: []
  25139. summary: 历史委托单查询请求(合约市场)
  25140. tags:
  25141. - 通用单据
  25142. /Order/QueryTradeDetail:
  25143. get:
  25144. parameters:
  25145. - description: 资金账户 - 格式:1,2,3
  25146. in: query
  25147. name: accountID
  25148. required: true
  25149. type: string
  25150. - description: 成交单号
  25151. in: query
  25152. name: tradeID
  25153. type: integer
  25154. - description: 委托单号
  25155. in: query
  25156. name: orderID
  25157. type: integer
  25158. - description: 交易模式 - 格式:1,2,3
  25159. in: query
  25160. name: tradeMode
  25161. type: string
  25162. - description: 委托单据类型
  25163. in: query
  25164. name: buildType
  25165. type: integer
  25166. - description: 成交类别 - 格式:1,2,3
  25167. in: query
  25168. name: tradeType
  25169. type: string
  25170. - description: 商品ID
  25171. in: query
  25172. name: goodsID
  25173. type: integer
  25174. produces:
  25175. - application/json
  25176. responses:
  25177. "200":
  25178. description: OK
  25179. schema:
  25180. $ref: '#/definitions/order.QueryTradeDetailRsp'
  25181. "500":
  25182. description: Internal Server Error
  25183. schema:
  25184. $ref: '#/definitions/app.Response'
  25185. security:
  25186. - ApiKeyAuth: []
  25187. summary: 成交单查询(合约市场)
  25188. tags:
  25189. - 通用单据
  25190. /Order/QueryTradeHolderDetail:
  25191. get:
  25192. parameters:
  25193. - description: 用户id
  25194. in: query
  25195. name: userid
  25196. type: integer
  25197. - description: 资金账号, 格式 1,2,3
  25198. in: query
  25199. name: accids
  25200. type: string
  25201. - description: 交易模式, 格式 1,2,3
  25202. in: query
  25203. name: trademodes
  25204. type: string
  25205. - description: 市场id, 格式 1,2,3
  25206. in: query
  25207. name: marketids
  25208. type: string
  25209. - description: 商品id
  25210. in: query
  25211. name: goodsid
  25212. type: integer
  25213. - description: 买卖方向 0-买 1-卖
  25214. in: query
  25215. name: buyorsell
  25216. type: integer
  25217. produces:
  25218. - application/json
  25219. responses:
  25220. "200":
  25221. description: OK
  25222. schema:
  25223. items:
  25224. $ref: '#/definitions/models.TradeHolderDetail'
  25225. type: array
  25226. "500":
  25227. description: Internal Server Error
  25228. schema:
  25229. $ref: '#/definitions/app.Response'
  25230. security:
  25231. - ApiKeyAuth: []
  25232. summary: 查询持仓明细
  25233. tags:
  25234. - 通用单据
  25235. /Order/QueryTradeOrderDetail:
  25236. get:
  25237. parameters:
  25238. - description: 资金账户 - 格式:1,2,3
  25239. in: query
  25240. name: accountID
  25241. required: true
  25242. type: string
  25243. - description: 交易模式 - 格式:1,2,3
  25244. in: query
  25245. name: tradeMode
  25246. type: string
  25247. - description: 委托状态 - 格式:1,2,3
  25248. in: query
  25249. name: orderStatus
  25250. type: string
  25251. - description: 委托单号
  25252. in: query
  25253. name: orderID
  25254. type: integer
  25255. produces:
  25256. - application/json
  25257. responses:
  25258. "200":
  25259. description: OK
  25260. schema:
  25261. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  25262. "500":
  25263. description: Internal Server Error
  25264. schema:
  25265. $ref: '#/definitions/app.Response'
  25266. security:
  25267. - ApiKeyAuth: []
  25268. summary: 委托单查询请求(合约市场)
  25269. tags:
  25270. - 通用单据
  25271. /Order/QueryTradePosition:
  25272. get:
  25273. parameters:
  25274. - description: 资金账户 - 格式:1,2,3
  25275. in: query
  25276. name: accountID
  25277. required: true
  25278. type: string
  25279. - description: 交易模式 - 格式:1,2,3
  25280. in: query
  25281. name: tradeMode
  25282. type: string
  25283. produces:
  25284. - application/json
  25285. responses:
  25286. "200":
  25287. description: OK
  25288. schema:
  25289. $ref: '#/definitions/order.QueryTradePositionRsp'
  25290. "500":
  25291. description: Internal Server Error
  25292. schema:
  25293. $ref: '#/definitions/app.Response'
  25294. security:
  25295. - ApiKeyAuth: []
  25296. summary: 持仓汇总查询(合约市场)
  25297. tags:
  25298. - 通用单据
  25299. /Qhj/QueryAccountInOutApply:
  25300. get:
  25301. parameters:
  25302. - description: 用户ID
  25303. in: query
  25304. name: userid
  25305. required: true
  25306. type: integer
  25307. - description: 申请起始日期(格式yyyymmdd)
  25308. in: query
  25309. name: begindate
  25310. type: string
  25311. - description: 申请截止日期(格式yyyymmdd)
  25312. in: query
  25313. name: enddate
  25314. type: string
  25315. - description: 模糊搜索名称
  25316. in: query
  25317. name: likename
  25318. type: string
  25319. produces:
  25320. - application/json
  25321. responses:
  25322. "200":
  25323. description: OK
  25324. schema:
  25325. items:
  25326. $ref: '#/definitions/models.QhjAccountOutInApply'
  25327. type: array
  25328. "500":
  25329. description: Internal Server Error
  25330. schema:
  25331. $ref: '#/definitions/app.Response'
  25332. security:
  25333. - ApiKeyAuth: []
  25334. summary: 查询充值提现
  25335. tags:
  25336. - 大连千海金
  25337. /Qhj/QueryAreaFinanceConfig:
  25338. get:
  25339. parameters:
  25340. - description: 机构用户ID 其他做市关系,都设置为 1
  25341. in: query
  25342. name: userid
  25343. type: integer
  25344. produces:
  25345. - application/json
  25346. responses:
  25347. "200":
  25348. description: OK
  25349. schema:
  25350. items:
  25351. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  25352. type: array
  25353. "500":
  25354. description: Internal Server Error
  25355. schema:
  25356. $ref: '#/definitions/app.Response'
  25357. security:
  25358. - ApiKeyAuth: []
  25359. summary: 查询企业配置表
  25360. tags:
  25361. - 大连千海金
  25362. /Qhj/QueryBankAccountSign:
  25363. get:
  25364. parameters:
  25365. - description: 用户ID
  25366. in: query
  25367. name: userid
  25368. required: true
  25369. type: integer
  25370. produces:
  25371. - application/json
  25372. responses:
  25373. "200":
  25374. description: OK
  25375. schema:
  25376. items:
  25377. $ref: '#/definitions/models.QhjBankAccountSign'
  25378. type: array
  25379. "500":
  25380. description: Internal Server Error
  25381. schema:
  25382. $ref: '#/definitions/app.Response'
  25383. security:
  25384. - ApiKeyAuth: []
  25385. summary: 查询签约银行信息(提现账户管理)
  25386. tags:
  25387. - 大连千海金
  25388. /Qhj/QueryBankInfo:
  25389. get:
  25390. produces:
  25391. - application/json
  25392. responses:
  25393. "200":
  25394. description: OK
  25395. schema:
  25396. items:
  25397. $ref: '#/definitions/models.QhjBankInfo'
  25398. type: array
  25399. "500":
  25400. description: Internal Server Error
  25401. schema:
  25402. $ref: '#/definitions/app.Response'
  25403. security:
  25404. - ApiKeyAuth: []
  25405. summary: 查询开户行
  25406. tags:
  25407. - 大连千海金
  25408. /Qhj/QueryBrokerApply:
  25409. get:
  25410. parameters:
  25411. - description: 所属机构ID
  25412. in: query
  25413. name: userid
  25414. type: integer
  25415. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25416. in: query
  25417. name: filterstatus
  25418. type: string
  25419. produces:
  25420. - application/json
  25421. responses:
  25422. "200":
  25423. description: OK
  25424. schema:
  25425. items:
  25426. $ref: '#/definitions/models.QhjBrokerApply'
  25427. type: array
  25428. "500":
  25429. description: Internal Server Error
  25430. schema:
  25431. $ref: '#/definitions/app.Response'
  25432. security:
  25433. - ApiKeyAuth: []
  25434. summary: 查询经纪人申请
  25435. tags:
  25436. - 大连千海金
  25437. /Qhj/QueryBrokerApplyEx:
  25438. get:
  25439. parameters:
  25440. - description: 所属机构ID
  25441. in: query
  25442. name: userid
  25443. type: integer
  25444. produces:
  25445. - application/json
  25446. responses:
  25447. "200":
  25448. description: OK
  25449. schema:
  25450. items:
  25451. $ref: '#/definitions/models.QhjBrokerApplyEx'
  25452. type: array
  25453. "500":
  25454. description: Internal Server Error
  25455. schema:
  25456. $ref: '#/definitions/app.Response'
  25457. security:
  25458. - ApiKeyAuth: []
  25459. summary: 查询经纪人信息和申请记录
  25460. tags:
  25461. - 大连千海金
  25462. /Qhj/QueryBrokerRewardLog:
  25463. get:
  25464. parameters:
  25465. - description: 用户ID
  25466. in: query
  25467. name: userid
  25468. required: true
  25469. type: integer
  25470. - description: 开始交易日(yyyymmdd)
  25471. in: query
  25472. name: begindate
  25473. type: string
  25474. - description: 结束交易日(yyyymmdd)
  25475. in: query
  25476. name: enddate
  25477. type: string
  25478. produces:
  25479. - application/json
  25480. responses:
  25481. "200":
  25482. description: OK
  25483. schema:
  25484. items:
  25485. $ref: '#/definitions/models.QhjBrokerRewardLog'
  25486. type: array
  25487. "500":
  25488. description: Internal Server Error
  25489. schema:
  25490. $ref: '#/definitions/app.Response'
  25491. security:
  25492. - ApiKeyAuth: []
  25493. summary: 查询奖励流水(我的奖励)
  25494. tags:
  25495. - 大连千海金
  25496. /Qhj/QueryContract:
  25497. get:
  25498. parameters:
  25499. - description: 用户ID
  25500. in: query
  25501. name: userid
  25502. type: integer
  25503. - description: scf合同id
  25504. in: query
  25505. name: scfcontractid
  25506. type: integer
  25507. produces:
  25508. - application/json
  25509. responses:
  25510. "200":
  25511. description: OK
  25512. schema:
  25513. items:
  25514. $ref: '#/definitions/models.QhjContract'
  25515. type: array
  25516. "500":
  25517. description: Internal Server Error
  25518. schema:
  25519. $ref: '#/definitions/app.Response'
  25520. security:
  25521. - ApiKeyAuth: []
  25522. summary: 查询融资明细(合同)
  25523. tags:
  25524. - 大连千海金
  25525. /Qhj/QueryContractLog:
  25526. get:
  25527. parameters:
  25528. - description: scf合同id
  25529. in: query
  25530. name: scfcontractid
  25531. required: true
  25532. type: integer
  25533. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  25534. in: query
  25535. name: amounttype
  25536. type: string
  25537. produces:
  25538. - application/json
  25539. responses:
  25540. "200":
  25541. description: OK
  25542. schema:
  25543. items:
  25544. $ref: '#/definitions/models.QhjContractLog'
  25545. type: array
  25546. "500":
  25547. description: Internal Server Error
  25548. schema:
  25549. $ref: '#/definitions/app.Response'
  25550. security:
  25551. - ApiKeyAuth: []
  25552. summary: 查询融资明细流水(融资明细详情页中的流水)
  25553. tags:
  25554. - 大连千海金
  25555. /Qhj/QueryCusBankSignBank:
  25556. get:
  25557. produces:
  25558. - application/json
  25559. responses:
  25560. "200":
  25561. description: OK
  25562. schema:
  25563. items:
  25564. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  25565. type: array
  25566. "500":
  25567. description: Internal Server Error
  25568. schema:
  25569. $ref: '#/definitions/app.Response'
  25570. security:
  25571. - ApiKeyAuth: []
  25572. summary: 查询托管银行
  25573. tags:
  25574. - 大连千海金
  25575. /Qhj/QueryCustomerInfo:
  25576. get:
  25577. parameters:
  25578. - description: 用户ID
  25579. in: query
  25580. name: userid
  25581. required: true
  25582. type: integer
  25583. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25584. in: query
  25585. name: querytype
  25586. required: true
  25587. type: integer
  25588. - description: 客户类型 1-个人 2-企业
  25589. in: query
  25590. name: userinfotype
  25591. type: integer
  25592. - description: 客户名称(模糊匹配)
  25593. in: query
  25594. name: customername
  25595. type: string
  25596. - description: 昵称(模糊匹配)
  25597. in: query
  25598. name: nickname
  25599. type: string
  25600. - description: 是否包含子级 1-包含
  25601. in: query
  25602. name: includesub
  25603. type: integer
  25604. produces:
  25605. - application/json
  25606. responses:
  25607. "200":
  25608. description: OK
  25609. schema:
  25610. items:
  25611. $ref: '#/definitions/models.QhjCustomer'
  25612. type: array
  25613. "500":
  25614. description: Internal Server Error
  25615. schema:
  25616. $ref: '#/definitions/app.Response'
  25617. security:
  25618. - ApiKeyAuth: []
  25619. summary: 查询客户资料
  25620. tags:
  25621. - 大连千海金
  25622. /Qhj/QueryGoodsEx:
  25623. get:
  25624. parameters:
  25625. - description: 商品id
  25626. in: query
  25627. name: goodsid
  25628. type: integer
  25629. produces:
  25630. - application/json
  25631. responses:
  25632. "200":
  25633. description: OK
  25634. schema:
  25635. items:
  25636. $ref: '#/definitions/models.Qhjgoodsex'
  25637. type: array
  25638. "500":
  25639. description: Internal Server Error
  25640. schema:
  25641. $ref: '#/definitions/app.Response'
  25642. security:
  25643. - ApiKeyAuth: []
  25644. summary: 交易商品扩展表
  25645. tags:
  25646. - 大连千海金
  25647. /Qhj/QueryMyTeam:
  25648. get:
  25649. parameters:
  25650. - description: 用户ID
  25651. in: query
  25652. name: userid
  25653. required: true
  25654. type: integer
  25655. produces:
  25656. - application/json
  25657. responses:
  25658. "200":
  25659. description: OK
  25660. schema:
  25661. items:
  25662. $ref: '#/definitions/models.QhjMyTeamEx'
  25663. type: array
  25664. "500":
  25665. description: Internal Server Error
  25666. schema:
  25667. $ref: '#/definitions/app.Response'
  25668. security:
  25669. - ApiKeyAuth: []
  25670. summary: 查询我的团队
  25671. tags:
  25672. - 大连千海金
  25673. /Qhj/QueryMyTeamOrder:
  25674. get:
  25675. parameters:
  25676. - description: 页码
  25677. in: query
  25678. name: page
  25679. type: integer
  25680. - description: 每页条数
  25681. in: query
  25682. name: pagesize
  25683. type: integer
  25684. - description: 用户ID
  25685. in: query
  25686. name: userid
  25687. required: true
  25688. type: integer
  25689. - description: 交易模式
  25690. in: query
  25691. name: trademode
  25692. type: integer
  25693. - description: 名称(模糊搜索账户)
  25694. in: query
  25695. name: filtername
  25696. type: string
  25697. produces:
  25698. - application/json
  25699. responses:
  25700. "200":
  25701. description: OK
  25702. schema:
  25703. items:
  25704. $ref: '#/definitions/models.QhjTeamOrder'
  25705. type: array
  25706. "500":
  25707. description: Internal Server Error
  25708. schema:
  25709. $ref: '#/definitions/app.Response'
  25710. security:
  25711. - ApiKeyAuth: []
  25712. summary: 查询团队订单(我的团队/团队订单)
  25713. tags:
  25714. - 大连千海金
  25715. /Qhj/QueryParentAreaList:
  25716. get:
  25717. parameters:
  25718. - description: 用户ID
  25719. in: query
  25720. name: userid
  25721. required: true
  25722. type: integer
  25723. produces:
  25724. - application/json
  25725. responses:
  25726. "200":
  25727. description: OK
  25728. schema:
  25729. items:
  25730. $ref: '#/definitions/models.QhjParentAreaList'
  25731. type: array
  25732. "500":
  25733. description: Internal Server Error
  25734. schema:
  25735. $ref: '#/definitions/app.Response'
  25736. security:
  25737. - ApiKeyAuth: []
  25738. summary: 查询所属机构列表
  25739. tags:
  25740. - 大连千海金
  25741. /Qhj/QueryPayOrder:
  25742. get:
  25743. parameters:
  25744. - description: 资金账号id
  25745. in: query
  25746. name: accountid
  25747. required: true
  25748. type: integer
  25749. - description: 成交单号
  25750. in: query
  25751. name: tradeid
  25752. type: integer
  25753. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25754. in: query
  25755. name: payflag
  25756. type: string
  25757. produces:
  25758. - application/json
  25759. responses:
  25760. "200":
  25761. description: OK
  25762. schema:
  25763. items:
  25764. $ref: '#/definitions/models.QhjPayOrder'
  25765. type: array
  25766. "500":
  25767. description: Internal Server Error
  25768. schema:
  25769. $ref: '#/definitions/app.Response'
  25770. security:
  25771. - ApiKeyAuth: []
  25772. summary: 查询待付款单据
  25773. tags:
  25774. - 大连千海金
  25775. /Qhj/QueryPickArea:
  25776. get:
  25777. parameters:
  25778. - description: 用户ID
  25779. in: query
  25780. name: userid
  25781. type: integer
  25782. produces:
  25783. - application/json
  25784. responses:
  25785. "200":
  25786. description: OK
  25787. schema:
  25788. items:
  25789. $ref: '#/definitions/models.QhjPickArea'
  25790. type: array
  25791. "500":
  25792. description: Internal Server Error
  25793. schema:
  25794. $ref: '#/definitions/app.Response'
  25795. security:
  25796. - ApiKeyAuth: []
  25797. summary: 查询提货门店
  25798. tags:
  25799. - 大连千海金
  25800. /Qhj/QueryPickGoods:
  25801. get:
  25802. parameters:
  25803. - description: 交易商品id
  25804. in: query
  25805. name: goodsid
  25806. required: true
  25807. type: integer
  25808. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25809. in: query
  25810. name: status
  25811. type: string
  25812. produces:
  25813. - application/json
  25814. responses:
  25815. "200":
  25816. description: OK
  25817. schema:
  25818. items:
  25819. $ref: '#/definitions/models.QhjPickGoods'
  25820. type: array
  25821. "500":
  25822. description: Internal Server Error
  25823. schema:
  25824. $ref: '#/definitions/app.Response'
  25825. security:
  25826. - ApiKeyAuth: []
  25827. summary: 查询提货商品
  25828. tags:
  25829. - 大连千海金
  25830. /Qhj/QueryRSTriggerLog:
  25831. get:
  25832. parameters:
  25833. - description: 用户ID
  25834. in: query
  25835. name: userid
  25836. type: integer
  25837. - description: 定投策略id
  25838. in: query
  25839. name: regularlystrategyid
  25840. type: integer
  25841. - description: 商品id
  25842. in: query
  25843. name: goodsid
  25844. type: integer
  25845. - description: 开始交易日(yyyymmdd)
  25846. in: query
  25847. name: begindate
  25848. type: string
  25849. - description: 结束交易日(yyyymmdd)
  25850. in: query
  25851. name: enddate
  25852. type: string
  25853. - description: 名称(模糊搜索账户)
  25854. in: query
  25855. name: filtername
  25856. type: string
  25857. produces:
  25858. - application/json
  25859. responses:
  25860. "200":
  25861. description: OK
  25862. schema:
  25863. items:
  25864. $ref: '#/definitions/models.QhjRSTriggerLog'
  25865. type: array
  25866. "500":
  25867. description: Internal Server Error
  25868. schema:
  25869. $ref: '#/definitions/app.Response'
  25870. security:
  25871. - ApiKeyAuth: []
  25872. summary: 查询定投记录(定投管理/详情/定投记录)
  25873. tags:
  25874. - 大连千海金
  25875. /Qhj/QueryRStrategy:
  25876. get:
  25877. parameters:
  25878. - description: 用户ID
  25879. in: query
  25880. name: userid
  25881. type: integer
  25882. - description: 商品id
  25883. in: query
  25884. name: goodsid
  25885. type: integer
  25886. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25887. in: query
  25888. name: status
  25889. type: string
  25890. - description: 名称(模糊搜索账户)
  25891. in: query
  25892. name: filtername
  25893. type: string
  25894. produces:
  25895. - application/json
  25896. responses:
  25897. "200":
  25898. description: OK
  25899. schema:
  25900. items:
  25901. $ref: '#/definitions/models.QhjRStrategy'
  25902. type: array
  25903. "500":
  25904. description: Internal Server Error
  25905. schema:
  25906. $ref: '#/definitions/app.Response'
  25907. security:
  25908. - ApiKeyAuth: []
  25909. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25910. tags:
  25911. - 大连千海金
  25912. /Qhj/QueryReckonPriceLog:
  25913. get:
  25914. parameters:
  25915. - description: 商品ID
  25916. in: query
  25917. name: goodsid
  25918. type: integer
  25919. - description: 交易日 格式(yyyymmdd)
  25920. in: query
  25921. name: tradedate
  25922. type: string
  25923. produces:
  25924. - application/json
  25925. responses:
  25926. "200":
  25927. description: OK
  25928. schema:
  25929. items:
  25930. $ref: '#/definitions/models.QhjReckonPriceLog'
  25931. type: array
  25932. "500":
  25933. description: Internal Server Error
  25934. schema:
  25935. $ref: '#/definitions/app.Response'
  25936. security:
  25937. - ApiKeyAuth: []
  25938. summary: 查询定投价(结算价)
  25939. tags:
  25940. - 大连千海金
  25941. /Qhj/QueryScoreLog:
  25942. get:
  25943. parameters:
  25944. - description: 用户ID
  25945. in: query
  25946. name: userid
  25947. required: true
  25948. type: integer
  25949. - description: 开始交易日(yyyymmdd)
  25950. in: query
  25951. name: begindate
  25952. type: string
  25953. - description: 结束交易日(yyyymmdd)
  25954. in: query
  25955. name: enddate
  25956. type: string
  25957. - description: 最近多少条
  25958. in: query
  25959. name: lastnum
  25960. type: integer
  25961. produces:
  25962. - application/json
  25963. responses:
  25964. "200":
  25965. description: OK
  25966. schema:
  25967. items:
  25968. $ref: '#/definitions/models.QhjScoreLog'
  25969. type: array
  25970. "500":
  25971. description: Internal Server Error
  25972. schema:
  25973. $ref: '#/definitions/app.Response'
  25974. security:
  25975. - ApiKeyAuth: []
  25976. summary: 查询积分流水(我的积分)
  25977. tags:
  25978. - 大连千海金
  25979. /Qhj/QuerySiteColumnDetail:
  25980. get:
  25981. parameters:
  25982. - description: 用户ID
  25983. in: query
  25984. name: userid
  25985. required: true
  25986. type: integer
  25987. produces:
  25988. - application/json
  25989. responses:
  25990. "200":
  25991. description: OK
  25992. schema:
  25993. items:
  25994. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25995. type: array
  25996. "500":
  25997. description: Internal Server Error
  25998. schema:
  25999. $ref: '#/definitions/app.Response'
  26000. security:
  26001. - ApiKeyAuth: []
  26002. summary: 查询资讯
  26003. tags:
  26004. - 大连千海金
  26005. /Qhj/QueryTradeGoodsPickup:
  26006. get:
  26007. parameters:
  26008. - description: 用户ID
  26009. in: query
  26010. name: userid
  26011. required: true
  26012. type: integer
  26013. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  26014. 7:已拒绝 8:已撤销
  26015. in: query
  26016. name: takeorderstatus
  26017. type: integer
  26018. produces:
  26019. - application/json
  26020. responses:
  26021. "200":
  26022. description: OK
  26023. schema:
  26024. items:
  26025. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  26026. type: array
  26027. "500":
  26028. description: Internal Server Error
  26029. schema:
  26030. $ref: '#/definitions/app.Response'
  26031. security:
  26032. - ApiKeyAuth: []
  26033. summary: 查询提货
  26034. tags:
  26035. - 大连千海金
  26036. /Qhj/QueryUserCollectConfig:
  26037. get:
  26038. parameters:
  26039. - description: 用户ID
  26040. in: query
  26041. name: userid
  26042. required: true
  26043. type: integer
  26044. produces:
  26045. - application/json
  26046. responses:
  26047. "200":
  26048. description: OK
  26049. schema:
  26050. items:
  26051. $ref: '#/definitions/models.UserCollectConfig'
  26052. type: array
  26053. "500":
  26054. description: Internal Server Error
  26055. schema:
  26056. $ref: '#/definitions/app.Response'
  26057. security:
  26058. - ApiKeyAuth: []
  26059. summary: 查询提现账户设置
  26060. tags:
  26061. - 大连千海金
  26062. /Qhj/QueryUserReceiveInfo:
  26063. get:
  26064. parameters:
  26065. - description: 用户ID
  26066. in: query
  26067. name: userid
  26068. required: true
  26069. type: integer
  26070. produces:
  26071. - application/json
  26072. responses:
  26073. "200":
  26074. description: OK
  26075. schema:
  26076. items:
  26077. $ref: '#/definitions/models.UserReceiveInfo'
  26078. type: array
  26079. "500":
  26080. description: Internal Server Error
  26081. schema:
  26082. $ref: '#/definitions/app.Response'
  26083. security:
  26084. - ApiKeyAuth: []
  26085. summary: 查询收货地址信息
  26086. tags:
  26087. - 大连千海金
  26088. /QhjMgr/QueryAccountInOutApply:
  26089. get:
  26090. parameters:
  26091. - description: 查询类型 1-提现(出金) 2-充值(出金)
  26092. in: query
  26093. name: querytype
  26094. required: true
  26095. type: integer
  26096. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  26097. in: query
  26098. name: applystatus
  26099. type: integer
  26100. - description: 申请起始日期(格式yyyymmdd)
  26101. in: query
  26102. name: begindate
  26103. type: string
  26104. - description: 申请截止日期(格式yyyymmdd)
  26105. in: query
  26106. name: enddate
  26107. type: string
  26108. - description: 模糊搜索名称
  26109. in: query
  26110. name: likename
  26111. type: string
  26112. produces:
  26113. - application/json
  26114. responses:
  26115. "200":
  26116. description: OK
  26117. schema:
  26118. items:
  26119. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  26120. type: array
  26121. "500":
  26122. description: Internal Server Error
  26123. schema:
  26124. $ref: '#/definitions/app.Response'
  26125. security:
  26126. - ApiKeyAuth: []
  26127. summary: 查询充值提现
  26128. tags:
  26129. - 大连千海金(PCWeb)
  26130. /QhjMgr/QueryBrokerApply:
  26131. get:
  26132. parameters:
  26133. - description: 所属机构ID
  26134. in: query
  26135. name: userid
  26136. type: integer
  26137. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26138. in: query
  26139. name: filterstatus
  26140. type: string
  26141. - description: 名称(模糊匹配)
  26142. in: query
  26143. name: filtername
  26144. type: string
  26145. - description: 是否包含子级 1-包含
  26146. in: query
  26147. name: includesub
  26148. type: integer
  26149. produces:
  26150. - application/json
  26151. responses:
  26152. "200":
  26153. description: OK
  26154. schema:
  26155. items:
  26156. $ref: '#/definitions/models.QhjMgrBrokerApply'
  26157. type: array
  26158. "500":
  26159. description: Internal Server Error
  26160. schema:
  26161. $ref: '#/definitions/app.Response'
  26162. security:
  26163. - ApiKeyAuth: []
  26164. summary: 查询经纪人申请
  26165. tags:
  26166. - 大连千海金(PCWeb)
  26167. /QhjMgr/QueryBrokerRewardReport:
  26168. get:
  26169. parameters:
  26170. - description: 所属机构ID
  26171. in: query
  26172. name: userid
  26173. required: true
  26174. type: integer
  26175. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26176. in: query
  26177. name: cycletype
  26178. required: true
  26179. type: integer
  26180. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  26181. in: query
  26182. name: cycletime
  26183. required: true
  26184. type: string
  26185. - description: 名称(模糊匹配)
  26186. in: query
  26187. name: filtername
  26188. type: string
  26189. - description: 是否包含子级 1-包含
  26190. in: query
  26191. name: includesub
  26192. type: integer
  26193. produces:
  26194. - application/json
  26195. responses:
  26196. "200":
  26197. description: OK
  26198. schema:
  26199. items:
  26200. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  26201. type: array
  26202. "500":
  26203. description: Internal Server Error
  26204. schema:
  26205. $ref: '#/definitions/app.Response'
  26206. security:
  26207. - ApiKeyAuth: []
  26208. summary: 查询经纪人奖励报表(废弃)
  26209. tags:
  26210. - 大连千海金(PCWeb)
  26211. /QhjMgr/QueryContract:
  26212. get:
  26213. parameters:
  26214. - description: 用户ID
  26215. in: query
  26216. name: userid
  26217. type: integer
  26218. - description: 商品id
  26219. in: query
  26220. name: goodsid
  26221. type: integer
  26222. - description: 名称(模糊搜索账户)
  26223. in: query
  26224. name: filtername
  26225. type: string
  26226. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  26227. in: query
  26228. name: risklevel
  26229. type: string
  26230. - description: 开始交易日(yyyymmdd)
  26231. in: query
  26232. name: begindate
  26233. type: string
  26234. - description: 结束交易日(yyyymmdd)
  26235. in: query
  26236. name: enddate
  26237. type: string
  26238. produces:
  26239. - application/json
  26240. responses:
  26241. "200":
  26242. description: OK
  26243. schema:
  26244. items:
  26245. $ref: '#/definitions/models.QhjMgrContract'
  26246. type: array
  26247. "500":
  26248. description: Internal Server Error
  26249. schema:
  26250. $ref: '#/definitions/app.Response'
  26251. security:
  26252. - ApiKeyAuth: []
  26253. summary: 查询融资信息(合同)
  26254. tags:
  26255. - 大连千海金(PCWeb)
  26256. /QhjMgr/QueryCustomerInfo:
  26257. get:
  26258. parameters:
  26259. - description: 用户ID
  26260. in: query
  26261. name: userid
  26262. required: true
  26263. type: integer
  26264. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26265. in: query
  26266. name: querytype
  26267. required: true
  26268. type: integer
  26269. - description: 客户类型 1-个人 2-企业
  26270. in: query
  26271. name: userinfotype
  26272. type: integer
  26273. - description: 客户名称(模糊匹配)
  26274. in: query
  26275. name: customername
  26276. type: string
  26277. - description: 昵称(模糊匹配)
  26278. in: query
  26279. name: nickname
  26280. type: string
  26281. - description: 所属客户经理(模糊匹配)
  26282. in: query
  26283. name: brokername
  26284. type: string
  26285. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  26286. 如0503 -5月3日)
  26287. in: query
  26288. name: birthday
  26289. type: string
  26290. - description: 是否包含子级 1-包含
  26291. in: query
  26292. name: includesub
  26293. type: integer
  26294. produces:
  26295. - application/json
  26296. responses:
  26297. "200":
  26298. description: OK
  26299. schema:
  26300. items:
  26301. $ref: '#/definitions/models.QhjMgrCustomer'
  26302. type: array
  26303. "500":
  26304. description: Internal Server Error
  26305. schema:
  26306. $ref: '#/definitions/app.Response'
  26307. security:
  26308. - ApiKeyAuth: []
  26309. summary: 查询客户资料
  26310. tags:
  26311. - 大连千海金(PCWeb)
  26312. /QhjMgr/QueryPickGoods:
  26313. get:
  26314. parameters:
  26315. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26316. in: query
  26317. name: status
  26318. type: string
  26319. produces:
  26320. - application/json
  26321. responses:
  26322. "200":
  26323. description: OK
  26324. schema:
  26325. items:
  26326. $ref: '#/definitions/models.QhjMgrPickGoods'
  26327. type: array
  26328. "500":
  26329. description: Internal Server Error
  26330. schema:
  26331. $ref: '#/definitions/app.Response'
  26332. security:
  26333. - ApiKeyAuth: []
  26334. summary: 查询提货商品
  26335. tags:
  26336. - 大连千海金(PCWeb)
  26337. /QhjMgr/QuerySubArea:
  26338. get:
  26339. parameters:
  26340. - description: 用户ID
  26341. in: query
  26342. name: userid
  26343. required: true
  26344. type: integer
  26345. produces:
  26346. - application/json
  26347. responses:
  26348. "200":
  26349. description: OK
  26350. schema:
  26351. items:
  26352. $ref: '#/definitions/models.QhjMgrSubArea'
  26353. type: array
  26354. "500":
  26355. description: Internal Server Error
  26356. schema:
  26357. $ref: '#/definitions/app.Response'
  26358. security:
  26359. - ApiKeyAuth: []
  26360. summary: 查询子机构列表
  26361. tags:
  26362. - 大连千海金(PCWeb)
  26363. /QhjMgr/QueryTradeDetail:
  26364. get:
  26365. parameters:
  26366. - description: 用户ID
  26367. in: query
  26368. name: userid
  26369. required: true
  26370. type: integer
  26371. - description: 用户类型 1-个人 2-企业
  26372. in: query
  26373. name: userinfotype
  26374. type: integer
  26375. - description: 交易模式
  26376. in: query
  26377. name: trademode
  26378. type: integer
  26379. - description: 商品id
  26380. in: query
  26381. name: goodsid
  26382. type: integer
  26383. - description: 名称(模糊搜索账户)
  26384. in: query
  26385. name: filtername
  26386. type: string
  26387. - description: 开始交易日(yyyymmdd)
  26388. in: query
  26389. name: begindate
  26390. type: string
  26391. - description: 结束交易日(yyyymmdd)
  26392. in: query
  26393. name: enddate
  26394. type: string
  26395. - description: 是否包含子级 1-包含
  26396. in: query
  26397. name: includesub
  26398. type: integer
  26399. produces:
  26400. - application/json
  26401. responses:
  26402. "200":
  26403. description: OK
  26404. schema:
  26405. items:
  26406. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  26407. type: array
  26408. "500":
  26409. description: Internal Server Error
  26410. schema:
  26411. $ref: '#/definitions/app.Response'
  26412. security:
  26413. - ApiKeyAuth: []
  26414. summary: 查询成交明细
  26415. tags:
  26416. - 大连千海金(PCWeb)
  26417. /QhjMgr/QueryTradeOrderDetail:
  26418. get:
  26419. parameters:
  26420. - description: 用户ID
  26421. in: query
  26422. name: userid
  26423. required: true
  26424. type: integer
  26425. - description: 用户类型 1-个人 2-企业
  26426. in: query
  26427. name: userinfotype
  26428. type: integer
  26429. - description: 交易模式
  26430. in: query
  26431. name: trademode
  26432. type: integer
  26433. - description: 商品id
  26434. in: query
  26435. name: goodsid
  26436. type: integer
  26437. - description: 名称(模糊搜索账户)
  26438. in: query
  26439. name: filtername
  26440. type: string
  26441. - description: 开始交易日(yyyymmdd)
  26442. in: query
  26443. name: begindate
  26444. type: string
  26445. - description: 结束交易日(yyyymmdd)
  26446. in: query
  26447. name: enddate
  26448. type: string
  26449. - description: 是否包含子级 1-包含
  26450. in: query
  26451. name: includesub
  26452. type: integer
  26453. produces:
  26454. - application/json
  26455. responses:
  26456. "200":
  26457. description: OK
  26458. schema:
  26459. items:
  26460. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  26461. type: array
  26462. "500":
  26463. description: Internal Server Error
  26464. schema:
  26465. $ref: '#/definitions/app.Response'
  26466. security:
  26467. - ApiKeyAuth: []
  26468. summary: 查询委托明细
  26469. tags:
  26470. - 大连千海金(PCWeb)
  26471. /QhjMgr/QueryTradePayOrder:
  26472. get:
  26473. parameters:
  26474. - description: 用户ID
  26475. in: query
  26476. name: userid
  26477. required: true
  26478. type: integer
  26479. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26480. in: query
  26481. name: payflag
  26482. type: string
  26483. - description: 用户类型 1-个人 2-企业
  26484. in: query
  26485. name: userinfotype
  26486. type: integer
  26487. - description: 交易模式
  26488. in: query
  26489. name: trademode
  26490. type: integer
  26491. - description: 商品id
  26492. in: query
  26493. name: goodsid
  26494. type: integer
  26495. - description: 名称(模糊搜索账户)
  26496. in: query
  26497. name: filtername
  26498. type: string
  26499. - description: 开始交易日(yyyymmdd)
  26500. in: query
  26501. name: begindate
  26502. type: string
  26503. - description: 结束交易日(yyyymmdd)
  26504. in: query
  26505. name: enddate
  26506. type: string
  26507. - description: 是否包含子级 1-包含
  26508. in: query
  26509. name: includesub
  26510. type: integer
  26511. produces:
  26512. - application/json
  26513. responses:
  26514. "200":
  26515. description: OK
  26516. schema:
  26517. items:
  26518. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  26519. type: array
  26520. "500":
  26521. description: Internal Server Error
  26522. schema:
  26523. $ref: '#/definitions/app.Response'
  26524. security:
  26525. - ApiKeyAuth: []
  26526. summary: 查询待付款单
  26527. tags:
  26528. - 大连千海金(PCWeb)
  26529. /QhjMgr/QueryTradePosition:
  26530. get:
  26531. parameters:
  26532. - description: 用户ID
  26533. in: query
  26534. name: userid
  26535. required: true
  26536. type: integer
  26537. - description: 用户类型 1-个人 2-企业
  26538. in: query
  26539. name: userinfotype
  26540. type: integer
  26541. - description: 交易模式
  26542. in: query
  26543. name: trademode
  26544. type: integer
  26545. - description: 商品id
  26546. in: query
  26547. name: goodsid
  26548. type: integer
  26549. - description: 名称(模糊搜索账户)
  26550. in: query
  26551. name: filtername
  26552. type: string
  26553. - description: 是否包含子级 1-包含
  26554. in: query
  26555. name: includesub
  26556. type: integer
  26557. produces:
  26558. - application/json
  26559. responses:
  26560. "200":
  26561. description: OK
  26562. schema:
  26563. items:
  26564. $ref: '#/definitions/models.QhjMgrPositionRsp'
  26565. type: array
  26566. "500":
  26567. description: Internal Server Error
  26568. schema:
  26569. $ref: '#/definitions/app.Response'
  26570. security:
  26571. - ApiKeyAuth: []
  26572. summary: 查询持仓汇总
  26573. tags:
  26574. - 大连千海金(PCWeb)
  26575. /QhjSys/QueryAgreementChangeLog:
  26576. get:
  26577. parameters:
  26578. - description: 协议ID
  26579. in: query
  26580. name: agreementid
  26581. type: integer
  26582. - description: 协议版本号
  26583. in: query
  26584. name: agreementversion
  26585. type: integer
  26586. - description: 协议类型 - 1:注册 2:登录 3:交易
  26587. in: query
  26588. name: agreementtype
  26589. type: integer
  26590. - description: 协议编号(模糊匹配)
  26591. in: query
  26592. name: agreementno
  26593. type: string
  26594. - description: 协议名称(模糊匹配)
  26595. in: query
  26596. name: agreementname
  26597. type: string
  26598. produces:
  26599. - application/json
  26600. responses:
  26601. "200":
  26602. description: OK
  26603. schema:
  26604. items:
  26605. $ref: '#/definitions/models.QhjAgreementChangeLog'
  26606. type: array
  26607. "500":
  26608. description: Internal Server Error
  26609. schema:
  26610. $ref: '#/definitions/app.Response'
  26611. security:
  26612. - ApiKeyAuth: []
  26613. summary: 查询协议配置变更流水
  26614. tags:
  26615. - 大连千海金(协议和签约信息)
  26616. /QhjSys/QueryAgreementConfig:
  26617. get:
  26618. parameters:
  26619. - description: 协议ID
  26620. in: query
  26621. name: agreementid
  26622. type: integer
  26623. - description: 协议版本号
  26624. in: query
  26625. name: agreementversion
  26626. type: integer
  26627. - description: 协议类型 - 1:注册 2:登录 3:交易
  26628. in: query
  26629. name: agreementtype
  26630. type: integer
  26631. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  26632. in: query
  26633. name: isvalid
  26634. type: integer
  26635. - description: 协议编号(模糊匹配)
  26636. in: query
  26637. name: agreementno
  26638. type: string
  26639. - description: 协议名称(模糊匹配)
  26640. in: query
  26641. name: agreementname
  26642. type: string
  26643. produces:
  26644. - application/json
  26645. responses:
  26646. "200":
  26647. description: OK
  26648. schema:
  26649. items:
  26650. $ref: '#/definitions/models.QhjAgreementConfig'
  26651. type: array
  26652. "500":
  26653. description: Internal Server Error
  26654. schema:
  26655. $ref: '#/definitions/app.Response'
  26656. security:
  26657. - ApiKeyAuth: []
  26658. summary: 查询协议配置
  26659. tags:
  26660. - 大连千海金(协议和签约信息)
  26661. /QhjSys/QueryCustomerSignStatus:
  26662. get:
  26663. parameters:
  26664. - description: 客户ID
  26665. in: query
  26666. name: userid
  26667. type: integer
  26668. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  26669. in: query
  26670. name: nodetype
  26671. type: integer
  26672. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26673. in: query
  26674. name: goodsid
  26675. type: integer
  26676. - description: 创建交易日(yyyyMMdd)
  26677. in: query
  26678. name: tradedate
  26679. type: string
  26680. - description: 用户名称(模糊匹配)
  26681. in: query
  26682. name: username
  26683. type: string
  26684. produces:
  26685. - application/json
  26686. responses:
  26687. "200":
  26688. description: OK
  26689. schema:
  26690. items:
  26691. $ref: '#/definitions/models.QhjCustomerSignStatus'
  26692. type: array
  26693. "500":
  26694. description: Internal Server Error
  26695. schema:
  26696. $ref: '#/definitions/app.Response'
  26697. security:
  26698. - ApiKeyAuth: []
  26699. summary: 查询客户协议签约状态
  26700. tags:
  26701. - 大连千海金(协议和签约信息)
  26702. /QhjSys/QueryNodeAgreementConfig:
  26703. get:
  26704. parameters:
  26705. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26706. in: query
  26707. name: configid
  26708. type: integer
  26709. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26710. in: query
  26711. name: nodetype
  26712. type: integer
  26713. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26714. in: query
  26715. name: goodsid
  26716. type: integer
  26717. - description: 协议ID
  26718. in: query
  26719. name: agreementid
  26720. type: integer
  26721. - description: 协议类型 - 1:注册 2:登录 3:交易
  26722. in: query
  26723. name: agreementtype
  26724. type: integer
  26725. - description: 协议版本号
  26726. in: query
  26727. name: agreementversion
  26728. type: integer
  26729. - description: 协议编号(模糊匹配)
  26730. in: query
  26731. name: agreementno
  26732. type: string
  26733. - description: 协议名称(模糊匹配)
  26734. in: query
  26735. name: agreementname
  26736. type: string
  26737. produces:
  26738. - application/json
  26739. responses:
  26740. "200":
  26741. description: OK
  26742. schema:
  26743. items:
  26744. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  26745. type: array
  26746. "500":
  26747. description: Internal Server Error
  26748. schema:
  26749. $ref: '#/definitions/app.Response'
  26750. security:
  26751. - ApiKeyAuth: []
  26752. summary: 查询协议节点配置
  26753. tags:
  26754. - 大连千海金(协议和签约信息)
  26755. /QhjSys/QueryQhjCustomerSignLog:
  26756. get:
  26757. parameters:
  26758. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  26759. in: query
  26760. name: logid
  26761. type: integer
  26762. - description: 客户ID
  26763. in: query
  26764. name: userid
  26765. type: integer
  26766. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26767. in: query
  26768. name: nodetype
  26769. type: integer
  26770. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26771. in: query
  26772. name: goodsid
  26773. type: integer
  26774. - description: 协议ID
  26775. in: query
  26776. name: agreementid
  26777. type: integer
  26778. - description: 用户名称(模糊匹配)
  26779. in: query
  26780. name: username
  26781. type: string
  26782. - description: 协议编号(模糊匹配)
  26783. in: query
  26784. name: agreementno
  26785. type: string
  26786. - description: 协议名称(模糊匹配)
  26787. in: query
  26788. name: agreementname
  26789. type: string
  26790. produces:
  26791. - application/json
  26792. responses:
  26793. "200":
  26794. description: OK
  26795. schema:
  26796. items:
  26797. $ref: '#/definitions/models.QhjCustomerSignLog'
  26798. type: array
  26799. "500":
  26800. description: Internal Server Error
  26801. schema:
  26802. $ref: '#/definitions/app.Response'
  26803. security:
  26804. - ApiKeyAuth: []
  26805. summary: 查询客户协议签约流水
  26806. tags:
  26807. - 大连千海金(协议和签约信息)
  26808. /QhjSys/QueryUserNodeCfgAndStatus:
  26809. get:
  26810. parameters:
  26811. - description: 客户ID
  26812. in: query
  26813. name: userid
  26814. type: integer
  26815. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26816. in: query
  26817. name: configid
  26818. type: integer
  26819. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26820. in: query
  26821. name: nodetype
  26822. type: string
  26823. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26824. in: query
  26825. name: goodsid
  26826. type: integer
  26827. - description: 协议ID
  26828. in: query
  26829. name: agreementid
  26830. type: integer
  26831. - description: 协议类型 - 1:注册 2:登录 3:交易
  26832. in: query
  26833. name: agreementtype
  26834. type: integer
  26835. - description: 协议版本号
  26836. in: query
  26837. name: agreementversion
  26838. type: integer
  26839. - description: 协议编号(模糊匹配)
  26840. in: query
  26841. name: agreementno
  26842. type: string
  26843. - description: 协议名称(模糊匹配)
  26844. in: query
  26845. name: agreementname
  26846. type: string
  26847. produces:
  26848. - application/json
  26849. responses:
  26850. "200":
  26851. description: OK
  26852. schema:
  26853. items:
  26854. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26855. type: array
  26856. "500":
  26857. description: Internal Server Error
  26858. schema:
  26859. $ref: '#/definitions/app.Response'
  26860. security:
  26861. - ApiKeyAuth: []
  26862. summary: 查询用户协议节点配置和状态
  26863. tags:
  26864. - 大连千海金(协议和签约信息)
  26865. /Quote/QueryHistoryDatas:
  26866. get:
  26867. parameters:
  26868. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26869. 日线 12:周线 13:月线 14:年线'
  26870. in: query
  26871. name: cycleType
  26872. required: true
  26873. type: integer
  26874. - description: 商品代码
  26875. in: query
  26876. name: goodsCode
  26877. required: true
  26878. type: string
  26879. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26880. in: query
  26881. name: startTime
  26882. type: string
  26883. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26884. in: query
  26885. name: endTime
  26886. type: string
  26887. - description: 条数
  26888. in: query
  26889. name: count
  26890. type: integer
  26891. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26892. in: query
  26893. name: isAsc
  26894. type: boolean
  26895. produces:
  26896. - application/json
  26897. responses:
  26898. "200":
  26899. description: OK
  26900. schema:
  26901. $ref: '#/definitions/quote.HistoryData'
  26902. "500":
  26903. description: Internal Server Error
  26904. schema:
  26905. $ref: '#/definitions/app.Response'
  26906. security:
  26907. - ApiKeyAuth: []
  26908. summary: 查询行情历史数据
  26909. tags:
  26910. - 行情服务
  26911. /Quote/QueryHistoryTikDatas:
  26912. get:
  26913. parameters:
  26914. - description: 商品代码
  26915. in: query
  26916. name: goodsCode
  26917. required: true
  26918. type: string
  26919. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26920. in: query
  26921. name: startTime
  26922. type: string
  26923. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26924. in: query
  26925. name: endTime
  26926. type: string
  26927. - description: 条数
  26928. in: query
  26929. name: count
  26930. type: integer
  26931. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26932. in: query
  26933. name: isAsc
  26934. type: boolean
  26935. produces:
  26936. - application/json
  26937. responses:
  26938. "200":
  26939. description: OK
  26940. schema:
  26941. $ref: '#/definitions/quote.HistoryTikData'
  26942. "500":
  26943. description: Internal Server Error
  26944. schema:
  26945. $ref: '#/definitions/app.Response'
  26946. security:
  26947. - ApiKeyAuth: []
  26948. summary: 查询行情Tik数据
  26949. tags:
  26950. - 行情服务
  26951. /Quote/QueryQuoteDay:
  26952. get:
  26953. parameters:
  26954. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26955. in: query
  26956. name: goodsCodes
  26957. type: string
  26958. produces:
  26959. - application/json
  26960. responses:
  26961. "200":
  26962. description: OK
  26963. schema:
  26964. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26965. "500":
  26966. description: Internal Server Error
  26967. schema:
  26968. $ref: '#/definitions/app.Response'
  26969. security:
  26970. - ApiKeyAuth: []
  26971. summary: 获取商品盘面信息
  26972. tags:
  26973. - 行情服务
  26974. /Quote/QueryTSData:
  26975. get:
  26976. parameters:
  26977. - description: 商品代码
  26978. in: query
  26979. name: goodsCode
  26980. required: true
  26981. type: string
  26982. produces:
  26983. - application/json
  26984. responses:
  26985. "200":
  26986. description: OK
  26987. schema:
  26988. $ref: '#/definitions/quote.QueryTSDataRsp'
  26989. "500":
  26990. description: Internal Server Error
  26991. schema:
  26992. $ref: '#/definitions/app.Response'
  26993. security:
  26994. - ApiKeyAuth: []
  26995. summary: 分时图数据查询
  26996. tags:
  26997. - 行情服务
  26998. /SZDZ/QueryConvertConfig:
  26999. get:
  27000. parameters:
  27001. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  27002. 6:交易转花生米(不设置)
  27003. in: query
  27004. name: convertType
  27005. type: integer
  27006. - description: 外部商品代码[JD\PD]
  27007. in: query
  27008. name: outerGoodsCode
  27009. type: string
  27010. - description: 内部商品ID列表[交易],格式:1,2,3
  27011. in: query
  27012. name: innerGoodsIDs
  27013. type: string
  27014. produces:
  27015. - application/json
  27016. responses:
  27017. "200":
  27018. description: OK
  27019. schema:
  27020. $ref: '#/definitions/models.Szdz3convertconfig'
  27021. "500":
  27022. description: Internal Server Error
  27023. schema:
  27024. $ref: '#/definitions/app.Response'
  27025. security:
  27026. - ApiKeyAuth: []
  27027. summary: 查询交易系统转换设置
  27028. tags:
  27029. - 定制【尚志大宗】
  27030. /SZDZ/QueryConvertLog:
  27031. get:
  27032. parameters:
  27033. - description: 资金账户 - 格式:1,2,3
  27034. in: query
  27035. name: accountID
  27036. required: true
  27037. type: string
  27038. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27039. in: query
  27040. name: startDate
  27041. type: string
  27042. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27043. in: query
  27044. name: endDate
  27045. type: string
  27046. produces:
  27047. - application/json
  27048. responses:
  27049. "200":
  27050. description: OK
  27051. schema:
  27052. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  27053. "500":
  27054. description: Internal Server Error
  27055. schema:
  27056. $ref: '#/definitions/app.Response'
  27057. security:
  27058. - ApiKeyAuth: []
  27059. summary: 交易系统转换流水查询
  27060. tags:
  27061. - 定制【尚志大宗】
  27062. /SZDZ/QueryGoodsPickup:
  27063. get:
  27064. parameters:
  27065. - description: 资金账户 - 格式:1,2,3
  27066. in: query
  27067. name: accountID
  27068. required: true
  27069. type: string
  27070. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  27071. in: query
  27072. name: takeOrderStatus
  27073. type: integer
  27074. produces:
  27075. - application/json
  27076. responses:
  27077. "200":
  27078. description: OK
  27079. schema:
  27080. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  27081. "500":
  27082. description: Internal Server Error
  27083. schema:
  27084. $ref: '#/definitions/app.Response'
  27085. security:
  27086. - ApiKeyAuth: []
  27087. summary: 商品提货单查询
  27088. tags:
  27089. - 定制【尚志大宗】
  27090. /SZDZ/QueryRecieptOrder:
  27091. get:
  27092. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27093. parameters:
  27094. - description: 页码
  27095. in: query
  27096. name: page
  27097. type: integer
  27098. - description: 每页条数
  27099. in: query
  27100. name: pagesize
  27101. type: integer
  27102. - description: 商品ID
  27103. in: query
  27104. name: goodsID
  27105. required: true
  27106. type: integer
  27107. - description: 所属账户名称
  27108. in: query
  27109. name: accountName
  27110. type: string
  27111. - description: 市场ID
  27112. in: query
  27113. name: marketID
  27114. type: integer
  27115. - description: 方向 - 0:买 1:卖
  27116. in: query
  27117. name: buyorsell
  27118. required: true
  27119. type: integer
  27120. produces:
  27121. - application/json
  27122. responses:
  27123. "200":
  27124. description: OK
  27125. schema:
  27126. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  27127. "500":
  27128. description: Internal Server Error
  27129. schema:
  27130. $ref: '#/definitions/app.Response'
  27131. security:
  27132. - ApiKeyAuth: []
  27133. summary: 点选挂牌委托单据查询(摘牌大厅)
  27134. tags:
  27135. - 定制【尚志大宗】
  27136. /SZDZ/QuerySZDZTradePosition:
  27137. get:
  27138. parameters:
  27139. - description: 资金账户
  27140. in: query
  27141. name: accountID
  27142. required: true
  27143. type: integer
  27144. produces:
  27145. - application/json
  27146. responses:
  27147. "200":
  27148. description: OK
  27149. schema:
  27150. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  27151. "500":
  27152. description: Internal Server Error
  27153. schema:
  27154. $ref: '#/definitions/app.Response'
  27155. security:
  27156. - ApiKeyAuth: []
  27157. summary: 持仓汇总查询(尚志大宗)
  27158. tags:
  27159. - 定制【尚志大宗】
  27160. /SZDZ/SearchWhite:
  27161. get:
  27162. parameters:
  27163. - description: 用户ID
  27164. in: query
  27165. name: userID
  27166. required: true
  27167. type: integer
  27168. produces:
  27169. - application/json
  27170. responses:
  27171. "200":
  27172. description: OK
  27173. schema:
  27174. $ref: '#/definitions/models.Szdz3searchwhitelist'
  27175. "500":
  27176. description: Internal Server Error
  27177. schema:
  27178. $ref: '#/definitions/app.Response'
  27179. security:
  27180. - ApiKeyAuth: []
  27181. summary: 搜索白名单
  27182. tags:
  27183. - 定制【尚志大宗】
  27184. /Search/SearchGoodses:
  27185. get:
  27186. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  27187. parameters:
  27188. - description: 检索内容
  27189. in: query
  27190. name: content
  27191. required: true
  27192. type: string
  27193. - description: 交易模式,格式:1,2,3
  27194. in: query
  27195. name: tradeModes
  27196. type: string
  27197. produces:
  27198. - application/json
  27199. responses:
  27200. "200":
  27201. description: OK
  27202. schema:
  27203. $ref: '#/definitions/models.SearchGoods'
  27204. "500":
  27205. description: Internal Server Error
  27206. schema:
  27207. $ref: '#/definitions/app.Response'
  27208. summary: 检索商品信息
  27209. tags:
  27210. - 检索服务
  27211. /TaAccount/GetTaAccounts:
  27212. get:
  27213. parameters:
  27214. - description: 登录账户
  27215. in: query
  27216. name: loginID
  27217. required: true
  27218. type: integer
  27219. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  27220. in: query
  27221. name: taAccountType
  27222. type: integer
  27223. produces:
  27224. - application/json
  27225. responses:
  27226. "200":
  27227. description: OK
  27228. schema:
  27229. $ref: '#/definitions/models.Taaccount'
  27230. "500":
  27231. description: Internal Server Error
  27232. schema:
  27233. $ref: '#/definitions/app.Response'
  27234. security:
  27235. - ApiKeyAuth: []
  27236. summary: 获取资金账户信息
  27237. tags:
  27238. - 资金账户
  27239. /TaAccount/QueryAmountLog:
  27240. get:
  27241. parameters:
  27242. - description: 页码
  27243. in: query
  27244. name: page
  27245. type: integer
  27246. - description: 每页条数
  27247. in: query
  27248. name: pagesize
  27249. type: integer
  27250. - description: 资金账户 - 格式:1,2,3
  27251. in: query
  27252. name: accountID
  27253. required: true
  27254. type: string
  27255. - description: 资金操作类型 - 格式:1,2,3
  27256. in: query
  27257. name: OperateType
  27258. type: string
  27259. produces:
  27260. - application/json
  27261. responses:
  27262. "200":
  27263. description: OK
  27264. schema:
  27265. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  27266. "500":
  27267. description: Internal Server Error
  27268. schema:
  27269. $ref: '#/definitions/app.Response'
  27270. security:
  27271. - ApiKeyAuth: []
  27272. summary: 资金流水查询(当前)
  27273. tags:
  27274. - 资金账户
  27275. /TaAccount/QueryHisAmountLog:
  27276. get:
  27277. parameters:
  27278. - description: 页码
  27279. in: query
  27280. name: page
  27281. type: integer
  27282. - description: 每页条数
  27283. in: query
  27284. name: pagesize
  27285. type: integer
  27286. - description: 资金账户 - 格式:1,2,3
  27287. in: query
  27288. name: accountID
  27289. required: true
  27290. type: string
  27291. - description: 资金操作类型 - 格式:1,2,3
  27292. in: query
  27293. name: OperateType
  27294. type: string
  27295. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27296. in: query
  27297. name: startDate
  27298. type: string
  27299. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27300. in: query
  27301. name: endDate
  27302. type: string
  27303. produces:
  27304. - application/json
  27305. responses:
  27306. "200":
  27307. description: OK
  27308. schema:
  27309. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  27310. "500":
  27311. description: Internal Server Error
  27312. schema:
  27313. $ref: '#/definitions/app.Response'
  27314. security:
  27315. - ApiKeyAuth: []
  27316. summary: 资金流水查询(历史)
  27317. tags:
  27318. - 资金账户
  27319. /TaAccount/QueryRelatedTaAccount:
  27320. get:
  27321. parameters:
  27322. - description: 关联UserID
  27323. in: query
  27324. name: relateduserid
  27325. required: true
  27326. type: integer
  27327. produces:
  27328. - application/json
  27329. responses:
  27330. "200":
  27331. description: OK
  27332. schema:
  27333. items:
  27334. $ref: '#/definitions/models.RelatedTaAccount'
  27335. type: array
  27336. "500":
  27337. description: Internal Server Error
  27338. schema:
  27339. $ref: '#/definitions/app.Response'
  27340. security:
  27341. - ApiKeyAuth: []
  27342. summary: 查询关联资金账户信息
  27343. tags:
  27344. - 资金账户
  27345. /Tjmd/QueryQuoteGoodsList:
  27346. get:
  27347. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  27348. parameters:
  27349. - description: 用户类型
  27350. in: query
  27351. name: usertype
  27352. required: true
  27353. type: integer
  27354. - description: 市场id, 格式 1,2,3
  27355. in: query
  27356. name: marketids
  27357. type: string
  27358. - description: 商品组id
  27359. in: query
  27360. name: goodsgroupid
  27361. type: integer
  27362. - description: 商品id
  27363. in: query
  27364. name: goodsid
  27365. type: integer
  27366. produces:
  27367. - application/json
  27368. responses:
  27369. "200":
  27370. description: OK
  27371. schema:
  27372. items:
  27373. $ref: '#/definitions/models.TjmdQuoteGoods'
  27374. type: array
  27375. "500":
  27376. description: Internal Server Error
  27377. schema:
  27378. $ref: '#/definitions/app.Response'
  27379. security:
  27380. - ApiKeyAuth: []
  27381. summary: 查询掉期报价列表
  27382. tags:
  27383. - 天津麦顿
  27384. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  27385. get:
  27386. parameters:
  27387. - description: 成交单号
  27388. in: query
  27389. name: tradeid
  27390. required: true
  27391. type: string
  27392. produces:
  27393. - application/json
  27394. responses:
  27395. "200":
  27396. description: OK
  27397. schema:
  27398. items:
  27399. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  27400. type: array
  27401. "500":
  27402. description: Internal Server Error
  27403. schema:
  27404. $ref: '#/definitions/app.Response'
  27405. security:
  27406. - ApiKeyAuth: []
  27407. summary: 掉期商品订单详情(交易确认书)
  27408. tags:
  27409. - 天津麦顿
  27410. /Tjmd/QueryTjmdMarketSection:
  27411. get:
  27412. produces:
  27413. - application/json
  27414. responses:
  27415. "200":
  27416. description: OK
  27417. schema:
  27418. items:
  27419. $ref: '#/definitions/models.TjmdMarketSection'
  27420. type: array
  27421. "500":
  27422. description: Internal Server Error
  27423. schema:
  27424. $ref: '#/definitions/app.Response'
  27425. security:
  27426. - ApiKeyAuth: []
  27427. summary: 查询市场板块
  27428. tags:
  27429. - 天津麦顿
  27430. /Tjmd/QueryTjmdTodayAccountMargin:
  27431. get:
  27432. parameters:
  27433. - description: 市场id
  27434. in: query
  27435. name: marketid
  27436. type: string
  27437. - description: 商品id
  27438. in: query
  27439. name: goodsid
  27440. type: string
  27441. - description: 资金账号
  27442. in: query
  27443. name: accountid
  27444. type: string
  27445. produces:
  27446. - application/json
  27447. responses:
  27448. "200":
  27449. description: OK
  27450. schema:
  27451. items:
  27452. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  27453. type: array
  27454. "500":
  27455. description: Internal Server Error
  27456. schema:
  27457. $ref: '#/definitions/app.Response'
  27458. security:
  27459. - ApiKeyAuth: []
  27460. summary: 查询今日账户保证金配置
  27461. tags:
  27462. - 天津麦顿
  27463. /Tjmd/QueryTjmdTradeOrderDetail:
  27464. get:
  27465. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  27466. parameters:
  27467. - description: 页码
  27468. in: query
  27469. name: page
  27470. type: integer
  27471. - description: 每页条数
  27472. in: query
  27473. name: pagesize
  27474. type: integer
  27475. - description: 用户id
  27476. in: query
  27477. name: userid
  27478. required: true
  27479. type: integer
  27480. - description: 用户类型
  27481. in: query
  27482. name: usertype
  27483. required: true
  27484. type: integer
  27485. - description: 市场id, 格式 1,2,3
  27486. in: query
  27487. name: marketids
  27488. type: string
  27489. - description: 商品id
  27490. in: query
  27491. name: goodsid
  27492. required: true
  27493. type: integer
  27494. - description: 买卖方向 0-买 1-卖
  27495. in: query
  27496. name: buyorsell
  27497. required: true
  27498. type: integer
  27499. produces:
  27500. - application/json
  27501. responses:
  27502. "200":
  27503. description: OK
  27504. schema:
  27505. items:
  27506. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  27507. type: array
  27508. "500":
  27509. description: Internal Server Error
  27510. schema:
  27511. $ref: '#/definitions/app.Response'
  27512. security:
  27513. - ApiKeyAuth: []
  27514. summary: 查询掉期买卖大厅
  27515. tags:
  27516. - 天津麦顿
  27517. /Tjmd/QueryTjmdTransferApply:
  27518. get:
  27519. parameters:
  27520. - description: 类型 1-我的申请 2-对方申请
  27521. in: query
  27522. name: applytype
  27523. required: true
  27524. type: integer
  27525. - description: 市场id, 格式 1,2,3
  27526. in: query
  27527. name: marketids
  27528. type: string
  27529. - description: 资金账号, 格式 25000000001,25000000003
  27530. in: query
  27531. name: accountids
  27532. type: string
  27533. - description: 开始交易日(yyyymmdd)
  27534. in: query
  27535. name: begindate
  27536. type: string
  27537. - description: 结束交易日(yyyymmdd)
  27538. in: query
  27539. name: enddate
  27540. type: string
  27541. produces:
  27542. - application/json
  27543. responses:
  27544. "200":
  27545. description: OK
  27546. schema:
  27547. items:
  27548. $ref: '#/definitions/models.TjmdTransferApply'
  27549. type: array
  27550. "500":
  27551. description: Internal Server Error
  27552. schema:
  27553. $ref: '#/definitions/app.Response'
  27554. security:
  27555. - ApiKeyAuth: []
  27556. summary: 查询掉期协议单
  27557. tags:
  27558. - 天津麦顿
  27559. /Trade/QueryRecieptOrder:
  27560. get:
  27561. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27562. parameters:
  27563. - description: 页码
  27564. in: query
  27565. name: page
  27566. type: integer
  27567. - description: 每页条数
  27568. in: query
  27569. name: pagesize
  27570. type: integer
  27571. - description: 商品ID
  27572. in: query
  27573. name: goodsID
  27574. required: true
  27575. type: integer
  27576. - description: 所属账户名称
  27577. in: query
  27578. name: accountName
  27579. type: string
  27580. - description: 市场ID
  27581. in: query
  27582. name: marketID
  27583. type: integer
  27584. - description: 方向 - 0:买 1:卖
  27585. in: query
  27586. name: buyorsell
  27587. required: true
  27588. type: integer
  27589. produces:
  27590. - application/json
  27591. responses:
  27592. "200":
  27593. description: OK
  27594. schema:
  27595. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  27596. "500":
  27597. description: Internal Server Error
  27598. schema:
  27599. $ref: '#/definitions/app.Response'
  27600. security:
  27601. - ApiKeyAuth: []
  27602. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  27603. tags:
  27604. - 通用交易
  27605. /User/AddMessageBoard:
  27606. post:
  27607. parameters:
  27608. - description: 用户ID
  27609. in: query
  27610. name: userID
  27611. required: true
  27612. type: integer
  27613. - description: 留言信息
  27614. in: query
  27615. name: message
  27616. required: true
  27617. type: string
  27618. - description: 联系电话
  27619. in: query
  27620. name: contactNum
  27621. required: true
  27622. type: string
  27623. produces:
  27624. - application/json
  27625. responses:
  27626. "200":
  27627. description: OK
  27628. schema:
  27629. $ref: '#/definitions/app.Response'
  27630. "500":
  27631. description: Internal Server Error
  27632. schema:
  27633. $ref: '#/definitions/app.Response'
  27634. security:
  27635. - ApiKeyAuth: []
  27636. summary: 添加用户留言板信息
  27637. tags:
  27638. - 用户信息
  27639. /User/AddUserFavoriteGoods:
  27640. post:
  27641. parameters:
  27642. - description: 用户ID
  27643. in: query
  27644. name: userID
  27645. required: true
  27646. type: integer
  27647. - description: 商品ID
  27648. in: query
  27649. name: goodsID
  27650. required: true
  27651. type: integer
  27652. produces:
  27653. - application/json
  27654. responses:
  27655. "200":
  27656. description: OK
  27657. schema:
  27658. $ref: '#/definitions/app.Response'
  27659. "500":
  27660. description: Internal Server Error
  27661. schema:
  27662. $ref: '#/definitions/app.Response'
  27663. security:
  27664. - ApiKeyAuth: []
  27665. summary: 添加用户商品收藏信息
  27666. tags:
  27667. - 用户信息
  27668. /User/GetLoginID:
  27669. get:
  27670. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  27671. parameters:
  27672. - description: 登录代码
  27673. in: query
  27674. name: username
  27675. required: true
  27676. type: string
  27677. produces:
  27678. - application/json
  27679. responses:
  27680. "200":
  27681. description: OK
  27682. schema:
  27683. $ref: '#/definitions/app.Response'
  27684. "500":
  27685. description: Internal Server Error
  27686. schema:
  27687. $ref: '#/definitions/app.Response'
  27688. summary: 获取登录ID
  27689. tags:
  27690. - 用户信息
  27691. /User/GetUserAccount:
  27692. get:
  27693. parameters:
  27694. - description: 用户ID
  27695. in: query
  27696. name: userID
  27697. required: true
  27698. type: integer
  27699. produces:
  27700. - application/json
  27701. responses:
  27702. "200":
  27703. description: OK
  27704. schema:
  27705. $ref: '#/definitions/models.Useraccount'
  27706. "500":
  27707. description: Internal Server Error
  27708. schema:
  27709. $ref: '#/definitions/app.Response'
  27710. security:
  27711. - ApiKeyAuth: []
  27712. summary: 获取用户账号信息
  27713. tags:
  27714. - 用户信息
  27715. /User/GetUserAuthStatus:
  27716. get:
  27717. parameters:
  27718. - description: 用户ID
  27719. in: query
  27720. name: userID
  27721. required: true
  27722. type: integer
  27723. produces:
  27724. - application/json
  27725. responses:
  27726. "200":
  27727. description: OK
  27728. schema:
  27729. $ref: '#/definitions/app.Response'
  27730. "500":
  27731. description: Internal Server Error
  27732. schema:
  27733. $ref: '#/definitions/app.Response'
  27734. security:
  27735. - ApiKeyAuth: []
  27736. summary: 获取用户实名认证状态
  27737. tags:
  27738. - 用户信息
  27739. /User/LoginQuery:
  27740. get:
  27741. parameters:
  27742. - description: 登录账号
  27743. in: query
  27744. name: loginID
  27745. required: true
  27746. type: integer
  27747. produces:
  27748. - application/json
  27749. responses:
  27750. "200":
  27751. description: OK
  27752. schema:
  27753. $ref: '#/definitions/user.LoginQueryRsp'
  27754. "500":
  27755. description: Internal Server Error
  27756. schema:
  27757. $ref: '#/definitions/app.Response'
  27758. security:
  27759. - ApiKeyAuth: []
  27760. summary: 账户登录后信息查询
  27761. tags:
  27762. - 用户信息
  27763. /User/QueryMessageBoard:
  27764. get:
  27765. parameters:
  27766. - description: 用户ID
  27767. in: query
  27768. name: userID
  27769. required: true
  27770. type: integer
  27771. produces:
  27772. - application/json
  27773. responses:
  27774. "200":
  27775. description: OK
  27776. schema:
  27777. $ref: '#/definitions/models.Messageboard'
  27778. "500":
  27779. description: Internal Server Error
  27780. schema:
  27781. $ref: '#/definitions/app.Response'
  27782. security:
  27783. - ApiKeyAuth: []
  27784. summary: 获取用户留言板信息
  27785. tags:
  27786. - 用户信息
  27787. /User/QueryUserFavoriteGoodses:
  27788. get:
  27789. parameters:
  27790. - description: 用户ID
  27791. in: query
  27792. name: userID
  27793. required: true
  27794. type: integer
  27795. produces:
  27796. - application/json
  27797. responses:
  27798. "200":
  27799. description: OK
  27800. schema:
  27801. $ref: '#/definitions/models.Userfavoritegoods'
  27802. "500":
  27803. description: Internal Server Error
  27804. schema:
  27805. $ref: '#/definitions/app.Response'
  27806. security:
  27807. - ApiKeyAuth: []
  27808. summary: 获取用户商品收藏信息
  27809. tags:
  27810. - 用户信息
  27811. /User/QueryUserInfo:
  27812. get:
  27813. parameters:
  27814. - description: 用户ID
  27815. in: query
  27816. name: userID
  27817. required: true
  27818. type: integer
  27819. - description: 是否解密
  27820. in: query
  27821. name: isDecrypt
  27822. type: boolean
  27823. produces:
  27824. - application/json
  27825. responses:
  27826. "200":
  27827. description: OK
  27828. schema:
  27829. $ref: '#/definitions/models.Userinfo'
  27830. "500":
  27831. description: Internal Server Error
  27832. schema:
  27833. $ref: '#/definitions/app.Response'
  27834. security:
  27835. - ApiKeyAuth: []
  27836. summary: 获取用户信息
  27837. tags:
  27838. - 用户信息
  27839. /User/QueryUserReferNum:
  27840. get:
  27841. parameters:
  27842. - description: 用户ID
  27843. in: query
  27844. name: userID
  27845. required: true
  27846. type: integer
  27847. produces:
  27848. - application/json
  27849. responses:
  27850. "200":
  27851. description: OK
  27852. schema:
  27853. $ref: '#/definitions/app.Response'
  27854. "500":
  27855. description: Internal Server Error
  27856. schema:
  27857. $ref: '#/definitions/app.Response'
  27858. summary: 获取用户邀请码
  27859. tags:
  27860. - 用户信息
  27861. /User/RemoveUserFavoriteGoods:
  27862. post:
  27863. parameters:
  27864. - description: 用户ID
  27865. in: query
  27866. name: userID
  27867. required: true
  27868. type: integer
  27869. - description: 商品ID
  27870. in: query
  27871. name: goodsID
  27872. required: true
  27873. type: integer
  27874. produces:
  27875. - application/json
  27876. responses:
  27877. "200":
  27878. description: OK
  27879. schema:
  27880. $ref: '#/definitions/app.Response'
  27881. "500":
  27882. description: Internal Server Error
  27883. schema:
  27884. $ref: '#/definitions/app.Response'
  27885. security:
  27886. - ApiKeyAuth: []
  27887. summary: 移除用户商品收藏信息
  27888. tags:
  27889. - 用户信息
  27890. /User/UpdateUserAccountStatus:
  27891. post:
  27892. parameters:
  27893. - description: 用户ID
  27894. in: query
  27895. name: userID
  27896. required: true
  27897. type: integer
  27898. - description: 账户状态 - 4:正常 6:注销(停用)
  27899. in: query
  27900. name: accountStatus
  27901. required: true
  27902. type: integer
  27903. produces:
  27904. - application/json
  27905. responses:
  27906. "200":
  27907. description: OK
  27908. schema:
  27909. $ref: '#/definitions/app.Response'
  27910. "500":
  27911. description: Internal Server Error
  27912. schema:
  27913. $ref: '#/definitions/app.Response'
  27914. security:
  27915. - ApiKeyAuth: []
  27916. summary: 更新用户状态
  27917. tags:
  27918. - 用户信息
  27919. /WRTrade/GetAllDeliveryGoods:
  27920. get:
  27921. produces:
  27922. - application/json
  27923. responses:
  27924. "200":
  27925. description: OK
  27926. schema:
  27927. $ref: '#/definitions/app.Response'
  27928. "500":
  27929. description: Internal Server Error
  27930. schema:
  27931. $ref: '#/definitions/app.Response'
  27932. security:
  27933. - ApiKeyAuth: []
  27934. summary: 获取带仓单分类的种类信息
  27935. tags:
  27936. - 仓单贸易
  27937. - 仓单贸易
  27938. /WrTrade2/QueryDeliveryGoodsSection:
  27939. get:
  27940. produces:
  27941. - application/json
  27942. responses:
  27943. "200":
  27944. description: OK
  27945. schema:
  27946. items:
  27947. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27948. type: array
  27949. "500":
  27950. description: Internal Server Error
  27951. schema:
  27952. $ref: '#/definitions/app.Response'
  27953. security:
  27954. - ApiKeyAuth: []
  27955. summary: 查询板块(分类)
  27956. tags:
  27957. - 仓单贸易v2
  27958. /WrTrade2/QueryFaProductDetail:
  27959. get:
  27960. description: 页面 买卖大厅 -> 选择融资方案
  27961. parameters:
  27962. - description: 仓单要素id
  27963. in: query
  27964. name: wrfactortypeid
  27965. required: true
  27966. type: integer
  27967. produces:
  27968. - application/json
  27969. responses:
  27970. "200":
  27971. description: OK
  27972. schema:
  27973. items:
  27974. $ref: '#/definitions/models.WrFAProductDetail'
  27975. type: array
  27976. "500":
  27977. description: Internal Server Error
  27978. schema:
  27979. $ref: '#/definitions/app.Response'
  27980. security:
  27981. - ApiKeyAuth: []
  27982. summary: 查询融资产品列表
  27983. tags:
  27984. - 仓单贸易v2
  27985. /WrTrade2/QueryFilterItem:
  27986. get:
  27987. parameters:
  27988. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27989. in: query
  27990. name: itype
  27991. required: true
  27992. type: string
  27993. produces:
  27994. - application/json
  27995. responses:
  27996. "200":
  27997. description: OK
  27998. schema:
  27999. items:
  28000. $ref: '#/definitions/models.WrFilterItem'
  28001. type: array
  28002. "500":
  28003. description: Internal Server Error
  28004. schema:
  28005. $ref: '#/definitions/app.Response'
  28006. security:
  28007. - ApiKeyAuth: []
  28008. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  28009. tags:
  28010. - 仓单贸易v2
  28011. /WrTrade2/QueryFtDeliveryGoods:
  28012. get:
  28013. produces:
  28014. - application/json
  28015. responses:
  28016. "200":
  28017. description: OK
  28018. schema:
  28019. items:
  28020. $ref: '#/definitions/models.WrFtDeliveryGoods'
  28021. type: array
  28022. "500":
  28023. description: Internal Server Error
  28024. schema:
  28025. $ref: '#/definitions/app.Response'
  28026. security:
  28027. - ApiKeyAuth: []
  28028. summary: 查询品种品类筛选框列表
  28029. tags:
  28030. - 仓单贸易v2
  28031. /WrTrade2/QueryHoldLB:
  28032. get:
  28033. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  28034. parameters:
  28035. - description: 资金账号
  28036. in: query
  28037. name: accountid
  28038. required: true
  28039. type: integer
  28040. - description: 仓库id
  28041. in: query
  28042. name: warehouseid
  28043. type: integer
  28044. - description: 品种id
  28045. in: query
  28046. name: deliverygoodsid
  28047. type: integer
  28048. - description: 品类id
  28049. in: query
  28050. name: wrstandardid
  28051. type: integer
  28052. - description: 仓单要素id
  28053. in: query
  28054. name: wrfactortypeid
  28055. type: integer
  28056. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28057. in: query
  28058. name: dgitemname
  28059. type: string
  28060. produces:
  28061. - application/json
  28062. responses:
  28063. "200":
  28064. description: OK
  28065. schema:
  28066. items:
  28067. $ref: '#/definitions/models.WrHoldLB'
  28068. type: array
  28069. "500":
  28070. description: Internal Server Error
  28071. schema:
  28072. $ref: '#/definitions/app.Response'
  28073. security:
  28074. - ApiKeyAuth: []
  28075. summary: 查询仓单持有记录
  28076. tags:
  28077. - 仓单贸易v2
  28078. /WrTrade2/QueryOrderQuote:
  28079. get:
  28080. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  28081. 唯一确定1条记录
  28082. parameters:
  28083. - description: 页码
  28084. in: query
  28085. name: page
  28086. type: integer
  28087. - description: 每页条数
  28088. in: query
  28089. name: pagesize
  28090. type: integer
  28091. - description: 仓单贸易市场id
  28092. in: query
  28093. name: marketid
  28094. type: integer
  28095. - description: 价格方式 - 1:固定价 2-浮动价
  28096. in: query
  28097. name: wrpricetype
  28098. required: true
  28099. type: integer
  28100. - description: 0:仓单预售 1:仓单贸易
  28101. in: query
  28102. name: haswr
  28103. type: integer
  28104. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28105. in: query
  28106. name: dgitemname
  28107. type: string
  28108. - description: 仓库id(筛选条件)
  28109. in: query
  28110. name: warehouseid
  28111. type: integer
  28112. - description: 品种id
  28113. in: query
  28114. name: deliverygoodsid
  28115. type: integer
  28116. - description: 品类id
  28117. in: query
  28118. name: wrstandardid
  28119. type: integer
  28120. - description: 品牌id(dgfactoryitemid)
  28121. in: query
  28122. name: brandid
  28123. type: integer
  28124. - description: 年份id(dgfactoryitemid)
  28125. in: query
  28126. name: yearsid
  28127. type: integer
  28128. - description: 仓单要素id
  28129. in: query
  28130. name: wrfactortypeid
  28131. type: integer
  28132. - description: 交收月(yyyy-mm) 仓单预售填写
  28133. in: query
  28134. name: deliverymonth
  28135. type: string
  28136. produces:
  28137. - application/json
  28138. responses:
  28139. "200":
  28140. description: OK
  28141. schema:
  28142. items:
  28143. $ref: '#/definitions/models.WrOrderQuote'
  28144. type: array
  28145. "500":
  28146. description: Internal Server Error
  28147. schema:
  28148. $ref: '#/definitions/app.Response'
  28149. security:
  28150. - ApiKeyAuth: []
  28151. summary: 查询大厅行情列表
  28152. tags:
  28153. - 仓单贸易v2
  28154. /WrTrade2/QueryOrderQuoteDetail:
  28155. get:
  28156. parameters:
  28157. - description: 页码
  28158. in: query
  28159. name: page
  28160. type: integer
  28161. - description: 每页条数
  28162. in: query
  28163. name: pagesize
  28164. type: integer
  28165. - description: 仓单贸易市场id
  28166. in: query
  28167. name: marketid
  28168. type: integer
  28169. - description: 价格方式 - 1:固定价 2-浮动价
  28170. in: query
  28171. name: wrpricetype
  28172. required: true
  28173. type: integer
  28174. - description: 0:仓单预售 1:仓单贸易
  28175. in: query
  28176. name: haswr
  28177. type: integer
  28178. - description: 仓单要素id
  28179. in: query
  28180. name: wrfactortypeid
  28181. required: true
  28182. type: integer
  28183. - description: 期货商品id(浮动价方式时填)
  28184. in: query
  28185. name: goodsid
  28186. type: integer
  28187. - description: 买卖方向 0-买 1-卖
  28188. in: query
  28189. name: buyorsell
  28190. required: true
  28191. type: integer
  28192. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  28193. in: query
  28194. name: deliverymonth
  28195. type: string
  28196. produces:
  28197. - application/json
  28198. responses:
  28199. "200":
  28200. description: OK
  28201. schema:
  28202. items:
  28203. $ref: '#/definitions/models.WrOrderQuoteDetail'
  28204. type: array
  28205. "500":
  28206. description: Internal Server Error
  28207. schema:
  28208. $ref: '#/definitions/app.Response'
  28209. security:
  28210. - ApiKeyAuth: []
  28211. summary: 查询买卖大厅
  28212. tags:
  28213. - 仓单贸易v2
  28214. /WrTrade2/QueryOrderQuoteMyq:
  28215. get:
  28216. parameters:
  28217. - description: 页码
  28218. in: query
  28219. name: page
  28220. type: integer
  28221. - description: 每页条数
  28222. in: query
  28223. name: pagesize
  28224. type: integer
  28225. - description: 用户id
  28226. in: query
  28227. name: userid
  28228. required: true
  28229. type: integer
  28230. - description: 仓单贸易市场id
  28231. in: query
  28232. name: marketid
  28233. type: integer
  28234. - description: 0:仓单预售 1:仓单贸易
  28235. in: query
  28236. name: haswr
  28237. type: integer
  28238. - description: 买卖方向 0-买 1-卖
  28239. in: query
  28240. name: buyorsell
  28241. required: true
  28242. type: integer
  28243. - description: 品种id
  28244. in: query
  28245. name: deliverygoodsid
  28246. type: integer
  28247. - description: 品类id
  28248. in: query
  28249. name: wrstandardid
  28250. type: integer
  28251. - description: 交收月(yyyy-mm) 仓单预售填写
  28252. in: query
  28253. name: deliverymonth
  28254. type: string
  28255. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28256. in: query
  28257. name: dgitemname
  28258. type: string
  28259. produces:
  28260. - application/json
  28261. responses:
  28262. "200":
  28263. description: OK
  28264. schema:
  28265. items:
  28266. $ref: '#/definitions/models.WrQuoteOrderMyq'
  28267. type: array
  28268. "500":
  28269. description: Internal Server Error
  28270. schema:
  28271. $ref: '#/definitions/app.Response'
  28272. security:
  28273. - ApiKeyAuth: []
  28274. summary: 查询贸易圈挂牌大厅
  28275. tags:
  28276. - 仓单贸易v2
  28277. /WrTrade2/QueryPerformancePlan:
  28278. get:
  28279. parameters:
  28280. - description: 用户id
  28281. in: query
  28282. name: userid
  28283. required: true
  28284. type: integer
  28285. - description: 买卖方向 0-买 1-卖
  28286. in: query
  28287. name: buyorsell
  28288. required: true
  28289. type: integer
  28290. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  28291. 8:释放冻结失败 9:超时待处理 10:超时关闭
  28292. in: query
  28293. name: status
  28294. type: string
  28295. - description: 开始交易日(yyyymmdd)
  28296. in: query
  28297. name: begindate
  28298. type: string
  28299. - description: 结束交易日(yyyymmdd)
  28300. in: query
  28301. name: enddate
  28302. type: string
  28303. produces:
  28304. - application/json
  28305. responses:
  28306. "200":
  28307. description: OK
  28308. schema:
  28309. items:
  28310. $ref: '#/definitions/models.WrPerformancePlan'
  28311. type: array
  28312. "500":
  28313. description: Internal Server Error
  28314. schema:
  28315. $ref: '#/definitions/app.Response'
  28316. security:
  28317. - ApiKeyAuth: []
  28318. summary: 查询履约信息
  28319. tags:
  28320. - 仓单贸易v2
  28321. /WrTrade2/QueryPermancePlanTmp:
  28322. get:
  28323. description: |-
  28324. 返回指定用户的模板和公共模板(用户id为空)
  28325. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  28326. parameters:
  28327. - description: 用户id
  28328. in: query
  28329. name: userid
  28330. type: integer
  28331. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  28332. (无仓单) 5:挂牌期权 6:竞拍-降价式
  28333. in: query
  28334. name: tmptype
  28335. type: string
  28336. - description: 是否包含公共模板(用户id为空的) 1-包含
  28337. in: query
  28338. name: includepub
  28339. type: integer
  28340. - description: 市场id(天津麦顿指定此参数,其它不用)
  28341. in: query
  28342. name: marketid
  28343. type: integer
  28344. produces:
  28345. - application/json
  28346. responses:
  28347. "200":
  28348. description: OK
  28349. schema:
  28350. items:
  28351. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  28352. type: array
  28353. "500":
  28354. description: Internal Server Error
  28355. schema:
  28356. $ref: '#/definitions/app.Response'
  28357. security:
  28358. - ApiKeyAuth: []
  28359. summary: 查询履约模板
  28360. tags:
  28361. - 仓单贸易v2
  28362. /WrTrade2/QuerySiteColumnDetail:
  28363. get:
  28364. parameters:
  28365. - description: 页码
  28366. in: query
  28367. name: page
  28368. type: integer
  28369. - description: 每页条数
  28370. in: query
  28371. name: pagesize
  28372. type: integer
  28373. - description: 所属栏目id
  28374. in: query
  28375. name: columnid
  28376. type: integer
  28377. produces:
  28378. - application/json
  28379. responses:
  28380. "200":
  28381. description: OK
  28382. schema:
  28383. items:
  28384. $ref: '#/definitions/models.WrSiteColumnDetail'
  28385. type: array
  28386. "500":
  28387. description: Internal Server Error
  28388. schema:
  28389. $ref: '#/definitions/app.Response'
  28390. security:
  28391. - ApiKeyAuth: []
  28392. summary: 查询资讯
  28393. tags:
  28394. - 仓单贸易v2
  28395. /WrTrade2/QuerySpotGroupTradeSum:
  28396. get:
  28397. produces:
  28398. - application/json
  28399. responses:
  28400. "200":
  28401. description: OK
  28402. schema:
  28403. items:
  28404. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  28405. type: array
  28406. "500":
  28407. description: Internal Server Error
  28408. schema:
  28409. $ref: '#/definitions/app.Response'
  28410. security:
  28411. - ApiKeyAuth: []
  28412. summary: 查询指数
  28413. tags:
  28414. - 仓单贸易v2
  28415. /WrTrade2/QuerySpotGroupTradeSumDetail:
  28416. get:
  28417. description: 查询的结果将会按日期 从小到大 排序
  28418. parameters:
  28419. - description: 现货商品id
  28420. in: query
  28421. name: deliverygoodsid
  28422. required: true
  28423. type: integer
  28424. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  28425. in: query
  28426. name: lastnum
  28427. type: integer
  28428. produces:
  28429. - application/json
  28430. responses:
  28431. "200":
  28432. description: OK
  28433. schema:
  28434. items:
  28435. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  28436. type: array
  28437. "500":
  28438. description: Internal Server Error
  28439. schema:
  28440. $ref: '#/definitions/app.Response'
  28441. security:
  28442. - ApiKeyAuth: []
  28443. summary: 查询指数详细(价格走势图)
  28444. tags:
  28445. - 仓单贸易v2
  28446. /WrTrade2/QueryWrAverageTradePrice:
  28447. get:
  28448. parameters:
  28449. - description: 页码
  28450. in: query
  28451. name: page
  28452. type: integer
  28453. - description: 每页条数
  28454. in: query
  28455. name: pagesize
  28456. type: integer
  28457. - description: 0:仓单预售 1:仓单贸易
  28458. in: query
  28459. name: haswr
  28460. required: true
  28461. type: integer
  28462. - description: 仓单要素id
  28463. in: query
  28464. name: wrfactortypeid
  28465. required: true
  28466. type: integer
  28467. produces:
  28468. - application/json
  28469. responses:
  28470. "200":
  28471. description: OK
  28472. schema:
  28473. items:
  28474. $ref: '#/definitions/models.WrAverageTradePrice'
  28475. type: array
  28476. "500":
  28477. description: Internal Server Error
  28478. schema:
  28479. $ref: '#/definitions/app.Response'
  28480. security:
  28481. - ApiKeyAuth: []
  28482. summary: 查询成交价(历史走势)
  28483. tags:
  28484. - 仓单贸易v2
  28485. /WrTrade2/QueryWrBrandAndYears:
  28486. get:
  28487. produces:
  28488. - application/json
  28489. responses:
  28490. "200":
  28491. description: OK
  28492. schema:
  28493. items:
  28494. $ref: '#/definitions/models.WrBrandAndYears'
  28495. type: array
  28496. "500":
  28497. description: Internal Server Error
  28498. schema:
  28499. $ref: '#/definitions/app.Response'
  28500. security:
  28501. - ApiKeyAuth: []
  28502. summary: 查询品牌和年份
  28503. tags:
  28504. - 仓单贸易v2
  28505. /WrTrade2/QueryWrBsGoodsInfo:
  28506. get:
  28507. description: 合约交易/买卖大厅/详情
  28508. parameters:
  28509. - description: 商品id
  28510. in: query
  28511. name: goodsid
  28512. required: true
  28513. type: integer
  28514. produces:
  28515. - application/json
  28516. responses:
  28517. "200":
  28518. description: OK
  28519. schema:
  28520. items:
  28521. $ref: '#/definitions/models.WrBsGoodsInfo'
  28522. type: array
  28523. "500":
  28524. description: Internal Server Error
  28525. schema:
  28526. $ref: '#/definitions/app.Response'
  28527. security:
  28528. - ApiKeyAuth: []
  28529. summary: 查询合约交易买卖大厅详情
  28530. tags:
  28531. - 仓单贸易v2
  28532. /WrTrade2/QueryWrBuybackDetail:
  28533. get:
  28534. parameters:
  28535. - description: 融资合同id
  28536. in: query
  28537. name: scfcontractid
  28538. type: integer
  28539. produces:
  28540. - application/json
  28541. responses:
  28542. "200":
  28543. description: OK
  28544. schema:
  28545. items:
  28546. $ref: '#/definitions/models.WrBuybackDetail'
  28547. type: array
  28548. "500":
  28549. description: Internal Server Error
  28550. schema:
  28551. $ref: '#/definitions/app.Response'
  28552. security:
  28553. - ApiKeyAuth: []
  28554. summary: 查询仓单回购明细
  28555. tags:
  28556. - 仓单贸易v2
  28557. /WrTrade2/QueryWrClientAdSpaceConfig:
  28558. get:
  28559. produces:
  28560. - application/json
  28561. responses:
  28562. "200":
  28563. description: OK
  28564. schema:
  28565. items:
  28566. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  28567. type: array
  28568. "500":
  28569. description: Internal Server Error
  28570. schema:
  28571. $ref: '#/definitions/app.Response'
  28572. security:
  28573. - ApiKeyAuth: []
  28574. summary: 查询固定广告配置
  28575. tags:
  28576. - 仓单贸易v2
  28577. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  28578. get:
  28579. parameters:
  28580. - description: 资金账号
  28581. in: query
  28582. name: accountid
  28583. required: true
  28584. type: integer
  28585. - description: 商品id
  28586. in: query
  28587. name: goodsid
  28588. required: true
  28589. type: integer
  28590. produces:
  28591. - application/json
  28592. responses:
  28593. "200":
  28594. description: OK
  28595. schema:
  28596. items:
  28597. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  28598. type: array
  28599. "500":
  28600. description: Internal Server Error
  28601. schema:
  28602. $ref: '#/definitions/app.Response'
  28603. security:
  28604. - ApiKeyAuth: []
  28605. summary: 查询合约交收可点选仓单
  28606. tags:
  28607. - 仓单贸易v2
  28608. /WrTrade2/QueryWrDeliveryDetail:
  28609. get:
  28610. parameters:
  28611. - description: 用户id
  28612. in: query
  28613. name: userid
  28614. required: true
  28615. type: integer
  28616. - description: 资金账号id
  28617. in: query
  28618. name: accountid
  28619. type: integer
  28620. - description: 开始交易日(yyyymmdd)
  28621. in: query
  28622. name: begindate
  28623. type: string
  28624. - description: 结束交易日(yyyymmdd)
  28625. in: query
  28626. name: enddate
  28627. type: string
  28628. produces:
  28629. - application/json
  28630. responses:
  28631. "200":
  28632. description: OK
  28633. schema:
  28634. items:
  28635. $ref: '#/definitions/models.WrDeliveryDetail'
  28636. type: array
  28637. "500":
  28638. description: Internal Server Error
  28639. schema:
  28640. $ref: '#/definitions/app.Response'
  28641. security:
  28642. - ApiKeyAuth: []
  28643. summary: 查询交收
  28644. tags:
  28645. - 仓单贸易v2
  28646. /WrTrade2/QueryWrDraftUserInfo:
  28647. get:
  28648. parameters:
  28649. - description: 用户ID
  28650. in: query
  28651. name: userid
  28652. required: true
  28653. type: integer
  28654. - description: 用户状态 1:正常 2:注销
  28655. in: query
  28656. name: userstatus
  28657. type: integer
  28658. produces:
  28659. - application/json
  28660. responses:
  28661. "200":
  28662. description: OK
  28663. schema:
  28664. items:
  28665. $ref: '#/definitions/models.WrDraftUserInfo'
  28666. type: array
  28667. "500":
  28668. description: Internal Server Error
  28669. schema:
  28670. $ref: '#/definitions/app.Response'
  28671. security:
  28672. - ApiKeyAuth: []
  28673. summary: 查询实名认证信息
  28674. tags:
  28675. - 仓单贸易v2
  28676. /WrTrade2/QueryWrFactorTypeInfo:
  28677. get:
  28678. parameters:
  28679. - description: 仓单要素id
  28680. in: query
  28681. name: wrfactortypeid
  28682. required: true
  28683. type: integer
  28684. produces:
  28685. - application/json
  28686. responses:
  28687. "200":
  28688. description: OK
  28689. schema:
  28690. items:
  28691. $ref: '#/definitions/models.WrFactorTypeInfo'
  28692. type: array
  28693. "500":
  28694. description: Internal Server Error
  28695. schema:
  28696. $ref: '#/definitions/app.Response'
  28697. security:
  28698. - ApiKeyAuth: []
  28699. summary: 查询仓单要素详细信息
  28700. tags:
  28701. - 仓单贸易v2
  28702. /WrTrade2/QueryWrFactorTypeInfoEx:
  28703. get:
  28704. parameters:
  28705. - description: 仓单要素id
  28706. in: query
  28707. name: wrfactortypeid
  28708. required: true
  28709. type: integer
  28710. produces:
  28711. - application/json
  28712. responses:
  28713. "200":
  28714. description: OK
  28715. schema:
  28716. items:
  28717. $ref: '#/definitions/models.WrTypeItem'
  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/QueryWrFinanceBuyApply:
  28729. get:
  28730. description: 页面 融资信息+ / 申请单
  28731. parameters:
  28732. - description: 用户id
  28733. in: query
  28734. name: userid
  28735. required: true
  28736. type: integer
  28737. produces:
  28738. - application/json
  28739. responses:
  28740. "200":
  28741. description: OK
  28742. schema:
  28743. items:
  28744. $ref: '#/definitions/models.WrFinanceBuyApply'
  28745. type: array
  28746. "500":
  28747. description: Internal Server Error
  28748. schema:
  28749. $ref: '#/definitions/app.Response'
  28750. security:
  28751. - ApiKeyAuth: []
  28752. summary: 查询融资购买申请
  28753. tags:
  28754. - 仓单贸易v2
  28755. /WrTrade2/QueryWrFriendApply:
  28756. get:
  28757. parameters:
  28758. - description: 用户id
  28759. in: query
  28760. name: userid
  28761. required: true
  28762. type: integer
  28763. produces:
  28764. - application/json
  28765. responses:
  28766. "200":
  28767. description: OK
  28768. schema:
  28769. items:
  28770. $ref: '#/definitions/models.WrFriendApply'
  28771. type: array
  28772. "500":
  28773. description: Internal Server Error
  28774. schema:
  28775. $ref: '#/definitions/app.Response'
  28776. security:
  28777. - ApiKeyAuth: []
  28778. summary: 查询好友申请记录
  28779. tags:
  28780. - 仓单贸易v2
  28781. /WrTrade2/QueryWrGoodsInfo:
  28782. get:
  28783. parameters:
  28784. - description: 仓单贸易市场id
  28785. in: query
  28786. name: marketid
  28787. type: integer
  28788. - description: 0:仓单预售 1:仓单贸易
  28789. in: query
  28790. name: haswr
  28791. required: true
  28792. type: integer
  28793. - description: 仓单要素id
  28794. in: query
  28795. name: wrfactortypeid
  28796. required: true
  28797. type: integer
  28798. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  28799. in: query
  28800. name: tmplateid
  28801. type: integer
  28802. produces:
  28803. - application/json
  28804. responses:
  28805. "200":
  28806. description: OK
  28807. schema:
  28808. items:
  28809. $ref: '#/definitions/models.WrGoodsInfo'
  28810. type: array
  28811. "500":
  28812. description: Internal Server Error
  28813. schema:
  28814. $ref: '#/definitions/app.Response'
  28815. security:
  28816. - ApiKeyAuth: []
  28817. summary: 查询仓单商品信息
  28818. tags:
  28819. - 仓单贸易v2
  28820. /WrTrade2/QueryWrMarketTradeConfig:
  28821. get:
  28822. parameters:
  28823. - description: 市场id
  28824. in: query
  28825. name: marketid
  28826. type: integer
  28827. produces:
  28828. - application/json
  28829. responses:
  28830. "200":
  28831. description: OK
  28832. schema:
  28833. items:
  28834. $ref: '#/definitions/models.WrMarketTradeConfig'
  28835. type: array
  28836. "500":
  28837. description: Internal Server Error
  28838. schema:
  28839. $ref: '#/definitions/app.Response'
  28840. security:
  28841. - ApiKeyAuth: []
  28842. summary: 查询市场交易参数配置
  28843. tags:
  28844. - 仓单贸易v2
  28845. /WrTrade2/QueryWrOrderDetail:
  28846. get:
  28847. description: 页面 现货仓单 | 预售仓单 -> 委托单
  28848. parameters:
  28849. - description: 页码
  28850. in: query
  28851. name: page
  28852. type: integer
  28853. - description: 每页条数
  28854. in: query
  28855. name: pagesize
  28856. type: integer
  28857. - description: 用户id
  28858. in: query
  28859. name: userid
  28860. required: true
  28861. type: integer
  28862. - description: 仓单贸易市场id
  28863. in: query
  28864. name: marketid
  28865. type: integer
  28866. - description: 0:仓单预售 1:仓单贸易
  28867. in: query
  28868. name: haswr
  28869. required: true
  28870. type: integer
  28871. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  28872. in: query
  28873. name: bcancel
  28874. type: integer
  28875. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  28876. in: query
  28877. name: wrtradetype
  28878. type: integer
  28879. - description: 开始交易日(yyyymmdd)
  28880. in: query
  28881. name: begindate
  28882. type: string
  28883. - description: 结束交易日(yyyymmdd)
  28884. in: query
  28885. name: enddate
  28886. type: string
  28887. produces:
  28888. - application/json
  28889. responses:
  28890. "200":
  28891. description: OK
  28892. schema:
  28893. items:
  28894. $ref: '#/definitions/models.WrOrderDetail'
  28895. type: array
  28896. "500":
  28897. description: Internal Server Error
  28898. schema:
  28899. $ref: '#/definitions/app.Response'
  28900. security:
  28901. - ApiKeyAuth: []
  28902. summary: 查询仓单委托单
  28903. tags:
  28904. - 仓单贸易v2
  28905. /WrTrade2/QueryWrOutInApply:
  28906. get:
  28907. parameters:
  28908. - description: 用户id
  28909. in: query
  28910. name: userid
  28911. required: true
  28912. type: integer
  28913. - description: 开始交易日(yyyymmdd)
  28914. in: query
  28915. name: begindate
  28916. type: string
  28917. - description: 结束交易日(yyyymmdd)
  28918. in: query
  28919. name: enddate
  28920. type: string
  28921. produces:
  28922. - application/json
  28923. responses:
  28924. "200":
  28925. description: OK
  28926. schema:
  28927. items:
  28928. $ref: '#/definitions/models.WrOutInApply'
  28929. type: array
  28930. "500":
  28931. description: Internal Server Error
  28932. schema:
  28933. $ref: '#/definitions/app.Response'
  28934. security:
  28935. - ApiKeyAuth: []
  28936. summary: 查询提货申请
  28937. tags:
  28938. - 仓单贸易v2
  28939. /WrTrade2/QueryWrPerformancePlanStep:
  28940. get:
  28941. parameters:
  28942. - description: 履约计划id(performanceplanid)
  28943. in: query
  28944. name: planid
  28945. required: true
  28946. type: integer
  28947. - description: 当前步骤id
  28948. in: query
  28949. name: curstepid
  28950. type: integer
  28951. produces:
  28952. - application/json
  28953. responses:
  28954. "200":
  28955. description: OK
  28956. schema:
  28957. items:
  28958. $ref: '#/definitions/models.WrPerformancePlanStep'
  28959. type: array
  28960. "500":
  28961. description: Internal Server Error
  28962. schema:
  28963. $ref: '#/definitions/app.Response'
  28964. security:
  28965. - ApiKeyAuth: []
  28966. summary: 查询履约信息详情
  28967. tags:
  28968. - 仓单贸易v2
  28969. /WrTrade2/QueryWrPerformanceStepType:
  28970. get:
  28971. produces:
  28972. - application/json
  28973. responses:
  28974. "200":
  28975. description: OK
  28976. schema:
  28977. items:
  28978. $ref: '#/definitions/models.WrPerformanceStepType'
  28979. type: array
  28980. "500":
  28981. description: Internal Server Error
  28982. schema:
  28983. $ref: '#/definitions/app.Response'
  28984. security:
  28985. - ApiKeyAuth: []
  28986. summary: 查询履约步骤枚举
  28987. tags:
  28988. - 仓单贸易v2
  28989. /WrTrade2/QueryWrPosition:
  28990. get:
  28991. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28992. parameters:
  28993. - description: 用户id
  28994. in: query
  28995. name: userid
  28996. required: true
  28997. type: integer
  28998. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28999. in: query
  29000. name: querytype
  29001. required: true
  29002. type: integer
  29003. - description: 0:仓单预售 1:仓单贸易
  29004. in: query
  29005. name: haswr
  29006. required: true
  29007. type: integer
  29008. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29009. in: query
  29010. name: dgitemname
  29011. type: string
  29012. - description: 仓库id(筛选条件)
  29013. in: query
  29014. name: warehouseid
  29015. type: integer
  29016. - description: 品种id
  29017. in: query
  29018. name: deliverygoodsid
  29019. type: integer
  29020. - description: 品类id
  29021. in: query
  29022. name: wrstandardid
  29023. type: integer
  29024. produces:
  29025. - application/json
  29026. responses:
  29027. "200":
  29028. description: OK
  29029. schema:
  29030. items:
  29031. $ref: '#/definitions/models.WrPosition'
  29032. type: array
  29033. "500":
  29034. description: Internal Server Error
  29035. schema:
  29036. $ref: '#/definitions/app.Response'
  29037. security:
  29038. - ApiKeyAuth: []
  29039. summary: 查询现货(预售)仓单持仓
  29040. tags:
  29041. - 仓单贸易v2
  29042. /WrTrade2/QueryWrPreSaleInfo:
  29043. get:
  29044. parameters:
  29045. - description: 市场id
  29046. in: query
  29047. name: marketid
  29048. type: integer
  29049. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  29050. in: query
  29051. name: presalestatus
  29052. type: string
  29053. - description: 摇号标识 - 0:未摇号 1:已摇号
  29054. in: query
  29055. name: lotteryflag
  29056. type: integer
  29057. - description: 最近多少条记录(按创建时间倒序)
  29058. in: query
  29059. name: lastnum
  29060. type: integer
  29061. produces:
  29062. - application/json
  29063. responses:
  29064. "200":
  29065. description: OK
  29066. schema:
  29067. items:
  29068. $ref: '#/definitions/models.WrPreSaleInfo'
  29069. type: array
  29070. "500":
  29071. description: Internal Server Error
  29072. schema:
  29073. $ref: '#/definitions/app.Response'
  29074. security:
  29075. - ApiKeyAuth: []
  29076. summary: 查询新品发布
  29077. tags:
  29078. - 仓单贸易v2
  29079. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  29080. get:
  29081. parameters:
  29082. - description: 市场id
  29083. in: query
  29084. name: marketid
  29085. required: true
  29086. type: integer
  29087. - description: 现货商品id
  29088. in: query
  29089. name: wrstandardid
  29090. required: true
  29091. type: integer
  29092. - description: 开始交易日(yyyymmdd)
  29093. in: query
  29094. name: begindate
  29095. type: string
  29096. - description: 结束交易日(yyyymmdd)
  29097. in: query
  29098. name: enddate
  29099. type: string
  29100. - description: 最近多少条记录(按交易日倒序)
  29101. in: query
  29102. name: lastnum
  29103. type: integer
  29104. produces:
  29105. - application/json
  29106. responses:
  29107. "200":
  29108. description: OK
  29109. schema:
  29110. items:
  29111. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  29112. type: array
  29113. "500":
  29114. description: Internal Server Error
  29115. schema:
  29116. $ref: '#/definitions/app.Response'
  29117. security:
  29118. - ApiKeyAuth: []
  29119. summary: 查询价格走势
  29120. tags:
  29121. - 仓单贸易v2
  29122. /WrTrade2/QueryWrScfContract:
  29123. get:
  29124. parameters:
  29125. - description: 用户id
  29126. in: query
  29127. name: userid
  29128. required: true
  29129. type: integer
  29130. - description: 融资合同id
  29131. in: query
  29132. name: scfcontractid
  29133. type: integer
  29134. produces:
  29135. - application/json
  29136. responses:
  29137. "200":
  29138. description: OK
  29139. schema:
  29140. items:
  29141. $ref: '#/definitions/models.WrScfContract'
  29142. type: array
  29143. "500":
  29144. description: Internal Server Error
  29145. schema:
  29146. $ref: '#/definitions/app.Response'
  29147. security:
  29148. - ApiKeyAuth: []
  29149. summary: 查询仓单贸易融资合同
  29150. tags:
  29151. - 仓单贸易v2
  29152. /WrTrade2/QueryWrScfContractInterest:
  29153. get:
  29154. parameters:
  29155. - description: 融资合同id
  29156. in: query
  29157. name: scfcontractid
  29158. type: integer
  29159. produces:
  29160. - application/json
  29161. responses:
  29162. "200":
  29163. description: OK
  29164. schema:
  29165. items:
  29166. $ref: '#/definitions/models.WrScfContractInterest'
  29167. type: array
  29168. "500":
  29169. description: Internal Server Error
  29170. schema:
  29171. $ref: '#/definitions/app.Response'
  29172. security:
  29173. - ApiKeyAuth: []
  29174. summary: 查询融资合同费用明细
  29175. tags:
  29176. - 仓单贸易v2
  29177. /WrTrade2/QueryWrSearchUser:
  29178. get:
  29179. parameters:
  29180. - description: 用户名称(模糊匹配)
  29181. in: query
  29182. name: username
  29183. required: true
  29184. type: string
  29185. produces:
  29186. - application/json
  29187. responses:
  29188. "200":
  29189. description: OK
  29190. schema:
  29191. items:
  29192. $ref: '#/definitions/models.WrSearchUser'
  29193. type: array
  29194. "500":
  29195. description: Internal Server Error
  29196. schema:
  29197. $ref: '#/definitions/app.Response'
  29198. security:
  29199. - ApiKeyAuth: []
  29200. summary: 查询用户
  29201. tags:
  29202. - 仓单贸易v2
  29203. /WrTrade2/QueryWrSpecialMatchOrder:
  29204. get:
  29205. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  29206. parameters:
  29207. - description: 页码
  29208. in: query
  29209. name: page
  29210. type: integer
  29211. - description: 每页条数
  29212. in: query
  29213. name: pagesize
  29214. type: integer
  29215. - description: 用户id
  29216. in: query
  29217. name: userid
  29218. required: true
  29219. type: integer
  29220. - description: 仓单贸易市场id
  29221. in: query
  29222. name: marketid
  29223. type: integer
  29224. - description: 0:仓单预售 1:仓单贸易
  29225. in: query
  29226. name: haswr
  29227. required: true
  29228. type: integer
  29229. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  29230. in: query
  29231. name: isspecified
  29232. type: integer
  29233. produces:
  29234. - application/json
  29235. responses:
  29236. "200":
  29237. description: OK
  29238. schema:
  29239. items:
  29240. $ref: '#/definitions/models.WrSpecialMatchOrder'
  29241. type: array
  29242. "500":
  29243. description: Internal Server Error
  29244. schema:
  29245. $ref: '#/definitions/app.Response'
  29246. security:
  29247. - ApiKeyAuth: []
  29248. summary: 查询指定成交
  29249. tags:
  29250. - 仓单贸易v2
  29251. /WrTrade2/QueryWrStandardFactoryItem:
  29252. get:
  29253. parameters:
  29254. - description: 品类id
  29255. in: query
  29256. name: wrstandardid
  29257. required: true
  29258. type: integer
  29259. produces:
  29260. - application/json
  29261. responses:
  29262. "200":
  29263. description: OK
  29264. schema:
  29265. items:
  29266. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  29267. type: array
  29268. "500":
  29269. description: Internal Server Error
  29270. schema:
  29271. $ref: '#/definitions/app.Response'
  29272. security:
  29273. - ApiKeyAuth: []
  29274. summary: 查询品类要素定义项
  29275. tags:
  29276. - 仓单贸易v2
  29277. /WrTrade2/QueryWrTradeBargainApply:
  29278. get:
  29279. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  29280. 议价->对方议价 填写matchuserid=登录用户id
  29281. parameters:
  29282. - description: 议价人id(摘牌方)
  29283. in: query
  29284. name: userid
  29285. type: integer
  29286. - description: 挂牌方id(查对方议价时,填写此项)
  29287. in: query
  29288. name: matchuserid
  29289. type: integer
  29290. - description: 关联委托单id
  29291. in: query
  29292. name: wrtradeorderid
  29293. type: integer
  29294. - description: 0:仓单预售 1:仓单贸易
  29295. in: query
  29296. name: haswr
  29297. required: true
  29298. type: integer
  29299. - description: 开始交易日(yyyymmdd)
  29300. in: query
  29301. name: begindate
  29302. type: string
  29303. - description: 结束交易日(yyyymmdd)
  29304. in: query
  29305. name: enddate
  29306. type: string
  29307. produces:
  29308. - application/json
  29309. responses:
  29310. "200":
  29311. description: OK
  29312. schema:
  29313. items:
  29314. $ref: '#/definitions/models.WRTradeBargainApply'
  29315. type: array
  29316. "500":
  29317. description: Internal Server Error
  29318. schema:
  29319. $ref: '#/definitions/app.Response'
  29320. security:
  29321. - ApiKeyAuth: []
  29322. summary: 查询议价单
  29323. tags:
  29324. - 仓单贸易v2
  29325. /WrTrade2/QueryWrTradeDetail:
  29326. get:
  29327. parameters:
  29328. - description: 页码
  29329. in: query
  29330. name: page
  29331. type: integer
  29332. - description: 每页条数
  29333. in: query
  29334. name: pagesize
  29335. type: integer
  29336. - description: 用户id
  29337. in: query
  29338. name: userid
  29339. required: true
  29340. type: integer
  29341. - description: 仓单贸易市场id
  29342. in: query
  29343. name: marketid
  29344. type: integer
  29345. - description: 0:仓单预售 1:仓单贸易
  29346. in: query
  29347. name: haswr
  29348. required: true
  29349. type: integer
  29350. - description: 开始交易日(yyyymmdd)
  29351. in: query
  29352. name: begindate
  29353. type: string
  29354. - description: 结束交易日(yyyymmdd)
  29355. in: query
  29356. name: enddate
  29357. type: string
  29358. produces:
  29359. - application/json
  29360. responses:
  29361. "200":
  29362. description: OK
  29363. schema:
  29364. items:
  29365. $ref: '#/definitions/models.WrTradeDetail'
  29366. type: array
  29367. "500":
  29368. description: Internal Server Error
  29369. schema:
  29370. $ref: '#/definitions/app.Response'
  29371. security:
  29372. - ApiKeyAuth: []
  29373. summary: 查询仓单成交明细
  29374. tags:
  29375. - 仓单贸易v2
  29376. /WrTrade2/QueryWrTradeOrderDetail:
  29377. get:
  29378. parameters:
  29379. - description: 页码
  29380. in: query
  29381. name: page
  29382. type: integer
  29383. - description: 每页条数
  29384. in: query
  29385. name: pagesize
  29386. type: integer
  29387. - description: 商品id
  29388. in: query
  29389. name: goodsid
  29390. required: true
  29391. type: integer
  29392. - description: 买卖方向 0-买 1-卖
  29393. in: query
  29394. name: buyorsell
  29395. required: true
  29396. type: integer
  29397. produces:
  29398. - application/json
  29399. responses:
  29400. "200":
  29401. description: OK
  29402. schema:
  29403. items:
  29404. $ref: '#/definitions/models.WrTradeOrderDetail'
  29405. type: array
  29406. "500":
  29407. description: Internal Server Error
  29408. schema:
  29409. $ref: '#/definitions/app.Response'
  29410. security:
  29411. - ApiKeyAuth: []
  29412. summary: 查询合约交易买卖大厅
  29413. tags:
  29414. - 仓单贸易v2
  29415. /WrTrade2/QueryWrUserFriend:
  29416. get:
  29417. parameters:
  29418. - description: 用户id
  29419. in: query
  29420. name: userid
  29421. required: true
  29422. type: integer
  29423. - description: 新朋友userid, 如果填写了此项则查找新朋友
  29424. in: query
  29425. name: newuserid
  29426. type: integer
  29427. produces:
  29428. - application/json
  29429. responses:
  29430. "200":
  29431. description: OK
  29432. schema:
  29433. items:
  29434. $ref: '#/definitions/models.WrUserFriend'
  29435. type: array
  29436. "500":
  29437. description: Internal Server Error
  29438. schema:
  29439. $ref: '#/definitions/app.Response'
  29440. security:
  29441. - ApiKeyAuth: []
  29442. summary: 查询我的朋友
  29443. tags:
  29444. - 仓单贸易v2
  29445. /WrTrade2/QueryWrUserReceiptInfo:
  29446. get:
  29447. parameters:
  29448. - description: 用户id
  29449. in: query
  29450. name: userid
  29451. type: integer
  29452. - description: 发票类型 - 1:个人 2:企业
  29453. in: query
  29454. name: receipttype
  29455. type: integer
  29456. produces:
  29457. - application/json
  29458. responses:
  29459. "200":
  29460. description: OK
  29461. schema:
  29462. items:
  29463. $ref: '#/definitions/models.WrUserReceiptInfo'
  29464. type: array
  29465. "500":
  29466. description: Internal Server Error
  29467. schema:
  29468. $ref: '#/definitions/app.Response'
  29469. security:
  29470. - ApiKeyAuth: []
  29471. summary: 查询发票信息
  29472. tags:
  29473. - 仓单贸易v2
  29474. /ZJ/GetBankTip:
  29475. get:
  29476. produces:
  29477. - application/json
  29478. responses:
  29479. "200":
  29480. description: OK
  29481. schema:
  29482. type: string
  29483. "500":
  29484. description: Internal Server Error
  29485. schema:
  29486. $ref: '#/definitions/app.Response'
  29487. summary: 获取中江网银端出入金提示信息
  29488. tags:
  29489. - 中江
  29490. /ZJ/GetCusBankChannels:
  29491. get:
  29492. produces:
  29493. - application/json
  29494. responses:
  29495. "200":
  29496. description: OK
  29497. schema:
  29498. items:
  29499. type: string
  29500. type: array
  29501. "500":
  29502. description: Internal Server Error
  29503. schema:
  29504. $ref: '#/definitions/app.Response'
  29505. summary: 获取中江出入金渠道显示列表
  29506. tags:
  29507. - 中江
  29508. securityDefinitions:
  29509. ApiKeyAuth:
  29510. in: header
  29511. name: Authorization
  29512. type: apiKey
  29513. swagger: "2.0"