swagger.yaml 784 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155
  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. imagepath:
  126. description: 图片
  127. type: string
  128. imagetype:
  129. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  130. type: integer
  131. isshow:
  132. description: 是否展示 - 0:不展示 1:展示
  133. type: integer
  134. marketid:
  135. description: 市场ID
  136. type: integer
  137. modifierid:
  138. description: 操作人
  139. type: integer
  140. sort:
  141. description: 排序
  142. type: integer
  143. title:
  144. description: 标题
  145. type: string
  146. trademode:
  147. description: 交易模式
  148. type: integer
  149. updatedate:
  150. description: 修改时间
  151. type: string
  152. url:
  153. description: 链接(地址或商品ID)
  154. type: string
  155. urltype:
  156. description: 链接类型 - 1:直接地址 2:商品ID
  157. type: integer
  158. required:
  159. - configid
  160. type: object
  161. common.QueryNoticeRsp:
  162. properties:
  163. auditoruserid:
  164. description: 审核人
  165. type: integer
  166. auditremark:
  167. description: 审核备注
  168. type: string
  169. audittime:
  170. description: 审核日期
  171. type: string
  172. autoid:
  173. description: 自增ID
  174. type: integer
  175. content:
  176. description: 内容
  177. type: string
  178. createtime:
  179. description: 创建时间
  180. type: string
  181. creatorid:
  182. description: 建仓人
  183. type: integer
  184. endtime:
  185. description: 结束时间
  186. type: string
  187. istop:
  188. description: 是否置顶 - 0:不置顶 1:置顶
  189. type: integer
  190. msgiconurl:
  191. description: 消息图标Url
  192. type: string
  193. msgtype:
  194. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  195. type: integer
  196. publisher:
  197. description: 消息发布者
  198. type: string
  199. readed:
  200. description: 是否已读
  201. type: boolean
  202. scheduletime:
  203. description: 计划发送时间
  204. type: string
  205. sendtype:
  206. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  207. type: integer
  208. sentstatus:
  209. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  210. type: integer
  211. title:
  212. description: 标题
  213. type: string
  214. userid:
  215. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  216. type: integer
  217. required:
  218. - autoid
  219. type: object
  220. common.QueryProvincesAndCitiesRsp:
  221. properties:
  222. cities:
  223. description: 市
  224. items:
  225. $ref: '#/definitions/models.Division'
  226. type: array
  227. province:
  228. $ref: '#/definitions/models.Division'
  229. description: 省
  230. type: object
  231. common.QueryTableDefineRsp:
  232. properties:
  233. columns:
  234. description: 列头信息数组
  235. items:
  236. $ref: '#/definitions/models.Tablecolumnconfig'
  237. type: array
  238. remark:
  239. description: Remark
  240. type: string
  241. tabelmenu:
  242. description: 列表菜单
  243. type: string
  244. tablekey:
  245. description: 列表Key
  246. type: string
  247. tablename:
  248. description: 列表名称
  249. type: string
  250. tabletype:
  251. description: 列表类型 - 1:管理端 2:终端
  252. type: integer
  253. required:
  254. - tablekey
  255. type: object
  256. common.QueryTraderMenuRsp:
  257. properties:
  258. OperationMenu:
  259. description: 功能菜单
  260. items:
  261. $ref: '#/definitions/models.OperationPrimaryMenu'
  262. type: array
  263. QuoteMenu:
  264. description: 报价牌分类菜单
  265. items:
  266. $ref: '#/definitions/models.QuotePrimaryMenu'
  267. type: array
  268. type: object
  269. cptrade.Cptradepositioncancel:
  270. properties:
  271. accountid:
  272. description: 申请人账户ID
  273. type: integer
  274. applystatus:
  275. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  276. type: integer
  277. applytime:
  278. description: 申请时间
  279. type: string
  280. cancelid:
  281. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  282. type: integer
  283. cancelqty:
  284. description: 注销数量
  285. type: integer
  286. createtime:
  287. description: 创建时间
  288. type: string
  289. creatorid:
  290. description: 创建人ID
  291. type: integer
  292. creatorname:
  293. description: 创建人
  294. type: string
  295. goodscode:
  296. description: 订单商品代码
  297. type: string
  298. goodsid:
  299. description: 商品ID
  300. type: integer
  301. goodsname:
  302. description: 订单商品名称
  303. type: string
  304. goodunit:
  305. description: 报价单位
  306. type: string
  307. handlestatus:
  308. description: 处理状态
  309. type: integer
  310. marketid:
  311. description: 市场ID
  312. type: integer
  313. marketname:
  314. description: 市场名称
  315. type: string
  316. tradedate:
  317. description: 交易日(yyyyMMdd)
  318. type: string
  319. userid:
  320. description: 申请人ID
  321. type: integer
  322. required:
  323. - cancelid
  324. type: object
  325. cptrade.Cptradepresaleapply:
  326. properties:
  327. accountid:
  328. description: 申请人账户ID
  329. type: integer
  330. applyid:
  331. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  332. type: integer
  333. applyremark:
  334. description: 申请备注
  335. type: string
  336. applystatus:
  337. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  338. type: integer
  339. applytime:
  340. description: 申请时间
  341. type: string
  342. attachmenturl:
  343. description: 附件地址
  344. type: string
  345. endtime:
  346. description: 预售结束时间
  347. type: string
  348. goodscode:
  349. description: 商品代码
  350. type: string
  351. goodsid:
  352. description: 商品ID
  353. type: integer
  354. goodsname:
  355. description: 商品名称
  356. type: string
  357. goodunit:
  358. description: 报价单位
  359. type: string
  360. handlestatus:
  361. description: 处理状态
  362. type: integer
  363. marketid:
  364. description: 预售市场ID
  365. type: integer
  366. marketname:
  367. description: 预售市场名称
  368. type: string
  369. presaleqty:
  370. description: 预售数量
  371. type: integer
  372. relatedgoodscode:
  373. description: 关联交易合约代码
  374. type: string
  375. relatedgoodsid:
  376. description: 关联交易合约ID
  377. type: integer
  378. relatedgoodsname:
  379. description: 关联交易合约名称
  380. type: string
  381. starttime:
  382. description: 预售开始时间
  383. type: string
  384. tradedate:
  385. description: 交易日(yyyyMMdd)
  386. type: string
  387. trademode:
  388. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  389. type: integer
  390. userid:
  391. description: 申请人ID
  392. type: integer
  393. required:
  394. - applyid
  395. type: object
  396. cptrade.Cptradeusergoodsdata:
  397. properties:
  398. EnabledQty:
  399. description: 可用量
  400. type: integer
  401. GoodsCode:
  402. description: 订单商品代码
  403. type: string
  404. GoodsName:
  405. description: 订单商品名称
  406. type: string
  407. WRStandardCode:
  408. description: 仓单标准代码
  409. type: string
  410. WRStandardName:
  411. description: 仓单标准名称
  412. type: string
  413. accountid:
  414. description: 账户ID
  415. type: integer
  416. cancelqty:
  417. description: 注销量
  418. type: integer
  419. curpresaleqty:
  420. description: 当前预售量
  421. type: integer
  422. deliveryqty:
  423. description: 交割量
  424. type: integer
  425. freezeamount:
  426. description: 冻结金额
  427. type: number
  428. goodsid:
  429. description: 商品ID
  430. type: integer
  431. goodunit:
  432. description: 报价单位
  433. type: string
  434. hasspotfreeze:
  435. description: 是否有现货冻结 - 0:否 1:有
  436. type: integer
  437. inqty:
  438. description: 转入量(总数量)
  439. type: integer
  440. marketid:
  441. description: 市场ID
  442. type: integer
  443. presaledamount:
  444. description: 已预售总金额
  445. type: integer
  446. presaledqty:
  447. description: 已预售量
  448. type: integer
  449. userid:
  450. description: 用户ID
  451. type: integer
  452. wrstandardid:
  453. description: 仓单标准ID
  454. type: integer
  455. required:
  456. - accountid
  457. - goodsid
  458. type: object
  459. cptrade.QueryCPTradeMyBidRsp:
  460. properties:
  461. accountid:
  462. description: 账户ID[报价币种]
  463. type: integer
  464. goodsid:
  465. description: 商品ID
  466. type: integer
  467. goodunit:
  468. description: 报价单位
  469. type: string
  470. marketid:
  471. description: 市场ID
  472. type: integer
  473. orderid:
  474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  475. type: integer
  476. orderprice:
  477. description: 委托价格
  478. type: number
  479. orderqty:
  480. description: 委托数量
  481. type: integer
  482. ordertime:
  483. description: 委托时间
  484. type: string
  485. ordertotalprice:
  486. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  487. type: number
  488. ordertotalweight:
  489. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  490. type: integer
  491. totaltotalprice:
  492. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  493. type: number
  494. tradeprice:
  495. description: 成交价格
  496. type: number
  497. tradeqty:
  498. description: 成交数量
  499. type: integer
  500. required:
  501. - accountid
  502. - goodsid
  503. - marketid
  504. - orderid
  505. - orderqty
  506. - ordertime
  507. - tradeprice
  508. - tradeqty
  509. type: object
  510. cptrade.QueryCPTradeOrderDetailRsq:
  511. properties:
  512. accountid:
  513. description: 账户ID[报价币种]
  514. type: integer
  515. buildtype:
  516. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  517. type: integer
  518. buyorsell:
  519. description: 买卖 - 0:买 1:卖
  520. type: integer
  521. cancelorderid:
  522. description: 撤单单号(撤单时填写)
  523. type: integer
  524. cancelqty:
  525. description: 撤单数量
  526. type: integer
  527. clientordertime:
  528. description: 客户端委托时间
  529. type: string
  530. clientticket:
  531. description: 客户端流水号
  532. type: string
  533. clienttype:
  534. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  535. type: integer
  536. closeexchagechargevalue:
  537. description: 平仓交易所手续费设置值
  538. type: number
  539. closefeealgorithm:
  540. description: 平仓手续费收取方式 1:比率 2:固定
  541. type: integer
  542. closefreezecharge:
  543. description: 平仓冻结手续费(先建后平操作,需要记录)
  544. type: number
  545. closememberchargevalue:
  546. description: 平仓会员手续费设置值
  547. type: number
  548. closeqty:
  549. description: 平仓数量(先建后平操作 需要记录)
  550. type: integer
  551. closetradeqty:
  552. description: 平仓成交数量(先建后平操作,需要记录)
  553. type: integer
  554. closeunfreezecharge:
  555. description: 平仓解冻手续费(先建后平操作,需要记录)
  556. type: number
  557. delistingtype:
  558. description: 摘牌类型 - 1:价格最优 2:点选成交
  559. type: integer
  560. freezecharge:
  561. description: 冻结手续费
  562. type: number
  563. freezemargin:
  564. description: 冻结保证金(冻结交易金额)
  565. type: number
  566. gcaccountid:
  567. description: 账户ID[合约币种]
  568. type: integer
  569. goodsid:
  570. description: 商品ID
  571. type: integer
  572. isconfirmexercise:
  573. description: 是否确认行权- 0:否 1:是
  574. type: integer
  575. ispreexercise:
  576. description: 是否预申报- 0:否 1:是
  577. type: integer
  578. listingselecttype:
  579. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  580. type: integer
  581. marginalgorithm:
  582. description: 保证金收取方式 1:比率 2:固定
  583. type: integer
  584. marginvalue:
  585. description: 即市保证金设置值
  586. type: number
  587. marketid:
  588. description: 市场ID
  589. type: integer
  590. marketmaxsub:
  591. description: 市价最大偏移范围
  592. type: number
  593. memberuserid:
  594. description: 所属会员UserID
  595. type: integer
  596. openexchagechargevalue:
  597. description: 建仓交易所手续费设置值
  598. type: number
  599. openfeealgorithm:
  600. description: 建仓手续费收取方式 1:比率 2:固定
  601. type: integer
  602. openfreezecharge:
  603. description: 开仓冻结手续费(先建后平操作,需要记录)
  604. type: number
  605. openmemberchargevalue:
  606. description: 建仓会员手续费设置值
  607. type: number
  608. openqty:
  609. description: 开仓数量(先建后平操作,需要记录)
  610. type: integer
  611. opentradeqty:
  612. description: 开仓成交数量(先建后平操作,需要记录)
  613. type: integer
  614. openunfreezecharge:
  615. description: 开仓解冻手续费(先建后平操作,需要记录)
  616. type: number
  617. operatetype:
  618. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  619. type: integer
  620. operatorid:
  621. description: 登录账号(LoginID)
  622. type: integer
  623. optiontype:
  624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  625. type: integer
  626. orderprice:
  627. description: 委托价格
  628. type: number
  629. orderqty:
  630. description: 委托数量
  631. type: integer
  632. ordersrc:
  633. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  634. type: integer
  635. orderstatus:
  636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  637. type: integer
  638. ordertime:
  639. description: 委托时间
  640. type: string
  641. preexerciseprice:
  642. description: 预申报价格
  643. type: number
  644. premium:
  645. description: 权利金
  646. type: number
  647. preorderid:
  648. description: 关联预埋单号(止盈止损单时填写)
  649. type: integer
  650. pricemode:
  651. description: '取价方式 - 1:市价 2: 限价'
  652. type: integer
  653. quoteid:
  654. description: 报价单ID
  655. type: integer
  656. relatedid:
  657. description: 关联单号(交割单)
  658. type: integer
  659. retcode:
  660. description: 错误代码
  661. type: integer
  662. sessionid:
  663. description: 会话ID
  664. type: integer
  665. strorderid:
  666. description: 委托单号
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeproperty:
  672. description: 交易属性
  673. type: integer
  674. tradeqty:
  675. description: 成交数量
  676. type: integer
  677. unfreezecharge:
  678. description: 解冻手续费
  679. type: number
  680. unfreezemargin:
  681. description: 解冻保证金
  682. type: number
  683. updatetime:
  684. description: 更新时间
  685. type: string
  686. uuid:
  687. description: 发起端唯一id
  688. type: string
  689. validtime:
  690. description: 有效期限
  691. type: string
  692. validtype:
  693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  694. type: integer
  695. volumetype:
  696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  697. type: integer
  698. required:
  699. - accountid
  700. - buildtype
  701. - buyorsell
  702. - goodsid
  703. - marketid
  704. - memberuserid
  705. - operatetype
  706. - orderqty
  707. - ordertime
  708. - pricemode
  709. - strorderid
  710. - tradedate
  711. - validtype
  712. type: object
  713. cptrade.QueryMyCPTradeGoodsRsp:
  714. properties:
  715. accountid:
  716. description: 卖方账户ID
  717. type: integer
  718. agreeunit:
  719. description: 合约单位
  720. type: number
  721. applyid:
  722. description: 关联申请ID
  723. type: integer
  724. attachmenturl:
  725. description: 附件地址
  726. type: string
  727. createtime:
  728. description: 创建时间
  729. type: string
  730. currencyid:
  731. description: 报价货币ID
  732. type: integer
  733. decimalplace:
  734. description: 报价小数位
  735. type: integer
  736. endtime:
  737. description: 预售结束时间
  738. type: string
  739. floorprice:
  740. description: 底价[大宗式竞拍]
  741. type: number
  742. goodscode:
  743. description: 商品代码(预售)
  744. type: string
  745. goodsdetail:
  746. description: 详情[大宗]
  747. type: string
  748. goodsid:
  749. description: 商品ID(自增ID SEQ_GOODS)
  750. type: integer
  751. goodsname:
  752. description: 商品名称(预售)
  753. type: string
  754. goodunit:
  755. description: 报价单位
  756. type: string
  757. goodunitid:
  758. description: 报价单位ID
  759. type: integer
  760. marketid:
  761. description: 所属市场ID
  762. type: integer
  763. marketname:
  764. description: 预售市场名称
  765. type: string
  766. presaledamount:
  767. description: 已预售总金额(预售结束时更新)
  768. type: number
  769. presaledqty:
  770. description: 已预售量(预售结束时更新)
  771. type: integer
  772. presalemode:
  773. description: 预售模式 - 1:一口价 2:大宗式竞拍
  774. type: integer
  775. presaleqty:
  776. description: 预售数量
  777. type: integer
  778. refprice:
  779. description: 参考价格[一口价]
  780. type: number
  781. relatedgoodscode:
  782. description: 商品代码(订单)
  783. type: string
  784. relatedgoodsid:
  785. description: 关联交易合约ID
  786. type: integer
  787. relatedgoodsname:
  788. description: 商品名称(订单)
  789. type: string
  790. relatedmarketid:
  791. description: 关联交易合约市场ID
  792. type: integer
  793. sellstatus:
  794. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  795. type: integer
  796. startprice:
  797. description: 起拍价[大宗式竞拍]
  798. type: number
  799. starttime:
  800. description: 预售开始时间
  801. type: string
  802. tradedate:
  803. description: 交易日(yyyyMMdd)
  804. type: string
  805. tradeprice:
  806. description: 成交价[大宗]
  807. type: number
  808. userid:
  809. description: 卖方用户ID
  810. type: integer
  811. required:
  812. - goodscode
  813. - goodsid
  814. - goodsname
  815. - marketid
  816. - relatedgoodscode
  817. - relatedgoodsname
  818. type: object
  819. cptrade.QueryPresaleGoodsExRsp:
  820. properties:
  821. attachmenturl:
  822. description: 附件地址
  823. type: string
  824. createtime:
  825. description: 创建时间
  826. type: string
  827. endtime:
  828. description: 预售结束时间
  829. type: string
  830. floorprice:
  831. description: 底价[大宗式竞拍]
  832. type: number
  833. goodsdetail:
  834. description: 详情[大宗]
  835. type: string
  836. goodsid:
  837. description: 商品ID(预售)
  838. type: integer
  839. goodunit:
  840. description: 报价单位
  841. type: string
  842. marketid:
  843. description: 预售市场ID - 根据预售模式选择市场
  844. type: integer
  845. presaledamount:
  846. description: 已预售总金额(预售结束时更新)
  847. type: number
  848. presaledqty:
  849. description: 已预售量(预售结束时更新)
  850. type: integer
  851. presalemode:
  852. description: 预售模式 - 1:一口价 2:大宗式竞拍
  853. type: integer
  854. presaleqty:
  855. description: 预售数量
  856. type: integer
  857. refprice:
  858. description: 参考价格[一口价]
  859. type: number
  860. relatedgoodsid:
  861. description: 关联交易合约ID
  862. type: integer
  863. relatedmarketid:
  864. description: 关联交易合约市场ID
  865. type: integer
  866. sellstatus:
  867. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  868. type: integer
  869. startprice:
  870. description: 起拍价[大宗式竞拍]
  871. type: number
  872. starttime:
  873. description: 预售开始时间
  874. type: string
  875. tradedate:
  876. description: 交易日(yyyyMMdd)
  877. type: string
  878. tradeprice:
  879. description: 成交价[大宗]
  880. type: number
  881. required:
  882. - goodsid
  883. type: object
  884. delivery.QueryDeliveryRelationRsp:
  885. properties:
  886. begindate:
  887. description: 起始日期(yyyyMMdd)
  888. type: string
  889. buytemplateid:
  890. description: 买履约计划模板ID
  891. type: integer
  892. deliverygoodscode:
  893. description: 品种代码
  894. type: string
  895. deliverygoodsid:
  896. description: 交割商品
  897. type: integer
  898. deliverygoodsname:
  899. description: 品种名称
  900. type: string
  901. deliverymode:
  902. description: 交割方式 - 1:点选式 2:申报式
  903. type: integer
  904. deliverypricerule:
  905. description: 交割价规则- 1:行情价 2:建仓价
  906. type: integer
  907. deliverytype:
  908. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  909. type: integer
  910. enddate:
  911. description: 结束日期(yyyyMMdd)
  912. type: string
  913. enumdicname:
  914. description: 品类单位名称
  915. type: string
  916. goodscode:
  917. description: 商品代码
  918. type: string
  919. goodsid:
  920. description: 交易合约ID
  921. type: integer
  922. goodsname:
  923. description: 商品名称
  924. type: string
  925. marketid:
  926. description: 市场ID
  927. type: integer
  928. mindeliveryqty:
  929. description: 最小交割系数(K)
  930. type: integer
  931. p2deliveryprice:
  932. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  933. type: number
  934. p2deliveryratio:
  935. description: P2合约系数(p)
  936. type: integer
  937. p2goodsid:
  938. description: P2合约ID
  939. type: integer
  940. p2pricemode:
  941. description: P2合约价格方式 - 1:商品价 2:固定值
  942. type: integer
  943. pdeliveryprice:
  944. description: P合约价格(商品价时填写0,固定值时填写固定值)
  945. type: number
  946. pdeliveryratio:
  947. description: P合约系数(n)
  948. type: integer
  949. pgoodscode:
  950. description: p合约代码
  951. type: string
  952. pgoodsid:
  953. description: P合约ID
  954. type: integer
  955. ppricemode:
  956. description: P合约价格方式 - 1:商品价 2:固定值
  957. type: integer
  958. rratio:
  959. description: 兑换系数(R)
  960. type: integer
  961. rratio1:
  962. description: 兑换系数(交易合约)(R1)
  963. type: integer
  964. rratio2:
  965. description: 兑换系数(仓单标准)(R2)
  966. type: integer
  967. selltemplateid:
  968. description: 卖履约计划模板ID
  969. type: integer
  970. wrstandardid:
  971. description: 仓单标准ID
  972. type: integer
  973. xdeliveryratio:
  974. description: 交易合约系数(m)
  975. type: integer
  976. required:
  977. - begindate
  978. - enddate
  979. - goodsid
  980. - mindeliveryqty
  981. - xdeliveryratio
  982. type: object
  983. ermcp.ExposureDetailRsp:
  984. properties:
  985. areauserid:
  986. description: 机构ID
  987. type: integer
  988. changeQty:
  989. description: 套保变动量
  990. type: number
  991. contracttype:
  992. description: 现货合同类型 - 1:采购 -1:销售
  993. type: integer
  994. convertfactor:
  995. description: 标仓系数
  996. type: number
  997. convertratio:
  998. description: 套保系数
  999. type: number
  1000. createtime:
  1001. description: 时间
  1002. type: string
  1003. enumdicname:
  1004. description: 现货商品单位名称
  1005. type: string
  1006. logtype:
  1007. description: 类型 - 1:套保计划 2:现货合同
  1008. type: integer
  1009. middlegoodsId:
  1010. description: 套保商品id
  1011. type: integer
  1012. middlegoodscode:
  1013. description: 套保商品代码
  1014. type: string
  1015. middlegoodsname:
  1016. description: 套保商品名称
  1017. type: string
  1018. qty:
  1019. description: 数量
  1020. type: number
  1021. relateNo:
  1022. description: 现货合同/套保计划编号
  1023. type: string
  1024. wrstandardcode:
  1025. description: 现货商品代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 现货商品ID
  1029. type: integer
  1030. wrstandardname:
  1031. description: 现货商品名称
  1032. type: string
  1033. type: object
  1034. ermcp.ExposureHedgePosDetailRsp:
  1035. properties:
  1036. buyorsell:
  1037. description: 买卖方向 0-买 1-卖
  1038. type: integer
  1039. channelbuildtype:
  1040. description: 开平方向 1-建仓 2-平仓
  1041. type: integer
  1042. goodscode:
  1043. description: 商品代码
  1044. type: string
  1045. goodsname:
  1046. description: 商品名称
  1047. type: string
  1048. hedgegoodsid:
  1049. description: 商品id
  1050. type: integer
  1051. tradeqty:
  1052. description: 数量(成交数量)
  1053. type: integer
  1054. tradetime:
  1055. description: 时间(成交时间)
  1056. type: string
  1057. type: object
  1058. ermcp.ExposureHedgePositionRsp:
  1059. properties:
  1060. accountid:
  1061. description: 资金账号[外部母账户]
  1062. type: integer
  1063. curbuyposition:
  1064. description: 期末买头寸
  1065. type: integer
  1066. cursellposition:
  1067. description: 期末卖头寸
  1068. type: integer
  1069. curtdbuyposition:
  1070. description: 期末今日买头寸
  1071. type: integer
  1072. curtdsellposition:
  1073. description: 期末今日卖头寸
  1074. type: integer
  1075. curydbuyposition:
  1076. description: 期末上日买头寸
  1077. type: integer
  1078. curydsellposition:
  1079. description: 期末上日卖头寸
  1080. type: integer
  1081. decreaseqty:
  1082. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1083. type: integer
  1084. fretdbuyposition:
  1085. description: 冻结今日买头寸
  1086. type: integer
  1087. fretdsellposition:
  1088. description: 冻结今日卖头寸
  1089. type: integer
  1090. freydbuyposition:
  1091. description: 冻结上日买头寸
  1092. type: integer
  1093. freydsellposition:
  1094. description: 冻结上日卖头寸
  1095. type: integer
  1096. goodscode:
  1097. description: 商品代码
  1098. type: string
  1099. goodsid:
  1100. description: 商品id
  1101. type: integer
  1102. goodsname:
  1103. description: 商品名称
  1104. type: string
  1105. hedgeaccountcode:
  1106. description: 对冲账号
  1107. type: string
  1108. hedgegoodsid:
  1109. description: 对冲合约ID
  1110. type: integer
  1111. increaseqty:
  1112. description: 增加数量 = 期末买头寸 - 期初买头寸
  1113. type: integer
  1114. marketid:
  1115. description: 市场ID
  1116. type: integer
  1117. relateduserid:
  1118. description: 关联用户id
  1119. type: integer
  1120. totalcurqty:
  1121. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1122. type: integer
  1123. totalydqty:
  1124. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1125. type: integer
  1126. tradedate:
  1127. description: 交易日(yyyyMMdd)
  1128. type: string
  1129. ydbuyposition:
  1130. description: 期初买头寸
  1131. type: integer
  1132. ydsellposition:
  1133. description: 期初卖头寸
  1134. type: integer
  1135. type: object
  1136. ermcp.ExposureSpotDetailRsp:
  1137. properties:
  1138. contracttype:
  1139. description: 合同类型 1-采购 -1-销售
  1140. type: integer
  1141. createtime:
  1142. description: 创建时间
  1143. type: string
  1144. enumdicname:
  1145. description: 现货商品单位名称
  1146. type: string
  1147. logtype:
  1148. description: 记录类型 1-套保 2-现货合同
  1149. type: integer
  1150. qty:
  1151. description: 数量
  1152. type: number
  1153. recordname:
  1154. description: 类型名称
  1155. type: string
  1156. relatedid:
  1157. description: 套保计划ID/现货合同ID
  1158. type: string
  1159. relatedno:
  1160. description: 编号
  1161. type: string
  1162. strtime:
  1163. description: 时间
  1164. type: string
  1165. wrstandardcode:
  1166. description: 现货商品代码
  1167. type: string
  1168. wrstandardname:
  1169. description: 现货商品名称
  1170. type: string
  1171. type: object
  1172. ermcp.ExposureSpotRsp:
  1173. properties:
  1174. areauserid:
  1175. description: 所属机构
  1176. type: integer
  1177. decreaseqty:
  1178. description: 减少数量=-(销售已定价数量+采购计划数量)
  1179. type: number
  1180. increaseqty:
  1181. description: 增加数量=销售计划数量+采购已定价数量
  1182. type: number
  1183. oritoalspotqty:
  1184. description: 昨日数量
  1185. type: number
  1186. totalspotqty:
  1187. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1188. type: number
  1189. updatetime:
  1190. description: 更新时间
  1191. type: string
  1192. wrstandardcode:
  1193. description: 现货品种代码
  1194. type: string
  1195. wrstandardid:
  1196. description: 现货商品ID
  1197. type: integer
  1198. wrstandardname:
  1199. description: 现货品种
  1200. type: string
  1201. type: object
  1202. ermcp.HisExposureRsp:
  1203. properties:
  1204. data:
  1205. description: 历史敞口
  1206. items:
  1207. $ref: '#/definitions/models.ErmcpHisExposure'
  1208. type: array
  1209. enumdicname:
  1210. description: 单位名称
  1211. type: string
  1212. middlegoodscode:
  1213. description: 套保品种代码
  1214. type: string
  1215. middlegoodsid:
  1216. description: 套保品种ID
  1217. type: integer
  1218. middlegoodsname:
  1219. description: 套保品种名称
  1220. type: string
  1221. type: object
  1222. ermcp.PendingAuditCntRsp:
  1223. properties:
  1224. areastockqty:
  1225. description: '待审核数量: 库存申请'
  1226. type: integer
  1227. businessdjqty:
  1228. description: '待审核数量: 点价'
  1229. type: integer
  1230. businessfpqty:
  1231. description: '待审核数量: 发票'
  1232. type: integer
  1233. businessjsqty:
  1234. description: '待审核数量: 结算'
  1235. type: integer
  1236. businesskxqty:
  1237. description: '待审核数量: 款项'
  1238. type: integer
  1239. hedgeplanqty:
  1240. description: '待审核数量: 套保计划'
  1241. type: integer
  1242. spotcontractqty:
  1243. description: '待审核数量: 现货合同'
  1244. type: integer
  1245. userqty:
  1246. description: '待审核数量: 用户'
  1247. type: integer
  1248. type: object
  1249. ermcp.QryAvalidGPRsp:
  1250. properties:
  1251. goodsgroupid:
  1252. description: 期货品种id
  1253. type: integer
  1254. goodsgroupname:
  1255. description: 期货品种名称
  1256. type: string
  1257. goodunitid:
  1258. description: 品种单位id
  1259. type: integer
  1260. goodunitname:
  1261. description: 品种单位名称
  1262. type: string
  1263. outergroupcode:
  1264. description: 期货品种代码
  1265. type: string
  1266. type: object
  1267. ermcp.QryBusinessDjRsp:
  1268. properties:
  1269. amount:
  1270. description: 点价金额=(点价价格+升贴水)*点价数量
  1271. type: number
  1272. applyid:
  1273. description: 申请人
  1274. type: string
  1275. applyname:
  1276. description: 申请人名称
  1277. type: string
  1278. applystatus:
  1279. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1280. type: integer
  1281. applytime:
  1282. description: 申请时间
  1283. type: string
  1284. attachurl:
  1285. description: 附件
  1286. type: string
  1287. auditid:
  1288. description: 审核人ID
  1289. type: string
  1290. auditname:
  1291. description: 审核人名称
  1292. type: string
  1293. auditremark:
  1294. description: 审核备注
  1295. type: string
  1296. audittime:
  1297. description: 审核时间
  1298. type: string
  1299. buyusername:
  1300. description: 采购方名称
  1301. type: string
  1302. contractno:
  1303. description: 合同编号
  1304. type: string
  1305. contractstatus:
  1306. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1307. type: integer
  1308. contracttype:
  1309. description: 现货合同类型 - 1:采购 -1:销售
  1310. type: integer
  1311. deliverygoodscode:
  1312. description: 现货品种代码
  1313. type: string
  1314. deliverygoodsid:
  1315. description: 现货商品ID
  1316. type: integer
  1317. deliverygoodsname:
  1318. description: 现货品种名称
  1319. type: string
  1320. enumdicname:
  1321. description: 单位名称
  1322. type: string
  1323. goodscode:
  1324. description: 点价合约
  1325. type: string
  1326. goodsname:
  1327. description: 商品名称
  1328. type: string
  1329. operateapplyid:
  1330. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1331. type: string
  1332. operateapplytype:
  1333. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1334. type: integer
  1335. pricedPrice:
  1336. description: 点价价格(非必填)
  1337. type: number
  1338. pricedQty:
  1339. description: 点价数量(非必填)
  1340. type: number
  1341. pricemove:
  1342. description: 升贴水
  1343. type: number
  1344. pricetype:
  1345. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1346. type: integer
  1347. relatedid:
  1348. description: 现货合同ID
  1349. type: string
  1350. sellusername:
  1351. description: 销售方名字
  1352. type: string
  1353. userid:
  1354. description: 用户ID
  1355. type: integer
  1356. wrstandardcode:
  1357. description: 品类代码
  1358. type: string
  1359. wrstandardid:
  1360. description: 品类id
  1361. type: integer
  1362. wrstandardname:
  1363. description: 品类名称
  1364. type: string
  1365. type: object
  1366. ermcp.QryBussinessFpRsp:
  1367. properties:
  1368. applyid:
  1369. description: 申请人
  1370. type: string
  1371. applyname:
  1372. description: 申请人名称
  1373. type: string
  1374. applystatus:
  1375. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1376. type: integer
  1377. applytime:
  1378. description: 申请时间
  1379. type: string
  1380. attachurl:
  1381. description: 附件
  1382. type: string
  1383. auditid:
  1384. description: 审核人ID
  1385. type: string
  1386. auditname:
  1387. description: 审核人名称
  1388. type: string
  1389. auditremark:
  1390. description: 审核备注
  1391. type: string
  1392. audittime:
  1393. description: 审核时间
  1394. type: string
  1395. buyusername:
  1396. description: 采购方名称
  1397. type: string
  1398. contractno:
  1399. description: 合同编号
  1400. type: string
  1401. contractstatus:
  1402. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1403. type: integer
  1404. contracttype:
  1405. description: 现货合同类型 - 1:采购 -1:销售
  1406. type: integer
  1407. deliverygoodscode:
  1408. description: 现货品种代码
  1409. type: string
  1410. deliverygoodsid:
  1411. description: 现货商品ID
  1412. type: integer
  1413. deliverygoodsname:
  1414. description: 现货品种名称
  1415. type: string
  1416. enumdicname:
  1417. description: 单位名称
  1418. type: string
  1419. goodscode:
  1420. description: 点价合约
  1421. type: string
  1422. goodsname:
  1423. description: 商品名称
  1424. type: string
  1425. invoiceamount:
  1426. description: 已开收票金额(销售为开票,采购为收票)
  1427. type: number
  1428. operateapplyid:
  1429. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1430. type: string
  1431. operateapplytype:
  1432. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1433. type: integer
  1434. pricemove:
  1435. description: 升贴水
  1436. type: number
  1437. pricetype:
  1438. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1439. type: integer
  1440. relatedid:
  1441. description: 现货合同ID
  1442. type: string
  1443. sellusername:
  1444. description: 销售方名字
  1445. type: string
  1446. userid:
  1447. description: 用户ID
  1448. type: integer
  1449. wrstandardcode:
  1450. description: 品类代码
  1451. type: string
  1452. wrstandardid:
  1453. description: 品类id
  1454. type: integer
  1455. wrstandardname:
  1456. description: 品类名称
  1457. type: string
  1458. type: object
  1459. ermcp.QryBussinessJsExRsp:
  1460. properties:
  1461. applyid:
  1462. description: 申请人
  1463. type: string
  1464. applyname:
  1465. description: 申请人名称
  1466. type: string
  1467. applystatus:
  1468. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1469. type: integer
  1470. applytime:
  1471. description: 申请时间
  1472. type: string
  1473. attachurl:
  1474. description: 附件
  1475. type: string
  1476. auditid:
  1477. description: 审核人ID
  1478. type: string
  1479. auditname:
  1480. description: 审核人名称
  1481. type: string
  1482. auditremark:
  1483. description: 审核备注
  1484. type: string
  1485. audittime:
  1486. description: 审核时间
  1487. type: string
  1488. buyusername:
  1489. description: 采购方名称
  1490. type: string
  1491. contractno:
  1492. description: 合同编号
  1493. type: string
  1494. contractstatus:
  1495. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1496. type: integer
  1497. contracttype:
  1498. description: 现货合同类型 - 1:采购 -1:销售
  1499. type: integer
  1500. deliverygoodscode:
  1501. description: 现货品种代码
  1502. type: string
  1503. deliverygoodsid:
  1504. description: 现货商品ID
  1505. type: integer
  1506. deliverygoodsname:
  1507. description: 现货品种名称
  1508. type: string
  1509. enumdicname:
  1510. description: 单位名称
  1511. type: string
  1512. goodscode:
  1513. description: 点价合约
  1514. type: string
  1515. goodsname:
  1516. description: 商品名称
  1517. type: string
  1518. operateapplyid:
  1519. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1520. type: string
  1521. operateapplytype:
  1522. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1523. type: integer
  1524. pricemove:
  1525. description: 升贴水
  1526. type: number
  1527. pricetype:
  1528. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1529. type: integer
  1530. reckontype:
  1531. description: 结算类型
  1532. type: string
  1533. reckonvalue:
  1534. description: 值
  1535. type: number
  1536. relatedid:
  1537. description: 现货合同ID
  1538. type: string
  1539. sellusername:
  1540. description: 销售方名字
  1541. type: string
  1542. userid:
  1543. description: 用户ID
  1544. type: integer
  1545. wrstandardcode:
  1546. description: 品类代码
  1547. type: string
  1548. wrstandardid:
  1549. description: 品类id
  1550. type: integer
  1551. wrstandardname:
  1552. description: 品类名称
  1553. type: string
  1554. type: object
  1555. ermcp.QryBussinessJsRsp:
  1556. properties:
  1557. addmargin:
  1558. description: 追加保证金(非必填)
  1559. type: number
  1560. applyid:
  1561. description: 申请人
  1562. type: string
  1563. applyname:
  1564. description: 申请人名称
  1565. type: string
  1566. applystatus:
  1567. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1568. type: integer
  1569. applytime:
  1570. description: 申请时间
  1571. type: string
  1572. attachurl:
  1573. description: 附件
  1574. type: string
  1575. auditid:
  1576. description: 审核人ID
  1577. type: string
  1578. auditname:
  1579. description: 审核人名称
  1580. type: string
  1581. auditremark:
  1582. description: 审核备注
  1583. type: string
  1584. audittime:
  1585. description: 审核时间
  1586. type: string
  1587. buyusername:
  1588. description: 采购方名称
  1589. type: string
  1590. contractno:
  1591. description: 合同编号
  1592. type: string
  1593. contractstatus:
  1594. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1595. type: integer
  1596. contracttype:
  1597. description: 现货合同类型 - 1:采购 -1:销售
  1598. type: integer
  1599. decmargin:
  1600. description: 减少保证金(非必填)
  1601. type: number
  1602. deliverygoodscode:
  1603. description: 现货品种代码
  1604. type: string
  1605. deliverygoodsid:
  1606. description: 现货商品ID
  1607. type: integer
  1608. deliverygoodsname:
  1609. description: 现货品种名称
  1610. type: string
  1611. enumdicname:
  1612. description: 单位名称
  1613. type: string
  1614. goodscode:
  1615. description: 点价合约
  1616. type: string
  1617. goodsname:
  1618. description: 商品名称
  1619. type: string
  1620. operateapplyid:
  1621. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1622. type: string
  1623. operateapplytype:
  1624. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1625. type: integer
  1626. pricemove:
  1627. description: 升贴水
  1628. type: number
  1629. pricetype:
  1630. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1631. type: integer
  1632. reckonadjustamount:
  1633. description: 结算调整金额(非必填)
  1634. type: number
  1635. reckonosamount:
  1636. description: 结算溢短金额(非必填)
  1637. type: number
  1638. reckonotheramount:
  1639. description: 结算其他费用(非必填)
  1640. type: number
  1641. reckonrealqty:
  1642. description: 结算实际数量(非必填)
  1643. type: number
  1644. relatedid:
  1645. description: 现货合同ID
  1646. type: string
  1647. sellusername:
  1648. description: 销售方名字
  1649. type: string
  1650. userid:
  1651. description: 用户ID
  1652. type: integer
  1653. wrstandardcode:
  1654. description: 品类代码
  1655. type: string
  1656. wrstandardid:
  1657. description: 品类id
  1658. type: integer
  1659. wrstandardname:
  1660. description: 品类名称
  1661. type: string
  1662. type: object
  1663. ermcp.QryBussinessKxRsp:
  1664. properties:
  1665. applyid:
  1666. description: 申请人
  1667. type: string
  1668. applyname:
  1669. description: 申请人名称
  1670. type: string
  1671. applystatus:
  1672. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1673. type: integer
  1674. applytime:
  1675. description: 申请时间
  1676. type: string
  1677. attachurl:
  1678. description: 附件
  1679. type: string
  1680. auditid:
  1681. description: 审核人ID
  1682. type: string
  1683. auditname:
  1684. description: 审核人名称
  1685. type: string
  1686. auditremark:
  1687. description: 审核备注
  1688. type: string
  1689. audittime:
  1690. description: 审核时间
  1691. type: string
  1692. buyusername:
  1693. description: 采购方名称
  1694. type: string
  1695. contractno:
  1696. description: 合同编号
  1697. type: string
  1698. contractstatus:
  1699. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1700. type: integer
  1701. contracttype:
  1702. description: 现货合同类型 - 1:采购 -1:销售
  1703. type: integer
  1704. deductamount:
  1705. description: 退款(非必填)
  1706. type: number
  1707. deliverygoodscode:
  1708. description: 现货品种代码
  1709. type: string
  1710. deliverygoodsid:
  1711. description: 现货商品ID
  1712. type: integer
  1713. deliverygoodsname:
  1714. description: 现货品种名称
  1715. type: string
  1716. enumdicname:
  1717. description: 单位名称
  1718. type: string
  1719. goodscode:
  1720. description: 点价合约
  1721. type: string
  1722. goodsname:
  1723. description: 商品名称
  1724. type: string
  1725. kxtype:
  1726. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1727. type: integer
  1728. operateapplyid:
  1729. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1730. type: string
  1731. operateapplytype:
  1732. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1733. type: integer
  1734. payamount:
  1735. description: 收付款(非必填)
  1736. type: number
  1737. pricemove:
  1738. description: 升贴水
  1739. type: number
  1740. pricetype:
  1741. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1742. type: integer
  1743. relatedid:
  1744. description: 现货合同ID
  1745. type: string
  1746. sellusername:
  1747. description: 销售方名字
  1748. type: string
  1749. userid:
  1750. description: 用户ID
  1751. type: integer
  1752. wrstandardcode:
  1753. description: 品类代码
  1754. type: string
  1755. wrstandardid:
  1756. description: 品类id
  1757. type: integer
  1758. wrstandardname:
  1759. description: 品类名称
  1760. type: string
  1761. type: object
  1762. ermcp.QryGGCovertCfgRsp:
  1763. properties:
  1764. convertratio:
  1765. description: 折算系数
  1766. type: number
  1767. destgoodsgroupid:
  1768. description: 目标品种ID
  1769. type: integer
  1770. dstcode:
  1771. description: 目录品种代码
  1772. type: string
  1773. dstexchangecode:
  1774. description: 目标期货交易所
  1775. type: string
  1776. dstname:
  1777. description: 目标品种名称
  1778. type: string
  1779. dstunitid:
  1780. description: 目标品种单位ID
  1781. type: integer
  1782. dstunitidname:
  1783. description: 目标品种单位名称
  1784. type: string
  1785. modifytime:
  1786. description: 修改时间
  1787. type: string
  1788. srccode:
  1789. description: 源品种代码
  1790. type: string
  1791. srcexchangecode:
  1792. description: 源期货交易所
  1793. type: string
  1794. srcgoodsgroupid:
  1795. description: 源品种ID
  1796. type: integer
  1797. srcname:
  1798. description: 源品种名称
  1799. type: string
  1800. srcunitid:
  1801. description: 源品种单位ID
  1802. type: integer
  1803. srcunitidname:
  1804. description: 源品种单位名称
  1805. type: string
  1806. type: object
  1807. ermcp.QryMGChangeLogRsp:
  1808. properties:
  1809. aftervalue:
  1810. description: 变更后
  1811. type: number
  1812. applyid:
  1813. description: 操作人
  1814. type: integer
  1815. applyname:
  1816. description: 操作人名称
  1817. type: string
  1818. applysrc:
  1819. description: 操作来源 - 1:管理端 2:终端
  1820. type: integer
  1821. beforevalue:
  1822. description: 变更前
  1823. type: number
  1824. changelogtype:
  1825. description: 变更流水类型 - 1:套保比率变更
  1826. type: integer
  1827. handlestatus:
  1828. description: 处理状态
  1829. type: integer
  1830. logdatetime:
  1831. description: 流水日期
  1832. type: string
  1833. logid:
  1834. description: 流水ID
  1835. type: integer
  1836. logremark:
  1837. description: 流水备注
  1838. type: string
  1839. middlegoodsid:
  1840. description: 套保品种ID
  1841. type: integer
  1842. tradedate:
  1843. description: 交易日(yyyyMMdd)
  1844. type: string
  1845. updatetime:
  1846. description: 更新时间
  1847. type: string
  1848. type: object
  1849. ermcp.QryMiddleGoodsDetailRsp:
  1850. properties:
  1851. cvList:
  1852. description: 期货品种折算列表
  1853. items:
  1854. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1855. type: array
  1856. mg:
  1857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1858. description: 套保品种基本信息
  1859. wrcList:
  1860. description: 现货品种列表(现货商品折算配置)
  1861. items:
  1862. $ref: '#/definitions/models.WRSConverTDetail'
  1863. type: array
  1864. type: object
  1865. ermcp.QryMiddleGoodsRsp:
  1866. properties:
  1867. areauserid:
  1868. description: 机构用户ID
  1869. type: integer
  1870. createtime:
  1871. description: 修改时间
  1872. type: string
  1873. enumdicname:
  1874. description: 单位名称
  1875. type: string
  1876. evaluateratio:
  1877. description: 估价系数
  1878. type: number
  1879. goodsgroupid:
  1880. description: 关联期货品种ID
  1881. type: integer
  1882. goodsunitid:
  1883. description: 单位ID
  1884. type: integer
  1885. isvalid:
  1886. description: 状态 0-无效(停用) 1-有效(正常)
  1887. type: integer
  1888. middlegoodscode:
  1889. description: 套保品种代码
  1890. type: string
  1891. middlegoodsid:
  1892. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1893. type: integer
  1894. middlegoodsname:
  1895. description: 套保品种名称
  1896. type: string
  1897. modifytime:
  1898. description: 修改时间
  1899. type: string
  1900. needarbitrageratio:
  1901. description: 套利比例
  1902. type: number
  1903. needhedgeratio:
  1904. description: 套保比率
  1905. type: number
  1906. qtydecimalplace:
  1907. description: 数量小数位
  1908. type: integer
  1909. relatedgoodsid:
  1910. description: 关联交易商品ID
  1911. type: integer
  1912. relatedgoodstype:
  1913. description: 关联商品类型 - 1:期货合约 2:现货品种
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. type: object
  1919. ermcp.QryOPLogRsp:
  1920. properties:
  1921. aftervalue:
  1922. description: 变更后
  1923. type: number
  1924. applyid:
  1925. description: 操作人ID
  1926. type: string
  1927. applyname:
  1928. description: 操作人名称
  1929. type: string
  1930. beforevalue:
  1931. description: 变更前
  1932. type: number
  1933. biztype:
  1934. description: 业务类型 - 1:套保计划 2:现货合同
  1935. type: integer
  1936. contracttype:
  1937. description: 现货合同类型 - 1:采购 -1:销售
  1938. type: integer
  1939. logvalue:
  1940. description: 数值
  1941. type: number
  1942. operatelogtype:
  1943. description: 操作流水类型
  1944. type: integer
  1945. operatelogtypedesc:
  1946. description: 操作流水类型名称
  1947. type: string
  1948. relatedid:
  1949. description: 现货合同ID\套保计划
  1950. type: string
  1951. updatetime:
  1952. description: 更新时间
  1953. type: string
  1954. type: object
  1955. ermcp.QryUserInfoRsp:
  1956. properties:
  1957. address:
  1958. description: 通讯地址
  1959. type: string
  1960. attachment1:
  1961. description: 附件1
  1962. type: string
  1963. audittime:
  1964. description: 审核时间
  1965. type: string
  1966. cardbackphotourl:
  1967. description: 证件反面图片地址
  1968. type: string
  1969. cardfrontphotourl:
  1970. description: 证件正面图片地址
  1971. type: string
  1972. cardnum:
  1973. description: 证件号码
  1974. type: string
  1975. cardtype:
  1976. description: 证件类型
  1977. type: integer
  1978. cardtypename:
  1979. description: 证件类型名称
  1980. type: string
  1981. cityid:
  1982. description: 市
  1983. type: integer
  1984. contactname:
  1985. description: 联系人
  1986. type: string
  1987. countryid:
  1988. description: 国家
  1989. type: integer
  1990. createtime:
  1991. description: 创建时间
  1992. type: string
  1993. customername:
  1994. description: 企业名称
  1995. type: string
  1996. districtid:
  1997. description: 区域
  1998. type: integer
  1999. email:
  2000. description: 邮件
  2001. type: string
  2002. legalpersonname:
  2003. description: 法人姓名(企业)
  2004. type: string
  2005. memberuserid:
  2006. description: 所属机构ID
  2007. type: integer
  2008. mobile:
  2009. description: 手机号码
  2010. type: string
  2011. modifytime:
  2012. description: 修改时间
  2013. type: string
  2014. nickname:
  2015. description: 昵称
  2016. type: string
  2017. provinceid:
  2018. description: 省
  2019. type: integer
  2020. remark:
  2021. description: 备注
  2022. type: string
  2023. status:
  2024. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2025. type: integer
  2026. statusdesc:
  2027. description: 账户状态中文描述
  2028. type: string
  2029. taxpayernum:
  2030. description: 纳税人识别号
  2031. type: string
  2032. telphone:
  2033. description: 联系电话
  2034. type: string
  2035. userid:
  2036. description: 用户ID
  2037. type: integer
  2038. userinfotype:
  2039. description: 客户类型
  2040. type: string
  2041. type: object
  2042. ermcp.QryWarehouseRsp:
  2043. properties:
  2044. address:
  2045. description: 详细地址
  2046. type: string
  2047. areauserid:
  2048. description: 所属机构
  2049. type: integer
  2050. autoid:
  2051. description: 自增ID(仓库ID)
  2052. type: integer
  2053. cityid:
  2054. description: 市
  2055. type: integer
  2056. contactname:
  2057. description: 联系人
  2058. type: string
  2059. contactnum:
  2060. description: 联系电话
  2061. type: string
  2062. countryid:
  2063. description: 国家
  2064. type: integer
  2065. createtime:
  2066. description: 创建时间
  2067. type: string
  2068. districtid:
  2069. description: 区
  2070. type: integer
  2071. hasvideo:
  2072. description: 是否有视频 - 0:无 1:有
  2073. type: integer
  2074. provinceid:
  2075. description: 省
  2076. type: integer
  2077. remark:
  2078. description: 审核备注
  2079. type: string
  2080. videourl:
  2081. description: 视频地址
  2082. type: string
  2083. warehousecode:
  2084. description: 仓库代码
  2085. type: string
  2086. warehousename:
  2087. description: 仓库名称
  2088. type: string
  2089. warehousestatus:
  2090. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2091. type: integer
  2092. warehousetype:
  2093. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2094. type: integer
  2095. type: object
  2096. ermcp.QueryErmcpTradePositionRsp:
  2097. properties:
  2098. agreeunit:
  2099. description: 合约单位
  2100. type: number
  2101. buyorsell:
  2102. description: 方向 - 0:买 1:卖
  2103. type: integer
  2104. curpositionqty:
  2105. description: 持仓(总仓数量, 期末头寸)
  2106. type: integer
  2107. curtdposition:
  2108. description: 今仓数量(期末今日头寸)
  2109. type: integer
  2110. curtdpositionenabled:
  2111. description: 今仓可用
  2112. type: integer
  2113. decimalplace:
  2114. description: 报价小数位
  2115. type: integer
  2116. enableqty:
  2117. description: 可用(总仓可用)
  2118. type: integer
  2119. exexchangename:
  2120. description: 外部交易所名称
  2121. type: string
  2122. exexehangecode:
  2123. description: 外部交易所代码
  2124. type: string
  2125. exexehangeid:
  2126. description: 外部交易所id
  2127. type: integer
  2128. goodscode:
  2129. description: 商品代码(内部)
  2130. type: string
  2131. goodsid:
  2132. description: 商品ID(自增ID SEQ_GOODS)
  2133. type: integer
  2134. goodsname:
  2135. description: 商品名称
  2136. type: string
  2137. last:
  2138. description: 现价
  2139. type: number
  2140. marketid:
  2141. description: 所属市场ID
  2142. type: integer
  2143. openaverageprice:
  2144. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2145. type: number
  2146. opencost:
  2147. description: 开仓成本
  2148. type: number
  2149. openpl:
  2150. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2151. type: number
  2152. outgoodscode:
  2153. description: 商品代码(外部)
  2154. type: string
  2155. positionaverageprice:
  2156. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2157. type: number
  2158. positioncost:
  2159. description: 持仓成本
  2160. type: number
  2161. positionpl:
  2162. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2163. type: number
  2164. positionplrate:
  2165. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2166. type: number
  2167. usedmargin:
  2168. description: 占用保证金
  2169. type: number
  2170. type: object
  2171. ermcp.RealtimeExposurePositionRsp:
  2172. properties:
  2173. agreeunit:
  2174. description: 合约单位
  2175. type: string
  2176. areauserid:
  2177. description: 所属机构id
  2178. type: integer
  2179. convertratio:
  2180. description: 期货品种系数(折算系数)
  2181. type: number
  2182. curqty:
  2183. description: 当前持仓
  2184. type: integer
  2185. diffhedgeqty:
  2186. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2187. type: number
  2188. diffqty:
  2189. description: 持仓变动量=当前持仓-昨日持仓
  2190. type: integer
  2191. goodscode:
  2192. description: 商品代码
  2193. type: string
  2194. goodsid:
  2195. description: 商品id
  2196. type: integer
  2197. goodsname:
  2198. description: 商品名称
  2199. type: string
  2200. middlegoodsid:
  2201. description: 套保商品id
  2202. type: integer
  2203. ydqty:
  2204. description: 昨日持仓
  2205. type: integer
  2206. type: object
  2207. ermcp.RealtimeExposureRsp:
  2208. properties:
  2209. AreaUserID:
  2210. description: 所属机构
  2211. type: integer
  2212. BuyFutureQty:
  2213. description: 买入期货数量
  2214. type: number
  2215. BuyPlanQty:
  2216. description: 采购计划数量
  2217. type: number
  2218. BuyPricedQty:
  2219. description: 采购合同已定价数量
  2220. type: number
  2221. MiddleGoodsCode:
  2222. description: 套保品种代码
  2223. type: string
  2224. MiddleGoodsHedgeRatio:
  2225. description: 套保比例
  2226. type: number
  2227. MiddleGoodsID:
  2228. description: 套保品种
  2229. type: integer
  2230. MiddleGoodsName:
  2231. description: 套保品种名称
  2232. type: string
  2233. NeedHedgeExposoure:
  2234. description: 应套保敞口(套保敞口)
  2235. type: number
  2236. NeedHedgeRatio:
  2237. description: 应套保敞口比例
  2238. type: number
  2239. OriBuyFutureQty:
  2240. description: 期初买入期货数量
  2241. type: number
  2242. OriBuyPlanQty:
  2243. description: 期初采购计划数量
  2244. type: number
  2245. OriBuyPricedQty:
  2246. description: 期初采购合同已定价数量
  2247. type: number
  2248. OriSellFutureQty:
  2249. description: 期初卖出期货数量
  2250. type: number
  2251. OriSellPlanQty:
  2252. description: 期初销售计划数量
  2253. type: number
  2254. OriSellPricedQty:
  2255. description: 期初销售合同已定价数量
  2256. type: number
  2257. OriTotalSpotQty:
  2258. description: 期初现货总量
  2259. type: number
  2260. SellFutureQty:
  2261. description: 卖出期货数量
  2262. type: number
  2263. SellPlanQty:
  2264. description: 销售计划数量
  2265. type: number
  2266. SellPricedQty:
  2267. description: 销售合同已定价数量
  2268. type: number
  2269. TotalExposure:
  2270. description: 总敞口 平安:净敞口
  2271. type: number
  2272. TotalFutureQty:
  2273. description: 期货总量 平安:保值净持仓量
  2274. type: number
  2275. TotalHedgeRatio:
  2276. description: 敞口比例
  2277. type: number
  2278. TotalNeedHedgeQty:
  2279. description: 应套保总量(现货应套保总量)
  2280. type: number
  2281. TotalSpotQty:
  2282. description: 现货总量 平安:采销定价净值
  2283. type: number
  2284. arbitrageqty:
  2285. description: 套利量
  2286. type: number
  2287. diffArbitrageQty:
  2288. description: 套利变动量
  2289. type: number
  2290. diffExposoureQty:
  2291. description: 变动量(套保敞口)
  2292. type: number
  2293. diffFutuQty:
  2294. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2295. type: number
  2296. diffHedgeQty:
  2297. description: 套保变动量
  2298. type: number
  2299. diffQty:
  2300. description: 变动量(总敞口) 平安:净敞口今日变动
  2301. type: number
  2302. diffSpotHedgeQty:
  2303. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2304. type: number
  2305. diffSpotQty:
  2306. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2307. type: number
  2308. enumdicname:
  2309. description: 单位名称
  2310. type: string
  2311. hedgeqty:
  2312. description: 套保量
  2313. type: number
  2314. needarbitrageqty:
  2315. description: 应套利量
  2316. type: number
  2317. needarbitrageratio:
  2318. description: 套利比例
  2319. type: number
  2320. needhedgeqty:
  2321. description: 应套保量
  2322. type: number
  2323. oriarbitrageqty:
  2324. description: 期初套利量
  2325. type: number
  2326. orihedgeqty:
  2327. description: 期初套保量
  2328. type: number
  2329. orineedhedgeexposoure:
  2330. description: 期初套保敞口
  2331. type: number
  2332. oritotalexposure:
  2333. description: 期初总敞口
  2334. type: number
  2335. oritotalfutureqty:
  2336. description: 期初期货总量
  2337. type: number
  2338. oritotalneedhedgeqty:
  2339. description: 期初现货应套保量
  2340. type: number
  2341. type: object
  2342. erms2.QueryArbitrageStrategyRsp:
  2343. properties:
  2344. applybasis:
  2345. description: 申请基差
  2346. type: number
  2347. asapplyid:
  2348. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2349. type: string
  2350. asname:
  2351. description: 策略名称
  2352. type: string
  2353. asno:
  2354. description: 策略编号
  2355. type: string
  2356. basischangepl:
  2357. description: 基差变动损益[结算更新]
  2358. type: number
  2359. biztype:
  2360. description: 业务类型 - 1:正向套利 -1:反向套利
  2361. type: integer
  2362. closetradedate:
  2363. description: 完结交易日(yyyyMMdd)
  2364. type: string
  2365. curbasis:
  2366. description: 当前基差[结算更新]
  2367. type: number
  2368. deliverygoodsid:
  2369. description: 现货品种ID
  2370. type: integer
  2371. futureavgprice:
  2372. description: 期货建仓均价
  2373. type: number
  2374. futurecloseamount:
  2375. description: 期货平仓金额
  2376. type: number
  2377. futurecloseqty:
  2378. description: 期货平仓数量
  2379. type: number
  2380. futureopenamount:
  2381. description: 期货开仓金额
  2382. type: number
  2383. futureopenqty:
  2384. description: 期货开仓数量
  2385. type: number
  2386. futurepl:
  2387. description: 期货总盈亏[结算更新]
  2388. type: number
  2389. futureqty:
  2390. description: 期货持仓数量
  2391. type: number
  2392. futurequote:
  2393. description: 期货额度
  2394. type: number
  2395. goodsgroupid:
  2396. description: 期货品种ID
  2397. type: integer
  2398. marketid:
  2399. description: 市场ID
  2400. type: integer
  2401. netexposure:
  2402. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2403. type: number
  2404. netexposurepl:
  2405. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2406. type: number
  2407. netexposurerate:
  2408. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2409. type: number
  2410. openbasis:
  2411. description: 建仓基差
  2412. type: number
  2413. pricedspotqty:
  2414. description: 已定价现货数量
  2415. type: number
  2416. pricedspotqtynotax:
  2417. description: 已定价现货不含税数量
  2418. type: number
  2419. remark:
  2420. description: 备注
  2421. type: string
  2422. spotavgprice:
  2423. description: 现货均价
  2424. type: number
  2425. spotbuyamount:
  2426. description: 现货采购金额
  2427. type: number
  2428. spotbuyqty:
  2429. description: 现货采购数量
  2430. type: number
  2431. spotpl:
  2432. description: 现货总盈亏[结算更新]
  2433. type: number
  2434. spotquota:
  2435. description: 现货额度
  2436. type: number
  2437. spotsellamount:
  2438. description: 现货销售金额
  2439. type: number
  2440. spotsellqty:
  2441. description: 现货销售数量
  2442. type: number
  2443. spotusedquota:
  2444. description: 现货占用资金
  2445. type: number
  2446. strategystatus:
  2447. description: 策略状态 - 0:未结束 1:已结束
  2448. type: integer
  2449. totalpl:
  2450. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2451. type: number
  2452. tradedate:
  2453. description: 交易日(yyyyMMdd)
  2454. type: string
  2455. updatetime:
  2456. description: 更新时间
  2457. type: string
  2458. usedquota:
  2459. description: 已占用资金
  2460. type: number
  2461. userid:
  2462. description: 所属机构
  2463. type: integer
  2464. required:
  2465. - asapplyid
  2466. type: object
  2467. erms2.QueryInnerTradeDetailRsp:
  2468. properties:
  2469. accountid:
  2470. description: 账号ID
  2471. type: integer
  2472. agreeunit:
  2473. description: 合约单位
  2474. type: number
  2475. asapplyid:
  2476. description: 策略申请ID
  2477. type: integer
  2478. asname:
  2479. description: 策略名称
  2480. type: string
  2481. asno:
  2482. description: 策略编号
  2483. type: string
  2484. buyorsell:
  2485. description: 方向 - 0:买 1:卖
  2486. type: integer
  2487. channelbuildtype:
  2488. description: 委托单据类型 0:无 1:建仓 2:平仓
  2489. type: integer
  2490. closetype:
  2491. description: 平仓方式 - 0:无 1:平今 2:平昨
  2492. type: integer
  2493. decimalplace:
  2494. description: 报价小数位
  2495. type: integer
  2496. detailtype:
  2497. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2498. type: integer
  2499. exexchangecode:
  2500. description: 外部交易所代码
  2501. type: string
  2502. exexchangename:
  2503. description: 外部交易所名称
  2504. type: string
  2505. goodscode:
  2506. description: 商品代码(合约)
  2507. type: string
  2508. goodsgroupid:
  2509. description: 商品组ID(品种ID)
  2510. type: integer
  2511. goodsgroupname:
  2512. description: 商品组名称(品种)
  2513. type: string
  2514. goodsid:
  2515. description: 商品ID
  2516. type: integer
  2517. goodsname:
  2518. description: 商品名称(合约)
  2519. type: string
  2520. goodunit:
  2521. description: 报价单位
  2522. type: string
  2523. marketid:
  2524. description: 市场ID
  2525. type: integer
  2526. orderid:
  2527. description: 委托单号
  2528. type: string
  2529. outgoodscode:
  2530. description: 商品代码(外部)
  2531. type: string
  2532. relatedouttradeid:
  2533. description: 关联外部成交单ID
  2534. type: string
  2535. remark:
  2536. description: 备注
  2537. type: string
  2538. spotcontractid:
  2539. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2540. type: integer
  2541. spotcontractno:
  2542. description: 现货合同编号
  2543. type: string
  2544. tradeid:
  2545. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2546. type: string
  2547. tradeprice:
  2548. description: 成交价格
  2549. type: number
  2550. tradeqty:
  2551. description: 成交数量
  2552. type: integer
  2553. tradetime:
  2554. description: 成交时间
  2555. type: string
  2556. updatetime:
  2557. description: 更新时间
  2558. type: string
  2559. required:
  2560. - asapplyid
  2561. - buyorsell
  2562. - goodscode
  2563. - goodsgroupid
  2564. - goodsgroupname
  2565. - goodsname
  2566. - tradeid
  2567. type: object
  2568. erms2.QuerySpotContractRsp:
  2569. properties:
  2570. accountid:
  2571. description: 资金账户ID
  2572. type: integer
  2573. areauserid:
  2574. description: 所属机构
  2575. type: integer
  2576. closedate:
  2577. description: 终止日期
  2578. type: string
  2579. closeremark:
  2580. description: 结束备注
  2581. type: string
  2582. closetradedate:
  2583. description: 完结交易日(yyyyMMdd)
  2584. type: string
  2585. closetype:
  2586. description: 终止类型 - 1:违约 2:提前终止
  2587. type: integer
  2588. contractamount:
  2589. description: 合同金额
  2590. type: number
  2591. contractattachment:
  2592. description: 合同附件
  2593. type: string
  2594. contractno:
  2595. description: 现货合同编号
  2596. type: string
  2597. contractqty:
  2598. description: 合同数量(数值) (用于计算)
  2599. type: number
  2600. contractqtychar:
  2601. description: 合同数量\已订价数量 (用于显示)
  2602. type: string
  2603. contractstatus:
  2604. description: 合同状态 - 0:未结束 1:已结束
  2605. type: integer
  2606. contracttype:
  2607. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2608. type: integer
  2609. customeraccountid:
  2610. description: 客户资金账户ID
  2611. type: integer
  2612. customeruserid:
  2613. description: 客户ID
  2614. type: integer
  2615. deliverygoodsdesc:
  2616. description: 品种说明
  2617. type: string
  2618. deliverygoodsid:
  2619. description: 现货品种ID
  2620. type: integer
  2621. handlestatus:
  2622. description: 处理状态
  2623. type: integer
  2624. invoiceatt:
  2625. description: 发票附件
  2626. type: string
  2627. invoicedatetime:
  2628. description: 开收票更新时间
  2629. type: string
  2630. invoiceopentime:
  2631. description: 开票时间
  2632. type: string
  2633. invoiceremark:
  2634. description: 发票备注
  2635. type: string
  2636. invoicestatus:
  2637. description: 开收票状态 - 0:未开票 1:已开票
  2638. type: integer
  2639. lastdate:
  2640. description: 交货时间
  2641. type: string
  2642. marketid:
  2643. description: 市场ID
  2644. type: integer
  2645. paydatetime:
  2646. description: 收付款更新时间
  2647. type: string
  2648. payremark:
  2649. description: 收付款备注
  2650. type: string
  2651. paystatus:
  2652. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2653. type: integer
  2654. positionqty:
  2655. description: 头寸数量 - 合同数量去小数部分
  2656. type: integer
  2657. producttype:
  2658. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2659. type: integer
  2660. relatedqty:
  2661. description: 已关联数量
  2662. type: number
  2663. relatedstatus:
  2664. description: 关联完结状态 - 0:未结束 1:已结束
  2665. type: integer
  2666. remark:
  2667. description: 备注
  2668. type: string
  2669. signdate:
  2670. description: 签订日期
  2671. type: string
  2672. spotcontractid:
  2673. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2674. type: string
  2675. spotdatetime:
  2676. description: 收发货更新时间
  2677. type: string
  2678. spotprice:
  2679. description: 价格
  2680. type: number
  2681. spotremark:
  2682. description: 收发货备注
  2683. type: string
  2684. spotstatus:
  2685. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2686. type: integer
  2687. tradedate:
  2688. description: 交易日(yyyyMMdd)
  2689. type: string
  2690. userid:
  2691. description: 业务员用户ID
  2692. type: integer
  2693. warehouseid:
  2694. description: 仓库ID
  2695. type: integer
  2696. wrfactortypeid:
  2697. description: 仓单要素类型ID
  2698. type: integer
  2699. wrstandardid:
  2700. description: 仓单标准ID(SEQ_WRSTANDARD)
  2701. type: integer
  2702. required:
  2703. - spotcontractid
  2704. type: object
  2705. erms3.AddErms2ASApplyReq:
  2706. properties:
  2707. applybasis:
  2708. description: 申请基差
  2709. type: number
  2710. applystatus:
  2711. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2712. type: integer
  2713. asapplyid:
  2714. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2715. type: integer
  2716. asname:
  2717. description: 策略名称
  2718. type: string
  2719. asno:
  2720. description: 策略编号
  2721. type: string
  2722. auditid:
  2723. description: 审核人
  2724. type: integer
  2725. auditremark:
  2726. description: 审核备注
  2727. type: string
  2728. audittime:
  2729. description: 审核时间
  2730. type: string
  2731. biztype:
  2732. description: 业务类型 - 1:正向套利 2:反向套利
  2733. type: integer
  2734. createtime:
  2735. description: 创建时间
  2736. type: string
  2737. creatorid:
  2738. description: 创建人
  2739. type: integer
  2740. deliverygoodsid:
  2741. description: 现货品种ID
  2742. type: integer
  2743. futurequote:
  2744. description: 期货额度
  2745. type: number
  2746. goodsgroupid:
  2747. description: 期货品种ID
  2748. type: integer
  2749. marketid:
  2750. description: 市场ID
  2751. type: integer
  2752. remark:
  2753. description: 备注
  2754. type: string
  2755. spotquota:
  2756. description: 现货额度
  2757. type: number
  2758. tradedate:
  2759. description: 交易日(yyyyMMdd)
  2760. type: string
  2761. userid:
  2762. description: 所属机构
  2763. type: integer
  2764. required:
  2765. - asapplyid
  2766. type: object
  2767. erms3.AddErms2SpotTradeApplyReq:
  2768. properties:
  2769. applyjsondetail:
  2770. description: 申请明细(JSON)
  2771. type: string
  2772. applystatus:
  2773. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2774. type: integer
  2775. areauserid:
  2776. description: 所属机构
  2777. type: integer
  2778. auditid:
  2779. description: 审核人
  2780. type: integer
  2781. auditremark:
  2782. description: 审核备注
  2783. type: string
  2784. audittime:
  2785. description: 审核时间
  2786. type: string
  2787. createtime:
  2788. description: 创建时间
  2789. type: string
  2790. creatorid:
  2791. description: 创建人
  2792. type: integer
  2793. deliverygoodsid:
  2794. description: 现货品种ID
  2795. type: integer
  2796. futureaccountid:
  2797. description: 期货资金账户
  2798. type: integer
  2799. goodsgroupid:
  2800. description: 期货品种
  2801. type: integer
  2802. marketid:
  2803. description: 市场ID
  2804. type: integer
  2805. remark:
  2806. description: 备注
  2807. type: string
  2808. spotaccountid:
  2809. description: 现货资金账户
  2810. type: integer
  2811. spottradeid:
  2812. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2813. type: integer
  2814. spottradename:
  2815. description: 业务名称
  2816. type: string
  2817. spottradeno:
  2818. description: 业务编号
  2819. type: string
  2820. tradedate:
  2821. description: 交易日(yyyyMMdd)
  2822. type: string
  2823. wrstandardid:
  2824. description: 仓单标准ID
  2825. type: integer
  2826. required:
  2827. - spottradeid
  2828. type: object
  2829. erms3.AddSpotContractApplyReq:
  2830. properties:
  2831. accountid:
  2832. description: 资金账户ID
  2833. type: integer
  2834. areauserid:
  2835. description: 所属机构
  2836. type: integer
  2837. contractattachment:
  2838. description: 合同附件
  2839. type: string
  2840. contractno:
  2841. description: 现货合同编号
  2842. type: string
  2843. contracttype:
  2844. description: 现货合同类型 - 1:采购 -1:销售
  2845. type: integer
  2846. creatorid:
  2847. description: 申请人
  2848. type: integer
  2849. customeraccountid:
  2850. description: 客户资金账户ID
  2851. type: integer
  2852. customeruserid:
  2853. description: 客户ID
  2854. type: integer
  2855. details:
  2856. description: 明细
  2857. items:
  2858. $ref: '#/definitions/erms3.SoptContractDetail'
  2859. type: array
  2860. orimargin:
  2861. description: 初始保证金
  2862. type: number
  2863. remark:
  2864. description: 备注
  2865. type: string
  2866. signdate:
  2867. description: 签订日期
  2868. type: string
  2869. required:
  2870. - accountid
  2871. - areauserid
  2872. - contractno
  2873. - contracttype
  2874. - customeraccountid
  2875. - customeruserid
  2876. - details
  2877. - orimargin
  2878. - signdate
  2879. type: object
  2880. erms3.AddSpotContractApplyRsp:
  2881. properties:
  2882. contractno:
  2883. description: 现货合同编号
  2884. type: string
  2885. spotcontractid:
  2886. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2887. type: integer
  2888. required:
  2889. - contractno
  2890. type: object
  2891. erms3.AddUserInfoApplyReq:
  2892. properties:
  2893. accountid:
  2894. description: 交易系统帐号Id (加密存储)
  2895. type: integer
  2896. areacode:
  2897. description: 机构代码
  2898. type: string
  2899. areaid:
  2900. description: 机构Id
  2901. type: integer
  2902. attachment1:
  2903. description: 附件1
  2904. type: string
  2905. attachment2:
  2906. description: 附件2
  2907. type: string
  2908. attachment3:
  2909. description: 附件3
  2910. type: string
  2911. attachment4:
  2912. description: 附件4
  2913. type: string
  2914. attachment5:
  2915. description: 附件5
  2916. type: string
  2917. auditedby:
  2918. description: 审核人
  2919. type: string
  2920. auditime:
  2921. description: 审核时间
  2922. type: string
  2923. auditsrc:
  2924. description: 审核来源 - 1:管理端 2:终端
  2925. type: integer
  2926. bankaccount:
  2927. description: 银行帐号 (加密存储)
  2928. type: string
  2929. bankaccountname:
  2930. description: 收款人名称
  2931. type: string
  2932. bankcardbackphotourl:
  2933. description: 银行卡背面照地址
  2934. type: string
  2935. bankcardfrontphotourl:
  2936. description: 银行卡正面照地址
  2937. type: string
  2938. bankid:
  2939. description: 银行编码
  2940. type: string
  2941. bankname:
  2942. description: 银行名称
  2943. type: string
  2944. bankpictureurl:
  2945. description: 银行卡正面地址
  2946. type: string
  2947. biznature:
  2948. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2949. type: integer
  2950. bizscope:
  2951. description: 企业经营范围(企业)
  2952. type: string
  2953. biztype:
  2954. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2955. type: integer
  2956. brokerid:
  2957. description: 经纪人ID(加密存储)
  2958. type: string
  2959. cardaddress:
  2960. description: 证件地址 (加密存储)
  2961. type: string
  2962. cardbackphotourl:
  2963. description: 背面证件照地址
  2964. type: string
  2965. cardfrontphotourl:
  2966. description: 正面证件照地址
  2967. type: string
  2968. cardnum:
  2969. description: 证件号码 (加密存储)
  2970. type: string
  2971. cardtype:
  2972. description: 证件类型
  2973. type: integer
  2974. cityid:
  2975. description: 市
  2976. type: integer
  2977. company:
  2978. description: 公司(个人)
  2979. type: string
  2980. contactcardbackphotourl:
  2981. description: 联系人证件背面图片地址
  2982. type: string
  2983. contactcardfrontphotourl:
  2984. description: 联系人证件正面图片地址
  2985. type: string
  2986. contactname:
  2987. description: 联系人
  2988. type: string
  2989. countryid:
  2990. description: 国家
  2991. type: integer
  2992. createtime:
  2993. description: 开户申请时间
  2994. type: string
  2995. cusbankid:
  2996. description: 签约类型
  2997. type: string
  2998. cusbankname:
  2999. description: 签约类型名称
  3000. type: string
  3001. customername:
  3002. description: 客户名称(企业名称)
  3003. type: string
  3004. districtid:
  3005. description: 地区
  3006. type: integer
  3007. email:
  3008. description: Email地址(加密存储)
  3009. type: string
  3010. halfbodyphotourl:
  3011. description: 半身照地址
  3012. type: string
  3013. headurl:
  3014. description: 头像地址
  3015. type: string
  3016. ipaddress:
  3017. description: IP地址
  3018. type: string
  3019. isvalidate:
  3020. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3021. type: string
  3022. legalcardbackphotourl:
  3023. description: 法人身份证背面照地址
  3024. type: string
  3025. legalcardfrontphotourl:
  3026. description: 法人身份证正面照地址
  3027. type: string
  3028. legalpersonname:
  3029. description: 法人姓名(企业)
  3030. type: string
  3031. logincode:
  3032. description: 登录帐号 (加密存储)
  3033. type: string
  3034. memberareaid:
  3035. description: 所属会员ID
  3036. type: integer
  3037. mobile2:
  3038. description: 手机号码[明文-尚志]
  3039. type: string
  3040. mobilephone:
  3041. description: 手机号码 (加密存储)
  3042. type: string
  3043. modifiedby:
  3044. description: 修改人帐号
  3045. type: integer
  3046. modifiedtime:
  3047. description: 修改时间
  3048. type: string
  3049. nickname:
  3050. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3051. type: string
  3052. openmode:
  3053. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3054. type: integer
  3055. otherurl:
  3056. description: 其它图片地址[使用分号分隔]
  3057. type: string
  3058. postalcode:
  3059. description: 邮政编码
  3060. type: string
  3061. provinceid:
  3062. description: 省
  3063. type: integer
  3064. proxystatementurl:
  3065. description: 授权委托书
  3066. type: string
  3067. qq:
  3068. description: QQ(加密存储
  3069. type: string
  3070. referral:
  3071. description: 推荐人编码
  3072. type: string
  3073. remark:
  3074. description: 备注
  3075. type: string
  3076. removebeforestatus:
  3077. description: REMOVEBEFORESTATUS
  3078. type: integer
  3079. sex:
  3080. description: 性别 - 0:女 1:男
  3081. type: integer
  3082. signedstatus:
  3083. description: 账户一号签签约状态
  3084. type: integer
  3085. signpdfurl:
  3086. description: 签约pdf文件
  3087. type: string
  3088. subbranch:
  3089. description: 开户支行
  3090. type: string
  3091. taxpayernum:
  3092. description: 纳税人识别号
  3093. type: string
  3094. telphone:
  3095. description: 联系电话(加密存储)
  3096. type: string
  3097. userid:
  3098. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3099. type: integer
  3100. userinfotype:
  3101. description: 用户信息类型 - 1:个人 2:企业
  3102. type: integer
  3103. username:
  3104. description: 用户姓名
  3105. type: string
  3106. userstate:
  3107. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3108. type: integer
  3109. usertype:
  3110. description: 用户类型 - 1:投资者 2:机构
  3111. type: integer
  3112. videourl:
  3113. description: 视频地址
  3114. type: string
  3115. wechat:
  3116. description: 微信号 (加密存储)
  3117. type: string
  3118. required:
  3119. - userid
  3120. type: object
  3121. erms3.CustomerInfo:
  3122. properties:
  3123. accountids:
  3124. description: 资金账户ID列表
  3125. items:
  3126. type: integer
  3127. type: array
  3128. customername:
  3129. description: 名称(企业名称)
  3130. type: string
  3131. mobile:
  3132. description: 手机号码
  3133. type: string
  3134. userid:
  3135. description: 用户ID
  3136. type: integer
  3137. required:
  3138. - userid
  3139. type: object
  3140. erms3.ModifyUserInfoApplyReq:
  3141. properties:
  3142. accountid:
  3143. description: 交易系统帐号Id (加密存储)
  3144. type: integer
  3145. areacode:
  3146. description: 机构代码
  3147. type: string
  3148. areaid:
  3149. description: 机构Id
  3150. type: integer
  3151. attachment1:
  3152. description: 附件1
  3153. type: string
  3154. attachment2:
  3155. description: 附件2
  3156. type: string
  3157. attachment3:
  3158. description: 附件3
  3159. type: string
  3160. attachment4:
  3161. description: 附件4
  3162. type: string
  3163. attachment5:
  3164. description: 附件5
  3165. type: string
  3166. auditedby:
  3167. description: 审核人
  3168. type: string
  3169. auditime:
  3170. description: 审核时间
  3171. type: string
  3172. auditsrc:
  3173. description: 审核来源 - 1:管理端 2:终端
  3174. type: integer
  3175. bankaccount:
  3176. description: 银行帐号 (加密存储)
  3177. type: string
  3178. bankaccountname:
  3179. description: 收款人名称
  3180. type: string
  3181. bankcardbackphotourl:
  3182. description: 银行卡背面照地址
  3183. type: string
  3184. bankcardfrontphotourl:
  3185. description: 银行卡正面照地址
  3186. type: string
  3187. bankid:
  3188. description: 银行编码
  3189. type: string
  3190. bankname:
  3191. description: 银行名称
  3192. type: string
  3193. bankpictureurl:
  3194. description: 银行卡正面地址
  3195. type: string
  3196. biznature:
  3197. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3198. type: integer
  3199. bizscope:
  3200. description: 企业经营范围(企业)
  3201. type: string
  3202. biztype:
  3203. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3204. type: integer
  3205. brokerid:
  3206. description: 经纪人ID(加密存储)
  3207. type: string
  3208. cardaddress:
  3209. description: 证件地址 (加密存储)
  3210. type: string
  3211. cardbackphotourl:
  3212. description: 背面证件照地址
  3213. type: string
  3214. cardfrontphotourl:
  3215. description: 正面证件照地址
  3216. type: string
  3217. cardnum:
  3218. description: 证件号码 (加密存储)
  3219. type: string
  3220. cardtype:
  3221. description: 证件类型
  3222. type: integer
  3223. cityid:
  3224. description: 市
  3225. type: integer
  3226. company:
  3227. description: 公司(个人)
  3228. type: string
  3229. contactcardbackphotourl:
  3230. description: 联系人证件背面图片地址
  3231. type: string
  3232. contactcardfrontphotourl:
  3233. description: 联系人证件正面图片地址
  3234. type: string
  3235. contactname:
  3236. description: 联系人
  3237. type: string
  3238. countryid:
  3239. description: 国家
  3240. type: integer
  3241. createtime:
  3242. description: 开户申请时间
  3243. type: string
  3244. cusbankid:
  3245. description: 签约类型
  3246. type: string
  3247. cusbankname:
  3248. description: 签约类型名称
  3249. type: string
  3250. customername:
  3251. description: 客户名称(企业名称)
  3252. type: string
  3253. districtid:
  3254. description: 地区
  3255. type: integer
  3256. email:
  3257. description: Email地址(加密存储)
  3258. type: string
  3259. halfbodyphotourl:
  3260. description: 半身照地址
  3261. type: string
  3262. headurl:
  3263. description: 头像地址
  3264. type: string
  3265. ipaddress:
  3266. description: IP地址
  3267. type: string
  3268. isvalidate:
  3269. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3270. type: string
  3271. legalcardbackphotourl:
  3272. description: 法人身份证背面照地址
  3273. type: string
  3274. legalcardfrontphotourl:
  3275. description: 法人身份证正面照地址
  3276. type: string
  3277. legalpersonname:
  3278. description: 法人姓名(企业)
  3279. type: string
  3280. logincode:
  3281. description: 登录帐号 (加密存储)
  3282. type: string
  3283. memberareaid:
  3284. description: 所属会员ID
  3285. type: integer
  3286. mobile2:
  3287. description: 手机号码[明文-尚志]
  3288. type: string
  3289. mobilephone:
  3290. description: 手机号码 (加密存储)
  3291. type: string
  3292. modifiedby:
  3293. description: 修改人帐号
  3294. type: integer
  3295. modifiedtime:
  3296. description: 修改时间
  3297. type: string
  3298. nickname:
  3299. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3300. type: string
  3301. openmode:
  3302. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3303. type: integer
  3304. otherurl:
  3305. description: 其它图片地址[使用分号分隔]
  3306. type: string
  3307. postalcode:
  3308. description: 邮政编码
  3309. type: string
  3310. provinceid:
  3311. description: 省
  3312. type: integer
  3313. proxystatementurl:
  3314. description: 授权委托书
  3315. type: string
  3316. qq:
  3317. description: QQ(加密存储
  3318. type: string
  3319. referral:
  3320. description: 推荐人编码
  3321. type: string
  3322. remark:
  3323. description: 备注
  3324. type: string
  3325. removebeforestatus:
  3326. description: REMOVEBEFORESTATUS
  3327. type: integer
  3328. sex:
  3329. description: 性别 - 0:女 1:男
  3330. type: integer
  3331. signedstatus:
  3332. description: 账户一号签签约状态
  3333. type: integer
  3334. signpdfurl:
  3335. description: 签约pdf文件
  3336. type: string
  3337. subbranch:
  3338. description: 开户支行
  3339. type: string
  3340. taxpayernum:
  3341. description: 纳税人识别号
  3342. type: string
  3343. telphone:
  3344. description: 联系电话(加密存储)
  3345. type: string
  3346. userid:
  3347. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3348. type: integer
  3349. userinfotype:
  3350. description: 用户信息类型 - 1:个人 2:企业
  3351. type: integer
  3352. username:
  3353. description: 用户姓名
  3354. type: string
  3355. userstate:
  3356. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3357. type: integer
  3358. usertype:
  3359. description: 用户类型 - 1:投资者 2:机构
  3360. type: integer
  3361. videourl:
  3362. description: 视频地址
  3363. type: string
  3364. wechat:
  3365. description: 微信号 (加密存储)
  3366. type: string
  3367. required:
  3368. - userid
  3369. type: object
  3370. erms3.QryAuditContractRsp:
  3371. properties:
  3372. accountid:
  3373. description: 交易员ID
  3374. type: string
  3375. applystatus:
  3376. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3377. type: integer
  3378. curdeliveryqty:
  3379. description: 未交收量
  3380. type: integer
  3381. customername:
  3382. description: 采购方ID
  3383. type: string
  3384. deliverygoodsid:
  3385. description: 品种ID
  3386. type: string
  3387. deliveryqty:
  3388. description: 交收量
  3389. type: integer
  3390. enumdicname:
  3391. description: 单位名称
  3392. type: string
  3393. matchaccountid:
  3394. description: 业务员ID
  3395. type: string
  3396. matchcustomername:
  3397. description: 销售方ID
  3398. type: string
  3399. pricedqty:
  3400. description: 定价量
  3401. type: number
  3402. signdate:
  3403. description: 签订日期
  3404. type: string
  3405. spotcontractid:
  3406. description: 合同ID
  3407. type: string
  3408. totaldqty:
  3409. description: 合同量
  3410. type: number
  3411. unpricedqty:
  3412. description: 未定价量
  3413. type: number
  3414. wrstandardname:
  3415. description: 商品名称
  3416. type: string
  3417. required:
  3418. - matchcustomername
  3419. - spotcontractid
  3420. type: object
  3421. erms3.QryPendingBizRsp:
  3422. properties:
  3423. accountid:
  3424. description: 现货账户
  3425. type: string
  3426. areaname:
  3427. description: 所属部门
  3428. type: string
  3429. bizid:
  3430. description: 业务ID
  3431. type: string
  3432. bizname:
  3433. description: 业务名称
  3434. type: string
  3435. status:
  3436. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3437. type: integer
  3438. type:
  3439. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3440. type: integer
  3441. type: object
  3442. erms3.QueryBusinessInfoRsp:
  3443. properties:
  3444. businessid:
  3445. description: 业务ID.
  3446. type: integer
  3447. buyamount:
  3448. description: 采购额.
  3449. type: number
  3450. buyqty:
  3451. description: 采购量.
  3452. type: string
  3453. futurepl:
  3454. description: 期货盈亏.
  3455. type: number
  3456. futureqty:
  3457. description: 期货敞口.
  3458. type: string
  3459. goodsid:
  3460. description: 商品名称/商品代码.
  3461. type: string
  3462. hedgingqty:
  3463. description: 套保量.
  3464. type: string
  3465. sellamount:
  3466. description: 销售额.
  3467. type: number
  3468. sellqty:
  3469. description: 销售量.
  3470. type: string
  3471. spotmarketvalue:
  3472. description: 现货市值.
  3473. type: number
  3474. spotpl:
  3475. description: 浮动权益.
  3476. type: number
  3477. spotqty:
  3478. description: 现货量.
  3479. type: string
  3480. statu:
  3481. description: 状态,0-未结束 1-已结束.
  3482. type: integer
  3483. totalpl:
  3484. description: 总盈亏.
  3485. type: number
  3486. totalqty:
  3487. description: 总敞口.
  3488. type: string
  3489. type:
  3490. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3491. type: integer
  3492. type: object
  3493. erms3.QuerySpotContractAppleFormRsp:
  3494. properties:
  3495. goodses:
  3496. description: 合约列表
  3497. items:
  3498. $ref: '#/definitions/models.GoodsIDAndName'
  3499. type: array
  3500. oppositeusers:
  3501. description: 对方账号列表
  3502. items:
  3503. $ref: '#/definitions/erms3.CustomerInfo'
  3504. type: array
  3505. ouruser:
  3506. $ref: '#/definitions/erms3.CustomerInfo'
  3507. description: 我方账号
  3508. warehouseinfos:
  3509. description: 仓库信息列表
  3510. items:
  3511. $ref: '#/definitions/models.Warehouseinfo'
  3512. type: array
  3513. wrstandards:
  3514. description: 仓单标准列表
  3515. items:
  3516. $ref: '#/definitions/models.WRStandardInfo'
  3517. type: array
  3518. type: object
  3519. erms3.QuerySpotContractInfoRsp:
  3520. properties:
  3521. accountid:
  3522. description: 表示交易员ID.
  3523. type: integer
  3524. curdeliveryqty:
  3525. description: 表示未交收量.
  3526. type: number
  3527. customername:
  3528. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3529. type: string
  3530. deliverygoodsid:
  3531. description: 表示品种ID.
  3532. type: string
  3533. deliveryqty:
  3534. description: 表示交收量.
  3535. type: number
  3536. matchaccountid:
  3537. description: 表示业务员ID.
  3538. type: integer
  3539. matchcustomername:
  3540. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3541. type: string
  3542. priceqty:
  3543. description: 表示定价量.
  3544. type: number
  3545. relatedbizid:
  3546. description: 表示业务ID.
  3547. type: string
  3548. signdate:
  3549. description: 表示签订日期.
  3550. type: string
  3551. spotcontractid:
  3552. description: 合同ID
  3553. type: string
  3554. status:
  3555. description: 表示状态,0-履约中 1-已完成.
  3556. type: integer
  3557. totalqty:
  3558. description: 表示合同量.
  3559. type: number
  3560. unpricedqty:
  3561. description: 表示未定价量.
  3562. type: number
  3563. wrstandardname:
  3564. description: 表示商品ID.
  3565. type: string
  3566. type: object
  3567. erms3.QueryUserInfoAppliesRsp:
  3568. properties:
  3569. biznature:
  3570. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3571. type: integer
  3572. contactname:
  3573. description: 联系人
  3574. type: string
  3575. createtime:
  3576. description: 开户申请时间
  3577. type: string
  3578. userid:
  3579. description: 用户ID(自增ID)
  3580. type: integer
  3581. userinfotype:
  3582. description: 用户信息类型 - 1:个人 2:企业
  3583. type: integer
  3584. username:
  3585. description: 用户姓名
  3586. type: string
  3587. userstate:
  3588. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3589. type: integer
  3590. required:
  3591. - userid
  3592. type: object
  3593. erms3.QueryUserInfosRsp:
  3594. properties:
  3595. biznature:
  3596. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3597. type: integer
  3598. contactname:
  3599. description: 联系人
  3600. type: string
  3601. customername:
  3602. description: 客户名称(企业名称)
  3603. type: string
  3604. userid:
  3605. description: 用户ID
  3606. type: integer
  3607. userinfotype:
  3608. description: 用户信息类型 - 1:个人 2:企业
  3609. type: integer
  3610. userstatus:
  3611. description: 用户状态 - 1:正常 2:注销
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.SoptContractDetail:
  3617. properties:
  3618. deliverygoodsdesc:
  3619. description: 现货品种说明
  3620. type: string
  3621. deliverygoodsid:
  3622. description: 现货品种ID
  3623. type: integer
  3624. deliverygoodsname:
  3625. description: 现货品种名称
  3626. type: string
  3627. pointdesc:
  3628. description: 点价描述
  3629. type: string
  3630. producttype:
  3631. description: 产品类型 1:标准仓单 2:等标 3:非标
  3632. type: integer
  3633. producttypename:
  3634. description: 产品类型名称
  3635. type: string
  3636. spotPointOrderVoList:
  3637. description: 点价列表
  3638. items:
  3639. $ref: '#/definitions/erms3.SpotPointOrder'
  3640. type: array
  3641. spotPriceOrderList:
  3642. description: 定价列表
  3643. items:
  3644. $ref: '#/definitions/erms3.SpotPriceOrder'
  3645. type: array
  3646. unitname:
  3647. description: 单位名称
  3648. type: string
  3649. warehouseid:
  3650. description: 仓库ID
  3651. type: integer
  3652. warehousename:
  3653. description: 仓库名称
  3654. type: string
  3655. wrstandardid:
  3656. description: 交易标的ID
  3657. type: integer
  3658. wrstandardname:
  3659. description: 交易标的名称
  3660. type: string
  3661. required:
  3662. - deliverygoodsid
  3663. - producttype
  3664. - unitname
  3665. - warehouseid
  3666. - wrstandardid
  3667. - wrstandardname
  3668. type: object
  3669. erms3.SpotPointOrder:
  3670. properties:
  3671. basic:
  3672. description: 基差
  3673. type: number
  3674. deliveryenddate:
  3675. description: 交收结束日期
  3676. type: string
  3677. deliverystartdate:
  3678. description: 交收开始日期
  3679. type: string
  3680. enddate:
  3681. description: 点价结束日期
  3682. type: string
  3683. goodsid:
  3684. description: 商品ID
  3685. type: integer
  3686. goodsname:
  3687. description: 商品名称
  3688. type: string
  3689. qty:
  3690. description: 数量
  3691. type: number
  3692. startdate:
  3693. description: 点价开始日期
  3694. type: string
  3695. required:
  3696. - basic
  3697. - goodsid
  3698. - qty
  3699. type: object
  3700. erms3.SpotPriceOrder:
  3701. properties:
  3702. amount:
  3703. description: 金额
  3704. type: number
  3705. deliveryenddate:
  3706. description: 交收结束日期
  3707. type: string
  3708. deliverystartdate:
  3709. description: 交收开始日期
  3710. type: string
  3711. price:
  3712. description: 价格
  3713. type: number
  3714. qty:
  3715. description: 数量
  3716. type: number
  3717. required:
  3718. - amount
  3719. - price
  3720. - qty
  3721. type: object
  3722. hsby.GetHsbyMyCountRsp:
  3723. properties:
  3724. myCouponCount:
  3725. description: 我的优惠卷数量
  3726. type: integer
  3727. myOrderDetailListingCount:
  3728. description: 我的订单求购中数量
  3729. type: integer
  3730. myOrderDetailPreCount:
  3731. description: 我的订单抢购中数量
  3732. type: integer
  3733. myPackageUnReceiveCount:
  3734. description: 我的包裹待收货数量
  3735. type: integer
  3736. myPackageUnSendCount:
  3737. description: 我的包裹待发货数量
  3738. type: integer
  3739. myPayOrderCount:
  3740. description: 我的订单待付款数量
  3741. type: integer
  3742. type: object
  3743. hsby.QueryProvincesAndCitiesRsp:
  3744. properties:
  3745. cities:
  3746. description: 市
  3747. items:
  3748. $ref: '#/definitions/models.Division'
  3749. type: array
  3750. province:
  3751. $ref: '#/definitions/models.Division'
  3752. description: 省
  3753. type: object
  3754. models.Arearole:
  3755. properties:
  3756. createtime:
  3757. description: 创建时间
  3758. type: string
  3759. creatorid:
  3760. description: 创建人ID
  3761. type: integer
  3762. fromuserid:
  3763. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3764. type: integer
  3765. isreturnscore:
  3766. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3767. type: integer
  3768. modifierid:
  3769. description: 修改人ID
  3770. type: integer
  3771. modifytime:
  3772. description: 修改时间
  3773. type: string
  3774. orgtype:
  3775. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3776. type: integer
  3777. outuserid:
  3778. description: 外部账户[场外期权做市商]
  3779. type: string
  3780. parentuserid:
  3781. description: 上级组织机构(组织机构)
  3782. type: integer
  3783. roletype:
  3784. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3785. type: integer
  3786. rootuserid:
  3787. description: 顶级组织机构用户ID(组织机构)
  3788. type: integer
  3789. shoppassword:
  3790. description: 商城店铺登陆密码(商城店铺角色使用)
  3791. type: string
  3792. sublevelpath:
  3793. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3794. type: string
  3795. suborgtype:
  3796. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3797. type: integer
  3798. tradeaccountid:
  3799. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3800. type: integer
  3801. transurl:
  3802. description: 物流地址(物流机构)
  3803. type: string
  3804. userid:
  3805. description: 机构用户ID其他做市关系,都设置为 1
  3806. type: integer
  3807. required:
  3808. - roletype
  3809. - userid
  3810. type: object
  3811. models.Clientfixedadconfig:
  3812. properties:
  3813. adsort:
  3814. description: 排序
  3815. type: integer
  3816. adtype:
  3817. description: 广告位类型 - 1:新品抢购(HSBY)
  3818. type: integer
  3819. areauserid:
  3820. description: 所属机构ID
  3821. type: integer
  3822. createdate:
  3823. description: 创建时间
  3824. type: string
  3825. creatorid:
  3826. description: 创建人
  3827. type: integer
  3828. imagepath:
  3829. description: 图片
  3830. type: string
  3831. isshow:
  3832. description: 是否展示 - 0:不展示 1:展示
  3833. type: integer
  3834. modifierid:
  3835. description: 操作人
  3836. type: integer
  3837. recsize:
  3838. description: 推荐尺寸
  3839. type: string
  3840. title:
  3841. description: 标题
  3842. type: string
  3843. updatedate:
  3844. description: 更新时间
  3845. type: string
  3846. urlcontent:
  3847. description: 链接(地址或商品ID)
  3848. type: string
  3849. urltype:
  3850. description: 链接类型 - 1:直接地址 2:商品ID
  3851. type: integer
  3852. required:
  3853. - adsort
  3854. - adtype
  3855. type: object
  3856. models.Division:
  3857. properties:
  3858. autoid:
  3859. description: 自增ID
  3860. type: integer
  3861. divisioncode:
  3862. description: 行政代码
  3863. type: string
  3864. divisionlevel:
  3865. description: 行政级别
  3866. type: string
  3867. divisionname:
  3868. description: 行政名称
  3869. type: string
  3870. modifierid:
  3871. description: 修改人
  3872. type: integer
  3873. modifytime:
  3874. description: 修改时间
  3875. type: string
  3876. parentcode:
  3877. description: 上级行政代码
  3878. type: string
  3879. pathname:
  3880. description: 路径名称
  3881. type: string
  3882. postcode:
  3883. description: 邮政编码
  3884. type: string
  3885. separablename:
  3886. description: 可拆分的全称
  3887. type: string
  3888. shortcode:
  3889. description: 地区简码
  3890. type: string
  3891. required:
  3892. - autoid
  3893. - divisioncode
  3894. type: object
  3895. models.Enumdicitem:
  3896. properties:
  3897. autoid:
  3898. description: 自增ID
  3899. type: integer
  3900. bankmappedvalue:
  3901. description: 银行服务对应值
  3902. type: string
  3903. enumdiccode:
  3904. description: 所属枚举代码
  3905. type: string
  3906. enumdicid:
  3907. description: 所属枚举ID
  3908. type: integer
  3909. enumdicname:
  3910. description: 枚举项名称
  3911. type: string
  3912. enumitemname:
  3913. description: 枚举项值
  3914. type: integer
  3915. enumitemstatus:
  3916. description: 枚举项状态 - 1.启用 2.不启用
  3917. type: integer
  3918. enumitemvalue:
  3919. description: 通用值 - [币种通用简写]
  3920. type: string
  3921. param1:
  3922. description: 参数1[币种:币种小数位]
  3923. type: string
  3924. param2:
  3925. description: 参数1[币种:币种显示单位]
  3926. type: string
  3927. remark:
  3928. description: 备注
  3929. type: string
  3930. required:
  3931. - autoid
  3932. - enumdiccode
  3933. - enumdicid
  3934. - enumitemname
  3935. type: object
  3936. models.Ermcp3AreaSpot:
  3937. properties:
  3938. areauserid:
  3939. description: 所属机构
  3940. type: integer
  3941. convertratio:
  3942. description: 套保系数
  3943. type: number
  3944. decreaseqty:
  3945. description: 减少数量=-(销售已定价数量+采购计划数量)
  3946. type: number
  3947. enumdicname:
  3948. description: 单位名称
  3949. type: string
  3950. increaseqty:
  3951. description: 增加数量=销售计划数量+采购已定价数量
  3952. type: number
  3953. oritoalspotqty:
  3954. description: 昨日数量
  3955. type: number
  3956. totalspotqty:
  3957. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3958. type: number
  3959. unitid:
  3960. description: 现货商品单位id
  3961. type: integer
  3962. updatetime:
  3963. description: 更新时间
  3964. type: string
  3965. wrstandardcode:
  3966. description: 现货商品代码
  3967. type: string
  3968. wrstandardid:
  3969. description: 现货商品ID(SEQ_WRSTANDARD)
  3970. type: integer
  3971. wrstandardname:
  3972. description: 现货商品名称
  3973. type: string
  3974. type: object
  3975. models.Ermcp3AreaSpotDetail:
  3976. properties:
  3977. contracttype:
  3978. description: 合同类型 1-采购 -1-销售
  3979. type: integer
  3980. createtime:
  3981. description: 创建时间
  3982. type: string
  3983. enumdicname:
  3984. description: 现货商品单位名称
  3985. type: string
  3986. logtype:
  3987. description: 记录类型 1-套保 2-现货合同
  3988. type: integer
  3989. qty:
  3990. description: 数量
  3991. type: number
  3992. recordname:
  3993. description: 类型名称
  3994. type: string
  3995. relatedid:
  3996. description: 套保计划ID/现货合同ID
  3997. type: string
  3998. relatedno:
  3999. description: 编号
  4000. type: string
  4001. strtime:
  4002. description: 时间
  4003. type: string
  4004. wrstandardcode:
  4005. description: 现货商品代码
  4006. type: string
  4007. wrstandardid:
  4008. description: 现货商品ID(SEQ_WRSTANDARD)
  4009. type: integer
  4010. wrstandardname:
  4011. description: 现货商品名称
  4012. type: string
  4013. type: object
  4014. models.Ermcp3AreaSpotPLReport:
  4015. properties:
  4016. accountid:
  4017. description: 期货账户ID (作废, 默认为0)
  4018. type: integer
  4019. accountname:
  4020. description: 机构名称
  4021. type: string
  4022. actualpl:
  4023. description: 现货损益
  4024. type: number
  4025. areauserid:
  4026. description: 所属机构\交易用户ID
  4027. type: integer
  4028. begindate:
  4029. description: 开始交易日
  4030. type: string
  4031. biztype:
  4032. description: 业务类型 - 1:套保 2:套利
  4033. type: integer
  4034. brandname:
  4035. description: 品牌名称
  4036. type: string
  4037. curamount:
  4038. description: 期末额
  4039. type: number
  4040. curaverageprice:
  4041. description: 期末均价
  4042. type: number
  4043. curbuyamount:
  4044. description: 期末采购总额
  4045. type: number
  4046. curbuyqty:
  4047. description: 期末采购总量
  4048. type: number
  4049. curmarketvalue:
  4050. description: 参考市值(期末市值)
  4051. type: number
  4052. curqty:
  4053. description: 期末量
  4054. type: number
  4055. currencyid:
  4056. description: 结算币种ID【原值】
  4057. type: integer
  4058. currencyname:
  4059. description: 币种名称
  4060. type: string
  4061. cursellamount:
  4062. description: 期末销售总额
  4063. type: number
  4064. cursellqty:
  4065. description: 期末销售总量
  4066. type: number
  4067. curspotprice:
  4068. description: 参考市价(最新价)
  4069. type: number
  4070. cycletime:
  4071. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4072. type: string
  4073. cycletype:
  4074. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4075. type: integer
  4076. deliverygoodscode:
  4077. description: 现货商品代码
  4078. type: string
  4079. deliverygoodsid:
  4080. description: 现货品种ID
  4081. type: integer
  4082. deliverygoodsname:
  4083. description: 现货商品名称
  4084. type: string
  4085. enddate:
  4086. description: 结束交易日
  4087. type: string
  4088. enumdicname:
  4089. description: 现货商品单位名称
  4090. type: string
  4091. floatpl:
  4092. description: 浮动损益
  4093. type: number
  4094. goodsunitid:
  4095. description: 现货商品单位id
  4096. type: integer
  4097. oriamount:
  4098. description: 期初额
  4099. type: number
  4100. oriaverageprice:
  4101. description: 期初均价
  4102. type: number
  4103. oribuyamount:
  4104. description: 期初采购总额
  4105. type: number
  4106. oribuyqty:
  4107. description: 期初采购总量
  4108. type: number
  4109. oriqty:
  4110. description: 期初量
  4111. type: number
  4112. orisellamount:
  4113. description: 期初销售总额
  4114. type: number
  4115. orisellqty:
  4116. description: 期初销售总量
  4117. type: number
  4118. reckondate:
  4119. description: 日照时期(yyyyMMdd)
  4120. type: string
  4121. spotgoodsbrandid:
  4122. description: 现货品牌ID
  4123. type: integer
  4124. todaybuyamount:
  4125. description: 今日采购额(今采购额)
  4126. type: number
  4127. todaybuyaverageprice:
  4128. description: 今日采购均价
  4129. type: number
  4130. todaybuyqty:
  4131. description: 今日采购量(今采购量)
  4132. type: number
  4133. todayinqty:
  4134. description: 今日入库量(今入库量)
  4135. type: number
  4136. todayoutqty:
  4137. description: 今日出库量(今出库量)
  4138. type: number
  4139. todaysellamount:
  4140. description: 今日销售额(今销售额)
  4141. type: number
  4142. todaysellaverageprice:
  4143. description: 今日销售均价
  4144. type: number
  4145. todaysellqty:
  4146. description: 今日销售量(今销售量)
  4147. type: number
  4148. unitid:
  4149. description: 品类单位id
  4150. type: integer
  4151. unitidname:
  4152. description: 品类单位名称
  4153. type: string
  4154. updatetime:
  4155. description: 更新时间
  4156. type: string
  4157. wrfactortypeid:
  4158. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4159. type: integer
  4160. wrstandardcode:
  4161. description: 品类代码
  4162. type: string
  4163. wrstandardid:
  4164. description: 现货品类ID
  4165. type: integer
  4166. wrstandardname:
  4167. description: 品类名称
  4168. type: string
  4169. type: object
  4170. models.Ermcp3AreaStock:
  4171. properties:
  4172. brandname:
  4173. description: 品牌名称
  4174. type: string
  4175. curstock:
  4176. description: 期末库存量(今日量)
  4177. type: number
  4178. deliverygoodscode:
  4179. description: 现货品种代码
  4180. type: string
  4181. deliverygoodsid:
  4182. description: 现货品种id
  4183. type: integer
  4184. deliverygoodsname:
  4185. description: 现货品种名称
  4186. type: string
  4187. enumdicname:
  4188. description: 单位名称
  4189. type: string
  4190. goodsunitid:
  4191. description: 现货商品单位id
  4192. type: integer
  4193. oristock:
  4194. description: 期初库存量(昨日量)
  4195. type: number
  4196. spotgoodsbrandid:
  4197. description: 现货品牌ID
  4198. type: integer
  4199. todaybuyinqty:
  4200. description: 今日采购入库量
  4201. type: number
  4202. todayproduceinqty:
  4203. description: 今日生产入库量
  4204. type: number
  4205. todayproduceoutqty:
  4206. description: 今日生产出库量
  4207. type: number
  4208. todayselloutqty:
  4209. description: 今日销售出库量
  4210. type: number
  4211. unitid:
  4212. description: 单位id
  4213. type: integer
  4214. updatetime:
  4215. description: 更新时间
  4216. type: string
  4217. userid:
  4218. description: 机构ID
  4219. type: integer
  4220. username:
  4221. description: 机构名称
  4222. type: string
  4223. warehousecode:
  4224. description: 仓库代码
  4225. type: string
  4226. warehouseinfoid:
  4227. description: 仓库ID
  4228. type: string
  4229. warehousename:
  4230. description: 仓库名称
  4231. type: string
  4232. warehousetype:
  4233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4234. type: integer
  4235. wrstandardcode:
  4236. description: 品类代码
  4237. type: string
  4238. wrstandardid:
  4239. description: 品类ID
  4240. type: string
  4241. wrstandardname:
  4242. description: 品类名称
  4243. type: string
  4244. required:
  4245. - userid
  4246. type: object
  4247. models.Ermcp3AreaStockApply:
  4248. properties:
  4249. applyid:
  4250. description: 申请人
  4251. type: integer
  4252. applyname:
  4253. description: 申请人名称
  4254. type: string
  4255. applyremark:
  4256. description: 申请备注
  4257. type: string
  4258. applysrc:
  4259. description: 申请来源 - 1:管理端 2:终端
  4260. type: integer
  4261. applystatus:
  4262. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4263. type: integer
  4264. applytime:
  4265. description: 申请时间
  4266. type: string
  4267. auditid:
  4268. description: 审核人
  4269. type: integer
  4270. auditname:
  4271. description: 审核人名称
  4272. type: string
  4273. auditremark:
  4274. description: 审核备注
  4275. type: string
  4276. auditsrc:
  4277. description: 审核来源 - 1:管理端 2:终端
  4278. type: integer
  4279. audittime:
  4280. description: 审核时间
  4281. type: string
  4282. audittradedate:
  4283. description: 审核交易日(yyyyMMdd)
  4284. type: string
  4285. brandname:
  4286. description: 品牌名称
  4287. type: string
  4288. buynickname:
  4289. description: 采购方昵称
  4290. type: string
  4291. buyuserid:
  4292. description: 采购方userid
  4293. type: integer
  4294. buyusername:
  4295. description: 采购方名称
  4296. type: string
  4297. contractno:
  4298. description: 合同编号
  4299. type: string
  4300. contractqty:
  4301. description: 合同量
  4302. type: number
  4303. contracttype:
  4304. description: 现货合同类型 - 1:采购 -1:销售
  4305. type: integer
  4306. deliverygoodscode:
  4307. description: 现货品种代码
  4308. type: string
  4309. deliverygoodsid:
  4310. description: 现货品种id
  4311. type: integer
  4312. deliverygoodsname:
  4313. description: 现货品种名称
  4314. type: string
  4315. detailjson:
  4316. description: 明细数据
  4317. type: string
  4318. enumdicname:
  4319. description: 现货商品单位名称
  4320. type: string
  4321. inoutapplyid:
  4322. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4323. type: string
  4324. inouttype:
  4325. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4326. type: integer
  4327. pricetype:
  4328. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4329. type: integer
  4330. qty:
  4331. description: 数量
  4332. type: number
  4333. sellnickname:
  4334. description: 销售方昵称
  4335. type: string
  4336. selluserid:
  4337. description: 销售方userid
  4338. type: integer
  4339. sellusername:
  4340. description: 销售方名称
  4341. type: string
  4342. spotcontractid:
  4343. description: 关联现货合同ID
  4344. type: string
  4345. spotgoodsbrandid:
  4346. description: 现货品牌ID
  4347. type: integer
  4348. unitid:
  4349. description: 单位id
  4350. type: integer
  4351. userid:
  4352. description: 机构ID
  4353. type: integer
  4354. warehousecode:
  4355. description: 仓库代码
  4356. type: string
  4357. warehouseinfoid:
  4358. description: 现货仓库ID
  4359. type: string
  4360. warehousename:
  4361. description: 仓库名称
  4362. type: string
  4363. warehousetype:
  4364. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4365. type: integer
  4366. wrstandardcode:
  4367. description: 品类代码
  4368. type: string
  4369. wrstandardid:
  4370. description: 品类ID
  4371. type: integer
  4372. wrstandardname:
  4373. description: 品类名称
  4374. type: string
  4375. type: object
  4376. models.Ermcp3AreaStockApplySum:
  4377. properties:
  4378. brandname:
  4379. description: 品牌名称
  4380. type: string
  4381. inouttype:
  4382. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4383. type: integer
  4384. spotcontractid:
  4385. description: 关联现货合同ID
  4386. type: string
  4387. spotgoodsbrandid:
  4388. description: 品牌id
  4389. type: integer
  4390. totalqty:
  4391. description: 总数量
  4392. type: number
  4393. wrstandardid:
  4394. description: 品类id
  4395. type: integer
  4396. wrstandardname:
  4397. description: 品类名称
  4398. type: string
  4399. type: object
  4400. models.Ermcp3AreaStockReportEx:
  4401. properties:
  4402. begindate:
  4403. description: 开始交易日
  4404. type: string
  4405. brandname:
  4406. description: 品牌名称
  4407. type: string
  4408. curstock:
  4409. description: 期末库存量
  4410. type: number
  4411. cycletime:
  4412. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4413. type: string
  4414. cycletype:
  4415. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4416. type: integer
  4417. deliverygoodscode:
  4418. description: 现货品种代码
  4419. type: string
  4420. deliverygoodsid:
  4421. description: 现货品种id
  4422. type: integer
  4423. deliverygoodsname:
  4424. description: 现货品种名称
  4425. type: string
  4426. diffqty:
  4427. description: 库存变化量 = 期末 - 期初
  4428. type: number
  4429. enddate:
  4430. description: 结束交易日
  4431. type: string
  4432. enumdicname:
  4433. description: 单位名称
  4434. type: string
  4435. goodsunitid:
  4436. description: 现货单位id
  4437. type: integer
  4438. oristock:
  4439. description: 期初库存量
  4440. type: number
  4441. reckondate:
  4442. description: 日照时期(yyyyMMdd)
  4443. type: string
  4444. spotgoodsbrandid:
  4445. description: 现货品牌ID
  4446. type: integer
  4447. todaybuyinqty:
  4448. description: 今采购入库量
  4449. type: number
  4450. todayproduceinqty:
  4451. description: 今内部入库量
  4452. type: number
  4453. todayproduceoutqty:
  4454. description: 今内部出库量
  4455. type: number
  4456. todayselloutqty:
  4457. description: 今销售出库量
  4458. type: number
  4459. unbuyinqty:
  4460. description: 采购未入库量(数据库未找到相关字段?)
  4461. type: number
  4462. unitid:
  4463. description: 品类单位id
  4464. type: integer
  4465. unselloutqty:
  4466. description: 销售未出库量(数据库未找到相关字段?)
  4467. type: number
  4468. updatetime:
  4469. description: 更新时间
  4470. type: string
  4471. userid:
  4472. description: 机构ID
  4473. type: integer
  4474. username:
  4475. description: 机构名称
  4476. type: string
  4477. warehousecode:
  4478. description: 仓库代码
  4479. type: string
  4480. warehouseinfoid:
  4481. description: 仓库ID
  4482. type: string
  4483. warehousename:
  4484. description: 仓库名称
  4485. type: string
  4486. warehousetype:
  4487. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4488. type: integer
  4489. wrstandardcode:
  4490. description: 品类代码
  4491. type: string
  4492. wrstandardid:
  4493. description: 品类ID
  4494. type: integer
  4495. wrstandardname:
  4496. description: 品类名称
  4497. type: string
  4498. type: object
  4499. models.Ermcp3ArealSumPL:
  4500. properties:
  4501. accountname:
  4502. description: 机构名称
  4503. type: string
  4504. areauserid:
  4505. description: 所属机构\交易用户ID
  4506. type: integer
  4507. begindate:
  4508. description: 开始交易日
  4509. type: string
  4510. currencyid:
  4511. description: 结算币种ID
  4512. type: integer
  4513. currencyname:
  4514. description: 币种名称
  4515. type: string
  4516. cycletime:
  4517. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4518. type: string
  4519. cycletype:
  4520. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4521. type: integer
  4522. enddate:
  4523. description: 结束交易日
  4524. type: string
  4525. enumdicname:
  4526. description: 单位名称(套保品种)
  4527. type: string
  4528. futureactualpl:
  4529. description: 期货损益
  4530. type: number
  4531. futurefloatpl:
  4532. description: 期货浮动损益
  4533. type: number
  4534. futurespotratio:
  4535. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4536. type: number
  4537. goodsunitid:
  4538. description: 套保品种单位id
  4539. type: integer
  4540. hedgeexposurepl:
  4541. description: 套保敞口损益
  4542. type: number
  4543. middlegoodscode:
  4544. description: 套保品种代码
  4545. type: string
  4546. middlegoodsid:
  4547. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4548. type: integer
  4549. middlegoodsname:
  4550. description: 套保品种名称
  4551. type: string
  4552. reckondate:
  4553. description: 日照时期(yyyyMMdd)
  4554. type: string
  4555. spotactualpl:
  4556. description: 现货损益
  4557. type: number
  4558. spotfloatpl:
  4559. description: 现货浮动损益
  4560. type: number
  4561. sumactualpl:
  4562. description: 实际损益 = (ActualPL + FutureActualPL)
  4563. type: number
  4564. sumpl:
  4565. description: 总敞口损益 | 汇总损益
  4566. type: number
  4567. totalfutureqty:
  4568. description: 期货头寸总量
  4569. type: number
  4570. totalneedhedgeqty:
  4571. description: 应套保总量
  4572. type: number
  4573. totalspotqty:
  4574. description: 现货头寸总量
  4575. type: number
  4576. updatetime:
  4577. description: 更新时间
  4578. type: string
  4579. type: object
  4580. models.Ermcp3Brand:
  4581. properties:
  4582. areauserid:
  4583. description: 用户id
  4584. type: integer
  4585. brandid:
  4586. description: 品牌id
  4587. type: integer
  4588. brandname:
  4589. description: 品牌名称
  4590. type: string
  4591. deliverygoodsid:
  4592. description: 品种ID
  4593. type: integer
  4594. isvalid:
  4595. description: 是否有效
  4596. type: integer
  4597. type: object
  4598. models.Ermcp3Contract:
  4599. properties:
  4600. accountid:
  4601. description: 期货账户id
  4602. type: string
  4603. amount:
  4604. description: 金额 [1:一口价、3:暂定价]
  4605. type: number
  4606. attachment:
  4607. description: 附件
  4608. type: string
  4609. auditremark:
  4610. description: 审核意见
  4611. type: string
  4612. audittime:
  4613. description: 审核时间
  4614. type: string
  4615. biztype:
  4616. description: 业务类型 1-套保 2-套利
  4617. type: integer
  4618. brandname:
  4619. description: 品牌名称
  4620. type: string
  4621. buynickname:
  4622. description: 销售方昵称
  4623. type: string
  4624. buyuserid:
  4625. description: 采购方ID
  4626. type: integer
  4627. buyusername:
  4628. description: 采购方名称
  4629. type: string
  4630. contracctstatus:
  4631. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4632. type: integer
  4633. contractmargin:
  4634. description: 合同保证金
  4635. type: number
  4636. contractno:
  4637. description: 现货合同编号
  4638. type: string
  4639. contracttype:
  4640. description: 现货合同类型 - 1:采购 -1:销售
  4641. type: integer
  4642. convertfactor:
  4643. description: 标仓系数(品类)
  4644. type: number
  4645. createtime:
  4646. description: 创建时间
  4647. type: string
  4648. currencyid:
  4649. description: 币种id
  4650. type: integer
  4651. currencyname:
  4652. description: 币种名称
  4653. type: string
  4654. deliveryenddate:
  4655. description: 交收期(结束)
  4656. type: string
  4657. deliverygoodscode:
  4658. description: 现货品种代码
  4659. type: string
  4660. deliverygoodsid:
  4661. description: 现货品种ID
  4662. type: integer
  4663. deliverygoodsname:
  4664. description: 现货品种名称
  4665. type: string
  4666. deliverystartdate:
  4667. description: 交收期(开始)
  4668. type: string
  4669. enddate:
  4670. description: 点价结束日期 [2:点价 3:暂定价]
  4671. type: string
  4672. enumdicname:
  4673. description: 单位名称
  4674. type: string
  4675. goodscode:
  4676. description: 点价合约代码
  4677. type: string
  4678. goodsid:
  4679. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4680. type: integer
  4681. goodsname:
  4682. description: 点价商品名称
  4683. type: string
  4684. margin:
  4685. description: 当前保证金
  4686. type: number
  4687. meruserid:
  4688. description: 跟单员id
  4689. type: integer
  4690. meruserlogincode:
  4691. description: 跟单员登录代码
  4692. type: string
  4693. merusername:
  4694. description: 跟单员名称
  4695. type: string
  4696. pointdesc:
  4697. description: 点价备注
  4698. type: string
  4699. price:
  4700. description: 价格\暂定价 [1:一口价、3:暂定价]
  4701. type: number
  4702. pricemove:
  4703. description: 升贴水 [2:点价 3:暂定价]
  4704. type: number
  4705. pricetype:
  4706. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4707. type: integer
  4708. producttype:
  4709. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4710. type: integer
  4711. qty:
  4712. description: 数量
  4713. type: number
  4714. remark:
  4715. description: 备注
  4716. type: string
  4717. saleuserid:
  4718. description: 业务员id
  4719. type: integer
  4720. saleuserlogincode:
  4721. description: 业务员登录代码
  4722. type: string
  4723. saleusername:
  4724. description: 业务员名称
  4725. type: string
  4726. sellnickname:
  4727. description: 采购方昵称
  4728. type: string
  4729. selluserid:
  4730. description: 销售方ID
  4731. type: integer
  4732. sellusername:
  4733. description: 销售方名称
  4734. type: string
  4735. spotcontractid:
  4736. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4737. type: string
  4738. spotgoodsbrandid:
  4739. description: 现货品牌ID(DGFactoryItem表的ID)
  4740. type: integer
  4741. spotgoodsdesc:
  4742. description: 商品型号
  4743. type: string
  4744. startdate:
  4745. description: 点价开始日期 [2:点价 3:暂定价]
  4746. type: string
  4747. subjectid:
  4748. description: 交易主体ID
  4749. type: integer
  4750. subjectname:
  4751. description: 交易主体名称
  4752. type: string
  4753. tradeuserid:
  4754. description: 交易员id
  4755. type: integer
  4756. tradeuserlogincode:
  4757. description: 交易员登录代码
  4758. type: string
  4759. tradeusername:
  4760. description: 交易员名称
  4761. type: string
  4762. unitid:
  4763. description: 单位id(取品类上的单位id)
  4764. type: integer
  4765. updatetime:
  4766. description: 更新时间
  4767. type: string
  4768. userid:
  4769. description: 所属机构ID
  4770. type: integer
  4771. vatrate:
  4772. description: 增值税率
  4773. type: number
  4774. wrstandardcode:
  4775. description: 品类代码
  4776. type: string
  4777. wrstandardid:
  4778. description: 品类ID
  4779. type: integer
  4780. wrstandardname:
  4781. description: 品类名称
  4782. type: string
  4783. type: object
  4784. models.Ermcp3ExposureContractDetail:
  4785. properties:
  4786. biztype:
  4787. description: 业务类型 1-套保 2-套利
  4788. type: integer
  4789. brandname:
  4790. description: 品牌名称
  4791. type: string
  4792. buyuserid:
  4793. description: 采购方id
  4794. type: integer
  4795. buyusername:
  4796. description: 采购方名称
  4797. type: string
  4798. contractno:
  4799. description: 合同编号
  4800. type: string
  4801. contracttype:
  4802. description: 现货合同类型 - 1:采购 -1:销售
  4803. type: integer
  4804. convertfactor:
  4805. description: 标仓系数
  4806. type: number
  4807. convertratio:
  4808. description: 折算系数(套保品种)
  4809. type: number
  4810. curqty:
  4811. description: 今定价量
  4812. type: number
  4813. deliverygoodscode:
  4814. description: 现货品种代码
  4815. type: string
  4816. deliverygoodsid:
  4817. description: 现货品种id
  4818. type: integer
  4819. deliverygoodsname:
  4820. description: 现货品种名称
  4821. type: string
  4822. diffhedgeqty:
  4823. description: 套保变动量
  4824. type: number
  4825. diffneedhedgeqty:
  4826. description: 应套保变动量
  4827. type: number
  4828. diffqty:
  4829. description: 套保品种今变动量
  4830. type: number
  4831. enumdicname:
  4832. description: 单位名称
  4833. type: string
  4834. mgunitname:
  4835. description: 套保品种单位名称
  4836. type: string
  4837. middlegoodscode:
  4838. description: 套保品种代码
  4839. type: string
  4840. middlegoodsid:
  4841. description: 套保品种id
  4842. type: integer
  4843. middlegoodsname:
  4844. description: 套保品种名称
  4845. type: string
  4846. needarbitrageratio:
  4847. description: 应套利比例
  4848. type: number
  4849. needhedgeratio:
  4850. description: 应套保比例
  4851. type: number
  4852. pricedqty:
  4853. description: 已定价量
  4854. type: number
  4855. qty:
  4856. description: 合同量
  4857. type: number
  4858. selluserid:
  4859. description: 销售方id
  4860. type: integer
  4861. sellusername:
  4862. description: 销售方名称
  4863. type: string
  4864. spotcontractid:
  4865. description: 合同id
  4866. type: string
  4867. todaypricedqty:
  4868. description: 今定价量
  4869. type: number
  4870. tradedate:
  4871. description: 交易日
  4872. type: string
  4873. unitid:
  4874. description: 品类单位id
  4875. type: integer
  4876. userid:
  4877. description: 机构id
  4878. type: integer
  4879. username:
  4880. description: 交易用户
  4881. type: string
  4882. wrstandardcode:
  4883. description: 现货商品代码
  4884. type: string
  4885. wrstandardid:
  4886. description: 现货商品id
  4887. type: integer
  4888. wrstandardname:
  4889. description: 现货商品名称
  4890. type: string
  4891. type: object
  4892. models.Ermcp3ExposureDetail:
  4893. properties:
  4894. areauserid:
  4895. description: 机构ID
  4896. type: integer
  4897. changeQty:
  4898. description: 套保变动量
  4899. type: number
  4900. contracttype:
  4901. description: 现货合同类型 - 1:采购 -1:销售
  4902. type: integer
  4903. convertfactor:
  4904. description: 标仓系数
  4905. type: number
  4906. convertratio:
  4907. description: 折算系数
  4908. type: number
  4909. createtime:
  4910. description: 时间
  4911. type: string
  4912. enumdicname:
  4913. description: 现货商品单位名称
  4914. type: string
  4915. logtype:
  4916. description: 类型 - 1:套保计划 2:现货合同
  4917. type: integer
  4918. mgunitid:
  4919. description: 套保品种单位id
  4920. type: integer
  4921. mgunitidname:
  4922. description: 套保品种单位名称
  4923. type: string
  4924. middlegoodsId:
  4925. description: 套保商品id
  4926. type: integer
  4927. middlegoodscode:
  4928. description: 套保商品代码
  4929. type: string
  4930. middlegoodsname:
  4931. description: 套保商品名称
  4932. type: string
  4933. qty:
  4934. description: 数量
  4935. type: number
  4936. relateNo:
  4937. description: 现货合同/套保计划编号
  4938. type: string
  4939. unitid:
  4940. description: 现货商品单位id
  4941. type: integer
  4942. wrstandardcode:
  4943. description: 现货商品代码
  4944. type: string
  4945. wrstandardid:
  4946. description: 现货商品ID(SEQ_WRSTANDARD)
  4947. type: integer
  4948. wrstandardname:
  4949. description: 现货商品名称
  4950. type: string
  4951. type: object
  4952. models.Ermcp3ExposureFutuDetail:
  4953. properties:
  4954. accountid:
  4955. description: 交易账户id
  4956. type: integer
  4957. accountname:
  4958. description: 交易账户
  4959. type: string
  4960. begindate:
  4961. description: 开始交易日
  4962. type: string
  4963. buyorsell:
  4964. description: 方向 0-买 1-卖
  4965. type: integer
  4966. diffmgqty:
  4967. description: 套保品种今变化量
  4968. type: number
  4969. diffneedqty:
  4970. description: 应套保总量变化量
  4971. type: number
  4972. difftradeqty:
  4973. description: 交易品种今变化量
  4974. type: number
  4975. enddate:
  4976. description: 结束交易日
  4977. type: string
  4978. enumdicname:
  4979. description: 单位名称
  4980. type: string
  4981. goodscode:
  4982. description: 商品代码
  4983. type: string
  4984. goodsid:
  4985. description: 商品id
  4986. type: integer
  4987. goodsname:
  4988. description: 商品名称
  4989. type: string
  4990. holdqty:
  4991. description: 期末持仓量
  4992. type: number
  4993. middlegoodscode:
  4994. description: 套保商品代码
  4995. type: string
  4996. middlegoodsid:
  4997. description: 套保商品id
  4998. type: integer
  4999. middlegoodsname:
  5000. description: 套保商品名称
  5001. type: string
  5002. oriholdqty:
  5003. description: 期初持仓量
  5004. type: number
  5005. todaycloseqty:
  5006. description: 今平仓量
  5007. type: number
  5008. todayopenqty:
  5009. description: 今开仓量
  5010. type: number
  5011. tradedate:
  5012. description: 交易日
  5013. type: string
  5014. username:
  5015. description: 用户名称(交易用户)
  5016. type: string
  5017. type: object
  5018. models.Ermcp3ExposureHedgeplanDetail:
  5019. properties:
  5020. biztype:
  5021. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5022. type: integer
  5023. changqty:
  5024. description: 应套保总量变化量
  5025. type: number
  5026. contracttype:
  5027. description: 计划类型 - 1:采购 -1:销售
  5028. type: integer
  5029. convertratio:
  5030. description: 折算系数(套保品种)
  5031. type: number
  5032. deliverygoodscode:
  5033. description: 现货商品代码
  5034. type: string
  5035. deliverygoodsid:
  5036. description: 现货商品id
  5037. type: integer
  5038. deliverygoodsname:
  5039. description: 现货商吕名称
  5040. type: string
  5041. dgunitid:
  5042. description: 现货商品单位id
  5043. type: integer
  5044. dgunitidname:
  5045. description: 单位名称(现货商品)
  5046. type: string
  5047. diffqty:
  5048. description: 套保品种今变动量
  5049. type: number
  5050. enumdicname:
  5051. description: 单位名称(品类)
  5052. type: string
  5053. hedgeplanid:
  5054. description: 套保计划id
  5055. type: string
  5056. hedgeplanno:
  5057. description: 套保计划名称
  5058. type: string
  5059. hedgeplanstatus:
  5060. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5061. type: integer
  5062. mgunitidname:
  5063. description: 单位名称(套保商品)
  5064. type: string
  5065. middlegoodscode:
  5066. description: 套保品种代码
  5067. type: string
  5068. middlegoodsid:
  5069. description: 套保品种id
  5070. type: integer
  5071. middlegoodsname:
  5072. description: 套保品种名称
  5073. type: string
  5074. needarbitrageratio:
  5075. description: 应套利比例
  5076. type: number
  5077. needhedgeratio:
  5078. description: 应套保比例
  5079. type: number
  5080. pricedqty:
  5081. description: 已定价量
  5082. type: number
  5083. qty:
  5084. description: 合同量
  5085. type: number
  5086. tradedate:
  5087. description: 交易日(登记日)
  5088. type: string
  5089. unitid:
  5090. description: 品类单位id
  5091. type: integer
  5092. userid:
  5093. description: 机构id
  5094. type: integer
  5095. wrstandardcode:
  5096. description: 品类代码
  5097. type: string
  5098. wrstandardid:
  5099. description: 品类id
  5100. type: integer
  5101. wrstandardname:
  5102. description: 品类名称
  5103. type: string
  5104. type: object
  5105. models.Ermcp3ExposureParamChLog:
  5106. properties:
  5107. accountid:
  5108. description: 期货账户ID (作废, 默认为0)
  5109. type: integer
  5110. aftervalue:
  5111. description: 应套保\套利量变更后(调整后应套保总量)
  5112. type: number
  5113. areauserid:
  5114. description: 所属机构\交易用户ID
  5115. type: integer
  5116. beforevalue:
  5117. description: 应套保\套利量变更前(调整前应套保总量)
  5118. type: number
  5119. begindate:
  5120. description: 开始交易日
  5121. type: string
  5122. changelogtype:
  5123. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5124. type: integer
  5125. curvalue:
  5126. description: 当前套保\套利量(套保总量|套利总量)
  5127. type: number
  5128. diffvalue:
  5129. description: 应套保总量变化量
  5130. type: number
  5131. enddate:
  5132. description: 结束交易日
  5133. type: string
  5134. logdatetime:
  5135. description: 流水日期
  5136. type: string
  5137. logid:
  5138. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5139. type: string
  5140. middlegoodscode:
  5141. description: 套保品种代码
  5142. type: string
  5143. middlegoodsid:
  5144. description: 套保品种
  5145. type: integer
  5146. middlegoodsname:
  5147. description: 套保品种名称
  5148. type: string
  5149. paramaftervalue:
  5150. description: 参数变更后(调整后参数值)
  5151. type: number
  5152. parambeforevalue:
  5153. description: 参数变更前(调整前参数值)
  5154. type: number
  5155. tradedate:
  5156. description: 交易日(yyyyMMdd)
  5157. type: string
  5158. type: object
  5159. models.Ermcp3ExpourseReport:
  5160. properties:
  5161. accountid:
  5162. description: 期货账户ID (作废, 默认为0)
  5163. type: integer
  5164. accountname:
  5165. description: 机构名称
  5166. type: string
  5167. arbitrageqty:
  5168. description: 套利量
  5169. type: number
  5170. areauserid:
  5171. description: 所属机构\交易用户ID
  5172. type: integer
  5173. begindate:
  5174. description: 开始交易日
  5175. type: string
  5176. buyfutureqty:
  5177. description: 买入期货数量
  5178. type: number
  5179. buyplanqty:
  5180. description: 采购计划数量
  5181. type: number
  5182. buypricedqty:
  5183. description: 采购合同已定价数量
  5184. type: number
  5185. cycletime:
  5186. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5187. type: string
  5188. cycletype:
  5189. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5190. type: integer
  5191. diffexposure:
  5192. description: 变动量(套保敞口)
  5193. type: number
  5194. difffutuqty:
  5195. description: 变动量(期货)
  5196. type: number
  5197. diffhedgeqty:
  5198. description: 变动量(现货应套保总量)
  5199. type: number
  5200. diffmgqtya:
  5201. description: 套保变动量
  5202. type: number
  5203. diffmgqtyb:
  5204. description: 套利变动量
  5205. type: number
  5206. diffqty:
  5207. description: 变动量(总敞口)
  5208. type: number
  5209. diffspotqty:
  5210. description: 变动量(现货)
  5211. type: number
  5212. enddate:
  5213. description: 结束交易日
  5214. type: string
  5215. enumdicname:
  5216. description: 单位名称
  5217. type: string
  5218. hedgeqty:
  5219. description: 套保量
  5220. type: number
  5221. mgneedhedgeratio:
  5222. description: 套保比例(套保品的)
  5223. type: number
  5224. middlegoodsid:
  5225. description: 套保品种ID
  5226. type: integer
  5227. middlegoodsname:
  5228. description: 套保商品名称
  5229. type: string
  5230. middlgoodscode:
  5231. description: 套保商品代码
  5232. type: string
  5233. needarbitrageqty:
  5234. description: 应套利量
  5235. type: number
  5236. needarbitrageratio:
  5237. description: 套利比例(套保品的)
  5238. type: number
  5239. needhedgeexposoure:
  5240. description: 应套保敞口(套保敞口)
  5241. type: number
  5242. needhedgeqty:
  5243. description: 应套保量
  5244. type: number
  5245. needhedgeratio:
  5246. description: 应套保敞口比例
  5247. type: number
  5248. oriarbitrageqty:
  5249. description: 期初套利量
  5250. type: number
  5251. oribuyfutureqty:
  5252. description: 期初买入期货数量
  5253. type: number
  5254. oribuyplanqty:
  5255. description: 期初采购计划数量
  5256. type: number
  5257. oribuypricedqty:
  5258. description: 期初采购合同已定价数量
  5259. type: number
  5260. orihedgeqty:
  5261. description: 期初套保量
  5262. type: number
  5263. orineedarbitrageqty:
  5264. description: 期初应套利量
  5265. type: number
  5266. orineedhedgeexposoure:
  5267. description: 期初应套保敞口
  5268. type: number
  5269. orineedhedgeqty:
  5270. description: 期初应套保量
  5271. type: number
  5272. orisellfutureqty:
  5273. description: 期初卖出期货数量
  5274. type: number
  5275. orisellplanqty:
  5276. description: 期初销售计划数量
  5277. type: number
  5278. orisellpricedqty:
  5279. description: 期初销售合同已定价数量
  5280. type: number
  5281. oritotalexposure:
  5282. description: 期初实时总敞口
  5283. type: number
  5284. oritotalfutureqty:
  5285. description: 期初期货头寸总量
  5286. type: number
  5287. oritotalneedhedgeqty:
  5288. description: 期初应套保总量
  5289. type: number
  5290. oritotalspotqty:
  5291. description: 期初现货头寸总量
  5292. type: number
  5293. reckondate:
  5294. description: 日照时期(yyyyMMdd)
  5295. type: string
  5296. sellfutureqty:
  5297. description: 卖出期货数量
  5298. type: number
  5299. sellplanqty:
  5300. description: 销售计划数量
  5301. type: number
  5302. sellpricedqty:
  5303. description: 销售合同已定价数量
  5304. type: number
  5305. totalexposure:
  5306. description: 实时总敞口(总敞口)
  5307. type: number
  5308. totalfutureqty:
  5309. description: 期货头寸总量(期货总量)
  5310. type: number
  5311. totalhedgeratio:
  5312. description: 敞口比例
  5313. type: number
  5314. totalneedhedgeqty:
  5315. description: 应套保总量(现货应套保总量)
  5316. type: number
  5317. totalspotqty:
  5318. description: 现货头寸总量
  5319. type: number
  5320. unitid:
  5321. description: 单位id
  5322. type: integer
  5323. updatetime:
  5324. description: 更新时间
  5325. type: string
  5326. type: object
  5327. models.Ermcp3FinanceReport:
  5328. properties:
  5329. accountname:
  5330. description: 机构名称
  5331. type: string
  5332. areauserid:
  5333. description: 所属机构\交易用户ID
  5334. type: integer
  5335. begindate:
  5336. description: 开始交易日
  5337. type: string
  5338. biztype:
  5339. description: 业务类型 - 1:套保 2:套利
  5340. type: integer
  5341. brandname:
  5342. description: 品牌名称
  5343. type: string
  5344. buypreinvoicedamount:
  5345. description: 采购预收票额(预收票额)
  5346. type: number
  5347. buyprepaidamount:
  5348. description: 采购预付款额(预付货款额)
  5349. type: number
  5350. buytodayinvoiceamount:
  5351. description: 采购今收票额(今收票额)
  5352. type: number
  5353. buytodayrefundamount:
  5354. description: 采购今收退款额(今收退款额)
  5355. type: number
  5356. buytodaysettleamount:
  5357. description: 采购今付款额(今付货款额)
  5358. type: number
  5359. buyuninvoicedamount:
  5360. description: 采购应收票额(应收票额)
  5361. type: number
  5362. buyunpaidamount:
  5363. description: 采购应付款额(应付货款额)
  5364. type: number
  5365. currencyid:
  5366. description: 结算币种ID
  5367. type: integer
  5368. currencyname:
  5369. description: 币种名称
  5370. type: string
  5371. cycletime:
  5372. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5373. type: string
  5374. cycletype:
  5375. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5376. type: integer
  5377. deliverygoodscode:
  5378. description: 现货品种代码
  5379. type: string
  5380. deliverygoodsid:
  5381. description: 现货品种ID
  5382. type: integer
  5383. deliverygoodsname:
  5384. description: 现货品种名称
  5385. type: string
  5386. enddate:
  5387. description: 结束交易日
  5388. type: string
  5389. reckondate:
  5390. description: 日照时期(yyyyMMdd)
  5391. type: string
  5392. sellpreinvoicedamount:
  5393. description: 销售预开票额(预开票额)
  5394. type: number
  5395. sellprepaidamount:
  5396. description: 销售预收款额(预收货款额)
  5397. type: number
  5398. selltodayinvoiceamount:
  5399. description: 销售今开票额(今开票额)
  5400. type: number
  5401. selltodayrefundamount:
  5402. description: 销售今付退款额(今付退款额)
  5403. type: number
  5404. selltodaysettleamount:
  5405. description: 销售今收款额(今收货款额)
  5406. type: number
  5407. selluninvoicedamount:
  5408. description: 销售应开票额(应开票额)
  5409. type: number
  5410. sellunpaidamount:
  5411. description: 销售应收款额(应收货款额)
  5412. type: number
  5413. spotgoodsbrandid:
  5414. description: 现货品牌ID
  5415. type: integer
  5416. todaypaysum:
  5417. description: 今付款合计
  5418. type: number
  5419. todayreceivesum:
  5420. description: 今收款合计
  5421. type: number
  5422. updatetime:
  5423. description: 更新时间
  5424. type: string
  5425. wrfactortypeid:
  5426. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5427. type: integer
  5428. wrstandardcode:
  5429. description: 品类代码
  5430. type: string
  5431. wrstandardid:
  5432. description: 现货商品ID
  5433. type: integer
  5434. wrstandardname:
  5435. description: 品类名称
  5436. type: string
  5437. type: object
  5438. models.Ermcp3GoodsGroup:
  5439. properties:
  5440. agreeunit:
  5441. description: 合约单位
  5442. type: number
  5443. areauserid:
  5444. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5445. type: integer
  5446. canshort:
  5447. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5448. type: integer
  5449. closepricemode:
  5450. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5451. type: integer
  5452. createtime:
  5453. description: 创建时间
  5454. type: string
  5455. creatorid:
  5456. description: 创建人
  5457. type: integer
  5458. currencyid:
  5459. description: 报价货币ID
  5460. type: integer
  5461. decimalplace:
  5462. description: 报价小数位
  5463. type: integer
  5464. enumdicname:
  5465. description: 单位名称
  5466. type: string
  5467. exchangefullname:
  5468. description: 交易所全称
  5469. type: string
  5470. excludecfg:
  5471. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5472. type: integer
  5473. exexchangecode:
  5474. description: 交易所代码
  5475. type: string
  5476. exexchangeid:
  5477. description: 外部交易所ID[通道交易]
  5478. type: integer
  5479. exexchangename:
  5480. description: 交易所名称
  5481. type: string
  5482. goodsgroupid:
  5483. description: 商品组ID(自增ID)
  5484. type: integer
  5485. goodsgroupname:
  5486. description: 商品组名称
  5487. type: string
  5488. goodsgroupstatus:
  5489. description: 商品组状态 - 1:正常 2:注销
  5490. type: integer
  5491. goodunitid:
  5492. description: 报价单位ID
  5493. type: integer
  5494. groupcategroyid:
  5495. description: 品种分类ID
  5496. type: integer
  5497. innerdealmode:
  5498. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5499. type: integer
  5500. marketid:
  5501. description: 所属市场ID
  5502. type: integer
  5503. modifierid:
  5504. description: 修改人
  5505. type: integer
  5506. modifytime:
  5507. description: 修改时间
  5508. type: string
  5509. outerdealmode:
  5510. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5511. type: integer
  5512. outergroupcode:
  5513. description: 外部商品组代码[通道交易]
  5514. type: string
  5515. quoteminunit:
  5516. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5517. type: integer
  5518. quotesourcegroupid:
  5519. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5520. type: integer
  5521. syncgoodsqty:
  5522. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5523. type: integer
  5524. required:
  5525. - areauserid
  5526. type: object
  5527. models.Ermcp3HedgePlan:
  5528. properties:
  5529. accountid:
  5530. description: 资金账号
  5531. type: integer
  5532. areauserid:
  5533. description: 用户ID
  5534. type: integer
  5535. auditid:
  5536. description: 审核id
  5537. type: integer
  5538. auditname:
  5539. description: 审核人名称
  5540. type: string
  5541. auditremark:
  5542. description: 审核备注
  5543. type: string
  5544. auditsrc:
  5545. description: 审核来源 1-管理端 2-终端
  5546. type: integer
  5547. audittime:
  5548. description: 审核时间
  5549. type: string
  5550. contracttype:
  5551. description: 计划类型 - 1:采购 -1:销售
  5552. type: integer
  5553. convertfactor:
  5554. description: 标仓系数
  5555. type: number
  5556. createtime:
  5557. description: 创建时间
  5558. type: string
  5559. currencyid:
  5560. description: 币种id
  5561. type: integer
  5562. currencyname:
  5563. description: 币种名称
  5564. type: string
  5565. deliverygoodscode:
  5566. description: 现货品种代码
  5567. type: string
  5568. deliverygoodsid:
  5569. description: 现货品种ID
  5570. type: integer
  5571. deliverygoodsname:
  5572. description: 现货品种名称
  5573. type: string
  5574. enumdicname:
  5575. description: 单位名称(现货商品)
  5576. type: string
  5577. hedgeplanid:
  5578. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5579. type: string
  5580. hedgeplanno:
  5581. description: 套保计划编号(名称)
  5582. type: string
  5583. hedgeplanstatus:
  5584. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5585. type: integer
  5586. planqty:
  5587. description: 计划数量
  5588. type: number
  5589. plantime:
  5590. description: 计划时间
  5591. type: string
  5592. producttype:
  5593. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5594. type: integer
  5595. remark:
  5596. description: 备注
  5597. type: string
  5598. spotgoodsdesc:
  5599. description: 商品型号
  5600. type: string
  5601. taaccountname:
  5602. description: 资金账号名称
  5603. type: string
  5604. tradeuserid:
  5605. description: 交易用户id
  5606. type: integer
  5607. tradeusername:
  5608. description: 交易用户名称
  5609. type: string
  5610. unitid:
  5611. description: 单位id(现货商品)
  5612. type: integer
  5613. updatetime:
  5614. description: 更新时间
  5615. type: string
  5616. vatrate:
  5617. description: 增值税率
  5618. type: number
  5619. wrstandardcode:
  5620. description: 品类代码
  5621. type: string
  5622. wrstandardid:
  5623. description: 品类id
  5624. type: integer
  5625. wrstandardname:
  5626. description: 品类名称
  5627. type: string
  5628. wrunitid:
  5629. description: 品类单位id
  5630. type: integer
  5631. wrunitidame:
  5632. description: 品类单位名称
  5633. type: string
  5634. type: object
  5635. models.Ermcp3InnerTradeLink:
  5636. properties:
  5637. accountid:
  5638. description: 期货账号代码 | 资金账号ID
  5639. type: integer
  5640. buyorsell:
  5641. description: 方向 - 0:买 1:卖
  5642. type: integer
  5643. channelbuildtype:
  5644. description: 委托单据类型 0:无 1:建仓 2:平仓
  5645. type: integer
  5646. currencyid:
  5647. description: 币种id
  5648. type: integer
  5649. currencyname:
  5650. description: 结算币种 名称
  5651. type: string
  5652. goodscode:
  5653. description: 商品代码
  5654. type: string
  5655. goodsid:
  5656. description: 商品ID
  5657. type: integer
  5658. goodsname:
  5659. description: 商品名称
  5660. type: string
  5661. outtradeid:
  5662. description: 外部成交单号
  5663. type: string
  5664. taname:
  5665. description: 期货账户名称
  5666. type: string
  5667. tradeid:
  5668. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5669. type: string
  5670. tradeprice:
  5671. description: 成交价格
  5672. type: number
  5673. tradeqty:
  5674. description: 期货成交数量
  5675. type: integer
  5676. tradetime:
  5677. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5678. type: string
  5679. username:
  5680. description: 用户名称
  5681. type: string
  5682. type: object
  5683. models.Ermcp3OutTradeLink:
  5684. properties:
  5685. buyorsell:
  5686. description: 买卖方向 - 0:买 1:卖
  5687. type: integer
  5688. channelbuildtype:
  5689. description: 开平标志- 0:无 1:建仓 2:平仓
  5690. type: integer
  5691. currencyname:
  5692. description: 币种名称
  5693. type: string
  5694. exexchangecode:
  5695. description: 交易所代码
  5696. type: string
  5697. exexchangename:
  5698. description: 交易所名称
  5699. type: string
  5700. goodscode:
  5701. description: 合约代码
  5702. type: string
  5703. goodsid:
  5704. description: 合约id
  5705. type: integer
  5706. goodsname:
  5707. description: 合约名称
  5708. type: string
  5709. hasinnerorder:
  5710. description: 是否有内部单关联 - 0:无 1:有
  5711. type: integer
  5712. hedgeaccountcode:
  5713. description: 外部账号 | 对冲账号
  5714. type: string
  5715. outtradeid:
  5716. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5717. type: string
  5718. tradeprice:
  5719. description: 成交价格
  5720. type: number
  5721. tradeqty:
  5722. description: 成交数量
  5723. type: integer
  5724. tradetime:
  5725. description: 成交时间
  5726. type: string
  5727. type: object
  5728. models.Ermcp3PaAreaAuditCfg:
  5729. properties:
  5730. areauserid:
  5731. description: 用户ID
  5732. type: integer
  5733. buyinauditflag:
  5734. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. costratioauditflag:
  5737. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. customerauditflag:
  5740. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. deliveryauditflag:
  5743. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. invoiceauditflag:
  5746. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. mgneedhedgeratioauditflag:
  5749. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. moneyauditflag:
  5752. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. operatorid:
  5755. description: 操作人
  5756. type: integer
  5757. operatorsrc:
  5758. description: 操作来源 - 1:管理端 2:终端
  5759. type: integer
  5760. pointpriceauditflag:
  5761. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. produceinauditflag:
  5764. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. produceoutauditflag:
  5767. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. selloutauditflag:
  5770. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. sgconvertratioauditflag:
  5773. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5774. type: integer
  5775. sgvtaratioauditflag:
  5776. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5777. type: integer
  5778. spotcontractauditflag:
  5779. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5780. type: integer
  5781. updatetime:
  5782. description: 更新时间
  5783. type: string
  5784. type: object
  5785. models.Ermcp3PaAreaSubject:
  5786. properties:
  5787. areauserid:
  5788. description: 所属机构
  5789. type: integer
  5790. canmodify:
  5791. description: 是否可修改 - 0:否 1:是
  5792. type: integer
  5793. createtime:
  5794. description: 创建时间
  5795. type: string
  5796. creatorid:
  5797. description: 创建人ID
  5798. type: string
  5799. creatorsrc:
  5800. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5801. type: integer
  5802. modifierid:
  5803. description: 修改人
  5804. type: string
  5805. modifiersrc:
  5806. description: 修改人来源 - 1:管理端 2:终端
  5807. type: integer
  5808. modifytime:
  5809. description: 修改时间
  5810. type: string
  5811. parentsubjectid:
  5812. description: 上级主体ID
  5813. type: string
  5814. remark:
  5815. description: 备注
  5816. type: string
  5817. subjectid:
  5818. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5819. type: integer
  5820. subjectname:
  5821. description: 主体名称
  5822. type: string
  5823. subjectstatus:
  5824. description: '主体状态 - 1:正常 2: 停用'
  5825. type: integer
  5826. subjecttype:
  5827. description: 主体类型 - 1:交易主体 2:业务部门
  5828. type: integer
  5829. type: object
  5830. models.Ermcp3PaTradeLink:
  5831. properties:
  5832. accountid:
  5833. description: 期货账户代码 | 账号ID
  5834. type: integer
  5835. agreeunit:
  5836. description: 合约乘数
  5837. type: number
  5838. buyorsell:
  5839. description: 方向 - 0:买 1:卖
  5840. type: integer
  5841. channelbuildtype:
  5842. description: 委托单据类型 0:无 1:建仓 2:平仓
  5843. type: integer
  5844. charge:
  5845. description: 手续费
  5846. type: number
  5847. closepl:
  5848. description: 平仓盈亏
  5849. type: number
  5850. closetype:
  5851. description: 平仓方式 - 0:无 1:平今 2:平昨
  5852. type: integer
  5853. convertratio:
  5854. description: 折算系数
  5855. type: number
  5856. enumdicname:
  5857. description: 单位名称
  5858. type: string
  5859. executeprice:
  5860. description: 执行价 [期权]
  5861. type: integer
  5862. goodscode:
  5863. description: 合约代码
  5864. type: string
  5865. goodsgroupid:
  5866. description: 对冲品种ID[期货合约商品组ID]
  5867. type: integer
  5868. goodsid:
  5869. description: 商品ID
  5870. type: integer
  5871. goodsname:
  5872. description: 合约名称
  5873. type: string
  5874. goodunitid:
  5875. description: 单位id
  5876. type: integer
  5877. hedgeflag:
  5878. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5879. type: integer
  5880. marketid:
  5881. description: 市场ID
  5882. type: integer
  5883. middlegoodsid:
  5884. description: 套保品种ID
  5885. type: integer
  5886. middlegoodsqty:
  5887. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5888. type: number
  5889. optioncode:
  5890. description: 期权代码 [期权]
  5891. type: string
  5892. ordertype:
  5893. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5894. type: integer
  5895. ordertypename:
  5896. description: 订单类型
  5897. type: string
  5898. parentaccountid:
  5899. description: 所属母账户
  5900. type: integer
  5901. premium:
  5902. description: 权利金 [期权]
  5903. type: number
  5904. relatedlot:
  5905. description: 已关联数量(已关联数量手) | db:关联手数
  5906. type: number
  5907. relatedouttradeid:
  5908. description: 关联外部成交单ID
  5909. type: string
  5910. relatedqty:
  5911. description: 关联数量
  5912. type: number
  5913. spotcontractid:
  5914. description: 现货合同ID [4:套期保值\10\11]
  5915. type: string
  5916. taname:
  5917. description: 期货账户名称
  5918. type: string
  5919. tradeamount:
  5920. description: 成交金额(账户)
  5921. type: number
  5922. tradedate:
  5923. description: 交易日(yyyyMMdd)
  5924. type: string
  5925. tradeid:
  5926. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5927. type: string
  5928. tradelot:
  5929. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5930. type: integer
  5931. tradeprice:
  5932. description: 成交价格
  5933. type: number
  5934. tradetime:
  5935. description: 时间 | db:成交时间
  5936. type: string
  5937. tradetype:
  5938. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5939. type: integer
  5940. userid:
  5941. description: 所属机构 - 所属母账户的UserID
  5942. type: string
  5943. username:
  5944. description: 用户名称
  5945. type: string
  5946. type: object
  5947. models.Ermcp3ParamChangeApp:
  5948. properties:
  5949. aftervalue:
  5950. description: 变更后
  5951. type: number
  5952. applicationid:
  5953. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5954. type: string
  5955. applyid:
  5956. description: 申请人
  5957. type: string
  5958. applyname:
  5959. description: 申请人名称(代码)
  5960. type: string
  5961. applyremark:
  5962. description: 申请备注
  5963. type: string
  5964. applysrc:
  5965. description: 申请来源 - 1:管理端 2:终端
  5966. type: integer
  5967. applystatus:
  5968. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5969. type: integer
  5970. applytime:
  5971. description: 申请时间
  5972. type: string
  5973. areauserid:
  5974. description: 所属机构用户ID
  5975. type: integer
  5976. auditid:
  5977. description: 审核人
  5978. type: string
  5979. auditname:
  5980. description: 审核人名称(代码)
  5981. type: string
  5982. auditremark:
  5983. description: 审核备注
  5984. type: string
  5985. auditsrc:
  5986. description: 审核来源 - 1:管理端 2:终端
  5987. type: integer
  5988. audittime:
  5989. description: 审核时间
  5990. type: string
  5991. audittradedate:
  5992. description: 审核交易日(yyyyMMdd)
  5993. type: string
  5994. beforevalue:
  5995. description: 变更前
  5996. type: number
  5997. deliverygoodscode:
  5998. description: 品种代码
  5999. type: string
  6000. deliverygoodsid:
  6001. description: 品种id
  6002. type: integer
  6003. deliverygoodsname:
  6004. description: 品种名称
  6005. type: string
  6006. middlegoodscode:
  6007. description: 套保品种代码
  6008. type: string
  6009. middlegoodsid:
  6010. description: 套保品种ID [ParamChangeType = 2,3,4]
  6011. type: integer
  6012. middlegoodsname:
  6013. description: 套保品种名称
  6014. type: string
  6015. operatetype:
  6016. description: 操作类型 - 1:新增 2:修改
  6017. type: integer
  6018. paramchangetype:
  6019. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6020. type: integer
  6021. wrstandardcode:
  6022. description: 现货商品代码
  6023. type: string
  6024. wrstandardid:
  6025. description: 现货商品ID [ParamChangeType = 1,2,3]
  6026. type: integer
  6027. wrstandardname:
  6028. description: 现货商品名称
  6029. type: string
  6030. type: object
  6031. models.Ermcp3RootUserAccount:
  6032. properties:
  6033. accountname:
  6034. description: 账户名称(机构名称)
  6035. type: string
  6036. accountstatus:
  6037. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6038. type: integer
  6039. applysrc:
  6040. description: 申请来源 - 1:管理端 2:终端
  6041. type: integer
  6042. auditremark:
  6043. description: 审核备注
  6044. type: string
  6045. auditsrc:
  6046. description: 审核来源 - 1:管理端 2:终端
  6047. type: integer
  6048. audittime:
  6049. description: 审核时间
  6050. type: string
  6051. audituserid:
  6052. description: 审核人
  6053. type: integer
  6054. broker:
  6055. description: 所属经纪人ID
  6056. type: integer
  6057. canceltime:
  6058. description: 销户时间
  6059. type: string
  6060. canceluserid:
  6061. description: 销户人
  6062. type: integer
  6063. canrecommend:
  6064. description: 是否可推荐 - 0:不可 1;可
  6065. type: integer
  6066. createtime:
  6067. description: 创建时间
  6068. type: string
  6069. creatorid:
  6070. description: 创建人
  6071. type: integer
  6072. hasauth:
  6073. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6074. type: integer
  6075. isanonymous:
  6076. description: 是否匿名下单 - 0:否 1:是
  6077. type: integer
  6078. maxinvestornum:
  6079. description: 最大用户数(经纪会员下投资者个数)
  6080. type: integer
  6081. memberuserid:
  6082. description: 所属会员ID
  6083. type: integer
  6084. modifierid:
  6085. description: 修改人
  6086. type: integer
  6087. modifyremark:
  6088. description: 变更备注
  6089. type: string
  6090. modifystatus:
  6091. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6092. type: integer
  6093. modifytime:
  6094. description: 修改时间
  6095. type: string
  6096. nickname:
  6097. description: 昵称
  6098. type: string
  6099. parenttopuser:
  6100. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6101. type: string
  6102. parentuserid:
  6103. description: 所属机构ID
  6104. type: integer
  6105. reckonaccountid:
  6106. description: 默认结算资金账号ID(机构分润使用) 作废
  6107. type: integer
  6108. refercount:
  6109. description: 推荐总人数
  6110. type: integer
  6111. refereeuserid:
  6112. description: 推荐人ID
  6113. type: integer
  6114. refernum:
  6115. description: 推荐码
  6116. type: string
  6117. rootuserid:
  6118. description: 根用户ID
  6119. type: integer
  6120. subaccountlevel:
  6121. description: 子账户层数
  6122. type: integer
  6123. subarealevelpath:
  6124. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6125. type: string
  6126. userid:
  6127. description: 用户ID
  6128. type: integer
  6129. usertype:
  6130. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6131. type: integer
  6132. type: object
  6133. models.Ermcp3SCMiddleGoods:
  6134. properties:
  6135. biztype:
  6136. description: 业务类型 1:套保 2:套利
  6137. type: integer
  6138. contractno:
  6139. description: 合同编号
  6140. type: string
  6141. contracttype:
  6142. description: 合同类型 1:采购 -1:销售
  6143. type: integer
  6144. convertratio:
  6145. description: 折算系数
  6146. type: number
  6147. customername:
  6148. description: 对手手名称
  6149. type: string
  6150. customeruserid:
  6151. description: 对手id
  6152. type: integer
  6153. deliverygoodscode:
  6154. description: 现货品种代码
  6155. type: string
  6156. deliverygoodsid:
  6157. description: 现货品种ID
  6158. type: integer
  6159. deliverygoodsname:
  6160. description: 现货品种名称
  6161. type: string
  6162. enumdicname:
  6163. description: 现货单位名称
  6164. type: string
  6165. middlegoodsid:
  6166. description: 套保品种ID
  6167. type: integer
  6168. middlegoodspricedqty3:
  6169. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6170. type: number
  6171. needhedgeratio:
  6172. description: 套保比例
  6173. type: number
  6174. pricedqty:
  6175. description: 已定价量
  6176. type: number
  6177. relatedmiddlegoodsqty:
  6178. description: 已关联量(套保品种)(期货)
  6179. type: number
  6180. spotcontractid:
  6181. description: 合同编号
  6182. type: string
  6183. unitid:
  6184. description: 现货单位id
  6185. type: integer
  6186. userid:
  6187. description: 用户id
  6188. type: integer
  6189. vatrate:
  6190. description: 增值税率
  6191. type: number
  6192. wrstandardcode:
  6193. description: 现货商品代码
  6194. type: string
  6195. wrstandardid:
  6196. description: 现货商品id
  6197. type: integer
  6198. wrstandardname:
  6199. description: 现货商品名称
  6200. type: string
  6201. type: object
  6202. models.Ermcp3SCMiddleGoodsReport:
  6203. properties:
  6204. begindate:
  6205. description: 开始交易日
  6206. type: string
  6207. contractno:
  6208. description: 合同编号
  6209. type: string
  6210. contracttype:
  6211. description: 合同类型 1:采购 -1:销售
  6212. type: integer
  6213. convertratio:
  6214. description: 折算系数
  6215. type: number
  6216. cycletime:
  6217. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6218. type: string
  6219. cycletype:
  6220. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6221. type: integer
  6222. deliverygoodscode:
  6223. description: 品种代码
  6224. type: string
  6225. deliverygoodsid:
  6226. description: 现货品种ID
  6227. type: integer
  6228. deliverygoodsname:
  6229. description: 品种名称
  6230. type: string
  6231. diffprice:
  6232. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6233. type: number
  6234. diffqty:
  6235. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6236. type: number
  6237. enddate:
  6238. description: 结束交易日
  6239. type: string
  6240. hedgeplanqty:
  6241. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6242. type: number
  6243. matchname:
  6244. description: 交易对手方(个人:用户名称 企业:简称)
  6245. type: string
  6246. middlegoodscode:
  6247. description: 套保品种代码
  6248. type: string
  6249. middlegoodsid:
  6250. description: 套保品种ID
  6251. type: integer
  6252. middlegoodsname:
  6253. description: 套保品种名称
  6254. type: string
  6255. middlegoodspricedqty:
  6256. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6257. type: number
  6258. middlegoodspricedqty2:
  6259. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6260. type: number
  6261. middlegoodspricedqty3:
  6262. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6263. type: number
  6264. needhedgeratio:
  6265. description: 套保系数
  6266. type: number
  6267. pricedamount:
  6268. description: 已定价额(现货)
  6269. type: number
  6270. pricedamount2:
  6271. description: 已定价额(现货-基价额)
  6272. type: number
  6273. pricedqty:
  6274. description: 已定价量(现货)
  6275. type: number
  6276. reckondate:
  6277. description: 日照时期(yyyyMMdd)
  6278. type: string
  6279. relatedmiddlegoodsamount:
  6280. description: 已关联额(期货)
  6281. type: number
  6282. relatedmiddlegoodsqty:
  6283. description: 已关联量(套保品种)(期货)
  6284. type: number
  6285. spotcontractid:
  6286. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6287. type: string
  6288. todayavgfutuprice:
  6289. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6290. type: number
  6291. todayavgprice:
  6292. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6293. type: number
  6294. todayavgprice2:
  6295. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6296. type: number
  6297. todaypricedamount:
  6298. description: 今日定价额(现货)
  6299. type: number
  6300. todaypricedamount2:
  6301. description: 今日定价额(现货-基价额)
  6302. type: number
  6303. todaypricedqty:
  6304. description: 今日定价量(现货)
  6305. type: number
  6306. todayrelatedfutureqty:
  6307. description: 今日关联量(期货)
  6308. type: number
  6309. todayrelatedmiddlegoodsamount:
  6310. description: 今日关联额(期货)
  6311. type: number
  6312. todayrelatedmiddlegoodsqty:
  6313. description: 今日关联量(套保品-期货)
  6314. type: number
  6315. updatetime:
  6316. description: 更新时间
  6317. type: string
  6318. userid:
  6319. description: 合同所属用户id
  6320. type: integer
  6321. vatrate:
  6322. description: 增值税率
  6323. type: number
  6324. wrstandardcode:
  6325. description: 商品(品类) 代码
  6326. type: string
  6327. wrstandardid:
  6328. description: 现货商品ID
  6329. type: integer
  6330. wrstandardname:
  6331. description: 商品(品类) 名称
  6332. type: string
  6333. type: object
  6334. models.Ermcp3SellBuyContract:
  6335. properties:
  6336. accountid:
  6337. description: 期货账户id
  6338. type: string
  6339. accountname:
  6340. description: 账户名称
  6341. type: string
  6342. attachment:
  6343. description: 附件
  6344. type: string
  6345. audittime:
  6346. description: 审核时间
  6347. type: string
  6348. bizsubjectid:
  6349. description: 归属业务部门ID - SubjectID
  6350. type: integer
  6351. biztype:
  6352. description: 业务类型 1-套保 2-套利
  6353. type: integer
  6354. brandname:
  6355. description: 品牌名称
  6356. type: string
  6357. contracctstatus:
  6358. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6359. type: integer
  6360. contractmargin:
  6361. description: 合同保证金
  6362. type: number
  6363. contractno:
  6364. description: 合同编号
  6365. type: string
  6366. contracttype:
  6367. description: 合同类型 1-采购, -1-销售
  6368. type: integer
  6369. convertfactor:
  6370. description: 标仓系数(品类)
  6371. type: number
  6372. createtime:
  6373. description: 创建时间
  6374. type: string
  6375. currencyid:
  6376. description: 币种id
  6377. type: integer
  6378. currencyname:
  6379. description: 币种名称
  6380. type: string
  6381. daikaiamount:
  6382. description: 应收(开)票额
  6383. type: number
  6384. deliveryenddate:
  6385. description: 交割结束日
  6386. type: string
  6387. deliverygoodscode:
  6388. description: 现货品种代码
  6389. type: string
  6390. deliverygoodsid:
  6391. description: 现货商品ID
  6392. type: integer
  6393. deliverygoodsname:
  6394. description: 现货品种名称
  6395. type: string
  6396. deliverystartdate:
  6397. description: 交割开始日
  6398. type: string
  6399. enddate:
  6400. description: 点价结束日
  6401. type: string
  6402. enumdicname:
  6403. description: 单位名称
  6404. type: string
  6405. goodscode:
  6406. description: 点价商品代码
  6407. type: string
  6408. goodsgroupid:
  6409. description: 点价商品组id
  6410. type: integer
  6411. goodsid:
  6412. description: 点价商品ID
  6413. type: integer
  6414. goodsname:
  6415. description: 点价商品名称
  6416. type: string
  6417. invoiceamount:
  6418. description: 已开票额
  6419. type: number
  6420. loanamount:
  6421. description: 贷款总额=已定价额+调整金额
  6422. type: number
  6423. margin:
  6424. description: 保证金
  6425. type: number
  6426. meruserid:
  6427. description: 跟单员id
  6428. type: integer
  6429. meruserlogincode:
  6430. description: 跟单员登录代码
  6431. type: string
  6432. merusername:
  6433. description: 跟单员名称
  6434. type: string
  6435. nickname:
  6436. description: 账户昵称
  6437. type: string
  6438. orireckonrealqty:
  6439. description: 应交收量
  6440. type: number
  6441. payamount:
  6442. description: 已收付额(收款或付款)
  6443. type: number
  6444. preinvoiceamount:
  6445. description: 预收(开)票额
  6446. type: number
  6447. prepayamount:
  6448. description: 预收付额
  6449. type: number
  6450. price:
  6451. description: 价格
  6452. type: number
  6453. pricedamount:
  6454. description: 已定价额
  6455. type: number
  6456. pricedavg:
  6457. description: 已点均价
  6458. type: number
  6459. pricedqty:
  6460. description: 已定价量
  6461. type: number
  6462. pricemove:
  6463. description: 升贴水
  6464. type: number
  6465. pricetype:
  6466. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6467. type: integer
  6468. producttype:
  6469. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6470. type: integer
  6471. qty:
  6472. description: 合同量
  6473. type: number
  6474. reckonadjustamount:
  6475. description: 调整金额
  6476. type: number
  6477. reckonedamount:
  6478. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6479. type: number
  6480. reckonotheramount:
  6481. description: 其它费用
  6482. type: number
  6483. reckonrealqty:
  6484. description: 已交收量
  6485. type: number
  6486. remark:
  6487. description: 备注
  6488. type: string
  6489. saleuserid:
  6490. description: 业务员id
  6491. type: integer
  6492. saleuserlogincode:
  6493. description: 业务员登录代码
  6494. type: string
  6495. saleusername:
  6496. description: 业务员名称
  6497. type: string
  6498. spotcontractid:
  6499. description: 合同ID
  6500. type: string
  6501. spotgoodsbrandid:
  6502. description: 现货品牌ID(DGFactoryItem表的ID)
  6503. type: integer
  6504. spotgoodsdesc:
  6505. description: 商品型号(商品规格)
  6506. type: string
  6507. startdate:
  6508. description: 点价开始日
  6509. type: string
  6510. subjectid:
  6511. description: 交易主体ID
  6512. type: integer
  6513. subjectname:
  6514. description: 交易主体名称
  6515. type: string
  6516. totalamount:
  6517. description: 合计总额
  6518. type: number
  6519. tradeuserid:
  6520. description: 交易员id
  6521. type: integer
  6522. tradeuserlogincode:
  6523. description: 交易员登录代码
  6524. type: string
  6525. tradeusername:
  6526. description: 交易员名称
  6527. type: string
  6528. unpayamount:
  6529. description: 应收付款额(应支付或应收款)
  6530. type: number
  6531. unpricedqty:
  6532. description: 未定价量
  6533. type: number
  6534. unsureqty:
  6535. description: 未确定量
  6536. type: number
  6537. userid:
  6538. description: 机构ID
  6539. type: integer
  6540. vatrate:
  6541. description: 增值税率
  6542. type: number
  6543. wrstandardcode:
  6544. description: 品类代码
  6545. type: string
  6546. wrstandardid:
  6547. description: 品类ID
  6548. type: integer
  6549. wrstandardname:
  6550. description: 品类名称
  6551. type: string
  6552. type: object
  6553. models.Ermcp3SpotGoodsPrice:
  6554. properties:
  6555. areauserid:
  6556. description: 所属机构id
  6557. type: integer
  6558. brandname:
  6559. description: 品牌名称
  6560. type: string
  6561. currencyid:
  6562. description: 报价货币ID
  6563. type: integer
  6564. currencyname:
  6565. description: 币种名称
  6566. type: string
  6567. deliverygoodscode:
  6568. description: 现货商品代码
  6569. type: string
  6570. deliverygoodsid:
  6571. description: 现货商品id
  6572. type: integer
  6573. deliverygoodsname:
  6574. description: 现货商品名称
  6575. type: string
  6576. enumdicname:
  6577. description: 现货商品单位名称
  6578. type: string
  6579. gbenumdicname:
  6580. description: 品类单位名称
  6581. type: string
  6582. gmunitid:
  6583. description: 品类单位id
  6584. type: integer
  6585. isvalid:
  6586. description: 是否有效 - 0:无效 1:有效
  6587. type: integer
  6588. operateid:
  6589. description: 最后操作人
  6590. type: integer
  6591. operatesrc:
  6592. description: 最后操作来源 - 1:管理端 2:终端
  6593. type: integer
  6594. operatetime:
  6595. description: 最后操作时间
  6596. type: string
  6597. operatorname:
  6598. description: 操作人名称
  6599. type: string
  6600. spotgoodsbrandid:
  6601. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6602. type: integer
  6603. spotgoodsprice:
  6604. description: 现货价格
  6605. type: number
  6606. tradedate:
  6607. description: 交易日(yyyyMMdd)
  6608. type: string
  6609. unitid:
  6610. description: 现货商品单位id
  6611. type: integer
  6612. wrstandardcode:
  6613. description: 品类代码
  6614. type: string
  6615. wrstandardid:
  6616. description: 现货品类ID(通用则为0)
  6617. type: integer
  6618. wrstandardname:
  6619. description: 品类名称
  6620. type: string
  6621. type: object
  6622. models.Ermcp3SpotGoodsPriceLog:
  6623. properties:
  6624. areauserid:
  6625. description: 所属机构id
  6626. type: integer
  6627. brandname:
  6628. description: 品牌名称
  6629. type: string
  6630. currencyid:
  6631. description: 报价货币ID
  6632. type: integer
  6633. deliverygoodscode:
  6634. description: 现货商品代码
  6635. type: string
  6636. deliverygoodsid:
  6637. description: 现货商品id
  6638. type: integer
  6639. deliverygoodsname:
  6640. description: 现货商品名称
  6641. type: string
  6642. enumdicname:
  6643. description: 现货商品单位名称
  6644. type: string
  6645. gbenumdicname:
  6646. description: 品类单位名称
  6647. type: string
  6648. gmunitid:
  6649. description: 品类单位id
  6650. type: integer
  6651. logid:
  6652. description: 日志id
  6653. type: integer
  6654. operateid:
  6655. description: 最后操作人
  6656. type: integer
  6657. operatesrc:
  6658. description: 最后操作来源 - 1:管理端 2:终端
  6659. type: integer
  6660. operatetime:
  6661. description: 最后操作时间
  6662. type: string
  6663. operatorname:
  6664. description: 操作人名称
  6665. type: string
  6666. spotgoodsbrandid:
  6667. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6668. type: integer
  6669. spotgoodsprice:
  6670. description: 现货价格
  6671. type: number
  6672. tradedate:
  6673. description: 交易日(yyyyMMdd)
  6674. type: string
  6675. unitid:
  6676. description: 现货商品单位id
  6677. type: integer
  6678. wrstandardcode:
  6679. description: 品类代码
  6680. type: string
  6681. wrstandardid:
  6682. description: 现货品类ID(通用则为0)
  6683. type: integer
  6684. wrstandardname:
  6685. description: 品类名称
  6686. type: string
  6687. type: object
  6688. models.Ermcp3SubTaaccount:
  6689. properties:
  6690. accountid:
  6691. description: 资金账户ID
  6692. type: integer
  6693. parentaccountcode:
  6694. description: 所属根账号代码(母账号代码)
  6695. type: string
  6696. parentaccountid:
  6697. description: 所属根账号(母账号)
  6698. type: integer
  6699. taname:
  6700. description: 资金账号名称
  6701. type: string
  6702. tradestatus:
  6703. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6704. type: integer
  6705. username:
  6706. description: 交易用户
  6707. type: string
  6708. type: object
  6709. models.Ermcp3TaFutuReDataReport:
  6710. properties:
  6711. accountid:
  6712. description: 交易账户
  6713. type: integer
  6714. accountname:
  6715. description: 交易账号名称
  6716. type: string
  6717. agreeunit:
  6718. description: 商品合约单位
  6719. type: number
  6720. begindate:
  6721. description: 开始交易日
  6722. type: string
  6723. buyorsell:
  6724. description: 持仓方向
  6725. type: integer
  6726. charge:
  6727. description: 手续费
  6728. type: number
  6729. closeavgprice:
  6730. description: 平仓均价
  6731. type: number
  6732. closepl:
  6733. description: 平仓损益
  6734. type: number
  6735. currencyid:
  6736. description: 结算币种ID
  6737. type: integer
  6738. currencyname:
  6739. description: 币种名称
  6740. type: string
  6741. cycletime:
  6742. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6743. type: string
  6744. cycletype:
  6745. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6746. type: integer
  6747. enddate:
  6748. description: 结束交易日
  6749. type: string
  6750. enumdicname:
  6751. description: 单位名称
  6752. type: string
  6753. floatpl:
  6754. description: 浮动损益
  6755. type: number
  6756. goodscode:
  6757. description: 交易合约代码
  6758. type: string
  6759. goodsgroupid:
  6760. description: 交易品种
  6761. type: integer
  6762. goodsgroupname:
  6763. description: 交易品种名称
  6764. type: string
  6765. goodsgroupspotqty:
  6766. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6767. type: number
  6768. goodsid:
  6769. description: 交易合约
  6770. type: integer
  6771. goodsname:
  6772. description: 交易合约名称
  6773. type: string
  6774. goodunitid:
  6775. description: 交易合约单位id
  6776. type: integer
  6777. holdamount:
  6778. description: 期末持仓额
  6779. type: number
  6780. holdqty:
  6781. description: 期末持仓量
  6782. type: number
  6783. lastholdamount:
  6784. description: 当前持仓额
  6785. type: number
  6786. lastprice:
  6787. description: 最新价
  6788. type: number
  6789. middlegoodsid:
  6790. description: 套保品种id
  6791. type: integer
  6792. middlegoodsname:
  6793. description: 套保商品名称
  6794. type: string
  6795. middlegoodsqty:
  6796. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6797. type: number
  6798. middlgoodscode:
  6799. description: 套保商品代码
  6800. type: string
  6801. openamount:
  6802. description: 期末开仓额
  6803. type: number
  6804. openavgprice:
  6805. description: 开仓均价
  6806. type: number
  6807. oriholdamount:
  6808. description: 期初持仓额
  6809. type: number
  6810. oriholdqty:
  6811. description: 期初持仓量
  6812. type: number
  6813. oriopenamount:
  6814. description: 期初开仓额
  6815. type: number
  6816. outergroupcode:
  6817. description: 交易品种代码
  6818. type: string
  6819. qtydecimalplace:
  6820. description: 成交量小数位
  6821. type: integer
  6822. reckondate:
  6823. description: 日照时期(yyyyMMdd)
  6824. type: string
  6825. reckonholdamount:
  6826. description: 结算持仓额
  6827. type: number
  6828. reckonpl:
  6829. description: 结算损益
  6830. type: number
  6831. reckonpl2:
  6832. description: 结算逐笔盈亏
  6833. type: number
  6834. reckonprice:
  6835. description: 结算价
  6836. type: number
  6837. relateduserid:
  6838. description: 账户关联用户ID
  6839. type: integer
  6840. todaycloseamount:
  6841. description: 今平仓额
  6842. type: number
  6843. todaycloseqty:
  6844. description: 今平仓量
  6845. type: number
  6846. todaygoodsgroupspotqty:
  6847. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6848. type: number
  6849. todaymiddlegoodsqty:
  6850. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6851. type: number
  6852. todayopenamount:
  6853. description: 今开仓额
  6854. type: number
  6855. todayopenqty:
  6856. description: 今开仓量
  6857. type: number
  6858. userid:
  6859. description: 账户所属用户ID
  6860. type: integer
  6861. type: object
  6862. models.Ermcp3TradeLinkDetail:
  6863. properties:
  6864. accountid:
  6865. description: 资金账号
  6866. type: integer
  6867. agreeunit:
  6868. description: 合约乘数
  6869. type: number
  6870. areauserid:
  6871. description: 所属机构
  6872. type: string
  6873. bizsubjectid:
  6874. description: 归属业务部门ID - SubjectID
  6875. type: string
  6876. buyorsell:
  6877. description: 方向 - 0:买 1:卖
  6878. type: integer
  6879. channelbuildtype:
  6880. description: 委托单据类型 0:无 1:建仓 2:平仓
  6881. type: integer
  6882. contractno:
  6883. description: 现货编号 (合同编号)
  6884. type: string
  6885. convertratio:
  6886. description: 折算系数
  6887. type: number
  6888. createtime:
  6889. description: 关联时间 | 创建时间
  6890. type: string
  6891. creatorid:
  6892. description: 创建人ID
  6893. type: string
  6894. creatorsrc:
  6895. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6896. type: integer
  6897. enumdicname:
  6898. description: 单位名称
  6899. type: string
  6900. goodscode:
  6901. description: 合约代码
  6902. type: string
  6903. goodsgroupid:
  6904. description: 对冲品种ID[期货合约商品组ID]
  6905. type: integer
  6906. goodsid:
  6907. description: 商品ID
  6908. type: integer
  6909. goodsname:
  6910. description: 合约名称
  6911. type: string
  6912. hedgeflag:
  6913. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6914. type: integer
  6915. linkdetailid:
  6916. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6917. type: string
  6918. linkstatus:
  6919. description: 关联状态 - 1:成功 2:失败 3:解绑
  6920. type: integer
  6921. middlegoodscode:
  6922. description: 套保品种代码
  6923. type: string
  6924. middlegoodsid:
  6925. description: 套保品种ID
  6926. type: integer
  6927. middlegoodsname:
  6928. description: 套保品种名称
  6929. type: string
  6930. relatedlot:
  6931. description: 关联手数
  6932. type: number
  6933. relatedmode:
  6934. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6935. type: integer
  6936. relatedqty:
  6937. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6938. type: number
  6939. retcode:
  6940. description: 返回码
  6941. type: integer
  6942. saleuserid:
  6943. description: 业务员ID
  6944. type: string
  6945. spotcontractid:
  6946. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6947. type: string
  6948. taname:
  6949. description: 期货账户
  6950. type: string
  6951. tradedate:
  6952. description: 关联交易日(yyyyMMdd)
  6953. type: string
  6954. tradeid:
  6955. description: 期货订单号 | 内部成交单ID
  6956. type: string
  6957. tradelot:
  6958. description: 成交数量 | 成交手数
  6959. type: integer
  6960. tradeprice:
  6961. description: 成交价格
  6962. type: number
  6963. tradetime:
  6964. description: 期货成交时间
  6965. type: string
  6966. tradetradedate:
  6967. description: 成交交易日(yyyyMMdd)
  6968. type: string
  6969. username:
  6970. description: 用户名称
  6971. type: string
  6972. type: object
  6973. models.Ermcp3Wrstandard:
  6974. properties:
  6975. areauserid:
  6976. description: 所属机构
  6977. type: integer
  6978. cantrade:
  6979. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6980. type: integer
  6981. convertfactor:
  6982. description: 标仓系数
  6983. type: number
  6984. createtime:
  6985. description: 创建时间
  6986. type: string
  6987. creatorid:
  6988. description: 创建人
  6989. type: integer
  6990. deliverygoodsid:
  6991. description: 现货品种ID
  6992. type: integer
  6993. enumdicname:
  6994. description: 品类单位名称
  6995. type: string
  6996. isvalid:
  6997. description: 是否有效 0-无效(停用) 1-有效(正常)
  6998. type: integer
  6999. minivalue:
  7000. description: 最小变动值
  7001. type: integer
  7002. minivaluedp:
  7003. description: 最小变动值小数位
  7004. type: integer
  7005. realminivalue:
  7006. description: 实际最小变动值
  7007. type: integer
  7008. realminivaluedp:
  7009. description: 实际最小变动值小数位
  7010. type: integer
  7011. remark:
  7012. description: 备注
  7013. type: string
  7014. unitid:
  7015. description: 品类单位ID
  7016. type: integer
  7017. updatetime:
  7018. description: 更新时间
  7019. type: string
  7020. wrstandardcode:
  7021. description: 品类代码
  7022. type: string
  7023. wrstandardid:
  7024. description: 品类ID(SEQ_WRSTANDARD)
  7025. type: integer
  7026. wrstandardname:
  7027. description: 品类名称
  7028. type: string
  7029. type: object
  7030. models.ErmcpBizGroupEx:
  7031. properties:
  7032. acclist:
  7033. description: 账号列表
  7034. items:
  7035. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7036. type: array
  7037. bizgroupid:
  7038. description: 业务分组id
  7039. type: integer
  7040. biztype:
  7041. description: 业务类型 1-套保 2-套利
  7042. type: integer
  7043. wrlist:
  7044. description: 现货商品表
  7045. items:
  7046. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7047. type: array
  7048. type: object
  7049. models.ErmcpBizGroupSpotGoods:
  7050. properties:
  7051. areauserid:
  7052. description: 所属机构id
  7053. type: integer
  7054. bizgroupid:
  7055. description: 分组id
  7056. type: integer
  7057. biztype:
  7058. description: 业务类型 1-套保 2-套利
  7059. type: integer
  7060. deliverygoodscode:
  7061. description: 现货商品代码
  7062. type: string
  7063. deliverygoodsid:
  7064. description: 现货商品id
  7065. type: integer
  7066. deliverygoodsname:
  7067. description: 现货商品名称
  7068. type: string
  7069. unitid:
  7070. description: 现货商品单位id
  7071. type: integer
  7072. type: object
  7073. models.ErmcpBizGroupTaAccount:
  7074. properties:
  7075. accountid:
  7076. description: 账号id
  7077. type: integer
  7078. accountname:
  7079. description: 账号名称
  7080. type: string
  7081. areauserid:
  7082. description: 所属机构id
  7083. type: integer
  7084. bizgroupid:
  7085. description: 业务分组id
  7086. type: integer
  7087. ismain:
  7088. description: 是否主账号 1-是 0-否
  7089. type: integer
  7090. type: object
  7091. models.ErmcpDGFactoryItem:
  7092. properties:
  7093. areauserid:
  7094. description: 用户id
  7095. type: integer
  7096. deliverygoodsid:
  7097. description: 现货品种ID
  7098. type: integer
  7099. dgfactoryitemid:
  7100. description: 选择项ID(SEQ_DGFACTORYITEM)
  7101. type: integer
  7102. dgfactoryitemtypeid:
  7103. description: 要素项类型
  7104. type: integer
  7105. dgfactoryitemvalue:
  7106. description: 要素项值(类型为仓库时填写仓库名称)
  7107. type: string
  7108. isvalid:
  7109. description: 是否有效 - 0:无效 1:有效
  7110. type: integer
  7111. orderindex:
  7112. description: 顺序
  7113. type: integer
  7114. warehouseid:
  7115. description: 仓库ID(类型为仓库时填写)
  7116. type: integer
  7117. type: object
  7118. models.ErmcpDeliveryGoods:
  7119. properties:
  7120. agreeunit:
  7121. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7122. type: integer
  7123. areauserid:
  7124. description: 所属机构
  7125. type: integer
  7126. auditflag:
  7127. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7128. type: integer
  7129. categoryid:
  7130. description: 类别ID(SEQ_WRCATEGORY)
  7131. type: integer
  7132. deliverygoodscode:
  7133. description: 现货品种代码
  7134. type: string
  7135. deliverygoodsid:
  7136. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7137. type: integer
  7138. deliverygoodsname:
  7139. description: 现货品种名称
  7140. type: string
  7141. deliverygoodstype:
  7142. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7143. type: integer
  7144. dgstatus:
  7145. description: 品种状态 - 作废 - 0:未激活 1:正常
  7146. type: integer
  7147. enumdicname:
  7148. description: 现货品种单位名称
  7149. type: string
  7150. goodsunitid:
  7151. description: 现货品种单位ID
  7152. type: integer
  7153. isvalid:
  7154. description: 是否有效 - 0:无效 1:有效
  7155. type: integer
  7156. qtydecimalplace:
  7157. description: 成交量小数位
  7158. type: integer
  7159. remark:
  7160. description: 备注
  7161. type: string
  7162. standardqty:
  7163. description: 标准数量(库位数量) [标准品特有]
  7164. type: integer
  7165. standardqtyrange:
  7166. description: 标准数量偏差范围 [标准品特有]
  7167. type: integer
  7168. type: object
  7169. models.ErmcpFuturesCompany:
  7170. properties:
  7171. brokerid:
  7172. description: 经纪公司代码
  7173. type: string
  7174. channeladdress:
  7175. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7176. type: string
  7177. channelid:
  7178. description: 对冲渠道ID
  7179. type: string
  7180. createtime:
  7181. description: 创建时间
  7182. type: string
  7183. creatorid:
  7184. description: 创建人
  7185. type: string
  7186. fcid:
  7187. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7188. type: integer
  7189. fcname:
  7190. description: 期货公司名称
  7191. type: string
  7192. isvalid:
  7193. description: 是否有效 - 0:无效 1:有效
  7194. type: integer
  7195. mhpaddress:
  7196. description: MHP服务地址(IP:Port)
  7197. type: string
  7198. riskrulegroupid:
  7199. description: 风控规则组ID
  7200. type: string
  7201. tradefeetmpid:
  7202. description: 手续费模板ID[TradeConfigTmpType为2]
  7203. type: string
  7204. trademargintmpid:
  7205. description: 保证金模板ID [TradeConfigTmpType为1]
  7206. type: string
  7207. traderatetmpid:
  7208. description: 汇率模板ID[TradeConfigTmpType为3]
  7209. type: string
  7210. updatetime:
  7211. description: 更新时间
  7212. type: string
  7213. updatorid:
  7214. description: 更新人
  7215. type: string
  7216. type: object
  7217. models.ErmcpGGConvertCfg:
  7218. properties:
  7219. convertratio:
  7220. description: 折算系数
  7221. type: number
  7222. destgoodsgroupid:
  7223. description: 目标品种ID
  7224. type: integer
  7225. dstcode:
  7226. description: 目录品种代码
  7227. type: string
  7228. dstexchangecode:
  7229. description: 目标期货交易所
  7230. type: string
  7231. dstname:
  7232. description: 目标品种名称
  7233. type: string
  7234. dstunitid:
  7235. description: 目标品种单位ID
  7236. type: integer
  7237. dstunitidname:
  7238. description: 目标品种单位名称
  7239. type: string
  7240. modifytime:
  7241. description: 修改时间
  7242. type: string
  7243. srccode:
  7244. description: 源品种代码
  7245. type: string
  7246. srcexchangecode:
  7247. description: 源期货交易所
  7248. type: string
  7249. srcgoodsgroupid:
  7250. description: 源品种ID
  7251. type: integer
  7252. srcname:
  7253. description: 源品种名称
  7254. type: string
  7255. srcunitid:
  7256. description: 源品种单位ID
  7257. type: integer
  7258. srcunitidname:
  7259. description: 源品种单位名称
  7260. type: string
  7261. type: object
  7262. models.ErmcpGoods:
  7263. properties:
  7264. agreeunit:
  7265. description: 合约单位
  7266. type: number
  7267. areauserid:
  7268. description: 所属机构
  7269. type: integer
  7270. auditaccountid:
  7271. description: 审核操作员账号
  7272. type: integer
  7273. audittime:
  7274. description: 审核时间
  7275. type: string
  7276. cancelaccountid:
  7277. description: 注销操作员账号
  7278. type: integer
  7279. canceltime:
  7280. description: 注销时间
  7281. type: string
  7282. closepricemode:
  7283. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7284. type: integer
  7285. closepriceparam:
  7286. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7287. type: number
  7288. createtime:
  7289. description: 创建时间
  7290. type: string
  7291. creatorid:
  7292. description: 创建人
  7293. type: integer
  7294. currencyid:
  7295. description: 报价货币ID
  7296. type: integer
  7297. cutmode:
  7298. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7299. type: integer
  7300. decimalplace:
  7301. description: 报价小数位
  7302. type: integer
  7303. delistingdate:
  7304. description: 商品退市时间(状态:退市) -- 已作废
  7305. type: string
  7306. delistingmode:
  7307. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7308. type: integer
  7309. deliveryflag:
  7310. description: 交割标志 - 0:不可交割 1:可交割
  7311. type: integer
  7312. enumdicname:
  7313. description: 单位名称
  7314. type: string
  7315. forceclosemode:
  7316. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7317. type: integer
  7318. forceclosevalue:
  7319. description: 定期强平参数 [收益权]
  7320. type: integer
  7321. goodscode:
  7322. description: 商品代码(内部)
  7323. type: string
  7324. goodscurrencyid:
  7325. description: 合约货币ID
  7326. type: integer
  7327. goodsgroupid:
  7328. description: 所属商品组ID
  7329. type: integer
  7330. goodsid:
  7331. description: 商品ID(自增ID SEQ_GOODS)
  7332. type: integer
  7333. goodsname:
  7334. description: 商品名称
  7335. type: string
  7336. goodsquotetype:
  7337. description: '合约报价类型: 1-直接报价 2-间接报价'
  7338. type: integer
  7339. goodsstatus:
  7340. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7341. type: integer
  7342. goodstradetype:
  7343. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7344. type: integer
  7345. goodunitid:
  7346. description: 报价单位ID
  7347. type: integer
  7348. hasquoter:
  7349. description: 是否有报价商 - 0:无报价商 1:有报价商
  7350. type: integer
  7351. hqprotecttime:
  7352. description: 行情保护时间(秒)
  7353. type: integer
  7354. innerdealmode:
  7355. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7356. type: integer
  7357. isbuylimited:
  7358. description: 是否限制建仓量 - 0:不限制 1:限制
  7359. type: integer
  7360. isvisible:
  7361. description: 游客是否可见 - 0:不可见 1:可见
  7362. type: integer
  7363. lasttradedate:
  7364. description: 最后交易日期(状态:待退市)
  7365. type: string
  7366. listingdate:
  7367. description: 交易开始日期
  7368. type: string
  7369. marketid:
  7370. description: 所属市场ID
  7371. type: integer
  7372. modifierid:
  7373. description: 修改人
  7374. type: integer
  7375. modifystatus:
  7376. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7377. type: integer
  7378. modifytime:
  7379. description: 修改时间
  7380. type: string
  7381. outerdealmode:
  7382. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7383. type: integer
  7384. outgoodscode:
  7385. description: 商品代码(外部)
  7386. type: string
  7387. pictureurl:
  7388. description: 商品图片
  7389. type: string
  7390. qtydecimalplace:
  7391. description: 成交量小数位
  7392. type: integer
  7393. quotegear:
  7394. description: 行情档位(1-10)
  7395. type: integer
  7396. quoteminunit:
  7397. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7398. type: integer
  7399. quoteshowtype:
  7400. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7401. type: integer
  7402. quoteshowtypeinterval:
  7403. description: 行情报价间隔时间(秒)(成交价时为0)
  7404. type: integer
  7405. relatedgoodsid:
  7406. description: 关联参考商品ID
  7407. type: integer
  7408. remark:
  7409. description: 备注
  7410. type: string
  7411. trademode:
  7412. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7413. type: integer
  7414. required:
  7415. - goodscode
  7416. - goodsid
  7417. - goodsname
  7418. - marketid
  7419. type: object
  7420. models.ErmcpGoodsBrand:
  7421. properties:
  7422. areauserid:
  7423. description: 所属机构
  7424. type: integer
  7425. brandid:
  7426. description: BrandID(SEQ_SPOTGOODSBRAND)
  7427. type: integer
  7428. brandname:
  7429. description: 品牌名称
  7430. type: string
  7431. createtime:
  7432. description: 创建时间
  7433. type: string
  7434. creatorid:
  7435. description: 创建人
  7436. type: integer
  7437. creatorsrc:
  7438. description: 创建人来源 - 1:管理端 2:终端
  7439. type: integer
  7440. deliverygoodsid:
  7441. description: 现货品种ID
  7442. type: integer
  7443. isvalid:
  7444. description: 是否有效 - 0:无效 1:有效
  7445. type: integer
  7446. updatetime:
  7447. description: 更新时间
  7448. type: string
  7449. updatorid:
  7450. description: 更新人
  7451. type: integer
  7452. updatorsrc:
  7453. description: 更新人来源 - 1:管理端 2:终端
  7454. type: integer
  7455. wrstandardid:
  7456. description: 现货商品ID
  7457. type: integer
  7458. type: object
  7459. models.ErmcpGoodsModel:
  7460. properties:
  7461. areauserid:
  7462. description: 所属机构
  7463. type: integer
  7464. convertfactor:
  7465. description: 标仓系数
  7466. type: number
  7467. createtime:
  7468. description: 创建时间
  7469. type: string
  7470. creatorid:
  7471. description: 创建人
  7472. type: integer
  7473. creatorsrc:
  7474. description: 创建人来源 - 1:管理端 2:终端
  7475. type: integer
  7476. deliverygoodsid:
  7477. description: 现货品种ID
  7478. type: integer
  7479. isvalid:
  7480. description: 是否有效 - 0:无效 1:有效
  7481. type: integer
  7482. modelid:
  7483. description: ModelID(SEQ_SPOTGOODSMODEL)
  7484. type: integer
  7485. modelname:
  7486. description: 型号名称
  7487. type: string
  7488. updatetime:
  7489. description: 更新时间
  7490. type: string
  7491. updatorid:
  7492. description: 更新人
  7493. type: integer
  7494. updatorsrc:
  7495. description: 更新人来源 - 1:管理端 2:终端
  7496. type: integer
  7497. wrstandardid:
  7498. description: 现货商品ID
  7499. type: integer
  7500. type: object
  7501. models.ErmcpHisExposure:
  7502. properties:
  7503. needhedgeexposoure:
  7504. description: 应套保敞口
  7505. type: number
  7506. reckondate:
  7507. description: 日照时期(yyyyMMdd)
  7508. type: string
  7509. totalexposure:
  7510. description: 总敞口
  7511. type: number
  7512. type: object
  7513. models.ErmcpLoginTaAccount:
  7514. properties:
  7515. accountid:
  7516. description: 账号id
  7517. type: integer
  7518. accountname:
  7519. description: 账号名称
  7520. type: string
  7521. type: object
  7522. models.ErmcpLoginUser:
  7523. properties:
  7524. acclist:
  7525. description: 关联资金账号
  7526. items:
  7527. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7528. type: array
  7529. accountname:
  7530. description: 用户名称
  7531. type: string
  7532. clientroleid:
  7533. description: 角色id(usertype=2)
  7534. type: integer
  7535. createtime:
  7536. description: 创建时间
  7537. type: string
  7538. logincode:
  7539. description: 登录代码
  7540. type: string
  7541. loginid:
  7542. description: 登录id(LOGINID)
  7543. type: integer
  7544. loginname:
  7545. description: 登录名称(loginaccount表中的accountname字段)
  7546. type: string
  7547. loginstatus:
  7548. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7549. type: integer
  7550. memberuserid:
  7551. description: 所属会员id
  7552. type: integer
  7553. mobile:
  7554. description: 手机号
  7555. type: string
  7556. modifytime:
  7557. description: 修改时间
  7558. type: string
  7559. password:
  7560. description: 密码(不可解密)
  7561. type: string
  7562. rolename:
  7563. description: 角色名称
  7564. type: string
  7565. rolestatus:
  7566. description: 角色状态 1-启用 2-停用
  7567. type: integer
  7568. roletype:
  7569. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7570. type: string
  7571. userid:
  7572. description: 用户id
  7573. type: integer
  7574. usertype:
  7575. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7576. type: integer
  7577. type: object
  7578. models.ErmcpLoginUserEx:
  7579. properties:
  7580. accountstatus:
  7581. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7582. type: integer
  7583. mobile:
  7584. description: 手机号
  7585. type: string
  7586. querytype:
  7587. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7588. type: integer
  7589. roleid:
  7590. description: 角色id(交易账户->用户id)
  7591. type: integer
  7592. rolename:
  7593. description: 角色名称(交易账户->用户名称)
  7594. type: string
  7595. userlist:
  7596. description: 用户列表
  7597. items:
  7598. $ref: '#/definitions/models.ErmcpLoginUser'
  7599. type: array
  7600. usertype:
  7601. description: 用户类型 2-机构 7-企业成员(云平台)
  7602. type: integer
  7603. type: object
  7604. models.ErmcpMiddleGoodsModel:
  7605. properties:
  7606. areauserid:
  7607. description: 机构用户ID
  7608. type: integer
  7609. createtime:
  7610. description: 修改时间
  7611. type: string
  7612. enumdicname:
  7613. description: 单位名称
  7614. type: string
  7615. evaluateratio:
  7616. description: 估价系数
  7617. type: number
  7618. goodsgroupid:
  7619. description: 关联期货品种ID
  7620. type: integer
  7621. goodsunitid:
  7622. description: 单位ID
  7623. type: integer
  7624. isvalid:
  7625. description: 状态 0-无效(停用) 1-有效(正常)
  7626. type: integer
  7627. middlegoodscode:
  7628. description: 套保品种代码
  7629. type: string
  7630. middlegoodsid:
  7631. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7632. type: integer
  7633. middlegoodsname:
  7634. description: 套保品种名称
  7635. type: string
  7636. modifytime:
  7637. description: 修改时间
  7638. type: string
  7639. needarbitrageratio:
  7640. description: 套利比例
  7641. type: number
  7642. needhedgeratio:
  7643. description: 套保比率
  7644. type: number
  7645. qtydecimalplace:
  7646. description: 数量小数位
  7647. type: integer
  7648. relatedgoodsid:
  7649. description: 关联交易商品ID
  7650. type: integer
  7651. relatedgoodstype:
  7652. description: 关联商品类型 - 1:期货合约 2:现货品种
  7653. type: integer
  7654. remark:
  7655. description: 备注
  7656. type: string
  7657. type: object
  7658. models.ErmcpMiddlegoodsRelateGoods:
  7659. properties:
  7660. agreeunit:
  7661. description: 合约乘数
  7662. type: number
  7663. convertratio:
  7664. description: 折算系数
  7665. type: number
  7666. enumdicname:
  7667. description: 单位名称(交易商品)
  7668. type: string
  7669. goodscode:
  7670. description: 交易商品代码
  7671. type: string
  7672. goodsgroupid:
  7673. description: 交易品种id
  7674. type: integer
  7675. goodsid:
  7676. description: 商品Id
  7677. type: integer
  7678. goodsname:
  7679. description: 交易商品名称
  7680. type: string
  7681. goodunitid:
  7682. description: 交易商品单位id
  7683. type: integer
  7684. middlegoodsid:
  7685. description: 套保商品id
  7686. type: integer
  7687. middlegoodsname:
  7688. description: 套保商品名称
  7689. type: string
  7690. middlegoodsswcode:
  7691. description: 套保商品代码
  7692. type: string
  7693. needarbitrageratio:
  7694. description: 应套利比例
  7695. type: number
  7696. needhedgeratio:
  7697. description: 应套保比例
  7698. type: number
  7699. type: object
  7700. models.ErmcpRole:
  7701. properties:
  7702. areauserid:
  7703. description: 所属机构
  7704. type: integer
  7705. autoid:
  7706. description: 角色ID(自增ID)
  7707. type: integer
  7708. modifierid:
  7709. description: 修改人(创建人)
  7710. type: integer
  7711. modifiername:
  7712. description: 修改人名称
  7713. type: string
  7714. modifytime:
  7715. description: 修改时间(创建时间)
  7716. type: string
  7717. rolename:
  7718. description: 角色名称
  7719. type: string
  7720. rolestatus:
  7721. description: 角色状态 - 1:启用 2:停用
  7722. type: integer
  7723. roletype:
  7724. description: 角色类型 - 1- 管理端 2- 交易端
  7725. type: integer
  7726. type: object
  7727. models.ErmcpRoleMenu:
  7728. properties:
  7729. iconame:
  7730. description: 菜单图标
  7731. type: string
  7732. ishadrole:
  7733. description: 是否有权限
  7734. type: boolean
  7735. menutype:
  7736. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7737. type: integer
  7738. parentcode:
  7739. description: 上级资源代码
  7740. type: string
  7741. remark:
  7742. description: 菜单备注
  7743. type: string
  7744. resourcecode:
  7745. description: 菜单代码
  7746. type: string
  7747. resourcelevel:
  7748. description: 级别
  7749. type: integer
  7750. resourcename:
  7751. description: 菜单名称
  7752. type: string
  7753. roleid:
  7754. description: 角色id
  7755. type: integer
  7756. sort:
  7757. description: 排序
  7758. type: integer
  7759. url:
  7760. description: URL
  7761. type: string
  7762. userid:
  7763. description: 用户id
  7764. type: integer
  7765. type: object
  7766. models.ErmcpRoleMenuEx:
  7767. properties:
  7768. menu:
  7769. $ref: '#/definitions/models.ErmcpRoleMenu'
  7770. description: 父级菜单
  7771. subMenu:
  7772. description: 子级菜单
  7773. items:
  7774. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7775. type: array
  7776. type: object
  7777. models.ErmcpTaAccount:
  7778. properties:
  7779. accountid:
  7780. description: 账户id
  7781. type: integer
  7782. accountname:
  7783. description: 账户名称
  7784. type: string
  7785. currencyid:
  7786. description: 币种id
  7787. type: integer
  7788. hedgeaccountcode:
  7789. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7790. type: string
  7791. ismain:
  7792. description: 是否主账户 0-否 1-是
  7793. type: integer
  7794. parentaccountid:
  7795. description: 父账户id
  7796. type: integer
  7797. relateduserid:
  7798. description: 关联userid
  7799. type: integer
  7800. tradefeetmpid:
  7801. description: 手续费模板id
  7802. type: integer
  7803. tradefeetmpname:
  7804. description: 手续费模板名称
  7805. type: string
  7806. trademargintmpid:
  7807. description: 保证金模板id
  7808. type: integer
  7809. trademargintmpname:
  7810. description: 保证金模板名称
  7811. type: string
  7812. traderatetmpid:
  7813. description: 汇率模板id
  7814. type: integer
  7815. traderatetmpname:
  7816. description: 汇率模板名称
  7817. type: string
  7818. tradestatus:
  7819. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7820. type: integer
  7821. userid:
  7822. description: 用户id
  7823. type: integer
  7824. type: object
  7825. models.ErmcpTaAccountEx:
  7826. properties:
  7827. mainAcc:
  7828. $ref: '#/definitions/models.ErmcpTaAccountM'
  7829. description: 主账号
  7830. subacclist:
  7831. description: 子账号列表
  7832. items:
  7833. $ref: '#/definitions/models.ErmcpTaAccount'
  7834. type: array
  7835. type: object
  7836. models.ErmcpTaAccountInfo:
  7837. properties:
  7838. accountid:
  7839. description: 资金账户ID
  7840. type: integer
  7841. accountname:
  7842. description: 账户名称
  7843. type: string
  7844. balance:
  7845. description: 期初余额
  7846. type: number
  7847. capitalbalance:
  7848. description: 本金余额[外部子账户实际出入金余额]
  7849. type: number
  7850. closepl:
  7851. description: 今日平仓盈亏
  7852. type: number
  7853. creditdecrease:
  7854. description: 今日授信减少
  7855. type: number
  7856. creditincrease:
  7857. description: 今日授信增加
  7858. type: number
  7859. curdebt:
  7860. description: 期末欠款
  7861. type: number
  7862. currencyid:
  7863. description: 货币ID
  7864. type: integer
  7865. currentbalance:
  7866. description: 期末余额
  7867. type: number
  7868. freezecharge:
  7869. description: 手续费冻结
  7870. type: number
  7871. freezemargin:
  7872. description: 冻结保证金
  7873. type: number
  7874. fromaccountid:
  7875. description: 所属上级账户
  7876. type: integer
  7877. inamount:
  7878. description: 今日入金金额(包括三方入金)
  7879. type: number
  7880. ismain:
  7881. description: 是否母账号 0:不是母账户 1:是母账户
  7882. type: integer
  7883. mortgagecredit:
  7884. description: 授信金额
  7885. type: number
  7886. oridebt:
  7887. description: 期初欠款
  7888. type: number
  7889. orifreezecharge:
  7890. description: 期初手续费冻结
  7891. type: number
  7892. orifreezemargin:
  7893. description: 期初冻结保证金
  7894. type: number
  7895. orimortgagecredit:
  7896. description: 期初授信金额
  7897. type: number
  7898. oriothercredit:
  7899. description: 期初其它授信金额
  7900. type: number
  7901. oriotherfreezemargin:
  7902. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7903. type: number
  7904. orioutamountfreeze:
  7905. description: 期初出金冻结
  7906. type: number
  7907. oriusedmargin:
  7908. description: 期初占用保证金
  7909. type: number
  7910. othercredit:
  7911. description: 其它授信金额
  7912. type: number
  7913. othercreditdecrease:
  7914. description: 今日其它授信减少
  7915. type: number
  7916. othercreditincrease:
  7917. description: 今日其它授信增加
  7918. type: number
  7919. otherfreezemargin:
  7920. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7921. type: number
  7922. outamount:
  7923. description: 今日出金金额(包括三方出金)
  7924. type: number
  7925. outamountfreeze:
  7926. description: 出金冻结
  7927. type: number
  7928. outthreshold:
  7929. description: 出金阈值
  7930. type: number
  7931. parentaccountid:
  7932. description: 所属根账号
  7933. type: integer
  7934. paycharge:
  7935. description: 今日手续费支出
  7936. type: number
  7937. relateduserid:
  7938. description: 关联用户
  7939. type: integer
  7940. signstatus:
  7941. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7942. type: integer
  7943. sublevelpath:
  7944. description: 账号层级路径(逗号分隔,首尾加逗号)
  7945. type: string
  7946. taaccounttype:
  7947. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7948. type: integer
  7949. thirdinamount:
  7950. description: 今日三方入金
  7951. type: number
  7952. thirdoutamount:
  7953. description: 今日三方出金
  7954. type: number
  7955. tradestatus:
  7956. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7957. type: integer
  7958. transferamount:
  7959. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7960. type: number
  7961. usedmargin:
  7962. description: 占用保证金
  7963. type: number
  7964. userid:
  7965. description: 用户ID
  7966. type: integer
  7967. type: object
  7968. models.ErmcpTaAccountM:
  7969. properties:
  7970. accountid:
  7971. description: 账户id
  7972. type: integer
  7973. accountname:
  7974. description: 账户名称
  7975. type: string
  7976. currencyid:
  7977. description: 币种id
  7978. type: integer
  7979. fcid:
  7980. description: 期货公司id
  7981. type: integer
  7982. fcname:
  7983. description: 期货公司代码
  7984. type: string
  7985. hedgeaccountcode:
  7986. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7987. type: string
  7988. ismain:
  7989. description: 是否主账户 0-否 1-是
  7990. type: integer
  7991. parentaccountid:
  7992. description: 父账户id
  7993. type: integer
  7994. relateduserid:
  7995. description: 关联userid
  7996. type: integer
  7997. tradefeetmpid:
  7998. description: 手续费模板id
  7999. type: integer
  8000. tradefeetmpname:
  8001. description: 手续费模板名称
  8002. type: string
  8003. trademargintmpid:
  8004. description: 保证金模板id
  8005. type: integer
  8006. trademargintmpname:
  8007. description: 保证金模板名称
  8008. type: string
  8009. traderatetmpid:
  8010. description: 汇率模板id
  8011. type: integer
  8012. traderatetmpname:
  8013. description: 汇率模板名称
  8014. type: string
  8015. tradestatus:
  8016. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8017. type: integer
  8018. userid:
  8019. description: 用户id
  8020. type: integer
  8021. type: object
  8022. models.ErmcpTradeConfigTMP:
  8023. properties:
  8024. areauserid:
  8025. description: 所属机构
  8026. type: integer
  8027. basiccurrencyid:
  8028. description: 基本币种ID[汇率] - 目标币种
  8029. type: integer
  8030. mainaccountid:
  8031. description: 主账户ID
  8032. type: integer
  8033. modifierid:
  8034. description: 修改人
  8035. type: integer
  8036. remark:
  8037. description: 备注
  8038. type: string
  8039. tradeconfigtmpid:
  8040. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8041. type: integer
  8042. tradeconfigtmpname:
  8043. description: 交易配置模板名称
  8044. type: string
  8045. tradeconfigtmptype:
  8046. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8047. type: integer
  8048. updatetime:
  8049. description: 更新时间
  8050. type: string
  8051. type: object
  8052. models.Externalexchange:
  8053. properties:
  8054. autoid:
  8055. description: AutoID - SEQ_EXTERNALEXCHANGE
  8056. type: integer
  8057. exchangefullname:
  8058. description: 外部交易所全称
  8059. type: string
  8060. exexchangecode:
  8061. description: 外部交易所代码
  8062. type: string
  8063. exexchangename:
  8064. description: 外部交易所名称(简称)
  8065. type: string
  8066. ismarketprice:
  8067. description: 是否支持市价 - 0:不支持 1:支持
  8068. type: integer
  8069. quotegear:
  8070. description: 行情档位(1-10)
  8071. type: integer
  8072. showbrokerflag:
  8073. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8074. type: integer
  8075. updatetime:
  8076. description: 更新时间
  8077. type: string
  8078. required:
  8079. - autoid
  8080. type: object
  8081. models.Funcmenulist:
  8082. properties:
  8083. iconame:
  8084. description: 菜单图标
  8085. type: string
  8086. menutype:
  8087. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8088. type: integer
  8089. parentcode:
  8090. description: 上级资源代码
  8091. type: string
  8092. remark:
  8093. description: 备注
  8094. type: string
  8095. resourcecode:
  8096. description: 资源代码
  8097. type: string
  8098. resourcelevel:
  8099. description: 级别 1-一级 2-二级 3-三级 4-四级
  8100. type: integer
  8101. resourcename:
  8102. description: 资源名
  8103. type: string
  8104. sort:
  8105. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8106. type: integer
  8107. url:
  8108. description: URL
  8109. type: string
  8110. required:
  8111. - resourcecode
  8112. type: object
  8113. models.Goods:
  8114. properties:
  8115. agreeunit:
  8116. description: 合约单位
  8117. type: number
  8118. areauserid:
  8119. description: 所属机构
  8120. type: integer
  8121. auditaccountid:
  8122. description: 审核操作员账号
  8123. type: integer
  8124. audittime:
  8125. description: 审核时间
  8126. type: string
  8127. cancelaccountid:
  8128. description: 注销操作员账号
  8129. type: integer
  8130. canceltime:
  8131. description: 注销时间
  8132. type: string
  8133. closepricemode:
  8134. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8135. type: integer
  8136. closepriceparam:
  8137. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8138. type: number
  8139. createtime:
  8140. description: 创建时间
  8141. type: string
  8142. creatorid:
  8143. description: 创建人
  8144. type: integer
  8145. currencyid:
  8146. description: 报价货币ID
  8147. type: integer
  8148. cutmode:
  8149. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8150. type: integer
  8151. decimalplace:
  8152. description: 报价小数位
  8153. type: integer
  8154. delistingdate:
  8155. description: 商品退市时间(状态:退市) -- 已作废
  8156. type: string
  8157. delistingmode:
  8158. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8159. type: integer
  8160. deliveryflag:
  8161. description: 交割标志 - 0:不可交割 1:可交割
  8162. type: integer
  8163. forceclosemode:
  8164. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8165. type: integer
  8166. forceclosevalue:
  8167. description: 定期强平参数 [收益权]
  8168. type: integer
  8169. goodscode:
  8170. description: 商品代码(内部)
  8171. type: string
  8172. goodscurrencyid:
  8173. description: 合约货币ID
  8174. type: integer
  8175. goodsgroupid:
  8176. description: 所属商品组ID
  8177. type: integer
  8178. goodsid:
  8179. description: 商品ID(自增ID SEQ_GOODS)
  8180. type: integer
  8181. goodsname:
  8182. description: 商品名称
  8183. type: string
  8184. goodsquotetype:
  8185. description: '合约报价类型: 1-直接报价 2-间接报价'
  8186. type: integer
  8187. goodsstatus:
  8188. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8189. type: integer
  8190. goodstradetype:
  8191. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8192. type: integer
  8193. goodunitid:
  8194. description: 报价单位ID
  8195. type: integer
  8196. hasquoter:
  8197. description: 是否有报价商 - 0:无报价商 1:有报价商
  8198. type: integer
  8199. hqprotecttime:
  8200. description: 行情保护时间(秒)
  8201. type: integer
  8202. innerdealmode:
  8203. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8204. type: integer
  8205. isbuylimited:
  8206. description: 是否限制建仓量 - 0:不限制 1:限制
  8207. type: integer
  8208. isvisible:
  8209. description: 游客是否可见 - 0:不可见 1:可见
  8210. type: integer
  8211. lasttradedate:
  8212. description: 最后交易日期(状态:待退市)
  8213. type: string
  8214. listingdate:
  8215. description: 交易开始日期
  8216. type: string
  8217. marketid:
  8218. description: 所属市场ID
  8219. type: integer
  8220. modifierid:
  8221. description: 修改人
  8222. type: integer
  8223. modifystatus:
  8224. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8225. type: integer
  8226. modifytime:
  8227. description: 修改时间
  8228. type: string
  8229. outerdealmode:
  8230. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8231. type: integer
  8232. outgoodscode:
  8233. description: 商品代码(外部)
  8234. type: string
  8235. pictureurl:
  8236. description: 商品图片
  8237. type: string
  8238. qtydecimalplace:
  8239. description: 成交量小数位
  8240. type: integer
  8241. quotegear:
  8242. description: 行情档位(1-10)
  8243. type: integer
  8244. quoteminunit:
  8245. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8246. type: integer
  8247. quoteshowtype:
  8248. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8249. type: integer
  8250. quoteshowtypeinterval:
  8251. description: 行情报价间隔时间(秒)(成交价时为0)
  8252. type: integer
  8253. remark:
  8254. description: 备注
  8255. type: string
  8256. required:
  8257. - goodscode
  8258. - goodsid
  8259. - goodsname
  8260. - marketid
  8261. type: object
  8262. models.GoodsIDAndName:
  8263. properties:
  8264. goodscode:
  8265. description: 商品代码(内部)
  8266. type: string
  8267. goodsid:
  8268. description: 商品ID(自增ID SEQ_GOODS)
  8269. type: integer
  8270. goodsname:
  8271. description: 商品名称
  8272. type: string
  8273. marketid:
  8274. description: 所属市场ID
  8275. type: integer
  8276. required:
  8277. - goodscode
  8278. - goodsid
  8279. - goodsname
  8280. - marketid
  8281. type: object
  8282. models.Goodsgroup:
  8283. properties:
  8284. agreeunit:
  8285. description: 合约单位
  8286. type: number
  8287. canshort:
  8288. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8289. type: integer
  8290. closepricemode:
  8291. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8292. type: integer
  8293. closepriceparam:
  8294. description: 强平最新价浮动比例 - 方式为2时使用
  8295. type: number
  8296. createtime:
  8297. description: 创建时间
  8298. type: string
  8299. creatorid:
  8300. description: 创建人
  8301. type: integer
  8302. currencyid:
  8303. description: 报价货币ID
  8304. type: integer
  8305. decimalplace:
  8306. description: 报价小数位
  8307. type: integer
  8308. exercisetype:
  8309. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8310. type: integer
  8311. exexchangeid:
  8312. description: 外部交易所ID[通道交易]
  8313. type: integer
  8314. goodsgroupid:
  8315. description: 商品组ID(自增ID)
  8316. type: integer
  8317. goodsgroupname:
  8318. description: 商品组名称
  8319. type: string
  8320. goodsgroupstatus:
  8321. description: 商品组状态 - 1:正常 2:注销
  8322. type: integer
  8323. goodunitid:
  8324. description: 报价单位ID
  8325. type: integer
  8326. innerdealmode:
  8327. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8328. type: integer
  8329. isbuylimited:
  8330. description: 是否限制建仓量 - 0:不限制 1:限制
  8331. type: integer
  8332. marketid:
  8333. description: 所属市场ID
  8334. type: integer
  8335. modifierid:
  8336. description: 修改人
  8337. type: integer
  8338. modifytime:
  8339. description: 修改时间
  8340. type: string
  8341. outerdealmode:
  8342. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8343. type: integer
  8344. outergroupcode:
  8345. description: 外部商品组代码[通道交易]
  8346. type: string
  8347. premiumdecimalplace:
  8348. description: 权利金小数位[场外期权]
  8349. type: integer
  8350. premiumspreadalgorithm:
  8351. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8352. type: integer
  8353. premiumspreadvalue:
  8354. description: 权利金点差值[场外期权]
  8355. type: number
  8356. qtydecimalplace:
  8357. description: 成交量小数位
  8358. type: integer
  8359. quotegear:
  8360. description: 行情档位(1-10)
  8361. type: integer
  8362. quoteminunit:
  8363. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8364. type: integer
  8365. quoterid:
  8366. description: 报价商ID[场外期权]
  8367. type: integer
  8368. quotesourcegroupid:
  8369. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8370. type: integer
  8371. syncgoodsqty:
  8372. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8373. type: integer
  8374. required:
  8375. - goodsgroupid
  8376. - goodsgroupname
  8377. - goodsgroupstatus
  8378. - marketid
  8379. type: object
  8380. models.Goodssortbypreposition:
  8381. properties:
  8382. goodscode:
  8383. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8384. type: string
  8385. goodsgroupcode:
  8386. description: 品种代码
  8387. type: string
  8388. prepositionqty:
  8389. description: 昨持仓量
  8390. type: integer
  8391. sortindex:
  8392. description: 排序
  8393. type: integer
  8394. tradedate:
  8395. description: 交易日
  8396. type: string
  8397. updatetime:
  8398. description: 更新时间
  8399. type: string
  8400. required:
  8401. - goodscode
  8402. - tradedate
  8403. type: object
  8404. models.Hedgeinnerholderdetail:
  8405. properties:
  8406. accountid:
  8407. description: 账号ID
  8408. type: integer
  8409. buyorsell:
  8410. description: 方向 - 0:买 1:卖
  8411. type: integer
  8412. freezeqty:
  8413. description: 冻结数量 - 按单平使用
  8414. type: integer
  8415. goodsid:
  8416. description: 商品ID
  8417. type: integer
  8418. holderamount:
  8419. description: 持仓金额 [商品币种]
  8420. type: number
  8421. holderdays:
  8422. description: 剩余冻结天数
  8423. type: integer
  8424. holderprice:
  8425. description: 持仓价格
  8426. type: number
  8427. holderqty:
  8428. description: 持仓数量
  8429. type: integer
  8430. marketid:
  8431. description: 市场ID
  8432. type: integer
  8433. openprice:
  8434. description: 建仓价格
  8435. type: number
  8436. openqty:
  8437. description: 建仓数量
  8438. type: integer
  8439. parentaccountid:
  8440. description: 所属母账户
  8441. type: integer
  8442. releaseamount:
  8443. description: 释放持仓金额[商品币种]
  8444. type: number
  8445. tradeamount:
  8446. description: 成交金额[账户]
  8447. type: number
  8448. tradedate:
  8449. description: 交易日(yyyyMMdd)
  8450. type: string
  8451. tradeid:
  8452. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8453. type: string
  8454. tradetime:
  8455. description: 交易时间
  8456. type: string
  8457. required:
  8458. - buyorsell
  8459. - tradeid
  8460. type: object
  8461. models.Hedgemarketopenlog:
  8462. properties:
  8463. accountid:
  8464. description: 资金账号[外部母账户]
  8465. type: integer
  8466. fcname:
  8467. description: 期货公司名称
  8468. type: string
  8469. handlestatus:
  8470. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8471. type: integer
  8472. marketid:
  8473. description: 市场ID
  8474. type: integer
  8475. status:
  8476. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8477. type: integer
  8478. tradedate:
  8479. description: 交易日(yyyyMMdd)
  8480. type: string
  8481. updatetime:
  8482. description: 更新时间
  8483. type: string
  8484. required:
  8485. - accountid
  8486. type: object
  8487. models.HsbyBuyMyPayOrder:
  8488. properties:
  8489. agreeunit:
  8490. description: 合约单位
  8491. type: number
  8492. buyaccountid:
  8493. description: 买方账号ID[报价币种]
  8494. type: integer
  8495. buyorderid:
  8496. description: 买方委托单号
  8497. type: string
  8498. createtime:
  8499. description: 创建时间
  8500. type: string
  8501. currencysign:
  8502. description: 货币符号
  8503. type: string
  8504. decimalplace:
  8505. description: 报价小数位
  8506. type: integer
  8507. goodscode:
  8508. description: 商品代码(内部)
  8509. type: string
  8510. goodsid:
  8511. description: 商品ID
  8512. type: integer
  8513. goodsname:
  8514. description: 商品名称
  8515. type: string
  8516. marketid:
  8517. description: 市场ID
  8518. type: integer
  8519. offamount:
  8520. description: 优惠金额
  8521. type: number
  8522. originalamount:
  8523. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8524. type: number
  8525. payamount:
  8526. description: 支付金额 = TradeAmount + TradeCharge
  8527. type: number
  8528. payflag:
  8529. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8530. type: integer
  8531. paylimitedtime:
  8532. description: 支付期限
  8533. type: string
  8534. paytime:
  8535. description: 付款时间
  8536. type: string
  8537. picurls1:
  8538. description: 预售商品介绍图片[多张用逗号分隔]
  8539. type: string
  8540. picurls2:
  8541. description: 挂牌商品介绍图片[多张用逗号分隔]
  8542. type: string
  8543. sellaccountid:
  8544. description: 卖方账号ID[报价币种]
  8545. type: integer
  8546. sellorderid:
  8547. description: 卖方委托单号
  8548. type: string
  8549. tradeamount:
  8550. description: 成交金额
  8551. type: number
  8552. tradecharge:
  8553. description: 成交手续费(买方)
  8554. type: number
  8555. tradedate:
  8556. description: 交易日(yyyyMMdd)
  8557. type: string
  8558. tradeid:
  8559. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8560. type: string
  8561. trademode:
  8562. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8563. type: integer
  8564. tradeprice:
  8565. description: 成交价格
  8566. type: number
  8567. tradeqty:
  8568. description: 成交数量
  8569. type: integer
  8570. vendorname1:
  8571. description: 预售商品供应商名称
  8572. type: string
  8573. vendorname2:
  8574. description: 挂牌商品供应商名称
  8575. type: string
  8576. required:
  8577. - goodscode
  8578. - goodsname
  8579. - tradeid
  8580. - trademode
  8581. type: object
  8582. models.HsbyBuyMyTradeDetail:
  8583. properties:
  8584. accountid:
  8585. description: 账户ID[报价币种]
  8586. type: integer
  8587. agreeunit:
  8588. description: 合约单位
  8589. type: number
  8590. amount:
  8591. description: 金额 = 价格 * 数量 * 合约单位
  8592. type: number
  8593. buyorsell:
  8594. description: 买卖 - 0:买 1:卖
  8595. type: integer
  8596. currencysign:
  8597. description: 货币符号
  8598. type: string
  8599. decimalplace:
  8600. description: 报价小数位
  8601. type: integer
  8602. goodscode:
  8603. description: 商品代码(内部)
  8604. type: string
  8605. goodsid:
  8606. description: 商品ID
  8607. type: integer
  8608. goodsname:
  8609. description: 商品名称
  8610. type: string
  8611. marketid:
  8612. description: 市场ID
  8613. type: integer
  8614. orderamount:
  8615. description: 委托金额
  8616. type: number
  8617. orderid:
  8618. description: 单号(成交单号)
  8619. type: string
  8620. picurls1:
  8621. description: 预售商品介绍图片[多张用逗号分隔]
  8622. type: string
  8623. picurls2:
  8624. description: 挂牌商品介绍图片[多张用逗号分隔]
  8625. type: string
  8626. price:
  8627. description: 价格
  8628. type: number
  8629. qty:
  8630. description: 数量
  8631. type: integer
  8632. time:
  8633. description: 时间
  8634. type: string
  8635. trademode:
  8636. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8637. type: integer
  8638. vendorname1:
  8639. description: 预售商品供应商名称
  8640. type: string
  8641. vendorname2:
  8642. description: 挂牌商品供应商名称
  8643. type: string
  8644. required:
  8645. - accountid
  8646. - buyorsell
  8647. - goodscode
  8648. - goodsid
  8649. - goodsname
  8650. - marketid
  8651. - orderid
  8652. - qty
  8653. - time
  8654. - trademode
  8655. type: object
  8656. models.HsbyGoodsOrderDetail:
  8657. properties:
  8658. buyorsell:
  8659. description: 买卖 - 0:买 1:卖
  8660. type: integer
  8661. currencysign:
  8662. description: 货币符号
  8663. type: string
  8664. customername:
  8665. description: 客户名称(企业名称),已脱敏
  8666. type: string
  8667. enableqty:
  8668. description: 可用数量
  8669. type: integer
  8670. goodunit:
  8671. description: 报价单位
  8672. type: string
  8673. orderid:
  8674. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8675. type: string
  8676. orderprice:
  8677. description: 委托价格
  8678. type: number
  8679. ordertime:
  8680. description: 委托时间
  8681. type: string
  8682. required:
  8683. - buyorsell
  8684. - orderid
  8685. - ordertime
  8686. type: object
  8687. models.HsbyListingGoodsDetail:
  8688. properties:
  8689. agreeunit:
  8690. description: 合约单位
  8691. type: number
  8692. buymaxqty:
  8693. description: 购买上限 [71] - 0为不限
  8694. type: integer
  8695. currency:
  8696. description: 货币
  8697. type: string
  8698. currencysign:
  8699. description: 货币符号
  8700. type: string
  8701. decimalplace:
  8702. description: 报价小数位
  8703. type: integer
  8704. desccityid:
  8705. description: 目的地(市)ID
  8706. type: integer
  8707. descprovinceid:
  8708. description: 目的地(省)ID
  8709. type: integer
  8710. goodscode:
  8711. description: 商品代码(内部)
  8712. type: string
  8713. goodsdesc:
  8714. description: 商品详情
  8715. type: string
  8716. goodsid:
  8717. description: 商品ID(自增ID SEQ_GOODS)
  8718. type: integer
  8719. goodsname:
  8720. description: 商品名称
  8721. type: string
  8722. goodsprice:
  8723. description: 商品价格
  8724. type: number
  8725. hotindex:
  8726. description: 景点热度
  8727. type: integer
  8728. last:
  8729. description: 现价
  8730. type: number
  8731. limitdown:
  8732. description: 跌停价
  8733. type: number
  8734. limitup:
  8735. description: 涨停价
  8736. type: number
  8737. lotsize:
  8738. description: 手数最小变动单位
  8739. type: integer
  8740. marketid:
  8741. description: 所属市场ID
  8742. type: integer
  8743. picurls:
  8744. description: 介绍图片[多张用逗号分隔]
  8745. type: string
  8746. quoteminunit:
  8747. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8748. type: integer
  8749. stepvalue:
  8750. description: 价格最小变动单位
  8751. type: number
  8752. trademode:
  8753. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8754. type: integer
  8755. vendorattr:
  8756. description: 供应商附件(多张,逗号分隔)
  8757. type: string
  8758. vendorname:
  8759. description: 供应商名称
  8760. type: string
  8761. vendorphone:
  8762. description: 供应商客服电话
  8763. type: string
  8764. videourls:
  8765. description: 介绍视频[多张用逗号分隔]
  8766. type: string
  8767. required:
  8768. - goodscode
  8769. - goodsid
  8770. - goodsname
  8771. - marketid
  8772. - trademode
  8773. type: object
  8774. models.HsbyMarketGoods:
  8775. properties:
  8776. accountid:
  8777. description: 账户ID[报价币种]
  8778. type: integer
  8779. agreeunit:
  8780. description: 合约单位
  8781. type: number
  8782. buyorsell:
  8783. description: 买卖 - 0:买 1:卖
  8784. type: integer
  8785. categoryid:
  8786. description: 类别ID(WRCATEGORY)
  8787. type: integer
  8788. currency:
  8789. description: 货币
  8790. type: string
  8791. currencysign:
  8792. description: 货币符号
  8793. type: string
  8794. customername:
  8795. description: 卖家名称
  8796. type: string
  8797. decimalplace:
  8798. description: 报价小数位
  8799. type: integer
  8800. goodscode:
  8801. description: 商品代码(内部)
  8802. type: string
  8803. goodsid:
  8804. description: 商品ID
  8805. type: integer
  8806. goodsname:
  8807. description: 商品名称
  8808. type: string
  8809. goodsprice:
  8810. description: 商品价格
  8811. type: number
  8812. hascoupon:
  8813. description: 是否可用优惠卷
  8814. type: boolean
  8815. hotindex:
  8816. description: 景点热度
  8817. type: integer
  8818. marketid:
  8819. description: 市场ID
  8820. type: integer
  8821. orderid:
  8822. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8823. type: string
  8824. orderprice:
  8825. description: 委托价格
  8826. type: number
  8827. orderstatus:
  8828. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8829. type: integer
  8830. picurls:
  8831. description: 介绍图片[多张用逗号分隔]
  8832. type: string
  8833. quoteminunit:
  8834. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8835. type: integer
  8836. sellUserID:
  8837. description: 卖方UserID
  8838. type: integer
  8839. trademode:
  8840. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8841. type: integer
  8842. videourls:
  8843. description: 介绍视频[多张用逗号分隔]
  8844. type: string
  8845. required:
  8846. - accountid
  8847. - buyorsell
  8848. - goodscode
  8849. - goodsid
  8850. - goodsname
  8851. - marketid
  8852. - orderid
  8853. - trademode
  8854. type: object
  8855. models.HsbyMarketGoodsDetail:
  8856. properties:
  8857. accountid:
  8858. description: 账户ID[报价币种]
  8859. type: integer
  8860. agreeunit:
  8861. description: 合约单位
  8862. type: number
  8863. buymaxqty:
  8864. description: 购买上限 [71] - 0为不限
  8865. type: integer
  8866. buyorsell:
  8867. description: 买卖 - 0:买 1:卖
  8868. type: integer
  8869. cancelqty:
  8870. description: 撤单数量
  8871. type: integer
  8872. categoryid:
  8873. description: 类别ID(WRCATEGORY)
  8874. type: integer
  8875. currency:
  8876. description: 货币
  8877. type: string
  8878. currencysign:
  8879. description: 货币符号
  8880. type: string
  8881. customername:
  8882. description: 卖家名称
  8883. type: string
  8884. decimalplace:
  8885. description: 报价小数位
  8886. type: integer
  8887. goodscode:
  8888. description: 商品代码(内部)
  8889. type: string
  8890. goodsdesc:
  8891. description: 商品详情
  8892. type: string
  8893. goodsid:
  8894. description: 商品ID
  8895. type: integer
  8896. goodsname:
  8897. description: 商品名称
  8898. type: string
  8899. goodsprice:
  8900. description: 商品价格
  8901. type: number
  8902. hotindex:
  8903. description: 景点热度
  8904. type: integer
  8905. lotsize:
  8906. description: 手数最小变动单位
  8907. type: integer
  8908. marketid:
  8909. description: 市场ID
  8910. type: integer
  8911. orderid:
  8912. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8913. type: string
  8914. orderprice:
  8915. description: 委托价格
  8916. type: number
  8917. orderqty:
  8918. description: 委托数量
  8919. type: integer
  8920. orderstatus:
  8921. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8922. type: integer
  8923. picurls:
  8924. description: 介绍图片[多张用逗号分隔]
  8925. type: string
  8926. quoteminunit:
  8927. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8928. type: integer
  8929. sellUserID:
  8930. description: 卖方UserID
  8931. type: integer
  8932. trademode:
  8933. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8934. type: integer
  8935. tradeqty:
  8936. description: 成交数量
  8937. type: integer
  8938. vendorattr:
  8939. description: 供应商附件(多张,逗号分隔)
  8940. type: string
  8941. vendorname:
  8942. description: 供应商名称
  8943. type: string
  8944. vendorphone:
  8945. description: 供应商客服电话
  8946. type: string
  8947. videourls:
  8948. description: 介绍视频[多张用逗号分隔]
  8949. type: string
  8950. required:
  8951. - accountid
  8952. - buyorsell
  8953. - goodscode
  8954. - goodsid
  8955. - goodsname
  8956. - marketid
  8957. - orderid
  8958. - orderqty
  8959. - trademode
  8960. type: object
  8961. models.HsbyMarketInfo:
  8962. properties:
  8963. marketid:
  8964. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8965. type: integer
  8966. marketname:
  8967. description: 市场名称
  8968. type: string
  8969. marketstatus:
  8970. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8971. type: integer
  8972. trademode:
  8973. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8974. type: integer
  8975. required:
  8976. - marketid
  8977. - marketstatus
  8978. - trademode
  8979. type: object
  8980. models.HsbyMyGoods:
  8981. properties:
  8982. accountid:
  8983. description: 账号Id
  8984. type: integer
  8985. agreeunit:
  8986. description: 合约单位
  8987. type: number
  8988. buyaverageprice:
  8989. description: 持仓均价
  8990. type: number
  8991. buycurholderamount:
  8992. description: 买当前持仓总金额[商品币种]
  8993. type: number
  8994. buycurpositionqty:
  8995. description: 买当前持仓总数量
  8996. type: integer
  8997. buymaxqty:
  8998. description: 购买上限 [71] - 0为不限
  8999. type: integer
  9000. currencysign:
  9001. description: 货币符号
  9002. type: string
  9003. decimalplace:
  9004. description: 报价小数位
  9005. type: integer
  9006. enableqty:
  9007. description: 可用数量
  9008. type: integer
  9009. goodscode:
  9010. description: 商品代码(内部)
  9011. type: string
  9012. goodsid:
  9013. description: 商品Id
  9014. type: integer
  9015. goodsname:
  9016. description: 商品名称
  9017. type: string
  9018. goodsprice:
  9019. description: 商品价格
  9020. type: number
  9021. goodsstatus:
  9022. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9023. type: integer
  9024. last:
  9025. description: 现价(仅使用于挂牌点选)
  9026. type: number
  9027. limitdown:
  9028. description: 跌停价(仅使用于挂牌点选)
  9029. type: number
  9030. limitup:
  9031. description: 涨停价(仅使用于挂牌点选)
  9032. type: number
  9033. lotsize:
  9034. description: 手数最小变动单位
  9035. type: integer
  9036. marketid:
  9037. description: 所属市场ID
  9038. type: integer
  9039. picurls:
  9040. description: 介绍图片[多张用逗号分隔]
  9041. type: string
  9042. quoteminunit:
  9043. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9044. type: integer
  9045. stepvalue:
  9046. description: 价格最小变动单位
  9047. type: number
  9048. trademode:
  9049. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9050. type: integer
  9051. required:
  9052. - accountid
  9053. - goodscode
  9054. - goodsid
  9055. - goodsname
  9056. - marketid
  9057. - trademode
  9058. type: object
  9059. models.HsbyMyPackage:
  9060. properties:
  9061. accountid:
  9062. description: 账户ID
  9063. type: integer
  9064. address:
  9065. description: 提货人详细地址
  9066. type: string
  9067. agreeunit:
  9068. description: 合约单位
  9069. type: number
  9070. amount:
  9071. description: 提货金额
  9072. type: number
  9073. auditer:
  9074. description: 审核人
  9075. type: integer
  9076. audittime:
  9077. description: 审核时间
  9078. type: string
  9079. averageprice:
  9080. description: 均价
  9081. type: number
  9082. cardnum:
  9083. description: 提货人证件号码
  9084. type: string
  9085. cardtypeid:
  9086. description: 提货人证件类型
  9087. type: integer
  9088. checkremark:
  9089. description: 审核备注
  9090. type: string
  9091. currencysign:
  9092. description: 货币符号
  9093. type: string
  9094. decimalplace:
  9095. description: 报价小数位
  9096. type: integer
  9097. goodscode:
  9098. description: 商品代码(内部)
  9099. type: string
  9100. goodsid:
  9101. description: 商品ID
  9102. type: integer
  9103. goodsname:
  9104. description: 商品名称
  9105. type: string
  9106. handlestatus:
  9107. description: 处理状态
  9108. type: integer
  9109. marketid:
  9110. description: 市场ID
  9111. type: integer
  9112. phonenum:
  9113. description: 提货人联系方式
  9114. type: string
  9115. picurls:
  9116. description: 介绍图片[多张用逗号分隔]
  9117. type: string
  9118. qty:
  9119. description: 提货数量
  9120. type: number
  9121. recivername:
  9122. description: 提货人姓名
  9123. type: string
  9124. reqtime:
  9125. description: 更新时间
  9126. type: string
  9127. takemode:
  9128. description: 提货方式 - 2:自提 3:配送
  9129. type: integer
  9130. takeorderid:
  9131. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9132. type: string
  9133. takeorderstatus:
  9134. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9135. type: integer
  9136. takeremark:
  9137. description: 提货备注
  9138. type: string
  9139. tradedate:
  9140. description: 交易日(yyyyMMdd)
  9141. type: string
  9142. trademode:
  9143. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9144. type: integer
  9145. userid:
  9146. description: 用户ID
  9147. type: integer
  9148. vendorname:
  9149. description: 供应商名称
  9150. type: string
  9151. required:
  9152. - goodscode
  9153. - goodsname
  9154. - takeorderid
  9155. - trademode
  9156. type: object
  9157. models.HsbyPreGoods:
  9158. properties:
  9159. agreeunit:
  9160. description: 合约单位
  9161. type: number
  9162. currency:
  9163. description: 货币
  9164. type: string
  9165. currencysign:
  9166. description: 货币符号
  9167. type: string
  9168. decimalplace:
  9169. description: 报价小数位
  9170. type: integer
  9171. desccityid:
  9172. description: 目的地(市)
  9173. type: integer
  9174. descprovinceid:
  9175. description: 目的地(省)
  9176. type: integer
  9177. enableqty:
  9178. description: 剩余数量
  9179. type: integer
  9180. goodscode:
  9181. description: 商品代码(内部)
  9182. type: string
  9183. goodsid:
  9184. description: 商品ID(自增ID SEQ_GOODS)
  9185. type: integer
  9186. goodsname:
  9187. description: 商品名称
  9188. type: string
  9189. goodsstatus:
  9190. description: 商品状态- 2:未上市 3:上市
  9191. type: integer
  9192. lasttradedate:
  9193. description: 最后交易日期(状态:待退市)
  9194. type: string
  9195. listingdate:
  9196. description: 交易开始日期
  9197. type: string
  9198. marketid:
  9199. description: 所属市场ID
  9200. type: integer
  9201. picurls:
  9202. description: 介绍图片[多张用逗号分隔]
  9203. type: string
  9204. presaledqty:
  9205. description: 已预售量(预售结束时更新)
  9206. type: integer
  9207. presaleqty:
  9208. description: 预售数量
  9209. type: integer
  9210. quoteminunit:
  9211. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9212. type: integer
  9213. refprice:
  9214. description: 参考价格[一口价]
  9215. type: number
  9216. relatedgoodsid:
  9217. description: 关联交易合约ID
  9218. type: integer
  9219. trademode:
  9220. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9221. type: integer
  9222. videourls:
  9223. description: 介绍视频[多张用逗号分隔]
  9224. type: string
  9225. required:
  9226. - goodscode
  9227. - goodsid
  9228. - goodsname
  9229. - marketid
  9230. - trademode
  9231. type: object
  9232. models.HsbyPreGoodsDetail:
  9233. properties:
  9234. agreeunit:
  9235. description: 合约单位
  9236. type: number
  9237. buymaxqty:
  9238. description: 购买上限 [71] - 0为不限
  9239. type: integer
  9240. currency:
  9241. description: 货币
  9242. type: string
  9243. currencysign:
  9244. description: 货币符号
  9245. type: string
  9246. customername:
  9247. description: 发行单位
  9248. type: string
  9249. decimalplace:
  9250. description: 报价小数位
  9251. type: integer
  9252. desccityid:
  9253. description: 目的地(市)ID
  9254. type: integer
  9255. descprovinceid:
  9256. description: 目的地(省)ID
  9257. type: integer
  9258. enableqty:
  9259. description: 剩余数量
  9260. type: integer
  9261. goodscode:
  9262. description: 商品代码(内部)
  9263. type: string
  9264. goodsdesc:
  9265. description: 商品详情
  9266. type: string
  9267. goodsid:
  9268. description: 商品ID(自增ID SEQ_GOODS)
  9269. type: integer
  9270. goodsname:
  9271. description: 商品名称
  9272. type: string
  9273. goodsstatus:
  9274. description: 商品状态- 2:未上市 3:上市
  9275. type: integer
  9276. goodunit:
  9277. description: 报价单位
  9278. type: string
  9279. lasttradedate:
  9280. description: 最后交易日期(状态:待退市)
  9281. type: string
  9282. listingdate:
  9283. description: 交易开始日期
  9284. type: string
  9285. lotsize:
  9286. description: 手数最小变动单位
  9287. type: integer
  9288. marketid:
  9289. description: 所属市场ID
  9290. type: integer
  9291. picurls:
  9292. description: 介绍图片[多张用逗号分隔]
  9293. type: string
  9294. presaledqty:
  9295. description: 已预售量(预售结束时更新)
  9296. type: integer
  9297. presaleqty:
  9298. description: 预售数量
  9299. type: integer
  9300. quoteminunit:
  9301. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9302. type: integer
  9303. refprice:
  9304. description: 参考价格[一口价]
  9305. type: number
  9306. relatedgoodsid:
  9307. description: 关联交易合约ID
  9308. type: integer
  9309. stepvalue:
  9310. description: 价格最小变动单位
  9311. type: number
  9312. trademode:
  9313. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9314. type: integer
  9315. vendorattr:
  9316. description: 供应商附件(多张,逗号分隔)
  9317. type: string
  9318. vendorname:
  9319. description: 供应商名称
  9320. type: string
  9321. vendorphone:
  9322. description: 供应商客服电话
  9323. type: string
  9324. videourls:
  9325. description: 介绍视频[多张用逗号分隔]
  9326. type: string
  9327. required:
  9328. - goodscode
  9329. - goodsid
  9330. - goodsname
  9331. - marketid
  9332. - trademode
  9333. type: object
  9334. models.HsbySellCollectionOrder:
  9335. properties:
  9336. agreeunit:
  9337. description: 合约单位
  9338. type: number
  9339. buyaccountid:
  9340. description: 买方账号ID[报价币种]
  9341. type: integer
  9342. buyorderid:
  9343. description: 买方委托单号
  9344. type: string
  9345. createtime:
  9346. description: 创建时间
  9347. type: string
  9348. currencysign:
  9349. description: 货币符号
  9350. type: string
  9351. decimalplace:
  9352. description: 报价小数位
  9353. type: integer
  9354. goodscode:
  9355. description: 商品代码(内部)
  9356. type: string
  9357. goodsid:
  9358. description: 商品ID
  9359. type: integer
  9360. goodsname:
  9361. description: 商品名称
  9362. type: string
  9363. marketid:
  9364. description: 市场ID
  9365. type: integer
  9366. offamount:
  9367. description: 优惠金额
  9368. type: number
  9369. payamount:
  9370. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9371. type: number
  9372. payflag:
  9373. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9374. type: integer
  9375. paylimitedtime:
  9376. description: 支付期限
  9377. type: string
  9378. paytime:
  9379. description: 付款时间
  9380. type: string
  9381. picurls:
  9382. description: 商品介绍图片[多张用逗号分隔]
  9383. type: string
  9384. sellaccountid:
  9385. description: 卖方账号ID[报价币种]
  9386. type: integer
  9387. sellorderid:
  9388. description: 卖方委托单号
  9389. type: string
  9390. tradeamount:
  9391. description: 成交金额
  9392. type: number
  9393. tradecharge:
  9394. description: 成交手续费(买方)
  9395. type: number
  9396. tradedate:
  9397. description: 交易日(yyyyMMdd)
  9398. type: string
  9399. tradeid:
  9400. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9401. type: string
  9402. trademode:
  9403. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9404. type: integer
  9405. tradeprice:
  9406. description: 成交价格
  9407. type: number
  9408. tradeqty:
  9409. description: 成交数量
  9410. type: integer
  9411. required:
  9412. - goodscode
  9413. - goodsname
  9414. - tradeid
  9415. - trademode
  9416. type: object
  9417. models.HsbySellMyDetail:
  9418. properties:
  9419. accountid:
  9420. description: 账户ID[报价币种]
  9421. type: integer
  9422. agreeunit:
  9423. description: 合约单位
  9424. type: number
  9425. buyorsell:
  9426. description: 买卖 - 0:买 1:卖
  9427. type: integer
  9428. currencysign:
  9429. description: 货币符号
  9430. type: string
  9431. decimalplace:
  9432. description: 报价小数位
  9433. type: integer
  9434. goodscode:
  9435. description: 商品代码(内部)
  9436. type: string
  9437. goodsid:
  9438. description: 商品ID
  9439. type: integer
  9440. goodsname:
  9441. description: 商品名称
  9442. type: string
  9443. marketid:
  9444. description: 市场ID
  9445. type: integer
  9446. orderid:
  9447. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9448. type: string
  9449. ordertype:
  9450. description: 单据类型:0 - 发布中, 1 - 已完成
  9451. type: integer
  9452. picurls:
  9453. description: 介绍图片[多张用逗号分隔]
  9454. type: string
  9455. price:
  9456. description: 价格
  9457. type: number
  9458. qty:
  9459. description: 数量
  9460. type: integer
  9461. time:
  9462. description: 时间
  9463. type: string
  9464. trademode:
  9465. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9466. type: integer
  9467. vendorname:
  9468. description: 供应商名称
  9469. type: string
  9470. required:
  9471. - accountid
  9472. - buyorsell
  9473. - goodscode
  9474. - goodsid
  9475. - goodsname
  9476. - marketid
  9477. - orderid
  9478. - time
  9479. - trademode
  9480. type: object
  9481. models.HsbyTopGoods:
  9482. properties:
  9483. agreeunit:
  9484. description: 合约单位
  9485. type: number
  9486. currency:
  9487. description: 货币
  9488. type: string
  9489. currencysign:
  9490. description: 货币符号
  9491. type: string
  9492. decimalplace:
  9493. description: 报价小数位
  9494. type: integer
  9495. desccityid:
  9496. description: 目的地(市)
  9497. type: integer
  9498. descprovinceid:
  9499. description: 目的地(省)
  9500. type: integer
  9501. goodscode:
  9502. description: 商品代码(内部)
  9503. type: string
  9504. goodsid:
  9505. description: 商品ID(自增ID SEQ_GOODS)
  9506. type: integer
  9507. goodsname:
  9508. description: 商品名称
  9509. type: string
  9510. hotindex:
  9511. description: 景点热度
  9512. type: integer
  9513. last:
  9514. description: 现价
  9515. type: number
  9516. marketid:
  9517. description: 所属市场ID
  9518. type: integer
  9519. picurls:
  9520. description: 介绍图片[多张用逗号分隔]
  9521. type: string
  9522. quoteminunit:
  9523. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9524. type: integer
  9525. trademode:
  9526. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9527. type: integer
  9528. videourls:
  9529. description: 介绍视频[多张用逗号分隔]
  9530. type: string
  9531. required:
  9532. - goodscode
  9533. - goodsid
  9534. - goodsname
  9535. - marketid
  9536. - trademode
  9537. type: object
  9538. models.HybsMyBuyOrderDetail:
  9539. properties:
  9540. accountid:
  9541. description: 账户ID[报价币种]
  9542. type: integer
  9543. agreeunit:
  9544. description: 合约单位
  9545. type: number
  9546. buyorsell:
  9547. description: 买卖 - 0:买 1:卖
  9548. type: integer
  9549. cancelqty:
  9550. description: 撤单数量
  9551. type: integer
  9552. currencysign:
  9553. description: 货币符号
  9554. type: string
  9555. decimalplace:
  9556. description: 报价小数位
  9557. type: integer
  9558. goodscode:
  9559. description: 商品代码(内部)
  9560. type: string
  9561. goodsid:
  9562. description: 商品ID
  9563. type: integer
  9564. goodsname:
  9565. description: 商品名称
  9566. type: string
  9567. listingselecttype:
  9568. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9569. type: integer
  9570. marketid:
  9571. description: 市场ID
  9572. type: integer
  9573. mybuystatus:
  9574. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9575. type: integer
  9576. orderamount:
  9577. description: 委托金额
  9578. type: number
  9579. orderid:
  9580. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9581. type: string
  9582. orderprice:
  9583. description: 委托价格
  9584. type: number
  9585. orderqty:
  9586. description: 委托数量
  9587. type: integer
  9588. orderstatus:
  9589. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9590. type: integer
  9591. ordertime:
  9592. description: 委托时间
  9593. type: string
  9594. picurls1:
  9595. description: 预售商品介绍图片[多张用逗号分隔]
  9596. type: string
  9597. picurls2:
  9598. description: 挂牌商品介绍图片[多张用逗号分隔]
  9599. type: string
  9600. trademode:
  9601. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9602. type: integer
  9603. tradeqty:
  9604. description: 成交数量
  9605. type: integer
  9606. vendorname1:
  9607. description: 预售商品供应商名称
  9608. type: string
  9609. vendorname2:
  9610. description: 挂牌商品供应商名称
  9611. type: string
  9612. required:
  9613. - accountid
  9614. - buyorsell
  9615. - goodscode
  9616. - goodsid
  9617. - goodsname
  9618. - marketid
  9619. - orderid
  9620. - orderqty
  9621. - ordertime
  9622. - trademode
  9623. type: object
  9624. models.Loginaccount:
  9625. properties:
  9626. accountname:
  9627. description: 账户名称
  9628. type: string
  9629. canoutin:
  9630. description: 是否可出入金 - 0:不可 1:可
  9631. type: integer
  9632. clientroleid:
  9633. description: 终端角色ID
  9634. type: integer
  9635. haslogined:
  9636. description: 是否已登录 - 0:未登录 1:已登录
  9637. type: integer
  9638. hasupdatedpwd:
  9639. description: 是否已更改密码 - 0:未修改 1:已修改
  9640. type: integer
  9641. lastloginip:
  9642. description: 最新登录地址
  9643. type: string
  9644. lastloginmode:
  9645. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9646. type: integer
  9647. lastloginremark:
  9648. description: 最新登录描述
  9649. type: string
  9650. lastlogintime:
  9651. description: 最新登录时间
  9652. type: string
  9653. logincode:
  9654. description: 登录代码
  9655. type: string
  9656. loginfailnum:
  9657. description: 连续登录失败次数(登录成功时清零)
  9658. type: integer
  9659. loginid:
  9660. description: 登陆账号
  9661. type: integer
  9662. loginport:
  9663. description: 最新登录端口
  9664. type: integer
  9665. loginstatus:
  9666. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9667. type: integer
  9668. loginusertype:
  9669. description: 登录账号类型 - 1:投资者 2:机构交易员
  9670. type: integer
  9671. mobile:
  9672. description: 手机号码(加密存储)
  9673. type: string
  9674. modifierid:
  9675. description: 修改人
  9676. type: integer
  9677. modifysrc:
  9678. description: 审核来源 - 1:管理端 2:终端
  9679. type: integer
  9680. modifytime:
  9681. description: 修改时间
  9682. type: string
  9683. password:
  9684. description: 登陆密码
  9685. type: string
  9686. pwdwrongcount:
  9687. description: 密码错误次数
  9688. type: integer
  9689. relateduserid:
  9690. description: 关联用户ID(机构)
  9691. type: integer
  9692. taaccountrighttype:
  9693. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9694. type: integer
  9695. unfreezetime:
  9696. description: 账户解冻时间
  9697. type: string
  9698. userid:
  9699. description: 用户ID
  9700. type: integer
  9701. required:
  9702. - loginid
  9703. type: object
  9704. models.MainAccountInfo:
  9705. properties:
  9706. accountid:
  9707. description: 账号id
  9708. type: integer
  9709. accountname:
  9710. description: 账号名称(taaccount表中的名称)
  9711. type: string
  9712. appid:
  9713. description: AppID
  9714. type: string
  9715. authcode:
  9716. description: 授权码
  9717. type: string
  9718. brokerid:
  9719. description: 经纪商id
  9720. type: string
  9721. fcid:
  9722. description: 期货公司id
  9723. type: integer
  9724. fcname:
  9725. description: 期货公司代码
  9726. type: string
  9727. hedgeaccountcode:
  9728. description: 外部账号代码(主账号登录代码)
  9729. type: string
  9730. hedgeaccountpwd:
  9731. description: 密码
  9732. type: string
  9733. ismain:
  9734. description: 是否主账号
  9735. type: integer
  9736. relateduserid:
  9737. description: 关联用户id
  9738. type: integer
  9739. userid:
  9740. description: 关联用户id
  9741. type: integer
  9742. type: object
  9743. models.Market:
  9744. properties:
  9745. auctionwrtype:
  9746. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9747. type: integer
  9748. canacceptquote:
  9749. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9750. type: integer
  9751. cangoodsexercise:
  9752. description: '[期权]是否可现货行权- 0:否 1:是'
  9753. type: integer
  9754. cangoodsexercisetype:
  9755. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9756. type: integer
  9757. canmanualquotestrike:
  9758. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9759. type: integer
  9760. canmutistage:
  9761. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9762. type: integer
  9763. canpreexercise:
  9764. description: '[期权]是否可预申报- 0:否 1:是'
  9765. type: integer
  9766. clearinterval:
  9767. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9768. type: integer
  9769. contracttmp:
  9770. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9771. type: string
  9772. exchareaid:
  9773. description: 所属交易所,可以没有
  9774. type: integer
  9775. goodstype:
  9776. description: 商品类型 - 1:交易商品 2:仓单商品
  9777. type: integer
  9778. hasrebate:
  9779. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9780. type: integer
  9781. hastradecredit:
  9782. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9783. type: integer
  9784. haswr:
  9785. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9786. type: integer
  9787. isdeductmargin:
  9788. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9789. type: integer
  9790. isrecordsource:
  9791. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9792. type: integer
  9793. isreleasemargin:
  9794. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9795. type: integer
  9796. marginformula:
  9797. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9798. type: integer
  9799. marginformula2:
  9800. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9801. type: integer
  9802. marketid:
  9803. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9804. type: integer
  9805. marketname:
  9806. description: 市场名称
  9807. type: string
  9808. marketserviceid:
  9809. description: 市场服务ID
  9810. type: integer
  9811. marketstatus:
  9812. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9813. type: integer
  9814. markettype:
  9815. description: 市场类型- 1:非交易服务 2:交易服务
  9816. type: integer
  9817. matchermode:
  9818. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9819. type: integer
  9820. openmethod:
  9821. description: 开盘模式 - 0 自动 1手动
  9822. type: integer
  9823. otcuserid:
  9824. description: 场外期权做市商[场外期权]
  9825. type: integer
  9826. outersynctime:
  9827. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9828. type: string
  9829. pendingflag:
  9830. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9831. type: integer
  9832. pendingtime:
  9833. description: 待开市时间[通道交易-对冲](HH:mm)
  9834. type: string
  9835. performancetempid:
  9836. description: 履约计划模板ID - 作废
  9837. type: integer
  9838. premiumquotemode:
  9839. description: 权利金报价方式 - 1:自动 2:手动
  9840. type: integer
  9841. rebateratio:
  9842. description: 返利比率[竞价式]
  9843. type: number
  9844. reckonorder:
  9845. description: 结算顺序
  9846. type: integer
  9847. reckonpricealgorithm:
  9848. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9849. type: integer
  9850. reckonpriceparam:
  9851. description: 结算价参数
  9852. type: integer
  9853. reckontime:
  9854. description: 结算时间[通道交易-对冲](HH:mm)
  9855. type: string
  9856. roleprioritytype:
  9857. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9858. type: integer
  9859. selllistingauditflag:
  9860. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9861. type: integer
  9862. trademarkettype:
  9863. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9864. type: integer
  9865. trademode:
  9866. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9867. type: integer
  9868. tradeproperty:
  9869. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9870. type: integer
  9871. tradetype:
  9872. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9873. type: integer
  9874. required:
  9875. - marketid
  9876. - marketstatus
  9877. - openmethod
  9878. - reckonpricealgorithm
  9879. - trademode
  9880. - tradeproperty
  9881. type: object
  9882. models.Marketrun:
  9883. properties:
  9884. afternexttradedate:
  9885. description: 下下交易日
  9886. type: string
  9887. clearquoteflag:
  9888. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9889. type: integer
  9890. lastreckondate:
  9891. description: 最新交易日(结算成功)
  9892. type: string
  9893. machinedate:
  9894. description: 机器时间
  9895. type: string
  9896. manualflag:
  9897. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9898. type: integer
  9899. marketid:
  9900. description: 市场ID
  9901. type: integer
  9902. nexttradedate:
  9903. description: 下一交易日
  9904. type: string
  9905. pretradedate:
  9906. description: 上一交易日
  9907. type: string
  9908. reckonflag:
  9909. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9910. type: integer
  9911. runstatus:
  9912. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  9913. type: integer
  9914. sectionid:
  9915. description: 时间段号[多时段时用]
  9916. type: integer
  9917. tradedate:
  9918. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9919. type: string
  9920. tradedate2:
  9921. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9922. type: string
  9923. updatetime:
  9924. description: 更新时间
  9925. type: string
  9926. required:
  9927. - marketid
  9928. - nexttradedate
  9929. - reckonflag
  9930. - runstatus
  9931. - tradedate
  9932. - tradedate2
  9933. type: object
  9934. models.Messageboard:
  9935. properties:
  9936. contactnum:
  9937. description: 联系电话
  9938. type: string
  9939. createtime:
  9940. description: 创建时间
  9941. type: string
  9942. message:
  9943. description: 留言信息
  9944. type: string
  9945. messageboardid:
  9946. description: 留言簿ID(SEQ_MessageBoard)
  9947. type: integer
  9948. userid:
  9949. description: 用户ID
  9950. type: integer
  9951. required:
  9952. - messageboardid
  9953. type: object
  9954. models.MyCoupon:
  9955. properties:
  9956. accountid:
  9957. description: 资金账户ID
  9958. type: integer
  9959. areauserid:
  9960. description: 所属机构
  9961. type: integer
  9962. conditionvalue:
  9963. description: 条件阈值(可为0)
  9964. type: number
  9965. couponcategroy:
  9966. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9967. type: integer
  9968. couponname:
  9969. description: 优惠券名称
  9970. type: string
  9971. coupontypeid:
  9972. description: 优惠券类型ID
  9973. type: string
  9974. couponvalue:
  9975. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9976. type: number
  9977. curfreezeqty:
  9978. description: 期末冻结数量
  9979. type: integer
  9980. curqty:
  9981. description: 期末数量
  9982. type: integer
  9983. isgeneral:
  9984. description: 是否通用券 - 0:否 1:是
  9985. type: integer
  9986. isunusable:
  9987. description: 是否不可用
  9988. type: boolean
  9989. limitedflag:
  9990. description: 是否指定商品 - 0:不限 1:限制
  9991. type: integer
  9992. limitedgoodsids:
  9993. description: 指定商品IDs[逗号分隔,前后加逗号]
  9994. type: string
  9995. orifreezeqty:
  9996. description: 期初冻结数量
  9997. type: integer
  9998. oriqty:
  9999. description: 期初数量
  10000. type: integer
  10001. reasontype:
  10002. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10003. type: integer
  10004. todaydecrease:
  10005. description: 今日减少
  10006. type: integer
  10007. todayincrease:
  10008. description: 今日增加
  10009. type: integer
  10010. userid:
  10011. description: 用户ID
  10012. type: integer
  10013. userscope:
  10014. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10015. type: string
  10016. required:
  10017. - accountid
  10018. - coupontypeid
  10019. type: object
  10020. models.MyCouponHold:
  10021. properties:
  10022. accountid:
  10023. description: 资金账户ID
  10024. type: integer
  10025. conditionvalue:
  10026. description: 条件阈值(可为0)
  10027. type: number
  10028. couponcategroy:
  10029. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10030. type: integer
  10031. couponholdid:
  10032. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10033. type: string
  10034. couponname:
  10035. description: 优惠券名称
  10036. type: string
  10037. coupontypeid:
  10038. description: 优惠券类型ID - SEQ_COUPONTYPE
  10039. type: string
  10040. couponvalue:
  10041. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10042. type: number
  10043. createtime:
  10044. description: 创建时间
  10045. type: string
  10046. enddate:
  10047. description: 结束日期
  10048. type: string
  10049. giveapplyid:
  10050. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10051. type: integer
  10052. holdstatus:
  10053. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10054. type: integer
  10055. isgeneral:
  10056. description: 是否通用券 - 0:否 1:是
  10057. type: integer
  10058. limitedflag:
  10059. description: 是否指定商品 - 0:不限 1:限制
  10060. type: integer
  10061. limitedgoodsids:
  10062. description: 指定商品IDs[逗号分隔]
  10063. type: string
  10064. qty:
  10065. description: 数量(按1平铺)
  10066. type: integer
  10067. startdate:
  10068. description: 开始日期
  10069. type: string
  10070. userid:
  10071. description: 用户ID
  10072. type: integer
  10073. userscope:
  10074. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10075. type: string
  10076. required:
  10077. - couponholdid
  10078. type: object
  10079. models.MyUsedCoupon:
  10080. properties:
  10081. accountid:
  10082. description: 资金账户ID(买方)
  10083. type: integer
  10084. conditionvalue:
  10085. description: 条件阈值(可为0)
  10086. type: number
  10087. couponcategroy:
  10088. description: 种类 - 1:现金券 2:折扣券
  10089. type: integer
  10090. couponname:
  10091. description: 优惠券名称
  10092. type: string
  10093. coupontypeid:
  10094. description: 优惠券类型ID(买方)
  10095. type: string
  10096. couponvalue:
  10097. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10098. type: number
  10099. createtime:
  10100. description: 创建时间
  10101. type: string
  10102. goodsid:
  10103. description: 商品ID
  10104. type: integer
  10105. handlestatus:
  10106. description: 处理状态
  10107. type: integer
  10108. marketid:
  10109. description: 市场ID
  10110. type: integer
  10111. offamount:
  10112. description: 优惠金额
  10113. type: number
  10114. orderid:
  10115. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10116. type: string
  10117. sellaccountid:
  10118. description: 资金账户ID(卖方)
  10119. type: integer
  10120. tradeamount:
  10121. description: 成交金额
  10122. type: number
  10123. tradeid:
  10124. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10125. type: string
  10126. usedqty:
  10127. description: 使用数量
  10128. type: integer
  10129. required:
  10130. - coupontypeid
  10131. - orderid
  10132. type: object
  10133. models.OperationPrimaryMenu:
  10134. properties:
  10135. Children:
  10136. description: 二级功能菜单
  10137. items:
  10138. $ref: '#/definitions/models.OperationSecondaryMenu'
  10139. type: array
  10140. Key:
  10141. description: 菜单KEY
  10142. type: string
  10143. Label:
  10144. description: 菜单标题
  10145. type: string
  10146. type: object
  10147. models.OperationSecondaryMenu:
  10148. properties:
  10149. Key:
  10150. description: 菜单KEY
  10151. type: string
  10152. Label:
  10153. description: 菜单标题
  10154. type: string
  10155. TabList:
  10156. description: 三级功能菜单
  10157. items:
  10158. $ref: '#/definitions/models.OperationTabMenu'
  10159. type: array
  10160. type: object
  10161. models.OperationTabMenu:
  10162. properties:
  10163. Key:
  10164. description: 菜单KEY
  10165. type: string
  10166. Label:
  10167. description: 菜单标题
  10168. type: string
  10169. type: object
  10170. models.QhjAccountOutInApply:
  10171. properties:
  10172. accountcode:
  10173. description: 资金账号
  10174. type: string
  10175. accountname:
  10176. description: 用户名称(名称)
  10177. type: string
  10178. accountpwd:
  10179. description: 资金密码
  10180. type: string
  10181. accountticket:
  10182. description: 最新账户服务流水号
  10183. type: string
  10184. amount:
  10185. description: 金额
  10186. type: number
  10187. applyremark:
  10188. description: 申请备注
  10189. type: string
  10190. applystatus:
  10191. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10192. type: integer
  10193. auditid:
  10194. description: 审核人
  10195. type: integer
  10196. audittime:
  10197. description: 审核时间
  10198. type: string
  10199. bank_apply_ticket:
  10200. description: 银行申请流水
  10201. type: string
  10202. bankaccountname:
  10203. description: 银行账户名
  10204. type: string
  10205. bankaccountno:
  10206. description: 银行卡号
  10207. type: string
  10208. bankid:
  10209. description: 银行编号
  10210. type: string
  10211. bankticket:
  10212. description: 银行流水
  10213. type: string
  10214. branchbankid:
  10215. description: 银行支行号
  10216. type: string
  10217. branchbankname:
  10218. description: 银行支行名称
  10219. type: string
  10220. capamountout:
  10221. description: 出金(劣后本金) - 外部子账户
  10222. type: number
  10223. certificatephotourl:
  10224. description: 凭证地址
  10225. type: string
  10226. charge:
  10227. description: 手续费
  10228. type: number
  10229. checkerrorflag:
  10230. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10231. type: integer
  10232. currency:
  10233. description: 币种
  10234. type: string
  10235. cusbankid:
  10236. description: 托管银行编号
  10237. type: string
  10238. exchticket:
  10239. description: 银行服务流水号
  10240. type: string
  10241. executetype:
  10242. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10243. type: integer
  10244. extendinfo:
  10245. description: 扩展信息
  10246. type: string
  10247. extoperateid:
  10248. description: 交易服务流水号
  10249. type: integer
  10250. infamount:
  10251. description: 劣后金额(自有)
  10252. type: number
  10253. logincode:
  10254. description: 登录账号(账号)
  10255. type: string
  10256. netaddr:
  10257. description: 调转网址
  10258. type: string
  10259. priamount:
  10260. description: 优先金额(授信)
  10261. type: number
  10262. reauditid:
  10263. description: 复审人
  10264. type: integer
  10265. reauditremark:
  10266. description: 复审备注
  10267. type: string
  10268. reaudittime:
  10269. description: 复审时间
  10270. type: string
  10271. relatedorderid:
  10272. description: 三方关联ID
  10273. type: string
  10274. remark:
  10275. description: 备注
  10276. type: string
  10277. remark2:
  10278. description: 备注(失败原因)
  10279. type: string
  10280. soucreamount:
  10281. description: 原始出入金金额
  10282. type: number
  10283. soucrecurrencyid:
  10284. description: 原始出入金币种
  10285. type: integer
  10286. tradedate:
  10287. description: 交易日(yyyyMMdd)
  10288. type: string
  10289. updatetime:
  10290. description: 更新时间(申请时间)
  10291. type: string
  10292. userid:
  10293. description: 用户id
  10294. type: integer
  10295. userinfotype:
  10296. description: 账户类型 1-个人 2-企业
  10297. type: integer
  10298. type: object
  10299. models.QhjAgreementChangeLog:
  10300. properties:
  10301. agreementcontent:
  10302. description: 协议内容
  10303. type: string
  10304. agreementfrequency:
  10305. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10306. type: integer
  10307. agreementid:
  10308. description: 协议ID
  10309. type: integer
  10310. agreementname:
  10311. description: 协议名称
  10312. type: string
  10313. agreementno:
  10314. description: 协议编号
  10315. type: string
  10316. agreementtype:
  10317. description: 协议类型 - 1:注册 2:登录 3:交易
  10318. type: integer
  10319. agreementversion:
  10320. description: 协议版本号
  10321. type: integer
  10322. logid:
  10323. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10324. type: integer
  10325. reviserid:
  10326. description: 修改人
  10327. type: integer
  10328. revisersrc:
  10329. description: 修改来源 - 1:管理端 2:终端
  10330. type: integer
  10331. updatetime:
  10332. description: 更新时间
  10333. type: string
  10334. type: object
  10335. models.QhjAgreementConfig:
  10336. properties:
  10337. agreementcontent:
  10338. description: 协议内容
  10339. type: string
  10340. agreementfrequency:
  10341. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10342. type: integer
  10343. agreementid:
  10344. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10345. type: integer
  10346. agreementname:
  10347. description: 协议名称
  10348. type: string
  10349. agreementno:
  10350. description: 协议编号
  10351. type: string
  10352. agreementtype:
  10353. description: 协议类型 - 1:注册 2:登录 3:交易
  10354. type: integer
  10355. agreementversion:
  10356. description: 协议版本号(从1开始每次修改加1)
  10357. type: integer
  10358. createtime:
  10359. description: 创建时间
  10360. type: string
  10361. creatorid:
  10362. description: 创建人
  10363. type: integer
  10364. creatorsrc:
  10365. description: 创建来源 - 1:管理端 2:终端
  10366. type: integer
  10367. isvalid:
  10368. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10369. type: integer
  10370. reviserid:
  10371. description: 修改人
  10372. type: integer
  10373. revisersrc:
  10374. description: 修改来源 - 1:管理端 2:终端
  10375. type: integer
  10376. updatetime:
  10377. description: 更新时间
  10378. type: string
  10379. type: object
  10380. models.QhjAreaFinanceConfig:
  10381. properties:
  10382. additionalratio:
  10383. description: 追加款比例
  10384. type: number
  10385. advanceratio:
  10386. description: 预付款比例
  10387. type: number
  10388. alarmratio:
  10389. description: 告警比例
  10390. type: number
  10391. consumptiondirectreward:
  10392. description: 消费直推奖励值
  10393. type: number
  10394. consumptionenabled:
  10395. description: 是否启用消费奖励 - 0:不启用 1:启用
  10396. type: integer
  10397. consumptionindirectreward:
  10398. description: 消费间推奖励值
  10399. type: number
  10400. consumptionmodel:
  10401. description: 消费奖励方式 - 1:比率 2:固定
  10402. type: integer
  10403. customerservicenum:
  10404. description: 客服电话
  10405. type: string
  10406. dayinterestrate:
  10407. description: 日利率
  10408. type: number
  10409. disableconsumptiontips:
  10410. description: 关闭消费奖励提示
  10411. type: string
  10412. modifierid:
  10413. description: 修改人ID
  10414. type: integer
  10415. modifysrc:
  10416. description: 审核来源 - 1:管理端 2:终端
  10417. type: integer
  10418. modifytime:
  10419. description: 修改时间
  10420. type: string
  10421. promotionvalue:
  10422. description: 推广奖励值(固定)
  10423. type: number
  10424. scoreconfigvalue1:
  10425. description: 提货积分配置1
  10426. type: integer
  10427. scoreconfigvalue2:
  10428. description: 提货积分配置2
  10429. type: integer
  10430. userid:
  10431. description: 机构用户ID其他做市关系,都设置为 1
  10432. type: integer
  10433. username:
  10434. description: 用户名称
  10435. type: string
  10436. type: object
  10437. models.QhjBankAccountSign:
  10438. properties:
  10439. accountcode:
  10440. description: 资金账号
  10441. type: string
  10442. accountname:
  10443. description: 资金账号对应的账号名(UserName)
  10444. type: string
  10445. accountname2:
  10446. description: 资金账号对应的账号名(UserName) - 密文
  10447. type: string
  10448. accounttype:
  10449. description: 账户类型(UserType)
  10450. type: integer
  10451. applicationtime:
  10452. description: 最后一次更新的时间
  10453. type: string
  10454. applyexchticket:
  10455. description: 申请流水
  10456. type: string
  10457. auditid:
  10458. description: 审核人
  10459. type: integer
  10460. audittime:
  10461. description: 审核时间
  10462. type: string
  10463. bankaccountname:
  10464. description: 签约银行卡账号名
  10465. type: string
  10466. bankaccountname2:
  10467. description: 签约银行卡账号名 - 密文
  10468. type: string
  10469. bankaccountno:
  10470. description: 银行卡号
  10471. type: string
  10472. bankaccountno2:
  10473. description: 银行卡号 - 密文
  10474. type: string
  10475. bankaccounttype:
  10476. description: 银行账户类型 - 1-对私; 2-对公
  10477. type: integer
  10478. bankcardtype:
  10479. description: 银行卡类型
  10480. type: integer
  10481. bankchildaccount:
  10482. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10483. type: string
  10484. bankcity:
  10485. description: 开户行城市
  10486. type: string
  10487. bankid:
  10488. description: 签约银行ID
  10489. type: string
  10490. bankname:
  10491. description: 签约银行名称
  10492. type: string
  10493. bankprovince:
  10494. description: 开户行省份
  10495. type: string
  10496. branchbankid:
  10497. description: 签约银行支行号
  10498. type: string
  10499. branchbankname:
  10500. description: 签约银行支行名称
  10501. type: string
  10502. cardno:
  10503. description: 证件号码
  10504. type: string
  10505. cardno2:
  10506. description: 证件号码 - 密文
  10507. type: string
  10508. cardtype:
  10509. description: 证件类型
  10510. type: string
  10511. currency:
  10512. description: 币种
  10513. type: string
  10514. cusbankid:
  10515. description: 托管银行编号
  10516. type: string
  10517. direct:
  10518. description: 方向(可以判断那方先发起的签约)
  10519. type: integer
  10520. exchticket:
  10521. description: 最后一次签约成功的流水号
  10522. type: string
  10523. extendinfo:
  10524. description: 扩展信息(JSON字符串)
  10525. type: string
  10526. mobilephone:
  10527. description: 手机号
  10528. type: string
  10529. mobilephone2:
  10530. description: 手机号 - 密文
  10531. type: string
  10532. netaddr:
  10533. description: 调转网址
  10534. type: string
  10535. relateduserid:
  10536. description: 关联使用者userid
  10537. type: integer
  10538. signstatus:
  10539. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10540. type: integer
  10541. updatetime:
  10542. description: 更新时间(签解约更新时间)
  10543. type: string
  10544. type: object
  10545. models.QhjBankInfo:
  10546. properties:
  10547. bankid:
  10548. description: 银行ID
  10549. type: string
  10550. bankname:
  10551. description: 银行名称
  10552. type: string
  10553. clearbankno:
  10554. description: 清算系统银行编号
  10555. type: string
  10556. orderindex:
  10557. description: 排序顺序
  10558. type: integer
  10559. status:
  10560. description: 状态 - 0:正常 1:注销
  10561. type: integer
  10562. type: object
  10563. models.QhjBrokerApply:
  10564. properties:
  10565. applicantid:
  10566. description: 申请人
  10567. type: integer
  10568. applysrc:
  10569. description: 申请来源 - 1:管理端 2:终端
  10570. type: integer
  10571. applystatus:
  10572. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10573. type: integer
  10574. applytime:
  10575. description: 申请时间
  10576. type: string
  10577. auditorid:
  10578. description: 审核人
  10579. type: integer
  10580. auditremark:
  10581. description: 审核备注
  10582. type: string
  10583. auditsrc:
  10584. description: 审核来源 - 1:管理端 2:终端
  10585. type: integer
  10586. audittime:
  10587. description: 审核时间
  10588. type: string
  10589. audittradedate:
  10590. description: 审核交易日(yyyyMMdd)
  10591. type: string
  10592. brokerapplyid:
  10593. description: 申请ID(SEQ_BROKERAPPLY)
  10594. type: integer
  10595. cardbackphotourl:
  10596. description: 证件背面图片地址
  10597. type: string
  10598. cardfrontphotourl:
  10599. description: 证件正面图片地址
  10600. type: string
  10601. cardnum:
  10602. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10603. type: string
  10604. customername:
  10605. description: 姓名
  10606. type: string
  10607. logincode:
  10608. description: 登录代码
  10609. type: string
  10610. mobile:
  10611. description: 手机号码
  10612. type: string
  10613. parentuserid:
  10614. description: 所属机构id
  10615. type: integer
  10616. parentusername:
  10617. description: 所属机构名称
  10618. type: string
  10619. refereeuserid:
  10620. description: 推荐人id(经纪人)
  10621. type: integer
  10622. refernum:
  10623. description: 推荐码
  10624. type: string
  10625. remark:
  10626. description: 备注
  10627. type: string
  10628. subarealevelpath:
  10629. description: 层级路径
  10630. type: string
  10631. tradedate:
  10632. description: 交易日(yyyyMMdd)
  10633. type: string
  10634. userid:
  10635. description: 申请人用户ID
  10636. type: integer
  10637. userinfotype:
  10638. description: 用户类型 1-个人 2-企业
  10639. type: integer
  10640. username:
  10641. description: 用户名称
  10642. type: string
  10643. type: object
  10644. models.QhjBrokerApplyEx:
  10645. properties:
  10646. applylist:
  10647. description: 经纪人申请记录(只返回最新一条)
  10648. items:
  10649. $ref: '#/definitions/models.QhjBrokerApply'
  10650. type: array
  10651. canrecommend:
  10652. description: 是否经纪人 0-不是 1-是
  10653. type: integer
  10654. refernum:
  10655. description: 推荐码
  10656. type: string
  10657. userid:
  10658. description: 用户id
  10659. type: integer
  10660. userinfotype:
  10661. description: 用户类型 1-个人 2-企业
  10662. type: integer
  10663. type: object
  10664. models.QhjBrokerRewardLog:
  10665. properties:
  10666. accountid:
  10667. description: 资金账号ID
  10668. type: integer
  10669. createtime:
  10670. description: 创建时间(时间)
  10671. type: string
  10672. handlestatus:
  10673. description: 处理状态
  10674. type: integer
  10675. logid:
  10676. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10677. type: string
  10678. marketid:
  10679. description: 市场ID
  10680. type: integer
  10681. mmaccountid:
  10682. description: 做市商资金账号ID
  10683. type: string
  10684. mmuserid:
  10685. description: 做市商用户ID
  10686. type: string
  10687. rewardamount:
  10688. description: 奖励金额
  10689. type: number
  10690. rewardmodel:
  10691. description: 消费奖励方式 - 1:比率 2:固定
  10692. type: integer
  10693. rewardtype:
  10694. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10695. type: integer
  10696. rewardvalue:
  10697. description: 配置奖励值
  10698. type: number
  10699. srcamount:
  10700. description: 成交金额 [消费奖励] (金额)
  10701. type: number
  10702. srcgoodsid:
  10703. description: 来源商品ID [消费奖励]
  10704. type: string
  10705. srctime:
  10706. description: 来源时间 (成交时间) [消费奖励]
  10707. type: string
  10708. srctradeid:
  10709. description: 来源成交单ID [消费奖励] - 排除提货成交
  10710. type: string
  10711. srcuserid:
  10712. description: 来源用户ID(推广账户)
  10713. type: string
  10714. srcusername:
  10715. description: 推广账户名称
  10716. type: string
  10717. tradedate:
  10718. description: 交易日(yyyyMMdd)
  10719. type: string
  10720. userid:
  10721. description: 经纪人用户ID
  10722. type: integer
  10723. type: object
  10724. models.QhjContract:
  10725. properties:
  10726. contractconfirmtime:
  10727. description: 合同确认时间(时间)
  10728. type: string
  10729. currisklevel:
  10730. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10731. type: integer
  10732. decimalplace:
  10733. description: 商品报价小数位
  10734. type: integer
  10735. enumdicname:
  10736. description: 单位名称
  10737. type: string
  10738. goodscode:
  10739. description: 商品代码
  10740. type: string
  10741. goodsid:
  10742. description: 商品ID [5:融资单]
  10743. type: integer
  10744. goodsname:
  10745. description: 商品名称
  10746. type: string
  10747. goodunitid:
  10748. description: 商品单位id
  10749. type: integer
  10750. initmargin:
  10751. description: 初始保证金(首付款)
  10752. type: number
  10753. lenderamount:
  10754. description: 贷款金额(总额|订单总额)
  10755. type: number
  10756. marginratio:
  10757. description: 保证金比率(首付比例)
  10758. type: number
  10759. payamount:
  10760. description: 已付(已付货款)
  10761. type: number
  10762. reckonrecovermargin:
  10763. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10764. type: number
  10765. recoveredmargin:
  10766. description: 已追缴保证金
  10767. type: number
  10768. remainamount:
  10769. description: 合同剩余金额(融资额)
  10770. type: number
  10771. scfcontractid:
  10772. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10773. type: string
  10774. scfcontractstatus:
  10775. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10776. type: integer
  10777. scfcontracttype:
  10778. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10779. type: integer
  10780. totalinterest:
  10781. description: 已计总利息(利息)
  10782. type: number
  10783. tradeprice:
  10784. description: 成交价格(成本价格)
  10785. type: number
  10786. userid:
  10787. description: 用户ID
  10788. type: integer
  10789. username:
  10790. description: 用户名称
  10791. type: string
  10792. wrqty:
  10793. description: 仓单数量(数量)
  10794. type: number
  10795. type: object
  10796. models.QhjContractLog:
  10797. properties:
  10798. amount:
  10799. description: 支付金额
  10800. type: number
  10801. amounttype:
  10802. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10803. type: integer
  10804. logid:
  10805. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10806. type: string
  10807. remainamount:
  10808. description: 剩余货款
  10809. type: number
  10810. scfcontractid:
  10811. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10812. type: integer
  10813. updatetime:
  10814. description: 更新时间
  10815. type: string
  10816. type: object
  10817. models.QhjCusBankSignBankEx:
  10818. properties:
  10819. banklst:
  10820. description: 银行列表
  10821. items:
  10822. $ref: '#/definitions/models.QhjBankInfo'
  10823. type: array
  10824. canallot:
  10825. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10826. type: integer
  10827. canallotquery:
  10828. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10829. type: integer
  10830. canbindcard:
  10831. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10832. type: integer
  10833. caninamount:
  10834. description: 是否可入金 - 0:不可 1:可以
  10835. type: integer
  10836. caninamount2:
  10837. description: 是否可入金(网银端) - 0:不可 1:可以
  10838. type: integer
  10839. canmodifybankcard:
  10840. description: 是否可修改银行卡号 - 0:不可 1:可以
  10841. type: integer
  10842. canmodifyphone:
  10843. description: 是否可修改手机号 - 0:不可 1:可以
  10844. type: integer
  10845. canmodifysigninfo:
  10846. description: 是否可修改签约信息 - 0:不可 1:可以
  10847. type: integer
  10848. canoutamount:
  10849. description: 是否可出金 - 0:不可 1:可以
  10850. type: integer
  10851. canoutamount2:
  10852. description: 是否可出金(网银端) - 0:不可 1:可以
  10853. type: integer
  10854. canrelease:
  10855. description: 是否可解约 - 0:不可 1:可以
  10856. type: integer
  10857. canrelease2:
  10858. description: 是否可解约(网银端) - 0:不可 1:可以
  10859. type: integer
  10860. cansign:
  10861. description: 是否可签约 - 0:不可 1:可以
  10862. type: integer
  10863. cansign2:
  10864. description: 是否可签约(网银端) - 0:不可 1:可以
  10865. type: integer
  10866. currency:
  10867. description: 币种
  10868. type: string
  10869. cusbankid:
  10870. description: 托管银行编号(对应清算中心TRAN_NO)
  10871. type: string
  10872. cusbankname:
  10873. description: 银行业务名称
  10874. type: string
  10875. cusbankshortname:
  10876. description: 银行业务简称
  10877. type: string
  10878. exchbankid:
  10879. description: 交易所开户银行ID
  10880. type: string
  10881. exchpaybankaccname:
  10882. description: 交易所支出结算账户户名
  10883. type: string
  10884. exchpaybankaccno:
  10885. description: 交易所支出结算账户
  10886. type: string
  10887. isneedcheck:
  10888. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10889. type: integer
  10890. isneedclear:
  10891. description: 是否需要清算 - 0:不需要 1:需要
  10892. type: integer
  10893. lastcheckstatus:
  10894. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10895. type: integer
  10896. lastchecktime:
  10897. description: 最后对账时间
  10898. type: string
  10899. lastclearstatus:
  10900. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10901. type: integer
  10902. lastcleartime:
  10903. description: 最后清算时间
  10904. type: string
  10905. lastsignintime:
  10906. description: 最后签到时间
  10907. type: string
  10908. lastsignouttime:
  10909. description: 最后签退时间
  10910. type: string
  10911. riskinfo:
  10912. description: 签约风险提示书
  10913. type: string
  10914. signstatus:
  10915. description: 当前签到/签退状态 - 1:签到 2:签退
  10916. type: integer
  10917. tradedate:
  10918. description: 交易日(yyyyMMdd)
  10919. type: string
  10920. updatetime:
  10921. description: 当前签到/签退更新时间
  10922. type: string
  10923. type: object
  10924. models.QhjCustomer:
  10925. properties:
  10926. address:
  10927. description: 通讯地址
  10928. type: string
  10929. attachment1:
  10930. description: 附件1
  10931. type: string
  10932. attachment2:
  10933. description: 附件2
  10934. type: string
  10935. audittime:
  10936. description: 审核时间
  10937. type: string
  10938. cardbackphotourl:
  10939. description: 证件反面图片地址
  10940. type: string
  10941. cardfrontphotourl:
  10942. description: 证件正面图片地址
  10943. type: string
  10944. cardnum:
  10945. description: 证件号码
  10946. type: string
  10947. cardtype:
  10948. description: 证件类型
  10949. type: integer
  10950. cardtypename:
  10951. description: 证件类型名称
  10952. type: string
  10953. cityid:
  10954. description: 市
  10955. type: integer
  10956. cityname:
  10957. description: 城市名称
  10958. type: string
  10959. contactname:
  10960. description: 联系人
  10961. type: string
  10962. countryid:
  10963. description: 国家
  10964. type: integer
  10965. countryname:
  10966. description: 国家名称
  10967. type: string
  10968. createtime:
  10969. description: 创建时间
  10970. type: string
  10971. customername:
  10972. description: 客户名称
  10973. type: string
  10974. districtid:
  10975. description: 区域
  10976. type: integer
  10977. districtname:
  10978. description: 地区名称
  10979. type: string
  10980. email:
  10981. description: 邮件
  10982. type: string
  10983. legalpersonname:
  10984. description: 法人姓名(企业)
  10985. type: string
  10986. logincode:
  10987. description: 登录账号(代码)
  10988. type: string
  10989. memberuserid:
  10990. description: 所属机构ID(所属会员)
  10991. type: integer
  10992. memberusername:
  10993. description: 所属会员名称
  10994. type: string
  10995. mobile:
  10996. description: 手机号码
  10997. type: string
  10998. modifytime:
  10999. description: 修改时间
  11000. type: string
  11001. nickname:
  11002. description: 昵称
  11003. type: string
  11004. parentuserid:
  11005. description: 上级机构(所属机构)
  11006. type: integer
  11007. parentusername:
  11008. description: 所属机构名称
  11009. type: string
  11010. provinceid:
  11011. description: 省
  11012. type: integer
  11013. provincename:
  11014. description: 省名称
  11015. type: string
  11016. proxystatementurl:
  11017. description: 授权委托书
  11018. type: string
  11019. remark:
  11020. description: 备注
  11021. type: string
  11022. status:
  11023. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11024. type: integer
  11025. statusdesc:
  11026. description: 账户状态中文描述
  11027. type: string
  11028. taxpayernum:
  11029. description: 纳税人识别号
  11030. type: string
  11031. telphone:
  11032. description: 联系电话
  11033. type: string
  11034. userid:
  11035. description: 用户ID
  11036. type: integer
  11037. userinfotype:
  11038. description: 客户类型 1-个人 2-企业
  11039. type: integer
  11040. username:
  11041. description: 用户名称
  11042. type: string
  11043. type: object
  11044. models.QhjCustomerSignLog:
  11045. properties:
  11046. agreementcontent:
  11047. description: 协议内容
  11048. type: string
  11049. agreementid:
  11050. description: 协议ID
  11051. type: integer
  11052. agreementname:
  11053. description: 协议名称
  11054. type: string
  11055. agreementno:
  11056. description: 协议编号
  11057. type: string
  11058. agreementtype:
  11059. description: 协议类型 - 1:注册 2:登录 3:交易
  11060. type: integer
  11061. agreementversion:
  11062. description: 协议版本号
  11063. type: integer
  11064. createtime:
  11065. description: 创建时间
  11066. type: string
  11067. goodscode:
  11068. description: 商品代码
  11069. type: string
  11070. goodsid:
  11071. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11072. type: integer
  11073. goodsname:
  11074. description: 商品名称
  11075. type: string
  11076. logid:
  11077. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11078. type: integer
  11079. nodetype:
  11080. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11081. type: integer
  11082. signadressurl:
  11083. description: 签约文件地址
  11084. type: string
  11085. signtimestamp:
  11086. description: 签约状态时间戳
  11087. type: string
  11088. userid:
  11089. description: 客户ID
  11090. type: integer
  11091. username:
  11092. description: 客户名称
  11093. type: string
  11094. type: object
  11095. models.QhjCustomerSignStatus:
  11096. properties:
  11097. createtime:
  11098. description: 创建时间
  11099. type: string
  11100. goodscode:
  11101. description: 商品代码
  11102. type: string
  11103. goodsid:
  11104. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11105. type: integer
  11106. goodsname:
  11107. description: 商品名称
  11108. type: string
  11109. nodetype:
  11110. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11111. type: integer
  11112. signtimestamp:
  11113. description: 签约状态时间戳
  11114. type: string
  11115. tradedate:
  11116. description: 创建交易日(yyyyMMdd)
  11117. type: string
  11118. updatetime:
  11119. description: 更新时间
  11120. type: string
  11121. userid:
  11122. description: 客户ID
  11123. type: integer
  11124. username:
  11125. description: 客户名称
  11126. type: string
  11127. type: object
  11128. models.QhjMgrAccountOutInApply:
  11129. properties:
  11130. accountcode:
  11131. description: 资金账号
  11132. type: string
  11133. accountname:
  11134. description: 用户名称(名称)
  11135. type: string
  11136. accountpwd:
  11137. description: 资金密码
  11138. type: string
  11139. accountticket:
  11140. description: 最新账户服务流水号
  11141. type: string
  11142. amount:
  11143. description: 金额
  11144. type: number
  11145. applyremark:
  11146. description: 申请备注
  11147. type: string
  11148. applystatus:
  11149. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11150. type: integer
  11151. auditid:
  11152. description: 审核人
  11153. type: integer
  11154. audittime:
  11155. description: 审核时间
  11156. type: string
  11157. bank_apply_ticket:
  11158. description: 银行申请流水
  11159. type: string
  11160. bankaccountname:
  11161. description: 银行账户名
  11162. type: string
  11163. bankaccountno:
  11164. description: 银行卡号
  11165. type: string
  11166. bankid:
  11167. description: 银行编号
  11168. type: string
  11169. bankname:
  11170. description: 银行名称
  11171. type: string
  11172. bankticket:
  11173. description: 银行流水
  11174. type: string
  11175. branchbankid:
  11176. description: 银行支行号
  11177. type: string
  11178. branchbankname:
  11179. description: 银行支行名称
  11180. type: string
  11181. capamountout:
  11182. description: 出金(劣后本金) - 外部子账户
  11183. type: number
  11184. certificatephotourl:
  11185. description: 凭证地址
  11186. type: string
  11187. charge:
  11188. description: 手续费
  11189. type: number
  11190. checkerrorflag:
  11191. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11192. type: integer
  11193. currency:
  11194. description: 币种
  11195. type: string
  11196. cusbankid:
  11197. description: 托管银行编号
  11198. type: string
  11199. exchticket:
  11200. description: 银行服务流水号
  11201. type: string
  11202. executetype:
  11203. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11204. type: integer
  11205. extendinfo:
  11206. description: 扩展信息
  11207. type: string
  11208. extoperateid:
  11209. description: 交易服务流水号
  11210. type: integer
  11211. infamount:
  11212. description: 劣后金额(自有)
  11213. type: number
  11214. logincode:
  11215. description: 登录账号(账号)
  11216. type: string
  11217. netaddr:
  11218. description: 调转网址
  11219. type: string
  11220. priamount:
  11221. description: 优先金额(授信)
  11222. type: number
  11223. reauditid:
  11224. description: 复审人
  11225. type: integer
  11226. reauditremark:
  11227. description: 复审备注
  11228. type: string
  11229. reaudittime:
  11230. description: 复审时间
  11231. type: string
  11232. relatedorderid:
  11233. description: 三方关联ID
  11234. type: string
  11235. remark:
  11236. description: 备注
  11237. type: string
  11238. remark2:
  11239. description: 备注(失败原因)
  11240. type: string
  11241. soucreamount:
  11242. description: 原始出入金金额
  11243. type: number
  11244. soucrecurrencyid:
  11245. description: 原始出入金币种
  11246. type: integer
  11247. tradedate:
  11248. description: 交易日(yyyyMMdd)
  11249. type: string
  11250. updatetime:
  11251. description: 更新时间(申请时间)
  11252. type: string
  11253. userid:
  11254. description: 用户id
  11255. type: integer
  11256. userinfotype:
  11257. description: 账户类型 1-个人 2-企业
  11258. type: integer
  11259. type: object
  11260. models.QhjMgrBrokerApply:
  11261. properties:
  11262. applicantid:
  11263. description: 申请人
  11264. type: integer
  11265. applysrc:
  11266. description: 申请来源 - 1:管理端 2:终端
  11267. type: integer
  11268. applystatus:
  11269. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11270. type: integer
  11271. applytime:
  11272. description: 申请时间
  11273. type: string
  11274. auditorid:
  11275. description: 审核人
  11276. type: integer
  11277. auditremark:
  11278. description: 审核备注
  11279. type: string
  11280. auditsrc:
  11281. description: 审核来源 - 1:管理端 2:终端
  11282. type: integer
  11283. audittime:
  11284. description: 审核时间
  11285. type: string
  11286. audittradedate:
  11287. description: 审核交易日(yyyyMMdd)
  11288. type: string
  11289. brokerapplyid:
  11290. description: 申请ID(SEQ_BROKERAPPLY)
  11291. type: integer
  11292. cardbackphotourl:
  11293. description: 证件背面图片地址
  11294. type: string
  11295. cardfrontphotourl:
  11296. description: 证件正面图片地址
  11297. type: string
  11298. cardnum:
  11299. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11300. type: string
  11301. customername:
  11302. description: 姓名
  11303. type: string
  11304. filterstatus:
  11305. description: 筛选条件
  11306. type: string
  11307. logincode:
  11308. description: 登录代码
  11309. type: string
  11310. mobile:
  11311. description: 手机号码
  11312. type: string
  11313. parentuserid:
  11314. description: 所属机构id
  11315. type: integer
  11316. parentusername:
  11317. description: 所属机构名称
  11318. type: string
  11319. refereeuserid:
  11320. description: 推荐人id(经纪人)
  11321. type: integer
  11322. refernum:
  11323. description: 推荐码
  11324. type: string
  11325. remark:
  11326. description: 备注
  11327. type: string
  11328. subarealevelpath:
  11329. description: 层级路径
  11330. type: string
  11331. tradedate:
  11332. description: 交易日(yyyyMMdd)
  11333. type: string
  11334. userid:
  11335. description: 申请人用户ID
  11336. type: integer
  11337. userinfotype:
  11338. description: 用户类型 1-个人 2-企业
  11339. type: integer
  11340. username:
  11341. description: 用户名称
  11342. type: string
  11343. type: object
  11344. models.QhjMgrBrokerRewardReport:
  11345. properties:
  11346. createtime:
  11347. description: 创建时间(注册时间)
  11348. type: string
  11349. cycletime:
  11350. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11351. type: string
  11352. cycletype:
  11353. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11354. type: integer
  11355. directtotalnum:
  11356. description: 直推总人数【期末】
  11357. type: integer
  11358. indirecttotalnum:
  11359. description: 间推总人数【期末】
  11360. type: integer
  11361. mobile:
  11362. description: 电话号码
  11363. type: string
  11364. refereeuserid:
  11365. description: 推荐人id(经纪人id)
  11366. type: integer
  11367. refereeusername:
  11368. description: 推荐人名称(经纪人) 上级经纪人名称
  11369. type: string
  11370. refernum:
  11371. description: 推荐码
  11372. type: string
  11373. subarealevelpath:
  11374. description: 用户层级路径
  11375. type: string
  11376. todayrewardamount:
  11377. description: 奖励总金额【汇总】
  11378. type: number
  11379. updatetime:
  11380. description: 更新时间
  11381. type: string
  11382. userid:
  11383. description: 经纪人用户ID
  11384. type: integer
  11385. userinfotype:
  11386. description: 用户类型 1-个人 2-企业
  11387. type: integer
  11388. username:
  11389. description: 用户名称
  11390. type: string
  11391. type: object
  11392. models.QhjMgrContract:
  11393. properties:
  11394. contractconfirmtime:
  11395. description: 合同确认时间(时间)
  11396. type: string
  11397. currisklevel:
  11398. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11399. type: integer
  11400. decimalplace:
  11401. description: 商品报价小数位
  11402. type: integer
  11403. enumdicname:
  11404. description: 单位名称
  11405. type: string
  11406. goodscode:
  11407. description: 商品代码
  11408. type: string
  11409. goodsid:
  11410. description: 商品ID [5:融资单]
  11411. type: integer
  11412. goodsname:
  11413. description: 商品名称
  11414. type: string
  11415. goodunitid:
  11416. description: 商品单位id
  11417. type: integer
  11418. initmargin:
  11419. description: 初始保证金(首付款)
  11420. type: number
  11421. lenderamount:
  11422. description: 贷款金额(总额|订单总额)
  11423. type: number
  11424. logincode:
  11425. description: 账号(登录代码)
  11426. type: string
  11427. marginratio:
  11428. description: 保证金比率(首付比例)
  11429. type: number
  11430. mobile:
  11431. description: 电话号码(用户资料里的电话)
  11432. type: string
  11433. payamount:
  11434. description: 已付(已付货款)
  11435. type: number
  11436. reckonrecovermargin:
  11437. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11438. type: number
  11439. recoveredmargin:
  11440. description: 已追缴保证金
  11441. type: number
  11442. remainamount:
  11443. description: 合同剩余金额(融资额)
  11444. type: number
  11445. scfcontractid:
  11446. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11447. type: string
  11448. scfcontractstatus:
  11449. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11450. type: integer
  11451. scfcontracttype:
  11452. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11453. type: integer
  11454. totalinterest:
  11455. description: 已计总利息(利息)
  11456. type: number
  11457. tradedate:
  11458. description: 交易日
  11459. type: string
  11460. tradeprice:
  11461. description: 成交价格(成本价格)
  11462. type: number
  11463. userid:
  11464. description: 用户ID
  11465. type: integer
  11466. userinfotype:
  11467. description: 用户类型 1-个人 2-企业
  11468. type: integer
  11469. username:
  11470. description: 用户名称
  11471. type: string
  11472. wrqty:
  11473. description: 仓单数量(数量)
  11474. type: number
  11475. type: object
  11476. models.QhjMgrCustomer:
  11477. properties:
  11478. address:
  11479. description: 通讯地址
  11480. type: string
  11481. attachment1:
  11482. description: 附件1
  11483. type: string
  11484. audittime:
  11485. description: 审核时间
  11486. type: string
  11487. birthday:
  11488. description: 生日
  11489. type: string
  11490. brokerid:
  11491. description: 所属客户经理id
  11492. type: integer
  11493. brokername:
  11494. description: 所属客户经理名称
  11495. type: string
  11496. cardbackphotourl:
  11497. description: 证件反面图片地址
  11498. type: string
  11499. cardfrontphotourl:
  11500. description: 证件正面图片地址
  11501. type: string
  11502. cardnum:
  11503. description: 证件号码
  11504. type: string
  11505. cardtype:
  11506. description: 证件类型
  11507. type: integer
  11508. cardtypename:
  11509. description: 证件类型名称
  11510. type: string
  11511. cityid:
  11512. description: 市
  11513. type: integer
  11514. cityname:
  11515. description: 城市名称
  11516. type: string
  11517. contactname:
  11518. description: 联系人
  11519. type: string
  11520. countryid:
  11521. description: 国家
  11522. type: integer
  11523. countryname:
  11524. description: 国家名称
  11525. type: string
  11526. createtime:
  11527. description: 创建时间
  11528. type: string
  11529. customername:
  11530. description: 客户名称
  11531. type: string
  11532. districtid:
  11533. description: 区域
  11534. type: integer
  11535. districtname:
  11536. description: 地区名称
  11537. type: string
  11538. email:
  11539. description: 邮件
  11540. type: string
  11541. legalpersonname:
  11542. description: 法人姓名(企业)
  11543. type: string
  11544. logincode:
  11545. description: 登录账号(代码)
  11546. type: string
  11547. memberuserid:
  11548. description: 所属机构ID(所属会员)
  11549. type: integer
  11550. memberusername:
  11551. description: 所属会员名称
  11552. type: string
  11553. mobile:
  11554. description: 手机号码
  11555. type: string
  11556. modifytime:
  11557. description: 修改时间
  11558. type: string
  11559. nickname:
  11560. description: 昵称
  11561. type: string
  11562. parentuserid:
  11563. description: 上级机构(所属机构)
  11564. type: integer
  11565. parentusername:
  11566. description: 所属机构名称
  11567. type: string
  11568. provinceid:
  11569. description: 省
  11570. type: integer
  11571. provincename:
  11572. description: 省名称
  11573. type: string
  11574. proxystatementurl:
  11575. description: 授权委托书
  11576. type: string
  11577. querytype:
  11578. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11579. type: integer
  11580. remark:
  11581. description: 备注
  11582. type: string
  11583. sex:
  11584. description: 性别 0-女 1-男
  11585. type: integer
  11586. status:
  11587. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11588. type: integer
  11589. statusdesc:
  11590. description: 账户状态中文描述
  11591. type: string
  11592. taxpayernum:
  11593. description: 纳税人识别号
  11594. type: string
  11595. telphone:
  11596. description: 联系电话
  11597. type: string
  11598. userid:
  11599. description: 用户ID
  11600. type: integer
  11601. userinfotype:
  11602. description: 客户类型 1-个人 2-企业
  11603. type: integer
  11604. username:
  11605. description: 用户名称
  11606. type: string
  11607. type: object
  11608. models.QhjMgrPickGoods:
  11609. properties:
  11610. enumdicname:
  11611. description: 单位名称(提货商品)
  11612. type: string
  11613. goodsid:
  11614. description: 商品id
  11615. type: integer
  11616. imageaddress:
  11617. description: 图片
  11618. type: string
  11619. modifierid:
  11620. description: 修改人
  11621. type: integer
  11622. modifiername:
  11623. description: 修改人名称
  11624. type: string
  11625. modifysrc:
  11626. description: 修改来源 - 1:管理端 2:终端
  11627. type: integer
  11628. pickupgoodsagreeunit:
  11629. description: 合约乘数
  11630. type: number
  11631. pickupgoodsdesc:
  11632. description: 描述
  11633. type: string
  11634. pickupgoodsid:
  11635. description: 提货商品ID
  11636. type: string
  11637. pickupgoodsname:
  11638. description: 提货商品名称
  11639. type: string
  11640. pickupgoodsstatus:
  11641. description: 状态 - 1:正常 2:停用 3:注销
  11642. type: integer
  11643. pickupgoodsunitid:
  11644. description: 单位ID
  11645. type: integer
  11646. pickupratio:
  11647. description: 提货系数
  11648. type: number
  11649. preparedays:
  11650. description: 备货期(天)
  11651. type: integer
  11652. remark:
  11653. description: 备注
  11654. type: string
  11655. updatetime:
  11656. description: 更新时间
  11657. type: string
  11658. type: object
  11659. models.QhjMgrPositionRsp:
  11660. properties:
  11661. accountid:
  11662. description: 账号Id
  11663. type: integer
  11664. accountname:
  11665. description: 用户名称
  11666. type: string
  11667. agreeunit:
  11668. description: 合约乘数
  11669. type: number
  11670. averageprice:
  11671. description: 均价
  11672. type: number
  11673. avialqty:
  11674. description: 可用数量
  11675. type: number
  11676. decimalplace:
  11677. description: 报价小数位
  11678. type: integer
  11679. enumdicname:
  11680. description: 单位名称(商品)
  11681. type: string
  11682. frozenqty:
  11683. description: 冻结数量
  11684. type: number
  11685. goodscode:
  11686. description: 商品代码(内部)
  11687. type: string
  11688. goodsid:
  11689. description: 商品Id
  11690. type: integer
  11691. goodsname:
  11692. description: 商品名称
  11693. type: string
  11694. goodunitid:
  11695. description: 报价单位ID
  11696. type: integer
  11697. holderamount:
  11698. description: 金额
  11699. type: number
  11700. holderqty:
  11701. description: 持有数量
  11702. type: number
  11703. holdertype:
  11704. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11705. type: integer
  11706. logincode:
  11707. description: 登录代码(账户)
  11708. type: string
  11709. marketid:
  11710. description: 市场id
  11711. type: integer
  11712. qtydecimalplace:
  11713. description: 成交量小数位
  11714. type: integer
  11715. trademode:
  11716. description: 交易模式
  11717. type: integer
  11718. userid:
  11719. description: 用户id
  11720. type: integer
  11721. userinfotype:
  11722. description: 账户类型 1-个人 2-企业
  11723. type: integer
  11724. type: object
  11725. models.QhjMgrSubArea:
  11726. properties:
  11727. accountname:
  11728. description: 账户名称(机构名称)
  11729. type: string
  11730. memberuserid:
  11731. description: 所属会员ID
  11732. type: integer
  11733. parenttopuser:
  11734. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11735. type: string
  11736. parentuserid:
  11737. description: 所属机构ID
  11738. type: integer
  11739. rootuserid:
  11740. description: 根用户ID
  11741. type: string
  11742. subaccountlevel:
  11743. description: 子账户层数
  11744. type: integer
  11745. subarealevelpath:
  11746. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11747. type: string
  11748. userid:
  11749. description: 用户ID
  11750. type: integer
  11751. usertype:
  11752. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11753. type: integer
  11754. type: object
  11755. models.QhjMgrTradeDetailRsp:
  11756. properties:
  11757. accountid:
  11758. description: 资金账号
  11759. type: integer
  11760. accountname:
  11761. description: 用户名称
  11762. type: string
  11763. agreeunit:
  11764. description: 合约乘数
  11765. type: number
  11766. buyorsell:
  11767. description: 成交类型(方向) 0:买 1:卖
  11768. type: integer
  11769. decimalplace:
  11770. description: 报价小数位
  11771. type: integer
  11772. enumdicname:
  11773. description: 单位名称(商品)
  11774. type: string
  11775. goodscode:
  11776. description: 商品代码(内部)
  11777. type: string
  11778. goodsid:
  11779. description: 商品id
  11780. type: integer
  11781. goodsname:
  11782. description: 商品名称
  11783. type: string
  11784. goodunitid:
  11785. description: 报价单位ID
  11786. type: integer
  11787. logincode:
  11788. description: 登录代码(账户)
  11789. type: string
  11790. marketid:
  11791. description: 市场id
  11792. type: integer
  11793. orderid:
  11794. description: 关联委托单号
  11795. type: string
  11796. qtydecimalplace:
  11797. description: 成交量小数位
  11798. type: integer
  11799. tradeamount:
  11800. description: 金额
  11801. type: number
  11802. tradedate:
  11803. description: 交易日
  11804. type: string
  11805. tradeid:
  11806. description: 成交单号
  11807. type: string
  11808. trademode:
  11809. description: 交易模式
  11810. type: integer
  11811. tradeprice:
  11812. description: 价格
  11813. type: number
  11814. tradeqty:
  11815. description: 数量
  11816. type: number
  11817. tradetime:
  11818. description: 成交时间
  11819. type: string
  11820. userid:
  11821. description: 用户id
  11822. type: integer
  11823. userinfotype:
  11824. description: 账户类型 1-个人 2-企业
  11825. type: integer
  11826. type: object
  11827. models.QhjMgrTradeOrderDetailRsp:
  11828. properties:
  11829. accountid:
  11830. description: 资金账号
  11831. type: integer
  11832. accountname:
  11833. description: 用户名称
  11834. type: string
  11835. agreeunit:
  11836. description: 合约乘数
  11837. type: number
  11838. amount:
  11839. description: 金额
  11840. type: number
  11841. decimalplace:
  11842. description: 报价小数位
  11843. type: integer
  11844. enumdicname:
  11845. description: 单位名称(商品)
  11846. type: string
  11847. goodscode:
  11848. description: 商品代码(内部)
  11849. type: string
  11850. goodsid:
  11851. description: 商品id
  11852. type: integer
  11853. goodsname:
  11854. description: 商品名称
  11855. type: string
  11856. goodunitid:
  11857. description: 报价单位ID
  11858. type: integer
  11859. logincode:
  11860. description: 登录代码(账户)
  11861. type: string
  11862. marketid:
  11863. description: 市场id
  11864. type: integer
  11865. orderid:
  11866. description: 关联委托单号
  11867. type: string
  11868. orderprice:
  11869. description: 价格
  11870. type: number
  11871. orderqty:
  11872. description: 数量
  11873. type: number
  11874. orderstatus:
  11875. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11876. type: integer
  11877. ordertime:
  11878. description: 委托时间
  11879. type: string
  11880. qtydecimalplace:
  11881. description: 成交量小数位
  11882. type: integer
  11883. tradedate:
  11884. description: 交易日
  11885. type: string
  11886. trademode:
  11887. description: 交易模式
  11888. type: integer
  11889. userid:
  11890. description: 用户id
  11891. type: integer
  11892. userinfotype:
  11893. description: 账户类型 1-个人 2-企业
  11894. type: integer
  11895. type: object
  11896. models.QhjMgrTradePayOrder:
  11897. properties:
  11898. accountname:
  11899. description: 用户名称
  11900. type: string
  11901. advanceratio:
  11902. description: 首付比率
  11903. type: number
  11904. agreeunit:
  11905. description: 合约乘数
  11906. type: number
  11907. buyaccountid:
  11908. description: 买方账号ID[报价币种]
  11909. type: integer
  11910. buyorderid:
  11911. description: 买方委托单号(关联单号)
  11912. type: string
  11913. createtime:
  11914. description: 创建时间
  11915. type: string
  11916. decimalplace:
  11917. description: 报价小数位
  11918. type: integer
  11919. enumdicname:
  11920. description: 单位名称(商品)
  11921. type: string
  11922. goodscode:
  11923. description: 商品代码(内部)
  11924. type: string
  11925. goodsid:
  11926. description: 商品ID
  11927. type: integer
  11928. goodsname:
  11929. description: 商品名称
  11930. type: string
  11931. goodunitid:
  11932. description: 报价单位ID
  11933. type: integer
  11934. logincode:
  11935. description: 登录代码(账户)
  11936. type: string
  11937. marketid:
  11938. description: 市场id
  11939. type: integer
  11940. offamount:
  11941. description: 优惠金额
  11942. type: number
  11943. operatetype:
  11944. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11945. type: integer
  11946. payamount:
  11947. description: 支付金额(金额)
  11948. type: number
  11949. payflag:
  11950. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11951. type: integer
  11952. paylimitedtime:
  11953. description: 支付期限
  11954. type: string
  11955. paytime:
  11956. description: 付款时间
  11957. type: string
  11958. qtydecimalplace:
  11959. description: 成交量小数位
  11960. type: integer
  11961. sellaccountid:
  11962. description: 卖方账号ID[报价币种]
  11963. type: integer
  11964. sellorderid:
  11965. description: 卖方委托单号
  11966. type: string
  11967. tradeamount:
  11968. description: 成交金额(优惠后金额)
  11969. type: number
  11970. tradecharge:
  11971. description: 成交手续费(买方)
  11972. type: number
  11973. tradedate:
  11974. description: 交易日(yyyyMMdd)
  11975. type: string
  11976. tradeid:
  11977. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11978. type: string
  11979. trademode:
  11980. description: 交易模式
  11981. type: integer
  11982. tradeprice:
  11983. description: 成交价格(价格)
  11984. type: number
  11985. tradeqty:
  11986. description: 成交数量(数量)
  11987. type: number
  11988. tradetime:
  11989. description: 成交时间
  11990. type: string
  11991. userid:
  11992. description: 用户id
  11993. type: integer
  11994. userinfotype:
  11995. description: 账户类型 1-个人 2-企业
  11996. type: integer
  11997. type: object
  11998. models.QhjMyTeamEx:
  11999. properties:
  12000. accountname:
  12001. description: 用户名称
  12002. type: string
  12003. accountstatus:
  12004. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12005. type: integer
  12006. createtime:
  12007. description: 创建时间
  12008. type: string
  12009. mobile:
  12010. description: 手机号码
  12011. type: string
  12012. refereeuserid:
  12013. description: 推荐人id
  12014. type: integer
  12015. refernum:
  12016. description: 推荐码
  12017. type: string
  12018. subList:
  12019. items:
  12020. $ref: '#/definitions/models.QhjMyTeamEx'
  12021. type: array
  12022. userid:
  12023. description: 用户id
  12024. type: integer
  12025. userinfotype:
  12026. description: 用户类型 1-个人 2-企业
  12027. type: integer
  12028. type: object
  12029. models.QhjNodeAgreementConfig:
  12030. properties:
  12031. agreementcontent:
  12032. description: 协议内容
  12033. type: string
  12034. agreementid:
  12035. description: 协议ID
  12036. type: integer
  12037. agreementname:
  12038. description: 协议名称
  12039. type: string
  12040. agreementno:
  12041. description: 协议编号
  12042. type: string
  12043. agreementtype:
  12044. description: 协议类型 - 1:注册 2:登录 3:交易
  12045. type: integer
  12046. agreementversion:
  12047. description: 协议版本号
  12048. type: integer
  12049. configid:
  12050. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12051. type: integer
  12052. createtime:
  12053. description: 创建时间
  12054. type: string
  12055. goodsid:
  12056. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12057. type: integer
  12058. nodetype:
  12059. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12060. type: integer
  12061. type: object
  12062. models.QhjParentAreaList:
  12063. properties:
  12064. accountname:
  12065. description: 账户名称(机构名称)
  12066. type: string
  12067. userid:
  12068. description: 用户ID
  12069. type: integer
  12070. usertype:
  12071. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12072. type: integer
  12073. type: object
  12074. models.QhjPayOrder:
  12075. properties:
  12076. advanceratio:
  12077. description: 首付比率
  12078. type: number
  12079. buyaccountid:
  12080. description: 买方账号ID[报价币种]
  12081. type: integer
  12082. buyorderid:
  12083. description: 买方委托单号
  12084. type: string
  12085. createtime:
  12086. description: 创建时间
  12087. type: string
  12088. decimalplace:
  12089. description: 商品报价小数位
  12090. type: integer
  12091. enumdicname:
  12092. description: 单位名称
  12093. type: string
  12094. goodscode:
  12095. description: 商品代码
  12096. type: string
  12097. goodsid:
  12098. description: 商品ID
  12099. type: integer
  12100. goodsname:
  12101. description: 商品名称
  12102. type: string
  12103. goodunitid:
  12104. description: 商品单位id
  12105. type: integer
  12106. marketid:
  12107. description: 市场ID
  12108. type: integer
  12109. offamount:
  12110. description: 优惠金额
  12111. type: number
  12112. operatetype:
  12113. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12114. type: integer
  12115. payamount:
  12116. description: 支付金额
  12117. type: number
  12118. payflag:
  12119. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12120. type: integer
  12121. paylimitedtime:
  12122. description: 支付期限
  12123. type: string
  12124. paytime:
  12125. description: 付款时间
  12126. type: string
  12127. qtydecimalplace:
  12128. description: 成交量小数位
  12129. type: integer
  12130. sellaccountid:
  12131. description: 卖方账号ID[报价币种]
  12132. type: integer
  12133. sellorderid:
  12134. description: 卖方委托单号
  12135. type: string
  12136. tradeamount:
  12137. description: 成交金额(优惠后金额)
  12138. type: number
  12139. tradecharge:
  12140. description: 成交手续费(买方)
  12141. type: number
  12142. tradedate:
  12143. description: 交易日(yyyyMMdd)
  12144. type: string
  12145. tradeid:
  12146. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12147. type: string
  12148. tradeprice:
  12149. description: 成交价格
  12150. type: number
  12151. tradeqty:
  12152. description: 成交数量
  12153. type: number
  12154. type: object
  12155. models.QhjPickArea:
  12156. properties:
  12157. address:
  12158. description: 详细地址
  12159. type: string
  12160. cityid:
  12161. description: 市
  12162. type: integer
  12163. cityname:
  12164. description: 城市名称
  12165. type: string
  12166. countryid:
  12167. description: 国家
  12168. type: integer
  12169. countryname:
  12170. description: 国家名称
  12171. type: string
  12172. districtid:
  12173. description: 地区
  12174. type: integer
  12175. districtname:
  12176. description: 地区名称
  12177. type: string
  12178. fromuserid:
  12179. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12180. type: integer
  12181. fromusername:
  12182. description: 所属机构名称
  12183. type: string
  12184. provinceid:
  12185. description: 省
  12186. type: integer
  12187. provincename:
  12188. description: 省名称
  12189. type: string
  12190. suborgtype:
  12191. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12192. type: integer
  12193. userid:
  12194. description: 机构用户ID 其他做市关系,都设置为 1
  12195. type: integer
  12196. username:
  12197. description: 机构用户名称(门店门称)
  12198. type: string
  12199. type: object
  12200. models.QhjPickGoods:
  12201. properties:
  12202. enumdicname:
  12203. description: 单位名称(提货商品)
  12204. type: string
  12205. goodsid:
  12206. description: 商品id
  12207. type: integer
  12208. imageaddress:
  12209. description: 图片
  12210. type: string
  12211. modifierid:
  12212. description: 修改人
  12213. type: integer
  12214. modifiername:
  12215. description: 修改人名称
  12216. type: string
  12217. modifysrc:
  12218. description: 修改来源 - 1:管理端 2:终端
  12219. type: integer
  12220. pickupgoodsagreeunit:
  12221. description: 合约乘数
  12222. type: number
  12223. pickupgoodsdesc:
  12224. description: 描述
  12225. type: string
  12226. pickupgoodsid:
  12227. description: 提货商品ID
  12228. type: string
  12229. pickupgoodsname:
  12230. description: 提货商品名称
  12231. type: string
  12232. pickupgoodsstatus:
  12233. description: 状态 - 1:正常 2:停用 3:注销
  12234. type: integer
  12235. pickupgoodsunitid:
  12236. description: 单位ID
  12237. type: integer
  12238. pickupratio:
  12239. description: 提货系数
  12240. type: number
  12241. preparedays:
  12242. description: 备货期(天)
  12243. type: integer
  12244. remark:
  12245. description: 备注
  12246. type: string
  12247. updatetime:
  12248. description: 更新时间
  12249. type: string
  12250. type: object
  12251. models.QhjRSTriggerLog:
  12252. properties:
  12253. accountid:
  12254. description: 用户资金账户
  12255. type: integer
  12256. accountname:
  12257. description: 账号名称(ACCOUNTID对应的名称)
  12258. type: string
  12259. currencyid:
  12260. description: 币种id
  12261. type: integer
  12262. currencyname:
  12263. description: 币种名称
  12264. type: string
  12265. decimalplace:
  12266. description: 商品报价小数位
  12267. type: integer
  12268. enumdicname:
  12269. description: 单位名称
  12270. type: string
  12271. goodscode:
  12272. description: 定投商品代码
  12273. type: string
  12274. goodsid:
  12275. description: 定投商品ID
  12276. type: integer
  12277. goodsname:
  12278. description: 定投商品名称
  12279. type: string
  12280. goodunitid:
  12281. description: 定投商品单位id
  12282. type: integer
  12283. logid:
  12284. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12285. type: string
  12286. logincode:
  12287. description: 账号(登录代码)
  12288. type: string
  12289. qtydecimalplace:
  12290. description: 成交量小数位
  12291. type: integer
  12292. regularlycycle:
  12293. description: 定投频率 - 1:每周 2:每月
  12294. type: integer
  12295. regularlycyclevalue:
  12296. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12297. type: string
  12298. regularlymode:
  12299. description: 定投方式 - 1:按数量 2:按金额
  12300. type: integer
  12301. regularlymodevalue:
  12302. description: 定投方式值 - 数量或金额
  12303. type: number
  12304. regularlystrategyid:
  12305. description: 定投策略ID
  12306. type: integer
  12307. retcode:
  12308. description: 错误码
  12309. type: string
  12310. tradeid:
  12311. description: 成交单ID
  12312. type: string
  12313. triggeramount:
  12314. description: 触发金额
  12315. type: number
  12316. triggerqty:
  12317. description: 触发数量
  12318. type: number
  12319. triggerstatus:
  12320. description: 触发状态 - 1:成功 2:失败
  12321. type: integer
  12322. triggertime:
  12323. description: 触发时间
  12324. type: string
  12325. triggertradedate:
  12326. description: 触发交易日
  12327. type: string
  12328. userid:
  12329. description: 所属用户ID
  12330. type: integer
  12331. userinfotype:
  12332. description: 用户类型 1-个人 2-企业
  12333. type: integer
  12334. username:
  12335. description: 用户名称(userid对应的名称)
  12336. type: string
  12337. type: object
  12338. models.QhjRStrategy:
  12339. properties:
  12340. accountid:
  12341. description: 用户资金账户
  12342. type: integer
  12343. accountname:
  12344. description: 账号名称(ACCOUNTID对应的名称)
  12345. type: string
  12346. currencyid:
  12347. description: 币种id
  12348. type: integer
  12349. currencyname:
  12350. description: 币种名称
  12351. type: string
  12352. decimalplace:
  12353. description: 商品报价小数位
  12354. type: integer
  12355. enumdicname:
  12356. description: 单位名称
  12357. type: string
  12358. goodscode:
  12359. description: 定投商品代码
  12360. type: string
  12361. goodsid:
  12362. description: 定投商品ID
  12363. type: integer
  12364. goodsname:
  12365. description: 定投商品名称
  12366. type: string
  12367. goodunitid:
  12368. description: 定投商品单位id
  12369. type: integer
  12370. lasteffecttradedate:
  12371. description: 最新生效交易日
  12372. type: string
  12373. laststoptradedate:
  12374. description: 最新暂停交易日
  12375. type: string
  12376. lasttriggertradedate:
  12377. description: 最新触发交易日
  12378. type: string
  12379. logincode:
  12380. description: 账号(登录代码)
  12381. type: string
  12382. nexttriggeramount:
  12383. description: 下次触发金额
  12384. type: number
  12385. nexttriggerdate:
  12386. description: 下次触发日期
  12387. type: string
  12388. nexttriggerqty:
  12389. description: 下次触发数量 [按小数位放大值]
  12390. type: number
  12391. qtydecimalplace:
  12392. description: 成交量小数位
  12393. type: integer
  12394. regularlycycle:
  12395. description: 定投频率 - 1:每周 2:每月
  12396. type: integer
  12397. regularlycyclevalue:
  12398. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12399. type: string
  12400. regularlymode:
  12401. description: 定投方式 - 1:按数量 2:按金额
  12402. type: integer
  12403. regularlymodevalue:
  12404. description: 定投方式值 - 数量或金额
  12405. type: number
  12406. regularlystrategyid:
  12407. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12408. type: integer
  12409. regularlystrategystatus:
  12410. description: 策略状态 - 1:正常 2:暂停 3:终止
  12411. type: integer
  12412. remark:
  12413. description: 备注
  12414. type: string
  12415. triggersuccesstimes:
  12416. description: 累计定投成功次数
  12417. type: string
  12418. triggertotalamount:
  12419. description: 累计定投金额(成功)
  12420. type: number
  12421. triggertotalqty:
  12422. description: 累计定投数量(成功) [按小数位放大值]
  12423. type: number
  12424. triggertotaltimes:
  12425. description: 累计定投总次数
  12426. type: string
  12427. updatesrc:
  12428. description: 更新来源 - 1:管理端 2:终端
  12429. type: integer
  12430. updatetime:
  12431. description: 更新时间
  12432. type: string
  12433. updatorid:
  12434. description: 更新人
  12435. type: string
  12436. userid:
  12437. description: 所属用户ID
  12438. type: integer
  12439. userinfotype:
  12440. description: 用户类型 1-个人 2-企业
  12441. type: integer
  12442. username:
  12443. description: 用户名称(userid对应的名称)
  12444. type: string
  12445. type: object
  12446. models.QhjReckonPriceLog:
  12447. properties:
  12448. decimalplace:
  12449. description: 商品报价小数位
  12450. type: integer
  12451. goodscode:
  12452. description: 商品代码
  12453. type: string
  12454. goodsid:
  12455. description: 商品ID
  12456. type: integer
  12457. goodsname:
  12458. description: 商品名称
  12459. type: string
  12460. lastreckonprice:
  12461. description: 上日结算价
  12462. type: number
  12463. nextdnlimitprice:
  12464. description: 下个交易日跌停价
  12465. type: number
  12466. nexttrade:
  12467. description: 下个交易日
  12468. type: string
  12469. nextuplimitprice:
  12470. description: 下个交易日涨停价
  12471. type: number
  12472. reckonprice:
  12473. description: 今日结算价(定投价)
  12474. type: number
  12475. reckontime:
  12476. description: 结算时间
  12477. type: string
  12478. totalholderqty:
  12479. description: 总持仓数
  12480. type: integer
  12481. totalstock:
  12482. description: 总库存
  12483. type: integer
  12484. tradedate:
  12485. description: 交易日
  12486. type: string
  12487. updowncount:
  12488. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12489. type: integer
  12490. updownflag:
  12491. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12492. type: integer
  12493. updownrate:
  12494. description: 今日涨跌幅
  12495. type: number
  12496. updownrate_2d:
  12497. description: 连续两日涨跌幅
  12498. type: number
  12499. updownrate_3d:
  12500. description: 连续三日涨跌幅
  12501. type: number
  12502. type: object
  12503. models.QhjScoreLog:
  12504. properties:
  12505. accountid:
  12506. description: 账户ID
  12507. type: integer
  12508. createtime:
  12509. description: 创建时间(时间)
  12510. type: string
  12511. goodsid:
  12512. description: 商品ID
  12513. type: integer
  12514. hasuploaded:
  12515. description: 是否已同步(千海金) 0:未同步 1;已同步
  12516. type: integer
  12517. logid:
  12518. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12519. type: string
  12520. marketid:
  12521. description: 市场ID
  12522. type: integer
  12523. relatedamount:
  12524. description: 关联金额
  12525. type: number
  12526. relatedorderid:
  12527. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12528. type: string
  12529. scoreconfigvalue1:
  12530. description: 积分配置1
  12531. type: integer
  12532. scoreconfigvalue2:
  12533. description: 积分配置1
  12534. type: integer
  12535. scoretype:
  12536. description: 积分类型 - 1:提货积分
  12537. type: integer
  12538. scorevalue:
  12539. description: 积分
  12540. type: number
  12541. tradedate:
  12542. description: 交易日(yyyyMMdd)
  12543. type: string
  12544. uploadedtime:
  12545. description: 同步时间
  12546. type: string
  12547. userid:
  12548. description: 用户ID
  12549. type: integer
  12550. type: object
  12551. models.QhjSiteColumnDetail:
  12552. properties:
  12553. author:
  12554. description: 作者
  12555. type: string
  12556. brief:
  12557. description: 简介
  12558. type: string
  12559. columnid:
  12560. description: 所属栏目
  12561. type: integer
  12562. context:
  12563. description: 内容
  12564. type: string
  12565. coverimage:
  12566. description: 封面图片
  12567. type: string
  12568. creaedate:
  12569. description: 创建时间
  12570. type: string
  12571. creatorid:
  12572. description: 创建人
  12573. type: integer
  12574. hits:
  12575. description: 点击数
  12576. type: integer
  12577. id:
  12578. description: ID(SEQ_SITE_COLUMNDETAIL)
  12579. type: integer
  12580. isshow:
  12581. description: 是否展示 - 0:不展示 1:展示
  12582. type: integer
  12583. istop:
  12584. description: 是否置顶 - 0:不置 1:置顶
  12585. type: integer
  12586. modifierid:
  12587. description: 操作人
  12588. type: integer
  12589. publishdate:
  12590. description: 发布日期
  12591. type: string
  12592. status:
  12593. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12594. type: integer
  12595. title:
  12596. description: 标题
  12597. type: string
  12598. updatedate:
  12599. description: 修改时间
  12600. type: string
  12601. userid:
  12602. description: 用户ID(默认为0, 核心为为机构用户ID)
  12603. type: integer
  12604. username:
  12605. description: 用户名称
  12606. type: string
  12607. type: object
  12608. models.QhjTeamOrder:
  12609. properties:
  12610. accountid:
  12611. description: 账户ID[报价币种]
  12612. type: integer
  12613. accountname:
  12614. description: 账户名称
  12615. type: string
  12616. agreeunit:
  12617. description: 合约乘数
  12618. type: number
  12619. buyorsell:
  12620. description: 方向 - 0:买 1:卖
  12621. type: integer
  12622. decimalplace:
  12623. description: 报价小数位
  12624. type: integer
  12625. enumdicname:
  12626. description: 单位名称
  12627. type: string
  12628. goodscode:
  12629. description: 商品代码(内部)
  12630. type: string
  12631. goodsid:
  12632. description: 商品ID
  12633. type: integer
  12634. goodsname:
  12635. description: 商品名称
  12636. type: string
  12637. goodunitid:
  12638. description: 报价单位ID
  12639. type: integer
  12640. marketid:
  12641. description: 市场ID
  12642. type: integer
  12643. marketname:
  12644. description: 市场名称
  12645. type: string
  12646. qtydecimalplace:
  12647. description: 成交量小数位
  12648. type: integer
  12649. refereeuserid:
  12650. description: 推荐人ID
  12651. type: integer
  12652. tradeamount:
  12653. description: 成交金额[账户币种,用于所有权]
  12654. type: number
  12655. tradedate:
  12656. description: 交易日(yyyyMMdd)
  12657. type: string
  12658. trademode:
  12659. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12660. type: integer
  12661. tradeprice:
  12662. description: 成交价格
  12663. type: number
  12664. tradeqty:
  12665. description: 成交数量
  12666. type: number
  12667. tradetime:
  12668. description: 成交时间
  12669. type: string
  12670. userid:
  12671. description: 用户ID
  12672. type: integer
  12673. type: object
  12674. models.QhjTradeGoodsPickup:
  12675. properties:
  12676. accountid:
  12677. description: 账户ID
  12678. type: integer
  12679. address:
  12680. description: 提货人详细地址
  12681. type: string
  12682. amount:
  12683. description: 提货金额
  12684. type: number
  12685. artradedate:
  12686. description: 自动收货交易日(yyyyMMdd)
  12687. type: string
  12688. auditer:
  12689. description: 审核人
  12690. type: integer
  12691. auditsrc:
  12692. description: 更新来源 - 1:管理端 2:终端
  12693. type: integer
  12694. audittime:
  12695. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12696. type: string
  12697. audittradedate:
  12698. description: 审核交易日(yyyyMMdd)
  12699. type: string
  12700. cardnum:
  12701. description: 提货人证件号码
  12702. type: string
  12703. cardtypeid:
  12704. description: 提货人证件类型
  12705. type: integer
  12706. checkremark:
  12707. description: 审核备注
  12708. type: string
  12709. cityid:
  12710. description: 市
  12711. type: integer
  12712. cityname:
  12713. description: 城市名称
  12714. type: string
  12715. confirmtime:
  12716. description: 取货时间 或 收货时间
  12717. type: string
  12718. countryid:
  12719. description: 国家
  12720. type: integer
  12721. countryname:
  12722. description: 国家名称
  12723. type: string
  12724. decimalplace:
  12725. description: 商品报价小数位
  12726. type: integer
  12727. districtid:
  12728. description: 地区
  12729. type: integer
  12730. districtname:
  12731. description: 地区名称
  12732. type: string
  12733. enumdicname:
  12734. description: 单位名称(提货商品)
  12735. type: string
  12736. expresscompany:
  12737. description: 物流公司
  12738. type: string
  12739. expressnum:
  12740. description: 物流单号
  12741. type: string
  12742. goodsagreeunit:
  12743. description: 交易商品乘数
  12744. type: number
  12745. goodscode:
  12746. description: 商品代码
  12747. type: string
  12748. goodsid:
  12749. description: 商品ID
  12750. type: integer
  12751. goodsname:
  12752. description: 商品名称
  12753. type: string
  12754. goodsqty:
  12755. description: 交易商品手数(69模式按成交量小数位放大取整)
  12756. type: number
  12757. handlestatus:
  12758. description: 处理状态
  12759. type: integer
  12760. logincode:
  12761. description: 账号(登录代码, 有可能为空)
  12762. type: string
  12763. marketid:
  12764. description: 市场ID
  12765. type: integer
  12766. phonenum:
  12767. description: 提货人联系方式
  12768. type: string
  12769. pickupgoodsagreeunit:
  12770. description: 提货商品合约乘数
  12771. type: number
  12772. pickupgoodsid:
  12773. description: 提货商品ID
  12774. type: string
  12775. pickupgoodsname:
  12776. description: 提货商品名称
  12777. type: string
  12778. pickupgoodsqty:
  12779. description: 提货商品手数(数量)
  12780. type: number
  12781. pickupgoodsunitid:
  12782. description: 单位ID(提货商品)
  12783. type: integer
  12784. pickupratio:
  12785. description: 提货系数
  12786. type: number
  12787. preparedays:
  12788. description: 备货期(天)-提货单明细表
  12789. type: integer
  12790. provinceid:
  12791. description: 省
  12792. type: integer
  12793. provincename:
  12794. description: 省名称
  12795. type: string
  12796. qty:
  12797. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12798. type: number
  12799. qtydecimalplace:
  12800. description: 商品数量小数位
  12801. type: integer
  12802. recivername:
  12803. description: 提货人姓名
  12804. type: string
  12805. reqtime:
  12806. description: 提货申请时间
  12807. type: string
  12808. storeuserid:
  12809. description: 门店用户ID (千海金)
  12810. type: integer
  12811. storeusername:
  12812. description: 门店用户名称
  12813. type: string
  12814. takemode:
  12815. description: 提货方式 - 2:自提 3:配送(邮寄)
  12816. type: integer
  12817. takeorderid:
  12818. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12819. type: string
  12820. takeorderstatus:
  12821. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12822. type: integer
  12823. takeremark:
  12824. description: 提货备注
  12825. type: string
  12826. tradedate:
  12827. description: 交易日(yyyyMMdd)
  12828. type: string
  12829. updatetime:
  12830. description: 更新时间
  12831. type: string
  12832. userid:
  12833. description: 用户ID
  12834. type: integer
  12835. userinfotype:
  12836. description: 客户类型 1-个人 2-企业
  12837. type: integer
  12838. username:
  12839. description: 用户名称
  12840. type: string
  12841. type: object
  12842. models.QhjUserNodeCfgAndStatus:
  12843. properties:
  12844. agreementcontent:
  12845. description: 协议内容
  12846. type: string
  12847. agreementid:
  12848. description: 协议ID
  12849. type: integer
  12850. agreementname:
  12851. description: 协议名称
  12852. type: string
  12853. agreementno:
  12854. description: 协议编号
  12855. type: string
  12856. agreementtype:
  12857. description: 协议类型 - 1:注册 2:登录 3:交易
  12858. type: integer
  12859. agreementversion:
  12860. description: 协议版本号
  12861. type: integer
  12862. configid:
  12863. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12864. type: integer
  12865. createtime:
  12866. description: 创建时间
  12867. type: string
  12868. goodsid:
  12869. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12870. type: integer
  12871. nodetype:
  12872. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12873. type: integer
  12874. signtimestamp:
  12875. description: 签约状态时间戳(最近一次)
  12876. type: string
  12877. tradedate:
  12878. description: 签约交易日(yyyyMMdd)
  12879. type: string
  12880. userid:
  12881. description: 客户ID
  12882. type: integer
  12883. type: object
  12884. models.Qhjgoodsex:
  12885. properties:
  12886. canfinance:
  12887. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12888. type: integer
  12889. canregularlybuy:
  12890. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12891. type: integer
  12892. defaulttradeuserid:
  12893. description: 默认交易用户ID
  12894. type: integer
  12895. deliverygoodsid:
  12896. description: 现货品种ID
  12897. type: integer
  12898. goodsid:
  12899. description: 商品ID(自增ID SEQ_GOODS)
  12900. type: integer
  12901. minamount:
  12902. description: 最小购买金额
  12903. type: number
  12904. regularlybuyminamount:
  12905. description: 定投最小金额
  12906. type: number
  12907. regularlybuyminqty:
  12908. description: 定投最小数量
  12909. type: number
  12910. spotgoodsbrandid:
  12911. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12912. type: integer
  12913. visibilityforenterprise:
  12914. description: 企业客户是否可见 - 0:不可见 1:可见
  12915. type: integer
  12916. visibilityforpersonal:
  12917. description: 个人客户是否可见 - 0:不可见 1:可见
  12918. type: integer
  12919. wrstandardid:
  12920. description: 现货商品ID
  12921. type: integer
  12922. type: object
  12923. models.QueryErrorInfosRsp:
  12924. properties:
  12925. description:
  12926. description: 异常描述
  12927. type: string
  12928. errorcode:
  12929. description: 异常代码
  12930. type: string
  12931. errorid:
  12932. description: 异常ID
  12933. type: integer
  12934. modulecode:
  12935. description: 所属模块
  12936. type: string
  12937. operatecode:
  12938. description: 所属操作
  12939. type: string
  12940. rownumber:
  12941. description: 行号
  12942. type: string
  12943. required:
  12944. - errorid
  12945. type: object
  12946. models.QueryHedgeOrderDetailRsp:
  12947. properties:
  12948. accountid:
  12949. description: 账户ID
  12950. type: integer
  12951. buyorsell:
  12952. description: 买卖 - 0:买 1:卖
  12953. type: integer
  12954. cancellogincode:
  12955. description: 撤单人
  12956. type: string
  12957. channelbuildtype:
  12958. description: 开平标志 - 0:无 1:建仓 2:平仓
  12959. type: integer
  12960. channelinnerorderstatus:
  12961. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12962. type: integer
  12963. channeloperatetype:
  12964. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12965. type: integer
  12966. closetype:
  12967. description: 平仓方式 - 0:无 1:平今 2:平昨
  12968. type: integer
  12969. curexchangerate:
  12970. description: 当前汇率
  12971. type: number
  12972. decimalplace:
  12973. description: 商品报价小数位
  12974. type: integer
  12975. exchangefullname:
  12976. description: 外部交易所全称
  12977. type: string
  12978. goodscode:
  12979. description: 商品代码(内部)
  12980. type: string
  12981. goodsid:
  12982. description: 商品ID
  12983. type: integer
  12984. goodsname:
  12985. description: 商品名称
  12986. type: string
  12987. marketid:
  12988. description: 市场ID
  12989. type: integer
  12990. openfreezemargin:
  12991. description: 冻结保证金(冻结交易金额)
  12992. type: number
  12993. orderid:
  12994. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12995. type: string
  12996. orderlogincode:
  12997. description: 委托人
  12998. type: string
  12999. orderprice:
  13000. description: 委托价格(账户)
  13001. type: number
  13002. orderqty:
  13003. description: 委托数量
  13004. type: integer
  13005. ordertime:
  13006. description: 委托时间
  13007. type: string
  13008. pricemode:
  13009. description: '取价方式 - 1:市价 2: 限价'
  13010. type: integer
  13011. tradedate:
  13012. description: 交易日(yyyyMMdd)
  13013. type: string
  13014. tradeqty:
  13015. description: 成交数量
  13016. type: integer
  13017. type: object
  13018. models.QueryHedgeTradeDetailRsp:
  13019. properties:
  13020. accountid:
  13021. description: 账号ID
  13022. type: integer
  13023. buyorsell:
  13024. description: 方向 - 0:买 1:卖
  13025. type: integer
  13026. channelbuildtype:
  13027. description: 委托单据类型 0:无 1:建仓 2:平仓
  13028. type: integer
  13029. closecharge:
  13030. description: 平仓手续费(账户)
  13031. type: number
  13032. closecharge2:
  13033. description: 平仓手续费(商品)
  13034. type: number
  13035. closepl:
  13036. description: 平仓盈亏(账户)
  13037. type: number
  13038. closepl2:
  13039. description: 平仓盈亏(商品)
  13040. type: number
  13041. closepl3:
  13042. description: 平仓盈亏(账户)(逐笔)
  13043. type: number
  13044. closepl4:
  13045. description: 平仓盈亏(商品)(逐笔)
  13046. type: number
  13047. closetype:
  13048. description: 平仓方式 - 0:无 1:平今 2:平昨
  13049. type: integer
  13050. curexchangerate:
  13051. description: 当前汇率
  13052. type: number
  13053. decimalplace:
  13054. description: 商品报价小数位
  13055. type: integer
  13056. exchangefullname:
  13057. description: 外部交易所全称
  13058. type: string
  13059. goodscode:
  13060. description: 商品代码(内部)
  13061. type: string
  13062. goodsid:
  13063. description: 商品ID
  13064. type: integer
  13065. goodsname:
  13066. description: 商品名称
  13067. type: string
  13068. marketid:
  13069. description: 市场ID
  13070. type: integer
  13071. opencharge:
  13072. description: 建仓手续费(账户)
  13073. type: number
  13074. opencharge2:
  13075. description: 建仓手续费(商品)
  13076. type: number
  13077. orderid:
  13078. description: 委托单号
  13079. type: string
  13080. orderlogincode:
  13081. description: 委托人
  13082. type: string
  13083. tradeamount:
  13084. description: 成交金额(账户)
  13085. type: number
  13086. tradedate:
  13087. description: 交易日(yyyyMMdd)
  13088. type: string
  13089. tradeid:
  13090. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13091. type: string
  13092. tradeprice:
  13093. description: 成交价格
  13094. type: number
  13095. tradeqty:
  13096. description: 成交数量
  13097. type: integer
  13098. tradetime:
  13099. description: 成交时间
  13100. type: string
  13101. tradetype:
  13102. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13103. type: integer
  13104. type: object
  13105. models.QuotePrimaryMenu:
  13106. properties:
  13107. Index:
  13108. description: 序号
  13109. type: integer
  13110. Key:
  13111. description: 键名
  13112. type: string
  13113. Name:
  13114. description: 菜单名称
  13115. type: string
  13116. SubMenus:
  13117. description: 子菜单
  13118. items:
  13119. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13120. type: array
  13121. SubTitleType:
  13122. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13123. type: integer
  13124. TradeModes:
  13125. description: 包含市场交易类型
  13126. type: string
  13127. type: object
  13128. models.QuoteSecondaryMenu:
  13129. properties:
  13130. ExExchangeCode:
  13131. description: 外部交易所代码
  13132. type: string
  13133. ExExchangeID:
  13134. description: 外部交易所ID
  13135. type: integer
  13136. GoodsGroupIDs:
  13137. description: 商品组ID列表
  13138. items:
  13139. type: integer
  13140. type: array
  13141. Index:
  13142. description: 序号
  13143. type: integer
  13144. MarketID:
  13145. description: 市场ID
  13146. type: integer
  13147. MenuTitle:
  13148. description: 菜单标题(市场名称或外部交易所名称)
  13149. type: string
  13150. TradeMode:
  13151. description: 交易模式
  13152. type: integer
  13153. type: object
  13154. models.RoleMenu:
  13155. properties:
  13156. hasright:
  13157. description: 是否有权限 0-没有权限 1-有权限
  13158. type: integer
  13159. iconame:
  13160. description: 菜单图标
  13161. type: string
  13162. menutype:
  13163. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13164. type: integer
  13165. parentcode:
  13166. description: 上级资源代码
  13167. type: string
  13168. remark:
  13169. description: 菜单备注
  13170. type: string
  13171. resourcecode:
  13172. description: 菜单代码
  13173. type: string
  13174. resourcelevel:
  13175. description: 级别
  13176. type: integer
  13177. resourcename:
  13178. description: 菜单名称
  13179. type: string
  13180. roleid:
  13181. description: 角色id
  13182. type: integer
  13183. sort:
  13184. description: 排序
  13185. type: integer
  13186. subMenu:
  13187. description: 子级菜单(结构同上层一样, swag解析不出来)
  13188. items:
  13189. $ref: '#/definitions/models.RoleMenu'
  13190. type: array
  13191. url:
  13192. description: URL
  13193. type: string
  13194. userid:
  13195. description: 用户id
  13196. type: integer
  13197. type: object
  13198. models.SearchGoods:
  13199. properties:
  13200. goodscode:
  13201. description: 商品代码(内部)
  13202. type: string
  13203. goodsid:
  13204. description: 商品ID(自增ID SEQ_GOODS)
  13205. type: integer
  13206. goodsname:
  13207. description: 商品名称
  13208. type: string
  13209. marketid:
  13210. description: 所属市场ID
  13211. type: integer
  13212. marketname:
  13213. description: 市场名称
  13214. type: string
  13215. trademode:
  13216. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13217. type: integer
  13218. required:
  13219. - goodscode
  13220. - goodsid
  13221. - goodsname
  13222. - marketid
  13223. - trademode
  13224. type: object
  13225. models.Systemparam:
  13226. properties:
  13227. loginid:
  13228. description: 更新用户账号,登录账号
  13229. type: string
  13230. modifyflag:
  13231. description: 修改标志0 不允许修改 1 允许修改
  13232. type: integer
  13233. paramcode:
  13234. description: 参数代码
  13235. type: string
  13236. paramname:
  13237. description: 参数名
  13238. type: string
  13239. paramtype:
  13240. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13241. type: integer
  13242. paramvalue:
  13243. description: 参数值
  13244. type: string
  13245. paramvalue2:
  13246. description: 参数值(CLOB)
  13247. type: string
  13248. regexpress:
  13249. description: 正则表达式
  13250. type: string
  13251. remark:
  13252. description: 备注
  13253. type: string
  13254. serverip:
  13255. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13256. type: string
  13257. showflag:
  13258. description: 是否显示0 不显示 1 显示
  13259. type: integer
  13260. updatetime:
  13261. description: 更新时间
  13262. type: string
  13263. userid:
  13264. description: 更新用户ID
  13265. type: integer
  13266. required:
  13267. - paramcode
  13268. type: object
  13269. models.Szdz3convertconfig:
  13270. properties:
  13271. canin:
  13272. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13273. type: integer
  13274. canout:
  13275. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13276. type: integer
  13277. converttype:
  13278. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13279. type: integer
  13280. createtime:
  13281. description: 创建时间
  13282. type: string
  13283. creatorid:
  13284. description: 创建人
  13285. type: integer
  13286. daymaxvalue:
  13287. description: 当日最大转入限制
  13288. type: number
  13289. freezedays:
  13290. description: 冻结天数 [5:花生米转交易]
  13291. type: integer
  13292. innergoodsid:
  13293. description: 内部商品ID[交易]
  13294. type: integer
  13295. inratio:
  13296. description: 目标值
  13297. type: integer
  13298. modifierid:
  13299. description: 修改人
  13300. type: integer
  13301. modifytime:
  13302. description: 修改时间
  13303. type: string
  13304. outergoodscode:
  13305. description: 外部商品代码[JD\PD]
  13306. type: string
  13307. outratio:
  13308. description: 源值
  13309. type: integer
  13310. pddecimalplace:
  13311. description: PD小数位
  13312. type: integer
  13313. timemaxvalue:
  13314. description: 单次最大转入限制
  13315. type: number
  13316. timeminvalue:
  13317. description: 单次最小转入限制
  13318. type: number
  13319. required:
  13320. - converttype
  13321. - innergoodsid
  13322. - outergoodscode
  13323. type: object
  13324. models.Szdz3searchwhitelist:
  13325. properties:
  13326. createtime:
  13327. description: 创建时间
  13328. type: string
  13329. creatorid:
  13330. description: 创建人
  13331. type: integer
  13332. modifierid:
  13333. description: 修改人
  13334. type: integer
  13335. modifytime:
  13336. description: 修改时间
  13337. type: string
  13338. userid:
  13339. description: 用户ID
  13340. type: integer
  13341. required:
  13342. - userid
  13343. type: object
  13344. models.TBGoods:
  13345. properties:
  13346. agreeunit:
  13347. description: 合约乘数
  13348. type: number
  13349. enumdicname:
  13350. description: 单位名称
  13351. type: string
  13352. goodscode:
  13353. description: 商品代码(内部)
  13354. type: string
  13355. goodsid:
  13356. description: 商品ID(自增ID SEQ_GOODS)
  13357. type: integer
  13358. goodsname:
  13359. description: 商品名称
  13360. type: string
  13361. type: object
  13362. models.TBGoodsGroup:
  13363. properties:
  13364. GDLST:
  13365. description: 商品列表
  13366. items:
  13367. $ref: '#/definitions/models.TBGoods'
  13368. type: array
  13369. convertratio:
  13370. description: 折算系数
  13371. type: number
  13372. enumdicname:
  13373. description: 单位名称
  13374. type: string
  13375. exexchangecode:
  13376. description: 交易所代码
  13377. type: string
  13378. exexchangename:
  13379. description: 交易所名称
  13380. type: string
  13381. goodsgroupid:
  13382. description: 商品组ID(自增ID)
  13383. type: integer
  13384. goodsgroupname:
  13385. description: 商品组名称
  13386. type: string
  13387. goodunitid:
  13388. description: 报价单位ID
  13389. type: integer
  13390. type: object
  13391. models.TBMiddleGoods:
  13392. properties:
  13393. GPLST:
  13394. description: 期货品种列表
  13395. items:
  13396. $ref: '#/definitions/models.TBGoodsGroup'
  13397. type: array
  13398. WDLST:
  13399. description: 商品信息列表(现货品类)
  13400. items:
  13401. $ref: '#/definitions/models.TBWrstandard'
  13402. type: array
  13403. areauserid:
  13404. description: 机构用户ID
  13405. type: integer
  13406. enumdicname:
  13407. description: 单位名称
  13408. type: string
  13409. goodsunitid:
  13410. description: 套保品种单位id
  13411. type: integer
  13412. middlegoodscode:
  13413. description: 套保品种代码
  13414. type: string
  13415. middlegoodsid:
  13416. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13417. type: integer
  13418. middlegoodsname:
  13419. description: 套保品种名称
  13420. type: string
  13421. needarbitrageratio:
  13422. description: 套利比率
  13423. type: number
  13424. needhedgeratio:
  13425. description: 套保比率
  13426. type: number
  13427. type: object
  13428. models.TBWrstandard:
  13429. properties:
  13430. convertratio:
  13431. description: 折算系数
  13432. type: number
  13433. deliverygoodsname:
  13434. description: 品种名称
  13435. type: string
  13436. enumdicname:
  13437. description: 单位名称
  13438. type: string
  13439. vatrate:
  13440. description: 增值税率
  13441. type: number
  13442. wrstandardcode:
  13443. description: 现货商品代码
  13444. type: string
  13445. wrstandardid:
  13446. description: 现货商品ID(SEQ_WRSTANDARD)
  13447. type: integer
  13448. wrstandardname:
  13449. description: 现货商品名称
  13450. type: string
  13451. type: object
  13452. models.Taaccount:
  13453. properties:
  13454. accountflag:
  13455. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13456. type: integer
  13457. accountid:
  13458. description: 资金账户ID
  13459. type: integer
  13460. accountname:
  13461. description: 账户名称
  13462. type: string
  13463. balance:
  13464. description: 期初余额
  13465. type: number
  13466. capitalbalance:
  13467. description: 本金余额[外部子账户实际出入金余额]
  13468. type: number
  13469. changeflag:
  13470. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13471. type: integer
  13472. changetime:
  13473. description: 账户状态变更时间
  13474. type: string
  13475. closepl:
  13476. description: 今日平仓盈亏
  13477. type: number
  13478. creditdecrease:
  13479. description: 今日授信减少
  13480. type: number
  13481. creditincrease:
  13482. description: 今日授信增加
  13483. type: number
  13484. curamount:
  13485. description: 总市值(从持仓中统计)
  13486. type: number
  13487. currencyid:
  13488. description: 货币ID
  13489. type: integer
  13490. currentbalance:
  13491. description: 期末余额
  13492. type: number
  13493. freezecharge:
  13494. description: 手续费冻结
  13495. type: number
  13496. freezemargin:
  13497. description: 冻结保证金
  13498. type: number
  13499. fromaccountid:
  13500. description: 所属上级账户
  13501. type: integer
  13502. inamount:
  13503. description: 今日入金金额(包括三方入金)
  13504. type: number
  13505. ismain:
  13506. description: 是否母账号 0:不是母账户 1:是母账户
  13507. type: integer
  13508. ismarketaccount:
  13509. description: 是否机构接单账号 0:不是 1:是
  13510. type: integer
  13511. isreckonaccount:
  13512. description: 是否机构分润账号 0:不是 1:是
  13513. type: integer
  13514. mortgagecredit:
  13515. description: 授信金额
  13516. type: number
  13517. orifreezecharge:
  13518. description: 期初手续费冻结
  13519. type: number
  13520. orifreezemargin:
  13521. description: 期初冻结保证金
  13522. type: number
  13523. orimortgagecredit:
  13524. description: 期初授信金额
  13525. type: number
  13526. oriothercredit:
  13527. description: 期初其它授信金额
  13528. type: number
  13529. oriotherfreezemargin:
  13530. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13531. type: number
  13532. orioutamountfreeze:
  13533. description: 期初出金冻结
  13534. type: number
  13535. oriusedmargin:
  13536. description: 期初占用保证金
  13537. type: number
  13538. othercredit:
  13539. description: 其它授信金额
  13540. type: number
  13541. othercreditdecrease:
  13542. description: 今日其它授信减少
  13543. type: number
  13544. othercreditincrease:
  13545. description: 今日其它授信增加
  13546. type: number
  13547. otherfreezemargin:
  13548. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13549. type: number
  13550. otherincome:
  13551. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13552. type: number
  13553. otherpay:
  13554. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13555. type: number
  13556. outamount:
  13557. description: 今日出金金额(包括三方出金)
  13558. type: number
  13559. outamountfreeze:
  13560. description: 出金冻结
  13561. type: number
  13562. outthreshold:
  13563. description: 出金阈值
  13564. type: number
  13565. parentaccountid:
  13566. description: 所属根账号
  13567. type: integer
  13568. paycharge:
  13569. description: 今日手续费支出
  13570. type: number
  13571. relatedaccountstatus:
  13572. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13573. type: integer
  13574. relateduserid:
  13575. description: 关联用户
  13576. type: integer
  13577. remainamount:
  13578. description: 融资额(从融资合同中统计)
  13579. type: number
  13580. serivcegroup:
  13581. description: 服务分组
  13582. type: integer
  13583. signstatus:
  13584. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13585. type: integer
  13586. sublevelpath:
  13587. description: 账号层级路径(逗号分隔,首尾加逗号)
  13588. type: string
  13589. taaccounttype:
  13590. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13591. type: integer
  13592. thirdinamount:
  13593. description: 今日三方入金
  13594. type: number
  13595. thirdoutamount:
  13596. description: 今日三方出金
  13597. type: number
  13598. tradestatus:
  13599. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13600. type: integer
  13601. tradestatuschangetime:
  13602. description: 激活时间
  13603. type: string
  13604. transferamount:
  13605. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13606. type: number
  13607. usedmargin:
  13608. description: 占用保证金
  13609. type: number
  13610. userid:
  13611. description: 用户ID
  13612. type: integer
  13613. required:
  13614. - accountid
  13615. - userid
  13616. type: object
  13617. models.Tablecolumnconfig:
  13618. properties:
  13619. aligntype:
  13620. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13621. type: integer
  13622. autoid:
  13623. description: AutoID
  13624. type: integer
  13625. columnfield:
  13626. description: 列字段
  13627. type: string
  13628. columntitle:
  13629. description: 列Title
  13630. type: string
  13631. columnwidth:
  13632. description: 列宽
  13633. type: string
  13634. formatterstring:
  13635. description: 格式化字符
  13636. type: string
  13637. formattertype:
  13638. description: 格式化类型
  13639. type: string
  13640. groupname:
  13641. description: 表头分组名称
  13642. type: string
  13643. isshow:
  13644. description: 是否显示 - 0:不显示 1:显示
  13645. type: integer
  13646. needsummary:
  13647. description: 是否需要汇总 - 0:不需要 1:需要
  13648. type: integer
  13649. orderindex:
  13650. description: 顺序
  13651. type: integer
  13652. remark:
  13653. description: 备注
  13654. type: string
  13655. summarytype:
  13656. description: 汇总类型 - 1:加总 2:最后一个
  13657. type: integer
  13658. tablekey:
  13659. description: 列表Key
  13660. type: string
  13661. required:
  13662. - autoid
  13663. type: object
  13664. models.TjmdMarketSection:
  13665. properties:
  13666. marketsectionid:
  13667. description: 市场版块ID(SEQ_MARKETSECTION)
  13668. type: integer
  13669. marketsectionname:
  13670. description: 市场版块名称
  13671. type: string
  13672. mlist:
  13673. description: 市场列表(板块下面有多少个市场)
  13674. items:
  13675. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13676. type: array
  13677. orderindex:
  13678. description: 排序
  13679. type: integer
  13680. pictureurl:
  13681. description: 图片url, 规格(90*90)
  13682. type: string
  13683. remark:
  13684. description: 备注
  13685. type: string
  13686. type: object
  13687. models.TjmdMarketSectionConfig:
  13688. properties:
  13689. auctionwrtype:
  13690. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13691. type: integer
  13692. canacceptquote:
  13693. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13694. type: integer
  13695. cangoodsexercise:
  13696. description: '[期权]是否可现货行权- 0:否 1:是'
  13697. type: integer
  13698. cangoodsexercisetype:
  13699. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13700. type: integer
  13701. canmanualquotestrike:
  13702. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13703. type: integer
  13704. canmutistage:
  13705. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13706. type: integer
  13707. canpreexercise:
  13708. description: '[期权]是否可预申报- 0:否 1:是'
  13709. type: integer
  13710. clearinterval:
  13711. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13712. type: integer
  13713. contracttmp:
  13714. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13715. type: string
  13716. exchareaid:
  13717. description: 所属交易所,可以没有
  13718. type: integer
  13719. financemarketid:
  13720. description: 融资回购市场ID [仓单贸易]
  13721. type: integer
  13722. goodstype:
  13723. description: 商品类型 - 1:交易商品 2:仓单商品
  13724. type: integer
  13725. hasrebate:
  13726. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13727. type: integer
  13728. hastradecredit:
  13729. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13730. type: integer
  13731. haswr:
  13732. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13733. type: integer
  13734. isdeductmargin:
  13735. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13736. type: integer
  13737. isrecordsource:
  13738. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13739. type: integer
  13740. isreleasemargin:
  13741. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13742. type: integer
  13743. isupdatereckonprice:
  13744. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13745. type: integer
  13746. listingmode:
  13747. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13748. type: integer
  13749. marginformula:
  13750. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13751. type: integer
  13752. marginformula2:
  13753. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13754. type: integer
  13755. marketid:
  13756. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13757. type: integer
  13758. marketname:
  13759. description: 市场名称
  13760. type: string
  13761. marketsectionid:
  13762. description: 市场版块ID(SEQ_MARKETSECTION)
  13763. type: integer
  13764. marketserviceid:
  13765. description: 市场服务ID
  13766. type: integer
  13767. marketstatus:
  13768. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13769. type: integer
  13770. markettype:
  13771. description: 市场类型- 1:非交易服务 2:交易服务
  13772. type: integer
  13773. matchermode:
  13774. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13775. type: integer
  13776. nowrquotaflag:
  13777. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13778. type: integer
  13779. openmethod:
  13780. description: 开盘模式 - 0 自动 1手动
  13781. type: integer
  13782. orderindex:
  13783. description: 排序
  13784. type: integer
  13785. otcuserid:
  13786. description: 场外期权做市商[场外期权]
  13787. type: integer
  13788. outersynctime:
  13789. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13790. type: string
  13791. paylaterflag:
  13792. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13793. type: integer
  13794. pendingflag:
  13795. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13796. type: integer
  13797. pendingtime:
  13798. description: 待开市时间[通道交易-对冲](HH:mm)
  13799. type: string
  13800. performancetempid:
  13801. description: 履约计划模板ID - 作废
  13802. type: integer
  13803. premiumquotemode:
  13804. description: 权利金报价方式 - 1:自动 2:手动
  13805. type: integer
  13806. rebateratio:
  13807. description: 返利比率[竞价式]
  13808. type: number
  13809. reckonorder:
  13810. description: 结算顺序
  13811. type: integer
  13812. reckonpricealgorithm:
  13813. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  13814. type: integer
  13815. reckonpriceparam:
  13816. description: 结算价参数
  13817. type: integer
  13818. reckontime:
  13819. description: 结算时间[通道交易-对冲](HH:mm)
  13820. type: string
  13821. roleprioritytype:
  13822. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13823. type: integer
  13824. selllistingauditflag:
  13825. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13826. type: integer
  13827. trademarkettype:
  13828. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13829. type: integer
  13830. trademode:
  13831. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13832. type: integer
  13833. tradeproperty:
  13834. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  13835. type: integer
  13836. tradetype:
  13837. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13838. type: integer
  13839. updatereckonpriceinterval:
  13840. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13841. type: integer
  13842. type: object
  13843. models.TjmdQuoteGoods:
  13844. properties:
  13845. buyqty:
  13846. description: 买量(暂不做, 无值, 保留字段)
  13847. type: number
  13848. goodscode:
  13849. description: 合约代码
  13850. type: string
  13851. goodsgroupid:
  13852. description: 商品组ID(自增ID)
  13853. type: integer
  13854. goodsgroupname:
  13855. description: 商品组名称
  13856. type: string
  13857. goodsid:
  13858. description: 合约id
  13859. type: integer
  13860. goodsname:
  13861. description: 合约名称
  13862. type: string
  13863. refgoodscode:
  13864. description: 标的合约代码
  13865. type: string
  13866. refgoodsid:
  13867. description: 标的合约id
  13868. type: integer
  13869. refgoodsname:
  13870. description: 标的合约名称
  13871. type: string
  13872. sellqty:
  13873. description: 卖量(暂不做, 无值, 保留字段)
  13874. type: number
  13875. type: object
  13876. models.TjmdTodayAccountMargin:
  13877. properties:
  13878. accountid:
  13879. description: 账号ID
  13880. type: integer
  13881. goodsid:
  13882. description: 商品ID
  13883. type: integer
  13884. infoc:
  13885. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13886. description: 配置参数
  13887. marketid:
  13888. description: 市场ID
  13889. type: integer
  13890. type: object
  13891. models.TjmdTradeOrderDetail:
  13892. properties:
  13893. buyorsell:
  13894. description: 买卖方向 0-买 1-卖
  13895. type: integer
  13896. goodsid:
  13897. description: 商品id
  13898. type: integer
  13899. marketmaxsub:
  13900. description: 市价最大偏移范围 [浮动价 - 点差]
  13901. type: number
  13902. orderid:
  13903. description: 委托单号
  13904. type: string
  13905. orderprice:
  13906. description: 委托价格
  13907. type: number
  13908. orderqty:
  13909. description: 委托数量
  13910. type: integer
  13911. pricemode:
  13912. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13913. type: integer
  13914. userid:
  13915. description: 用户id
  13916. type: integer
  13917. username:
  13918. description: 用户名称(已脱敏)
  13919. type: string
  13920. type: object
  13921. models.TjmdTransferApply:
  13922. properties:
  13923. applyid:
  13924. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13925. type: integer
  13926. applystatus:
  13927. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13928. type: integer
  13929. applytime:
  13930. description: 申请时间(时间)
  13931. type: string
  13932. auditremark:
  13933. description: 审核备注(拒绝原因?)
  13934. type: string
  13935. begindate:
  13936. description: 开始交易日(yyyymmdd)
  13937. type: string
  13938. buyorsell:
  13939. description: 买卖 - 0:买 1:卖
  13940. type: integer
  13941. enddate:
  13942. description: 结束交易日(yyyymmdd)
  13943. type: string
  13944. goodscode:
  13945. description: 商品代码
  13946. type: string
  13947. goodsid:
  13948. description: 商品ID
  13949. type: integer
  13950. goodsname:
  13951. description: 商品名称
  13952. type: string
  13953. marketid:
  13954. description: 市场ID
  13955. type: integer
  13956. qty:
  13957. description: 转让数量(数量)
  13958. type: number
  13959. tradeid:
  13960. description: 成交单号(关联持仓)
  13961. type: string
  13962. transferamount:
  13963. description: 转让总金额(金额)
  13964. type: number
  13965. transferprice:
  13966. description: 转让价格(协议价格)
  13967. type: number
  13968. type: object
  13969. models.TradeHolderDetail:
  13970. properties:
  13971. accountid:
  13972. description: 账号ID
  13973. type: integer
  13974. agreeunit:
  13975. description: 合约乘数
  13976. type: number
  13977. buyorsell:
  13978. description: 方向 - 0:买 1:卖
  13979. type: integer
  13980. currencyid:
  13981. description: 商品币种id
  13982. type: integer
  13983. currencyname:
  13984. description: 币种名称
  13985. type: string
  13986. decimalplace:
  13987. description: 商品价格小数位
  13988. type: integer
  13989. enumdicname:
  13990. description: 商品单位名称
  13991. type: string
  13992. expirecycle:
  13993. description: 行权周期(天) - 1:滚动行权时填写
  13994. type: integer
  13995. expiredate:
  13996. description: 行权日(yyyyMMdd) - 到期日
  13997. type: string
  13998. expiretype:
  13999. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14000. type: integer
  14001. freezeqty:
  14002. description: 冻结数量
  14003. type: number
  14004. goodscode:
  14005. description: 商品代码
  14006. type: string
  14007. goodsid:
  14008. description: 商品ID
  14009. type: integer
  14010. goodsname:
  14011. description: 商品名称
  14012. type: string
  14013. goodunitid:
  14014. description: 商品单位id
  14015. type: integer
  14016. holderamount:
  14017. description: 持仓金额
  14018. type: number
  14019. holdercredit:
  14020. description: 持仓授信金额
  14021. type: number
  14022. holderdays:
  14023. description: 剩余冻结天数
  14024. type: integer
  14025. holderprice:
  14026. description: 持仓价格
  14027. type: number
  14028. holderqty:
  14029. description: 持仓数量
  14030. type: number
  14031. isconfirmexercise:
  14032. description: 是否确认行权- 0:否 1:是
  14033. type: integer
  14034. ispreexercise:
  14035. description: 是否预申报- 0:否 1:是 2:不可行权
  14036. type: integer
  14037. marketid:
  14038. description: 市场id
  14039. type: integer
  14040. marketname:
  14041. description: 市场名称
  14042. type: string
  14043. openprice:
  14044. description: 建仓价格
  14045. type: number
  14046. openqty:
  14047. description: 建仓数量
  14048. type: number
  14049. optiontype:
  14050. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14051. type: integer
  14052. preexerciseprice:
  14053. description: 预申报价格
  14054. type: number
  14055. premium:
  14056. description: 权利金
  14057. type: number
  14058. qtydecimalplace:
  14059. description: 商品成交量小数位
  14060. type: integer
  14061. refgoodscode:
  14062. description: 标的合约代码
  14063. type: string
  14064. refgoodsid:
  14065. description: 标的合约id
  14066. type: integer
  14067. releaseamount:
  14068. description: 释放持仓金额
  14069. type: number
  14070. releaseholdercredit:
  14071. description: 释放持仓授信金额
  14072. type: number
  14073. taname:
  14074. description: 资金账号名称
  14075. type: string
  14076. tradeamount:
  14077. description: 成交金额
  14078. type: number
  14079. tradedate:
  14080. description: 交易日(yyyyMMdd)
  14081. type: string
  14082. tradeid:
  14083. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14084. type: string
  14085. trademode:
  14086. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  14087. type: integer
  14088. tradeproperty:
  14089. description: 交易属性
  14090. type: integer
  14091. tradetime:
  14092. description: 交易时间
  14093. type: string
  14094. userid:
  14095. description: 用户id
  14096. type: integer
  14097. username:
  14098. description: 用户名称
  14099. type: string
  14100. type: object
  14101. models.UserCollectConfig:
  14102. properties:
  14103. accountstatus:
  14104. description: 账户状态 - 1:正常 2:停用 3:注销
  14105. type: integer
  14106. collectaccountname:
  14107. description: 收款人账户名称
  14108. type: string
  14109. collectaccountno:
  14110. description: 收款人账户
  14111. type: string
  14112. collectbankname:
  14113. description: 收款人开户行
  14114. type: string
  14115. collectbranchbankname:
  14116. description: 收款人开户支行
  14117. type: string
  14118. collectconfigid:
  14119. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14120. type: string
  14121. remark:
  14122. description: 备注
  14123. type: string
  14124. userid:
  14125. description: 收款人用户ID
  14126. type: integer
  14127. type: object
  14128. models.UserReceiveInfo:
  14129. properties:
  14130. address:
  14131. description: 提货人详细地址
  14132. type: string
  14133. autoid:
  14134. description: AutoID
  14135. type: integer
  14136. cardnum:
  14137. description: 证件号码(加密存储)
  14138. type: string
  14139. cardtypeid:
  14140. description: 证件类型
  14141. type: integer
  14142. cityid:
  14143. description: 市
  14144. type: integer
  14145. cityname:
  14146. description: 城市名称
  14147. type: string
  14148. countryid:
  14149. description: 国家
  14150. type: integer
  14151. countryname:
  14152. description: 国家名称
  14153. type: string
  14154. districtid:
  14155. description: 地区
  14156. type: integer
  14157. districtname:
  14158. description: 地区名称
  14159. type: string
  14160. hasencrypt:
  14161. description: 数据是否已加密 - 0:未加密 1:已加密
  14162. type: integer
  14163. isdefault:
  14164. description: 是否默认地址 - 0:否 1:是
  14165. type: integer
  14166. phonenum:
  14167. description: 提货人联系方式(加密存储)
  14168. type: string
  14169. provinceid:
  14170. description: 省
  14171. type: integer
  14172. provincename:
  14173. description: 省名称
  14174. type: string
  14175. receivername:
  14176. description: 提货人姓名
  14177. type: string
  14178. takeremark:
  14179. description: 提货备注
  14180. type: string
  14181. userid:
  14182. description: 用户ID
  14183. type: integer
  14184. type: object
  14185. models.Useraccount:
  14186. properties:
  14187. accountname:
  14188. description: 账户名称(机构名称)
  14189. type: string
  14190. accountstatus:
  14191. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14192. type: integer
  14193. applysrc:
  14194. description: 申请来源 - 1:管理端 2:终端
  14195. type: integer
  14196. auditremark:
  14197. description: 审核备注
  14198. type: string
  14199. auditsrc:
  14200. description: 审核来源 - 1:管理端 2:终端
  14201. type: integer
  14202. audittime:
  14203. description: 审核时间
  14204. type: string
  14205. audituserid:
  14206. description: 审核人
  14207. type: integer
  14208. broker:
  14209. description: 所属经纪人ID
  14210. type: integer
  14211. canceltime:
  14212. description: 销户时间
  14213. type: string
  14214. canceluserid:
  14215. description: 销户人
  14216. type: integer
  14217. canrecommend:
  14218. description: 是否可推荐 - 0:不可 1;可
  14219. type: integer
  14220. createtime:
  14221. description: 创建时间
  14222. type: string
  14223. creatorid:
  14224. description: 创建人
  14225. type: integer
  14226. hasauth:
  14227. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14228. type: integer
  14229. isanonymous:
  14230. description: 是否匿名下单 - 0:否 1:是
  14231. type: integer
  14232. maxinvestornum:
  14233. description: 最大用户数(经纪会员下投资者个数)
  14234. type: integer
  14235. memberuserid:
  14236. description: 所属会员ID
  14237. type: integer
  14238. modifierid:
  14239. description: 修改人
  14240. type: integer
  14241. modifyremark:
  14242. description: 变更备注
  14243. type: string
  14244. modifystatus:
  14245. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14246. type: integer
  14247. modifytime:
  14248. description: 修改时间
  14249. type: string
  14250. parenttopuser:
  14251. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14252. type: string
  14253. parentuserid:
  14254. description: 所属机构ID
  14255. type: integer
  14256. reckonaccountid:
  14257. description: 默认结算资金账号ID(机构分润使用) 作废
  14258. type: integer
  14259. refercount:
  14260. description: 推荐总人数
  14261. type: integer
  14262. refereeuserid:
  14263. description: 推荐人ID
  14264. type: integer
  14265. refernum:
  14266. description: 推荐码
  14267. type: string
  14268. rootuserid:
  14269. description: 根用户ID
  14270. type: integer
  14271. subaccountlevel:
  14272. description: 子账户层数
  14273. type: integer
  14274. subarealevelpath:
  14275. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14276. type: string
  14277. userid:
  14278. description: 用户ID
  14279. type: integer
  14280. usertype:
  14281. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14282. type: integer
  14283. required:
  14284. - userid
  14285. type: object
  14286. models.Userfavoritegoods:
  14287. properties:
  14288. goodsid:
  14289. description: 商品ID
  14290. type: integer
  14291. required:
  14292. - goodsid
  14293. type: object
  14294. models.Userinfo:
  14295. properties:
  14296. address:
  14297. description: 地址
  14298. type: string
  14299. attachment1:
  14300. description: 附件1
  14301. type: string
  14302. attachment2:
  14303. description: 附件2
  14304. type: string
  14305. bankaccount:
  14306. description: 银行帐号 (加密存储)
  14307. type: string
  14308. bankaccountname:
  14309. description: 收款人名称
  14310. type: string
  14311. bankcardfrontphotourl:
  14312. description: 银行卡正面照地址
  14313. type: string
  14314. bankid:
  14315. description: 银行编码
  14316. type: string
  14317. bankname:
  14318. description: 银行名称
  14319. type: string
  14320. biznature:
  14321. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14322. type: integer
  14323. bizscope:
  14324. description: 企业经营范围(企业)
  14325. type: string
  14326. cardbackphotourl:
  14327. description: 证件背面图片地址
  14328. type: string
  14329. cardfrontphotourl:
  14330. description: 证件正面图片地址
  14331. type: string
  14332. cardnum:
  14333. description: 证件号码(加密存储)
  14334. type: string
  14335. cardtypeid:
  14336. description: 证件类型ID
  14337. type: integer
  14338. cityid:
  14339. description: 市
  14340. type: integer
  14341. company:
  14342. description: 公司(个人)
  14343. type: string
  14344. contactname:
  14345. description: 联系人
  14346. type: string
  14347. countryid:
  14348. description: 国家
  14349. type: integer
  14350. createtime:
  14351. description: 创建时间
  14352. type: string
  14353. creatorid:
  14354. description: 创建人
  14355. type: integer
  14356. customername:
  14357. description: 客户名称(企业名称)
  14358. type: string
  14359. districtid:
  14360. description: 地区
  14361. type: integer
  14362. email:
  14363. description: 邮件(加密存储)
  14364. type: string
  14365. fax:
  14366. description: 传真(加密存储)
  14367. type: string
  14368. halfbodyphotourl:
  14369. description: 半身照地址
  14370. type: string
  14371. hasencrypt:
  14372. description: 数据是否已加密 - 0:未加密 1:已加密
  14373. type: integer
  14374. headurl:
  14375. description: 头像地址
  14376. type: string
  14377. legalcardbackphotourl:
  14378. description: 法人身份证背面照地址
  14379. type: string
  14380. legalcardfrontphotourl:
  14381. description: 法人身份证正面照地址
  14382. type: string
  14383. legalpersonname:
  14384. description: 法人姓名(企业)
  14385. type: string
  14386. mobile:
  14387. description: 手机号码(加密存储)
  14388. type: string
  14389. mobile2:
  14390. description: 手机号码[明文-尚志]
  14391. type: string
  14392. modifierid:
  14393. description: 修改人
  14394. type: integer
  14395. modifiertime:
  14396. description: 修改时间
  14397. type: string
  14398. needinvoice:
  14399. description: 是否需要发票 - 0:不需要 1:需要
  14400. type: integer
  14401. nickname:
  14402. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14403. type: string
  14404. openmode:
  14405. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14406. type: integer
  14407. otherurl:
  14408. description: 其它图片地址[使用分号分隔]
  14409. type: string
  14410. postalcode:
  14411. description: 邮政编码
  14412. type: string
  14413. provinceid:
  14414. description: 省
  14415. type: integer
  14416. qq:
  14417. description: QQ(加密存储
  14418. type: string
  14419. remark:
  14420. description: 备注
  14421. type: string
  14422. sex:
  14423. description: '用户性别 0: 女 1: 男'
  14424. type: integer
  14425. signpdfurl:
  14426. description: 签约pdf文件
  14427. type: string
  14428. telphone:
  14429. description: 联系电话(加密存储)
  14430. type: string
  14431. userid:
  14432. description: 用户ID
  14433. type: integer
  14434. userinfotype:
  14435. description: 用户信息类型 - 1:个人 2:企业
  14436. type: integer
  14437. userstatus:
  14438. description: 用户状态 - 1:正常 2:注销
  14439. type: integer
  14440. usertype:
  14441. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14442. type: integer
  14443. wechat:
  14444. description: 微信(加密存储)
  14445. type: string
  14446. wskhinfo:
  14447. description: 开户申请信息(JSON)
  14448. type: string
  14449. required:
  14450. - userid
  14451. type: object
  14452. models.WRSConverTDetail:
  14453. properties:
  14454. convertratio:
  14455. description: 套保系数
  14456. type: number
  14457. deliverygoodscode:
  14458. description: 现货商品代码
  14459. type: string
  14460. deliverygoodsid:
  14461. description: 现货品种ID
  14462. type: integer
  14463. deliverygoodsname:
  14464. description: 现货商品名称
  14465. type: string
  14466. enumdicname:
  14467. description: 单位名称
  14468. type: string
  14469. goodsunitid:
  14470. description: 套保品种单位id
  14471. type: integer
  14472. middlegoodscode:
  14473. description: 套保品种代码
  14474. type: string
  14475. middlegoodsid:
  14476. description: 套保品种ID
  14477. type: integer
  14478. middlegoodsname:
  14479. description: 套保品种名称
  14480. type: string
  14481. modifytime:
  14482. description: 修改时间
  14483. type: string
  14484. wrstandardid:
  14485. description: 品类ID
  14486. type: integer
  14487. type: object
  14488. models.WRStandardInfo:
  14489. properties:
  14490. areauserid:
  14491. description: 所属机构
  14492. type: integer
  14493. convertfactor:
  14494. description: 标仓系数
  14495. type: number
  14496. createtime:
  14497. description: 创建时间
  14498. type: string
  14499. creatorid:
  14500. description: 创建人
  14501. type: integer
  14502. deliverygoodsid:
  14503. description: 品种ID
  14504. type: integer
  14505. deliverygoodsname:
  14506. description: 交割商品名称
  14507. type: string
  14508. factoryitemjson:
  14509. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14510. type: string
  14511. isvalid:
  14512. description: 是否有效 - 0:无效 1:有效
  14513. type: integer
  14514. minivalue:
  14515. description: 最小变动值
  14516. type: integer
  14517. minivaluedp:
  14518. description: 最小变动值小数位
  14519. type: integer
  14520. realminivalue:
  14521. description: 实际最小变动值
  14522. type: integer
  14523. realminivaluedp:
  14524. description: 实际最小变动值小数位
  14525. type: integer
  14526. remark:
  14527. description: 备注
  14528. type: string
  14529. unitid:
  14530. description: 单位ID
  14531. type: integer
  14532. unitname:
  14533. description: 单位
  14534. type: string
  14535. updatetime:
  14536. description: 更新时间
  14537. type: string
  14538. updatorid:
  14539. description: 更新人
  14540. type: integer
  14541. wrsstatus:
  14542. description: 状态 - 作废 - 0:未激活 1:正常
  14543. type: integer
  14544. wrstandardcode:
  14545. description: 现货品类代码
  14546. type: string
  14547. wrstandardid:
  14548. description: 现货品类ID(SEQ_WRSTANDARD)
  14549. type: integer
  14550. wrstandardname:
  14551. description: 现货品类名称
  14552. type: string
  14553. required:
  14554. - wrstandardid
  14555. type: object
  14556. models.WRTradeBargainApply:
  14557. properties:
  14558. accountid:
  14559. description: 摘牌资金账号
  14560. type: integer
  14561. applyprice:
  14562. description: 申请价格(议价价格)
  14563. type: string
  14564. applyqty:
  14565. description: 摘牌数量(议价数量)
  14566. type: number
  14567. applyremark:
  14568. description: 申请备注
  14569. type: string
  14570. applystatus:
  14571. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14572. type: integer
  14573. applytime:
  14574. description: 申请时间(议价时间)
  14575. type: string
  14576. begindate:
  14577. description: 开始交易日(yyyymmdd)
  14578. type: string
  14579. buyorsell:
  14580. description: 买卖(挂牌类型) - 0:买 1:卖
  14581. type: integer
  14582. confirmremark:
  14583. description: 确认备注
  14584. type: string
  14585. confirmtime:
  14586. description: 确认时间
  14587. type: string
  14588. confirmuserid:
  14589. description: 确认人
  14590. type: integer
  14591. deliverygoodscode:
  14592. description: 品种代码
  14593. type: string
  14594. deliverygoodsid:
  14595. description: 品种ID
  14596. type: integer
  14597. deliverygoodsname:
  14598. description: 品种名称
  14599. type: string
  14600. deliverymonth:
  14601. description: 交收月
  14602. type: string
  14603. enddate:
  14604. description: 结束交易日(yyyymmdd)
  14605. type: string
  14606. enumdicname:
  14607. description: 单位名称
  14608. type: string
  14609. fixedprice:
  14610. description: 挂牌价格
  14611. type: number
  14612. handlestatus:
  14613. description: 处理状态
  14614. type: integer
  14615. marginvalue:
  14616. description: 履约保证金比例
  14617. type: number
  14618. marketid:
  14619. description: 市场ID
  14620. type: integer
  14621. matchaccountid:
  14622. description: 挂牌方资金账号
  14623. type: integer
  14624. matchuserid:
  14625. description: 挂牌方用户id
  14626. type: integer
  14627. matchusername:
  14628. description: 挂牌方用户名称(已脱敏)
  14629. type: string
  14630. minivalue:
  14631. description: 现货商品最小变动值
  14632. type: integer
  14633. optioncompare:
  14634. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14635. type: string
  14636. orderqty:
  14637. description: 挂牌数量
  14638. type: integer
  14639. refprice:
  14640. description: 参考价格
  14641. type: string
  14642. retcode:
  14643. description: 委托返回代码
  14644. type: integer
  14645. templatename:
  14646. description: 履约方式(履约模板名称)
  14647. type: string
  14648. tradedate:
  14649. description: 交易日(yyyyMMdd)
  14650. type: string
  14651. userid:
  14652. description: 摘牌人用户ID(议价人ID)
  14653. type: integer
  14654. username:
  14655. description: 议价人名字(已脱敏)
  14656. type: string
  14657. validtime:
  14658. description: 有效期限
  14659. type: string
  14660. warehouseid:
  14661. description: 仓库ID
  14662. type: integer
  14663. warehousename:
  14664. description: 仓库名称
  14665. type: string
  14666. wrbargainid:
  14667. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14668. type: string
  14669. wrfactortypeid:
  14670. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14671. type: string
  14672. wrfactortypename:
  14673. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14674. type: string
  14675. wrstandardcode:
  14676. description: 现货商品代码
  14677. type: string
  14678. wrstandardid:
  14679. description: 现货商品ID
  14680. type: integer
  14681. wrstandardname:
  14682. description: 商品名称
  14683. type: string
  14684. wrtradeorderid:
  14685. description: 关联委托单ID
  14686. type: string
  14687. wrtypename:
  14688. description: 商品
  14689. type: string
  14690. type: object
  14691. models.Warehouseinfo:
  14692. properties:
  14693. address:
  14694. description: 详细地址
  14695. type: string
  14696. areauserid:
  14697. description: 所属机构
  14698. type: integer
  14699. autoid:
  14700. description: 自增ID
  14701. type: integer
  14702. cityid:
  14703. description: 市
  14704. type: integer
  14705. contactname:
  14706. description: 联系人
  14707. type: string
  14708. contactnum:
  14709. description: 联系电话
  14710. type: string
  14711. countryid:
  14712. description: 国家
  14713. type: integer
  14714. createtime:
  14715. description: 创建时间
  14716. type: string
  14717. districtid:
  14718. description: 区
  14719. type: integer
  14720. hasvideo:
  14721. description: 是否有视频 - 0:无 1:有
  14722. type: integer
  14723. provinceid:
  14724. description: 省
  14725. type: integer
  14726. remark:
  14727. description: 审核备注
  14728. type: string
  14729. videourl:
  14730. description: 视频地址
  14731. type: string
  14732. warehousecode:
  14733. description: 仓库代码
  14734. type: string
  14735. warehousename:
  14736. description: 仓库名称
  14737. type: string
  14738. warehousestatus:
  14739. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14740. type: integer
  14741. warehousetype:
  14742. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14743. type: integer
  14744. required:
  14745. - autoid
  14746. - warehousecode
  14747. type: object
  14748. models.WrAverageTradePrice:
  14749. properties:
  14750. averageprice:
  14751. description: 成交均价
  14752. type: number
  14753. tradedate:
  14754. description: 交易日yyyymm
  14755. type: string
  14756. type: object
  14757. models.WrBsGoodsInfo:
  14758. properties:
  14759. buyorsell:
  14760. description: 买卖方向 0-买 1-卖
  14761. type: integer
  14762. goodsid:
  14763. description: 交易合约ID
  14764. type: integer
  14765. lstitem:
  14766. description: 商品信息项
  14767. items:
  14768. $ref: '#/definitions/models.WrTypeItem'
  14769. type: array
  14770. lststep:
  14771. description: 履约规则
  14772. items:
  14773. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14774. type: array
  14775. type: object
  14776. models.WrBuybackDetail:
  14777. properties:
  14778. buybackamount:
  14779. description: 回购金额
  14780. type: number
  14781. buybackqty:
  14782. description: 回购数量
  14783. type: number
  14784. buybackreleasemargin:
  14785. description: 回购释放保证金
  14786. type: number
  14787. buybacktime:
  14788. description: 回购时间
  14789. type: string
  14790. errordesc:
  14791. description: 错误描述
  14792. type: string
  14793. handlestatus:
  14794. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14795. type: integer
  14796. relatedwrid:
  14797. description: 关联仓单ID
  14798. type: integer
  14799. scfcontractid:
  14800. description: SCF合同ID
  14801. type: string
  14802. scfwrbuybackid:
  14803. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14804. type: integer
  14805. tradedate:
  14806. description: 交易日(yyyyMMdd)
  14807. type: string
  14808. type: object
  14809. models.WrDeliveryAvalidHoldLB:
  14810. properties:
  14811. accountid:
  14812. description: 资金账号
  14813. type: integer
  14814. avalidqty:
  14815. description: 数量(可点选数量)
  14816. type: number
  14817. deliverygoodsid:
  14818. description: 品种id
  14819. type: integer
  14820. enumdicname:
  14821. description: 单位名称
  14822. type: string
  14823. goodsid:
  14824. description: x合约商品id
  14825. type: integer
  14826. ladingbillid:
  14827. description: 提单id
  14828. type: string
  14829. pgoodscode:
  14830. description: p商品代码(点价合约)
  14831. type: string
  14832. pgoodsid:
  14833. description: p商品id(点价合约)
  14834. type: integer
  14835. pgoodsname:
  14836. description: p商品名称(点价合约)
  14837. type: string
  14838. pricemove:
  14839. description: 升贴水
  14840. type: number
  14841. subnum:
  14842. description: 提单子id
  14843. type: integer
  14844. userid:
  14845. description: 用户id
  14846. type: integer
  14847. username:
  14848. description: 仓单持有人
  14849. type: string
  14850. warehousecode:
  14851. description: 仓库代码
  14852. type: string
  14853. warehouseid:
  14854. description: 仓库id
  14855. type: integer
  14856. warehousename:
  14857. description: 仓库名称
  14858. type: string
  14859. wrfactortypeid:
  14860. description: 仓单要素id
  14861. type: string
  14862. wrstandardcode:
  14863. description: 品代码
  14864. type: string
  14865. wrstandardid:
  14866. description: 品类d
  14867. type: integer
  14868. wrstandardname:
  14869. description: 品类名称
  14870. type: string
  14871. wrtypename:
  14872. description: 商品
  14873. type: string
  14874. xgoodscode:
  14875. description: x合约代码
  14876. type: string
  14877. xgoodsname:
  14878. description: x合约名称
  14879. type: string
  14880. type: object
  14881. models.WrDeliveryDetail:
  14882. properties:
  14883. accountid:
  14884. description: 账号ID
  14885. type: integer
  14886. averageprice:
  14887. description: 交割均价 = 交割金额 / 交割数量
  14888. type: number
  14889. begindate:
  14890. description: 开始交易日(yyyymmdd)
  14891. type: string
  14892. buyorsell:
  14893. description: 方向 - 0:买 1:卖
  14894. type: integer
  14895. deliveryamount:
  14896. description: 货款金额(X总货款+P总货款)
  14897. type: number
  14898. deliveryid:
  14899. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14900. type: string
  14901. deliveryorderid:
  14902. description: 申报单号
  14903. type: string
  14904. deliverypricemove:
  14905. description: 升贴水(升贴水总额)
  14906. type: number
  14907. deliveryqty:
  14908. description: 交收数量(点选数量)
  14909. type: number
  14910. deliverystatus:
  14911. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14912. type: integer
  14913. deliverytime:
  14914. description: 交割时间
  14915. type: string
  14916. deliverytotalamount:
  14917. description: 交收金额
  14918. type: number
  14919. enddate:
  14920. description: 结束交易日(yyyymmdd)
  14921. type: string
  14922. enumdicname:
  14923. description: 单位名称
  14924. type: string
  14925. matchaccountid:
  14926. description: 对手账号ID
  14927. type: integer
  14928. matchusername:
  14929. description: 对手方名称(仓单持有人)
  14930. type: string
  14931. p1goodsremainamount:
  14932. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14933. type: number
  14934. pdeliverycloseqty:
  14935. description: p合约平仓数量
  14936. type: number
  14937. pdeliveryprice:
  14938. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14939. type: number
  14940. pgoodscode:
  14941. description: 商品代码
  14942. type: string
  14943. pgoodsid:
  14944. description: p点选合约id
  14945. type: integer
  14946. pgoodsname:
  14947. description: 商品名称
  14948. type: string
  14949. ppricemode:
  14950. description: 点价价格方式 - 1:商品价 2:固定值
  14951. type: integer
  14952. tradedate:
  14953. description: 交易日(yyyymmdd)
  14954. type: string
  14955. userid:
  14956. description: 用户id
  14957. type: integer
  14958. username:
  14959. description: 用户名称
  14960. type: string
  14961. warehousename:
  14962. description: 仓库名称
  14963. type: string
  14964. wrfactortypeid:
  14965. description: 仓单要素类型ID
  14966. type: string
  14967. wrtypename:
  14968. description: 商品
  14969. type: string
  14970. xdeliverycloseqty:
  14971. description: 合约数量
  14972. type: number
  14973. xgoodsamount:
  14974. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14975. type: number
  14976. xgoodscode:
  14977. description: 商品代码
  14978. type: string
  14979. xgoodsid:
  14980. description: x交易合约ID
  14981. type: integer
  14982. xgoodsname:
  14983. description: 商品名称
  14984. type: string
  14985. type: object
  14986. models.WrDeliveryGoodsSection:
  14987. properties:
  14988. dglst:
  14989. description: 板块商品列表
  14990. items:
  14991. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14992. type: array
  14993. imagepath:
  14994. description: 图片地址
  14995. type: string
  14996. orderindex:
  14997. description: 排序
  14998. type: integer
  14999. sectionid:
  15000. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  15001. type: integer
  15002. sectionname:
  15003. description: 版块名称
  15004. type: string
  15005. sectiontype:
  15006. description: 版块类型 - 1:指数版块 2:普通版块
  15007. type: integer
  15008. type: object
  15009. models.WrDeliveryGoodsSectionConfig:
  15010. properties:
  15011. deliverygoodscode:
  15012. description: 现货商品代码
  15013. type: string
  15014. deliverygoodsid:
  15015. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15016. type: integer
  15017. deliverygoodsname:
  15018. description: 现货商品名称
  15019. type: string
  15020. orderindex:
  15021. description: 排序
  15022. type: integer
  15023. type: object
  15024. models.WrFAProductDetail:
  15025. properties:
  15026. accountid:
  15027. description: 资金账号
  15028. type: integer
  15029. areauserid:
  15030. description: 金融机构ID
  15031. type: integer
  15032. financingdays:
  15033. description: 天数(天)
  15034. type: integer
  15035. interestminlen:
  15036. description: 最小起息天数
  15037. type: integer
  15038. interestrate:
  15039. description: 利率
  15040. type: number
  15041. interestratemode:
  15042. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15043. type: integer
  15044. interestsettlemode:
  15045. description: 结息方式 - 1:按日结息 3:按月结息
  15046. type: integer
  15047. interestsettlevalue:
  15048. description: 结息方式值
  15049. type: integer
  15050. isautoloan:
  15051. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15052. type: integer
  15053. loantag:
  15054. description: '放款标识: "放款快" 或者为空'
  15055. type: string
  15056. marginratio:
  15057. description: 保证金比率质押率 - [仓单质押]
  15058. type: number
  15059. productdetailid:
  15060. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15061. type: integer
  15062. productid:
  15063. description: 金融产品ID
  15064. type: integer
  15065. productname:
  15066. description: 产品名称
  15067. type: string
  15068. updatetime:
  15069. description: 更新时间
  15070. type: string
  15071. username:
  15072. description: 融出方
  15073. type: string
  15074. type: object
  15075. models.WrFactorTypeInfo:
  15076. properties:
  15077. deliverygoodscode:
  15078. description: 品种代码
  15079. type: string
  15080. deliverygoodsname:
  15081. description: 品种名称
  15082. type: string
  15083. dgfactoryitemid:
  15084. description: 选择项id
  15085. type: integer
  15086. dgfactoryitemtypeid:
  15087. description: 要素选择项ID (1-仓库 2-品牌)
  15088. type: integer
  15089. dgfactoryitemvalue:
  15090. description: 要素项值
  15091. type: string
  15092. itemtypename:
  15093. description: 要素项名称
  15094. type: string
  15095. optioncompare:
  15096. description: 选择比较串
  15097. type: string
  15098. warehouseid:
  15099. description: 仓库id
  15100. type: integer
  15101. wrfactortypeid:
  15102. description: 仓单要素ID
  15103. type: string
  15104. wrfactortypename:
  15105. description: 要素名称
  15106. type: string
  15107. wrfactortypename2:
  15108. description: 要素名称(不含仓库)
  15109. type: string
  15110. wrstandardcode:
  15111. description: 品类代码
  15112. type: string
  15113. wrstandardid:
  15114. description: 品类id
  15115. type: integer
  15116. wrstandardname:
  15117. description: 品类名称
  15118. type: string
  15119. type: object
  15120. models.WrFilterItem:
  15121. properties:
  15122. itemcode:
  15123. description: 代码
  15124. type: string
  15125. itemid:
  15126. description: 项id
  15127. type: integer
  15128. itemname:
  15129. description: 名称
  15130. type: string
  15131. itemtype:
  15132. description: 类型 1-品种 2-品类(商品) 3-仓库
  15133. type: integer
  15134. type: object
  15135. models.WrFinanceBuyApply:
  15136. properties:
  15137. applydate:
  15138. description: 申请时间
  15139. type: string
  15140. applystatus:
  15141. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15142. type: integer
  15143. applyuserid:
  15144. description: 申请人
  15145. type: integer
  15146. auditdate:
  15147. description: 审核时间
  15148. type: string
  15149. auditremark:
  15150. description: 审核备注
  15151. type: string
  15152. audituserid:
  15153. description: 审核人
  15154. type: integer
  15155. buyaccountid:
  15156. description: 买方资金账号
  15157. type: integer
  15158. buyorsell:
  15159. description: 买卖 - 0:买 1:卖
  15160. type: integer
  15161. buyuserid:
  15162. description: 买方用户ID
  15163. type: integer
  15164. buyusername:
  15165. description: 买方名称
  15166. type: string
  15167. buywrtradeorderid:
  15168. description: 融资方买委托单ID
  15169. type: string
  15170. deliverygoodscode:
  15171. description: 品种代码
  15172. type: string
  15173. deliverygoodsid:
  15174. description: 品种ID
  15175. type: integer
  15176. deliverygoodsname:
  15177. description: 品种名称
  15178. type: string
  15179. deliverymonth:
  15180. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15181. type: string
  15182. enumdicname:
  15183. description: 单位名称
  15184. type: string
  15185. financeaccountid:
  15186. description: 融资方资金帐户ID
  15187. type: integer
  15188. financeapplyid:
  15189. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15190. type: string
  15191. financeareauserid:
  15192. description: 融资方用户ID
  15193. type: string
  15194. financename:
  15195. description: 融出方名称
  15196. type: string
  15197. financetype:
  15198. description: 融资类型 1-融资回购
  15199. type: integer
  15200. financingdays:
  15201. description: 天数(天)
  15202. type: integer
  15203. freezebuymargin:
  15204. description: 冻结融资保证金(买方)
  15205. type: number
  15206. handleremark:
  15207. description: 处理备注
  15208. type: string
  15209. handlestatus:
  15210. description: 处理状态
  15211. type: integer
  15212. interestminlen:
  15213. description: 最小起息天数
  15214. type: integer
  15215. interestrate:
  15216. description: 利率
  15217. type: number
  15218. interestratemode:
  15219. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15220. type: integer
  15221. interestsettlemode:
  15222. description: 结息方式 - 1:按日结息 3:按月结息
  15223. type: integer
  15224. interestsettlevalue:
  15225. description: 结息方式值
  15226. type: integer
  15227. isautoloan:
  15228. description: 是否自动放款 - 0:手动 1:自动
  15229. type: integer
  15230. marginratio:
  15231. description: 保证金比率质押率 - [仓单质押]
  15232. type: number
  15233. marketid:
  15234. description: 市场ID
  15235. type: integer
  15236. minivalue:
  15237. description: 现货商品最小变动值
  15238. type: integer
  15239. optioncompare:
  15240. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15241. type: string
  15242. orderqty:
  15243. description: 委托数量(商品数量)
  15244. type: number
  15245. productdetailid:
  15246. description: 产品组合ID
  15247. type: integer
  15248. productid:
  15249. description: 金融产品ID
  15250. type: integer
  15251. productname:
  15252. description: 产品名称
  15253. type: string
  15254. remark:
  15255. description: 备注
  15256. type: string
  15257. scfcontractid:
  15258. description: 仓单回购合同ID
  15259. type: string
  15260. sellaccountid:
  15261. description: 卖方资金账号
  15262. type: integer
  15263. selluserid:
  15264. description: 卖方用户ID
  15265. type: integer
  15266. sellwrtradeorderid:
  15267. description: 卖方委托单ID
  15268. type: string
  15269. tradeamount:
  15270. description: 成交金额(借款金额)
  15271. type: number
  15272. tradedate:
  15273. description: 交易日(yyyyMMdd)
  15274. type: string
  15275. tradeprice:
  15276. description: 成交价格
  15277. type: number
  15278. warehouseid:
  15279. description: 仓库ID
  15280. type: integer
  15281. warehousename:
  15282. description: 仓库名称
  15283. type: string
  15284. wrfactortypeid:
  15285. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15286. type: string
  15287. wrfactortypename:
  15288. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15289. type: string
  15290. wrpricetype:
  15291. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15292. type: integer
  15293. wrstandardcode:
  15294. description: 现货商品代码
  15295. type: string
  15296. wrstandardid:
  15297. description: 现货商品ID
  15298. type: integer
  15299. wrstandardname:
  15300. description: 商品名称
  15301. type: string
  15302. wrtypename:
  15303. description: 商品
  15304. type: string
  15305. type: object
  15306. models.WrFriendApply:
  15307. properties:
  15308. applicantid:
  15309. description: 申请人
  15310. type: integer
  15311. applyname:
  15312. description: 申请人名称
  15313. type: string
  15314. applysrc:
  15315. description: 申请来源 - 1:管理端 2:终端
  15316. type: integer
  15317. applystatus:
  15318. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15319. type: integer
  15320. applytime:
  15321. description: 申请时间
  15322. type: string
  15323. auditname:
  15324. description: 审核人名称
  15325. type: string
  15326. auditorid:
  15327. description: 审核人
  15328. type: integer
  15329. auditremark:
  15330. description: 审核备注
  15331. type: string
  15332. auditsrc:
  15333. description: 审核来源 - 1:管理端 2:终端
  15334. type: integer
  15335. audittime:
  15336. description: 审核时间
  15337. type: string
  15338. friendapplyid:
  15339. description: 申请ID(SEQ_FRIENDAPPLY)
  15340. type: string
  15341. friendname:
  15342. description: 好友名字(已脱敏)
  15343. type: string
  15344. frienduserid:
  15345. description: 好友用户ID
  15346. type: string
  15347. remark:
  15348. description: 备注
  15349. type: string
  15350. userid:
  15351. description: 申请人用户ID
  15352. type: integer
  15353. type: object
  15354. models.WrFtDeliveryGoods:
  15355. properties:
  15356. deliverygoodscode:
  15357. description: 品种代码
  15358. type: string
  15359. deliverygoodsid:
  15360. description: 品种ID
  15361. type: integer
  15362. deliverygoodsname:
  15363. description: 品种名称
  15364. type: string
  15365. wdlst:
  15366. description: 商品列表
  15367. items:
  15368. $ref: '#/definitions/models.WrFtWrstandard'
  15369. type: array
  15370. type: object
  15371. models.WrFtWrstandard:
  15372. properties:
  15373. enumdicname:
  15374. description: 单位名称
  15375. type: string
  15376. minivalue:
  15377. description: 最小变动值
  15378. type: integer
  15379. wrstandardcode:
  15380. description: 现货商品代码
  15381. type: string
  15382. wrstandardid:
  15383. description: 现货商品ID
  15384. type: integer
  15385. wrstandardname:
  15386. description: 商品名称
  15387. type: string
  15388. type: object
  15389. models.WrGoodsInfo:
  15390. properties:
  15391. haswr:
  15392. description: 0:仓单预售 1:仓单贸易
  15393. type: integer
  15394. lstitem:
  15395. description: 商品信息项
  15396. items:
  15397. $ref: '#/definitions/models.WrTypeItem'
  15398. type: array
  15399. lststep:
  15400. description: 履约规则
  15401. items:
  15402. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15403. type: array
  15404. marketid:
  15405. description: 市场id
  15406. type: integer
  15407. type: object
  15408. models.WrGoodsPerformanceStep:
  15409. properties:
  15410. autoid:
  15411. description: AutoID
  15412. type: integer
  15413. isauto:
  15414. description: 是否自动 - 0:不自动 1:自动
  15415. type: integer
  15416. remark:
  15417. description: 备注
  15418. type: string
  15419. stepdate:
  15420. description: 天数信息(T+N)
  15421. type: string
  15422. stepdays:
  15423. description: 距离上一步天数
  15424. type: integer
  15425. stepindex:
  15426. description: 步骤序号
  15427. type: integer
  15428. stepinfo:
  15429. description: 步骤信息(步骤名称+步骤值)
  15430. type: string
  15431. steptypeid:
  15432. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15433. type: integer
  15434. steptypename:
  15435. description: 步骤名称
  15436. type: string
  15437. stepvalue:
  15438. description: 步骤值
  15439. type: number
  15440. templateid:
  15441. description: 履约计划模板ID
  15442. type: integer
  15443. type: object
  15444. models.WrHoldLB:
  15445. properties:
  15446. accountid:
  15447. description: 持有人帐户ID
  15448. type: integer
  15449. createtime:
  15450. description: 创建时间(过户时间)
  15451. type: string
  15452. deliverygoodscode:
  15453. description: 品种代码
  15454. type: string
  15455. deliverygoodsid:
  15456. description: 品种ID
  15457. type: integer
  15458. deliverygoodsname:
  15459. description: 品种名称
  15460. type: string
  15461. enableqty:
  15462. description: 可用数量
  15463. type: number
  15464. enumdicname:
  15465. description: 单位名称
  15466. type: string
  15467. freezerqty:
  15468. description: 冻结数量
  15469. type: number
  15470. ladingbillid:
  15471. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15472. type: string
  15473. minivalue:
  15474. description: 现货商品最小变动值
  15475. type: integer
  15476. optioncompare:
  15477. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15478. type: string
  15479. parentsubnum:
  15480. description: 拆分父子单号
  15481. type: integer
  15482. pledgeqty:
  15483. description: 质押数量
  15484. type: number
  15485. qty:
  15486. description: 数量
  15487. type: number
  15488. subnum:
  15489. description: 提单子单号
  15490. type: integer
  15491. tradedate:
  15492. description: 交易日(yyyyMMdd)
  15493. type: string
  15494. userid:
  15495. description: 持有人ID
  15496. type: integer
  15497. warehouseid:
  15498. description: 仓库ID
  15499. type: integer
  15500. warehousename:
  15501. description: 仓库名称
  15502. type: string
  15503. wrfactortypeid:
  15504. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15505. type: string
  15506. wrfactortypename:
  15507. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15508. type: string
  15509. wrholdeno:
  15510. description: 仓单编号
  15511. type: string
  15512. wrid:
  15513. description: 仓单变更ID
  15514. type: string
  15515. wrstandardcode:
  15516. description: 现货商品代码
  15517. type: string
  15518. wrstandardid:
  15519. description: 现货商品ID
  15520. type: integer
  15521. wrstandardname:
  15522. description: 商品名称
  15523. type: string
  15524. wrtypename:
  15525. description: 商品
  15526. type: string
  15527. type: object
  15528. models.WrMarketTradeConfig:
  15529. properties:
  15530. basisdownratio:
  15531. description: 浮动价基差下限比例(仓单贸易)
  15532. type: number
  15533. basisupratio:
  15534. description: 浮动价基差上限比例(仓单贸易)
  15535. type: number
  15536. buychargealgorithm:
  15537. description: 买方手续费收取方式 1:比率 2:固定
  15538. type: integer
  15539. buychargealgorithm2:
  15540. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15541. type: integer
  15542. buychargealgorithmvalue:
  15543. description: 买方手续费设置值(交易所部分)
  15544. type: number
  15545. buychargealgorithmvalue2:
  15546. description: 买方手续费设置值(会员部分)
  15547. type: number
  15548. buychargealgorithmvalue3:
  15549. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15550. type: number
  15551. buychargealgorithmvalue4:
  15552. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15553. type: number
  15554. buyfirstmarginalgorithm:
  15555. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15556. type: integer
  15557. buyfirstmarginvalue:
  15558. description: 买方出价保证金设置值 - [竞拍]
  15559. type: number
  15560. buymarginalgorithm:
  15561. description: 买方保证金方式 - 1:比率 2:固定
  15562. type: integer
  15563. buymarginvalue:
  15564. description: 买方保证金设置值
  15565. type: number
  15566. buyreleaseratio:
  15567. description: 买方释放比率[2:分步履约]
  15568. type: number
  15569. executemode:
  15570. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15571. type: integer
  15572. executeside:
  15573. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15574. type: integer
  15575. failedchargealgorithm:
  15576. description: 流拍手续费收取方式 1:比率 2:固定
  15577. type: integer
  15578. failedchargevalue:
  15579. description: 流拍手续费设置值
  15580. type: number
  15581. failedchargevalue2:
  15582. description: 流拍卖方手续费设置值
  15583. type: number
  15584. holddays:
  15585. description: 合同期限[2:分步履约]
  15586. type: integer
  15587. marketid:
  15588. description: 市场ID-仓单贸易、竞拍、预售
  15589. type: integer
  15590. minqty:
  15591. description: 最小执行量[2:分步履约]
  15592. type: number
  15593. modifierid:
  15594. description: 修改人
  15595. type: integer
  15596. performancetempid:
  15597. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15598. type: integer
  15599. performancetempid2:
  15600. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15601. type: integer
  15602. performancetempid2s:
  15603. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15604. type: string
  15605. performancetempids:
  15606. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15607. type: string
  15608. performanceway:
  15609. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15610. type: integer
  15611. sellchargealgorithm:
  15612. description: 卖方手续费收取方式 1:比率 2:固定
  15613. type: integer
  15614. sellchargealgorithm2:
  15615. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15616. type: integer
  15617. sellchargealgorithmvalue:
  15618. description: 卖方手续费设置值(交易所部分)
  15619. type: number
  15620. sellchargealgorithmvalue2:
  15621. description: 卖方手续费设置值(会员部分)
  15622. type: number
  15623. sellchargealgorithmvalue3:
  15624. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15625. type: number
  15626. sellchargealgorithmvalue4:
  15627. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15628. type: number
  15629. sellmarginalgorithm:
  15630. description: 卖方保证金方式 - 1:比率 2:固定
  15631. type: integer
  15632. sellmarginvalue:
  15633. description: 卖方保证金设置值
  15634. type: number
  15635. sellmarginvalue2:
  15636. description: 卖方保证金设置值(无仓单)
  15637. type: number
  15638. sellreleaseratio:
  15639. description: 卖方释放比率[2:分步履约]
  15640. type: number
  15641. updatetime:
  15642. description: 更新时间
  15643. type: string
  15644. type: object
  15645. models.WrOrderDetail:
  15646. properties:
  15647. accountid:
  15648. description: 交易账号(资金账号)
  15649. type: integer
  15650. allfriendsflag:
  15651. description: 是否全好友可见 - 0:否 1:是
  15652. type: integer
  15653. amount:
  15654. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15655. type: number
  15656. begindate:
  15657. description: 开始交易日(yyyymmdd)
  15658. type: string
  15659. buyorsell:
  15660. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15661. type: integer
  15662. canbargain:
  15663. description: 是否可议价 - 0:不可 1:可
  15664. type: integer
  15665. cancelqty:
  15666. description: 撤销数量
  15667. type: number
  15668. canpart:
  15669. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15670. type: integer
  15671. delistminqty:
  15672. description: 起摘数量
  15673. type: integer
  15674. deliverygoodscode:
  15675. description: 品种代码
  15676. type: string
  15677. deliverygoodsid:
  15678. description: 品种ID
  15679. type: integer
  15680. deliverygoodsname:
  15681. description: 品种名称
  15682. type: string
  15683. deliverymonth:
  15684. description: 交收月
  15685. type: string
  15686. enddate:
  15687. description: 结束交易日(yyyymmdd)
  15688. type: string
  15689. enumdicname:
  15690. description: 单位名称
  15691. type: string
  15692. fixedprice:
  15693. description: 固定价格 - [挂牌]
  15694. type: number
  15695. freezecharge:
  15696. description: 冻结手续费
  15697. type: number
  15698. freezemargin:
  15699. description: 冻结保证金(保证金)
  15700. type: number
  15701. futupricemove:
  15702. description: 期货升贴水
  15703. type: number
  15704. futushow:
  15705. description: 期货合约/升贴水
  15706. type: string
  15707. goodscode:
  15708. description: 期货合约
  15709. type: string
  15710. goodsid:
  15711. description: 期货商品id
  15712. type: integer
  15713. goodsname:
  15714. description: 商品名称
  15715. type: string
  15716. haswr:
  15717. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15718. type: integer
  15719. isspecified:
  15720. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15721. type: integer
  15722. ladingbillid:
  15723. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15724. type: string
  15725. marginvalue:
  15726. description: 保证金设置值(履约保证金)
  15727. type: number
  15728. marketid:
  15729. description: 市场ID
  15730. type: integer
  15731. matchusername:
  15732. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15733. type: string
  15734. minivalue:
  15735. description: 现货商品最小变动值
  15736. type: integer
  15737. optioncompare:
  15738. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15739. type: string
  15740. orderqty:
  15741. description: 委托数量
  15742. type: number
  15743. ordertime:
  15744. description: 委托时间(挂牌时间)
  15745. type: string
  15746. performancetemplateid:
  15747. description: 履约模板id
  15748. type: integer
  15749. pricemove:
  15750. description: 升贴水(浮动价时填写) - [挂牌]
  15751. type: number
  15752. taname:
  15753. description: 交易用户名称(资金账号名称)
  15754. type: string
  15755. tradedate:
  15756. description: 交易日(yyyyMMdd)
  15757. type: string
  15758. tradeprice:
  15759. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15760. type: number
  15761. tradeqty:
  15762. description: 成交数量
  15763. type: number
  15764. userid:
  15765. description: 用户ID
  15766. type: integer
  15767. validtime:
  15768. description: 挂牌有效期
  15769. type: string
  15770. validtype:
  15771. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15772. type: integer
  15773. warehouseid:
  15774. description: 仓库ID
  15775. type: integer
  15776. warehousename:
  15777. description: 仓库名称
  15778. type: string
  15779. wrfactortypeid:
  15780. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15781. type: string
  15782. wrfactortypename:
  15783. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15784. type: string
  15785. wrpricetype:
  15786. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15787. type: integer
  15788. wrstandardcode:
  15789. description: 现货商品代码
  15790. type: string
  15791. wrstandardid:
  15792. description: 现货商品ID
  15793. type: integer
  15794. wrstandardname:
  15795. description: 商品名称
  15796. type: string
  15797. wrtradeorderid:
  15798. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15799. type: string
  15800. wrtradeorderstatus:
  15801. 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:撤单解冻贷款失败
  15802. type: integer
  15803. wrtradetype:
  15804. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15805. type: integer
  15806. wrtypename:
  15807. description: 商品
  15808. type: string
  15809. type: object
  15810. models.WrOrderQuote:
  15811. properties:
  15812. buyprice:
  15813. description: 买价
  15814. type: number
  15815. buypricemove:
  15816. description: 买升贴水(基差)
  15817. type: number
  15818. buyqty:
  15819. description: 买量
  15820. type: number
  15821. deliverygoodscode:
  15822. description: 品种代码
  15823. type: string
  15824. deliverygoodsid:
  15825. description: 品种id
  15826. type: integer
  15827. deliverygoodsname:
  15828. description: 品种名称
  15829. type: string
  15830. deliverymonth:
  15831. description: 交收月
  15832. type: string
  15833. enumdicname:
  15834. description: 单位名称
  15835. type: string
  15836. goodscode:
  15837. description: 商品合约(浮动价列表才有)
  15838. type: string
  15839. goodsid:
  15840. description: 商品id(浮动价列表才有)
  15841. type: integer
  15842. minivalue:
  15843. description: 现货商品最小变动值
  15844. type: integer
  15845. sellprice:
  15846. description: 卖价
  15847. type: number
  15848. sellpricemove:
  15849. description: 卖升贴水(基差)
  15850. type: number
  15851. sellqty:
  15852. description: 卖量
  15853. type: number
  15854. warehousecode:
  15855. description: 仓库代码
  15856. type: string
  15857. warehouseid:
  15858. description: 仓库id
  15859. type: integer
  15860. warehousename:
  15861. description: 仓库名称
  15862. type: string
  15863. wrfactortypeid:
  15864. description: 仓单要素id
  15865. type: string
  15866. wrfactortypename:
  15867. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15868. type: string
  15869. wrgoodsname:
  15870. description: 商品(商品名称+仓库要素名称 拼接)
  15871. type: string
  15872. wrstandardcode:
  15873. description: 商品代码
  15874. type: string
  15875. wrstandardid:
  15876. description: 商品id
  15877. type: integer
  15878. wrstandardname:
  15879. description: 商品名称
  15880. type: string
  15881. type: object
  15882. models.WrOrderQuoteDetail:
  15883. properties:
  15884. buyorsell:
  15885. description: 买卖 - 0:买 1:卖
  15886. type: integer
  15887. delistminqty:
  15888. description: 起摘数量
  15889. type: number
  15890. deliverymonth:
  15891. description: 交收月
  15892. type: string
  15893. enumdicname:
  15894. description: 单位名称
  15895. type: string
  15896. fixedprice:
  15897. description: 买(卖)价
  15898. type: number
  15899. marketid:
  15900. description: 市场id
  15901. type: integer
  15902. minivalue:
  15903. description: 现货商品最小变动值
  15904. type: integer
  15905. orderqty:
  15906. description: 买(卖)量(=委托量-成交量)
  15907. type: number
  15908. ordertime:
  15909. description: 委托时间
  15910. type: string
  15911. pricemove:
  15912. description: 买(卖)升贴水- 基差
  15913. type: number
  15914. userid:
  15915. description: 购买方(销售方)用户ID
  15916. type: integer
  15917. username:
  15918. description: 购买方(销售方)
  15919. type: string
  15920. wrtradeorderid:
  15921. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15922. type: string
  15923. type: object
  15924. models.WrOutInApply:
  15925. properties:
  15926. applyid:
  15927. description: 申请单id
  15928. type: string
  15929. applystatus:
  15930. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15931. type: integer
  15932. applytime:
  15933. description: 申请时间
  15934. type: string
  15935. applytype:
  15936. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15937. type: integer
  15938. begindate:
  15939. description: 开始交易日(yyyymmdd)
  15940. type: string
  15941. deliverygoodscode:
  15942. description: 品种代码
  15943. type: string
  15944. deliverygoodsid:
  15945. description: 品种ID
  15946. type: integer
  15947. deliverygoodsname:
  15948. description: 品种名称
  15949. type: string
  15950. enddate:
  15951. description: 结束交易日(yyyymmdd)
  15952. type: string
  15953. enumdicname:
  15954. description: 单位名称
  15955. type: string
  15956. expresscompany:
  15957. description: 物流公司
  15958. type: string
  15959. expressnum:
  15960. description: 物流单号
  15961. type: string
  15962. minivalue:
  15963. description: 现货商品最小变动值
  15964. type: integer
  15965. optioncompare:
  15966. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15967. type: string
  15968. qty:
  15969. description: 数量
  15970. type: integer
  15971. userid:
  15972. description: 用户id
  15973. type: integer
  15974. warehouseid:
  15975. description: 仓库ID
  15976. type: integer
  15977. warehousename:
  15978. description: 仓库名称
  15979. type: string
  15980. wrfactortypeid:
  15981. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15982. type: string
  15983. wrfactortypename:
  15984. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15985. type: string
  15986. wrstandardcode:
  15987. description: 现货商品代码
  15988. type: string
  15989. wrstandardid:
  15990. description: 现货商品ID
  15991. type: integer
  15992. wrstandardname:
  15993. description: 商品名称
  15994. type: string
  15995. wrtypename:
  15996. description: 商品
  15997. type: string
  15998. type: object
  15999. models.WrPerformancePlan:
  16000. properties:
  16001. activatemonth:
  16002. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16003. type: string
  16004. amount:
  16005. description: 履约金额(总金额)
  16006. type: number
  16007. begindate:
  16008. description: 开始交易日(yyyymmdd)
  16009. type: string
  16010. buyaccountid:
  16011. description: 买方账号
  16012. type: integer
  16013. buyerfreezeamount:
  16014. description: 履约冻结(买履约)
  16015. type: number
  16016. buyerfreezeamountremain:
  16017. description: 履约冻结剩余(买履约)
  16018. type: number
  16019. buyorsell:
  16020. description: 买卖方向 0-买 1-卖
  16021. type: integer
  16022. buypaidamount:
  16023. description: 买方已冻/已扣金额 (已付金额)
  16024. type: number
  16025. buyusername:
  16026. description: 买方名字
  16027. type: string
  16028. contractid:
  16029. description: 合同ID
  16030. type: integer
  16031. createtime:
  16032. description: 创建时间
  16033. type: string
  16034. creatorid:
  16035. description: 创建人
  16036. type: integer
  16037. curstepdeadline:
  16038. description: 当前步骤到期时间
  16039. type: string
  16040. curstepid:
  16041. description: 当前步骤ID
  16042. type: string
  16043. curstepname:
  16044. description: 当前步骤名称
  16045. type: string
  16046. deliverygoodscode:
  16047. description: 品种代码
  16048. type: string
  16049. deliverygoodsid:
  16050. description: 品种ID
  16051. type: integer
  16052. deliverygoodsname:
  16053. description: 品种名称
  16054. type: string
  16055. enddate:
  16056. description: 结束交易日(yyyymmdd)
  16057. type: string
  16058. enumdicname:
  16059. description: 单位名称
  16060. type: string
  16061. expressfee:
  16062. description: 运费
  16063. type: number
  16064. expressfeeconfirmed:
  16065. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16066. type: integer
  16067. hasovershort:
  16068. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16069. type: integer
  16070. haswr:
  16071. description: 类型 0-仓单预售 1-仓单贸易
  16072. type: integer
  16073. marketid:
  16074. description: 市场ID
  16075. type: integer
  16076. middleaccountid:
  16077. description: 中间商资金账号ID
  16078. type: integer
  16079. middleuserid:
  16080. description: 中间商用户ID
  16081. type: integer
  16082. minivalue:
  16083. description: 现货商品最小变动值
  16084. type: integer
  16085. optioncompare:
  16086. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16087. type: string
  16088. overshortamount:
  16089. description: 溢短金额
  16090. type: number
  16091. overshortqty:
  16092. description: 溢短数量
  16093. type: number
  16094. paymenttype:
  16095. description: 付款方式 - 1:冻结 2:扣款
  16096. type: integer
  16097. performanceplanid:
  16098. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16099. type: string
  16100. performancestatus:
  16101. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  16102. type: integer
  16103. performancetype:
  16104. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16105. type: integer
  16106. qty:
  16107. description: 履约数量
  16108. type: number
  16109. relatedorderid:
  16110. description: 关联单号(履约类型的关联单号)
  16111. type: string
  16112. remark:
  16113. description: 备注
  16114. type: string
  16115. sellaccountid:
  16116. description: 卖方账号
  16117. type: integer
  16118. sellerfreezeamount:
  16119. description: 履约冻结(卖履约)
  16120. type: number
  16121. sellerfreezeamountremain:
  16122. description: 履约冻结剩余(卖履约)
  16123. type: number
  16124. sellreceivedamount:
  16125. description: 卖方已收金额
  16126. type: number
  16127. sellusername:
  16128. description: 卖方名字
  16129. type: string
  16130. shipremark:
  16131. description: 发货备注[物流单号]
  16132. type: string
  16133. starttime:
  16134. description: 开始时间
  16135. type: string
  16136. steptypeid:
  16137. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16138. type: integer
  16139. typename:
  16140. description: 履约类型 名称
  16141. type: string
  16142. unpaidamount:
  16143. description: 剩余款(待支付金额)
  16144. type: number
  16145. userid:
  16146. description: 用户id
  16147. type: integer
  16148. warehouseid:
  16149. description: 仓库ID
  16150. type: integer
  16151. warehousename:
  16152. description: 仓库名称
  16153. type: string
  16154. wrfactortypeid:
  16155. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16156. type: string
  16157. wrfactortypename:
  16158. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16159. type: string
  16160. wrstandardcode:
  16161. description: 现货商品代码
  16162. type: string
  16163. wrstandardid:
  16164. description: 现货商品ID
  16165. type: integer
  16166. wrstandardname:
  16167. description: 商品名称
  16168. type: string
  16169. wrtransferuserid:
  16170. description: 仓单受让用户
  16171. type: integer
  16172. wrtypename:
  16173. description: 商品
  16174. type: string
  16175. required:
  16176. - userid
  16177. type: object
  16178. models.WrPerformancePlanStep:
  16179. properties:
  16180. delaydays:
  16181. description: 延期申请天数
  16182. type: integer
  16183. deliverygoodscode:
  16184. description: 品种代码
  16185. type: string
  16186. deliverygoodsid:
  16187. description: 品种ID
  16188. type: integer
  16189. deliverygoodsname:
  16190. description: 品种名称
  16191. type: string
  16192. endtime:
  16193. description: 结束日期
  16194. type: string
  16195. enumdicname:
  16196. description: 单位名称
  16197. type: string
  16198. executeside:
  16199. description: 步骤执行方 - 1:买方 2:卖方
  16200. type: integer
  16201. handlestatus:
  16202. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16203. type: integer
  16204. isauto:
  16205. description: 是否自动 - 0:不自动 1:自动
  16206. type: integer
  16207. islastreceivestep:
  16208. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16209. type: integer
  16210. minivalue:
  16211. description: 现货商品最小变动值
  16212. type: integer
  16213. optioncompare:
  16214. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16215. type: string
  16216. overdays:
  16217. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16218. type: integer
  16219. performancestepid:
  16220. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16221. type: string
  16222. planid:
  16223. description: 所属履约计划ID
  16224. type: string
  16225. realamount:
  16226. description: 实际完成金额
  16227. type: number
  16228. relatedorderid:
  16229. description: 关联单号
  16230. type: string
  16231. remaindays:
  16232. description: 剩余天数
  16233. type: integer
  16234. remark:
  16235. description: 错误备注
  16236. type: string
  16237. starttime:
  16238. description: 开始日期
  16239. type: string
  16240. stepamount:
  16241. description: 步骤金额
  16242. type: number
  16243. stepdays:
  16244. description: 距离上一步天数(分钟)
  16245. type: integer
  16246. stepindex:
  16247. description: 步骤序号
  16248. type: integer
  16249. steplanchtype:
  16250. description: 步骤启动类型 - 1:系统自动 2:手动
  16251. type: integer
  16252. stepremark:
  16253. description: 步骤备注
  16254. type: string
  16255. stepstatus:
  16256. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16257. type: integer
  16258. steptypeid:
  16259. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16260. type: integer
  16261. steptypename:
  16262. description: 步骤名称
  16263. type: string
  16264. stepvalue:
  16265. description: 步骤值
  16266. type: number
  16267. warehouseid:
  16268. description: 仓库ID
  16269. type: integer
  16270. warehousename:
  16271. description: 仓库名称
  16272. type: string
  16273. wrfactortypeid:
  16274. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16275. type: string
  16276. wrfactortypename:
  16277. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16278. type: string
  16279. wrstandardcode:
  16280. description: 现货商品代码
  16281. type: string
  16282. wrstandardid:
  16283. description: 现货商品ID
  16284. type: integer
  16285. wrstandardname:
  16286. description: 商品名称
  16287. type: string
  16288. wrtypename:
  16289. description: 商品
  16290. type: string
  16291. type: object
  16292. models.WrPerformanceStepType:
  16293. properties:
  16294. canauto:
  16295. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16296. type: integer
  16297. steptypeid:
  16298. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16299. type: integer
  16300. steptypename:
  16301. description: 步骤类型名称
  16302. type: string
  16303. type: object
  16304. models.WrPerformanceTemplateEx:
  16305. properties:
  16306. autoid:
  16307. description: AutoID 模板id
  16308. type: integer
  16309. createtime:
  16310. description: 创建时间
  16311. type: string
  16312. creatorid:
  16313. description: 创建人
  16314. type: integer
  16315. lstStep:
  16316. description: 步骤信息列表
  16317. items:
  16318. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16319. type: array
  16320. paymenttype:
  16321. description: 支付方式 - 1:冻结 2:扣款
  16322. type: integer
  16323. takemode:
  16324. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16325. type: integer
  16326. templatename:
  16327. description: 模板名称
  16328. type: string
  16329. templatetype:
  16330. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16331. type: integer
  16332. userid:
  16333. description: 所属用户
  16334. type: integer
  16335. type: object
  16336. models.WrPosition:
  16337. properties:
  16338. accountid:
  16339. description: 帐户ID
  16340. type: integer
  16341. buyexcuteqty:
  16342. description: 采购履约中数量
  16343. type: number
  16344. creditcurqty:
  16345. description: 授信当前数量(预售仓单:预售当前量)
  16346. type: number
  16347. creditenableqty:
  16348. description: '授信可用数量(预售仓单: 可用数量)'
  16349. type: number
  16350. creditfreezeqty:
  16351. description: '授信冻结数量(预售仓单: 当前数量)'
  16352. type: number
  16353. credittotalqty:
  16354. description: 授信总数量(预售仓单:预售总量)
  16355. type: number
  16356. credittradeqty:
  16357. description: 授信成交数量(预售仓单:成交总量)
  16358. type: number
  16359. deliverygoodscode:
  16360. description: 品种代码
  16361. type: string
  16362. deliverygoodsid:
  16363. description: 品种ID
  16364. type: integer
  16365. deliverygoodsname:
  16366. description: 品种名称
  16367. type: string
  16368. enalbeqty:
  16369. description: 可用数量
  16370. type: number
  16371. enumdicname:
  16372. description: 单位名称
  16373. type: string
  16374. freezeqty:
  16375. description: 总冻结数量
  16376. type: number
  16377. haswr:
  16378. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16379. type: integer
  16380. minivalue:
  16381. description: 现货商品最小变动值
  16382. type: integer
  16383. modifytime:
  16384. description: 修改时间(过户时间)
  16385. type: string
  16386. optioncompare:
  16387. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16388. type: string
  16389. pledgeqty:
  16390. description: 质押数量
  16391. type: number
  16392. querytype:
  16393. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16394. type: integer
  16395. sellexcuteqty:
  16396. description: 销售履约中数量
  16397. type: number
  16398. totalqty:
  16399. description: 总数量(库存数量)
  16400. type: number
  16401. warehouseid:
  16402. description: 仓库ID
  16403. type: integer
  16404. warehousename:
  16405. description: 仓库名称
  16406. type: string
  16407. wrfactortypeid:
  16408. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16409. type: string
  16410. wrfactortypename:
  16411. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16412. type: string
  16413. wrpositionid:
  16414. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16415. type: string
  16416. wrpositionno:
  16417. description: 仓单编号
  16418. type: string
  16419. wrstandardcode:
  16420. description: 现货商品代码
  16421. type: string
  16422. wrstandardid:
  16423. description: 现货商品ID
  16424. type: integer
  16425. wrstandardname:
  16426. description: 商品名称
  16427. type: string
  16428. wrtypename:
  16429. description: 商品
  16430. type: string
  16431. wruserid:
  16432. description: 持有人ID
  16433. type: integer
  16434. type: object
  16435. models.WrQuoteOrderMyq:
  16436. properties:
  16437. buyorsell:
  16438. description: 买卖 - 0:买 1:卖
  16439. type: integer
  16440. canbargain:
  16441. description: 是否可议价 - 0:不可 1:可
  16442. type: integer
  16443. canpart:
  16444. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16445. type: integer
  16446. delistminqty:
  16447. description: 起摘数量
  16448. type: number
  16449. deliverygoodscode:
  16450. description: 品种代码
  16451. type: string
  16452. deliverygoodsid:
  16453. description: 品种ID
  16454. type: integer
  16455. deliverygoodsname:
  16456. description: 品种名称
  16457. type: string
  16458. deliverymonth:
  16459. description: 交收月
  16460. type: string
  16461. enumdicname:
  16462. description: 单位名称
  16463. type: string
  16464. fixedprice:
  16465. description: 买(卖)价
  16466. type: number
  16467. goodscode:
  16468. description: 商品合约代码
  16469. type: string
  16470. marginflag:
  16471. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16472. type: integer
  16473. marginvalue:
  16474. description: 保证金设置值
  16475. type: number
  16476. minivalue:
  16477. description: 现货商品最小变动值
  16478. type: integer
  16479. orderqty:
  16480. description: 买(卖)量(=委托量-成交量)
  16481. type: number
  16482. ordertime:
  16483. description: 委托时间
  16484. type: string
  16485. performancetemplateid:
  16486. description: 履约模板id
  16487. type: integer
  16488. pricemove:
  16489. description: 买(卖)升贴水- 基差
  16490. type: number
  16491. templatename:
  16492. description: 履约模板名称
  16493. type: string
  16494. userid:
  16495. description: 购买方(销售方)用户ID
  16496. type: integer
  16497. username:
  16498. description: 购买方(销售方)
  16499. type: string
  16500. validtime:
  16501. description: 有效期限
  16502. type: string
  16503. validtype:
  16504. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16505. type: integer
  16506. warehousename:
  16507. description: 仓库名称
  16508. type: string
  16509. wrfactortypeid:
  16510. description: 仓单要素id
  16511. type: string
  16512. wrstandardcode:
  16513. description: 现货商品代码
  16514. type: string
  16515. wrstandardid:
  16516. description: 现货商品ID
  16517. type: integer
  16518. wrstandardname:
  16519. description: 商品名称
  16520. type: string
  16521. wrtradeorderid:
  16522. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16523. type: string
  16524. wrtypename:
  16525. description: 商品
  16526. type: string
  16527. type: object
  16528. models.WrScfContract:
  16529. properties:
  16530. borroweruserid:
  16531. description: 借款用户ID
  16532. type: integer
  16533. buybackwrpositionqty:
  16534. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16535. type: number
  16536. closeinterest:
  16537. description: 已结利息 -> 已结费用
  16538. type: number
  16539. currisklevel:
  16540. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16541. type: integer
  16542. deadline:
  16543. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16544. type: string
  16545. deliverygoodscode:
  16546. description: 品种代码
  16547. type: string
  16548. deliverygoodsid:
  16549. description: 品种ID
  16550. type: integer
  16551. deliverygoodsname:
  16552. description: 品种名称
  16553. type: string
  16554. enumdicname:
  16555. description: 单位名称
  16556. type: string
  16557. financingdays:
  16558. description: 天数(天)
  16559. type: integer
  16560. initmargin:
  16561. description: 保证金 - [仓单回购]
  16562. type: number
  16563. interestamount:
  16564. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16565. type: number
  16566. interestdebt:
  16567. description: 利息欠款(记录负数) -> 费用欠款
  16568. type: number
  16569. interestminlen:
  16570. description: 最小起息天数
  16571. type: integer
  16572. interestrate:
  16573. description: 利率
  16574. type: number
  16575. interestratemode:
  16576. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16577. type: integer
  16578. interestsettlemode:
  16579. description: 结息方式 - 1:按日结息 3:按月结息
  16580. type: integer
  16581. interestsettlevalue:
  16582. description: 结息方式值
  16583. type: integer
  16584. isautoloan:
  16585. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16586. type: integer
  16587. lastcloseinterestday:
  16588. description: 最近结息日(yyyyMMdd)
  16589. type: string
  16590. lenderamount:
  16591. description: 贷款金额 -> 借款金额
  16592. type: number
  16593. lenderuserid:
  16594. description: 贷款方用户ID -> 融出方用户ID
  16595. type: integer
  16596. lenderusername:
  16597. description: 融出方
  16598. type: string
  16599. marginratio:
  16600. description: 保证金比率质押率 - [仓单质押]
  16601. type: number
  16602. marketid:
  16603. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16604. type: integer
  16605. minivalue:
  16606. description: 现货商品最小变动值
  16607. type: integer
  16608. optioncompare:
  16609. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16610. type: string
  16611. pricemove:
  16612. description: 估值升贴水值
  16613. type: number
  16614. productdetailid:
  16615. description: 产品组合ID
  16616. type: integer
  16617. productid:
  16618. description: 金融产品ID
  16619. type: integer
  16620. productname:
  16621. description: 产品名称
  16622. type: string
  16623. remainamount:
  16624. description: 合同剩余金额 -> 剩余金额
  16625. type: number
  16626. remainwrpositionqty:
  16627. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16628. type: number
  16629. remark:
  16630. description: 备注
  16631. type: string
  16632. scfcontractid:
  16633. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16634. type: string
  16635. scfcontractstatus:
  16636. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16637. type: integer
  16638. scfcontracttype:
  16639. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16640. type: integer
  16641. startinterestday:
  16642. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16643. type: string
  16644. totalinterest:
  16645. description: 已计利息 -> 已计费用
  16646. type: number
  16647. unpaidinterest:
  16648. description: 未结费用
  16649. type: number
  16650. updatetime:
  16651. description: 更新时间
  16652. type: string
  16653. warehouseid:
  16654. description: 仓库ID
  16655. type: integer
  16656. warehousename:
  16657. description: 仓库名称
  16658. type: string
  16659. wrfactortypeid:
  16660. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16661. type: string
  16662. wrfactortypename:
  16663. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16664. type: string
  16665. wrqty:
  16666. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16667. type: number
  16668. wrstandardcode:
  16669. description: 现货商品代码
  16670. type: string
  16671. wrstandardid:
  16672. description: 现货商品ID
  16673. type: integer
  16674. wrstandardname:
  16675. description: 商品名称
  16676. type: string
  16677. wrtypename:
  16678. description: 商品
  16679. type: string
  16680. type: object
  16681. models.WrScfContractInterest:
  16682. properties:
  16683. closeinterest:
  16684. description: 已结利息
  16685. type: number
  16686. closeintereststatus:
  16687. description: 结息状态 - 1:未结 2:已结
  16688. type: integer
  16689. closetime:
  16690. description: 结息时间
  16691. type: string
  16692. closetradedate:
  16693. description: 结息交易日
  16694. type: string
  16695. creatorid:
  16696. description: 操作人ID
  16697. type: integer
  16698. dayrate:
  16699. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16700. type: number
  16701. interest:
  16702. description: 利息
  16703. type: number
  16704. interestamount:
  16705. description: 计息金额
  16706. type: number
  16707. interestday:
  16708. description: 计息日(yyyyMMdd)
  16709. type: string
  16710. scfcontractid:
  16711. description: SCF合同ID
  16712. type: string
  16713. scfcontractinterestid:
  16714. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16715. type: integer
  16716. updatetime:
  16717. description: 更新时间
  16718. type: string
  16719. type: object
  16720. models.WrSiteColumnDetail:
  16721. properties:
  16722. brief:
  16723. description: 简介
  16724. type: string
  16725. context:
  16726. description: 内容
  16727. type: string
  16728. coverimage:
  16729. description: 封面图片
  16730. type: string
  16731. creaedate:
  16732. description: 创建时间
  16733. type: string
  16734. id:
  16735. description: ID(SEQ_SITE_COLUMNDETAIL)
  16736. type: integer
  16737. istop:
  16738. description: 是否置顶 - 0:不置 1:置顶
  16739. type: integer
  16740. publishdate:
  16741. description: 发布日期
  16742. type: string
  16743. title:
  16744. description: 标题
  16745. type: string
  16746. updatedate:
  16747. description: 修改时间
  16748. type: string
  16749. type: object
  16750. models.WrSpecialMatchOrder:
  16751. properties:
  16752. amount:
  16753. description: 金额 = 数量 * 价格
  16754. type: number
  16755. buyorsell:
  16756. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16757. type: integer
  16758. cancelqty:
  16759. description: 撤销数量
  16760. type: number
  16761. deliverygoodscode:
  16762. description: 品种代码
  16763. type: string
  16764. deliverygoodsid:
  16765. description: 品种ID
  16766. type: integer
  16767. deliverygoodsname:
  16768. description: 品种名称
  16769. type: string
  16770. enumdicname:
  16771. description: 单位名称
  16772. type: string
  16773. fixedprice:
  16774. description: 固定价格(价格)
  16775. type: number
  16776. haswr:
  16777. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16778. type: integer
  16779. isspecified:
  16780. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16781. type: integer
  16782. marketid:
  16783. description: 市场ID
  16784. type: integer
  16785. matchuserid:
  16786. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16787. type: integer
  16788. matchusername:
  16789. description: 指定方
  16790. type: string
  16791. minivalue:
  16792. description: 现货商品最小变动值
  16793. type: integer
  16794. optioncompare:
  16795. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16796. type: string
  16797. orderqty:
  16798. description: 委托数量
  16799. type: number
  16800. ordertime:
  16801. description: 委托时间
  16802. type: string
  16803. pricemove:
  16804. description: 升贴水(浮动价时填写) - [挂牌]
  16805. type: number
  16806. tradedate:
  16807. description: 交易日(yyyyMMdd)
  16808. type: string
  16809. tradeprice:
  16810. description: 成交价格
  16811. type: number
  16812. tradeqty:
  16813. description: 成交数量
  16814. type: number
  16815. userid:
  16816. description: 用户ID
  16817. type: integer
  16818. username:
  16819. description: 发起方
  16820. type: string
  16821. warehouseid:
  16822. description: 仓库ID
  16823. type: integer
  16824. warehousename:
  16825. description: 仓库名称
  16826. type: string
  16827. wrfactortypeid:
  16828. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16829. type: string
  16830. wrfactortypename:
  16831. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16832. type: string
  16833. wrpricetype:
  16834. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16835. type: integer
  16836. wrstandardcode:
  16837. description: 现货商品代码
  16838. type: string
  16839. wrstandardid:
  16840. description: 现货商品ID
  16841. type: integer
  16842. wrstandardname:
  16843. description: 商品名称
  16844. type: string
  16845. wrtradeorderid:
  16846. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16847. type: string
  16848. wrtradeorderstatus:
  16849. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16850. type: integer
  16851. wrtradetype:
  16852. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16853. type: integer
  16854. wrtypename:
  16855. description: 商品
  16856. type: string
  16857. type: object
  16858. models.WrSpotGroupTradeSum:
  16859. properties:
  16860. deliverygoodscode:
  16861. description: 现货品种代码
  16862. type: string
  16863. deliverygoodsid:
  16864. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16865. type: integer
  16866. deliverygoodsname:
  16867. description: 现货品种名称
  16868. type: string
  16869. lastavgprice:
  16870. description: 上上个交易日价格(前2天价格)
  16871. type: string
  16872. lastreckondate:
  16873. description: 上上个交易日(前2天交易日)
  16874. type: string
  16875. reckondate:
  16876. description: 上个交易日(前1天交易日)
  16877. type: string
  16878. todayavgprice:
  16879. description: 上个交易日价格(前1天价格)
  16880. type: string
  16881. updown:
  16882. description: 涨跌
  16883. type: string
  16884. updownratio:
  16885. description: 涨幅(已格式化, 直接显示即可)
  16886. type: string
  16887. type: object
  16888. models.WrSpotGroupTradeSumDetail:
  16889. properties:
  16890. deliverygoodsid:
  16891. description: 现货商品id
  16892. type: integer
  16893. price:
  16894. description: 价格
  16895. type: number
  16896. reckondate:
  16897. description: 日期(yyymmdd, 如:20211031)
  16898. type: string
  16899. type: object
  16900. models.WrSpotGroupTradeSumEx:
  16901. properties:
  16902. lst:
  16903. description: 指数列表
  16904. items:
  16905. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16906. type: array
  16907. prereckondate:
  16908. description: 上上个交易日(yyymmdd)
  16909. type: string
  16910. reckondate:
  16911. description: 上个交易日(yyyymmdd)
  16912. type: string
  16913. type: object
  16914. models.WrStandardFactoryItem:
  16915. properties:
  16916. dgfactoryitemid:
  16917. description: 选择项id
  16918. type: integer
  16919. dgfactoryitemvalue:
  16920. description: 要素项值
  16921. type: string
  16922. warehouseid:
  16923. description: 仓库id
  16924. type: integer
  16925. type: object
  16926. models.WrStandardFactoryItemEx:
  16927. properties:
  16928. dgfactoryitemtypeid:
  16929. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16930. type: integer
  16931. itemlst:
  16932. description: 要素项列表
  16933. items:
  16934. $ref: '#/definitions/models.WrStandardFactoryItem'
  16935. type: array
  16936. itemtypename:
  16937. description: 要素项类型名称
  16938. type: string
  16939. wrstandardid:
  16940. description: 品类
  16941. type: integer
  16942. type: object
  16943. models.WrTradeDetail:
  16944. properties:
  16945. accountid:
  16946. description: 资金账号
  16947. type: integer
  16948. begindate:
  16949. description: 开始交易日(yyyymmdd)
  16950. type: string
  16951. buyorsell:
  16952. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16953. type: integer
  16954. chargevalue:
  16955. description: 手续费
  16956. type: number
  16957. deliverygoodscode:
  16958. description: 品种代码
  16959. type: string
  16960. deliverygoodsid:
  16961. description: 品种ID
  16962. type: integer
  16963. deliverygoodsname:
  16964. description: 品种名称
  16965. type: string
  16966. deliverymonth:
  16967. description: 交收月
  16968. type: string
  16969. enddate:
  16970. description: 结束交易日(yyyymmdd)
  16971. type: string
  16972. enumdicname:
  16973. description: 单位名称
  16974. type: string
  16975. haswr:
  16976. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16977. type: integer
  16978. marketid:
  16979. description: 市场ID
  16980. type: integer
  16981. matchaccountid:
  16982. description: 对手账号
  16983. type: integer
  16984. matchusername:
  16985. description: 对手方
  16986. type: string
  16987. minivalue:
  16988. description: 现货商品最小变动值
  16989. type: integer
  16990. optioncompare:
  16991. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16992. type: string
  16993. tradedate:
  16994. description: 交易日(yyyyMMdd)
  16995. type: string
  16996. tradeprice:
  16997. description: 成交价格
  16998. type: number
  16999. tradeqty:
  17000. description: 成交数量
  17001. type: number
  17002. tradetime:
  17003. description: 成交时间
  17004. type: string
  17005. userid:
  17006. description: 用户ID
  17007. type: integer
  17008. warehouseid:
  17009. description: 仓库ID
  17010. type: integer
  17011. warehousename:
  17012. description: 仓库名称
  17013. type: string
  17014. wrfactortypeid:
  17015. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17016. type: string
  17017. wrfactortypename:
  17018. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17019. type: string
  17020. wrstandardcode:
  17021. description: 现货商品代码
  17022. type: string
  17023. wrstandardid:
  17024. description: 现货商品ID
  17025. type: integer
  17026. wrstandardname:
  17027. description: 商品名称
  17028. type: string
  17029. wrtradedetailid:
  17030. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17031. type: string
  17032. wrtradetype:
  17033. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17034. type: integer
  17035. wrtypename:
  17036. description: 商品
  17037. type: string
  17038. type: object
  17039. models.WrTradeOrderDetail:
  17040. properties:
  17041. buyorsell:
  17042. description: 买卖方向 0-买 1-卖
  17043. type: integer
  17044. goodsid:
  17045. description: 商品id
  17046. type: integer
  17047. orderid:
  17048. description: 委托单号
  17049. type: string
  17050. orderprice:
  17051. description: 委托价格
  17052. type: number
  17053. orderqty:
  17054. description: 委托数量
  17055. type: integer
  17056. userid:
  17057. description: 用户id
  17058. type: integer
  17059. username:
  17060. description: 用户名称(已脱敏)
  17061. type: string
  17062. type: object
  17063. models.WrTypeItem:
  17064. properties:
  17065. name:
  17066. description: 名称
  17067. type: string
  17068. value:
  17069. description: 值
  17070. type: string
  17071. type: object
  17072. models.WrUserFriend:
  17073. properties:
  17074. friendname:
  17075. description: 朋友名称(已脱敏)
  17076. type: string
  17077. frienduserid:
  17078. description: 朋友id
  17079. type: integer
  17080. isfriend:
  17081. description: 是否好友 0-不是 1-是
  17082. type: integer
  17083. userid:
  17084. description: 用户id
  17085. type: integer
  17086. type: object
  17087. models.WrUserReceiptInfo:
  17088. properties:
  17089. address:
  17090. description: 地址[发票类型:企业]
  17091. type: string
  17092. autoid:
  17093. description: AutoID
  17094. type: integer
  17095. contactinfo:
  17096. description: 联系方式
  17097. type: string
  17098. idnum:
  17099. description: 身份证号码[发票类型:个人]
  17100. type: string
  17101. isdefault:
  17102. description: 是否默认地址 - 0:否 1:是
  17103. type: integer
  17104. receiptaccount:
  17105. description: 发票帐号[发票类型:企业]
  17106. type: string
  17107. receiptbank:
  17108. description: 发票开户行[发票类型:企业]
  17109. type: string
  17110. receipttype:
  17111. description: 发票类型 - 1:个人 2:企业
  17112. type: integer
  17113. taxpayerid:
  17114. description: 纳税人识别号
  17115. type: string
  17116. userid:
  17117. description: 用户ID
  17118. type: integer
  17119. username:
  17120. description: 户名(个人姓名或企业名称)
  17121. type: string
  17122. type: object
  17123. models.XHBRAND:
  17124. properties:
  17125. brandid:
  17126. description: 品牌id
  17127. type: integer
  17128. brandname:
  17129. description: 品牌名称
  17130. type: string
  17131. isvalid:
  17132. description: 是否有效 0-无效 1-有效
  17133. type: integer
  17134. type: object
  17135. models.XHDeliveryGoods:
  17136. properties:
  17137. areauserid:
  17138. description: 所属机构
  17139. type: integer
  17140. bdlst:
  17141. description: 品牌列表
  17142. items:
  17143. $ref: '#/definitions/models.XHBRAND'
  17144. type: array
  17145. deliverygoodscode:
  17146. description: 现货品种代码
  17147. type: string
  17148. deliverygoodsid:
  17149. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17150. type: integer
  17151. deliverygoodsname:
  17152. description: 现货品种名称
  17153. type: string
  17154. dgstatus:
  17155. description: 品种状态 - 作废 - 0:未激活 1:正常
  17156. type: integer
  17157. isvalid:
  17158. description: 是否有效 - 0:无效 1:有效
  17159. type: integer
  17160. remark:
  17161. description: 备注
  17162. type: string
  17163. unitid:
  17164. description: 单位id(目前看,数据库中是空值)
  17165. type: integer
  17166. wdlst:
  17167. description: 品类(现货商品)列表
  17168. items:
  17169. $ref: '#/definitions/models.XHWrstandard'
  17170. type: array
  17171. type: object
  17172. models.XHMiddleGoods:
  17173. properties:
  17174. GPLST:
  17175. description: 期货品种列表
  17176. items:
  17177. $ref: '#/definitions/models.TBGoodsGroup'
  17178. type: array
  17179. convertratio:
  17180. description: 拆算系数
  17181. type: number
  17182. costratio:
  17183. description: 成本权重
  17184. type: number
  17185. deliverygoodsid:
  17186. description: 现货商品id
  17187. type: integer
  17188. enumdicname:
  17189. description: 单位名称
  17190. type: string
  17191. middlegoodscode:
  17192. description: 套保品种代码
  17193. type: string
  17194. middlegoodsid:
  17195. description: 套保品种id
  17196. type: integer
  17197. middlegoodsname:
  17198. description: 套保品种名称
  17199. type: string
  17200. unitid:
  17201. description: 单位id
  17202. type: integer
  17203. type: object
  17204. models.XHWrstandard:
  17205. properties:
  17206. deliverygoodsid:
  17207. description: 品种ID
  17208. type: integer
  17209. enumdicname:
  17210. description: 单位名称
  17211. type: string
  17212. mglst:
  17213. description: 套保品列表
  17214. items:
  17215. $ref: '#/definitions/models.XHMiddleGoods'
  17216. type: array
  17217. unitid:
  17218. description: 单位id
  17219. type: integer
  17220. vatrate:
  17221. description: 增值税率
  17222. type: number
  17223. wrstandardcode:
  17224. description: 现货商品代码
  17225. type: string
  17226. wrstandardid:
  17227. description: 现货商品ID(SEQ_WRSTANDARD)
  17228. type: integer
  17229. wrstandardname:
  17230. description: 现货商品名称
  17231. type: string
  17232. type: object
  17233. order.QueryHisTradeDetailRsp:
  17234. properties:
  17235. accountid:
  17236. description: 账户ID[报价币种]
  17237. type: integer
  17238. advanceratio:
  17239. description: 首付比率
  17240. type: number
  17241. buildtype:
  17242. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17243. type: integer
  17244. buyorsell:
  17245. description: 方向 - 0:买 1:卖
  17246. type: integer
  17247. charge:
  17248. description: 手续费
  17249. type: number
  17250. closecharge:
  17251. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17252. type: number
  17253. closeexchagechargevalue:
  17254. description: 平仓交易所手续费设置值
  17255. type: number
  17256. closefeealgorithm:
  17257. description: 平仓手续费收取方式 1:比率 2:固定
  17258. type: integer
  17259. closememberchargevalue:
  17260. description: 平仓会员手续费设置值
  17261. type: number
  17262. closepl:
  17263. description: 平仓盈亏
  17264. type: number
  17265. closepl2:
  17266. description: 平仓盈亏[逐笔]
  17267. type: number
  17268. closeqty:
  17269. description: 平仓数量(先建后平操作 需要记录)
  17270. type: number
  17271. creditamount:
  17272. description: 授信金额
  17273. type: number
  17274. decimalplace:
  17275. description: 商品报价小数位
  17276. type: integer
  17277. enumdicname:
  17278. description: 单位名称
  17279. type: string
  17280. gcaccountid:
  17281. description: 账户ID[合约币种]
  17282. type: integer
  17283. goodscode:
  17284. description: 商品代码
  17285. type: string
  17286. goodsid:
  17287. description: 商品ID
  17288. type: integer
  17289. goodsname:
  17290. description: 商品名称
  17291. type: string
  17292. goodunitid:
  17293. description: 商品单位id
  17294. type: integer
  17295. histradedate:
  17296. description: 历史交易日
  17297. type: string
  17298. intclosepl:
  17299. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17300. type: integer
  17301. isconfirmexercise:
  17302. description: 是否确认行权- 0:否 1:是
  17303. type: integer
  17304. ismain:
  17305. description: 是否主单 - 0:不是 1:是
  17306. type: integer
  17307. ispreexercise:
  17308. description: 是否预申报- 0:否 1:是
  17309. type: integer
  17310. isreckoned:
  17311. description: 是否结算 - 0:未结算 1:已结算
  17312. type: integer
  17313. isvaliddata:
  17314. description: 是否有效 - 0:无效 1:有效
  17315. type: integer
  17316. listingselecttype:
  17317. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17318. type: integer
  17319. marketid:
  17320. description: 市场ID
  17321. type: integer
  17322. marketname:
  17323. description: 市场名称
  17324. type: string
  17325. matchaccountid:
  17326. description: 对手账号id
  17327. type: integer
  17328. memberuserid:
  17329. description: 会员id 个人投资者 需要填写
  17330. type: integer
  17331. opencharge:
  17332. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17333. type: number
  17334. openexchagechargevalue:
  17335. description: 建仓交易所手续费设置值
  17336. type: number
  17337. openfeealgorithm:
  17338. description: 建仓手续费收取方式 1:比率 2:固定
  17339. type: integer
  17340. openmemberchargevalue:
  17341. description: 建仓会员手续费设置值
  17342. type: number
  17343. openqty:
  17344. description: 开仓数量(先建后平操作 需要记录)
  17345. type: number
  17346. optiontype:
  17347. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17348. type: integer
  17349. orderid:
  17350. description: 委托单号
  17351. type: string
  17352. payamount:
  17353. description: 支付金额(付款金额)
  17354. type: number
  17355. performanceplanid:
  17356. description: 履约计划ID[期权]
  17357. type: integer
  17358. performancestatus:
  17359. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17360. type: integer
  17361. preexerciseprice:
  17362. description: 预申报价格
  17363. type: number
  17364. premium:
  17365. description: 权利金 - [持仓单的权利金]
  17366. type: number
  17367. qtydecimalplace:
  17368. description: 商品报价小数位
  17369. type: integer
  17370. recvamount:
  17371. description: 到账金额 = 成交金额 - 手续费
  17372. type: number
  17373. relatedouttradeid:
  17374. description: 关联外部成交单ID
  17375. type: integer
  17376. status:
  17377. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17378. type: integer
  17379. totalamount:
  17380. description: 订单总额 = 成交金额 + 手续费
  17381. type: number
  17382. tradeamount:
  17383. description: 成交金额[账户币种,用于所有权]
  17384. type: number
  17385. tradedate:
  17386. description: 交易日(yyyyMMdd)
  17387. type: string
  17388. tradeid:
  17389. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17390. type: string
  17391. trademode:
  17392. description: 交易模式
  17393. type: integer
  17394. tradeprice:
  17395. description: 成交价格
  17396. type: number
  17397. tradeproperty:
  17398. description: 交易属性
  17399. type: integer
  17400. tradeqty:
  17401. description: 成交数量
  17402. type: number
  17403. tradetime:
  17404. description: 成交时间
  17405. type: string
  17406. tradetype:
  17407. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17408. type: integer
  17409. required:
  17410. - accountid
  17411. - buyorsell
  17412. - goodsid
  17413. - histradedate
  17414. - marketid
  17415. - memberuserid
  17416. - orderid
  17417. - tradeamount
  17418. - tradedate
  17419. - tradeid
  17420. - tradeprice
  17421. - tradeqty
  17422. - tradetime
  17423. type: object
  17424. order.QueryHisTradeOrderDetailRsp:
  17425. properties:
  17426. accountid:
  17427. description: 账户ID[报价币种]
  17428. type: integer
  17429. buildtype:
  17430. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17431. type: integer
  17432. buyorsell:
  17433. description: 买卖 - 0:买 1:卖
  17434. type: integer
  17435. cancelorderid:
  17436. description: 撤单单号(撤单时填写)
  17437. type: string
  17438. cancelqty:
  17439. description: 撤单数量
  17440. type: number
  17441. clientordertime:
  17442. description: 客户端委托时间
  17443. type: string
  17444. clientticket:
  17445. description: 客户端流水号
  17446. type: string
  17447. clienttype:
  17448. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17449. type: integer
  17450. closeexchagechargevalue:
  17451. description: 平仓交易所手续费设置值
  17452. type: number
  17453. closefeealgorithm:
  17454. description: 平仓手续费收取方式 1:比率 2:固定
  17455. type: integer
  17456. closefreezecharge:
  17457. description: 平仓冻结手续费(先建后平操作,需要记录)
  17458. type: number
  17459. closememberchargevalue:
  17460. description: 平仓会员手续费设置值
  17461. type: number
  17462. closeqty:
  17463. description: 平仓数量(先建后平操作 需要记录)
  17464. type: number
  17465. closetradeqty:
  17466. description: 平仓成交数量(先建后平操作,需要记录)
  17467. type: number
  17468. closeunfreezecharge:
  17469. description: 平仓解冻手续费(先建后平操作,需要记录)
  17470. type: number
  17471. decimalplace:
  17472. description: 商品报价小数位
  17473. type: integer
  17474. delistingtype:
  17475. description: 摘牌类型 - 1:价格最优 2:点选成交
  17476. type: integer
  17477. enumdicname:
  17478. description: 单位名称
  17479. type: string
  17480. freezecharge:
  17481. description: 冻结手续费
  17482. type: number
  17483. freezemargin:
  17484. description: 冻结保证金(冻结交易金额)
  17485. type: number
  17486. gcaccountid:
  17487. description: 账户ID[合约币种]
  17488. type: integer
  17489. goodscode:
  17490. description: 商品代码
  17491. type: string
  17492. goodsid:
  17493. description: 商品ID
  17494. type: integer
  17495. goodsname:
  17496. description: 商品名称
  17497. type: string
  17498. goodunitid:
  17499. description: 商品单位id
  17500. type: integer
  17501. histradedate:
  17502. description: 历史交易日
  17503. type: string
  17504. isconfirmexercise:
  17505. description: 是否确认行权- 0:否 1:是
  17506. type: integer
  17507. ispreexercise:
  17508. description: 是否预申报- 0:否 1:是
  17509. type: integer
  17510. isvaliddata:
  17511. description: 是否有效 - 0:无效 1:有效
  17512. type: integer
  17513. listingselecttype:
  17514. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17515. type: integer
  17516. marginalgorithm:
  17517. description: 保证金收取方式 1:比率 2:固定
  17518. type: integer
  17519. marginvalue:
  17520. description: 即市保证金设置值
  17521. type: number
  17522. marketid:
  17523. description: 市场ID
  17524. type: integer
  17525. marketmaxsub:
  17526. description: 市价最大偏移范围
  17527. type: number
  17528. marketname:
  17529. description: 市场名称
  17530. type: string
  17531. memberuserid:
  17532. description: 所属会员UserID
  17533. type: integer
  17534. openexchagechargevalue:
  17535. description: 建仓交易所手续费设置值
  17536. type: number
  17537. openfeealgorithm:
  17538. description: 建仓手续费收取方式 1:比率 2:固定
  17539. type: integer
  17540. openfreezecharge:
  17541. description: 开仓冻结手续费(先建后平操作,需要记录)
  17542. type: number
  17543. openmemberchargevalue:
  17544. description: 建仓会员手续费设置值
  17545. type: number
  17546. openqty:
  17547. description: 开仓数量(先建后平操作,需要记录)
  17548. type: number
  17549. opentradeqty:
  17550. description: 开仓成交数量(先建后平操作,需要记录)
  17551. type: number
  17552. openunfreezecharge:
  17553. description: 开仓解冻手续费(先建后平操作,需要记录)
  17554. type: number
  17555. operatetype:
  17556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17557. type: integer
  17558. operatorid:
  17559. description: 登录账号(LoginID)
  17560. type: integer
  17561. optiontype:
  17562. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17563. type: integer
  17564. orderid:
  17565. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17566. type: string
  17567. orderprice:
  17568. description: 委托价格
  17569. type: number
  17570. orderqty:
  17571. description: 委托数量
  17572. type: number
  17573. ordersrc:
  17574. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17575. type: integer
  17576. orderstatus:
  17577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17578. type: integer
  17579. ordertime:
  17580. description: 委托时间
  17581. type: string
  17582. preexerciseprice:
  17583. description: 预申报价格
  17584. type: number
  17585. premium:
  17586. description: 权利金
  17587. type: number
  17588. preorderid:
  17589. description: 关联预埋单号(止盈止损单时填写)
  17590. type: string
  17591. pricemode:
  17592. description: '取价方式 - 1:市价 2: 限价'
  17593. type: integer
  17594. qtydecimalplace:
  17595. description: 成交量小数位
  17596. type: integer
  17597. quoteid:
  17598. description: 报价单ID
  17599. type: integer
  17600. relatedid:
  17601. description: 关联单号(交割单)
  17602. type: string
  17603. retcode:
  17604. description: 错误代码
  17605. type: integer
  17606. sessionid:
  17607. description: 会话ID
  17608. type: integer
  17609. tradedate:
  17610. description: 交易日(yyyyMMdd)
  17611. type: string
  17612. trademode:
  17613. description: 交易模式
  17614. type: integer
  17615. tradeproperty:
  17616. description: 交易属性
  17617. type: integer
  17618. tradeqty:
  17619. description: 成交数量
  17620. type: number
  17621. unfreezecharge:
  17622. description: 解冻手续费
  17623. type: number
  17624. unfreezemargin:
  17625. description: 解冻保证金
  17626. type: number
  17627. updatetime:
  17628. description: 更新时间
  17629. type: string
  17630. uuid:
  17631. description: 发起端唯一id
  17632. type: string
  17633. validtime:
  17634. description: 有效期限
  17635. type: string
  17636. validtype:
  17637. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17638. type: integer
  17639. volumetype:
  17640. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17641. type: integer
  17642. required:
  17643. - accountid
  17644. - buildtype
  17645. - buyorsell
  17646. - goodsid
  17647. - histradedate
  17648. - marketid
  17649. - memberuserid
  17650. - operatetype
  17651. - orderid
  17652. - orderqty
  17653. - ordertime
  17654. - pricemode
  17655. - tradedate
  17656. - validtype
  17657. type: object
  17658. order.QueryTradeDetailRsp:
  17659. properties:
  17660. accountid:
  17661. description: 账户ID[报价币种]
  17662. type: integer
  17663. advanceratio:
  17664. description: 首付比率
  17665. type: number
  17666. buildtype:
  17667. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17668. type: integer
  17669. buyorsell:
  17670. description: 方向 - 0:买 1:卖
  17671. type: integer
  17672. charge:
  17673. description: 手续费
  17674. type: number
  17675. closecharge:
  17676. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17677. type: number
  17678. closeexchagechargevalue:
  17679. description: 平仓交易所手续费设置值
  17680. type: number
  17681. closefeealgorithm:
  17682. description: 平仓手续费收取方式 1:比率 2:固定
  17683. type: integer
  17684. closememberchargevalue:
  17685. description: 平仓会员手续费设置值
  17686. type: number
  17687. closepl:
  17688. description: 平仓盈亏
  17689. type: number
  17690. closepl2:
  17691. description: 平仓盈亏[逐笔]
  17692. type: number
  17693. closeqty:
  17694. description: 平仓数量(先建后平操作 需要记录)
  17695. type: number
  17696. creditamount:
  17697. description: 授信金额
  17698. type: number
  17699. decimalplace:
  17700. description: 商品报价小数位
  17701. type: integer
  17702. enumdicname:
  17703. description: 单位名称
  17704. type: string
  17705. gcaccountid:
  17706. description: 账户ID[合约币种]
  17707. type: integer
  17708. goodscode:
  17709. description: 商品代码
  17710. type: string
  17711. goodsid:
  17712. description: 商品ID
  17713. type: integer
  17714. goodsname:
  17715. description: 商品名称
  17716. type: string
  17717. goodunitid:
  17718. description: 商品单位id
  17719. type: integer
  17720. intclosepl:
  17721. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17722. type: integer
  17723. isconfirmexercise:
  17724. description: 是否确认行权- 0:否 1:是
  17725. type: integer
  17726. ismain:
  17727. description: 是否主单 - 0:不是 1:是
  17728. type: integer
  17729. ispreexercise:
  17730. description: 是否预申报- 0:否 1:是
  17731. type: integer
  17732. isreckoned:
  17733. description: 是否结算 - 0:未结算 1:已结算
  17734. type: integer
  17735. listingselecttype:
  17736. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17737. type: integer
  17738. marketid:
  17739. description: 市场ID
  17740. type: integer
  17741. marketname:
  17742. description: 市场名称
  17743. type: string
  17744. matchaccountid:
  17745. description: 对手账号id
  17746. type: integer
  17747. memberuserid:
  17748. description: 会员id 个人投资者 需要填写
  17749. type: integer
  17750. opencharge:
  17751. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17752. type: number
  17753. openexchagechargevalue:
  17754. description: 建仓交易所手续费设置值
  17755. type: number
  17756. openfeealgorithm:
  17757. description: 建仓手续费收取方式 1:比率 2:固定
  17758. type: integer
  17759. openmemberchargevalue:
  17760. description: 建仓会员手续费设置值
  17761. type: number
  17762. openqty:
  17763. description: 开仓数量(先建后平操作 需要记录)
  17764. type: number
  17765. optiontype:
  17766. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17767. type: integer
  17768. orderid:
  17769. description: 委托单号
  17770. type: string
  17771. payamount:
  17772. description: 支付金额(付款金额)
  17773. type: number
  17774. performanceplanid:
  17775. description: 履约计划ID[期权]
  17776. type: integer
  17777. performancestatus:
  17778. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17779. type: integer
  17780. preexerciseprice:
  17781. description: 预申报价格
  17782. type: number
  17783. premium:
  17784. description: 权利金 - [持仓单的权利金]
  17785. type: number
  17786. qtydecimalplace:
  17787. description: 商品报价小数位
  17788. type: integer
  17789. recvamount:
  17790. description: 到账金额 = 成交金额 - 手续费
  17791. type: number
  17792. relatedouttradeid:
  17793. description: 关联外部成交单ID
  17794. type: integer
  17795. status:
  17796. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17797. type: integer
  17798. totalamount:
  17799. description: 订单总额 = 成交金额 + 手续费
  17800. type: number
  17801. tradeamount:
  17802. description: 成交金额[账户币种,用于所有权]
  17803. type: number
  17804. tradedate:
  17805. description: 交易日(yyyyMMdd)
  17806. type: string
  17807. tradeid:
  17808. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17809. type: string
  17810. trademode:
  17811. description: 交易模式
  17812. type: integer
  17813. tradeprice:
  17814. description: 成交价格
  17815. type: number
  17816. tradeproperty:
  17817. description: 交易属性
  17818. type: integer
  17819. tradeqty:
  17820. description: 成交数量
  17821. type: number
  17822. tradetime:
  17823. description: 成交时间
  17824. type: string
  17825. tradetype:
  17826. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17827. type: integer
  17828. required:
  17829. - accountid
  17830. - buyorsell
  17831. - goodsid
  17832. - marketid
  17833. - memberuserid
  17834. - orderid
  17835. - tradeamount
  17836. - tradedate
  17837. - tradeid
  17838. - tradeprice
  17839. - tradeqty
  17840. - tradetime
  17841. type: object
  17842. order.QueryTradeOrderDetailRsp:
  17843. properties:
  17844. accountid:
  17845. description: 账户ID[报价币种]
  17846. type: integer
  17847. buildtype:
  17848. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17849. type: integer
  17850. buyorsell:
  17851. description: 买卖 - 0:买 1:卖
  17852. type: integer
  17853. cancelorderid:
  17854. description: 撤单单号(撤单时填写)
  17855. type: string
  17856. cancelqty:
  17857. description: 撤单数量
  17858. type: number
  17859. clienttype:
  17860. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17861. type: integer
  17862. closefreezecharge:
  17863. description: 平仓冻结手续费(先建后平操作,需要记录)
  17864. type: number
  17865. closeqty:
  17866. description: 平仓数量(先建后平操作 需要记录)
  17867. type: number
  17868. closetradeqty:
  17869. description: 平仓成交数量(先建后平操作,需要记录)
  17870. type: number
  17871. closeunfreezecharge:
  17872. description: 平仓解冻手续费(先建后平操作,需要记录)
  17873. type: number
  17874. decimalplace:
  17875. description: 商品报价小数位
  17876. type: integer
  17877. delistingtype:
  17878. description: 摘牌类型 - 1:价格最优 2:点选成交
  17879. type: integer
  17880. enableqty:
  17881. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17882. type: number
  17883. enumdicname:
  17884. description: 单位名称
  17885. type: string
  17886. freezecharge:
  17887. description: 冻结手续费
  17888. type: number
  17889. freezemargin:
  17890. description: 冻结保证金(冻结交易金额)
  17891. type: number
  17892. goodscode:
  17893. description: 商品代码
  17894. type: string
  17895. goodsid:
  17896. description: 商品ID
  17897. type: integer
  17898. goodsname:
  17899. description: 商品名称
  17900. type: string
  17901. goodunitid:
  17902. description: 商品单位id
  17903. type: integer
  17904. listingselecttype:
  17905. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17906. type: integer
  17907. marketid:
  17908. description: 市场ID
  17909. type: integer
  17910. marketname:
  17911. description: 市场名称
  17912. type: string
  17913. openfreezecharge:
  17914. description: 开仓冻结手续费(先建后平操作,需要记录)
  17915. type: number
  17916. openqty:
  17917. description: 开仓数量(先建后平操作,需要记录)
  17918. type: number
  17919. opentradeqty:
  17920. description: 开仓成交数量(先建后平操作,需要记录)
  17921. type: number
  17922. openunfreezecharge:
  17923. description: 开仓解冻手续费(先建后平操作,需要记录)
  17924. type: number
  17925. operatetype:
  17926. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17927. type: integer
  17928. operatorid:
  17929. description: 登录账号(LoginID)
  17930. type: integer
  17931. orderid:
  17932. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17933. type: string
  17934. orderprice:
  17935. description: 委托价格
  17936. type: number
  17937. orderqty:
  17938. description: 委托数量
  17939. type: number
  17940. ordersrc:
  17941. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17942. type: integer
  17943. orderstatus:
  17944. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17945. type: integer
  17946. ordertime:
  17947. description: 委托时间
  17948. type: string
  17949. preorderid:
  17950. description: 关联预埋单号(止盈止损单时填写)
  17951. type: string
  17952. pricemode:
  17953. description: '取价方式 - 1:市价 2: 限价'
  17954. type: integer
  17955. qtydecimalplace:
  17956. description: 商品报价小数位
  17957. type: integer
  17958. relatedid:
  17959. description: 关联单号(交割单)
  17960. type: string
  17961. tradedate:
  17962. description: 交易日(yyyyMMdd)
  17963. type: string
  17964. trademode:
  17965. description: 交易模式
  17966. type: integer
  17967. tradeqty:
  17968. description: 成交数量
  17969. type: number
  17970. unfreezecharge:
  17971. description: 解冻手续费
  17972. type: number
  17973. unfreezemargin:
  17974. description: 解冻保证金
  17975. type: number
  17976. validtime:
  17977. description: 有效期限
  17978. type: string
  17979. validtype:
  17980. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17981. type: integer
  17982. volumetype:
  17983. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17984. type: integer
  17985. required:
  17986. - accountid
  17987. - buildtype
  17988. - buyorsell
  17989. - goodsid
  17990. - marketid
  17991. - operatetype
  17992. - orderqty
  17993. - ordertime
  17994. - pricemode
  17995. - tradedate
  17996. - validtype
  17997. type: object
  17998. order.QueryTradePositionRsp:
  17999. properties:
  18000. accountid:
  18001. description: 资金账户
  18002. type: integer
  18003. agreeunit:
  18004. description: 合约单位
  18005. type: number
  18006. averageprice:
  18007. description: 持仓均价
  18008. type: number
  18009. buyorsell:
  18010. description: 方向 - 0:买 1:卖
  18011. type: integer
  18012. closetotalqty:
  18013. description: 平仓总数量
  18014. type: number
  18015. curholderamount:
  18016. description: 当前持仓总金额[商品币种]
  18017. type: number
  18018. curpositionqty:
  18019. description: 当前持仓总数量
  18020. type: number
  18021. currencyid:
  18022. description: 报价货币ID
  18023. type: integer
  18024. curtdposition:
  18025. description: 期末今日头寸
  18026. type: number
  18027. decimalplace:
  18028. description: 报价小数位
  18029. type: integer
  18030. enableqty:
  18031. description: 可用量
  18032. type: number
  18033. fretdposition:
  18034. description: 冻结今日头寸
  18035. type: number
  18036. frozenqty:
  18037. description: 持仓冻结数量
  18038. type: number
  18039. goodscode:
  18040. description: 商品代码
  18041. type: string
  18042. goodsid:
  18043. description: 商品Id
  18044. type: integer
  18045. goodsname:
  18046. description: 商品名称
  18047. type: string
  18048. goodunit:
  18049. description: 报价单位
  18050. type: string
  18051. goodunitid:
  18052. description: 报价单位ID
  18053. type: integer
  18054. holderamount:
  18055. description: 期初持仓总金额[商品币种]
  18056. type: number
  18057. lastprice:
  18058. description: 最新价
  18059. type: number
  18060. marketamount:
  18061. description: 市值
  18062. type: number
  18063. marketid:
  18064. description: 所属市场ID
  18065. type: integer
  18066. openreqqty:
  18067. description: 开仓申请数量(用于比较最大持仓数量)
  18068. type: number
  18069. opentotalqty:
  18070. description: 开仓总数量
  18071. type: number
  18072. otherfrozenqty:
  18073. description: 持仓其他冻结数量(交割冻结)
  18074. type: number
  18075. positionpl:
  18076. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  18077. type: number
  18078. positionplrate:
  18079. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18080. type: number
  18081. positionqty:
  18082. description: 期初持仓数量
  18083. type: number
  18084. qtydecimalplace:
  18085. description: 成交量小数位
  18086. type: integer
  18087. refgoodscode:
  18088. description: 参考商品代码
  18089. type: string
  18090. refgoodsid:
  18091. description: 参考商品ID
  18092. type: integer
  18093. tnqty:
  18094. description: T+N冻结总量
  18095. type: number
  18096. tnusedqty:
  18097. description: T+N使用量(可以使用T+N的冻结数量)
  18098. type: number
  18099. trademode:
  18100. description: 交易模式
  18101. type: integer
  18102. tradeproperty:
  18103. description: 交易属性
  18104. type: integer
  18105. usedmargin:
  18106. description: 占用保证金[商品币种]
  18107. type: number
  18108. required:
  18109. - goodsid
  18110. type: object
  18111. pb.GoodsMarginCfgStruct:
  18112. properties:
  18113. CustomerTypeID:
  18114. description: 投资者客户类型
  18115. type: integer
  18116. GoodsID:
  18117. description: 商品ID
  18118. type: integer
  18119. IsDefault:
  18120. description: 是否默认标志位
  18121. type: integer
  18122. LockMarginValue:
  18123. description: 锁仓保证金
  18124. type: number
  18125. MarginAlgorithm:
  18126. description: 保证金计算方式
  18127. type: integer
  18128. MarketMarginValue:
  18129. description: 即市保证金值
  18130. type: number
  18131. RealMarginAlgorithm:
  18132. description: 实付保证金计算方式
  18133. type: integer
  18134. RealMarginValue:
  18135. description: 实付比例
  18136. type: number
  18137. ReckonMarginValue:
  18138. description: 结算保证金值
  18139. type: number
  18140. type: object
  18141. quote.HistoryData:
  18142. properties:
  18143. c:
  18144. description: 收盘价
  18145. type: number
  18146. f:
  18147. description: 是否补充数据
  18148. type: boolean
  18149. h:
  18150. description: 最高价
  18151. type: number
  18152. hv:
  18153. description: 持仓量
  18154. type: integer
  18155. l:
  18156. description: 最低价
  18157. type: number
  18158. o:
  18159. description: 开盘价
  18160. type: number
  18161. s:
  18162. description: 结算价,日线周期(包括)以上才有
  18163. type: number
  18164. ts:
  18165. description: 时间
  18166. type: string
  18167. tt:
  18168. description: 总金额
  18169. type: number
  18170. tv:
  18171. description: 总量(成交量)
  18172. type: integer
  18173. type: object
  18174. quote.HistoryTikData:
  18175. properties:
  18176. AV:
  18177. description: 卖量
  18178. type: integer
  18179. Ask:
  18180. description: 卖价
  18181. type: number
  18182. BV:
  18183. description: 买量
  18184. type: integer
  18185. Bid:
  18186. description: 买价
  18187. type: number
  18188. HI:
  18189. description: 单笔持仓
  18190. type: integer
  18191. HV:
  18192. description: 持仓量
  18193. type: integer
  18194. PE:
  18195. description: 现价
  18196. type: number
  18197. TDR:
  18198. description: 交易方向,0:买 1:卖
  18199. type: integer
  18200. TK:
  18201. description: 交易类型
  18202. type: integer
  18203. TS:
  18204. description: 行情时间文本
  18205. type: string
  18206. TT:
  18207. description: 现金额
  18208. type: number
  18209. Vol:
  18210. description: 现量
  18211. type: integer
  18212. type: object
  18213. quote.QueryQuoteDayRsp:
  18214. properties:
  18215. ask:
  18216. description: 卖1
  18217. type: number
  18218. ask2:
  18219. description: 卖2
  18220. type: number
  18221. ask3:
  18222. description: 卖3
  18223. type: number
  18224. ask4:
  18225. description: 卖4
  18226. type: number
  18227. ask5:
  18228. description: 卖5
  18229. type: number
  18230. ask6:
  18231. description: 卖6
  18232. type: number
  18233. ask7:
  18234. description: 卖7
  18235. type: number
  18236. ask8:
  18237. description: 卖8
  18238. type: number
  18239. ask9:
  18240. description: 卖9
  18241. type: number
  18242. ask10:
  18243. description: 卖10
  18244. type: number
  18245. askorderid:
  18246. description: 卖单号1
  18247. type: integer
  18248. askorderid2:
  18249. description: 卖单号2
  18250. type: integer
  18251. askorderid3:
  18252. description: 卖单号3
  18253. type: integer
  18254. askorderid4:
  18255. description: 卖单号4
  18256. type: integer
  18257. askorderid5:
  18258. description: 卖单号5
  18259. type: integer
  18260. askordervolume:
  18261. description: 卖单量1
  18262. type: integer
  18263. askordervolume2:
  18264. description: 卖单量2
  18265. type: integer
  18266. askordervolume3:
  18267. description: 卖单量3
  18268. type: integer
  18269. askordervolume4:
  18270. description: 卖单量4
  18271. type: integer
  18272. askordervolume5:
  18273. description: 卖单量5
  18274. type: integer
  18275. askordervolume6:
  18276. description: 卖单量6
  18277. type: integer
  18278. askordervolume7:
  18279. description: 卖单量7
  18280. type: integer
  18281. askordervolume8:
  18282. description: 卖单量8
  18283. type: integer
  18284. askordervolume9:
  18285. description: 卖单量9
  18286. type: integer
  18287. askordervolume10:
  18288. description: 卖单量10
  18289. type: integer
  18290. askqueueinfo:
  18291. description: 大利市卖港股用
  18292. type: string
  18293. askvolume:
  18294. description: 卖量1
  18295. type: integer
  18296. askvolume2:
  18297. description: 卖量2
  18298. type: integer
  18299. askvolume3:
  18300. description: 卖量3
  18301. type: integer
  18302. askvolume4:
  18303. description: 卖量4
  18304. type: integer
  18305. askvolume5:
  18306. description: 卖量5
  18307. type: integer
  18308. askvolume6:
  18309. description: 卖量6
  18310. type: integer
  18311. askvolume7:
  18312. description: 卖量7
  18313. type: integer
  18314. askvolume8:
  18315. description: 卖量8
  18316. type: integer
  18317. askvolume9:
  18318. description: 卖量9
  18319. type: integer
  18320. askvolume10:
  18321. description: 卖量10
  18322. type: integer
  18323. averageprice:
  18324. description: 均价
  18325. type: number
  18326. bid:
  18327. description: 买1
  18328. type: number
  18329. bid2:
  18330. description: 买2
  18331. type: number
  18332. bid3:
  18333. description: 买3
  18334. type: number
  18335. bid4:
  18336. description: 买4
  18337. type: number
  18338. bid5:
  18339. description: 买5
  18340. type: number
  18341. bid6:
  18342. description: 买6
  18343. type: number
  18344. bid7:
  18345. description: 买7
  18346. type: number
  18347. bid8:
  18348. description: 买8
  18349. type: number
  18350. bid9:
  18351. description: 买9
  18352. type: number
  18353. bid10:
  18354. description: 买10
  18355. type: number
  18356. bidorderid:
  18357. description: 买单号1
  18358. type: integer
  18359. bidorderid2:
  18360. description: 买单号2
  18361. type: integer
  18362. bidorderid3:
  18363. description: 买单号3
  18364. type: integer
  18365. bidorderid4:
  18366. description: 买单号4
  18367. type: integer
  18368. bidorderid5:
  18369. description: 买单号5
  18370. type: integer
  18371. bidordervolume:
  18372. description: 买单量1
  18373. type: integer
  18374. bidordervolume2:
  18375. description: 买单量2
  18376. type: integer
  18377. bidordervolume3:
  18378. description: 买单量3
  18379. type: integer
  18380. bidordervolume4:
  18381. description: 买单量4
  18382. type: integer
  18383. bidordervolume5:
  18384. description: 买单量5
  18385. type: integer
  18386. bidordervolume6:
  18387. description: 买单量6
  18388. type: integer
  18389. bidordervolume7:
  18390. description: 买单量7
  18391. type: integer
  18392. bidordervolume8:
  18393. description: 买单量8
  18394. type: integer
  18395. bidordervolume9:
  18396. description: 买单量9
  18397. type: integer
  18398. bidordervolume10:
  18399. description: 买单量10
  18400. type: integer
  18401. bidqueueinfo:
  18402. description: 大利市买港股用
  18403. type: string
  18404. bidvolume:
  18405. description: 买量1
  18406. type: integer
  18407. bidvolume2:
  18408. description: 买量2
  18409. type: integer
  18410. bidvolume3:
  18411. description: 买量3
  18412. type: integer
  18413. bidvolume4:
  18414. description: 买量4
  18415. type: integer
  18416. bidvolume5:
  18417. description: 买量5
  18418. type: integer
  18419. bidvolume6:
  18420. description: 买量6
  18421. type: integer
  18422. bidvolume7:
  18423. description: 买量7
  18424. type: integer
  18425. bidvolume8:
  18426. description: 买量8
  18427. type: integer
  18428. bidvolume9:
  18429. description: 买量9
  18430. type: integer
  18431. bidvolume10:
  18432. description: 买量10
  18433. type: integer
  18434. calloptionpremiums:
  18435. description: 认购期权1
  18436. type: integer
  18437. calloptionpremiums2:
  18438. description: 认购期权2
  18439. type: integer
  18440. calloptionpremiums3:
  18441. description: 认购期权3
  18442. type: integer
  18443. calloptionpremiums4:
  18444. description: 认购期权4
  18445. type: integer
  18446. calloptionpremiums5:
  18447. description: 认购期权5
  18448. type: integer
  18449. cleartime:
  18450. description: 清盘时间
  18451. type: integer
  18452. exchangecode:
  18453. description: 交易所代码
  18454. type: integer
  18455. exchangedate:
  18456. description: 交易日
  18457. type: integer
  18458. goodscode:
  18459. description: 商品代码
  18460. type: string
  18461. grepmarketprice:
  18462. description: 暗盘价 港股专用
  18463. type: number
  18464. highest:
  18465. description: 最高价
  18466. type: number
  18467. holdincrement:
  18468. description: 单笔持仓
  18469. type: integer
  18470. holdvolume:
  18471. description: 持仓
  18472. type: integer
  18473. iep:
  18474. description: 平衡价 港股专用
  18475. type: number
  18476. iev:
  18477. description: 平衡量 港股专用
  18478. type: number
  18479. inventory:
  18480. description: 库存
  18481. type: integer
  18482. iscleared:
  18483. description: 是否清盘标志
  18484. type: integer
  18485. issettled:
  18486. description: 是否结算标志
  18487. type: integer
  18488. last:
  18489. description: 最新价
  18490. type: number
  18491. lastlot:
  18492. description: 最新成交手数
  18493. type: integer
  18494. lasttime:
  18495. description: 行情时间(只有现价变化行情时间才变化)
  18496. type: string
  18497. lastturnover:
  18498. description: 最新成交金额
  18499. type: number
  18500. lastvolume:
  18501. description: 最新成交量
  18502. type: integer
  18503. limitdown:
  18504. description: 跌停价
  18505. type: number
  18506. limitup:
  18507. description: 涨停价
  18508. type: number
  18509. lowest:
  18510. description: 最低价
  18511. type: number
  18512. nontotalholdervolume:
  18513. description: 非交易持仓量
  18514. type: integer
  18515. nontotallot:
  18516. description: 非交易总手数
  18517. type: integer
  18518. nontotalturnover:
  18519. description: 非交易总金额
  18520. type: integer
  18521. nontotalvolume:
  18522. description: 非交易总量
  18523. type: integer
  18524. opened:
  18525. description: 开盘价
  18526. type: number
  18527. opentime:
  18528. description: 开盘时间
  18529. type: string
  18530. orderid:
  18531. description: 序号
  18532. type: integer
  18533. preclose:
  18534. description: 昨收
  18535. type: number
  18536. preholdvolume:
  18537. description: 昨持仓
  18538. type: integer
  18539. presettle:
  18540. description: 昨结价
  18541. type: number
  18542. publictradetype:
  18543. description: 公共交易标志类型 港股专用
  18544. type: string
  18545. putoptionpremiums:
  18546. description: 认沽期权1
  18547. type: integer
  18548. putoptionpremiums2:
  18549. description: 认沽期权2
  18550. type: integer
  18551. putoptionpremiums3:
  18552. description: 认沽期权3
  18553. type: integer
  18554. putoptionpremiums4:
  18555. description: 认沽期权4
  18556. type: integer
  18557. putoptionpremiums5:
  18558. description: 认沽期权5
  18559. type: integer
  18560. settle:
  18561. description: 结算价
  18562. type: number
  18563. strikeprice:
  18564. description: 发行价
  18565. type: number
  18566. totalaskvolume:
  18567. description: 内盘
  18568. type: integer
  18569. totalbidvolume:
  18570. description: 外盘
  18571. type: integer
  18572. totallot:
  18573. description: 总手数
  18574. type: integer
  18575. totalturnover:
  18576. description: 总金额
  18577. type: number
  18578. totalvolume:
  18579. description: 总量
  18580. type: integer
  18581. utclasttime:
  18582. description: utc的行情时间
  18583. type: string
  18584. type: object
  18585. quote.QueryTSDataRsp:
  18586. properties:
  18587. Count:
  18588. description: 交易日应有数据个数
  18589. type: integer
  18590. decimalPlace:
  18591. description: 小数位
  18592. type: integer
  18593. endTime:
  18594. description: 结束时间
  18595. type: string
  18596. goodsCode:
  18597. description: 商品代码
  18598. type: string
  18599. historyDatas:
  18600. description: 历史数据
  18601. items:
  18602. $ref: '#/definitions/quote.HistoryData'
  18603. type: array
  18604. outGoodsCode:
  18605. description: 外部商品代码
  18606. type: string
  18607. preSettle:
  18608. description: 昨结价
  18609. type: number
  18610. runSteps:
  18611. description: 交易日开休市计划
  18612. items:
  18613. $ref: '#/definitions/quote.TSDataRunStep'
  18614. type: array
  18615. startTime:
  18616. description: 开始时间
  18617. type: string
  18618. tradeDate:
  18619. description: 交易日
  18620. type: string
  18621. type: object
  18622. quote.TSDataRunStep:
  18623. properties:
  18624. end:
  18625. description: 真实结束时间
  18626. type: string
  18627. endflag:
  18628. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18629. type: integer
  18630. endtime:
  18631. description: 结束时间(HH:mm)
  18632. type: string
  18633. endweekday:
  18634. description: 结束周几
  18635. type: integer
  18636. groupid:
  18637. description: 分组ID
  18638. type: integer
  18639. runstep:
  18640. description: 运行阶段 - 2:连续交易
  18641. type: integer
  18642. sectionid:
  18643. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18644. type: integer
  18645. start:
  18646. description: 真实开始时间
  18647. type: string
  18648. startflag:
  18649. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18650. type: integer
  18651. starttime:
  18652. description: 起始时间(HH:mm)
  18653. type: string
  18654. startweekday:
  18655. description: 起始周几
  18656. type: integer
  18657. tradeweekday:
  18658. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18659. type: integer
  18660. type: object
  18661. szdz.QueryConvertLogRsp:
  18662. properties:
  18663. accountid:
  18664. description: 资金账户ID
  18665. type: integer
  18666. clientticket:
  18667. description: 客户端流水号
  18668. type: string
  18669. converttype:
  18670. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18671. type: integer
  18672. createtime:
  18673. description: 记账时间
  18674. type: string
  18675. daymaxvalue:
  18676. description: 配置当日最大转入限制
  18677. type: number
  18678. daymaxvalue2:
  18679. description: 配置当日最大转入限制(转入)
  18680. type: number
  18681. goodscode:
  18682. description: 商品代码
  18683. type: string
  18684. goodsname:
  18685. description: 商品名称
  18686. type: string
  18687. handlestatus:
  18688. description: 处理状态
  18689. type: integer
  18690. innergoodsid:
  18691. description: 内部商品ID
  18692. type: integer
  18693. inratio:
  18694. description: 配置转入比值
  18695. type: integer
  18696. invalue:
  18697. description: 目标值
  18698. type: number
  18699. logid:
  18700. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18701. type: integer
  18702. mobile:
  18703. description: 手机号码(加密存储)
  18704. type: string
  18705. outergoodscode:
  18706. description: 外部商品代码[JD\PD]
  18707. type: string
  18708. outratio:
  18709. description: 配置转出比值
  18710. type: integer
  18711. outvalue:
  18712. description: 源值
  18713. type: number
  18714. pddecimalplace:
  18715. description: PD小数位
  18716. type: integer
  18717. qty:
  18718. description: 数量
  18719. type: string
  18720. remark:
  18721. description: 备注
  18722. type: string
  18723. sessionid:
  18724. description: 会话ID
  18725. type: integer
  18726. timemaxvalue:
  18727. description: 配置单次最大转入限制
  18728. type: number
  18729. timemaxvalue2:
  18730. description: 配置单次最大转入限制(转入)
  18731. type: number
  18732. timeminvalue:
  18733. description: 配置单次最小数量限制
  18734. type: number
  18735. timeminvalue2:
  18736. description: 配置单次最小数量限制(转入)
  18737. type: number
  18738. tradedate:
  18739. description: 交易日(yyyyMMdd)
  18740. type: string
  18741. userid:
  18742. description: 用户ID
  18743. type: integer
  18744. required:
  18745. - logid
  18746. type: object
  18747. szdz.QueryGoodsPickupRsp:
  18748. properties:
  18749. accountid:
  18750. description: 账户ID
  18751. type: integer
  18752. address:
  18753. description: 提货人详细地址
  18754. type: string
  18755. auditer:
  18756. description: 审核人
  18757. type: integer
  18758. audittime:
  18759. description: 审核时间
  18760. type: string
  18761. cardnum:
  18762. description: 提货人证件号码
  18763. type: string
  18764. cardtypeid:
  18765. description: 提货人证件类型
  18766. type: integer
  18767. checkremark:
  18768. description: 审核备注
  18769. type: string
  18770. goodscode:
  18771. description: 商品代码
  18772. type: string
  18773. goodsid:
  18774. description: 商品ID
  18775. type: integer
  18776. goodsname:
  18777. description: 商品名称
  18778. type: string
  18779. handlestatus:
  18780. description: 处理状态
  18781. type: integer
  18782. marketid:
  18783. description: 市场ID
  18784. type: integer
  18785. phonenum:
  18786. description: 提货人联系方式
  18787. type: string
  18788. qty:
  18789. description: 提货数量
  18790. type: number
  18791. recivername:
  18792. description: 提货人姓名
  18793. type: string
  18794. reqtime:
  18795. description: 更新时间
  18796. type: string
  18797. takemode:
  18798. description: 提货方式 - 2:自提 3:配送
  18799. type: integer
  18800. takeorderid:
  18801. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18802. type: string
  18803. takeorderstatus:
  18804. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18805. type: integer
  18806. takeremark:
  18807. description: 提货备注
  18808. type: string
  18809. tradedate:
  18810. description: 交易日(yyyyMMdd)
  18811. type: string
  18812. userid:
  18813. description: 用户ID
  18814. type: integer
  18815. required:
  18816. - takeorderid
  18817. type: object
  18818. szdz.QueryRecieptOrderRsp:
  18819. properties:
  18820. accountName:
  18821. description: 所属账号名称(已脱敏)
  18822. type: string
  18823. accountid:
  18824. description: 资金账号
  18825. type: integer
  18826. buyorsell:
  18827. description: 方向 - 0:买 1:卖
  18828. type: integer
  18829. enableqty:
  18830. description: 可摘数量
  18831. type: integer
  18832. goodscode:
  18833. description: 商品代码
  18834. type: string
  18835. goodsid:
  18836. description: 商品ID
  18837. type: integer
  18838. goodsname:
  18839. description: 商品名称
  18840. type: string
  18841. orderid:
  18842. description: 委托单号
  18843. type: string
  18844. orderprice:
  18845. description: 委托价格
  18846. type: number
  18847. ordertime:
  18848. description: 委托时间
  18849. type: string
  18850. tradedate:
  18851. description: 交易日(yyyyMMdd)
  18852. type: string
  18853. required:
  18854. - ordertime
  18855. type: object
  18856. szdz.QuerySZDZTradePositionRsp:
  18857. properties:
  18858. accountid:
  18859. description: 账号Id
  18860. type: integer
  18861. agreeunit:
  18862. description: 合约单位
  18863. type: number
  18864. averageprice:
  18865. description: 持仓均价
  18866. type: number
  18867. buyorsell:
  18868. description: 方向 - 0:买 1:卖
  18869. type: integer
  18870. closetotalqty:
  18871. description: 平仓总数量
  18872. type: integer
  18873. curholderamount:
  18874. description: 当前持仓总金额
  18875. type: number
  18876. curpositionqty:
  18877. description: 当前持仓总数量
  18878. type: integer
  18879. currencyid:
  18880. description: 报价货币ID
  18881. type: integer
  18882. curtdposition:
  18883. description: 期末今日头寸
  18884. type: integer
  18885. decimalplace:
  18886. description: 报价小数位
  18887. type: integer
  18888. enableqty:
  18889. description: 可用量
  18890. type: integer
  18891. fretdposition:
  18892. description: 冻结今日头寸
  18893. type: integer
  18894. frozenqty:
  18895. description: 持仓冻结数量
  18896. type: integer
  18897. goodscode:
  18898. description: 商品代码(内部)
  18899. type: string
  18900. goodsid:
  18901. description: 商品Id
  18902. type: integer
  18903. goodsname:
  18904. description: 商品名称
  18905. type: string
  18906. goodunit:
  18907. description: 报价单位
  18908. type: string
  18909. goodunitid:
  18910. description: 报价单位ID
  18911. type: integer
  18912. holderamount:
  18913. description: 期初持仓总金额
  18914. type: number
  18915. marketid:
  18916. description: 市场ID
  18917. type: integer
  18918. openreqqty:
  18919. description: 开仓申请数量
  18920. type: integer
  18921. opentotalqty:
  18922. description: 开仓总数量
  18923. type: integer
  18924. otherfrozenqty:
  18925. description: 持仓其他冻结数量(交割冻结)
  18926. type: integer
  18927. positionqty:
  18928. description: 期初持仓数量
  18929. type: integer
  18930. szdz3freezqty:
  18931. description: 尚志大宗转换冻结总数量
  18932. type: integer
  18933. tnqty:
  18934. description: T+N冻结总量
  18935. type: integer
  18936. tnusedqty:
  18937. description: T+N使用量
  18938. type: integer
  18939. trademode:
  18940. description: 交易模式
  18941. type: integer
  18942. usedmargin:
  18943. description: 占用保证金
  18944. type: number
  18945. type: object
  18946. taaccount.QueryAmountLogRsp:
  18947. properties:
  18948. OPERATETYPENAME:
  18949. description: 资金操作类型名称
  18950. type: string
  18951. accountid:
  18952. description: 资金账户ID
  18953. type: integer
  18954. agoodscode:
  18955. description: 竞拍商品代码
  18956. type: string
  18957. agoodsname:
  18958. description: 竞拍商品名称
  18959. type: string
  18960. amount:
  18961. description: 资金金额
  18962. type: number
  18963. amountadjusttype:
  18964. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18965. type: integer
  18966. autoid:
  18967. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18968. type: integer
  18969. balance:
  18970. description: 期初余额
  18971. type: number
  18972. businesscode:
  18973. description: 业务编号
  18974. type: integer
  18975. createtime:
  18976. description: 发生时间
  18977. type: string
  18978. currencyid:
  18979. description: 币种ID
  18980. type: integer
  18981. currentbalance:
  18982. description: 期末余额(变动后金额)
  18983. type: number
  18984. dgoodscode:
  18985. description: 交割商品代码
  18986. type: string
  18987. dgoodsname:
  18988. description: 交割商品名称
  18989. type: string
  18990. goodscode:
  18991. description: 商品代码
  18992. type: string
  18993. goodsid:
  18994. description: 商品ID
  18995. type: integer
  18996. goodsname:
  18997. description: 商品名称
  18998. type: string
  18999. marketid:
  19000. description: 市场ID
  19001. type: integer
  19002. marketname:
  19003. description: 市场名称
  19004. type: string
  19005. moneyticket:
  19006. description: 资金流水号:银行端流水号
  19007. type: integer
  19008. operatetype:
  19009. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19010. type: integer
  19011. relationorderid:
  19012. description: 关联单号
  19013. type: string
  19014. remark:
  19015. description: 备注
  19016. type: string
  19017. trademode:
  19018. description: 交易模式
  19019. type: integer
  19020. required:
  19021. - accountid
  19022. - amount
  19023. - amountadjusttype
  19024. - autoid
  19025. - balance
  19026. - createtime
  19027. - currentbalance
  19028. - operatetype
  19029. type: object
  19030. taaccount.QueryHisAmountLogRsp:
  19031. properties:
  19032. OPERATETYPENAME:
  19033. description: 资金操作类型名称
  19034. type: string
  19035. accountid:
  19036. description: 资金账户ID
  19037. type: integer
  19038. agoodscode:
  19039. description: 竞拍商品代码
  19040. type: string
  19041. agoodsname:
  19042. description: 竞拍商品名称
  19043. type: string
  19044. amount:
  19045. description: 资金金额
  19046. type: number
  19047. amountadjusttype:
  19048. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19049. type: integer
  19050. autoid:
  19051. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19052. type: integer
  19053. balance:
  19054. description: 期初余额
  19055. type: number
  19056. businesscode:
  19057. description: 业务编号
  19058. type: integer
  19059. createtime:
  19060. description: 发生时间
  19061. type: string
  19062. currencyid:
  19063. description: 币种ID
  19064. type: integer
  19065. currentbalance:
  19066. description: 期末余额(变动后金额)
  19067. type: number
  19068. dgoodscode:
  19069. description: 交割商品代码
  19070. type: string
  19071. dgoodsname:
  19072. description: 交割商品名称
  19073. type: string
  19074. goodscode:
  19075. description: 商品代码
  19076. type: string
  19077. goodsid:
  19078. description: 商品ID
  19079. type: integer
  19080. goodsname:
  19081. description: 商品名称
  19082. type: string
  19083. histradedate:
  19084. description: 历史交易日
  19085. type: string
  19086. isvaliddata:
  19087. description: 是否有效 - 0:无效 1:有效
  19088. type: integer
  19089. marketid:
  19090. description: 市场ID
  19091. type: integer
  19092. marketname:
  19093. description: 市场名称
  19094. type: string
  19095. moneyticket:
  19096. description: 资金流水号:银行端流水号
  19097. type: integer
  19098. operatetype:
  19099. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19100. type: integer
  19101. relationorderid:
  19102. description: 关联单号
  19103. type: string
  19104. remark:
  19105. description: 备注
  19106. type: string
  19107. trademode:
  19108. description: 交易模式
  19109. type: integer
  19110. required:
  19111. - accountid
  19112. - amount
  19113. - amountadjusttype
  19114. - autoid
  19115. - balance
  19116. - createtime
  19117. - currentbalance
  19118. - histradedate
  19119. - operatetype
  19120. type: object
  19121. trade.QueryRecieptOrderRsp:
  19122. properties:
  19123. accountName:
  19124. description: 所属账号名称(已脱敏)
  19125. type: string
  19126. accountid:
  19127. description: 资金账号
  19128. type: integer
  19129. buyorsell:
  19130. description: 方向 - 0:买 1:卖
  19131. type: integer
  19132. enableqty:
  19133. description: 可摘数量
  19134. type: integer
  19135. goodscode:
  19136. description: 商品代码
  19137. type: string
  19138. goodsid:
  19139. description: 商品ID
  19140. type: integer
  19141. goodsname:
  19142. description: 商品名称
  19143. type: string
  19144. orderid:
  19145. description: 委托单号
  19146. type: string
  19147. orderprice:
  19148. description: 委托价格
  19149. type: number
  19150. ordertime:
  19151. description: 委托时间
  19152. type: string
  19153. tradedate:
  19154. description: 交易日(yyyyMMdd)
  19155. type: string
  19156. required:
  19157. - ordertime
  19158. type: object
  19159. user.LoginQueryRsp:
  19160. properties:
  19161. areaRoles:
  19162. description: 所属角色信息
  19163. items:
  19164. $ref: '#/definitions/models.Arearole'
  19165. type: array
  19166. externalExchanges:
  19167. description: 外部交易所
  19168. items:
  19169. $ref: '#/definitions/models.Externalexchange'
  19170. type: array
  19171. goodsgroups:
  19172. description: 商品组
  19173. items:
  19174. $ref: '#/definitions/models.Goodsgroup'
  19175. type: array
  19176. loginAccount:
  19177. $ref: '#/definitions/models.Loginaccount'
  19178. description: 登录账号
  19179. markets:
  19180. description: 市场
  19181. items:
  19182. $ref: '#/definitions/models.Market'
  19183. type: array
  19184. systemParams:
  19185. description: 系统参数
  19186. items:
  19187. $ref: '#/definitions/models.Systemparam'
  19188. type: array
  19189. userAccount:
  19190. $ref: '#/definitions/models.Useraccount'
  19191. description: 用户账号
  19192. userInfo:
  19193. $ref: '#/definitions/models.Userinfo'
  19194. description: 用户信息
  19195. username:
  19196. description: 用户姓名
  19197. type: string
  19198. type: object
  19199. info:
  19200. contact: {}
  19201. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19202. termsOfService: http://www.muchinfo.cn
  19203. title: MTP2.0 查询服务 API
  19204. version: "1.0"
  19205. paths:
  19206. /CPTrade/QueryCPTradeMyBidInfos:
  19207. get:
  19208. parameters:
  19209. - description: 资金账户
  19210. in: query
  19211. name: accountid
  19212. required: true
  19213. type: integer
  19214. - description: 预售市场ID
  19215. in: query
  19216. name: marketid
  19217. type: integer
  19218. - description: 预售商品ID
  19219. in: query
  19220. name: goodsid
  19221. type: integer
  19222. produces:
  19223. - application/json
  19224. responses:
  19225. "200":
  19226. description: OK
  19227. schema:
  19228. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19229. "500":
  19230. description: Internal Server Error
  19231. schema:
  19232. $ref: '#/definitions/app.Response'
  19233. security:
  19234. - ApiKeyAuth: []
  19235. summary: 查询产能预售我的出价信息
  19236. tags:
  19237. - 产能预售
  19238. /CPTrade/QueryCPTradeOrderDetail:
  19239. get:
  19240. parameters:
  19241. - description: 预售商品ID
  19242. in: query
  19243. name: goodsid
  19244. type: integer
  19245. - description: 预售市场ID
  19246. in: query
  19247. name: marketid
  19248. type: integer
  19249. - description: 预售商品ID列表 - 格式:1,2,3
  19250. in: query
  19251. name: goodsids
  19252. type: string
  19253. produces:
  19254. - application/json
  19255. responses:
  19256. "200":
  19257. description: OK
  19258. schema:
  19259. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19260. "500":
  19261. description: Internal Server Error
  19262. schema:
  19263. $ref: '#/definitions/app.Response'
  19264. security:
  19265. - ApiKeyAuth: []
  19266. summary: 查询产能预售委托单信息
  19267. tags:
  19268. - 产能预售
  19269. /CPTrade/QueryMyCPTradeGoods:
  19270. get:
  19271. parameters:
  19272. - description: 资金账户
  19273. in: query
  19274. name: accountid
  19275. required: true
  19276. type: integer
  19277. produces:
  19278. - application/json
  19279. responses:
  19280. "200":
  19281. description: OK
  19282. schema:
  19283. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19284. "500":
  19285. description: Internal Server Error
  19286. schema:
  19287. $ref: '#/definitions/app.Response'
  19288. security:
  19289. - ApiKeyAuth: []
  19290. summary: 查询我的预售信息
  19291. tags:
  19292. - 产能预售
  19293. /CPTrade/QueryPositionCancel:
  19294. get:
  19295. parameters:
  19296. - description: 账户ID
  19297. in: query
  19298. name: userid
  19299. required: true
  19300. type: integer
  19301. - description: 注销ID
  19302. in: query
  19303. name: cancelid
  19304. type: integer
  19305. - description: 资金账户ID
  19306. in: query
  19307. name: accountid
  19308. type: integer
  19309. produces:
  19310. - application/json
  19311. responses:
  19312. "200":
  19313. description: OK
  19314. schema:
  19315. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19316. "500":
  19317. description: Internal Server Error
  19318. schema:
  19319. $ref: '#/definitions/app.Response'
  19320. security:
  19321. - ApiKeyAuth: []
  19322. summary: 查询远期订单注销申请信息
  19323. tags:
  19324. - 产能预售
  19325. /CPTrade/QueryPreasleApply:
  19326. get:
  19327. parameters:
  19328. - description: 账户ID
  19329. in: query
  19330. name: userid
  19331. required: true
  19332. type: integer
  19333. - description: 申请ID
  19334. in: query
  19335. name: applyid
  19336. type: integer
  19337. - description: 资金账户ID
  19338. in: query
  19339. name: accountid
  19340. type: integer
  19341. produces:
  19342. - application/json
  19343. responses:
  19344. "200":
  19345. description: OK
  19346. schema:
  19347. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19348. "500":
  19349. description: Internal Server Error
  19350. schema:
  19351. $ref: '#/definitions/app.Response'
  19352. security:
  19353. - ApiKeyAuth: []
  19354. summary: 查询产能预售申请信息
  19355. tags:
  19356. - 产能预售
  19357. /CPTrade/QueryPresaleGoodsEx:
  19358. get:
  19359. parameters:
  19360. - description: 预售商品ID
  19361. in: query
  19362. name: goodsid
  19363. type: integer
  19364. - description: 预售市场ID
  19365. in: query
  19366. name: marketid
  19367. type: integer
  19368. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19369. in: query
  19370. name: presalemode
  19371. type: integer
  19372. - description: 预售商品ID列表 - 格式:1,2,3
  19373. in: query
  19374. name: goodsids
  19375. type: string
  19376. - description: 预售商品代码
  19377. in: query
  19378. name: goodscode
  19379. type: string
  19380. produces:
  19381. - application/json
  19382. responses:
  19383. "200":
  19384. description: OK
  19385. schema:
  19386. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19387. "500":
  19388. description: Internal Server Error
  19389. schema:
  19390. $ref: '#/definitions/app.Response'
  19391. security:
  19392. - ApiKeyAuth: []
  19393. summary: 查询产能预售商品扩展信息
  19394. tags:
  19395. - 产能预售
  19396. /CPTrade/QueryUserGoodsData:
  19397. get:
  19398. parameters:
  19399. - description: 资金账户ID
  19400. in: query
  19401. name: accountid
  19402. required: true
  19403. type: integer
  19404. produces:
  19405. - application/json
  19406. responses:
  19407. "200":
  19408. description: OK
  19409. schema:
  19410. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19411. "500":
  19412. description: Internal Server Error
  19413. schema:
  19414. $ref: '#/definitions/app.Response'
  19415. security:
  19416. - ApiKeyAuth: []
  19417. summary: 查询远期订单信息
  19418. tags:
  19419. - 产能预售
  19420. /Common/GetAllEnums:
  19421. get:
  19422. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19423. parameters:
  19424. - description: 起始自增ID
  19425. in: query
  19426. name: autoid
  19427. type: integer
  19428. produces:
  19429. - application/json
  19430. responses:
  19431. "200":
  19432. description: OK
  19433. schema:
  19434. $ref: '#/definitions/models.Enumdicitem'
  19435. "500":
  19436. description: Internal Server Error
  19437. schema:
  19438. $ref: '#/definitions/app.Response'
  19439. summary: 获取所有枚举信息
  19440. tags:
  19441. - 通用服务
  19442. /Common/GetClientMenus:
  19443. get:
  19444. parameters:
  19445. - description: 登录账号
  19446. in: query
  19447. name: loginID
  19448. required: true
  19449. type: integer
  19450. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19451. in: query
  19452. name: clientType
  19453. type: integer
  19454. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19455. in: query
  19456. name: name
  19457. type: string
  19458. produces:
  19459. - application/json
  19460. responses:
  19461. "200":
  19462. description: OK
  19463. schema:
  19464. items:
  19465. $ref: '#/definitions/common.ClientMenu'
  19466. type: array
  19467. "500":
  19468. description: Internal Server Error
  19469. schema:
  19470. $ref: '#/definitions/app.Response'
  19471. security:
  19472. - ApiKeyAuth: []
  19473. summary: 获取交易端菜单
  19474. tags:
  19475. - 通用服务
  19476. /Common/GetDivisions:
  19477. get:
  19478. produces:
  19479. - application/json
  19480. responses:
  19481. "200":
  19482. description: OK
  19483. schema:
  19484. $ref: '#/definitions/models.Division'
  19485. "500":
  19486. description: Internal Server Error
  19487. schema:
  19488. $ref: '#/definitions/app.Response'
  19489. summary: 查询区域信息
  19490. tags:
  19491. - 通用服务
  19492. /Common/GetPCWebMenus:
  19493. get:
  19494. parameters:
  19495. - description: 登录账号
  19496. in: query
  19497. name: loginID
  19498. required: true
  19499. type: integer
  19500. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19501. in: query
  19502. name: name
  19503. type: string
  19504. produces:
  19505. - application/json
  19506. responses:
  19507. "200":
  19508. description: OK
  19509. schema:
  19510. items:
  19511. $ref: '#/definitions/common.PCWebMenu'
  19512. type: array
  19513. "500":
  19514. description: Internal Server Error
  19515. schema:
  19516. $ref: '#/definitions/app.Response'
  19517. security:
  19518. - ApiKeyAuth: []
  19519. summary: 获取PCWeb交易端菜单
  19520. tags:
  19521. - 通用服务
  19522. /Common/GetServerTime:
  19523. get:
  19524. produces:
  19525. - application/json
  19526. responses:
  19527. "200":
  19528. description: OK
  19529. schema:
  19530. $ref: '#/definitions/app.Response'
  19531. "500":
  19532. description: Internal Server Error
  19533. schema:
  19534. $ref: '#/definitions/app.Response'
  19535. summary: 获取服务器时间
  19536. tags:
  19537. - 通用服务
  19538. /Common/NoticeReaded:
  19539. post:
  19540. parameters:
  19541. - description: 登录账号
  19542. in: query
  19543. name: loginID
  19544. required: true
  19545. type: integer
  19546. - description: 通知公告ID
  19547. in: query
  19548. name: noticeID
  19549. required: true
  19550. type: integer
  19551. produces:
  19552. - application/json
  19553. responses:
  19554. "200":
  19555. description: OK
  19556. schema:
  19557. $ref: '#/definitions/app.Response'
  19558. "500":
  19559. description: Internal Server Error
  19560. schema:
  19561. $ref: '#/definitions/app.Response'
  19562. security:
  19563. - ApiKeyAuth: []
  19564. summary: 通知公告设置已读请求
  19565. tags:
  19566. - 通用服务
  19567. /Common/QueryErrorInfos:
  19568. get:
  19569. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19570. parameters:
  19571. - description: 起始行号前索引
  19572. in: query
  19573. name: rowNumber
  19574. type: string
  19575. produces:
  19576. - application/json
  19577. responses:
  19578. "200":
  19579. description: OK
  19580. schema:
  19581. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19582. "500":
  19583. description: Internal Server Error
  19584. schema:
  19585. $ref: '#/definitions/app.Response'
  19586. summary: 获取数据库错误信息
  19587. tags:
  19588. - 通用服务
  19589. /Common/QueryImageConfigs:
  19590. get:
  19591. parameters:
  19592. - description: 用户id
  19593. in: query
  19594. name: userId
  19595. type: integer
  19596. - description: 类型 - 1:App首页轮播 2:我的
  19597. in: query
  19598. name: imageType
  19599. type: integer
  19600. produces:
  19601. - application/json
  19602. responses:
  19603. "200":
  19604. description: OK
  19605. schema:
  19606. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19607. "500":
  19608. description: Internal Server Error
  19609. schema:
  19610. $ref: '#/definitions/app.Response'
  19611. summary: 查询轮播图配置信息
  19612. tags:
  19613. - 通用服务
  19614. /Common/QueryNotice:
  19615. get:
  19616. parameters:
  19617. - description: 页码
  19618. in: query
  19619. name: page
  19620. type: integer
  19621. - description: 每页条数
  19622. in: query
  19623. name: pagesize
  19624. type: integer
  19625. - description: 登录账号
  19626. in: query
  19627. name: loginID
  19628. required: true
  19629. type: integer
  19630. - description: 消息类型 - 1:公告通知 2:系统消息
  19631. in: query
  19632. name: msgType
  19633. type: integer
  19634. - description: 是否只获取未读信息
  19635. in: query
  19636. name: onlyUnRead
  19637. type: boolean
  19638. - description: 自增ID,传入后会返回这个ID后面的记录
  19639. in: query
  19640. name: lastID
  19641. type: integer
  19642. produces:
  19643. - application/json
  19644. responses:
  19645. "200":
  19646. description: OK
  19647. schema:
  19648. $ref: '#/definitions/common.QueryNoticeRsp'
  19649. "500":
  19650. description: Internal Server Error
  19651. schema:
  19652. $ref: '#/definitions/app.Response'
  19653. security:
  19654. - ApiKeyAuth: []
  19655. summary: 通知公告系统消息查询
  19656. tags:
  19657. - 通用服务
  19658. /Common/QueryProvincesAndCities:
  19659. get:
  19660. parameters:
  19661. - description: 省ID
  19662. in: query
  19663. name: provinceID
  19664. type: integer
  19665. produces:
  19666. - application/json
  19667. responses:
  19668. "200":
  19669. description: OK
  19670. schema:
  19671. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19672. "500":
  19673. description: Internal Server Error
  19674. schema:
  19675. $ref: '#/definitions/app.Response'
  19676. summary: 查询省市信息(不包括区)
  19677. tags:
  19678. - 通用服务
  19679. /Common/QueryTableDefine:
  19680. get:
  19681. parameters:
  19682. - description: 表key
  19683. in: query
  19684. name: tableKey
  19685. type: string
  19686. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19687. in: query
  19688. name: tableType
  19689. type: integer
  19690. produces:
  19691. - application/json
  19692. responses:
  19693. "200":
  19694. description: OK
  19695. schema:
  19696. $ref: '#/definitions/common.QueryTableDefineRsp'
  19697. "500":
  19698. description: Internal Server Error
  19699. schema:
  19700. $ref: '#/definitions/app.Response'
  19701. summary: 查询交易端列表头信息
  19702. tags:
  19703. - 通用服务
  19704. /Common/QueryTraderMenu:
  19705. get:
  19706. parameters:
  19707. - description: 登录账号
  19708. in: query
  19709. name: loginid
  19710. required: true
  19711. type: integer
  19712. produces:
  19713. - application/json
  19714. responses:
  19715. "200":
  19716. description: OK
  19717. schema:
  19718. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19719. "500":
  19720. description: Internal Server Error
  19721. schema:
  19722. $ref: '#/definitions/app.Response'
  19723. summary: 查询交易端菜单
  19724. tags:
  19725. - 通用服务
  19726. /Delivery/QueryDeliveryRelation:
  19727. get:
  19728. parameters:
  19729. - description: 商品ID
  19730. in: query
  19731. name: goodsid
  19732. type: integer
  19733. - description: 品种ID
  19734. in: query
  19735. name: deliverygoodsid
  19736. type: integer
  19737. - description: 市场ID
  19738. in: query
  19739. name: marketid
  19740. type: integer
  19741. produces:
  19742. - application/json
  19743. responses:
  19744. "200":
  19745. description: OK
  19746. schema:
  19747. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19748. "500":
  19749. description: Internal Server Error
  19750. schema:
  19751. $ref: '#/definitions/app.Response'
  19752. security:
  19753. - ApiKeyAuth: []
  19754. summary: 查询商品交割关系表
  19755. tags:
  19756. - 交割服务
  19757. /Ermcp/GetErmcpGoods:
  19758. get:
  19759. parameters:
  19760. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  19761. in: query
  19762. name: userid
  19763. type: integer
  19764. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19765. in: query
  19766. name: lastUpdateTime
  19767. type: string
  19768. produces:
  19769. - application/json
  19770. responses:
  19771. "200":
  19772. description: OK
  19773. schema:
  19774. $ref: '#/definitions/models.ErmcpGoods'
  19775. "500":
  19776. description: Internal Server Error
  19777. schema:
  19778. $ref: '#/definitions/app.Response'
  19779. security:
  19780. - ApiKeyAuth: []
  19781. summary: 查询企业风管期货商品信息
  19782. tags:
  19783. - 企业风险管理(app)
  19784. /Ermcp/GetErmcpGoodsSortByPosition:
  19785. get:
  19786. parameters:
  19787. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19788. in: query
  19789. name: sortIndex
  19790. type: string
  19791. produces:
  19792. - application/json
  19793. responses:
  19794. "200":
  19795. description: OK
  19796. schema:
  19797. $ref: '#/definitions/models.Goodssortbypreposition'
  19798. "500":
  19799. description: Internal Server Error
  19800. schema:
  19801. $ref: '#/definitions/app.Response'
  19802. security:
  19803. - ApiKeyAuth: []
  19804. summary: 查询企业风管期货主力、次主力商品信息
  19805. tags:
  19806. - 企业风险管理(app)
  19807. /Ermcp/GetErmcpOutAccountStatus:
  19808. get:
  19809. parameters:
  19810. - description: 登录账号
  19811. in: query
  19812. name: loginID
  19813. required: true
  19814. type: integer
  19815. produces:
  19816. - application/json
  19817. responses:
  19818. "200":
  19819. description: OK
  19820. schema:
  19821. $ref: '#/definitions/models.Hedgemarketopenlog'
  19822. "500":
  19823. description: Internal Server Error
  19824. schema:
  19825. $ref: '#/definitions/app.Response'
  19826. security:
  19827. - ApiKeyAuth: []
  19828. summary: 获取目标登录账号当前对冲账号在线状态
  19829. tags:
  19830. - 企业风险管理(app)
  19831. /Ermcp/GetErmcpRoleFuncMenuLists:
  19832. get:
  19833. parameters:
  19834. - description: 登录账号
  19835. in: query
  19836. name: loginID
  19837. required: true
  19838. type: integer
  19839. produces:
  19840. - application/json
  19841. responses:
  19842. "200":
  19843. description: OK
  19844. schema:
  19845. $ref: '#/definitions/models.Funcmenulist'
  19846. "500":
  19847. description: Internal Server Error
  19848. schema:
  19849. $ref: '#/definitions/app.Response'
  19850. security:
  19851. - ApiKeyAuth: []
  19852. summary: 获取企业风管终端权限
  19853. tags:
  19854. - 企业风险管理(app)
  19855. /Ermcp/QueryAccMgrBizGroupSet:
  19856. get:
  19857. parameters:
  19858. - description: 用户ID
  19859. in: query
  19860. name: userid
  19861. required: true
  19862. type: integer
  19863. - description: 现货商品id
  19864. in: query
  19865. name: deliverygoodsid
  19866. type: integer
  19867. produces:
  19868. - application/json
  19869. responses:
  19870. "200":
  19871. description: OK
  19872. schema:
  19873. items:
  19874. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19875. type: array
  19876. "500":
  19877. description: Internal Server Error
  19878. schema:
  19879. $ref: '#/definitions/app.Response'
  19880. security:
  19881. - ApiKeyAuth: []
  19882. summary: 查询业务类型分组(账户管理/账户设置)
  19883. tags:
  19884. - 企业风险管理(app)
  19885. /Ermcp/QueryAccMgrLoginUser:
  19886. get:
  19887. parameters:
  19888. - description: 用户ID
  19889. in: query
  19890. name: userid
  19891. required: true
  19892. type: integer
  19893. - description: 用户类型 2-机构 7-企业成员
  19894. in: query
  19895. name: usertype
  19896. type: integer
  19897. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19898. in: query
  19899. name: querytype
  19900. required: true
  19901. type: integer
  19902. produces:
  19903. - application/json
  19904. responses:
  19905. "200":
  19906. description: OK
  19907. schema:
  19908. items:
  19909. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19910. type: array
  19911. "500":
  19912. description: Internal Server Error
  19913. schema:
  19914. $ref: '#/definitions/app.Response'
  19915. security:
  19916. - ApiKeyAuth: []
  19917. summary: 查询账户管理登录账号(账户管理/登录账号)
  19918. tags:
  19919. - 企业风险管理(app)
  19920. /Ermcp/QueryAccMgrMainAccountInfo:
  19921. get:
  19922. parameters:
  19923. - description: 用户ID
  19924. in: query
  19925. name: userid
  19926. type: integer
  19927. - description: 主账号id
  19928. in: query
  19929. name: accountid
  19930. type: integer
  19931. produces:
  19932. - application/json
  19933. responses:
  19934. "200":
  19935. description: OK
  19936. schema:
  19937. items:
  19938. $ref: '#/definitions/models.MainAccountInfo'
  19939. type: array
  19940. "500":
  19941. description: Internal Server Error
  19942. schema:
  19943. $ref: '#/definitions/app.Response'
  19944. security:
  19945. - ApiKeyAuth: []
  19946. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19947. tags:
  19948. - 企业风险管理(app)
  19949. /Ermcp/QueryAccMgrRole:
  19950. get:
  19951. parameters:
  19952. - description: 用户ID
  19953. in: query
  19954. name: userid
  19955. required: true
  19956. type: integer
  19957. produces:
  19958. - application/json
  19959. responses:
  19960. "200":
  19961. description: OK
  19962. schema:
  19963. items:
  19964. $ref: '#/definitions/models.ErmcpRole'
  19965. type: array
  19966. "500":
  19967. description: Internal Server Error
  19968. schema:
  19969. $ref: '#/definitions/app.Response'
  19970. security:
  19971. - ApiKeyAuth: []
  19972. summary: 查询账户管理角色设置(账户管理/角色设置)
  19973. tags:
  19974. - 企业风险管理(app)
  19975. /Ermcp/QueryAccMgrRoleMenu:
  19976. get:
  19977. parameters:
  19978. - description: 用户ID
  19979. in: query
  19980. name: userid
  19981. required: true
  19982. type: integer
  19983. - description: 角色id(可多个,逗号隔开)
  19984. in: query
  19985. name: roleid
  19986. type: string
  19987. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19988. in: query
  19989. name: menutype
  19990. type: integer
  19991. produces:
  19992. - application/json
  19993. responses:
  19994. "200":
  19995. description: OK
  19996. schema:
  19997. items:
  19998. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19999. type: array
  20000. "500":
  20001. description: Internal Server Error
  20002. schema:
  20003. $ref: '#/definitions/app.Response'
  20004. security:
  20005. - ApiKeyAuth: []
  20006. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20007. tags:
  20008. - 企业风险管理(app)
  20009. /Ermcp/QueryAccMgrTaAccountInfo:
  20010. get:
  20011. parameters:
  20012. - description: 用户ID
  20013. in: query
  20014. name: userid
  20015. required: true
  20016. type: integer
  20017. - description: 账号id
  20018. in: query
  20019. name: accountid
  20020. type: integer
  20021. produces:
  20022. - application/json
  20023. responses:
  20024. "200":
  20025. description: OK
  20026. schema:
  20027. items:
  20028. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20029. type: array
  20030. "500":
  20031. description: Internal Server Error
  20032. schema:
  20033. $ref: '#/definitions/app.Response'
  20034. security:
  20035. - ApiKeyAuth: []
  20036. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20037. tags:
  20038. - 企业风险管理(app)
  20039. /Ermcp/QueryAccMgrTaaccount:
  20040. get:
  20041. parameters:
  20042. - description: 用户ID
  20043. in: query
  20044. name: userid
  20045. required: true
  20046. type: integer
  20047. produces:
  20048. - application/json
  20049. responses:
  20050. "200":
  20051. description: OK
  20052. schema:
  20053. items:
  20054. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20055. type: array
  20056. "500":
  20057. description: Internal Server Error
  20058. schema:
  20059. $ref: '#/definitions/app.Response'
  20060. security:
  20061. - ApiKeyAuth: []
  20062. summary: 查询账户管理期货账号(账户管理/期货账号)
  20063. tags:
  20064. - 企业风险管理(app)
  20065. /Ermcp/QueryAvaildGoodsGroup:
  20066. get:
  20067. parameters:
  20068. - description: 所属机构ID
  20069. in: query
  20070. name: userid
  20071. required: true
  20072. type: integer
  20073. produces:
  20074. - application/json
  20075. responses:
  20076. "200":
  20077. description: OK
  20078. schema:
  20079. items:
  20080. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20081. type: array
  20082. "500":
  20083. description: Internal Server Error
  20084. schema:
  20085. $ref: '#/definitions/app.Response'
  20086. security:
  20087. - ApiKeyAuth: []
  20088. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20089. tags:
  20090. - 企业风险管理(app)
  20091. /Ermcp/QueryBusinessDj:
  20092. get:
  20093. parameters:
  20094. - description: 用户ID
  20095. in: query
  20096. name: UserId
  20097. required: true
  20098. type: integer
  20099. - description: 用户类型 2-机构 7-企业成员
  20100. in: query
  20101. name: usertype
  20102. type: integer
  20103. - description: 现货合同ID, 不填则查所有
  20104. in: query
  20105. name: relatedid
  20106. type: string
  20107. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20108. in: query
  20109. name: applystatus
  20110. type: string
  20111. produces:
  20112. - application/json
  20113. responses:
  20114. "200":
  20115. description: OK
  20116. schema:
  20117. items:
  20118. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20119. type: array
  20120. "500":
  20121. description: Internal Server Error
  20122. schema:
  20123. $ref: '#/definitions/app.Response'
  20124. security:
  20125. - ApiKeyAuth: []
  20126. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20127. tags:
  20128. - 企业风险管理(app)
  20129. /Ermcp/QueryBusinessFp:
  20130. get:
  20131. parameters:
  20132. - description: 用户ID
  20133. in: query
  20134. name: UserId
  20135. required: true
  20136. type: integer
  20137. - description: 用户类型 2-机构 7-企业成员
  20138. in: query
  20139. name: usertype
  20140. type: integer
  20141. - description: 现货合同ID, 不填则查所有
  20142. in: query
  20143. name: relatedid
  20144. type: string
  20145. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20146. in: query
  20147. name: applystatus
  20148. type: string
  20149. produces:
  20150. - application/json
  20151. responses:
  20152. "200":
  20153. description: OK
  20154. schema:
  20155. items:
  20156. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20157. type: array
  20158. "500":
  20159. description: Internal Server Error
  20160. schema:
  20161. $ref: '#/definitions/app.Response'
  20162. security:
  20163. - ApiKeyAuth: []
  20164. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20165. tags:
  20166. - 企业风险管理(app)
  20167. /Ermcp/QueryBusinessJs:
  20168. get:
  20169. parameters:
  20170. - description: 用户ID
  20171. in: query
  20172. name: UserId
  20173. required: true
  20174. type: integer
  20175. - description: 用户类型 2-机构 7-企业成员
  20176. in: query
  20177. name: usertype
  20178. type: integer
  20179. - description: 现货合同ID, 不填则查所有
  20180. in: query
  20181. name: relatedid
  20182. type: string
  20183. - description: 操作申请id
  20184. in: query
  20185. name: operateapplyid
  20186. type: string
  20187. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20188. in: query
  20189. name: applystatus
  20190. type: string
  20191. produces:
  20192. - application/json
  20193. responses:
  20194. "200":
  20195. description: OK
  20196. schema:
  20197. items:
  20198. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20199. type: array
  20200. "500":
  20201. description: Internal Server Error
  20202. schema:
  20203. $ref: '#/definitions/app.Response'
  20204. security:
  20205. - ApiKeyAuth: []
  20206. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20207. tags:
  20208. - 企业风险管理(app)
  20209. /Ermcp/QueryBusinessJsEx:
  20210. get:
  20211. parameters:
  20212. - description: 用户ID
  20213. in: query
  20214. name: UserId
  20215. required: true
  20216. type: integer
  20217. - description: 用户类型 2-机构 7-企业成员
  20218. in: query
  20219. name: usertype
  20220. type: integer
  20221. - description: 现货合同ID, 不填则查所有
  20222. in: query
  20223. name: relatedid
  20224. type: string
  20225. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20226. in: query
  20227. name: applystatus
  20228. type: string
  20229. produces:
  20230. - application/json
  20231. responses:
  20232. "200":
  20233. description: OK
  20234. schema:
  20235. items:
  20236. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20237. type: array
  20238. "500":
  20239. description: Internal Server Error
  20240. schema:
  20241. $ref: '#/definitions/app.Response'
  20242. security:
  20243. - ApiKeyAuth: []
  20244. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20245. tags:
  20246. - 企业风险管理(app)
  20247. /Ermcp/QueryBusinessKx:
  20248. get:
  20249. parameters:
  20250. - description: 用户ID
  20251. in: query
  20252. name: UserId
  20253. required: true
  20254. type: integer
  20255. - description: 用户类型 2-机构 7-企业成员
  20256. in: query
  20257. name: usertype
  20258. type: integer
  20259. - description: 现货合同ID, 不填则查所有
  20260. in: query
  20261. name: relatedid
  20262. type: string
  20263. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20264. in: query
  20265. name: applystatus
  20266. type: string
  20267. produces:
  20268. - application/json
  20269. responses:
  20270. "200":
  20271. description: OK
  20272. schema:
  20273. items:
  20274. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20275. type: array
  20276. "500":
  20277. description: Internal Server Error
  20278. schema:
  20279. $ref: '#/definitions/app.Response'
  20280. security:
  20281. - ApiKeyAuth: []
  20282. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20283. tags:
  20284. - 企业风险管理(app)
  20285. /Ermcp/QueryChangeLog:
  20286. get:
  20287. parameters:
  20288. - description: 合同ID
  20289. in: query
  20290. name: RelatedId
  20291. required: true
  20292. type: string
  20293. produces:
  20294. - application/json
  20295. responses:
  20296. "200":
  20297. description: OK
  20298. schema:
  20299. items:
  20300. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20301. type: array
  20302. "500":
  20303. description: Internal Server Error
  20304. schema:
  20305. $ref: '#/definitions/app.Response'
  20306. security:
  20307. - ApiKeyAuth: []
  20308. summary: 查询变更记录
  20309. tags:
  20310. - 企业风险管理(app)
  20311. /Ermcp/QueryErmcpHisOrderDetails:
  20312. get:
  20313. parameters:
  20314. - description: 资金账户ID
  20315. in: query
  20316. name: accountID
  20317. required: true
  20318. type: integer
  20319. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20320. in: query
  20321. name: startDate
  20322. type: string
  20323. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20324. in: query
  20325. name: endDate
  20326. type: string
  20327. produces:
  20328. - application/json
  20329. responses:
  20330. "200":
  20331. description: OK
  20332. schema:
  20333. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20334. "500":
  20335. description: Internal Server Error
  20336. schema:
  20337. $ref: '#/definitions/app.Response'
  20338. security:
  20339. - ApiKeyAuth: []
  20340. summary: 获取企业风管期货历史委托单信息
  20341. tags:
  20342. - 企业风险管理(app)
  20343. /Ermcp/QueryErmcpHisTradeDetails:
  20344. get:
  20345. parameters:
  20346. - description: 资金账户ID
  20347. in: query
  20348. name: accountID
  20349. required: true
  20350. type: integer
  20351. - description: 商品ID
  20352. in: query
  20353. name: goodsID
  20354. type: integer
  20355. - description: 买卖方向,0:买 1:卖
  20356. in: query
  20357. name: buyOrSell
  20358. type: integer
  20359. - description: 关联委托单号
  20360. in: query
  20361. name: orderID
  20362. type: integer
  20363. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20364. in: query
  20365. name: startDate
  20366. type: string
  20367. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20368. in: query
  20369. name: endDate
  20370. type: string
  20371. produces:
  20372. - application/json
  20373. responses:
  20374. "200":
  20375. description: OK
  20376. schema:
  20377. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20378. "500":
  20379. description: Internal Server Error
  20380. schema:
  20381. $ref: '#/definitions/app.Response'
  20382. security:
  20383. - ApiKeyAuth: []
  20384. summary: 获取企业风管期货历史成交单信息
  20385. tags:
  20386. - 企业风险管理(app)
  20387. /Ermcp/QueryErmcpInnerHolderDetails:
  20388. get:
  20389. parameters:
  20390. - description: 资金账户ID
  20391. in: query
  20392. name: accountID
  20393. required: true
  20394. type: integer
  20395. - description: 商品ID
  20396. in: query
  20397. name: goodsID
  20398. type: integer
  20399. - description: 买卖方向,0:买 1:卖
  20400. in: query
  20401. name: buyOrSell
  20402. type: integer
  20403. produces:
  20404. - application/json
  20405. responses:
  20406. "200":
  20407. description: OK
  20408. schema:
  20409. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20410. "500":
  20411. description: Internal Server Error
  20412. schema:
  20413. $ref: '#/definitions/app.Response'
  20414. security:
  20415. - ApiKeyAuth: []
  20416. summary: 获取企业风管期货内部持仓单信息
  20417. tags:
  20418. - 企业风险管理(app)
  20419. /Ermcp/QueryErmcpOrderDetails:
  20420. get:
  20421. parameters:
  20422. - description: 资金账户ID
  20423. in: query
  20424. name: accountID
  20425. required: true
  20426. type: integer
  20427. produces:
  20428. - application/json
  20429. responses:
  20430. "200":
  20431. description: OK
  20432. schema:
  20433. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20434. "500":
  20435. description: Internal Server Error
  20436. schema:
  20437. $ref: '#/definitions/app.Response'
  20438. security:
  20439. - ApiKeyAuth: []
  20440. summary: 获取企业风管期货委托单信息
  20441. tags:
  20442. - 企业风险管理(app)
  20443. /Ermcp/QueryErmcpTradeDetails:
  20444. get:
  20445. parameters:
  20446. - description: 资金账户ID
  20447. in: query
  20448. name: accountID
  20449. required: true
  20450. type: integer
  20451. - description: 商品ID
  20452. in: query
  20453. name: goodsID
  20454. type: integer
  20455. - description: 买卖方向,0:买 1:卖
  20456. in: query
  20457. name: buyOrSell
  20458. type: integer
  20459. - description: 关联委托单号
  20460. in: query
  20461. name: orderID
  20462. type: integer
  20463. produces:
  20464. - application/json
  20465. responses:
  20466. "200":
  20467. description: OK
  20468. schema:
  20469. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20470. "500":
  20471. description: Internal Server Error
  20472. schema:
  20473. $ref: '#/definitions/app.Response'
  20474. security:
  20475. - ApiKeyAuth: []
  20476. summary: 获取企业风管期货成交单信息
  20477. tags:
  20478. - 企业风险管理(app)
  20479. /Ermcp/QueryErmcpTradePosition:
  20480. get:
  20481. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20482. parameters:
  20483. - description: 资金账户ID
  20484. in: query
  20485. name: accountID
  20486. required: true
  20487. type: integer
  20488. - description: 所属市场ID
  20489. in: query
  20490. name: marketID
  20491. type: integer
  20492. produces:
  20493. - application/json
  20494. responses:
  20495. "200":
  20496. description: OK
  20497. schema:
  20498. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20499. "500":
  20500. description: Internal Server Error
  20501. schema:
  20502. $ref: '#/definitions/app.Response'
  20503. security:
  20504. - ApiKeyAuth: []
  20505. summary: 获取企业风管期货持仓头寸信息
  20506. tags:
  20507. - 企业风险管理(app)
  20508. /Ermcp/QueryExposureDetail:
  20509. get:
  20510. parameters:
  20511. - description: 所属机构ID
  20512. in: query
  20513. name: areaUserId
  20514. required: true
  20515. type: integer
  20516. - description: 套保商品
  20517. in: query
  20518. name: middleGoodsId
  20519. required: true
  20520. type: integer
  20521. produces:
  20522. - application/json
  20523. responses:
  20524. "200":
  20525. description: OK
  20526. schema:
  20527. items:
  20528. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20529. type: array
  20530. "500":
  20531. description: Internal Server Error
  20532. schema:
  20533. $ref: '#/definitions/app.Response'
  20534. security:
  20535. - ApiKeyAuth: []
  20536. summary: 查询敞口现货明细
  20537. tags:
  20538. - 企业风险管理(app)
  20539. /Ermcp/QueryExposureGoods:
  20540. get:
  20541. parameters:
  20542. - description: 套保商品id
  20543. in: query
  20544. name: middlegoodsid
  20545. required: true
  20546. type: integer
  20547. produces:
  20548. - application/json
  20549. responses:
  20550. "200":
  20551. description: OK
  20552. schema:
  20553. items:
  20554. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20555. type: array
  20556. "500":
  20557. description: Internal Server Error
  20558. schema:
  20559. $ref: '#/definitions/app.Response'
  20560. security:
  20561. - ApiKeyAuth: []
  20562. summary: 查询敞口主力合约
  20563. tags:
  20564. - 企业风险管理(app)
  20565. /Ermcp/QueryExposureHedgePosition:
  20566. get:
  20567. parameters:
  20568. - description: 用户id
  20569. in: query
  20570. name: userid
  20571. required: true
  20572. type: integer
  20573. produces:
  20574. - application/json
  20575. responses:
  20576. "200":
  20577. description: OK
  20578. schema:
  20579. items:
  20580. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20581. type: array
  20582. "500":
  20583. description: Internal Server Error
  20584. schema:
  20585. $ref: '#/definitions/app.Response'
  20586. security:
  20587. - ApiKeyAuth: []
  20588. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20589. tags:
  20590. - 企业风险管理(app)
  20591. /Ermcp/QueryExposureHedgePositionDetail:
  20592. get:
  20593. parameters:
  20594. - description: 所属机构ID
  20595. in: query
  20596. name: userid
  20597. required: true
  20598. type: integer
  20599. - description: 商品id
  20600. in: query
  20601. name: goodsId
  20602. required: true
  20603. type: integer
  20604. produces:
  20605. - application/json
  20606. responses:
  20607. "200":
  20608. description: OK
  20609. schema:
  20610. items:
  20611. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20612. type: array
  20613. "500":
  20614. description: Internal Server Error
  20615. schema:
  20616. $ref: '#/definitions/app.Response'
  20617. security:
  20618. - ApiKeyAuth: []
  20619. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20620. tags:
  20621. - 企业风险管理(app)
  20622. /Ermcp/QueryExposureSpot:
  20623. get:
  20624. parameters:
  20625. - description: 所属机构ID
  20626. in: query
  20627. name: areaUserId
  20628. required: true
  20629. type: integer
  20630. produces:
  20631. - application/json
  20632. responses:
  20633. "200":
  20634. description: OK
  20635. schema:
  20636. items:
  20637. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20638. type: array
  20639. "500":
  20640. description: Internal Server Error
  20641. schema:
  20642. $ref: '#/definitions/app.Response'
  20643. security:
  20644. - ApiKeyAuth: []
  20645. summary: 查询敞口现货头寸(敞口/现货头寸)
  20646. tags:
  20647. - 企业风险管理(app)
  20648. /Ermcp/QueryExposureSpotDetail:
  20649. get:
  20650. parameters:
  20651. - description: 所属机构ID
  20652. in: query
  20653. name: areaUserId
  20654. required: true
  20655. type: integer
  20656. - description: 现货品种ID
  20657. in: query
  20658. name: wrstandardId
  20659. required: true
  20660. type: integer
  20661. produces:
  20662. - application/json
  20663. responses:
  20664. "200":
  20665. description: OK
  20666. schema:
  20667. items:
  20668. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20669. type: array
  20670. "500":
  20671. description: Internal Server Error
  20672. schema:
  20673. $ref: '#/definitions/app.Response'
  20674. security:
  20675. - ApiKeyAuth: []
  20676. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20677. tags:
  20678. - 企业风险管理(app)
  20679. /Ermcp/QueryFuturesCompany:
  20680. get:
  20681. produces:
  20682. - application/json
  20683. responses:
  20684. "200":
  20685. description: OK
  20686. schema:
  20687. items:
  20688. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20689. type: array
  20690. "500":
  20691. description: Internal Server Error
  20692. schema:
  20693. $ref: '#/definitions/app.Response'
  20694. security:
  20695. - ApiKeyAuth: []
  20696. summary: 查询期货公司
  20697. tags:
  20698. - 企业风险管理(app)
  20699. /Ermcp/QueryGGConvertConfig:
  20700. get:
  20701. parameters:
  20702. - description: 品种id(不填则查所有)
  20703. in: query
  20704. name: goodsgroupid
  20705. type: integer
  20706. produces:
  20707. - application/json
  20708. responses:
  20709. "200":
  20710. description: OK
  20711. schema:
  20712. items:
  20713. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20714. type: array
  20715. "500":
  20716. description: Internal Server Error
  20717. schema:
  20718. $ref: '#/definitions/app.Response'
  20719. security:
  20720. - ApiKeyAuth: []
  20721. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20722. tags:
  20723. - 企业风险管理(app)
  20724. /Ermcp/QueryGoodsBrand:
  20725. get:
  20726. parameters:
  20727. - description: 用户ID
  20728. in: query
  20729. name: userid
  20730. required: true
  20731. type: integer
  20732. - description: 现货商品ID
  20733. in: query
  20734. name: wrstandardid
  20735. type: integer
  20736. produces:
  20737. - application/json
  20738. responses:
  20739. "200":
  20740. description: OK
  20741. schema:
  20742. items:
  20743. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20744. type: array
  20745. "500":
  20746. description: Internal Server Error
  20747. schema:
  20748. $ref: '#/definitions/app.Response'
  20749. security:
  20750. - ApiKeyAuth: []
  20751. summary: 查询商品品牌
  20752. tags:
  20753. - 企业风险管理(app)
  20754. /Ermcp/QueryGoodsModel:
  20755. get:
  20756. parameters:
  20757. - description: 用户ID
  20758. in: query
  20759. name: userid
  20760. required: true
  20761. type: integer
  20762. produces:
  20763. - application/json
  20764. responses:
  20765. "200":
  20766. description: OK
  20767. schema:
  20768. items:
  20769. $ref: '#/definitions/models.ErmcpGoodsModel'
  20770. type: array
  20771. "500":
  20772. description: Internal Server Error
  20773. schema:
  20774. $ref: '#/definitions/app.Response'
  20775. security:
  20776. - ApiKeyAuth: []
  20777. summary: 查询商品型号
  20778. tags:
  20779. - 企业风险管理(app)
  20780. /Ermcp/QueryHisExposure:
  20781. get:
  20782. parameters:
  20783. - description: 用户id
  20784. in: query
  20785. name: userid
  20786. required: true
  20787. type: integer
  20788. - description: 每个品种记录数
  20789. in: query
  20790. name: lastNum
  20791. required: true
  20792. type: integer
  20793. produces:
  20794. - application/json
  20795. responses:
  20796. "200":
  20797. description: OK
  20798. schema:
  20799. items:
  20800. $ref: '#/definitions/ermcp.HisExposureRsp'
  20801. type: array
  20802. "500":
  20803. description: Internal Server Error
  20804. schema:
  20805. $ref: '#/definitions/app.Response'
  20806. security:
  20807. - ApiKeyAuth: []
  20808. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20809. tags:
  20810. - 企业风险管理(app)
  20811. /Ermcp/QueryMiddleGoods:
  20812. get:
  20813. parameters:
  20814. - description: 所属机构ID
  20815. in: query
  20816. name: userid
  20817. required: true
  20818. type: integer
  20819. - description: 状态 0-停用 1-正常
  20820. in: query
  20821. name: status
  20822. required: true
  20823. type: integer
  20824. produces:
  20825. - application/json
  20826. responses:
  20827. "200":
  20828. description: OK
  20829. schema:
  20830. items:
  20831. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20832. type: array
  20833. "500":
  20834. description: Internal Server Error
  20835. schema:
  20836. $ref: '#/definitions/app.Response'
  20837. security:
  20838. - ApiKeyAuth: []
  20839. summary: 查询套保品种(菜单:套保品种)
  20840. tags:
  20841. - 企业风险管理(app)
  20842. /Ermcp/QueryMiddleGoodsChangeLog:
  20843. get:
  20844. parameters:
  20845. - description: 所属机构ID
  20846. in: query
  20847. name: userid
  20848. required: true
  20849. type: integer
  20850. - description: 套保品种id
  20851. in: query
  20852. name: middlegoodsid
  20853. required: true
  20854. type: integer
  20855. produces:
  20856. - application/json
  20857. responses:
  20858. "200":
  20859. description: OK
  20860. schema:
  20861. items:
  20862. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20863. type: array
  20864. "500":
  20865. description: Internal Server Error
  20866. schema:
  20867. $ref: '#/definitions/app.Response'
  20868. security:
  20869. - ApiKeyAuth: []
  20870. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20871. tags:
  20872. - 企业风险管理(app)
  20873. /Ermcp/QueryMiddleGoodsDetail:
  20874. get:
  20875. parameters:
  20876. - description: 所属机构ID
  20877. in: query
  20878. name: userid
  20879. required: true
  20880. type: integer
  20881. - description: 套保品种id
  20882. in: query
  20883. name: middlegoodsid
  20884. type: integer
  20885. produces:
  20886. - application/json
  20887. responses:
  20888. "200":
  20889. description: OK
  20890. schema:
  20891. items:
  20892. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20893. type: array
  20894. "500":
  20895. description: Internal Server Error
  20896. schema:
  20897. $ref: '#/definitions/app.Response'
  20898. security:
  20899. - ApiKeyAuth: []
  20900. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20901. tags:
  20902. - 企业风险管理(app)
  20903. /Ermcp/QueryPendingAuditInfo:
  20904. get:
  20905. parameters:
  20906. - description: 用户ID
  20907. in: query
  20908. name: UserId
  20909. required: true
  20910. type: integer
  20911. produces:
  20912. - application/json
  20913. responses:
  20914. "200":
  20915. description: OK
  20916. schema:
  20917. items:
  20918. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20919. type: array
  20920. "500":
  20921. description: Internal Server Error
  20922. schema:
  20923. $ref: '#/definitions/app.Response'
  20924. security:
  20925. - ApiKeyAuth: []
  20926. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20927. tags:
  20928. - 企业风险管理(app)
  20929. /Ermcp/QueryRealtimeExposure:
  20930. get:
  20931. parameters:
  20932. - description: 所属机构ID
  20933. in: query
  20934. name: userid
  20935. required: true
  20936. type: integer
  20937. produces:
  20938. - application/json
  20939. responses:
  20940. "200":
  20941. description: OK
  20942. schema:
  20943. items:
  20944. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20945. type: array
  20946. "500":
  20947. description: Internal Server Error
  20948. schema:
  20949. $ref: '#/definitions/app.Response'
  20950. security:
  20951. - ApiKeyAuth: []
  20952. summary: 查询实时敞口
  20953. tags:
  20954. - 企业风险管理(app)
  20955. /Ermcp/QueryRealtimeExposurePosition:
  20956. get:
  20957. parameters:
  20958. - description: 用户id
  20959. in: query
  20960. name: userid
  20961. required: true
  20962. type: integer
  20963. - description: 套保商品ID
  20964. in: query
  20965. name: middleGoodsId
  20966. required: true
  20967. type: integer
  20968. produces:
  20969. - application/json
  20970. responses:
  20971. "200":
  20972. description: OK
  20973. schema:
  20974. items:
  20975. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20976. type: array
  20977. "500":
  20978. description: Internal Server Error
  20979. schema:
  20980. $ref: '#/definitions/app.Response'
  20981. security:
  20982. - ApiKeyAuth: []
  20983. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20984. tags:
  20985. - 企业风险管理(app)
  20986. /Ermcp/QueryRoleMenu:
  20987. get:
  20988. parameters:
  20989. - description: 登录ID
  20990. in: query
  20991. name: loginid
  20992. required: true
  20993. type: integer
  20994. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20995. in: query
  20996. name: menutype
  20997. type: integer
  20998. produces:
  20999. - application/json
  21000. responses:
  21001. "200":
  21002. description: OK
  21003. schema:
  21004. items:
  21005. $ref: '#/definitions/models.RoleMenu'
  21006. type: array
  21007. "500":
  21008. description: Internal Server Error
  21009. schema:
  21010. $ref: '#/definitions/app.Response'
  21011. security:
  21012. - ApiKeyAuth: []
  21013. summary: 查询角色菜单和权限
  21014. tags:
  21015. - 企业风险管理(app)
  21016. /Ermcp/QueryTradeConfigTMP:
  21017. get:
  21018. parameters:
  21019. - description: 所属机构id
  21020. in: query
  21021. name: areauserid
  21022. type: integer
  21023. produces:
  21024. - application/json
  21025. responses:
  21026. "200":
  21027. description: OK
  21028. schema:
  21029. items:
  21030. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  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/QueryUserInfo:
  21042. get:
  21043. parameters:
  21044. - description: 所属机构用户ID
  21045. in: query
  21046. name: MemberUserID
  21047. required: true
  21048. type: integer
  21049. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21050. in: query
  21051. name: queryType
  21052. required: true
  21053. type: integer
  21054. produces:
  21055. - application/json
  21056. responses:
  21057. "200":
  21058. description: OK
  21059. schema:
  21060. items:
  21061. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21062. type: array
  21063. "500":
  21064. description: Internal Server Error
  21065. schema:
  21066. $ref: '#/definitions/app.Response'
  21067. security:
  21068. - ApiKeyAuth: []
  21069. summary: 查询客户资料
  21070. tags:
  21071. - 企业风险管理(app)
  21072. /Ermcp/QueryWarehouseInfo:
  21073. get:
  21074. parameters:
  21075. - description: 用户ID
  21076. in: query
  21077. name: userid
  21078. required: true
  21079. type: integer
  21080. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21081. in: query
  21082. name: status
  21083. type: string
  21084. produces:
  21085. - application/json
  21086. responses:
  21087. "200":
  21088. description: OK
  21089. schema:
  21090. items:
  21091. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21092. type: array
  21093. "500":
  21094. description: Internal Server Error
  21095. schema:
  21096. $ref: '#/definitions/app.Response'
  21097. security:
  21098. - ApiKeyAuth: []
  21099. summary: 查询仓库信息
  21100. tags:
  21101. - 企业风险管理(app)
  21102. /Ermcp3/QryAreaExpourseContractDetail:
  21103. get:
  21104. parameters:
  21105. - description: 用户ID
  21106. in: query
  21107. name: userid
  21108. required: true
  21109. type: integer
  21110. - description: 套保商品id
  21111. in: query
  21112. name: middlegoodsid
  21113. required: true
  21114. type: integer
  21115. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21116. in: query
  21117. name: cycletype
  21118. required: true
  21119. type: integer
  21120. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21121. in: query
  21122. name: cycletime
  21123. required: true
  21124. type: string
  21125. produces:
  21126. - application/json
  21127. responses:
  21128. "200":
  21129. description: OK
  21130. schema:
  21131. items:
  21132. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  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. - 企业风险管理v3(app)
  21143. /Ermcp3/QryAreaExpourseFutuDetail:
  21144. get:
  21145. parameters:
  21146. - description: 用户ID
  21147. in: query
  21148. name: userid
  21149. required: true
  21150. type: integer
  21151. - description: 套保商品id
  21152. in: query
  21153. name: middlegoodsid
  21154. required: true
  21155. type: integer
  21156. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21157. in: query
  21158. name: cycletype
  21159. required: true
  21160. type: integer
  21161. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21162. in: query
  21163. name: cycletime
  21164. required: true
  21165. type: string
  21166. produces:
  21167. - application/json
  21168. responses:
  21169. "200":
  21170. description: OK
  21171. schema:
  21172. items:
  21173. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21174. type: array
  21175. "500":
  21176. description: Internal Server Error
  21177. schema:
  21178. $ref: '#/definitions/app.Response'
  21179. security:
  21180. - ApiKeyAuth: []
  21181. summary: 查询敞口期货明细(敞口报表/期货明细)
  21182. tags:
  21183. - 企业风险管理v3(app)
  21184. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21185. get:
  21186. parameters:
  21187. - description: 用户ID
  21188. in: query
  21189. name: userid
  21190. required: true
  21191. type: integer
  21192. - description: 套保商品id
  21193. in: query
  21194. name: middlegoodsid
  21195. required: true
  21196. type: integer
  21197. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21198. in: query
  21199. name: cycletype
  21200. required: true
  21201. type: integer
  21202. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21203. in: query
  21204. name: cycletime
  21205. required: true
  21206. type: string
  21207. produces:
  21208. - application/json
  21209. responses:
  21210. "200":
  21211. description: OK
  21212. schema:
  21213. items:
  21214. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21215. type: array
  21216. "500":
  21217. description: Internal Server Error
  21218. schema:
  21219. $ref: '#/definitions/app.Response'
  21220. security:
  21221. - ApiKeyAuth: []
  21222. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21223. tags:
  21224. - 企业风险管理v3(app)
  21225. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21226. get:
  21227. parameters:
  21228. - description: 用户ID
  21229. in: query
  21230. name: userid
  21231. required: true
  21232. type: integer
  21233. - description: 套保商品id
  21234. in: query
  21235. name: middlegoodsid
  21236. required: true
  21237. type: integer
  21238. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21239. in: query
  21240. name: cycletype
  21241. required: true
  21242. type: integer
  21243. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21244. in: query
  21245. name: cycletime
  21246. required: true
  21247. type: string
  21248. produces:
  21249. - application/json
  21250. responses:
  21251. "200":
  21252. description: OK
  21253. schema:
  21254. items:
  21255. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21256. type: array
  21257. "500":
  21258. description: Internal Server Error
  21259. schema:
  21260. $ref: '#/definitions/app.Response'
  21261. security:
  21262. - ApiKeyAuth: []
  21263. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21264. tags:
  21265. - 企业风险管理v3(app)
  21266. /Ermcp3/QryAreaExpourseReport:
  21267. get:
  21268. parameters:
  21269. - description: 用户ID
  21270. in: query
  21271. name: userid
  21272. required: true
  21273. type: integer
  21274. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21275. in: query
  21276. name: querytype
  21277. required: true
  21278. type: integer
  21279. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21280. in: query
  21281. name: cycletype
  21282. required: true
  21283. type: integer
  21284. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21285. in: query
  21286. name: cycletime
  21287. required: true
  21288. type: string
  21289. produces:
  21290. - application/json
  21291. responses:
  21292. "200":
  21293. description: OK
  21294. schema:
  21295. items:
  21296. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21297. type: array
  21298. "500":
  21299. description: Internal Server Error
  21300. schema:
  21301. $ref: '#/definitions/app.Response'
  21302. security:
  21303. - ApiKeyAuth: []
  21304. summary: 查询敞口报表
  21305. tags:
  21306. - 企业风险管理v3(app)
  21307. /Ermcp3/QryAreaSpotplReport:
  21308. get:
  21309. parameters:
  21310. - description: 用户ID
  21311. in: query
  21312. name: userid
  21313. required: true
  21314. type: integer
  21315. - description: 查询类型 1-报表 2-报表明细
  21316. in: query
  21317. name: querytype
  21318. required: true
  21319. type: integer
  21320. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21321. in: query
  21322. name: cycletype
  21323. required: true
  21324. type: integer
  21325. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21326. in: query
  21327. name: cycletime
  21328. required: true
  21329. type: string
  21330. - description: 现货品种id(明细必填)
  21331. in: query
  21332. name: deliverygoodsid
  21333. type: integer
  21334. - description: 币种id(明细必填)
  21335. in: query
  21336. name: currencyid
  21337. type: integer
  21338. produces:
  21339. - application/json
  21340. responses:
  21341. "200":
  21342. description: OK
  21343. schema:
  21344. items:
  21345. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21346. type: array
  21347. "500":
  21348. description: Internal Server Error
  21349. schema:
  21350. $ref: '#/definitions/app.Response'
  21351. security:
  21352. - ApiKeyAuth: []
  21353. summary: 查询现货报表
  21354. tags:
  21355. - 企业风险管理v3(app)
  21356. /Ermcp3/QryAreaStockReport:
  21357. get:
  21358. parameters:
  21359. - description: 用户ID
  21360. in: query
  21361. name: userid
  21362. required: true
  21363. type: integer
  21364. - description: 查询类型 1-报表 2-报表明细
  21365. in: query
  21366. name: querytype
  21367. required: true
  21368. type: integer
  21369. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21370. in: query
  21371. name: cycletype
  21372. required: true
  21373. type: integer
  21374. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21375. in: query
  21376. name: cycletime
  21377. required: true
  21378. type: string
  21379. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21380. in: query
  21381. name: sumfields
  21382. type: string
  21383. - description: 品种ID
  21384. in: query
  21385. name: deliverygoodsid
  21386. type: integer
  21387. - description: 品类ID
  21388. in: query
  21389. name: wrstandardid
  21390. type: integer
  21391. - description: 品牌ID
  21392. in: query
  21393. name: spotgoodsbrandid
  21394. type: integer
  21395. - description: 仓库ID
  21396. in: query
  21397. name: warehouseinfoid
  21398. type: integer
  21399. produces:
  21400. - application/json
  21401. responses:
  21402. "200":
  21403. description: OK
  21404. schema:
  21405. items:
  21406. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21407. type: array
  21408. "500":
  21409. description: Internal Server Error
  21410. schema:
  21411. $ref: '#/definitions/app.Response'
  21412. security:
  21413. - ApiKeyAuth: []
  21414. summary: 查询库存报表
  21415. tags:
  21416. - 企业风险管理v3(app)
  21417. /Ermcp3/QryAreaSumPL:
  21418. get:
  21419. parameters:
  21420. - description: 用户ID
  21421. in: query
  21422. name: userid
  21423. required: true
  21424. type: integer
  21425. - description: 查询类型 1-报表 2-报表明细
  21426. in: query
  21427. name: querytype
  21428. required: true
  21429. type: integer
  21430. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21431. in: query
  21432. name: cycletype
  21433. required: true
  21434. type: integer
  21435. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21436. in: query
  21437. name: cycletime
  21438. required: true
  21439. type: string
  21440. - description: 币种id(明细必填)
  21441. in: query
  21442. name: currencyid
  21443. type: integer
  21444. produces:
  21445. - application/json
  21446. responses:
  21447. "200":
  21448. description: OK
  21449. schema:
  21450. items:
  21451. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21452. type: array
  21453. "500":
  21454. description: Internal Server Error
  21455. schema:
  21456. $ref: '#/definitions/app.Response'
  21457. security:
  21458. - ApiKeyAuth: []
  21459. summary: 查询汇总损益表
  21460. tags:
  21461. - 企业风险管理v3(app)
  21462. /Ermcp3/QryFinanceReport:
  21463. get:
  21464. parameters:
  21465. - description: 用户ID
  21466. in: query
  21467. name: userid
  21468. required: true
  21469. type: integer
  21470. - description: 查询类型 1-报表 2-报表明细
  21471. in: query
  21472. name: querytype
  21473. required: true
  21474. type: integer
  21475. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21476. in: query
  21477. name: cycletype
  21478. required: true
  21479. type: integer
  21480. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21481. in: query
  21482. name: cycletime
  21483. required: true
  21484. type: string
  21485. - description: 币种id(报表明细必填)
  21486. in: query
  21487. name: currencyid
  21488. type: integer
  21489. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21490. in: query
  21491. name: sumfields
  21492. type: string
  21493. produces:
  21494. - application/json
  21495. responses:
  21496. "200":
  21497. description: OK
  21498. schema:
  21499. items:
  21500. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21501. type: array
  21502. "500":
  21503. description: Internal Server Error
  21504. schema:
  21505. $ref: '#/definitions/app.Response'
  21506. security:
  21507. - ApiKeyAuth: []
  21508. summary: 查询财务报表
  21509. tags:
  21510. - 企业风险管理v3(app)
  21511. /Ermcp3/QrySCMiddleGoodsReport:
  21512. get:
  21513. parameters:
  21514. - description: 用户ID
  21515. in: query
  21516. name: userid
  21517. required: true
  21518. type: integer
  21519. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21520. in: query
  21521. name: cycletype
  21522. required: true
  21523. type: integer
  21524. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21525. in: query
  21526. name: cycletime
  21527. required: true
  21528. type: string
  21529. - description: 合同id
  21530. in: query
  21531. name: spotcontractid
  21532. type: integer
  21533. - description: 套保品种id
  21534. in: query
  21535. name: middlegoodsid
  21536. type: integer
  21537. - description: 现货品种id
  21538. in: query
  21539. name: deliverygoodsid
  21540. type: integer
  21541. - description: 现货商品id
  21542. in: query
  21543. name: wrstandardid
  21544. type: integer
  21545. - description: 合同编号(模糊匹配)
  21546. in: query
  21547. name: contractno
  21548. type: string
  21549. produces:
  21550. - application/json
  21551. responses:
  21552. "200":
  21553. description: OK
  21554. schema:
  21555. items:
  21556. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  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. - 企业风险管理v3(app)
  21567. /Ermcp3/QryTaFutureDataReport:
  21568. get:
  21569. parameters:
  21570. - description: 用户ID
  21571. in: query
  21572. name: userid
  21573. required: true
  21574. type: integer
  21575. - description: 查询类型 1-报表 2-报表明细
  21576. in: query
  21577. name: querytype
  21578. required: true
  21579. type: integer
  21580. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21581. in: query
  21582. name: cycletype
  21583. required: true
  21584. type: integer
  21585. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21586. in: query
  21587. name: cycletime
  21588. required: true
  21589. type: string
  21590. - description: 币种id(查明细必填)
  21591. in: query
  21592. name: currencyid
  21593. type: integer
  21594. - description: 品种id(查明细必填)
  21595. in: query
  21596. name: goodsgroupid
  21597. type: integer
  21598. - description: 商品id(查明细必填)
  21599. in: query
  21600. name: goodsid
  21601. type: integer
  21602. - description: 买卖方向(查明细必填)
  21603. in: query
  21604. name: buyorsell
  21605. type: integer
  21606. produces:
  21607. - application/json
  21608. responses:
  21609. "200":
  21610. description: OK
  21611. schema:
  21612. items:
  21613. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  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. - 企业风险管理v3(app)
  21624. /Ermcp3/QueryAreaStock:
  21625. get:
  21626. parameters:
  21627. - description: 用户ID
  21628. in: query
  21629. name: userid
  21630. required: true
  21631. type: integer
  21632. produces:
  21633. - application/json
  21634. responses:
  21635. "200":
  21636. description: OK
  21637. schema:
  21638. items:
  21639. $ref: '#/definitions/models.Ermcp3AreaStock'
  21640. type: array
  21641. "500":
  21642. description: Internal Server Error
  21643. schema:
  21644. $ref: '#/definitions/app.Response'
  21645. security:
  21646. - ApiKeyAuth: []
  21647. summary: 查询机构库存(库存管理/当前库存)
  21648. tags:
  21649. - 企业风险管理v3(app)
  21650. /Ermcp3/QueryAreaStockApply:
  21651. get:
  21652. parameters:
  21653. - description: 用户ID
  21654. in: query
  21655. name: userid
  21656. required: true
  21657. type: integer
  21658. - description: 用户类型 2-机构 7-企业成员
  21659. in: query
  21660. name: usertype
  21661. type: integer
  21662. - description: 现货商品ID
  21663. in: query
  21664. name: deliverygoodsid
  21665. type: integer
  21666. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21667. in: query
  21668. name: inouttype
  21669. type: string
  21670. - description: 合同ID
  21671. in: query
  21672. name: spotcontractid
  21673. type: integer
  21674. - description: 品类ID
  21675. in: query
  21676. name: wrstandardid
  21677. type: integer
  21678. - description: 品牌ID
  21679. in: query
  21680. name: spotgoodsbrandid
  21681. type: integer
  21682. - description: 仓库ID
  21683. in: query
  21684. name: warehouseinfoid
  21685. type: integer
  21686. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21687. in: query
  21688. name: applystatus
  21689. type: string
  21690. produces:
  21691. - application/json
  21692. responses:
  21693. "200":
  21694. description: OK
  21695. schema:
  21696. items:
  21697. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21698. type: array
  21699. "500":
  21700. description: Internal Server Error
  21701. schema:
  21702. $ref: '#/definitions/app.Response'
  21703. security:
  21704. - ApiKeyAuth: []
  21705. summary: 查询库存申请(出入库记录|库存审核)
  21706. tags:
  21707. - 企业风险管理v3(app)
  21708. /Ermcp3/QueryAreaStockApplySum:
  21709. get:
  21710. parameters:
  21711. - description: 合同ID
  21712. in: query
  21713. name: spotcontractid
  21714. required: true
  21715. type: integer
  21716. produces:
  21717. - application/json
  21718. responses:
  21719. "200":
  21720. description: OK
  21721. schema:
  21722. items:
  21723. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21724. type: array
  21725. "500":
  21726. description: Internal Server Error
  21727. schema:
  21728. $ref: '#/definitions/app.Response'
  21729. security:
  21730. - ApiKeyAuth: []
  21731. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21732. tags:
  21733. - 企业风险管理v3(app)
  21734. /Ermcp3/QueryDGFactoryItem:
  21735. get:
  21736. parameters:
  21737. - description: 用户id
  21738. in: query
  21739. name: userid
  21740. type: integer
  21741. - description: 用户类型 2-机构 7-企业成员
  21742. in: query
  21743. name: usertype
  21744. type: integer
  21745. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21746. in: query
  21747. name: dgfactoryitemid
  21748. type: integer
  21749. - description: 现货品种ID
  21750. in: query
  21751. name: deliverygoodsid
  21752. type: integer
  21753. - description: 要素项类型
  21754. in: query
  21755. name: dgfactoryitemtypeid
  21756. type: integer
  21757. - description: 顺序
  21758. in: query
  21759. name: orderindex
  21760. type: integer
  21761. produces:
  21762. - application/json
  21763. responses:
  21764. "200":
  21765. description: OK
  21766. schema:
  21767. items:
  21768. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21769. type: array
  21770. "500":
  21771. description: Internal Server Error
  21772. schema:
  21773. $ref: '#/definitions/app.Response'
  21774. security:
  21775. - ApiKeyAuth: []
  21776. summary: 查询品种要素定义项
  21777. tags:
  21778. - 企业风险管理v3(app)
  21779. /Ermcp3/QueryDeliveryGoods:
  21780. get:
  21781. parameters:
  21782. - description: 用户id
  21783. in: query
  21784. name: userid
  21785. required: true
  21786. type: integer
  21787. - description: 用户类型 2-机构 7-企业成员
  21788. in: query
  21789. name: usertype
  21790. type: integer
  21791. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21792. in: query
  21793. name: excludecfg
  21794. type: integer
  21795. produces:
  21796. - application/json
  21797. responses:
  21798. "200":
  21799. description: OK
  21800. schema:
  21801. items:
  21802. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21803. type: array
  21804. "500":
  21805. description: Internal Server Error
  21806. schema:
  21807. $ref: '#/definitions/app.Response'
  21808. security:
  21809. - ApiKeyAuth: []
  21810. summary: 查询现货商品
  21811. tags:
  21812. - 企业风险管理v3(app)
  21813. /Ermcp3/QueryDeliveryGoodsDetail:
  21814. get:
  21815. parameters:
  21816. - description: 用户id
  21817. in: query
  21818. name: userid
  21819. required: true
  21820. type: integer
  21821. - description: 用户类型 2-机构 7-企业成员
  21822. in: query
  21823. name: usertype
  21824. type: integer
  21825. - description: 现货商品id
  21826. in: query
  21827. name: deliverygoodsid
  21828. type: integer
  21829. produces:
  21830. - application/json
  21831. responses:
  21832. "200":
  21833. description: OK
  21834. schema:
  21835. items:
  21836. $ref: '#/definitions/models.XHDeliveryGoods'
  21837. type: array
  21838. "500":
  21839. description: Internal Server Error
  21840. schema:
  21841. $ref: '#/definitions/app.Response'
  21842. security:
  21843. - ApiKeyAuth: []
  21844. summary: 查询现货商品详情
  21845. tags:
  21846. - 企业风险管理v3(app)
  21847. /Ermcp3/QueryExposureDetail:
  21848. get:
  21849. parameters:
  21850. - description: 用户id
  21851. in: query
  21852. name: userid
  21853. required: true
  21854. type: integer
  21855. - description: 用户类型 2-机构 7-企业成员
  21856. in: query
  21857. name: usertype
  21858. type: integer
  21859. - description: 套保商品
  21860. in: query
  21861. name: middlegoodsid
  21862. required: true
  21863. type: integer
  21864. produces:
  21865. - application/json
  21866. responses:
  21867. "200":
  21868. description: OK
  21869. schema:
  21870. items:
  21871. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21872. type: array
  21873. "500":
  21874. description: Internal Server Error
  21875. schema:
  21876. $ref: '#/definitions/app.Response'
  21877. security:
  21878. - ApiKeyAuth: []
  21879. summary: 查询敞口现货明细
  21880. tags:
  21881. - 企业风险管理v3(app)
  21882. /Ermcp3/QueryExposureSpot:
  21883. get:
  21884. parameters:
  21885. - description: 用户id
  21886. in: query
  21887. name: userid
  21888. required: true
  21889. type: integer
  21890. - description: 用户类型 2-机构 7-企业成员
  21891. in: query
  21892. name: usertype
  21893. type: integer
  21894. produces:
  21895. - application/json
  21896. responses:
  21897. "200":
  21898. description: OK
  21899. schema:
  21900. items:
  21901. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21902. type: array
  21903. "500":
  21904. description: Internal Server Error
  21905. schema:
  21906. $ref: '#/definitions/app.Response'
  21907. security:
  21908. - ApiKeyAuth: []
  21909. summary: 查询敞口现货头寸(敞口/现货头寸)
  21910. tags:
  21911. - 企业风险管理v3(app)
  21912. /Ermcp3/QueryExposureSpotDetail:
  21913. get:
  21914. parameters:
  21915. - description: 用户id
  21916. in: query
  21917. name: userid
  21918. required: true
  21919. type: integer
  21920. - description: 用户类型 2-机构 7-企业成员
  21921. in: query
  21922. name: usertype
  21923. type: integer
  21924. - description: 现货商品ID
  21925. in: query
  21926. name: wrstandardid
  21927. required: true
  21928. type: integer
  21929. produces:
  21930. - application/json
  21931. responses:
  21932. "200":
  21933. description: OK
  21934. schema:
  21935. items:
  21936. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21937. type: array
  21938. "500":
  21939. description: Internal Server Error
  21940. schema:
  21941. $ref: '#/definitions/app.Response'
  21942. security:
  21943. - ApiKeyAuth: []
  21944. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21945. tags:
  21946. - 企业风险管理v3(app)
  21947. /Ermcp3/QueryGoodsGroup:
  21948. get:
  21949. parameters:
  21950. - description: 用户id
  21951. in: query
  21952. name: userid
  21953. required: true
  21954. type: integer
  21955. - description: 用户类型 2-机构 7-企业成员
  21956. in: query
  21957. name: usertype
  21958. type: integer
  21959. - description: 排除套保品中已关联的商品组 1-排除
  21960. in: query
  21961. name: excludecfg
  21962. type: integer
  21963. produces:
  21964. - application/json
  21965. responses:
  21966. "200":
  21967. description: OK
  21968. schema:
  21969. items:
  21970. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21971. type: array
  21972. "500":
  21973. description: Internal Server Error
  21974. schema:
  21975. $ref: '#/definitions/app.Response'
  21976. security:
  21977. - ApiKeyAuth: []
  21978. summary: 查询期货商品组
  21979. tags:
  21980. - 企业风险管理v3(app)
  21981. /Ermcp3/QueryGoodsWrstandard:
  21982. get:
  21983. parameters:
  21984. - description: 用户id
  21985. in: query
  21986. name: userid
  21987. required: true
  21988. type: integer
  21989. - description: 用户类型 2-机构 7-企业成员
  21990. in: query
  21991. name: usertype
  21992. type: integer
  21993. - description: 现货商品id
  21994. in: query
  21995. name: deliverygoodsid
  21996. type: integer
  21997. produces:
  21998. - application/json
  21999. responses:
  22000. "200":
  22001. description: OK
  22002. schema:
  22003. items:
  22004. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22005. type: array
  22006. "500":
  22007. description: Internal Server Error
  22008. schema:
  22009. $ref: '#/definitions/app.Response'
  22010. security:
  22011. - ApiKeyAuth: []
  22012. summary: 查询商品品类
  22013. tags:
  22014. - 企业风险管理v3(app)
  22015. /Ermcp3/QueryGoodsbrand:
  22016. get:
  22017. parameters:
  22018. - description: 用户id
  22019. in: query
  22020. name: userid
  22021. required: true
  22022. type: integer
  22023. - description: 用户类型 2-机构 7-企业成员
  22024. in: query
  22025. name: usertype
  22026. type: integer
  22027. produces:
  22028. - application/json
  22029. responses:
  22030. "200":
  22031. description: OK
  22032. schema:
  22033. items:
  22034. $ref: '#/definitions/models.Ermcp3Brand'
  22035. type: array
  22036. "500":
  22037. description: Internal Server Error
  22038. schema:
  22039. $ref: '#/definitions/app.Response'
  22040. security:
  22041. - ApiKeyAuth: []
  22042. summary: 查询商品品牌
  22043. tags:
  22044. - 企业风险管理v3(app)
  22045. /Ermcp3/QueryHedgePlan:
  22046. get:
  22047. parameters:
  22048. - description: 用户ID
  22049. in: query
  22050. name: userid
  22051. required: true
  22052. type: integer
  22053. - description: 用户类型 2-机构 7-企业成员
  22054. in: query
  22055. name: usertype
  22056. type: integer
  22057. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22058. in: query
  22059. name: hedgeplanstatus
  22060. required: true
  22061. type: string
  22062. produces:
  22063. - application/json
  22064. responses:
  22065. "200":
  22066. description: OK
  22067. schema:
  22068. items:
  22069. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22070. type: array
  22071. "500":
  22072. description: Internal Server Error
  22073. schema:
  22074. $ref: '#/definitions/app.Response'
  22075. security:
  22076. - ApiKeyAuth: []
  22077. summary: 查询套保计划
  22078. tags:
  22079. - 企业风险管理v3(app)
  22080. /Ermcp3/QueryInnerTradeLink:
  22081. get:
  22082. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22083. parameters:
  22084. - description: 外部成交单号
  22085. in: query
  22086. name: outtradeid
  22087. required: true
  22088. type: integer
  22089. produces:
  22090. - application/json
  22091. responses:
  22092. "200":
  22093. description: OK
  22094. schema:
  22095. items:
  22096. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22097. type: array
  22098. "500":
  22099. description: Internal Server Error
  22100. schema:
  22101. $ref: '#/definitions/app.Response'
  22102. security:
  22103. - ApiKeyAuth: []
  22104. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22105. tags:
  22106. - 企业风险管理v3(app)
  22107. /Ermcp3/QueryMiddleGoodsDetail:
  22108. get:
  22109. parameters:
  22110. - description: 用户id
  22111. in: query
  22112. name: userid
  22113. required: true
  22114. type: integer
  22115. - description: 用户类型 2-机构 7-企业成员
  22116. in: query
  22117. name: usertype
  22118. type: integer
  22119. - description: 套保品种id
  22120. in: query
  22121. name: middlegoodsid
  22122. type: integer
  22123. produces:
  22124. - application/json
  22125. responses:
  22126. "200":
  22127. description: OK
  22128. schema:
  22129. items:
  22130. $ref: '#/definitions/models.TBMiddleGoods'
  22131. type: array
  22132. "500":
  22133. description: Internal Server Error
  22134. schema:
  22135. $ref: '#/definitions/app.Response'
  22136. security:
  22137. - ApiKeyAuth: []
  22138. summary: 查询套保品种详情(套保品种/商品详情)
  22139. tags:
  22140. - 企业风险管理v3(app)
  22141. /Ermcp3/QueryOutTradeLink:
  22142. get:
  22143. description: 页面 app 现货->期现关联->外部成交单关联
  22144. parameters:
  22145. - description: 用户ID(填登录用户的userid)
  22146. in: query
  22147. name: userid
  22148. required: true
  22149. type: integer
  22150. - description: 外部订单号(模糊匹配)
  22151. in: query
  22152. name: outtradeid
  22153. type: string
  22154. - description: 合约名称/代码(模糊匹配)
  22155. in: query
  22156. name: goodsname
  22157. type: string
  22158. - description: 关联状态 0-未关联 1-已关联
  22159. in: query
  22160. name: hasinnerorder
  22161. type: integer
  22162. produces:
  22163. - application/json
  22164. responses:
  22165. "200":
  22166. description: OK
  22167. schema:
  22168. items:
  22169. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22170. type: array
  22171. "500":
  22172. description: Internal Server Error
  22173. schema:
  22174. $ref: '#/definitions/app.Response'
  22175. security:
  22176. - ApiKeyAuth: []
  22177. summary: 查询外部成交单关联
  22178. tags:
  22179. - 企业风险管理v3(app)
  22180. /Ermcp3/QueryPaAreaAuditCfg:
  22181. get:
  22182. parameters:
  22183. - description: 用户id
  22184. in: query
  22185. name: userid
  22186. required: true
  22187. type: integer
  22188. produces:
  22189. - application/json
  22190. responses:
  22191. "200":
  22192. description: OK
  22193. schema:
  22194. items:
  22195. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22196. type: array
  22197. "500":
  22198. description: Internal Server Error
  22199. schema:
  22200. $ref: '#/definitions/app.Response'
  22201. security:
  22202. - ApiKeyAuth: []
  22203. summary: 查询审核设置
  22204. tags:
  22205. - 企业风险管理v3(app)
  22206. /Ermcp3/QueryPaAreaSubject:
  22207. get:
  22208. parameters:
  22209. - description: 用户id
  22210. in: query
  22211. name: userid
  22212. required: true
  22213. type: integer
  22214. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22215. in: query
  22216. name: subjectid
  22217. type: integer
  22218. - description: 主体类型 - 1:交易主体 2:业务部门
  22219. in: query
  22220. name: subjecttype
  22221. type: integer
  22222. - description: '主体状态 - 1:正常 2: 停用'
  22223. in: query
  22224. name: subjectstatus
  22225. type: integer
  22226. produces:
  22227. - application/json
  22228. responses:
  22229. "200":
  22230. description: OK
  22231. schema:
  22232. items:
  22233. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22234. type: array
  22235. "500":
  22236. description: Internal Server Error
  22237. schema:
  22238. $ref: '#/definitions/app.Response'
  22239. security:
  22240. - ApiKeyAuth: []
  22241. summary: 查询交易主体
  22242. tags:
  22243. - 企业风险管理v3(app)
  22244. /Ermcp3/QueryPaTradeLink:
  22245. get:
  22246. description: 页面 app 现货->期现关联->期现单据关联
  22247. parameters:
  22248. - description: 用户ID
  22249. in: query
  22250. name: userid
  22251. required: true
  22252. type: integer
  22253. produces:
  22254. - application/json
  22255. responses:
  22256. "200":
  22257. description: OK
  22258. schema:
  22259. items:
  22260. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22261. type: array
  22262. "500":
  22263. description: Internal Server Error
  22264. schema:
  22265. $ref: '#/definitions/app.Response'
  22266. security:
  22267. - ApiKeyAuth: []
  22268. summary: 查询期现单据关联
  22269. tags:
  22270. - 企业风险管理v3(app)
  22271. /Ermcp3/QueryPaTradeLinkDetail:
  22272. get:
  22273. description: 页面 app 现货->期现关联->关联记录
  22274. parameters:
  22275. - description: 用户ID(填登录用户的userid)
  22276. in: query
  22277. name: userid
  22278. required: true
  22279. type: integer
  22280. - description: 关联状态 1:成功 2:失败 3:解绑
  22281. in: query
  22282. name: linkstatus
  22283. type: integer
  22284. - description: 期货订单号(模糊匹配)
  22285. in: query
  22286. name: tradeid
  22287. type: string
  22288. - description: 现货编号(模糊匹配)
  22289. in: query
  22290. name: contractno
  22291. type: string
  22292. - description: 期货账户(模糊匹配)
  22293. in: query
  22294. name: taname
  22295. type: string
  22296. produces:
  22297. - application/json
  22298. responses:
  22299. "200":
  22300. description: OK
  22301. schema:
  22302. items:
  22303. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22304. type: array
  22305. "500":
  22306. description: Internal Server Error
  22307. schema:
  22308. $ref: '#/definitions/app.Response'
  22309. security:
  22310. - ApiKeyAuth: []
  22311. summary: 查询期现关联记录
  22312. tags:
  22313. - 企业风险管理v3(app)
  22314. /Ermcp3/QueryParamChangeApp:
  22315. get:
  22316. description: |-
  22317. 原型页面:
  22318. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22319. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22320. parameters:
  22321. - description: 用户ID
  22322. in: query
  22323. name: userid
  22324. required: true
  22325. type: integer
  22326. - description: 现货品种id
  22327. in: query
  22328. name: deliverygoodsid
  22329. type: integer
  22330. - description: 现货商品id
  22331. in: query
  22332. name: wrstandardid
  22333. type: integer
  22334. - description: 套保商品id
  22335. in: query
  22336. name: middlegoodsid
  22337. type: integer
  22338. - description: 操作类型 1:新增 2:修改
  22339. in: query
  22340. name: operatetype
  22341. type: integer
  22342. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22343. in: query
  22344. name: paramchangetype
  22345. type: integer
  22346. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22347. in: query
  22348. name: ftstatus
  22349. type: string
  22350. produces:
  22351. - application/json
  22352. responses:
  22353. "200":
  22354. description: OK
  22355. schema:
  22356. items:
  22357. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22358. type: array
  22359. "500":
  22360. description: Internal Server Error
  22361. schema:
  22362. $ref: '#/definitions/app.Response'
  22363. security:
  22364. - ApiKeyAuth: []
  22365. summary: 查询现货商品参数变更申请(流水)
  22366. tags:
  22367. - 企业风险管理v3(app)
  22368. /Ermcp3/QueryRootUserAccount:
  22369. get:
  22370. parameters:
  22371. - description: 用户ID
  22372. in: query
  22373. name: userid
  22374. required: true
  22375. type: integer
  22376. produces:
  22377. - application/json
  22378. responses:
  22379. "200":
  22380. description: OK
  22381. schema:
  22382. items:
  22383. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22384. type: array
  22385. "500":
  22386. description: Internal Server Error
  22387. schema:
  22388. $ref: '#/definitions/app.Response'
  22389. security:
  22390. - ApiKeyAuth: []
  22391. summary: 查询顶级用户信息
  22392. tags:
  22393. - 企业风险管理v3(app)
  22394. /Ermcp3/QuerySCMiddleGoods:
  22395. get:
  22396. description: |-
  22397. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22398. 现货编号 即 合同编号
  22399. parameters:
  22400. - description: 用户ID(填登录用户的userid)
  22401. in: query
  22402. name: userid
  22403. required: true
  22404. type: integer
  22405. - description: 买卖方向 0-买 1-卖
  22406. in: query
  22407. name: buyorsell
  22408. required: true
  22409. type: integer
  22410. - description: 商品组id
  22411. in: query
  22412. name: goodsgroupid
  22413. required: true
  22414. type: integer
  22415. - description: 业务类型 1:套保 2:套利
  22416. in: query
  22417. name: biztype
  22418. type: integer
  22419. - description: 现货编号(模糊匹配)
  22420. in: query
  22421. name: contractno
  22422. type: string
  22423. - description: 对手方(模糊匹配)
  22424. in: query
  22425. name: customername
  22426. type: string
  22427. - description: 现货商品名称(模糊匹配)
  22428. in: query
  22429. name: wrstandardname
  22430. type: string
  22431. produces:
  22432. - application/json
  22433. responses:
  22434. "200":
  22435. description: OK
  22436. schema:
  22437. items:
  22438. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22439. type: array
  22440. "500":
  22441. description: Internal Server Error
  22442. schema:
  22443. $ref: '#/definitions/app.Response'
  22444. security:
  22445. - ApiKeyAuth: []
  22446. summary: 查询现货订单
  22447. tags:
  22448. - 企业风险管理v3(app)
  22449. /Ermcp3/QuerySpotContract:
  22450. get:
  22451. parameters:
  22452. - description: 用户id(当指定contractid, userid可不填)
  22453. in: query
  22454. name: userid
  22455. required: true
  22456. type: integer
  22457. - description: 用户类型 2-机构 7-企业成员
  22458. in: query
  22459. name: usertype
  22460. type: integer
  22461. - description: 合同类型 1-采购, -1-销售
  22462. in: query
  22463. name: contracttype
  22464. type: integer
  22465. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22466. in: query
  22467. name: querytype
  22468. type: string
  22469. - description: 合同ID(SpotContractId)
  22470. in: query
  22471. name: contractid
  22472. type: string
  22473. - description: 合同编号(模糊匹配)
  22474. in: query
  22475. name: contractno
  22476. type: string
  22477. - description: 商品名称(模糊匹配)
  22478. in: query
  22479. name: wrstandardname
  22480. type: string
  22481. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22482. in: query
  22483. name: status
  22484. type: string
  22485. - description: 是否只查今日的合同 1-查今日合同
  22486. in: query
  22487. name: istoday
  22488. type: integer
  22489. produces:
  22490. - application/json
  22491. responses:
  22492. "200":
  22493. description: OK
  22494. schema:
  22495. items:
  22496. $ref: '#/definitions/models.Ermcp3Contract'
  22497. type: array
  22498. "500":
  22499. description: Internal Server Error
  22500. schema:
  22501. $ref: '#/definitions/app.Response'
  22502. security:
  22503. - ApiKeyAuth: []
  22504. summary: 查询现货合同
  22505. tags:
  22506. - 企业风险管理v3(app)
  22507. /Ermcp3/QuerySpotContractBS:
  22508. get:
  22509. parameters:
  22510. - description: 用户id
  22511. in: query
  22512. name: userid
  22513. required: true
  22514. type: integer
  22515. - description: 用户类型 2-机构 7-企业成员
  22516. in: query
  22517. name: usertype
  22518. type: integer
  22519. - description: 合同类型 1-采购, -1-销售
  22520. in: query
  22521. name: contracttype
  22522. required: true
  22523. type: integer
  22524. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22525. in: query
  22526. name: querytype
  22527. type: integer
  22528. - description: 合同ID(SpotContractId)
  22529. in: query
  22530. name: contractid
  22531. type: string
  22532. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22533. in: query
  22534. name: status
  22535. type: string
  22536. - description: 是否只查今日的合同 1-查今日合同
  22537. in: query
  22538. name: istoday
  22539. type: integer
  22540. produces:
  22541. - application/json
  22542. responses:
  22543. "200":
  22544. description: OK
  22545. schema:
  22546. items:
  22547. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  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/QuerySpotGoodsPrice:
  22559. get:
  22560. parameters:
  22561. - description: 用户ID
  22562. in: query
  22563. name: userid
  22564. required: true
  22565. type: integer
  22566. produces:
  22567. - application/json
  22568. responses:
  22569. "200":
  22570. description: OK
  22571. schema:
  22572. items:
  22573. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22574. type: array
  22575. "500":
  22576. description: Internal Server Error
  22577. schema:
  22578. $ref: '#/definitions/app.Response'
  22579. security:
  22580. - ApiKeyAuth: []
  22581. summary: 查询现货市价(现货市价)
  22582. tags:
  22583. - 企业风险管理v3(app)
  22584. /Ermcp3/QuerySpotGoodsPriceLog:
  22585. get:
  22586. parameters:
  22587. - description: 用户ID
  22588. in: query
  22589. name: userid
  22590. required: true
  22591. type: integer
  22592. - description: 现货商品ID
  22593. in: query
  22594. name: deliverygoodsid
  22595. required: true
  22596. type: integer
  22597. - description: 品牌ID
  22598. in: query
  22599. name: brandid
  22600. type: integer
  22601. - description: 品类ID
  22602. in: query
  22603. name: wrstandardid
  22604. type: integer
  22605. produces:
  22606. - application/json
  22607. responses:
  22608. "200":
  22609. description: OK
  22610. schema:
  22611. items:
  22612. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22613. type: array
  22614. "500":
  22615. description: Internal Server Error
  22616. schema:
  22617. $ref: '#/definitions/app.Response'
  22618. security:
  22619. - ApiKeyAuth: []
  22620. summary: 查询现货市价详情(现货市价/详情)
  22621. tags:
  22622. - 企业风险管理v3(app)
  22623. /Ermcp3/QuerySubTaaccount:
  22624. get:
  22625. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22626. parameters:
  22627. - description: 母账号id
  22628. in: query
  22629. name: parentaccountid
  22630. type: integer
  22631. - description: 母账号代码
  22632. in: query
  22633. name: parentaccountcode
  22634. type: string
  22635. produces:
  22636. - application/json
  22637. responses:
  22638. "200":
  22639. description: OK
  22640. schema:
  22641. items:
  22642. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22643. type: array
  22644. "500":
  22645. description: Internal Server Error
  22646. schema:
  22647. $ref: '#/definitions/app.Response'
  22648. security:
  22649. - ApiKeyAuth: []
  22650. summary: 查询期货子账户
  22651. tags:
  22652. - 企业风险管理v3(app)
  22653. /Erms2/QueryArbitrageStrategy:
  22654. get:
  22655. parameters:
  22656. - description: 账户ID
  22657. in: query
  22658. name: userid
  22659. required: true
  22660. type: integer
  22661. - description: 商品组ID(品种ID)
  22662. in: query
  22663. name: goodsgroupid
  22664. type: string
  22665. produces:
  22666. - application/json
  22667. responses:
  22668. "200":
  22669. description: OK
  22670. schema:
  22671. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22672. "500":
  22673. description: Internal Server Error
  22674. schema:
  22675. $ref: '#/definitions/app.Response'
  22676. security:
  22677. - ApiKeyAuth: []
  22678. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22679. tags:
  22680. - 风险管理
  22681. /Erms2/QueryInnerTradeDetail:
  22682. get:
  22683. parameters:
  22684. - description: 资金账户
  22685. in: query
  22686. name: accountid
  22687. required: true
  22688. type: integer
  22689. produces:
  22690. - application/json
  22691. responses:
  22692. "200":
  22693. description: OK
  22694. schema:
  22695. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22696. "500":
  22697. description: Internal Server Error
  22698. schema:
  22699. $ref: '#/definitions/app.Response'
  22700. security:
  22701. - ApiKeyAuth: []
  22702. summary: 查询内部成交单信息
  22703. tags:
  22704. - 风险管理
  22705. /Erms2/QuerySpotContract:
  22706. get:
  22707. parameters:
  22708. - description: 策略申请ID
  22709. in: query
  22710. name: asapplyid
  22711. required: true
  22712. type: integer
  22713. - description: 现货合同ID
  22714. in: query
  22715. name: spotcontractid
  22716. type: integer
  22717. produces:
  22718. - application/json
  22719. responses:
  22720. "200":
  22721. description: OK
  22722. schema:
  22723. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22724. "500":
  22725. description: Internal Server Error
  22726. schema:
  22727. $ref: '#/definitions/app.Response'
  22728. security:
  22729. - ApiKeyAuth: []
  22730. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22731. tags:
  22732. - 风险管理
  22733. /Erms3/AddErms2ASApply:
  22734. post:
  22735. parameters:
  22736. - description: 申请参数
  22737. in: body
  22738. name: jsonBody
  22739. required: true
  22740. schema:
  22741. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22742. produces:
  22743. - application/json
  22744. responses:
  22745. "200":
  22746. description: OK
  22747. schema:
  22748. $ref: '#/definitions/app.Response'
  22749. "500":
  22750. description: Internal Server Error
  22751. schema:
  22752. $ref: '#/definitions/app.Response'
  22753. security:
  22754. - ApiKeyAuth: []
  22755. summary: 新增期现套利业务申请
  22756. tags:
  22757. - 风险管理v3
  22758. /Erms3/AddErms2SpotTradeApply:
  22759. post:
  22760. parameters:
  22761. - description: 申请参数
  22762. in: body
  22763. name: jsonBody
  22764. required: true
  22765. schema:
  22766. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22767. produces:
  22768. - application/json
  22769. responses:
  22770. "200":
  22771. description: OK
  22772. schema:
  22773. $ref: '#/definitions/app.Response'
  22774. "500":
  22775. description: Internal Server Error
  22776. schema:
  22777. $ref: '#/definitions/app.Response'
  22778. security:
  22779. - ApiKeyAuth: []
  22780. summary: 新增现货贸易业务申请
  22781. tags:
  22782. - 风险管理v3
  22783. /Erms3/AddSpotContractApply:
  22784. post:
  22785. parameters:
  22786. - description: 申请参数
  22787. in: body
  22788. name: jsonBody
  22789. required: true
  22790. schema:
  22791. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22792. produces:
  22793. - application/json
  22794. responses:
  22795. "200":
  22796. description: OK
  22797. schema:
  22798. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22799. "500":
  22800. description: Internal Server Error
  22801. schema:
  22802. $ref: '#/definitions/app.Response'
  22803. security:
  22804. - ApiKeyAuth: []
  22805. summary: 新增现货合同申请
  22806. tags:
  22807. - 风险管理v3
  22808. /Erms3/AddUserInfoApply:
  22809. post:
  22810. parameters:
  22811. - description: 用户信息
  22812. in: body
  22813. name: jsonBody
  22814. required: true
  22815. schema:
  22816. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22817. produces:
  22818. - application/json
  22819. responses:
  22820. "200":
  22821. description: OK
  22822. schema:
  22823. $ref: '#/definitions/app.Response'
  22824. "500":
  22825. description: Internal Server Error
  22826. schema:
  22827. $ref: '#/definitions/app.Response'
  22828. security:
  22829. - ApiKeyAuth: []
  22830. summary: 新增客户申请
  22831. tags:
  22832. - 风险管理v3
  22833. /Erms3/DeleteUserInfoApply:
  22834. get:
  22835. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22836. parameters:
  22837. - description: 用户ID
  22838. in: query
  22839. name: userID
  22840. required: true
  22841. type: integer
  22842. produces:
  22843. - application/json
  22844. responses:
  22845. "200":
  22846. description: OK
  22847. schema:
  22848. $ref: '#/definitions/app.Response'
  22849. "500":
  22850. description: Internal Server Error
  22851. schema:
  22852. $ref: '#/definitions/app.Response'
  22853. security:
  22854. - ApiKeyAuth: []
  22855. summary: 删除客户申请
  22856. tags:
  22857. - 风险管理v3
  22858. /Erms3/ModifyUserInfoApply:
  22859. post:
  22860. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22861. parameters:
  22862. - description: 用户信息
  22863. in: body
  22864. name: jsonBody
  22865. required: true
  22866. schema:
  22867. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22868. produces:
  22869. - application/json
  22870. responses:
  22871. "200":
  22872. description: OK
  22873. schema:
  22874. $ref: '#/definitions/app.Response'
  22875. "500":
  22876. description: Internal Server Error
  22877. schema:
  22878. $ref: '#/definitions/app.Response'
  22879. security:
  22880. - ApiKeyAuth: []
  22881. summary: 修改客户申请
  22882. tags:
  22883. - 风险管理v3
  22884. /Erms3/QueryBusinessInfo:
  22885. get:
  22886. parameters:
  22887. - description: 资金账号ID列表,用逗号分隔
  22888. in: query
  22889. name: accountids
  22890. required: true
  22891. type: string
  22892. - description: 状态,0为未结束 1为已结束
  22893. in: query
  22894. name: status
  22895. required: true
  22896. type: integer
  22897. produces:
  22898. - application/json
  22899. responses:
  22900. "200":
  22901. description: OK
  22902. schema:
  22903. items:
  22904. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22905. type: array
  22906. "500":
  22907. description: Internal Server Error
  22908. schema:
  22909. $ref: '#/definitions/app.Response'
  22910. security:
  22911. - ApiKeyAuth: []
  22912. summary: 查询业务表单数据
  22913. tags:
  22914. - 风险管理v3
  22915. /Erms3/QueryPendingAuditContract:
  22916. get:
  22917. parameters:
  22918. - description: 资金账号ID列表,逗号隔开
  22919. in: query
  22920. name: accountids
  22921. required: true
  22922. type: string
  22923. - description: 合同类型 1-采购 -1-销售
  22924. in: query
  22925. name: contracttype
  22926. required: true
  22927. type: integer
  22928. - description: 合同模式 1-普通 2-回购
  22929. in: query
  22930. name: contractmode
  22931. required: true
  22932. type: integer
  22933. produces:
  22934. - application/json
  22935. responses:
  22936. "200":
  22937. description: OK
  22938. schema:
  22939. items:
  22940. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22941. type: array
  22942. "500":
  22943. description: Internal Server Error
  22944. schema:
  22945. $ref: '#/definitions/app.Response'
  22946. security:
  22947. - ApiKeyAuth: []
  22948. summary: 查询待审核合同
  22949. tags:
  22950. - 风险管理v3
  22951. /Erms3/QueryPendingBusiness:
  22952. get:
  22953. parameters:
  22954. - description: 资金账号ID列表,逗号隔开
  22955. in: query
  22956. name: accountids
  22957. required: true
  22958. type: string
  22959. produces:
  22960. - application/json
  22961. responses:
  22962. "200":
  22963. description: OK
  22964. schema:
  22965. items:
  22966. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22967. type: array
  22968. "500":
  22969. description: Internal Server Error
  22970. schema:
  22971. $ref: '#/definitions/app.Response'
  22972. security:
  22973. - ApiKeyAuth: []
  22974. summary: 查询待审核基差贸易业务
  22975. tags:
  22976. - 风险管理v3
  22977. /Erms3/QuerySpotContractAppleForm:
  22978. get:
  22979. parameters:
  22980. - description: 登录账号
  22981. in: query
  22982. name: loginID
  22983. required: true
  22984. type: integer
  22985. produces:
  22986. - application/json
  22987. responses:
  22988. "200":
  22989. description: OK
  22990. schema:
  22991. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22992. "500":
  22993. description: Internal Server Error
  22994. schema:
  22995. $ref: '#/definitions/app.Response'
  22996. security:
  22997. - ApiKeyAuth: []
  22998. summary: 查询合同申请表单数据
  22999. tags:
  23000. - 风险管理v3
  23001. /Erms3/QuerySpotContractDetail:
  23002. get:
  23003. parameters:
  23004. - description: 资金账号ID列表,用逗号分隔
  23005. in: query
  23006. name: accountids
  23007. required: true
  23008. type: string
  23009. - description: 合同类型,1为采购合同 -1为销售合同
  23010. in: query
  23011. name: contracttype
  23012. required: true
  23013. type: integer
  23014. - description: 合同模式,1为普通合同 2为回购销售合同
  23015. in: query
  23016. name: contractmode
  23017. required: true
  23018. type: integer
  23019. - description: 状态,0为履约中 1为已完成
  23020. in: query
  23021. name: status
  23022. required: true
  23023. type: integer
  23024. produces:
  23025. - application/json
  23026. responses:
  23027. "200":
  23028. description: OK
  23029. schema:
  23030. items:
  23031. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23032. type: array
  23033. "500":
  23034. description: Internal Server Error
  23035. schema:
  23036. $ref: '#/definitions/app.Response'
  23037. security:
  23038. - ApiKeyAuth: []
  23039. summary: 查询合同详细信息
  23040. tags:
  23041. - 风险管理v3
  23042. /Erms3/QueryUserInfoApplies:
  23043. get:
  23044. parameters:
  23045. - description: 页码
  23046. in: query
  23047. name: page
  23048. type: integer
  23049. - description: 每页条数
  23050. in: query
  23051. name: pagesize
  23052. type: integer
  23053. - description: 客户名称,支持模糊查询
  23054. in: query
  23055. name: userName
  23056. type: string
  23057. produces:
  23058. - application/json
  23059. responses:
  23060. "200":
  23061. description: OK
  23062. schema:
  23063. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23064. "500":
  23065. description: Internal Server Error
  23066. schema:
  23067. $ref: '#/definitions/app.Response'
  23068. security:
  23069. - ApiKeyAuth: []
  23070. summary: 客户申请信息查询
  23071. tags:
  23072. - 风险管理v3
  23073. /Erms3/QueryUserInfos:
  23074. get:
  23075. parameters:
  23076. - description: 页码
  23077. in: query
  23078. name: page
  23079. type: integer
  23080. - description: 每页条数
  23081. in: query
  23082. name: pagesize
  23083. type: integer
  23084. - description: 客户名称,支持模糊查询
  23085. in: query
  23086. name: userName
  23087. type: string
  23088. produces:
  23089. - application/json
  23090. responses:
  23091. "200":
  23092. description: OK
  23093. schema:
  23094. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23095. "500":
  23096. description: Internal Server Error
  23097. schema:
  23098. $ref: '#/definitions/app.Response'
  23099. security:
  23100. - ApiKeyAuth: []
  23101. summary: 客户信息查询
  23102. tags:
  23103. - 风险管理v3
  23104. /HSBY/GetHsbyMyCount:
  23105. get:
  23106. description: 说明: 不包括已完成的数量。
  23107. parameters:
  23108. - description: 资金账户列表,格式:1,2,3
  23109. in: query
  23110. name: accountIDs
  23111. required: true
  23112. type: string
  23113. produces:
  23114. - application/json
  23115. responses:
  23116. "200":
  23117. description: OK
  23118. schema:
  23119. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23120. "500":
  23121. description: Internal Server Error
  23122. schema:
  23123. $ref: '#/definitions/app.Response'
  23124. security:
  23125. - ApiKeyAuth: []
  23126. summary: 获取我的订单与包裹数量
  23127. tags:
  23128. - 定制【海商报业】
  23129. /HSBY/QueryClientFixedADConfigs:
  23130. get:
  23131. produces:
  23132. - application/json
  23133. responses:
  23134. "200":
  23135. description: OK
  23136. schema:
  23137. $ref: '#/definitions/models.Clientfixedadconfig'
  23138. "500":
  23139. description: Internal Server Error
  23140. schema:
  23141. $ref: '#/definitions/app.Response'
  23142. security:
  23143. - ApiKeyAuth: []
  23144. summary: 获取终端固定广告配置
  23145. tags:
  23146. - 定制【海商报业】
  23147. /HSBY/QueryHsbyBuyMyTradeDetail:
  23148. get:
  23149. parameters:
  23150. - description: 页码
  23151. in: query
  23152. name: page
  23153. type: integer
  23154. - description: 每页条数
  23155. in: query
  23156. name: pagesize
  23157. type: integer
  23158. - description: 资金账户列表,格式:1,2,3
  23159. in: query
  23160. name: accountIDs
  23161. required: true
  23162. type: string
  23163. produces:
  23164. - application/json
  23165. responses:
  23166. "200":
  23167. description: OK
  23168. schema:
  23169. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23170. "500":
  23171. description: Internal Server Error
  23172. schema:
  23173. $ref: '#/definitions/app.Response'
  23174. security:
  23175. - ApiKeyAuth: []
  23176. summary: 查询"我的订单 - 已完成"单据信息
  23177. tags:
  23178. - 定制【海商报业】
  23179. /HSBY/QueryHsbyGoodsOrderDetails:
  23180. get:
  23181. description: 说明:查询结果已按委托价格和委托时间排序
  23182. parameters:
  23183. - description: 商品ID
  23184. in: query
  23185. name: goodsID
  23186. required: true
  23187. type: integer
  23188. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23189. in: query
  23190. name: accountIDs
  23191. type: string
  23192. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23193. in: query
  23194. name: buyOrSell
  23195. type: integer
  23196. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23197. in: query
  23198. name: price
  23199. type: number
  23200. - description: 档位,不传则默认为3档
  23201. in: query
  23202. name: speed
  23203. type: integer
  23204. produces:
  23205. - application/json
  23206. responses:
  23207. "200":
  23208. description: OK
  23209. schema:
  23210. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23211. "500":
  23212. description: Internal Server Error
  23213. schema:
  23214. $ref: '#/definitions/app.Response'
  23215. security:
  23216. - ApiKeyAuth: []
  23217. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23218. tags:
  23219. - 定制【海商报业】
  23220. /HSBY/QueryHsbyListingGoodsDetail:
  23221. get:
  23222. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23223. parameters:
  23224. - description: 商品ID
  23225. in: query
  23226. name: goodsID
  23227. required: true
  23228. type: integer
  23229. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23230. in: query
  23231. name: accountID
  23232. type: integer
  23233. produces:
  23234. - application/json
  23235. responses:
  23236. "200":
  23237. description: OK
  23238. schema:
  23239. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23240. "500":
  23241. description: Internal Server Error
  23242. schema:
  23243. $ref: '#/definitions/app.Response'
  23244. security:
  23245. - ApiKeyAuth: []
  23246. summary: 查询二级市场(挂牌点选)商品信息详情
  23247. tags:
  23248. - 定制【海商报业】
  23249. /HSBY/QueryHsbyMarketGoodsDetail:
  23250. get:
  23251. parameters:
  23252. - description: 委托单号
  23253. in: query
  23254. name: orderID
  23255. required: true
  23256. type: integer
  23257. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23258. in: query
  23259. name: accountID
  23260. type: integer
  23261. produces:
  23262. - application/json
  23263. responses:
  23264. "200":
  23265. description: OK
  23266. schema:
  23267. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23268. "500":
  23269. description: Internal Server Error
  23270. schema:
  23271. $ref: '#/definitions/app.Response'
  23272. security:
  23273. - ApiKeyAuth: []
  23274. summary: 查询三级市场(商城)商品信息详情
  23275. tags:
  23276. - 定制【海商报业】
  23277. /HSBY/QueryHsbyMarketGoodses:
  23278. get:
  23279. parameters:
  23280. - description: 页码
  23281. in: query
  23282. name: page
  23283. type: integer
  23284. - description: 每页条数
  23285. in: query
  23286. name: pagesize
  23287. type: integer
  23288. - description: 市场ID列表,格式:1,2,3
  23289. in: query
  23290. name: marketIDs
  23291. required: true
  23292. type: string
  23293. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23294. in: query
  23295. name: accountID
  23296. required: true
  23297. type: integer
  23298. - description: 类别ID
  23299. in: query
  23300. name: categoryID
  23301. type: integer
  23302. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23303. in: query
  23304. name: goodsIDs
  23305. type: string
  23306. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23307. in: query
  23308. name: couponTypeID
  23309. type: integer
  23310. produces:
  23311. - application/json
  23312. responses:
  23313. "200":
  23314. description: OK
  23315. schema:
  23316. $ref: '#/definitions/models.HsbyMarketGoods'
  23317. "500":
  23318. description: Internal Server Error
  23319. schema:
  23320. $ref: '#/definitions/app.Response'
  23321. security:
  23322. - ApiKeyAuth: []
  23323. summary: 查询特卖商品列表(三级商城)
  23324. tags:
  23325. - 定制【海商报业】
  23326. /HSBY/QueryHsbyMarkets:
  23327. get:
  23328. produces:
  23329. - application/json
  23330. responses:
  23331. "200":
  23332. description: OK
  23333. schema:
  23334. $ref: '#/definitions/models.HsbyMarketInfo'
  23335. "500":
  23336. description: Internal Server Error
  23337. schema:
  23338. $ref: '#/definitions/app.Response'
  23339. security:
  23340. - ApiKeyAuth: []
  23341. summary: 查询海商报业相关市场信息
  23342. tags:
  23343. - 定制【海商报业】
  23344. /HSBY/QueryHsbyMyBuyOrderDetails:
  23345. get:
  23346. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23347. parameters:
  23348. - description: 资金账户列表,格式:1,2,3
  23349. in: query
  23350. name: accountIDs
  23351. required: true
  23352. type: string
  23353. produces:
  23354. - application/json
  23355. responses:
  23356. "200":
  23357. description: OK
  23358. schema:
  23359. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23360. "500":
  23361. description: Internal Server Error
  23362. schema:
  23363. $ref: '#/definitions/app.Response'
  23364. security:
  23365. - ApiKeyAuth: []
  23366. summary: 查询“我的订单”信息
  23367. tags:
  23368. - 定制【海商报业】
  23369. /HSBY/QueryHsbyMyGoods:
  23370. get:
  23371. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23372. parameters:
  23373. - description: 资金账户列表,格式:1,2,3
  23374. in: query
  23375. name: accountIDs
  23376. required: true
  23377. type: string
  23378. produces:
  23379. - application/json
  23380. responses:
  23381. "200":
  23382. description: OK
  23383. schema:
  23384. $ref: '#/definitions/models.HsbyMyGoods'
  23385. "500":
  23386. description: Internal Server Error
  23387. schema:
  23388. $ref: '#/definitions/app.Response'
  23389. security:
  23390. - ApiKeyAuth: []
  23391. summary: 查询“我的商品”信息
  23392. tags:
  23393. - 定制【海商报业】
  23394. /HSBY/QueryHsbyMyPackages:
  23395. get:
  23396. parameters:
  23397. - description: 资金账户列表,格式:1,2,3
  23398. in: query
  23399. name: accountIDs
  23400. required: true
  23401. type: string
  23402. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23403. in: query
  23404. name: takeOrderStatus
  23405. type: integer
  23406. produces:
  23407. - application/json
  23408. responses:
  23409. "200":
  23410. description: OK
  23411. schema:
  23412. $ref: '#/definitions/models.HsbyMyPackage'
  23413. "500":
  23414. description: Internal Server Error
  23415. schema:
  23416. $ref: '#/definitions/app.Response'
  23417. security:
  23418. - ApiKeyAuth: []
  23419. summary: 查询我的包裹信息
  23420. tags:
  23421. - 定制【海商报业】
  23422. /HSBY/QueryHsbyPreGoodsDetail:
  23423. get:
  23424. parameters:
  23425. - description: 商品ID
  23426. in: query
  23427. name: goodsID
  23428. required: true
  23429. type: integer
  23430. - description: 资金账户,主要用于获取预售商品购买上限
  23431. in: query
  23432. name: accountID
  23433. type: integer
  23434. produces:
  23435. - application/json
  23436. responses:
  23437. "200":
  23438. description: OK
  23439. schema:
  23440. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23441. "500":
  23442. description: Internal Server Error
  23443. schema:
  23444. $ref: '#/definitions/app.Response'
  23445. security:
  23446. - ApiKeyAuth: []
  23447. summary: 查询一级市场(预售)商品信息详情
  23448. tags:
  23449. - 定制【海商报业】
  23450. /HSBY/QueryHsbyPreGoodses:
  23451. get:
  23452. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23453. parameters:
  23454. - description: 页码
  23455. in: query
  23456. name: page
  23457. type: integer
  23458. - description: 每页条数
  23459. in: query
  23460. name: pagesize
  23461. type: integer
  23462. - description: 市场ID列表,格式:1,2,3
  23463. in: query
  23464. name: marketIDs
  23465. required: true
  23466. type: string
  23467. - description: 目的地(省)ID
  23468. in: query
  23469. name: descProvinceID
  23470. type: integer
  23471. - description: 目的地(市)ID
  23472. in: query
  23473. name: descCityID
  23474. type: integer
  23475. produces:
  23476. - application/json
  23477. responses:
  23478. "200":
  23479. description: OK
  23480. schema:
  23481. $ref: '#/definitions/models.HsbyPreGoods'
  23482. "500":
  23483. description: Internal Server Error
  23484. schema:
  23485. $ref: '#/definitions/app.Response'
  23486. security:
  23487. - ApiKeyAuth: []
  23488. summary: 查询新品上市商品列表(一级市场预售)
  23489. tags:
  23490. - 定制【海商报业】
  23491. /HSBY/QueryHsbySellMyDetails:
  23492. get:
  23493. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23494. parameters:
  23495. - description: 页码
  23496. in: query
  23497. name: page
  23498. type: integer
  23499. - description: 每页条数
  23500. in: query
  23501. name: pagesize
  23502. type: integer
  23503. - description: 资金账户列表,格式:1,2,3
  23504. in: query
  23505. name: accountIDs
  23506. required: true
  23507. type: string
  23508. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23509. in: query
  23510. name: orderType
  23511. type: integer
  23512. produces:
  23513. - application/json
  23514. responses:
  23515. "200":
  23516. description: OK
  23517. schema:
  23518. $ref: '#/definitions/models.HsbySellMyDetail'
  23519. "500":
  23520. description: Internal Server Error
  23521. schema:
  23522. $ref: '#/definitions/app.Response'
  23523. security:
  23524. - ApiKeyAuth: []
  23525. summary: 查询"我的闲置"单据信息
  23526. tags:
  23527. - 定制【海商报业】
  23528. /HSBY/QueryHsbyTopGoodses:
  23529. get:
  23530. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23531. parameters:
  23532. - description: 页码
  23533. in: query
  23534. name: page
  23535. type: integer
  23536. - description: 每页条数
  23537. in: query
  23538. name: pagesize
  23539. type: integer
  23540. - description: 市场ID列表,格式:1,2,3
  23541. in: query
  23542. name: marketIDs
  23543. required: true
  23544. type: string
  23545. - description: 目的地(省)ID
  23546. in: query
  23547. name: descProvinceID
  23548. type: integer
  23549. - description: 目的地(市)ID
  23550. in: query
  23551. name: descCityID
  23552. type: integer
  23553. produces:
  23554. - application/json
  23555. responses:
  23556. "200":
  23557. description: OK
  23558. schema:
  23559. $ref: '#/definitions/models.HsbyTopGoods'
  23560. "500":
  23561. description: Internal Server Error
  23562. schema:
  23563. $ref: '#/definitions/app.Response'
  23564. security:
  23565. - ApiKeyAuth: []
  23566. summary: 查询热卖商品列表(二级市场挂牌点选)
  23567. tags:
  23568. - 定制【海商报业】
  23569. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23570. get:
  23571. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23572. parameters:
  23573. - description: 商品ID
  23574. in: query
  23575. name: goodsID
  23576. required: true
  23577. type: integer
  23578. produces:
  23579. - application/json
  23580. responses:
  23581. "200":
  23582. description: OK
  23583. schema:
  23584. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23585. "500":
  23586. description: Internal Server Error
  23587. schema:
  23588. $ref: '#/definitions/app.Response'
  23589. security:
  23590. - ApiKeyAuth: []
  23591. summary: 查询游客三级市场(商城)商品信息详情
  23592. tags:
  23593. - 定制【海商报业】
  23594. /HSBY/QueryHsbyVisitorMarketGoodses:
  23595. get:
  23596. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23597. parameters:
  23598. - description: 页码
  23599. in: query
  23600. name: page
  23601. type: integer
  23602. - description: 每页条数
  23603. in: query
  23604. name: pagesize
  23605. type: integer
  23606. - description: 市场ID列表,格式:1,2,3
  23607. in: query
  23608. name: marketIDs
  23609. required: true
  23610. type: string
  23611. - description: 类别ID
  23612. in: query
  23613. name: categoryID
  23614. type: integer
  23615. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23616. in: query
  23617. name: goodsIDs
  23618. type: string
  23619. produces:
  23620. - application/json
  23621. responses:
  23622. "200":
  23623. description: OK
  23624. schema:
  23625. $ref: '#/definitions/models.HsbyMarketGoods'
  23626. "500":
  23627. description: Internal Server Error
  23628. schema:
  23629. $ref: '#/definitions/app.Response'
  23630. security:
  23631. - ApiKeyAuth: []
  23632. summary: 查询游客特卖商品列表(三级商城)
  23633. tags:
  23634. - 定制【海商报业】
  23635. /HSBY/QueryMyCollectionOrders:
  23636. get:
  23637. parameters:
  23638. - description: 页码
  23639. in: query
  23640. name: page
  23641. type: integer
  23642. - description: 每页条数
  23643. in: query
  23644. name: pagesize
  23645. type: integer
  23646. - description: 资金账户,格式:1,2,3
  23647. in: query
  23648. name: accountIDs
  23649. required: true
  23650. type: string
  23651. produces:
  23652. - application/json
  23653. responses:
  23654. "200":
  23655. description: OK
  23656. schema:
  23657. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23658. "500":
  23659. description: Internal Server Error
  23660. schema:
  23661. $ref: '#/definitions/app.Response'
  23662. security:
  23663. - ApiKeyAuth: []
  23664. summary: 我的闲置中收款信息查询
  23665. tags:
  23666. - 定制【海商报业】
  23667. /HSBY/QueryMyCouponHolds:
  23668. get:
  23669. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23670. parameters:
  23671. - description: 资金账户列表,格式:1,2,3
  23672. in: query
  23673. name: accountIDs
  23674. required: true
  23675. type: string
  23676. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23677. in: query
  23678. name: holdStatus
  23679. type: string
  23680. produces:
  23681. - application/json
  23682. responses:
  23683. "200":
  23684. description: OK
  23685. schema:
  23686. $ref: '#/definitions/models.MyCouponHold'
  23687. "500":
  23688. description: Internal Server Error
  23689. schema:
  23690. $ref: '#/definitions/app.Response'
  23691. security:
  23692. - ApiKeyAuth: []
  23693. summary: 我的优惠卷持仓查询
  23694. tags:
  23695. - 定制【海商报业】
  23696. /HSBY/QueryMyCoupons:
  23697. get:
  23698. parameters:
  23699. - description: 资金账户列表,格式:1,2,3
  23700. in: query
  23701. name: accountIDs
  23702. required: true
  23703. type: string
  23704. - description: 商品ID, 一般与sellUserID配套传入
  23705. in: query
  23706. name: goodsID
  23707. type: integer
  23708. - description: 卖方UserID
  23709. in: query
  23710. name: sellUserID
  23711. type: integer
  23712. produces:
  23713. - application/json
  23714. responses:
  23715. "200":
  23716. description: OK
  23717. schema:
  23718. $ref: '#/definitions/models.MyCoupon'
  23719. "500":
  23720. description: Internal Server Error
  23721. schema:
  23722. $ref: '#/definitions/app.Response'
  23723. security:
  23724. - ApiKeyAuth: []
  23725. summary: 我的优惠卷查询
  23726. tags:
  23727. - 定制【海商报业】
  23728. /HSBY/QueryMyPayOrders:
  23729. get:
  23730. parameters:
  23731. - description: 页码
  23732. in: query
  23733. name: page
  23734. type: integer
  23735. - description: 每页条数
  23736. in: query
  23737. name: pagesize
  23738. type: integer
  23739. - description: 资金账户列表,格式:1,2,3
  23740. in: query
  23741. name: accountIDs
  23742. required: true
  23743. type: string
  23744. - description: 买方委托单号
  23745. in: query
  23746. name: buyOrderID
  23747. type: integer
  23748. - description: 卖方委托单号
  23749. in: query
  23750. name: sellOrderID
  23751. type: integer
  23752. produces:
  23753. - application/json
  23754. responses:
  23755. "200":
  23756. description: OK
  23757. schema:
  23758. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23759. "500":
  23760. description: Internal Server Error
  23761. schema:
  23762. $ref: '#/definitions/app.Response'
  23763. security:
  23764. - ApiKeyAuth: []
  23765. summary: 获取我的订单中待付款信息
  23766. tags:
  23767. - 定制【海商报业】
  23768. /HSBY/QueryMyUsedCoupon:
  23769. get:
  23770. parameters:
  23771. - description: 资金账户列表,格式:1,2,3
  23772. in: query
  23773. name: accountIDs
  23774. required: true
  23775. type: string
  23776. produces:
  23777. - application/json
  23778. responses:
  23779. "200":
  23780. description: OK
  23781. schema:
  23782. $ref: '#/definitions/models.MyUsedCoupon'
  23783. "500":
  23784. description: Internal Server Error
  23785. schema:
  23786. $ref: '#/definitions/app.Response'
  23787. security:
  23788. - ApiKeyAuth: []
  23789. summary: 已使用优惠卷查询
  23790. tags:
  23791. - 定制【海商报业】
  23792. /HSBY/QueryProvincesAndCities:
  23793. get:
  23794. description: 查询结果只包括二级市场商品已关连的省市信息。
  23795. parameters:
  23796. - description: 省ID
  23797. in: query
  23798. name: provinceID
  23799. type: integer
  23800. produces:
  23801. - application/json
  23802. responses:
  23803. "200":
  23804. description: OK
  23805. schema:
  23806. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23807. "500":
  23808. description: Internal Server Error
  23809. schema:
  23810. $ref: '#/definitions/app.Response'
  23811. security:
  23812. - ApiKeyAuth: []
  23813. summary: 查询省市信息(不包括区)
  23814. tags:
  23815. - 定制【海商报业】
  23816. /HSBY/SetHsbyMyPackagesStatus:
  23817. post:
  23818. parameters:
  23819. - description: 提货单号
  23820. in: query
  23821. name: takeOrderID
  23822. required: true
  23823. type: string
  23824. - description: 资金账号
  23825. in: query
  23826. name: accountID
  23827. required: true
  23828. type: integer
  23829. produces:
  23830. - application/json
  23831. responses:
  23832. "200":
  23833. description: OK
  23834. schema:
  23835. $ref: '#/definitions/app.Response'
  23836. "500":
  23837. description: Internal Server Error
  23838. schema:
  23839. $ref: '#/definitions/app.Response'
  23840. security:
  23841. - ApiKeyAuth: []
  23842. summary: 设置我的包裹已收货状态
  23843. tags:
  23844. - 定制【海商报业】
  23845. /Market/GetAllExExchanges:
  23846. get:
  23847. produces:
  23848. - application/json
  23849. responses:
  23850. "200":
  23851. description: OK
  23852. schema:
  23853. $ref: '#/definitions/models.Goods'
  23854. "500":
  23855. description: Internal Server Error
  23856. schema:
  23857. $ref: '#/definitions/app.Response'
  23858. security:
  23859. - ApiKeyAuth: []
  23860. summary: 获取所有外部交易所信息
  23861. tags:
  23862. - 通用市场
  23863. /Market/QueryGoodsesByLoginID:
  23864. get:
  23865. parameters:
  23866. - description: 登录账号
  23867. in: query
  23868. name: loginID
  23869. required: true
  23870. type: integer
  23871. - description: 市场ID列表,格式:1,2,3
  23872. in: query
  23873. name: marketIDs
  23874. type: string
  23875. produces:
  23876. - application/json
  23877. responses:
  23878. "200":
  23879. description: OK
  23880. schema:
  23881. $ref: '#/definitions/models.Goods'
  23882. "500":
  23883. description: Internal Server Error
  23884. schema:
  23885. $ref: '#/definitions/app.Response'
  23886. security:
  23887. - ApiKeyAuth: []
  23888. summary: 获取登录账号有权限的商品信息
  23889. tags:
  23890. - 通用市场
  23891. /Market/QueryMarketRun:
  23892. get:
  23893. parameters:
  23894. - description: 市场ID,不传返回所有
  23895. in: query
  23896. name: marketID
  23897. type: integer
  23898. produces:
  23899. - application/json
  23900. responses:
  23901. "200":
  23902. description: OK
  23903. schema:
  23904. $ref: '#/definitions/models.Marketrun'
  23905. "500":
  23906. description: Internal Server Error
  23907. schema:
  23908. $ref: '#/definitions/app.Response'
  23909. security:
  23910. - ApiKeyAuth: []
  23911. summary: 查询市场运行信息
  23912. tags:
  23913. - 通用市场
  23914. /Market/QueryMarketsByLoginID:
  23915. get:
  23916. parameters:
  23917. - description: 登录账号
  23918. in: query
  23919. name: loginID
  23920. required: true
  23921. type: integer
  23922. produces:
  23923. - application/json
  23924. responses:
  23925. "200":
  23926. description: OK
  23927. schema:
  23928. $ref: '#/definitions/models.Market'
  23929. "500":
  23930. description: Internal Server Error
  23931. schema:
  23932. $ref: '#/definitions/app.Response'
  23933. security:
  23934. - ApiKeyAuth: []
  23935. summary: 获取登录账号有权限的市场信息
  23936. tags:
  23937. - 通用市场
  23938. /Order/QueryHisTradeDetail:
  23939. get:
  23940. parameters:
  23941. - description: 资金账户 - 格式:1,2,3
  23942. in: query
  23943. name: accountID
  23944. required: true
  23945. type: string
  23946. - description: 成交单号
  23947. in: query
  23948. name: tradeID
  23949. type: integer
  23950. - description: 委托单号
  23951. in: query
  23952. name: orderID
  23953. type: integer
  23954. - description: 商品ID
  23955. in: query
  23956. name: goodsID
  23957. type: integer
  23958. - description: 交易模式 - 格式:1,2,3
  23959. in: query
  23960. name: tradeMode
  23961. type: string
  23962. - description: 委托单据类型
  23963. in: query
  23964. name: buildType
  23965. type: integer
  23966. - description: 成交类别 - 格式:1,2,3
  23967. in: query
  23968. name: tradeType
  23969. type: string
  23970. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23971. in: query
  23972. name: startDate
  23973. type: string
  23974. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23975. in: query
  23976. name: endDate
  23977. type: string
  23978. produces:
  23979. - application/json
  23980. responses:
  23981. "200":
  23982. description: OK
  23983. schema:
  23984. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23985. "500":
  23986. description: Internal Server Error
  23987. schema:
  23988. $ref: '#/definitions/app.Response'
  23989. security:
  23990. - ApiKeyAuth: []
  23991. summary: 历史成交单查询(合约市场)
  23992. tags:
  23993. - 通用单据
  23994. /Order/QueryHisTradeOrderDetail:
  23995. get:
  23996. parameters:
  23997. - description: 资金账户 - 格式:1,2,3
  23998. in: query
  23999. name: accountID
  24000. required: true
  24001. type: string
  24002. - description: 交易模式 - 格式:1,2,3
  24003. in: query
  24004. name: tradeMode
  24005. type: string
  24006. - description: 委托状态 - 格式:1,2,3
  24007. in: query
  24008. name: orderStatus
  24009. type: string
  24010. - description: 委托单号
  24011. in: query
  24012. name: orderID
  24013. type: integer
  24014. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24015. in: query
  24016. name: startDate
  24017. type: string
  24018. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24019. in: query
  24020. name: endDate
  24021. type: string
  24022. produces:
  24023. - application/json
  24024. responses:
  24025. "200":
  24026. description: OK
  24027. schema:
  24028. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24029. "500":
  24030. description: Internal Server Error
  24031. schema:
  24032. $ref: '#/definitions/app.Response'
  24033. security:
  24034. - ApiKeyAuth: []
  24035. summary: 历史委托单查询请求(合约市场)
  24036. tags:
  24037. - 通用单据
  24038. /Order/QueryTradeDetail:
  24039. get:
  24040. parameters:
  24041. - description: 资金账户 - 格式:1,2,3
  24042. in: query
  24043. name: accountID
  24044. required: true
  24045. type: string
  24046. - description: 成交单号
  24047. in: query
  24048. name: tradeID
  24049. type: integer
  24050. - description: 委托单号
  24051. in: query
  24052. name: orderID
  24053. type: integer
  24054. - description: 交易模式 - 格式:1,2,3
  24055. in: query
  24056. name: tradeMode
  24057. type: string
  24058. - description: 委托单据类型
  24059. in: query
  24060. name: buildType
  24061. type: integer
  24062. - description: 成交类别 - 格式:1,2,3
  24063. in: query
  24064. name: tradeType
  24065. type: string
  24066. - description: 商品ID
  24067. in: query
  24068. name: goodsID
  24069. type: integer
  24070. produces:
  24071. - application/json
  24072. responses:
  24073. "200":
  24074. description: OK
  24075. schema:
  24076. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24077. "500":
  24078. description: Internal Server Error
  24079. schema:
  24080. $ref: '#/definitions/app.Response'
  24081. security:
  24082. - ApiKeyAuth: []
  24083. summary: 成交单查询(合约市场)
  24084. tags:
  24085. - 通用单据
  24086. /Order/QueryTradeHolderDetail:
  24087. get:
  24088. parameters:
  24089. - description: 用户id
  24090. in: query
  24091. name: userid
  24092. type: integer
  24093. - description: 资金账号, 格式 1,2,3
  24094. in: query
  24095. name: accids
  24096. type: string
  24097. - description: 交易模式, 格式 1,2,3
  24098. in: query
  24099. name: trademodes
  24100. type: string
  24101. - description: 市场id, 格式 1,2,3
  24102. in: query
  24103. name: marketids
  24104. type: string
  24105. - description: 商品id
  24106. in: query
  24107. name: goodsid
  24108. type: integer
  24109. - description: 买卖方向 0-买 1-卖
  24110. in: query
  24111. name: buyorsell
  24112. type: integer
  24113. produces:
  24114. - application/json
  24115. responses:
  24116. "200":
  24117. description: OK
  24118. schema:
  24119. items:
  24120. $ref: '#/definitions/models.TradeHolderDetail'
  24121. type: array
  24122. "500":
  24123. description: Internal Server Error
  24124. schema:
  24125. $ref: '#/definitions/app.Response'
  24126. security:
  24127. - ApiKeyAuth: []
  24128. summary: 查询持仓明细
  24129. tags:
  24130. - 通用单据
  24131. /Order/QueryTradeOrderDetail:
  24132. get:
  24133. parameters:
  24134. - description: 资金账户 - 格式:1,2,3
  24135. in: query
  24136. name: accountID
  24137. required: true
  24138. type: string
  24139. - description: 交易模式 - 格式:1,2,3
  24140. in: query
  24141. name: tradeMode
  24142. type: string
  24143. - description: 委托状态 - 格式:1,2,3
  24144. in: query
  24145. name: orderStatus
  24146. type: string
  24147. - description: 委托单号
  24148. in: query
  24149. name: orderID
  24150. type: integer
  24151. produces:
  24152. - application/json
  24153. responses:
  24154. "200":
  24155. description: OK
  24156. schema:
  24157. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24158. "500":
  24159. description: Internal Server Error
  24160. schema:
  24161. $ref: '#/definitions/app.Response'
  24162. security:
  24163. - ApiKeyAuth: []
  24164. summary: 委托单查询请求(合约市场)
  24165. tags:
  24166. - 通用单据
  24167. /Order/QueryTradePosition:
  24168. get:
  24169. parameters:
  24170. - description: 资金账户 - 格式:1,2,3
  24171. in: query
  24172. name: accountID
  24173. required: true
  24174. type: string
  24175. - description: 交易模式 - 格式:1,2,3
  24176. in: query
  24177. name: tradeMode
  24178. type: string
  24179. produces:
  24180. - application/json
  24181. responses:
  24182. "200":
  24183. description: OK
  24184. schema:
  24185. $ref: '#/definitions/order.QueryTradePositionRsp'
  24186. "500":
  24187. description: Internal Server Error
  24188. schema:
  24189. $ref: '#/definitions/app.Response'
  24190. security:
  24191. - ApiKeyAuth: []
  24192. summary: 持仓汇总查询(合约市场)
  24193. tags:
  24194. - 通用单据
  24195. /Qhj/QueryAccountInOutApply:
  24196. get:
  24197. parameters:
  24198. - description: 用户ID
  24199. in: query
  24200. name: userid
  24201. required: true
  24202. type: integer
  24203. - description: 申请起始日期(格式yyyymmdd)
  24204. in: query
  24205. name: begindate
  24206. type: string
  24207. - description: 申请截止日期(格式yyyymmdd)
  24208. in: query
  24209. name: enddate
  24210. type: string
  24211. - description: 模糊搜索名称
  24212. in: query
  24213. name: likename
  24214. type: string
  24215. produces:
  24216. - application/json
  24217. responses:
  24218. "200":
  24219. description: OK
  24220. schema:
  24221. items:
  24222. $ref: '#/definitions/models.QhjAccountOutInApply'
  24223. type: array
  24224. "500":
  24225. description: Internal Server Error
  24226. schema:
  24227. $ref: '#/definitions/app.Response'
  24228. security:
  24229. - ApiKeyAuth: []
  24230. summary: 查询充值提现
  24231. tags:
  24232. - 大连千海金
  24233. /Qhj/QueryAreaFinanceConfig:
  24234. get:
  24235. parameters:
  24236. - description: 机构用户ID 其他做市关系,都设置为 1
  24237. in: query
  24238. name: userid
  24239. type: integer
  24240. produces:
  24241. - application/json
  24242. responses:
  24243. "200":
  24244. description: OK
  24245. schema:
  24246. items:
  24247. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24248. type: array
  24249. "500":
  24250. description: Internal Server Error
  24251. schema:
  24252. $ref: '#/definitions/app.Response'
  24253. security:
  24254. - ApiKeyAuth: []
  24255. summary: 查询企业配置表
  24256. tags:
  24257. - 大连千海金
  24258. /Qhj/QueryBankAccountSign:
  24259. get:
  24260. parameters:
  24261. - description: 用户ID
  24262. in: query
  24263. name: userid
  24264. required: true
  24265. type: integer
  24266. produces:
  24267. - application/json
  24268. responses:
  24269. "200":
  24270. description: OK
  24271. schema:
  24272. items:
  24273. $ref: '#/definitions/models.QhjBankAccountSign'
  24274. type: array
  24275. "500":
  24276. description: Internal Server Error
  24277. schema:
  24278. $ref: '#/definitions/app.Response'
  24279. security:
  24280. - ApiKeyAuth: []
  24281. summary: 查询签约银行信息(提现账户管理)
  24282. tags:
  24283. - 大连千海金
  24284. /Qhj/QueryBankInfo:
  24285. get:
  24286. produces:
  24287. - application/json
  24288. responses:
  24289. "200":
  24290. description: OK
  24291. schema:
  24292. items:
  24293. $ref: '#/definitions/models.QhjBankInfo'
  24294. type: array
  24295. "500":
  24296. description: Internal Server Error
  24297. schema:
  24298. $ref: '#/definitions/app.Response'
  24299. security:
  24300. - ApiKeyAuth: []
  24301. summary: 查询开户行
  24302. tags:
  24303. - 大连千海金
  24304. /Qhj/QueryBrokerApply:
  24305. get:
  24306. parameters:
  24307. - description: 所属机构ID
  24308. in: query
  24309. name: userid
  24310. type: integer
  24311. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24312. in: query
  24313. name: filterstatus
  24314. type: string
  24315. produces:
  24316. - application/json
  24317. responses:
  24318. "200":
  24319. description: OK
  24320. schema:
  24321. items:
  24322. $ref: '#/definitions/models.QhjBrokerApply'
  24323. type: array
  24324. "500":
  24325. description: Internal Server Error
  24326. schema:
  24327. $ref: '#/definitions/app.Response'
  24328. security:
  24329. - ApiKeyAuth: []
  24330. summary: 查询经纪人申请
  24331. tags:
  24332. - 大连千海金
  24333. /Qhj/QueryBrokerApplyEx:
  24334. get:
  24335. parameters:
  24336. - description: 所属机构ID
  24337. in: query
  24338. name: userid
  24339. type: integer
  24340. produces:
  24341. - application/json
  24342. responses:
  24343. "200":
  24344. description: OK
  24345. schema:
  24346. items:
  24347. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24348. type: array
  24349. "500":
  24350. description: Internal Server Error
  24351. schema:
  24352. $ref: '#/definitions/app.Response'
  24353. security:
  24354. - ApiKeyAuth: []
  24355. summary: 查询经纪人信息和申请记录
  24356. tags:
  24357. - 大连千海金
  24358. /Qhj/QueryBrokerRewardLog:
  24359. get:
  24360. parameters:
  24361. - description: 用户ID
  24362. in: query
  24363. name: userid
  24364. required: true
  24365. type: integer
  24366. - description: 开始交易日(yyyymmdd)
  24367. in: query
  24368. name: begindate
  24369. type: string
  24370. - description: 结束交易日(yyyymmdd)
  24371. in: query
  24372. name: enddate
  24373. type: string
  24374. produces:
  24375. - application/json
  24376. responses:
  24377. "200":
  24378. description: OK
  24379. schema:
  24380. items:
  24381. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24382. type: array
  24383. "500":
  24384. description: Internal Server Error
  24385. schema:
  24386. $ref: '#/definitions/app.Response'
  24387. security:
  24388. - ApiKeyAuth: []
  24389. summary: 查询奖励流水(我的奖励)
  24390. tags:
  24391. - 大连千海金
  24392. /Qhj/QueryContract:
  24393. get:
  24394. parameters:
  24395. - description: 用户ID
  24396. in: query
  24397. name: userid
  24398. type: integer
  24399. - description: scf合同id
  24400. in: query
  24401. name: scfcontractid
  24402. type: integer
  24403. produces:
  24404. - application/json
  24405. responses:
  24406. "200":
  24407. description: OK
  24408. schema:
  24409. items:
  24410. $ref: '#/definitions/models.QhjContract'
  24411. type: array
  24412. "500":
  24413. description: Internal Server Error
  24414. schema:
  24415. $ref: '#/definitions/app.Response'
  24416. security:
  24417. - ApiKeyAuth: []
  24418. summary: 查询融资明细(合同)
  24419. tags:
  24420. - 大连千海金
  24421. /Qhj/QueryContractLog:
  24422. get:
  24423. parameters:
  24424. - description: scf合同id
  24425. in: query
  24426. name: scfcontractid
  24427. required: true
  24428. type: integer
  24429. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24430. in: query
  24431. name: amounttype
  24432. type: string
  24433. produces:
  24434. - application/json
  24435. responses:
  24436. "200":
  24437. description: OK
  24438. schema:
  24439. items:
  24440. $ref: '#/definitions/models.QhjContractLog'
  24441. type: array
  24442. "500":
  24443. description: Internal Server Error
  24444. schema:
  24445. $ref: '#/definitions/app.Response'
  24446. security:
  24447. - ApiKeyAuth: []
  24448. summary: 查询融资明细流水(融资明细详情页中的流水)
  24449. tags:
  24450. - 大连千海金
  24451. /Qhj/QueryCusBankSignBank:
  24452. get:
  24453. produces:
  24454. - application/json
  24455. responses:
  24456. "200":
  24457. description: OK
  24458. schema:
  24459. items:
  24460. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24461. type: array
  24462. "500":
  24463. description: Internal Server Error
  24464. schema:
  24465. $ref: '#/definitions/app.Response'
  24466. security:
  24467. - ApiKeyAuth: []
  24468. summary: 查询托管银行
  24469. tags:
  24470. - 大连千海金
  24471. /Qhj/QueryCustomerInfo:
  24472. get:
  24473. parameters:
  24474. - description: 用户ID
  24475. in: query
  24476. name: userid
  24477. required: true
  24478. type: integer
  24479. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24480. in: query
  24481. name: querytype
  24482. required: true
  24483. type: integer
  24484. - description: 客户类型 1-个人 2-企业
  24485. in: query
  24486. name: userinfotype
  24487. type: integer
  24488. - description: 客户名称(模糊匹配)
  24489. in: query
  24490. name: customername
  24491. type: string
  24492. - description: 昵称(模糊匹配)
  24493. in: query
  24494. name: nickname
  24495. type: string
  24496. - description: 是否包含子级 1-包含
  24497. in: query
  24498. name: includesub
  24499. type: integer
  24500. produces:
  24501. - application/json
  24502. responses:
  24503. "200":
  24504. description: OK
  24505. schema:
  24506. items:
  24507. $ref: '#/definitions/models.QhjCustomer'
  24508. type: array
  24509. "500":
  24510. description: Internal Server Error
  24511. schema:
  24512. $ref: '#/definitions/app.Response'
  24513. security:
  24514. - ApiKeyAuth: []
  24515. summary: 查询客户资料
  24516. tags:
  24517. - 大连千海金
  24518. /Qhj/QueryGoodsEx:
  24519. get:
  24520. parameters:
  24521. - description: 商品id
  24522. in: query
  24523. name: goodsid
  24524. type: integer
  24525. produces:
  24526. - application/json
  24527. responses:
  24528. "200":
  24529. description: OK
  24530. schema:
  24531. items:
  24532. $ref: '#/definitions/models.Qhjgoodsex'
  24533. type: array
  24534. "500":
  24535. description: Internal Server Error
  24536. schema:
  24537. $ref: '#/definitions/app.Response'
  24538. security:
  24539. - ApiKeyAuth: []
  24540. summary: 交易商品扩展表
  24541. tags:
  24542. - 大连千海金
  24543. /Qhj/QueryMyTeam:
  24544. get:
  24545. parameters:
  24546. - description: 用户ID
  24547. in: query
  24548. name: userid
  24549. required: true
  24550. type: integer
  24551. produces:
  24552. - application/json
  24553. responses:
  24554. "200":
  24555. description: OK
  24556. schema:
  24557. items:
  24558. $ref: '#/definitions/models.QhjMyTeamEx'
  24559. type: array
  24560. "500":
  24561. description: Internal Server Error
  24562. schema:
  24563. $ref: '#/definitions/app.Response'
  24564. security:
  24565. - ApiKeyAuth: []
  24566. summary: 查询我的团队
  24567. tags:
  24568. - 大连千海金
  24569. /Qhj/QueryMyTeamOrder:
  24570. get:
  24571. parameters:
  24572. - description: 页码
  24573. in: query
  24574. name: page
  24575. type: integer
  24576. - description: 每页条数
  24577. in: query
  24578. name: pagesize
  24579. type: integer
  24580. - description: 用户ID
  24581. in: query
  24582. name: userid
  24583. required: true
  24584. type: integer
  24585. - description: 交易模式
  24586. in: query
  24587. name: trademode
  24588. type: integer
  24589. - description: 名称(模糊搜索账户)
  24590. in: query
  24591. name: filtername
  24592. type: string
  24593. produces:
  24594. - application/json
  24595. responses:
  24596. "200":
  24597. description: OK
  24598. schema:
  24599. items:
  24600. $ref: '#/definitions/models.QhjTeamOrder'
  24601. type: array
  24602. "500":
  24603. description: Internal Server Error
  24604. schema:
  24605. $ref: '#/definitions/app.Response'
  24606. security:
  24607. - ApiKeyAuth: []
  24608. summary: 查询团队订单(我的团队/团队订单)
  24609. tags:
  24610. - 大连千海金
  24611. /Qhj/QueryParentAreaList:
  24612. get:
  24613. parameters:
  24614. - description: 用户ID
  24615. in: query
  24616. name: userid
  24617. required: true
  24618. type: integer
  24619. produces:
  24620. - application/json
  24621. responses:
  24622. "200":
  24623. description: OK
  24624. schema:
  24625. items:
  24626. $ref: '#/definitions/models.QhjParentAreaList'
  24627. type: array
  24628. "500":
  24629. description: Internal Server Error
  24630. schema:
  24631. $ref: '#/definitions/app.Response'
  24632. security:
  24633. - ApiKeyAuth: []
  24634. summary: 查询所属机构列表
  24635. tags:
  24636. - 大连千海金
  24637. /Qhj/QueryPayOrder:
  24638. get:
  24639. parameters:
  24640. - description: 资金账号id
  24641. in: query
  24642. name: accountid
  24643. required: true
  24644. type: integer
  24645. - description: 成交单号
  24646. in: query
  24647. name: tradeid
  24648. type: integer
  24649. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24650. in: query
  24651. name: payflag
  24652. type: string
  24653. produces:
  24654. - application/json
  24655. responses:
  24656. "200":
  24657. description: OK
  24658. schema:
  24659. items:
  24660. $ref: '#/definitions/models.QhjPayOrder'
  24661. type: array
  24662. "500":
  24663. description: Internal Server Error
  24664. schema:
  24665. $ref: '#/definitions/app.Response'
  24666. security:
  24667. - ApiKeyAuth: []
  24668. summary: 查询待付款单据
  24669. tags:
  24670. - 大连千海金
  24671. /Qhj/QueryPickArea:
  24672. get:
  24673. parameters:
  24674. - description: 用户ID
  24675. in: query
  24676. name: userid
  24677. type: integer
  24678. produces:
  24679. - application/json
  24680. responses:
  24681. "200":
  24682. description: OK
  24683. schema:
  24684. items:
  24685. $ref: '#/definitions/models.QhjPickArea'
  24686. type: array
  24687. "500":
  24688. description: Internal Server Error
  24689. schema:
  24690. $ref: '#/definitions/app.Response'
  24691. security:
  24692. - ApiKeyAuth: []
  24693. summary: 查询提货门店
  24694. tags:
  24695. - 大连千海金
  24696. /Qhj/QueryPickGoods:
  24697. get:
  24698. parameters:
  24699. - description: 交易商品id
  24700. in: query
  24701. name: goodsid
  24702. required: true
  24703. type: integer
  24704. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24705. in: query
  24706. name: status
  24707. type: string
  24708. produces:
  24709. - application/json
  24710. responses:
  24711. "200":
  24712. description: OK
  24713. schema:
  24714. items:
  24715. $ref: '#/definitions/models.QhjPickGoods'
  24716. type: array
  24717. "500":
  24718. description: Internal Server Error
  24719. schema:
  24720. $ref: '#/definitions/app.Response'
  24721. security:
  24722. - ApiKeyAuth: []
  24723. summary: 查询提货商品
  24724. tags:
  24725. - 大连千海金
  24726. /Qhj/QueryRSTriggerLog:
  24727. get:
  24728. parameters:
  24729. - description: 用户ID
  24730. in: query
  24731. name: userid
  24732. type: integer
  24733. - description: 定投策略id
  24734. in: query
  24735. name: regularlystrategyid
  24736. type: integer
  24737. - description: 商品id
  24738. in: query
  24739. name: goodsid
  24740. type: integer
  24741. - description: 开始交易日(yyyymmdd)
  24742. in: query
  24743. name: begindate
  24744. type: string
  24745. - description: 结束交易日(yyyymmdd)
  24746. in: query
  24747. name: enddate
  24748. type: string
  24749. - description: 名称(模糊搜索账户)
  24750. in: query
  24751. name: filtername
  24752. type: string
  24753. produces:
  24754. - application/json
  24755. responses:
  24756. "200":
  24757. description: OK
  24758. schema:
  24759. items:
  24760. $ref: '#/definitions/models.QhjRSTriggerLog'
  24761. type: array
  24762. "500":
  24763. description: Internal Server Error
  24764. schema:
  24765. $ref: '#/definitions/app.Response'
  24766. security:
  24767. - ApiKeyAuth: []
  24768. summary: 查询定投记录(定投管理/详情/定投记录)
  24769. tags:
  24770. - 大连千海金
  24771. /Qhj/QueryRStrategy:
  24772. get:
  24773. parameters:
  24774. - description: 用户ID
  24775. in: query
  24776. name: userid
  24777. type: integer
  24778. - description: 商品id
  24779. in: query
  24780. name: goodsid
  24781. type: integer
  24782. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24783. in: query
  24784. name: status
  24785. type: string
  24786. - description: 名称(模糊搜索账户)
  24787. in: query
  24788. name: filtername
  24789. type: string
  24790. produces:
  24791. - application/json
  24792. responses:
  24793. "200":
  24794. description: OK
  24795. schema:
  24796. items:
  24797. $ref: '#/definitions/models.QhjRStrategy'
  24798. type: array
  24799. "500":
  24800. description: Internal Server Error
  24801. schema:
  24802. $ref: '#/definitions/app.Response'
  24803. security:
  24804. - ApiKeyAuth: []
  24805. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24806. tags:
  24807. - 大连千海金
  24808. /Qhj/QueryReckonPriceLog:
  24809. get:
  24810. parameters:
  24811. - description: 商品ID
  24812. in: query
  24813. name: goodsid
  24814. type: integer
  24815. - description: 交易日 格式(yyyymmdd)
  24816. in: query
  24817. name: tradedate
  24818. type: string
  24819. produces:
  24820. - application/json
  24821. responses:
  24822. "200":
  24823. description: OK
  24824. schema:
  24825. items:
  24826. $ref: '#/definitions/models.QhjReckonPriceLog'
  24827. type: array
  24828. "500":
  24829. description: Internal Server Error
  24830. schema:
  24831. $ref: '#/definitions/app.Response'
  24832. security:
  24833. - ApiKeyAuth: []
  24834. summary: 查询定投价(结算价)
  24835. tags:
  24836. - 大连千海金
  24837. /Qhj/QueryScoreLog:
  24838. get:
  24839. parameters:
  24840. - description: 用户ID
  24841. in: query
  24842. name: userid
  24843. required: true
  24844. type: integer
  24845. - description: 开始交易日(yyyymmdd)
  24846. in: query
  24847. name: begindate
  24848. type: string
  24849. - description: 结束交易日(yyyymmdd)
  24850. in: query
  24851. name: enddate
  24852. type: string
  24853. - description: 最近多少条
  24854. in: query
  24855. name: lastnum
  24856. type: integer
  24857. produces:
  24858. - application/json
  24859. responses:
  24860. "200":
  24861. description: OK
  24862. schema:
  24863. items:
  24864. $ref: '#/definitions/models.QhjScoreLog'
  24865. type: array
  24866. "500":
  24867. description: Internal Server Error
  24868. schema:
  24869. $ref: '#/definitions/app.Response'
  24870. security:
  24871. - ApiKeyAuth: []
  24872. summary: 查询积分流水(我的积分)
  24873. tags:
  24874. - 大连千海金
  24875. /Qhj/QuerySiteColumnDetail:
  24876. get:
  24877. parameters:
  24878. - description: 用户ID
  24879. in: query
  24880. name: userid
  24881. required: true
  24882. type: integer
  24883. produces:
  24884. - application/json
  24885. responses:
  24886. "200":
  24887. description: OK
  24888. schema:
  24889. items:
  24890. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24891. type: array
  24892. "500":
  24893. description: Internal Server Error
  24894. schema:
  24895. $ref: '#/definitions/app.Response'
  24896. security:
  24897. - ApiKeyAuth: []
  24898. summary: 查询资讯
  24899. tags:
  24900. - 大连千海金
  24901. /Qhj/QueryTradeGoodsPickup:
  24902. get:
  24903. parameters:
  24904. - description: 用户ID
  24905. in: query
  24906. name: userid
  24907. required: true
  24908. type: integer
  24909. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24910. in: query
  24911. name: takeorderstatus
  24912. type: integer
  24913. produces:
  24914. - application/json
  24915. responses:
  24916. "200":
  24917. description: OK
  24918. schema:
  24919. items:
  24920. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24921. type: array
  24922. "500":
  24923. description: Internal Server Error
  24924. schema:
  24925. $ref: '#/definitions/app.Response'
  24926. security:
  24927. - ApiKeyAuth: []
  24928. summary: 查询提货
  24929. tags:
  24930. - 大连千海金
  24931. /Qhj/QueryUserCollectConfig:
  24932. get:
  24933. parameters:
  24934. - description: 用户ID
  24935. in: query
  24936. name: userid
  24937. required: true
  24938. type: integer
  24939. produces:
  24940. - application/json
  24941. responses:
  24942. "200":
  24943. description: OK
  24944. schema:
  24945. items:
  24946. $ref: '#/definitions/models.UserCollectConfig'
  24947. type: array
  24948. "500":
  24949. description: Internal Server Error
  24950. schema:
  24951. $ref: '#/definitions/app.Response'
  24952. security:
  24953. - ApiKeyAuth: []
  24954. summary: 查询提现账户设置
  24955. tags:
  24956. - 大连千海金
  24957. /Qhj/QueryUserReceiveInfo:
  24958. get:
  24959. parameters:
  24960. - description: 用户ID
  24961. in: query
  24962. name: userid
  24963. required: true
  24964. type: integer
  24965. produces:
  24966. - application/json
  24967. responses:
  24968. "200":
  24969. description: OK
  24970. schema:
  24971. items:
  24972. $ref: '#/definitions/models.UserReceiveInfo'
  24973. type: array
  24974. "500":
  24975. description: Internal Server Error
  24976. schema:
  24977. $ref: '#/definitions/app.Response'
  24978. security:
  24979. - ApiKeyAuth: []
  24980. summary: 查询收货地址信息
  24981. tags:
  24982. - 大连千海金
  24983. /QhjMgr/QueryAccountInOutApply:
  24984. get:
  24985. parameters:
  24986. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24987. in: query
  24988. name: querytype
  24989. required: true
  24990. type: integer
  24991. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24992. in: query
  24993. name: applystatus
  24994. type: integer
  24995. - description: 申请起始日期(格式yyyymmdd)
  24996. in: query
  24997. name: begindate
  24998. type: string
  24999. - description: 申请截止日期(格式yyyymmdd)
  25000. in: query
  25001. name: enddate
  25002. type: string
  25003. - description: 模糊搜索名称
  25004. in: query
  25005. name: likename
  25006. type: string
  25007. produces:
  25008. - application/json
  25009. responses:
  25010. "200":
  25011. description: OK
  25012. schema:
  25013. items:
  25014. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25015. type: array
  25016. "500":
  25017. description: Internal Server Error
  25018. schema:
  25019. $ref: '#/definitions/app.Response'
  25020. security:
  25021. - ApiKeyAuth: []
  25022. summary: 查询充值提现
  25023. tags:
  25024. - 大连千海金(PCWeb)
  25025. /QhjMgr/QueryBrokerApply:
  25026. get:
  25027. parameters:
  25028. - description: 所属机构ID
  25029. in: query
  25030. name: userid
  25031. type: integer
  25032. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25033. in: query
  25034. name: filterstatus
  25035. type: string
  25036. - description: 名称(模糊匹配)
  25037. in: query
  25038. name: filtername
  25039. type: string
  25040. - description: 是否包含子级 1-包含
  25041. in: query
  25042. name: includesub
  25043. type: integer
  25044. produces:
  25045. - application/json
  25046. responses:
  25047. "200":
  25048. description: OK
  25049. schema:
  25050. items:
  25051. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25052. type: array
  25053. "500":
  25054. description: Internal Server Error
  25055. schema:
  25056. $ref: '#/definitions/app.Response'
  25057. security:
  25058. - ApiKeyAuth: []
  25059. summary: 查询经纪人申请
  25060. tags:
  25061. - 大连千海金(PCWeb)
  25062. /QhjMgr/QueryBrokerRewardReport:
  25063. get:
  25064. parameters:
  25065. - description: 所属机构ID
  25066. in: query
  25067. name: userid
  25068. required: true
  25069. type: integer
  25070. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25071. in: query
  25072. name: cycletype
  25073. required: true
  25074. type: integer
  25075. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25076. in: query
  25077. name: cycletime
  25078. required: true
  25079. type: string
  25080. - description: 名称(模糊匹配)
  25081. in: query
  25082. name: filtername
  25083. type: string
  25084. - description: 是否包含子级 1-包含
  25085. in: query
  25086. name: includesub
  25087. type: integer
  25088. produces:
  25089. - application/json
  25090. responses:
  25091. "200":
  25092. description: OK
  25093. schema:
  25094. items:
  25095. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25096. type: array
  25097. "500":
  25098. description: Internal Server Error
  25099. schema:
  25100. $ref: '#/definitions/app.Response'
  25101. security:
  25102. - ApiKeyAuth: []
  25103. summary: 查询经纪人奖励报表(废弃)
  25104. tags:
  25105. - 大连千海金(PCWeb)
  25106. /QhjMgr/QueryContract:
  25107. get:
  25108. parameters:
  25109. - description: 用户ID
  25110. in: query
  25111. name: userid
  25112. type: integer
  25113. - description: 商品id
  25114. in: query
  25115. name: goodsid
  25116. type: integer
  25117. - description: 名称(模糊搜索账户)
  25118. in: query
  25119. name: filtername
  25120. type: string
  25121. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25122. in: query
  25123. name: risklevel
  25124. type: string
  25125. - description: 开始交易日(yyyymmdd)
  25126. in: query
  25127. name: begindate
  25128. type: string
  25129. - description: 结束交易日(yyyymmdd)
  25130. in: query
  25131. name: enddate
  25132. type: string
  25133. produces:
  25134. - application/json
  25135. responses:
  25136. "200":
  25137. description: OK
  25138. schema:
  25139. items:
  25140. $ref: '#/definitions/models.QhjMgrContract'
  25141. type: array
  25142. "500":
  25143. description: Internal Server Error
  25144. schema:
  25145. $ref: '#/definitions/app.Response'
  25146. security:
  25147. - ApiKeyAuth: []
  25148. summary: 查询融资信息(合同)
  25149. tags:
  25150. - 大连千海金(PCWeb)
  25151. /QhjMgr/QueryCustomerInfo:
  25152. get:
  25153. parameters:
  25154. - description: 用户ID
  25155. in: query
  25156. name: userid
  25157. required: true
  25158. type: integer
  25159. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25160. in: query
  25161. name: querytype
  25162. required: true
  25163. type: integer
  25164. - description: 客户类型 1-个人 2-企业
  25165. in: query
  25166. name: userinfotype
  25167. type: integer
  25168. - description: 客户名称(模糊匹配)
  25169. in: query
  25170. name: customername
  25171. type: string
  25172. - description: 昵称(模糊匹配)
  25173. in: query
  25174. name: nickname
  25175. type: string
  25176. - description: 所属客户经理(模糊匹配)
  25177. in: query
  25178. name: brokername
  25179. type: string
  25180. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  25181. in: query
  25182. name: birthday
  25183. type: string
  25184. - description: 是否包含子级 1-包含
  25185. in: query
  25186. name: includesub
  25187. type: integer
  25188. produces:
  25189. - application/json
  25190. responses:
  25191. "200":
  25192. description: OK
  25193. schema:
  25194. items:
  25195. $ref: '#/definitions/models.QhjMgrCustomer'
  25196. type: array
  25197. "500":
  25198. description: Internal Server Error
  25199. schema:
  25200. $ref: '#/definitions/app.Response'
  25201. security:
  25202. - ApiKeyAuth: []
  25203. summary: 查询客户资料
  25204. tags:
  25205. - 大连千海金(PCWeb)
  25206. /QhjMgr/QueryPickGoods:
  25207. get:
  25208. parameters:
  25209. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25210. in: query
  25211. name: status
  25212. type: string
  25213. produces:
  25214. - application/json
  25215. responses:
  25216. "200":
  25217. description: OK
  25218. schema:
  25219. items:
  25220. $ref: '#/definitions/models.QhjMgrPickGoods'
  25221. type: array
  25222. "500":
  25223. description: Internal Server Error
  25224. schema:
  25225. $ref: '#/definitions/app.Response'
  25226. security:
  25227. - ApiKeyAuth: []
  25228. summary: 查询提货商品
  25229. tags:
  25230. - 大连千海金(PCWeb)
  25231. /QhjMgr/QuerySubArea:
  25232. get:
  25233. parameters:
  25234. - description: 用户ID
  25235. in: query
  25236. name: userid
  25237. required: true
  25238. type: integer
  25239. produces:
  25240. - application/json
  25241. responses:
  25242. "200":
  25243. description: OK
  25244. schema:
  25245. items:
  25246. $ref: '#/definitions/models.QhjMgrSubArea'
  25247. type: array
  25248. "500":
  25249. description: Internal Server Error
  25250. schema:
  25251. $ref: '#/definitions/app.Response'
  25252. security:
  25253. - ApiKeyAuth: []
  25254. summary: 查询子机构列表
  25255. tags:
  25256. - 大连千海金(PCWeb)
  25257. /QhjMgr/QueryTradeDetail:
  25258. get:
  25259. parameters:
  25260. - description: 用户ID
  25261. in: query
  25262. name: userid
  25263. required: true
  25264. type: integer
  25265. - description: 用户类型 1-个人 2-企业
  25266. in: query
  25267. name: userinfotype
  25268. type: integer
  25269. - description: 交易模式
  25270. in: query
  25271. name: trademode
  25272. type: integer
  25273. - description: 商品id
  25274. in: query
  25275. name: goodsid
  25276. type: integer
  25277. - description: 名称(模糊搜索账户)
  25278. in: query
  25279. name: filtername
  25280. type: string
  25281. - description: 开始交易日(yyyymmdd)
  25282. in: query
  25283. name: begindate
  25284. type: string
  25285. - description: 结束交易日(yyyymmdd)
  25286. in: query
  25287. name: enddate
  25288. type: string
  25289. - description: 是否包含子级 1-包含
  25290. in: query
  25291. name: includesub
  25292. type: integer
  25293. produces:
  25294. - application/json
  25295. responses:
  25296. "200":
  25297. description: OK
  25298. schema:
  25299. items:
  25300. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25301. type: array
  25302. "500":
  25303. description: Internal Server Error
  25304. schema:
  25305. $ref: '#/definitions/app.Response'
  25306. security:
  25307. - ApiKeyAuth: []
  25308. summary: 查询成交明细
  25309. tags:
  25310. - 大连千海金(PCWeb)
  25311. /QhjMgr/QueryTradeOrderDetail:
  25312. get:
  25313. parameters:
  25314. - description: 用户ID
  25315. in: query
  25316. name: userid
  25317. required: true
  25318. type: integer
  25319. - description: 用户类型 1-个人 2-企业
  25320. in: query
  25321. name: userinfotype
  25322. type: integer
  25323. - description: 交易模式
  25324. in: query
  25325. name: trademode
  25326. type: integer
  25327. - description: 商品id
  25328. in: query
  25329. name: goodsid
  25330. type: integer
  25331. - description: 名称(模糊搜索账户)
  25332. in: query
  25333. name: filtername
  25334. type: string
  25335. - description: 开始交易日(yyyymmdd)
  25336. in: query
  25337. name: begindate
  25338. type: string
  25339. - description: 结束交易日(yyyymmdd)
  25340. in: query
  25341. name: enddate
  25342. type: string
  25343. - description: 是否包含子级 1-包含
  25344. in: query
  25345. name: includesub
  25346. type: integer
  25347. produces:
  25348. - application/json
  25349. responses:
  25350. "200":
  25351. description: OK
  25352. schema:
  25353. items:
  25354. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25355. type: array
  25356. "500":
  25357. description: Internal Server Error
  25358. schema:
  25359. $ref: '#/definitions/app.Response'
  25360. security:
  25361. - ApiKeyAuth: []
  25362. summary: 查询委托明细
  25363. tags:
  25364. - 大连千海金(PCWeb)
  25365. /QhjMgr/QueryTradePayOrder:
  25366. get:
  25367. parameters:
  25368. - description: 用户ID
  25369. in: query
  25370. name: userid
  25371. required: true
  25372. type: integer
  25373. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25374. in: query
  25375. name: payflag
  25376. type: string
  25377. - description: 用户类型 1-个人 2-企业
  25378. in: query
  25379. name: userinfotype
  25380. type: integer
  25381. - description: 交易模式
  25382. in: query
  25383. name: trademode
  25384. type: integer
  25385. - description: 商品id
  25386. in: query
  25387. name: goodsid
  25388. type: integer
  25389. - description: 名称(模糊搜索账户)
  25390. in: query
  25391. name: filtername
  25392. type: string
  25393. - description: 开始交易日(yyyymmdd)
  25394. in: query
  25395. name: begindate
  25396. type: string
  25397. - description: 结束交易日(yyyymmdd)
  25398. in: query
  25399. name: enddate
  25400. type: string
  25401. - description: 是否包含子级 1-包含
  25402. in: query
  25403. name: includesub
  25404. type: integer
  25405. produces:
  25406. - application/json
  25407. responses:
  25408. "200":
  25409. description: OK
  25410. schema:
  25411. items:
  25412. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25413. type: array
  25414. "500":
  25415. description: Internal Server Error
  25416. schema:
  25417. $ref: '#/definitions/app.Response'
  25418. security:
  25419. - ApiKeyAuth: []
  25420. summary: 查询待付款单
  25421. tags:
  25422. - 大连千海金(PCWeb)
  25423. /QhjMgr/QueryTradePosition:
  25424. get:
  25425. parameters:
  25426. - description: 用户ID
  25427. in: query
  25428. name: userid
  25429. required: true
  25430. type: integer
  25431. - description: 用户类型 1-个人 2-企业
  25432. in: query
  25433. name: userinfotype
  25434. type: integer
  25435. - description: 交易模式
  25436. in: query
  25437. name: trademode
  25438. type: integer
  25439. - description: 商品id
  25440. in: query
  25441. name: goodsid
  25442. type: integer
  25443. - description: 名称(模糊搜索账户)
  25444. in: query
  25445. name: filtername
  25446. type: string
  25447. - description: 是否包含子级 1-包含
  25448. in: query
  25449. name: includesub
  25450. type: integer
  25451. produces:
  25452. - application/json
  25453. responses:
  25454. "200":
  25455. description: OK
  25456. schema:
  25457. items:
  25458. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25459. type: array
  25460. "500":
  25461. description: Internal Server Error
  25462. schema:
  25463. $ref: '#/definitions/app.Response'
  25464. security:
  25465. - ApiKeyAuth: []
  25466. summary: 查询持仓汇总
  25467. tags:
  25468. - 大连千海金(PCWeb)
  25469. /QhjSys/QueryAgreementChangeLog:
  25470. get:
  25471. parameters:
  25472. - description: 协议ID
  25473. in: query
  25474. name: agreementid
  25475. type: integer
  25476. - description: 协议版本号
  25477. in: query
  25478. name: agreementversion
  25479. type: integer
  25480. - description: 协议类型 - 1:注册 2:登录 3:交易
  25481. in: query
  25482. name: agreementtype
  25483. type: integer
  25484. - description: 协议编号(模糊匹配)
  25485. in: query
  25486. name: agreementno
  25487. type: string
  25488. - description: 协议名称(模糊匹配)
  25489. in: query
  25490. name: agreementname
  25491. type: string
  25492. produces:
  25493. - application/json
  25494. responses:
  25495. "200":
  25496. description: OK
  25497. schema:
  25498. items:
  25499. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25500. type: array
  25501. "500":
  25502. description: Internal Server Error
  25503. schema:
  25504. $ref: '#/definitions/app.Response'
  25505. security:
  25506. - ApiKeyAuth: []
  25507. summary: 查询协议配置变更流水
  25508. tags:
  25509. - 大连千海金(协议和签约信息)
  25510. /QhjSys/QueryAgreementConfig:
  25511. get:
  25512. parameters:
  25513. - description: 协议ID
  25514. in: query
  25515. name: agreementid
  25516. type: integer
  25517. - description: 协议版本号
  25518. in: query
  25519. name: agreementversion
  25520. type: integer
  25521. - description: 协议类型 - 1:注册 2:登录 3:交易
  25522. in: query
  25523. name: agreementtype
  25524. type: integer
  25525. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25526. in: query
  25527. name: isvalid
  25528. type: integer
  25529. - description: 协议编号(模糊匹配)
  25530. in: query
  25531. name: agreementno
  25532. type: string
  25533. - description: 协议名称(模糊匹配)
  25534. in: query
  25535. name: agreementname
  25536. type: string
  25537. produces:
  25538. - application/json
  25539. responses:
  25540. "200":
  25541. description: OK
  25542. schema:
  25543. items:
  25544. $ref: '#/definitions/models.QhjAgreementConfig'
  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. /QhjSys/QueryCustomerSignStatus:
  25556. get:
  25557. parameters:
  25558. - description: 客户ID
  25559. in: query
  25560. name: userid
  25561. type: integer
  25562. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25563. in: query
  25564. name: nodetype
  25565. type: integer
  25566. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25567. in: query
  25568. name: goodsid
  25569. type: integer
  25570. - description: 创建交易日(yyyyMMdd)
  25571. in: query
  25572. name: tradedate
  25573. type: string
  25574. - description: 用户名称(模糊匹配)
  25575. in: query
  25576. name: username
  25577. type: string
  25578. produces:
  25579. - application/json
  25580. responses:
  25581. "200":
  25582. description: OK
  25583. schema:
  25584. items:
  25585. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25586. type: array
  25587. "500":
  25588. description: Internal Server Error
  25589. schema:
  25590. $ref: '#/definitions/app.Response'
  25591. security:
  25592. - ApiKeyAuth: []
  25593. summary: 查询客户协议签约状态
  25594. tags:
  25595. - 大连千海金(协议和签约信息)
  25596. /QhjSys/QueryNodeAgreementConfig:
  25597. get:
  25598. parameters:
  25599. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25600. in: query
  25601. name: configid
  25602. type: integer
  25603. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25604. in: query
  25605. name: nodetype
  25606. type: integer
  25607. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25608. in: query
  25609. name: goodsid
  25610. type: integer
  25611. - description: 协议ID
  25612. in: query
  25613. name: agreementid
  25614. type: integer
  25615. - description: 协议类型 - 1:注册 2:登录 3:交易
  25616. in: query
  25617. name: agreementtype
  25618. type: integer
  25619. - description: 协议版本号
  25620. in: query
  25621. name: agreementversion
  25622. type: integer
  25623. - description: 协议编号(模糊匹配)
  25624. in: query
  25625. name: agreementno
  25626. type: string
  25627. - description: 协议名称(模糊匹配)
  25628. in: query
  25629. name: agreementname
  25630. type: string
  25631. produces:
  25632. - application/json
  25633. responses:
  25634. "200":
  25635. description: OK
  25636. schema:
  25637. items:
  25638. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25639. type: array
  25640. "500":
  25641. description: Internal Server Error
  25642. schema:
  25643. $ref: '#/definitions/app.Response'
  25644. security:
  25645. - ApiKeyAuth: []
  25646. summary: 查询协议节点配置
  25647. tags:
  25648. - 大连千海金(协议和签约信息)
  25649. /QhjSys/QueryQhjCustomerSignLog:
  25650. get:
  25651. parameters:
  25652. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25653. in: query
  25654. name: logid
  25655. type: integer
  25656. - description: 客户ID
  25657. in: query
  25658. name: userid
  25659. type: integer
  25660. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25661. in: query
  25662. name: nodetype
  25663. type: integer
  25664. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25665. in: query
  25666. name: goodsid
  25667. type: integer
  25668. - description: 协议ID
  25669. in: query
  25670. name: agreementid
  25671. type: integer
  25672. - description: 用户名称(模糊匹配)
  25673. in: query
  25674. name: username
  25675. type: string
  25676. - description: 协议编号(模糊匹配)
  25677. in: query
  25678. name: agreementno
  25679. type: string
  25680. - description: 协议名称(模糊匹配)
  25681. in: query
  25682. name: agreementname
  25683. type: string
  25684. produces:
  25685. - application/json
  25686. responses:
  25687. "200":
  25688. description: OK
  25689. schema:
  25690. items:
  25691. $ref: '#/definitions/models.QhjCustomerSignLog'
  25692. type: array
  25693. "500":
  25694. description: Internal Server Error
  25695. schema:
  25696. $ref: '#/definitions/app.Response'
  25697. security:
  25698. - ApiKeyAuth: []
  25699. summary: 查询客户协议签约流水
  25700. tags:
  25701. - 大连千海金(协议和签约信息)
  25702. /QhjSys/QueryUserNodeCfgAndStatus:
  25703. get:
  25704. parameters:
  25705. - description: 客户ID
  25706. in: query
  25707. name: userid
  25708. type: integer
  25709. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25710. in: query
  25711. name: configid
  25712. type: integer
  25713. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25714. in: query
  25715. name: nodetype
  25716. type: string
  25717. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25718. in: query
  25719. name: goodsid
  25720. type: integer
  25721. - description: 协议ID
  25722. in: query
  25723. name: agreementid
  25724. type: integer
  25725. - description: 协议类型 - 1:注册 2:登录 3:交易
  25726. in: query
  25727. name: agreementtype
  25728. type: integer
  25729. - description: 协议版本号
  25730. in: query
  25731. name: agreementversion
  25732. type: integer
  25733. - description: 协议编号(模糊匹配)
  25734. in: query
  25735. name: agreementno
  25736. type: string
  25737. - description: 协议名称(模糊匹配)
  25738. in: query
  25739. name: agreementname
  25740. type: string
  25741. produces:
  25742. - application/json
  25743. responses:
  25744. "200":
  25745. description: OK
  25746. schema:
  25747. items:
  25748. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25749. type: array
  25750. "500":
  25751. description: Internal Server Error
  25752. schema:
  25753. $ref: '#/definitions/app.Response'
  25754. security:
  25755. - ApiKeyAuth: []
  25756. summary: 查询用户协议节点配置和状态
  25757. tags:
  25758. - 大连千海金(协议和签约信息)
  25759. /Quote/QueryHistoryDatas:
  25760. get:
  25761. parameters:
  25762. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25763. in: query
  25764. name: cycleType
  25765. required: true
  25766. type: integer
  25767. - description: 商品代码
  25768. in: query
  25769. name: goodsCode
  25770. required: true
  25771. type: string
  25772. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25773. in: query
  25774. name: startTime
  25775. type: string
  25776. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25777. in: query
  25778. name: endTime
  25779. type: string
  25780. - description: 条数
  25781. in: query
  25782. name: count
  25783. type: integer
  25784. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25785. in: query
  25786. name: isAsc
  25787. type: boolean
  25788. produces:
  25789. - application/json
  25790. responses:
  25791. "200":
  25792. description: OK
  25793. schema:
  25794. $ref: '#/definitions/quote.HistoryData'
  25795. "500":
  25796. description: Internal Server Error
  25797. schema:
  25798. $ref: '#/definitions/app.Response'
  25799. security:
  25800. - ApiKeyAuth: []
  25801. summary: 查询行情历史数据
  25802. tags:
  25803. - 行情服务
  25804. /Quote/QueryHistoryTikDatas:
  25805. get:
  25806. parameters:
  25807. - description: 商品代码
  25808. in: query
  25809. name: goodsCode
  25810. required: true
  25811. type: string
  25812. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25813. in: query
  25814. name: startTime
  25815. type: string
  25816. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25817. in: query
  25818. name: endTime
  25819. type: string
  25820. - description: 条数
  25821. in: query
  25822. name: count
  25823. type: integer
  25824. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25825. in: query
  25826. name: isAsc
  25827. type: boolean
  25828. produces:
  25829. - application/json
  25830. responses:
  25831. "200":
  25832. description: OK
  25833. schema:
  25834. $ref: '#/definitions/quote.HistoryTikData'
  25835. "500":
  25836. description: Internal Server Error
  25837. schema:
  25838. $ref: '#/definitions/app.Response'
  25839. security:
  25840. - ApiKeyAuth: []
  25841. summary: 查询行情Tik数据
  25842. tags:
  25843. - 行情服务
  25844. /Quote/QueryQuoteDay:
  25845. get:
  25846. parameters:
  25847. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  25848. in: query
  25849. name: goodsCodes
  25850. type: string
  25851. produces:
  25852. - application/json
  25853. responses:
  25854. "200":
  25855. description: OK
  25856. schema:
  25857. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25858. "500":
  25859. description: Internal Server Error
  25860. schema:
  25861. $ref: '#/definitions/app.Response'
  25862. security:
  25863. - ApiKeyAuth: []
  25864. summary: 获取商品盘面信息
  25865. tags:
  25866. - 行情服务
  25867. /Quote/QueryTSData:
  25868. get:
  25869. parameters:
  25870. - description: 商品代码
  25871. in: query
  25872. name: goodsCode
  25873. required: true
  25874. type: string
  25875. produces:
  25876. - application/json
  25877. responses:
  25878. "200":
  25879. description: OK
  25880. schema:
  25881. $ref: '#/definitions/quote.QueryTSDataRsp'
  25882. "500":
  25883. description: Internal Server Error
  25884. schema:
  25885. $ref: '#/definitions/app.Response'
  25886. security:
  25887. - ApiKeyAuth: []
  25888. summary: 分时图数据查询
  25889. tags:
  25890. - 行情服务
  25891. /SZDZ/QueryConvertConfig:
  25892. get:
  25893. parameters:
  25894. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25895. in: query
  25896. name: convertType
  25897. type: integer
  25898. - description: 外部商品代码[JD\PD]
  25899. in: query
  25900. name: outerGoodsCode
  25901. type: string
  25902. - description: 内部商品ID列表[交易],格式:1,2,3
  25903. in: query
  25904. name: innerGoodsIDs
  25905. type: string
  25906. produces:
  25907. - application/json
  25908. responses:
  25909. "200":
  25910. description: OK
  25911. schema:
  25912. $ref: '#/definitions/models.Szdz3convertconfig'
  25913. "500":
  25914. description: Internal Server Error
  25915. schema:
  25916. $ref: '#/definitions/app.Response'
  25917. security:
  25918. - ApiKeyAuth: []
  25919. summary: 查询交易系统转换设置
  25920. tags:
  25921. - 定制【尚志大宗】
  25922. /SZDZ/QueryConvertLog:
  25923. get:
  25924. parameters:
  25925. - description: 资金账户 - 格式:1,2,3
  25926. in: query
  25927. name: accountID
  25928. required: true
  25929. type: string
  25930. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25931. in: query
  25932. name: startDate
  25933. type: string
  25934. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25935. in: query
  25936. name: endDate
  25937. type: string
  25938. produces:
  25939. - application/json
  25940. responses:
  25941. "200":
  25942. description: OK
  25943. schema:
  25944. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25945. "500":
  25946. description: Internal Server Error
  25947. schema:
  25948. $ref: '#/definitions/app.Response'
  25949. security:
  25950. - ApiKeyAuth: []
  25951. summary: 交易系统转换流水查询
  25952. tags:
  25953. - 定制【尚志大宗】
  25954. /SZDZ/QueryGoodsPickup:
  25955. get:
  25956. parameters:
  25957. - description: 资金账户 - 格式:1,2,3
  25958. in: query
  25959. name: accountID
  25960. required: true
  25961. type: string
  25962. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25963. in: query
  25964. name: takeOrderStatus
  25965. type: integer
  25966. produces:
  25967. - application/json
  25968. responses:
  25969. "200":
  25970. description: OK
  25971. schema:
  25972. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25973. "500":
  25974. description: Internal Server Error
  25975. schema:
  25976. $ref: '#/definitions/app.Response'
  25977. security:
  25978. - ApiKeyAuth: []
  25979. summary: 商品提货单查询
  25980. tags:
  25981. - 定制【尚志大宗】
  25982. /SZDZ/QueryRecieptOrder:
  25983. get:
  25984. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25985. parameters:
  25986. - description: 页码
  25987. in: query
  25988. name: page
  25989. type: integer
  25990. - description: 每页条数
  25991. in: query
  25992. name: pagesize
  25993. type: integer
  25994. - description: 商品ID
  25995. in: query
  25996. name: goodsID
  25997. required: true
  25998. type: integer
  25999. - description: 所属账户名称
  26000. in: query
  26001. name: accountName
  26002. type: string
  26003. - description: 市场ID
  26004. in: query
  26005. name: marketID
  26006. type: integer
  26007. - description: 方向 - 0:买 1:卖
  26008. in: query
  26009. name: buyorsell
  26010. required: true
  26011. type: integer
  26012. produces:
  26013. - application/json
  26014. responses:
  26015. "200":
  26016. description: OK
  26017. schema:
  26018. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26019. "500":
  26020. description: Internal Server Error
  26021. schema:
  26022. $ref: '#/definitions/app.Response'
  26023. security:
  26024. - ApiKeyAuth: []
  26025. summary: 点选挂牌委托单据查询(摘牌大厅)
  26026. tags:
  26027. - 定制【尚志大宗】
  26028. /SZDZ/QuerySZDZTradePosition:
  26029. get:
  26030. parameters:
  26031. - description: 资金账户
  26032. in: query
  26033. name: accountID
  26034. required: true
  26035. type: integer
  26036. produces:
  26037. - application/json
  26038. responses:
  26039. "200":
  26040. description: OK
  26041. schema:
  26042. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26043. "500":
  26044. description: Internal Server Error
  26045. schema:
  26046. $ref: '#/definitions/app.Response'
  26047. security:
  26048. - ApiKeyAuth: []
  26049. summary: 持仓汇总查询(尚志大宗)
  26050. tags:
  26051. - 定制【尚志大宗】
  26052. /SZDZ/SearchWhite:
  26053. get:
  26054. parameters:
  26055. - description: 用户ID
  26056. in: query
  26057. name: userID
  26058. required: true
  26059. type: integer
  26060. produces:
  26061. - application/json
  26062. responses:
  26063. "200":
  26064. description: OK
  26065. schema:
  26066. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26067. "500":
  26068. description: Internal Server Error
  26069. schema:
  26070. $ref: '#/definitions/app.Response'
  26071. security:
  26072. - ApiKeyAuth: []
  26073. summary: 搜索白名单
  26074. tags:
  26075. - 定制【尚志大宗】
  26076. /Search/SearchGoodses:
  26077. get:
  26078. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26079. parameters:
  26080. - description: 检索内容
  26081. in: query
  26082. name: content
  26083. required: true
  26084. type: string
  26085. - description: 交易模式,格式:1,2,3
  26086. in: query
  26087. name: tradeModes
  26088. type: string
  26089. produces:
  26090. - application/json
  26091. responses:
  26092. "200":
  26093. description: OK
  26094. schema:
  26095. $ref: '#/definitions/models.SearchGoods'
  26096. "500":
  26097. description: Internal Server Error
  26098. schema:
  26099. $ref: '#/definitions/app.Response'
  26100. summary: 检索商品信息
  26101. tags:
  26102. - 检索服务
  26103. /TaAccount/GetTaAccounts:
  26104. get:
  26105. parameters:
  26106. - description: 登录账户
  26107. in: query
  26108. name: loginID
  26109. required: true
  26110. type: integer
  26111. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26112. in: query
  26113. name: taAccountType
  26114. type: integer
  26115. produces:
  26116. - application/json
  26117. responses:
  26118. "200":
  26119. description: OK
  26120. schema:
  26121. $ref: '#/definitions/models.Taaccount'
  26122. "500":
  26123. description: Internal Server Error
  26124. schema:
  26125. $ref: '#/definitions/app.Response'
  26126. security:
  26127. - ApiKeyAuth: []
  26128. summary: 获取资金账户信息
  26129. tags:
  26130. - 资金账户
  26131. /TaAccount/QueryAmountLog:
  26132. get:
  26133. parameters:
  26134. - description: 页码
  26135. in: query
  26136. name: page
  26137. type: integer
  26138. - description: 每页条数
  26139. in: query
  26140. name: pagesize
  26141. type: integer
  26142. - description: 资金账户 - 格式:1,2,3
  26143. in: query
  26144. name: accountID
  26145. required: true
  26146. type: string
  26147. - description: 资金操作类型 - 格式:1,2,3
  26148. in: query
  26149. name: OperateType
  26150. type: string
  26151. produces:
  26152. - application/json
  26153. responses:
  26154. "200":
  26155. description: OK
  26156. schema:
  26157. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26158. "500":
  26159. description: Internal Server Error
  26160. schema:
  26161. $ref: '#/definitions/app.Response'
  26162. security:
  26163. - ApiKeyAuth: []
  26164. summary: 资金流水查询(当前)
  26165. tags:
  26166. - 资金账户
  26167. /TaAccount/QueryHisAmountLog:
  26168. get:
  26169. parameters:
  26170. - description: 页码
  26171. in: query
  26172. name: page
  26173. type: integer
  26174. - description: 每页条数
  26175. in: query
  26176. name: pagesize
  26177. type: integer
  26178. - description: 资金账户 - 格式:1,2,3
  26179. in: query
  26180. name: accountID
  26181. required: true
  26182. type: string
  26183. - description: 资金操作类型 - 格式:1,2,3
  26184. in: query
  26185. name: OperateType
  26186. type: string
  26187. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26188. in: query
  26189. name: startDate
  26190. type: string
  26191. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26192. in: query
  26193. name: endDate
  26194. type: string
  26195. produces:
  26196. - application/json
  26197. responses:
  26198. "200":
  26199. description: OK
  26200. schema:
  26201. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26202. "500":
  26203. description: Internal Server Error
  26204. schema:
  26205. $ref: '#/definitions/app.Response'
  26206. security:
  26207. - ApiKeyAuth: []
  26208. summary: 资金流水查询(历史)
  26209. tags:
  26210. - 资金账户
  26211. /Tjmd/QueryQuoteGoodsList:
  26212. get:
  26213. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26214. parameters:
  26215. - description: 用户类型
  26216. in: query
  26217. name: usertype
  26218. required: true
  26219. type: integer
  26220. - description: 市场id, 格式 1,2,3
  26221. in: query
  26222. name: marketids
  26223. type: string
  26224. - description: 商品组id
  26225. in: query
  26226. name: goodsgroupid
  26227. type: integer
  26228. - description: 商品id
  26229. in: query
  26230. name: goodsid
  26231. type: integer
  26232. produces:
  26233. - application/json
  26234. responses:
  26235. "200":
  26236. description: OK
  26237. schema:
  26238. items:
  26239. $ref: '#/definitions/models.TjmdQuoteGoods'
  26240. type: array
  26241. "500":
  26242. description: Internal Server Error
  26243. schema:
  26244. $ref: '#/definitions/app.Response'
  26245. security:
  26246. - ApiKeyAuth: []
  26247. summary: 查询掉期报价列表
  26248. tags:
  26249. - 天津麦顿
  26250. /Tjmd/QueryTjmdMarketSection:
  26251. get:
  26252. produces:
  26253. - application/json
  26254. responses:
  26255. "200":
  26256. description: OK
  26257. schema:
  26258. items:
  26259. $ref: '#/definitions/models.TjmdMarketSection'
  26260. type: array
  26261. "500":
  26262. description: Internal Server Error
  26263. schema:
  26264. $ref: '#/definitions/app.Response'
  26265. security:
  26266. - ApiKeyAuth: []
  26267. summary: 查询市场板块
  26268. tags:
  26269. - 天津麦顿
  26270. /Tjmd/QueryTjmdTodayAccountMargin:
  26271. get:
  26272. parameters:
  26273. - description: 市场id
  26274. in: query
  26275. name: marketid
  26276. type: string
  26277. - description: 商品id
  26278. in: query
  26279. name: goodsid
  26280. type: string
  26281. - description: 资金账号
  26282. in: query
  26283. name: accountid
  26284. type: string
  26285. produces:
  26286. - application/json
  26287. responses:
  26288. "200":
  26289. description: OK
  26290. schema:
  26291. items:
  26292. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26293. type: array
  26294. "500":
  26295. description: Internal Server Error
  26296. schema:
  26297. $ref: '#/definitions/app.Response'
  26298. security:
  26299. - ApiKeyAuth: []
  26300. summary: 查询今日账户保证金配置
  26301. tags:
  26302. - 天津麦顿
  26303. /Tjmd/QueryTjmdTradeOrderDetail:
  26304. get:
  26305. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26306. parameters:
  26307. - description: 页码
  26308. in: query
  26309. name: page
  26310. type: integer
  26311. - description: 每页条数
  26312. in: query
  26313. name: pagesize
  26314. type: integer
  26315. - description: 用户id
  26316. in: query
  26317. name: userid
  26318. required: true
  26319. type: integer
  26320. - description: 用户类型
  26321. in: query
  26322. name: usertype
  26323. required: true
  26324. type: integer
  26325. - description: 市场id, 格式 1,2,3
  26326. in: query
  26327. name: marketids
  26328. type: string
  26329. - description: 商品id
  26330. in: query
  26331. name: goodsid
  26332. required: true
  26333. type: integer
  26334. - description: 买卖方向 0-买 1-卖
  26335. in: query
  26336. name: buyorsell
  26337. required: true
  26338. type: integer
  26339. produces:
  26340. - application/json
  26341. responses:
  26342. "200":
  26343. description: OK
  26344. schema:
  26345. items:
  26346. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26347. type: array
  26348. "500":
  26349. description: Internal Server Error
  26350. schema:
  26351. $ref: '#/definitions/app.Response'
  26352. security:
  26353. - ApiKeyAuth: []
  26354. summary: 查询掉期买卖大厅
  26355. tags:
  26356. - 天津麦顿
  26357. /Tjmd/QueryTjmdTransferApply:
  26358. get:
  26359. parameters:
  26360. - description: 类型 1-我的申请 2-对方申请
  26361. in: query
  26362. name: applytype
  26363. required: true
  26364. type: integer
  26365. - description: 市场id, 格式 1,2,3
  26366. in: query
  26367. name: marketids
  26368. type: string
  26369. - description: 资金账号, 格式 25000000001,25000000003
  26370. in: query
  26371. name: accountids
  26372. type: string
  26373. - description: 开始交易日(yyyymmdd)
  26374. in: query
  26375. name: begindate
  26376. type: string
  26377. - description: 结束交易日(yyyymmdd)
  26378. in: query
  26379. name: enddate
  26380. type: string
  26381. produces:
  26382. - application/json
  26383. responses:
  26384. "200":
  26385. description: OK
  26386. schema:
  26387. items:
  26388. $ref: '#/definitions/models.TjmdTransferApply'
  26389. type: array
  26390. "500":
  26391. description: Internal Server Error
  26392. schema:
  26393. $ref: '#/definitions/app.Response'
  26394. security:
  26395. - ApiKeyAuth: []
  26396. summary: 查询掉期协议单
  26397. tags:
  26398. - 天津麦顿
  26399. /Trade/QueryRecieptOrder:
  26400. get:
  26401. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26402. parameters:
  26403. - description: 页码
  26404. in: query
  26405. name: page
  26406. type: integer
  26407. - description: 每页条数
  26408. in: query
  26409. name: pagesize
  26410. type: integer
  26411. - description: 商品ID
  26412. in: query
  26413. name: goodsID
  26414. required: true
  26415. type: integer
  26416. - description: 所属账户名称
  26417. in: query
  26418. name: accountName
  26419. type: string
  26420. - description: 市场ID
  26421. in: query
  26422. name: marketID
  26423. type: integer
  26424. - description: 方向 - 0:买 1:卖
  26425. in: query
  26426. name: buyorsell
  26427. required: true
  26428. type: integer
  26429. produces:
  26430. - application/json
  26431. responses:
  26432. "200":
  26433. description: OK
  26434. schema:
  26435. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26436. "500":
  26437. description: Internal Server Error
  26438. schema:
  26439. $ref: '#/definitions/app.Response'
  26440. security:
  26441. - ApiKeyAuth: []
  26442. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26443. tags:
  26444. - 通用交易
  26445. /User/AddMessageBoard:
  26446. post:
  26447. parameters:
  26448. - description: 用户ID
  26449. in: query
  26450. name: userID
  26451. required: true
  26452. type: integer
  26453. - description: 留言信息
  26454. in: query
  26455. name: message
  26456. required: true
  26457. type: string
  26458. - description: 联系电话
  26459. in: query
  26460. name: contactNum
  26461. required: true
  26462. type: string
  26463. produces:
  26464. - application/json
  26465. responses:
  26466. "200":
  26467. description: OK
  26468. schema:
  26469. $ref: '#/definitions/app.Response'
  26470. "500":
  26471. description: Internal Server Error
  26472. schema:
  26473. $ref: '#/definitions/app.Response'
  26474. security:
  26475. - ApiKeyAuth: []
  26476. summary: 添加用户留言板信息
  26477. tags:
  26478. - 用户信息
  26479. /User/AddUserFavoriteGoods:
  26480. post:
  26481. parameters:
  26482. - description: 用户ID
  26483. in: query
  26484. name: userID
  26485. required: true
  26486. type: integer
  26487. - description: 商品ID
  26488. in: query
  26489. name: goodsID
  26490. required: true
  26491. type: integer
  26492. produces:
  26493. - application/json
  26494. responses:
  26495. "200":
  26496. description: OK
  26497. schema:
  26498. $ref: '#/definitions/app.Response'
  26499. "500":
  26500. description: Internal Server Error
  26501. schema:
  26502. $ref: '#/definitions/app.Response'
  26503. security:
  26504. - ApiKeyAuth: []
  26505. summary: 添加用户商品收藏信息
  26506. tags:
  26507. - 用户信息
  26508. /User/GetLoginID:
  26509. get:
  26510. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26511. parameters:
  26512. - description: 登录代码
  26513. in: query
  26514. name: username
  26515. required: true
  26516. type: string
  26517. produces:
  26518. - application/json
  26519. responses:
  26520. "200":
  26521. description: OK
  26522. schema:
  26523. $ref: '#/definitions/app.Response'
  26524. "500":
  26525. description: Internal Server Error
  26526. schema:
  26527. $ref: '#/definitions/app.Response'
  26528. summary: 获取登录ID
  26529. tags:
  26530. - 用户信息
  26531. /User/GetUserAccount:
  26532. get:
  26533. parameters:
  26534. - description: 用户ID
  26535. in: query
  26536. name: userID
  26537. required: true
  26538. type: integer
  26539. produces:
  26540. - application/json
  26541. responses:
  26542. "200":
  26543. description: OK
  26544. schema:
  26545. $ref: '#/definitions/models.Useraccount'
  26546. "500":
  26547. description: Internal Server Error
  26548. schema:
  26549. $ref: '#/definitions/app.Response'
  26550. security:
  26551. - ApiKeyAuth: []
  26552. summary: 获取用户账号信息
  26553. tags:
  26554. - 用户信息
  26555. /User/GetUserAuthStatus:
  26556. get:
  26557. parameters:
  26558. - description: 用户ID
  26559. in: query
  26560. name: userID
  26561. required: true
  26562. type: integer
  26563. produces:
  26564. - application/json
  26565. responses:
  26566. "200":
  26567. description: OK
  26568. schema:
  26569. $ref: '#/definitions/app.Response'
  26570. "500":
  26571. description: Internal Server Error
  26572. schema:
  26573. $ref: '#/definitions/app.Response'
  26574. security:
  26575. - ApiKeyAuth: []
  26576. summary: 获取用户实名认证状态
  26577. tags:
  26578. - 用户信息
  26579. /User/LoginQuery:
  26580. get:
  26581. parameters:
  26582. - description: 登录账号
  26583. in: query
  26584. name: loginID
  26585. required: true
  26586. type: integer
  26587. produces:
  26588. - application/json
  26589. responses:
  26590. "200":
  26591. description: OK
  26592. schema:
  26593. $ref: '#/definitions/user.LoginQueryRsp'
  26594. "500":
  26595. description: Internal Server Error
  26596. schema:
  26597. $ref: '#/definitions/app.Response'
  26598. security:
  26599. - ApiKeyAuth: []
  26600. summary: 账户登录后信息查询
  26601. tags:
  26602. - 用户信息
  26603. /User/QueryMessageBoard:
  26604. get:
  26605. parameters:
  26606. - description: 用户ID
  26607. in: query
  26608. name: userID
  26609. required: true
  26610. type: integer
  26611. produces:
  26612. - application/json
  26613. responses:
  26614. "200":
  26615. description: OK
  26616. schema:
  26617. $ref: '#/definitions/models.Messageboard'
  26618. "500":
  26619. description: Internal Server Error
  26620. schema:
  26621. $ref: '#/definitions/app.Response'
  26622. security:
  26623. - ApiKeyAuth: []
  26624. summary: 获取用户留言板信息
  26625. tags:
  26626. - 用户信息
  26627. /User/QueryUserFavoriteGoodses:
  26628. get:
  26629. parameters:
  26630. - description: 用户ID
  26631. in: query
  26632. name: userID
  26633. required: true
  26634. type: integer
  26635. produces:
  26636. - application/json
  26637. responses:
  26638. "200":
  26639. description: OK
  26640. schema:
  26641. $ref: '#/definitions/models.Userfavoritegoods'
  26642. "500":
  26643. description: Internal Server Error
  26644. schema:
  26645. $ref: '#/definitions/app.Response'
  26646. security:
  26647. - ApiKeyAuth: []
  26648. summary: 获取用户商品收藏信息
  26649. tags:
  26650. - 用户信息
  26651. /User/QueryUserInfo:
  26652. get:
  26653. parameters:
  26654. - description: 用户ID
  26655. in: query
  26656. name: userID
  26657. required: true
  26658. type: integer
  26659. - description: 是否解密
  26660. in: query
  26661. name: isDecrypt
  26662. type: boolean
  26663. produces:
  26664. - application/json
  26665. responses:
  26666. "200":
  26667. description: OK
  26668. schema:
  26669. $ref: '#/definitions/models.Userinfo'
  26670. "500":
  26671. description: Internal Server Error
  26672. schema:
  26673. $ref: '#/definitions/app.Response'
  26674. security:
  26675. - ApiKeyAuth: []
  26676. summary: 获取用户信息
  26677. tags:
  26678. - 用户信息
  26679. /User/QueryUserReferNum:
  26680. get:
  26681. parameters:
  26682. - description: 用户ID
  26683. in: query
  26684. name: userID
  26685. required: true
  26686. type: integer
  26687. produces:
  26688. - application/json
  26689. responses:
  26690. "200":
  26691. description: OK
  26692. schema:
  26693. $ref: '#/definitions/app.Response'
  26694. "500":
  26695. description: Internal Server Error
  26696. schema:
  26697. $ref: '#/definitions/app.Response'
  26698. summary: 获取用户邀请码
  26699. tags:
  26700. - 用户信息
  26701. /User/RemoveUserFavoriteGoods:
  26702. post:
  26703. parameters:
  26704. - description: 用户ID
  26705. in: query
  26706. name: userID
  26707. required: true
  26708. type: integer
  26709. - description: 商品ID
  26710. in: query
  26711. name: goodsID
  26712. required: true
  26713. type: integer
  26714. produces:
  26715. - application/json
  26716. responses:
  26717. "200":
  26718. description: OK
  26719. schema:
  26720. $ref: '#/definitions/app.Response'
  26721. "500":
  26722. description: Internal Server Error
  26723. schema:
  26724. $ref: '#/definitions/app.Response'
  26725. security:
  26726. - ApiKeyAuth: []
  26727. summary: 移除用户商品收藏信息
  26728. tags:
  26729. - 用户信息
  26730. /User/UpdateUserAccountStatus:
  26731. post:
  26732. parameters:
  26733. - description: 用户ID
  26734. in: query
  26735. name: userID
  26736. required: true
  26737. type: integer
  26738. - description: 账户状态 - 4:正常 6:注销(停用)
  26739. in: query
  26740. name: accountStatus
  26741. required: true
  26742. type: integer
  26743. produces:
  26744. - application/json
  26745. responses:
  26746. "200":
  26747. description: OK
  26748. schema:
  26749. $ref: '#/definitions/app.Response'
  26750. "500":
  26751. description: Internal Server Error
  26752. schema:
  26753. $ref: '#/definitions/app.Response'
  26754. security:
  26755. - ApiKeyAuth: []
  26756. summary: 更新用户状态
  26757. tags:
  26758. - 用户信息
  26759. /WRTrade/GetAllDeliveryGoods:
  26760. get:
  26761. produces:
  26762. - application/json
  26763. - application/json
  26764. responses:
  26765. "200":
  26766. description: OK
  26767. schema:
  26768. $ref: '#/definitions/app.Response'
  26769. "500":
  26770. description: Internal Server Error
  26771. schema:
  26772. $ref: '#/definitions/app.Response'
  26773. security:
  26774. - ApiKeyAuth: []
  26775. - ApiKeyAuth: []
  26776. summary: 获取带仓单分类的种类信息
  26777. tags:
  26778. - 仓单贸易
  26779. - 仓单贸易
  26780. /WrTrade2/QueryDeliveryGoodsSection:
  26781. get:
  26782. produces:
  26783. - application/json
  26784. responses:
  26785. "200":
  26786. description: OK
  26787. schema:
  26788. items:
  26789. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26790. type: array
  26791. "500":
  26792. description: Internal Server Error
  26793. schema:
  26794. $ref: '#/definitions/app.Response'
  26795. security:
  26796. - ApiKeyAuth: []
  26797. summary: 查询板块(分类)
  26798. tags:
  26799. - 仓单贸易v2
  26800. /WrTrade2/QueryFaProductDetail:
  26801. get:
  26802. description: 页面 买卖大厅 -> 选择融资方案
  26803. parameters:
  26804. - description: 仓单要素id
  26805. in: query
  26806. name: wrfactortypeid
  26807. required: true
  26808. type: integer
  26809. produces:
  26810. - application/json
  26811. responses:
  26812. "200":
  26813. description: OK
  26814. schema:
  26815. items:
  26816. $ref: '#/definitions/models.WrFAProductDetail'
  26817. type: array
  26818. "500":
  26819. description: Internal Server Error
  26820. schema:
  26821. $ref: '#/definitions/app.Response'
  26822. security:
  26823. - ApiKeyAuth: []
  26824. summary: 查询融资产品列表
  26825. tags:
  26826. - 仓单贸易v2
  26827. /WrTrade2/QueryFilterItem:
  26828. get:
  26829. parameters:
  26830. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26831. in: query
  26832. name: itype
  26833. required: true
  26834. type: string
  26835. produces:
  26836. - application/json
  26837. responses:
  26838. "200":
  26839. description: OK
  26840. schema:
  26841. items:
  26842. $ref: '#/definitions/models.WrFilterItem'
  26843. type: array
  26844. "500":
  26845. description: Internal Server Error
  26846. schema:
  26847. $ref: '#/definitions/app.Response'
  26848. security:
  26849. - ApiKeyAuth: []
  26850. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26851. tags:
  26852. - 仓单贸易v2
  26853. /WrTrade2/QueryFtDeliveryGoods:
  26854. get:
  26855. produces:
  26856. - application/json
  26857. responses:
  26858. "200":
  26859. description: OK
  26860. schema:
  26861. items:
  26862. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26863. type: array
  26864. "500":
  26865. description: Internal Server Error
  26866. schema:
  26867. $ref: '#/definitions/app.Response'
  26868. security:
  26869. - ApiKeyAuth: []
  26870. summary: 查询品种品类筛选框列表
  26871. tags:
  26872. - 仓单贸易v2
  26873. /WrTrade2/QueryHoldLB:
  26874. get:
  26875. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26876. parameters:
  26877. - description: 资金账号
  26878. in: query
  26879. name: accountid
  26880. required: true
  26881. type: integer
  26882. - description: 仓库id
  26883. in: query
  26884. name: warehouseid
  26885. type: integer
  26886. - description: 品种id
  26887. in: query
  26888. name: deliverygoodsid
  26889. type: integer
  26890. - description: 品类id
  26891. in: query
  26892. name: wrstandardid
  26893. type: integer
  26894. - description: 仓单要素id
  26895. in: query
  26896. name: wrfactortypeid
  26897. type: integer
  26898. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26899. in: query
  26900. name: dgitemname
  26901. type: string
  26902. produces:
  26903. - application/json
  26904. responses:
  26905. "200":
  26906. description: OK
  26907. schema:
  26908. items:
  26909. $ref: '#/definitions/models.WrHoldLB'
  26910. type: array
  26911. "500":
  26912. description: Internal Server Error
  26913. schema:
  26914. $ref: '#/definitions/app.Response'
  26915. security:
  26916. - ApiKeyAuth: []
  26917. summary: 查询仓单持有记录
  26918. tags:
  26919. - 仓单贸易v2
  26920. /WrTrade2/QueryOrderQuote:
  26921. get:
  26922. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26923. parameters:
  26924. - description: 页码
  26925. in: query
  26926. name: page
  26927. type: integer
  26928. - description: 每页条数
  26929. in: query
  26930. name: pagesize
  26931. type: integer
  26932. - description: 仓单贸易市场id
  26933. in: query
  26934. name: marketid
  26935. type: integer
  26936. - description: 价格方式 - 1:固定价 2-浮动价
  26937. in: query
  26938. name: wrpricetype
  26939. required: true
  26940. type: integer
  26941. - description: 0:仓单预售 1:仓单贸易
  26942. in: query
  26943. name: haswr
  26944. type: integer
  26945. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26946. in: query
  26947. name: dgitemname
  26948. type: string
  26949. - description: 仓库id(筛选条件)
  26950. in: query
  26951. name: warehouseid
  26952. type: integer
  26953. - description: 品种id
  26954. in: query
  26955. name: deliverygoodsid
  26956. type: integer
  26957. - description: 品类id
  26958. in: query
  26959. name: wrstandardid
  26960. type: integer
  26961. - description: 仓单要素id
  26962. in: query
  26963. name: wrfactortypeid
  26964. type: integer
  26965. - description: 交收月(yyyy-mm) 仓单预售填写
  26966. in: query
  26967. name: deliverymonth
  26968. type: string
  26969. produces:
  26970. - application/json
  26971. responses:
  26972. "200":
  26973. description: OK
  26974. schema:
  26975. items:
  26976. $ref: '#/definitions/models.WrOrderQuote'
  26977. type: array
  26978. "500":
  26979. description: Internal Server Error
  26980. schema:
  26981. $ref: '#/definitions/app.Response'
  26982. security:
  26983. - ApiKeyAuth: []
  26984. summary: 查询大厅行情列表
  26985. tags:
  26986. - 仓单贸易v2
  26987. /WrTrade2/QueryOrderQuoteDetail:
  26988. get:
  26989. parameters:
  26990. - description: 页码
  26991. in: query
  26992. name: page
  26993. type: integer
  26994. - description: 每页条数
  26995. in: query
  26996. name: pagesize
  26997. type: integer
  26998. - description: 仓单贸易市场id
  26999. in: query
  27000. name: marketid
  27001. type: integer
  27002. - description: 价格方式 - 1:固定价 2-浮动价
  27003. in: query
  27004. name: wrpricetype
  27005. required: true
  27006. type: integer
  27007. - description: 0:仓单预售 1:仓单贸易
  27008. in: query
  27009. name: haswr
  27010. type: integer
  27011. - description: 仓单要素id
  27012. in: query
  27013. name: wrfactortypeid
  27014. required: true
  27015. type: integer
  27016. - description: 期货商品id(浮动价方式时填)
  27017. in: query
  27018. name: goodsid
  27019. type: integer
  27020. - description: 买卖方向 0-买 1-卖
  27021. in: query
  27022. name: buyorsell
  27023. required: true
  27024. type: integer
  27025. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27026. in: query
  27027. name: deliverymonth
  27028. type: string
  27029. produces:
  27030. - application/json
  27031. responses:
  27032. "200":
  27033. description: OK
  27034. schema:
  27035. items:
  27036. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27037. type: array
  27038. "500":
  27039. description: Internal Server Error
  27040. schema:
  27041. $ref: '#/definitions/app.Response'
  27042. security:
  27043. - ApiKeyAuth: []
  27044. summary: 查询买卖大厅
  27045. tags:
  27046. - 仓单贸易v2
  27047. /WrTrade2/QueryOrderQuoteMyq:
  27048. get:
  27049. parameters:
  27050. - description: 页码
  27051. in: query
  27052. name: page
  27053. type: integer
  27054. - description: 每页条数
  27055. in: query
  27056. name: pagesize
  27057. type: integer
  27058. - description: 用户id
  27059. in: query
  27060. name: userid
  27061. required: true
  27062. type: integer
  27063. - description: 仓单贸易市场id
  27064. in: query
  27065. name: marketid
  27066. type: integer
  27067. - description: 0:仓单预售 1:仓单贸易
  27068. in: query
  27069. name: haswr
  27070. type: integer
  27071. - description: 买卖方向 0-买 1-卖
  27072. in: query
  27073. name: buyorsell
  27074. required: true
  27075. type: integer
  27076. - description: 品种id
  27077. in: query
  27078. name: deliverygoodsid
  27079. type: integer
  27080. - description: 品类id
  27081. in: query
  27082. name: wrstandardid
  27083. type: integer
  27084. - description: 交收月(yyyy-mm) 仓单预售填写
  27085. in: query
  27086. name: deliverymonth
  27087. type: string
  27088. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27089. in: query
  27090. name: dgitemname
  27091. type: string
  27092. produces:
  27093. - application/json
  27094. responses:
  27095. "200":
  27096. description: OK
  27097. schema:
  27098. items:
  27099. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27100. type: array
  27101. "500":
  27102. description: Internal Server Error
  27103. schema:
  27104. $ref: '#/definitions/app.Response'
  27105. security:
  27106. - ApiKeyAuth: []
  27107. summary: 查询贸易圈挂牌大厅
  27108. tags:
  27109. - 仓单贸易v2
  27110. /WrTrade2/QueryPerformancePlan:
  27111. get:
  27112. parameters:
  27113. - description: 用户id
  27114. in: query
  27115. name: userid
  27116. required: true
  27117. type: integer
  27118. - description: 买卖方向 0-买 1-卖
  27119. in: query
  27120. name: buyorsell
  27121. required: true
  27122. type: integer
  27123. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  27124. in: query
  27125. name: status
  27126. type: string
  27127. - description: 开始交易日(yyyymmdd)
  27128. in: query
  27129. name: begindate
  27130. type: string
  27131. - description: 结束交易日(yyyymmdd)
  27132. in: query
  27133. name: enddate
  27134. type: string
  27135. produces:
  27136. - application/json
  27137. responses:
  27138. "200":
  27139. description: OK
  27140. schema:
  27141. items:
  27142. $ref: '#/definitions/models.WrPerformancePlan'
  27143. type: array
  27144. "500":
  27145. description: Internal Server Error
  27146. schema:
  27147. $ref: '#/definitions/app.Response'
  27148. security:
  27149. - ApiKeyAuth: []
  27150. summary: 查询履约信息
  27151. tags:
  27152. - 仓单贸易v2
  27153. /WrTrade2/QueryPermancePlanTmp:
  27154. get:
  27155. description: |-
  27156. 返回指定用户的模板和公共模板(用户id为空)
  27157. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27158. parameters:
  27159. - description: 用户id
  27160. in: query
  27161. name: userid
  27162. type: integer
  27163. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  27164. in: query
  27165. name: tmptype
  27166. type: string
  27167. - description: 是否包含公共模板(用户id为空的) 1-包含
  27168. in: query
  27169. name: includepub
  27170. type: integer
  27171. - description: 市场id(天津麦顿指定此参数,其它不用)
  27172. in: query
  27173. name: marketid
  27174. type: integer
  27175. produces:
  27176. - application/json
  27177. responses:
  27178. "200":
  27179. description: OK
  27180. schema:
  27181. items:
  27182. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27183. type: array
  27184. "500":
  27185. description: Internal Server Error
  27186. schema:
  27187. $ref: '#/definitions/app.Response'
  27188. security:
  27189. - ApiKeyAuth: []
  27190. summary: 查询履约模板
  27191. tags:
  27192. - 仓单贸易v2
  27193. /WrTrade2/QuerySiteColumnDetail:
  27194. get:
  27195. parameters:
  27196. - description: 页码
  27197. in: query
  27198. name: page
  27199. type: integer
  27200. - description: 每页条数
  27201. in: query
  27202. name: pagesize
  27203. type: integer
  27204. produces:
  27205. - application/json
  27206. responses:
  27207. "200":
  27208. description: OK
  27209. schema:
  27210. items:
  27211. $ref: '#/definitions/models.WrSiteColumnDetail'
  27212. type: array
  27213. "500":
  27214. description: Internal Server Error
  27215. schema:
  27216. $ref: '#/definitions/app.Response'
  27217. security:
  27218. - ApiKeyAuth: []
  27219. summary: 查询资讯
  27220. tags:
  27221. - 仓单贸易v2
  27222. /WrTrade2/QuerySpotGroupTradeSum:
  27223. get:
  27224. produces:
  27225. - application/json
  27226. responses:
  27227. "200":
  27228. description: OK
  27229. schema:
  27230. items:
  27231. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27232. type: array
  27233. "500":
  27234. description: Internal Server Error
  27235. schema:
  27236. $ref: '#/definitions/app.Response'
  27237. security:
  27238. - ApiKeyAuth: []
  27239. summary: 查询指数
  27240. tags:
  27241. - 仓单贸易v2
  27242. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27243. get:
  27244. description: 查询的结果将会按日期 从小到大 排序
  27245. parameters:
  27246. - description: 现货商品id
  27247. in: query
  27248. name: deliverygoodsid
  27249. required: true
  27250. type: integer
  27251. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27252. in: query
  27253. name: lastnum
  27254. type: integer
  27255. produces:
  27256. - application/json
  27257. responses:
  27258. "200":
  27259. description: OK
  27260. schema:
  27261. items:
  27262. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27263. type: array
  27264. "500":
  27265. description: Internal Server Error
  27266. schema:
  27267. $ref: '#/definitions/app.Response'
  27268. security:
  27269. - ApiKeyAuth: []
  27270. summary: 查询指数详细(价格走势图)
  27271. tags:
  27272. - 仓单贸易v2
  27273. /WrTrade2/QueryWrAverageTradePrice:
  27274. get:
  27275. parameters:
  27276. - description: 页码
  27277. in: query
  27278. name: page
  27279. type: integer
  27280. - description: 每页条数
  27281. in: query
  27282. name: pagesize
  27283. type: integer
  27284. - description: 0:仓单预售 1:仓单贸易
  27285. in: query
  27286. name: haswr
  27287. required: true
  27288. type: integer
  27289. - description: 仓单要素id
  27290. in: query
  27291. name: wrfactortypeid
  27292. required: true
  27293. type: integer
  27294. produces:
  27295. - application/json
  27296. responses:
  27297. "200":
  27298. description: OK
  27299. schema:
  27300. items:
  27301. $ref: '#/definitions/models.WrAverageTradePrice'
  27302. type: array
  27303. "500":
  27304. description: Internal Server Error
  27305. schema:
  27306. $ref: '#/definitions/app.Response'
  27307. security:
  27308. - ApiKeyAuth: []
  27309. summary: 查询成交价(历史走势)
  27310. tags:
  27311. - 仓单贸易v2
  27312. /WrTrade2/QueryWrBsGoodsInfo:
  27313. get:
  27314. description: 合约交易/买卖大厅/详情
  27315. parameters:
  27316. - description: 商品id
  27317. in: query
  27318. name: goodsid
  27319. required: true
  27320. type: integer
  27321. produces:
  27322. - application/json
  27323. responses:
  27324. "200":
  27325. description: OK
  27326. schema:
  27327. items:
  27328. $ref: '#/definitions/models.WrBsGoodsInfo'
  27329. type: array
  27330. "500":
  27331. description: Internal Server Error
  27332. schema:
  27333. $ref: '#/definitions/app.Response'
  27334. security:
  27335. - ApiKeyAuth: []
  27336. summary: 查询合约交易买卖大厅详情
  27337. tags:
  27338. - 仓单贸易v2
  27339. /WrTrade2/QueryWrBuybackDetail:
  27340. get:
  27341. parameters:
  27342. - description: 融资合同id
  27343. in: query
  27344. name: scfcontractid
  27345. type: integer
  27346. produces:
  27347. - application/json
  27348. responses:
  27349. "200":
  27350. description: OK
  27351. schema:
  27352. items:
  27353. $ref: '#/definitions/models.WrBuybackDetail'
  27354. type: array
  27355. "500":
  27356. description: Internal Server Error
  27357. schema:
  27358. $ref: '#/definitions/app.Response'
  27359. security:
  27360. - ApiKeyAuth: []
  27361. summary: 查询仓单回购明细
  27362. tags:
  27363. - 仓单贸易v2
  27364. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27365. get:
  27366. parameters:
  27367. - description: 资金账号
  27368. in: query
  27369. name: accountid
  27370. required: true
  27371. type: integer
  27372. - description: 商品id
  27373. in: query
  27374. name: goodsid
  27375. required: true
  27376. type: integer
  27377. produces:
  27378. - application/json
  27379. responses:
  27380. "200":
  27381. description: OK
  27382. schema:
  27383. items:
  27384. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27385. type: array
  27386. "500":
  27387. description: Internal Server Error
  27388. schema:
  27389. $ref: '#/definitions/app.Response'
  27390. security:
  27391. - ApiKeyAuth: []
  27392. summary: 查询合约交收可点选仓单
  27393. tags:
  27394. - 仓单贸易v2
  27395. /WrTrade2/QueryWrDeliveryDetail:
  27396. get:
  27397. parameters:
  27398. - description: 用户id
  27399. in: query
  27400. name: userid
  27401. required: true
  27402. type: integer
  27403. - description: 资金账号id
  27404. in: query
  27405. name: accountid
  27406. type: integer
  27407. - description: 开始交易日(yyyymmdd)
  27408. in: query
  27409. name: begindate
  27410. type: string
  27411. - description: 结束交易日(yyyymmdd)
  27412. in: query
  27413. name: enddate
  27414. type: string
  27415. produces:
  27416. - application/json
  27417. responses:
  27418. "200":
  27419. description: OK
  27420. schema:
  27421. items:
  27422. $ref: '#/definitions/models.WrDeliveryDetail'
  27423. type: array
  27424. "500":
  27425. description: Internal Server Error
  27426. schema:
  27427. $ref: '#/definitions/app.Response'
  27428. security:
  27429. - ApiKeyAuth: []
  27430. summary: 查询交收
  27431. tags:
  27432. - 仓单贸易v2
  27433. /WrTrade2/QueryWrFactorTypeInfo:
  27434. get:
  27435. parameters:
  27436. - description: 仓单要素id
  27437. in: query
  27438. name: wrfactortypeid
  27439. required: true
  27440. type: integer
  27441. produces:
  27442. - application/json
  27443. responses:
  27444. "200":
  27445. description: OK
  27446. schema:
  27447. items:
  27448. $ref: '#/definitions/models.WrFactorTypeInfo'
  27449. type: array
  27450. "500":
  27451. description: Internal Server Error
  27452. schema:
  27453. $ref: '#/definitions/app.Response'
  27454. security:
  27455. - ApiKeyAuth: []
  27456. summary: 查询仓单要素详细信息
  27457. tags:
  27458. - 仓单贸易v2
  27459. /WrTrade2/QueryWrFactorTypeInfoEx:
  27460. get:
  27461. parameters:
  27462. - description: 仓单要素id
  27463. in: query
  27464. name: wrfactortypeid
  27465. required: true
  27466. type: integer
  27467. produces:
  27468. - application/json
  27469. responses:
  27470. "200":
  27471. description: OK
  27472. schema:
  27473. items:
  27474. $ref: '#/definitions/models.WrTypeItem'
  27475. type: array
  27476. "500":
  27477. description: Internal Server Error
  27478. schema:
  27479. $ref: '#/definitions/app.Response'
  27480. security:
  27481. - ApiKeyAuth: []
  27482. summary: 查询仓单要素详细信息列表项
  27483. tags:
  27484. - 仓单贸易v2
  27485. /WrTrade2/QueryWrFinanceBuyApply:
  27486. get:
  27487. description: 页面 融资信息+ / 申请单
  27488. parameters:
  27489. - description: 用户id
  27490. in: query
  27491. name: userid
  27492. required: true
  27493. type: integer
  27494. produces:
  27495. - application/json
  27496. responses:
  27497. "200":
  27498. description: OK
  27499. schema:
  27500. items:
  27501. $ref: '#/definitions/models.WrFinanceBuyApply'
  27502. type: array
  27503. "500":
  27504. description: Internal Server Error
  27505. schema:
  27506. $ref: '#/definitions/app.Response'
  27507. security:
  27508. - ApiKeyAuth: []
  27509. summary: 查询融资购买申请
  27510. tags:
  27511. - 仓单贸易v2
  27512. /WrTrade2/QueryWrFriendApply:
  27513. get:
  27514. parameters:
  27515. - description: 用户id
  27516. in: query
  27517. name: userid
  27518. required: true
  27519. type: integer
  27520. produces:
  27521. - application/json
  27522. responses:
  27523. "200":
  27524. description: OK
  27525. schema:
  27526. items:
  27527. $ref: '#/definitions/models.WrFriendApply'
  27528. type: array
  27529. "500":
  27530. description: Internal Server Error
  27531. schema:
  27532. $ref: '#/definitions/app.Response'
  27533. security:
  27534. - ApiKeyAuth: []
  27535. summary: 查询好友申请记录
  27536. tags:
  27537. - 仓单贸易v2
  27538. /WrTrade2/QueryWrGoodsInfo:
  27539. get:
  27540. parameters:
  27541. - description: 仓单贸易市场id
  27542. in: query
  27543. name: marketid
  27544. type: integer
  27545. - description: 0:仓单预售 1:仓单贸易
  27546. in: query
  27547. name: haswr
  27548. required: true
  27549. type: integer
  27550. - description: 仓单要素id
  27551. in: query
  27552. name: wrfactortypeid
  27553. required: true
  27554. type: integer
  27555. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27556. in: query
  27557. name: tmplateid
  27558. type: integer
  27559. produces:
  27560. - application/json
  27561. responses:
  27562. "200":
  27563. description: OK
  27564. schema:
  27565. items:
  27566. $ref: '#/definitions/models.WrGoodsInfo'
  27567. type: array
  27568. "500":
  27569. description: Internal Server Error
  27570. schema:
  27571. $ref: '#/definitions/app.Response'
  27572. security:
  27573. - ApiKeyAuth: []
  27574. summary: 查询仓单商品信息
  27575. tags:
  27576. - 仓单贸易v2
  27577. /WrTrade2/QueryWrMarketTradeConfig:
  27578. get:
  27579. parameters:
  27580. - description: 市场id
  27581. in: query
  27582. name: marketid
  27583. type: integer
  27584. produces:
  27585. - application/json
  27586. responses:
  27587. "200":
  27588. description: OK
  27589. schema:
  27590. items:
  27591. $ref: '#/definitions/models.WrMarketTradeConfig'
  27592. type: array
  27593. "500":
  27594. description: Internal Server Error
  27595. schema:
  27596. $ref: '#/definitions/app.Response'
  27597. security:
  27598. - ApiKeyAuth: []
  27599. summary: 查询市场交易参数配置
  27600. tags:
  27601. - 仓单贸易v2
  27602. /WrTrade2/QueryWrOrderDetail:
  27603. get:
  27604. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27605. parameters:
  27606. - description: 页码
  27607. in: query
  27608. name: page
  27609. type: integer
  27610. - description: 每页条数
  27611. in: query
  27612. name: pagesize
  27613. type: integer
  27614. - description: 用户id
  27615. in: query
  27616. name: userid
  27617. required: true
  27618. type: integer
  27619. - description: 仓单贸易市场id
  27620. in: query
  27621. name: marketid
  27622. type: integer
  27623. - description: 0:仓单预售 1:仓单贸易
  27624. in: query
  27625. name: haswr
  27626. required: true
  27627. type: integer
  27628. - description: 开始交易日(yyyymmdd)
  27629. in: query
  27630. name: begindate
  27631. type: string
  27632. - description: 结束交易日(yyyymmdd)
  27633. in: query
  27634. name: enddate
  27635. type: string
  27636. produces:
  27637. - application/json
  27638. responses:
  27639. "200":
  27640. description: OK
  27641. schema:
  27642. items:
  27643. $ref: '#/definitions/models.WrOrderDetail'
  27644. type: array
  27645. "500":
  27646. description: Internal Server Error
  27647. schema:
  27648. $ref: '#/definitions/app.Response'
  27649. security:
  27650. - ApiKeyAuth: []
  27651. summary: 查询仓单委托单(挂单)
  27652. tags:
  27653. - 仓单贸易v2
  27654. /WrTrade2/QueryWrOutInApply:
  27655. get:
  27656. parameters:
  27657. - description: 用户id
  27658. in: query
  27659. name: userid
  27660. required: true
  27661. type: integer
  27662. - description: 开始交易日(yyyymmdd)
  27663. in: query
  27664. name: begindate
  27665. type: string
  27666. - description: 结束交易日(yyyymmdd)
  27667. in: query
  27668. name: enddate
  27669. type: string
  27670. produces:
  27671. - application/json
  27672. responses:
  27673. "200":
  27674. description: OK
  27675. schema:
  27676. items:
  27677. $ref: '#/definitions/models.WrOutInApply'
  27678. type: array
  27679. "500":
  27680. description: Internal Server Error
  27681. schema:
  27682. $ref: '#/definitions/app.Response'
  27683. security:
  27684. - ApiKeyAuth: []
  27685. summary: 查询提货申请
  27686. tags:
  27687. - 仓单贸易v2
  27688. /WrTrade2/QueryWrPerformancePlanStep:
  27689. get:
  27690. parameters:
  27691. - description: 履约计划id(performanceplanid)
  27692. in: query
  27693. name: planid
  27694. required: true
  27695. type: integer
  27696. - description: 当前步骤id
  27697. in: query
  27698. name: curstepid
  27699. type: integer
  27700. produces:
  27701. - application/json
  27702. responses:
  27703. "200":
  27704. description: OK
  27705. schema:
  27706. items:
  27707. $ref: '#/definitions/models.WrPerformancePlanStep'
  27708. type: array
  27709. "500":
  27710. description: Internal Server Error
  27711. schema:
  27712. $ref: '#/definitions/app.Response'
  27713. security:
  27714. - ApiKeyAuth: []
  27715. summary: 查询履约信息详情
  27716. tags:
  27717. - 仓单贸易v2
  27718. /WrTrade2/QueryWrPerformanceStepType:
  27719. get:
  27720. produces:
  27721. - application/json
  27722. responses:
  27723. "200":
  27724. description: OK
  27725. schema:
  27726. items:
  27727. $ref: '#/definitions/models.WrPerformanceStepType'
  27728. type: array
  27729. "500":
  27730. description: Internal Server Error
  27731. schema:
  27732. $ref: '#/definitions/app.Response'
  27733. security:
  27734. - ApiKeyAuth: []
  27735. summary: 查询履约步骤枚举
  27736. tags:
  27737. - 仓单贸易v2
  27738. /WrTrade2/QueryWrPosition:
  27739. get:
  27740. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27741. parameters:
  27742. - description: 用户id
  27743. in: query
  27744. name: userid
  27745. required: true
  27746. type: integer
  27747. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27748. in: query
  27749. name: querytype
  27750. required: true
  27751. type: integer
  27752. - description: 0:仓单预售 1:仓单贸易
  27753. in: query
  27754. name: haswr
  27755. required: true
  27756. type: integer
  27757. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27758. in: query
  27759. name: dgitemname
  27760. type: string
  27761. - description: 仓库id(筛选条件)
  27762. in: query
  27763. name: warehouseid
  27764. type: integer
  27765. - description: 品种id
  27766. in: query
  27767. name: deliverygoodsid
  27768. type: integer
  27769. - description: 品类id
  27770. in: query
  27771. name: wrstandardid
  27772. type: integer
  27773. produces:
  27774. - application/json
  27775. responses:
  27776. "200":
  27777. description: OK
  27778. schema:
  27779. items:
  27780. $ref: '#/definitions/models.WrPosition'
  27781. type: array
  27782. "500":
  27783. description: Internal Server Error
  27784. schema:
  27785. $ref: '#/definitions/app.Response'
  27786. security:
  27787. - ApiKeyAuth: []
  27788. summary: 查询现货(预售)仓单持仓
  27789. tags:
  27790. - 仓单贸易v2
  27791. /WrTrade2/QueryWrScfContract:
  27792. get:
  27793. parameters:
  27794. - description: 用户id
  27795. in: query
  27796. name: userid
  27797. required: true
  27798. type: integer
  27799. - description: 融资合同id
  27800. in: query
  27801. name: scfcontractid
  27802. type: integer
  27803. produces:
  27804. - application/json
  27805. responses:
  27806. "200":
  27807. description: OK
  27808. schema:
  27809. items:
  27810. $ref: '#/definitions/models.WrScfContract'
  27811. type: array
  27812. "500":
  27813. description: Internal Server Error
  27814. schema:
  27815. $ref: '#/definitions/app.Response'
  27816. security:
  27817. - ApiKeyAuth: []
  27818. summary: 查询仓单贸易融资合同
  27819. tags:
  27820. - 仓单贸易v2
  27821. /WrTrade2/QueryWrScfContractInterest:
  27822. get:
  27823. parameters:
  27824. - description: 融资合同id
  27825. in: query
  27826. name: scfcontractid
  27827. type: integer
  27828. produces:
  27829. - application/json
  27830. responses:
  27831. "200":
  27832. description: OK
  27833. schema:
  27834. items:
  27835. $ref: '#/definitions/models.WrScfContractInterest'
  27836. type: array
  27837. "500":
  27838. description: Internal Server Error
  27839. schema:
  27840. $ref: '#/definitions/app.Response'
  27841. security:
  27842. - ApiKeyAuth: []
  27843. summary: 查询融资合同费用明细
  27844. tags:
  27845. - 仓单贸易v2
  27846. /WrTrade2/QueryWrSpecialMatchOrder:
  27847. get:
  27848. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27849. parameters:
  27850. - description: 页码
  27851. in: query
  27852. name: page
  27853. type: integer
  27854. - description: 每页条数
  27855. in: query
  27856. name: pagesize
  27857. type: integer
  27858. - description: 用户id
  27859. in: query
  27860. name: userid
  27861. required: true
  27862. type: integer
  27863. - description: 仓单贸易市场id
  27864. in: query
  27865. name: marketid
  27866. type: integer
  27867. - description: 0:仓单预售 1:仓单贸易
  27868. in: query
  27869. name: haswr
  27870. required: true
  27871. type: integer
  27872. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27873. in: query
  27874. name: isspecified
  27875. type: integer
  27876. produces:
  27877. - application/json
  27878. responses:
  27879. "200":
  27880. description: OK
  27881. schema:
  27882. items:
  27883. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27884. type: array
  27885. "500":
  27886. description: Internal Server Error
  27887. schema:
  27888. $ref: '#/definitions/app.Response'
  27889. security:
  27890. - ApiKeyAuth: []
  27891. summary: 查询指定成交
  27892. tags:
  27893. - 仓单贸易v2
  27894. /WrTrade2/QueryWrStandardFactoryItem:
  27895. get:
  27896. parameters:
  27897. - description: 品类id
  27898. in: query
  27899. name: wrstandardid
  27900. required: true
  27901. type: integer
  27902. produces:
  27903. - application/json
  27904. responses:
  27905. "200":
  27906. description: OK
  27907. schema:
  27908. items:
  27909. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27910. type: array
  27911. "500":
  27912. description: Internal Server Error
  27913. schema:
  27914. $ref: '#/definitions/app.Response'
  27915. security:
  27916. - ApiKeyAuth: []
  27917. summary: 查询品类要素定义项
  27918. tags:
  27919. - 仓单贸易v2
  27920. /WrTrade2/QueryWrTradeBargainApply:
  27921. get:
  27922. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27923. parameters:
  27924. - description: 议价人id(摘牌方)
  27925. in: query
  27926. name: userid
  27927. type: integer
  27928. - description: 挂牌方id(查对方议价时,填写此项)
  27929. in: query
  27930. name: matchuserid
  27931. type: integer
  27932. - description: 关联委托单id
  27933. in: query
  27934. name: wrtradeorderid
  27935. type: integer
  27936. - description: 0:仓单预售 1:仓单贸易
  27937. in: query
  27938. name: haswr
  27939. required: true
  27940. type: integer
  27941. - description: 开始交易日(yyyymmdd)
  27942. in: query
  27943. name: begindate
  27944. type: string
  27945. - description: 结束交易日(yyyymmdd)
  27946. in: query
  27947. name: enddate
  27948. type: string
  27949. produces:
  27950. - application/json
  27951. responses:
  27952. "200":
  27953. description: OK
  27954. schema:
  27955. items:
  27956. $ref: '#/definitions/models.WRTradeBargainApply'
  27957. type: array
  27958. "500":
  27959. description: Internal Server Error
  27960. schema:
  27961. $ref: '#/definitions/app.Response'
  27962. security:
  27963. - ApiKeyAuth: []
  27964. summary: 查询议价单
  27965. tags:
  27966. - 仓单贸易v2
  27967. /WrTrade2/QueryWrTradeDetail:
  27968. get:
  27969. parameters:
  27970. - description: 页码
  27971. in: query
  27972. name: page
  27973. type: integer
  27974. - description: 每页条数
  27975. in: query
  27976. name: pagesize
  27977. type: integer
  27978. - description: 用户id
  27979. in: query
  27980. name: userid
  27981. required: true
  27982. type: integer
  27983. - description: 仓单贸易市场id
  27984. in: query
  27985. name: marketid
  27986. type: integer
  27987. - description: 0:仓单预售 1:仓单贸易
  27988. in: query
  27989. name: haswr
  27990. required: true
  27991. type: integer
  27992. - description: 开始交易日(yyyymmdd)
  27993. in: query
  27994. name: begindate
  27995. type: string
  27996. - description: 结束交易日(yyyymmdd)
  27997. in: query
  27998. name: enddate
  27999. type: string
  28000. produces:
  28001. - application/json
  28002. responses:
  28003. "200":
  28004. description: OK
  28005. schema:
  28006. items:
  28007. $ref: '#/definitions/models.WrTradeDetail'
  28008. type: array
  28009. "500":
  28010. description: Internal Server Error
  28011. schema:
  28012. $ref: '#/definitions/app.Response'
  28013. security:
  28014. - ApiKeyAuth: []
  28015. summary: 查询仓单成交明细
  28016. tags:
  28017. - 仓单贸易v2
  28018. /WrTrade2/QueryWrTradeOrderDetail:
  28019. get:
  28020. parameters:
  28021. - description: 页码
  28022. in: query
  28023. name: page
  28024. type: integer
  28025. - description: 每页条数
  28026. in: query
  28027. name: pagesize
  28028. type: integer
  28029. - description: 商品id
  28030. in: query
  28031. name: goodsid
  28032. required: true
  28033. type: integer
  28034. - description: 买卖方向 0-买 1-卖
  28035. in: query
  28036. name: buyorsell
  28037. required: true
  28038. type: integer
  28039. produces:
  28040. - application/json
  28041. responses:
  28042. "200":
  28043. description: OK
  28044. schema:
  28045. items:
  28046. $ref: '#/definitions/models.WrTradeOrderDetail'
  28047. type: array
  28048. "500":
  28049. description: Internal Server Error
  28050. schema:
  28051. $ref: '#/definitions/app.Response'
  28052. security:
  28053. - ApiKeyAuth: []
  28054. summary: 查询合约交易买卖大厅
  28055. tags:
  28056. - 仓单贸易v2
  28057. /WrTrade2/QueryWrUserFriend:
  28058. get:
  28059. parameters:
  28060. - description: 用户id
  28061. in: query
  28062. name: userid
  28063. required: true
  28064. type: integer
  28065. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28066. in: query
  28067. name: newuserid
  28068. type: integer
  28069. produces:
  28070. - application/json
  28071. responses:
  28072. "200":
  28073. description: OK
  28074. schema:
  28075. items:
  28076. $ref: '#/definitions/models.WrUserFriend'
  28077. type: array
  28078. "500":
  28079. description: Internal Server Error
  28080. schema:
  28081. $ref: '#/definitions/app.Response'
  28082. security:
  28083. - ApiKeyAuth: []
  28084. summary: 查询我的朋友
  28085. tags:
  28086. - 仓单贸易v2
  28087. /WrTrade2/QueryWrUserReceiptInfo:
  28088. get:
  28089. parameters:
  28090. - description: 用户id
  28091. in: query
  28092. name: userid
  28093. type: integer
  28094. - description: 发票类型 - 1:个人 2:企业
  28095. in: query
  28096. name: receipttype
  28097. type: integer
  28098. produces:
  28099. - application/json
  28100. responses:
  28101. "200":
  28102. description: OK
  28103. schema:
  28104. items:
  28105. $ref: '#/definitions/models.WrUserReceiptInfo'
  28106. type: array
  28107. "500":
  28108. description: Internal Server Error
  28109. schema:
  28110. $ref: '#/definitions/app.Response'
  28111. security:
  28112. - ApiKeyAuth: []
  28113. summary: 查询发票信息
  28114. tags:
  28115. - 仓单贸易v2
  28116. /ZJ/GetBankTip:
  28117. get:
  28118. produces:
  28119. - application/json
  28120. responses:
  28121. "200":
  28122. description: OK
  28123. schema:
  28124. type: string
  28125. "500":
  28126. description: Internal Server Error
  28127. schema:
  28128. $ref: '#/definitions/app.Response'
  28129. summary: 获取中江网银端出入金提示信息
  28130. tags:
  28131. - 中江
  28132. /ZJ/GetCusBankChannels:
  28133. get:
  28134. produces:
  28135. - application/json
  28136. responses:
  28137. "200":
  28138. description: OK
  28139. schema:
  28140. items:
  28141. type: string
  28142. type: array
  28143. "500":
  28144. description: Internal Server Error
  28145. schema:
  28146. $ref: '#/definitions/app.Response'
  28147. summary: 获取中江出入金渠道显示列表
  28148. tags:
  28149. - 中江
  28150. securityDefinitions:
  28151. ApiKeyAuth:
  28152. in: header
  28153. name: Authorization
  28154. type: apiKey
  28155. swagger: "2.0"